Contract 0x5d22045DAcEAB03B158031eCB7D9d06Fad24609b 8

 

Contract Overview

DeversiFi: Bridge
Balance:
1,715.‍19462707 Ether

EtherValue:
$3,269,401.09 (@ $1,906.14/ETH)

Token:
Txn Hash
Method
Block
From
To
Value
0x40ef19d69684e820c29a077c6de7b7e61e5fa1d080701a2969198655563ae0f9Deposit153211802022-08-11 14:14:2020 mins ago0xb0957ef31a6d5271993994dc71e4607019ceb3a1 IN  DeversiFi: Bridge0.‍47 Ether0.‍00253636 33.‍62358858
0x52ba8d8d034f165243793e16d9195353c65ba501c83d29ec9a35e3a5d64cc050Deposit153211542022-08-11 14:07:4126 mins ago0xb0957ef31a6d5271993994dc71e4607019ceb3a1 IN  DeversiFi: Bridge0 Ether0.‍00259896 24.‍076275
0xe398d8a2e5623f2fc07b8318c1a5006e0e5a4057f5ef849357020060db09d076Deposit153192022022-08-11 6:40:407 hrs 53 mins agoENS Name zkviking.eth IN  DeversiFi: Bridge3.‍72101121 Ether0.‍00096588 12.‍80433585
0x4c36000d241296738beb38703ed10bfdedd0d59014c703b0704ad2dfa98f0ef7Deposit153186982022-08-11 4:49:499 hrs 44 mins ago0x7c55cdb2ad0a1869e8bba33f411dde74ad7d8b74 IN  DeversiFi: Bridge0.‍015 Ether0.‍0009698 12.‍85627172
0x4352d18e57e8239d96368e3d6668a4ae00b79f8b80c28116b540c28e6415d950Withdraw153186252022-08-11 4:32:5210 hrs 1 min agoDeversiFi IN  DeversiFi: Bridge0 Ether0.‍00096459 13.‍20570908
0x102a57f09e44c41c42f61a6577cc70ba117ff99bba9be86f152c16643d342e06Update State153186182022-08-11 4:31:2910 hrs 2 mins ago0x8a6c80aab6497e2db35817817b593b79d78f6ae5 IN  DeversiFi: Bridge0 Ether0.‍0048282330
0xe9a0da2b5ea7c61268283d224fb9595c3dbc897186f9a123281ea0ace6a7423aUpdate State153186182022-08-11 4:31:2910 hrs 2 mins ago0x8a6c80aab6497e2db35817817b593b79d78f6ae5 IN  DeversiFi: Bridge0 Ether0.‍0048999930
0xe6cc303bfe8409dd8427fc34bb2e19bf9406b30ac1427e8664e1155f7bee6a36Withdraw153185952022-08-11 4:27:0810 hrs 7 mins agoENS Name hiyamad.eth IN  DeversiFi: Bridge0 Ether0.‍00076206 13.‍57966834
0x2ff6f8737ed9fd316b872f42bc6a4f5cc131d0217e00475cb283ddee64e702eeDeposit153171312022-08-10 22:50:3615 hrs 43 mins ago0xaccd8684be74832d4f23ef586aeb0aa03645b78b IN  DeversiFi: Bridge0 Ether0.‍00363804 34.‍9505842
0x3772b44db136e9895df59613f282ea53b6465794500ac3b101f57a4c4e37ba5bUpdate State153158882022-08-10 18:13:4220 hrs 20 mins ago0x8a6c80aab6497e2db35817817b593b79d78f6ae5 IN  DeversiFi: Bridge0 Ether0.‍0046647930
0x02f9550b23beebda6d031325bc87555b3066b8dba8419c88c842f2bf95059517Deposit153147632022-08-10 14:01:331 day 32 mins ago0xdcf1a0b0c03b4df58e052133662a3b74cb9d47e1 IN  DeversiFi: Bridge0 Ether0.‍00420529 41.‍59171795
0x9db93410e0eaab04cd86b5ba061cf54a205c207f0d601854bb619a70c9de82b4Withdraw153142432022-08-10 12:06:511 day 2 hrs ago0xe0b67342a3852baaf71b4fb8cdf13ab4e82fb1b5 IN  DeversiFi: Bridge0 Ether0.‍00150377 14.‍71515979
0x47ce62167f7ed71caaa7513e22387623204183579b7c2f43f5a27c87c0faa360Deposit153139532022-08-10 10:58:221 day 3 hrs ago0x4325b4444c1f7fd90a660c83cfd7e3bde76b5d82 IN  DeversiFi: Bridge0 Ether0.‍00077157 7.‍48118566
0xff8554e291a728c865e307357c3de9dae848eebf10a557c5c46c31fbf0d64563Deposit153133312022-08-10 8:37:151 day 5 hrs ago0xca6251a0bd3bcba10d5def967c6f54dcb1341924 IN  DeversiFi: Bridge14.‍28160505 Ether0.‍00077176 10.‍23097308
0x492c716f54417c14521d20e3f98243949180b43197a26e1243ac4bf7ab28da5eWithdraw153128472022-08-10 6:45:401 day 7 hrs agoDeversiFi IN  DeversiFi: Bridge0 Ether0.‍00061223 10.‍89055959
0xeb221bcc7404f132d4e50f5ae4a2afea170db2a416695c5e79b77e5c12496fbdUpdate State153128202022-08-10 6:39:101 day 7 hrs ago0x8a6c80aab6497e2db35817817b593b79d78f6ae5 IN  DeversiFi: Bridge0 Ether0.‍0091454730
0x5b6e02c7da62504e1737f8e52c545aac54311ef05ce11ca9c89964d4b823c32cUpdate State153128202022-08-10 6:39:101 day 7 hrs ago0x8a6c80aab6497e2db35817817b593b79d78f6ae5 IN  DeversiFi: Bridge0 Ether0.‍0035090130
0xb21861ef41911de7bb76112889e214f936ad5eda56a275dafad31b72e6b2c74eDeposit153108822022-08-09 23:21:201 day 15 hrs ago0xea4bd8b391fd1a4325cc27fb31c3f374bca70330 IN  DeversiFi: Bridge13.‍49814232 Ether0.‍00108951 18.‍67717885
0x3be55f237e7d1861bc6061334073b0f7561dc28d7588147e4e3886f6e171ea5cDeposit153108462022-08-09 23:13:151 day 15 hrs ago0xea4bd8b391fd1a4325cc27fb31c3f374bca70330 IN  DeversiFi: Bridge9.‍88808167 Ether0.‍00185768 24.‍62658563
0x272dc1d1ebd6126f16c861ff1d34bc7aee8fe37bad14b58d0aa26a45b3627f01Deposit153107042022-08-09 22:37:421 day 15 hrs ago0x6721023143e8d741ec0500c7bacb4b1081e92102 IN  DeversiFi: Bridge10 Ether0.‍00436396 57.‍85146713
0xbda501e1c4d8cf05adfa3dfd97b4f1fa13db7fc41456b8340794803ba302821fDeposit153104912022-08-09 21:51:101 day 16 hrs ago0xe01e6e8a2eb9ad1fb95999936505a3718770b479 IN  DeversiFi: Bridge9.‍97907508 Ether0.‍00094803 16.‍2618144
0x7c27d3a08ab6589ea4101a7c09e1c9b58b2de914091d3a238ad1e386261ba3f1Deposit153104522022-08-09 21:42:451 day 16 hrs ago0xe01e6e8a2eb9ad1fb95999936505a3718770b479 IN  DeversiFi: Bridge9.‍99849291 Ether0.‍00092492 15.‍86539689
0x24962229861705c23138128232253063eb50a6b6060ffa9680eb45053b67de5aDeposit153104142022-08-09 21:32:441 day 17 hrs ago0xe01e6e8a2eb9ad1fb95999936505a3718770b479 IN  DeversiFi: Bridge10 Ether0.‍00076038 13.‍04309845
0xcccfb460a7714f034b6b704b2a47b4048e602103fed3a98a4d0ce8ffaff1b6a1Deposit153103772022-08-09 21:25:021 day 17 hrs ago0xe01e6e8a2eb9ad1fb95999936505a3718770b479 IN  DeversiFi: Bridge9.‍99791907 Ether0.‍0007467 12.‍80838432
0xcd402856b7a78d5aec8bd0c80aef76c658d74efc7ec9e4a9bd09d801bdff0febDeposit153103312022-08-09 21:15:471 day 17 hrs ago0xe01e6e8a2eb9ad1fb95999936505a3718770b479 IN  DeversiFi: Bridge10 Ether0.‍00112688 19.‍32970728
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xe6cc303bfe8409dd8427fc34bb2e19bf9406b30ac1427e8664e1155f7bee6a36153185952022-08-11 4:27:0810 hrs 7 mins ago DeversiFi: BridgeENS Name hiyamad.eth0.‍88792532 Ether
0x492c716f54417c14521d20e3f98243949180b43197a26e1243ac4bf7ab28da5e153128472022-08-10 6:45:401 day 7 hrs ago DeversiFi: BridgeDeversiFi268.‍49918586 Ether
0xa3840c5453b06e3a6d8999f418e76cd9ba7d13b1bd10c2f4242644a1e74e89da153002002022-08-08 7:24:243 days 7 hrs ago DeversiFi: Bridge0x09d18ff5d0c68221df366f79c1cc7a1a7faba1180.‍0272185 Ether
0xfc57000439ea77c8b3dcc5d21a1af14bd2142e30edf7c4959b1ce60f795453eb152908572022-08-06 20:23:324 days 18 hrs ago DeversiFi: Bridge0x9c2dfd5acbcf22cb9a82eaaee95824faf5e1e0350.‍5 Ether
0xd0eaad42576ba1d0b08a13cd1a5a0339c05d10fb96704d6fca5c8a31ad23fb68152828992022-08-05 14:35:105 days 23 hrs ago DeversiFi: BridgeDeversiFi281.‍64437287 Ether
0x34739f4936810f54d1d6cb5706a7e715fcaa7bc16263a34b52ccac303f5f9b96152576742022-08-01 16:11:079 days 22 hrs ago 0x8ce052c1474f6ee613c91aec65be3a378e33dd24 DeversiFi: Bridge0.‍02952908 Ether
0x4c102d3b31f4931112263051ffd137f5d9431754b60638660b35e2e2ae9d3758152366312022-07-29 9:46:0913 days 4 hrs ago DeversiFi: BridgeDeversiFi261.‍82798722 Ether
0x8d6534e2c1674e07464fece89999134714bfb48dafda759e1749b11efc0bb037152163462022-07-26 5:48:2216 days 8 hrs ago DeversiFi: BridgeENS Name mehran2021.eth0.‍02274748 Ether
0x4d3f7087aeaa051b6fd4521b3116975dcc4ee688e6a5968986fadcd1117670ab151906852022-07-22 6:03:4020 days 8 hrs ago DeversiFi: BridgeENS Name weiscracker.eth0.‍04421539 Ether
0x5de973fe11b5b87eb33490d4baf9e2f6d9eede2f70db3aed58e8295fa063dbb3151764972022-07-20 1:16:2122 days 13 hrs ago DeversiFi: Bridge0x52890a4b2aa8c9fedd7b169203e0e8c05c4de9e20.‍12491583 Ether
0x29ed830a1c53d125766815ed5707070d203ccf4dde29c89dd7486800bdc04c28151719392022-07-19 8:22:4923 days 6 hrs ago DeversiFi: Bridge0xdfdade6a1be72956dc278dc41c5a1d164d5715240.‍14863303 Ether
0xec35145caee324347f226619ec077025141c5bf63b350cc115d7f870482787c0151590072022-07-17 8:06:4125 days 6 hrs ago DeversiFi: Bridge0x12734f36e365ed769b16b4157e26b9ee7180e8ca0.‍03070362 Ether
0xadf2ad9fd2781b3802e6e4cbe524e4ff3a2af79561a8f359811ea7c8203080bf151561232022-07-16 21:26:2425 days 17 hrs ago DeversiFi: Bridge0xaa1432a11c468d1b91b2b320874af55294b3917d0.‍0425311 Ether
0x99ecde6c791490db13aa477b4733e564fb244dc9cb7c1c7068c8d6e66d091d5f150987472022-07-08 0:41:5634 days 13 hrs ago DeversiFi: Bridge0xfb325ee61cef82a6e360755aa2fc105d545b07fd1 Ether
0xb68ee06473ec59ab97ad121a7af68860c739d4a407286732f44a62d83fedfb86150780372022-07-04 19:45:5637 days 18 hrs ago DeversiFi: Bridge0x46dc9752e8b2de1b2620400be682eb90d63a2d570.‍01990814 Ether
0xd32bc89281dcc149a034e2fc6f50aa03acaf68bcf52fdf8622018575fc5377e9150647892022-07-02 18:41:2639 days 19 hrs ago DeversiFi: BridgeDeversiFi258.‍32033996 Ether
0xa13871336ac15d1d4fcadeb3ac9b5d1e0cd993e3cd50c3ac290afa1bff1ca502150604572022-07-02 2:54:0440 days 11 hrs ago DeversiFi: BridgeDeversiFi525.‍59983792 Ether
0x6d876260a84954cdacec3e760bc6839c0b4b423aa9d5712df238a97b0df8ef1c150331462022-06-27 7:07:0845 days 7 hrs ago DeversiFi: Bridge0xeae3b77b043a7a5495f06c0e1493f768d970ba170.‍0397 Ether
0xbabe7de4e055bd699eb0ba209899ac3d7a6f75cc4f4d51dd92c1b726138c1161150329232022-06-27 6:13:1345 days 8 hrs ago DeversiFi: Bridge0x36e4e772d944f0ae76cdd10cb9e8831dafe012170.‍0307 Ether
0x961828182b5eb70c90178b6c4897e1e4377a028bdc52493679c637ef4ac120f8150328472022-06-27 5:54:3245 days 8 hrs ago DeversiFi: Bridge0x3f5f0a3c2bade99b8bada323de75c7039e7f90330.‍039701 Ether
0xb52c8e7f9cd455d2bd4cd77f69de83d55af326f425b27f5e48c9313ef4b4688c150327902022-06-27 5:39:0845 days 8 hrs ago DeversiFi: Bridge0xd8cad6446c960b4915032c9d699710b765d73e080.‍0407 Ether
0xca6c1c8587ebeb057141c39fa7709ba53281692e8a2c478901ac1dcc7b489ebf150320042022-06-27 2:09:2945 days 12 hrs ago DeversiFi: Bridge0x29dad5fa124b480996701d17c3a259f4d869d64c0.‍04574 Ether
0x0f086c04ba38a1c9e5c61d515919bed42909e2626da87de98ebea57f3390f071150302412022-06-26 18:15:0945 days 20 hrs ago DeversiFi: Bridge0x2e3d301d879296d62d268ee4950a589408b50e3a0.‍0247 Ether
0x15bdefafe45268a1043303dc4735ec631f6b84257a93827a61c3c17752f10909150297402022-06-26 15:50:4745 days 22 hrs ago DeversiFi: Bridge0x6dfdc3b8a096e967653121a858f48ee88ac7b8da0.‍0227 Ether
0xd952f41cf4fef74a5b3503fac161360512e654a35841461f5c2aaf6013577953150288412022-06-26 11:50:3046 days 2 hrs ago DeversiFi: Bridge0x209d8a403f90b87a7147d8a624e14681c9a9bcf30.‍0397 Ether
[ Download CSV Export 
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 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
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.