More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 198 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Reward | 17004982 | 598 days ago | IN | 0 ETH | 0.00223472 | ||||
Withdraw | 16949616 | 606 days ago | IN | 0 ETH | 0.00461125 | ||||
Withdraw | 16805594 | 627 days ago | IN | 0 ETH | 0.00629489 | ||||
Withdraw | 16690552 | 643 days ago | IN | 0 ETH | 0.00324597 | ||||
Get Reward | 16690481 | 643 days ago | IN | 0 ETH | 0.00300766 | ||||
Withdraw | 16666589 | 646 days ago | IN | 0 ETH | 0.00246934 | ||||
Get Reward | 16666555 | 646 days ago | IN | 0 ETH | 0.00257707 | ||||
Emergency Withdr... | 16664827 | 646 days ago | IN | 0 ETH | 0.00263978 | ||||
Withdraw | 16598435 | 656 days ago | IN | 0 ETH | 0.00321061 | ||||
Get Reward | 16598432 | 656 days ago | IN | 0 ETH | 0.00252359 | ||||
Emergency Withdr... | 16594784 | 656 days ago | IN | 0 ETH | 0.0030019 | ||||
Emergency Withdr... | 16588728 | 657 days ago | IN | 0 ETH | 0.00295433 | ||||
Withdraw | 16588229 | 657 days ago | IN | 0 ETH | 0.00316328 | ||||
Stake | 16564620 | 660 days ago | IN | 0 ETH | 0.00372168 | ||||
Stake | 16561377 | 661 days ago | IN | 0 ETH | 0.00310828 | ||||
Stake | 16560910 | 661 days ago | IN | 0 ETH | 0.00309101 | ||||
Get Reward | 16438455 | 678 days ago | IN | 0 ETH | 0.00198923 | ||||
Withdraw | 16423927 | 680 days ago | IN | 0 ETH | 0.00221589 | ||||
Get Reward | 16423919 | 680 days ago | IN | 0 ETH | 0.00212577 | ||||
Withdraw | 16402211 | 683 days ago | IN | 0 ETH | 0.0034249 | ||||
Get Reward | 16384678 | 685 days ago | IN | 0 ETH | 0.00326836 | ||||
Withdraw | 16384672 | 685 days ago | IN | 0 ETH | 0.00580041 | ||||
Withdraw | 16373762 | 687 days ago | IN | 0 ETH | 0.00227971 | ||||
Get Reward | 16373675 | 687 days ago | IN | 0 ETH | 0.00259191 | ||||
Get Reward | 16355157 | 690 days ago | IN | 0 ETH | 0.00184588 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
DeflectPoolStakingLock
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-08 */ // File: node_modules\@openzeppelin\contracts\utils\Context.sol // SPDX-License-Identifier: Unlicense pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } // File: @openzeppelin\contracts\access\Ownable.sol /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin\contracts\math\Math.sol /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } // File: @openzeppelin\contracts\math\SafeMath.sol /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a, "SafeMath: addition overflow"); return c; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) return 0; uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b <= a, errorMessage); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b > 0, errorMessage); return a % b; } } // File: node_modules\@openzeppelin\contracts\token\ERC20\IERC20.sol /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: node_modules\@openzeppelin\contracts\utils\Address.sol /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin\contracts\token\ERC20\SafeERC20.sol /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero"); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } // File: contracts\LPTokenWrapper.sol abstract contract LPTokenWrapper { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public immutable stakingToken; uint256 public immutable devFee; address public treasury; // Returns the total staked tokens within the contract uint256 public totalSupply; uint256 public startTime; uint256 public burnFee; struct Balance { uint256 balance; } mapping(address => Balance) internal _balances; constructor( uint256 _devFee, address _stakingToken, address _treasury, uint256 _burnFee ) public { devFee = _devFee; // 10 = 1%, 100 = 10% etc. stakingToken = IERC20(_stakingToken); treasury = _treasury; burnFee = _burnFee; // 10 = 0.1%, 100 = 1% etc. } // Returns staking balance of the account function balanceOf(address account) public view returns (uint256) { return _balances[account].balance; } // Stake funds into the pool function stake(uint256 amount) public virtual { stakingToken.safeTransferFrom(msg.sender, address(this), amount); if (burnFee > 0 ) { uint tokenBurnBalance = amount.mul(burnFee).div(10000); uint stakedBalance = amount.sub(tokenBurnBalance); _balances[msg.sender].balance = _balances[msg.sender].balance.add( stakedBalance ); totalSupply = totalSupply.add(stakedBalance); return; } // Increment sender's balances and total supply _balances[msg.sender].balance = _balances[msg.sender].balance.add( amount ); totalSupply = totalSupply.add(amount); } // Subtract balances withdrawn from the user function withdraw(uint256 amount) public virtual { totalSupply = totalSupply.sub(amount); _balances[msg.sender].balance = _balances[msg.sender].balance.sub( amount ); // Calculate the withdraw tax uint256 tax = amount.mul(devFee).div(1000); // Transfer the tokens to user stakingToken.safeTransfer(msg.sender, amount - tax); // Tax to treasury stakingToken.safeTransfer(treasury, tax); } } // File: contracts\interfaces\IERC20Metadata.sol interface IERC20Metadata is IERC20 { function decimals() external view returns (uint8); } // File: contracts\DeflectPoolRewardLock.sol /* ▓█████▄ ▓█████ ████ ▒██▓ ▓█████ ▄████▄ ▄▄▄█████▓ ██▓███ ▒█████ ▒█████ ██▓ ▒██▀ ██▌▓█ ▀ ▓██ ▒▓██▒ ▓█ ▀ ▒██▀ ▀█ ▓ ██▒ ▓▒ ▓██░ ██▒▒██▒ ██▒▒██▒ ██▒ ▓██▒ ░██ █▌▒███ ▒████ ░▒██░ ▒███ ▒▓█ ▄ ██░ ▒ ▓██░ ██▓▒▒██ ██▒▒██░ ██▒ ▒██░ ░▓█▄ ▌▒▓█ ▄ ░ ▓█▒ ░▒██░ ▒▓█ ▄ ▒▓▓▄ ▄██▒░ ██ ░ ▒██▄█▓▒ ▒▒██ ██░▒██ ██░ ▒██░ ░▒████▓ ░▒████▒░ ▒█░ ░██████▒░▒████▒▒ ▓███▀ ░ ▒██▒ ▒██▒ ░ ░░ ████▓▒░░ ████▓▒░░██████▒ ▒▒▓ ▒ ░░ ▒░ ░ ▒ ░ ░ ▒░▓ ░░░ ▒░ ░░ ░▒ ▒ ░ ▒ ░░ ▒▓▒░ ░ ░░ ▒░▒░▒░ ░ ▒░▒░▒░ ░ ▒░▓ ░ ░ ▒ ▒ ░ ░ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ▒ ░ ░▒ ░ ░ ▒ ▒░ ░ ▒ ▒░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░░ ░ ░ ░ ▒ ░ ░ ░ ▒ */ /** * @title DeflectPool * @author DEFLECT PROTOCOL * @dev This contract is a time-based yield farming pool with effective-staking multiplier mechanics. * * * * NOTE: A withdrawal fee (devFee) is included which is sent to the treasury address. * * * */ contract DeflectPoolStakingLock is LPTokenWrapper, Ownable { using SafeERC20 for IERC20Metadata; IERC20Metadata public immutable rewardToken; uint256 public immutable stakingTokenMultiplier; uint256 public immutable duration; uint256 public immutable deployedTime; uint256 public periodFinish; uint256 public lockTime; uint256 public lastUpdateTime; uint256 public rewardRate; uint256 public rewardPerTokenStored; struct RewardInfo { uint256 rewards; uint256 userRewardPerTokenPaid; } mapping(address => RewardInfo) public rewards; mapping(address => uint256) public userLockTime; event RewardAdded(uint256 reward); event Withdrawn(address indexed user, uint256 amount); event Staked(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); // Set the staking token for the contract constructor( uint256 _duration, address _stakingToken, IERC20Metadata _rewardToken, address _treasury, uint256 _devFee, uint256 _burnFee, uint256 _lockDuration ) public LPTokenWrapper(_devFee, _stakingToken, _treasury, _burnFee) Ownable() { require(_duration != 0 && _stakingToken != address(0) && _rewardToken != IERC20Metadata(0) && _treasury != address(0), "!constructor"); stakingTokenMultiplier = 10**uint256(IERC20Metadata(_stakingToken).decimals()); rewardToken = _rewardToken; duration = _duration; deployedTime = block.timestamp; lockTime = _lockDuration; // how long user must wait after staking before can unstake } function setNewTreasury(address _treasury) external onlyOwner() { treasury = _treasury; } function setLockTime(uint256 _lockTime) external onlyOwner() { lockTime = _lockTime; } function lastTimeRewardsActive() public view returns (uint256) { return Math.min(block.timestamp, periodFinish); } /* @dev Returns the current rate of rewards per token (doh) */ function rewardPerToken() public view returns (uint256) { // Do not distribute rewards before startTime. if (block.timestamp < startTime) { return 0; } if (totalSupply == 0) { return rewardPerTokenStored; } uint256 effectiveTotalSupply = totalSupply; // The returrn value is time-based on last time the contract had rewards active multipliede by the reward-rate. // It's evened out with a division of bonus effective supply. return rewardPerTokenStored .add( lastTimeRewardsActive() .sub(lastUpdateTime) .mul(rewardRate) .mul(stakingTokenMultiplier) .div(effectiveTotalSupply) ); } /** @dev Returns the claimable tokens for user.*/ function earned(address account) public view returns (uint256) { RewardInfo memory userRewards = rewards[account]; return _balances[account].balance.mul(rewardPerToken().sub(userRewards.userRewardPerTokenPaid)).div(stakingTokenMultiplier).add(userRewards.rewards); } /** @dev Staking function which updates the user balances in the parent contract */ function stake(uint256 amount) public override { require(amount > 0, "Cannot stake 0"); updateReward(msg.sender); // Call the parent to adjust the balances. super.stake(amount); //set user lock time userLockTime[msg.sender] = block.timestamp + lockTime; emit Staked(msg.sender, amount); } /** @dev Withdraw function, this pool contains a tax which is defined in the constructor */ function withdraw(uint256 amount) public override { require(amount > 0, "Cannot withdraw 0"); require(block.timestamp >= userLockTime[msg.sender], "Pool locked, please wait to withdraw"); updateReward(msg.sender); // Adjust balances super.withdraw(amount); emit Withdrawn(msg.sender, amount); } // Ease-of-access function for user to remove assets from the pool. function exit() external { require(block.timestamp >= userLockTime[msg.sender], "Pool locked, please wait to withdraw"); getReward(); withdraw(balanceOf(msg.sender)); } // Sends out the reward tokens to the user. function getReward() public { require(block.timestamp >= userLockTime[msg.sender], "Pool locked, please wait to withdraw"); updateReward(msg.sender); uint256 reward = earned(msg.sender); if (reward > 0) { rewards[msg.sender].rewards = 0; emit RewardPaid(msg.sender, reward); rewardToken.safeTransfer(msg.sender, reward); } } // Called to start the pool. // Owner must send rewards to the contract and the balance of this token is used as the reward to account for fee on transfer tokens. // The reward period will be the duration of the pool. function notifyRewardAmount(uint256 _reward) external onlyOwner() { uint256 reward = _reward; require(reward > 0, "!reward added"); // Update reward values updateRewardPerTokenStored(); // Rewardrate must stay at a constant since it's used by end-users claiming rewards after the reward period has finished. if (block.timestamp >= periodFinish) { rewardRate = reward.div(duration); } else { // Remaining time for the pool uint256 remainingTime = periodFinish.sub(block.timestamp); // And the rewards uint256 rewardsRemaining = remainingTime.mul(rewardRate); // Set the current rate rewardRate = reward.add(rewardsRemaining).div(duration); } // Set the last updated lastUpdateTime = block.timestamp; startTime = block.timestamp; // Add the period to be equal to duration set.s periodFinish = block.timestamp.add(duration); emit RewardAdded(reward); } // Ejects any remaining tokens from the pool. // Callable only after the pool has started and the pools reward distribution period has finished. function eject() external onlyOwner() { require(block.timestamp >= periodFinish + 12 hours, "Cannot eject before period finishes or pool has started"); uint256 currBalance = rewardToken.balanceOf(address(this)); rewardToken.safeTransfer(msg.sender, currBalance); } // Forcefully retire a pool // Only sets the period finish to 0 // This will prevent more rewards from being disbursed function kill() external onlyOwner() { periodFinish = block.timestamp; } // Callable only after the pool has started and the pools reward distribution period has finished. function emergencyWithdraw() external { require(block.timestamp >= periodFinish + 12 hours, "DeflectPool::emergencyWithdraw: Cannot emergency withdraw before period finishes or pool has started"); uint256 fullWithdrawal = balanceOf(msg.sender); require(fullWithdrawal > 0, "DeflectPool::emergencyWithdraw: Cannot withdraw 0"); super.withdraw(fullWithdrawal); emit Withdrawn(msg.sender, fullWithdrawal); } function updateRewardPerTokenStored() internal { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardsActive(); } function updateReward(address account) internal { updateRewardPerTokenStored(); rewards[account].rewards = earned(account); rewards[account].userRewardPerTokenPaid = rewardPerTokenStored; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"},{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"contract IERC20Metadata","name":"_rewardToken","type":"address"},{"internalType":"address","name":"_treasury","type":"address"},{"internalType":"uint256","name":"_devFee","type":"uint256"},{"internalType":"uint256","name":"_burnFee","type":"uint256"},{"internalType":"uint256","name":"_lockDuration","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deployedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"devFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"eject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"kill","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastTimeRewardsActive","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20Metadata","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"rewards","type":"uint256"},{"internalType":"uint256","name":"userRewardPerTokenPaid","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_lockTime","type":"uint256"}],"name":"setLockTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_treasury","type":"address"}],"name":"setNewTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingTokenMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userLockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101406040523480156200001257600080fd5b5060405162002da438038062002da4833981810160405260e08110156200003857600080fd5b8101908080519060200190929190805190602001909291908051906020019092919080519060200190929190805190602001909291908051906020019092919080519060200190929190505050828685848360a081815250508273ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060038190555050505050600062000125620003d860201b60201c565b905080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35060008714158015620002035750600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614155b80156200023d5750600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b8015620002775750600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b620002ea576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f21636f6e7374727563746f72000000000000000000000000000000000000000081525060200191505060405180910390fd5b8573ffffffffffffffffffffffffffffffffffffffff1663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b1580156200033157600080fd5b505afa15801562000346573d6000803e3d6000fd5b505050506040513d60208110156200035d57600080fd5b810190808051906020019092919050505060ff16600a0a60e081815250508473ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508661010081815250504261012081815250508060078190555050505050505050620003e0565b600033905090565b60805160601c60a05160c05160601c60e05161010051610120516129386200046c60003980610f235250806108b95280610b925280610c025280610c5e5250806107d852806114d15280611710525080610e2152806112a3528061136c5280611b7b525080610f835280611f235250806111635280611f6a5280611fd552806120ed52506129386000f3fe608060405234801561001057600080fd5b50600436106102055760003560e01c80637b0a47ee1161011a578063cd3daf9d116100ad578063e9fad8ee1161007c578063e9fad8ee146106a3578063ebe2b12b146106ad578063f2fde38b146106cb578063f7c618c11461070f578063fce589d81461074357610205565b8063cd3daf9d1461063f578063db2e21bc1461065d578063df136d6514610667578063e78b69f01461068557610205565b80639eade652116100e95780639eade652146105a7578063a694fc3a146105c5578063ae04d45d146105f3578063c8f33c911461062157610205565b80637b0a47ee1461050757806382e94ac5146105255780638da5cb5b1461052f5780638f9a372d1461056357610205565b806341c0e1b51161019d5780636827e7641161016c5780636827e7641461043557806370a0823114610453578063715018a6146104ab57806372f702f3146104b557806378e97925146104e957610205565b806341c0e1b514610381578063461ac0191461038b5780635a9a93fc146103a957806361d027b31461040157610205565b806318160ddd116101d957806318160ddd146102fd5780632e1a7d4d1461031b5780633c6b16ab146103495780633d18b9121461037757610205565b80628cc2621461020a5780630700037d146102625780630d668087146102c15780630fb5a6b4146102df575b600080fd5b61024c6004803603602081101561022057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610761565b6040518082815260200191505060405180910390f35b6102a46004803603602081101561027857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061088d565b604051808381526020018281526020019250505060405180910390f35b6102c96108b1565b6040518082815260200191505060405180910390f35b6102e76108b7565b6040518082815260200191505060405180910390f35b6103056108db565b6040518082815260200191505060405180910390f35b6103476004803603602081101561033157600080fd5b81019080803590602001909291905050506108e1565b005b6103756004803603602081101561035f57600080fd5b8101908080359060200190929190505050610a52565b005b61037f610ccd565b005b610389610e69565b005b610393610f21565b6040518082815260200191505060405180910390f35b6103eb600480360360208110156103bf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f45565b6040518082815260200191505060405180910390f35b610409610f5d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61043d610f81565b6040518082815260200191505060405180910390f35b6104956004803603602081101561046957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fa5565b6040518082815260200191505060405180910390f35b6104b3610ff1565b005b6104bd611161565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104f1611185565b6040518082815260200191505060405180910390f35b61050f61118b565b6040518082815260200191505060405180910390f35b61052d611191565b005b6105376113b3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105a56004803603602081101561057957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113dd565b005b6105af6114cf565b6040518082815260200191505060405180910390f35b6105f1600480360360208110156105db57600080fd5b81019080803590602001909291905050506114f3565b005b61061f6004803603602081101561060957600080fd5b8101908080359060200190929190505050611614565b005b6106296116cd565b6040518082815260200191505060405180910390f35b6106476116d3565b6040518082815260200191505060405180910390f35b610665611793565b005b61066f6118b2565b6040518082815260200191505060405180910390f35b61068d6118b8565b6040518082815260200191505060405180910390f35b6106ab6118cb565b005b6106b561197e565b6040518082815260200191505060405180910390f35b61070d600480360360208110156106e157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611984565b005b610717611b79565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61074b611b9d565b6040518082815260200191505060405180910390f35b600061076b612761565b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180604001604052908160008201548152602001600182015481525050905061088581600001516108777f0000000000000000000000000000000000000000000000000000000000000000610869610818866020015161080a6116d3565b611ba390919063ffffffff16565b600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154611c2690919063ffffffff16565b611cac90919063ffffffff16565b611d3590919063ffffffff16565b915050919050565b600b6020528060005260406000206000915090508060000154908060010154905082565b60075481565b7f000000000000000000000000000000000000000000000000000000000000000081565b60015481565b60008111610957576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020544210156109ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806127c86024913960400191505060405180910390fd5b6109f833611dbd565b610a0181611e60565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5826040518082815260200191505060405180910390a250565b610a5a61201d565b73ffffffffffffffffffffffffffffffffffffffff16610a786113b3565b73ffffffffffffffffffffffffffffffffffffffff1614610b01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600081905060008111610b7c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f217265776172642061646465640000000000000000000000000000000000000081525060200191505060405180910390fd5b610b84612025565b6006544210610bcb57610bc07f000000000000000000000000000000000000000000000000000000000000000082611cac90919063ffffffff16565b600981905550610c4b565b6000610be242600654611ba390919063ffffffff16565b90506000610bfb60095483611c2690919063ffffffff16565b9050610c427f0000000000000000000000000000000000000000000000000000000000000000610c348386611d3590919063ffffffff16565b611cac90919063ffffffff16565b60098190555050505b4260088190555042600281905550610c8c7f000000000000000000000000000000000000000000000000000000000000000042611d3590919063ffffffff16565b6006819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d816040518082815260200191505060405180910390a15050565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054421015610d65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806127c86024913960400191505060405180910390fd5b610d6e33611dbd565b6000610d7933610761565b90506000811115610e66576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001819055503373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a2610e6533827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166120439092919063ffffffff16565b5b50565b610e7161201d565b73ffffffffffffffffffffffffffffffffffffffff16610e8f6113b3565b73ffffffffffffffffffffffffffffffffffffffff1614610f18576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b42600681905550565b7f000000000000000000000000000000000000000000000000000000000000000081565b600c6020528060005260406000206000915090505481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000081565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001549050919050565b610ff961201d565b73ffffffffffffffffffffffffffffffffffffffff166110176113b3565b73ffffffffffffffffffffffffffffffffffffffff16146110a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b7f000000000000000000000000000000000000000000000000000000000000000081565b60025481565b60095481565b61119961201d565b73ffffffffffffffffffffffffffffffffffffffff166111b76113b3565b73ffffffffffffffffffffffffffffffffffffffff1614611240576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61a8c06006540142101561129f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260378152602001806128cc6037913960400191505060405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561132857600080fd5b505afa15801561133c573d6000803e3d6000fd5b505050506040513d602081101561135257600080fd5b810190808051906020019092919050505090506113b033827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166120439092919063ffffffff16565b50565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6113e561201d565b73ffffffffffffffffffffffffffffffffffffffff166114036113b3565b73ffffffffffffffffffffffffffffffffffffffff161461148c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60008111611569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61157233611dbd565b61157b816120e5565b6007544201600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040518082815260200191505060405180910390a250565b61161c61201d565b73ffffffffffffffffffffffffffffffffffffffff1661163a6113b3565b73ffffffffffffffffffffffffffffffffffffffff16146116c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060078190555050565b60085481565b60006002544210156116e85760009050611790565b600060015414156116fd57600a549050611790565b6000600154905061178c61177b8261176d7f000000000000000000000000000000000000000000000000000000000000000061175f6009546117516008546117436118b8565b611ba390919063ffffffff16565b611c2690919063ffffffff16565b611c2690919063ffffffff16565b611cac90919063ffffffff16565b600a54611d3590919063ffffffff16565b9150505b90565b61a8c0600654014210156117f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252606481526020018061283e6064913960800191505060405180910390fd5b60006117fd33610fa5565b905060008111611858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603181526020018061280d6031913960400191505060405180910390fd5b61186181611e60565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5826040518082815260200191505060405180910390a250565b600a5481565b60006118c6426006546122f8565b905090565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054421015611963576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806127c86024913960400191505060405180910390fd5b61196b610ccd565b61197c61197733610fa5565b6108e1565b565b60065481565b61198c61201d565b73ffffffffffffffffffffffffffffffffffffffff166119aa6113b3565b73ffffffffffffffffffffffffffffffffffffffff1614611a33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ab9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061277c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f000000000000000000000000000000000000000000000000000000000000000081565b60035481565b600082821115611c1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080831415611c395760009050611ca6565b6000828402905082848281611c4a57fe5b0414611ca1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127ec6021913960400191505060405180910390fd5b809150505b92915050565b6000808211611d23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611d2c57fe5b04905092915050565b600080828401905083811015611db3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611dc5612025565b611dce81610761565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000181905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018190555050565b611e7581600154611ba390919063ffffffff16565b600181905550611ed081600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154611ba390919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001819055506000611f5f6103e8611f517f000000000000000000000000000000000000000000000000000000000000000085611c2690919063ffffffff16565b611cac90919063ffffffff16565b9050611fae338284037f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166120439092919063ffffffff16565b61201960008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16827f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166120439092919063ffffffff16565b5050565b600033905090565b61202d6116d3565b600a8190555061203b6118b8565b600881905550565b6120e08363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612311565b505050565b6121323330837f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16612400909392919063ffffffff16565b6000600354111561223e57600061216861271061215a60035485611c2690919063ffffffff16565b611cac90919063ffffffff16565b9050600061217f8284611ba390919063ffffffff16565b90506121d681600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154611d3590919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000018190555061223181600154611d3590919063ffffffff16565b60018190555050506122f5565b61229381600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154611d3590919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001819055506122ee81600154611d3590919063ffffffff16565b6001819055505b50565b60008183106123075781612309565b825b905092915050565b6060612373826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166124c19092919063ffffffff16565b90506000815111156123fb5780806020019051602081101561239457600080fd5b81019080805190602001909291905050506123fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806128a2602a913960400191505060405180910390fd5b5b505050565b6124bb846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612311565b50505050565b60606124d084846000856124d9565b90509392505050565b606082471015612534576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806127a26026913960400191505060405180910390fd5b61253d85612682565b6125af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106125ff57805182526020820191506020810190506020830392506125dc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612661576040519150601f19603f3d011682016040523d82523d6000602084013e612666565b606091505b5091509150612676828286612695565b92505050949350505050565b600080823b905060008111915050919050565b606083156126a55782905061275a565b6000835111156126b85782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561271f578082015181840152602081019050612704565b50505050905090810190601f16801561274c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b60405180604001604052806000815260200160008152509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c506f6f6c206c6f636b65642c20706c65617365207761697420746f207769746864726177536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774465666c656374506f6f6c3a3a656d657267656e637957697468647261773a2043616e6e6f7420776974686472617720304465666c656374506f6f6c3a3a656d657267656e637957697468647261773a2043616e6e6f7420656d657267656e6379207769746864726177206265666f726520706572696f642066696e6973686573206f7220706f6f6c2068617320737461727465645361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420656a656374206265666f726520706572696f642066696e6973686573206f7220706f6f6c206861732073746172746564a2646970667358221220318d86cbbcbd6f5038e42ce173789cf35c845695862b3163a9e1ef14cb6ea60c64736f6c634300060c0033000000000000000000000000000000000000000000000000000000000107ac0000000000000000000000000059c6900949ad1835f07a04321f4d9934a054e11400000000000000000000000059c6900949ad1835f07a04321f4d9934a054e1140000000000000000000000003069070f3544c769baa9d9339f196a5d1cbcfd11000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000278d00
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106102055760003560e01c80637b0a47ee1161011a578063cd3daf9d116100ad578063e9fad8ee1161007c578063e9fad8ee146106a3578063ebe2b12b146106ad578063f2fde38b146106cb578063f7c618c11461070f578063fce589d81461074357610205565b8063cd3daf9d1461063f578063db2e21bc1461065d578063df136d6514610667578063e78b69f01461068557610205565b80639eade652116100e95780639eade652146105a7578063a694fc3a146105c5578063ae04d45d146105f3578063c8f33c911461062157610205565b80637b0a47ee1461050757806382e94ac5146105255780638da5cb5b1461052f5780638f9a372d1461056357610205565b806341c0e1b51161019d5780636827e7641161016c5780636827e7641461043557806370a0823114610453578063715018a6146104ab57806372f702f3146104b557806378e97925146104e957610205565b806341c0e1b514610381578063461ac0191461038b5780635a9a93fc146103a957806361d027b31461040157610205565b806318160ddd116101d957806318160ddd146102fd5780632e1a7d4d1461031b5780633c6b16ab146103495780633d18b9121461037757610205565b80628cc2621461020a5780630700037d146102625780630d668087146102c15780630fb5a6b4146102df575b600080fd5b61024c6004803603602081101561022057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610761565b6040518082815260200191505060405180910390f35b6102a46004803603602081101561027857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061088d565b604051808381526020018281526020019250505060405180910390f35b6102c96108b1565b6040518082815260200191505060405180910390f35b6102e76108b7565b6040518082815260200191505060405180910390f35b6103056108db565b6040518082815260200191505060405180910390f35b6103476004803603602081101561033157600080fd5b81019080803590602001909291905050506108e1565b005b6103756004803603602081101561035f57600080fd5b8101908080359060200190929190505050610a52565b005b61037f610ccd565b005b610389610e69565b005b610393610f21565b6040518082815260200191505060405180910390f35b6103eb600480360360208110156103bf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610f45565b6040518082815260200191505060405180910390f35b610409610f5d565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61043d610f81565b6040518082815260200191505060405180910390f35b6104956004803603602081101561046957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610fa5565b6040518082815260200191505060405180910390f35b6104b3610ff1565b005b6104bd611161565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104f1611185565b6040518082815260200191505060405180910390f35b61050f61118b565b6040518082815260200191505060405180910390f35b61052d611191565b005b6105376113b3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105a56004803603602081101561057957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113dd565b005b6105af6114cf565b6040518082815260200191505060405180910390f35b6105f1600480360360208110156105db57600080fd5b81019080803590602001909291905050506114f3565b005b61061f6004803603602081101561060957600080fd5b8101908080359060200190929190505050611614565b005b6106296116cd565b6040518082815260200191505060405180910390f35b6106476116d3565b6040518082815260200191505060405180910390f35b610665611793565b005b61066f6118b2565b6040518082815260200191505060405180910390f35b61068d6118b8565b6040518082815260200191505060405180910390f35b6106ab6118cb565b005b6106b561197e565b6040518082815260200191505060405180910390f35b61070d600480360360208110156106e157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611984565b005b610717611b79565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61074b611b9d565b6040518082815260200191505060405180910390f35b600061076b612761565b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060405180604001604052908160008201548152602001600182015481525050905061088581600001516108777f0000000000000000000000000000000000000000000000000de0b6b3a7640000610869610818866020015161080a6116d3565b611ba390919063ffffffff16565b600460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154611c2690919063ffffffff16565b611cac90919063ffffffff16565b611d3590919063ffffffff16565b915050919050565b600b6020528060005260406000206000915090508060000154908060010154905082565b60075481565b7f000000000000000000000000000000000000000000000000000000000107ac0081565b60015481565b60008111610957576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020544210156109ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806127c86024913960400191505060405180910390fd5b6109f833611dbd565b610a0181611e60565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5826040518082815260200191505060405180910390a250565b610a5a61201d565b73ffffffffffffffffffffffffffffffffffffffff16610a786113b3565b73ffffffffffffffffffffffffffffffffffffffff1614610b01576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600081905060008111610b7c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f217265776172642061646465640000000000000000000000000000000000000081525060200191505060405180910390fd5b610b84612025565b6006544210610bcb57610bc07f000000000000000000000000000000000000000000000000000000000107ac0082611cac90919063ffffffff16565b600981905550610c4b565b6000610be242600654611ba390919063ffffffff16565b90506000610bfb60095483611c2690919063ffffffff16565b9050610c427f000000000000000000000000000000000000000000000000000000000107ac00610c348386611d3590919063ffffffff16565b611cac90919063ffffffff16565b60098190555050505b4260088190555042600281905550610c8c7f000000000000000000000000000000000000000000000000000000000107ac0042611d3590919063ffffffff16565b6006819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d816040518082815260200191505060405180910390a15050565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054421015610d65576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806127c86024913960400191505060405180910390fd5b610d6e33611dbd565b6000610d7933610761565b90506000811115610e66576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001819055503373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a2610e6533827f00000000000000000000000059c6900949ad1835f07a04321f4d9934a054e11473ffffffffffffffffffffffffffffffffffffffff166120439092919063ffffffff16565b5b50565b610e7161201d565b73ffffffffffffffffffffffffffffffffffffffff16610e8f6113b3565b73ffffffffffffffffffffffffffffffffffffffff1614610f18576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b42600681905550565b7f0000000000000000000000000000000000000000000000000000000062a048b581565b600c6020528060005260406000206000915090505481565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7f000000000000000000000000000000000000000000000000000000000000000f81565b6000600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001549050919050565b610ff961201d565b73ffffffffffffffffffffffffffffffffffffffff166110176113b3565b73ffffffffffffffffffffffffffffffffffffffff16146110a0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b7f00000000000000000000000059c6900949ad1835f07a04321f4d9934a054e11481565b60025481565b60095481565b61119961201d565b73ffffffffffffffffffffffffffffffffffffffff166111b76113b3565b73ffffffffffffffffffffffffffffffffffffffff1614611240576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b61a8c06006540142101561129f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260378152602001806128cc6037913960400191505060405180910390fd5b60007f00000000000000000000000059c6900949ad1835f07a04321f4d9934a054e11473ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561132857600080fd5b505afa15801561133c573d6000803e3d6000fd5b505050506040513d602081101561135257600080fd5b810190808051906020019092919050505090506113b033827f00000000000000000000000059c6900949ad1835f07a04321f4d9934a054e11473ffffffffffffffffffffffffffffffffffffffff166120439092919063ffffffff16565b50565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6113e561201d565b73ffffffffffffffffffffffffffffffffffffffff166114036113b3565b73ffffffffffffffffffffffffffffffffffffffff161461148c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f0000000000000000000000000000000000000000000000000de0b6b3a764000081565b60008111611569576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61157233611dbd565b61157b816120e5565b6007544201600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040518082815260200191505060405180910390a250565b61161c61201d565b73ffffffffffffffffffffffffffffffffffffffff1661163a6113b3565b73ffffffffffffffffffffffffffffffffffffffff16146116c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b8060078190555050565b60085481565b60006002544210156116e85760009050611790565b600060015414156116fd57600a549050611790565b6000600154905061178c61177b8261176d7f0000000000000000000000000000000000000000000000000de0b6b3a764000061175f6009546117516008546117436118b8565b611ba390919063ffffffff16565b611c2690919063ffffffff16565b611c2690919063ffffffff16565b611cac90919063ffffffff16565b600a54611d3590919063ffffffff16565b9150505b90565b61a8c0600654014210156117f2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252606481526020018061283e6064913960800191505060405180910390fd5b60006117fd33610fa5565b905060008111611858576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603181526020018061280d6031913960400191505060405180910390fd5b61186181611e60565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5826040518082815260200191505060405180910390a250565b600a5481565b60006118c6426006546122f8565b905090565b600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054421015611963576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806127c86024913960400191505060405180910390fd5b61196b610ccd565b61197c61197733610fa5565b6108e1565b565b60065481565b61198c61201d565b73ffffffffffffffffffffffffffffffffffffffff166119aa6113b3565b73ffffffffffffffffffffffffffffffffffffffff1614611a33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611ab9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061277c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b7f00000000000000000000000059c6900949ad1835f07a04321f4d9934a054e11481565b60035481565b600082821115611c1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b600080831415611c395760009050611ca6565b6000828402905082848281611c4a57fe5b0414611ca1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127ec6021913960400191505060405180910390fd5b809150505b92915050565b6000808211611d23576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b818381611d2c57fe5b04905092915050565b600080828401905083811015611db3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611dc5612025565b611dce81610761565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000181905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206001018190555050565b611e7581600154611ba390919063ffffffff16565b600181905550611ed081600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154611ba390919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001819055506000611f5f6103e8611f517f000000000000000000000000000000000000000000000000000000000000000f85611c2690919063ffffffff16565b611cac90919063ffffffff16565b9050611fae338284037f00000000000000000000000059c6900949ad1835f07a04321f4d9934a054e11473ffffffffffffffffffffffffffffffffffffffff166120439092919063ffffffff16565b61201960008054906101000a900473ffffffffffffffffffffffffffffffffffffffff16827f00000000000000000000000059c6900949ad1835f07a04321f4d9934a054e11473ffffffffffffffffffffffffffffffffffffffff166120439092919063ffffffff16565b5050565b600033905090565b61202d6116d3565b600a8190555061203b6118b8565b600881905550565b6120e08363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612311565b505050565b6121323330837f00000000000000000000000059c6900949ad1835f07a04321f4d9934a054e11473ffffffffffffffffffffffffffffffffffffffff16612400909392919063ffffffff16565b6000600354111561223e57600061216861271061215a60035485611c2690919063ffffffff16565b611cac90919063ffffffff16565b9050600061217f8284611ba390919063ffffffff16565b90506121d681600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154611d3590919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000018190555061223181600154611d3590919063ffffffff16565b60018190555050506122f5565b61229381600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000154611d3590919063ffffffff16565b600460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600001819055506122ee81600154611d3590919063ffffffff16565b6001819055505b50565b60008183106123075781612309565b825b905092915050565b6060612373826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166124c19092919063ffffffff16565b90506000815111156123fb5780806020019051602081101561239457600080fd5b81019080805190602001909291905050506123fa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806128a2602a913960400191505060405180910390fd5b5b505050565b6124bb846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612311565b50505050565b60606124d084846000856124d9565b90509392505050565b606082471015612534576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806127a26026913960400191505060405180910390fd5b61253d85612682565b6125af576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106125ff57805182526020820191506020810190506020830392506125dc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612661576040519150601f19603f3d011682016040523d82523d6000602084013e612666565b606091505b5091509150612676828286612695565b92505050949350505050565b600080823b905060008111915050919050565b606083156126a55782905061275a565b6000835111156126b85782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561271f578082015181840152602081019050612704565b50505050905090810190601f16801561274c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b60405180604001604052806000815260200160008152509056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c506f6f6c206c6f636b65642c20706c65617365207761697420746f207769746864726177536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774465666c656374506f6f6c3a3a656d657267656e637957697468647261773a2043616e6e6f7420776974686472617720304465666c656374506f6f6c3a3a656d657267656e637957697468647261773a2043616e6e6f7420656d657267656e6379207769746864726177206265666f726520706572696f642066696e6973686573206f7220706f6f6c2068617320737461727465645361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420656a656374206265666f726520706572696f642066696e6973686573206f7220706f6f6c206861732073746172746564a2646970667358221220318d86cbbcbd6f5038e42ce173789cf35c845695862b3163a9e1ef14cb6ea60c64736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000107ac0000000000000000000000000059c6900949ad1835f07a04321f4d9934a054e11400000000000000000000000059c6900949ad1835f07a04321f4d9934a054e1140000000000000000000000003069070f3544c769baa9d9339f196a5d1cbcfd11000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000278d00
-----Decoded View---------------
Arg [0] : _duration (uint256): 17280000
Arg [1] : _stakingToken (address): 0x59c6900949aD1835f07a04321f4d9934a054E114
Arg [2] : _rewardToken (address): 0x59c6900949aD1835f07a04321f4d9934a054E114
Arg [3] : _treasury (address): 0x3069070F3544C769baA9d9339f196a5D1CBcFd11
Arg [4] : _devFee (uint256): 15
Arg [5] : _burnFee (uint256): 0
Arg [6] : _lockDuration (uint256): 2592000
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000107ac00
Arg [1] : 00000000000000000000000059c6900949ad1835f07a04321f4d9934a054e114
Arg [2] : 00000000000000000000000059c6900949ad1835f07a04321f4d9934a054e114
Arg [3] : 0000000000000000000000003069070f3544c769baa9d9339f196a5d1cbcfd11
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000278d00
Deployed Bytecode Sourcemap
30604:7915:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33588:289;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31180:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;30937:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30817:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26436:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34441:358;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35793:1075;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35138:414;;;:::i;:::-;;37471:86;;;:::i;:::-;;30857:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31232:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26346:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26306:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;27040:118;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2773:148;;;:::i;:::-;;26263:36;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26469:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31003:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37033:296;;;:::i;:::-;;2122:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32317:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30763:47;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33974:362;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32428:100;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30967:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32745:780;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37669:454;;;:::i;:::-;;31035:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32540:128;;;:::i;:::-;;;;;;;;;;;;;;;;;;;34880:201;;;:::i;:::-;;30903:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3076:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;30713:43;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;26500:22;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33588:289;33642:7;33662:29;;:::i;:::-;33694:7;:16;33702:7;33694:16;;;;;;;;;;;;;;;33662:48;;;;;;;;;;;;;;;;;;;;;;;;;;;33728:141;33849:11;:19;;;33728:116;33821:22;33728:88;33759:56;33780:11;:34;;;33759:16;:14;:16::i;:::-;:20;;:56;;;;:::i;:::-;33728:9;:18;33738:7;33728:18;;;;;;;;;;;;;;;:26;;;:30;;:88;;;;:::i;:::-;:92;;:116;;;;:::i;:::-;:120;;:141;;;;:::i;:::-;33721:148;;;33588:289;;;:::o;31180:45::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;30937:23::-;;;;:::o;30817:33::-;;;:::o;26436:26::-;;;;:::o;34441:358::-;34519:1;34510:6;:10;34502:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34580:12;:24;34593:10;34580:24;;;;;;;;;;;;;;;;34561:15;:43;;34553:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34657:24;34670:10;34657:12;:24::i;:::-;34722:22;34737:6;34722:14;:22::i;:::-;34772:10;34762:29;;;34784:6;34762:29;;;;;;;;;;;;;;;;;;34441:358;:::o;35793:1075::-;2353:12;:10;:12::i;:::-;2342:23;;:7;:5;:7::i;:::-;:23;;;2334:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35870:14:::1;35887:7;35870:24;;35922:1;35913:6;:10;35905:36;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;35985:28;:26;:28::i;:::-;36180:12;;36161:15;:31;36157:441;;36222:20;36233:8;36222:6;:10;;:20;;;;:::i;:::-;36209:10;:33;;;;36157:441;;;36319:21;36343:33;36360:15;36343:12;;:16;;:33;;;;:::i;:::-;36319:57;;36423:24;36450:29;36468:10;;36450:13;:17;;:29;;;;:::i;:::-;36423:56;;36544:42;36577:8;36544:28;36555:16;36544:6;:10;;:28;;;;:::i;:::-;:32;;:42;;;;:::i;:::-;36531:10;:55;;;;36157:441;;;36660:15;36643:14;:32;;;;36698:15;36686:9;:27;;;;36796:29;36816:8;36796:15;:19;;:29;;;;:::i;:::-;36781:12;:44;;;;36841:19;36853:6;36841:19;;;;;;;;;;;;;;;;;;2413:1;35793:1075:::0;:::o;35138:414::-;35204:12;:24;35217:10;35204:24;;;;;;;;;;;;;;;;35185:15;:43;;35177:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35281:24;35294:10;35281:12;:24::i;:::-;35316:14;35333:18;35340:10;35333:6;:18::i;:::-;35316:35;;35375:1;35366:6;:10;35362:183;;;35423:1;35393:7;:19;35401:10;35393:19;;;;;;;;;;;;;;;:27;;:31;;;;35455:10;35444:30;;;35467:6;35444:30;;;;;;;;;;;;;;;;;;35489:44;35514:10;35526:6;35489:11;:24;;;;:44;;;;;:::i;:::-;35362:183;35138:414;:::o;37471:86::-;2353:12;:10;:12::i;:::-;2342:23;;:7;:5;:7::i;:::-;:23;;;2334:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37534:15:::1;37519:12;:30;;;;37471:86::o:0;30857:37::-;;;:::o;31232:47::-;;;;;;;;;;;;;;;;;:::o;26346:23::-;;;;;;;;;;;;:::o;26306:31::-;;;:::o;27040:118::-;27097:7;27124:9;:18;27134:7;27124:18;;;;;;;;;;;;;;;:26;;;27117:33;;27040:118;;;:::o;2773:148::-;2353:12;:10;:12::i;:::-;2342:23;;:7;:5;:7::i;:::-;:23;;;2334:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2880:1:::1;2843:40;;2864:6;;;;;;;;;;;2843:40;;;;;;;;;;;;2911:1;2894:6;;:19;;;;;;;;;;;;;;;;;;2773:148::o:0;26263:36::-;;;:::o;26469:24::-;;;;:::o;31003:25::-;;;;:::o;37033:296::-;2353:12;:10;:12::i;:::-;2342:23;;:7;:5;:7::i;:::-;:23;;;2334:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37124:8:::1;37109:12;;:23;37090:15;:42;;37082:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37203:19;37225:11;:21;;;37255:4;37225:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;37203:58;;37272:49;37297:10;37309:11;37272;:24;;;;:49;;;;;:::i;:::-;2413:1;37033:296::o:0;2122:87::-;2168:7;2195:6;;;;;;;;;;;2188:13;;2122:87;:::o;32317:103::-;2353:12;:10;:12::i;:::-;2342:23;;:7;:5;:7::i;:::-;:23;;;2334:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32403:9:::1;32392:8;::::0;:20:::1;;;;;;;;;;;;;;;;;;32317:103:::0;:::o;30763:47::-;;;:::o;33974:362::-;34049:1;34040:6;:10;34032:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34080:24;34093:10;34080:12;:24::i;:::-;34169:19;34181:6;34169:11;:19::i;:::-;34276:8;;34258:15;:26;34231:12;:24;34244:10;34231:24;;;;;;;;;;;;;;;:53;;;;34309:10;34302:26;;;34321:6;34302:26;;;;;;;;;;;;;;;;;;33974:362;:::o;32428:100::-;2353:12;:10;:12::i;:::-;2342:23;;:7;:5;:7::i;:::-;:23;;;2334:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32511:9:::1;32500:8;:20;;;;32428:100:::0;:::o;30967:29::-;;;;:::o;32745:780::-;32792:7;32890:9;;32872:15;:27;32868:68;;;32923:1;32916:8;;;;32868:68;32967:1;32952:11;;:16;32948:76;;;32992:20;;32985:27;;;;32948:76;33036:28;33067:11;;33036:42;;33288:229;33337:169;33485:20;33337:129;33443:22;33337:87;33413:10;;33337:57;33379:14;;33337:23;:21;:23::i;:::-;:41;;:57;;;;:::i;:::-;:75;;:87;;;;:::i;:::-;:105;;:129;;;;:::i;:::-;:147;;:169;;;;:::i;:::-;33288:20;;:34;;:229;;;;:::i;:::-;33281:236;;;32745:780;;:::o;37669:454::-;37760:8;37745:12;;:23;37726:15;:42;;37718:155;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37884:22;37909:21;37919:10;37909:9;:21::i;:::-;37884:46;;37966:1;37949:14;:18;37941:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38032:30;38047:14;38032;:30::i;:::-;38088:10;38078:37;;;38100:14;38078:37;;;;;;;;;;;;;;;;;;37669:454;:::o;31035:35::-;;;;:::o;32540:128::-;32594:7;32621:39;32630:15;32647:12;;32621:8;:39::i;:::-;32614:46;;32540:128;:::o;34880:201::-;34943:12;:24;34956:10;34943:24;;;;;;;;;;;;;;;;34924:15;:43;;34916:92;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35020:11;:9;:11::i;:::-;35042:31;35051:21;35061:10;35051:9;:21::i;:::-;35042:8;:31::i;:::-;34880:201::o;30903:27::-;;;;:::o;3076:244::-;2353:12;:10;:12::i;:::-;2342:23;;:7;:5;:7::i;:::-;:23;;;2334:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3185:1:::1;3165:22;;:8;:22;;;;3157:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3275:8;3246:38;;3267:6;;;;;;;;;;;3246:38;;;;;;;;;;;;3304:8;3295:6;;:17;;;;;;;;;;;;;;;;;;3076:244:::0;:::o;30713:43::-;;;:::o;26500:22::-;;;;:::o;7385:158::-;7443:7;7476:1;7471;:6;;7463:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7534:1;7530;:5;7523:12;;7385:158;;;;:::o;7802:220::-;7860:7;7889:1;7884;:6;7880:20;;;7899:1;7892:8;;;;7880:20;7911:9;7927:1;7923;:5;7911:17;;7956:1;7951;7947;:5;;;;;;:10;7939:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8013:1;8006:8;;;7802:220;;;;;:::o;8500:153::-;8558:7;8590:1;8586;:5;8578:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8644:1;8640;:5;;;;;;8633:12;;8500:153;;;;:::o;6923:179::-;6981:7;7001:9;7017:1;7013;:5;7001:17;;7042:1;7037;:6;;7029:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7093:1;7086:8;;;6923:179;;;;:::o;38295:221::-;38354:28;:26;:28::i;:::-;38420:15;38427:7;38420:6;:15::i;:::-;38393:7;:16;38401:7;38393:16;;;;;;;;;;;;;;;:24;;:42;;;;38488:20;;38446:7;:16;38454:7;38446:16;;;;;;;;;;;;;;;:39;;:62;;;;38295:221;:::o;27990:490::-;28064:23;28080:6;28064:11;;:15;;:23;;;;:::i;:::-;28050:11;:37;;;;28130:65;28178:6;28130:9;:21;28140:10;28130:21;;;;;;;;;;;;;;;:29;;;:33;;:65;;;;:::i;:::-;28098:9;:21;28108:10;28098:21;;;;;;;;;;;;;;;:29;;:97;;;;28247:11;28261:28;28284:4;28261:18;28272:6;28261;:10;;:18;;;;:::i;:::-;:22;;:28;;;;:::i;:::-;28247:42;;28342:51;28368:10;28389:3;28380:6;:12;28342;:25;;;;:51;;;;;:::i;:::-;28432:40;28458:8;;;;;;;;;;28468:3;28432:12;:25;;;;:40;;;;;:::i;:::-;27990:490;;:::o;688:106::-;741:15;776:10;769:17;;688:106;:::o;38131:156::-;38212:16;:14;:16::i;:::-;38189:20;:39;;;;38256:23;:21;:23::i;:::-;38239:14;:40;;;;38131:156::o;23033:177::-;23116:86;23136:5;23166:23;;;23191:2;23195:5;23143:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23116:19;:86::i;:::-;23033:177;;;:::o;27200:732::-;27267:64;27297:10;27317:4;27324:6;27267:12;:29;;;;:64;;;;;;:::i;:::-;27358:1;27348:7;;:11;27344:365;;;27377:21;27401:30;27425:5;27401:19;27412:7;;27401:6;:10;;:19;;;;:::i;:::-;:23;;:30;;;;:::i;:::-;27377:54;;27446:18;27467:28;27478:16;27467:6;:10;;:28;;;;:::i;:::-;27446:49;;27542:75;27590:13;27542:9;:21;27552:10;27542:21;;;;;;;;;;;;;;;:29;;;:33;;:75;;;;:::i;:::-;27510:9;:21;27520:10;27510:21;;;;;;;;;;;;;;;:29;;:107;;;;27646:30;27662:13;27646:11;;:15;;:30;;;;:::i;:::-;27632:11;:44;;;;27691:7;;;;27344:365;27809:65;27857:6;27809:9;:21;27819:10;27809:21;;;;;;;;;;;;;;;:29;;;:33;;:65;;;;:::i;:::-;27777:9;:21;27787:10;27777:21;;;;;;;;;;;;;;;:29;;:97;;;;27899:23;27915:6;27899:11;;:15;;:23;;;;:::i;:::-;27885:11;:37;;;;27200:732;;:::o;3732:106::-;3790:7;3821:1;3817;:5;:13;;3829:1;3817:13;;;3825:1;3817:13;3810:20;;3732:106;;;;:::o;25338:761::-;25762:23;25788:69;25816:4;25788:69;;;;;;;;;;;;;;;;;25796:5;25788:27;;;;:69;;;;;:::i;:::-;25762:95;;25892:1;25872:10;:17;:21;25868:224;;;26014:10;26003:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25995:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25868:224;25338:761;;;:::o;23218:205::-;23319:96;23339:5;23369:27;;;23398:4;23404:2;23408:5;23346:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23319:19;:96::i;:::-;23218:205;;;;:::o;18057:195::-;18160:12;18192:52;18214:6;18222:4;18228:1;18231:12;18192:21;:52::i;:::-;18185:59;;18057:195;;;;;:::o;19109:530::-;19236:12;19294:5;19269:21;:30;;19261:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19361:18;19372:6;19361:10;:18::i;:::-;19353:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19487:12;19501:23;19528:6;:11;;19548:5;19556:4;19528:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19486:75;;;;19579:52;19597:7;19606:10;19618:12;19579:17;:52::i;:::-;19572:59;;;;19109:530;;;;;;:::o;15139:422::-;15199:4;15407:12;15518:7;15506:20;15498:28;;15552:1;15545:4;:8;15538:15;;;15139:422;;;:::o;21649:742::-;21764:12;21793:7;21789:595;;;21824:10;21817:17;;;;21789:595;21958:1;21938:10;:17;:21;21934:439;;;22201:10;22195:17;22262:15;22249:10;22245:2;22241:19;22234:44;22149:148;22344:12;22337:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21649:742;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
ipfs://318d86cbbcbd6f5038e42ce173789cf35c845695862b3163a9e1ef14cb6ea60c
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.