More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Name:
StrategyDeFive
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2025-02-27 */ // 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 IFarmChef { function deposit(uint256 _pid, uint256 _amount) external; function withdraw(uint256 _pid, uint256 _amount) external; function pendingFive(uint256 _pid, address _user) external view returns (uint256); function userInfo(uint256 _pid, address _user) external view returns (uint256 amount, uint256 rewardDebt); } interface IRouter { function getAmountsOut(uint256 amountIn, address[] calldata path) external view returns (uint256[] memory amounts); function addLiquidity( address tokenA, address tokenB, 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, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); function swapExactTokensForS( uint256 amountIn, uint256 amountOutMin, address[] calldata path, address to, uint256 deadline ) external returns (uint256[] memory amounts); } contract StrategyDeFive is IStrategy, Ownable, ReentrancyGuard, Pausable { using SafeMath for uint256; using SafeERC20 for IERC20; address public farmContractAddress = address(0x4aDe5608127594CD9eA131f0826AEA02FE517461); address public dexRouterAddress = address(0xC159D904cA8C2449df0AE4836197278f2f68C725); // Defive uint256 public pid; address public override wantAddress; address public override token0Address; address public override token1Address; address public override earnedAddress; mapping(address => mapping(address => address[])) public tokenPaths; address public constant WS = address(0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38); address public controller; address public strategist; address public timelock; 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 controllerFee = 50; //5% uint256 public constant controllerFeeMax = 100; // 10% 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); constructor( address _controller, address _timelock, address _treasuryAddress, uint256 _pid, address _wantAddress, address _earnedAddress, address _token0, address _token1 ) { 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; } 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 _checkAutoEarn() internal { uint256 _pendingHarvestSValue = pendingHarvestSValue(); if (_pendingHarvestSValue >= autoEarnLimit) { 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) { _checkAutoEarn(); 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); _checkAutoEarn(); return sharesRemoved; } function _harvest() internal { // Harvest farm tokens IFarmChef(farmContractAddress).deposit(pid, 0); } function _payFees() internal { uint256 earnedAmount = IERC20(earnedAddress).balanceOf(address(this)); if (earnedAmount <= 0) { return; } emit Earned(earnedAddress, earnedAmount); //Swap token to S for controller fee _swapTokenToS(earnedAddress, earnedAmount.mul(controllerFee).div(1000), treasuryAddress); } 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)); if (earnedAddress != token0Address) { _swapTokenToToken(earnedAddress, token0Address, earnedAmount.div(2), address(this)); } if (earnedAddress != token1Address) { _swapTokenToToken(earnedAddress, token1Address, earnedAmount.div(2), 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, 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, tokenPaths[_inputToken][_outputToken]); return amounts[amounts.length - 1]; } function pendingHarvest() public view returns (uint256) { uint256 _earnedBal = IERC20(earnedAddress).balanceOf(address(this)); return IFarmChef(farmContractAddress).pendingFive(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 setFees(uint256 _controllerFee) external onlyOwner { require(_controllerFee <= controllerFeeMax, "Strategy: value too high"); controllerFee = _controllerFee; } 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( address[] memory _earnedToToken0Path, address[] memory _earnedToToken1Path, address[] memory _earnedToSPath ) external onlyOwner { tokenPaths[earnedAddress][token0Address] = _earnedToToken0Path; tokenPaths[earnedAddress][token1Address] = _earnedToToken1Path; tokenPaths[earnedAddress][WS] = _earnedToSPath; } function setPaths(address _inputToken, address _outputToken, address[] memory _path) external onlyOwner { tokenPaths[_inputToken][_outputToken] = _path; } function _swapTokenToS(address _inputToken, uint256 _amount, address to) internal { increaseAllowance(_inputToken, dexRouterAddress, _amount); if (_inputToken != WS) { IRouter(dexRouterAddress).swapExactTokensForS(_amount, 0, tokenPaths[_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, tokenPaths[_inputToken][_outputToken], to, block.timestamp.add(1800)); } } function _addLiquidity(address _tokenA, address _tokenB, uint256 _amountADesired, uint256 _amountBDesired) internal { increaseAllowance(_tokenA, dexRouterAddress, _amountADesired); increaseAllowance(_tokenB, dexRouterAddress, _amountBDesired); IRouter(dexRouterAddress).addLiquidity(_tokenA, _tokenB, _amountADesired, _amountBDesired, 0, 0, address(this), block.timestamp.add(1800)); } 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
[{"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"}],"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":"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"},{"inputs":[],"name":"WS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"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":[],"name":"lastEarnTime","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":"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":[{"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"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_earnedToToken0Path","type":"address[]"},{"internalType":"address[]","name":"_earnedToToken1Path","type":"address[]"},{"internalType":"address[]","name":"_earnedToSPath","type":"address[]"}],"name":"setMainPaths","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_inputToken","type":"address"},{"internalType":"address","name":"_outputToken","type":"address"},{"internalType":"address[]","name":"_path","type":"address[]"}],"name":"setPaths","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":"_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":"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":"tokenPaths","outputs":[{"internalType":"address","name":"","type":"address"}],"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"}]
Contract Creation Code
608060405260028054744ade5608127594cd9ea131f0826aea02fe51746100610100600160a81b0319909116179055600380546001600160a01b03191673c159d904ca8c2449df0ae4836197278f2f68c7251790556000600d819055678ac7230489e80000600e55600f819055601081905560115560326012553480156200008657600080fd5b5060405162003b0b38038062003b0b833981016040819052620000a991620001c1565b620000b43362000154565b600180556002805460ff19169055600a80546001600160a01b03199081166001600160a01b039a8b1617909155600b805433908316179055600c80548216988a16989098179097556013805488169689169690961790955560058054871693881693909317909255600680548616928716929092179091556007805485169386169390931790925560045560088054909216921691909117905562000260565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b0381168114620001bc57600080fd5b919050565b600080600080600080600080610100898b031215620001df57600080fd5b620001ea89620001a4565b9750620001fa60208a01620001a4565b96506200020a60408a01620001a4565b9550606089015194506200022160808a01620001a4565b93506200023160a08a01620001a4565b92506200024160c08a01620001a4565b91506200025160e08a01620001a4565b90509295985092959890939650565b61389b80620002706000396000f3fe608060405234801561001057600080fd5b506004361061034c5760003560e01c80638da5cb5b116101bd578063c7b9d530116100f9578063e7a03679116100a2578063f2fde38b1161007c578063f2fde38b146106d8578063f3fef3a3146106eb578063f69e2046146106fe578063f77c47911461070657600080fd5b8063e7a036791461068f578063e7f67fb1146106af578063f1068454146106cf57600080fd5b8063d7cb416f116100d3578063d7cb416f14610647578063db7a3c0f14610667578063e71984741461066f57600080fd5b8063c7b9d5301461060c578063d33219b41461061f578063d389800f1461063f57600080fd5b8063bb97517e11610166578063c11b61c711610140578063c11b61c7146105be578063c4ae3168146105d1578063c5f956af146105d9578063c6d758cb146105f957600080fd5b8063bb97517e14610590578063bdacb30314610598578063c0762e5e146105ab57600080fd5b8063a0fab11911610197578063a0fab11914610576578063ad7a672f1461057f578063ba0c108f1461058757600080fd5b80638da5cb5b1461052057806392eefe9b1461053e5780639fc33a9f1461055157600080fd5b80635d4093591161028c57806370a3cb111161023557806377c7b8fc1161020f57806377c7b8fc146104e75780637ff36fbe146104ef5780638456cb591461050f57806385f02dd61461051757600080fd5b806370a3cb11146104b9578063715018a6146104cc57806376f2892f146104d457600080fd5b806367d03db81161026657806367d03db8146104955780636dfa8d991461049d578063701f6604146104a657600080fd5b80635d4093591461045f57806362779e151461047a5780636605bfda1461048257600080fd5b80633d18678e116102f957806344a3955e116102d357806344a3955e1461042557806347e7ef241461042e5780635a34928e146104415780635c975abb1461044957600080fd5b80633d18678e146104015780633f4ba83a1461041457806342da4eb31461041c57600080fd5b80632717eff31161032a5780632717eff3146103d057806327d9e85e146103e657806336e9332d146103f957600080fd5b80631fe4a686146103515780632224fa251461039b57806325baef53146103bb575b600080fd5b600b546103719073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6103ae6103a936600461318b565b610726565b60405161039291906132aa565b6103ce6103c93660046132bd565b61094a565b005b6103d8606481565b604051908152602001610392565b6103ce6103f4366004613386565b6109d0565b6103ce610ac4565b6103ce61040f36600461340e565b610ad6565b6103ce610b4e565b6103d8600f5481565b6103d860105481565b6103d861043c366004613427565b610b5e565b6103ce610cb9565b60025460ff166040519015158152602001610392565b61037173039e2fb66102314ce7b64ce5ce3e5183bc94ad3881565b6103ce610cc9565b6103ce610490366004613451565b610cd9565b6103d8610da7565b6103d860115481565b6103d86104b436600461346c565b610e00565b6103ce6104c736600461340e565b610f0d565b6103ce610f1a565b6103ce6104e23660046134a8565b610f2c565b6103d8610f76565b6006546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6103ce610fb7565b6103d860125481565b60005473ffffffffffffffffffffffffffffffffffffffff16610371565b6103ce61054c366004613451565b610fc7565b60025461037190610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6103d8600e5481565b6103d8611154565b6103d8600d5481565b6103d86111fa565b6103ce6105a6366004613451565b6112a3565b6103ce6105b9366004613451565b6113ca565b6103716105cc36600461346c565b611498565b6103ce6114ea565b6013546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6103ce610607366004613427565b611505565b6103ce61061a366004613451565b6116a1565b600c546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6103ce6116f0565b6007546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6103d8611803565b6008546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6005546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6003546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6103d860045481565b6103ce6106e6366004613451565b611946565b6103d86106f9366004613427565b6119fd565b6103ce611cef565b600a546103719073ffffffffffffffffffffffffffffffffffffffff1681565b600c5460609073ffffffffffffffffffffffffffffffffffffffff1633146107af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f53747261746567793a2063616c6c6572206973206e6f742074696d656c6f636b60448201526064015b60405180910390fd5b60608351600014156107c25750816107ee565b8380519060200120836040516020016107dc9291906134fc565b60405160208183030381529060405290505b6000808773ffffffffffffffffffffffffffffffffffffffff1687846040516108179190613544565b60006040518083038185875af1925050503d8060008114610854576040519150601f19603f3d011682016040523d82523d6000602084013e610859565b606091505b5091509150816108eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f53747261746567793a3a657865637574655472616e73616374696f6e3a20547260448201527f616e73616374696f6e20657865637574696f6e2072657665727465642e00000060648201526084016107a6565b8773ffffffffffffffffffffffffffffffffffffffff167f88405ca50016c636e025868e263efe5a9f63bf11cc45404f7616394c7dc389d088888860405161093593929190613560565b60405180910390a2925050505b949350505050565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146109cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c65720000000060448201526064016107a6565b505050565b6109d8611cff565b60085473ffffffffffffffffffffffffffffffffffffffff908116600090815260096020908152604080832060065490941683529281529190208451610a2092860190612fcf565b5060085473ffffffffffffffffffffffffffffffffffffffff908116600090815260096020908152604080832060075490941683529281529190208351610a6992850190612fcf565b5060085473ffffffffffffffffffffffffffffffffffffffff16600090815260096020908152604080832073039e2fb66102314ce7b64ce5ce3e5183bc94ad38845282529091208251610abe92840190612fcf565b50505050565b610acc611cff565b610ad4611d80565b565b610ade611cff565b6064811115610b49576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f53747261746567793a2076616c756520746f6f2068696768000000000000000060448201526064016107a6565b601255565b610b56611cff565b610ad4611f2d565b600a5460009073ffffffffffffffffffffffffffffffffffffffff163314610be2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c65720000000060448201526064016107a6565b610bea611faa565b610bf261201e565b610bfa61208b565b600554610c1f9073ffffffffffffffffffffffffffffffffffffffff163330856120a8565b600f54829015801590610c3457506000601054115b15610c5d57610c5a600f54610c546010548661218490919063ffffffff16565b90612197565b90505b601054610c6a90826121a3565b601055610c75611d80565b6040518381527f4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e384269060200160405180910390a19050610cb360018055565b92915050565b610cc1611cff565b610ad46121af565b610cd1611cff565b610ad461223b565b610ce1611cff565b73ffffffffffffffffffffffffffffffffffffffff8116610d60576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a69060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b601380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600080610db2611803565b90508015610df757600854610df29073ffffffffffffffffffffffffffffffffffffffff1673039e2fb66102314ce7b64ce5ce3e5183bc94ad3883610e00565b610dfa565b60005b91505090565b60035473ffffffffffffffffffffffffffffffffffffffff8481166000908152600960209081526040808320878516845290915280822090517fd06ca61f00000000000000000000000000000000000000000000000000000000815291938493169163d06ca61f91610e77918791906004016135eb565b600060405180830381865afa158015610e94573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610eda9190810190613604565b90508060018251610eeb91906136b9565b81518110610efb57610efb6136d0565b60200260200101519150509392505050565b610f15611cff565b600e55565b610f22611cff565b610ad46000612380565b610f34611cff565b73ffffffffffffffffffffffffffffffffffffffff808416600090815260096020908152604080832093861683529281529190208251610abe92840190612fcf565b6000601054600014610faa57610fa5601054610c54670de0b6b3a7640000600f5461218490919063ffffffff16565b905090565b50670de0b6b3a764000090565b610fbf611cff565b610ad46123f5565b73ffffffffffffffffffffffffffffffffffffffff8116611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f696e76616c69644164647265737300000000000000000000000000000000000060448201526064016107a6565b600a5473ffffffffffffffffffffffffffffffffffffffff163314806110815750600c5473ffffffffffffffffffffffffffffffffffffffff1633145b61110d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c6572206e6f7260448201527f2074696d656c6f636b000000000000000000000000000000000000000000000060648201526084016107a6565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600061115e6111fa565b6005546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa1580156111cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f091906136ff565b610fa59190613718565b600254600480546040517f93f1a40b00000000000000000000000000000000000000000000000000000000815291820152306024820152600091829161010090910473ffffffffffffffffffffffffffffffffffffffff16906393f1a40b906044016040805180830381865afa158015611278573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129c9190613730565b5092915050565b600c5473ffffffffffffffffffffffffffffffffffffffff1633148061131d5750600c5473ffffffffffffffffffffffffffffffffffffffff1615801561131d57503361130560005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16145b611383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f2174696d656c6f636b000000000000000000000000000000000000000000000060448201526064016107a6565b600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6113d2611cff565b73ffffffffffffffffffffffffffffffffffffffff8116611451576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a69060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600960205282600052604060002060205281600052604060002081815481106114c057600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16925083915050565b6114f2611cff565b60025460ff1615610fbf57610ad4611f2d565b61150d611cff565b60085473ffffffffffffffffffffffffffffffffffffffff83811691161415611592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f217361666500000000000000000000000000000000000000000000000000000060448201526064016107a6565b60055473ffffffffffffffffffffffffffffffffffffffff83811691161415611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f217361666500000000000000000000000000000000000000000000000000000060448201526064016107a6565b600a5473ffffffffffffffffffffffffffffffffffffffff908116906116409084168284612450565b6040805173ffffffffffffffffffffffffffffffffffffffff8086168252602082018590528316918101919091527f22f92dfb4f608ea5db1e9bb08c0b4f5518af93b1259d335fe05900056096ab2c906060015b60405180910390a1505050565b6116a9611cff565b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6116f861201e565b600b5473ffffffffffffffffffffffffffffffffffffffff1633148061175157503361173960005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16145b6117dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f53747261746567793a2063616c6c6572206973206e6f7420746865207374726160448201527f746567697374000000000000000000000000000000000000000000000000000060648201526084016107a6565b6117e56121af565b6117ed61223b565b6117f56124a6565b6117fd611d80565b42600d55565b6008546040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600091829173ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa158015611876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189a91906136ff565b600254600480546040517fa81d465800000000000000000000000000000000000000000000000000000000815291820152306024820152919250610dfa918391610100900473ffffffffffffffffffffffffffffffffffffffff169063a81d465890604401602060405180830381865afa15801561191c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194091906136ff565b906121a3565b61194e611cff565b73ffffffffffffffffffffffffffffffffffffffff81166119f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107a6565b6119fa81612380565b50565b600a5460009073ffffffffffffffffffffffffffffffffffffffff163314611a81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c65720000000060448201526064016107a6565b611a89611faa565b60008211611af3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f53747261746567793a20215f77616e74416d740000000000000000000000000060448201526064016107a6565b600254600480546040517f441a3e70000000000000000000000000000000000000000000000000000000008152918201526024810184905261010090910473ffffffffffffffffffffffffffffffffffffffff169063441a3e7090604401600060405180830381600087803b158015611b6b57600080fd5b505af1158015611b7f573d6000803e3d6000fd5b50506005546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000935073ffffffffffffffffffffffffffffffffffffffff90911691506370a0823190602401602060405180830381865afa158015611bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1891906136ff565b905080831115611c26578092505b82600f541015611c3657600f5492505b6000611c53600f54610c546010548761218490919063ffffffff16565b9050601054811115611c6457506010545b601054611c719082612803565b601055600f54611c819085612803565b600f55600554611ca89073ffffffffffffffffffffffffffffffffffffffff163386612450565b6040518481527f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d9060200160405180910390a1611ce361208b565b915050610cb360018055565b611cf7611cff565b610ad46124a6565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ad4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107a6565b6005546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff9091169060009082906370a0823190602401602060405180830381865afa158015611df3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1791906136ff565b600f54909150611e2790826121a3565b600f558015611f2957600554600254611e5f9173ffffffffffffffffffffffffffffffffffffffff908116916101009004168361280f565b600254600480546040517fe2bbb158000000000000000000000000000000000000000000000000000000008152918201526024810183905261010090910473ffffffffffffffffffffffffffffffffffffffff169063e2bbb15890604401600060405180830381600087803b158015611ed757600080fd5b505af1158015611eeb573d6000803e3d6000fd5b505050507fc217459869eed80bfbe5c11e78ab58912eedfd106342671821b6e96d1615dc7f81604051611f2091815260200190565b60405180910390a15b5050565b611f35612830565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b60026001541415612017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107a6565b6002600155565b60025460ff1615610ad4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016107a6565b6000612095610da7565b9050600e5481106119fa576119fa6116f0565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610abe9085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915261289c565b60006121908284613754565b9392505050565b60006121908284613791565b60006121908284613718565b600254600480546040517fe2bbb158000000000000000000000000000000000000000000000000000000008152918201526000602482015261010090910473ffffffffffffffffffffffffffffffffffffffff169063e2bbb15890604401600060405180830381600087803b15801561222757600080fd5b505af1158015610abe573d6000803e3d6000fd5b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156122aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ce91906136ff565b9050600081116122db5750565b6008546040805173ffffffffffffffffffffffffffffffffffffffff9092168252602082018390527f053fa1fc52294a40b4ff1a988765bd298c00caa24d685cc3f767dcfde254ef9a910160405180910390a16008546012546119fa9173ffffffffffffffffffffffffffffffffffffffff1690612362906103e890610c54908690612184565b60135473ffffffffffffffffffffffffffffffffffffffff166129ab565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6123fd61201e565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f803390565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109cb9084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401612102565b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015612515573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253991906136ff565b600854909150612581906125789073ffffffffffffffffffffffffffffffffffffffff1673039e2fb66102314ce7b64ce5ce3e5183bc94ad3884610e00565b601154906121a3565b60115560065460085473ffffffffffffffffffffffffffffffffffffffff9081169116146125de576008546006546125de9173ffffffffffffffffffffffffffffffffffffffff90811691166125d8846002612197565b30612ae9565b60075460085473ffffffffffffffffffffffffffffffffffffffff908116911614612632576008546007546126329173ffffffffffffffffffffffffffffffffffffffff90811691166125d8846002612197565b6006546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156126a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c591906136ff565b6007546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015291925060009173ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa158015612739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275d91906136ff565b905060008211801561276f5750600081115b156109cb5760065460075461279f9173ffffffffffffffffffffffffffffffffffffffff90811691168484612c1e565b6006546007546040805173ffffffffffffffffffffffffffffffffffffffff9384168152602081018690529290911690820152606081018290527f44552da03f807ace3e5f27e98e694712dfe668c743514b28d4d9f5ab70574b0f90608001611694565b600061219082846136b9565b6109cb73ffffffffffffffffffffffffffffffffffffffff84168383612d68565b60025460ff16610ad4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016107a6565b60006128fe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612e619092919063ffffffff16565b905080516000148061291f57508080602001905181019061291f91906137cc565b6109cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016107a6565b6003546129d090849073ffffffffffffffffffffffffffffffffffffffff168461280f565b73ffffffffffffffffffffffffffffffffffffffff831673039e2fb66102314ce7b64ce5ce3e5183bc94ad38146109cb5760035473ffffffffffffffffffffffffffffffffffffffff848116600090815260096020908152604080832073039e2fb66102314ce7b64ce5ce3e5183bc94ad3884529091528120919092169163ee2b38369185919085612a64426107086121a3565b6040518663ffffffff1660e01b8152600401612a849594939291906137ee565b6000604051808303816000875af1158015612aa3573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610abe9190810190613604565b600354612b0e90859073ffffffffffffffffffffffffffffffffffffffff168461280f565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610abe5760035473ffffffffffffffffffffffffffffffffffffffff85811660009081526009602090815260408083208885168452909152812091909216916338ed17399185919085612b92426107086121a3565b6040518663ffffffff1660e01b8152600401612bb29594939291906137ee565b6000604051808303816000875af1158015612bd1573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052612c179190810190613604565b5050505050565b600354612c4390859073ffffffffffffffffffffffffffffffffffffffff168461280f565b600354612c6890849073ffffffffffffffffffffffffffffffffffffffff168361280f565b60035473ffffffffffffffffffffffffffffffffffffffff1663e8e337008585858560008030612c9a426107086121a3565b60405160e08a901b7fffffffff0000000000000000000000000000000000000000000000000000000016815273ffffffffffffffffffffffffffffffffffffffff9889166004820152968816602488015260448701959095526064860193909352608485019190915260a484015290921660c482015260e4810191909152610104016060604051808303816000875af1158015612d3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d5f9190613837565b50505050505050565b6040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff83811660248301526000919085169063dd62ed3e90604401602060405180830381865afa158015612dde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e0291906136ff565b9050610abe847f095ea7b30000000000000000000000000000000000000000000000000000000085612e348686613718565b60405173ffffffffffffffffffffffffffffffffffffffff90921660248301526044820152606401612102565b60606109428484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051612e959190613544565b60006040518083038185875af1925050503d8060008114612ed2576040519150601f19603f3d011682016040523d82523d6000602084013e612ed7565b606091505b5091509150612ee887838387612ef3565b979650505050505050565b60608315612f86578251612f7f5773ffffffffffffffffffffffffffffffffffffffff85163b612f7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107a6565b5081610942565b6109428383815115612f9b5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a691906132aa565b828054828255906000526020600020908101928215613049579160200282015b8281111561304957825182547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909116178255602090920191600190910190612fef565b50613055929150613059565b5090565b5b80821115613055576000815560010161305a565b803573ffffffffffffffffffffffffffffffffffffffff8116811461309257600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561310d5761310d613097565b604052919050565b600067ffffffffffffffff83111561312f5761312f613097565b61316060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f860116016130c6565b905082815283838301111561317457600080fd5b828260208301376000602084830101529392505050565b600080600080608085870312156131a157600080fd5b6131aa8561306e565b935060208501359250604085013567ffffffffffffffff808211156131ce57600080fd5b818701915087601f8301126131e257600080fd5b6131f188833560208501613115565b9350606087013591508082111561320757600080fd5b508501601f8101871361321957600080fd5b61322887823560208401613115565b91505092959194509250565b60005b8381101561324f578181015183820152602001613237565b83811115610abe5750506000910152565b60008151808452613278816020860160208601613234565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006121906020830184613260565b6000806000606084860312156132d257600080fd5b6132db8461306e565b95602085013595506040909401359392505050565b600067ffffffffffffffff82111561330a5761330a613097565b5060051b60200190565b600082601f83011261332557600080fd5b8135602061333a613335836132f0565b6130c6565b82815260059290921b8401810191818101908684111561335957600080fd5b8286015b8481101561337b5761336e8161306e565b835291830191830161335d565b509695505050505050565b60008060006060848603121561339b57600080fd5b833567ffffffffffffffff808211156133b357600080fd5b6133bf87838801613314565b945060208601359150808211156133d557600080fd5b6133e187838801613314565b935060408601359150808211156133f757600080fd5b5061340486828701613314565b9150509250925092565b60006020828403121561342057600080fd5b5035919050565b6000806040838503121561343a57600080fd5b6134438361306e565b946020939093013593505050565b60006020828403121561346357600080fd5b6121908261306e565b60008060006060848603121561348157600080fd5b61348a8461306e565b92506134986020850161306e565b9150604084013590509250925092565b6000806000606084860312156134bd57600080fd5b6134c68461306e565b92506134d46020850161306e565b9150604084013567ffffffffffffffff8111156134f057600080fd5b61340486828701613314565b7fffffffff000000000000000000000000000000000000000000000000000000008316815260008251613536816004850160208701613234565b919091016004019392505050565b60008251613556818460208701613234565b9190910192915050565b8381526060602082015260006135796060830185613260565b828103604084015261358b8185613260565b9695505050505050565b6000815480845260208085019450836000528060002060005b838110156135e057815473ffffffffffffffffffffffffffffffffffffffff16875295820195600191820191016135ae565b509495945050505050565b8281526040602082015260006109426040830184613595565b6000602080838503121561361757600080fd5b825167ffffffffffffffff81111561362e57600080fd5b8301601f8101851361363f57600080fd5b805161364d613335826132f0565b81815260059190911b8201830190838101908783111561366c57600080fd5b928401925b82841015612ee857835182529284019290840190613671565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156136cb576136cb61368a565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561371157600080fd5b5051919050565b6000821982111561372b5761372b61368a565b500190565b6000806040838503121561374357600080fd5b505080516020909101519092909150565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561378c5761378c61368a565b500290565b6000826137c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000602082840312156137de57600080fd5b8151801515811461219057600080fd5b85815284602082015260a06040820152600061380d60a0830186613595565b73ffffffffffffffffffffffffffffffffffffffff94909416606083015250608001529392505050565b60008060006060848603121561384c57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220bd2a76953c3fc5d52408d3ae3a035b3ee5a78f34bf4c1352567a08c7758188a864736f6c634300080c00330000000000000000000000008ae21a4f5b99f18de502fceb3174c74229ab326c00000000000000000000000071fd21a764ef295fb7bfbdf4d2ebffe862e76fbf000000000000000000000000c547e8dd3844fb5bc178120a121b365ea790774e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000006eb32c8db5ff2878acbcb6a1ec5e301f60884da4000000000000000000000000b0695ce12c56aae40894235e2d1888d0b62dd11000000000000000000000000029219dd400f2bf60e5a23d13be72b486d4038894000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061034c5760003560e01c80638da5cb5b116101bd578063c7b9d530116100f9578063e7a03679116100a2578063f2fde38b1161007c578063f2fde38b146106d8578063f3fef3a3146106eb578063f69e2046146106fe578063f77c47911461070657600080fd5b8063e7a036791461068f578063e7f67fb1146106af578063f1068454146106cf57600080fd5b8063d7cb416f116100d3578063d7cb416f14610647578063db7a3c0f14610667578063e71984741461066f57600080fd5b8063c7b9d5301461060c578063d33219b41461061f578063d389800f1461063f57600080fd5b8063bb97517e11610166578063c11b61c711610140578063c11b61c7146105be578063c4ae3168146105d1578063c5f956af146105d9578063c6d758cb146105f957600080fd5b8063bb97517e14610590578063bdacb30314610598578063c0762e5e146105ab57600080fd5b8063a0fab11911610197578063a0fab11914610576578063ad7a672f1461057f578063ba0c108f1461058757600080fd5b80638da5cb5b1461052057806392eefe9b1461053e5780639fc33a9f1461055157600080fd5b80635d4093591161028c57806370a3cb111161023557806377c7b8fc1161020f57806377c7b8fc146104e75780637ff36fbe146104ef5780638456cb591461050f57806385f02dd61461051757600080fd5b806370a3cb11146104b9578063715018a6146104cc57806376f2892f146104d457600080fd5b806367d03db81161026657806367d03db8146104955780636dfa8d991461049d578063701f6604146104a657600080fd5b80635d4093591461045f57806362779e151461047a5780636605bfda1461048257600080fd5b80633d18678e116102f957806344a3955e116102d357806344a3955e1461042557806347e7ef241461042e5780635a34928e146104415780635c975abb1461044957600080fd5b80633d18678e146104015780633f4ba83a1461041457806342da4eb31461041c57600080fd5b80632717eff31161032a5780632717eff3146103d057806327d9e85e146103e657806336e9332d146103f957600080fd5b80631fe4a686146103515780632224fa251461039b57806325baef53146103bb575b600080fd5b600b546103719073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020015b60405180910390f35b6103ae6103a936600461318b565b610726565b60405161039291906132aa565b6103ce6103c93660046132bd565b61094a565b005b6103d8606481565b604051908152602001610392565b6103ce6103f4366004613386565b6109d0565b6103ce610ac4565b6103ce61040f36600461340e565b610ad6565b6103ce610b4e565b6103d8600f5481565b6103d860105481565b6103d861043c366004613427565b610b5e565b6103ce610cb9565b60025460ff166040519015158152602001610392565b61037173039e2fb66102314ce7b64ce5ce3e5183bc94ad3881565b6103ce610cc9565b6103ce610490366004613451565b610cd9565b6103d8610da7565b6103d860115481565b6103d86104b436600461346c565b610e00565b6103ce6104c736600461340e565b610f0d565b6103ce610f1a565b6103ce6104e23660046134a8565b610f2c565b6103d8610f76565b6006546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6103ce610fb7565b6103d860125481565b60005473ffffffffffffffffffffffffffffffffffffffff16610371565b6103ce61054c366004613451565b610fc7565b60025461037190610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6103d8600e5481565b6103d8611154565b6103d8600d5481565b6103d86111fa565b6103ce6105a6366004613451565b6112a3565b6103ce6105b9366004613451565b6113ca565b6103716105cc36600461346c565b611498565b6103ce6114ea565b6013546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6103ce610607366004613427565b611505565b6103ce61061a366004613451565b6116a1565b600c546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6103ce6116f0565b6007546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6103d8611803565b6008546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6005546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6003546103719073ffffffffffffffffffffffffffffffffffffffff1681565b6103d860045481565b6103ce6106e6366004613451565b611946565b6103d86106f9366004613427565b6119fd565b6103ce611cef565b600a546103719073ffffffffffffffffffffffffffffffffffffffff1681565b600c5460609073ffffffffffffffffffffffffffffffffffffffff1633146107af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f53747261746567793a2063616c6c6572206973206e6f742074696d656c6f636b60448201526064015b60405180910390fd5b60608351600014156107c25750816107ee565b8380519060200120836040516020016107dc9291906134fc565b60405160208183030381529060405290505b6000808773ffffffffffffffffffffffffffffffffffffffff1687846040516108179190613544565b60006040518083038185875af1925050503d8060008114610854576040519150601f19603f3d011682016040523d82523d6000602084013e610859565b606091505b5091509150816108eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603d60248201527f53747261746567793a3a657865637574655472616e73616374696f6e3a20547260448201527f616e73616374696f6e20657865637574696f6e2072657665727465642e00000060648201526084016107a6565b8773ffffffffffffffffffffffffffffffffffffffff167f88405ca50016c636e025868e263efe5a9f63bf11cc45404f7616394c7dc389d088888860405161093593929190613560565b60405180910390a2925050505b949350505050565b600a5473ffffffffffffffffffffffffffffffffffffffff1633146109cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c65720000000060448201526064016107a6565b505050565b6109d8611cff565b60085473ffffffffffffffffffffffffffffffffffffffff908116600090815260096020908152604080832060065490941683529281529190208451610a2092860190612fcf565b5060085473ffffffffffffffffffffffffffffffffffffffff908116600090815260096020908152604080832060075490941683529281529190208351610a6992850190612fcf565b5060085473ffffffffffffffffffffffffffffffffffffffff16600090815260096020908152604080832073039e2fb66102314ce7b64ce5ce3e5183bc94ad38845282529091208251610abe92840190612fcf565b50505050565b610acc611cff565b610ad4611d80565b565b610ade611cff565b6064811115610b49576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f53747261746567793a2076616c756520746f6f2068696768000000000000000060448201526064016107a6565b601255565b610b56611cff565b610ad4611f2d565b600a5460009073ffffffffffffffffffffffffffffffffffffffff163314610be2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c65720000000060448201526064016107a6565b610bea611faa565b610bf261201e565b610bfa61208b565b600554610c1f9073ffffffffffffffffffffffffffffffffffffffff163330856120a8565b600f54829015801590610c3457506000601054115b15610c5d57610c5a600f54610c546010548661218490919063ffffffff16565b90612197565b90505b601054610c6a90826121a3565b601055610c75611d80565b6040518381527f4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e384269060200160405180910390a19050610cb360018055565b92915050565b610cc1611cff565b610ad46121af565b610cd1611cff565b610ad461223b565b610ce1611cff565b73ffffffffffffffffffffffffffffffffffffffff8116610d60576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a69060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b601380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600080610db2611803565b90508015610df757600854610df29073ffffffffffffffffffffffffffffffffffffffff1673039e2fb66102314ce7b64ce5ce3e5183bc94ad3883610e00565b610dfa565b60005b91505090565b60035473ffffffffffffffffffffffffffffffffffffffff8481166000908152600960209081526040808320878516845290915280822090517fd06ca61f00000000000000000000000000000000000000000000000000000000815291938493169163d06ca61f91610e77918791906004016135eb565b600060405180830381865afa158015610e94573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610eda9190810190613604565b90508060018251610eeb91906136b9565b81518110610efb57610efb6136d0565b60200260200101519150509392505050565b610f15611cff565b600e55565b610f22611cff565b610ad46000612380565b610f34611cff565b73ffffffffffffffffffffffffffffffffffffffff808416600090815260096020908152604080832093861683529281529190208251610abe92840190612fcf565b6000601054600014610faa57610fa5601054610c54670de0b6b3a7640000600f5461218490919063ffffffff16565b905090565b50670de0b6b3a764000090565b610fbf611cff565b610ad46123f5565b73ffffffffffffffffffffffffffffffffffffffff8116611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f696e76616c69644164647265737300000000000000000000000000000000000060448201526064016107a6565b600a5473ffffffffffffffffffffffffffffffffffffffff163314806110815750600c5473ffffffffffffffffffffffffffffffffffffffff1633145b61110d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c6572206e6f7260448201527f2074696d656c6f636b000000000000000000000000000000000000000000000060648201526084016107a6565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600061115e6111fa565b6005546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa1580156111cc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111f091906136ff565b610fa59190613718565b600254600480546040517f93f1a40b00000000000000000000000000000000000000000000000000000000815291820152306024820152600091829161010090910473ffffffffffffffffffffffffffffffffffffffff16906393f1a40b906044016040805180830381865afa158015611278573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061129c9190613730565b5092915050565b600c5473ffffffffffffffffffffffffffffffffffffffff1633148061131d5750600c5473ffffffffffffffffffffffffffffffffffffffff1615801561131d57503361130560005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16145b611383576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600960248201527f2174696d656c6f636b000000000000000000000000000000000000000000000060448201526064016107a6565b600c80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6113d2611cff565b73ffffffffffffffffffffffffffffffffffffffff8116611451576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a69060208082526004908201527f7a65726f00000000000000000000000000000000000000000000000000000000604082015260600190565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b600960205282600052604060002060205281600052604060002081815481106114c057600080fd5b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16925083915050565b6114f2611cff565b60025460ff1615610fbf57610ad4611f2d565b61150d611cff565b60085473ffffffffffffffffffffffffffffffffffffffff83811691161415611592576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f217361666500000000000000000000000000000000000000000000000000000060448201526064016107a6565b60055473ffffffffffffffffffffffffffffffffffffffff83811691161415611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600560248201527f217361666500000000000000000000000000000000000000000000000000000060448201526064016107a6565b600a5473ffffffffffffffffffffffffffffffffffffffff908116906116409084168284612450565b6040805173ffffffffffffffffffffffffffffffffffffffff8086168252602082018590528316918101919091527f22f92dfb4f608ea5db1e9bb08c0b4f5518af93b1259d335fe05900056096ab2c906060015b60405180910390a1505050565b6116a9611cff565b600b80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6116f861201e565b600b5473ffffffffffffffffffffffffffffffffffffffff1633148061175157503361173960005473ffffffffffffffffffffffffffffffffffffffff1690565b73ffffffffffffffffffffffffffffffffffffffff16145b6117dd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f53747261746567793a2063616c6c6572206973206e6f7420746865207374726160448201527f746567697374000000000000000000000000000000000000000000000000000060648201526084016107a6565b6117e56121af565b6117ed61223b565b6117f56124a6565b6117fd611d80565b42600d55565b6008546040517f70a08231000000000000000000000000000000000000000000000000000000008152306004820152600091829173ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa158015611876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061189a91906136ff565b600254600480546040517fa81d465800000000000000000000000000000000000000000000000000000000815291820152306024820152919250610dfa918391610100900473ffffffffffffffffffffffffffffffffffffffff169063a81d465890604401602060405180830381865afa15801561191c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194091906136ff565b906121a3565b61194e611cff565b73ffffffffffffffffffffffffffffffffffffffff81166119f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016107a6565b6119fa81612380565b50565b600a5460009073ffffffffffffffffffffffffffffffffffffffff163314611a81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c65720000000060448201526064016107a6565b611a89611faa565b60008211611af3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f53747261746567793a20215f77616e74416d740000000000000000000000000060448201526064016107a6565b600254600480546040517f441a3e70000000000000000000000000000000000000000000000000000000008152918201526024810184905261010090910473ffffffffffffffffffffffffffffffffffffffff169063441a3e7090604401600060405180830381600087803b158015611b6b57600080fd5b505af1158015611b7f573d6000803e3d6000fd5b50506005546040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000935073ffffffffffffffffffffffffffffffffffffffff90911691506370a0823190602401602060405180830381865afa158015611bf4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c1891906136ff565b905080831115611c26578092505b82600f541015611c3657600f5492505b6000611c53600f54610c546010548761218490919063ffffffff16565b9050601054811115611c6457506010545b601054611c719082612803565b601055600f54611c819085612803565b600f55600554611ca89073ffffffffffffffffffffffffffffffffffffffff163386612450565b6040518481527f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d9060200160405180910390a1611ce361208b565b915050610cb360018055565b611cf7611cff565b610ad46124a6565b60005473ffffffffffffffffffffffffffffffffffffffff163314610ad4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107a6565b6005546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff9091169060009082906370a0823190602401602060405180830381865afa158015611df3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e1791906136ff565b600f54909150611e2790826121a3565b600f558015611f2957600554600254611e5f9173ffffffffffffffffffffffffffffffffffffffff908116916101009004168361280f565b600254600480546040517fe2bbb158000000000000000000000000000000000000000000000000000000008152918201526024810183905261010090910473ffffffffffffffffffffffffffffffffffffffff169063e2bbb15890604401600060405180830381600087803b158015611ed757600080fd5b505af1158015611eeb573d6000803e3d6000fd5b505050507fc217459869eed80bfbe5c11e78ab58912eedfd106342671821b6e96d1615dc7f81604051611f2091815260200190565b60405180910390a15b5050565b611f35612830565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b60026001541415612017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016107a6565b6002600155565b60025460ff1615610ad4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064016107a6565b6000612095610da7565b9050600e5481106119fa576119fa6116f0565b60405173ffffffffffffffffffffffffffffffffffffffff80851660248301528316604482015260648101829052610abe9085907f23b872dd00000000000000000000000000000000000000000000000000000000906084015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915261289c565b60006121908284613754565b9392505050565b60006121908284613791565b60006121908284613718565b600254600480546040517fe2bbb158000000000000000000000000000000000000000000000000000000008152918201526000602482015261010090910473ffffffffffffffffffffffffffffffffffffffff169063e2bbb15890604401600060405180830381600087803b15801561222757600080fd5b505af1158015610abe573d6000803e3d6000fd5b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156122aa573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122ce91906136ff565b9050600081116122db5750565b6008546040805173ffffffffffffffffffffffffffffffffffffffff9092168252602082018390527f053fa1fc52294a40b4ff1a988765bd298c00caa24d685cc3f767dcfde254ef9a910160405180910390a16008546012546119fa9173ffffffffffffffffffffffffffffffffffffffff1690612362906103e890610c54908690612184565b60135473ffffffffffffffffffffffffffffffffffffffff166129ab565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6123fd61201e565b600280547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f803390565b60405173ffffffffffffffffffffffffffffffffffffffff83166024820152604481018290526109cb9084907fa9059cbb0000000000000000000000000000000000000000000000000000000090606401612102565b6008546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa158015612515573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061253991906136ff565b600854909150612581906125789073ffffffffffffffffffffffffffffffffffffffff1673039e2fb66102314ce7b64ce5ce3e5183bc94ad3884610e00565b601154906121a3565b60115560065460085473ffffffffffffffffffffffffffffffffffffffff9081169116146125de576008546006546125de9173ffffffffffffffffffffffffffffffffffffffff90811691166125d8846002612197565b30612ae9565b60075460085473ffffffffffffffffffffffffffffffffffffffff908116911614612632576008546007546126329173ffffffffffffffffffffffffffffffffffffffff90811691166125d8846002612197565b6006546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009173ffffffffffffffffffffffffffffffffffffffff16906370a0823190602401602060405180830381865afa1580156126a1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126c591906136ff565b6007546040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015291925060009173ffffffffffffffffffffffffffffffffffffffff909116906370a0823190602401602060405180830381865afa158015612739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275d91906136ff565b905060008211801561276f5750600081115b156109cb5760065460075461279f9173ffffffffffffffffffffffffffffffffffffffff90811691168484612c1e565b6006546007546040805173ffffffffffffffffffffffffffffffffffffffff9384168152602081018690529290911690820152606081018290527f44552da03f807ace3e5f27e98e694712dfe668c743514b28d4d9f5ab70574b0f90608001611694565b600061219082846136b9565b6109cb73ffffffffffffffffffffffffffffffffffffffff84168383612d68565b60025460ff16610ad4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f742070617573656400000000000000000000000060448201526064016107a6565b60006128fe826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612e619092919063ffffffff16565b905080516000148061291f57508080602001905181019061291f91906137cc565b6109cb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f7420737563636565640000000000000000000000000000000000000000000060648201526084016107a6565b6003546129d090849073ffffffffffffffffffffffffffffffffffffffff168461280f565b73ffffffffffffffffffffffffffffffffffffffff831673039e2fb66102314ce7b64ce5ce3e5183bc94ad38146109cb5760035473ffffffffffffffffffffffffffffffffffffffff848116600090815260096020908152604080832073039e2fb66102314ce7b64ce5ce3e5183bc94ad3884529091528120919092169163ee2b38369185919085612a64426107086121a3565b6040518663ffffffff1660e01b8152600401612a849594939291906137ee565b6000604051808303816000875af1158015612aa3573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052610abe9190810190613604565b600354612b0e90859073ffffffffffffffffffffffffffffffffffffffff168461280f565b8273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614610abe5760035473ffffffffffffffffffffffffffffffffffffffff85811660009081526009602090815260408083208885168452909152812091909216916338ed17399185919085612b92426107086121a3565b6040518663ffffffff1660e01b8152600401612bb29594939291906137ee565b6000604051808303816000875af1158015612bd1573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201604052612c179190810190613604565b5050505050565b600354612c4390859073ffffffffffffffffffffffffffffffffffffffff168461280f565b600354612c6890849073ffffffffffffffffffffffffffffffffffffffff168361280f565b60035473ffffffffffffffffffffffffffffffffffffffff1663e8e337008585858560008030612c9a426107086121a3565b60405160e08a901b7fffffffff0000000000000000000000000000000000000000000000000000000016815273ffffffffffffffffffffffffffffffffffffffff9889166004820152968816602488015260448701959095526064860193909352608485019190915260a484015290921660c482015260e4810191909152610104016060604051808303816000875af1158015612d3b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d5f9190613837565b50505050505050565b6040517fdd62ed3e00000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff83811660248301526000919085169063dd62ed3e90604401602060405180830381865afa158015612dde573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e0291906136ff565b9050610abe847f095ea7b30000000000000000000000000000000000000000000000000000000085612e348686613718565b60405173ffffffffffffffffffffffffffffffffffffffff90921660248301526044820152606401612102565b60606109428484600085856000808673ffffffffffffffffffffffffffffffffffffffff168587604051612e959190613544565b60006040518083038185875af1925050503d8060008114612ed2576040519150601f19603f3d011682016040523d82523d6000602084013e612ed7565b606091505b5091509150612ee887838387612ef3565b979650505050505050565b60608315612f86578251612f7f5773ffffffffffffffffffffffffffffffffffffffff85163b612f7f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107a6565b5081610942565b6109428383815115612f9b5781518083602001fd5b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a691906132aa565b828054828255906000526020600020908101928215613049579160200282015b8281111561304957825182547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff909116178255602090920191600190910190612fef565b50613055929150613059565b5090565b5b80821115613055576000815560010161305a565b803573ffffffffffffffffffffffffffffffffffffffff8116811461309257600080fd5b919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561310d5761310d613097565b604052919050565b600067ffffffffffffffff83111561312f5761312f613097565b61316060207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f860116016130c6565b905082815283838301111561317457600080fd5b828260208301376000602084830101529392505050565b600080600080608085870312156131a157600080fd5b6131aa8561306e565b935060208501359250604085013567ffffffffffffffff808211156131ce57600080fd5b818701915087601f8301126131e257600080fd5b6131f188833560208501613115565b9350606087013591508082111561320757600080fd5b508501601f8101871361321957600080fd5b61322887823560208401613115565b91505092959194509250565b60005b8381101561324f578181015183820152602001613237565b83811115610abe5750506000910152565b60008151808452613278816020860160208601613234565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006121906020830184613260565b6000806000606084860312156132d257600080fd5b6132db8461306e565b95602085013595506040909401359392505050565b600067ffffffffffffffff82111561330a5761330a613097565b5060051b60200190565b600082601f83011261332557600080fd5b8135602061333a613335836132f0565b6130c6565b82815260059290921b8401810191818101908684111561335957600080fd5b8286015b8481101561337b5761336e8161306e565b835291830191830161335d565b509695505050505050565b60008060006060848603121561339b57600080fd5b833567ffffffffffffffff808211156133b357600080fd5b6133bf87838801613314565b945060208601359150808211156133d557600080fd5b6133e187838801613314565b935060408601359150808211156133f757600080fd5b5061340486828701613314565b9150509250925092565b60006020828403121561342057600080fd5b5035919050565b6000806040838503121561343a57600080fd5b6134438361306e565b946020939093013593505050565b60006020828403121561346357600080fd5b6121908261306e565b60008060006060848603121561348157600080fd5b61348a8461306e565b92506134986020850161306e565b9150604084013590509250925092565b6000806000606084860312156134bd57600080fd5b6134c68461306e565b92506134d46020850161306e565b9150604084013567ffffffffffffffff8111156134f057600080fd5b61340486828701613314565b7fffffffff000000000000000000000000000000000000000000000000000000008316815260008251613536816004850160208701613234565b919091016004019392505050565b60008251613556818460208701613234565b9190910192915050565b8381526060602082015260006135796060830185613260565b828103604084015261358b8185613260565b9695505050505050565b6000815480845260208085019450836000528060002060005b838110156135e057815473ffffffffffffffffffffffffffffffffffffffff16875295820195600191820191016135ae565b509495945050505050565b8281526040602082015260006109426040830184613595565b6000602080838503121561361757600080fd5b825167ffffffffffffffff81111561362e57600080fd5b8301601f8101851361363f57600080fd5b805161364d613335826132f0565b81815260059190911b8201830190838101908783111561366c57600080fd5b928401925b82841015612ee857835182529284019290840190613671565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000828210156136cb576136cb61368a565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561371157600080fd5b5051919050565b6000821982111561372b5761372b61368a565b500190565b6000806040838503121561374357600080fd5b505080516020909101519092909150565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561378c5761378c61368a565b500290565b6000826137c7577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000602082840312156137de57600080fd5b8151801515811461219057600080fd5b85815284602082015260a06040820152600061380d60a0830186613595565b73ffffffffffffffffffffffffffffffffffffffff94909416606083015250608001529392505050565b60008060006060848603121561384c57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220bd2a76953c3fc5d52408d3ae3a035b3ee5a78f34bf4c1352567a08c7758188a864736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008ae21a4f5b99f18de502fceb3174c74229ab326c00000000000000000000000071fd21a764ef295fb7bfbdf4d2ebffe862e76fbf000000000000000000000000c547e8dd3844fb5bc178120a121b365ea790774e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000006eb32c8db5ff2878acbcb6a1ec5e301f60884da4000000000000000000000000b0695ce12c56aae40894235e2d1888d0b62dd11000000000000000000000000029219dd400f2bf60e5a23d13be72b486d4038894000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38
-----Decoded View---------------
Arg [0] : _controller (address): 0x8Ae21A4f5b99f18De502FCeb3174C74229ab326C
Arg [1] : _timelock (address): 0x71FD21a764eF295fB7BFBdf4D2EBfFE862e76fBf
Arg [2] : _treasuryAddress (address): 0xc547E8dD3844fb5BC178120a121b365Ea790774E
Arg [3] : _pid (uint256): 1
Arg [4] : _wantAddress (address): 0x6eB32C8dB5Ff2878acbCB6a1Ec5e301F60884dA4
Arg [5] : _earnedAddress (address): 0xb0695ce12c56AAe40894235e2d1888D0b62Dd110
Arg [6] : _token0 (address): 0x29219dd400f2Bf60E5a23d13Be72B486D4038894
Arg [7] : _token1 (address): 0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000008ae21a4f5b99f18de502fceb3174c74229ab326c
Arg [1] : 00000000000000000000000071fd21a764ef295fb7bfbdf4d2ebffe862e76fbf
Arg [2] : 000000000000000000000000c547e8dd3844fb5bc178120a121b365ea790774e
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 0000000000000000000000006eb32c8db5ff2878acbcb6a1ec5e301f60884da4
Arg [5] : 000000000000000000000000b0695ce12c56aae40894235e2d1888d0b62dd110
Arg [6] : 00000000000000000000000029219dd400f2bf60e5a23d13be72b486d4038894
Arg [7] : 000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38
Deployed Bytecode Sourcemap
41793:13187:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42534:25;;;;;;;;;;;;190:42:1;178:55;;;160:74;;148:2;133:18;42534:25:0;;;;;;;;54257:720;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;53566:89::-;;;;;;:::i;:::-;;:::i;:::-;;42873:46;;42916:3;42873:46;;;;;3672:25:1;;;3660:2;3645:18;42873:46:0;3526:177:1;51328:395:0;;;;;;:::i;:::-;;:::i;46054:59::-;;;:::i;50623:191::-;;;;;;:::i;:::-;;:::i;50434:67::-;;;:::i;42693:43::-;;;;;;42743:39;;;;;;45471:575;;;;;;:::i;:::-;;:::i;46121:71::-;;;:::i;38230:86::-;38301:7;;;;38230:86;;6004:14:1;;5997:22;5979:41;;5967:2;5952:18;38230:86:0;5839:187:1;42413:80:0;;42450:42;42413:80;;46275:65;;;:::i;50822:184::-;;;;;;:::i;:::-;;:::i;50158:197::-;;;:::i;42789:30::-;;;;;;49604:300;;;;;;:::i;:::-;;:::i;51202:118::-;;;;;;:::i;:::-;;:::i;32683:103::-;;;:::i;51731:168::-;;;;;;:::i;:::-;;:::i;45052:169::-;;;:::i;42205:37::-;;;;;;;;;50363:63;;;:::i;42828:33::-;;;;;;32042:87;32088:7;32115:6;;;32042:87;;53708:274;;;;;;:::i;:::-;;:::i;41941:88::-;;;;;;;;;;;;42636:40;;;;;;44891:153;;;:::i;42598:31::-;;;;;;44697:186;;;:::i;53990:196::-;;;;;;:::i;:::-;;:::i;51014:180::-;;;;;;:::i;:::-;;:::i;42337:67::-;;;;;;:::i;:::-;;:::i;53449:109::-;;;:::i;42935:30::-;;;;;;;;;53071:370;;;;;;:::i;:::-;;:::i;50509:106::-;;;;;;:::i;:::-;;:::i;42566:23::-;;;;;;;;;49397:199;;;:::i;42249:37::-;;;;;;;;;49912:238;;;:::i;42293:37::-;;;;;;;;;42163:35;;;;;;;;;42036:85;;;;;;;;;42138:18;;;;;;32941:201;;;;;;:::i;:::-;;:::i;46765:955::-;;;;;;:::i;:::-;;:::i;46200:67::-;;;:::i;42502:25::-;;;;;;;;;54257:720;44407:8;;54391:12;;44407:22;:8;44419:10;44407:22;44399:67;;;;;;;7258:2:1;44399:67:0;;;7240:21:1;;;7277:18;;;7270:30;7336:34;7316:18;;;7309:62;7388:18;;44399:67:0;;;;;;;;;54416:21:::1;54460:9;54454:23;54481:1;54454:28;54450:179;;;-1:-1:-1::0;54510:4:0;54450:179:::1;;;54598:9;54582:27;;;;;;54612:4;54558:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;54547:70;;54450:179;54702:12;54716:23:::0;54743:6:::1;:11;;54763:5;54770:8;54743:36;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54701:78;;;;54798:7;54790:81;;;::::0;::::1;::::0;;8320:2:1;54790:81:0::1;::::0;::::1;8302:21:1::0;8359:2;8339:18;;;8332:30;8398:34;8378:18;;;8371:62;8469:31;8449:18;;;8442:59;8518:19;;54790:81:0::1;8118:425:1::0;54790:81:0::1;54908:6;54889:50;;;54916:5;54923:9;54934:4;54889:50;;;;;;;;:::i;:::-;;;;;;;;54959:10:::0;-1:-1:-1;;;44477:1:0::1;54257:720:::0;;;;;;:::o;53566:89::-;44114:10;;:24;:10;44128;44114:24;44106:65;;;;;;;9205:2:1;44106:65:0;;;9187:21:1;9244:2;9224:18;;;9217:30;9283;9263:18;;;9256:58;9331:18;;44106:65:0;9003:352:1;44106:65:0;53566:89;;;:::o;51328:395::-;31928:13;:11;:13::i;:::-;51534::::1;::::0;::::1;::::0;;::::1;51523:25;::::0;;;:10:::1;:25;::::0;;;;;;;51549:13:::1;::::0;;;::::1;51523:40:::0;;;;;;;;:62;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;51607:13:0::1;::::0;::::1;::::0;;::::1;51596:25;::::0;;;:10:::1;:25;::::0;;;;;;;51622:13:::1;::::0;;;::::1;51596:40:::0;;;;;;;;:62;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;51680:13:0::1;::::0;::::1;;51669:25;::::0;;;:10:::1;:25;::::0;;;;;;;42450:42:::1;51669:29:::0;;;;;;;:46;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;51328:395:::0;;;:::o;46054:59::-;31928:13;:11;:13::i;:::-;46098:7:::1;:5;:7::i;:::-;46054:59::o:0;50623:191::-;31928:13;:11;:13::i;:::-;42916:3:::1;50702:14;:34;;50694:71;;;::::0;::::1;::::0;;9562:2:1;50694:71:0::1;::::0;::::1;9544:21:1::0;9601:2;9581:18;;;9574:30;9640:26;9620:18;;;9613:54;9684:18;;50694:71:0::1;9360:348:1::0;50694:71:0::1;50776:13;:30:::0;50623:191::o;50434:67::-;31928:13;:11;:13::i;:::-;50483:10:::1;:8;:10::i;45471:575::-:0;44114:10;;45584:7;;44114:24;:10;44128;44114:24;44106:65;;;;;;;9205:2:1;44106:65:0;;;9187:21:1;9244:2;9224:18;;;9217:30;9283;9263:18;;;9256:58;9331:18;;44106:65:0;9003:352:1;44106:65:0;35751:21:::1;:19;:21::i;:::-;37835:19:::2;:17;:19::i;:::-;45604:16:::3;:14;:16::i;:::-;45640:11;::::0;45633:82:::3;::::0;45640:11:::3;;45678:10;45699:4;45706:8:::0;45633:36:::3;:82::i;:::-;45773:15;::::0;45750:8;;45773:19;;;;:38:::3;;;45810:1;45796:11;;:15;45773:38;45769:131;;;45842:46;45872:15;;45842:25;45855:11;;45842:8;:12;;:25;;;;:::i;:::-;:29:::0;::::3;:46::i;:::-;45828:60;;45769:131;45924:11;::::0;:28:::3;::::0;45940:11;45924:15:::3;:28::i;:::-;45910:11;:42:::0;45965:7:::3;:5;:7::i;:::-;45990:17;::::0;3672:25:1;;;45990:17:0::3;::::0;3660:2:1;3645:18;45990:17:0::3;;;;;;;46027:11:::0;-1:-1:-1;35795:20:0::1;35189:1:::0;36315:22;;36132:213;35795:20:::1;45471:575:::0;;;;:::o;46121:71::-;31928:13;:11;:13::i;:::-;46174:10:::1;:8;:10::i;46275:65::-:0;31928:13;:11;:13::i;:::-;46322:10:::1;:8;:10::i;50822:184::-:0;31928:13;:11;:13::i;:::-;50914:30:::1;::::0;::::1;50906:47;;;;;;;;;;;9915:2:1::0;9897:21;;;9954:1;9934:18;;;9927:29;9992:6;9987:2;9972:18;;9965:34;10031:2;10016:18;;9713:327;50906:47:0::1;50964:15;:34:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;50822:184::o;50158:197::-;50211:7;50231:16;50250;:14;:16::i;:::-;50231:35;-1:-1:-1;50285:13:0;;50284:63;;50319:13;;50306:41;;50319:13;;42450:42;50338:8;50306:12;:41::i;:::-;50284:63;;;50302:1;50284:63;50277:70;;;50158:197;:::o;49604:300::-;49767:16;;;49813:23;;;49712:7;49813:23;;;:10;:23;;;;;;;;:37;;;;;;;;;;;49759:92;;;;;49712:7;;;;49767:16;;49759:39;;:92;;49799:12;;49813:37;49759:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49732:119;;49869:7;49894:1;49877:7;:14;:18;;;;:::i;:::-;49869:27;;;;;;;;:::i;:::-;;;;;;;49862:34;;;49604:300;;;;;:::o;51202:118::-;31928:13;:11;:13::i;:::-;51282::::1;:30:::0;51202:118::o;32683:103::-;31928:13;:11;:13::i;:::-;32748:30:::1;32775:1;32748:18;:30::i;51731:168::-:0;31928:13;:11;:13::i;:::-;51846:23:::1;::::0;;::::1;;::::0;;;:10:::1;:23;::::0;;;;;;;:37;;::::1;::::0;;;;;;;;:45;;::::1;::::0;;::::1;::::0;::::1;:::i;45052:169::-:0;45116:7;45144:11;;45159:1;45144:16;45143:70;;45171:42;45201:11;;45171:25;45191:4;45171:15;;:19;;:25;;;;:::i;:42::-;45136:77;;45052:169;:::o;45143:70::-;-1:-1:-1;45164:4:0;;45052:169::o;50363:63::-;31928:13;:11;:13::i;:::-;50410:8:::1;:6;:8::i;53708:274::-:0;53780:25;;;53772:52;;;;;;;12506:2:1;53772:52:0;;;12488:21:1;12545:2;12525:18;;;12518:30;12584:16;12564:18;;;12557:44;12618:18;;53772:52:0;12304:338:1;53772:52:0;53843:10;;:24;:10;53857;53843:24;;:50;;-1:-1:-1;53871:8:0;;:22;:8;53883:10;53871:22;53843:50;53835:104;;;;;;;12849:2:1;53835:104:0;;;12831:21:1;12888:2;12868:18;;;12861:30;12927:34;12907:18;;;12900:62;12998:11;12978:18;;;12971:39;13027:19;;53835:104:0;12647:405:1;53835:104:0;53950:10;:24;;;;;;;;;;;;;;;53708:274::o;44891:153::-;44947:7;45021:15;:13;:15::i;:::-;44981:11;;44974:44;;;;;45012:4;44974:44;;;160:74:1;44981:11:0;;;;;44974:29;;133:18:1;;44974:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:62;;;;:::i;44697:186::-;44802:19;;44832:3;;;44792:59;;;;;;;;13553:25:1;44845:4:0;13594:18:1;;;13587:83;44752:7:0;;;;44802:19;;;;;;;44792:39;;13526:18:1;;44792:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;44772:79:0;44697:186;-1:-1:-1;;44697:186:0:o;53990:196::-;54058:8;;:22;:8;54070:10;54058:22;;:75;;-1:-1:-1;54085:8:0;;:22;:8;:22;:47;;;;-1:-1:-1;54122:10:0;54111:7;32088;32115:6;;;;32042:87;54111:7;:21;;;54085:47;54050:97;;;;;;;14133:2:1;54050:97:0;;;14115:21:1;14172:1;14152:18;;;14145:29;14210:11;14190:18;;;14183:39;14239:18;;54050:97:0;13931:332:1;54050:97:0;54158:8;:20;;;;;;;;;;;;;;;53990:196::o;51014:180::-;31928:13;:11;:13::i;:::-;51105:28:::1;::::0;::::1;51097:45;;;;;;;;;;;9915:2:1::0;9897:21;;;9954:1;9934:18;;;9927:29;9992:6;9987:2;9972:18;;9965:34;10031:2;10016:18;;9713:327;51097:45:0::1;51153:16;:33:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;51014:180::o;42337:67::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42337:67:0;;-1:-1:-1;;42337:67:0:o;53449:109::-;31928:13;:11;:13::i;:::-;38301:7;;;;53502:48:::1;;;53516:10;:8;:10::i;53071:370::-:0;31928:13;:11;:13::i;:::-;53191::::1;::::0;::::1;53181:23:::0;;::::1;53191:13:::0;::::1;53181:23;;53173:41;;;::::0;::::1;::::0;;14470:2:1;53173:41:0::1;::::0;::::1;14452:21:1::0;14509:1;14489:18;;;14482:29;14547:7;14527:18;;;14520:35;14572:18;;53173:41:0::1;14268:328:1::0;53173:41:0::1;53243:11;::::0;::::1;53233:21:::0;;::::1;53243:11:::0;::::1;53233:21;;53225:39;;;::::0;::::1;::::0;;14470:2:1;53225:39:0::1;::::0;::::1;14452:21:1::0;14509:1;14489:18;;;14482:29;14547:7;14527:18;;;14520:35;14572:18;;53225:39:0::1;14268:328:1::0;53225:39:0::1;53297:10;::::0;::::1;::::0;;::::1;::::0;53318:49:::1;::::0;:27;::::1;53297:10:::0;53359:7;53318:27:::1;:49::i;:::-;53383:50;::::0;;14813:42:1;14882:15;;;14864:34;;14929:2;14914:18;;14907:34;;;14977:15;;14957:18;;;14950:43;;;;53383:50:0::1;::::0;14791:2:1;14776:18;53383:50:0::1;;;;;;;;53162:279;53071:370:::0;;:::o;50509:106::-;31928:13;:11;:13::i;:::-;50583:10:::1;:24:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;50509:106::o;49397:199::-;37835:19;:17;:19::i;:::-;44244:10:::1;::::0;:24:::1;:10;44258;44244:24;::::0;:49:::1;;-1:-1:-1::0;44283:10:0::1;44272:7;32088::::0;32115:6;;;;32042:87;44272:7:::1;:21;;;44244:49;44236:100;;;::::0;::::1;::::0;;15206:2:1;44236:100:0::1;::::0;::::1;15188:21:1::0;15245:2;15225:18;;;15218:30;15284:34;15264:18;;;15257:62;15355:8;15335:18;;;15328:36;15381:19;;44236:100:0::1;15004:402:1::0;44236:100:0::1;49468:10:::2;:8;:10::i;:::-;49491;:8;:10::i;:::-;49514:11;:9;:11::i;:::-;49538:7;:5;:7::i;:::-;49573:15;49558:12;:30:::0;49397:199::o;49912:238::-;50007:13;;50000:46;;;;;50040:4;50000:46;;;160:74:1;49959:7:0;;;;50007:13;;;;;50000:31;;133:18:1;;50000:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50074:19;;50107:3;;;50064:62;;;;;;;;13553:25:1;50120:4:0;13594:18:1;;;13587:83;49979:67:0;;-1:-1:-1;50064:78:0;;49979:67;;50074:19;;;;;;50064:42;;13526:18:1;;50064:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:66;;:78::i;32941:201::-;31928:13;:11;:13::i;:::-;33030:22:::1;::::0;::::1;33022:73;;;::::0;::::1;::::0;;15613:2:1;33022:73:0::1;::::0;::::1;15595:21:1::0;15652:2;15632:18;;;15625:30;15691:34;15671:18;;;15664:62;15762:8;15742:18;;;15735:36;15788:19;;33022:73:0::1;15411:402:1::0;33022:73:0::1;33106:28;33125:8;33106:18;:28::i;:::-;32941:201:::0;:::o;46765:955::-;44114:10;;46865:7;;44114:24;:10;44128;44114:24;44106:65;;;;;;;9205:2:1;44106:65:0;;;9187:21:1;9244:2;9224:18;;;9217:30;9283;9263:18;;;9256:58;9331:18;;44106:65:0;9003:352:1;44106:65:0;35751:21:::1;:19;:21::i;:::-;46904:1:::2;46893:8;:12;46885:44;;;::::0;::::2;::::0;;16020:2:1;46885:44:0::2;::::0;::::2;16002:21:1::0;16059:2;16039:18;;;16032:30;16098:21;16078:18;;;16071:49;16137:18;;46885:44:0::2;15818:343:1::0;46885:44:0::2;46952:19;::::0;46982:3:::2;::::0;;46942:54:::2;::::0;;;;;;::::2;16340:25:1::0;16381:18;;;16374:34;;;46952:19:0::2;::::0;;::::2;;;::::0;46942:39:::2;::::0;16313:18:1;;46942:54:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;47034:11:0::2;::::0;47027:44:::2;::::0;;;;47065:4:::2;47027:44;::::0;::::2;160:74:1::0;47009:15:0::2;::::0;-1:-1:-1;47034:11:0::2;::::0;;::::2;::::0;-1:-1:-1;47027:29:0::2;::::0;133:18:1;;47027:44:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47009:62;;47097:7;47086:8;:18;47082:69;;;47132:7;47121:18;;47082:69;47185:8;47167:15;;:26;47163:85;;;47221:15;;47210:26;;47163:85;47260:21;47284:46;47314:15;;47284:25;47297:11;;47284:8;:12;;:25;;;;:::i;:46::-;47260:70;;47361:11;;47345:13;:27;47341:87;;;-1:-1:-1::0;47405:11:0::2;::::0;47341:87:::2;47452:11;::::0;:30:::2;::::0;47468:13;47452:15:::2;:30::i;:::-;47438:11;:44:::0;47511:15:::2;::::0;:29:::2;::::0;47531:8;47511:19:::2;:29::i;:::-;47493:15;:47:::0;47560:11:::2;::::0;47553:63:::2;::::0;47560:11:::2;;47594:10;47607:8:::0;47553:32:::2;:63::i;:::-;47634:18;::::0;3672:25:1;;;47634:18:0::2;::::0;3660:2:1;3645:18;47634::0::2;;;;;;;47663:16;:14;:16::i;:::-;47699:13:::0;-1:-1:-1;;35795:20:0::1;35189:1:::0;36315:22;;36132:213;46200:67;31928:13;:11;:13::i;:::-;46248:11:::1;:9;:11::i;32207:132::-:0;32088:7;32115:6;32271:23;32115:6;30652:10;32271:23;32263:68;;;;;;;16621:2:1;32263:68:0;;;16603:21:1;;;16640:18;;;16633:30;16699:34;16679:18;;;16672:62;16751:18;;32263:68:0;16419:356:1;46348:409:0;46407:11;;46448:30;;;;;46472:4;46448:30;;;160:74:1;46407:11:0;;;;;46385:12;;46407:11;;46448:15;;133:18:1;;46448:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46507:15;;46430:48;;-1:-1:-1;46507:28:0;;46430:48;46507:19;:28::i;:::-;46489:15;:46;46550:11;;46546:204;;46596:11;;46609:19;;46578:60;;46596:11;;;;;;46609:19;;;46630:7;46578:17;:60::i;:::-;46663:19;;46692:3;;;46653:52;;;;;;;;16340:25:1;16381:18;;;16374:34;;;46663:19:0;;;;;;;46653:38;;16313:18:1;;46653:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46725:13;46730:7;46725:13;;;;3672:25:1;;3660:2;3645:18;;3526:177;46725:13:0;;;;;;;;46546:204;46374:383;;46348: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;190:42:1;178:55;;;160:74;;148:2;133:18;39175:22:0::1;;;;;;;39085:120::o:0;35831:293::-;35233:1;35965:7;;:19;;35957:63;;;;;;;16982:2:1;35957:63:0;;;16964:21:1;17021:2;17001:18;;;16994:30;17060:33;17040:18;;;17033:61;17111:18;;35957:63:0;16780:355:1;35957:63:0;35233:1;36098:7;:18;35831:293::o;38389:108::-;38301:7;;;;38459:9;38451:38;;;;;;;17342:2:1;38451:38:0;;;17324:21:1;17381:2;17361:18;;;17354:30;17420:18;17400;;;17393:46;17456:18;;38451:38:0;17140:340:1;44494:195:0;44540:29;44572:22;:20;:22::i;:::-;44540:54;;44634:13;;44609:21;:38;44605:77;;44664:6;:4;:6::i;17420:205::-;17548:68;;17697:42:1;17766:15;;;17548:68:0;;;17748:34:1;17818:15;;17798:18;;;17791:43;17850:18;;;17843:34;;;17521:96:0;;17541:5;;17571:27;;17660: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;47726:126::-;47808:19;;47837:3;;;47798:46;;;;;;;;16340:25:1;47842:1:0;16381:18:1;;;16374:34;47808:19:0;;;;;;;47798:38;;16313:18:1;;47798:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47860:381;47930:13;;47923:46;;;;;47963:4;47923:46;;;160:74:1;47900:20:0;;47930:13;;;47923:31;;133:18:1;;47923:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47900:69;;48000:1;47984:12;:17;47980:56;;48018:7;47860:381::o;47980:56::-;48058:13;;48051:35;;;48058:13;;;;18835:74:1;;18940:2;18925:18;;18918:34;;;48051:35:0;;18808:18:1;48051:35:0;;;;;;;48159:13;;48191;;48145:88;;48159:13;;;48174:41;;48210:4;;48174:31;;:12;;:16;:31::i;:41::-;48217:15;;;;48145:13;:88::i;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;;18865:42:1;18853:55;;17108:58:0;;;18835:74:1;18925:18;;;18918:34;;;17081:86:0;;17101:5;;17131:23;;18808:18:1;;17108:58:0;18661:297:1;48249:1030:0;48371:13;;48364:46;;;;;48404:4;48364:46;;;160:74:1;48341:20:0;;48371:13;;;48364:31;;133:18:1;;48364:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48501:13;;48341:69;;-1:-1:-1;48472:62:0;;48488:45;;48501:13;;42450:42;48341:69;48488:12;:45::i;:::-;48472:11;;;:15;:62::i;:::-;48458:11;:76;48568:13;;48551;;48568;48551;;;48568;;48551:30;48547:146;;48616:13;;48631;;48598:83;;48616:13;;;;;48631;48646:19;:12;48663:1;48646:16;:19::i;:::-;48675:4;48598:17;:83::i;:::-;48726:13;;48709;;48726;48709;;;48726;;48709:30;48705:146;;48774:13;;48789;;48756:83;;48774:13;;;;;48789;48804:19;:12;48821:1;48804:16;:19::i;48756:83::-;48937:13;;48930:46;;;;;48970:4;48930:46;;;160:74:1;48910:17:0;;48937:13;;;48930:31;;133:18:1;;48930:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49014:13;;49007:46;;;;;49047:4;49007:46;;;160:74:1;48910:66:0;;-1:-1:-1;48987:17:0;;49014:13;;;;;49007:31;;133:18:1;;49007:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48987:66;;49080:1;49068:9;:13;:30;;;;;49097:1;49085:9;:13;49068:30;49064:208;;;49129:13;;49144;;49115:65;;49129:13;;;;;49144;49159:9;49170;49115:13;:65::i;:::-;49209:13;;49235;;49200:60;;;49209:13;;;;19255:34:1;;19320:2;19305:18;;19298:34;;;49235:13:0;;;;19348:18:1;;;19341:43;19415:2;19400:18;;19393:34;;;49200:60:0;;19181:3:1;19166:19;49200:60:0;18963:470:1;26279:98:0;26337:7;26364:5;26368:1;26364;:5;:::i;45229:194::-;45359:56;:35;;;45395:7;45404:10;45359:35;:56::i;38574:108::-;38301:7;;;;38633:41;;;;;;;19640:2:1;38633:41:0;;;19622:21:1;19679:2;19659:18;;;19652:30;19718:22;19698:18;;;19691:50;19758:18;;38633:41:0;19438: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;;;;;;;20271:2:1;21874:111:0;;;20253:21:1;20310:2;20290:18;;;20283:30;20349:34;20329:18;;;20322:62;20420:12;20400:18;;;20393:40;20450:19;;21874:111:0;20069:406:1;51909:335:0;52033:16;;52002:57;;52020:11;;52033:16;;52051:7;52002:17;:57::i;:::-;52074:17;;;42450:42;52074:17;52070:167;;52116:16;;;52166:23;;;52116:16;52166:23;;;:10;:23;;;;;;;;42450:42;52166:27;;;;;;;52116:16;;;;;52108:45;;52154:7;;52116:16;52195:2;52199:25;:15;52219:4;52199:19;:25::i;:::-;52108:117;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;52252:386::-;52402:16;;52371:57;;52389:11;;52402:16;;52420:7;52371:17;:57::i;:::-;52458:12;52443:27;;:11;:27;;;52439:192;;52495:16;;;52550:23;;;52495:16;52550:23;;;:10;:23;;;;;;;;:37;;;;;;;;;;52495:16;;;;;52487:50;;52538:7;;52495:16;52589:2;52593:25;:15;52613:4;52593:19;:25::i;:::-;52487:132;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52252:386;;;;:::o;52646:417::-;52800:16;;52773:61;;52791:7;;52800:16;;52818:15;52773:17;:61::i;:::-;52872:16;;52845:61;;52863:7;;52872:16;;52890:15;52845:17;:61::i;:::-;52925:16;;;;52917:38;52956:7;52965;52974:15;52991;52925:16;;53022:4;53029:25;:15;53049:4;53029:19;:25::i;:::-;52917:138;;;;;;;;;;21464:42:1;21533:15;;;52917:138:0;;;21515:34:1;21585:15;;;21565:18;;;21558:43;21617:18;;;21610:34;;;;21660:18;;;21653:34;;;;21703:19;;;21696:35;;;;21747:19;;;21740:35;21812:15;;;21791:19;;;21784:44;21844:19;;;21837:35;;;;21426:19;;52917:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;52646:417;;;;:::o;18673:283::-;18793:39;;;;;18817:4;18793:39;;;22429:34:1;18793:15:0;22499::1;;;22479:18;;;22472:43;18770:20:0;;18793:15;;;;;;22341: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;;18865:42:1;18853:55;;;18870:77:0;;;18835:74:1;18925:18;;;18918:34;18808:18;;18870:77:0;18661:297: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;;;;;;;23135:2:1;14906:60:0;;;23117:21:1;23174:2;23154:18;;;23147:30;23213:31;23193:18;;;23186:59;23262:18;;14906:60:0;22933: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:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;245:196:1;313:20;;373:42;362:54;;352:65;;342:93;;431:1;428;421:12;342:93;245:196;;;:::o;446:184::-;498:77;495:1;488:88;595:4;592:1;585:15;619:4;616:1;609:15;635:334;706:2;700:9;762:2;752:13;;767:66;748:86;736:99;;865:18;850:34;;886:22;;;847:62;844:88;;;912:18;;:::i;:::-;948:2;941:22;635:334;;-1:-1:-1;635:334:1:o;974:466::-;1039:5;1073:18;1065:6;1062:30;1059:56;;;1095:18;;:::i;:::-;1133:116;1243:4;1174:66;1169:2;1161:6;1157:15;1153:88;1149:99;1133:116;:::i;:::-;1124:125;;1272:6;1265:5;1258:21;1312:3;1303:6;1298:3;1294:16;1291:25;1288:45;;;1329:1;1326;1319:12;1288:45;1378:6;1373:3;1366:4;1359:5;1355:16;1342:43;1432:1;1425:4;1416:6;1409:5;1405:18;1401:29;1394:40;974:466;;;;;:::o;1445:943::-;1550:6;1558;1566;1574;1627:3;1615:9;1606:7;1602:23;1598:33;1595:53;;;1644:1;1641;1634:12;1595:53;1667:29;1686:9;1667:29;:::i;:::-;1657:39;;1743:2;1732:9;1728:18;1715:32;1705:42;;1798:2;1787:9;1783:18;1770:32;1821:18;1862:2;1854:6;1851:14;1848:34;;;1878:1;1875;1868:12;1848:34;1916:6;1905:9;1901:22;1891:32;;1961:7;1954:4;1950:2;1946:13;1942:27;1932:55;;1983:1;1980;1973:12;1932:55;2006:74;2072:7;2067:2;2054:16;2049:2;2045;2041:11;2006:74;:::i;:::-;1996:84;;2133:2;2122:9;2118:18;2105:32;2089:48;;2162:2;2152:8;2149:16;2146:36;;;2178:1;2175;2168:12;2146:36;-1:-1:-1;2201:24:1;;2256:4;2248:13;;2244:27;-1:-1:-1;2234:55:1;;2285:1;2282;2275:12;2234:55;2308:74;2374:7;2369:2;2356:16;2351:2;2347;2343:11;2308:74;:::i;:::-;2298:84;;;1445:943;;;;;;;:::o;2393:258::-;2465:1;2475:113;2489:6;2486:1;2483:13;2475:113;;;2565:11;;;2559:18;2546:11;;;2539:39;2511:2;2504:10;2475:113;;;2606:6;2603:1;2600:13;2597:48;;;-1:-1:-1;;2641:1:1;2623:16;;2616:27;2393:258::o;2656:316::-;2697:3;2735:5;2729:12;2762:6;2757:3;2750:19;2778:63;2834:6;2827:4;2822:3;2818:14;2811:4;2804:5;2800:16;2778:63;:::i;:::-;2886:2;2874:15;2891:66;2870:88;2861:98;;;;2961:4;2857:109;;2656:316;-1:-1:-1;;2656:316:1:o;2977:217::-;3124:2;3113:9;3106:21;3087:4;3144:44;3184:2;3173:9;3169:18;3161:6;3144:44;:::i;3199:322::-;3276:6;3284;3292;3345:2;3333:9;3324:7;3320:23;3316:32;3313:52;;;3361:1;3358;3351:12;3313:52;3384:29;3403:9;3384:29;:::i;:::-;3374:39;3460:2;3445:18;;3432:32;;-1:-1:-1;3511:2:1;3496:18;;;3483:32;;3199:322;-1:-1:-1;;;3199:322:1:o;3708:183::-;3768:4;3801:18;3793:6;3790:30;3787:56;;;3823:18;;:::i;:::-;-1:-1:-1;3868:1:1;3864:14;3880:4;3860:25;;3708:183::o;3896:668::-;3950:5;4003:3;3996:4;3988:6;3984:17;3980:27;3970:55;;4021:1;4018;4011:12;3970:55;4057:6;4044:20;4083:4;4107:60;4123:43;4163:2;4123:43;:::i;:::-;4107:60;:::i;:::-;4201:15;;;4287:1;4283:10;;;;4271:23;;4267:32;;;4232:12;;;;4311:15;;;4308:35;;;4339:1;4336;4329:12;4308:35;4375:2;4367:6;4363:15;4387:148;4403:6;4398:3;4395:15;4387:148;;;4469:23;4488:3;4469:23;:::i;:::-;4457:36;;4513:12;;;;4420;;4387:148;;;-1:-1:-1;4553:5:1;3896:668;-1:-1:-1;;;;;;3896:668:1:o;4569:821::-;4721:6;4729;4737;4790:2;4778:9;4769:7;4765:23;4761:32;4758:52;;;4806:1;4803;4796:12;4758:52;4846:9;4833:23;4875:18;4916:2;4908:6;4905:14;4902:34;;;4932:1;4929;4922:12;4902:34;4955:61;5008:7;4999:6;4988:9;4984:22;4955:61;:::i;:::-;4945:71;;5069:2;5058:9;5054:18;5041:32;5025:48;;5098:2;5088:8;5085:16;5082:36;;;5114:1;5111;5104:12;5082:36;5137:63;5192:7;5181:8;5170:9;5166:24;5137:63;:::i;:::-;5127:73;;5253:2;5242:9;5238:18;5225:32;5209:48;;5282:2;5272:8;5269:16;5266:36;;;5298:1;5295;5288:12;5266:36;;5321:63;5376:7;5365:8;5354:9;5350:24;5321:63;:::i;:::-;5311:73;;;4569:821;;;;;:::o;5395:180::-;5454:6;5507:2;5495:9;5486:7;5482:23;5478:32;5475:52;;;5523:1;5520;5513:12;5475:52;-1:-1:-1;5546:23:1;;5395:180;-1:-1:-1;5395:180:1:o;5580:254::-;5648:6;5656;5709:2;5697:9;5688:7;5684:23;5680:32;5677:52;;;5725:1;5722;5715:12;5677:52;5748:29;5767:9;5748:29;:::i;:::-;5738:39;5824:2;5809:18;;;;5796:32;;-1:-1:-1;;;5580:254:1:o;6031:186::-;6090:6;6143:2;6131:9;6122:7;6118:23;6114:32;6111:52;;;6159:1;6156;6149:12;6111:52;6182:29;6201:9;6182:29;:::i;6222:328::-;6299:6;6307;6315;6368:2;6356:9;6347:7;6343:23;6339:32;6336:52;;;6384:1;6381;6374:12;6336:52;6407:29;6426:9;6407:29;:::i;:::-;6397:39;;6455:38;6489:2;6478:9;6474:18;6455:38;:::i;:::-;6445:48;;6540:2;6529:9;6525:18;6512:32;6502:42;;6222:328;;;;;:::o;6555:496::-;6657:6;6665;6673;6726:2;6714:9;6705:7;6701:23;6697:32;6694:52;;;6742:1;6739;6732:12;6694:52;6765:29;6784:9;6765:29;:::i;:::-;6755:39;;6813:38;6847:2;6836:9;6832:18;6813:38;:::i;:::-;6803:48;;6902:2;6891:9;6887:18;6874:32;6929:18;6921:6;6918:30;6915:50;;;6961:1;6958;6951:12;6915:50;6984:61;7037:7;7028:6;7017:9;7013:22;6984:61;:::i;7417:417::-;7614:66;7606:6;7602:79;7597:3;7590:92;7572:3;7711:6;7705:13;7727:61;7781:6;7777:1;7772:3;7768:11;7761:4;7753:6;7749:17;7727:61;:::i;:::-;7808:16;;;;7826:1;7804:24;;7417:417;-1:-1:-1;;;7417:417:1:o;7839:274::-;7968:3;8006:6;8000:13;8022:53;8068:6;8063:3;8056:4;8048:6;8044:17;8022:53;:::i;:::-;8091:16;;;;;7839:274;-1:-1:-1;;7839:274:1:o;8548:450::-;8771:6;8760:9;8753:25;8814:2;8809;8798:9;8794:18;8787:30;8734:4;8840:44;8880:2;8869:9;8865:18;8857:6;8840:44;:::i;:::-;8932:9;8924:6;8920:22;8915:2;8904:9;8900:18;8893:50;8960:32;8985:6;8977;8960:32;:::i;:::-;8952:40;8548:450;-1:-1:-1;;;;;;8548:450:1:o;10045:518::-;10106:3;10144:5;10138:12;10171:6;10166:3;10159:19;10197:4;10226:2;10221:3;10217:12;10210:19;;10248:5;10245:1;10238:16;10290:2;10287:1;10277:16;10311:1;10321:217;10335:6;10332:1;10329:13;10321:217;;;10400:13;;10415:42;10396:62;10384:75;;10479:12;;;;10526:1;10514:14;;;;10350:9;10321:217;;;-1:-1:-1;10554:3:1;;10045:518;-1:-1:-1;;;;;10045:518:1:o;10568:337::-;10772:6;10761:9;10754:25;10815:2;10810;10799:9;10795:18;10788:30;10735:4;10835:64;10895:2;10884:9;10880:18;10872:6;10835:64;:::i;10910:881::-;11005:6;11036:2;11079;11067:9;11058:7;11054:23;11050:32;11047:52;;;11095:1;11092;11085:12;11047:52;11128:9;11122:16;11161:18;11153:6;11150:30;11147:50;;;11193:1;11190;11183:12;11147:50;11216:22;;11269:4;11261:13;;11257:27;-1:-1:-1;11247:55:1;;11298:1;11295;11288:12;11247:55;11327:2;11321:9;11350:60;11366:43;11406:2;11366:43;:::i;11350:60::-;11444:15;;;11526:1;11522:10;;;;11514:19;;11510:28;;;11475:12;;;;11550:19;;;11547:39;;;11582:1;11579;11572:12;11547:39;11606:11;;;;11626:135;11642:6;11637:3;11634:15;11626:135;;;11708:10;;11696:23;;11659:12;;;;11739;;;;11626:135;;11796:184;11848:77;11845:1;11838:88;11945:4;11942:1;11935:15;11969:4;11966:1;11959:15;11985:125;12025:4;12053:1;12050;12047:8;12044:34;;;12058:18;;:::i;:::-;-1:-1:-1;12095:9:1;;11985:125::o;12115:184::-;12167:77;12164:1;12157:88;12264:4;12261:1;12254:15;12288:4;12285:1;12278:15;13057:184;13127:6;13180:2;13168:9;13159:7;13155:23;13151:32;13148:52;;;13196:1;13193;13186:12;13148:52;-1:-1:-1;13219:16:1;;13057:184;-1:-1:-1;13057:184:1:o;13246:128::-;13286:3;13317:1;13313:6;13310:1;13307:13;13304:39;;;13323:18;;:::i;:::-;-1:-1:-1;13359:9:1;;13246:128::o;13681:245::-;13760:6;13768;13821:2;13809:9;13800:7;13796:23;13792:32;13789:52;;;13837:1;13834;13827:12;13789:52;-1:-1:-1;;13860:16:1;;13916:2;13901:18;;;13895:25;13860:16;;13895:25;;-1:-1:-1;13681:245:1:o;17888:228::-;17928:7;18054:1;17986:66;17982:74;17979:1;17976:81;17971:1;17964:9;17957:17;17953:105;17950:131;;;18061:18;;:::i;:::-;-1:-1:-1;18101:9:1;;17888:228::o;18121:274::-;18161:1;18187;18177:189;;18222:77;18219:1;18212:88;18323:4;18320:1;18313:15;18351:4;18348:1;18341:15;18177:189;-1:-1:-1;18380:9:1;;18121:274::o;19787:277::-;19854:6;19907:2;19895:9;19886:7;19882:23;19878:32;19875:52;;;19923:1;19920;19913:12;19875:52;19955:9;19949:16;20008:5;20001:13;19994:21;19987:5;19984:32;19974:60;;20030:1;20027;20020:12;20480:610;20776:6;20765:9;20758:25;20819:6;20814:2;20803:9;20799:18;20792:34;20862:3;20857:2;20846:9;20842:18;20835:31;20739:4;20883:65;20943:3;20932:9;20928:19;20920:6;20883:65;:::i;:::-;20996:42;20984:55;;;;20979:2;20964:18;;20957:83;-1:-1:-1;21071:3:1;21056:19;21049:35;20875:73;20480:610;-1:-1:-1;;;20480:610:1:o;21883:306::-;21971:6;21979;21987;22040:2;22028:9;22019:7;22015:23;22011:32;22008:52;;;22056:1;22053;22046:12;22008:52;22085:9;22079:16;22069:26;;22135:2;22124:9;22120:18;22114:25;22104:35;;22179:2;22168:9;22164:18;22158:25;22148:35;;21883:306;;;;;:::o
Swarm Source
ipfs://bd2a76953c3fc5d52408d3ae3a035b3ee5a78f34bf4c1352567a08c7758188a8
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 31 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.