Contract 0x897c27Fa372AA730D4C75B1243E7EA38879194E2 1

 
 
Txn Hash
Method
Block
From
To
Value
0x07d514ae30921bb6a8c94e85872b7578cf55d48592ff87d472722f8bb4feb25fTransfer ETH To ...153199862022-08-11 9:46:375 hrs 3 mins ago0x3c0d89bd13a7f55dee2b66b6c3cbe1c7ef94ba5f IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍24394228 Ether0.‍00098788 19.‍28255571
0x7fd09c9402f5e37db2217fbf062e152fd9c9561f97bc6b28e253946c49615991Submit Batch153127802022-08-10 6:30:241 day 8 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍001076278.‍16068352
0x85cf3268d64beacf18177e45d7c625c05327cc8397b2ff4a2c3faff883b2c1a9Transfer To Chai...153099062022-08-09 19:42:261 day 19 hrs ago0xa900bf26d4cf4210816718d783db08971105fe82 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍00071021 12.‍26087004
0xc6c6cefaa35b3a40a0198f03dc9f8f9c14c9d69703dd9368abd80562a9fb8a05Submit Batch153096652022-08-09 18:55:481 day 19 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍0031250427.‍58249062
0x8f38383600607c0157ae9b1bd99b101f99bd99d4efdaecc083fc357a0b52fb12Submit Batch153095822022-08-09 18:37:281 day 20 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍0034000230.‍00000102
0xdfae791b0a8bcfe56777494691875cbc6028762d746817d1f8d8863288e096a5Submit Batch153085782022-08-09 14:37:242 days 12 mins ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍0035641527.‍31698176
0xe22401cbf1367fff148f336db63c613d806ec09dd3a2f443aa929d8045b15067Submit Batch153068022022-08-09 7:59:562 days 6 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍0012505111.‍11154073
0x64365f8f7281ea139f75bbf8922147afd6ce4d449fdac5e723bf390948db390eSubmit Batch153008472022-08-08 9:52:263 days 4 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍0014867713.‍21085132
0x1fadd99f9121e8345cbadaef3593fd7b25b4d6b3b9d9346ee1edaa9742c13083Transfer ETH To ...152949052022-08-07 11:30:004 days 3 hrs ago0x20f701453d25c2877dbb2f10f9cbd2861b8fb859 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍00002586 Ether0.‍00017013 3.‍32006788
0xbdff3b0ea5ac5785ae525444e8dbccd2a1d2195d49e86a435ec33425d43a484bTransfer ETH To ...152874102022-08-06 7:32:345 days 7 hrs ago0xaeac266a4533cb0b4255ea2922f997353a18b2e8 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍04347992 Ether0.‍000307466
0xf622f253d9d79166c1cdc97438a8594d5a7086d2d8c701fe67782bb5de30748bSubmit Batch152849432022-08-05 22:12:495 days 16 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍001015167.‍74376089
0x2948e44e4dd2c923be92af1903b7fe922922f1d7afc65d2ab15a888936a81801Submit Batch152831312022-08-05 15:24:095 days 23 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍0015664813.‍9191214
0xe68f66bbcbed53b511c4c7bf7d3905bde444086a7cc8e087622b6f46ee2b4693Submit Batch152830822022-08-05 15:14:135 days 23 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍002590218.‍8321198
0x368f8eb2d0b7e52b7c6d63a754b25a3a8be7e2b1d8e9d2051a6250d939aa9d1bTransfer ETH To ...152811452022-08-05 8:12:036 days 6 hrs ago0x9a5ccb6c33db659a5928552a412c1bc8d4b91b79 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍00095 Ether0.‍0007174114
0x54c8915e9e4a09af72c1af5c8368dad6e6c97804ee1549d95e488395e970b47cSubmit Batch152787512022-08-04 23:20:446 days 15 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍0012155210.‍58836582
0x17998f6c7c3bd67ddbc337e863b3880b6773d55f659f8d5d434bb558805cbf62Submit Batch152647462022-08-02 18:38:068 days 20 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍000954288.‍42279219
0xdd914bd36a6bbdf12fd3bd006e4f07fcdf07310a8c07ac977d95a67c668e0de0Transfer ETH To ...152484162022-07-31 5:38:0311 days 9 hrs ago0xef15e58fd7d227aee8c0ae5c59f2eeb259bb3b7f IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍00089678 Ether0.‍00019872 3.‍87793739
0xa5e626c9847d5c443e915f3ec048dd88420e0b42289254a60e5dbfe85da108cbSubmit Batch152360152022-07-29 7:24:5813 days 7 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍0017630415.‍5644119
0x004a26635faf1f49be8f9936c708ee0439989b75c636644c915b6c496d222604Submit Batch152305102022-07-28 10:32:1714 days 4 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍000700455.‍3115566
0x4e9a0a71071a6c6b927df53a8d3bcc3c6ceb6af4ab64d425d080eb3184a8d857Submit Batch152299602022-07-28 8:31:0914 days 6 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍0015951213.‍89796249
0xa47d176c87dd33ca441e763a94668ad0fa1bfc9778869b7aec848a18d899f22fTransfer ETH To ...152291582022-07-28 5:42:1914 days 9 hrs ago0x5933e5e2b3bb91c7d9eca66cd12e078a2c053ada IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍10306539 Ether0.‍00055819 10.‍89292236
0xf49b0e33776b7203ea29804e9b443cc3c0e482e00402a3c5be3aba740e0ed718Submit Batch152258072022-07-27 17:18:3714 days 21 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍0024663321.‍64020019
0x9a5df55176d28239b8c769b369408558bbbf2db9fd004027a5d7eb15472df83cTransfer To Chai...152250502022-07-27 14:22:3715 days 27 mins ago0x425ef5ade55408017818265f271666e7bb16659a IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍00103072 16.‍14320807
0x1a3b4f6cfdb514fdafa290f28078895ddadc80d8f22bee17ce1d07f456783896Submit Batch152235812022-07-27 8:59:3115 days 5 hrs ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍001286329.‍29952051
0x7bb38ae7204f5e31d6276a57cf0c6e9b59ea9d10cc96ab0dd351565f4600da30Submit Batch152185632022-07-26 14:15:0416 days 34 mins ago0x6d5fd7b9385da6734e596d1e75e55dec945f53f2 IN  0x897c27fa372aa730d4c75b1243e7ea38879194e20 Ether0.‍0052234746.‍09409843
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x07d514ae30921bb6a8c94e85872b7578cf55d48592ff87d472722f8bb4feb25f153199862022-08-11 9:46:375 hrs 3 mins ago 0x897c27fa372aa730d4c75b1243e7ea38879194e2 Wrapped Ether0.‍24394228 Ether
0xc6c6cefaa35b3a40a0198f03dc9f8f9c14c9d69703dd9368abd80562a9fb8a05153096652022-08-09 18:55:481 day 19 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e20xa900bf26d4cf4210816718d783db08971105fe820.‍19821628 Ether
0xc6c6cefaa35b3a40a0198f03dc9f8f9c14c9d69703dd9368abd80562a9fb8a05153096652022-08-09 18:55:481 day 19 hrs ago Wrapped Ether 0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍19821628 Ether
0x8f38383600607c0157ae9b1bd99b101f99bd99d4efdaecc083fc357a0b52fb12153095822022-08-09 18:37:281 day 20 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e20x0aac49058dd79c044f48d7380690b5f9dcfe187a0.‍01140674 Ether
0x8f38383600607c0157ae9b1bd99b101f99bd99d4efdaecc083fc357a0b52fb12153095822022-08-09 18:37:281 day 20 hrs ago Wrapped Ether 0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍01140674 Ether
0xe22401cbf1367fff148f336db63c613d806ec09dd3a2f443aa929d8045b15067153068022022-08-09 7:59:562 days 6 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e20x7d7b63f1c84c37cf7cba70ba9a6a133faa293d920.‍0324374 Ether
0xe22401cbf1367fff148f336db63c613d806ec09dd3a2f443aa929d8045b15067153068022022-08-09 7:59:562 days 6 hrs ago Wrapped Ether 0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍0324374 Ether
0x64365f8f7281ea139f75bbf8922147afd6ce4d449fdac5e723bf390948db390e153008472022-08-08 9:52:263 days 4 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e20xa1e005bebd50a130d3006b5962b3518d79368bea0.‍05206332 Ether
0x64365f8f7281ea139f75bbf8922147afd6ce4d449fdac5e723bf390948db390e153008472022-08-08 9:52:263 days 4 hrs ago Wrapped Ether 0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍05206332 Ether
0x1fadd99f9121e8345cbadaef3593fd7b25b4d6b3b9d9346ee1edaa9742c13083152949052022-08-07 11:30:004 days 3 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e2 Wrapped Ether0.‍00002586 Ether
0xbdff3b0ea5ac5785ae525444e8dbccd2a1d2195d49e86a435ec33425d43a484b152874102022-08-06 7:32:345 days 7 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e2 Wrapped Ether0.‍04347992 Ether
0x2948e44e4dd2c923be92af1903b7fe922922f1d7afc65d2ab15a888936a81801152831312022-08-05 15:24:095 days 23 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e20x2811034b8b10067f3a6e24402268d7e1609457ca0.‍02993482 Ether
0x2948e44e4dd2c923be92af1903b7fe922922f1d7afc65d2ab15a888936a81801152831312022-08-05 15:24:095 days 23 hrs ago Wrapped Ether 0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍02993482 Ether
0xe68f66bbcbed53b511c4c7bf7d3905bde444086a7cc8e087622b6f46ee2b4693152830822022-08-05 15:14:135 days 23 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e20x4d3c930e6d2eb9b2e25f8b754350cd537e8da2fc0.‍002 Ether
0xe68f66bbcbed53b511c4c7bf7d3905bde444086a7cc8e087622b6f46ee2b4693152830822022-08-05 15:14:135 days 23 hrs ago Wrapped Ether 0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍002 Ether
0x368f8eb2d0b7e52b7c6d63a754b25a3a8be7e2b1d8e9d2051a6250d939aa9d1b152811452022-08-05 8:12:036 days 6 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e2 Wrapped Ether0.‍00095 Ether
0x17998f6c7c3bd67ddbc337e863b3880b6773d55f659f8d5d434bb558805cbf62152647462022-08-02 18:38:068 days 20 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e20xe6754df4f87220ae3ddfd4fb8e988b780d74a08e0.‍0012613 Ether
0x17998f6c7c3bd67ddbc337e863b3880b6773d55f659f8d5d434bb558805cbf62152647462022-08-02 18:38:068 days 20 hrs ago Wrapped Ether 0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍0012613 Ether
0xdd914bd36a6bbdf12fd3bd006e4f07fcdf07310a8c07ac977d95a67c668e0de0152484162022-07-31 5:38:0311 days 9 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e2 Wrapped Ether0.‍00089678 Ether
0xa5e626c9847d5c443e915f3ec048dd88420e0b42289254a60e5dbfe85da108cb152360152022-07-29 7:24:5813 days 7 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e20xa1e005bebd50a130d3006b5962b3518d79368bea0.‍01143 Ether
0xa5e626c9847d5c443e915f3ec048dd88420e0b42289254a60e5dbfe85da108cb152360152022-07-29 7:24:5813 days 7 hrs ago Wrapped Ether 0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍01143 Ether
0xa47d176c87dd33ca441e763a94668ad0fa1bfc9778869b7aec848a18d899f22f152291582022-07-28 5:42:1914 days 9 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e2 Wrapped Ether0.‍10306539 Ether
0x1a3b4f6cfdb514fdafa290f28078895ddadc80d8f22bee17ce1d07f456783896152235812022-07-27 8:59:3115 days 5 hrs ago 0x897c27fa372aa730d4c75b1243e7ea38879194e20xd156f50f0d4ccacada2e24bf1489826a57c3bfa20.‍00004978 Ether
0x1a3b4f6cfdb514fdafa290f28078895ddadc80d8f22bee17ce1d07f456783896152235812022-07-27 8:59:3115 days 5 hrs ago Wrapped Ether 0x897c27fa372aa730d4c75b1243e7ea38879194e20.‍00004978 Ether
0x7bb38ae7204f5e31d6276a57cf0c6e9b59ea9d10cc96ab0dd351565f4600da30152185632022-07-26 14:15:0416 days 34 mins ago 0x897c27fa372aa730d4c75b1243e7ea38879194e20x8168898553dfd6cbc2087a22c020da092e4a9bf10.‍00177771 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Hub2Eth

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-12-03
*/

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.1.0/contracts/utils/ReentrancyGuard.sol



pragma solidity ^0.6.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor () internal {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and make it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.1.0/contracts/utils/Address.sol



pragma solidity ^0.6.2;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

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

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

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

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

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

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.1.0/contracts/token/ERC20/IERC20.sol



pragma solidity ^0.6.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.1.0/contracts/math/SafeMath.sol



pragma solidity ^0.6.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// File: https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v3.1.0/contracts/token/ERC20/SafeERC20.sol



pragma solidity ^0.6.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: hub2eth.sol



pragma solidity ^0.6.6;






pragma experimental ABIEncoderV2;

// This is being used purely to avoid stack too deep errors
struct LogicCallArgs {
	// Transfers out to the logic contract
	uint256[] transferAmounts;
	address[] transferTokenContracts;
	// The fees (transferred to msg.sender)
	uint256[] feeAmounts;
	address[] feeTokenContracts;
	// The arbitrary logic call
	address logicContractAddress;
	bytes payload;
	// Invalidation metadata
	uint256 timeOut;
	bytes32 invalidationId;
	uint256 invalidationNonce;
}

interface IWETH {
    function deposit() external payable;
    function withdraw(uint) external;
}

contract Hub2Eth is ReentrancyGuard {
	using SafeMath for uint256;
	using SafeMath for uint;
	using SafeERC20 for IERC20;

	// These are updated often
	bytes32 public state_lastValsetCheckpoint;
	mapping(address => uint256) public state_lastBatchNonces;
	mapping(bytes32 => uint256) public state_invalidationMapping;
	uint256 public state_lastValsetNonce = 0;
	// event nonce zero is reserved by the Cosmos module as a special
	// value indicating that no events have yet been submitted
	uint256 public state_lastEventNonce = 1;

	// These are set once at initialization
	bytes32 public state_gravityId;
	uint256 public state_powerThreshold;

	address public wethAddress;

	address public guardian;

	// TransactionBatchExecutedEvent and TransferToChain both include the field _eventNonce.
	// This is incremented every time one of these events is emitted. It is checked by the
	// Cosmos module to ensure that all events are received in order, and that none are lost.
	//
	// ValsetUpdatedEvent does not include the field _eventNonce because it is never submitted to the Cosmos
	// module. It is purely for the use of relayers to allow them to successfully submit batches.
	event TransactionBatchExecutedEvent(
		uint256 indexed _batchNonce,
		address indexed _token,
		uint256 _eventNonce
	);
	event TransferToChainEvent(
		address indexed _tokenContract,
		address indexed _sender,
		bytes32 indexed _destinationChain,
		bytes32 _destination,
		uint256 _amount,
		uint256 _fee,
		uint256 _eventNonce
	);
	event ValsetUpdatedEvent(
		uint256 indexed _newValsetNonce,
		uint256 _eventNonce,
		address[] _validators,
		uint256[] _powers
	);
	event LogicCallEvent(
		bytes32 _invalidationId,
		uint256 _invalidationNonce,
		uint256 _eventNonce,
		bytes _returnData
	);

	receive() external payable {
        assert(msg.sender == wethAddress); // only accept ETH via fallback from the WETH contract
    }

	function lastBatchNonce(address _erc20Address) public view returns (uint256) {
		return state_lastBatchNonces[_erc20Address];
	}

	function lastLogicCallNonce(bytes32 _invalidation_id) public view returns (uint256) {
		return state_invalidationMapping[_invalidation_id];
	}

	// Utility function to verify geth style signatures
	function verifySig(
		address _signer,
		bytes32 _theHash,
		uint8 _v,
		bytes32 _r,
		bytes32 _s
	) private pure returns (bool) {
		bytes32 messageDigest =
			keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", _theHash));
		return _signer == ecrecover(messageDigest, _v, _r, _s);
	}

	// Make a new checkpoint from the supplied validator set
	// A checkpoint is a hash of all relevant information about the valset. This is stored by the contract,
	// instead of storing the information directly. This saves on storage and gas.
	// The format of the checkpoint is:
	// h(gravityId, "checkpoint", valsetNonce, validators[], powers[])
	// Where h is the keccak256 hash function.
	// The validator powers must be decreasing or equal. This is important for checking the signatures on the
	// next valset, since it allows the caller to stop verifying signatures once a quorum of signatures have been verified.
	function makeCheckpoint(
		address[] memory _validators,
		uint256[] memory _powers,
		uint256 _valsetNonce,
		bytes32 _gravityId
	) private pure returns (bytes32) {
		// bytes32 encoding of the string "checkpoint"
		bytes32 methodName = 0x636865636b706f696e7400000000000000000000000000000000000000000000;

		bytes32 checkpoint =
			keccak256(abi.encode(_gravityId, methodName, _valsetNonce, _validators, _powers));

		return checkpoint;
	}

	function checkValidatorSignatures(
		// The current validator set and their powers
		address[] memory _currentValidators,
		uint256[] memory _currentPowers,
		// The current validator's signatures
		uint8[] memory _v,
		bytes32[] memory _r,
		bytes32[] memory _s,
		// This is what we are checking they have signed
		bytes32 _theHash,
		uint256 _powerThreshold
	) private pure {
		uint256 cumulativePower = 0;

		for (uint256 i = 0; i < _currentValidators.length; i++) {
			// If v is set to 0, this signifies that it was not possible to get a signature from this validator and we skip evaluation
			// (In a valid signature, it is either 27 or 28)
			if (_v[i] != 0) {
				// Check that the current validator has signed off on the hash
				require(
					verifySig(_currentValidators[i], _theHash, _v[i], _r[i], _s[i]),
					"Validator signature does not match."
				);

				// Sum up cumulative power
				cumulativePower = cumulativePower + _currentPowers[i];

				// Break early to avoid wasting gas
				if (cumulativePower > _powerThreshold) {
					break;
				}
			}
		}

		// Check that there was enough power
		require(
			cumulativePower > _powerThreshold,
			"Submitted validator set signatures do not have enough power."
		);
		// Success
	}

	// This updates the valset by checking that the validators in the current valset have signed off on the
	// new valset. The signatures supplied are the signatures of the current valset over the checkpoint hash
	// generated from the new valset.
	// Anyone can call this function, but they must supply valid signatures of state_powerThreshold of the current valset over
	// the new valset.
	function updateValset(
		// The new version of the validator set
		address[] memory _newValidators,
		uint256[] memory _newPowers,
		uint256 _newValsetNonce,
		// The current validators that approve the change
		address[] memory _currentValidators,
		uint256[] memory _currentPowers,
		uint256 _currentValsetNonce,
		// These are arrays of the parts of the current validator's signatures
		uint8[] memory _v,
		bytes32[] memory _r,
		bytes32[] memory _s
	) public nonReentrant {
		// CHECKS

		// Check that the valset nonce is greater than the old one
		require(
			_newValsetNonce > _currentValsetNonce,
			"New valset nonce must be greater than the current nonce"
		);

		// Check that new validators and powers set is well-formed
		require(_newValidators.length == _newPowers.length, "Malformed new validator set");

		// Check that current validators, powers, and signatures (v,r,s) set is well-formed
		require(
			_currentValidators.length == _currentPowers.length &&
				_currentValidators.length == _v.length &&
				_currentValidators.length == _r.length &&
				_currentValidators.length == _s.length,
			"Malformed current validator set"
		);

		// Check that the supplied current validator set matches the saved checkpoint
		require(
			makeCheckpoint(
				_currentValidators,
				_currentPowers,
				_currentValsetNonce,
				state_gravityId
			) == state_lastValsetCheckpoint,
			"Supplied current validators and powers do not match checkpoint."
		);

		// Check that enough current validators have signed off on the new validator set
		bytes32 newCheckpoint =
			makeCheckpoint(_newValidators, _newPowers, _newValsetNonce, state_gravityId);

		checkValidatorSignatures(
			_currentValidators,
			_currentPowers,
			_v,
			_r,
			_s,
			newCheckpoint,
			state_powerThreshold
		);

		// ACTIONS

		// Stored to be used next time to validate that the valset
		// supplied by the caller is correct.
		state_lastValsetCheckpoint = newCheckpoint;

		// Store new nonce
		state_lastValsetNonce = _newValsetNonce;

		// LOGS
		state_lastEventNonce = state_lastEventNonce.add(1);
		emit ValsetUpdatedEvent(_newValsetNonce, state_lastEventNonce, _newValidators, _newPowers);
	}

	// submitBatch processes a batch of Cosmos -> Ethereum transactions by sending the tokens in the transactions
	// to the destination addresses. It is approved by the current Cosmos validator set.
	// Anyone can call this function, but they must supply valid signatures of state_powerThreshold of the current valset over
	// the batch.
	function submitBatch(
		// The validators that approve the batch
		address[] memory _currentValidators,
		uint256[] memory _currentPowers,
		uint256 _currentValsetNonce,
		// These are arrays of the parts of the validators signatures
		uint8[] memory _v,
		bytes32[] memory _r,
		bytes32[] memory _s,
		// The batch of transactions
		uint256[] memory _amounts,
		address payable[] memory _destinations,
		uint256[] memory _fees,
		uint256 _batchNonce,
		address _tokenContract,
		// a block height beyond which this batch is not valid
		// used to provide a fee-free timeout
		uint256 _batchTimeout
	) public nonReentrant {
		// CHECKS scoped to reduce stack depth
		{
			// Check that the batch nonce is higher than the last nonce for this token
			require(
				state_lastBatchNonces[_tokenContract] < _batchNonce,
				"New batch nonce must be greater than the current nonce"
			);

			// Check that the block height is less than the timeout height
			require(
				block.number < _batchTimeout,
				"Batch timeout must be greater than the current block height"
			);

			// Check that current validators, powers, and signatures (v,r,s) set is well-formed
			require(
				_currentValidators.length == _currentPowers.length &&
					_currentValidators.length == _v.length &&
					_currentValidators.length == _r.length &&
					_currentValidators.length == _s.length,
				"Malformed current validator set"
			);

			// Check that the supplied current validator set matches the saved checkpoint
			require(
				makeCheckpoint(
					_currentValidators,
					_currentPowers,
					_currentValsetNonce,
					state_gravityId
				) == state_lastValsetCheckpoint,
				"Supplied current validators and powers do not match checkpoint."
			);

			// Check that the transaction batch is well-formed
			require(
				_amounts.length == _destinations.length && _amounts.length == _fees.length,
				"Malformed batch of transactions"
			);

			// Check that enough current validators have signed off on the transaction batch and valset
			checkValidatorSignatures(
				_currentValidators,
				_currentPowers,
				_v,
				_r,
				_s,
				// Get hash of the transaction batch and checkpoint
				keccak256(
					abi.encode(
						state_gravityId,
						// bytes32 encoding of "transactionBatch"
						0x7472616e73616374696f6e426174636800000000000000000000000000000000,
						_amounts,
						_destinations,
						_fees,
						_batchNonce,
						_tokenContract,
						_batchTimeout
					)
				),
				state_powerThreshold
			);

			// ACTIONS

			// Store batch nonce
			state_lastBatchNonces[_tokenContract] = _batchNonce;

			// Send transaction amounts to destinations
			if (_tokenContract == wethAddress) {
				for (uint256 i = 0; i < _amounts.length; i++) {
					IWETH(wethAddress).withdraw(_amounts[i]);
					TransferHelper.safeTransferETH(_destinations[i], _amounts[i]);
				}
			} else {
				for (uint256 i = 0; i < _amounts.length; i++) {
					IERC20(_tokenContract).safeTransfer(_destinations[i], _amounts[i]);
				}
			}
		}

		// LOGS scoped to reduce stack depth
		{
			state_lastEventNonce = state_lastEventNonce.add(1);
			emit TransactionBatchExecutedEvent(_batchNonce, _tokenContract, state_lastEventNonce);
		}
	}

	// This makes calls to contracts that execute arbitrary logic
	// First, it gives the logic contract some tokens
	// Then, it gives msg.senders tokens for fees
	// Then, it calls an arbitrary function on the logic contract
	// invalidationId and invalidationNonce are used for replay prevention.
	// They can be used to implement a per-token nonce by setting the token
	// address as the invalidationId and incrementing the nonce each call.
	// They can be used for nonce-free replay prevention by using a different invalidationId
	// for each call.
	function submitLogicCall(
		// The validators that approve the call
		address[] memory _currentValidators,
		uint256[] memory _currentPowers,
		uint256 _currentValsetNonce,
		// These are arrays of the parts of the validators signatures
		uint8[] memory _v,
		bytes32[] memory _r,
		bytes32[] memory _s,
		LogicCallArgs memory _args
	) public nonReentrant {
		// CHECKS scoped to reduce stack depth
		{
			// Check that the call has not timed out
			require(block.number < _args.timeOut, "Timed out");

			// Check that the invalidation nonce is higher than the last nonce for this invalidation Id
			require(
				state_invalidationMapping[_args.invalidationId] < _args.invalidationNonce,
				"New invalidation nonce must be greater than the current nonce"
			);

			// Check that current validators, powers, and signatures (v,r,s) set is well-formed
			require(
				_currentValidators.length == _currentPowers.length &&
					_currentValidators.length == _v.length &&
					_currentValidators.length == _r.length &&
					_currentValidators.length == _s.length,
				"Malformed current validator set"
			);

			// Check that the supplied current validator set matches the saved checkpoint
			require(
				makeCheckpoint(
					_currentValidators,
					_currentPowers,
					_currentValsetNonce,
					state_gravityId
				) == state_lastValsetCheckpoint,
				"Supplied current validators and powers do not match checkpoint."
			);

			// Check that the token transfer list is well-formed
			require(
				_args.transferAmounts.length == _args.transferTokenContracts.length,
				"Malformed list of token transfers"
			);

			// Check that the fee list is well-formed
			require(
				_args.feeAmounts.length == _args.feeTokenContracts.length,
				"Malformed list of fees"
			);
		}

		bytes32 argsHash =
			keccak256(
				abi.encode(
					state_gravityId,
					// bytes32 encoding of "logicCall"
					0x6c6f67696343616c6c0000000000000000000000000000000000000000000000,
					_args.transferAmounts,
					_args.transferTokenContracts,
					_args.feeAmounts,
					_args.feeTokenContracts,
					_args.logicContractAddress,
					_args.payload,
					_args.timeOut,
					_args.invalidationId,
					_args.invalidationNonce
				)
			);

		{
			// Check that enough current validators have signed off on the transaction batch and valset
			checkValidatorSignatures(
				_currentValidators,
				_currentPowers,
				_v,
				_r,
				_s,
				// Get hash of the transaction batch and checkpoint
				argsHash,
				state_powerThreshold
			);
		}

		// ACTIONS

		// Update invaldiation nonce
		state_invalidationMapping[_args.invalidationId] = _args.invalidationNonce;

		// Send tokens to the logic contract
		for (uint256 i = 0; i < _args.transferAmounts.length; i++) {
			IERC20(_args.transferTokenContracts[i]).safeTransfer(
				_args.logicContractAddress,
				_args.transferAmounts[i]
			);
		}

		// Make call to logic contract
		bytes memory returnData = Address.functionCall(_args.logicContractAddress, _args.payload);

		// Send fees to msg.sender
		for (uint256 i = 0; i < _args.feeAmounts.length; i++) {
			IERC20(_args.feeTokenContracts[i]).safeTransfer(msg.sender, _args.feeAmounts[i]);
		}

		// LOGS scoped to reduce stack depth
		{
			state_lastEventNonce = state_lastEventNonce.add(1);
			emit LogicCallEvent(
				_args.invalidationId,
				_args.invalidationNonce,
				state_lastEventNonce,
				returnData
			);
		}
	}

	function transferToChain(
		address _tokenContract,
		bytes32 _destinationChain,
		bytes32 _destination,
		uint256 _amount,
		uint256 _fee
	) public nonReentrant {
		IERC20(_tokenContract).safeTransferFrom(msg.sender, address(this), _amount);
		state_lastEventNonce = state_lastEventNonce.add(1);
		emit TransferToChainEvent(
			_tokenContract,
			msg.sender,
			_destinationChain,
			_destination,
			_amount,
			_fee,
			state_lastEventNonce
		);
	}

	function transferETHToChain(
		bytes32 _destinationChain,
		bytes32 _destination,
		uint256 _fee
	) public nonReentrant payable {
		IWETH(wethAddress).deposit{value: msg.value}();
		state_lastEventNonce = state_lastEventNonce.add(1);
		emit TransferToChainEvent(
			wethAddress,
			msg.sender,
			_destinationChain,
			_destination,
			msg.value,
			_fee,
			state_lastEventNonce
		);
	}

	function changeGuardian(address _guardian) public {
		require(msg.sender == guardian, "permission denied");

		guardian = _guardian;
	}

	function panicHalt(address[] memory _tokenContracts, address _safeAddress) public {
		require(msg.sender == guardian, "permission denied");

		for (uint256 i = 0; i < _tokenContracts.length; i++) {
			IERC20 token = IERC20(_tokenContracts[i]);
			token.safeTransfer(_safeAddress, token.balanceOf(address(this)));
		}
	}

	constructor(
		// A unique identifier for this gravity instance to use in signatures
		bytes32 _gravityId,
		// How much voting power is needed to approve operations
		uint256 _powerThreshold,
		// The validator set
		address[] memory _validators,
		uint256[] memory _powers,
		address[] memory _validators2,
		uint256[] memory _powers2,
		address _wethAddress,
		address _guardian
	) public {
		// CHECKS

		// Check that validators, powers, and signatures (v,r,s) set is well-formed
		require(_validators.length == _powers.length, "Malformed current validator set");

		// Check cumulative power to ensure the contract has sufficient power to actually
		// pass a vote
		uint256 cumulativePower = 0;
		for (uint256 i = 0; i < _powers.length; i++) {
			cumulativePower = cumulativePower + _powers[i];
			if (cumulativePower > _powerThreshold) {
				break;
			}
		}
		require(
			cumulativePower > _powerThreshold,
			"Submitted validator set signatures do not have enough power."
		);

		bytes32 newCheckpoint = makeCheckpoint(_validators2, _powers2, 3, _gravityId);

		// ACTIONS

		state_gravityId = _gravityId;
		state_powerThreshold = _powerThreshold;
		state_lastValsetCheckpoint = newCheckpoint;

		wethAddress = _wethAddress;
		guardian = _guardian;

		// LOGS

		emit ValsetUpdatedEvent(state_lastValsetNonce, state_lastEventNonce, _validators, _powers);
		emit ValsetUpdatedEvent(3, 2, _validators2, _powers2);
		state_lastValsetNonce = 3;
		state_lastEventNonce = 2;
	}
}

library TransferHelper {
    function safeApprove(address token, address to, uint value) internal {
        // bytes4(keccak256(bytes('approve(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x095ea7b3, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: APPROVE_FAILED');
    }

    function safeTransfer(address token, address to, uint value) internal {
        // bytes4(keccak256(bytes('transfer(address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0xa9059cbb, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FAILED');
    }

    function safeTransferFrom(address token, address from, address to, uint value) internal {
        // bytes4(keccak256(bytes('transferFrom(address,address,uint256)')));
        (bool success, bytes memory data) = token.call(abi.encodeWithSelector(0x23b872dd, from, to, value));
        require(success && (data.length == 0 || abi.decode(data, (bool))), 'TransferHelper: TRANSFER_FROM_FAILED');
    }

    function safeTransferETH(address to, uint value) internal {
        (bool success,) = to.call{value:value}(new bytes(0));
        require(success, 'TransferHelper: ETH_TRANSFER_FAILED');
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_gravityId","type":"bytes32"},{"internalType":"uint256","name":"_powerThreshold","type":"uint256"},{"internalType":"address[]","name":"_validators","type":"address[]"},{"internalType":"uint256[]","name":"_powers","type":"uint256[]"},{"internalType":"address[]","name":"_validators2","type":"address[]"},{"internalType":"uint256[]","name":"_powers2","type":"uint256[]"},{"internalType":"address","name":"_wethAddress","type":"address"},{"internalType":"address","name":"_guardian","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"_invalidationId","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"_invalidationNonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_eventNonce","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"_returnData","type":"bytes"}],"name":"LogicCallEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_batchNonce","type":"uint256"},{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"_eventNonce","type":"uint256"}],"name":"TransactionBatchExecutedEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_tokenContract","type":"address"},{"indexed":true,"internalType":"address","name":"_sender","type":"address"},{"indexed":true,"internalType":"bytes32","name":"_destinationChain","type":"bytes32"},{"indexed":false,"internalType":"bytes32","name":"_destination","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_fee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_eventNonce","type":"uint256"}],"name":"TransferToChainEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_newValsetNonce","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_eventNonce","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"_validators","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"_powers","type":"uint256[]"}],"name":"ValsetUpdatedEvent","type":"event"},{"inputs":[{"internalType":"address","name":"_guardian","type":"address"}],"name":"changeGuardian","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"guardian","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_erc20Address","type":"address"}],"name":"lastBatchNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_invalidation_id","type":"bytes32"}],"name":"lastLogicCallNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_tokenContracts","type":"address[]"},{"internalType":"address","name":"_safeAddress","type":"address"}],"name":"panicHalt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"state_gravityId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"state_invalidationMapping","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"state_lastBatchNonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_lastEventNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_lastValsetCheckpoint","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_lastValsetNonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state_powerThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_currentValidators","type":"address[]"},{"internalType":"uint256[]","name":"_currentPowers","type":"uint256[]"},{"internalType":"uint256","name":"_currentValsetNonce","type":"uint256"},{"internalType":"uint8[]","name":"_v","type":"uint8[]"},{"internalType":"bytes32[]","name":"_r","type":"bytes32[]"},{"internalType":"bytes32[]","name":"_s","type":"bytes32[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"address payable[]","name":"_destinations","type":"address[]"},{"internalType":"uint256[]","name":"_fees","type":"uint256[]"},{"internalType":"uint256","name":"_batchNonce","type":"uint256"},{"internalType":"address","name":"_tokenContract","type":"address"},{"internalType":"uint256","name":"_batchTimeout","type":"uint256"}],"name":"submitBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_currentValidators","type":"address[]"},{"internalType":"uint256[]","name":"_currentPowers","type":"uint256[]"},{"internalType":"uint256","name":"_currentValsetNonce","type":"uint256"},{"internalType":"uint8[]","name":"_v","type":"uint8[]"},{"internalType":"bytes32[]","name":"_r","type":"bytes32[]"},{"internalType":"bytes32[]","name":"_s","type":"bytes32[]"},{"components":[{"internalType":"uint256[]","name":"transferAmounts","type":"uint256[]"},{"internalType":"address[]","name":"transferTokenContracts","type":"address[]"},{"internalType":"uint256[]","name":"feeAmounts","type":"uint256[]"},{"internalType":"address[]","name":"feeTokenContracts","type":"address[]"},{"internalType":"address","name":"logicContractAddress","type":"address"},{"internalType":"bytes","name":"payload","type":"bytes"},{"internalType":"uint256","name":"timeOut","type":"uint256"},{"internalType":"bytes32","name":"invalidationId","type":"bytes32"},{"internalType":"uint256","name":"invalidationNonce","type":"uint256"}],"internalType":"struct LogicCallArgs","name":"_args","type":"tuple"}],"name":"submitLogicCall","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_destinationChain","type":"bytes32"},{"internalType":"bytes32","name":"_destination","type":"bytes32"},{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"transferETHToChain","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenContract","type":"address"},{"internalType":"bytes32","name":"_destinationChain","type":"bytes32"},{"internalType":"bytes32","name":"_destination","type":"bytes32"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"transferToChain","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_newValidators","type":"address[]"},{"internalType":"uint256[]","name":"_newPowers","type":"uint256[]"},{"internalType":"uint256","name":"_newValsetNonce","type":"uint256"},{"internalType":"address[]","name":"_currentValidators","type":"address[]"},{"internalType":"uint256[]","name":"_currentPowers","type":"uint256[]"},{"internalType":"uint256","name":"_currentValsetNonce","type":"uint256"},{"internalType":"uint8[]","name":"_v","type":"uint8[]"},{"internalType":"bytes32[]","name":"_r","type":"bytes32[]"},{"internalType":"bytes32[]","name":"_s","type":"bytes32[]"}],"name":"updateValset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wethAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600060045560016005553480156200001b57600080fd5b5060405162002a9438038062002a948339810160408190526200003e91620002f7565b60016000558451865114620000705760405162461bcd60e51b815260040162000067906200053a565b60405180910390fd5b6000805b8651811015620000af578681815181106200008b57fe5b60200260200101518201915088821115620000a657620000af565b60010162000074565b50878111620000d25760405162461bcd60e51b81526004016200006790620004dd565b6000620000e3868660038d620001a2565b60068b905560078a90556001819055600880546001600160a01b038088166001600160a01b0319928316179092556009805492871692909116919091179055600454600554604051929350909160008051602062002a748339815191529162000150918c908c90620004a4565b60405180910390a2600360008051602062002a74833981519152600288886040516200017f93929190620004a4565b60405180910390a2505060036004555050600260055550620005b8945050505050565b6040516000906918da1958dadc1bda5b9d60b21b908290620001d1908590849088908b908b906020016200045d565b60408051808303601f190181529190528051602090910120979650505050505050565b80516001600160a01b03811681146200020c57600080fd5b92915050565b600082601f83011262000223578081fd5b81516200023a620002348262000598565b62000571565b8181529150602080830190848101818402860182018710156200025c57600080fd5b60005b848110156200028757620002748883620001f4565b845292820192908201906001016200025f565b505050505092915050565b600082601f830112620002a3578081fd5b8151620002b4620002348262000598565b818152915060208083019084810181840286018201871015620002d657600080fd5b60005b848110156200028757815184529282019290820190600101620002d9565b600080600080600080600080610100898b03121562000314578384fd5b885160208a015160408b015191995097506001600160401b03808211156200033a578586fd5b620003488c838d0162000212565b975060608b01519150808211156200035e578586fd5b6200036c8c838d0162000292565b965060808b015191508082111562000382578586fd5b620003908c838d0162000212565b955060a08b0151915080821115620003a6578485fd5b50620003b58b828c0162000292565b935050620003c78a60c08b01620001f4565b9150620003d88a60e08b01620001f4565b90509295985092959890939650565b6000815180845260208085019450808401835b83811015620004215781516001600160a01b031687529582019590820190600101620003fa565b509495945050505050565b6000815180845260208085019450808401835b8381101562000421578151875295820195908201906001016200043f565b600086825285602083015284604083015260a060608301526200048460a0830185620003e7565b82810360808401526200049881856200042c565b98975050505050505050565b600084825260606020830152620004bf6060830185620003e7565b8281036040840152620004d381856200042c565b9695505050505050565b6020808252603c908201527f5375626d69747465642076616c696461746f7220736574207369676e6174757260408201527f657320646f206e6f74206861766520656e6f75676820706f7765722e00000000606082015260800190565b6020808252601f908201527f4d616c666f726d65642063757272656e742076616c696461746f722073657400604082015260600190565b6040518181016001600160401b03811182821017156200059057600080fd5b604052919050565b60006001600160401b03821115620005ae578081fd5b5060209081020190565b6124ac80620005c86000396000f3fe60806040526004361061010d5760003560e01c806383b435db11610095578063df97174b11610064578063df97174b146102b9578063e2d7c048146102d9578063e3cb9f62146102ec578063e5a2b5d21461030c578063f2b533071461032157610128565b806383b435db1461024f578063b56561fe1461026f578063bdda81d414610284578063c9d194d51461029957610128565b8063452a9320116100dc578063452a9320146101c35780634f0e0ef3146101e557806373b20547146101fa5780637dfb6f861461020f5780637ecccecc1461022f57610128565b8063011b21741461012d5780630c246c82146101635780631762d25a146101835780632fcb4f04146101a357610128565b36610128576008546001600160a01b0316331461012657fe5b005b600080fd5b34801561013957600080fd5b5061014d610148366004611676565b610336565b60405161015a9190611cb4565b60405180910390f35b34801561016f57600080fd5b5061012661017e3660046119e7565b610351565b34801561018f57600080fd5b5061012661019e3660046116d5565b610668565b3480156101af57600080fd5b506101266101be366004611676565b610755565b3480156101cf57600080fd5b506101d86107a1565b60405161015a9190611c63565b3480156101f157600080fd5b506101d86107b0565b34801561020657600080fd5b5061014d6107bf565b34801561021b57600080fd5b5061014d61022a366004611aff565b6107c5565b34801561023b57600080fd5b5061012661024a366004611692565b6107d7565b34801561025b57600080fd5b5061012661026a36600461184a565b61087e565b34801561027b57600080fd5b5061014d610ba8565b34801561029057600080fd5b5061014d610bae565b3480156102a557600080fd5b5061014d6102b4366004611aff565b610bb4565b3480156102c557600080fd5b5061014d6102d4366004611676565b610bc6565b6101266102e7366004611b17565b610bd8565b3480156102f857600080fd5b50610126610307366004611724565b610cd2565b34801561031857600080fd5b5061014d610e3c565b34801561032d57600080fd5b5061014d610e42565b6001600160a01b031660009081526002602052604090205490565b6002600054141561037d5760405162461bcd60e51b81526004016103749061238b565b60405180910390fd5b600260005560c081015143106103a55760405162461bcd60e51b815260040161037490612070565b61010081015160e0820151600090815260036020526040902054106103dc5760405162461bcd60e51b815260040161037490611fdc565b855187511480156103ee575083518751145b80156103fb575082518751145b8015610408575081518751145b6104245760405162461bcd60e51b815260040161037490612354565b600154610435888888600654610e48565b146104525760405162461bcd60e51b815260040161037490611ef2565b602081015151815151146104785760405162461bcd60e51b815260040161037490612133565b806060015151816040015151146104a15760405162461bcd60e51b815260040161037490611ec2565b6000600654681b1bd9da58d0d85b1b60ba1b836000015184602001518560400151866060015187608001518860a001518960c001518a60e001518b61010001516040516020016104fb9b9a99989796959493929190611d00565b604051602081830303815290604052805190602001209050610524888887878786600754610e9a565b61010082015160e08301516000908152600360205260408120919091555b8251518110156105a45761059c83608001518460000151838151811061056457fe5b60200260200101518560200151848151811061057c57fe5b60200260200101516001600160a01b0316610f919092919063ffffffff16565b600101610542565b5060606105b983608001518460a00151610fe7565b905060005b8360400151518110156105ff576105f733856040015183815181106105df57fe5b60200260200101518660600151848151811061057c57fe5b6001016105be565b5060055461060e906001611032565b600581905560e08401516101008501516040517ff91c95577d70e79c860c20704cbae1beca2045c2e55e466e8a5223f1c0866c93936106509392918690611e47565b60405180910390a15050600160005550505050505050565b6009546001600160a01b031633146106925760405162461bcd60e51b8152600401610374906121ab565b60005b82518110156107505760008382815181106106ac57fe5b6020026020010151905061074783826001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016106e69190611c63565b60206040518083038186803b1580156106fe57600080fd5b505afa158015610712573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107369190611b42565b6001600160a01b0384169190610f91565b50600101610695565b505050565b6009546001600160a01b0316331461077f5760405162461bcd60e51b8152600401610374906121ab565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6009546001600160a01b031681565b6008546001600160a01b031681565b60055481565b60036020526000908152604090205481565b600260005414156107fa5760405162461bcd60e51b81526004016103749061238b565b60026000556108146001600160a01b038616333085611057565b600554610822906001611032565b6005819055604051859133916001600160a01b038916917f7f4f5725b195c7be189dc38c65df0483114975b57463ac93012ba3ede3b56a959161086a91899189918991611e76565b60405180910390a450506001600055505050565b600260005414156108a15760405162461bcd60e51b81526004016103749061238b565b600260008181556001600160a01b0384168152602091909152604090205483116108dd5760405162461bcd60e51b815260040161037490611f4f565b8043106108fc5760405162461bcd60e51b8152600401610374906120d6565b8a518c5114801561090e575088518c51145b801561091b575087518c51145b8015610928575086518c51145b6109445760405162461bcd60e51b815260040161037490612354565b6001546109558d8d8d600654610e48565b146109725760405162461bcd60e51b815260040161037490611ef2565b84518651148015610984575083518651145b6109a05760405162461bcd60e51b815260040161037490611fa5565b6109fa8c8c8b8b8b6006546f0e8e4c2dce6c2c6e8d2dedc84c2e8c6d60831b8d8d8d8d8d8d6040516020016109dc989796959493929190611da6565b60405160208183030381529060405280519060200120600754610e9a565b6001600160a01b0380831660008181526002602052604090208590556008549091161415610ae55760005b8651811015610adf5760085487516001600160a01b0390911690632e1a7d4d90899084908110610a5157fe5b60200260200101516040518263ffffffff1660e01b8152600401610a759190611cb4565b600060405180830381600087803b158015610a8f57600080fd5b505af1158015610aa3573d6000803e3d6000fd5b50505050610ad7868281518110610ab657fe5b6020026020010151888381518110610aca57fe5b602002602001015161107e565b600101610a25565b50610b3f565b60005b8651811015610b3d57610b35868281518110610b0057fe5b6020026020010151888381518110610b1457fe5b6020026020010151856001600160a01b0316610f919092919063ffffffff16565b600101610ae8565b505b600554610b4d906001611032565b60058190556040516001600160a01b0384169185917f02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab70891610b8d91611cb4565b60405180910390a35050600160005550505050505050505050565b60045481565b60065481565b60009081526003602052604090205490565b60026020526000908152604090205481565b60026000541415610bfb5760405162461bcd60e51b81526004016103749061238b565b6002600090815560085460408051630d0e30db60e41b815290516001600160a01b039092169263d0e30db0923492600480820193929182900301818588803b158015610c4657600080fd5b505af1158015610c5a573d6000803e3d6000fd5b5050505050610c75600160055461103290919063ffffffff16565b6005819055600854604051859233926001600160a01b0316917f7f4f5725b195c7be189dc38c65df0483114975b57463ac93012ba3ede3b56a9591610cc09188913491899190611e76565b60405180910390a45050600160005550565b60026000541415610cf55760405162461bcd60e51b81526004016103749061238b565b6002600055838711610d195760405162461bcd60e51b815260040161037490612233565b8751895114610d3a5760405162461bcd60e51b815260040161037490612174565b84518651148015610d4c575082518651145b8015610d59575081518651145b8015610d66575080518651145b610d825760405162461bcd60e51b815260040161037490612354565b600154610d93878787600654610e48565b14610db05760405162461bcd60e51b815260040161037490611ef2565b6000610dc08a8a8a600654610e48565b9050610dd3878786868686600754610e9a565b60018181556004899055600554610de991611032565b600581905560405189917fb119f1f36224601586b5037da909ecf37e83864dddea5d32ad4e32ac1d97e62b91610e2391908e908e906123c2565b60405180910390a2505060016000555050505050505050565b60075481565b60015481565b6040516000906918da1958dadc1bda5b9d60b21b908290610e75908590849088908b908b90602001611cbd565b60408051601f198184030181529190528051602090910120925050505b949350505050565b6000805b8851811015610f6757868181518110610eb357fe5b602002602001015160ff16600014610f5f57610f1e898281518110610ed457fe5b602002602001015185898481518110610ee957fe5b6020026020010151898581518110610efd57fe5b6020026020010151898681518110610f1157fe5b602002602001015161110b565b610f3a5760405162461bcd60e51b815260040161037490612093565b878181518110610f4657fe5b60200260200101518201915082821115610f5f57610f67565b600101610e9e565b50818111610f875760405162461bcd60e51b8152600401610374906121d6565b5050505050505050565b6107508363a9059cbb60e01b8484604051602401610fb0929190611c9b565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526111a6565b606061102983836040518060400160405280601e81526020017f416464726573733a206c6f772d6c6576656c2063616c6c206661696c65640000815250611235565b90505b92915050565b6000828201838110156110295760405162461bcd60e51b815260040161037490612039565b611078846323b872dd60e01b858585604051602401610fb093929190611c77565b50505050565b604080516000808252602082019092526001600160a01b0384169083906040516110a89190611c16565b60006040518083038185875af1925050503d80600081146110e5576040519150601f19603f3d011682016040523d82523d6000602084013e6110ea565b606091505b50509050806107505760405162461bcd60e51b8152600401610374906122c7565b6000808560405160200161111f9190611c32565b6040516020818303038152906040528051906020012090506001818686866040516000815260200160405260405161115a9493929190611e91565b6020604051602081039080840390855afa15801561117c573d6000803e3d6000fd5b505050602060405103516001600160a01b0316876001600160a01b03161491505095945050505050565b60606111fb826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112359092919063ffffffff16565b80519091501561075057808060200190518101906112199190611adf565b6107505760405162461bcd60e51b81526004016103749061230a565b6060610e928484600085606061124a85611303565b6112665760405162461bcd60e51b815260040161037490612290565b60006060866001600160a01b031685876040516112839190611c16565b60006040518083038185875af1925050503d80600081146112c0576040519150601f19603f3d011682016040523d82523d6000602084013e6112c5565b606091505b509150915081156112d9579150610e929050565b8051156112e95780518082602001fd5b8360405162461bcd60e51b81526004016103749190611eaf565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590610e92575050151592915050565b803561102c8161245e565b600082601f830112611357578081fd5b813561136a61136582612413565b6123ed565b81815291506020808301908481018184028601820187101561138b57600080fd5b60005b848110156113b35781356113a18161245e565b8452928201929082019060010161138e565b505050505092915050565b600082601f8301126113ce578081fd5b81356113dc61136582612413565b8181529150602080830190848101818402860182018710156113fd57600080fd5b60005b848110156113b35781356114138161245e565b84529282019290820190600101611400565b600082601f830112611435578081fd5b813561144361136582612413565b81815291506020808301908481018184028601820187101561146457600080fd5b60005b848110156113b357813584529282019290820190600101611467565b600082601f830112611493578081fd5b81356114a161136582612413565b8181529150602080830190848101818402860182018710156114c257600080fd5b6000805b858110156114f057823560ff811681146114de578283fd5b855293830193918301916001016114c6565b50505050505092915050565b600082601f83011261150c578081fd5b81356001600160401b03811115611521578182fd5b611534601f8201601f19166020016123ed565b915080825283602082850101111561154b57600080fd5b8060208401602084013760009082016020015292915050565b6000610120808385031215611577578182fd5b611580816123ed565b91505081356001600160401b038082111561159a57600080fd5b6115a685838601611425565b835260208401359150808211156115bc57600080fd5b6115c885838601611347565b602084015260408401359150808211156115e157600080fd5b6115ed85838601611425565b6040840152606084013591508082111561160657600080fd5b61161285838601611347565b6060840152611624856080860161133c565b608084015260a084013591508082111561163d57600080fd5b5061164a848285016114fc565b60a08301525060c082013560c082015260e082013560e082015261010080830135818301525092915050565b600060208284031215611687578081fd5b81356110298161245e565b600080600080600060a086880312156116a9578081fd5b85356116b48161245e565b97602087013597506040870135966060810135965060800135945092505050565b600080604083850312156116e7578182fd5b82356001600160401b038111156116fc578283fd5b61170885828601611347565b92505060208301356117198161245e565b809150509250929050565b60008060008060008060008060006101208a8c031215611742578384fd5b89356001600160401b0380821115611758578586fd5b6117648d838e01611347565b9a5060208c0135915080821115611779578586fd5b6117858d838e01611425565b995060408c0135985060608c01359150808211156117a1578586fd5b6117ad8d838e01611347565b975060808c01359150808211156117c2578586fd5b6117ce8d838e01611425565b965060a08c0135955060c08c01359150808211156117ea578485fd5b6117f68d838e01611483565b945060e08c013591508082111561180b578384fd5b6118178d838e01611425565b93506101008c013591508082111561182d578283fd5b5061183a8c828d01611425565b9150509295985092959850929598565b6000806000806000806000806000806000806101808d8f03121561186c578586fd5b6001600160401b038d351115611880578586fd5b61188d8e8e358f01611347565b9b506001600160401b0360208e013511156118a6578586fd5b6118b68e60208f01358f01611425565b9a5060408d013599506001600160401b0360608e013511156118d6578586fd5b6118e68e60608f01358f01611483565b98506001600160401b0360808e013511156118ff578586fd5b61190f8e60808f01358f01611425565b97506001600160401b0360a08e01351115611928578586fd5b6119388e60a08f01358f01611425565b96506001600160401b0360c08e01351115611951578586fd5b6119618e60c08f01358f01611425565b95506001600160401b0360e08e0135111561197a578283fd5b61198a8e60e08f01358f016113be565b94506001600160401b036101008e013511156119a4578283fd5b6119b58e6101008f01358f01611425565b93506101208d013592506119cd8e6101408f0161133c565b91506101608d013590509295989b509295989b509295989b565b600080600080600080600060e0888a031215611a01578081fd5b87356001600160401b0380821115611a17578283fd5b611a238b838c01611347565b985060208a0135915080821115611a38578283fd5b611a448b838c01611425565b975060408a0135965060608a0135915080821115611a60578283fd5b611a6c8b838c01611483565b955060808a0135915080821115611a81578283fd5b611a8d8b838c01611425565b945060a08a0135915080821115611aa2578283fd5b611aae8b838c01611425565b935060c08a0135915080821115611ac3578283fd5b50611ad08a828b01611564565b91505092959891949750929550565b600060208284031215611af0578081fd5b81518015158114611029578182fd5b600060208284031215611b10578081fd5b5035919050565b600080600060608486031215611b2b578081fd5b505081359360208301359350604090920135919050565b600060208284031215611b53578081fd5b5051919050565b6001600160a01b0316815260200190565b6001600160a01b03169052565b6000815180845260208085019450808401835b83811015611bb05781516001600160a01b031687529582019590820190600101611b8b565b509495945050505050565b6000815180845260208085019450808401835b83811015611bb057815187529582019590820190600101611bce565b60008151808452611c02816020860160208601612432565b601f01601f19169290920160200192915050565b60008251611c28818460208701612432565b9190910192915050565b7f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152601c810191909152603c0190565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b90815260200190565b600086825285602083015284604083015260a06060830152611ce260a0830185611b78565b8281036080840152611cf48185611bbb565b98975050505050505050565b60006101608d83528c6020840152806040840152611d208184018d611bbb565b90508281036060840152611d34818c611b78565b90508281036080840152611d48818b611bbb565b905082810360a0840152611d5c818a611b78565b6001600160a01b03891660c085015283810360e08501529050611d7f8188611bea565b61010084019690965250506101208101929092526101409091015298975050505050505050565b60006101008a835260208a81850152816040850152611dc78285018b611bbb565b91508382036060850152818951611dde8185611cb4565b9150828b019350845b81811015611e0857611dfa838651611b5a565b948401949250600101611de7565b50508481036080860152611e1c818a611bbb565b93505050508460a0830152611e3460c0830185611b6b565b8260e08301529998505050505050505050565b600085825284602083015283604083015260806060830152611e6c6080830184611bea565b9695505050505050565b93845260208401929092526040830152606082015260800190565b93845260ff9290921660208401526040830152606082015260800190565b6000602082526110296020830184611bea565b6020808252601690820152754d616c666f726d6564206c697374206f66206665657360501b604082015260600190565b6020808252603f908201527f537570706c6965642063757272656e742076616c696461746f727320616e642060408201527f706f7765727320646f206e6f74206d6174636820636865636b706f696e742e00606082015260800190565b60208082526036908201527f4e6577206261746368206e6f6e6365206d7573742062652067726561746572206040820152757468616e207468652063757272656e74206e6f6e636560501b606082015260800190565b6020808252601f908201527f4d616c666f726d6564206261746368206f66207472616e73616374696f6e7300604082015260600190565b6020808252603d908201527f4e657720696e76616c69646174696f6e206e6f6e6365206d757374206265206760408201527f726561746572207468616e207468652063757272656e74206e6f6e6365000000606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b602080825260099082015268151a5b5959081bdd5d60ba1b604082015260600190565b60208082526023908201527f56616c696461746f72207369676e617475726520646f6573206e6f74206d617460408201526231b41760e91b606082015260800190565b6020808252603b908201527f42617463682074696d656f7574206d757374206265206772656174657220746860408201527f616e207468652063757272656e7420626c6f636b206865696768740000000000606082015260800190565b60208082526021908201527f4d616c666f726d6564206c697374206f6620746f6b656e207472616e736665726040820152607360f81b606082015260800190565b6020808252601b908201527f4d616c666f726d6564206e65772076616c696461746f72207365740000000000604082015260600190565b6020808252601190820152701c195c9b5a5cdcda5bdb8819195b9a5959607a1b604082015260600190565b6020808252603c908201527f5375626d69747465642076616c696461746f7220736574207369676e6174757260408201527f657320646f206e6f74206861766520656e6f75676820706f7765722e00000000606082015260800190565b60208082526037908201527f4e65772076616c736574206e6f6e6365206d757374206265206772656174657260408201527f207468616e207468652063757272656e74206e6f6e6365000000000000000000606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b60208082526023908201527f5472616e7366657248656c7065723a204554485f5452414e534645525f46414960408201526213115160ea1b606082015260800190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f4d616c666f726d65642063757272656e742076616c696461746f722073657400604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000848252606060208301526123db6060830185611b78565b8281036040840152611e6c8185611bbb565b6040518181016001600160401b038111828210171561240b57600080fd5b604052919050565b60006001600160401b03821115612428578081fd5b5060209081020190565b60005b8381101561244d578181015183820152602001612435565b838111156110785750506000910152565b6001600160a01b038116811461247357600080fd5b5056fea26469706673582212206bc6722725083ade04f749e952f128a0c9a42aa4555f022380d829b5d025845864736f6c634300060c0033b119f1f36224601586b5037da909ecf37e83864dddea5d32ad4e32ac1d97e62b6d696e7465722d6875622d32000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aaaaaaaa00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004a0000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000070ad4814d105bfacc2426deb15b89626e9af53dd0000000000000000000000000000000000000000000000000000000000000009000000000000000000000000c9056b69d23bea386a5cbf01a2788470a83faa5f000000000000000000000000636f574e078ef8bda1b585e7fcd9c26da2c0fa55000000000000000000000000fff6b1e147f594487e466ea8a49a63f2b895abde000000000000000000000000363bb8fec4e54a686aeb29d7e1368b081487416a00000000000000000000000077c547b75565a36ce29458fca8ad3ae6ac94965700000000000000000000000053ea25d1b90d2df5962e9d6a582d5d16056fa1c70000000000000000000000002ee642458804c81f02a807c4acf321c3ee3860f80000000000000000000000001e9774bb9cd2393eb4df424a2c2f9b0e697ef0790000000000000000000000009897f5cadb68582191696b94769306b652a35db40000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000005e468964000000000000000000000000000000000000000000000000000000003b7d1fec000000000000000000000000000000000000000000000000000000002a6830b9000000000000000000000000000000000000000000000000000000001c53f6d20000000000000000000000000000000000000000000000000000000018d458b90000000000000000000000000000000000000000000000000000000005d5e7940000000000000000000000000000000000000000000000000000000000c02d530000000000000000000000000000000000000000000000000000000000122141000000000000000000000000000000000000000000000000000000000003a0400000000000000000000000000000000000000000000000000000000000000008000000000000000000000000c9056b69d23bea386a5cbf01a2788470a83faa5f000000000000000000000000636f574e078ef8bda1b585e7fcd9c26da2c0fa55000000000000000000000000fff6b1e147f594487e466ea8a49a63f2b895abde000000000000000000000000363bb8fec4e54a686aeb29d7e1368b081487416a00000000000000000000000077c547b75565a36ce29458fca8ad3ae6ac94965700000000000000000000000053ea25d1b90d2df5962e9d6a582d5d16056fa1c70000000000000000000000001e9774bb9cd2393eb4df424a2c2f9b0e697ef0790000000000000000000000009897f5cadb68582191696b94769306b652a35db40000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000005e8c5c53000000000000000000000000000000000000000000000000000000003ba80011000000000000000000000000000000000000000000000000000000002a8850c2000000000000000000000000000000000000000000000000000000001c6951260000000000000000000000000000000000000000000000000000000018e834320000000000000000000000000000000000000000000000000000000005dbfb5f0000000000000000000000000000000000000000000000000000000000122e52000000000000000000000000000000000000000000000000000000000003a3cb

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

6d696e7465722d6875622d32000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000aaaaaaaa00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000240000000000000000000000000000000000000000000000000000000000000038000000000000000000000000000000000000000000000000000000000000004a0000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc200000000000000000000000070ad4814d105bfacc2426deb15b89626e9af53dd0000000000000000000000000000000000000000000000000000000000000009000000000000000000000000c9056b69d23bea386a5cbf01a2788470a83faa5f000000000000000000000000636f574e078ef8bda1b585e7fcd9c26da2c0fa55000000000000000000000000fff6b1e147f594487e466ea8a49a63f2b895abde000000000000000000000000363bb8fec4e54a686aeb29d7e1368b081487416a00000000000000000000000077c547b75565a36ce29458fca8ad3ae6ac94965700000000000000000000000053ea25d1b90d2df5962e9d6a582d5d16056fa1c70000000000000000000000002ee642458804c81f02a807c4acf321c3ee3860f80000000000000000000000001e9774bb9cd2393eb4df424a2c2f9b0e697ef0790000000000000000000000009897f5cadb68582191696b94769306b652a35db40000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000005e468964000000000000000000000000000000000000000000000000000000003b7d1fec000000000000000000000000000000000000000000000000000000002a6830b9000000000000000000000000000000000000000000000000000000001c53f6d20000000000000000000000000000000000000000000000000000000018d458b90000000000000000000000000000000000000000000000000000000005d5e7940000000000000000000000000000000000000000000000000000000000c02d530000000000000000000000000000000000000000000000000000000000122141000000000000000000000000000000000000000000000000000000000003a0400000000000000000000000000000000000000000000000000000000000000008000000000000000000000000c9056b69d23bea386a5cbf01a2788470a83faa5f000000000000000000000000636f574e078ef8bda1b585e7fcd9c26da2c0fa55000000000000000000000000fff6b1e147f594487e466ea8a49a63f2b895abde000000000000000000000000363bb8fec4e54a686aeb29d7e1368b081487416a00000000000000000000000077c547b75565a36ce29458fca8ad3ae6ac94965700000000000000000000000053ea25d1b90d2df5962e9d6a582d5d16056fa1c70000000000000000000000001e9774bb9cd2393eb4df424a2c2f9b0e697ef0790000000000000000000000009897f5cadb68582191696b94769306b652a35db40000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000005e8c5c53000000000000000000000000000000000000000000000000000000003ba80011000000000000000000000000000000000000000000000000000000002a8850c2000000000000000000000000000000000000000000000000000000001c6951260000000000000000000000000000000000000000000000000000000018e834320000000000000000000000000000000000000000000000000000000005dbfb5f0000000000000000000000000000000000000000000000000000000000122e52000000000000000000000000000000000000000000000000000000000003a3cb

-----Decoded View---------------
Arg [0] : _gravityId (bytes32): 0x6d696e7465722d6875622d320000000000000000000000000000000000000000
Arg [1] : _powerThreshold (uint256): 2863311530
Arg [2] : _validators (address[]): 0xc9056b69d23bea386a5cbf01a2788470a83faa5f,0x636f574e078ef8bda1b585e7fcd9c26da2c0fa55,0xfff6b1e147f594487e466ea8a49a63f2b895abde,0x363bb8fec4e54a686aeb29d7e1368b081487416a,0x77c547b75565a36ce29458fca8ad3ae6ac949657,0x53ea25d1b90d2df5962e9d6a582d5d16056fa1c7,0x2ee642458804c81f02a807c4acf321c3ee3860f8,0x1e9774bb9cd2393eb4df424a2c2f9b0e697ef079,0x9897f5cadb68582191696b94769306b652a35db4
Arg [3] : _powers (uint256[]): 1581680996,998055916,711471289,475264722,416569529,97904532,12594515,1188161,237632
Arg [4] : _validators2 (address[]): 0xc9056b69d23bea386a5cbf01a2788470a83faa5f,0x636f574e078ef8bda1b585e7fcd9c26da2c0fa55,0xfff6b1e147f594487e466ea8a49a63f2b895abde,0x363bb8fec4e54a686aeb29d7e1368b081487416a,0x77c547b75565a36ce29458fca8ad3ae6ac949657,0x53ea25d1b90d2df5962e9d6a582d5d16056fa1c7,0x1e9774bb9cd2393eb4df424a2c2f9b0e697ef079,0x9897f5cadb68582191696b94769306b652a35db4
Arg [5] : _powers2 (uint256[]): 1586256979,1000865809,713576642,476664102,417870898,98302815,1191506,238539
Arg [6] : _wethAddress (address): 0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [7] : _guardian (address): 0x70ad4814d105bfacc2426deb15b89626e9af53dd

-----Encoded View---------------
46 Constructor Arguments found :
Arg [0] : 6d696e7465722d6875622d320000000000000000000000000000000000000000
Arg [1] : 00000000000000000000000000000000000000000000000000000000aaaaaaaa
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000380
Arg [5] : 00000000000000000000000000000000000000000000000000000000000004a0
Arg [6] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [7] : 00000000000000000000000070ad4814d105bfacc2426deb15b89626e9af53dd
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [9] : 000000000000000000000000c9056b69d23bea386a5cbf01a2788470a83faa5f
Arg [10] : 000000000000000000000000636f574e078ef8bda1b585e7fcd9c26da2c0fa55
Arg [11] : 000000000000000000000000fff6b1e147f594487e466ea8a49a63f2b895abde
Arg [12] : 000000000000000000000000363bb8fec4e54a686aeb29d7e1368b081487416a
Arg [13] : 00000000000000000000000077c547b75565a36ce29458fca8ad3ae6ac949657
Arg [14] : 00000000000000000000000053ea25d1b90d2df5962e9d6a582d5d16056fa1c7
Arg [15] : 0000000000000000000000002ee642458804c81f02a807c4acf321c3ee3860f8
Arg [16] : 0000000000000000000000001e9774bb9cd2393eb4df424a2c2f9b0e697ef079
Arg [17] : 0000000000000000000000009897f5cadb68582191696b94769306b652a35db4
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [19] : 000000000000000000000000000000000000000000000000000000005e468964
Arg [20] : 000000000000000000000000000000000000000000000000000000003b7d1fec
Arg [21] : 000000000000000000000000000000000000000000000000000000002a6830b9
Arg [22] : 000000000000000000000000000000000000000000000000000000001c53f6d2
Arg [23] : 0000000000000000000000000000000000000000000000000000000018d458b9
Arg [24] : 0000000000000000000000000000000000000000000000000000000005d5e794
Arg [25] : 0000000000000000000000000000000000000000000000000000000000c02d53
Arg [26] : 0000000000000000000000000000000000000000000000000000000000122141
Arg [27] : 000000000000000000000000000000000000000000000000000000000003a040
Arg [28] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [29] : 000000000000000000000000c9056b69d23bea386a5cbf01a2788470a83faa5f
Arg [30] : 000000000000000000000000636f574e078ef8bda1b585e7fcd9c26da2c0fa55
Arg [31] : 000000000000000000000000fff6b1e147f594487e466ea8a49a63f2b895abde
Arg [32] : 000000000000000000000000363bb8fec4e54a686aeb29d7e1368b081487416a
Arg [33] : 00000000000000000000000077c547b75565a36ce29458fca8ad3ae6ac949657
Arg [34] : 00000000000000000000000053ea25d1b90d2df5962e9d6a582d5d16056fa1c7
Arg [35] : 0000000000000000000000001e9774bb9cd2393eb4df424a2c2f9b0e697ef079
Arg [36] : 0000000000000000000000009897f5cadb68582191696b94769306b652a35db4
Arg [37] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [38] : 000000000000000000000000000000000000000000000000000000005e8c5c53
Arg [39] : 000000000000000000000000000000000000000000000000000000003ba80011
Arg [40] : 000000000000000000000000000000000000000000000000000000002a8850c2
Arg [41] : 000000000000000000000000000000000000000000000000000000001c695126
Arg [42] : 0000000000000000000000000000000000000000000000000000000018e83432
Arg [43] : 0000000000000000000000000000000000000000000000000000000005dbfb5f
Arg [44] : 0000000000000000000000000000000000000000000000000000000000122e52
Arg [45] : 000000000000000000000000000000000000000000000000000000000003a3cb


Deployed ByteCode Sourcemap

21798:18280:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23682:11;;-1:-1:-1;;;;;23682:11:0;23668:10;:25;23661:33;;;;21798:18280;;;;;23762:130;;;;;;;;;;-1:-1:-1;23762:130:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;33659:3525;;;;;;;;;;-1:-1:-1;33659:3525:0;;;;;:::i;:::-;;:::i;38215:326::-;;;;;;;;;;-1:-1:-1;38215:326:0;;;;;:::i;:::-;;:::i;38071:139::-;;;;;;;;;;-1:-1:-1;38071:139:0;;;;;:::i;:::-;;:::i;22492:23::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;22460:26::-;;;;;;;;;;;;;:::i;22298:39::-;;;;;;;;;;;;;:::i;22061:60::-;;;;;;;;;;-1:-1:-1;22061:60:0;;;;;:::i;:::-;;:::i;37189:469::-;;;;;;;;;;-1:-1:-1;37189:469:0;;;;;:::i;:::-;;:::i;29782:3312::-;;;;;;;;;;-1:-1:-1;29782:3312:0;;;;;:::i;:::-;;:::i;22125:40::-;;;;;;;;;;;;;:::i;22385:30::-;;;;;;;;;;;;;:::i;23897:144::-;;;;;;;;;;-1:-1:-1;23897:144:0;;;;;:::i;:::-;;:::i;22001:56::-;;;;;;;;;;-1:-1:-1;22001:56:0;;;;;:::i;:::-;;:::i;37663:403::-;;;;;;:::i;:::-;;:::i;27185:2252::-;;;;;;;;;;-1:-1:-1;27185:2252:0;;;;;:::i;:::-;;:::i;22419:35::-;;;;;;;;;;;;;:::i;21956:41::-;;;;;;;;;;;;;:::i;23762:130::-;-1:-1:-1;;;;;23851:36:0;23830:7;23851:36;;;:21;:36;;;;;;;23762:130::o;33659:3525::-;1788:1;2394:7;;:19;;2386:63;;;;-1:-1:-1;;;2386:63:0;;;;;;;:::i;:::-;;;;;;;;;1788:1;2527:7;:18;34146:13:::1;::::0;::::1;::::0;34131:12:::1;:28;34123:50;;;;-1:-1:-1::0;;;34123:50:0::1;;;;;;;:::i;:::-;34341:23;::::0;::::1;::::0;34317:20:::1;::::0;::::1;::::0;34291:47:::1;::::0;;;:25:::1;:47;::::0;;;;;:73:::1;34277:163;;;;-1:-1:-1::0;;;34277:163:0::1;;;;;;;:::i;:::-;34579:14;:21;34550:18;:25;:50;:98;;;;;34639:2;:9;34610:18;:25;:38;34550:98;:146;;;;;34687:2;:9;34658:18;:25;:38;34550:146;:194;;;;;34735:2;:9;34706:18;:25;:38;34550:194;34536:254;;;;-1:-1:-1::0;;;34536:254:0::1;;;;;;;:::i;:::-;35017:26;;34894:119;34916:18;34942:14;34964:19;34991:15;;34894:14;:119::i;:::-;:149;34880:241;;;;-1:-1:-1::0;;;34880:241:0::1;;;;;;;:::i;:::-;35232:28;::::0;::::1;::::0;:35;35200:21;;:28;:67:::1;35186:129;;;;-1:-1:-1::0;;;35186:129:0::1;;;;;;;:::i;:::-;35410:5;:23;;;:30;35383:5;:16;;;:23;:57;35369:108;;;;-1:-1:-1::0;;;35369:108:0::1;;;;;;;:::i;:::-;35489:16;35546:15;;-1:-1:-1::0;;;35684:5:0::1;:21;;;35713:5;:28;;;35749:5;:16;;;35773:5;:23;;;35804:5;:26;;;35838:5;:13;;;35859:5;:13;;;35880:5;:20;;;35908:5;:23;;;35528:410;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;35512:432;;;;;;35489:455;;36053:202;36084:18;36109:14;36130:2;36139;36148;36214:8;36229:20;;36053:24;:202::i;:::-;36365:23;::::0;::::1;::::0;36341:20:::1;::::0;::::1;::::0;36315:47:::1;::::0;;;:25:::1;:47;::::0;;;;:73;;;;36435:193:::1;36459:21:::0;;:28;36455:32;::::1;36435:193;;;36500:122;36559:5;:26;;;36592:5;:21;;;36614:1;36592:24;;;;;;;;;;;;;;36507:5;:28;;;36536:1;36507:31;;;;;;;;;;;;;;-1:-1:-1::0;;;;;36500:52:0::1;;;:122;;;;;:::i;:::-;36489:3;;36435:193;;;;36668:23;36694:63;36715:5;:26;;;36743:5;:13;;;36694:20;:63::i;:::-;36668:89;;36799:9;36794:146;36818:5;:16;;;:23;36814:1;:27;36794:146;;;36854:80;36902:10;36914:5;:16;;;36931:1;36914:19;;;;;;;;;;;;;;36861:5;:23;;;36885:1;36861:26;;;;;;;36854:80;36843:3;;36794:146;;;-1:-1:-1::0;37015:20:0::1;::::0;:27:::1;::::0;37040:1:::1;37015:24;:27::i;:::-;36992:20;:50:::0;;;37074:20:::1;::::0;::::1;::::0;37101:23:::1;::::0;::::1;::::0;37053:121:::1;::::0;::::1;::::0;::::1;::::0;37074:20;37101:23;37158:10;;37053:121:::1;:::i;:::-;;;;;;;;-1:-1:-1::0;;1744:1:0;2706:7;:22;-1:-1:-1;;;;;;;33659:3525:0:o;38215:326::-;38324:8;;-1:-1:-1;;;;;38324:8:0;38310:10;:22;38302:52;;;;-1:-1:-1;;;38302:52:0;;;;;;;:::i;:::-;38366:9;38361:176;38385:15;:22;38381:1;:26;38361:176;;;38420:12;38442:15;38458:1;38442:18;;;;;;;;;;;;;;38420:41;;38467:64;38486:12;38500:5;-1:-1:-1;;;;;38500:15:0;;38524:4;38500:30;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;38467:18:0;;;:64;:18;:64::i;:::-;-1:-1:-1;38409:3:0;;38361:176;;;;38215:326;;:::o;38071:139::-;38148:8;;-1:-1:-1;;;;;38148:8:0;38134:10;:22;38126:52;;;;-1:-1:-1;;;38126:52:0;;;;;;;:::i;:::-;38185:8;:20;;-1:-1:-1;;;;;;38185:20:0;-1:-1:-1;;;;;38185:20:0;;;;;;;;;;38071:139::o;22492:23::-;;;-1:-1:-1;;;;;22492:23:0;;:::o;22460:26::-;;;-1:-1:-1;;;;;22460:26:0;;:::o;22298:39::-;;;;:::o;22061:60::-;;;;;;;;;;;;;:::o;37189:469::-;1788:1;2394:7;;:19;;2386:63;;;;-1:-1:-1;;;2386:63:0;;;;;;;:::i;:::-;1788:1;2527:7;:18;37362:75:::1;-1:-1:-1::0;;;;;37362:39:0;::::1;37402:10;37422:4;37429:7:::0;37362:39:::1;:75::i;:::-;37465:20;::::0;:27:::1;::::0;37490:1:::1;37465:24;:27::i;:::-;37442:20;:50:::0;;;37502:151:::1;::::0;37564:17;;37548:10:::1;::::0;-1:-1:-1;;;;;37502:151:0;::::1;::::0;::::1;::::0;::::1;::::0;37587:12;;37605:7;;37618:4;;37502:151:::1;:::i;:::-;;;;;;;;-1:-1:-1::0;;1744:1:0;2706:7;:22;-1:-1:-1;;;37189:469:0:o;29782:3312::-;1788:1;2394:7;;:19;;2386:63;;;;-1:-1:-1;;;2386:63:0;;;;;;;:::i;:::-;1788:1;2527:7;:18;;;-1:-1:-1;;;;;30568:37:0;::::1;::::0;;::::1;::::0;;;;;;;;:51;-1:-1:-1;30554:134:0::1;;;;-1:-1:-1::0;;;30554:134:0::1;;;;;;;:::i;:::-;30792:13;30777:12;:28;30763:116;;;;-1:-1:-1::0;;;30763:116:0::1;;;;;;;:::i;:::-;31018:14;:21;30989:18;:25;:50;:98;;;;;31078:2;:9;31049:18;:25;:38;30989:98;:146;;;;;31126:2;:9;31097:18;:25;:38;30989:146;:194;;;;;31174:2;:9;31145:18;:25;:38;30989:194;30975:254;;;;-1:-1:-1::0;;;30975:254:0::1;;;;;;;:::i;:::-;31456:26;;31333:119;31355:18;31381:14;31403:19;31430:15;;31333:14;:119::i;:::-;:149;31319:241;;;;-1:-1:-1::0;;;31319:241:0::1;;;;;;;:::i;:::-;31656:13;:20;31637:8;:15;:39;:74;;;;;31699:5;:12;31680:8;:15;:31;31637:74;31623:134;;;;-1:-1:-1::0;;;31623:134:0::1;;;;;;;:::i;:::-;31861:502;31892:18;31917:14;31938:2;31947;31956;32058:15;;-1:-1:-1::0;;;32206:8:0::1;32223:13;32245:5;32259:11;32279:14;32302:13;32039:284;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;32022:308;;;;;;32337:20;;31861:24;:502::i;:::-;-1:-1:-1::0;;;;;32413:37:0;;::::1;;::::0;;;:21:::1;:37;::::0;;;;:51;;;32542:11:::1;::::0;;;::::1;32524:29;32520:366;;;32567:9;32562:171;32586:8;:15;32582:1;:19;32562:171;;;32622:11;::::0;32644;;-1:-1:-1;;;;;32622:11:0;;::::1;::::0;32616:27:::1;::::0;32644:8;;32653:1;;32644:11;::::1;;;;;;;;;;;32616:40;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;32664:61;32695:13;32709:1;32695:16;;;;;;;;;;;;;;32713:8;32722:1;32713:11;;;;;;;;;;;;;;32664:30;:61::i;:::-;32603:3;;32562:171;;;;32520:366;;;32757:9;32752:128;32776:8;:15;32772:1;:19;32752:128;;;32806:66;32842:13;32856:1;32842:16;;;;;;;;;;;;;;32860:8;32869:1;32860:11;;;;;;;;;;;;;;32813:14;-1:-1:-1::0;;;;;32806:35:0::1;;;:66;;;;;:::i;:::-;32793:3;;32752:128;;;;32520:366;32966:20;::::0;:27:::1;::::0;32991:1:::1;32966:24;:27::i;:::-;32943:20;:50:::0;;;33004:80:::1;::::0;-1:-1:-1;;;;;33004:80:0;::::1;::::0;33034:11;;33004:80:::1;::::0;::::1;::::0;::::1;:::i;:::-;;;;;;;;-1:-1:-1::0;;1744:1:0;2706:7;:22;-1:-1:-1;;;;;;;;;;29782:3312:0:o;22125:40::-;;;;:::o;22385:30::-;;;;:::o;23897:144::-;23972:7;23993:43;;;:25;:43;;;;;;;23897:144::o;22001:56::-;;;;;;;;;;;;;:::o;37663:403::-;1788:1;2394:7;;:19;;2386:63;;;;-1:-1:-1;;;2386:63:0;;;;;;;:::i;:::-;1788:1;2527:7;:18;;;37806:11:::1;::::0;37800:46:::1;::::0;;-1:-1:-1;;;37800:46:0;;;;-1:-1:-1;;;;;37806:11:0;;::::1;::::0;37800:26:::1;::::0;37834:9:::1;::::0;37800:46:::1;::::0;;::::1;::::0;2527:7;37800:46;;;;;;37834:9;37806:11;37800:46;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;37874:27;37899:1;37874:20;;:24;;:27;;;;:::i;:::-;37851:20;:50:::0;;;37937:11:::1;::::0;37911:150:::1;::::0;37970:17;;37954:10:::1;::::0;-1:-1:-1;;;;;37937:11:0::1;::::0;37911:150:::1;::::0;::::1;::::0;37993:12;;38011:9:::1;::::0;38026:4;;37851:50;37911:150:::1;:::i;:::-;;;;;;;;-1:-1:-1::0;;1744:1:0;2706:7;:22;-1:-1:-1;37663:403:0:o;27185:2252::-;1788:1;2394:7;;:19;;2386:63;;;;-1:-1:-1;;;2386:63:0;;;;;;;:::i;:::-;1788:1;2527:7;:18;27770:37;;::::1;27757:118;;;;-1:-1:-1::0;;;27757:118:0::1;;;;;;;:::i;:::-;27977:10;:17;27952:14;:21;:42;27944:82;;;;-1:-1:-1::0;;;27944:82:0::1;;;;;;;:::i;:::-;28162:14;:21;28133:18;:25;:50;:97;;;;;28221:2;:9;28192:18;:25;:38;28133:97;:144;;;;;28268:2;:9;28239:18;:25;:38;28133:144;:191;;;;;28315:2;:9;28286:18;:25;:38;28133:191;28120:248;;;;-1:-1:-1::0;;;28120:248:0::1;;;;;;;:::i;:::-;28587:26;;28469:114;28490:18;28515:14;28536:19;28562:15;;28469:14;:114::i;:::-;:144;28456:233;;;;-1:-1:-1::0;;;28456:233:0::1;;;;;;;:::i;:::-;28780:21;28808:76;28823:14;28839:10;28851:15;28868;;28808:14;:76::i;:::-;28780:104;;28891:142;28921:18;28945:14;28965:2;28973;28981;28989:13;29008:20;;28891:24;:142::i;:::-;29159:26;:42:::0;;;29230:21:::1;:39:::0;;;29310:20:::1;::::0;:27:::1;::::0;:24:::1;:27::i;:::-;29287:20;:50:::0;;;29347:85:::1;::::0;29366:15;;29347:85:::1;::::0;::::1;::::0;29287:50;29405:14;;29421:10;;29347:85:::1;:::i;:::-;;;;;;;;-1:-1:-1::0;;1744:1:0;2706:7;:22;-1:-1:-1;;;;;;;;27185:2252:0:o;22419:35::-;;;;:::o;21956:41::-;;;;:::o;25038:453::-;25391:70;;25198:7;;-1:-1:-1;;;25283:66:0;25198:7;;25391:70;;25402:10;;25283:66;;25426:12;;25440:11;;25453:7;;25391:70;;;:::i;:::-;;;;-1:-1:-1;;25391:70:0;;;;;;;;;25381:81;;25391:70;25381:81;;;;;-1:-1:-1;;;25038:453:0;;;;;;;:::o;25496:1289::-;25889:23;25928:9;25923:678;25947:18;:25;25943:1;:29;25923:678;;;26169:2;26172:1;26169:5;;;;;;;;;;;;;;:10;;26178:1;26169:10;26165:431;;26271:63;26281:18;26300:1;26281:21;;;;;;;;;;;;;;26304:8;26314:2;26317:1;26314:5;;;;;;;;;;;;;;26321:2;26324:1;26321:5;;;;;;;;;;;;;;26328:2;26331:1;26328:5;;;;;;;;;;;;;;26271:9;:63::i;:::-;26256:130;;;;-1:-1:-1;;;26256:130:0;;;;;;;:::i;:::-;26463:14;26478:1;26463:17;;;;;;;;;;;;;;26445:15;:35;26427:53;;26552:15;26534;:33;26530:60;;;26577:5;;26530:60;25974:3;;25923:678;;;;26678:15;26660;:33;26647:119;;;;-1:-1:-1;;;26647:119:0;;;;;;;:::i;:::-;25496:1289;;;;;;;;:::o;18045:177::-;18128:86;18148:5;18178:23;;;18203:2;18207:5;18155:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;18155:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;18155:58:0;-1:-1:-1;;;;;;18155:58:0;;;;;;;;;;18128:19;:86::i;6274:173::-;6349:12;6379:60;6392:6;6400:4;6379:60;;;;;;;;;;;;;;;;;:12;:60::i;:::-;6372:67;;6274:173;;;;;:::o;12874:181::-;12932:7;12964:5;;;12988:6;;;;12980:46;;;;-1:-1:-1;;;12980:46:0;;;;;;;:::i;18230:205::-;18331:96;18351:5;18381:27;;;18410:4;18416:2;18420:5;18358:68;;;;;;;;;;:::i;18331:96::-;18230:205;;;;:::o;41257:195::-;41365:12;;;41327;41365;;;;;;;;;-1:-1:-1;;;;;41344:7:0;;;41358:5;;41344:34;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41326:52;;;41397:7;41389:55;;;;-1:-1:-1;;;41389:55:0;;;;;;;:::i;24100:305::-;24229:4;24240:21;24331:8;24278:62;;;;;;;;:::i;:::-;;;;;;;;;;;;;24268:73;;;;;;24240:101;;24364:36;24374:13;24389:2;24393;24397;24364:36;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24353:47:0;:7;-1:-1:-1;;;;;24353:47:0;;24346:54;;;24100:305;;;;;;;:::o;20350:761::-;20774:23;20800:69;20828:4;20800:69;;;;;;;;;;;;;;;;;20808:5;-1:-1:-1;;;;;20800:27:0;;;:69;;;;;:::i;:::-;20884:17;;20774:95;;-1:-1:-1;20884:21:0;20880:224;;21026:10;21015:30;;;;;;;;;;;;:::i;:::-;21007:85;;;;-1:-1:-1;;;21007:85:0;;;;;;;:::i;6677:196::-;6780:12;6812:53;6835:6;6843:4;6849:1;6852:12;8184;8217:18;8228:6;8217:10;:18::i;:::-;8209:60;;;;-1:-1:-1;;;8209:60:0;;;;;;;:::i;:::-;8343:12;8357:23;8384:6;-1:-1:-1;;;;;8384:11:0;8404:8;8415:4;8384:36;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8342:78;;;;8435:7;8431:595;;;8466:10;-1:-1:-1;8459:17:0;;-1:-1:-1;8459:17:0;8431:595;8580:17;;:21;8576:439;;8843:10;8837:17;8904:15;8891:10;8887:2;8883:19;8876:44;8791:148;8986:12;8979:20;;-1:-1:-1;;;8979:20:0;;;;;;;;:::i;3562:619::-;3622:4;4090:20;;3933:66;4130:23;;;;;;:42;;-1:-1:-1;;4157:15:0;;;4122:51;-1:-1:-1;;3562:619:0:o;5:130:-1:-;72:20;;97:33;72:20;97:33;:::i;313:707::-;;430:3;423:4;415:6;411:17;407:27;397:2;;-1:-1;;438:12;397:2;485:6;472:20;507:80;522:64;579:6;522:64;:::i;:::-;507:80;:::i;:::-;615:21;;;498:89;-1:-1;659:4;672:14;;;;647:17;;;761;;;752:27;;;;749:36;-1:-1;746:2;;;798:1;;788:12;746:2;823:1;808:206;833:6;830:1;827:13;808:206;;;85:6;72:20;97:33;124:5;97:33;:::i;:::-;901:50;;965:14;;;;993;;;;855:1;848:9;808:206;;;812:14;;;;;390:630;;;;:::o;1054:731::-;;1179:3;1172:4;1164:6;1160:17;1156:27;1146:2;;-1:-1;;1187:12;1146:2;1234:6;1221:20;1256:88;1271:72;1336:6;1271:72;:::i;1256:88::-;1372:21;;;1247:97;-1:-1;1416:4;1429:14;;;;1404:17;;;1518;;;1509:27;;;;1506:36;-1:-1;1503:2;;;1555:1;;1545:12;1503:2;1580:1;1565:214;1590:6;1587:1;1584:13;1565:214;;;230:6;217:20;242:41;277:5;242:41;:::i;:::-;1658:58;;1730:14;;;;1758;;;;1612:1;1605:9;1565:214;;1811:707;;1928:3;1921:4;1913:6;1909:17;1905:27;1895:2;;-1:-1;;1936:12;1895:2;1983:6;1970:20;2005:80;2020:64;2077:6;2020:64;:::i;2005:80::-;2113:21;;;1996:89;-1:-1;2157:4;2170:14;;;;2145:17;;;2259;;;2250:27;;;;2247:36;-1:-1;2244:2;;;2296:1;;2286:12;2244:2;2321:1;2306:206;2331:6;2328:1;2325:13;2306:206;;;4186:20;;2399:50;;2463:14;;;;2491;;;;2353:1;2346:9;2306:206;;3275:701;;3390:3;3383:4;3375:6;3371:17;3367:27;3357:2;;-1:-1;;3398:12;3357:2;3445:6;3432:20;3467:78;3482:62;3537:6;3482:62;:::i;3467:78::-;3573:21;;;3458:87;-1:-1;3617:4;3630:14;;;;3605:17;;;3719;;;3710:27;;;;3707:36;-1:-1;3704:2;;;3756:1;;3746:12;3704:2;3781:1;;3766:204;3791:6;3788:1;3785:13;3766:204;;;7218:6;7205:20;53611:4;55735:5;53600:16;55712:5;55709:33;55699:2;;3781:1;;55746:12;55699:2;3859:48;;3921:14;;;;3949;;;;3813:1;3806:9;3766:204;;;3770:14;;;;;;3350:626;;;;:::o;4257:440::-;;4358:3;4351:4;4343:6;4339:17;4335:27;4325:2;;-1:-1;;4366:12;4325:2;4413:6;4400:20;-1:-1;;;;;50014:6;50011:30;50008:2;;;-1:-1;;50044:12;50008:2;4435:64;50117:9;50098:17;;-1:-1;;50094:33;50185:4;50175:15;4435:64;:::i;:::-;4426:73;;4519:6;4512:5;4505:21;4623:3;50185:4;4614:6;4547;4605:16;;4602:25;4599:2;;;4640:1;;4630:12;4599:2;54487:6;50185:4;4547:6;4543:17;50185:4;4581:5;4577:16;54464:30;54543:1;54525:16;;;50185:4;54525:16;54518:27;4581:5;4318:379;-1:-1;;4318:379::o;4732:2123::-;;4851:6;;4839:9;4834:3;4830:19;4826:32;4823:2;;;-1:-1;;4861:12;4823:2;4889:22;4851:6;4889:22;:::i;:::-;4880:31;;;4985:17;4972:31;-1:-1;;;;;5023:18;5015:6;5012:30;5009:2;;;5000:1;;5045:12;5009:2;5090:74;5160:3;5151:6;5140:9;5136:22;5090:74;:::i;:::-;5072:16;5065:100;5272:2;5261:9;5257:18;5244:32;5230:46;;5023:18;5288:6;5285:30;5282:2;;;5000:1;;5318:12;5282:2;5363:74;5433:3;5424:6;5413:9;5409:22;5363:74;:::i;:::-;5272:2;5349:5;5345:16;5338:100;5533:2;5522:9;5518:18;5505:32;5491:46;;5023:18;5549:6;5546:30;5543:2;;;5000:1;;5579:12;5543:2;5624:74;5694:3;5685:6;5674:9;5670:22;5624:74;:::i;:::-;5533:2;5610:5;5606:16;5599:100;5801:2;5790:9;5786:18;5773:32;5759:46;;5023:18;5817:6;5814:30;5811:2;;;5000:1;;5847:12;5811:2;5892:74;5962:3;5953:6;5942:9;5938:22;5892:74;:::i;:::-;5801:2;5878:5;5874:16;5867:100;6078:49;6123:3;6044;6103:9;6099:22;6078:49;:::i;:::-;6044:3;6064:5;6060:16;6053:75;6220:3;6209:9;6205:19;6192:33;6178:47;;5023:18;6237:6;6234:30;6231:2;;;5000:1;;6267:12;6231:2;;6312:58;6366:3;6357:6;6346:9;6342:22;6312:58;:::i;:::-;6220:3;6298:5;6294:16;6287:84;;6435:3;6494:9;6490:22;6929:20;6435:3;6455:5;6451:16;6444:75;6590:3;6649:9;6645:22;4186:20;6590:3;6610:5;6606:16;6599:75;6748:3;;6809:9;6805:22;6929:20;6748:3;6768:5;6764:18;6757:77;;4817:2038;;;;:::o;7273:241::-;;7377:2;7365:9;7356:7;7352:23;7348:32;7345:2;;;-1:-1;;7383:12;7345:2;85:6;72:20;97:33;124:5;97:33;:::i;7521:743::-;;;;;;7693:3;7681:9;7672:7;7668:23;7664:33;7661:2;;;-1:-1;;7700:12;7661:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;7752:63;7852:2;7891:22;;4186:20;;-1:-1;7960:2;7999:22;;4186:20;;8068:2;8107:22;;6929:20;;-1:-1;8176:3;8216:22;6929:20;;-1:-1;7655:609;-1:-1;;;7655:609::o;8271:502::-;;;8417:2;8405:9;8396:7;8392:23;8388:32;8385:2;;;-1:-1;;8423:12;8385:2;8481:17;8468:31;-1:-1;;;;;8511:6;8508:30;8505:2;;;-1:-1;;8541:12;8505:2;8571:78;8641:7;8632:6;8621:9;8617:22;8571:78;:::i;:::-;8561:88;;;8686:2;8729:9;8725:22;72:20;97:33;124:5;97:33;:::i;:::-;8694:63;;;;8379:394;;;;;:::o;8780:2195::-;;;;;;;;;;9193:3;9181:9;9172:7;9168:23;9164:33;9161:2;;;-1:-1;;9200:12;9161:2;9258:17;9245:31;-1:-1;;;;;9296:18;9288:6;9285:30;9282:2;;;-1:-1;;9318:12;9282:2;9348:78;9418:7;9409:6;9398:9;9394:22;9348:78;:::i;:::-;9338:88;;9491:2;9480:9;9476:18;9463:32;9449:46;;9296:18;9507:6;9504:30;9501:2;;;-1:-1;;9537:12;9501:2;9567:78;9637:7;9628:6;9617:9;9613:22;9567:78;:::i;:::-;9557:88;;9682:2;9725:9;9721:22;6929:20;9690:63;;9818:2;9807:9;9803:18;9790:32;9776:46;;9296:18;9834:6;9831:30;9828:2;;;-1:-1;;9864:12;9828:2;9894:78;9964:7;9955:6;9944:9;9940:22;9894:78;:::i;:::-;9884:88;;10037:3;10026:9;10022:19;10009:33;9995:47;;9296:18;10054:6;10051:30;10048:2;;;-1:-1;;10084:12;10048:2;10114:78;10184:7;10175:6;10164:9;10160:22;10114:78;:::i;:::-;10104:88;;10229:3;10273:9;10269:22;6929:20;10238:63;;10366:3;10355:9;10351:19;10338:33;10324:47;;9296:18;10383:6;10380:30;10377:2;;;-1:-1;;10413:12;10377:2;10443:76;10511:7;10502:6;10491:9;10487:22;10443:76;:::i;:::-;10433:86;;10584:3;10573:9;10569:19;10556:33;10542:47;;9296:18;10601:6;10598:30;10595:2;;;-1:-1;;10631:12;10595:2;10661:78;10731:7;10722:6;10711:9;10707:22;10661:78;:::i;:::-;10651:88;;10804:3;10793:9;10789:19;10776:33;10762:47;;9296:18;10821:6;10818:30;10815:2;;;-1:-1;;10851:12;10815:2;;10881:78;10951:7;10942:6;10931:9;10927:22;10881:78;:::i;:::-;10871:88;;;9155:1820;;;;;;;;;;;:::o;10982:2729::-;;;;;;;;;;;;;11481:3;11469:9;11460:7;11456:23;11452:33;11449:2;;;-1:-1;;11488:12;11449:2;-1:-1;;;;;11546:17;11533:31;11573:30;11570:2;;;-1:-1;;11606:12;11570:2;11636:78;11706:7;11546:17;11533:31;11686:9;11682:22;11636:78;:::i;:::-;11626:88;;-1:-1;;;;;11779:2;11768:9;11764:18;11751:32;11792:30;11789:2;;;-1:-1;;11825:12;11789:2;11855:78;11925:7;11779:2;11768:9;11764:18;11751:32;11905:9;11901:22;11855:78;:::i;:::-;11845:88;;11970:2;12013:9;12009:22;6929:20;11978:63;;-1:-1;;;;;12106:2;12095:9;12091:18;12078:32;12119:30;12116:2;;;-1:-1;;12152:12;12116:2;12182:76;12250:7;12106:2;12095:9;12091:18;12078:32;12230:9;12226:22;12182:76;:::i;:::-;12172:86;;-1:-1;;;;;12323:3;12312:9;12308:19;12295:33;12337:30;12334:2;;;-1:-1;;12370:12;12334:2;12400:78;12470:7;12323:3;12312:9;12308:19;12295:33;12450:9;12446:22;12400:78;:::i;:::-;12390:88;;-1:-1;;;;;12543:3;12532:9;12528:19;12515:33;12557:30;12554:2;;;-1:-1;;12590:12;12554:2;12620:78;12690:7;12543:3;12532:9;12528:19;12515:33;12670:9;12666:22;12620:78;:::i;:::-;12610:88;;-1:-1;;;;;12763:3;12752:9;12748:19;12735:33;12777:30;12774:2;;;-1:-1;;12810:12;12774:2;12840:78;12910:7;12763:3;12752:9;12748:19;12735:33;12890:9;12886:22;12840:78;:::i;:::-;12830:88;;-1:-1;;;;;12983:3;12972:9;12968:19;12955:33;12997:30;12994:2;;;-1:-1;;13030:12;12994:2;13060:86;13138:7;12983:3;12972:9;12968:19;12955:33;13118:9;13114:22;13060:86;:::i;:::-;13050:96;;-1:-1;;;;;13211:3;13200:9;13196:19;13183:33;13225:30;13222:2;;;-1:-1;;13258:12;13222:2;13288:78;13358:7;13211:3;13200:9;13196:19;13183:33;13338:9;13334:22;13288:78;:::i;:::-;13278:88;;13403:3;13447:9;13443:22;6929:20;13412:63;;13532:53;13577:7;13512:3;13557:9;13553:22;13532:53;:::i;:::-;13521:64;;13622:3;13667:9;13663:22;6929:20;13631:64;;11443:2268;;;;;;;;;;;;;;:::o;13718:1817::-;;;;;;;;14077:3;14065:9;14056:7;14052:23;14048:33;14045:2;;;-1:-1;;14084:12;14045:2;14142:17;14129:31;-1:-1;;;;;14180:18;14172:6;14169:30;14166:2;;;-1:-1;;14202:12;14166:2;14232:78;14302:7;14293:6;14282:9;14278:22;14232:78;:::i;:::-;14222:88;;14375:2;14364:9;14360:18;14347:32;14333:46;;14180:18;14391:6;14388:30;14385:2;;;-1:-1;;14421:12;14385:2;14451:78;14521:7;14512:6;14501:9;14497:22;14451:78;:::i;:::-;14441:88;;14566:2;14609:9;14605:22;6929:20;14574:63;;14702:2;14691:9;14687:18;14674:32;14660:46;;14180:18;14718:6;14715:30;14712:2;;;-1:-1;;14748:12;14712:2;14778:76;14846:7;14837:6;14826:9;14822:22;14778:76;:::i;:::-;14768:86;;14919:3;14908:9;14904:19;14891:33;14877:47;;14180:18;14936:6;14933:30;14930:2;;;-1:-1;;14966:12;14930:2;14996:78;15066:7;15057:6;15046:9;15042:22;14996:78;:::i;:::-;14986:88;;15139:3;15128:9;15124:19;15111:33;15097:47;;14180:18;15156:6;15153:30;15150:2;;;-1:-1;;15186:12;15150:2;15216:78;15286:7;15277:6;15266:9;15262:22;15216:78;:::i;:::-;15206:88;;15359:3;15348:9;15344:19;15331:33;15317:47;;14180:18;15376:6;15373:30;15370:2;;;-1:-1;;15406:12;15370:2;;15436:83;15511:7;15502:6;15491:9;15487:22;15436:83;:::i;:::-;15426:93;;;14039:1496;;;;;;;;;;:::o;15542:257::-;;15654:2;15642:9;15633:7;15629:23;15625:32;15622:2;;;-1:-1;;15660:12;15622:2;4065:6;4059:13;55367:5;53228:13;53221:21;55345:5;55342:32;55332:2;;-1:-1;;55378:12;15806:241;;15910:2;15898:9;15889:7;15885:23;15881:32;15878:2;;;-1:-1;;15916:12;15878:2;-1:-1;4186:20;;15872:175;-1:-1;15872:175::o;16054:491::-;;;;16192:2;16180:9;16171:7;16167:23;16163:32;16160:2;;;-1:-1;;16198:12;16160:2;-1:-1;;4186:20;;;16350:2;16389:22;;4186:20;;-1:-1;16458:2;16497:22;;;6929:20;;16154:391;-1:-1;16154:391::o;16552:263::-;;16667:2;16655:9;16646:7;16642:23;16638:32;16635:2;;;-1:-1;;16673:12;16635:2;-1:-1;7077:13;;16629:186;-1:-1;16629:186::o;16823:205::-;-1:-1;;;;;53395:54;17626:45;;17017:4;17008:14;;16919:109::o;17549:127::-;-1:-1;;;;;53395:54;17626:45;;17620:56::o;17944:690::-;;18137:5;50792:12;51870:6;51865:3;51858:19;51907:4;;51902:3;51898:14;18149:93;;51907:4;18313:5;50322:14;-1:-1;18352:260;18377:6;18374:1;18371:13;18352:260;;;18438:13;;-1:-1;;;;;53395:54;17626:45;;17190:14;;;;51475;;;;50022:18;18392:9;18352:260;;;-1:-1;18618:10;;18068:566;-1:-1;;;;;18068:566::o;19482:690::-;;19675:5;50792:12;51870:6;51865:3;51858:19;51907:4;;51902:3;51898:14;19687:93;;51907:4;19851:5;50322:14;-1:-1;19890:260;19915:6;19912:1;19909:13;19890:260;;;19976:13;;20251:37;;17372:14;;;;51475;;;;19937:1;19930:9;19890:260;;20459:343;;20601:5;50792:12;51870:6;51865:3;51858:19;20694:52;20739:6;51907:4;51902:3;51898:14;51907:4;20720:5;20716:16;20694:52;:::i;:::-;50117:9;54985:14;-1:-1;;54981:28;20758:39;;;;51907:4;20758:39;;20549:253;-1:-1;;20549:253::o;29842:271::-;;20969:5;50792:12;21080:52;21125:6;21120:3;21113:4;21106:5;21102:16;21080:52;:::i;:::-;21144:16;;;;;29976:137;-1:-1;;29976:137::o;30120:520::-;23165:66;23145:87;;23129:2;23251:12;;20251:37;;;;30603:12;;;30337:303::o;30647:222::-;-1:-1;;;;;53395:54;;;;17626:45;;30774:2;30759:18;;30745:124::o;31121:444::-;-1:-1;;;;;53395:54;;;17626:45;;53395:54;;;;31468:2;31453:18;;17626:45;31551:2;31536:18;;20251:37;;;;31304:2;31289:18;;31275:290::o;31572:333::-;-1:-1;;;;;53395:54;;;;17626:45;;31891:2;31876:18;;20251:37;31727:2;31712:18;;31698:207::o;31912:222::-;20251:37;;;32039:2;32024:18;;32010:124::o;32141:964::-;;20281:5;20258:3;20251:37;20281:5;32645:2;32634:9;32630:18;20251:37;20281:5;32728:2;32717:9;32713:18;20251:37;32480:3;32765:2;32754:9;32750:18;32743:48;32805:108;32480:3;32469:9;32465:19;32899:6;32805:108;:::i;:::-;32962:9;32956:4;32952:20;32946:3;32935:9;32931:19;32924:49;32987:108;33090:4;33081:6;32987:108;:::i;:::-;32979:116;32451:654;-1:-1;;;;;;;;32451:654::o;33112:2186::-;;33822:3;20281:5;20258:3;20251:37;53927:24;34071:2;34060:9;34056:18;21327:134;33822:3;34108:2;34097:9;34093:18;34086:48;34148:108;33822:3;33811:9;33807:19;34242:6;34148:108;:::i;:::-;34140:116;;34304:9;34298:4;34294:20;34289:2;34278:9;34274:18;34267:48;34329:108;34432:4;34423:6;34329:108;:::i;:::-;34321:116;;34486:9;34480:4;34476:20;34470:3;34459:9;34455:19;34448:49;34511:108;34614:4;34605:6;34511:108;:::i;:::-;34503:116;;34668:9;34662:4;34658:20;34652:3;34641:9;34637:19;34630:49;34693:108;34796:4;34787:6;34693:108;:::i;:::-;-1:-1;;;;;53395:54;;34880:3;34865:19;;17626:45;34924:20;;;34918:3;34903:19;;34896:49;34685:116;-1:-1;34959:76;34685:116;35021:6;34959:76;:::i;:::-;35114:3;35099:19;;20251:37;;;;-1:-1;;35198:3;35183:19;;20251:37;;;;35283:3;35268:19;;;20251:37;34951:84;33793:1505;-1:-1;;;;;;;;33793:1505::o;35305:1648::-;;35878:3;20281:5;20258:3;20251:37;36127:2;21454:5;36127:2;36116:9;36112:18;21327:134;35878:3;36164:2;36153:9;36149:18;36142:48;36204:108;35878:3;35867:9;35863:19;36298:6;36204:108;:::i;:::-;36196:116;;36360:9;36354:4;36350:20;36345:2;36334:9;36330:18;36323:48;36385:124;18906:5;50792:12;18925:94;19012:6;19007:3;18925:94;:::i;:::-;18918:101;;36127:2;19098:5;50322:14;19110:21;;-1:-1;19137:284;19162:6;19159:1;19156:13;19137:284;;;19250:79;19325:3;19229:6;19223:13;19250:79;:::i;:::-;51475:14;;;;19243:86;-1:-1;19184:1;19177:9;19137:284;;;19141:14;;36558:9;36552:4;36548:20;36542:3;36531:9;36527:19;36520:49;36583:108;36686:4;36677:6;36583:108;:::i;:::-;36575:116;;;;;20281:5;36770:3;36759:9;36755:19;20251:37;36786:73;36854:3;36843:9;36839:19;36830:6;36786:73;:::i;:::-;20281:5;36938:3;36927:9;36923:19;20251:37;35849:1104;;;;;;;;;;;:::o;36960:640::-;;20281:5;20258:3;20251:37;20281:5;37354:2;37343:9;37339:18;20251:37;20281:5;37437:2;37426:9;37422:18;20251:37;37189:3;37474:2;37463:9;37459:18;37452:48;37514:76;37189:3;37178:9;37174:19;37576:6;37514:76;:::i;:::-;37506:84;37160:440;-1:-1;;;;;;37160:440::o;37607:556::-;20251:37;;;37983:2;37968:18;;20251:37;;;;38066:2;38051:18;;20251:37;38149:2;38134:18;;20251:37;37818:3;37803:19;;37789:374::o;38170:548::-;20251:37;;;53611:4;53600:16;;;;38538:2;38523:18;;29795:35;38621:2;38606:18;;20251:37;38704:2;38689:18;;20251:37;38377:3;38362:19;;38348:370::o;38725:310::-;;38872:2;38893:17;38886:47;38947:78;38872:2;38861:9;38857:18;39011:6;38947:78;:::i;39042:416::-;39242:2;39256:47;;;22353:2;39227:18;;;51858:19;-1:-1;;;51898:14;;;22369:45;22433:12;;;39213:245::o;39465:416::-;39665:2;39679:47;;;22684:2;39650:18;;;51858:19;22720:34;51898:14;;;22700:55;22789:33;22775:12;;;22768:55;22842:12;;;39636:245::o;39888:416::-;40088:2;40102:47;;;23502:2;40073:18;;;51858:19;23538:34;51898:14;;;23518:55;-1:-1;;;23593:12;;;23586:46;23651:12;;;40059:245::o;40311:416::-;40511:2;40525:47;;;23902:2;40496:18;;;51858:19;23938:33;51898:14;;;23918:54;23991:12;;;40482:245::o;40734:416::-;40934:2;40948:47;;;24242:2;40919:18;;;51858:19;24278:34;51898:14;;;24258:55;24347:31;24333:12;;;24326:53;24398:12;;;40905:245::o;41157:416::-;41357:2;41371:47;;;24649:2;41342:18;;;51858:19;24685:29;51898:14;;;24665:50;24734:12;;;41328:245::o;41580:416::-;41780:2;41794:47;;;24985:1;41765:18;;;51858:19;-1:-1;;;51898:14;;;25000:32;25051:12;;;41751:245::o;42003:416::-;42203:2;42217:47;;;25302:2;42188:18;;;51858:19;25338:34;51898:14;;;25318:55;-1:-1;;;25393:12;;;25386:27;25432:12;;;42174:245::o;42426:416::-;42626:2;42640:47;;;25683:2;42611:18;;;51858:19;25719:34;51898:14;;;25699:55;25788:29;25774:12;;;25767:51;25837:12;;;42597:245::o;42849:416::-;43049:2;43063:47;;;26088:2;43034:18;;;51858:19;26124:34;51898:14;;;26104:55;-1:-1;;;26179:12;;;26172:25;26216:12;;;43020:245::o;43272:416::-;43472:2;43486:47;;;26467:2;43457:18;;;51858:19;26503:29;51898:14;;;26483:50;26552:12;;;43443:245::o;43695:416::-;43895:2;43909:47;;;26803:2;43880:18;;;51858:19;-1:-1;;;51898:14;;;26819:40;26878:12;;;43866:245::o;44118:416::-;44318:2;44332:47;;;27129:2;44303:18;;;51858:19;27165:34;51898:14;;;27145:55;27234:30;27220:12;;;27213:52;27284:12;;;44289:245::o;44541:416::-;44741:2;44755:47;;;27535:2;44726:18;;;51858:19;27571:34;51898:14;;;27551:55;27640:25;27626:12;;;27619:47;27685:12;;;44712:245::o;44964:416::-;45164:2;45178:47;;;27936:2;45149:18;;;51858:19;27972:31;51898:14;;;27952:52;28023:12;;;45135:245::o;45387:416::-;45587:2;45601:47;;;28274:2;45572:18;;;51858:19;28310:34;51898:14;;;28290:55;-1:-1;;;28365:12;;;28358:27;28404:12;;;45558:245::o;45810:416::-;46010:2;46024:47;;;28655:2;45995:18;;;51858:19;28691:34;51898:14;;;28671:55;-1:-1;;;28746:12;;;28739:34;28792:12;;;45981:245::o;46233:416::-;46433:2;46447:47;;;29043:2;46418:18;;;51858:19;29079:33;51898:14;;;29059:54;29132:12;;;46404:245::o;46656:416::-;46856:2;46870:47;;;29383:2;46841:18;;;51858:19;29419:33;51898:14;;;29399:54;29472:12;;;46827:245::o;47308:740::-;;20281:5;20258:3;20251:37;47591:2;47709;47698:9;47694:18;47687:48;47749:108;47591:2;47580:9;47576:18;47843:6;47749:108;:::i;:::-;47905:9;47899:4;47895:20;47890:2;47879:9;47875:18;47868:48;47930:108;48033:4;48024:6;47930:108;:::i;48055:256::-;48117:2;48111:9;48143:17;;;-1:-1;;;;;48203:34;;48239:22;;;48200:62;48197:2;;;48275:1;;48265:12;48197:2;48117;48284:22;48095:216;;-1:-1;48095:216::o;48318:304::-;;-1:-1;;;;;48469:6;48466:30;48463:2;;;-1:-1;;48499:12;48463:2;-1:-1;48544:4;48532:17;;;48597:15;;48400:222::o;54560:268::-;54625:1;54632:101;54646:6;54643:1;54640:13;54632:101;;;54713:11;;;54707:18;54694:11;;;54687:39;54668:2;54661:10;54632:101;;;54748:6;54745:1;54742:13;54739:2;;;-1:-1;;54625:1;54795:16;;54788:27;54609:219::o;55022:117::-;-1:-1;;;;;53395:54;;55081:35;;55071:2;;55130:1;;55120:12;55071:2;55065:74;:::o

Swarm Source

ipfs://6bc6722725083ade04f749e952f128a0c9a42aa4555f022380d829b5d0258458
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.