More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 38 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Earn | 12733788 | 9 hrs ago | IN | 0 S | 0.05714791 | ||||
Earn | 12724868 | 10 hrs ago | IN | 0 S | 0.05724251 | ||||
Earn | 12716200 | 11 hrs ago | IN | 0 S | 0.05724251 | ||||
Earn | 12707192 | 12 hrs ago | IN | 0 S | 0.05724251 | ||||
Earn | 12698062 | 13 hrs ago | IN | 0 S | 0.05724251 | ||||
Earn | 12688150 | 14 hrs ago | IN | 0 S | 0.05931161 | ||||
Earn | 12678257 | 15 hrs ago | IN | 0 S | 0.05818246 | ||||
Earn | 12577357 | 28 hrs ago | IN | 0 S | 0.05716601 | ||||
Earn | 12499799 | 39 hrs ago | IN | 0 S | 0.05515774 | ||||
Earn | 12491425 | 40 hrs ago | IN | 0 S | 0.05515774 | ||||
Earn | 12487080 | 40 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12482955 | 41 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12478910 | 41 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12474961 | 42 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12470991 | 42 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12466907 | 43 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12462817 | 43 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12458276 | 44 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12453694 | 44 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12449464 | 45 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12445257 | 45 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12441115 | 46 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12437045 | 46 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12432703 | 47 hrs ago | IN | 0 S | 0.05525234 | ||||
Earn | 12428749 | 47 hrs ago | IN | 0 S | 0.05525234 |
Latest 25 internal transactions (View All)
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
12733788 | 9 hrs ago | 1.2059505 S | ||||
12733788 | 9 hrs ago | 0.029942 S | ||||
12733788 | 9 hrs ago | 1.07791212 S | ||||
12724868 | 10 hrs ago | 1.2967617 S | ||||
12724868 | 10 hrs ago | 0.03233186 S | ||||
12724868 | 10 hrs ago | 1.16394706 S | ||||
12716200 | 11 hrs ago | 1.32166892 S | ||||
12716200 | 11 hrs ago | 0.03266629 S | ||||
12716200 | 11 hrs ago | 1.17598663 S | ||||
12707192 | 12 hrs ago | 1.33805907 S | ||||
12707192 | 12 hrs ago | 0.03268604 S | ||||
12707192 | 12 hrs ago | 1.17669764 S | ||||
12698062 | 13 hrs ago | 1.28833327 S | ||||
12698062 | 13 hrs ago | 0.03150681 S | ||||
12698062 | 13 hrs ago | 1.1342455 S | ||||
12688150 | 14 hrs ago | 1.20713737 S | ||||
12688150 | 14 hrs ago | 0.02959243 S | ||||
12688150 | 14 hrs ago | 1.06532753 S | ||||
12678257 | 15 hrs ago | 1.37827337 S | ||||
12678257 | 15 hrs ago | 0.0339597 S | ||||
12678257 | 15 hrs ago | 1.22254934 S | ||||
12577357 | 28 hrs ago | 0.83717287 S | ||||
12577357 | 28 hrs ago | 0.0204821 S | ||||
12577357 | 28 hrs ago | 0.73735566 S | ||||
12499799 | 39 hrs ago | 1.00143888 S |
Loading...
Loading
Contract Name:
StrategySnake
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2025-03-07 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.12; // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol) /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) /** * @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 * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "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"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, 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) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) /** * @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; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ 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' 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)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ 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"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @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"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @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). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // 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 cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } } // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) // 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 generally not needed starting with Solidity 0.8, since 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 subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol) /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } } // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } interface IStrategy { // Total want tokens managed by strategy function wantLockedTotal() external view returns (uint256); // Sum of all shares of users to wantLockedTotal function sharesTotal() external view returns (uint256); function wantAddress() external view returns (address); function token0Address() external view returns (address); function token1Address() external view returns (address); function earnedAddress() external view returns (address); function getPricePerFullShare() external view returns (uint256); // Main want token compounding function function earn() external; // Transfer want tokens autoFarm -> strategy function deposit(address _userAddress, uint256 _wantAmt) external returns (uint256); // Transfer want tokens strategy -> autoFarm function withdraw(address _userAddress, uint256 _wantAmt) external returns (uint256); function migrateFrom(address _oldStrategy, uint256 _oldWantLockedTotal, uint256 _oldSharesTotal) external; function inCaseTokensGetStuck(address _token, uint256 _amount) external; function inFarmBalance() external view returns (uint256); function totalBalance() external view returns (uint256); } interface IOracle { function update() external; function consult(address _token, uint256 _amountIn) external view returns (uint256 amountOut); function twap(address _token, uint256 _amountIn) external view returns (uint256 _amountOut); } interface IFarmChef { function deposit(uint256 _pid, uint256 _amount) external; function withdraw(uint256 _pid, uint256 _amount) external; function pendingShare(uint256 _pid, address _user) external view returns (uint256); function pendingShareAndPendingRewards(uint256 _pid, address _user) external view returns (uint256); function userInfo(uint256 _pid, address _user) external view returns (uint256 amount, uint256 rewardDebt); function harvest(uint256 _pid) external payable; function gsnakeOracle() external view returns (address); function pegStabilityModuleFeeEnabled() external view returns (bool); function pegStabilityModuleFee() external view returns (uint256); } interface IRouter { struct Route { address from; address to; bool stable; } function getAmountsOut(uint256 amountIn, Route[] memory routes) external view returns (uint256[] memory amounts); function getReserves(address tokenA, address tokenB, bool stable) external view returns (uint256 reserveA, uint256 reserveB); function quoteAddLiquidity( address tokenA, address tokenB, bool stable, uint256 amountADesired, uint256 amountBDesired ) external view returns (uint256 amountA, uint256 amountB, uint256 liquidity); function addLiquidity( address tokenA, address tokenB, bool stable, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline ) external returns ( uint256 amountA, uint256 amountB, uint256 liquidity ); function swapExactTokensForTokens( uint256 amountIn, uint256 amountOutMin, Route[] calldata routes, address to, uint256 deadline ) external; function swapExactTokensForETH( uint256 amountIn, uint256 amountOutMin, Route[] calldata routes, address to, uint256 deadline ) external; } contract StrategySnake is IStrategy, Ownable, ReentrancyGuard, Pausable { using SafeMath for uint256; using SafeERC20 for IERC20; address public farmContractAddress = address(0xe6E0A10eb298F0aC4170f2502cF7b201375BBc85); address public dexRouterAddress = address(0x1D368773735ee1E678950B7A97bcA2CafB330CDc); //Shadow uint256 public pid; address public override wantAddress; address public override token0Address; address public override token1Address; address public override earnedAddress; bool public stable; mapping(address => mapping(address => IRouter.Route[])) public tokenRoutes; address public constant WS = address(0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38); address public controller; address public strategist; address public timelock; uint256 public lastFeePaid = 0; uint256 public lastEarnTime = 0; uint256 public autoEarnLimit = 10 * 1e18; // 10 S uint256 public override wantLockedTotal = 0; uint256 public override sharesTotal = 0; uint256 public totalEarned = 0; uint256 public minSReserved = 100 * 1e18; //100 S reserved uint256 public adjustSlippageFee = 10; //1% uint256 public adjustSlippageFeeMax = 100; //10% uint256 public controllerFee = 50; //5% uint256 public constant controllerFeeMax = 100; // 10 = 1% uint256 public constant domination = 1000; address public treasuryAddress; event Deposit(uint256 amount); event Withdraw(uint256 amount); event Farm(uint256 amount); event Compound(address token0Address, uint256 token0Amt, address token1Address, uint256 token1Amt); event Earned(address earnedAddress, uint256 earnedAmt); event InCaseTokensGetStuck(address tokenAddress, uint256 tokenAmt, address receiver); event ExecuteTransaction(address indexed target, uint256 value, string signature, bytes data); event WithdrawS(address indexed user, uint256 amount); event Fees(uint256 collateralFee, uint256 collectedFee); constructor( address _controller, address _timelock, address _treasuryAddress, uint256 _pid, address _wantAddress, address _earnedAddress, address _token0, address _token1, bool _stable ) { controller = _controller; strategist = msg.sender; timelock = _timelock; treasuryAddress = _treasuryAddress; // to call earn if public not allowed wantAddress = _wantAddress; token0Address = _token0; token1Address = _token1; pid = _pid; earnedAddress = _earnedAddress; stable = _stable; } modifier onlyController() { require(controller == msg.sender, "caller is not the controller"); _; } modifier onlyStrategist() { require(strategist == msg.sender || owner() == msg.sender, "Strategy: caller is not the strategist"); _; } modifier onlyTimelock() { require(timelock == msg.sender, "Strategy: caller is not timelock"); _; } function isAuthorised(address _account) public view returns (bool) { return (_account == owner()) || (_account == strategist) || (_account == timelock); } function requiredSToHarvest() public view returns (uint256) { uint256 _pending = pendingHarvest(); bool pegStabilityModuleFeeEnabled = IFarmChef(farmContractAddress).pegStabilityModuleFeeEnabled(); if (pegStabilityModuleFeeEnabled) { IOracle oracle = IOracle(IFarmChef(farmContractAddress).gsnakeOracle()); // Calculate the required Sonic (S) amount to cover PSM fee (15% of pending reward value) uint256 currentGSNAKEPriceInSonic = oracle.twap(earnedAddress, 1e18); uint256 _pendingHarvestSValue = _pending.mul(currentGSNAKEPriceInSonic).div(1e18); uint256 pegStabilityModuleFee = IFarmChef(farmContractAddress).pegStabilityModuleFee(); return _pendingHarvestSValue.mul(pegStabilityModuleFee + adjustSlippageFee).div(domination); } return 0; } function autoEarn() public onlyStrategist { uint256 _pendingHarvestSValue = pendingHarvestSValue(); require(_pendingHarvestSValue >= autoEarnLimit, "too small"); uint256 requiredS = requiredSToHarvest(); require(address(this).balance >= requiredS, "not enough S collateral"); earn(); } function inFarmBalance() public override view returns (uint256) { (uint256 amount,) = IFarmChef(farmContractAddress).userInfo(pid, address(this)); return amount; } function totalBalance() external override view returns (uint256) { return IERC20(wantAddress).balanceOf(address(this)) + inFarmBalance(); } function getPricePerFullShare() external override view returns (uint256) { return (sharesTotal == 0) ? 1e18 : wantLockedTotal.mul(1e18).div(sharesTotal); } function increaseAllowance(address token, address spender, uint256 addedValue) internal { // increase allowance IERC20(token).safeIncreaseAllowance(spender, addedValue); } // Receives new deposits from user function deposit(address, uint256 _wantAmt) external override onlyController nonReentrant whenNotPaused returns (uint256) { IERC20(wantAddress).safeTransferFrom(address(msg.sender), address(this), _wantAmt); uint256 sharesAdded = _wantAmt; if (wantLockedTotal > 0 && sharesTotal > 0) { sharesAdded = _wantAmt.mul(sharesTotal).div(wantLockedTotal); } sharesTotal = sharesTotal.add(sharesAdded); _farm(); emit Deposit(_wantAmt); return sharesAdded; } function farm() public onlyOwner { _farm(); } function harvestReward() public onlyOwner { _harvest(); } function compound() public onlyOwner { _compound(); } function payFees() public onlyOwner { _payFees(); } function _farm() internal { IERC20 _want = IERC20(wantAddress); uint256 wantAmt = _want.balanceOf(address(this)); wantLockedTotal = wantLockedTotal.add(wantAmt); if (wantAmt > 0) { increaseAllowance(wantAddress, farmContractAddress, wantAmt); IFarmChef(farmContractAddress).deposit(pid, wantAmt); emit Farm(wantAmt); } } function withdraw(address, uint256 _wantAmt) external override onlyController nonReentrant returns (uint256) { require(_wantAmt > 0, "Strategy: !_wantAmt"); IFarmChef(farmContractAddress).withdraw(pid, _wantAmt); uint256 wantAmt = IERC20(wantAddress).balanceOf(address(this)); if (_wantAmt > wantAmt) { _wantAmt = wantAmt; } if (wantLockedTotal < _wantAmt) { _wantAmt = wantLockedTotal; } uint256 sharesRemoved = _wantAmt.mul(sharesTotal).div(wantLockedTotal); if (sharesRemoved > sharesTotal) { sharesRemoved = sharesTotal; } sharesTotal = sharesTotal.sub(sharesRemoved); wantLockedTotal = wantLockedTotal.sub(_wantAmt); IERC20(wantAddress).safeTransfer(address(msg.sender), _wantAmt); emit Withdraw(_wantAmt); return sharesRemoved; } function _harvest() internal { uint256 sBalanceBefore = address(this).balance; // Harvest farm tokens // Get pending rewards from farm contract uint256 pendingReward = IFarmChef(farmContractAddress).pendingShareAndPendingRewards(pid, address(this)); bool pegStabilityModuleFeeEnabled = IFarmChef(farmContractAddress).pegStabilityModuleFeeEnabled(); uint256 amountSonicToPay = 0; if (pegStabilityModuleFeeEnabled) { uint256 pegStabilityModuleFee = IFarmChef(farmContractAddress).pegStabilityModuleFee(); IOracle oracle = IOracle(IFarmChef(farmContractAddress).gsnakeOracle()); // Calculate the required Sonic (S) amount to cover PSM fee (15% of pending reward value) uint256 currentGSNAKEPriceInSonic = oracle.twap(earnedAddress, 1e18); require(currentGSNAKEPriceInSonic > 0, "Oracle price error"); //add 1% to make sure enough Sonic to cover fee amountSonicToPay = (currentGSNAKEPriceInSonic.mul(pendingReward).div(1e18)).mul(pegStabilityModuleFee + adjustSlippageFee).div(domination); } require(sBalanceBefore >= amountSonicToPay, "Not enough sonic collateral"); // Harvest farm rewards before compounding, sending required Sonic (S) IFarmChef(farmContractAddress).harvest{value: amountSonicToPay}(pid); lastFeePaid = sBalanceBefore - address(this).balance; } function _payFees() internal { uint256 earnedAmount = IERC20(earnedAddress).balanceOf(address(this)); if (earnedAmount <= 0) { return; } emit Earned(earnedAddress, earnedAmount); uint256 estimateEarnedInS = exchangeRate(earnedAddress, WS, earnedAmount); if (estimateEarnedInS <= 0) { return; } uint256 percentEarnedNeedToSwapForFees = controllerFee; if (lastFeePaid > 0) { percentEarnedNeedToSwapForFees += (lastFeePaid.mul(domination).div(estimateEarnedInS)) + adjustSlippageFee; } _swapTokenToS(earnedAddress, earnedAmount.mul(percentEarnedNeedToSwapForFees).div(domination), address(this)); uint256 sBalance = address(this).balance; uint256 collectedFee = 0; if (sBalance > minSReserved) { collectedFee = sBalance - minSReserved; (bool success, ) = payable(treasuryAddress).call{value: collectedFee}(""); require(success, "transfer fee failed!"); } emit Fees(lastFeePaid, collectedFee); } function _compound() internal { //1. Convert earned token into want token uint256 earnedAmount = IERC20(earnedAddress).balanceOf(address(this)); // track totalEarned in S totalEarned = totalEarned.add(exchangeRate(earnedAddress, WS, earnedAmount)); // track quote liquidity of pair (uint256 amountA, uint256 amountB, ) = IRouter(dexRouterAddress).quoteAddLiquidity(token0Address, token1Address, stable, 1e18, 1e18); if (earnedAddress != token0Address) { uint256 token0Price = exchangeRate(token0Address, token1Address, 1e18); uint256 token0Value = amountA.mul(token0Price).div(1e18); uint256 totalValue = token0Value + amountB; _swapTokenToToken(earnedAddress, token0Address, earnedAmount.mul(token0Value).div(totalValue), address(this)); } // swap the rest earn amount to token 0 earnedAmount = IERC20(earnedAddress).balanceOf(address(this)); if (earnedAddress != token1Address) { _swapTokenToToken(earnedAddress, token1Address, earnedAmount, address(this)); } // Get want tokens, ie. add liquidity uint256 token0Amt = IERC20(token0Address).balanceOf(address(this)); uint256 token1Amt = IERC20(token1Address).balanceOf(address(this)); if (token0Amt > 0 && token1Amt > 0) { _addLiquidity(token0Address, token1Address, stable, token0Amt, token1Amt); emit Compound(token0Address, token0Amt, token1Address, token1Amt); } } // 1. Harvest farm tokens // 2. Converts farm tokens into want tokens // 3. Deposits want tokens function earn() public override whenNotPaused onlyStrategist { _harvest(); _payFees(); _compound(); _farm(); lastEarnTime = block.timestamp; } function exchangeRate(address _inputToken, address _outputToken, uint256 _tokenAmount) public view returns (uint256) { uint256[] memory amounts = IRouter(dexRouterAddress).getAmountsOut(_tokenAmount, tokenRoutes[_inputToken][_outputToken]); return amounts[amounts.length - 1]; } function pendingHarvest() public view returns (uint256) { uint256 _earnedBal = IERC20(earnedAddress).balanceOf(address(this)); return IFarmChef(farmContractAddress).pendingShareAndPendingRewards(pid, address(this)).add(_earnedBal); } function pendingHarvestSValue() public view returns (uint256) { uint256 _pending = pendingHarvest(); return (_pending == 0) ? 0 : exchangeRate(earnedAddress, WS, _pending); } function pause() external onlyOwner { _pause(); } function unpause() external onlyOwner { _unpause(); } function setStrategist(address _strategist) external onlyOwner { strategist = _strategist; } function setMinSReserved(uint256 _minSReserved) external onlyOwner { minSReserved = _minSReserved; } function setFees(uint256 _controllerFee, uint256 _adjustSlippageFee) external onlyOwner { require(_controllerFee <= controllerFeeMax, "Strategy: value too high"); controllerFee = _controllerFee; require(adjustSlippageFee <= adjustSlippageFeeMax, "Strategy: value too high"); adjustSlippageFee = _adjustSlippageFee; } function setTreasuryAddress(address _treasuryAddress) external onlyOwner { require(_treasuryAddress != address(0), "zero"); treasuryAddress = _treasuryAddress; } function setDexRouterAddress(address _routerAddress) external onlyOwner { require(_routerAddress != address(0), "zero"); dexRouterAddress = _routerAddress; } function setAutoEarnLimit(uint256 _autoEarnLimit) external onlyOwner { autoEarnLimit = _autoEarnLimit; } function setMainPaths( IRouter.Route[] memory _earnedToToken0Path, IRouter.Route[] memory _earnedToToken1Path, IRouter.Route[] memory _earnedToWSPath, IRouter.Route[] memory _token0ToToken1Path ) external onlyOwner { setTokenRoute(earnedAddress, token0Address, _earnedToToken0Path); setTokenRoute(earnedAddress, token1Address, _earnedToToken1Path); setTokenRoute(earnedAddress, WS, _earnedToWSPath); setTokenRoute(token0Address, token1Address, _token0ToToken1Path); } function setTokenRoute( address from, address to, IRouter.Route[] memory routes ) public onlyOwner { delete tokenRoutes[from][to]; for (uint256 i = 0; i < routes.length; i++) { tokenRoutes[from][to].push(routes[i]); } } function _swapTokenToS(address _inputToken, uint256 _amount, address to) internal { increaseAllowance(_inputToken, dexRouterAddress, _amount); if (_inputToken != WS) { IRouter(dexRouterAddress).swapExactTokensForETH(_amount, 0, tokenRoutes[_inputToken][WS], to, block.timestamp.add(1800)); } } function _swapTokenToToken(address _inputToken, address _outputToken, uint256 _amount, address to) internal { increaseAllowance(_inputToken, dexRouterAddress, _amount); if (_inputToken != _outputToken) { IRouter(dexRouterAddress).swapExactTokensForTokens(_amount, 0, tokenRoutes[_inputToken][_outputToken], to, block.timestamp.add(1800)); } } function _addLiquidity(address _tokenA, address _tokenB, bool _stable, uint256 _amountADesired, uint256 _amountBDesired) internal { increaseAllowance(_tokenA, dexRouterAddress, _amountADesired); increaseAllowance(_tokenB, dexRouterAddress, _amountBDesired); IRouter(dexRouterAddress).addLiquidity(_tokenA, _tokenB, _stable, _amountADesired, _amountBDesired, 0, 0, address(this), block.timestamp.add(1800)); } receive() external payable { } fallback() external payable { } function withdrawS(uint256 amount) external onlyOwner { require(amount > 0, "Amount must be greater than zero"); require(address(this).balance >= amount, "Insufficient S balance in contract"); (bool success, ) = payable(treasuryAddress).call{value: amount}(""); require(success, "Withdraw failed"); emit WithdrawS(msg.sender, amount); } function inCaseTokensGetStuck(address _token, uint256 _amount) external override onlyOwner { require(_token != earnedAddress, "!safe"); require(_token != wantAddress, "!safe"); address _controller = controller; IERC20(_token).safeTransfer(_controller, _amount); emit InCaseTokensGetStuck(_token, _amount, _controller); } function togglePause() external onlyOwner { if (paused()) _unpause(); else _pause(); } function migrateFrom(address, uint256, uint256) external override onlyController { } /* ========== EMERGENCY ========== */ function setController(address _controller) external { require(_controller != address(0), "invalidAddress"); require(controller == msg.sender || timelock == msg.sender, "caller is not the controller nor timelock"); controller = _controller; } function setTimelock(address _timelock) external { require(timelock == msg.sender || (timelock == address(0) && owner() == msg.sender), "!timelock"); timelock = _timelock; } /** * @dev This is from Timelock contract. */ function executeTransaction(address target, uint256 value, string memory signature, bytes memory data) external onlyTimelock returns (bytes memory) { bytes memory callData; if (bytes(signature).length == 0) { callData = data; } else { callData = abi.encodePacked(bytes4(keccak256(bytes(signature))), data); } // solium-disable-next-line security/no-call-value (bool success, bytes memory returnData) = target.call{value : value}(callData); require(success, "Strategy::executeTransaction: Transaction execution reverted."); emit ExecuteTransaction(target, value, signature, data); return returnData; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_controller","type":"address"},{"internalType":"address","name":"_timelock","type":"address"},{"internalType":"address","name":"_treasuryAddress","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_wantAddress","type":"address"},{"internalType":"address","name":"_earnedAddress","type":"address"},{"internalType":"address","name":"_token0","type":"address"},{"internalType":"address","name":"_token1","type":"address"},{"internalType":"bool","name":"_stable","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token0Address","type":"address"},{"indexed":false,"internalType":"uint256","name":"token0Amt","type":"uint256"},{"indexed":false,"internalType":"address","name":"token1Address","type":"address"},{"indexed":false,"internalType":"uint256","name":"token1Amt","type":"uint256"}],"name":"Compound","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"earnedAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"earnedAmt","type":"uint256"}],"name":"Earned","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"target","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"string","name":"signature","type":"string"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"ExecuteTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Farm","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"collateralFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"collectedFee","type":"uint256"}],"name":"Fees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmt","type":"uint256"},{"indexed":false,"internalType":"address","name":"receiver","type":"address"}],"name":"InCaseTokensGetStuck","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawS","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"WS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adjustSlippageFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"adjustSlippageFeeMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"autoEarn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoEarnLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"compound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controllerFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controllerFeeMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"deposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dexRouterAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"domination","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"earnedAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_inputToken","type":"address"},{"internalType":"address","name":"_outputToken","type":"address"},{"internalType":"uint256","name":"_tokenAmount","type":"uint256"}],"name":"exchangeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"string","name":"signature","type":"string"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"executeTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"farm","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"farmContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPricePerFullShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"harvestReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"inCaseTokensGetStuck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"inFarmBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"isAuthorised","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastEarnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastFeePaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"migrateFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minSReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"payFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pendingHarvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingHarvestSValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requiredSToHarvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_autoEarnLimit","type":"uint256"}],"name":"setAutoEarnLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_routerAddress","type":"address"}],"name":"setDexRouterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_controllerFee","type":"uint256"},{"internalType":"uint256","name":"_adjustSlippageFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"stable","type":"bool"}],"internalType":"struct IRouter.Route[]","name":"_earnedToToken0Path","type":"tuple[]"},{"components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"stable","type":"bool"}],"internalType":"struct IRouter.Route[]","name":"_earnedToToken1Path","type":"tuple[]"},{"components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"stable","type":"bool"}],"internalType":"struct IRouter.Route[]","name":"_earnedToWSPath","type":"tuple[]"},{"components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"stable","type":"bool"}],"internalType":"struct IRouter.Route[]","name":"_token0ToToken1Path","type":"tuple[]"}],"name":"setMainPaths","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minSReserved","type":"uint256"}],"name":"setMinSReserved","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_timelock","type":"address"}],"name":"setTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"components":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"stable","type":"bool"}],"internalType":"struct IRouter.Route[]","name":"routes","type":"tuple[]"}],"name":"setTokenRoute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasuryAddress","type":"address"}],"name":"setTreasuryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sharesTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timelock","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token0Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token1Address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenRoutes","outputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"bool","name":"stable","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalEarned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wantAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"wantLockedTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"_wantAmt","type":"uint256"}],"name":"withdraw","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
60806040526002805474e6e0a10eb298f0ac4170f2502cf7b201375bbc8500610100600160a81b0319909116179055600380546001600160a01b031916731d368773735ee1e678950b7a97bca2cafb330cdc1790556000600d819055600e819055678ac7230489e80000600f556010819055601181905560125568056bc75e2d63100000601355600a60145560646015556032601655348015620000a257600080fd5b50604051620050ae380380620050ae833981016040819052620000c591620001f5565b620000d03362000188565b600180556002805460ff19169055600a80546001600160a01b03199081166001600160a01b039b8c1617909155600b805433908316179055600c80548216998b1699909917909855601780548916978a169790971790965560058054881694891694909417909355600680548716918816919091179055600780549095169186169190911790935560045560088054929093166001600160a81b031990921691909117600160a01b91151591909102179055620002af565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620001f057600080fd5b919050565b60008060008060008060008060006101208a8c0312156200021557600080fd5b620002208a620001d8565b98506200023060208b01620001d8565b97506200024060408b01620001d8565b965060608a015195506200025760808b01620001d8565b94506200026760a08b01620001d8565b93506200027760c08b01620001d8565b92506200028760e08b01620001d8565b91506101008a015180151581146200029e57600080fd5b809150509295985092959850929598565b614def80620002bf6000396000f3fe60806040526004361061038c5760003560e01c80638da5cb5b116101da578063c7b9d53011610101578063e77601b91161009a578063f2fde38b1161006c578063f2fde38b14610aee578063f3fef3a314610b0e578063f69e204614610b2e578063f77c479114610b4357005b8063e77601b914610a68578063e7a0367914610a7e578063e7f67fb114610aab578063f106845414610ad857005b8063d7cb416f116100d3578063d7cb416f146109e4578063db7a3c0f14610a11578063e68b536414610a26578063e719847414610a3b57005b8063c7b9d5301461092d578063cfc2b5501461094d578063d33219b4146109a2578063d389800f146109cf57005b8063ae33569511610173578063c0762e5e11610145578063c0762e5e146108ab578063c4ae3168146108cb578063c5f956af146108e0578063c6d758cb1461090d57005b8063ae3356951461084b578063ba0c108f14610860578063bb97517e14610876578063bdacb3031461088b57005b8063a0fab119116101ac578063a0fab119146107f4578063a84fd93f1461080a578063a9ad842214610820578063ad7a672f1461083657005b80638da5cb5b1461075757806392eefe9b14610782578063978347d1146107a25780639fc33a9f146107c257005b80635a34928e116102be5780636dfa8d991161025757806377c7b8fc1161022957806377c7b8fc146106ea5780637ff36fbe146106ff5780638456cb591461072c57806385f02dd61461074157005b80636dfa8d991461067f578063701f66041461069557806370a3cb11146106b5578063715018a6146106d557005b806362779e151161029057806362779e151461061f5780636605bfda1461063457806367d03db8146106545780636978d9271461066957005b80635a34928e146105b45780635afbbaab146105c95780635c975abb146105df5780635d409359146105f757005b80632717eff31161033057806344a3955e1161030257806344a3955e1461053e57806347e7ef241461055457806351b699cd14610574578063593eda621461059457005b80632717eff3146104db57806336e9332d146104fe5780633f4ba83a1461051357806342da4eb31461052857005b8063202a034c11610369578063202a034c1461042c5780632224fa251461044c57806322be3de11461047957806325baef53146104bb57005b80630b78f9c0146103955780631a2315b8146103b55780631fe4a686146103d557005b3661039357005b005b3480156103a157600080fd5b506103936103b0366004614488565b610b70565b3480156103c157600080fd5b506103936103d03660046144aa565b610c61565b3480156103e157600080fd5b50600b546104029073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561043857600080fd5b50610393610447366004614672565b610e66565b34801561045857600080fd5b5061046c61046736600461474a565b610fd3565b604051610423919061486b565b34801561048557600080fd5b506008546104ab9074010000000000000000000000000000000000000000900460ff1681565b6040519015158152602001610423565b3480156104c757600080fd5b506103936104d636600461487e565b6111f2565b3480156104e757600080fd5b506104f0606481565b604051908152602001610423565b34801561050a57600080fd5b50610393611278565b34801561051f57600080fd5b5061039361128a565b34801561053457600080fd5b506104f060105481565b34801561054a57600080fd5b506104f060115481565b34801561056057600080fd5b506104f061056f3660046148b3565b61129a565b34801561058057600080fd5b506104ab61058f3660046148df565b6113ed565b3480156105a057600080fd5b506103936105af3660046144aa565b611459565b3480156105c057600080fd5b50610393611466565b3480156105d557600080fd5b506104f060145481565b3480156105eb57600080fd5b5060025460ff166104ab565b34801561060357600080fd5b5061040273039e2fb66102314ce7b64ce5ce3e5183bc94ad3881565b34801561062b57600080fd5b50610393611476565b34801561064057600080fd5b5061039361064f3660046148df565b611486565b34801561066057600080fd5b506104f0611554565b34801561067557600080fd5b506104f060135481565b34801561068b57600080fd5b506104f060125481565b3480156106a157600080fd5b506104f06106b03660046148fc565b6115ad565b3480156106c157600080fd5b506103936106d03660046144aa565b6116ba565b3480156106e157600080fd5b506103936116c7565b3480156106f657600080fd5b506104f06116d9565b34801561070b57600080fd5b506006546104029073ffffffffffffffffffffffffffffffffffffffff1681565b34801561073857600080fd5b5061039361171a565b34801561074d57600080fd5b506104f060165481565b34801561076357600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610402565b34801561078e57600080fd5b5061039361079d3660046148df565b61172a565b3480156107ae57600080fd5b506103936107bd36600461493d565b6118b7565b3480156107ce57600080fd5b5060025461040290610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561080057600080fd5b506104f0600f5481565b34801561081657600080fd5b506104f060155481565b34801561082c57600080fd5b506104f06103e881565b34801561084257600080fd5b506104f0611975565b34801561085757600080fd5b50610393611a1b565b34801561086c57600080fd5b506104f0600e5481565b34801561088257600080fd5b506104f0611bfa565b34801561089757600080fd5b506103936108a63660046148df565b611ca3565b3480156108b757600080fd5b506103936108c63660046148df565b611dca565b3480156108d757600080fd5b50610393611e98565b3480156108ec57600080fd5b506017546104029073ffffffffffffffffffffffffffffffffffffffff1681565b34801561091957600080fd5b506103936109283660046148b3565b611eb3565b34801561093957600080fd5b506103936109483660046148df565b61204a565b34801561095957600080fd5b5061096d6109683660046148fc565b612099565b6040805173ffffffffffffffffffffffffffffffffffffffff9485168152939092166020840152151590820152606001610423565b3480156109ae57600080fd5b50600c546104029073ffffffffffffffffffffffffffffffffffffffff1681565b3480156109db57600080fd5b50610393612118565b3480156109f057600080fd5b506007546104029073ffffffffffffffffffffffffffffffffffffffff1681565b348015610a1d57600080fd5b506104f061222b565b348015610a3257600080fd5b506104f061236e565b348015610a4757600080fd5b506008546104029073ffffffffffffffffffffffffffffffffffffffff1681565b348015610a7457600080fd5b506104f0600d5481565b348015610a8a57600080fd5b506005546104029073ffffffffffffffffffffffffffffffffffffffff1681565b348015610ab757600080fd5b506003546104029073ffffffffffffffffffffffffffffffffffffffff1681565b348015610ae457600080fd5b506104f060045481565b348015610afa57600080fd5b50610393610b093660046148df565b612634565b348015610b1a57600080fd5b506104f0610b293660046148b3565b6126eb565b348015610b3a57600080fd5b506103936129d5565b348015610b4f57600080fd5b50600a546104029073ffffffffffffffffffffffffffffffffffffffff1681565b610b786129e5565b6064821115610be8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f53747261746567793a2076616c756520746f6f2068696768000000000000000060448201526064015b60405180910390fd5b60168290556015546014541115610c5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f53747261746567793a2076616c756520746f6f206869676800000000000000006044820152606401610bdf565b60145550565b610c696129e5565b60008111610cd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f416d6f756e74206d7573742062652067726561746572207468616e207a65726f6044820152606401610bdf565b80471015610d63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f496e73756666696369656e7420532062616c616e636520696e20636f6e74726160448201527f63740000000000000000000000000000000000000000000000000000000000006064820152608401610bdf565b60175460405160009173ffffffffffffffffffffffffffffffffffffffff169083908381818185875af1925050503d8060008114610dbd576040519150601f19603f3d011682016040523d82523d6000602084013e610dc2565b606091505b5050905080610e2d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5769746864726177206661696c656400000000000000000000000000000000006044820152606401610bdf565b60405182815233907f3ab94c2d450999c961d10ed65cef0fc04929ce8a38e411793ca2cb0fef9036279060200160405180910390a25050565b610e6e6129e5565b73ffffffffffffffffffffffffffffffffffffffff80841660009081526009602090815260408083209386168352929052908120610eab91614407565b60005b8151811015610fcd5773ffffffffffffffffffffffffffffffffffffffff80851660009081526009602090815260408083209387168352929052208251839083908110610efd57610efd6149de565b602090810291909101810151825460018082018555600094855293839020825160029092020180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92831617815592820151929093018054604090920151929093167fffffffffffffffffffffff00000000000000000000000000000000000000000090911617740100000000000000000000000000000000000000009115159190910217905580610fc581614a3c565b915050610eae565b50505050565b600c5460609073ffffffffffffffffffffffffffffffffffffffff163314611057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f53747261746567793a2063616c6c6572206973206e6f742074696d656c6f636b6044820152606401610bdf565b606083516000141561106a575081611096565b838051906020012083604051602001611084929190614a75565b60405160208183030381529060405290505b6000808773ffffffffffffffffffffffffffffffffffffffff1687846040516110bf9190614abd565b60006040518083038185875af1925050503d80600081146110fc576040519150601f19603f3d011682016040523d82523d6000602084013e611101565b606091505b509150915081611193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f53747261746567793a3a657865637574655472616e73616374696f6e3a20547260448201527f616e73616374696f6e20657865637574696f6e2072657665727465642e0000006064820152608401610bdf565b8773ffffffffffffffffffffffffffffffffffffffff167f88405ca50016c636e025868e263efe5a9f63bf11cc45404f7616394c7dc389d08888886040516111dd93929190614ad9565b60405180910390a2925050505b949350505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c6572000000006044820152606401610bdf565b505050565b6112806129e5565b611288612a66565b565b6112926129e5565b611288612c12565b600a5460009073ffffffffffffffffffffffffffffffffffffffff16331461131e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c6572000000006044820152606401610bdf565b611326612c8f565b61132e612d03565b6005546113539073ffffffffffffffffffffffffffffffffffffffff16333085612d70565b60105482901580159061136857506000601154115b156113915761138e60105461138860115486612e4c90919063ffffffff16565b90612e5f565b90505b60115461139e9082612e6b565b6011556113a9612a66565b6040518381527f4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e384269060200160405180910390a190506113e760018055565b92915050565b6000805473ffffffffffffffffffffffffffffffffffffffff838116911614806114315750600b5473ffffffffffffffffffffffffffffffffffffffff8381169116145b806113e7575050600c5473ffffffffffffffffffffffffffffffffffffffff90811691161490565b6114616129e5565b601355565b61146e6129e5565b611288612e77565b61147e6129e5565b611288613338565b61148e6129e5565b73ffffffffffffffffffffffffffffffffffffffff811661150d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdf9060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b601780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008061155f61222b565b905080156115a45760085461159f9073ffffffffffffffffffffffffffffffffffffffff1673039e2fb66102314ce7b64ce5ce3e5183bc94ad38836115ad565b6115a7565b60005b91505090565b60035473ffffffffffffffffffffffffffffffffffffffff8481166000908152600960209081526040808320878516845290915280822090517f9881fcb4000000000000000000000000000000000000000000000000000000008152919384931691639881fcb49161162491879190600401614b85565b600060405180830381865afa158015611641573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526116879190810190614b9e565b905080600182516116989190614c24565b815181106116a8576116a86149de565b60200260200101519150509392505050565b6116c26129e5565b600f55565b6116cf6129e5565b6112886000613618565b600060115460001461170d57611708601154611388670de0b6b3a7640000601054612e4c90919063ffffffff16565b905090565b50670de0b6b3a764000090565b6117226129e5565b61128861368d565b73ffffffffffffffffffffffffffffffffffffffff81166117a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f696e76616c6964416464726573730000000000000000000000000000000000006044820152606401610bdf565b600a5473ffffffffffffffffffffffffffffffffffffffff163314806117e45750600c5473ffffffffffffffffffffffffffffffffffffffff1633145b611870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c6572206e6f7260448201527f2074696d656c6f636b00000000000000000000000000000000000000000000006064820152608401610bdf565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6118bf6129e5565b6008546006546118e99173ffffffffffffffffffffffffffffffffffffffff908116911686610e66565b6008546007546119139173ffffffffffffffffffffffffffffffffffffffff908116911685610e66565b60085461194b9073ffffffffffffffffffffffffffffffffffffffff1673039e2fb66102314ce7b64ce5ce3e5183bc94ad3884610e66565b600654600754610fcd9173ffffffffffffffffffffffffffffffffffffffff908116911683610e66565b600061197f611bfa565b6005546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa1580156119ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a119190614c3b565b6117089190614c54565b600b5473ffffffffffffffffffffffffffffffffffffffff16331480611a74575033611a5c60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16145b611b00576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f53747261746567793a2063616c6c6572206973206e6f7420746865207374726160448201527f74656769737400000000000000000000000000000000000000000000000000006064820152608401610bdf565b6000611b0a611554565b9050600f54811015611b78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f746f6f20736d616c6c00000000000000000000000000000000000000000000006044820152606401610bdf565b6000611b8261236e565b905080471015611bee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f6e6f7420656e6f756768205320636f6c6c61746572616c0000000000000000006044820152606401610bdf565b611bf6612118565b5050565b600254600480546040517f93f1a40b00000000000000000000000000000000000000000000000000000000815291820152306024820152600091829161010090910473ffffffffffffffffffffffffffffffffffffffff16906393f1a40b906044016040805180830381865afa158015611c78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c9c9190614c6c565b5092915050565b600c5473ffffffffffffffffffffffffffffffffffffffff16331480611d1d5750600c5473ffffffffffffffffffffffffffffffffffffffff16158015611d1d575033611d0560005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16145b611d83576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f2174696d656c6f636b00000000000000000000000000000000000000000000006044820152606401610bdf565b600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b611dd26129e5565b73ffffffffffffffffffffffffffffffffffffffff8116611e51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdf9060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b611ea06129e5565b60025460ff161561172257611288612c12565b611ebb6129e5565b60085473ffffffffffffffffffffffffffffffffffffffff83811691161415611f40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f21736166650000000000000000000000000000000000000000000000000000006044820152606401610bdf565b60055473ffffffffffffffffffffffffffffffffffffffff83811691161415611fc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f21736166650000000000000000000000000000000000000000000000000000006044820152606401610bdf565b600a5473ffffffffffffffffffffffffffffffffffffffff90811690611fee90841682846136e8565b6040805173ffffffffffffffffffffffffffffffffffffffff85811682526020820185905283168183015290517f22f92dfb4f608ea5db1e9bb08c0b4f5518af93b1259d335fe05900056096ab2c9181900360600190a1505050565b6120526129e5565b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600960205282600052604060002060205281600052604060002081815481106120c157600080fd5b60009182526020909120600290910201805460019091015473ffffffffffffffffffffffffffffffffffffffff9182169450908116925074010000000000000000000000000000000000000000900460ff16905083565b612120612d03565b600b5473ffffffffffffffffffffffffffffffffffffffff1633148061217957503361216160005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16145b612205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f53747261746567793a2063616c6c6572206973206e6f7420746865207374726160448201527f74656769737400000000000000000000000000000000000000000000000000006064820152608401610bdf565b61220d612e77565b612215613338565b61221d61373e565b612225612a66565b42600e55565b6008546040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600091829173ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa15801561229e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c29190614c3b565b600254600480546040517f6b2681c5000000000000000000000000000000000000000000000000000000008152918201523060248201529192506115a7918391610100900473ffffffffffffffffffffffffffffffffffffffff1690636b2681c590604401602060405180830381865afa158015612344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123689190614c3b565b90612e6b565b60008061237961222b565b90506000600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663717478026040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240e9190614c90565b9050801561262b576000600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632760f89b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612485573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a99190614cad565b6008546040517f6808a12800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152670de0b6b3a7640000602482015291925060009190831690636808a12890604401602060405180830381865afa15801561252d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125519190614c3b565b9050600061256b670de0b6b3a76400006113888785612e4c565b90506000600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ba44a45a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126009190614c3b565b90506126206103e8611388601454846126199190614c54565b8590612e4c565b965050505050505090565b60009250505090565b61263c6129e5565b73ffffffffffffffffffffffffffffffffffffffff81166126df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bdf565b6126e881613618565b50565b600a5460009073ffffffffffffffffffffffffffffffffffffffff16331461276f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c6572000000006044820152606401610bdf565b612777612c8f565b600082116127e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f53747261746567793a20215f77616e74416d74000000000000000000000000006044820152606401610bdf565b600254600480546040517f441a3e70000000000000000000000000000000000000000000000000000000008152918201526024810184905261010090910473ffffffffffffffffffffffffffffffffffffffff169063441a3e7090604401600060405180830381600087803b15801561285957600080fd5b505af115801561286d573d6000803e3d6000fd5b50506005546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000935073ffffffffffffffffffffffffffffffffffffffff90911691506370a0823190602401602060405180830381865afa1580156128e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129069190614c3b565b905080831115612914578092505b8260105410156129245760105492505b600061294160105461138860115487612e4c90919063ffffffff16565b905060115481111561295257506011545b60115461295f9082613c9f565b60115560105461296f9085613c9f565b6010556005546129969073ffffffffffffffffffffffffffffffffffffffff1633866136e8565b6040518481527f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d9060200160405180910390a19150506113e760018055565b6129dd6129e5565b61128861373e565b60005473ffffffffffffffffffffffffffffffffffffffff163314611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdf565b6005546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff9091169060009082906370a0823190602401602060405180830381865afa158015612ad9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612afd9190614c3b565b601054909150612b0d9082612e6b565b6010558015611bf657600554600254612b459173ffffffffffffffffffffffffffffffffffffffff9081169161010090041683613cab565b600254600480546040517fe2bbb158000000000000000000000000000000000000000000000000000000008152918201526024810183905261010090910473ffffffffffffffffffffffffffffffffffffffff169063e2bbb15890604401600060405180830381600087803b158015612bbd57600080fd5b505af1158015612bd1573d6000803e3d6000fd5b505050507fc217459869eed80bfbe5c11e78ab58912eedfd106342671821b6e96d1615dc7f81604051612c0691815260200190565b60405180910390a15050565b612c1a613ccc565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b60026001541415612cfc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610bdf565b6002600155565b60025460ff1615611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610bdf565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610fcd9085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152613d38565b6000612e588284614cca565b9392505050565b6000612e588284614d07565b6000612e588284614c54565b600254600480546040517f6b2681c500000000000000000000000000000000000000000000000000000000815291820152306024820152479160009161010090910473ffffffffffffffffffffffffffffffffffffffff1690636b2681c590604401602060405180830381865afa158015612ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f1a9190614c3b565b90506000600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663717478026040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612faf9190614c90565b90506000811561322e576000600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ba44a45a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613028573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061304c9190614c3b565b90506000600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632760f89b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156130bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130e19190614cad565b6008546040517f6808a12800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152670de0b6b3a7640000602482015291925060009190831690636808a12890604401602060405180830381865afa158015613165573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131899190614c3b565b9050600081116131f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4f7261636c65207072696365206572726f7200000000000000000000000000006044820152606401610bdf565b6132286103e86113886014548661320c9190614c54565b613222670de0b6b3a7640000611388878d612e4c565b90612e4c565b93505050505b80841015613298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4e6f7420656e6f75676820736f6e696320636f6c6c61746572616c00000000006044820152606401610bdf565b600254600480546040517fddc632620000000000000000000000000000000000000000000000000000000081529182015261010090910473ffffffffffffffffffffffffffffffffffffffff169063ddc632629083906024016000604051808303818588803b15801561330a57600080fd5b505af115801561331e573d6000803e3d6000fd5b5050505050478461332f9190614c24565b600d5550505050565b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156133a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133cb9190614c3b565b9050600081116133d85750565b6008546040805173ffffffffffffffffffffffffffffffffffffffff9092168252602082018390527f053fa1fc52294a40b4ff1a988765bd298c00caa24d685cc3f767dcfde254ef9a910160405180910390a16008546000906134669073ffffffffffffffffffffffffffffffffffffffff1673039e2fb66102314ce7b64ce5ce3e5183bc94ad38846115ad565b905060008111613474575050565b601654600d54156134b45760145461349d836113886103e8600d54612e4c90919063ffffffff16565b6134a79190614c54565b6134b19082614c54565b90505b6008546134e79073ffffffffffffffffffffffffffffffffffffffff166134e16103e86113888786612e4c565b30613e47565b60135447906000908211156135d4576013546135039083614c24565b60175460405191925060009173ffffffffffffffffffffffffffffffffffffffff9091169083908381818185875af1925050503d8060008114613562576040519150601f19603f3d011682016040523d82523d6000602084013e613567565b606091505b50509050806135d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f7472616e7366657220666565206661696c6564210000000000000000000000006044820152606401610bdf565b505b600d5460408051918252602082018390527f2cc59d6e1281c9f122c4f6930ae083db22762e74c7aacbfeded26fcbb367936b91015b60405180910390a15050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b613695612d03565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612c653390565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526112739084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401612dca565b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156137ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d19190614c3b565b600854909150613819906138109073ffffffffffffffffffffffffffffffffffffffff1673039e2fb66102314ce7b64ce5ce3e5183bc94ad38846115ad565b60125490612e6b565b6012556003546006546007546008546040517f98a0fb3c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9384166004820152918316602483015274010000000000000000000000000000000000000000900460ff1615156044820152670de0b6b3a7640000606482018190526084820152600092839216906398a0fb3c9060a401606060405180830381865afa1580156138d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138fb9190614d42565b5060065460085492945090925073ffffffffffffffffffffffffffffffffffffffff9182169116146139c35760065460075460009161395c9173ffffffffffffffffffffffffffffffffffffffff9182169116670de0b6b3a76400006115ad565b90506000613976670de0b6b3a76400006113888685612e4c565b905060006139848483614c54565b6008546006549192506139bf9173ffffffffffffffffffffffffffffffffffffffff91821691166139b9846113888b88612e4c565b30613f57565b5050505b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa158015613a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a559190614c3b565b60075460085491945073ffffffffffffffffffffffffffffffffffffffff918216911614613aa857600854600754613aa89173ffffffffffffffffffffffffffffffffffffffff90811691168530613f57565b6006546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015613b17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b3b9190614c3b565b6007546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015291925060009173ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa158015613baf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bd39190614c3b565b9050600082118015613be55750600081115b15613c9857600654600754600854613c349273ffffffffffffffffffffffffffffffffffffffff90811692169074010000000000000000000000000000000000000000900460ff168585614058565b6006546007546040805173ffffffffffffffffffffffffffffffffffffffff9384168152602081018690529290911690820152606081018290527f44552da03f807ace3e5f27e98e694712dfe668c743514b28d4d9f5ab70574b0f90608001613609565b5050505050565b6000612e588284614c24565b61127373ffffffffffffffffffffffffffffffffffffffff841683836141a0565b60025460ff16611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610bdf565b6000613d9a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166142999092919063ffffffff16565b9050805160001480613dbb575080806020019051810190613dbb9190614c90565b611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610bdf565b600354613e6c90849073ffffffffffffffffffffffffffffffffffffffff1684613cab565b73ffffffffffffffffffffffffffffffffffffffff831673039e2fb66102314ce7b64ce5ce3e5183bc94ad38146112735760035473ffffffffffffffffffffffffffffffffffffffff848116600090815260096020908152604080832073039e2fb66102314ce7b64ce5ce3e5183bc94ad388452909152812091909216916318a130869185919085613f0042610708612e6b565b6040518663ffffffff1660e01b8152600401613f20959493929190614d70565b600060405180830381600087803b158015613f3a57600080fd5b505af1158015613f4e573d6000803e3d6000fd5b50505050505050565b600354613f7c90859073ffffffffffffffffffffffffffffffffffffffff1684613cab565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610fcd5760035473ffffffffffffffffffffffffffffffffffffffff858116600090815260096020908152604080832088851684529091528120919092169163f41766d8918591908561400042610708612e6b565b6040518663ffffffff1660e01b8152600401614020959493929190614d70565b600060405180830381600087803b15801561403a57600080fd5b505af115801561404e573d6000803e3d6000fd5b5050505050505050565b60035461407d90869073ffffffffffffffffffffffffffffffffffffffff1684613cab565b6003546140a290859073ffffffffffffffffffffffffffffffffffffffff1683613cab565b60035473ffffffffffffffffffffffffffffffffffffffff16635a47ddc38686868686600080306140d542610708612e6b565b60405160e08b901b7fffffffff0000000000000000000000000000000000000000000000000000000016815273ffffffffffffffffffffffffffffffffffffffff998a166004820152978916602489015295151560448801526064870194909452608486019290925260a485015260c484015290921660e4820152610104810191909152610124016060604051808303816000875af115801561417c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061404e9190614d42565b6040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff83811660248301526000919085169063dd62ed3e90604401602060405180830381865afa158015614216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061423a9190614c3b565b9050610fcd847f095ea7b3000000000000000000000000000000000000000000000000000000008561426c8686614c54565b60405173ffffffffffffffffffffffffffffffffffffffff90921660248301526044820152606401612dca565b60606111ea8484600085856000808673ffffffffffffffffffffffffffffffffffffffff1685876040516142cd9190614abd565b60006040518083038185875af1925050503d806000811461430a576040519150601f19603f3d011682016040523d82523d6000602084013e61430f565b606091505b50915091506143208783838761432b565b979650505050505050565b606083156143be5782516143b75773ffffffffffffffffffffffffffffffffffffffff85163b6143b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bdf565b50816111ea565b6111ea83838151156143d35781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdf919061486b565b50805460008255600202906000526020600020908101906126e891905b808211156144845780547fffffffffffffffffffffffff00000000000000000000000000000000000000001681556001810180547fffffffffffffffffffffff000000000000000000000000000000000000000000169055600201614424565b5090565b6000806040838503121561449b57600080fd5b50508035926020909101359150565b6000602082840312156144bc57600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff811681146126e857600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516060810167ffffffffffffffff81118282101715614537576145376144e5565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715614584576145846144e5565b604052919050565b600067ffffffffffffffff8211156145a6576145a66144e5565b5060051b60200190565b80151581146126e857600080fd5b600082601f8301126145cf57600080fd5b813560206145e46145df8361458c565b61453d565b8281526060928302850182019282820191908785111561460357600080fd5b8387015b858110156146655781818a03121561461f5760008081fd5b614627614514565b8135614632816144c3565b815281860135614641816144c3565b81870152604082810135614654816145b0565b908201528452928401928101614607565b5090979650505050505050565b60008060006060848603121561468757600080fd5b8335614692816144c3565b925060208401356146a2816144c3565b9150604084013567ffffffffffffffff8111156146be57600080fd5b6146ca868287016145be565b9150509250925092565b600067ffffffffffffffff8311156146ee576146ee6144e5565b61471f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8601160161453d565b905082815283838301111561473357600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561476057600080fd5b843561476b816144c3565b935060208501359250604085013567ffffffffffffffff8082111561478f57600080fd5b818701915087601f8301126147a357600080fd5b6147b2888335602085016146d4565b935060608701359150808211156147c857600080fd5b508501601f810187136147da57600080fd5b6147e9878235602084016146d4565b91505092959194509250565b60005b838110156148105781810151838201526020016147f8565b83811115610fcd5750506000910152565b600081518084526148398160208601602086016147f5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000612e586020830184614821565b60008060006060848603121561489357600080fd5b833561489e816144c3565b95602085013595506040909401359392505050565b600080604083850312156148c657600080fd5b82356148d1816144c3565b946020939093013593505050565b6000602082840312156148f157600080fd5b8135612e58816144c3565b60008060006060848603121561491157600080fd5b833561491c816144c3565b9250602084013561492c816144c3565b929592945050506040919091013590565b6000806000806080858703121561495357600080fd5b843567ffffffffffffffff8082111561496b57600080fd5b614977888389016145be565b9550602087013591508082111561498d57600080fd5b614999888389016145be565b945060408701359150808211156149af57600080fd5b6149bb888389016145be565b935060608701359150808211156149d157600080fd5b506147e9878288016145be565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a6e57614a6e614a0d565b5060010190565b7fffffffff000000000000000000000000000000000000000000000000000000008316815260008251614aaf8160048501602087016147f5565b919091016004019392505050565b60008251614acf8184602087016147f5565b9190910192915050565b838152606060208201526000614af26060830185614821565b8281036040840152614b048185614821565b9695505050505050565b6000815480845260208085019450836000528060002060005b83811015614b7a57815473ffffffffffffffffffffffffffffffffffffffff9081168852600180840154918216858a015260a09190911c60ff161515604089015260609097019660029092019101614b27565b509495945050505050565b8281526040602082015260006111ea6040830184614b0e565b60006020808385031215614bb157600080fd5b825167ffffffffffffffff811115614bc857600080fd5b8301601f81018513614bd957600080fd5b8051614be76145df8261458c565b81815260059190911b82018301908381019087831115614c0657600080fd5b928401925b8284101561432057835182529284019290840190614c0b565b600082821015614c3657614c36614a0d565b500390565b600060208284031215614c4d57600080fd5b5051919050565b60008219821115614c6757614c67614a0d565b500190565b60008060408385031215614c7f57600080fd5b505080516020909101519092909150565b600060208284031215614ca257600080fd5b8151612e58816145b0565b600060208284031215614cbf57600080fd5b8151612e58816144c3565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614d0257614d02614a0d565b500290565b600082614d3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600080600060608486031215614d5757600080fd5b8351925060208401519150604084015190509250925092565b85815284602082015260a060408201526000614d8f60a0830186614b0e565b73ffffffffffffffffffffffffffffffffffffffff9490941660608301525060800152939250505056fea2646970667358221220e4be30a5c360dff15b669f9e9dda7cdf56fd9031f20bb50235fe5253825081fe64736f6c634300080c00330000000000000000000000008ae21a4f5b99f18de502fceb3174c74229ab326c00000000000000000000000071fd21a764ef295fb7bfbdf4d2ebffe862e76fbf000000000000000000000000c547e8dd3844fb5bc178120a121b365ea790774e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000287c6882de298665977787e268f3dba052a6e251000000000000000000000000674a430f531847a6f8976a900f8ace765f896a1b0000000000000000000000003a516e01f82c1e18916ed69a81dd498ef64bb157000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad380000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode
0x60806040526004361061038c5760003560e01c80638da5cb5b116101da578063c7b9d53011610101578063e77601b91161009a578063f2fde38b1161006c578063f2fde38b14610aee578063f3fef3a314610b0e578063f69e204614610b2e578063f77c479114610b4357005b8063e77601b914610a68578063e7a0367914610a7e578063e7f67fb114610aab578063f106845414610ad857005b8063d7cb416f116100d3578063d7cb416f146109e4578063db7a3c0f14610a11578063e68b536414610a26578063e719847414610a3b57005b8063c7b9d5301461092d578063cfc2b5501461094d578063d33219b4146109a2578063d389800f146109cf57005b8063ae33569511610173578063c0762e5e11610145578063c0762e5e146108ab578063c4ae3168146108cb578063c5f956af146108e0578063c6d758cb1461090d57005b8063ae3356951461084b578063ba0c108f14610860578063bb97517e14610876578063bdacb3031461088b57005b8063a0fab119116101ac578063a0fab119146107f4578063a84fd93f1461080a578063a9ad842214610820578063ad7a672f1461083657005b80638da5cb5b1461075757806392eefe9b14610782578063978347d1146107a25780639fc33a9f146107c257005b80635a34928e116102be5780636dfa8d991161025757806377c7b8fc1161022957806377c7b8fc146106ea5780637ff36fbe146106ff5780638456cb591461072c57806385f02dd61461074157005b80636dfa8d991461067f578063701f66041461069557806370a3cb11146106b5578063715018a6146106d557005b806362779e151161029057806362779e151461061f5780636605bfda1461063457806367d03db8146106545780636978d9271461066957005b80635a34928e146105b45780635afbbaab146105c95780635c975abb146105df5780635d409359146105f757005b80632717eff31161033057806344a3955e1161030257806344a3955e1461053e57806347e7ef241461055457806351b699cd14610574578063593eda621461059457005b80632717eff3146104db57806336e9332d146104fe5780633f4ba83a1461051357806342da4eb31461052857005b8063202a034c11610369578063202a034c1461042c5780632224fa251461044c57806322be3de11461047957806325baef53146104bb57005b80630b78f9c0146103955780631a2315b8146103b55780631fe4a686146103d557005b3661039357005b005b3480156103a157600080fd5b506103936103b0366004614488565b610b70565b3480156103c157600080fd5b506103936103d03660046144aa565b610c61565b3480156103e157600080fd5b50600b546104029073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b34801561043857600080fd5b50610393610447366004614672565b610e66565b34801561045857600080fd5b5061046c61046736600461474a565b610fd3565b604051610423919061486b565b34801561048557600080fd5b506008546104ab9074010000000000000000000000000000000000000000900460ff1681565b6040519015158152602001610423565b3480156104c757600080fd5b506103936104d636600461487e565b6111f2565b3480156104e757600080fd5b506104f0606481565b604051908152602001610423565b34801561050a57600080fd5b50610393611278565b34801561051f57600080fd5b5061039361128a565b34801561053457600080fd5b506104f060105481565b34801561054a57600080fd5b506104f060115481565b34801561056057600080fd5b506104f061056f3660046148b3565b61129a565b34801561058057600080fd5b506104ab61058f3660046148df565b6113ed565b3480156105a057600080fd5b506103936105af3660046144aa565b611459565b3480156105c057600080fd5b50610393611466565b3480156105d557600080fd5b506104f060145481565b3480156105eb57600080fd5b5060025460ff166104ab565b34801561060357600080fd5b5061040273039e2fb66102314ce7b64ce5ce3e5183bc94ad3881565b34801561062b57600080fd5b50610393611476565b34801561064057600080fd5b5061039361064f3660046148df565b611486565b34801561066057600080fd5b506104f0611554565b34801561067557600080fd5b506104f060135481565b34801561068b57600080fd5b506104f060125481565b3480156106a157600080fd5b506104f06106b03660046148fc565b6115ad565b3480156106c157600080fd5b506103936106d03660046144aa565b6116ba565b3480156106e157600080fd5b506103936116c7565b3480156106f657600080fd5b506104f06116d9565b34801561070b57600080fd5b506006546104029073ffffffffffffffffffffffffffffffffffffffff1681565b34801561073857600080fd5b5061039361171a565b34801561074d57600080fd5b506104f060165481565b34801561076357600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff16610402565b34801561078e57600080fd5b5061039361079d3660046148df565b61172a565b3480156107ae57600080fd5b506103936107bd36600461493d565b6118b7565b3480156107ce57600080fd5b5060025461040290610100900473ffffffffffffffffffffffffffffffffffffffff1681565b34801561080057600080fd5b506104f0600f5481565b34801561081657600080fd5b506104f060155481565b34801561082c57600080fd5b506104f06103e881565b34801561084257600080fd5b506104f0611975565b34801561085757600080fd5b50610393611a1b565b34801561086c57600080fd5b506104f0600e5481565b34801561088257600080fd5b506104f0611bfa565b34801561089757600080fd5b506103936108a63660046148df565b611ca3565b3480156108b757600080fd5b506103936108c63660046148df565b611dca565b3480156108d757600080fd5b50610393611e98565b3480156108ec57600080fd5b506017546104029073ffffffffffffffffffffffffffffffffffffffff1681565b34801561091957600080fd5b506103936109283660046148b3565b611eb3565b34801561093957600080fd5b506103936109483660046148df565b61204a565b34801561095957600080fd5b5061096d6109683660046148fc565b612099565b6040805173ffffffffffffffffffffffffffffffffffffffff9485168152939092166020840152151590820152606001610423565b3480156109ae57600080fd5b50600c546104029073ffffffffffffffffffffffffffffffffffffffff1681565b3480156109db57600080fd5b50610393612118565b3480156109f057600080fd5b506007546104029073ffffffffffffffffffffffffffffffffffffffff1681565b348015610a1d57600080fd5b506104f061222b565b348015610a3257600080fd5b506104f061236e565b348015610a4757600080fd5b506008546104029073ffffffffffffffffffffffffffffffffffffffff1681565b348015610a7457600080fd5b506104f0600d5481565b348015610a8a57600080fd5b506005546104029073ffffffffffffffffffffffffffffffffffffffff1681565b348015610ab757600080fd5b506003546104029073ffffffffffffffffffffffffffffffffffffffff1681565b348015610ae457600080fd5b506104f060045481565b348015610afa57600080fd5b50610393610b093660046148df565b612634565b348015610b1a57600080fd5b506104f0610b293660046148b3565b6126eb565b348015610b3a57600080fd5b506103936129d5565b348015610b4f57600080fd5b50600a546104029073ffffffffffffffffffffffffffffffffffffffff1681565b610b786129e5565b6064821115610be8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f53747261746567793a2076616c756520746f6f2068696768000000000000000060448201526064015b60405180910390fd5b60168290556015546014541115610c5b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f53747261746567793a2076616c756520746f6f206869676800000000000000006044820152606401610bdf565b60145550565b610c696129e5565b60008111610cd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f416d6f756e74206d7573742062652067726561746572207468616e207a65726f6044820152606401610bdf565b80471015610d63576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602260248201527f496e73756666696369656e7420532062616c616e636520696e20636f6e74726160448201527f63740000000000000000000000000000000000000000000000000000000000006064820152608401610bdf565b60175460405160009173ffffffffffffffffffffffffffffffffffffffff169083908381818185875af1925050503d8060008114610dbd576040519150601f19603f3d011682016040523d82523d6000602084013e610dc2565b606091505b5050905080610e2d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600f60248201527f5769746864726177206661696c656400000000000000000000000000000000006044820152606401610bdf565b60405182815233907f3ab94c2d450999c961d10ed65cef0fc04929ce8a38e411793ca2cb0fef9036279060200160405180910390a25050565b610e6e6129e5565b73ffffffffffffffffffffffffffffffffffffffff80841660009081526009602090815260408083209386168352929052908120610eab91614407565b60005b8151811015610fcd5773ffffffffffffffffffffffffffffffffffffffff80851660009081526009602090815260408083209387168352929052208251839083908110610efd57610efd6149de565b602090810291909101810151825460018082018555600094855293839020825160029092020180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92831617815592820151929093018054604090920151929093167fffffffffffffffffffffff00000000000000000000000000000000000000000090911617740100000000000000000000000000000000000000009115159190910217905580610fc581614a3c565b915050610eae565b50505050565b600c5460609073ffffffffffffffffffffffffffffffffffffffff163314611057576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f53747261746567793a2063616c6c6572206973206e6f742074696d656c6f636b6044820152606401610bdf565b606083516000141561106a575081611096565b838051906020012083604051602001611084929190614a75565b60405160208183030381529060405290505b6000808773ffffffffffffffffffffffffffffffffffffffff1687846040516110bf9190614abd565b60006040518083038185875af1925050503d80600081146110fc576040519150601f19603f3d011682016040523d82523d6000602084013e611101565b606091505b509150915081611193576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f53747261746567793a3a657865637574655472616e73616374696f6e3a20547260448201527f616e73616374696f6e20657865637574696f6e2072657665727465642e0000006064820152608401610bdf565b8773ffffffffffffffffffffffffffffffffffffffff167f88405ca50016c636e025868e263efe5a9f63bf11cc45404f7616394c7dc389d08888886040516111dd93929190614ad9565b60405180910390a2925050505b949350505050565b600a5473ffffffffffffffffffffffffffffffffffffffff163314611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c6572000000006044820152606401610bdf565b505050565b6112806129e5565b611288612a66565b565b6112926129e5565b611288612c12565b600a5460009073ffffffffffffffffffffffffffffffffffffffff16331461131e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c6572000000006044820152606401610bdf565b611326612c8f565b61132e612d03565b6005546113539073ffffffffffffffffffffffffffffffffffffffff16333085612d70565b60105482901580159061136857506000601154115b156113915761138e60105461138860115486612e4c90919063ffffffff16565b90612e5f565b90505b60115461139e9082612e6b565b6011556113a9612a66565b6040518381527f4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e384269060200160405180910390a190506113e760018055565b92915050565b6000805473ffffffffffffffffffffffffffffffffffffffff838116911614806114315750600b5473ffffffffffffffffffffffffffffffffffffffff8381169116145b806113e7575050600c5473ffffffffffffffffffffffffffffffffffffffff90811691161490565b6114616129e5565b601355565b61146e6129e5565b611288612e77565b61147e6129e5565b611288613338565b61148e6129e5565b73ffffffffffffffffffffffffffffffffffffffff811661150d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdf9060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b601780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60008061155f61222b565b905080156115a45760085461159f9073ffffffffffffffffffffffffffffffffffffffff1673039e2fb66102314ce7b64ce5ce3e5183bc94ad38836115ad565b6115a7565b60005b91505090565b60035473ffffffffffffffffffffffffffffffffffffffff8481166000908152600960209081526040808320878516845290915280822090517f9881fcb4000000000000000000000000000000000000000000000000000000008152919384931691639881fcb49161162491879190600401614b85565b600060405180830381865afa158015611641573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01682016040526116879190810190614b9e565b905080600182516116989190614c24565b815181106116a8576116a86149de565b60200260200101519150509392505050565b6116c26129e5565b600f55565b6116cf6129e5565b6112886000613618565b600060115460001461170d57611708601154611388670de0b6b3a7640000601054612e4c90919063ffffffff16565b905090565b50670de0b6b3a764000090565b6117226129e5565b61128861368d565b73ffffffffffffffffffffffffffffffffffffffff81166117a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f696e76616c6964416464726573730000000000000000000000000000000000006044820152606401610bdf565b600a5473ffffffffffffffffffffffffffffffffffffffff163314806117e45750600c5473ffffffffffffffffffffffffffffffffffffffff1633145b611870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c6572206e6f7260448201527f2074696d656c6f636b00000000000000000000000000000000000000000000006064820152608401610bdf565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6118bf6129e5565b6008546006546118e99173ffffffffffffffffffffffffffffffffffffffff908116911686610e66565b6008546007546119139173ffffffffffffffffffffffffffffffffffffffff908116911685610e66565b60085461194b9073ffffffffffffffffffffffffffffffffffffffff1673039e2fb66102314ce7b64ce5ce3e5183bc94ad3884610e66565b600654600754610fcd9173ffffffffffffffffffffffffffffffffffffffff908116911683610e66565b600061197f611bfa565b6005546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa1580156119ed573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a119190614c3b565b6117089190614c54565b600b5473ffffffffffffffffffffffffffffffffffffffff16331480611a74575033611a5c60005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16145b611b00576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f53747261746567793a2063616c6c6572206973206e6f7420746865207374726160448201527f74656769737400000000000000000000000000000000000000000000000000006064820152608401610bdf565b6000611b0a611554565b9050600f54811015611b78576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f746f6f20736d616c6c00000000000000000000000000000000000000000000006044820152606401610bdf565b6000611b8261236e565b905080471015611bee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f6e6f7420656e6f756768205320636f6c6c61746572616c0000000000000000006044820152606401610bdf565b611bf6612118565b5050565b600254600480546040517f93f1a40b00000000000000000000000000000000000000000000000000000000815291820152306024820152600091829161010090910473ffffffffffffffffffffffffffffffffffffffff16906393f1a40b906044016040805180830381865afa158015611c78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c9c9190614c6c565b5092915050565b600c5473ffffffffffffffffffffffffffffffffffffffff16331480611d1d5750600c5473ffffffffffffffffffffffffffffffffffffffff16158015611d1d575033611d0560005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16145b611d83576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f2174696d656c6f636b00000000000000000000000000000000000000000000006044820152606401610bdf565b600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b611dd26129e5565b73ffffffffffffffffffffffffffffffffffffffff8116611e51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdf9060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b611ea06129e5565b60025460ff161561172257611288612c12565b611ebb6129e5565b60085473ffffffffffffffffffffffffffffffffffffffff83811691161415611f40576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f21736166650000000000000000000000000000000000000000000000000000006044820152606401610bdf565b60055473ffffffffffffffffffffffffffffffffffffffff83811691161415611fc5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f21736166650000000000000000000000000000000000000000000000000000006044820152606401610bdf565b600a5473ffffffffffffffffffffffffffffffffffffffff90811690611fee90841682846136e8565b6040805173ffffffffffffffffffffffffffffffffffffffff85811682526020820185905283168183015290517f22f92dfb4f608ea5db1e9bb08c0b4f5518af93b1259d335fe05900056096ab2c9181900360600190a1505050565b6120526129e5565b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600960205282600052604060002060205281600052604060002081815481106120c157600080fd5b60009182526020909120600290910201805460019091015473ffffffffffffffffffffffffffffffffffffffff9182169450908116925074010000000000000000000000000000000000000000900460ff16905083565b612120612d03565b600b5473ffffffffffffffffffffffffffffffffffffffff1633148061217957503361216160005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16145b612205576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f53747261746567793a2063616c6c6572206973206e6f7420746865207374726160448201527f74656769737400000000000000000000000000000000000000000000000000006064820152608401610bdf565b61220d612e77565b612215613338565b61221d61373e565b612225612a66565b42600e55565b6008546040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600091829173ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa15801561229e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122c29190614c3b565b600254600480546040517f6b2681c5000000000000000000000000000000000000000000000000000000008152918201523060248201529192506115a7918391610100900473ffffffffffffffffffffffffffffffffffffffff1690636b2681c590604401602060405180830381865afa158015612344573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906123689190614c3b565b90612e6b565b60008061237961222b565b90506000600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663717478026040518163ffffffff1660e01b8152600401602060405180830381865afa1580156123ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061240e9190614c90565b9050801561262b576000600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632760f89b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612485573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124a99190614cad565b6008546040517f6808a12800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152670de0b6b3a7640000602482015291925060009190831690636808a12890604401602060405180830381865afa15801561252d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125519190614c3b565b9050600061256b670de0b6b3a76400006113888785612e4c565b90506000600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ba44a45a6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125dc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126009190614c3b565b90506126206103e8611388601454846126199190614c54565b8590612e4c565b965050505050505090565b60009250505090565b61263c6129e5565b73ffffffffffffffffffffffffffffffffffffffff81166126df576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610bdf565b6126e881613618565b50565b600a5460009073ffffffffffffffffffffffffffffffffffffffff16331461276f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c6572000000006044820152606401610bdf565b612777612c8f565b600082116127e1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f53747261746567793a20215f77616e74416d74000000000000000000000000006044820152606401610bdf565b600254600480546040517f441a3e70000000000000000000000000000000000000000000000000000000008152918201526024810184905261010090910473ffffffffffffffffffffffffffffffffffffffff169063441a3e7090604401600060405180830381600087803b15801561285957600080fd5b505af115801561286d573d6000803e3d6000fd5b50506005546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000935073ffffffffffffffffffffffffffffffffffffffff90911691506370a0823190602401602060405180830381865afa1580156128e2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129069190614c3b565b905080831115612914578092505b8260105410156129245760105492505b600061294160105461138860115487612e4c90919063ffffffff16565b905060115481111561295257506011545b60115461295f9082613c9f565b60115560105461296f9085613c9f565b6010556005546129969073ffffffffffffffffffffffffffffffffffffffff1633866136e8565b6040518481527f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d9060200160405180910390a19150506113e760018055565b6129dd6129e5565b61128861373e565b60005473ffffffffffffffffffffffffffffffffffffffff163314611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610bdf565b6005546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff9091169060009082906370a0823190602401602060405180830381865afa158015612ad9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612afd9190614c3b565b601054909150612b0d9082612e6b565b6010558015611bf657600554600254612b459173ffffffffffffffffffffffffffffffffffffffff9081169161010090041683613cab565b600254600480546040517fe2bbb158000000000000000000000000000000000000000000000000000000008152918201526024810183905261010090910473ffffffffffffffffffffffffffffffffffffffff169063e2bbb15890604401600060405180830381600087803b158015612bbd57600080fd5b505af1158015612bd1573d6000803e3d6000fd5b505050507fc217459869eed80bfbe5c11e78ab58912eedfd106342671821b6e96d1615dc7f81604051612c0691815260200190565b60405180910390a15050565b612c1a613ccc565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b60026001541415612cfc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610bdf565b6002600155565b60025460ff1615611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610bdf565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610fcd9085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff0000000000000000000000000000000000000000000000000000000090931692909217909152613d38565b6000612e588284614cca565b9392505050565b6000612e588284614d07565b6000612e588284614c54565b600254600480546040517f6b2681c500000000000000000000000000000000000000000000000000000000815291820152306024820152479160009161010090910473ffffffffffffffffffffffffffffffffffffffff1690636b2681c590604401602060405180830381865afa158015612ef6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f1a9190614c3b565b90506000600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663717478026040518163ffffffff1660e01b8152600401602060405180830381865afa158015612f8b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612faf9190614c90565b90506000811561322e576000600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ba44a45a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015613028573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061304c9190614c3b565b90506000600260019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16632760f89b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156130bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130e19190614cad565b6008546040517f6808a12800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9182166004820152670de0b6b3a7640000602482015291925060009190831690636808a12890604401602060405180830381865afa158015613165573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131899190614c3b565b9050600081116131f5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601260248201527f4f7261636c65207072696365206572726f7200000000000000000000000000006044820152606401610bdf565b6132286103e86113886014548661320c9190614c54565b613222670de0b6b3a7640000611388878d612e4c565b90612e4c565b93505050505b80841015613298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4e6f7420656e6f75676820736f6e696320636f6c6c61746572616c00000000006044820152606401610bdf565b600254600480546040517fddc632620000000000000000000000000000000000000000000000000000000081529182015261010090910473ffffffffffffffffffffffffffffffffffffffff169063ddc632629083906024016000604051808303818588803b15801561330a57600080fd5b505af115801561331e573d6000803e3d6000fd5b5050505050478461332f9190614c24565b600d5550505050565b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156133a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133cb9190614c3b565b9050600081116133d85750565b6008546040805173ffffffffffffffffffffffffffffffffffffffff9092168252602082018390527f053fa1fc52294a40b4ff1a988765bd298c00caa24d685cc3f767dcfde254ef9a910160405180910390a16008546000906134669073ffffffffffffffffffffffffffffffffffffffff1673039e2fb66102314ce7b64ce5ce3e5183bc94ad38846115ad565b905060008111613474575050565b601654600d54156134b45760145461349d836113886103e8600d54612e4c90919063ffffffff16565b6134a79190614c54565b6134b19082614c54565b90505b6008546134e79073ffffffffffffffffffffffffffffffffffffffff166134e16103e86113888786612e4c565b30613e47565b60135447906000908211156135d4576013546135039083614c24565b60175460405191925060009173ffffffffffffffffffffffffffffffffffffffff9091169083908381818185875af1925050503d8060008114613562576040519150601f19603f3d011682016040523d82523d6000602084013e613567565b606091505b50509050806135d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f7472616e7366657220666565206661696c6564210000000000000000000000006044820152606401610bdf565b505b600d5460408051918252602082018390527f2cc59d6e1281c9f122c4f6930ae083db22762e74c7aacbfeded26fcbb367936b91015b60405180910390a15050505050565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b613695612d03565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612c653390565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526112739084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401612dca565b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156137ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137d19190614c3b565b600854909150613819906138109073ffffffffffffffffffffffffffffffffffffffff1673039e2fb66102314ce7b64ce5ce3e5183bc94ad38846115ad565b60125490612e6b565b6012556003546006546007546008546040517f98a0fb3c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff9384166004820152918316602483015274010000000000000000000000000000000000000000900460ff1615156044820152670de0b6b3a7640000606482018190526084820152600092839216906398a0fb3c9060a401606060405180830381865afa1580156138d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138fb9190614d42565b5060065460085492945090925073ffffffffffffffffffffffffffffffffffffffff9182169116146139c35760065460075460009161395c9173ffffffffffffffffffffffffffffffffffffffff9182169116670de0b6b3a76400006115ad565b90506000613976670de0b6b3a76400006113888685612e4c565b905060006139848483614c54565b6008546006549192506139bf9173ffffffffffffffffffffffffffffffffffffffff91821691166139b9846113888b88612e4c565b30613f57565b5050505b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa158015613a31573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a559190614c3b565b60075460085491945073ffffffffffffffffffffffffffffffffffffffff918216911614613aa857600854600754613aa89173ffffffffffffffffffffffffffffffffffffffff90811691168530613f57565b6006546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015613b17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b3b9190614c3b565b6007546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015291925060009173ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa158015613baf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613bd39190614c3b565b9050600082118015613be55750600081115b15613c9857600654600754600854613c349273ffffffffffffffffffffffffffffffffffffffff90811692169074010000000000000000000000000000000000000000900460ff168585614058565b6006546007546040805173ffffffffffffffffffffffffffffffffffffffff9384168152602081018690529290911690820152606081018290527f44552da03f807ace3e5f27e98e694712dfe668c743514b28d4d9f5ab70574b0f90608001613609565b5050505050565b6000612e588284614c24565b61127373ffffffffffffffffffffffffffffffffffffffff841683836141a0565b60025460ff16611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610bdf565b6000613d9a826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166142999092919063ffffffff16565b9050805160001480613dbb575080806020019051810190613dbb9190614c90565b611273576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610bdf565b600354613e6c90849073ffffffffffffffffffffffffffffffffffffffff1684613cab565b73ffffffffffffffffffffffffffffffffffffffff831673039e2fb66102314ce7b64ce5ce3e5183bc94ad38146112735760035473ffffffffffffffffffffffffffffffffffffffff848116600090815260096020908152604080832073039e2fb66102314ce7b64ce5ce3e5183bc94ad388452909152812091909216916318a130869185919085613f0042610708612e6b565b6040518663ffffffff1660e01b8152600401613f20959493929190614d70565b600060405180830381600087803b158015613f3a57600080fd5b505af1158015613f4e573d6000803e3d6000fd5b50505050505050565b600354613f7c90859073ffffffffffffffffffffffffffffffffffffffff1684613cab565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610fcd5760035473ffffffffffffffffffffffffffffffffffffffff858116600090815260096020908152604080832088851684529091528120919092169163f41766d8918591908561400042610708612e6b565b6040518663ffffffff1660e01b8152600401614020959493929190614d70565b600060405180830381600087803b15801561403a57600080fd5b505af115801561404e573d6000803e3d6000fd5b5050505050505050565b60035461407d90869073ffffffffffffffffffffffffffffffffffffffff1684613cab565b6003546140a290859073ffffffffffffffffffffffffffffffffffffffff1683613cab565b60035473ffffffffffffffffffffffffffffffffffffffff16635a47ddc38686868686600080306140d542610708612e6b565b60405160e08b901b7fffffffff0000000000000000000000000000000000000000000000000000000016815273ffffffffffffffffffffffffffffffffffffffff998a166004820152978916602489015295151560448801526064870194909452608486019290925260a485015260c484015290921660e4820152610104810191909152610124016060604051808303816000875af115801561417c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061404e9190614d42565b6040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff83811660248301526000919085169063dd62ed3e90604401602060405180830381865afa158015614216573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061423a9190614c3b565b9050610fcd847f095ea7b3000000000000000000000000000000000000000000000000000000008561426c8686614c54565b60405173ffffffffffffffffffffffffffffffffffffffff90921660248301526044820152606401612dca565b60606111ea8484600085856000808673ffffffffffffffffffffffffffffffffffffffff1685876040516142cd9190614abd565b60006040518083038185875af1925050503d806000811461430a576040519150601f19603f3d011682016040523d82523d6000602084013e61430f565b606091505b50915091506143208783838761432b565b979650505050505050565b606083156143be5782516143b75773ffffffffffffffffffffffffffffffffffffffff85163b6143b7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610bdf565b50816111ea565b6111ea83838151156143d35781518083602001fd5b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bdf919061486b565b50805460008255600202906000526020600020908101906126e891905b808211156144845780547fffffffffffffffffffffffff00000000000000000000000000000000000000001681556001810180547fffffffffffffffffffffff000000000000000000000000000000000000000000169055600201614424565b5090565b6000806040838503121561449b57600080fd5b50508035926020909101359150565b6000602082840312156144bc57600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff811681146126e857600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040516060810167ffffffffffffffff81118282101715614537576145376144e5565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715614584576145846144e5565b604052919050565b600067ffffffffffffffff8211156145a6576145a66144e5565b5060051b60200190565b80151581146126e857600080fd5b600082601f8301126145cf57600080fd5b813560206145e46145df8361458c565b61453d565b8281526060928302850182019282820191908785111561460357600080fd5b8387015b858110156146655781818a03121561461f5760008081fd5b614627614514565b8135614632816144c3565b815281860135614641816144c3565b81870152604082810135614654816145b0565b908201528452928401928101614607565b5090979650505050505050565b60008060006060848603121561468757600080fd5b8335614692816144c3565b925060208401356146a2816144c3565b9150604084013567ffffffffffffffff8111156146be57600080fd5b6146ca868287016145be565b9150509250925092565b600067ffffffffffffffff8311156146ee576146ee6144e5565b61471f60207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f8601160161453d565b905082815283838301111561473357600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561476057600080fd5b843561476b816144c3565b935060208501359250604085013567ffffffffffffffff8082111561478f57600080fd5b818701915087601f8301126147a357600080fd5b6147b2888335602085016146d4565b935060608701359150808211156147c857600080fd5b508501601f810187136147da57600080fd5b6147e9878235602084016146d4565b91505092959194509250565b60005b838110156148105781810151838201526020016147f8565b83811115610fcd5750506000910152565b600081518084526148398160208601602086016147f5565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000612e586020830184614821565b60008060006060848603121561489357600080fd5b833561489e816144c3565b95602085013595506040909401359392505050565b600080604083850312156148c657600080fd5b82356148d1816144c3565b946020939093013593505050565b6000602082840312156148f157600080fd5b8135612e58816144c3565b60008060006060848603121561491157600080fd5b833561491c816144c3565b9250602084013561492c816144c3565b929592945050506040919091013590565b6000806000806080858703121561495357600080fd5b843567ffffffffffffffff8082111561496b57600080fd5b614977888389016145be565b9550602087013591508082111561498d57600080fd5b614999888389016145be565b945060408701359150808211156149af57600080fd5b6149bb888389016145be565b935060608701359150808211156149d157600080fd5b506147e9878288016145be565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a6e57614a6e614a0d565b5060010190565b7fffffffff000000000000000000000000000000000000000000000000000000008316815260008251614aaf8160048501602087016147f5565b919091016004019392505050565b60008251614acf8184602087016147f5565b9190910192915050565b838152606060208201526000614af26060830185614821565b8281036040840152614b048185614821565b9695505050505050565b6000815480845260208085019450836000528060002060005b83811015614b7a57815473ffffffffffffffffffffffffffffffffffffffff9081168852600180840154918216858a015260a09190911c60ff161515604089015260609097019660029092019101614b27565b509495945050505050565b8281526040602082015260006111ea6040830184614b0e565b60006020808385031215614bb157600080fd5b825167ffffffffffffffff811115614bc857600080fd5b8301601f81018513614bd957600080fd5b8051614be76145df8261458c565b81815260059190911b82018301908381019087831115614c0657600080fd5b928401925b8284101561432057835182529284019290840190614c0b565b600082821015614c3657614c36614a0d565b500390565b600060208284031215614c4d57600080fd5b5051919050565b60008219821115614c6757614c67614a0d565b500190565b60008060408385031215614c7f57600080fd5b505080516020909101519092909150565b600060208284031215614ca257600080fd5b8151612e58816145b0565b600060208284031215614cbf57600080fd5b8151612e58816144c3565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614d0257614d02614a0d565b500290565b600082614d3d577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600080600060608486031215614d5757600080fd5b8351925060208401519150604084015190509250925092565b85815284602082015260a060408201526000614d8f60a0830186614b0e565b73ffffffffffffffffffffffffffffffffffffffff9490941660608301525060800152939250505056fea2646970667358221220e4be30a5c360dff15b669f9e9dda7cdf56fd9031f20bb50235fe5253825081fe64736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008ae21a4f5b99f18de502fceb3174c74229ab326c00000000000000000000000071fd21a764ef295fb7bfbdf4d2ebffe862e76fbf000000000000000000000000c547e8dd3844fb5bc178120a121b365ea790774e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000287c6882de298665977787e268f3dba052a6e251000000000000000000000000674a430f531847a6f8976a900f8ace765f896a1b0000000000000000000000003a516e01f82c1e18916ed69a81dd498ef64bb157000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad380000000000000000000000000000000000000000000000000000000000000001
-----Decoded View---------------
Arg [0] : _controller (address): 0x8Ae21A4f5b99f18De502FCeb3174C74229ab326C
Arg [1] : _timelock (address): 0x71FD21a764eF295fB7BFBdf4D2EBfFE862e76fBf
Arg [2] : _treasuryAddress (address): 0xc547E8dD3844fb5BC178120a121b365Ea790774E
Arg [3] : _pid (uint256): 0
Arg [4] : _wantAddress (address): 0x287c6882dE298665977787e268f3dba052A6e251
Arg [5] : _earnedAddress (address): 0x674a430f531847a6f8976A900f8ace765f896a1b
Arg [6] : _token0 (address): 0x3a516e01f82c1e18916ED69a81Dd498eF64bB157
Arg [7] : _token1 (address): 0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38
Arg [8] : _stable (bool): True
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 0000000000000000000000008ae21a4f5b99f18de502fceb3174c74229ab326c
Arg [1] : 00000000000000000000000071fd21a764ef295fb7bfbdf4d2ebffe862e76fbf
Arg [2] : 000000000000000000000000c547e8dd3844fb5bc178120a121b365ea790774e
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 000000000000000000000000287c6882de298665977787e268f3dba052a6e251
Arg [5] : 000000000000000000000000674a430f531847a6f8976a900f8ace765f896a1b
Arg [6] : 0000000000000000000000003a516e01f82c1e18916ed69a81dd498ef64bb157
Arg [7] : 000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode Sourcemap
42915:18513:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56115:357;;;;;;;;;;-1:-1:-1;56115:357:0;;;;;:::i;:::-;;:::i;59123:388::-;;;;;;;;;;-1:-1:-1;59123:388:0;;;;;:::i;:::-;;:::i;43686:25::-;;;;;;;;;;-1:-1:-1;43686:25:0;;;;;;;;;;;628:42:1;616:55;;;598:74;;586:2;571:18;43686:25:0;;;;;;;;57543:296;;;;;;;;;;-1:-1:-1;57543:296:0;;;;;:::i;:::-;;:::i;60705:720::-;;;;;;;;;;-1:-1:-1;60705:720:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;43457:18::-;;;;;;;;;;-1:-1:-1;43457:18:0;;;;;;;;;;;;;;6350:14:1;;6343:22;6325:41;;6313:2;6298:18;43457::0;6185:187:1;60014:89:0;;;;;;;;;;-1:-1:-1;60014:89:0;;;;;:::i;:::-;;:::i;44229:46::-;;;;;;;;;;;;44272:3;44229:46;;;;;6911:25:1;;;6899:2;6884:18;44229:46:0;6765:177:1;48806:59:0;;;;;;;;;;;;;:::i;55804:67::-;;;;;;;;;;;;;:::i;43882:43::-;;;;;;;;;;;;;;;;43932:39;;;;;;;;;;;;;;;;48252:546;;;;;;;;;;-1:-1:-1;48252:546:0;;;;;:::i;:::-;;:::i;46076:168::-;;;;;;;;;;-1:-1:-1;46076:168:0;;;;;:::i;:::-;;:::i;55993:114::-;;;;;;;;;;-1:-1:-1;55993:114:0;;;;;:::i;:::-;;:::i;48873:71::-;;;;;;;;;;;;;:::i;44081:37::-;;;;;;;;;;;;;;;;38230:86;;;;;;;;;;-1:-1:-1;38301:7:0;;;;38230:86;;43565:80;;;;;;;;;;;;43602:42;43565:80;;49027:65;;;;;;;;;;;;;:::i;56480:184::-;;;;;;;;;;-1:-1:-1;56480:184:0;;;;;:::i;:::-;;:::i;55528:197::-;;;;;;;;;;;;;:::i;44017:40::-;;;;;;;;;;;;;;;;43978:30;;;;;;;;;;;;;;;;54955:301;;;;;;;;;;-1:-1:-1;54955:301:0;;;;;:::i;:::-;;:::i;56860:118::-;;;;;;;;;;-1:-1:-1;56860:118:0;;;;;:::i;:::-;;:::i;32683:103::-;;;;;;;;;;;;;:::i;47833:169::-;;;;;;;;;;;;;:::i;43325:37::-;;;;;;;;;;-1:-1:-1;43325:37:0;;;;;;;;55733:63;;;;;;;;;;;;;:::i;44184:33::-;;;;;;;;;;;;;;;;32042:87;;;;;;;;;;-1:-1:-1;32088:7:0;32115:6;;;32042:87;;60156:274;;;;;;;;;;-1:-1:-1;60156:274:0;;;;;:::i;:::-;;:::i;56986:549::-;;;;;;;;;;-1:-1:-1;56986:549:0;;;;;:::i;:::-;;:::i;43062:88::-;;;;;;;;;;-1:-1:-1;43062:88:0;;;;;;;;;;;43825:40;;;;;;;;;;;;;;;;44130:41;;;;;;;;;;;;;;;;44293;;;;;;;;;;;;44330:4;44293:41;;47672:153;;;;;;;;;;;;;:::i;47132:338::-;;;;;;;;;;;;;:::i;43787:31::-;;;;;;;;;;;;;;;;47478:186;;;;;;;;;;;;;:::i;60438:196::-;;;;;;;;;;-1:-1:-1;60438:196:0;;;;;:::i;:::-;;:::i;56672:180::-;;;;;;;;;;-1:-1:-1;56672:180:0;;;;;:::i;:::-;;:::i;59897:109::-;;;;;;;;;;;;;:::i;44345:30::-;;;;;;;;;;-1:-1:-1;44345:30:0;;;;;;;;59519:370;;;;;;;;;;-1:-1:-1;59519:370:0;;;;;:::i;:::-;;:::i;55879:106::-;;;;;;;;;;-1:-1:-1;55879:106:0;;;;;:::i;:::-;;:::i;43482:74::-;;;;;;;;;;-1:-1:-1;43482:74:0;;;;;:::i;:::-;;:::i;:::-;;;;9351:42:1;9420:15;;;9402:34;;9472:15;;;;9467:2;9452:18;;9445:43;9531:14;9524:22;9504:18;;;9497:50;9329:2;9314:18;43482:74:0;9145:408:1;43718:23:0;;;;;;;;;;-1:-1:-1;43718:23:0;;;;;;;;54747:200;;;;;;;;;;;;;:::i;43369:37::-;;;;;;;;;;-1:-1:-1;43369:37:0;;;;;;;;55264:256;;;;;;;;;;;;;:::i;46252:872::-;;;;;;;;;;;;;:::i;43413:37::-;;;;;;;;;;-1:-1:-1;43413:37:0;;;;;;;;43750:30;;;;;;;;;;;;;;;;43283:35;;;;;;;;;;-1:-1:-1;43283:35:0;;;;;;;;43157:85;;;;;;;;;;-1:-1:-1;43157:85:0;;;;;;;;43258:18;;;;;;;;;;;;;;;;32941:201;;;;;;;;;;-1:-1:-1;32941:201:0;;;;;:::i;:::-;;:::i;49517:928::-;;;;;;;;;;-1:-1:-1;49517:928:0;;;;;:::i;:::-;;:::i;48952:67::-;;;;;;;;;;;;;:::i;43654:25::-;;;;;;;;;;-1:-1:-1;43654:25:0;;;;;;;;56115:357;31928:13;:11;:13::i;:::-;44272:3:::1;56222:14;:34;;56214:71;;;::::0;::::1;::::0;;9760:2:1;56214:71:0::1;::::0;::::1;9742:21:1::0;9799:2;9779:18;;;9772:30;9838:26;9818:18;;;9811:54;9882:18;;56214:71:0::1;;;;;;;;;56296:13;:30:::0;;;56366:20:::1;::::0;56345:17:::1;::::0;:41:::1;;56337:78;;;::::0;::::1;::::0;;9760:2:1;56337:78:0::1;::::0;::::1;9742:21:1::0;9799:2;9779:18;;;9772:30;9838:26;9818:18;;;9811:54;9882:18;;56337:78:0::1;9558:348:1::0;56337:78:0::1;56426:17;:38:::0;-1:-1:-1;56115:357:0:o;59123:388::-;31928:13;:11;:13::i;:::-;59205:1:::1;59196:6;:10;59188:55;;;::::0;::::1;::::0;;10113:2:1;59188:55:0::1;::::0;::::1;10095:21:1::0;;;10132:18;;;10125:30;10191:34;10171:18;;;10164:62;10243:18;;59188:55:0::1;9911:356:1::0;59188:55:0::1;59287:6;59262:21;:31;;59254:78;;;::::0;::::1;::::0;;10474:2:1;59254:78:0::1;::::0;::::1;10456:21:1::0;10513:2;10493:18;;;10486:30;10552:34;10532:18;;;10525:62;10623:4;10603:18;;;10596:32;10645:19;;59254:78:0::1;10272:398:1::0;59254:78:0::1;59372:15;::::0;59364:48:::1;::::0;59346:12:::1;::::0;59372:15:::1;;::::0;59401:6;;59346:12;59364:48;59346:12;59364:48;59401:6;59372:15;59364:48:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59345:67;;;59431:7;59423:35;;;::::0;::::1;::::0;;11087:2:1;59423:35:0::1;::::0;::::1;11069:21:1::0;11126:2;11106:18;;;11099:30;11165:17;11145:18;;;11138:45;11200:18;;59423:35:0::1;10885:339:1::0;59423:35:0::1;59474:29;::::0;6911:25:1;;;59484:10:0::1;::::0;59474:29:::1;::::0;6899:2:1;6884:18;59474:29:0::1;;;;;;;59177:334;59123:388:::0;:::o;57543:296::-;31928:13;:11;:13::i;:::-;57692:17:::1;::::0;;::::1;;::::0;;;:11:::1;:17;::::0;;;;;;;:21;;::::1;::::0;;;;;;;;57685:28:::1;::::0;::::1;:::i;:::-;57729:9;57724:108;57748:6;:13;57744:1;:17;57724:108;;;57783:17;::::0;;::::1;;::::0;;;:11:::1;:17;::::0;;;;;;;:21;;::::1;::::0;;;;;;57810:9;;:6;;57817:1;;57810:9;::::1;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;57783:37;;::::1;::::0;;::::1;::::0;;-1:-1:-1;57783:37:0;;;;;;;;;::::1;::::0;;::::1;;::::0;;;::::1;;::::0;;::::1;;::::0;;;;::::1;::::0;;;;::::1;::::0;;::::1;::::0;;::::1;::::0;;;;::::1;::::0;;;;;;;::::1;;::::0;;;::::1;;::::0;;57763:3;::::1;::::0;::::1;:::i;:::-;;;;57724:108;;;;57543:296:::0;;;:::o;60705:720::-;45989:8;;60839:12;;45989:22;:8;46001:10;45989:22;45981:67;;;;;;;12009:2:1;45981:67:0;;;11991:21:1;;;12028:18;;;12021:30;12087:34;12067:18;;;12060:62;12139:18;;45981:67:0;11807:356:1;45981:67:0;60864:21:::1;60908:9;60902:23;60929:1;60902:28;60898:179;;;-1:-1:-1::0;60958:4:0;60898:179:::1;;;61046:9;61030:27;;;;;;61060:4;61006:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;60995:70;;60898:179;61150:12;61164:23:::0;61191:6:::1;:11;;61211:5;61218:8;61191:36;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61149:78;;;;61246:7;61238:81;;;::::0;::::1;::::0;;13071:2:1;61238:81:0::1;::::0;::::1;13053:21:1::0;13110:2;13090:18;;;13083:30;13149:34;13129:18;;;13122:62;13220:31;13200:18;;;13193:59;13269:19;;61238:81:0::1;12869:425:1::0;61238:81:0::1;61356:6;61337:50;;;61364:5;61371:9;61382:4;61337:50;;;;;;;;:::i;:::-;;;;;;;;61407:10:::0;-1:-1:-1;;;46059:1:0::1;60705:720:::0;;;;;;:::o;60014:89::-;45696:10;;:24;:10;45710;45696:24;45688:65;;;;;;;13956:2:1;45688:65:0;;;13938:21:1;13995:2;13975:18;;;13968:30;14034;14014:18;;;14007:58;14082:18;;45688:65:0;13754:352:1;45688:65:0;60014:89;;;:::o;48806:59::-;31928:13;:11;:13::i;:::-;48850:7:::1;:5;:7::i;:::-;48806:59::o:0;55804:67::-;31928:13;:11;:13::i;:::-;55853:10:::1;:8;:10::i;48252:546::-:0;45696:10;;48365:7;;45696:24;:10;45710;45696:24;45688:65;;;;;;;13956:2:1;45688:65:0;;;13938:21:1;13995:2;13975:18;;;13968:30;14034;14014:18;;;14007:58;14082:18;;45688:65:0;13754:352:1;45688:65:0;35751:21:::1;:19;:21::i;:::-;37835:19:::2;:17;:19::i;:::-;48392:11:::3;::::0;48385:82:::3;::::0;48392:11:::3;;48430:10;48451:4;48458:8:::0;48385:36:::3;:82::i;:::-;48525:15;::::0;48502:8;;48525:19;;;;:38:::3;;;48562:1;48548:11;;:15;48525:38;48521:131;;;48594:46;48624:15;;48594:25;48607:11;;48594:8;:12;;:25;;;;:::i;:::-;:29:::0;::::3;:46::i;:::-;48580:60;;48521:131;48676:11;::::0;:28:::3;::::0;48692:11;48676:15:::3;:28::i;:::-;48662:11;:42:::0;48717:7:::3;:5;:7::i;:::-;48742:17;::::0;6911:25:1;;;48742:17:0::3;::::0;6899:2:1;6884:18;48742:17:0::3;;;;;;;48779:11:::0;-1:-1:-1;35795:20:0::1;35189:1:::0;36315:22;;36132:213;35795:20:::1;48252:546:::0;;;;:::o;46076:168::-;46137:4;32115:6;;;46162:19;;;32115:6;;46162:19;;46161:49;;-1:-1:-1;46199:10:0;;;46187:22;;;46199:10;;46187:22;46161:49;:75;;;-1:-1:-1;;46227:8:0;;;;;;46215:20;;;;46076:168::o;55993:114::-;31928:13;:11;:13::i;:::-;56071:12:::1;:28:::0;55993:114::o;48873:71::-;31928:13;:11;:13::i;:::-;48926:10:::1;:8;:10::i;49027:65::-:0;31928:13;:11;:13::i;:::-;49074:10:::1;:8;:10::i;56480:184::-:0;31928:13;:11;:13::i;:::-;56572:30:::1;::::0;::::1;56564:47;;;;;;;;;;;14313:2:1::0;14295:21;;;14352:1;14332:18;;;14325:29;14390:6;14385:2;14370:18;;14363:34;14429:2;14414:18;;14111:327;56564:47:0::1;56622:15;:34:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;56480:184::o;55528:197::-;55581:7;55601:16;55620;:14;:16::i;:::-;55601:35;-1:-1:-1;55655:13:0;;55654:63;;55689:13;;55676:41;;55689:13;;43602:42;55708:8;55676:12;:41::i;:::-;55654:63;;;55672:1;55654:63;55647:70;;;55528:197;:::o;54955:301::-;55118:16;;;55164:24;;;55063:7;55164:24;;;:11;:24;;;;;;;;:38;;;;;;;;;;;55110:93;;;;;55063:7;;;;55118:16;;55110:39;;:93;;55150:12;;55164:38;55110:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55083:120;;55221:7;55246:1;55229:7;:14;:18;;;;:::i;:::-;55221:27;;;;;;;;:::i;:::-;;;;;;;55214:34;;;54955:301;;;;;:::o;56860:118::-;31928:13;:11;:13::i;:::-;56940::::1;:30:::0;56860:118::o;32683:103::-;31928:13;:11;:13::i;:::-;32748:30:::1;32775:1;32748:18;:30::i;47833:169::-:0;47897:7;47925:11;;47940:1;47925:16;47924:70;;47952:42;47982:11;;47952:25;47972:4;47952:15;;:19;;:25;;;;:::i;:42::-;47917:77;;47833:169;:::o;47924:70::-;-1:-1:-1;47945:4:0;;47833:169::o;55733:63::-;31928:13;:11;:13::i;:::-;55780:8:::1;:6;:8::i;60156:274::-:0;60228:25;;;60220:52;;;;;;;16801:2:1;60220:52:0;;;16783:21:1;16840:2;16820:18;;;16813:30;16879:16;16859:18;;;16852:44;16913:18;;60220:52:0;16599:338:1;60220:52:0;60291:10;;:24;:10;60305;60291:24;;:50;;-1:-1:-1;60319:8:0;;:22;:8;60331:10;60319:22;60291:50;60283:104;;;;;;;17144:2:1;60283:104:0;;;17126:21:1;17183:2;17163:18;;;17156:30;17222:34;17202:18;;;17195:62;17293:11;17273:18;;;17266:39;17322:19;;60283:104:0;16942:405:1;60283:104:0;60398:10;:24;;;;;;;;;;;;;;;60156:274::o;56986:549::-;31928:13;:11;:13::i;:::-;57267::::1;::::0;57282::::1;::::0;57253:64:::1;::::0;57267:13:::1;::::0;;::::1;::::0;57282::::1;57297:19:::0;57253:13:::1;:64::i;:::-;57342:13;::::0;57357::::1;::::0;57328:64:::1;::::0;57342:13:::1;::::0;;::::1;::::0;57357::::1;57372:19:::0;57328:13:::1;:64::i;:::-;57417:13;::::0;57403:49:::1;::::0;57417:13:::1;;43602:42;57436:15:::0;57403:13:::1;:49::i;:::-;57477:13;::::0;57492::::1;::::0;57463:64:::1;::::0;57477:13:::1;::::0;;::::1;::::0;57492::::1;57507:19:::0;57463:13:::1;:64::i;47672:153::-:0;47728:7;47802:15;:13;:15::i;:::-;47762:11;;47755:44;;;;;47793:4;47755:44;;;598:74:1;47762:11:0;;;;;47755:29;;571:18:1;;47755:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:62;;;;:::i;47132:338::-;45826:10;;:24;:10;45840;45826:24;;:49;;-1:-1:-1;45865:10:0;45854:7;32088;32115:6;;;;32042:87;45854:7;:21;;;45826:49;45818:100;;;;;;;17876:2:1;45818:100:0;;;17858:21:1;17915:2;17895:18;;;17888:30;17954:34;17934:18;;;17927:62;18025:8;18005:18;;;17998:36;18051:19;;45818:100:0;17674:402:1;45818:100:0;47185:29:::1;47217:22;:20;:22::i;:::-;47185:54;;47283:13;;47258:21;:38;;47250:60;;;::::0;::::1;::::0;;18283:2:1;47250:60:0::1;::::0;::::1;18265:21:1::0;18322:1;18302:18;;;18295:29;18360:11;18340:18;;;18333:39;18389:18;;47250:60:0::1;18081:332:1::0;47250:60:0::1;47321:17;47342:20;:18;:20::i;:::-;47321:41;;47408:9;47383:21;:34;;47375:70;;;::::0;::::1;::::0;;18620:2:1;47375:70:0::1;::::0;::::1;18602:21:1::0;18659:2;18639:18;;;18632:30;18698:25;18678:18;;;18671:53;18741:18;;47375:70:0::1;18418:347:1::0;47375:70:0::1;47456:6;:4;:6::i;:::-;47174:296;;47132:338::o:0;47478:186::-;47583:19;;47613:3;;;47573:59;;;;;;;;18944:25:1;47626:4:0;18985:18:1;;;18978:83;47533:7:0;;;;47583:19;;;;;;;47573:39;;18917:18:1;;47573:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;47553:79:0;47478:186;-1:-1:-1;;47478:186:0:o;60438:196::-;60506:8;;:22;:8;60518:10;60506:22;;:75;;-1:-1:-1;60533:8:0;;:22;:8;:22;:47;;;;-1:-1:-1;60570:10:0;60559:7;32088;32115:6;;;;32042:87;60559:7;:21;;;60533:47;60498:97;;;;;;;19524:2:1;60498:97:0;;;19506:21:1;19563:1;19543:18;;;19536:29;19601:11;19581:18;;;19574:39;19630:18;;60498:97:0;19322:332:1;60498:97:0;60606:8;:20;;;;;;;;;;;;;;;60438:196::o;56672:180::-;31928:13;:11;:13::i;:::-;56763:28:::1;::::0;::::1;56755:45;;;;;;;;;;;14313:2:1::0;14295:21;;;14352:1;14332:18;;;14325:29;14390:6;14385:2;14370:18;;14363:34;14429:2;14414:18;;14111:327;56755:45:0::1;56811:16;:33:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;56672:180::o;59897:109::-;31928:13;:11;:13::i;:::-;38301:7;;;;59950:48:::1;;;59964:10;:8;:10::i;59519:370::-:0;31928:13;:11;:13::i;:::-;59639::::1;::::0;::::1;59629:23:::0;;::::1;59639:13:::0;::::1;59629:23;;59621:41;;;::::0;::::1;::::0;;19861:2:1;59621:41:0::1;::::0;::::1;19843:21:1::0;19900:1;19880:18;;;19873:29;19938:7;19918:18;;;19911:35;19963:18;;59621:41:0::1;19659:328:1::0;59621:41:0::1;59691:11;::::0;::::1;59681:21:::0;;::::1;59691:11:::0;::::1;59681:21;;59673:39;;;::::0;::::1;::::0;;19861:2:1;59673:39:0::1;::::0;::::1;19843:21:1::0;19900:1;19880:18;;;19873:29;19938:7;19918:18;;;19911:35;19963:18;;59673:39:0::1;19659:328:1::0;59673:39:0::1;59745:10;::::0;::::1;::::0;;::::1;::::0;59766:49:::1;::::0;:27;::::1;59745:10:::0;59807:7;59766:27:::1;:49::i;:::-;59831:50;::::0;;20204:42:1;20273:15;;;20255:34;;20320:2;20305:18;;20298:34;;;20368:15;;20348:18;;;20341:43;59831:50:0;;::::1;::::0;;;;20182:2:1;59831:50:0;;::::1;59610:279;59519:370:::0;;:::o;55879:106::-;31928:13;:11;:13::i;:::-;55953:10:::1;:24:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;55879:106::o;43482:74::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43482:74:0;;;;-1:-1:-1;43482:74:0;;;;;;-1:-1:-1;43482:74:0;:::o;54747:200::-;37835:19;:17;:19::i;:::-;45826:10:::1;::::0;:24:::1;:10;45840;45826:24;::::0;:49:::1;;-1:-1:-1::0;45865:10:0::1;45854:7;32088::::0;32115:6;;;;32042:87;45854:7:::1;:21;;;45826:49;45818:100;;;::::0;::::1;::::0;;17876:2:1;45818:100:0::1;::::0;::::1;17858:21:1::0;17915:2;17895:18;;;17888:30;17954:34;17934:18;;;17927:62;18025:8;18005:18;;;17998:36;18051:19;;45818:100:0::1;17674:402:1::0;45818:100:0::1;54819:10:::2;:8;:10::i;:::-;54842;:8;:10::i;:::-;54865:11;:9;:11::i;:::-;54889:7;:5;:7::i;:::-;54924:15;54909:12;:30:::0;54747:200::o;55264:256::-;55359:13;;55352:46;;;;;55392:4;55352:46;;;598:74:1;55311:7:0;;;;55359:13;;;;;55352:31;;571:18:1;;55352:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;55426:19;;55477:3;;;55416:80;;;;;;;;18944:25:1;55490:4:0;18985:18:1;;;18978:83;55331:67:0;;-1:-1:-1;55416:96:0;;55331:67;;55426:19;;;;;;55416:60;;18917:18:1;;55416:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:84;;:96::i;46252:872::-;46303:7;46323:16;46342;:14;:16::i;:::-;46323:35;;46369:33;46415:19;;;;;;;;;;;46405:59;;;:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46369:97;;46481:28;46477:621;;;46526:14;46561:19;;;;;;;;;;;46551:43;;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46763:13;;46751:32;;;;;:11;46763:13;;;46751:32;;;21101:74:1;46778:4:0;21191:18:1;;;21184:34;46526:71:0;;-1:-1:-1;46715:33:0;;46751:11;;;;;;21074:18:1;;46751:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46715:68;-1:-1:-1;46798:29:0;46830:49;46874:4;46830:39;:8;46715:68;46830:12;:39::i;:49::-;46798:81;;46894:29;46936:19;;;;;;;;;;;46926:52;;;:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46894:86;;47002:84;44330:4;47002:68;47052:17;;47028:21;:41;;;;:::i;:::-;47002:21;;:25;:68::i;:84::-;46995:91;;;;;;;;46252:872;:::o;46477:621::-;47115:1;47108:8;;;;46252:872;:::o;32941:201::-;31928:13;:11;:13::i;:::-;33030:22:::1;::::0;::::1;33022:73;;;::::0;::::1;::::0;;21431:2:1;33022:73:0::1;::::0;::::1;21413:21:1::0;21470:2;21450:18;;;21443:30;21509:34;21489:18;;;21482:62;21580:8;21560:18;;;21553:36;21606:19;;33022:73:0::1;21229:402:1::0;33022:73:0::1;33106:28;33125:8;33106:18;:28::i;:::-;32941:201:::0;:::o;49517:928::-;45696:10;;49617:7;;45696:24;:10;45710;45696:24;45688:65;;;;;;;13956:2:1;45688:65:0;;;13938:21:1;13995:2;13975:18;;;13968:30;14034;14014:18;;;14007:58;14082:18;;45688:65:0;13754:352:1;45688:65:0;35751:21:::1;:19;:21::i;:::-;49656:1:::2;49645:8;:12;49637:44;;;::::0;::::2;::::0;;21838:2:1;49637:44:0::2;::::0;::::2;21820:21:1::0;21877:2;21857:18;;;21850:30;21916:21;21896:18;;;21889:49;21955:18;;49637:44:0::2;21636:343:1::0;49637:44:0::2;49704:19;::::0;49734:3:::2;::::0;;49694:54:::2;::::0;;;;;;::::2;22158:25:1::0;22199:18;;;22192:34;;;49704:19:0::2;::::0;;::::2;;;::::0;49694:39:::2;::::0;22131:18:1;;49694:54:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;49786:11:0::2;::::0;49779:44:::2;::::0;;;;49817:4:::2;49779:44;::::0;::::2;598:74:1::0;49761:15:0::2;::::0;-1:-1:-1;49786:11:0::2;::::0;;::::2;::::0;-1:-1:-1;49779:29:0::2;::::0;571:18:1;;49779:44:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49761:62;;49849:7;49838:8;:18;49834:69;;;49884:7;49873:18;;49834:69;49937:8;49919:15;;:26;49915:85;;;49973:15;;49962:26;;49915:85;50012:21;50036:46;50066:15;;50036:25;50049:11;;50036:8;:12;;:25;;;;:::i;:46::-;50012:70;;50113:11;;50097:13;:27;50093:87;;;-1:-1:-1::0;50157:11:0::2;::::0;50093:87:::2;50204:11;::::0;:30:::2;::::0;50220:13;50204:15:::2;:30::i;:::-;50190:11;:44:::0;50263:15:::2;::::0;:29:::2;::::0;50283:8;50263:19:::2;:29::i;:::-;50245:15;:47:::0;50312:11:::2;::::0;50305:63:::2;::::0;50312:11:::2;;50346:10;50359:8:::0;50305:32:::2;:63::i;:::-;50386:18;::::0;6911:25:1;;;50386:18:0::2;::::0;6899:2:1;6884:18;50386::0::2;;;;;;;50424:13:::0;-1:-1:-1;;35795:20:0::1;35189:1:::0;36315:22;;36132:213;48952:67;31928:13;:11;:13::i;:::-;49000:11:::1;:9;:11::i;32207:132::-:0;32088:7;32115:6;32271:23;32115:6;30652:10;32271:23;32263:68;;;;;;;22439:2:1;32263:68:0;;;22421:21:1;;;22458:18;;;22451:30;22517:34;22497:18;;;22490:62;22569:18;;32263:68:0;22237:356:1;49100:409:0;49159:11;;49200:30;;;;;49224:4;49200:30;;;598:74:1;49159:11:0;;;;;49137:12;;49159:11;;49200:15;;571:18:1;;49200:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49259:15;;49182:48;;-1:-1:-1;49259:28:0;;49182:48;49259:19;:28::i;:::-;49241:15;:46;49302:11;;49298:204;;49348:11;;49361:19;;49330:60;;49348:11;;;;;;49361:19;;;49382:7;49330:17;:60::i;:::-;49415:19;;49444:3;;;49405:52;;;;;;;;22158:25:1;22199:18;;;22192:34;;;49415:19:0;;;;;;;49405:38;;22131:18:1;;49405:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49477:13;49482:7;49477:13;;;;6911:25:1;;6899:2;6884:18;;6765:177;49477:13:0;;;;;;;;49126:383;;49100:409::o;39085:120::-;38094:16;:14;:16::i;:::-;39144:7:::1;:15:::0;;;::::1;::::0;;39175:22:::1;30652:10:::0;39184:12:::1;39175:22;::::0;628:42:1;616:55;;;598:74;;586:2;571:18;39175:22:0::1;;;;;;;39085:120::o:0;35831:293::-;35233:1;35965:7;;:19;;35957:63;;;;;;;22800:2:1;35957:63:0;;;22782:21:1;22839:2;22819:18;;;22812:30;22878:33;22858:18;;;22851:61;22929:18;;35957:63:0;22598:355:1;35957:63:0;35233:1;36098:7;:18;35831:293::o;38389:108::-;38301:7;;;;38459:9;38451:38;;;;;;;23160:2:1;38451:38:0;;;23142:21:1;23199:2;23179:18;;;23172:30;23238:18;23218;;;23211:46;23274:18;;38451:38:0;22958:340:1;17420:205:0;17548:68;;23515:42:1;23584:15;;;17548:68:0;;;23566:34:1;23636:15;;23616:18;;;23609:43;23668:18;;;23661:34;;;17521:96:0;;17541:5;;17571:27;;23478:18:1;;17548:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17521:19;:96::i;26636:98::-;26694:7;26721:5;26725:1;26721;:5;:::i;:::-;26714:12;26636:98;-1:-1:-1;;;26636:98:0:o;27035:::-;27093:7;27120:5;27124:1;27120;:5;:::i;25898:98::-;25956:7;25983:5;25987:1;25983;:5;:::i;50451:1464::-;50665:19;;50716:3;;;50655:80;;;;;;;;18944:25:1;50729:4:0;18985:18:1;;;18978:83;50516:21:0;;50491:22;;50665:19;;;;;;;50655:60;;18917:18:1;;50655:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50631:104;;50746:33;50792:19;;;;;;;;;;;50782:59;;;:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50746:97;;50854:24;50897:28;50893:708;;;50942:29;50984:19;;;;;;;;;;;50974:52;;;:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50942:86;;51043:14;51078:19;;;;;;;;;;;51068:43;;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51280:13;;51268:32;;;;;:11;51280:13;;;51268:32;;;21101:74:1;51295:4:0;21191:18:1;;;21184:34;51043:71:0;;-1:-1:-1;51232:33:0;;51268:11;;;;;;21074:18:1;;51268:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51232:68;;51351:1;51323:25;:29;51315:60;;;;;;;24420:2:1;51315:60:0;;;24402:21:1;24459:2;24439:18;;;24432:30;24498:20;24478:18;;;24471:48;24536:18;;51315:60:0;24218:342:1;51315:60:0;51470:119;44330:4;51470:103;51555:17;;51531:21;:41;;;;:::i;:::-;51471:54;51520:4;51471:44;:25;51501:13;51471:29;:44::i;:54::-;51470:60;;:103::i;:119::-;51451:138;;50927:674;;;50893:708;51637:16;51619:14;:34;;51611:74;;;;;;;24767:2:1;51611:74:0;;;24749:21:1;24806:2;24786:18;;;24779:30;24845:29;24825:18;;;24818:57;24892:18;;51611:74:0;24565:351:1;51611:74:0;51786:19;;51840:3;;;51776:68;;;;;;;;6911:25:1;51786:19:0;;;;;;;51776:38;;51822:16;;6884:18:1;;51776:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51886:21;51869:14;:38;;;;:::i;:::-;51855:11;:52;-1:-1:-1;;;;50451:1464:0:o;51923:1122::-;51993:13;;51986:46;;;;;52026:4;51986:46;;;598:74:1;51963:20:0;;51993:13;;;51986:31;;571:18:1;;51986:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;51963:69;;52063:1;52047:12;:17;52043:56;;52081:7;51923:1122::o;52043:56::-;52121:13;;52114:35;;;52121:13;;;;21101:74:1;;21206:2;21191:18;;21184:34;;;52114:35:0;;21074:18:1;52114:35:0;;;;;;;52203:13;;52162:25;;52190:45;;52203:13;;43602:42;52222:12;52190;:45::i;:::-;52162:73;;52271:1;52250:17;:22;52246:61;;52289:7;;51923:1122::o;52246:61::-;52358:13;;52386:11;;:15;52382:154;;52507:17;;52453:50;52485:17;52453:27;44330:4;52453:11;;:15;;:27;;;;:::i;:50::-;52452:72;;;;:::i;:::-;52418:106;;;;:::i;:::-;;;52382:154;52562:13;;52548:109;;52562:13;;52577:64;44330:4;52577:48;:12;52594:30;52577:16;:48::i;:64::-;52651:4;52548:13;:109::i;:::-;52769:12;;52687:21;;52668:16;;52758:23;;52754:237;;;52824:12;;52813:23;;:8;:23;:::i;:::-;52878:15;;52870:54;;52798:38;;-1:-1:-1;52852:12:0;;52878:15;;;;;52798:38;;52852:12;52870:54;52852:12;52870:54;52798:38;52878:15;52870:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52851:73;;;52947:7;52939:40;;;;;;;25425:2:1;52939:40:0;;;25407:21:1;25464:2;25444:18;;;25437:30;25503:22;25483:18;;;25476:50;25543:18;;52939:40:0;25223:344:1;52939:40:0;52783:208;52754:237;53011:11;;53006:31;;;22158:25:1;;;22214:2;22199:18;;22192:34;;;53006:31:0;;22131:18:1;53006:31:0;;;;;;;;51952:1093;;;;;51923:1122::o;33302:191::-;33376:16;33395:6;;;33412:17;;;;;;;;;;33445:40;;33395:6;;;;;;;33445:40;;33376:16;33445:40;33365:128;33302:191;:::o;38826:118::-;37835:19;:17;:19::i;:::-;38886:7:::1;:14:::0;;;::::1;38896:4;38886:14;::::0;;38916:20:::1;38923:12;30652:10:::0;;30572:98;16998:177;17108:58;;21131:42:1;21119:55;;17108:58:0;;;21101:74:1;21191:18;;;21184:34;;;17081:86:0;;17101:5;;17131:23;;21074:18:1;;17108:58:0;20901:323:1;53053:1576:0;53175:13;;53168:46;;;;;53208:4;53168:46;;;598:74:1;53145:20:0;;53175:13;;;53168:31;;571:18:1;;53168:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;53305:13;;53145:69;;-1:-1:-1;53276:62:0;;53292:45;;53305:13;;43602:42;53145:69;53292:12;:45::i;:::-;53276:11;;;:15;:62::i;:::-;53262:11;:76;53440:16;;53476:13;;53491;;53506:6;;53432:93;;;;;53440:16;53476:13;;;53432:93;;;25938:34:1;53491:13:0;;;25988:18:1;;;25981:43;53506:6:0;;;;;26067:14:1;26060:22;26040:18;;;26033:50;53514:4:0;26099:18:1;;;26092:34;;;26142:19;;;26135:35;53394:15:0;;;;53440:16;;53432:43;;25849:19:1;;53432:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;53557:13:0;;53540;;53393:132;;-1:-1:-1;53393:132:0;;-1:-1:-1;53557:13:0;53540;;;53557;;53540:30;53536:385;;53622:13;;53637;;53587:19;;53609:48;;53622:13;;;;;53637;53652:4;53609:12;:48::i;:::-;53587:70;-1:-1:-1;53672:19:0;53694:34;53723:4;53694:24;:7;53587:70;53694:11;:24::i;:34::-;53672:56;-1:-1:-1;53743:18:0;53764:21;53778:7;53672:56;53764:21;:::i;:::-;53818:13;;53833;;53743:42;;-1:-1:-1;53800:109:0;;53818:13;;;;;53833;53848:45;53743:42;53848:29;:12;53865:11;53848:16;:29::i;:45::-;53903:4;53800:17;:109::i;:::-;53572:349;;;53536:385;54004:13;;53997:46;;;;;54037:4;53997:46;;;598:74:1;54004:13:0;;;;;53997:31;;571:18:1;;53997:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54075:13;;54058;;53982:61;;-1:-1:-1;54075:13:0;54058;;;54075;;54058:30;54054:139;;54123:13;;54138;;54105:76;;54123:13;;;;;54138;54153:12;54175:4;54105:17;:76::i;:::-;54279:13;;54272:46;;;;;54312:4;54272:46;;;598:74:1;54252:17:0;;54279:13;;;54272:31;;571:18:1;;54272:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54356:13;;54349:46;;;;;54389:4;54349:46;;;598:74:1;54252:66:0;;-1:-1:-1;54329:17:0;;54356:13;;;;;54349:31;;571:18:1;;54349:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54329:66;;54422:1;54410:9;:13;:30;;;;;54439:1;54427:9;:13;54410:30;54406:216;;;54471:13;;54486;;54501:6;;54457:73;;54471:13;;;;;54486;;54501:6;;;;;54509:9;54520;54457:13;:73::i;:::-;54559:13;;54585;;54550:60;;;54559:13;;;;26784:34:1;;26849:2;26834:18;;26827:34;;;54585:13:0;;;;26877:18:1;;;26870:43;26944:2;26929:18;;26922:34;;;54550:60:0;;26710:3:1;26695:19;54550:60:0;26492:470:1;54406:216:0;53083:1546;;;;;53053:1576::o;26279:98::-;26337:7;26364:5;26368:1;26364;:5;:::i;48010:194::-;48140:56;:35;;;48176:7;48185:10;48140:35;:56::i;38574:108::-;38301:7;;;;38633:41;;;;;;;27169:2:1;38633:41:0;;;27151:21:1;27208:2;27188:18;;;27181:30;27247:22;27227:18;;;27220:50;27287:18;;38633:41:0;26967:344:1;21344:649:0;21768:23;21794:69;21822:4;21794:69;;;;;;;;;;;;;;;;;21802:5;21794:27;;;;:69;;;;;:::i;:::-;21768:95;;21882:10;:17;21903:1;21882:22;:56;;;;21919:10;21908:30;;;;;;;;;;;;:::i;:::-;21874:111;;;;;;;27518:2:1;21874:111:0;;;27500:21:1;27557:2;27537:18;;;27530:30;27596:34;27576:18;;;27569:62;27667:12;27647:18;;;27640:40;27697:19;;21874:111:0;27316:406:1;57847:338:0;57971:16;;57940:57;;57958:11;;57971:16;;57989:7;57940:17;:57::i;:::-;58012:17;;;43602:42;58012:17;58008:170;;58054:16;;;58106:24;;;58054:16;58106:24;;;:11;:24;;;;;;;;43602:42;58106:28;;;;;;;58054:16;;;;;58046:47;;58094:7;;58054:16;58136:2;58140:25;:15;58160:4;58140:19;:25::i;:::-;58046:120;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;57847:338;;;:::o;58193:387::-;58343:16;;58312:57;;58330:11;;58343:16;;58361:7;58312:17;:57::i;:::-;58399:12;58384:27;;:11;:27;;;58380:193;;58436:16;;;58491:24;;;58436:16;58491:24;;;:11;:24;;;;;;;;:38;;;;;;;;;;58436:16;;;;;58428:50;;58479:7;;58436:16;58531:2;58535:25;:15;58555:4;58535:19;:25::i;:::-;58428:133;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58193:387;;;;:::o;58588:440::-;58756:16;;58729:61;;58747:7;;58756:16;;58774:15;58729:17;:61::i;:::-;58828:16;;58801:61;;58819:7;;58828:16;;58846:15;58801:17;:61::i;:::-;58881:16;;;;58873:38;58912:7;58921;58930;58939:15;58956;58881:16;;58987:4;58994:25;:15;59014:4;58994:19;:25::i;:::-;58873:147;;;;;;;;;;28781:42:1;28850:15;;;58873:147:0;;;28832:34:1;28902:15;;;28882:18;;;28875:43;28961:14;;28954:22;28934:18;;;28927:50;28993:18;;;28986:34;;;;29036:19;;;29029:35;;;;29080:19;;;29073:35;29124:19;;;29117:35;29189:15;;;29168:19;;;29161:44;29221:19;;;29214:35;;;;28743:19;;58873:147:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;18673:283::-;18793:39;;;;;18817:4;18793:39;;;29495:34:1;18793:15:0;29565::1;;;29545:18;;;29538:43;18770:20:0;;18793:15;;;;;;29407:18:1;;18793:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18770:62;-1:-1:-1;18843:105:0;18863:5;18893:22;18917:7;18926:20;18941:5;18770:62;18926:20;:::i;:::-;18870:77;;21131:42:1;21119:55;;;18870:77:0;;;21101:74:1;21191:18;;;21184:34;21074:18;;18870:77:0;20901:323:1;10795:229:0;10932:12;10964:52;10986:6;10994:4;11000:1;11003:12;10932;12169;12183:23;12210:6;:11;;12229:5;12236:4;12210:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12168:73;;;;12259:69;12286:6;12294:7;12303:10;12315:12;12259:26;:69::i;:::-;12252:76;11881:455;-1:-1:-1;;;;;;;11881:455:0:o;14454:644::-;14639:12;14668:7;14664:427;;;14696:17;;14692:290;;8335:19;;;;14906:60;;;;;;;30201:2:1;14906:60:0;;;30183:21:1;30240:2;30220:18;;;30213:30;30279:31;30259:18;;;30252:59;30328:18;;14906:60:0;29999:353:1;14906:60:0;-1:-1:-1;15003:10:0;14996:17;;14664:427;15046:33;15054:10;15066:12;15801:17;;:21;15797:388;;16033:10;16027:17;16090:15;16077:10;16073:2;16069:19;16062:44;15797:388;16160:12;16153:20;;;;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:248:1:-;82:6;90;143:2;131:9;122:7;118:23;114:32;111:52;;;159:1;156;149:12;111:52;-1:-1:-1;;182:23:1;;;252:2;237:18;;;224:32;;-1:-1:-1;14:248:1:o;267:180::-;326:6;379:2;367:9;358:7;354:23;350:32;347:52;;;395:1;392;385:12;347:52;-1:-1:-1;418:23:1;;267:180;-1:-1:-1;267:180:1:o;683:154::-;769:42;762:5;758:54;751:5;748:65;738:93;;827:1;824;817:12;842:184;894:77;891:1;884:88;991:4;988:1;981:15;1015:4;1012:1;1005:15;1031:253;1103:2;1097:9;1145:4;1133:17;;1180:18;1165:34;;1201:22;;;1162:62;1159:88;;;1227:18;;:::i;:::-;1263:2;1256:22;1031:253;:::o;1289:334::-;1360:2;1354:9;1416:2;1406:13;;1421:66;1402:86;1390:99;;1519:18;1504:34;;1540:22;;;1501:62;1498:88;;;1566:18;;:::i;:::-;1602:2;1595:22;1289:334;;-1:-1:-1;1289:334:1:o;1628:188::-;1693:4;1726:18;1718:6;1715:30;1712:56;;;1748:18;;:::i;:::-;-1:-1:-1;1793:1:1;1789:14;1805:4;1785:25;;1628:188::o;1821:118::-;1907:5;1900:13;1893:21;1886:5;1883:32;1873:60;;1929:1;1926;1919:12;1944:1293;2003:5;2056:3;2049:4;2041:6;2037:17;2033:27;2023:55;;2074:1;2071;2064:12;2023:55;2110:6;2097:20;2136:4;2160:65;2176:48;2221:2;2176:48;:::i;:::-;2160:65;:::i;:::-;2259:15;;;2321:4;2364:11;;;2352:24;;2348:33;;;2290:12;;;;2247:3;2393:15;;;2390:35;;;2421:1;2418;2411:12;2390:35;2457:2;2449:6;2445:15;2469:739;2485:6;2480:3;2477:15;2469:739;;;2561:2;2555:3;2550;2546:13;2542:22;2539:112;;;2605:1;2634:2;2630;2623:14;2539:112;2677:22;;:::i;:::-;2740:3;2727:17;2757:33;2782:7;2757:33;:::i;:::-;2803:22;;2866:12;;;2853:26;2892:33;2853:26;2892:33;:::i;:::-;2945:14;;;2938:31;2992:2;3035:12;;;3022:26;3061:30;3022:26;3061:30;:::i;:::-;3111:14;;;3104:31;3148:18;;3186:12;;;;2502;;2469:739;;;-1:-1:-1;3226:5:1;;1944:1293;-1:-1:-1;;;;;;;1944:1293:1:o;3242:652::-;3367:6;3375;3383;3436:2;3424:9;3415:7;3411:23;3407:32;3404:52;;;3452:1;3449;3442:12;3404:52;3491:9;3478:23;3510:31;3535:5;3510:31;:::i;:::-;3560:5;-1:-1:-1;3617:2:1;3602:18;;3589:32;3630:33;3589:32;3630:33;:::i;:::-;3682:7;-1:-1:-1;3740:2:1;3725:18;;3712:32;3767:18;3756:30;;3753:50;;;3799:1;3796;3789:12;3753:50;3822:66;3880:7;3871:6;3860:9;3856:22;3822:66;:::i;:::-;3812:76;;;3242:652;;;;;:::o;3899:466::-;3964:5;3998:18;3990:6;3987:30;3984:56;;;4020:18;;:::i;:::-;4058:116;4168:4;4099:66;4094:2;4086:6;4082:15;4078:88;4074:99;4058:116;:::i;:::-;4049:125;;4197:6;4190:5;4183:21;4237:3;4228:6;4223:3;4219:16;4216:25;4213:45;;;4254:1;4251;4244:12;4213:45;4303:6;4298:3;4291:4;4284:5;4280:16;4267:43;4357:1;4350:4;4341:6;4334:5;4330:18;4326:29;4319:40;3899:466;;;;;:::o;4370:1004::-;4475:6;4483;4491;4499;4552:3;4540:9;4531:7;4527:23;4523:33;4520:53;;;4569:1;4566;4559:12;4520:53;4608:9;4595:23;4627:31;4652:5;4627:31;:::i;:::-;4677:5;-1:-1:-1;4729:2:1;4714:18;;4701:32;;-1:-1:-1;4784:2:1;4769:18;;4756:32;4807:18;4837:14;;;4834:34;;;4864:1;4861;4854:12;4834:34;4902:6;4891:9;4887:22;4877:32;;4947:7;4940:4;4936:2;4932:13;4928:27;4918:55;;4969:1;4966;4959:12;4918:55;4992:74;5058:7;5053:2;5040:16;5035:2;5031;5027:11;4992:74;:::i;:::-;4982:84;;5119:2;5108:9;5104:18;5091:32;5075:48;;5148:2;5138:8;5135:16;5132:36;;;5164:1;5161;5154:12;5132:36;-1:-1:-1;5187:24:1;;5242:4;5234:13;;5230:27;-1:-1:-1;5220:55:1;;5271:1;5268;5261:12;5220:55;5294:74;5360:7;5355:2;5342:16;5337:2;5333;5329:11;5294:74;:::i;:::-;5284:84;;;4370:1004;;;;;;;:::o;5379:258::-;5451:1;5461:113;5475:6;5472:1;5469:13;5461:113;;;5551:11;;;5545:18;5532:11;;;5525:39;5497:2;5490:10;5461:113;;;5592:6;5589:1;5586:13;5583:48;;;-1:-1:-1;;5627:1:1;5609:16;;5602:27;5379:258::o;5642:316::-;5683:3;5721:5;5715:12;5748:6;5743:3;5736:19;5764:63;5820:6;5813:4;5808:3;5804:14;5797:4;5790:5;5786:16;5764:63;:::i;:::-;5872:2;5860:15;5877:66;5856:88;5847:98;;;;5947:4;5843:109;;5642:316;-1:-1:-1;;5642:316:1:o;5963:217::-;6110:2;6099:9;6092:21;6073:4;6130:44;6170:2;6159:9;6155:18;6147:6;6130:44;:::i;6377:383::-;6454:6;6462;6470;6523:2;6511:9;6502:7;6498:23;6494:32;6491:52;;;6539:1;6536;6529:12;6491:52;6578:9;6565:23;6597:31;6622:5;6597:31;:::i;:::-;6647:5;6699:2;6684:18;;6671:32;;-1:-1:-1;6750:2:1;6735:18;;;6722:32;;6377:383;-1:-1:-1;;;6377:383:1:o;6947:315::-;7015:6;7023;7076:2;7064:9;7055:7;7051:23;7047:32;7044:52;;;7092:1;7089;7082:12;7044:52;7131:9;7118:23;7150:31;7175:5;7150:31;:::i;:::-;7200:5;7252:2;7237:18;;;;7224:32;;-1:-1:-1;;;6947:315:1:o;7267:247::-;7326:6;7379:2;7367:9;7358:7;7354:23;7350:32;7347:52;;;7395:1;7392;7385:12;7347:52;7434:9;7421:23;7453:31;7478:5;7453:31;:::i;7519:456::-;7596:6;7604;7612;7665:2;7653:9;7644:7;7640:23;7636:32;7633:52;;;7681:1;7678;7671:12;7633:52;7720:9;7707:23;7739:31;7764:5;7739:31;:::i;:::-;7789:5;-1:-1:-1;7846:2:1;7831:18;;7818:32;7859:33;7818:32;7859:33;:::i;:::-;7519:456;;7911:7;;-1:-1:-1;;;7965:2:1;7950:18;;;;7937:32;;7519:456::o;7980:1160::-;8258:6;8266;8274;8282;8335:3;8323:9;8314:7;8310:23;8306:33;8303:53;;;8352:1;8349;8342:12;8303:53;8392:9;8379:23;8421:18;8462:2;8454:6;8451:14;8448:34;;;8478:1;8475;8468:12;8448:34;8501:66;8559:7;8550:6;8539:9;8535:22;8501:66;:::i;:::-;8491:76;;8620:2;8609:9;8605:18;8592:32;8576:48;;8649:2;8639:8;8636:16;8633:36;;;8665:1;8662;8655:12;8633:36;8688:68;8748:7;8737:8;8726:9;8722:24;8688:68;:::i;:::-;8678:78;;8809:2;8798:9;8794:18;8781:32;8765:48;;8838:2;8828:8;8825:16;8822:36;;;8854:1;8851;8844:12;8822:36;8877:68;8937:7;8926:8;8915:9;8911:24;8877:68;:::i;:::-;8867:78;;8998:2;8987:9;8983:18;8970:32;8954:48;;9027:2;9017:8;9014:16;9011:36;;;9043:1;9040;9033:12;9011:36;;9066:68;9126:7;9115:8;9104:9;9100:24;9066:68;:::i;11229:184::-;11281:77;11278:1;11271:88;11378:4;11375:1;11368:15;11402:4;11399:1;11392:15;11418:184;11470:77;11467:1;11460:88;11567:4;11564:1;11557:15;11591:4;11588:1;11581:15;11607:195;11646:3;11677:66;11670:5;11667:77;11664:103;;;11747:18;;:::i;:::-;-1:-1:-1;11794:1:1;11783:13;;11607:195::o;12168:417::-;12365:66;12357:6;12353:79;12348:3;12341:92;12323:3;12462:6;12456:13;12478:61;12532:6;12528:1;12523:3;12519:11;12512:4;12504:6;12500:17;12478:61;:::i;:::-;12559:16;;;;12577:1;12555:24;;12168:417;-1:-1:-1;;;12168:417:1:o;12590:274::-;12719:3;12757:6;12751:13;12773:53;12819:6;12814:3;12807:4;12799:6;12795:17;12773:53;:::i;:::-;12842:16;;;;;12590:274;-1:-1:-1;;12590:274:1:o;13299:450::-;13522:6;13511:9;13504:25;13565:2;13560;13549:9;13545:18;13538:30;13485:4;13591:44;13631:2;13620:9;13616:18;13608:6;13591:44;:::i;:::-;13683:9;13675:6;13671:22;13666:2;13655:9;13651:18;13644:50;13711:32;13736:6;13728;13711:32;:::i;:::-;13703:40;13299:450;-1:-1:-1;;;;;;13299:450:1:o;14443:740::-;14509:3;14547:5;14541:12;14574:6;14569:3;14562:19;14600:4;14629:2;14624:3;14620:12;14613:19;;14651:5;14648:1;14641:16;14693:2;14690:1;14680:16;14714:1;14724:434;14738:6;14735:1;14732:13;14724:434;;;14868:13;;14797:42;14864:22;;;14852:35;;14935:1;14923:14;;;14917:21;14972:18;;;14958:12;;;14951:40;15049:3;15045:19;;;;15066:4;15041:30;15034:38;15027:46;15020:4;15011:14;;15004:70;15103:4;15094:14;;;;15143:4;15131:17;;;;14753:9;14724:434;;;-1:-1:-1;15174:3:1;;14443:740;-1:-1:-1;;;;;14443:740:1:o;15188:385::-;15435:6;15424:9;15417:25;15478:2;15473;15462:9;15458:18;15451:30;15398:4;15498:69;15563:2;15552:9;15548:18;15540:6;15498:69;:::i;15578:886::-;15673:6;15704:2;15747;15735:9;15726:7;15722:23;15718:32;15715:52;;;15763:1;15760;15753:12;15715:52;15796:9;15790:16;15829:18;15821:6;15818:30;15815:50;;;15861:1;15858;15851:12;15815:50;15884:22;;15937:4;15929:13;;15925:27;-1:-1:-1;15915:55:1;;15966:1;15963;15956:12;15915:55;15995:2;15989:9;16018:65;16034:48;16079:2;16034:48;:::i;16018:65::-;16117:15;;;16199:1;16195:10;;;;16187:19;;16183:28;;;16148:12;;;;16223:19;;;16220:39;;;16255:1;16252;16245:12;16220:39;16279:11;;;;16299:135;16315:6;16310:3;16307:15;16299:135;;;16381:10;;16369:23;;16332:12;;;;16412;;;;16299:135;;16469:125;16509:4;16537:1;16534;16531:8;16528:34;;;16542:18;;:::i;:::-;-1:-1:-1;16579:9:1;;16469:125::o;17352:184::-;17422:6;17475:2;17463:9;17454:7;17450:23;17446:32;17443:52;;;17491:1;17488;17481:12;17443:52;-1:-1:-1;17514:16:1;;17352:184;-1:-1:-1;17352:184:1:o;17541:128::-;17581:3;17612:1;17608:6;17605:1;17602:13;17599:39;;;17618:18;;:::i;:::-;-1:-1:-1;17654:9:1;;17541:128::o;19072:245::-;19151:6;19159;19212:2;19200:9;19191:7;19187:23;19183:32;19180:52;;;19228:1;19225;19218:12;19180:52;-1:-1:-1;;19251:16:1;;19307:2;19292:18;;;19286:25;19251:16;;19286:25;;-1:-1:-1;19072:245:1:o;20395:::-;20462:6;20515:2;20503:9;20494:7;20490:23;20486:32;20483:52;;;20531:1;20528;20521:12;20483:52;20563:9;20557:16;20582:28;20604:5;20582:28;:::i;20645:251::-;20715:6;20768:2;20756:9;20747:7;20743:23;20739:32;20736:52;;;20784:1;20781;20774:12;20736:52;20816:9;20810:16;20835:31;20860:5;20835:31;:::i;23706:228::-;23746:7;23872:1;23804:66;23800:74;23797:1;23794:81;23789:1;23782:9;23775:17;23771:105;23768:131;;;23879:18;;:::i;:::-;-1:-1:-1;23919:9:1;;23706:228::o;23939:274::-;23979:1;24005;23995:189;;24040:77;24037:1;24030:88;24141:4;24138:1;24131:15;24169:4;24166:1;24159:15;23995:189;-1:-1:-1;24198:9:1;;23939:274::o;26181:306::-;26269:6;26277;26285;26338:2;26326:9;26317:7;26313:23;26309:32;26306:52;;;26354:1;26351;26344:12;26306:52;26383:9;26377:16;26367:26;;26433:2;26422:9;26418:18;26412:25;26402:35;;26477:2;26466:9;26462:18;26456:25;26446:35;;26181:306;;;;;:::o;27727:658::-;28066:6;28055:9;28048:25;28109:6;28104:2;28093:9;28089:18;28082:34;28152:3;28147:2;28136:9;28132:18;28125:31;28029:4;28173:70;28238:3;28227:9;28223:19;28215:6;28173:70;:::i;:::-;28291:42;28279:55;;;;28274:2;28259:18;;28252:83;-1:-1:-1;28366:3:1;28351:19;28344:35;28165:78;27727:658;-1:-1:-1;;;27727:658:1:o
Swarm Source
ipfs://e4be30a5c360dff15b669f9e9dda7cdf56fd9031f20bb50235fe5253825081fe
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.