ETH Price: $3,128.83 (+0.44%)
Gas: 3 Gwei

Contract

0xF55041E37E12cD407ad00CE2910B8269B01263b9
 
Transaction Hash
Method
Block
From
To
Value
0xa1752e839ad35e27a7873d93c6f80b68ce8f7feb92150b136c73cfead9ef9617Delegate(pending)2024-05-19 2:48:0356 mins ago1716086883IN
The Graph: Proxy 2
0 ETH(Pending)(Pending)
0xfc350aa45379bac3c7d337f225df466fa0481cd06bb56ab8b4fd55ee0e51c92bDelegate(pending)2024-05-19 2:21:051 hr ago1716085265IN
The Graph: Proxy 2
0 ETH(Pending)(Pending)
0x262c8b02aecb6f2022376da0e03e40c42af0cdf3029adbaa967e4605c129c1b1Delegate(pending)2024-05-19 1:47:141 hr ago1716083234IN
The Graph: Proxy 2
0 ETH(Pending)(Pending)
0xb33ce03583abf291d21f38c7605062c1b75f57666115642a308ea1af45f535e2Delegate(pending)2024-05-19 1:47:141 hr ago1716083234IN
The Graph: Proxy 2
0 ETH(Pending)(Pending)
0x40c297406f4f0bb91216719f95c8c24c74d28f99eff070433a73fa2809be4af9Delegate(pending)2024-05-18 23:56:243 hrs ago1716076584IN
The Graph: Proxy 2
0 ETH(Pending)(Pending)
Delegate199011342024-05-19 2:54:2349 mins ago1716087263IN
The Graph: Proxy 2
0 ETH0.000219733.08843201
Multicall199007542024-05-19 1:38:112 hrs ago1716082691IN
The Graph: Proxy 2
0 ETH0.014112294.83748187
Withdraw Delegat...199006082024-05-19 1:08:352 hrs ago1716080915IN
The Graph: Proxy 2
0 ETH0.000339243.33001291
Multicall199002772024-05-19 0:01:593 hrs ago1716076919IN
The Graph: Proxy 2
0 ETH0.000376722.9138216
Multicall199000202024-05-18 23:10:234 hrs ago1716073823IN
The Graph: Proxy 2
0 ETH0.008241424.11048154
Multicall199000162024-05-18 23:09:354 hrs ago1716073775IN
The Graph: Proxy 2
0 ETH0.016171564.33845768
Withdraw Delegat...198996312024-05-18 21:52:235 hrs ago1716069143IN
The Graph: Proxy 2
0 ETH0.000322493.16566463
Multicall198992172024-05-18 20:29:237 hrs ago1716064163IN
The Graph: Proxy 2
0 ETH0.00136534.55706755
Multicall198991892024-05-18 20:23:477 hrs ago1716063827IN
The Graph: Proxy 2
0 ETH0.001114034.598664
Multicall198983992024-05-18 17:44:239 hrs ago1716054263IN
The Graph: Proxy 2
0 ETH0.000571544.42033064
Multicall198983512024-05-18 17:34:4710 hrs ago1716053687IN
The Graph: Proxy 2
0 ETH0.000484663.42947769
Withdraw Delegat...198978462024-05-18 15:53:2311 hrs ago1716047603IN
The Graph: Proxy 2
0 ETH0.000289113.41038341
Transfer Delegat...198976492024-05-18 15:12:5912 hrs ago1716045179IN
The Graph: Proxy 2
0.00008989 ETH0.000883563.76420712
Multicall198973982024-05-18 14:22:4713 hrs ago1716042167IN
The Graph: Proxy 2
0 ETH0.000485133.75236506
Multicall198963572024-05-18 10:53:2316 hrs ago1716029603IN
The Graph: Proxy 2
0 ETH0.002806925.2385089
Transfer Delegat...198948312024-05-18 5:44:3521 hrs ago1716011075IN
The Graph: Proxy 2
0.00005685 ETH0.000713473.03971152
Multicall198938982024-05-18 2:36:3525 hrs ago1715999795IN
The Graph: Proxy 2
0 ETH0.001585265.29175428
Multicall198938892024-05-18 2:34:4725 hrs ago1715999687IN
The Graph: Proxy 2
0 ETH0.001236345.40688154
Multicall198928612024-05-17 23:07:4728 hrs ago1715987267IN
The Graph: Proxy 2
0 ETH0.00143474.78890802
Multicall198928432024-05-17 23:04:1128 hrs ago1715987051IN
The Graph: Proxy 2
0 ETH0.001025394.55424653
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
198976492024-05-18 15:12:5912 hrs ago1716045179
The Graph: Proxy 2
0.00008989 ETH
198948312024-05-18 5:44:3521 hrs ago1716011075
The Graph: Proxy 2
0.00005685 ETH
198858532024-05-16 23:35:232 days ago1715902523
The Graph: Proxy 2
0.00006645 ETH
198856482024-05-16 22:54:232 days ago1715900063
The Graph: Proxy 2
0.00007598 ETH
198845302024-05-16 19:09:352 days ago1715886575
The Graph: Proxy 2
0.00009529 ETH
198840252024-05-16 17:27:472 days ago1715880467
The Graph: Proxy 2
0.00010695 ETH
198838212024-05-16 16:46:232 days ago1715877983
The Graph: Proxy 2
0.00012951 ETH
198836792024-05-16 16:17:352 days ago1715876255
The Graph: Proxy 2
0.00011119 ETH
198815912024-05-16 9:18:112 days ago1715851091
The Graph: Proxy 2
0.00008849 ETH
198815042024-05-16 9:00:472 days ago1715850047
The Graph: Proxy 2
0.00010173 ETH
198812492024-05-16 8:09:232 days ago1715846963
The Graph: Proxy 2
0.00009683 ETH
198812492024-05-16 8:09:232 days ago1715846963
The Graph: Proxy 2
0.00009683 ETH
198805422024-05-16 5:46:472 days ago1715838407
The Graph: Proxy 2
0.00006941 ETH
198805162024-05-16 5:41:352 days ago1715838095
The Graph: Proxy 2
0.0000636 ETH
198803852024-05-16 5:15:112 days ago1715836511
The Graph: Proxy 2
0.00007258 ETH
198784132024-05-15 22:37:113 days ago1715812631
The Graph: Proxy 2
0.00008984 ETH
198783622024-05-15 22:26:593 days ago1715812019
The Graph: Proxy 2
0.00008226 ETH
198781812024-05-15 21:50:473 days ago1715809847
The Graph: Proxy 2
0.00009599 ETH
198737112024-05-15 6:53:233 days ago1715756003
The Graph: Proxy 2
0.00007961 ETH
198723822024-05-15 2:26:234 days ago1715739983
The Graph: Proxy 2
0.00006606 ETH
198661052024-05-14 5:16:234 days ago1715663783
The Graph: Proxy 2
0.00009556 ETH
198641492024-05-13 22:42:595 days ago1715640179
The Graph: Proxy 2
0.0000728 ETH
198636902024-05-13 21:10:115 days ago1715634611
The Graph: Proxy 2
0.00011408 ETH
198622242024-05-13 16:15:115 days ago1715616911
The Graph: Proxy 2
0.00033595 ETH
198604632024-05-13 10:21:115 days ago1715595671
The Graph: Proxy 2
0.00007442 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
GraphProxy

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : GraphProxy.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.3;

import "@openzeppelin/contracts/utils/Address.sol";

import "./GraphProxyStorage.sol";

/**
 * @title Graph Proxy
 * @dev Graph Proxy contract used to delegate call implementation contracts and support upgrades.
 * This contract should NOT define storage as it is managed by GraphProxyStorage.
 * This contract implements a proxy that is upgradeable by an admin.
 * https://docs.openzeppelin.com/upgrades-plugins/1.x/proxies#transparent-proxies-and-function-clashes
 */
contract GraphProxy is GraphProxyStorage {
    /**
     * @dev Modifier used internally that will delegate the call to the implementation unless
     * the sender is the admin.
     */
    modifier ifAdmin() {
        if (msg.sender == _admin()) {
            _;
        } else {
            _fallback();
        }
    }

    /**
     * @dev Modifier used internally that will delegate the call to the implementation unless
     * the sender is the admin or pending implementation.
     */
    modifier ifAdminOrPendingImpl() {
        if (msg.sender == _admin() || msg.sender == _pendingImplementation()) {
            _;
        } else {
            _fallback();
        }
    }

    /**
     * @dev Contract constructor.
     * @param _impl Address of the initial implementation
     * @param _admin Address of the proxy admin
     */
    constructor(address _impl, address _admin) {
        assert(ADMIN_SLOT == bytes32(uint256(keccak256("eip1967.proxy.admin")) - 1));
        assert(
            IMPLEMENTATION_SLOT == bytes32(uint256(keccak256("eip1967.proxy.implementation")) - 1)
        );
        assert(
            PENDING_IMPLEMENTATION_SLOT ==
                bytes32(uint256(keccak256("eip1967.proxy.pendingImplementation")) - 1)
        );

        _setAdmin(_admin);
        _setPendingImplementation(_impl);
    }

    /**
     * @dev Returns the current admin.
     *
     * NOTE: Only the admin and implementation can call this function.
     *
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103`
     */
    function admin() external ifAdminOrPendingImpl returns (address) {
        return _admin();
    }

    /**
     * @dev Returns the current implementation.
     *
     * NOTE: Only the admin can call this function.
     *
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc`
     */
    function implementation() external ifAdminOrPendingImpl returns (address) {
        return _implementation();
    }

    /**
     * @dev Returns the current pending implementation.
     *
     * NOTE: Only the admin can call this function.
     *
     * TIP: To get this value clients can read directly from the storage slot shown below (specified by EIP1967) using the
     * https://eth.wiki/json-rpc/API#eth_getstorageat[`eth_getStorageAt`] RPC call.
     * `0x9e5eddc59e0b171f57125ab86bee043d9128098c3a6b9adb4f2e86333c2f6f8c`
     */
    function pendingImplementation() external ifAdminOrPendingImpl returns (address) {
        return _pendingImplementation();
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * NOTE: Only the admin can call this function.
     */
    function setAdmin(address _newAdmin) external ifAdmin {
        require(_newAdmin != address(0), "Cannot change the admin of a proxy to the zero address");
        _setAdmin(_newAdmin);
    }

    /**
     * @dev Upgrades to a new implementation contract.
     * @param _newImplementation Address of implementation contract
     *
     * NOTE: Only the admin can call this function.
     */
    function upgradeTo(address _newImplementation) external ifAdmin {
        _setPendingImplementation(_newImplementation);
    }

    /**
     * @dev Admin function for new implementation to accept its role as implementation.
     */
    function acceptUpgrade() external ifAdminOrPendingImpl {
        _acceptUpgrade();
    }

    /**
     * @dev Admin function for new implementation to accept its role as implementation.
     */
    function acceptUpgradeAndCall(bytes calldata data) external ifAdminOrPendingImpl {
        _acceptUpgrade();
        // solhint-disable-next-line avoid-low-level-calls
        (bool success, ) = _implementation().delegatecall(data);
        require(success);
    }

    /**
     * @dev Admin function for new implementation to accept its role as implementation.
     */
    function _acceptUpgrade() internal {
        address _pendingImplementation = _pendingImplementation();
        require(Address.isContract(_pendingImplementation), "Implementation must be a contract");
        require(
            _pendingImplementation != address(0) && msg.sender == _pendingImplementation,
            "Caller must be the pending implementation"
        );

        _setImplementation(_pendingImplementation);
        _setPendingImplementation(address(0));
    }

    /**
     * @dev Delegates the current call to implementation.
     * This function does not return to its internal call site, it will return directly to the
     * external caller.
     */
    function _fallback() internal {
        require(msg.sender != _admin(), "Cannot fallback to proxy target");

        assembly {
            // (a) get free memory pointer
            let ptr := mload(0x40)

            // (b) get address of the implementation
            let impl := and(sload(IMPLEMENTATION_SLOT), 0xffffffffffffffffffffffffffffffffffffffff)

            // (1) copy incoming call data
            calldatacopy(ptr, 0, calldatasize())

            // (2) forward call to logic contract
            let result := delegatecall(gas(), impl, ptr, calldatasize(), 0, 0)
            let size := returndatasize()

            // (3) retrieve return data
            returndatacopy(ptr, 0, size)

            // (4) forward return data back to caller
            switch result
                case 0 {
                    revert(ptr, size)
                }
                default {
                    return(ptr, size)
                }
        }
    }

    /**
     * @dev Fallback function that delegates calls to implementation. Will run if no other
     * function in the contract matches the call data.
     */
    fallback() external payable {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to implementation. Will run if call data
     * is empty.
     */
    receive() external payable {
        _fallback();
    }
}

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

pragma solidity ^0.7.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 4 of 3 : GraphProxyStorage.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.3;

/**
 * @title Graph Proxy Storage
 * @dev Contract functions related to getting and setting proxy storage.
 * This contract does not actually define state variables managed by the compiler
 * but uses fixed slot locations.
 */
contract GraphProxyStorage {
    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32
        internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Storage slot with the address of the pending implementation.
     * This is the keccak-256 hash of "eip1967.proxy.pendingImplementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32
        internal constant PENDING_IMPLEMENTATION_SLOT = 0x9e5eddc59e0b171f57125ab86bee043d9128098c3a6b9adb4f2e86333c2f6f8c;

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32
        internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Emitted when pendingImplementation is changed.
     */
    event PendingImplementationUpdated(
        address indexed oldPendingImplementation,
        address indexed newPendingImplementation
    );

    /**
     * @dev Emitted when pendingImplementation is accepted,
     * which means contract implementation is updated.
     */
    event ImplementationUpdated(
        address indexed oldImplementation,
        address indexed newImplementation
    );

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminUpdated(address indexed oldAdmin, address indexed newAdmin);

    /**
     * @dev Modifier to check whether the `msg.sender` is the admin.
     */
    modifier onlyAdmin() {
        require(msg.sender == _admin(), "Caller must be admin");
        _;
    }

    /**
     * @return adm The admin slot.
     */
    function _admin() internal view returns (address adm) {
        bytes32 slot = ADMIN_SLOT;
        assembly {
            adm := sload(slot)
        }
    }

    /**
     * @dev Sets the address of the proxy admin.
     * @param _newAdmin Address of the new proxy admin
     */
    function _setAdmin(address _newAdmin) internal {
        bytes32 slot = ADMIN_SLOT;
        assembly {
            sstore(slot, _newAdmin)
        }

        emit AdminUpdated(_admin(), _newAdmin);
    }

    /**
     * @dev Returns the current implementation.
     * @return impl Address of the current implementation
     */
    function _implementation() internal view returns (address impl) {
        bytes32 slot = IMPLEMENTATION_SLOT;
        assembly {
            impl := sload(slot)
        }
    }

    /**
     * @dev Returns the current pending implementation.
     * @return impl Address of the current pending implementation
     */
    function _pendingImplementation() internal view returns (address impl) {
        bytes32 slot = PENDING_IMPLEMENTATION_SLOT;
        assembly {
            impl := sload(slot)
        }
    }

    /**
     * @dev Sets the implementation address of the proxy.
     * @param _newImplementation Address of the new implementation
     */
    function _setImplementation(address _newImplementation) internal {
        address oldImplementation = _implementation();

        bytes32 slot = IMPLEMENTATION_SLOT;
        assembly {
            sstore(slot, _newImplementation)
        }

        emit ImplementationUpdated(oldImplementation, _newImplementation);
    }

    /**
     * @dev Sets the pending implementation address of the proxy.
     * @param _newImplementation Address of the new pending implementation
     */
    function _setPendingImplementation(address _newImplementation) internal {
        address oldPendingImplementation = _pendingImplementation();

        bytes32 slot = PENDING_IMPLEMENTATION_SLOT;
        assembly {
            sstore(slot, _newImplementation)
        }

        emit PendingImplementationUpdated(oldPendingImplementation, _newImplementation);
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_impl","type":"address"},{"internalType":"address","name":"_admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldAdmin","type":"address"},{"indexed":true,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldImplementation","type":"address"},{"indexed":true,"internalType":"address","name":"newImplementation","type":"address"}],"name":"ImplementationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldPendingImplementation","type":"address"},{"indexed":true,"internalType":"address","name":"newPendingImplementation","type":"address"}],"name":"PendingImplementationUpdated","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"acceptUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"acceptUpgradeAndCall","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pendingImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50604051610a2c380380610a2c8339818101604052604081101561003357600080fd5b50805160209091015161004581610055565b61004e826100b2565b5050610136565b6000805160206109ec8339815191528181556001600160a01b038216610079610110565b6001600160a01b03167f101b8081ff3b56bbf45deb824d86a3b0fd38b7e3dd42421105cf8abe9106db0b60405160405180910390a35050565b60006100bc610123565b600080516020610a0c833981519152838155604051919250906001600160a01b0380851691908416907f980c0d30fe97457c47903527d88b7009a1643be6de24d2af664214919f0540a190600090a3505050565b6000805160206109ec8339815191525490565b600080516020610a0c8339815191525490565b6108a7806101456000396000f3fe6080604052600436106100745760003560e01c80635c60da1b1161004e5780635c60da1b14610104578063623faf6114610119578063704b6c0214610196578063f851a440146101c957610083565b80633659cfe61461008b578063396f7b23146100be57806359fc20bb146100ef57610083565b36610083576100816101de565b005b6100816101de565b34801561009757600080fd5b50610081600480360360208110156100ae57600080fd5b50356001600160a01b031661029e565b3480156100ca57600080fd5b506100d36102d8565b604080516001600160a01b039092168252519081900360200190f35b3480156100fb57600080fd5b50610081610338565b34801561011057600080fd5b506100d3610393565b34801561012557600080fd5b506100816004803603602081101561013c57600080fd5b81019060208101813564010000000081111561015757600080fd5b82018360208201111561016957600080fd5b8035906020019184600183028401116401000000008311171561018b57600080fd5b5090925090506103e1565b3480156101a257600080fd5b50610081600480360360208110156101b957600080fd5b50356001600160a01b03166104b6565b3480156101d557600080fd5b506100d3610525565b6101e661056f565b6001600160a01b0316336001600160a01b0316141561024c576040805162461bcd60e51b815260206004820152601f60248201527f43616e6e6f742066616c6c6261636b20746f2070726f78792074617267657400604482015290519081900360640190fd5b6040516001600160a01b037f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc541636600083376000803684845af490503d806000843e81801561029a578184f35b8184fd5b6102a661056f565b6001600160a01b0316336001600160a01b031614156102cd576102c881610594565b6102d5565b6102d56101de565b50565b60006102e261056f565b6001600160a01b0316336001600160a01b031614806103195750610304610604565b6001600160a01b0316336001600160a01b0316145b1561032d57610326610604565b9050610335565b6103356101de565b90565b61034061056f565b6001600160a01b0316336001600160a01b031614806103775750610362610604565b6001600160a01b0316336001600160a01b0316145b1561038957610384610629565b610391565b6103916101de565b565b600061039d61056f565b6001600160a01b0316336001600160a01b031614806103d457506103bf610604565b6001600160a01b0316336001600160a01b0316145b1561032d576103266106e7565b6103e961056f565b6001600160a01b0316336001600160a01b03161480610420575061040b610604565b6001600160a01b0316336001600160a01b0316145b156104aa5761042d610629565b60006104376106e7565b6001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d8060008114610491576040519150601f19603f3d011682016040523d82523d6000602084013e610496565b606091505b50509050806104a457600080fd5b506104b2565b6104b26101de565b5050565b6104be61056f565b6001600160a01b0316336001600160a01b031614156102cd576001600160a01b03811661051c5760405162461bcd60e51b81526004018080602001828103825260368152602001806108136036913960400191505060405180910390fd5b6102c88161070c565b600061052f61056f565b6001600160a01b0316336001600160a01b031614806105665750610551610604565b6001600160a01b0316336001600160a01b0316145b1561032d576103265b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b600061059e610604565b7f9e5eddc59e0b171f57125ab86bee043d9128098c3a6b9adb4f2e86333c2f6f8c838155604051919250906001600160a01b0380851691908416907f980c0d30fe97457c47903527d88b7009a1643be6de24d2af664214919f0540a190600090a3505050565b7f9e5eddc59e0b171f57125ab86bee043d9128098c3a6b9adb4f2e86333c2f6f8c5490565b6000610633610604565b905061063e8161077b565b6106795760405162461bcd60e51b81526004018080602001828103825260218152602001806107f26021913960400191505060405180910390fd5b6001600160a01b038116158015906106995750336001600160a01b038216145b6106d45760405162461bcd60e51b81526004018080602001828103825260298152602001806108496029913960400191505060405180910390fd5b6106dd81610781565b6102d56000610594565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61038181556001600160a01b03821661074261056f565b6001600160a01b03167f101b8081ff3b56bbf45deb824d86a3b0fd38b7e3dd42421105cf8abe9106db0b60405160405180910390a35050565b3b151590565b600061078b6106e7565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc838155604051919250906001600160a01b0380851691908416907faa3f731066a578e5f39b4215468d826cdd15373cbc0dfc9cb9bdc649718ef7da90600090a350505056fe496d706c656d656e746174696f6e206d757374206265206120636f6e747261637443616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616c6c6572206d757374206265207468652070656e64696e6720696d706c656d656e746174696f6ea2646970667358221220d5702268eb0bd49c4c39422d4b7d19026500c9412ce38365aae2d440f1aedd2a64736f6c63430007040033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61039e5eddc59e0b171f57125ab86bee043d9128098c3a6b9adb4f2e86333c2f6f8c000000000000000000000000296ebf81430ea5561143b4b15b17cc3c549e2a53000000000000000000000000f3b000a6749259539af4e49f24eec74ea0e71430

Deployed Bytecode

0x6080604052600436106100745760003560e01c80635c60da1b1161004e5780635c60da1b14610104578063623faf6114610119578063704b6c0214610196578063f851a440146101c957610083565b80633659cfe61461008b578063396f7b23146100be57806359fc20bb146100ef57610083565b36610083576100816101de565b005b6100816101de565b34801561009757600080fd5b50610081600480360360208110156100ae57600080fd5b50356001600160a01b031661029e565b3480156100ca57600080fd5b506100d36102d8565b604080516001600160a01b039092168252519081900360200190f35b3480156100fb57600080fd5b50610081610338565b34801561011057600080fd5b506100d3610393565b34801561012557600080fd5b506100816004803603602081101561013c57600080fd5b81019060208101813564010000000081111561015757600080fd5b82018360208201111561016957600080fd5b8035906020019184600183028401116401000000008311171561018b57600080fd5b5090925090506103e1565b3480156101a257600080fd5b50610081600480360360208110156101b957600080fd5b50356001600160a01b03166104b6565b3480156101d557600080fd5b506100d3610525565b6101e661056f565b6001600160a01b0316336001600160a01b0316141561024c576040805162461bcd60e51b815260206004820152601f60248201527f43616e6e6f742066616c6c6261636b20746f2070726f78792074617267657400604482015290519081900360640190fd5b6040516001600160a01b037f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc541636600083376000803684845af490503d806000843e81801561029a578184f35b8184fd5b6102a661056f565b6001600160a01b0316336001600160a01b031614156102cd576102c881610594565b6102d5565b6102d56101de565b50565b60006102e261056f565b6001600160a01b0316336001600160a01b031614806103195750610304610604565b6001600160a01b0316336001600160a01b0316145b1561032d57610326610604565b9050610335565b6103356101de565b90565b61034061056f565b6001600160a01b0316336001600160a01b031614806103775750610362610604565b6001600160a01b0316336001600160a01b0316145b1561038957610384610629565b610391565b6103916101de565b565b600061039d61056f565b6001600160a01b0316336001600160a01b031614806103d457506103bf610604565b6001600160a01b0316336001600160a01b0316145b1561032d576103266106e7565b6103e961056f565b6001600160a01b0316336001600160a01b03161480610420575061040b610604565b6001600160a01b0316336001600160a01b0316145b156104aa5761042d610629565b60006104376106e7565b6001600160a01b031683836040518083838082843760405192019450600093509091505080830381855af49150503d8060008114610491576040519150601f19603f3d011682016040523d82523d6000602084013e610496565b606091505b50509050806104a457600080fd5b506104b2565b6104b26101de565b5050565b6104be61056f565b6001600160a01b0316336001600160a01b031614156102cd576001600160a01b03811661051c5760405162461bcd60e51b81526004018080602001828103825260368152602001806108136036913960400191505060405180910390fd5b6102c88161070c565b600061052f61056f565b6001600160a01b0316336001600160a01b031614806105665750610551610604565b6001600160a01b0316336001600160a01b0316145b1561032d576103265b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61035490565b600061059e610604565b7f9e5eddc59e0b171f57125ab86bee043d9128098c3a6b9adb4f2e86333c2f6f8c838155604051919250906001600160a01b0380851691908416907f980c0d30fe97457c47903527d88b7009a1643be6de24d2af664214919f0540a190600090a3505050565b7f9e5eddc59e0b171f57125ab86bee043d9128098c3a6b9adb4f2e86333c2f6f8c5490565b6000610633610604565b905061063e8161077b565b6106795760405162461bcd60e51b81526004018080602001828103825260218152602001806107f26021913960400191505060405180910390fd5b6001600160a01b038116158015906106995750336001600160a01b038216145b6106d45760405162461bcd60e51b81526004018080602001828103825260298152602001806108496029913960400191505060405180910390fd5b6106dd81610781565b6102d56000610594565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61038181556001600160a01b03821661074261056f565b6001600160a01b03167f101b8081ff3b56bbf45deb824d86a3b0fd38b7e3dd42421105cf8abe9106db0b60405160405180910390a35050565b3b151590565b600061078b6106e7565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc838155604051919250906001600160a01b0380851691908416907faa3f731066a578e5f39b4215468d826cdd15373cbc0dfc9cb9bdc649718ef7da90600090a350505056fe496d706c656d656e746174696f6e206d757374206265206120636f6e747261637443616e6e6f74206368616e6765207468652061646d696e206f6620612070726f787920746f20746865207a65726f206164647265737343616c6c6572206d757374206265207468652070656e64696e6720696d706c656d656e746174696f6ea2646970667358221220d5702268eb0bd49c4c39422d4b7d19026500c9412ce38365aae2d440f1aedd2a64736f6c63430007040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000296ebf81430ea5561143b4b15b17cc3c549e2a53000000000000000000000000f3b000a6749259539af4e49f24eec74ea0e71430

-----Decoded View---------------
Arg [0] : _impl (address): 0x296Ebf81430eA5561143B4b15B17CC3C549e2a53
Arg [1] : _admin (address): 0xF3B000a6749259539aF4E49f24EEc74Ea0e71430

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000296ebf81430ea5561143b4b15b17cc3c549e2a53
Arg [1] : 000000000000000000000000f3b000a6749259539af4e49f24eec74ea0e71430


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