Contract 0xFCc4C4D24aDA106CF7ac8B7A6eFec610619c5016

 
 
Txn Hash
Method
Block
From
To
Value
0xb041cdc8459b74d64594f847fafa82d8707480e33b49493786077aa1a9fab998Pause156977122022-10-07 17:31:2361 days 3 hrs agoEXENO COIN: Deployer IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160 Ether0.00071296 25.68395959
0x41d5e783261aa3438f1f6ecade9db33bf4eca874e6af7f669c5089d1d37136c5Release Availabl...156977042022-10-07 17:29:4761 days 3 hrs agoEXENO COIN: Deployer IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160 Ether0.00104468 30.26678361
0xc97d1d64fdc7b1aeb6f72da9480287fb78fe5b8d2dd533b5f84fb219be17b552Unfreeze Tokens156976922022-10-07 17:27:1161 days 3 hrs agoEXENO COIN: Deployer IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160 Ether0.00062142 14.62826368
0x9f2002ebac7494f3bfcbed388e4e882c05f4889deb9785a4b4b63cb5f54841dbDeposit156910682022-10-06 19:12:3562 days 1 hr agoENS Name tomake.eth IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160.00368647 Ether0.00210355 20.42089312
0x61ba58782fbad872c11a291c1dae1373ac59cf40aa176acab09d6a50fa5a6b75Deposit156576952022-10-02 3:13:2366 days 17 hrs agoENS Name tomake.eth IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160.00381234 Ether0.00078711 7.63875853
0xfcc123ecdafd8c8d4638d73fcfa5362b8bc9f44b762f35dd6eef93e132f09786Payout156462962022-09-30 12:57:2368 days 7 hrs ago0xba136f7c09a8803d65a141ac023ce5a9ffa43f4a IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160 Ether0.0015208518.69247415
0xe6b5f2d735ffa0d55b765e315fbc8f652f05474951ec97bae2485f2db5c7c036Payout156462932022-09-30 12:56:4768 days 7 hrs ago0xba136f7c09a8803d65a141ac023ce5a9ffa43f4a IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160 Ether0.001531418.82205966
0xcb39c7c1712334eb877d7d58a2ce5733d6faf6fe73f09fe1774a2a2c0aeeca4cDeposit156462222022-09-30 12:42:3568 days 7 hrs ago0xf85f3dd5e5426cfc967d494b237eea77fcdd00a0 IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160.00377654 Ether0.00228161 22.15544103
0x9d5e4868273fff33b62e374d553356269dd907ba743ad08da2a3af8c98cb1645Payout156462102022-09-30 12:40:1168 days 8 hrs ago0xba136f7c09a8803d65a141ac023ce5a9ffa43f4a IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160 Ether0.0022819623.17606917
0x6c15918f2e9ed4d2f946dd273a491894a3c52bb2aa83b4159f02c4382265b44dDeposit156461632022-09-30 12:30:3568 days 8 hrs ago0xf85f3dd5e5426cfc967d494b237eea77fcdd00a0 IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160.00372875 Ether0.00173955 17.73646751
0xffee4ac653aa0cbd00c8e62f524f060799960edfe17a0d1cc265669b32c25470Deposit156459502022-09-30 11:47:3568 days 8 hrs ago0xf85f3dd5e5426cfc967d494b237eea77fcdd00a0 IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160.00374346 Ether0.00134816 11.22781877
0x89fd7184bfac8423bc1e8bd4c10649ef2179ca20c095bfd561b2390f5e3066a8Payout156459342022-09-30 11:44:2368 days 8 hrs ago0xba136f7c09a8803d65a141ac023ce5a9ffa43f4a IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160 Ether0.00064557.92669776
0xf2e7e56848d3847bf98dadb0d602d4e488fb1ab0c308a7170fef381f9e6af1baPayout156458192022-09-30 11:21:2368 days 9 hrs ago0xba136f7c09a8803d65a141ac023ce5a9ffa43f4a IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160 Ether0.000880188.93931384
0x4cb14b14d2ff22ad25ae68a33580e67ffadad2edaf09c6f1e2dfc88e6926cc5aFreeze Tokens156403872022-09-29 17:08:1169 days 3 hrs agoEXENO COIN: Deployer IN  0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160 Ether0.00193054 23.11307437
0xed5a09675bca612822d3ffde71fd56456f4f840cfb73f6bc8b7923946203eecd0x60c06040156402162022-09-29 16:33:2369 days 4 hrs agoEXENO COIN: Deployer IN  Create: ExenoBridgeNode0 Ether0.08565809 21.68293151
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0x41d5e783261aa3438f1f6ecade9db33bf4eca874e6af7f669c5089d1d37136c5156977042022-10-07 17:29:4761 days 3 hrs ago 0xfcc4c4d24ada106cf7ac8b7a6efec610619c50160xf1f50b04e9d0fa696498fe5c79e8532a8714439b0.01874758 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ExenoBridgeNode

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-09-29
*/

// SPDX-License-Identifier: MIT
// File: erc-payable-token/contracts/token/ERC1363/IERC1363Spender.sol



pragma solidity ^0.8.0;

/**
 * @title IERC1363Spender Interface
 * @author Vittorio Minacori (https://github.com/vittominacori)
 * @dev Interface for any contract that wants to support approveAndCall
 *  from ERC1363 token contracts as defined in
 *  https://eips.ethereum.org/EIPS/eip-1363
 */
interface IERC1363Spender {
    /**
     * @notice Handle the approval of ERC1363 tokens
     * @dev Any ERC1363 smart contract calls this function on the recipient
     * after an `approve`. This function MAY throw to revert and reject the
     * approval. Return of other than the magic value MUST result in the
     * transaction being reverted.
     * Note: the token contract address is always the message sender.
     * @param sender address The address which called `approveAndCall` function
     * @param amount uint256 The amount of tokens to be spent
     * @param data bytes Additional data with no specified format
     * @return `bytes4(keccak256("onApprovalReceived(address,uint256,bytes)"))` unless throwing
     */
    function onApprovalReceived(
        address sender,
        uint256 amount,
        bytes calldata data
    ) external returns (bytes4);
}

// File: erc-payable-token/contracts/token/ERC1363/IERC1363Receiver.sol



pragma solidity ^0.8.0;

/**
 * @title IERC1363Receiver Interface
 * @author Vittorio Minacori (https://github.com/vittominacori)
 * @dev Interface for any contract that wants to support transferAndCall or transferFromAndCall
 *  from ERC1363 token contracts as defined in
 *  https://eips.ethereum.org/EIPS/eip-1363
 */
interface IERC1363Receiver {
    /**
     * @notice Handle the receipt of ERC1363 tokens
     * @dev Any ERC1363 smart contract calls this function on the recipient
     * after a `transfer` or a `transferFrom`. This function MAY throw to revert and reject the
     * transfer. Return of other than the magic value MUST result in the
     * transaction being reverted.
     * Note: the token contract address is always the message sender.
     * @param spender address The address which called `transferAndCall` or `transferFromAndCall` function
     * @param sender address The address which are token transferred from
     * @param amount uint256 The amount of tokens transferred
     * @param data bytes Additional data with no specified format
     * @return `bytes4(keccak256("onTransferReceived(address,address,uint256,bytes)"))` unless throwing
     */
    function onTransferReceived(
        address spender,
        address sender,
        uint256 amount,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165Checker.sol


// OpenZeppelin Contracts (last updated v4.7.2) (utils/introspection/ERC165Checker.sol)

pragma solidity ^0.8.0;


/**
 * @dev Library used to query support of an interface declared via {IERC165}.
 *
 * Note that these functions return the actual result of the query: they do not
 * `revert` if an interface is not supported. It is up to the caller to decide
 * what to do in these cases.
 */
library ERC165Checker {
    // As per the EIP-165 spec, no interface should ever match 0xffffffff
    bytes4 private constant _INTERFACE_ID_INVALID = 0xffffffff;

    /**
     * @dev Returns true if `account` supports the {IERC165} interface,
     */
    function supportsERC165(address account) internal view returns (bool) {
        // Any contract that implements ERC165 must explicitly indicate support of
        // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid
        return
            _supportsERC165Interface(account, type(IERC165).interfaceId) &&
            !_supportsERC165Interface(account, _INTERFACE_ID_INVALID);
    }

    /**
     * @dev Returns true if `account` supports the interface defined by
     * `interfaceId`. Support for {IERC165} itself is queried automatically.
     *
     * See {IERC165-supportsInterface}.
     */
    function supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) {
        // query support of both ERC165 as per the spec and support of _interfaceId
        return supportsERC165(account) && _supportsERC165Interface(account, interfaceId);
    }

    /**
     * @dev Returns a boolean array where each value corresponds to the
     * interfaces passed in and whether they're supported or not. This allows
     * you to batch check interfaces for a contract where your expectation
     * is that some interfaces may not be supported.
     *
     * See {IERC165-supportsInterface}.
     *
     * _Available since v3.4._
     */
    function getSupportedInterfaces(address account, bytes4[] memory interfaceIds)
        internal
        view
        returns (bool[] memory)
    {
        // an array of booleans corresponding to interfaceIds and whether they're supported or not
        bool[] memory interfaceIdsSupported = new bool[](interfaceIds.length);

        // query support of ERC165 itself
        if (supportsERC165(account)) {
            // query support of each interface in interfaceIds
            for (uint256 i = 0; i < interfaceIds.length; i++) {
                interfaceIdsSupported[i] = _supportsERC165Interface(account, interfaceIds[i]);
            }
        }

        return interfaceIdsSupported;
    }

    /**
     * @dev Returns true if `account` supports all the interfaces defined in
     * `interfaceIds`. Support for {IERC165} itself is queried automatically.
     *
     * Batch-querying can lead to gas savings by skipping repeated checks for
     * {IERC165} support.
     *
     * See {IERC165-supportsInterface}.
     */
    function supportsAllInterfaces(address account, bytes4[] memory interfaceIds) internal view returns (bool) {
        // query support of ERC165 itself
        if (!supportsERC165(account)) {
            return false;
        }

        // query support of each interface in _interfaceIds
        for (uint256 i = 0; i < interfaceIds.length; i++) {
            if (!_supportsERC165Interface(account, interfaceIds[i])) {
                return false;
            }
        }

        // all interfaces supported
        return true;
    }

    /**
     * @notice Query if a contract implements an interface, does not check ERC165 support
     * @param account The address of the contract to query for support of an interface
     * @param interfaceId The interface identifier, as specified in ERC-165
     * @return true if the contract at account indicates support of the interface with
     * identifier interfaceId, false otherwise
     * @dev Assumes that account contains a contract that supports ERC165, otherwise
     * the behavior of this method is undefined. This precondition can be checked
     * with {supportsERC165}.
     * Interface identification is specified in ERC-165.
     */
    function _supportsERC165Interface(address account, bytes4 interfaceId) private view returns (bool) {
        // prepare call
        bytes memory encodedParams = abi.encodeWithSelector(IERC165.supportsInterface.selector, interfaceId);

        // perform static call
        bool success;
        uint256 returnSize;
        uint256 returnValue;
        assembly {
            success := staticcall(30000, account, add(encodedParams, 0x20), mload(encodedParams), 0x00, 0x20)
            returnSize := returndatasize()
            returnValue := mload(0x00)
        }

        return success && returnSize >= 0x20 && returnValue > 0;
    }
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/utils/Strings.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol


// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;


/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

// File: @openzeppelin/contracts/utils/Address.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @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");

        (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");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// File: @openzeppelin/contracts/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.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].
 */
abstract 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() {
        _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 making 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: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

// File: @openzeppelin/contracts/security/Pausable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// File: erc-payable-token/contracts/token/ERC1363/IERC1363.sol



pragma solidity ^0.8.0;



/**
 * @title IERC1363 Interface
 * @author Vittorio Minacori (https://github.com/vittominacori)
 * @dev Interface for a Payable Token contract as defined in
 *  https://eips.ethereum.org/EIPS/eip-1363
 */
interface IERC1363 is IERC20, IERC165 {
    /**
     * @notice Transfer tokens from `msg.sender` to another address and then call `onTransferReceived` on receiver
     * @param to address The address which you want to transfer to
     * @param amount uint256 The amount of tokens to be transferred
     * @return true unless throwing
     */
    function transferAndCall(address to, uint256 amount) external returns (bool);

    /**
     * @notice Transfer tokens from `msg.sender` to another address and then call `onTransferReceived` on receiver
     * @param to address The address which you want to transfer to
     * @param amount uint256 The amount of tokens to be transferred
     * @param data bytes Additional data with no specified format, sent in call to `to`
     * @return true unless throwing
     */
    function transferAndCall(
        address to,
        uint256 amount,
        bytes calldata data
    ) external returns (bool);

    /**
     * @notice Transfer tokens from one address to another and then call `onTransferReceived` on receiver
     * @param from address The address which you want to send tokens from
     * @param to address The address which you want to transfer to
     * @param amount uint256 The amount of tokens to be transferred
     * @return true unless throwing
     */
    function transferFromAndCall(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);

    /**
     * @notice Transfer tokens from one address to another and then call `onTransferReceived` on receiver
     * @param from address The address which you want to send tokens from
     * @param to address The address which you want to transfer to
     * @param amount uint256 The amount of tokens to be transferred
     * @param data bytes Additional data with no specified format, sent in call to `to`
     * @return true unless throwing
     */
    function transferFromAndCall(
        address from,
        address to,
        uint256 amount,
        bytes calldata data
    ) external returns (bool);

    /**
     * @notice Approve the passed address to spend the specified amount of tokens on behalf of msg.sender
     * and then call `onApprovalReceived` on spender.
     * 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
     * @param spender address The address which will spend the funds
     * @param amount uint256 The amount of tokens to be spent
     */
    function approveAndCall(address spender, uint256 amount) external returns (bool);

    /**
     * @notice Approve the passed address to spend the specified amount of tokens on behalf of msg.sender
     * and then call `onApprovalReceived` on spender.
     * 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
     * @param spender address The address which will spend the funds
     * @param amount uint256 The amount of tokens to be spent
     * @param data bytes Additional data with no specified format, sent in call to `spender`
     */
    function approveAndCall(
        address spender,
        uint256 amount,
        bytes calldata data
    ) external returns (bool);
}

// File: erc-payable-token/contracts/payment/ERC1363Payable.sol



pragma solidity ^0.8.0;







/**
 * @title ERC1363Payable
 * @author Vittorio Minacori (https://github.com/vittominacori)
 * @dev Implementation proposal of a contract that wants to accept ERC1363 payments
 */
contract ERC1363Payable is IERC1363Receiver, IERC1363Spender, ERC165, Context {
    using ERC165Checker for address;

    /**
     * @dev Emitted when `amount` tokens are moved from one account (`sender`) to
     * this by spender (`operator`) using {transferAndCall} or {transferFromAndCall}.
     */
    event TokensReceived(address indexed operator, address indexed sender, uint256 amount, bytes data);

    /**
     * @dev Emitted when the allowance of this for a `sender` is set by
     * a call to {approveAndCall}. `amount` is the new allowance.
     */
    event TokensApproved(address indexed sender, uint256 amount, bytes data);

    // The ERC1363 token accepted
    IERC1363 private _acceptedToken;

    /**
     * @param acceptedToken_ Address of the token being accepted
     */
    constructor(IERC1363 acceptedToken_) {
        require(address(acceptedToken_) != address(0), "ERC1363Payable: acceptedToken is zero address");
        require(acceptedToken_.supportsInterface(type(IERC1363).interfaceId));

        _acceptedToken = acceptedToken_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165) returns (bool) {
        return
            interfaceId == type(IERC1363Receiver).interfaceId ||
            interfaceId == type(IERC1363Spender).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /*
     * @dev Note: remember that the token contract address is always the message sender.
     * @param spender The address which called `transferAndCall` or `transferFromAndCall` function
     * @param sender The address which are token transferred from
     * @param amount The amount of tokens transferred
     * @param data Additional data with no specified format
     */
    function onTransferReceived(
        address spender,
        address sender,
        uint256 amount,
        bytes memory data
    ) public override returns (bytes4) {
        require(_msgSender() == address(_acceptedToken), "ERC1363Payable: acceptedToken is not message sender");

        emit TokensReceived(spender, sender, amount, data);

        _transferReceived(spender, sender, amount, data);

        return IERC1363Receiver.onTransferReceived.selector;
    }

    /*
     * @dev Note: remember that the token contract address is always the message sender.
     * @param sender The address which called `approveAndCall` function
     * @param amount The amount of tokens to be spent
     * @param data Additional data with no specified format
     */
    function onApprovalReceived(
        address sender,
        uint256 amount,
        bytes memory data
    ) public override returns (bytes4) {
        require(_msgSender() == address(_acceptedToken), "ERC1363Payable: acceptedToken is not message sender");

        emit TokensApproved(sender, amount, data);

        _approvalReceived(sender, amount, data);

        return IERC1363Spender.onApprovalReceived.selector;
    }

    /**
     * @dev The ERC1363 token accepted
     */
    function acceptedToken() public view returns (IERC1363) {
        return _acceptedToken;
    }

    /**
     * @dev Called after validating a `onTransferReceived`. Override this method to
     * make your stuffs within your contract.
     * @param spender The address which called `transferAndCall` or `transferFromAndCall` function
     * @param sender The address which are token transferred from
     * @param amount The amount of tokens transferred
     * @param data Additional data with no specified format
     */
    function _transferReceived(
        address spender,
        address sender,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        // optional override
    }

    /**
     * @dev Called after validating a `onApprovalReceived`. Override this method to
     * make your stuffs within your contract.
     * @param sender The address which called `approveAndCall` function
     * @param amount The amount of tokens to be spent
     * @param data Additional data with no specified format
     */
    function _approvalReceived(
        address sender,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        // optional override
    }
}

// File: @openzeppelin/contracts/utils/math/Math.sol


// OpenZeppelin Contracts (last updated v4.7.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a >= b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. It the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`.
        // We also know that `k`, the position of the most significant bit, is such that `msb(a) = 2**k`.
        // This gives `2**k < a <= 2**(k+1)` → `2**(k/2) <= sqrt(a) < 2 ** (k/2+1)`.
        // Using an algorithm similar to the msb conmputation, we are able to compute `result = 2**(k/2)` which is a
        // good first aproximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1;
        uint256 x = a;
        if (x >> 128 > 0) {
            x >>= 128;
            result <<= 64;
        }
        if (x >> 64 > 0) {
            x >>= 64;
            result <<= 32;
        }
        if (x >> 32 > 0) {
            x >>= 32;
            result <<= 16;
        }
        if (x >> 16 > 0) {
            x >>= 16;
            result <<= 8;
        }
        if (x >> 8 > 0) {
            x >>= 8;
            result <<= 4;
        }
        if (x >> 4 > 0) {
            x >>= 4;
            result <<= 2;
        }
        if (x >> 2 > 0) {
            result <<= 1;
        }

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        uint256 result = sqrt(a);
        if (rounding == Rounding.Up && result * result < a) {
            result += 1;
        }
        return result;
    }
}

// File: contracts/ExenoBridgeNode.sol


pragma solidity 0.8.15;










/**
 * This contract facilitates cross-chain bridging of ERC20 tokens (including EXN token) and native currencies.
 * Users (referred to as 'beneficiaries') are expected to make a deposit on one chain (i.e. origin chain) 
 * and then receive a payout denominated in corresponding tokens (or native currency) on another chain (i.e. destination chain),
 * whereas all transfers are coordinated and authorized by Exeno's off-chain cloud infrastructure.
 */

contract ExenoBridgeNode is 
    Ownable,
    Pausable,
    ReentrancyGuard,
    ERC1363Payable
{
    // Encoded name of the blockchain where this contract is deployed
    bytes32 public immutable blockchain;
    
    // Address where funds are sent when they are extracted from this contract
    address public immutable wallet;
    
    // Address managed by the cloud infrastructure
    address public router;

    // Amount of frozen EXN tokens corresponding to the amount of EXN tokens minted on other blockchains
    uint256 public frozenTokens;

    // Amount of accumulated fees: first value is denominated in cash (i.e. native currency), while the second value is denominated in core token (i.e. EXN token)
    uint256[2] public earnedFee;

    // List of already used nonces for deposits
    mapping(bytes32 => bool) public depositIds;

    // List of already used nonces for withdrawals
    mapping(bytes32 => bool) public withdrawIds;

    // Indicates a deposit has been made - to be captured and acted upon by the cloud infrastructure
    event Deposit(
        bytes32 indexed id,
        bytes32[2] network,
        address[2] beneficiary,
        address[2] token,
        uint256[2] amount,
        uint256[2] timeout,
        bytes32[2] operation
    );

    // Indicates a withdrawal has been made - only for informational purposes, not intended to be acted upon by the cloud infrastructure
    event Withdraw(
        bytes32 indexed id,
        bytes32[2] network,
        address[2] beneficiary,
        address[2] token,
        uint256[2] amount,
        uint256[2] timeout,
        bytes32[2] operation
    );

     // Indicates that the router address has been updated
    event NewRouter(
        address newRouter
    );

    // Indicates that funds have been released
    event ReleaseFunds (
        address token,
        uint256 amount
    );

    // Indicates that core tokens have been frozen
    event FreezeTokens (
        uint256 amount
    );

    // Indicates that core tokens have been unfrozen
    event UnfreezeTokens (
        uint256 amount
    );

    /**
        Data payload describing the entire cross-blockchain transfer
        The first value in a pair refers to what happens on the origin chain, the second value refers to what happens on the destination chain
        operation[0] - allowed values: "burn" | "freeze" | "accept"
        operation[1] - allowed values: "mint" | "unfreeze" | "release"
     */
    struct Data {
        bytes32 id;
        bytes32[2] network;
        address[2] beneficiary;
        address[2] token;
        uint256[2] amount;
        uint256[2] timeout;
        bytes32[2] operation;
    }

    modifier onlyRouter() {
        require(msg.sender == router,
            "ExenoBridgeNode: unauthorized router");
        _;
    }

    modifier validAddress(address a) {
        require(a != address(0),
            "ExenoBridgeNode: address cannot be zero");
        require(a != address(this),
            "ExenoBridgeNode: invalid address");
        _;
    }

    constructor(
        bytes32 _blockchain,
        address _token,
        address _wallet,
        address _router
    )
        validAddress(_token)
        validAddress(_wallet)
        validAddress(_router)
        ERC1363Payable(IERC1363(_token))
    {
        blockchain = _blockchain;
        wallet = _wallet;
        router = _router;
    }

    /**
     * Gateway for deposits to be executed by the beneficiary - with arguments listed explicitly
     * @param fulfilled - flag that needs to be set to `false` indicating it's a deposit
     * @param fee - the required fee: first value is denominated in cash (i.e. native currency), while the second value is denominated in core token (i.e. EXN token)
     * @param signature - all arguments need to be signed by the router, indicating the router's acceptance for the deposit's execution
     */
    function deposit(
        bytes32 id,
        bytes32[2] calldata network,
        address[2] calldata beneficiary,
        address[2] calldata token,
        uint256[2] calldata amount,
        uint256[2] calldata timeout,
        bytes32[2] calldata operation,
        bool fulfilled,
        uint256[2] calldata fee,
        bytes calldata signature
    )
        external payable nonReentrant whenNotPaused
    {
        Data memory data = Data(id, network, beneficiary, token, amount, timeout, operation);
        _verifySignature(data, fulfilled, fee, signature);
        _validateDeposit(data, fulfilled, fee);
        _processDeposit(data);
    }

    /**
     * Gateway for deposits to be executed by the beneficiary - with arguments packed into a single encoding
     */
    function deposit(
        bytes calldata encodedData
    )
        external payable nonReentrant whenNotPaused
    {
        (Data memory data, bool fulfilled, uint256[2] memory fee, bytes memory signature) = _unpackSignedData(encodedData);
        _verifySignature(data, fulfilled, fee, signature);
        _validateDeposit(data, fulfilled, fee);
        _processDeposit(data);
    }

    /**
     * Gateway for withdrawals to be executed by the beneficiary - with arguments listed explicitly
     * @param fulfilled - flag that needs to be set to `true` indicating it's a withdrawal
     * @param fee - the required fee: first value is denominated in native currency, while the second value is denominated in core token
     * @param signature - all arguments need to be signed by the router, indicating the router's acceptance for the withdrawal's execution
     */
    function withdraw(
        bytes32 id,
        bytes32[2] calldata network,
        address[2] calldata beneficiary,
        address[2] calldata token,
        uint256[2] calldata amount,
        uint256[2] calldata timeout,
        bytes32[2] calldata operation,
        bool fulfilled,
        uint256[2] calldata fee,
        bytes calldata signature
    )
        external payable nonReentrant whenNotPaused
    {
        Data memory data = Data(id, network, beneficiary, token, amount, timeout, operation);
        _verifySignature(data, fulfilled, fee, signature);
        _validateWithdraw(fulfilled, fee);
        _processWithdraw(data);
    }

    /**
     * Gateway for withdrawals to be executed by the beneficiary - with arguments packed into a single encoding
     */
    function withdraw(
        bytes calldata encodedData
    )
        external payable nonReentrant whenNotPaused
    {
        (Data memory data, bool fulfilled, uint256[2] memory fee, bytes memory signature) = _unpackSignedData(encodedData);
        _verifySignature(data, fulfilled, fee, signature);
        _validateWithdraw(fulfilled, fee);
        _processWithdraw(data);
    }

    /**
     * Dry-run probe for a deposit payload
     */
    function depositDryRun(
        bytes calldata encodedData
    )
        external view returns(bool)
    {
        (Data memory data, bool fulfilled, uint256[2] memory fee, bytes memory signature) = _unpackSignedData(encodedData);
        _verifySignature(data, fulfilled, fee, signature);
        require(!fulfilled,
            "ExenoBridgeNode: this payload is not a deposit");
        require(!depositIds[data.id],
            "ExenoBridgeNode: deposit already processed");
        require(data.network[0] == blockchain,
            "ExenoBridgeNode: blockchain mismatch");
        if (data.operation[0] == bytes32("burn")) {
            require(_isMintable(data.token[0]),
                "ExenoBridgeNode: burn operation cannot be done on a non-mintable token");
        } else if (data.operation[0] == bytes32("freeze")) {
            require(_isCore(data.token[0]),
                "ExenoBridgeNode: freeze operation cannot be done on a non-core token");
        }
        return data.timeout[0] == 0 || block.timestamp <= data.timeout[0];
    }

    /**
     * Dry-run probe for a withdrawal payload
     */
    function withdrawDryRun(
        bytes calldata encodedData
    )
        external view returns(bool)
    {
        (Data memory data, bool fulfilled, uint256[2] memory fee, bytes memory signature) = _unpackSignedData(encodedData);
        _verifySignature(data, fulfilled, fee, signature);
        require(fulfilled,
            "ExenoBridgeNode: this payload is not a withdraw");
        require(!withdrawIds[data.id],
            "ExenoBridgeNode: withdraw already processed");
        require(data.network[1] == blockchain,
            "ExenoBridgeNode: blockchain mismatch");
        if (data.operation[1] == bytes32("mint")) {
            require(_isMintable(data.token[1]),
                "ExenoBridgeNode: mint operation cannot be done on a non-mintable token");
        } else if (data.operation[1] == bytes32("unfreeze")) {
            require(_isCore(data.token[1]),
                "ExenoBridgeNode: unfreeze operation cannot be done on a non-core token");
        }
        return data.timeout[1] == 0 || block.timestamp >= data.timeout[1];
    }

    /**
     * Gateway for payouts executed by the router - with arguments listed explicitly
     */
    function payout(
        bytes32 id,
        bytes32[2] calldata network,
        address[2] calldata beneficiary,
        address[2] calldata token,
        uint256[2] calldata amount,
        uint256[2] calldata timeout,
        bytes32[2] calldata operation
    )
        external onlyRouter
    {
        _processWithdraw(Data(id, network, beneficiary, token, amount, timeout, operation));
    }

    /**
     * Gateway for payouts to be executed by the router - with arguments packed into a single encoding
     */
    function payout(
        bytes calldata encodedData
    )
        external onlyRouter
    {
        _processWithdraw(_unpackData(encodedData));
    }

    /**
     * We want the contract to be able to receive native currency - it's needed when we want to add liquidity to it
     */
    receive()
        external payable
    {}

    /**
     * Implementation of ERC1363Payable
     * When EXN tokens are sent to this contract via `transferAndCall` they are interpreted as an act of depositing or withdrawing
     * @param sender The address performing the action
     * @param amount The amount of tokens transferred
     * @param encodedData Encoded payload which specifies the intended deposit or withdrawal
     */
    function _transferReceived(
        address,
        address sender,
        uint256 amount,
        bytes memory encodedData
    )
        internal override nonReentrant whenNotPaused
    {
        (Data memory data, bool fulfilled, uint256[2] memory fee, bytes memory signature) = _unpackSignedData(encodedData);
        _verifySignature(data, fulfilled, fee, signature);
        if (!fulfilled) { // in case it's a deposit we treat tokens sent to this contract as a deposit and/or fee payment    
            _validateDeposit(data, sender, amount, fee);
            _processDeposit(data);
        } else { // in case it's a withdrawal we treat tokens sent to this contract as a fee payment
            _validateWithdraw(amount, fee);
            _processWithdraw(data);
        }
    }

    /**
     * Only payloads signed by the router should be accepted
     * Make sure that arguments contained in the payload match the arguments encoded in the signed message
     */
    function _verifySignature(
        Data memory d,
        bool fulfilled,
        uint256[2] memory fee,
        bytes memory signature
    )
        internal view
    {
        bytes memory payload = abi.encodePacked(d.id, d.network, d.beneficiary, d.token, d.amount, d.timeout, d.operation, fulfilled, fee);
        address signer = ECDSA.recover(ECDSA.toEthSignedMessageHash(keccak256(payload)), signature);
        require(signer == router,
            "ExenoBridgeNode: unauthorized signer");
    }

    /**
     * When fee is paid in cash (i.e. native currency), validate the following aspects of a deposit:
     * (a) the `fulfilled` flag is set to `false`
     * (b) the sender matches the beneficiary
     * (c) the attached payment and/or allowance match the values defined in the payload
     */
    function _validateDeposit(
        Data memory d,
        bool fulfilled,
        uint256[2] memory fee
    )
        internal
    {
        require(!fulfilled,
            "ExenoBridgeNode: this payload is not a deposit");
        require(msg.sender == d.beneficiary[0],
            "ExenoBridgeNode: unexpected sender");
        if (_isNative(d.token[0])) {
            require(msg.value >= d.amount[0] + fee[0],
                "ExenoBridgeNode: not enough cash attached to cover amount and fee");
        } else {
            require(msg.value >= fee[0],
                "ExenoBridgeNode: not enough cash attached to cover fee");
            require(IERC20(d.token[0]).allowance(msg.sender, address(this)) >= d.amount[0],
                "ExenoBridgeNode: before depositing user must approve amount");
            require(IERC20(d.token[0]).transferFrom(msg.sender, address(this), d.amount[0]),
                "ExenoBridgeNode: ERC20 transferFrom failed");
        }
        earnedFee[0] += fee[0];
    }

    /**
     * When fee is paid in core tokens, validate the following aspects of a deposit:
     * (a) the sender matches the beneficiary
     * (b) the transferred amount and/or allowance match the values defined in the payload
     */
    function _validateDeposit(
        Data memory d,
        address sender,
        uint256 amount,
        uint256[2] memory fee
    )
        internal
    {
        require(sender == d.beneficiary[0],
            "ExenoBridgeNode: unexpected sender");
        if (_isCore(d.token[0])) {
            require(amount >= d.amount[0] + fee[1],
                "ExenoBridgeNode: not enough core tokens transferred to cover amount and fee");
        } else {
            require(amount >= fee[1],
                "ExenoBridgeNode: not enough core tokens transferred to cover fee");
            require(IERC20(d.token[0]).allowance(sender, address(this)) >= d.amount[0],
                "ExenoBridgeNode: before depositing user must approve amount");
            require(IERC20(d.token[0]).transferFrom(sender, address(this), d.amount[0]),
                "ExenoBridgeNode: ERC20 transferFrom failed");
        }
        earnedFee[1] += fee[1];
    }

    /**
     * Process a deposit according to the instruction defined in the `operation[0]` parameter
     * There are 3 options: 
     * (a) "burn" - in case the token on the origin chain is mintable
     * (b) "freeze" - in case the token on the destination chain is mintable
     * (c) "accept" - in all other cases
     */
    function _processDeposit(
        Data memory d
    )
        internal
    {
        require(!depositIds[d.id],
            "ExenoBridgeNode: deposit already processed");
        depositIds[d.id] = true;
        require(d.network[0] == blockchain,
            "ExenoBridgeNode: blockchain mismatch");
        require(d.timeout[0] == 0 || block.timestamp <= d.timeout[0],
            "ExenoBridgeNode: time-window for deposit has already expired");
        if (d.operation[0] == bytes32("burn")) {
            require(_isMintable(d.token[0]),
                "ExenoBridgeNode: burn operation cannot be done on a non-mintable token");
            Mintable(d.token[0]).burn(d.amount[0]);
        } else if (d.operation[0] == bytes32("freeze")) {
            require(_isCore(d.token[0]),
                "ExenoBridgeNode: freeze operation cannot be done on a non-core token");
            frozenTokens += d.amount[0];
        }
        emit Deposit(d.id, d.network, d.beneficiary, d.token, d.amount, d.timeout, d.operation);
    }

    /**
     * When fee is paid in cash (i.e. native currency), validate the following aspects of a withdrawal:
     * (a) the `fulfilled` flag is set to `true`
     * (b) the attached payment matches the value defined in the payload
     */
    function _validateWithdraw(
        bool fulfilled,
        uint256[2] memory fee
    )
        internal
    {
        require(fulfilled,
            "ExenoBridgeNode: this payload is not a withdraw");
        require(msg.value >= fee[0],
            "ExenoBridgeNode: not enough cash attached to cover fee");
        earnedFee[0] += fee[0];
    }

    /**
     * When fee is paid in core tokens, validate that the transferred amount matches the value defined in the payload
     */
    function _validateWithdraw(
        uint256 amount,
        uint256[2] memory fee
    )
        internal
    {
        require(amount >= fee[1],
            "ExenoBridgeNode: not enough core tokens transferred to cover fee");
        earnedFee[1] += fee[1];
    }

    /**
     * Process a withdrawal according to the instruction defined in the `operation[1]` parameter
     * There are 3 options: 
     * (a) "mint" - in case the token on the destination chain is mintable
     * (b) "unfreeze" - in case the token on the origin chain is mintable
     * (c) "release" - in all other cases
     */
    function _processWithdraw(
        Data memory d
    )
        internal
    {
        require(!withdrawIds[d.id],
            "ExenoBridgeNode: withdraw already processed");
        withdrawIds[d.id] = true;
        require(d.network[1] == blockchain,
            "ExenoBridgeNode: blockchain mismatch");
        require(d.timeout[1] == 0 || block.timestamp >= d.timeout[1],
            "ExenoBridgeNode: time-window for withdraw has not started yet");
        if (d.operation[1] == bytes32("mint")) {
            require(_isMintable(d.token[1]),
                "ExenoBridgeNode: mint operation cannot be done on a non-mintable token");
            Mintable(d.token[1]).mint(d.beneficiary[1], d.amount[1]);
        } else if (d.operation[1] == bytes32("unfreeze")) {
            require(_isCore(d.token[1]),
                "ExenoBridgeNode: unfreeze operation cannot be done on a non-core token");
            require(ownedTokens(d.token[1]) >= d.amount[1],
                "ExenoBridgeNode: cannot unfreeze tokens as there are not enough owned tokens");
            require(frozenTokens >= d.amount[1],
                "ExenoBridgeNode: cannot unfreeze tokens as there are not enough frozen tokens");
            require(IERC20(d.token[1]).transfer(d.beneficiary[1], d.amount[1]),
                "ExenoBridgeNode: ERC20 transfer failed");
            frozenTokens -= d.amount[1];
        } else {
            if (_isNative(d.token[1])) {
                require(availableCash() >= d.amount[1],
                    "ExenoBridgeNode: cannot release cash as there is not enough available cash");
                Address.sendValue(payable(d.beneficiary[1]), d.amount[1]);
            } else {
                require(availableTokens(d.token[1]) >= d.amount[1],
                    "ExenoBridgeNode: cannot release tokens as there are not enough available tokens");
                require(IERC20(d.token[1]).transfer(d.beneficiary[1], d.amount[1]),
                    "ExenoBridgeNode: ERC20 transfer failed");
            }
        }
        emit Withdraw(d.id, d.network, d.beneficiary, d.token, d.amount, d.timeout, d.operation);
    }

    /**
     * Helper function for unpacking encoded payloads of unsigned `Data`
     */
    function _unpackData(bytes memory encodedData)
        internal pure returns(Data memory)
    {
        (
            bytes32 id,
            bytes32[2] memory network,
            address[2] memory beneficiary,
            address[2] memory token,
            uint256[2] memory amount,
            uint256[2] memory timeout,
            bytes32[2] memory operation
        ) = abi.decode(encodedData, (bytes32, bytes32[2], address[2], address[2],  uint256[2], uint256[2], bytes32[2]));
        return Data(id, network, beneficiary, token, amount, timeout, operation);
    }

    /**
     * Helper function for unpacking encoded payloads of signed `Data` 
     */
    function _unpackSignedData(bytes memory encodedData)
        internal pure returns(Data memory, bool, uint256[2] memory, bytes memory)
    {
        (
            bytes32 id,
            bytes32[2] memory network,
            address[2] memory beneficiary,
            address[2] memory token,
            uint256[2] memory amount,
            uint256[2] memory timeout,
            bytes32[2] memory operation,
            bool fulfilled,
            uint256[2] memory fee,
            bytes memory signature
        ) = abi.decode(encodedData, (bytes32, bytes32[2], address[2], address[2], uint256[2], uint256[2], bytes32[2], bool, uint256[2], bytes));
        return (Data(id, network, beneficiary, token, amount, timeout, operation), fulfilled, fee, signature);
    }

    /**
     * Returns the IERC1363 token associated with this contract, i.e. EXN token
     */
    function _coreToken()
        internal view returns(address)
    {
        return address(acceptedToken());
    }

    /**
     * Checks whether we are dealing with the core token (i.e. EXN token)
     */
    function _isCore(address token)
        internal view returns(bool)
    {
        return token == _coreToken();
    }

    /**
     * Checks whether we are dealing with the native currency (indicated as zero address)
     */
    function _isNative(address token)
        internal pure returns(bool)
    {
        return token == address(0);
    }

    /**
     * Checks whether we are dealing with a mintable core token (not all incarnations of the EXN token are mintable)
     */
    function _isMintable(address token)
        internal view returns(bool)
    {
        if (!_isCore(token)) {
            return false;
        }
        Mintable mintable = Mintable(token);
        try mintable.manager() returns(address manager) {
            return manager == address(this);
        } catch (bytes memory) {
            return false;
        }
    }

    /**
     * Current balance of native currency
     */
    function ownedCash()
        public view returns(uint256)
    {
        return address(this).balance;
    }

    /**
     * Current balance of the core token (i.e. EXN token)
     */
    function ownedTokens()
        external view returns(uint256)
    {
        return ownedTokens(_coreToken());
    }

    /**
     * Current balance of any ERC20 token
     */
    function ownedTokens(address token)
        public view returns(uint256)
    {
        return IERC20(token).balanceOf(address(this));
    }

    /**
     * How much native currency is available for withdrawals/payouts
     */
    function availableCash()
        public view returns(uint256)
    {
        return ownedCash();
    }

    /**
     * How many core tokens (i.e. EXN tokens) are available for withdrawals/payouts
     */
    function availableTokens()
        external view returns(uint256)
    {
        return availableTokens(_coreToken());
    }

    /**
     * How many ERC20 tokens are available for withdrawals/payouts
     */
    function availableTokens(address token)
        public view returns(uint256)
    {
        // Frozen tokens are not meant to be part of the liquidity pool
        // They should only be released as a result of burning of EXN tokens on some other chain
        if (_isCore(token)) {
            return Math.max(ownedTokens(_coreToken()) - frozenTokens, 0);
        }
        return ownedTokens(token);
    }

    /**
     * Release all available funds in native currency
     */
    function releaseAvailableCash()
        external onlyOwner
    {
        uint256 balance = availableCash();
        require(balance > 0,
            "ExenoBridgeNode: there is no available cash to release");
        releaseAvailableCash(balance);
    }

    /**
     * Release a specified amount of available funds in native currency
     */
    function releaseAvailableCash(uint256 amount)
        public onlyOwner
    {
        require(amount <= availableCash(),
            "ExenoBridgeNode: amount to release is more than available");
        Address.sendValue(payable(wallet), amount);
        emit ReleaseFunds(address(0), amount);
    }

    /**
     * Release all available funds in the core token (i.e. EXN token)
     */
    function releaseAvailableTokens()
        external onlyOwner
    {
        releaseAvailableTokens(_coreToken());
    }

    /**
     * Release a specified amount of the core token (i.e. EXN token)
     */
    function releaseAvailableTokens(uint256 amount)
        external onlyOwner
    {
        releaseAvailableTokens(_coreToken(), amount);
    }

    /**
     * Release all available funds in an ERC20 token
     */
    function releaseAvailableTokens(address token)
        public onlyOwner
    {
        uint256 balance = availableTokens(token);
        require(balance > 0,
            "ExenoBridgeNode: there are no available tokens to release");
       releaseAvailableTokens(token, balance);
    }

    /**
     * Release a specified amount of an ERC20 token
     */
    function releaseAvailableTokens(
        address token,
        uint256 amount
    )
        public onlyOwner nonReentrant
    {
        require(amount <= availableTokens(token),
            "ExenoBridgeNode: amount to release is more than available");
        require(IERC20(token).transfer(wallet, amount),
            "ExenoBridgeNode: ERC20 transfer failed");
        emit ReleaseFunds(token, amount);
    }

    /**
     * Change the router - only to be used by the owner
     */
    function setRouter(address newRouter)
        external onlyOwner validAddress(newRouter)
    {
        router = newRouter;
        emit NewRouter(newRouter);
    }

    /**
     * Freeze core tokens - only to be used when initializing the contract
     */
    function freezeTokens(uint256 amount)
        external onlyOwner nonReentrant
    {
        require(IERC20(_coreToken()).allowance(msg.sender, address(this)) >= amount,
            "ExenoBridgeNode: before freezing owner must approve amount");
        require(IERC20(_coreToken()).transferFrom(msg.sender, address(this), amount),
            "ExenoBridgeNode: ERC20 transferFrom failed");
        frozenTokens += amount;
        emit FreezeTokens(amount);
    }

    /**
     * Unfreeze core tokens - only to be used when decommissioning the contract
     */
    function unfreezeTokens(uint256 amount)
        external onlyOwner nonReentrant
    {
        require(amount <= frozenTokens,
            "ExenoBridgeNode: amount to unfreeze is more than frozen");
        require(IERC20(_coreToken()).transfer(wallet, amount),
            "ExenoBridgeNode: ERC20 transfer failed");
        frozenTokens -= amount;
        emit UnfreezeTokens(amount);
    }

    /**
     * Pause all deposit and withdrawal operations
     */
    function pause()
        external onlyOwner
    {
        _pause();
    }
    
    /**
     * Unpause all deposit and withdrawal operations
     */
    function unpause()
        external onlyOwner
    {
        _unpause();
    }
}

/**
 * Implemented by every mintable incarnation of the EXN token
 */
interface Mintable {
    function manager() external view returns(address);
    function mint(address, uint256) external;
    function burn(uint256) external;
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"_blockchain","type":"bytes32"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_wallet","type":"address"},{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":false,"internalType":"bytes32[2]","name":"network","type":"bytes32[2]"},{"indexed":false,"internalType":"address[2]","name":"beneficiary","type":"address[2]"},{"indexed":false,"internalType":"address[2]","name":"token","type":"address[2]"},{"indexed":false,"internalType":"uint256[2]","name":"amount","type":"uint256[2]"},{"indexed":false,"internalType":"uint256[2]","name":"timeout","type":"uint256[2]"},{"indexed":false,"internalType":"bytes32[2]","name":"operation","type":"bytes32[2]"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FreezeTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"newRouter","type":"address"}],"name":"NewRouter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReleaseFunds","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"TokensApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"TokensReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"UnfreezeTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"id","type":"bytes32"},{"indexed":false,"internalType":"bytes32[2]","name":"network","type":"bytes32[2]"},{"indexed":false,"internalType":"address[2]","name":"beneficiary","type":"address[2]"},{"indexed":false,"internalType":"address[2]","name":"token","type":"address[2]"},{"indexed":false,"internalType":"uint256[2]","name":"amount","type":"uint256[2]"},{"indexed":false,"internalType":"uint256[2]","name":"timeout","type":"uint256[2]"},{"indexed":false,"internalType":"bytes32[2]","name":"operation","type":"bytes32[2]"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"acceptedToken","outputs":[{"internalType":"contract IERC1363","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"availableCash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"availableTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"availableTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blockchain","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"encodedData","type":"bytes"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"},{"internalType":"bytes32[2]","name":"network","type":"bytes32[2]"},{"internalType":"address[2]","name":"beneficiary","type":"address[2]"},{"internalType":"address[2]","name":"token","type":"address[2]"},{"internalType":"uint256[2]","name":"amount","type":"uint256[2]"},{"internalType":"uint256[2]","name":"timeout","type":"uint256[2]"},{"internalType":"bytes32[2]","name":"operation","type":"bytes32[2]"},{"internalType":"bool","name":"fulfilled","type":"bool"},{"internalType":"uint256[2]","name":"fee","type":"uint256[2]"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"encodedData","type":"bytes"}],"name":"depositDryRun","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"depositIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"earnedFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"freezeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"frozenTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onApprovalReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"onTransferReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ownedCash","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ownedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"ownedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"encodedData","type":"bytes"}],"name":"payout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"},{"internalType":"bytes32[2]","name":"network","type":"bytes32[2]"},{"internalType":"address[2]","name":"beneficiary","type":"address[2]"},{"internalType":"address[2]","name":"token","type":"address[2]"},{"internalType":"uint256[2]","name":"amount","type":"uint256[2]"},{"internalType":"uint256[2]","name":"timeout","type":"uint256[2]"},{"internalType":"bytes32[2]","name":"operation","type":"bytes32[2]"}],"name":"payout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"releaseAvailableCash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseAvailableCash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"releaseAvailableTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"releaseAvailableTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"releaseAvailableTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseAvailableTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"unfreezeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"encodedData","type":"bytes"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"id","type":"bytes32"},{"internalType":"bytes32[2]","name":"network","type":"bytes32[2]"},{"internalType":"address[2]","name":"beneficiary","type":"address[2]"},{"internalType":"address[2]","name":"token","type":"address[2]"},{"internalType":"uint256[2]","name":"amount","type":"uint256[2]"},{"internalType":"uint256[2]","name":"timeout","type":"uint256[2]"},{"internalType":"bytes32[2]","name":"operation","type":"bytes32[2]"},{"internalType":"bool","name":"fulfilled","type":"bool"},{"internalType":"uint256[2]","name":"fee","type":"uint256[2]"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes","name":"encodedData","type":"bytes"}],"name":"withdrawDryRun","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"withdrawIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040523480156200001157600080fd5b5060405162004967380380620049678339810160408190526200003491620003d8565b8262000040336200036b565b6000805460ff60a01b19169055600180556001600160a01b038116620000c35760405162461bcd60e51b815260206004820152602d60248201527f4552433133363350617961626c653a206163636570746564546f6b656e20697360448201526c207a65726f206164647265737360981b60648201526084015b60405180910390fd5b6040516301ffc9a760e01b815263b0202a1160e01b60048201526001600160a01b038216906301ffc9a790602401602060405180830381865afa1580156200010f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013591906200042c565b6200013f57600080fd5b600280546001600160a01b0319166001600160a01b0392831617905583908116620001ac5760405162461bcd60e51b81526020600482015260276024820152600080516020620049278339815191526044820152666265207a65726f60c81b6064820152608401620000ba565b306001600160a01b03821603620001f55760405162461bcd60e51b81526020600482018190526024820152600080516020620049478339815191526044820152606401620000ba565b826001600160a01b0381166200024d5760405162461bcd60e51b81526020600482015260276024820152600080516020620049278339815191526044820152666265207a65726f60c81b6064820152608401620000ba565b306001600160a01b03821603620002965760405162461bcd60e51b81526020600482018190526024820152600080516020620049478339815191526044820152606401620000ba565b826001600160a01b038116620002ee5760405162461bcd60e51b81526020600482015260276024820152600080516020620049278339815191526044820152666265207a65726f60c81b6064820152608401620000ba565b306001600160a01b03821603620003375760405162461bcd60e51b81526020600482018190526024820152600080516020620049478339815191526044820152606401620000ba565b5050506080939093526001600160a01b0390811660a052600380546001600160a01b03191691909316179091555062000457565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620003d357600080fd5b919050565b60008060008060808587031215620003ef57600080fd5b845193506200040160208601620003bb565b92506200041160408601620003bb565b91506200042160608601620003bb565b905092959194509250565b6000602082840312156200043f57600080fd5b815180151581146200045057600080fd5b9392505050565b60805160a051614479620004ae600039600081816103dd0152818161085701528181610ef30152611ac5015260008181610450015281816110c3015281816117f001528181611edf0152612ca201526144796000f3fe60806040526004361061023f5760003560e01c80637b04a2d01161012e578063a4adc2f7116100ab578063d5029c521161006f578063d5029c5214610683578063e5e09396146106b3578063e7827e85146106c8578063f2fde38b146106e8578063f887ea401461070857600080fd5b8063a4adc2f7146105e3578063a77a357314610603578063b12ab40f14610623578063c05f0fd314610643578063c0d786551461066357600080fd5b806394cb0947116100f257806394cb09471461057d5780639757afea1461032b578063980cc3301461059d57806398b1e06a146105bd57806399694abb146105d057600080fd5b80637b04a2d0146104d15780638456cb591461050a57806388a7ca5c1461051f5780638bc64e001461053f5780638da5cb5b1461055f57600080fd5b8063451c3d80116101bc57806364a0b1261161018057806364a0b1261461043e578063667431e51461047257806369bb4dc2146104875780636c3e6d951461049c578063715018a6146104bc57600080fd5b8063451c3d8014610383578063508d962b146103b5578063521eb273146103cb5780635c975abb146103ff578063602c6de21461041e57600080fd5b8063253227f111610203578063253227f1146102eb57806327f1752f1461030b578063340502b71461032b5780633aa87ae81461033e5780633f4ba83a1461036e57600080fd5b806301ffc9a71461024b5780630968f264146102805780631386771e1461029557806313f9e102146102b557806319cba6b4146102c857600080fd5b3661024657005b600080fd5b34801561025757600080fd5b5061026b610266366004613549565b610728565b60405190151581526020015b60405180910390f35b61029361028e3660046135b5565b61077a565b005b3480156102a157600080fd5b506102936102b03660046135f7565b61082a565b6102936102c336600461362f565b6108b9565b3480156102d457600080fd5b506102dd610aa1565b604051908152602001610277565b3480156102f757600080fd5b506102936103063660046135b5565b610ab3565b34801561031757600080fd5b506102936103263660046135f7565b610b28565b34801561033757600080fd5b50476102dd565b34801561034a57600080fd5b5061026b6103593660046135f7565b60086020526000908152604090205460ff1681565b34801561037a57600080fd5b50610293610b44565b34801561038f57600080fd5b506002546001600160a01b03165b6040516001600160a01b039091168152602001610277565b3480156103c157600080fd5b506102dd60045481565b3480156103d757600080fd5b5061039d7f000000000000000000000000000000000000000000000000000000000000000081565b34801561040b57600080fd5b50600054600160a01b900460ff1661026b565b34801561042a57600080fd5b50610293610439366004613713565b610b56565b34801561044a57600080fd5b506102dd7f000000000000000000000000000000000000000000000000000000000000000081565b34801561047e57600080fd5b50610293610c98565b34801561049357600080fd5b506102dd610d16565b3480156104a857600080fd5b506102dd6104b73660046135f7565b610d23565b3480156104c857600080fd5b50610293610d3a565b3480156104dd57600080fd5b506104f16104ec36600461389e565b610d4c565b6040516001600160e01b03199091168152602001610277565b34801561051657600080fd5b50610293610dd5565b34801561052b57600080fd5b506104f161053a3660046138f7565b610de5565b34801561054b57600080fd5b5061029361055a366004613963565b610e85565b34801561056b57600080fd5b506000546001600160a01b031661039d565b34801561058957600080fd5b506102dd61059836600461398f565b610fd5565b3480156105a957600080fd5b5061026b6105b83660046135b5565b611010565b6102936105cb3660046135b5565b6111c0565b6102936105de36600461362f565b61125c565b3480156105ef57600080fd5b506102936105fe3660046135f7565b611433565b34801561060f57600080fd5b5061029361061e36600461398f565b61163e565b34801561062f57600080fd5b506102dd61063e36600461398f565b6116d3565b34801561064f57600080fd5b5061026b61065e3660046135b5565b61173e565b34801561066f57600080fd5b5061029361067e36600461398f565b6118d0565b34801561068f57600080fd5b5061026b61069e3660046135f7565b60076020526000908152604090205460ff1681565b3480156106bf57600080fd5b506102936119ec565b3480156106d457600080fd5b506102936106e33660046135f7565b6119ff565b3480156106f457600080fd5b5061029361070336600461398f565b611ba6565b34801561071457600080fd5b5060035461039d906001600160a01b031681565b60006001600160e01b03198216632229f29760e21b148061075957506001600160e01b031982166307b04a2d60e41b145b8061077457506301ffc9a760e01b6001600160e01b03198316145b92915050565b6002600154036107a55760405162461bcd60e51b815260040161079c906139ac565b60405180910390fd5b60026001556107b2611c1c565b6000806000806107f786868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611c6992505050565b935093509350935061080b84848484611d03565b6108158383611e2a565b61081e84611e88565b50506001805550505050565b610832612566565b478111156108525760405162461bcd60e51b815260040161079c906139e3565b61087c7f0000000000000000000000000000000000000000000000000000000000000000826125c0565b6040805160008152602081018390527f56a1572a4a0b9c7b0d647a77d80643a49879137d0d23879c4854d48d8d7d1cd8910160405180910390a150565b6002600154036108db5760405162461bcd60e51b815260040161079c906139ac565b60026001556108e8611c1c565b6040805160e0810182528c8152815180830183526000926020830191908e90600290839083908082843760009201919091525050508152604080518082018252602090920191908d90600290839083908082843760009201919091525050508152604080518082018252602090920191908c90600290839083908082843760009201919091525050508152604080518082018252602090920191908b90600290839083908082843760009201919091525050508152604080518082018252602090920191908a90600290839083908082843760009201919091525050508152604080518082018252602090920191908990600290839083908082843760009201919091525050509052604080518082018252919250610a589183918891908890600290839083908082843760009201919091525050604080516020601f8a0181900481028201810190925288815291508890889081908401838280828437600092019190915250611d0392505050565b604080518082018252610a869187919087906002908390839080828437600092019190915250611e2a915050565b610a8f81611e88565b50506001805550505050505050505050565b6000610aae61063e6126de565b905090565b6003546001600160a01b03163314610add5760405162461bcd60e51b815260040161079c90613a40565b610b24610b1f83838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506126f292505050565b611e88565b5050565b610b30612566565b610b41610b3b6126de565b82610e85565b50565b610b4c612566565b610b54612759565b565b6003546001600160a01b03163314610b805760405162461bcd60e51b815260040161079c90613a40565b6040805160e08101825288815281518083018352610c8f926020830191908a90600290839083908082843760009201919091525050508152604080518082018252602090920191908990600290839083908082843760009201919091525050508152604080518082018252602090920191908890600290839083908082843760009201919091525050508152604080518082018252602090920191908790600290839083908082843760009201919091525050508152604080518082018252602090920191908690600290839083908082843760009201919091525050508152604080518082018252602090920191908590600290839083908082843760009201919091525050509052611e88565b50505050505050565b610ca0612566565b4780610d0d5760405162461bcd60e51b815260206004820152603660248201527f4578656e6f4272696467654e6f64653a207468657265206973206e6f20617661604482015275696c61626c65206361736820746f2072656c6561736560501b606482015260840161079c565b610b418161082a565b6000610aae6105986126de565b60058160028110610d3357600080fd5b0154905081565b610d42612566565b610b5460006127ae565b6002546000906001600160a01b0316336001600160a01b031614610d825760405162461bcd60e51b815260040161079c90613a84565b836001600160a01b03167ffc47604465ac19edea172256bab2469184c3a6770701541635cf84241c2f24b48484604051610dbd929190613b07565b60405180910390a2506307b04a2d60e41b9392505050565b610ddd612566565b610b546127fe565b6002546000906001600160a01b0316336001600160a01b031614610e1b5760405162461bcd60e51b815260040161079c90613a84565b836001600160a01b0316856001600160a01b03167f01db5e58326b109682dc160b2e51aa7bf7e8d8ccf74bc242a3c50217937890558585604051610e60929190613b07565b60405180910390a3610e7485858585612841565b50632229f29760e21b949350505050565b610e8d612566565b600260015403610eaf5760405162461bcd60e51b815260040161079c906139ac565b6002600155610ebd82610fd5565b811115610edc5760405162461bcd60e51b815260040161079c906139e3565b60405163a9059cbb60e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820183905283169063a9059cbb906044016020604051808303816000875af1158015610f4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f6f9190613b41565b610f8b5760405162461bcd60e51b815260040161079c90613b5e565b604080516001600160a01b0384168152602081018390527f56a1572a4a0b9c7b0d647a77d80643a49879137d0d23879c4854d48d8d7d1cd8910160405180910390a1505060018055565b6000610fe0826128d3565b1561100757610774600454610ff661063e6126de565b6110009190613bba565b60006128f8565b610774826116d3565b600080600080600061105787878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611c6992505050565b935093509350935061106b84848484611d03565b826110885760405162461bcd60e51b815260040161079c90613bd1565b835160009081526008602052604090205460ff16156110b95760405162461bcd60e51b815260040161079c90613c20565b60208481015101517f0000000000000000000000000000000000000000000000000000000000000000146110ff5760405162461bcd60e51b815260040161079c90613c6b565b60c0840151602001516324a5a46360e21b0161114c57606084015161112b9060015b6020020151612911565b6111475760405162461bcd60e51b815260040161079c90613caf565b611198565b60c084015160200151678a91998d9a9a859b60c01b0161119857606084015161117c9060015b60200201516128d3565b6111985760405162461bcd60e51b815260040161079c90613d1b565b60a08401516020015115806111b5575060a0840151602001514210155b979650505050505050565b6002600154036111e25760405162461bcd60e51b815260040161079c906139ac565b60026001556111ef611c1c565b60008060008061123486868080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611c6992505050565b935093509350935061124884848484611d03565b6112538484846129d7565b61081e84612c4d565b60026001540361127e5760405162461bcd60e51b815260040161079c906139ac565b600260015561128b611c1c565b6040805160e0810182528c8152815180830183526000926020830191908e90600290839083908082843760009201919091525050508152604080518082018252602090920191908d90600290839083908082843760009201919091525050508152604080518082018252602090920191908c90600290839083908082843760009201919091525050508152604080518082018252602090920191908b90600290839083908082843760009201919091525050508152604080518082018252602090920191908a906002908390839080828437600092019190915250505081526040805180820182526020909201919089906002908390839080828437600092019190915250505090526040805180820182529192506113fb9183918891908890600290839083908082843760009201919091525050604080516020601f8a0181900481028201810190925288815291508890889081908401838280828437600092019190915250611d0392505050565b60408051808201825261142a9183918891889060029083908390808284376000920191909152506129d7915050565b610a8f81612c4d565b61143b612566565b60026001540361145d5760405162461bcd60e51b815260040161079c906139ac565b60026001558061146b6126de565b604051636eb1769f60e11b81523360048201523060248201526001600160a01b03919091169063dd62ed3e90604401602060405180830381865afa1580156114b7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114db9190613d87565b101561154f5760405162461bcd60e51b815260206004820152603a60248201527f4578656e6f4272696467654e6f64653a206265666f726520667265657a696e6760448201527f206f776e6572206d75737420617070726f766520616d6f756e74000000000000606482015260840161079c565b6115576126de565b6040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b0391909116906323b872dd906064016020604051808303816000875af11580156115ac573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115d09190613b41565b6115ec5760405162461bcd60e51b815260040161079c90613da0565b80600460008282546115fe9190613dea565b90915550506040518181527fc7d0b70ebc89ccbc89b1a1796896e925cb46266af718a5b24c3b9ca775ae2230906020015b60405180910390a15060018055565b611646612566565b600061165182610fd5565b9050600081116116c95760405162461bcd60e51b815260206004820152603960248201527f4578656e6f4272696467654e6f64653a20746865726520617265206e6f20617660448201527f61696c61626c6520746f6b656e7320746f2072656c6561736500000000000000606482015260840161079c565b610b248282610e85565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa15801561171a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107749190613d87565b600080600080600061178587878080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250611c6992505050565b935093509350935061179984848484611d03565b82156117b75760405162461bcd60e51b815260040161079c90613e02565b835160009081526007602052604090205460ff16156117e85760405162461bcd60e51b815260040161079c90613e50565b6020840151517f00000000000000000000000000000000000000000000000000000000000000001461182c5760405162461bcd60e51b815260040161079c90613c6b565b60c084015151634ec546c960e11b0161187057606084015161184f906000611121565b61186b5760405162461bcd60e51b815260040161079c90613e9a565b6118b1565b60c08401515165998d9a9a859b60d01b016118b1576060840151611895906000611172565b6118b15760405162461bcd60e51b815260040161079c90613f06565b60a08401515115806111b5575050505060a00151514211159392505050565b6118d8612566565b806001600160a01b03811661193f5760405162461bcd60e51b815260206004820152602760248201527f4578656e6f4272696467654e6f64653a20616464726573732063616e6e6f74206044820152666265207a65726f60c81b606482015260840161079c565b306001600160a01b038216036119975760405162461bcd60e51b815260206004820181905260248201527f4578656e6f4272696467654e6f64653a20696e76616c69642061646472657373604482015260640161079c565b600380546001600160a01b0319166001600160a01b0384169081179091556040519081527f2fdb177122c61891fc6664601fb42c60f0e4de993f9032419a0392f210b51c4c9060200160405180910390a15050565b6119f4612566565b610b5461061e6126de565b611a07612566565b600260015403611a295760405162461bcd60e51b815260040161079c906139ac565b6002600155600454811115611aa65760405162461bcd60e51b815260206004820152603760248201527f4578656e6f4272696467654e6f64653a20616d6f756e7420746f20756e66726560448201527f657a65206973206d6f7265207468616e2066726f7a656e000000000000000000606482015260840161079c565b611aae6126de565b60405163a9059cbb60e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260248201849052919091169063a9059cbb906044016020604051808303816000875af1158015611b1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b439190613b41565b611b5f5760405162461bcd60e51b815260040161079c90613b5e565b8060046000828254611b719190613bba565b90915550506040518181527f245590da4a26966a2b51b1411e1e41a26f17475668677f39dcd7d80496852b499060200161162f565b611bae612566565b6001600160a01b038116611c135760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161079c565b610b41816127ae565b600054600160a01b900460ff1615610b545760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161079c565b611c716134ca565b6000611c7b61352b565b60606000806000806000806000806000808e806020019051810190611ca0919061400e565b99509950995099509950995099509950995099506040518060e001604052808b81526020018a8152602001898152602001888152602001878152602001868152602001858152508383839d509d509d509d50505050505050505050509193509193565b8351602080860151604080880151606089015160808a015160a08b015160c08c01519451600098611d3c98909796918d918d9101614173565b60405160208183030381529060405290506000611db6611db083805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b84612ec8565b6003549091506001600160a01b03808316911614611e225760405162461bcd60e51b8152602060048201526024808201527f4578656e6f4272696467654e6f64653a20756e617574686f72697a656420736960448201526333b732b960e11b606482015260840161079c565b505050505050565b81611e475760405162461bcd60e51b815260040161079c90613bd1565b8051341015611e685760405162461bcd60e51b815260040161079c906141f1565b8051600560005b016000828254611e7f9190613dea565b90915550505050565b805160009081526008602052604090205460ff1615611eb95760405162461bcd60e51b815260040161079c90613c20565b80516000908152600860209081526040909120805460ff191660011790558082015101517f000000000000000000000000000000000000000000000000000000000000000014611f1b5760405162461bcd60e51b815260040161079c90613c6b565b60a0810151602001511580611f38575060a0810151602001514210155b611faa5760405162461bcd60e51b815260206004820152603d60248201527f4578656e6f4272696467654e6f64653a2074696d652d77696e646f7720666f7260448201527f20776974686472617720686173206e6f74207374617274656420796574000000606482015260840161079c565b60c0810151602001516324a5a46360e21b01612082576060810151611fd0906001611121565b611fec5760405162461bcd60e51b815260040161079c90613caf565b60608101516020015160408201516001600160a01b03909116906340c10f1990600160200201516080840151600160200201516040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561206557600080fd5b505af1158015612079573d6000803e3d6000fd5b50505050612505565b60c081015160200151678a91998d9a9a859b60c01b016122d65760608101516120ac906001611172565b6120c85760405162461bcd60e51b815260040161079c90613d1b565b60808101516020908101516060830151909101516120e5906116d3565b101561216e5760405162461bcd60e51b815260206004820152604c60248201527f4578656e6f4272696467654e6f64653a2063616e6e6f7420756e667265657a6560448201527f20746f6b656e7320617320746865726520617265206e6f7420656e6f7567682060648201526b6f776e656420746f6b656e7360a01b608482015260a40161079c565b60808101516020015160045410156122045760405162461bcd60e51b815260206004820152604d60248201527f4578656e6f4272696467654e6f64653a2063616e6e6f7420756e667265657a6560448201527f20746f6b656e7320617320746865726520617265206e6f7420656e6f7567682060648201526c66726f7a656e20746f6b656e7360981b608482015260a40161079c565b60608101516020908101516040808401518301516080850151840151825163a9059cbb60e01b81526001600160a01b0392831660048201526024810191909152915192169263a9059cbb9260448084019382900301816000875af1158015612270573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122949190613b41565b6122b05760405162461bcd60e51b815260040161079c90613b5e565b608081015160200151600480546000906122cb908490613bba565b909155506125059050565b60608101516122f49060015b60200201516001600160a01b03161590565b156123b05760808101516020015147101561238a5760405162461bcd60e51b815260206004820152604a60248201527f4578656e6f4272696467654e6f64653a2063616e6e6f742072656c656173652060448201527f63617368206173207468657265206973206e6f7420656e6f75676820617661696064820152690d8c2c4d8ca40c6c2e6d60b31b608482015260a40161079c565b60408101516123ab90600160200201516080830151600160200201516125c0565b612505565b60808101516020908101516060830151909101516123cd90610fd5565b10156124595760405162461bcd60e51b815260206004820152604f60248201527f4578656e6f4272696467654e6f64653a2063616e6e6f742072656c656173652060448201527f746f6b656e7320617320746865726520617265206e6f7420656e6f756768206160648201526e7661696c61626c6520746f6b656e7360881b608482015260a40161079c565b60608101516020908101516040808401518301516080850151840151825163a9059cbb60e01b81526001600160a01b0392831660048201526024810191909152915192169263a9059cbb9260448084019382900301816000875af11580156124c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124e99190613b41565b6125055760405162461bcd60e51b815260040161079c90613b5e565b80600001517f063654b4215eb34a825b96bfdebdcdb1ca14fe7e7c0bc5dac98c5d2b5f467f4d82602001518360400151846060015185608001518660a001518760c0015160405161255b96959493929190614247565b60405180910390a250565b6000546001600160a01b03163314610b545760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161079c565b804710156126105760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161079c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d806000811461265d576040519150601f19603f3d011682016040523d82523d6000602084013e612662565b606091505b50509050806126d95760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161079c565b505050565b6000610aae6002546001600160a01b031690565b6126fa6134ca565b6000806000806000806000888060200190518101906127199190614299565b6040805160e0810182529788526020880196909652948601939093526060850191909152608084015260a083015260c08201529998505050505050505050565b612761612eec565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b612806611c1c565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586127913390565b6002600154036128635760405162461bcd60e51b815260040161079c906139ac565b6002600155612870611c1c565b60008060008061287f85611c69565b935093509350935061289384848484611d03565b826128b2576128a484888885612f3c565b6128ad84612c4d565b6128c5565b6128bc86836131b0565b6128c584611e88565b505060018055505050505050565b60006128dd6126de565b6001600160a01b0316826001600160a01b0316149050919050565b600081831015612908578161290a565b825b9392505050565b600061291c826128d3565b61292857506000919050565b6000829050806001600160a01b031663481c6a756040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612987575060408051601f3d908101601f1916820190925261298491810190614313565b60015b6129c5573d8080156129b5576040519150601f19603f3d011682016040523d82523d6000602084013e6129ba565b606091505b506000949350505050565b6001600160a01b031630149392505050565b81156129f55760405162461bcd60e51b815260040161079c90613e02565b6040830151516001600160a01b03163314612a225760405162461bcd60e51b815260040161079c90614330565b6060830151612a329060006122e2565b15612acd578051608084015151612a499190613dea565b341015612ac85760405162461bcd60e51b815260206004820152604160248201527f4578656e6f4272696467654e6f64653a206e6f7420656e6f756768206361736860448201527f20617474616368656420746f20636f76657220616d6f756e7420616e642066656064820152606560f81b608482015260a40161079c565b612c2f565b8051341015612aee5760405162461bcd60e51b815260040161079c906141f1565b608083015151606084015151604051636eb1769f60e11b81523360048201523060248201526001600160a01b039091169063dd62ed3e90604401602060405180830381865afa158015612b45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b699190613d87565b1015612b875760405162461bcd60e51b815260040161079c90614372565b606083015151608084015151604080516323b872dd60e01b81523360048201523060248201526044810192909252516001600160a01b03909216916323b872dd9160648082019260209290919082900301816000875af1158015612bef573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c139190613b41565b612c2f5760405162461bcd60e51b815260040161079c90613da0565b805160058054600090612c43908490613dea565b9091555050505050565b805160009081526007602052604090205460ff1615612c7e5760405162461bcd60e51b815260040161079c90613e50565b80516000908152600760209081526040909120805460ff19166001179055810151517f000000000000000000000000000000000000000000000000000000000000000014612cde5760405162461bcd60e51b815260040161079c90613c6b565b60a0810151511580612cf5575060a0810151514211155b612d675760405162461bcd60e51b815260206004820152603c60248201527f4578656e6f4272696467654e6f64653a2074696d652d77696e646f7720666f7260448201527f206465706f7369742068617320616c7265616479206578706972656400000000606482015260840161079c565b60c081015151634ec546c960e11b01612e13576060810151612d8a906000611121565b612da65760405162461bcd60e51b815260040161079c90613e9a565b606081015151608082015151604051630852cd8d60e31b815260048101919091526001600160a01b03909116906342966c6890602401600060405180830381600087803b158015612df657600080fd5b505af1158015612e0a573d6000803e3d6000fd5b50505050612e72565b60c08101515165998d9a9a859b60d01b01612e72576060810151612e38906000611172565b612e545760405162461bcd60e51b815260040161079c90613f06565b60808101515160048054600090612e6c908490613dea565b90915550505b80600001517faf69eb3378a583f9632adf0633b02196673b41f2cde42998cac4d71b38c5fc7582602001518360400151846060015185608001518660a001518760c0015160405161255b96959493929190614247565b6000806000612ed785856131e2565b91509150612ee481613227565b509392505050565b600054600160a01b900460ff16610b545760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161079c565b6040840151516001600160a01b03848116911614612f6c5760405162461bcd60e51b815260040161079c90614330565b6060840151612f7c906000611172565b15613024576020810151608085015151612f969190613dea565b82101561301f5760405162461bcd60e51b815260206004820152604b60248201527f4578656e6f4272696467654e6f64653a206e6f7420656e6f75676820636f726560448201527f20746f6b656e73207472616e7366657272656420746f20636f76657220616d6f60648201526a756e7420616e642066656560a81b608482015260a40161079c565b61318e565b60208101518210156130485760405162461bcd60e51b815260040161079c906143cf565b608084015151606085015151604051636eb1769f60e11b81526001600160a01b0386811660048301523060248301529091169063dd62ed3e90604401602060405180830381865afa1580156130a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130c59190613d87565b10156130e35760405162461bcd60e51b815260040161079c90614372565b606084015151608085015151604080516323b872dd60e01b81526001600160a01b0387811660048301523060248301526044820193909352905191909216916323b872dd91606480830192602092919082900301816000875af115801561314e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131729190613b41565b61318e5760405162461bcd60e51b815260040161079c90613da0565b6020810151600680546000906131a5908490613dea565b909155505050505050565b60208101518210156131d45760405162461bcd60e51b815260040161079c906143cf565b602081015160056001611e6f565b60008082516041036132185760208301516040840151606085015160001a61320c878285856133dd565b94509450505050613220565b506000905060025b9250929050565b600081600481111561323b5761323b61442d565b036132435750565b60018160048111156132575761325761442d565b036132a45760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e61747572650000000000000000604482015260640161079c565b60028160048111156132b8576132b861442d565b036133055760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161079c565b60038160048111156133195761331961442d565b036133715760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161079c565b60048160048111156133855761338561442d565b03610b415760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161079c565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561341457506000905060036134c1565b8460ff16601b1415801561342c57508460ff16601c14155b1561343d57506000905060046134c1565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613491573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166134ba576000600192509250506134c1565b9150600090505b94509492505050565b6040805160e0810190915260008152602081016134e561352b565b81526020016134f261352b565b81526020016134ff61352b565b815260200161350c61352b565b815260200161351961352b565b815260200161352661352b565b905290565b60405180604001604052806002906020820280368337509192915050565b60006020828403121561355b57600080fd5b81356001600160e01b03198116811461290a57600080fd5b60008083601f84011261358557600080fd5b50813567ffffffffffffffff81111561359d57600080fd5b60208301915083602082850101111561322057600080fd5b600080602083850312156135c857600080fd5b823567ffffffffffffffff8111156135df57600080fd5b6135eb85828601613573565b90969095509350505050565b60006020828403121561360957600080fd5b5035919050565b806040810183101561077457600080fd5b8015158114610b4157600080fd5b60008060008060008060008060008060006102208c8e03121561365157600080fd5b8b359a506136628d60208e01613610565b99506136718d60608e01613610565b98506136808d60a08e01613610565b975061368f8d60e08e01613610565b965061369f8d6101208e01613610565b95506136af8d6101608e01613610565b94506101a08c01356136c081613621565b93506136d08d6101c08e01613610565b92506102008c013567ffffffffffffffff8111156136ed57600080fd5b6136f98e828f01613573565b915080935050809150509295989b509295989b9093969950565b60008060008060008060006101a0888a03121561372f57600080fd5b873596506137408960208a01613610565b955061374f8960608a01613610565b945061375e8960a08a01613610565b935061376d8960e08a01613610565b925061377d896101208a01613610565b915061378d896101608a01613610565b905092959891949750929550565b6001600160a01b0381168114610b4157600080fd5b634e487b7160e01b600052604160045260246000fd5b6040805190810167ffffffffffffffff811182821017156137e9576137e96137b0565b60405290565b604051601f8201601f1916810167ffffffffffffffff81118282101715613818576138186137b0565b604052919050565b600067ffffffffffffffff82111561383a5761383a6137b0565b50601f01601f191660200190565b600082601f83011261385957600080fd5b813561386c61386782613820565b6137ef565b81815284602083860101111561388157600080fd5b816020850160208301376000918101602001919091529392505050565b6000806000606084860312156138b357600080fd5b83356138be8161379b565b925060208401359150604084013567ffffffffffffffff8111156138e157600080fd5b6138ed86828701613848565b9150509250925092565b6000806000806080858703121561390d57600080fd5b84356139188161379b565b935060208501356139288161379b565b925060408501359150606085013567ffffffffffffffff81111561394b57600080fd5b61395787828801613848565b91505092959194509250565b6000806040838503121561397657600080fd5b82356139818161379b565b946020939093013593505050565b6000602082840312156139a157600080fd5b813561290a8161379b565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526039908201527f4578656e6f4272696467654e6f64653a20616d6f756e7420746f2072656c656160408201527f7365206973206d6f7265207468616e20617661696c61626c6500000000000000606082015260800190565b60208082526024908201527f4578656e6f4272696467654e6f64653a20756e617574686f72697a656420726f6040820152633aba32b960e11b606082015260800190565b60208082526033908201527f4552433133363350617961626c653a206163636570746564546f6b656e206973604082015272103737ba1036b2b9b9b0b3b29039b2b73232b960691b606082015260800190565b60005b83811015613af2578181015183820152602001613ada565b83811115613b01576000848401525b50505050565b8281526040602082015260008251806040840152613b2c816060850160208701613ad7565b601f01601f1916919091016060019392505050565b600060208284031215613b5357600080fd5b815161290a81613621565b60208082526026908201527f4578656e6f4272696467654e6f64653a204552433230207472616e736665722060408201526519985a5b195960d21b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b600082821015613bcc57613bcc613ba4565b500390565b6020808252602f908201527f4578656e6f4272696467654e6f64653a2074686973207061796c6f616420697360408201526e206e6f74206120776974686472617760881b606082015260800190565b6020808252602b908201527f4578656e6f4272696467654e6f64653a20776974686472617720616c7265616460408201526a1e481c1c9bd8d95cdcd95960aa1b606082015260800190565b60208082526024908201527f4578656e6f4272696467654e6f64653a20626c6f636b636861696e206d69736d6040820152630c2e8c6d60e31b606082015260800190565b60208082526046908201527f4578656e6f4272696467654e6f64653a206d696e74206f7065726174696f6e2060408201527f63616e6e6f7420626520646f6e65206f6e2061206e6f6e2d6d696e7461626c65606082015265103a37b5b2b760d11b608082015260a00190565b60208082526046908201527f4578656e6f4272696467654e6f64653a20756e667265657a65206f706572617460408201527f696f6e2063616e6e6f7420626520646f6e65206f6e2061206e6f6e2d636f7265606082015265103a37b5b2b760d11b608082015260a00190565b600060208284031215613d9957600080fd5b5051919050565b6020808252602a908201527f4578656e6f4272696467654e6f64653a204552433230207472616e73666572466040820152691c9bdb4819985a5b195960b21b606082015260800190565b60008219821115613dfd57613dfd613ba4565b500190565b6020808252602e908201527f4578656e6f4272696467654e6f64653a2074686973207061796c6f616420697360408201526d081b9bdd08184819195c1bdcda5d60921b606082015260800190565b6020808252602a908201527f4578656e6f4272696467654e6f64653a206465706f73697420616c7265616479604082015269081c1c9bd8d95cdcd95960b21b606082015260800190565b60208082526046908201527f4578656e6f4272696467654e6f64653a206275726e206f7065726174696f6e2060408201527f63616e6e6f7420626520646f6e65206f6e2061206e6f6e2d6d696e7461626c65606082015265103a37b5b2b760d11b608082015260a00190565b60208082526044908201527f4578656e6f4272696467654e6f64653a20667265657a65206f7065726174696f60408201527f6e2063616e6e6f7420626520646f6e65206f6e2061206e6f6e2d636f7265207460608201526337b5b2b760e11b608082015260a00190565b600082601f830112613f8157600080fd5b613f896137c6565b806040840185811115613f9b57600080fd5b845b81811015613fb5578051845260209384019301613f9d565b509095945050505050565b600082601f830112613fd157600080fd5b613fd96137c6565b806040840185811115613feb57600080fd5b845b81811015613fb55780516140008161379b565b845260209384019301613fed565b6000806000806000806000806000806102208b8d03121561402e57600080fd5b8a51995061403f8c60208d01613f70565b985061404e8c60608d01613fc0565b975061405d8c60a08d01613fc0565b965061406c8c60e08d01613f70565b955061407c8c6101208d01613f70565b945061408c8c6101608d01613f70565b93506101a08b015161409d81613621565b92506140ad8c6101c08d01613f70565b91506102008b015167ffffffffffffffff8111156140ca57600080fd5b8b01601f81018d136140db57600080fd5b80516140e961386782613820565b8181528e60208385010111156140fe57600080fd5b61410f826020830160208601613ad7565b8093505050509295989b9194979a5092959850565b8060005b6002811015613b01578151845260209384019390910190600101614128565b8060005b6002811015613b015781516001600160a01b031684526020938401939091019060010161414b565b898152614183602082018a614124565b6141906060820189614147565b61419d60a0820188614147565b6141aa60e0820187614124565b6141b8610120820186614124565b6141c6610160820185614124565b82151560f81b6101a08201526141e06101a1820183614124565b6101e1019998505050505050505050565b60208082526036908201527f4578656e6f4272696467654e6f64653a206e6f7420656e6f756768206361736860408201527520617474616368656420746f20636f7665722066656560501b606082015260800190565b61018081016142568289614124565b6142636040830188614147565b6142706080830187614147565b61427d60c0830186614124565b61428b610100830185614124565b6111b5610140830184614124565b60008060008060008060006101a0888a0312156142b557600080fd5b875196506142c68960208a01613f70565b95506142d58960608a01613fc0565b94506142e48960a08a01613fc0565b93506142f38960e08a01613f70565b9250614303896101208a01613f70565b915061378d896101608a01613f70565b60006020828403121561432557600080fd5b815161290a8161379b565b60208082526022908201527f4578656e6f4272696467654e6f64653a20756e65787065637465642073656e6460408201526132b960f11b606082015260800190565b6020808252603b908201527f4578656e6f4272696467654e6f64653a206265666f7265206465706f7369746960408201527f6e672075736572206d75737420617070726f766520616d6f756e740000000000606082015260800190565b602080825260409082018190527f4578656e6f4272696467654e6f64653a206e6f7420656e6f75676820636f7265908201527f20746f6b656e73207472616e7366657272656420746f20636f76657220666565606082015260800190565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220418aecf5994ce8e0c69f5de953a5562040f7d01beae3abfada16413be1e3adb464736f6c634300080f00334578656e6f4272696467654e6f64653a20616464726573732063616e6e6f74204578656e6f4272696467654e6f64653a20696e76616c69642061646472657373457468657265756d0000000000000000000000000000000000000000000000000000000000000000000000000c9b3ab1bd0cf0745625381f5c3aa1cd9bbc7abb000000000000000000000000f1f50b04e9d0fa696498fe5c79e8532a8714439b000000000000000000000000ba136f7c09a8803d65a141ac023ce5a9ffa43f4a

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

457468657265756d0000000000000000000000000000000000000000000000000000000000000000000000000c9b3ab1bd0cf0745625381f5c3aa1cd9bbc7abb000000000000000000000000f1f50b04e9d0fa696498fe5c79e8532a8714439b000000000000000000000000ba136f7c09a8803d65a141ac023ce5a9ffa43f4a

-----Decoded View---------------
Arg [0] : _blockchain (bytes32): 0x457468657265756d000000000000000000000000000000000000000000000000
Arg [1] : _token (address): 0x0c9b3aB1bd0CF0745625381F5C3Aa1CD9BBc7Abb
Arg [2] : _wallet (address): 0xf1F50B04E9D0fA696498Fe5c79E8532A8714439B
Arg [3] : _router (address): 0xbA136F7C09a8803D65A141AC023CE5A9FFa43F4a

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 457468657265756d000000000000000000000000000000000000000000000000
Arg [1] : 0000000000000000000000000c9b3ab1bd0cf0745625381f5c3aa1cd9bbc7abb
Arg [2] : 000000000000000000000000f1f50b04e9d0fa696498fe5c79e8532a8714439b
Arg [3] : 000000000000000000000000ba136f7c09a8803d65a141ac023ce5a9ffa43f4a


Deployed ByteCode Sourcemap

60148:27697:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47274:305;;;;;;;;;;-1:-1:-1;47274:305:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;47274:305:0;;;;;;;;66684:390;;;;;;:::i;:::-;;:::i;:::-;;84558:305;;;;;;;;;;-1:-1:-1;84558:305:0;;;;;:::i;:::-;;:::i;65876:669::-;;;;;;:::i;:::-;;:::i;82840:119::-;;;;;;;;;;;;;:::i;:::-;;;3365:25:1;;;3353:2;3338:18;82840:119:0;3219:177:1;70025:155:0;;;;;;;;;;-1:-1:-1;70025:155:0;;;;;:::i;:::-;;:::i;85178:144::-;;;;;;;;;;-1:-1:-1;85178:144:0;;;;;:::i;:::-;;:::i;82644:111::-;;;;;;;;;;-1:-1:-1;82726:21:0;82644:111;;61075:43;;;;;;;;;;-1:-1:-1;61075:43:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;87761:81;;;;;;;;;;;;;:::i;49266:96::-;;;;;;;;;;-1:-1:-1;49340:14:0;;-1:-1:-1;;;;;49340:14:0;49266:96;;;-1:-1:-1;;;;;3767:32:1;;;3749:51;;3737:2;3722:18;49266:96:0;3586:220:1;60687:27:0;;;;;;;;;;;;;;;;60455:31;;;;;;;;;;;;;;;35074:86;;;;;;;;;;-1:-1:-1;35121:4:0;35145:7;-1:-1:-1;;;35145:7:0;;;;35074:86;;69484:411;;;;;;;;;;-1:-1:-1;69484:411:0;;;;;:::i;:::-;;:::i;60327:35::-;;;;;;;;;;;;;;;84200:259;;;;;;;;;;;;;:::i;83483:127::-;;;;;;;;;;;;;:::i;60887:27::-;;;;;;;;;;-1:-1:-1;60887:27:0;;;;;:::i;:::-;;:::i;37939:103::-;;;;;;;;;;;;;:::i;48763:437::-;;;;;;;;;;-1:-1:-1;48763:437:0;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;;7281:33:1;;;7263:52;;7251:2;7236:18;48763:437:0;7119:202:1;87600:77:0;;;;;;;;;;;;;:::i;47977:482::-;;;;;;;;;;-1:-1:-1;47977:482:0;;;;;:::i;:::-;;:::i;85771:422::-;;;;;;;;;;-1:-1:-1;85771:422:0;;;;;:::i;:::-;;:::i;37291:87::-;;;;;;;;;;-1:-1:-1;37337:7:0;37364:6;-1:-1:-1;;;;;37364:6:0;37291:87;;83704:415;;;;;;;;;;-1:-1:-1;83704:415:0;;;;;:::i;:::-;;:::i;68291:1081::-;;;;;;;;;;-1:-1:-1;68291:1081:0;;;;;:::i;:::-;;:::i;64986:393::-;;;;;;:::i;:::-;;:::i;64178:672::-;;;;;;:::i;:::-;;:::i;86546:470::-;;;;;;;;;;-1:-1:-1;86546:470:0;;;;;:::i;:::-;;:::i;85402:290::-;;;;;;;;;;-1:-1:-1;85402:290:0;;;;;:::i;:::-;;:::i;83028:143::-;;;;;;;;;;-1:-1:-1;83028:143:0;;;;;:::i;:::-;;:::i;67144:1074::-;;;;;;;;;;-1:-1:-1;67144:1074:0;;;;;:::i;:::-;;:::i;86276:168::-;;;;;;;;;;-1:-1:-1;86276:168:0;;;;;:::i;:::-;;:::i;60972:42::-;;;;;;;;;;-1:-1:-1;60972:42:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;84960:122;;;;;;;;;;;;;:::i;87123:399::-;;;;;;;;;;-1:-1:-1;87123:399:0;;;;;:::i;:::-;;:::i;38197:201::-;;;;;;;;;;-1:-1:-1;38197:201:0;;;;;:::i;:::-;;:::i;60551:21::-;;;;;;;;;;-1:-1:-1;60551:21:0;;;;-1:-1:-1;;;;;60551:21:0;;;47274:305;47367:4;-1:-1:-1;;;;;;47404:49:0;;-1:-1:-1;;;47404:49:0;;:114;;-1:-1:-1;;;;;;;47470:48:0;;-1:-1:-1;;;47470:48:0;47404:114;:167;;;-1:-1:-1;;;;;;;;;;9671:40:0;;;47535:36;47384:187;47274:305;-1:-1:-1;;47274:305:0:o;66684:390::-;31561:1;32159:7;;:19;32151:63;;;;-1:-1:-1;;;32151:63:0;;;;;;;:::i;:::-;;;;;;;;;31561:1;32292:7;:18;34679:19:::1;:17;:19::i;:::-;66816:16:::2;66834:14:::0;66850:21:::2;66873:22:::0;66899:30:::2;66917:11;;66899:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;66899:17:0::2;::::0;-1:-1:-1;;;66899:30:0:i:2;:::-;66815:114;;;;;;;;66940:49;66957:4;66963:9;66974:3;66979:9;66940:16;:49::i;:::-;67000:33;67018:9;67029:3;67000:17;:33::i;:::-;67044:22;67061:4;67044:16;:22::i;:::-;-1:-1:-1::0;;31517:1:0;32471:22;;-1:-1:-1;;;;66684:390:0:o;84558:305::-;37177:13;:11;:13::i;:::-;82726:21;84654:6:::1;:25;;84646:108;;;;-1:-1:-1::0;;;84646:108:0::1;;;;;;;:::i;:::-;84765:42;84791:6;84800;84765:17;:42::i;:::-;84823:32;::::0;;84844:1:::1;9528:51:1::0;;9610:2;9595:18;;9588:34;;;84823:32:0::1;::::0;9501:18:1;84823:32:0::1;;;;;;;84558:305:::0;:::o;65876:669::-;31561:1;32159:7;;:19;32151:63;;;;-1:-1:-1;;;32151:63:0;;;;;;;:::i;:::-;31561:1;32292:7;:18;34679:19:::1;:17;:19::i;:::-;66335:65:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;;::::2;::::0;;66316:16:::2;::::0;66335:65:::2;::::0;::::2;::::0;;66344:7;;66335:65:::2;::::0;;;66344:7;;66335:65;66344:7;66335:65;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;66335:65:0;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;66353:11;;66335:65:::2;::::0;;;66353:11;;66335:65;66353:11;66335:65;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;66335:65:0;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;66366:5;;66335:65:::2;::::0;;;66366:5;;66335:65;66366:5;66335:65;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;66335:65:0;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;66373:6;;66335:65:::2;::::0;;;66373:6;;66335:65;66373:6;66335:65;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;66335:65:0;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;66381:7;;66335:65:::2;::::0;;;66381:7;;66335:65;66381:7;66335:65;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;66335:65:0;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;66390:9;;66335:65:::2;::::0;;;66390:9;;66335:65;66390:9;66335:65;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;66335:65:0;;66411:49;;;;;::::2;::::0;;66316:84;;-1:-1:-1;66411:49:0::2;::::0;66316:84;;66434:9;;66411:49;66445:3;;66411:49:::2;::::0;;;66445:3;;66411:49;66445:3;66411:49;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;66411:49:0::2;::::0;;::::2;;::::0;::::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;;;;-1:-1:-1;66450:9:0;;;;;;66411:49;::::2;66450:9:::0;;;;66411:49;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;66411:16:0::2;::::0;-1:-1:-1;;;66411:49:0:i:2;:::-;66471:33:::0;;;;;::::2;::::0;;::::2;::::0;66489:9;;66471:33;66500:3;;66471:33:::2;::::0;;;66500:3;;66471:33;66500:3;66471:33;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;66471:17:0::2;::::0;-1:-1:-1;;66471:33:0:i:2;:::-;66515:22;66532:4;66515:16;:22::i;:::-;-1:-1:-1::0;;31517:1:0;32471:22;;-1:-1:-1;;;;;;;;;;65876:669:0:o;82840:119::-;82894:7;82926:25;82938:12;:10;:12::i;82926:25::-;82919:32;;82840:119;:::o;70025:155::-;62971:6;;-1:-1:-1;;;;;62971:6:0;62957:10;:20;62949:82;;;;-1:-1:-1;;;62949:82:0;;;;;;;:::i;:::-;70130:42:::1;70147:24;70159:11;;70147:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;70147:11:0::1;::::0;-1:-1:-1;;;70147:24:0:i:1;:::-;70130:16;:42::i;:::-;70025:155:::0;;:::o;85178:144::-;37177:13;:11;:13::i;:::-;85270:44:::1;85293:12;:10;:12::i;:::-;85307:6;85270:22;:44::i;:::-;85178:144:::0;:::o;87761:81::-;37177:13;:11;:13::i;:::-;87824:10:::1;:8;:10::i;:::-;87761:81::o:0;69484:411::-;62971:6;;-1:-1:-1;;;;;62971:6:0;62957:10;:20;62949:82;;;;-1:-1:-1;;;62949:82:0;;;;;;;:::i;:::-;69821:65:::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;69804:83:::1;::::0;69821:65:::1;::::0;::::1;::::0;;69830:7;;69821:65:::1;::::0;;;69830:7;;69821:65;69830:7;69821:65;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;;;69821:65:0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;69839:11;;69821:65:::1;::::0;;;69839:11;;69821:65;69839:11;69821:65;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;;;69821:65:0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;69852:5;;69821:65:::1;::::0;;;69852:5;;69821:65;69852:5;69821:65;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;;;69821:65:0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;69859:6;;69821:65:::1;::::0;;;69859:6;;69821:65;69859:6;69821:65;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;;;69821:65:0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;69867:7;;69821:65:::1;::::0;;;69867:7;;69821:65;69867:7;69821:65;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;;;69821:65:0;;;;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;69876:9;;69821:65:::1;::::0;;;69876:9;;69821:65;69876:9;69821:65;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;;;69821:65:0;;69804:16:::1;:83::i;:::-;69484:411:::0;;;;;;;:::o;84200:259::-;37177:13;:11;:13::i;:::-;82726:21;84328:11;84320:91:::1;;;::::0;-1:-1:-1;;;84320:91:0;;10240:2:1;84320:91:0::1;::::0;::::1;10222:21:1::0;10279:2;10259:18;;;10252:30;10318:34;10298:18;;;10291:62;-1:-1:-1;;;10369:18:1;;;10362:52;10431:19;;84320:91:0::1;10038:418:1::0;84320:91:0::1;84422:29;84443:7;84422:20;:29::i;83483:127::-:0;83541:7;83573:29;83589:12;:10;:12::i;60887:27::-;;;;;;;;;;;;;;;-1:-1:-1;60887:27:0;:::o;37939:103::-;37177:13;:11;:13::i;:::-;38004:30:::1;38031:1;38004:18;:30::i;48763:437::-:0;48952:14;;48901:6;;-1:-1:-1;;;;;48952:14:0;33267:10;-1:-1:-1;;;;;48928:39:0;;48920:103;;;;-1:-1:-1;;;48920:103:0;;;;;;;:::i;:::-;49056:6;-1:-1:-1;;;;;49041:36:0;;49064:6;49072:4;49041:36;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;;;;48763:437:0;;;;;:::o;87600:77::-;37177:13;:11;:13::i;:::-;87661:8:::1;:6;:8::i;47977:482::-:0;48192:14;;48141:6;;-1:-1:-1;;;;;48192:14:0;33267:10;-1:-1:-1;;;;;48168:39:0;;48160:103;;;;-1:-1:-1;;;48160:103:0;;;;;;;:::i;:::-;48305:6;-1:-1:-1;;;;;48281:45:0;48296:7;-1:-1:-1;;;;;48281:45:0;;48313:6;48321:4;48281:45;;;;;;;:::i;:::-;;;;;;;;48339:48;48357:7;48366:6;48374;48382:4;48339:17;:48::i;:::-;-1:-1:-1;;;;47977:482:0;;;;;;:::o;85771:422::-;37177:13;:11;:13::i;:::-;31561:1:::1;32159:7;;:19:::0;32151:63:::1;;;;-1:-1:-1::0;;;32151:63:0::1;;;;;;;:::i;:::-;31561:1;32292:7;:18:::0;85932:22:::2;85948:5:::0;85932:15:::2;:22::i;:::-;85922:6;:32;;85914:115;;;;-1:-1:-1::0;;;85914:115:0::2;;;;;;;:::i;:::-;86048:38;::::0;-1:-1:-1;;;86048:38:0;;-1:-1:-1;;;;;86071:6:0::2;9546:32:1::0;;86048:38:0::2;::::0;::::2;9528:51:1::0;9595:18;;;9588:34;;;86048:22:0;::::2;::::0;::::2;::::0;9501:18:1;;86048:38:0::2;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86040:102;;;;-1:-1:-1::0;;;86040:102:0::2;;;;;;;:::i;:::-;86158:27;::::0;;-1:-1:-1;;;;;9546:32:1;;9528:51;;9610:2;9595:18;;9588:34;;;86158:27:0::2;::::0;9501:18:1;86158:27:0::2;;;;;;;-1:-1:-1::0;;31517:1:0::1;32471:22:::0;;85771:422::o;83704:415::-;83773:7;83973:14;83981:5;83973:7;:14::i;:::-;83969:107;;;84011:53;84048:12;;84020:25;84032:12;:10;:12::i;84020:25::-;:40;;;;:::i;:::-;84062:1;84011:8;:53::i;83969:107::-;84093:18;84105:5;84093:11;:18::i;68291:1081::-;68390:4;68413:16;68431:14;68447:21;68470:22;68496:30;68514:11;;68496:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68496:17:0;;-1:-1:-1;;;68496:30:0:i;:::-;68412:114;;;;;;;;68537:49;68554:4;68560:9;68571:3;68576:9;68537:16;:49::i;:::-;68605:9;68597:82;;;;-1:-1:-1;;;68597:82:0;;;;;;;:::i;:::-;68711:7;;68699:20;;;;:11;:20;;;;;;;;68698:21;68690:90;;;;-1:-1:-1;;;68690:90:0;;;;;;;:::i;:::-;68799:12;;;;;:15;;68818:10;68799:29;68791:91;;;;-1:-1:-1;;;68791:91:0;;;;;;;:::i;:::-;68897:14;;;;:17;;;-1:-1:-1;;;68897:36:0;68893:396;;68970:10;;;;68958:26;;68981:1;68970:13;;;;;68958:11;:26::i;:::-;68950:126;;;;-1:-1:-1;;;68950:126:0;;;;;;;:::i;:::-;68893:396;;;69098:14;;;;:17;;;-1:-1:-1;;;69098:40:0;69094:195;;69171:10;;;;69163:22;;69182:1;69171:13;;;;;69163:7;:22::i;:::-;69155:122;;;;-1:-1:-1;;;69155:122:0;;;;;;;:::i;:::-;69306:12;;;;:15;;;:20;;:58;;-1:-1:-1;69349:12:0;;;;:15;;;69330;:34;;69306:58;69299:65;68291:1081;-1:-1:-1;;;;;;;68291:1081:0:o;64986:393::-;31561:1;32159:7;;:19;32151:63;;;;-1:-1:-1;;;32151:63:0;;;;;;;:::i;:::-;31561:1;32292:7;:18;34679:19:::1;:17;:19::i;:::-;65117:16:::2;65135:14:::0;65151:21:::2;65174:22:::0;65200:30:::2;65218:11;;65200:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;::::0;;;;-1:-1:-1;65200:17:0::2;::::0;-1:-1:-1;;;65200:30:0:i:2;:::-;65116:114;;;;;;;;65241:49;65258:4;65264:9;65275:3;65280:9;65241:16;:49::i;:::-;65301:38;65318:4;65324:9;65335:3;65301:16;:38::i;:::-;65350:21;65366:4;65350:15;:21::i;64178:672::-:0;31561:1;32159:7;;:19;32151:63;;;;-1:-1:-1;;;32151:63:0;;;;;;;:::i;:::-;31561:1;32292:7;:18;34679:19:::1;:17;:19::i;:::-;64636:65:::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;;::::2;::::0;;64617:16:::2;::::0;64636:65:::2;::::0;::::2;::::0;;64645:7;;64636:65:::2;::::0;;;64645:7;;64636:65;64645:7;64636:65;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;64636:65:0;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;64654:11;;64636:65:::2;::::0;;;64654:11;;64636:65;64654:11;64636:65;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;64636:65:0;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;64667:5;;64636:65:::2;::::0;;;64667:5;;64636:65;64667:5;64636:65;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;64636:65:0;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;64674:6;;64636:65:::2;::::0;;;64674:6;;64636:65;64674:6;64636:65;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;64636:65:0;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;64682:7;;64636:65:::2;::::0;;;64682:7;;64636:65;64682:7;64636:65;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;64636:65:0;;;;;;;::::2;::::0;;::::2;::::0;;::::2;::::0;;64691:9;;64636:65:::2;::::0;;;64691:9;;64636:65;64691:9;64636:65;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;;64636:65:0;;64712:49;;;;;::::2;::::0;;64617:84;;-1:-1:-1;64712:49:0::2;::::0;64617:84;;64735:9;;64712:49;64746:3;;64712:49:::2;::::0;;;64746:3;;64712:49;64746:3;64712:49;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;;64712:49:0::2;::::0;;::::2;;::::0;::::2;::::0;;::::2;::::0;::::2;::::0;;;;;;;;;;;-1:-1:-1;64751:9:0;;;;;;64712:49;::::2;64751:9:::0;;;;64712:49;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;64712:16:0::2;::::0;-1:-1:-1;;;64712:49:0:i:2;:::-;64772:38:::0;;;;;::::2;::::0;;::::2;::::0;64789:4;;64795:9;;64806:3;;64772:38:::2;::::0;;;64806:3;;64772:38;64806:3;64772:38;::::2;;::::0;::::2;::::0;;;;-1:-1:-1;64772:16:0::2;::::0;-1:-1:-1;;64772:38:0:i:2;:::-;64821:21;64837:4;64821:15;:21::i;86546:470::-:0;37177:13;:11;:13::i;:::-;31561:1:::1;32159:7;;:19:::0;32151:63:::1;;;;-1:-1:-1::0;;;32151:63:0::1;;;;;;;:::i;:::-;31561:1;32292:7;:18:::0;86710:6;86656:12:::2;:10;:12::i;:::-;86649:57;::::0;-1:-1:-1;;;86649:57:0;;86680:10:::2;86649:57;::::0;::::2;15055:34:1::0;86700:4:0::2;15105:18:1::0;;;15098:43;-1:-1:-1;;;;;86649:30:0;;;::::2;::::0;::::2;::::0;14990:18:1;;86649:57:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:67;;86641:151;;;::::0;-1:-1:-1;;;86641:151:0;;15543:2:1;86641:151:0::2;::::0;::::2;15525:21:1::0;15582:2;15562:18;;;15555:30;15621:34;15601:18;;;15594:62;15692:28;15672:18;;;15665:56;15738:19;;86641:151:0::2;15341:422:1::0;86641:151:0::2;86818:12;:10;:12::i;:::-;86811:68;::::0;-1:-1:-1;;;86811:68:0;;86845:10:::2;86811:68;::::0;::::2;16008:34:1::0;86865:4:0::2;16058:18:1::0;;;16051:43;16110:18;;;16103:34;;;-1:-1:-1;;;;;86811:33:0;;;::::2;::::0;::::2;::::0;15943:18:1;;86811:68:0::2;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;86803:136;;;;-1:-1:-1::0;;;86803:136:0::2;;;;;;;:::i;:::-;86966:6;86950:12;;:22;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;86988:20:0::2;::::0;3365:25:1;;;86988:20:0::2;::::0;3353:2:1;3338:18;86988:20:0::2;;;;;;;;-1:-1:-1::0;31517:1:0::1;32471:22:::0;;86546:470::o;85402:290::-;37177:13;:11;:13::i;:::-;85491:15:::1;85509:22;85525:5;85509:15;:22::i;:::-;85491:40;;85560:1;85550:7;:11;85542:94;;;::::0;-1:-1:-1;;;85542:94:0;;16894:2:1;85542:94:0::1;::::0;::::1;16876:21:1::0;16933:2;16913:18;;;16906:30;16972:34;16952:18;;;16945:62;17043:27;17023:18;;;17016:55;17088:19;;85542:94:0::1;16692:421:1::0;85542:94:0::1;85646:38;85669:5;85676:7;85646:22;:38::i;83028:143::-:0;83125:38;;-1:-1:-1;;;83125:38:0;;83157:4;83125:38;;;3749:51:1;83093:7:0;;-1:-1:-1;;;;;83125:23:0;;;;;3722:18:1;;83125:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;67144:1074::-;67242:4;67265:16;67283:14;67299:21;67322:22;67348:30;67366:11;;67348:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67348:17:0;;-1:-1:-1;;;67348:30:0:i;:::-;67264:114;;;;;;;;67389:49;67406:4;67412:9;67423:3;67428:9;67389:16;:49::i;:::-;67458:9;67457:10;67449:82;;;;-1:-1:-1;;;67449:82:0;;;;;;;:::i;:::-;67562:7;;67551:19;;;;:10;:19;;;;;;;;67550:20;67542:88;;;;-1:-1:-1;;;67542:88:0;;;;;;;:::i;:::-;67649:12;;;;:15;67668:10;67649:29;67641:91;;;;-1:-1:-1;;;67641:91:0;;;;;;;:::i;:::-;67747:14;;;;:17;-1:-1:-1;;;67747:36:0;67743:392;;67820:10;;;;67808:26;;67831:1;67820:13;;67808:26;67800:126;;;;-1:-1:-1;;;67800:126:0;;;;;;;:::i;:::-;67743:392;;;67948:14;;;;:17;-1:-1:-1;;;67948:38:0;67944:191;;68019:10;;;;68011:22;;68030:1;68019:13;;68011:22;68003:120;;;;-1:-1:-1;;;68003:120:0;;;;;;;:::i;:::-;68152:12;;;;:15;:20;;:58;;-1:-1:-1;;;;68195:12:0;;;:15;68176;:34;;;;-1:-1:-1;;;67144:1074:0:o;86276:168::-;37177:13;:11;:13::i;:::-;86355:9;-1:-1:-1;;;;;63111:15:0;::::1;63103:80;;;::::0;-1:-1:-1;;;63103:80:0;;19102:2:1;63103:80:0::1;::::0;::::1;19084:21:1::0;19141:2;19121:18;;;19114:30;19180:34;19160:18;;;19153:62;-1:-1:-1;;;19231:18:1;;;19224:37;19278:19;;63103:80:0::1;18900:403:1::0;63103:80:0::1;63215:4;-1:-1:-1::0;;;;;63202:18:0;::::1;::::0;63194:76:::1;;;::::0;-1:-1:-1;;;63194:76:0;;19510:2:1;63194:76:0::1;::::0;::::1;19492:21:1::0;;;19529:18;;;19522:30;19588:34;19568:18;;;19561:62;19640:18;;63194:76:0::1;19308:356:1::0;63194:76:0::1;86382:6:::2;:18:::0;;-1:-1:-1;;;;;;86382:18:0::2;-1:-1:-1::0;;;;;86382:18:0;::::2;::::0;;::::2;::::0;;;86416:20:::2;::::0;3749:51:1;;;86416:20:0::2;::::0;3737:2:1;3722:18;86416:20:0::2;;;;;;;37201:1:::1;86276:168:::0;:::o;84960:122::-;37177:13;:11;:13::i;:::-;85038:36:::1;85061:12;:10;:12::i;87123:399::-:0;37177:13;:11;:13::i;:::-;31561:1:::1;32159:7;;:19:::0;32151:63:::1;;;;-1:-1:-1::0;;;32151:63:0::1;;;;;;;:::i;:::-;31561:1;32292:7;:18:::0;87238:12:::2;::::0;87228:22;::::2;;87220:103;;;::::0;-1:-1:-1;;;87220:103:0;;19871:2:1;87220:103:0::2;::::0;::::2;19853:21:1::0;19910:2;19890:18;;;19883:30;19949:34;19929:18;;;19922:62;20020:25;20000:18;;;19993:53;20063:19;;87220:103:0::2;19669:419:1::0;87220:103:0::2;87349:12;:10;:12::i;:::-;87342:45;::::0;-1:-1:-1;;;87342:45:0;;-1:-1:-1;;;;;87372:6:0::2;9546:32:1::0;;87342:45:0::2;::::0;::::2;9528:51:1::0;9595:18;;;9588:34;;;87342:29:0;;;::::2;::::0;::::2;::::0;9501:18:1;;87342:45:0::2;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;87334:109;;;;-1:-1:-1::0;;;87334:109:0::2;;;;;;;:::i;:::-;87470:6;87454:12;;:22;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;87492:22:0::2;::::0;3365:25:1;;;87492:22:0::2;::::0;3353:2:1;3338:18;87492:22:0::2;3219:177:1::0;38197:201:0;37177:13;:11;:13::i;:::-;-1:-1:-1;;;;;38286:22:0;::::1;38278:73;;;::::0;-1:-1:-1;;;38278:73:0;;20295:2:1;38278:73:0::1;::::0;::::1;20277:21:1::0;20334:2;20314:18;;;20307:30;20373:34;20353:18;;;20346:62;-1:-1:-1;;;20424:18:1;;;20417:36;20470:19;;38278:73:0::1;20093:402:1::0;38278:73:0::1;38362:28;38381:8;38362:18;:28::i;35233:108::-:0;35121:4;35145:7;-1:-1:-1;;;35145:7:0;;;;35303:9;35295:38;;;;-1:-1:-1;;;35295:38:0;;20702:2:1;35295:38:0;;;20684:21:1;20741:2;20721:18;;;20714:30;-1:-1:-1;;;20760:18:1;;;20753:46;20816:18;;35295:38:0;20500:340:1;80581:787:0;80665:11;;:::i;:::-;80678:4;80684:17;;:::i;:::-;80703:12;80748:10;80773:25;80813:29;80857:23;80895:24;80934:25;80974:27;81016:14;81045:21;81081:22;81128:11;81117:131;;;;;;;;;;;;:::i;:::-;80733:515;;;;;;;;;;;;;;;;;;;;81267:65;;;;;;;;81272:2;81267:65;;;;81276:7;81267:65;;;;81285:11;81267:65;;;;81298:5;81267:65;;;;81305:6;81267:65;;;;81313:7;81267:65;;;;81322:9;81267:65;;;81334:9;81345:3;81350:9;81259:101;;;;;;;;;;;;;;;;;;80581:787;;;;;:::o;71771:515::-;71997:4;;72003:9;;;;;72014:13;;;;;72029:7;;;;72038:8;;;;72048:9;;;;72059:11;;;;71980:107;;71957:20;;71980:107;;71997:4;;72003:9;72059:11;72072:9;;72083:3;;71980:107;;:::i;:::-;;;;;;;;;;;;;71957:130;;72098:14;72115:74;72129:48;72168:7;72158:18;;;;;;20083:58;;34113:66:1;20083:58:0;;;34101:79:1;34196:12;;;34189:28;;;19950:7:0;;34233:12:1;;20083:58:0;;;;;;;;;;;;20073:69;;;;;;20066:76;;19881:269;;;;72129:48;72179:9;72115:13;:74::i;:::-;72218:6;;72098:91;;-1:-1:-1;;;;;;72208:16:0;;;72218:6;;72208:16;72200:78;;;;-1:-1:-1;;;72200:78:0;;25669:2:1;72200:78:0;;;25651:21:1;25708:2;25688:18;;;25681:30;25747:34;25727:18;;;25720:62;-1:-1:-1;;;25798:18:1;;;25791:34;25842:19;;72200:78:0;25467:400:1;72200:78:0;71946:340;;71771:515;;;;:::o;76494:358::-;76627:9;76619:82;;;;-1:-1:-1;;;76619:82:0;;;;;;;:::i;:::-;76733:6;;76720:9;:19;;76712:99;;;;-1:-1:-1;;;76712:99:0;;;;;;;:::i;:::-;76838:6;;76822:9;76842:1;76822:12;;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;76494:358:0:o;77617:2178::-;77729:4;;77717:17;;;;:11;:17;;;;;;;;77716:18;77708:87;;;;-1:-1:-1;;;77708:87:0;;;;;;;:::i;:::-;77818:4;;77806:17;;;;:11;:17;;;;;;;;:24;;-1:-1:-1;;77806:24:0;77826:4;77806:24;;;77849:9;;;;:12;;77865:10;77849:26;77841:88;;;;-1:-1:-1;;;77841:88:0;;;;;;;:::i;:::-;77948:9;;;;:12;;;:17;;:52;;-1:-1:-1;77988:9:0;;;;:12;;;77969:15;:31;;77948:52;77940:139;;;;-1:-1:-1;;;77940:139:0;;26497:2:1;77940:139:0;;;26479:21:1;26536:2;26516:18;;;26509:30;26575:34;26555:18;;;26548:62;26646:31;26626:18;;;26619:59;26695:19;;77940:139:0;26295:425:1;77940:139:0;78094:11;;;;:14;;;-1:-1:-1;;;78094:33:0;78090:1599;;78164:7;;;;78152:23;;78172:1;78164:10;;78152:23;78144:123;;;;-1:-1:-1;;;78144:123:0;;;;;;;:::i;:::-;78291:7;;;;:10;;;78308:13;;;;-1:-1:-1;;;;;78282:25:0;;;;;;78299:1;78308:16;;;;78326:8;;;;78335:1;78326:11;;;;78282:56;;-1:-1:-1;;;;;;78282:56:0;;;;;;;-1:-1:-1;;;;;9546:32:1;;;78282:56:0;;;9528:51:1;9595:18;;;9588:34;9501:18;;78282:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78090:1599;;;78360:11;;;;:14;;;-1:-1:-1;;;78360:37:0;78356:1333;;78430:7;;;;78422:19;;78438:1;78430:10;;78422:19;78414:119;;;;-1:-1:-1;;;78414:119:0;;;;;;;:::i;:::-;78583:8;;;;:11;;;;;78568:7;;;;:10;;;;78556:23;;:11;:23::i;:::-;:38;;78548:144;;;;-1:-1:-1;;;78548:144:0;;26927:2:1;78548:144:0;;;26909:21:1;26966:2;26946:18;;;26939:30;27005:34;26985:18;;;26978:62;27076:34;27056:18;;;27049:62;-1:-1:-1;;;27127:19:1;;;27120:43;27180:19;;78548:144:0;26725:480:1;78548:144:0;78731:8;;;;:11;;;78715:12;;:27;;78707:134;;;;-1:-1:-1;;;78707:134:0;;27412:2:1;78707:134:0;;;27394:21:1;27451:2;27431:18;;;27424:30;27490:34;27470:18;;;27463:62;27561:34;27541:18;;;27534:62;-1:-1:-1;;;27612:19:1;;;27605:44;27666:19;;78707:134:0;27210:481:1;78707:134:0;78871:7;;;;:10;;;;;78892:13;;;;;:16;;;78910:8;;;;:11;;;78864:58;;-1:-1:-1;;;78864:58:0;;-1:-1:-1;;;;;9546:32:1;;;78864:58:0;;;9528:51:1;9595:18;;;9588:34;;;;78864:58:0;;:27;;;;;9501:18:1;;;;;78864:58:0;;;;;-1:-1:-1;78864:27:0;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;78856:126;;;;-1:-1:-1;;;78856:126:0;;;;;;;:::i;:::-;79013:8;;;;:11;;;78997:12;:27;;:12;;:27;;79013:11;;78997:27;:::i;:::-;;;;-1:-1:-1;78356:1333:0;;-1:-1:-1;78356:1333:0;;79071:7;;;;79061:21;;79079:1;79071:10;;;;;-1:-1:-1;;;;;82025:19:0;;;81931:121;79061:21;79057:621;;;79130:8;;;;:11;;;82726:21;79111:30;;79103:138;;;;-1:-1:-1;;;79103:138:0;;27898:2:1;79103:138:0;;;27880:21:1;27937:2;27917:18;;;27910:30;27976:34;27956:18;;;27949:62;28047:34;28027:18;;;28020:62;-1:-1:-1;;;28098:19:1;;;28091:41;28149:19;;79103:138:0;27696:478:1;79103:138:0;79286:13;;;;79260:57;;79300:1;79286:16;;;;79305:8;;;;79314:1;79305:11;;;;79260:17;:57::i;:::-;79057:621;;;79397:8;;;;:11;;;;;79382:7;;;;:10;;;;79366:27;;:15;:27::i;:::-;:42;;79358:155;;;;-1:-1:-1;;;79358:155:0;;28381:2:1;79358:155:0;;;28363:21:1;28420:2;28400:18;;;28393:30;28459:34;28439:18;;;28432:62;28530:34;28510:18;;;28503:62;-1:-1:-1;;;28581:19:1;;;28574:46;28637:19;;79358:155:0;28179:483:1;79358:155:0;79547:7;;;;:10;;;;;79568:13;;;;;:16;;;79586:8;;;;:11;;;79540:58;;-1:-1:-1;;;79540:58:0;;-1:-1:-1;;;;;9546:32:1;;;79540:58:0;;;9528:51:1;9595:18;;;9588:34;;;;79540:58:0;;:27;;;;;9501:18:1;;;;;79540:58:0;;;;;-1:-1:-1;79540:27:0;:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;79532:130;;;;-1:-1:-1;;;79532:130:0;;;;;;;:::i;:::-;79713:1;:4;;;79704:83;79719:1;:9;;;79730:1;:13;;;79745:1;:7;;;79754:1;:8;;;79764:1;:9;;;79775:1;:11;;;79704:83;;;;;;;;;;;:::i;:::-;;;;;;;;77617:2178;:::o;37456:132::-;37337:7;37364:6;-1:-1:-1;;;;;37364:6:0;33267:10;37520:23;37512:68;;;;-1:-1:-1;;;37512:68:0;;29795:2:1;37512:68:0;;;29777:21:1;;;29814:18;;;29807:30;29873:34;29853:18;;;29846:62;29925:18;;37512:68:0;29593:356:1;23690:317:0;23805:6;23780:21;:31;;23772:73;;;;-1:-1:-1;;;23772:73:0;;30156:2:1;23772:73:0;;;30138:21:1;30195:2;30175:18;;;30168:30;30234:31;30214:18;;;30207:59;30283:18;;23772:73:0;29954:353:1;23772:73:0;23859:12;23877:9;-1:-1:-1;;;;;23877:14:0;23899:6;23877:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23858:52;;;23929:7;23921:78;;;;-1:-1:-1;;;23921:78:0;;30724:2:1;23921:78:0;;;30706:21:1;30763:2;30743:18;;;30736:30;30802:34;30782:18;;;30775:62;30873:28;30853:18;;;30846:56;30919:19;;23921:78:0;30522:422:1;23921:78:0;23761:246;23690:317;;:::o;81475:117::-;81528:7;81568:15;49340:14;;-1:-1:-1;;;;;49340:14:0;;49266:96;79895:587;79973:11;;:::i;:::-;80017:10;80042:25;80082:29;80126:23;80164:24;80203:25;80243:27;80295:11;80284:107;;;;;;;;;;;;:::i;:::-;80409:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79895:587;-1:-1:-1;;;;;;;;;79895:587:0:o;35929:120::-;34938:16;:14;:16::i;:::-;35998:5:::1;35988:15:::0;;-1:-1:-1;;;;35988:15:0::1;::::0;;36019:22:::1;33267:10:::0;36028:12:::1;36019:22;::::0;-1:-1:-1;;;;;3767:32:1;;;3749:51;;3737:2;3722:18;36019:22:0::1;;;;;;;35929:120::o:0;38558:191::-;38632:16;38651:6;;-1:-1:-1;;;;;38668:17:0;;;-1:-1:-1;;;;;;38668:17:0;;;;;;38701:40;;38651:6;;;;;;;38701:40;;38632:16;38701:40;38621:128;38558:191;:::o;35670:118::-;34679:19;:17;:19::i;:::-;35730:7:::1;:14:::0;;-1:-1:-1;;;;35730:14:0::1;-1:-1:-1::0;;;35730:14:0::1;::::0;;35760:20:::1;35767:12;33267:10:::0;;33187:98;70770:805;31561:1;32159:7;;:19;32151:63;;;;-1:-1:-1;;;32151:63:0;;;;;;;:::i;:::-;31561:1;32292:7;:18;34679:19:::1;:17;:19::i;:::-;70978:16:::2;70996:14:::0;71012:21:::2;71035:22:::0;71061:30:::2;71079:11;71061:17;:30::i;:::-;70977:114;;;;;;;;71102:49;71119:4;71125:9;71136:3;71141:9;71102:16;:49::i;:::-;71167:9;71162:406;;71293:43;71310:4;71316:6;71324;71332:3;71293:16;:43::i;:::-;71351:21;71367:4;71351:15;:21::i;:::-;71162:406;;;71489:30;71507:6;71515:3;71489:17;:30::i;:::-;71534:22;71551:4;71534:16;:22::i;:::-;-1:-1:-1::0;;31517:1:0;32471:22;;-1:-1:-1;;;;;;70770:805:0:o;81693:121::-;81756:4;81794:12;:10;:12::i;:::-;-1:-1:-1;;;;;81785:21:0;:5;-1:-1:-1;;;;;81785:21:0;;81778:28;;81693:121;;;:::o;50973:107::-;51031:7;51063:1;51058;:6;;:14;;51071:1;51058:14;;;51067:1;51058:14;51051:21;50973:107;-1:-1:-1;;;50973:107:0:o;82196:379::-;82263:4;82290:14;82298:5;82290:7;:14::i;:::-;82285:60;;-1:-1:-1;82328:5:0;;82196:379;-1:-1:-1;82196:379:0:o;82285:60::-;82355:17;82384:5;82355:35;;82405:8;-1:-1:-1;;;;;82405:16:0;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82405:18:0;;;;;;;;-1:-1:-1;;82405:18:0;;;;;;;;;;;;:::i;:::-;;;82401:167;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82551:5:0;;82196:379;-1:-1:-1;;;;82196:379:0:o;82401:167::-;-1:-1:-1;;;;;82471:24:0;82490:4;82471:24;;82196:379;-1:-1:-1;;;82196:379:0:o;72602:1032::-;72759:9;72758:10;72750:82;;;;-1:-1:-1;;;72750:82:0;;;;;;;:::i;:::-;72865:13;;;;:16;-1:-1:-1;;;;;72851:30:0;:10;:30;72843:90;;;;-1:-1:-1;;;72843:90:0;;;;;;;:::i;:::-;72958:7;;;;72948:21;;72966:1;72958:10;;72948:21;72944:650;;;73021:6;;73007:8;;;;:11;:20;;73021:6;73007:20;:::i;:::-;72994:9;:33;;72986:128;;;;-1:-1:-1;;;72986:128:0;;32742:2:1;72986:128:0;;;32724:21:1;32781:2;32761:18;;;32754:30;32820:34;32800:18;;;32793:62;32891:34;32871:18;;;32864:62;-1:-1:-1;;;32942:19:1;;;32935:32;32984:19;;72986:128:0;32540:469:1;72986:128:0;72944:650;;;73168:6;;73155:9;:19;;73147:103;;;;-1:-1:-1;;;73147:103:0;;;;;;;:::i;:::-;73332:8;;;;:11;73280:7;;;;:10;73273:55;;-1:-1:-1;;;73273:55:0;;73302:10;73273:55;;;15055:34:1;73322:4:0;15105:18:1;;;15098:43;-1:-1:-1;;;;;73273:28:0;;;;;;14990:18:1;;73273:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:70;;73265:159;;;;-1:-1:-1;;;73265:159:0;;;;;;;:::i;:::-;73454:7;;;;:10;73506:8;;;;:11;73447:71;;;-1:-1:-1;;;73447:71:0;;73479:10;73447:71;;;16008:34:1;73499:4:0;16058:18:1;;;16051:43;16110:18;;;16103:34;;;;73447:71:0;-1:-1:-1;;;;;73447:31:0;;;;;;15943:18:1;;;;;73506:11:0;;73447:71;;;;;;;;73462:1;73447:31;:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;73439:143;;;;-1:-1:-1;;;73439:143:0;;;;;;;:::i;:::-;73620:6;;73604:9;:22;;73624:1;;73604:22;;73620:6;;73604:22;:::i;:::-;;;;-1:-1:-1;;;;;72602:1032:0:o;75191:1048::-;75301:4;;75290:16;;;;:10;:16;;;;;;;;75289:17;75281:85;;;;-1:-1:-1;;;75281:85:0;;;;;;;:::i;:::-;75388:4;;75377:16;;;;:10;:16;;;;;;;;:23;;-1:-1:-1;;75377:23:0;75396:4;75377:23;;;75419:9;;;:12;75435:10;75419:26;75411:88;;;;-1:-1:-1;;;75411:88:0;;;;;;;:::i;:::-;75518:9;;;;:12;:17;;:52;;-1:-1:-1;75558:9:0;;;;:12;75539:15;:31;;75518:52;75510:138;;;;-1:-1:-1;;;75510:138:0;;33644:2:1;75510:138:0;;;33626:21:1;33683:2;33663:18;;;33656:30;33722:34;33702:18;;;33695:62;33793:30;33773:18;;;33766:58;33841:19;;75510:138:0;33442:424:1;75510:138:0;75663:11;;;;:14;-1:-1:-1;;;75663:33:0;75659:475;;75733:7;;;;75721:23;;75741:1;75733:10;;75721:23;75713:123;;;;-1:-1:-1;;;75713:123:0;;;;;;;:::i;:::-;75860:7;;;;:10;75877:8;;;;:11;75851:38;;-1:-1:-1;;;75851:38:0;;;;;3365:25:1;;;;-1:-1:-1;;;;;75851:25:0;;;;;;3338:18:1;;75851:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75659:475;;;75911:11;;;;:14;-1:-1:-1;;;75911:35:0;75907:227;;75979:7;;;;75971:19;;75987:1;75979:10;;75971:19;75963:117;;;;-1:-1:-1;;;75963:117:0;;;;;;;:::i;:::-;76111:8;;;;:11;76095:12;:27;;76120:1;;76095:27;;76111:11;;76095:27;:::i;:::-;;;;-1:-1:-1;;75907:227:0;76157:1;:4;;;76149:82;76163:1;:9;;;76174:1;:13;;;76189:1;:7;;;76198:1;:8;;;76208:1;:9;;;76219:1;:11;;;76149:82;;;;;;;;;;;:::i;16079:231::-;16157:7;16178:17;16197:18;16219:27;16230:4;16236:9;16219:10;:27::i;:::-;16177:69;;;;16257:18;16269:5;16257:11;:18::i;:::-;-1:-1:-1;16293:9:0;16079:231;-1:-1:-1;;;16079:231:0:o;35418:108::-;35121:4;35145:7;-1:-1:-1;;;35145:7:0;;;;35477:41;;;;-1:-1:-1;;;35477:41:0;;34458:2:1;35477:41:0;;;34440:21:1;34497:2;34477:18;;;34470:30;-1:-1:-1;;;34516:18:1;;;34509:50;34576:18;;35477:41:0;34256:344:1;73885:964:0;74076:13;;;;:16;-1:-1:-1;;;;;74066:26:0;;;;;;74058:86;;;;-1:-1:-1;;;74058:86:0;;;;;;;:::i;:::-;74167:7;;;;74159:19;;74175:1;74167:10;;74159:19;74155:654;;;74227:6;;;;74213:8;;;;:11;:20;;74227:6;74213:20;:::i;:::-;74203:6;:30;;74195:135;;;;-1:-1:-1;;;74195:135:0;;34807:2:1;74195:135:0;;;34789:21:1;34846:2;34826:18;;;34819:30;34885:34;34865:18;;;34858:62;34956:34;34936:18;;;34929:62;-1:-1:-1;;;35007:19:1;;;35000:42;35059:19;;74195:135:0;34605:479:1;74195:135:0;74155:654;;;74381:6;;;;74371:16;;;74363:110;;;;-1:-1:-1;;;74363:110:0;;;;;;;:::i;:::-;74551:8;;;;:11;74503:7;;;;:10;74496:51;;-1:-1:-1;;;74496:51:0;;-1:-1:-1;;;;;15073:15:1;;;74496:51:0;;;15055:34:1;74541:4:0;15105:18:1;;;15098:43;74496:28:0;;;;;;14990:18:1;;74496:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:66;;74488:155;;;;-1:-1:-1;;;74488:155:0;;;;;;;:::i;:::-;74673:7;;;;:10;74721:8;;;;:11;74666:67;;;-1:-1:-1;;;74666:67:0;;-1:-1:-1;;;;;16026:15:1;;;74666:67:0;;;16008:34:1;74714:4:0;16058:18:1;;;16051:43;16110:18;;;16103:34;;;;74666:67:0;;:31;;;;;;;15943:18:1;;;;;74721:11:0;;74666:67;;;;;;;74681:1;74666:31;:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;74658:139;;;;-1:-1:-1;;;74658:139:0;;;;;;;:::i;:::-;74835:6;;;;74819:12;:22;;:12;;:22;;74835:6;;74819:22;:::i;:::-;;;;-1:-1:-1;;;;;;73885:964:0:o;76997:272::-;77140:6;;;;77130:16;;;77122:106;;;;-1:-1:-1;;;77122:106:0;;;;;;;:::i;:::-;77255:6;;;;77239:9;77259:1;77239:12;;14530:747;14611:7;14620:12;14649:9;:16;14669:2;14649:22;14645:625;;14993:4;14978:20;;14972:27;15043:4;15028:20;;15022:27;15101:4;15086:20;;15080:27;14688:9;15072:36;15144:25;15155:4;15072:36;14972:27;15022;15144:10;:25::i;:::-;15137:32;;;;;;;;;14645:625;-1:-1:-1;15218:1:0;;-1:-1:-1;15222:35:0;14645:625;14530:747;;;;;:::o;12801:643::-;12879:20;12870:5;:29;;;;;;;;:::i;:::-;;12866:571;;12801:643;:::o;12866:571::-;12977:29;12968:5;:38;;;;;;;;:::i;:::-;;12964:473;;13023:34;;-1:-1:-1;;;13023:34:0;;35856:2:1;13023:34:0;;;35838:21:1;35895:2;35875:18;;;35868:30;35934:26;35914:18;;;35907:54;35978:18;;13023:34:0;35654:348:1;12964:473:0;13088:35;13079:5;:44;;;;;;;;:::i;:::-;;13075:362;;13140:41;;-1:-1:-1;;;13140:41:0;;36209:2:1;13140:41:0;;;36191:21:1;36248:2;36228:18;;;36221:30;36287:33;36267:18;;;36260:61;36338:18;;13140:41:0;36007:355:1;13075:362:0;13212:30;13203:5;:39;;;;;;;;:::i;:::-;;13199:238;;13259:44;;-1:-1:-1;;;13259:44:0;;36569:2:1;13259:44:0;;;36551:21:1;36608:2;36588:18;;;36581:30;36647:34;36627:18;;;36620:62;-1:-1:-1;;;36698:18:1;;;36691:32;36740:19;;13259:44:0;36367:398:1;13199:238:0;13334:30;13325:5;:39;;;;;;;;:::i;:::-;;13321:116;;13381:44;;-1:-1:-1;;;13381:44:0;;36972:2:1;13381:44:0;;;36954:21:1;37011:2;36991:18;;;36984:30;37050:34;37030:18;;;37023:62;-1:-1:-1;;;37101:18:1;;;37094:32;37143:19;;13381:44:0;36770:398:1;17531:1632:0;17662:7;;18596:66;18583:79;;18579:163;;;-1:-1:-1;18695:1:0;;-1:-1:-1;18699:30:0;18679:51;;18579:163;18756:1;:7;;18761:2;18756:7;;:18;;;;;18767:1;:7;;18772:2;18767:7;;18756:18;18752:102;;;-1:-1:-1;18807:1:0;;-1:-1:-1;18811:30:0;18791:51;;18752:102;18968:24;;;18951:14;18968:24;;;;;;;;;37400:25:1;;;37473:4;37461:17;;37441:18;;;37434:45;;;;37495:18;;;37488:34;;;37538:18;;;37531:34;;;18968:24:0;;37372:19:1;;18968:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;18968:24:0;;-1:-1:-1;;18968:24:0;;;-1:-1:-1;;;;;;;19007:20:0;;19003:103;;19060:1;19064:29;19044:50;;;;;;;19003:103;19126:6;-1:-1:-1;19134:20:0;;-1:-1:-1;17531:1632:0;;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;497:347;548:8;558:6;612:3;605:4;597:6;593:17;589:27;579:55;;630:1;627;620:12;579:55;-1:-1:-1;653:20:1;;696:18;685:30;;682:50;;;728:1;725;718:12;682:50;765:4;757:6;753:17;741:29;;817:3;810:4;801:6;793;789:19;785:30;782:39;779:59;;;834:1;831;824:12;849:409;919:6;927;980:2;968:9;959:7;955:23;951:32;948:52;;;996:1;993;986:12;948:52;1036:9;1023:23;1069:18;1061:6;1058:30;1055:50;;;1101:1;1098;1091:12;1055:50;1140:58;1190:7;1181:6;1170:9;1166:22;1140:58;:::i;:::-;1217:8;;1114:84;;-1:-1:-1;849:409:1;-1:-1:-1;;;;849:409:1:o;1263:180::-;1322:6;1375:2;1363:9;1354:7;1350:23;1346:32;1343:52;;;1391:1;1388;1381:12;1343:52;-1:-1:-1;1414:23:1;;1263:180;-1:-1:-1;1263:180:1:o;1448:159::-;1542:6;1575:2;1563:15;;1560:24;-1:-1:-1;1557:44:1;;;1597:1;1594;1587:12;1612:118;1698:5;1691:13;1684:21;1677:5;1674:32;1664:60;;1720:1;1717;1710:12;1735:1479;2058:6;2066;2074;2082;2090;2098;2106;2114;2122;2130;2138:7;2192:3;2180:9;2171:7;2167:23;2163:33;2160:53;;;2209:1;2206;2199:12;2160:53;2245:9;2232:23;2222:33;;2274:62;2328:7;2323:2;2312:9;2308:18;2274:62;:::i;:::-;2264:72;;2355:62;2409:7;2404:2;2393:9;2389:18;2355:62;:::i;:::-;2345:72;;2436:63;2491:7;2485:3;2474:9;2470:19;2436:63;:::i;:::-;2426:73;;2518:63;2573:7;2567:3;2556:9;2552:19;2518:63;:::i;:::-;2508:73;;2600:63;2655:7;2649:3;2638:9;2634:19;2600:63;:::i;:::-;2590:73;;2682:63;2737:7;2731:3;2720:9;2716:19;2682:63;:::i;:::-;2672:73;;2795:3;2784:9;2780:19;2767:33;2809:28;2831:5;2809:28;:::i;:::-;2856:5;-1:-1:-1;2880:63:1;2935:7;2929:3;2914:19;;2880:63;:::i;:::-;2870:73;;2994:3;2983:9;2979:19;2966:33;3022:18;3014:6;3011:30;3008:50;;;3054:1;3051;3044:12;3008:50;3094:58;3144:7;3135:6;3124:9;3120:22;3094:58;:::i;:::-;3067:85;;3171:8;3161:18;;;3199:9;3188:20;;;1735:1479;;;;;;;;;;;;;;:::o;4019:923::-;4282:6;4290;4298;4306;4314;4322;4330;4383:3;4371:9;4362:7;4358:23;4354:33;4351:53;;;4400:1;4397;4390:12;4351:53;4436:9;4423:23;4413:33;;4465:62;4519:7;4514:2;4503:9;4499:18;4465:62;:::i;:::-;4455:72;;4546:62;4600:7;4595:2;4584:9;4580:18;4546:62;:::i;:::-;4536:72;;4627:63;4682:7;4676:3;4665:9;4661:19;4627:63;:::i;:::-;4617:73;;4709:63;4764:7;4758:3;4747:9;4743:19;4709:63;:::i;:::-;4699:73;;4791:63;4846:7;4840:3;4829:9;4825:19;4791:63;:::i;:::-;4781:73;;4873:63;4928:7;4922:3;4911:9;4907:19;4873:63;:::i;:::-;4863:73;;4019:923;;;;;;;;;;:::o;5129:131::-;-1:-1:-1;;;;;5204:31:1;;5194:42;;5184:70;;5250:1;5247;5240:12;5265:127;5326:10;5321:3;5317:20;5314:1;5307:31;5357:4;5354:1;5347:15;5381:4;5378:1;5371:15;5397:251;5469:2;5463:9;;;5499:15;;5544:18;5529:34;;5565:22;;;5526:62;5523:88;;;5591:18;;:::i;:::-;5627:2;5620:22;5397:251;:::o;5653:275::-;5724:2;5718:9;5789:2;5770:13;;-1:-1:-1;;5766:27:1;5754:40;;5824:18;5809:34;;5845:22;;;5806:62;5803:88;;;5871:18;;:::i;:::-;5907:2;5900:22;5653:275;;-1:-1:-1;5653:275:1:o;5933:186::-;5981:4;6014:18;6006:6;6003:30;6000:56;;;6036:18;;:::i;:::-;-1:-1:-1;6102:2:1;6081:15;-1:-1:-1;;6077:29:1;6108:4;6073:40;;5933:186::o;6124:462::-;6166:5;6219:3;6212:4;6204:6;6200:17;6196:27;6186:55;;6237:1;6234;6227:12;6186:55;6273:6;6260:20;6304:48;6320:31;6348:2;6320:31;:::i;:::-;6304:48;:::i;:::-;6377:2;6368:7;6361:19;6423:3;6416:4;6411:2;6403:6;6399:15;6395:26;6392:35;6389:55;;;6440:1;6437;6430:12;6389:55;6505:2;6498:4;6490:6;6486:17;6479:4;6470:7;6466:18;6453:55;6553:1;6528:16;;;6546:4;6524:27;6517:38;;;;6532:7;6124:462;-1:-1:-1;;;6124:462:1:o;6591:523::-;6677:6;6685;6693;6746:2;6734:9;6725:7;6721:23;6717:32;6714:52;;;6762:1;6759;6752:12;6714:52;6801:9;6788:23;6820:31;6845:5;6820:31;:::i;:::-;6870:5;-1:-1:-1;6922:2:1;6907:18;;6894:32;;-1:-1:-1;6977:2:1;6962:18;;6949:32;7004:18;6993:30;;6990:50;;;7036:1;7033;7026:12;6990:50;7059:49;7100:7;7091:6;7080:9;7076:22;7059:49;:::i;:::-;7049:59;;;6591:523;;;;;:::o;7326:665::-;7421:6;7429;7437;7445;7498:3;7486:9;7477:7;7473:23;7469:33;7466:53;;;7515:1;7512;7505:12;7466:53;7554:9;7541:23;7573:31;7598:5;7573:31;:::i;:::-;7623:5;-1:-1:-1;7680:2:1;7665:18;;7652:32;7693:33;7652:32;7693:33;:::i;:::-;7745:7;-1:-1:-1;7799:2:1;7784:18;;7771:32;;-1:-1:-1;7854:2:1;7839:18;;7826:32;7881:18;7870:30;;7867:50;;;7913:1;7910;7903:12;7867:50;7936:49;7977:7;7968:6;7957:9;7953:22;7936:49;:::i;:::-;7926:59;;;7326:665;;;;;;;:::o;7996:315::-;8064:6;8072;8125:2;8113:9;8104:7;8100:23;8096:32;8093:52;;;8141:1;8138;8131:12;8093:52;8180:9;8167:23;8199:31;8224:5;8199:31;:::i;:::-;8249:5;8301:2;8286:18;;;;8273:32;;-1:-1:-1;;;7996:315:1:o;8316:247::-;8375:6;8428:2;8416:9;8407:7;8403:23;8399:32;8396:52;;;8444:1;8441;8434:12;8396:52;8483:9;8470:23;8502:31;8527:5;8502:31;:::i;8568:355::-;8770:2;8752:21;;;8809:2;8789:18;;;8782:30;8848:33;8843:2;8828:18;;8821:61;8914:2;8899:18;;8568:355::o;8928:421::-;9130:2;9112:21;;;9169:2;9149:18;;;9142:30;9208:34;9203:2;9188:18;;9181:62;9279:27;9274:2;9259:18;;9252:55;9339:3;9324:19;;8928:421::o;9633:400::-;9835:2;9817:21;;;9874:2;9854:18;;;9847:30;9913:34;9908:2;9893:18;;9886:62;-1:-1:-1;;;9979:2:1;9964:18;;9957:34;10023:3;10008:19;;9633:400::o;10461:415::-;10663:2;10645:21;;;10702:2;10682:18;;;10675:30;10741:34;10736:2;10721:18;;10714:62;-1:-1:-1;;;10807:2:1;10792:18;;10785:49;10866:3;10851:19;;10461:415::o;10881:258::-;10953:1;10963:113;10977:6;10974:1;10971:13;10963:113;;;11053:11;;;11047:18;11034:11;;;11027:39;10999:2;10992:10;10963:113;;;11094:6;11091:1;11088:13;11085:48;;;11129:1;11120:6;11115:3;11111:16;11104:27;11085:48;;10881:258;;;:::o;11144:452::-;11319:6;11308:9;11301:25;11362:2;11357;11346:9;11342:18;11335:30;11282:4;11394:6;11388:13;11437:6;11432:2;11421:9;11417:18;11410:34;11453:66;11512:6;11507:2;11496:9;11492:18;11487:2;11479:6;11475:15;11453:66;:::i;:::-;11580:2;11559:15;-1:-1:-1;;11555:29:1;11540:45;;;;11587:2;11536:54;;11144:452;-1:-1:-1;;;11144:452:1:o;11601:245::-;11668:6;11721:2;11709:9;11700:7;11696:23;11692:32;11689:52;;;11737:1;11734;11727:12;11689:52;11769:9;11763:16;11788:28;11810:5;11788:28;:::i;11851:402::-;12053:2;12035:21;;;12092:2;12072:18;;;12065:30;12131:34;12126:2;12111:18;;12104:62;-1:-1:-1;;;12197:2:1;12182:18;;12175:36;12243:3;12228:19;;11851:402::o;12258:127::-;12319:10;12314:3;12310:20;12307:1;12300:31;12350:4;12347:1;12340:15;12374:4;12371:1;12364:15;12390:125;12430:4;12458:1;12455;12452:8;12449:34;;;12463:18;;:::i;:::-;-1:-1:-1;12500:9:1;;12390:125::o;12520:411::-;12722:2;12704:21;;;12761:2;12741:18;;;12734:30;12800:34;12795:2;12780:18;;12773:62;-1:-1:-1;;;12866:2:1;12851:18;;12844:45;12921:3;12906:19;;12520:411::o;12936:407::-;13138:2;13120:21;;;13177:2;13157:18;;;13150:30;13216:34;13211:2;13196:18;;13189:62;-1:-1:-1;;;13282:2:1;13267:18;;13260:41;13333:3;13318:19;;12936:407::o;13480:400::-;13682:2;13664:21;;;13721:2;13701:18;;;13694:30;13760:34;13755:2;13740:18;;13733:62;-1:-1:-1;;;13826:2:1;13811:18;;13804:34;13870:3;13855:19;;13480:400::o;13885:474::-;14087:2;14069:21;;;14126:2;14106:18;;;14099:30;14165:34;14160:2;14145:18;;14138:62;14236:34;14231:2;14216:18;;14209:62;-1:-1:-1;;;14302:3:1;14287:19;;14280:37;14349:3;14334:19;;13885:474::o;14364:::-;14566:2;14548:21;;;14605:2;14585:18;;;14578:30;14644:34;14639:2;14624:18;;14617:62;14715:34;14710:2;14695:18;;14688:62;-1:-1:-1;;;14781:3:1;14766:19;;14759:37;14828:3;14813:19;;14364:474::o;15152:184::-;15222:6;15275:2;15263:9;15254:7;15250:23;15246:32;15243:52;;;15291:1;15288;15281:12;15243:52;-1:-1:-1;15314:16:1;;15152:184;-1:-1:-1;15152:184:1:o;16148:406::-;16350:2;16332:21;;;16389:2;16369:18;;;16362:30;16428:34;16423:2;16408:18;;16401:62;-1:-1:-1;;;16494:2:1;16479:18;;16472:40;16544:3;16529:19;;16148:406::o;16559:128::-;16599:3;16630:1;16626:6;16623:1;16620:13;16617:39;;;16636:18;;:::i;:::-;-1:-1:-1;16672:9:1;;16559:128::o;17118:410::-;17320:2;17302:21;;;17359:2;17339:18;;;17332:30;17398:34;17393:2;17378:18;;17371:62;-1:-1:-1;;;17464:2:1;17449:18;;17442:44;17518:3;17503:19;;17118:410::o;17533:406::-;17735:2;17717:21;;;17774:2;17754:18;;;17747:30;17813:34;17808:2;17793:18;;17786:62;-1:-1:-1;;;17879:2:1;17864:18;;17857:40;17929:3;17914:19;;17533:406::o;17944:474::-;18146:2;18128:21;;;18185:2;18165:18;;;18158:30;18224:34;18219:2;18204:18;;18197:62;18295:34;18290:2;18275:18;;18268:62;-1:-1:-1;;;18361:3:1;18346:19;;18339:37;18408:3;18393:19;;17944:474::o;18423:472::-;18625:2;18607:21;;;18664:2;18644:18;;;18637:30;18703:34;18698:2;18683:18;;18676:62;18774:34;18769:2;18754:18;;18747:62;-1:-1:-1;;;18840:3:1;18825:19;;18818:35;18885:3;18870:19;;18423:472::o;20845:488::-;20906:5;20959:3;20952:4;20944:6;20940:17;20936:27;20926:55;;20977:1;20974;20967:12;20926:55;21001:22;;:::i;:::-;21045:3;21083:2;21075:6;21071:15;21109:3;21101:6;21098:15;21095:35;;;21126:1;21123;21116:12;21095:35;21150:6;21165:139;21181:6;21176:3;21173:15;21165:139;;;21249:10;;21237:23;;21289:4;21280:14;;;;21198;21165:139;;;-1:-1:-1;21322:5:1;;20845:488;-1:-1:-1;;;;;20845:488:1:o;21338:563::-;21399:5;21452:3;21445:4;21437:6;21433:17;21429:27;21419:55;;21470:1;21467;21460:12;21419:55;21494:22;;:::i;:::-;21538:3;21576:2;21568:6;21564:15;21602:3;21594:6;21591:15;21588:35;;;21619:1;21616;21609:12;21588:35;21643:6;21658:214;21674:6;21669:3;21666:15;21658:214;;;21749:3;21743:10;21766:31;21791:5;21766:31;:::i;:::-;21810:18;;21857:4;21848:14;;;;21691;21658:214;;21906:1686;22224:6;22232;22240;22248;22256;22264;22272;22280;22288;22296;22349:3;22337:9;22328:7;22324:23;22320:33;22317:53;;;22366:1;22363;22356:12;22317:53;22395:9;22389:16;22379:26;;22424:64;22480:7;22475:2;22464:9;22460:18;22424:64;:::i;:::-;22414:74;;22507:64;22563:7;22558:2;22547:9;22543:18;22507:64;:::i;:::-;22497:74;;22590:65;22647:7;22641:3;22630:9;22626:19;22590:65;:::i;:::-;22580:75;;22674:65;22731:7;22725:3;22714:9;22710:19;22674:65;:::i;:::-;22664:75;;22758:65;22815:7;22809:3;22798:9;22794:19;22758:65;:::i;:::-;22748:75;;22842:65;22899:7;22893:3;22882:9;22878:19;22842:65;:::i;:::-;22832:75;;22950:3;22939:9;22935:19;22929:26;22964:28;22986:5;22964:28;:::i;:::-;23011:5;-1:-1:-1;23035:65:1;23092:7;23086:3;23071:19;;23035:65;:::i;:::-;23025:75;;23144:3;23133:9;23129:19;23123:26;23172:18;23164:6;23161:30;23158:50;;;23204:1;23201;23194:12;23158:50;23227:22;;23280:4;23272:13;;23268:27;-1:-1:-1;23258:55:1;;23309:1;23306;23299:12;23258:55;23338:2;23332:9;23363:48;23379:31;23407:2;23379:31;:::i;23363:48::-;23434:2;23427:5;23420:17;23474:7;23469:2;23464;23460;23456:11;23452:20;23449:33;23446:53;;;23495:1;23492;23485:12;23446:53;23508:54;23559:2;23554;23547:5;23543:14;23538:2;23534;23530:11;23508:54;:::i;:::-;23581:5;23571:15;;;;;21906:1686;;;;;;;;;;;;;:::o;23597:326::-;23690:5;23713:1;23723:194;23737:4;23734:1;23731:11;23723:194;;;23796:13;;23784:26;;23833:4;23857:12;;;;23892:15;;;;23757:1;23750:9;23723:194;;23928:352;24021:5;24044:1;24054:220;24068:4;24065:1;24062:11;24054:220;;;24131:13;;-1:-1:-1;;;;;24127:39:1;24115:52;;24190:4;24214:12;;;;24249:15;;;;24163:1;24081:9;24054:220;;24285:1177;24966:6;24961:3;24954:19;24982:46;25024:2;25019:3;25015:12;25007:6;24982:46;:::i;:::-;25037;25079:2;25074:3;25070:12;25062:6;25037:46;:::i;:::-;25092:47;25134:3;25129;25125:13;25117:6;25092:47;:::i;:::-;25148;25190:3;25185;25181:13;25173:6;25148:47;:::i;:::-;25204;25246:3;25241;25237:13;25229:6;25204:47;:::i;:::-;25260;25302:3;25297;25293:13;25285:6;25260:47;:::i;:::-;25361:6;25354:14;25347:22;25342:3;25338:32;25332:3;25327;25323:13;25316:55;25380:47;25422:3;25417;25413:13;25405:6;25380:47;:::i;:::-;25452:3;25443:13;;24285:1177;-1:-1:-1;;;;;;;;;24285:1177:1:o;25872:418::-;26074:2;26056:21;;;26113:2;26093:18;;;26086:30;26152:34;26147:2;26132:18;;26125:62;-1:-1:-1;;;26218:2:1;26203:18;;26196:52;26280:3;26265:19;;25872:418::o;28667:921::-;29217:3;29202:19;;29230:43;29206:9;29255:6;29230:43;:::i;:::-;29282:52;29330:2;29319:9;29315:18;29307:6;29282:52;:::i;:::-;29343:53;29391:3;29380:9;29376:19;29368:6;29343:53;:::i;:::-;29405;29453:3;29442:9;29438:19;29430:6;29405:53;:::i;:::-;29467;29515:3;29504:9;29500:19;29492:6;29467:53;:::i;:::-;29529;29577:3;29566:9;29562:19;29554:6;29529:53;:::i;30949:927::-;31211:6;31219;31227;31235;31243;31251;31259;31312:3;31300:9;31291:7;31287:23;31283:33;31280:53;;;31329:1;31326;31319:12;31280:53;31358:9;31352:16;31342:26;;31387:64;31443:7;31438:2;31427:9;31423:18;31387:64;:::i;:::-;31377:74;;31470:64;31526:7;31521:2;31510:9;31506:18;31470:64;:::i;:::-;31460:74;;31553:65;31610:7;31604:3;31593:9;31589:19;31553:65;:::i;:::-;31543:75;;31637:65;31694:7;31688:3;31677:9;31673:19;31637:65;:::i;:::-;31627:75;;31721:65;31778:7;31772:3;31761:9;31757:19;31721:65;:::i;:::-;31711:75;;31805:65;31862:7;31856:3;31845:9;31841:19;31805:65;:::i;31881:251::-;31951:6;32004:2;31992:9;31983:7;31979:23;31975:32;31972:52;;;32020:1;32017;32010:12;31972:52;32052:9;32046:16;32071:31;32096:5;32071:31;:::i;32137:398::-;32339:2;32321:21;;;32378:2;32358:18;;;32351:30;32417:34;32412:2;32397:18;;32390:62;-1:-1:-1;;;32483:2:1;32468:18;;32461:32;32525:3;32510:19;;32137:398::o;33014:423::-;33216:2;33198:21;;;33255:2;33235:18;;;33228:30;33294:34;33289:2;33274:18;;33267:62;33365:29;33360:2;33345:18;;33338:57;33427:3;33412:19;;33014:423::o;35089:428::-;35291:2;35273:21;;;35330:2;35310:18;;;35303:30;;;35369:34;35349:18;;;35342:62;35440:34;35435:2;35420:18;;35413:62;35507:3;35492:19;;35089:428::o;35522:127::-;35583:10;35578:3;35574:20;35571:1;35564:31;35614:4;35611:1;35604:15;35638:4;35635:1;35628:15

Swarm Source

ipfs://418aecf5994ce8e0c69f5de953a5562040f7d01beae3abfada16413be1e3adb4
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.