ETH Price: $3,278.82 (-1.84%)

Contract

0x5d22045DAcEAB03B158031eCB7D9d06Fad24609b
 

Overview

ETH Balance

1,601.39741753 ETH

Eth Value

$5,250,697.96 (@ $3,278.82/ETH)

Token Holdings

Transaction Hash
Method
Block
From
To
0xfc394b686f6b6ef534e199fb75a2310f647d07bec8983ebb0e10876d0897a4a9 Deposit(pending)2024-12-23 6:36:0416 mins ago1734935764IN
Rhino.fi: Bridge
0.00585988 ETH(Pending)(Pending)
0x8ada32947b646e668158ee52545017190eadf3907073d28328a8b58ccead386b Deposit(pending)2024-12-22 21:48:229 hrs ago1734904102IN
Rhino.fi: Bridge
0.005 ETH(Pending)(Pending)
0xbdede62ea3710ab500b142c4d6b018a50f25d96cbf1ce754526a5317d938cbf7 Withdraw(pending)2024-12-22 20:22:0410 hrs ago1734898924IN
Rhino.fi: Bridge
0 ETH(Pending)(Pending)
0x47705e07f28953231e6ba6f835253112c9285fb937946194ae8a73e0e5e52e02 Withdraw(pending)2024-12-22 14:43:4316 hrs ago1734878623IN
Rhino.fi: Bridge
0 ETH(Pending)(Pending)
0xa6a0bf5afe48cd475dd6299cc1d34d467b57245b0a36add557e2beb840e4f440 Deposit(pending)2024-12-22 10:20:1520 hrs ago1734862815IN
Rhino.fi: Bridge
0.00272521 ETH(Pending)(Pending)
0x56dc4b12b5303f0a70a5bfbab1a6c1bc5cdb24124e42c68673056a12982235d1 Deposit(pending)2024-12-22 8:27:1922 hrs ago1734856039IN
Rhino.fi: Bridge
0.00998275 ETH(Pending)(Pending)
0x949d88322b26e20a4098191e123b1fcfa60e1c8aac8382fe8b51b19243ace00f Deposit(pending)2024-12-22 4:27:1726 hrs ago1734841637IN
Rhino.fi: Bridge
0.00172706 ETH(Pending)(Pending)
0xd90ea9e9b9f08f52803281d4097a05950c93dc7dbf0bcf84da413450fc55f150 Deposit(pending)2024-12-15 14:43:067 days ago1734273786IN
Rhino.fi: Bridge
0.00157855 ETH(Pending)(Pending)
Deposit214635122024-12-23 6:50:591 min ago1734936659IN
Rhino.fi: Bridge
0 ETH0.000686936.19047439
Deposit214635022024-12-23 6:48:593 mins ago1734936539IN
Rhino.fi: Bridge
0.04 ETH0.000376545
Deposit214634952024-12-23 6:47:355 mins ago1734936455IN
Rhino.fi: Bridge
0.0014 ETH0.000501876.66421511
Deposit214633882024-12-23 6:25:5926 mins ago1734935159IN
Rhino.fi: Bridge
0.00190149 ETH0.000470366.24577831
Deposit214632272024-12-23 5:53:4758 mins ago1734933227IN
Rhino.fi: Bridge
0.00219871 ETH0.000302294.01406215
Deposit214631942024-12-23 5:47:111 hr ago1734932831IN
Rhino.fi: Bridge
0.033 ETH0.000474126.29574618
Deposit214631942024-12-23 5:47:111 hr ago1734932831IN
Rhino.fi: Bridge
0.0025 ETH0.000474126.29574618
Deposit214631462024-12-23 5:37:351 hr ago1734932255IN
Rhino.fi: Bridge
0.029 ETH0.000534417.09738209
Deposit214631372024-12-23 5:35:471 hr ago1734932147IN
Rhino.fi: Bridge
0.2 ETH0.000301234
Deposit214631212024-12-23 5:32:351 hr ago1734931955IN
Rhino.fi: Bridge
0.034 ETH0.000372354.94438083
Deposit214631072024-12-23 5:29:471 hr ago1734931787IN
Rhino.fi: Bridge
2 ETH0.000355074.71496062
Deposit214630002024-12-23 5:07:591 hr ago1734930479IN
Rhino.fi: Bridge
0.011 ETH0.000499836.63818875
Deposit214629252024-12-23 4:52:591 hr ago1734929579IN
Rhino.fi: Bridge
0 ETH0.000786026.81868882
Deposit214629202024-12-23 4:51:592 hrs ago1734929519IN
Rhino.fi: Bridge
0 ETH0.000483214.3551221
Deposit214629162024-12-23 4:51:112 hrs ago1734929471IN
Rhino.fi: Bridge
0.37 ETH0.000511466.79268444
Deposit214629002024-12-23 4:47:592 hrs ago1734929279IN
Rhino.fi: Bridge
1.8 ETH0.000386085.12674252
Deposit214628712024-12-23 4:42:112 hrs ago1734928931IN
Rhino.fi: Bridge
5.85 ETH0.000535257.1074179
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
214608792024-12-22 22:00:238 hrs ago1734904823
Rhino.fi: Bridge
99.88486356 ETH
214576502024-12-22 11:10:2319 hrs ago1734865823
Rhino.fi: Bridge
184.76177856 ETH
214543162024-12-22 0:00:2330 hrs ago1734825623
Rhino.fi: Bridge
130.75819385 ETH
214511422024-12-21 13:20:2341 hrs ago1734787223
Rhino.fi: Bridge
63.01389468 ETH
214452242024-12-20 17:28:352 days ago1734715715
Rhino.fi: Bridge
0.0018613 ETH
214429582024-12-20 9:52:592 days ago1734688379
Rhino.fi: Bridge
0.3 ETH
214414552024-12-20 4:50:233 days ago1734670223
Rhino.fi: Bridge
127.55702961 ETH
214386162024-12-19 19:20:233 days ago1734636023
Rhino.fi: Bridge
94.58766679 ETH
214348402024-12-19 6:40:354 days ago1734590435
Rhino.fi: Bridge
81.53601212 ETH
214319092024-12-18 20:50:234 days ago1734555023
Rhino.fi: Bridge
134.4386608 ETH
214284332024-12-18 9:10:234 days ago1734513023
Rhino.fi: Bridge
106.6639565 ETH
214188792024-12-17 1:10:236 days ago1734397823
Rhino.fi: Bridge
170.04882877 ETH
214152382024-12-16 13:00:236 days ago1734354023
Rhino.fi: Bridge
135.71940117 ETH
214120552024-12-16 2:20:237 days ago1734315623
Rhino.fi: Bridge
67.83343895 ETH
214016562024-12-14 15:30:238 days ago1734190223
Rhino.fi: Bridge
93.63507908 ETH
214013642024-12-14 14:30:598 days ago1734186659
Rhino.fi: Bridge
0.00482806 ETH
213983772024-12-14 4:30:239 days ago1734150623
Rhino.fi: Bridge
64.24547119 ETH
213916612024-12-13 6:00:2310 days ago1734069623
Rhino.fi: Bridge
84.58563474 ETH
213885272024-12-12 19:30:2310 days ago1734031823
Rhino.fi: Bridge
51.99952132 ETH
213860872024-12-12 11:20:2310 days ago1734002423
Rhino.fi: Bridge
59.92361148 ETH
213827042024-12-12 0:00:2311 days ago1733961623
Rhino.fi: Bridge
57.22906299 ETH
213684432024-12-10 0:10:4713 days ago1733789447
Rhino.fi: Bridge
91.21685947 ETH
213650082024-12-09 12:40:3513 days ago1733748035
Rhino.fi: Bridge
59.08750183 ETH
213616182024-12-09 1:20:3514 days ago1733707235
Rhino.fi: Bridge
86.76954466 ETH
213580832024-12-08 13:30:4714 days ago1733664647
Rhino.fi: Bridge
65.15397231 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 1 of 7: 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 "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 {

    // 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);

    // 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 implementaiton (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;
    uint256 public constant UPGRADE_ACTIVATION_DELAY = 28 days;

    using Addresses for address;

    constructor ( )
        public
    {
        initGovernance();
    }

    /*
      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
        (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() == false, "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) }
        }
    }

    /*
      Returns the address of the current implementation.
    */
    function implementation() public view returns (address _implementation) {
        bytes32 slot = IMPLEMENTATION_SLOT;
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            _implementation := sload(slot)
        }
    }

    /*
      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;

        // solium-disable-next-line security/no-block-members
        uint256 activation_time = now + UPGRADE_ACTIVATION_DELAY;

        // 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 inititalizing vector (even if empty).
      Therefore, the implementatin MUST must have such a method.
    */
    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
        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
        (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.
        (success, returndata) = newImplementation.delegatecall(
            abi.encodeWithSignature("isFrozen()"));
        require(success, "CALL_TO_ISFROZEN_REVERTED");
        require(abi.decode(returndata, (bool)) == false, "NEW_IMPLEMENTATION_FROZEN");

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

        emit Upgraded(newImplementation);
    }
}

File 2 of 7: 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 libraries.
  1. 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;
    }
}

File 3 of 7: 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 == true, "NOT_INITIALIZED");
        return gub;
    }

    function initGovernance()
        internal
    {
        string memory tag = getGovernanceTag();
        GovernanceInfoStruct storage gub = governanceInfo[tag];
        require(gub.initialized == false, "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 condidate.
    */
    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) == false, "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) == false, "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 4 of 7: 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 5 of 7: 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 7: 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 7: 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 implementaion.
    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 accomodate multiple level of initialization
    // (i.e. using different key salting schemes for different initialization levels).
    mapping (bytes32 => bool) internal initialized;
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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_ACTIVATION_DELAY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"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"}]

60806040523480156200001157600080fd5b50620000256001600160e01b036200002b16565b62000307565b6060620000406001600160e01b036200013816565b9050600080826040518082805190602001908083835b60208310620000775780518252601f19909201916020918201910162000056565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092206001810154909350600160a01b900460ff161591506200010b9050576040805162461bcd60e51b815260206004820152601360248201527f414c52454144595f494e495449414c495a454400000000000000000000000000604482015290519081900360640190fd5b60018101805460ff60a01b1916600160a01b17905562000134336001600160e01b036200015916565b5050565b60606040518060600160405280602781526020016200190f60279139905090565b6200016d816001600160e01b03620001f016565b15620001b3576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b6000620001c86001600160e01b036200022916565b6001600160a01b0390921660009081526020929092525060409020805460ff19166001179055565b600080620002066001600160e01b036200022916565b6001600160a01b0390931660009081526020939093525050604090205460ff1690565b60006060620002406001600160e01b036200013816565b9050600080826040518082805190602001908083835b60208310620002775780518252601f19909201916020918201910162000256565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220600180820154919450600160a01b90910460ff161515149150620003019050576040805162461bcd60e51b815260206004820152600f60248201526e1393d517d253925512505312569151608a1b604482015290519081900360640190fd5b91505090565b6115f880620003176000396000f3fe6080604052600436106100b25760003560e01c80636684b1d61161006f5780636684b1d6146103615780637147855d146103765780638757653f146103f6578063b449ea5d14610429578063e907fa3c14610470578063f7b456d014610485578063f9bcdde4146104ac576100b2565b806312f16e6d1461013657806322175a321461016b578063439fab911461019e57806356f36dbf146102195780635c60da1b146102a35780635e3a97e7146102d4575b60006100bc6104c1565b90506001600160a01b038116610112576040805162461bcd60e51b815260206004820152601660248201527526a4a9a9a4a723afa4a6a82622a6a2a72a20aa24a7a760511b604482015290519081900360640190fd5b3660008037600080366000845af43d6000803e808015610131573d6000f35b3d6000fd5b34801561014257600080fd5b506101696004803603602081101561015957600080fd5b50356001600160a01b03166104e6565b005b34801561017757600080fd5b506101696004803603602081101561018e57600080fd5b50356001600160a01b03166104f2565b3480156101aa57600080fd5b50610169600480360360208110156101c157600080fd5b810190602081018135600160201b8111156101db57600080fd5b8201836020820111156101ed57600080fd5b803590602001918460018302840111600160201b8311171561020e57600080fd5b5090925090506105fb565b34801561022557600080fd5b5061022e610641565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610268578181015183820152602001610250565b50505050905090810190601f1680156102955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102af57600080fd5b506102b86104c1565b604080516001600160a01b039092168252519081900360200190f35b3480156102e057600080fd5b50610169600480360360608110156102f757600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561032157600080fd5b82018360208201111561033357600080fd5b803590602001918460018302840111600160201b8311171561035457600080fd5b919350915035151561065d565b34801561036d57600080fd5b50610169610832565b6101696004803603606081101561038c57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156103b657600080fd5b8201836020820111156103c857600080fd5b803590602001918460018302840111600160201b831117156103e957600080fd5b919350915035151561083c565b34801561040257600080fd5b506101696004803603602081101561041957600080fd5b50356001600160a01b0316610e53565b34801561043557600080fd5b5061045c6004803603602081101561044c57600080fd5b50356001600160a01b0316610e5c565b604080519115158252519081900360200190f35b34801561047c57600080fd5b5061045c610e6d565b34801561049157600080fd5b5061049a610e93565b60408051918252519081900360200190f35b3480156104b857600080fd5b50610169610e9a565b7f177667240aeeea7e35eabe3a35e18306f336219e1386f7710a6bf8783f761b245490565b6104ef81610ea2565b50565b6104fb33610fef565b61053e576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6001600160a01b038116600090815260026020526040902054806105a9576040805162461bcd60e51b815260206004820152601d60248201527f414444524553535f4e4f545f555047524144455f43414e444944415445000000604482015290519081900360640190fd5b6001600160a01b03821660008181526002602090815260408083208390556001909152808220829055517faf23121e2402485071dadf421078b368d7b67e54cabcc81540563c5d6bf1a4c39190a25050565b6040805162461bcd60e51b815260206004820152601660248201527543414e4e4f545f43414c4c5f494e495449414c495a4560501b604482015290519081900360640190fd5b60405180606001604052806027815260200161159d6027913981565b61066633610fef565b6106a9576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6106bb846001600160a01b031661101d565b610703576040805162461bcd60e51b8152602060048201526014602482015273105111149154d4d7d393d517d0d3d395149050d560621b604482015290519081900360640190fd5b60008383836040516020018080602001831515151581526020018281038252858582818152602001925080828437600083820181905260408051601f909301601f19908116909501838103909501835293845281516020928301206001600160a01b038f1682526001909252928320819055975050426224ea00019550935061078f92506104c1915050565b6001600160a01b031614156107a15750425b6001600160a01b0386166000818152600260209081526040918290208490558151861515918101919091528181529081018690527f723a7080d63c133cf338e44e00705cc1b7b2bde7e88d6218a8d62710a329ce1b908790879087908060608101858580828437600083820152604051601f909101601f1916909201829003965090945050505050a2505050505050565b61083a611023565b565b61084533610fef565b610888576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b610890610e6d565b6108dc576040805162461bcd60e51b815260206004820152601860248201527712535413115351539510551253d397d1925390531256915160421b604482015290519081900360640190fd5b6108e46110ea565b15610928576040805162461bcd60e51b815260206004820152600f60248201526e29aa20aa22afa4a9afa32927ad22a760891b604482015290519081900360640190fd5b6001600160a01b03841660009081526002602052604090205480610993576040805162461bcd60e51b815260206004820152601d60248201527f414444524553535f4e4f545f555047524144455f43414e444944415445000000604482015290519081900360640190fd5b428111156109e2576040805162461bcd60e51b8152602060048201526017602482015276155411d490511157d393d517d153905093115117d65155604a1b604482015290519081900360640190fd5b6001600160a01b0385166000908152600160209081526040918290205482518515158185015291820192835260608201869052918691869186918190608001858580828437600081840152601f19601f820116905080830192505050945050505050604051602081830303815290604052805190602001208114610aa3576040805162461bcd60e51b815260206004820152601360248201527221a420a723a2a22fa4a724aa24a0a624ad22a960691b604482015290519081900360640190fd5b610aac8661124e565b60006060876001600160a01b031663439fab9160e01b88886040516024018080602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180516001600160e01b03166001600160e01b0319909916989098178852915182519297909650869550935090915081905083835b60208310610b5d5780518252601f199092019160209182019101610b3e565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610bbd576040519150601f19603f3d011682016040523d82523d6000602084013e610bc2565b606091505b5091509150818190610c525760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c17578181015183820152602001610bff565b50505050905090810190601f168015610c445780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060408051600481526024810182526020810180516001600160e01b03166333eeb14760e01b178152915181516001600160a01b038c169382918083835b60208310610caf5780518252601f199092019160209182019101610c90565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610d0f576040519150601f19603f3d011682016040523d82523d6000602084013e610d14565b606091505b50909250905081610d68576040805162461bcd60e51b815260206004820152601960248201527810d0531317d513d7d254d19493d6915397d491559154951151603a1b604482015290519081900360640190fd5b808060200190516020811015610d7d57600080fd5b505115610dcd576040805162461bcd60e51b81526020600482015260196024820152782722abafa4a6a82622a6a2a72a20aa24a7a72fa32927ad22a760391b604482015290519081900360640190fd5b60018515151415610e1557610de0611272565b6040516001600160a01b038916907fc13b75a5f14b69ebdc2431a5d475b3bff371abe251b5064144306fbd9c4de35c90600090a25b6040516001600160a01b038916907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050505050505050565b6104ef81611298565b6000610e6782610fef565b92915050565b7f7d433c6f837e8f93009937c466c82efbb5ba621fae36886d0cac433c5d0aa7d2541590565b6224ea0081565b61083a611395565b610eab33610fef565b610eee576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b336001600160a01b0382161415610f43576040805162461bcd60e51b8152602060048201526014602482015273474f5645524e4f525f53454c465f52454d4f564560601b604482015290519081900360640190fd5b6000610f4d61142c565b9050610f5882610fef565b610f98576040805162461bcd60e51b815260206004820152600c60248201526b2727aa2fa3a7ab22a92727a960a11b604482015290519081900360640190fd5b6001600160a01b03821660008181526020838152604091829020805460ff19169055815192835290517fd75f94825e770b8b512be8e74759e252ad00e102e38f50cce2f7c6f868a295999281900390910190a15050565b600080610ffa61142c565b6001600160a01b0390931660009081526020939093525050604090205460ff1690565b3b151590565b600061102d61142c565b60018101549091506001600160a01b0316331461108b576040805162461bcd60e51b815260206004820152601760248201527627a7262cafa1a0a72224a220aa22afa3a7ab22a92727a960491b604482015290519081900360640190fd5b60018101546110a2906001600160a01b03166114fc565b6001810180546001600160a01b03191690556040805133815290517fcfb473e6c03f9a29ddaf990e736fa3de5188a0bd85d684f5b6e164ebfbfff5d29181900360200190a150565b6000806110f56104c1565b90506001600160a01b03811661110f57600091505061124b565b60408051600481526024810182526020810180516001600160e01b03166333eeb14760e01b178152915181516000936060936001600160a01b038716939092909182918083835b602083106111755780518252601f199092019160209182019101611156565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146111d5576040519150601f19603f3d011682016040523d82523d6000602084013e6111da565b606091505b509150915081819061122d5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610c17578181015183820152602001610bff565b5080806020019051602081101561124357600080fd5b505193505050505b90565b7f177667240aeeea7e35eabe3a35e18306f336219e1386f7710a6bf8783f761b2455565b60017f7d433c6f837e8f93009937c466c82efbb5ba621fae36886d0cac433c5d0aa7d255565b6112a133610fef565b6112e4576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b60006112ee61142c565b90506112f982610fef565b1561133e576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b6001810180546001600160a01b0384166001600160a01b0319909116811790915560408051918252517f6166272c8d3f5f579082f2827532732f97195007983bb5b83ac12c56700b01a69181900360200190a15050565b61139e33610fef565b6113e1576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b60006113eb61142c565b6001810180546001600160a01b03191690556040519091507f7a8dc7dd7fffb43c4807438fa62729225156941e641fd877938f4edade3429f590600090a150565b6000606061143861157c565b9050600080826040518082805190602001908083835b6020831061146d5780518252601f19909201916020918201910161144e565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220600180820154919450600160a01b90910460ff1615151491506114f69050576040805162461bcd60e51b815260206004820152600f60248201526e1393d517d253925512505312569151608a1b604482015290519081900360640190fd5b91505090565b61150581610fef565b1561154a576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b600061155461142c565b6001600160a01b0390921660009081526020929092525060409020805460ff19166001179055565b606060405180606001604052806027815260200161159d6027913990509056fe537461726b45782e50726f78792e323031392e476f7665726e6f7273496e666f726d6174696f6ea265627a7a723158208b1d55c2ed53dac498876abf4d45681898c9ff1fbd88f8103d56de2194a879ab64736f6c634300050f0032537461726b45782e50726f78792e323031392e476f7665726e6f7273496e666f726d6174696f6e

Deployed Bytecode

0x6080604052600436106100b25760003560e01c80636684b1d61161006f5780636684b1d6146103615780637147855d146103765780638757653f146103f6578063b449ea5d14610429578063e907fa3c14610470578063f7b456d014610485578063f9bcdde4146104ac576100b2565b806312f16e6d1461013657806322175a321461016b578063439fab911461019e57806356f36dbf146102195780635c60da1b146102a35780635e3a97e7146102d4575b60006100bc6104c1565b90506001600160a01b038116610112576040805162461bcd60e51b815260206004820152601660248201527526a4a9a9a4a723afa4a6a82622a6a2a72a20aa24a7a760511b604482015290519081900360640190fd5b3660008037600080366000845af43d6000803e808015610131573d6000f35b3d6000fd5b34801561014257600080fd5b506101696004803603602081101561015957600080fd5b50356001600160a01b03166104e6565b005b34801561017757600080fd5b506101696004803603602081101561018e57600080fd5b50356001600160a01b03166104f2565b3480156101aa57600080fd5b50610169600480360360208110156101c157600080fd5b810190602081018135600160201b8111156101db57600080fd5b8201836020820111156101ed57600080fd5b803590602001918460018302840111600160201b8311171561020e57600080fd5b5090925090506105fb565b34801561022557600080fd5b5061022e610641565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610268578181015183820152602001610250565b50505050905090810190601f1680156102955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102af57600080fd5b506102b86104c1565b604080516001600160a01b039092168252519081900360200190f35b3480156102e057600080fd5b50610169600480360360608110156102f757600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561032157600080fd5b82018360208201111561033357600080fd5b803590602001918460018302840111600160201b8311171561035457600080fd5b919350915035151561065d565b34801561036d57600080fd5b50610169610832565b6101696004803603606081101561038c57600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156103b657600080fd5b8201836020820111156103c857600080fd5b803590602001918460018302840111600160201b831117156103e957600080fd5b919350915035151561083c565b34801561040257600080fd5b506101696004803603602081101561041957600080fd5b50356001600160a01b0316610e53565b34801561043557600080fd5b5061045c6004803603602081101561044c57600080fd5b50356001600160a01b0316610e5c565b604080519115158252519081900360200190f35b34801561047c57600080fd5b5061045c610e6d565b34801561049157600080fd5b5061049a610e93565b60408051918252519081900360200190f35b3480156104b857600080fd5b50610169610e9a565b7f177667240aeeea7e35eabe3a35e18306f336219e1386f7710a6bf8783f761b245490565b6104ef81610ea2565b50565b6104fb33610fef565b61053e576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6001600160a01b038116600090815260026020526040902054806105a9576040805162461bcd60e51b815260206004820152601d60248201527f414444524553535f4e4f545f555047524144455f43414e444944415445000000604482015290519081900360640190fd5b6001600160a01b03821660008181526002602090815260408083208390556001909152808220829055517faf23121e2402485071dadf421078b368d7b67e54cabcc81540563c5d6bf1a4c39190a25050565b6040805162461bcd60e51b815260206004820152601660248201527543414e4e4f545f43414c4c5f494e495449414c495a4560501b604482015290519081900360640190fd5b60405180606001604052806027815260200161159d6027913981565b61066633610fef565b6106a9576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b6106bb846001600160a01b031661101d565b610703576040805162461bcd60e51b8152602060048201526014602482015273105111149154d4d7d393d517d0d3d395149050d560621b604482015290519081900360640190fd5b60008383836040516020018080602001831515151581526020018281038252858582818152602001925080828437600083820181905260408051601f909301601f19908116909501838103909501835293845281516020928301206001600160a01b038f1682526001909252928320819055975050426224ea00019550935061078f92506104c1915050565b6001600160a01b031614156107a15750425b6001600160a01b0386166000818152600260209081526040918290208490558151861515918101919091528181529081018690527f723a7080d63c133cf338e44e00705cc1b7b2bde7e88d6218a8d62710a329ce1b908790879087908060608101858580828437600083820152604051601f909101601f1916909201829003965090945050505050a2505050505050565b61083a611023565b565b61084533610fef565b610888576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b610890610e6d565b6108dc576040805162461bcd60e51b815260206004820152601860248201527712535413115351539510551253d397d1925390531256915160421b604482015290519081900360640190fd5b6108e46110ea565b15610928576040805162461bcd60e51b815260206004820152600f60248201526e29aa20aa22afa4a9afa32927ad22a760891b604482015290519081900360640190fd5b6001600160a01b03841660009081526002602052604090205480610993576040805162461bcd60e51b815260206004820152601d60248201527f414444524553535f4e4f545f555047524144455f43414e444944415445000000604482015290519081900360640190fd5b428111156109e2576040805162461bcd60e51b8152602060048201526017602482015276155411d490511157d393d517d153905093115117d65155604a1b604482015290519081900360640190fd5b6001600160a01b0385166000908152600160209081526040918290205482518515158185015291820192835260608201869052918691869186918190608001858580828437600081840152601f19601f820116905080830192505050945050505050604051602081830303815290604052805190602001208114610aa3576040805162461bcd60e51b815260206004820152601360248201527221a420a723a2a22fa4a724aa24a0a624ad22a960691b604482015290519081900360640190fd5b610aac8661124e565b60006060876001600160a01b031663439fab9160e01b88886040516024018080602001828103825284848281815260200192508082843760008382015260408051601f909201601f1990811690940182810390940182529283526020810180516001600160e01b03166001600160e01b0319909916989098178852915182519297909650869550935090915081905083835b60208310610b5d5780518252601f199092019160209182019101610b3e565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610bbd576040519150601f19603f3d011682016040523d82523d6000602084013e610bc2565b606091505b5091509150818190610c525760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610c17578181015183820152602001610bff565b50505050905090810190601f168015610c445780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060408051600481526024810182526020810180516001600160e01b03166333eeb14760e01b178152915181516001600160a01b038c169382918083835b60208310610caf5780518252601f199092019160209182019101610c90565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610d0f576040519150601f19603f3d011682016040523d82523d6000602084013e610d14565b606091505b50909250905081610d68576040805162461bcd60e51b815260206004820152601960248201527810d0531317d513d7d254d19493d6915397d491559154951151603a1b604482015290519081900360640190fd5b808060200190516020811015610d7d57600080fd5b505115610dcd576040805162461bcd60e51b81526020600482015260196024820152782722abafa4a6a82622a6a2a72a20aa24a7a72fa32927ad22a760391b604482015290519081900360640190fd5b60018515151415610e1557610de0611272565b6040516001600160a01b038916907fc13b75a5f14b69ebdc2431a5d475b3bff371abe251b5064144306fbd9c4de35c90600090a25b6040516001600160a01b038916907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050505050505050565b6104ef81611298565b6000610e6782610fef565b92915050565b7f7d433c6f837e8f93009937c466c82efbb5ba621fae36886d0cac433c5d0aa7d2541590565b6224ea0081565b61083a611395565b610eab33610fef565b610eee576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b336001600160a01b0382161415610f43576040805162461bcd60e51b8152602060048201526014602482015273474f5645524e4f525f53454c465f52454d4f564560601b604482015290519081900360640190fd5b6000610f4d61142c565b9050610f5882610fef565b610f98576040805162461bcd60e51b815260206004820152600c60248201526b2727aa2fa3a7ab22a92727a960a11b604482015290519081900360640190fd5b6001600160a01b03821660008181526020838152604091829020805460ff19169055815192835290517fd75f94825e770b8b512be8e74759e252ad00e102e38f50cce2f7c6f868a295999281900390910190a15050565b600080610ffa61142c565b6001600160a01b0390931660009081526020939093525050604090205460ff1690565b3b151590565b600061102d61142c565b60018101549091506001600160a01b0316331461108b576040805162461bcd60e51b815260206004820152601760248201527627a7262cafa1a0a72224a220aa22afa3a7ab22a92727a960491b604482015290519081900360640190fd5b60018101546110a2906001600160a01b03166114fc565b6001810180546001600160a01b03191690556040805133815290517fcfb473e6c03f9a29ddaf990e736fa3de5188a0bd85d684f5b6e164ebfbfff5d29181900360200190a150565b6000806110f56104c1565b90506001600160a01b03811661110f57600091505061124b565b60408051600481526024810182526020810180516001600160e01b03166333eeb14760e01b178152915181516000936060936001600160a01b038716939092909182918083835b602083106111755780518252601f199092019160209182019101611156565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146111d5576040519150601f19603f3d011682016040523d82523d6000602084013e6111da565b606091505b509150915081819061122d5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610c17578181015183820152602001610bff565b5080806020019051602081101561124357600080fd5b505193505050505b90565b7f177667240aeeea7e35eabe3a35e18306f336219e1386f7710a6bf8783f761b2455565b60017f7d433c6f837e8f93009937c466c82efbb5ba621fae36886d0cac433c5d0aa7d255565b6112a133610fef565b6112e4576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b60006112ee61142c565b90506112f982610fef565b1561133e576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b6001810180546001600160a01b0384166001600160a01b0319909116811790915560408051918252517f6166272c8d3f5f579082f2827532732f97195007983bb5b83ac12c56700b01a69181900360200190a15050565b61139e33610fef565b6113e1576040805162461bcd60e51b815260206004820152600f60248201526e4f4e4c595f474f5645524e414e434560881b604482015290519081900360640190fd5b60006113eb61142c565b6001810180546001600160a01b03191690556040519091507f7a8dc7dd7fffb43c4807438fa62729225156941e641fd877938f4edade3429f590600090a150565b6000606061143861157c565b9050600080826040518082805190602001908083835b6020831061146d5780518252601f19909201916020918201910161144e565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220600180820154919450600160a01b90910460ff1615151491506114f69050576040805162461bcd60e51b815260206004820152600f60248201526e1393d517d253925512505312569151608a1b604482015290519081900360640190fd5b91505090565b61150581610fef565b1561154a576040805162461bcd60e51b815260206004820152601060248201526f20a62922a0a22cafa3a7ab22a92727a960811b604482015290519081900360640190fd5b600061155461142c565b6001600160a01b0390921660009081526020929092525060409020805460ff19166001179055565b606060405180606001604052806027815260200161159d6027913990509056fe537461726b45782e50726f78792e323031392e476f7665726e6f7273496e666f726d6174696f6ea265627a7a723158208b1d55c2ed53dac498876abf4d45681898c9ff1fbd88f8103d56de2194a879ab64736f6c634300050f0032

Deployed Bytecode Sourcemap

2960:9263:4:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6286:23;6312:16;:14;:16::i;:::-;6286:42;-1:-1:-1;;;;;;6347:31:4;;6338:67;;;;;-1:-1:-1;;;6338:67:4;;;;;;;;;;;;-1:-1:-1;;;6338:67:4;;;;;;;;;;;;;;;6748:12;6745:1;6742;6729:32;6965:1;6962;6948:12;6945:1;6928:15;6923:3;6910:57;7041:14;7038:1;7035;7020:36;7077:6;7144:36;;;;7213:14;7210:1;7203:25;7144:36;7163:14;7160:1;7153: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;:::-;;9890:445:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9890:445:4;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9890:445:4;-1:-1:-1;;;;;9890:445:4;;:::i;5511:120::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;5511:120:4;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;5511:120:4;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;5511:120:4;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;5511: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;5511:120:4;;-1:-1:-1;5511:120:4;-1:-1:-1;5511: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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7323:259:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7323:259:4;;;:::i;:::-;;;;-1:-1:-1;;;;;7323:259:4;;;;;;;;;;;;;;8851:805;;8:9:-1;5:2;;;30:1;27;20:12;5:2;8851:805:4;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;8851:805:4;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;8851:805:4;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;8851:805: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;8851:805:4;;-1:-1:-1;8851:805:4;-1:-1:-1;8851:805:4;;;;:::i;2693:89:5:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2693:89:5;;;:::i;10800:1421:4:-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;10800:1421:4;;;;;;;;;;;;;;;-1:-1:-1;;;5:28;;2:2;;;46:1;43;36:12;2:2;10800:1421:4;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;10800:1421: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;10800:1421:4;;-1:-1:-1;10800:1421:4;-1:-1:-1;10800:1421: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;:::-;;;;;;;;;;;;;;;;;;7990:308:4;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7990:308:4;;;:::i;4490:58::-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;4490:58:4;;;:::i;:::-;;;;;;;;;;;;;;;;2788:77:5;;8:9:-1;5:2;;;30:1;27;20:12;5:2;2788:77:5;;;:::i;7323:259:4:-;3977:66;7555:11;;7522:54::o;2570:117:5:-;2646:34;2661:18;2646:14;:34::i;:::-;2570:117;:::o;9890:445:4:-;2582:22:1;2593:10;2582;:22::i;:::-;2574:50;;;;;-1:-1:-1;;;2574:50:1;;;;;;;;;;;;-1:-1:-1;;;2574:50:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;10074:30:4;;10048:23;10074:30;;;:11;:30;;;;;;10123:19;10115:61;;;;;-1:-1:-1;;;10115:61:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;10187:30:4;;10220:1;10187:30;;;:11;:30;;;;;;;;:34;;;10232:18;:37;;;;;;:41;;;10288:40;;;10220:1;10288:40;2634:1:1;9890:445:4;:::o;5511:120::-;5592:32;;;-1:-1:-1;;;5592:32:4;;;;;;;;;;;;-1:-1:-1;;;5592:32:4;;;;;;;;;;;;;;2084:87:5;;;;;;;;;;;;;;;;;;;:::o;8851:805:4:-;2582:22:1;2593:10;2582;:22::i;:::-;2574:50;;;;;-1:-1:-1;;;2574:50:1;;;;;;;;;;;;-1:-1:-1;;;2574:50:1;;;;;;;;;;;;;;;8991:30:4;:17;-1:-1:-1;;;;;8991:28:4;;:30::i;:::-;8983:63;;;;;-1:-1:-1;;;8983:63:4;;;;;;;;;;;;-1:-1:-1;;;8983:63:4;;;;;;;;;;;;;;;9057:17;9098:4;;9104:8;9087:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;;;9087:26:4;;;137:4:-1;117:14;;;-1:-1;;113:30;;;157:16;;;26:21;;;22:32;;;6:49;;9087:26:4;;;9077:37;;49:4:-1;9077:37:4;;;;-1:-1:-1;;;;;9124:37:4;;;;:18;:37;;;;;;:49;;;9077:37;-1:-1:-1;;9272:3:4;4541:7;9272:30;;-1:-1:-1;99:1;-1:-1;9376:16:4;;-1:-1:-1;9376:14:4;;-1:-1:-1;;9376:16:4:i;:::-;-1:-1:-1;;;;;9376:32:4;;9372:150;;;-1:-1:-1;9508:3:4;9372:150;-1:-1:-1;;;;;9532:30:4;;;;;;:11;:30;;;;;;;;;:48;;;9595:54;;;;;;;;;;;;;;;;;;;;;;;9634:4;;;;9640:8;;9595:54;;;;9634:4;;;;9595:54;1:33:-1;99:1;81:16;;;74:27;9595:54:4;;137:4:-1;117:14;;;-1:-1;;113:30;157:16;;;9595:54:4;;;;-1:-1:-1;9595:54:4;;-1:-1:-1;;;;;9595:54:4;2634:1:1;;8851:805:4;;;;:::o;2693:89:5:-;2757:18;:16;:18::i;:::-;2693:89::o;10800:1421:4:-;2582:22:1;2593:10;2582;:22::i;:::-;2574:50;;;;;-1:-1:-1;;;2574:50:1;;;;;;;;;;;;-1:-1:-1;;;2574:50:1;;;;;;;;;;;;;;;5683:16:4;:14;:16::i;:::-;5675:53;;;;;-1:-1:-1;;;5675:53:4;;;;;;;;;;;;-1:-1:-1;;;5675:53:4;;;;;;;;;;;;;;;5972:24;:22;:24::i;:::-;:33;5964:61;;;;;-1:-1:-1;;;5964:61:4;;;;;;;;;;;;-1:-1:-1;;;5964:61:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;10981:30:4;;10955:23;10981:30;;;:11;:30;;;;;;11030:19;11022:61;;;;;-1:-1:-1;;;11022:61:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;11182:3;11163:15;:22;;11155:58;;;;;-1:-1:-1;;;11155:58:4;;;;;;;;;;;;-1:-1:-1;;;11155:58:4;;;;;;;;;;;;;;;-1:-1:-1;;;;;11251:37:4;;11224:24;11251:37;;;:18;:37;;;;;;;;;;11336:26;;;;;;;;;;;;;;;;;;;;;11251:37;11347:4;;;;11353:8;;11336:26;;;;11347:4;;;;11336: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;;11336::4;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;11336:26:4;;;11326:37;;;;;;11306:16;:57;11298:89;;;;;-1:-1:-1;;;11298:89:4;;;;;;;;;;;;-1:-1:-1;;;11298:89:4;;;;;;;;;;;;;;;11397:36;11415:17;11397;:36::i;:::-;11509:12;11523:23;11550:17;-1:-1:-1;;;;;11550:30:4;11617:24;;;11643:4;;11594:54;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;;74:27;11594:54:4;;;137:4:-1;117:14;;;-1:-1;;113:30;;;157:16;;;26:21;;;22:32;;;6:49;;11594:54:4;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;11594:54:4;;;179:29:-1;;;;160:49;;11550:99:4;;;;11594:54;;11550:99;;-1:-1:-1;11550:99:4;;-1:-1:-1;25:18;-1:-1;11550:99:4;;-1:-1:-1;11550:99:4;;-1:-1:-1;11550: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;;;11550: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;;11508:141:4;;;;11667:7;11683:10;11659:36;;;;;-1:-1:-1;;;11659: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;11659:36:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;11855:37:4;;;22:32:-1;6:49;;11855:37:4;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;11811:82:4;;;;-1:-1:-1;;;;;11811: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;;;11811: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;11787:106:4;;-1:-1:-1;11787:106:4;-1:-1:-1;11787:106:4;11903:45;;;;;-1:-1:-1;;;11903:45:4;;;;;;;;;;;;-1:-1:-1;;;11903:45:4;;;;;;;;;;;;;;;11977:10;11966:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11966:30:4;:39;11958:77;;;;;-1:-1:-1;;;11958:77:4;;;;;;;;;;;;-1:-1:-1;;;11958:77:4;;;;;;;;;;;;;;;12062:4;12050:16;;;;12046:126;;;12082:18;:16;:18::i;:::-;12119:42;;-1:-1:-1;;;;;12119:42:4;;;;;;;;12046:126;12187:27;;-1:-1:-1;;;;;12187:27:4;;;;;;;;6035:1;;;;10800:1421;;;;:::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;7990:308:4:-;4418:66;8234:11;8276:14;;7990:308::o;4490:58::-;4541:7;4490:58;:::o;2788:77:5:-;2840:18;:16;:18::i;4649:408:1:-;2582:22;2593:10;2582;:22::i;:::-;2574:50;;;;;-1:-1:-1;;;2574:50:1;;;;;;;;;;;;-1:-1:-1;;;2574:50:1;;;;;;;;;;;;;;;4745:10;-1:-1:-1;;;;;4745:32:1;;;;4737:65;;;;;-1:-1:-1;;;4737:65:1;;;;;;;;;;;;-1:-1:-1;;;4737:65:1;;;;;;;;;;;;;;;4812:32;4847:24;:22;:24::i;:::-;4812:59;;4890:30;4901:18;4890:10;:30::i;:::-;4881:56;;;;;-1:-1:-1;;;4881:56:1;;;;;;;;;;;;-1:-1:-1;;;4881:56:1;;;;;;;;;;;;;;;-1:-1:-1;;;;;4947:42:1;;4992:5;4947:42;;;;;;;;;;;;:50;;-1:-1:-1;;4947:50:1;;;5012:38;;;;;;;;;;;;;;;;;2634:1;4649:408;:::o;2648:246::-;2729:22;2762:32;2797:24;:22;:24::i;:::-;-1:-1:-1;;;;;2851:36:1;;;:22;:36;;;;;;;;-1:-1:-1;;2851:36:1;;;;;;;2648:246::o;715:254:0:-;908:20;954:8;;;715:254::o;4078:514:1:-;4218:32;4253:24;:22;:24::i;:::-;4309:21;;;;;;-1:-1:-1;;;;;;4309:21:1;4295:10;:35;4287:71;;;;;-1:-1:-1;;;4287:71:1;;;;;;;;;;;;-1:-1:-1;;;4287:71:1;;;;;;;;;;;;;;;4406:21;;;;4394:34;;-1:-1:-1;;;;;4406:21:1;4394:11;:34::i;:::-;4438:21;;;:36;;-1:-1:-1;;;;;;4438:36:1;;;4551:34;;;4574:10;4551:34;;;;;;;;;;;;;4078:514;:::o;4794:574:4:-;4845:4;4861:23;4887:16;:14;:16::i;:::-;4861:42;-1:-1:-1;;;;;;5003:31:4;;4999:74;;5057:5;5050:12;;;;;4999:74;5230:37;;;22:32:-1;6:49;;5230:37:4;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;5188:80:4;;;;5147:12;;5161:23;;-1:-1:-1;;;;;5188:28:4;;;5230:37;;5188: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;;;5188: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;;5146:122:4;;;;5286:7;5302:10;5278:36;;;;;-1:-1:-1;;;5278:36:4;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;5278:36:4;;5342:10;5331:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;5331:30:4;;-1:-1:-1;;;;4794:574:4;;:::o;7654:250::-;3977:66;7857:31;7843:55::o;8371:211::-;8562:3;4418:66;8549:17;8535:41::o;3189:316:1:-;2582:22;2593:10;2582;:22::i;:::-;2574:50;;;;;-1:-1:-1;;;2574:50:1;;;;;;;;;;;;-1:-1:-1;;;2574:50:1;;;;;;;;;;;;;;;3275:32;3310:24;:22;:24::i;:::-;3275:59;;3352:23;3363:11;3352:10;:23::i;:::-;:32;3344:61;;;;;-1:-1:-1;;;3344:61:1;;;;;;;;;;;;-1:-1:-1;;;3344:61:1;;;;;;;;;;;;;;;3415:21;;;:35;;-1:-1:-1;;;;;3415:35:1;;-1:-1:-1;;;;;;3415:35:1;;;;;;;;3465:33;;;;;;;;;;;;;;;;2634:1;3189:316;:::o;2968:215::-;2582:22;2593:10;2582;:22::i;:::-;2574:50;;;;;-1:-1:-1;;;2574:50:1;;;;;;;;;;;;-1:-1:-1;;;2574:50:1;;;;;;;;;;;;;;;3032:32;3067:24;:22;:24::i;:::-;3101:21;;;:36;;-1:-1:-1;;;;;;3101:36:1;;;3152:24;;3032:59;;-1:-1:-1;3152:24:1;;1540:3;;3152:24;2634:1;2968:215::o;1837:311::-;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;;;;;:23;;;;-1:-1:-1;2070:51:1;;-1:-1:-1;2070:51:1;;;;-1:-1:-1;;;2070:51:1;;;;;;;;;;;;-1:-1:-1;;;2070:51:1;;;;;;;;;;;;;;;2138:3;-1:-1:-1;;1837:311:1;:::o;3823:249::-;3891:23;3902:11;3891:10;:23::i;:::-;:32;3883:61;;;;;-1:-1:-1;;;3883:61:1;;;;;;;;;;;;-1:-1:-1;;;3883:61:1;;;;;;;;;;;;;;;3954:32;3989:24;:22;:24::i;:::-;-1:-1:-1;;;;;4023:35:1;;;:22;:35;;;;;;;;-1:-1:-1;4023:35:1;;;:42;;-1:-1:-1;;4023:42:1;4061:4;4023:42;;;3823:249::o;2178:137:5:-;2253:17;2288:20;;;;;;;;;;;;;;;;;2282:26;;2178:137;:::o

Swarm Source

bzzr://8b1d55c2ed53dac498876abf4d45681898c9ff1fbd88f8103d56de2194a879ab

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
ETH
Ether (ETH)
37.05%$3,2701,601.3974$5,236,573.98
ETH25.42%$0.996633,604,841.4126$3,592,693.1
ETH13.98%$94,44420.924$1,976,145.69
ETH11.13%$0.9976531,576,009.3441$1,572,310.45
ETH2.93%$3,608.74114.9219$414,723.11
ETH2.82%$3,897.96102.3575$398,985.28
ETH2.45%$0.602906574,793.3688$346,546.43
ETH0.85%$656.23182.8056$119,962.53
ETH0.55%$13.725,675.203$77,863.79
ETH0.50%$3,823.1518.4676$70,604.25
ETH0.39%$0.473378117,216.2253$55,487.63
ETH0.39%$1.6932,338.0917$54,651.37
ETH0.34%$3.7912,762.5045$48,369.89
ETH0.17%$0.99748423,933.4703$23,873.25
ETH0.14%$322.2660.5809$19,522.8
ETH0.12%$0.54170331,966.8472$17,316.54
ETH0.12%$4,027.564.2317$17,043.42
ETH0.08%$0.19794260,294.6287$11,934.84
ETH0.06%$1,562.755.5753$8,712.74
ETH0.05%$22.38318.0548$7,118.07
ETH0.04%$2.971,969.4153$5,849.16
ETH0.04%$1.423,920.1454$5,566.61
ETH0.04%$16.98296.3846$5,032.61
ETH0.03%$2,627.681.4565$3,827.15
ETH0.02%$0.005153663,164.5702$3,417.22
ETH0.02%$0.25452812,280.4022$3,125.71
ETH0.02%$8,556.120.3606$3,085.54
ETH0.02%$20.15115.8056$2,333.63
ETH0.02%$0.000021106,400,030.4759$2,279.09
ETH0.01%$0.02105793,571.2721$1,970.35
ETH0.01%$15.9112.3872$1,787.46
ETH0.01%$0.1952258,975.2453$1,752.19
ETH0.01%$0.4522083,224.7731$1,458.27
ETH<0.01%$0.8215111,231.2472$1,011.48
ETH<0.01%$144.317.0075$1,011.26
ETH<0.01%$1.08785.8393$851.06
ETH<0.01%$0.01353356,776.5327$768.35
ETH<0.01%$0.2142323,383.7568$724.91
ETH<0.01%$2.47258.6205$638.79
ETH<0.01%$0.3793581,107.2392$420.04
ETH<0.01%$1.98155.433$307.76
ETH<0.01%$0.000736253,540.3047$186.62
ETH<0.01%$1.27139.8995$177.67
ETH<0.01%$0.19125911.5102$174.33
ETH<0.01%$0.329757516.6322$170.36
ETH<0.01%$79.272.0099$159.32
ETH<0.01%$0.0248946,198.3309$154.3
ETH<0.01%$0.00177165,741.4089$116.4
ETH<0.01%$0.0234474,109.5686$96.36
ETH<0.01%$40.122.1824$87.56
ETH<0.01%$0.00072499,219$71.8
ETH<0.01%$0.473066131.401$62.16
ETH<0.01%$9.995.5516$55.46
ETH<0.01%$0.205743264.3045$54.38
ETH<0.01%$1.1427.1159$30.91
ETH<0.01%$0.90858129.9825$27.24
ETH<0.01%$0.005045301$1.52
ETH<0.01%$0.3598522.9259$1.05
ETH<0.01%$0.0007621,000$0.762
ETH<0.01%$0.3639792.0403$0.7426
ETH<0.01%$0.0003821,899.4575$0.7246
ETH<0.01%$0.00362745$0.1631
BSC0.08%$1.866,101.6307$11,373.77
BSC<0.01%$656.80.0745$48.94
ARB<0.01%$3,270.790.3206$1,048.48
LINEA<0.01%$3,2700.0144$47.11
OP<0.01%$3,273.340.00990403$32.42
SCROLL<0.01%$3,2700.008$26.16
OPBNB<0.01%$656.380.03$19.69
POL<0.01%$0.47020525.5877$12.03
TAIKO<0.01%$3,2700.00058$1.9
AVAX<0.01%$35.960.0355$1.28
BASE<0.01%$0.03084420$0.6168
GNO<0.01%$0.999890.00000001<$0.000001
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.