ETH Price: $3,108.05 (+4.07%)
Gas: 5 Gwei

Contract

0x5d22045DAcEAB03B158031eCB7D9d06Fad24609b
 

Overview

ETH Balance

9,054.51261868 ETH

Eth Value

$28,141,876.18 (@ $3,108.05/ETH)

Token Holdings

Transaction Hash
Method
Block
From
To
Value
0x3d7841cd9276a42d7587e9457b3bc2628fb2c2346f13d3c671bc668b12d0513aDeposit(pending)2024-05-03 23:02:523 mins ago1714777372IN
Rhino.fi: Bridge
0.00085 ETH(Pending)(Pending)
0x4e386b1a9106ce793d6d650cd5d47ddaa86b0a28d32ecdd968fbf0f58f3fe626Deposit(pending)2024-05-03 21:43:561 hr ago1714772636IN
Rhino.fi: Bridge
0.00133556 ETH(Pending)(Pending)
0xe44a510a207b02d7d9832dcd0146c9a9485a3205e7797a27fada88c3f0404d2cDeposit(pending)2024-05-03 21:28:061 hr ago1714771686IN
Rhino.fi: Bridge
0.00052721 ETH(Pending)(Pending)
0xe331cb4d06546f2810e9d108f48b97b9b1aa5fca87dfb99383303e4ed71be08fDeposit(pending)2024-05-03 19:27:303 hrs ago1714764450IN
Rhino.fi: Bridge
0.00147012 ETH(Pending)(Pending)
0xe999cbf7e0d631bf91add7d4d56d58fb059113081615ef40ce82d154bcadb4edDeposit(pending)2024-05-03 18:34:314 hrs ago1714761271IN
Rhino.fi: Bridge
0.00817364 ETH(Pending)(Pending)
0xc38cb59cd9fe003b52898c9e7f42643bc884b352dc5b28b6b0363f2335cac964Deposit(pending)2024-05-03 10:56:0412 hrs ago1714733764IN
Rhino.fi: Bridge
0.001 ETH(Pending)(Pending)
0x753c9e393b3b6f3cdb11a375d6780889d98b302902d6cdcfe965d3f9dc4ab4a5Deposit(pending)2024-04-29 10:56:544 days ago1714388214IN
Rhino.fi: Bridge
0.01 ETH(Pending)(Pending)
0x8e7b6169fd2152ca826746a0b3c1cd19f28e9747c909c6e72409be2968a975fcDeposit(pending)2024-04-29 6:34:504 days ago1714372490IN
Rhino.fi: Bridge
0.00090992 ETH(Pending)(Pending)
0x70995f70838080ee1ccfe1173cca4d5223251b22b5f3d665b4bb6e654a2ff995Deposit(pending)2024-04-29 5:44:144 days ago1714369454IN
Rhino.fi: Bridge
0.001 ETH(Pending)(Pending)
0x4f48695c2cc3edbc4ba97383864712d273145be1dabb41c2323914e34fba028dDeposit(pending)2024-04-29 5:42:164 days ago1714369336IN
Rhino.fi: Bridge
0.014 ETH(Pending)(Pending)
0xaa566965ae19b2494526c9a315e8a2828b7692657bb3beff29a1512305ac5cb7Deposit(pending)2024-04-29 5:42:014 days ago1714369321IN
Rhino.fi: Bridge
0.005 ETH(Pending)(Pending)
0xb6224011771d833fb3ffd8bb4e3d0ea6536f839b0834a22cd601bf6919505b3eDeposit(pending)2024-04-29 5:30:184 days ago1714368618IN
Rhino.fi: Bridge
0.00125773 ETH(Pending)(Pending)
0x7fb0dbab0ce138e4923540016cd2eca5f249f5673123e5c8375da24b8423fd21Deposit(pending)2024-04-28 8:18:295 days ago1714292309IN
Rhino.fi: Bridge
0.00152613 ETH(Pending)(Pending)
0xb72a5073f6001fa43da7f3e7ce4ed160e0bbf6bde62069cda3b64793721f5bbdDeposit(pending)2024-04-21 9:10:2812 days ago1713690628IN
Rhino.fi: Bridge
0.00399679 ETH(Pending)(Pending)
0x1a4b75f8d0d453c8aaa14ed3510f7a289648a4cf15b78eb9fc862795ee1103a6Deposit(pending)2024-04-21 7:50:5312 days ago1713685853IN
Rhino.fi: Bridge
0.01 ETH(Pending)(Pending)
0x31a255eed5ec4940487b828fc4dfa7e003798648fdffdf0f1ded919f19e8a793Deposit(pending)2024-04-21 7:27:1612 days ago1713684436IN
Rhino.fi: Bridge
0.004 ETH(Pending)(Pending)
0x3ca54a970c99fd0c12d1f73c8dda39c2013368438c9cb22082fb683fb15934cfDeposit(pending)2024-04-21 3:35:1312 days ago1713670513IN
Rhino.fi: Bridge
0.00391006 ETH(Pending)(Pending)
0xa5bb84f12b8a03ea55636df505bd10fefb8c8959fd428993c15d1acb8b6adf38Deposit(pending)2024-04-21 2:16:2912 days ago1713665789IN
Rhino.fi: Bridge
0.00123 ETH(Pending)(Pending)
Deposit197927402024-05-03 23:03:113 mins ago1714777391IN
Rhino.fi: Bridge
0.055 ETH0.000459646.0992827
Deposit197927312024-05-03 23:01:234 mins ago1714777283IN
Rhino.fi: Bridge
0.002 ETH0.00063028.36246592
Deposit197927152024-05-03 22:58:118 mins ago1714777091IN
Rhino.fi: Bridge
0.1 ETH0.000318864.23115101
Deposit197926872024-05-03 22:52:3513 mins ago1714776755IN
Rhino.fi: Bridge
0.07 ETH0.000577067.6573882
Deposit197926822024-05-03 22:51:3514 mins ago1714776695IN
Rhino.fi: Bridge
0.002 ETH0.000600767.97188728
Deposit197926582024-05-03 22:46:4719 mins ago1714776407IN
Rhino.fi: Bridge
0.005 ETH0.000373114.9510592
Deposit197926492024-05-03 22:44:5921 mins ago1714776299IN
Rhino.fi: Bridge
0.03 ETH0.000647168.58754838
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To Value
197918342024-05-03 20:00:233 hrs ago1714766423
Rhino.fi: Bridge
100.36367108 ETH
197865672024-05-03 2:20:1120 hrs ago1714702811
Rhino.fi: Bridge
0.006 ETH
197863052024-05-03 1:27:1121 hrs ago1714699631
Rhino.fi: Bridge
80.5336761 ETH
197810922024-05-02 7:57:4739 hrs ago1714636667
Rhino.fi: Bridge
0.09894319 ETH
197810442024-05-02 7:48:1139 hrs ago1714636091
Rhino.fi: Bridge
84.83094213 ETH
197772932024-05-01 19:12:232 days ago1714590743
Rhino.fi: Bridge
0.06895 ETH
197762352024-05-01 15:40:232 days ago1714578023
Rhino.fi: Bridge
95.02241154 ETH
197760622024-05-01 15:05:472 days ago1714575947
Rhino.fi: Bridge
0.01976 ETH
197721622024-05-01 2:00:472 days ago1714528847
Rhino.fi: Bridge
0.0027 ETH
197710652024-04-30 22:20:233 days ago1714515623
Rhino.fi: Bridge
92.30426075 ETH
197698012024-04-30 18:05:233 days ago1714500323
Rhino.fi: Bridge
0.005 ETH
197657982024-04-30 4:40:233 days ago1714452023
Rhino.fi: Bridge
144.85125172 ETH
197632592024-04-29 20:10:234 days ago1714421423
Rhino.fi: Bridge
88.64817056 ETH
197605842024-04-29 11:10:234 days ago1714389023
Rhino.fi: Bridge
95.47129005 ETH
197598662024-04-29 8:46:234 days ago1714380383
Rhino.fi: Bridge
4 ETH
197575982024-04-29 1:10:234 days ago1714353023
Rhino.fi: Bridge
147.22194885 ETH
197572292024-04-28 23:55:474 days ago1714348547
Rhino.fi: Bridge
0.009133 ETH
197553842024-04-28 17:44:115 days ago1714326251
Rhino.fi: Bridge
0.00202281 ETH
197548212024-04-28 15:50:235 days ago1714319423
Rhino.fi: Bridge
89.24556159 ETH
197494142024-04-27 21:41:356 days ago1714254095
Rhino.fi: Bridge
0.0997 ETH
197468742024-04-27 13:10:236 days ago1714223423
Rhino.fi: Bridge
102.63244169 ETH
197467232024-04-27 12:39:596 days ago1714221599
Rhino.fi: Bridge
0.025 ETH
197450082024-04-27 6:52:476 days ago1714200767
Rhino.fi: Bridge
1.25450879 ETH
197440032024-04-27 3:30:236 days ago1714188623
Rhino.fi: Bridge
104.57973759 ETH
197396352024-04-26 12:49:237 days ago1714135763
Rhino.fi: Bridge
0.0099 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 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 1 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 2 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 3 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 4 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)
67.37%$3,108.059,054.5126$28,141,876.18
ETH8.39%$13,499,111.3473$3,502,610.46
ETH7.56%$0.5856115,390,801.2981$3,156,911.55
ETH5.68%$62,81537.7443$2,370,907.07
ETH3.55%$0.9997961,482,287.1015$1,481,984.71
ETH3.32%$0.5856112,368,373.9017$1,386,945.38
ETH1.94%$3,621.63223.2319$808,463.49
ETH0.48%$3,235.9861.621$199,404.35
ETH0.32%$0.818243162,299.5622$132,800.48
ETH0.32%$0.734509179,138.4822$131,578.83
ETH0.18%$2.1434,591.0224$74,024.79
ETH0.16%$0.99952168,581.3153$68,548.46
ETH0.12%$4.0912,762.5045$52,198.64
ETH0.10%$7.565,715.123$43,206.33
ETH0.10%$1.234,931.9403$41,918.33
ETH0.09%$3,166.2211.6127$36,768.38
ETH0.05%$0.33832761,416.1775$20,778.75
ETH0.04%$2,965.146.1996$18,382.6
ETH0.04%$0.41522540,941.6369$16,999.99
ETH0.04%$88.62167.827$14,873.49
ETH0.02%$14.1739.2563$10,423.51
ETH0.01%$2.831,969.4153$5,573.45
ETH0.01%$0.007335663,164.5702$4,864.01
ETH0.01%$2,303.471.8922$4,358.69
ETH0.01%$14.68296.3846$4,350.93
ETH0.01%$1.083,920.1454$4,225.92
ETH<0.01%$59.6355.511$3,310.12
ETH<0.01%$0.26056512,244.3364$3,190.45
ETH<0.01%$3.67825.3253$3,028.94
ETH<0.01%$0.026443109,293.1212$2,889.99
ETH<0.01%$0.000024116,038,822.4759$2,831.35
ETH<0.01%$22.15117.8016$2,609.31
ETH<0.01%$22.67112.3872$2,547.82
ETH<0.01%$6,993.390.3606$2,521.98
ETH<0.01%$7.89242.8981$1,916.47
ETH<0.01%$0.4929333,344.2014$1,648.47
ETH<0.01%$0.001664829,660.6122$1,380.84
ETH<0.01%$0.2507764,481.0291$1,123.73
ETH<0.01%$0.4404742,408.4621$1,060.87
ETH<0.01%$2.84288.6716$819.83
ETH<0.01%$101.847.0075$713.63
ETH<0.01%$0.3859571,165.1232$449.69
ETH<0.01%$0.669392650.5443$435.47
ETH<0.01%$0.449425840.979$377.96
ETH<0.01%$0.000874330,889.2827$289.04
ETH<0.01%$0.0448056,198.3309$277.72
ETH<0.01%$0.00388865,741.4089$255.62
ETH<0.01%$0.2216181,066.3998$236.33
ETH<0.01%$97.082.1824$211.86
ETH<0.01%$0.032544,109.5686$133.72
ETH<0.01%$0.00074699,219$74
ETH<0.01%$0.276085264.3045$72.97
ETH<0.01%$1.2541.3713$51.71
ETH<0.01%$1.5529.9825$46.47
ETH<0.01%$2.545.5516$14.1
ETH<0.01%$32.9259$8.78
ETH<0.01%$0.0010441,899.4575$1.98
ETH<0.01%$0.005469301$1.65
ETH<0.01%$0.0013921,000$1.39
ETH<0.01%$0.02553910$0.2553
ETH<0.01%$0.00533945$0.2402
ARB<0.01%$3,107.210.1006$312.46
BSC<0.01%$588.220.0745$43.83
OP<0.01%$3,109.410.0095721$29.76
OPBNB<0.01%$588.250.03$17.65
MATIC<0.01%$0.7346322.1377$16.26
SCROLL<0.01%$3,108.050.003$9.32
LINEA<0.01%$3,108.050.001$3.11
AVAX<0.01%$35.610.0355$1.26
GNO<0.01%$10.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.