More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 691 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 17853565 | 495 days ago | IN | 0 ETH | 0.00102015 | ||||
Withdraw | 17014173 | 613 days ago | IN | 0 ETH | 0.00525837 | ||||
Emergency Withda... | 16859102 | 635 days ago | IN | 0 ETH | 0.00277687 | ||||
Emergency Withda... | 16859005 | 635 days ago | IN | 0 ETH | 0.00272703 | ||||
Withdraw | 16857597 | 635 days ago | IN | 0 ETH | 0.00228806 | ||||
Withdraw | 16851774 | 636 days ago | IN | 0 ETH | 0.00472127 | ||||
Deposit | 16809300 | 642 days ago | IN | 0 ETH | 0.00426503 | ||||
Emergency Withda... | 16795074 | 644 days ago | IN | 0 ETH | 0.00465735 | ||||
Deposit | 16795011 | 644 days ago | IN | 0 ETH | 0.00433218 | ||||
Emergency Withda... | 16749600 | 650 days ago | IN | 0 ETH | 0.00239165 | ||||
Deposit | 16730552 | 653 days ago | IN | 0 ETH | 0.00419682 | ||||
Deposit | 16595594 | 672 days ago | IN | 0 ETH | 0.00481866 | ||||
Withdraw | 16580693 | 674 days ago | IN | 0 ETH | 0.00734091 | ||||
Withdraw | 16576288 | 674 days ago | IN | 0 ETH | 0.00497272 | ||||
Deposit | 16567538 | 676 days ago | IN | 0 ETH | 0.002385 | ||||
Deposit | 16567538 | 676 days ago | IN | 0 ETH | 0.00270538 | ||||
Deposit | 16567521 | 676 days ago | IN | 0 ETH | 0.00273723 | ||||
Emergency Withda... | 16558418 | 677 days ago | IN | 0 ETH | 0.00517767 | ||||
Deposit | 16558413 | 677 days ago | IN | 0 ETH | 0.00517198 | ||||
Withdraw | 16493902 | 686 days ago | IN | 0 ETH | 0.00477129 | ||||
Withdraw | 16473553 | 689 days ago | IN | 0 ETH | 0.00382481 | ||||
Emergency Withda... | 16453332 | 692 days ago | IN | 0 ETH | 0.00360789 | ||||
Deposit | 16453330 | 692 days ago | IN | 0 ETH | 0.00377479 | ||||
Emergency Withda... | 16424429 | 696 days ago | IN | 0 ETH | 0.00370333 | ||||
Deposit | 16424401 | 696 days ago | IN | 0 ETH | 0.00349554 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ArchieIunStakingAndFarming
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-04-03 */ // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the token decimals. */ function decimals() external view returns (uint8); /** * @dev Returns the token symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the token name. */ function name() external view returns (string memory); /** * @dev Returns the ERC token owner. */ function getOwner() external view returns (address); /** * @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); } 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); } } } } /** * @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"); } } } interface ITokenReferral { /** * @dev Record referral. */ function recordReferral(address user, address referrer) external; /** * @dev Record referral commission. */ function recordReferralCommission(address referrer, uint256 commission) external; /** * @dev Get the referrer address that referred the user. */ function getReferrer(address user) external view returns (address); } /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } contract ArchieIunStakingAndFarming is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for IERC20; // Info of each user. struct UserInfo { uint256 amount; // How many LP tokens the user has provided. uint256 rewardDebt; // Reward debt. See explanation below. uint256 rewardLockedUp; // Reward locked up. uint256 nextHarvestUntil; // When can the user harvest again. uint256 lastDepositTime; // when user deposited // // We do some fancy math here. Basically, any point in time, the amount of Archieneko // entitled to a user but is pending to be distributed is: // // pending reward = (user.amount * pool.accTokenPerShare) - user.rewardDebt // // Whenever a user deposits or withdraws LP tokens to a pool. Here's what happens: // 1. The pool's `accTokenPerShare` (and `lastRewardBlock`) gets updated. // 2. User receives the pending reward sent to his/her address. // 3. User's `amount` gets updated. // 4. User's `rewardDebt` gets updated. } // Info of each pool. struct PoolInfo { IERC20 lpToken; // Address of LP token contract. uint256 allocPoint; // How many allocation points assigned to this pool. Archieneko to distribute per block. uint256 lastRewardBlock; // Last block number that Archieneko distribution occurs. uint256 accTokenPerShare; // Accumulated Archieneko per share, times 1e12. See below. uint16 depositFeeBP; uint16 emergencyWithdrawFeeBP; // Deposit fee in basis points uint256 harvestInterval; // Harvest interval in seconds uint256 withdrawLockPeriod; // lock period for this pool uint256 balance; // pool token balance, allow multiple pools with same token } // The ArchieInu TOKEN! IERC20 public token; // Dev address. address public devAddress; // Deposit Fee address address public feeAddress; // Archieneko tokens created per block. uint256 public tokenPerBlock; // Bonus muliplier for early token makers. uint256 public constant BONUS_MULTIPLIER = 1; // 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 block number when Archieneko mining starts. uint256 public startBlock; uint256 public endBlock; // Total locked up rewards uint256 public totalLockedUpRewards; // Token referral contract address. ITokenReferral public tokenReferral; // Referral commission rate in basis points. uint16 public referralCommissionRate = 100; // Max referral commission rate: 10%. uint16 public constant MAXIMUM_REFERRAL_COMMISSION_RATE = 1000; uint256 public treasure; uint256 public allocated; uint256 public blocks; event Mint(address to, uint256 amount); 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 EmissionRateUpdated(address indexed caller, uint256 previousAmount, uint256 newAmount); event ReferralCommissionPaid(address indexed user, address indexed referrer, uint256 commissionAmount); event RewardLockedUp(address indexed user, uint256 indexed pid, uint256 amountLockedUp); constructor( IERC20 _token, uint256 _startBlock, uint256 _tokenPerBlock ) public { token = _token; startBlock = _startBlock; tokenPerBlock = _tokenPerBlock; token.balanceOf( address(this) ); devAddress = msg.sender; feeAddress = msg.sender; } function poolLength() external view returns (uint256) { return poolInfo.length; } // Add a new lp to the pool. Can only be called by the owner. // XXX DO NOT add the same LP token more than once. Rewards will be messed up if you do. function add(uint256 _allocPoint, IERC20 _lpToken, uint16 _depositFeeBP, uint16 _emergencyWithdrawFeeBP, uint256 _harvestInterval, bool _withUpdate, uint256 _withdrawLockPeriod ) external onlyOwner { require(_depositFeeBP <= 2000, "add: invalid deposit fee basis points"); require(_emergencyWithdrawFeeBP <= 2000,"invaild emergencywithdraw fee basis points"); require(_withdrawLockPeriod <= 90 days, "withdraw lock must be less than 90 days"); require(_harvestInterval <= 90 days, "add: invalid harvest interval"); if (_withUpdate) { massUpdatePools(); } _lpToken.balanceOf(address(this)); // prevent adding invalid token. uint256 lastRewardBlock = block.number > startBlock ? block.number : startBlock; totalAllocPoint = totalAllocPoint.add(_allocPoint); poolInfo.push(PoolInfo({ lpToken: _lpToken, allocPoint: _allocPoint, lastRewardBlock: lastRewardBlock, accTokenPerShare: 0, balance: 0, depositFeeBP: _depositFeeBP, emergencyWithdrawFeeBP: _emergencyWithdrawFeeBP, harvestInterval: _harvestInterval, withdrawLockPeriod: _withdrawLockPeriod })); } // Update the given pool's Archieneko allocation point and deposit fee. Can only be called by the owner. function set(uint256 _pid, uint256 _allocPoint, uint16 _depositFeeBP, uint16 _emergencyWithdrawFeeBP, uint256 _harvestInterval, bool _withUpdate, uint256 _withdrawLockPeriod ) external onlyOwner { require(_depositFeeBP <= 2000, "set: invalid deposit fee basis points"); require(_emergencyWithdrawFeeBP <= 2000,"invaild emergencywithdraw fee basis points"); require(_withdrawLockPeriod <= 90 days, "withdraw lock must be less than 90 days"); require(_harvestInterval <= 90 days, "set: invalid harvest interval"); if (_withUpdate) { massUpdatePools(); } totalAllocPoint = totalAllocPoint.sub(poolInfo[_pid].allocPoint).add(_allocPoint); poolInfo[_pid].allocPoint = _allocPoint; poolInfo[_pid].depositFeeBP = _depositFeeBP; poolInfo[_pid].emergencyWithdrawFeeBP = _emergencyWithdrawFeeBP; poolInfo[_pid].harvestInterval = _harvestInterval; poolInfo[_pid].withdrawLockPeriod = _withdrawLockPeriod; } // Return reward multiplier over the given _from to _to block. function getMultiplier(uint256 _from, uint256 _to) public view returns (uint256) { if( treasure == 0 ){ // if contract has no balance, stop emission. return 0; } return _to.sub(_from).mul(BONUS_MULTIPLIER); } // View function to see pending Archieneko on frontend. function pendingToken(uint256 _pid, address _user) public view returns (uint256) { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][_user]; uint256 accTokenPerShare = pool.accTokenPerShare; uint256 lpSupply = pool.balance; uint256 myBlock = (block.number <= endBlock ) ? block.number : endBlock; if (myBlock > pool.lastRewardBlock && lpSupply != 0 ) { uint256 multiplier = getMultiplier(pool.lastRewardBlock, myBlock); uint256 tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint); accTokenPerShare = accTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply)); } uint256 pending = user.amount.mul(accTokenPerShare).div(1e12).sub(user.rewardDebt); return pending.add(user.rewardLockedUp); } // View function to see if user can harvest Archieneko. function canHarvest(uint256 _pid, address _user) public view returns (bool) { UserInfo storage user = userInfo[_pid][_user]; return block.timestamp >= user.nextHarvestUntil; } // Update reward variables for all pools. Be careful of gas spending! 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]; uint256 myBlock = (block.number <= endBlock ) ? block.number : endBlock; if (myBlock <= pool.lastRewardBlock) { return; } uint256 lpSupply = pool.balance; if (lpSupply == 0 || pool.allocPoint == 0) { pool.lastRewardBlock = myBlock; return; } uint256 multiplier = getMultiplier(pool.lastRewardBlock, myBlock); uint256 tokenReward = multiplier.mul(tokenPerBlock).mul(pool.allocPoint).div(totalAllocPoint); mint(address(this), tokenReward); pool.accTokenPerShare = pool.accTokenPerShare.add(tokenReward.mul(1e12).div(lpSupply)); pool.lastRewardBlock = myBlock; } // Deposit LP tokens to MasterChef for Archieneko allocation. function deposit(uint256 _pid, uint256 _amount, address _referrer) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; updatePool(_pid); if (_amount > 0 && address(tokenReferral) != address(0) && _referrer != address(0) && _referrer != msg.sender) { tokenReferral.recordReferral(msg.sender, _referrer); } payOrLockupPendingToken(_pid); if (_amount > 0) { uint256 oldBalance = pool.lpToken.balanceOf(address(this)); pool.lpToken.safeTransferFrom(address(msg.sender), address(this), _amount); uint256 newBalance = pool.lpToken.balanceOf(address(this)); _amount = newBalance.sub(oldBalance); pool.balance = pool.balance.add(_amount); if (pool.depositFeeBP > 0) { uint256 depositFee = _amount.mul(pool.depositFeeBP).div(10000); pool.lpToken.safeTransfer(feeAddress, depositFee); user.amount = user.amount.add(_amount).sub(depositFee); } else { user.amount = user.amount.add(_amount); } user.lastDepositTime = block.timestamp; } user.rewardDebt = user.amount.mul(pool.accTokenPerShare).div(1e12); emit Deposit(msg.sender, _pid, _amount); } // Withdraw LP tokens from MasterChef. function withdraw(uint256 _pid, uint256 _amount) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; require(user.amount >= _amount, "withdraw: not good"); updatePool(_pid); payOrLockupPendingToken(_pid); if (_amount > 0) { // check withdraw is locked: if( pool.withdrawLockPeriod > 0){ bool isLocked = block.timestamp < user.lastDepositTime + pool.withdrawLockPeriod; require( isLocked == false, "withdraw still locked" ); } user.amount = user.amount.sub(_amount); pool.balance = pool.balance.sub(_amount); pool.lpToken.safeTransfer(address(msg.sender), _amount); } user.rewardDebt = user.amount.mul(pool.accTokenPerShare).div(1e12); emit Withdraw(msg.sender, _pid, _amount); } // Withdraw without caring about rewards. EMERGENCY ONLY. function emergencyWithdaw(uint256 _pid) external nonReentrant { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; uint256 amount = user.amount; pool.balance = pool.balance.sub(amount); user.amount = 0; user.rewardDebt = 0; user.rewardLockedUp = 0; user.nextHarvestUntil = 0; uint256 withdrawAmount; if (pool.emergencyWithdrawFeeBP > 0) { uint256 withdrawFee = amount.mul(pool.emergencyWithdrawFeeBP).div(10000); pool.lpToken.safeTransfer(feeAddress, withdrawFee); withdrawAmount = amount.sub(withdrawFee); } else { withdrawAmount = amount; } pool.lpToken.safeTransfer(address(msg.sender), withdrawAmount); emit EmergencyWithdraw(msg.sender, _pid, withdrawAmount); } // Pay or lockup pending Archieneko. function payOrLockupPendingToken(uint256 _pid) internal { PoolInfo storage pool = poolInfo[_pid]; UserInfo storage user = userInfo[_pid][msg.sender]; if (user.nextHarvestUntil == 0) { user.nextHarvestUntil = block.timestamp.add(pool.harvestInterval); } uint256 pending = user.amount.mul(pool.accTokenPerShare).div(1e12).sub(user.rewardDebt); if (canHarvest(_pid, msg.sender)) { if (pending > 0 || user.rewardLockedUp > 0) { uint256 totalRewards = pending.add(user.rewardLockedUp); // reset lockup totalLockedUpRewards = totalLockedUpRewards.sub(user.rewardLockedUp); user.rewardLockedUp = 0; user.nextHarvestUntil = block.timestamp.add(pool.harvestInterval); // send rewards safeTokenTransfer(msg.sender, totalRewards); payReferralCommission(msg.sender, totalRewards); } } else if (pending > 0) { user.rewardLockedUp = user.rewardLockedUp.add(pending); totalLockedUpRewards = totalLockedUpRewards.add(pending); emit RewardLockedUp(msg.sender, _pid, pending); } } // Update dev address by the previous dev. function setDevAddress(address _devAddress) external { require(msg.sender == devAddress, "setDevAddress: FORBIDDEN"); require(_devAddress != address(0), "setDevAddress: ZERO"); devAddress = _devAddress; } function setFeeAddress(address _feeAddress) external { require(msg.sender == feeAddress, "setFeeAddress: FORBIDDEN"); require(_feeAddress != address(0), "setFeeAddress: ZERO"); feeAddress = _feeAddress; } // Update the token referral contract address by the owner function setTokenReferral(ITokenReferral _tokenReferral) external onlyOwner { tokenReferral = _tokenReferral; } // Update referral commission rate by the owner function setReferralCommissionRate(uint16 _referralCommissionRate) external onlyOwner { require(_referralCommissionRate <= MAXIMUM_REFERRAL_COMMISSION_RATE, "setReferralCommissionRate: invalid referral commission rate basis points"); referralCommissionRate = _referralCommissionRate; } // Pay referral commission to the referrer who referred this user. function payReferralCommission(address _user, uint256 _pending) internal { if (address(tokenReferral) != address(0) && referralCommissionRate > 0) { address referrer = tokenReferral.getReferrer(_user); uint256 commissionAmount = _pending.mul(referralCommissionRate).div(10000); if (referrer != address(0) && commissionAmount > 0) { mint(referrer, commissionAmount); tokenReferral.recordReferralCommission(referrer, commissionAmount); emit ReferralCommissionPaid(_user, referrer, commissionAmount); } } } function addBalance(uint256 _amount, uint256 _endBlock) external onlyOwner { require( _amount > 0 , "err _amount=0"); require( _endBlock > block.number , "err start<=block"); // Note: finding by auditors. uint256 oldBalance = token.balanceOf(address(this)); token.safeTransferFrom(msg.sender, address(this), _amount); uint256 newBalance = token.balanceOf(address(this)); _amount = newBalance.sub(oldBalance); endBlock = _endBlock; treasure = treasure.add(_amount); blocks = _endBlock - block.number; tokenPerBlock = treasure.div(blocks); startBlock = block.number; } function mint(address to, uint256 amount ) internal { if( amount > treasure ){ // treasure is 0, stop emission. tokenPerBlock = 0; amount = treasure; // last ming } treasure = treasure.sub(amount); allocated = allocated.add(amount); emit Mint(to, amount); } // Safe token transfer function, just in case if rounding error causes pool to not have enough Archieneko. function safeTokenTransfer(address _to, uint256 _amount) internal { uint256 tokenBal = token.balanceOf(address(this)); if (_amount > tokenBal) { token.transfer(_to, tokenBal); } else { token.transfer(_to, _amount); } } function getBlock() public view returns (uint256) { return block.number; } function recoverTreasure( IERC20 recoverToken, uint256 amount) external onlyOwner{ uint256 length = poolInfo.length; for (uint256 pid = 1; pid < length; ++pid) { require(recoverToken != poolInfo[pid].lpToken,"can't transfer lp"); } require(block.number > endBlock, "can recover only farming end."); // allow treasure recover unused/lost funds recoverToken.transfer(devAddress, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"_startBlock","type":"uint256"},{"internalType":"uint256","name":"_tokenPerBlock","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":"caller","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"EmissionRateUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"referrer","type":"address"},{"indexed":false,"internalType":"uint256","name":"commissionAmount","type":"uint256"}],"name":"ReferralCommissionPaid","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":"amountLockedUp","type":"uint256"}],"name":"RewardLockedUp","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":[],"name":"BONUS_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAXIMUM_REFERRAL_COMMISSION_RATE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"contract IERC20","name":"_lpToken","type":"address"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint16","name":"_emergencyWithdrawFeeBP","type":"uint16"},{"internalType":"uint256","name":"_harvestInterval","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_withdrawLockPeriod","type":"uint256"}],"name":"add","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_endBlock","type":"uint256"}],"name":"addBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"allocated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"blocks","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"canHarvest","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_referrer","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"}],"name":"emergencyWithdaw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_from","type":"uint256"},{"internalType":"uint256","name":"_to","type":"uint256"}],"name":"getMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"massUpdatePools","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"address","name":"_user","type":"address"}],"name":"pendingToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"poolInfo","outputs":[{"internalType":"contract IERC20","name":"lpToken","type":"address"},{"internalType":"uint256","name":"allocPoint","type":"uint256"},{"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"internalType":"uint256","name":"accTokenPerShare","type":"uint256"},{"internalType":"uint16","name":"depositFeeBP","type":"uint16"},{"internalType":"uint16","name":"emergencyWithdrawFeeBP","type":"uint16"},{"internalType":"uint256","name":"harvestInterval","type":"uint256"},{"internalType":"uint256","name":"withdrawLockPeriod","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"poolLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"recoverToken","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"recoverTreasure","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"referralCommissionRate","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_pid","type":"uint256"},{"internalType":"uint256","name":"_allocPoint","type":"uint256"},{"internalType":"uint16","name":"_depositFeeBP","type":"uint16"},{"internalType":"uint16","name":"_emergencyWithdrawFeeBP","type":"uint16"},{"internalType":"uint256","name":"_harvestInterval","type":"uint256"},{"internalType":"bool","name":"_withUpdate","type":"bool"},{"internalType":"uint256","name":"_withdrawLockPeriod","type":"uint256"}],"name":"set","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_devAddress","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_feeAddress","type":"address"}],"name":"setFeeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"_referralCommissionRate","type":"uint16"}],"name":"setReferralCommissionRate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITokenReferral","name":"_tokenReferral","type":"address"}],"name":"setTokenReferral","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenReferral","outputs":[{"internalType":"contract ITokenReferral","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalAllocPoint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalLockedUpRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasure","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"},{"internalType":"uint256","name":"rewardLockedUp","type":"uint256"},{"internalType":"uint256","name":"nextHarvestUntil","type":"uint256"},{"internalType":"uint256","name":"lastDepositTime","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
60806040526000600855600c805461ffff60a01b1916601960a21b1790553480156200002a57600080fd5b5060405162002e5a38038062002e5a833981810160405260608110156200005057600080fd5b508051602082015160409092015190919060006200006d62000182565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35060018055600280546001600160a01b0319166001600160a01b03858116919091179182905560098490556005839055604080516370a0823160e01b8152306004820152905192909116916370a0823191602480820192602092909190829003018186803b1580156200012857600080fd5b505afa1580156200013d573d6000803e3d6000fd5b505050506040513d60208110156200015457600080fd5b505060038054336001600160a01b031991821681179092556004805490911690911790555062000186915050565b3390565b612cc480620001966000396000f3fe608060405234801561001057600080fd5b50600436106102325760003560e01c8063630b5ba111610130578063967ff23e116100b8578063d30ef61b1161007c578063d30ef61b14610624578063dbd3d3021461062c578063e520fc7e14610677578063f2fde38b1461067f578063fc0c546a146106a557610232565b8063967ff23e1461059f578063a40398a6146105a7578063b304b2e1146105ca578063c816a54c146105d2578063d0d41fe1146105fe57610232565b80638aa28550116100ff5780638aa28550146104e35780638da5cb5b146104eb5780638dbb1e3a146104f35780638dbdbe6d1461051657806393f1a40b1461054857610232565b8063630b5ba114610459578063715018a61461046157806380392ad1146104695780638705fcd4146104bd57610232565b806341443304116101be57806348cd4cb11161018257806348cd4cb1146103c157806348e43af4146103c957806351eb05a6146103f557806355dbc826146104125780635f8b6ff01461043357610232565b806341443304146103675780634198709a1461036f578063441a3e7014610377578063474fa6301461039a57806348b22bfb146103a257610232565b806329d92b1c1161020557806329d92b1c146102d45780632e6c998d146102f35780632e97766d146103335780633ad10ef61461033b578063412753581461035f57610232565b8063081e3eda14610237578063083c6323146102515780631526fe271461025957806317caf6f1146102cc575b600080fd5b61023f6106ad565b60408051918252519081900360200190f35b61023f6106b3565b6102766004803603602081101561026f57600080fd5b50356106b9565b604080516001600160a01b03909a168a5260208a019890985288880196909652606088019490945261ffff9283166080880152911660a086015260c085015260e084015261010083015251908190036101200190f35b61023f610725565b6102f1600480360360208110156102ea57600080fd5b503561072b565b005b61031f6004803603604081101561030957600080fd5b50803590602001356001600160a01b03166108c0565b604080519115158252519081900360200190f35b61023f6108f0565b6103436108f4565b604080516001600160a01b039092168252519081900360200190f35b610343610903565b610343610912565b61023f610921565b6102f16004803603604081101561038d57600080fd5b5080359060200135610927565b61023f610b1e565b6103aa610b24565b6040805161ffff9092168252519081900360200190f35b61023f610b2a565b61023f600480360360408110156103df57600080fd5b50803590602001356001600160a01b0316610b30565b6102f16004803603602081101561040b57600080fd5b5035610c66565b6102f16004803603602081101561042857600080fd5b503561ffff16610d4a565b6102f16004803603602081101561044957600080fd5b50356001600160a01b0316610e13565b6102f1610e97565b6102f1610eba565b6102f1600480360360e081101561047f57600080fd5b508035906001600160a01b036020820135169061ffff604082013581169160608101359091169060808101359060a081013515159060c00135610f66565b6102f1600480360360208110156104d357600080fd5b50356001600160a01b0316611376565b61023f611448565b61034361144d565b61023f6004803603604081101561050957600080fd5b508035906020013561145c565b6102f16004803603606081101561052c57600080fd5b50803590602081013590604001356001600160a01b0316611487565b6105746004803603604081101561055e57600080fd5b50803590602001356001600160a01b03166117f4565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b61023f61182e565b6102f1600480360360408110156105bd57600080fd5b5080359060200135611834565b61023f611a70565b6102f1600480360360408110156105e857600080fd5b506001600160a01b038135169060200135611a76565b6102f16004803603602081101561061457600080fd5b50356001600160a01b0316611c3e565b6103aa611d10565b6102f1600480360360e081101561064257600080fd5b5080359060208101359061ffff604082013581169160608101359091169060808101359060a081013515159060c00135611d21565b61023f611fdc565b6102f16004803603602081101561069557600080fd5b50356001600160a01b0316611fe2565b6103436120e4565b60065490565b600a5481565b600681815481106106c657fe5b6000918252602090912060089091020180546001820154600283015460038401546004850154600586015460068701546007909701546001600160a01b03909616975093959294919361ffff8083169462010000909304169290919089565b60085481565b60026001541415610783576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555060006006828154811061079a57fe5b60009182526020808320858452600780835260408086203387529093529190932080546008909302909301908101549093506107d690826120f3565b60078401556000808355600183018190556002830181905560038301819055600484015462010000900461ffff1615610865576004840154600090610834906127109061082e90869062010000900461ffff16612150565b906121a9565b6004548654919250610853916001600160a01b03908116911683612210565b61085d83826120f3565b915050610868565b50805b835461087e906001600160a01b03163383612210565b604080518281529051869133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a3505060018055505050565b60008281526007602090815260408083206001600160a01b03851684529091529020600301544210155b92915050565b4390565b6003546001600160a01b031681565b6004546001600160a01b031681565b600c546001600160a01b031681565b60055481565b6002600154141561097f576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555060006006838154811061099657fe5b600091825260208083208684526007825260408085203386529092529220805460089092029092019250831115610a09576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610a1284610c66565b610a1b84612267565b8215610abd57600682015415610a8557600682015460048201540142108015610a83576040805162461bcd60e51b81526020600482015260156024820152741dda5d1a191c985dc81cdd1a5b1b081b1bd8dad959605a1b604482015290519081900360640190fd5b505b8054610a9190846120f3565b81556007820154610aa290846120f3565b60078301558154610abd906001600160a01b03163385612210565b60038201548154610ad89164e8d4a510009161082e91612150565b6001820155604080518481529051859133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050600180555050565b600b5481565b6103e881565b60095481565b60008060068481548110610b4057fe5b60009182526020808320878452600780835260408086206001600160a01b038a16875290935291842060089390930201600381015491810154600a54919550929391929190431115610b9457600a54610b96565b435b9050846002015481118015610baa57508115155b15610c10576000610bbf86600201548361145c565b90506000610bec60085461082e8960010154610be66005548761215090919063ffffffff16565b90612150565b9050610c0b610c048561082e8464e8d4a51000612150565b86906123ea565b945050505b6000610c408560010154610c3a64e8d4a5100061082e888a6000015461215090919063ffffffff16565b906120f3565b9050610c598560020154826123ea90919063ffffffff16565b9998505050505050505050565b600060068281548110610c7557fe5b906000526020600020906008020190506000600a54431115610c9957600a54610c9b565b435b905081600201548111610caf575050610d47565b6007820154801580610cc357506001830154155b15610cd45750600290910155610d47565b6000610ce484600201548461145c565b90506000610d0b60085461082e8760010154610be66005548761215090919063ffffffff16565b9050610d173082612444565b610d38610d2d8461082e8464e8d4a51000612150565b6003870154906123ea565b60038601555050506002909101555b50565b610d526124c0565b6001600160a01b0316610d6361144d565b6001600160a01b031614610dac576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b6103e861ffff82161115610df15760405162461bcd60e51b8152600401808060200182810382526048815260200180612b1a6048913960600191505060405180910390fd5b600c805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b610e1b6124c0565b6001600160a01b0316610e2c61144d565b6001600160a01b031614610e75576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60065460005b81811015610eb657610eae81610c66565b600101610e9d565b5050565b610ec26124c0565b6001600160a01b0316610ed361144d565b6001600160a01b031614610f1c576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610f6e6124c0565b6001600160a01b0316610f7f61144d565b6001600160a01b031614610fc8576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b6107d08561ffff16111561100d5760405162461bcd60e51b8152600401808060200182810382526025815260200180612af56025913960400191505060405180910390fd5b6107d08461ffff1611156110525760405162461bcd60e51b815260040180806020018281038252602a815260200180612c3b602a913960400191505060405180910390fd5b6276a7008111156110945760405162461bcd60e51b8152600401808060200182810382526027815260200180612b886027913960400191505060405180910390fd5b6276a7008311156110ec576040805162461bcd60e51b815260206004820152601d60248201527f6164643a20696e76616c6964206861727665737420696e74657276616c000000604482015290519081900360640190fd5b81156110fa576110fa610e97565b604080516370a0823160e01b815230600482015290516001600160a01b038816916370a08231916024808301926020929190829003018186803b15801561114057600080fd5b505afa158015611154573d6000803e3d6000fd5b505050506040513d602081101561116a57600080fd5b5050600954600090431161118057600954611182565b435b60085490915061119290896123ea565b600890815560408051610120810182526001600160a01b03998a168152602081019a8b5290810192835260006060820181815261ffff998a1660808401908152988a1660a0840190815260c0840198895260e0840196875261010084018381526006805460018101825594529351929094027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f8101805493909c166001600160a01b031990931692909217909a5599517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d408b015591517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d418a015596517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4289015593517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d438801805497518716620100000263ffff0000199290971661ffff19909816979097171694909417909455517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4485015590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d45840155517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d469092019190915550565b6004546001600160a01b031633146113d5576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b6001600160a01b038116611426576040805162461bcd60e51b8152602060048201526013602482015272736574466565416464726573733a205a45524f60681b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600181565b6000546001600160a01b031690565b6000600d5460001415611471575060006108ea565b6114806001610be684866120f3565b9392505050565b600260015414156114df576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026001819055506000600684815481106114f657fe5b6000918252602080832087845260078252604080852033865290925292206008909102909101915061152785610c66565b6000841180156115415750600c546001600160a01b031615155b801561155557506001600160a01b03831615155b801561156a57506001600160a01b0383163314155b156115dc57600c5460408051630c7f7b6b60e01b81523360048201526001600160a01b03868116602483015291519190921691630c7f7b6b91604480830192600092919082900301818387803b1580156115c357600080fd5b505af11580156115d7573d6000803e3d6000fd5b505050505b6115e585612267565b8315611792578154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561163557600080fd5b505afa158015611649573d6000803e3d6000fd5b505050506040513d602081101561165f57600080fd5b5051835490915061167b906001600160a01b03163330886124c4565b8254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156116c557600080fd5b505afa1580156116d9573d6000803e3d6000fd5b505050506040513d60208110156116ef57600080fd5b505190506116fd81836120f3565b600785015490965061170f90876123ea565b6007850155600484015461ffff161561177a576004840154600090611741906127109061082e908a9061ffff16612150565b6004548654919250611760916001600160a01b03908116911683612210565b8354611772908290610c3a908a6123ea565b845550611789565b825461178690876123ea565b83555b50504260048201555b600382015481546117ad9164e8d4a510009161082e91612150565b6001820155604080518581529051869133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505060018055505050565b6007602090815260009283526040808420909152908252902080546001820154600283015460038401546004909401549293919290919085565b600f5481565b61183c6124c0565b6001600160a01b031661184d61144d565b6001600160a01b031614611896576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b600082116118db576040805162461bcd60e51b815260206004820152600d60248201526c0657272205f616d6f756e743d3609c1b604482015290519081900360640190fd5b438111611922576040805162461bcd60e51b815260206004820152601060248201526f6572722073746172743c3d626c6f636b60801b604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561196d57600080fd5b505afa158015611981573d6000803e3d6000fd5b505050506040513d602081101561199757600080fd5b50516002549091506119b4906001600160a01b03163330866124c4565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156119ff57600080fd5b505afa158015611a13573d6000803e3d6000fd5b505050506040513d6020811015611a2957600080fd5b50519050611a3781836120f3565b600a849055600d54909450611a4c90856123ea565b600d819055438403600f819055611a6391906121a9565b6005555050436009555050565b600e5481565b611a7e6124c0565b6001600160a01b0316611a8f61144d565b6001600160a01b031614611ad8576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b60065460015b81811015611b605760068181548110611af357fe5b60009182526020909120600890910201546001600160a01b0385811691161415611b58576040805162461bcd60e51b8152602060048201526011602482015270063616e2774207472616e73666572206c7607c1b604482015290519081900360640190fd5b600101611ade565b50600a544311611bb7576040805162461bcd60e51b815260206004820152601d60248201527f63616e207265636f766572206f6e6c79206661726d696e6720656e642e000000604482015290519081900360640190fd5b6003546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810185905290519185169163a9059cbb916044808201926020929091908290030181600087803b158015611c0d57600080fd5b505af1158015611c21573d6000803e3d6000fd5b505050506040513d6020811015611c3757600080fd5b5050505050565b6003546001600160a01b03163314611c9d576040805162461bcd60e51b815260206004820152601860248201527f736574446576416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b6001600160a01b038116611cee576040805162461bcd60e51b8152602060048201526013602482015272736574446576416464726573733a205a45524f60681b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b600c54600160a01b900461ffff1681565b611d296124c0565b6001600160a01b0316611d3a61144d565b6001600160a01b031614611d83576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b6107d08561ffff161115611dc85760405162461bcd60e51b8152600401808060200182810382526025815260200180612bf66025913960400191505060405180910390fd5b6107d08461ffff161115611e0d5760405162461bcd60e51b815260040180806020018281038252602a815260200180612c3b602a913960400191505060405180910390fd5b6276a700811115611e4f5760405162461bcd60e51b8152600401808060200182810382526027815260200180612b886027913960400191505060405180910390fd5b6276a700831115611ea7576040805162461bcd60e51b815260206004820152601d60248201527f7365743a20696e76616c6964206861727665737420696e74657276616c000000604482015290519081900360640190fd5b8115611eb557611eb5610e97565b611ef286611eec60068a81548110611ec957fe5b9060005260206000209060080201600101546008546120f390919063ffffffff16565b906123ea565b6008819055508560068881548110611f0657fe5b9060005260206000209060080201600101819055508460068881548110611f2957fe5b906000526020600020906008020160040160006101000a81548161ffff021916908361ffff1602179055508360068881548110611f6257fe5b906000526020600020906008020160040160026101000a81548161ffff021916908361ffff1602179055508260068881548110611f9b57fe5b9060005260206000209060080201600501819055508060068881548110611fbe57fe5b90600052602060002090600802016006018190555050505050505050565b600d5481565b611fea6124c0565b6001600160a01b0316611ffb61144d565b6001600160a01b031614612044576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b6001600160a01b0381166120895760405162461bcd60e51b8152600401808060200182810382526026815260200180612b626026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b60008282111561214a576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261215f575060006108ea565b8282028284828161216c57fe5b04146114805760405162461bcd60e51b8152600401808060200182810382526021815260200180612bd56021913960400191505060405180910390fd5b60008082116121ff576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161220857fe5b049392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261226290849061251a565b505050565b60006006828154811061227657fe5b6000918252602080832085845260078252604080852033865290925292206003810154600890920290920192506122bd5760058201546122b79042906123ea565b60038201555b60006122eb8260010154610c3a64e8d4a5100061082e8760030154876000015461215090919063ffffffff16565b90506122f784336108c0565b1561238257600081118061230f575060008260020154115b1561237d57600061232d8360020154836123ea90919063ffffffff16565b90506123488360020154600b546120f390919063ffffffff16565b600b556000600284015560058401546123629042906123ea565b600384015561237133826125cb565b61237b338261272a565b505b6123e4565b80156123e457600282015461239790826123ea565b6002830155600b546123a990826123ea565b600b55604080518281529051859133917fee470483107f579a55c754fa00613c45a9a3b617a418b39cb0be97e5381ba7c19181900360200190a35b50505050565b600082820183811015611480576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600d5481111561245857506000600555600d545b600d5461246590826120f3565b600d55600e5461247590826123ea565b600e55604080516001600160a01b03841681526020810183905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a15050565b3390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526123e49085905b606061256f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166128d79092919063ffffffff16565b8051909150156122625780806020019051602081101561258e57600080fd5b50516122625760405162461bcd60e51b815260040180806020018281038252602a815260200180612c65602a913960400191505060405180910390fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561261657600080fd5b505afa15801561262a573d6000803e3d6000fd5b505050506040513d602081101561264057600080fd5b50519050808211156126d4576002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156126a257600080fd5b505af11580156126b6573d6000803e3d6000fd5b505050506040513d60208110156126cc57600080fd5b506122629050565b6002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611c0d57600080fd5b600c546001600160a01b0316158015906127505750600c54600160a01b900461ffff1615155b15610eb657600c5460408051634a9fefc760e01b81526001600160a01b03858116600483015291516000939290921691634a9fefc791602480820192602092909190829003018186803b1580156127a657600080fd5b505afa1580156127ba573d6000803e3d6000fd5b505050506040513d60208110156127d057600080fd5b5051600c549091506000906127f9906127109061082e908690600160a01b900461ffff16612150565b90506001600160a01b038216158015906128135750600081115b156123e4576128228282612444565b600c5460408051631b82d29760e31b81526001600160a01b038581166004830152602482018590529151919092169163dc1694b891604480830192600092919082900301818387803b15801561287757600080fd5b505af115801561288b573d6000803e3d6000fd5b50506040805184815290516001600160a01b038087169450881692507f86ddab457291316e0f5496737e5ca67c4037234c32c3be04c48ae96186893a7b9181900360200190a350505050565b60606128e684846000856128ee565b949350505050565b60608247101561292f5760405162461bcd60e51b8152600401808060200182810382526026815260200180612baf6026913960400191505060405180910390fd5b61293885612a4a565b612989576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106129c85780518252601f1990920191602091820191016129a9565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612a2a576040519150601f19603f3d011682016040523d82523d6000602084013e612a2f565b606091505b5091509150612a3f828286612a50565b979650505050505050565b3b151590565b60608315612a5f575081611480565b825115612a6f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612ab9578181015183820152602001612aa1565b50505050905090810190601f168015612ae65780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e7473736574526566657272616c436f6d6d697373696f6e526174653a20696e76616c696420726566657272616c20636f6d6d697373696f6e207261746520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573737769746864726177206c6f636b206d757374206265206c657373207468616e2039302064617973416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572696e7661696c6420656d657267656e637977697468647261772066656520626173697320706f696e74735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220bc12f61b0d69c383cf50d5c5a98f6f2d1e5e490a5a82d2df2d73271f546ed4ef64736f6c634300060c0033000000000000000000000000fe5f69dfa2d4501e78078266f6d430c079098f900000000000000000000000000000000000000000000000000000000000dd6e580000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102325760003560e01c8063630b5ba111610130578063967ff23e116100b8578063d30ef61b1161007c578063d30ef61b14610624578063dbd3d3021461062c578063e520fc7e14610677578063f2fde38b1461067f578063fc0c546a146106a557610232565b8063967ff23e1461059f578063a40398a6146105a7578063b304b2e1146105ca578063c816a54c146105d2578063d0d41fe1146105fe57610232565b80638aa28550116100ff5780638aa28550146104e35780638da5cb5b146104eb5780638dbb1e3a146104f35780638dbdbe6d1461051657806393f1a40b1461054857610232565b8063630b5ba114610459578063715018a61461046157806380392ad1146104695780638705fcd4146104bd57610232565b806341443304116101be57806348cd4cb11161018257806348cd4cb1146103c157806348e43af4146103c957806351eb05a6146103f557806355dbc826146104125780635f8b6ff01461043357610232565b806341443304146103675780634198709a1461036f578063441a3e7014610377578063474fa6301461039a57806348b22bfb146103a257610232565b806329d92b1c1161020557806329d92b1c146102d45780632e6c998d146102f35780632e97766d146103335780633ad10ef61461033b578063412753581461035f57610232565b8063081e3eda14610237578063083c6323146102515780631526fe271461025957806317caf6f1146102cc575b600080fd5b61023f6106ad565b60408051918252519081900360200190f35b61023f6106b3565b6102766004803603602081101561026f57600080fd5b50356106b9565b604080516001600160a01b03909a168a5260208a019890985288880196909652606088019490945261ffff9283166080880152911660a086015260c085015260e084015261010083015251908190036101200190f35b61023f610725565b6102f1600480360360208110156102ea57600080fd5b503561072b565b005b61031f6004803603604081101561030957600080fd5b50803590602001356001600160a01b03166108c0565b604080519115158252519081900360200190f35b61023f6108f0565b6103436108f4565b604080516001600160a01b039092168252519081900360200190f35b610343610903565b610343610912565b61023f610921565b6102f16004803603604081101561038d57600080fd5b5080359060200135610927565b61023f610b1e565b6103aa610b24565b6040805161ffff9092168252519081900360200190f35b61023f610b2a565b61023f600480360360408110156103df57600080fd5b50803590602001356001600160a01b0316610b30565b6102f16004803603602081101561040b57600080fd5b5035610c66565b6102f16004803603602081101561042857600080fd5b503561ffff16610d4a565b6102f16004803603602081101561044957600080fd5b50356001600160a01b0316610e13565b6102f1610e97565b6102f1610eba565b6102f1600480360360e081101561047f57600080fd5b508035906001600160a01b036020820135169061ffff604082013581169160608101359091169060808101359060a081013515159060c00135610f66565b6102f1600480360360208110156104d357600080fd5b50356001600160a01b0316611376565b61023f611448565b61034361144d565b61023f6004803603604081101561050957600080fd5b508035906020013561145c565b6102f16004803603606081101561052c57600080fd5b50803590602081013590604001356001600160a01b0316611487565b6105746004803603604081101561055e57600080fd5b50803590602001356001600160a01b03166117f4565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b61023f61182e565b6102f1600480360360408110156105bd57600080fd5b5080359060200135611834565b61023f611a70565b6102f1600480360360408110156105e857600080fd5b506001600160a01b038135169060200135611a76565b6102f16004803603602081101561061457600080fd5b50356001600160a01b0316611c3e565b6103aa611d10565b6102f1600480360360e081101561064257600080fd5b5080359060208101359061ffff604082013581169160608101359091169060808101359060a081013515159060c00135611d21565b61023f611fdc565b6102f16004803603602081101561069557600080fd5b50356001600160a01b0316611fe2565b6103436120e4565b60065490565b600a5481565b600681815481106106c657fe5b6000918252602090912060089091020180546001820154600283015460038401546004850154600586015460068701546007909701546001600160a01b03909616975093959294919361ffff8083169462010000909304169290919089565b60085481565b60026001541415610783576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555060006006828154811061079a57fe5b60009182526020808320858452600780835260408086203387529093529190932080546008909302909301908101549093506107d690826120f3565b60078401556000808355600183018190556002830181905560038301819055600484015462010000900461ffff1615610865576004840154600090610834906127109061082e90869062010000900461ffff16612150565b906121a9565b6004548654919250610853916001600160a01b03908116911683612210565b61085d83826120f3565b915050610868565b50805b835461087e906001600160a01b03163383612210565b604080518281529051869133917fbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae05959181900360200190a3505060018055505050565b60008281526007602090815260408083206001600160a01b03851684529091529020600301544210155b92915050565b4390565b6003546001600160a01b031681565b6004546001600160a01b031681565b600c546001600160a01b031681565b60055481565b6002600154141561097f576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260018190555060006006838154811061099657fe5b600091825260208083208684526007825260408085203386529092529220805460089092029092019250831115610a09576040805162461bcd60e51b81526020600482015260126024820152711dda5d1a191c985dce881b9bdd0819dbdbd960721b604482015290519081900360640190fd5b610a1284610c66565b610a1b84612267565b8215610abd57600682015415610a8557600682015460048201540142108015610a83576040805162461bcd60e51b81526020600482015260156024820152741dda5d1a191c985dc81cdd1a5b1b081b1bd8dad959605a1b604482015290519081900360640190fd5b505b8054610a9190846120f3565b81556007820154610aa290846120f3565b60078301558154610abd906001600160a01b03163385612210565b60038201548154610ad89164e8d4a510009161082e91612150565b6001820155604080518481529051859133917ff279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b5689181900360200190a35050600180555050565b600b5481565b6103e881565b60095481565b60008060068481548110610b4057fe5b60009182526020808320878452600780835260408086206001600160a01b038a16875290935291842060089390930201600381015491810154600a54919550929391929190431115610b9457600a54610b96565b435b9050846002015481118015610baa57508115155b15610c10576000610bbf86600201548361145c565b90506000610bec60085461082e8960010154610be66005548761215090919063ffffffff16565b90612150565b9050610c0b610c048561082e8464e8d4a51000612150565b86906123ea565b945050505b6000610c408560010154610c3a64e8d4a5100061082e888a6000015461215090919063ffffffff16565b906120f3565b9050610c598560020154826123ea90919063ffffffff16565b9998505050505050505050565b600060068281548110610c7557fe5b906000526020600020906008020190506000600a54431115610c9957600a54610c9b565b435b905081600201548111610caf575050610d47565b6007820154801580610cc357506001830154155b15610cd45750600290910155610d47565b6000610ce484600201548461145c565b90506000610d0b60085461082e8760010154610be66005548761215090919063ffffffff16565b9050610d173082612444565b610d38610d2d8461082e8464e8d4a51000612150565b6003870154906123ea565b60038601555050506002909101555b50565b610d526124c0565b6001600160a01b0316610d6361144d565b6001600160a01b031614610dac576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b6103e861ffff82161115610df15760405162461bcd60e51b8152600401808060200182810382526048815260200180612b1a6048913960600191505060405180910390fd5b600c805461ffff909216600160a01b0261ffff60a01b19909216919091179055565b610e1b6124c0565b6001600160a01b0316610e2c61144d565b6001600160a01b031614610e75576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b60065460005b81811015610eb657610eae81610c66565b600101610e9d565b5050565b610ec26124c0565b6001600160a01b0316610ed361144d565b6001600160a01b031614610f1c576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610f6e6124c0565b6001600160a01b0316610f7f61144d565b6001600160a01b031614610fc8576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b6107d08561ffff16111561100d5760405162461bcd60e51b8152600401808060200182810382526025815260200180612af56025913960400191505060405180910390fd5b6107d08461ffff1611156110525760405162461bcd60e51b815260040180806020018281038252602a815260200180612c3b602a913960400191505060405180910390fd5b6276a7008111156110945760405162461bcd60e51b8152600401808060200182810382526027815260200180612b886027913960400191505060405180910390fd5b6276a7008311156110ec576040805162461bcd60e51b815260206004820152601d60248201527f6164643a20696e76616c6964206861727665737420696e74657276616c000000604482015290519081900360640190fd5b81156110fa576110fa610e97565b604080516370a0823160e01b815230600482015290516001600160a01b038816916370a08231916024808301926020929190829003018186803b15801561114057600080fd5b505afa158015611154573d6000803e3d6000fd5b505050506040513d602081101561116a57600080fd5b5050600954600090431161118057600954611182565b435b60085490915061119290896123ea565b600890815560408051610120810182526001600160a01b03998a168152602081019a8b5290810192835260006060820181815261ffff998a1660808401908152988a1660a0840190815260c0840198895260e0840196875261010084018381526006805460018101825594529351929094027ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f8101805493909c166001600160a01b031990931692909217909a5599517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d408b015591517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d418a015596517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4289015593517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d438801805497518716620100000263ffff0000199290971661ffff19909816979097171694909417909455517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d4485015590517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d45840155517ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d469092019190915550565b6004546001600160a01b031633146113d5576040805162461bcd60e51b815260206004820152601860248201527f736574466565416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b6001600160a01b038116611426576040805162461bcd60e51b8152602060048201526013602482015272736574466565416464726573733a205a45524f60681b604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b600181565b6000546001600160a01b031690565b6000600d5460001415611471575060006108ea565b6114806001610be684866120f3565b9392505050565b600260015414156114df576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60026001819055506000600684815481106114f657fe5b6000918252602080832087845260078252604080852033865290925292206008909102909101915061152785610c66565b6000841180156115415750600c546001600160a01b031615155b801561155557506001600160a01b03831615155b801561156a57506001600160a01b0383163314155b156115dc57600c5460408051630c7f7b6b60e01b81523360048201526001600160a01b03868116602483015291519190921691630c7f7b6b91604480830192600092919082900301818387803b1580156115c357600080fd5b505af11580156115d7573d6000803e3d6000fd5b505050505b6115e585612267565b8315611792578154604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561163557600080fd5b505afa158015611649573d6000803e3d6000fd5b505050506040513d602081101561165f57600080fd5b5051835490915061167b906001600160a01b03163330886124c4565b8254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156116c557600080fd5b505afa1580156116d9573d6000803e3d6000fd5b505050506040513d60208110156116ef57600080fd5b505190506116fd81836120f3565b600785015490965061170f90876123ea565b6007850155600484015461ffff161561177a576004840154600090611741906127109061082e908a9061ffff16612150565b6004548654919250611760916001600160a01b03908116911683612210565b8354611772908290610c3a908a6123ea565b845550611789565b825461178690876123ea565b83555b50504260048201555b600382015481546117ad9164e8d4a510009161082e91612150565b6001820155604080518581529051869133917f90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a159181900360200190a3505060018055505050565b6007602090815260009283526040808420909152908252902080546001820154600283015460038401546004909401549293919290919085565b600f5481565b61183c6124c0565b6001600160a01b031661184d61144d565b6001600160a01b031614611896576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b600082116118db576040805162461bcd60e51b815260206004820152600d60248201526c0657272205f616d6f756e743d3609c1b604482015290519081900360640190fd5b438111611922576040805162461bcd60e51b815260206004820152601060248201526f6572722073746172743c3d626c6f636b60801b604482015290519081900360640190fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561196d57600080fd5b505afa158015611981573d6000803e3d6000fd5b505050506040513d602081101561199757600080fd5b50516002549091506119b4906001600160a01b03163330866124c4565b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b1580156119ff57600080fd5b505afa158015611a13573d6000803e3d6000fd5b505050506040513d6020811015611a2957600080fd5b50519050611a3781836120f3565b600a849055600d54909450611a4c90856123ea565b600d819055438403600f819055611a6391906121a9565b6005555050436009555050565b600e5481565b611a7e6124c0565b6001600160a01b0316611a8f61144d565b6001600160a01b031614611ad8576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b60065460015b81811015611b605760068181548110611af357fe5b60009182526020909120600890910201546001600160a01b0385811691161415611b58576040805162461bcd60e51b8152602060048201526011602482015270063616e2774207472616e73666572206c7607c1b604482015290519081900360640190fd5b600101611ade565b50600a544311611bb7576040805162461bcd60e51b815260206004820152601d60248201527f63616e207265636f766572206f6e6c79206661726d696e6720656e642e000000604482015290519081900360640190fd5b6003546040805163a9059cbb60e01b81526001600160a01b0392831660048201526024810185905290519185169163a9059cbb916044808201926020929091908290030181600087803b158015611c0d57600080fd5b505af1158015611c21573d6000803e3d6000fd5b505050506040513d6020811015611c3757600080fd5b5050505050565b6003546001600160a01b03163314611c9d576040805162461bcd60e51b815260206004820152601860248201527f736574446576416464726573733a20464f5242494444454e0000000000000000604482015290519081900360640190fd5b6001600160a01b038116611cee576040805162461bcd60e51b8152602060048201526013602482015272736574446576416464726573733a205a45524f60681b604482015290519081900360640190fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b600c54600160a01b900461ffff1681565b611d296124c0565b6001600160a01b0316611d3a61144d565b6001600160a01b031614611d83576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b6107d08561ffff161115611dc85760405162461bcd60e51b8152600401808060200182810382526025815260200180612bf66025913960400191505060405180910390fd5b6107d08461ffff161115611e0d5760405162461bcd60e51b815260040180806020018281038252602a815260200180612c3b602a913960400191505060405180910390fd5b6276a700811115611e4f5760405162461bcd60e51b8152600401808060200182810382526027815260200180612b886027913960400191505060405180910390fd5b6276a700831115611ea7576040805162461bcd60e51b815260206004820152601d60248201527f7365743a20696e76616c6964206861727665737420696e74657276616c000000604482015290519081900360640190fd5b8115611eb557611eb5610e97565b611ef286611eec60068a81548110611ec957fe5b9060005260206000209060080201600101546008546120f390919063ffffffff16565b906123ea565b6008819055508560068881548110611f0657fe5b9060005260206000209060080201600101819055508460068881548110611f2957fe5b906000526020600020906008020160040160006101000a81548161ffff021916908361ffff1602179055508360068881548110611f6257fe5b906000526020600020906008020160040160026101000a81548161ffff021916908361ffff1602179055508260068881548110611f9b57fe5b9060005260206000209060080201600501819055508060068881548110611fbe57fe5b90600052602060002090600802016006018190555050505050505050565b600d5481565b611fea6124c0565b6001600160a01b0316611ffb61144d565b6001600160a01b031614612044576040805162461bcd60e51b81526020600482018190526024820152600080516020612c1b833981519152604482015290519081900360640190fd5b6001600160a01b0381166120895760405162461bcd60e51b8152600401808060200182810382526026815260200180612b626026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6002546001600160a01b031681565b60008282111561214a576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b60008261215f575060006108ea565b8282028284828161216c57fe5b04146114805760405162461bcd60e51b8152600401808060200182810382526021815260200180612bd56021913960400191505060405180910390fd5b60008082116121ff576040805162461bcd60e51b815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b81838161220857fe5b049392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261226290849061251a565b505050565b60006006828154811061227657fe5b6000918252602080832085845260078252604080852033865290925292206003810154600890920290920192506122bd5760058201546122b79042906123ea565b60038201555b60006122eb8260010154610c3a64e8d4a5100061082e8760030154876000015461215090919063ffffffff16565b90506122f784336108c0565b1561238257600081118061230f575060008260020154115b1561237d57600061232d8360020154836123ea90919063ffffffff16565b90506123488360020154600b546120f390919063ffffffff16565b600b556000600284015560058401546123629042906123ea565b600384015561237133826125cb565b61237b338261272a565b505b6123e4565b80156123e457600282015461239790826123ea565b6002830155600b546123a990826123ea565b600b55604080518281529051859133917fee470483107f579a55c754fa00613c45a9a3b617a418b39cb0be97e5381ba7c19181900360200190a35b50505050565b600082820183811015611480576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600d5481111561245857506000600555600d545b600d5461246590826120f3565b600d55600e5461247590826123ea565b600e55604080516001600160a01b03841681526020810183905281517f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885929181900390910190a15050565b3390565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526123e49085905b606061256f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166128d79092919063ffffffff16565b8051909150156122625780806020019051602081101561258e57600080fd5b50516122625760405162461bcd60e51b815260040180806020018281038252602a815260200180612c65602a913960400191505060405180910390fd5b600254604080516370a0823160e01b815230600482015290516000926001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561261657600080fd5b505afa15801561262a573d6000803e3d6000fd5b505050506040513d602081101561264057600080fd5b50519050808211156126d4576002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018590529151919092169163a9059cbb9160448083019260209291908290030181600087803b1580156126a257600080fd5b505af11580156126b6573d6000803e3d6000fd5b505050506040513d60208110156126cc57600080fd5b506122629050565b6002546040805163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529151919092169163a9059cbb9160448083019260209291908290030181600087803b158015611c0d57600080fd5b600c546001600160a01b0316158015906127505750600c54600160a01b900461ffff1615155b15610eb657600c5460408051634a9fefc760e01b81526001600160a01b03858116600483015291516000939290921691634a9fefc791602480820192602092909190829003018186803b1580156127a657600080fd5b505afa1580156127ba573d6000803e3d6000fd5b505050506040513d60208110156127d057600080fd5b5051600c549091506000906127f9906127109061082e908690600160a01b900461ffff16612150565b90506001600160a01b038216158015906128135750600081115b156123e4576128228282612444565b600c5460408051631b82d29760e31b81526001600160a01b038581166004830152602482018590529151919092169163dc1694b891604480830192600092919082900301818387803b15801561287757600080fd5b505af115801561288b573d6000803e3d6000fd5b50506040805184815290516001600160a01b038087169450881692507f86ddab457291316e0f5496737e5ca67c4037234c32c3be04c48ae96186893a7b9181900360200190a350505050565b60606128e684846000856128ee565b949350505050565b60608247101561292f5760405162461bcd60e51b8152600401808060200182810382526026815260200180612baf6026913960400191505060405180910390fd5b61293885612a4a565b612989576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106129c85780518252601f1990920191602091820191016129a9565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612a2a576040519150601f19603f3d011682016040523d82523d6000602084013e612a2f565b606091505b5091509150612a3f828286612a50565b979650505050505050565b3b151590565b60608315612a5f575081611480565b825115612a6f5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612ab9578181015183820152602001612aa1565b50505050905090810190601f168015612ae65780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe6164643a20696e76616c6964206465706f7369742066656520626173697320706f696e7473736574526566657272616c436f6d6d697373696f6e526174653a20696e76616c696420726566657272616c20636f6d6d697373696f6e207261746520626173697320706f696e74734f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573737769746864726177206c6f636b206d757374206265206c657373207468616e2039302064617973416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f777365743a20696e76616c6964206465706f7369742066656520626173697320706f696e74734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572696e7661696c6420656d657267656e637977697468647261772066656520626173697320706f696e74735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220bc12f61b0d69c383cf50d5c5a98f6f2d1e5e490a5a82d2df2d73271f546ed4ef64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000fe5f69dfa2d4501e78078266f6d430c079098f900000000000000000000000000000000000000000000000000000000000dd6e580000000000000000000000000000000000000000000000000000000000000001
-----Decoded View---------------
Arg [0] : _token (address): 0xFE5F69dfa2d4501E78078266F6d430c079098f90
Arg [1] : _startBlock (uint256): 14511704
Arg [2] : _tokenPerBlock (uint256): 1
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000fe5f69dfa2d4501e78078266f6d430c079098f90
Arg [1] : 0000000000000000000000000000000000000000000000000000000000dd6e58
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001
Deployed Bytecode Sourcemap
28516:18131:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32649:95;;;:::i;:::-;;;;;;;;;;;;;;;;31217:23;;;:::i;30847:26::-;;;;;;;;;;;;;;;;-1:-1:-1;30847:26:0;;:::i;:::-;;;;-1:-1:-1;;;;;30847:26:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31088:34;;;:::i;40576:932::-;;;;;;;;;;;;;;;;-1:-1:-1;40576:932:0;;:::i;:::-;;36710:198;;;;;;;;;;;;;;;;-1:-1:-1;36710:198:0;;;;;;-1:-1:-1;;;;;36710:198:0;;:::i;:::-;;;;;;;;;;;;;;;;;;46087:88;;;:::i;30547:25::-;;;:::i;:::-;;;;-1:-1:-1;;;;;30547:25:0;;;;;;;;;;;;;;30607;;;:::i;31364:35::-;;;:::i;30684:28::-;;;:::i;39565:940::-;;;;;;;;;;;;;;;;-1:-1:-1;39565:940:0;;;;;;;:::i;31279:35::-;;;:::i;31548:62::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31185:25;;;:::i;35766:875::-;;;;;;;;;;;;;;;;-1:-1:-1;35766:875:0;;;;;;-1:-1:-1;;;;;35766:875:0;;:::i;37247:794::-;;;;;;;;;;;;;;;;-1:-1:-1;37247:794:0;;:::i;43613:308::-;;;;;;;;;;;;;;;;-1:-1:-1;43613:308:0;;;;:::i;43427:125::-;;;;;;;;;;;;;;;;-1:-1:-1;43427:125:0;-1:-1:-1;;;;;43427:125:0;;:::i;36991:180::-;;;:::i;25356:148::-;;;:::i;32913:1294::-;;;;;;;;;;;;;;;;-1:-1:-1;32913:1294:0;;;-1:-1:-1;;;;;32913:1294:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;43119:236::-;;;;;;;;;;;;;;;;-1:-1:-1;43119:236:0;-1:-1:-1;;;;;43119:236:0;;:::i;30767:44::-;;;:::i;24705:87::-;;;:::i;35431:266::-;;;;;;;;;;;;;;;;-1:-1:-1;35431:266:0;;;;;;;:::i;38116:1397::-;;;;;;;;;;;;;;;;-1:-1:-1;38116:1397:0;;;;;;;;;;;-1:-1:-1;;;;;38116:1397:0;;:::i;30929:64::-;;;;;;;;;;;;;;;;-1:-1:-1;30929:64:0;;;;;;-1:-1:-1;;;;;30929:64:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31680:21;;;:::i;44640:683::-;;;;;;;;;;;;;;;;-1:-1:-1;44640:683:0;;;;;;;:::i;31649:24::-;;;:::i;46183:459::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46183:459:0;;;;;;;;:::i;42875:236::-;;;;;;;;;;;;;;;;-1:-1:-1;42875:236:0;-1:-1:-1;;;;;42875:236:0;;:::i;31456:42::-;;;:::i;34325:1030::-;;;;;;;;;;;;;;;;-1:-1:-1;34325:1030:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;31619:23::-;;;:::i;25659:244::-;;;;;;;;;;;;;;;;-1:-1:-1;25659:244:0;-1:-1:-1;;;;;25659:244:0;;:::i;30500:19::-;;;:::i;32649:95::-;32721:8;:15;32649:95;:::o;31217:23::-;;;;:::o;30847:26::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30847:26:0;;;;-1:-1:-1;30847:26:0;;;;;;;;;;;;;;;;;;;;;:::o;31088:34::-;;;;:::o;40576:932::-;27561:1;28167:7;;:19;;28159:63;;;;;-1:-1:-1;;;28159:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27561:1;28300:7;:18;;;;40649:21:::1;40673:8;40682:4;40673:14;;;;;;;;;::::0;;;::::1;::::0;;;40722;;;:8:::1;:14:::0;;;;;;;40737:10:::1;40722:26:::0;;;;;;;;;40776:11;;40673:14:::1;::::0;;::::1;::::0;;::::1;40813:12:::0;;::::1;::::0;40673:14;;-1:-1:-1;40813:24:0::1;::::0;40776:11;40813:16:::1;:24::i;:::-;40798:12;::::0;::::1;:39:::0;40862:1:::1;40848:15:::0;;;40874::::1;::::0;::::1;:19:::0;;;40904::::1;::::0;::::1;:23:::0;;;40938:21:::1;::::0;::::1;:25:::0;;;41011:27:::1;::::0;::::1;::::0;;;::::1;;;:31:::0;41007:354:::1;;41096:27;::::0;::::1;::::0;41063:19:::1;::::0;41085:50:::1;::::0;41129:5:::1;::::0;41085:39:::1;::::0;:6;;41096:27;;::::1;;;41085:10;:39::i;:::-;:43:::0;::::1;:50::i;:::-;41180:10;::::0;41154:12;;41063:72;;-1:-1:-1;41154:50:0::1;::::0;-1:-1:-1;;;;;41154:12:0;;::::1;::::0;41180:10:::1;41063:72:::0;41154:25:::1;:50::i;:::-;41240:23;:6:::0;41251:11;41240:10:::1;:23::i;:::-;41223:40;;41007:354;;;;-1:-1:-1::0;41339:6:0;41007:354:::1;41371:12:::0;;:62:::1;::::0;-1:-1:-1;;;;;41371:12:0::1;41405:10;41418:14:::0;41371:25:::1;:62::i;:::-;41449:51;::::0;;;;;;;41479:4;;41467:10:::1;::::0;41449:51:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;27517:1:0;28479:22;;-1:-1:-1;;;40576:932:0:o;36710:198::-;36780:4;36821:14;;;:8;:14;;;;;;;;-1:-1:-1;;;;;36821:21:0;;;;;;;;;36879;;;36860:15;:40;;36710:198;;;;;:::o;46087:88::-;46155:12;46087:88;:::o;30547:25::-;;;-1:-1:-1;;;;;30547:25:0;;:::o;30607:::-;;;-1:-1:-1;;;;;30607:25:0;;:::o;31364:35::-;;;-1:-1:-1;;;;;31364:35:0;;:::o;30684:28::-;;;;:::o;39565:940::-;27561:1;28167:7;;:19;;28159:63;;;;;-1:-1:-1;;;28159:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27561:1;28300:7;:18;;;;39647:21:::1;39671:8;39680:4;39671:14;;;;;;;;;::::0;;;::::1;::::0;;;39720;;;:8:::1;:14:::0;;;;;;39735:10:::1;39720:26:::0;;;;;;;39765:11;;39671:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;39765:22:0;-1:-1:-1;39765:22:0::1;39757:53;;;::::0;;-1:-1:-1;;;39757:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;39757:53:0;;;;;;;;;;;;;::::1;;39821:16;39832:4;39821:10;:16::i;:::-;39848:29;39872:4;39848:23;:29::i;:::-;39892:11:::0;;39888:482:::1;;39966:23;::::0;::::1;::::0;:27;39962:219:::1;;40070:23;::::0;::::1;::::0;40047:20:::1;::::0;::::1;::::0;:46:::1;40029:15;:64;40121:17:::0;::::1;40112:53;;;::::0;;-1:-1:-1;;;40112:53:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;40112:53:0;;;;;;;;;;;;;::::1;;39962:219;;40209:11:::0;;:24:::1;::::0;40225:7;40209:15:::1;:24::i;:::-;40195:38:::0;;40263:12:::1;::::0;::::1;::::0;:25:::1;::::0;40280:7;40263:16:::1;:25::i;:::-;40248:12;::::0;::::1;:40:::0;40303:12;;:55:::1;::::0;-1:-1:-1;;;;;40303:12:0::1;40337:10;40350:7:::0;40303:25:::1;:55::i;:::-;40414:21;::::0;::::1;::::0;40398:11;;:48:::1;::::0;40441:4:::1;::::0;40398:38:::1;::::0;:15:::1;:38::i;:48::-;40380:15;::::0;::::1;:66:::0;40462:35:::1;::::0;;;;;;;40483:4;;40471:10:::1;::::0;40462:35:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;27517:1:0;28479:22;;-1:-1:-1;;39565:940:0:o;31279:35::-;;;;:::o;31548:62::-;31606:4;31548:62;:::o;31185:25::-;;;;:::o;35766:875::-;35838:7;35858:21;35882:8;35891:4;35882:14;;;;;;;;;;;;;;;;35931;;;:8;:14;;;;;;;-1:-1:-1;;;;;35931:21:0;;;;;;;;;;35882:14;;;;;;35990:21;;;;36041:12;;;;36099:8;;35882:14;;-1:-1:-1;35931:21:0;;35990;;36041:12;35882:14;36083:12;:24;;36082:53;;36127:8;;36082:53;;;36112:12;36082:53;36064:71;;36160:4;:20;;;36150:7;:30;:47;;;;-1:-1:-1;36184:13:0;;;36150:47;36146:345;;;36215:18;36236:44;36250:4;:20;;;36272:7;36236:13;:44::i;:::-;36215:65;;36295:19;36317:71;36372:15;;36317:50;36351:4;:15;;;36317:29;36332:13;;36317:10;:14;;:29;;;;:::i;:::-;:33;;:50::i;:71::-;36295:93;-1:-1:-1;36422:57:0;36443:35;36469:8;36443:21;36295:93;36459:4;36443:15;:21::i;:35::-;36422:16;;:20;:57::i;:::-;36403:76;;36146:345;;;36501:15;36519:64;36567:4;:15;;;36519:43;36557:4;36519:33;36535:16;36519:4;:11;;;:15;;:33;;;;:::i;:43::-;:47;;:64::i;:::-;36501:82;;36601:32;36613:4;:19;;;36601:7;:11;;:32;;;;:::i;:::-;36594:39;35766:875;-1:-1:-1;;;;;;;;;35766:875:0:o;37247:794::-;37299:21;37323:8;37332:4;37323:14;;;;;;;;;;;;;;;;;;37299:38;;37348:15;37383:8;;37367:12;:24;;37366:53;;37411:8;;37366:53;;;37396:12;37366:53;37348:71;;37445:4;:20;;;37434:7;:31;37430:70;;37482:7;;;;37430:70;37529:12;;;;37556:13;;;:37;;-1:-1:-1;37573:15:0;;;;:20;37556:37;37552:121;;;-1:-1:-1;37610:20:0;;;;:30;37655:7;;37552:121;37683:18;37704:44;37718:4;:20;;;37740:7;37704:13;:44::i;:::-;37683:65;;37759:19;37781:71;37836:15;;37781:50;37815:4;:15;;;37781:29;37796:13;;37781:10;:14;;:29;;;;:::i;:71::-;37759:93;;37863:32;37876:4;37883:11;37863:4;:32::i;:::-;37930:62;37956:35;37982:8;37956:21;:11;37972:4;37956:15;:21::i;:35::-;37930:21;;;;;:25;:62::i;:::-;37906:21;;;:86;-1:-1:-1;;;38003:20:0;;;;:30;37247:794;;:::o;43613:308::-;24936:12;:10;:12::i;:::-;-1:-1:-1;;;;;24925:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24925:23:0;;24917:68;;;;;-1:-1:-1;;;24917:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24917:68:0;;;;;;;;;;;;;;;31606:4:::1;43718:59;::::0;::::1;;;43710:144;;;;-1:-1:-1::0;;;43710:144:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43865:22;:48:::0;;::::1;::::0;;::::1;-1:-1:-1::0;;;43865:48:0::1;-1:-1:-1::0;;;;43865:48:0;;::::1;::::0;;;::::1;::::0;;43613:308::o;43427:125::-;24936:12;:10;:12::i;:::-;-1:-1:-1;;;;;24925:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24925:23:0;;24917:68;;;;;-1:-1:-1;;;24917:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24917:68:0;;;;;;;;;;;;;;;43514:13:::1;:30:::0;;-1:-1:-1;;;;;;43514:30:0::1;-1:-1:-1::0;;;;;43514:30:0;;;::::1;::::0;;;::::1;::::0;;43427:125::o;36991:180::-;37053:8;:15;37036:14;37079:85;37107:6;37101:3;:12;37079:85;;;37137:15;37148:3;37137:10;:15::i;:::-;37115:5;;37079:85;;;;36991:180;:::o;25356:148::-;24936:12;:10;:12::i;:::-;-1:-1:-1;;;;;24925:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24925:23:0;;24917:68;;;;;-1:-1:-1;;;24917:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24917:68:0;;;;;;;;;;;;;;;25463:1:::1;25447:6:::0;;25426:40:::1;::::0;-1:-1:-1;;;;;25447:6:0;;::::1;::::0;25426:40:::1;::::0;25463:1;;25426:40:::1;25494:1;25477:19:::0;;-1:-1:-1;;;;;;25477:19:0::1;::::0;;25356:148::o;32913:1294::-;24936:12;:10;:12::i;:::-;-1:-1:-1;;;;;24925:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24925:23:0;;24917:68;;;;;-1:-1:-1;;;24917:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24917:68:0;;;;;;;;;;;;;;;33156:4:::1;33139:13;:21;;;;33131:71;;;;-1:-1:-1::0;;;33131:71:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33248:4;33221:23;:31;;;;33213:85;;;;-1:-1:-1::0;;;33213:85:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33340:7;33317:19;:30;;33309:82;;;;-1:-1:-1::0;;;33309:82:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33430:7;33410:16;:27;;33402:69;;;::::0;;-1:-1:-1;;;33402:69:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;33486:11;33482:61;;;33514:17;:15;:17::i;:::-;33553:33;::::0;;-1:-1:-1;;;33553:33:0;;33580:4:::1;33553:33;::::0;::::1;::::0;;;-1:-1:-1;;;;;33553:18:0;::::1;::::0;::::1;::::0;:33;;;;;::::1;::::0;;;;;;;;:18;:33;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;33671:10:0::1;::::0;33630:23:::1;::::0;33656:12:::1;:25;:53;;33699:10;;33656:53;;;33684:12;33656:53;33738:15;::::0;33630:79;;-1:-1:-1;33738:32:0::1;::::0;33758:11;33738:19:::1;:32::i;:::-;33720:15;:50:::0;;;33795:403:::1;::::0;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;33795:403:0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;33795:403:0;;;;;;::::1;::::0;;::::1;::::0;;;;;;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;33781:8:::1;:418:::0;;::::1;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;::::1;::::0;;;;;::::1;-1:-1:-1::0;;;;;;33781:418:0;;::::1;::::0;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;::::1;-1:-1:-1::0;;33781:418:0;;;::::1;-1:-1:-1::0;;33781:418:0;;::::1;::::0;;;::::1;;::::0;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;32913:1294:0:o;43119:236::-;43205:10;;-1:-1:-1;;;;;43205:10:0;43191;:24;43183:61;;;;;-1:-1:-1;;;43183:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43263:25:0;;43255:57;;;;;-1:-1:-1;;;43255:57:0;;;;;;;;;;;;-1:-1:-1;;;43255:57:0;;;;;;;;;;;;;;;43323:10;:24;;-1:-1:-1;;;;;;43323:24:0;-1:-1:-1;;;;;43323:24:0;;;;;;;;;;43119:236::o;30767:44::-;30810:1;30767:44;:::o;24705:87::-;24751:7;24778:6;-1:-1:-1;;;;;24778:6:0;24705:87;:::o;35431:266::-;35503:7;35527:8;;35539:1;35527:13;35523:113;;;-1:-1:-1;35623:1:0;35616:8;;35523:113;35653:36;30810:1;35653:14;:3;35661:5;35653:7;:14::i;:36::-;35646:43;35431:266;-1:-1:-1;;;35431:266:0:o;38116:1397::-;27561:1;28167:7;;:19;;28159:63;;;;;-1:-1:-1;;;28159:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27561:1;28300:7;:18;;;;38216:21:::1;38240:8;38249:4;38240:14;;;;;;;;;::::0;;;::::1;::::0;;;38289;;;:8:::1;:14:::0;;;;;;38304:10:::1;38289:26:::0;;;;;;;38240:14:::1;::::0;;::::1;::::0;;::::1;::::0;-1:-1:-1;38326:16:0::1;38298:4:::0;38326:10:::1;:16::i;:::-;38367:1;38357:7;:11;:51;;;;-1:-1:-1::0;38380:13:0::1;::::0;-1:-1:-1;;;;;38380:13:0::1;38372:36:::0;::::1;38357:51;:78;;;;-1:-1:-1::0;;;;;;38412:23:0;::::1;::::0;::::1;38357:78;:105;;;;-1:-1:-1::0;;;;;;38439:23:0;::::1;38452:10;38439:23;;38357:105;38353:189;;;38479:13;::::0;:51:::1;::::0;;-1:-1:-1;;;38479:51:0;;38508:10:::1;38479:51;::::0;::::1;::::0;-1:-1:-1;;;;;38479:51:0;;::::1;::::0;;;;;;:13;;;::::1;::::0;:28:::1;::::0;:51;;;;;:13:::1;::::0;:51;;;;;;;:13;;:51;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;38353:189;38552:29;38576:4;38552:23;:29::i;:::-;38596:11:::0;;38592:787:::1;;38647:12:::0;;:37:::1;::::0;;-1:-1:-1;;;38647:37:0;;38678:4:::1;38647:37;::::0;::::1;::::0;;;38626:18:::1;::::0;-1:-1:-1;;;;;38647:12:0::1;::::0;:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;38647:37:0;38699:12;;38647:37;;-1:-1:-1;38699:74:0::1;::::0;-1:-1:-1;;;;;38699:12:0::1;38737:10;38758:4;38765:7:::0;38699:29:::1;:74::i;:::-;38809:12:::0;;:37:::1;::::0;;-1:-1:-1;;;38809:37:0;;38840:4:::1;38809:37;::::0;::::1;::::0;;;38788:18:::1;::::0;-1:-1:-1;;;;;38809:12:0::1;::::0;:22:::1;::::0;:37;;;;;::::1;::::0;;;;;;;;:12;:37;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;38809:37:0;;-1:-1:-1;38871:26:0::1;38809:37:::0;38886:10;38871:14:::1;:26::i;:::-;38929:12;::::0;::::1;::::0;38861:36;;-1:-1:-1;38929:25:0::1;::::0;38861:36;38929:16:::1;:25::i;:::-;38914:12;::::0;::::1;:40:::0;38975:17:::1;::::0;::::1;::::0;::::1;;:21:::0;38971:344:::1;;39050:17;::::0;::::1;::::0;39017:18:::1;::::0;39038:41:::1;::::0;39073:5:::1;::::0;39038:30:::1;::::0;:7;;39050:17:::1;;39038:11;:30::i;:41::-;39124:10;::::0;39098:12;;39017:62;;-1:-1:-1;39098:49:0::1;::::0;-1:-1:-1;;;;;39098:12:0;;::::1;::::0;39124:10:::1;39017:62:::0;39098:25:::1;:49::i;:::-;39180:11:::0;;:40:::1;::::0;39209:10;;39180:24:::1;::::0;39196:7;39180:15:::1;:24::i;:40::-;39166:54:::0;;-1:-1:-1;38971:344:0::1;;;39275:11:::0;;:24:::1;::::0;39291:7;39275:15:::1;:24::i;:::-;39261:38:::0;;38971:344:::1;-1:-1:-1::0;;39352:15:0::1;39329:20;::::0;::::1;:38:::0;38592:787:::1;39423:21;::::0;::::1;::::0;39407:11;;:48:::1;::::0;39450:4:::1;::::0;39407:38:::1;::::0;:15:::1;:38::i;:48::-;39389:15;::::0;::::1;:66:::0;39471:34:::1;::::0;;;;;;;39491:4;;39479:10:::1;::::0;39471:34:::1;::::0;;;;::::1;::::0;;::::1;-1:-1:-1::0;;27517:1:0;28479:22;;-1:-1:-1;;;38116:1397:0:o;30929:64::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;31680:21::-;;;;:::o;44640:683::-;24936:12;:10;:12::i;:::-;-1:-1:-1;;;;;24925:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24925:23:0;;24917:68;;;;;-1:-1:-1;;;24917:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24917:68:0;;;;;;;;;;;;;;;44745:1:::1;44735:7;:11;44726:39;;;::::0;;-1:-1:-1;;;44726:39:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;44726:39:0;;;;;;;;;;;;;::::1;;44797:12;44785:9;:24;44776:55;;;::::0;;-1:-1:-1;;;44776:55:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;44776:55:0;;;;;;;;;;;;;::::1;;44904:5;::::0;:30:::1;::::0;;-1:-1:-1;;;44904:30:0;;44928:4:::1;44904:30;::::0;::::1;::::0;;;44883:18:::1;::::0;-1:-1:-1;;;;;44904:5:0::1;::::0;:15:::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:5;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;44904:30:0;44945:5:::1;::::0;44904:30;;-1:-1:-1;44945:58:0::1;::::0;-1:-1:-1;;;;;44945:5:0::1;44968:10;44988:4;44995:7:::0;44945:22:::1;:58::i;:::-;45035:5;::::0;:30:::1;::::0;;-1:-1:-1;;;45035:30:0;;45059:4:::1;45035:30;::::0;::::1;::::0;;;45014:18:::1;::::0;-1:-1:-1;;;;;45035:5:0::1;::::0;:15:::1;::::0;:30;;;;;::::1;::::0;;;;;;;;:5;:30;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;45035:30:0;;-1:-1:-1;45086:26:0::1;45035:30:::0;45101:10;45086:14:::1;:26::i;:::-;45125:8;:20:::0;;;45167:8:::1;::::0;45076:36;;-1:-1:-1;45167:21:0::1;::::0;45076:36;45167:12:::1;:21::i;:::-;45156:8;:32:::0;;;45220:12:::1;45208:24:::0;::::1;45199:6;:33:::0;;;45259:20:::1;::::0;45156:32;45259:12:::1;:20::i;:::-;45243:13;:36:::0;-1:-1:-1;;45303:12:0::1;45290:10;:25:::0;-1:-1:-1;;44640:683:0:o;31649:24::-;;;;:::o;46183:459::-;24936:12;:10;:12::i;:::-;-1:-1:-1;;;;;24925:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24925:23:0;;24917:68;;;;;-1:-1:-1;;;24917:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24917:68:0;;;;;;;;;;;;;;;46292:8:::1;:15:::0;46337:1:::1;46318:136;46346:6;46340:3;:12;46318:136;;;46400:8;46409:3;46400:13;;;;;;;;;::::0;;;::::1;::::0;;;::::1;::::0;;::::1;;:21:::0;-1:-1:-1;;;;;46384:37:0;;::::1;46400:21:::0;::::1;46384:37;;46376:66;;;::::0;;-1:-1:-1;;;46376:66:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;46376:66:0;;;;;;;;;;;;;::::1;;46354:5;;46318:136;;;;46487:8;;46472:12;:23;46464:65;;;::::0;;-1:-1:-1;;;46464:65:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;46615:10;::::0;46593:41:::1;::::0;;-1:-1:-1;;;46593:41:0;;-1:-1:-1;;;;;46615:10:0;;::::1;46593:41;::::0;::::1;::::0;;;;;;;;;:21;;::::1;::::0;::::1;::::0;:41;;;;;::::1;::::0;;;;;;;;;46615:10:::1;46593:21:::0;:41;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;;;;46183:459:0:o;42875:236::-;42961:10;;-1:-1:-1;;;;;42961:10:0;42947;:24;42939:61;;;;;-1:-1:-1;;;42939:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43019:25:0;;43011:57;;;;;-1:-1:-1;;;43011:57:0;;;;;;;;;;;;-1:-1:-1;;;43011:57:0;;;;;;;;;;;;;;;43079:10;:24;;-1:-1:-1;;;;;;43079:24:0;-1:-1:-1;;;;;43079:24:0;;;;;;;;;;42875:236::o;31456:42::-;;;-1:-1:-1;;;31456:42:0;;;;;:::o;34325:1030::-;24936:12;:10;:12::i;:::-;-1:-1:-1;;;;;24925:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24925:23:0;;24917:68;;;;;-1:-1:-1;;;24917:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24917:68:0;;;;;;;;;;;;;;;34565:4:::1;34548:13;:21;;;;34540:71;;;;-1:-1:-1::0;;;34540:71:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34657:4;34630:23;:31;;;;34622:85;;;;-1:-1:-1::0;;;34622:85:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34749:7;34726:19;:30;;34718:82;;;;-1:-1:-1::0;;;34718:82:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34839:7;34819:16;:27;;34811:69;;;::::0;;-1:-1:-1;;;34811:69:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;34895:11;34891:61;;;34923:17;:15;:17::i;:::-;34980:63;35031:11;34980:46;35000:8;35009:4;35000:14;;;;;;;;;;;;;;;;;;:25;;;34980:15;;:19;;:46;;;;:::i;:::-;:50:::0;::::1;:63::i;:::-;34962:15;:81;;;;35082:11;35054:8;35063:4;35054:14;;;;;;;;;;;;;;;;;;:25;;:39;;;;35134:13;35104:8;35113:4;35104:14;;;;;;;;;;;;;;;;;;:27;;;:43;;;;;;;;;;;;;;;;;;35198:23;35158:8;35167:4;35158:14;;;;;;;;;;;;;;;;;;:37;;;:63;;;;;;;;;;;;;;;;;;35265:16;35232:8;35241:4;35232:14;;;;;;;;;;;;;;;;;;:30;;:49;;;;35328:19;35292:8;35301:4;35292:14;;;;;;;;;;;;;;;;;;:33;;:55;;;;34325:1030:::0;;;;;;;:::o;31619:23::-;;;;:::o;25659:244::-;24936:12;:10;:12::i;:::-;-1:-1:-1;;;;;24925:23:0;:7;:5;:7::i;:::-;-1:-1:-1;;;;;24925:23:0;;24917:68;;;;;-1:-1:-1;;;24917:68:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;24917:68:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;25748:22:0;::::1;25740:73;;;;-1:-1:-1::0;;;25740:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25850:6;::::0;;25829:38:::1;::::0;-1:-1:-1;;;;;25829:38:0;;::::1;::::0;25850:6;::::1;::::0;25829:38:::1;::::0;::::1;25878:6;:17:::0;;-1:-1:-1;;;;;;25878:17:0::1;-1:-1:-1::0;;;;;25878:17:0;;;::::1;::::0;;;::::1;::::0;;25659:244::o;30500:19::-;;;-1:-1:-1;;;;;30500:19:0;;:::o;3236:158::-;3294:7;3327:1;3322;:6;;3314:49;;;;;-1:-1:-1;;;3314:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3381:5:0;;;3236:158::o;3653:220::-;3711:7;3735:6;3731:20;;-1:-1:-1;3750:1:0;3743:8;;3731:20;3774:5;;;3778:1;3774;:5;:1;3798:5;;;;;:10;3790:56;;;;-1:-1:-1;;;3790:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4351:153;4409:7;4441:1;4437;:5;4429:44;;;;;-1:-1:-1;;;4429:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4495:1;4491;:5;;;;;;;4351:153;-1:-1:-1;;;4351:153:0:o;19020:211::-;19164:58;;;-1:-1:-1;;;;;19164:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19164:58:0;-1:-1:-1;;;19164:58:0;;;19137:86;;19157:5;;19137:19;:86::i;:::-;19020:211;;;:::o;41558:1261::-;41625:21;41649:8;41658:4;41649:14;;;;;;;;;;;;;;;;41698;;;:8;:14;;;;;;41713:10;41698:26;;;;;;;41741:21;;;;41649:14;;;;;;;;-1:-1:-1;41737:124:0;;41828:20;;;;41808:41;;:15;;:19;:41::i;:::-;41784:21;;;:65;41737:124;41873:15;41891:69;41944:4;:15;;;41891:48;41934:4;41891:38;41907:4;:21;;;41891:4;:11;;;:15;;:38;;;;:::i;:69::-;41873:87;;41975:28;41986:4;41992:10;41975;:28::i;:::-;41971:841;;;42034:1;42024:7;:11;:38;;;;42061:1;42039:4;:19;;;:23;42024:38;42020:545;;;42083:20;42106:32;42118:4;:19;;;42106:7;:11;;:32;;;;:::i;:::-;42083:55;;42215:45;42240:4;:19;;;42215:20;;:24;;:45;;;;:::i;:::-;42192:20;:68;42301:1;42279:19;;;:23;42365:20;;;;42345:41;;:15;;:19;:41::i;:::-;42321:21;;;:65;42440:43;42458:10;42470:12;42440:17;:43::i;:::-;42502:47;42524:10;42536:12;42502:21;:47::i;:::-;42020:545;;41971:841;;;42586:11;;42582:230;;42636:19;;;;:32;;42660:7;42636:23;:32::i;:::-;42614:19;;;:54;42706:20;;:33;;42731:7;42706:24;:33::i;:::-;42683:20;:56;42759:41;;;;;;;;42786:4;;42774:10;;42759:41;;;;;;;;;42582:230;41558:1261;;;;:::o;2774:179::-;2832:7;2864:5;;;2888:6;;;;2880:46;;;;;-1:-1:-1;;;2880:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;45329:347;45406:8;;45397:6;:17;45393:158;;;-1:-1:-1;45493:1:0;45477:13;:17;45518:8;;45393:158;45572:8;;:20;;45585:6;45572:12;:20::i;:::-;45561:8;:31;45615:9;;:21;;45629:6;45615:13;:21::i;:::-;45603:9;:33;45652:16;;;-1:-1:-1;;;;;45652:16:0;;;;;;;;;;;;;;;;;;;;;;;45329:347;;:::o;23334:106::-;23422:10;23334:106;:::o;19239:248::-;19410:68;;;-1:-1:-1;;;;;19410:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19410:68:0;-1:-1:-1;;;19410:68:0;;;19383:96;;19403:5;;21555:774;21979:23;22005:69;22033:4;22005:69;;;;;;;;;;;;;;;;;22013:5;-1:-1:-1;;;;;22005:27:0;;;:69;;;;;:::i;:::-;22089:17;;21979:95;;-1:-1:-1;22089:21:0;22085:237;;22244:10;22233:30;;;;;;;;;;;;;;;-1:-1:-1;22233:30:0;22225:85;;;;-1:-1:-1;;;22225:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45794:285;45890:5;;:30;;;-1:-1:-1;;;45890:30:0;;45914:4;45890:30;;;;;;45871:16;;-1:-1:-1;;;;;45890:5:0;;:15;;:30;;;;;;;;;;;;;;:5;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45890:30:0;;-1:-1:-1;45935:18:0;;;45931:141;;;45970:5;;:29;;;-1:-1:-1;;;45970:29:0;;-1:-1:-1;;;;;45970:29:0;;;;;;;;;;;;;;;:5;;;;;:14;;:29;;;;;;;;;;;;;;:5;;:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;45931:141:0;;-1:-1:-1;45931:141:0;;46032:5;;:28;;;-1:-1:-1;;;46032:28:0;;-1:-1:-1;;;;;46032:28:0;;;;;;;;;;;;;;;:5;;;;;:14;;:28;;;;;;;;;;;;;;:5;;:28;;;;;;;;;;44001:631;44097:13;;-1:-1:-1;;;;;44097:13:0;44089:36;;;;:66;;-1:-1:-1;44129:22:0;;-1:-1:-1;;;44129:22:0;;;;:26;;44089:66;44085:540;;;44191:13;;:32;;;-1:-1:-1;;;44191:32:0;;-1:-1:-1;;;;;44191:32:0;;;;;;;;;44172:16;;44191:13;;;;;:25;;:32;;;;;;;;;;;;;;;:13;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44191:32:0;44278:22;;44191:32;;-1:-1:-1;44238:24:0;;44265:47;;44306:5;;44265:36;;:8;;-1:-1:-1;;;44278:22:0;;;;44265:12;:36::i;:47::-;44238:74;-1:-1:-1;;;;;;44333:22:0;;;;;;:46;;;44378:1;44359:16;:20;44333:46;44329:285;;;44400:32;44405:8;44415:16;44400:4;:32::i;:::-;44451:13;;:66;;;-1:-1:-1;;;44451:66:0;;-1:-1:-1;;;;;44451:66:0;;;;;;;;;;;;;;;:13;;;;;:38;;:66;;;;;:13;;:66;;;;;;;:13;;:66;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;44541:57:0;;;;;;;;-1:-1:-1;;;;;44541:57:0;;;;-1:-1:-1;44541:57:0;;;-1:-1:-1;44541:57:0;;;;;;;;;44085:540;;44001:631;;:::o;14120:195::-;14223:12;14255:52;14277:6;14285:4;14291:1;14294:12;14255:21;:52::i;:::-;14248:59;14120:195;-1:-1:-1;;;;14120:195:0:o;15172:530::-;15299:12;15357:5;15332:21;:30;;15324:81;;;;-1:-1:-1;;;15324:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15424:18;15435:6;15424:10;:18::i;:::-;15416:60;;;;;-1:-1:-1;;;15416:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15550:12;15564:23;15591:6;-1:-1:-1;;;;;15591:11:0;15611:5;15619:4;15591:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15591:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15549:75;;;;15642:52;15660:7;15669:10;15681:12;15642:17;:52::i;:::-;15635:59;15172:530;-1:-1:-1;;;;;;;15172:530:0:o;11202:422::-;11569:20;11608:8;;;11202:422::o;17712:742::-;17827:12;17856:7;17852:595;;;-1:-1:-1;17887:10:0;17880:17;;17852:595;18001:17;;:21;17997:439;;18264:10;18258:17;18325:15;18312:10;18308:2;18304:19;18297:44;18212:148;18407:12;18400:20;;-1:-1:-1;;;18400:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Swarm Source
ipfs://bc12f61b0d69c383cf50d5c5a98f6f2d1e5e490a5a82d2df2d73271f546ed4ef
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.