Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 2,716 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Reward | 19907145 | 234 days ago | IN | 0 ETH | 0.0001925 | ||||
Exit | 13519055 | 1167 days ago | IN | 0 ETH | 0.00777294 | ||||
Exit | 13519044 | 1167 days ago | IN | 0 ETH | 0.02120212 | ||||
Transfer Ownersh... | 12742038 | 1288 days ago | IN | 0 ETH | 0.0003748 | ||||
Save Token | 12741915 | 1288 days ago | IN | 0 ETH | 0.00057254 | ||||
Exit | 12576945 | 1313 days ago | IN | 0 ETH | 0.00612401 | ||||
Get Reward | 12567780 | 1315 days ago | IN | 0 ETH | 0.0028944 | ||||
Get Reward | 12565897 | 1315 days ago | IN | 0 ETH | 0.00279573 | ||||
Withdraw | 12565886 | 1315 days ago | IN | 0 ETH | 0.00178128 | ||||
Stake | 12334055 | 1351 days ago | IN | 0 ETH | 0.0032673 | ||||
Exit | 12229507 | 1367 days ago | IN | 0 ETH | 0.01654555 | ||||
Exit | 12203855 | 1371 days ago | IN | 0 ETH | 0.02024776 | ||||
Withdraw | 11867587 | 1423 days ago | IN | 0 ETH | 0.01636152 | ||||
Exit | 11795760 | 1434 days ago | IN | 0 ETH | 0.04269107 | ||||
Exit | 11749388 | 1441 days ago | IN | 0 ETH | 0.01244139 | ||||
Exit | 11650100 | 1456 days ago | IN | 0 ETH | 0.00768549 | ||||
Exit | 11641456 | 1457 days ago | IN | 0 ETH | 0.01859918 | ||||
Exit | 11605867 | 1463 days ago | IN | 0 ETH | 0.02756623 | ||||
Exit | 11605146 | 1463 days ago | IN | 0 ETH | 0.01449057 | ||||
Withdraw | 11582441 | 1467 days ago | IN | 0 ETH | 0.01016915 | ||||
Exit | 11582439 | 1467 days ago | IN | 0 ETH | 0.02405894 | ||||
Get Reward | 11582432 | 1467 days ago | IN | 0 ETH | 0.06583445 | ||||
Withdraw | 11537542 | 1473 days ago | IN | 0 ETH | 0.0044722 | ||||
Get Reward | 11537542 | 1473 days ago | IN | 0 ETH | 0.00932337 | ||||
Exit | 11459775 | 1485 days ago | IN | 0 ETH | 0.00723996 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ReferralRewards
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-10-03 */ // File: @openzeppelin/contracts/GSN/Context.sol 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 { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @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: localhost/contracts/IRewardDistributionRecipient.sol pragma solidity ^0.5.0; contract IRewardDistributionRecipient is Ownable { address public rewardDistribution; function notifyRewardAmount(uint256 reward) external; modifier onlyRewardDistribution() { require(_msgSender() == rewardDistribution, "Caller is not reward distribution"); _; } function setRewardDistribution(address _rewardDistribution) external onlyOwner { rewardDistribution = _rewardDistribution; } } // 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. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // 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 != accountHash && codehash != 0x0); } /** * @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/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); /** * @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/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"); } } } // File: @openzeppelin/contracts/math/SafeMath.sol 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; } } // File: @openzeppelin/contracts/math/Math.sol 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); } } // File: localhost/contracts/ReferralRewards.sol pragma solidity ^0.5.0; contract LPTokenWrapper { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public uni = IERC20(0xFAE2809935233d4BfE8a56c2355c4A2e7d1fFf1A); 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); uni.safeTransferFrom(msg.sender, address(this), amount); } function withdraw(uint256 amount) public { _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); uni.safeTransfer(msg.sender, amount); } } contract ReferralRewards is LPTokenWrapper, IRewardDistributionRecipient { IERC20 public dough = IERC20(0xad32A8e6220741182940c5aBF610bDE99E737b2D); uint256 public constant DURATION = 7 days; 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); event ReferralSet(address indexed user, address indexed referral); event ReferralReward(address indexed user, address indexed referral, uint256 amount); mapping(address => address) public referralOf; // 1% uint256 referralPercentage = 1 * 10 ** 16; 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) { require(amount > 0, "Cannot stake 0"); super.stake(amount); emit Staked(msg.sender, amount); } function stake(uint256 amount, address referral) public { stake(amount); // Only set if referral is not set yet if(referralOf[msg.sender] == address(0) && referral != msg.sender && referral != address(0)) { referralOf[msg.sender] = referral; emit ReferralSet(msg.sender, referral); } } function withdraw(uint256 amount) public updateReward(msg.sender) { require(amount > 0, "Cannot withdraw 0"); super.withdraw(amount); emit Withdrawn(msg.sender, amount); } function exit() external { withdraw(balanceOf(msg.sender)); getReward(); } function getReward() public updateReward(msg.sender) { uint256 reward = earned(msg.sender); if (reward > 0) { rewards[msg.sender] = 0; dough.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } if(referralOf[msg.sender] != address(0)) { address referral = referralOf[msg.sender]; uint256 referralReward = reward.mul(referralPercentage).div(10**18); rewards[referral] = rewards[referral].add(referralReward); emit ReferralReward(msg.sender, referral, referralReward); } } function notifyRewardAmount(uint256 reward) external onlyRewardDistribution updateReward(address(0)) { if (block.timestamp >= periodFinish) { rewardRate = reward.div(DURATION); } else { uint256 remaining = periodFinish.sub(block.timestamp); uint256 leftover = remaining.mul(rewardRate); rewardRate = reward.add(leftover).div(DURATION); } lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(DURATION); emit RewardAdded(reward); } function saveToken(address _token) external { require(_token != address(dough) && _token != address(uni), "INVALID_TOKEN"); IERC20 token = IERC20(_token); token.transfer(address(0x4efD8CEad66bb0fA64C8d53eBE65f31663199C6d), token.balanceOf(address(this))); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"referral","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ReferralReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"referral","type":"address"}],"name":"ReferralSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"constant":true,"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"dough","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"referralOf","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"saveToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"referral","type":"address"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"uni","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405273fae2809935233d4bfe8a56c2355c4a2e7d1fff1a6000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ad32a8e6220741182940c5abf610bde99e737b2d600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060006006556000600755662386f26fc10000600d5560006100d261017660201b60201c565b905080600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35061017e565b600033905090565b6127f28061018d6000396000f3fe608060405234801561001057600080fd5b50600436106101c35760003560e01c80638b876347116100f9578063de6c736d11610097578063e9fad8ee11610071578063e9fad8ee146106f2578063ebe2b12b146106fc578063edc9af951461071a578063f2fde38b14610764576101c3565b8063de6c736d1461060c578063df136d6514610690578063e560ce9c146106ae576101c3565b8063a694fc3a116100d3578063a694fc3a14610558578063bbca621014610586578063c8f33c91146105d0578063cd3daf9d146105ee576101c3565b80638b876347146104945780638da5cb5b146104ec5780638f32d59b14610536576101c3565b80633c6b16ab11610166578063715018a611610140578063715018a6146104005780637acb77571461040a5780637b0a47ee1461045857806380faa57d14610476576101c3565b80633c6b16ab146103705780633d18b9121461039e57806370a08231146103a8576101c3565b8063101114cf116101a2578063101114cf146102bc57806318160ddd146103065780631be05289146103245780632e1a7d4d14610342576101c3565b80628cc262146101c85780630700037d146102205780630d68b76114610278575b600080fd5b61020a600480360360208110156101de57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107a8565b6040518082815260200191505060405180910390f35b6102626004803603602081101561023657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061088f565b6040518082815260200191505060405180910390f35b6102ba6004803603602081101561028e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108a7565b005b6102c4610965565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61030e61098b565b6040518082815260200191505060405180910390f35b61032c610995565b6040518082815260200191505060405180910390f35b61036e6004803603602081101561035857600080fd5b810190808035906020019092919050505061099c565b005b61039c6004803603602081101561038657600080fd5b8101908080359060200190929190505050610b51565b005b6103a6610dce565b005b6103ea600480360360208110156103be57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111d4565b6040518082815260200191505060405180910390f35b61040861121d565b005b6104566004803603604081101561042057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611358565b005b610460611543565b6040518082815260200191505060405180910390f35b61047e611549565b6040518082815260200191505060405180910390f35b6104d6600480360360208110156104aa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061155c565b6040518082815260200191505060405180910390f35b6104f4611574565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61053e61159e565b604051808215151515815260200191505060405180910390f35b6105846004803603602081101561056e57600080fd5b81019080803590602001909291905050506115fd565b005b61058e6117b2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105d86117d8565b6040518082815260200191505060405180910390f35b6105f66117de565b6040518082815260200191505060405180910390f35b61064e6004803603602081101561062257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611876565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106986118a9565b6040518082815260200191505060405180910390f35b6106f0600480360360208110156106c457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118af565b005b6106fa611b63565b005b610704611b7e565b6040518082815260200191505060405180910390f35b610722611b84565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107a66004803603602081101561077a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ba9565b005b6000610888600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461087a670de0b6b3a764000061086c610855600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108476117de565b611c2f90919063ffffffff16565b61085e886111d4565b611c7990919063ffffffff16565b611cff90919063ffffffff16565b611d4990919063ffffffff16565b9050919050565b600b6020528060005260406000206000915090505481565b6108af61159e565b610921576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600154905090565b62093a8081565b336109a56117de565b6009819055506109b3611549565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a80576109f6816107a8565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610af6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610aff82611dd1565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610b92611ed0565b73ffffffffffffffffffffffffffffffffffffffff1614610bfe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127736021913960400191505060405180910390fd5b6000610c086117de565b600981905550610c16611549565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ce357610c59816107a8565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6006544210610d0d57610d0262093a8083611cff90919063ffffffff16565b600781905550610d70565b6000610d2442600654611c2f90919063ffffffff16565b90506000610d3d60075483611c7990919063ffffffff16565b9050610d6762093a80610d598387611d4990919063ffffffff16565b611cff90919063ffffffff16565b60078190555050505b42600881905550610d8d62093a8042611d4990919063ffffffff16565b6006819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15050565b33610dd76117de565b600981905550610de5611549565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610eb257610e28816107a8565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000610ebd336107a8565b90506000811115610fa9576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f5a3382600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ed89092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b600073ffffffffffffffffffffffffffffffffffffffff16600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111d0576000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006110d1670de0b6b3a76400006110c3600d5486611c7990919063ffffffff16565b611cff90919063ffffffff16565b905061112581600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d4990919063ffffffff16565b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f53958b9c644a1d5529da7c36929d59417eb9a996f08e02a52632bfe20c92ef48836040518082815260200191505060405180910390a350505b5050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61122561159e565b611297576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611361826115fd565b600073ffffffffffffffffffffffffffffffffffffffff16600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614801561142857503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156114615750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b1561153f5780600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fdf63218877cb126f6c003f2b7f77327674cd6a0b53ad51deac392548ec12b0ed60405160405180910390a35b5050565b60075481565b600061155742600654611fa9565b905090565b600a6020528060005260406000206000915090505481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166115e1611ed0565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b336116066117de565b600981905550611614611549565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116e157611657816107a8565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211611757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61176082611fc2565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b6000806117e961098b565b14156117f9576009549050611873565b61187061185f61180761098b565b611851670de0b6b3a7640000611843600754611835600854611827611549565b611c2f90919063ffffffff16565b611c7990919063ffffffff16565b611c7990919063ffffffff16565b611cff90919063ffffffff16565b600954611d4990919063ffffffff16565b90505b90565b600c6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561195a57506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b6119cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f494e56414c49445f544f4b454e0000000000000000000000000000000000000081525060200191505060405180910390fd5b60008190508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb734efd8cead66bb0fa64c8d53ebe65f31663199c6d8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611a7f57600080fd5b505afa158015611a93573d6000803e3d6000fd5b505050506040513d6020811015611aa957600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611b2357600080fd5b505af1158015611b37573d6000803e3d6000fd5b505050506040513d6020811015611b4d57600080fd5b8101908080519060200190929190505050505050565b611b74611b6f336111d4565b61099c565b611b7c610dce565b565b60065481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611bb161159e565b611c23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611c2c816120c3565b50565b6000611c7183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612209565b905092915050565b600080831415611c8c5760009050611cf9565b6000828402905082848281611c9d57fe5b0414611cf4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127526021913960400191505060405180910390fd5b809150505b92915050565b6000611d4183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506122c9565b905092915050565b600080828401905083811015611dc7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611de681600154611c2f90919063ffffffff16565b600181905550611e3e81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c2f90919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611ecd33826000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ed89092919063ffffffff16565b50565b600033905090565b611fa4838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061238f565b505050565b6000818310611fb85781611fba565b825b905092915050565b611fd781600154611d4990919063ffffffff16565b60018190555061202f81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d4990919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506120c03330836000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166125da909392919063ffffffff16565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612149576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061272c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008383111582906122b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561227b578082015181840152602081019050612260565b50505050905090810190601f1680156122a85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290612375576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561233a57808201518184015260208101905061231f565b50505050905090810190601f1680156123675780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161238157fe5b049050809150509392505050565b6123ae8273ffffffffffffffffffffffffffffffffffffffff166126e0565b612420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b6020831061246f578051825260208201915060208101905060208303925061244c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146124d1576040519150601f19603f3d011682016040523d82523d6000602084013e6124d6565b606091505b50915091508161254e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b6000815111156125d45780806020019051602081101561256d57600080fd5b81019080805190602001909291905050506125d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612794602a913960400191505060405180910390fd5b5b50505050565b6126da848573ffffffffffffffffffffffffffffffffffffffff166323b872dd905060e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061238f565b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561272257506000801b8214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a723158209eb73f6b14ebf62827d355922e966d9d231642ce91532d1f0e190f552e32f81264736f6c63430005110032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c35760003560e01c80638b876347116100f9578063de6c736d11610097578063e9fad8ee11610071578063e9fad8ee146106f2578063ebe2b12b146106fc578063edc9af951461071a578063f2fde38b14610764576101c3565b8063de6c736d1461060c578063df136d6514610690578063e560ce9c146106ae576101c3565b8063a694fc3a116100d3578063a694fc3a14610558578063bbca621014610586578063c8f33c91146105d0578063cd3daf9d146105ee576101c3565b80638b876347146104945780638da5cb5b146104ec5780638f32d59b14610536576101c3565b80633c6b16ab11610166578063715018a611610140578063715018a6146104005780637acb77571461040a5780637b0a47ee1461045857806380faa57d14610476576101c3565b80633c6b16ab146103705780633d18b9121461039e57806370a08231146103a8576101c3565b8063101114cf116101a2578063101114cf146102bc57806318160ddd146103065780631be05289146103245780632e1a7d4d14610342576101c3565b80628cc262146101c85780630700037d146102205780630d68b76114610278575b600080fd5b61020a600480360360208110156101de57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107a8565b6040518082815260200191505060405180910390f35b6102626004803603602081101561023657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061088f565b6040518082815260200191505060405180910390f35b6102ba6004803603602081101561028e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108a7565b005b6102c4610965565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61030e61098b565b6040518082815260200191505060405180910390f35b61032c610995565b6040518082815260200191505060405180910390f35b61036e6004803603602081101561035857600080fd5b810190808035906020019092919050505061099c565b005b61039c6004803603602081101561038657600080fd5b8101908080359060200190929190505050610b51565b005b6103a6610dce565b005b6103ea600480360360208110156103be57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506111d4565b6040518082815260200191505060405180910390f35b61040861121d565b005b6104566004803603604081101561042057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611358565b005b610460611543565b6040518082815260200191505060405180910390f35b61047e611549565b6040518082815260200191505060405180910390f35b6104d6600480360360208110156104aa57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061155c565b6040518082815260200191505060405180910390f35b6104f4611574565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61053e61159e565b604051808215151515815260200191505060405180910390f35b6105846004803603602081101561056e57600080fd5b81019080803590602001909291905050506115fd565b005b61058e6117b2565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105d86117d8565b6040518082815260200191505060405180910390f35b6105f66117de565b6040518082815260200191505060405180910390f35b61064e6004803603602081101561062257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611876565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106986118a9565b6040518082815260200191505060405180910390f35b6106f0600480360360208110156106c457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118af565b005b6106fa611b63565b005b610704611b7e565b6040518082815260200191505060405180910390f35b610722611b84565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107a66004803603602081101561077a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611ba9565b005b6000610888600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461087a670de0b6b3a764000061086c610855600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108476117de565b611c2f90919063ffffffff16565b61085e886111d4565b611c7990919063ffffffff16565b611cff90919063ffffffff16565b611d4990919063ffffffff16565b9050919050565b600b6020528060005260406000206000915090505481565b6108af61159e565b610921576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600154905090565b62093a8081565b336109a56117de565b6009819055506109b3611549565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610a80576109f6816107a8565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610af6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610aff82611dd1565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16610b92611ed0565b73ffffffffffffffffffffffffffffffffffffffff1614610bfe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127736021913960400191505060405180910390fd5b6000610c086117de565b600981905550610c16611549565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ce357610c59816107a8565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6006544210610d0d57610d0262093a8083611cff90919063ffffffff16565b600781905550610d70565b6000610d2442600654611c2f90919063ffffffff16565b90506000610d3d60075483611c7990919063ffffffff16565b9050610d6762093a80610d598387611d4990919063ffffffff16565b611cff90919063ffffffff16565b60078190555050505b42600881905550610d8d62093a8042611d4990919063ffffffff16565b6006819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15050565b33610dd76117de565b600981905550610de5611549565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610eb257610e28816107a8565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000610ebd336107a8565b90506000811115610fa9576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f5a3382600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ed89092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b600073ffffffffffffffffffffffffffffffffffffffff16600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111d0576000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060006110d1670de0b6b3a76400006110c3600d5486611c7990919063ffffffff16565b611cff90919063ffffffff16565b905061112581600b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d4990919063ffffffff16565b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f53958b9c644a1d5529da7c36929d59417eb9a996f08e02a52632bfe20c92ef48836040518082815260200191505060405180910390a350505b5050565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61122561159e565b611297576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b611361826115fd565b600073ffffffffffffffffffffffffffffffffffffffff16600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614801561142857503373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b80156114615750600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b1561153f5780600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fdf63218877cb126f6c003f2b7f77327674cd6a0b53ad51deac392548ec12b0ed60405160405180910390a35b5050565b60075481565b600061155742600654611fa9565b905090565b600a6020528060005260406000206000915090505481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166115e1611ed0565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b336116066117de565b600981905550611614611549565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116e157611657816107a8565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211611757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b61176082611fc2565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b6000806117e961098b565b14156117f9576009549050611873565b61187061185f61180761098b565b611851670de0b6b3a7640000611843600754611835600854611827611549565b611c2f90919063ffffffff16565b611c7990919063ffffffff16565b611c7990919063ffffffff16565b611cff90919063ffffffff16565b600954611d4990919063ffffffff16565b90505b90565b600c6020528060005260406000206000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415801561195a57506000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614155b6119cc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f494e56414c49445f544f4b454e0000000000000000000000000000000000000081525060200191505060405180910390fd5b60008190508073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb734efd8cead66bb0fa64c8d53ebe65f31663199c6d8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611a7f57600080fd5b505afa158015611a93573d6000803e3d6000fd5b505050506040513d6020811015611aa957600080fd5b81019080805190602001909291905050506040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b158015611b2357600080fd5b505af1158015611b37573d6000803e3d6000fd5b505050506040513d6020811015611b4d57600080fd5b8101908080519060200190929190505050505050565b611b74611b6f336111d4565b61099c565b611b7c610dce565b565b60065481565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611bb161159e565b611c23576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b611c2c816120c3565b50565b6000611c7183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612209565b905092915050565b600080831415611c8c5760009050611cf9565b6000828402905082848281611c9d57fe5b0414611cf4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806127526021913960400191505060405180910390fd5b809150505b92915050565b6000611d4183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506122c9565b905092915050565b600080828401905083811015611dc7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b611de681600154611c2f90919063ffffffff16565b600181905550611e3e81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611c2f90919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611ecd33826000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ed89092919063ffffffff16565b50565b600033905090565b611fa4838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061238f565b505050565b6000818310611fb85781611fba565b825b905092915050565b611fd781600154611d4990919063ffffffff16565b60018190555061202f81600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611d4990919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506120c03330836000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166125da909392919063ffffffff16565b50565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612149576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061272c6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008383111582906122b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561227b578082015181840152602081019050612260565b50505050905090810190601f1680156122a85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290612375576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561233a57808201518184015260208101905061231f565b50505050905090810190601f1680156123675780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50600083858161238157fe5b049050809150509392505050565b6123ae8273ffffffffffffffffffffffffffffffffffffffff166126e0565b612420576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b6020831061246f578051825260208201915060208101905060208303925061244c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146124d1576040519150601f19603f3d011682016040523d82523d6000602084013e6124d6565b606091505b50915091508161254e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b6000815111156125d45780806020019051602081101561256d57600080fd5b81019080805190602001909291905050506125d3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612794602a913960400191505060405180910390fd5b5b50505050565b6126da848573ffffffffffffffffffffffffffffffffffffffff166323b872dd905060e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061238f565b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f915080821415801561272257506000801b8214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a723158209eb73f6b14ebf62827d355922e966d9d231642ce91532d1f0e190f552e32f81264736f6c63430005110032
Deployed Bytecode Sourcemap
21446:4651:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21446:4651:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23323:265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23323:265:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21871:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21871:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4117:161;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;4117:161:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;3861:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;20770:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21605:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24248:203;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24248:203:0;;;;;;;;;;;;;;;;;:::i;:::-;;25205:588;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25205:588:0;;;;;;;;;;;;;;;;;:::i;:::-;;24564:633;;;:::i;:::-;;20869:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;20869:110:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2963:140;;;:::i;:::-;;23878:362;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23878:362:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;21693:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22756:131;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21807:57;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21807:57:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;2152:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;2518:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23679:191;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;23679:191:0;;;;;;;;;;;;;;;;;:::i;:::-;;21526:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;21729:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22895:420;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22305:45;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22305:45:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;21765:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25801:293;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25801:293:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;24459:97;;;:::i;:::-;;21655:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;20602:70;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;3258:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;3258:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;23323:265;23377:7;23417:163;23563:7;:16;23571:7;23563:16;;;;;;;;;;;;;;;;23417:123;23535:4;23417:95;23458:53;23479:22;:31;23502:7;23479:31;;;;;;;;;;;;;;;;23458:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;23417:18;23427:7;23417:9;:18::i;:::-;:40;;:95;;;;:::i;:::-;:117;;:123;;;;:::i;:::-;:145;;:163;;;;:::i;:::-;23397:183;;23323:265;;;:::o;21871:42::-;;;;;;;;;;;;;;;;;:::o;4117:161::-;2364:9;:7;:9::i;:::-;2356:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4251:19;4230:18;;:40;;;;;;;;;;;;;;;;;;4117:161;:::o;3861:33::-;;;;;;;;;;;;;:::o;20770:91::-;20814:7;20841:12;;20834:19;;20770:91;:::o;21605:41::-;21640:6;21605:41;:::o;24248:203::-;24302:10;22491:16;:14;:16::i;:::-;22468:20;:39;;;;22535:26;:24;:26::i;:::-;22518:14;:43;;;;22595:1;22576:21;;:7;:21;;;22572:157;;22633:15;22640:7;22633:6;:15::i;:::-;22614:7;:16;22622:7;22614:16;;;;;;;;;;;;;;;:34;;;;22697:20;;22663:22;:31;22686:7;22663:31;;;;;;;;;;;;;;;:54;;;;22572:157;24342:1;24333:6;:10;24325:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24376:22;24391:6;24376:14;:22::i;:::-;24424:10;24414:29;;;24436:6;24414:29;;;;;;;;;;;;;;;;;;24248:203;;:::o;25205:588::-;4033:18;;;;;;;;;;;4017:34;;:12;:10;:12::i;:::-;:34;;;4009:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25329:1;22491:16;:14;:16::i;:::-;22468:20;:39;;;;22535:26;:24;:26::i;:::-;22518:14;:43;;;;22595:1;22576:21;;:7;:21;;;22572:157;;22633:15;22640:7;22633:6;:15::i;:::-;22614:7;:16;22622:7;22614:16;;;;;;;;;;;;;;;:34;;;;22697:20;;22663:22;:31;22686:7;22663:31;;;;;;;;;;;;;;;:54;;;;22572:157;25372:12;;25353:15;:31;25349:304;;25414:20;21640:6;25414;:10;;:20;;;;:::i;:::-;25401:10;:33;;;;25349:304;;;25467:17;25487:33;25504:15;25487:12;;:16;;:33;;;;:::i;:::-;25467:53;;25535:16;25554:25;25568:10;;25554:9;:13;;:25;;;;:::i;:::-;25535:44;;25607:34;21640:6;25607:20;25618:8;25607:6;:10;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;25594:10;:47;;;;25349:304;;;25680:15;25663:14;:32;;;;25721:29;21640:6;25721:15;:19;;:29;;;;:::i;:::-;25706:12;:44;;;;25766:19;25778:6;25766:19;;;;;;;;;;;;;;;;;;4100:1;25205:588;:::o;24564:633::-;24605:10;22491:16;:14;:16::i;:::-;22468:20;:39;;;;22535:26;:24;:26::i;:::-;22518:14;:43;;;;22595:1;22576:21;;:7;:21;;;22572:157;;22633:15;22640:7;22633:6;:15::i;:::-;22614:7;:16;22622:7;22614:16;;;;;;;;;;;;;;;:34;;;;22697:20;;22663:22;:31;22686:7;22663:31;;;;;;;;;;;;;;;:54;;;;22572:157;24628:14;24645:18;24652:10;24645:6;:18::i;:::-;24628:35;;24687:1;24678:6;:10;24674:169;;;24727:1;24705:7;:19;24713:10;24705:19;;;;;;;;;;;;;;;:23;;;;24743:38;24762:10;24774:6;24743:5;;;;;;;;;;;:18;;;;:38;;;;;:::i;:::-;24812:10;24801:30;;;24824:6;24801:30;;;;;;;;;;;;;;;;;;24674:169;24892:1;24858:36;;:10;:22;24869:10;24858:22;;;;;;;;;;;;;;;;;;;;;;;;;:36;;;24855:335;;24911:16;24930:10;:22;24941:10;24930:22;;;;;;;;;;;;;;;;;;;;;;;;;24911:41;;24967:22;24992:42;25027:6;24992:30;25003:18;;24992:6;:10;;:30;;;;:::i;:::-;:34;;:42;;;;:::i;:::-;24967:67;;25069:37;25091:14;25069:7;:17;25077:8;25069:17;;;;;;;;;;;;;;;;:21;;:37;;;;:::i;:::-;25049:7;:17;25057:8;25049:17;;;;;;;;;;;;;;;:57;;;;25153:8;25126:52;;25141:10;25126:52;;;25163:14;25126:52;;;;;;;;;;;;;;;;;;24855:335;;;22739:1;24564:633;:::o;20869:110::-;20926:7;20953:9;:18;20963:7;20953:18;;;;;;;;;;;;;;;;20946:25;;20869:110;;;:::o;2963:140::-;2364:9;:7;:9::i;:::-;2356:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3062:1;3025:40;;3046:6;;;;;;;;;;;3025:40;;;;;;;;;;;;3093:1;3076:6;;:19;;;;;;;;;;;;;;;;;;2963:140::o;23878:362::-;23945:13;23951:6;23945:5;:13::i;:::-;24064:1;24030:36;;:10;:22;24041:10;24030:22;;;;;;;;;;;;;;;;;;;;;;;;;:36;;;:62;;;;;24082:10;24070:22;;:8;:22;;;;24030:62;:88;;;;;24116:1;24096:22;;:8;:22;;;;24030:88;24027:206;;;24160:8;24135:10;:22;24146:10;24135:22;;;;;;;;;;;;;;;;:33;;;;;;;;;;;;;;;;;;24212:8;24188:33;;24200:10;24188:33;;;;;;;;;;;;24027:206;23878:362;;:::o;21693:29::-;;;;:::o;22756:131::-;22813:7;22840:39;22849:15;22866:12;;22840:8;:39::i;:::-;22833:46;;22756:131;:::o;21807:57::-;;;;;;;;;;;;;;;;;:::o;2152:79::-;2190:7;2217:6;;;;;;;;;;;2210:13;;2152:79;:::o;2518:94::-;2558:4;2598:6;;;;;;;;;;;2582:22;;:12;:10;:12::i;:::-;:22;;;2575:29;;2518:94;:::o;23679:191::-;23730:10;22491:16;:14;:16::i;:::-;22468:20;:39;;;;22535:26;:24;:26::i;:::-;22518:14;:43;;;;22595:1;22576:21;;:7;:21;;;22572:157;;22633:15;22640:7;22633:6;:15::i;:::-;22614:7;:16;22622:7;22614:16;;;;;;;;;;;;;;;:34;;;;22697:20;;22663:22;:31;22686:7;22663:31;;;;;;;;;;;;;;;:54;;;;22572:157;23770:1;23761:6;:10;23753:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23801:19;23813:6;23801:11;:19::i;:::-;23843:10;23836:26;;;23855:6;23836:26;;;;;;;;;;;;;;;;;;23679:191;;:::o;21526:72::-;;;;;;;;;;;;;:::o;21729:29::-;;;;:::o;22895:420::-;22942:7;22983:1;22966:13;:11;:13::i;:::-;:18;22962:78;;;23008:20;;23001:27;;;;22962:78;23070:237;23113:179;23278:13;:11;:13::i;:::-;23113:138;23246:4;23113:106;23208:10;;23113:68;23166:14;;23113:26;:24;:26::i;:::-;:52;;:68;;;;:::i;:::-;:94;;:106;;;;:::i;:::-;:132;;:138;;;;:::i;:::-;:164;;:179;;;;:::i;:::-;23070:20;;:24;;:237;;;;:::i;:::-;23050:257;;22895:420;;:::o;22305:45::-;;;;;;;;;;;;;;;;;;;;;;:::o;21765:35::-;;;;:::o;25801:293::-;25882:5;;;;;;;;;;;25864:24;;:6;:24;;;;:50;;;;;25910:3;;;;;;;;;;;25892:22;;:6;:22;;;;25864:50;25856:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25945:12;25967:6;25945:29;;25987:5;:14;;;26010:42;26055:5;:15;;;26079:4;26055:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;26055:30:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;26055:30:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26055:30:0;;;;;;;;;;;;;;;;25987:99;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25987:99:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25987:99:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25987:99:0;;;;;;;;;;;;;;;;;25801:293;;:::o;24459:97::-;24495:31;24504:21;24514:10;24504:9;:21::i;:::-;24495:8;:31::i;:::-;24537:11;:9;:11::i;:::-;24459:97::o;21655:31::-;;;;:::o;20602:70::-;;;;;;;;;;;;;:::o;3258:109::-;2364:9;:7;:9::i;:::-;2356:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3331:28;3350:8;3331:18;:28::i;:::-;3258:109;:::o;15426:136::-;15484:7;15511:43;15515:1;15518;15511:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;15504:50;;15426:136;;;;:::o;16342:471::-;16400:7;16650:1;16645;:6;16641:47;;;16675:1;16668:8;;;;16641:47;16700:9;16716:1;16712;:5;16700:17;;16745:1;16740;16736;:5;;;;;;:10;16728:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16804:1;16797:8;;;16342:471;;;;;:::o;17281:132::-;17339:7;17366:39;17370:1;17373;17366:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;17359:46;;17281:132;;;;:::o;14970:181::-;15028:7;15048:9;15064:1;15060;:5;15048:17;;15089:1;15084;:6;;15076:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15142:1;15135:8;;;14970:181;;;;:::o;21225:214::-;21292:24;21309:6;21292:12;;:16;;:24;;;;:::i;:::-;21277:12;:39;;;;21351:33;21377:6;21351:9;:21;21361:10;21351:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;21327:9;:21;21337:10;21327:21;;;;;;;;;;;;;;;:57;;;;21395:36;21412:10;21424:6;21395:3;;;;;;;;;;;:16;;;;:36;;;;;:::i;:::-;21225:214;:::o;858:98::-;903:15;938:10;931:17;;858:98;:::o;10897:176::-;10980:85;10999:5;11029;:14;;;:23;;;;11054:2;11058:5;11006:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;11006: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;;;11006:58:0;10980:18;:85::i;:::-;10897:176;;;:::o;19991:106::-;20049:7;20080:1;20076;:5;:13;;20088:1;20076:13;;;20084:1;20076:13;20069:20;;19991:106;;;;:::o;20987:230::-;21051:24;21068:6;21051:12;;:16;;:24;;;;:::i;:::-;21036:12;:39;;;;21110:33;21136:6;21110:9;:21;21120:10;21110:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;21086:9;:21;21096:10;21086:21;;;;;;;;;;;;;;;:57;;;;21154:55;21175:10;21195:4;21202:6;21154:3;;;;;;;;;;;:20;;;;:55;;;;;;:::i;:::-;20987:230;:::o;3473:229::-;3567:1;3547:22;;:8;:22;;;;3539:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3657:8;3628:38;;3649:6;;;;;;;;;;;3628:38;;;;;;;;;;;;3686:8;3677:6;;:17;;;;;;;;;;;;;;;;;;3473:229;:::o;15899:192::-;15985:7;16018:1;16013;:6;;16021:12;16005: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;16005:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16045:9;16061:1;16057;:5;16045:17;;16082:1;16075:8;;;15899:192;;;;;:::o;17943:345::-;18029:7;18128:1;18124;:5;18131:12;18116: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;18116:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18155:9;18171:1;18167;:5;;;;;;18155:17;;18279:1;18272:8;;;17943:345;;;;;:::o;12936:1114::-;13540:27;13548:5;13540:25;;;:27::i;:::-;13532:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13677:12;13691:23;13726:5;13718:19;;13738:4;13718: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;;;13718: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;;13676:67:0;;;;13762:7;13754:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13843:1;13823:10;:17;:21;13819:224;;;13965:10;13954:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;13954:30:0;;;;;;;;;;;;;;;;13946:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13819:224;12936:1114;;;;:::o;11081:204::-;11182:95;11201:5;11231;:18;;;:27;;;;11260:4;11266:2;11270:5;11208:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;11208: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;;;11208:68:0;11182:18;:95::i;:::-;11081:204;;;;:::o;5046:619::-;5106:4;5368:16;5395:19;5417:66;5395:88;;;;5586:7;5574:20;5562:32;;5626:11;5614:8;:23;;:42;;;;;5653:3;5641:15;;:8;:15;;5614:42;5606:51;;;;5046:619;;;:::o
Swarm Source
bzzr://9eb73f6b14ebf62827d355922e966d9d231642ce91532d1f0e190f552e32f812
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.014864 | 2,729.0548 | $40.56 |
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.