Mumbai Testnet

Contract

0x28e641c124aBFDaA3024d59cE64bA2f8EF5698D6

Overview

MATIC Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 MATIC

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Value

There are no matching entries

Please try again later

Latest 1 internal transaction

Parent Txn Hash Block From To Value
362144022023-05-30 3:24:36303 days ago1685417076  Contract Creation0 MATIC
Loading...
Loading

Contract Source Code Verified (Exact Match)

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)

File 1 of 1 : BlockInfo.sol
// 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;
    }
}

Settings
{
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 20
  },
  "libraries": {}
}

Contract ABI

[{"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"}]

6080604052348015600f57600080fd5b5060868061001e6000396000f3fe6080604052348015600f57600080fd5b506004361060325760003560e01c806319cae46214603757806357e871e714604b575b600080fd5b445b60405190815260200160405180910390f35b43603956fea26469706673582212205789e366c1ea193c850252b8b0482fb0043f8aad0a09bbe235f7e482c21e618a64736f6c63430008110033

Deployed Bytecode

0x6080604052348015600f57600080fd5b506004361060325760003560e01c806319cae46214603757806357e871e714604b575b600080fd5b445b60405190815260200160405180910390f35b43603956fea26469706673582212205789e366c1ea193c850252b8b0482fb0043f8aad0a09bbe235f7e482c21e618a64736f6c63430008110033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn 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.