FTM Price: $0.65 (-5.92%)
Gas: 13 GWei

Contract

0x1fac57c7FCDe23376C197e3bA7fa34D2200459fA
 

Sponsored

Transaction Hash
Method
Block
From
To
Value
Withdraw766583262024-03-03 14:21:4645 days ago1709475706IN
0x1fac57c7...2200459fA
0 FTM0.0730954807.26481211
Withdraw724258792023-12-12 9:00:16127 days ago1702371616IN
0x1fac57c7...2200459fA
0 FTM0.06889685852.90551666
Transfer From715384402023-11-26 16:29:52143 days ago1701016192IN
0x1fac57c7...2200459fA
0 FTM0.175380791,606.87531887
Withdraw641519562023-06-15 11:11:08307 days ago1686827468IN
0x1fac57c7...2200459fA
0 FTM0.06902807854.53001149
Withdraw641519282023-06-15 11:10:41307 days ago1686827441IN
0x1fac57c7...2200459fA
0 FTM0.07083882854.53001149
Withdraw641519042023-06-15 11:10:16307 days ago1686827416IN
0x1fac57c7...2200459fA
0 FTM0.07481922854.53001149
Withdraw641518472023-06-15 11:09:00307 days ago1686827340IN
0x1fac57c7...2200459fA
0 FTM0.07295546853.91946366
Transfer From640753182023-06-14 2:59:42308 days ago1686711582IN
0x1fac57c7...2200459fA
0 FTM0.0038730252.8856073
Transfer From640752652023-06-14 2:58:19308 days ago1686711499IN
0x1fac57c7...2200459fA
0 FTM0.0045406653.11779005
Transfer From640750912023-06-14 2:53:54308 days ago1686711234IN
0x1fac57c7...2200459fA
0 FTM0.0049384954.08792055
Transfer From640750802023-06-14 2:53:28308 days ago1686711208IN
0x1fac57c7...2200459fA
0 FTM0.0067725554.36924444
Withdraw604690712023-04-21 14:51:12362 days ago1682088672IN
0x1fac57c7...2200459fA
0 FTM0.09096598956.00711085
Withdraw600813012023-04-16 18:26:57367 days ago1681669617IN
0x1fac57c7...2200459fA
0 FTM0.07236355895.72161381
Withdraw600812712023-04-16 18:26:26367 days ago1681669586IN
0x1fac57c7...2200459fA
0 FTM0.07654478895.72161381
Withdraw600812482023-04-16 18:25:55367 days ago1681669555IN
0x1fac57c7...2200459fA
0 FTM0.07652687895.72161381
Withdraw600812182023-04-16 18:25:27367 days ago1681669527IN
0x1fac57c7...2200459fA
0 FTM0.07652687895.72161381
Safe Transfer Fr...600811382023-04-16 18:23:55367 days ago1681669435IN
0x1fac57c7...2200459fA
0 FTM0.06832892896.56391408
Safe Transfer Fr...600811032023-04-16 18:23:21367 days ago1681669401IN
0x1fac57c7...2200459fA
0 FTM0.08215663896.56391408
Safe Transfer Fr...600810772023-04-16 18:22:48367 days ago1681669368IN
0x1fac57c7...2200459fA
0 FTM0.08215663896.56391408
Safe Transfer Fr...600810282023-04-16 18:22:03367 days ago1681669323IN
0x1fac57c7...2200459fA
0 FTM0.11435224896.56391408
Withdraw538838462023-01-16 17:03:13457 days ago1673888593IN
0x1fac57c7...2200459fA
0 FTM0.0701344868.22572771
Withdraw520253822022-12-08 9:17:02496 days ago1670491022IN
0x1fac57c7...2200459fA
0 FTM0.06489385803.26112595
Withdraw520253452022-12-08 9:14:28496 days ago1670490868IN
0x1fac57c7...2200459fA
0 FTM0.0665807803.26112595
Withdraw511349392022-11-19 15:31:59515 days ago1668871919IN
0x1fac57c7...2200459fA
0 FTM0.06779189839.3410347
Withdraw511349202022-11-19 15:31:30515 days ago1668871890IN
0x1fac57c7...2200459fA
0 FTM0.07171917839.3410347
View all transactions

Latest 1 internal transaction

Parent Txn Hash Block From To Value
276655242022-01-11 16:59:04827 days ago1641920344  Contract Creation0 FTM
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakePoolSimpleCombinedNew

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at ftmscan.com on 2022-01-11
*/

pragma solidity 0.8.4;


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

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

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

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

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

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

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

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


/**
 * @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;
        // solhint-disable-next-line no-inline-assembly
        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");

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

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-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 SafeERC20 {
    using Address for address;

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

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

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

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

    function safeDecreaseAllowance(IERC20 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(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

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


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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[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 IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}


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


/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @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 AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping (address => bool) members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @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 {_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 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]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _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(IAccessControl).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]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if(!hasRole(role, account)) {
            revert(string(abi.encodePacked(
                "AccessControl: account ",
                Strings.toHexString(uint160(account), 20),
                " is missing role ",
                Strings.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 {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = 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());
        }
    }
}


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

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

    uint256 private _status;

    constructor () {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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


/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 tokenId) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
      * @dev Safely transfers `tokenId` token from `from` to `to`.
      *
      * Requirements:
      *
      * - `from` cannot be the zero address.
      * - `to` cannot be the zero address.
      * - `tokenId` token must exist and be owned by `from`.
      * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
      * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
      *
      * Emits a {Transfer} event.
      */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes calldata data) external;
}


/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(address operator, address from, uint256 tokenId, bytes calldata data) external returns (bytes4);
}


/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}


/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping (uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping (address => uint256) private _balances;

    // Mapping from token ID to approved address
    mapping (uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping (address => mapping (address => bool)) private _operatorApprovals;

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0
            ? string(abi.encodePacked(baseURI, tokenId.toString()))
            : '';
    }

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(_msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    /**
     * @dev See {IERC721-isApprovedForAll}.
     */
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(address from, address to, uint256 tokenId, bytes memory _data) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(address to, uint256 tokenId, bytes memory _data) internal virtual {
        _mint(to, tokenId);
        require(_checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}


/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping (uint256 => string) private _tokenURIs;

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token");

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual override {
        super._burn(tokenId);

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}


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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

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

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


/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }
}


// 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 SafeMath {
    /**
     * @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. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * 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;
        }
    }
}


interface IStakeTokenNew is IERC721 {
    function getStakeTokenIds(
        address account
    )
        external
        returns (uint256[] memory);

    function isHolder(
        address account
    )
        external
        returns (bool);

    function getStakeInfo(
        uint256 stakeId
    )
        external
        returns (uint256, uint256, uint256, uint256);

    function getEligibleStakeAmount(
        uint256 fromDate
    )
        external
        returns (uint256);

    function stakes(uint256 id) external view returns (uint256 amount, uint256 multiplier, uint256 depositedAt, uint256 timestamplock);

    function stakerIds(address account, uint256 id) external view returns (uint256);
}


contract StakeTokenNew is IStakeTokenNew, ERC721, ERC721URIStorage, Ownable {
    using SafeMath for uint256;
    // Last stake token id, start from 1
    uint256 public tokenIds;
    uint256 public constant multiplierDenominator = 100;


    // Base NFT URI
    string public baseURI;

    struct Stake {
        uint256 amount;
        uint256 multiplier;
        uint256 depositedAt;
        uint256 timestamplock;
    }
    // stake id => stake info
    mapping(uint256 => Stake) public override stakes;
    // staker wallet => stake id array
    mapping(address => uint256[]) public override stakerIds;

    event StakeAmountDecreased(uint256 stakeId, uint256 decreaseAmount);

    constructor(
        string memory name_,
        string memory symbol_,
        string memory baseURI_
    )
        ERC721(name_, symbol_) {
        baseURI = baseURI_;

    }



     /**********************|
    |          URI         |
    |_____________________*/

    /**
     * @dev Return token URI
     * Override {ERC721URIStorage:tokenURI}
     */
    function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) {
        return ERC721URIStorage.tokenURI(tokenId);
    }

    /**
     * @dev Set token URI
     * Only `operator` can call
     *
     * - `tokenId` must exist, see {ERC721URIStorage:_setTokenURI}
     */
    function setTokenURI(
        uint256 tokenId,
        string memory _tokenURI
    ) public onlyOwner {
        super._setTokenURI(tokenId, _tokenURI);
    }

    /**
     * @dev Set `baseURI`
     * Only `operator` can call
     */
    function setBaseURI(string memory baseURI_) public onlyOwner {
        baseURI = baseURI_;
    }

    /**
     * @dev Return base URI
     * Override {ERC721:_baseURI}
     */
    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }

    /**
     * @dev Get stake token id array owned by wallet address.
     * @param account address
     */
    function getStakeTokenIds(
        address account
    )
        public
        override
        view
        returns (uint256[] memory)
    {
        return stakerIds[account];
    }

    /**
     * @dev Return total stake amount of `account`
     */
    function getStakeAmount(
        address account
    )
        external
        view
        returns (uint256)
    {
        uint256[] memory stakeIds = stakerIds[account];
        uint256 totalStakeAmount;
        for (uint256 i = 0; i < stakeIds.length; i++) {
            totalStakeAmount += stakes[stakeIds[i]].amount;
        }
        return totalStakeAmount;
    }

    /**
     * @dev Remove the given token from stakerIds.
     *
     * @param from address from
     * @param tokenId tokenId to remove
     */
    function _popStake(
        address from,
        uint256 tokenId
    ) internal {
        uint256[] storage stakeIds = stakerIds[from];
        for (uint256 i = 0; i < stakeIds.length; i++) {
            if (stakeIds[i] == tokenId) {
                if (i != stakeIds.length - 1) {
                    stakeIds[i] = stakeIds[stakeIds.length - 1];
                }
                stakeIds.pop();
                break;
            }
        }
    }

    /**
     * @dev Check if wallet address owns any stake tokens.
     * @param account address
     */
    function isHolder(
        address account
    )
        public
        override
        view
        returns (bool)
    {
        return balanceOf(account) > 0;
    }

    /**
     * @dev Return stake info from `stakeId`.
     * Requirements:
     *
     * - `stakeId` must exist in stake pool
     * @param stakeId uint256
     */
    function getStakeInfo(
        uint256 stakeId
    )
        public
        override
        view
        returns (uint256, uint256, uint256, uint256)
    {
        require(_exists(stakeId), "StakeToken#getStakeInfo: STAKE_NOT_FOUND");
        return (stakes[stakeId].amount, stakes[stakeId].multiplier, stakes[stakeId].depositedAt, stakes[stakeId].timestamplock);
    }

    /**
     * @dev Return total stake amount that have been in the pool from `fromDate`
     * Requirements:
     *
     * - `fromDate` must be past date
     */
    function getEligibleStakeAmount(
        uint256 fromDate
    )
        public
        override
        view
        returns (uint256)
    {
        require(fromDate <= block.timestamp, "StakeToken#getEligibleStakeAmount: NO_PAST_DATE");
        uint256 totalSAmount;

        for (uint256 i = 1; i <= tokenIds; i++) {
            if (_exists(i)) {
                Stake memory stake = stakes[i];
                if (stake.depositedAt > fromDate) {
                    break;
                }
                totalSAmount += stake.amount * stake.multiplier / multiplierDenominator;
            }
        }

        return totalSAmount;
    }

    /**
     * @dev Returns StakeToken multiplier.
     *
     * 0 < `tokenId` <300: 120.
     * 300 <= `tokenId` <4000: 110.
     * 4000 <= `tokenId`: 100.
     */
    function _getMultiplier()
        private
        view
        returns (uint256)
    {
        if (tokenIds < 300) {
            return 120;
        } else if (300 <= tokenIds && tokenIds < 4000) {
            return 110;
        } else {
            return 100;
        }
    }

    /**
     * @dev Mint a new StakeToken.
     * Requirements:
     *
     * - `account` must not be zero address, check ERC721 {_mint}
     * - `amount` must not be zero
     * @param account address of recipient.
     * @param amount mint amount.
     * @param depositedAt timestamp when stake was deposited.
     */
    function _mint(
        address account,
        uint256 amount,
        uint256 depositedAt,
        uint256 timestamplock
    )
        internal
        virtual
        returns (uint256)
    {
        require(amount > 0, "StakeToken#_mint: INVALID_AMOUNT");
        tokenIds++;
        uint256 multiplier = _getMultiplier();
        super._mint(account, tokenIds);
        Stake storage newStake = stakes[tokenIds];
        newStake.amount = amount;
        newStake.multiplier = multiplier;
        newStake.depositedAt = depositedAt;
        newStake.timestamplock = timestamplock;
        stakerIds[account].push(tokenIds);

        return tokenIds;
    }

    /**
     * @dev Burn stakeToken.
     * Requirements:
     *
     * - `stakeId` must exist in stake pool
     * @param stakeId id of buring token.
     */
    function _burn(
        uint256 stakeId
    )
        internal
        override(ERC721, ERC721URIStorage)
    {
        require(_exists(stakeId), "StakeToken#_burn: STAKE_NOT_FOUND");
        address stakeOwner = ownerOf(stakeId);
        super._burn(stakeId);
        delete stakes[stakeId];
        _popStake(stakeOwner, stakeId);
    }

    /**
     * @dev Decrease stake amount.
     * If stake amount leads to be zero, the stake is burned.
     * Requirements:
     *
     * - `stakeId` must exist in stake pool
     * @param stakeId id of buring token.
     * @param amount to withdraw.
     */
    function _decreaseStakeAmount(
        uint256 stakeId,
        uint256 amount
    )
        internal
        virtual
    {
        require(_exists(stakeId), "StakeToken#_decreaseStakeAmount: STAKE_NOT_FOUND");
        require(amount <= stakes[stakeId].amount, "StakeToken#_decreaseStakeAmount: INSUFFICIENT_STAKE_AMOUNT");
        if (amount == stakes[stakeId].amount) {
            _burn(stakeId);
        } else {
            stakes[stakeId].amount = stakes[stakeId].amount.sub(amount);
            emit StakeAmountDecreased(stakeId, amount);
        }
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * @param from address from
     * @param to address to
     * @param tokenId tokenId to transfer
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal override {

        super._transfer(from, to, tokenId);
        _popStake(from, tokenId);
        stakerIds[to].push(tokenId);
    }
}


interface IStakePoolNew is IStakeTokenNew {
    function addOperator(
        address account
    )
        external;

    function removeOperator(
        address account
    )
        external;

    function checkOperator(
        address account
    )
        external
        returns (bool);

    function deposit(
        uint256 amount,
        uint256 timestamplock
    )
        external;

    function withdraw(
        uint256 stakeId,
        uint256 amount
    )
        external;


    function depositReward(
        uint256 amount
    )
        external;


}


contract StakePoolSimpleCombinedNew is IStakePoolNew, StakeTokenNew, AccessControl, ReentrancyGuard {
    using SafeERC20 for IERC20;

    bytes32 public constant OPERATOR_ROLE = keccak256("OPERATOR_ROLE");
    uint256 public constant MONTH = 31 days;
    uint256 public constant QUARTER = 93 days;
    uint256 public constant YEAR = 365 days;
    // Reward distribution ratio - monthly, quarterly, yearly
    uint256 public constant mDistributionRatio = 25;
    uint256 public constant qDistributionRatio = 50;
    uint256 public constant yDistributionRatio = 25;
    // Minimum stake amount
    uint256 public constant minStakeAmount = 500 * 1e18;

    uint256 public constant sClaimShareDenominator = 1e18;

    // Address of deposit token.
    IERC20 public depositToken;
    // Address of reward token.
    IERC20 public rewardToken;
    // Timestamp when stake pool was deployed to mainnet.
    uint256 public deployedAt;

    struct ClaimableRewardDeposit {
        address operator;
        uint256 amount;
        uint256 tokenId;
        uint256 depositedAt;
    }

    struct RewardDeposit {
        address operator;
        uint256 amount;
        uint256 depositedAt;
    }


    // Reward deposit history
    ClaimableRewardDeposit[] public claimableRewardDeposits;

    // Reward deposit history
    RewardDeposit[] public rewardDeposits;


    // tokenId => available reward amount that tokenId can claim.
    mapping(uint256 => uint256) public claimableRewards;

    event Deposited(address indexed account, uint256 indexed stakeId, uint256 amount, uint256 timestamplock);
    event Withdrawn(address indexed account, uint256 indexed stakeId, uint256 amount);
    event ClaimableRewardDeposited(address indexed account, uint256 amount);
    event RewardDeposited(address indexed account, uint256 amount);
    event RewardClaimed(address indexed account, uint256 amount);
    event Swept(address indexed operator, address token, address indexed to, uint256 amount);


    constructor(
        string memory stakeTokenName_,
        string memory stakeTokenSymbol_,
        string memory stakeTokenBASEUri_,
        IERC20 depositToken_,
        IERC20 rewardToken_
    )
        StakeTokenNew(stakeTokenName_, stakeTokenSymbol_, stakeTokenBASEUri_)
    {
        depositToken = depositToken_;
        rewardToken = rewardToken_;
        deployedAt = block.timestamp;

        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(OPERATOR_ROLE, msg.sender);
    }

    /**
     * @dev Override supportInterface.
     */
    function supportsInterface(
        bytes4 interfaceId
    )
        public
        view
        virtual
        override(IERC165, AccessControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

    /***********************|
    |          Role         |
    |______________________*/

    /**
     * @dev Restricted to members of the admin role.
     */
    modifier onlyAdmin() {
        require(hasRole(DEFAULT_ADMIN_ROLE, msg.sender), "StakePool#onlyAdmin: CALLER_NO_ADMIN_ROLE");
        _;
    }

    /**
     * @dev Restricted to members of the operator role.
     */
    modifier onlyOperator() {
        require(hasRole(OPERATOR_ROLE, msg.sender), "StakePool#onlyOperator: CALLER_NO_OPERATOR_ROLE");
        _;
    }

    /**
     * @dev Add an account to the operator role.
     * @param account address of recipient.
     */
    function addOperator(
        address account
    )
        public
        override
        onlyAdmin
    {
        // Check if `account` already has operator role
        require(!hasRole(OPERATOR_ROLE, account), "StakePool#addOperator: ALREADY_OERATOR_ROLE");
        grantRole(OPERATOR_ROLE, account);
    }

    /**
     * @dev Remove an account from the operator role.
     * @param account address.
     */
    function removeOperator(
        address account
    )
        public
        override
        onlyAdmin
    {
        // Check if `account` has operator role
        require(hasRole(OPERATOR_ROLE, account), "StakePool#removeOperator: NO_OPERATOR_ROLE");
        revokeRole(OPERATOR_ROLE, account);
    }

    /**
     * @dev Check if an account is operator.
     * @param account address of operator being checked.
     */
    function checkOperator(
        address account
    )
        public
        override
        view
        returns (bool)
    {
        return hasRole(OPERATOR_ROLE, account);
    }

    /************************|
    |          Stake         |
    |_______________________*/

    /**
     * @dev Deposit stake to the pool.
     * Requirements:
     *
     * - `amount` must not be zero
     * @param amount deposit amount.
     */
    function deposit(
        uint256 amount,
        uint256 timestamplock
    )
        external
        override
    {
        require(amount >= minStakeAmount, "StakePool#deposit: UNDER_MINIMUM_STAKE_AMOUNT");
        _deposit(msg.sender, amount, timestamplock);
    }

    /**
     * @dev Withdraw from the pool.
     *
     * If amount is less than amount of the stake, cut down amount.
     * If amount is equal to amount of the stake, burn the stake.
     *
     * Requirements:
     *
     * - `amount` >= `minStakeAmount`
     * @param stakeId id of Stake that is being withdrawn.
     * @param amount withdraw amount.
     */
    function withdraw(
        uint256 stakeId,
        uint256 amount
    )
        external
        override
    {
        require(amount > 0, "StakePool#withdraw: UNDER_MINIMUM_WITHDRAW_AMOUNT");
        require(stakes[stakeId].timestamplock < block.timestamp, "StakePool#withdraw: STAKE_STILL_LOCKED_FOR_WITHDRAWAL");
        _withdraw(msg.sender, stakeId, amount);
    }

    /**
     * @dev Deposit stake to the pool.
     * @param account address of recipient.
     * @param amount deposit amount.
     */
    function _deposit(
        address account,
        uint256 amount,
        uint256 timestamplock
    )
        private
        nonReentrant
    {
        uint256 depositedAt = block.timestamp;
        uint256 stakeId = _mint(account, amount, depositedAt, timestamplock);
        require(depositToken.transferFrom(account, address(this), amount), "StakePool#_deposit: TRANSFER_FAILED");

        emit Deposited(account, stakeId, amount, timestamplock);
    }

    /**
     * @dev If amount is less than amount of the stake, cut off amount.
     * If amount is equal to amount of the stake, burn the stake.
     *
     * Requirements:
     *
     * - `account` must be owner of `stakeId`
     * @param account address whose stake is being withdrawn.
     * @param stakeId id of stake that is being withdrawn.
     * @param withdrawAmount withdraw amount.
     */
    function _withdraw(
        address account,
        uint256 stakeId,
        uint256 withdrawAmount
    )
        private
        nonReentrant
    {
        require(ownerOf(stakeId) == account, "StakePool#_withdraw: NO_STAKE_OWNER");
        _decreaseStakeAmount(stakeId, withdrawAmount);
        require(depositToken.transfer(account, withdrawAmount), "StakePool#_withdraw: TRANSFER_FAILED");

        emit Withdrawn(account, stakeId, withdrawAmount);
    }

    /*************************|
    |          Reward         |
    |________________________*/

    /**
     * @dev Deposit reward to the pool.
     * Requirements:
     *
     * - `amount` must not be zero
     * @param amount deposit amount.
     */
    function depositReward(
        uint256 amount
    )
        external
        override
        onlyOperator
    {
        require(amount > 0, "StakePool#depositReward: ZERO_AMOUNT");
        _depositReward(msg.sender, amount);
    }

    /**
     * @dev Return reward deposit info by id.
     */
    function getRewardDeposit(
        uint256 id
    )
        external
        view
        returns (address, uint256, uint256)
    {
        return (rewardDeposits[id].operator, rewardDeposits[id].amount, rewardDeposits[id].depositedAt);
    }

    /**
     * @dev Return reward deposit info by id.
     */
    function getClaimableReward(
        uint256 tokenId
    )
        external
        view
        returns (uint256)
    {
        return (claimableRewards[tokenId]);
    }

    /**
     * @dev add to claimable reward for a given token id
     */
    function addClaimableReward(
        uint256 tokenId,
        uint256 amount
    )
        external
        onlyOperator
    {
        claimableRewards[tokenId] += amount;
    }

    /**
     * @dev batch add to claimable reward for given token ids
     */
    function addClaimableRewards(
        uint256[] calldata tokenIds,
        uint256[] calldata amounts
    )
        external
        onlyOperator
    {
        for (uint256 i = 0; i < tokenIds.length; i++) {
            claimableRewards[tokenIds[i]] += amounts[i];
        }
    }


    /**
     * @dev Claim reward.
     *
     * Requirements:
     *
     * - stake token owner must call
     * - `amount` must be less than claimable reward
     * @param amount claim amount
     */
    function claimReward(
        uint256 tokenId,
        uint256 amount
    )
        external
        nonReentrant
    {
        require((ownerOf(tokenId) == msg.sender), "StakePool#claimReward: CALLER_NO_TOKEN_OWNER");
        require(claimableRewards[tokenId] >= amount, "StakePool#claimReward: INSUFFICIENT_FUNDS");
        claimableRewards[tokenId] -= amount;
        rewardToken.safeTransfer(msg.sender, amount);
        emit RewardClaimed(msg.sender, amount);
    }


    /**
     * @dev Sweep funds
     * Accessible by operators
     */
    function sweep(
        address token_,
        address to,
        uint256 amount
    )
        public
        onlyOperator
    {
        IERC20 token = IERC20(token_);
        // balance check is being done in ERC20
        token.transfer(to, amount);
        emit Swept(msg.sender, token_, to, amount);
    }

    /**
     * @dev Deposit reward to the pool.
     * @param account address who deposits to the pool.
     * @param amount deposit amount.
     */
    function _depositReward(
        address account,
        uint256 amount
    )
        private
    {
        rewardToken.safeTransferFrom(account, address(this), amount);
        rewardDeposits.push(RewardDeposit({
            operator: account,
            amount: amount,
            depositedAt: block.timestamp
        }));
        emit RewardDeposited(account, amount);
    }



}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"stakeTokenName_","type":"string"},{"internalType":"string","name":"stakeTokenSymbol_","type":"string"},{"internalType":"string","name":"stakeTokenBASEUri_","type":"string"},{"internalType":"contract IERC20","name":"depositToken_","type":"address"},{"internalType":"contract IERC20","name":"rewardToken_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimableRewardDeposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"stakeId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timestamplock","type":"uint256"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardDeposited","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":false,"internalType":"uint256","name":"stakeId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"decreaseAmount","type":"uint256"}],"name":"StakeAmountDecreased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Swept","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"uint256","name":"stakeId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MONTH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"QUARTER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"YEAR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addClaimableReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"addClaimableRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"checkOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimableRewardDeposits","outputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"depositedAt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claimableRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"timestamplock","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getClaimableReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"fromDate","type":"uint256"}],"name":"getEligibleStakeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRewardDeposit","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getStakeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeId","type":"uint256"}],"name":"getStakeInfo","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getStakeTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isHolder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mDistributionRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minStakeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"multiplierDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"qDistributionRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"","type":"uint256"}],"name":"rewardDeposits","outputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"depositedAt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sClaimShareDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakerIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stakes","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"multiplier","type":"uint256"},{"internalType":"uint256","name":"depositedAt","type":"uint256"},{"internalType":"uint256","name":"timestamplock","type":"uint256"}],"stateMutability":"view","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":"token_","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenIds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"stakeId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"yDistributionRatio","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b50604051620044973803806200449783398101604081905262000034916200038e565b848484828281600090805190602001906200005192919062000218565b5080516200006790600190602084019062000218565b50505060006200007c6200016060201b60201c565b600780546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508051620000df90600990602084019062000218565b50506001600d555050600e80546001600160a01b038085166001600160a01b031992831617909255600f805492841692909116919091179055426010556200012960003362000164565b620001557f97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b9293362000164565b505050505062000494565b3390565b62000170828262000174565b5050565b6000828152600c602090815260408083206001600160a01b038516845290915290205460ff1662000170576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001d43390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620002269062000441565b90600052602060002090601f0160209004810192826200024a576000855562000295565b82601f106200026557805160ff191683800117855562000295565b8280016001018555821562000295579182015b828111156200029557825182559160200191906001019062000278565b50620002a3929150620002a7565b5090565b5b80821115620002a35760008155600101620002a8565b80516001600160a01b0381168114620002d657600080fd5b919050565b600082601f830112620002ec578081fd5b81516001600160401b03808211156200030957620003096200047e565b604051601f8301601f19908116603f011681019082821181831017156200033457620003346200047e565b8160405283815260209250868385880101111562000350578485fd5b8491505b8382101562000373578582018301518183018401529082019062000354565b838211156200038457848385830101525b9695505050505050565b600080600080600060a08688031215620003a6578081fd5b85516001600160401b0380821115620003bd578283fd5b620003cb89838a01620002db565b96506020880151915080821115620003e1578283fd5b620003ef89838a01620002db565b9550604088015191508082111562000405578283fd5b506200041488828901620002db565b9350506200042560608701620002be565b91506200043560808701620002be565b90509295509295909350565b600181811c908216806200045657607f821691505b602082108114156200047857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b613ff380620004a46000396000f3fe608060405234801561001057600080fd5b50600436106103ae5760003560e01c806386402362116101f4578063c51330a21161011a578063de1ac2fd116100ad578063f18876841161007c578063f18876841461088a578063f2fde38b1461089a578063f5b541a6146108ad578063f7c618c1146108c257600080fd5b8063de1ac2fd1461081f578063e2bbb15814610832578063e985e9c514610845578063eae4c19f1461088157600080fd5b8063d4d7b19a116100e9578063d4d7b19a146107ba578063d547741f146107cd578063d5999a5c146107e0578063d5a44f86146107ea57600080fd5b8063c51330a214610772578063c87b56dd14610785578063c89039c514610798578063ca38f5ef146107ab57600080fd5b80639835fc7e11610192578063ac8a584a11610161578063ac8a584a14610726578063b4fc478914610739578063b532c9ed1461074c578063b88d4fde1461075f57600080fd5b80639835fc7e146106d85780639870d7fe146106f8578063a217fddf1461070b578063a22cb4651461071357600080fd5b80638da5cb5b116101ce5780638da5cb5b1461069957806391d14854146106aa57806395a07bbb146106bd57806395d89b41146106d057600080fd5b8063864023621461065357806386bb8f37146106665780638c25be3d1461067957600080fd5b806336568abe116102d95780636352211e11610277578063715018a611610246578063715018a61461064357806372fbeb501461064b5780637bc30dc514610653578063839145401461065b57600080fd5b80636352211e1461060c5780636c0360eb1461061f57806370a0823114610627578063714cff561461063a57600080fd5b80634cea7a90116102b35780634cea7a90146105b357806355f804b3146105d3578063592920ec146105e657806362c06767146105f957600080fd5b806336568abe1461057a57806342842e0e1461058d578063441a3e70146105a057600080fd5b80630c2eb403116103515780631e2720ff116103205780631e2720ff1461051e57806323b872dd14610531578063248a9ca3146105445780632f2ff15d1461056757600080fd5b80630c2eb403146104b35780630ce72d6e146104c6578063162094c4146104ce5780631add5ab2146104e157600080fd5b806306fdde031161038d57806306fdde031461042b578063081812fc14610440578063095ea7b31461046b578063098134821461048057600080fd5b8062720960146103b357806301ffc9a7146103f0578063038c0f7714610413575b600080fd5b6103c66103c13660046139f6565b6108d5565b604080516001600160a01b0390941684526020840192909252908201526060015b60405180910390f35b6104036103fe366004613a30565b610912565b60405190151581526020016103e7565b61041d627a9b8081565b6040519081526020016103e7565b610433610923565b6040516103e79190613c6e565b61045361044e3660046139f6565b6109b5565b6040516001600160a01b0390911681526020016103e7565b61047e610479366004613948565b610a42565b005b61049361048e3660046139f6565b610b58565b6040805194855260208501939093529183015260608201526080016103e7565b61041d6104c1366004613812565b610bf0565b61041d603281565b61047e6104dc366004613a9b565b610cca565b6104f46104ef3660046139f6565b610d02565b604080516001600160a01b03909516855260208501939093529183015260608201526080016103e7565b61047e61052c3660046139f6565b610d46565b61047e61053f36600461385e565b610de3565b61041d6105523660046139f6565b6000908152600c602052604090206001015490565b61047e610575366004613a0e565b610e14565b61047e610588366004613a0e565b610e3a565b61047e61059b36600461385e565b610eb4565b61047e6105ae366004613ae0565b610ecf565b6105c66105c1366004613812565b610fc2565b6040516103e79190613c2a565b61047e6105e1366004613a68565b61102e565b61041d6105f4366004613948565b61106b565b61047e61060736600461385e565b61109c565b61045361061a3660046139f6565b6111a4565b61043361121b565b61041d610635366004613812565b6112a9565b61041d60085481565b61047e611330565b61041d606481565b61041d601981565b61041d6301e1338081565b61047e610674366004613ae0565b6113a4565b61041d6106873660046139f6565b60009081526013602052604090205490565b6007546001600160a01b0316610453565b6104036106b8366004613a0e565b611529565b61047e6106cb366004613971565b611554565b610433611621565b61041d6106e63660046139f6565b60136020526000908152604090205481565b61047e610706366004613812565b611630565b61041d600081565b61047e610721366004613912565b6116e8565b61047e610734366004613812565b6117ad565b61047e610747366004613ae0565b611863565b6103c661075a3660046139f6565b6118be565b61047e61076d366004613899565b611975565b61041d6107803660046139f6565b6119ad565b6104336107933660046139f6565b611ac3565b600e54610453906001600160a01b031681565b61041d670de0b6b3a764000081565b6104036107c8366004613812565b611ace565b61047e6107db366004613a0e565b611ae1565b61041d6228de8081565b6104936107f83660046139f6565b600a6020526000908152604090208054600182015460028301546003909301549192909184565b61040361082d366004613812565b611b07565b61047e610840366004613ae0565b611b21565b61040361085336600461382c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61041d60105481565b61041d681b1ae4d6e2ef50000081565b61047e6108a8366004613812565b611b9b565b61041d600080516020613f9e83398151915281565b600f54610453906001600160a01b031681565b601281815481106108e557600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b03909116925083565b600061091d82611c86565b92915050565b60606000805461093290613ecd565b80601f016020809104026020016040519081016040528092919081815260200182805461095e90613ecd565b80156109ab5780601f10610980576101008083540402835291602001916109ab565b820191906000526020600020905b81548152906001019060200180831161098e57829003601f168201915b5050505050905090565b60006109c082611cab565b610a265760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a4d826111a4565b9050806001600160a01b0316836001600160a01b03161415610abb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a1d565b336001600160a01b0382161480610ad75750610ad78133610853565b610b495760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a1d565b610b538383611cc8565b505050565b600080600080610b6785611cab565b610bc45760405162461bcd60e51b815260206004820152602860248201527f5374616b65546f6b656e236765745374616b65496e666f3a205354414b455f4e60448201526713d517d193d5539160c21b6064820152608401610a1d565b505050600091825250600a60205260409020805460018201546002830154600390930154919390929190565b6001600160a01b0381166000908152600b6020908152604080832080548251818502810185019093528083528493830182828015610c4d57602002820191906000526020600020905b815481526020019060010190808311610c39575b50505050509050600080600090505b8251811015610cc257600a6000848381518110610c8957634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000015482610cae9190613e28565b915080610cba81613f08565b915050610c5c565b509392505050565b6007546001600160a01b03163314610cf45760405162461bcd60e51b8152600401610a1d90613d1c565b610cfe8282611d36565b5050565b60118181548110610d1257600080fd5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b610d5e600080516020613f9e83398151915233611529565b610d7a5760405162461bcd60e51b8152600401610a1d90613da2565b60008111610dd65760405162461bcd60e51b8152602060048201526024808201527f5374616b65506f6f6c236465706f7369745265776172643a205a45524f5f414d60448201526313d5539560e21b6064820152608401610a1d565b610de03382611dc1565b50565b610ded3382611ed4565b610e095760405162461bcd60e51b8152600401610a1d90613d51565b610b53838383611fbe565b6000828152600c6020526040902060010154610e308133612000565b610b538383612064565b6001600160a01b0381163314610eaa5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a1d565b610cfe82826120ea565b610b5383838360405180602001604052806000815250611975565b60008111610f395760405162461bcd60e51b815260206004820152603160248201527f5374616b65506f6f6c2377697468647261773a20554e4445525f4d494e494d556044820152701357d5d2551211149055d7d05353d55395607a1b6064820152608401610a1d565b6000828152600a60205260409020600301544211610fb75760405162461bcd60e51b815260206004820152603560248201527f5374616b65506f6f6c2377697468647261773a205354414b455f5354494c4c5f6044820152741313d0d2d15117d193d497d5d2551211149055d053605a1b6064820152608401610a1d565b610cfe338383612151565b6001600160a01b0381166000908152600b602090815260409182902080548351818402810184019094528084526060939283018282801561102257602002820191906000526020600020905b81548152602001906001019080831161100e575b50505050509050919050565b6007546001600160a01b031633146110585760405162461bcd60e51b8152600401610a1d90613d1c565b8051610cfe906009906020840190613648565b600b602052816000526040600020818154811061108757600080fd5b90600052602060002001600091509150505481565b6110b4600080516020613f9e83398151915233611529565b6110d05760405162461bcd60e51b8152600401610a1d90613da2565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284919082169063a9059cbb90604401602060405180830381600087803b15801561111d57600080fd5b505af1158015611131573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115591906139da565b50604080516001600160a01b0386811682526020820185905285169133917fddb9e887767e767a0e6a62c15b95f9f09e40e04427f78be916fdf478da1dbc23910160405180910390a350505050565b6000818152600260205260408120546001600160a01b03168061091d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a1d565b6009805461122890613ecd565b80601f016020809104026020016040519081016040528092919081815260200182805461125490613ecd565b80156112a15780601f10611276576101008083540402835291602001916112a1565b820191906000526020600020905b81548152906001019060200180831161128457829003601f168201915b505050505081565b60006001600160a01b0382166113145760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a1d565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b0316331461135a5760405162461bcd60e51b8152600401610a1d90613d1c565b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b6002600d5414156113c75760405162461bcd60e51b8152600401610a1d90613df1565b6002600d55336113d6836111a4565b6001600160a01b0316146114415760405162461bcd60e51b815260206004820152602c60248201527f5374616b65506f6f6c23636c61696d5265776172643a2043414c4c45525f4e4f60448201526b2faa27a5a2a72fa7aba722a960a11b6064820152608401610a1d565b6000828152601360205260409020548111156114b15760405162461bcd60e51b815260206004820152602960248201527f5374616b65506f6f6c23636c61696d5265776172643a20494e53554646494349604482015268454e545f46554e445360b81b6064820152608401610a1d565b600082815260136020526040812080548392906114cf908490613e73565b9091555050600f546114eb906001600160a01b03163383612324565b60405181815233907f106f923f993c2149d49b4255ff723acafa1f2d94393f561d3eda32ae348f72419060200160405180910390a250506001600d55565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61156c600080516020613f9e83398151915233611529565b6115885760405162461bcd60e51b8152600401610a1d90613da2565b60005b8381101561161a578282828181106115b357634e487b7160e01b600052603260045260246000fd5b90506020020135601360008787858181106115de57634e487b7160e01b600052603260045260246000fd5b90506020020135815260200190815260200160002060008282546116029190613e28565b9091555081905061161281613f08565b91505061158b565b5050505050565b60606001805461093290613ecd565b61163b600033611529565b6116575760405162461bcd60e51b8152600401610a1d90613cd3565b61166f600080516020613f9e83398151915282611529565b156116d05760405162461bcd60e51b815260206004820152602b60248201527f5374616b65506f6f6c236164644f70657261746f723a20414c52454144595f4f60448201526a455241544f525f524f4c4560a81b6064820152608401610a1d565b610de0600080516020613f9e83398151915282610e14565b6001600160a01b0382163314156117415760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a1d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117b8600033611529565b6117d45760405162461bcd60e51b8152600401610a1d90613cd3565b6117ec600080516020613f9e83398151915282611529565b61184b5760405162461bcd60e51b815260206004820152602a60248201527f5374616b65506f6f6c2372656d6f76654f70657261746f723a204e4f5f4f50456044820152695241544f525f524f4c4560b01b6064820152608401610a1d565b610de0600080516020613f9e83398151915282611ae1565b61187b600080516020613f9e83398151915233611529565b6118975760405162461bcd60e51b8152600401610a1d90613da2565b600082815260136020526040812080548392906118b5908490613e28565b90915550505050565b6000806000601284815481106118e457634e487b7160e01b600052603260045260246000fd5b6000918252602090912060039091020154601280546001600160a01b03909216918690811061192357634e487b7160e01b600052603260045260246000fd5b9060005260206000209060030201600101546012868154811061195657634e487b7160e01b600052603260045260246000fd5b9060005260206000209060030201600201549250925092509193909250565b61197f3383611ed4565b61199b5760405162461bcd60e51b8152600401610a1d90613d51565b6119a784848484612387565b50505050565b600042821115611a175760405162461bcd60e51b815260206004820152602f60248201527f5374616b65546f6b656e23676574456c696769626c655374616b65416d6f756e60448201526e743a204e4f5f504153545f4441544560881b6064820152608401610a1d565b600060015b6008548111611abc57611a2e81611cab565b15611aaa576000818152600a6020908152604091829020825160808101845281548152600182015492810192909252600281015492820183905260030154606082015290851015611a7f5750611abc565b60208101518151606491611a9291613e54565b611a9c9190613e40565b611aa69084613e28565b9250505b80611ab481613f08565b915050611a1c565b5092915050565b606061091d826123ba565b600080611ada836112a9565b1192915050565b6000828152600c6020526040902060010154611afd8133612000565b610b5383836120ea565b600061091d600080516020613f9e83398151915283611529565b681b1ae4d6e2ef500000821015611b905760405162461bcd60e51b815260206004820152602d60248201527f5374616b65506f6f6c236465706f7369743a20554e4445525f4d494e494d554d60448201526c17d4d51052d157d05353d55395609a1b6064820152608401610a1d565b610cfe33838361251c565b6007546001600160a01b03163314611bc55760405162461bcd60e51b8152600401610a1d90613d1c565b6001600160a01b038116611c2a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a1d565b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b03198216637965db0b60e01b148061091d575061091d8261268b565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611cfd826111a4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611d3f82611cab565b611da25760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610a1d565b60008281526006602090815260409091208251610b5392840190613648565b600f54611dd9906001600160a01b03168330846126db565b604080516060810182526001600160a01b038481168083526020808401868152428587019081526012805460018101825560009190915295517fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec3444600390970296870180546001600160a01b0319169190961617909455517fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec344585015591517fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec344690930192909255915183815290917f7dbc080e4530c8bcf265eb5c9a35ae096ca1eb607b7e802b96581ef4c5e1a703910160405180910390a25050565b6000611edf82611cab565b611f405760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a1d565b6000611f4b836111a4565b9050806001600160a01b0316846001600160a01b03161480611f865750836001600160a01b0316611f7b846109b5565b6001600160a01b0316145b80611fb657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b611fc9838383612713565b611fd383826128b3565b6001600160a01b039091166000908152600b60209081526040822080546001810182559083529120015550565b61200a8282611529565b610cfe57612022816001600160a01b031660146129cd565b61202d8360206129cd565b60405160200161203e929190613b78565b60408051601f198184030181529082905262461bcd60e51b8252610a1d91600401613c6e565b61206e8282611529565b610cfe576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff191660011790556120a63390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6120f48282611529565b15610cfe576000828152600c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6002600d5414156121745760405162461bcd60e51b8152600401610a1d90613df1565b6002600d556001600160a01b03831661218c836111a4565b6001600160a01b0316146121ee5760405162461bcd60e51b815260206004820152602360248201527f5374616b65506f6f6c235f77697468647261773a204e4f5f5354414b455f4f576044820152622722a960e91b6064820152608401610a1d565b6121f88282612bb6565b600e5460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018490529091169063a9059cbb90604401602060405180830381600087803b15801561224657600080fd5b505af115801561225a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227e91906139da565b6122d65760405162461bcd60e51b8152602060048201526024808201527f5374616b65506f6f6c235f77697468647261773a205452414e534645525f46416044820152631253115160e21b6064820152608401610a1d565b81836001600160a01b03167f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc68360405161231291815260200190565b60405180910390a350506001600d5550565b6040516001600160a01b038316602482015260448101829052610b5390849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612d30565b612392848484611fbe565b61239e84848484612e02565b6119a75760405162461bcd60e51b8152600401610a1d90613c81565b60606123c582611cab565b61242b5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610a1d565b6000828152600660205260408120805461244490613ecd565b80601f016020809104026020016040519081016040528092919081815260200182805461247090613ecd565b80156124bd5780601f10612492576101008083540402835291602001916124bd565b820191906000526020600020905b8154815290600101906020018083116124a057829003601f168201915b5050505050905060006124ce612f0f565b90508051600014156124e1575092915050565b8151156125135780826040516020016124fb929190613b49565b60405160208183030381529060405292505050919050565b611fb684612f1e565b6002600d54141561253f5760405162461bcd60e51b8152600401610a1d90613df1565b6002600d5542600061255385858486612fe8565b600e546040516323b872dd60e01b81526001600160a01b038881166004830152306024830152604482018890529293509116906323b872dd90606401602060405180830381600087803b1580156125a957600080fd5b505af11580156125bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125e191906139da565b6126395760405162461bcd60e51b815260206004820152602360248201527f5374616b65506f6f6c235f6465706f7369743a205452414e534645525f46414960448201526213115160ea1b6064820152608401610a1d565b604080518581526020810185905282916001600160a01b038816917f91ede45f04a37a7c170f5c1207df3b6bc748dc1e04ad5e917a241d0f52feada3910160405180910390a350506001600d55505050565b60006001600160e01b031982166380ac58cd60e01b14806126bc57506001600160e01b03198216635b5e139f60e01b145b8061091d57506301ffc9a760e01b6001600160e01b031983161461091d565b6040516001600160a01b03808516602483015283166044820152606481018290526119a79085906323b872dd60e01b90608401612350565b826001600160a01b0316612726826111a4565b6001600160a01b03161461278e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a1d565b6001600160a01b0382166127f05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a1d565b6127fb600082611cc8565b6001600160a01b0383166000908152600360205260408120805460019290612824908490613e73565b90915550506001600160a01b0382166000908152600360205260408120805460019290612852908490613e28565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166000908152600b60205260408120905b81548110156119a757828282815481106128f757634e487b7160e01b600052603260045260246000fd5b906000526020600020015414156129bb57815461291690600190613e73565b8114612982578154829061292c90600190613e73565b8154811061294a57634e487b7160e01b600052603260045260246000fd5b906000526020600020015482828154811061297557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001555b818054806129a057634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590556119a7565b806129c581613f08565b9150506128cd565b606060006129dc836002613e54565b6129e7906002613e28565b67ffffffffffffffff811115612a0d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a37576020820181803683370190505b509050600360fc1b81600081518110612a6057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612a9d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000612ac1846002613e54565b612acc906001613e28565b90505b6001811115612b60576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612b0e57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110612b3257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93612b5981613eb6565b9050612acf565b508315612baf5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a1d565b9392505050565b612bbf82611cab565b612c245760405162461bcd60e51b815260206004820152603060248201527f5374616b65546f6b656e235f64656372656173655374616b65416d6f756e743a60448201526f0814d51052d157d393d517d193d5539160821b6064820152608401610a1d565b6000828152600a6020526040902054811115612ca85760405162461bcd60e51b815260206004820152603a60248201527f5374616b65546f6b656e235f64656372656173655374616b65416d6f756e743a60448201527f20494e53554646494349454e545f5354414b455f414d4f554e540000000000006064820152608401610a1d565b6000828152600a6020526040902054811415612cc757610cfe826130c6565b6000828152600a6020526040902054612ce09082613168565b6000838152600a60209081526040918290209290925580518481529182018390527f9ce0fe3a2c7c141618ca6eb14273c7863eb6cfb1cdbfe0cb511d8006b1c1841a910160405180910390a15050565b6000612d85826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166131749092919063ffffffff16565b805190915015610b535780806020019051810190612da391906139da565b610b535760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a1d565b60006001600160a01b0384163b15612f0457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e46903390899088908890600401613bed565b602060405180830381600087803b158015612e6057600080fd5b505af1925050508015612e90575060408051601f3d908101601f19168201909252612e8d91810190613a4c565b60015b612eea573d808015612ebe576040519150601f19603f3d011682016040523d82523d6000602084013e612ec3565b606091505b508051612ee25760405162461bcd60e51b8152600401610a1d90613c81565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611fb6565b506001949350505050565b60606009805461093290613ecd565b6060612f2982611cab565b612f8d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a1d565b6000612f97612f0f565b90506000815111612fb75760405180602001604052806000815250612baf565b80612fc184613183565b604051602001612fd2929190613b49565b6040516020818303038152906040529392505050565b60008084116130395760405162461bcd60e51b815260206004820181905260248201527f5374616b65546f6b656e235f6d696e743a20494e56414c49445f414d4f554e546044820152606401610a1d565b6008805490600061304983613f08565b9190505550600061305861329d565b9050613066866008546132d9565b600880546000908152600a60209081526040808320898155600180820196909655600281018990556003018790556001600160a01b038a168352600b82528220835481549586018255908352912090920191909155549050949350505050565b6130cf81611cab565b6131255760405162461bcd60e51b815260206004820152602160248201527f5374616b65546f6b656e235f6275726e3a205354414b455f4e4f545f464f554e6044820152601160fa1b6064820152608401610a1d565b6000613130826111a4565b905061313b8261340c565b6000828152600a60205260408120818155600181018290556002810182905560030155610cfe81836128b3565b6000612baf8284613e73565b6060611fb6848460008561344c565b6060816131a75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156131d157806131bb81613f08565b91506131ca9050600a83613e40565b91506131ab565b60008167ffffffffffffffff8111156131fa57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613224576020820181803683370190505b5090505b8415611fb657613239600183613e73565b9150613246600a86613f23565b613251906030613e28565b60f81b81838151811061327457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613296600a86613e40565b9450613228565b600061012c60085410156132b15750607890565b60085461012c111580156132c85750610fa0600854105b156132d35750606e90565b50606490565b6001600160a01b03821661332f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a1d565b61333881611cab565b156133855760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a1d565b6001600160a01b03821660009081526003602052604081208054600192906133ae908490613e28565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61341581613574565b6000818152600660205260409020805461342e90613ecd565b159050610de0576000818152600660205260408120610de0916136cc565b6060824710156134ad5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a1d565b843b6134fb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a1d565b600080866001600160a01b031685876040516135179190613b2d565b60006040518083038185875af1925050503d8060008114613554576040519150601f19603f3d011682016040523d82523d6000602084013e613559565b606091505b509150915061356982828661360f565b979650505050505050565b600061357f826111a4565b905061358c600083611cc8565b6001600160a01b03811660009081526003602052604081208054600192906135b5908490613e73565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6060831561361e575081612baf565b82511561362e5782518084602001fd5b8160405162461bcd60e51b8152600401610a1d9190613c6e565b82805461365490613ecd565b90600052602060002090601f01602090048101928261367657600085556136bc565b82601f1061368f57805160ff19168380011785556136bc565b828001600101855582156136bc579182015b828111156136bc5782518255916020019190600101906136a1565b506136c8929150613702565b5090565b5080546136d890613ecd565b6000825580601f106136e8575050565b601f016020900490600052602060002090810190610de091905b5b808211156136c85760008155600101613703565b600067ffffffffffffffff8084111561373257613732613f63565b604051601f8501601f19908116603f0116810190828211818310171561375a5761375a613f63565b8160405280935085815286868601111561377357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146137a457600080fd5b919050565b60008083601f8401126137ba578081fd5b50813567ffffffffffffffff8111156137d1578182fd5b6020830191508360208260051b85010111156137ec57600080fd5b9250929050565b600082601f830112613803578081fd5b612baf83833560208501613717565b600060208284031215613823578081fd5b612baf8261378d565b6000806040838503121561383e578081fd5b6138478361378d565b91506138556020840161378d565b90509250929050565b600080600060608486031215613872578081fd5b61387b8461378d565b92506138896020850161378d565b9150604084013590509250925092565b600080600080608085870312156138ae578081fd5b6138b78561378d565b93506138c56020860161378d565b925060408501359150606085013567ffffffffffffffff8111156138e7578182fd5b8501601f810187136138f7578182fd5b61390687823560208401613717565b91505092959194509250565b60008060408385031215613924578182fd5b61392d8361378d565b9150602083013561393d81613f79565b809150509250929050565b6000806040838503121561395a578182fd5b6139638361378d565b946020939093013593505050565b60008060008060408587031215613986578384fd5b843567ffffffffffffffff8082111561399d578586fd5b6139a9888389016137a9565b909650945060208701359150808211156139c1578384fd5b506139ce878288016137a9565b95989497509550505050565b6000602082840312156139eb578081fd5b8151612baf81613f79565b600060208284031215613a07578081fd5b5035919050565b60008060408385031215613a20578182fd5b823591506138556020840161378d565b600060208284031215613a41578081fd5b8135612baf81613f87565b600060208284031215613a5d578081fd5b8151612baf81613f87565b600060208284031215613a79578081fd5b813567ffffffffffffffff811115613a8f578182fd5b611fb6848285016137f3565b60008060408385031215613aad578182fd5b82359150602083013567ffffffffffffffff811115613aca578182fd5b613ad6858286016137f3565b9150509250929050565b60008060408385031215613af2578182fd5b50508035926020909101359150565b60008151808452613b19816020860160208601613e8a565b601f01601f19169290920160200192915050565b60008251613b3f818460208701613e8a565b9190910192915050565b60008351613b5b818460208801613e8a565b835190830190613b6f818360208801613e8a565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613bb0816017850160208801613e8a565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613be1816028840160208801613e8a565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613c2090830184613b01565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613c6257835183529284019291840191600101613c46565b50909695505050505050565b602081526000612baf6020830184613b01565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526029908201527f5374616b65506f6f6c236f6e6c7941646d696e3a2043414c4c45525f4e4f5f41604082015268444d494e5f524f4c4560b81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602f908201527f5374616b65506f6f6c236f6e6c794f70657261746f723a2043414c4c45525f4e60408201526e4f5f4f50455241544f525f524f4c4560881b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60008219821115613e3b57613e3b613f37565b500190565b600082613e4f57613e4f613f4d565b500490565b6000816000190483118215151615613e6e57613e6e613f37565b500290565b600082821015613e8557613e85613f37565b500390565b60005b83811015613ea5578181015183820152602001613e8d565b838111156119a75750506000910152565b600081613ec557613ec5613f37565b506000190190565b600181811c90821680613ee157607f821691505b60208210811415613f0257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613f1c57613f1c613f37565b5060010190565b600082613f3257613f32613f4d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610de057600080fd5b6001600160e01b031981168114610de057600080fdfe97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929a264697066735822122069b4ef8fd8550fa978acf17e026931165f8a790ef9b4b47674ecc1dfe4c7bef664736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000007aa1d538bc7b8f756179d37fb92dc0435fb71ab100000000000000000000000004068da6c83afcfa0e13ba15a6696662335d5b75000000000000000000000000000000000000000000000000000000000000001a496465786f2047656e6572616c205374616b696e6720506f6f6c000000000000000000000000000000000000000000000000000000000000000000000000000449475350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106103ae5760003560e01c806386402362116101f4578063c51330a21161011a578063de1ac2fd116100ad578063f18876841161007c578063f18876841461088a578063f2fde38b1461089a578063f5b541a6146108ad578063f7c618c1146108c257600080fd5b8063de1ac2fd1461081f578063e2bbb15814610832578063e985e9c514610845578063eae4c19f1461088157600080fd5b8063d4d7b19a116100e9578063d4d7b19a146107ba578063d547741f146107cd578063d5999a5c146107e0578063d5a44f86146107ea57600080fd5b8063c51330a214610772578063c87b56dd14610785578063c89039c514610798578063ca38f5ef146107ab57600080fd5b80639835fc7e11610192578063ac8a584a11610161578063ac8a584a14610726578063b4fc478914610739578063b532c9ed1461074c578063b88d4fde1461075f57600080fd5b80639835fc7e146106d85780639870d7fe146106f8578063a217fddf1461070b578063a22cb4651461071357600080fd5b80638da5cb5b116101ce5780638da5cb5b1461069957806391d14854146106aa57806395a07bbb146106bd57806395d89b41146106d057600080fd5b8063864023621461065357806386bb8f37146106665780638c25be3d1461067957600080fd5b806336568abe116102d95780636352211e11610277578063715018a611610246578063715018a61461064357806372fbeb501461064b5780637bc30dc514610653578063839145401461065b57600080fd5b80636352211e1461060c5780636c0360eb1461061f57806370a0823114610627578063714cff561461063a57600080fd5b80634cea7a90116102b35780634cea7a90146105b357806355f804b3146105d3578063592920ec146105e657806362c06767146105f957600080fd5b806336568abe1461057a57806342842e0e1461058d578063441a3e70146105a057600080fd5b80630c2eb403116103515780631e2720ff116103205780631e2720ff1461051e57806323b872dd14610531578063248a9ca3146105445780632f2ff15d1461056757600080fd5b80630c2eb403146104b35780630ce72d6e146104c6578063162094c4146104ce5780631add5ab2146104e157600080fd5b806306fdde031161038d57806306fdde031461042b578063081812fc14610440578063095ea7b31461046b578063098134821461048057600080fd5b8062720960146103b357806301ffc9a7146103f0578063038c0f7714610413575b600080fd5b6103c66103c13660046139f6565b6108d5565b604080516001600160a01b0390941684526020840192909252908201526060015b60405180910390f35b6104036103fe366004613a30565b610912565b60405190151581526020016103e7565b61041d627a9b8081565b6040519081526020016103e7565b610433610923565b6040516103e79190613c6e565b61045361044e3660046139f6565b6109b5565b6040516001600160a01b0390911681526020016103e7565b61047e610479366004613948565b610a42565b005b61049361048e3660046139f6565b610b58565b6040805194855260208501939093529183015260608201526080016103e7565b61041d6104c1366004613812565b610bf0565b61041d603281565b61047e6104dc366004613a9b565b610cca565b6104f46104ef3660046139f6565b610d02565b604080516001600160a01b03909516855260208501939093529183015260608201526080016103e7565b61047e61052c3660046139f6565b610d46565b61047e61053f36600461385e565b610de3565b61041d6105523660046139f6565b6000908152600c602052604090206001015490565b61047e610575366004613a0e565b610e14565b61047e610588366004613a0e565b610e3a565b61047e61059b36600461385e565b610eb4565b61047e6105ae366004613ae0565b610ecf565b6105c66105c1366004613812565b610fc2565b6040516103e79190613c2a565b61047e6105e1366004613a68565b61102e565b61041d6105f4366004613948565b61106b565b61047e61060736600461385e565b61109c565b61045361061a3660046139f6565b6111a4565b61043361121b565b61041d610635366004613812565b6112a9565b61041d60085481565b61047e611330565b61041d606481565b61041d601981565b61041d6301e1338081565b61047e610674366004613ae0565b6113a4565b61041d6106873660046139f6565b60009081526013602052604090205490565b6007546001600160a01b0316610453565b6104036106b8366004613a0e565b611529565b61047e6106cb366004613971565b611554565b610433611621565b61041d6106e63660046139f6565b60136020526000908152604090205481565b61047e610706366004613812565b611630565b61041d600081565b61047e610721366004613912565b6116e8565b61047e610734366004613812565b6117ad565b61047e610747366004613ae0565b611863565b6103c661075a3660046139f6565b6118be565b61047e61076d366004613899565b611975565b61041d6107803660046139f6565b6119ad565b6104336107933660046139f6565b611ac3565b600e54610453906001600160a01b031681565b61041d670de0b6b3a764000081565b6104036107c8366004613812565b611ace565b61047e6107db366004613a0e565b611ae1565b61041d6228de8081565b6104936107f83660046139f6565b600a6020526000908152604090208054600182015460028301546003909301549192909184565b61040361082d366004613812565b611b07565b61047e610840366004613ae0565b611b21565b61040361085336600461382c565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b61041d60105481565b61041d681b1ae4d6e2ef50000081565b61047e6108a8366004613812565b611b9b565b61041d600080516020613f9e83398151915281565b600f54610453906001600160a01b031681565b601281815481106108e557600080fd5b60009182526020909120600390910201805460018201546002909201546001600160a01b03909116925083565b600061091d82611c86565b92915050565b60606000805461093290613ecd565b80601f016020809104026020016040519081016040528092919081815260200182805461095e90613ecd565b80156109ab5780601f10610980576101008083540402835291602001916109ab565b820191906000526020600020905b81548152906001019060200180831161098e57829003601f168201915b5050505050905090565b60006109c082611cab565b610a265760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a4d826111a4565b9050806001600160a01b0316836001600160a01b03161415610abb5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610a1d565b336001600160a01b0382161480610ad75750610ad78133610853565b610b495760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a1d565b610b538383611cc8565b505050565b600080600080610b6785611cab565b610bc45760405162461bcd60e51b815260206004820152602860248201527f5374616b65546f6b656e236765745374616b65496e666f3a205354414b455f4e60448201526713d517d193d5539160c21b6064820152608401610a1d565b505050600091825250600a60205260409020805460018201546002830154600390930154919390929190565b6001600160a01b0381166000908152600b6020908152604080832080548251818502810185019093528083528493830182828015610c4d57602002820191906000526020600020905b815481526020019060010190808311610c39575b50505050509050600080600090505b8251811015610cc257600a6000848381518110610c8957634e487b7160e01b600052603260045260246000fd5b602002602001015181526020019081526020016000206000015482610cae9190613e28565b915080610cba81613f08565b915050610c5c565b509392505050565b6007546001600160a01b03163314610cf45760405162461bcd60e51b8152600401610a1d90613d1c565b610cfe8282611d36565b5050565b60118181548110610d1257600080fd5b600091825260209091206004909102018054600182015460028301546003909301546001600160a01b039092169350919084565b610d5e600080516020613f9e83398151915233611529565b610d7a5760405162461bcd60e51b8152600401610a1d90613da2565b60008111610dd65760405162461bcd60e51b8152602060048201526024808201527f5374616b65506f6f6c236465706f7369745265776172643a205a45524f5f414d60448201526313d5539560e21b6064820152608401610a1d565b610de03382611dc1565b50565b610ded3382611ed4565b610e095760405162461bcd60e51b8152600401610a1d90613d51565b610b53838383611fbe565b6000828152600c6020526040902060010154610e308133612000565b610b538383612064565b6001600160a01b0381163314610eaa5760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610a1d565b610cfe82826120ea565b610b5383838360405180602001604052806000815250611975565b60008111610f395760405162461bcd60e51b815260206004820152603160248201527f5374616b65506f6f6c2377697468647261773a20554e4445525f4d494e494d556044820152701357d5d2551211149055d7d05353d55395607a1b6064820152608401610a1d565b6000828152600a60205260409020600301544211610fb75760405162461bcd60e51b815260206004820152603560248201527f5374616b65506f6f6c2377697468647261773a205354414b455f5354494c4c5f6044820152741313d0d2d15117d193d497d5d2551211149055d053605a1b6064820152608401610a1d565b610cfe338383612151565b6001600160a01b0381166000908152600b602090815260409182902080548351818402810184019094528084526060939283018282801561102257602002820191906000526020600020905b81548152602001906001019080831161100e575b50505050509050919050565b6007546001600160a01b031633146110585760405162461bcd60e51b8152600401610a1d90613d1c565b8051610cfe906009906020840190613648565b600b602052816000526040600020818154811061108757600080fd5b90600052602060002001600091509150505481565b6110b4600080516020613f9e83398151915233611529565b6110d05760405162461bcd60e51b8152600401610a1d90613da2565b60405163a9059cbb60e01b81526001600160a01b0383811660048301526024820183905284919082169063a9059cbb90604401602060405180830381600087803b15801561111d57600080fd5b505af1158015611131573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061115591906139da565b50604080516001600160a01b0386811682526020820185905285169133917fddb9e887767e767a0e6a62c15b95f9f09e40e04427f78be916fdf478da1dbc23910160405180910390a350505050565b6000818152600260205260408120546001600160a01b03168061091d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610a1d565b6009805461122890613ecd565b80601f016020809104026020016040519081016040528092919081815260200182805461125490613ecd565b80156112a15780601f10611276576101008083540402835291602001916112a1565b820191906000526020600020905b81548152906001019060200180831161128457829003601f168201915b505050505081565b60006001600160a01b0382166113145760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610a1d565b506001600160a01b031660009081526003602052604090205490565b6007546001600160a01b0316331461135a5760405162461bcd60e51b8152600401610a1d90613d1c565b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b6002600d5414156113c75760405162461bcd60e51b8152600401610a1d90613df1565b6002600d55336113d6836111a4565b6001600160a01b0316146114415760405162461bcd60e51b815260206004820152602c60248201527f5374616b65506f6f6c23636c61696d5265776172643a2043414c4c45525f4e4f60448201526b2faa27a5a2a72fa7aba722a960a11b6064820152608401610a1d565b6000828152601360205260409020548111156114b15760405162461bcd60e51b815260206004820152602960248201527f5374616b65506f6f6c23636c61696d5265776172643a20494e53554646494349604482015268454e545f46554e445360b81b6064820152608401610a1d565b600082815260136020526040812080548392906114cf908490613e73565b9091555050600f546114eb906001600160a01b03163383612324565b60405181815233907f106f923f993c2149d49b4255ff723acafa1f2d94393f561d3eda32ae348f72419060200160405180910390a250506001600d55565b6000918252600c602090815260408084206001600160a01b0393909316845291905290205460ff1690565b61156c600080516020613f9e83398151915233611529565b6115885760405162461bcd60e51b8152600401610a1d90613da2565b60005b8381101561161a578282828181106115b357634e487b7160e01b600052603260045260246000fd5b90506020020135601360008787858181106115de57634e487b7160e01b600052603260045260246000fd5b90506020020135815260200190815260200160002060008282546116029190613e28565b9091555081905061161281613f08565b91505061158b565b5050505050565b60606001805461093290613ecd565b61163b600033611529565b6116575760405162461bcd60e51b8152600401610a1d90613cd3565b61166f600080516020613f9e83398151915282611529565b156116d05760405162461bcd60e51b815260206004820152602b60248201527f5374616b65506f6f6c236164644f70657261746f723a20414c52454144595f4f60448201526a455241544f525f524f4c4560a81b6064820152608401610a1d565b610de0600080516020613f9e83398151915282610e14565b6001600160a01b0382163314156117415760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a1d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6117b8600033611529565b6117d45760405162461bcd60e51b8152600401610a1d90613cd3565b6117ec600080516020613f9e83398151915282611529565b61184b5760405162461bcd60e51b815260206004820152602a60248201527f5374616b65506f6f6c2372656d6f76654f70657261746f723a204e4f5f4f50456044820152695241544f525f524f4c4560b01b6064820152608401610a1d565b610de0600080516020613f9e83398151915282611ae1565b61187b600080516020613f9e83398151915233611529565b6118975760405162461bcd60e51b8152600401610a1d90613da2565b600082815260136020526040812080548392906118b5908490613e28565b90915550505050565b6000806000601284815481106118e457634e487b7160e01b600052603260045260246000fd5b6000918252602090912060039091020154601280546001600160a01b03909216918690811061192357634e487b7160e01b600052603260045260246000fd5b9060005260206000209060030201600101546012868154811061195657634e487b7160e01b600052603260045260246000fd5b9060005260206000209060030201600201549250925092509193909250565b61197f3383611ed4565b61199b5760405162461bcd60e51b8152600401610a1d90613d51565b6119a784848484612387565b50505050565b600042821115611a175760405162461bcd60e51b815260206004820152602f60248201527f5374616b65546f6b656e23676574456c696769626c655374616b65416d6f756e60448201526e743a204e4f5f504153545f4441544560881b6064820152608401610a1d565b600060015b6008548111611abc57611a2e81611cab565b15611aaa576000818152600a6020908152604091829020825160808101845281548152600182015492810192909252600281015492820183905260030154606082015290851015611a7f5750611abc565b60208101518151606491611a9291613e54565b611a9c9190613e40565b611aa69084613e28565b9250505b80611ab481613f08565b915050611a1c565b5092915050565b606061091d826123ba565b600080611ada836112a9565b1192915050565b6000828152600c6020526040902060010154611afd8133612000565b610b5383836120ea565b600061091d600080516020613f9e83398151915283611529565b681b1ae4d6e2ef500000821015611b905760405162461bcd60e51b815260206004820152602d60248201527f5374616b65506f6f6c236465706f7369743a20554e4445525f4d494e494d554d60448201526c17d4d51052d157d05353d55395609a1b6064820152608401610a1d565b610cfe33838361251c565b6007546001600160a01b03163314611bc55760405162461bcd60e51b8152600401610a1d90613d1c565b6001600160a01b038116611c2a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a1d565b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b60006001600160e01b03198216637965db0b60e01b148061091d575061091d8261268b565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611cfd826111a4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b611d3f82611cab565b611da25760405162461bcd60e51b815260206004820152602e60248201527f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60448201526d32bc34b9ba32b73a103a37b5b2b760911b6064820152608401610a1d565b60008281526006602090815260409091208251610b5392840190613648565b600f54611dd9906001600160a01b03168330846126db565b604080516060810182526001600160a01b038481168083526020808401868152428587019081526012805460018101825560009190915295517fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec3444600390970296870180546001600160a01b0319169190961617909455517fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec344585015591517fbb8a6a4669ba250d26cd7a459eca9d215f8307e33aebe50379bc5a3617ec344690930192909255915183815290917f7dbc080e4530c8bcf265eb5c9a35ae096ca1eb607b7e802b96581ef4c5e1a703910160405180910390a25050565b6000611edf82611cab565b611f405760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a1d565b6000611f4b836111a4565b9050806001600160a01b0316846001600160a01b03161480611f865750836001600160a01b0316611f7b846109b5565b6001600160a01b0316145b80611fb657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b611fc9838383612713565b611fd383826128b3565b6001600160a01b039091166000908152600b60209081526040822080546001810182559083529120015550565b61200a8282611529565b610cfe57612022816001600160a01b031660146129cd565b61202d8360206129cd565b60405160200161203e929190613b78565b60408051601f198184030181529082905262461bcd60e51b8252610a1d91600401613c6e565b61206e8282611529565b610cfe576000828152600c602090815260408083206001600160a01b03851684529091529020805460ff191660011790556120a63390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6120f48282611529565b15610cfe576000828152600c602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6002600d5414156121745760405162461bcd60e51b8152600401610a1d90613df1565b6002600d556001600160a01b03831661218c836111a4565b6001600160a01b0316146121ee5760405162461bcd60e51b815260206004820152602360248201527f5374616b65506f6f6c235f77697468647261773a204e4f5f5354414b455f4f576044820152622722a960e91b6064820152608401610a1d565b6121f88282612bb6565b600e5460405163a9059cbb60e01b81526001600160a01b038581166004830152602482018490529091169063a9059cbb90604401602060405180830381600087803b15801561224657600080fd5b505af115801561225a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061227e91906139da565b6122d65760405162461bcd60e51b8152602060048201526024808201527f5374616b65506f6f6c235f77697468647261773a205452414e534645525f46416044820152631253115160e21b6064820152608401610a1d565b81836001600160a01b03167f92ccf450a286a957af52509bc1c9939d1a6a481783e142e41e2499f0bb66ebc68360405161231291815260200190565b60405180910390a350506001600d5550565b6040516001600160a01b038316602482015260448101829052610b5390849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612d30565b612392848484611fbe565b61239e84848484612e02565b6119a75760405162461bcd60e51b8152600401610a1d90613c81565b60606123c582611cab565b61242b5760405162461bcd60e51b815260206004820152603160248201527f45524337323155524953746f726167653a2055524920717565727920666f72206044820152703737b732bc34b9ba32b73a103a37b5b2b760791b6064820152608401610a1d565b6000828152600660205260408120805461244490613ecd565b80601f016020809104026020016040519081016040528092919081815260200182805461247090613ecd565b80156124bd5780601f10612492576101008083540402835291602001916124bd565b820191906000526020600020905b8154815290600101906020018083116124a057829003601f168201915b5050505050905060006124ce612f0f565b90508051600014156124e1575092915050565b8151156125135780826040516020016124fb929190613b49565b60405160208183030381529060405292505050919050565b611fb684612f1e565b6002600d54141561253f5760405162461bcd60e51b8152600401610a1d90613df1565b6002600d5542600061255385858486612fe8565b600e546040516323b872dd60e01b81526001600160a01b038881166004830152306024830152604482018890529293509116906323b872dd90606401602060405180830381600087803b1580156125a957600080fd5b505af11580156125bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125e191906139da565b6126395760405162461bcd60e51b815260206004820152602360248201527f5374616b65506f6f6c235f6465706f7369743a205452414e534645525f46414960448201526213115160ea1b6064820152608401610a1d565b604080518581526020810185905282916001600160a01b038816917f91ede45f04a37a7c170f5c1207df3b6bc748dc1e04ad5e917a241d0f52feada3910160405180910390a350506001600d55505050565b60006001600160e01b031982166380ac58cd60e01b14806126bc57506001600160e01b03198216635b5e139f60e01b145b8061091d57506301ffc9a760e01b6001600160e01b031983161461091d565b6040516001600160a01b03808516602483015283166044820152606481018290526119a79085906323b872dd60e01b90608401612350565b826001600160a01b0316612726826111a4565b6001600160a01b03161461278e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610a1d565b6001600160a01b0382166127f05760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610a1d565b6127fb600082611cc8565b6001600160a01b0383166000908152600360205260408120805460019290612824908490613e73565b90915550506001600160a01b0382166000908152600360205260408120805460019290612852908490613e28565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6001600160a01b0382166000908152600b60205260408120905b81548110156119a757828282815481106128f757634e487b7160e01b600052603260045260246000fd5b906000526020600020015414156129bb57815461291690600190613e73565b8114612982578154829061292c90600190613e73565b8154811061294a57634e487b7160e01b600052603260045260246000fd5b906000526020600020015482828154811061297557634e487b7160e01b600052603260045260246000fd5b6000918252602090912001555b818054806129a057634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590556119a7565b806129c581613f08565b9150506128cd565b606060006129dc836002613e54565b6129e7906002613e28565b67ffffffffffffffff811115612a0d57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612a37576020820181803683370190505b509050600360fc1b81600081518110612a6057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110612a9d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506000612ac1846002613e54565b612acc906001613e28565b90505b6001811115612b60576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110612b0e57634e487b7160e01b600052603260045260246000fd5b1a60f81b828281518110612b3257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535060049490941c93612b5981613eb6565b9050612acf565b508315612baf5760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a1d565b9392505050565b612bbf82611cab565b612c245760405162461bcd60e51b815260206004820152603060248201527f5374616b65546f6b656e235f64656372656173655374616b65416d6f756e743a60448201526f0814d51052d157d393d517d193d5539160821b6064820152608401610a1d565b6000828152600a6020526040902054811115612ca85760405162461bcd60e51b815260206004820152603a60248201527f5374616b65546f6b656e235f64656372656173655374616b65416d6f756e743a60448201527f20494e53554646494349454e545f5354414b455f414d4f554e540000000000006064820152608401610a1d565b6000828152600a6020526040902054811415612cc757610cfe826130c6565b6000828152600a6020526040902054612ce09082613168565b6000838152600a60209081526040918290209290925580518481529182018390527f9ce0fe3a2c7c141618ca6eb14273c7863eb6cfb1cdbfe0cb511d8006b1c1841a910160405180910390a15050565b6000612d85826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166131749092919063ffffffff16565b805190915015610b535780806020019051810190612da391906139da565b610b535760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610a1d565b60006001600160a01b0384163b15612f0457604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612e46903390899088908890600401613bed565b602060405180830381600087803b158015612e6057600080fd5b505af1925050508015612e90575060408051601f3d908101601f19168201909252612e8d91810190613a4c565b60015b612eea573d808015612ebe576040519150601f19603f3d011682016040523d82523d6000602084013e612ec3565b606091505b508051612ee25760405162461bcd60e51b8152600401610a1d90613c81565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611fb6565b506001949350505050565b60606009805461093290613ecd565b6060612f2982611cab565b612f8d5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610a1d565b6000612f97612f0f565b90506000815111612fb75760405180602001604052806000815250612baf565b80612fc184613183565b604051602001612fd2929190613b49565b6040516020818303038152906040529392505050565b60008084116130395760405162461bcd60e51b815260206004820181905260248201527f5374616b65546f6b656e235f6d696e743a20494e56414c49445f414d4f554e546044820152606401610a1d565b6008805490600061304983613f08565b9190505550600061305861329d565b9050613066866008546132d9565b600880546000908152600a60209081526040808320898155600180820196909655600281018990556003018790556001600160a01b038a168352600b82528220835481549586018255908352912090920191909155549050949350505050565b6130cf81611cab565b6131255760405162461bcd60e51b815260206004820152602160248201527f5374616b65546f6b656e235f6275726e3a205354414b455f4e4f545f464f554e6044820152601160fa1b6064820152608401610a1d565b6000613130826111a4565b905061313b8261340c565b6000828152600a60205260408120818155600181018290556002810182905560030155610cfe81836128b3565b6000612baf8284613e73565b6060611fb6848460008561344c565b6060816131a75750506040805180820190915260018152600360fc1b602082015290565b8160005b81156131d157806131bb81613f08565b91506131ca9050600a83613e40565b91506131ab565b60008167ffffffffffffffff8111156131fa57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613224576020820181803683370190505b5090505b8415611fb657613239600183613e73565b9150613246600a86613f23565b613251906030613e28565b60f81b81838151811061327457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613296600a86613e40565b9450613228565b600061012c60085410156132b15750607890565b60085461012c111580156132c85750610fa0600854105b156132d35750606e90565b50606490565b6001600160a01b03821661332f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a1d565b61333881611cab565b156133855760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a1d565b6001600160a01b03821660009081526003602052604081208054600192906133ae908490613e28565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b61341581613574565b6000818152600660205260409020805461342e90613ecd565b159050610de0576000818152600660205260408120610de0916136cc565b6060824710156134ad5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610a1d565b843b6134fb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610a1d565b600080866001600160a01b031685876040516135179190613b2d565b60006040518083038185875af1925050503d8060008114613554576040519150601f19603f3d011682016040523d82523d6000602084013e613559565b606091505b509150915061356982828661360f565b979650505050505050565b600061357f826111a4565b905061358c600083611cc8565b6001600160a01b03811660009081526003602052604081208054600192906135b5908490613e73565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6060831561361e575081612baf565b82511561362e5782518084602001fd5b8160405162461bcd60e51b8152600401610a1d9190613c6e565b82805461365490613ecd565b90600052602060002090601f01602090048101928261367657600085556136bc565b82601f1061368f57805160ff19168380011785556136bc565b828001600101855582156136bc579182015b828111156136bc5782518255916020019190600101906136a1565b506136c8929150613702565b5090565b5080546136d890613ecd565b6000825580601f106136e8575050565b601f016020900490600052602060002090810190610de091905b5b808211156136c85760008155600101613703565b600067ffffffffffffffff8084111561373257613732613f63565b604051601f8501601f19908116603f0116810190828211818310171561375a5761375a613f63565b8160405280935085815286868601111561377357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146137a457600080fd5b919050565b60008083601f8401126137ba578081fd5b50813567ffffffffffffffff8111156137d1578182fd5b6020830191508360208260051b85010111156137ec57600080fd5b9250929050565b600082601f830112613803578081fd5b612baf83833560208501613717565b600060208284031215613823578081fd5b612baf8261378d565b6000806040838503121561383e578081fd5b6138478361378d565b91506138556020840161378d565b90509250929050565b600080600060608486031215613872578081fd5b61387b8461378d565b92506138896020850161378d565b9150604084013590509250925092565b600080600080608085870312156138ae578081fd5b6138b78561378d565b93506138c56020860161378d565b925060408501359150606085013567ffffffffffffffff8111156138e7578182fd5b8501601f810187136138f7578182fd5b61390687823560208401613717565b91505092959194509250565b60008060408385031215613924578182fd5b61392d8361378d565b9150602083013561393d81613f79565b809150509250929050565b6000806040838503121561395a578182fd5b6139638361378d565b946020939093013593505050565b60008060008060408587031215613986578384fd5b843567ffffffffffffffff8082111561399d578586fd5b6139a9888389016137a9565b909650945060208701359150808211156139c1578384fd5b506139ce878288016137a9565b95989497509550505050565b6000602082840312156139eb578081fd5b8151612baf81613f79565b600060208284031215613a07578081fd5b5035919050565b60008060408385031215613a20578182fd5b823591506138556020840161378d565b600060208284031215613a41578081fd5b8135612baf81613f87565b600060208284031215613a5d578081fd5b8151612baf81613f87565b600060208284031215613a79578081fd5b813567ffffffffffffffff811115613a8f578182fd5b611fb6848285016137f3565b60008060408385031215613aad578182fd5b82359150602083013567ffffffffffffffff811115613aca578182fd5b613ad6858286016137f3565b9150509250929050565b60008060408385031215613af2578182fd5b50508035926020909101359150565b60008151808452613b19816020860160208601613e8a565b601f01601f19169290920160200192915050565b60008251613b3f818460208701613e8a565b9190910192915050565b60008351613b5b818460208801613e8a565b835190830190613b6f818360208801613e8a565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351613bb0816017850160208801613e8a565b7001034b99036b4b9b9b4b733903937b6329607d1b6017918401918201528351613be1816028840160208801613e8a565b01602801949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613c2090830184613b01565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015613c6257835183529284019291840191600101613c46565b50909695505050505050565b602081526000612baf6020830184613b01565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526029908201527f5374616b65506f6f6c236f6e6c7941646d696e3a2043414c4c45525f4e4f5f41604082015268444d494e5f524f4c4560b81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602f908201527f5374616b65506f6f6c236f6e6c794f70657261746f723a2043414c4c45525f4e60408201526e4f5f4f50455241544f525f524f4c4560881b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60008219821115613e3b57613e3b613f37565b500190565b600082613e4f57613e4f613f4d565b500490565b6000816000190483118215151615613e6e57613e6e613f37565b500290565b600082821015613e8557613e85613f37565b500390565b60005b83811015613ea5578181015183820152602001613e8d565b838111156119a75750506000910152565b600081613ec557613ec5613f37565b506000190190565b600181811c90821680613ee157607f821691505b60208210811415613f0257634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613f1c57613f1c613f37565b5060010190565b600082613f3257613f32613f4d565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610de057600080fd5b6001600160e01b031981168114610de057600080fdfe97667070c54ef182b0f5858b034beac1b6f3089aa2d3188bb1e8929f4fa9b929a264697066735822122069b4ef8fd8550fa978acf17e026931165f8a790ef9b4b47674ecc1dfe4c7bef664736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000007aa1d538bc7b8f756179d37fb92dc0435fb71ab100000000000000000000000004068da6c83afcfa0e13ba15a6696662335d5b75000000000000000000000000000000000000000000000000000000000000001a496465786f2047656e6572616c205374616b696e6720506f6f6c000000000000000000000000000000000000000000000000000000000000000000000000000449475350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : stakeTokenName_ (string): Idexo General Staking Pool
Arg [1] : stakeTokenSymbol_ (string): IGSP
Arg [2] : stakeTokenBASEUri_ (string):
Arg [3] : depositToken_ (address): 0x7AA1D538Bc7B8f756179D37FB92DC0435FB71aB1
Arg [4] : rewardToken_ (address): 0x04068DA6C83AFCFA0e13ba15A6696662335D5B75

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 0000000000000000000000007aa1d538bc7b8f756179d37fb92dc0435fb71ab1
Arg [4] : 00000000000000000000000004068da6c83afcfa0e13ba15a6696662335d5b75
Arg [5] : 000000000000000000000000000000000000000000000000000000000000001a
Arg [6] : 496465786f2047656e6572616c205374616b696e6720506f6f6c000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 4947535000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

71294:10839:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72651:37;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;10240:32:1;;;10222:51;;10304:2;10289:18;;10282:34;;;;10332:18;;;10325:34;10210:2;10195:18;72651:37:0;;;;;;;;73919:243;;;;;;:::i;:::-;;:::i;:::-;;;11597:14:1;;11590:22;11572:41;;11560:2;11545:18;73919:243:0;11527:92:1;71555:41:0;;71589:7;71555:41;;;;;11770:25:1;;;11758:2;11743:18;71555:41:0;11725:76:1;38233:100:0;;;:::i;:::-;;;;;;;:::i;39693:221::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;8824:32:1;;;8806:51;;8794:2;8779:18;39693:221:0;8761:102:1;39230:397:0;;;;;;:::i;:::-;;:::i;:::-;;65932:380;;;;;;:::i;:::-;;:::i;:::-;;;;30221:25:1;;;30277:2;30262:18;;30255:34;;;;30305:18;;;30298:34;30363:2;30348:18;;30341:34;30208:3;30193:19;65932:380:0;30175:206:1;64452:384:0;;;;;;:::i;:::-;;:::i;71766:47::-;;71811:2;71766:47;;63526:162;;;;;;:::i;:::-;;:::i;72556:55::-;;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;10619:32:1;;;10601:51;;10683:2;10668:18;;10661:34;;;;10711:18;;;10704:34;10769:2;10754:18;;10747:34;10588:3;10573:19;72556:55:0;10555:232:1;78996:241:0;;;;;;:::i;:::-;;:::i;40583:305::-;;;;;;:::i;:::-;;:::i;24257:123::-;;;;;;:::i;:::-;24323:7;24350:12;;;:6;:12;;;;;:22;;;;24257:123;24642:147;;;;;;:::i;:::-;;:::i;25690:218::-;;;;;;:::i;:::-;;:::i;40959:151::-;;;;;;:::i;:::-;;:::i;76830:381::-;;;;;;:::i;:::-;;:::i;64182:192::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;63774:98::-;;;;;;:::i;:::-;;:::i;62675:55::-;;;;;;:::i;:::-;;:::i;81246:323::-;;;;;;:::i;:::-;;:::i;37927:239::-;;;;;;:::i;:::-;;:::i;62376:21::-;;;:::i;37657:208::-;;;;;;:::i;:::-;;:::i;62263:23::-;;;;;;52579:148;;;:::i;62293:51::-;;62341:3;62293:51;;71712:47;;71757:2;71712:47;;71603:39;;71634:8;71603:39;;80679:482;;;;;;:::i;:::-;;:::i;79633:178::-;;;;;;:::i;:::-;79744:7;79777:25;;;:16;:25;;;;;;;79633:178;51928:87;52001:6;;-1:-1:-1;;;;;52001:6:0;51928:87;;23255:139;;;;;;:::i;:::-;;:::i;80169:290::-;;;;;;:::i;:::-;;:::i;38402:104::-;;;:::i;72766:51::-;;;;;;:::i;:::-;;;;;;;;;;;;;;74835:320;;;;;;:::i;:::-;;:::i;21220:49::-;;21265:4;21220:49;;39986:295;;;;;;:::i;:::-;;:::i;75268:314::-;;;;;;:::i;:::-;;:::i;79895:185::-;;;;;;:::i;:::-;;:::i;79310:250::-;;;;;;:::i;:::-;;:::i;41181:285::-;;;;;;:::i;:::-;;:::i;66489:664::-;;;;;;:::i;:::-;;:::i;63198:166::-;;;;;;:::i;:::-;;:::i;72059:26::-;;;;;-1:-1:-1;;;;;72059:26:0;;;71963:53;;72012:4;71963:53;;65577:176;;;;;;:::i;:::-;;:::i;25034:149::-;;;;;;:::i;:::-;;:::i;71509:39::-;;71541:7;71509:39;;62580:48;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;75712:190;;;;;;:::i;:::-;;:::i;76170:277::-;;;;;;:::i;:::-;;:::i;40352:164::-;;;;;;:::i;:::-;-1:-1:-1;;;;;40473:25:0;;;40449:4;40473:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;40352:164;72216:25;;;;;;71903:51;;71944:10;71903:51;;52882:244;;;;;;:::i;:::-;;:::i;71436:66::-;;-1:-1:-1;;;;;;;;;;;71436:66:0;;72125:25;;;;;-1:-1:-1;;;;;72125:25:0;;;72651:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;72651:37:0;;;;-1:-1:-1;72651:37:0;:::o;73919:243::-;74089:4;74118:36;74142:11;74118:23;:36::i;:::-;74111:43;73919:243;-1:-1:-1;;73919:243:0:o;38233:100::-;38287:13;38320:5;38313:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38233:100;:::o;39693:221::-;39769:7;39797:16;39805:7;39797;:16::i;:::-;39789:73;;;;-1:-1:-1;;;39789:73:0;;23717:2:1;39789:73:0;;;23699:21:1;23756:2;23736:18;;;23729:30;23795:34;23775:18;;;23768:62;-1:-1:-1;;;23846:18:1;;;23839:42;23898:19;;39789:73:0;;;;;;;;;-1:-1:-1;39882:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;39882:24:0;;39693:221::o;39230:397::-;39311:13;39327:23;39342:7;39327:14;:23::i;:::-;39311:39;;39375:5;-1:-1:-1;;;;;39369:11:0;:2;-1:-1:-1;;;;;39369:11:0;;;39361:57;;;;-1:-1:-1;;;39361:57:0;;25317:2:1;39361:57:0;;;25299:21:1;25356:2;25336:18;;;25329:30;25395:34;25375:18;;;25368:62;-1:-1:-1;;;25446:18:1;;;25439:31;25487:19;;39361:57:0;25289:223:1;39361:57:0;15067:10;-1:-1:-1;;;;;39439:21:0;;;;:62;;-1:-1:-1;39464:37:0;39481:5;15067:10;40352:164;:::i;39464:37::-;39431:154;;;;-1:-1:-1;;;39431:154:0;;20452:2:1;39431:154:0;;;20434:21:1;20491:2;20471:18;;;20464:30;20530:34;20510:18;;;20503:62;20601:26;20581:18;;;20574:54;20645:19;;39431:154:0;20424:246:1;39431:154:0;39598:21;39607:2;39611:7;39598:8;:21::i;:::-;39230:397;;;:::o;65932:380::-;66053:7;66062;66071;66080;66113:16;66121:7;66113;:16::i;:::-;66105:69;;;;-1:-1:-1;;;66105:69:0;;20043:2:1;66105:69:0;;;20025:21:1;20082:2;20062:18;;;20055:30;20121:34;20101:18;;;20094:62;-1:-1:-1;;;20172:18:1;;;20165:38;20220:19;;66105:69:0;20015:230:1;66105:69:0;-1:-1:-1;;;66193:15:0;;;;-1:-1:-1;66193:6:0;:15;;;;;:22;;66217:26;;;;66245:27;;;;66274:29;;;;;66193:22;;66217:26;;66245:27;66274:29;65932:380::o;64452:384::-;-1:-1:-1;;;;;64612:18:0;;64559:7;64612:18;;;:9;:18;;;;;;;;64584:46;;;;;;;;;;;;;;;;;64559:7;;64584:46;;64612:18;64584:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64641:24;64681:9;64693:1;64681:13;;64676:119;64700:8;:15;64696:1;:19;64676:119;;;64757:6;:19;64764:8;64773:1;64764:11;;;;;;-1:-1:-1;;;64764:11:0;;;;;;;;;;;;;;;64757:19;;;;;;;;;;;:26;;;64737:46;;;;;:::i;:::-;;-1:-1:-1;64717:3:0;;;;:::i;:::-;;;;64676:119;;;-1:-1:-1;64812:16:0;64452:384;-1:-1:-1;;;64452:384:0:o;63526:162::-;52001:6;;-1:-1:-1;;;;;52001:6:0;15067:10;52148:23;52140:68;;;;-1:-1:-1;;;52140:68:0;;;;;;;:::i;:::-;63642:38:::1;63661:7;63670:9;63642:18;:38::i;:::-;63526:162:::0;;:::o;72556:55::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;72556:55:0;;;;-1:-1:-1;72556:55:0;;;:::o;78996:241::-;74608:34;-1:-1:-1;;;;;;;;;;;74631:10:0;74608:7;:34::i;:::-;74600:94;;;;-1:-1:-1;;;74600:94:0;;;;;;;:::i;:::-;79142:1:::1;79133:6;:10;79125:59;;;::::0;-1:-1:-1;;;79125:59:0;;13660:2:1;79125:59:0::1;::::0;::::1;13642:21:1::0;13699:2;13679:18;;;13672:30;13738:34;13718:18;;;13711:62;-1:-1:-1;;;13789:18:1;;;13782:34;13833:19;;79125:59:0::1;13632:226:1::0;79125:59:0::1;79195:34;79210:10;79222:6;79195:14;:34::i;:::-;78996:241:::0;:::o;40583:305::-;40744:41;15067:10;40777:7;40744:18;:41::i;:::-;40736:103;;;;-1:-1:-1;;;40736:103:0;;;;;;;:::i;:::-;40852:28;40862:4;40868:2;40872:7;40852:9;:28::i;24642:147::-;24323:7;24350:12;;;:6;:12;;;;;:22;;;22824:30;22835:4;15067:10;22824;:30::i;:::-;24756:25:::1;24767:4;24773:7;24756:10;:25::i;25690:218::-:0;-1:-1:-1;;;;;25786:23:0;;15067:10;25786:23;25778:83;;;;-1:-1:-1;;;25778:83:0;;29341:2:1;25778:83:0;;;29323:21:1;29380:2;29360:18;;;29353:30;29419:34;29399:18;;;29392:62;-1:-1:-1;;;29470:18:1;;;29463:45;29525:19;;25778:83:0;29313:237:1;25778:83:0;25874:26;25886:4;25892:7;25874:11;:26::i;40959:151::-;41063:39;41080:4;41086:2;41090:7;41063:39;;;;;;;;;;;;:16;:39::i;76830:381::-;76975:1;76966:6;:10;76958:72;;;;-1:-1:-1;;;76958:72:0;;28146:2:1;76958:72:0;;;28128:21:1;28185:2;28165:18;;;28158:30;28224:34;28204:18;;;28197:62;-1:-1:-1;;;28275:18:1;;;28268:47;28332:19;;76958:72:0;28118:239:1;76958:72:0;77049:15;;;;:6;:15;;;;;:29;;;77081:15;-1:-1:-1;77041:113:0;;;;-1:-1:-1;;;77041:113:0;;17230:2:1;77041:113:0;;;17212:21:1;17269:2;17249:18;;;17242:30;17308:34;17288:18;;;17281:62;-1:-1:-1;;;17359:18:1;;;17352:51;17420:19;;77041:113:0;17202:243:1;77041:113:0;77165:38;77175:10;77187:7;77196:6;77165:9;:38::i;64182:192::-;-1:-1:-1;;;;;64348:18:0;;;;;;:9;:18;;;;;;;;;64341:25;;;;;;;;;;;;;;;;;64307:16;;64341:25;;;64348:18;64341:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64182:192;;;:::o;63774:98::-;52001:6;;-1:-1:-1;;;;;52001:6:0;15067:10;52148:23;52140:68;;;;-1:-1:-1;;;52140:68:0;;;;;;;:::i;:::-;63846:18;;::::1;::::0;:7:::1;::::0;:18:::1;::::0;::::1;::::0;::::1;:::i;62675:55::-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;81246:323::-;74608:34;-1:-1:-1;;;;;;;;;;;74631:10:0;74608:7;:34::i;:::-;74600:94;;;;-1:-1:-1;;;74600:94:0;;;;;;;:::i;:::-;81482:26:::1;::::0;-1:-1:-1;;;81482:26:0;;-1:-1:-1;;;;;9933:32:1;;;81482:26:0::1;::::0;::::1;9915:51:1::0;9982:18;;;9975:34;;;81415:6:0;;81482:14;;::::1;::::0;::::1;::::0;9888:18:1;;81482:26:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;81524:37:0::1;::::0;;-1:-1:-1;;;;;9933:32:1;;;9915:51;;9997:2;9982:18;;9975:34;;;81524:37:0;::::1;::::0;81530:10:::1;::::0;81524:37:::1;::::0;9888:18:1;81524:37:0::1;;;;;;;74705:1;81246:323:::0;;;:::o;37927:239::-;37999:7;38035:16;;;:7;:16;;;;;;-1:-1:-1;;;;;38035:16:0;38070:19;38062:73;;;;-1:-1:-1;;;38062:73:0;;21288:2:1;38062:73:0;;;21270:21:1;21327:2;21307:18;;;21300:30;21366:34;21346:18;;;21339:62;-1:-1:-1;;;21417:18:1;;;21410:39;21466:19;;38062:73:0;21260:231:1;62376:21:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;37657:208::-;37729:7;-1:-1:-1;;;;;37757:19:0;;37749:74;;;;-1:-1:-1;;;37749:74:0;;20877:2:1;37749:74:0;;;20859:21:1;20916:2;20896:18;;;20889:30;20955:34;20935:18;;;20928:62;-1:-1:-1;;;21006:18:1;;;20999:40;21056:19;;37749:74:0;20849:232:1;37749:74:0;-1:-1:-1;;;;;;37841:16:0;;;;;:9;:16;;;;;;;37657:208::o;52579:148::-;52001:6;;-1:-1:-1;;;;;52001:6:0;15067:10;52148:23;52140:68;;;;-1:-1:-1;;;52140:68:0;;;;;;;:::i;:::-;52670:6:::1;::::0;52649:40:::1;::::0;52686:1:::1;::::0;-1:-1:-1;;;;;52670:6:0::1;::::0;52649:40:::1;::::0;52686:1;;52649:40:::1;52700:6;:19:::0;;-1:-1:-1;;;;;;52700:19:0::1;::::0;;52579:148::o;80679:482::-;29065:1;29662:7;;:19;;29654:63;;;;-1:-1:-1;;;29654:63:0;;;;;;;:::i;:::-;29065:1;29795:7;:18;80843:10:::1;80823:16;80831:7:::0;80823::::1;:16::i;:::-;-1:-1:-1::0;;;;;80823:30:0::1;;80814:89;;;::::0;-1:-1:-1;;;80814:89:0;;22113:2:1;80814:89:0::1;::::0;::::1;22095:21:1::0;22152:2;22132:18;;;22125:30;22191:34;22171:18;;;22164:62;-1:-1:-1;;;22242:18:1;;;22235:42;22294:19;;80814:89:0::1;22085:234:1::0;80814:89:0::1;80922:25;::::0;;;:16:::1;:25;::::0;;;;;:35;-1:-1:-1;80922:35:0::1;80914:89;;;::::0;-1:-1:-1;;;80914:89:0;;26911:2:1;80914:89:0::1;::::0;::::1;26893:21:1::0;26950:2;26930:18;;;26923:30;26989:34;26969:18;;;26962:62;-1:-1:-1;;;27040:18:1;;;27033:39;27089:19;;80914:89:0::1;26883:231:1::0;80914:89:0::1;81014:25;::::0;;;:16:::1;:25;::::0;;;;:35;;81043:6;;81014:25;:35:::1;::::0;81043:6;;81014:35:::1;:::i;:::-;::::0;;;-1:-1:-1;;81060:11:0::1;::::0;:44:::1;::::0;-1:-1:-1;;;;;81060:11:0::1;81085:10;81097:6:::0;81060:24:::1;:44::i;:::-;81120:33;::::0;11770:25:1;;;81134:10:0::1;::::0;81120:33:::1;::::0;11758:2:1;11743:18;81120:33:0::1;;;;;;;-1:-1:-1::0;;29021:1:0;29974:7;:22;80679:482::o;23255:139::-;23333:4;23357:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;23357:29:0;;;;;;;;;;;;;;;23255:139::o;80169:290::-;74608:34;-1:-1:-1;;;;;;;;;;;74631:10:0;74608:7;:34::i;:::-;74600:94;;;;-1:-1:-1;;;74600:94:0;;;;;;;:::i;:::-;80341:9:::1;80336:116;80356:19:::0;;::::1;80336:116;;;80430:7;;80438:1;80430:10;;;;;-1:-1:-1::0;;;80430:10:0::1;;;;;;;;;;;;;;;80397:16;:29;80414:8;;80423:1;80414:11;;;;;-1:-1:-1::0;;;80414:11:0::1;;;;;;;;;;;;;;;80397:29;;;;;;;;;;;;:43;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;80377:3:0;;-1:-1:-1;80377:3:0::1;::::0;::::1;:::i;:::-;;;;80336:116;;;;80169:290:::0;;;;:::o;38402:104::-;38458:13;38491:7;38484:14;;;;;:::i;74835:320::-;74377:39;21265:4;74405:10;74377:7;:39::i;:::-;74369:93;;;;-1:-1:-1;;;74369:93:0;;;;;;;:::i;:::-;75024:31:::1;-1:-1:-1::0;;;;;;;;;;;75047:7:0::1;75024;:31::i;:::-;75023:32;75015:88;;;::::0;-1:-1:-1;;;75015:88:0;;22526:2:1;75015:88:0::1;::::0;::::1;22508:21:1::0;22565:2;22545:18;;;22538:30;22604:34;22584:18;;;22577:62;-1:-1:-1;;;22655:18:1;;;22648:41;22706:19;;75015:88:0::1;22498:233:1::0;75015:88:0::1;75114:33;-1:-1:-1::0;;;;;;;;;;;75139:7:0::1;75114:9;:33::i;39986:295::-:0;-1:-1:-1;;;;;40089:24:0;;15067:10;40089:24;;40081:62;;;;-1:-1:-1;;;40081:62:0;;18459:2:1;40081:62:0;;;18441:21:1;18498:2;18478:18;;;18471:30;18537:27;18517:18;;;18510:55;18582:18;;40081:62:0;18431:175:1;40081:62:0;15067:10;40156:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;40156:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;40156:53:0;;;;;;;;;;40225:48;;11572:41:1;;;40156:42:0;;15067:10;40225:48;;11545:18:1;40225:48:0;;;;;;;39986:295;;:::o;75268:314::-;74377:39;21265:4;74405:10;74377:7;:39::i;:::-;74369:93;;;;-1:-1:-1;;;74369:93:0;;;;;;;:::i;:::-;75451:31:::1;-1:-1:-1::0;;;;;;;;;;;75474:7:0::1;75451;:31::i;:::-;75443:86;;;::::0;-1:-1:-1;;;75443:86:0;;16053:2:1;75443:86:0::1;::::0;::::1;16035:21:1::0;16092:2;16072:18;;;16065:30;16131:34;16111:18;;;16104:62;-1:-1:-1;;;16182:18:1;;;16175:40;16232:19;;75443:86:0::1;16025:232:1::0;75443:86:0::1;75540:34;-1:-1:-1::0;;;;;;;;;;;75566:7:0::1;75540:10;:34::i;79895:185::-:0;74608:34;-1:-1:-1;;;;;;;;;;;74631:10:0;74608:7;:34::i;:::-;74600:94;;;;-1:-1:-1;;;74600:94:0;;;;;;;:::i;:::-;80037:25:::1;::::0;;;:16:::1;:25;::::0;;;;:35;;80066:6;;80037:25;:35:::1;::::0;80066:6;;80037:35:::1;:::i;:::-;::::0;;;-1:-1:-1;;;;79895:185:0:o;79310:250::-;79414:7;79423;79432;79465:14;79480:2;79465:18;;;;;;-1:-1:-1;;;79465:18:0;;;;;;;;;;;;;;;;;;;;;;:27;79494:14;:18;;-1:-1:-1;;;;;79465:27:0;;;;79509:2;;79494:18;;;;-1:-1:-1;;;79494:18:0;;;;;;;;;;;;;;;;;;;:25;;;79521:14;79536:2;79521:18;;;;;;-1:-1:-1;;;79521:18:0;;;;;;;;;;;;;;;;;;;:30;;;79457:95;;;;;;79310:250;;;;;:::o;41181:285::-;41313:41;15067:10;41346:7;41313:18;:41::i;:::-;41305:103;;;;-1:-1:-1;;;41305:103:0;;;;;;;:::i;:::-;41419:39;41433:4;41439:2;41443:7;41452:5;41419:13;:39::i;:::-;41181:285;;;;:::o;66489:664::-;66621:7;66666:15;66654:8;:27;;66646:87;;;;-1:-1:-1;;;66646:87:0;;14472:2:1;66646:87:0;;;14454:21:1;14511:2;14491:18;;;14484:30;14550:34;14530:18;;;14523:62;-1:-1:-1;;;14601:18:1;;;14594:45;14656:19;;66646:87:0;14444:237:1;66646:87:0;66744:20;66794:1;66777:337;66802:8;;66797:1;:13;66777:337;;66836:10;66844:1;66836:7;:10::i;:::-;66832:271;;;66867:18;66888:9;;;:6;:9;;;;;;;;;66867:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66920:28;-1:-1:-1;66916:82:0;;;66973:5;;;66916:82;67047:16;;;;67032:12;;62341:3;;67032:31;;;:::i;:::-;:55;;;;:::i;:::-;67016:71;;;;:::i;:::-;;;66832:271;;66812:3;;;;:::i;:::-;;;;66777:337;;;-1:-1:-1;67133:12:0;66489:664;-1:-1:-1;;66489:664:0:o;63198:166::-;63289:13;63322:34;63348:7;63322:25;:34::i;65577:176::-;65694:4;65744:1;65723:18;65733:7;65723:9;:18::i;:::-;:22;;65577:176;-1:-1:-1;;65577:176:0:o;25034:149::-;24323:7;24350:12;;;:6;:12;;;;;:22;;;22824:30;22835:4;15067:10;22824;:30::i;:::-;25149:26:::1;25161:4;25167:7;25149:11;:26::i;75712:190::-:0;75834:4;75863:31;-1:-1:-1;;;;;;;;;;;75886:7:0;75863;:31::i;76170:277::-;71944:10;76311:6;:24;;76303:82;;;;-1:-1:-1;;;76303:82:0;;27321:2:1;76303:82:0;;;27303:21:1;27360:2;27340:18;;;27333:30;27399:34;27379:18;;;27372:62;-1:-1:-1;;;27450:18:1;;;27443:43;27503:19;;76303:82:0;27293:235:1;76303:82:0;76396:43;76405:10;76417:6;76425:13;76396:8;:43::i;52882:244::-;52001:6;;-1:-1:-1;;;;;52001:6:0;15067:10;52148:23;52140:68;;;;-1:-1:-1;;;52140:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;52971:22:0;::::1;52963:73;;;::::0;-1:-1:-1;;;52963:73:0;;14065:2:1;52963:73:0::1;::::0;::::1;14047:21:1::0;14104:2;14084:18;;;14077:30;14143:34;14123:18;;;14116:62;-1:-1:-1;;;14194:18:1;;;14187:36;14240:19;;52963:73:0::1;14037:228:1::0;52963:73:0::1;53073:6;::::0;53052:38:::1;::::0;-1:-1:-1;;;;;53052:38:0;;::::1;::::0;53073:6:::1;::::0;53052:38:::1;::::0;53073:6:::1;::::0;53052:38:::1;53101:6;:17:::0;;-1:-1:-1;;;;;;53101:17:0::1;-1:-1:-1::0;;;;;53101:17:0;;;::::1;::::0;;;::::1;::::0;;52882:244::o;22946:217::-;23031:4;-1:-1:-1;;;;;;23055:47:0;;-1:-1:-1;;;23055:47:0;;:100;;;23119:36;23143:11;23119:23;:36::i;42933:127::-;42998:4;43022:16;;;:7;:16;;;;;;-1:-1:-1;;;;;43022:16:0;:30;;;42933:127::o;46810:174::-;46885:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;46885:29:0;-1:-1:-1;;;;;46885:29:0;;;;;;;;:24;;46939:23;46885:24;46939:14;:23::i;:::-;-1:-1:-1;;;;;46930:46:0;;;;;;;;;;;46810:174;;:::o;50259:217::-;50359:16;50367:7;50359;:16::i;:::-;50351:75;;;;-1:-1:-1;;;50351:75:0;;21698:2:1;50351:75:0;;;21680:21:1;21737:2;21717:18;;;21710:30;21776:34;21756:18;;;21749:62;-1:-1:-1;;;21827:18:1;;;21820:44;21881:19;;50351:75:0;21670:236:1;50351:75:0;50437:19;;;;:10;:19;;;;;;;;:31;;;;;;;;:::i;81731:393::-;81846:11;;:60;;-1:-1:-1;;;;;81846:11:0;81875:7;81892:4;81899:6;81846:28;:60::i;:::-;81937:130;;;;;;;;-1:-1:-1;;;;;81937:130:0;;;;;;;;;;;;;82040:15;81937:130;;;;;;81917:14;:151;;;;;;;-1:-1:-1;81917:151:0;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;81917:151:0;;;;;;;;;;;;;;;;;;;;;;;;82084:32;;11770:25:1;;;81937:130:0;;82084:32;;11743:18:1;82084:32:0;;;;;;;81731:393;;:::o;43227:348::-;43320:4;43345:16;43353:7;43345;:16::i;:::-;43337:73;;;;-1:-1:-1;;;43337:73:0;;19220:2:1;43337:73:0;;;19202:21:1;19259:2;19239:18;;;19232:30;19298:34;19278:18;;;19271:62;-1:-1:-1;;;19349:18:1;;;19342:42;19401:19;;43337:73:0;19192:234:1;43337:73:0;43421:13;43437:23;43452:7;43437:14;:23::i;:::-;43421:39;;43490:5;-1:-1:-1;;;;;43479:16:0;:7;-1:-1:-1;;;;;43479:16:0;;:51;;;;43523:7;-1:-1:-1;;;;;43499:31:0;:20;43511:7;43499:11;:20::i;:::-;-1:-1:-1;;;;;43499:31:0;;43479:51;:87;;;-1:-1:-1;;;;;;40473:25:0;;;40449:4;40473:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;43534:32;43471:96;43227:348;-1:-1:-1;;;;43227:348:0:o;70428:242::-;70555:34;70571:4;70577:2;70581:7;70555:15;:34::i;:::-;70600:24;70610:4;70616:7;70600:9;:24::i;:::-;-1:-1:-1;;;;;70635:13:0;;;;;;;:9;:13;;;;;;;:27;;;;;;;;;;;;;;-1:-1:-1;70428:242:0:o;23684:384::-;23764:22;23772:4;23778:7;23764;:22::i;:::-;23760:301;;23896:41;23924:7;-1:-1:-1;;;;;23896:41:0;23934:2;23896:19;:41::i;:::-;23994:38;24022:4;24029:2;23994:19;:38::i;:::-;23817:230;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;23817:230:0;;;;;;;;;;-1:-1:-1;;;23803:246:0;;;;;;;:::i;26938:229::-;27013:22;27021:4;27027:7;27013;:22::i;:::-;27008:152;;27052:12;;;;:6;:12;;;;;;;;-1:-1:-1;;;;;27052:29:0;;;;;;;;;:36;;-1:-1:-1;;27052:36:0;27084:4;27052:36;;;27135:12;15067:10;;14987:98;27135:12;-1:-1:-1;;;;;27108:40:0;27126:7;-1:-1:-1;;;;;27108:40:0;27120:4;27108:40;;;;;;;;;;26938:229;;:::o;27175:230::-;27250:22;27258:4;27264:7;27250;:22::i;:::-;27246:152;;;27321:5;27289:12;;;:6;:12;;;;;;;;-1:-1:-1;;;;;27289:29:0;;;;;;;;;;:37;;-1:-1:-1;;27289:37:0;;;27346:40;15067:10;;27289:12;;27346:40;;27321:5;27346:40;27175:230;;:::o;78252:472::-;29065:1;29662:7;;:19;;29654:63;;;;-1:-1:-1;;;29654:63:0;;;;;;;:::i;:::-;29065:1;29795:7;:18;-1:-1:-1;;;;;78426:27:0;::::1;:16;78434:7:::0;78426::::1;:16::i;:::-;-1:-1:-1::0;;;;;78426:27:0::1;;78418:75;;;::::0;-1:-1:-1;;;78418:75:0;;14888:2:1;78418:75:0::1;::::0;::::1;14870:21:1::0;14927:2;14907:18;;;14900:30;14966:34;14946:18;;;14939:62;-1:-1:-1;;;15017:18:1;;;15010:33;15060:19;;78418:75:0::1;14860:225:1::0;78418:75:0::1;78504:45;78525:7;78534:14;78504:20;:45::i;:::-;78568:12;::::0;:46:::1;::::0;-1:-1:-1;;;78568:46:0;;-1:-1:-1;;;;;9933:32:1;;;78568:46:0::1;::::0;::::1;9915:51:1::0;9982:18;;;9975:34;;;78568:12:0;;::::1;::::0;:21:::1;::::0;9888:18:1;;78568:46:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;78560:95;;;::::0;-1:-1:-1;;;78560:95:0;;16825:2:1;78560:95:0::1;::::0;::::1;16807:21:1::0;16864:2;16844:18;;;16837:30;16903:34;16883:18;;;16876:62;-1:-1:-1;;;16954:18:1;;;16947:34;16998:19;;78560:95:0::1;16797:226:1::0;78560:95:0::1;78692:7;78683;-1:-1:-1::0;;;;;78673:43:0::1;;78701:14;78673:43;;;;11770:25:1::0;;11758:2;11743:18;;11725:76;78673:43:0::1;;;;;;;;-1:-1:-1::0;;29021:1:0;29974:7;:22;-1:-1:-1;78252:472:0:o;11244:177::-;11354:58;;-1:-1:-1;;;;;9933:32:1;;11354:58:0;;;9915:51:1;9982:18;;;9975:34;;;11327:86:0;;11347:5;;-1:-1:-1;;;11377:23:0;9888:18:1;;11354:58:0;;;;-1:-1:-1;;11354:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;11354:58:0;-1:-1:-1;;;;;;11354:58:0;;;;;;;;;;11327:19;:86::i;42348:272::-;42462:28;42472:4;42478:2;42482:7;42462:9;:28::i;:::-;42509:48;42532:4;42538:2;42542:7;42551:5;42509:22;:48::i;:::-;42501:111;;;;-1:-1:-1;;;42501:111:0;;;;;;;:::i;49424:679::-;49497:13;49531:16;49539:7;49531;:16::i;:::-;49523:78;;;;-1:-1:-1;;;49523:78:0;;23299:2:1;49523:78:0;;;23281:21:1;23338:2;23318:18;;;23311:30;23377:34;23357:18;;;23350:62;-1:-1:-1;;;23428:18:1;;;23421:47;23485:19;;49523:78:0;23271:239:1;49523:78:0;49614:23;49640:19;;;:10;:19;;;;;49614:45;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49670:18;49691:10;:8;:10::i;:::-;49670:31;;49783:4;49777:18;49799:1;49777:23;49773:72;;;-1:-1:-1;49824:9:0;49424:679;-1:-1:-1;;49424:679:0:o;49773:72::-;49949:23;;:27;49945:108;;50024:4;50030:9;50007:33;;;;;;;;;:::i;:::-;;;;;;;;;;;;;49993:48;;;;49424:679;;;:::o;49945:108::-;50072:23;50087:7;50072:14;:23::i;77360:471::-;29065:1;29662:7;;:19;;29654:63;;;;-1:-1:-1;;;29654:63:0;;;;;;;:::i;:::-;29065:1;29795:7;:18;77545:15:::1;77523:19;77589:50;77595:7:::0;77604:6;77545:15;77625:13;77589:5:::1;:50::i;:::-;77658:12;::::0;:57:::1;::::0;-1:-1:-1;;;77658:57:0;;-1:-1:-1;;;;;9126:15:1;;;77658:57:0::1;::::0;::::1;9108:34:1::0;77701:4:0::1;9158:18:1::0;;;9151:43;9210:18;;;9203:34;;;77571:68:0;;-1:-1:-1;77658:12:0;::::1;::::0;:25:::1;::::0;9043:18:1;;77658:57:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;77650:105;;;::::0;-1:-1:-1;;;77650:105:0;;15292:2:1;77650:105:0::1;::::0;::::1;15274:21:1::0;15331:2;15311:18;;;15304:30;15370:34;15350:18;;;15343:62;-1:-1:-1;;;15421:18:1;;;15414:33;15464:19;;77650:105:0::1;15264:225:1::0;77650:105:0::1;77773:50;::::0;;29911:25:1;;;29967:2;29952:18;;29945:34;;;77792:7:0;;-1:-1:-1;;;;;77773:50:0;::::1;::::0;::::1;::::0;29884:18:1;77773:50:0::1;;;;;;;-1:-1:-1::0;;29021:1:0;29974:7;:22;-1:-1:-1;;;77360:471:0:o;37301:292::-;37403:4;-1:-1:-1;;;;;;37427:40:0;;-1:-1:-1;;;37427:40:0;;:105;;-1:-1:-1;;;;;;;37484:48:0;;-1:-1:-1;;;37484:48:0;37427:105;:158;;;-1:-1:-1;;;;;;;;;;18877:40:0;;;37549:36;18768:157;11429:205;11557:68;;-1:-1:-1;;;;;9126:15:1;;;11557:68:0;;;9108:34:1;9178:15;;9158:18;;;9151:43;9210:18;;;9203:34;;;11530:96:0;;11550:5;;-1:-1:-1;;;11580:27:0;9043:18:1;;11557:68:0;9025:218:1;46148:544:0;46273:4;-1:-1:-1;;;;;46246:31:0;:23;46261:7;46246:14;:23::i;:::-;-1:-1:-1;;;;;46246:31:0;;46238:85;;;;-1:-1:-1;;;46238:85:0;;24491:2:1;46238:85:0;;;24473:21:1;24530:2;24510:18;;;24503:30;24569:34;24549:18;;;24542:62;-1:-1:-1;;;24620:18:1;;;24613:39;24669:19;;46238:85:0;24463:231:1;46238:85:0;-1:-1:-1;;;;;46342:16:0;;46334:65;;;;-1:-1:-1;;;46334:65:0;;18054:2:1;46334:65:0;;;18036:21:1;18093:2;18073:18;;;18066:30;18132:34;18112:18;;;18105:62;-1:-1:-1;;;18183:18:1;;;18176:34;18227:19;;46334:65:0;18026:226:1;46334:65:0;46516:29;46533:1;46537:7;46516:8;:29::i;:::-;-1:-1:-1;;;;;46558:15:0;;;;;;:9;:15;;;;;:20;;46577:1;;46558:15;:20;;46577:1;;46558:20;:::i;:::-;;;;-1:-1:-1;;;;;;;46589:13:0;;;;;;:9;:13;;;;;:18;;46606:1;;46589:13;:18;;46606:1;;46589:18;:::i;:::-;;;;-1:-1:-1;;46618:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;46618:21:0;-1:-1:-1;;;;;46618:21:0;;;;;;;;;46657:27;;46618:16;;46657:27;;;;;;;46148:544;;;:::o;64996:464::-;-1:-1:-1;;;;;65120:15:0;;65091:26;65120:15;;;:9;:15;;;;;;65146:307;65170:15;;65166:19;;65146:307;;;65226:7;65211:8;65220:1;65211:11;;;;;;-1:-1:-1;;;65211:11:0;;;;;;;;;;;;;;;;;:22;65207:235;;;65263:15;;:19;;65281:1;;65263:19;:::i;:::-;65258:1;:24;65254:116;;65330:15;;65321:8;;65330:19;;65348:1;;65330:19;:::i;:::-;65321:29;;;;;;-1:-1:-1;;;65321:29:0;;;;;;;;;;;;;;;;;65307:8;65316:1;65307:11;;;;;;-1:-1:-1;;;65307:11:0;;;;;;;;;;;;;;;;;;:43;65254:116;65388:8;:14;;;;;-1:-1:-1;;;65388:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;65421:5;;65207:235;65187:3;;;;:::i;:::-;;;;65146:307;;16860:447;16935:13;16961:19;16993:10;16997:6;16993:1;:10;:::i;:::-;:14;;17006:1;16993:14;:::i;:::-;16983:25;;;;;;-1:-1:-1;;;16983:25:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16983:25:0;;16961:47;;-1:-1:-1;;;17019:6:0;17026:1;17019:9;;;;;;-1:-1:-1;;;17019:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;17019:15:0;;;;;;;;;-1:-1:-1;;;17045:6:0;17052:1;17045:9;;;;;;-1:-1:-1;;;17045:9:0;;;;;;;;;;;;:15;-1:-1:-1;;;;;17045:15:0;;;;;;;;-1:-1:-1;17076:9:0;17088:10;17092:6;17088:1;:10;:::i;:::-;:14;;17101:1;17088:14;:::i;:::-;17076:26;;17071:131;17108:1;17104;:5;17071:131;;;-1:-1:-1;;;17152:5:0;17160:3;17152:11;17143:21;;;;;-1:-1:-1;;;17143:21:0;;;;;;;;;;;;17131:6;17138:1;17131:9;;;;;;-1:-1:-1;;;17131:9:0;;;;;;;;;;;;:33;-1:-1:-1;;;;;17131:33:0;;;;;;;;-1:-1:-1;17189:1:0;17179:11;;;;;17111:3;;;:::i;:::-;;;17071:131;;;-1:-1:-1;17220:10:0;;17212:55;;;;-1:-1:-1;;;17212:55:0;;12453:2:1;17212:55:0;;;12435:21:1;;;12472:18;;;12465:30;12531:34;12511:18;;;12504:62;12583:18;;17212:55:0;12425:182:1;17212:55:0;17292:6;16860:447;-1:-1:-1;;;16860:447:0:o;69444:576::-;69591:16;69599:7;69591;:16::i;:::-;69583:77;;;;-1:-1:-1;;;69583:77:0;;28924:2:1;69583:77:0;;;28906:21:1;28963:2;28943:18;;;28936:30;29002:34;28982:18;;;28975:62;-1:-1:-1;;;29053:18:1;;;29046:46;29109:19;;69583:77:0;28896:238:1;69583:77:0;69689:15;;;;:6;:15;;;;;:22;69679:32;;;69671:103;;;;-1:-1:-1;;;69671:103:0;;12814:2:1;69671:103:0;;;12796:21:1;12853:2;12833:18;;;12826:30;12892:34;12872:18;;;12865:62;12963:28;12943:18;;;12936:56;13009:19;;69671:103:0;12786:248:1;69671:103:0;69799:15;;;;:6;:15;;;;;:22;69789:32;;69785:228;;;69838:14;69844:7;69838:5;:14::i;69785:228::-;69910:15;;;;:6;:15;;;;;:22;:34;;69937:6;69910:26;:34::i;:::-;69885:15;;;;:6;:15;;;;;;;;;:59;;;;69964:37;;29911:25:1;;;29952:18;;;29945:34;;;69964:37:0;;29884:18:1;69964:37:0;;;;;;;69444:576;;:::o;13678:761::-;14102:23;14128:69;14156:4;14128:69;;;;;;;;;;;;;;;;;14136:5;-1:-1:-1;;;;;14128:27:0;;;:69;;;;;:::i;:::-;14212:17;;14102:95;;-1:-1:-1;14212:21:0;14208:224;;14354:10;14343:30;;;;;;;;;;;;:::i;:::-;14335:85;;;;-1:-1:-1;;;14335:85:0;;27735:2:1;14335:85:0;;;27717:21:1;27774:2;27754:18;;;27747:30;27813:34;27793:18;;;27786:62;-1:-1:-1;;;27864:18:1;;;27857:40;27914:19;;14335:85:0;27707:232:1;47549:843:0;47670:4;-1:-1:-1;;;;;47696:13:0;;3824:20;3863:8;47692:693;;47732:72;;-1:-1:-1;;;47732:72:0;;-1:-1:-1;;;;;47732:36:0;;;;;:72;;15067:10;;47783:4;;47789:7;;47798:5;;47732:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47732:72:0;;;;;;;;-1:-1:-1;;47732:72:0;;;;;;;;;;;;:::i;:::-;;;47728:602;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;47978:13:0;;47974:341;;48021:60;;-1:-1:-1;;;48021:60:0;;;;;;;:::i;47974:341::-;48265:6;48259:13;48250:6;48246:2;48242:15;48235:38;47728:602;-1:-1:-1;;;;;;47855:55:0;-1:-1:-1;;;47855:55:0;;-1:-1:-1;47848:62:0;;47692:693;-1:-1:-1;48369:4:0;47549:843;;;;;;:::o;63962:100::-;64014:13;64047:7;64040:14;;;;;:::i;38577:360::-;38650:13;38684:16;38692:7;38684;:16::i;:::-;38676:76;;;;-1:-1:-1;;;38676:76:0;;24901:2:1;38676:76:0;;;24883:21:1;24940:2;24920:18;;;24913:30;24979:34;24959:18;;;24952:62;-1:-1:-1;;;25030:18:1;;;25023:45;25085:19;;38676:76:0;24873:237:1;38676:76:0;38765:21;38789:10;:8;:10::i;:::-;38765:34;;38841:1;38823:7;38817:21;:25;:112;;;;;;;;;;;;;;;;;38882:7;38891:18;:7;:16;:18::i;:::-;38865:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;38810:119;38577:360;-1:-1:-1;;;38577:360:0:o;67961:682::-;68149:7;68191:1;68182:6;:10;68174:55;;;;-1:-1:-1;;;68174:55:0;;16464:2:1;68174:55:0;;;16446:21:1;;;16483:18;;;16476:30;16542:34;16522:18;;;16515:62;16594:18;;68174:55:0;16436:182:1;68174:55:0;68240:8;:10;;;:8;:10;;;:::i;:::-;;;;;;68261:18;68282:16;:14;:16::i;:::-;68261:37;;68309:30;68321:7;68330:8;;68309:11;:30::i;:::-;68382:8;;;68350:22;68375:16;;;:6;:16;;;;;;;;68402:24;;;68437:19;;;;:32;;;;68480:20;;;:34;;;68525:22;;:38;;;-1:-1:-1;;;;;68574:18:0;;;;:9;:18;;;;68598:8;;68574:33;;;;;;;;;;;;;;;;;;;68627:8;;-1:-1:-1;67961:682:0;;;;;;:::o;68817:349::-;68951:16;68959:7;68951;:16::i;:::-;68943:62;;;;-1:-1:-1;;;68943:62:0;;17652:2:1;68943:62:0;;;17634:21:1;17691:2;17671:18;;;17664:30;17730:34;17710:18;;;17703:62;-1:-1:-1;;;17781:18:1;;;17774:31;17822:19;;68943:62:0;17624:223:1;68943:62:0;69016:18;69037:16;69045:7;69037;:16::i;:::-;69016:37;;69064:20;69076:7;69064:11;:20::i;:::-;69102:15;;;;:6;:15;;;;;69095:22;;;;;;;;;;;;;;;;;;69128:30;69138:10;69109:7;69128:9;:30::i;57447:98::-;57505:7;57532:5;57536:1;57532;:5;:::i;6375:195::-;6478:12;6510:52;6532:6;6540:4;6546:1;6549:12;6510:21;:52::i;15559:723::-;15615:13;15836:10;15832:53;;-1:-1:-1;;15863:10:0;;;;;;;;;;;;-1:-1:-1;;;15863:10:0;;;;;15559:723::o;15832:53::-;15910:5;15895:12;15951:78;15958:9;;15951:78;;15984:8;;;;:::i;:::-;;-1:-1:-1;16007:10:0;;-1:-1:-1;16015:2:0;16007:10;;:::i;:::-;;;15951:78;;;16039:19;16071:6;16061:17;;;;;;-1:-1:-1;;;16061:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16061:17:0;;16039:39;;16089:154;16096:10;;16089:154;;16123:11;16133:1;16123:11;;:::i;:::-;;-1:-1:-1;16192:10:0;16200:2;16192:5;:10;:::i;:::-;16179:24;;:2;:24;:::i;:::-;16166:39;;16149:6;16156;16149:14;;;;;;-1:-1:-1;;;16149:14:0;;;;;;;;;;;;:56;-1:-1:-1;;;;;16149:56:0;;;;;;;;-1:-1:-1;16220:11:0;16229:2;16220:11;;:::i;:::-;;;16089:154;;67333:290;67408:7;67448:3;67437:8;;:14;67433:183;;;-1:-1:-1;67475:3:0;;67333:290::o;67433:183::-;67507:8;;67500:3;:15;;:34;;;;;67530:4;67519:8;;:15;67500:34;67496:120;;;-1:-1:-1;67558:3:0;;67333:290::o;67496:120::-;-1:-1:-1;67601:3:0;;67333:290::o;44840:382::-;-1:-1:-1;;;;;44920:16:0;;44912:61;;;;-1:-1:-1;;;44912:61:0;;22938:2:1;44912:61:0;;;22920:21:1;;;22957:18;;;22950:30;23016:34;22996:18;;;22989:62;23068:18;;44912:61:0;22910:182:1;44912:61:0;44993:16;45001:7;44993;:16::i;:::-;44992:17;44984:58;;;;-1:-1:-1;;;44984:58:0;;15696:2:1;44984:58:0;;;15678:21:1;15735:2;15715:18;;;15708:30;15774;15754:18;;;15747:58;15822:18;;44984:58:0;15668:178:1;44984:58:0;-1:-1:-1;;;;;45113:13:0;;;;;;:9;:13;;;;;:18;;45130:1;;45113:13;:18;;45130:1;;45113:18;:::i;:::-;;;;-1:-1:-1;;45142:16:0;;;;:7;:16;;;;;;:21;;-1:-1:-1;;;;;;45142:21:0;-1:-1:-1;;;;;45142:21:0;;;;;;;;45181:33;;45142:16;;;45181:33;;45142:16;;45181:33;44840:382;;:::o;50705:206::-;50774:20;50786:7;50774:11;:20::i;:::-;50817:19;;;;:10;:19;;;;;50811:33;;;;;:::i;:::-;:38;;-1:-1:-1;50807:97:0;;50873:19;;;;:10;:19;;;;;50866:26;;;:::i;7427:530::-;7554:12;7612:5;7587:21;:30;;7579:81;;;;-1:-1:-1;;;7579:81:0;;18813:2:1;7579:81:0;;;18795:21:1;18852:2;18832:18;;;18825:30;18891:34;18871:18;;;18864:62;-1:-1:-1;;;18942:18:1;;;18935:36;18988:19;;7579:81:0;18785:228:1;7579:81:0;3824:20;;7671:60;;;;-1:-1:-1;;;7671:60:0;;26137:2:1;7671:60:0;;;26119:21:1;26176:2;26156:18;;;26149:30;26215:31;26195:18;;;26188:59;26264:18;;7671:60:0;26109:179:1;7671:60:0;7805:12;7819:23;7846:6;-1:-1:-1;;;;;7846:11:0;7866:5;7874:4;7846:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7804:75;;;;7897:52;7915:7;7924:10;7936:12;7897:17;:52::i;:::-;7890:59;7427:530;-1:-1:-1;;;;;;;7427:530:0:o;45451:360::-;45511:13;45527:23;45542:7;45527:14;:23::i;:::-;45511:39;;45652:29;45669:1;45673:7;45652:8;:29::i;:::-;-1:-1:-1;;;;;45694:16:0;;;;;;:9;:16;;;;;:21;;45714:1;;45694:16;:21;;45714:1;;45694:21;:::i;:::-;;;;-1:-1:-1;;45733:16:0;;;;:7;:16;;;;;;45726:23;;-1:-1:-1;;;;;;45726:23:0;;;45767:36;45741:7;;45733:16;-1:-1:-1;;;;;45767:36:0;;;;;45733:16;;45767:36;45451:360;;:::o;9967:742::-;10082:12;10111:7;10107:595;;;-1:-1:-1;10142:10:0;10135:17;;10107:595;10256:17;;:21;10252:439;;10519:10;10513:17;10580:15;10567:10;10563:2;10559:19;10552:44;10467:148;10662:12;10655:20;;-1:-1:-1;;;10655:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;:::i;:::-;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:2;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:2;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:2;;;532:1;529;522:12;491:2;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;88:557;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:2;;813:1;810;803:12;747:2;699:124;;;:::o;828:391::-;891:8;901:6;955:3;948:4;940:6;936:17;932:27;922:2;;978:6;970;963:22;922:2;-1:-1:-1;1006:20:1;;1049:18;1038:30;;1035:2;;;1088:8;1078;1071:26;1035:2;1132:4;1124:6;1120:17;1108:29;;1192:3;1185:4;1175:6;1172:1;1168:14;1160:6;1156:27;1152:38;1149:47;1146:2;;;1209:1;1206;1199:12;1146:2;912:307;;;;;:::o;1224:229::-;1267:5;1320:3;1313:4;1305:6;1301:17;1297:27;1287:2;;1342:5;1335;1328:20;1287:2;1368:79;1443:3;1434:6;1421:20;1414:4;1406:6;1402:17;1368:79;:::i;1458:196::-;1517:6;1570:2;1558:9;1549:7;1545:23;1541:32;1538:2;;;1591:6;1583;1576:22;1538:2;1619:29;1638:9;1619:29;:::i;1659:270::-;1727:6;1735;1788:2;1776:9;1767:7;1763:23;1759:32;1756:2;;;1809:6;1801;1794:22;1756:2;1837:29;1856:9;1837:29;:::i;:::-;1827:39;;1885:38;1919:2;1908:9;1904:18;1885:38;:::i;:::-;1875:48;;1746:183;;;;;:::o;1934:338::-;2011:6;2019;2027;2080:2;2068:9;2059:7;2055:23;2051:32;2048:2;;;2101:6;2093;2086:22;2048:2;2129:29;2148:9;2129:29;:::i;:::-;2119:39;;2177:38;2211:2;2200:9;2196:18;2177:38;:::i;:::-;2167:48;;2262:2;2251:9;2247:18;2234:32;2224:42;;2038:234;;;;;:::o;2277:696::-;2372:6;2380;2388;2396;2449:3;2437:9;2428:7;2424:23;2420:33;2417:2;;;2471:6;2463;2456:22;2417:2;2499:29;2518:9;2499:29;:::i;:::-;2489:39;;2547:38;2581:2;2570:9;2566:18;2547:38;:::i;:::-;2537:48;;2632:2;2621:9;2617:18;2604:32;2594:42;;2687:2;2676:9;2672:18;2659:32;2714:18;2706:6;2703:30;2700:2;;;2751:6;2743;2736:22;2700:2;2779:22;;2832:4;2824:13;;2820:27;-1:-1:-1;2810:2:1;;2866:6;2858;2851:22;2810:2;2894:73;2959:7;2954:2;2941:16;2936:2;2932;2928:11;2894:73;:::i;:::-;2884:83;;;2407:566;;;;;;;:::o;2978:325::-;3043:6;3051;3104:2;3092:9;3083:7;3079:23;3075:32;3072:2;;;3125:6;3117;3110:22;3072:2;3153:29;3172:9;3153:29;:::i;:::-;3143:39;;3232:2;3221:9;3217:18;3204:32;3245:28;3267:5;3245:28;:::i;:::-;3292:5;3282:15;;;3062:241;;;;;:::o;3308:264::-;3376:6;3384;3437:2;3425:9;3416:7;3412:23;3408:32;3405:2;;;3458:6;3450;3443:22;3405:2;3486:29;3505:9;3486:29;:::i;:::-;3476:39;3562:2;3547:18;;;;3534:32;;-1:-1:-1;;;3395:177:1:o;3577:803::-;3699:6;3707;3715;3723;3776:2;3764:9;3755:7;3751:23;3747:32;3744:2;;;3797:6;3789;3782:22;3744:2;3842:9;3829:23;3871:18;3912:2;3904:6;3901:14;3898:2;;;3933:6;3925;3918:22;3898:2;3977:70;4039:7;4030:6;4019:9;4015:22;3977:70;:::i;:::-;4066:8;;-1:-1:-1;3951:96:1;-1:-1:-1;4154:2:1;4139:18;;4126:32;;-1:-1:-1;4170:16:1;;;4167:2;;;4204:6;4196;4189:22;4167:2;;4248:72;4312:7;4301:8;4290:9;4286:24;4248:72;:::i;:::-;3734:646;;;;-1:-1:-1;4339:8:1;-1:-1:-1;;;;3734:646:1:o;4385:255::-;4452:6;4505:2;4493:9;4484:7;4480:23;4476:32;4473:2;;;4526:6;4518;4511:22;4473:2;4563:9;4557:16;4582:28;4604:5;4582:28;:::i;4645:190::-;4704:6;4757:2;4745:9;4736:7;4732:23;4728:32;4725:2;;;4778:6;4770;4763:22;4725:2;-1:-1:-1;4806:23:1;;4715:120;-1:-1:-1;4715:120:1:o;4840:264::-;4908:6;4916;4969:2;4957:9;4948:7;4944:23;4940:32;4937:2;;;4990:6;4982;4975:22;4937:2;5031:9;5018:23;5008:33;;5060:38;5094:2;5083:9;5079:18;5060:38;:::i;5109:255::-;5167:6;5220:2;5208:9;5199:7;5195:23;5191:32;5188:2;;;5241:6;5233;5226:22;5188:2;5285:9;5272:23;5304:30;5328:5;5304:30;:::i;5369:259::-;5438:6;5491:2;5479:9;5470:7;5466:23;5462:32;5459:2;;;5512:6;5504;5497:22;5459:2;5549:9;5543:16;5568:30;5592:5;5568:30;:::i;5633:342::-;5702:6;5755:2;5743:9;5734:7;5730:23;5726:32;5723:2;;;5776:6;5768;5761:22;5723:2;5821:9;5808:23;5854:18;5846:6;5843:30;5840:2;;;5891:6;5883;5876:22;5840:2;5919:50;5961:7;5952:6;5941:9;5937:22;5919:50;:::i;6175:410::-;6253:6;6261;6314:2;6302:9;6293:7;6289:23;6285:32;6282:2;;;6335:6;6327;6320:22;6282:2;6376:9;6363:23;6353:33;;6437:2;6426:9;6422:18;6409:32;6464:18;6456:6;6453:30;6450:2;;;6501:6;6493;6486:22;6450:2;6529:50;6571:7;6562:6;6551:9;6547:22;6529:50;:::i;:::-;6519:60;;;6272:313;;;;;:::o;6590:258::-;6658:6;6666;6719:2;6707:9;6698:7;6694:23;6690:32;6687:2;;;6740:6;6732;6725:22;6687:2;-1:-1:-1;;6768:23:1;;;6838:2;6823:18;;;6810:32;;-1:-1:-1;6677:171:1:o;6853:257::-;6894:3;6932:5;6926:12;6959:6;6954:3;6947:19;6975:63;7031:6;7024:4;7019:3;7015:14;7008:4;7001:5;6997:16;6975:63;:::i;:::-;7092:2;7071:15;-1:-1:-1;;7067:29:1;7058:39;;;;7099:4;7054:50;;6902:208;-1:-1:-1;;6902:208:1:o;7115:274::-;7244:3;7282:6;7276:13;7298:53;7344:6;7339:3;7332:4;7324:6;7320:17;7298:53;:::i;:::-;7367:16;;;;;7252:137;-1:-1:-1;;7252:137:1:o;7394:470::-;7573:3;7611:6;7605:13;7627:53;7673:6;7668:3;7661:4;7653:6;7649:17;7627:53;:::i;:::-;7743:13;;7702:16;;;;7765:57;7743:13;7702:16;7799:4;7787:17;;7765:57;:::i;:::-;7838:20;;7581:283;-1:-1:-1;;;;7581:283:1:o;7869:786::-;8280:25;8275:3;8268:38;8250:3;8335:6;8329:13;8351:62;8406:6;8401:2;8396:3;8392:12;8385:4;8377:6;8373:17;8351:62;:::i;:::-;-1:-1:-1;;;8472:2:1;8432:16;;;8464:11;;;8457:40;8522:13;;8544:63;8522:13;8593:2;8585:11;;8578:4;8566:17;;8544:63;:::i;:::-;8627:17;8646:2;8623:26;;8258:397;-1:-1:-1;;;;8258:397:1:o;9248:488::-;-1:-1:-1;;;;;9517:15:1;;;9499:34;;9569:15;;9564:2;9549:18;;9542:43;9616:2;9601:18;;9594:34;;;9664:3;9659:2;9644:18;;9637:31;;;9442:4;;9685:45;;9710:19;;9702:6;9685:45;:::i;:::-;9677:53;9451:285;-1:-1:-1;;;;;;9451:285:1:o;10792:635::-;10963:2;11015:21;;;11085:13;;10988:18;;;11107:22;;;10934:4;;10963:2;11186:15;;;;11160:2;11145:18;;;10934:4;11232:169;11246:6;11243:1;11240:13;11232:169;;;11307:13;;11295:26;;11376:15;;;;11341:12;;;;11268:1;11261:9;11232:169;;;-1:-1:-1;11418:3:1;;10943:484;-1:-1:-1;;;;;;10943:484:1:o;12027:219::-;12176:2;12165:9;12158:21;12139:4;12196:44;12236:2;12225:9;12221:18;12213:6;12196:44;:::i;13039:414::-;13241:2;13223:21;;;13280:2;13260:18;;;13253:30;13319:34;13314:2;13299:18;;13292:62;-1:-1:-1;;;13385:2:1;13370:18;;13363:48;13443:3;13428:19;;13213:240::o;19431:405::-;19633:2;19615:21;;;19672:2;19652:18;;;19645:30;19711:34;19706:2;19691:18;;19684:62;-1:-1:-1;;;19777:2:1;19762:18;;19755:39;19826:3;19811:19;;19605:231::o;23928:356::-;24130:2;24112:21;;;24149:18;;;24142:30;24208:34;24203:2;24188:18;;24181:62;24275:2;24260:18;;24102:182::o;25517:413::-;25719:2;25701:21;;;25758:2;25738:18;;;25731:30;25797:34;25792:2;25777:18;;25770:62;-1:-1:-1;;;25863:2:1;25848:18;;25841:47;25920:3;25905:19;;25691:239::o;26293:411::-;26495:2;26477:21;;;26534:2;26514:18;;;26507:30;26573:34;26568:2;26553:18;;26546:62;-1:-1:-1;;;26639:2:1;26624:18;;26617:45;26694:3;26679:19;;26467:237::o;28362:355::-;28564:2;28546:21;;;28603:2;28583:18;;;28576:30;28642:33;28637:2;28622:18;;28615:61;28708:2;28693:18;;28536:181::o;30386:128::-;30426:3;30457:1;30453:6;30450:1;30447:13;30444:2;;;30463:18;;:::i;:::-;-1:-1:-1;30499:9:1;;30434:80::o;30519:120::-;30559:1;30585;30575:2;;30590:18;;:::i;:::-;-1:-1:-1;30624:9:1;;30565:74::o;30644:168::-;30684:7;30750:1;30746;30742:6;30738:14;30735:1;30732:21;30727:1;30720:9;30713:17;30709:45;30706:2;;;30757:18;;:::i;:::-;-1:-1:-1;30797:9:1;;30696:116::o;30817:125::-;30857:4;30885:1;30882;30879:8;30876:2;;;30890:18;;:::i;:::-;-1:-1:-1;30927:9:1;;30866:76::o;30947:258::-;31019:1;31029:113;31043:6;31040:1;31037:13;31029:113;;;31119:11;;;31113:18;31100:11;;;31093:39;31065:2;31058:10;31029:113;;;31160:6;31157:1;31154:13;31151:2;;;-1:-1:-1;;31195:1:1;31177:16;;31170:27;31000:205::o;31210:136::-;31249:3;31277:5;31267:2;;31286:18;;:::i;:::-;-1:-1:-1;;;31322:18:1;;31257:89::o;31351:380::-;31430:1;31426:12;;;;31473;;;31494:2;;31548:4;31540:6;31536:17;31526:27;;31494:2;31601;31593:6;31590:14;31570:18;31567:38;31564:2;;;31647:10;31642:3;31638:20;31635:1;31628:31;31682:4;31679:1;31672:15;31710:4;31707:1;31700:15;31564:2;;31406:325;;;:::o;31736:135::-;31775:3;-1:-1:-1;;31796:17:1;;31793:2;;;31816:18;;:::i;:::-;-1:-1:-1;31863:1:1;31852:13;;31783:88::o;31876:112::-;31908:1;31934;31924:2;;31939:18;;:::i;:::-;-1:-1:-1;31973:9:1;;31914:74::o;31993:127::-;32054:10;32049:3;32045:20;32042:1;32035:31;32085:4;32082:1;32075:15;32109:4;32106:1;32099:15;32125:127;32186:10;32181:3;32177:20;32174:1;32167:31;32217:4;32214:1;32207:15;32241:4;32238:1;32231:15;32257:127;32318:10;32313:3;32309:20;32306:1;32299:31;32349:4;32346:1;32339:15;32373:4;32370:1;32363:15;32389:118;32475:5;32468:13;32461:21;32454:5;32451:32;32441:2;;32497:1;32494;32487:12;32512:131;-1:-1:-1;;;;;;32586:32:1;;32576:43;;32566:2;;32633:1;32630;32623:12

Swarm Source

ipfs://69b4ef8fd8550fa978acf17e026931165f8a790ef9b4b47674ecc1dfe4c7bef6

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.