Source Code
Overview
MATIC Balance
0 MATIC
More Info
ContractCreator:
Multichain Info
N/A
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
36214402 | 303 days ago | Contract Creation | 0 MATIC |
Loading...
Loading
Contract Name:
BlockInfo
Compiler Version
v0.8.17+commit.8df45f5f
Optimization Enabled:
Yes with 20 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: Apache-2.0 pragma solidity ^0.8.17; contract BlockInfo { function difficulty() public view returns(uint256) { return block.difficulty; } function blockNumber() public view returns(uint256) { return block.number; } }
{ "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "bytecodeHash": "ipfs", "useLiteralContent": true }, "optimizer": { "enabled": true, "runs": 20 }, "libraries": {} }
[{"inputs":[],"name":"blockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"difficulty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
6080604052348015600f57600080fd5b5060868061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806319cae46214603757806357e871e714604b575b600080fd5b445b60405190815260200160405180910390f35b43603956fea26469706673582212205789e366c1ea193c850252b8b0482fb0043f8aad0a09bbe235f7e482c21e618a64736f6c63430008110033
Deployed Bytecode
0x6080604052348015600f57600080fd5b506004361060325760003560e01c806319cae46214603757806357e871e714604b575b600080fd5b445b60405190815260200160405180910390f35b43603956fea26469706673582212205789e366c1ea193c850252b8b0482fb0043f8aad0a09bbe235f7e482c21e618a64736f6c63430008110033
Loading...
Loading
[ 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.