Overview
ETH Balance
0 ETH
Eth Value
$0.00Token Holdings
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 232 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Exit | 16471406 | 700 days ago | IN | 0 ETH | 0.00282755 | ||||
Stake | 16414010 | 708 days ago | IN | 0 ETH | 0.00227904 | ||||
Exit | 16126189 | 748 days ago | IN | 0 ETH | 0.00144464 | ||||
Get Reward | 16126188 | 748 days ago | IN | 0 ETH | 0.00158773 | ||||
Exit | 15868635 | 784 days ago | IN | 0 ETH | 0.00201401 | ||||
Stake | 15840819 | 788 days ago | IN | 0 ETH | 0.00237246 | ||||
Stake | 15837984 | 789 days ago | IN | 0 ETH | 0.00167688 | ||||
Stake | 15820806 | 791 days ago | IN | 0 ETH | 0.00181507 | ||||
Exit | 15749463 | 801 days ago | IN | 0 ETH | 0.00126875 | ||||
Get Reward | 15749461 | 801 days ago | IN | 0 ETH | 0.00153968 | ||||
Exit | 15685377 | 810 days ago | IN | 0 ETH | 0.00135915 | ||||
Exit | 15595707 | 823 days ago | IN | 0 ETH | 0.00120731 | ||||
Exit | 15567612 | 827 days ago | IN | 0 ETH | 0.00034519 | ||||
Get Reward | 15567577 | 827 days ago | IN | 0 ETH | 0.00044611 | ||||
Exit | 15522175 | 833 days ago | IN | 0 ETH | 0.00225123 | ||||
Get Reward | 15510891 | 835 days ago | IN | 0 ETH | 0.00086367 | ||||
Get Reward | 15434524 | 847 days ago | IN | 0 ETH | 0.002887 | ||||
Get Reward | 15357875 | 860 days ago | IN | 0 ETH | 0.00050964 | ||||
Exit | 15237485 | 878 days ago | IN | 0 ETH | 0.00110513 | ||||
Get Reward | 15229354 | 880 days ago | IN | 0 ETH | 0.00091325 | ||||
Exit | 15217005 | 882 days ago | IN | 0 ETH | 0.00137701 | ||||
Stake | 15186221 | 886 days ago | IN | 0 ETH | 0.00340073 | ||||
Exit | 15185916 | 887 days ago | IN | 0 ETH | 0.00161319 | ||||
Get Reward | 15185908 | 887 days ago | IN | 0 ETH | 0.00157401 | ||||
Get Reward | 15177082 | 888 days ago | IN | 0 ETH | 0.00148267 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
StakingRewards
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-02-02 */ // File: contracts\StakingRewards.sol pragma solidity ^0.5.16; /** * @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. * * > 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 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 aplied to your functions to restrict their use to * the owner. */ contract Ownable { 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 = msg.sender; 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 msg.sender == _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; } } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); 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-solidity/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) { // Solidity only automatically asserts when dividing by 0 require(b > 0, "SafeMath: division by zero"); 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) { require(b != 0, "SafeMath: modulo by zero"); return a % b; } } /** * @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); } } /** * @dev Optional functions from the ERC20 standard. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of * these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. * * > Note that this information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * `IERC20.balanceOf` and `IERC20.transfer`. */ function decimals() public view returns (uint8) { return _decimals; } } /** * @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. * * > 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. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 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); 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"); } } } /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the `nonReentrant` modifier * available, which can be aplied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. */ contract ReentrancyGuard { /// @dev counter to allow mutex lock with only one SSTORE operation uint256 private _guardCounter; constructor () internal { // The counter starts at one to prevent changing it from zero to a non-zero // value, which is a more expensive operation. _guardCounter = 1; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { _guardCounter += 1; uint256 localCounter = _guardCounter; _; require(localCounter == _guardCounter, "ReentrancyGuard: reentrant call"); } } // Inheritance interface IStakingRewards { // Views function lastTimeRewardApplicable() external view returns (uint256); function rewardPerToken() external view returns (uint256); function earned(address account) external view returns (uint256); function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); // Mutative function stake(uint256 amount) external; function withdraw(uint256 amount) external; function getReward() external; function exit() external; } contract RewardsDistributionRecipient { address public rewardsDistribution; function notifyReward(uint256 rewardsDuration) external; modifier onlyRewardsDistribution() { require(msg.sender == rewardsDistribution, "Caller is not RewardsDistribution contract"); _; } } contract StakingRewards is IStakingRewards, RewardsDistributionRecipient, ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for IERC20; /* ========== STATE VARIABLES ========== */ IERC20 public rewardsToken; IERC20 public stakingToken; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; uint256 public rewardDebt; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; uint256 private _totalSupply; mapping(address => uint256) private _balances; uint256 constant public REWARD_MULTIPLIER = 1e12; /* ========== CONSTRUCTOR ========== */ constructor( address _rewardsDistribution, address _rewardsToken, address _stakingToken ) public { rewardsToken = IERC20(_rewardsToken); stakingToken = IERC20(_stakingToken); rewardsDistribution = _rewardsDistribution; } /* ========== VIEWS ========== */ function totalSupply() external view returns (uint256) { return _totalSupply; } function balanceOf(address account) external view returns (uint256) { return _balances[account]; } function lastTimeRewardApplicable() public view returns (uint256) { return Math.min(getBlockTimestamp(), 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 _balances[account].mul(rewardPerToken().sub(userRewardPerTokenPaid[account])).div(1e18).add(rewards[account]); } /* ========== MUTATIVE FUNCTIONS ========== */ function stake(uint256 amount) external nonReentrant updateReward(msg.sender) { require(amount > 0, "Cannot stake 0"); _totalSupply = _totalSupply.add(amount); _balances[msg.sender] = _balances[msg.sender].add(amount); stakingToken.safeTransferFrom(msg.sender, address(this), amount); emit Staked(msg.sender, amount); } function withdraw(uint256 amount) public nonReentrant updateReward(msg.sender) { require(amount > 0, "Cannot withdraw 0"); _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); stakingToken.safeTransfer(msg.sender, amount); emit Withdrawn(msg.sender, amount); } function getReward() public nonReentrant updateReward(msg.sender) { uint256 reward = rewards[msg.sender]; if (reward > 0) { rewards[msg.sender] = 0; rewardsToken.safeTransfer(msg.sender, reward.div(REWARD_MULTIPLIER)); rewardDebt = rewardDebt.sub(reward); emit RewardPaid(msg.sender, reward); } } function exit() external { withdraw(_balances[msg.sender]); getReward(); } function getBlockTimestamp() public view returns (uint) { return block.timestamp; } /* ========== RESTRICTED FUNCTIONS ========== */ function notifyReward(uint256 rewardsDuration) external onlyRewardsDistribution updateReward(address(0)) { uint balance = rewardsToken.balanceOf(address(this)).mul(REWARD_MULTIPLIER).sub(rewardDebt); rewardRate = balance.div(rewardsDuration); lastUpdateTime = getBlockTimestamp(); periodFinish = getBlockTimestamp().add(rewardsDuration); emit NotifyReward(rewardRate, periodFinish); } /* ========== MODIFIERS ========== */ modifier updateReward(address account) { rewardDebt = rewardDebt.add(lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRate)); rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } /* ========== EVENTS ========== */ event NotifyReward(uint256 rewardRate, uint256 periodFinish); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_rewardsDistribution","type":"address"},{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"rewardRate","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"periodFinish","type":"uint256"}],"name":"NotifyReward","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"constant":true,"inputs":[],"name":"REWARD_MULTIPLIER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getBlockTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"rewardsDuration","type":"uint256"}],"name":"notifyReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardDebt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardsDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","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":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600455600060055534801561001a57600080fd5b506040516114803803806114808339818101604052606081101561003d57600080fd5b508051602082015160409092015160018055600280546001600160a01b039485166001600160a01b0319918216179091556003805492851692821692909217909155600080549390921692169190911790556113e28061009e6000396000f3fe608060405234801561001057600080fd5b50600436106101815760003560e01c80637b0a47ee116100d8578063cd3daf9d1161008c578063e9fad8ee11610066578063e9fad8ee14610346578063ebe2b12b1461034e578063ec60e3fd1461035657610181565b8063cd3daf9d1461032e578063d1af0c7d14610336578063df136d651461033e57610181565b80638b876347116100bd5780638b876347146102d6578063a694fc3a14610309578063c8f33c911461032657610181565b80637b0a47ee146102c657806380faa57d146102ce57610181565b80633fc6df6e1161013a57806370a082311161011457806370a082311461028357806372f702f3146102b6578063796b89b9146102be57610181565b80633fc6df6e1461022d578063598b47dd1461025e57806360993b5b1461026657610181565b806318160ddd1161016b57806318160ddd146101fe5780632e1a7d4d146102065780633d18b9121461022557610181565b80628cc262146101865780630700037d146101cb575b600080fd5b6101b96004803603602081101561019c57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661035e565b60408051918252519081900360200190f35b6101b9600480360360208110156101e157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661040e565b6101b9610420565b6102236004803603602081101561021c57600080fd5b5035610427565b005b610223610669565b61023561082e565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6101b961084a565b6102236004803603602081101561027c57600080fd5b5035610853565b6101b96004803603602081101561029957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a85565b610235610aad565b6101b9610ac9565b6101b9610acd565b6101b9610ad3565b6101b9600480360360208110156102ec57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610aed565b6102236004803603602081101561031f57600080fd5b5035610aff565b6101b9610d23565b6101b9610d29565b610235610d77565b6101b9610d93565b610223610d99565b6101b9610dbc565b6101b9610dc2565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a6020908152604080832054600990925282205461040891906103fc90670de0b6b3a7640000906103f0906103be906103b2610d29565b9063ffffffff610dc816565b73ffffffffffffffffffffffffffffffffffffffff88166000908152600c60205260409020549063ffffffff610e3f16565b9063ffffffff610eb916565b9063ffffffff610f3d16565b92915050565b600a6020526000908152604090205481565b600b545b90565b6001805481019081905560055460065433916104699161045a919061044e906103b2610ad3565b9063ffffffff610e3f16565b6008549063ffffffff610f3d16565b600855610474610d29565b60075561047f610ad3565b60065573ffffffffffffffffffffffffffffffffffffffff8116156104e0576104a78161035e565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600a60209081526040808320939093556007546009909152919020555b6000831161054f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f43616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b600b54610562908463ffffffff610dc816565b600b55336000908152600c6020526040902054610585908463ffffffff610dc816565b336000818152600c60205260409020919091556003546105be9173ffffffffffffffffffffffffffffffffffffffff9091169085610fb1565b60408051848152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250600154811461066557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b5050565b6001805481019081905560055460065433916106909161045a919061044e906103b2610ad3565b60085561069b610d29565b6007556106a6610ad3565b60065573ffffffffffffffffffffffffffffffffffffffff811615610707576106ce8161035e565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600a60209081526040808320939093556007546009909152919020555b336000908152600a602052604090205480156107b957336000818152600a602052604081205561076c906107468364e8d4a5100063ffffffff610eb916565b60025473ffffffffffffffffffffffffffffffffffffffff16919063ffffffff610fb116565b60085461077f908263ffffffff610dc816565b60085560408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050600154811461082b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b50565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b64e8d4a5100081565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061135a602a913960400191505060405180910390fd5b60006108dc61045a60055461044e6006546103b2610ad3565b6008556108e7610d29565b6007556108f2610ad3565b60065573ffffffffffffffffffffffffffffffffffffffff8116156109535761091a8161035e565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600a60209081526040808320939093556007546009909152919020555b600854600254604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600093610a109390926103b29264e8d4a510009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b1580156109d857600080fd5b505afa1580156109ec573d6000803e3d6000fd5b505050506040513d6020811015610a0257600080fd5b50519063ffffffff610e3f16565b9050610a22818463ffffffff610eb916565b600555610a2d610ac9565b600655610a3c836103fc610ac9565b600481905560055460408051918252602082019290925281517f0364fe27a9346f7a558ebdc4ce9cc58896d295d9db8b28960680ec6b0db571c9929181900390910190a1505050565b73ffffffffffffffffffffffffffffffffffffffff166000908152600c602052604090205490565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b4290565b60055481565b6000610ae8610ae0610ac9565b600454611043565b905090565b60096020526000908152604090205481565b600180548101908190556005546006543391610b269161045a919061044e906103b2610ad3565b600855610b31610d29565b600755610b3c610ad3565b60065573ffffffffffffffffffffffffffffffffffffffff811615610b9d57610b648161035e565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600a60209081526040808320939093556007546009909152919020555b60008311610c0c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b600b54610c1f908463ffffffff610f3d16565b600b55336000908152600c6020526040902054610c42908463ffffffff610f3d16565b336000818152600c6020526040902091909155600354610c7c9173ffffffffffffffffffffffffffffffffffffffff909116903086611059565b60408051848152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250600154811461066557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60065481565b6000600b5460001415610d3f5750600754610424565b610ae8610d68600b546103f0670de0b6b3a764000061044e60055461044e6006546103b2610ad3565b6007549063ffffffff610f3d16565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b336000908152600c6020526040902054610db290610427565b610dba610669565b565b60045481565b60085481565b600082821115610e3957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082610e4e57506000610408565b82820282848281610e5b57fe5b0414610eb2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806113396021913960400191505060405180910390fd5b9392505050565b6000808211610f2957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b6000828481610f3457fe5b04949350505050565b600082820183811015610eb257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261103e9084906110f4565b505050565b60008183106110525781610eb2565b5090919050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd000000000000000000000000000000000000000000000000000000001790526110ee9085906110f4565b50505050565b6111138273ffffffffffffffffffffffffffffffffffffffff16611332565b61117e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106111e757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016111aa565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611249576040519150601f19603f3d011682016040523d82523d6000602084013e61124e565b606091505b5091509150816112bf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156110ee578080602001905160208110156112db57600080fd5b50516110ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611384602a913960400191505060405180910390fd5b3b15159056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820dfccce69e262d5fde14b7fa089e2d1a75720bfbdb1523ea3c30097baf6d1269c64736f6c634300051000320000000000000000000000002840d4c43388a6599edd8519605e5581a596b5ff000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000007b35ce522cb72e4077baeb96cb923a5529764a00
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101815760003560e01c80637b0a47ee116100d8578063cd3daf9d1161008c578063e9fad8ee11610066578063e9fad8ee14610346578063ebe2b12b1461034e578063ec60e3fd1461035657610181565b8063cd3daf9d1461032e578063d1af0c7d14610336578063df136d651461033e57610181565b80638b876347116100bd5780638b876347146102d6578063a694fc3a14610309578063c8f33c911461032657610181565b80637b0a47ee146102c657806380faa57d146102ce57610181565b80633fc6df6e1161013a57806370a082311161011457806370a082311461028357806372f702f3146102b6578063796b89b9146102be57610181565b80633fc6df6e1461022d578063598b47dd1461025e57806360993b5b1461026657610181565b806318160ddd1161016b57806318160ddd146101fe5780632e1a7d4d146102065780633d18b9121461022557610181565b80628cc262146101865780630700037d146101cb575b600080fd5b6101b96004803603602081101561019c57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661035e565b60408051918252519081900360200190f35b6101b9600480360360208110156101e157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661040e565b6101b9610420565b6102236004803603602081101561021c57600080fd5b5035610427565b005b610223610669565b61023561082e565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6101b961084a565b6102236004803603602081101561027c57600080fd5b5035610853565b6101b96004803603602081101561029957600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610a85565b610235610aad565b6101b9610ac9565b6101b9610acd565b6101b9610ad3565b6101b9600480360360208110156102ec57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610aed565b6102236004803603602081101561031f57600080fd5b5035610aff565b6101b9610d23565b6101b9610d29565b610235610d77565b6101b9610d93565b610223610d99565b6101b9610dbc565b6101b9610dc2565b73ffffffffffffffffffffffffffffffffffffffff81166000908152600a6020908152604080832054600990925282205461040891906103fc90670de0b6b3a7640000906103f0906103be906103b2610d29565b9063ffffffff610dc816565b73ffffffffffffffffffffffffffffffffffffffff88166000908152600c60205260409020549063ffffffff610e3f16565b9063ffffffff610eb916565b9063ffffffff610f3d16565b92915050565b600a6020526000908152604090205481565b600b545b90565b6001805481019081905560055460065433916104699161045a919061044e906103b2610ad3565b9063ffffffff610e3f16565b6008549063ffffffff610f3d16565b600855610474610d29565b60075561047f610ad3565b60065573ffffffffffffffffffffffffffffffffffffffff8116156104e0576104a78161035e565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600a60209081526040808320939093556007546009909152919020555b6000831161054f57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601160248201527f43616e6e6f742077697468647261772030000000000000000000000000000000604482015290519081900360640190fd5b600b54610562908463ffffffff610dc816565b600b55336000908152600c6020526040902054610585908463ffffffff610dc816565b336000818152600c60205260409020919091556003546105be9173ffffffffffffffffffffffffffffffffffffffff9091169085610fb1565b60408051848152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250600154811461066557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b5050565b6001805481019081905560055460065433916106909161045a919061044e906103b2610ad3565b60085561069b610d29565b6007556106a6610ad3565b60065573ffffffffffffffffffffffffffffffffffffffff811615610707576106ce8161035e565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600a60209081526040808320939093556007546009909152919020555b336000908152600a602052604090205480156107b957336000818152600a602052604081205561076c906107468364e8d4a5100063ffffffff610eb916565b60025473ffffffffffffffffffffffffffffffffffffffff16919063ffffffff610fb116565b60085461077f908263ffffffff610dc816565b60085560408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050600154811461082b57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b50565b60005473ffffffffffffffffffffffffffffffffffffffff1681565b64e8d4a5100081565b60005473ffffffffffffffffffffffffffffffffffffffff1633146108c3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061135a602a913960400191505060405180910390fd5b60006108dc61045a60055461044e6006546103b2610ad3565b6008556108e7610d29565b6007556108f2610ad3565b60065573ffffffffffffffffffffffffffffffffffffffff8116156109535761091a8161035e565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600a60209081526040808320939093556007546009909152919020555b600854600254604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600093610a109390926103b29264e8d4a510009273ffffffffffffffffffffffffffffffffffffffff16916370a08231916024808301926020929190829003018186803b1580156109d857600080fd5b505afa1580156109ec573d6000803e3d6000fd5b505050506040513d6020811015610a0257600080fd5b50519063ffffffff610e3f16565b9050610a22818463ffffffff610eb916565b600555610a2d610ac9565b600655610a3c836103fc610ac9565b600481905560055460408051918252602082019290925281517f0364fe27a9346f7a558ebdc4ce9cc58896d295d9db8b28960680ec6b0db571c9929181900390910190a1505050565b73ffffffffffffffffffffffffffffffffffffffff166000908152600c602052604090205490565b60035473ffffffffffffffffffffffffffffffffffffffff1681565b4290565b60055481565b6000610ae8610ae0610ac9565b600454611043565b905090565b60096020526000908152604090205481565b600180548101908190556005546006543391610b269161045a919061044e906103b2610ad3565b600855610b31610d29565b600755610b3c610ad3565b60065573ffffffffffffffffffffffffffffffffffffffff811615610b9d57610b648161035e565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600a60209081526040808320939093556007546009909152919020555b60008311610c0c57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152600e60248201527f43616e6e6f74207374616b652030000000000000000000000000000000000000604482015290519081900360640190fd5b600b54610c1f908463ffffffff610f3d16565b600b55336000908152600c6020526040902054610c42908463ffffffff610f3d16565b336000818152600c6020526040902091909155600354610c7c9173ffffffffffffffffffffffffffffffffffffffff909116903086611059565b60408051848152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250600154811461066557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b60065481565b6000600b5460001415610d3f5750600754610424565b610ae8610d68600b546103f0670de0b6b3a764000061044e60055461044e6006546103b2610ad3565b6007549063ffffffff610f3d16565b60025473ffffffffffffffffffffffffffffffffffffffff1681565b60075481565b336000908152600c6020526040902054610db290610427565b610dba610669565b565b60045481565b60085481565b600082821115610e3957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082610e4e57506000610408565b82820282848281610e5b57fe5b0414610eb2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806113396021913960400191505060405180910390fd5b9392505050565b6000808211610f2957604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f536166654d6174683a206469766973696f6e206279207a65726f000000000000604482015290519081900360640190fd5b6000828481610f3457fe5b04949350505050565b600082820183811015610eb257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b6040805173ffffffffffffffffffffffffffffffffffffffff8416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fa9059cbb0000000000000000000000000000000000000000000000000000000017905261103e9084906110f4565b505050565b60008183106110525781610eb2565b5090919050565b6040805173ffffffffffffffffffffffffffffffffffffffff85811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167f23b872dd000000000000000000000000000000000000000000000000000000001790526110ee9085906110f4565b50505050565b6111138273ffffffffffffffffffffffffffffffffffffffff16611332565b61117e57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b602083106111e757805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe090920191602091820191016111aa565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611249576040519150601f19603f3d011682016040523d82523d6000602084013e61124e565b606091505b5091509150816112bf57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156110ee578080602001905160208110156112db57600080fd5b50516110ee576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180611384602a913960400191505060405180910390fd5b3b15159056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820dfccce69e262d5fde14b7fa089e2d1a75720bfbdb1523ea3c30097baf6d1269c64736f6c63430005100032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000002840d4c43388a6599edd8519605e5581a596b5ff000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb480000000000000000000000007b35ce522cb72e4077baeb96cb923a5529764a00
-----Decoded View---------------
Arg [0] : _rewardsDistribution (address): 0x2840d4c43388A6599EDD8519605E5581a596b5fF
Arg [1] : _rewardsToken (address): 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
Arg [2] : _stakingToken (address): 0x7b35Ce522CB72e4077BaeB96Cb923A5529764a00
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000002840d4c43388a6599edd8519605e5581a596b5ff
Arg [1] : 000000000000000000000000a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
Arg [2] : 0000000000000000000000007b35ce522cb72e4077baeb96cb923a5529764a00
Deployed Bytecode Sourcemap
18205:4669:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;18205:4669:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20016:198;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20016:198:0;;;;:::i;:::-;;;;;;;;;;;;;;;;18737:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18737:42:0;;;;:::i;19314:93::-;;;:::i;20653:357::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20653:357:0;;:::i;:::-;;21018:380;;;:::i;17937:34::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;18877:48;;;:::i;21661:436::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21661:436:0;;:::i;19415:112::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;19415:112:0;;;;:::i;18454:26::-;;;:::i;21509:88::-;;;:::i;18525:29::-;;;:::i;19535:135::-;;;:::i;18673:57::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;18673:57:0;;;;:::i;20276:369::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20276:369:0;;:::i;18561:29::-;;;:::i;19678:330::-;;;:::i;18421:26::-;;;:::i;18597:35::-;;;:::i;21406:97::-;;;:::i;18487:31::-;;;:::i;18639:25::-;;;:::i;20016:198::-;20189:16;;;20070:7;20189:16;;;:7;:16;;;;;;;;;20141:22;:31;;;;;;20097:109;;20189:16;20097:87;;20179:4;;20097:77;;20120:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;20097:18;;;;;;;:9;:18;;;;;;;:77;:22;:77;:::i;:::-;:81;:87;:81;:87;:::i;:::-;:91;:109;:91;:109;:::i;:::-;20090:116;20016:198;-1:-1:-1;;20016:198:0:o;18737:42::-;;;;;;;;;;;;;:::o;19314:93::-;19387:12;;19314:93;;:::o;20653:357::-;17128:1;17111:18;;;;;;;;22279:10;;22259:14;;20720:10;;22213:78;;22228:62;;22279:10;22228:46;;:26;:24;:26::i;:46::-;:50;:62;:50;:62;:::i;:::-;22213:10;;;:78;:14;:78;:::i;:::-;22200:10;:91;22325:16;:14;:16::i;:::-;22302:20;:39;22369:26;:24;:26::i;:::-;22352:14;:43;22410:21;;;;22406:157;;22467:15;22474:7;22467:6;:15::i;:::-;22448:16;;;;;;;:7;:16;;;;;;;;:34;;;;22531:20;;22497:22;:31;;;;;;:54;22406:157;20760:1;20751:6;:10;20743:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20809:12;;:24;;20826:6;20809:24;:16;:24;:::i;:::-;20794:12;:39;20878:10;20868:21;;;;:9;:21;;;;;;:33;;20894:6;20868:33;:25;:33;:::i;:::-;20854:10;20844:21;;;;:9;:21;;;;;:57;;;;20912:12;;:45;;20844:21;20912:12;;;;20950:6;20912:25;:45::i;:::-;20973:29;;;;;;;;20983:10;;20973:29;;;;;;;;;;17187:1;17223:13;;17207:12;:29;17199:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20653:357;;:::o;21018:380::-;17128:1;17111:18;;;;;;;;22279:10;;22259:14;;21072:10;;22213:78;;22228:62;;22279:10;22228:46;;:26;:24;:26::i;22213:78::-;22200:10;:91;22325:16;:14;:16::i;:::-;22302:20;:39;22369:26;:24;:26::i;:::-;22352:14;:43;22410:21;;;;22406:157;;22467:15;22474:7;22467:6;:15::i;:::-;22448:16;;;;;;;:7;:16;;;;;;;;:34;;;;22531:20;;22497:22;:31;;;;;;:54;22406:157;21120:10;21095:14;21112:19;;;:7;:19;;;;;;21146:10;;21142:249;;21181:10;21195:1;21173:19;;;:7;:19;;;;;:23;21211:68;;21249:29;:6;18921:4;21249:29;:10;:29;:::i;:::-;21211:12;;;;;:68;;:25;:68;:::i;:::-;21307:10;;:22;;21322:6;21307:22;:14;:22;:::i;:::-;21294:10;:35;21349:30;;;;;;;;21360:10;;21349:30;;;;;;;;;;21142:249;22573:1;17187;17223:13;;17207:12;:29;17199:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21018:380;:::o;17937:34::-;;;;;;:::o;18877:48::-;18921:4;18877:48;:::o;21661:436::-;18112:19;;;;18098:10;:33;18090:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21762:1;22213:78;22228:62;22279:10;;22228:46;22259:14;;22228:26;:24;:26::i;22213:78::-;22200:10;:91;22325:16;:14;:16::i;:::-;22302:20;:39;22369:26;:24;:26::i;:::-;22352:14;:43;22410:21;;;;22406:157;;22467:15;22474:7;22467:6;:15::i;:::-;22448:16;;;;;;;:7;:16;;;;;;;;:34;;;;22531:20;;22497:22;:31;;;;;;:54;22406:157;21857:10;;21792:12;;:37;;;;;;21823:4;21792:37;;;;;;21777:12;;21792:76;;21857:10;;21792:60;;18921:4;;21792:12;;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;21792:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;21792:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21792:37:0;;:60;:41;:60;:::i;:76::-;21777:91;-1:-1:-1;21892:28:0;21777:91;21904:15;21892:28;:11;:28;:::i;:::-;21879:10;:41;21950:19;:17;:19::i;:::-;21933:14;:36;21995:40;22019:15;21995:19;:17;:19::i;:40::-;21980:12;:55;;;22064:10;;22051:38;;;;;;;;;;;;;;;;;;;;;;;;;;22573:1;18189;21661:436;:::o;19415:112::-;19501:18;;19474:7;19501:18;;;:9;:18;;;;;;;19415:112::o;18454:26::-;;;;;;:::o;21509:88::-;21577:15;21509:88;:::o;18525:29::-;;;;:::o;19535:135::-;19592:7;19619:43;19628:19;:17;:19::i;:::-;19649:12;;19619:8;:43::i;:::-;19612:50;;19535:135;:::o;18673:57::-;;;;;;;;;;;;;:::o;20276:369::-;17128:1;17111:18;;;;;;;;22279:10;;22259:14;;20342:10;;22213:78;;22228:62;;22279:10;22228:46;;:26;:24;:26::i;22213:78::-;22200:10;:91;22325:16;:14;:16::i;:::-;22302:20;:39;22369:26;:24;:26::i;:::-;22352:14;:43;22410:21;;;;22406:157;;22467:15;22474:7;22467:6;:15::i;:::-;22448:16;;;;;;;:7;:16;;;;;;;;:34;;;;22531:20;;22497:22;:31;;;;;;:54;22406:157;20382:1;20373:6;:10;20365:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20428:12;;:24;;20445:6;20428:24;:16;:24;:::i;:::-;20413:12;:39;20497:10;20487:21;;;;:9;:21;;;;;;:33;;20513:6;20487:33;:25;:33;:::i;:::-;20473:10;20463:21;;;;:9;:21;;;;;:57;;;;20531:12;;:64;;20463:21;20531:12;;;;20581:4;20588:6;20531:29;:64::i;:::-;20611:26;;;;;;;;20618:10;;20611:26;;;;;;;;;;17187:1;17223:13;;17207:12;:29;17199:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18561:29;;;;:::o;19678:330::-;19725:7;19749:12;;19765:1;19749:17;19745:77;;;-1:-1:-1;19790:20:0;;19783:27;;19745:77;19852:148;19895:90;19972:12;;19895:72;19962:4;19895:62;19946:10;;19895:46;19926:14;;19895:26;:24;:26::i;:90::-;19852:20;;;:148;:24;:148;:::i;18421:26::-;;;;;;:::o;18597:35::-;;;;:::o;21406:97::-;21461:10;21451:21;;;;:9;:21;;;;;;21442:31;;:8;:31::i;:::-;21484:11;:9;:11::i;:::-;21406:97::o;18487:31::-;;;;:::o;18639:25::-;;;;:::o;6513:184::-;6571:7;6604:1;6599;:6;;6591:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;6663:5:0;;;6513:184::o;6948:470::-;7006:7;7250:6;7246:47;;-1:-1:-1;7280:1:0;7273:8;;7246:47;7317:5;;;7321:1;7317;:5;:1;7341:5;;;;;:10;7333:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7409:1;6948:470;-1:-1:-1;;;6948:470:0:o;7886:333::-;7944:7;8043:1;8039;:5;8031:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8086:9;8102:1;8098;:5;;;;;;;7886:333;-1:-1:-1;;;;7886:333:0:o;6057:181::-;6115:7;6147:5;;;6171:6;;;;6163:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12690:176;12799:58;;;12822:14;12799:58;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12799:58:0;;;;;;;;25:18:-1;;61:17;;12799:58:0;182:15:-1;12822:23:0;179:29:-1;160:49;;12773:85:0;;12792:5;;12773:18;:85::i;:::-;12690:176;;;:::o;9182:106::-;9240:7;9271:1;9267;:5;:13;;9279:1;9267:13;;;-1:-1:-1;9275:1:0;;9260:20;-1:-1:-1;9182:106:0:o;12874:204::-;13001:68;;;13024:18;13001:68;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;13001:68:0;;;;;;;;25:18:-1;;61:17;;13001:68:0;182:15:-1;13024:27:0;179:29:-1;160:49;;12975:95:0;;12994:5;;12975:18;:95::i;:::-;12874:204;;;;:::o;14684:1114::-;15288:27;15296:5;15288:25;;;:27::i;:::-;15280:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15425:12;15439:23;15474:5;15466:19;;15486:4;15466:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;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;;;15466: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;;15424:67:0;;;;15510:7;15502:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15571:17;;:21;15567:224;;15713:10;15702:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15702:30:0;15694:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11703:422;12070:20;12109:8;;;11703:422::o
Swarm Source
bzzr://dfccce69e262d5fde14b7fa089e2d1a75720bfbdb1523ea3c30097baf6d1269c
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.999793 | 6,827.9724 | $6,826.56 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.