More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 101 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Harvest | 17521372 | 41 days ago | IN | 0 frxETH | 0.00000176 | ||||
Harvest | 16159683 | 72 days ago | IN | 0 frxETH | 0.00000178 | ||||
Harvest | 16089458 | 74 days ago | IN | 0 frxETH | 0.00000178 | ||||
Harvest | 16047156 | 75 days ago | IN | 0 frxETH | 0.00000178 | ||||
Harvest | 16004861 | 76 days ago | IN | 0 frxETH | 0.00000178 | ||||
Harvest | 14634152 | 108 days ago | IN | 0 frxETH | 0.00000178 | ||||
Harvest | 14535155 | 110 days ago | IN | 0 frxETH | 0.00000178 | ||||
Harvest | 14492852 | 111 days ago | IN | 0 frxETH | 0.00000178 | ||||
Harvest | 14450572 | 112 days ago | IN | 0 frxETH | 0.00000177 | ||||
Harvest | 14408275 | 113 days ago | IN | 0 frxETH | 0.00000178 | ||||
Harvest | 14187782 | 118 days ago | IN | 0 frxETH | 0.0000018 | ||||
Harvest | 14146358 | 119 days ago | IN | 0 frxETH | 0.00000177 | ||||
Harvest | 14104073 | 120 days ago | IN | 0 frxETH | 0.00000177 | ||||
Harvest | 14061774 | 121 days ago | IN | 0 frxETH | 0.00000177 | ||||
Harvest | 14019476 | 122 days ago | IN | 0 frxETH | 0.00000177 | ||||
Harvest | 13978054 | 123 days ago | IN | 0 frxETH | 0.00000177 | ||||
Harvest | 13935769 | 124 days ago | IN | 0 frxETH | 0.00000174 | ||||
Harvest | 13858375 | 126 days ago | IN | 0 frxETH | 0.00000177 | ||||
Harvest | 13816074 | 127 days ago | IN | 0 frxETH | 0.00000177 | ||||
Harvest | 13661252 | 130 days ago | IN | 0 frxETH | 0.00000177 | ||||
Harvest | 13592889 | 132 days ago | IN | 0 frxETH | 0.00000177 | ||||
Harvest | 13550595 | 133 days ago | IN | 0 frxETH | 0.00000176 | ||||
Harvest | 13491167 | 134 days ago | IN | 0 frxETH | 0.00000176 | ||||
Harvest | 13428159 | 136 days ago | IN | 0 frxETH | 0.00000177 | ||||
Harvest | 13384962 | 137 days ago | IN | 0 frxETH | 0.00000178 |
Loading...
Loading
Contract Name:
StrategyCurveConvexFraxtal
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at fraxscan.com on 2024-04-04 */ // SPDX-License-Identifier: MIT // File: @openzeppelin-4/contracts/token/ERC20/IERC20.sol // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @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); } // File: @openzeppelin-4/contracts/token/ERC20/extensions/draft-IERC20Permit.sol // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @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. */ 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]. */ 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); } // File: @openzeppelin-4/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [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://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin-4/contracts/token/ERC20/utils/SafeERC20.sol // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } 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"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: contracts/BIFI/interfaces/common/IWrappedNative.sol pragma solidity >=0.6.0 <0.9.0; interface IWrappedNative { function deposit() external payable; function withdraw(uint256 wad) external; } // File: contracts/BIFI/interfaces/convex/IConvex.sol pragma solidity >=0.6.0 <0.9.0; interface IConvexBooster { function deposit(uint256 pid, uint256 amount, bool stake) external returns (bool); function earmarkRewards(uint256 _pid) external; function poolInfo(uint256 pid) external view returns ( address lptoken, address token, address gauge, address crvRewards, address stash, bool shutdown ); } interface IConvexBoosterL2 { function deposit(uint256 _pid, uint256 _amount) external returns (bool); function poolInfo(uint256 pid) external view returns ( address lptoken, //the curve lp token address gauge, //the curve gauge address rewards, //the main reward/staking contract bool shutdown, //is this pool shutdown? address factory //a reference to the curve factory used to create this pool (needed for minting crv) ); } interface IConvexRewardPool { function balanceOf(address account) external view returns (uint256); function earned(address account) external view returns (uint256); function periodFinish() external view returns (uint256); function getReward() external; function getReward(address _account, bool _claimExtras) external; function getReward(address _account) external; function withdrawAndUnwrap(uint256 _amount, bool claim) external; function withdrawAllAndUnwrap(bool claim) external; // L2 interface function withdraw(uint256 _amount, bool _claim) external; function emergencyWithdraw(uint256 _amount) external; } // File: contracts/BIFI/interfaces/curve/ICrvMinter.sol pragma solidity >=0.6.0; interface ICrvMinter { function mint(address _gauge) external; } // File: contracts/BIFI/interfaces/curve/IRewardsGauge.sol pragma solidity >=0.6.0 <0.9.0; interface IRewardsGauge { function balanceOf(address account) external view returns (uint256); function claimable_reward(address _addr, address _token) external view returns (uint256); function claim_rewards(address _addr) external; function deposit(uint256 _value) external; function withdraw(uint256 _value) external; function reward_contract() external view returns (address); } // File: contracts/BIFI/interfaces/beefy/IBeefySwapper.sol pragma solidity 0.8.19; interface IBeefySwapper { function swap( address fromToken, address toToken, uint256 amountIn ) external returns (uint256 amountOut); function swap( address fromToken, address toToken, uint256 amountIn, uint256 minAmountOut ) external returns (uint256 amountOut); function getAmountOut( address _fromToken, address _toToken, uint256 _amountIn ) external view returns (uint256 amountOut); struct SwapInfo { address router; bytes data; uint256 amountIndex; uint256 minIndex; int8 minAmountSign; } } // File: @openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library AddressUpgradeable { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * * 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); } } } // File: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol // OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol) pragma solidity ^0.8.2; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in * case an upgrade adds a module that needs to be initialized. * * For example: * * [.hljs-theme-light.nopadding] * ```solidity * contract MyToken is ERC20Upgradeable { * function initialize() initializer public { * __ERC20_init("MyToken", "MTK"); * } * } * * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable { * function initializeV2() reinitializer(2) public { * __ERC20Permit_init("MyToken"); * } * } * ``` * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. * * [CAUTION] * ==== * Avoid leaving a contract uninitialized. * * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed: * * [.hljs-theme-light.nopadding] * ``` * /// @custom:oz-upgrades-unsafe-allow constructor * constructor() { * _disableInitializers(); * } * ``` * ==== */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. * @custom:oz-retyped-from bool */ uint8 private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Triggered when the contract has been initialized or reinitialized. */ event Initialized(uint8 version); /** * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope, * `onlyInitializing` functions can be used to initialize parent contracts. * * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a * constructor. * * Emits an {Initialized} event. */ modifier initializer() { bool isTopLevelCall = !_initializing; require( (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1), "Initializable: contract is already initialized" ); _initialized = 1; if (isTopLevelCall) { _initializing = true; } _; if (isTopLevelCall) { _initializing = false; emit Initialized(1); } } /** * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be * used to initialize parent contracts. * * A reinitializer may be used after the original initialization step. This is essential to configure modules that * are added through upgrades and that require initialization. * * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer` * cannot be nested. If one is invoked in the context of another, execution will revert. * * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in * a contract, executing them in the right order is up to the developer or operator. * * WARNING: setting the version to 255 will prevent any future reinitialization. * * Emits an {Initialized} event. */ modifier reinitializer(uint8 version) { require(!_initializing && _initialized < version, "Initializable: contract is already initialized"); _initialized = version; _initializing = true; _; _initializing = false; emit Initialized(version); } /** * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the * {initializer} and {reinitializer} modifiers, directly or indirectly. */ modifier onlyInitializing() { require(_initializing, "Initializable: contract is not initializing"); _; } /** * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call. * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized * to any version. It is recommended to use this to lock implementation contracts that are designed to be called * through proxies. * * Emits an {Initialized} event the first time it is successfully executed. */ function _disableInitializers() internal virtual { require(!_initializing, "Initializable: contract is initializing"); if (_initialized != type(uint8).max) { _initialized = type(uint8).max; emit Initialized(type(uint8).max); } } /** * @dev Returns the highest version that has been initialized. See {reinitializer}. */ function _getInitializedVersion() internal view returns (uint8) { return _initialized; } /** * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}. */ function _isInitializing() internal view returns (bool) { return _initializing; } } // File: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract ContextUpgradeable is Initializable { function __Context_init() internal onlyInitializing { } function __Context_init_unchained() internal onlyInitializing { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[50] private __gap; } // File: @openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; /** * @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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal onlyInitializing { __Ownable_init_unchained(); } function __Ownable_init_unchained() internal onlyInitializing { _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); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; } // File: @openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol // OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol) pragma solidity ^0.8.0; /** * @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 PausableUpgradeable is Initializable, ContextUpgradeable { /** * @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. */ function __Pausable_init() internal onlyInitializing { __Pausable_init_unchained(); } function __Pausable_init_unchained() internal onlyInitializing { _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()); } /** * @dev This empty reserved space is put in place to allow future versions to add new * variables without shifting down storage in the inheritance chain. * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps */ uint256[49] private __gap; } // File: contracts/BIFI/interfaces/common/IFeeConfig.sol pragma solidity ^0.8.0; interface IFeeConfig { struct FeeCategory { uint256 total; uint256 beefy; uint256 call; uint256 strategist; string label; bool active; } struct AllFees { FeeCategory performance; uint256 deposit; uint256 withdraw; } function getFees(address strategy) external view returns (FeeCategory memory); function stratFeeId(address strategy) external view returns (uint256); function setStratFeeId(uint256 feeId) external; } // File: contracts/BIFI/strategies/Common/StratFeeManagerInitializable.sol pragma solidity ^0.8.0; contract StratFeeManagerInitializable is OwnableUpgradeable, PausableUpgradeable { struct CommonAddresses { address vault; address unirouter; address keeper; address strategist; address beefyFeeRecipient; address beefyFeeConfig; } // common addresses for the strategy address public vault; address public unirouter; address public keeper; address public strategist; address public beefyFeeRecipient; IFeeConfig public beefyFeeConfig; uint256 constant DIVISOR = 1 ether; uint256 constant public WITHDRAWAL_FEE_CAP = 50; uint256 constant public WITHDRAWAL_MAX = 10000; uint256 internal withdrawalFee; event SetStratFeeId(uint256 feeId); event SetWithdrawalFee(uint256 withdrawalFee); event SetVault(address vault); event SetUnirouter(address unirouter); event SetKeeper(address keeper); event SetStrategist(address strategist); event SetBeefyFeeRecipient(address beefyFeeRecipient); event SetBeefyFeeConfig(address beefyFeeConfig); function __StratFeeManager_init(CommonAddresses calldata _commonAddresses) internal onlyInitializing { __Ownable_init(); __Pausable_init(); vault = _commonAddresses.vault; unirouter = _commonAddresses.unirouter; keeper = _commonAddresses.keeper; strategist = _commonAddresses.strategist; beefyFeeRecipient = _commonAddresses.beefyFeeRecipient; beefyFeeConfig = IFeeConfig(_commonAddresses.beefyFeeConfig); withdrawalFee = 10; } // checks that caller is either owner or keeper. modifier onlyManager() { _checkManager(); _; } function _checkManager() internal view { require(msg.sender == owner() || msg.sender == keeper, "!manager"); } // fetch fees from config contract function getFees() internal view returns (IFeeConfig.FeeCategory memory) { return beefyFeeConfig.getFees(address(this)); } // fetch fees from config contract and dynamic deposit/withdraw fees function getAllFees() external view returns (IFeeConfig.AllFees memory) { return IFeeConfig.AllFees(getFees(), depositFee(), withdrawFee()); } function getStratFeeId() external view returns (uint256) { return beefyFeeConfig.stratFeeId(address(this)); } function setStratFeeId(uint256 _feeId) external onlyManager { beefyFeeConfig.setStratFeeId(_feeId); emit SetStratFeeId(_feeId); } // adjust withdrawal fee function setWithdrawalFee(uint256 _fee) public onlyManager { require(_fee <= WITHDRAWAL_FEE_CAP, "!cap"); withdrawalFee = _fee; emit SetWithdrawalFee(_fee); } // set new vault (only for strategy upgrades) function setVault(address _vault) external onlyOwner { vault = _vault; emit SetVault(_vault); } // set new unirouter function setUnirouter(address _unirouter) external onlyOwner { unirouter = _unirouter; emit SetUnirouter(_unirouter); } // set new keeper to manage strat function setKeeper(address _keeper) external onlyManager { keeper = _keeper; emit SetKeeper(_keeper); } // set new strategist address to receive strat fees function setStrategist(address _strategist) external { require(msg.sender == strategist, "!strategist"); strategist = _strategist; emit SetStrategist(_strategist); } // set new beefy fee address to receive beefy fees function setBeefyFeeRecipient(address _beefyFeeRecipient) external onlyOwner { beefyFeeRecipient = _beefyFeeRecipient; emit SetBeefyFeeRecipient(_beefyFeeRecipient); } // set new fee config address to fetch fees function setBeefyFeeConfig(address _beefyFeeConfig) external onlyOwner { beefyFeeConfig = IFeeConfig(_beefyFeeConfig); emit SetBeefyFeeConfig(_beefyFeeConfig); } function depositFee() public virtual view returns (uint256) { return 0; } function withdrawFee() public virtual view returns (uint256) { return paused() ? 0 : withdrawalFee; } function beforeDeposit() external virtual {} } // File: contracts/BIFI/strategies/Common/BaseAllToNativeStrat.sol pragma solidity ^0.8.0; abstract contract BaseAllToNativeStrat is StratFeeManagerInitializable { using SafeERC20 for IERC20; address[] public rewards; mapping(address => uint) public minAmounts; // tokens minimum amount to be swapped address public want; address public native; address public depositToken; uint256 public lastHarvest; uint256 public totalLocked; uint256 public lockDuration; bool public harvestOnDeposit; event StratHarvest(address indexed harvester, uint256 wantHarvested, uint256 tvl); event Deposit(uint256 tvl); event Withdraw(uint256 tvl); event ChargedFees(uint256 callFees, uint256 beefyFees, uint256 strategistFees); function __BaseStrategy_init(address _want, address _native, address[] calldata _rewards, CommonAddresses calldata _commonAddresses) internal onlyInitializing { __StratFeeManager_init(_commonAddresses); want = _want; native = _native; for (uint i; i < _rewards.length; i++) { addReward(_rewards[i]); } lockDuration = 1 days; setWithdrawalFee(0); _giveAllowances(); } // it calculates how much 'want' the strategy has working in the farm. function balanceOfPool() public view virtual returns (uint); function _deposit(uint amount) internal virtual; function _withdraw(uint amount) internal virtual; function _emergencyWithdraw() internal virtual; function _claim() internal virtual; function _verifyRewardToken(address token) internal view virtual; function _giveAllowances() internal virtual; function _removeAllowances() internal virtual; // puts the funds to work function deposit() public whenNotPaused { uint256 wantBal = balanceOfWant(); if (wantBal > 0) { _deposit(wantBal); emit Deposit(balanceOf()); } } function withdraw(uint256 _amount) external { require(msg.sender == vault, "!vault"); uint256 wantBal = balanceOfWant(); if (wantBal < _amount) { _withdraw(_amount - wantBal); wantBal = balanceOfWant(); } if (wantBal > _amount) { wantBal = _amount; } if (tx.origin != owner() && !paused()) { uint256 withdrawalFeeAmount = wantBal * withdrawalFee / WITHDRAWAL_MAX; wantBal = wantBal - withdrawalFeeAmount; } IERC20(want).safeTransfer(vault, wantBal); emit Withdraw(balanceOf()); } function beforeDeposit() external override { if (harvestOnDeposit) { require(msg.sender == vault, "!vault"); _harvest(tx.origin, true); } } function harvest() external virtual { _harvest(tx.origin, false); } function harvest(address callFeeRecipient) external virtual { _harvest(callFeeRecipient, false); } // compounds earnings and charges performance fee function _harvest(address callFeeRecipient, bool onDeposit) internal whenNotPaused { _claim(); _swapRewardsToNative(); uint256 nativeBal = IERC20(native).balanceOf(address(this)); if (nativeBal > minAmounts[native]) { _chargeFees(callFeeRecipient); _swapNativeToWant(); uint256 wantHarvested = balanceOfWant(); totalLocked = wantHarvested + lockedProfit(); lastHarvest = block.timestamp; if (!onDeposit) { deposit(); } emit StratHarvest(msg.sender, wantHarvested, balanceOf()); } } function _swapRewardsToNative() internal virtual { for (uint i; i < rewards.length; ++i) { address token = rewards[i]; uint256 amount = IERC20(token).balanceOf(address(this)); if (amount > minAmounts[token]) { IBeefySwapper(unirouter).swap(token, native, amount); } } } // performance fees function _chargeFees(address callFeeRecipient) internal { IFeeConfig.FeeCategory memory fees = getFees(); uint256 nativeBal = IERC20(native).balanceOf(address(this)) * fees.total / DIVISOR; uint256 callFeeAmount = nativeBal * fees.call / DIVISOR; IERC20(native).safeTransfer(callFeeRecipient, callFeeAmount); uint256 beefyFeeAmount = nativeBal * fees.beefy / DIVISOR; IERC20(native).safeTransfer(beefyFeeRecipient, beefyFeeAmount); uint256 strategistFeeAmount = nativeBal * fees.strategist / DIVISOR; IERC20(native).safeTransfer(strategist, strategistFeeAmount); emit ChargedFees(callFeeAmount, beefyFeeAmount, strategistFeeAmount); } function _swapNativeToWant() internal virtual { if (depositToken == address(0)) { _swap(native, want); } else { if (depositToken != native) { _swap(native, depositToken); } _swap(depositToken, want); } } function _swap(address tokenFrom, address tokenTo) internal { uint bal = IERC20(tokenFrom).balanceOf(address(this)); IBeefySwapper(unirouter).swap(tokenFrom, tokenTo, bal); } function rewardsLength() external view returns (uint) { return rewards.length; } function addReward(address _token) public onlyManager { require(_token != want, "!want"); require(_token != native, "!native"); _verifyRewardToken(_token); rewards.push(_token); _approve(_token, unirouter, 0); _approve(_token, unirouter, type(uint).max); } function removeReward(uint i) external onlyManager { rewards[i] = rewards[rewards.length - 1]; rewards.pop(); } function resetRewards() external onlyManager { for (uint i; i < rewards.length; ++i) { _approve(rewards[i], unirouter, 0); } delete rewards; } function updateUnirouter(address _unirouter) external onlyOwner { for (uint i; i < rewards.length; ++i) { address token = rewards[i]; _approve(token, unirouter, 0); _approve(token, _unirouter, 0); _approve(token, _unirouter, type(uint).max); } if (depositToken != address(0) && depositToken != native) { _approve(depositToken, unirouter, 0); _approve(depositToken, _unirouter, 0); _approve(depositToken, _unirouter, type(uint).max); } _approve(native, unirouter, 0); _approve(native, _unirouter, 0); _approve(native, _unirouter, type(uint).max); unirouter = _unirouter; emit SetUnirouter(_unirouter); } function setRewardMinAmount(address token, uint minAmount) external onlyManager { minAmounts[token] = minAmount; } function setDepositToken(address token) public onlyManager { if (token == address(0)) { depositToken = address(0); return; } require(token != want, "!want"); _verifyRewardToken(token); depositToken = token; _approve(token, unirouter, 0); _approve(token, unirouter, type(uint).max); } function lockedProfit() public view returns (uint256) { if (lockDuration == 0) return 0; uint256 elapsed = block.timestamp - lastHarvest; uint256 remaining = elapsed < lockDuration ? lockDuration - elapsed : 0; return totalLocked * remaining / lockDuration; } // calculate the total underlaying 'want' held by the strat. function balanceOf() public view returns (uint256) { return balanceOfWant() + balanceOfPool() - lockedProfit(); } // it calculates how much 'want' this contract holds. function balanceOfWant() public view returns (uint256) { return IERC20(want).balanceOf(address(this)); } function setHarvestOnDeposit(bool _harvestOnDeposit) public onlyManager { harvestOnDeposit = _harvestOnDeposit; if (harvestOnDeposit) { lockDuration = 0; } else { lockDuration = 1 days; } } function setLockDuration(uint _duration) external onlyManager { lockDuration = _duration; } function rewardsAvailable() external view virtual returns (uint) { return 0; } function callReward() external view virtual returns (uint) { return 0; } // called as part of strat migration. Sends all the available funds back to the vault. function retireStrat() external { require(msg.sender == vault, "!vault"); _emergencyWithdraw(); IERC20(want).transfer(vault, balanceOfWant()); } // pauses deposits and withdraws all funds from third party systems. function panic() public onlyManager { pause(); _emergencyWithdraw(); } function pause() public onlyManager { _pause(); _removeAllowances(); } function unpause() external onlyManager { _unpause(); _giveAllowances(); deposit(); } function _approve(address _token, address _spender, uint amount) internal { IERC20(_token).approve(_spender, amount); } } // File: contracts/BIFI/strategies/Curve/StrategyCurveConvexFraxtal.sol pragma solidity ^0.8.0; // Curve L2 strategy switchable between Curve and Convex contract StrategyCurveConvexFraxtal is BaseAllToNativeStrat { using SafeERC20 for IERC20; // this `pid` means we using Curve gauge and not Convex rewardPool uint constant public NO_PID = 42069; IConvexBoosterL2 public constant booster = IConvexBoosterL2(0xd3327cb05a8E0095A543D582b5B3Ce3e19270389); ICrvMinter public constant minter = ICrvMinter(0xeF672bD94913CB6f1d2812a6e18c1fFdEd8eFf5c); address public gauge; // curve gauge address public rewardPool; // convex base reward pool uint public pid; // convex booster poolId bool public isCrvMintable; // if CRV can be minted via Minter (gauge is added to Controller) bool public isCurveRewardsClaimable; // if extra rewards in curve gauge should be claimed function initialize( address _native, address _want, address _gauge, uint _pid, address _depositToken, address[] calldata _rewards, address delegationRegistry, address initialDelegate, CommonAddresses calldata _commonAddresses ) public initializer { gauge = _gauge; pid = _pid; if (_rewards.length > 1) { isCurveRewardsClaimable = true; } if (_pid != NO_PID) { (,,rewardPool,,) = booster.poolInfo(_pid); } else { isCrvMintable = true; } __BaseStrategy_init(_want, _native, _rewards, _commonAddresses); setDepositToken(_depositToken); setHarvestOnDeposit(true); if (delegationRegistry != address(0)) { delegationRegistry.call(abi.encodeWithSignature("setDelegationForSelf(address)", initialDelegate)); delegationRegistry.call(abi.encodeWithSignature("disableSelfManagingDelegations()")); } } function balanceOfPool() public view override returns (uint) { if (rewardPool != address(0)) { return IConvexRewardPool(rewardPool).balanceOf(address(this)); } else { return IRewardsGauge(gauge).balanceOf(address(this)); } } function _deposit(uint amount) internal override { if (rewardPool != address(0)) { booster.deposit(pid, amount); } else { IRewardsGauge(gauge).deposit(amount); } } function _withdraw(uint amount) internal override { if (amount > 0) { if (rewardPool != address(0)) { IConvexRewardPool(rewardPool).withdraw(amount, false); } else { IRewardsGauge(gauge).withdraw(amount); } } } function _emergencyWithdraw() internal override { uint amount = balanceOfPool(); if (amount > 0) { if (rewardPool != address(0)) { IConvexRewardPool(rewardPool).emergencyWithdraw(amount); } else { IRewardsGauge(gauge).withdraw(amount); } } } function _claim() internal override { if (rewardPool != address(0)) { IConvexRewardPool(rewardPool).getReward(address(this)); } else { if (isCrvMintable) minter.mint(gauge); if (isCurveRewardsClaimable) IRewardsGauge(gauge).claim_rewards(address(this)); } } function _verifyRewardToken(address token) internal view override { require(token != gauge, "!gauge"); require(token != rewardPool, "!rewardPool"); } function _giveAllowances() internal override { uint amount = type(uint).max; _approve(want, address(gauge), amount); if (pid != NO_PID) _approve(want, address(booster), type(uint).max); _approve(native, unirouter, amount); } function _removeAllowances() internal override { _approve(want, address(gauge), 0); _approve(want, address(booster), 0); _approve(native, unirouter, 0); } function setConvexPid(uint _pid) external onlyOwner { _withdraw(balanceOfPool()); if (_pid != NO_PID) { (,,rewardPool,,) = booster.poolInfo(_pid); if (IERC20(want).allowance(address(this), address(booster)) == 0) { _approve(want, address(booster), type(uint).max); } } else { rewardPool = address(0); } pid = _pid; deposit(); } function setCrvMintable(bool _isCrvMintable) external onlyManager { isCrvMintable = _isCrvMintable; } function setCurveRewardsClaimable(bool _isCurveRewardsClaimable) external onlyManager { isCurveRewardsClaimable = _isCurveRewardsClaimable; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"callFees","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"beefyFees","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"strategistFees","type":"uint256"}],"name":"ChargedFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tvl","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","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":"beefyFeeConfig","type":"address"}],"name":"SetBeefyFeeConfig","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"beefyFeeRecipient","type":"address"}],"name":"SetBeefyFeeRecipient","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"keeper","type":"address"}],"name":"SetKeeper","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"feeId","type":"uint256"}],"name":"SetStratFeeId","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"strategist","type":"address"}],"name":"SetStrategist","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"unirouter","type":"address"}],"name":"SetUnirouter","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"vault","type":"address"}],"name":"SetVault","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"withdrawalFee","type":"uint256"}],"name":"SetWithdrawalFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"harvester","type":"address"},{"indexed":false,"internalType":"uint256","name":"wantHarvested","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tvl","type":"uint256"}],"name":"StratHarvest","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":"tvl","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"NO_PID","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_FEE_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWAL_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"addReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfPool","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"balanceOfWant","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beefyFeeConfig","outputs":[{"internalType":"contract IFeeConfig","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beefyFeeRecipient","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beforeDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"booster","outputs":[{"internalType":"contract IConvexBoosterL2","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"callReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"depositFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"depositToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gauge","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllFees","outputs":[{"components":[{"components":[{"internalType":"uint256","name":"total","type":"uint256"},{"internalType":"uint256","name":"beefy","type":"uint256"},{"internalType":"uint256","name":"call","type":"uint256"},{"internalType":"uint256","name":"strategist","type":"uint256"},{"internalType":"string","name":"label","type":"string"},{"internalType":"bool","name":"active","type":"bool"}],"internalType":"struct IFeeConfig.FeeCategory","name":"performance","type":"tuple"},{"internalType":"uint256","name":"deposit","type":"uint256"},{"internalType":"uint256","name":"withdraw","type":"uint256"}],"internalType":"struct IFeeConfig.AllFees","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getStratFeeId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"callFeeRecipient","type":"address"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"harvestOnDeposit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_native","type":"address"},{"internalType":"address","name":"_want","type":"address"},{"internalType":"address","name":"_gauge","type":"address"},{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_depositToken","type":"address"},{"internalType":"address[]","name":"_rewards","type":"address[]"},{"internalType":"address","name":"delegationRegistry","type":"address"},{"internalType":"address","name":"initialDelegate","type":"address"},{"components":[{"internalType":"address","name":"vault","type":"address"},{"internalType":"address","name":"unirouter","type":"address"},{"internalType":"address","name":"keeper","type":"address"},{"internalType":"address","name":"strategist","type":"address"},{"internalType":"address","name":"beefyFeeRecipient","type":"address"},{"internalType":"address","name":"beefyFeeConfig","type":"address"}],"internalType":"struct StratFeeManagerInitializable.CommonAddresses","name":"_commonAddresses","type":"tuple"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isCrvMintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isCurveRewardsClaimable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keeper","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastHarvest","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockedProfit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minter","outputs":[{"internalType":"contract ICrvMinter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"native","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"panic","outputs":[],"stateMutability":"nonpayable","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":"pid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"i","type":"uint256"}],"name":"removeReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"resetRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"retireStrat","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsAvailable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_beefyFeeConfig","type":"address"}],"name":"setBeefyFeeConfig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_beefyFeeRecipient","type":"address"}],"name":"setBeefyFeeRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"setConvexPid","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isCrvMintable","type":"bool"}],"name":"setCrvMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isCurveRewardsClaimable","type":"bool"}],"name":"setCurveRewardsClaimable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"setDepositToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_harvestOnDeposit","type":"bool"}],"name":"setHarvestOnDeposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_keeper","type":"address"}],"name":"setKeeper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setLockDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"minAmount","type":"uint256"}],"name":"setRewardMinAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feeId","type":"uint256"}],"name":"setStratFeeId","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_strategist","type":"address"}],"name":"setStrategist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_unirouter","type":"address"}],"name":"setUnirouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_vault","type":"address"}],"name":"setVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setWithdrawalFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strategist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLocked","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":"unirouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_unirouter","type":"address"}],"name":"updateUnirouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"vault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"want","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506134b9806100206000396000f3fe608060405234801561001057600080fd5b50600436106104075760003560e01c80638cfc025011610220578063c379c9ae11610130578063e7a7250a116100b8578063f2fde38b11610087578063f2fde38b146107f8578063f301af421461080b578063fac0239d1461081e578063fb61778714610831578063fbfa77cf1461083957600080fd5b8063e7a7250a146105d1578063e941fa78146107de578063f1068454146107e6578063f1a392da146107ef57600080fd5b8063c89039c5116100ff578063c89039c514610795578063d0e30db0146107a8578063d92f3d73146107b0578063dfbdc437146107c3578063e2e91c46146107cb57600080fd5b8063c379c9ae1461074b578063c553173f14610754578063c6def07614610767578063c7b9d5301461078257600080fd5b8063a7e9ca82116101b3578063b20feaaf11610182578063b20feaaf14610700578063b407984a14610715578063bbb19a5814610728578063bbb356d51461073b578063c1a3d44c1461074357600080fd5b8063a7e9ca82146106bf578063ac1e5025146106d2578063aced1661146106e5578063ad29f5da146106f857600080fd5b80639c5e52d5116101ef5780639c5e52d5146106615780639c9b2e2114610681578063a68833e514610694578063a6f19c84146106a757600080fd5b80638cfc0250146106355780638da5cb5b1461063d5780638e1454591461064e57806397fd323d146105d157600080fd5b80634641257d1161031b57806366666aa9116102ae578063715018a61161027d578063715018a6146105fd578063722713f714610605578063748747e61461060d5780638456cb59146106205780638912cb8b1461062857600080fd5b806366666aa9146105be57806367a52793146105d15780636817031b146105d85780636dce8229146105eb57600080fd5b806354518b1a116102ea57806354518b1a1461059957806356891412146105a2578063573fef0a146105ab5780635c975abb146105b357600080fd5b80634641257d146105635780634700d3051461056b5780634746fb55146105735780634eb665af1461058657600080fd5b80631f1fcd511161039e5780633b1d802e1161036d5780633b1d802e146105105780633e55f9321461052d5780633f4ba83a1461054057806344b813961461054857806345b099451461055057600080fd5b80631f1fcd51146104c45780631fe4a686146104d7578063257ae0de146104ea5780632e1a7d4d146104fd57600080fd5b80630e8fbb5a116103da5780630e8fbb5a14610483578063106fdbd01461049657806311588086146104a957806311b0b42d146104b157600080fd5b8063045544431461040c57806307546172146104285780630c4ed7991461045b5780630e5c011e14610470575b600080fd5b61041560a55481565b6040519081526020015b60405180910390f35b61044373ef672bd94913cb6f1d2812a6e18c1ffded8eff5c81565b6040516001600160a01b03909116815260200161041f565b61046e610469366004612e9d565b61084c565b005b61046e61047e366004612e9d565b610917565b61046e610491366004612ec8565b610922565b61046e6104a4366004612e9d565b610955565b6104156109b2565b60a154610443906001600160a01b031681565b60a054610443906001600160a01b031681565b609a54610443906001600160a01b031681565b609854610443906001600160a01b031681565b61046e61050b366004612ee5565b610a6c565b60a95461051d9060ff1681565b604051901515815260200161041f565b61046e61053b366004612ee5565b610b7d565b61046e610c14565b610415610c36565b61046e61055e366004612f16565b610c9e565b61046e610feb565b61046e610ff6565b609c54610443906001600160a01b031681565b61046e610594366004612ee5565b61100e565b61041561271081565b61041560a45481565b61046e61101b565b60655460ff1661051d565b60a754610443906001600160a01b031681565b6000610415565b61046e6105e6366004612e9d565b61105b565b60a95461051d90610100900460ff1681565b61046e6110b1565b6104156110c3565b61046e61061b366004612e9d565b6110f1565b61046e611147565b60a65461051d9060ff1681565b61041561115f565b6033546001600160a01b0316610443565b609b54610443906001600160a01b031681565b61041561066f366004612e9d565b609f6020526000908152604090205481565b61046e61068f366004612e9d565b611190565b61046e6106a2366004612e9d565b611291565b60a6546104439061010090046001600160a01b031681565b61046e6106cd366004613014565b6112e7565b61046e6106e0366004612ee5565b61130b565b609954610443906001600160a01b031681565b61046e611382565b6107086113ec565b60405161041f9190613090565b61046e610723366004612ec8565b611422565b61046e610736366004612e9d565b611444565b609e54610415565b6104156115df565b61041561a45581565b61046e610762366004612ee5565b611610565b61044373d3327cb05a8e0095a543d582b5b3ce3e1927038981565b61046e610790366004612e9d565b6116c8565b60a254610443906001600160a01b031681565b61046e61175e565b61046e6107be366004612e9d565b6117b8565b610415603281565b61046e6107d9366004612ec8565b6117c0565b6104156117db565b61041560a85481565b61041560a35481565b61046e610806366004612e9d565b6117fa565b610443610819366004612ee5565b611870565b61046e61082c366004612ee5565b61189a565b61046e611a1e565b609754610443906001600160a01b031681565b610854611ae0565b6001600160a01b0381166108755760a280546001600160a01b031916905550565b60a0546001600160a01b03908116908216036108c05760405162461bcd60e51b8152602060048201526005602482015264085dd85b9d60da1b60448201526064015b60405180910390fd5b6108c981611b3a565b60a280546001600160a01b0319166001600160a01b03838116919091179091556098546108fa918391166000611bd2565b6098546109149082906001600160a01b0316600019611bd2565b50565b610914816000611c4b565b61092a611ae0565b60a6805460ff191682151590811790915560ff161561094b57600060a55550565b6201518060a55550565b61095d611d82565b609c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f91e28ce4210d103c13c5174847e463b836900f8dc63e9d9b42a4255169d19529906020015b60405180910390a150565b60a7546000906001600160a01b031615610a385760a7546040516370a0823160e01b81523060048201526001600160a01b03909116906370a08231906024015b602060405180830381865afa158015610a0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a33919061310d565b905090565b60a6546040516370a0823160e01b81523060048201526101009091046001600160a01b0316906370a08231906024016109f2565b6097546001600160a01b03163314610a965760405162461bcd60e51b81526004016108b790613126565b6000610aa06115df565b905081811015610ac757610abc610ab7828461315c565b611ddc565b610ac46115df565b90505b81811115610ad25750805b6033546001600160a01b03163214801590610af0575060655460ff16155b15610b22576000612710609d5483610b089190613175565b610b12919061318c565b9050610b1e818361315c565b9150505b60975460a054610b3f916001600160a01b03918216911683611ea6565b7f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d610b686110c3565b60405190815260200160405180910390a15050565b610b85611ae0565b609c54604051631f2afc9960e11b8152600481018390526001600160a01b0390911690633e55f93290602401600060405180830381600087803b158015610bcb57600080fd5b505af1158015610bdf573d6000803e3d6000fd5b505050507f9163810ee1e29168d4ce900e48a333fb8fbd3fd070d2bef67f6d4db0846a469f816040516109a791815260200190565b610c1c611ae0565b610c24611ef8565b610c2c611f4a565b610c3461175e565b565b600060a554600003610c485750600090565b600060a35442610c58919061315c565b9050600060a5548210610c6c576000610c7a565b8160a554610c7a919061315c565b905060a5548160a454610c8d9190613175565b610c97919061318c565b9250505090565b600054610100900460ff1615808015610cbe5750600054600160ff909116105b80610cd85750303b158015610cd8575060005460ff166001145b610d3b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108b7565b6000805460ff191660011790558015610d5e576000805461ff0019166101001790555b60a68054610100600160a81b0319166101006001600160a01b038c160217905560a88890556001851115610d9c5760a9805461ff0019166101001790555b61a4558814610e4357604051631526fe2760e01b81526004810189905273d3327cb05a8e0095a543d582b5b3ce3e1927038990631526fe279060240160a060405180830381865afa158015610df5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1991906131b9565b505060a780546001600160a01b0319166001600160a01b039290921691909117905550610e519050565b60a9805460ff191660011790555b610e5e8a8c888886611fc6565b610e678761084c565b610e716001610922565b6001600160a01b03841615610f98576040516001600160a01b03848116602483015285169060440160408051601f198184030181529181526020820180516001600160e01b03166302b8a21d60e01b17905251610ece919061322e565b6000604051808303816000865af19150503d8060008114610f0b576040519150601f19603f3d011682016040523d82523d6000602084013e610f10565b606091505b505060408051600481526024810182526020810180516001600160e01b03166325ce9a3760e01b17905290516001600160a01b0387169250610f52919061322e565b6000604051808303816000865af19150503d8060008114610f8f576040519150601f19603f3d011682016040523d82523d6000602084013e610f94565b606091505b5050505b8015610fde576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050505050565b610c34326000611c4b565b610ffe611ae0565b611006611147565b610c34612087565b611016611ae0565b60a555565b60a65460ff1615610c34576097546001600160a01b031633146110505760405162461bcd60e51b81526004016108b790613126565b610c34326001611c4b565b611063611d82565b609780546001600160a01b0319166001600160a01b0383169081179091556040519081527fd459c7242e23d490831b5676a611c4342d899d28f342d89ae80793e56a930f30906020016109a7565b6110b9611d82565b610c3460006120db565b60006110cd610c36565b6110d56109b2565b6110dd6115df565b6110e7919061324a565b610a33919061315c565b6110f9611ae0565b609980546001600160a01b0319166001600160a01b0383169081179091556040519081527fefb5cfa1a8690c124332ab93324539c5c9c4be03f28aeb8be86f2d8a0c9fb99b906020016109a7565b61114f611ae0565b61115761212d565b610c3461216a565b609c54604051636788231160e11b81523060048201526000916001600160a01b03169063cf104622906024016109f2565b611198611ae0565b60a0546001600160a01b03908116908216036111de5760405162461bcd60e51b8152602060048201526005602482015264085dd85b9d60da1b60448201526064016108b7565b60a1546001600160a01b03908116908216036112265760405162461bcd60e51b8152602060048201526007602482015266216e617469766560c81b60448201526064016108b7565b61122f81611b3a565b609e805460018101825560009182527fcfe2a20ff701a1f3e14f63bd70d6c6bc6fba8172ec6d5a505cdab3927c0a9de60180546001600160a01b0319166001600160a01b03848116919091179091556098546108fa9284929190911690611bd2565b611299611d82565b609b80546001600160a01b0319166001600160a01b0383169081179091556040519081527f8041329bf7057543a2c2ff4e4071d1d488a31f82ed44e169b5cd2f04f5e3ac85906020016109a7565b6112ef611ae0565b6001600160a01b039091166000908152609f6020526040902055565b611313611ae0565b603281111561134d5760405162461bcd60e51b81526004016108b7906020808252600490820152630216361760e41b604082015260600190565b609d8190556040518181527f3aa4413905e8f015896ec5880bdde24088ccb19b578f9fcf6800354d5320d4af906020016109a7565b61138a611ae0565b60005b609e548110156113df576113cf609e82815481106113ad576113ad61325d565b60009182526020822001546098546001600160a01b0391821692911690611bd2565b6113d881613273565b905061138d565b50610c34609e6000612de7565b6113f4612e05565b60405180606001604052806114076121d7565b81526020016000815260200161141b6117db565b9052919050565b61142a611ae0565b60a980549115156101000261ff0019909216919091179055565b61144c611d82565b60005b609e548110156114c2576000609e828154811061146e5761146e61325d565b60009182526020822001546098546001600160a01b03918216935061149892849290911690611bd2565b6114a481846000611bd2565b6114b18184600019611bd2565b506114bb81613273565b905061144f565b5060a2546001600160a01b0316158015906114ee575060a15460a2546001600160a01b03908116911614155b156115425760a254609854611511916001600160a01b0390811691166000611bd2565b60a254611529906001600160a01b0316826000611bd2565b60a254611542906001600160a01b031682600019611bd2565b60a154609854611560916001600160a01b0390811691166000611bd2565b60a154611578906001600160a01b0316826000611bd2565b60a154611591906001600160a01b031682600019611bd2565b609880546001600160a01b0319166001600160a01b0383169081179091556040519081527f5ca6e64c4522e68e154aa9372f2c5969cd37d9640e59f66953dc472f54ee86fa906020016109a7565b60a0546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a08231906024016109f2565b611618611ae0565b609e80546116289060019061315c565b815481106116385761163861325d565b600091825260209091200154609e80546001600160a01b0390921691839081106116645761166461325d565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550609e8054806116a3576116a361328c565b600082815260209020810160001990810180546001600160a01b031916905501905550565b609a546001600160a01b031633146117105760405162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b60448201526064016108b7565b609a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f46d58e3fa07bf19b1d27240f0e286b27e9f7c1b0d88933333fe833b60eec5412906020016109a7565b611766612282565b60006117706115df565b9050801561091457611781816122c8565b7f4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e384266117aa6110c3565b6040519081526020016109a7565b611591611d82565b6117c8611ae0565b60a9805460ff1916911515919091179055565b60006117e960655460ff1690565b6117f45750609d5490565b50600090565b611802611d82565b6001600160a01b0381166118675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b7565b610914816120db565b609e818154811061188057600080fd5b6000918252602090912001546001600160a01b0316905081565b6118a2611d82565b6118ad610ab76109b2565b61a4558114611a0057604051631526fe2760e01b81526004810182905273d3327cb05a8e0095a543d582b5b3ce3e1927038990631526fe279060240160a060405180830381865afa158015611906573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192a91906131b9565b505060a780546001600160a01b0319166001600160a01b0392831617905560a054604051636eb1769f60e11b815230600482015273d3327cb05a8e0095a543d582b5b3ce3e1927038960248201529116925063dd62ed3e9150604401602060405180830381865afa1580156119a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c7919061310d565b6000036119fb5760a0546119fb906001600160a01b031673d3327cb05a8e0095a543d582b5b3ce3e19270389600019611bd2565b611a11565b60a780546001600160a01b03191690555b60a881905561091461175e565b6097546001600160a01b03163314611a485760405162461bcd60e51b81526004016108b790613126565b611a50612087565b60a0546097546001600160a01b039182169163a9059cbb9116611a716115df565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015611abc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091491906132a2565b6033546001600160a01b0316331480611b0357506099546001600160a01b031633145b610c345760405162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b60448201526064016108b7565b60a6546001600160a01b03610100909104811690821603611b865760405162461bcd60e51b815260206004820152600660248201526521676175676560d01b60448201526064016108b7565b60a7546001600160a01b03908116908216036109145760405162461bcd60e51b815260206004820152600b60248201526a085c995dd85c99141bdbdb60aa1b60448201526064016108b7565b60405163095ea7b360e01b81526001600160a01b0383811660048301526024820183905284169063095ea7b3906044016020604051808303816000875af1158015611c21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4591906132a2565b50505050565b611c53612282565b611c5b612393565b611c636124c3565b60a1546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611cac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd0919061310d565b60a1546001600160a01b03166000908152609f6020526040902054909150811115611d7d57611cfe83612615565b611d066127c4565b6000611d106115df565b9050611d1a610c36565b611d24908261324a565b60a4554260a35582611d3857611d3861175e565b337f9bc239f1724cacfb88cb1d66a2dc437467699b68a8c90d7b63110cf4b6f9241082611d636110c3565b6040805192835260208301919091520160405180910390a2505b505050565b6033546001600160a01b03163314610c345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108b7565b80156109145760a7546001600160a01b031615611e5c5760a754604051631c683a1b60e11b815260048101839052600060248201526001600160a01b03909116906338d07436906044015b600060405180830381600087803b158015611e4157600080fd5b505af1158015611e55573d6000803e3d6000fd5b5050505050565b60a654604051632e1a7d4d60e01b8152600481018390526101009091046001600160a01b031690632e1a7d4d90602401600060405180830381600087803b158015611e4157600080fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611d7d908490612840565b611f00612912565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60a05460a65460001991611f71916001600160a01b03918216916101009091041683611bd2565b61a45560a85414611fa95760a054611fa9906001600160a01b031673d3327cb05a8e0095a543d582b5b3ce3e19270389600019611bd2565b60a154609854610914916001600160a01b03908116911683611bd2565b600054610100900460ff16611fed5760405162461bcd60e51b81526004016108b7906132bf565b611ff68161295b565b60a080546001600160a01b038088166001600160a01b03199283161790925560a180549287169290911691909117905560005b8281101561206d5761205b8484838181106120465761204661325d565b905060200201602081019061068f9190612e9d565b8061206581613273565b915050612029565b506201518060a55561207f600061130b565b611e55611f4a565b60006120916109b2565b905080156109145760a7546001600160a01b031615611e5c5760a754604051632989754760e11b8152600481018390526001600160a01b0390911690635312ea8e90602401611e27565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612135612282565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f2d3390565b60a05460a65461218d916001600160a01b03908116916101009004166000611bd2565b60a0546121b9906001600160a01b031673d3327cb05a8e0095a543d582b5b3ce3e192703896000611bd2565b60a154609854610c34916001600160a01b0390811691166000611bd2565b6122126040518060c0016040528060008152602001600081526020016000815260200160008152602001606081526020016000151581525090565b609c54604051639af608c960e01b81523060048201526001600160a01b0390911690639af608c990602401600060405180830381865afa15801561225a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a33919081019061337a565b60655460ff1615610c345760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108b7565b60a7546001600160a01b03161561235e5760a854604051631c57762b60e31b815260048101919091526024810182905273d3327cb05a8e0095a543d582b5b3ce3e192703899063e2bbb158906044016020604051808303816000875af1158015612336573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235a91906132a2565b5050565b60a65460405163b6b55f2560e01b8152600481018390526101009091046001600160a01b03169063b6b55f2590602401611e27565b60a7546001600160a01b0316156123fe5760a754604051630c00007b60e41b81523060048201526001600160a01b039091169063c00007b0906024015b600060405180830381600087803b1580156123ea57600080fd5b505af1158015611c45573d6000803e3d6000fd5b60a95460ff161561247f5760a6546040516335313c2160e11b81526101009091046001600160a01b0316600482015273ef672bd94913cb6f1d2812a6e18c1ffded8eff5c90636a62784290602401600060405180830381600087803b15801561246657600080fd5b505af115801561247a573d6000803e3d6000fd5b505050505b60a954610100900460ff1615610c345760a654604051634274debf60e11b81523060048201526101009091046001600160a01b0316906384e9bd7e906024016123d0565b60005b609e54811015610914576000609e82815481106124e5576124e561325d565b60009182526020822001546040516370a0823160e01b81523060048201526001600160a01b03909116925082906370a0823190602401602060405180830381865afa158015612538573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255c919061310d565b6001600160a01b0383166000908152609f60205260409020549091508111156126025760985460a154604051630df791e560e41b81526001600160a01b03858116600483015291821660248201526044810184905291169063df791e50906064016020604051808303816000875af11580156125dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612600919061310d565b505b50508061260e90613273565b90506124c6565b600061261f6121d7565b805160a1546040516370a0823160e01b8152306004820152929350600092670de0b6b3a764000092916001600160a01b0316906370a0823190602401602060405180830381865afa158015612678573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269c919061310d565b6126a69190613175565b6126b0919061318c565b90506000670de0b6b3a76400008360400151836126cd9190613175565b6126d7919061318c565b60a1549091506126f1906001600160a01b03168583611ea6565b6000670de0b6b3a764000084602001518461270c9190613175565b612716919061318c565b609b5460a154919250612736916001600160a01b03908116911683611ea6565b6000670de0b6b3a76400008560600151856127519190613175565b61275b919061318c565b609a5460a15491925061277b916001600160a01b03908116911683611ea6565b60408051848152602081018490529081018290527fd255b592c7f268a73e534da5219a60ff911b4cf6daae21c7d20527dd657bd99a9060600160405180910390a1505050505050565b60a2546001600160a01b03166127f05760a15460a054610c34916001600160a01b039081169116612ab7565b60a15460a2546001600160a01b039081169116146128245760a15460a254612824916001600160a01b039081169116612ab7565b60a25460a054610c34916001600160a01b039081169116612ab7565b6000612895826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ba39092919063ffffffff16565b805190915015611d7d57808060200190518101906128b391906132a2565b611d7d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108b7565b60655460ff16610c345760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016108b7565b600054610100900460ff166129825760405162461bcd60e51b81526004016108b7906132bf565b61298a612bbc565b612992612beb565b61299f6020820182612e9d565b609780546001600160a01b0319166001600160a01b03929092169190911790556129cf6040820160208301612e9d565b609880546001600160a01b0319166001600160a01b03929092169190911790556129ff6060820160408301612e9d565b609980546001600160a01b0319166001600160a01b0392909216919091179055612a2f6080820160608301612e9d565b609a80546001600160a01b0319166001600160a01b0392909216919091179055612a5f60a0820160808301612e9d565b609b80546001600160a01b0319166001600160a01b0392909216919091179055612a8f60c0820160a08301612e9d565b609c80546001600160a01b0319166001600160a01b039290921691909117905550600a609d55565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015612afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b22919061310d565b609854604051630df791e560e41b81526001600160a01b03868116600483015285811660248301526044820184905292935091169063df791e50906064016020604051808303816000875af1158015612b7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c45919061310d565b6060612bb28484600085612c1a565b90505b9392505050565b600054610100900460ff16612be35760405162461bcd60e51b81526004016108b7906132bf565b610c34612d4b565b600054610100900460ff16612c125760405162461bcd60e51b81526004016108b7906132bf565b610c34612d7b565b606082471015612c7b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108b7565b6001600160a01b0385163b612cd25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108b7565b600080866001600160a01b03168587604051612cee919061322e565b60006040518083038185875af1925050503d8060008114612d2b576040519150601f19603f3d011682016040523d82523d6000602084013e612d30565b606091505b5091509150612d40828286612dae565b979650505050505050565b600054610100900460ff16612d725760405162461bcd60e51b81526004016108b7906132bf565b610c34336120db565b600054610100900460ff16612da25760405162461bcd60e51b81526004016108b7906132bf565b6065805460ff19169055565b60608315612dbd575081612bb5565b825115612dcd5782518084602001fd5b8160405162461bcd60e51b81526004016108b79190613470565b50805460008255906000526020600020908101906109149190612e5f565b6040518060600160405280612e4b6040518060c0016040528060008152602001600081526020016000815260200160008152602001606081526020016000151581525090565b815260200160008152602001600081525090565b5b80821115612e745760008155600101612e60565b5090565b6001600160a01b038116811461091457600080fd5b8035612e9881612e78565b919050565b600060208284031215612eaf57600080fd5b8135612bb581612e78565b801515811461091457600080fd5b600060208284031215612eda57600080fd5b8135612bb581612eba565b600060208284031215612ef757600080fd5b5035919050565b600060c08284031215612f1057600080fd5b50919050565b6000806000806000806000806000806101c08b8d031215612f3657600080fd5b8a35612f4181612e78565b995060208b0135612f5181612e78565b985060408b0135612f6181612e78565b975060608b0135965060808b0135612f7881612e78565b955060a08b013567ffffffffffffffff80821115612f9557600080fd5b818d0191508d601f830112612fa957600080fd5b813581811115612fb857600080fd5b8e60208260051b8501011115612fcd57600080fd5b602083019750809650505050612fe560c08c01612e8d565b9250612ff360e08c01612e8d565b91506130038c6101008d01612efe565b90509295989b9194979a5092959850565b6000806040838503121561302757600080fd5b823561303281612e78565b946020939093013593505050565b60005b8381101561305b578181015183820152602001613043565b50506000910152565b6000815180845261307c816020860160208601613040565b601f01601f19169290920160200192915050565b60208152600082516060602084015280516080840152602081015160a0840152604081015160c0840152606081015160e0840152608081015160c06101008501526130df610140850182613064565b905060a082015115156101208501526020850151604085015260408501516060850152809250505092915050565b60006020828403121561311f57600080fd5b5051919050565b602080825260069082015265085d985d5b1d60d21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561316f5761316f613146565b92915050565b808202811582820484141761316f5761316f613146565b6000826131a957634e487b7160e01b600052601260045260246000fd5b500490565b8051612e9881612eba565b600080600080600060a086880312156131d157600080fd5b85516131dc81612e78565b60208701519095506131ed81612e78565b60408701519094506131fe81612e78565b606087015190935061320f81612eba565b608087015190925061322081612e78565b809150509295509295909350565b60008251613240818460208701613040565b9190910192915050565b8082018082111561316f5761316f613146565b634e487b7160e01b600052603260045260246000fd5b60006001820161328557613285613146565b5060010190565b634e487b7160e01b600052603160045260246000fd5b6000602082840312156132b457600080fd5b8151612bb581612eba565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b634e487b7160e01b600052604160045260246000fd5b60405160c0810167ffffffffffffffff811182821017156133435761334361330a565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156133725761337261330a565b604052919050565b6000602080838503121561338d57600080fd5b825167ffffffffffffffff808211156133a557600080fd5b9084019060c082870312156133b957600080fd5b6133c1613320565b82518152838301518482015260408301516040820152606083015160608201526080830151828111156133f357600080fd5b8301601f8101881361340457600080fd5b8051838111156134165761341661330a565b613428601f8201601f19168701613349565b9350808452888682840101111561343e57600080fd5b61344d81878601888501613040565b505081608082015261346160a084016131ae565b60a08201529695505050505050565b602081526000612bb5602083018461306456fea2646970667358221220e42c2b695c3fe0d10c559800a84e89d0a9e7852b65c1467ce3416a1c79779b3964736f6c63430008130033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106104075760003560e01c80638cfc025011610220578063c379c9ae11610130578063e7a7250a116100b8578063f2fde38b11610087578063f2fde38b146107f8578063f301af421461080b578063fac0239d1461081e578063fb61778714610831578063fbfa77cf1461083957600080fd5b8063e7a7250a146105d1578063e941fa78146107de578063f1068454146107e6578063f1a392da146107ef57600080fd5b8063c89039c5116100ff578063c89039c514610795578063d0e30db0146107a8578063d92f3d73146107b0578063dfbdc437146107c3578063e2e91c46146107cb57600080fd5b8063c379c9ae1461074b578063c553173f14610754578063c6def07614610767578063c7b9d5301461078257600080fd5b8063a7e9ca82116101b3578063b20feaaf11610182578063b20feaaf14610700578063b407984a14610715578063bbb19a5814610728578063bbb356d51461073b578063c1a3d44c1461074357600080fd5b8063a7e9ca82146106bf578063ac1e5025146106d2578063aced1661146106e5578063ad29f5da146106f857600080fd5b80639c5e52d5116101ef5780639c5e52d5146106615780639c9b2e2114610681578063a68833e514610694578063a6f19c84146106a757600080fd5b80638cfc0250146106355780638da5cb5b1461063d5780638e1454591461064e57806397fd323d146105d157600080fd5b80634641257d1161031b57806366666aa9116102ae578063715018a61161027d578063715018a6146105fd578063722713f714610605578063748747e61461060d5780638456cb59146106205780638912cb8b1461062857600080fd5b806366666aa9146105be57806367a52793146105d15780636817031b146105d85780636dce8229146105eb57600080fd5b806354518b1a116102ea57806354518b1a1461059957806356891412146105a2578063573fef0a146105ab5780635c975abb146105b357600080fd5b80634641257d146105635780634700d3051461056b5780634746fb55146105735780634eb665af1461058657600080fd5b80631f1fcd511161039e5780633b1d802e1161036d5780633b1d802e146105105780633e55f9321461052d5780633f4ba83a1461054057806344b813961461054857806345b099451461055057600080fd5b80631f1fcd51146104c45780631fe4a686146104d7578063257ae0de146104ea5780632e1a7d4d146104fd57600080fd5b80630e8fbb5a116103da5780630e8fbb5a14610483578063106fdbd01461049657806311588086146104a957806311b0b42d146104b157600080fd5b8063045544431461040c57806307546172146104285780630c4ed7991461045b5780630e5c011e14610470575b600080fd5b61041560a55481565b6040519081526020015b60405180910390f35b61044373ef672bd94913cb6f1d2812a6e18c1ffded8eff5c81565b6040516001600160a01b03909116815260200161041f565b61046e610469366004612e9d565b61084c565b005b61046e61047e366004612e9d565b610917565b61046e610491366004612ec8565b610922565b61046e6104a4366004612e9d565b610955565b6104156109b2565b60a154610443906001600160a01b031681565b60a054610443906001600160a01b031681565b609a54610443906001600160a01b031681565b609854610443906001600160a01b031681565b61046e61050b366004612ee5565b610a6c565b60a95461051d9060ff1681565b604051901515815260200161041f565b61046e61053b366004612ee5565b610b7d565b61046e610c14565b610415610c36565b61046e61055e366004612f16565b610c9e565b61046e610feb565b61046e610ff6565b609c54610443906001600160a01b031681565b61046e610594366004612ee5565b61100e565b61041561271081565b61041560a45481565b61046e61101b565b60655460ff1661051d565b60a754610443906001600160a01b031681565b6000610415565b61046e6105e6366004612e9d565b61105b565b60a95461051d90610100900460ff1681565b61046e6110b1565b6104156110c3565b61046e61061b366004612e9d565b6110f1565b61046e611147565b60a65461051d9060ff1681565b61041561115f565b6033546001600160a01b0316610443565b609b54610443906001600160a01b031681565b61041561066f366004612e9d565b609f6020526000908152604090205481565b61046e61068f366004612e9d565b611190565b61046e6106a2366004612e9d565b611291565b60a6546104439061010090046001600160a01b031681565b61046e6106cd366004613014565b6112e7565b61046e6106e0366004612ee5565b61130b565b609954610443906001600160a01b031681565b61046e611382565b6107086113ec565b60405161041f9190613090565b61046e610723366004612ec8565b611422565b61046e610736366004612e9d565b611444565b609e54610415565b6104156115df565b61041561a45581565b61046e610762366004612ee5565b611610565b61044373d3327cb05a8e0095a543d582b5b3ce3e1927038981565b61046e610790366004612e9d565b6116c8565b60a254610443906001600160a01b031681565b61046e61175e565b61046e6107be366004612e9d565b6117b8565b610415603281565b61046e6107d9366004612ec8565b6117c0565b6104156117db565b61041560a85481565b61041560a35481565b61046e610806366004612e9d565b6117fa565b610443610819366004612ee5565b611870565b61046e61082c366004612ee5565b61189a565b61046e611a1e565b609754610443906001600160a01b031681565b610854611ae0565b6001600160a01b0381166108755760a280546001600160a01b031916905550565b60a0546001600160a01b03908116908216036108c05760405162461bcd60e51b8152602060048201526005602482015264085dd85b9d60da1b60448201526064015b60405180910390fd5b6108c981611b3a565b60a280546001600160a01b0319166001600160a01b03838116919091179091556098546108fa918391166000611bd2565b6098546109149082906001600160a01b0316600019611bd2565b50565b610914816000611c4b565b61092a611ae0565b60a6805460ff191682151590811790915560ff161561094b57600060a55550565b6201518060a55550565b61095d611d82565b609c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f91e28ce4210d103c13c5174847e463b836900f8dc63e9d9b42a4255169d19529906020015b60405180910390a150565b60a7546000906001600160a01b031615610a385760a7546040516370a0823160e01b81523060048201526001600160a01b03909116906370a08231906024015b602060405180830381865afa158015610a0f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a33919061310d565b905090565b60a6546040516370a0823160e01b81523060048201526101009091046001600160a01b0316906370a08231906024016109f2565b6097546001600160a01b03163314610a965760405162461bcd60e51b81526004016108b790613126565b6000610aa06115df565b905081811015610ac757610abc610ab7828461315c565b611ddc565b610ac46115df565b90505b81811115610ad25750805b6033546001600160a01b03163214801590610af0575060655460ff16155b15610b22576000612710609d5483610b089190613175565b610b12919061318c565b9050610b1e818361315c565b9150505b60975460a054610b3f916001600160a01b03918216911683611ea6565b7f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d610b686110c3565b60405190815260200160405180910390a15050565b610b85611ae0565b609c54604051631f2afc9960e11b8152600481018390526001600160a01b0390911690633e55f93290602401600060405180830381600087803b158015610bcb57600080fd5b505af1158015610bdf573d6000803e3d6000fd5b505050507f9163810ee1e29168d4ce900e48a333fb8fbd3fd070d2bef67f6d4db0846a469f816040516109a791815260200190565b610c1c611ae0565b610c24611ef8565b610c2c611f4a565b610c3461175e565b565b600060a554600003610c485750600090565b600060a35442610c58919061315c565b9050600060a5548210610c6c576000610c7a565b8160a554610c7a919061315c565b905060a5548160a454610c8d9190613175565b610c97919061318c565b9250505090565b600054610100900460ff1615808015610cbe5750600054600160ff909116105b80610cd85750303b158015610cd8575060005460ff166001145b610d3b5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108b7565b6000805460ff191660011790558015610d5e576000805461ff0019166101001790555b60a68054610100600160a81b0319166101006001600160a01b038c160217905560a88890556001851115610d9c5760a9805461ff0019166101001790555b61a4558814610e4357604051631526fe2760e01b81526004810189905273d3327cb05a8e0095a543d582b5b3ce3e1927038990631526fe279060240160a060405180830381865afa158015610df5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e1991906131b9565b505060a780546001600160a01b0319166001600160a01b039290921691909117905550610e519050565b60a9805460ff191660011790555b610e5e8a8c888886611fc6565b610e678761084c565b610e716001610922565b6001600160a01b03841615610f98576040516001600160a01b03848116602483015285169060440160408051601f198184030181529181526020820180516001600160e01b03166302b8a21d60e01b17905251610ece919061322e565b6000604051808303816000865af19150503d8060008114610f0b576040519150601f19603f3d011682016040523d82523d6000602084013e610f10565b606091505b505060408051600481526024810182526020810180516001600160e01b03166325ce9a3760e01b17905290516001600160a01b0387169250610f52919061322e565b6000604051808303816000865af19150503d8060008114610f8f576040519150601f19603f3d011682016040523d82523d6000602084013e610f94565b606091505b5050505b8015610fde576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050505050505050565b610c34326000611c4b565b610ffe611ae0565b611006611147565b610c34612087565b611016611ae0565b60a555565b60a65460ff1615610c34576097546001600160a01b031633146110505760405162461bcd60e51b81526004016108b790613126565b610c34326001611c4b565b611063611d82565b609780546001600160a01b0319166001600160a01b0383169081179091556040519081527fd459c7242e23d490831b5676a611c4342d899d28f342d89ae80793e56a930f30906020016109a7565b6110b9611d82565b610c3460006120db565b60006110cd610c36565b6110d56109b2565b6110dd6115df565b6110e7919061324a565b610a33919061315c565b6110f9611ae0565b609980546001600160a01b0319166001600160a01b0383169081179091556040519081527fefb5cfa1a8690c124332ab93324539c5c9c4be03f28aeb8be86f2d8a0c9fb99b906020016109a7565b61114f611ae0565b61115761212d565b610c3461216a565b609c54604051636788231160e11b81523060048201526000916001600160a01b03169063cf104622906024016109f2565b611198611ae0565b60a0546001600160a01b03908116908216036111de5760405162461bcd60e51b8152602060048201526005602482015264085dd85b9d60da1b60448201526064016108b7565b60a1546001600160a01b03908116908216036112265760405162461bcd60e51b8152602060048201526007602482015266216e617469766560c81b60448201526064016108b7565b61122f81611b3a565b609e805460018101825560009182527fcfe2a20ff701a1f3e14f63bd70d6c6bc6fba8172ec6d5a505cdab3927c0a9de60180546001600160a01b0319166001600160a01b03848116919091179091556098546108fa9284929190911690611bd2565b611299611d82565b609b80546001600160a01b0319166001600160a01b0383169081179091556040519081527f8041329bf7057543a2c2ff4e4071d1d488a31f82ed44e169b5cd2f04f5e3ac85906020016109a7565b6112ef611ae0565b6001600160a01b039091166000908152609f6020526040902055565b611313611ae0565b603281111561134d5760405162461bcd60e51b81526004016108b7906020808252600490820152630216361760e41b604082015260600190565b609d8190556040518181527f3aa4413905e8f015896ec5880bdde24088ccb19b578f9fcf6800354d5320d4af906020016109a7565b61138a611ae0565b60005b609e548110156113df576113cf609e82815481106113ad576113ad61325d565b60009182526020822001546098546001600160a01b0391821692911690611bd2565b6113d881613273565b905061138d565b50610c34609e6000612de7565b6113f4612e05565b60405180606001604052806114076121d7565b81526020016000815260200161141b6117db565b9052919050565b61142a611ae0565b60a980549115156101000261ff0019909216919091179055565b61144c611d82565b60005b609e548110156114c2576000609e828154811061146e5761146e61325d565b60009182526020822001546098546001600160a01b03918216935061149892849290911690611bd2565b6114a481846000611bd2565b6114b18184600019611bd2565b506114bb81613273565b905061144f565b5060a2546001600160a01b0316158015906114ee575060a15460a2546001600160a01b03908116911614155b156115425760a254609854611511916001600160a01b0390811691166000611bd2565b60a254611529906001600160a01b0316826000611bd2565b60a254611542906001600160a01b031682600019611bd2565b60a154609854611560916001600160a01b0390811691166000611bd2565b60a154611578906001600160a01b0316826000611bd2565b60a154611591906001600160a01b031682600019611bd2565b609880546001600160a01b0319166001600160a01b0383169081179091556040519081527f5ca6e64c4522e68e154aa9372f2c5969cd37d9640e59f66953dc472f54ee86fa906020016109a7565b60a0546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a08231906024016109f2565b611618611ae0565b609e80546116289060019061315c565b815481106116385761163861325d565b600091825260209091200154609e80546001600160a01b0390921691839081106116645761166461325d565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b03160217905550609e8054806116a3576116a361328c565b600082815260209020810160001990810180546001600160a01b031916905501905550565b609a546001600160a01b031633146117105760405162461bcd60e51b815260206004820152600b60248201526a085cdd1c985d1959da5cdd60aa1b60448201526064016108b7565b609a80546001600160a01b0319166001600160a01b0383169081179091556040519081527f46d58e3fa07bf19b1d27240f0e286b27e9f7c1b0d88933333fe833b60eec5412906020016109a7565b611766612282565b60006117706115df565b9050801561091457611781816122c8565b7f4d6ce1e535dbade1c23defba91e23b8f791ce5edc0cc320257a2b364e4e384266117aa6110c3565b6040519081526020016109a7565b611591611d82565b6117c8611ae0565b60a9805460ff1916911515919091179055565b60006117e960655460ff1690565b6117f45750609d5490565b50600090565b611802611d82565b6001600160a01b0381166118675760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108b7565b610914816120db565b609e818154811061188057600080fd5b6000918252602090912001546001600160a01b0316905081565b6118a2611d82565b6118ad610ab76109b2565b61a4558114611a0057604051631526fe2760e01b81526004810182905273d3327cb05a8e0095a543d582b5b3ce3e1927038990631526fe279060240160a060405180830381865afa158015611906573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061192a91906131b9565b505060a780546001600160a01b0319166001600160a01b0392831617905560a054604051636eb1769f60e11b815230600482015273d3327cb05a8e0095a543d582b5b3ce3e1927038960248201529116925063dd62ed3e9150604401602060405180830381865afa1580156119a3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119c7919061310d565b6000036119fb5760a0546119fb906001600160a01b031673d3327cb05a8e0095a543d582b5b3ce3e19270389600019611bd2565b611a11565b60a780546001600160a01b03191690555b60a881905561091461175e565b6097546001600160a01b03163314611a485760405162461bcd60e51b81526004016108b790613126565b611a50612087565b60a0546097546001600160a01b039182169163a9059cbb9116611a716115df565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015611abc573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061091491906132a2565b6033546001600160a01b0316331480611b0357506099546001600160a01b031633145b610c345760405162461bcd60e51b815260206004820152600860248201526710b6b0b730b3b2b960c11b60448201526064016108b7565b60a6546001600160a01b03610100909104811690821603611b865760405162461bcd60e51b815260206004820152600660248201526521676175676560d01b60448201526064016108b7565b60a7546001600160a01b03908116908216036109145760405162461bcd60e51b815260206004820152600b60248201526a085c995dd85c99141bdbdb60aa1b60448201526064016108b7565b60405163095ea7b360e01b81526001600160a01b0383811660048301526024820183905284169063095ea7b3906044016020604051808303816000875af1158015611c21573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c4591906132a2565b50505050565b611c53612282565b611c5b612393565b611c636124c3565b60a1546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611cac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cd0919061310d565b60a1546001600160a01b03166000908152609f6020526040902054909150811115611d7d57611cfe83612615565b611d066127c4565b6000611d106115df565b9050611d1a610c36565b611d24908261324a565b60a4554260a35582611d3857611d3861175e565b337f9bc239f1724cacfb88cb1d66a2dc437467699b68a8c90d7b63110cf4b6f9241082611d636110c3565b6040805192835260208301919091520160405180910390a2505b505050565b6033546001600160a01b03163314610c345760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108b7565b80156109145760a7546001600160a01b031615611e5c5760a754604051631c683a1b60e11b815260048101839052600060248201526001600160a01b03909116906338d07436906044015b600060405180830381600087803b158015611e4157600080fd5b505af1158015611e55573d6000803e3d6000fd5b5050505050565b60a654604051632e1a7d4d60e01b8152600481018390526101009091046001600160a01b031690632e1a7d4d90602401600060405180830381600087803b158015611e4157600080fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611d7d908490612840565b611f00612912565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60a05460a65460001991611f71916001600160a01b03918216916101009091041683611bd2565b61a45560a85414611fa95760a054611fa9906001600160a01b031673d3327cb05a8e0095a543d582b5b3ce3e19270389600019611bd2565b60a154609854610914916001600160a01b03908116911683611bd2565b600054610100900460ff16611fed5760405162461bcd60e51b81526004016108b7906132bf565b611ff68161295b565b60a080546001600160a01b038088166001600160a01b03199283161790925560a180549287169290911691909117905560005b8281101561206d5761205b8484838181106120465761204661325d565b905060200201602081019061068f9190612e9d565b8061206581613273565b915050612029565b506201518060a55561207f600061130b565b611e55611f4a565b60006120916109b2565b905080156109145760a7546001600160a01b031615611e5c5760a754604051632989754760e11b8152600481018390526001600160a01b0390911690635312ea8e90602401611e27565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612135612282565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f2d3390565b60a05460a65461218d916001600160a01b03908116916101009004166000611bd2565b60a0546121b9906001600160a01b031673d3327cb05a8e0095a543d582b5b3ce3e192703896000611bd2565b60a154609854610c34916001600160a01b0390811691166000611bd2565b6122126040518060c0016040528060008152602001600081526020016000815260200160008152602001606081526020016000151581525090565b609c54604051639af608c960e01b81523060048201526001600160a01b0390911690639af608c990602401600060405180830381865afa15801561225a573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610a33919081019061337a565b60655460ff1615610c345760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016108b7565b60a7546001600160a01b03161561235e5760a854604051631c57762b60e31b815260048101919091526024810182905273d3327cb05a8e0095a543d582b5b3ce3e192703899063e2bbb158906044016020604051808303816000875af1158015612336573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235a91906132a2565b5050565b60a65460405163b6b55f2560e01b8152600481018390526101009091046001600160a01b03169063b6b55f2590602401611e27565b60a7546001600160a01b0316156123fe5760a754604051630c00007b60e41b81523060048201526001600160a01b039091169063c00007b0906024015b600060405180830381600087803b1580156123ea57600080fd5b505af1158015611c45573d6000803e3d6000fd5b60a95460ff161561247f5760a6546040516335313c2160e11b81526101009091046001600160a01b0316600482015273ef672bd94913cb6f1d2812a6e18c1ffded8eff5c90636a62784290602401600060405180830381600087803b15801561246657600080fd5b505af115801561247a573d6000803e3d6000fd5b505050505b60a954610100900460ff1615610c345760a654604051634274debf60e11b81523060048201526101009091046001600160a01b0316906384e9bd7e906024016123d0565b60005b609e54811015610914576000609e82815481106124e5576124e561325d565b60009182526020822001546040516370a0823160e01b81523060048201526001600160a01b03909116925082906370a0823190602401602060405180830381865afa158015612538573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061255c919061310d565b6001600160a01b0383166000908152609f60205260409020549091508111156126025760985460a154604051630df791e560e41b81526001600160a01b03858116600483015291821660248201526044810184905291169063df791e50906064016020604051808303816000875af11580156125dc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612600919061310d565b505b50508061260e90613273565b90506124c6565b600061261f6121d7565b805160a1546040516370a0823160e01b8152306004820152929350600092670de0b6b3a764000092916001600160a01b0316906370a0823190602401602060405180830381865afa158015612678573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061269c919061310d565b6126a69190613175565b6126b0919061318c565b90506000670de0b6b3a76400008360400151836126cd9190613175565b6126d7919061318c565b60a1549091506126f1906001600160a01b03168583611ea6565b6000670de0b6b3a764000084602001518461270c9190613175565b612716919061318c565b609b5460a154919250612736916001600160a01b03908116911683611ea6565b6000670de0b6b3a76400008560600151856127519190613175565b61275b919061318c565b609a5460a15491925061277b916001600160a01b03908116911683611ea6565b60408051848152602081018490529081018290527fd255b592c7f268a73e534da5219a60ff911b4cf6daae21c7d20527dd657bd99a9060600160405180910390a1505050505050565b60a2546001600160a01b03166127f05760a15460a054610c34916001600160a01b039081169116612ab7565b60a15460a2546001600160a01b039081169116146128245760a15460a254612824916001600160a01b039081169116612ab7565b60a25460a054610c34916001600160a01b039081169116612ab7565b6000612895826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612ba39092919063ffffffff16565b805190915015611d7d57808060200190518101906128b391906132a2565b611d7d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108b7565b60655460ff16610c345760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016108b7565b600054610100900460ff166129825760405162461bcd60e51b81526004016108b7906132bf565b61298a612bbc565b612992612beb565b61299f6020820182612e9d565b609780546001600160a01b0319166001600160a01b03929092169190911790556129cf6040820160208301612e9d565b609880546001600160a01b0319166001600160a01b03929092169190911790556129ff6060820160408301612e9d565b609980546001600160a01b0319166001600160a01b0392909216919091179055612a2f6080820160608301612e9d565b609a80546001600160a01b0319166001600160a01b0392909216919091179055612a5f60a0820160808301612e9d565b609b80546001600160a01b0319166001600160a01b0392909216919091179055612a8f60c0820160a08301612e9d565b609c80546001600160a01b0319166001600160a01b039290921691909117905550600a609d55565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015612afe573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b22919061310d565b609854604051630df791e560e41b81526001600160a01b03868116600483015285811660248301526044820184905292935091169063df791e50906064016020604051808303816000875af1158015612b7f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c45919061310d565b6060612bb28484600085612c1a565b90505b9392505050565b600054610100900460ff16612be35760405162461bcd60e51b81526004016108b7906132bf565b610c34612d4b565b600054610100900460ff16612c125760405162461bcd60e51b81526004016108b7906132bf565b610c34612d7b565b606082471015612c7b5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108b7565b6001600160a01b0385163b612cd25760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108b7565b600080866001600160a01b03168587604051612cee919061322e565b60006040518083038185875af1925050503d8060008114612d2b576040519150601f19603f3d011682016040523d82523d6000602084013e612d30565b606091505b5091509150612d40828286612dae565b979650505050505050565b600054610100900460ff16612d725760405162461bcd60e51b81526004016108b7906132bf565b610c34336120db565b600054610100900460ff16612da25760405162461bcd60e51b81526004016108b7906132bf565b6065805460ff19169055565b60608315612dbd575081612bb5565b825115612dcd5782518084602001fd5b8160405162461bcd60e51b81526004016108b79190613470565b50805460008255906000526020600020908101906109149190612e5f565b6040518060600160405280612e4b6040518060c0016040528060008152602001600081526020016000815260200160008152602001606081526020016000151581525090565b815260200160008152602001600081525090565b5b80821115612e745760008155600101612e60565b5090565b6001600160a01b038116811461091457600080fd5b8035612e9881612e78565b919050565b600060208284031215612eaf57600080fd5b8135612bb581612e78565b801515811461091457600080fd5b600060208284031215612eda57600080fd5b8135612bb581612eba565b600060208284031215612ef757600080fd5b5035919050565b600060c08284031215612f1057600080fd5b50919050565b6000806000806000806000806000806101c08b8d031215612f3657600080fd5b8a35612f4181612e78565b995060208b0135612f5181612e78565b985060408b0135612f6181612e78565b975060608b0135965060808b0135612f7881612e78565b955060a08b013567ffffffffffffffff80821115612f9557600080fd5b818d0191508d601f830112612fa957600080fd5b813581811115612fb857600080fd5b8e60208260051b8501011115612fcd57600080fd5b602083019750809650505050612fe560c08c01612e8d565b9250612ff360e08c01612e8d565b91506130038c6101008d01612efe565b90509295989b9194979a5092959850565b6000806040838503121561302757600080fd5b823561303281612e78565b946020939093013593505050565b60005b8381101561305b578181015183820152602001613043565b50506000910152565b6000815180845261307c816020860160208601613040565b601f01601f19169290920160200192915050565b60208152600082516060602084015280516080840152602081015160a0840152604081015160c0840152606081015160e0840152608081015160c06101008501526130df610140850182613064565b905060a082015115156101208501526020850151604085015260408501516060850152809250505092915050565b60006020828403121561311f57600080fd5b5051919050565b602080825260069082015265085d985d5b1d60d21b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b8181038181111561316f5761316f613146565b92915050565b808202811582820484141761316f5761316f613146565b6000826131a957634e487b7160e01b600052601260045260246000fd5b500490565b8051612e9881612eba565b600080600080600060a086880312156131d157600080fd5b85516131dc81612e78565b60208701519095506131ed81612e78565b60408701519094506131fe81612e78565b606087015190935061320f81612eba565b608087015190925061322081612e78565b809150509295509295909350565b60008251613240818460208701613040565b9190910192915050565b8082018082111561316f5761316f613146565b634e487b7160e01b600052603260045260246000fd5b60006001820161328557613285613146565b5060010190565b634e487b7160e01b600052603160045260246000fd5b6000602082840312156132b457600080fd5b8151612bb581612eba565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b634e487b7160e01b600052604160045260246000fd5b60405160c0810167ffffffffffffffff811182821017156133435761334361330a565b60405290565b604051601f8201601f1916810167ffffffffffffffff811182821017156133725761337261330a565b604052919050565b6000602080838503121561338d57600080fd5b825167ffffffffffffffff808211156133a557600080fd5b9084019060c082870312156133b957600080fd5b6133c1613320565b82518152838301518482015260408301516040820152606083015160608201526080830151828111156133f357600080fd5b8301601f8101881361340457600080fd5b8051838111156134165761341661330a565b613428601f8201601f19168701613349565b9350808452888682840101111561343e57600080fd5b61344d81878601888501613040565b505081608082015261346160a084016131ae565b60a08201529695505050505050565b602081526000612bb5602083018461306456fea2646970667358221220e42c2b695c3fe0d10c559800a84e89d0a9e7852b65c1467ce3416a1c79779b3964736f6c63430008130033
Deployed Bytecode Sourcemap
60787:4754:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51488:27;;;;;;;;;160:25:1;;;148:2;133:18;51488:27:0;;;;;;;;61115:90;;61162:42;61115:90;;;;;-1:-1:-1;;;;;378:32:1;;;360:51;;348:2;333:18;61115:90:0;196:221:1;58148:379:0;;;;;;:::i;:::-;;:::i;:::-;;53975:112;;;;;;:::i;:::-;;:::i;59229:256::-;;;;;;:::i;:::-;;:::i;50536:184::-;;;;;;:::i;:::-;;:::i;62625:282::-;;;:::i;51360:21::-;;;;;-1:-1:-1;;;;;51360:21:0;;;51334:19;;;;;-1:-1:-1;;;;;51334:19:0;;;47048:25;;;;;-1:-1:-1;;;;;47048:25:0;;;46989:24;;;;;-1:-1:-1;;;;;46989:24:0;;;53031:651;;;;;;:::i;:::-;;:::i;61364:25::-;;;;;;;;;;;;1876:14:1;;1869:22;1851:41;;1839:2;1824:18;61364:25:0;1711:187:1;49057:152:0;;;;;;:::i;:::-;;:::i;60352:117::-;;;:::i;58535:300::-;;;:::i;61559:1058::-;;;;;;:::i;:::-;;:::i;53886:81::-;;;:::i;60150:93::-;;;:::i;47119:32::-;;;;;-1:-1:-1;;;;;47119:32:0;;;59493:105;;;;;;:::i;:::-;;:::i;47255:46::-;;47296:5;47255:46;;51455:26;;;;;;53690:188;;;:::i;44600:86::-;44671:7;;;;44600:86;;61256:25;;;;;-1:-1:-1;;;;;61256:25:0;;;50728:87;50779:7;50728:87;;49496:118;;;;;;:::i;:::-;;:::i;61462:35::-;;;;;;;;;;;;41598:103;;;:::i;58909:127::-;;;:::i;49837:126::-;;;;;;:::i;:::-;;:::i;60251:93::-;;;:::i;51522:28::-;;;;;;;;;48926:123;;;:::i;40957:87::-;41030:6;;-1:-1:-1;;;;;41030:6:0;40957:87;;47080:32;;;;;-1:-1:-1;;;;;47080:32:0;;;51244:42;;;;;;:::i;:::-;;;;;;;;;;;;;;56563:317;;;;;;:::i;:::-;;:::i;50289:190::-;;;;;;:::i;:::-;;:::i;61214:20::-;;;;;;;;-1:-1:-1;;;;;61214:20:0;;;58012:128;;;;;;:::i;:::-;;:::i;49247:190::-;;;;;;:::i;:::-;;:::i;47020:21::-;;;;;-1:-1:-1;;;;;47020:21:0;;;57030:187;;;:::i;48762:156::-;;;:::i;:::-;;;;;;;:::i;65381:155::-;;;;;;:::i;:::-;;:::i;57225:779::-;;;;;;:::i;:::-;;:::i;56461:94::-;56533:7;:14;56461:94;;59103:118;;;:::i;60961:35::-;;60991:5;60961:35;;56888:134;;;;;;:::i;:::-;;:::i;61005:103::-;;61065:42;61005:103;;50028:197;;;;;;:::i;:::-;;:::i;51388:27::-;;;;;-1:-1:-1;;;;;51388:27:0;;;52820:203;;;:::i;49648:142::-;;;;;;:::i;:::-;;:::i;47201:47::-;;47246:2;47201:47;;65258:115;;;;;;:::i;:::-;;:::i;50823:::-;;;:::i;61315:15::-;;;;;;51422:26;;;;;;41856:201;;;;;;:::i;:::-;;:::i;51213:24::-;;;;;;:::i;:::-;;:::i;64795:455::-;;;;;;:::i;:::-;;:::i;59892:176::-;;;:::i;46962:20::-;;;;;-1:-1:-1;;;;;46962:20:0;;;58148:379;48329:15;:13;:15::i;:::-;-1:-1:-1;;;;;58222:19:0;::::1;58218:98;;58258:12;:25:::0;;-1:-1:-1;;;;;;58258:25:0::1;::::0;;58148:379;:::o;58218:98::-:1;58343:4;::::0;-1:-1:-1;;;;;58343:4:0;;::::1;58334:13:::0;;::::1;::::0;58326:31:::1;;;::::0;-1:-1:-1;;;58326:31:0;;6071:2:1;58326:31:0::1;::::0;::::1;6053:21:1::0;6110:1;6090:18;;;6083:29;-1:-1:-1;;;6128:18:1;;;6121:35;6173:18;;58326:31:0::1;;;;;;;;;58368:25;58387:5;58368:18;:25::i;:::-;58406:12;:20:::0;;-1:-1:-1;;;;;;58406:20:0::1;-1:-1:-1::0;;;;;58406:20:0;;::::1;::::0;;;::::1;::::0;;;58453:9:::1;::::0;58437:29:::1;::::0;58406:20;;58453:9:::1;-1:-1:-1::0;58437:8:0::1;:29::i;:::-;58493:9;::::0;58477:42:::1;::::0;58486:5;;-1:-1:-1;;;;;58493:9:0::1;-1:-1:-1::0;;58477:8:0::1;:42::i;:::-;58148:379:::0;:::o;53975:112::-;54046:33;54055:16;54073:5;54046:8;:33::i;59229:256::-;48329:15;:13;:15::i;:::-;59312:16:::1;:36:::0;;-1:-1:-1;;59312:36:0::1;::::0;::::1;;::::0;;::::1;::::0;;;::::1;59363:16:::0;59359:119:::1;;;59411:1;59396:12;:16:::0;58148:379;:::o;59359:119::-:1;59460:6;59445:12;:21:::0;59229:256;:::o;50536:184::-;40843:13;:11;:13::i;:::-;50618:14:::1;:44:::0;;-1:-1:-1;;;;;;50618:44:0::1;-1:-1:-1::0;;;;;50618:44:0;::::1;::::0;;::::1;::::0;;;50678:34:::1;::::0;360:51:1;;;50678:34:0::1;::::0;348:2:1;333:18;50678:34:0::1;;;;;;;;50536:184:::0;:::o;62625:282::-;62701:10;;62680:4;;-1:-1:-1;;;;;62701:10:0;:24;62697:203;;62767:10;;62749:54;;-1:-1:-1;;;62749:54:0;;62797:4;62749:54;;;360:51:1;-1:-1:-1;;;;;62767:10:0;;;;62749:39;;333:18:1;;62749:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;62742:61;;62625:282;:::o;62697:203::-;62857:5;;62843:45;;-1:-1:-1;;;62843:45:0;;62882:4;62843:45;;;360:51:1;62857:5:0;;;;-1:-1:-1;;;;;62857:5:0;;62843:30;;333:18:1;;62843:45:0;196:221:1;53031:651:0;53108:5;;-1:-1:-1;;;;;53108:5:0;53094:10;:19;53086:38;;;;-1:-1:-1;;;53086:38:0;;;;;;;:::i;:::-;53137:15;53155;:13;:15::i;:::-;53137:33;;53197:7;53187;:17;53183:118;;;53221:28;53231:17;53241:7;53231;:17;:::i;:::-;53221:9;:28::i;:::-;53274:15;:13;:15::i;:::-;53264:25;;53183:118;53327:7;53317;:17;53313:67;;;-1:-1:-1;53361:7:0;53313:67;41030:6;;-1:-1:-1;;;;;41030:6:0;53396:9;:20;;;;:33;;-1:-1:-1;44671:7:0;;;;53420:9;53396:33;53392:190;;;53446:27;47296:5;53486:13;;53476:7;:23;;;;:::i;:::-;:40;;;;:::i;:::-;53446:70;-1:-1:-1;53541:29:0;53446:70;53541:7;:29;:::i;:::-;53531:39;;53431:151;53392:190;53620:5;;53601:4;;53594:41;;-1:-1:-1;;;;;53601:4:0;;;;53620:5;53627:7;53594:25;:41::i;:::-;53653:21;53662:11;:9;:11::i;:::-;53653:21;;160:25:1;;;148:2;133:18;53653:21:0;;;;;;;53075:607;53031:651;:::o;49057:152::-;48329:15;:13;:15::i;:::-;49128:14:::1;::::0;:36:::1;::::0;-1:-1:-1;;;49128:36:0;;::::1;::::0;::::1;160:25:1::0;;;-1:-1:-1;;;;;49128:14:0;;::::1;::::0;:28:::1;::::0;133:18:1;;49128:36:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;49180:21;49194:6;49180:21;;;;160:25:1::0;;148:2;133:18;;14:177;60352:117:0;48329:15;:13;:15::i;:::-;60403:10:::1;:8;:10::i;:::-;60424:17;:15;:17::i;:::-;60452:9;:7;:9::i;:::-;60352:117::o:0;58535:300::-;58580:7;58604:12;;58620:1;58604:17;58600:31;;-1:-1:-1;58630:1:0;;58535:300::o;58600:31::-;58642:15;58678:11;;58660:15;:29;;;;:::i;:::-;58642:47;;58700:17;58730:12;;58720:7;:22;:51;;58770:1;58720:51;;;58760:7;58745:12;;:22;;;;:::i;:::-;58700:71;;58815:12;;58803:9;58789:11;;:23;;;;:::i;:::-;:38;;;;:::i;:::-;58782:45;;;;58535:300;:::o;61559:1058::-;34681:19;34704:13;;;;;;34703:14;;34751:34;;;;-1:-1:-1;34769:12:0;;34784:1;34769:12;;;;:16;34751:34;34750:108;;;-1:-1:-1;34830:4:0;23457:19;:23;;;34791:66;;-1:-1:-1;34840:12:0;;;;;:17;34791:66;34728:204;;;;-1:-1:-1;;;34728:204:0;;7587:2:1;34728:204:0;;;7569:21:1;7626:2;7606:18;;;7599:30;7665:34;7645:18;;;7638:62;-1:-1:-1;;;7716:18:1;;;7709:44;7770:19;;34728:204:0;7385:410:1;34728:204:0;34943:12;:16;;-1:-1:-1;;34943:16:0;34958:1;34943:16;;;34970:67;;;;35005:13;:20;;-1:-1:-1;;35005:20:0;;;;;34970:67;61904:5:::1;:14:::0;;-1:-1:-1;;;;;;61904:14:0::1;;-1:-1:-1::0;;;;;61904:14:0;::::1;;;::::0;;61929:3:::1;:10:::0;;;-1:-1:-1;61956:19:0;::::1;61952:82;;;61992:23;:30:::0;;-1:-1:-1;;61992:30:0::1;;;::::0;;61952:82:::1;60991:5;62048:4;:14;62044:141;;62098:22;::::0;-1:-1:-1;;;62098:22:0;;::::1;::::0;::::1;160:25:1::0;;;61065:42:0::1;::::0;62098:16:::1;::::0;133:18:1;;62098:22:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;62082:10:0::1;62079:41:::0;;-1:-1:-1;;;;;;62079:41:0::1;-1:-1:-1::0;;;;;62079:41:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;62044:141:0::1;::::0;-1:-1:-1;62044:141:0::1;;62153:13;:20:::0;;-1:-1:-1;;62153:20:0::1;62169:4;62153:20;::::0;;62044:141:::1;62195:63;62215:5;62222:7;62231:8;;62241:16;62195:19;:63::i;:::-;62269:30;62285:13;62269:15;:30::i;:::-;62310:25;62330:4;62310:19;:25::i;:::-;-1:-1:-1::0;;;;;62352:32:0;::::1;::::0;62348:262:::1;;62425:73;::::0;-1:-1:-1;;;;;378:32:1;;;62425:73:0::1;::::0;::::1;360:51:1::0;62401:23:0;::::1;::::0;333:18:1;;62425:73:0::1;::::0;;-1:-1:-1;;62425:73:0;;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;62425:73:0::1;-1:-1:-1::0;;;62425:73:0::1;::::0;;62401:98;::::1;::::0;62425:73;62401:98:::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;62538:59:0::1;::::0;;;;;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;62538:59:0::1;-1:-1:-1::0;;;62538:59:0::1;::::0;;62514:84;;-1:-1:-1;;;;;62514:23:0;::::1;::::0;-1:-1:-1;62514:84:0::1;::::0;62538:59;62514:84:::1;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62348:262;35063:14:::0;35059:102;;;35110:5;35094:21;;-1:-1:-1;;35094:21:0;;;35135:14;;-1:-1:-1;9169:36:1;;35135:14:0;;9157:2:1;9142:18;35135:14:0;;;;;;;35059:102;34670:498;61559:1058;;;;;;;;;;:::o;53886:81::-;53933:26;53942:9;53953:5;53933:8;:26::i;60150:93::-;48329:15;:13;:15::i;:::-;60197:7:::1;:5;:7::i;:::-;60215:20;:18;:20::i;59493:105::-:0;48329:15;:13;:15::i;:::-;59566:12:::1;:24:::0;59493:105::o;53690:188::-;53748:16;;;;53744:127;;;53803:5;;-1:-1:-1;;;;;53803:5:0;53789:10;:19;53781:38;;;;-1:-1:-1;;;53781:38:0;;;;;;;:::i;:::-;53834:25;53843:9;53854:4;53834:8;:25::i;49496:118::-;40843:13;:11;:13::i;:::-;49560:5:::1;:14:::0;;-1:-1:-1;;;;;;49560:14:0::1;-1:-1:-1::0;;;;;49560:14:0;::::1;::::0;;::::1;::::0;;;49590:16:::1;::::0;360:51:1;;;49590:16:0::1;::::0;348:2:1;333:18;49590:16:0::1;196:221:1::0;41598:103:0;40843:13;:11;:13::i;:::-;41663:30:::1;41690:1;41663:18;:30::i;58909:127::-:0;58951:7;59014:14;:12;:14::i;:::-;58996:15;:13;:15::i;:::-;58978;:13;:15::i;:::-;:33;;;;:::i;:::-;:50;;;;:::i;49837:126::-;48329:15;:13;:15::i;:::-;49905:6:::1;:16:::0;;-1:-1:-1;;;;;;49905:16:0::1;-1:-1:-1::0;;;;;49905:16:0;::::1;::::0;;::::1;::::0;;;49937:18:::1;::::0;360:51:1;;;49937:18:0::1;::::0;348:2:1;333:18;49937::0::1;196:221:1::0;60251:93:0;48329:15;:13;:15::i;:::-;60298:8:::1;:6;:8::i;:::-;60317:19;:17;:19::i;48926:123::-:0;49001:14;;:40;;-1:-1:-1;;;49001:40:0;;49035:4;49001:40;;;360:51:1;48974:7:0;;-1:-1:-1;;;;;49001:14:0;;:25;;333:18:1;;49001:40:0;196:221:1;56563:317:0;48329:15;:13;:15::i;:::-;56646:4:::1;::::0;-1:-1:-1;;;;;56646:4:0;;::::1;56636:14:::0;;::::1;::::0;56628:32:::1;;;::::0;-1:-1:-1;;;56628:32:0;;6071:2:1;56628:32:0::1;::::0;::::1;6053:21:1::0;6110:1;6090:18;;;6083:29;-1:-1:-1;;;6128:18:1;;;6121:35;6173:18;;56628:32:0::1;5869:328:1::0;56628:32:0::1;56689:6;::::0;-1:-1:-1;;;;;56689:6:0;;::::1;56679:16:::0;;::::1;::::0;56671:36:::1;;;::::0;-1:-1:-1;;;56671:36:0;;9548:2:1;56671:36:0::1;::::0;::::1;9530:21:1::0;9587:1;9567:18;;;9560:29;-1:-1:-1;;;9605:18:1;;;9598:37;9652:18;;56671:36:0::1;9346:330:1::0;56671:36:0::1;56718:26;56737:6;56718:18;:26::i;:::-;56757:7;:20:::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;56757:20:0;;;;::::1;::::0;;-1:-1:-1;;;;;;56757:20:0::1;-1:-1:-1::0;;;;;56757:20:0;;::::1;::::0;;;::::1;::::0;;;56805:9:::1;::::0;56788:30:::1;::::0;56757:20;;56805:9;;;::::1;::::0;56788:8:::1;:30::i;50289:190::-:0;40843:13;:11;:13::i;:::-;50377:17:::1;:38:::0;;-1:-1:-1;;;;;;50377:38:0::1;-1:-1:-1::0;;;;;50377:38:0;::::1;::::0;;::::1;::::0;;;50431:40:::1;::::0;360:51:1;;;50431:40:0::1;::::0;348:2:1;333:18;50431:40:0::1;196:221:1::0;58012:128:0;48329:15;:13;:15::i;:::-;-1:-1:-1;;;;;58103:17:0;;::::1;;::::0;;;:10:::1;:17;::::0;;;;:29;58012:128::o;49247:190::-;48329:15;:13;:15::i;:::-;47246:2:::1;49325:4;:26;;49317:43;;;;-1:-1:-1::0;;;49317:43:0::1;;;;;;9883:2:1::0;9865:21;;;9922:1;9902:18;;;9895:29;-1:-1:-1;;;9955:2:1;9940:18;;9933:34;9999:2;9984:18;;9681:327;49317:43:0::1;49371:13;:20:::0;;;49407:22:::1;::::0;160:25:1;;;49407:22:0::1;::::0;148:2:1;133:18;49407:22:0::1;14:177:1::0;57030:187:0;48329:15;:13;:15::i;:::-;57091:6:::1;57086:99;57103:7;:14:::0;57099:18;::::1;57086:99;;;57139:34;57148:7;57156:1;57148:10;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;57160:9:::1;::::0;-1:-1:-1;;;;;57148:10:0;;::::1;::::0;57160:9;::::1;::::0;57139:8:::1;:34::i;:::-;57119:3;::::0;::::1;:::i;:::-;;;57086:99;;;-1:-1:-1::0;57195:14:0::1;57202:7;;57195:14;:::i;48762:156::-:0;48807:25;;:::i;:::-;48852:58;;;;;;;;48871:9;:7;:9::i;:::-;48852:58;;;;50779:7;48852:58;;;;48896:13;:11;:13::i;:::-;48852:58;;48845:65;48762:156;-1:-1:-1;48762:156:0:o;65381:155::-;48329:15;:13;:15::i;:::-;65478:23:::1;:50:::0;;;::::1;;;;-1:-1:-1::0;;65478:50:0;;::::1;::::0;;;::::1;::::0;;65381:155::o;57225:779::-;40843:13;:11;:13::i;:::-;57305:6:::1;57300:238;57317:7;:14:::0;57313:18;::::1;57300:238;;;57353:13;57369:7;57377:1;57369:10;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;::::1;::::0;57410:9:::1;::::0;-1:-1:-1;;;;;57369:10:0;;::::1;::::0;-1:-1:-1;57394:29:0::1;::::0;57369:10;;57410:9;;::::1;::::0;57394:8:::1;:29::i;:::-;57438:30;57447:5;57454:10;57466:1;57438:8;:30::i;:::-;57483:43;57492:5;57499:10;-1:-1:-1::0;;57483:8:0::1;:43::i;:::-;-1:-1:-1::0;57333:3:0::1;::::0;::::1;:::i;:::-;;;57300:238;;;-1:-1:-1::0;57552:12:0::1;::::0;-1:-1:-1;;;;;57552:12:0::1;:26:::0;;::::1;::::0;:52:::1;;-1:-1:-1::0;57598:6:0::1;::::0;57582:12:::1;::::0;-1:-1:-1;;;;;57582:12:0;;::::1;57598:6:::0;::::1;57582:22;;57552:52;57548:238;;;57630:12;::::0;57644:9:::1;::::0;57621:36:::1;::::0;-1:-1:-1;;;;;57630:12:0;;::::1;::::0;57644:9:::1;57630:12;57621:8;:36::i;:::-;57681:12;::::0;57672:37:::1;::::0;-1:-1:-1;;;;;57681:12:0::1;57695:10:::0;57681:12:::1;57672:8;:37::i;:::-;57733:12;::::0;57724:50:::1;::::0;-1:-1:-1;;;;;57733:12:0::1;57747:10:::0;-1:-1:-1;;57724:8:0::1;:50::i;:::-;57805:6;::::0;57813:9:::1;::::0;57796:30:::1;::::0;-1:-1:-1;;;;;57805:6:0;;::::1;::::0;57813:9:::1;57805:6;57796:8;:30::i;:::-;57846:6;::::0;57837:31:::1;::::0;-1:-1:-1;;;;;57846:6:0::1;57854:10:::0;57846:6:::1;57837:8;:31::i;:::-;57888:6;::::0;57879:44:::1;::::0;-1:-1:-1;;;;;57888:6:0::1;57896:10:::0;-1:-1:-1;;57879:8:0::1;:44::i;:::-;57934:9;:22:::0;;-1:-1:-1;;;;;;57934:22:0::1;-1:-1:-1::0;;;;;57934:22:0;::::1;::::0;;::::1;::::0;;;57972:24:::1;::::0;360:51:1;;;57972:24:0::1;::::0;348:2:1;333:18;57972:24:0::1;196:221:1::0;59103:118:0;59183:4;;59176:37;;-1:-1:-1;;;59176:37:0;;59207:4;59176:37;;;360:51:1;59149:7:0;;-1:-1:-1;;;;;59183:4:0;;59176:22;;333:18:1;;59176:37:0;196:221:1;56888:134:0;48329:15;:13;:15::i;:::-;56963:7:::1;56971:14:::0;;:18:::1;::::0;56988:1:::1;::::0;56971:18:::1;:::i;:::-;56963:27;;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;::::1;::::0;56950:7:::1;:10:::0;;-1:-1:-1;;;;;56963:27:0;;::::1;::::0;56958:1;;56950:10;::::1;;;;;:::i;:::-;;;;;;;;;:40;;;;;-1:-1:-1::0;;;;;56950:40:0::1;;;;;-1:-1:-1::0;;;;;56950:40:0::1;;;;;;57001:7;:13;;;;;;;:::i;:::-;;::::0;;;::::1;::::0;;;;-1:-1:-1;;57001:13:0;;;;;-1:-1:-1;;;;;;57001:13:0::1;::::0;;;;;-1:-1:-1;56888:134:0:o;50028:197::-;50114:10;;-1:-1:-1;;;;;50114:10:0;50100;:24;50092:48;;;;-1:-1:-1;;;50092:48:0;;10619:2:1;50092:48:0;;;10601:21:1;10658:2;10638:18;;;10631:30;-1:-1:-1;;;10677:18:1;;;10670:41;10728:18;;50092:48:0;10417:335:1;50092:48:0;50151:10;:24;;-1:-1:-1;;;;;;50151:24:0;-1:-1:-1;;;;;50151:24:0;;;;;;;;50191:26;;360:51:1;;;50191:26:0;;348:2:1;333:18;50191:26:0;196:221:1;52820:203:0;44205:19;:17;:19::i;:::-;52871:15:::1;52889;:13;:15::i;:::-;52871:33:::0;-1:-1:-1;52919:11:0;;52915:101:::1;;52947:17;52956:7;52947:8;:17::i;:::-;52984:20;52992:11;:9;:11::i;:::-;52984:20;::::0;160:25:1;;;148:2;133:18;52984:20:0::1;14:177:1::0;49648:142:0;40843:13;:11;:13::i;65258:115::-;48329:15;:13;:15::i;:::-;65335:13:::1;:30:::0;;-1:-1:-1;;65335:30:0::1;::::0;::::1;;::::0;;;::::1;::::0;;65258:115::o;50823:::-;50875:7;50902:8;44671:7;;;;;44600:86;50902:8;:28;;-1:-1:-1;50917:13:0;;;62625:282::o;50902:28::-;-1:-1:-1;50913:1:0;;50823:115::o;41856:201::-;40843:13;:11;:13::i;:::-;-1:-1:-1;;;;;41945:22:0;::::1;41937:73;;;::::0;-1:-1:-1;;;41937:73:0;;10959:2:1;41937:73:0::1;::::0;::::1;10941:21:1::0;10998:2;10978:18;;;10971:30;11037:34;11017:18;;;11010:62;-1:-1:-1;;;11088:18:1;;;11081:36;11134:19;;41937:73:0::1;10757:402:1::0;41937:73:0::1;42021:28;42040:8;42021:18;:28::i;51213:24::-:0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51213:24:0;;-1:-1:-1;51213:24:0;:::o;64795:455::-;40843:13;:11;:13::i;:::-;64858:26:::1;64868:15;:13;:15::i;64858:26::-;60991:5;64899:4;:14;64895:307;;64949:22;::::0;-1:-1:-1;;;64949:22:0;;::::1;::::0;::::1;160:25:1::0;;;61065:42:0::1;::::0;64949:16:::1;::::0;133:18:1;;64949:22:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;64933:10:0::1;64930:41:::0;;-1:-1:-1;;;;;;64930:41:0::1;-1:-1:-1::0;;;;;64930:41:0;;::::1;;::::0;;64997:4:::1;::::0;64990:55:::1;::::0;-1:-1:-1;;;64990:55:0;;65021:4:::1;64990:55;::::0;::::1;11376:34:1::0;61065:42:0::1;11426:18:1::0;;;11419:43;64997:4:0;::::1;::::0;-1:-1:-1;64990:22:0::1;::::0;-1:-1:-1;11311:18:1;;64990:55:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;65049:1;64990:60:::0;64986:149:::1;;65080:4;::::0;65071:48:::1;::::0;-1:-1:-1;;;;;65080:4:0::1;61065:42;-1:-1:-1::0;;65071:8:0::1;:48::i;:::-;64895:307;;;65167:10;:23:::0;;-1:-1:-1;;;;;;65167:23:0::1;::::0;;64895:307:::1;65212:3;:10:::0;;;65233:9:::1;:7;:9::i;59892:176::-:0;59957:5;;-1:-1:-1;;;;;59957:5:0;59943:10;:19;59935:38;;;;-1:-1:-1;;;59935:38:0;;;;;;;:::i;:::-;59984:20;:18;:20::i;:::-;60022:4;;60037:5;;-1:-1:-1;;;;;60022:4:0;;;;60015:21;;60037:5;60044:15;:13;:15::i;:::-;60015:45;;-1:-1:-1;;;;;;60015:45:0;;;;;;;-1:-1:-1;;;;;11665:32:1;;;60015:45:0;;;11647:51:1;11714:18;;;11707:34;11620:18;;60015:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;48372:124::-;41030:6;;-1:-1:-1;;;;;41030:6:0;48430:10;:21;;:45;;-1:-1:-1;48469:6:0;;-1:-1:-1;;;;;48469:6:0;48455:10;:20;48430:45;48422:66;;;;-1:-1:-1;;;48422:66:0;;12204:2:1;48422:66:0;;;12186:21:1;12243:1;12223:18;;;12216:29;-1:-1:-1;;;12261:18:1;;;12254:38;12309:18;;48422:66:0;12002:331:1;64148:172:0;64242:5;;-1:-1:-1;;;;;64242:5:0;;;;;;64233:14;;;;64225:33;;;;-1:-1:-1;;;64225:33:0;;12540:2:1;64225:33:0;;;12522:21:1;12579:1;12559:18;;;12552:29;-1:-1:-1;;;12597:18:1;;;12590:36;12643:18;;64225:33:0;12338:329:1;64225:33:0;64286:10;;-1:-1:-1;;;;;64286:10:0;;;64277:19;;;;64269:43;;;;-1:-1:-1;;;64269:43:0;;12874:2:1;64269:43:0;;;12856:21:1;12913:2;12893:18;;;12886:30;-1:-1:-1;;;12932:18:1;;;12925:41;12983:18;;64269:43:0;12672:335:1;60477:133:0;60562:40;;-1:-1:-1;;;60562:40:0;;-1:-1:-1;;;;;11665:32:1;;;60562:40:0;;;11647:51:1;11714:18;;;11707:34;;;60562:22:0;;;;;11620:18:1;;60562:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;60477:133;;;:::o;54150:656::-;44205:19;:17;:19::i;:::-;54244:8:::1;:6;:8::i;:::-;54263:22;:20;:22::i;:::-;54323:6;::::0;54316:39:::1;::::0;-1:-1:-1;;;54316:39:0;;54349:4:::1;54316:39;::::0;::::1;360:51:1::0;54296:17:0::1;::::0;-1:-1:-1;;;;;54323:6:0::1;::::0;54316:24:::1;::::0;333:18:1;;54316:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;54393:6;::::0;-1:-1:-1;;;;;54393:6:0::1;54382:18;::::0;;;:10:::1;:18;::::0;;;;;54296:59;;-1:-1:-1;54370:30:0;::::1;54366:433;;;54417:29;54429:16;54417:11;:29::i;:::-;54461:19;:17;:19::i;:::-;54495:21;54519:15;:13;:15::i;:::-;54495:39;;54579:14;:12;:14::i;:::-;54563:30;::::0;:13;:30:::1;:::i;:::-;54549:11;:44:::0;54622:15:::1;54608:11;:29:::0;54659:9;54654:60:::1;;54689:9;:7;:9::i;:::-;54748:10;54735:52;54760:13:::0;54775:11:::1;:9;:11::i;:::-;54735:52;::::0;;13186:25:1;;;13242:2;13227:18;;13220:34;;;;13159:18;54735:52:0::1;;;;;;;54402:397;54366:433;54233:573;54150:656:::0;;:::o;41122:132::-;41030:6;;-1:-1:-1;;;;;41030:6:0;39079:10;41186:23;41178:68;;;;-1:-1:-1;;;41178:68:0;;13467:2:1;41178:68:0;;;13449:21:1;;;13486:18;;;13479:30;13545:34;13525:18;;;13518:62;13597:18;;41178:68:0;13265:356:1;63144:306:0;63209:10;;63205:238;;63240:10;;-1:-1:-1;;;;;63240:10:0;:24;63236:196;;63303:10;;63285:53;;-1:-1:-1;;;63285:53:0;;;;;13794:25:1;;;63303:10:0;13835:18:1;;;13828:50;-1:-1:-1;;;;;63303:10:0;;;;63285:38;;13767:18:1;;63285:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58148:379;:::o;63236:196::-;63393:5;;63379:37;;-1:-1:-1;;;63379:37:0;;;;;160:25:1;;;63393:5:0;;;;-1:-1:-1;;;;;63393:5:0;;63379:29;;133:18:1;;63379:37:0;;;;;;;;;;;;;;;;;;;14542:211;14686:58;;;-1:-1:-1;;;;;11665:32:1;;14686:58:0;;;11647:51:1;11714:18;;;;11707:34;;;14686:58:0;;;;;;;;;;11620:18:1;;;;14686:58:0;;;;;;;;-1:-1:-1;;;;;14686:58:0;-1:-1:-1;;;14686:58:0;;;14659:86;;14679:5;;14659:19;:86::i;45455:120::-;44464:16;:14;:16::i;:::-;45514:7:::1;:15:::0;;-1:-1:-1;;45514:15:0::1;::::0;;45545:22:::1;39079:10:::0;45554:12:::1;45545:22;::::0;-1:-1:-1;;;;;378:32:1;;;360:51;;348:2;333:18;45545:22:0::1;;;;;;;45455:120::o:0;64328:265::-;64432:4;;64446:5;;-1:-1:-1;;64398:14:0;64423:38;;-1:-1:-1;;;;;64432:4:0;;;;;64446:5;;;;64398:14;64423:8;:38::i;:::-;60991:5;64476:3;;:13;64472:67;;64500:4;;64491:48;;-1:-1:-1;;;;;64500:4:0;61065:42;-1:-1:-1;;64491:8:0;:48::i;:::-;64559:6;;64567:9;;64550:35;;-1:-1:-1;;;;;64559:6:0;;;;64567:9;64578:6;64550:8;:35::i;51801:460::-;36824:13;;;;;;;36816:69;;;;-1:-1:-1;;;36816:69:0;;;;;;;:::i;:::-;51971:40:::1;51994:16;51971:22;:40::i;:::-;52022:4;:12:::0;;-1:-1:-1;;;;;52022:12:0;;::::1;-1:-1:-1::0;;;;;;52022:12:0;;::::1;;::::0;;;52045:6:::1;:16:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;52022:4:::1;52074:88;52087:19:::0;;::::1;52074:88;;;52128:22;52138:8;;52147:1;52138:11;;;;;;;:::i;:::-;;;;;;;;;;;;;;:::i;52128:22::-;52108:3:::0;::::1;::::0;::::1;:::i;:::-;;;;52074:88;;;-1:-1:-1::0;52189:6:0::1;52174:12;:21:::0;52206:19:::1;52223:1;52206:16;:19::i;:::-;52236:17;:15;:17::i;63458:346::-:0;63517:11;63531:15;:13;:15::i;:::-;63517:29;-1:-1:-1;63561:10:0;;63557:240;;63592:10;;-1:-1:-1;;;;;63592:10:0;:24;63588:198;;63655:10;;63637:55;;-1:-1:-1;;;63637:55:0;;;;;160:25:1;;;-1:-1:-1;;;;;63655:10:0;;;;63637:47;;133:18:1;;63637:55:0;14:177:1;42217:191:0;42310:6;;;-1:-1:-1;;;;;42327:17:0;;;-1:-1:-1;;;;;;42327:17:0;;;;;;;42360:40;;42310:6;;;42327:17;42310:6;;42360:40;;42291:16;;42360:40;42280:128;42217:191;:::o;45196:118::-;44205:19;:17;:19::i;:::-;45256:7:::1;:14:::0;;-1:-1:-1;;45256:14:0::1;45266:4;45256:14;::::0;;45286:20:::1;45293:12;39079:10:::0;;38999:98;64601:186;64668:4;;64682:5;;64659:33;;-1:-1:-1;;;;;64668:4:0;;;;;64682:5;;;64668:4;64659:8;:33::i;:::-;64712:4;;64703:35;;-1:-1:-1;;;;;64712:4:0;61065:42;64712:4;64703:8;:35::i;:::-;64758:6;;64766:9;;64749:30;;-1:-1:-1;;;;;64758:6:0;;;;64766:9;64758:6;64749:8;:30::i;48544:136::-;48586:29;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48586:29:0;48635:14;;:37;;-1:-1:-1;;;48635:37:0;;48666:4;48635:37;;;360:51:1;-1:-1:-1;;;;;48635:14:0;;;;:22;;333:18:1;;48635:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;48635:37:0;;;;;;;;;;;;:::i;44759:108::-;44671:7;;;;44829:9;44821:38;;;;-1:-1:-1;;;44821:38:0;;16461:2:1;44821:38:0;;;16443:21:1;16500:2;16480:18;;;16473:30;-1:-1:-1;;;16519:18:1;;;16512:46;16575:18;;44821:38:0;16259:340:1;62915:221:0;62979:10;;-1:-1:-1;;;;;62979:10:0;:24;62975:154;;63036:3;;63020:28;;-1:-1:-1;;;63020:28:0;;;;;13186:25:1;;;;13227:18;;;13220:34;;;61065:42:0;;63020:15;;13159:18:1;;63020:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;58148:379;:::o;62975:154::-;63095:5;;63081:36;;-1:-1:-1;;;63081:36:0;;;;;160:25:1;;;63095:5:0;;;;-1:-1:-1;;;;;63095:5:0;;63081:28;;133:18:1;;63081:36:0;14:177:1;63812:328:0;63863:10;;-1:-1:-1;;;;;63863:10:0;:24;63859:274;;63922:10;;63904:54;;-1:-1:-1;;;63904:54:0;;63952:4;63904:54;;;360:51:1;-1:-1:-1;;;;;63922:10:0;;;;63904:39;;333:18:1;;63904:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63859:274;63995:13;;;;63991:37;;;64022:5;;64010:18;;-1:-1:-1;;;64010:18:0;;64022:5;;;;-1:-1:-1;;;;;64022:5:0;64010:18;;;360:51:1;61162:42:0;;64010:11;;333:18:1;;64010::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63991:37;64047:23;;;;;;;64043:78;;;64086:5;;64072:49;;-1:-1:-1;;;64072:49:0;;64115:4;64072:49;;;360:51:1;64086:5:0;;;;-1:-1:-1;;;;;64086:5:0;;64072:34;;333:18:1;;64072:49:0;196:221:1;54814:361:0;54879:6;54874:294;54891:7;:14;54887:18;;54874:294;;;54927:13;54943:7;54951:1;54943:10;;;;;;;;:::i;:::-;;;;;;;;;;54985:38;;-1:-1:-1;;;54985:38:0;;55017:4;54985:38;;;360:51:1;-1:-1:-1;;;;;54943:10:0;;;;-1:-1:-1;54943:10:0;;54985:23;;333:18:1;;54985:38:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;55051:17:0;;;;;;:10;:17;;;;;;54968:55;;-1:-1:-1;55042:26:0;;55038:119;;;55103:9;;55126:6;;55089:52;;-1:-1:-1;;;55089:52:0;;-1:-1:-1;;;;;16862:15:1;;;55089:52:0;;;16844:34:1;55126:6:0;;;16894:18:1;;;16887:43;16946:18;;;16939:34;;;55103:9:0;;;55089:29;;16779:18:1;;55089:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;55038:119;54912:256;;54907:3;;;;:::i;:::-;;;54874:294;;55208:728;55275:34;55312:9;:7;:9::i;:::-;55394:10;;55359:6;;55352:39;;-1:-1:-1;;;55352:39:0;;55385:4;55352:39;;;360:51:1;55394:10:0;;-1:-1:-1;55332:17:0;;47187:7;;55394:10;-1:-1:-1;;;;;55359:6:0;;55352:24;;333:18:1;;55352:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:52;;;;:::i;:::-;:62;;;;:::i;:::-;55332:82;;55427:21;47187:7;55463:4;:9;;;55451;:21;;;;:::i;:::-;:31;;;;:::i;:::-;55500:6;;55427:55;;-1:-1:-1;55493:60:0;;-1:-1:-1;;;;;55500:6:0;55521:16;55427:55;55493:27;:60::i;:::-;55566:22;47187:7;55603:4;:10;;;55591:9;:22;;;;:::i;:::-;:32;;;;:::i;:::-;55662:17;;55641:6;;55566:57;;-1:-1:-1;55634:62:0;;-1:-1:-1;;;;;55641:6:0;;;;55662:17;55566:57;55634:27;:62::i;:::-;55709:27;47187:7;55751:4;:15;;;55739:9;:27;;;;:::i;:::-;:37;;;;:::i;:::-;55815:10;;55794:6;;55709:67;;-1:-1:-1;55787:60:0;;-1:-1:-1;;;;;55794:6:0;;;;55815:10;55709:67;55787:27;:60::i;:::-;55865:63;;;17186:25:1;;;17242:2;17227:18;;17220:34;;;17270:18;;;17263:34;;;55865:63:0;;17174:2:1;17159:18;55865:63:0;;;;;;;55264:672;;;;;55208:728;:::o;55944:304::-;56005:12;;-1:-1:-1;;;;;56005:12:0;56001:240;;56054:6;;56062:4;;56048:19;;-1:-1:-1;;;;;56054:6:0;;;;56062:4;56048:5;:19::i;56001:240::-;56120:6;;56104:12;;-1:-1:-1;;;;;56104:12:0;;;56120:6;;56104:22;56100:90;;56153:6;;56161:12;;56147:27;;-1:-1:-1;;;;;56153:6:0;;;;56161:12;56147:5;:27::i;:::-;56210:12;;56224:4;;56204:25;;-1:-1:-1;;;;;56210:12:0;;;;56224:4;56204:5;:25::i;17609:716::-;18033:23;18059:69;18087:4;18059:69;;;;;;;;;;;;;;;;;18067:5;-1:-1:-1;;;;;18059:27:0;;;:69;;;;;:::i;:::-;18143:17;;18033:95;;-1:-1:-1;18143:21:0;18139:179;;18240:10;18229:30;;;;;;;;;;;;:::i;:::-;18221:85;;;;-1:-1:-1;;;18221:85:0;;17510:2:1;18221:85:0;;;17492:21:1;17549:2;17529:18;;;17522:30;17588:34;17568:18;;;17561:62;-1:-1:-1;;;17639:18:1;;;17632:40;17689:19;;18221:85:0;17308:406:1;44944:108:0;44671:7;;;;45003:41;;;;-1:-1:-1;;;45003:41:0;;17921:2:1;45003:41:0;;;17903:21:1;17960:2;17940:18;;;17933:30;-1:-1:-1;;;17979:18:1;;;17972:50;18039:18;;45003:41:0;17719:344:1;47720:513:0;36824:13;;;;;;;36816:69;;;;-1:-1:-1;;;36816:69:0;;;;;;;:::i;:::-;47832:16:::1;:14;:16::i;:::-;47859:17;:15;:17::i;:::-;47895:22;;::::0;::::1;:16:::0;:22:::1;:::i;:::-;47887:5;:30:::0;;-1:-1:-1;;;;;;47887:30:0::1;-1:-1:-1::0;;;;;47887:30:0;;;::::1;::::0;;;::::1;::::0;;47940:26:::1;::::0;;;::::1;::::0;::::1;;:::i;:::-;47928:9;:38:::0;;-1:-1:-1;;;;;;47928:38:0::1;-1:-1:-1::0;;;;;47928:38:0;;;::::1;::::0;;;::::1;::::0;;47986:23:::1;::::0;;;::::1;::::0;::::1;;:::i;:::-;47977:6;:32:::0;;-1:-1:-1;;;;;;47977:32:0::1;-1:-1:-1::0;;;;;47977:32:0;;;::::1;::::0;;;::::1;::::0;;48033:27:::1;::::0;;;::::1;::::0;::::1;;:::i;:::-;48020:10;:40:::0;;-1:-1:-1;;;;;;48020:40:0::1;-1:-1:-1::0;;;;;48020:40:0;;;::::1;::::0;;;::::1;::::0;;48091:34:::1;::::0;;;::::1;::::0;::::1;;:::i;:::-;48071:17;:54:::0;;-1:-1:-1;;;;;;48071:54:0::1;-1:-1:-1::0;;;;;48071:54:0;;;::::1;::::0;;;::::1;::::0;;48164:31:::1;::::0;;;::::1;::::0;::::1;;:::i;:::-;48136:14;:60:::0;;-1:-1:-1;;;;;;48136:60:0::1;-1:-1:-1::0;;;;;48136:60:0;;;::::1;::::0;;;::::1;::::0;;-1:-1:-1;48223:2:0::1;48207:13;:18:::0;47720:513::o;56256:197::-;56338:42;;-1:-1:-1;;;56338:42:0;;56374:4;56338:42;;;360:51:1;56327:8:0;;-1:-1:-1;;;;;56338:27:0;;;;;333:18:1;;56338:42:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56405:9;;56391:54;;-1:-1:-1;;;56391:54:0;;-1:-1:-1;;;;;16862:15:1;;;56391:54:0;;;16844:34:1;16914:15;;;16894:18;;;16887:43;16946:18;;;16939:34;;;56327:53:0;;-1:-1:-1;56405:9:0;;;56391:29;;16779:18:1;;56391:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;9255:229::-;9392:12;9424:52;9446:6;9454:4;9460:1;9463:12;9424:21;:52::i;:::-;9417:59;;9255:229;;;;;;:::o;40500:97::-;36824:13;;;;;;;36816:69;;;;-1:-1:-1;;;36816:69:0;;;;;;;:::i;:::-;40563:26:::1;:24;:26::i;43770:99::-:0;36824:13;;;;;;;36816:69;;;;-1:-1:-1;;;36816:69:0;;;;;;;:::i;:::-;43834:27:::1;:25;:27::i;10375:510::-:0;10545:12;10603:5;10578:21;:30;;10570:81;;;;-1:-1:-1;;;10570:81:0;;18270:2:1;10570:81:0;;;18252:21:1;18309:2;18289:18;;;18282:30;18348:34;18328:18;;;18321:62;-1:-1:-1;;;18399:18:1;;;18392:36;18445:19;;10570:81:0;18068:402:1;10570:81:0;-1:-1:-1;;;;;23457:19:0;;;10662:60;;;;-1:-1:-1;;;10662:60:0;;18677:2:1;10662:60:0;;;18659:21:1;18716:2;18696:18;;;18689:30;18755:31;18735:18;;;18728:59;18804:18;;10662:60:0;18475:353:1;10662:60:0;10736:12;10750:23;10777:6;-1:-1:-1;;;;;10777:11:0;10796:5;10803:4;10777:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10735:73;;;;10826:51;10843:7;10852:10;10864:12;10826:16;:51::i;:::-;10819:58;10375:510;-1:-1:-1;;;;;;;10375:510:0:o;40605:113::-;36824:13;;;;;;;36816:69;;;;-1:-1:-1;;;36816:69:0;;;;;;;:::i;:::-;40678:32:::1;39079:10:::0;40678:18:::1;:32::i;43877:97::-:0;36824:13;;;;;;;36816:69;;;;-1:-1:-1;;;36816:69:0;;;;;;;:::i;:::-;43951:7:::1;:15:::0;;-1:-1:-1;;43951:15:0::1;::::0;;43877:97::o;13061:762::-;13211:12;13240:7;13236:580;;;-1:-1:-1;13271:10:0;13264:17;;13236:580;13385:17;;:21;13381:424;;13633:10;13627:17;13694:15;13681:10;13677:2;13673:19;13666:44;13381:424;13776:12;13769:20;;-1:-1:-1;;;13769:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;:::o;422:131:1:-;-1:-1:-1;;;;;497:31:1;;487:42;;477:70;;543:1;540;533:12;558:134;626:20;;655:31;626:20;655:31;:::i;:::-;558:134;;;:::o;697:247::-;756:6;809:2;797:9;788:7;784:23;780:32;777:52;;;825:1;822;815:12;777:52;864:9;851:23;883:31;908:5;883:31;:::i;949:118::-;1035:5;1028:13;1021:21;1014:5;1011:32;1001:60;;1057:1;1054;1047:12;1072:241;1128:6;1181:2;1169:9;1160:7;1156:23;1152:32;1149:52;;;1197:1;1194;1187:12;1149:52;1236:9;1223:23;1255:28;1277:5;1255:28;:::i;1526:180::-;1585:6;1638:2;1626:9;1617:7;1613:23;1609:32;1606:52;;;1654:1;1651;1644:12;1606:52;-1:-1:-1;1677:23:1;;1526:180;-1:-1:-1;1526:180:1:o;1903:164::-;1971:5;2016:3;2007:6;2002:3;1998:16;1994:26;1991:46;;;2033:1;2030;2023:12;1991:46;-1:-1:-1;2055:6:1;1903:164;-1:-1:-1;1903:164:1:o;2072:1537::-;2265:6;2273;2281;2289;2297;2305;2313;2321;2329;2337;2390:3;2378:9;2369:7;2365:23;2361:33;2358:53;;;2407:1;2404;2397:12;2358:53;2446:9;2433:23;2465:31;2490:5;2465:31;:::i;:::-;2515:5;-1:-1:-1;2572:2:1;2557:18;;2544:32;2585:33;2544:32;2585:33;:::i;:::-;2637:7;-1:-1:-1;2696:2:1;2681:18;;2668:32;2709:33;2668:32;2709:33;:::i;:::-;2761:7;-1:-1:-1;2815:2:1;2800:18;;2787:32;;-1:-1:-1;2871:3:1;2856:19;;2843:33;2885;2843;2885;:::i;:::-;2937:7;-1:-1:-1;2995:3:1;2980:19;;2967:33;3019:18;3049:14;;;3046:34;;;3076:1;3073;3066:12;3046:34;3114:6;3103:9;3099:22;3089:32;;3159:7;3152:4;3148:2;3144:13;3140:27;3130:55;;3181:1;3178;3171:12;3130:55;3221:2;3208:16;3247:2;3239:6;3236:14;3233:34;;;3263:1;3260;3253:12;3233:34;3316:7;3311:2;3301:6;3298:1;3294:14;3290:2;3286:23;3282:32;3279:45;3276:65;;;3337:1;3334;3327:12;3276:65;3368:2;3364;3360:11;3350:21;;3390:6;3380:16;;;;;3415:39;3449:3;3438:9;3434:19;3415:39;:::i;:::-;3405:49;;3473:39;3507:3;3496:9;3492:19;3473:39;:::i;:::-;3463:49;;3531:72;3595:7;3589:3;3578:9;3574:19;3531:72;:::i;:::-;3521:82;;2072:1537;;;;;;;;;;;;;:::o;3841:315::-;3909:6;3917;3970:2;3958:9;3949:7;3945:23;3941:32;3938:52;;;3986:1;3983;3976:12;3938:52;4025:9;4012:23;4044:31;4069:5;4044:31;:::i;:::-;4094:5;4146:2;4131:18;;;;4118:32;;-1:-1:-1;;;3841:315:1:o;4161:250::-;4246:1;4256:113;4270:6;4267:1;4264:13;4256:113;;;4346:11;;;4340:18;4327:11;;;4320:39;4292:2;4285:10;4256:113;;;-1:-1:-1;;4403:1:1;4385:16;;4378:27;4161:250::o;4416:271::-;4458:3;4496:5;4490:12;4523:6;4518:3;4511:19;4539:76;4608:6;4601:4;4596:3;4592:14;4585:4;4578:5;4574:16;4539:76;:::i;:::-;4669:2;4648:15;-1:-1:-1;;4644:29:1;4635:39;;;;4676:4;4631:50;;4416:271;-1:-1:-1;;4416:271:1:o;4692:940::-;4871:2;4860:9;4853:21;4834:4;4909:6;4903:13;4952:4;4947:2;4936:9;4932:18;4925:32;5000:12;4994:19;4988:3;4977:9;4973:19;4966:48;5075:2;5061:12;5057:21;5051:28;5045:3;5034:9;5030:19;5023:57;5142:4;5128:12;5124:23;5118:30;5111:4;5100:9;5096:20;5089:60;5210:4;5196:12;5192:23;5186:30;5180:3;5169:9;5165:19;5158:59;5272:3;5258:12;5254:22;5248:29;5314:4;5308:3;5297:9;5293:19;5286:33;5342:54;5391:3;5380:9;5376:19;5360:14;5342:54;:::i;:::-;5328:68;;5471:3;5457:12;5453:22;5447:29;5440:37;5433:45;5427:3;5416:9;5412:19;5405:74;5535:2;5527:6;5523:15;5517:22;5510:4;5499:9;5495:20;5488:52;5596:4;5588:6;5584:17;5578:24;5571:4;5560:9;5556:20;5549:54;5620:6;5612:14;;;;4692:940;;;;:::o;6202:184::-;6272:6;6325:2;6313:9;6304:7;6300:23;6296:32;6293:52;;;6341:1;6338;6331:12;6293:52;-1:-1:-1;6364:16:1;;6202:184;-1:-1:-1;6202:184:1:o;6391:329::-;6593:2;6575:21;;;6632:1;6612:18;;;6605:29;-1:-1:-1;;;6665:2:1;6650:18;;6643:36;6711:2;6696:18;;6391:329::o;6725:127::-;6786:10;6781:3;6777:20;6774:1;6767:31;6817:4;6814:1;6807:15;6841:4;6838:1;6831:15;6857:128;6924:9;;;6945:11;;;6942:37;;;6959:18;;:::i;:::-;6857:128;;;;:::o;6990:168::-;7063:9;;;7094;;7111:15;;;7105:22;;7091:37;7081:71;;7132:18;;:::i;7163:217::-;7203:1;7229;7219:132;;7273:10;7268:3;7264:20;7261:1;7254:31;7308:4;7305:1;7298:15;7336:4;7333:1;7326:15;7219:132;-1:-1:-1;7365:9:1;;7163:217::o;7800:132::-;7876:13;;7898:28;7876:13;7898:28;:::i;7937:783::-;8040:6;8048;8056;8064;8072;8125:3;8113:9;8104:7;8100:23;8096:33;8093:53;;;8142:1;8139;8132:12;8093:53;8174:9;8168:16;8193:31;8218:5;8193:31;:::i;:::-;8293:2;8278:18;;8272:25;8243:5;;-1:-1:-1;8306:33:1;8272:25;8306:33;:::i;:::-;8410:2;8395:18;;8389:25;8358:7;;-1:-1:-1;8423:33:1;8389:25;8423:33;:::i;:::-;8527:2;8512:18;;8506:25;8475:7;;-1:-1:-1;8540:30:1;8506:25;8540:30;:::i;:::-;8641:3;8626:19;;8620:26;8589:7;;-1:-1:-1;8655:33:1;8620:26;8655:33;:::i;:::-;8707:7;8697:17;;;7937:783;;;;;;;;:::o;8725:287::-;8854:3;8892:6;8886:13;8908:66;8967:6;8962:3;8955:4;8947:6;8943:17;8908:66;:::i;:::-;8990:16;;;;;8725:287;-1:-1:-1;;8725:287:1:o;9216:125::-;9281:9;;;9302:10;;;9299:36;;;9315:18;;:::i;10013:127::-;10074:10;10069:3;10065:20;10062:1;10055:31;10105:4;10102:1;10095:15;10129:4;10126:1;10119:15;10145:135;10184:3;10205:17;;;10202:43;;10225:18;;:::i;:::-;-1:-1:-1;10272:1:1;10261:13;;10145:135::o;10285:127::-;10346:10;10341:3;10337:20;10334:1;10327:31;10377:4;10374:1;10367:15;10401:4;10398:1;10391:15;11752:245;11819:6;11872:2;11860:9;11851:7;11847:23;11843:32;11840:52;;;11888:1;11885;11878:12;11840:52;11920:9;11914:16;11939:28;11961:5;11939:28;:::i;13889:407::-;14091:2;14073:21;;;14130:2;14110:18;;;14103:30;14169:34;14164:2;14149:18;;14142:62;-1:-1:-1;;;14235:2:1;14220:18;;14213:41;14286:3;14271:19;;13889:407::o;14301:127::-;14362:10;14357:3;14353:20;14350:1;14343:31;14393:4;14390:1;14383:15;14417:4;14414:1;14407:15;14433:253;14505:2;14499:9;14547:4;14535:17;;14582:18;14567:34;;14603:22;;;14564:62;14561:88;;;14629:18;;:::i;:::-;14665:2;14658:22;14433:253;:::o;14691:275::-;14762:2;14756:9;14827:2;14808:13;;-1:-1:-1;;14804:27:1;14792:40;;14862:18;14847:34;;14883:22;;;14844:62;14841:88;;;14909:18;;:::i;:::-;14945:2;14938:22;14691:275;;-1:-1:-1;14691:275:1:o;14971:1283::-;15070:6;15101:2;15144;15132:9;15123:7;15119:23;15115:32;15112:52;;;15160:1;15157;15150:12;15112:52;15193:9;15187:16;15222:18;15263:2;15255:6;15252:14;15249:34;;;15279:1;15276;15269:12;15249:34;15302:22;;;;15358:4;15340:16;;;15336:27;15333:47;;;15376:1;15373;15366:12;15333:47;15402:22;;:::i;:::-;15453:2;15447:9;15440:5;15433:24;15503:2;15499;15495:11;15489:18;15484:2;15477:5;15473:14;15466:42;15554:2;15550;15546:11;15540:18;15535:2;15528:5;15524:14;15517:42;15605:2;15601;15597:11;15591:18;15586:2;15579:5;15575:14;15568:42;15649:3;15645:2;15641:12;15635:19;15679:2;15669:8;15666:16;15663:36;;;15695:1;15692;15685:12;15663:36;15718:17;;15766:4;15758:13;;15754:27;-1:-1:-1;15744:55:1;;15795:1;15792;15785:12;15744:55;15824:2;15818:9;15846:2;15842;15839:10;15836:36;;;15852:18;;:::i;:::-;15894:53;15937:2;15918:13;;-1:-1:-1;;15914:27:1;15910:36;;15894:53;:::i;:::-;15881:66;;15970:2;15963:5;15956:17;16010:7;16005:2;16000;15996;15992:11;15988:20;15985:33;15982:53;;;16031:1;16028;16021:12;15982:53;16044:67;16108:2;16103;16096:5;16092:14;16087:2;16083;16079:11;16044:67;:::i;:::-;;;16144:5;16138:3;16131:5;16127:15;16120:30;16183:40;16218:3;16214:2;16210:12;16183:40;:::i;:::-;16177:3;16166:15;;16159:65;16170:5;14971:1283;-1:-1:-1;;;;;;14971:1283:1:o;18833:220::-;18982:2;18971:9;18964:21;18945:4;19002:45;19043:2;19032:9;19028:18;19020:6;19002:45;:::i
Swarm Source
ipfs://e42c2b695c3fe0d10c559800a84e89d0a9e7852b65c1467ce3416a1c79779b39
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
[ 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.