Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 746 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 18824302 | 324 days ago | IN | 0 ETH | 0.00500224 | ||||
Withdraw | 18729116 | 337 days ago | IN | 0 ETH | 0.01065832 | ||||
Withdraw | 18689744 | 342 days ago | IN | 0 ETH | 0.00529958 | ||||
Withdraw | 18652003 | 348 days ago | IN | 0 ETH | 0.00280481 | ||||
Withdraw | 18652001 | 348 days ago | IN | 0 ETH | 0.00155189 | ||||
Deposit | 18651999 | 348 days ago | IN | 0 ETH | 0.00237201 | ||||
Withdraw | 18634900 | 350 days ago | IN | 0 ETH | 0.00600057 | ||||
Withdraw | 18564727 | 360 days ago | IN | 0 ETH | 0.00869087 | ||||
Withdraw | 18561466 | 360 days ago | IN | 0 ETH | 0.00538989 | ||||
Deposit | 17887429 | 455 days ago | IN | 0 ETH | 0.00396126 | ||||
Withdraw | 17887421 | 455 days ago | IN | 0 ETH | 0.00130125 | ||||
Deposit | 17887421 | 455 days ago | IN | 0 ETH | 0.00240132 | ||||
Deposit | 17699234 | 481 days ago | IN | 0 ETH | 0.00178437 | ||||
Deposit | 17658657 | 487 days ago | IN | 0 ETH | 0.00280857 | ||||
Deposit | 17558694 | 501 days ago | IN | 0 ETH | 0.00243025 | ||||
Withdraw | 17236078 | 546 days ago | IN | 0 ETH | 0.01526013 | ||||
Withdraw | 17100777 | 565 days ago | IN | 0 ETH | 0.0066095 | ||||
Withdraw | 16806860 | 607 days ago | IN | 0 ETH | 0.00723647 | ||||
Deposit | 16806828 | 607 days ago | IN | 0 ETH | 0.00567076 | ||||
Withdraw | 16730046 | 618 days ago | IN | 0 ETH | 0.00321518 | ||||
Withdraw | 16730040 | 618 days ago | IN | 0 ETH | 0.00314725 | ||||
Withdraw | 16445465 | 657 days ago | IN | 0 ETH | 0.00312102 | ||||
Withdraw | 16397085 | 664 days ago | IN | 0 ETH | 0.0027458 | ||||
Withdraw | 16388520 | 665 days ago | IN | 0 ETH | 0.00336859 | ||||
Deposit | 16388511 | 665 days ago | IN | 0 ETH | 0.00260774 |
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:
FriesDAOStakingPool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-03-06 */ // SPDX-License-Identifier: MIT pragma solidity 0.6.12; /** * @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; } } /** * @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); } /** * @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"); } } } /** * @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); } } } } // Note that this pool has no minter key of KCHUP (rewards). // Instead, the governance will call KCHUP distributeReward method and send reward to this pool at the beginning. contract FriesDAOStakingPool { using SafeMath for uint256; using SafeERC20 for IERC20; // governance address public operator; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. } // Info of each pool. struct PoolInfo { IERC20 token; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. Kchups to distribute in the pool. uint256 lastRewardTime; // Last time that Kchups distribution occurred. uint256 accKchupPerShare; // Accumulated Kchups per share, times 1e18. See below. bool isStarted; // if lastRewardTime has passed } IERC20 public kchup; // Info of each pool. PoolInfo[] public poolInfo; // Info of each user that stakes LP tokens. mapping(uint256 => mapping(address => UserInfo)) public userInfo; // Total allocation points. Must be the sum of all allocation points in all pools. uint256 public totalAllocPoint = 0; // The time when KCHUP mining starts. uint256 public poolStartTime; uint256[] public epochTotalRewards = [ 49521739.29 ether, 45888889.29 ether, 42528503.04 ether, 39420145.76 ether, 36544915.27 ether, 33885327.07 ether, 31425207.99 ether, 29149597.84 ether, 27044658.44 ether, 25097589.51 ether, 23296550.74 ether, 21630589.88 ether, 20089576.09 ether, 18664138.33 ether, 17345608.40 ether, 16125968.22 ether, 14997801.05 ether, 13954246.41 ether, 12988958.38 ether, 12096066.95 ether, 11270142.37 ether, 10506162.14 ether, 9799480.43 ether, 9145799.84 ether, 8541145.30 ether, 7981839.85 ether, 7464482.31 ether, 6985926.58 ether, 6543262.53 ether, 6133798.29 ether, 5755043.86 ether, 5404696.02 ether, 5080624.27 ether, 4780857.89 ether, 4503574.00 ether, 4247086.39 ether ]; // Time when each epoch ends. uint256[37] public epochEndTimes; // Reward per second for each of 2 epochs (last item is equal to 0 - for sanity). uint256[37] public epochKchupPerSecond; event Deposit(address indexed user, uint256 indexed pid, uint256 amount); event Withdraw(address indexed user, uint256 indexed pid, uint256 amount); event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount); event RewardPaid(address indexed user, uint256 amount); constructor(address _kchup, uint256 _poolStartTime) public { require(block.timestamp < _poolStartTime, "late"); if (_kchup != address(0)) kchup = IERC20(_kchup); poolStartTime = _poolStartTime; epochEndTimes[0] = poolStartTime + 30 days; epochEndTimes[1] = poolStartTime + 60 days; epochEndTimes[2] = poolStartTime + 90 days; epochEndTimes[3] = poolStartTime + 120 days; epochEndTimes[4] = poolStartTime + 150 days; epochEndTimes[5] = poolStartTime + 180 days; epochEndTimes[6] = poolStartTime + 210 days; epochEndTimes[7] = poolStartTime + 240 days; epochEndTimes[8] = poolStartTime + 270 days; epochEndTimes[9] = poolStartTime + 300 days; epochEndTimes[10] = poolStartTime + 330 days; epochEndTimes[11] = poolStartTime + 360 days; epochEndTimes[12] = poolStartTime + 390 days; epochEndTimes[13] = poolStartTime + 420 days; epochEndTimes[14] = poolStartTime + 450 days; epochEndTimes[15] = poolStartTime + 480 days; epochEndTimes[16] = poolStartTime + 510 days; epochEndTimes[17] = poolStartTime + 540 days; epochEndTimes[18] = poolStartTime + 570 days; epochEndTimes[19] = poolStartTime + 600 days; epochEndTimes[20] = poolStartTime + 630 days; epochEndTimes[21] = poolStartTime + 660 days; epochEndTimes[22] = poolStartTime + 690 days; epochEndTimes[23] = poolStartTime + 720 days; epochEndTimes[24] = poolStartTime + 750 days; epochEndTimes[25] = poolStartTime + 780 days; epochEndTimes[26] = poolStartTime + 810 days; epochEndTimes[27] = poolStartTime + 840 days; epochEndTimes[28] = poolStartTime + 870 days; epochEndTimes[29] = poolStartTime + 900 days; epochEndTimes[30] = poolStartTime + 930 days; epochEndTimes[31] = poolStartTime + 960 days; epochEndTimes[32] = poolStartTime + 990 days; epochEndTimes[33] = poolStartTime + 1020 days; epochEndTimes[34] = poolStartTime + 1050 days; epochEndTimes[35] = poolStartTime + 1080 days; epochKchupPerSecond[0] = epochTotalRewards[0].div(30 days); epochKchupPerSecond[1] = epochTotalRewards[1].div(30 days); epochKchupPerSecond[2] = epochTotalRewards[2].div(30 days); epochKchupPerSecond[3] = epochTotalRewards[3].div(30 days); epochKchupPerSecond[4] = epochTotalRewards[4].div(30 days); epochKchupPerSecond[5] = epochTotalRewards[5].div(30 days); epochKchupPerSecond[6] = epochTotalRewards[6].div(30 days); epochKchupPerSecond[7] = epochTotalRewards[7].div(30 days); epochKchupPerSecond[8] = epochTotalRewards[8].div(30 days); epochKchupPerSecond[9] = epochTotalRewards[9].div(30 days); epochKchupPerSecond[10] = epochTotalRewards[10].div(30 days); epochKchupPerSecond[11] = epochTotalRewards[11].div(30 days); epochKchupPerSecond[12] = epochTotalRewards[12].div(30 days); epochKchupPerSecond[13] = epochTotalRewards[13].div(30 days); epochKchupPerSecond[14] = epochTotalRewards[14].div(30 days); epochKchupPerSecond[15] = epochTotalRewards[15].div(30 days); epochKchupPerSecond[16] = epochTotalRewards[16].div(30 days); epochKchupPerSecond[17] = epochTotalRewards[17].div(30 days); epochKchupPerSecond[18] = epochTotalRewards[18].div(30 days); epochKchupPerSecond[19] = epochTotalRewards[19].div(30 days); epochKchupPerSecond[20] = epochTotalRewards[20].div(30 days); epochKchupPerSecond[21] = epochTotalRewards[21].div(30 days); epochKchupPerSecond[22] = epochTotalRewards[22].div(30 days); epochKchupPerSecond[23] = epochTotalRewards[23].div(30 days); epochKchupPerSecond[24] = epochTotalRewards[24].div(30 days); epochKchupPerSecond[25] = epochTotalRewards[25].div(30 days); epochKchupPerSecond[26] = epochTotalRewards[26].div(30 days); epochKchupPerSecond[27] = epochTotalRewards[27].div(30 days); epochKchupPerSecond[28] = epochTotalRewards[28].div(30 days); epochKchupPerSecond[29] = epochTotalRewards[29].div(30 days); epochKchupPerSecond[30] = epochTotalRewards[30].div(30 days); epochKchupPerSecond[31] = epochTotalRewards[31].div(30 days); epochKchupPerSecond[32] = epochTotalRewards[32].div(30 days); epochKchupPerSecond[33] = epochTotalRewards[33].div(30 days); epochKchupPerSecond[34] = epochTotalRewards[34].div(30 days); epochKchupPerSecond[35] = epochTotalRewards[35].div(30 days); epochKchupPerSecond[36] = 0; operator = msg.sender; } modifier onlyOperator() { require(operator == msg.sender, "FriesDAOStakingPool: caller is not the operator"); _; } function checkPoolDuplicate(IERC20 _token) internal view { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { require(poolInfo[pid].token != _token, "FriesDAOStakingPool: existing pool?"); } } // Add a new token to the pool. Can only be called by the owner. function add( uint256 _allocPoint, IERC20 _token, bool _withUpdate, uint256 _lastRewardTime ) public onlyOperator { checkPoolDuplicate(_token); if (_withUpdate) { massUpdatePools(); } if (block.timestamp < poolStartTime) { // chef is sleeping if (_lastRewardTime == 0) { _lastRewardTime = poolStartTime; } else { if (_lastRewardTime < poolStartTime) { _lastRewardTime = poolStartTime; } } } else { // chef is cooking if (_lastRewardTime == 0 || _lastRewardTime < block.timestamp) { _lastRewardTime = block.timestamp; } } bool _isStarted = (_lastRewardTime <= poolStartTime) || (_lastRewardTime <= block.timestamp); poolInfo.push(PoolInfo({token: _token, allocPoint: _allocPoint, lastRewardTime: _lastRewardTime, accKchupPerShare: 0, isStarted: _isStarted})); if (_isStarted) { totalAllocPoint = totalAllocPoint.add(_allocPoint); } } // Update the given pool's KCHUP allocation point. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint) public onlyOperator { massUpdatePools(); PoolInfo storage pool = poolInfo[_pid]; if (pool.isStarted) { totalAllocPoint = totalAllocPoint.sub(pool.allocPoint).add(_allocPoint); } pool.allocPoint = _allocPoint; } // Return accumulate rewards over the given _fromTime to _toTime. function getGeneratedReward(uint256 _fromTime, uint256 _toTime) public view returns (uint256) { for (uint8 epochId = 36; epochId >= 1; --epochId) { if (_toTime >= epochEndTimes[epochId - 1]) { if (_fromTime >= epochEndTimes[epochId - 1]) { return _toTime.sub(_fromTime).mul(epochKchupPerSecond[epochId]); } uint256 _generatedReward = _toTime.sub(epochEndTimes[epochId - 1]).mul(epochKchupPerSecond[epochId]); if (epochId == 1) { return _generatedReward.add(epochEndTimes[0].sub(_fromTime).mul(epochKchupPerSecond[0])); } for (epochId = epochId - 1; epochId >= 1; --epochId) { if (_fromTime >= epochEndTimes[epochId - 1]) { return _generatedReward.add(epochEndTimes[epochId].sub(_fromTime).mul(epochKchupPerSecond[epochId])); } _generatedReward = _generatedReward.add(epochEndTimes[epochId].sub(epochEndTimes[epochId - 1]).mul(epochKchupPerSecond[epochId])); } return _generatedReward.add(epochEndTimes[0].sub(_fromTime).mul(epochKchupPerSecond[0])); } } return _toTime.sub(_fromTime).mul(epochKchupPerSecond[0]); } // View function to see pending KCHUPs on frontend. function pendingKCHUP(uint256 _pid, address _user) external view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accKchupPerShare = pool.accKchupPerShare; uint256 tokenSupply = pool.token.balanceOf(address(this)); if (block.timestamp > pool.lastRewardTime && tokenSupply != 0) { uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp); uint256 _kchupReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); accKchupPerShare = accKchupPerShare.add(_kchupReward.mul(1e18).div(tokenSupply)); } return user.amount.mul(accKchupPerShare).div(1e18).sub(user.rewardDebt); } // Update reward variables for all pools. Expensive! function massUpdatePools() public { uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { updatePool(pid); } } // Update reward variables of the given pool to be up-to-date. function updatePool(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; if (block.timestamp <= pool.lastRewardTime) { return; } uint256 tokenSupply = pool.token.balanceOf(address(this)); if (tokenSupply == 0) { pool.lastRewardTime = block.timestamp; return; } if (!pool.isStarted) { pool.isStarted = true; totalAllocPoint = totalAllocPoint.add(pool.allocPoint); } if (totalAllocPoint > 0) { uint256 _generatedReward = getGeneratedReward(pool.lastRewardTime, block.timestamp); uint256 _kchupReward = _generatedReward.mul(pool.allocPoint).div(totalAllocPoint); pool.accKchupPerShare = pool.accKchupPerShare.add(_kchupReward.mul(1e18).div(tokenSupply)); } pool.lastRewardTime = block.timestamp; } // Deposit LP tokens. function deposit(uint256 _pid, uint256 _amount) public { address _sender = msg.sender; PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_sender]; updatePool(_pid); if (user.amount > 0) { uint256 _pending = user.amount.mul(pool.accKchupPerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safeKchupTransfer(_sender, _pending); emit RewardPaid(_sender, _pending); } } if (_amount > 0) { pool.token.safeTransferFrom(_sender, address(this), _amount); user.amount = user.amount.add(_amount); } user.rewardDebt = user.amount.mul(pool.accKchupPerShare).div(1e18); emit Deposit(_sender, _pid, _amount); } // Withdraw LP tokens. function withdraw(uint256 _pid, uint256 _amount) public { address _sender = msg.sender; PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); uint256 _pending = user.amount.mul(pool.accKchupPerShare).div(1e18).sub(user.rewardDebt); if (_pending > 0) { safeKchupTransfer(_sender, _pending); emit RewardPaid(_sender, _pending); } if (_amount > 0) { user.amount = user.amount.sub(_amount); pool.token.safeTransfer(_sender, _amount); } user.rewardDebt = user.amount.mul(pool.accKchupPerShare).div(1e18); emit Withdraw(_sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdraw(uint256 _pid) public { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 _amount = user.amount; user.amount = 0; user.rewardDebt = 0; pool.token.safeTransfer(msg.sender, _amount); emit EmergencyWithdraw(msg.sender, _pid, _amount); } // Safe kchup transfer function, just in case if rounding error causes pool to not have enough Kchups. function safeKchupTransfer(address _to, uint256 _amount) internal { uint256 _kchupBal = kchup.balanceOf(address(this)); if (_kchupBal > 0) { if (_amount > _kchupBal) { kchup.safeTransfer(_to, _kchupBal); } else { kchup.safeTransfer(_to, _amount); } } } function setOperator(address _operator) external onlyOperator { operator = _operator; } function governanceRecoverUnsupported( IERC20 _token, uint256 amount, address to ) external onlyOperator { if (block.timestamp < epochEndTimes[1] + 30 days) { // do not allow to drain token if less than 30 days after farming require(_token != kchup, "!kchup"); uint256 length = poolInfo.length; for (uint256 pid = 0; pid < length; ++pid) { PoolInfo storage pool = poolInfo[pid]; require(_token != pool.token, "!pool.token"); } } _token.safeTransfer(to, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_kchup","type":"address"},{"internalType":"uint256","name":"_poolStartTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Deposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdraw","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"uint256","name":"pid","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_lastRewardTime","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochEndTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochKchupPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochTotalRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fromTime","type":"uint256"},{"internalType":"uint256","name":"_toTime","type":"uint256"}],"name":"getGeneratedReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"governanceRecoverUnsupported","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"kchup","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"operator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingKCHUP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardTime","type":"uint256"},{"internalType":"uint256","name":"accKchupPerShare","type":"uint256"},{"internalType":"bool","name":"isStarted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_operator","type":"address"}],"name":"setOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"updatePool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"rewardDebt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260006004556040518061048001604052806a28f6a2ddbd9340c32900006affffffffffffffffffffff1681526020016a25f559ac4d8b787b2100006affffffffffffffffffffff1681526020016a232dc2c4f91ddf388000006affffffffffffffffffffff1681526020016a209b8a6235dc8fc27000006affffffffffffffffffffff1681526020016a1e3aafd3925594cbc700006affffffffffffffffffffff1681526020016a1c077f42e037c83f2300006affffffffffffffffffffff1681526020016a19fe8bf04d394aa81f00006affffffffffffffffffffff1681526020016a181caadd81b397d7a800006affffffffffffffffffffff1681526020016a165eeddf2a4681b2b400006affffffffffffffffffffff1681526020016a14c29f0db518d2782700006affffffffffffffffffffff1681526020016a13453c8bd2de30cea200006affffffffffffffffffffff1681526020016a11e474a083331e9e2c00006affffffffffffffffffffff1681526020016a109e221a203f19886900006affffffffffffffffffffff1681526020016a0f7048f75c040764c900006affffffffffffffffffffff1681526020016a0e591350c5cbffba4800006affffffffffffffffffffff1681526020016a0d56ce7d27189e50d600006affffffffffffffffffffff1681526020016a0c67e86c8e4375c1c900006affffffffffffffffffffff1681526020016a0b8aed36b228e78d4100006affffffffffffffffffffff1681526020016a0abe84d83dff13bc5e00006affffffffffffffffffffff1681526020016a0a01711a70f39fa86700006affffffffffffffffffffff1681526020016a09528ba45fed97b81d00006affffffffffffffffffffff1681526020016a08b0c430da79545c1600006affffffffffffffffffffff1681526020016a081b1ee608cc7f1f4b00006affffffffffffffffffffff1681526020016a0790b2cd8323b1de1000006affffffffffffffffffffff1681526020016a0710a86a1beebf686200006affffffffffffffffffffff1681526020016a069a3867c1170635f100006affffffffffffffffffffff1681526020016a062caa6597e6bf9ba700006affffffffffffffffffffff1681526020016a05c753d6b7dcac291200006affffffffffffffffffffff1681526020016a056996f8f650536ead00006affffffffffffffffffffff1681526020016a0512e1df1fe2d8e1b500006affffffffffffffffffffff1681526020016a04c2ad8d8384d25f8200006affffffffffffffffffffff1681526020016a04787d2888033b70e200006affffffffffffffffffffff1681526020016a0433dd318cdff3841b00006affffffffffffffffffffff1681526020016a03f462d356344d0b5d00006affffffffffffffffffffff1681526020016a03b9ab3c594a50429800006affffffffffffffffffffff1681526020016a03835b03b8cce9925f00006affffffffffffffffffffff1681525060069060246200045d929190620014fd565b503480156200046b57600080fd5b5060405162003c2938038062003c29833981810160405260408110156200049157600080fd5b81019080805190602001909291908051906020019092919050505080421062000522576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260048152602001807f6c6174650000000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614620005995781600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b8060058190555062278d00600554016007600060258110620005b757fe5b0181905550624f1a00600554016007600160258110620005d357fe5b01819055506276a700600554016007600260258110620005ef57fe5b0181905550629e34006005540160076003602581106200060b57fe5b018190555062c5c1006005540160076004602581106200062757fe5b018190555062ed4e006005540160076005602581106200064357fe5b0181905550630114db006005540160076006602581106200066057fe5b018190555063013c680060055401600780602581106200067c57fe5b0181905550630163f5006005540160076008602581106200069957fe5b018190555063018b8200600554016007600960258110620006b657fe5b01819055506301b30f00600554016007600a60258110620006d357fe5b01819055506301da9c00600554016007600b60258110620006f057fe5b01819055506302022900600554016007600c602581106200070d57fe5b0181905550630229b600600554016007600d602581106200072a57fe5b01819055506302514300600554016007600e602581106200074757fe5b0181905550630278d000600554016007600f602581106200076457fe5b01819055506302a05d006005540160076010602581106200078157fe5b01819055506302c7ea006005540160076011602581106200079e57fe5b01819055506302ef7700600554016007601260258110620007bb57fe5b01819055506303170400600554016007601360258110620007d857fe5b018190555063033e9100600554016007601460258110620007f557fe5b01819055506303661e006005540160076015602581106200081257fe5b018190555063038dab006005540160076016602581106200082f57fe5b01819055506303b538006005540160076017602581106200084c57fe5b01819055506303dcc5006005540160076018602581106200086957fe5b018190555063040452006005540160076019602581106200088657fe5b018190555063042bdf00600554016007601a60258110620008a357fe5b01819055506304536c00600554016007601b60258110620008c057fe5b018190555063047af900600554016007601c60258110620008dd57fe5b01819055506304a28600600554016007601d60258110620008fa57fe5b01819055506304ca1300600554016007601e602581106200091757fe5b01819055506304f1a000600554016007601f602581106200093457fe5b01819055506305192d006005540160076020602581106200095157fe5b0181905550630540ba006005540160076021602581106200096e57fe5b018190555063056847006005540160076022602581106200098b57fe5b018190555063058fd400600554016007602360258110620009a857fe5b0181905550620009e362278d006006600081548110620009c457fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c600060258110620009f257fe5b018190555062000a2d62278d00600660018154811062000a0e57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60016025811062000a3c57fe5b018190555062000a7762278d00600660028154811062000a5857fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60026025811062000a8657fe5b018190555062000ac162278d00600660038154811062000aa257fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60036025811062000ad057fe5b018190555062000b0b62278d00600660048154811062000aec57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60046025811062000b1a57fe5b018190555062000b5562278d00600660058154811062000b3657fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60056025811062000b6457fe5b018190555062000b9e62278d006006808154811062000b7f57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60066025811062000bad57fe5b018190555062000be862278d00600660078154811062000bc957fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60076025811062000bf757fe5b018190555062000c3262278d00600660088154811062000c1357fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60086025811062000c4157fe5b018190555062000c7c62278d00600660098154811062000c5d57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60096025811062000c8b57fe5b018190555062000cc662278d006006600a8154811062000ca757fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c600a6025811062000cd557fe5b018190555062000d1062278d006006600b8154811062000cf157fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c600b6025811062000d1f57fe5b018190555062000d5a62278d006006600c8154811062000d3b57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c600c6025811062000d6957fe5b018190555062000da462278d006006600d8154811062000d8557fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c600d6025811062000db357fe5b018190555062000dee62278d006006600e8154811062000dcf57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c600e6025811062000dfd57fe5b018190555062000e3862278d006006600f8154811062000e1957fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c600f6025811062000e4757fe5b018190555062000e8262278d00600660108154811062000e6357fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60106025811062000e9157fe5b018190555062000ecc62278d00600660118154811062000ead57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60116025811062000edb57fe5b018190555062000f1662278d00600660128154811062000ef757fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60126025811062000f2557fe5b018190555062000f6062278d00600660138154811062000f4157fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60136025811062000f6f57fe5b018190555062000faa62278d00600660148154811062000f8b57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c60146025811062000fb957fe5b018190555062000ff462278d00600660158154811062000fd557fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c6015602581106200100357fe5b01819055506200103e62278d0060066016815481106200101f57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c6016602581106200104d57fe5b01819055506200108862278d0060066017815481106200106957fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c6017602581106200109757fe5b0181905550620010d262278d006006601881548110620010b357fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c601860258110620010e157fe5b01819055506200111c62278d006006601981548110620010fd57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c6019602581106200112b57fe5b01819055506200116662278d006006601a815481106200114757fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c601a602581106200117557fe5b0181905550620011b062278d006006601b815481106200119157fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c601b60258110620011bf57fe5b0181905550620011fa62278d006006601c81548110620011db57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c601c602581106200120957fe5b01819055506200124462278d006006601d815481106200122557fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c601d602581106200125357fe5b01819055506200128e62278d006006601e815481106200126f57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c601e602581106200129d57fe5b0181905550620012d862278d006006601f81548110620012b957fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c601f60258110620012e757fe5b01819055506200132262278d0060066020815481106200130357fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c6020602581106200133157fe5b01819055506200136c62278d0060066021815481106200134d57fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c6021602581106200137b57fe5b0181905550620013b662278d0060066022815481106200139757fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c602260258110620013c557fe5b01819055506200140062278d006006602381548110620013e157fe5b90600052602060002001546200147260201b62001c301790919060201c565b602c6023602581106200140f57fe5b01819055506000602c6024602581106200142557fe5b0181905550336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506200157d565b6000808211620014ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381620014f457fe5b04905092915050565b8280548282559060005260206000209081019282156200154b579160200282015b828111156200154a57825182906affffffffffffffffffffff169055916020019190600101906200151e565b5b5090506200155a91906200155e565b5090565b5b80821115620015795760008160009055506001016200155f565b5090565b61269c806200158d6000396000f3fe608060405234801561001057600080fd5b506004361061012c5760003560e01c8063630b5ba1116100ad578063b3ab15fb11610071578063b3ab15fb14610518578063b89e73c11461055c578063d302cddf1461059e578063e2bbb158146105d2578063eb67bd721461060a5761012c565b8063630b5ba11461039d57806381c4fb60146103a757806393f1a40b1461040957806396805e54146104725780639a25cefc146104d65761012c565b806351eb05a6116100f457806351eb05a6146102815780635312ea8e146102af57806354575af4146102dd578063570ca7351461034b5780635f96dc111461037f5761012c565b80631526fe271461013157806317caf6f1146101a75780631ab06ee5146101c5578063231f0c6a146101fd578063441a3e7014610249575b600080fd5b61015d6004803603602081101561014757600080fd5b810190808035906020019092919050505061064c565b604051808673ffffffffffffffffffffffffffffffffffffffff16815260200185815260200184815260200183815260200182151581526020019550505050505060405180910390f35b6101af6106bc565b6040518082815260200191505060405180910390f35b6101fb600480360360408110156101db57600080fd5b8101908080359060200190929190803590602001909291905050506106c2565b005b6102336004803603604081101561021357600080fd5b8101908080359060200190929190803590602001909291905050506107e4565b6040518082815260200191505060405180910390f35b61027f6004803603604081101561025f57600080fd5b810190808035906020019092919080359060200190929190505050610ad5565b005b6102ad6004803603602081101561029757600080fd5b8101908080359060200190929190505050610d8d565b005b6102db600480360360208110156102c557600080fd5b8101908080359060200190929190505050610f9c565b005b610349600480360360608110156102f357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110d0565b005b61035361138d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103876113b1565b6040518082815260200191505060405180910390f35b6103a56113b7565b005b6103f3600480360360408110156103bd57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113e4565b6040518082815260200191505060405180910390f35b6104556004803603604081101561041f57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061161c565b604051808381526020018281526020019250505060405180910390f35b6104d46004803603608081101561048857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291908035906020019092919050505061164d565b005b610502600480360360208110156104ec57600080fd5b8101908080359060200190929190505050611884565b6040518082815260200191505060405180910390f35b61055a6004803603602081101561052e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118a5565b005b6105886004803603602081101561057257600080fd5b810190808035906020019092919050505061198c565b6040518082815260200191505060405180910390f35b6105a66119a4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610608600480360360408110156105e857600080fd5b8101908080359060200190929190803590602001909291905050506119ca565b005b6106366004803603602081101561062057600080fd5b8101908080359060200190929190505050611c18565b6040518082815260200191505060405180910390f35b6002818154811061065957fe5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900460ff16905085565b60045481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806125ca602f913960400191505060405180910390fd5b61076e6113b7565b60006002838154811061077d57fe5b906000526020600020906005020190508060040160009054906101000a900460ff16156107d6576107cf826107c18360010154600454611cb990919063ffffffff16565b611d3c90919063ffffffff16565b6004819055505b818160010181905550505050565b600080602490505b60018160ff1610610a975760076001820360ff166025811061080a57fe5b01548310610a8b5760076001820360ff166025811061082557fe5b0154841061086b57610863602c8260ff166025811061084057fe5b01546108558686611cb990919063ffffffff16565b611dc490919063ffffffff16565b915050610acf565b60006108b7602c8360ff166025811061088057fe5b01546108a960076001860360ff166025811061089857fe5b015487611cb990919063ffffffff16565b611dc490919063ffffffff16565b905060018260ff1614156109235761091a61090b602c6000602581106108d957fe5b01546108fd8860076000602581106108ed57fe5b0154611cb990919063ffffffff16565b611dc490919063ffffffff16565b82611d3c90919063ffffffff16565b92505050610acf565b6001820391505b60018260ff1610610a2d5760076001830360ff166025811061094857fe5b015485106109b2576109a961099a602c8460ff166025811061096657fe5b015461098c8860078760ff166025811061097c57fe5b0154611cb990919063ffffffff16565b611dc490919063ffffffff16565b82611d3c90919063ffffffff16565b92505050610acf565b610a1f610a10602c8460ff16602581106109c857fe5b0154610a0260076001870360ff16602581106109e057fe5b015460078760ff16602581106109f257fe5b0154611cb990919063ffffffff16565b611dc490919063ffffffff16565b82611d3c90919063ffffffff16565b90508160019003915061092a565b610a82610a73602c600060258110610a4157fe5b0154610a65886007600060258110610a5557fe5b0154611cb990919063ffffffff16565b611dc490919063ffffffff16565b82611d3c90919063ffffffff16565b92505050610acf565b806001900390506107ec565b50610acc602c600060258110610aa957fe5b0154610abe8585611cb990919063ffffffff16565b611dc490919063ffffffff16565b90505b92915050565b6000339050600060028481548110610ae957fe5b9060005260206000209060050201905060006003600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508381600001541015610bc7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610bd085610d8d565b6000610c1d8260010154610c0f670de0b6b3a7640000610c0187600301548760000154611dc490919063ffffffff16565b611c3090919063ffffffff16565b611cb990919063ffffffff16565b90506000811115610c8157610c328482611e4a565b8373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b6000851115610cf957610ca1858360000154611cb990919063ffffffff16565b8260000181905550610cf884868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611fc99092919063ffffffff16565b5b610d2e670de0b6b3a7640000610d2085600301548560000154611dc490919063ffffffff16565b611c3090919063ffffffff16565b8260010181905550858473ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a3505050505050565b600060028281548110610d9c57fe5b9060005260206000209060050201905080600201544211610dbd5750610f99565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610e4a57600080fd5b505afa158015610e5e573d6000803e3d6000fd5b505050506040513d6020811015610e7457600080fd5b810190808051906020019092919050505090506000811415610ea0574282600201819055505050610f99565b8160040160009054906101000a900460ff16610ef35760018260040160006101000a81548160ff021916908315150217905550610eec8260010154600454611d3c90919063ffffffff16565b6004819055505b60006004541115610f8d576000610f0e8360020154426107e4565b90506000610f3d600454610f2f866001015485611dc490919063ffffffff16565b611c3090919063ffffffff16565b9050610f82610f6f84610f61670de0b6b3a764000085611dc490919063ffffffff16565b611c3090919063ffffffff16565b8560030154611d3c90919063ffffffff16565b846003018190555050505b42826002018190555050505b50565b600060028281548110610fab57fe5b9060005260206000209060050201905060006003600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050600082600001819055506000826001018190555061107b33828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611fc99092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a350505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806125ca602f913960400191505060405180910390fd5b62278d00600760016025811061118657fe5b01540142101561135d57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611254576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f216b63687570000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600280549050905060005b8181101561135a5760006002828154811061127857fe5b906000526020600020906005020190508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561134e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f21706f6f6c2e746f6b656e00000000000000000000000000000000000000000081525060200191505060405180910390fd5b50806001019050611261565b50505b61138881838573ffffffffffffffffffffffffffffffffffffffff16611fc99092919063ffffffff16565b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b6000600280549050905060005b818110156113e0576113d581610d8d565b8060010190506113c4565b5050565b600080600284815481106113f457fe5b9060005260206000209060050201905060006003600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156114ee57600080fd5b505afa158015611502573d6000803e3d6000fd5b505050506040513d602081101561151857600080fd5b8101908080519060200190929190505050905083600201544211801561153f575060008114155b156115c95760006115548560020154426107e4565b90506000611583600454611575886001015485611dc490919063ffffffff16565b611c3090919063ffffffff16565b90506115c46115b5846115a7670de0b6b3a764000085611dc490919063ffffffff16565b611c3090919063ffffffff16565b85611d3c90919063ffffffff16565b935050505b6116108360010154611602670de0b6b3a76400006115f4868860000154611dc490919063ffffffff16565b611c3090919063ffffffff16565b611cb990919063ffffffff16565b94505050505092915050565b6003602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806125ca602f913960400191505060405180910390fd5b6116fa8361206b565b8115611709576117086113b7565b5b60055442101561173c576000811415611726576005549050611737565b6005548110156117365760055490505b5b611754565b600081148061174a57504281105b15611753574290505b5b6000600554821115806117675750428211155b905060026040518060a001604052808673ffffffffffffffffffffffffffffffffffffffff16815260200187815260200184815260200160008152602001831515815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff0219169083151502179055505050801561187d5761187685600454611d3c90919063ffffffff16565b6004819055505b5050505050565b6006818154811061189157fe5b906000526020600020016000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611949576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806125ca602f913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6007816025811061199957fe5b016000915090505481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003390506000600284815481106119de57fe5b9060005260206000209060050201905060006003600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611a4b85610d8d565b600081600001541115611b0b576000611aa58260010154611a97670de0b6b3a7640000611a8987600301548760000154611dc490919063ffffffff16565b611c3090919063ffffffff16565b611cb990919063ffffffff16565b90506000811115611b0957611aba8482611e4a565b8373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b505b6000841115611b8557611b658330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612153909392919063ffffffff16565b611b7c848260000154611d3c90919063ffffffff16565b81600001819055505b611bba670de0b6b3a7640000611bac84600301548460000154611dc490919063ffffffff16565b611c3090919063ffffffff16565b8160010181905550848373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a35050505050565b602c8160258110611c2557fe5b016000915090505481565b6000808211611ca7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611cb057fe5b04905092915050565b600082821115611d31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080828401905083811015611dba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611dd75760009050611e44565b6000828402905082848281611de857fe5b0414611e3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061261c6021913960400191505060405180910390fd5b809150505b92915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611ed557600080fd5b505afa158015611ee9573d6000803e3d6000fd5b505050506040513d6020811015611eff57600080fd5b810190808051906020019092919050505090506000811115611fc45780821115611f7557611f708382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611fc99092919063ffffffff16565b611fc3565b611fc28383600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611fc99092919063ffffffff16565b5b5b505050565b6120668363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612214565b505050565b6000600280549050905060005b8181101561214e578273ffffffffffffffffffffffffffffffffffffffff16600282815481106120a457fe5b906000526020600020906005020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612143576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806125f96023913960400191505060405180910390fd5b806001019050612078565b505050565b61220e846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612214565b50505050565b6060612276826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123039092919063ffffffff16565b90506000815111156122fe5780806020019051602081101561229757600080fd5b81019080805190602001909291905050506122fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061263d602a913960400191505060405180910390fd5b5b505050565b6060612312848460008561231b565b90509392505050565b606082471015612376576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806125a46026913960400191505060405180910390fd5b61237f856124c4565b6123f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612441578051825260208201915060208101905060208303925061241e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146124a3576040519150601f19603f3d011682016040523d82523d6000602084013e6124a8565b606091505b50915091506124b88282866124d7565b92505050949350505050565b600080823b905060008111915050919050565b606083156124e75782905061259c565b6000835111156124fa5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612561578082015181840152602081019050612546565b50505050905090810190601f16801561258e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c467269657344414f5374616b696e67506f6f6c3a2063616c6c6572206973206e6f7420746865206f70657261746f72467269657344414f5374616b696e67506f6f6c3a206578697374696e6720706f6f6c3f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220bef8258291f7eda180e6f30f1439f1e6456b47e69ecfa84d25cd0486d15ce1ba64736f6c634300060c003300000000000000000000000051d35a4cfea3e5fb387e467d31cc0c87f6038a1a00000000000000000000000000000000000000000000000000000000622504b0
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061012c5760003560e01c8063630b5ba1116100ad578063b3ab15fb11610071578063b3ab15fb14610518578063b89e73c11461055c578063d302cddf1461059e578063e2bbb158146105d2578063eb67bd721461060a5761012c565b8063630b5ba11461039d57806381c4fb60146103a757806393f1a40b1461040957806396805e54146104725780639a25cefc146104d65761012c565b806351eb05a6116100f457806351eb05a6146102815780635312ea8e146102af57806354575af4146102dd578063570ca7351461034b5780635f96dc111461037f5761012c565b80631526fe271461013157806317caf6f1146101a75780631ab06ee5146101c5578063231f0c6a146101fd578063441a3e7014610249575b600080fd5b61015d6004803603602081101561014757600080fd5b810190808035906020019092919050505061064c565b604051808673ffffffffffffffffffffffffffffffffffffffff16815260200185815260200184815260200183815260200182151581526020019550505050505060405180910390f35b6101af6106bc565b6040518082815260200191505060405180910390f35b6101fb600480360360408110156101db57600080fd5b8101908080359060200190929190803590602001909291905050506106c2565b005b6102336004803603604081101561021357600080fd5b8101908080359060200190929190803590602001909291905050506107e4565b6040518082815260200191505060405180910390f35b61027f6004803603604081101561025f57600080fd5b810190808035906020019092919080359060200190929190505050610ad5565b005b6102ad6004803603602081101561029757600080fd5b8101908080359060200190929190505050610d8d565b005b6102db600480360360208110156102c557600080fd5b8101908080359060200190929190505050610f9c565b005b610349600480360360608110156102f357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110d0565b005b61035361138d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103876113b1565b6040518082815260200191505060405180910390f35b6103a56113b7565b005b6103f3600480360360408110156103bd57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113e4565b6040518082815260200191505060405180910390f35b6104556004803603604081101561041f57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061161c565b604051808381526020018281526020019250505060405180910390f35b6104d46004803603608081101561048857600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035151590602001909291908035906020019092919050505061164d565b005b610502600480360360208110156104ec57600080fd5b8101908080359060200190929190505050611884565b6040518082815260200191505060405180910390f35b61055a6004803603602081101561052e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118a5565b005b6105886004803603602081101561057257600080fd5b810190808035906020019092919050505061198c565b6040518082815260200191505060405180910390f35b6105a66119a4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610608600480360360408110156105e857600080fd5b8101908080359060200190929190803590602001909291905050506119ca565b005b6106366004803603602081101561062057600080fd5b8101908080359060200190929190505050611c18565b6040518082815260200191505060405180910390f35b6002818154811061065957fe5b90600052602060002090600502016000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154908060030154908060040160009054906101000a900460ff16905085565b60045481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610766576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806125ca602f913960400191505060405180910390fd5b61076e6113b7565b60006002838154811061077d57fe5b906000526020600020906005020190508060040160009054906101000a900460ff16156107d6576107cf826107c18360010154600454611cb990919063ffffffff16565b611d3c90919063ffffffff16565b6004819055505b818160010181905550505050565b600080602490505b60018160ff1610610a975760076001820360ff166025811061080a57fe5b01548310610a8b5760076001820360ff166025811061082557fe5b0154841061086b57610863602c8260ff166025811061084057fe5b01546108558686611cb990919063ffffffff16565b611dc490919063ffffffff16565b915050610acf565b60006108b7602c8360ff166025811061088057fe5b01546108a960076001860360ff166025811061089857fe5b015487611cb990919063ffffffff16565b611dc490919063ffffffff16565b905060018260ff1614156109235761091a61090b602c6000602581106108d957fe5b01546108fd8860076000602581106108ed57fe5b0154611cb990919063ffffffff16565b611dc490919063ffffffff16565b82611d3c90919063ffffffff16565b92505050610acf565b6001820391505b60018260ff1610610a2d5760076001830360ff166025811061094857fe5b015485106109b2576109a961099a602c8460ff166025811061096657fe5b015461098c8860078760ff166025811061097c57fe5b0154611cb990919063ffffffff16565b611dc490919063ffffffff16565b82611d3c90919063ffffffff16565b92505050610acf565b610a1f610a10602c8460ff16602581106109c857fe5b0154610a0260076001870360ff16602581106109e057fe5b015460078760ff16602581106109f257fe5b0154611cb990919063ffffffff16565b611dc490919063ffffffff16565b82611d3c90919063ffffffff16565b90508160019003915061092a565b610a82610a73602c600060258110610a4157fe5b0154610a65886007600060258110610a5557fe5b0154611cb990919063ffffffff16565b611dc490919063ffffffff16565b82611d3c90919063ffffffff16565b92505050610acf565b806001900390506107ec565b50610acc602c600060258110610aa957fe5b0154610abe8585611cb990919063ffffffff16565b611dc490919063ffffffff16565b90505b92915050565b6000339050600060028481548110610ae957fe5b9060005260206000209060050201905060006003600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090508381600001541015610bc7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f77697468647261773a206e6f7420676f6f64000000000000000000000000000081525060200191505060405180910390fd5b610bd085610d8d565b6000610c1d8260010154610c0f670de0b6b3a7640000610c0187600301548760000154611dc490919063ffffffff16565b611c3090919063ffffffff16565b611cb990919063ffffffff16565b90506000811115610c8157610c328482611e4a565b8373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b6000851115610cf957610ca1858360000154611cb990919063ffffffff16565b8260000181905550610cf884868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611fc99092919063ffffffff16565b5b610d2e670de0b6b3a7640000610d2085600301548560000154611dc490919063ffffffff16565b611c3090919063ffffffff16565b8260010181905550858473ffffffffffffffffffffffffffffffffffffffff167ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568876040518082815260200191505060405180910390a3505050505050565b600060028281548110610d9c57fe5b9060005260206000209060050201905080600201544211610dbd5750610f99565b60008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610e4a57600080fd5b505afa158015610e5e573d6000803e3d6000fd5b505050506040513d6020811015610e7457600080fd5b810190808051906020019092919050505090506000811415610ea0574282600201819055505050610f99565b8160040160009054906101000a900460ff16610ef35760018260040160006101000a81548160ff021916908315150217905550610eec8260010154600454611d3c90919063ffffffff16565b6004819055505b60006004541115610f8d576000610f0e8360020154426107e4565b90506000610f3d600454610f2f866001015485611dc490919063ffffffff16565b611c3090919063ffffffff16565b9050610f82610f6f84610f61670de0b6b3a764000085611dc490919063ffffffff16565b611c3090919063ffffffff16565b8560030154611d3c90919063ffffffff16565b846003018190555050505b42826002018190555050505b50565b600060028281548110610fab57fe5b9060005260206000209060050201905060006003600084815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050600081600001549050600082600001819055506000826001018190555061107b33828560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611fc99092919063ffffffff16565b833373ffffffffffffffffffffffffffffffffffffffff167fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595836040518082815260200191505060405180910390a350505050565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806125ca602f913960400191505060405180910390fd5b62278d00600760016025811061118657fe5b01540142101561135d57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611254576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260068152602001807f216b63687570000000000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600280549050905060005b8181101561135a5760006002828154811061127857fe5b906000526020600020906005020190508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16141561134e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f21706f6f6c2e746f6b656e00000000000000000000000000000000000000000081525060200191505060405180910390fd5b50806001019050611261565b50505b61138881838573ffffffffffffffffffffffffffffffffffffffff16611fc99092919063ffffffff16565b505050565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60055481565b6000600280549050905060005b818110156113e0576113d581610d8d565b8060010190506113c4565b5050565b600080600284815481106113f457fe5b9060005260206000209060050201905060006003600086815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060008260030154905060008360000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156114ee57600080fd5b505afa158015611502573d6000803e3d6000fd5b505050506040513d602081101561151857600080fd5b8101908080519060200190929190505050905083600201544211801561153f575060008114155b156115c95760006115548560020154426107e4565b90506000611583600454611575886001015485611dc490919063ffffffff16565b611c3090919063ffffffff16565b90506115c46115b5846115a7670de0b6b3a764000085611dc490919063ffffffff16565b611c3090919063ffffffff16565b85611d3c90919063ffffffff16565b935050505b6116108360010154611602670de0b6b3a76400006115f4868860000154611dc490919063ffffffff16565b611c3090919063ffffffff16565b611cb990919063ffffffff16565b94505050505092915050565b6003602052816000526040600020602052806000526040600020600091509150508060000154908060010154905082565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806125ca602f913960400191505060405180910390fd5b6116fa8361206b565b8115611709576117086113b7565b5b60055442101561173c576000811415611726576005549050611737565b6005548110156117365760055490505b5b611754565b600081148061174a57504281105b15611753574290505b5b6000600554821115806117675750428211155b905060026040518060a001604052808673ffffffffffffffffffffffffffffffffffffffff16815260200187815260200184815260200160008152602001831515815250908060018154018082558091505060019003906000526020600020906005020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010155604082015181600201556060820151816003015560808201518160040160006101000a81548160ff0219169083151502179055505050801561187d5761187685600454611d3c90919063ffffffff16565b6004819055505b5050505050565b6006818154811061189157fe5b906000526020600020016000915090505481565b3373ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611949576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806125ca602f913960400191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6007816025811061199957fe5b016000915090505481565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003390506000600284815481106119de57fe5b9060005260206000209060050201905060006003600086815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000209050611a4b85610d8d565b600081600001541115611b0b576000611aa58260010154611a97670de0b6b3a7640000611a8987600301548760000154611dc490919063ffffffff16565b611c3090919063ffffffff16565b611cb990919063ffffffff16565b90506000811115611b0957611aba8482611e4a565b8373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b505b6000841115611b8557611b658330868560000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612153909392919063ffffffff16565b611b7c848260000154611d3c90919063ffffffff16565b81600001819055505b611bba670de0b6b3a7640000611bac84600301548460000154611dc490919063ffffffff16565b611c3090919063ffffffff16565b8160010181905550848373ffffffffffffffffffffffffffffffffffffffff167f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15866040518082815260200191505060405180910390a35050505050565b602c8160258110611c2557fe5b016000915090505481565b6000808211611ca7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611cb057fe5b04905092915050565b600082821115611d31576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080828401905083811015611dba576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600080831415611dd75760009050611e44565b6000828402905082848281611de857fe5b0414611e3f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061261c6021913960400191505060405180910390fd5b809150505b92915050565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611ed557600080fd5b505afa158015611ee9573d6000803e3d6000fd5b505050506040513d6020811015611eff57600080fd5b810190808051906020019092919050505090506000811115611fc45780821115611f7557611f708382600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611fc99092919063ffffffff16565b611fc3565b611fc28383600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611fc99092919063ffffffff16565b5b5b505050565b6120668363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612214565b505050565b6000600280549050905060005b8181101561214e578273ffffffffffffffffffffffffffffffffffffffff16600282815481106120a457fe5b906000526020600020906005020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612143576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806125f96023913960400191505060405180910390fd5b806001019050612078565b505050565b61220e846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612214565b50505050565b6060612276826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166123039092919063ffffffff16565b90506000815111156122fe5780806020019051602081101561229757600080fd5b81019080805190602001909291905050506122fd576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061263d602a913960400191505060405180910390fd5b5b505050565b6060612312848460008561231b565b90509392505050565b606082471015612376576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806125a46026913960400191505060405180910390fd5b61237f856124c4565b6123f1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612441578051825260208201915060208101905060208303925061241e565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146124a3576040519150601f19603f3d011682016040523d82523d6000602084013e6124a8565b606091505b50915091506124b88282866124d7565b92505050949350505050565b600080823b905060008111915050919050565b606083156124e75782905061259c565b6000835111156124fa5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612561578082015181840152602081019050612546565b50505050905090810190601f16801561258e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c467269657344414f5374616b696e67506f6f6c3a2063616c6c6572206973206e6f7420746865206f70657261746f72467269657344414f5374616b696e67506f6f6c3a206578697374696e6720706f6f6c3f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220bef8258291f7eda180e6f30f1439f1e6456b47e69ecfa84d25cd0486d15ce1ba64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000051d35a4cfea3e5fb387e467d31cc0c87f6038a1a00000000000000000000000000000000000000000000000000000000622504b0
-----Decoded View---------------
Arg [0] : _kchup (address): 0x51D35A4CFeA3e5FB387e467d31Cc0c87F6038a1A
Arg [1] : _poolStartTime (uint256): 1646593200
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000051d35a4cfea3e5fb387e467d31cc0c87f6038a1a
Arg [1] : 00000000000000000000000000000000000000000000000000000000622504b0
Deployed Bytecode Sourcemap
21895:16595:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22762:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23007:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31292:321;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;31692:1340;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36010:813;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;34198:912;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36894:377;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37861:626;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22018:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;23093:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33942:180;;;:::i;:::-;;33097:779;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22846:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;30021:1174;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23130:1038;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37752:101;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24212:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22707:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;35145:829;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24340:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22762:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;23007:34::-;;;;:::o;31292:321::-;29588:10;29576:22;;:8;;;;;;;;;;:22;;;29568:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31371:17:::1;:15;:17::i;:::-;31399:21;31423:8;31432:4;31423:14;;;;;;;;;;;;;;;;;;31399:38;;31452:4;:14;;;;;;;;;;;;31448:118;;;31501:53;31542:11;31501:36;31521:4;:15;;;31501;;:19;;:36;;;;:::i;:::-;:40;;:53;;;;:::i;:::-;31483:15;:71;;;;31448:118;31594:11;31576:4;:15;;:29;;;;29661:1;31292:321:::0;;:::o;31692:1340::-;31777:7;31802:13;31818:2;31802:18;;31797:1160;31833:1;31822:7;:12;;;31797:1160;;31877:13;31901:1;31891:7;:11;31877:26;;;;;;;;;;;31866:7;:37;31862:1084;;31941:13;31965:1;31955:7;:11;31941:26;;;;;;;;;;;31928:9;:39;31924:151;;31999:56;32026:19;32046:7;32026:28;;;;;;;;;;;31999:22;32011:9;31999:7;:11;;:22;;;;:::i;:::-;:26;;:56;;;;:::i;:::-;31992:63;;;;;31924:151;32095:24;32122:73;32166:19;32186:7;32166:28;;;;;;;;;;;32122:39;32134:13;32158:1;32148:7;:11;32134:26;;;;;;;;;;;32122:7;:11;;:39;;;;:::i;:::-;:43;;:73;;;;:::i;:::-;32095:100;;32229:1;32218:7;:12;;;32214:149;;;32262:81;32283:59;32319:19;32339:1;32319:22;;;;;;;;;32283:31;32304:9;32283:13;32297:1;32283:16;;;;;;;;;:20;;:31;;;;:::i;:::-;:35;;:59;;;;:::i;:::-;32262:16;:20;;:81;;;;:::i;:::-;32255:88;;;;;;32214:149;32406:1;32396:7;:11;32386:21;;32381:443;32420:1;32409:7;:12;;;32381:443;;32474:13;32498:1;32488:7;:11;32474:26;;;;;;;;;;;32461:9;:39;32457:196;;32536:93;32557:71;32599:19;32619:7;32599:28;;;;;;;;;;;32557:37;32584:9;32557:13;32571:7;32557:22;;;;;;;;;;;:26;;:37;;;;:::i;:::-;:41;;:71;;;;:::i;:::-;32536:16;:20;;:93;;;;:::i;:::-;32529:100;;;;;;32457:196;32694:110;32715:88;32774:19;32794:7;32774:28;;;;;;;;;;;32715:54;32742:13;32766:1;32756:7;:11;32742:26;;;;;;;;;;;32715:13;32729:7;32715:22;;;;;;;;;;;:26;;:54;;;;:::i;:::-;:58;;:88;;;;:::i;:::-;32694:16;:20;;:110;;;;:::i;:::-;32675:129;;32423:9;;;;;;32381:443;;;32849:81;32870:59;32906:19;32926:1;32906:22;;;;;;;;;32870:31;32891:9;32870:13;32884:1;32870:16;;;;;;;;;:20;;:31;;;;:::i;:::-;:35;;:59;;;;:::i;:::-;32849:16;:20;;:81;;;;:::i;:::-;32842:88;;;;;;31862:1084;31836:9;;;;;;31797:1160;;;;32974:50;33001:19;33021:1;33001:22;;;;;;;;;32974;32986:9;32974:7;:11;;:22;;;;:::i;:::-;:26;;:50;;;;:::i;:::-;32967:57;;31692:1340;;;;;:::o;36010:813::-;36077:15;36095:10;36077:28;;36116:21;36140:8;36149:4;36140:14;;;;;;;;;;;;;;;;;;36116:38;;36165:21;36189:8;:14;36198:4;36189:14;;;;;;;;;;;:23;36204:7;36189:23;;;;;;;;;;;;;;;36165:47;;36246:7;36231:4;:11;;;:22;;36223:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36287:16;36298:4;36287:10;:16::i;:::-;36314;36333:69;36386:4;:15;;;36333:48;36376:4;36333:38;36349:4;:21;;;36333:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;:52;;:69;;;;:::i;:::-;36314:88;;36428:1;36417:8;:12;36413:130;;;36446:36;36464:7;36473:8;36446:17;:36::i;:::-;36513:7;36502:29;;;36522:8;36502:29;;;;;;;;;;;;;;;;;;36413:130;36567:1;36557:7;:11;36553:138;;;36599:24;36615:7;36599:4;:11;;;:15;;:24;;;;:::i;:::-;36585:4;:11;;:38;;;;36638:41;36662:7;36671;36638:4;:10;;;;;;;;;;;;:23;;;;:41;;;;;:::i;:::-;36553:138;36719:48;36762:4;36719:38;36735:4;:21;;;36719:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;36701:4;:15;;:66;;;;36801:4;36792:7;36783:32;;;36807:7;36783:32;;;;;;;;;;;;;;;;;;36010:813;;;;;;:::o;34198:912::-;34250:21;34274:8;34283:4;34274:14;;;;;;;;;;;;;;;;;;34250:38;;34322:4;:19;;;34303:15;:38;34299:77;;34358:7;;;34299:77;34386:19;34408:4;:10;;;;;;;;;;;;:20;;;34437:4;34408:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34386:57;;34473:1;34458:11;:16;34454:107;;;34513:15;34491:4;:19;;:37;;;;34543:7;;;;34454:107;34576:4;:14;;;;;;;;;;;;34571:138;;34624:4;34607;:14;;;:21;;;;;;;;;;;;;;;;;;34661:36;34681:4;:15;;;34661;;:19;;:36;;;;:::i;:::-;34643:15;:54;;;;34571:138;34741:1;34723:15;;:19;34719:336;;;34759:24;34786:56;34805:4;:19;;;34826:15;34786:18;:56::i;:::-;34759:83;;34857:20;34880:58;34922:15;;34880:37;34901:4;:15;;;34880:16;:20;;:37;;;;:::i;:::-;:41;;:58;;;;:::i;:::-;34857:81;;34977:66;35003:39;35030:11;35003:22;35020:4;35003:12;:16;;:22;;;;:::i;:::-;:26;;:39;;;;:::i;:::-;34977:4;:21;;;:25;;:66;;;;:::i;:::-;34953:4;:21;;:90;;;;34719:336;;;35087:15;35065:4;:19;;:37;;;;34198:912;;;;:::o;36894:377::-;36953:21;36977:8;36986:4;36977:14;;;;;;;;;;;;;;;;;;36953:38;;37002:21;37026:8;:14;37035:4;37026:14;;;;;;;;;;;:26;37041:10;37026:26;;;;;;;;;;;;;;;37002:50;;37063:15;37081:4;:11;;;37063:29;;37117:1;37103:4;:11;;:15;;;;37147:1;37129:4;:15;;:19;;;;37159:44;37183:10;37195:7;37159:4;:10;;;;;;;;;;;;:23;;;;:44;;;;;:::i;:::-;37249:4;37237:10;37219:44;;;37255:7;37219:44;;;;;;;;;;;;;;;;;;36894:377;;;;:::o;37861:626::-;29588:10;29576:22;;:8;;;;;;;;;;:22;;;29568:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38050:7:::1;38031:13;38045:1;38031:16;;;;;;;;;:26;38013:15;:44;38009:429;;;38171:5;;;;;;;;;;;38161:15;;:6;:15;;;;38153:34;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;38202:14;38219:8;:15;;;;38202:32;;38254:11;38249:178;38277:6;38271:3;:12;38249:178;;;38311:21;38335:8;38344:3;38335:13;;;;;;;;;;;;;;;;;;38311:37;;38385:4;:10;;;;;;;;;;;;38375:20;;:6;:20;;;;38367:44;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;38249:178;38285:5;;;;;38249:178;;;;38009:429;;38448:31;38468:2;38472:6;38448;:19;;;;:31;;;;;:::i;:::-;37861:626:::0;;;:::o;22018:23::-;;;;;;;;;;;;:::o;23093:28::-;;;;:::o;33942:180::-;33987:14;34004:8;:15;;;;33987:32;;34035:11;34030:85;34058:6;34052:3;:12;34030:85;;;34088:15;34099:3;34088:10;:15::i;:::-;34066:5;;;;;34030:85;;;;33942:180;:::o;33097:779::-;33171:7;33191:21;33215:8;33224:4;33215:14;;;;;;;;;;;;;;;;;;33191:38;;33240:21;33264:8;:14;33273:4;33264:14;;;;;;;;;;;:21;33279:5;33264:21;;;;;;;;;;;;;;;33240:45;;33296:24;33323:4;:21;;;33296:48;;33355:19;33377:4;:10;;;;;;;;;;;;:20;;;33406:4;33377:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33355:57;;33445:4;:19;;;33427:15;:37;:57;;;;;33483:1;33468:11;:16;;33427:57;33423:364;;;33501:24;33528:56;33547:4;:19;;;33568:15;33528:18;:56::i;:::-;33501:83;;33599:20;33622:58;33664:15;;33622:37;33643:4;:15;;;33622:16;:20;;:37;;;;:::i;:::-;:41;;:58;;;;:::i;:::-;33599:81;;33714:61;33735:39;33762:11;33735:22;33752:4;33735:12;:16;;:22;;;;:::i;:::-;:26;;:39;;;;:::i;:::-;33714:16;:20;;:61;;;;:::i;:::-;33695:80;;33423:364;;;33804:64;33852:4;:15;;;33804:43;33842:4;33804:33;33820:16;33804:4;:11;;;:15;;:33;;;;:::i;:::-;:37;;:43;;;;:::i;:::-;:47;;:64;;;;:::i;:::-;33797:71;;;;;;33097:779;;;;:::o;22846:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30021:1174::-;29588:10;29576:22;;:8;;;;;;;;;;:22;;;29568:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30187:26:::1;30206:6;30187:18;:26::i;:::-;30228:11;30224:61;;;30256:17;:15;:17::i;:::-;30224:61;30317:13;;30299:15;:31;30295:534;;;30403:1;30384:15;:20;30380:243;;;30443:13;;30425:31;;30380:243;;;30519:13;;30501:15;:31;30497:111;;;30575:13;;30557:31;;30497:111;30380:243;30295:534;;;30710:1;30691:15;:20;:57;;;;30733:15;30715;:33;30691:57;30687:131;;;30787:15;30769:33;;30687:131;30295:534;30839:15;30877:13;;30858:15;:32;;30857:74;;;;30915:15;30896;:34;;30857:74;30839:92;;30942:8;30956:127;;;;;;;;30973:6;30956:127;;;;;;30993:11;30956:127;;;;31022:15;30956:127;;;;31057:1;30956:127;;;;31071:10;30956:127;;;;::::0;30942:142:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31099:10;31095:93;;;31144:32;31164:11;31144:15;;:19;;:32;;;;:::i;:::-;31126:15;:50;;;;31095:93;29661:1;30021:1174:::0;;;;:::o;23130:1038::-;;;;;;;;;;;;;;;;;;;;;;;;;:::o;37752:101::-;29588:10;29576:22;;:8;;;;;;;;;;:22;;;29568:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37836:9:::1;37825:8;::::0;:20:::1;;;;;;;;;;;;;;;;;;37752:101:::0;:::o;24212:32::-;;;;;;;;;;;;;;;;;;:::o;22707:19::-;;;;;;;;;;;;;:::o;35145:829::-;35211:15;35229:10;35211:28;;35250:21;35274:8;35283:4;35274:14;;;;;;;;;;;;;;;;;;35250:38;;35299:21;35323:8;:14;35332:4;35323:14;;;;;;;;;;;:23;35338:7;35323:23;;;;;;;;;;;;;;;35299:47;;35357:16;35368:4;35357:10;:16::i;:::-;35402:1;35388:4;:11;;;:15;35384:292;;;35420:16;35439:69;35492:4;:15;;;35439:48;35482:4;35439:38;35455:4;:21;;;35439:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;:52;;:69;;;;:::i;:::-;35420:88;;35538:1;35527:8;:12;35523:142;;;35560:36;35578:7;35587:8;35560:17;:36::i;:::-;35631:7;35620:29;;;35640:8;35620:29;;;;;;;;;;;;;;;;;;35523:142;35384:292;;35700:1;35690:7;:11;35686:157;;;35718:60;35746:7;35763:4;35770:7;35718:4;:10;;;;;;;;;;;;:27;;;;:60;;;;;;:::i;:::-;35807:24;35823:7;35807:4;:11;;;:15;;:24;;;;:::i;:::-;35793:4;:11;;:38;;;;35686:157;35871:48;35914:4;35871:38;35887:4;:21;;;35871:4;:11;;;:15;;:38;;;;:::i;:::-;:42;;:48;;;;:::i;:::-;35853:4;:15;;:66;;;;35952:4;35943:7;35935:31;;;35958:7;35935:31;;;;;;;;;;;;;;;;;;35145:829;;;;;:::o;24340:38::-;;;;;;;;;;;;;;;;;;:::o;4343:153::-;4401:7;4433:1;4429;:5;4421:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4487:1;4483;:5;;;;;;4476:12;;4343:153;;;;:::o;3228:158::-;3286:7;3319:1;3314;:6;;3306:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3377:1;3373;:5;3366:12;;3228:158;;;;:::o;2766:179::-;2824:7;2844:9;2860:1;2856;:5;2844:17;;2885:1;2880;:6;;2872:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2936:1;2929:8;;;2766:179;;;;:::o;3645:220::-;3703:7;3732:1;3727;:6;3723:20;;;3742:1;3735:8;;;;3723:20;3754:9;3770:1;3766;:5;3754:17;;3799:1;3794;3790;:5;;;;;;:10;3782:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3856:1;3849:8;;;3645:220;;;;;:::o;37387:357::-;37464:17;37484:5;;;;;;;;;;;:15;;;37508:4;37484:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37464:50;;37541:1;37529:9;:13;37525:212;;;37573:9;37563:7;:19;37559:167;;;37603:34;37622:3;37627:9;37603:5;;;;;;;;;;;:18;;;;:34;;;;;:::i;:::-;37559:167;;;37678:32;37697:3;37702:7;37678:5;;;;;;;;;;;:18;;;;:32;;;;;:::i;:::-;37559:167;37525:212;37387:357;;;:::o;10705:177::-;10788:86;10808:5;10838:23;;;10863:2;10867:5;10815:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10788:19;:86::i;:::-;10705:177;;;:::o;29678:265::-;29746:14;29763:8;:15;;;;29746:32;;29794:11;29789:147;29817:6;29811:3;:12;29789:147;;;29878:6;29855:29;;:8;29864:3;29855:13;;;;;;;;;;;;;;;;;;:19;;;;;;;;;;;;:29;;;;29847:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29825:5;;;;;29789:147;;;;29678:265;;:::o;10890:205::-;10991:96;11011:5;11041:27;;;11070:4;11076:2;11080:5;11018:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10991:19;:96::i;:::-;10890:205;;;;:::o;13010:761::-;13434:23;13460:69;13488:4;13460:69;;;;;;;;;;;;;;;;;13468:5;13460:27;;;;:69;;;;;:::i;:::-;13434:95;;13564:1;13544:10;:17;:21;13540:224;;;13686:10;13675:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13667:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13540:224;13010:761;;;:::o;17377:195::-;17480:12;17512:52;17534:6;17542:4;17548:1;17551:12;17512:21;:52::i;:::-;17505:59;;17377:195;;;;;:::o;18429:530::-;18556:12;18614:5;18589:21;:30;;18581:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18681:18;18692:6;18681:10;:18::i;:::-;18673:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18807:12;18821:23;18848:6;:11;;18868:5;18876:4;18848:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18806:75;;;;18899:52;18917:7;18926:10;18938:12;18899:17;:52::i;:::-;18892:59;;;;18429:530;;;;;;:::o;14459:422::-;14519:4;14727:12;14838:7;14826:20;14818:28;;14872:1;14865:4;:8;14858:15;;;14459:422;;;:::o;20969:742::-;21084:12;21113:7;21109:595;;;21144:10;21137:17;;;;21109:595;21278:1;21258:10;:17;:21;21254:439;;;21521:10;21515:17;21582:15;21569:10;21565:2;21561:19;21554:44;21469:148;21664:12;21657:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20969:742;;;;;;:::o
Swarm Source
ipfs://bef8258291f7eda180e6f30f1439f1e6456b47e69ecfa84d25cd0486d15ce1ba
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.