More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 773 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Stake | 20772677 | 61 days ago | IN | 0 ETH | 0.00251158 | ||||
Unstake | 12939385 | 1205 days ago | IN | 0 ETH | 0.00168344 | ||||
Unstake | 12937398 | 1205 days ago | IN | 0 ETH | 0.0035046 | ||||
Claim Reward | 12907090 | 1210 days ago | IN | 0 ETH | 0.00115065 | ||||
Unstake | 12904939 | 1210 days ago | IN | 0 ETH | 0.00227799 | ||||
Unstake | 12902165 | 1210 days ago | IN | 0 ETH | 0.00345599 | ||||
Claim Reward | 12902097 | 1210 days ago | IN | 0 ETH | 0.00229414 | ||||
Claim Reward | 12879416 | 1214 days ago | IN | 0 ETH | 0.00111116 | ||||
Unstake | 12879343 | 1214 days ago | IN | 0 ETH | 0.00174138 | ||||
Unstake | 12804380 | 1226 days ago | IN | 0 ETH | 0.0007703 | ||||
Stake | 12804364 | 1226 days ago | IN | 0 ETH | 0.00096032 | ||||
Claim Reward | 12804347 | 1226 days ago | IN | 0 ETH | 0.00082647 | ||||
Unstake | 12804338 | 1226 days ago | IN | 0 ETH | 0.0011123 | ||||
Unstake | 12803917 | 1226 days ago | IN | 0 ETH | 0.00043807 | ||||
Claim Reward | 12803686 | 1226 days ago | IN | 0 ETH | 0.00047423 | ||||
Unstake | 12802085 | 1226 days ago | IN | 0 ETH | 0.00136145 | ||||
Unstake | 12802062 | 1226 days ago | IN | 0 ETH | 0.00125658 | ||||
Unstake | 12801979 | 1226 days ago | IN | 0 ETH | 0.0015709 | ||||
Unstake | 12801863 | 1226 days ago | IN | 0 ETH | 0.00180536 | ||||
Claim Reward | 12801860 | 1226 days ago | IN | 0 ETH | 0.00189694 | ||||
Unstake | 12798811 | 1227 days ago | IN | 0 ETH | 0.00078853 | ||||
Stake | 12796605 | 1227 days ago | IN | 0 ETH | 0.00180883 | ||||
Unstake | 12772765 | 1231 days ago | IN | 0 ETH | 0.00338669 | ||||
Claim Reward | 12769920 | 1231 days ago | IN | 0 ETH | 0.00077747 | ||||
Stake | 12766490 | 1232 days ago | IN | 0 ETH | 0.00078207 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
RoomLPProgram
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-02-21 */ 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); } /** * @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; } } /** * @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"); } } /** * @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"); } } } contract RoomLPProgram { using SafeMath for uint256; using SafeERC20 for IERC20; // TODO: Please do not forget to call the approve for this contract from the wallet. address public roomTokenRewardsReservoirAddress = 0x86181Ff88BDEC75d5f007cEfEE31087C8327dF77; address public owner; // This is ROOM/ETH LP ERC20 address. IERC20 public constant roomLPToken = IERC20(0xBE55c87dFf2a9f5c95cB5C07572C51fd91fe0732); // This is the correct CRC address of the ROOM token IERC20 public constant roomToken = IERC20(0xAd4f86a25bbc20FfB751f2FAC312A0B4d8F88c64); // total Room LP staked uint256 private _totalStaked; // last updated block number uint256 public lastUpdateBlock; uint256 private _accRewardPerToken; // accumulative reward per token uint256 private _rewardPerBlock; // reward per block uint256 public finishBlock; // finish rewarding block number uint256 public endTime; mapping(address => uint256) private _rewards; // rewards balances mapping(address => uint256) private _prevAccRewardPerToken; // previous accumulative reward per token (for a user) mapping(address => uint256) private _balances; // balances per user event Staked(address indexed user, uint256 amount); event Unstaked(address indexed user, uint256 amount); event ClaimReward(address indexed user, uint256 reward); event FarmingParametersChanged(uint256 rewardPerBlock, uint256 rewardBlockCount, address indexed roomTokenRewardsReservoirAdd); event RewardTransferFailed(TransferRewardState failure); enum TransferRewardState { Succeeded, RewardWalletEmpty } constructor () public { owner = msg.sender; uint256 rewardBlockCount = 1036800; // 5760 * 30 * 6; six months = 1,036,800 blocks uint256 totalRewards = 240000e18; // total rewards 240,000 Room in six months _rewardPerBlock = totalRewards * (1e18) / rewardBlockCount; // *(1e18) for math precisio finishBlock = blockNumber() + rewardBlockCount; endTime = ((finishBlock-blockNumber()) * 15) + (block.timestamp); lastUpdateBlock = blockNumber(); } function changeFarmingParameters(uint256 rewardPerBlock, uint256 rewardBlockCount, address roomTokenRewardsReservoirAdd) external { require(msg.sender == owner, "can be called by owner only"); updateReward(address(0)); _rewardPerBlock = rewardPerBlock.mul(1e18); // for math precision finishBlock = blockNumber().add(rewardBlockCount); endTime = finishBlock.sub(blockNumber()).mul(15).add(block.timestamp); roomTokenRewardsReservoirAddress = roomTokenRewardsReservoirAdd; emit FarmingParametersChanged(_rewardPerBlock, rewardBlockCount, roomTokenRewardsReservoirAddress); } function updateReward(address account) public { // reward algorithm // in general: rewards = (reward per token ber block) user balances uint256 cnBlock = blockNumber(); // update accRewardPerToken, in case totalStaked is zero; do not increment accRewardPerToken if (totalStaked() > 0) { uint256 lastRewardBlock = cnBlock < finishBlock ? cnBlock : finishBlock; if (lastRewardBlock > lastUpdateBlock) { _accRewardPerToken = lastRewardBlock.sub(lastUpdateBlock) .mul(_rewardPerBlock) .div(totalStaked()) .add(_accRewardPerToken); } } lastUpdateBlock = cnBlock; if (account != address(0)) { uint256 accRewardPerTokenForUser = _accRewardPerToken.sub(_prevAccRewardPerToken[account]); if (accRewardPerTokenForUser > 0) { _rewards[account] = _balances[account] .mul(accRewardPerTokenForUser) .div(1e18) .add(_rewards[account]); _prevAccRewardPerToken[account] = _accRewardPerToken; } } } function stake(uint256 amount) external { updateReward(msg.sender); _totalStaked = _totalStaked.add(amount); _balances[msg.sender] = _balances[msg.sender].add(amount); // Transfer from owner of Room Token to this address. roomLPToken.safeTransferFrom(msg.sender, address(this), amount); emit Staked(msg.sender, amount); } function unstake(uint256 amount, bool claim) external returns(uint256 reward, TransferRewardState reason) { updateReward(msg.sender); _totalStaked = _totalStaked.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); // Send Room token staked to the original owner. roomLPToken.safeTransfer(msg.sender, amount); if (claim) { (reward, reason) = _executeRewardTransfer(msg.sender); } emit Unstaked(msg.sender, amount); } function claimReward() external returns (uint256 reward, TransferRewardState reason) { updateReward(msg.sender); return _executeRewardTransfer(msg.sender); } function _executeRewardTransfer(address account) internal returns(uint256 reward, TransferRewardState reason) { reward = _rewards[account]; if (reward > 0) { uint256 walletBalanace = roomToken.balanceOf(roomTokenRewardsReservoirAddress); if (walletBalanace < reward) { // This fails, and we send reason 1 for the UI // to display a meaningful message for the user. // 1 means the wallet is empty. reason = TransferRewardState.RewardWalletEmpty; emit RewardTransferFailed(reason); } else { // We will transfer and then empty the rewards // for the sender. _rewards[msg.sender] = 0; roomToken.transferFrom(roomTokenRewardsReservoirAddress, msg.sender, reward); emit ClaimReward(msg.sender, reward); } } } function rewards(address account) external view returns (uint256 reward) { // read version of update uint256 cnBlock = blockNumber(); uint256 accRewardPerToken = _accRewardPerToken; // update accRewardPerToken, in case totalStaked is zero; do not increment accRewardPerToken if (totalStaked() > 0) { uint256 lastRewardBlock = cnBlock < finishBlock ? cnBlock : finishBlock; if (lastRewardBlock > lastUpdateBlock) { accRewardPerToken = lastRewardBlock.sub(lastUpdateBlock) .mul(_rewardPerBlock).div(totalStaked()) .add(accRewardPerToken); } } reward = _balances[account] .mul(accRewardPerToken.sub(_prevAccRewardPerToken[account])) .div(1e18) .add(_rewards[account]); } function info() external view returns ( uint256 cBlockNumber, uint256 rewardPerBlock, uint256 rewardFinishBlock, uint256 rewardEndTime, uint256 walletBalance) { cBlockNumber = blockNumber(); rewardFinishBlock = finishBlock; rewardPerBlock = _rewardPerBlock.div(1e18); rewardEndTime = endTime; walletBalance = roomToken.balanceOf(roomTokenRewardsReservoirAddress); } // expected reward, // please note this is only an estimation, because total balance may change during the program function expectedRewardsToday(uint256 amount) external view returns (uint256 reward) { uint256 cnBlock = blockNumber(); uint256 prevAccRewardPerToken = _accRewardPerToken; uint256 accRewardPerToken = _accRewardPerToken; // update accRewardPerToken, in case totalStaked is zero do; not increment accRewardPerToken uint256 lastRewardBlock = cnBlock < finishBlock ? cnBlock : finishBlock; if (lastRewardBlock > lastUpdateBlock) { accRewardPerToken = lastRewardBlock.sub(lastUpdateBlock) .mul(_rewardPerBlock).div(totalStaked().add(amount)) .add(accRewardPerToken); } uint256 rewardsPerBlock = amount .mul(accRewardPerToken.sub(prevAccRewardPerToken)) .div(1e18); reward = rewardsPerBlock.mul(5760); // 5760 blocks per day } function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function totalStaked() public view returns (uint256) { return _totalStaked; } function blockNumber() public view returns (uint256) { return block.number; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"ClaimReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rewardPerBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"rewardBlockCount","type":"uint256"},{"indexed":true,"internalType":"address","name":"roomTokenRewardsReservoirAdd","type":"address"}],"name":"FarmingParametersChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum RoomLPProgram.TransferRewardState","name":"failure","type":"uint8"}],"name":"RewardTransferFailed","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":"Unstaked","type":"event"},{"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":"blockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"rewardPerBlock","type":"uint256"},{"internalType":"uint256","name":"rewardBlockCount","type":"uint256"},{"internalType":"address","name":"roomTokenRewardsReservoirAdd","type":"address"}],"name":"changeFarmingParameters","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimReward","outputs":[{"internalType":"uint256","name":"reward","type":"uint256"},{"internalType":"enum RoomLPProgram.TransferRewardState","name":"reason","type":"uint8"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"expectedRewardsToday","outputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"finishBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"info","outputs":[{"internalType":"uint256","name":"cBlockNumber","type":"uint256"},{"internalType":"uint256","name":"rewardPerBlock","type":"uint256"},{"internalType":"uint256","name":"rewardFinishBlock","type":"uint256"},{"internalType":"uint256","name":"rewardEndTime","type":"uint256"},{"internalType":"uint256","name":"walletBalance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdateBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"roomLPToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"roomToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"roomTokenRewardsReservoirAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"claim","type":"bool"}],"name":"unstake","outputs":[{"internalType":"uint256","name":"reward","type":"uint256"},{"internalType":"enum RoomLPProgram.TransferRewardState","name":"reason","type":"uint8"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"updateReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600080546001600160a01b0319167386181ff88bdec75d5f007cefee31087c8327df7717905534801561003657600080fd5b50600180546001600160a01b03191633179055620fd2006932d26d12e980b6000000817102c14beeaa50af71f8196f0118000000000004600555816100826001600160e01b036100b616565b01600655426100986001600160e01b036100b616565b60065403600f02016007556100ab6100b6565b600355506100ba9050565b4390565b611105806100c96000396000f3fe608060405234801561001057600080fd5b50600436106101165760003560e01c80639ae17af4116100a2578063b3d2739d11610071578063b3d2739d14610295578063b515afb41461029d578063b88a802f146102a5578063d523e0c6146102ad578063ef0b7569146102df57610116565b80639ae17af4146102185780639ebea88c14610220578063a218141b14610270578063a694fc3a1461027857610116565b806357e871e7116100e957806357e871e714610196578063632447c91461019e57806370a08231146101c6578063817b1cd2146101ec5780638da5cb5b146101f457610116565b80630700037d1461011b5780633197cbb614610153578063370158ea1461015b5780634ed474d71461018e575b600080fd5b6101416004803603602081101561013157600080fd5b50356001600160a01b03166102fc565b60408051918252519081900360200190f35b61014161040b565b610163610411565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b6101416104e4565b6101416104ea565b6101c4600480360360208110156101b457600080fd5b50356001600160a01b03166104ee565b005b610141600480360360208110156101dc57600080fd5b50356001600160a01b0316610603565b61014161061e565b6101fc610624565b604080516001600160a01b039092168252519081900360200190f35b6101fc610633565b6102456004803603604081101561023657600080fd5b5080359060200135151561064b565b6040518083815260200182600181111561025b57fe5b60ff1681526020019250505060405180910390f35b610141610718565b6101c46004803603602081101561028e57600080fd5b503561071e565b6101fc6107d0565b6101fc6107e8565b6102456107f7565b6101c4600480360360608110156102c357600080fd5b50803590602081013590604001356001600160a01b0316610814565b610141600480360360208110156102f557600080fd5b5035610936565b6000806103076104ea565b600454909150600061031761061e565b1115610391576000600654831061033057600654610332565b825b905060035481111561038f5761038c8261038061034d61061e565b610374600554610368600354886109cf90919063ffffffff16565b9063ffffffff610a1a16565b9063ffffffff610a7316565b9063ffffffff610ab516565b91505b505b6001600160a01b038416600090815260086020908152604080832054600990925290912054610403919061038090670de0b6b3a764000090610374906103de90879063ffffffff6109cf16565b6001600160a01b038a166000908152600a60205260409020549063ffffffff610a1a16565b949350505050565b60075481565b60008060008060006104216104ea565b600654600554919650935061044490670de0b6b3a764000063ffffffff610a7316565b600754600054604080516370a0823160e01b81526001600160a01b0390921660048301525192965090935073ad4f86a25bbc20ffb751f2fac312a0b4d8f88c64916370a0823191602480820192602092909190829003018186803b1580156104ab57600080fd5b505afa1580156104bf573d6000803e3d6000fd5b505050506040513d60208110156104d557600080fd5b50519495939492939192919050565b60065481565b4390565b60006104f86104ea565b9050600061050461061e565b1115610542576000600654821061051d5760065461051f565b815b90506003548111156105405761053c60045461038061034d61061e565b6004555b505b60038190556001600160a01b038216156105ff576001600160a01b0382166000908152600960205260408120546004546105819163ffffffff6109cf16565b905080156105fd576001600160a01b038316600090815260086020908152604080832054600a909252909120546105d1919061038090670de0b6b3a764000090610374908663ffffffff610a1a16565b6001600160a01b0384166000908152600860209081526040808320939093556004546009909152919020555b505b5050565b6001600160a01b03166000908152600a602052604090205490565b60025490565b6001546001600160a01b031681565b73ad4f86a25bbc20ffb751f2fac312a0b4d8f88c6481565b600080610657336104ee565b60025461066a908563ffffffff6109cf16565b600255336000908152600a602052604090205461068d908563ffffffff6109cf16565b336000818152600a60205260409020919091556106c69073be55c87dff2a9f5c95cb5c07572c51fd91fe0732908663ffffffff610b0f16565b82156106db576106d533610b61565b90925090505b60408051858152905133917f0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f75919081900360200190a29250929050565b60035481565b610727336104ee565b60025461073a908263ffffffff610ab516565b600255336000908152600a602052604090205461075d908263ffffffff610ab516565b336000818152600a60205260409020919091556107979073be55c87dff2a9f5c95cb5c07572c51fd91fe073290308463ffffffff610d3a16565b60408051828152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250565b73be55c87dff2a9f5c95cb5c07572c51fd91fe073281565b6000546001600160a01b031681565b600080610803336104ee565b61080c33610b61565b915091509091565b6001546001600160a01b03163314610873576040805162461bcd60e51b815260206004820152601b60248201527f63616e2062652063616c6c6564206279206f776e6572206f6e6c790000000000604482015290519081900360640190fd5b61087d60006104ee565b61089583670de0b6b3a764000063ffffffff610a1a16565b6005556108a4826103806104ea565b6006556108ca42610380600f6103686108bb6104ea565b6006549063ffffffff6109cf16565b600755600080546001600160a01b0319166001600160a01b0383811691909117918290556005546040805191825260208201869052805193909216927fbc81b9ebba68b9b26f41cc8eb0da5ad16f195a95eb1556cc35c01e759500a609929181900390910190a2505050565b6000806109416104ea565b600454600654919250908190600090841061095e57600654610960565b835b90506003548111156109825761097f8261038061034d8961038061061e565b91505b60006109b0670de0b6b3a76400006103746109a3868863ffffffff6109cf16565b8a9063ffffffff610a1a16565b90506109c48161168063ffffffff610a1a16565b979650505050505050565b6000610a1183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610d9a565b90505b92915050565b600082610a2957506000610a14565b82820282848281610a3657fe5b0414610a115760405162461bcd60e51b81526004018080602001828103825260218152602001806110866021913960400191505060405180910390fd5b6000610a1183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610e31565b600082820183811015610a11576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526105fd908490610e96565b6001600160a01b038116600090815260086020526040812054908115610d355760008054604080516370a0823160e01b81526001600160a01b0390921660048301525173ad4f86a25bbc20ffb751f2fac312a0b4d8f88c64916370a08231916024808301926020929190829003018186803b158015610bdf57600080fd5b505afa158015610bf3573d6000803e3d6000fd5b505050506040513d6020811015610c0957600080fd5b5051905082811015610c535760408051600180825291519193507f814cda5d0830616f562dffbb958c863b72f75fd9f05482cad04f70817f1bce75919081900360200190a1610d33565b336000818152600860209081526040808320839055825481516323b872dd60e01b81526001600160a01b0390911660048201526024810194909452604484018790525173ad4f86a25bbc20ffb751f2fac312a0b4d8f88c64936323b872dd9360648083019493928390030190829087803b158015610cd057600080fd5b505af1158015610ce4573d6000803e3d6000fd5b505050506040513d6020811015610cfa57600080fd5b505060408051848152905133917fba8de60c3403ec381d1d484652ea1980e3c3e56359195c92525bff4ce47ad98e919081900360200190a25b505b915091565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610d94908590610e96565b50505050565b60008184841115610e295760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610dee578181015183820152602001610dd6565b50505050905090810190601f168015610e1b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183610e805760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610dee578181015183820152602001610dd6565b506000838581610e8c57fe5b0495945050505050565b610ea8826001600160a01b031661104e565b610ef9576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310610f375780518252601f199092019160209182019101610f18565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610f99576040519150601f19603f3d011682016040523d82523d6000602084013e610f9e565b606091505b509150915081610ff5576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610d945780806020019051602081101561101157600080fd5b5051610d945760405162461bcd60e51b815260040180806020018281038252602a8152602001806110a7602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708115801590610403575014159291505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820eac67850e17e8ed6deee146aef9fbf5c16d998f4cd3b99a297dd0624f0f0004c64736f6c63430005110032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101165760003560e01c80639ae17af4116100a2578063b3d2739d11610071578063b3d2739d14610295578063b515afb41461029d578063b88a802f146102a5578063d523e0c6146102ad578063ef0b7569146102df57610116565b80639ae17af4146102185780639ebea88c14610220578063a218141b14610270578063a694fc3a1461027857610116565b806357e871e7116100e957806357e871e714610196578063632447c91461019e57806370a08231146101c6578063817b1cd2146101ec5780638da5cb5b146101f457610116565b80630700037d1461011b5780633197cbb614610153578063370158ea1461015b5780634ed474d71461018e575b600080fd5b6101416004803603602081101561013157600080fd5b50356001600160a01b03166102fc565b60408051918252519081900360200190f35b61014161040b565b610163610411565b6040805195865260208601949094528484019290925260608401526080830152519081900360a00190f35b6101416104e4565b6101416104ea565b6101c4600480360360208110156101b457600080fd5b50356001600160a01b03166104ee565b005b610141600480360360208110156101dc57600080fd5b50356001600160a01b0316610603565b61014161061e565b6101fc610624565b604080516001600160a01b039092168252519081900360200190f35b6101fc610633565b6102456004803603604081101561023657600080fd5b5080359060200135151561064b565b6040518083815260200182600181111561025b57fe5b60ff1681526020019250505060405180910390f35b610141610718565b6101c46004803603602081101561028e57600080fd5b503561071e565b6101fc6107d0565b6101fc6107e8565b6102456107f7565b6101c4600480360360608110156102c357600080fd5b50803590602081013590604001356001600160a01b0316610814565b610141600480360360208110156102f557600080fd5b5035610936565b6000806103076104ea565b600454909150600061031761061e565b1115610391576000600654831061033057600654610332565b825b905060035481111561038f5761038c8261038061034d61061e565b610374600554610368600354886109cf90919063ffffffff16565b9063ffffffff610a1a16565b9063ffffffff610a7316565b9063ffffffff610ab516565b91505b505b6001600160a01b038416600090815260086020908152604080832054600990925290912054610403919061038090670de0b6b3a764000090610374906103de90879063ffffffff6109cf16565b6001600160a01b038a166000908152600a60205260409020549063ffffffff610a1a16565b949350505050565b60075481565b60008060008060006104216104ea565b600654600554919650935061044490670de0b6b3a764000063ffffffff610a7316565b600754600054604080516370a0823160e01b81526001600160a01b0390921660048301525192965090935073ad4f86a25bbc20ffb751f2fac312a0b4d8f88c64916370a0823191602480820192602092909190829003018186803b1580156104ab57600080fd5b505afa1580156104bf573d6000803e3d6000fd5b505050506040513d60208110156104d557600080fd5b50519495939492939192919050565b60065481565b4390565b60006104f86104ea565b9050600061050461061e565b1115610542576000600654821061051d5760065461051f565b815b90506003548111156105405761053c60045461038061034d61061e565b6004555b505b60038190556001600160a01b038216156105ff576001600160a01b0382166000908152600960205260408120546004546105819163ffffffff6109cf16565b905080156105fd576001600160a01b038316600090815260086020908152604080832054600a909252909120546105d1919061038090670de0b6b3a764000090610374908663ffffffff610a1a16565b6001600160a01b0384166000908152600860209081526040808320939093556004546009909152919020555b505b5050565b6001600160a01b03166000908152600a602052604090205490565b60025490565b6001546001600160a01b031681565b73ad4f86a25bbc20ffb751f2fac312a0b4d8f88c6481565b600080610657336104ee565b60025461066a908563ffffffff6109cf16565b600255336000908152600a602052604090205461068d908563ffffffff6109cf16565b336000818152600a60205260409020919091556106c69073be55c87dff2a9f5c95cb5c07572c51fd91fe0732908663ffffffff610b0f16565b82156106db576106d533610b61565b90925090505b60408051858152905133917f0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f75919081900360200190a29250929050565b60035481565b610727336104ee565b60025461073a908263ffffffff610ab516565b600255336000908152600a602052604090205461075d908263ffffffff610ab516565b336000818152600a60205260409020919091556107979073be55c87dff2a9f5c95cb5c07572c51fd91fe073290308463ffffffff610d3a16565b60408051828152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250565b73be55c87dff2a9f5c95cb5c07572c51fd91fe073281565b6000546001600160a01b031681565b600080610803336104ee565b61080c33610b61565b915091509091565b6001546001600160a01b03163314610873576040805162461bcd60e51b815260206004820152601b60248201527f63616e2062652063616c6c6564206279206f776e6572206f6e6c790000000000604482015290519081900360640190fd5b61087d60006104ee565b61089583670de0b6b3a764000063ffffffff610a1a16565b6005556108a4826103806104ea565b6006556108ca42610380600f6103686108bb6104ea565b6006549063ffffffff6109cf16565b600755600080546001600160a01b0319166001600160a01b0383811691909117918290556005546040805191825260208201869052805193909216927fbc81b9ebba68b9b26f41cc8eb0da5ad16f195a95eb1556cc35c01e759500a609929181900390910190a2505050565b6000806109416104ea565b600454600654919250908190600090841061095e57600654610960565b835b90506003548111156109825761097f8261038061034d8961038061061e565b91505b60006109b0670de0b6b3a76400006103746109a3868863ffffffff6109cf16565b8a9063ffffffff610a1a16565b90506109c48161168063ffffffff610a1a16565b979650505050505050565b6000610a1183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610d9a565b90505b92915050565b600082610a2957506000610a14565b82820282848281610a3657fe5b0414610a115760405162461bcd60e51b81526004018080602001828103825260218152602001806110866021913960400191505060405180910390fd5b6000610a1183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610e31565b600082820183811015610a11576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526105fd908490610e96565b6001600160a01b038116600090815260086020526040812054908115610d355760008054604080516370a0823160e01b81526001600160a01b0390921660048301525173ad4f86a25bbc20ffb751f2fac312a0b4d8f88c64916370a08231916024808301926020929190829003018186803b158015610bdf57600080fd5b505afa158015610bf3573d6000803e3d6000fd5b505050506040513d6020811015610c0957600080fd5b5051905082811015610c535760408051600180825291519193507f814cda5d0830616f562dffbb958c863b72f75fd9f05482cad04f70817f1bce75919081900360200190a1610d33565b336000818152600860209081526040808320839055825481516323b872dd60e01b81526001600160a01b0390911660048201526024810194909452604484018790525173ad4f86a25bbc20ffb751f2fac312a0b4d8f88c64936323b872dd9360648083019493928390030190829087803b158015610cd057600080fd5b505af1158015610ce4573d6000803e3d6000fd5b505050506040513d6020811015610cfa57600080fd5b505060408051848152905133917fba8de60c3403ec381d1d484652ea1980e3c3e56359195c92525bff4ce47ad98e919081900360200190a25b505b915091565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b179052610d94908590610e96565b50505050565b60008184841115610e295760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610dee578181015183820152602001610dd6565b50505050905090810190601f168015610e1b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183610e805760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610dee578181015183820152602001610dd6565b506000838581610e8c57fe5b0495945050505050565b610ea8826001600160a01b031661104e565b610ef9576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b60208310610f375780518252601f199092019160209182019101610f18565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114610f99576040519150601f19603f3d011682016040523d82523d6000602084013e610f9e565b606091505b509150915081610ff5576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115610d945780806020019051602081101561101157600080fd5b5051610d945760405162461bcd60e51b815260040180806020018281038252602a8152602001806110a7602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4708115801590610403575014159291505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820eac67850e17e8ed6deee146aef9fbf5c16d998f4cd3b99a297dd0624f0f0004c64736f6c63430005110032
Deployed Bytecode Sourcemap
15034:9124:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15034:9124:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21378:856;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21378:856:0;-1:-1:-1;;;;;21378:856:0;;:::i;:::-;;;;;;;;;;;;;;;;15995:23;;;:::i;22242:581::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15928:27;;;:::i;24064:91::-;;;:::i;17987:1226::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17987:1226:0;-1:-1:-1;;;;;17987:1226:0;;:::i;:::-;;23847:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23847:110:0;-1:-1:-1;;;;;23847:110:0;;:::i;23965:91::-;;;:::i;15329:20::-;;;:::i;:::-;;;;-1:-1:-1;;;;;15329:20:0;;;;;;;;;;;;;;15559:85;;;:::i;19613:549::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19613:549:0;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15753:30;;;:::i;19221:384::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19221:384:0;;:::i;15405:87::-;;;:::i;15230:92::-;;;:::i;20174:182::-;;;:::i;17324:655::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;17324:655:0;;;;;;;;;;;-1:-1:-1;;;;;17324:655:0;;:::i;22956:883::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22956:883:0;;:::i;21378:856::-;21435:14;21497:15;21515:13;:11;:13::i;:::-;21567:18;;21497:31;;-1:-1:-1;21539:25:0;21704:13;:11;:13::i;:::-;:17;21700:364;;;21738:23;21774:11;;21764:7;:21;:45;;21798:11;;21764:45;;;21788:7;21764:45;21738:71;;21846:15;;21828;:33;21824:229;;;21902:135;22019:17;21902:94;21982:13;:11;:13::i;:::-;21902:75;21961:15;;21902:36;21922:15;;21902;:19;;:36;;;;:::i;:::-;:58;:75;:58;:75;:::i;:::-;:79;:94;:79;:94;:::i;:::-;:116;:135;:116;:135;:::i;:::-;21882:155;;21824:229;21700:364;;-1:-1:-1;;;;;22208:17:0;;;;;;:8;:17;;;;;;;;;22140:22;:31;;;;;;;22085:141;;22208:17;22085:108;;22188:4;;22085:88;;22118:54;;:17;;:54;:21;:54;:::i;:::-;-1:-1:-1;;;;;22085:18:0;;;;;;:9;:18;;;;;;;:88;:32;:88;:::i;:141::-;22076:150;21378:856;-1:-1:-1;;;;21378:856:0:o;15995:23::-;;;;:::o;22242:581::-;22315:20;22371:22;22428:25;22488:21;22544;22593:13;:11;:13::i;:::-;22637:11;;22676:15;;22578:28;;-1:-1:-1;22637:11:0;-1:-1:-1;22676:25:0;;22696:4;22676:25;:19;:25;:::i;:::-;22728:7;;22782:32;;22762:53;;;-1:-1:-1;;;22762:53:0;;-1:-1:-1;;;;;22782:32:0;;;22762:53;;;;;22659:42;;-1:-1:-1;22728:7:0;;-1:-1:-1;15601:42:0;;22762:19;;:53;;;;;;;;;;;;;;;15601:42;22762:53;;;5:2:-1;;;;30:1;27;20:12;5:2;22762:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;22762:53:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22762:53:0;22242:581;;;;;;;;22762:53;22242:581;-1:-1:-1;22242:581:0:o;15928:27::-;;;;:::o;24064:91::-;24135:12;24064:91;:::o;17987:1226::-;18150:15;18168:13;:11;:13::i;:::-;18150:31;;18316:1;18300:13;:11;:13::i;:::-;:17;18296:384;;;18334:23;18370:11;;18360:7;:21;:45;;18394:11;;18360:45;;;18384:7;18360:45;18334:71;;18442:15;;18424;:33;18420:249;;;18499:154;18634:18;;18499:112;18597:13;:11;:13::i;18499:154::-;18478:18;:175;18420:249;18296:384;;18692:15;:25;;;-1:-1:-1;;;;;18734:21:0;;;18730:476;;-1:-1:-1;;;;;18832:31:0;;18774:32;18832:31;;;:22;:31;;;;;;18809:18;;:55;;;:22;:55;:::i;:::-;18774:90;-1:-1:-1;18885:28:0;;18881:314;;-1:-1:-1;;;;;19088:17:0;;;;;;:8;:17;;;;;;;;;18971:9;:18;;;;;;;:135;;19088:17;18971:94;;19060:4;;18971:66;;19012:24;18971:66;:40;:66;:::i;:135::-;-1:-1:-1;;;;;18934:17:0;;;;;;:8;:17;;;;;;;;:172;;;;19161:18;;19127:22;:31;;;;;;:52;18881:314;18730:476;;17987:1226;;:::o;23847:110::-;-1:-1:-1;;;;;23931:18:0;23904:7;23931:18;;;:9;:18;;;;;;;23847:110::o;23965:91::-;24036:12;;23965:91;:::o;15329:20::-;;;-1:-1:-1;;;;;15329:20:0;;:::o;15559:85::-;15601:42;15559:85;:::o;19613:549::-;19675:14;19691:26;19730:24;19743:10;19730:12;:24::i;:::-;19784:12;;:24;;19801:6;19784:24;:16;:24;:::i;:::-;19769:12;:39;19853:10;19843:21;;;;:9;:21;;;;;;:33;;19869:6;19843:33;:25;:33;:::i;:::-;19829:10;19819:21;;;;:9;:21;;;;;:57;;;;19945:44;;15449:42;;19982:6;19945:44;:24;:44;:::i;:::-;20015:5;20011:89;;;20054:34;20077:10;20054:22;:34::i;:::-;20035:53;;-1:-1:-1;20035:53:0;-1:-1:-1;20011:89:0;20126:28;;;;;;;;20135:10;;20126:28;;;;;;;;;;19613:549;;;;;:::o;15753:30::-;;;;:::o;19221:384::-;19272:24;19285:10;19272:12;:24::i;:::-;19324:12;;:24;;19341:6;19324:24;:16;:24;:::i;:::-;19309:12;:39;19393:10;19383:21;;;;:9;:21;;;;;;:33;;19409:6;19383:33;:25;:33;:::i;:::-;19369:10;19359:21;;;;:9;:21;;;;;:57;;;;19492:63;;15449:42;;19541:4;19548:6;19492:63;:28;:63;:::i;:::-;19571:26;;;;;;;;19578:10;;19571:26;;;;;;;;;;19221:384;:::o;15405:87::-;15449:42;15405:87;:::o;15230:92::-;;;-1:-1:-1;;;;;15230:92:0;;:::o;20174:182::-;20215:14;20231:26;20270:24;20283:10;20270:12;:24::i;:::-;20314:34;20337:10;20314:22;:34::i;:::-;20307:41;;;;20174:182;;:::o;17324:655::-;17489:5;;-1:-1:-1;;;;;17489:5:0;17475:10;:19;17467:59;;;;;-1:-1:-1;;;17467:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17537:24;17558:1;17537:12;:24::i;:::-;17590;:14;17609:4;17590:24;:18;:24;:::i;:::-;17572:15;:42;17671:35;17689:16;17671:13;:11;:13::i;:35::-;17657:11;:49;17727:59;17770:15;17727:38;17762:2;17727:30;17743:13;:11;:13::i;:::-;17727:11;;;:30;:15;:30;:::i;:59::-;17717:7;:69;17797:32;:63;;-1:-1:-1;;;;;;17797:63:0;-1:-1:-1;;;;;17797:63:0;;;;;;;;;;;17903:15;;17878:93;;;;;;;;;;;;;;17938:32;;;;;17878:93;;;;;;;;;;;17324:655;;;:::o;22956:883::-;23025:14;23054:15;23072:13;:11;:13::i;:::-;23128:18;;23356:11;;23054:31;;-1:-1:-1;23128:18:0;;;23096:29;;23346:21;;:45;;23380:11;;23346:45;;;23370:7;23346:45;23320:71;;23424:15;;23406;:33;23402:225;;;23476:139;23597:17;23476:102;23552:25;23570:6;23552:13;:11;:13::i;23476:139::-;23456:159;;23402:225;23639:23;23665:86;23746:4;23665:66;23686:44;:17;23708:21;23686:44;:21;:44;:::i;:::-;23665:6;;:66;:20;:66;:::i;:86::-;23639:112;-1:-1:-1;23783:25:0;23639:112;23803:4;23783:25;:19;:25;:::i;:::-;23774:34;22956:883;-1:-1:-1;;;;;;;22956:883:0:o;4113:136::-;4171:7;4198:43;4202:1;4205;4198:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4191:50;;4113:136;;;;;:::o;5029:471::-;5087:7;5332:6;5328:47;;-1:-1:-1;5362:1:0;5355:8;;5328:47;5399:5;;;5403:1;5399;:5;:1;5423:5;;;;;:10;5415:56;;;;-1:-1:-1;;;5415:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5968:132;6026:7;6053:39;6057:1;6060;6053:39;;;;;;;;;;;;;;;;;:3;:39::i;3657:181::-;3715:7;3747:5;;;3771:6;;;;3763:46;;;;;-1:-1:-1;;;3763:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;11870:176;11979:58;;;-1:-1:-1;;;;;11979:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;11979:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;11953:85:0;;11972:5;;11953:18;:85::i;20368:1002::-;-1:-1:-1;;;;;20508:17:0;;20434:14;20508:17;;;:8;:17;;;;;;;20540:10;;20536:827;;20567:22;20612:32;;20592:53;;;-1:-1:-1;;;20592:53:0;;-1:-1:-1;;;;;20612:32:0;;;20592:53;;;;;15601:42;;20592:19;;:53;;;;;;;;;;;;;;15601:42;20592:53;;;5:2:-1;;;;30:1;27;20:12;5:2;20592:53:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;20592:53:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20592:53:0;;-1:-1:-1;20664:23:0;;;20660:692;;;20957:28;;;20896:37;20957:28;;;;;20896:37;;-1:-1:-1;20957:28:0;;;;;;;;;;20660:692;;;21171:10;21185:1;21162:20;;;:8;:20;;;;;;;;:24;;;21228:32;;21205:76;;-1:-1:-1;;;21205:76:0;;-1:-1:-1;;;;;21228:32:0;;;21205:76;;;;;;;;;;;;;;;;;;15601:42;;21205:22;;:76;;;;;21162:20;21205:76;;;;;;;;15601:42;21205:76;;;5:2:-1;;;;30:1;27;20:12;5:2;21205:76:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21205:76:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;21305:31:0;;;;;;;;21317:10;;21305:31;;;;;;21205:76;21305:31;;;20660:692;20536:827;;20368:1002;;;:::o;12054:204::-;12181:68;;;-1:-1:-1;;;;;12181:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12181:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12155:95:0;;12174:5;;12155:18;:95::i;:::-;12054:204;;;;:::o;4586:192::-;4672:7;4708:12;4700:6;;;;4692:29;;;;-1:-1:-1;;;4692: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;4692:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4744:5:0;;;4586:192::o;6630:345::-;6716:7;6818:12;6811:5;6803:28;;;;-1:-1:-1;;;6803:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;6803:28:0;;6842:9;6858:1;6854;:5;;;;;;;6630:345;-1:-1:-1;;;;;6630:345:0:o;13909:1114::-;14513:27;14521:5;-1:-1:-1;;;;;14513:25:0;;:27::i;:::-;14505:71;;;;;-1:-1:-1;;;14505:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14650:12;14664:23;14699:5;-1:-1:-1;;;;;14691:19:0;14711:4;14691:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;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;;;14691: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;;14649:67:0;;;;14735:7;14727:52;;;;;-1:-1:-1;;;14727:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14796:17;;:21;14792:224;;14938:10;14927:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14927:30:0;14919:85;;;;-1:-1:-1;;;14919:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8801:810;8861:4;9520:20;;9363:66;9560:15;;;;;:42;;-1:-1:-1;9579:23:0;;;8801:810;-1:-1:-1;;8801:810:0:o
Swarm Source
bzzr://eac67850e17e8ed6deee146aef9fbf5c16d998f4cd3b99a297dd0624f0f0004c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.