More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 524 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Reward | 12610260 | 1319 days ago | IN | 0 ETH | 0.40541282 | ||||
Withdraw | 12499683 | 1336 days ago | IN | 0 ETH | 0.00380857 | ||||
Exit | 12211296 | 1381 days ago | IN | 0 ETH | 0.87688792 | ||||
Exit | 12117244 | 1395 days ago | IN | 0 ETH | 0.01678268 | ||||
Withdraw | 12109857 | 1396 days ago | IN | 0 ETH | 0.0131911 | ||||
Stake | 12102915 | 1397 days ago | IN | 0 ETH | 0.02170072 | ||||
Stake | 12101321 | 1398 days ago | IN | 0 ETH | 0.01490429 | ||||
Stake | 12024874 | 1409 days ago | IN | 0 ETH | 0.0224878 | ||||
Exit | 11946682 | 1421 days ago | IN | 0 ETH | 0.01867582 | ||||
Exit | 11946589 | 1421 days ago | IN | 0 ETH | 0.01375101 | ||||
Get Reward | 11946543 | 1421 days ago | IN | 0 ETH | 0.0100627 | ||||
Exit | 11934923 | 1423 days ago | IN | 0 ETH | 0.01838445 | ||||
Get Reward | 11824519 | 1440 days ago | IN | 0 ETH | 0.01533187 | ||||
Stake | 11728640 | 1455 days ago | IN | 0 ETH | 0.00589505 | ||||
Exit | 11698722 | 1459 days ago | IN | 0 ETH | 0.01532037 | ||||
Exit | 11698663 | 1459 days ago | IN | 0 ETH | 0.00894709 | ||||
Get Reward | 11681358 | 1462 days ago | IN | 0 ETH | 0.00368196 | ||||
Exit | 11639690 | 1469 days ago | IN | 0 ETH | 0.00827046 | ||||
Stake | 11634798 | 1469 days ago | IN | 0 ETH | 0.07452874 | ||||
Withdraw | 11634696 | 1469 days ago | IN | 0 ETH | 0.05416323 | ||||
Stake | 11633924 | 1469 days ago | IN | 0 ETH | 0.01714427 | ||||
Get Reward | 11621033 | 1471 days ago | IN | 0 ETH | 0.00580208 | ||||
Stake | 11596471 | 1475 days ago | IN | 0 ETH | 0.01506521 | ||||
Get Reward | 11596397 | 1475 days ago | IN | 0 ETH | 0.00793166 | ||||
Withdraw | 11596379 | 1475 days ago | IN | 0 ETH | 0.0122668 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
UniswapRewards
Compiler Version
v0.5.5+commit.47a71e8f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-09-30 */ 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: @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/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 { _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); /** * @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 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; } } pragma solidity ^0.5.0; contract LPTokenWrapper { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public uniswapLP = IERC20(0x674eF879898a30d4739edc376556f3E8624486D5); 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); uniswapLP.safeTransferFrom(msg.sender, address(this), amount); } function withdraw(uint256 amount) public { _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); uniswapLP.safeTransfer(msg.sender, amount); } } contract UniswapRewards is LPTokenWrapper, IRewardDistributionRecipient { using SafeERC20 for IERC20; IERC20 public xdna = IERC20(0x8e57c27761EBBd381b0f9d09Bb92CeB51a358AbB); uint256 public constant DURATION = 90 days; uint256 public initreward = 1000000000*1e18; 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 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]); } function stake(uint256 amount) public updateReward(msg.sender) checkhalve { require(amount > 0, "Cannot stake 0"); super.stake(amount); emit Staked(msg.sender, amount); } 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) checkhalve { uint256 reward = earned(msg.sender); if (reward > 0) { rewards[msg.sender] = 0; xdna.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } modifier checkhalve(){ if (block.timestamp >= periodFinish) { initreward = initreward.mul(50).div(100); rewardRate = initreward.div(DURATION); periodFinish = block.timestamp.add(DURATION); emit RewardAdded(initreward); } _; } 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 getEtherFund(uint256 amount) public onlyOwner { msg.sender.transfer(amount); } function getTokenFund(address tokenAddress, uint256 amount) public onlyOwner { IERC20 ierc20Token = IERC20(tokenAddress); ierc20Token.safeTransfer(msg.sender, amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"earned","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"xdna","outputs":[{"name":"","type":"address"}],"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":"rewardDistribution","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"getEtherFund","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"uniswapLP","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","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":"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":"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":false,"inputs":[{"name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"amount","type":"uint256"}],"name":"getTokenFund","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":"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"},{"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
6080604052600080546001600160a01b031990811673674ef879898a30d4739edc376556f3e8624486d517825560058054909116738e57c27761ebbd381b0f9d09bb92ceb51a358abb1790556b033b2e3c9fd0803ce800000060065560078190556008556100726100c3602090811b901c565b600380546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36100c7565b3390565b6114e9806100d66000396000f3fe608060405234801561001057600080fd5b50600436106101c25760003560e01c80637b0a47ee116100f9578063abbf458e11610097578063df136d6511610071578063df136d65146103d9578063e9fad8ee146103e1578063ebe2b12b146103e9578063f2fde38b146103f1576101c2565b8063abbf458e1461039d578063c8f33c91146103c9578063cd3daf9d146103d1576101c2565b80638da5cb5b116100d35780638da5cb5b146103545780638f32d59b1461035c5780639c907b5814610378578063a694fc3a14610380576101c2565b80637b0a47ee1461031e57806380faa57d146103265780638b8763471461032e576101c2565b80632e1a7d4d116101665780635582579f116101405780635582579f146102cb5780636546f16e146102e857806370a08231146102f0578063715018a614610316576101c2565b80632e1a7d4d146102895780633c6b16ab146102a65780633d18b912146102c3576101c2565b80630d68b761116101a25780630d68b76114610249578063101114cf1461027157806318160ddd146102795780631be0528914610281576101c2565b80628cc262146101c7578062c82ef7146101ff5780630700037d14610223575b600080fd5b6101ed600480360360208110156101dd57600080fd5b50356001600160a01b0316610417565b60408051918252519081900360200190f35b61020761049d565b604080516001600160a01b039092168252519081900360200190f35b6101ed6004803603602081101561023957600080fd5b50356001600160a01b03166104ac565b61026f6004803603602081101561025f57600080fd5b50356001600160a01b03166104be565b005b61020761052c565b6101ed61053b565b6101ed610542565b61026f6004803603602081101561029f57600080fd5b5035610549565b61026f600480360360208110156102bc57600080fd5b503561063e565b61026f6107bb565b61026f600480360360208110156102e157600080fd5b5035610918565b610207610991565b6101ed6004803603602081101561030657600080fd5b50356001600160a01b03166109a0565b61026f6109bb565b6101ed610a51565b6101ed610a57565b6101ed6004803603602081101561034457600080fd5b50356001600160a01b0316610a6a565b610207610a7c565b610364610a8b565b604080519115158252519081900360200190f35b6101ed610ab1565b61026f6004803603602081101561039657600080fd5b5035610ab7565b61026f600480360360408110156103b357600080fd5b506001600160a01b038135169060200135610c37565b6101ed610ca3565b6101ed610ca9565b6101ed610cff565b61026f610d05565b6101ed610d20565b61026f6004803603602081101561040757600080fd5b50356001600160a01b0316610d26565b6001600160a01b0381166000908152600c6020908152604080832054600b909252822054610497919061048b90670de0b6b3a76400009061047f9061046a9061045e610ca9565b9063ffffffff610d7e16565b610473886109a0565b9063ffffffff610dc716565b9063ffffffff610e2716565b9063ffffffff610e6916565b92915050565b6005546001600160a01b031681565b600c6020526000908152604090205481565b6104c6610a8b565b151561050a5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020611453833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6001545b90565b6276a70081565b33610552610ca9565b600a5561055d610a57565b6009556001600160a01b038116156105a45761057881610417565b6001600160a01b0382166000908152600c6020908152604080832093909355600a54600b909152919020555b8115156105fb5760408051600160e51b62461bcd02815260206004820152601160248201527f43616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b61060482610ec6565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6004546001600160a01b0316610652610f27565b6001600160a01b03161461069a57604051600160e51b62461bcd0281526004018080602001828103825260218152602001806114736021913960400191505060405180910390fd5b60006106a4610ca9565b600a556106af610a57565b6009556001600160a01b038116156106f6576106ca81610417565b6001600160a01b0382166000908152600c6020908152604080832093909355600a54600b909152919020555b600754421061071a57610712826276a70063ffffffff610e2716565b600855610768565b600754600090610730904263ffffffff610d7e16565b9050600061074960085483610dc790919063ffffffff16565b90506107626276a70061047f868463ffffffff610e6916565b60085550505b426009819055610781906276a70063ffffffff610e6916565b6007556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b336107c4610ca9565b600a556107cf610a57565b6009556001600160a01b03811615610816576107ea81610417565b6001600160a01b0382166000908152600c6020908152604080832093909355600a54600b909152919020555b60075442106108a15761083a606461047f6032600654610dc790919063ffffffff16565b6006819055610852906276a70063ffffffff610e2716565b600855610868426276a70063ffffffff610e6916565b60075560065460408051918252517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15b60006108ac33610417565b9050801561091457336000818152600c60205260408120556005546108dd916001600160a01b039091169083610f2b565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b610920610a8b565b15156109645760408051600160e51b62461bcd0281526020600482018190526024820152600080516020611453833981519152604482015290519081900360640190fd5b604051339082156108fc029083906000818181858888f19350505050158015610914573d6000803e3d6000fd5b6000546001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b6109c3610a8b565b1515610a075760408051600160e51b62461bcd0281526020600482018190526024820152600080516020611453833981519152604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b60085481565b6000610a6542600754610f80565b905090565b600b6020526000908152604090205481565b6003546001600160a01b031690565b6003546000906001600160a01b0316610aa2610f27565b6001600160a01b031614905090565b60065481565b33610ac0610ca9565b600a55610acb610a57565b6009556001600160a01b03811615610b1257610ae681610417565b6001600160a01b0382166000908152600c6020908152604080832093909355600a54600b909152919020555b6007544210610b9d57610b36606461047f6032600654610dc790919063ffffffff16565b6006819055610b4e906276a70063ffffffff610e2716565b600855610b64426276a70063ffffffff610e6916565b60075560065460408051918252517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15b811515610bf45760408051600160e51b62461bcd02815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b610bfd82610f96565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b610c3f610a8b565b1515610c835760408051600160e51b62461bcd0281526020600482018190526024820152600080516020611453833981519152604482015290519081900360640190fd5b81610c9e6001600160a01b038216338463ffffffff610f2b16565b505050565b60095481565b6000610cb361053b565b1515610cc25750600a5461053f565b610a65610cf0610cd061053b565b61047f670de0b6b3a764000061047360085461047360095461045e610a57565b600a549063ffffffff610e6916565b600a5481565b610d16610d11336109a0565b610549565b610d1e6107bb565b565b60075481565b610d2e610a8b565b1515610d725760408051600160e51b62461bcd0281526020600482018190526024820152600080516020611453833981519152604482015290519081900360640190fd5b610d7b81610ff8565b50565b6000610dc083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061109e565b9392505050565b6000821515610dd857506000610497565b828202828482811515610de757fe5b0414610dc057604051600160e51b62461bcd0281526004018080602001828103825260218152602001806114326021913960400191505060405180910390fd5b6000610dc083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611138565b600082820183811015610dc05760408051600160e51b62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600154610ed9908263ffffffff610d7e16565b60015533600090815260026020526040902054610efc908263ffffffff610d7e16565b336000818152600260205260408120929092559054610d7b916001600160a01b039091169083610f2b565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0316600160e01b63a9059cbb02179052610c9e9084906111a5565b6000818310610f8f5781610dc0565b5090919050565b600154610fa9908263ffffffff610e6916565b60015533600090815260026020526040902054610fcc908263ffffffff610e6916565b336000818152600260205260408120929092559054610d7b916001600160a01b03909116903084611372565b6001600160a01b038116151561104257604051600160e51b62461bcd02815260040180806020018281038252602681526020018061140c6026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000818484111561113057604051600160e51b62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110f55781810151838201526020016110dd565b50505050905090810190601f1680156111225780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183151561118d57604051600160e51b62461bcd028152600401808060200182810382528381815181526020019150805190602001908083836000838110156110f55781810151838201526020016110dd565b506000838581151561119b57fe5b0495945050505050565b6111b7826001600160a01b03166113cf565b151561120d5760408051600160e51b62461bcd02815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061124b5780518252601f19909201916020918201910161122c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146112ad576040519150601f19603f3d011682016040523d82523d6000602084013e6112b2565b606091505b509150915081151561130e5760408051600160e51b62461bcd02815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561136c5780806020019051602081101561132a57600080fd5b5051151561136c57604051600160e51b62461bcd02815260040180806020018281038252602a815260200180611494602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b0316600160e01b6323b872dd0217905261136c9085906111a5565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906114035750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657243616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a165627a7a7230582072e41a52a24702d6cb115c419fc9b53877ea26c4661763011fe26533214003990029
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101c25760003560e01c80637b0a47ee116100f9578063abbf458e11610097578063df136d6511610071578063df136d65146103d9578063e9fad8ee146103e1578063ebe2b12b146103e9578063f2fde38b146103f1576101c2565b8063abbf458e1461039d578063c8f33c91146103c9578063cd3daf9d146103d1576101c2565b80638da5cb5b116100d35780638da5cb5b146103545780638f32d59b1461035c5780639c907b5814610378578063a694fc3a14610380576101c2565b80637b0a47ee1461031e57806380faa57d146103265780638b8763471461032e576101c2565b80632e1a7d4d116101665780635582579f116101405780635582579f146102cb5780636546f16e146102e857806370a08231146102f0578063715018a614610316576101c2565b80632e1a7d4d146102895780633c6b16ab146102a65780633d18b912146102c3576101c2565b80630d68b761116101a25780630d68b76114610249578063101114cf1461027157806318160ddd146102795780631be0528914610281576101c2565b80628cc262146101c7578062c82ef7146101ff5780630700037d14610223575b600080fd5b6101ed600480360360208110156101dd57600080fd5b50356001600160a01b0316610417565b60408051918252519081900360200190f35b61020761049d565b604080516001600160a01b039092168252519081900360200190f35b6101ed6004803603602081101561023957600080fd5b50356001600160a01b03166104ac565b61026f6004803603602081101561025f57600080fd5b50356001600160a01b03166104be565b005b61020761052c565b6101ed61053b565b6101ed610542565b61026f6004803603602081101561029f57600080fd5b5035610549565b61026f600480360360208110156102bc57600080fd5b503561063e565b61026f6107bb565b61026f600480360360208110156102e157600080fd5b5035610918565b610207610991565b6101ed6004803603602081101561030657600080fd5b50356001600160a01b03166109a0565b61026f6109bb565b6101ed610a51565b6101ed610a57565b6101ed6004803603602081101561034457600080fd5b50356001600160a01b0316610a6a565b610207610a7c565b610364610a8b565b604080519115158252519081900360200190f35b6101ed610ab1565b61026f6004803603602081101561039657600080fd5b5035610ab7565b61026f600480360360408110156103b357600080fd5b506001600160a01b038135169060200135610c37565b6101ed610ca3565b6101ed610ca9565b6101ed610cff565b61026f610d05565b6101ed610d20565b61026f6004803603602081101561040757600080fd5b50356001600160a01b0316610d26565b6001600160a01b0381166000908152600c6020908152604080832054600b909252822054610497919061048b90670de0b6b3a76400009061047f9061046a9061045e610ca9565b9063ffffffff610d7e16565b610473886109a0565b9063ffffffff610dc716565b9063ffffffff610e2716565b9063ffffffff610e6916565b92915050565b6005546001600160a01b031681565b600c6020526000908152604090205481565b6104c6610a8b565b151561050a5760408051600160e51b62461bcd0281526020600482018190526024820152600080516020611453833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6001545b90565b6276a70081565b33610552610ca9565b600a5561055d610a57565b6009556001600160a01b038116156105a45761057881610417565b6001600160a01b0382166000908152600c6020908152604080832093909355600a54600b909152919020555b8115156105fb5760408051600160e51b62461bcd02815260206004820152601160248201527f43616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b61060482610ec6565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b6004546001600160a01b0316610652610f27565b6001600160a01b03161461069a57604051600160e51b62461bcd0281526004018080602001828103825260218152602001806114736021913960400191505060405180910390fd5b60006106a4610ca9565b600a556106af610a57565b6009556001600160a01b038116156106f6576106ca81610417565b6001600160a01b0382166000908152600c6020908152604080832093909355600a54600b909152919020555b600754421061071a57610712826276a70063ffffffff610e2716565b600855610768565b600754600090610730904263ffffffff610d7e16565b9050600061074960085483610dc790919063ffffffff16565b90506107626276a70061047f868463ffffffff610e6916565b60085550505b426009819055610781906276a70063ffffffff610e6916565b6007556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b336107c4610ca9565b600a556107cf610a57565b6009556001600160a01b03811615610816576107ea81610417565b6001600160a01b0382166000908152600c6020908152604080832093909355600a54600b909152919020555b60075442106108a15761083a606461047f6032600654610dc790919063ffffffff16565b6006819055610852906276a70063ffffffff610e2716565b600855610868426276a70063ffffffff610e6916565b60075560065460408051918252517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15b60006108ac33610417565b9050801561091457336000818152600c60205260408120556005546108dd916001600160a01b039091169083610f2b565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b610920610a8b565b15156109645760408051600160e51b62461bcd0281526020600482018190526024820152600080516020611453833981519152604482015290519081900360640190fd5b604051339082156108fc029083906000818181858888f19350505050158015610914573d6000803e3d6000fd5b6000546001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b6109c3610a8b565b1515610a075760408051600160e51b62461bcd0281526020600482018190526024820152600080516020611453833981519152604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b60085481565b6000610a6542600754610f80565b905090565b600b6020526000908152604090205481565b6003546001600160a01b031690565b6003546000906001600160a01b0316610aa2610f27565b6001600160a01b031614905090565b60065481565b33610ac0610ca9565b600a55610acb610a57565b6009556001600160a01b03811615610b1257610ae681610417565b6001600160a01b0382166000908152600c6020908152604080832093909355600a54600b909152919020555b6007544210610b9d57610b36606461047f6032600654610dc790919063ffffffff16565b6006819055610b4e906276a70063ffffffff610e2716565b600855610b64426276a70063ffffffff610e6916565b60075560065460408051918252517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15b811515610bf45760408051600160e51b62461bcd02815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b610bfd82610f96565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a25050565b610c3f610a8b565b1515610c835760408051600160e51b62461bcd0281526020600482018190526024820152600080516020611453833981519152604482015290519081900360640190fd5b81610c9e6001600160a01b038216338463ffffffff610f2b16565b505050565b60095481565b6000610cb361053b565b1515610cc25750600a5461053f565b610a65610cf0610cd061053b565b61047f670de0b6b3a764000061047360085461047360095461045e610a57565b600a549063ffffffff610e6916565b600a5481565b610d16610d11336109a0565b610549565b610d1e6107bb565b565b60075481565b610d2e610a8b565b1515610d725760408051600160e51b62461bcd0281526020600482018190526024820152600080516020611453833981519152604482015290519081900360640190fd5b610d7b81610ff8565b50565b6000610dc083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061109e565b9392505050565b6000821515610dd857506000610497565b828202828482811515610de757fe5b0414610dc057604051600160e51b62461bcd0281526004018080602001828103825260218152602001806114326021913960400191505060405180910390fd5b6000610dc083836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611138565b600082820183811015610dc05760408051600160e51b62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600154610ed9908263ffffffff610d7e16565b60015533600090815260026020526040902054610efc908263ffffffff610d7e16565b336000818152600260205260408120929092559054610d7b916001600160a01b039091169083610f2b565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0316600160e01b63a9059cbb02179052610c9e9084906111a5565b6000818310610f8f5781610dc0565b5090919050565b600154610fa9908263ffffffff610e6916565b60015533600090815260026020526040902054610fcc908263ffffffff610e6916565b336000818152600260205260408120929092559054610d7b916001600160a01b03909116903084611372565b6001600160a01b038116151561104257604051600160e51b62461bcd02815260040180806020018281038252602681526020018061140c6026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000818484111561113057604051600160e51b62461bcd0281526004018080602001828103825283818151815260200191508051906020019080838360005b838110156110f55781810151838201526020016110dd565b50505050905090810190601f1680156111225780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183151561118d57604051600160e51b62461bcd028152600401808060200182810382528381815181526020019150805190602001908083836000838110156110f55781810151838201526020016110dd565b506000838581151561119b57fe5b0495945050505050565b6111b7826001600160a01b03166113cf565b151561120d5760408051600160e51b62461bcd02815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061124b5780518252601f19909201916020918201910161122c565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146112ad576040519150601f19603f3d011682016040523d82523d6000602084013e6112b2565b606091505b509150915081151561130e5760408051600160e51b62461bcd02815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b80511561136c5780806020019051602081101561132a57600080fd5b5051151561136c57604051600160e51b62461bcd02815260040180806020018281038252602a815260200180611494602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b0316600160e01b6323b872dd0217905261136c9085906111a5565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906114035750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657243616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a165627a7a7230582072e41a52a24702d6cb115c419fc9b53877ea26c4661763011fe26533214003990029
Deployed Bytecode Sourcemap
21300:4018:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;21300:4018:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22985:265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22985:265:0;-1:-1:-1;;;;;22985:265:0;;:::i;:::-;;;;;;;;;;;;;;;;21414:71;;;:::i;:::-;;;;-1:-1:-1;;;;;21414:71:0;;;;;;;;;;;;;;21809:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21809:42:0;-1:-1:-1;;;;;21809:42:0;;:::i;20144:161::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20144:161:0;-1:-1:-1;;;;;20144:161:0;;:::i;:::-;;19888:33;;;:::i;20612:91::-;;;:::i;21492:42::-;;;:::i;23469:203::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23469:203:0;;:::i;24408:590::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24408:590:0;;:::i;23785:296::-;;;:::i;25010:101::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25010:101:0;;:::i;20438:76::-;;;:::i;20711:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20711:110:0;-1:-1:-1;;;;;20711:110:0;;:::i;9229:140::-;;;:::i;21631:29::-;;;:::i;22418:131::-;;;:::i;21745:57::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21745:57:0;-1:-1:-1;;;;;21745:57:0;;:::i;8418:79::-;;;:::i;8784:94::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;21543:43;;;:::i;23258:203::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23258:203:0;;:::i;25123:192::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;25123:192:0;;;;;;;;:::i;21667:29::-;;;:::i;22557:420::-;;;:::i;21703:35::-;;;:::i;23680:97::-;;;:::i;21593:31::-;;;:::i;9524:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;9524:109:0;-1:-1:-1;;;;;9524:109:0;;:::i;22985:265::-;-1:-1:-1;;;;;23225:16:0;;23039:7;23225:16;;;:7;:16;;;;;;;;;23141:22;:31;;;;;;23079:163;;23225:16;23079:123;;23197:4;;23079:95;;23120:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;23079:18;23089:7;23079:9;:18::i;:::-;:40;:95;:40;:95;:::i;:::-;:117;:123;:117;:123;:::i;:::-;:145;:163;:145;:163;:::i;:::-;23059:183;22985:265;-1:-1:-1;;22985:265:0:o;21414:71::-;;;-1:-1:-1;;;;;21414:71:0;;:::o;21809:42::-;;;;;;;;;;;;;:::o;20144:161::-;8630:9;:7;:9::i;:::-;8622:54;;;;;;;-1:-1:-1;;;;;8622:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;8622:54:0;;;;;;;;;;;;;;;20257:18;:40;;-1:-1:-1;;;;;;20257:40:0;-1:-1:-1;;;;;20257:40:0;;;;;;;;;;20144:161::o;19888:33::-;;;-1:-1:-1;;;;;19888:33:0;;:::o;20612:91::-;20683:12;;20612:91;;:::o;21492:42::-;21527:7;21492:42;:::o;23469:203::-;23523:10;22153:16;:14;:16::i;:::-;22130:20;:39;22197:26;:24;:26::i;:::-;22180:14;:43;-1:-1:-1;;;;;22238:21:0;;;22234:157;;22295:15;22302:7;22295:6;:15::i;:::-;-1:-1:-1;;;;;22276:16:0;;;;;;:7;:16;;;;;;;;:34;;;;22359:20;;22325:22;:31;;;;;;:54;22234:157;23554:10;;;23546:40;;;;;-1:-1:-1;;;;;23546:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23597:22;23612:6;23597:14;:22::i;:::-;23635:29;;;;;;;;23645:10;;23635:29;;;;;;;;;;23469:203;;:::o;24408:590::-;20060:18;;-1:-1:-1;;;;;20060:18:0;20044:12;:10;:12::i;:::-;-1:-1:-1;;;;;20044:34:0;;20036:80;;;;-1:-1:-1;;;;;20036:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24532:1;22153:16;:14;:16::i;:::-;22130:20;:39;22197:26;:24;:26::i;:::-;22180:14;:43;-1:-1:-1;;;;;22238:21:0;;;22234:157;;22295:15;22302:7;22295:6;:15::i;:::-;-1:-1:-1;;;;;22276:16:0;;;;;;:7;:16;;;;;;;;:34;;;;22359:20;;22325:22;:31;;;;;;:54;22234:157;24575:12;;24556:15;:31;24552:304;;24617:20;:6;21527:7;24617:20;:10;:20;:::i;:::-;24604:10;:33;24552:304;;;24690:12;;24670:17;;24690:33;;24707:15;24690:33;:16;:33;:::i;:::-;24670:53;;24738:16;24757:25;24771:10;;24757:9;:13;;:25;;;;:::i;:::-;24738:44;-1:-1:-1;24810:34:0;21527:7;24810:20;:6;24738:44;24810:20;:10;:20;:::i;:34::-;24797:10;:47;-1:-1:-1;;24552:304:0;24885:15;24868:14;:32;;;24926:29;;21527:7;24926:29;:19;:29;:::i;:::-;24911:12;:44;24971:19;;;;;;;;;;;;;;;;;20127:1;24408:590;:::o;23785:296::-;23826:10;22153:16;:14;:16::i;:::-;22130:20;:39;22197:26;:24;:26::i;:::-;22180:14;:43;-1:-1:-1;;;;;22238:21:0;;;22234:157;;22295:15;22302:7;22295:6;:15::i;:::-;-1:-1:-1;;;;;22276:16:0;;;;;;:7;:16;;;;;;;;:34;;;;22359:20;;22325:22;:31;;;;;;:54;22234:157;24144:12;;24125:15;:31;24121:260;;24186:27;24209:3;24186:18;24201:2;24186:10;;:14;;:18;;;;:::i;:27::-;24173:10;:40;;;24243:24;;21527:7;24243:24;:14;:24;:::i;:::-;24230:10;:37;24297:29;:15;21527:7;24297:29;:19;:29;:::i;:::-;24282:12;:44;24358:10;;24346:23;;;;;;;;;;;;;;;;24121:260;23860:14;23877:18;23884:10;23877:6;:18::i;:::-;23860:35;-1:-1:-1;23910:10:0;;23906:168;;23945:10;23959:1;23937:19;;;:7;:19;;;;;:23;23975:4;;:37;;-1:-1:-1;;;;;23975:4:0;;;;24005:6;23975:17;:37::i;:::-;24032:30;;;;;;;;24043:10;;24032:30;;;;;;;;;;23906:168;24391:1;23785:296;:::o;25010:101::-;8630:9;:7;:9::i;:::-;8622:54;;;;;;;-1:-1:-1;;;;;8622:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;8622:54:0;;;;;;;;;;;;;;;25076:27;;:10;;:27;;;;;25096:6;;25076:27;;;;25096:6;25076:10;:27;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;20438:76:0;;;-1:-1:-1;;;;;20438:76:0;;:::o;20711:110::-;-1:-1:-1;;;;;20795:18:0;20768:7;20795:18;;;:9;:18;;;;;;;20711:110::o;9229:140::-;8630:9;:7;:9::i;:::-;8622:54;;;;;;;-1:-1:-1;;;;;8622:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;8622:54:0;;;;;;;;;;;;;;;9312:6;;9291:40;;9328:1;;-1:-1:-1;;;;;9312:6:0;;9291:40;;9328:1;;9291:40;9342:6;:19;;-1:-1:-1;;;;;;9342:19:0;;;9229:140::o;21631:29::-;;;;:::o;22418:131::-;22475:7;22502:39;22511:15;22528:12;;22502:8;:39::i;:::-;22495:46;;22418:131;:::o;21745:57::-;;;;;;;;;;;;;:::o;8418:79::-;8483:6;;-1:-1:-1;;;;;8483:6:0;8418:79;:::o;8784:94::-;8864:6;;8824:4;;-1:-1:-1;;;;;8864:6:0;8848:12;:10;:12::i;:::-;-1:-1:-1;;;;;8848:22:0;;8841:29;;8784:94;:::o;21543:43::-;;;;:::o;23258:203::-;23309:10;22153:16;:14;:16::i;:::-;22130:20;:39;22197:26;:24;:26::i;:::-;22180:14;:43;-1:-1:-1;;;;;22238:21:0;;;22234:157;;22295:15;22302:7;22295:6;:15::i;:::-;-1:-1:-1;;;;;22276:16:0;;;;;;:7;:16;;;;;;;;:34;;;;22359:20;;22325:22;:31;;;;;;:54;22234:157;24144:12;;24125:15;:31;24121:260;;24186:27;24209:3;24186:18;24201:2;24186:10;;:14;;:18;;;;:::i;:27::-;24173:10;:40;;;24243:24;;21527:7;24243:24;:14;:24;:::i;:::-;24230:10;:37;24297:29;:15;21527:7;24297:29;:19;:29;:::i;:::-;24282:12;:44;24358:10;;24346:23;;;;;;;;;;;;;;;;24121:260;23352:10;;;23344:37;;;;;-1:-1:-1;;;;;23344:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23392:19;23404:6;23392:11;:19::i;:::-;23427:26;;;;;;;;23434:10;;23427:26;;;;;;;;;;23258:203;;:::o;25123:192::-;8630:9;:7;:9::i;:::-;8622:54;;;;;;;-1:-1:-1;;;;;8622:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;8622:54:0;;;;;;;;;;;;;;;25239:12;25263:44;-1:-1:-1;;;;;25263:24:0;;25288:10;25300:6;25263:44;:24;:44;:::i;:::-;8687:1;25123:192;;:::o;21667:29::-;;;;:::o;22557:420::-;22604:7;22628:13;:11;:13::i;:::-;:18;22624:78;;;-1:-1:-1;22670:20:0;;22663:27;;22624:78;22732:237;22775:179;22940:13;:11;:13::i;:::-;22775:138;22908:4;22775:106;22870:10;;22775:68;22828:14;;22775:26;:24;:26::i;:179::-;22732:20;;;:237;:24;:237;:::i;21703:35::-;;;;:::o;23680:97::-;23716:31;23725:21;23735:10;23725:9;:21::i;:::-;23716:8;:31::i;:::-;23758:11;:9;:11::i;:::-;23680:97::o;21593:31::-;;;;:::o;9524:109::-;8630:9;:7;:9::i;:::-;8622:54;;;;;;;-1:-1:-1;;;;;8622:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;8622:54:0;;;;;;;;;;;;;;;9597:28;9616:8;9597:18;:28::i;:::-;9524:109;:::o;2168:136::-;2226:7;2253:43;2257:1;2260;2253:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2246:50;2168:136;-1:-1:-1;;;2168:136:0:o;3084:471::-;3142:7;3387:6;;3383:47;;;-1:-1:-1;3417:1:0;3410:8;;3383:47;3454:5;;;3458:1;3454;:5;3478;;;;;;;;:10;3470:56;;;;-1:-1:-1;;;;;3470:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4023:132;4081:7;4108:39;4112:1;4115;4108:39;;;;;;;;;;;;;;;;;:3;:39::i;1712:181::-;1770:7;1802:5;;;1826:6;;;;1818:46;;;;;-1:-1:-1;;;;;1818:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;21073:220;21140:12;;:24;;21157:6;21140:24;:16;:24;:::i;:::-;21125:12;:39;21209:10;21199:21;;;;:9;:21;;;;;;:33;;21225:6;21199:33;:25;:33;:::i;:::-;21185:10;21175:21;;;;:9;:21;;;;;:57;;;;21243:9;;:42;;-1:-1:-1;;;;;21243:9:0;;;;21278:6;21243:22;:42::i;7167:98::-;7247:10;7167:98;:::o;16645:176::-;16754:58;;;-1:-1:-1;;;;;16754:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;16754:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;179:29;160:49;;16728:85:0;;16747:5;;16728:18;:85::i;374:106::-;432:7;463:1;459;:5;:13;;471:1;459:13;;;-1:-1:-1;467:1:0;;374:106;-1:-1:-1;374:106:0:o;20829:236::-;20893:12;;:24;;20910:6;20893:24;:16;:24;:::i;:::-;20878:12;:39;20962:10;20952:21;;;;:9;:21;;;;;;:33;;20978:6;20952:33;:25;:33;:::i;:::-;20938:10;20928:21;;;;:9;:21;;;;;:57;;;;20996:9;;:61;;-1:-1:-1;;;;;20996:9:0;;;;21043:4;21050:6;20996:26;:61::i;9739:229::-;-1:-1:-1;;;;;9813:22:0;;;;9805:73;;;;-1:-1:-1;;;;;9805:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9915:6;;9894:38;;-1:-1:-1;;;;;9894:38:0;;;;9915:6;;9894:38;;9915:6;;9894:38;9943:6;:17;;-1:-1:-1;;;;;;9943:17:0;-1:-1:-1;;;;;9943:17:0;;;;;;;;;;9739:229::o;2641:192::-;2727:7;2763:12;2755:6;;;;2747:29;;;;-1:-1:-1;;;;;2747:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;2747:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2799:5:0;;;2641:192::o;4685:345::-;4771:7;4873:12;4866:5;;;4858:28;;;;-1:-1:-1;;;;;4858:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4858:28:0;;4897:9;4913:1;4909;:5;;;;;;;;;4685:345;-1:-1:-1;;;;;4685:345:0:o;18684:1114::-;19288:27;19296:5;-1:-1:-1;;;;;19288:25:0;;:27::i;:::-;19280:71;;;;;;;-1:-1:-1;;;;;19280:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;19425:12;19439:23;19474:5;-1:-1:-1;;;;;19466:19:0;19486:4;19466:25;;;;;;;;;;;;;36:153:-1;66:2;58:11;;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;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;;;19466: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;;19424:67:0;;;;19510:7;19502:52;;;;;;;-1:-1:-1;;;;;19502:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19571:17;;:21;19567:224;;19713:10;19702:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19702:30:0;19694:85;;;;;;-1:-1:-1;;;;;19694:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18684:1114;;;;:::o;16829:204::-;16956:68;;;-1:-1:-1;;;;;16956:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;16956:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;179:29;160:49;;16930:95:0;;16949:5;;16930:18;:95::i;13483:810::-;13543:4;14202:20;;14045:66;14242:15;;;;;:42;;;14273:11;14261:8;:23;;14242:42;14234:51;13483:810;-1:-1:-1;;;;13483:810:0:o
Swarm Source
bzzr://72e41a52a24702d6cb115c419fc9b53877ea26c4661763011fe2653321400399
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.000009 | 45,217.4642 | $0.4123 |
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.