ETH Price: $3,810.74 (+0.24%)
Gas: 8 Gwei

Contract

0x5FDCCA53617f4d2b9134B29090C87D01058e27e9
 

Overview

ETH Balance

6,398.4666807347 ETH

Eth Value

$24,382,878.66 (@ $3,810.74/ETH)

Token Holdings

Transaction Hash
Method
Block
From
To
Value
0x72ab8a789efda9b32d19645340a91e6a12897e4db759b2935601e0a3646ddfe0Deposit(pending)2024-06-03 11:18:5017 secs ago1717413530IN
Immutable X: Bridge
0.00127 ETH(Pending)(Pending)
0xcaf2b02d9412a433da6496452bc2b90e5361a1c82d92e1de746172f33644accdWithdraw(pending)2024-06-03 11:07:4711 mins ago1717412867IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x7180f4fea3e07651cbe708dd2aaf0353fac7e896d44517aa0199a49f90d0c095Withdraw And Min...(pending)2024-06-03 10:59:2219 mins ago1717412362IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x69eafb514ec361575fb440af5d95c63e4be758d07137e4d3d2af63d5fd3877baWithdraw(pending)2024-06-03 6:17:345 hrs ago1717395454IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0xd7a1c388f0f4b1fc18dc6e23b7fd67620f1be4ef1782997d4752b6e9e736051aWithdraw(pending)2024-06-02 20:00:0215 hrs ago1717358402IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x971cf0bdc81dfbe2b0c3249fe6a5b1dc17ef7c110a1dae373e7115845625a4b0Withdraw(pending)2024-06-02 16:00:4219 hrs ago1717344042IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0xb1429916f19c1a481acb5c671b19f804afc41ee1c31e5eb32d814f695587a553Withdraw(pending)2024-06-02 10:35:0424 hrs ago1717324504IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x19e0e78d0994a49c72456c6771be61bbcd3188248ef10fd8f01ba0bbdbe24924Withdraw(pending)2024-06-02 10:18:5425 hrs ago1717323534IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x0635c856d8693972a353baa9c0928f733c356608fd047f785a22434a89fb7d20Withdraw(pending)2024-06-02 9:41:3925 hrs ago1717321299IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x96238dd4215e360c3c2b24c9abc6813cec009a47f606fc4acbda9667de9104f4Withdraw(pending)2024-06-02 9:39:0825 hrs ago1717321148IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x20c2b1426c8d587159654d8ff6e6c086c04a3d427ca0f02c2061e3cf5220d22bWithdraw(pending)2024-06-02 8:57:1626 hrs ago1717318636IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x31dfcded6d2a56c9dc786ad57432aa1f865a5670172d19c5960af0c81ed7eed9Withdraw(pending)2024-06-02 7:13:0928 hrs ago1717312389IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x585788daa0830bc9afe5bbb99623cbacd3ea3152e4fbcb5ade38f430456e304aWithdraw(pending)2024-06-02 6:53:2628 hrs ago1717311206IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0xb09224f770ca79496f5f8a8ad82c0105989fffbf981ac9a950404c1f1c3cdf35Withdraw(pending)2024-06-02 6:46:0728 hrs ago1717310767IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x04faa259d8c5b9d00cdeb62d3d4e19f6fbf6f04f6778fa2ed5216290a91f3e4cWithdraw(pending)2024-06-02 6:30:4928 hrs ago1717309849IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0xf47caf77aff54c685f0884a90ac8f0c5e4308ffd4d385f385bfed380590e95c3Withdraw(pending)2024-06-02 6:29:5128 hrs ago1717309791IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0xb3c242eb09a0a20e1e2003d94a1a8df4f069adaf2b9e6900231597fbc244e419Register User(pending)2024-06-02 6:20:3028 hrs ago1717309230IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x0114a19548b11f3f6ee3fe7a4aab6be35cd333109e6cf798665dba52856860a4Get Asset Info(pending)2024-06-02 6:01:5229 hrs ago1717308112IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0xdca2c49aa5bfe6551aee6a08973db722a20d9310cd2c081393694596b2df11d7Withdraw(pending)2024-06-02 6:01:0429 hrs ago1717308064IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x2ec35663a179f32f98f23754966e4083117f5850c8f573bff0c10dbe25999c9eWithdraw(pending)2024-06-02 5:57:4129 hrs ago1717307861IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x96f2c037f9fa5761c7c06b60f1752a75edda10b71e7322e5ec7a9a6ea76cd242Withdraw(pending)2024-06-02 5:49:2929 hrs ago1717307369IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x0184e8b573e9c4c7e805641df76472e1d4f9e368ba6ef62a87f332948db94801Withdraw(pending)2024-06-02 5:45:1029 hrs ago1717307110IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0x8b40a24eb123b2ec8dd4615da117fffd92234fadc83ff51c06f1032c46c1b068Register User(pending)2024-06-02 5:31:1529 hrs ago1717306275IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
0xa5e60d0ac92e15eef14b7ffa5915237f0c4785167e31e044b0471aff1a9d131bDeposit(pending)2024-06-02 5:14:5430 hrs ago1717305294IN
Immutable X: Bridge
0.0003 ETH(Pending)(Pending)
0xdb5788ac8491b34d9812192b103eea9e9f35a0435e94e2332137c5aec74ac6b0Register User(pending)2024-06-02 5:06:4330 hrs ago1717304803IN
Immutable X: Bridge
0 ETH(Pending)(Pending)
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
200106822024-06-03 10:25:2353 mins ago1717410323
Immutable X: Bridge
0.074293 ETH
200106242024-06-03 10:13:231 hr ago1717409603
Immutable X: Bridge
0.0215 ETH
200105862024-06-03 10:05:351 hr ago1717409135
Immutable X: Bridge
0.009468 ETH
200104432024-06-03 9:36:351 hr ago1717407395
Immutable X: Bridge
0.025 ETH
200102302024-06-03 8:53:472 hrs ago1717404827
Immutable X: Bridge
0.17964674 ETH
200100602024-06-03 8:19:232 hrs ago1717402763
Immutable X: Bridge
1.57519134 ETH
200097102024-06-03 7:09:114 hrs ago1717398551
Immutable X: Bridge
0.022 ETH
200096902024-06-03 7:05:114 hrs ago1717398311
Immutable X: Bridge
0.4 ETH
200096402024-06-03 6:55:114 hrs ago1717397711
Immutable X: Bridge
0.04792 ETH
200095422024-06-03 6:35:354 hrs ago1717396535
Immutable X: Bridge
0.004811 ETH
200093842024-06-03 6:03:475 hrs ago1717394627
Immutable X: Bridge
0.04587 ETH
200092622024-06-03 5:39:235 hrs ago1717393163
Immutable X: Bridge
0.09 ETH
200089032024-06-03 4:27:236 hrs ago1717388843
Immutable X: Bridge
2 ETH
200084332024-06-03 2:52:358 hrs ago1717383155
Immutable X: Bridge
0.011547 ETH
200083942024-06-03 2:44:478 hrs ago1717382687
Immutable X: Bridge
1 ETH
200080142024-06-03 1:28:239 hrs ago1717378103
Immutable X: Bridge
0.91244725 ETH
200078792024-06-03 1:01:2310 hrs ago1717376483
Immutable X: Bridge
0.023797 ETH
200077122024-06-03 0:27:4710 hrs ago1717374467
Immutable X: Bridge
1.63 ETH
200075512024-06-02 23:54:5911 hrs ago1717372499
Immutable X: Bridge
2 ETH
200075332024-06-02 23:51:2311 hrs ago1717372283
Immutable X: Bridge
0.03247021 ETH
200074102024-06-02 23:26:2311 hrs ago1717370783
Immutable X: Bridge
0.02006 ETH
200074022024-06-02 23:24:4711 hrs ago1717370687
Immutable X: Bridge
0.009831 ETH
200071672024-06-02 22:37:3512 hrs ago1717367855
Immutable X: Bridge
0.006146 ETH
200071482024-06-02 22:33:4712 hrs ago1717367627
Immutable X: Bridge
0.07080695 ETH
200070652024-06-02 22:17:1113 hrs ago1717366631
Immutable X: Bridge
0.03003478 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Proxy

Compiler Version
v0.5.15+commit.6a57276f

Optimization Enabled:
Yes with 100 runs

Other Settings:
default evmVersion, Apache-2.0 license

Contract Source Code (Solidity Multiple files format)

File 5 of 8: Proxy.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
pragma solidity ^0.5.2;

import "ProxyGovernance.sol";
import "ProxyStorage.sol";
import "StorageSlots.sol";
import "Common.sol";

/**
  The Proxy contract implements delegation of calls to other contracts (`implementations`), with
  proper forwarding of return values and revert reasons. This pattern allows retaining the contract
  storage while replacing implementation code.

  The following operations are supported by the proxy contract:

  - :sol:func:`addImplementation`: Defines a new implementation, the data with which it should be initialized and whether this will be the last version of implementation.
  - :sol:func:`upgradeTo`: Once an implementation is added, the governor may upgrade to that implementation only after a safety time period has passed (time lock), the current implementation is not the last version and the implementation is not frozen (see :sol:mod:`FullWithdrawals`).
  - :sol:func:`removeImplementation`: Any announced implementation may be removed. Removing an implementation is especially important once it has been used for an upgrade in order to avoid an additional unwanted revert to an older version.

  The only entity allowed to perform the above operations is the proxy governor
  (see :sol:mod:`ProxyGovernance`).

  Every implementation is required to have an `initialize` function that replaces the constructor
  of a normal contract. Furthermore, the only parameter of this function is an array of bytes
  (`data`) which may be decoded arbitrarily by the `initialize` function. It is up to the
  implementation to ensure that this function cannot be run more than once if so desired.

  When an implementation is added (:sol:func:`addImplementation`) the initialization `data` is also
  announced, allowing users of the contract to analyze the full effect of an upgrade to the new
  implementation. During an :sol:func:`upgradeTo`, the `data` is provided again and only if it is
  identical to the announced `data` is the upgrade performed by pointing the proxy to the new
  implementation and calling its `initialize` function with this `data`.

  It is the responsibility of the implementation not to overwrite any storage belonging to the
  proxy (`ProxyStorage`). In addition, upon upgrade, the new implementation is assumed to be
  backward compatible with previous implementations with respect to the storage used until that
  point.
*/
contract Proxy is ProxyStorage, ProxyGovernance, StorageSlots {

    // Emitted when the active implementation is replaced.
    event Upgraded(address indexed implementation);

    // Emitted when an implementation is submitted as an upgrade candidate and a time lock
    // is activated.
    event ImplementationAdded(address indexed implementation, bytes initializer, bool finalize);

    // Emitted when an implementation is removed from the list of upgrade candidates.
    event ImplementationRemoved(address indexed implementation);

    // Emitted when the implementation is finalized.
    event FinalizedImplementation(address indexed implementation);

    using Addresses for address;

    constructor (uint256 upgradeActivationDelay)
        public
    {
        initGovernance();
        setUpgradeActivationDelay(upgradeActivationDelay);
    }

    function setUpgradeActivationDelay(uint256 delayInSeconds) private {
        bytes32 slot = UPGRADE_DELAY_SLOT;
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            sstore(slot, delayInSeconds)
        }
    }

    function getUpgradeActivationDelay() public view returns (uint256 delay) {
        bytes32 slot = UPGRADE_DELAY_SLOT;
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            delay := sload(slot)
        }
        return delay;
    }

    /*
      Returns true if the implementation is frozen.
      If the implementation was not assigned yet, returns false.
    */
    function implementationIsFrozen() private returns (bool) {
        address _implementation = implementation();

        // We can't call low level implementation before it's assigned. (i.e. ZERO).
        if (_implementation == ZERO_ADDRESS) {
            return false;
        }
        // solium-disable-next-line security/no-low-level-calls
        // NOLINTNEXTLINE: reentrancy-events low-level-calls.
        (bool success, bytes memory returndata) = _implementation.delegatecall(
            abi.encodeWithSignature("isFrozen()"));
        require(success, string(returndata));
        return abi.decode(returndata, (bool));
    }

    /*
      This method blocks delegation to initialize().
      Only upgradeTo should be able to delegate call to initialize().
    */
    function initialize(bytes calldata /*data*/)
        external pure
    {
        revert("CANNOT_CALL_INITIALIZE");
    }

    modifier notFinalized()
    {
        require(isNotFinalized(), "IMPLEMENTATION_FINALIZED");
        _;
    }

    /*
      Forbids calling the function if the implementation is frozen.
      This modifier relies on the lower level (logical contract) implementation of isFrozen().
    */
    modifier notFrozen()
    {
        require(!implementationIsFrozen(), "STATE_IS_FROZEN");
        _;
    }

    /*
      Contract's default function. Delegates execution to the implementation contract.
      It returns back to the external caller whatever the implementation delegated code returns.
    */
    function () external payable {
        address _implementation = implementation();
        require (_implementation != ZERO_ADDRESS, "MISSING_IMPLEMENTATION");

        // solium-disable-next-line security/no-inline-assembly
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize)

            // Call the implementation.
            // out and outsize are 0 for now, as we don't know the out size yet.
            let result := delegatecall(gas, _implementation, 0, calldatasize, 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize)

            switch result
            // delegatecall returns 0 on error.
            case 0 { revert(0, returndatasize) }
            default { return(0, returndatasize) }
        }
    }

    /*
      Sets the implementation address of the proxy.
    */
    function setImplementation(address newImplementation) private {
        bytes32 slot = IMPLEMENTATION_SLOT;
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            sstore(slot, newImplementation)
        }
    }

    /*
      Returns true if the contract is not in the finalized state.
    */
    function isNotFinalized() public view returns (bool notFinal) {
        bytes32 slot = FINALIZED_STATE_SLOT;
        uint256 slotValue;
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            slotValue := sload(slot)
        }
        notFinal = (slotValue == 0);
    }

    /*
      Marks the current implementation as finalized.
    */
    function setFinalizedFlag() private {
        bytes32 slot = FINALIZED_STATE_SLOT;
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            sstore(slot, 0x1)
        }
    }

    /*
      Introduce an implementation and its initialization vector,
      and start the time-lock before it can be upgraded to.
      addImplementation is not blocked when frozen or finalized.
      (upgradeTo API is blocked when finalized or frozen).
    */
    function addImplementation(address newImplementation, bytes calldata data, bool finalize)
        external onlyGovernance {
        require(newImplementation.isContract(), "ADDRESS_NOT_CONTRACT");

        bytes32 init_hash = keccak256(abi.encode(data, finalize));
        initializationHash[newImplementation] = init_hash;

        uint256 activation_time = block.timestamp + getUpgradeActivationDelay();

        // First implementation should not have time-lock.
        if (implementation() == ZERO_ADDRESS) {
            // solium-disable-next-line security/no-block-members
            activation_time = now;
        }

        enabledTime[newImplementation] = activation_time;
        emit ImplementationAdded(newImplementation, data, finalize);
    }

    /*
      Removes a candidate implementation.
      Note that it is possible to remove the current implementation. Doing so doesn't affect the
      current implementation, but rather revokes it as a future candidate.
    */
    function removeImplementation(address newImplementation)
        external onlyGovernance {

        // If we have initializer, we set the hash of it.
        uint256 activation_time = enabledTime[newImplementation];

        require(activation_time > 0, "ADDRESS_NOT_UPGRADE_CANDIDATE");

        enabledTime[newImplementation] = 0;

        initializationHash[newImplementation] = 0;
        emit ImplementationRemoved(newImplementation);
    }

    /*
      Upgrades the proxy to a new implementation, with its initialization.
      to upgrade successfully, implementation must have been added time-lock agreeably
      before, and the init vector must be identical ot the one submitted before.

      Upon assignment of new implementation address,
      its initialize will be called with the initializing vector (even if empty).
      Therefore, the implementation MUST must have such a method.

      Note - Initialization data is committed to in advance, therefore it must remain valid
      until the actual contract upgrade takes place.

      Care should be taken regarding initialization data and flow when planning the contract upgrade.

      When planning contract upgrade, special care is also needed with regard to governance
      (See comments in Governance.sol).
    */
    // NOLINTNEXTLINE: reentrancy-events timestamp.
    function upgradeTo(address newImplementation, bytes calldata data, bool finalize)
        external payable onlyGovernance notFinalized notFrozen {
        uint256 activation_time = enabledTime[newImplementation];

        require(activation_time > 0, "ADDRESS_NOT_UPGRADE_CANDIDATE");
        // solium-disable-next-line security/no-block-members
        // NOLINTNEXTLINE: timestamp.
        require(activation_time <= now, "UPGRADE_NOT_ENABLED_YET");

        bytes32 init_vector_hash = initializationHash[newImplementation];
        require(init_vector_hash == keccak256(abi.encode(data, finalize)), "CHANGED_INITIALIZER");
        setImplementation(newImplementation);

        // solium-disable-next-line security/no-low-level-calls
        // NOLINTNEXTLINE: low-level-calls.
        (bool success, bytes memory returndata) = newImplementation.delegatecall(
            abi.encodeWithSelector(this.initialize.selector, data));
        require(success, string(returndata));

        // Verify that the new implementation is not frozen post initialization.
        // NOLINTNEXTLINE: low-level-calls.
        (success, returndata) = newImplementation.delegatecall(
            abi.encodeWithSignature("isFrozen()"));
        require(success, "CALL_TO_ISFROZEN_REVERTED");
        require(!abi.decode(returndata, (bool)), "NEW_IMPLEMENTATION_FROZEN");

        if (finalize) {
            setFinalizedFlag();
            emit FinalizedImplementation(newImplementation);
        }

        emit Upgraded(newImplementation);
    }
}

File 1 of 8: Common.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
pragma solidity ^0.5.2;

/*
  Common Utility librarries.
  I. Addresses (extending address).
*/
library Addresses {
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    function performEthTransfer(address recipient, uint256 amount) internal {
        // solium-disable-next-line security/no-call-value
        (bool success, ) = recipient.call.value(amount)(""); // NOLINT: low-level-calls.
        require(success, "ETH_TRANSFER_FAILED");
    }

    /*
      Safe wrapper around ERC20/ERC721 calls.
      This is required because many deployed ERC20 contracts don't return a value.
      See https://github.com/ethereum/solidity/issues/4116.
    */
    function safeTokenContractCall(address tokenAddress, bytes memory callData) internal {
        require(isContract(tokenAddress), "BAD_TOKEN_ADDRESS");
        // NOLINTNEXTLINE: low-level-calls.
        (bool success, bytes memory returndata) = tokenAddress.call(callData);
        // solium-disable-previous-line security/no-low-level-calls
        require(success, string(returndata));

        if (returndata.length > 0) {
            require(abi.decode(returndata, (bool)), "TOKEN_OPERATION_FAILED");
        }
    }

    /*
      Similar to safeTokenContractCall, but always ignores the return value.

      Assumes some other method is used to detect the failures
      (e.g. balance is checked before and after the call).
    */
    function uncheckedTokenContractCall(address tokenAddress, bytes memory callData) internal {
        // NOLINTNEXTLINE: low-level-calls.
        (bool success, bytes memory returndata) = tokenAddress.call(callData);
        // solium-disable-previous-line security/no-low-level-calls
        require(success, string(returndata));
    }

}

/*
  II. StarkExTypes - Common data types.
*/
library StarkExTypes {

    // Structure representing a list of verifiers (validity/availability).
    // A statement is valid only if all the verifiers in the list agree on it.
    // Adding a verifier to the list is immediate - this is used for fast resolution of
    // any soundness issues.
    // Removing from the list is time-locked, to ensure that any user of the system
    // not content with the announced removal has ample time to leave the system before it is
    // removed.
    struct ApprovalChainData {
        address[] list;
        // Represents the time after which the verifier with the given address can be removed.
        // Removal of the verifier with address A is allowed only in the case the value
        // of unlockedForRemovalTime[A] != 0 and unlockedForRemovalTime[A] < (current time).
        mapping (address => uint256) unlockedForRemovalTime;
    }

}

File 2 of 8: Governance.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
pragma solidity ^0.5.2;

import "GovernanceStorage.sol";
import "MGovernance.sol";

/*
  Implements Generic Governance, applicable for both proxy and main contract, and possibly others.
  Notes:
  1. This class is virtual (getGovernanceTag is not implemented).
  2. The use of the same function names by both the Proxy and a delegated implementation
     is not possible since calling the implementation functions is done via the default function
     of the Proxy. For this reason, for example, the implementation of MainContract (MainGovernance)
     exposes mainIsGovernor, which calls the internal isGovernor method.
*/
contract Governance is GovernanceStorage, MGovernance {
    event LogNominatedGovernor(address nominatedGovernor);
    event LogNewGovernorAccepted(address acceptedGovernor);
    event LogRemovedGovernor(address removedGovernor);
    event LogNominationCancelled();

    address internal constant ZERO_ADDRESS = address(0x0);

    /*
      Returns a string which uniquely identifies the type of the governance mechanism.
    */
    function getGovernanceTag()
        internal
        view
        returns (string memory);

    /*
      Returns the GovernanceInfoStruct associated with the governance tag.
    */
    function contractGovernanceInfo()
        internal
        view
        returns (GovernanceInfoStruct storage) {
        string memory tag = getGovernanceTag();
        GovernanceInfoStruct storage gub = governanceInfo[tag];
        require(gub.initialized, "NOT_INITIALIZED");
        return gub;
    }

    /*
      Current code intentionally prevents governance re-initialization.
      This may be a problem in an upgrade situation, in a case that the upgrade-to implementation
      performs an initialization (for real) and within that calls initGovernance().

      Possible workarounds:
      1. Clearing the governance info altogether by changing the MAIN_GOVERNANCE_INFO_TAG.
         This will remove existing main governance information.
      2. Modify the require part in this function, so that it will exit quietly
         when trying to re-initialize (uncomment the lines below).
    */
    function initGovernance()
        internal
    {
        string memory tag = getGovernanceTag();
        GovernanceInfoStruct storage gub = governanceInfo[tag];
        // if (gub.initialized) {
        //     return;
        // }
        require(!gub.initialized, "ALREADY_INITIALIZED");
        gub.initialized = true;  // to ensure addGovernor() won't fail.
        // Add the initial governer.
        addGovernor(msg.sender);
    }

    modifier onlyGovernance()
    {
        require(isGovernor(msg.sender), "ONLY_GOVERNANCE");
        _;
    }

    function isGovernor(address testGovernor)
        internal view
        returns (bool addressIsGovernor){
        GovernanceInfoStruct storage gub = contractGovernanceInfo();
        addressIsGovernor = gub.effectiveGovernors[testGovernor];
    }

    /*
      Cancels the nomination of a governor candidate.
    */
    function cancelNomination() internal onlyGovernance() {
        GovernanceInfoStruct storage gub = contractGovernanceInfo();
        gub.candidateGovernor = ZERO_ADDRESS;
        emit LogNominationCancelled();
    }

    function nominateNewGovernor(address newGovernor) internal onlyGovernance() {
        GovernanceInfoStruct storage gub = contractGovernanceInfo();
        require(!isGovernor(newGovernor), "ALREADY_GOVERNOR");
        gub.candidateGovernor = newGovernor;
        emit LogNominatedGovernor(newGovernor);
    }

    /*
      The addGovernor is called in two cases:
      1. by acceptGovernance when a new governor accepts its role.
      2. by initGovernance to add the initial governor.
      The difference is that the init path skips the nominate step
      that would fail because of the onlyGovernance modifier.
    */
    function addGovernor(address newGovernor) private {
        require(!isGovernor(newGovernor), "ALREADY_GOVERNOR");
        GovernanceInfoStruct storage gub = contractGovernanceInfo();
        gub.effectiveGovernors[newGovernor] = true;
    }

    function acceptGovernance()
        internal
    {
        // The new governor was proposed as a candidate by the current governor.
        GovernanceInfoStruct storage gub = contractGovernanceInfo();
        require(msg.sender == gub.candidateGovernor, "ONLY_CANDIDATE_GOVERNOR");

        // Update state.
        addGovernor(gub.candidateGovernor);
        gub.candidateGovernor = ZERO_ADDRESS;

        // Send a notification about the change of governor.
        emit LogNewGovernorAccepted(msg.sender);
    }

    /*
      Remove a governor from office.
    */
    function removeGovernor(address governorForRemoval) internal onlyGovernance() {
        require(msg.sender != governorForRemoval, "GOVERNOR_SELF_REMOVE");
        GovernanceInfoStruct storage gub = contractGovernanceInfo();
        require (isGovernor(governorForRemoval), "NOT_GOVERNOR");
        gub.effectiveGovernors[governorForRemoval] = false;
        emit LogRemovedGovernor(governorForRemoval);
    }
}

File 3 of 8: GovernanceStorage.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
pragma solidity ^0.5.2;

/*
  Holds the governance slots for ALL entities, including proxy and the main contract.
*/
contract GovernanceStorage {

    struct GovernanceInfoStruct {
        mapping (address => bool) effectiveGovernors;
        address candidateGovernor;
        bool initialized;
    }

    // A map from a Governor tag to its own GovernanceInfoStruct.
    mapping (string => GovernanceInfoStruct) internal governanceInfo;
}

File 4 of 8: MGovernance.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
pragma solidity ^0.5.2;

contract MGovernance {
    /*
      Allows calling the function only by a Governor.
    */
    modifier onlyGovernance()
    {
        // Pure modifier declarations are not supported. Instead we provide
        // a dummy definition.
        revert("UNIMPLEMENTED");
        _;
    }
}

File 6 of 8: ProxyGovernance.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
pragma solidity ^0.5.2;

import "Governance.sol";

/**
  The Proxy contract is governed by one or more Governors of which the initial one is the
  deployer of the contract.

  A governor has the sole authority to perform the following operations:

  1. Nominate additional governors (:sol:func:`proxyNominateNewGovernor`)
  2. Remove other governors (:sol:func:`proxyRemoveGovernor`)
  3. Add new `implementations` (proxied contracts)
  4. Remove (new or old) `implementations`
  5. Update `implementations` after a timelock allows it

  Adding governors is performed in a two step procedure:

  1. First, an existing governor nominates a new governor (:sol:func:`proxyNominateNewGovernor`)
  2. Then, the new governor must accept governance to become a governor (:sol:func:`proxyAcceptGovernance`)

  This two step procedure ensures that a governor public key cannot be nominated unless there is an
  entity that has the corresponding private key. This is intended to prevent errors in the addition
  process.

  The governor private key should typically be held in a secure cold wallet or managed via a
  multi-sig contract.
*/
/*
  Implements Governance for the proxy contract.
  It is a thin wrapper to the Governance contract,
  which is needed so that it can have non-colliding function names,
  and a specific tag (key) to allow unique state storage.
*/
contract ProxyGovernance is Governance {

    // The tag is the string key that is used in the Governance storage mapping.
    string public constant PROXY_GOVERNANCE_TAG = "StarkEx.Proxy.2019.GovernorsInformation";

    function getGovernanceTag()
        internal
        view
        returns (string memory tag) {
        tag = PROXY_GOVERNANCE_TAG;
    }

    function proxyIsGovernor(address testGovernor) external view returns (bool) {
        return isGovernor(testGovernor);
    }

    function proxyNominateNewGovernor(address newGovernor) external {
        nominateNewGovernor(newGovernor);
    }

    function proxyRemoveGovernor(address governorForRemoval) external {
        removeGovernor(governorForRemoval);
    }

    function proxyAcceptGovernance()
        external
    {
        acceptGovernance();
    }

    function proxyCancelNomination() external {
        cancelNomination();
    }
}

File 7 of 8: ProxyStorage.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
pragma solidity ^0.5.2;

import "GovernanceStorage.sol";

/*
  Holds the Proxy-specific state variables.
  This contract is inherited by the GovernanceStorage (and indirectly by MainStorage)
  to prevent collision hazard.
*/
contract ProxyStorage is GovernanceStorage {

    // Stores the hash of the initialization vector of the added implementation.
    // Upon upgradeTo the implementation, the initialization vector is verified
    // to be identical to the one submitted when adding the implementation.
    mapping (address => bytes32) internal initializationHash;

    // The time after which we can switch to the implementation.
    mapping (address => uint256) internal enabledTime;

    // A central storage of the flags whether implementation has been initialized.
    // Note - it can be used flexibly enough to accommodate multiple levels of initialization
    // (i.e. using different key salting schemes for different initialization levels).
    mapping (bytes32 => bool) internal initialized;
}

File 8 of 8: StorageSlots.sol
/*
  Copyright 2019,2020 StarkWare Industries Ltd.

  Licensed under the Apache License, Version 2.0 (the "License").
  You may not use this file except in compliance with the License.
  You may obtain a copy of the License at

  https://www.starkware.co/open-source-license/

  Unless required by applicable law or agreed to in writing,
  software distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions
  and limitations under the License.
*/
pragma solidity ^0.5.2;

/**
  StorageSlots holds the arbitrary storage slots used throughout the Proxy pattern.
  Storage address slots are a mechanism to define an arbitrary location, that will not be
  overlapped by the logical contracts.
*/
contract StorageSlots {
    /*
      Returns the address of the current implementation.
    */
    // NOLINTNEXTLINE external-function.
    function implementation() public view returns(address _implementation) {
        bytes32 slot = IMPLEMENTATION_SLOT;
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            _implementation := sload(slot)
        }
    }

    // Storage slot with the address of the current implementation.
    // The address of the slot is keccak256("StarkWare2019.implemntation-slot").
    // We need to keep this variable stored outside of the commonly used space,
    // so that it's not overrun by the logical implementation (the proxied contract).
    bytes32 internal constant IMPLEMENTATION_SLOT =
    0x177667240aeeea7e35eabe3a35e18306f336219e1386f7710a6bf8783f761b24;

    // This storage slot stores the finalization flag.
    // Once the value stored in this slot is set to non-zero
    // the proxy blocks implementation upgrades.
    // The current implementation is then referred to as Finalized.
    // Web3.solidityKeccak(['string'], ["StarkWare2019.finalization-flag-slot"]).
    bytes32 internal constant FINALIZED_STATE_SLOT =
    0x7d433c6f837e8f93009937c466c82efbb5ba621fae36886d0cac433c5d0aa7d2;

    // Storage slot to hold the upgrade delay (time-lock).
    // The intention of this slot is to allow modification using an EIC.
    // Web3.solidityKeccak(['string'], ['StarkWare.Upgradibility.Delay.Slot']).
    bytes32 public constant UPGRADE_DELAY_SLOT =
    0xc21dbb3089fcb2c4f4c6a67854ab4db2b0f233ea4b21b21f912d52d18fc5db1f;
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"upgradeActivationDelay","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"FinalizedImplementation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"},{"indexed":false,"internalType":"bytes","name":"initializer","type":"bytes"},{"indexed":false,"internalType":"bool","name":"finalize","type":"bool"}],"name":"ImplementationAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"ImplementationRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"acceptedGovernor","type":"address"}],"name":"LogNewGovernorAccepted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"nominatedGovernor","type":"address"}],"name":"LogNominatedGovernor","type":"event"},{"anonymous":false,"inputs":[],"name":"LogNominationCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"removedGovernor","type":"address"}],"name":"LogRemovedGovernor","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"PROXY_GOVERNANCE_TAG","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"UPGRADE_DELAY_SLOT","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bool","name":"finalize","type":"bool"}],"name":"addImplementation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getUpgradeActivationDelay","outputs":[{"internalType":"uint256","name":"delay","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"_implementation","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"bytes","name":"","type":"bytes"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"isNotFinalized","outputs":[{"internalType":"bool","name":"notFinal","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"proxyAcceptGovernance","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"proxyCancelNomination","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"testGovernor","type":"address"}],"name":"proxyIsGovernor","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newGovernor","type":"address"}],"name":"proxyNominateNewGovernor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"governorForRemoval","type":"address"}],"name":"proxyRemoveGovernor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"removeImplementation","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"},{"internalType":"bool","name":"finalize","type":"bool"}],"name":"upgradeTo","outputs":[],"payable":true,"stateMutability":"payable","type":"function"}]

60806040523480156200001157600080fd5b50604051620019f1380380620019f1833981810160405260208110156200003757600080fd5b50516200004c6001600160e01b036200006716565b62000060816001600160e01b036200017416565b5062000362565b60606200007c6001600160e01b036200019816565b9050600080826040518082805190602001908083835b60208310620000b35780518252601f19909201916020918201910162000092565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092206001810154909350600160a01b900460ff16159150620001479050576040805162461bcd60e51b815260206004820152601360248201527f414c52454144595f494e495449414c495a454400000000000000000000000000604482015290519081900360640190fd5b60018101805460ff60a01b1916600160a01b17905562000170336001600160e01b03620001b916565b5050565b7fc21dbb3089fcb2c4f4c6a67854ab4db2b0f233ea4b21b21f912d52d18fc5db1f55565b6060604051806060016040528060278152602001620019ca60279139905090565b620001cd816001600160e01b036200025016565b1562000213576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b6000620002286001600160e01b036200028916565b6001600160a01b0390921660009081526020929092525060409020805460ff19166001179055565b600080620002666001600160e01b036200028916565b6001600160a01b0390931660009081526020939093525050604090205460ff1690565b60006060620002a06001600160e01b036200019816565b9050600080826040518082805190602001908083835b60208310620002d75780518252601f199092019160209182019101620002b6565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092206001810154909350600160a01b900460ff1691506200035c9050576040805162461bcd60e51b815260206004820152600f60248201526e1393d517d253925512505312569151608a1b604482015290519081900360640190fd5b91505090565b61165880620003726000396000f3fe6080604052600436106100bd5760003560e01c80636684b1d61161006f5780636684b1d6146103935780637147855d146103a857806372a44f07146104285780638757653f1461043d578063b449ea5d14610470578063e907fa3c146104b7578063f9bcdde4146104cc576100bd565b806312f16e6d1461014157806320cea94d1461017657806322175a321461019d578063439fab91146101d057806356f36dbf1461024b5780635c60da1b146102d55780635e3a97e714610306575b60006100c76104e1565b90506001600160a01b03811661011d576040805162461bcd60e51b815260206004820152601660248201527526a4a9a9a4a723afa4a6a82622a6a2a72a20aa24a7a760511b604482015290519081900360640190fd5b3660008037600080366000845af43d6000803e80801561013c573d6000f35b3d6000fd5b34801561014d57600080fd5b506101746004803603602081101561016457600080fd5b50356001600160a01b0316610506565b005b34801561018257600080fd5b5061018b610512565b60408051918252519081900360200190f35b3480156101a957600080fd5b50610174600480360360208110156101c057600080fd5b50356001600160a01b0316610536565b3480156101dc57600080fd5b50610174600480360360208110156101f357600080fd5b810190602081018135600160201b81111561020d57600080fd5b82018360208201111561021f57600080fd5b803590602001918460018302840111600160201b8311171561024057600080fd5b50909250905061063f565b34801561025757600080fd5b50610260610685565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561029a578181015183820152602001610282565b50505050905090810190601f1680156102c75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102e157600080fd5b506102ea6104e1565b604080516001600160a01b039092168252519081900360200190f35b34801561031257600080fd5b506101746004803603606081101561032957600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561035357600080fd5b82018360208201111561036557600080fd5b803590602001918460018302840111600160201b8311171561038657600080fd5b91935091503515156106a1565b34801561039f57600080fd5b5061017461087e565b610174600480360360608110156103be57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156103e857600080fd5b8201836020820111156103fa57600080fd5b803590602001918460018302840111600160201b8311171561041b57600080fd5b9193509150351515610888565b34801561043457600080fd5b5061018b610e9a565b34801561044957600080fd5b506101746004803603602081101561046057600080fd5b50356001600160a01b0316610ec0565b34801561047c57600080fd5b506104a36004803603602081101561049357600080fd5b50356001600160a01b0316610ec9565b604080519115158252519081900360200190f35b3480156104c357600080fd5b506104a3610eda565b3480156104d857600080fd5b50610174610f00565b7f177667240aeeea7e35eabe3a35e18306f336219e1386f7710a6bf8783f761b245490565b61050f81610f08565b50565b7fc21dbb3089fcb2c4f4c6a67854ab4db2b0f233ea4b21b21f912d52d18fc5db1f81565b61053f33611055565b610582576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6001600160a01b038116600090815260026020526040902054806105ed576040805162461bcd60e51b815260206004820152601d60248201527f414444524553535f4e4f545f555047524144455f43414e444944415445000000604482015290519081900360640190fd5b6001600160a01b03821660008181526002602090815260408083208390556001909152808220829055517faf23121e2402485071dadf421078b368d7b67e54cabcc81540563c5d6bf1a4c39190a25050565b6040805162461bcd60e51b815260206004820152601660248201527543414e4e4f545f43414c4c5f494e495449414c495a4560501b604482015290519081900360640190fd5b6040518060600160405280602781526020016115fd6027913981565b6106aa33611055565b6106ed576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6106ff846001600160a01b0316611083565b610747576040805162461bcd60e51b8152602060048201526014602482015273105111149154d4d7d393d517d0d3d395149050d560621b604482015290519081900360640190fd5b60008383836040516020018080602001831515151581526020018281038252858582818152602001925080828437600083820181905260408051601f909301601f19908116909501838103909501835293845281516020928301206001600160a01b038f168252600190925292832081905597509095506107cd9450610e9a9350505050565b4201905060006107db6104e1565b6001600160a01b031614156107ed5750425b6001600160a01b0386166000818152600260209081526040918290208490558151861515918101919091528181529081018690527f723a7080d63c133cf338e44e00705cc1b7b2bde7e88d6218a8d62710a329ce1b908790879087908060608101858580828437600083820152604051601f909101601f1916909201829003965090945050505050a2505050505050565b610886611089565b565b61089133611055565b6108d4576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6108dc610eda565b610928576040805162461bcd60e51b815260206004820152601860248201527712535413115351539510551253d397d1925390531256915160421b604482015290519081900360640190fd5b610930611150565b15610974576040805162461bcd60e51b815260206004820152600f60248201526e29aa20aa22afa4a9afa32927ad22a760891b604482015290519081900360640190fd5b6001600160a01b038416600090815260026020526040902054806109df576040805162461bcd60e51b815260206004820152601d60248201527f414444524553535f4e4f545f555047524144455f43414e444944415445000000604482015290519081900360640190fd5b42811115610a2e576040805162461bcd60e51b8152602060048201526017602482015276155411d490511157d393d517d153905093115117d65155604a1b604482015290519081900360640190fd5b6001600160a01b0385166000908152600160209081526040918290205482518515158185015291820192835260608201869052918691869186918190608001858580828437600081840152601f19601f820116905080830192505050945050505050604051602081830303815290604052805190602001208114610aef576040805162461bcd60e51b815260206004820152601360248201527221a420a723a2a22fa4a724aa24a0a624ad22a960691b604482015290519081900360640190fd5b610af8866112b3565b60006060876001600160a01b031663439fab9160e01b88886040516024018080602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180516001600160e01b03166001600160e01b0319909916989098178852915182519297909650869550935090915081905083835b60208310610ba95780518252601f199092019160209182019101610b8a565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610c09576040519150601f19603f3d011682016040523d82523d6000602084013e610c0e565b606091505b5091509150818190610c9e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c63578181015183820152602001610c4b565b50505050905090810190601f168015610c905780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060408051600481526024810182526020810180516001600160e01b03166333eeb14760e01b178152915181516001600160a01b038c169382918083835b60208310610cfb5780518252601f199092019160209182019101610cdc565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610d5b576040519150601f19603f3d011682016040523d82523d6000602084013e610d60565b606091505b50909250905081610db4576040805162461bcd60e51b815260206004820152601960248201527810d0531317d513d7d254d19493d6915397d491559154951151603a1b604482015290519081900360640190fd5b808060200190516020811015610dc957600080fd5b505115610e19576040805162461bcd60e51b81526020600482015260196024820152782722abafa4a6a82622a6a2a72a20aa24a7a72fa32927ad22a760391b604482015290519081900360640190fd5b8415610e5c57610e276112d7565b6040516001600160a01b038916907fc13b75a5f14b69ebdc2431a5d475b3bff371abe251b5064144306fbd9c4de35c90600090a25b6040516001600160a01b038916907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050505050505050565b7fc21dbb3089fcb2c4f4c6a67854ab4db2b0f233ea4b21b21f912d52d18fc5db1f545b90565b61050f816112fd565b6000610ed482611055565b92915050565b7f7d433c6f837e8f93009937c466c82efbb5ba621fae36886d0cac433c5d0aa7d2541590565b6108866113fa565b610f1133611055565b610f54576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b336001600160a01b0382161415610fa9576040805162461bcd60e51b8152602060048201526014602482015273474f5645524e4f525f53454c465f52454d4f564560601b604482015290519081900360640190fd5b6000610fb3611491565b9050610fbe82611055565b610ffe576040805162461bcd60e51b815260206004820152600c60248201526b2727aa2fa3a7ab22a92727a960a11b604482015290519081900360640190fd5b6001600160a01b03821660008181526020838152604091829020805460ff19169055815192835290517fd75f94825e770b8b512be8e74759e252ad00e102e38f50cce2f7c6f868a295999281900390910190a15050565b600080611060611491565b6001600160a01b0390931660009081526020939093525050604090205460ff1690565b3b151590565b6000611093611491565b60018101549091506001600160a01b031633146110f1576040805162461bcd60e51b815260206004820152601760248201527627a7262cafa1a0a72224a220aa22afa3a7ab22a92727a960491b604482015290519081900360640190fd5b6001810154611108906001600160a01b031661155c565b6001810180546001600160a01b03191690556040805133815290517fcfb473e6c03f9a29ddaf990e736fa3de5188a0bd85d684f5b6e164ebfbfff5d29181900360200190a150565b60008061115b6104e1565b90506001600160a01b038116611175576000915050610ebd565b60408051600481526024810182526020810180516001600160e01b03166333eeb14760e01b178152915181516000936060936001600160a01b038716939092909182918083835b602083106111db5780518252601f1990920191602091820191016111bc565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461123b576040519150601f19603f3d011682016040523d82523d6000602084013e611240565b606091505b50915091508181906112935760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610c63578181015183820152602001610c4b565b508080602001905160208110156112a957600080fd5b5051935050505090565b7f177667240aeeea7e35eabe3a35e18306f336219e1386f7710a6bf8783f761b2455565b60017f7d433c6f837e8f93009937c466c82efbb5ba621fae36886d0cac433c5d0aa7d255565b61130633611055565b611349576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6000611353611491565b905061135e82611055565b156113a3576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b6001810180546001600160a01b0384166001600160a01b0319909116811790915560408051918252517f6166272c8d3f5f579082f2827532732f97195007983bb5b83ac12c56700b01a69181900360200190a15050565b61140333611055565b611446576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6000611450611491565b6001810180546001600160a01b03191690556040519091507f7a8dc7dd7fffb43c4807438fa62729225156941e641fd877938f4edade3429f590600090a150565b6000606061149d6115dc565b9050600080826040518082805190602001908083835b602083106114d25780518252601f1990920191602091820191016114b3565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092206001810154909350600160a01b900460ff1691506115569050576040805162461bcd60e51b815260206004820152600f60248201526e1393d517d253925512505312569151608a1b604482015290519081900360640190fd5b91505090565b61156581611055565b156115aa576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b60006115b4611491565b6001600160a01b0390921660009081526020929092525060409020805460ff19166001179055565b60606040518060600160405280602781526020016115fd6027913990509056fe537461726b45782e50726f78792e323031392e476f7665726e6f7273496e666f726d6174696f6ea265627a7a7231582046f8306b207632037e95b6a1a04ace2c73d9cebf820458ab87e6f189afc0801f64736f6c634300050f0032537461726b45782e50726f78792e323031392e476f7665726e6f7273496e666f726d6174696f6e0000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106100bd5760003560e01c80636684b1d61161006f5780636684b1d6146103935780637147855d146103a857806372a44f07146104285780638757653f1461043d578063b449ea5d14610470578063e907fa3c146104b7578063f9bcdde4146104cc576100bd565b806312f16e6d1461014157806320cea94d1461017657806322175a321461019d578063439fab91146101d057806356f36dbf1461024b5780635c60da1b146102d55780635e3a97e714610306575b60006100c76104e1565b90506001600160a01b03811661011d576040805162461bcd60e51b815260206004820152601660248201527526a4a9a9a4a723afa4a6a82622a6a2a72a20aa24a7a760511b604482015290519081900360640190fd5b3660008037600080366000845af43d6000803e80801561013c573d6000f35b3d6000fd5b34801561014d57600080fd5b506101746004803603602081101561016457600080fd5b50356001600160a01b0316610506565b005b34801561018257600080fd5b5061018b610512565b60408051918252519081900360200190f35b3480156101a957600080fd5b50610174600480360360208110156101c057600080fd5b50356001600160a01b0316610536565b3480156101dc57600080fd5b50610174600480360360208110156101f357600080fd5b810190602081018135600160201b81111561020d57600080fd5b82018360208201111561021f57600080fd5b803590602001918460018302840111600160201b8311171561024057600080fd5b50909250905061063f565b34801561025757600080fd5b50610260610685565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561029a578181015183820152602001610282565b50505050905090810190601f1680156102c75780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102e157600080fd5b506102ea6104e1565b604080516001600160a01b039092168252519081900360200190f35b34801561031257600080fd5b506101746004803603606081101561032957600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561035357600080fd5b82018360208201111561036557600080fd5b803590602001918460018302840111600160201b8311171561038657600080fd5b91935091503515156106a1565b34801561039f57600080fd5b5061017461087e565b610174600480360360608110156103be57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156103e857600080fd5b8201836020820111156103fa57600080fd5b803590602001918460018302840111600160201b8311171561041b57600080fd5b9193509150351515610888565b34801561043457600080fd5b5061018b610e9a565b34801561044957600080fd5b506101746004803603602081101561046057600080fd5b50356001600160a01b0316610ec0565b34801561047c57600080fd5b506104a36004803603602081101561049357600080fd5b50356001600160a01b0316610ec9565b604080519115158252519081900360200190f35b3480156104c357600080fd5b506104a3610eda565b3480156104d857600080fd5b50610174610f00565b7f177667240aeeea7e35eabe3a35e18306f336219e1386f7710a6bf8783f761b245490565b61050f81610f08565b50565b7fc21dbb3089fcb2c4f4c6a67854ab4db2b0f233ea4b21b21f912d52d18fc5db1f81565b61053f33611055565b610582576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6001600160a01b038116600090815260026020526040902054806105ed576040805162461bcd60e51b815260206004820152601d60248201527f414444524553535f4e4f545f555047524144455f43414e444944415445000000604482015290519081900360640190fd5b6001600160a01b03821660008181526002602090815260408083208390556001909152808220829055517faf23121e2402485071dadf421078b368d7b67e54cabcc81540563c5d6bf1a4c39190a25050565b6040805162461bcd60e51b815260206004820152601660248201527543414e4e4f545f43414c4c5f494e495449414c495a4560501b604482015290519081900360640190fd5b6040518060600160405280602781526020016115fd6027913981565b6106aa33611055565b6106ed576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6106ff846001600160a01b0316611083565b610747576040805162461bcd60e51b8152602060048201526014602482015273105111149154d4d7d393d517d0d3d395149050d560621b604482015290519081900360640190fd5b60008383836040516020018080602001831515151581526020018281038252858582818152602001925080828437600083820181905260408051601f909301601f19908116909501838103909501835293845281516020928301206001600160a01b038f168252600190925292832081905597509095506107cd9450610e9a9350505050565b4201905060006107db6104e1565b6001600160a01b031614156107ed5750425b6001600160a01b0386166000818152600260209081526040918290208490558151861515918101919091528181529081018690527f723a7080d63c133cf338e44e00705cc1b7b2bde7e88d6218a8d62710a329ce1b908790879087908060608101858580828437600083820152604051601f909101601f1916909201829003965090945050505050a2505050505050565b610886611089565b565b61089133611055565b6108d4576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6108dc610eda565b610928576040805162461bcd60e51b815260206004820152601860248201527712535413115351539510551253d397d1925390531256915160421b604482015290519081900360640190fd5b610930611150565b15610974576040805162461bcd60e51b815260206004820152600f60248201526e29aa20aa22afa4a9afa32927ad22a760891b604482015290519081900360640190fd5b6001600160a01b038416600090815260026020526040902054806109df576040805162461bcd60e51b815260206004820152601d60248201527f414444524553535f4e4f545f555047524144455f43414e444944415445000000604482015290519081900360640190fd5b42811115610a2e576040805162461bcd60e51b8152602060048201526017602482015276155411d490511157d393d517d153905093115117d65155604a1b604482015290519081900360640190fd5b6001600160a01b0385166000908152600160209081526040918290205482518515158185015291820192835260608201869052918691869186918190608001858580828437600081840152601f19601f820116905080830192505050945050505050604051602081830303815290604052805190602001208114610aef576040805162461bcd60e51b815260206004820152601360248201527221a420a723a2a22fa4a724aa24a0a624ad22a960691b604482015290519081900360640190fd5b610af8866112b3565b60006060876001600160a01b031663439fab9160e01b88886040516024018080602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180516001600160e01b03166001600160e01b0319909916989098178852915182519297909650869550935090915081905083835b60208310610ba95780518252601f199092019160209182019101610b8a565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610c09576040519150601f19603f3d011682016040523d82523d6000602084013e610c0e565b606091505b5091509150818190610c9e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c63578181015183820152602001610c4b565b50505050905090810190601f168015610c905780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060408051600481526024810182526020810180516001600160e01b03166333eeb14760e01b178152915181516001600160a01b038c169382918083835b60208310610cfb5780518252601f199092019160209182019101610cdc565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610d5b576040519150601f19603f3d011682016040523d82523d6000602084013e610d60565b606091505b50909250905081610db4576040805162461bcd60e51b815260206004820152601960248201527810d0531317d513d7d254d19493d6915397d491559154951151603a1b604482015290519081900360640190fd5b808060200190516020811015610dc957600080fd5b505115610e19576040805162461bcd60e51b81526020600482015260196024820152782722abafa4a6a82622a6a2a72a20aa24a7a72fa32927ad22a760391b604482015290519081900360640190fd5b8415610e5c57610e276112d7565b6040516001600160a01b038916907fc13b75a5f14b69ebdc2431a5d475b3bff371abe251b5064144306fbd9c4de35c90600090a25b6040516001600160a01b038916907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050505050505050565b7fc21dbb3089fcb2c4f4c6a67854ab4db2b0f233ea4b21b21f912d52d18fc5db1f545b90565b61050f816112fd565b6000610ed482611055565b92915050565b7f7d433c6f837e8f93009937c466c82efbb5ba621fae36886d0cac433c5d0aa7d2541590565b6108866113fa565b610f1133611055565b610f54576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b336001600160a01b0382161415610fa9576040805162461bcd60e51b8152602060048201526014602482015273474f5645524e4f525f53454c465f52454d4f564560601b604482015290519081900360640190fd5b6000610fb3611491565b9050610fbe82611055565b610ffe576040805162461bcd60e51b815260206004820152600c60248201526b2727aa2fa3a7ab22a92727a960a11b604482015290519081900360640190fd5b6001600160a01b03821660008181526020838152604091829020805460ff19169055815192835290517fd75f94825e770b8b512be8e74759e252ad00e102e38f50cce2f7c6f868a295999281900390910190a15050565b600080611060611491565b6001600160a01b0390931660009081526020939093525050604090205460ff1690565b3b151590565b6000611093611491565b60018101549091506001600160a01b031633146110f1576040805162461bcd60e51b815260206004820152601760248201527627a7262cafa1a0a72224a220aa22afa3a7ab22a92727a960491b604482015290519081900360640190fd5b6001810154611108906001600160a01b031661155c565b6001810180546001600160a01b03191690556040805133815290517fcfb473e6c03f9a29ddaf990e736fa3de5188a0bd85d684f5b6e164ebfbfff5d29181900360200190a150565b60008061115b6104e1565b90506001600160a01b038116611175576000915050610ebd565b60408051600481526024810182526020810180516001600160e01b03166333eeb14760e01b178152915181516000936060936001600160a01b038716939092909182918083835b602083106111db5780518252601f1990920191602091820191016111bc565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461123b576040519150601f19603f3d011682016040523d82523d6000602084013e611240565b606091505b50915091508181906112935760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610c63578181015183820152602001610c4b565b508080602001905160208110156112a957600080fd5b5051935050505090565b7f177667240aeeea7e35eabe3a35e18306f336219e1386f7710a6bf8783f761b2455565b60017f7d433c6f837e8f93009937c466c82efbb5ba621fae36886d0cac433c5d0aa7d255565b61130633611055565b611349576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6000611353611491565b905061135e82611055565b156113a3576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b6001810180546001600160a01b0384166001600160a01b0319909116811790915560408051918252517f6166272c8d3f5f579082f2827532732f97195007983bb5b83ac12c56700b01a69181900360200190a15050565b61140333611055565b611446576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6000611450611491565b6001810180546001600160a01b03191690556040519091507f7a8dc7dd7fffb43c4807438fa62729225156941e641fd877938f4edade3429f590600090a150565b6000606061149d6115dc565b9050600080826040518082805190602001908083835b602083106114d25780518252601f1990920191602091820191016114b3565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092206001810154909350600160a01b900460ff1691506115569050576040805162461bcd60e51b815260206004820152600f60248201526e1393d517d253925512505312569151608a1b604482015290519081900360640190fd5b91505090565b61156581611055565b156115aa576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b60006115b4611491565b6001600160a01b0390921660009081526020929092525060409020805460ff19166001179055565b60606040518060600160405280602781526020016115fd6027913990509056fe537461726b45782e50726f78792e323031392e476f7665726e6f7273496e666f726d6174696f6ea265627a7a7231582046f8306b207632037e95b6a1a04ace2c73d9cebf820458ab87e6f189afc0801f64736f6c634300050f0032

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

0000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : upgradeActivationDelay (uint256): 0

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

2987:9169:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6058:23;6084:16;:14;:16::i;:::-;6058:42;-1:-1:-1;;;;;;6119:31:4;;6110:67;;;;;-1:-1:-1;;;6110:67:4;;;;;;;;;;;;-1:-1:-1;;;6110:67:4;;;;;;;;;;;;;;;6520:12;6517:1;6514;6501:32;6737:1;6734;6720:12;6717:1;6700:15;6695:3;6682:57;6813:14;6810:1;6807;6792:36;6849:6;6916:36;;;;6985:14;6982:1;6975:25;6916:36;6935:14;6932:1;6925:25;2570:117:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2570:117:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2570:117:5;-1:-1:-1;;;;;2570:117:5;;:::i;:::-;;2338:115:7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2338:115:7;;;:::i;:::-;;;;;;;;;;;;;;;;9279:445:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9279:445:4;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9279:445:4;-1:-1:-1;;;;;9279:445:4;;:::i;5291:120::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5291:120:4;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5291:120:4;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;5291:120:4;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;5291:120:4;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;5291:120:4;;-1:-1:-1;5291:120:4;-1:-1:-1;5291:120:4;:::i;2084:87:5:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2084:87:5;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2084:87:5;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;981:258:7;;8:9:-1;5:2;;;30:1;27;20:12;5:2;981:258:7;;;:::i;:::-;;;;-1:-1:-1;;;;;981:258:7;;;;;;;;;;;;;;8287:758:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8287:758:4;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;8287:758:4;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;8287:758:4;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;8287:758:4;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;8287:758:4;;-1:-1:-1;8287:758:4;-1:-1:-1;8287:758:4;;;;:::i;2693:89:5:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2693:89:5;;;:::i;10623:1531:4:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;10623:1531:4;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;10623:1531:4;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;10623:1531:4;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;10623:1531:4;;-1:-1:-1;10623:1531:4;-1:-1:-1;10623:1531:4;;;;:::i;4104:271::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4104:271:4;;;:::i;2451:113:5:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2451:113:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2451:113:5;-1:-1:-1;;;;;2451:113:5;;:::i;2321:124::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2321:124:5;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2321:124:5;-1:-1:-1;;;;;2321:124:5;;:::i;:::-;;;;;;;;;;;;;;;;;;7426:308:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7426:308:4;;;:::i;2788:77:5:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2788:77:5;;;:::i;981:258:7:-;1612:66;1212:11;;1179:54::o;2570:117:5:-;2646:34;2661:18;2646:14;:34::i;:::-;2570:117;:::o;2338:115:7:-;2387:66;2338:115;:::o;9279:445:4:-;3235:22:1;3246:10;3235;:22::i;:::-;3227:50;;;;;-1:-1:-1;;;3227:50:1;;;;;;;;;;;;-1:-1:-1;;;3227:50:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;9463:30:4;;9437:23;9463:30;;;:11;:30;;;;;;9512:19;9504:61;;;;;-1:-1:-1;;;9504:61:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9576:30:4;;9609:1;9576:30;;;:11;:30;;;;;;;;:34;;;9621:18;:37;;;;;;:41;;;9677:40;;;9609:1;9677:40;3287:1:1;9279:445:4;:::o;5291:120::-;5372:32;;;-1:-1:-1;;;5372:32:4;;;;;;;;;;;;-1:-1:-1;;;5372:32:4;;;;;;;;;;;;;;2084:87:5;;;;;;;;;;;;;;;;;;;:::o;8287:758:4:-;3235:22:1;3246:10;3235;:22::i;:::-;3227:50;;;;;-1:-1:-1;;;3227:50:1;;;;;;;;;;;;-1:-1:-1;;;3227:50:1;;;;;;;;;;;;;;;8427:30:4;:17;-1:-1:-1;;;;;8427:28:4;;:30::i;:::-;8419:63;;;;;-1:-1:-1;;;8419:63:4;;;;;;;;;;;;-1:-1:-1;;;8419:63:4;;;;;;;;;;;;;;;8493:17;8534:4;;8540:8;8523:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;;;8523:26:4;;;137:4:-1;117:14;;;-1:-1;;113:30;;;157:16;;;26:21;;;22:32;;;6:49;;8523:26:4;;;8513:37;;49:4:-1;8513:37:4;;;;-1:-1:-1;;;;;8560:37:4;;;;:18;:37;;;;;;:49;;;8513:37;-1:-1:-1;99:1;;-1:-1;8664:27:4;;-1:-1:-1;8664:25:4;;-1:-1:-1;;;;8664:27:4:i;:::-;8646:15;:45;;-1:-1:-1;1540:3:1;8765:16:4;:14;:16::i;:::-;-1:-1:-1;;;;;8765:32:4;;8761:150;;;-1:-1:-1;8897:3:4;8761:150;-1:-1:-1;;;;;8921:30:4;;;;;;:11;:30;;;;;;;;;:48;;;8984:54;;;;;;;;;;;;;;;;;;;;;;;9023:4;;;;9029:8;;8984:54;;;;9023:4;;;;8984:54;1:33:-1;99:1;81:16;;;74:27;8984:54:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;8984:54:4;;;;-1:-1:-1;8984:54:4;;-1:-1:-1;;;;;8984:54:4;3287:1:1;;8287:758:4;;;;:::o;2693:89:5:-;2757:18;:16;:18::i;:::-;2693:89::o;10623:1531:4:-;3235:22:1;3246:10;3235;:22::i;:::-;3227:50;;;;;-1:-1:-1;;;3227:50:1;;;;;;;;;;;;-1:-1:-1;;;3227:50:1;;;;;;;;;;;;;;;5463:16:4;:14;:16::i;:::-;5455:53;;;;;-1:-1:-1;;;5455:53:4;;;;;;;;;;;;-1:-1:-1;;;5455:53:4;;;;;;;;;;;;;;;5753:24;:22;:24::i;:::-;5752:25;5744:53;;;;;-1:-1:-1;;;5744:53:4;;;;;;;;;;;;-1:-1:-1;;;5744:53:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;10804:30:4;;10778:23;10804:30;;;:11;:30;;;;;;10853:19;10845:61;;;;;-1:-1:-1;;;10845:61:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;11043:3;11024:15;:22;;11016:58;;;;;-1:-1:-1;;;11016:58:4;;;;;;;;;;;;-1:-1:-1;;;11016:58:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;11112:37:4;;11085:24;11112:37;;;:18;:37;;;;;;;;;;11197:26;;;;;;;;;;;;;;;;;;;;;11112:37;11208:4;;;;11214:8;;11197:26;;;;11208:4;;;;11197:26;1:33:-1;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;11197::4;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;11197:26:4;;;11187:37;;;;;;11167:16;:57;11159:89;;;;;-1:-1:-1;;;11159:89:4;;;;;;;;;;;;-1:-1:-1;;;11159:89:4;;;;;;;;;;;;;;;11258:36;11276:17;11258;:36::i;:::-;11414:12;11428:23;11455:17;-1:-1:-1;;;;;11455:30:4;11522:24;;;11548:4;;11499:54;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;11499:54:4;;;137:4:-1;117:14;;;-1:-1;;113:30;;;157:16;;;26:21;;;22:32;;;6:49;;11499:54:4;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;11499:54:4;;;179:29:-1;;;;160:49;;11455:99:4;;;;11499:54;;11455:99;;-1:-1:-1;11455:99:4;;-1:-1:-1;25:18;-1:-1;11455:99:4;;-1:-1:-1;11455:99:4;;-1:-1:-1;11455:99:4;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;11455:99:4;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;11413:141:4;;;;11572:7;11588:10;11564:36;;;;;-1:-1:-1;;;11564:36:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;11564:36:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11804:37:4;;;22:32:-1;6:49;;11804:37:4;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;11760:82:4;;;;-1:-1:-1;;;;;11760:30:4;;;:82;;;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;11760:82:4;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;-1:-1;11736:106:4;;-1:-1:-1;11736:106:4;-1:-1:-1;11736:106:4;11852:45;;;;;-1:-1:-1;;;11852:45:4;;;;;;;;;;;;-1:-1:-1;;;11852:45:4;;;;;;;;;;;;;;;11927:10;11916:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11916:30:4;11915:31;11907:69;;;;;-1:-1:-1;;;11907:69:4;;;;;;;;;;;;-1:-1:-1;;;11907:69:4;;;;;;;;;;;;;;;11991:8;11987:118;;;12015:18;:16;:18::i;:::-;12052:42;;-1:-1:-1;;;;;12052:42:4;;;;;;;;11987:118;12120:27;;-1:-1:-1;;;;;12120:27:4;;;;;;;;5807:1;;;;10623:1531;;;;:::o;4104:271::-;2387:66:7;4326:11:4;4104:271;;:::o;2451:113:5:-;2525:32;2545:11;2525:19;:32::i;2321:124::-;2391:4;2414:24;2425:12;2414:10;:24::i;:::-;2407:31;2321:124;-1:-1:-1;;2321:124:5:o;7426:308:4:-;2053:66:7;7670:11:4;7712:14;;7426:308::o;2788:77:5:-;2840:18;:16;:18::i;5286:408:1:-;3235:22;3246:10;3235;:22::i;:::-;3227:50;;;;;-1:-1:-1;;;3227:50:1;;;;;;;;;;;;-1:-1:-1;;;3227:50:1;;;;;;;;;;;;;;;5382:10;-1:-1:-1;;;;;5382:32:1;;;;5374:65;;;;;-1:-1:-1;;;5374:65:1;;;;;;;;;;;;-1:-1:-1;;;5374:65:1;;;;;;;;;;;;;;;5449:32;5484:24;:22;:24::i;:::-;5449:59;;5527:30;5538:18;5527:10;:30::i;:::-;5518:56;;;;;-1:-1:-1;;;5518:56:1;;;;;;;;;;;;-1:-1:-1;;;5518:56:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;5584:42:1;;5629:5;5584:42;;;;;;;;;;;;:50;;-1:-1:-1;;5584:50:1;;;5649:38;;;;;;;;;;;;;;;;;3287:1;5286:408;:::o;3301:246::-;3382:22;3415:32;3450:24;:22;:24::i;:::-;-1:-1:-1;;;;;3504:36:1;;;:22;:36;;;;;;;;-1:-1:-1;;3504:36:1;;;;;;;3301:246::o;716:254:0:-;909:20;955:8;;;716:254::o;4715:514:1:-;4855:32;4890:24;:22;:24::i;:::-;4946:21;;;;;;-1:-1:-1;;;;;;4946:21:1;4932:10;:35;4924:71;;;;;-1:-1:-1;;;4924:71:1;;;;;;;;;;;;-1:-1:-1;;;4924:71:1;;;;;;;;;;;;;;;5043:21;;;;5031:34;;-1:-1:-1;;;;;5043:21:1;5031:11;:34::i;:::-;5075:21;;;:36;;-1:-1:-1;;;;;;5075:36:1;;;5188:34;;;5211:10;5188:34;;;;;;;;;;;;;4715:514;:::o;4512:636:4:-;4563:4;4579:23;4605:16;:14;:16::i;:::-;4579:42;-1:-1:-1;;;;;;4721:31:4;;4717:74;;4775:5;4768:12;;;;;4717:74;5010:37;;;22:32:-1;6:49;;5010:37:4;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;4968:80:4;;;;4927:12;;4941:23;;-1:-1:-1;;;;;4968:28:4;;;5010:37;;4968:80;;;;;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;4968:80:4;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;4926:122:4;;;;5066:7;5082:10;5058:36;;;;;-1:-1:-1;;;5058:36:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;5058:36:4;;5122:10;5111:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5111:30:4;;-1:-1:-1;;;;4512:636:4;:::o;7090:250::-;1612:66:7;7293:31:4;7279:55::o;7807:211::-;7998:3;2053:66:7;7985:17:4;7971:41::o;3842:308:1:-;3235:22;3246:10;3235;:22::i;:::-;3227:50;;;;;-1:-1:-1;;;3227:50:1;;;;;;;;;;;;-1:-1:-1;;;3227:50:1;;;;;;;;;;;;;;;3928:32;3963:24;:22;:24::i;:::-;3928:59;;4006:23;4017:11;4006:10;:23::i;:::-;4005:24;3997:53;;;;;-1:-1:-1;;;3997:53:1;;;;;;;;;;;;-1:-1:-1;;;3997:53:1;;;;;;;;;;;;;;;4060:21;;;:35;;-1:-1:-1;;;;;4060:35:1;;-1:-1:-1;;;;;;4060:35:1;;;;;;;;4110:33;;;;;;;;;;;;;;;;3287:1;3842:308;:::o;3621:215::-;3235:22;3246:10;3235;:22::i;:::-;3227:50;;;;;-1:-1:-1;;;3227:50:1;;;;;;;;;;;;-1:-1:-1;;;3227:50:1;;;;;;;;;;;;;;;3685:32;3720:24;:22;:24::i;:::-;3754:21;;;:36;;-1:-1:-1;;;;;;3754:36:1;;;3805:24;;3685:59;;-1:-1:-1;3805:24:1;;1540:3;;3805:24;3287:1;3621:215::o;1837:303::-;1918:28;1958:17;1978:18;:16;:18::i;:::-;1958:38;;2006:32;2041:14;2056:3;2041:19;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;2041:19:1;;;;;-1:-1:-1;2041:19:1;;;;;;;;;;274:1:-1;2078:15:1;;;2041:19;;-1:-1:-1;;;;2078:15:1;;;;;-1:-1:-1;2070:43:1;;-1:-1:-1;2070:43:1;;;;-1:-1:-1;;;2070:43:1;;;;;;;;;;;;-1:-1:-1;;;2070:43:1;;;;;;;;;;;;;;;2130:3;-1:-1:-1;;1837:303:1;:::o;4468:241::-;4537:23;4548:11;4537:10;:23::i;:::-;4536:24;4528:53;;;;;-1:-1:-1;;;4528:53:1;;;;;;;;;;;;-1:-1:-1;;;4528:53:1;;;;;;;;;;;;;;;4591:32;4626:24;:22;:24::i;:::-;-1:-1:-1;;;;;4660:35:1;;;:22;:35;;;;;;;;-1:-1:-1;4660:35:1;;;:42;;-1:-1:-1;;4660:42:1;4698:4;4660:42;;;4468:241::o;2178:137:5:-;2253:17;2288:20;;;;;;;;;;;;;;;;;2282:26;;2178:137;:::o

Swarm Source

bzzr://46f8306b207632037e95b6a1a04ace2c73d9cebf820458ab87e6f189afc0801f

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
Chain Token Portfolio % Price Amount Value
ETH76.08%$2.2169,068,483.5557$152,641,348.66
ETH
Ether (ETH)
12.15%$3,810.746,398.4667$24,382,878.66
ETH7.17%$0.00055425,983,416,365.1778$14,390,655.32
ETH1.91%$0.24608615,600,971.3576$3,839,180.64
ETH1.39%$0.17546515,929,179.0242$2,795,013.4
ETH0.83%$0.1930678,661,075.7422$1,672,167.91
ETH0.42%$0.999833844,919.4131$844,778.31
ETH0.03%$0.00261422,000,216$57,510.98
ETH<0.01%$88.27180.8275$15,961.64
ETH<0.01%$0.000012250,615,279.9957$2,889.55
ETH<0.01%$1.31558.1074$731.12
ETH<0.01%$0.99944439.5553$39.53
ETH<0.01%$0.70653349.0733$34.67
ETH<0.01%$0.80364641.9854$33.74
ETH<0.01%$0.0012381,000$1.24
ETH<0.01%$0.2398021$0.2398
ETH<0.01%$0.001463100$0.1462
BSC<0.01%$3,811.190.0371$141.38
BSC<0.01%$628.990.0917$57.69
BSC<0.01%$0.000908810.301$0.7356
OP<0.01%$3,810.430.0014$5.33
BASE<0.01%$3,810.20.00043106$1.64
CELO<0.01%$0.8256611.5416$1.27
MATIC<0.01%$0.0001052,375$0.2493
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.