ETH Price: $2,748.44 (+1.37%)

Contract

0xD02Ba9faB9520c5DdDC051760c58c83b9f927594
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Open Base Ur...150902322022-07-06 17:16:56956 days ago1657127816IN
0xD02Ba9fa...b9f927594
0 ETH0.001859245.89829862
Set Open Base Ur...150902292022-07-06 17:16:35956 days ago1657127795IN
0xD02Ba9fa...b9f927594
0 ETH0.0023364153.96493152
Set Unveiled Bas...150902282022-07-06 17:16:29956 days ago1657127789IN
0xD02Ba9fa...b9f927594
0 ETH0.0023091457.06803554
Set Open Base Ur...150505372022-06-30 13:21:57962 days ago1656595317IN
0xD02Ba9fa...b9f927594
0 ETH0.00434409107.2429571
Set Open Base Ur...150505062022-06-30 13:11:43962 days ago1656594703IN
0xD02Ba9fa...b9f927594
0 ETH0.003040975.07109007
Set Unveiled Bas...150505022022-06-30 13:10:19962 days ago1656594619IN
0xD02Ba9fa...b9f927594
0 ETH0.0027352967.59999673
Set Veiled Base ...150504962022-06-30 13:09:18962 days ago1656594558IN
0xD02Ba9fa...b9f927594
0 ETH0.0034122184.28557474
Set Open Base Ur...150468062022-06-29 20:34:21963 days ago1656534861IN
0xD02Ba9fa...b9f927594
0 ETH0.0068712660
Set Unveiled Bas...150468052022-06-29 20:33:32963 days ago1656534812IN
0xD02Ba9fa...b9f927594
0 ETH0.0068686260
Set Veiled Base ...150468022022-06-29 20:32:55963 days ago1656534775IN
0xD02Ba9fa...b9f927594
0 ETH0.0068698860
Set Toy Contract...150468012022-06-29 20:32:35963 days ago1656534755IN
0xD02Ba9fa...b9f927594
0 ETH0.0017362860

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
RaregotchiToyMetadata

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 2000 runs

Other Settings:
default evmVersion
File 1 of 5 : RaregotchiToyMetadata.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./RaregotchiToyInterface.sol";

contract RaregotchiToyMetadata is Ownable {
    bool private isFrozen = false;
    bool private unveiled = false;

    string private veiledBaseUri = "";
    string private unveiledBaseUri = "";
    string private openBaseUri = "";

    address private toyContractAddress;

    uint16 maxSupply = 3000;

    modifier contractIsNotFrozen() {
        require(isFrozen == false, "This function can not be called anymore");
        _;
    }

    function setToyContractAddress(address _toyContractAddress)
        external
        onlyOwner
    {
        toyContractAddress = _toyContractAddress;
    }

    function unveil() external {
        require(
            msg.sender == toyContractAddress,
            "The caller is not the toy contract"
        );
        unveiled = true;
    }

    /**
     * @dev Set the default baseUri
     */
    function setVeiledBaseUri(string calldata _uri)
        external
        onlyOwner
        contractIsNotFrozen
    {
        veiledBaseUri = _uri;
    }

    /**
     * @dev Set the unveiled baseUri
     */
    function setUnveiledBaseUri(string calldata _baseUri)
        external
        onlyOwner
        contractIsNotFrozen
    {
        unveiledBaseUri = _baseUri;
    }

    /**
     * @dev Set the open baseUri
     */
    function setOpenBaseUri(string calldata _baseUri)
        external
        onlyOwner
        contractIsNotFrozen
    {
        openBaseUri = _baseUri;
    }

    function tokenURI(uint256 _tokenId) external view returns (string memory) {
        bool isOpen = RaregotchiToyInterface(toyContractAddress).isOpen(
            _tokenId
        );

        string memory baseUri = veiledBaseUri;

        if (unveiled) {
            baseUri = isOpen ? openBaseUri : unveiledBaseUri;
        }

        return string(abi.encodePacked(baseUri, Strings.toString(_tokenId)));
    }
}

File 2 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _setOwner(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _setOwner(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 5 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 4 of 5 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 5 of 5 : RaregotchiToyInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface RaregotchiToyInterface {
    function batchMint(
        address destinationAddress,
        uint256[] calldata tokenIds
    ) external;
    function isOpen(uint256 tokenId) external view returns (bool);
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 2000
  },
  "evmVersion": "london",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setOpenBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toyContractAddress","type":"address"}],"name":"setToyContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setUnveiledBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"}],"name":"setVeiledBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unveil","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6000805461ffff60a01b1916815560a060408190526080829052620000289160019190620000ef565b506040805160208101918290526000908190526200004991600291620000ef565b506040805160208101918290526000908190526200006a91600391620000ef565b506004805461ffff60a01b191661017760a31b1790553480156200008d57600080fd5b5062000099336200009f565b620001d2565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b828054620000fd9062000195565b90600052602060002090601f0160209004810192826200012157600085556200016c565b82601f106200013c57805160ff19168380011785556200016c565b828001600101855582156200016c579182015b828111156200016c5782518255916020019190600101906200014f565b506200017a9291506200017e565b5090565b5b808211156200017a57600081556001016200017f565b600181811c90821680620001aa57607f821691505b60208210811415620001cc57634e487b7160e01b600052602260045260246000fd5b50919050565b610df080620001e26000396000f3fe608060405234801561001057600080fd5b50600436106100a35760003560e01c80638da5cb5b11610076578063bd596ce61161005b578063bd596ce614610113578063c87b56dd14610126578063f2fde38b1461014657600080fd5b80638da5cb5b146100e0578063bd13bb431461010057600080fd5b80631cb9a7ea146100a85780632f8fbb0e146100bd57806334b2f3a9146100c5578063715018a6146100d8575b600080fd5b6100bb6100b6366004610b0a565b610159565b005b6100bb610244565b6100bb6100d3366004610b0a565b610306565b6100bb6103e7565b6000546040516001600160a01b0390911681526020015b60405180910390f35b6100bb61010e366004610b7c565b61044d565b6100bb610121366004610b0a565b6104e1565b610139610134366004610bac565b6105c2565b6040516100f79190610bf5565b6100bb610154366004610b7c565b6107cf565b6000546001600160a01b031633146101b85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60005474010000000000000000000000000000000000000000900460ff16156102335760405162461bcd60e51b815260206004820152602760248201527f546869732066756e6374696f6e2063616e206e6f742062652063616c6c656420604482015266616e796d6f726560c81b60648201526084016101af565b61023f60028383610a53565b505050565b6004546001600160a01b031633146102c45760405162461bcd60e51b815260206004820152602260248201527f5468652063616c6c6572206973206e6f742074686520746f7920636f6e74726160448201527f637400000000000000000000000000000000000000000000000000000000000060648201526084016101af565b600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff167501000000000000000000000000000000000000000000179055565b6000546001600160a01b031633146103605760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101af565b60005474010000000000000000000000000000000000000000900460ff16156103db5760405162461bcd60e51b815260206004820152602760248201527f546869732066756e6374696f6e2063616e206e6f742062652063616c6c656420604482015266616e796d6f726560c81b60648201526084016101af565b61023f60038383610a53565b6000546001600160a01b031633146104415760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101af565b61044b60006108b1565b565b6000546001600160a01b031633146104a75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101af565b600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461053b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101af565b60005474010000000000000000000000000000000000000000900460ff16156105b65760405162461bcd60e51b815260206004820152602760248201527f546869732066756e6374696f6e2063616e206e6f742062652063616c6c656420604482015266616e796d6f726560c81b60648201526084016101af565b61023f60018383610a53565b600480546040517f4d6861a60000000000000000000000000000000000000000000000000000000081529182018390526060916000916001600160a01b031690634d6861a69060240160206040518083038186803b15801561062357600080fd5b505afa158015610637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065b9190610c46565b905060006001805461066c90610c68565b80601f016020809104026020016040519081016040528092919081815260200182805461069890610c68565b80156106e55780601f106106ba576101008083540402835291602001916106e5565b820191906000526020600020905b8154815290600101906020018083116106c857829003601f168201915b50505050509050600060159054906101000a900460ff161561079c578161070d576002610710565b60035b805461071b90610c68565b80601f016020809104026020016040519081016040528092919081815260200182805461074790610c68565b80156107945780601f1061076957610100808354040283529160200191610794565b820191906000526020600020905b81548152906001019060200180831161077757829003601f168201915b505050505090505b806107a685610919565b6040516020016107b7929190610ca3565b60405160208183030381529060405292505050919050565b6000546001600160a01b031633146108295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101af565b6001600160a01b0381166108a55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016101af565b6108ae816108b1565b50565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60608161095957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115610983578061096d81610ce8565b915061097c9050600a83610d37565b915061095d565b60008167ffffffffffffffff81111561099e5761099e610d4b565b6040519080825280601f01601f1916602001820160405280156109c8576020820181803683370190505b5090505b8415610a4b576109dd600183610d61565b91506109ea600a86610d78565b6109f5906030610d8c565b60f81b818381518110610a0a57610a0a610da4565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350610a44600a86610d37565b94506109cc565b949350505050565b828054610a5f90610c68565b90600052602060002090601f016020900481019282610a815760008555610ae5565b82601f10610ab8578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555610ae5565b82800160010185558215610ae5579182015b82811115610ae5578235825591602001919060010190610aca565b50610af1929150610af5565b5090565b5b80821115610af15760008155600101610af6565b60008060208385031215610b1d57600080fd5b823567ffffffffffffffff80821115610b3557600080fd5b818501915085601f830112610b4957600080fd5b813581811115610b5857600080fd5b866020828501011115610b6a57600080fd5b60209290920196919550909350505050565b600060208284031215610b8e57600080fd5b81356001600160a01b0381168114610ba557600080fd5b9392505050565b600060208284031215610bbe57600080fd5b5035919050565b60005b83811015610be0578181015183820152602001610bc8565b83811115610bef576000848401525b50505050565b6020815260008251806020840152610c14816040850160208701610bc5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b600060208284031215610c5857600080fd5b81518015158114610ba557600080fd5b600181811c90821680610c7c57607f821691505b60208210811415610c9d57634e487b7160e01b600052602260045260246000fd5b50919050565b60008351610cb5818460208801610bc5565b835190830190610cc9818360208801610bc5565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610d1a57610d1a610cd2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082610d4657610d46610d21565b500490565b634e487b7160e01b600052604160045260246000fd5b600082821015610d7357610d73610cd2565b500390565b600082610d8757610d87610d21565b500690565b60008219821115610d9f57610d9f610cd2565b500190565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220d4b3019b16d34c7879919c22cfe6fbc018389b9c544a672ad3f4a34c82ca42b364736f6c63430008090033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100a35760003560e01c80638da5cb5b11610076578063bd596ce61161005b578063bd596ce614610113578063c87b56dd14610126578063f2fde38b1461014657600080fd5b80638da5cb5b146100e0578063bd13bb431461010057600080fd5b80631cb9a7ea146100a85780632f8fbb0e146100bd57806334b2f3a9146100c5578063715018a6146100d8575b600080fd5b6100bb6100b6366004610b0a565b610159565b005b6100bb610244565b6100bb6100d3366004610b0a565b610306565b6100bb6103e7565b6000546040516001600160a01b0390911681526020015b60405180910390f35b6100bb61010e366004610b7c565b61044d565b6100bb610121366004610b0a565b6104e1565b610139610134366004610bac565b6105c2565b6040516100f79190610bf5565b6100bb610154366004610b7c565b6107cf565b6000546001600160a01b031633146101b85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b60005474010000000000000000000000000000000000000000900460ff16156102335760405162461bcd60e51b815260206004820152602760248201527f546869732066756e6374696f6e2063616e206e6f742062652063616c6c656420604482015266616e796d6f726560c81b60648201526084016101af565b61023f60028383610a53565b505050565b6004546001600160a01b031633146102c45760405162461bcd60e51b815260206004820152602260248201527f5468652063616c6c6572206973206e6f742074686520746f7920636f6e74726160448201527f637400000000000000000000000000000000000000000000000000000000000060648201526084016101af565b600080547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff167501000000000000000000000000000000000000000000179055565b6000546001600160a01b031633146103605760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101af565b60005474010000000000000000000000000000000000000000900460ff16156103db5760405162461bcd60e51b815260206004820152602760248201527f546869732066756e6374696f6e2063616e206e6f742062652063616c6c656420604482015266616e796d6f726560c81b60648201526084016101af565b61023f60038383610a53565b6000546001600160a01b031633146104415760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101af565b61044b60006108b1565b565b6000546001600160a01b031633146104a75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101af565b600480547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461053b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101af565b60005474010000000000000000000000000000000000000000900460ff16156105b65760405162461bcd60e51b815260206004820152602760248201527f546869732066756e6374696f6e2063616e206e6f742062652063616c6c656420604482015266616e796d6f726560c81b60648201526084016101af565b61023f60018383610a53565b600480546040517f4d6861a60000000000000000000000000000000000000000000000000000000081529182018390526060916000916001600160a01b031690634d6861a69060240160206040518083038186803b15801561062357600080fd5b505afa158015610637573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061065b9190610c46565b905060006001805461066c90610c68565b80601f016020809104026020016040519081016040528092919081815260200182805461069890610c68565b80156106e55780601f106106ba576101008083540402835291602001916106e5565b820191906000526020600020905b8154815290600101906020018083116106c857829003601f168201915b50505050509050600060159054906101000a900460ff161561079c578161070d576002610710565b60035b805461071b90610c68565b80601f016020809104026020016040519081016040528092919081815260200182805461074790610c68565b80156107945780601f1061076957610100808354040283529160200191610794565b820191906000526020600020905b81548152906001019060200180831161077757829003601f168201915b505050505090505b806107a685610919565b6040516020016107b7929190610ca3565b60405160208183030381529060405292505050919050565b6000546001600160a01b031633146108295760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016101af565b6001600160a01b0381166108a55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016101af565b6108ae816108b1565b50565b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60608161095957505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115610983578061096d81610ce8565b915061097c9050600a83610d37565b915061095d565b60008167ffffffffffffffff81111561099e5761099e610d4b565b6040519080825280601f01601f1916602001820160405280156109c8576020820181803683370190505b5090505b8415610a4b576109dd600183610d61565b91506109ea600a86610d78565b6109f5906030610d8c565b60f81b818381518110610a0a57610a0a610da4565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350610a44600a86610d37565b94506109cc565b949350505050565b828054610a5f90610c68565b90600052602060002090601f016020900481019282610a815760008555610ae5565b82601f10610ab8578280017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00823516178555610ae5565b82800160010185558215610ae5579182015b82811115610ae5578235825591602001919060010190610aca565b50610af1929150610af5565b5090565b5b80821115610af15760008155600101610af6565b60008060208385031215610b1d57600080fd5b823567ffffffffffffffff80821115610b3557600080fd5b818501915085601f830112610b4957600080fd5b813581811115610b5857600080fd5b866020828501011115610b6a57600080fd5b60209290920196919550909350505050565b600060208284031215610b8e57600080fd5b81356001600160a01b0381168114610ba557600080fd5b9392505050565b600060208284031215610bbe57600080fd5b5035919050565b60005b83811015610be0578181015183820152602001610bc8565b83811115610bef576000848401525b50505050565b6020815260008251806020840152610c14816040850160208701610bc5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169190910160400192915050565b600060208284031215610c5857600080fd5b81518015158114610ba557600080fd5b600181811c90821680610c7c57607f821691505b60208210811415610c9d57634e487b7160e01b600052602260045260246000fd5b50919050565b60008351610cb5818460208801610bc5565b835190830190610cc9818360208801610bc5565b01949350505050565b634e487b7160e01b600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415610d1a57610d1a610cd2565b5060010190565b634e487b7160e01b600052601260045260246000fd5b600082610d4657610d46610d21565b500490565b634e487b7160e01b600052604160045260246000fd5b600082821015610d7357610d73610cd2565b500390565b600082610d8757610d87610d21565b500690565b60008219821115610d9f57610d9f610cd2565b500190565b634e487b7160e01b600052603260045260246000fdfea2646970667358221220d4b3019b16d34c7879919c22cfe6fbc018389b9c544a672ad3f4a34c82ca42b364736f6c63430008090033

Block Transaction Difficulty 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
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.