More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Main Paths | 10031323 | 32 hrs ago | IN | 0 S | 0.01064514 |
Loading...
Loading
Contract Name:
NavigatorStrategyDeFive
Compiler Version
v0.8.12+commit.f00d7308
Contract Source Code (Solidity)
/** *Submitted for verification at SonicScan.org on 2025-02-25 */ // SPDX-License-Identifier: MIT pragma solidity 0.8.12; // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); } // OpenZeppelin Contracts (last updated v4.9.4) (token/ERC20/extensions/IERC20Permit.sol) /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. * * ==== Security Considerations * * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be * considered as an intention to spend the allowance in any specific way. The second is that because permits have * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be * generally recommended is: * * ```solidity * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public { * try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {} * doThing(..., value); * } * * function doThing(..., uint256 value) public { * token.safeTransferFrom(msg.sender, address(this), value); * ... * } * ``` * * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also * {SafeERC20-safeTransferFrom}). * * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so * contracts should have entry points that don't rely on permit. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. * * CAUTION: See Security Considerations above. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); } // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * Furthermore, `isContract` will also return true if the target contract within * the same transaction is already scheduled for destruction by `SELFDESTRUCT`, * which only has an effect at the end of a transaction. * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResultFromTarget(target, success, returndata, errorMessage); } /** * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract. * * _Available since v4.8._ */ function verifyCallResultFromTarget( address target, bool success, bytes memory returndata, string memory errorMessage ) internal view returns (bytes memory) { if (success) { if (returndata.length == 0) { // only check isContract if the call was successful and the return data is empty // otherwise we already know that it was a contract require(isContract(target), "Address: call to non-contract"); } return returndata; } else { _revert(returndata, errorMessage); } } /** * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason or using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { _revert(returndata, errorMessage); } } function _revert(bytes memory returndata, string memory errorMessage) private pure { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } // OpenZeppelin Contracts (last updated v4.9.3) (token/ERC20/utils/SafeERC20.sol) /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; /** * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } /** * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful. */ function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } /** * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 oldAllowance = token.allowance(address(this), spender); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value)); } /** * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. */ function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value)); } } /** * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value, * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval * to be set to zero before setting it to a non-zero value, such as USDT. */ function forceApprove(IERC20 token, address spender, uint256 value) internal { bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value); if (!_callOptionalReturnBool(token, approvalCall)) { _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0)); _callOptionalReturn(token, approvalCall); } } /** * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`. * Revert on invalid signature. */ function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). * * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead. */ function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false // and not revert is the subcall reverts. (bool success, bytes memory returndata) = address(token).call(data); return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token)); } } // OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol) // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } } // OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol) /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } } // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol) /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { _nonReentrantBefore(); _; _nonReentrantAfter(); } function _nonReentrantBefore() private { // On the first call to nonReentrant, _status will be _NOT_ENTERED require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; } function _nonReentrantAfter() private { // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } /** * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a * `nonReentrant` function in the call stack. */ function _reentrancyGuardEntered() internal view returns (bool) { return _status == _ENTERED; } } // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { _requireNotPaused(); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { _requirePaused(); _; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Throws if the contract is paused. */ function _requireNotPaused() internal view virtual { require(!paused(), "Pausable: paused"); } /** * @dev Throws if the contract is not paused. */ function _requirePaused() internal view virtual { require(paused(), "Pausable: not paused"); } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } } interface IStrategy { // Total want tokens managed by strategy function wantLockedTotal() external view returns (uint256); // Sum of all shares of users to wantLockedTotal function sharesTotal() external view returns (uint256); function wantAddress() external view returns (address); function token0Address() external view returns (address); function token1Address() external view returns (address); function earnedAddress() external view returns (address); function getPricePerFullShare() external view returns (uint256); // Main want token compounding function function earn() external; // Transfer want tokens autoFarm -> strategy function deposit(address _userAddress, uint256 _wantAmt) external returns (uint256); // Transfer want tokens strategy -> autoFarm function withdraw(address _userAddress, uint256 _wantAmt) external returns (uint256); function migrateFrom(address _oldStrategy, uint256 _oldWantLockedTotal, uint256 _oldSharesTotal) external; function inCaseTokensGetStuck(address _token, uint256 _amount) external; function inFarmBalance() external view returns (uint256); function totalBalance() external view returns (uint256); } interface IOracle { function update() external; function consult(address _token, uint256 _amountIn) external view returns (uint256 amountOut); function twap(address _token, uint256 _amountIn) external view returns (uint256 _amountOut); } interface IFarmChef { function deposit(uint256 _pid, uint256 _amount) external; function withdraw(uint256 _pid, uint256 _amount) external; function 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 NavigatorStrategyDeFive is IStrategy, Ownable, ReentrancyGuard, Pausable { using SafeMath for uint256; using SafeERC20 for IERC20; address public farmContractAddress; uint256 public pid; address public override wantAddress; address public override token0Address; address public override token1Address; address public override earnedAddress; address public dexRouterAddress; // 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 = 1000; // 10 = 1% uint256 public constant controllerFeeUL = 20; 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, address _farmContractAddress, address _dexRouterAddress, 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 farmContractAddress = _farmContractAddress; dexRouterAddress = _dexRouterAddress; 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 isAuthorised(address _account) public view returns (bool) { return (_account == owner()) || (msg.sender == strategist) || (msg.sender == timelock); } function autoEarn() public { uint256 _pendingHarvestSValue = pendingHarvestSValue(); require(_pendingHarvestSValue >= autoEarnLimit, "too small"); earn(); } function inFarmBalance() public override view returns (uint256) { (uint256 amount,) = IFarmChef(farmContractAddress).userInfo(pid, address(this)); return amount; } function totalBalance() external override view returns (uint256) { return IERC20(wantAddress).balanceOf(address(this)) + inFarmBalance(); } function getPricePerFullShare() external override view returns (uint256) { return (sharesTotal == 0) ? 1e18 : wantLockedTotal.mul(1e18).div(sharesTotal); } function increaseAllowance(address token, address spender, uint256 addedValue) internal { // increase allowance IERC20(token).safeIncreaseAllowance(spender, addedValue); } // Receives new deposits from user function deposit(address, uint256 _wantAmt) external override onlyController nonReentrant whenNotPaused returns (uint256) { IERC20(wantAddress).safeTransferFrom(address(msg.sender), address(this), _wantAmt); uint256 sharesAdded = _wantAmt; if (wantLockedTotal > 0 && sharesTotal > 0) { sharesAdded = _wantAmt.mul(sharesTotal).div(wantLockedTotal); } sharesTotal = sharesTotal.add(sharesAdded); _farm(); emit Deposit(_wantAmt); return sharesAdded; } function farm() public onlyOwner { _farm(); } function harvestReward() public onlyOwner { _harvest(); } function compound() public onlyOwner { _compound(); } function payFees() public onlyOwner { _payFees(); } function _farm() internal { IERC20 _want = IERC20(wantAddress); uint256 wantAmt = _want.balanceOf(address(this)); wantLockedTotal = wantLockedTotal.add(wantAmt); if (wantAmt > 0) { increaseAllowance(wantAddress, farmContractAddress, wantAmt); IFarmChef(farmContractAddress).deposit(pid, wantAmt); emit Farm(wantAmt); } } function withdraw(address, uint256 _wantAmt) external override onlyController nonReentrant returns (uint256) { require(_wantAmt > 0, "Strategy: !_wantAmt"); IFarmChef(farmContractAddress).withdraw(pid, _wantAmt); uint256 wantAmt = IERC20(wantAddress).balanceOf(address(this)); if (_wantAmt > wantAmt) { _wantAmt = wantAmt; } if (wantLockedTotal < _wantAmt) { _wantAmt = wantLockedTotal; } uint256 sharesRemoved = _wantAmt.mul(sharesTotal).div(wantLockedTotal); if (sharesRemoved > sharesTotal) { sharesRemoved = sharesTotal; } sharesTotal = sharesTotal.sub(sharesRemoved); wantLockedTotal = wantLockedTotal.sub(_wantAmt); IERC20(wantAddress).safeTransfer(address(msg.sender), _wantAmt); emit Withdraw(_wantAmt); return sharesRemoved; } function _harvest() internal { // 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 nonReentrant whenNotPaused { _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 <= controllerFeeUL, "Strategy: 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":"address","name":"_farmContractAddress","type":"address"},{"internalType":"address","name":"_dexRouterAddress","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":"autoEarn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoEarnLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"compound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controllerFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controllerFeeMax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controllerFeeUL","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":[{"internalType":"address","name":"_account","type":"address"}],"name":"isAuthorised","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastEarnTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"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
60806040526000600d55678ac7230489e80000600e556000600f556000601055600060115560326012553480156200003657600080fd5b5060405162002e2b38038062002e2b833981016040819052620000599162000197565b62000064336200012a565b6001805560028054600a80546001600160a01b039d8e166001600160a01b031991821617909155600b8054821633179055600c80549c8e169c82169c909c17909b55601380549a8d169a8c169a909a17909955968a16610100026001600160a81b03199098169790971790955560088054948916948816949094179093556004805491881691871691909117905560058054938716938616939093179092556006805493861693851693909317909255600355600780549190931691161790556200025d565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200019257600080fd5b919050565b6000806000806000806000806000806101408b8d031215620001b857600080fd5b620001c38b6200017a565b9950620001d360208c016200017a565b9850620001e360408c016200017a565b9750620001f360608c016200017a565b96506200020360808c016200017a565b955060a08b015194506200021a60c08c016200017a565b93506200022a60e08c016200017a565b92506200023b6101008c016200017a565b91506200024c6101208c016200017a565b90509295989b9194979a5092959850565b612bbe806200026d6000396000f3fe608060405234801561001057600080fd5b506004361061035d5760003560e01c806385f02dd6116101d3578063c6d758cb11610104578063e7a03679116100a2578063f2fde38b1161007c578063f2fde38b14610683578063f3fef3a314610696578063f69e2046146106a9578063f77c4791146106b157600080fd5b8063e7a0367914610654578063e7f67fb114610667578063f10684541461067a57600080fd5b8063d389800f116100de578063d389800f1461061e578063d7cb416f14610626578063db7a3c0f14610639578063e71984741461064157600080fd5b8063c6d758cb146105e5578063c7b9d530146105f8578063d33219b41461060b57600080fd5b8063ba0c108f11610171578063c0762e5e1161014b578063c0762e5e146105a4578063c11b61c7146105b7578063c4ae3168146105ca578063c5f956af146105d257600080fd5b8063ba0c108f14610580578063bb97517e14610589578063bdacb3031461059157600080fd5b80639fc33a9f116101ad5780639fc33a9f1461054f578063a0fab11914610567578063ad7a672f14610570578063ae3356951461057857600080fd5b806385f02dd6146105225780638da5cb5b1461052b57806392eefe9b1461053c57600080fd5b80635a34928e116102ad578063701f66041161024b57806376f2892f1161022557806376f2892f146104ec57806377c7b8fc146104ff5780637ff36fbe146105075780638456cb591461051a57600080fd5b8063701f6604146104be57806370a3cb11146104d1578063715018a6146104e457600080fd5b806362779e151161028757806362779e15146104925780636605bfda1461049a57806367d03db8146104ad5780636dfa8d99146104b557600080fd5b80635a34928e146104645780635c975abb1461046c5780635d4093591461047757600080fd5b806336e9332d1161031a57806342da4eb3116102f457806342da4eb31461041c57806344a3955e1461042557806347e7ef241461042e57806351b699cd1461044157600080fd5b806336e9332d146103f95780633d18678e146104015780633f4ba83a1461041457600080fd5b8063061c7d48146103625780631fe4a6861461037d5780632224fa25146103a857806325baef53146103c85780632717eff3146103dd57806327d9e85e146103e6575b600080fd5b61036a601481565b6040519081526020015b60405180910390f35b600b54610390906001600160a01b031681565b6040516001600160a01b039091168152602001610374565b6103bb6103b636600461252f565b6106c4565b6040516103749190612630565b6103db6103d6366004612643565b61088d565b005b61036a6103e881565b6103db6103f436600461270c565b6108bc565b6103db610989565b6103db61040f366004612794565b61099b565b6103db6109ee565b61036a600f5481565b61036a60105481565b61036a61043c3660046127ad565b6109fe565b61045461044f3660046127d7565b610aed565b6040519015158152602001610374565b6103db610b2e565b60025460ff16610454565b61039073039e2fb66102314ce7b64ce5ce3e5183bc94ad3881565b6103db610b3e565b6103db6104a83660046127d7565b610b4e565b61036a610bb7565b61036a60115481565b61036a6104cc3660046127f2565b610c03565b6103db6104df366004612794565b610ccc565b6103db610cd9565b6103db6104fa36600461282e565b610ceb565b61036a610d28565b600554610390906001600160a01b031681565b6103db610d69565b61036a60125481565b6000546001600160a01b0316610390565b6103db61054a3660046127d7565b610d79565b6002546103909061010090046001600160a01b031681565b61036a600e5481565b61036a610e63565b6103db610ee4565b61036a600d5481565b61036a610f39565b6103db61059f3660046127d7565b610fbf565b6103db6105b23660046127d7565b61105f565b6103906105c53660046127f2565b6110c8565b6103db61110d565b601354610390906001600160a01b031681565b6103db6105f33660046127ad565b611128565b6103db6106063660046127d7565b61122c565b600c54610390906001600160a01b031681565b6103db611256565b600654610390906001600160a01b031681565b61036a611293565b600754610390906001600160a01b031681565b600454610390906001600160a01b031681565b600854610390906001600160a01b031681565b61036a60035481565b6103db6106913660046127d7565b61138d565b61036a6106a43660046127ad565b611403565b6103db61161d565b600a54610390906001600160a01b031681565b600c546060906001600160a01b031633146107265760405162461bcd60e51b815260206004820181905260248201527f53747261746567793a2063616c6c6572206973206e6f742074696d656c6f636b60448201526064015b60405180910390fd5b6060835160001415610739575081610765565b838051906020012083604051602001610753929190612882565b60405160208183030381529060405290505b600080876001600160a01b0316878460405161078191906128b3565b60006040518083038185875af1925050503d80600081146107be576040519150601f19603f3d011682016040523d82523d6000602084013e6107c3565b606091505b50915091508161083b5760405162461bcd60e51b815260206004820152603d60248201527f53747261746567793a3a657865637574655472616e73616374696f6e3a20547260448201527f616e73616374696f6e20657865637574696f6e2072657665727465642e000000606482015260840161071d565b876001600160a01b03167f88405ca50016c636e025868e263efe5a9f63bf11cc45404f7616394c7dc389d0888888604051610878939291906128cf565b60405180910390a2925050505b949350505050565b600a546001600160a01b031633146108b75760405162461bcd60e51b815260040161071d90612904565b505050565b6108c461162d565b6007546001600160a01b039081166000908152600960209081526040808320600554909416835292815291902084516108ff928601906123fa565b506007546001600160a01b0390811660009081526009602090815260408083206006549094168352928152919020835161093b928501906123fa565b506007546001600160a01b0316600090815260096020908152604080832073039e2fb66102314ce7b64ce5ce3e5183bc94ad38845282529091208251610983928401906123fa565b50505050565b61099161162d565b610999611687565b565b6109a361162d565b60148111156109e95760405162461bcd60e51b81526020600482015260126024820152710a6e8e4c2e8cacef27440e8dede40d0d2ced60731b604482015260640161071d565b601255565b6109f661162d565b6109996117df565b600a546000906001600160a01b03163314610a2b5760405162461bcd60e51b815260040161071d90612904565b610a33611831565b610a3b61188b565b600454610a53906001600160a01b03163330856118d1565b600f54829015801590610a6857506000601054115b15610a9157610a8e600f54610a886010548661193c90919063ffffffff16565b9061194f565b90505b601054610a9e908261195b565b601055610aa9611687565b6040518381527f4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e384269060200160405180910390a19050610ae760018055565b92915050565b600080546001600160a01b0383811691161480610b145750600b546001600160a01b031633145b80610ae75750600c546001600160a01b0316331492915050565b610b3661162d565b610999611967565b610b4661162d565b6109996119d0565b610b5661162d565b6001600160a01b038116610b955760405162461bcd60e51b815260040161071d906020808252600490820152637a65726f60e01b604082015260600190565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b600080610bc2611293565b90508015610bfa57600754610bf5906001600160a01b031673039e2fb66102314ce7b64ce5ce3e5183bc94ad3883610c03565b610bfd565b60005b91505090565b6008546001600160a01b0384811660009081526009602090815260408083208785168452909152808220905163d06ca61f60e01b815291938493169163d06ca61f91610c5491879190600401612984565b600060405180830381865afa158015610c71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c99919081019061299d565b90508060018251610caa9190612a39565b81518110610cba57610cba612a50565b60200260200101519150509392505050565b610cd461162d565b600e55565b610ce161162d565b6109996000611ac8565b610cf361162d565b6001600160a01b03808416600090815260096020908152604080832093861683529281529190208251610983928401906123fa565b6000601054600014610d5c57610d57601054610a88670de0b6b3a7640000600f5461193c90919063ffffffff16565b905090565b50670de0b6b3a764000090565b610d7161162d565b610999611b18565b6001600160a01b038116610dc05760405162461bcd60e51b815260206004820152600e60248201526d696e76616c69644164647265737360901b604482015260640161071d565b600a546001600160a01b0316331480610de35750600c546001600160a01b031633145b610e415760405162461bcd60e51b815260206004820152602960248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c6572206e6f726044820152682074696d656c6f636b60b81b606482015260840161071d565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e6d610f39565b600480546040516370a0823160e01b815230928101929092526001600160a01b0316906370a0823190602401602060405180830381865afa158015610eb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eda9190612a66565b610d579190612a7f565b6000610eee610bb7565b9050600e54811015610f2e5760405162461bcd60e51b81526020600482015260096024820152681d1bdbc81cdb585b1b60ba1b604482015260640161071d565b610f36611256565b50565b6002546003546040516393f1a40b60e01b8152600481019190915230602482015260009182916101009091046001600160a01b0316906393f1a40b906044016040805180830381865afa158015610f94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb89190612a97565b5092915050565b600c546001600160a01b03163314806110055750600c546001600160a01b0316158015611005575033610ffa6000546001600160a01b031690565b6001600160a01b0316145b61103d5760405162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015260640161071d565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61106761162d565b6001600160a01b0381166110a65760405162461bcd60e51b815260040161071d906020808252600490820152637a65726f60e01b604082015260600190565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600960205282600052604060002060205281600052604060002081815481106110f057600080fd5b6000918252602090912001546001600160a01b0316925083915050565b61111561162d565b60025460ff1615610d71576109996117df565b61113061162d565b6007546001600160a01b03838116911614156111765760405162461bcd60e51b8152602060048201526005602482015264217361666560d81b604482015260640161071d565b6004546001600160a01b03838116911614156111bc5760405162461bcd60e51b8152602060048201526005602482015264217361666560d81b604482015260640161071d565b600a546001600160a01b03908116906111d89084168284611b55565b604080516001600160a01b038086168252602082018590528316918101919091527f22f92dfb4f608ea5db1e9bb08c0b4f5518af93b1259d335fe05900056096ab2c906060015b60405180910390a1505050565b61123461162d565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b61125e611831565b61126661188b565b61126e611967565b6112766119d0565b61127e611b85565b611286611687565b42600d5561099960018055565b6007546040516370a0823160e01b815230600482015260009182916001600160a01b03909116906370a0823190602401602060405180830381865afa1580156112e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113049190612a66565b600254600354604051631503a8cb60e31b81526004810191909152306024820152919250610bfd91839161010090046001600160a01b03169063a81d465890604401602060405180830381865afa158015611363573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113879190612a66565b9061195b565b61139561162d565b6001600160a01b0381166113fa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161071d565b610f3681611ac8565b600a546000906001600160a01b031633146114305760405162461bcd60e51b815260040161071d90612904565b611438611831565b6000821161147e5760405162461bcd60e51b815260206004820152601360248201527214dd1c985d1959de4e880857ddd85b9d105b5d606a1b604482015260640161071d565b600254600354604051630441a3e760e41b81526004810191909152602481018490526101009091046001600160a01b03169063441a3e7090604401600060405180830381600087803b1580156114d357600080fd5b505af11580156114e7573d6000803e3d6000fd5b5050600480546040516370a0823160e01b81523092810192909252600093506001600160a01b031691506370a0823190602401602060405180830381865afa158015611537573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155b9190612a66565b905080831115611569578092505b82600f54101561157957600f5492505b6000611596600f54610a886010548761193c90919063ffffffff16565b90506010548111156115a757506010545b6010546115b49082611e15565b601055600f546115c49085611e15565b600f556004546115de906001600160a01b03163386611b55565b6040518481527f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d9060200160405180910390a1915050610ae760018055565b61162561162d565b610999611b85565b6000546001600160a01b031633146109995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161071d565b600480546040516370a0823160e01b815230928101929092526001600160a01b03169060009082906370a0823190602401602060405180830381865afa1580156116d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f99190612a66565b600f54909150611709908261195b565b600f5580156117db57600454600254611734916001600160a01b039081169161010090041683611e21565b600254600354604051631c57762b60e31b81526004810191909152602481018390526101009091046001600160a01b03169063e2bbb15890604401600060405180830381600087803b15801561178957600080fd5b505af115801561179d573d6000803e3d6000fd5b505050507fc217459869eed80bfbe5c11e78ab58912eedfd106342671821b6e96d1615dc7f816040516117d291815260200190565b60405180910390a15b5050565b6117e7611e35565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600260015414156118845760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161071d565b6002600155565b60025460ff16156109995760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161071d565b6040516001600160a01b03808516602483015283166044820152606481018290526109839085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611e7e565b60006119488284612abb565b9392505050565b60006119488284612ada565b60006119488284612a7f565b600254600354604051631c57762b60e31b81526004810191909152600060248201526101009091046001600160a01b03169063e2bbb15890604401600060405180830381600087803b1580156119bc57600080fd5b505af1158015610983573d6000803e3d6000fd5b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3d9190612a66565b905060008111611a4a5750565b600754604080516001600160a01b039092168252602082018390527f053fa1fc52294a40b4ff1a988765bd298c00caa24d685cc3f767dcfde254ef9a910160405180910390a1600754601254610f36916001600160a01b031690611ab7906103e890610a8890869061193c565b6013546001600160a01b0316611f53565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611b2061188b565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118143390565b6040516001600160a01b0383166024820152604481018290526108b790849063a9059cbb60e01b90606401611905565b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bf29190612a66565b600754909150611c2d90611c24906001600160a01b031673039e2fb66102314ce7b64ce5ce3e5183bc94ad3884610c03565b6011549061195b565b6011556005546007546001600160a01b03908116911614611c7057600754600554611c70916001600160a01b039081169116611c6a84600261194f565b3061204c565b6006546007546001600160a01b03908116911614611caa57600754600654611caa916001600160a01b039081169116611c6a84600261194f565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611cf3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d179190612a66565b6006546040516370a0823160e01b81523060048201529192506000916001600160a01b03909116906370a0823190602401602060405180830381865afa158015611d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d899190612a66565b9050600082118015611d9b5750600081115b156108b757600554600654611dbe916001600160a01b039081169116848461212f565b600554600654604080516001600160a01b039384168152602081018690529290911690820152606081018290527f44552da03f807ace3e5f27e98e694712dfe668c743514b28d4d9f5ab70574b0f9060800161121f565b60006119488284612a39565b6108b76001600160a01b038416838361222d565b60025460ff166109995760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161071d565b6000611ed3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166122da9092919063ffffffff16565b9050805160001480611ef4575080806020019051810190611ef49190612afc565b6108b75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161071d565b600854611f6b9084906001600160a01b031684611e21565b6001600160a01b03831673039e2fb66102314ce7b64ce5ce3e5183bc94ad38146108b7576008546001600160a01b03848116600090815260096020908152604080832073039e2fb66102314ce7b64ce5ce3e5183bc94ad3884529091528120919092169163ee2b38369185919085611fe54261070861195b565b6040518663ffffffff1660e01b8152600401612005959493929190612b1e565b6000604051808303816000875af1158015612024573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610983919081019061299d565b6008546120649085906001600160a01b031684611e21565b826001600160a01b0316846001600160a01b031614610983576008546001600160a01b0385811660009081526009602090815260408083208885168452909152812091909216916338ed173991859190856120c14261070861195b565b6040518663ffffffff1660e01b81526004016120e1959493929190612b1e565b6000604051808303816000875af1158015612100573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612128919081019061299d565b5050505050565b6008546121479085906001600160a01b031684611e21565b60085461215f9084906001600160a01b031683611e21565b6008546001600160a01b031663e8e3370085858585600080306121844261070861195b565b60405160e08a901b6001600160e01b03191681526001600160a01b039889166004820152968816602488015260448701959095526064860193909352608485019190915260a484015290921660c482015260e4810191909152610104016060604051808303816000875af1158015612200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122249190612b5a565b50505050505050565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526000919085169063dd62ed3e90604401602060405180830381865afa15801561227d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122a19190612a66565b90506109838463095ea7b360e01b856122ba8686612a7f565b6040516001600160a01b0390921660248301526044820152606401611905565b6060610885848460008585600080866001600160a01b0316858760405161230191906128b3565b60006040518083038185875af1925050503d806000811461233e576040519150601f19603f3d011682016040523d82523d6000602084013e612343565b606091505b50915091506123548783838761235f565b979650505050505050565b606083156123cb5782516123c4576001600160a01b0385163b6123c45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161071d565b5081610885565b61088583838151156123e05781518083602001fd5b8060405162461bcd60e51b815260040161071d9190612630565b82805482825590600052602060002090810192821561244f579160200282015b8281111561244f57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061241a565b5061245b92915061245f565b5090565b5b8082111561245b5760008155600101612460565b80356001600160a01b038116811461248b57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156124cf576124cf612490565b604052919050565b600067ffffffffffffffff8311156124f1576124f1612490565b612504601f8401601f19166020016124a6565b905082815283838301111561251857600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561254557600080fd5b61254e85612474565b935060208501359250604085013567ffffffffffffffff8082111561257257600080fd5b818701915087601f83011261258657600080fd5b612595888335602085016124d7565b935060608701359150808211156125ab57600080fd5b508501601f810187136125bd57600080fd5b6125cc878235602084016124d7565b91505092959194509250565b60005b838110156125f35781810151838201526020016125db565b838111156109835750506000910152565b6000815180845261261c8160208601602086016125d8565b601f01601f19169290920160200192915050565b6020815260006119486020830184612604565b60008060006060848603121561265857600080fd5b61266184612474565b95602085013595506040909401359392505050565b600067ffffffffffffffff82111561269057612690612490565b5060051b60200190565b600082601f8301126126ab57600080fd5b813560206126c06126bb83612676565b6124a6565b82815260059290921b840181019181810190868411156126df57600080fd5b8286015b84811015612701576126f481612474565b83529183019183016126e3565b509695505050505050565b60008060006060848603121561272157600080fd5b833567ffffffffffffffff8082111561273957600080fd5b6127458783880161269a565b9450602086013591508082111561275b57600080fd5b6127678783880161269a565b9350604086013591508082111561277d57600080fd5b5061278a8682870161269a565b9150509250925092565b6000602082840312156127a657600080fd5b5035919050565b600080604083850312156127c057600080fd5b6127c983612474565b946020939093013593505050565b6000602082840312156127e957600080fd5b61194882612474565b60008060006060848603121561280757600080fd5b61281084612474565b925061281e60208501612474565b9150604084013590509250925092565b60008060006060848603121561284357600080fd5b61284c84612474565b925061285a60208501612474565b9150604084013567ffffffffffffffff81111561287657600080fd5b61278a8682870161269a565b6001600160e01b03198316815281516000906128a58160048501602087016125d8565b919091016004019392505050565b600082516128c58184602087016125d8565b9190910192915050565b8381526060602082015260006128e86060830185612604565b82810360408401526128fa8185612604565b9695505050505050565b6020808252601c908201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c657200000000604082015260600190565b6000815480845260208085019450836000528060002060005b838110156129795781546001600160a01b031687529582019560019182019101612954565b509495945050505050565b828152604060208201526000610885604083018461293b565b600060208083850312156129b057600080fd5b825167ffffffffffffffff8111156129c757600080fd5b8301601f810185136129d857600080fd5b80516129e66126bb82612676565b81815260059190911b82018301908381019087831115612a0557600080fd5b928401925b8284101561235457835182529284019290840190612a0a565b634e487b7160e01b600052601160045260246000fd5b600082821015612a4b57612a4b612a23565b500390565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a7857600080fd5b5051919050565b60008219821115612a9257612a92612a23565b500190565b60008060408385031215612aaa57600080fd5b505080516020909101519092909150565b6000816000190483118215151615612ad557612ad5612a23565b500290565b600082612af757634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612b0e57600080fd5b8151801515811461194857600080fd5b85815284602082015260a060408201526000612b3d60a083018661293b565b6001600160a01b0394909416606083015250608001529392505050565b600080600060608486031215612b6f57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220306832ecda7abac3c0bcde3f5b0ac07b7d6a8c52710cbf2e247e32439f1cd81b64736f6c634300080c0033000000000000000000000000ead049d2544e9b3d637d49a89f2669f109ab4e5800000000000000000000000064ae31f69b62f33f972a9f1b1dfd2181e7fdfa01000000000000000000000000c547e8dd3844fb5bc178120a121b365ea790774e0000000000000000000000004ade5608127594cd9ea131f0826aea02fe517461000000000000000000000000c159d904ca8c2449df0ae4836197278f2f68c72500000000000000000000000000000000000000000000000000000000000000010000000000000000000000006eb32c8db5ff2878acbcb6a1ec5e301f60884da4000000000000000000000000b0695ce12c56aae40894235e2d1888d0b62dd110000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3800000000000000000000000029219dd400f2bf60e5a23d13be72b486d4038894
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061035d5760003560e01c806385f02dd6116101d3578063c6d758cb11610104578063e7a03679116100a2578063f2fde38b1161007c578063f2fde38b14610683578063f3fef3a314610696578063f69e2046146106a9578063f77c4791146106b157600080fd5b8063e7a0367914610654578063e7f67fb114610667578063f10684541461067a57600080fd5b8063d389800f116100de578063d389800f1461061e578063d7cb416f14610626578063db7a3c0f14610639578063e71984741461064157600080fd5b8063c6d758cb146105e5578063c7b9d530146105f8578063d33219b41461060b57600080fd5b8063ba0c108f11610171578063c0762e5e1161014b578063c0762e5e146105a4578063c11b61c7146105b7578063c4ae3168146105ca578063c5f956af146105d257600080fd5b8063ba0c108f14610580578063bb97517e14610589578063bdacb3031461059157600080fd5b80639fc33a9f116101ad5780639fc33a9f1461054f578063a0fab11914610567578063ad7a672f14610570578063ae3356951461057857600080fd5b806385f02dd6146105225780638da5cb5b1461052b57806392eefe9b1461053c57600080fd5b80635a34928e116102ad578063701f66041161024b57806376f2892f1161022557806376f2892f146104ec57806377c7b8fc146104ff5780637ff36fbe146105075780638456cb591461051a57600080fd5b8063701f6604146104be57806370a3cb11146104d1578063715018a6146104e457600080fd5b806362779e151161028757806362779e15146104925780636605bfda1461049a57806367d03db8146104ad5780636dfa8d99146104b557600080fd5b80635a34928e146104645780635c975abb1461046c5780635d4093591461047757600080fd5b806336e9332d1161031a57806342da4eb3116102f457806342da4eb31461041c57806344a3955e1461042557806347e7ef241461042e57806351b699cd1461044157600080fd5b806336e9332d146103f95780633d18678e146104015780633f4ba83a1461041457600080fd5b8063061c7d48146103625780631fe4a6861461037d5780632224fa25146103a857806325baef53146103c85780632717eff3146103dd57806327d9e85e146103e6575b600080fd5b61036a601481565b6040519081526020015b60405180910390f35b600b54610390906001600160a01b031681565b6040516001600160a01b039091168152602001610374565b6103bb6103b636600461252f565b6106c4565b6040516103749190612630565b6103db6103d6366004612643565b61088d565b005b61036a6103e881565b6103db6103f436600461270c565b6108bc565b6103db610989565b6103db61040f366004612794565b61099b565b6103db6109ee565b61036a600f5481565b61036a60105481565b61036a61043c3660046127ad565b6109fe565b61045461044f3660046127d7565b610aed565b6040519015158152602001610374565b6103db610b2e565b60025460ff16610454565b61039073039e2fb66102314ce7b64ce5ce3e5183bc94ad3881565b6103db610b3e565b6103db6104a83660046127d7565b610b4e565b61036a610bb7565b61036a60115481565b61036a6104cc3660046127f2565b610c03565b6103db6104df366004612794565b610ccc565b6103db610cd9565b6103db6104fa36600461282e565b610ceb565b61036a610d28565b600554610390906001600160a01b031681565b6103db610d69565b61036a60125481565b6000546001600160a01b0316610390565b6103db61054a3660046127d7565b610d79565b6002546103909061010090046001600160a01b031681565b61036a600e5481565b61036a610e63565b6103db610ee4565b61036a600d5481565b61036a610f39565b6103db61059f3660046127d7565b610fbf565b6103db6105b23660046127d7565b61105f565b6103906105c53660046127f2565b6110c8565b6103db61110d565b601354610390906001600160a01b031681565b6103db6105f33660046127ad565b611128565b6103db6106063660046127d7565b61122c565b600c54610390906001600160a01b031681565b6103db611256565b600654610390906001600160a01b031681565b61036a611293565b600754610390906001600160a01b031681565b600454610390906001600160a01b031681565b600854610390906001600160a01b031681565b61036a60035481565b6103db6106913660046127d7565b61138d565b61036a6106a43660046127ad565b611403565b6103db61161d565b600a54610390906001600160a01b031681565b600c546060906001600160a01b031633146107265760405162461bcd60e51b815260206004820181905260248201527f53747261746567793a2063616c6c6572206973206e6f742074696d656c6f636b60448201526064015b60405180910390fd5b6060835160001415610739575081610765565b838051906020012083604051602001610753929190612882565b60405160208183030381529060405290505b600080876001600160a01b0316878460405161078191906128b3565b60006040518083038185875af1925050503d80600081146107be576040519150601f19603f3d011682016040523d82523d6000602084013e6107c3565b606091505b50915091508161083b5760405162461bcd60e51b815260206004820152603d60248201527f53747261746567793a3a657865637574655472616e73616374696f6e3a20547260448201527f616e73616374696f6e20657865637574696f6e2072657665727465642e000000606482015260840161071d565b876001600160a01b03167f88405ca50016c636e025868e263efe5a9f63bf11cc45404f7616394c7dc389d0888888604051610878939291906128cf565b60405180910390a2925050505b949350505050565b600a546001600160a01b031633146108b75760405162461bcd60e51b815260040161071d90612904565b505050565b6108c461162d565b6007546001600160a01b039081166000908152600960209081526040808320600554909416835292815291902084516108ff928601906123fa565b506007546001600160a01b0390811660009081526009602090815260408083206006549094168352928152919020835161093b928501906123fa565b506007546001600160a01b0316600090815260096020908152604080832073039e2fb66102314ce7b64ce5ce3e5183bc94ad38845282529091208251610983928401906123fa565b50505050565b61099161162d565b610999611687565b565b6109a361162d565b60148111156109e95760405162461bcd60e51b81526020600482015260126024820152710a6e8e4c2e8cacef27440e8dede40d0d2ced60731b604482015260640161071d565b601255565b6109f661162d565b6109996117df565b600a546000906001600160a01b03163314610a2b5760405162461bcd60e51b815260040161071d90612904565b610a33611831565b610a3b61188b565b600454610a53906001600160a01b03163330856118d1565b600f54829015801590610a6857506000601054115b15610a9157610a8e600f54610a886010548661193c90919063ffffffff16565b9061194f565b90505b601054610a9e908261195b565b601055610aa9611687565b6040518381527f4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e384269060200160405180910390a19050610ae760018055565b92915050565b600080546001600160a01b0383811691161480610b145750600b546001600160a01b031633145b80610ae75750600c546001600160a01b0316331492915050565b610b3661162d565b610999611967565b610b4661162d565b6109996119d0565b610b5661162d565b6001600160a01b038116610b955760405162461bcd60e51b815260040161071d906020808252600490820152637a65726f60e01b604082015260600190565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b600080610bc2611293565b90508015610bfa57600754610bf5906001600160a01b031673039e2fb66102314ce7b64ce5ce3e5183bc94ad3883610c03565b610bfd565b60005b91505090565b6008546001600160a01b0384811660009081526009602090815260408083208785168452909152808220905163d06ca61f60e01b815291938493169163d06ca61f91610c5491879190600401612984565b600060405180830381865afa158015610c71573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610c99919081019061299d565b90508060018251610caa9190612a39565b81518110610cba57610cba612a50565b60200260200101519150509392505050565b610cd461162d565b600e55565b610ce161162d565b6109996000611ac8565b610cf361162d565b6001600160a01b03808416600090815260096020908152604080832093861683529281529190208251610983928401906123fa565b6000601054600014610d5c57610d57601054610a88670de0b6b3a7640000600f5461193c90919063ffffffff16565b905090565b50670de0b6b3a764000090565b610d7161162d565b610999611b18565b6001600160a01b038116610dc05760405162461bcd60e51b815260206004820152600e60248201526d696e76616c69644164647265737360901b604482015260640161071d565b600a546001600160a01b0316331480610de35750600c546001600160a01b031633145b610e415760405162461bcd60e51b815260206004820152602960248201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c6572206e6f726044820152682074696d656c6f636b60b81b606482015260840161071d565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6000610e6d610f39565b600480546040516370a0823160e01b815230928101929092526001600160a01b0316906370a0823190602401602060405180830381865afa158015610eb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610eda9190612a66565b610d579190612a7f565b6000610eee610bb7565b9050600e54811015610f2e5760405162461bcd60e51b81526020600482015260096024820152681d1bdbc81cdb585b1b60ba1b604482015260640161071d565b610f36611256565b50565b6002546003546040516393f1a40b60e01b8152600481019190915230602482015260009182916101009091046001600160a01b0316906393f1a40b906044016040805180830381865afa158015610f94573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fb89190612a97565b5092915050565b600c546001600160a01b03163314806110055750600c546001600160a01b0316158015611005575033610ffa6000546001600160a01b031690565b6001600160a01b0316145b61103d5760405162461bcd60e51b81526020600482015260096024820152682174696d656c6f636b60b81b604482015260640161071d565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b61106761162d565b6001600160a01b0381166110a65760405162461bcd60e51b815260040161071d906020808252600490820152637a65726f60e01b604082015260600190565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b600960205282600052604060002060205281600052604060002081815481106110f057600080fd5b6000918252602090912001546001600160a01b0316925083915050565b61111561162d565b60025460ff1615610d71576109996117df565b61113061162d565b6007546001600160a01b03838116911614156111765760405162461bcd60e51b8152602060048201526005602482015264217361666560d81b604482015260640161071d565b6004546001600160a01b03838116911614156111bc5760405162461bcd60e51b8152602060048201526005602482015264217361666560d81b604482015260640161071d565b600a546001600160a01b03908116906111d89084168284611b55565b604080516001600160a01b038086168252602082018590528316918101919091527f22f92dfb4f608ea5db1e9bb08c0b4f5518af93b1259d335fe05900056096ab2c906060015b60405180910390a1505050565b61123461162d565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b61125e611831565b61126661188b565b61126e611967565b6112766119d0565b61127e611b85565b611286611687565b42600d5561099960018055565b6007546040516370a0823160e01b815230600482015260009182916001600160a01b03909116906370a0823190602401602060405180830381865afa1580156112e0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113049190612a66565b600254600354604051631503a8cb60e31b81526004810191909152306024820152919250610bfd91839161010090046001600160a01b03169063a81d465890604401602060405180830381865afa158015611363573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113879190612a66565b9061195b565b61139561162d565b6001600160a01b0381166113fa5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161071d565b610f3681611ac8565b600a546000906001600160a01b031633146114305760405162461bcd60e51b815260040161071d90612904565b611438611831565b6000821161147e5760405162461bcd60e51b815260206004820152601360248201527214dd1c985d1959de4e880857ddd85b9d105b5d606a1b604482015260640161071d565b600254600354604051630441a3e760e41b81526004810191909152602481018490526101009091046001600160a01b03169063441a3e7090604401600060405180830381600087803b1580156114d357600080fd5b505af11580156114e7573d6000803e3d6000fd5b5050600480546040516370a0823160e01b81523092810192909252600093506001600160a01b031691506370a0823190602401602060405180830381865afa158015611537573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061155b9190612a66565b905080831115611569578092505b82600f54101561157957600f5492505b6000611596600f54610a886010548761193c90919063ffffffff16565b90506010548111156115a757506010545b6010546115b49082611e15565b601055600f546115c49085611e15565b600f556004546115de906001600160a01b03163386611b55565b6040518481527f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d9060200160405180910390a1915050610ae760018055565b61162561162d565b610999611b85565b6000546001600160a01b031633146109995760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161071d565b600480546040516370a0823160e01b815230928101929092526001600160a01b03169060009082906370a0823190602401602060405180830381865afa1580156116d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116f99190612a66565b600f54909150611709908261195b565b600f5580156117db57600454600254611734916001600160a01b039081169161010090041683611e21565b600254600354604051631c57762b60e31b81526004810191909152602481018390526101009091046001600160a01b03169063e2bbb15890604401600060405180830381600087803b15801561178957600080fd5b505af115801561179d573d6000803e3d6000fd5b505050507fc217459869eed80bfbe5c11e78ab58912eedfd106342671821b6e96d1615dc7f816040516117d291815260200190565b60405180910390a15b5050565b6117e7611e35565b6002805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600260015414156118845760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161071d565b6002600155565b60025460ff16156109995760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640161071d565b6040516001600160a01b03808516602483015283166044820152606481018290526109839085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611e7e565b60006119488284612abb565b9392505050565b60006119488284612ada565b60006119488284612a7f565b600254600354604051631c57762b60e31b81526004810191909152600060248201526101009091046001600160a01b03169063e2bbb15890604401600060405180830381600087803b1580156119bc57600080fd5b505af1158015610983573d6000803e3d6000fd5b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a3d9190612a66565b905060008111611a4a5750565b600754604080516001600160a01b039092168252602082018390527f053fa1fc52294a40b4ff1a988765bd298c00caa24d685cc3f767dcfde254ef9a910160405180910390a1600754601254610f36916001600160a01b031690611ab7906103e890610a8890869061193c565b6013546001600160a01b0316611f53565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b611b2061188b565b6002805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586118143390565b6040516001600160a01b0383166024820152604481018290526108b790849063a9059cbb60e01b90606401611905565b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611bce573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bf29190612a66565b600754909150611c2d90611c24906001600160a01b031673039e2fb66102314ce7b64ce5ce3e5183bc94ad3884610c03565b6011549061195b565b6011556005546007546001600160a01b03908116911614611c7057600754600554611c70916001600160a01b039081169116611c6a84600261194f565b3061204c565b6006546007546001600160a01b03908116911614611caa57600754600654611caa916001600160a01b039081169116611c6a84600261194f565b6005546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611cf3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d179190612a66565b6006546040516370a0823160e01b81523060048201529192506000916001600160a01b03909116906370a0823190602401602060405180830381865afa158015611d65573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d899190612a66565b9050600082118015611d9b5750600081115b156108b757600554600654611dbe916001600160a01b039081169116848461212f565b600554600654604080516001600160a01b039384168152602081018690529290911690820152606081018290527f44552da03f807ace3e5f27e98e694712dfe668c743514b28d4d9f5ab70574b0f9060800161121f565b60006119488284612a39565b6108b76001600160a01b038416838361222d565b60025460ff166109995760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b604482015260640161071d565b6000611ed3826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166122da9092919063ffffffff16565b9050805160001480611ef4575080806020019051810190611ef49190612afc565b6108b75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b606482015260840161071d565b600854611f6b9084906001600160a01b031684611e21565b6001600160a01b03831673039e2fb66102314ce7b64ce5ce3e5183bc94ad38146108b7576008546001600160a01b03848116600090815260096020908152604080832073039e2fb66102314ce7b64ce5ce3e5183bc94ad3884529091528120919092169163ee2b38369185919085611fe54261070861195b565b6040518663ffffffff1660e01b8152600401612005959493929190612b1e565b6000604051808303816000875af1158015612024573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610983919081019061299d565b6008546120649085906001600160a01b031684611e21565b826001600160a01b0316846001600160a01b031614610983576008546001600160a01b0385811660009081526009602090815260408083208885168452909152812091909216916338ed173991859190856120c14261070861195b565b6040518663ffffffff1660e01b81526004016120e1959493929190612b1e565b6000604051808303816000875af1158015612100573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052612128919081019061299d565b5050505050565b6008546121479085906001600160a01b031684611e21565b60085461215f9084906001600160a01b031683611e21565b6008546001600160a01b031663e8e3370085858585600080306121844261070861195b565b60405160e08a901b6001600160e01b03191681526001600160a01b039889166004820152968816602488015260448701959095526064860193909352608485019190915260a484015290921660c482015260e4810191909152610104016060604051808303816000875af1158015612200573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122249190612b5a565b50505050505050565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526000919085169063dd62ed3e90604401602060405180830381865afa15801561227d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122a19190612a66565b90506109838463095ea7b360e01b856122ba8686612a7f565b6040516001600160a01b0390921660248301526044820152606401611905565b6060610885848460008585600080866001600160a01b0316858760405161230191906128b3565b60006040518083038185875af1925050503d806000811461233e576040519150601f19603f3d011682016040523d82523d6000602084013e612343565b606091505b50915091506123548783838761235f565b979650505050505050565b606083156123cb5782516123c4576001600160a01b0385163b6123c45760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161071d565b5081610885565b61088583838151156123e05781518083602001fd5b8060405162461bcd60e51b815260040161071d9190612630565b82805482825590600052602060002090810192821561244f579160200282015b8281111561244f57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061241a565b5061245b92915061245f565b5090565b5b8082111561245b5760008155600101612460565b80356001600160a01b038116811461248b57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156124cf576124cf612490565b604052919050565b600067ffffffffffffffff8311156124f1576124f1612490565b612504601f8401601f19166020016124a6565b905082815283838301111561251857600080fd5b828260208301376000602084830101529392505050565b6000806000806080858703121561254557600080fd5b61254e85612474565b935060208501359250604085013567ffffffffffffffff8082111561257257600080fd5b818701915087601f83011261258657600080fd5b612595888335602085016124d7565b935060608701359150808211156125ab57600080fd5b508501601f810187136125bd57600080fd5b6125cc878235602084016124d7565b91505092959194509250565b60005b838110156125f35781810151838201526020016125db565b838111156109835750506000910152565b6000815180845261261c8160208601602086016125d8565b601f01601f19169290920160200192915050565b6020815260006119486020830184612604565b60008060006060848603121561265857600080fd5b61266184612474565b95602085013595506040909401359392505050565b600067ffffffffffffffff82111561269057612690612490565b5060051b60200190565b600082601f8301126126ab57600080fd5b813560206126c06126bb83612676565b6124a6565b82815260059290921b840181019181810190868411156126df57600080fd5b8286015b84811015612701576126f481612474565b83529183019183016126e3565b509695505050505050565b60008060006060848603121561272157600080fd5b833567ffffffffffffffff8082111561273957600080fd5b6127458783880161269a565b9450602086013591508082111561275b57600080fd5b6127678783880161269a565b9350604086013591508082111561277d57600080fd5b5061278a8682870161269a565b9150509250925092565b6000602082840312156127a657600080fd5b5035919050565b600080604083850312156127c057600080fd5b6127c983612474565b946020939093013593505050565b6000602082840312156127e957600080fd5b61194882612474565b60008060006060848603121561280757600080fd5b61281084612474565b925061281e60208501612474565b9150604084013590509250925092565b60008060006060848603121561284357600080fd5b61284c84612474565b925061285a60208501612474565b9150604084013567ffffffffffffffff81111561287657600080fd5b61278a8682870161269a565b6001600160e01b03198316815281516000906128a58160048501602087016125d8565b919091016004019392505050565b600082516128c58184602087016125d8565b9190910192915050565b8381526060602082015260006128e86060830185612604565b82810360408401526128fa8185612604565b9695505050505050565b6020808252601c908201527f63616c6c6572206973206e6f742074686520636f6e74726f6c6c657200000000604082015260600190565b6000815480845260208085019450836000528060002060005b838110156129795781546001600160a01b031687529582019560019182019101612954565b509495945050505050565b828152604060208201526000610885604083018461293b565b600060208083850312156129b057600080fd5b825167ffffffffffffffff8111156129c757600080fd5b8301601f810185136129d857600080fd5b80516129e66126bb82612676565b81815260059190911b82018301908381019087831115612a0557600080fd5b928401925b8284101561235457835182529284019290840190612a0a565b634e487b7160e01b600052601160045260246000fd5b600082821015612a4b57612a4b612a23565b500390565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612a7857600080fd5b5051919050565b60008219821115612a9257612a92612a23565b500190565b60008060408385031215612aaa57600080fd5b505080516020909101519092909150565b6000816000190483118215151615612ad557612ad5612a23565b500290565b600082612af757634e487b7160e01b600052601260045260246000fd5b500490565b600060208284031215612b0e57600080fd5b8151801515811461194857600080fd5b85815284602082015260a060408201526000612b3d60a083018661293b565b6001600160a01b0394909416606083015250608001529392505050565b600080600060608486031215612b6f57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220306832ecda7abac3c0bcde3f5b0ac07b7d6a8c52710cbf2e247e32439f1cd81b64736f6c634300080c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ead049d2544e9b3d637d49a89f2669f109ab4e5800000000000000000000000064ae31f69b62f33f972a9f1b1dfd2181e7fdfa01000000000000000000000000c547e8dd3844fb5bc178120a121b365ea790774e0000000000000000000000004ade5608127594cd9ea131f0826aea02fe517461000000000000000000000000c159d904ca8c2449df0ae4836197278f2f68c72500000000000000000000000000000000000000000000000000000000000000010000000000000000000000006eb32c8db5ff2878acbcb6a1ec5e301f60884da4000000000000000000000000b0695ce12c56aae40894235e2d1888d0b62dd110000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad3800000000000000000000000029219dd400f2bf60e5a23d13be72b486d4038894
-----Decoded View---------------
Arg [0] : _controller (address): 0xEAd049d2544e9b3d637D49A89F2669F109ab4E58
Arg [1] : _timelock (address): 0x64AE31f69B62f33f972A9f1B1dfD2181E7FdFa01
Arg [2] : _treasuryAddress (address): 0xc547E8dD3844fb5BC178120a121b365Ea790774E
Arg [3] : _farmContractAddress (address): 0x4aDe5608127594CD9eA131f0826AEA02FE517461
Arg [4] : _dexRouterAddress (address): 0xC159D904cA8C2449df0AE4836197278f2f68C725
Arg [5] : _pid (uint256): 1
Arg [6] : _wantAddress (address): 0x6eB32C8dB5Ff2878acbCB6a1Ec5e301F60884dA4
Arg [7] : _earnedAddress (address): 0xb0695ce12c56AAe40894235e2d1888D0b62Dd110
Arg [8] : _token0 (address): 0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38
Arg [9] : _token1 (address): 0x29219dd400f2Bf60E5a23d13Be72B486D4038894
-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 000000000000000000000000ead049d2544e9b3d637d49a89f2669f109ab4e58
Arg [1] : 00000000000000000000000064ae31f69b62f33f972a9f1b1dfd2181e7fdfa01
Arg [2] : 000000000000000000000000c547e8dd3844fb5bc178120a121b365ea790774e
Arg [3] : 0000000000000000000000004ade5608127594cd9ea131f0826aea02fe517461
Arg [4] : 000000000000000000000000c159d904ca8c2449df0ae4836197278f2f68c725
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [6] : 0000000000000000000000006eb32c8db5ff2878acbcb6a1ec5e301f60884da4
Arg [7] : 000000000000000000000000b0695ce12c56aae40894235e2d1888d0b62dd110
Arg [8] : 000000000000000000000000039e2fb66102314ce7b64ce5ce3e5183bc94ad38
Arg [9] : 00000000000000000000000029219dd400f2bf60e5a23d13be72b486d4038894
Deployed Bytecode Sourcemap
42056:13421:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43095:44;;43137:2;43095:44;;;;;160:25:1;;;148:2;133:18;43095:44:0;;;;;;;;42691:25;;;;;-1:-1:-1;;;;;42691:25:0;;;;;;-1:-1:-1;;;;;360:32:1;;;342:51;;330:2;315:18;42691:25:0;196:203:1;54754:720:0;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;54063:89::-;;;;;;:::i;:::-;;:::i;:::-;;43030:47;;43073:4;43030:47;;51825:395;;;;;;:::i;:::-;;:::i;46586:59::-;;;:::i;51127:184::-;;;;;;:::i;:::-;;:::i;50938:67::-;;;:::i;42850:43::-;;;;;;42900:39;;;;;;46032:546;;;;;;:::i;:::-;;:::i;44882:172::-;;;;;;:::i;:::-;;:::i;:::-;;;5915:14:1;;5908:22;5890:41;;5878:2;5863:18;44882:172:0;5750:187:1;46653:71:0;;;:::i;38230:86::-;38301:7;;;;38230:86;;42570:80;;42607:42;42570:80;;46807:65;;;:::i;51319:184::-;;;;;;:::i;:::-;;:::i;50662:197::-;;;:::i;42946:30::-;;;;;;50108:300;;;;;;:::i;:::-;;:::i;51699:118::-;;;;;;:::i;:::-;;:::i;32683:103::-;;;:::i;52228:168::-;;;;;;:::i;:::-;;:::i;45613:169::-;;;:::i;42321:37::-;;;;;-1:-1:-1;;;;;42321:37:0;;;50867:63;;;:::i;42985:33::-;;;;;;32042:87;32088:7;32115:6;-1:-1:-1;;;;;32115:6:0;32042:87;;54205:274;;;;;;:::i;:::-;;:::i;42213:34::-;;;;;;;;-1:-1:-1;;;;;42213:34:0;;;42793:40;;;;;;45452:153;;;:::i;45062:188::-;;;:::i;42755:31::-;;;;;;45258:186;;;:::i;54487:196::-;;;;;;:::i;:::-;;:::i;51511:180::-;;;;;;:::i;:::-;;:::i;42494:67::-;;;;;;:::i;:::-;;:::i;53946:109::-;;;:::i;43148:30::-;;;;;-1:-1:-1;;;;;43148:30:0;;;53568:370;;;;;;:::i;:::-;;:::i;51013:106::-;;;;;;:::i;:::-;;:::i;42723:23::-;;;;;-1:-1:-1;;;;;42723:23:0;;;49902:198;;;:::i;42365:37::-;;;;;-1:-1:-1;;;;;42365:37:0;;;50416:238;;;:::i;42409:37::-;;;;;-1:-1:-1;;;;;42409:37:0;;;42279:35;;;;;-1:-1:-1;;;;;42279:35:0;;;42453:31;;;;;-1:-1:-1;;;;;42453:31:0;;;42254:18;;;;;;32941:201;;;;;;:::i;:::-;;:::i;47297:928::-;;;;;;:::i;:::-;;:::i;46732:67::-;;;:::i;42659:25::-;;;;;-1:-1:-1;;;;;42659:25:0;;;54754:720;44795:8;;54888:12;;-1:-1:-1;;;;;44795:8:0;44807:10;44795:22;44787:67;;;;-1:-1:-1;;;44787:67:0;;6978:2:1;44787:67:0;;;6960:21:1;;;6997:18;;;6990:30;7056:34;7036:18;;;7029:62;7108:18;;44787:67:0;;;;;;;;;54913:21:::1;54957:9;54951:23;54978:1;54951:28;54947:179;;;-1:-1:-1::0;55007:4:0;54947:179:::1;;;55095:9;55079:27;;;;;;55109:4;55055:59;;;;;;;;;:::i;:::-;;;;;;;;;;;;;55044:70;;54947:179;55199:12;55213:23:::0;55240:6:::1;-1:-1:-1::0;;;;;55240:11:0::1;55260:5;55267:8;55240:36;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55198:78;;;;55295:7;55287:81;;;::::0;-1:-1:-1;;;55287:81:0;;7994:2:1;55287:81:0::1;::::0;::::1;7976:21:1::0;8033:2;8013:18;;;8006:30;8072:34;8052:18;;;8045:62;8143:31;8123:18;;;8116:59;8192:19;;55287:81:0::1;7792:425:1::0;55287:81:0::1;55405:6;-1:-1:-1::0;;;;;55386:50:0::1;;55413:5;55420:9;55431:4;55386:50;;;;;;;;:::i;:::-;;;;;;;;55456:10:::0;-1:-1:-1;;;44865:1:0::1;54754:720:::0;;;;;;:::o;54063:89::-;44502:10;;-1:-1:-1;;;;;44502:10:0;44516;44502:24;44494:65;;;;-1:-1:-1;;;44494:65:0;;;;;;;:::i;:::-;54063:89;;;:::o;51825:395::-;31928:13;:11;:13::i;:::-;52031::::1;::::0;-1:-1:-1;;;;;52031:13:0;;::::1;52020:25;::::0;;;:10:::1;:25;::::0;;;;;;;52046:13:::1;::::0;;;::::1;52020:40:::0;;;;;;;;:62;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;52104:13:0::1;::::0;-1:-1:-1;;;;;52104:13:0;;::::1;52093:25;::::0;;;:10:::1;:25;::::0;;;;;;;52119:13:::1;::::0;;;::::1;52093:40:::0;;;;;;;;:62;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;-1:-1:-1::0;52177:13:0::1;::::0;-1:-1:-1;;;;;52177:13:0::1;52166:25;::::0;;;:10:::1;:25;::::0;;;;;;;42607:42:::1;52166:29:::0;;;;;;;:46;;::::1;::::0;;::::1;::::0;::::1;:::i;:::-;;51825:395:::0;;;:::o;46586:59::-;31928:13;:11;:13::i;:::-;46630:7:::1;:5;:7::i;:::-;46586:59::o:0;51127:184::-;31928:13;:11;:13::i;:::-;43137:2:::1;51206:14;:33;;51198:64;;;::::0;-1:-1:-1;;;51198:64:0;;9236:2:1;51198:64:0::1;::::0;::::1;9218:21:1::0;9275:2;9255:18;;;9248:30;-1:-1:-1;;;9294:18:1;;;9287:48;9352:18;;51198:64:0::1;9034:342:1::0;51198:64:0::1;51273:13;:30:::0;51127:184::o;50938:67::-;31928:13;:11;:13::i;:::-;50987:10:::1;:8;:10::i;46032:546::-:0;44502:10;;46145:7;;-1:-1:-1;;;;;44502:10:0;44516;44502:24;44494:65;;;;-1:-1:-1;;;44494:65:0;;;;;;;:::i;:::-;35751:21:::1;:19;:21::i;:::-;37835:19:::2;:17;:19::i;:::-;46172:11:::3;::::0;46165:82:::3;::::0;-1:-1:-1;;;;;46172:11:0::3;46210:10;46231:4;46238:8:::0;46165:36:::3;:82::i;:::-;46305:15;::::0;46282:8;;46305:19;;;;:38:::3;;;46342:1;46328:11;;:15;46305:38;46301:131;;;46374:46;46404:15;;46374:25;46387:11;;46374:8;:12;;:25;;;;:::i;:::-;:29:::0;::::3;:46::i;:::-;46360:60;;46301:131;46456:11;::::0;:28:::3;::::0;46472:11;46456:15:::3;:28::i;:::-;46442:11;:42:::0;46497:7:::3;:5;:7::i;:::-;46522:17;::::0;160:25:1;;;46522:17:0::3;::::0;148:2:1;133:18;46522:17:0::3;;;;;;;46559:11:::0;-1:-1:-1;35795:20:0::1;35189:1:::0;36315:22;;36132:213;35795:20:::1;46032:546:::0;;;;:::o;44882:172::-;44943:4;32115:6;;-1:-1:-1;;;;;44968:19:0;;;32115:6;;44968:19;;44967:51;;-1:-1:-1;45007:10:0;;-1:-1:-1;;;;;45007:10:0;44993;:24;44967:51;:79;;;-1:-1:-1;45037:8:0;;-1:-1:-1;;;;;45037:8:0;45023:10;:22;44960:86;44882:172;-1:-1:-1;;44882:172:0:o;46653:71::-;31928:13;:11;:13::i;:::-;46706:10:::1;:8;:10::i;46807:65::-:0;31928:13;:11;:13::i;:::-;46854:10:::1;:8;:10::i;51319:184::-:0;31928:13;:11;:13::i;:::-;-1:-1:-1;;;;;51411:30:0;::::1;51403:47;;;;-1:-1:-1::0;;;51403:47:0::1;;;;;;9583:2:1::0;9565:21;;;9622:1;9602:18;;;9595:29;-1:-1:-1;;;9655:2:1;9640:18;;9633:34;9699:2;9684:18;;9381:327;51403:47:0::1;51461:15;:34:::0;;-1:-1:-1;;;;;;51461:34:0::1;-1:-1:-1::0;;;;;51461:34:0;;;::::1;::::0;;;::::1;::::0;;51319:184::o;50662:197::-;50715:7;50735:16;50754;:14;:16::i;:::-;50735:35;-1:-1:-1;50789:13:0;;50788:63;;50823:13;;50810:41;;-1:-1:-1;;;;;50823:13:0;42607:42;50842:8;50810:12;:41::i;:::-;50788:63;;;50806:1;50788:63;50781:70;;;50662:197;:::o;50108:300::-;50271:16;;-1:-1:-1;;;;;50317:23:0;;;50216:7;50317:23;;;:10;:23;;;;;;;;:37;;;;;;;;;;;50263:92;;-1:-1:-1;;;50263:92:0;;50216:7;;;;50271:16;;50263:39;;:92;;50303:12;;50317:37;50263:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50263:92:0;;;;;;;;;;;;:::i;:::-;50236:119;;50373:7;50398:1;50381:7;:14;:18;;;;:::i;:::-;50373:27;;;;;;;;:::i;:::-;;;;;;;50366:34;;;50108:300;;;;;:::o;51699:118::-;31928:13;:11;:13::i;:::-;51779::::1;:30:::0;51699:118::o;32683:103::-;31928:13;:11;:13::i;:::-;32748:30:::1;32775:1;32748:18;:30::i;52228:168::-:0;31928:13;:11;:13::i;:::-;-1:-1:-1;;;;;52343:23:0;;::::1;;::::0;;;:10:::1;:23;::::0;;;;;;;:37;;::::1;::::0;;;;;;;;:45;;::::1;::::0;;::::1;::::0;::::1;:::i;45613:169::-:0;45677:7;45705:11;;45720:1;45705:16;45704:70;;45732:42;45762:11;;45732:25;45752:4;45732:15;;:19;;:25;;;;:::i;:42::-;45697:77;;45613:169;:::o;45704:70::-;-1:-1:-1;45725:4:0;;45613:169::o;50867:63::-;31928:13;:11;:13::i;:::-;50914:8:::1;:6;:8::i;54205:274::-:0;-1:-1:-1;;;;;54277:25:0;;54269:52;;;;-1:-1:-1;;;54269:52:0;;12037:2:1;54269:52:0;;;12019:21:1;12076:2;12056:18;;;12049:30;-1:-1:-1;;;12095:18:1;;;12088:44;12149:18;;54269:52:0;11835:338:1;54269:52:0;54340:10;;-1:-1:-1;;;;;54340:10:0;54354;54340:24;;:50;;-1:-1:-1;54368:8:0;;-1:-1:-1;;;;;54368:8:0;54380:10;54368:22;54340:50;54332:104;;;;-1:-1:-1;;;54332:104:0;;12380:2:1;54332:104:0;;;12362:21:1;12419:2;12399:18;;;12392:30;12458:34;12438:18;;;12431:62;-1:-1:-1;;;12509:18:1;;;12502:39;12558:19;;54332:104:0;12178:405:1;54332:104:0;54447:10;:24;;-1:-1:-1;;;;;;54447:24:0;-1:-1:-1;;;;;54447:24:0;;;;;;;;;;54205:274::o;45452:153::-;45508:7;45582:15;:13;:15::i;:::-;45542:11;;;45535:44;;-1:-1:-1;;;45535:44:0;;45573:4;45535:44;;;342:51:1;;;;-1:-1:-1;;;;;45542:11:0;;45535:29;;315:18:1;;45535:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:62;;;;:::i;45062:188::-;45100:29;45132:22;:20;:22::i;:::-;45100:54;;45198:13;;45173:21;:38;;45165:60;;;;-1:-1:-1;;;45165:60:0;;13112:2:1;45165:60:0;;;13094:21:1;13151:1;13131:18;;;13124:29;-1:-1:-1;;;13169:18:1;;;13162:39;13218:18;;45165:60:0;12910:332:1;45165:60:0;45236:6;:4;:6::i;:::-;45089:161;45062:188::o;45258:186::-;45363:19;;45393:3;;45353:59;;-1:-1:-1;;;45353:59:0;;;;;13421:25:1;;;;45406:4:0;13462:18:1;;;13455:60;45313:7:0;;;;45363:19;;;;-1:-1:-1;;;;;45363:19:0;;45353:39;;13394:18:1;;45353:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;45333:79:0;45258:186;-1:-1:-1;;45258:186:0:o;54487:196::-;54555:8;;-1:-1:-1;;;;;54555:8:0;54567:10;54555:22;;:75;;-1:-1:-1;54582:8:0;;-1:-1:-1;;;;;54582:8:0;:22;:47;;;;-1:-1:-1;54619:10:0;54608:7;32088;32115:6;-1:-1:-1;;;;;32115:6:0;;32042:87;54608:7;-1:-1:-1;;;;;54608:21:0;;54582:47;54547:97;;;;-1:-1:-1;;;54547:97:0;;13978:2:1;54547:97:0;;;13960:21:1;14017:1;13997:18;;;13990:29;-1:-1:-1;;;14035:18:1;;;14028:39;14084:18;;54547:97:0;13776:332:1;54547:97:0;54655:8;:20;;-1:-1:-1;;;;;;54655:20:0;-1:-1:-1;;;;;54655:20:0;;;;;;;;;;54487:196::o;51511:180::-;31928:13;:11;:13::i;:::-;-1:-1:-1;;;;;51602:28:0;::::1;51594:45;;;;-1:-1:-1::0;;;51594:45:0::1;;;;;;9583:2:1::0;9565:21;;;9622:1;9602:18;;;9595:29;-1:-1:-1;;;9655:2:1;9640:18;;9633:34;9699:2;9684:18;;9381:327;51594:45:0::1;51650:16;:33:::0;;-1:-1:-1;;;;;;51650:33:0::1;-1:-1:-1::0;;;;;51650:33:0;;;::::1;::::0;;;::::1;::::0;;51511:180::o;42494:67::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;42494:67:0;;-1:-1:-1;42494:67:0;;-1:-1:-1;;42494:67:0:o;53946:109::-;31928:13;:11;:13::i;:::-;38301:7;;;;53999:48:::1;;;54013:10;:8;:10::i;53568:370::-:0;31928:13;:11;:13::i;:::-;53688::::1;::::0;-1:-1:-1;;;;;53678:23:0;;::::1;53688:13:::0;::::1;53678:23;;53670:41;;;::::0;-1:-1:-1;;;53670:41:0;;14315:2:1;53670:41:0::1;::::0;::::1;14297:21:1::0;14354:1;14334:18;;;14327:29;-1:-1:-1;;;14372:18:1;;;14365:35;14417:18;;53670:41:0::1;14113:328:1::0;53670:41:0::1;53740:11;::::0;-1:-1:-1;;;;;53730:21:0;;::::1;53740:11:::0;::::1;53730:21;;53722:39;;;::::0;-1:-1:-1;;;53722:39:0;;14315:2:1;53722:39:0::1;::::0;::::1;14297:21:1::0;14354:1;14334:18;;;14327:29;-1:-1:-1;;;14372:18:1;;;14365:35;14417:18;;53722:39:0::1;14113:328:1::0;53722:39:0::1;53794:10;::::0;-1:-1:-1;;;;;53794:10:0;;::::1;::::0;53815:49:::1;::::0;:27;::::1;53794:10:::0;53856:7;53815:27:::1;:49::i;:::-;53880:50;::::0;;-1:-1:-1;;;;;14704:15:1;;;14686:34;;14751:2;14736:18;;14729:34;;;14799:15;;14779:18;;;14772:43;;;;53880:50:0::1;::::0;14636:2:1;14621:18;53880:50:0::1;;;;;;;;53659:279;53568:370:::0;;:::o;51013:106::-;31928:13;:11;:13::i;:::-;51087:10:::1;:24:::0;;-1:-1:-1;;;;;;51087:24:0::1;-1:-1:-1::0;;;;;51087:24:0;;;::::1;::::0;;;::::1;::::0;;51013:106::o;49902:198::-;35751:21;:19;:21::i;:::-;37835:19:::1;:17;:19::i;:::-;49972:10:::2;:8;:10::i;:::-;49995;:8;:10::i;:::-;50018:11;:9;:11::i;:::-;50042:7;:5;:7::i;:::-;50077:15;50062:12;:30:::0;35795:20;35189:1;36315:22;;36132:213;50416:238;50511:13;;50504:46;;-1:-1:-1;;;50504:46:0;;50544:4;50504:46;;;342:51:1;50463:7:0;;;;-1:-1:-1;;;;;50511:13:0;;;;50504:31;;315:18:1;;50504:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50578:19;;50611:3;;50568:62;;-1:-1:-1;;;50568:62:0;;;;;13421:25:1;;;;50624:4:0;13462:18:1;;;13455:60;50483:67:0;;-1:-1:-1;50568:78:0;;50483:67;;50578:19;;;-1:-1:-1;;;;;50578:19:0;;50568:42;;13394:18:1;;50568:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:66;;:78::i;32941:201::-;31928:13;:11;:13::i;:::-;-1:-1:-1;;;;;33030:22:0;::::1;33022:73;;;::::0;-1:-1:-1;;;33022:73:0;;15028:2:1;33022:73:0::1;::::0;::::1;15010:21:1::0;15067:2;15047:18;;;15040:30;15106:34;15086:18;;;15079:62;-1:-1:-1;;;15157:18:1;;;15150:36;15203:19;;33022:73:0::1;14826:402:1::0;33022:73:0::1;33106:28;33125:8;33106:18;:28::i;47297:928::-:0;44502:10;;47397:7;;-1:-1:-1;;;;;44502:10:0;44516;44502:24;44494:65;;;;-1:-1:-1;;;44494:65:0;;;;;;;:::i;:::-;35751:21:::1;:19;:21::i;:::-;47436:1:::2;47425:8;:12;47417:44;;;::::0;-1:-1:-1;;;47417:44:0;;15435:2:1;47417:44:0::2;::::0;::::2;15417:21:1::0;15474:2;15454:18;;;15447:30;-1:-1:-1;;;15493:18:1;;;15486:49;15552:18;;47417:44:0::2;15233:343:1::0;47417:44:0::2;47484:19;::::0;47514:3:::2;::::0;47474:54:::2;::::0;-1:-1:-1;;;47474:54:0;;::::2;::::0;::::2;15755:25:1::0;;;;15796:18;;;15789:34;;;47484:19:0::2;::::0;;::::2;-1:-1:-1::0;;;;;47484:19:0::2;::::0;47474:39:::2;::::0;15728:18:1;;47474:54:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;-1:-1:-1::0;;47566:11:0::2;::::0;;47559:44:::2;::::0;-1:-1:-1;;;47559:44:0;;47597:4:::2;47559:44:::0;;::::2;342:51:1::0;;;;47541:15:0::2;::::0;-1:-1:-1;;;;;;47566:11:0::2;::::0;-1:-1:-1;47559:29:0::2;::::0;315:18:1;;47559:44:0::2;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47541:62;;47629:7;47618:8;:18;47614:69;;;47664:7;47653:18;;47614:69;47717:8;47699:15;;:26;47695:85;;;47753:15;;47742:26;;47695:85;47792:21;47816:46;47846:15;;47816:25;47829:11;;47816:8;:12;;:25;;;;:::i;:46::-;47792:70;;47893:11;;47877:13;:27;47873:87;;;-1:-1:-1::0;47937:11:0::2;::::0;47873:87:::2;47984:11;::::0;:30:::2;::::0;48000:13;47984:15:::2;:30::i;:::-;47970:11;:44:::0;48043:15:::2;::::0;:29:::2;::::0;48063:8;48043:19:::2;:29::i;:::-;48025:15;:47:::0;48092:11:::2;::::0;48085:63:::2;::::0;-1:-1:-1;;;;;48092:11:0::2;48126:10;48139:8:::0;48085:32:::2;:63::i;:::-;48166:18;::::0;160:25:1;;;48166:18:0::2;::::0;148:2:1;133:18;48166::0::2;;;;;;;48204:13:::0;-1:-1:-1;;35795:20:0::1;35189:1:::0;36315:22;;36132:213;46732:67;31928:13;:11;:13::i;:::-;46780:11:::1;:9;:11::i;32207:132::-:0;32088:7;32115:6;-1:-1:-1;;;;;32115:6:0;30652:10;32271:23;32263:68;;;;-1:-1:-1;;;32263:68:0;;16036:2:1;32263:68:0;;;16018:21:1;;;16055:18;;;16048:30;16114:34;16094:18;;;16087:62;16166:18;;32263:68:0;15834:356:1;46880:409:0;46939:11;;;46980:30;;-1:-1:-1;;;46980:30:0;;47004:4;46980:30;;;342:51:1;;;;-1:-1:-1;;;;;46939:11:0;;46917:12;;46939:11;;46980:15;;315:18:1;;46980:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;47039:15;;46962:48;;-1:-1:-1;47039:28:0;;46962:48;47039:19;:28::i;:::-;47021:15;:46;47082:11;;47078:204;;47128:11;;47141:19;;47110:60;;-1:-1:-1;;;;;47128:11:0;;;;;47141:19;;;47162:7;47110:17;:60::i;:::-;47195:19;;47224:3;;47185:52;;-1:-1:-1;;;47185:52:0;;;;;15755:25:1;;;;15796:18;;;15789:34;;;47195:19:0;;;;-1:-1:-1;;;;;47195:19:0;;47185:38;;15728:18:1;;47185:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47257:13;47262:7;47257:13;;;;160:25:1;;148:2;133:18;;14:177;47257:13:0;;;;;;;;47078:204;46906:383;;46880:409::o;39085:120::-;38094:16;:14;:16::i;:::-;39144:7:::1;:15:::0;;-1:-1:-1;;39144:15:0::1;::::0;;39175:22:::1;30652:10:::0;39184:12:::1;39175:22;::::0;-1:-1:-1;;;;;360:32:1;;;342:51;;330:2;315:18;39175:22:0::1;;;;;;;39085:120::o:0;35831:293::-;35233:1;35965:7;;:19;;35957:63;;;;-1:-1:-1;;;35957:63:0;;16397:2:1;35957:63:0;;;16379:21:1;16436:2;16416:18;;;16409:30;16475:33;16455:18;;;16448:61;16526:18;;35957:63:0;16195:355:1;35957:63:0;35233:1;36098:7;:18;35831:293::o;38389:108::-;38301:7;;;;38459:9;38451:38;;;;-1:-1:-1;;;38451:38:0;;16757:2:1;38451:38:0;;;16739:21:1;16796:2;16776:18;;;16769:30;-1:-1:-1;;;16815:18:1;;;16808:46;16871:18;;38451:38:0;16555:340:1;17420:205:0;17548:68;;-1:-1:-1;;;;;17158:15:1;;;17548:68:0;;;17140:34:1;17210:15;;17190:18;;;17183:43;17242:18;;;17235:34;;;17521:96:0;;17541:5;;-1:-1:-1;;;17571:27:0;17075:18:1;;17548:68:0;;;;-1:-1:-1;;17548:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;17548:68:0;-1:-1:-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;48231:126::-;48313:19;;48342:3;;48303:46;;-1:-1:-1;;;48303:46:0;;;;;15755:25:1;;;;48347:1:0;15796:18:1;;;15789:34;48313:19:0;;;;-1:-1:-1;;;;;48313:19:0;;48303:38;;15728:18:1;;48303:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48365:381;48435:13;;48428:46;;-1:-1:-1;;;48428:46:0;;48468:4;48428:46;;;342:51:1;48405:20:0;;-1:-1:-1;;;;;48435:13:0;;48428:31;;315:18:1;;48428:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48405:69;;48505:1;48489:12;:17;48485:56;;48523:7;48365:381::o;48485:56::-;48563:13;;48556:35;;;-1:-1:-1;;;;;48563:13:0;;;18110:51:1;;18192:2;18177:18;;18170:34;;;48556:35:0;;18083:18:1;48556:35:0;;;;;;;48664:13;;48696;;48650:88;;-1:-1:-1;;;;;48664:13:0;;48679:41;;48715:4;;48679:31;;:12;;:16;:31::i;:41::-;48722:15;;-1:-1:-1;;;;;48722:15:0;48650:13;:88::i;33302:191::-;33376:16;33395:6;;-1:-1:-1;;;;;33412:17:0;;;-1:-1:-1;;;;;;33412:17:0;;;;;;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:-1:-1;;38886:14:0::1;38896:4;38886:14;::::0;;38916:20:::1;38923:12;30652:10:::0;;30572:98;16998:177;17108:58;;-1:-1:-1;;;;;18128:32:1;;17108:58:0;;;18110:51:1;18177:18;;;18170:34;;;17081:86:0;;17101:5;;-1:-1:-1;;;17131:23:0;18083:18:1;;17108:58:0;17936:274:1;48754:1030:0;48876:13;;48869:46;;-1:-1:-1;;;48869:46:0;;48909:4;48869:46;;;342:51:1;48846:20:0;;-1:-1:-1;;;;;48876:13:0;;48869:31;;315:18:1;;48869:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49006:13;;48846:69;;-1:-1:-1;48977:62:0;;48993:45;;-1:-1:-1;;;;;49006:13:0;42607:42;48846:69;48993:12;:45::i;:::-;48977:11;;;:15;:62::i;:::-;48963:11;:76;49073:13;;49056;;-1:-1:-1;;;;;49056:13:0;;;49073;;49056:30;49052:146;;49121:13;;49136;;49103:83;;-1:-1:-1;;;;;49121:13:0;;;;49136;49151:19;:12;49168:1;49151:16;:19::i;:::-;49180:4;49103:17;:83::i;:::-;49231:13;;49214;;-1:-1:-1;;;;;49214:13:0;;;49231;;49214:30;49210:146;;49279:13;;49294;;49261:83;;-1:-1:-1;;;;;49279:13:0;;;;49294;49309:19;:12;49326:1;49309:16;:19::i;49261:83::-;49442:13;;49435:46;;-1:-1:-1;;;49435:46:0;;49475:4;49435:46;;;342:51:1;49415:17:0;;-1:-1:-1;;;;;49442:13:0;;49435:31;;315:18:1;;49435:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49519:13;;49512:46;;-1:-1:-1;;;49512:46:0;;49552:4;49512:46;;;342:51:1;49415:66:0;;-1:-1:-1;49492:17:0;;-1:-1:-1;;;;;49519:13:0;;;;49512:31;;315:18:1;;49512:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;49492:66;;49585:1;49573:9;:13;:30;;;;;49602:1;49590:9;:13;49573:30;49569:208;;;49634:13;;49649;;49620:65;;-1:-1:-1;;;;;49634:13:0;;;;49649;49664:9;49675;49620:13;:65::i;:::-;49714:13;;49740;;49705:60;;;-1:-1:-1;;;;;49714:13:0;;;18484:34:1;;18549:2;18534:18;;18527:34;;;49740:13:0;;;;18577:18:1;;;18570:43;18644:2;18629:18;;18622:34;;;49705:60:0;;18433:3:1;18418:19;49705:60:0;18215:447:1;26279:98:0;26337:7;26364:5;26368:1;26364;:5;:::i;45790:194::-;45920:56;-1:-1:-1;;;;;45920:35:0;;45956:7;45965:10;45920:35;:56::i;38574:108::-;38301:7;;;;38633:41;;;;-1:-1:-1;;;38633:41:0;;18869:2:1;38633:41:0;;;18851:21:1;18908:2;18888:18;;;18881:30;-1:-1:-1;;;18927:18:1;;;18920:50;18987:18;;38633:41:0;18667:344:1;21344:649:0;21768:23;21794:69;21822:4;21794:69;;;;;;;;;;;;;;;;;21802:5;-1:-1:-1;;;;;21794:27:0;;;:69;;;;;:::i;:::-;21768:95;;21882:10;:17;21903:1;21882:22;:56;;;;21919:10;21908:30;;;;;;;;;;;;:::i;:::-;21874:111;;;;-1:-1:-1;;;21874:111:0;;19500:2:1;21874:111:0;;;19482:21:1;19539:2;19519:18;;;19512:30;19578:34;19558:18;;;19551:62;-1:-1:-1;;;19629:18:1;;;19622:40;19679:19;;21874:111:0;19298:406:1;52406:335:0;52530:16;;52499:57;;52517:11;;-1:-1:-1;;;;;52530:16:0;52548:7;52499:17;:57::i;:::-;-1:-1:-1;;;;;52571:17:0;;42607:42;52571:17;52567:167;;52613:16;;-1:-1:-1;;;;;52663:23:0;;;52613:16;52663:23;;;:10;:23;;;;;;;;42607:42;52663:27;;;;;;;52613:16;;;;;52605:45;;52651:7;;52613:16;52692:2;52696:25;:15;52716:4;52696:19;:25::i;:::-;52605:117;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52605:117:0;;;;;;;;;;;;:::i;52749:386::-;52899:16;;52868:57;;52886:11;;-1:-1:-1;;;;;52899:16:0;52917:7;52868:17;:57::i;:::-;52955:12;-1:-1:-1;;;;;52940:27:0;:11;-1:-1:-1;;;;;52940:27:0;;52936:192;;52992:16;;-1:-1:-1;;;;;53047:23:0;;;52992:16;53047:23;;;:10;:23;;;;;;;;:37;;;;;;;;;;52992:16;;;;;52984:50;;53035:7;;52992:16;53086:2;53090:25;:15;53110:4;53090:19;:25::i;:::-;52984:132;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;52984:132:0;;;;;;;;;;;;:::i;:::-;;52749:386;;;;:::o;53143:417::-;53297:16;;53270:61;;53288:7;;-1:-1:-1;;;;;53297:16:0;53315:15;53270:17;:61::i;:::-;53369:16;;53342:61;;53360:7;;-1:-1:-1;;;;;53369:16:0;53387:15;53342:17;:61::i;:::-;53422:16;;-1:-1:-1;;;;;53422:16:0;53414:38;53453:7;53462;53471:15;53488;53422:16;;53519:4;53526:25;:15;53546:4;53526:19;:25::i;:::-;53414:138;;;;;;-1:-1:-1;;;;;;53414:138:0;;;-1:-1:-1;;;;;20716:15:1;;;53414:138:0;;;20698:34:1;20768:15;;;20748:18;;;20741:43;20800:18;;;20793:34;;;;20843:18;;;20836:34;;;;20886:19;;;20879:35;;;;20930:19;;;20923:35;20995:15;;;20974:19;;;20967:44;21027:19;;;21020:35;;;;20632:19;;53414:138:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;53143:417;;;;:::o;18673:283::-;18793:39;;-1:-1:-1;;;18793:39:0;;18817:4;18793:39;;;21589:34:1;-1:-1:-1;;;;;21659:15:1;;;21639:18;;;21632:43;18770:20:0;;18793:15;;;;;;21524:18:1;;18793:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;18770:62;-1:-1:-1;18843:105:0;18863:5;-1:-1:-1;;;18917:7:0;18926:20;18941:5;18770:62;18926:20;:::i;:::-;18870:77;;-1:-1:-1;;;;;18128:32:1;;;18870:77:0;;;18110:51:1;18177:18;;;18170:34;18083:18;;18870:77:0;17936:274:1;10795:229:0;10932:12;10964:52;10986:6;10994:4;11000:1;11003:12;10932;12169;12183:23;12210:6;-1:-1:-1;;;;;12210:11:0;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;;-1:-1:-1;;;;;8335:19:0;;;14906:60;;;;-1:-1:-1;;;14906:60:0;;22295:2:1;14906:60:0;;;22277:21:1;22334:2;22314:18;;;22307:30;22373:31;22353:18;;;22346:59;22422:18;;14906:60:0;22093: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;;-1:-1:-1;;;16153:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;404:173:1;472:20;;-1:-1:-1;;;;;521:31:1;;511:42;;501:70;;567:1;564;557:12;501:70;404:173;;;:::o;582:127::-;643:10;638:3;634:20;631:1;624:31;674:4;671:1;664:15;698:4;695:1;688:15;714:275;785:2;779:9;850:2;831:13;;-1:-1:-1;;827:27:1;815:40;;885:18;870:34;;906:22;;;867:62;864:88;;;932:18;;:::i;:::-;968:2;961:22;714:275;;-1:-1:-1;714:275:1:o;994:407::-;1059:5;1093:18;1085:6;1082:30;1079:56;;;1115:18;;:::i;:::-;1153:57;1198:2;1177:15;;-1:-1:-1;;1173:29:1;1204:4;1169:40;1153:57;:::i;:::-;1144:66;;1233:6;1226:5;1219:21;1273:3;1264:6;1259:3;1255:16;1252:25;1249:45;;;1290:1;1287;1280:12;1249:45;1339:6;1334:3;1327:4;1320:5;1316:16;1303:43;1393:1;1386:4;1377:6;1370:5;1366:18;1362:29;1355:40;994:407;;;;;:::o;1406:943::-;1511:6;1519;1527;1535;1588:3;1576:9;1567:7;1563:23;1559:33;1556:53;;;1605:1;1602;1595:12;1556:53;1628:29;1647:9;1628:29;:::i;:::-;1618:39;;1704:2;1693:9;1689:18;1676:32;1666:42;;1759:2;1748:9;1744:18;1731:32;1782:18;1823:2;1815:6;1812:14;1809:34;;;1839:1;1836;1829:12;1809:34;1877:6;1866:9;1862:22;1852:32;;1922:7;1915:4;1911:2;1907:13;1903:27;1893:55;;1944:1;1941;1934:12;1893:55;1967:74;2033:7;2028:2;2015:16;2010:2;2006;2002:11;1967:74;:::i;:::-;1957:84;;2094:2;2083:9;2079:18;2066:32;2050:48;;2123:2;2113:8;2110:16;2107:36;;;2139:1;2136;2129:12;2107:36;-1:-1:-1;2162:24:1;;2217:4;2209:13;;2205:27;-1:-1:-1;2195:55:1;;2246:1;2243;2236:12;2195:55;2269:74;2335:7;2330:2;2317:16;2312:2;2308;2304:11;2269:74;:::i;:::-;2259:84;;;1406:943;;;;;;;:::o;2354:258::-;2426:1;2436:113;2450:6;2447:1;2444:13;2436:113;;;2526:11;;;2520:18;2507:11;;;2500:39;2472:2;2465:10;2436:113;;;2567:6;2564:1;2561:13;2558:48;;;-1:-1:-1;;2602:1:1;2584:16;;2577:27;2354:258::o;2617:257::-;2658:3;2696:5;2690:12;2723:6;2718:3;2711:19;2739:63;2795:6;2788:4;2783:3;2779:14;2772:4;2765:5;2761:16;2739:63;:::i;:::-;2856:2;2835:15;-1:-1:-1;;2831:29:1;2822:39;;;;2863:4;2818:50;;2617:257;-1:-1:-1;;2617:257:1:o;2879:217::-;3026:2;3015:9;3008:21;2989:4;3046:44;3086:2;3075:9;3071:18;3063:6;3046:44;:::i;3101:322::-;3178:6;3186;3194;3247:2;3235:9;3226:7;3222:23;3218:32;3215:52;;;3263:1;3260;3253:12;3215:52;3286:29;3305:9;3286:29;:::i;:::-;3276:39;3362:2;3347:18;;3334:32;;-1:-1:-1;3413:2:1;3398:18;;;3385:32;;3101:322;-1:-1:-1;;;3101:322:1:o;3428:183::-;3488:4;3521:18;3513:6;3510:30;3507:56;;;3543:18;;:::i;:::-;-1:-1:-1;3588:1:1;3584:14;3600:4;3580:25;;3428:183::o;3616:668::-;3670:5;3723:3;3716:4;3708:6;3704:17;3700:27;3690:55;;3741:1;3738;3731:12;3690:55;3777:6;3764:20;3803:4;3827:60;3843:43;3883:2;3843:43;:::i;:::-;3827:60;:::i;:::-;3921:15;;;4007:1;4003:10;;;;3991:23;;3987:32;;;3952:12;;;;4031:15;;;4028:35;;;4059:1;4056;4049:12;4028:35;4095:2;4087:6;4083:15;4107:148;4123:6;4118:3;4115:15;4107:148;;;4189:23;4208:3;4189:23;:::i;:::-;4177:36;;4233:12;;;;4140;;4107:148;;;-1:-1:-1;4273:5:1;3616:668;-1:-1:-1;;;;;;3616:668:1:o;4289:821::-;4441:6;4449;4457;4510:2;4498:9;4489:7;4485:23;4481:32;4478:52;;;4526:1;4523;4516:12;4478:52;4566:9;4553:23;4595:18;4636:2;4628:6;4625:14;4622:34;;;4652:1;4649;4642:12;4622:34;4675:61;4728:7;4719:6;4708:9;4704:22;4675:61;:::i;:::-;4665:71;;4789:2;4778:9;4774:18;4761:32;4745:48;;4818:2;4808:8;4805:16;4802:36;;;4834:1;4831;4824:12;4802:36;4857:63;4912:7;4901:8;4890:9;4886:24;4857:63;:::i;:::-;4847:73;;4973:2;4962:9;4958:18;4945:32;4929:48;;5002:2;4992:8;4989:16;4986:36;;;5018:1;5015;5008:12;4986:36;;5041:63;5096:7;5085:8;5074:9;5070:24;5041:63;:::i;:::-;5031:73;;;4289:821;;;;;:::o;5115:180::-;5174:6;5227:2;5215:9;5206:7;5202:23;5198:32;5195:52;;;5243:1;5240;5233:12;5195:52;-1:-1:-1;5266:23:1;;5115:180;-1:-1:-1;5115:180:1:o;5300:254::-;5368:6;5376;5429:2;5417:9;5408:7;5404:23;5400:32;5397:52;;;5445:1;5442;5435:12;5397:52;5468:29;5487:9;5468:29;:::i;:::-;5458:39;5544:2;5529:18;;;;5516:32;;-1:-1:-1;;;5300:254:1:o;5559:186::-;5618:6;5671:2;5659:9;5650:7;5646:23;5642:32;5639:52;;;5687:1;5684;5677:12;5639:52;5710:29;5729:9;5710:29;:::i;5942:328::-;6019:6;6027;6035;6088:2;6076:9;6067:7;6063:23;6059:32;6056:52;;;6104:1;6101;6094:12;6056:52;6127:29;6146:9;6127:29;:::i;:::-;6117:39;;6175:38;6209:2;6198:9;6194:18;6175:38;:::i;:::-;6165:48;;6260:2;6249:9;6245:18;6232:32;6222:42;;5942:328;;;;;:::o;6275:496::-;6377:6;6385;6393;6446:2;6434:9;6425:7;6421:23;6417:32;6414:52;;;6462:1;6459;6452:12;6414:52;6485:29;6504:9;6485:29;:::i;:::-;6475:39;;6533:38;6567:2;6556:9;6552:18;6533:38;:::i;:::-;6523:48;;6622:2;6611:9;6607:18;6594:32;6649:18;6641:6;6638:30;6635:50;;;6681:1;6678;6671:12;6635:50;6704:61;6757:7;6748:6;6737:9;6733:22;6704:61;:::i;7137:371::-;-1:-1:-1;;;;;;7322:33:1;;7310:46;;7379:13;;7292:3;;7401:61;7379:13;7451:1;7442:11;;7435:4;7423:17;;7401:61;:::i;:::-;7482:16;;;;7500:1;7478:24;;7137:371;-1:-1:-1;;;7137:371:1:o;7513:274::-;7642:3;7680:6;7674:13;7696:53;7742:6;7737:3;7730:4;7722:6;7718:17;7696:53;:::i;:::-;7765:16;;;;;7513:274;-1:-1:-1;;7513:274:1:o;8222:450::-;8445:6;8434:9;8427:25;8488:2;8483;8472:9;8468:18;8461:30;8408:4;8514:44;8554:2;8543:9;8539:18;8531:6;8514:44;:::i;:::-;8606:9;8598:6;8594:22;8589:2;8578:9;8574:18;8567:50;8634:32;8659:6;8651;8634:32;:::i;:::-;8626:40;8222:450;-1:-1:-1;;;;;;8222:450:1:o;8677:352::-;8879:2;8861:21;;;8918:2;8898:18;;;8891:30;8957;8952:2;8937:18;;8930:58;9020:2;9005:18;;8677:352::o;9713:495::-;9774:3;9812:5;9806:12;9839:6;9834:3;9827:19;9865:4;9894:2;9889:3;9885:12;9878:19;;9916:5;9913:1;9906:16;9958:2;9955:1;9945:16;9979:1;9989:194;10003:6;10000:1;9997:13;9989:194;;;10068:13;;-1:-1:-1;;;;;10064:39:1;10052:52;;10124:12;;;;10100:1;10159:14;;;;10018:9;9989:194;;;-1:-1:-1;10199:3:1;;9713:495;-1:-1:-1;;;;;9713:495:1:o;10213:337::-;10417:6;10406:9;10399:25;10460:2;10455;10444:9;10440:18;10433:30;10380:4;10480:64;10540:2;10529:9;10525:18;10517:6;10480:64;:::i;10555:881::-;10650:6;10681:2;10724;10712:9;10703:7;10699:23;10695:32;10692:52;;;10740:1;10737;10730:12;10692:52;10773:9;10767:16;10806:18;10798:6;10795:30;10792:50;;;10838:1;10835;10828:12;10792:50;10861:22;;10914:4;10906:13;;10902:27;-1:-1:-1;10892:55:1;;10943:1;10940;10933:12;10892:55;10972:2;10966:9;10995:60;11011:43;11051:2;11011:43;:::i;10995:60::-;11089:15;;;11171:1;11167:10;;;;11159:19;;11155:28;;;11120:12;;;;11195:19;;;11192:39;;;11227:1;11224;11217:12;11192:39;11251:11;;;;11271:135;11287:6;11282:3;11279:15;11271:135;;;11353:10;;11341:23;;11304:12;;;;11384;;;;11271:135;;11441:127;11502:10;11497:3;11493:20;11490:1;11483:31;11533:4;11530:1;11523:15;11557:4;11554:1;11547:15;11573:125;11613:4;11641:1;11638;11635:8;11632:34;;;11646:18;;:::i;:::-;-1:-1:-1;11683:9:1;;11573:125::o;11703:127::-;11764:10;11759:3;11755:20;11752:1;11745:31;11795:4;11792:1;11785:15;11819:4;11816:1;11809:15;12588:184;12658:6;12711:2;12699:9;12690:7;12686:23;12682:32;12679:52;;;12727:1;12724;12717:12;12679:52;-1:-1:-1;12750:16:1;;12588:184;-1:-1:-1;12588:184:1:o;12777:128::-;12817:3;12848:1;12844:6;12841:1;12838:13;12835:39;;;12854:18;;:::i;:::-;-1:-1:-1;12890:9:1;;12777:128::o;13526:245::-;13605:6;13613;13666:2;13654:9;13645:7;13641:23;13637:32;13634:52;;;13682:1;13679;13672:12;13634:52;-1:-1:-1;;13705:16:1;;13761:2;13746:18;;;13740:25;13705:16;;13740:25;;-1:-1:-1;13526:245:1:o;17280:168::-;17320:7;17386:1;17382;17378:6;17374:14;17371:1;17368:21;17363:1;17356:9;17349:17;17345:45;17342:71;;;17393:18;;:::i;:::-;-1:-1:-1;17433:9:1;;17280:168::o;17453:217::-;17493:1;17519;17509:132;;17563:10;17558:3;17554:20;17551:1;17544:31;17598:4;17595:1;17588:15;17626:4;17623:1;17616:15;17509:132;-1:-1:-1;17655:9:1;;17453:217::o;19016:277::-;19083:6;19136:2;19124:9;19115:7;19111:23;19107:32;19104:52;;;19152:1;19149;19142:12;19104:52;19184:9;19178:16;19237:5;19230:13;19223:21;19216:5;19213:32;19203:60;;19259:1;19256;19249:12;19709:587;20005:6;19994:9;19987:25;20048:6;20043:2;20032:9;20028:18;20021:34;20091:3;20086:2;20075:9;20071:18;20064:31;19968:4;20112:65;20172:3;20161:9;20157:19;20149:6;20112:65;:::i;:::-;-1:-1:-1;;;;;20213:32:1;;;;20208:2;20193:18;;20186:60;-1:-1:-1;20277:3:1;20262:19;20255:35;20104:73;19709:587;-1:-1:-1;;;19709:587:1:o;21066:306::-;21154:6;21162;21170;21223:2;21211:9;21202:7;21198:23;21194:32;21191:52;;;21239:1;21236;21229:12;21191:52;21268:9;21262:16;21252:26;;21318:2;21307:9;21303:18;21297:25;21287:35;;21362:2;21351:9;21347:18;21341:25;21331:35;;21066:306;;;;;:::o
Swarm Source
ipfs://306832ecda7abac3c0bcde3f5b0ac07b7d6a8c52710cbf2e247e32439f1cd81b
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.