Abstract Testnet

Contract

0xa4e75dd32512BBBdCa04012b2E0D47258FA3A998

Overview

ETH Balance

0 ETH

Multichain Info

N/A
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Parent Transaction Hash Block From To
74616562025-03-06 7:20:3513 hrs ago1741245635  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DiamondCutFacet

Compiler Version
v0.8.24+commit.e11b9ed9

ZkSolc Version
v1.5.9

Optimization Enabled:
Yes with Mode 3

Other Settings:
paris EvmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 4 : DiamondCutFacet.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

/******************************************************************************\
* Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen)
* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535
/******************************************************************************/

import { IDiamondCut } from "../interfaces/IDiamondCut.sol";
import { LibDiamond } from "../libraries/LibDiamond.sol";

// Remember to add the loupe functions from DiamondLoupeFacet to the diamond.
// The loupe functions are required by the EIP2535 Diamonds standard

contract DiamondCutFacet is IDiamondCut {
    /// @notice Add/replace/remove any number of functions and optionally execute
    ///         a function with delegatecall
    /// @param _diamondCut Contains the facet addresses and function selectors
    /// @param _init The address of the contract or facet to execute _calldata
    /// @param _calldata A function call, including function selector and arguments
    ///                  _calldata is executed with delegatecall on _init
    function diamondCut(
        FacetCut[] calldata _diamondCut,
        address _init,
        bytes calldata _calldata
    ) external override {
        LibDiamond.enforceIsContractOwner();
        LibDiamond.diamondCut(_diamondCut, _init, _calldata);
    }
}

File 2 of 4 : IDiamondCut.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

/******************************************************************************\
* Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen)
* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535
/******************************************************************************/

import { IDiamond } from "./IDiamond.sol";

interface IDiamondCut is IDiamond {    

    /// @notice Add/replace/remove any number of functions and optionally execute
    ///         a function with delegatecall
    /// @param _diamondCut Contains the facet addresses and function selectors
    /// @param _init The address of the contract or facet to execute _calldata
    /// @param _calldata A function call, including function selector and arguments
    ///                  _calldata is executed with delegatecall on _init
    function diamondCut(
        FacetCut[] calldata _diamondCut,
        address _init,
        bytes calldata _calldata
    ) external;    
}

File 3 of 4 : LibDiamond.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

/******************************************************************************\
* Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen)
* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535
/******************************************************************************/
import { IDiamond } from "../interfaces/IDiamond.sol";
import { IDiamondCut } from "../interfaces/IDiamondCut.sol";

// Remember to add the loupe functions from DiamondLoupeFacet to the diamond.
// The loupe functions are required by the EIP2535 Diamonds standard

error NoSelectorsGivenToAdd();
error NotContractOwner(address _user, address _contractOwner);
error NoSelectorsProvidedForFacetForCut(address _facetAddress);
error CannotAddSelectorsToZeroAddress(bytes4[] _selectors);
error NoBytecodeAtAddress(address _contractAddress, string _message);
error IncorrectFacetCutAction(uint8 _action);
error CannotAddFunctionToDiamondThatAlreadyExists(bytes4 _selector);
error CannotReplaceFunctionsFromFacetWithZeroAddress(bytes4[] _selectors);
error CannotReplaceImmutableFunction(bytes4 _selector);
error CannotReplaceFunctionWithTheSameFunctionFromTheSameFacet(bytes4 _selector);
error CannotReplaceFunctionThatDoesNotExists(bytes4 _selector);
error RemoveFacetAddressMustBeZeroAddress(address _facetAddress);
error CannotRemoveFunctionThatDoesNotExist(bytes4 _selector);
error CannotRemoveImmutableFunction(bytes4 _selector);
error InitializationFunctionReverted(address _initializationContractAddress, bytes _calldata);

library LibDiamond {
    bytes32 constant DIAMOND_STORAGE_POSITION = keccak256("diamond.standard.diamond.storage");

    struct FacetAddressAndSelectorPosition {
        address facetAddress;
        uint16 selectorPosition;
    }

    struct DiamondStorage {
        // function selector => facet address and selector position in selectors array
        mapping(bytes4 => FacetAddressAndSelectorPosition) facetAddressAndSelectorPosition;
        bytes4[] selectors;
        mapping(bytes4 => bool) supportedInterfaces;
        // owner of the contract
        address contractOwner;
    }

    function diamondStorage() internal pure returns (DiamondStorage storage ds) {
        bytes32 position = DIAMOND_STORAGE_POSITION;
        assembly {
            ds.slot := position
        }
    }

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    function setContractOwner(address _newOwner) internal {
        DiamondStorage storage ds = diamondStorage();
        address previousOwner = ds.contractOwner;
        ds.contractOwner = _newOwner;
        emit OwnershipTransferred(previousOwner, _newOwner);
    }

    function contractOwner() internal view returns (address contractOwner_) {
        contractOwner_ = diamondStorage().contractOwner;
    }

    function enforceIsContractOwner() internal view {
        if(msg.sender != diamondStorage().contractOwner) {
            revert NotContractOwner(msg.sender, diamondStorage().contractOwner);
        }
    }

    event DiamondCut(IDiamondCut.FacetCut[] _diamondCut, address _init, bytes _calldata);

    // Internal function version of diamondCut
    function diamondCut(
        IDiamondCut.FacetCut[] memory _diamondCut,
        address _init,
        bytes memory _calldata
    ) internal {
        for (uint256 facetIndex; facetIndex < _diamondCut.length; facetIndex++) {
            bytes4[] memory functionSelectors = _diamondCut[facetIndex].functionSelectors;
            address facetAddress = _diamondCut[facetIndex].facetAddress;
            if(functionSelectors.length == 0) {
                revert NoSelectorsProvidedForFacetForCut(facetAddress);
            }
            IDiamondCut.FacetCutAction action = _diamondCut[facetIndex].action;
            if (action == IDiamond.FacetCutAction.Add) {
                addFunctions(facetAddress, functionSelectors);
            } else if (action == IDiamond.FacetCutAction.Replace) {
                replaceFunctions(facetAddress, functionSelectors);
            } else if (action == IDiamond.FacetCutAction.Remove) {
                removeFunctions(facetAddress, functionSelectors);
            } else {
                revert IncorrectFacetCutAction(uint8(action));
            }
        }
        emit DiamondCut(_diamondCut, _init, _calldata);
        initializeDiamondCut(_init, _calldata);
    }

    function addFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {        
        if(_facetAddress == address(0)) {
            revert CannotAddSelectorsToZeroAddress(_functionSelectors);
        }
        DiamondStorage storage ds = diamondStorage();
        uint16 selectorCount = uint16(ds.selectors.length);                
        enforceHasContractCode(_facetAddress, "LibDiamondCut: Add facet has no code");
        for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {
            bytes4 selector = _functionSelectors[selectorIndex];
            address oldFacetAddress = ds.facetAddressAndSelectorPosition[selector].facetAddress;
            if(oldFacetAddress != address(0)) {
                revert CannotAddFunctionToDiamondThatAlreadyExists(selector);
            }            
            ds.facetAddressAndSelectorPosition[selector] = FacetAddressAndSelectorPosition(_facetAddress, selectorCount);
            ds.selectors.push(selector);
            selectorCount++;
        }
    }

    function replaceFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {        
        DiamondStorage storage ds = diamondStorage();
        if(_facetAddress == address(0)) {
            revert CannotReplaceFunctionsFromFacetWithZeroAddress(_functionSelectors);
        }
        enforceHasContractCode(_facetAddress, "LibDiamondCut: Replace facet has no code");
        for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {
            bytes4 selector = _functionSelectors[selectorIndex];
            address oldFacetAddress = ds.facetAddressAndSelectorPosition[selector].facetAddress;
            // can't replace immutable functions -- functions defined directly in the diamond in this case
            if(oldFacetAddress == address(this)) {
                revert CannotReplaceImmutableFunction(selector);
            }
            if(oldFacetAddress == _facetAddress) {
                revert CannotReplaceFunctionWithTheSameFunctionFromTheSameFacet(selector);
            }
            if(oldFacetAddress == address(0)) {
                revert CannotReplaceFunctionThatDoesNotExists(selector);
            }
            // replace old facet address
            ds.facetAddressAndSelectorPosition[selector].facetAddress = _facetAddress;
        }
    }

    function removeFunctions(address _facetAddress, bytes4[] memory _functionSelectors) internal {        
        DiamondStorage storage ds = diamondStorage();
        uint256 selectorCount = ds.selectors.length;
        if(_facetAddress != address(0)) {
            revert RemoveFacetAddressMustBeZeroAddress(_facetAddress);
        }        
        for (uint256 selectorIndex; selectorIndex < _functionSelectors.length; selectorIndex++) {
            bytes4 selector = _functionSelectors[selectorIndex];
            FacetAddressAndSelectorPosition memory oldFacetAddressAndSelectorPosition = ds.facetAddressAndSelectorPosition[selector];
            if(oldFacetAddressAndSelectorPosition.facetAddress == address(0)) {
                revert CannotRemoveFunctionThatDoesNotExist(selector);
            }
            
            
            // can't remove immutable functions -- functions defined directly in the diamond
            if(oldFacetAddressAndSelectorPosition.facetAddress == address(this)) {
                revert CannotRemoveImmutableFunction(selector);
            }
            // replace selector with last selector
            selectorCount--;
            if (oldFacetAddressAndSelectorPosition.selectorPosition != selectorCount) {
                bytes4 lastSelector = ds.selectors[selectorCount];
                ds.selectors[oldFacetAddressAndSelectorPosition.selectorPosition] = lastSelector;
                ds.facetAddressAndSelectorPosition[lastSelector].selectorPosition = oldFacetAddressAndSelectorPosition.selectorPosition;
            }
            // delete last selector
            ds.selectors.pop();
            delete ds.facetAddressAndSelectorPosition[selector];
        }
    }

    function initializeDiamondCut(address _init, bytes memory _calldata) internal {
        if (_init == address(0)) {
            return;
        }
        enforceHasContractCode(_init, "LibDiamondCut: _init address has no code");        
        (bool success, bytes memory error) = _init.delegatecall(_calldata);
        if (!success) {
            if (error.length > 0) {
                // bubble up error
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(error)
                    revert(add(32, error), returndata_size)
                }
            } else {
                revert InitializationFunctionReverted(_init, _calldata);
            }
        }        
    }

    function enforceHasContractCode(address _contract, string memory _errorMessage) internal view {
        uint256 contractSize;
        assembly {
            contractSize := extcodesize(_contract)
        }
        if(contractSize == 0) {
            revert NoBytecodeAtAddress(_contract, _errorMessage);
        }        
    }
}

File 4 of 4 : IDiamond.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

/******************************************************************************\
* Author: Nick Mudge <[email protected]> (https://twitter.com/mudgen)
* EIP-2535 Diamonds: https://eips.ethereum.org/EIPS/eip-2535
/******************************************************************************/

interface IDiamond {
    enum FacetCutAction {Add, Replace, Remove}
    // Add=0, Replace=1, Remove=2

    struct FacetCut {
        address facetAddress;
        FacetCutAction action;
        bytes4[] functionSelectors;
    }

    event DiamondCut(FacetCut[] _diamondCut, address _init, bytes _calldata);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "mode": "3"
  },
  "viaIR": true,
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "abi"
      ]
    }
  },
  "detectMissingLibraries": false,
  "forceEVMLA": false,
  "enableEraVMExtensions": false,
  "libraries": {}
}

Contract ABI

API
[{"inputs":[{"internalType":"bytes4","name":"_selector","type":"bytes4"}],"name":"CannotAddFunctionToDiamondThatAlreadyExists","type":"error"},{"inputs":[{"internalType":"bytes4[]","name":"_selectors","type":"bytes4[]"}],"name":"CannotAddSelectorsToZeroAddress","type":"error"},{"inputs":[{"internalType":"bytes4","name":"_selector","type":"bytes4"}],"name":"CannotRemoveFunctionThatDoesNotExist","type":"error"},{"inputs":[{"internalType":"bytes4","name":"_selector","type":"bytes4"}],"name":"CannotRemoveImmutableFunction","type":"error"},{"inputs":[{"internalType":"bytes4","name":"_selector","type":"bytes4"}],"name":"CannotReplaceFunctionThatDoesNotExists","type":"error"},{"inputs":[{"internalType":"bytes4","name":"_selector","type":"bytes4"}],"name":"CannotReplaceFunctionWithTheSameFunctionFromTheSameFacet","type":"error"},{"inputs":[{"internalType":"bytes4[]","name":"_selectors","type":"bytes4[]"}],"name":"CannotReplaceFunctionsFromFacetWithZeroAddress","type":"error"},{"inputs":[{"internalType":"bytes4","name":"_selector","type":"bytes4"}],"name":"CannotReplaceImmutableFunction","type":"error"},{"inputs":[{"internalType":"uint8","name":"_action","type":"uint8"}],"name":"IncorrectFacetCutAction","type":"error"},{"inputs":[{"internalType":"address","name":"_initializationContractAddress","type":"address"},{"internalType":"bytes","name":"_calldata","type":"bytes"}],"name":"InitializationFunctionReverted","type":"error"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"},{"internalType":"string","name":"_message","type":"string"}],"name":"NoBytecodeAtAddress","type":"error"},{"inputs":[{"internalType":"address","name":"_facetAddress","type":"address"}],"name":"NoSelectorsProvidedForFacetForCut","type":"error"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"address","name":"_contractOwner","type":"address"}],"name":"NotContractOwner","type":"error"},{"inputs":[{"internalType":"address","name":"_facetAddress","type":"address"}],"name":"RemoveFacetAddressMustBeZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"components":[{"internalType":"address","name":"facetAddress","type":"address"},{"internalType":"enum IDiamond.FacetCutAction","name":"action","type":"uint8"},{"internalType":"bytes4[]","name":"functionSelectors","type":"bytes4[]"}],"indexed":false,"internalType":"struct IDiamond.FacetCut[]","name":"_diamondCut","type":"tuple[]"},{"indexed":false,"internalType":"address","name":"_init","type":"address"},{"indexed":false,"internalType":"bytes","name":"_calldata","type":"bytes"}],"name":"DiamondCut","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"address","name":"facetAddress","type":"address"},{"internalType":"enum IDiamond.FacetCutAction","name":"action","type":"uint8"},{"internalType":"bytes4[]","name":"functionSelectors","type":"bytes4[]"}],"indexed":false,"internalType":"struct IDiamond.FacetCut[]","name":"_diamondCut","type":"tuple[]"},{"indexed":false,"internalType":"address","name":"_init","type":"address"},{"indexed":false,"internalType":"bytes","name":"_calldata","type":"bytes"}],"name":"DiamondCut","type":"event"},{"inputs":[{"components":[{"internalType":"address","name":"facetAddress","type":"address"},{"internalType":"enum IDiamond.FacetCutAction","name":"action","type":"uint8"},{"internalType":"bytes4[]","name":"functionSelectors","type":"bytes4[]"}],"internalType":"struct IDiamond.FacetCut[]","name":"_diamondCut","type":"tuple[]"},{"internalType":"address","name":"_init","type":"address"},{"internalType":"bytes","name":"_calldata","type":"bytes"}],"name":"diamondCut","outputs":[],"stateMutability":"nonpayable","type":"function"}]

9c4d535b00000000000000000000000000000000000000000000000000000000000000000100013b60b2fc85b8f0c7ab1da6a2312e14932d6548371070d9f00b562cfc4e00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x0001000000000002000d00000000000200000000000103550000008003000039000000400030043f00000001002001900000004a0000c13d000400000003001d00000060021002700000010402200197000000040020008c000002ae0000413d000000000301043b0000010603300197000001070030009c000002ae0000c13d000000640020008c000002ae0000413d0000000003000416000000000003004b000002ae0000c13d0000000403100370000000000403043b000001080040009c000002ae0000213d0000002303400039000000000023004b000002ae0000813d0000000403400039000000000331034f000000000803043b000001080080009c000002ae0000213d000000240540003900000005098002100000000007590019000000000027004b000002ae0000213d0000002403100370000000000303043b000001090030009c000002ae0000213d0000004403100370000000000a03043b0000010800a0009c000002ae0000213d0000002303a00039000000000023004b000002ae0000813d000d000400a0003d0000000d03100360000000000303043b000001080030009c000002ae0000213d00000000063a00190000002406600039000000000026004b000002ae0000213d0000010a06000041000000000606041a000001090a600197000000000b0004110000000000ab004b000000520000c13d0000003f069000390000010d096001970000010e0090009c000000580000413d0000011901000041000000000010043f0000004101000039000000040010043f00000114010000410000040d000104300000000001000416000000000001004b000002ae0000c13d00000020010000390000010000100443000001200000044300000105010000410000040c0001042e0000010b01000041000000800010043f0000008400b0043f000000a400a0043f0000010c010000410000040d000104300000008006900039000000400060043f000000800080043f000000000008004b000000d00000c13d0000001f0230003900000137022001970000003f0220003900000137022001970000000002260019000200000006001d000000000062004b00000000040000390000000104004039000001080020009c000000440000213d0000000100400190000000440000c13d000000400020043f0000000d020000290000002002200039000000000221034f0000000201000029000000000131043600000137043001980000001f0530018f000100000001001d00000000014100190000007b0000613d000000000602034f0000000107000029000000006806043c0000000007870436000000000017004b000000770000c13d000000000005004b000000880000613d000000000242034f0000000304500210000000000501043300000000054501cf000000000545022f000000000202043b0000010004400089000000000242022f00000000024201cf000000000252019f000000000021043500000001013000290000000000010435000000800100043d000000000001004b0000012a0000c13d000000400100043d0000006002000039000d00000002001d00000000022104360000006003100039000000800400043d0000000000430435000000800510003900000005034002100000000003530019000000000004004b000002b00000c13d00000024040000390000000004400367000000000404043b00000000051300490000004006100039000000000056043500000109044001970000000000420435000000020200002900000000040204330000000002430436000000000004004b0000000107000029000000af0000613d000000000300001900000000052300190000000006730019000000000606043300000000006504350000002003300039000000000043004b000000a80000413d000000000324001900000000000304350000001f03400039000001370330019700000000021200490000000002320019000001040020009c00000104020080410000006002200210000001040010009c00000104010080410000004001100210000000000112019f0000000002000414000001040020009c0000010402008041000000c002200210000000000112019f00000130011001c70000800d0200003900000001030000390000013104000041040b03fc0000040f0000000100200190000002ae0000613d00000024010000390000000001100367000000000101043b000c00000001001d000b01090010019c000002db0000c13d00000000010000190000040c0001042e000000a008000039000000240920008a000000d90000013d0000004006a000390000000000b604350000000008a804360000002005500039000000000075004b000003110000813d000000000651034f000000000a06043b0000010800a0009c000002ae0000213d000000000b4a0019000000000ab900490000010f00a0009c000002ae0000213d0000006000a0008c000002ae0000413d000000400a00043d0000011000a0009c000000440000213d0000006006a00039000000400060043f000000240cb000390000000006c1034f000000000d06043b0000010900d0009c000002ae0000213d000000000dda0436000000200cc000390000000006c1034f000000000e06043b0000000200e0008c000002ae0000213d0000000000ed04350000002006c00039000000000661034f000000000c06043b0000010800c0009c000002ae0000213d000000000cbc00190000004306c00039000000000026004b000000000b000019000001110b0080410000011106600197000000000006004b000000000d000019000001110d004041000001110060009c000000000d0bc01900000000000d004b000002ae0000c13d0000002406c00039000000000661034f000000000d06043b0000010800d0009c000000440000213d000000050ed002100000003f06e000390000010d06600197000000400b00043d000000000f6b00190000000000bf004b000000000600003900000001060040390000010800f0009c000000440000213d0000000100600190000000440000c13d0000004000f0043f0000000000db0435000000440cc00039000000000dce001900000000002d004b000002ae0000213d0000000000dc004b000000d30000813d000000000e0b00190000000006c1034f000000000f06043b0000011200f00198000002ae0000c13d000000200ee000390000000000fe0435000000200cc000390000000000dc004b000001200000413d000000d30000013d0000000004000019000001310000013d00000003040000290000000104400039000000800100043d000000000014004b0000008d0000813d0000000501400210000000a00110003900000000020104330000000013020434000b01090030019b00000040022000390000000002020433000d00000002001d0000000032020434000c00000003001d000000000002004b000003970000613d0000000001010433000000030010008c0000011502000041000002d50000813d000000000001004b0000000b03000029000300000004001d000001cd0000613d000000010010008c000002540000613d000000020010008c000003a60000c13d000000000003004b000003b10000c13d000000000102041a000b00000001001d0000000002000019000900000002001d00000005012002100000000c0110002900000000010104330000010601100197000a00000001001d000000000010043f0000011601000041000000200010043f0000000001000414000001040010009c0000010401008041000000c00110021000000117011001c70000801002000039040b04010000040f0000000100200190000002ae0000613d000000400200043d000001180020009c0000011505000041000000440000213d000000000101043b0000004003200039000000400030043f000000000401041a00000109034001980000000001320436000000a0024002700000ffff0220018f00000000002104350000000b06000029000003190000613d0000000004000410000000000043004b0000031c0000613d000000000006004b000003130000613d000000010660008a000000000062004b000b00000006001d000001a90000613d000000000205041a000000000062004b0000031f0000a13d000000000050043f0000000001010433000800000001001d0000ffff0110018f000000000012004b0000031f0000a13d0000000502100210000000e00220018f000001040320021f000001380330016700000003011002700000011a0110009a000000000401041a000000000334016f0000000504600210000000e00440018f00000003056002700000011a0550009a000000000505041a000000000445022f000001040540019700000000022501cf000000000232019f000000000021041b000000e001400210000000000010043f0000011601000041000000200010043f0000000001000414000001040010009c0000010401008041000000c00110021000000117011001c70000801002000039040b04010000040f0000000100200190000002ae0000613d0000000802000029000000a0022002100000011b02200197000000000101043b000000000301041a0000011c03300197000000000223019f000000000021041b0000011505000041000000000105041a000000000001004b000003250000613d000000010110008a0000000502100210000000e00220018f000001040220021f000001380220016700000003031002700000011a0330009a000000000403041a000000000224016f000000000023041b000000000015041b0000000a01000029000000000010043f0000011601000041000000200010043f0000000001000414000001040010009c0000010401008041000000c00110021000000117011001c70000801002000039040b04010000040f0000000100200190000002ae0000613d000000000101043b000000000001041b000000090200002900000001022000390000000d010000290000000001010433000000000012004b0000014e0000413d0000012c0000013d000000400400043d000000000003004b000900000004001d000003b60000613d000001100040009c000000440000213d000000000102041a000a00000001001d0000006001400039000000400010043f00000040014000390000012902000041000000000021043500000020014000390000012a02000041000000000021043500000024010000390000000000140435000001210100004100000000001004430000000b0100002900000004001004430000000001000414000001040010009c0000010401008041000000c00110021000000122011001c70000800202000039040b04010000040f00000001002001900000032b0000613d000000000101043b000000000001004b000003bd0000613d0000000d010000290000000001010433000000000001004b0000012c0000613d0000000a010000290000ffff0310018f0000000002000019000a00000003001d000700000002001d00000005012002100000000c011000290000000001010433000800000001001d0000010601100197000900000001001d000000000010043f0000011601000041000000200010043f0000000001000414000001040010009c0000010401008041000000c00110021000000117011001c70000801002000039040b04010000040f0000000100200190000002ae0000613d000000400300043d000000000101043b000000000101041a00000109001001980000032c0000c13d000001180030009c0000000a02000029000000440000213d0000004001300039000000400010043f0000000b01000029000600000003001d00000000031304360000ffff0120018f000500000001001d000a00000003001d00000000001304350000000901000029000000000010043f0000011601000041000000200010043f0000000001000414000001040010009c0000010401008041000000c00110021000000117011001c70000801002000039040b04010000040f0000000100200190000002ae0000613d000000060200002900000000020204330000010902200197000000000101043b000000000301041a0000012c03300197000000000223019f0000000a030000290000000003030433000000a0033002100000011b03300197000000000232019f000000000021041b0000011503000041000000000103041a000001080010009c000000440000213d0000000102100039000000000023041b000000000030043f0000000802000029000000e0022002700000000503100210000000e00330018f00000000023201cf000001040330021f000001380330016700000003011002700000011a0110009a000000000401041a000000000334016f000000000223019f000000000021041b00000005010000290000ffff0010008c000003130000613d0000000103100039000000070200002900000001022000390000000d010000290000000001010433000000000012004b000001f60000413d0000012c0000013d000000400400043d000000000003004b000a00000004001d000003ca0000613d000001100040009c000000440000213d0000006001400039000000400010043f00000040014000390000011f02000041000000000021043500000020014000390000012002000041000000000021043500000028010000390000000000140435000001210100004100000000001004430000000b0100002900000004001004430000000001000414000001040010009c0000010401008041000000c00110021000000122011001c70000800202000039040b04010000040f00000001002001900000032b0000613d000000000101043b000000000001004b000002fa0000613d0000000d010000290000000001010433000000000001004b0000012c0000613d0000000002000019000900000002001d00000005012002100000000c0110002900000000010104330000010601100197000a00000001001d000000000010043f0000011601000041000000200010043f0000000001000414000001040010009c0000010401008041000000c00110021000000117011001c70000801002000039040b04010000040f0000000100200190000002ae0000613d000000000101043b000000000101041a00000109011001970000000002000410000000000021004b000003360000613d0000000b0010006c000003390000613d000000000001004b0000033c0000613d0000000a01000029000000000010043f0000011601000041000000200010043f0000000001000414000001040010009c0000010401008041000000c00110021000000117011001c70000801002000039040b04010000040f0000000100200190000002ae0000613d000000000101043b000000000201041a00000123022001970000000b022001af000000000021041b000000090200002900000001022000390000000d010000290000000001010433000000000012004b000002790000413d0000012c0000013d00000000010000190000040d00010430000000a0060000390000000007000019000000600c000039000002b70000013d0000000107700039000000000047004b000000990000813d0000000008130049000000800880008a0000000005850436000000006806043400000000a908043400000109099001970000000009930436000000000a0a04330000000200a0008c000002d50000213d0000000000a904350000004008800039000000000808043300000040093000390000000000c90435000000600a300039000000000908043300000000009a04350000008003300039000000000009004b000002b40000613d000000000a0000190000002008800039000000000b080433000001060bb001970000000003b30436000000010aa0003900000000009a004b000002cd0000413d000002b40000013d0000011901000041000000000010043f0000002101000039000000040010043f00000114010000410000040d00010430000000400100043d000a00000001001d000001100010009c000000440000213d0000000a030000290000006001300039000000400010043f00000040013000390000011f02000041000000000021043500000020013000390000013202000041000000000021043500000028010000390000000000130435000001210100004100000000001004430000000c0100002900000004001004430000000001000414000001040010009c0000010401008041000000c00110021000000122011001c70000800202000039040b04010000040f00000001002001900000032b0000613d000000000101043b000000000001004b000003470000c13d000000400300043d000d00000003001d0000002401300039000000400200003900000000002104350000012701000041000000000013043500000004013000390000000b02000029000000000021043500000044023000390000000a01000029040b03d90000040f0000000d020000290000000001210049000001040010009c0000010401008041000001040020009c000001040200804100000060011002100000004002200210000000000121019f0000040d00010430000000400600043d0000005d0000013d0000011901000041000000000010043f0000001101000039000000040010043f00000114010000410000040d00010430000000400100043d0000011e020000410000033e0000013d000000400100043d0000011d020000410000033e0000013d0000011901000041000000000010043f0000003201000039000000040010043f00000114010000410000040d000104300000011901000041000000000010043f0000003101000039000000040010043f00000114010000410000040d00010430000000000001042f0000012b010000410000000000130435000000040130003900000009020000290000000000210435000001040030009c0000010403008041000000400130021000000114011001c70000040d00010430000000400100043d00000126020000410000033e0000013d000000400100043d00000125020000410000033e0000013d000000400100043d0000012402000041000000000021043500000004021000390000000a030000290000000000320435000001040010009c0000010401008041000000400110021000000114011001c70000040d000104300000000101000029000001040010009c0000010401008041000000400110021000000002020000290000000002020433000001040020009c00000104020080410000006002200210000000000112019f0000000002000414000001040020009c0000010402008041000000c002200210000000000121019f0000000c02000029040b04060000040f00000060031002700000010403300198000003840000613d0000001f0430003900000133044001970000003f044000390000013404400197000000400500043d0000000004450019000d00000005001d000000000054004b00000000050000390000000105004039000001080040009c000000440000213d0000000100500190000000440000c13d000000400040043f0000001f0430018f0000000d0500002900000000063504360000013505300198000400000006001d0000000003560019000003770000613d000000000601034f0000000407000029000000006806043c0000000007870436000000000037004b000003730000c13d000000000004004b000003840000613d000000000151034f0000000304400210000000000503043300000000054501cf000000000545022f000000000101043b0000010004400089000000000141022f00000000014101cf000000000151019f00000000001304350000000100200190000000ce0000c13d0000000d010000290000000001010433000000000001004b0000039d0000c13d000000400300043d000d00000003001d0000002401300039000000400200003900000000002104350000013601000041000000000013043500000004013000390000000b02000029000000000021043500000044023000390000000201000029000003060000013d000000400100043d0000012f02000041000000000021043500000004021000390000000b03000029000003410000013d0000000402000029000001040020009c00000104020080410000004002200210000001040010009c00000104010080410000006001100210000000000121019f0000040d00010430000000400200043d0000012e030000410000000000320435000000ff0110018f00000004032000390000000000130435000001040020009c0000010402008041000000400120021000000114011001c70000040d00010430000000400100043d000001130200004100000000002104350000000402100039000003410000013d0000012d01000041000000000014043500000004014000390000000d02000029040b03eb0000040f0000000902000029000003d00000013d000000400300043d000d00000003001d0000002401300039000000400200003900000000002104350000012701000041000000000013043500000004013000390000000b02000029000000000021043500000044023000390000000901000029000003060000013d0000012801000041000000000014043500000004014000390000000d02000029040b03eb0000040f0000000a020000290000000001210049000001040010009c00000104010080410000006001100210000001040020009c00000104020080410000004002200210000000000121019f0000040d0001043000000000430104340000000001320436000000000003004b000003e50000613d000000000200001900000000052100190000000006240019000000000606043300000000006504350000002002200039000000000032004b000003de0000413d000000000231001900000000000204350000001f0230003900000137022001970000000001210019000000000001042d00000020030000390000000004310436000000000302043300000000003404350000004001100039000000000003004b000003fa0000613d000000000400001900000020022000390000000005020433000001060550019700000000015104360000000104400039000000000034004b000003f30000413d000000000001042d000000000001042f000003ff002104210000000102000039000000000001042d0000000002000019000000000001042d00000404002104230000000102000039000000000001042d0000000002000019000000000001042d00000409002104250000000102000039000000000001042d0000000002000019000000000001042d0000040b000004320000040c0001042e0000040d000104300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffff0000000200000000000000000000000000000040000001000000000000000000ffffffff000000000000000000000000000000000000000000000000000000001f931c1c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffff000000000000000000000000ffffffffffffffffffffffffffffffffffffffffc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131fff4127cb0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000440000008000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0000000000000000000000000000000000000000000000000ffffffffffffff807fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000ffffffffffffff9f800000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffd091bc81000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024000000000000000000000000c8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131dc8fcad8db84d3cc18b4c41d551ea0ee66dd599cde068d998e57d5e09332c131c0200000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffbf4e487b71000000000000000000000000000000000000000000000000000000003f28d89ef15e9dbe100bbb82f744e4ba6a082d13baead7dbc85ec482f20b46de00000000000000000000ffff0000000000000000000000000000000000000000ffffffffffffffffffff0000ffffffffffffffffffffffffffffffffffffffff6fafeb08000000000000000000000000000000000000000000000000000000007a08a22d00000000000000000000000000000000000000000000000000000000206e6f20636f64650000000000000000000000000000000000000000000000004c69624469616d6f6e644375743a205265706c616365206661636574206861731806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b830200000200000000000000000000000000000024000000000000000000000000ffffffffffffffffffffffff00000000000000000000000000000000000000007479f93900000000000000000000000000000000000000000000000000000000358d9d1a00000000000000000000000000000000000000000000000000000000520300da00000000000000000000000000000000000000000000000000000000919834b900000000000000000000000000000000000000000000000000000000cd98a96f00000000000000000000000000000000000000000000000000000000636f6465000000000000000000000000000000000000000000000000000000004c69624469616d6f6e644375743a2041646420666163657420686173206e6f20ebbf5d0700000000000000000000000000000000000000000000000000000000ffffffffffffffffffff000000000000000000000000000000000000000000000ae3681c000000000000000000000000000000000000000000000000000000007fe9a41e00000000000000000000000000000000000000000000000000000000e767f91f0000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000008faa70878671ccd212d20771b795c50af8fd3ff6cf27f4bde57e5d4de0aeb6734c69624469616d6f6e644375743a205f696e697420616464726573732068617300000000000000000000000000000000000000000000000000000001ffffffe000000000000000000000000000000000000000000000000000000003ffffffe000000000000000000000000000000000000000000000000000000000ffffffe0192105d700000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000000000b3f871b50da9a66487d649b74256a14ed9b3ba7bbeba01250ac658ff22a16fe2

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.