Contract 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e 5

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x245d0bb500e53f93a6d86bc6ee2e154d53386b96a58c8bce29f4dc357ab567e80x60806040148970092022-06-17 13:20:55234 days 10 hrs ago0xb754601d2c8c1389e6633b1449b84cce57788566 IN  Create: MoverTransferProxyV4ARB0 ETH0.013278767853 ETH
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x0d459bb21adbc568dc013882ecfc5f5130d0c678cee3fbe51486dea96bb205c3567106492023-01-30 19:16:347 days 4 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x89ffa986fcc53327931ce9ffc662e48f2aa7806fd04a08d8e3651dbbb392a1d9542517152023-01-20 8:58:1817 days 14 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x8f0a29fd83e88875cba1e40a8319fd3020433cb0406d3346b574ede87c9fd0a2542515582023-01-20 8:57:0717 days 14 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x9167a48e61a29ae0d194d88f2b1af9b0d8d3e80b64f72f9f1f8dc138e8d42811505507722023-01-03 13:24:2234 days 10 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0xf31045c25dcebac2cac5a564adeb6e33c9aef55d03e125e096af49b4b5012e52466346212022-12-16 12:55:0852 days 10 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0xaf67256f7290e07b41299399cbe0d47a1c372c61e663818c4f78a9bf21b8d323369792172022-11-10 17:33:5988 days 6 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x08d453056074984cc20ade57b6ad8f00d2aa5def35c6aa73b36c6e3a492eaa96359989062022-11-07 11:47:0491 days 11 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x5b8687c37fbc58d6b5472bf664ee504ee04366a0951e298fc562da867b6577bf359947842022-11-07 11:28:1991 days 12 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0xb204702150c164330c3baffc913444fa32edb4b42be0ff9dd6b4feb7513e2e47359846612022-11-07 10:41:4491 days 12 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0xa0e8c91d431808d3d84b06e019362a4998fd5aa7e710c77e8e42c00239f1f521352703192022-11-04 19:25:0594 days 4 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x3b29b4c705522f6d66d700329b78e590c37bff267ab233b66b46642360c4ccba352664032022-11-04 19:00:3894 days 4 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x5e660b5875b654920cec8a79dbc142dbc91abca29dae2457d3444e5f16b7215b351499322022-11-04 7:55:5494 days 15 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0xed6559008d30b78ff6ad51554baf7c399a53e7be13ed08cb3dcb612894ae66d6351494272022-11-04 7:53:1394 days 15 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x87a23136c6fdcccff7893ebd6ec3c795fc12434add164c392f53be41aabf6b66349290752022-11-03 9:53:5695 days 13 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x6382104d909756fbab5352aac70ea412149d326a978deabc475181ddbb35a30b344644752022-11-01 13:42:5097 days 9 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x4e264a680c7bdd18834c29fb5fcf6add61dd32b293f65b2827acbc124de10978344639972022-11-01 13:40:5197 days 10 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0xedee92c47d3bbf2a23e7f8ddbb2e45305a91ff65cb30238a5ee651fa2ee8d72a344627372022-11-01 13:35:2497 days 10 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0xa36434925dfdbe28a56ef7913ed10b0699854d2b1630a328c36a0f6eb1b50fcb344621682022-11-01 13:32:5197 days 10 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x7403616c799f97748036eb74770982d99ebffbb67b13c8fe24d2f9af2dbc8750344617452022-11-01 13:31:0097 days 10 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x94fe4c3476c5bfc46a384d6758fd3311b54f14d3b3d0175c881dad01c43671e7343775472022-11-01 7:07:3797 days 16 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0xe53f312aea2f7acca82452d8e40954e6a8dadbb7081590a60897b70914482fbb343744292022-11-01 6:53:1897 days 16 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x65733ce97980137e8cc1400a3863e1334e419d4dfa861a60c8c5501f19d1dafa343733062022-11-01 6:47:5897 days 16 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x7fd4d023c899d1235cc20295f12ece1eedd748fe6dc81b098795945d626385b2343728292022-11-01 6:45:3497 days 16 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x7d4f18a338bcf5c5f4d09a81119b7f6fd95415a97a4b7c0ad9e2350bb984c1cd343704622022-11-01 6:34:1297 days 17 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
0x24045d22684de01041fc45b482c9bb38793a2fe582e29b0b724a2913ebad51cd343694262022-11-01 6:29:1097 days 17 hrs ago 0x34082fa0229979ffd8e6c327ce462ed6d619f9a2 0xa59b009cd174710d9c79b5b1fe38d7347717cf4e0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MoverTransferProxyV4ARB

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Arbiscan on 2022-06-17
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

///////////////////////////////////////////////////////////////////////////
//     __/|      
//  __////  /|   This smart contract is part of Mover infrastructure
// |// //_///    https://viamover.com
//    |_/ //     [email protected]
//       |/
///////////////////////////////////////////////////////////////////////////

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControlUpgradeable {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}


/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}


/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}


/**
 * @dev String operations.
 */
library StringsUpgradeable {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @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 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 IERC165Upgradeable {
    /**
     * @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);
}


/**
 * @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 ERC165Upgradeable is Initializable, IERC165Upgradeable {
    function __ERC165_init() internal initializer {
        __ERC165_init_unchained();
    }

    function __ERC165_init_unchained() internal initializer {
    }
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165Upgradeable).interfaceId;
    }
    uint256[50] private __gap;
}


/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControlUpgradeable is Initializable, ContextUpgradeable, IAccessControlUpgradeable, ERC165Upgradeable {
    function __AccessControl_init() internal initializer {
        __Context_init_unchained();
        __ERC165_init_unchained();
        __AccessControl_init_unchained();
    }

    function __AccessControl_init_unchained() internal initializer {
    }
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        StringsUpgradeable.toHexString(uint160(account), 20),
                        " is missing role ",
                        StringsUpgradeable.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
    uint256[49] private __gap;
}


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

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

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

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

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

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

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

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


/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


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

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

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

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

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

    function safeDecreaseAllowance(
        IERC20Upgradeable token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

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

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


// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMathUpgradeable {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

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

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

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

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}


/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}


// Interface to represent asset pool interactions
interface IAssetPoolV2 {
    function getBaseAsset() external view returns(address);

    // functions callable by HolyHand transfer proxy
    function depositOnBehalf(address beneficiary, uint256 amount) external;
    function depositOnBehalfDirect(address beneficiary, uint256 amount) external;
    function withdraw(address beneficiary, uint256 amount) external;

    // functions callable by HolyValor investment proxies
    // pool would transfer funds to HolyValor (returns actual amount, could be less than asked)
    function borrowToInvest(uint256 amount) external returns(uint256);
    // return invested body portion from HolyValor (pool will claim base assets from caller Valor)
    function returnInvested(uint256 amountCapitalBody) external;

    // functions callable by HolyRedeemer yield distributor
    function harvestYield(uint256 amount) external; // pool would transfer amount tokens from caller as it's profits
}


// Interface to represent middleware contract for swapping tokens
interface IExchangeProxy {
    // returns amount of 'destination token' that 'source token' was swapped to
    // NOTE: HolyWing grants allowance to arbitrary address (with call to contract that could be forged) and should not hold any funds
    function executeSwap(address tokenFrom, address tokenTo, uint256 amount, bytes calldata data) external returns(uint256);
}


// Interface to represent middleware contract for swapping tokens
interface IExchangeProxyV2 {
    // returns amount of 'destination token' that 'source token' was swapped to
    // NOTE: ExchangeProxy grants allowance to arbitrary address (with call to contract that could be forged) and should not hold any funds
    function executeSwap(address tokenFrom, address tokenTo, uint256 amount, bytes calldata data) payable external returns(uint256);

    function executeSwapDirect(address beneficiary, address tokenFrom, address tokenTo, uint256 amount, uint256 fee, bytes calldata data) payable external returns(uint256);
}


// Interface to represent Mover Transfer proxy
interface ITransferProxyV2 {
    function depositToPoolFromRelay(address _beneficiary, address _poolAddress, address _token, uint256 _amount) external;
}


abstract contract SafeAllowanceResetUpgradeable {
  using SafeMathUpgradeable for uint256;
  using SafeERC20Upgradeable for IERC20Upgradeable;

  // this function exists due to OpenZeppelin quirks in safe allowance-changing methods
  // we don't want to set allowance by small chunks as it would cost more gas for users
  // and we don't want to set it to zero and then back to value (this makes no sense security-wise in single tx)
  // from the other side, using it through safeIncreaseAllowance could revery due to SafeMath overflow
  // Therefore, we calculate what amount we can increase allowance on to refill it to max uint256 value
  function resetAllowanceIfNeeded(IERC20Upgradeable _token, address _spender, uint256 _amount) internal {
    uint256 allowance = _token.allowance(address(this), _spender);
    if (allowance < _amount) {
      uint256 newAllowance = 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;
      IERC20Upgradeable(_token).safeIncreaseAllowance(address(_spender), newAllowance.sub(allowance));
    }
  }
}


/*
    MoverTransferProxy is a transfer proxy contract for ERC20 and ETH transfers through Mover infrastructure
    (deposits/withdraws to/from savings products, swaps, etc.)
    - extract fees;
    - call token conversion if needed;
    - deposit/withdraw tokens into holder contracts;
    - non-custodial, not holding any funds;
    - fees are accumulated on this contract's balance (if fees are enabled);

    This contract is a single address that user grants allowance to on any ERC20 token for interacting with HH services.
    This contract could be upgraded in the future to provide subsidized transactions using bonuses from treasury.

    TODO: if token supports permit, provide ability to execute without separate approval call

    version additions:
    - direct deposits to pool (if no fees or conversions);
    - when swapping tokens direct return converted asset to sender (if no fees);
    - ETH support (non-wrapped ETH conversion for deposits and swaps);
    - emergencyTransfer can reclaim ETH
    - support for subsidized transaction execution;
    - bridged transactions support from relay;
    - strategy list fixes for redeem;
    - allowing to decrease of assets value (e.g. for stablecoin swap slippage);
*/
contract MoverTransferProxyV4ARB is AccessControlUpgradeable, SafeAllowanceResetUpgradeable, ITransferProxyV2 {
    using SafeMathUpgradeable for uint256;
    using SafeERC20Upgradeable for IERC20Upgradeable;
    using AddressUpgradeable for address payable;

    uint256 private constant ALLOWANCE_SIZE =
        0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff;
    // token address for non-wrapped eth
    address private constant ETH_TOKEN_ADDRESS =
        0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;

    // if greater than zero, this is a fractional amount (1e18 = 1.0) fee applied to all deposits
    uint256 public depositFee;
    // if greater than zero, this is a fractional amount (1e18 = 1.0) fee applied to exchange operations with exchage proxy
    uint256 public exchangeFee;
    // if greater than zero, this is a fractional amount (1e18 = 1.0) fee applied to withdraw operations
    uint256 public withdrawFee;

    // exchange proxy/middleware
    IExchangeProxy private exchangeProxyContract;

    // redeemer yield distributor
    // NOTE: to keep overhead for users minimal, fees are not transferred
    // immediately, but left on this contract balance, yieldDistributor can reclaim them
    address private yieldDistributorAddress;

    event TokenSwap(
        address indexed tokenFrom,
        address indexed tokenTo,
        address sender,
        uint256 amountFrom,
        uint256 expectedMinimumReceived,
        uint256 amountReceived
    );

    event FeeChanged(string indexed name, uint256 value);

    event EmergencyTransfer(
        address indexed token,
        address indexed destination,
        uint256 amount
    );

    function initialize() public initializer {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        depositFee = 0;
        exchangeFee = 0;
        withdrawFee = 0;
    }

    function setExchangeProxy(address _exchangeProxyContract) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "admin only");
        exchangeProxyContract = IExchangeProxy(_exchangeProxyContract);
    }

    function setYieldDistributor(
        address _tokenAddress,
        address _distributorAddress
    ) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "admin only");
        yieldDistributorAddress = _distributorAddress;
        // only yield to be redistributed should be present on this contract in baseAsset (or other tokens if swap fees)
        // so no access to lp tokens for the funds invested
        resetAllowanceIfNeeded(
            IERC20Upgradeable(_tokenAddress),
            _distributorAddress,
            ALLOWANCE_SIZE
        );
    }

    // if the pool baseToken matches the token deposited, then no conversion is performed
    // and _expectedMininmumReceived/convertData should be zero/empty
    function depositToPool(
        address _poolAddress,
        address _token,
        uint256 _amount,
        uint256 _expectedMinimumReceived,
        bytes memory _convertData
    ) public payable {
        depositToPoolOnBehalf(msg.sender, msg.sender, _poolAddress, _token, _amount, _expectedMinimumReceived, _convertData);
    }

    // relay contract address must have trusted executor privileges
    function depositToPoolFromRelay(
        address _beneficiary,
        address _poolAddress,
        address _token,
        uint256 _amount
    ) override public {
        depositToPoolOnBehalf(_beneficiary, msg.sender, _poolAddress, _token, _amount, 0, "");
    }

    function depositToPoolOnBehalf(
        address _beneficiary,
        address _fundSource,
        address _poolAddress,
        address _token,
        uint256 _amount,
        uint256 _expectedMinimumReceived,
        bytes memory _convertData
    ) internal {
        IAssetPoolV2 assetPool = IAssetPoolV2(_poolAddress);
        IERC20Upgradeable poolToken = IERC20Upgradeable(assetPool.getBaseAsset());

        if (address(poolToken) == _token) {
            // no conversion is needed, allowance and balance checks performed in ERC20 token
            // and not here to not waste any gas fees

            if (depositFee == 0) {
                // use depositOnBehalfDirect function only for this flow to save gas as much as possible
                // (we have approval for this contract, so it can transfer funds to pool directly if
                // deposit fees are zero (otherwise we go with standard processing flow)

                // transfer directly to pool
                IERC20Upgradeable(_token).safeTransferFrom(
                    _fundSource,
                    _poolAddress,
                    _amount
                );

                // call pool function to process deposit (without transfer)
                assetPool.depositOnBehalfDirect(_beneficiary, _amount);
                return;
            }

            IERC20Upgradeable(_token).safeTransferFrom(_fundSource, address(this), _amount);

            // assetPool must have sufficient allowance (one-time for pool/token pair)
            resetAllowanceIfNeeded(poolToken, _poolAddress, _amount);

            // process deposit fees and deposit remainder
            uint256 feeAmount = _amount.mul(depositFee).div(1e18);
            assetPool.depositOnBehalf(_beneficiary, _amount.sub(feeAmount));
            return;
        }

        // conversion is required, perform swap through exchangeProxy
        if (_token != ETH_TOKEN_ADDRESS) {
            IERC20Upgradeable(_token).safeTransferFrom(
                _fundSource,
                address(exchangeProxyContract),
                _amount
            );
        }

        if (depositFee > 0) {
            // process exchange/deposit fees and route through transfer proxy
            uint256 amountReceived =
                IExchangeProxyV2(address(exchangeProxyContract)).executeSwapDirect{value: msg.value}(
                    address(this),
                    _token,
                    address(poolToken),
                    _amount,
                    exchangeFee,
                    _convertData
                );
            require(
                amountReceived >= _expectedMinimumReceived,
                "minimum swap amount not met"
            );
            uint256 feeAmount = amountReceived.mul(depositFee).div(1e18);
            amountReceived = amountReceived.sub(feeAmount);

            // exchange proxy must have sufficient allowance (one-time for pool/token pair)
            resetAllowanceIfNeeded(poolToken, _poolAddress, _amount);

            // perform actual deposit call
            assetPool.depositOnBehalf(_beneficiary, amountReceived);
        } else {
            // swap directly to asset pool address and execute direct deposit call
            uint256 amountReceived =
                IExchangeProxyV2(address(exchangeProxyContract)).executeSwapDirect{value: msg.value}(
                    _poolAddress,
                    _token,
                    address(poolToken),
                    _amount,
                    exchangeFee,
                    _convertData
                );
            require(
                amountReceived >= _expectedMinimumReceived,
                "minimum swap amount not met"
            );
            assetPool.depositOnBehalfDirect(_beneficiary, amountReceived);
        }
    }

    function withdrawFromPool(address _poolAddress, uint256 _amount) public {
        withdrawFromPoolOnBehalf(msg.sender, _poolAddress, _amount);
    }

    function withdrawFromPoolOnBehalf(address _beneficiary, address _poolAddress, uint256 _amount) internal {
        IAssetPoolV2 assetPool = IAssetPoolV2(_poolAddress);
        IERC20Upgradeable poolToken = IERC20Upgradeable(assetPool.getBaseAsset());
        uint256 amountBefore = poolToken.balanceOf(address(this));
        assetPool.withdraw(_beneficiary, _amount);
        uint256 withdrawnAmount =
            poolToken.balanceOf(address(this)).sub(amountBefore);

        // if amount is less than expected, transfer anyway what was actually received
        if (withdrawFee > 0) {
            // process withdraw fees
            uint256 feeAmount = withdrawnAmount.mul(withdrawFee).div(1e18);
            poolToken.safeTransfer(_beneficiary, withdrawnAmount.sub(feeAmount));
        } else {
            poolToken.safeTransfer(_beneficiary, withdrawnAmount);
        }
    }

    function setDepositFee(uint256 _depositFee) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "admin only");
        depositFee = _depositFee;
        emit FeeChanged("deposit", _depositFee);
    }

    function setExchangeFee(uint256 _exchangeFee) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "admin only");
        exchangeFee = _exchangeFee;
        emit FeeChanged("exchange", _exchangeFee);
    }

    function setWithdrawFee(uint256 _withdrawFee) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "admin only");
        withdrawFee = _withdrawFee;
        emit FeeChanged("withdraw", _withdrawFee);
    }

    function setTransferFee(uint256 _transferFee) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "admin only");
        transferFee = _transferFee;
        emit FeeChanged("transfer", _transferFee);
    }

    // token swap function (could be with fees but also can be subsidized later)
    // perform conversion through exchangeProxy
        function executeSwap(
        address _tokenFrom,
        address _tokenTo,
        uint256 _amountFrom,
        uint256 _expectedMinimumReceived,
        bytes memory _convertData
    ) public payable {
        executeSwapOnBehalf(msg.sender, _tokenFrom, _tokenTo, _amountFrom, _expectedMinimumReceived, _convertData);
    }

    function executeSwapOnBehalf(
        address _beneficiary,
        address _tokenFrom,
        address _tokenTo,
        uint256 _amountFrom,
        uint256 _expectedMinimumReceived,
        bytes memory _convertData
    ) internal {
        require(_tokenFrom != _tokenTo, "same tokens provided");

        // swap with direct transfer to exchange proxy and it would transfer swapped token (or ETH) back to msg.sender
        if (_tokenFrom != ETH_TOKEN_ADDRESS) {
            IERC20Upgradeable(_tokenFrom).safeTransferFrom(
                _beneficiary,
                address(exchangeProxyContract),
                _amountFrom
            );
        }
        uint256 amountReceived =
            IExchangeProxyV2(address(exchangeProxyContract)).executeSwapDirect{value: msg.value}(
                _beneficiary,
                _tokenFrom,
                _tokenTo,
                _amountFrom,
                exchangeFee,
                _convertData
            );
        require(
            amountReceived >= _expectedMinimumReceived,
            "minimum swap amount not met"
        );
    }

    // payable fallback to receive ETH when swapping to raw ETH
    receive() external payable {}

    // this function is similar to emergencyTransfer, but relates to yield distribution
    // fees are not transferred immediately to save gas costs for user operations
    // so they accumulate on this contract address and can be claimed by redeemer
    // when appropriate. Anyway, no user funds should appear on this contract, it
    // only performs transfers, so such function has great power, but should be safe
    // It does not include approval, so may be used by redeemer to get fees from swaps
    // in different small token amounts
    function claimFees(address _token, uint256 _amount) public {
        require(
            msg.sender == yieldDistributorAddress,
            "yield distributor only"
        );
        if (_token != ETH_TOKEN_ADDRESS) {
            IERC20Upgradeable(_token).safeTransfer(msg.sender, _amount);
        } else {
            payable(msg.sender).sendValue(_amount);
        }
    }

    // all contracts that do not hold funds have this emergency function if someone occasionally
    // transfers ERC20 tokens directly to this contract
    // callable only by owner
    function emergencyTransfer(
        address _token,
        address _destination,
        uint256 _amount
    ) public {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "admin only");
        if (_token != ETH_TOKEN_ADDRESS) {
            IERC20Upgradeable(_token).safeTransfer(_destination, _amount);
        } else {
            payable(_destination).sendValue(_amount);
        }
        emit EmergencyTransfer(_token, _destination, _amount);
    }

    ///////////////////////////////////////////////////////////////////////////
    // SUBSIDIZED TRANSACTIONS
    ///////////////////////////////////////////////////////////////////////////
    // these should be callable only by trusted backend wallet
    // so that only signed by account and validated actions get executed and proper bonus amount
    // if spending bonus does not revert, account has enough bonus tokens
    // this contract must have EXECUTOR_ROLE set in Smart Treasury contract to call this

    bytes32 public constant TRUSTED_EXECUTION_ROLE = keccak256("TRUSTED_EXECUTION");  // trusted execution wallets

    // if greater than zero, this is a fractional amount (1e18 = 1.0) fee applied to transfer operations (that could also be subsidized)
    uint256 public transferFee;

    // subsidized sending of ERC20 token to another address
    function executeSendOnBehalf(address _beneficiary, address _token, address _destination, uint256 _amount, uint256 _bonus) public {
        require(hasRole(TRUSTED_EXECUTION_ROLE, msg.sender), "trusted executor only");

        // perform transfer, assuming this contract has allowance
        if (transferFee == 0) {
            IERC20Upgradeable(_token).safeTransferFrom(_beneficiary, _destination, _amount);
        } else {
            uint256 feeAmount = _amount.mul(transferFee).div(1e18);
            IERC20Upgradeable(_token).safeTransferFrom(_beneficiary, address(this), _amount);
            IERC20Upgradeable(_token).safeTransfer(_destination, _amount.sub(feeAmount));
        }
    }

    // subsidized deposit of assets to pool
    function executeDepositOnBehalf(address _beneficiary, address _token, address _pool, uint256 _amount, uint256 _expectedMinimumReceived, bytes memory _convertData, uint256 _bonus) public {
        require(hasRole(TRUSTED_EXECUTION_ROLE, msg.sender), "trusted executor only");

        // perform deposit, assuming this contract has allowance
        // TODO: check deposit on behalf with raw Eth! it's not supported but that it reverts;
        // TODO: check if swap would be executed properly;
        depositToPoolOnBehalf(_beneficiary, _beneficiary, _pool, _token, _amount, _expectedMinimumReceived, _convertData);
    }

    // subsidized withdraw of assets from pool
    function executeWithdrawOnBehalf(address _beneficiary, address _pool, uint256 _amount, uint256 _bonus) public {
        require(hasRole(TRUSTED_EXECUTION_ROLE, msg.sender), "trusted executor only");

        withdrawFromPoolOnBehalf(_beneficiary, _pool, _amount);
    }
    
    // subsidized swap of ERC20 assets (also possible swap to raw Eth)
    function executeSwapOnBehalf(address _beneficiary, address _tokenFrom, address _tokenTo, uint256 _amountFrom, uint256 _expectedMinimumReceived, bytes memory _convertData, uint256 _bonus) public {
        require(hasRole(TRUSTED_EXECUTION_ROLE, msg.sender), "trusted executor only");

        // TODO: check deposit on behalf with raw Eth! it's not supported but that it reverts;
        executeSwapOnBehalf(_beneficiary, _tokenFrom, _tokenTo, _amountFrom, _expectedMinimumReceived, _convertData);
    }

    ///////////////////////////////////////////////////////////////////////////
    // BRIDGING TRANSACTIONS (AND SAVINGS+ BRIDGED WITHDRAW)
    ///////////////////////////////////////////////////////////////////////////
    event BridgeTx(address indexed beneficiary, address token, uint256 amount, address target, address relayTarget);

    function slice(
        bytes memory _bytes,
        uint256 _start,
        uint256 _length
    ) internal pure returns (bytes memory) {
        require(_length + 31 >= _length, "slice_overflow");
        require(_start + _length >= _start, "slice_overflow");
        require(_bytes.length >= _start + _length, "slice_outOfBounds");

        bytes memory tempBytes;

        assembly {
            switch iszero(_length)
                case 0 {
                    // Get a location of some free memory and store it in tempBytes as
                    // Solidity does for memory variables.
                    tempBytes := mload(0x40)

                    // The first word of the slice result is potentially a partial
                    // word read from the original array. To read it, we calculate
                    // the length of that partial word and start copying that many
                    // bytes into the array. The first word we copy will start with
                    // data we don't care about, but the last `lengthmod` bytes will
                    // land at the beginning of the contents of the new array. When
                    // we're done copying, we overwrite the full first word with
                    // the actual length of the slice.
                    let lengthmod := and(_length, 31)

                    // The multiplication in the next line is necessary
                    // because when slicing multiples of 32 bytes (lengthmod == 0)
                    // the following copy loop was copying the origin's length
                    // and then ending prematurely not copying everything it should.
                    let mc := add(
                        add(tempBytes, lengthmod),
                        mul(0x20, iszero(lengthmod))
                    )
                    let end := add(mc, _length)

                    for {
                        // The multiplication in the next line has the same exact purpose
                        // as the one above.
                        let cc := add(
                            add(
                                add(_bytes, lengthmod),
                                mul(0x20, iszero(lengthmod))
                            ),
                            _start
                        )
                    } lt(mc, end) {
                        mc := add(mc, 0x20)
                        cc := add(cc, 0x20)
                    } {
                        mstore(mc, mload(cc))
                    }

                    mstore(tempBytes, _length)

                    //update free-memory pointer
                    //allocating the array padded to 32 bytes like the compiler does now
                    mstore(0x40, and(add(mc, 31), not(31)))
                }
                //if we want a zero-length slice let's just return a zero-length array
                default {
                    tempBytes := mload(0x40)
                    //zero out the 32 bytes slice we are about to return
                    //we need to do it because Solidity does not garbage collect
                    mstore(tempBytes, 0)

                    mstore(0x40, add(tempBytes, 0x20))
                }
        }

        return tempBytes;
    }

    // 1. transfer asset to this contract (it should have permission as it's transfer proxy to avoid multiple approval points)
    // 2. check allowance from this contract to bridge tx recepient
    // 3. execute bridging transaction
    // 4. produce bridging event
    function bridgeAsset(address _token, uint256 _amount, bytes memory _bridgeTxData, address _relayTarget) public {
        IERC20Upgradeable(_token).safeTransferFrom(msg.sender, address(this), _amount);

        bridgeAssetDirect(_token, _amount, _bridgeTxData, _relayTarget);
    }

    function bridgeAssetDirect(address _token, uint256 _amount, bytes memory _bridgeTxData, address _relayTarget) internal {
        address targetAddress;
        bytes memory callData = slice(_bridgeTxData, 20, _bridgeTxData.length - 20);
        assembly {
            targetAddress := mload(add(_bridgeTxData, add(0x14, 0)))
        }

        // call method is very powerful, as it allows to call anything pretending to be the transfer proxy
        // (this matters for Mover asset pools)
        // security-wise it's whitelisted to bridge contract address only (may be expanded for different bridges)
        require(targetAddress == 0x37f9aE2e0Ea6742b9CAD5AbCfB6bBC3475b3862B, "unknown bridge");

        resetAllowanceIfNeeded(
            IERC20Upgradeable(_token),
            targetAddress,
            _amount
        );

        (bool success, ) = targetAddress.call(callData);
        require(success, "BRIDGE_CALL_FAILED");

        emit BridgeTx(msg.sender, _token, _amount, targetAddress, _relayTarget);
    }

    function swapBridgeAsset(address _tokenFrom, address _tokenTo, uint256 _amountFrom, uint256 _expectedMinimumReceived, bytes memory _convertData, bytes memory _bridgeTxData, address _relayTarget) public payable {
        require(_tokenFrom != _tokenTo, "same tokens provided");

        if (_tokenFrom != ETH_TOKEN_ADDRESS) {
            IERC20Upgradeable(_tokenFrom).safeTransferFrom(
                msg.sender,
                address(exchangeProxyContract),
                _amountFrom
            );
        }
        uint256 amountReceived =
            IExchangeProxyV2(address(exchangeProxyContract)).executeSwapDirect{value: msg.value}(
                address(this),
                _tokenFrom,
                _tokenTo,
                _amountFrom,
                exchangeFee,
                _convertData
            );
        require(
            amountReceived >= _expectedMinimumReceived,
            "minimum swap amount not met"
        );

        // modify part of bridgeTxData to reflect new amount
        // bridgeTxData
        // bytes   0..19 target contract address
        // bytes  20..23 function signature
        // bytes  24..183 bridge tx params
        // bytes 184..215 amount of target token to bridge
        // bytes 216..407 bridge tx params
        assembly {
            // first 32 bytes of 'bytes' is it's length, and after that it's contents
            // so offset is 32+184=216
            mstore(add(_bridgeTxData, 216), amountReceived)
        }

        bridgeAssetDirect(_tokenTo, amountReceived, _bridgeTxData, _relayTarget);
    }

    function withdrawAndBridgeAsset(address _beneficiary, address _poolAddress, uint256 _amount, bytes memory _bridgeTxData) public {
        require(hasRole(TRUSTED_EXECUTION_ROLE, msg.sender), "trusted executor only");

        IAssetPoolV2 assetPool = IAssetPoolV2(_poolAddress);
        address poolToken = assetPool.getBaseAsset();
        uint256 amountBefore = IERC20Upgradeable(poolToken).balanceOf(address(this));
        assetPool.withdraw(_beneficiary, _amount);
        uint256 withdrawnAmount = IERC20Upgradeable(poolToken).balanceOf(address(this)).sub(amountBefore);

        if (withdrawFee > 0) {
            // process withdraw fees
            // bridgetxdata must take this amount into account
            uint256 feeAmount = withdrawnAmount.mul(withdrawFee).div(1e18);
            bridgeAssetDirect(poolToken, withdrawnAmount.sub(feeAmount), _bridgeTxData, address(0));
        } else {
            bridgeAssetDirect(poolToken, withdrawnAmount, _bridgeTxData, address(0));
        }
    }
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"address","name":"relayTarget","type":"address"}],"name":"BridgeTx","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"destination","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"string","name":"name","type":"string"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"FeeChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenFrom","type":"address"},{"indexed":true,"internalType":"address","name":"tokenTo","type":"address"},{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amountFrom","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"expectedMinimumReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountReceived","type":"uint256"}],"name":"TokenSwap","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRUSTED_EXECUTION_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_bridgeTxData","type":"bytes"},{"internalType":"address","name":"_relayTarget","type":"address"}],"name":"bridgeAsset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"claimFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_poolAddress","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_expectedMinimumReceived","type":"uint256"},{"internalType":"bytes","name":"_convertData","type":"bytes"}],"name":"depositToPool","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"address","name":"_poolAddress","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"depositToPoolFromRelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_destination","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"emergencyTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exchangeFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_pool","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_expectedMinimumReceived","type":"uint256"},{"internalType":"bytes","name":"_convertData","type":"bytes"},{"internalType":"uint256","name":"_bonus","type":"uint256"}],"name":"executeDepositOnBehalf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_destination","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_bonus","type":"uint256"}],"name":"executeSendOnBehalf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenFrom","type":"address"},{"internalType":"address","name":"_tokenTo","type":"address"},{"internalType":"uint256","name":"_amountFrom","type":"uint256"},{"internalType":"uint256","name":"_expectedMinimumReceived","type":"uint256"},{"internalType":"bytes","name":"_convertData","type":"bytes"}],"name":"executeSwap","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"address","name":"_tokenFrom","type":"address"},{"internalType":"address","name":"_tokenTo","type":"address"},{"internalType":"uint256","name":"_amountFrom","type":"uint256"},{"internalType":"uint256","name":"_expectedMinimumReceived","type":"uint256"},{"internalType":"bytes","name":"_convertData","type":"bytes"},{"internalType":"uint256","name":"_bonus","type":"uint256"}],"name":"executeSwapOnBehalf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"address","name":"_pool","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_bonus","type":"uint256"}],"name":"executeWithdrawOnBehalf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_depositFee","type":"uint256"}],"name":"setDepositFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_exchangeFee","type":"uint256"}],"name":"setExchangeFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_exchangeProxyContract","type":"address"}],"name":"setExchangeProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_transferFee","type":"uint256"}],"name":"setTransferFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_withdrawFee","type":"uint256"}],"name":"setWithdrawFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"address","name":"_distributorAddress","type":"address"}],"name":"setYieldDistributor","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":"_tokenFrom","type":"address"},{"internalType":"address","name":"_tokenTo","type":"address"},{"internalType":"uint256","name":"_amountFrom","type":"uint256"},{"internalType":"uint256","name":"_expectedMinimumReceived","type":"uint256"},{"internalType":"bytes","name":"_convertData","type":"bytes"},{"internalType":"bytes","name":"_bridgeTxData","type":"bytes"},{"internalType":"address","name":"_relayTarget","type":"address"}],"name":"swapBridgeAsset","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"transferFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"address","name":"_poolAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_bridgeTxData","type":"bytes"}],"name":"withdrawAndBridgeAsset","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_poolAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawFromPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50612de1806100206000396000f3fe6080604052600436106101e75760003560e01c80637c5012d011610102578063acb2ad6f11610095578063d547741f11610064578063d547741f1461053c578063e653bf3a1461055c578063e77a2d261461057c578063e941fa781461058f576101ee565b8063acb2ad6f146104c7578063b6ac642a146104dc578063c1bf9e58146104fc578063d17b40b91461051c576101ee565b80639a3275ca116100d15780639a3275ca1461046a5780639df8cc7b1461047f578063a1830f501461049f578063a217fddf146104b2576101ee565b80637c5012d0146103f55780638129fc1c146104155780638f02bb5b1461042a57806391d148541461044a576101ee565b80632f2ff15d1161017a57806367a527931161014957806367a52793146103805780636c8f42d8146103955780636d0f203b146103b557806375b66923146103d5576101ee565b80632f2ff15d1461030057806336568abe14610320578063490ae210146103405780635c46ff9914610360576101ee565b80631e84c725116101b65780631e84c7251461028b578063232174c0146102ab578063248a9ca3146102be5780632ecd3be4146102eb576101ee565b806301ffc9a7146101f3578063033b61951461022957806309c1b8591461024b5780630aa4a7f91461026b576101ee565b366101ee57005b600080fd5b3480156101ff57600080fd5b5061021361020e366004612683565b6105a4565b60405161022091906128b6565b60405180910390f35b34801561023557600080fd5b506102496102443660046122f1565b6105cf565b005b34801561025757600080fd5b50610249610266366004612297565b610623565b34801561027757600080fd5b5061024961028636600461242b565b6106e0565b34801561029757600080fd5b506102496102a6366004612381565b610725565b6102496102b9366004612470565b6107ec565b3480156102ca57600080fd5b506102de6102d9366004612647565b6107fa565b60405161022091906128c1565b3480156102f757600080fd5b506102de61080f565b34801561030c57600080fd5b5061024961031b36600461265f565b610815565b34801561032c57600080fd5b5061024961033b36600461265f565b61083e565b34801561034c57600080fd5b5061024961035b366004612647565b610884565b34801561036c57600080fd5b5061024961037b366004612592565b6108fe565b34801561038c57600080fd5b506102de61096f565b3480156103a157600080fd5b506102496103b0366004612247565b610975565b3480156103c157600080fd5b506102496103d03660046122f1565b610994565b3480156103e157600080fd5b506102496103f03660046125bd565b6109d7565b34801561040157600080fd5b506102496104103660046123c1565b6109f8565b34801561042157600080fd5b50610249610c72565b34801561043657600080fd5b50610249610445366004612647565b610d08565b34801561045657600080fd5b5061021361046536600461265f565b610d40565b34801561047657600080fd5b506102de610d6b565b34801561048b57600080fd5b5061024961049a366004612647565b610d7d565b6102496104ad3660046124e4565b610db5565b3480156104be57600080fd5b506102de610eeb565b3480156104d357600080fd5b506102de610ef0565b3480156104e857600080fd5b506102496104f7366004612647565b610ef6565b34801561050857600080fd5b50610249610517366004612592565b610f2e565b34801561052857600080fd5b5061024961053736600461220f565b610f39565b34801561054857600080fd5b5061024961055736600461265f565b610f88565b34801561056857600080fd5b506102496105773660046121d7565b610fa7565b61024961058a366004612470565b610ff0565b34801561059b57600080fd5b506102de610fff565b60006001600160e01b03198216637965db0b60e01b14806105c957506105c982611005565b92915050565b6105e7600080516020612d8c83398151915233610d40565b61060c5760405162461bcd60e51b815260040161060390612a97565b60405180910390fd5b61061a87878787878761101e565b50505050505050565b61063b600080516020612d8c83398151915233610d40565b6106575760405162461bcd60e51b815260040161060390612a97565b609c54610678576106736001600160a01b038516868585611142565b6106d9565b60006106a1670de0b6b3a764000061069b609c548661119a90919063ffffffff16565b906111ad565b90506106b86001600160a01b038616873086611142565b6106d7846106c685846111b9565b6001600160a01b03881691906111c5565b505b5050505050565b6106f8600080516020612d8c83398151915233610d40565b6107145760405162461bcd60e51b815260040161060390612a97565b61071f8484846111e4565b50505050565b610730600033610d40565b61074c5760405162461bcd60e51b815260040161060390612971565b6001600160a01b03831673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610789576107846001600160a01b03841683836111c5565b61079c565b61079c6001600160a01b038316826113da565b816001600160a01b0316836001600160a01b03167fe73b77795c13bee9883a40de3973381a54190f3bc777dcab3a8206d302afc784836040516107df91906128c1565b60405180910390a3505050565b6106d933868686868661101e565b60009081526065602052604090206001015490565b60985481565b61081e826107fa565b61082f8161082a611476565b61147a565b61083983836114de565b505050565b610846611476565b6001600160a01b0316816001600160a01b0316146108765760405162461bcd60e51b815260040161060390612c4a565b6108808282611565565b5050565b61088f600033610d40565b6108ab5760405162461bcd60e51b815260040161060390612971565b60978190556040516108bc9061271f565b60405180910390207f028fb3547db27a12ea2446a9c9bae9d9ecf97ce6abb8ddaefd2605ea1f97618e826040516108f391906128c1565b60405180910390a250565b609b546001600160a01b031633146109285760405162461bcd60e51b815260040161060390612ac6565b6001600160a01b03821673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610965576109606001600160a01b03831633836111c5565b610880565b61088033826113da565b60975481565b61071f84338585856000604051806020016040528060008152506115ea565b6109ac600080516020612d8c83398151915233610d40565b6109c85760405162461bcd60e51b815260040161060390612a97565b61061a878887898888886115ea565b6109ec6001600160a01b038516333086611142565b61071f84848484611a73565b610a10600080516020612d8c83398151915233610d40565b610a2c5760405162461bcd60e51b815260040161060390612a97565b60008390506000816001600160a01b0316638d3a4af66040518163ffffffff1660e01b815260040160206040518083038186803b158015610a6c57600080fd5b505afa158015610a80573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aa491906121f3565b90506000816001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610ad491906127d2565b60206040518083038186803b158015610aec57600080fd5b505afa158015610b00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2491906126ab565b60405163f3fef3a360e01b81529091506001600160a01b0384169063f3fef3a390610b55908a908990600401612872565b600060405180830381600087803b158015610b6f57600080fd5b505af1158015610b83573d6000803e3d6000fd5b505050506000610c0f82846001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610bb991906127d2565b60206040518083038186803b158015610bd157600080fd5b505afa158015610be5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0991906126ab565b906111b9565b60995490915015610c5b576000610c3d670de0b6b3a764000061069b6099548561119a90919063ffffffff16565b9050610c5584610c4d84846111b9565b886000611a73565b50610c68565b610c688382876000611a73565b5050505050505050565b600054610100900460ff1680610c8b575060005460ff16155b610ca75760405162461bcd60e51b815260040161060390612af6565b600054610100900460ff16158015610cd2576000805460ff1961ff0019909116610100171660011790555b610ce46000610cdf611476565b611bab565b6000609781905560988190556099558015610d05576000805461ff00191690555b50565b610d13600033610d40565b610d2f5760405162461bcd60e51b815260040161060390612971565b609c8190556040516108bc90612746565b60009182526065602090815260408084206001600160a01b0393909316845291905290205460ff1690565b600080516020612d8c83398151915281565b610d88600033610d40565b610da45760405162461bcd60e51b815260040161060390612971565b60988190556040516108bc9061270b565b856001600160a01b0316876001600160a01b03161415610de75760405162461bcd60e51b815260040161060390612b44565b6001600160a01b03871673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee14610e2757609a54610e27906001600160a01b038981169133911688611142565b609a546098546040516381b7a3f760e01b81526000926001600160a01b0316916381b7a3f7913491610e659130918e918e918e918d90600401612800565b6020604051808303818588803b158015610e7e57600080fd5b505af1158015610e92573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610eb791906126ab565b905084811015610ed95760405162461bcd60e51b81526004016106039061293a565b8060d8840152610c6887828585611a73565b600081565b609c5481565b610f01600033610d40565b610f1d5760405162461bcd60e51b815260040161060390612971565b60998190556040516108bc90612732565b6108803383836111e4565b610f44600033610d40565b610f605760405162461bcd60e51b815260040161060390612971565b609b80546001600160a01b0319166001600160a01b0383161790556108808282600019611bb5565b610f91826107fa565b610f9d8161082a611476565b6108398383611565565b610fb2600033610d40565b610fce5760405162461bcd60e51b815260040161060390612971565b609a80546001600160a01b0319166001600160a01b0392909216919091179055565b6106d9333387878787876115ea565b60995481565b6001600160e01b031981166301ffc9a760e01b14919050565b836001600160a01b0316856001600160a01b031614156110505760405162461bcd60e51b815260040161060390612b44565b6001600160a01b03851673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1461109057609a54611090906001600160a01b038781169189911686611142565b609a546098546040516381b7a3f760e01b81526000926001600160a01b0316916381b7a3f79134916110ce918c918c918c918c918b90600401612800565b6020604051808303818588803b1580156110e757600080fd5b505af11580156110fb573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061112091906126ab565b90508281101561061a5760405162461bcd60e51b81526004016106039061293a565b61071f846323b872dd60e01b8585856040516024016111639392919061284e565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611c62565b60006111a68284612cd1565b9392505050565b60006111a68284612cb1565b60006111a68284612cf0565b6108398363a9059cbb60e01b8484604051602401611163929190612872565b60008290506000816001600160a01b0316638d3a4af66040518163ffffffff1660e01b815260040160206040518083038186803b15801561122457600080fd5b505afa158015611238573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061125c91906121f3565b90506000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040161128c91906127d2565b60206040518083038186803b1580156112a457600080fd5b505afa1580156112b8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112dc91906126ab565b60405163f3fef3a360e01b81529091506001600160a01b0384169063f3fef3a39061130d9089908890600401612872565b600060405180830381600087803b15801561132757600080fd5b505af115801561133b573d6000803e3d6000fd5b50505050600061137182846001600160a01b03166370a08231306040518263ffffffff1660e01b8152600401610bb991906127d2565b609954909150156113c657600061139f670de0b6b3a764000061069b6099548561119a90919063ffffffff16565b90506113c0886113af84846111b9565b6001600160a01b03871691906111c5565b5061061a565b61061a6001600160a01b03841688836111c5565b804710156113fa5760405162461bcd60e51b8152600401610603906129f2565b6000826001600160a01b0316826040516114139061275a565b60006040518083038185875af1925050503d8060008114611450576040519150601f19603f3d011682016040523d82523d6000602084013e611455565b606091505b50509050806108395760405162461bcd60e51b815260040161060390612995565b3390565b6114848282610d40565b6108805761149c816001600160a01b03166014611cf1565b6114a7836020611cf1565b6040516020016114b892919061275d565b60408051601f198184030181529082905262461bcd60e51b8252610603916004016128ca565b6114e88282610d40565b6108805760008281526065602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611521611476565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b61156f8282610d40565b156108805760008281526065602090815260408083206001600160a01b03851684529091529020805460ff191690556115a6611476565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60008590506000816001600160a01b0316638d3a4af66040518163ffffffff1660e01b815260040160206040518083038186803b15801561162a57600080fd5b505afa15801561163e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061166291906121f3565b9050856001600160a01b0316816001600160a01b031614156117b7576097546117015761169a6001600160a01b038716898988611142565b6040516322e2afc960e01b81526001600160a01b038316906322e2afc9906116c8908c908990600401612872565b600060405180830381600087803b1580156116e257600080fd5b505af11580156116f6573d6000803e3d6000fd5b50505050505061061a565b6117166001600160a01b038716893088611142565b611721818887611bb5565b6000611744670de0b6b3a764000061069b6097548961119a90919063ffffffff16565b90506001600160a01b038316632fdbd1578b61176089856111b9565b6040518363ffffffff1660e01b815260040161177d929190612872565b600060405180830381600087803b15801561179757600080fd5b505af11580156117ab573d6000803e3d6000fd5b5050505050505061061a565b6001600160a01b03861673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee146117f757609a546117f7906001600160a01b03888116918b911688611142565b6097541561195457609a546098546040516381b7a3f760e01b81526000926001600160a01b0316916381b7a3f791349161183d9130918d9189918e918d90600401612800565b6020604051808303818588803b15801561185657600080fd5b505af115801561186a573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061188f91906126ab565b9050848110156118b15760405162461bcd60e51b81526004016106039061293a565b60006118d4670de0b6b3a764000061069b6097548561119a90919063ffffffff16565b90506118e082826111b9565b91506118ed838a89611bb5565b604051632fdbd15760e01b81526001600160a01b03851690632fdbd1579061191b908e908690600401612872565b600060405180830381600087803b15801561193557600080fd5b505af1158015611949573d6000803e3d6000fd5b505050505050611a68565b609a546098546040516381b7a3f760e01b81526000926001600160a01b0316916381b7a3f7913491611992918d918d9189918e918d90600401612800565b6020604051808303818588803b1580156119ab57600080fd5b505af11580156119bf573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906119e491906126ab565b905084811015611a065760405162461bcd60e51b81526004016106039061293a565b6040516322e2afc960e01b81526001600160a01b038416906322e2afc990611a34908d908590600401612872565b600060405180830381600087803b158015611a4e57600080fd5b505af1158015611a62573d6000803e3d6000fd5b50505050505b505050505050505050565b600080611a8e846014808751611a899190612cf0565b611ea3565b6014850151925090507337f9ae2e0ea6742b9cad5abcfb6bbc3475b3862b6001600160a01b03831614611ad35760405162461bcd60e51b815260040161060390612912565b611ade868387611bb5565b6000826001600160a01b031682604051611af891906126ef565b6000604051808303816000865af19150503d8060008114611b35576040519150601f19603f3d011682016040523d82523d6000602084013e611b3a565b606091505b5050905080611b5b5760405162461bcd60e51b815260040161060390612b72565b336001600160a01b03167fedbb322f19097aa0a66de8596ed0e18162d38d7c7324ea54191ea1b45eee922088888688604051611b9a949392919061288b565b60405180910390a250505050505050565b61088082826114de565b604051636eb1769f60e11b81526000906001600160a01b0385169063dd62ed3e90611be690309087906004016127e6565b60206040518083038186803b158015611bfe57600080fd5b505afa158015611c12573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3691906126ab565b90508181101561071f576000196106d984611c5183856111b9565b6001600160a01b0388169190611f94565b6000611cb7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120409092919063ffffffff16565b8051909150156108395780806020019051810190611cd59190612627565b6108395760405162461bcd60e51b815260040161060390612c00565b60606000611d00836002612cd1565b611d0b906002612c99565b67ffffffffffffffff811115611d3157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611d5b576020820181803683370190505b509050600360fc1b81600081518110611d8457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110611dc157634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000611de5846002612cd1565b611df0906001612c99565b90505b6001811115611e84576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110611e3257634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110611e5657634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93611e7d81612d33565b9050611df3565b5083156111a65760405162461bcd60e51b8152600401610603906128dd565b606081611eb181601f612c99565b1015611ecf5760405162461bcd60e51b815260040161060390612a6f565b82611eda8382612c99565b1015611ef85760405162461bcd60e51b815260040161060390612a6f565b611f028284612c99565b84511015611f225760405162461bcd60e51b815260040161060390612bd5565b606082158015611f415760405191506000825260208201604052611f8b565b6040519150601f8416801560200281840101858101878315602002848b0101015b81831015611f7a578051835260209283019201611f62565b5050858452601f01601f1916604052505b50949350505050565b600081846001600160a01b031663dd62ed3e30866040518363ffffffff1660e01b8152600401611fc59291906127e6565b60206040518083038186803b158015611fdd57600080fd5b505afa158015611ff1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061201591906126ab565b61201f9190612c99565b905061071f8463095ea7b360e01b8584604051602401611163929190612872565b606061204f8484600085612057565b949350505050565b6060824710156120795760405162461bcd60e51b815260040161060390612a29565b61208285612117565b61209e5760405162461bcd60e51b815260040161060390612b9e565b600080866001600160a01b031685876040516120ba91906126ef565b60006040518083038185875af1925050503d80600081146120f7576040519150601f19603f3d011682016040523d82523d6000602084013e6120fc565b606091505b509150915061210c82828661211d565b979650505050505050565b3b151590565b6060831561212c5750816111a6565b82511561213c5782518084602001fd5b8160405162461bcd60e51b815260040161060391906128ca565b600082601f830112612166578081fd5b813567ffffffffffffffff8082111561218157612181612d60565b604051601f8301601f1916810160200182811182821017156121a5576121a5612d60565b6040528281528483016020018610156121bc578384fd5b82602086016020830137918201602001929092529392505050565b6000602082840312156121e8578081fd5b81356111a681612d76565b600060208284031215612204578081fd5b81516111a681612d76565b60008060408385031215612221578081fd5b823561222c81612d76565b9150602083013561223c81612d76565b809150509250929050565b6000806000806080858703121561225c578182fd5b843561226781612d76565b9350602085013561227781612d76565b9250604085013561228781612d76565b9396929550929360600135925050565b600080600080600060a086880312156122ae578081fd5b85356122b981612d76565b945060208601356122c981612d76565b935060408601356122d981612d76565b94979396509394606081013594506080013592915050565b600080600080600080600060e0888a03121561230b578182fd5b873561231681612d76565b9650602088013561232681612d76565b9550604088013561233681612d76565b9450606088013593506080880135925060a088013567ffffffffffffffff81111561235f578283fd5b61236b8a828b01612156565b92505060c0880135905092959891949750929550565b600080600060608486031215612395578283fd5b83356123a081612d76565b925060208401356123b081612d76565b929592945050506040919091013590565b600080600080608085870312156123d6578384fd5b84356123e181612d76565b935060208501356123f181612d76565b925060408501359150606085013567ffffffffffffffff811115612413578182fd5b61241f87828801612156565b91505092959194509250565b60008060008060808587031215612440578384fd5b843561244b81612d76565b9350602085013561245b81612d76565b93969395505050506040820135916060013590565b600080600080600060a08688031215612487578081fd5b853561249281612d76565b945060208601356124a281612d76565b93506040860135925060608601359150608086013567ffffffffffffffff8111156124cb578182fd5b6124d788828901612156565b9150509295509295909350565b600080600080600080600060e0888a0312156124fe578081fd5b873561250981612d76565b9650602088013561251981612d76565b95506040880135945060608801359350608088013567ffffffffffffffff80821115612543578283fd5b61254f8b838c01612156565b945060a08a0135915080821115612564578283fd5b506125718a828b01612156565b92505060c088013561258281612d76565b8091505092959891949750929550565b600080604083850312156125a4578182fd5b82356125af81612d76565b946020939093013593505050565b600080600080608085870312156125d2578182fd5b84356125dd81612d76565b935060208501359250604085013567ffffffffffffffff8111156125ff578283fd5b61260b87828801612156565b925050606085013561261c81612d76565b939692955090935050565b600060208284031215612638578081fd5b815180151581146111a6578182fd5b600060208284031215612658578081fd5b5035919050565b60008060408385031215612671578182fd5b82359150602083013561223c81612d76565b600060208284031215612694578081fd5b81356001600160e01b0319811681146111a6578182fd5b6000602082840312156126bc578081fd5b5051919050565b600081518084526126db816020860160208601612d07565b601f01601f19169290920160200192915050565b60008251612701818460208701612d07565b9190910192915050565b6765786368616e676560c01b815260080190565b6619195c1bdcda5d60ca1b815260070190565b67776974686472617760c01b815260080190565b673a3930b739b332b960c11b815260080190565b90565b60007f416363657373436f6e74726f6c3a206163636f756e742000000000000000000082528351612795816017850160208801612d07565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516127c6816028840160208801612d07565b01602801949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b038781168252868116602083015285166040820152606081018490526080810183905260c060a08201819052600090612842908301846126c3565b98975050505050505050565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b03948516815260208101939093529083166040830152909116606082015260800190565b901515815260200190565b90815260200190565b6000602082526111a660208301846126c3565b6020808252818101527f537472696e67733a20686578206c656e67746820696e73756666696369656e74604082015260600190565b6020808252600e908201526d756e6b6e6f776e2062726964676560901b604082015260600190565b6020808252601b908201527f6d696e696d756d207377617020616d6f756e74206e6f74206d65740000000000604082015260600190565b6020808252600a908201526961646d696e206f6e6c7960b01b604082015260600190565b6020808252603a908201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260408201527f6563697069656e74206d61792068617665207265766572746564000000000000606082015260800190565b6020808252601d908201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252600e908201526d736c6963655f6f766572666c6f7760901b604082015260600190565b60208082526015908201527474727573746564206578656375746f72206f6e6c7960581b604082015260600190565b6020808252601690820152757969656c64206469737472696275746f72206f6e6c7960501b604082015260600190565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b6020808252601490820152731cd85b59481d1bdad95b9cc81c1c9bdd9a59195960621b604082015260600190565b6020808252601290820152711094925111d157d0d0531317d1905253115160721b604082015260600190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b602080825260119082015270736c6963655f6f75744f66426f756e647360781b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252602f908201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560408201526e103937b632b9903337b91039b2b63360891b606082015260800190565b60008219821115612cac57612cac612d4a565b500190565b600082612ccc57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615612ceb57612ceb612d4a565b500290565b600082821015612d0257612d02612d4a565b500390565b60005b83811015612d22578181015183820152602001612d0a565b8381111561071f5750506000910152565b600081612d4257612d42612d4a565b506000190190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610d0557600080fdfe72a0865454c18febf85bd05d0befda508e9700b59afa1cafd4bac1117561a8b4a26469706673582212205d14f2e678d47df7482f70f974629ad75d61224a2223723edf8da3fec801787764736f6c63430008000033

Deployed ByteCode Sourcemap

50556:23986:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12621:215;;;;;;;;;;-1:-1:-1;12621:215:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;66078:507;;;;;;;;;;-1:-1:-1;66078:507:0;;;;;:::i;:::-;;:::i;:::-;;64277:705;;;;;;;;;;-1:-1:-1;64277:705:0;;;;;:::i;:::-;;:::i;65721:273::-;;;;;;;;;;-1:-1:-1;65721:273:0;;;;;:::i;:::-;;:::i;62922:472::-;;;;;;;;;;-1:-1:-1;62922:472:0;;;;;:::i;:::-;;:::i;60199:333::-;;;;;;:::i;:::-;;:::i;14065:123::-;;;;;;;;;;-1:-1:-1;14065:123:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;51352:26::-;;;;;;;;;;;;;:::i;14450:147::-;;;;;;;;;;-1:-1:-1;14450:147:0;;;;;:::i;:::-;;:::i;15498:218::-;;;;;;;;;;-1:-1:-1;15498:218:0;;;;;:::i;:::-;;:::i;59146:217::-;;;;;;;;;;-1:-1:-1;59146:217:0;;;;;:::i;:::-;;:::i;62341:387::-;;;;;;;;;;-1:-1:-1;62341:387:0;;;;;:::i;:::-;;:::i;51195:25::-;;;;;;;;;;;;;:::i;53879:272::-;;;;;;;;;;-1:-1:-1;53879:272:0;;;;;:::i;:::-;;:::i;65035:630::-;;;;;;;;;;-1:-1:-1;65035:630:0;;;;;:::i;:::-;;:::i;70542:284::-;;;;;;;;;;-1:-1:-1;70542:284:0;;;;;:::i;:::-;;:::i;73518:1021::-;;;;;;;;;;-1:-1:-1;73518:1021:0;;;;;:::i;:::-;;:::i;52286:183::-;;;;;;;;;;;;;:::i;59833:223::-;;;;;;;;;;-1:-1:-1;59833:223:0;;;;;:::i;:::-;;:::i;12928:139::-;;;;;;;;;;-1:-1:-1;12928:139:0;;;;;:::i;:::-;;:::i;63925:79::-;;;;;;;;;;;;;:::i;59371:223::-;;;;;;;;;;-1:-1:-1;59371:223:0;;;;;:::i;:::-;;:::i;71888:1622::-;;;;;;:::i;:::-;;:::i;12008:49::-;;;;;;;;;;;;;:::i;64181:26::-;;;;;;;;;;;;;:::i;59602:223::-;;;;;;;;;;-1:-1:-1;59602:223:0;;;;;:::i;:::-;;:::i;58083:150::-;;;;;;;;;;-1:-1:-1;58083:150:0;;;;;:::i;:::-;;:::i;52704:587::-;;;;;;;;;;-1:-1:-1;52704:587:0;;;;;:::i;:::-;;:::i;14842:149::-;;;;;;;;;;-1:-1:-1;14842:149:0;;;;;:::i;:::-;;:::i;52477:219::-;;;;;;;;;;-1:-1:-1;52477:219:0;;;;;:::i;:::-;;:::i;53461:341::-;;;;;;:::i;:::-;;:::i;51491:26::-;;;;;;;;;;;;;:::i;12621:215::-;12706:4;-1:-1:-1;;;;;;12730:58:0;;-1:-1:-1;;;12730:58:0;;:98;;;12792:36;12816:11;12792:23;:36::i;:::-;12723:105;12621:215;-1:-1:-1;;12621:215:0:o;66078:507::-;66291:43;-1:-1:-1;;;;;;;;;;;66323:10:0;66291:7;:43::i;:::-;66283:77;;;;-1:-1:-1;;;66283:77:0;;;;;;;:::i;:::-;;;;;;;;;66469:108;66489:12;66503:10;66515:8;66525:11;66538:24;66564:12;66469:19;:108::i;:::-;66078:507;;;;;;;:::o;64277:705::-;64425:43;-1:-1:-1;;;;;;;;;;;64457:10:0;64425:7;:43::i;:::-;64417:77;;;;-1:-1:-1;;;64417:77:0;;;;;;;:::i;:::-;64578:11;;64574:401;;64611:79;-1:-1:-1;;;;;64611:42:0;;64654:12;64668;64682:7;64611:42;:79::i;:::-;64574:401;;;64723:17;64743:34;64772:4;64743:24;64755:11;;64743:7;:11;;:24;;;;:::i;:::-;:28;;:34::i;:::-;64723:54;-1:-1:-1;64792:80:0;-1:-1:-1;;;;;64792:42:0;;64835:12;64857:4;64864:7;64792:42;:80::i;:::-;64887:76;64926:12;64940:22;:7;64952:9;64940:11;:22::i;:::-;-1:-1:-1;;;;;64887:38:0;;;:76;:38;:76::i;:::-;64574:401;;64277:705;;;;;:::o;65721:273::-;65850:43;-1:-1:-1;;;;;;;;;;;65882:10:0;65850:7;:43::i;:::-;65842:77;;;;-1:-1:-1;;;65842:77:0;;;;;;;:::i;:::-;65932:54;65957:12;65971:5;65978:7;65932:24;:54::i;:::-;65721:273;;;;:::o;62922:472::-;63064:39;12053:4;63092:10;63064:7;:39::i;:::-;63056:62;;;;-1:-1:-1;;;63056:62:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;63133:27:0;;51045:42;63133:27;63129:194;;63177:61;-1:-1:-1;;;;;63177:38:0;;63216:12;63230:7;63177:38;:61::i;:::-;63129:194;;;63271:40;-1:-1:-1;;;;;63271:31:0;;63303:7;63271:31;:40::i;:::-;63364:12;-1:-1:-1;;;;;63338:48:0;63356:6;-1:-1:-1;;;;;63338:48:0;;63378:7;63338:48;;;;;;:::i;:::-;;;;;;;;62922:472;;;:::o;60199:333::-;60418:106;60438:10;60450;60462:8;60472:11;60485:24;60511:12;60418:19;:106::i;14065:123::-;14131:7;14158:12;;;:6;:12;;;;;:22;;;;14065:123::o;51352:26::-;;;;:::o;14450:147::-;14533:18;14546:4;14533:12;:18::i;:::-;12499:30;12510:4;12516:12;:10;:12::i;:::-;12499:10;:30::i;:::-;14564:25:::1;14575:4;14581:7;14564:10;:25::i;:::-;14450:147:::0;;;:::o;15498:218::-;15605:12;:10;:12::i;:::-;-1:-1:-1;;;;;15594:23:0;:7;-1:-1:-1;;;;;15594:23:0;;15586:83;;;;-1:-1:-1;;;15586:83:0;;;;;;;:::i;:::-;15682:26;15694:4;15700:7;15682:11;:26::i;:::-;15498:218;;:::o;59146:217::-;59216:39;12053:4;59244:10;59216:7;:39::i;:::-;59208:62;;;;-1:-1:-1;;;59208:62:0;;;;;;;:::i;:::-;59281:10;:24;;;59321:34;;;;;:::i;:::-;;;;;;;;;59343:11;59321:34;;;;;;:::i;:::-;;;;;;;;59146:217;:::o;62341:387::-;62447:23;;-1:-1:-1;;;;;62447:23:0;62433:10;:37;62411:109;;;;-1:-1:-1;;;62411:109:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;62535:27:0;;51045:42;62535:27;62531:190;;62579:59;-1:-1:-1;;;;;62579:38:0;;62618:10;62630:7;62579:38;:59::i;:::-;62531:190;;;62671:38;62679:10;62701:7;62671:29;:38::i;51195:25::-;;;;:::o;53879:272::-;54058:85;54080:12;54094:10;54106:12;54120:6;54128:7;54137:1;54058:85;;;;;;;;;;;;:21;:85::i;65035:630::-;65240:43;-1:-1:-1;;;;;;;;;;;65272:10:0;65240:7;:43::i;:::-;65232:77;;;;-1:-1:-1;;;65232:77:0;;;;;;;:::i;:::-;65544:113;65566:12;65580;65594:5;65601:6;65609:7;65618:24;65644:12;65544:21;:113::i;70542:284::-;70664:78;-1:-1:-1;;;;;70664:42:0;;70707:10;70727:4;70734:7;70664:42;:78::i;:::-;70755:63;70773:6;70781:7;70790:13;70805:12;70755:17;:63::i;73518:1021::-;73665:43;-1:-1:-1;;;;;;;;;;;73697:10:0;73665:7;:43::i;:::-;73657:77;;;;-1:-1:-1;;;73657:77:0;;;;;;;:::i;:::-;73747:22;73785:12;73747:51;;73809:17;73829:9;-1:-1:-1;;;;;73829:22:0;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;73809:44;;73864:20;73905:9;-1:-1:-1;;;;;73887:38:0;;73934:4;73887:53;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;73951:41;;-1:-1:-1;;;73951:41:0;;73864:76;;-1:-1:-1;;;;;;73951:18:0;;;;;:41;;73970:12;;73984:7;;73951:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74003:23;74029:71;74087:12;74047:9;-1:-1:-1;;;;;74029:38:0;;74076:4;74029:53;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:57;;:71::i;:::-;74117:11;;74003:97;;-1:-1:-1;74117:15:0;74113:419;;74251:17;74271:42;74308:4;74271:32;74291:11;;74271:15;:19;;:32;;;;:::i;:42::-;74251:62;-1:-1:-1;74328:87:0;74346:9;74357:30;:15;74251:62;74357:19;:30::i;:::-;74389:13;74412:1;74328:17;:87::i;:::-;74113:419;;;;74448:72;74466:9;74477:15;74494:13;74517:1;74448:17;:72::i;:::-;73518:1021;;;;;;;;:::o;52286:183::-;4673:13;;;;;;;;:30;;-1:-1:-1;4691:12:0;;;;4690:13;4673:30;4665:89;;;;-1:-1:-1;;;4665:89:0;;;;;;;:::i;:::-;4767:19;4790:13;;;;;;4789:14;4814:101;;;;4849:13;:20;;-1:-1:-1;;;;4849:20:0;;;;;4884:19;4865:4;4884:19;;;4814:101;52338:44:::1;12053:4;52369:12;:10;:12::i;:::-;52338:10;:44::i;:::-;52408:1;52395:10;:14:::0;;;52420:11:::1;:15:::0;;;52446:11:::1;:15:::0;4941:68;;;;4992:5;4976:21;;-1:-1:-1;;4976:21:0;;;4941:68;52286:183;:::o;59833:223::-;59905:39;12053:4;59933:10;59905:7;:39::i;:::-;59897:62;;;;-1:-1:-1;;;59897:62:0;;;;;;;:::i;:::-;59970:11;:26;;;60012:36;;;;;:::i;12928:139::-;13006:4;13030:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;13030:29:0;;;;;;;;;;;;;;;12928:139::o;63925:79::-;-1:-1:-1;;;;;;;;;;;63925:79:0;:::o;59371:223::-;59443:39;12053:4;59471:10;59443:7;:39::i;:::-;59435:62;;;;-1:-1:-1;;;59435:62:0;;;;;;;:::i;:::-;59508:11;:26;;;59550:36;;;;;:::i;71888:1622::-;72131:8;-1:-1:-1;;;;;72117:22:0;:10;-1:-1:-1;;;;;72117:22:0;;;72109:55;;;;-1:-1:-1;;;72109:55:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;72181:31:0;;51045:42;72181:31;72177:233;;72331:21;;72229:169;;-1:-1:-1;;;;;72229:46:0;;;;72294:10;;72331:21;72372:11;72229:46;:169::i;:::-;72483:21;;72679:11;;72458:278;;-1:-1:-1;;;72458:278:0;;72420:22;;-1:-1:-1;;;;;72483:21:0;;72458:66;;72532:9;;72458:278;;72569:4;;72593:10;;72622:8;;72649:11;;72709:12;;72458:278;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;72420:316;;72787:24;72769:14;:42;;72747:119;;;;-1:-1:-1;;;72747:119:0;;;;;;;:::i;:::-;73392:14;73386:3;73371:13;73367:23;73360:47;73430:72;73448:8;73458:14;73474:13;73489:12;73430:17;:72::i;12008:49::-;12053:4;12008:49;:::o;64181:26::-;;;;:::o;59602:223::-;59674:39;12053:4;59702:10;59674:7;:39::i;:::-;59666:62;;;;-1:-1:-1;;;59666:62:0;;;;;;;:::i;:::-;59739:11;:26;;;59781:36;;;;;:::i;58083:150::-;58166:59;58191:10;58203:12;58217:7;58166:24;:59::i;52704:587::-;52836:39;12053:4;52864:10;52836:7;:39::i;:::-;52828:62;;;;-1:-1:-1;;;52828:62:0;;;;;;;:::i;:::-;52901:23;:45;;-1:-1:-1;;;;;;52901:45:0;-1:-1:-1;;;;;52901:45:0;;;;;53140:143;53195:13;52901:45;-1:-1:-1;;53140:22:0;:143::i;14842:149::-;14926:18;14939:4;14926:12;:18::i;:::-;12499:30;12510:4;12516:12;:10;:12::i;12499:30::-;14957:26:::1;14969:4;14975:7;14957:11;:26::i;52477:219::-:0;52561:39;12053:4;52589:10;52561:7;:39::i;:::-;52553:62;;;;-1:-1:-1;;;52553:62:0;;;;;;;:::i;:::-;52626:21;:62;;-1:-1:-1;;;;;;52626:62:0;-1:-1:-1;;;;;52626:62:0;;;;;;;;;;52477:219::o;53461:341::-;53678:116;53700:10;53712;53724:12;53738:6;53746:7;53755:24;53781:12;53678:21;:116::i;51491:26::-;;;;:::o;9676:168::-;-1:-1:-1;;;;;;9785:51:0;;-1:-1:-1;;;9785:51:0;9676:168;;;:::o;60540:1138::-;60814:8;-1:-1:-1;;;;;60800:22:0;:10;-1:-1:-1;;;;;60800:22:0;;;60792:55;;;;-1:-1:-1;;;60792:55:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;60984:31:0;;51045:42;60984:31;60980:235;;61136:21;;61032:171;;-1:-1:-1;;;;;61032:46:0;;;;61097:12;;61136:21;61177:11;61032:46;:171::i;:::-;61288:21;;61483:11;;61263:277;;-1:-1:-1;;;61263:277:0;;61225:22;;-1:-1:-1;;;;;61288:21:0;;61263:66;;61337:9;;61263:277;;61366:12;;61397:10;;61426:8;;61453:11;;61513:12;;61263:277;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;61225:315;;61591:24;61573:14;:42;;61551:119;;;;-1:-1:-1;;;61551:119:0;;;;;;;:::i;27896:259::-;28051:96;28071:5;28101:27;;;28130:4;28136:2;28140:5;28078:68;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;28078:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;28078:68:0;-1:-1:-1;;;;;;28078:68:0;;;;;;;;;;28051:19;:96::i;34480:98::-;34538:7;34565:5;34569:1;34565;:5;:::i;:::-;34558:12;34480:98;-1:-1:-1;;;34480:98:0:o;34879:::-;34937:7;34964:5;34968:1;34964;:5;:::i;34123:98::-;34181:7;34208:5;34212:1;34208;:5;:::i;27666:222::-;27794:86;27814:5;27844:23;;;27869:2;27873:5;27821:58;;;;;;;;;:::i;58241:897::-;58356:22;58394:12;58356:51;;58418:27;58466:9;-1:-1:-1;;;;;58466:22:0;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58418:73;;58502:20;58525:9;-1:-1:-1;;;;;58525:19:0;;58553:4;58525:34;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;58570:41;;-1:-1:-1;;;58570:41:0;;58502:57;;-1:-1:-1;;;;;;58570:18:0;;;;;:41;;58589:12;;58603:7;;58570:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58622:23;58661:52;58700:12;58661:9;-1:-1:-1;;;;;58661:19:0;;58689:4;58661:34;;;;;;;;;;;;;;;:::i;:52::-;58818:11;;58622:91;;-1:-1:-1;58818:15:0;58814:317;;58888:17;58908:42;58945:4;58908:32;58928:11;;58908:15;:19;;:32;;;;:::i;:42::-;58888:62;-1:-1:-1;58965:68:0;58988:12;59002:30;:15;58888:62;59002:19;:30::i;:::-;-1:-1:-1;;;;;58965:22:0;;;:68;:22;:68::i;:::-;58814:317;;;;59066:53;-1:-1:-1;;;;;59066:22:0;;59089:12;59103:15;59066:22;:53::i;22084:317::-;22199:6;22174:21;:31;;22166:73;;;;-1:-1:-1;;;22166:73:0;;;;;;;:::i;:::-;22253:12;22271:9;-1:-1:-1;;;;;22271:14:0;22293:6;22271:33;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22252:52;;;22323:7;22315:78;;;;-1:-1:-1;;;22315:78:0;;;;;;;:::i;5764:98::-;5844:10;5764:98;:::o;13357:519::-;13438:22;13446:4;13452:7;13438;:22::i;:::-;13433:436;;13626:52;13665:7;-1:-1:-1;;;;;13626:52:0;13675:2;13626:30;:52::i;:::-;13751:49;13790:4;13797:2;13751:30;:49::i;:::-;13531:292;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;13531:292:0;;;;;;;;;;-1:-1:-1;;;13477:380:0;;;;;;;:::i;16802:229::-;16877:22;16885:4;16891:7;16877;:22::i;:::-;16872:152;;16916:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;16916:29:0;;;;;;;;;:36;;-1:-1:-1;;16916:36:0;16948:4;16916:36;;;16999:12;:10;:12::i;:::-;-1:-1:-1;;;;;16972:40:0;16990:7;-1:-1:-1;;;;;16972:40:0;16984:4;16972:40;;;;;;;;;;16802:229;;:::o;17039:230::-;17114:22;17122:4;17128:7;17114;:22::i;:::-;17110:152;;;17185:5;17153:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;17153:29:0;;;;;;;;;:37;;-1:-1:-1;;17153:37:0;;;17237:12;:10;:12::i;:::-;-1:-1:-1;;;;;17210:40:0;17228:7;-1:-1:-1;;;;;17210:40:0;17222:4;17210:40;;;;;;;;;;17039:230;;:::o;54159:3916::-;54439:22;54477:12;54439:51;;54501:27;54549:9;-1:-1:-1;;;;;54549:22:0;;:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54501:73;;54613:6;-1:-1:-1;;;;;54591:28:0;54599:9;-1:-1:-1;;;;;54591:28:0;;54587:1436;;;54792:10;;54788:739;;55174:160;-1:-1:-1;;;;;55174:42:0;;55239:11;55273:12;55308:7;55174:42;:160::i;:::-;55432:54;;-1:-1:-1;;;55432:54:0;;-1:-1:-1;;;;;55432:31:0;;;;;:54;;55464:12;;55478:7;;55432:54;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55505:7;;;;54788:739;55543:79;-1:-1:-1;;;;;55543:42:0;;55586:11;55607:4;55614:7;55543:42;:79::i;:::-;55727:56;55750:9;55761:12;55775:7;55727:22;:56::i;:::-;55859:17;55879:33;55907:4;55879:23;55891:10;;55879:7;:11;;:23;;;;:::i;:33::-;55859:53;-1:-1:-1;;;;;;55927:25:0;;;55953:12;55967:22;:7;55859:53;55967:11;:22::i;:::-;55927:63;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56005:7;;;;;54587:1436;-1:-1:-1;;;;;56110:27:0;;51045:42;56110:27;56106:222;;56253:21;;56154:162;;-1:-1:-1;;;;;56154:42:0;;;;56215:11;;56253:21;56294:7;56154:42;:162::i;:::-;56344:10;;:14;56340:1728;;56521:21;;56739:11;;56496:308;;-1:-1:-1;;;56496:308:0;;56454:22;;-1:-1:-1;;;;;56521:21:0;;56496:66;;56570:9;;56496:308;;56611:4;;56639:6;;56676:9;;56709:7;;56773:12;;56496:308;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56454:350;;56863:24;56845:14;:42;;56819:131;;;;-1:-1:-1;;;56819:131:0;;;;;;;:::i;:::-;56965:17;56985:40;57020:4;56985:30;57004:10;;56985:14;:18;;:30;;;;:::i;:40::-;56965:60;-1:-1:-1;57057:29:0;:14;56965:60;57057:18;:29::i;:::-;57040:46;;57196:56;57219:9;57230:12;57244:7;57196:22;:56::i;:::-;57313:55;;-1:-1:-1;;;57313:55:0;;-1:-1:-1;;;;;57313:25:0;;;;;:55;;57339:12;;57353:14;;57313:55;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56340:1728;;;;;57552:21;;57769:11;;57527:307;;-1:-1:-1;;;57527:307:0;;57485:22;;-1:-1:-1;;;;;57552:21:0;;57527:66;;57601:9;;57527:307;;57634:12;;57669:6;;57706:9;;57739:7;;57803:12;;57527:307;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;57485:349;;57893:24;57875:14;:42;;57849:131;;;;-1:-1:-1;;;57849:131:0;;;;;;;:::i;:::-;57995:61;;-1:-1:-1;;;57995:61:0;;-1:-1:-1;;;;;57995:31:0;;;;;:61;;58027:12;;58041:14;;57995:61;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56340:1728;;54159:3916;;;;;;;;;:::o;70834:1046::-;70964:21;70996;71020:51;71026:13;71041:2;71068;71045:13;:20;:25;;;;:::i;:::-;71020:5;:51::i;:::-;71152:4;71129:32;;71123:39;;-1:-1:-1;70996:75:0;-1:-1:-1;71482:42:0;-1:-1:-1;;;;;71465:59:0;;;71457:86;;;;-1:-1:-1;;;71457:86:0;;;;;;;:::i;:::-;71556:123;71611:6;71633:13;71661:7;71556:22;:123::i;:::-;71693:12;71711:13;-1:-1:-1;;;;;71711:18:0;71730:8;71711:28;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71692:47;;;71758:7;71750:38;;;;-1:-1:-1;;;71750:38:0;;;;;;;:::i;:::-;71815:10;-1:-1:-1;;;;;71806:66:0;;71827:6;71835:7;71844:13;71859:12;71806:66;;;;;;;;;:::i;:::-;;;;;;;;70834:1046;;;;;;;:::o;16299:112::-;16378:25;16389:4;16395:7;16378:10;:25::i;48872:417::-;49001:41;;-1:-1:-1;;;49001:41:0;;48981:17;;-1:-1:-1;;;;;49001:16:0;;;;;:41;;49026:4;;49033:8;;49001:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48981:61;;49065:7;49053:9;:19;49049:235;;;-1:-1:-1;;49181:95:0;49237:8;49248:27;49106:66;49265:9;49248:16;:27::i;:::-;-1:-1:-1;;;;;49181:47:0;;;:95;:47;:95::i;30294:727::-;30729:23;30755:69;30783:4;30755:69;;;;;;;;;;;;;;;;;30763:5;-1:-1:-1;;;;;30755:27:0;;;:69;;;;;:::i;:::-;30839:17;;30729:95;;-1:-1:-1;30839:21:0;30835:179;;30936:10;30925:30;;;;;;;;;;;;:::i;:::-;30917:85;;;;-1:-1:-1;;;30917:85:0;;;;;;;:::i;7550:451::-;7625:13;7651:19;7683:10;7687:6;7683:1;:10;:::i;:::-;:14;;7696:1;7683:14;:::i;:::-;7673:25;;;;;;-1:-1:-1;;;7673:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7673:25:0;;7651:47;;-1:-1:-1;;;7709:6:0;7716:1;7709:9;;;;;;-1:-1:-1;;;7709:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;7709:15:0;;;;;;;;;-1:-1:-1;;;7735:6:0;7742:1;7735:9;;;;;;-1:-1:-1;;;7735:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;7735:15:0;;;;;;;;-1:-1:-1;7766:9:0;7778:10;7782:6;7778:1;:10;:::i;:::-;:14;;7791:1;7778:14;:::i;:::-;7766:26;;7761:135;7798:1;7794;:5;7761:135;;;-1:-1:-1;;;7846:5:0;7854:3;7846:11;7833:25;;;;;-1:-1:-1;;;7833:25:0;;;;;;;;;;;;7821:6;7828:1;7821:9;;;;;;-1:-1:-1;;;7821:9:0;;;;;;;;;;;;:37;-1:-1:-1;;;;;7821:37:0;;;;;;;;-1:-1:-1;7883:1:0;7873:11;;;;;7801:3;;;:::i;:::-;;;7761:135;;;-1:-1:-1;7914:10:0;;7906:55;;;;-1:-1:-1;;;7906:55:0;;;;;;;:::i;66937:3326::-;67063:12;67112:7;67096:12;67112:7;67106:2;67096:12;:::i;:::-;:23;;67088:50;;;;-1:-1:-1;;;67088:50:0;;;;;;;:::i;:::-;67177:6;67157:16;67166:7;67177:6;67157:16;:::i;:::-;:26;;67149:53;;;;-1:-1:-1;;;67149:53:0;;;;;;;:::i;:::-;67238:16;67247:7;67238:6;:16;:::i;:::-;67221:6;:13;:33;;67213:63;;;;-1:-1:-1;;;67213:63:0;;;;;;;:::i;:::-;67289:22;67355:15;;67388:2392;;;;69936:4;69930:11;69917:24;;70137:1;70126:9;70119:20;70191:4;70180:9;70176:20;70170:4;70163:34;67348:2868;;67388:2392;67585:4;67579:11;67566:24;;68290:2;68281:7;68277:16;68749:9;68742:17;68736:4;68732:28;68695:9;68684;68680:25;68650:133;68824:7;68820:2;68816:16;69253:6;69180:9;69173:17;69167:4;69163:28;69118:9;69110:6;69106:22;69068:154;69034:252;68856:652;69317:3;69313:2;69310:11;68856:652;;;69475:9;;69464:21;;69363:4;69355:13;;;;69400;68856:652;;;-1:-1:-1;;69532:26:0;;;69756:2;69739:11;-1:-1:-1;;69735:25:0;69729:4;69722:39;-1:-1:-1;67348:2868:0;-1:-1:-1;70246:9:0;66937:3326;-1:-1:-1;;;;66937:3326:0:o;29059:328::-;29201:20;29266:5;29224;-1:-1:-1;;;;;29224:15:0;;29248:4;29255:7;29224:39;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:47;;;;:::i;:::-;29201:70;;29282:97;29302:5;29332:22;;;29356:7;29365:12;29309:69;;;;;;;;;:::i;23568:229::-;23705:12;23737:52;23759:6;23767:4;23773:1;23776:12;23737:21;:52::i;:::-;23730:59;23568:229;-1:-1:-1;;;;23568:229:0:o;24688:510::-;24858:12;24916:5;24891:21;:30;;24883:81;;;;-1:-1:-1;;;24883:81:0;;;;;;;:::i;:::-;24983:18;24994:6;24983:10;:18::i;:::-;24975:60;;;;-1:-1:-1;;;24975:60:0;;;;;;;:::i;:::-;25049:12;25063:23;25090:6;-1:-1:-1;;;;;25090:11:0;25109:5;25116:4;25090:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25048:73;;;;25139:51;25156:7;25165:10;25177:12;25139:16;:51::i;:::-;25132:58;24688:510;-1:-1:-1;;;;;;;24688:510:0:o;20762:387::-;21085:20;21133:8;;;20762:387::o;26397:712::-;26547:12;26576:7;26572:530;;;-1:-1:-1;26607:10:0;26600:17;;26572:530;26721:17;;:21;26717:374;;26919:10;26913:17;26980:15;26967:10;26963:2;26959:19;26952:44;26867:148;27062:12;27055:20;;-1:-1:-1;;;27055:20:0;;;;;;;;:::i;14:712:1:-;;111:3;104:4;96:6;92:17;88:27;78:2;;133:5;126;119:20;78:2;173:6;160:20;199:18;236:2;232;229:10;226:2;;;242:18;;:::i;:::-;291:2;285:9;360:2;341:13;;-1:-1:-1;;337:27:1;325:40;;367:4;321:51;387:18;;;407:22;;;384:46;381:2;;;433:18;;:::i;:::-;469:2;462:22;493:18;;;530:15;;;547:4;526:26;523:35;-1:-1:-1;520:2:1;;;575:5;568;561:20;520:2;643;636:4;628:6;624:17;617:4;609:6;605:17;592:54;666:15;;;683:4;662:26;655:41;;;;670:6;68:658;-1:-1:-1;;;68:658:1:o;731:259::-;;843:2;831:9;822:7;818:23;814:32;811:2;;;864:6;856;849:22;811:2;908:9;895:23;927:33;954:5;927:33;:::i;995:263::-;;1118:2;1106:9;1097:7;1093:23;1089:32;1086:2;;;1139:6;1131;1124:22;1086:2;1176:9;1170:16;1195:33;1222:5;1195:33;:::i;1263:402::-;;;1392:2;1380:9;1371:7;1367:23;1363:32;1360:2;;;1413:6;1405;1398:22;1360:2;1457:9;1444:23;1476:33;1503:5;1476:33;:::i;:::-;1528:5;-1:-1:-1;1585:2:1;1570:18;;1557:32;1598:35;1557:32;1598:35;:::i;:::-;1652:7;1642:17;;;1350:315;;;;;:::o;1670:614::-;;;;;1833:3;1821:9;1812:7;1808:23;1804:33;1801:2;;;1855:6;1847;1840:22;1801:2;1899:9;1886:23;1918:33;1945:5;1918:33;:::i;:::-;1970:5;-1:-1:-1;2027:2:1;2012:18;;1999:32;2040:35;1999:32;2040:35;:::i;:::-;2094:7;-1:-1:-1;2153:2:1;2138:18;;2125:32;2166:35;2125:32;2166:35;:::i;:::-;1791:493;;;;-1:-1:-1;2220:7:1;;2274:2;2259:18;2246:32;;-1:-1:-1;;1791:493:1:o;2289:683::-;;;;;;2469:3;2457:9;2448:7;2444:23;2440:33;2437:2;;;2491:6;2483;2476:22;2437:2;2535:9;2522:23;2554:33;2581:5;2554:33;:::i;:::-;2606:5;-1:-1:-1;2663:2:1;2648:18;;2635:32;2676:35;2635:32;2676:35;:::i;:::-;2730:7;-1:-1:-1;2789:2:1;2774:18;;2761:32;2802:35;2761:32;2802:35;:::i;:::-;2427:545;;;;-1:-1:-1;2856:7:1;;2910:2;2895:18;;2882:32;;-1:-1:-1;2961:3:1;2946:19;2933:33;;2427:545;-1:-1:-1;;2427:545:1:o;2977:973::-;;;;;;;;3200:3;3188:9;3179:7;3175:23;3171:33;3168:2;;;3222:6;3214;3207:22;3168:2;3266:9;3253:23;3285:33;3312:5;3285:33;:::i;:::-;3337:5;-1:-1:-1;3394:2:1;3379:18;;3366:32;3407:35;3366:32;3407:35;:::i;:::-;3461:7;-1:-1:-1;3520:2:1;3505:18;;3492:32;3533:35;3492:32;3533:35;:::i;:::-;3587:7;-1:-1:-1;3641:2:1;3626:18;;3613:32;;-1:-1:-1;3692:3:1;3677:19;;3664:33;;-1:-1:-1;3748:3:1;3733:19;;3720:33;3776:18;3765:30;;3762:2;;;3813:6;3805;3798:22;3762:2;3841:51;3884:7;3875:6;3864:9;3860:22;3841:51;:::i;:::-;3831:61;;;3939:3;3928:9;3924:19;3911:33;3901:43;;3158:792;;;;;;;;;;:::o;3955:470::-;;;;4101:2;4089:9;4080:7;4076:23;4072:32;4069:2;;;4122:6;4114;4107:22;4069:2;4166:9;4153:23;4185:33;4212:5;4185:33;:::i;:::-;4237:5;-1:-1:-1;4294:2:1;4279:18;;4266:32;4307:35;4266:32;4307:35;:::i;:::-;4059:366;;4361:7;;-1:-1:-1;;;4415:2:1;4400:18;;;;4387:32;;4059:366::o;4430:691::-;;;;;4602:3;4590:9;4581:7;4577:23;4573:33;4570:2;;;4624:6;4616;4609:22;4570:2;4668:9;4655:23;4687:33;4714:5;4687:33;:::i;:::-;4739:5;-1:-1:-1;4796:2:1;4781:18;;4768:32;4809:35;4768:32;4809:35;:::i;:::-;4863:7;-1:-1:-1;4917:2:1;4902:18;;4889:32;;-1:-1:-1;4972:2:1;4957:18;;4944:32;4999:18;4988:30;;4985:2;;;5036:6;5028;5021:22;4985:2;5064:51;5107:7;5098:6;5087:9;5083:22;5064:51;:::i;:::-;5054:61;;;4560:561;;;;;;;:::o;5126:539::-;;;;;5289:3;5277:9;5268:7;5264:23;5260:33;5257:2;;;5311:6;5303;5296:22;5257:2;5355:9;5342:23;5374:33;5401:5;5374:33;:::i;:::-;5426:5;-1:-1:-1;5483:2:1;5468:18;;5455:32;5496:35;5455:32;5496:35;:::i;:::-;5247:418;;5550:7;;-1:-1:-1;;;;5604:2:1;5589:18;;5576:32;;5655:2;5640:18;5627:32;;5247:418::o;5670:760::-;;;;;;5859:3;5847:9;5838:7;5834:23;5830:33;5827:2;;;5881:6;5873;5866:22;5827:2;5925:9;5912:23;5944:33;5971:5;5944:33;:::i;:::-;5996:5;-1:-1:-1;6053:2:1;6038:18;;6025:32;6066:35;6025:32;6066:35;:::i;:::-;6120:7;-1:-1:-1;6174:2:1;6159:18;;6146:32;;-1:-1:-1;6225:2:1;6210:18;;6197:32;;-1:-1:-1;6280:3:1;6265:19;;6252:33;6308:18;6297:30;;6294:2;;;6345:6;6337;6330:22;6294:2;6373:51;6416:7;6407:6;6396:9;6392:22;6373:51;:::i;:::-;6363:61;;;5817:613;;;;;;;;:::o;6435:1136::-;;;;;;;;6667:3;6655:9;6646:7;6642:23;6638:33;6635:2;;;6689:6;6681;6674:22;6635:2;6733:9;6720:23;6752:33;6779:5;6752:33;:::i;:::-;6804:5;-1:-1:-1;6861:2:1;6846:18;;6833:32;6874:35;6833:32;6874:35;:::i;:::-;6928:7;-1:-1:-1;6982:2:1;6967:18;;6954:32;;-1:-1:-1;7033:2:1;7018:18;;7005:32;;-1:-1:-1;7088:3:1;7073:19;;7060:33;7112:18;7142:14;;;7139:2;;;7174:6;7166;7159:22;7139:2;7202:51;7245:7;7236:6;7225:9;7221:22;7202:51;:::i;:::-;7192:61;;7306:3;7295:9;7291:19;7278:33;7262:49;;7336:2;7326:8;7323:16;7320:2;;;7357:6;7349;7342:22;7320:2;;7385:53;7430:7;7419:8;7408:9;7404:24;7385:53;:::i;:::-;7375:63;;;7490:3;7479:9;7475:19;7462:33;7504:35;7531:7;7504:35;:::i;:::-;7558:7;7548:17;;;6625:946;;;;;;;;;;:::o;7576:327::-;;;7705:2;7693:9;7684:7;7680:23;7676:32;7673:2;;;7726:6;7718;7711:22;7673:2;7770:9;7757:23;7789:33;7816:5;7789:33;:::i;:::-;7841:5;7893:2;7878:18;;;;7865:32;;-1:-1:-1;;;7663:240:1:o;7908:691::-;;;;;8080:3;8068:9;8059:7;8055:23;8051:33;8048:2;;;8102:6;8094;8087:22;8048:2;8146:9;8133:23;8165:33;8192:5;8165:33;:::i;:::-;8217:5;-1:-1:-1;8269:2:1;8254:18;;8241:32;;-1:-1:-1;8324:2:1;8309:18;;8296:32;8351:18;8340:30;;8337:2;;;8388:6;8380;8373:22;8337:2;8416:51;8459:7;8450:6;8439:9;8435:22;8416:51;:::i;:::-;8406:61;;;8519:2;8508:9;8504:18;8491:32;8532:35;8559:7;8532:35;:::i;:::-;8038:561;;;;-1:-1:-1;8038:561:1;;-1:-1:-1;;8038:561:1:o;8604:297::-;;8724:2;8712:9;8703:7;8699:23;8695:32;8692:2;;;8745:6;8737;8730:22;8692:2;8782:9;8776:16;8835:5;8828:13;8821:21;8814:5;8811:32;8801:2;;8862:6;8854;8847:22;8906:190;;9018:2;9006:9;8997:7;8993:23;8989:32;8986:2;;;9039:6;9031;9024:22;8986:2;-1:-1:-1;9067:23:1;;8976:120;-1:-1:-1;8976:120:1:o;9101:327::-;;;9230:2;9218:9;9209:7;9205:23;9201:32;9198:2;;;9251:6;9243;9236:22;9198:2;9292:9;9279:23;9269:33;;9352:2;9341:9;9337:18;9324:32;9365:33;9392:5;9365:33;:::i;9433:306::-;;9544:2;9532:9;9523:7;9519:23;9515:32;9512:2;;;9565:6;9557;9550:22;9512:2;9596:23;;-1:-1:-1;;;;;;9648:32:1;;9638:43;;9628:2;;9700:6;9692;9685:22;9939:194;;10062:2;10050:9;10041:7;10037:23;10033:32;10030:2;;;10083:6;10075;10068:22;10030:2;-1:-1:-1;10111:16:1;;10020:113;-1:-1:-1;10020:113:1:o;10138:259::-;;10219:5;10213:12;10246:6;10241:3;10234:19;10262:63;10318:6;10311:4;10306:3;10302:14;10295:4;10288:5;10284:16;10262:63;:::i;:::-;10379:2;10358:15;-1:-1:-1;;10354:29:1;10345:39;;;;10386:4;10341:50;;10189:208;-1:-1:-1;;10189:208:1:o;10402:274::-;;10569:6;10563:13;10585:53;10631:6;10626:3;10619:4;10611:6;10607:17;10585:53;:::i;:::-;10654:16;;;;;10539:137;-1:-1:-1;;10539:137:1:o;10681:258::-;-1:-1:-1;;;10883:23:1;;10931:1;10922:11;;10873:66::o;10944:257::-;-1:-1:-1;;;11146:22:1;;11193:1;11184:11;;11136:65::o;11206:258::-;-1:-1:-1;;;11408:23:1;;11456:1;11447:11;;11398:66::o;11469:258::-;-1:-1:-1;;;11671:23:1;;11719:1;11710:11;;11661:66::o;11732:205::-;11932:3;11923:14::o;11942:786::-;;12353:25;12348:3;12341:38;12408:6;12402:13;12424:62;12479:6;12474:2;12469:3;12465:12;12458:4;12450:6;12446:17;12424:62;:::i;:::-;-1:-1:-1;;;12545:2:1;12505:16;;;12537:11;;;12530:40;12595:13;;12617:63;12595:13;12666:2;12658:11;;12651:4;12639:17;;12617:63;:::i;:::-;12700:17;12719:2;12696:26;;12331:397;-1:-1:-1;;;;12331:397:1:o;12733:203::-;-1:-1:-1;;;;;12897:32:1;;;;12879:51;;12867:2;12852:18;;12834:102::o;12941:304::-;-1:-1:-1;;;;;13171:15:1;;;13153:34;;13223:15;;13218:2;13203:18;;13196:43;13103:2;13088:18;;13070:175::o;13250:643::-;-1:-1:-1;;;;;13575:15:1;;;13557:34;;13627:15;;;13622:2;13607:18;;13600:43;13679:15;;13674:2;13659:18;;13652:43;13726:2;13711:18;;13704:34;;;13769:3;13754:19;;13747:35;;;13819:3;13537;13798:19;;13791:32;;;13250:643;;13840:47;;13867:19;;13859:6;13840:47;:::i;:::-;13832:55;13509:384;-1:-1:-1;;;;;;;;13509:384:1:o;13898:375::-;-1:-1:-1;;;;;14156:15:1;;;14138:34;;14208:15;;;;14203:2;14188:18;;14181:43;14255:2;14240:18;;14233:34;;;;14088:2;14073:18;;14055:218::o;14278:274::-;-1:-1:-1;;;;;14470:32:1;;;;14452:51;;14534:2;14519:18;;14512:34;14440:2;14425:18;;14407:145::o;14557:456::-;-1:-1:-1;;;;;14844:15:1;;;14826:34;;14891:2;14876:18;;14869:34;;;;14939:15;;;14934:2;14919:18;;14912:43;14991:15;;;14986:2;14971:18;;14964:43;14775:3;14760:19;;14742:271::o;15018:187::-;15183:14;;15176:22;15158:41;;15146:2;15131:18;;15113:92::o;15210:177::-;15356:25;;;15344:2;15329:18;;15311:76::o;15392:221::-;;15541:2;15530:9;15523:21;15561:46;15603:2;15592:9;15588:18;15580:6;15561:46;:::i;15618:356::-;15820:2;15802:21;;;15839:18;;;15832:30;15898:34;15893:2;15878:18;;15871:62;15965:2;15950:18;;15792:182::o;15979:338::-;16181:2;16163:21;;;16220:2;16200:18;;;16193:30;-1:-1:-1;;;16254:2:1;16239:18;;16232:44;16308:2;16293:18;;16153:164::o;16322:351::-;16524:2;16506:21;;;16563:2;16543:18;;;16536:30;16602:29;16597:2;16582:18;;16575:57;16664:2;16649:18;;16496:177::o;16678:334::-;16880:2;16862:21;;;16919:2;16899:18;;;16892:30;-1:-1:-1;;;16953:2:1;16938:18;;16931:40;17003:2;16988:18;;16852:160::o;17017:422::-;17219:2;17201:21;;;17258:2;17238:18;;;17231:30;17297:34;17292:2;17277:18;;17270:62;17368:28;17363:2;17348:18;;17341:56;17429:3;17414:19;;17191:248::o;17444:353::-;17646:2;17628:21;;;17685:2;17665:18;;;17658:30;17724:31;17719:2;17704:18;;17697:59;17788:2;17773:18;;17618:179::o;17802:402::-;18004:2;17986:21;;;18043:2;18023:18;;;18016:30;18082:34;18077:2;18062:18;;18055:62;-1:-1:-1;;;18148:2:1;18133:18;;18126:36;18194:3;18179:19;;17976:228::o;18209:338::-;18411:2;18393:21;;;18450:2;18430:18;;;18423:30;-1:-1:-1;;;18484:2:1;18469:18;;18462:44;18538:2;18523:18;;18383:164::o;18552:345::-;18754:2;18736:21;;;18793:2;18773:18;;;18766:30;-1:-1:-1;;;18827:2:1;18812:18;;18805:51;18888:2;18873:18;;18726:171::o;18902:346::-;19104:2;19086:21;;;19143:2;19123:18;;;19116:30;-1:-1:-1;;;19177:2:1;19162:18;;19155:52;19239:2;19224:18;;19076:172::o;19253:410::-;19455:2;19437:21;;;19494:2;19474:18;;;19467:30;19533:34;19528:2;19513:18;;19506:62;-1:-1:-1;;;19599:2:1;19584:18;;19577:44;19653:3;19638:19;;19427:236::o;19668:344::-;19870:2;19852:21;;;19909:2;19889:18;;;19882:30;-1:-1:-1;;;19943:2:1;19928:18;;19921:50;20003:2;19988:18;;19842:170::o;20017:342::-;20219:2;20201:21;;;20258:2;20238:18;;;20231:30;-1:-1:-1;;;20292:2:1;20277:18;;20270:48;20350:2;20335:18;;20191:168::o;20364:353::-;20566:2;20548:21;;;20605:2;20585:18;;;20578:30;20644:31;20639:2;20624:18;;20617:59;20708:2;20693:18;;20538:179::o;20722:341::-;20924:2;20906:21;;;20963:2;20943:18;;;20936:30;-1:-1:-1;;;20997:2:1;20982:18;;20975:47;21054:2;21039:18;;20896:167::o;21068:406::-;21270:2;21252:21;;;21309:2;21289:18;;;21282:30;21348:34;21343:2;21328:18;;21321:62;-1:-1:-1;;;21414:2:1;21399:18;;21392:40;21464:3;21449:19;;21242:232::o;21479:411::-;21681:2;21663:21;;;21720:2;21700:18;;;21693:30;21759:34;21754:2;21739:18;;21732:62;-1:-1:-1;;;21825:2:1;21810:18;;21803:45;21880:3;21865:19;;21653:237::o;22077:128::-;;22148:1;22144:6;22141:1;22138:13;22135:2;;;22154:18;;:::i;:::-;-1:-1:-1;22190:9:1;;22125:80::o;22210:217::-;;22276:1;22266:2;;-1:-1:-1;;;22301:31:1;;22355:4;22352:1;22345:15;22383:4;22308:1;22373:15;22266:2;-1:-1:-1;22412:9:1;;22256:171::o;22432:168::-;;22538:1;22534;22530:6;22526:14;22523:1;22520:21;22515:1;22508:9;22501:17;22497:45;22494:2;;;22545:18;;:::i;:::-;-1:-1:-1;22585:9:1;;22484:116::o;22605:125::-;;22673:1;22670;22667:8;22664:2;;;22678:18;;:::i;:::-;-1:-1:-1;22715:9:1;;22654:76::o;22735:258::-;22807:1;22817:113;22831:6;22828:1;22825:13;22817:113;;;22907:11;;;22901:18;22888:11;;;22881:39;22853:2;22846:10;22817:113;;;22948:6;22945:1;22942:13;22939:2;;;-1:-1:-1;;22983:1:1;22965:16;;22958:27;22788:205::o;22998:136::-;;23065:5;23055:2;;23074:18;;:::i;:::-;-1:-1:-1;;;23110:18:1;;23045:89::o;23139:127::-;23200:10;23195:3;23191:20;23188:1;23181:31;23231:4;23228:1;23221:15;23255:4;23252:1;23245:15;23271:127;23332:10;23327:3;23323:20;23320:1;23313:31;23363:4;23360:1;23353:15;23387:4;23384:1;23377:15;23403:133;-1:-1:-1;;;;;23480:31:1;;23470:42;;23460:2;;23526:1;23523;23516:12

Metadata Hash

5d14f2e678d47df7482f70f974629ad75d61224a2223723edf8da3fec8017877
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.