ETH Price: $3,547.15 (+2.53%)

Contract

0x02f7fB66B55e6ca476d126d96f14c5732Eeb4363
 

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

ContractCreator:

GENESIS at txn GENESIS_02f7fb66b55e6ca476d126d96f14c5732eeb4363

Sponsored

Transaction Hash
Method
Block
From
To
Value
Nominate New Own...4226882021-11-24 15:09:32938 days ago1637766572IN
Synthetix: Delegate Approvals Eternal Storage
0 ETH0.000000040.001
GENESIS_02f7fb66b55e6ca476d126d96f14c5732eeb43630x6080604002021-01-14 15:51:401252 days ago1610639500GENESISIN
 Create: EternalStorage
0 ETH00

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
1075346122023-07-29 22:00:01325 days ago1690668001
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1075227652023-07-29 15:25:07326 days ago1690644307
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1075216712023-07-29 14:48:39326 days ago1690642119
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1075178792023-07-29 12:42:15326 days ago1690634535
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074977832023-07-29 1:32:23326 days ago1690594343
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074977512023-07-29 1:31:19326 days ago1690594279
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074977252023-07-29 1:30:27326 days ago1690594227
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074976832023-07-29 1:29:03326 days ago1690594143
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074976412023-07-29 1:27:39326 days ago1690594059
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074975142023-07-29 1:23:25326 days ago1690593805
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074975142023-07-29 1:23:25326 days ago1690593805
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074975142023-07-29 1:23:25326 days ago1690593805
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074975142023-07-29 1:23:25326 days ago1690593805
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074975142023-07-29 1:23:25326 days ago1690593805
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074975142023-07-29 1:23:25326 days ago1690593805
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074974122023-07-29 1:20:01326 days ago1690593601
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074919302023-07-28 22:17:17326 days ago1690582637
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074919302023-07-28 22:17:17326 days ago1690582637
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074919302023-07-28 22:17:17326 days ago1690582637
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074919302023-07-28 22:17:17326 days ago1690582637
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074917762023-07-28 22:12:09326 days ago1690582329
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074793692023-07-28 15:18:35327 days ago1690557515
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074772992023-07-28 14:09:35327 days ago1690553375
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074772852023-07-28 14:09:07327 days ago1690553347
Synthetix: Delegate Approvals Eternal Storage
0 ETH
1074749242023-07-28 12:50:25327 days ago1690548625
Synthetix: Delegate Approvals Eternal Storage
0 ETH
View All Internal Transactions

Loading...
Loading

Contract Source Code Verified (Genesis Bytecode Match Only)

Contract Name:
EternalStorage

Compiler Version
v0.5.16

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at optimistic.etherscan.io on 2021-08-25
*/

/*
   ____            __   __        __   _
  / __/__ __ ___  / /_ / /  ___  / /_ (_)__ __
 _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ /
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\
     /___/

* Synthetix: EternalStorage.sol
*
* Latest source (may be newer): https://github.com/Synthetixio/synthetix/blob/master/contracts/EternalStorage.sol
* Docs: https://docs.synthetix.io/contracts/EternalStorage
*
* Contract Dependencies: 
*	- Owned
*	- State
* Libraries: (none)
*
* MIT License
* ===========
*
* Copyright (c) 2021 Synthetix
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/



pragma solidity ^0.5.16;

// https://docs.synthetix.io/contracts/source/contracts/owned
contract Owned {
    address public owner;
    address public nominatedOwner;

    constructor(address _owner) public {
        require(_owner != address(0), "Owner address cannot be 0");
        owner = _owner;
        emit OwnerChanged(address(0), _owner);
    }

    function nominateNewOwner(address _owner) external onlyOwner {
        nominatedOwner = _owner;
        emit OwnerNominated(_owner);
    }

    function acceptOwnership() external {
        require(msg.sender == nominatedOwner, "You must be nominated before you can accept ownership");
        emit OwnerChanged(owner, nominatedOwner);
        owner = nominatedOwner;
        nominatedOwner = address(0);
    }

    modifier onlyOwner {
        _onlyOwner();
        _;
    }

    function _onlyOwner() private view {
        require(msg.sender == owner, "Only the contract owner may perform this action");
    }

    event OwnerNominated(address newOwner);
    event OwnerChanged(address oldOwner, address newOwner);
}


// Inheritance


// https://docs.synthetix.io/contracts/source/contracts/state
contract State is Owned {
    // the address of the contract that can modify variables
    // this can only be changed by the owner of this contract
    address public associatedContract;

    constructor(address _associatedContract) internal {
        // This contract is abstract, and thus cannot be instantiated directly
        require(owner != address(0), "Owner must be set");

        associatedContract = _associatedContract;
        emit AssociatedContractUpdated(_associatedContract);
    }

    /* ========== SETTERS ========== */

    // Change the associated contract to a new address
    function setAssociatedContract(address _associatedContract) external onlyOwner {
        associatedContract = _associatedContract;
        emit AssociatedContractUpdated(_associatedContract);
    }

    /* ========== MODIFIERS ========== */

    modifier onlyAssociatedContract {
        require(msg.sender == associatedContract, "Only the associated contract can perform this action");
        _;
    }

    /* ========== EVENTS ========== */

    event AssociatedContractUpdated(address associatedContract);
}


// Inheritance


// https://docs.synthetix.io/contracts/source/contracts/eternalstorage
/**
 * @notice  This contract is based on the code available from this blog
 * https://blog.colony.io/writing-upgradeable-contracts-in-solidity-6743f0eecc88/
 * Implements support for storing a keccak256 key and value pairs. It is the more flexible
 * and extensible option. This ensures data schema changes can be implemented without
 * requiring upgrades to the storage contract.
 */
contract EternalStorage is Owned, State {
    constructor(address _owner, address _associatedContract) public Owned(_owner) State(_associatedContract) {}

    /* ========== DATA TYPES ========== */
    mapping(bytes32 => uint) internal UIntStorage;
    mapping(bytes32 => string) internal StringStorage;
    mapping(bytes32 => address) internal AddressStorage;
    mapping(bytes32 => bytes) internal BytesStorage;
    mapping(bytes32 => bytes32) internal Bytes32Storage;
    mapping(bytes32 => bool) internal BooleanStorage;
    mapping(bytes32 => int) internal IntStorage;

    // UIntStorage;
    function getUIntValue(bytes32 record) external view returns (uint) {
        return UIntStorage[record];
    }

    function setUIntValue(bytes32 record, uint value) external onlyAssociatedContract {
        UIntStorage[record] = value;
    }

    function deleteUIntValue(bytes32 record) external onlyAssociatedContract {
        delete UIntStorage[record];
    }

    // StringStorage
    function getStringValue(bytes32 record) external view returns (string memory) {
        return StringStorage[record];
    }

    function setStringValue(bytes32 record, string calldata value) external onlyAssociatedContract {
        StringStorage[record] = value;
    }

    function deleteStringValue(bytes32 record) external onlyAssociatedContract {
        delete StringStorage[record];
    }

    // AddressStorage
    function getAddressValue(bytes32 record) external view returns (address) {
        return AddressStorage[record];
    }

    function setAddressValue(bytes32 record, address value) external onlyAssociatedContract {
        AddressStorage[record] = value;
    }

    function deleteAddressValue(bytes32 record) external onlyAssociatedContract {
        delete AddressStorage[record];
    }

    // BytesStorage
    function getBytesValue(bytes32 record) external view returns (bytes memory) {
        return BytesStorage[record];
    }

    function setBytesValue(bytes32 record, bytes calldata value) external onlyAssociatedContract {
        BytesStorage[record] = value;
    }

    function deleteBytesValue(bytes32 record) external onlyAssociatedContract {
        delete BytesStorage[record];
    }

    // Bytes32Storage
    function getBytes32Value(bytes32 record) external view returns (bytes32) {
        return Bytes32Storage[record];
    }

    function setBytes32Value(bytes32 record, bytes32 value) external onlyAssociatedContract {
        Bytes32Storage[record] = value;
    }

    function deleteBytes32Value(bytes32 record) external onlyAssociatedContract {
        delete Bytes32Storage[record];
    }

    // BooleanStorage
    function getBooleanValue(bytes32 record) external view returns (bool) {
        return BooleanStorage[record];
    }

    function setBooleanValue(bytes32 record, bool value) external onlyAssociatedContract {
        BooleanStorage[record] = value;
    }

    function deleteBooleanValue(bytes32 record) external onlyAssociatedContract {
        delete BooleanStorage[record];
    }

    // IntStorage
    function getIntValue(bytes32 record) external view returns (int) {
        return IntStorage[record];
    }

    function setIntValue(bytes32 record, int value) external onlyAssociatedContract {
        IntStorage[record] = value;
    }

    function deleteIntValue(bytes32 record) external onlyAssociatedContract {
        delete IntStorage[record];
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_associatedContract","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"associatedContract","type":"address"}],"name":"AssociatedContractUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnerNominated","type":"event"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"associatedContract","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"deleteAddressValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"deleteBooleanValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"deleteBytes32Value","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"deleteBytesValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"deleteIntValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"deleteStringValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"deleteUIntValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"getAddressValue","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"getBooleanValue","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"getBytes32Value","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"getBytesValue","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"getIntValue","outputs":[{"internalType":"int256","name":"","type":"int256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"getStringValue","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"}],"name":"getUIntValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"nominateNewOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"nominatedOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"},{"internalType":"address","name":"value","type":"address"}],"name":"setAddressValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_associatedContract","type":"address"}],"name":"setAssociatedContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setBooleanValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"},{"internalType":"bytes32","name":"value","type":"bytes32"}],"name":"setBytes32Value","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"},{"internalType":"bytes","name":"value","type":"bytes"}],"name":"setBytesValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"},{"internalType":"int256","name":"value","type":"int256"}],"name":"setIntValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"},{"internalType":"string","name":"value","type":"string"}],"name":"setStringValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"bytes32","name":"record","type":"bytes32"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setUIntValue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

8060405234801561001957600080610016611517565b50505b50600436106101b25760003560e01c806353a47bb711610102578063a209a29c116100a0578063ba69fcaa1161007a578063ba69fcaa146105a8578063bdc963d8146105ce578063c9a52d2c146105f4578063f58660661461068f576101b2565b8063a209a29c1461054e578063a77aa49e14610574578063aefc4ccb146105a0576101b2565b80638267a9ee116100dc5780638267a9ee146104d45780638da5cb5b146104fa5780639007127b1461050257806393fe424814610528576101b2565b806353a47bb71461048f5780635a2bf25a1461049757806379ba5097146104cc576101b2565b806325cf512d1161016f5780633eba9ed2116101495780633eba9ed21461035357806344bfa56e146103815780634c77e5ba1461041e57806352f445ca14610460576101b2565b806325cf512d146102d55780633562fd20146103015780633cc1635c1461032d576101b2565b8063025ec81a146101c0578063043106c0146101f85780630c55d92514610220578063124f2418146102465780631627540c1461026c57806317e7dd221461029b575b6000806101bd611517565b50505b6101e6600480360360208110156101df576000806101dc611517565b50505b503561072a565b60405190815260200160405180910390f35b61021e6004803603602081101561021757600080610214611517565b50505b5035610746565b005b61021e6004803603602081101561023f5760008061023c611517565b50505b50356107f5565b61021e6004803603602081101561026557600080610262611517565b50505b503561088d565b61021e6004803603602081101561028b57600080610288611517565b50505b50356001600160a01b0316610922565b6102c1600480360360208110156102ba576000806102b7611517565b50505b503561099c565b604051901515815260200160405180910390f35b61021e600480360360408110156102f4576000806102f1611517565b50505b50803590602001356109c6565b61021e600480360360408110156103205760008061031d611517565b50505b5080359060200135610a63565b61021e6004803603602081101561034c57600080610349611517565b50505b5035610af9565b61021e600480360360408110156103725760008061036f611517565b50505b50803590602001351515610b9d565b6103a7600480360360208110156103a05760008061039d611517565b50505b5035610c49565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156103e35780820151838201526020016103cb565b50505050905090810190601f1680156104105780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6104446004803603602081101561043d5760008061043a611517565b50505b5035610d15565b6040516001600160a01b03909116815260200160405180910390f35b61021e6004803603602081101561047f5760008061047c611517565b50505b50356001600160a01b0316610d45565b610444610dc0565b61021e600480360360408110156104b6576000806104b3611517565b50505b50803590602001356001600160a01b0316610ddf565b61021e610e98565b61021e600480360360208110156104f3576000806104f0611517565b50505b5035611016565b6104446110ab565b6101e6600480360360208110156105215760008061051e611517565b50505b50356110b6565b61021e6004803603602081101561054757600080610544611517565b50505b50356110cc565b6103a76004803603602081101561056d5760008061056a611517565b50505b5035611161565b61021e6004803603604081101561059357600080610590611517565b50505b5080359060200135611215565b6104446112ab565b61021e600480360360208110156105c7576000806105c4611517565b50505b50356112b7565b6101e6600480360360208110156105ed576000806105ea611517565b50505b503561134c565b61021e6004803603604081101561061357600080610610611517565b50505b8135919081019060408101602082013564010000000081111561063e5760008061063b611517565b50505b82018360208201111561065957600080610656611517565b50505b8035906020019184600183028401116401000000008311171561068457600080610681611517565b50505b509092509050611362565b61021e600480360360408110156106ae576000806106ab611517565b50505b813591908101906040810160208201356401000000008111156106d9576000806106d6611517565b50505b8201836020820111156106f4576000806106f1611517565b50505b8035906020019184600183028401116401000000008311171561071f5760008061071c611517565b50505b509092509050611401565b6000818152600760205260408120610740611582565b92915050565b60006002610752611582565b906101000a90046001600160a01b03166001600160a01b03165a6107746115dd565b6001600160a01b0316146107c25760405162461bcd60e51b815260040180806020018281038252603481526020018061187960349139604001915050604051809103906107bf611517565b50505b60008181526005602052604090206001816107db611582565b906001600160a01b03021916906107f0611623565b505050565b60006002610801611582565b906101000a90046001600160a01b03166001600160a01b03165a6108236115dd565b6001600160a01b0316146108715760405162461bcd60e51b8152600401808060200182810382526034815260200180611879603491396040019150506040518091039061086e611517565b50505b600081815260066020526040902061088a906000611671565b50565b60006002610899611582565b906101000a90046001600160a01b03166001600160a01b03165a6108bb6115dd565b6001600160a01b0316146109095760405162461bcd60e51b81526004018080602001828103825260348152602001806118796034913960400191505060405180910390610906611517565b50505b60008181526007602052604090206000906107f0611623565b61092a61149a565b8060018080610937611582565b816001600160a01b0302191690836001600160a01b0316021790610959611623565b5050507f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce22816040516001600160a01b03909116815260200160405180910390a150565b60008181526008602052604081206000906109b5611582565b906101000a900460ff169050919050565b600060026109d2611582565b906101000a90046001600160a01b03166001600160a01b03165a6109f46115dd565b6001600160a01b031614610a425760405162461bcd60e51b81526004018080602001828103825260348152602001806118796034913960400191505060405180910390610a3f611517565b50505b600082815260076020528190604090208190610a5c611623565b5050505050565b60006002610a6f611582565b906101000a90046001600160a01b03166001600160a01b03165a610a916115dd565b6001600160a01b031614610adf5760405162461bcd60e51b81526004018080602001828103825260348152602001806118796034913960400191505060405180910390610adc611517565b50505b600082815260036020528190604090208190610a5c611623565b60006002610b05611582565b906101000a90046001600160a01b03166001600160a01b03165a610b276115dd565b6001600160a01b031614610b755760405162461bcd60e51b81526004018080602001828103825260348152602001806118796034913960400191505060405180910390610b72611517565b50505b6000818152600860205260409020600181610b8e611582565b9060ff021916906107f0611623565b60006002610ba9611582565b906101000a90046001600160a01b03166001600160a01b03165a610bcb6115dd565b6001600160a01b031614610c195760405162461bcd60e51b81526004018080602001828103825260348152602001806118796034913960400191505060405180910390610c16611517565b50505b60008281526008602052819060409020600181610c34611582565b8160ff02191690831515021790610a5c611623565b600081815260066020526060906040902080610c63611582565b600181600116156101000203166002900480601f016020809104026020016040519081016040528181529190602083018280610c9d611582565b60018160011615610100020316600290048015610d095780601f10610cd7576101008083610cc9611582565b040283529160200191610d09565b820191906000526020600020905b81610cee611582565b81529060010190602001808311610ce557829003601f168201915b50505050509050919050565b6000818152600560205260408120600090610d2e611582565b906101000a90046001600160a01b03169050919050565b610d4d61149a565b806002600181610d5b611582565b816001600160a01b0302191690836001600160a01b0316021790610d7d611623565b5050507f73f20cff579e8a4086fa607db83867595f1b6a798e718c0bfa0b94a404128e03816040516001600160a01b03909116815260200160405180910390a150565b60006001610dcc611582565b906101000a90046001600160a01b031681565b60006002610deb611582565b906101000a90046001600160a01b03166001600160a01b03165a610e0d6115dd565b6001600160a01b031614610e5b5760405162461bcd60e51b81526004018080602001828103825260348152602001806118796034913960400191505060405180910390610e58611517565b50505b60008281526005602052819060409020600181610e76611582565b816001600160a01b0302191690836001600160a01b0316021790610a5c611623565b60006001610ea4611582565b906101000a90046001600160a01b03166001600160a01b03165a610ec66115dd565b6001600160a01b031614610f145760405162461bcd60e51b81526004018080602001828103825260358152602001806118156035913960400191505060405180910390610f11611517565b50505b7fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c600080610f40611582565b906101000a90046001600160a01b03166001600090610f5d611582565b906101000a90046001600160a01b03166040516001600160a01b039283168152911660208201526040908101905180910390a160006001610f9c611582565b906101000a90046001600160a01b03166000806101000a81610fbc611582565b816001600160a01b0302191690836001600160a01b0316021790610fde611623565b5050506000600160006101000a81610ff4611582565b816001600160a01b0302191690836001600160a01b03160217906107f0611623565b60006002611022611582565b906101000a90046001600160a01b03166001600160a01b03165a6110446115dd565b6001600160a01b0316146110925760405162461bcd60e51b8152600401808060200182810382526034815260200180611879603491396040019150506040518091039061108f611517565b50505b60008181526009602052604090206000906107f0611623565b600080610dcc611582565b6000818152600960205260408120610740611582565b600060026110d8611582565b906101000a90046001600160a01b03166001600160a01b03165a6110fa6115dd565b6001600160a01b0316146111485760405162461bcd60e51b81526004018080602001828103825260348152602001806118796034913960400191505060405180910390611145611517565b50505b60008181526003602052604090206000906107f0611623565b60008181526004602052606090604090208061117b611582565b600181600116156101000203166002900480601f0160208091040260200160405190810160405281815291906020830182806111b5611582565b60018160011615610100020316600290048015610d095780601f106111e1576101008083610cc9611582565b820191906000526020600020905b816111f8611582565b815290600101906020018083116111ef5750939695505050505050565b60006002611221611582565b906101000a90046001600160a01b03166001600160a01b03165a6112436115dd565b6001600160a01b0316146112915760405162461bcd60e51b8152600401808060200182810382526034815260200180611879603491396040019150506040518091039061128e611517565b50505b600082815260096020528190604090208190610a5c611623565b60006002610dcc611582565b600060026112c3611582565b906101000a90046001600160a01b03166001600160a01b03165a6112e56115dd565b6001600160a01b0316146113335760405162461bcd60e51b81526004018080602001828103825260348152602001806118796034913960400191505060405180910390611330611517565b50505b600081815260046020526040902061088a906000611671565b6000818152600360205260408120610740611582565b6000600261136e611582565b906101000a90046001600160a01b03166001600160a01b03165a6113906115dd565b6001600160a01b0316146113de5760405162461bcd60e51b815260040180806020018281038252603481526020018061187960349139604001915050604051809103906113db611517565b50505b6000838152600660205282908290604090206113fb9290916116c3565b50505050565b6000600261140d611582565b906101000a90046001600160a01b03166001600160a01b03165a61142f6115dd565b6001600160a01b03161461147d5760405162461bcd60e51b8152600401808060200182810382526034815260200180611879603491396040019150506040518091039061147a611517565b50505b6000838152600460205282908290604090206113fb929091611763565b6000806114a5611582565b906101000a90046001600160a01b03166001600160a01b03165a6114c76115dd565b6001600160a01b0316146115155760405162461bcd60e51b815260040180806020018281038252602f81526020018061184a602f913960400191505060405180910390611512611517565b50505b565b632a2a7adb598160e01b8152600481016020815285602082015260005b8681101561154f578086015182820160400152602001611534565b506020828760640184336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b505050565b6303daa959598160e01b8152836004820152602081602483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b8051935060005b60408110156107f0576000828201526020016115c6565b6373509064598160e01b8152602081600483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b805160008252935060206115c6565b6322bd64c0598160e01b8152836004820152846024820152600081604483336000905af158600e01573d6000803e3d6000fd5b3d6001141558600a015760016000f35b6000815260206115c6565b508061167b611582565b6001816001161561010002031660029004600082611697611623565b505080601f106116a7575061088a565b601f016020900490600052602060002061088a918101906117ec565b82806116cd611582565b600181600116156101000203166002900490600052602060002090601f016020900481019282601f106117145782800160ff19823516178561170d611623565b5050611753565b82800160010185611723611623565b50508215611753579182015b8281111561175357823582611742611623565b50509160200191906001019061172f565b5061175f9291506117ec565b5090565b828061176d611582565b600181600116156101000203166002900490600052602060002090601f016020900481019282601f106117ad5782800160ff19823516178561170d611623565b828001600101856117bc611623565b50508215611753579182015b82811115611753578235826117db611623565b5050916020019190600101906117c8565b61181191905b8082111561175f5760008082611806611623565b5050506001016117f2565b9056fe596f75206d757374206265206e6f6d696e61746564206265666f726520796f752063616e20616363657074206f776e6572736869704f6e6c792074686520636f6e7472616374206f776e6572206d617920706572666f726d207468697320616374696f6e4f6e6c7920746865206173736f63696174656420636f6e74726163742063616e20706572666f726d207468697320616374696f6e

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806353a47bb7116100f9578063a209a29c11610097578063ba69fcaa11610071578063ba69fcaa146104e9578063bdc963d814610506578063c9a52d2c14610523578063f58660661461059a576101a9565b8063a209a29c146104a1578063a77aa49e146104be578063aefc4ccb146104e1576101a9565b80638267a9ee116100d35780638267a9ee146104425780638da5cb5b1461045f5780639007127b1461046757806393fe424814610484576101a9565b806353a47bb7146104065780635a2bf25a1461040e57806379ba50971461043a576101a9565b806325cf512d116101665780633eba9ed2116101405780633eba9ed2146102f057806344bfa56e146103155780634c77e5ba146103a757806352f445ca146103e0576101a9565b806325cf512d1461028d5780633562fd20146102b05780633cc1635c146102d3576101a9565b8063025ec81a146101ae578063043106c0146101dd5780630c55d925146101fc578063124f2418146102195780631627540c1461023657806317e7dd221461025c575b600080fd5b6101cb600480360360208110156101c457600080fd5b5035610611565b60408051918252519081900360200190f35b6101fa600480360360208110156101f357600080fd5b5035610623565b005b6101fa6004803603602081101561021257600080fd5b503561068a565b6101fa6004803603602081101561022f57600080fd5b50356106ed565b6101fa6004803603602081101561024c57600080fd5b50356001600160a01b0316610747565b6102796004803603602081101561027257600080fd5b50356107a3565b604080519115158252519081900360200190f35b6101fa600480360360408110156102a357600080fd5b50803590602001356107b8565b6101fa600480360360408110156102c657600080fd5b5080359060200135610813565b6101fa600480360360208110156102e957600080fd5b503561086e565b6101fa6004803603604081101561030657600080fd5b508035906020013515156108cf565b6103326004803603602081101561032b57600080fd5b5035610938565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561036c578181015183820152602001610354565b50505050905090810190601f1680156103995780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103c4600480360360208110156103bd57600080fd5b50356109d9565b604080516001600160a01b039092168252519081900360200190f35b6101fa600480360360208110156103f657600080fd5b50356001600160a01b03166109f4565b6103c4610a50565b6101fa6004803603604081101561042457600080fd5b50803590602001356001600160a01b0316610a5f565b6101fa610ad6565b6101fa6004803603602081101561045857600080fd5b5035610b92565b6103c4610bec565b6101cb6004803603602081101561047d57600080fd5b5035610bfb565b6101fa6004803603602081101561049a57600080fd5b5035610c0d565b610332600480360360208110156104b757600080fd5b5035610c67565b6101fa600480360360408110156104d457600080fd5b5080359060200135610cd1565b6103c4610d2c565b6101fa600480360360208110156104ff57600080fd5b5035610d3b565b6101cb6004803603602081101561051c57600080fd5b5035610d9b565b6101fa6004803603604081101561053957600080fd5b8135919081019060408101602082013564010000000081111561055b57600080fd5b82018360208201111561056d57600080fd5b8035906020019184600183028401116401000000008311171561058f57600080fd5b509092509050610dad565b6101fa600480360360408110156105b057600080fd5b813591908101906040810160208201356401000000008111156105d257600080fd5b8201836020820111156105e457600080fd5b8035906020019184600183028401116401000000008311171561060657600080fd5b509092509050610e15565b60009081526007602052604090205490565b6002546001600160a01b0316331461066c5760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b600090815260056020526040902080546001600160a01b0319169055565b6002546001600160a01b031633146106d35760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b60008181526006602052604081206106ea91610ec2565b50565b6002546001600160a01b031633146107365760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b600090815260076020526040812055565b61074f610e77565b600180546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f906a1c6bd7e3091ea86693dd029a831c19049ce77f1dce2ce0bab1cacbabce229181900360200190a150565b60009081526008602052604090205460ff1690565b6002546001600160a01b031633146108015760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b60009182526007602052604090912055565b6002546001600160a01b0316331461085c5760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b60009182526003602052604090912055565b6002546001600160a01b031633146108b75760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b6000908152600860205260409020805460ff19169055565b6002546001600160a01b031633146109185760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b600091825260086020526040909120805460ff1916911515919091179055565b60008181526006602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156109cd5780601f106109a2576101008083540402835291602001916109cd565b820191906000526020600020905b8154815290600101906020018083116109b057829003601f168201915b50505050509050919050565b6000908152600560205260409020546001600160a01b031690565b6109fc610e77565b600280546001600160a01b0383166001600160a01b0319909116811790915560408051918252517f73f20cff579e8a4086fa607db83867595f1b6a798e718c0bfa0b94a404128e039181900360200190a150565b6001546001600160a01b031681565b6002546001600160a01b03163314610aa85760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b60009182526005602052604090912080546001600160a01b0319166001600160a01b03909216919091179055565b6001546001600160a01b03163314610b1f5760405162461bcd60e51b8152600401808060200182810382526035815260200180610fa26035913960400191505060405180910390fd5b600054600154604080516001600160a01b03938416815292909116602083015280517fb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c9281900390910190a160018054600080546001600160a01b03199081166001600160a01b03841617909155169055565b6002546001600160a01b03163314610bdb5760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b600090815260096020526040812055565b6000546001600160a01b031681565b60009081526009602052604090205490565b6002546001600160a01b03163314610c565760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b600090815260036020526040812055565b60008181526004602090815260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452606093928301828280156109cd5780601f106109a2576101008083540402835291602001916109cd565b6002546001600160a01b03163314610d1a5760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b60009182526009602052604090912055565b6002546001600160a01b031681565b6002546001600160a01b03163314610d845760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b60008181526004602052604081206106ea91610ec2565b60009081526003602052604090205490565b6002546001600160a01b03163314610df65760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b6000838152600660205260409020610e0f908383610f06565b50505050565b6002546001600160a01b03163314610e5e5760405162461bcd60e51b81526004018080602001828103825260348152602001806110066034913960400191505060405180910390fd5b6000838152600460205260409020610e0f908383610f06565b6000546001600160a01b03163314610ec05760405162461bcd60e51b815260040180806020018281038252602f815260200180610fd7602f913960400191505060405180910390fd5b565b50805460018160011615610100020316600290046000825580601f10610ee857506106ea565b601f0160209004906000526020600020908101906106ea9190610f84565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610f475782800160ff19823516178555610f74565b82800160010185558215610f74579182015b82811115610f74578235825591602001919060010190610f59565b50610f80929150610f84565b5090565b610f9e91905b80821115610f805760008155600101610f8a565b9056fe596f75206d757374206265206e6f6d696e61746564206265666f726520796f752063616e20616363657074206f776e6572736869704f6e6c792074686520636f6e7472616374206f776e6572206d617920706572666f726d207468697320616374696f6e4f6e6c7920746865206173736f63696174656420636f6e74726163742063616e20706572666f726d207468697320616374696f6ea265627a7a72315820b8f4a235ea8a7e0476a4771a9b1893849ddbc096056ddf23932189f80cd8f65f64736f6c63430005100032

Library Used


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  ]
[ 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.