More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,013 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Reward | 12528505 | 1414 days ago | IN | 0 ETH | 0.00192179 | ||||
Withdraw | 12243915 | 1458 days ago | IN | 0 ETH | 0.00624225 | ||||
Get Reward | 12229631 | 1461 days ago | IN | 0 ETH | 0.00626273 | ||||
Get Reward | 12164275 | 1471 days ago | IN | 0 ETH | 0.01028244 | ||||
Exit | 11951128 | 1504 days ago | IN | 0 ETH | 0.00868217 | ||||
Get Reward | 11936467 | 1506 days ago | IN | 0 ETH | 0.01036812 | ||||
Withdraw | 11936252 | 1506 days ago | IN | 0 ETH | 0.01250975 | ||||
Get Reward | 11936238 | 1506 days ago | IN | 0 ETH | 0.01396359 | ||||
Get Reward | 11722514 | 1539 days ago | IN | 0 ETH | 0.0105395 | ||||
Get Reward | 11691274 | 1543 days ago | IN | 0 ETH | 0.00505553 | ||||
Withdraw | 11606591 | 1556 days ago | IN | 0 ETH | 0.00859461 | ||||
Withdraw | 11599050 | 1558 days ago | IN | 0 ETH | 0.00647279 | ||||
Get Reward | 11598623 | 1558 days ago | IN | 0 ETH | 0.00514122 | ||||
Stake | 11580931 | 1560 days ago | IN | 0 ETH | 0.01144652 | ||||
Withdraw | 11580852 | 1560 days ago | IN | 0 ETH | 0.00959146 | ||||
Get Reward | 11580850 | 1560 days ago | IN | 0 ETH | 0.00857641 | ||||
Get Reward | 11560683 | 1564 days ago | IN | 0 ETH | 0.00891144 | ||||
Get Reward | 11540914 | 1567 days ago | IN | 0 ETH | 0.00370854 | ||||
Withdraw | 11540618 | 1567 days ago | IN | 0 ETH | 0.00434947 | ||||
Exit | 11540348 | 1567 days ago | IN | 0 ETH | 0.0083114 | ||||
Exit | 11539756 | 1567 days ago | IN | 0 ETH | 0.00924666 | ||||
Withdraw | 11533234 | 1568 days ago | IN | 0 ETH | 0.00451206 | ||||
Withdraw | 11532330 | 1568 days ago | IN | 0 ETH | 0.0033735 | ||||
Get Reward | 11532322 | 1568 days ago | IN | 0 ETH | 0.00343342 | ||||
Get Reward | 11528964 | 1568 days ago | IN | 0 ETH | 0.00314029 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
RGRewardSGRGPool
Compiler Version
v0.5.8+commit.23d335f2
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-25 */ pragma solidity ^0.5.0; /** * @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); } } pragma solidity ^0.5.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, 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; } } pragma solidity ^0.5.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. */ 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 pragma solidity ^0.5.0; /** * @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 pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ 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); function mint(address account, uint256 amount) external; /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address sender, address recipient, uint256 amount ) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval( address indexed owner, address indexed spender, uint256 value ); } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.5.5; /** * @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)); } /** * @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]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require( address(this).balance >= amount, "Address: insufficient balance" ); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require( success, "Address: unable to send value, recipient may have reverted" ); } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.5.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for 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" ); } } } pragma solidity ^0.5.0; contract IRewardDistributionRecipient is Ownable { address rewardDistribution; // function notifyRewardAmount(uint256 reward) external; modifier onlyRewardDistribution() { require( _msgSender() == rewardDistribution, "Caller is not reward distribution" ); _; } function setRewardDistribution(address _rewardDistribution) external onlyOwner { require( _rewardDistribution != address(0), "rewardDistribution can't be address(0) !" ); rewardDistribution = _rewardDistribution; } } pragma solidity ^0.5.0; contract LPTokenWrapper { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public y = IERC20(0xE58eb0e623d06e329020813568124E3541A36fCc); uint256 private _totalSupply; mapping(address => uint256) private _balances; function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function stake(uint256 amount) public { _totalSupply = _totalSupply.add(amount); _balances[msg.sender] = _balances[msg.sender].add(amount); y.safeTransferFrom(msg.sender, address(this), amount); } function withdraw(uint256 amount) public { _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); y.safeTransfer(msg.sender, amount); } } contract RGRewardSGRGPool is LPTokenWrapper, IRewardDistributionRecipient { address public developer; bool isInit = true; IERC20 public yieldToken = IERC20(0x54091956C7d7b2E0fCD669D41dC8e41d464CbD76); uint256 public constant DURATION = 60 days; // init 3204, total 6408. 50% reduction in production every 60 days uint256 public initreward = 3204* 1e18; uint256 public starttime = 1603652400; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); modifier onlyDeveloper() { require(msg.sender == developer); _; } constructor() public { developer = msg.sender; periodFinish = starttime.add(DURATION); } modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } function lastTimeRewardApplicable() public view returns (uint256) { return Math.min(block.timestamp, periodFinish); } 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]); } // stake visibility is public as overriding LPTokenWrapper's stake() function function stake(uint256 amount) public updateReward(msg.sender) checkhalve checkStart { require(amount > 0, "Cannot stake 0"); super.stake(amount); emit Staked(msg.sender, amount); } function withdraw(uint256 amount) public updateReward(msg.sender) checkhalve checkStart { require(amount > 0, "Cannot withdraw 0"); super.withdraw(amount); emit Withdrawn(msg.sender, amount); } function exit() external { withdraw(balanceOf(msg.sender)); getReward(); } function setDeveloper(address _developer) public onlyDeveloper { require(_developer != address(0), "developer can't be address(0)"); developer = _developer; } function getReward() public updateReward(msg.sender) checkhalve checkStart { uint256 reward = earned(msg.sender); if (reward > 0) { rewards[msg.sender] = 0; yieldToken.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } modifier checkhalve() { if (block.timestamp >= periodFinish) { initreward = initreward.mul(50).div(100); yieldToken.mint(address(this), initreward); // yieldToken.mint(developer, initreward.mul(10).div(100)); rewardRate = initreward.div(DURATION); periodFinish = block.timestamp.add(DURATION); emit RewardAdded(initreward); } _; } modifier checkStart() { require(block.timestamp > starttime, "not start"); _; } function initialization() external onlyDeveloper updateReward(address(0)) { require(isInit, "not initialization"); rewardRate = initreward.div(DURATION); yieldToken.mint(address(this), initreward); // yieldToken.mint(developer, initreward.mul(10).div(100)); isInit = false; emit RewardAdded(initreward); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"earned","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"rewards","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"DURATION","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"yieldToken","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardRate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"starttime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initreward","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"y","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"initialization","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdateTime","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"developer","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerToken","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenStored","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"periodFinish","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_developer","type":"address"}],"name":"setDeveloper","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"user","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"user","type":"address"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"user","type":"address"},{"indexed":false,"name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"}]
Contract Creation Code
608060405273e58eb0e623d06e329020813568124e3541a36fcc6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001600560146101000a81548160ff0219169083151502179055507354091956c7d7b2e0fcd669d41dc8e41d464cbd76600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555068adb06ea07aff900000600755635f95cb3060085560006009556000600a55348015620000f457600080fd5b50620001056200022e60201b60201c565b600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a333600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000222624f1a006008546200023660201b62001d971790919060201c565b600981905550620002bf565b600033905090565b600080828401905083811015620002b5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b61283e80620002cf6000396000f3fe608060405234801561001057600080fd5b50600436106101c35760003560e01c80638da5cb5b116100f9578063ca4b208b11610097578063e9fad8ee11610071578063e9fad8ee1461063e578063ebe2b12b14610648578063f2fde38b14610666578063ff70fa49146106aa576101c3565b8063ca4b208b146105b8578063cd3daf9d14610602578063df136d6514610620576101c3565b8063a56dfe4a116100d3578063a56dfe4a14610518578063a694fc3a14610562578063c172085e14610590578063c8f33c911461059a576101c3565b80638da5cb5b1461048e5780638f32d59b146104d85780639c907b58146104fa576101c3565b806370a08231116101665780637b0a47ee116101405780637b0a47ee146103dc57806380faa57d146103fa5780638b876347146104185780638da5889714610470576101c3565b806370a0823114610330578063715018a61461038857806376d5de8514610392576101c3565b806318160ddd116101a257806318160ddd146102bc5780631be05289146102da5780632e1a7d4d146102f85780633d18b91214610326576101c3565b80628cc262146101c85780630700037d146102205780630d68b76114610278575b600080fd5b61020a600480360360208110156101de57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106ee565b6040518082815260200191505060405180910390f35b6102626004803603602081101561023657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107d5565b6040518082815260200191505060405180910390f35b6102ba6004803603602081101561028e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107ed565b005b6102c4610931565b6040518082815260200191505060405180910390f35b6102e261093b565b6040518082815260200191505060405180910390f35b6103246004803603602081101561030e57600080fd5b8101908080359060200190929190505050610942565b005b61032e610cdd565b005b6103726004803603602081101561034657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110a2565b6040518082815260200191505060405180910390f35b6103906110eb565b005b61039a611226565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103e461124c565b6040518082815260200191505060405180910390f35b610402611252565b6040518082815260200191505060405180910390f35b61045a6004803603602081101561042e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611265565b6040518082815260200191505060405180910390f35b61047861127d565b6040518082815260200191505060405180910390f35b610496611283565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104e06112ad565b604051808215151515815260200191505060405180910390f35b61050261130c565b6040518082815260200191505060405180910390f35b610520611312565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61058e6004803603602081101561057857600080fd5b8101908080359060200190929190505050611337565b005b6105986116d2565b005b6105a26119cb565b6040518082815260200191505060405180910390f35b6105c06119d1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61060a6119f7565b6040518082815260200191505060405180910390f35b610628611a8f565b6040518082815260200191505060405180910390f35b610646611a95565b005b610650611ab0565b6040518082815260200191505060405180910390f35b6106a86004803603602081101561067c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ab6565b005b6106ec600480360360208110156106c057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b3c565b005b60006107ce600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107c0670de0b6b3a76400006107b261079b600d60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461078d6119f7565b611c7d90919063ffffffff16565b6107a4886110a2565b611cc790919063ffffffff16565b611d4d90919063ffffffff16565b611d9790919063ffffffff16565b9050919050565b600e6020528060005260406000206000915090505481565b6107f56112ad565b610867576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156108ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806127eb6028913960400191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600154905090565b624f1a0081565b3361094b6119f7565b600c81905550610959611252565b600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a265761099c816106ee565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c54600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6009544210610b9557610a586064610a4a6032600754611cc790919063ffffffff16565b611d4d90919063ffffffff16565b600781905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19306007546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610b0957600080fd5b505af1158015610b1d573d6000803e3d6000fd5b50505050610b39624f1a00600754611d4d90919063ffffffff16565b600a81905550610b55624f1a0042611d9790919063ffffffff16565b6009819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6007546040518082815260200191505060405180910390a15b6008544211610c0c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008211610c82576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610c8b82611e1f565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b33610ce66119f7565b600c81905550610cf4611252565b600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dc157610d37816106ee565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c54600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6009544210610f3057610df36064610de56032600754611cc790919063ffffffff16565b611d4d90919063ffffffff16565b600781905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19306007546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610ea457600080fd5b505af1158015610eb8573d6000803e3d6000fd5b50505050610ed4624f1a00600754611d4d90919063ffffffff16565b600a81905550610ef0624f1a0042611d9790919063ffffffff16565b6009819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6007546040518082815260200191505060405180910390a15b6008544211610fa7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000610fb2336106ee565b9050600081111561109e576000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061104f3382600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f1e9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b5050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110f36112ad565b611165576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b600061126042600954611fef565b905090565b600d6020528060005260406000206000915090505481565b60085481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166112f0612008565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60075481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b336113406119f7565b600c8190555061134e611252565b600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461141b57611391816106ee565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c54600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600954421061158a5761144d606461143f6032600754611cc790919063ffffffff16565b611d4d90919063ffffffff16565b600781905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19306007546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156114fe57600080fd5b505af1158015611512573d6000803e3d6000fd5b5050505061152e624f1a00600754611d4d90919063ffffffff16565b600a8190555061154a624f1a0042611d9790919063ffffffff16565b6009819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6007546040518082815260200191505060405180910390a15b6008544211611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008211611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61168082612010565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461172c57600080fd5b60006117366119f7565b600c81905550611744611252565b600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461181157611787816106ee565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c54600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600560149054906101000a900460ff16611893576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f6e6f7420696e697469616c697a6174696f6e000000000000000000000000000081525060200191505060405180910390fd5b6118ab624f1a00600754611d4d90919063ffffffff16565b600a81905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19306007546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561195c57600080fd5b505af1158015611970573d6000803e3d6000fd5b505050506000600560146101000a81548160ff0219169083151502179055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6007546040518082815260200191505060405180910390a150565b600b5481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080611a02610931565b1415611a1257600c549050611a8c565b611a89611a78611a20610931565b611a6a670de0b6b3a7640000611a5c600a54611a4e600b54611a40611252565b611c7d90919063ffffffff16565b611cc790919063ffffffff16565b611cc790919063ffffffff16565b611d4d90919063ffffffff16565b600c54611d9790919063ffffffff16565b90505b90565b600c5481565b611aa6611aa1336110a2565b610942565b611aae610cdd565b565b60095481565b611abe6112ad565b611b30576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611b3981612111565b50565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b9657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f646576656c6f7065722063616e2774206265206164647265737328302900000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611cbf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612257565b905092915050565b600080831415611cda5760009050611d47565b6000828402905082848281611ceb57fe5b0414611d42576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127a06021913960400191505060405180910390fd5b809150505b92915050565b6000611d8f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612317565b905092915050565b600080828401905083811015611e15576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611e3481600154611c7d90919063ffffffff16565b600181905550611e8c81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c7d90919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f1b33826000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f1e9092919063ffffffff16565b50565b611fea838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123dd565b505050565b6000818310611ffe5781612000565b825b905092915050565b600033905090565b61202581600154611d9790919063ffffffff16565b60018190555061207d81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d9790919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061210e3330836000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612628909392919063ffffffff16565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061277a6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000838311158290612304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122c95780820151818401526020810190506122ae565b50505050905090810190601f1680156122f65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906123c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561238857808201518184015260208101905061236d565b50505050905090810190601f1680156123b55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816123cf57fe5b049050809150509392505050565b6123fc8273ffffffffffffffffffffffffffffffffffffffff1661272e565b61246e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106124bd578051825260208201915060208101905060208303925061249a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461251f576040519150601f19603f3d011682016040523d82523d6000602084013e612524565b606091505b50915091508161259c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b600081511115612622578080602001905160208110156125bb57600080fd5b8101908080519060200190929190505050612621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806127c1602a913960400191505060405180910390fd5b5b50505050565b612728848573ffffffffffffffffffffffffffffffffffffffff166323b872dd905060e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123dd565b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b82141580156127705750808214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564726577617264446973747269627574696f6e2063616e277420626520616464726573732830292021a165627a7a72305820c6ed6a5e11c441de176616c4d63af91242ba3fb502dabf62313630038ac208400029
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c35760003560e01c80638da5cb5b116100f9578063ca4b208b11610097578063e9fad8ee11610071578063e9fad8ee1461063e578063ebe2b12b14610648578063f2fde38b14610666578063ff70fa49146106aa576101c3565b8063ca4b208b146105b8578063cd3daf9d14610602578063df136d6514610620576101c3565b8063a56dfe4a116100d3578063a56dfe4a14610518578063a694fc3a14610562578063c172085e14610590578063c8f33c911461059a576101c3565b80638da5cb5b1461048e5780638f32d59b146104d85780639c907b58146104fa576101c3565b806370a08231116101665780637b0a47ee116101405780637b0a47ee146103dc57806380faa57d146103fa5780638b876347146104185780638da5889714610470576101c3565b806370a0823114610330578063715018a61461038857806376d5de8514610392576101c3565b806318160ddd116101a257806318160ddd146102bc5780631be05289146102da5780632e1a7d4d146102f85780633d18b91214610326576101c3565b80628cc262146101c85780630700037d146102205780630d68b76114610278575b600080fd5b61020a600480360360208110156101de57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106ee565b6040518082815260200191505060405180910390f35b6102626004803603602081101561023657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107d5565b6040518082815260200191505060405180910390f35b6102ba6004803603602081101561028e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107ed565b005b6102c4610931565b6040518082815260200191505060405180910390f35b6102e261093b565b6040518082815260200191505060405180910390f35b6103246004803603602081101561030e57600080fd5b8101908080359060200190929190505050610942565b005b61032e610cdd565b005b6103726004803603602081101561034657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506110a2565b6040518082815260200191505060405180910390f35b6103906110eb565b005b61039a611226565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103e461124c565b6040518082815260200191505060405180910390f35b610402611252565b6040518082815260200191505060405180910390f35b61045a6004803603602081101561042e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611265565b6040518082815260200191505060405180910390f35b61047861127d565b6040518082815260200191505060405180910390f35b610496611283565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104e06112ad565b604051808215151515815260200191505060405180910390f35b61050261130c565b6040518082815260200191505060405180910390f35b610520611312565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61058e6004803603602081101561057857600080fd5b8101908080359060200190929190505050611337565b005b6105986116d2565b005b6105a26119cb565b6040518082815260200191505060405180910390f35b6105c06119d1565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61060a6119f7565b6040518082815260200191505060405180910390f35b610628611a8f565b6040518082815260200191505060405180910390f35b610646611a95565b005b610650611ab0565b6040518082815260200191505060405180910390f35b6106a86004803603602081101561067c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ab6565b005b6106ec600480360360208110156106c057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b3c565b005b60006107ce600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107c0670de0b6b3a76400006107b261079b600d60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461078d6119f7565b611c7d90919063ffffffff16565b6107a4886110a2565b611cc790919063ffffffff16565b611d4d90919063ffffffff16565b611d9790919063ffffffff16565b9050919050565b600e6020528060005260406000206000915090505481565b6107f56112ad565b610867576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156108ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806127eb6028913960400191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600154905090565b624f1a0081565b3361094b6119f7565b600c81905550610959611252565b600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a265761099c816106ee565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c54600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6009544210610b9557610a586064610a4a6032600754611cc790919063ffffffff16565b611d4d90919063ffffffff16565b600781905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19306007546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610b0957600080fd5b505af1158015610b1d573d6000803e3d6000fd5b50505050610b39624f1a00600754611d4d90919063ffffffff16565b600a81905550610b55624f1a0042611d9790919063ffffffff16565b6009819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6007546040518082815260200191505060405180910390a15b6008544211610c0c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008211610c82576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610c8b82611e1f565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b33610ce66119f7565b600c81905550610cf4611252565b600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610dc157610d37816106ee565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c54600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6009544210610f3057610df36064610de56032600754611cc790919063ffffffff16565b611d4d90919063ffffffff16565b600781905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19306007546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b158015610ea457600080fd5b505af1158015610eb8573d6000803e3d6000fd5b50505050610ed4624f1a00600754611d4d90919063ffffffff16565b600a81905550610ef0624f1a0042611d9790919063ffffffff16565b6009819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6007546040518082815260200191505060405180910390a15b6008544211610fa7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6000610fb2336106ee565b9050600081111561109e576000600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061104f3382600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f1e9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b5050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6110f36112ad565b611165576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b600061126042600954611fef565b905090565b600d6020528060005260406000206000915090505481565b60085481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166112f0612008565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b60075481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b336113406119f7565b600c8190555061134e611252565b600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461141b57611391816106ee565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c54600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600954421061158a5761144d606461143f6032600754611cc790919063ffffffff16565b611d4d90919063ffffffff16565b600781905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19306007546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156114fe57600080fd5b505af1158015611512573d6000803e3d6000fd5b5050505061152e624f1a00600754611d4d90919063ffffffff16565b600a8190555061154a624f1a0042611d9790919063ffffffff16565b6009819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6007546040518082815260200191505060405180910390a15b6008544211611601576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f6e6f74207374617274000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008211611677576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61168082612010565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461172c57600080fd5b60006117366119f7565b600c81905550611744611252565b600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461181157611787816106ee565b600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c54600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600560149054906101000a900460ff16611893576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f6e6f7420696e697469616c697a6174696f6e000000000000000000000000000081525060200191505060405180910390fd5b6118ab624f1a00600754611d4d90919063ffffffff16565b600a81905550600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166340c10f19306007546040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561195c57600080fd5b505af1158015611970573d6000803e3d6000fd5b505050506000600560146101000a81548160ff0219169083151502179055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d6007546040518082815260200191505060405180910390a150565b600b5481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080611a02610931565b1415611a1257600c549050611a8c565b611a89611a78611a20610931565b611a6a670de0b6b3a7640000611a5c600a54611a4e600b54611a40611252565b611c7d90919063ffffffff16565b611cc790919063ffffffff16565b611cc790919063ffffffff16565b611d4d90919063ffffffff16565b600c54611d9790919063ffffffff16565b90505b90565b600c5481565b611aa6611aa1336110a2565b610942565b611aae610cdd565b565b60095481565b611abe6112ad565b611b30576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611b3981612111565b50565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611b9657600080fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611c39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f646576656c6f7065722063616e2774206265206164647265737328302900000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611cbf83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612257565b905092915050565b600080831415611cda5760009050611d47565b6000828402905082848281611ceb57fe5b0414611d42576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127a06021913960400191505060405180910390fd5b809150505b92915050565b6000611d8f83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612317565b905092915050565b600080828401905083811015611e15576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611e3481600154611c7d90919063ffffffff16565b600181905550611e8c81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c7d90919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611f1b33826000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611f1e9092919063ffffffff16565b50565b611fea838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123dd565b505050565b6000818310611ffe5781612000565b825b905092915050565b600033905090565b61202581600154611d9790919063ffffffff16565b60018190555061207d81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d9790919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061210e3330836000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612628909392919063ffffffff16565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612197576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061277a6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000838311158290612304576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156122c95780820151818401526020810190506122ae565b50505050905090810190601f1680156122f65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b600080831182906123c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561238857808201518184015260208101905061236d565b50505050905090810190601f1680156123b55780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816123cf57fe5b049050809150509392505050565b6123fc8273ffffffffffffffffffffffffffffffffffffffff1661272e565b61246e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106124bd578051825260208201915060208101905060208303925061249a565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461251f576040519150601f19603f3d011682016040523d82523d6000602084013e612524565b606091505b50915091508161259c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b600081511115612622578080602001905160208110156125bb57600080fd5b8101908080519060200190929190505050612621576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a8152602001806127c1602a913960400191505060405180910390fd5b5b50505050565b612728848573ffffffffffffffffffffffffffffffffffffffff166323b872dd905060e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506123dd565b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b82141580156127705750808214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564726577617264446973747269627574696f6e2063616e277420626520616464726573732830292021a165627a7a72305820c6ed6a5e11c441de176616c4d63af91242ba3fb502dabf62313630038ac208400029
Deployed Bytecode Sourcemap
22454:4492:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22454:4492:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24504:265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24504:265:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23113:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23113:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21188:295;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21188:295:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;21782:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22683:42;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25122:266;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25122:266:0;;;;;;;;;;;;;;;;;:::i;:::-;;25690:313;;;:::i;:::-;;21881:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21881:110:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9253:140;;;:::i;:::-;;22597:77;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;22935:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23937:131;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23049:57;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23049:57:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22853:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;8442:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;8808:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;22807:39;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21616:68;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24860:254;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24860:254:0;;;;;;;;;;;;;;;;;:::i;:::-;;26575:368;;;:::i;:::-;;22971:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22537:24;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24076:420;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23007:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25396:97;;;:::i;:::-;;22897:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9548:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;9548:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;25501:181;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25501:181:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;24504:265;24558:7;24598:163;24744:7;:16;24752:7;24744:16;;;;;;;;;;;;;;;;24598:123;24716:4;24598:95;24639:53;24660:22;:31;24683:7;24660:31;;;;;;;;;;;;;;;;24639:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;24598:18;24608:7;24598:9;:18::i;:::-;:40;;:95;;;;:::i;:::-;:117;;:123;;;;:::i;:::-;:145;;:163;;;;:::i;:::-;24578:183;;24504:265;;;:::o;23113:42::-;;;;;;;;;;;;;;;;;:::o;21188:295::-;8654:9;:7;:9::i;:::-;8646:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21354:1;21323:33;;:19;:33;;;;21301:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21456:19;21435:18;;:40;;;;;;;;;;;;;;;;;;21188:295;:::o;21782:91::-;21826:7;21853:12;;21846:19;;21782:91;:::o;22683:42::-;22718:7;22683:42;:::o;25122:266::-;25194:10;23672:16;:14;:16::i;:::-;23649:20;:39;;;;23716:26;:24;:26::i;:::-;23699:14;:43;;;;23776:1;23757:21;;:7;:21;;;23753:157;;23814:15;23821:7;23814:6;:15::i;:::-;23795:7;:16;23803:7;23795:16;;;;;;;;;;;;;;;:34;;;;23878:20;;23844:22;:31;23867:7;23844:31;;;;;;;;;;;;;;;:54;;;;23753:157;26067:12;;26048:15;:31;26044:390;;26109:27;26132:3;26109:18;26124:2;26109:10;;:14;;:18;;;;:::i;:::-;:22;;:27;;;;:::i;:::-;26096:10;:40;;;;26151:10;;;;;;;;;;;:15;;;26175:4;26182:10;;26151:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26151:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26151:42:0;;;;26296:24;22718:7;26296:10;;:14;;:24;;;;:::i;:::-;26283:10;:37;;;;26350:29;22718:7;26350:15;:19;;:29;;;;:::i;:::-;26335:12;:44;;;;26399:23;26411:10;;26399:23;;;;;;;;;;;;;;;;;;26044:390;26524:9;;26506:15;:27;26498:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25279:1;25270:6;:10;25262:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25313:22;25328:6;25313:14;:22::i;:::-;25361:10;25351:29;;;25373:6;25351:29;;;;;;;;;;;;;;;;;;25122:266;;:::o;25690:313::-;25731:10;23672:16;:14;:16::i;:::-;23649:20;:39;;;;23716:26;:24;:26::i;:::-;23699:14;:43;;;;23776:1;23757:21;;:7;:21;;;23753:157;;23814:15;23821:7;23814:6;:15::i;:::-;23795:7;:16;23803:7;23795:16;;;;;;;;;;;;;;;:34;;;;23878:20;;23844:22;:31;23867:7;23844:31;;;;;;;;;;;;;;;:54;;;;23753:157;26067:12;;26048:15;:31;26044:390;;26109:27;26132:3;26109:18;26124:2;26109:10;;:14;;:18;;;;:::i;:::-;:22;;:27;;;;:::i;:::-;26096:10;:40;;;;26151:10;;;;;;;;;;;:15;;;26175:4;26182:10;;26151:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26151:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26151:42:0;;;;26296:24;22718:7;26296:10;;:14;;:24;;;;:::i;:::-;26283:10;:37;;;;26350:29;22718:7;26350:15;:19;;:29;;;;:::i;:::-;26335:12;:44;;;;26399:23;26411:10;;26399:23;;;;;;;;;;;;;;;;;;26044:390;26524:9;;26506:15;:27;26498:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25776:14;25793:18;25800:10;25793:6;:18::i;:::-;25776:35;;25835:1;25826:6;:10;25822:174;;;25875:1;25853:7;:19;25861:10;25853:19;;;;;;;;;;;;;;;:23;;;;25891:43;25915:10;25927:6;25891:10;;;;;;;;;;;:23;;;;:43;;;;;:::i;:::-;25965:10;25954:30;;;25977:6;25954:30;;;;;;;;;;;;;;;;;;25822:174;26558:1;25690:313;:::o;21881:110::-;21938:7;21965:9;:18;21975:7;21965:18;;;;;;;;;;;;;;;;21958:25;;21881:110;;;:::o;9253:140::-;8654:9;:7;:9::i;:::-;8646:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9352:1;9315:40;;9336:6;;;;;;;;;;;9315:40;;;;;;;;;;;;9383:1;9366:6;;:19;;;;;;;;;;;;;;;;;;9253:140::o;22597:77::-;;;;;;;;;;;;;:::o;22935:29::-;;;;:::o;23937:131::-;23994:7;24021:39;24030:15;24047:12;;24021:8;:39::i;:::-;24014:46;;23937:131;:::o;23049:57::-;;;;;;;;;;;;;;;;;:::o;22853:37::-;;;;:::o;8442:79::-;8480:7;8507:6;;;;;;;;;;;8500:13;;8442:79;:::o;8808:94::-;8848:4;8888:6;;;;;;;;;;;8872:22;;:12;:10;:12::i;:::-;:22;;;8865:29;;8808:94;:::o;22807:39::-;;;;:::o;21616:68::-;;;;;;;;;;;;;:::o;24860:254::-;24929:10;23672:16;:14;:16::i;:::-;23649:20;:39;;;;23716:26;:24;:26::i;:::-;23699:14;:43;;;;23776:1;23757:21;;:7;:21;;;23753:157;;23814:15;23821:7;23814:6;:15::i;:::-;23795:7;:16;23803:7;23795:16;;;;;;;;;;;;;;;:34;;;;23878:20;;23844:22;:31;23867:7;23844:31;;;;;;;;;;;;;;;:54;;;;23753:157;26067:12;;26048:15;:31;26044:390;;26109:27;26132:3;26109:18;26124:2;26109:10;;:14;;:18;;;;:::i;:::-;:22;;:27;;;;:::i;:::-;26096:10;:40;;;;26151:10;;;;;;;;;;;:15;;;26175:4;26182:10;;26151:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26151:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26151:42:0;;;;26296:24;22718:7;26296:10;;:14;;:24;;;;:::i;:::-;26283:10;:37;;;;26350:29;22718:7;26350:15;:19;;:29;;;;:::i;:::-;26335:12;:44;;;;26399:23;26411:10;;26399:23;;;;;;;;;;;;;;;;;;26044:390;26524:9;;26506:15;:27;26498:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25014:1;25005:6;:10;24997:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25045:19;25057:6;25045:11;:19::i;:::-;25087:10;25080:26;;;25099:6;25080:26;;;;;;;;;;;;;;;;;;24860:254;;:::o;26575:368::-;23442:9;;;;;;;;;;;23428:23;;:10;:23;;;23420:32;;;;;;26645:1;23672:16;:14;:16::i;:::-;23649:20;:39;;;;23716:26;:24;:26::i;:::-;23699:14;:43;;;;23776:1;23757:21;;:7;:21;;;23753:157;;23814:15;23821:7;23814:6;:15::i;:::-;23795:7;:16;23803:7;23795:16;;;;;;;;;;;;;;;:34;;;;23878:20;;23844:22;:31;23867:7;23844:31;;;;;;;;;;;;;;;:54;;;;23753:157;26668:6;;;;;;;;;;;26660:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26723:24;22718:7;26723:10;;:14;;:24;;;;:::i;:::-;26710:10;:37;;;;26758:10;;;;;;;;;;;:15;;;26782:4;26789:10;;26758:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26758:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26758:42:0;;;;26891:5;26882:6;;:14;;;;;;;;;;;;;;;;;;26912:23;26924:10;;26912:23;;;;;;;;;;;;;;;;;;23463:1;26575:368::o;22971:29::-;;;;:::o;22537:24::-;;;;;;;;;;;;;:::o;24076:420::-;24123:7;24164:1;24147:13;:11;:13::i;:::-;:18;24143:78;;;24189:20;;24182:27;;;;24143:78;24251:237;24294:179;24459:13;:11;:13::i;:::-;24294:138;24427:4;24294:106;24389:10;;24294:68;24347:14;;24294:26;:24;:26::i;:::-;:52;;:68;;;;:::i;:::-;:94;;:106;;;;:::i;:::-;:132;;:138;;;;:::i;:::-;:164;;:179;;;;:::i;:::-;24251:20;;:24;;:237;;;;:::i;:::-;24231:257;;24076:420;;:::o;23007:35::-;;;;:::o;25396:97::-;25432:31;25441:21;25451:10;25441:9;:21::i;:::-;25432:8;:31::i;:::-;25474:11;:9;:11::i;:::-;25396:97::o;22897:31::-;;;;:::o;9548:109::-;8654:9;:7;:9::i;:::-;8646:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9621:28;9640:8;9621:18;:28::i;:::-;9548:109;:::o;25501:181::-;23442:9;;;;;;;;;;;23428:23;;:10;:23;;;23420:32;;;;;;25605:1;25583:24;;:10;:24;;;;25575:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25664:10;25652:9;;:22;;;;;;;;;;;;;;;;;;25501:181;:::o;2118:136::-;2176:7;2203:43;2207:1;2210;2203:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2196:50;;2118:136;;;;:::o;3068:471::-;3126:7;3376:1;3371;:6;3367:47;;;3401:1;3394:8;;;;3367:47;3426:9;3442:1;3438;:5;3426:17;;3471:1;3466;3462;:5;;;;;;:10;3454:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3530:1;3523:8;;;3068:471;;;;;:::o;4007:132::-;4065:7;4092:39;4096:1;4099;4092:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;4085:46;;4007:132;;;;:::o;1662:181::-;1720:7;1740:9;1756:1;1752;:5;1740:17;;1781:1;1776;:6;;1768:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1834:1;1827:8;;;1662:181;;;;:::o;22235:212::-;22302:24;22319:6;22302:12;;:16;;:24;;;;:::i;:::-;22287:12;:39;;;;22361:33;22387:6;22361:9;:21;22371:10;22361:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;22337:9;:21;22347:10;22337:21;;;;;;;;;;;;;;;:57;;;;22405:34;22420:10;22432:6;22405:1;;;;;;;;;;;:14;;;;:34;;;;;:::i;:::-;22235:212;:::o;17023:247::-;17140:122;17173:5;17216;:14;;;:23;;;;17241:2;17245:5;17193:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;17193:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;17193:58:0;17140:18;:122::i;:::-;17023:247;;;:::o;374:106::-;432:7;463:1;459;:5;:13;;471:1;459:13;;;467:1;459:13;452:20;;374:106;;;;:::o;7167:98::-;7212:15;7247:10;7240:17;;7167:98;:::o;21999:228::-;22063:24;22080:6;22063:12;;:16;;:24;;;;:::i;:::-;22048:12;:39;;;;22122:33;22148:6;22122:9;:21;22132:10;22122:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;22098:9;:21;22108:10;22098:21;;;;;;;;;;;;;;;:57;;;;22166:53;22185:10;22205:4;22212:6;22166:1;;;;;;;;;;;:18;;;;:53;;;;;;:::i;:::-;21999:228;:::o;9763:266::-;9871:1;9851:22;;:8;:22;;;;9829:110;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9984:8;9955:38;;9976:6;;;;;;;;;;;9955:38;;;;;;;;;;;;10013:8;10004:6;;:17;;;;;;;;;;;;;;;;;;9763:266;:::o;2591:226::-;2711:7;2744:1;2739;:6;;2747:12;2731:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;2731:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2771:9;2787:1;2783;:5;2771:17;;2808:1;2801:8;;;2591:226;;;;;:::o;4669:379::-;4789:7;4888:1;4884;:5;4891:12;4876:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;4876:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4915:9;4931:1;4927;:5;;;;;;4915:17;;5039:1;5032:8;;;4669:379;;;;;:::o;19633:1176::-;20237:27;20245:5;20237:25;;;:27::i;:::-;20229:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20374:12;20388:23;20423:5;20415:19;;20435:4;20415:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;20415:25:0;;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;20373:67:0;;;;20459:7;20451:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20540:1;20520:10;:17;:21;20516:286;;;20693:10;20682:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20682:30:0;;;;;;;;;;;;;;;;20656:134;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20516:286;19633:1176;;;;:::o;17278:284::-;17422:132;17455:5;17498;:18;;;:27;;;;17527:4;17533:2;17537:5;17475:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;17475:68:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;17475:68:0;17422:18;:132::i;:::-;17278:284;;;;:::o;13721:850::-;13781:4;14234:16;14269:19;14301:66;14269:98;;;;14483:7;14471:20;14459:32;;14532:3;14520:15;;:8;:15;;:42;;;;;14551:11;14539:8;:23;;14520:42;14512:51;;;;13721:850;;;:::o
Swarm Source
bzzr://c6ed6a5e11c441de176616c4d63af91242ba3fb502dabf62313630038ac20840
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.