Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 286 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Reward | 20354850 | 33 days ago | IN | 0 ETH | 0.00034977 | ||||
Get Reward | 19910371 | 95 days ago | IN | 0 ETH | 0.00059604 | ||||
Get Reward | 19896646 | 97 days ago | IN | 0 ETH | 0.0004118 | ||||
Get Reward | 19795271 | 111 days ago | IN | 0 ETH | 0.00129428 | ||||
Get Reward | 19606033 | 138 days ago | IN | 0 ETH | 0.00218463 | ||||
Get Reward | 19519705 | 150 days ago | IN | 0 ETH | 0.00771468 | ||||
Get Reward | 19515372 | 150 days ago | IN | 0 ETH | 0.00300352 | ||||
Get Reward | 19071248 | 213 days ago | IN | 0 ETH | 0.00326421 | ||||
Get Reward | 19001146 | 222 days ago | IN | 0 ETH | 0.00396893 | ||||
Get Reward | 18993648 | 223 days ago | IN | 0 ETH | 0.00490725 | ||||
Get Reward | 18891590 | 238 days ago | IN | 0 ETH | 0.00410307 | ||||
Get Reward | 18866091 | 241 days ago | IN | 0 ETH | 0.00234931 | ||||
Get Reward | 18673901 | 268 days ago | IN | 0 ETH | 0.00615809 | ||||
Get Reward | 18543320 | 287 days ago | IN | 0 ETH | 0.01206558 | ||||
Get Reward | 18328937 | 317 days ago | IN | 0 ETH | 0.00358615 | ||||
Get Reward | 18071850 | 353 days ago | IN | 0 ETH | 0.00518585 | ||||
Get Reward | 18012039 | 361 days ago | IN | 0 ETH | 0.00494326 | ||||
Get Reward | 17756927 | 397 days ago | IN | 0 ETH | 0.00710539 | ||||
Get Reward | 17613135 | 417 days ago | IN | 0 ETH | 0.00316728 | ||||
Get Reward | 17546293 | 426 days ago | IN | 0 ETH | 0.00274827 | ||||
Get Reward | 17278229 | 464 days ago | IN | 0 ETH | 0.00791912 | ||||
Get Reward | 17125624 | 485 days ago | IN | 0 ETH | 0.00645574 | ||||
Get Reward | 17045930 | 497 days ago | IN | 0 ETH | 0.00586531 | ||||
Get Reward | 16719242 | 543 days ago | IN | 0 ETH | 0.00297128 | ||||
Get Reward | 16683083 | 548 days ago | IN | 0 ETH | 0.00595561 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
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:
ConvexStakingWrapperFrax
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-05-09 */ // File: contracts\interfaces\IRewardStaking.sol // SPDX-License-Identifier: MIT 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: @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: contracts\wrappers\ConvexStakingWrapper.sol pragma solidity 0.6.12; //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 { 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; } //constants/immutables address public constant convexBooster = address(0xF403C135812408BFbE8713b5A23a04b3D48AAE31); address public constant crv = address(0xD533a949740bb3306d119CC777fa900bA034cd52); address public constant cvx = address(0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B); address public curveToken; address public convexToken; address public convexPool; uint256 public convexPoolId; address public collateralVault; uint256 private constant CRV_INDEX = 0; uint256 private constant CVX_INDEX = 1; //rewards RewardType[] public rewards; mapping(address => uint256) public registeredRewards; //management bool public isShutdown; bool public isInit; address public owner; string internal _tokenname; string internal _tokensymbol; event Deposited(address indexed _user, address indexed _account, uint256 _amount, bool _wrapped); event Withdrawn(address indexed _user, uint256 _amount, bool _unwrapped); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); constructor() public ERC20( "StakedConvexToken", "stkCvx" ){ } function initialize(address _curveToken, address _convexToken, address _convexPool, uint256 _poolId, address _vault) virtual external { require(!isInit,"already init"); owner = msg.sender; emit OwnershipTransferred(address(0), owner); _tokenname = string(abi.encodePacked("Staked ", ERC20(_convexToken).name() )); _tokensymbol = string(abi.encodePacked("stk", ERC20(_convexToken).symbol())); isShutdown = false; isInit = true; curveToken = _curveToken; convexToken = _convexToken; convexPool = _convexPool; convexPoolId = _poolId; collateralVault = _vault; //add rewards addRewards(); setApprovals(); } function name() public view override returns (string memory) { return _tokenname; } function symbol() public view override returns (string memory) { return _tokensymbol; } function decimals() public view override returns (uint8) { return 18; } modifier onlyOwner() { require(owner == msg.sender, "Ownable: caller is not the 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; } function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(owner, address(0)); owner = address(0); } function shutdown() external onlyOwner { isShutdown = true; } function setApprovals() public { IERC20(curveToken).safeApprove(convexBooster, 0); IERC20(curveToken).safeApprove(convexBooster, uint256(-1)); IERC20(convexToken).safeApprove(convexPool, 0); IERC20(convexToken).safeApprove(convexPool, uint256(-1)); } function addRewards() public { address mainPool = convexPool; if (rewards.length == 0) { rewards.push( RewardType({ reward_token: crv, reward_pool: mainPool, reward_integral: 0, reward_remaining: 0 }) ); rewards.push( RewardType({ reward_token: cvx, reward_pool: address(0), reward_integral: 0, reward_remaining: 0 }) ); registeredRewards[crv] = CRV_INDEX+1; //mark registered at index+1 registeredRewards[cvx] = CVX_INDEX+1; //mark registered at index+1 } uint256 extraCount = IRewardStaking(mainPool).extraRewardsLength(); for (uint256 i = 0; i < extraCount; i++) { address extraPool = IRewardStaking(mainPool).extraRewards(i); address extraToken = IRewardStaking(extraPool).rewardToken(); if(extraToken == cvx){ //update cvx reward pool address rewards[CVX_INDEX].reward_pool = extraPool; }else if(registeredRewards[extraToken] == 0){ //add new token to list rewards.push( RewardType({ reward_token: IRewardStaking(extraPool).rewardToken(), reward_pool: extraPool, reward_integral: 0, reward_remaining: 0 }) ); registeredRewards[extraToken] = rewards.length; //mark registered at index+1 } } } 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 _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; if(_isClaim && u != 0) continue; //only update/claim for first address and use second as forwarding 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; //cheat for gas savings by transfering to the second index in accounts list //if claiming only the 0 index will update so 1 index can hold forwarding info //guaranteed to have an address in u+1 so no need to check IERC20(reward.reward_token).safeTransfer(_accounts[u+1], 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 nonReentrant{ //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); } } function _checkpointAndClaim(address[2] memory _accounts) internal nonReentrant{ 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); } } 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); for (uint256 i = 0; i < rewardCount; i++) { RewardType storage reward = rewards[i]; if(reward.reward_pool == address(0)){ //cvx reward may not have a reward pool yet //so just add whats already been checkpointed claimable[i].amount = claimable[i].amount.add(reward.claimable_reward[_account]); claimable[i].token = reward.reward_token; continue; } //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 = claimable[i].amount.add(reward.claimable_reward[_account].add(newlyClaimable)); claimable[i].token = reward.reward_token; //calc cvx minted from crv and add to cvx claimables //note: crv is always index 0 so will always run before cvx if(i == CRV_INDEX){ //because someone can call claim for the pool outside of checkpoints, need to recalculate crv without the local balance I = reward.reward_integral; if (supply > 0) { I = I + IRewardStaking(reward.reward_pool).earned(address(this)).mul(1e20).div(supply); } newlyClaimable = _getDepositedBalance(_account).mul(I.sub(reward.reward_integral_for[_account])).div(1e20); claimable[CVX_INDEX].amount = CvxMining.ConvertCrvToCvx(newlyClaimable); claimable[CVX_INDEX].token = cvx; } } return claimable; } function getReward(address _account) external { //claim directly in checkpoint logic to save a bit of gas _checkpointAndClaim([_account, _account]); } function getReward(address _account, address _forwardTo) external { require(msg.sender == _account, "!self"); //claim directly in checkpoint logic to save a bit of gas //pack forwardTo into account array to save gas so that a proxy etc doesnt have to double transfer _checkpointAndClaim([_account,_forwardTo]); } //deposit a curve token function deposit(uint256 _amount, address _to) external { 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 { 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 { //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 { //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\ConvexStakingWrapperFrax.sol pragma solidity 0.6.12; pragma experimental ABIEncoderV2; interface IFraxFarm { function lockedLiquidityOf(address account) external view returns (uint256 amount); } //Staking wrapper for Frax Finance platform //use convex LP positions as collateral while still receiving rewards contract ConvexStakingWrapperFrax is ConvexStakingWrapper { using SafeERC20 for IERC20; using Address for address; using SafeMath for uint256; constructor() public{} function initialize(address _curveToken, address _convexToken, address _convexPool, uint256 _poolId, address _vault) override external { require(!isInit,"already init"); owner = msg.sender; emit OwnershipTransferred(address(0), owner); _tokenname = string(abi.encodePacked("Staked ", ERC20(_convexToken).name(), " Frax" )); _tokensymbol = string(abi.encodePacked("stk", ERC20(_convexToken).symbol(), "-frax")); isShutdown = false; isInit = true; curveToken = _curveToken; convexToken = _convexToken; convexPool = _convexPool; convexPoolId = _poolId; //set vault later // collateralVault = _vault; //add rewards addRewards(); setApprovals(); } function setVault(address _vault) external onlyOwner{ require(collateralVault == address(0), "already set"); collateralVault = _vault; } function _getDepositedBalance(address _account) internal override view returns(uint256) { if (_account == address(0) || _account == collateralVault) { return 0; } uint256 collateral; if(collateralVault != address(0)){ collateral = IFraxFarm(collateralVault).lockedLiquidityOf(_account); } return balanceOf(_account).add(collateral); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"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":[],"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"},{"internalType":"address","name":"_forwardTo","type":"address"}],"name":"getReward","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"_curveToken","type":"address"},{"internalType":"address","name":"_convexToken","type":"address"},{"internalType":"address","name":"_convexPool","type":"address"},{"internalType":"uint256","name":"_poolId","type":"uint256"},{"internalType":"address","name":"_vault","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isInit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[{"internalType":"address","name":"","type":"address"}],"name":"registeredRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"_vault","type":"address"}],"name":"setVault","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
60806040523480156200001157600080fd5b50604080518082018252601181527029ba30b5b2b221b7b73b32bc2a37b5b2b760791b6020808301918252835180850190945260068452650e6e8d686ecf60d31b90840152815191929162000069916003916200009a565b5080516200007f9060049060208401906200009a565b50506005805460ff1916601217905550600160065562000136565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620000dd57805160ff19168380011785556200010d565b828001600101855582156200010d579182015b828111156200010d578251825591602001919060010190620000f0565b506200011b9291506200011f565b5090565b5b808211156200011b576000815560010162000120565b61379380620001466000396000f3fe608060405234801561001057600080fd5b50600436106102525760003560e01c8063715018a611610146578063bf86d690116100c3578063e529ee9511610087578063e529ee951461048e578063e89133b214610496578063f2fde38b1461049e578063f301af42146104b1578063fc0e74d1146104d4578063ff833485146104dc57610252565b8063bf86d69014610445578063c00007b01461044d578063cc7d510e14610460578063dd62ed3e14610468578063e2aecded1461047b57610252565b806395d89b411161010a57806395d89b4114610407578063a457c2d71461040f578063a9059cbb14610422578063b145a5b814610435578063b95c57461461043d57610252565b8063715018a6146103d45780637acb7757146103dc5780638757b15b146103ef5780638da5cb5b146103f7578063923c1d61146103ff57610252565b806339509351116101d45780636817031b116101985780636817031b146103805780636a4874a1146103935780636b0916951461039b5780636e553f65146103ae57806370a08231146103c157610252565b8063395093511461032c5780633969dfb41461033f5780634b0ee02a146103525780634f39059c14610365578063530b97a41461036d57610252565b806318160ddd1161021b57806318160ddd146102d457806323b872dd146102e95780632cdacb50146102fc5780632e1a7d4d14610304578063313ce5671461031757610252565b80628cc2621461025757806306fdde0314610280578063095ea7b3146102955780630bece79c146102b557806314d6aed0146102ca575b600080fd5b61026a610265366004612d26565b6104ef565b60405161027791906130eb565b60405180910390f35b610288610a4f565b604051610277919061314e565b6102a86102a3366004612e3d565b610ae5565b6040516102779190613143565b6102bd610b03565b6040516102779190613031565b6102d2610b12565b005b6102dc61116e565b6040516102779190613648565b6102a86102f7366004612dfd565b611174565b6102bd6111fc565b6102d2610312366004612f49565b611214565b61031f6112e8565b6040516102779190613679565b6102a861033a366004612e3d565b6112ed565b6102d261034d366004612f49565b61133b565b6102dc610360366004612d26565b611404565b6102bd61140f565b6102d261037b366004612d96565b61141e565b6102d261038e366004612d26565b611663565b6102bd6116de565b6102d26103a9366004612d5e565b6116f6565b6102d26103bc366004612f79565b611749565b6102dc6103cf366004612d26565b611878565b6102d2611893565b6102d26103ea366004612f79565b611915565b6102d2611a09565b6102bd611aa1565b6102bd611ab6565b610288611ace565b6102a861041d366004612e3d565b611b2f565b6102a8610430366004612e3d565b611b97565b6102a8611bab565b6102dc611bb9565b6102a8611bbf565b6102d261045b366004612d26565b611bc8565b6102bd611bf0565b6102dc610476366004612d5e565b611bff565b6102a8610489366004612e68565b611c2a565b6102dc611c93565b6102bd611c99565b6102d26104ac366004612d26565b611ca8565b6104c46104bf366004612f49565b611d68565b604051610277949392919061305f565b6102d2611db9565b6102dc6104ea366004612d26565b611df8565b606060006104fb611e0a565b600c549091508067ffffffffffffffff8111801561051857600080fd5b5060405190808252806020026020018201604052801561055257816020015b61053f612c5e565b8152602001906001900390816105375790505b50925060005b81811015610a46576000600c828154811061056f57fe5b6000918252602090912060059091020160018101549091506001600160a01b0316610630576001600160a01b038616600090815260048201602052604090205485516105dc91908790859081106105c257fe5b602002602001015160200151611e1990919063ffffffff16565b8583815181106105e857fe5b6020908102919091018101510152805485516001600160a01b039091169086908490811061061257fe5b60209081029190910101516001600160a01b03909116905250610a3e565b80546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610660903090600401613031565b60206040518083038186803b15801561067857600080fd5b505afa15801561068c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b09190612f61565b60028301549091506000906106d6908390600160801b90046001600160801b0316611e3e565b60018401546040516246613160e11b8152919250610764916001600160a01b0390911690628cc2629061070d903090600401613031565b60206040518083038186803b15801561072557600080fd5b505afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190612f61565b8290611e19565b60028401549091506001600160801b0316861561079a57610798876107928468056bc75e2d63100000611e66565b90611ea0565b015b6001600160a01b03891660009081526003850160205260408120546107e29068056bc75e2d6310000090610792906107d3908690611e3e565b6107dc8e611ed2565b90611e66565b6001600160a01b038b16600090815260048701602052604090205490915061081a9061080e9083611e19565b8a88815181106105c257fe5b89878151811061082657fe5b6020908102919091018101510152845489516001600160a01b03909116908a908890811061085057fe5b60209081029190910101516001600160a01b03909116905285610a385760028501546001600160801b03169150871561091d5760018501546040516246613160e11b8152610918918a916107929168056bc75e2d63100000916001600160a01b0390911690628cc262906108c8903090600401613031565b60206040518083038186803b1580156108e057600080fd5b505afa1580156108f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612f61565b820191505b6001600160a01b038a1660009081526003860160205260409020546109569068056bc75e2d6310000090610792906107d3908690611e3e565b604051638487474560e01b8152909150733c75bfe6fbfda3a94e7e7e8c2216afc684de534390638487474590610990908490600401613648565b60206040518083038186803b1580156109a857600080fd5b505af41580156109bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e09190612f61565b896001815181106109ed57fe5b60200260200101516020018181525050734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b89600181518110610a1f57fe5b60209081029190910101516001600160a01b0390911690525b50505050505b600101610558565b5050505b919050565b600f8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610adb5780601f10610ab057610100808354040283529160200191610adb565b820191906000526020600020905b815481529060010190602001808311610abe57829003601f168201915b5050505050905090565b6000610af9610af2611fae565b8484611fb2565b5060015b92915050565b600b546001600160a01b031681565b600954600c546001600160a01b0390911690610e2557600c604051806080016040528073d533a949740bb3306d119cc777fa900ba034cd526001600160a01b03168152602001836001600160a01b0316815260200160006001600160801b0316815260200160006001600160801b0316815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020160006101000a8154816001600160801b0302191690836001600160801b0316021790555060608201518160020160106101000a8154816001600160801b0302191690836001600160801b031602179055505050600c6040518060800160405280734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b0316815260200160006001600160a01b0316815260200160006001600160801b0316815260200160006001600160801b0316815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020160006101000a8154816001600160801b0302191690836001600160801b0316021790555060608201518160020160106101000a8154816001600160801b0302191690836001600160801b0316021790555050506000600101600d600073d533a949740bb3306d119cc777fa900ba034cd526001600160a01b03166001600160a01b031681526020019081526020016000208190555060018001600d6000734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b03166001600160a01b03168152602001908152602001600020819055505b6000816001600160a01b031663d55a23f46040518163ffffffff1660e01b815260040160206040518083038186803b158015610e6057600080fd5b505afa158015610e74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e989190612f61565b905060005b8181101561116957604051632061aa2360e11b81526000906001600160a01b038516906340c3544690610ed4908590600401613648565b60206040518083038186803b158015610eec57600080fd5b505afa158015610f00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f249190612d42565b90506000816001600160a01b031663f7c618c16040518163ffffffff1660e01b815260040160206040518083038186803b158015610f6157600080fd5b505afa158015610f75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f999190612d42565b90506001600160a01b038116734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b14156110095781600c600181548110610fcf57fe5b906000526020600020906005020160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555061115f565b6001600160a01b0381166000908152600d602052604090205461115f57600c6040518060800160405280846001600160a01b031663f7c618c16040518163ffffffff1660e01b815260040160206040518083038186803b15801561106c57600080fd5b505afa158015611080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a49190612d42565b6001600160a01b039081168252858116602080840191909152600060408085018290526060948501829052865460018181018955978352838320875160059092020180549186166001600160a01b031992831617815587850151988101805499871699909216989098179055858101516002909701805496909501516001600160801b03908116600160801b029781166001600160801b03199097169690961790951695909517909255600c549085168452600d9091529120555b5050600101610e9d565b505050565b60025490565b6000611181848484612066565b6111f18461118d611fae565b6111ec85604051806060016040528060288152602001613711602891396001600160a01b038a166000908152600160205260408120906111cb611fae565b6001600160a01b03168152602081019190915260400160002054919061217b565b611fb2565b5060015b9392505050565b73f403c135812408bfbe8713b5a23a04b3d48aae3181565b80156112a15761122433826121a7565b600954604051631c683a1b60e11b81526001600160a01b03909116906338d0743690611257908490600090600401613651565b600060405180830381600087803b15801561127157600080fd5b505af1158015611285573d6000803e3d6000fd5b50506008546112a192506001600160a01b03169050338361227d565b336001600160a01b03167f2fd83d5e9f5d240bed47a97a24cf354e4047e25edc2da27b01fd95e5e8a0c9a58260006040516112dd929190613651565b60405180910390a250565b601290565b6000610af96112fa611fae565b846111ec856001600061130b611fae565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611e19565b80156113c85761134b33826121a7565b600954604051636197390160e11b81526001600160a01b039091169063c32e72029061137e908490600090600401613651565b600060405180830381600087803b15801561139857600080fd5b505af11580156113ac573d6000803e3d6000fd5b50506007546113c892506001600160a01b03169050338361227d565b336001600160a01b03167f2fd83d5e9f5d240bed47a97a24cf354e4047e25edc2da27b01fd95e5e8a0c9a58260016040516112dd929190613651565b6000610afd82611ed2565b6007546001600160a01b031681565b600e54610100900460ff161561144f5760405162461bcd60e51b815260040161144690613337565b60405180910390fd5b600e80546201000033810262010000600160b01b0319909216919091179182905560405191046001600160a01b0316906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3836001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156114e057600080fd5b505afa1580156114f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151c9190810190612eae565b60405160200161152c9190612fb9565b604051602081830303815290604052600f9080519060200190611550929190612c75565b50836001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561158a57600080fd5b505afa15801561159e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115c69190810190612eae565b6040516020016115d69190612ff7565b604051602081830303815290604052601090805190602001906115fa929190612c75565b50600e805461ffff1916610100179055600780546001600160a01b038088166001600160a01b031992831617909255600880548784169083161790556009805492861692909116919091179055600a829055611654610b12565b61165c611a09565b5050505050565b600e546201000090046001600160a01b031633146116935760405162461bcd60e51b81526004016114469061339e565b600b546001600160a01b0316156116bc5760405162461bcd60e51b8152600401611446906135ec565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b73d533a949740bb3306d119cc777fa900ba034cd5281565b336001600160a01b0383161461171e5760405162461bcd60e51b8152600401611446906133d3565b604080518082019091526001600160a01b03808416825282166020820152611745906122d3565b5050565b600e5460ff161561176c5760405162461bcd60e51b815260040161144690613478565b81156118265761177c81836123b9565b600754611794906001600160a01b031633308561246d565b600a546040516321d0683360e11b815273f403c135812408bfbe8713b5a23a04b3d48aae31916343a0d066916117d291908690600190600401613661565b602060405180830381600087803b1580156117ec57600080fd5b505af1158015611800573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118249190612e8e565b505b806001600160a01b0316336001600160a01b03167fb32af138549e2a71563d1f2b1f7f0a139b3cdbc83d877d13603de1c3c5fd487a84600160405161186c929190613651565b60405180910390a35050565b6001600160a01b031660009081526020819052604090205490565b600e546201000090046001600160a01b031633146118c35760405162461bcd60e51b81526004016114469061339e565b600e546040516000916201000090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600e805462010000600160b01b0319169055565b600e5460ff16156119385760405162461bcd60e51b815260040161144690613478565b81156119c35761194881836123b9565b600854611960906001600160a01b031633308561246d565b60095460405163534a7e1d60e11b81526001600160a01b039091169063a694fc3a90611990908590600401613648565b600060405180830381600087803b1580156119aa57600080fd5b505af11580156119be573d6000803e3d6000fd5b505050505b806001600160a01b0316336001600160a01b03167fb32af138549e2a71563d1f2b1f7f0a139b3cdbc83d877d13603de1c3c5fd487a84600060405161186c929190613651565b600754611a35906001600160a01b031673f403c135812408bfbe8713b5a23a04b3d48aae316000612494565b600754611a62906001600160a01b031673f403c135812408bfbe8713b5a23a04b3d48aae31600019612494565b600954600854611a80916001600160a01b0391821691166000612494565b600954600854611a9f916001600160a01b039182169116600019612494565b565b600e546201000090046001600160a01b031681565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b60108054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610adb5780601f10610ab057610100808354040283529160200191610adb565b6000610af9611b3c611fae565b846111ec856040518060600160405280602581526020016137396025913960016000611b66611fae565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061217b565b6000610af9611ba4611fae565b8484612066565b600e54610100900460ff1681565b600c5490565b600e5460ff1681565b604080518082019091526001600160a01b0382168082526020820152611bed906122d3565b50565b6009546001600160a01b031681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000611c8b604051806040016040528084600060028110611c4757fe5b602002016020810190611c5a9190612d26565b6001600160a01b03168152602090810190611c7b9060408701908701612d26565b6001600160a01b03169052612557565b506001919050565b600a5481565b6008546001600160a01b031681565b600e546201000090046001600160a01b03163314611cd85760405162461bcd60e51b81526004016114469061339e565b6001600160a01b038116611cfe5760405162461bcd60e51b8152600401611446906131c4565b600e546040516001600160a01b038084169262010000900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600e80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b600c8181548110611d7557fe5b60009182526020909120600590910201805460018201546002909201546001600160a01b0391821693509116906001600160801b0380821691600160801b90041684565b600e546201000090046001600160a01b03163314611de95760405162461bcd60e51b81526004016114469061339e565b600e805460ff19166001179055565b600d6020526000908152604090205481565b6000611e1461116e565b905090565b6000828201838110156111f55760405162461bcd60e51b81526004016114469061324c565b600082821115611e605760405162461bcd60e51b815260040161144690613283565b50900390565b600082611e7557506000610afd565b82820282848281611e8257fe5b04146111f55760405162461bcd60e51b81526004016114469061335d565b6000808211611ec15760405162461bcd60e51b815260040161144690613300565b818381611eca57fe5b049392505050565b60006001600160a01b0382161580611ef75750600b546001600160a01b038381169116145b15611f0457506000610a4a565b600b546000906001600160a01b031615611f9b57600b5460405163d9f96e8d60e01b81526001600160a01b039091169063d9f96e8d90611f48908690600401613031565b60206040518083038186803b158015611f6057600080fd5b505afa158015611f74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f989190612f61565b90505b6111f581611fa885611878565b90611e19565b3390565b6001600160a01b038316611fd85760405162461bcd60e51b81526004016114469061349a565b6001600160a01b038216611ffe5760405162461bcd60e51b81526004016114469061320a565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590612059908590613648565b60405180910390a3505050565b6001600160a01b03831661208c5760405162461bcd60e51b815260040161144690613433565b6001600160a01b0382166120b25760405162461bcd60e51b815260040161144690613181565b6120bd838383612653565b6120fa816040518060600160405280602681526020016136eb602691396001600160a01b038616600090815260208190526040902054919061217b565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546121299082611e19565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612059908590613648565b6000818484111561219f5760405162461bcd60e51b8152600401611446919061314e565b505050900390565b6001600160a01b0382166121cd5760405162461bcd60e51b8152600401611446906133f2565b6121d982600083612653565b612216816040518060600160405280602281526020016136c9602291396001600160a01b038516600090815260208190526040902054919061217b565b6001600160a01b03831660009081526020819052604090205560025461223c9082611e3e565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061186c908590613648565b6111698363a9059cbb60e01b848460405160240161229c9291906130d2565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261267a565b600260065414156122f65760405162461bcd60e51b81526004016114469061355f565b60026006556000612305611e0a565b905061230f612cf3565b6123208360005b6020020151611ed2565b8152600954604051637050ccd960e01b81526001600160a01b0390911690637050ccd9906123559030906001906004016130b7565b600060405180830381600087803b15801561236f57600080fd5b505af1158015612383573d6000803e3d6000fd5b5050600c549150600090505b818110156123ad576123a5818685876001612709565b60010161238f565b50506001600655505050565b6001600160a01b0382166123df5760405162461bcd60e51b815260040161144690613611565b6123eb60008383612653565b6002546123f89082611e19565b6002556001600160a01b03821660009081526020819052604090205461241e9082611e19565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061186c908590613648565b61248e846323b872dd60e01b85858560405160240161229c93929190613093565b50505050565b80158061251c5750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906124ca9030908690600401613045565b60206040518083038186803b1580156124e257600080fd5b505afa1580156124f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251a9190612f61565b155b6125385760405162461bcd60e51b815260040161144690613596565b6111698363095ea7b360e01b848460405160240161229c9291906130d2565b6002600654141561257a5760405162461bcd60e51b81526004016114469061355f565b6002600655600e5460ff161561258f5761264b565b6000612599611e0a565b90506125a3612cf3565b6125ae836000612316565b81526125bb836001612316565b6020820152600954604051637050ccd960e01b81526001600160a01b0390911690637050ccd9906125f39030906001906004016130b7565b600060405180830381600087803b15801561260d57600080fd5b505af1158015612621573d6000803e3d6000fd5b5050600c549150600090505b818110156123ad57612643818685876000612709565b60010161262d565b506001600655565b604080518082019091526001600160a01b0380851682528316602082015261116990612557565b60606126cf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b479092919063ffffffff16565b80519091501561116957808060200190518101906126ed9190612e8e565b6111695760405162461bcd60e51b815260040161144690613515565b6000600c868154811061271857fe5b60009182526020822060059091020180546040516370a0823160e01b81529193506001600160a01b0316906370a0823190612757903090600401613031565b60206040518083038186803b15801561276f57600080fd5b505afa158015612783573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a79190612f61565b90506000841180156127d9575060028201546000906127d7908390600160801b90046001600160801b0316611e3e565b115b1561283b5760028201546128139085906107929068056bc75e2d63100000906107dc908690600160801b90046001600160801b0316611e3e565b6002830180546001600160801b031981166001600160801b0391821693909301169190911790555b60005b6002811015612b0557600087826002811061285557fe5b60200201516001600160a01b0316141561286e57612afd565b600b546001600160a01b031687826002811061288657fe5b60200201516001600160a01b0316141561289f57612afd565b8380156128ab57508015155b156128b557612afd565b60008360030160008984600281106128c957fe5b60200201516001600160a01b03166001600160a01b031681526020019081526020016000205490508480612909575060028401546001600160801b031681105b15612afb578415612a245760028401546000906129a39061295d9068056bc75e2d631000009061079290612946906001600160801b031687611e3e565b8c886002811061295257fe5b602002015190611e66565b8660040160008c876002811061296f57fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002054611e1990919063ffffffff16565b90508015612a1e5760008560040160008b86600281106129bf57fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002081905550612a118984600101600281106129fa57fe5b602002015186546001600160a01b0316908361227d565b612a1b8482611e3e565b93505b50612aad565b6002840154612a7190612a5f9068056bc75e2d631000009061079290612a53906001600160801b031686611e3e565b8b876002811061295257fe5b8560040160008b866002811061296f57fe5b8460040160008a8560028110612a8357fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b6002808501546001600160801b03169060038601906000908b9086908110612ad157fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b505b60010161283e565b506002820154600160801b90046001600160801b03168114612b3e576002820180546001600160801b03808416600160801b0291161790555b50505050505050565b6060612b568484600085612b5e565b949350505050565b606082471015612b805760405162461bcd60e51b8152600401611446906132ba565b612b8985612c1f565b612ba55760405162461bcd60e51b8152600401611446906134de565b60006060866001600160a01b03168587604051612bc29190612f9d565b60006040518083038185875af1925050503d8060008114612bff576040519150601f19603f3d011682016040523d82523d6000602084013e612c04565b606091505b5091509150612c14828286612c25565b979650505050505050565b3b151590565b60608315612c345750816111f5565b825115612c445782518084602001fd5b8160405162461bcd60e51b8152600401611446919061314e565b604080518082019091526000808252602082015290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612cb657805160ff1916838001178555612ce3565b82800160010185558215612ce3579182015b82811115612ce3578251825591602001919060010190612cc8565b50612cef929150612d11565b5090565b60405180604001604052806002906020820280368337509192915050565b5b80821115612cef5760008155600101612d12565b600060208284031215612d37578081fd5b81356111f5816136b3565b600060208284031215612d53578081fd5b81516111f5816136b3565b60008060408385031215612d70578081fd5b8235612d7b816136b3565b91506020830135612d8b816136b3565b809150509250929050565b600080600080600060a08688031215612dad578081fd5b8535612db8816136b3565b94506020860135612dc8816136b3565b93506040860135612dd8816136b3565b9250606086013591506080860135612def816136b3565b809150509295509295909350565b600080600060608486031215612e11578283fd5b8335612e1c816136b3565b92506020840135612e2c816136b3565b929592945050506040919091013590565b60008060408385031215612e4f578182fd5b8235612e5a816136b3565b946020939093013593505050565b600060408284031215612e79578081fd5b82604083011115612e88578081fd5b50919050565b600060208284031215612e9f578081fd5b815180151581146111f5578182fd5b600060208284031215612ebf578081fd5b815167ffffffffffffffff80821115612ed6578283fd5b818401915084601f830112612ee9578283fd5b815181811115612ef7578384fd5b604051601f8201601f191681016020018381118282101715612f17578586fd5b604052818152838201602001871015612f2e578485fd5b612f3f826020830160208701613687565b9695505050505050565b600060208284031215612f5a578081fd5b5035919050565b600060208284031215612f72578081fd5b5051919050565b60008060408385031215612f8b578182fd5b823591506020830135612d8b816136b3565b60008251612faf818460208701613687565b9190910192915050565b600066029ba30b5b2b2160cd1b82528251612fdb816007850160208701613687565b640408ce4c2f60db1b6007939091019283015250600c01919050565b60006273746b60e81b82528251613015816003850160208701613687565b6405acce4c2f60db1b6003939091019283015250600801919050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b0394851681529290931660208301526001600160801b039081166040830152909116606082015260800190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b03929092168252602082015260400190565b602080825282518282018190526000919060409081850190868401855b8281101561313657815180516001600160a01b03168552860151868501529284019290850190600101613108565b5091979650505050505050565b901515815260200190565b600060208252825180602084015261316d816040850160208701613687565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252600c908201526b185b1c9958591e481a5b9a5d60a21b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526005908201526410b9b2b63360d91b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526008908201526739b43aba3237bbb760c11b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b6020808252600b908201526a185b1c9958591e481cd95d60aa1b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9182521515602082015260400190565b92835260208301919091521515604082015260600190565b60ff91909116815260200190565b60005b838110156136a257818101518382015260200161368a565b8381111561248e5750506000910152565b6001600160a01b0381168114611bed57600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204e59018f75e49514eb50985cd61ccc587e3215e1cd84e072fc5262fced25c77f64736f6c634300060c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102525760003560e01c8063715018a611610146578063bf86d690116100c3578063e529ee9511610087578063e529ee951461048e578063e89133b214610496578063f2fde38b1461049e578063f301af42146104b1578063fc0e74d1146104d4578063ff833485146104dc57610252565b8063bf86d69014610445578063c00007b01461044d578063cc7d510e14610460578063dd62ed3e14610468578063e2aecded1461047b57610252565b806395d89b411161010a57806395d89b4114610407578063a457c2d71461040f578063a9059cbb14610422578063b145a5b814610435578063b95c57461461043d57610252565b8063715018a6146103d45780637acb7757146103dc5780638757b15b146103ef5780638da5cb5b146103f7578063923c1d61146103ff57610252565b806339509351116101d45780636817031b116101985780636817031b146103805780636a4874a1146103935780636b0916951461039b5780636e553f65146103ae57806370a08231146103c157610252565b8063395093511461032c5780633969dfb41461033f5780634b0ee02a146103525780634f39059c14610365578063530b97a41461036d57610252565b806318160ddd1161021b57806318160ddd146102d457806323b872dd146102e95780632cdacb50146102fc5780632e1a7d4d14610304578063313ce5671461031757610252565b80628cc2621461025757806306fdde0314610280578063095ea7b3146102955780630bece79c146102b557806314d6aed0146102ca575b600080fd5b61026a610265366004612d26565b6104ef565b60405161027791906130eb565b60405180910390f35b610288610a4f565b604051610277919061314e565b6102a86102a3366004612e3d565b610ae5565b6040516102779190613143565b6102bd610b03565b6040516102779190613031565b6102d2610b12565b005b6102dc61116e565b6040516102779190613648565b6102a86102f7366004612dfd565b611174565b6102bd6111fc565b6102d2610312366004612f49565b611214565b61031f6112e8565b6040516102779190613679565b6102a861033a366004612e3d565b6112ed565b6102d261034d366004612f49565b61133b565b6102dc610360366004612d26565b611404565b6102bd61140f565b6102d261037b366004612d96565b61141e565b6102d261038e366004612d26565b611663565b6102bd6116de565b6102d26103a9366004612d5e565b6116f6565b6102d26103bc366004612f79565b611749565b6102dc6103cf366004612d26565b611878565b6102d2611893565b6102d26103ea366004612f79565b611915565b6102d2611a09565b6102bd611aa1565b6102bd611ab6565b610288611ace565b6102a861041d366004612e3d565b611b2f565b6102a8610430366004612e3d565b611b97565b6102a8611bab565b6102dc611bb9565b6102a8611bbf565b6102d261045b366004612d26565b611bc8565b6102bd611bf0565b6102dc610476366004612d5e565b611bff565b6102a8610489366004612e68565b611c2a565b6102dc611c93565b6102bd611c99565b6102d26104ac366004612d26565b611ca8565b6104c46104bf366004612f49565b611d68565b604051610277949392919061305f565b6102d2611db9565b6102dc6104ea366004612d26565b611df8565b606060006104fb611e0a565b600c549091508067ffffffffffffffff8111801561051857600080fd5b5060405190808252806020026020018201604052801561055257816020015b61053f612c5e565b8152602001906001900390816105375790505b50925060005b81811015610a46576000600c828154811061056f57fe5b6000918252602090912060059091020160018101549091506001600160a01b0316610630576001600160a01b038616600090815260048201602052604090205485516105dc91908790859081106105c257fe5b602002602001015160200151611e1990919063ffffffff16565b8583815181106105e857fe5b6020908102919091018101510152805485516001600160a01b039091169086908490811061061257fe5b60209081029190910101516001600160a01b03909116905250610a3e565b80546040516370a0823160e01b81526000916001600160a01b0316906370a0823190610660903090600401613031565b60206040518083038186803b15801561067857600080fd5b505afa15801561068c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106b09190612f61565b60028301549091506000906106d6908390600160801b90046001600160801b0316611e3e565b60018401546040516246613160e11b8152919250610764916001600160a01b0390911690628cc2629061070d903090600401613031565b60206040518083038186803b15801561072557600080fd5b505afa158015610739573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061075d9190612f61565b8290611e19565b60028401549091506001600160801b0316861561079a57610798876107928468056bc75e2d63100000611e66565b90611ea0565b015b6001600160a01b03891660009081526003850160205260408120546107e29068056bc75e2d6310000090610792906107d3908690611e3e565b6107dc8e611ed2565b90611e66565b6001600160a01b038b16600090815260048701602052604090205490915061081a9061080e9083611e19565b8a88815181106105c257fe5b89878151811061082657fe5b6020908102919091018101510152845489516001600160a01b03909116908a908890811061085057fe5b60209081029190910101516001600160a01b03909116905285610a385760028501546001600160801b03169150871561091d5760018501546040516246613160e11b8152610918918a916107929168056bc75e2d63100000916001600160a01b0390911690628cc262906108c8903090600401613031565b60206040518083038186803b1580156108e057600080fd5b505afa1580156108f4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107dc9190612f61565b820191505b6001600160a01b038a1660009081526003860160205260409020546109569068056bc75e2d6310000090610792906107d3908690611e3e565b604051638487474560e01b8152909150733c75bfe6fbfda3a94e7e7e8c2216afc684de534390638487474590610990908490600401613648565b60206040518083038186803b1580156109a857600080fd5b505af41580156109bc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109e09190612f61565b896001815181106109ed57fe5b60200260200101516020018181525050734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b89600181518110610a1f57fe5b60209081029190910101516001600160a01b0390911690525b50505050505b600101610558565b5050505b919050565b600f8054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610adb5780601f10610ab057610100808354040283529160200191610adb565b820191906000526020600020905b815481529060010190602001808311610abe57829003601f168201915b5050505050905090565b6000610af9610af2611fae565b8484611fb2565b5060015b92915050565b600b546001600160a01b031681565b600954600c546001600160a01b0390911690610e2557600c604051806080016040528073d533a949740bb3306d119cc777fa900ba034cd526001600160a01b03168152602001836001600160a01b0316815260200160006001600160801b0316815260200160006001600160801b0316815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020160006101000a8154816001600160801b0302191690836001600160801b0316021790555060608201518160020160106101000a8154816001600160801b0302191690836001600160801b031602179055505050600c6040518060800160405280734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b0316815260200160006001600160a01b0316815260200160006001600160801b0316815260200160006001600160801b0316815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060208201518160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060408201518160020160006101000a8154816001600160801b0302191690836001600160801b0316021790555060608201518160020160106101000a8154816001600160801b0302191690836001600160801b0316021790555050506000600101600d600073d533a949740bb3306d119cc777fa900ba034cd526001600160a01b03166001600160a01b031681526020019081526020016000208190555060018001600d6000734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b6001600160a01b03166001600160a01b03168152602001908152602001600020819055505b6000816001600160a01b031663d55a23f46040518163ffffffff1660e01b815260040160206040518083038186803b158015610e6057600080fd5b505afa158015610e74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e989190612f61565b905060005b8181101561116957604051632061aa2360e11b81526000906001600160a01b038516906340c3544690610ed4908590600401613648565b60206040518083038186803b158015610eec57600080fd5b505afa158015610f00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f249190612d42565b90506000816001600160a01b031663f7c618c16040518163ffffffff1660e01b815260040160206040518083038186803b158015610f6157600080fd5b505afa158015610f75573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f999190612d42565b90506001600160a01b038116734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b14156110095781600c600181548110610fcf57fe5b906000526020600020906005020160010160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555061115f565b6001600160a01b0381166000908152600d602052604090205461115f57600c6040518060800160405280846001600160a01b031663f7c618c16040518163ffffffff1660e01b815260040160206040518083038186803b15801561106c57600080fd5b505afa158015611080573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110a49190612d42565b6001600160a01b039081168252858116602080840191909152600060408085018290526060948501829052865460018181018955978352838320875160059092020180549186166001600160a01b031992831617815587850151988101805499871699909216989098179055858101516002909701805496909501516001600160801b03908116600160801b029781166001600160801b03199097169690961790951695909517909255600c549085168452600d9091529120555b5050600101610e9d565b505050565b60025490565b6000611181848484612066565b6111f18461118d611fae565b6111ec85604051806060016040528060288152602001613711602891396001600160a01b038a166000908152600160205260408120906111cb611fae565b6001600160a01b03168152602081019190915260400160002054919061217b565b611fb2565b5060015b9392505050565b73f403c135812408bfbe8713b5a23a04b3d48aae3181565b80156112a15761122433826121a7565b600954604051631c683a1b60e11b81526001600160a01b03909116906338d0743690611257908490600090600401613651565b600060405180830381600087803b15801561127157600080fd5b505af1158015611285573d6000803e3d6000fd5b50506008546112a192506001600160a01b03169050338361227d565b336001600160a01b03167f2fd83d5e9f5d240bed47a97a24cf354e4047e25edc2da27b01fd95e5e8a0c9a58260006040516112dd929190613651565b60405180910390a250565b601290565b6000610af96112fa611fae565b846111ec856001600061130b611fae565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611e19565b80156113c85761134b33826121a7565b600954604051636197390160e11b81526001600160a01b039091169063c32e72029061137e908490600090600401613651565b600060405180830381600087803b15801561139857600080fd5b505af11580156113ac573d6000803e3d6000fd5b50506007546113c892506001600160a01b03169050338361227d565b336001600160a01b03167f2fd83d5e9f5d240bed47a97a24cf354e4047e25edc2da27b01fd95e5e8a0c9a58260016040516112dd929190613651565b6000610afd82611ed2565b6007546001600160a01b031681565b600e54610100900460ff161561144f5760405162461bcd60e51b815260040161144690613337565b60405180910390fd5b600e80546201000033810262010000600160b01b0319909216919091179182905560405191046001600160a01b0316906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3836001600160a01b03166306fdde036040518163ffffffff1660e01b815260040160006040518083038186803b1580156114e057600080fd5b505afa1580156114f4573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261151c9190810190612eae565b60405160200161152c9190612fb9565b604051602081830303815290604052600f9080519060200190611550929190612c75565b50836001600160a01b03166395d89b416040518163ffffffff1660e01b815260040160006040518083038186803b15801561158a57600080fd5b505afa15801561159e573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526115c69190810190612eae565b6040516020016115d69190612ff7565b604051602081830303815290604052601090805190602001906115fa929190612c75565b50600e805461ffff1916610100179055600780546001600160a01b038088166001600160a01b031992831617909255600880548784169083161790556009805492861692909116919091179055600a829055611654610b12565b61165c611a09565b5050505050565b600e546201000090046001600160a01b031633146116935760405162461bcd60e51b81526004016114469061339e565b600b546001600160a01b0316156116bc5760405162461bcd60e51b8152600401611446906135ec565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b73d533a949740bb3306d119cc777fa900ba034cd5281565b336001600160a01b0383161461171e5760405162461bcd60e51b8152600401611446906133d3565b604080518082019091526001600160a01b03808416825282166020820152611745906122d3565b5050565b600e5460ff161561176c5760405162461bcd60e51b815260040161144690613478565b81156118265761177c81836123b9565b600754611794906001600160a01b031633308561246d565b600a546040516321d0683360e11b815273f403c135812408bfbe8713b5a23a04b3d48aae31916343a0d066916117d291908690600190600401613661565b602060405180830381600087803b1580156117ec57600080fd5b505af1158015611800573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118249190612e8e565b505b806001600160a01b0316336001600160a01b03167fb32af138549e2a71563d1f2b1f7f0a139b3cdbc83d877d13603de1c3c5fd487a84600160405161186c929190613651565b60405180910390a35050565b6001600160a01b031660009081526020819052604090205490565b600e546201000090046001600160a01b031633146118c35760405162461bcd60e51b81526004016114469061339e565b600e546040516000916201000090046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600e805462010000600160b01b0319169055565b600e5460ff16156119385760405162461bcd60e51b815260040161144690613478565b81156119c35761194881836123b9565b600854611960906001600160a01b031633308561246d565b60095460405163534a7e1d60e11b81526001600160a01b039091169063a694fc3a90611990908590600401613648565b600060405180830381600087803b1580156119aa57600080fd5b505af11580156119be573d6000803e3d6000fd5b505050505b806001600160a01b0316336001600160a01b03167fb32af138549e2a71563d1f2b1f7f0a139b3cdbc83d877d13603de1c3c5fd487a84600060405161186c929190613651565b600754611a35906001600160a01b031673f403c135812408bfbe8713b5a23a04b3d48aae316000612494565b600754611a62906001600160a01b031673f403c135812408bfbe8713b5a23a04b3d48aae31600019612494565b600954600854611a80916001600160a01b0391821691166000612494565b600954600854611a9f916001600160a01b039182169116600019612494565b565b600e546201000090046001600160a01b031681565b734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b60108054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610adb5780601f10610ab057610100808354040283529160200191610adb565b6000610af9611b3c611fae565b846111ec856040518060600160405280602581526020016137396025913960016000611b66611fae565b6001600160a01b03908116825260208083019390935260409182016000908120918d1681529252902054919061217b565b6000610af9611ba4611fae565b8484612066565b600e54610100900460ff1681565b600c5490565b600e5460ff1681565b604080518082019091526001600160a01b0382168082526020820152611bed906122d3565b50565b6009546001600160a01b031681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000611c8b604051806040016040528084600060028110611c4757fe5b602002016020810190611c5a9190612d26565b6001600160a01b03168152602090810190611c7b9060408701908701612d26565b6001600160a01b03169052612557565b506001919050565b600a5481565b6008546001600160a01b031681565b600e546201000090046001600160a01b03163314611cd85760405162461bcd60e51b81526004016114469061339e565b6001600160a01b038116611cfe5760405162461bcd60e51b8152600401611446906131c4565b600e546040516001600160a01b038084169262010000900416907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600e80546001600160a01b03909216620100000262010000600160b01b0319909216919091179055565b600c8181548110611d7557fe5b60009182526020909120600590910201805460018201546002909201546001600160a01b0391821693509116906001600160801b0380821691600160801b90041684565b600e546201000090046001600160a01b03163314611de95760405162461bcd60e51b81526004016114469061339e565b600e805460ff19166001179055565b600d6020526000908152604090205481565b6000611e1461116e565b905090565b6000828201838110156111f55760405162461bcd60e51b81526004016114469061324c565b600082821115611e605760405162461bcd60e51b815260040161144690613283565b50900390565b600082611e7557506000610afd565b82820282848281611e8257fe5b04146111f55760405162461bcd60e51b81526004016114469061335d565b6000808211611ec15760405162461bcd60e51b815260040161144690613300565b818381611eca57fe5b049392505050565b60006001600160a01b0382161580611ef75750600b546001600160a01b038381169116145b15611f0457506000610a4a565b600b546000906001600160a01b031615611f9b57600b5460405163d9f96e8d60e01b81526001600160a01b039091169063d9f96e8d90611f48908690600401613031565b60206040518083038186803b158015611f6057600080fd5b505afa158015611f74573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611f989190612f61565b90505b6111f581611fa885611878565b90611e19565b3390565b6001600160a01b038316611fd85760405162461bcd60e51b81526004016114469061349a565b6001600160a01b038216611ffe5760405162461bcd60e51b81526004016114469061320a565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92590612059908590613648565b60405180910390a3505050565b6001600160a01b03831661208c5760405162461bcd60e51b815260040161144690613433565b6001600160a01b0382166120b25760405162461bcd60e51b815260040161144690613181565b6120bd838383612653565b6120fa816040518060600160405280602681526020016136eb602691396001600160a01b038616600090815260208190526040902054919061217b565b6001600160a01b0380851660009081526020819052604080822093909355908416815220546121299082611e19565b6001600160a01b0380841660008181526020819052604090819020939093559151908516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612059908590613648565b6000818484111561219f5760405162461bcd60e51b8152600401611446919061314e565b505050900390565b6001600160a01b0382166121cd5760405162461bcd60e51b8152600401611446906133f2565b6121d982600083612653565b612216816040518060600160405280602281526020016136c9602291396001600160a01b038516600090815260208190526040902054919061217b565b6001600160a01b03831660009081526020819052604090205560025461223c9082611e3e565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061186c908590613648565b6111698363a9059cbb60e01b848460405160240161229c9291906130d2565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261267a565b600260065414156122f65760405162461bcd60e51b81526004016114469061355f565b60026006556000612305611e0a565b905061230f612cf3565b6123208360005b6020020151611ed2565b8152600954604051637050ccd960e01b81526001600160a01b0390911690637050ccd9906123559030906001906004016130b7565b600060405180830381600087803b15801561236f57600080fd5b505af1158015612383573d6000803e3d6000fd5b5050600c549150600090505b818110156123ad576123a5818685876001612709565b60010161238f565b50506001600655505050565b6001600160a01b0382166123df5760405162461bcd60e51b815260040161144690613611565b6123eb60008383612653565b6002546123f89082611e19565b6002556001600160a01b03821660009081526020819052604090205461241e9082611e19565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9061186c908590613648565b61248e846323b872dd60e01b85858560405160240161229c93929190613093565b50505050565b80158061251c5750604051636eb1769f60e11b81526001600160a01b0384169063dd62ed3e906124ca9030908690600401613045565b60206040518083038186803b1580156124e257600080fd5b505afa1580156124f6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061251a9190612f61565b155b6125385760405162461bcd60e51b815260040161144690613596565b6111698363095ea7b360e01b848460405160240161229c9291906130d2565b6002600654141561257a5760405162461bcd60e51b81526004016114469061355f565b6002600655600e5460ff161561258f5761264b565b6000612599611e0a565b90506125a3612cf3565b6125ae836000612316565b81526125bb836001612316565b6020820152600954604051637050ccd960e01b81526001600160a01b0390911690637050ccd9906125f39030906001906004016130b7565b600060405180830381600087803b15801561260d57600080fd5b505af1158015612621573d6000803e3d6000fd5b5050600c549150600090505b818110156123ad57612643818685876000612709565b60010161262d565b506001600655565b604080518082019091526001600160a01b0380851682528316602082015261116990612557565b60606126cf826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612b479092919063ffffffff16565b80519091501561116957808060200190518101906126ed9190612e8e565b6111695760405162461bcd60e51b815260040161144690613515565b6000600c868154811061271857fe5b60009182526020822060059091020180546040516370a0823160e01b81529193506001600160a01b0316906370a0823190612757903090600401613031565b60206040518083038186803b15801561276f57600080fd5b505afa158015612783573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127a79190612f61565b90506000841180156127d9575060028201546000906127d7908390600160801b90046001600160801b0316611e3e565b115b1561283b5760028201546128139085906107929068056bc75e2d63100000906107dc908690600160801b90046001600160801b0316611e3e565b6002830180546001600160801b031981166001600160801b0391821693909301169190911790555b60005b6002811015612b0557600087826002811061285557fe5b60200201516001600160a01b0316141561286e57612afd565b600b546001600160a01b031687826002811061288657fe5b60200201516001600160a01b0316141561289f57612afd565b8380156128ab57508015155b156128b557612afd565b60008360030160008984600281106128c957fe5b60200201516001600160a01b03166001600160a01b031681526020019081526020016000205490508480612909575060028401546001600160801b031681105b15612afb578415612a245760028401546000906129a39061295d9068056bc75e2d631000009061079290612946906001600160801b031687611e3e565b8c886002811061295257fe5b602002015190611e66565b8660040160008c876002811061296f57fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002054611e1990919063ffffffff16565b90508015612a1e5760008560040160008b86600281106129bf57fe5b60200201516001600160a01b03166001600160a01b0316815260200190815260200160002081905550612a118984600101600281106129fa57fe5b602002015186546001600160a01b0316908361227d565b612a1b8482611e3e565b93505b50612aad565b6002840154612a7190612a5f9068056bc75e2d631000009061079290612a53906001600160801b031686611e3e565b8b876002811061295257fe5b8560040160008b866002811061296f57fe5b8460040160008a8560028110612a8357fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b6002808501546001600160801b03169060038601906000908b9086908110612ad157fe5b60200201516001600160a01b03166001600160a01b03168152602001908152602001600020819055505b505b60010161283e565b506002820154600160801b90046001600160801b03168114612b3e576002820180546001600160801b03808416600160801b0291161790555b50505050505050565b6060612b568484600085612b5e565b949350505050565b606082471015612b805760405162461bcd60e51b8152600401611446906132ba565b612b8985612c1f565b612ba55760405162461bcd60e51b8152600401611446906134de565b60006060866001600160a01b03168587604051612bc29190612f9d565b60006040518083038185875af1925050503d8060008114612bff576040519150601f19603f3d011682016040523d82523d6000602084013e612c04565b606091505b5091509150612c14828286612c25565b979650505050505050565b3b151590565b60608315612c345750816111f5565b825115612c445782518084602001fd5b8160405162461bcd60e51b8152600401611446919061314e565b604080518082019091526000808252602082015290565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612cb657805160ff1916838001178555612ce3565b82800160010185558215612ce3579182015b82811115612ce3578251825591602001919060010190612cc8565b50612cef929150612d11565b5090565b60405180604001604052806002906020820280368337509192915050565b5b80821115612cef5760008155600101612d12565b600060208284031215612d37578081fd5b81356111f5816136b3565b600060208284031215612d53578081fd5b81516111f5816136b3565b60008060408385031215612d70578081fd5b8235612d7b816136b3565b91506020830135612d8b816136b3565b809150509250929050565b600080600080600060a08688031215612dad578081fd5b8535612db8816136b3565b94506020860135612dc8816136b3565b93506040860135612dd8816136b3565b9250606086013591506080860135612def816136b3565b809150509295509295909350565b600080600060608486031215612e11578283fd5b8335612e1c816136b3565b92506020840135612e2c816136b3565b929592945050506040919091013590565b60008060408385031215612e4f578182fd5b8235612e5a816136b3565b946020939093013593505050565b600060408284031215612e79578081fd5b82604083011115612e88578081fd5b50919050565b600060208284031215612e9f578081fd5b815180151581146111f5578182fd5b600060208284031215612ebf578081fd5b815167ffffffffffffffff80821115612ed6578283fd5b818401915084601f830112612ee9578283fd5b815181811115612ef7578384fd5b604051601f8201601f191681016020018381118282101715612f17578586fd5b604052818152838201602001871015612f2e578485fd5b612f3f826020830160208701613687565b9695505050505050565b600060208284031215612f5a578081fd5b5035919050565b600060208284031215612f72578081fd5b5051919050565b60008060408385031215612f8b578182fd5b823591506020830135612d8b816136b3565b60008251612faf818460208701613687565b9190910192915050565b600066029ba30b5b2b2160cd1b82528251612fdb816007850160208701613687565b640408ce4c2f60db1b6007939091019283015250600c01919050565b60006273746b60e81b82528251613015816003850160208701613687565b6405acce4c2f60db1b6003939091019283015250600801919050565b6001600160a01b0391909116815260200190565b6001600160a01b0392831681529116602082015260400190565b6001600160a01b0394851681529290931660208301526001600160801b039081166040830152909116606082015260800190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b039290921682521515602082015260400190565b6001600160a01b03929092168252602082015260400190565b602080825282518282018190526000919060409081850190868401855b8281101561313657815180516001600160a01b03168552860151868501529284019290850190600101613108565b5091979650505050505050565b901515815260200190565b600060208252825180602084015261316d816040850160208701613687565b601f01601f19169190910160400192915050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601e908201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604082015260600190565b60208082526026908201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6040820152651c8818d85b1b60d21b606082015260800190565b6020808252601a908201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604082015260600190565b6020808252600c908201526b185b1c9958591e481a5b9a5d60a21b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526005908201526410b9b2b63360d91b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526008908201526739b43aba3237bbb760c11b604082015260600190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b6020808252601d908201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604082015260600190565b6020808252602a908201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6040820152691bdd081cdd58d8d9595960b21b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b60208082526036908201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60408201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b606082015260800190565b6020808252600b908201526a185b1c9958591e481cd95d60aa1b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9182521515602082015260400190565b92835260208301919091521515604082015260600190565b60ff91909116815260200190565b60005b838110156136a257818101518382015260200161368a565b8381111561248e5750506000910152565b6001600160a01b0381168114611bed57600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212204e59018f75e49514eb50985cd61ccc587e3215e1cd84e072fc5262fced25c77f64736f6c634300060c0033
Deployed Bytecode Sourcemap
55136:1614:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49779:2412;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;42141:97;;;:::i;:::-;;;;;;;:::i;29813:169::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;40579:30::-;;;:::i;:::-;;;;;;;:::i;43358:1782::-;;;:::i;:::-;;28766:108;;;:::i;:::-;;;;;;;:::i;30464:321::-;;;;;;:::i;:::-;;:::i;40174:91::-;;;:::i;53768:384::-;;;;;;:::i;:::-;;:::i;42355:85::-;;;:::i;:::-;;;;;;;:::i;31194:218::-;;;;;;:::i;:::-;;:::i;54205:426::-;;;;;;:::i;:::-;;:::i;49643:128::-;;;;;;:::i;:::-;;:::i;40448:25::-;;;:::i;55346:802::-;;;;;;:::i;:::-;;:::i;56156:161::-;;;;;;:::i;:::-;;:::i;40272:81::-;;;:::i;52380:353::-;;;;;;:::i;:::-;;:::i;52770:470::-;;;;;;:::i;:::-;;:::i;28937:127::-;;;;;;:::i;:::-;;:::i;42822:146::-;;;:::i;53276:444::-;;;;;;:::i;:::-;;:::i;43059:291::-;;;:::i;40890:20::-;;;:::i;40360:81::-;;;:::i;42246:101::-;;;:::i;31915:269::-;;;;;;:::i;:::-;;:::i;29277:175::-;;;;;;:::i;:::-;;:::i;40865:18::-;;;:::i;45148:95::-;;;:::i;40836:22::-;;;:::i;52199:173::-;;;;;;:::i;:::-;;:::i;40513:25::-;;;:::i;29515:151::-;;;;;;:::i;:::-;;:::i;49474:161::-;;;;;;:::i;:::-;;:::i;40545:27::-;;;:::i;40480:26::-;;;:::i;42572:242::-;;;;;;:::i;:::-;;:::i;40723:27::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;;;;:::i;42976:75::-;;;:::i;40757:52::-;;;;;;:::i;:::-;;:::i;49779:2412::-;49835:29;49877:14;49894:17;:15;:17::i;:::-;50015:7;:14;49877:34;;-1:-1:-1;50015:14:0;50052:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;50040:41;;50099:9;50094:2063;50118:11;50114:1;:15;50094:2063;;;50151:25;50179:7;50187:1;50179:10;;;;;;;;;;;;;;;;;;;;;50209:18;;;;50179:10;;-1:-1:-1;;;;;;50209:18:0;50206:361;;-1:-1:-1;;;;;50431:33:0;;;;;;:23;;;:33;;;;;;50407:12;;:58;;50431:33;50407:9;;50417:1;;50407:12;;;;;;;;;;;;:19;;;:23;;:58;;;;:::i;:::-;50385:9;50395:1;50385:12;;;;;;;;;;;;;;;;;;;:19;:80;50505:19;;50484:12;;-1:-1:-1;;;;;50505:19:0;;;;50484:9;;50494:1;;50484:12;;;;;;;;;;;;;;;;-1:-1:-1;;;;;50484:40:0;;;;;-1:-1:-1;50543:8:0;;50206:361;50683:19;;50676:52;;-1:-1:-1;;;50676:52:0;;50662:11;;-1:-1:-1;;;;;50683:19:0;;50676:37;;:52;;50722:4;;50676:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50770:23;;;;50662:66;;-1:-1:-1;50743:16:0;;50762:32;;50662:66;;-1:-1:-1;;;50770:23:0;;-1:-1:-1;;;;;50770:23:0;50762:7;:32::i;:::-;50848:18;;;;50833:56;;-1:-1:-1;;;50833:56:0;;50743:51;;-1:-1:-1;50820:70:0;;-1:-1:-1;;;;;50848:18:0;;;;50833:41;;:56;;50883:4;;50833:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;50820:8;;:12;:70::i;:::-;50919:22;;;;50809:81;;-1:-1:-1;;;;;;50919:22:0;50960:10;;50956:89;;50999:30;51022:6;50999:18;:8;51012:4;50999:12;:18::i;:::-;:22;;:30::i;:::-;50995:34;50956:89;-1:-1:-1;;;;;51127:36:0;;51061:22;51127:36;;;:26;;;:36;;;;;;51086:89;;51170:4;;51086:79;;51121:43;;:1;;:5;:43::i;:::-;51086:30;51107:8;51086:20;:30::i;:::-;:34;;:79::i;:89::-;-1:-1:-1;;;;;51236:33:0;;;;;;:23;;;:33;;;;;;51061:114;;-1:-1:-1;51212:78:0;;51236:53;;51061:114;51236:37;:53::i;:::-;51212:9;51222:1;51212:12;;;;;;;:78;51190:9;51200:1;51190:12;;;;;;;;;;;;;;;;;;;:19;:100;51326:19;;51305:12;;-1:-1:-1;;;;;51326:19:0;;;;51305:9;;51315:1;;51305:12;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51305:40:0;;;;;51504:14;51501:645;;51679:22;;;;-1:-1:-1;;;;;51679:22:0;;-1:-1:-1;51724:10:0;;51720:145;;51782:18;;;;51767:56;;-1:-1:-1;;;51767:56:0;;:78;;51838:6;;51767:66;;51828:4;;-1:-1:-1;;;;;51782:18:0;;;;51767:41;;:56;;51817:4;;51767:56;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:78::-;51763:1;:82;51759:86;;51720:145;-1:-1:-1;;;;;51941:36:0;;;;;;:26;;;:36;;;;;;51900:89;;51984:4;;51900:79;;51935:43;;:1;;:5;:43::i;51900:89::-;52038:41;;-1:-1:-1;;;52038:41:0;;51883:106;;-1:-1:-1;52038:9:0;;:25;;:41;;51883:106;;52038:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;52008:9;40698:1;52008:20;;;;;;;;;;;;;;:27;;:71;;;;;40398:42;52098:9;40698:1;52098:20;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;52098:32:0;;;;;51501:645;50094:2063;;;;;;50131:3;;50094:2063;;;;52167:16;;49779:2412;;;;:::o;42141:97::-;42220:10;42213:17;;;;;;;;-1:-1:-1;;42213:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42187:13;;42213:17;;42220:10;;42213:17;;42220:10;42213:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42141:97;:::o;29813:169::-;29896:4;29913:39;29922:12;:10;:12::i;:::-;29936:7;29945:6;29913:8;:39::i;:::-;-1:-1:-1;29970:4:0;29813:169;;;;;:::o;40579:30::-;;;-1:-1:-1;;;;;40579:30:0;;:::o;43358:1782::-;43417:10;;43444:7;:14;-1:-1:-1;;;;;43417:10:0;;;;43440:717;;43480:7;43511:198;;;;;;;;40310:42;-1:-1:-1;;;;;43511:198:0;;;;;43598:8;-1:-1:-1;;;;;43511:198:0;;;;;43646:1;-1:-1:-1;;;;;43511:198:0;;;;;43688:1;-1:-1:-1;;;;;43511:198:0;;;;43480:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43480:244:0;;;;;-1:-1:-1;;;;;43480:244:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43480:244:0;;;;;-1:-1:-1;;;;;43480:244:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43480:244:0;;;;;-1:-1:-1;;;;;43480:244:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43480:244:0;;;;;-1:-1:-1;;;;;43480:244:0;;;;;;;;43739:7;43770:200;;;;;;;;40398:42;-1:-1:-1;;;;;43770:200:0;;;;;43865:1;-1:-1:-1;;;;;43770:200:0;;;;;43907:1;-1:-1:-1;;;;;43770:200:0;;;;;43949:1;-1:-1:-1;;;;;43770:200:0;;;;43739:246;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43739:246:0;;;;;-1:-1:-1;;;;;43739:246:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43739:246:0;;;;;-1:-1:-1;;;;;43739:246:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43739:246:0;;;;;-1:-1:-1;;;;;43739:246:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43739:246:0;;;;;-1:-1:-1;;;;;43739:246:0;;;;;;;;40653:1;44035;44025:11;44000:17;:22;40310:42;-1:-1:-1;;;;;44000:22:0;-1:-1:-1;;;;;44000:22:0;;;;;;;;;;;;:36;;;;40698:1;44115;44105:11;44080:17;:22;40398:42;-1:-1:-1;;;;;44080:22:0;-1:-1:-1;;;;;44080:22:0;;;;;;;;;;;;:36;;;;43440:717;44169:18;44205:8;-1:-1:-1;;;;;44190:43:0;;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44169:66;;44251:9;44246:887;44270:10;44266:1;:14;44246:887;;;44322:40;;-1:-1:-1;;;44322:40:0;;44302:17;;-1:-1:-1;;;;;44322:37:0;;;;;:40;;44360:1;;44322:40;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44302:60;;44377:18;44413:9;-1:-1:-1;;;;;44398:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44377:60;-1:-1:-1;;;;;;44455:17:0;;40398:42;44455:17;44452:670;;;44575:9;44542:7;40698:1;44542:18;;;;;;;;;;;;;;;;;;:30;;;:42;;;;;-1:-1:-1;;;;;44542:42:0;;;;;-1:-1:-1;;;;;44542:42:0;;;;;;44452:670;;;-1:-1:-1;;;;;44608:29:0;;;;;;:17;:29;;;;;;44605:517;;44703:7;44738:255;;;;;;;;44805:9;-1:-1:-1;;;;;44790:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;44738:255:0;;;;;;;;;;;;;;;;-1:-1:-1;44738:255:0;;;;;;;;;;;;;;44703:309;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44703:309:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44703:309:0;;;-1:-1:-1;;;44703:309:0;;;;-1:-1:-1;;;;;;44703:309:0;;;;;;;;;;;;;;;;;45063:7;:14;45031:29;;;;;:17;:29;;;;;:46;44605:517;-1:-1:-1;;44282:3:0;;44246:887;;;;43358:1782;;:::o;28766:108::-;28854:12;;28766:108;:::o;30464:321::-;30570:4;30587:36;30597:6;30605:9;30616:6;30587:9;:36::i;:::-;30634:121;30643:6;30651:12;:10;:12::i;:::-;30665:89;30703:6;30665:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30665:19:0;;;;;;:11;:19;;;;;;30685:12;:10;:12::i;:::-;-1:-1:-1;;;;;30665:33:0;;;;;;;;;;;;-1:-1:-1;30665:33:0;;;:89;:37;:89::i;:::-;30634:8;:121::i;:::-;-1:-1:-1;30773:4:0;30464:321;;;;;;:::o;40174:91::-;40222:42;40174:91;:::o;53768:384::-;53890:11;;53886:204;;53918:26;53924:10;53936:7;53918:5;:26::i;:::-;53974:10;;53959:51;;-1:-1:-1;;;53959:51:0;;-1:-1:-1;;;;;53974:10:0;;;;53959:35;;:51;;53995:7;;53974:10;;53959:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54032:11:0;;54025:53;;-1:-1:-1;;;;;;54032:11:0;;-1:-1:-1;54058:10:0;54070:7;54025:32;:53::i;:::-;54117:10;-1:-1:-1;;;;;54107:37:0;;54129:7;54138:5;54107:37;;;;;;;:::i;:::-;;;;;;;;53768:384;:::o;42355:85::-;42430:2;42355:85;:::o;31194:218::-;31282:4;31299:83;31308:12;:10;:12::i;:::-;31322:7;31331:50;31370:10;31331:11;:25;31343:12;:10;:12::i;:::-;-1:-1:-1;;;;;31331:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;31331:25:0;;;:34;;;;;;;;;;;:38;:50::i;54205:426::-;54344:11;;54340:212;;54372:26;54378:10;54390:7;54372:5;:26::i;:::-;54428:10;;54413:60;;-1:-1:-1;;;54413:60:0;;-1:-1:-1;;;;;54428:10:0;;;;54413:44;;:60;;54458:7;;54428:10;;54413:60;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;54495:10:0;;54488:52;;-1:-1:-1;;;;;;54495:10:0;;-1:-1:-1;54520:10:0;54532:7;54488:31;:52::i;:::-;54597:10;-1:-1:-1;;;;;54587:36:0;;54609:7;54618:4;54587:36;;;;;;;:::i;49643:128::-;49707:7;49733:30;49754:8;49733:20;:30::i;40448:25::-;;;-1:-1:-1;;;;;40448:25:0;;:::o;55346:802::-;55506:6;;;;;;;55505:7;55497:31;;;;-1:-1:-1;;;55497:31:0;;;;;;;:::i;:::-;;;;;;;;;55539:5;:18;;;55547:10;55539:18;;-1:-1:-1;;;;;;55539:18:0;;;;;;;;;;;55573:39;;55606:5;;-1:-1:-1;;;;;55606:5:0;;-1:-1:-1;;55573:39:0;;-1:-1:-1;;55573:39:0;55677:12;-1:-1:-1;;;;;55671:24:0;;:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;55671:26:0;;;;;;;;;;;;:::i;:::-;55643:65;;;;;;;;:::i;:::-;;;;;;;;;;;;;55623:10;:86;;;;;;;;;;;;:::i;:::-;;55772:12;-1:-1:-1;;;;;55766:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;55766:28:0;;;;;;;;;;;;:::i;:::-;55742:62;;;;;;;;:::i;:::-;;;;;;;;;;;;;55720:12;:85;;;;;;;;;;;;:::i;:::-;-1:-1:-1;55816:10:0;:18;;-1:-1:-1;;55845:13:0;55816:18;55845:13;;;55869:10;:24;;-1:-1:-1;;;;;55869:24:0;;;-1:-1:-1;;;;;;55869:24:0;;;;;;;55904:11;:26;;;;;;;;;;;55941:10;:24;;;;;;;;;;;;;;;55976:12;:22;;;56103:12;:10;:12::i;:::-;56126:14;:12;:14::i;:::-;55346:802;;;;;:::o;56156:161::-;42488:5;;;;;-1:-1:-1;;;;;42488:5:0;42497:10;42488:19;42480:64;;;;-1:-1:-1;;;42480:64:0;;;;;;;:::i;:::-;56227:15:::1;::::0;-1:-1:-1;;;;;56227:15:0::1;:29:::0;56219:53:::1;;;;-1:-1:-1::0;;;56219:53:0::1;;;;;;;:::i;:::-;56285:15;:24:::0;;-1:-1:-1;;;;;;56285:24:0::1;-1:-1:-1::0;;;;;56285:24:0;;;::::1;::::0;;;::::1;::::0;;56156:161::o;40272:81::-;40310:42;40272:81;:::o;52380:353::-;52465:10;-1:-1:-1;;;;;52465:22:0;;;52457:40;;;;-1:-1:-1;;;52457:40:0;;;;;;;:::i;:::-;52683:42;;;;;;;;;-1:-1:-1;;;;;52683:42:0;;;;;;;;;;;;;:19;:42::i;:::-;52380:353;;:::o;52770:470::-;52846:10;;;;52845:11;52837:32;;;;-1:-1:-1;;;52837:32:0;;;;;;;:::i;:::-;52947:11;;52943:231;;52975:19;52981:3;52986:7;52975:5;:19::i;:::-;53016:10;;53009:71;;-1:-1:-1;;;;;53016:10:0;53045;53065:4;53072:7;53009:35;:71::i;:::-;53134:12;;53095:67;;-1:-1:-1;;;53095:67:0;;40222:42;;53095:38;;:67;;53134:12;53148:7;;53157:4;;53095:67;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;52943:231;53213:3;-1:-1:-1;;;;;53191:41:0;53201:10;-1:-1:-1;;;;;53191:41:0;;53218:7;53227:4;53191:41;;;;;;;:::i;:::-;;;;;;;;52770:470;;:::o;28937:127::-;-1:-1:-1;;;;;29038:18:0;29011:7;29038:18;;;;;;;;;;;;28937:127::o;42822:146::-;42488:5;;;;;-1:-1:-1;;;;;42488:5:0;42497:10;42488:19;42480:64;;;;-1:-1:-1;;;42480:64:0;;;;;;;:::i;:::-;42913:5:::1;::::0;42892:39:::1;::::0;42928:1:::1;::::0;42913:5;;::::1;-1:-1:-1::0;;;;;42913:5:0::1;::::0;42892:39:::1;::::0;42928:1;;42892:39:::1;42942:5;:18:::0;;-1:-1:-1;;;;;;42942:18:0::1;::::0;;42822:146::o;53276:444::-;53350:10;;;;53349:11;53341:32;;;;-1:-1:-1;;;53341:32:0;;;;;;;:::i;:::-;53451:11;;53447:206;;53479:19;53485:3;53490:7;53479:5;:19::i;:::-;53520:11;;53513:72;;-1:-1:-1;;;;;53520:11:0;53550:10;53570:4;53577:7;53513:36;:72::i;:::-;53615:10;;53600:41;;-1:-1:-1;;;53600:41:0;;-1:-1:-1;;;;;53615:10:0;;;;53600:32;;:41;;53633:7;;53600:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53447:206;53692:3;-1:-1:-1;;;;;53670:42:0;53680:10;-1:-1:-1;;;;;53670:42:0;;53697:7;53706:5;53670:42;;;;;;;:::i;43059:291::-;43108:10;;43101:48;;-1:-1:-1;;;;;43108:10:0;40222:42;43147:1;43101:30;:48::i;:::-;43167:10;;43160:58;;-1:-1:-1;;;;;43167:10:0;40222:42;-1:-1:-1;;43160:30:0;:58::i;:::-;43261:10;;43236:11;;43229:46;;-1:-1:-1;;;;;43236:11:0;;;;43261:10;;43229:31;:46::i;:::-;43318:10;;43293:11;;43286:56;;-1:-1:-1;;;;;43293:11:0;;;;43318:10;-1:-1:-1;;43286:31:0;:56::i;:::-;43059:291::o;40890:20::-;;;;;;-1:-1:-1;;;;;40890:20:0;;:::o;40360:81::-;40398:42;40360:81;:::o;42246:101::-;42327:12;42320:19;;;;;;;;-1:-1:-1;;42320:19:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42294:13;;42320:19;;42327:12;;42320:19;;42327:12;42320:19;;;;;;;;;;;;;;;;;;;;;;;;31915:269;32008:4;32025:129;32034:12;:10;:12::i;:::-;32048:7;32057:96;32096:15;32057:96;;;;;;;;;;;;;;;;;:11;:25;32069:12;:10;:12::i;:::-;-1:-1:-1;;;;;32057:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;32057:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;29277:175::-;29363:4;29380:42;29390:12;:10;:12::i;:::-;29404:9;29415:6;29380:9;:42::i;40865:18::-;;;;;;;;;:::o;45148:95::-;45221:7;:14;45148:95;:::o;40836:22::-;;;;;;:::o;52199:173::-;52323:41;;;;;;;;;-1:-1:-1;;;;;52323:41:0;;;;;;;;;;;:19;:41::i;:::-;52199:173;:::o;40513:25::-;;;-1:-1:-1;;;;;40513:25:0;;:::o;29515:151::-;-1:-1:-1;;;;;29631:18:0;;;29604:7;29631:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;29515:151::o;49474:161::-;49547:4;49564:41;;;;;;;;;49577:9;49587:1;49577:12;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;49564:41:0;;;;;;;;49591:12;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;49564:41:0;;;:11;:41::i;:::-;-1:-1:-1;49623:4:0;49474:161;;;:::o;40545:27::-;;;;:::o;40480:26::-;;;-1:-1:-1;;;;;40480:26:0;;:::o;42572:242::-;42488:5;;;;;-1:-1:-1;;;;;42488:5:0;42497:10;42488:19;42480:64;;;;-1:-1:-1;;;42480:64:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;42661:22:0;::::1;42653:73;;;;-1:-1:-1::0;;;42653:73:0::1;;;;;;;:::i;:::-;42763:5;::::0;42742:37:::1;::::0;-1:-1:-1;;;;;42742:37:0;;::::1;::::0;42763:5;;::::1;;::::0;42742:37:::1;::::0;;;::::1;42790:5;:16:::0;;-1:-1:-1;;;;;42790:16:0;;::::1;::::0;::::1;-1:-1:-1::0;;;;;;42790:16:0;;::::1;::::0;;;::::1;::::0;;42572:242::o;40723:27::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40723:27:0;;;;-1:-1:-1;40723:27:0;;;-1:-1:-1;;;;;40723:27:0;;;;-1:-1:-1;;;40723:27:0;;;;:::o;42976:75::-;42488:5;;;;;-1:-1:-1;;;;;42488:5:0;42497:10;42488:19;42480:64;;;;-1:-1:-1;;;42480:64:0;;;;;;;:::i;:::-;43026:10:::1;:17:::0;;-1:-1:-1;;43026:17:0::1;43039:4;43026:17;::::0;;42976:75::o;40757:52::-;;;;;;;;;;;;;:::o;45541:178::-;45598:7;45698:13;:11;:13::i;:::-;45691:20;;45541:178;:::o;5291:179::-;5349:7;5381:5;;;5405:6;;;;5397:46;;;;-1:-1:-1;;;5397:46:0;;;;;;;:::i;5753:158::-;5811:7;5844:1;5839;:6;;5831:49;;;;-1:-1:-1;;;5831:49:0;;;;;;;:::i;:::-;-1:-1:-1;5898:5:0;;;5753:158::o;6170:220::-;6228:7;6252:6;6248:20;;-1:-1:-1;6267:1:0;6260:8;;6248:20;6291:5;;;6295:1;6291;:5;:1;6315:5;;;;;:10;6307:56;;;;-1:-1:-1;;;6307:56:0;;;;;;;:::i;6868:153::-;6926:7;6958:1;6954;:5;6946:44;;;;-1:-1:-1;;;6946:44:0;;;;;;;:::i;:::-;7012:1;7008;:5;;;;;;;6868:153;-1:-1:-1;;;6868:153:0:o;56325:422::-;56404:7;-1:-1:-1;;;;;56428:22:0;;;;:53;;-1:-1:-1;56466:15:0;;-1:-1:-1;;;;;56454:27:0;;;56466:15;;56454:27;56428:53;56424:94;;;-1:-1:-1;56505:1:0;56498:8;;56424:94;56562:15;;56530:18;;-1:-1:-1;;;;;56562:15:0;:29;56559:126;;56629:15;;56619:54;;-1:-1:-1;;;56619:54:0;;-1:-1:-1;;;;;56629:15:0;;;;56619:44;;:54;;56664:8;;56619:54;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56606:67;;56559:126;56704:35;56728:10;56704:19;56714:8;56704:9;:19::i;:::-;:23;;:35::i;25155:106::-;25243:10;25155:106;:::o;35062:346::-;-1:-1:-1;;;;;35164:19:0;;35156:68;;;;-1:-1:-1;;;35156:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;35243:21:0;;35235:68;;;;-1:-1:-1;;;35235:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;35316:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;;:36;;;35368:32;;;;;35346:6;;35368:32;:::i;:::-;;;;;;;;35062:346;;;:::o;32674:539::-;-1:-1:-1;;;;;32780:20:0;;32772:70;;;;-1:-1:-1;;;32772:70:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;32861:23:0;;32853:71;;;;-1:-1:-1;;;32853:71:0;;;;;;;:::i;:::-;32937:47;32958:6;32966:9;32977:6;32937:20;:47::i;:::-;33017:71;33039:6;33017:71;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;33017:17:0;;:9;:17;;;;;;;;;;;;:71;:21;:71::i;:::-;-1:-1:-1;;;;;32997:17:0;;;:9;:17;;;;;;;;;;;:91;;;;33122:20;;;;;;;:32;;33147:6;33122:24;:32::i;:::-;-1:-1:-1;;;;;33099:20:0;;;:9;:20;;;;;;;;;;;;:55;;;;33170:35;;;;;;;;;;33198:6;;33170:35;:::i;8118:166::-;8204:7;8240:12;8232:6;;;;8224:29;;;;-1:-1:-1;;;8224:29:0;;;;;;;;:::i;:::-;-1:-1:-1;;;8271:5:0;;;8118:166::o;34206:418::-;-1:-1:-1;;;;;34290:21:0;;34282:67;;;;-1:-1:-1;;;34282:67:0;;;;;;;:::i;:::-;34362:49;34383:7;34400:1;34404:6;34362:20;:49::i;:::-;34445:68;34468:6;34445:68;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;34445:18:0;;:9;:18;;;;;;;;;;;;:68;:22;:68::i;:::-;-1:-1:-1;;;;;34424:18:0;;:9;:18;;;;;;;;;;:89;34539:12;;:24;;34556:6;34539:16;:24::i;:::-;34524:12;:39;34579:37;;34605:1;;-1:-1:-1;;;;;34579:37:0;;;;;;;34609:6;;34579:37;:::i;21450:177::-;21533:86;21553:5;21583:23;;;21608:2;21612:5;21560:58;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;21560:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;21560:58:0;-1:-1:-1;;;;;;21560:58:0;;;;;;;;;;21533:19;:86::i;48933:533::-;38288:1;38894:7;;:19;;38886:63;;;;-1:-1:-1;;;38886:63:0;;;;;;;:::i;:::-;38288:1;39027:7;:18;49025:14:::1;49042:17;:15;:17::i;:::-;49025:34;;49070;;:::i;:::-;49137;49158:9:::0;49168:1:::1;49158:12;;;;;49137:20;:34::i;:::-;49115:56:::0;;49228:10:::1;::::0;49213:57:::1;::::0;-1:-1:-1;;;49213:57:0;;-1:-1:-1;;;;;49228:10:0;;::::1;::::0;49213:36:::1;::::0;:57:::1;::::0;49258:4:::1;::::0;49228:10;;49213:57:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;49305:7:0::1;:14:::0;;-1:-1:-1;49283:19:0::1;::::0;-1:-1:-1;49330:129:0::1;49354:11;49350:1;:15;49330:129;;;49386:61;49406:1;49408:9;49418:16;49435:6;49442:4;49386:19;:61::i;:::-;49367:3;;49330:129;;;-1:-1:-1::0;;38244:1:0;39206:7;:22;-1:-1:-1;;;48933:533:0:o;33495:378::-;-1:-1:-1;;;;;33579:21:0;;33571:65;;;;-1:-1:-1;;;33571:65:0;;;;;;;:::i;:::-;33649:49;33678:1;33682:7;33691:6;33649:20;:49::i;:::-;33726:12;;:24;;33743:6;33726:16;:24::i;:::-;33711:12;:39;-1:-1:-1;;;;;33782:18:0;;:9;:18;;;;;;;;;;;:30;;33805:6;33782:22;:30::i;:::-;-1:-1:-1;;;;;33761:18:0;;:9;:18;;;;;;;;;;;:51;;;;33828:37;;33761:18;;:9;33828:37;;;;33858:6;;33828:37;:::i;21635:205::-;21736:96;21756:5;21786:27;;;21815:4;21821:2;21825:5;21763:68;;;;;;;;;;:::i;21736:96::-;21635:205;;;;:::o;22109:622::-;22479:10;;;22478:62;;-1:-1:-1;22495:39:0;;-1:-1:-1;;;22495:39:0;;-1:-1:-1;;;;;22495:15:0;;;;;:39;;22519:4;;22526:7;;22495:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;22478:62;22470:152;;;;-1:-1:-1;;;22470:152:0;;;;;;;:::i;:::-;22633:90;22653:5;22683:22;;;22707:7;22716:5;22660:62;;;;;;;;;:::i;48249:676::-;38288:1;38894:7;;:19;;38886:63;;;;-1:-1:-1;;;38886:63:0;;;;;;;:::i;:::-;38288:1;39027:7;:18;48406:10:::1;::::0;::::1;;48403:22;;;48418:7;;48403:22;48437:14;48454:17;:15;:17::i;:::-;48437:34;;48482;;:::i;:::-;48549;48570:9:::0;48580:1:::1;48570:12;::::0;48549:34:::1;48527:56:::0;;48616:34:::1;48637:9:::0;48647:1:::1;48637:12;::::0;48616:34:::1;48594:19;::::0;::::1;:56:::0;48686:10:::1;::::0;48671:57:::1;::::0;-1:-1:-1;;;48671:57:0;;-1:-1:-1;;;;;48686:10:0;;::::1;::::0;48671:36:::1;::::0;:57:::1;::::0;48716:4:::1;::::0;48611:1:::1;::::0;48671:57:::1;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;48763:7:0::1;:14:::0;;-1:-1:-1;48741:19:0::1;::::0;-1:-1:-1;48788:130:0::1;48812:11;48808:1;:15;48788:130;;;48844:62;48864:1;48866:9;48876:16;48893:6;48900:5;48844:19;:62::i;:::-;48825:3;;48788:130;;39058:1;-1:-1:-1::0;38244:1:0;39206:7;:22;48249:676::o;54639:137::-;54743:25;;;;;;;;;-1:-1:-1;;;;;54743:25:0;;;;;;;;;;;;;:11;:25::i;23755:761::-;24179:23;24205:69;24233:4;24205:69;;;;;;;;;;;;;;;;;24213:5;-1:-1:-1;;;;;24205:27:0;;;:69;;;;;:::i;:::-;24289:17;;24179:95;;-1:-1:-1;24289:21:0;24285:224;;24431:10;24420:30;;;;;;;;;;;;:::i;:::-;24412:85;;;;-1:-1:-1;;;24412:85:0;;;;;;;:::i;45727:2514::-;45882:25;45910:7;45918:6;45910:15;;;;;;;;;;;;;;;;;;;;46126:19;;46119:52;;-1:-1:-1;;;46119:52:0;;45910:15;;-1:-1:-1;;;;;;46126:19:0;;46119:37;;:52;;46165:4;;46119:52;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;46105:66;;46263:1;46253:7;:11;:51;;;;-1:-1:-1;46276:23:0;;;;46303:1;;46268:32;;:3;;-1:-1:-1;;;46276:23:0;;-1:-1:-1;;;;;46276:23:0;46268:7;:32::i;:::-;:36;46253:51;46249:198;;;46387:23;;;;46379:55;;46426:7;;46379:42;;46416:4;;46379:32;;:3;;-1:-1:-1;;;46387:23:0;;-1:-1:-1;;;;;46387:23:0;46379:7;:32::i;:55::-;46346:22;;;;;-1:-1:-1;;;;;;46321:114:0;;-1:-1:-1;;;;;46346:22:0;;;:89;;;;46321:114;;;;;;;46249:198;46497:9;46492:1546;46516:16;46512:1;:20;46492:1546;;;46630:1;46606:9;46616:1;46606:12;;;;;;;;;;;-1:-1:-1;;;;;46606:26:0;;46602:40;;;46634:8;;46602:40;46677:15;;-1:-1:-1;;;;;46677:15:0;46661:9;46671:1;46661:12;;;;;;;;;;;-1:-1:-1;;;;;46661:31:0;;46657:45;;;46694:8;;46657:45;46720:8;:18;;;;-1:-1:-1;46732:6:0;;;46720:18;46717:31;;;46740:8;;46717:31;46832:10;46845:6;:26;;:40;46872:9;46882:1;46872:12;;;;;;;;;;;-1:-1:-1;;;;;46845:40:0;-1:-1:-1;;;;;46845:40:0;;;;;;;;;;;;;46832:53;;46903:8;:42;;;-1:-1:-1;46923:22:0;;;;-1:-1:-1;;;;;46923:22:0;46915:30;;46903:42;46900:1127;;;46968:8;46965:963;;;47090:22;;;;47000:19;;47022:114;;47064:71;;47130:4;;47064:61;;47082:42;;-1:-1:-1;;;;;47090:22:0;47118:5;47082:35;:42::i;:::-;47064:9;47074:1;47064:12;;;;;;;;;;;;:16;:61::i;:71::-;47022:6;:23;;:37;47046:9;47056:1;47046:12;;;;;;;;;;;-1:-1:-1;;;;;47022:37:0;-1:-1:-1;;;;;47022:37:0;;;;;;;;;;;;;:41;;:114;;;;:::i;:::-;47000:136;-1:-1:-1;47162:15:0;;47159:549;;47245:1;47205:6;:23;;:37;47229:9;47239:1;47229:12;;;;;;;;;;;-1:-1:-1;;;;;47205:37:0;-1:-1:-1;;;;;47205:37:0;;;;;;;;;;;;:41;;;;47562:69;47603:9;47613:1;47615;47613:3;47603:14;;;;;;;;;;;47569:19;;-1:-1:-1;;;;;47569:19:0;;47619:11;47562:40;:69::i;:::-;47664:20;:3;47672:11;47664:7;:20::i;:::-;47658:26;;47159:549;46965:963;;;;47862:22;;;;47794:114;;47836:71;;47902:4;;47836:61;;47854:42;;-1:-1:-1;;;;;47862:22:0;47890:5;47854:35;:42::i;:::-;47836:9;47846:1;47836:12;;;;;;:71;47794:6;:23;;:37;47818:9;47828:1;47818:12;;;;;;47794:114;47754:6;:23;;:37;47778:9;47788:1;47778:12;;;;;;;;;;;-1:-1:-1;;;;;47754:37:0;-1:-1:-1;;;;;47754:37:0;;;;;;;;;;;;:154;;;;46965:963;47989:22;;;;;-1:-1:-1;;;;;47989:22:0;;47946:26;;;;47989:22;;47973:9;;47983:1;;47973:12;;;;;;;;;;-1:-1:-1;;;;;47946:40:0;-1:-1:-1;;;;;47946:40:0;;;;;;;;;;;;:65;;;;46900:1127;46492:1546;;46534:3;;46492:1546;;;-1:-1:-1;48145:23:0;;;;-1:-1:-1;;;48145:23:0;;-1:-1:-1;;;;;48145:23:0;48138:30;;48135:99;;48184:23;;;:38;;-1:-1:-1;;;;;48184:38:0;;;-1:-1:-1;;;48184:38:0;;;;;;48135:99;45727:2514;;;;;;;:::o;16451:195::-;16554:12;16586:52;16608:6;16616:4;16622:1;16625:12;16586:21;:52::i;:::-;16579:59;16451:195;-1:-1:-1;;;;16451:195:0:o;17503:530::-;17630:12;17688:5;17663:21;:30;;17655:81;;;;-1:-1:-1;;;17655:81:0;;;;;;;:::i;:::-;17755:18;17766:6;17755:10;:18::i;:::-;17747:60;;;;-1:-1:-1;;;17747:60:0;;;;;;;:::i;:::-;17881:12;17895:23;17922:6;-1:-1:-1;;;;;17922:11:0;17942:5;17950:4;17922:33;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17880:75;;;;17973:52;17991:7;18000:10;18012:12;17973:17;:52::i;:::-;17966:59;17503:530;-1:-1:-1;;;;;;;17503:530:0:o;13533:422::-;13900:20;13939:8;;;13533:422::o;20043:742::-;20158:12;20187:7;20183:595;;;-1:-1:-1;20218:10:0;20211:17;;20183:595;20332:17;;:21;20328:439;;20595:10;20589:17;20656:15;20643:10;20639:2;20635:19;20628:44;20543:148;20738:12;20731:20;;-1:-1:-1;;;20731:20:0;;;;;;;;:::i;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;1352:241;;1456:2;1444:9;1435:7;1431:23;1427:32;1424:2;;;-1:-1;;1462:12;1424:2;85:6;72:20;97:33;124:5;97:33;:::i;1600:263::-;;1715:2;1703:9;1694:7;1690:23;1686:32;1683:2;;;-1:-1;;1721:12;1683:2;226:6;220:13;238:33;265:5;238:33;:::i;1870:366::-;;;1991:2;1979:9;1970:7;1966:23;1962:32;1959:2;;;-1:-1;;1997:12;1959:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2049:63;-1:-1;2149:2;2188:22;;72:20;97:33;72:20;97:33;:::i;:::-;2157:63;;;;1953:283;;;;;:::o;2243:743::-;;;;;;2415:3;2403:9;2394:7;2390:23;2386:33;2383:2;;;-1:-1;;2422:12;2383:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;2474:63;-1:-1;2574:2;2613:22;;72:20;97:33;72:20;97:33;:::i;:::-;2582:63;-1:-1;2682:2;2721:22;;72:20;97:33;72:20;97:33;:::i;:::-;2690:63;-1:-1;2790:2;2829:22;;1141:20;;-1:-1;2898:3;2938:22;;72:20;97:33;72:20;97:33;:::i;:::-;2907:63;;;;2377:609;;;;;;;;:::o;2993:491::-;;;;3131:2;3119:9;3110:7;3106:23;3102:32;3099:2;;;-1:-1;;3137:12;3099:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;3189:63;-1:-1;3289:2;3328:22;;72:20;97:33;72:20;97:33;:::i;:::-;3093:391;;3297:63;;-1:-1;;;3397:2;3436:22;;;;1141:20;;3093:391::o;3491:366::-;;;3612:2;3600:9;3591:7;3587:23;3583:32;3580:2;;;-1:-1;;3618:12;3580:2;85:6;72:20;97:33;124:5;97:33;:::i;:::-;3670:63;3770:2;3809:22;;;;1141:20;;-1:-1;;;3574:283::o;3864:291::-;;3993:2;3981:9;3972:7;3968:23;3964:32;3961:2;;;-1:-1;;3999:12;3961:2;451:3;3993:2;423:8;419:30;416:39;413:2;;;-1:-1;;458:12;413:2;-1:-1;4051:88;3955:200;-1:-1;3955:200::o;4162:257::-;;4274:2;4262:9;4253:7;4249:23;4245:32;4242:2;;;-1:-1;;4280:12;4242:2;567:6;561:13;37217:5;36189:13;36182:21;37195:5;37192:32;37182:2;;-1:-1;;37228:12;4426:362;;4551:2;4539:9;4530:7;4526:23;4522:32;4519:2;;;-1:-1;;4557:12;4519:2;4608:17;4602:24;4646:18;;4638:6;4635:30;4632:2;;;-1:-1;;4668:12;4632:2;4755:6;4744:9;4740:22;;;735:3;728:4;720:6;716:17;712:27;702:2;;-1:-1;;743:12;702:2;783:6;777:13;4646:18;34380:6;34377:30;34374:2;;;-1:-1;;34410:12;34374:2;34043;34037:9;34483;34464:17;;-1:-1;;34460:33;34069:17;;4551:2;34069:17;34129:34;;;34165:22;;;34126:62;34123:2;;;-1:-1;;34191:12;34123:2;34043;34210:22;876:21;;;976:16;;;4551:2;976:16;973:25;-1:-1;970:2;;;-1:-1;;1001:12;970:2;1021:39;1053:6;4551:2;952:5;948:16;4551:2;918:6;914:17;1021:39;:::i;:::-;4688:84;4513:275;-1:-1;;;;;;4513:275::o;4795:241::-;;4899:2;4887:9;4878:7;4874:23;4870:32;4867:2;;;-1:-1;;4905:12;4867:2;-1:-1;1141:20;;4861:175;-1:-1;4861:175::o;5043:263::-;;5158:2;5146:9;5137:7;5133:23;5129:32;5126:2;;;-1:-1;;5164:12;5126:2;-1:-1;1289:13;;5120:186;-1:-1;5120:186::o;5313:366::-;;;5434:2;5422:9;5413:7;5409:23;5405:32;5402:2;;;-1:-1;;5440:12;5402:2;1154:6;1141:20;5492:63;;5592:2;5635:9;5631:22;72:20;97:33;124:5;97:33;:::i;18452:271::-;;7496:5;34890:12;7607:52;7652:6;7647:3;7640:4;7633:5;7629:16;7607:52;:::i;:::-;7671:16;;;;;18586:137;-1:-1;;18586:137::o;18730:809::-;;-1:-1;;;10871:11;10864:30;7496:5;34890:12;7607:52;7652:6;10849:1;10917:3;10913:11;7640:4;7633:5;7629:16;7607:52;:::i;:::-;-1:-1;;;10849:1;7671:16;;;;;;;10177:28;-1:-1;10224:11;;;19068:471;-1:-1;19068:471::o;19546:809::-;;-1:-1;;;14404:11;14397:26;7496:5;34890:12;7607:52;7652:6;14382:1;14446:3;14442:11;7640:4;7633:5;7629:16;7607:52;:::i;:::-;-1:-1;;;14382:1;7671:16;;;;;;;11933:28;-1:-1;11980:11;;;19884:471;-1:-1;19884:471::o;20362:222::-;-1:-1;;;;;36397:54;;;;6041:37;;20489:2;20474:18;;20460:124::o;20591:333::-;-1:-1;;;;;36397:54;;;6041:37;;36397:54;;20910:2;20895:18;;6041:37;20746:2;20731:18;;20717:207::o;20931:556::-;-1:-1;;;;;36397:54;;;6041:37;;36397:54;;;;21307:2;21292:18;;6041:37;-1:-1;;;;;36277:46;;;21390:2;21375:18;;17931:37;36277:46;;;21473:2;21458:18;;17931:37;21142:3;21127:19;;21113:374::o;21494:444::-;-1:-1;;;;;36397:54;;;6041:37;;36397:54;;;;21841:2;21826:18;;6041:37;21924:2;21909:18;;18041:37;;;;21677:2;21662:18;;21648:290::o;21945:321::-;-1:-1;;;;;36397:54;;;;6041:37;;36189:13;36182:21;22252:2;22237:18;;7290:34;22094:2;22079:18;;22065:201::o;22273:333::-;-1:-1;;;;;36397:54;;;;6041:37;;22592:2;22577:18;;18041:37;22428:2;22413:18;;22399:207::o;22613:482::-;22846:2;22860:47;;;34890:12;;22831:18;;;35478:19;;;22613:482;;22846:2;35518:14;;;;;;34716;;;22613:482;6851:344;6876:6;6873:1;6870:13;6851:344;;;6937:13;;17584:23;;-1:-1;;;;;36397:54;6041:37;;17746:16;;17740:23;17817:14;;;18041:37;5952:14;;;;35305;;;;4646:18;6891:9;6851:344;;;-1:-1;22913:172;;22817:278;-1:-1;;;;;;;22817:278::o;23102:210::-;36189:13;;36182:21;7290:34;;23223:2;23208:18;;23194:118::o;23319:310::-;;23466:2;23487:17;23480:47;7844:5;34890:12;35490:6;23466:2;23455:9;23451:18;35478:19;7938:52;7983:6;35518:14;23455:9;35518:14;23466:2;7964:5;7960:16;7938:52;:::i;:::-;34483:9;36975:14;-1:-1;;36971:28;8002:39;;;;35518:14;8002:39;;23437:192;-1:-1;;23437:192::o;23636:416::-;23836:2;23850:47;;;8645:2;23821:18;;;35478:19;8681:34;35518:14;;;8661:55;-1:-1;;;8736:12;;;8729:27;8775:12;;;23807:245::o;24059:416::-;24259:2;24273:47;;;9026:2;24244:18;;;35478:19;9062:34;35518:14;;;9042:55;-1:-1;;;9117:12;;;9110:30;9159:12;;;24230:245::o;24482:416::-;24682:2;24696:47;;;9410:2;24667:18;;;35478:19;9446:34;35518:14;;;9426:55;-1:-1;;;9501:12;;;9494:26;9539:12;;;24653:245::o;24905:416::-;25105:2;25119:47;;;9790:2;25090:18;;;35478:19;9826:29;35518:14;;;9806:50;9875:12;;;25076:245::o;25328:416::-;25528:2;25542:47;;;10474:2;25513:18;;;35478:19;10510:32;35518:14;;;10490:53;10562:12;;;25499:245::o;25751:416::-;25951:2;25965:47;;;11163:2;25936:18;;;35478:19;11199:34;35518:14;;;11179:55;-1:-1;;;11254:12;;;11247:30;11296:12;;;25922:245::o;26174:416::-;26374:2;26388:47;;;11547:2;26359:18;;;35478:19;11583:28;35518:14;;;11563:49;11631:12;;;26345:245::o;26597:416::-;26797:2;26811:47;;;12230:2;26782:18;;;35478:19;-1:-1;;;35518:14;;;12246:35;12300:12;;;26768:245::o;27020:416::-;27220:2;27234:47;;;12551:2;27205:18;;;35478:19;12587:34;35518:14;;;12567:55;-1:-1;;;12642:12;;;12635:25;12679:12;;;27191:245::o;27443:416::-;27643:2;27657:47;;;27628:18;;;35478:19;12966:34;35518:14;;;12946:55;13020:12;;;27614:245::o;27866:416::-;28066:2;28080:47;;;13271:1;28051:18;;;35478:19;-1:-1;;;35518:14;;;13286:28;13333:12;;;28037:245::o;28289:416::-;28489:2;28503:47;;;13584:2;28474:18;;;35478:19;13620:34;35518:14;;;13600:55;-1:-1;;;13675:12;;;13668:25;13712:12;;;28460:245::o;28712:416::-;28912:2;28926:47;;;13963:2;28897:18;;;35478:19;13999:34;35518:14;;;13979:55;-1:-1;;;14054:12;;;14047:29;14095:12;;;28883:245::o;29135:416::-;29335:2;29349:47;;;14692:1;29320:18;;;35478:19;-1:-1;;;35518:14;;;14707:31;14757:12;;;29306:245::o;29558:416::-;29758:2;29772:47;;;15008:2;29743:18;;;35478:19;15044:34;35518:14;;;15024:55;-1:-1;;;15099:12;;;15092:28;15139:12;;;29729:245::o;29981:416::-;30181:2;30195:47;;;15390:2;30166:18;;;35478:19;15426:31;35518:14;;;15406:52;15477:12;;;30152:245::o;30404:416::-;30604:2;30618:47;;;15728:2;30589:18;;;35478:19;15764:34;35518:14;;;15744:55;-1:-1;;;15819:12;;;15812:34;15865:12;;;30575:245::o;30827:416::-;31027:2;31041:47;;;16116:2;31012:18;;;35478:19;16152:33;35518:14;;;16132:54;16205:12;;;30998:245::o;31250:416::-;31450:2;31464:47;;;16456:2;31435:18;;;35478:19;16492:34;35518:14;;;16472:55;-1:-1;;;16547:12;;;16540:46;16605:12;;;31421:245::o;31673:416::-;31873:2;31887:47;;;16856:2;31858:18;;;35478:19;-1:-1;;;35518:14;;;16872:34;16925:12;;;31844:245::o;32096:416::-;32296:2;32310:47;;;17176:2;32281:18;;;35478:19;17212:33;35518:14;;;17192:54;17265:12;;;32267:245::o;32519:238::-;18041:37;;;32654:2;32639:18;;32625:132::o;32993:321::-;18041:37;;;36189:13;36182:21;33300:2;33285:18;;7290:34;33142:2;33127:18;;33113:201::o;33321:432::-;18041:37;;;33662:2;33647:18;;18041:37;;;;36189:13;36182:21;33739:2;33724:18;;7290:34;33498:2;33483:18;;33469:284::o;33760:214::-;36613:4;36602:16;;;;18405:35;;33883:2;33868:18;;33854:120::o;36631:268::-;36696:1;36703:101;36717:6;36714:1;36711:13;36703:101;;;36784:11;;;36778:18;36765:11;;;36758:39;36739:2;36732:10;36703:101;;;36819:6;36816:1;36813:13;36810:2;;;-1:-1;;36696:1;36866:16;;36859:27;36680:219::o;37012:117::-;-1:-1;;;;;36397:54;;37071:35;;37061:2;;37120:1;;37110:12
Swarm Source
ipfs://4e59018f75e49514eb50985cd61ccc587e3215e1cd84e072fc5262fced25c77f
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.