POL Price: $0.2177 (-1.04%)
Gas: 31 GWei
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Random Function499750102023-11-15 13:35:15524 days ago1700055315IN
0x47Ca3432...31014d159
0 POL0.00802878342.36431822
Random Function499749322023-11-15 13:32:29524 days ago1700055149IN
0x47Ca3432...31014d159
0 POL0.00773783330.12640034

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
testContract

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, None license
File 1 of 1 : testContract.sol
// SPDX-License-Identifier: AGPLv3
pragma solidity 0.8.10;

contract testContract {

    event testEvent(address indexed _from, uint256 _value);

    function randomFunction(uint256 x, address y) public returns (bool) {
        emit testEvent(y, x);
        return true;
    }

}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "testContract.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"testEvent","type":"event"},{"inputs":[{"internalType":"uint256","name":"x","type":"uint256"},{"internalType":"address","name":"y","type":"address"}],"name":"randomFunction","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061010d806100206000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c806357424f6614602d575b600080fd5b603c6038366004609d565b6050565b604051901515815260200160405180910390f35b6000816001600160a01b03167f354f34b6e7eb7ba84aa1c438ed6490b3d92199b9b43e01528d6c9e792c3b4d2884604051608c91815260200190565b60405180910390a250600192915050565b6000806040838503121560af57600080fd5b8235915060208301356001600160a01b038116811460cc57600080fd5b80915050925092905056fea2646970667358221220db55992498c7da17058875530017754806f8b628c3152743a7f439b969a7d52c64736f6c634300080a0033

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060285760003560e01c806357424f6614602d575b600080fd5b603c6038366004609d565b6050565b604051901515815260200160405180910390f35b6000816001600160a01b03167f354f34b6e7eb7ba84aa1c438ed6490b3d92199b9b43e01528d6c9e792c3b4d2884604051608c91815260200190565b60405180910390a250600192915050565b6000806040838503121560af57600080fd5b8235915060208301356001600160a01b038116811460cc57600080fd5b80915050925092905056fea2646970667358221220db55992498c7da17058875530017754806f8b628c3152743a7f439b969a7d52c64736f6c634300080a0033

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.