Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 724 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Exit Stake | 11655899 | 1398 days ago | IN | 0 ETH | 0.00657902 | ||||
Exit Stake | 11446339 | 1430 days ago | IN | 0 ETH | 0.00319144 | ||||
Exit Stake | 11443903 | 1430 days ago | IN | 0 ETH | 0.00255315 | ||||
Exit Stake | 11443876 | 1430 days ago | IN | 0 ETH | 0.00581078 | ||||
Exit Stake | 11441208 | 1431 days ago | IN | 0 ETH | 0.00255558 | ||||
Get Reward | 11440119 | 1431 days ago | IN | 0 ETH | 0.00128971 | ||||
Exit Stake | 11440118 | 1431 days ago | IN | 0 ETH | 0.00367036 | ||||
Exit Stake | 11439897 | 1431 days ago | IN | 0 ETH | 0.00255558 | ||||
Get Reward | 11439873 | 1431 days ago | IN | 0 ETH | 0.00180097 | ||||
Exit Stake | 11439658 | 1431 days ago | IN | 0 ETH | 0.00315952 | ||||
Exit Stake | 11439649 | 1431 days ago | IN | 0 ETH | 0.00340744 | ||||
Exit Stake | 11439621 | 1431 days ago | IN | 0 ETH | 0.00349144 | ||||
Exit Stake | 11439407 | 1431 days ago | IN | 0 ETH | 0.00518478 | ||||
Exit Stake | 11439376 | 1431 days ago | IN | 0 ETH | 0.00453887 | ||||
Get Reward | 11439152 | 1431 days ago | IN | 0 ETH | 0.00292797 | ||||
Withdraw | 11438939 | 1431 days ago | IN | 0 ETH | 0.00549367 | ||||
Exit Stake | 11437538 | 1431 days ago | IN | 0 ETH | 0.00096925 | ||||
Exit Stake | 11437534 | 1431 days ago | IN | 0 ETH | 0.00271272 | ||||
Exit Stake | 11436844 | 1431 days ago | IN | 0 ETH | 0.00500504 | ||||
Exit Stake | 11435500 | 1432 days ago | IN | 0 ETH | 0.00408892 | ||||
Exit Stake | 11435156 | 1432 days ago | IN | 0 ETH | 0.00766674 | ||||
Exit Stake | 11435136 | 1432 days ago | IN | 0 ETH | 0.01448947 | ||||
Exit Stake | 11435130 | 1432 days ago | IN | 0 ETH | 0.01448947 | ||||
Withdraw | 11434836 | 1432 days ago | IN | 0 ETH | 0.0129186 | ||||
Exit Stake | 11434722 | 1432 days ago | IN | 0 ETH | 0.01021246 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
YFFSDeflationStake
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-24 */ // SPDX-License-Identifier: UNLICENSED pragma solidity ^0.6.12; /** * @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, 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) { return sub(a, b, "SafeMath: subtraction overflow"); } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * - Subtraction cannot overflow. * * _Available since v2.4.0._ */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b <= a, errorMessage); uint256 c = a - b; return c; } /** * @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) { // 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 0; } uint256 c = a * b; require(c / a == b, "SafeMath: multiplication overflow"); return c; } /** * @dev Returns the integer division of two unsigned integers. Reverts 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) { return div(a, b, "SafeMath: division by zero"); } /** * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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. * * _Available since v2.4.0._ */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0, errorMessage); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts 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) { return mod(a, b, "SafeMath: modulo by zero"); } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * Reverts with custom message 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. * * _Available since v2.4.0._ */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } // File: @openzeppelin/contracts/GSN/Context.sol /* * @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. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor() internal {} // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view 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/ownership/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. * * 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. */ 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 { _owner = _msgSender(); emit OwnershipTransferred(address(0), _owner); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _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 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 onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require( newOwner != address(0), "Ownable: new owner is the zero address" ); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); function transfer(address recipient, uint256 amount) external returns (bool); function mint(address account, uint256 amount) external; function burn(uint256 amount) external; function allowance(address owner, address spender) external view returns (uint256); function approve(address spender, uint256 amount) external returns (bool); function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); event Transfer(address indexed from, address indexed to, uint256 value); event Approval( address indexed owner, address indexed spender, uint256 value ); } // File: @openzeppelin/contracts/utils/Address.sol /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * This test is non-exhaustive, and there may be false-negatives: during the * execution of a contract's constructor, its address will be reported as * not containing 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. */ function isContract(address account) internal view returns (bool) { // This method relies in extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != 0x0 && codehash != accountHash); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } } // 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 ERC20;` 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) ); } 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. // A Solidity high level call has three parts: // 1. The target address is checked to verify it contains contract code // 2. The call itself is made, and success asserted // 3. The return value is decoded, which in turn checks the size of the returned data. // solhint-disable-next-line max-line-length require(address(token).isContract(), "SafeERC20: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = address(token).call(data); require(success, "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/IGovernanceAddressRecipient.sol contract IGovernanceAddressRecipient is Ownable { address GovernanceAddress; modifier onlyGovernanceAddress() { require( _msgSender() == GovernanceAddress, "Caller is not reward distribution" ); _; } function setGovernanceAddress(address _GovernanceAddress) external onlyOwner { GovernanceAddress = _GovernanceAddress; } } // File: contracts/Rewards.sol contract StakeTokenWrapper { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public stakeToken; uint256 constant PERCENT = 10000; uint256 public DEFLATION_OUT = 0; uint256 public DEFLATION_REWARD = 0; address public feeAddress = address(0); uint256 private _totalSupply; mapping(address => uint256) private _balances; constructor( address _stakeToken, address _feeAddress, uint256 _deflationReward, uint256 _deflationOut ) public { stakeToken = IERC20(_stakeToken); feeAddress = _feeAddress; DEFLATION_OUT = _deflationOut; DEFLATION_REWARD = _deflationReward; } function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function stake(uint256 amount) public virtual { _totalSupply = _totalSupply.add(amount); _balances[msg.sender] = _balances[msg.sender].add(amount); stakeToken.safeTransferFrom(msg.sender, address(this), amount); } function withdraw(uint256 amount) public virtual { _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); ( uint256 realAmount, uint256 feeAmount, uint256 burnAmount ) = feeTransaction(amount, DEFLATION_OUT); stakeToken.safeTransfer(address(feeAddress), feeAmount); stakeToken.burn(burnAmount); stakeToken.safeTransfer(msg.sender, realAmount); } function feeTransaction(uint256 amount, uint256 _deflation) internal pure returns ( uint256 realAmount, uint256 feeAmount, uint256 burnAmount ) { burnAmount = amount.div(PERCENT).mul(_deflation).div(10); feeAmount = amount.div(PERCENT).mul(_deflation).div(10).mul(9); realAmount = amount.sub(burnAmount.add(feeAmount)); } } contract YFFSDeflationStake is StakeTokenWrapper( 0x90D702f071d2af33032943137AD0aB4280705817, 0xb22Aed36638f0Cf6B8d1092ab73A14580E6f8b99, 100, 100 ), IGovernanceAddressRecipient { uint256 public constant DURATION = 60 days; uint256 public initReward = 0; uint256 public startTime = 0; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public lastUpdateTime; bool public stakeable = false; uint256 public rewardPerTokenStored; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; event DepositStake(uint256 reward); event StartStaking(uint256 time); event StopStaking(uint256 time); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } modifier checkStart() { require(initReward > 0, "No reward to stake."); require(stakeable, "Staking is not started."); _; } constructor() public { GovernanceAddress = msg.sender; } function lastTimeRewardApplicable() public view returns (uint256) { return Math.min(block.timestamp, periodFinish); } function remainingReward() public view returns (uint256) { return stakeToken.balanceOf(address(this)); } function stop() public onlyGovernanceAddress { require(stakeable, "Staking is not started."); stakeToken.safeTransfer( address(0x489B689850999F751760a38d03693Bd979C4A690), remainingReward() ); stakeable = false; initReward = 0; rewardRate = 0; emit StopStaking(block.timestamp); } function rewardPerToken() public view returns (uint256) { if (totalSupply() == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable() .sub(lastUpdateTime) .mul(rewardRate) .mul(1e18) .div(totalSupply()) ); } function earned(address account) public view returns (uint256) { return balanceOf(account) .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(1e18) .add(rewards[account]); } function start() public onlyGovernanceAddress { require(!stakeable, "Staking is started."); require(initReward > 0, "Cannot start. Require initReward"); periodFinish = block.timestamp.add(DURATION); stakeable = true; startTime = block.timestamp; emit StartStaking(block.timestamp); } function depositReward(uint256 amount) public onlyGovernanceAddress { require(!stakeable, "Staking is started."); require(amount > 0, "Cannot deposit 0"); stakeToken.safeTransferFrom(msg.sender, address(this), amount); initReward = amount; rewardRate = initReward.div(DURATION); emit DepositStake(amount); } function stake(uint256 amount) public override updateReward(msg.sender) checkStart { require(amount > 0, "Cannot stake 0"); super.stake(amount); emit Staked(msg.sender, amount); } function withdraw(uint256 amount) public override updateReward(msg.sender) checkStart { require(amount > 0, "Cannot withdraw 0"); super.withdraw(amount); emit Withdrawn(msg.sender, amount); } function exitStake() external { withdraw(balanceOf(msg.sender)); getReward(); } function getReward() public updateReward(msg.sender) checkStart { uint256 reward = earned(msg.sender); if (reward > 0) { rewards[msg.sender] = 0; uint256 deflationReward = reward.div(PERCENT).mul(DEFLATION_REWARD); stakeToken.burn(deflationReward); stakeToken.safeTransfer(msg.sender, reward.sub(deflationReward)); emit RewardPaid(msg.sender, reward); } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"DepositStake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":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":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"StartStaking","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"StopStaking","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":[],"name":"DEFLATION_OUT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFLATION_REWARD","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":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exitStake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initReward","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","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":"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":"remainingReward","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":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_GovernanceAddress","type":"address"}],"name":"setGovernanceAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakeable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stop","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","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
6080604052600060015560006002556000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600060085560006009556000600a556000600b556000600d60006101000a81548160ff02191690831515021790555034801561008b57600080fd5b507390d702f071d2af33032943137ad0ab428070581773b22aed36638f0cf6b8d1092ab73a14580e6f8b99606480836000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600181905550816002819055505050505061015a61025d60201b60201c565b600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a333600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550610265565b600033905090565b612a18806102746000396000f3fe608060405234801561001057600080fd5b50600436106101ef5760003560e01c80637b0a47ee1161010f578063c8f33c91116100a2578063df136d6511610071578063df136d651461065c578063e1c4c9fe1461067a578063ebe2b12b14610698578063f2fde38b146106b6576101ef565b8063c8f33c91146105be578063cd3daf9d146105dc578063cfc16254146105fa578063d45d7fb51461063e576101ef565b80638f32d59b116100de5780638f32d59b146105485780639bfffad714610568578063a694fc3a14610586578063be9a6555146105b4576101ef565b80637b0a47ee1461048057806380faa57d1461049e5780638b876347146104bc5780638da5cb5b14610514576101ef565b80633d18b9121161018757806370a082311161015657806370a08231146103e0578063715018a61461043857806375a776d61461044257806378e9792514610462576101ef565b80633d18b91214610350578063412753581461035a57806351ed6a301461038e57806356cefd68146103c2576101ef565b80631be05289116101c35780631be05289146102cc5780631e2720ff146102ea5780632e1a7d4d146103185780633882f74214610346576101ef565b80628cc262146101f45780630700037d1461024c57806307da68f5146102a457806318160ddd146102ae575b600080fd5b6102366004803603602081101561020a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106fa565b6040518082815260200191505060405180910390f35b61028e6004803603602081101561026257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107e1565b6040518082815260200191505060405180910390f35b6102ac6107f9565b005b6102b66109f2565b6040518082815260200191505060405180910390f35b6102d46109fc565b6040518082815260200191505060405180910390f35b6103166004803603602081101561030057600080fd5b8101908080359060200190929190505050610a03565b005b6103446004803603602081101561032e57600080fd5b8101908080359060200190929190505050610c55565b005b61034e610f04565b005b610358610f1f565b005b6103626112c1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103966112e7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103ca61130b565b6040518082815260200191505060405180910390f35b610422600480360360208110156103f657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611311565b6040518082815260200191505060405180910390f35b61044061135a565b005b61044a611495565b60405180821515815260200191505060405180910390f35b61046a6114a8565b6040518082815260200191505060405180910390f35b6104886114ae565b6040518082815260200191505060405180910390f35b6104a66114b4565b6040518082815260200191505060405180910390f35b6104fe600480360360208110156104d257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114c7565b6040518082815260200191505060405180910390f35b61051c6114df565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610550611509565b60405180821515815260200191505060405180910390f35b610570611568565b6040518082815260200191505060405180910390f35b6105b26004803603602081101561059c57600080fd5b810190808035906020019092919050505061156e565b005b6105bc61181d565b005b6105c6611a3c565b6040518082815260200191505060405180910390f35b6105e4611a42565b6040518082815260200191505060405180910390f35b61063c6004803603602081101561061057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ada565b005b610646611b98565b6040518082815260200191505060405180910390f35b610664611b9e565b6040518082815260200191505060405180910390f35b610682611ba4565b6040518082815260200191505060405180910390f35b6106a0611c6e565b6040518082815260200191505060405180910390f35b6106f8600480360360208110156106cc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c74565b005b60006107da601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107cc670de0b6b3a76400006107be6107a7600f60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610799611a42565b611cfa90919063ffffffff16565b6107b088611311565b611d4490919063ffffffff16565b611dca90919063ffffffff16565b611e1490919063ffffffff16565b9050919050565b60106020528060005260406000206000915090505481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661083a611e9c565b73ffffffffffffffffffffffffffffffffffffffff16146108a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129986021913960400191505060405180910390fd5b600d60009054906101000a900460ff16610928576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5374616b696e67206973206e6f7420737461727465642e00000000000000000081525060200191505060405180910390fd5b61098e73489b689850999f751760a38d03693bd979c4a690610948611ba4565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ea49092919063ffffffff16565b6000600d60006101000a81548160ff02191690831515021790555060006008819055506000600b819055507f844769bc94a2b0b6e18c8649b94e6dea9460cf27630e50da40b24bec16d898ab426040518082815260200191505060405180910390a1565b6000600454905090565b624f1a0081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610a44611e9c565b73ffffffffffffffffffffffffffffffffffffffff1614610ab0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129986021913960400191505060405180910390fd5b600d60009054906101000a900460ff1615610b33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f5374616b696e6720697320737461727465642e0000000000000000000000000081525060200191505060405180910390fd5b60008111610ba9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f43616e6e6f74206465706f73697420300000000000000000000000000000000081525060200191505060405180910390fd5b610bf633308360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f46909392919063ffffffff16565b80600881905550610c15624f1a00600854611dca90919063ffffffff16565b600b819055507f054a903637a366320c31e23f961726344072ccf4de8c6cb7944791b9b1229dee816040518082815260200191505060405180910390a150565b33610c5e611a42565b600e81905550610c6c6114b4565b600c81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d3957610caf816106fa565b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600e54600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600060085411610db1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e6f2072657761726420746f207374616b652e0000000000000000000000000081525060200191505060405180910390fd5b600d60009054906101000a900460ff16610e33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5374616b696e67206973206e6f7420737461727465642e00000000000000000081525060200191505060405180910390fd5b60008211610ea9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610eb282612007565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b610f15610f1033611311565b610c55565b610f1d610f1f565b565b33610f28611a42565b600e81905550610f366114b4565b600c81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461100357610f79816106fa565b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600e54600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60006008541161107b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e6f2072657761726420746f207374616b652e0000000000000000000000000081525060200191505060405180910390fd5b600d60009054906101000a900460ff166110fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5374616b696e67206973206e6f7420737461727465642e00000000000000000081525060200191505060405180910390fd5b6000611108336106fa565b905060008111156112bd576000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600061118360025461117561271085611dca90919063ffffffff16565b611d4490919063ffffffff16565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156111f857600080fd5b505af115801561120c573d6000803e3d6000fd5b5050505061126d336112278385611cfa90919063ffffffff16565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ea49092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486836040518082815260200191505060405180910390a2505b5050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611362611509565b6113d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600d60009054906101000a900460ff1681565b60095481565b600b5481565b60006114c242600a54612217565b905090565b600f6020528060005260406000206000915090505481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661154c611e9c565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60085481565b33611577611a42565b600e819055506115856114b4565b600c81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611652576115c8816106fa565b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600e54600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600854116116ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e6f2072657761726420746f207374616b652e0000000000000000000000000081525060200191505060405180910390fd5b600d60009054906101000a900460ff1661174c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5374616b696e67206973206e6f7420737461727465642e00000000000000000081525060200191505060405180910390fd5b600082116117c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b6117cb82612230565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661185e611e9c565b73ffffffffffffffffffffffffffffffffffffffff16146118ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129986021913960400191505060405180910390fd5b600d60009054906101000a900460ff161561194d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f5374616b696e6720697320737461727465642e0000000000000000000000000081525060200191505060405180910390fd5b6000600854116119c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f43616e6e6f742073746172742e205265717569726520696e697452657761726481525060200191505060405180910390fd5b6119db624f1a0042611e1490919063ffffffff16565b600a819055506001600d60006101000a81548160ff021916908315150217905550426009819055507f35f87ec121777dc0cc72cd4066439fd5218001344ebdadccc8cfcf3c3dee6108426040518082815260200191505060405180910390a1565b600c5481565b600080611a4d6109f2565b1415611a5d57600e549050611ad7565b611ad4611ac3611a6b6109f2565b611ab5670de0b6b3a7640000611aa7600b54611a99600c54611a8b6114b4565b611cfa90919063ffffffff16565b611d4490919063ffffffff16565b611d4490919063ffffffff16565b611dca90919063ffffffff16565b600e54611e1490919063ffffffff16565b90505b90565b611ae2611509565b611b54576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60025481565b600e5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611c2e57600080fd5b505afa158015611c42573d6000803e3d6000fd5b505050506040513d6020811015611c5857600080fd5b8101908080519060200190929190505050905090565b600a5481565b611c7c611509565b611cee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611cf781612330565b50565b6000611d3c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612476565b905092915050565b600080831415611d575760009050611dc4565b6000828402905082848281611d6857fe5b0414611dbf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129776021913960400191505060405180910390fd5b809150505b92915050565b6000611e0c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612536565b905092915050565b600080828401905083811015611e92576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b611f418363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506125fc565b505050565b612001846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506125fc565b50505050565b61201c81600454611cfa90919063ffffffff16565b60048190555061207481600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611cfa90919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008060006120c884600154612847565b92509250925061213b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ea49092919063ffffffff16565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156121ae57600080fd5b505af11580156121c2573d6000803e3d6000fd5b50505050612211338460008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ea49092919063ffffffff16565b50505050565b60008183106122265781612228565b825b905092915050565b61224581600454611e1490919063ffffffff16565b60048190555061229d81600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e1490919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061232d33308360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f46909392919063ffffffff16565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806129516026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000838311158290612523576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156124e85780820151818401526020810190506124cd565b50505050905090810190601f1680156125155780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906125e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125a757808201518184015260208101905061258c565b50505050905090810190601f1680156125d45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816125ee57fe5b049050809150509392505050565b61261b8273ffffffffffffffffffffffffffffffffffffffff16612905565b61268d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106126dc57805182526020820191506020810190506020830392506126b9565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461273e576040519150601f19603f3d011682016040523d82523d6000602084013e612743565b606091505b5091509150816127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b600081511115612841578080602001905160208110156127da57600080fd5b8101908080519060200190929190505050612840576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806129b9602a913960400191505060405180910390fd5b5b50505050565b6000806000612886600a6128788661286a6127108a611dca90919063ffffffff16565b611d4490919063ffffffff16565b611dca90919063ffffffff16565b90506128d560096128c7600a6128b9886128ab6127108c611dca90919063ffffffff16565b611d4490919063ffffffff16565b611dca90919063ffffffff16565b611d4490919063ffffffff16565b91506128fc6128ed8383611e1490919063ffffffff16565b86611cfa90919063ffffffff16565b92509250925092565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b82141580156129475750808214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220c9346a4ab3997b3a25ffd725b50f65b91cf69c9810d4e22d815f9332bdb2617c64736f6c634300060c0033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101ef5760003560e01c80637b0a47ee1161010f578063c8f33c91116100a2578063df136d6511610071578063df136d651461065c578063e1c4c9fe1461067a578063ebe2b12b14610698578063f2fde38b146106b6576101ef565b8063c8f33c91146105be578063cd3daf9d146105dc578063cfc16254146105fa578063d45d7fb51461063e576101ef565b80638f32d59b116100de5780638f32d59b146105485780639bfffad714610568578063a694fc3a14610586578063be9a6555146105b4576101ef565b80637b0a47ee1461048057806380faa57d1461049e5780638b876347146104bc5780638da5cb5b14610514576101ef565b80633d18b9121161018757806370a082311161015657806370a08231146103e0578063715018a61461043857806375a776d61461044257806378e9792514610462576101ef565b80633d18b91214610350578063412753581461035a57806351ed6a301461038e57806356cefd68146103c2576101ef565b80631be05289116101c35780631be05289146102cc5780631e2720ff146102ea5780632e1a7d4d146103185780633882f74214610346576101ef565b80628cc262146101f45780630700037d1461024c57806307da68f5146102a457806318160ddd146102ae575b600080fd5b6102366004803603602081101561020a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106fa565b6040518082815260200191505060405180910390f35b61028e6004803603602081101561026257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107e1565b6040518082815260200191505060405180910390f35b6102ac6107f9565b005b6102b66109f2565b6040518082815260200191505060405180910390f35b6102d46109fc565b6040518082815260200191505060405180910390f35b6103166004803603602081101561030057600080fd5b8101908080359060200190929190505050610a03565b005b6103446004803603602081101561032e57600080fd5b8101908080359060200190929190505050610c55565b005b61034e610f04565b005b610358610f1f565b005b6103626112c1565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103966112e7565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103ca61130b565b6040518082815260200191505060405180910390f35b610422600480360360208110156103f657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611311565b6040518082815260200191505060405180910390f35b61044061135a565b005b61044a611495565b60405180821515815260200191505060405180910390f35b61046a6114a8565b6040518082815260200191505060405180910390f35b6104886114ae565b6040518082815260200191505060405180910390f35b6104a66114b4565b6040518082815260200191505060405180910390f35b6104fe600480360360208110156104d257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114c7565b6040518082815260200191505060405180910390f35b61051c6114df565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610550611509565b60405180821515815260200191505060405180910390f35b610570611568565b6040518082815260200191505060405180910390f35b6105b26004803603602081101561059c57600080fd5b810190808035906020019092919050505061156e565b005b6105bc61181d565b005b6105c6611a3c565b6040518082815260200191505060405180910390f35b6105e4611a42565b6040518082815260200191505060405180910390f35b61063c6004803603602081101561061057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ada565b005b610646611b98565b6040518082815260200191505060405180910390f35b610664611b9e565b6040518082815260200191505060405180910390f35b610682611ba4565b6040518082815260200191505060405180910390f35b6106a0611c6e565b6040518082815260200191505060405180910390f35b6106f8600480360360208110156106cc57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c74565b005b60006107da601060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107cc670de0b6b3a76400006107be6107a7600f60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610799611a42565b611cfa90919063ffffffff16565b6107b088611311565b611d4490919063ffffffff16565b611dca90919063ffffffff16565b611e1490919063ffffffff16565b9050919050565b60106020528060005260406000206000915090505481565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661083a611e9c565b73ffffffffffffffffffffffffffffffffffffffff16146108a6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129986021913960400191505060405180910390fd5b600d60009054906101000a900460ff16610928576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5374616b696e67206973206e6f7420737461727465642e00000000000000000081525060200191505060405180910390fd5b61098e73489b689850999f751760a38d03693bd979c4a690610948611ba4565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ea49092919063ffffffff16565b6000600d60006101000a81548160ff02191690831515021790555060006008819055506000600b819055507f844769bc94a2b0b6e18c8649b94e6dea9460cf27630e50da40b24bec16d898ab426040518082815260200191505060405180910390a1565b6000600454905090565b624f1a0081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610a44611e9c565b73ffffffffffffffffffffffffffffffffffffffff1614610ab0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129986021913960400191505060405180910390fd5b600d60009054906101000a900460ff1615610b33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f5374616b696e6720697320737461727465642e0000000000000000000000000081525060200191505060405180910390fd5b60008111610ba9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260108152602001807f43616e6e6f74206465706f73697420300000000000000000000000000000000081525060200191505060405180910390fd5b610bf633308360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f46909392919063ffffffff16565b80600881905550610c15624f1a00600854611dca90919063ffffffff16565b600b819055507f054a903637a366320c31e23f961726344072ccf4de8c6cb7944791b9b1229dee816040518082815260200191505060405180910390a150565b33610c5e611a42565b600e81905550610c6c6114b4565b600c81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610d3957610caf816106fa565b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600e54600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600060085411610db1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e6f2072657761726420746f207374616b652e0000000000000000000000000081525060200191505060405180910390fd5b600d60009054906101000a900460ff16610e33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5374616b696e67206973206e6f7420737461727465642e00000000000000000081525060200191505060405180910390fd5b60008211610ea9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610eb282612007565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b610f15610f1033611311565b610c55565b610f1d610f1f565b565b33610f28611a42565b600e81905550610f366114b4565b600c81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461100357610f79816106fa565b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600e54600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60006008541161107b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e6f2072657761726420746f207374616b652e0000000000000000000000000081525060200191505060405180910390fd5b600d60009054906101000a900460ff166110fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5374616b696e67206973206e6f7420737461727465642e00000000000000000081525060200191505060405180910390fd5b6000611108336106fa565b905060008111156112bd576000601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600061118360025461117561271085611dca90919063ffffffff16565b611d4490919063ffffffff16565b905060008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156111f857600080fd5b505af115801561120c573d6000803e3d6000fd5b5050505061126d336112278385611cfa90919063ffffffff16565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ea49092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486836040518082815260200191505060405180910390a2505b5050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60015481565b6000600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611362611509565b6113d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600d60009054906101000a900460ff1681565b60095481565b600b5481565b60006114c242600a54612217565b905090565b600f6020528060005260406000206000915090505481565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661154c611e9c565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60085481565b33611577611a42565b600e819055506115856114b4565b600c81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611652576115c8816106fa565b601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600e54600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600854116116ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f4e6f2072657761726420746f207374616b652e0000000000000000000000000081525060200191505060405180910390fd5b600d60009054906101000a900460ff1661174c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f5374616b696e67206973206e6f7420737461727465642e00000000000000000081525060200191505060405180910390fd5b600082116117c2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b6117cb82612230565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661185e611e9c565b73ffffffffffffffffffffffffffffffffffffffff16146118ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129986021913960400191505060405180910390fd5b600d60009054906101000a900460ff161561194d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260138152602001807f5374616b696e6720697320737461727465642e0000000000000000000000000081525060200191505060405180910390fd5b6000600854116119c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f43616e6e6f742073746172742e205265717569726520696e697452657761726481525060200191505060405180910390fd5b6119db624f1a0042611e1490919063ffffffff16565b600a819055506001600d60006101000a81548160ff021916908315150217905550426009819055507f35f87ec121777dc0cc72cd4066439fd5218001344ebdadccc8cfcf3c3dee6108426040518082815260200191505060405180910390a1565b600c5481565b600080611a4d6109f2565b1415611a5d57600e549050611ad7565b611ad4611ac3611a6b6109f2565b611ab5670de0b6b3a7640000611aa7600b54611a99600c54611a8b6114b4565b611cfa90919063ffffffff16565b611d4490919063ffffffff16565b611d4490919063ffffffff16565b611dca90919063ffffffff16565b600e54611e1490919063ffffffff16565b90505b90565b611ae2611509565b611b54576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60025481565b600e5481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611c2e57600080fd5b505afa158015611c42573d6000803e3d6000fd5b505050506040513d6020811015611c5857600080fd5b8101908080519060200190929190505050905090565b600a5481565b611c7c611509565b611cee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611cf781612330565b50565b6000611d3c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612476565b905092915050565b600080831415611d575760009050611dc4565b6000828402905082848281611d6857fe5b0414611dbf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806129776021913960400191505060405180910390fd5b809150505b92915050565b6000611e0c83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612536565b905092915050565b600080828401905083811015611e92576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b611f418363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506125fc565b505050565b612001846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506125fc565b50505050565b61201c81600454611cfa90919063ffffffff16565b60048190555061207481600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611cfa90919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060008060006120c884600154612847565b92509250925061213b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ea49092919063ffffffff16565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156121ae57600080fd5b505af11580156121c2573d6000803e3d6000fd5b50505050612211338460008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ea49092919063ffffffff16565b50505050565b60008183106122265781612228565b825b905092915050565b61224581600454611e1490919063ffffffff16565b60048190555061229d81600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611e1490919063ffffffff16565b600560003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061232d33308360008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f46909392919063ffffffff16565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806129516026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000838311158290612523576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156124e85780820151818401526020810190506124cd565b50505050905090810190601f1680156125155780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906125e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156125a757808201518184015260208101905061258c565b50505050905090810190601f1680156125d45780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816125ee57fe5b049050809150509392505050565b61261b8273ffffffffffffffffffffffffffffffffffffffff16612905565b61268d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106126dc57805182526020820191506020810190506020830392506126b9565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461273e576040519150601f19603f3d011682016040523d82523d6000602084013e612743565b606091505b5091509150816127bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b600081511115612841578080602001905160208110156127da57600080fd5b8101908080519060200190929190505050612840576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806129b9602a913960400191505060405180910390fd5b5b50505050565b6000806000612886600a6128788661286a6127108a611dca90919063ffffffff16565b611d4490919063ffffffff16565b611dca90919063ffffffff16565b90506128d560096128c7600a6128b9886128ab6127108c611dca90919063ffffffff16565b611d4490919063ffffffff16565b611dca90919063ffffffff16565b611d4490919063ffffffff16565b91506128fc6128ed8383611e1490919063ffffffff16565b86611cfa90919063ffffffff16565b92509250925092565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b82141580156129475750808214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220c9346a4ab3997b3a25ffd725b50f65b91cf69c9810d4e22d815f9332bdb2617c64736f6c634300060c0033
Deployed Bytecode Sourcemap
20153:4708:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22767:265;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20764:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21957:374;;;:::i;:::-;;18738:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20390:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23390:366;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24024:264;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;24296:102;;;:::i;:::-;;24406:452;;;:::i;:::-;;18271:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;18118:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;18190:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18837:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9330:140;;;:::i;:::-;;20622:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;20477:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20550:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21692:131;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20700:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8519:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;8885:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;20441:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23764:252;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;23040:342;;;:::i;:::-;;20586:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22339:420;;;:::i;:::-;;;;;;;;;;;;;;;;;;;17818:157;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;18229:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20658;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21831:118;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20512:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9625:109;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;22767:265;22821:7;22861:163;23007:7;:16;23015:7;23007:16;;;;;;;;;;;;;;;;22861:123;22979:4;22861:95;22902:53;22923:22;:31;22946:7;22923:31;;;;;;;;;;;;;;;;22902:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;22861:18;22871:7;22861:9;:18::i;:::-;:40;;:95;;;;:::i;:::-;:117;;:123;;;;:::i;:::-;:145;;:163;;;;:::i;:::-;22841:183;;22767:265;;;:::o;20764:42::-;;;;;;;;;;;;;;;;;:::o;21957:374::-;17712:17;;;;;;;;;;;17696:33;;:12;:10;:12::i;:::-;:33;;;17674:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22021:9:::1;;;;;;;;;;;22013:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;22069:132;22115:42;22173:17;:15;:17::i;:::-;22069:10;::::0;::::1;;;;;;;;:23;;;;:132;;;;;:::i;:::-;22224:5;22212:9;;:17;;;;;;;;;;;;;;;;;;22253:1;22240:10;:14;;;;22278:1;22265:10;:14;;;;22295:28;22307:15;22295:28;;;;;;;;;;;;;;;;;;21957:374::o:0;18738:91::-;18782:7;18809:12;;18802:19;;18738:91;:::o;20390:42::-;20425:7;20390:42;:::o;23390:366::-;17712:17;;;;;;;;;;;17696:33;;:12;:10;:12::i;:::-;:33;;;17674:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23478:9:::1;;;;;;;;;;;23477:10;23469:42;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;23539:1;23530:6;:10;23522:39;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;23572:62;23600:10;23620:4;23627:6;23572:10;::::0;::::1;;;;;;;;:27;;;;:62;;;;;;:::i;:::-;23658:6;23645:10;:19;;;;23688:24;20425:7;23688:10;;:14;;:24;;;;:::i;:::-;23675:10;:37;;;;23728:20;23741:6;23728:20;;;;;;;;;;;;;;;;;;23390:366:::0;:::o;24024:264::-;24114:10;21186:16;:14;:16::i;:::-;21163:20;:39;;;;21230:26;:24;:26::i;:::-;21213:14;:43;;;;21290:1;21271:21;;:7;:21;;;21267:157;;21328:15;21335:7;21328:6;:15::i;:::-;21309:7;:16;21317:7;21309:16;;;;;;;;;;;;;;;:34;;;;21392:20;;21358:22;:31;21381:7;21358:31;;;;;;;;;;;;;;;:54;;;;21267:157;21505:1:::1;21492:10;;:14;21484:46;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;21549:9;;;;;;;;;;;21541:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;24179:1:::2;24170:6;:10;24162:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;24213:22;24228:6;24213:14;:22::i;:::-;24261:10;24251:29;;;24273:6;24251:29;;;;;;;;;;;;;;;;;;24024:264:::0;;:::o;24296:102::-;24337:31;24346:21;24356:10;24346:9;:21::i;:::-;24337:8;:31::i;:::-;24379:11;:9;:11::i;:::-;24296:102::o;24406:452::-;24447:10;21186:16;:14;:16::i;:::-;21163:20;:39;;;;21230:26;:24;:26::i;:::-;21213:14;:43;;;;21290:1;21271:21;;:7;:21;;;21267:157;;21328:15;21335:7;21328:6;:15::i;:::-;21309:7;:16;21317:7;21309:16;;;;;;;;;;;;;;;:34;;;;21392:20;;21358:22;:31;21381:7;21358:31;;;;;;;;;;;;;;;:54;;;;21267:157;21505:1:::1;21492:10;;:14;21484:46;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;21549:9;;;;;;;;;;;21541:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;24481:14:::2;24498:18;24505:10;24498:6;:18::i;:::-;24481:35;;24540:1;24531:6;:10;24527:324;;;24580:1;24558:7;:19;24566:10;24558:19;;;;;;;;;;;;;;;:23;;;;24596;24622:41;24646:16;;24622:19;18178:5;24622:6;:10;;:19;;;;:::i;:::-;:23;;:41;;;;:::i;:::-;24596:67;;24678:10;::::0;::::2;;;;;;;;:15;;;24694;24678:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;24725:64;24749:10;24761:27;24772:15;24761:6;:10;;:27;;;;:::i;:::-;24725:10;::::0;::::2;;;;;;;;:23;;;;:64;;;;;:::i;:::-;24820:10;24809:30;;;24832:6;24809:30;;;;;;;;;;;;;;;;;;24527:324;;21597:1;24406:452:::0;:::o;18271:38::-;;;;;;;;;;;;;:::o;18118:24::-;;;;;;;;;;;;:::o;18190:32::-;;;;:::o;18837:110::-;18894:7;18921:9;:18;18931:7;18921:18;;;;;;;;;;;;;;;;18914:25;;18837:110;;;:::o;9330:140::-;8731:9;:7;:9::i;:::-;8723:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9429:1:::1;9392:40;;9413:6;;;;;;;;;;;9392:40;;;;;;;;;;;;9460:1;9443:6;;:19;;;;;;;;;;;;;;;;;;9330:140::o:0;20622:29::-;;;;;;;;;;;;;:::o;20477:28::-;;;;:::o;20550:29::-;;;;:::o;21692:131::-;21749:7;21776:39;21785:15;21802:12;;21776:8;:39::i;:::-;21769:46;;21692:131;:::o;20700:57::-;;;;;;;;;;;;;;;;;:::o;8519:79::-;8557:7;8584:6;;;;;;;;;;;8577:13;;8519:79;:::o;8885:94::-;8925:4;8965:6;;;;;;;;;;;8949:22;;:12;:10;:12::i;:::-;:22;;;8942:29;;8885:94;:::o;20441:29::-;;;;:::o;23764:252::-;23851:10;21186:16;:14;:16::i;:::-;21163:20;:39;;;;21230:26;:24;:26::i;:::-;21213:14;:43;;;;21290:1;21271:21;;:7;:21;;;21267:157;;21328:15;21335:7;21328:6;:15::i;:::-;21309:7;:16;21317:7;21309:16;;;;;;;;;;;;;;;:34;;;;21392:20;;21358:22;:31;21381:7;21358:31;;;;;;;;;;;;;;;:54;;;;21267:157;21505:1:::1;21492:10;;:14;21484:46;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;21549:9;;;;;;;;;;;21541:45;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;23916:1:::2;23907:6;:10;23899:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;23947:19;23959:6;23947:11;:19::i;:::-;23989:10;23982:26;;;24001:6;23982:26;;;;;;;;;;;;;;;;;;23764:252:::0;;:::o;23040:342::-;17712:17;;;;;;;;;;;17696:33;;:12;:10;:12::i;:::-;:33;;;17674:116;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23106:9:::1;;;;;;;;;;;23105:10;23097:42;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;23171:1;23158:10;;:14;23150:59;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;23235:29;20425:7;23235:15;:19;;:29;;;;:::i;:::-;23220:12;:44;;;;23287:4;23275:9;;:16;;;;;;;;;;;;;;;;;;23314:15;23302:9;:27;;;;23345:29;23358:15;23345:29;;;;;;;;;;;;;;;;;;23040:342::o:0;20586:29::-;;;;:::o;22339:420::-;22386:7;22427:1;22410:13;:11;:13::i;:::-;:18;22406:78;;;22452:20;;22445:27;;;;22406:78;22514:237;22557:179;22722:13;:11;:13::i;:::-;22557:138;22690:4;22557:106;22652:10;;22557:68;22610:14;;22557:26;:24;:26::i;:::-;:52;;:68;;;;:::i;:::-;:94;;:106;;;;:::i;:::-;:132;;:138;;;;:::i;:::-;:164;;:179;;;;:::i;:::-;22514:20;;:24;;:237;;;;:::i;:::-;22494:257;;22339:420;;:::o;17818:157::-;8731:9;:7;:9::i;:::-;8723:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17949:18:::1;17929:17;;:38;;;;;;;;;;;;;;;;;;17818:157:::0;:::o;18229:35::-;;;;:::o;20658:::-;;;;:::o;21831:118::-;21879:7;21906:10;;;;;;;;;;;:20;;;21935:4;21906:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21899:42;;21831:118;:::o;20512:31::-;;;;:::o;9625:109::-;8731:9;:7;:9::i;:::-;8723:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9698:28:::1;9717:8;9698:18;:28::i;:::-;9625:109:::0;:::o;2188:136::-;2246:7;2273:43;2277:1;2280;2273:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2266:50;;2188:136;;;;:::o;3138:471::-;3196:7;3446:1;3441;:6;3437:47;;;3471:1;3464:8;;;;3437:47;3496:9;3512:1;3508;:5;3496:17;;3541:1;3536;3532;:5;;;;;;:10;3524:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3600:1;3593:8;;;3138:471;;;;;:::o;4077:132::-;4135:7;4162:39;4166:1;4169;4162:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;4155:46;;4077:132;;;;:::o;1732:181::-;1790:7;1810:9;1826:1;1822;:5;1810:17;;1851:1;1846;:6;;1838:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1904:1;1897:8;;;1732:181;;;;:::o;7262:98::-;7307:15;7342:10;7335:17;;7262:98;:::o;13694:247::-;13811:122;13844:5;13887:23;;;13912:2;13916:5;13864:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13811:18;:122::i;:::-;13694:247;;;:::o;13949:284::-;14093:132;14126:5;14169:27;;;14198:4;14204:2;14208:5;14146:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14093:18;:132::i;:::-;13949:284;;;;:::o;19208:497::-;19283:24;19300:6;19283:12;;:16;;:24;;;;:::i;:::-;19268:12;:39;;;;19342:33;19368:6;19342:9;:21;19352:10;19342:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;19318:9;:21;19328:10;19318:21;;;;;;;;;;;;;;;:57;;;;19401:18;19434:17;19466:18;19498:37;19513:6;19521:13;;19498:14;:37::i;:::-;19386:149;;;;;;19546:55;19578:10;;;;;;;;;;;19591:9;19546:10;;;;;;;;;;:23;;;;:55;;;;;:::i;:::-;19612:10;;;;;;;;;;:15;;;19628:10;19612:27;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19650:47;19674:10;19686;19650;;;;;;;;;;:23;;;;:47;;;;;:::i;:::-;19208:497;;;;:::o;417:106::-;475:7;506:1;502;:5;:13;;514:1;502:13;;;510:1;502:13;495:20;;417:106;;;;:::o;18955:245::-;19027:24;19044:6;19027:12;;:16;;:24;;;;:::i;:::-;19012:12;:39;;;;19086:33;19112:6;19086:9;:21;19096:10;19086:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;19062:9;:21;19072:10;19062:21;;;;;;;;;;;;;;;:57;;;;19130:62;19158:10;19178:4;19185:6;19130:10;;;;;;;;;;:27;;;;:62;;;;;;:::i;:::-;18955:245;:::o;9840:266::-;9948:1;9928:22;;:8;:22;;;;9906:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10061:8;10032:38;;10053:6;;;;;;;;;;;10032:38;;;;;;;;;;;;10090:8;10081:6;;:17;;;;;;;;;;;;;;;;;;9840:266;:::o;2661:226::-;2781:7;2814:1;2809;:6;;2817:12;2801:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2841:9;2857:1;2853;:5;2841:17;;2878:1;2871:8;;;2661:226;;;;;:::o;4739:379::-;4859:7;4958:1;4954;:5;4961:12;4946:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4985:9;5001:1;4997;:5;;;;;;4985:17;;5109:1;5102:8;;;4739:379;;;;;:::o;16304:1176::-;16908:27;16916:5;16908:25;;;:27::i;:::-;16900:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17045:12;17059:23;17094:5;17086:19;;17106:4;17086:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17044:67;;;;17130:7;17122:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17211:1;17191:10;:17;:21;17187:286;;;17364:10;17353:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17327:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17187:286;16304:1176;;;;:::o;19713:433::-;19837:18;19870:17;19902:18;19961:43;20001:2;19961:35;19985:10;19961:19;18178:5;19961:6;:10;;:19;;;;:::i;:::-;:23;;:35;;;;:::i;:::-;:39;;:43;;;;:::i;:::-;19948:56;;20027:50;20075:1;20027:43;20067:2;20027:35;20051:10;20027:19;18178:5;20027:6;:10;;:19;;;;:::i;:::-;:23;;:35;;;;:::i;:::-;:39;;:43;;;;:::i;:::-;:47;;:50;;;;:::i;:::-;20015:62;;20101:37;20112:25;20127:9;20112:10;:14;;:25;;;;:::i;:::-;20101:6;:10;;:37;;;;:::i;:::-;20088:50;;19713:433;;;;;:::o;11841:850::-;11901:4;12354:16;12389:19;12421:66;12389:98;;;;12603:7;12591:20;12579:32;;12652:3;12640:15;;:8;:15;;:42;;;;;12671:11;12659:8;:23;;12640:42;12632:51;;;;11841:850;;;:::o
Swarm Source
ipfs://c9346a4ab3997b3a25ffd725b50f65b91cf69c9810d4e22d815f9332bdb2617c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.155219 | 3,125.228 | $485.09 |
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.