Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 2,487 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Approve | 21403887 | 13 days ago | IN | 0 ETH | 0.0001957 | ||||
Approve | 21403880 | 13 days ago | IN | 0 ETH | 0.00022963 | ||||
Approve | 21403880 | 13 days ago | IN | 0 ETH | 0.00022963 | ||||
Withdraw | 21186757 | 44 days ago | IN | 0 ETH | 0.0103906 | ||||
Approve | 20980258 | 73 days ago | IN | 0 ETH | 0.00034734 | ||||
Approve | 20398584 | 154 days ago | IN | 0 ETH | 0.00010464 | ||||
Approve | 20398582 | 154 days ago | IN | 0 ETH | 0.00009343 | ||||
Approve | 19916161 | 221 days ago | IN | 0 ETH | 0.000171 | ||||
Approve | 19916012 | 221 days ago | IN | 0 ETH | 0.000171 | ||||
Approve | 19916000 | 221 days ago | IN | 0 ETH | 0.000171 | ||||
Approve | 19481672 | 282 days ago | IN | 0 ETH | 0.00067445 | ||||
Approve | 18924247 | 360 days ago | IN | 0 ETH | 0.00039766 | ||||
Get Reward | 18923473 | 360 days ago | IN | 0 ETH | 0.00263443 | ||||
Get Reward | 18923457 | 360 days ago | IN | 0 ETH | 0.00394336 | ||||
Withdraw | 18923398 | 360 days ago | IN | 0 ETH | 0.00417249 | ||||
Get Reward | 18850635 | 371 days ago | IN | 0 ETH | 0.0047446 | ||||
Withdraw And Unw... | 18850452 | 371 days ago | IN | 0 ETH | 0.01225658 | ||||
Withdraw And Unw... | 18282862 | 450 days ago | IN | 0 ETH | 0.00543675 | ||||
Withdraw | 18266011 | 452 days ago | IN | 0 ETH | 0.00409167 | ||||
Withdraw And Unw... | 17748836 | 525 days ago | IN | 0 ETH | 0.01094796 | ||||
Get Reward | 17735961 | 527 days ago | IN | 0 ETH | 0.0081668 | ||||
Withdraw And Unw... | 17031255 | 626 days ago | IN | 0 ETH | 0.01316447 | ||||
Approve | 17010111 | 629 days ago | IN | 0 ETH | 0.00050504 | ||||
Approve | 17009909 | 629 days ago | IN | 0 ETH | 0.00052452 | ||||
Approve | 17009034 | 629 days ago | IN | 0 ETH | 0.00059958 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
21186769 | 44 days ago | 0 ETH | |||||
21186769 | 44 days ago | 0 ETH | |||||
21186769 | 44 days ago | 0 ETH | |||||
21186769 | 44 days ago | 0 ETH | |||||
21186769 | 44 days ago | 0 ETH | |||||
21186769 | 44 days ago | 0 ETH | |||||
21186769 | 44 days ago | 0 ETH | |||||
21186769 | 44 days ago | 0 ETH | |||||
21186757 | 44 days ago | 0 ETH | |||||
21186757 | 44 days ago | 0 ETH | |||||
21186757 | 44 days ago | 0 ETH | |||||
21186757 | 44 days ago | 0 ETH | |||||
21186757 | 44 days ago | 0 ETH | |||||
21186757 | 44 days ago | 0 ETH | |||||
21186757 | 44 days ago | 0 ETH | |||||
20702376 | 111 days ago | 0 ETH | |||||
20702376 | 111 days ago | 0 ETH | |||||
20702376 | 111 days ago | 0 ETH | |||||
20702376 | 111 days ago | 0 ETH | |||||
20702376 | 111 days ago | 0 ETH | |||||
20702376 | 111 days ago | 0 ETH | |||||
20702376 | 111 days ago | 0 ETH | |||||
20702376 | 111 days ago | 0 ETH | |||||
20457779 | 146 days ago | 0 ETH | |||||
20457779 | 146 days ago | 0 ETH |
Loading...
Loading
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
ConvexStakingWrapperAbra
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-08-28 */ // SPDX-License-Identifier: MIT // File: contracts\interfaces\ICauldron.sol pragma solidity 0.6.12; interface ICauldron { function userCollateralShare(address account) external view returns (uint); } // File: contracts\interfaces\IBentoBox.sol pragma solidity 0.6.12; interface IBentoBox { function toAmount(address _token, uint256 _share, bool _roundUp) external view returns (uint); } // File: contracts\interfaces\IRewardStaking.sol pragma solidity 0.6.12; interface IRewardStaking { function stakeFor(address, uint256) external; function stake( uint256) external; function withdraw(uint256 amount, bool claim) external; function withdrawAndUnwrap(uint256 amount, bool claim) external; function earned(address account) external view returns (uint256); function getReward() external; function getReward(address _account, bool _claimExtras) external; function extraRewardsLength() external view returns (uint256); function extraRewards(uint256 _pid) external view returns (address); function rewardToken() external view returns (address); function balanceOf(address _account) external view returns (uint256); } // File: contracts\interfaces\IConvexDeposits.sol pragma solidity 0.6.12; interface IConvexDeposits { function deposit(uint256 _pid, uint256 _amount, bool _stake) external returns(bool); function deposit(uint256 _amount, bool _lock, address _stakeAddress) external; } // File: contracts\interfaces\ICvx.sol pragma solidity 0.6.12; interface ICvx { function reductionPerCliff() external view returns(uint256); function totalSupply() external view returns(uint256); function totalCliffs() external view returns(uint256); function maxSupply() external view returns(uint256); } // File: contracts\interfaces\CvxMining.sol pragma solidity 0.6.12; library CvxMining{ ICvx public constant cvx = ICvx(0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B); function ConvertCrvToCvx(uint256 _amount) external view returns(uint256){ uint256 supply = cvx.totalSupply(); uint256 reductionPerCliff = cvx.reductionPerCliff(); uint256 totalCliffs = cvx.totalCliffs(); uint256 maxSupply = cvx.maxSupply(); uint256 cliff = supply / reductionPerCliff; //mint if below total cliffs if(cliff < totalCliffs){ //for reduction% take inverse of current cliff uint256 reduction = totalCliffs - cliff; //reduce _amount = _amount * reduction / totalCliffs; //supply cap check uint256 amtTillMax = maxSupply - supply; if(_amount > amtTillMax){ _amount = amtTillMax; } //mint return _amount; } return 0; } } // File: @openzeppelin\contracts\math\SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: @openzeppelin\contracts\token\ERC20\IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin\contracts\utils\Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin\contracts\token\ERC20\SafeERC20.sol pragma solidity >=0.6.0 <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 SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: node_modules\@openzeppelin\contracts\utils\Context.sol pragma solidity >=0.6.0 <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 GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin\contracts\token\ERC20\ERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name_, string memory symbol_) public { _name = name_; _symbol = symbol_; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * Requirements: * * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal virtual { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } // File: @openzeppelin\contracts\utils\ReentrancyGuard.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } // File: @openzeppelin\contracts\access\Ownable.sol pragma solidity >=0.6.0 <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 Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: contracts\wrappers\ConvexStakingWrapper.sol pragma solidity 0.6.12; pragma experimental ABIEncoderV2; //Example of a tokenize a convex staked position. //if used as collateral some modifications will be needed to fit the specific platform //Based on Curve.fi's gauge wrapper implementations at https://github.com/curvefi/curve-dao-contracts/tree/master/contracts/gauges/wrappers contract ConvexStakingWrapper is ERC20, ReentrancyGuard, Ownable { using SafeERC20 for IERC20; using Address for address; using SafeMath for uint256; struct EarnedData { address token; uint256 amount; } struct RewardType { address reward_token; address reward_pool; uint128 reward_integral; uint128 reward_remaining; mapping(address => uint256) reward_integral_for; mapping(address => uint256) claimable_reward; } uint256 public cvx_reward_integral; uint256 public cvx_reward_remaining; mapping(address => uint256) public cvx_reward_integral_for; mapping(address => uint256) public cvx_claimable_reward; //constants/immutables address public constant convexBooster = address(0xF403C135812408BFbE8713b5A23a04b3D48AAE31); address public constant crv = address(0xD533a949740bb3306d119CC777fa900bA034cd52); address public constant cvx = address(0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B); address public immutable curveToken; address public immutable convexToken; address public immutable convexPool; uint256 public immutable convexPoolId; address public immutable collateralVault; //rewards RewardType[] public rewards; //management bool public isShutdown = false; event Deposited(address indexed _user, address indexed _account, uint256 _amount, bool _wrapped); event Withdrawn(address indexed _user, uint256 _amount, bool _unwrapped); constructor(address _curveToken, address _convexToken, address _convexPool, uint256 _poolId, address _vault, string memory _nameTag, string memory _symbolTag) public ERC20( string( abi.encodePacked("Staked ", ERC20(_convexToken).name(), _nameTag ) ), string(abi.encodePacked("stk", ERC20(_convexToken).symbol(), _symbolTag)) ) Ownable() { curveToken = _curveToken; convexToken = _convexToken; convexPool = _convexPool; convexPoolId = _poolId; collateralVault = _vault; } function shutdown() external onlyOwner { isShutdown = true; } function setApprovals() external { IERC20(curveToken).safeApprove(convexBooster, 0); IERC20(curveToken).safeApprove(convexBooster, uint256(-1)); IERC20(convexToken).safeApprove(convexPool, 0); IERC20(convexToken).safeApprove(convexPool, uint256(-1)); } function addRewards() external { address mainPool = convexPool; if (rewards.length == 0) { rewards.push( RewardType({ reward_token: crv, reward_pool: mainPool, reward_integral: 0, reward_remaining: 0 }) ); } uint256 extraCount = IRewardStaking(mainPool).extraRewardsLength(); uint256 startIndex = rewards.length - 1; for (uint256 i = startIndex; i < extraCount; i++) { address extraPool = IRewardStaking(mainPool).extraRewards(i); rewards.push( RewardType({ reward_token: IRewardStaking(extraPool).rewardToken(), reward_pool: extraPool, reward_integral: 0, reward_remaining: 0 }) ); } } function rewardLength() external view returns(uint256) { return rewards.length; } function _getDepositedBalance(address _account) internal virtual view returns(uint256) { if (_account == address(0) || _account == collateralVault) { return 0; } //get balance from collateralVault return balanceOf(_account); } function _getTotalSupply() internal virtual view returns(uint256){ //override and add any supply needed (interest based growth) return totalSupply(); } function _calcCvxIntegral(address[2] memory _accounts, uint256[2] memory _balances, uint256 _supply, bool _isClaim) internal { uint256 bal = IERC20(cvx).balanceOf(address(this)); uint256 d_cvxreward = bal.sub(cvx_reward_remaining); if (_supply > 0 && d_cvxreward > 0) { cvx_reward_integral = cvx_reward_integral + d_cvxreward.mul(1e20).div(_supply); } //update user integrals for cvx for (uint256 u = 0; u < _accounts.length; u++) { //do not give rewards to address 0 if (_accounts[u] == address(0)) continue; if (_accounts[u] == collateralVault) continue; uint userI = cvx_reward_integral_for[_accounts[u]]; if(_isClaim || userI < cvx_reward_integral){ uint256 receiveable = cvx_claimable_reward[_accounts[u]].add(_balances[u].mul(cvx_reward_integral.sub(userI)).div(1e20)); if(_isClaim){ if(receiveable > 0){ cvx_claimable_reward[_accounts[u]] = 0; IERC20(cvx).safeTransfer(_accounts[u], receiveable); bal = bal.sub(receiveable); } }else{ cvx_claimable_reward[_accounts[u]] = receiveable; } cvx_reward_integral_for[_accounts[u]] = cvx_reward_integral; } } //update reward total if(bal != cvx_reward_remaining){ cvx_reward_remaining = bal; } } function _calcRewardIntegral(uint256 _index, address[2] memory _accounts, uint256[2] memory _balances, uint256 _supply, bool _isClaim) internal{ RewardType storage reward = rewards[_index]; //get difference in balance and remaining rewards //getReward is unguarded so we use reward_remaining to keep track of how much was actually claimed uint256 bal = IERC20(reward.reward_token).balanceOf(address(this)); // uint256 d_reward = bal.sub(reward.reward_remaining); if (_supply > 0 && bal.sub(reward.reward_remaining) > 0) { reward.reward_integral = reward.reward_integral + uint128(bal.sub(reward.reward_remaining).mul(1e20).div(_supply)); } //update user integrals for (uint256 u = 0; u < _accounts.length; u++) { //do not give rewards to address 0 if (_accounts[u] == address(0)) continue; if (_accounts[u] == collateralVault) continue; uint userI = reward.reward_integral_for[_accounts[u]]; if(_isClaim || userI < reward.reward_integral){ if(_isClaim){ uint256 receiveable = reward.claimable_reward[_accounts[u]].add(_balances[u].mul( uint256(reward.reward_integral).sub(userI)).div(1e20)); if(receiveable > 0){ reward.claimable_reward[_accounts[u]] = 0; IERC20(reward.reward_token).safeTransfer(_accounts[u], receiveable); bal = bal.sub(receiveable); } }else{ reward.claimable_reward[_accounts[u]] = reward.claimable_reward[_accounts[u]].add(_balances[u].mul( uint256(reward.reward_integral).sub(userI)).div(1e20)); } reward.reward_integral_for[_accounts[u]] = reward.reward_integral; } } //update remaining reward here since balance could have changed if claiming if(bal != reward.reward_remaining){ reward.reward_remaining = uint128(bal); } } function _checkpoint(address[2] memory _accounts) internal { //if shutdown, no longer checkpoint in case there are problems if(isShutdown) return; uint256 supply = _getTotalSupply(); uint256[2] memory depositedBalance; depositedBalance[0] = _getDepositedBalance(_accounts[0]); depositedBalance[1] = _getDepositedBalance(_accounts[1]); IRewardStaking(convexPool).getReward(address(this), true); uint256 rewardCount = rewards.length; for (uint256 i = 0; i < rewardCount; i++) { _calcRewardIntegral(i,_accounts,depositedBalance,supply,false); } _calcCvxIntegral(_accounts,depositedBalance,supply,false); } function _checkpointAndClaim(address[2] memory _accounts) internal { uint256 supply = _getTotalSupply(); uint256[2] memory depositedBalance; depositedBalance[0] = _getDepositedBalance(_accounts[0]); //only do first slot IRewardStaking(convexPool).getReward(address(this), true); uint256 rewardCount = rewards.length; for (uint256 i = 0; i < rewardCount; i++) { _calcRewardIntegral(i,_accounts,depositedBalance,supply,true); } _calcCvxIntegral(_accounts,depositedBalance,supply,true); } function user_checkpoint(address[2] calldata _accounts) external returns(bool) { _checkpoint([_accounts[0], _accounts[1]]); return true; } function totalBalanceOf(address _account) external view returns(uint256){ return _getDepositedBalance(_account); } function earned(address _account) external view returns(EarnedData[] memory claimable) { uint256 supply = _getTotalSupply(); // uint256 depositedBalance = _getDepositedBalance(_account); uint256 rewardCount = rewards.length; claimable = new EarnedData[](rewardCount + 1); for (uint256 i = 0; i < rewardCount; i++) { RewardType storage reward = rewards[i]; //change in reward is current balance - remaining reward + earned uint256 bal = IERC20(reward.reward_token).balanceOf(address(this)); uint256 d_reward = bal.sub(reward.reward_remaining); d_reward = d_reward.add(IRewardStaking(reward.reward_pool).earned(address(this))); uint256 I = reward.reward_integral; if (supply > 0) { I = I + d_reward.mul(1e20).div(supply); } uint256 newlyClaimable = _getDepositedBalance(_account).mul(I.sub(reward.reward_integral_for[_account])).div(1e20); claimable[i].amount = reward.claimable_reward[_account].add(newlyClaimable); claimable[i].token = reward.reward_token; //calc cvx here if(reward.reward_token == crv){ claimable[rewardCount].amount = cvx_claimable_reward[_account].add(CvxMining.ConvertCrvToCvx(newlyClaimable)); claimable[i].token = cvx; } } return claimable; } function getReward(address _account) external { //claim directly in checkpoint logic to save a bit of gas _checkpointAndClaim([_account, address(0)]); } //deposit a curve token function deposit(uint256 _amount, address _to) external nonReentrant { require(!isShutdown, "shutdown"); //dont need to call checkpoint since _mint() will if (_amount > 0) { _mint(_to, _amount); IERC20(curveToken).safeTransferFrom(msg.sender, address(this), _amount); IConvexDeposits(convexBooster).deposit(convexPoolId, _amount, true); } emit Deposited(msg.sender, _to, _amount, true); } //stake a convex token function stake(uint256 _amount, address _to) external nonReentrant { require(!isShutdown, "shutdown"); //dont need to call checkpoint since _mint() will if (_amount > 0) { _mint(_to, _amount); IERC20(convexToken).safeTransferFrom(msg.sender, address(this), _amount); IRewardStaking(convexPool).stake(_amount); } emit Deposited(msg.sender, _to, _amount, false); } //withdraw to convex deposit token function withdraw(uint256 _amount) external nonReentrant { //dont need to call checkpoint since _burn() will if (_amount > 0) { _burn(msg.sender, _amount); IRewardStaking(convexPool).withdraw(_amount, false); IERC20(convexToken).safeTransfer(msg.sender, _amount); } emit Withdrawn(msg.sender, _amount, false); } //withdraw to underlying curve lp token function withdrawAndUnwrap(uint256 _amount) external nonReentrant { //dont need to call checkpoint since _burn() will if (_amount > 0) { _burn(msg.sender, _amount); IRewardStaking(convexPool).withdrawAndUnwrap(_amount, false); IERC20(curveToken).safeTransfer(msg.sender, _amount); } //events emit Withdrawn(msg.sender, _amount, true); } function _beforeTokenTransfer(address _from, address _to, uint256 _amount) internal override { _checkpoint([_from, _to]); } } // File: contracts\wrappers\ConvexStakingWrapperAbra.sol pragma solidity 0.6.12; //Staking wrapper for Abracadabra platform //use convex LP positions as collateral while still receiving rewards contract ConvexStakingWrapperAbra is ConvexStakingWrapper { using SafeERC20 for IERC20; using Address for address; using SafeMath for uint256; address public cauldron; constructor(address _curveToken, address _convexToken, address _convexPool, uint256 _poolId) public ConvexStakingWrapper(_curveToken, _convexToken, _convexPool, _poolId, address(0xF5BCE5077908a1b7370B9ae04AdC565EBd643966)," Abra", "-abra"){ } function setCauldron(address _cauldron) external onlyOwner{ require(cauldron == address(0),"!0"); cauldron = _cauldron; } function _getDepositedBalance(address _account) internal override view returns(uint256) { if (_account == address(0) || _account == collateralVault) { return 0; } //get collateral balance uint256 collateral = ICauldron(cauldron).userCollateralShare(_account); collateral = IBentoBox(collateralVault).toAmount(address(this), collateral, false); //add to balance of this token return balanceOf(_account).add(collateral); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_curveToken","type":"address"},{"internalType":"address","name":"_convexToken","type":"address"},{"internalType":"address","name":"_convexPool","type":"address"},{"internalType":"uint256","name":"_poolId","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":true,"internalType":"address","name":"_account","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"_wrapped","type":"bool"}],"name":"Deposited","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"bool","name":"_unwrapped","type":"bool"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"addRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cauldron","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collateralVault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"convexBooster","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"convexPool","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"convexPoolId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"convexToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"curveToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvx","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cvx_claimable_reward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvx_reward_integral","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"cvx_reward_integral_for","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvx_reward_remaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"earned","outputs":[{"components":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"internalType":"struct ConvexStakingWrapper.EarnedData[]","name":"claimable","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isShutdown","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"rewards","outputs":[{"internalType":"address","name":"reward_token","type":"address"},{"internalType":"address","name":"reward_pool","type":"address"},{"internalType":"uint128","name":"reward_integral","type":"uint128"},{"internalType":"uint128","name":"reward_remaining","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setApprovals","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_cauldron","type":"address"}],"name":"setCauldron","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shutdown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"totalBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[2]","name":"_accounts","type":"address[2]"}],"name":"user_checkpoint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawAndUnwrap","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
610120604052600d805460ff191690553480156200001c57600080fd5b5060405162003b1338038062003b138339810160408190526200003f9162000360565b8383838373f5bce5077908a1b7370b9ae04adc565ebd64396660405180604001604052806005815260200164204162726160d81b815250604051806040016040528060058152602001642d6162726160d81b815250856001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b158015620000ce57600080fd5b505afa158015620000e3573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526200010d9190810190620003b4565b826040516020016200012192919062000456565b604051602081830303815290604052866001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b1580156200016a57600080fd5b505afa1580156200017f573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052620001a99190810190620003b4565b82604051602001620001bd9291906200049f565b60408051601f198184030181529190528151620001e2906003906020850190620002a6565b508051620001f8906004906020840190620002a6565b50506005805460ff19166012179055506001600655600062000219620002a2565b600780546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35050506001600160601b0319606095861b811660805293851b841660a05291841b831660c05260e05290911b1661010052506200051792505050565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002e957805160ff191683800117855562000319565b8280016001018555821562000319579182015b8281111562000319578251825591602001919060010190620002fc565b50620003279291506200032b565b5090565b5b808211156200032757600081556001016200032c565b80516001600160a01b03811681146200035a57600080fd5b92915050565b6000806000806080858703121562000376578384fd5b62000382868662000342565b935062000393866020870162000342565b9250620003a4866040870162000342565b6060959095015193969295505050565b600060208284031215620003c6578081fd5b81516001600160401b0380821115620003dd578283fd5b818401915084601f830112620003f1578283fd5b81518181111562000400578384fd5b604051601f8201601f19168101602001838111828210171562000421578586fd5b60405281815283820160200187101562000439578485fd5b6200044c826020830160208701620004e4565b9695505050505050565b600066029ba30b5b2b2160cd1b825283516200047a816007850160208801620004e4565b83519083019062000493816007840160208801620004e4565b01600701949350505050565b60006273746b60e81b82528351620004bf816003850160208801620004e4565b835190830190620004d8816003840160208801620004e4565b01600301949350505050565b60005b8381101562000501578181015183820152602001620004e7565b8381111562000511576000848401525b50505050565b60805160601c60a05160601c60c05160601c60e0516101005160601c613547620005cc6000398061099f5280611b105280611bf1528061254d528061293a5250806111ad528061187b5250806109c65280610e395280610fcb52806113d6528061154c52806115a152806117c35280612194528061228a525080610eb05280611397528061152a528061157f52806118b152508061104252806110b45280611156528061149752806114e052506135476000f3fe608060405234801561001057600080fd5b506004361061025d5760003560e01c80638757b15b11610146578063c00007b0116100c3578063e529ee9511610087578063e529ee9514610496578063e6d223b11461049e578063e89133b2146104b1578063f2fde38b146104b9578063f301af42146104cc578063fc0e74d1146104ef5761025d565b8063c00007b014610442578063c3ff0a5b14610455578063cc7d510e14610468578063dd62ed3e14610470578063e2aecded146104835761025d565b80639a04dbc71161010a5780639a04dbc7146103f9578063a457c2d71461040c578063a9059cbb1461041f578063b95c574614610432578063bf86d6901461043a5761025d565b80638757b15b146103d15780638da5cb5b146103d9578063923c1d61146103e157806395d89b41146103e957806397ff6a04146103f15761025d565b806339509351116101df5780636e553f65116101a35780636e553f651461038057806370a0823114610393578063715018a6146103a657806376addb19146103ae5780637acb7757146103b65780637c93fa62146103c95761025d565b806339509351146103375780633969dfb41461034a5780634b0ee02a1461035d5780634f39059c146103705780636a4874a1146103785761025d565b806318160ddd1161022657806318160ddd146102df57806323b872dd146102f45780632cdacb50146103075780632e1a7d4d1461030f578063313ce567146103225761025d565b80628cc2621461026257806306fdde031461028b578063095ea7b3146102a05780630bece79c146102c057806314d6aed0146102d5575b600080fd5b610275610270366004612c7f565b6104f7565b6040516102829190612eed565b60405180910390f35b6102936108e9565b6040516102829190612f50565b6102b36102ae366004612d2f565b61097f565b6040516102829190612f45565b6102c861099d565b6040516102829190612e10565b6102dd6109c1565b005b6102e7610d3b565b60405161028291906133fc565b6102b3610302366004612cef565b610d41565b6102c8610dc9565b6102dd61031d366004612da0565b610de1565b61032a610f25565b604051610282919061342d565b6102b3610345366004612d2f565b610f2e565b6102dd610358366004612da0565b610f7c565b6102e761036b366004612c7f565b6110a7565b6102c86110b2565b6102c86110d6565b6102dd61038e366004612dd0565b6110ee565b6102e76103a1366004612c7f565b611285565b6102dd6112a0565b6102e7611329565b6102dd6103c4366004612dd0565b61132f565b6102e7611484565b6102dd61148a565b6102c86115ca565b6102c86115d9565b6102936115f1565b6102c8611652565b6102e7610407366004612c7f565b611666565b6102b361041a366004612d2f565b611678565b6102b361042d366004612d2f565b6116e0565b6102e76116f4565b6102b36116fa565b6102dd610450366004612c7f565b611703565b6102dd610463366004612c7f565b61172c565b6102c86117c1565b6102e761047e366004612cb7565b6117e5565b6102b3610491366004612d5a565b611810565b6102e7611879565b6102e76104ac366004612c7f565b61189d565b6102c86118af565b6102dd6104c7366004612c7f565b6118d3565b6104df6104da366004612da0565b611994565b6040516102829493929190612e3e565b6102dd6119e5565b60606000610503611a33565b600c549091506001810167ffffffffffffffff8111801561052357600080fd5b5060405190808252806020026020018201604052801561055d57816020015b61054a612c4a565b8152602001906001900390816105425790505b50925060005b818110156108e0576000600c828154811061057a57fe5b60009182526020822060059091020180546040516370a0823160e01b81529193506001600160a01b0316906370a08231906105b9903090600401612e10565b60206040518083038186803b1580156105d157600080fd5b505afa1580156105e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106099190612db8565b600283015490915060009061062f908390600160801b90046001600160801b0316611a42565b60018401546040516246613160e11b81529192506106bd916001600160a01b0390911690628cc26290610666903090600401612e10565b60206040518083038186803b15801561067e57600080fd5b505afa158015610692573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b69190612db8565b8290611a6a565b60028401549091506001600160801b031686156106f3576106f1876106eb8468056bc75e2d63100000611a8f565b90611ac9565b015b6001600160a01b038916600090815260038501602052604081205461073b9068056bc75e2d63100000906106eb9061072c908690611a42565b6107358e611afb565b90611a8f565b6001600160a01b038b1660009081526004870160205260409020549091506107639082611a6a565b89878151811061076f57fe5b6020908102919091018101510152845489516001600160a01b03909116908a908890811061079957fe5b60209081029190910101516001600160a01b03918216905285541673d533a949740bb3306d119cc777fa900ba034cd5214156108cf57604051638487474560e01b815261087990733c75bfe6fbfda3a94e7e7e8c2216afc684de53439063848747459061080a9085906004016133fc565b60206040518083038186803b15801561082257600080fd5b505af4158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a9190612db8565b6001600160a01b038c166000908152600b602052604090205490611a6a565b89888151811061088557fe5b60200260200101516020018181525050734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b8987815181106108b657fe5b60209081029190910101516001600160a01b0390911690525b505060019093019250610563915050565b5050505b919050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109755780601f1061094a57610100808354040283529160200191610975565b820191906000526020600020905b81548152906001019060200180831161095857829003601f168201915b5050505050905090565b600061099361098c611c90565b8484611c94565b5060015b92915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600c547f000000000000000000000000000000000000000000000000000000000000000090610b00576040805160808101825273d533a949740bb3306d119cc777fa900ba034cd5281526001600160a01b0383811660208301908152600093830184815260608401858152600c8054600181018255965293517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7600590960295860180546001600160a01b031990811692861692909217905591517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c8860180549093169316929092179055517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c9909201805491516001600160801b03199092166001600160801b03938416178316600160801b93909216929092021790555b6000816001600160a01b031663d55a23f46040518163ffffffff1660e01b815260040160206040518083038186803b158015610b3b57600080fd5b505afa158015610b4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b739190612db8565b600c5490915060001901805b82811015610d3557604051632061aa2360e11b81526000906001600160a01b038616906340c3544690610bb69085906004016133fc565b60206040518083038186803b158015610bce57600080fd5b505afa158015610be2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c069190612c9b565b9050600c6040518060800160405280836001600160a01b031663f7c618c16040518163ffffffff1660e01b815260040160206040518083038186803b158015610c4e57600080fd5b505afa158015610c62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c869190612c9b565b6001600160a01b03908116825293841660208083019190915260006040808401829052606093840182905285546001808201885596835291839020855160059093020180546001600160a01b03199081169389169390931781559285015183870180549093169716969096179055938201516002909401805492909101516001600160801b03199092166001600160801b03948516178416600160801b94909216939093021790915501610b7f565b50505050565b60025490565b6000610d4e848484611d48565b610dbe84610d5a611c90565b610db9856040518060600160405280602881526020016134c5602891396001600160a01b038a16600090815260016020526040812090610d98611c90565b6001600160a01b031681526020810191909152604001600020549190611e5d565b611c94565b5060015b9392505050565b73f403c135812408bfbe8713b5a23a04b3d48aae3181565b60026006541415610e0d5760405162461bcd60e51b8152600401610e0490613338565b60405180910390fd5b60026006558015610ed957610e223382611e89565b604051631c683a1b60e11b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906338d0743690610e71908490600090600401613405565b600060405180830381600087803b158015610e8b57600080fd5b505af1158015610e9f573d6000803e3d6000fd5b50610ed99250506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690503383611f6b565b336001600160a01b03167f2fd83d5e9f5d240bed47a97a24cf354e4047e25edc2da27b01fd95e5e8a0c9a5826000604051610f15929190613405565b60405180910390a2506001600655565b60055460ff1690565b6000610993610f3b611c90565b84610db98560016000610f4c611c90565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611a6a565b60026006541415610f9f5760405162461bcd60e51b8152600401610e0490613338565b6002600655801561106b57610fb43382611e89565b604051636197390160e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c32e720290611003908490600090600401613405565b600060405180830381600087803b15801561101d57600080fd5b505af1158015611031573d6000803e3d6000fd5b5061106b9250506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690503383611f6b565b336001600160a01b03167f2fd83d5e9f5d240bed47a97a24cf354e4047e25edc2da27b01fd95e5e8a0c9a5826001604051610f15929190613405565b600061099782611afb565b7f000000000000000000000000000000000000000000000000000000000000000081565b73d533a949740bb3306d119cc777fa900ba034cd5281565b600260065414156111115760405162461bcd60e51b8152600401610e0490613338565b6002600655600d5460ff16156111395760405162461bcd60e51b8152600401610e0490613235565b811561122e576111498183611fc6565b61117e6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308561207a565b6040516321d0683360e11b815273f403c135812408bfbe8713b5a23a04b3d48aae31906343a0d066906111da907f0000000000000000000000000000000000000000000000000000000000000000908690600190600401613415565b602060405180830381600087803b1580156111f457600080fd5b505af1158015611208573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122c9190612d80565b505b806001600160a01b0316336001600160a01b03167fb32af138549e2a71563d1f2b1f7f0a139b3cdbc83d877d13603de1c3c5fd487a846001604051611274929190613405565b60405180910390a350506001600655565b6001600160a01b031660009081526020819052604090205490565b6112a8611c90565b6001600160a01b03166112b96115ca565b6001600160a01b0316146112df5760405162461bcd60e51b8152600401610e049061317a565b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b60085481565b600260065414156113525760405162461bcd60e51b8152600401610e0490613338565b6002600655600d5460ff161561137a5760405162461bcd60e51b8152600401610e0490613235565b811561143e5761138a8183611fc6565b6113bf6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001633308561207a565b60405163534a7e1d60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063a694fc3a9061140b9085906004016133fc565b600060405180830381600087803b15801561142557600080fd5b505af1158015611439573d6000803e3d6000fd5b505050505b806001600160a01b0316336001600160a01b03167fb32af138549e2a71563d1f2b1f7f0a139b3cdbc83d877d13603de1c3c5fd487a846000604051611274929190613405565b60095481565b6114d36001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001673f403c135812408bfbe8713b5a23a04b3d48aae31600061209b565b61151d6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001673f403c135812408bfbe8713b5a23a04b3d48aae3160001961209b565b6115726001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f0000000000000000000000000000000000000000000000000000000000000000600061209b565b6115c86001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000060001961209b565b565b6007546001600160a01b031690565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109755780601f1061094a57610100808354040283529160200191610975565b600d5461010090046001600160a01b031681565b600a6020526000908152604090205481565b6000610993611685611c90565b84610db9856040518060600160405280602581526020016134ed60259139600160006116af611c90565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611e5d565b60006109936116ed611c90565b8484611d48565b600c5490565b600d5460ff1681565b604080518082019091526001600160a01b0382168152600060208201526117299061215e565b50565b611734611c90565b6001600160a01b03166117456115ca565b6001600160a01b03161461176b5760405162461bcd60e51b8152600401610e049061317a565b600d5461010090046001600160a01b0316156117995760405162461bcd60e51b8152600401610e04906132d2565b600d80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b7f000000000000000000000000000000000000000000000000000000000000000081565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061187160405180604001604052808460006002811061182d57fe5b6020020160208101906118409190612c7f565b6001600160a01b031681526020908101906118619060408701908701612c7f565b6001600160a01b0316905261223a565b506001919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b600b6020526000908152604090205481565b7f000000000000000000000000000000000000000000000000000000000000000081565b6118db611c90565b6001600160a01b03166118ec6115ca565b6001600160a01b0316146119125760405162461bcd60e51b8152600401610e049061317a565b6001600160a01b0381166119385760405162461bcd60e51b8152600401610e0490612fc6565b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b600c81815481106119a157fe5b60009182526020909120600590910201805460018201546002909201546001600160a01b0391821693509116906001600160801b0380821691600160801b90041684565b6119ed611c90565b6001600160a01b03166119fe6115ca565b6001600160a01b031614611a245760405162461bcd60e51b8152600401610e049061317a565b600d805460ff19166001179055565b6000611a3d610d3b565b905090565b600082821115611a645760405162461bcd60e51b8152600401610e0490613085565b50900390565b600082820183811015610dc25760405162461bcd60e51b8152600401610e049061304e565b600082611a9e57506000610997565b82820282848281611aab57fe5b0414610dc25760405162461bcd60e51b8152600401610e0490613139565b6000808211611aea5760405162461bcd60e51b8152600401610e0490613102565b818381611af357fe5b049392505050565b60006001600160a01b0382161580611b4457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b15611b51575060006108e4565b600d54604051631c9e379b60e01b815260009161010090046001600160a01b031690631c9e379b90611b87908690600401612e10565b60206040518083038186803b158015611b9f57600080fd5b505afa158015611bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd79190612db8565b604051630acc462360e31b81529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690635662311890611c2b9030908590600090600401612eca565b60206040518083038186803b158015611c4357600080fd5b505afa158015611c57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c7b9190612db8565b9050610dc281611c8a85611285565b90611a6a565b3390565b6001600160a01b038316611cba5760405162461bcd60e51b8152600401610e0490613257565b6001600160a01b038216611ce05760405162461bcd60e51b8152600401610e049061300c565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611d3b9085906133fc565b60405180910390a3505050565b6001600160a01b038316611d6e5760405162461bcd60e51b8152600401610e04906131f0565b6001600160a01b038216611d945760405162461bcd60e51b8152600401610e0490612f83565b611d9f838383612330565b611ddc8160405180606001604052806026815260200161349f602691396001600160a01b0386166000908152602081905260409020549190611e5d565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611e0b9082611a6a565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611d3b9085906133fc565b60008184841115611e815760405162461bcd60e51b8152600401610e049190612f50565b505050900390565b6001600160a01b038216611eaf5760405162461bcd60e51b8152600401610e04906131af565b611ebb82600083612330565b611ef88160405180606001604052806022815260200161347d602291396001600160a01b0385166000908152602081905260409020549190611e5d565b6001600160a01b038316600090815260208190526040902055600254611f1e9082611a42565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611f5f9085906133fc565b60405180910390a35050565b611fc18363a9059cbb60e01b8484604051602401611f8a929190612eb1565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612357565b505050565b6001600160a01b038216611fec5760405162461bcd60e51b8152600401610e04906133c5565b611ff860008383612330565b6002546120059082611a6a565b6002556001600160a01b03821660009081526020819052604090205461202b9082611a6a565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611f5f9085906133fc565b610d35846323b872dd60e01b858585604051602401611f8a93929190612e72565b8015806121235750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906120d19030908690600401612e24565b60206040518083038186803b1580156120e957600080fd5b505afa1580156120fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121219190612db8565b155b61213f5760405162461bcd60e51b8152600401610e049061336f565b611fc18363095ea7b360e01b8484604051602401611f8a929190612eb1565b6000612168611a33565b9050612172612c61565b6121838360005b6020020151611afb565b8152604051637050ccd960e01b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690637050ccd9906121d4903090600190600401612e96565b600060405180830381600087803b1580156121ee57600080fd5b505af1158015612202573d6000803e3d6000fd5b5050600c549150600090505b8181101561222c576122248186858760016123e6565b60010161220e565b50610d358483856001612829565b600d5460ff161561224a57611729565b6000612254611a33565b905061225e612c61565b612269836000612179565b8152612276836001612179565b6020820152604051637050ccd960e01b81527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690637050ccd9906122ca903090600190600401612e96565b600060405180830381600087803b1580156122e457600080fd5b505af11580156122f8573d6000803e3d6000fd5b5050600c549150600090505b818110156123225761231a8186858760006123e6565b600101612304565b50610d358483856000612829565b604080518082019091526001600160a01b03808516825283166020820152611fc19061223a565b60606123ac826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b339092919063ffffffff16565b805190915015611fc157808060200190518101906123ca9190612d80565b611fc15760405162461bcd60e51b8152600401610e04906132ee565b6000600c86815481106123f557fe5b60009182526020822060059091020180546040516370a0823160e01b81529193506001600160a01b0316906370a0823190612434903090600401612e10565b60206040518083038186803b15801561244c57600080fd5b505afa158015612460573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124849190612db8565b90506000841180156124b6575060028201546000906124b4908390600160801b90046001600160801b0316611a42565b115b156125185760028201546124f09085906106eb9068056bc75e2d6310000090610735908690600160801b90046001600160801b0316611a42565b6002830180546001600160801b031981166001600160801b0391821693909301169190911790555b60005b60028110156127e757600087826002811061253257fe5b60200201516001600160a01b0316141561254b576127df565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031687826002811061258157fe5b60200201516001600160a01b0316141561259a576127df565b60008360030160008984600281106125ae57fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002054905084806125ee575060028401546001600160801b031681105b156127dd578415612706576002840154600090612688906126429068056bc75e2d63100000906106eb9061262b906001600160801b031687611a42565b8c886002811061263757fe5b602002015190611a8f565b8660040160008c876002811061265457fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002054611a6a90919063ffffffff16565b905080156127005760008560040160008b86600281106126a457fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055506126f38984600281106126dc57fe5b602002015186546001600160a01b03169083611f6b565b6126fd8482611a42565b93505b5061278f565b6002840154612753906127419068056bc75e2d63100000906106eb90612735906001600160801b031686611a42565b8b876002811061263757fe5b8560040160008b866002811061265457fe5b8460040160008a856002811061276557fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b6002808501546001600160801b03169060038601906000908b90869081106127b357fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b505b60010161251b565b506002820154600160801b90046001600160801b03168114612820576002820180546001600160801b03808416600160801b0291161790555b50505050505050565b6040516370a0823160e01b8152600090734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b906370a0823190612863903090600401612e10565b60206040518083038186803b15801561287b57600080fd5b505afa15801561288f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b39190612db8565b905060006128cc60095483611a4290919063ffffffff16565b90506000841180156128de5750600081115b15612905576128fa846106eb8368056bc75e2d63100000611a8f565b600854016008819055505b60005b6002811015612b1b57600087826002811061291f57fe5b60200201516001600160a01b0316141561293857612b13565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031687826002811061296e57fe5b60200201516001600160a01b0316141561298757612b13565b6000600a600089846002811061299957fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002054905084806129ce575060085481105b15612b11576000612a0d6129fd68056bc75e2d631000006106eb61262b86600854611a4290919063ffffffff16565b600b60008c876002811061265457fe5b90508515612a98578015612a93576000600b60008b8660028110612a2d57fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002081905550612a86898460028110612a6557fe5b6020020151734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b9083611f6b565b612a908582611a42565b94505b612ad3565b80600b60008b8660028110612aa957fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b600854600a60008b8660028110612ae657fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002081905550505b505b600101612908565b506009548214612b2b5760098290555b505050505050565b6060612b428484600085612b4a565b949350505050565b606082471015612b6c5760405162461bcd60e51b8152600401610e04906130bc565b612b7585612c0b565b612b915760405162461bcd60e51b8152600401610e049061329b565b60006060866001600160a01b03168587604051612bae9190612df4565b60006040518083038185875af1925050503d8060008114612beb576040519150601f19603f3d011682016040523d82523d6000602084013e612bf0565b606091505b5091509150612c00828286612c11565b979650505050505050565b3b151590565b60608315612c20575081610dc2565b825115612c305782518084602001fd5b8160405162461bcd60e51b8152600401610e049190612f50565b604080518082019091526000808252602082015290565b60405180604001604052806002906020820280368337509192915050565b600060208284031215612c90578081fd5b8135610dc281613467565b600060208284031215612cac578081fd5b8151610dc281613467565b60008060408385031215612cc9578081fd5b8235612cd481613467565b91506020830135612ce481613467565b809150509250929050565b600080600060608486031215612d03578081fd5b8335612d0e81613467565b92506020840135612d1e81613467565b929592945050506040919091013590565b60008060408385031215612d41578182fd5b8235612d4c81613467565b946020939093013593505050565b600060408284031215612d6b578081fd5b82604083011115612d7a578081fd5b50919050565b600060208284031215612d91578081fd5b81518015158114610dc2578182fd5b600060208284031215612db1578081fd5b5035919050565b600060208284031215612dc9578081fd5b5051919050565b60008060408385031215612de2578182fd5b823591506020830135612ce481613467565b60008251612e0681846020870161343b565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b0394851681529290931660208301526001600160801b039081166040830152909116606082015260800190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0393909316835260208301919091521515604082015260600190565b602080825282518282018190526000919060409081850190868401855b82811015612f3857815180516001600160a01b03168552860151868501529284019290850190600101612f0a565b5091979650505050505050565b901515815260200190565b6000602082528251806020840152612f6f81604085016020870161343b565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526008908201526739b43aba3237bbb760c11b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b602080825260029082015261021360f41b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9182521515602082015260400190565b92835260208301919091521515604082015260600190565b60ff91909116815260200190565b60005b8381101561345657818101518382015260200161343e565b83811115610d355750506000910152565b6001600160a01b038116811461172957600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122068a3db32d8d81fe3fd58c32ca5910bab98de9b2de8c24038af30eebc6fc3a18864736f6c634300060c00330000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e49000000000000000000000000030d9410ed1d5da1f6c8391af5338c93ab8d4035c000000000000000000000000689440f2ff927e1f24c72f1087e1faf471ece1c80000000000000000000000000000000000000000000000000000000000000009
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061025d5760003560e01c80638757b15b11610146578063c00007b0116100c3578063e529ee9511610087578063e529ee9514610496578063e6d223b11461049e578063e89133b2146104b1578063f2fde38b146104b9578063f301af42146104cc578063fc0e74d1146104ef5761025d565b8063c00007b014610442578063c3ff0a5b14610455578063cc7d510e14610468578063dd62ed3e14610470578063e2aecded146104835761025d565b80639a04dbc71161010a5780639a04dbc7146103f9578063a457c2d71461040c578063a9059cbb1461041f578063b95c574614610432578063bf86d6901461043a5761025d565b80638757b15b146103d15780638da5cb5b146103d9578063923c1d61146103e157806395d89b41146103e957806397ff6a04146103f15761025d565b806339509351116101df5780636e553f65116101a35780636e553f651461038057806370a0823114610393578063715018a6146103a657806376addb19146103ae5780637acb7757146103b65780637c93fa62146103c95761025d565b806339509351146103375780633969dfb41461034a5780634b0ee02a1461035d5780634f39059c146103705780636a4874a1146103785761025d565b806318160ddd1161022657806318160ddd146102df57806323b872dd146102f45780632cdacb50146103075780632e1a7d4d1461030f578063313ce567146103225761025d565b80628cc2621461026257806306fdde031461028b578063095ea7b3146102a05780630bece79c146102c057806314d6aed0146102d5575b600080fd5b610275610270366004612c7f565b6104f7565b6040516102829190612eed565b60405180910390f35b6102936108e9565b6040516102829190612f50565b6102b36102ae366004612d2f565b61097f565b6040516102829190612f45565b6102c861099d565b6040516102829190612e10565b6102dd6109c1565b005b6102e7610d3b565b60405161028291906133fc565b6102b3610302366004612cef565b610d41565b6102c8610dc9565b6102dd61031d366004612da0565b610de1565b61032a610f25565b604051610282919061342d565b6102b3610345366004612d2f565b610f2e565b6102dd610358366004612da0565b610f7c565b6102e761036b366004612c7f565b6110a7565b6102c86110b2565b6102c86110d6565b6102dd61038e366004612dd0565b6110ee565b6102e76103a1366004612c7f565b611285565b6102dd6112a0565b6102e7611329565b6102dd6103c4366004612dd0565b61132f565b6102e7611484565b6102dd61148a565b6102c86115ca565b6102c86115d9565b6102936115f1565b6102c8611652565b6102e7610407366004612c7f565b611666565b6102b361041a366004612d2f565b611678565b6102b361042d366004612d2f565b6116e0565b6102e76116f4565b6102b36116fa565b6102dd610450366004612c7f565b611703565b6102dd610463366004612c7f565b61172c565b6102c86117c1565b6102e761047e366004612cb7565b6117e5565b6102b3610491366004612d5a565b611810565b6102e7611879565b6102e76104ac366004612c7f565b61189d565b6102c86118af565b6102dd6104c7366004612c7f565b6118d3565b6104df6104da366004612da0565b611994565b6040516102829493929190612e3e565b6102dd6119e5565b60606000610503611a33565b600c549091506001810167ffffffffffffffff8111801561052357600080fd5b5060405190808252806020026020018201604052801561055d57816020015b61054a612c4a565b8152602001906001900390816105425790505b50925060005b818110156108e0576000600c828154811061057a57fe5b60009182526020822060059091020180546040516370a0823160e01b81529193506001600160a01b0316906370a08231906105b9903090600401612e10565b60206040518083038186803b1580156105d157600080fd5b505afa1580156105e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106099190612db8565b600283015490915060009061062f908390600160801b90046001600160801b0316611a42565b60018401546040516246613160e11b81529192506106bd916001600160a01b0390911690628cc26290610666903090600401612e10565b60206040518083038186803b15801561067e57600080fd5b505afa158015610692573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b69190612db8565b8290611a6a565b60028401549091506001600160801b031686156106f3576106f1876106eb8468056bc75e2d63100000611a8f565b90611ac9565b015b6001600160a01b038916600090815260038501602052604081205461073b9068056bc75e2d63100000906106eb9061072c908690611a42565b6107358e611afb565b90611a8f565b6001600160a01b038b1660009081526004870160205260409020549091506107639082611a6a565b89878151811061076f57fe5b6020908102919091018101510152845489516001600160a01b03909116908a908890811061079957fe5b60209081029190910101516001600160a01b03918216905285541673d533a949740bb3306d119cc777fa900ba034cd5214156108cf57604051638487474560e01b815261087990733c75bfe6fbfda3a94e7e7e8c2216afc684de53439063848747459061080a9085906004016133fc565b60206040518083038186803b15801561082257600080fd5b505af4158015610836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061085a9190612db8565b6001600160a01b038c166000908152600b602052604090205490611a6a565b89888151811061088557fe5b60200260200101516020018181525050734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b8987815181106108b657fe5b60209081029190910101516001600160a01b0390911690525b505060019093019250610563915050565b5050505b919050565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109755780601f1061094a57610100808354040283529160200191610975565b820191906000526020600020905b81548152906001019060200180831161095857829003601f168201915b5050505050905090565b600061099361098c611c90565b8484611c94565b5060015b92915050565b7f000000000000000000000000f5bce5077908a1b7370b9ae04adc565ebd64396681565b600c547f000000000000000000000000689440f2ff927e1f24c72f1087e1faf471ece1c890610b00576040805160808101825273d533a949740bb3306d119cc777fa900ba034cd5281526001600160a01b0383811660208301908152600093830184815260608401858152600c8054600181018255965293517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c7600590960295860180546001600160a01b031990811692861692909217905591517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c8860180549093169316929092179055517fdf6966c971051c3d54ec59162606531493a51404a002842f56009d7e5cf4a8c9909201805491516001600160801b03199092166001600160801b03938416178316600160801b93909216929092021790555b6000816001600160a01b031663d55a23f46040518163ffffffff1660e01b815260040160206040518083038186803b158015610b3b57600080fd5b505afa158015610b4f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b739190612db8565b600c5490915060001901805b82811015610d3557604051632061aa2360e11b81526000906001600160a01b038616906340c3544690610bb69085906004016133fc565b60206040518083038186803b158015610bce57600080fd5b505afa158015610be2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c069190612c9b565b9050600c6040518060800160405280836001600160a01b031663f7c618c16040518163ffffffff1660e01b815260040160206040518083038186803b158015610c4e57600080fd5b505afa158015610c62573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c869190612c9b565b6001600160a01b03908116825293841660208083019190915260006040808401829052606093840182905285546001808201885596835291839020855160059093020180546001600160a01b03199081169389169390931781559285015183870180549093169716969096179055938201516002909401805492909101516001600160801b03199092166001600160801b03948516178416600160801b94909216939093021790915501610b7f565b50505050565b60025490565b6000610d4e848484611d48565b610dbe84610d5a611c90565b610db9856040518060600160405280602881526020016134c5602891396001600160a01b038a16600090815260016020526040812090610d98611c90565b6001600160a01b031681526020810191909152604001600020549190611e5d565b611c94565b5060015b9392505050565b73f403c135812408bfbe8713b5a23a04b3d48aae3181565b60026006541415610e0d5760405162461bcd60e51b8152600401610e0490613338565b60405180910390fd5b60026006558015610ed957610e223382611e89565b604051631c683a1b60e11b81526001600160a01b037f000000000000000000000000689440f2ff927e1f24c72f1087e1faf471ece1c816906338d0743690610e71908490600090600401613405565b600060405180830381600087803b158015610e8b57600080fd5b505af1158015610e9f573d6000803e3d6000fd5b50610ed99250506001600160a01b037f00000000000000000000000030d9410ed1d5da1f6c8391af5338c93ab8d4035c1690503383611f6b565b336001600160a01b03167f2fd83d5e9f5d240bed47a97a24cf354e4047e25edc2da27b01fd95e5e8a0c9a5826000604051610f15929190613405565b60405180910390a2506001600655565b60055460ff1690565b6000610993610f3b611c90565b84610db98560016000610f4c611c90565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611a6a565b60026006541415610f9f5760405162461bcd60e51b8152600401610e0490613338565b6002600655801561106b57610fb43382611e89565b604051636197390160e11b81526001600160a01b037f000000000000000000000000689440f2ff927e1f24c72f1087e1faf471ece1c8169063c32e720290611003908490600090600401613405565b600060405180830381600087803b15801561101d57600080fd5b505af1158015611031573d6000803e3d6000fd5b5061106b9250506001600160a01b037f0000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e4901690503383611f6b565b336001600160a01b03167f2fd83d5e9f5d240bed47a97a24cf354e4047e25edc2da27b01fd95e5e8a0c9a5826001604051610f15929190613405565b600061099782611afb565b7f0000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e49081565b73d533a949740bb3306d119cc777fa900ba034cd5281565b600260065414156111115760405162461bcd60e51b8152600401610e0490613338565b6002600655600d5460ff16156111395760405162461bcd60e51b8152600401610e0490613235565b811561122e576111498183611fc6565b61117e6001600160a01b037f0000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e4901633308561207a565b6040516321d0683360e11b815273f403c135812408bfbe8713b5a23a04b3d48aae31906343a0d066906111da907f0000000000000000000000000000000000000000000000000000000000000009908690600190600401613415565b602060405180830381600087803b1580156111f457600080fd5b505af1158015611208573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061122c9190612d80565b505b806001600160a01b0316336001600160a01b03167fb32af138549e2a71563d1f2b1f7f0a139b3cdbc83d877d13603de1c3c5fd487a846001604051611274929190613405565b60405180910390a350506001600655565b6001600160a01b031660009081526020819052604090205490565b6112a8611c90565b6001600160a01b03166112b96115ca565b6001600160a01b0316146112df5760405162461bcd60e51b8152600401610e049061317a565b6007546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600780546001600160a01b0319169055565b60085481565b600260065414156113525760405162461bcd60e51b8152600401610e0490613338565b6002600655600d5460ff161561137a5760405162461bcd60e51b8152600401610e0490613235565b811561143e5761138a8183611fc6565b6113bf6001600160a01b037f00000000000000000000000030d9410ed1d5da1f6c8391af5338c93ab8d4035c1633308561207a565b60405163534a7e1d60e11b81526001600160a01b037f000000000000000000000000689440f2ff927e1f24c72f1087e1faf471ece1c8169063a694fc3a9061140b9085906004016133fc565b600060405180830381600087803b15801561142557600080fd5b505af1158015611439573d6000803e3d6000fd5b505050505b806001600160a01b0316336001600160a01b03167fb32af138549e2a71563d1f2b1f7f0a139b3cdbc83d877d13603de1c3c5fd487a846000604051611274929190613405565b60095481565b6114d36001600160a01b037f0000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e4901673f403c135812408bfbe8713b5a23a04b3d48aae31600061209b565b61151d6001600160a01b037f0000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e4901673f403c135812408bfbe8713b5a23a04b3d48aae3160001961209b565b6115726001600160a01b037f00000000000000000000000030d9410ed1d5da1f6c8391af5338c93ab8d4035c167f000000000000000000000000689440f2ff927e1f24c72f1087e1faf471ece1c8600061209b565b6115c86001600160a01b037f00000000000000000000000030d9410ed1d5da1f6c8391af5338c93ab8d4035c167f000000000000000000000000689440f2ff927e1f24c72f1087e1faf471ece1c860001961209b565b565b6007546001600160a01b031690565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156109755780601f1061094a57610100808354040283529160200191610975565b600d5461010090046001600160a01b031681565b600a6020526000908152604090205481565b6000610993611685611c90565b84610db9856040518060600160405280602581526020016134ed60259139600160006116af611c90565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611e5d565b60006109936116ed611c90565b8484611d48565b600c5490565b600d5460ff1681565b604080518082019091526001600160a01b0382168152600060208201526117299061215e565b50565b611734611c90565b6001600160a01b03166117456115ca565b6001600160a01b03161461176b5760405162461bcd60e51b8152600401610e049061317a565b600d5461010090046001600160a01b0316156117995760405162461bcd60e51b8152600401610e04906132d2565b600d80546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b7f000000000000000000000000689440f2ff927e1f24c72f1087e1faf471ece1c881565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600061187160405180604001604052808460006002811061182d57fe5b6020020160208101906118409190612c7f565b6001600160a01b031681526020908101906118619060408701908701612c7f565b6001600160a01b0316905261223a565b506001919050565b7f000000000000000000000000000000000000000000000000000000000000000981565b600b6020526000908152604090205481565b7f00000000000000000000000030d9410ed1d5da1f6c8391af5338c93ab8d4035c81565b6118db611c90565b6001600160a01b03166118ec6115ca565b6001600160a01b0316146119125760405162461bcd60e51b8152600401610e049061317a565b6001600160a01b0381166119385760405162461bcd60e51b8152600401610e0490612fc6565b6007546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b600c81815481106119a157fe5b60009182526020909120600590910201805460018201546002909201546001600160a01b0391821693509116906001600160801b0380821691600160801b90041684565b6119ed611c90565b6001600160a01b03166119fe6115ca565b6001600160a01b031614611a245760405162461bcd60e51b8152600401610e049061317a565b600d805460ff19166001179055565b6000611a3d610d3b565b905090565b600082821115611a645760405162461bcd60e51b8152600401610e0490613085565b50900390565b600082820183811015610dc25760405162461bcd60e51b8152600401610e049061304e565b600082611a9e57506000610997565b82820282848281611aab57fe5b0414610dc25760405162461bcd60e51b8152600401610e0490613139565b6000808211611aea5760405162461bcd60e51b8152600401610e0490613102565b818381611af357fe5b049392505050565b60006001600160a01b0382161580611b4457507f000000000000000000000000f5bce5077908a1b7370b9ae04adc565ebd6439666001600160a01b0316826001600160a01b0316145b15611b51575060006108e4565b600d54604051631c9e379b60e01b815260009161010090046001600160a01b031690631c9e379b90611b87908690600401612e10565b60206040518083038186803b158015611b9f57600080fd5b505afa158015611bb3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd79190612db8565b604051630acc462360e31b81529091506001600160a01b037f000000000000000000000000f5bce5077908a1b7370b9ae04adc565ebd6439661690635662311890611c2b9030908590600090600401612eca565b60206040518083038186803b158015611c4357600080fd5b505afa158015611c57573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c7b9190612db8565b9050610dc281611c8a85611285565b90611a6a565b3390565b6001600160a01b038316611cba5760405162461bcd60e51b8152600401610e0490613257565b6001600160a01b038216611ce05760405162461bcd60e51b8152600401610e049061300c565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590611d3b9085906133fc565b60405180910390a3505050565b6001600160a01b038316611d6e5760405162461bcd60e51b8152600401610e04906131f0565b6001600160a01b038216611d945760405162461bcd60e51b8152600401610e0490612f83565b611d9f838383612330565b611ddc8160405180606001604052806026815260200161349f602691396001600160a01b0386166000908152602081905260409020549190611e5d565b6001600160a01b038085166000908152602081905260408082209390935590841681522054611e0b9082611a6a565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611d3b9085906133fc565b60008184841115611e815760405162461bcd60e51b8152600401610e049190612f50565b505050900390565b6001600160a01b038216611eaf5760405162461bcd60e51b8152600401610e04906131af565b611ebb82600083612330565b611ef88160405180606001604052806022815260200161347d602291396001600160a01b0385166000908152602081905260409020549190611e5d565b6001600160a01b038316600090815260208190526040902055600254611f1e9082611a42565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611f5f9085906133fc565b60405180910390a35050565b611fc18363a9059cbb60e01b8484604051602401611f8a929190612eb1565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612357565b505050565b6001600160a01b038216611fec5760405162461bcd60e51b8152600401610e04906133c5565b611ff860008383612330565b6002546120059082611a6a565b6002556001600160a01b03821660009081526020819052604090205461202b9082611a6a565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611f5f9085906133fc565b610d35846323b872dd60e01b858585604051602401611f8a93929190612e72565b8015806121235750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906120d19030908690600401612e24565b60206040518083038186803b1580156120e957600080fd5b505afa1580156120fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121219190612db8565b155b61213f5760405162461bcd60e51b8152600401610e049061336f565b611fc18363095ea7b360e01b8484604051602401611f8a929190612eb1565b6000612168611a33565b9050612172612c61565b6121838360005b6020020151611afb565b8152604051637050ccd960e01b81527f000000000000000000000000689440f2ff927e1f24c72f1087e1faf471ece1c86001600160a01b031690637050ccd9906121d4903090600190600401612e96565b600060405180830381600087803b1580156121ee57600080fd5b505af1158015612202573d6000803e3d6000fd5b5050600c549150600090505b8181101561222c576122248186858760016123e6565b60010161220e565b50610d358483856001612829565b600d5460ff161561224a57611729565b6000612254611a33565b905061225e612c61565b612269836000612179565b8152612276836001612179565b6020820152604051637050ccd960e01b81527f000000000000000000000000689440f2ff927e1f24c72f1087e1faf471ece1c86001600160a01b031690637050ccd9906122ca903090600190600401612e96565b600060405180830381600087803b1580156122e457600080fd5b505af11580156122f8573d6000803e3d6000fd5b5050600c549150600090505b818110156123225761231a8186858760006123e6565b600101612304565b50610d358483856000612829565b604080518082019091526001600160a01b03808516825283166020820152611fc19061223a565b60606123ac826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b339092919063ffffffff16565b805190915015611fc157808060200190518101906123ca9190612d80565b611fc15760405162461bcd60e51b8152600401610e04906132ee565b6000600c86815481106123f557fe5b60009182526020822060059091020180546040516370a0823160e01b81529193506001600160a01b0316906370a0823190612434903090600401612e10565b60206040518083038186803b15801561244c57600080fd5b505afa158015612460573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124849190612db8565b90506000841180156124b6575060028201546000906124b4908390600160801b90046001600160801b0316611a42565b115b156125185760028201546124f09085906106eb9068056bc75e2d6310000090610735908690600160801b90046001600160801b0316611a42565b6002830180546001600160801b031981166001600160801b0391821693909301169190911790555b60005b60028110156127e757600087826002811061253257fe5b60200201516001600160a01b0316141561254b576127df565b7f000000000000000000000000f5bce5077908a1b7370b9ae04adc565ebd6439666001600160a01b031687826002811061258157fe5b60200201516001600160a01b0316141561259a576127df565b60008360030160008984600281106125ae57fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002054905084806125ee575060028401546001600160801b031681105b156127dd578415612706576002840154600090612688906126429068056bc75e2d63100000906106eb9061262b906001600160801b031687611a42565b8c886002811061263757fe5b602002015190611a8f565b8660040160008c876002811061265457fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002054611a6a90919063ffffffff16565b905080156127005760008560040160008b86600281106126a457fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055506126f38984600281106126dc57fe5b602002015186546001600160a01b03169083611f6b565b6126fd8482611a42565b93505b5061278f565b6002840154612753906127419068056bc75e2d63100000906106eb90612735906001600160801b031686611a42565b8b876002811061263757fe5b8560040160008b866002811061265457fe5b8460040160008a856002811061276557fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b6002808501546001600160801b03169060038601906000908b90869081106127b357fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b505b60010161251b565b506002820154600160801b90046001600160801b03168114612820576002820180546001600160801b03808416600160801b0291161790555b50505050505050565b6040516370a0823160e01b8152600090734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b906370a0823190612863903090600401612e10565b60206040518083038186803b15801561287b57600080fd5b505afa15801561288f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906128b39190612db8565b905060006128cc60095483611a4290919063ffffffff16565b90506000841180156128de5750600081115b15612905576128fa846106eb8368056bc75e2d63100000611a8f565b600854016008819055505b60005b6002811015612b1b57600087826002811061291f57fe5b60200201516001600160a01b0316141561293857612b13565b7f000000000000000000000000f5bce5077908a1b7370b9ae04adc565ebd6439666001600160a01b031687826002811061296e57fe5b60200201516001600160a01b0316141561298757612b13565b6000600a600089846002811061299957fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002054905084806129ce575060085481105b15612b11576000612a0d6129fd68056bc75e2d631000006106eb61262b86600854611a4290919063ffffffff16565b600b60008c876002811061265457fe5b90508515612a98578015612a93576000600b60008b8660028110612a2d57fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002081905550612a86898460028110612a6557fe5b6020020151734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b9083611f6b565b612a908582611a42565b94505b612ad3565b80600b60008b8660028110612aa957fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b600854600a60008b8660028110612ae657fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002081905550505b505b600101612908565b506009548214612b2b5760098290555b505050505050565b6060612b428484600085612b4a565b949350505050565b606082471015612b6c5760405162461bcd60e51b8152600401610e04906130bc565b612b7585612c0b565b612b915760405162461bcd60e51b8152600401610e049061329b565b60006060866001600160a01b03168587604051612bae9190612df4565b60006040518083038185875af1925050503d8060008114612beb576040519150601f19603f3d011682016040523d82523d6000602084013e612bf0565b606091505b5091509150612c00828286612c11565b979650505050505050565b3b151590565b60608315612c20575081610dc2565b825115612c305782518084602001fd5b8160405162461bcd60e51b8152600401610e049190612f50565b604080518082019091526000808252602082015290565b60405180604001604052806002906020820280368337509192915050565b600060208284031215612c90578081fd5b8135610dc281613467565b600060208284031215612cac578081fd5b8151610dc281613467565b60008060408385031215612cc9578081fd5b8235612cd481613467565b91506020830135612ce481613467565b809150509250929050565b600080600060608486031215612d03578081fd5b8335612d0e81613467565b92506020840135612d1e81613467565b929592945050506040919091013590565b60008060408385031215612d41578182fd5b8235612d4c81613467565b946020939093013593505050565b600060408284031215612d6b578081fd5b82604083011115612d7a578081fd5b50919050565b600060208284031215612d91578081fd5b81518015158114610dc2578182fd5b600060208284031215612db1578081fd5b5035919050565b600060208284031215612dc9578081fd5b5051919050565b60008060408385031215612de2578182fd5b823591506020830135612ce481613467565b60008251612e0681846020870161343b565b9190910192915050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b0394851681529290931660208301526001600160801b039081166040830152909116606082015260800190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b03929092168252602082015260400190565b6001600160a01b0393909316835260208301919091521515604082015260600190565b602080825282518282018190526000919060409081850190868401855b82811015612f3857815180516001600160a01b03168552860151868501529284019290850190600101612f0a565b5091979650505050505050565b901515815260200190565b6000602082528251806020840152612f6f81604085016020870161343b565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526008908201526739b43aba3237bbb760c11b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b602080825260029082015261021360f41b604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9182521515602082015260400190565b92835260208301919091521515604082015260600190565b60ff91909116815260200190565b60005b8381101561345657818101518382015260200161343e565b83811115610d355750506000910152565b6001600160a01b038116811461172957600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122068a3db32d8d81fe3fd58c32ca5910bab98de9b2de8c24038af30eebc6fc3a18864736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e49000000000000000000000000030d9410ed1d5da1f6c8391af5338c93ab8d4035c000000000000000000000000689440f2ff927e1f24c72f1087e1faf471ece1c80000000000000000000000000000000000000000000000000000000000000009
-----Decoded View---------------
Arg [0] : _curveToken (address): 0x6c3F90f043a72FA612cbac8115EE7e52BDe6E490
Arg [1] : _convexToken (address): 0x30D9410ED1D5DA1F6C8391af5338C93ab8d4035C
Arg [2] : _convexPool (address): 0x689440f2Ff927E1f24c72F1087E1FAF471eCe1c8
Arg [3] : _poolId (uint256): 9
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000006c3f90f043a72fa612cbac8115ee7e52bde6e490
Arg [1] : 00000000000000000000000030d9410ed1d5da1f6c8391af5338c93ab8d4035c
Arg [2] : 000000000000000000000000689440f2ff927e1f24c72f1087e1faf471ece1c8
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000009
Deployed Bytecode Sourcemap
55787:1140:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51820:1476;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;28083:91;;;:::i;:::-;;;;;;;:::i;30229:169::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;43611:40::-;;;:::i;:::-;;;;;;;:::i;44919:959::-;;;:::i;:::-;;29182:108;;;:::i;:::-;;;;;;;:::i;30880:321::-;;;;;;:::i;:::-;;:::i;43166:91::-;;;:::i;54540:397::-;;;;;;:::i;:::-;;:::i;29026:91::-;;;:::i;:::-;;;;;;;:::i;31610:218::-;;;;;;:::i;:::-;;:::i;54990:439::-;;;;;;:::i;:::-;;:::i;51684:128::-;;;;;;:::i;:::-;;:::i;43440:35::-;;;:::i;43264:81::-;;;:::i;53516:483::-;;;;;;:::i;:::-;;:::i;29353:127::-;;;;;;:::i;:::-;;:::i;41421:148::-;;;:::i;42926:34::-;;;:::i;54035:457::-;;;;;;:::i;:::-;;:::i;42967:35::-;;;:::i;44618:293::-;;;:::i;40770:87::-;;;:::i;43352:81::-;;;:::i;28293:95::-;;;:::i;55967:23::-;;;:::i;43009:58::-;;;;;;:::i;:::-;;:::i;32331:269::-;;;;;;:::i;:::-;;:::i;29693:175::-;;;;;;:::i;:::-;;:::i;45886:95::-;;;:::i;43729:30::-;;;:::i;53304:175::-;;;;;;:::i;:::-;;:::i;56259:144::-;;;;;;:::i;:::-;;:::i;43525:35::-;;;:::i;29931:151::-;;;;;;:::i;:::-;;:::i;51515:161::-;;;;;;:::i;:::-;;:::i;43567:37::-;;;:::i;43074:55::-;;;;;;:::i;:::-;;:::i;43482:36::-;;;:::i;41724:244::-;;;;;;:::i;:::-;;:::i;43675:27::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;44535:75::-;;;:::i;51820:1476::-;51876:29;51918:14;51935:17;:15;:17::i;:::-;52056:7;:14;51918:34;;-1:-1:-1;52124:1:0;52110:15;;52093:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;52081:45;;52144:9;52139:1123;52163:11;52159:1;:15;52139:1123;;;52196:25;52224:7;52232:1;52224:10;;;;;;;;;;;;;;;;;;;;52351:19;;52344:52;;-1:-1:-1;;;52344:52:0;;52224:10;;-1:-1:-1;;;;;;52351:19:0;;52344:37;;:52;;52390:4;;52344:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52438:23;;;;52330:66;;-1:-1:-1;52411:16:0;;52430:32;;52330:66;;-1:-1:-1;;;52438:23:0;;-1:-1:-1;;;;;52438:23:0;52430:7;:32::i;:::-;52516:18;;;;52501:56;;-1:-1:-1;;;52501:56:0;;52411:51;;-1:-1:-1;52488:70:0;;-1:-1:-1;;;;;52516:18:0;;;;52501:41;;:56;;52551:4;;52501:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52488:8;;:12;:70::i;:::-;52587:22;;;;52477:81;;-1:-1:-1;;;;;;52587:22:0;52628:10;;52624:89;;52667:30;52690:6;52667:18;:8;52680:4;52667:12;:18::i;:::-;:22;;:30::i;:::-;52663:34;52624:89;-1:-1:-1;;;;;52795:36:0;;52729:22;52795:36;;;:26;;;:36;;;;;;52754:89;;52838:4;;52754:79;;52789:43;;:1;;:5;:43::i;:::-;52754:30;52775:8;52754:20;:30::i;:::-;:34;;:79::i;:89::-;-1:-1:-1;;;;;52880:33:0;;;;;;:23;;;:33;;;;;;52729:114;;-1:-1:-1;52880:53:0;;52729:114;52880:37;:53::i;:::-;52858:9;52868:1;52858:12;;;;;;;;;;;;;;;;;;;:19;:75;52969:19;;52948:12;;-1:-1:-1;;;;;52969:19:0;;;;52948:9;;52958:1;;52948:12;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52948:40:0;;;;;53037:19;;;43302:42;53037:26;53034:217;;;53150:41;;-1:-1:-1;;;53150:41:0;;53115:77;;53150:9;;:25;;:41;;53176:14;;53150:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;53115:30:0;;;;;;:20;:30;;;;;;;:34;:77::i;:::-;53083:9;53093:11;53083:22;;;;;;;;;;;;;;:29;;:109;;;;;43390:42;53211:9;53221:1;53211:12;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53211:24:0;;;;;53034:217;-1:-1:-1;;52176:3:0;;;;;-1:-1:-1;52139:1123:0;;-1:-1:-1;;52139:1123:0;;;53272:16;;51820:1476;;;;:::o;28083:91::-;28161:5;28154:12;;;;;;;;-1:-1:-1;;28154:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28128:13;;28154:12;;28161:5;;28154:12;;28161:5;28154:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28083:91;:::o;30229:169::-;30312:4;30329:39;30338:12;:10;:12::i;:::-;30352:7;30361:6;30329:8;:39::i;:::-;-1:-1:-1;30386:4:0;30229:169;;;;;:::o;43611:40::-;;;:::o;44919:959::-;45007:7;:14;44980:10;;45003:296;;45074:198;;;;;;;;43302:42;45074:198;;-1:-1:-1;;;;;45074:198:0;;;;;;;;;-1:-1:-1;45074:198:0;;;;;;;;;;;;45043:7;:244;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45043:244:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45043:244:0;;;-1:-1:-1;;;;;45043:244:0;;;;;;-1:-1:-1;;;45043:244:0;;;;;;;;;;;45003:296;45311:18;45347:8;-1:-1:-1;;;;;45332:43:0;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45409:7;:14;45311:66;;-1:-1:-1;;;45409:18:0;;45438:433;45471:10;45467:1;:14;45438:433;;;45523:40;;-1:-1:-1;;;45523:40:0;;45503:17;;-1:-1:-1;;;;;45523:37:0;;;;;:40;;45561:1;;45523:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;45503:60;;45578:7;45609:235;;;;;;;;45672:9;-1:-1:-1;;;;;45657:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;45609:235:0;;;;;;;;;;;;;;;;-1:-1:-1;45609:235:0;;;;;;;;;;;;;;45578:281;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45578:281:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45578:281:0;;;-1:-1:-1;;;;;45578:281:0;;;;;;-1:-1:-1;;;45578:281:0;;;;;;;;;;;;45483:3;45438:433;;;;44919:959;;;:::o;29182:108::-;29270:12;;29182:108;:::o;30880:321::-;30986:4;31003:36;31013:6;31021:9;31032:6;31003:9;:36::i;:::-;31050:121;31059:6;31067:12;:10;:12::i;:::-;31081:89;31119:6;31081:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;31081:19:0;;;;;;:11;:19;;;;;;31101:12;:10;:12::i;:::-;-1:-1:-1;;;;;31081:33:0;;;;;;;;;;;;-1:-1:-1;31081:33:0;;;:89;:37;:89::i;:::-;31050:8;:121::i;:::-;-1:-1:-1;31189:4:0;30880:321;;;;;;:::o;43166:91::-;43214:42;43166:91;:::o;54540:397::-;38706:1;39312:7;;:19;;39304:63;;;;-1:-1:-1;;;39304:63:0;;;;;;;:::i;:::-;;;;;;;;;38706:1;39445:7;:18;54675:11;;54671:204:::1;;54703:26;54709:10;54721:7;54703:5;:26::i;:::-;54744:51;::::0;-1:-1:-1;;;54744:51:0;;-1:-1:-1;;;;;54759:10:0::1;54744:35;::::0;::::1;::::0;:51:::1;::::0;54780:7;;54789:5:::1;::::0;54744:51:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;54810:53:0::1;::::0;-1:-1:-1;;;;;;;54817:11:0::1;54810:32;::::0;-1:-1:-1;54843:10:0::1;54855:7:::0;54810:32:::1;:53::i;:::-;54902:10;-1:-1:-1::0;;;;;54892:37:0::1;;54914:7;54923:5;54892:37;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;38662:1:0;39624:7;:22;54540:397::o;29026:91::-;29100:9;;;;29026:91;:::o;31610:218::-;31698:4;31715:83;31724:12;:10;:12::i;:::-;31738:7;31747:50;31786:10;31747:11;:25;31759:12;:10;:12::i;:::-;-1:-1:-1;;;;;31747:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;31747:25:0;;;:34;;;;;;;;;;;:38;:50::i;54990:439::-;38706:1;39312:7;;:19;;39304:63;;;;-1:-1:-1;;;39304:63:0;;;;;;;:::i;:::-;38706:1;39445:7;:18;55142:11;;55138:212:::1;;55170:26;55176:10;55188:7;55170:5;:26::i;:::-;55211:60;::::0;-1:-1:-1;;;55211:60:0;;-1:-1:-1;;;;;55226:10:0::1;55211:44;::::0;::::1;::::0;:60:::1;::::0;55256:7;;55265:5:::1;::::0;55211:60:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;55286:52:0::1;::::0;-1:-1:-1;;;;;;;55293:10:0::1;55286:31;::::0;-1:-1:-1;55318:10:0::1;55330:7:::0;55286:31:::1;:52::i;:::-;55395:10;-1:-1:-1::0;;;;;55385:36:0::1;;55407:7;55416:4;55385:36;;;;;;;:::i;51684:128::-:0;51748:7;51774:30;51795:8;51774:20;:30::i;43440:35::-;;;:::o;43264:81::-;43302:42;43264:81;:::o;53516:483::-;38706:1;39312:7;;:19;;39304:63;;;;-1:-1:-1;;;39304:63:0;;;;;;;:::i;:::-;38706:1;39445:7;:18;53605:10:::1;::::0;::::1;;53604:11;53596:32;;;;-1:-1:-1::0;;;53596:32:0::1;;;;;;;:::i;:::-;53706:11:::0;;53702:231:::1;;53734:19;53740:3;53745:7;53734:5;:19::i;:::-;53768:71;-1:-1:-1::0;;;;;53775:10:0::1;53768:35;53804:10;53824:4;53831:7:::0;53768:35:::1;:71::i;:::-;53854:67;::::0;-1:-1:-1;;;53854:67:0;;43214:42:::1;::::0;53854:38:::1;::::0;:67:::1;::::0;53893:12:::1;::::0;53907:7;;53916:4:::1;::::0;53854:67:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;53702:231;53972:3;-1:-1:-1::0;;;;;53950:41:0::1;53960:10;-1:-1:-1::0;;;;;53950:41:0::1;;53977:7;53986:4;53950:41;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1::0;;38662:1:0;39624:7;:22;53516:483::o;29353:127::-;-1:-1:-1;;;;;29454:18:0;29427:7;29454:18;;;;;;;;;;;;29353:127::o;41421:148::-;41001:12;:10;:12::i;:::-;-1:-1:-1;;;;;40990:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;40990:23:0;;40982:68;;;;-1:-1:-1;;;40982:68:0;;;;;;;:::i;:::-;41512:6:::1;::::0;41491:40:::1;::::0;41528:1:::1;::::0;-1:-1:-1;;;;;41512:6:0::1;::::0;41491:40:::1;::::0;41528:1;;41491:40:::1;41542:6;:19:::0;;-1:-1:-1;;;;;;41542:19:0::1;::::0;;41421:148::o;42926:34::-;;;;:::o;54035:457::-;38706:1;39312:7;;:19;;39304:63;;;;-1:-1:-1;;;39304:63:0;;;;;;;:::i;:::-;38706:1;39445:7;:18;54122:10:::1;::::0;::::1;;54121:11;54113:32;;;;-1:-1:-1::0;;;54113:32:0::1;;;;;;;:::i;:::-;54223:11:::0;;54219:206:::1;;54251:19;54257:3;54262:7;54251:5;:19::i;:::-;54285:72;-1:-1:-1::0;;;;;54292:11:0::1;54285:36;54322:10;54342:4;54349:7:::0;54285:36:::1;:72::i;:::-;54372:41;::::0;-1:-1:-1;;;54372:41:0;;-1:-1:-1;;;;;54387:10:0::1;54372:32;::::0;::::1;::::0;:41:::1;::::0;54405:7;;54372:41:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;54219:206;54464:3;-1:-1:-1::0;;;;;54442:42:0::1;54452:10;-1:-1:-1::0;;;;;54442:42:0::1;;54469:7;54478:5;54442:42;;;;;;;:::i;42967:35::-:0;;;;:::o;44618:293::-;44662:48;-1:-1:-1;;;;;44669:10:0;44662:30;43214:42;44708:1;44662:30;:48::i;:::-;44721:58;-1:-1:-1;;;;;44728:10:0;44721:30;43214:42;-1:-1:-1;;44721:30:0;:58::i;:::-;44790:46;-1:-1:-1;;;;;44797:11:0;44790:31;44822:10;44834:1;44790:31;:46::i;:::-;44847:56;-1:-1:-1;;;;;44854:11:0;44847:31;44879:10;-1:-1:-1;;44847:31:0;:56::i;:::-;44618:293::o;40770:87::-;40843:6;;-1:-1:-1;;;;;40843:6:0;40770:87;:::o;43352:81::-;43390:42;43352:81;:::o;28293:95::-;28373:7;28366:14;;;;;;;;-1:-1:-1;;28366:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28340:13;;28366:14;;28373:7;;28366:14;;28373:7;28366:14;;;;;;;;;;;;;;;;;;;;;;;;55967:23;;;;;;-1:-1:-1;;;;;55967:23:0;;:::o;43009:58::-;;;;;;;;;;;;;:::o;32331:269::-;32424:4;32441:129;32450:12;:10;:12::i;:::-;32464:7;32473:96;32512:15;32473:96;;;;;;;;;;;;;;;;;:11;:25;32485:12;:10;:12::i;:::-;-1:-1:-1;;;;;32473:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;32473:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;29693:175::-;29779:4;29796:42;29806:12;:10;:12::i;:::-;29820:9;29831:6;29796:9;:42::i;45886:95::-;45959:7;:14;45886:95;:::o;43729:30::-;;;;;;:::o;53304:175::-;53428:43;;;;;;;;;-1:-1:-1;;;;;53428:43:0;;;;-1:-1:-1;53428:43:0;;;;;;:19;:43::i;:::-;53304:175;:::o;56259:144::-;41001:12;:10;:12::i;:::-;-1:-1:-1;;;;;40990:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;40990:23:0;;40982:68;;;;-1:-1:-1;;;40982:68:0;;;;;;;:::i;:::-;56336:8:::1;::::0;::::1;::::0;::::1;-1:-1:-1::0;;;;;56336:8:0::1;:22:::0;56328:36:::1;;;;-1:-1:-1::0;;;56328:36:0::1;;;;;;;:::i;:::-;56375:8;:20:::0;;-1:-1:-1;;;;;56375:20:0;;::::1;;;-1:-1:-1::0;;;;;;56375:20:0;;::::1;::::0;;;::::1;::::0;;56259:144::o;43525:35::-;;;:::o;29931:151::-;-1:-1:-1;;;;;30047:18:0;;;30020:7;30047:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;29931:151::o;51515:161::-;51588:4;51605:41;;;;;;;;;51618:9;51628:1;51618:12;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;51605:41:0;;;;;;;;51632:12;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;51605:41:0;;;:11;:41::i;:::-;-1:-1:-1;51664:4:0;51515:161;;;:::o;43567:37::-;;;:::o;43074:55::-;;;;;;;;;;;;;:::o;43482:36::-;;;:::o;41724:244::-;41001:12;:10;:12::i;:::-;-1:-1:-1;;;;;40990:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;40990:23:0;;40982:68;;;;-1:-1:-1;;;40982:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;41813:22:0;::::1;41805:73;;;;-1:-1:-1::0;;;41805:73:0::1;;;;;;;:::i;:::-;41915:6;::::0;41894:38:::1;::::0;-1:-1:-1;;;;;41894:38:0;;::::1;::::0;41915:6:::1;::::0;41894:38:::1;::::0;41915:6:::1;::::0;41894:38:::1;41943:6;:17:::0;;-1:-1:-1;;;;;;41943:17:0::1;-1:-1:-1::0;;;;;41943:17:0;;;::::1;::::0;;;::::1;::::0;;41724:244::o;43675:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43675:27:0;;;;-1:-1:-1;43675:27:0;;;-1:-1:-1;;;;;43675:27:0;;;;-1:-1:-1;;;43675:27:0;;;;:::o;44535:75::-;41001:12;:10;:12::i;:::-;-1:-1:-1;;;;;40990:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;40990:23:0;;40982:68;;;;-1:-1:-1;;;40982:68:0;;;;;;;:::i;:::-;44585:10:::1;:17:::0;;-1:-1:-1;;44585:17:0::1;44598:4;44585:17;::::0;;44535:75::o;46279:178::-;46336:7;46436:13;:11;:13::i;:::-;46429:20;;46279:178;:::o;6144:158::-;6202:7;6235:1;6230;:6;;6222:49;;;;-1:-1:-1;;;6222:49:0;;;;;;;:::i;:::-;-1:-1:-1;6289:5:0;;;6144:158::o;5682:179::-;5740:7;5772:5;;;5796:6;;;;5788:46;;;;-1:-1:-1;;;5788:46:0;;;;;;;:::i;6561:220::-;6619:7;6643:6;6639:20;;-1:-1:-1;6658:1:0;6651:8;;6639:20;6682:5;;;6686:1;6682;:5;:1;6706:5;;;;;:10;6698:56;;;;-1:-1:-1;;;6698:56:0;;;;;;;:::i;7259:153::-;7317:7;7349:1;7345;:5;7337:44;;;;-1:-1:-1;;;7337:44:0;;;;;;;:::i;:::-;7403:1;7399;:5;;;;;;;7259:153;-1:-1:-1;;;7259:153:0:o;56411:513::-;56490:7;-1:-1:-1;;;;;56514:22:0;;;;:53;;;56552:15;-1:-1:-1;;;;;56540:27:0;:8;-1:-1:-1;;;;;56540:27:0;;56514:53;56510:94;;;-1:-1:-1;56591:1:0;56584:8;;56510:94;56689:8;;56679:49;;-1:-1:-1;;;56679:49:0;;56658:18;;56689:8;;;-1:-1:-1;;;;;56689:8:0;;56679:39;;:49;;56719:8;;56679:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56752:69;;-1:-1:-1;;;56752:69:0;;56658:70;;-1:-1:-1;;;;;;56762:15:0;56752:35;;;;:69;;56796:4;;56658:70;;56815:5;;56752:69;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56739:82;;56881:35;56905:10;56881:19;56891:8;56881:9;:19::i;:::-;:23;;:35::i;25567:106::-;25655:10;25567:106;:::o;35478:346::-;-1:-1:-1;;;;;35580:19:0;;35572:68;;;;-1:-1:-1;;;35572:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;35659:21:0;;35651:68;;;;-1:-1:-1;;;35651:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;35732:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;35784:32;;;;;35762:6;;35784:32;:::i;:::-;;;;;;;;35478:346;;;:::o;33090:539::-;-1:-1:-1;;;;;33196:20:0;;33188:70;;;;-1:-1:-1;;;33188:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;33277:23:0;;33269:71;;;;-1:-1:-1;;;33269:71:0;;;;;;;:::i;:::-;33353:47;33374:6;33382:9;33393:6;33353:20;:47::i;:::-;33433:71;33455:6;33433:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33433:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;33413:17:0;;;:9;:17;;;;;;;;;;;:91;;;;33538:20;;;;;;;:32;;33563:6;33538:24;:32::i;:::-;-1:-1:-1;;;;;33515:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;33586:35;;;;;;;;;;33614:6;;33586:35;:::i;8509:166::-;8595:7;8631:12;8623:6;;;;8615:29;;;;-1:-1:-1;;;8615:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;8662:5:0;;;8509:166::o;34622:418::-;-1:-1:-1;;;;;34706:21:0;;34698:67;;;;-1:-1:-1;;;34698:67:0;;;;;;;:::i;:::-;34778:49;34799:7;34816:1;34820:6;34778:20;:49::i;:::-;34861:68;34884:6;34861:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34861:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;34840:18:0;;:9;:18;;;;;;;;;;:89;34955:12;;:24;;34972:6;34955:16;:24::i;:::-;34940:12;:39;34995:37;;35021:1;;-1:-1:-1;;;;;34995:37:0;;;;;;;35025:6;;34995:37;:::i;:::-;;;;;;;;34622:418;;:::o;21849:177::-;21932:86;21952:5;21982:23;;;22007:2;22011:5;21959:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;21959:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;21959:58:0;-1:-1:-1;;;;;;21959:58:0;;;;;;;;;;21932:19;:86::i;:::-;21849:177;;;:::o;33911:378::-;-1:-1:-1;;;;;33995:21:0;;33987:65;;;;-1:-1:-1;;;33987:65:0;;;;;;;:::i;:::-;34065:49;34094:1;34098:7;34107:6;34065:20;:49::i;:::-;34142:12;;:24;;34159:6;34142:16;:24::i;:::-;34127:12;:39;-1:-1:-1;;;;;34198:18:0;;:9;:18;;;;;;;;;;;:30;;34221:6;34198:22;:30::i;:::-;-1:-1:-1;;;;;34177:18:0;;:9;:18;;;;;;;;;;;:51;;;;34244:37;;34177:18;;:9;34244:37;;;;34274:6;;34244:37;:::i;22034:205::-;22135:96;22155:5;22185:27;;;22214:4;22220:2;22224:5;22162:68;;;;;;;;;;:::i;22508:622::-;22878:10;;;22877:62;;-1:-1:-1;22894:39:0;;-1:-1:-1;;;22894:39:0;;-1:-1:-1;;;;;22894:15:0;;;;;:39;;22918:4;;22925:7;;22894:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;22877:62;22869:152;;;;-1:-1:-1;;;22869:152:0;;;;;;;:::i;:::-;23032:90;23052:5;23082:22;;;23106:7;23115:5;23059:62;;;;;;;;;:::i;50919:588::-;50999:14;51016:17;:15;:17::i;:::-;50999:34;;51044;;:::i;:::-;51111;51132:9;51142:1;51132:12;;;;;51111:20;:34::i;:::-;51089:56;;51187:57;;-1:-1:-1;;;51187:57:0;;51202:10;-1:-1:-1;;;;;51187:36:0;;;;:57;;51232:4;;51239;;51187:57;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;51279:7:0;:14;;-1:-1:-1;51257:19:0;;-1:-1:-1;51304:129:0;51328:11;51324:1;:15;51304:129;;;51360:61;51380:1;51382:9;51392:16;51409:6;51416:4;51360:19;:61::i;:::-;51341:3;;51304:129;;;;51443:56;51460:9;51470:16;51487:6;51494:4;51443:16;:56::i;50179:732::-;50324:10;;;;50321:22;;;50336:7;;50321:22;50355:14;50372:17;:15;:17::i;:::-;50355:34;;50400;;:::i;:::-;50467;50488:9;50498:1;50488:12;;50467:34;50445:56;;50534:34;50555:9;50565:1;50555:12;;50534:34;50512:19;;;:56;50589:57;;-1:-1:-1;;;50589:57:0;;50604:10;-1:-1:-1;;;;;50589:36:0;;;;:57;;50634:4;;50529:1;;50589:57;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;50681:7:0;:14;;-1:-1:-1;50659:19:0;;-1:-1:-1;50706:130:0;50730:11;50726:1;:15;50706:130;;;50762:62;50782:1;50784:9;50794:16;50811:6;50818:5;50762:19;:62::i;:::-;50743:3;;50706:130;;;;50846:57;50863:9;50873:16;50890:6;50897:5;50846:16;:57::i;55437:137::-;55541:25;;;;;;;;;-1:-1:-1;;;;;55541:25:0;;;;;;;;;;;;;:11;:25::i;24154:761::-;24578:23;24604:69;24632:4;24604:69;;;;;;;;;;;;;;;;;24612:5;-1:-1:-1;;;;;24604:27:0;;;:69;;;;;:::i;:::-;24688:17;;24578:95;;-1:-1:-1;24688:21:0;24684:224;;24830:10;24819:30;;;;;;;;;;;;:::i;:::-;24811:85;;;;-1:-1:-1;;;24811:85:0;;;;;;;:::i;48060:2111::-;48215:25;48243:7;48251:6;48243:15;;;;;;;;;;;;;;;;;;;;48459:19;;48452:52;;-1:-1:-1;;;48452:52:0;;48243:15;;-1:-1:-1;;;;;;48459:19:0;;48452:37;;:52;;48498:4;;48452:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;48438:66;;48596:1;48586:7;:11;:51;;;;-1:-1:-1;48609:23:0;;;;48636:1;;48601:32;;:3;;-1:-1:-1;;;48609:23:0;;-1:-1:-1;;;;;48609:23:0;48601:7;:32::i;:::-;:36;48586:51;48582:198;;;48720:23;;;;48712:55;;48759:7;;48712:42;;48749:4;;48712:32;;:3;;-1:-1:-1;;;48720:23:0;;-1:-1:-1;;;;;48720:23:0;48712:7;:32::i;:55::-;48679:22;;;;;-1:-1:-1;;;;;;48654:114:0;;-1:-1:-1;;;;;48679:22:0;;;:89;;;;48654:114;;;;;;;48582:198;48830:9;48825:1142;48849:16;48845:1;:20;48825:1142;;;48963:1;48939:9;48949:1;48939:12;;;;;;;;;;;-1:-1:-1;;;;;48939:26:0;;48935:40;;;48967:8;;48935:40;49010:15;-1:-1:-1;;;;;48994:31:0;:9;49004:1;48994:12;;;;;;;;;;;-1:-1:-1;;;;;48994:31:0;;48990:45;;;49027:8;;48990:45;49052:10;49065:6;:26;;:40;49092:9;49102:1;49092:12;;;;;;;;;;;-1:-1:-1;;;;;49065:40:0;-1:-1:-1;;;;;49065:40:0;;;;;;;;;;;;;49052:53;;49123:8;:42;;;-1:-1:-1;49143:22:0;;;;-1:-1:-1;;;;;49143:22:0;49135:30;;49123:42;49120:836;;;49188:8;49185:672;;;49310:22;;;;49220:19;;49242:114;;49284:71;;49350:4;;49284:61;;49302:42;;-1:-1:-1;;;;;49310:22:0;49338:5;49302:35;:42::i;:::-;49284:9;49294:1;49284:12;;;;;;;;;;;;:16;:61::i;:71::-;49242:6;:23;;:37;49266:9;49276:1;49266:12;;;;;;;;;;;-1:-1:-1;;;;;49242:37:0;-1:-1:-1;;;;;49242:37:0;;;;;;;;;;;;;:41;;:114;;;;:::i;:::-;49220:136;-1:-1:-1;49382:15:0;;49379:258;;49465:1;49425:6;:23;;:37;49449:9;49459:1;49449:12;;;;;;;;;;;-1:-1:-1;;;;;49425:37:0;-1:-1:-1;;;;;49425:37:0;;;;;;;;;;;;:41;;;;49493:67;49534:9;49544:1;49534:12;;;;;;;;;;;49500:19;;-1:-1:-1;;;;;49500:19:0;;49548:11;49493:40;:67::i;:::-;49593:20;:3;49601:11;49593:7;:20::i;:::-;49587:26;;49379:258;49185:672;;;;49791:22;;;;49723:114;;49765:71;;49831:4;;49765:61;;49783:42;;-1:-1:-1;;;;;49791:22:0;49819:5;49783:35;:42::i;:::-;49765:9;49775:1;49765:12;;;;;;:71;49723:6;:23;;:37;49747:9;49757:1;49747:12;;;;;;49723:114;49683:6;:23;;:37;49707:9;49717:1;49707:12;;;;;;;;;;;-1:-1:-1;;;;;49683:37:0;-1:-1:-1;;;;;49683:37:0;;;;;;;;;;;;:154;;;;49185:672;49918:22;;;;;-1:-1:-1;;;;;49918:22:0;;49875:26;;;;49918:22;;49902:9;;49912:1;;49902:12;;;;;;;;;;-1:-1:-1;;;;;49875:40:0;-1:-1:-1;;;;;49875:40:0;;;;;;;;;;;;:65;;;;49120:836;48825:1142;;48867:3;;48825:1142;;;-1:-1:-1;50075:23:0;;;;-1:-1:-1;;;50075:23:0;;-1:-1:-1;;;;;50075:23:0;50067:31;;50064:100;;50114:23;;;:38;;-1:-1:-1;;;;;50114:38:0;;;-1:-1:-1;;;50114:38:0;;;;;;50064:100;48060:2111;;;;;;;:::o;46467:1585::-;46619:36;;-1:-1:-1;;;46619:36:0;;46605:11;;43390:42;;46619:21;;:36;;46649:4;;46619:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46605:50;;46666:19;46688:29;46696:20;;46688:3;:7;;:29;;;;:::i;:::-;46666:51;;46744:1;46734:7;:11;:30;;;;;46763:1;46749:11;:15;46734:30;46730:141;;;46825:34;46851:7;46825:21;:11;46841:4;46825:15;:21::i;:34::-;46803:19;;:56;46781:19;:78;;;;46730:141;46939:9;46934:984;46958:16;46954:1;:20;46934:984;;;47072:1;47048:9;47058:1;47048:12;;;;;;;;;;;-1:-1:-1;;;;;47048:26:0;;47044:40;;;47076:8;;47044:40;47119:15;-1:-1:-1;;;;;47103:31:0;:9;47113:1;47103:12;;;;;;;;;;;-1:-1:-1;;;;;47103:31:0;;47099:45;;;47136:8;;47099:45;47161:10;47174:23;:37;47198:9;47208:1;47198:12;;;;;;;;;;;-1:-1:-1;;;;;47174:37:0;-1:-1:-1;;;;;47174:37:0;;;;;;;;;;;;;47161:50;;47229:8;:39;;;;47249:19;;47241:5;:27;47229:39;47226:681;;;47288:19;47310:98;47349:58;47402:4;47349:48;47366:30;47390:5;47366:19;;:23;;:30;;;;:::i;47349:58::-;47310:20;:34;47331:9;47341:1;47331:12;;;;;;47310:98;47288:120;;47430:8;47427:388;;;47465:15;;47462:239;;47545:1;47508:20;:34;47529:9;47539:1;47529:12;;;;;;;;;;;-1:-1:-1;;;;;47508:34:0;-1:-1:-1;;;;;47508:34:0;;;;;;;;;;;;:38;;;;47573:51;47598:9;47608:1;47598:12;;;;;;;;;;;43390:42;;47612:11;47573:24;:51::i;:::-;47657:20;:3;47665:11;47657:7;:20::i;:::-;47651:26;;47462:239;47427:388;;;47784:11;47747:20;:34;47768:9;47778:1;47768:12;;;;;;;;;;;-1:-1:-1;;;;;47747:34:0;-1:-1:-1;;;;;47747:34:0;;;;;;;;;;;;:48;;;;47427:388;47873:19;;47833:23;:37;47857:9;47867:1;47857:12;;;;;;;;;;;-1:-1:-1;;;;;47833:37:0;-1:-1:-1;;;;;47833:37:0;;;;;;;;;;;;:59;;;;47226:681;;46934:984;;46976:3;;46934:984;;;;47971:20;;47964:3;:27;47961:84;;48007:20;:26;;;47961:84;46467:1585;;;;;;:::o;16848:195::-;16951:12;16983:52;17005:6;17013:4;17019:1;17022:12;16983:21;:52::i;:::-;16976:59;16848:195;-1:-1:-1;;;;16848:195:0:o;17900:530::-;18027:12;18085:5;18060:21;:30;;18052:81;;;;-1:-1:-1;;;18052:81:0;;;;;;;:::i;:::-;18152:18;18163:6;18152:10;:18::i;:::-;18144:60;;;;-1:-1:-1;;;18144:60:0;;;;;;;:::i;:::-;18278:12;18292:23;18319:6;-1:-1:-1;;;;;18319:11:0;18339:5;18347:4;18319:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18277:75;;;;18370:52;18388:7;18397:10;18409:12;18370:17;:52::i;:::-;18363:59;17900:530;-1:-1:-1;;;;;;;17900:530:0:o;13930:422::-;14297:20;14336:8;;;13930:422::o;20440:742::-;20555:12;20584:7;20580:595;;;-1:-1:-1;20615:10:0;20608:17;;20580:595;20729:17;;:21;20725:439;;20992:10;20986:17;21053:15;21040:10;21036:2;21032:19;21025:44;20940:148;21135:12;21128:20;;-1:-1:-1;;;21128:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;899:241::-;;1003:2;991:9;982:7;978:23;974:32;971:2;;;-1:-1;;1009:12;971:2;85:6;72:20;97:33;124:5;97:33;:::i;1147:263::-;;1262:2;1250:9;1241:7;1237:23;1233:32;1230:2;;;-1:-1;;1268:12;1230:2;226:6;220:13;238:33;265:5;238:33;:::i;1417:366::-;;;1538:2;1526:9;1517:7;1513:23;1509:32;1506:2;;;-1:-1;;1544:12;1506:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;1596:63;-1:-1;1696:2;1735:22;;72:20;97:33;72:20;97:33;:::i;:::-;1704:63;;;;1500:283;;;;;:::o;1790:491::-;;;;1928:2;1916:9;1907:7;1903:23;1899:32;1896:2;;;-1:-1;;1934:12;1896:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;1986:63;-1:-1;2086:2;2125:22;;72:20;97:33;72:20;97:33;:::i;:::-;1890:391;;2094:63;;-1:-1;;;2194:2;2233:22;;;;688:20;;1890:391::o;2288:366::-;;;2409:2;2397:9;2388:7;2384:23;2380:32;2377:2;;;-1:-1;;2415:12;2377:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2467:63;2567:2;2606:22;;;;688:20;;-1:-1;;;2371:283::o;2661:291::-;;2790:2;2778:9;2769:7;2765:23;2761:32;2758:2;;;-1:-1;;2796:12;2758:2;451:3;2790:2;423:8;419:30;416:39;413:2;;;-1:-1;;458:12;413:2;-1:-1;2848:88;2752:200;-1:-1;2752:200::o;2959:257::-;;3071:2;3059:9;3050:7;3046:23;3042:32;3039:2;;;-1:-1;;3077:12;3039:2;567:6;561:13;30457:5;29429:13;29422:21;30435:5;30432:32;30422:2;;-1:-1;;30468:12;3223:241;;3327:2;3315:9;3306:7;3302:23;3298:32;3295:2;;;-1:-1;;3333:12;3295:2;-1:-1;688:20;;3289:175;-1:-1;3289:175::o;3471:263::-;;3586:2;3574:9;3565:7;3561:23;3557:32;3554:2;;;-1:-1;;3592:12;3554:2;-1:-1;836:13;;3548:186;-1:-1;3548:186::o;3741:366::-;;;3862:2;3850:9;3841:7;3837:23;3833:32;3830:2;;;-1:-1;;3868:12;3830:2;701:6;688:20;3920:63;;4020:2;4063:9;4059:22;72:20;97:33;124:5;97:33;:::i;14477:271::-;;5924:5;28284:12;6035:52;6080:6;6075:3;6068:4;6061:5;6057:16;6035:52;:::i;:::-;6099:16;;;;;14611:137;-1:-1;;14611:137::o;14755:222::-;-1:-1;;;;;29637:54;;;;4469:37;;14882:2;14867:18;;14853:124::o;14984:333::-;-1:-1;;;;;29637:54;;;4469:37;;29637:54;;15303:2;15288:18;;4469:37;15139:2;15124:18;;15110:207::o;15324:556::-;-1:-1;;;;;29637:54;;;4469:37;;29637:54;;;;15700:2;15685:18;;4469:37;-1:-1;;;;;29517:46;;;15783:2;15768:18;;13956:37;29517:46;;;15866:2;15851:18;;13956:37;15535:3;15520:19;;15506:374::o;15887:444::-;-1:-1;;;;;29637:54;;;4469:37;;29637:54;;;;16234:2;16219:18;;4469:37;16317:2;16302:18;;14066:37;;;;16070:2;16055:18;;16041:290::o;16338:321::-;-1:-1;;;;;29637:54;;;;4469:37;;29429:13;29422:21;16645:2;16630:18;;5718:34;16487:2;16472:18;;16458:201::o;16666:333::-;-1:-1;;;;;29637:54;;;;4469:37;;16985:2;16970:18;;14066:37;16821:2;16806:18;;16792:207::o;17006:432::-;-1:-1;;;;;29637:54;;;;4469:37;;17347:2;17332:18;;14066:37;;;;29429:13;29422:21;17424:2;17409:18;;5718:34;17183:2;17168:18;;17154:284::o;17445:482::-;17678:2;17692:47;;;28284:12;;17663:18;;;28872:19;;;17445:482;;17678:2;28912:14;;;;;;28110;;;17445:482;5279:344;5304:6;5301:1;5298:13;5279:344;;;5365:13;;13609:23;;-1:-1;;;;;29637:54;4469:37;;13771:16;;13765:23;13842:14;;;14066:37;4380:14;;;;28699;;;;29648:42;5319:9;5279:344;;;-1:-1;17745:172;;17649:278;-1:-1;;;;;;;17649:278::o;17934:210::-;29429:13;;29422:21;5718:34;;18055:2;18040:18;;18026:118::o;18151:310::-;;18298:2;18319:17;18312:47;6272:5;28284:12;28884:6;18298:2;18287:9;18283:18;28872:19;6366:52;6411:6;28912:14;18287:9;28912:14;18298:2;6392:5;6388:16;6366:52;:::i;:::-;30231:7;30215:14;-1:-1;;30211:28;6430:39;;;;28912:14;6430:39;;18269:192;-1:-1;;18269:192::o;18468:416::-;18668:2;18682:47;;;6706:2;18653:18;;;28872:19;6742:34;28912:14;;;6722:55;-1:-1;;;6797:12;;;6790:27;6836:12;;;18639:245::o;18891:416::-;19091:2;19105:47;;;7087:2;19076:18;;;28872:19;7123:34;28912:14;;;7103:55;-1:-1;;;7178:12;;;7171:30;7220:12;;;19062:245::o;19314:416::-;19514:2;19528:47;;;7471:2;19499:18;;;28872:19;7507:34;28912:14;;;7487:55;-1:-1;;;7562:12;;;7555:26;7600:12;;;19485:245::o;19737:416::-;19937:2;19951:47;;;7851:2;19922:18;;;28872:19;7887:29;28912:14;;;7867:50;7936:12;;;19908:245::o;20160:416::-;20360:2;20374:47;;;8187:2;20345:18;;;28872:19;8223:32;28912:14;;;8203:53;8275:12;;;20331:245::o;20583:416::-;20783:2;20797:47;;;8526:2;20768:18;;;28872:19;8562:34;28912:14;;;8542:55;-1:-1;;;8617:12;;;8610:30;8659:12;;;20754:245::o;21006:416::-;21206:2;21220:47;;;8910:2;21191:18;;;28872:19;8946:28;28912:14;;;8926:49;8994:12;;;21177:245::o;21429:416::-;21629:2;21643:47;;;9245:2;21614:18;;;28872:19;9281:34;28912:14;;;9261:55;-1:-1;;;9336:12;;;9329:25;9373:12;;;21600:245::o;21852:416::-;22052:2;22066:47;;;22037:18;;;28872:19;9660:34;28912:14;;;9640:55;9714:12;;;22023:245::o;22275:416::-;22475:2;22489:47;;;9965:2;22460:18;;;28872:19;10001:34;28912:14;;;9981:55;-1:-1;;;10056:12;;;10049:25;10093:12;;;22446:245::o;22698:416::-;22898:2;22912:47;;;10344:2;22883:18;;;28872:19;10380:34;28912:14;;;10360:55;-1:-1;;;10435:12;;;10428:29;10476:12;;;22869:245::o;23121:416::-;23321:2;23335:47;;;10727:1;23306:18;;;28872:19;-1:-1;;;28912:14;;;10742:31;10792:12;;;23292:245::o;23544:416::-;23744:2;23758:47;;;11043:2;23729:18;;;28872:19;11079:34;28912:14;;;11059:55;-1:-1;;;11134:12;;;11127:28;11174:12;;;23715:245::o;23967:416::-;24167:2;24181:47;;;11425:2;24152:18;;;28872:19;11461:31;28912:14;;;11441:52;11512:12;;;24138:245::o;24390:416::-;24590:2;24604:47;;;11763:1;24575:18;;;28872:19;-1:-1;;;28912:14;;;11778:25;11822:12;;;24561:245::o;24813:416::-;25013:2;25027:47;;;12073:2;24998:18;;;28872:19;12109:34;28912:14;;;12089:55;-1:-1;;;12164:12;;;12157:34;12210:12;;;24984:245::o;25236:416::-;25436:2;25450:47;;;12461:2;25421:18;;;28872:19;12497:33;28912:14;;;12477:54;12550:12;;;25407:245::o;25659:416::-;25859:2;25873:47;;;12801:2;25844:18;;;28872:19;12837:34;28912:14;;;12817:55;-1:-1;;;12892:12;;;12885:46;12950:12;;;25830:245::o;26082:416::-;26282:2;26296:47;;;13201:2;26267:18;;;28872:19;13237:33;28912:14;;;13217:54;13290:12;;;26253:245::o;26505:238::-;14066:37;;;26640:2;26625:18;;26611:132::o;26979:321::-;14066:37;;;29429:13;29422:21;27286:2;27271:18;;5718:34;27128:2;27113:18;;27099:201::o;27307:432::-;14066:37;;;27648:2;27633:18;;14066:37;;;;29429:13;29422:21;27725:2;27710:18;;5718:34;27484:2;27469:18;;27455:284::o;27746:214::-;29853:4;29842:16;;;;14430:35;;27869:2;27854:18;;27840:120::o;29871:268::-;29936:1;29943:101;29957:6;29954:1;29951:13;29943:101;;;30024:11;;;30018:18;30005:11;;;29998:39;29979:2;29972:10;29943:101;;;30059:6;30056:1;30053:13;30050:2;;;-1:-1;;29936:1;30106:16;;30099:27;29920:219::o;30252:117::-;-1:-1;;;;;29637:54;;30311:35;;30301:2;;30360:1;;30350:12
Swarm Source
ipfs://68a3db32d8d81fe3fd58c32ca5910bab98de9b2de8c24038af30eebc6fc3a188
Loading...
Loading
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.