More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 677 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 12632777 | 1227 days ago | IN | 0 ETH | 0.00129805 | ||||
Stake | 12586230 | 1234 days ago | IN | 0 ETH | 0.00873901 | ||||
Get Reward | 12343899 | 1272 days ago | IN | 0 ETH | 0.00355545 | ||||
Withdraw | 12340641 | 1272 days ago | IN | 0 ETH | 0.00359003 | ||||
Stake | 12340099 | 1273 days ago | IN | 0 ETH | 0.00561672 | ||||
Exit | 12135932 | 1304 days ago | IN | 0 ETH | 0.01862271 | ||||
Stake | 12134132 | 1304 days ago | IN | 0 ETH | 0.01595633 | ||||
Exit | 12067855 | 1314 days ago | IN | 0 ETH | 0.01141959 | ||||
Stake | 12067836 | 1315 days ago | IN | 0 ETH | 0.01454665 | ||||
Exit | 12059427 | 1316 days ago | IN | 0 ETH | 0.01763015 | ||||
Exit | 12033308 | 1320 days ago | IN | 0 ETH | 0.01190316 | ||||
Exit | 12003914 | 1324 days ago | IN | 0 ETH | 0.01285669 | ||||
Exit | 11985813 | 1327 days ago | IN | 0 ETH | 0.0036923 | ||||
Exit | 11985813 | 1327 days ago | IN | 0 ETH | 0.00950488 | ||||
Exit | 11971276 | 1329 days ago | IN | 0 ETH | 0.01158777 | ||||
Exit | 11967772 | 1330 days ago | IN | 0 ETH | 0.0203559 | ||||
Exit | 11944823 | 1333 days ago | IN | 0 ETH | 0.01231172 | ||||
Get Reward | 11940767 | 1334 days ago | IN | 0 ETH | 0.00828156 | ||||
Withdraw | 11916199 | 1338 days ago | IN | 0 ETH | 0.01685576 | ||||
Get Reward | 11874274 | 1344 days ago | IN | 0 ETH | 0.00725622 | ||||
Stake | 11873197 | 1344 days ago | IN | 0 ETH | 0.01705496 | ||||
Get Reward | 11848462 | 1348 days ago | IN | 0 ETH | 0.01198854 | ||||
Get Reward | 11828262 | 1351 days ago | IN | 0 ETH | 0.01246177 | ||||
Get Reward | 11816950 | 1353 days ago | IN | 0 ETH | 0.0136144 | ||||
Get Reward | 11788968 | 1357 days ago | IN | 0 ETH | 0.02019123 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
BalLpRewards
Compiler Version
v0.5.16+commit.9c3226ce
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-03 */ pragma solidity ^0.5.16; /** * @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 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 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 Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } /** * @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"); } } } /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied 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. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. * * _Since v2.5.0:_ this module is now much more gas efficient, given net gas * metering changes introduced in the Istanbul hardfork. */ contract ReentrancyGuard { bool private _notEntered; constructor () internal { // Storing an initial non-zero value makes deployment a bit more // expensive, but in exchange the refund on every call to nonReentrant // will be lower in amount. Since refunds are capped to a percetange of // the total transaction's gas, it is best to keep them low in cases // like this one, to increase the likelihood of the full refund coming // into effect. _notEntered = true; } /** * @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() { // On the first call to nonReentrant, _notEntered will be true require(_notEntered, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _notEntered = false; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _notEntered = true; } } /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ contract Context { // Empty internal constructor, to prevent people from mistakenly deploying // an instance of this contract, which should be used via inheritance. constructor () internal { } // solhint-disable-previous-line no-empty-blocks function _msgSender() internal view returns (address payable) { return msg.sender; } function _msgData() internal view returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor () internal { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _owner; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // Inheritance // https://docs.synthetix.io/contracts/RewardsDistributionRecipient contract RewardsDistributionRecipient is Ownable { address public rewardsDistribution; function notifyRewardAmount(uint256 reward) external; modifier onlyRewardsDistribution() { require(msg.sender == rewardsDistribution, "Caller is not RewardsDistribution contract"); _; } function setRewardsDistribution(address _rewardsDistribution) external onlyOwner { rewardsDistribution = _rewardsDistribution; } } // Inheritance // https://docs.synthetix.io/contracts/Pausable contract Pausable is Ownable { uint public lastPauseTime; bool public paused; constructor() internal { // This contract is abstract, and thus cannot be instantiated directly require(owner() != address(0), "Owner must be set"); // Paused will be false, and lastPauseTime will be 0 upon initialisation } /** * @notice Change the paused state of the contract * @dev Only the contract owner may call this. */ function setPaused(bool _paused) external onlyOwner { // Ensure we're actually changing the state before we do anything if (_paused == paused) { return; } // Set our paused state. paused = _paused; // If applicable, set the last pause time. if (paused) { lastPauseTime = now; } // Let everyone know that our pause state has changed. emit PauseChanged(paused); } event PauseChanged(bool isPaused); modifier notPaused { require(!paused, "This action cannot be performed while the contract is paused"); _; } } // Inheritance contract BalLpRewards is RewardsDistributionRecipient, ReentrancyGuard, Pausable { 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 rewardsDuration = 30 days; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; uint256 private _totalSupply; mapping(address => uint256) private _balances; /* ========== CONSTRUCTOR ========== */ constructor( address _rewardsToken, address _stakingToken ) public { rewardsToken = IERC20(_rewardsToken); stakingToken = IERC20(_stakingToken); rewardsDistribution = msg.sender; } /* ========== 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(block.timestamp, periodFinish); } function rewardPerToken() public view returns (uint256) { if (_totalSupply == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable().sub(lastUpdateTime).mul(rewardRate).mul(1e18).div(_totalSupply) ); } function earned(address account) public view returns (uint256) { return _balances[account].mul(rewardPerToken().sub(userRewardPerTokenPaid[account])).div(1e18).add(rewards[account]); } function getRewardForDuration() external view returns (uint256) { return rewardRate.mul(rewardsDuration); } /* ========== MUTATIVE FUNCTIONS ========== */ function stake(uint256 amount) external nonReentrant notPaused 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); emit RewardPaid(msg.sender, reward); } } function exit() external { withdraw(_balances[msg.sender]); getReward(); } /* ========== RESTRICTED FUNCTIONS ========== */ function notifyRewardAmount(uint256 reward) external onlyRewardsDistribution updateReward(address(0)) { if (block.timestamp >= periodFinish) { rewardRate = reward.div(rewardsDuration); } else { uint256 remaining = periodFinish.sub(block.timestamp); uint256 leftover = remaining.mul(rewardRate); rewardRate = reward.add(leftover).div(rewardsDuration); } // Ensure the provided reward amount is not more than the balance in the contract. // This keeps the reward rate in the right range, preventing overflows due to // very high values of rewardRate in the earned and rewardsPerToken functions; // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow. uint balance = rewardsToken.balanceOf(address(this)); require(rewardRate <= balance.div(rewardsDuration), "Provided reward too high"); lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(rewardsDuration); emit RewardAdded(reward); } // Added to support recovering LP Rewards from other systems such as BAL to be distributed to holders function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner { require( tokenAddress != address(stakingToken) && tokenAddress != address(rewardsToken), "Cannot withdraw the staking or rewards tokens" ); IERC20(tokenAddress).safeTransfer(owner(), tokenAmount); emit Recovered(tokenAddress, tokenAmount); } function setRewardsDuration(uint256 _rewardsDuration) external onlyOwner { require(block.timestamp > periodFinish, "Previous rewards period must be complete before changing the duration for the new period" ); rewardsDuration = _rewardsDuration; emit RewardsDurationUpdated(rewardsDuration); } /* ========== MODIFIERS ========== */ modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } /* ========== EVENTS ========== */ event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); event RewardsDurationUpdated(uint256 newDuration); event Recovered(address token, uint256 amount); }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isPaused","type":"bool"}],"name":"PauseChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","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":[{"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":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastPauseTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardsDistribution","type":"address"}],"name":"setRewardsDistribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"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":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","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
60806040526000600555600060065562278d0060075534801561002157600080fd5b50604051611aad380380611aad8339818101604052604081101561004457600080fd5b50805160209091015160006100606001600160e01b0361016b16565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506001805460ff60a01b1916600160a01b17905560006100d06001600160e01b0361016f16565b6001600160a01b03161415610120576040805162461bcd60e51b815260206004820152601160248201527013dddb995c881b5d5cdd081899481cd95d607a1b604482015290519081900360640190fd5b600380546001600160a01b0393841661010002610100600160a81b031990911617905560048054919092166001600160a01b031991821617909155600180549091163317905561017e565b3390565b6000546001600160a01b031690565b6119208061018d6000396000f3fe608060405234801561001057600080fd5b50600436106101e45760003560e01c80637b0a47ee1161010f578063c8f33c91116100a2578063df136d6511610071578063df136d651461042a578063e9fad8ee14610432578063ebe2b12b1461043a578063f2fde38b14610442576101e4565b8063c8f33c91146103f5578063cc1a378f146103fd578063cd3daf9d1461041a578063d1af0c7d14610422576101e4565b80638da5cb5b116100de5780638da5cb5b146103c05780638f32d59b146103c857806391b4ded9146103d0578063a694fc3a146103d8576101e4565b80637b0a47ee1461035e57806380faa57d146103665780638980f11f1461036e5780638b8763471461039a576101e4565b8063386a9525116101875780635c975abb116101565780635c975abb1461030c57806370a0823114610328578063715018a61461034e57806372f702f314610356576101e4565b8063386a9525146102bb5780633c6b16ab146102c35780633d18b912146102e05780633fc6df6e146102e8576101e4565b806318160ddd116101c357806318160ddd1461026857806319762143146102705780631c1f78eb146102965780632e1a7d4d1461029e576101e4565b80628cc262146101e95780630700037d1461022157806316c38b3c14610247575b600080fd5b61020f600480360360208110156101ff57600080fd5b50356001600160a01b0316610468565b60408051918252519081900360200190f35b61020f6004803603602081101561023757600080fd5b50356001600160a01b03166104fe565b6102666004803603602081101561025d57600080fd5b50351515610510565b005b61020f6105c9565b6102666004803603602081101561028657600080fd5b50356001600160a01b03166105d0565b61020f610639565b610266600480360360208110156102b457600080fd5b5035610657565b61020f610815565b610266600480360360208110156102d957600080fd5b503561081b565b610266610a71565b6102f0610bce565b604080516001600160a01b039092168252519081900360200190f35b610314610bdd565b604080519115158252519081900360200190f35b61020f6004803603602081101561033e57600080fd5b50356001600160a01b0316610be6565b610266610c01565b6102f0610c92565b61020f610ca1565b61020f610ca7565b6102666004803603604081101561038457600080fd5b506001600160a01b038135169060200135610cb5565b61020f600480360360208110156103b057600080fd5b50356001600160a01b0316610dd2565b6102f0610de4565b610314610df3565b61020f610e17565b610266600480360360208110156103ee57600080fd5b5035610e1d565b61020f61101b565b6102666004803603602081101561041357600080fd5b5035611021565b61020f6110e3565b6102f061113d565b61020f611151565b610266611157565b61020f61117a565b6102666004803603602081101561045857600080fd5b50356001600160a01b0316611180565b6001600160a01b0381166000908152600b6020908152604080832054600a9092528220546104f891906104ec90670de0b6b3a7640000906104e0906104bb906104af6110e3565b9063ffffffff6111d016565b6001600160a01b0388166000908152600d60205260409020549063ffffffff61121916565b9063ffffffff61127216565b9063ffffffff6112b416565b92915050565b600b6020526000908152604090205481565b610518610df3565b610557576040805162461bcd60e51b8152602060048201819052602482015260008051602061180f833981519152604482015290519081900360640190fd5b60035460ff161515811515141561056d576105c6565b6003805460ff1916821515179081905560ff161561058a57426002555b6003546040805160ff90921615158252517f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec59181900360200190a15b50565b600c545b90565b6105d8610df3565b610617576040805162461bcd60e51b8152602060048201819052602482015260008051602061180f833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600061065260075460065461121990919063ffffffff16565b905090565b600154600160a01b900460ff166106b5576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6001805460ff60a01b19169055336106cb6110e3565b6009556106d6610ca7565b6008556001600160a01b0381161561071d576106f181610468565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b60008211610766576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b600c54610779908363ffffffff6111d016565b600c55336000908152600d602052604090205461079c908363ffffffff6111d016565b336000818152600d60205260409020919091556004546107c8916001600160a01b03909116908461130e565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001805460ff60a01b1916600160a01b179055565b60075481565b6001546001600160a01b031633146108645760405162461bcd60e51b815260040180806020018281038252602a815260200180611898602a913960400191505060405180910390fd5b600061086e6110e3565b600955610879610ca7565b6008556001600160a01b038116156108c05761089481610468565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b60055442106108e5576007546108dd90839063ffffffff61127216565b600655610934565b6005546000906108fb904263ffffffff6111d016565b905060006109146006548361121990919063ffffffff16565b60075490915061092e906104e0868463ffffffff6112b416565b60065550505b600354604080516370a0823160e01b8152306004820152905160009261010090046001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561098457600080fd5b505afa158015610998573d6000803e3d6000fd5b505050506040513d60208110156109ae57600080fd5b50516007549091506109c790829063ffffffff61127216565b6006541115610a1d576040805162461bcd60e51b815260206004820152601860248201527f50726f76696465642072657761726420746f6f20686967680000000000000000604482015290519081900360640190fd5b426008819055600754610a36919063ffffffff6112b416565b6005556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505050565b600154600160a01b900460ff16610acf576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6001805460ff60a01b1916905533610ae56110e3565b600955610af0610ca7565b6008556001600160a01b03811615610b3757610b0b81610468565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b336000908152600b60205260409020548015610bb757336000818152600b6020526040812055600354610b80916101009091046001600160a01b0316908363ffffffff61130e16565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b50506001805460ff60a01b1916600160a01b179055565b6001546001600160a01b031681565b60035460ff1681565b6001600160a01b03166000908152600d602052604090205490565b610c09610df3565b610c48576040805162461bcd60e51b8152602060048201819052602482015260008051602061180f833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6004546001600160a01b031681565b60065481565b600061065242600554611365565b610cbd610df3565b610cfc576040805162461bcd60e51b8152602060048201819052602482015260008051602061180f833981519152604482015290519081900360640190fd5b6004546001600160a01b03838116911614801590610d2d57506003546001600160a01b038381166101009092041614155b610d685760405162461bcd60e51b815260040180806020018281038252602d81526020018061186b602d913960400191505060405180910390fd5b610d8a610d73610de4565b6001600160a01b038416908363ffffffff61130e16565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b600a6020526000908152604090205481565b6000546001600160a01b031690565b600080546001600160a01b0316610e0861137b565b6001600160a01b031614905090565b60025481565b600154600160a01b900460ff16610e7b576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6001805460ff60a01b1916905560035460ff1615610eca5760405162461bcd60e51b815260040180806020018281038252603c81526020018061182f603c913960400191505060405180910390fd5b33610ed36110e3565b600955610ede610ca7565b6008556001600160a01b03811615610f2557610ef981610468565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b60008211610f6b576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b600c54610f7e908363ffffffff6112b416565b600c55336000908152600d6020526040902054610fa1908363ffffffff6112b416565b336000818152600d6020526040902091909155600454610fce916001600160a01b0390911690308561137f565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250506001805460ff60a01b1916600160a01b179055565b60085481565b611029610df3565b611068576040805162461bcd60e51b8152602060048201819052602482015260008051602061180f833981519152604482015290519081900360640190fd5b60055442116110a85760405162461bcd60e51b81526004018080602001828103825260588152602001806117706058913960600191505060405180910390fd5b60078190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b6000600c54600014156110f957506009546105cd565b61065261112e600c546104e0670de0b6b3a76400006111226006546111226008546104af610ca7565b9063ffffffff61121916565b6009549063ffffffff6112b416565b60035461010090046001600160a01b031681565b60095481565b336000908152600d602052604090205461117090610657565b611178610a71565b565b60055481565b611188610df3565b6111c7576040805162461bcd60e51b8152602060048201819052602482015260008051602061180f833981519152604482015290519081900360640190fd5b6105c6816113df565b600061121283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061147f565b9392505050565b600082611228575060006104f8565b8282028284828161123557fe5b04146112125760405162461bcd60e51b81526004018080602001828103825260218152602001806117ee6021913960400191505060405180910390fd5b600061121283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611516565b600082820183811015611212576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261136090849061157b565b505050565b60008183106113745781611212565b5090919050565b3390565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526113d990859061157b565b50505050565b6001600160a01b0381166114245760405162461bcd60e51b81526004018080602001828103825260268152602001806117c86026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000818484111561150e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114d35781810151838201526020016114bb565b50505050905090810190601f1680156115005780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836115655760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156114d35781810151838201526020016114bb565b50600083858161157157fe5b0495945050505050565b61158d826001600160a01b0316611733565b6115de576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061161c5780518252601f1990920191602091820191016115fd565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461167e576040519150601f19603f3d011682016040523d82523d6000602084013e611683565b606091505b5091509150816116da576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156113d9578080602001905160208110156116f657600080fd5b50516113d95760405162461bcd60e51b815260040180806020018281038252602a8152602001806118c2602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061176757508115155b94935050505056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656443616e6e6f7420776974686472617720746865207374616b696e67206f72207265776172647320746f6b656e7343616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820504c09004c482de93dcc6ad2cd71c84472d651c2db7e8b81906d714cb230282864736f6c63430005100032000000000000000000000000a6fb1df483b24eeab569e19447e0e107003b9e1500000000000000000000000041523be0ab764a2aef588b2d49eb424b71bcb9b0
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e45760003560e01c80637b0a47ee1161010f578063c8f33c91116100a2578063df136d6511610071578063df136d651461042a578063e9fad8ee14610432578063ebe2b12b1461043a578063f2fde38b14610442576101e4565b8063c8f33c91146103f5578063cc1a378f146103fd578063cd3daf9d1461041a578063d1af0c7d14610422576101e4565b80638da5cb5b116100de5780638da5cb5b146103c05780638f32d59b146103c857806391b4ded9146103d0578063a694fc3a146103d8576101e4565b80637b0a47ee1461035e57806380faa57d146103665780638980f11f1461036e5780638b8763471461039a576101e4565b8063386a9525116101875780635c975abb116101565780635c975abb1461030c57806370a0823114610328578063715018a61461034e57806372f702f314610356576101e4565b8063386a9525146102bb5780633c6b16ab146102c35780633d18b912146102e05780633fc6df6e146102e8576101e4565b806318160ddd116101c357806318160ddd1461026857806319762143146102705780631c1f78eb146102965780632e1a7d4d1461029e576101e4565b80628cc262146101e95780630700037d1461022157806316c38b3c14610247575b600080fd5b61020f600480360360208110156101ff57600080fd5b50356001600160a01b0316610468565b60408051918252519081900360200190f35b61020f6004803603602081101561023757600080fd5b50356001600160a01b03166104fe565b6102666004803603602081101561025d57600080fd5b50351515610510565b005b61020f6105c9565b6102666004803603602081101561028657600080fd5b50356001600160a01b03166105d0565b61020f610639565b610266600480360360208110156102b457600080fd5b5035610657565b61020f610815565b610266600480360360208110156102d957600080fd5b503561081b565b610266610a71565b6102f0610bce565b604080516001600160a01b039092168252519081900360200190f35b610314610bdd565b604080519115158252519081900360200190f35b61020f6004803603602081101561033e57600080fd5b50356001600160a01b0316610be6565b610266610c01565b6102f0610c92565b61020f610ca1565b61020f610ca7565b6102666004803603604081101561038457600080fd5b506001600160a01b038135169060200135610cb5565b61020f600480360360208110156103b057600080fd5b50356001600160a01b0316610dd2565b6102f0610de4565b610314610df3565b61020f610e17565b610266600480360360208110156103ee57600080fd5b5035610e1d565b61020f61101b565b6102666004803603602081101561041357600080fd5b5035611021565b61020f6110e3565b6102f061113d565b61020f611151565b610266611157565b61020f61117a565b6102666004803603602081101561045857600080fd5b50356001600160a01b0316611180565b6001600160a01b0381166000908152600b6020908152604080832054600a9092528220546104f891906104ec90670de0b6b3a7640000906104e0906104bb906104af6110e3565b9063ffffffff6111d016565b6001600160a01b0388166000908152600d60205260409020549063ffffffff61121916565b9063ffffffff61127216565b9063ffffffff6112b416565b92915050565b600b6020526000908152604090205481565b610518610df3565b610557576040805162461bcd60e51b8152602060048201819052602482015260008051602061180f833981519152604482015290519081900360640190fd5b60035460ff161515811515141561056d576105c6565b6003805460ff1916821515179081905560ff161561058a57426002555b6003546040805160ff90921615158252517f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec59181900360200190a15b50565b600c545b90565b6105d8610df3565b610617576040805162461bcd60e51b8152602060048201819052602482015260008051602061180f833981519152604482015290519081900360640190fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600061065260075460065461121990919063ffffffff16565b905090565b600154600160a01b900460ff166106b5576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6001805460ff60a01b19169055336106cb6110e3565b6009556106d6610ca7565b6008556001600160a01b0381161561071d576106f181610468565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b60008211610766576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b600c54610779908363ffffffff6111d016565b600c55336000908152600d602052604090205461079c908363ffffffff6111d016565b336000818152600d60205260409020919091556004546107c8916001600160a01b03909116908461130e565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506001805460ff60a01b1916600160a01b179055565b60075481565b6001546001600160a01b031633146108645760405162461bcd60e51b815260040180806020018281038252602a815260200180611898602a913960400191505060405180910390fd5b600061086e6110e3565b600955610879610ca7565b6008556001600160a01b038116156108c05761089481610468565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b60055442106108e5576007546108dd90839063ffffffff61127216565b600655610934565b6005546000906108fb904263ffffffff6111d016565b905060006109146006548361121990919063ffffffff16565b60075490915061092e906104e0868463ffffffff6112b416565b60065550505b600354604080516370a0823160e01b8152306004820152905160009261010090046001600160a01b0316916370a08231916024808301926020929190829003018186803b15801561098457600080fd5b505afa158015610998573d6000803e3d6000fd5b505050506040513d60208110156109ae57600080fd5b50516007549091506109c790829063ffffffff61127216565b6006541115610a1d576040805162461bcd60e51b815260206004820152601860248201527f50726f76696465642072657761726420746f6f20686967680000000000000000604482015290519081900360640190fd5b426008819055600754610a36919063ffffffff6112b416565b6005556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a1505050565b600154600160a01b900460ff16610acf576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6001805460ff60a01b1916905533610ae56110e3565b600955610af0610ca7565b6008556001600160a01b03811615610b3757610b0b81610468565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b336000908152600b60205260409020548015610bb757336000818152600b6020526040812055600354610b80916101009091046001600160a01b0316908363ffffffff61130e16565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b50506001805460ff60a01b1916600160a01b179055565b6001546001600160a01b031681565b60035460ff1681565b6001600160a01b03166000908152600d602052604090205490565b610c09610df3565b610c48576040805162461bcd60e51b8152602060048201819052602482015260008051602061180f833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6004546001600160a01b031681565b60065481565b600061065242600554611365565b610cbd610df3565b610cfc576040805162461bcd60e51b8152602060048201819052602482015260008051602061180f833981519152604482015290519081900360640190fd5b6004546001600160a01b03838116911614801590610d2d57506003546001600160a01b038381166101009092041614155b610d685760405162461bcd60e51b815260040180806020018281038252602d81526020018061186b602d913960400191505060405180910390fd5b610d8a610d73610de4565b6001600160a01b038416908363ffffffff61130e16565b604080516001600160a01b03841681526020810183905281517f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28929181900390910190a15050565b600a6020526000908152604090205481565b6000546001600160a01b031690565b600080546001600160a01b0316610e0861137b565b6001600160a01b031614905090565b60025481565b600154600160a01b900460ff16610e7b576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6001805460ff60a01b1916905560035460ff1615610eca5760405162461bcd60e51b815260040180806020018281038252603c81526020018061182f603c913960400191505060405180910390fd5b33610ed36110e3565b600955610ede610ca7565b6008556001600160a01b03811615610f2557610ef981610468565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b60008211610f6b576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b600c54610f7e908363ffffffff6112b416565b600c55336000908152600d6020526040902054610fa1908363ffffffff6112b416565b336000818152600d6020526040902091909155600454610fce916001600160a01b0390911690308561137f565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250506001805460ff60a01b1916600160a01b179055565b60085481565b611029610df3565b611068576040805162461bcd60e51b8152602060048201819052602482015260008051602061180f833981519152604482015290519081900360640190fd5b60055442116110a85760405162461bcd60e51b81526004018080602001828103825260588152602001806117706058913960600191505060405180910390fd5b60078190556040805182815290517ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d39181900360200190a150565b6000600c54600014156110f957506009546105cd565b61065261112e600c546104e0670de0b6b3a76400006111226006546111226008546104af610ca7565b9063ffffffff61121916565b6009549063ffffffff6112b416565b60035461010090046001600160a01b031681565b60095481565b336000908152600d602052604090205461117090610657565b611178610a71565b565b60055481565b611188610df3565b6111c7576040805162461bcd60e51b8152602060048201819052602482015260008051602061180f833981519152604482015290519081900360640190fd5b6105c6816113df565b600061121283836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525061147f565b9392505050565b600082611228575060006104f8565b8282028284828161123557fe5b04146112125760405162461bcd60e51b81526004018080602001828103825260218152602001806117ee6021913960400191505060405180910390fd5b600061121283836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611516565b600082820183811015611212576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261136090849061157b565b505050565b60008183106113745781611212565b5090919050565b3390565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526113d990859061157b565b50505050565b6001600160a01b0381166114245760405162461bcd60e51b81526004018080602001828103825260268152602001806117c86026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000818484111561150e5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156114d35781810151838201526020016114bb565b50505050905090810190601f1680156115005780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836115655760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156114d35781810151838201526020016114bb565b50600083858161157157fe5b0495945050505050565b61158d826001600160a01b0316611733565b6115de576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061161c5780518252601f1990920191602091820191016115fd565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461167e576040519150601f19603f3d011682016040523d82523d6000602084013e611683565b606091505b5091509150816116da576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156113d9578080602001905160208110156116f657600080fd5b50516113d95760405162461bcd60e51b815260040180806020018281038252602a8152602001806118c2602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061176757508115155b94935050505056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656443616e6e6f7420776974686472617720746865207374616b696e67206f72207265776172647320746f6b656e7343616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820504c09004c482de93dcc6ad2cd71c84472d651c2db7e8b81906d714cb230282864736f6c63430005100032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a6fb1df483b24eeab569e19447e0e107003b9e1500000000000000000000000041523be0ab764a2aef588b2d49eb424b71bcb9b0
-----Decoded View---------------
Arg [0] : _rewardsToken (address): 0xa6FB1DF483b24EEAB569e19447E0e107003B9E15
Arg [1] : _stakingToken (address): 0x41523Be0ab764a2aEf588B2D49eb424B71bcB9b0
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000a6fb1df483b24eeab569e19447e0e107003b9e15
Arg [1] : 00000000000000000000000041523be0ab764a2aef588b2d49eb424b71bcb9b0
Deployed Bytecode Sourcemap
23372:6027:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23372:6027:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25079:198;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25079:198:0;-1:-1:-1;;;;;25079:198:0;;:::i;:::-;;;;;;;;;;;;;;;;23910:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23910:42:0;-1:-1:-1;;;;;23910:42:0;;:::i;22681:488::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22681:488:0;;;;:::i;:::-;;24381:93;;;:::i;21983:142::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21983:142:0;-1:-1:-1;;;;;21983:142:0;;:::i;25285:121::-;;;:::i;25855:357::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25855:357:0;;:::i;23719:40::-;;;:::i;26696:1083::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26696:1083:0;;:::i;26220:307::-;;;:::i;21717:34::-;;;:::i;:::-;;;;-1:-1:-1;;;;;21717:34:0;;;;;;;;;;;;;;22265:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;24482:112;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24482:112:0;-1:-1:-1;;;;;24482:112:0;;:::i;20830:140::-;;;:::i;23612:26::-;;;:::i;23683:29::-;;;:::i;24602:131::-;;;:::i;27894:394::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;27894:394:0;;;;;;;;:::i;23846:57::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23846:57:0;-1:-1:-1;;;;;23846:57:0;;:::i;20019:79::-;;;:::i;20385:94::-;;;:::i;22233:25::-;;;:::i;25468:379::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25468:379:0;;:::i;23766:29::-;;;:::i;28296:346::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28296:346:0;;:::i;24741:330::-;;;:::i;23579:26::-;;;:::i;23802:35::-;;;:::i;26535:97::-;;;:::i;23645:31::-;;;:::i;21125:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21125:109:0;-1:-1:-1;;;;;21125:109:0;;:::i;25079:198::-;-1:-1:-1;;;;;25252:16:0;;25133:7;25252:16;;;:7;:16;;;;;;;;;25204:22;:31;;;;;;25160:109;;25252:16;25160:87;;25242:4;;25160:77;;25183:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;-1:-1:-1;;;;;25160:18:0;;;;;;:9;:18;;;;;;;:77;:22;:77;:::i;:::-;:81;:87;:81;:87;:::i;:::-;:91;:109;:91;:109;:::i;:::-;25153:116;25079:198;-1:-1:-1;;25079:198:0:o;23910:42::-;;;;;;;;;;;;;:::o;22681:488::-;20231:9;:7;:9::i;:::-;20223:54;;;;;-1:-1:-1;;;20223:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20223:54:0;;;;;;;;;;;;;;;22834:6;;;;22823:17;;;;;;22819:56;;;22857:7;;22819:56;22921:6;:16;;-1:-1:-1;;22921:16:0;;;;;;;;;;23006:6;23002:58;;;23045:3;23029:13;:19;23002:58;23154:6;;23141:20;;;23154:6;;;;23141:20;;;;;;;;;;;;;;20288:1;22681:488;:::o;24381:93::-;24454:12;;24381:93;;:::o;21983:142::-;20231:9;:7;:9::i;:::-;20223:54;;;;;-1:-1:-1;;;20223:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20223:54:0;;;;;;;;;;;;;;;22075:19;:42;;-1:-1:-1;;;;;;22075:42:0;-1:-1:-1;;;;;22075:42:0;;;;;;;;;;21983:142::o;25285:121::-;25340:7;25367:31;25382:15;;25367:10;;:14;;:31;;;;:::i;:::-;25360:38;;25285:121;:::o;25855:357::-;17693:11;;-1:-1:-1;;;17693:11:0;;;;17685:55;;;;;-1:-1:-1;;;17685:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17818:11;:19;;-1:-1:-1;;;;17818:19:0;;;25922:10;28768:16;:14;:16::i;:::-;28745:20;:39;28812:26;:24;:26::i;:::-;28795:14;:43;-1:-1:-1;;;;;28853:21:0;;;28849:157;;28910:15;28917:7;28910:6;:15::i;:::-;-1:-1:-1;;;;;28891:16:0;;;;;;:7;:16;;;;;;;;:34;;;;28974:20;;28940:22;:31;;;;;;:54;28849:157;25962:1;25953:6;:10;25945:40;;;;;-1:-1:-1;;;25945:40:0;;;;;;;;;;;;-1:-1:-1;;;25945:40:0;;;;;;;;;;;;;;;26011:12;;:24;;26028:6;26011:24;:16;:24;:::i;:::-;25996:12;:39;26080:10;26070:21;;;;:9;:21;;;;;;:33;;26096:6;26070:33;:25;:33;:::i;:::-;26056:10;26046:21;;;;:9;:21;;;;;:57;;;;26114:12;;:45;;-1:-1:-1;;;;;26114:12:0;;;;26152:6;26114:25;:45::i;:::-;26175:29;;;;;;;;26185:10;;26175:29;;;;;;;;;;-1:-1:-1;;18012:4:0;17998:18;;-1:-1:-1;;;;17998:18:0;-1:-1:-1;;;17998:18:0;;;25855:357::o;23719:40::-;;;;:::o;26696:1083::-;21889:19;;-1:-1:-1;;;;;21889:19:0;21875:10;:33;21867:88;;;;-1:-1:-1;;;21867:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26794:1;28768:16;:14;:16::i;:::-;28745:20;:39;28812:26;:24;:26::i;:::-;28795:14;:43;-1:-1:-1;;;;;28853:21:0;;;28849:157;;28910:15;28917:7;28910:6;:15::i;:::-;-1:-1:-1;;;;;28891:16:0;;;;;;:7;:16;;;;;;;;:34;;;;28974:20;;28940:22;:31;;;;;;:54;28849:157;26832:12;;26813:15;:31;26809:318;;26885:15;;26874:27;;:6;;:27;:10;:27;:::i;:::-;26861:10;:40;26809:318;;;26954:12;;26934:17;;26954:33;;26971:15;26954:33;:16;:33;:::i;:::-;26934:53;;27002:16;27021:25;27035:10;;27021:9;:13;;:25;;;;:::i;:::-;27099:15;;27002:44;;-1:-1:-1;27074:41:0;;:20;:6;27002:44;27074:20;:10;:20;:::i;:41::-;27061:10;:54;-1:-1:-1;;26809:318:0;27502:12;;:37;;;-1:-1:-1;;;27502:37:0;;27533:4;27502:37;;;;;;-1:-1:-1;;27502:12:0;;;-1:-1:-1;;;;;27502:12:0;;:22;;:37;;;;;;;;;;;;;;:12;:37;;;5:2:-1;;;;30:1;27;20:12;5:2;27502:37:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;27502:37:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27502:37:0;27584:15;;27502:37;;-1:-1:-1;27572:28:0;;27502:37;;27572:28;:11;:28;:::i;:::-;27558:10;;:42;;27550:79;;;;;-1:-1:-1;;;27550:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27659:15;27642:14;:32;;;27720:15;;27700:36;;27659:15;27700:36;:19;:36;:::i;:::-;27685:12;:51;27752:19;;;;;;;;;;;;;;;;;29016:1;21966;26696:1083;:::o;26220:307::-;17693:11;;-1:-1:-1;;;17693:11:0;;;;17685:55;;;;;-1:-1:-1;;;17685:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17818:11;:19;;-1:-1:-1;;;;17818:19:0;;;26274:10;28768:16;:14;:16::i;:::-;28745:20;:39;28812:26;:24;:26::i;:::-;28795:14;:43;-1:-1:-1;;;;;28853:21:0;;;28849:157;;28910:15;28917:7;28910:6;:15::i;:::-;-1:-1:-1;;;;;28891:16:0;;;;;;:7;:16;;;;;;;;:34;;;;28974:20;;28940:22;:31;;;;;;:54;28849:157;26322:10;26297:14;26314:19;;;:7;:19;;;;;;26348:10;;26344:176;;26383:10;26397:1;26375:19;;;:7;:19;;;;;:23;26413:12;;:45;;:12;;;;-1:-1:-1;;;;;26413:12:0;;26451:6;26413:45;:25;:45;:::i;:::-;26478:30;;;;;;;;26489:10;;26478:30;;;;;;;;;;26344:176;-1:-1:-1;;18012:4:0;17998:18;;-1:-1:-1;;;;17998:18:0;-1:-1:-1;;;17998:18:0;;;26220:307::o;21717:34::-;;;-1:-1:-1;;;;;21717:34:0;;:::o;22265:18::-;;;;;;:::o;24482:112::-;-1:-1:-1;;;;;24568:18:0;24541:7;24568:18;;;:9;:18;;;;;;;24482:112::o;20830:140::-;20231:9;:7;:9::i;:::-;20223:54;;;;;-1:-1:-1;;;20223:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20223:54:0;;;;;;;;;;;;;;;20929:1;20913:6;;20892:40;;-1:-1:-1;;;;;20913:6:0;;;;20892:40;;20929:1;;20892:40;20960:1;20943:19;;-1:-1:-1;;;;;;20943:19:0;;;20830:140::o;23612:26::-;;;-1:-1:-1;;;;;23612:26:0;;:::o;23683:29::-;;;;:::o;24602:131::-;24659:7;24686:39;24695:15;24712:12;;24686:8;:39::i;27894:394::-;20231:9;:7;:9::i;:::-;20223:54;;;;;-1:-1:-1;;;20223:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20223:54:0;;;;;;;;;;;;;;;28035:12;;-1:-1:-1;;;;;28011:37:0;;;28035:12;;28011:37;;;;:78;;-1:-1:-1;28076:12:0;;-1:-1:-1;;;;;28052:37:0;;;28076:12;;;;;28052:37;;28011:78;27989:173;;;;-1:-1:-1;;;27989:173:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28173:55;28207:7;:5;:7::i;:::-;-1:-1:-1;;;;;28173:33:0;;;28216:11;28173:55;:33;:55;:::i;:::-;28244:36;;;-1:-1:-1;;;;;28244:36:0;;;;;;;;;;;;;;;;;;;;;;;27894:394;;:::o;23846:57::-;;;;;;;;;;;;;:::o;20019:79::-;20057:7;20084:6;-1:-1:-1;;;;;20084:6:0;20019:79;:::o;20385:94::-;20425:4;20465:6;;-1:-1:-1;;;;;20465:6:0;20449:12;:10;:12::i;:::-;-1:-1:-1;;;;;20449:22:0;;20442:29;;20385:94;:::o;22233:25::-;;;;:::o;25468:379::-;17693:11;;-1:-1:-1;;;17693:11:0;;;;17685:55;;;;;-1:-1:-1;;;17685:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17818:11;:19;;-1:-1:-1;;;;17818:19:0;;;23258:6;;17818:19;23258:6;23257:7;23249:80;;;;-1:-1:-1;;;23249:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25544:10;28768:16;:14;:16::i;:::-;28745:20;:39;28812:26;:24;:26::i;:::-;28795:14;:43;-1:-1:-1;;;;;28853:21:0;;;28849:157;;28910:15;28917:7;28910:6;:15::i;:::-;-1:-1:-1;;;;;28891:16:0;;;;;;:7;:16;;;;;;;;:34;;;;28974:20;;28940:22;:31;;;;;;:54;28849:157;25584:1;25575:6;:10;25567:37;;;;;-1:-1:-1;;;25567:37:0;;;;;;;;;;;;-1:-1:-1;;;25567:37:0;;;;;;;;;;;;;;;25630:12;;:24;;25647:6;25630:24;:16;:24;:::i;:::-;25615:12;:39;25699:10;25689:21;;;;:9;:21;;;;;;:33;;25715:6;25689:33;:25;:33;:::i;:::-;25675:10;25665:21;;;;:9;:21;;;;;:57;;;;25733:12;;:64;;-1:-1:-1;;;;;25733:12:0;;;;25783:4;25790:6;25733:29;:64::i;:::-;25813:26;;;;;;;;25820:10;;25813:26;;;;;;;;;;-1:-1:-1;;18012:4:0;17998:18;;-1:-1:-1;;;;17998:18:0;-1:-1:-1;;;17998:18:0;;;25468:379::o;23766:29::-;;;;:::o;28296:346::-;20231:9;:7;:9::i;:::-;20223:54;;;;;-1:-1:-1;;;20223:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20223:54:0;;;;;;;;;;;;;;;28406:12;;28388:15;:30;28380:154;;;;-1:-1:-1;;;28380:154:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28545:15;:34;;;28595:39;;;;;;;;;;;;;;;;;28296:346;:::o;24741:330::-;24788:7;24812:12;;24828:1;24812:17;24808:77;;;-1:-1:-1;24853:20:0;;24846:27;;24808:77;24915:148;24958:90;25035:12;;24958:72;25025:4;24958:62;25009:10;;24958:46;24989:14;;24958:26;:24;:26::i;:46::-;:50;:62;:50;:62;:::i;:90::-;24915:20;;;:148;:24;:148;:::i;23579:26::-;;;;;;-1:-1:-1;;;;;23579:26:0;;:::o;23802:35::-;;;;:::o;26535:97::-;26590:10;26580:21;;;;:9;:21;;;;;;26571:31;;:8;:31::i;:::-;26613:11;:9;:11::i;:::-;26535:97::o;23645:31::-;;;;:::o;21125:109::-;20231:9;:7;:9::i;:::-;20223:54;;;;;-1:-1:-1;;;20223:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;20223:54:0;;;;;;;;;;;;;;;21198:28;21217:8;21198:18;:28::i;2090:136::-;2148:7;2175:43;2179:1;2182;2175:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;2168:50;2090:136;-1:-1:-1;;;2090:136:0:o;3006:471::-;3064:7;3309:6;3305:47;;-1:-1:-1;3339:1:0;3332:8;;3305:47;3376:5;;;3380:1;3376;:5;:1;3400:5;;;;;:10;3392:56;;;;-1:-1:-1;;;3392:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3945:132;4003:7;4030:39;4034:1;4037;4030:39;;;;;;;;;;;;;;;;;:3;:39::i;1634:181::-;1692:7;1724:5;;;1748:6;;;;1740:46;;;;;-1:-1:-1;;;1740:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;12583:176;12692:58;;;-1:-1:-1;;;;;12692:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12692:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12666:85:0;;12685:5;;12666:18;:85::i;:::-;12583:176;;;:::o;377:106::-;435:7;466:1;462;:5;:13;;474:1;462:13;;;-1:-1:-1;470:1:0;;377:106;-1:-1:-1;377:106:0:o;18810:98::-;18890:10;18810:98;:::o;12767:204::-;12894:68;;;-1:-1:-1;;;;;12894:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12894:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12868:95:0;;12887:5;;12868:18;:95::i;:::-;12767:204;;;;:::o;21340:229::-;-1:-1:-1;;;;;21414:22:0;;21406:73;;;;-1:-1:-1;;;21406:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21516:6;;;21495:38;;-1:-1:-1;;;;;21495:38:0;;;;21516:6;;;21495:38;;;21544:6;:17;;-1:-1:-1;;;;;;21544:17:0;-1:-1:-1;;;;;21544:17:0;;;;;;;;;;21340:229::o;2563:192::-;2649:7;2685:12;2677:6;;;;2669:29;;;;-1:-1:-1;;;2669: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;2669:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2721:5:0;;;2563:192::o;4607:345::-;4693:7;4795:12;4788:5;4780:28;;;;-1:-1:-1;;;4780:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;4780:28:0;;4819:9;4835:1;4831;:5;;;;;;;4607:345;-1:-1:-1;;;;;4607:345:0:o;14622:1114::-;15226:27;15234:5;-1:-1:-1;;;;;15226:25:0;;:27::i;:::-;15218:71;;;;;-1:-1:-1;;;15218:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15363:12;15377:23;15412:5;-1:-1:-1;;;;;15404:19:0;15424:4;15404: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;;;15404: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;;15362:67:0;;;;15448:7;15440:52;;;;;-1:-1:-1;;;15440:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15509:17;;:21;15505:224;;15651:10;15640:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15640:30:0;15632:85;;;;-1:-1:-1;;;15632:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9707:619;9767:4;10235:20;;10078:66;10275:23;;;;;;:42;;-1:-1:-1;10302:15:0;;;10275:42;10267:51;9707:619;-1:-1:-1;;;;9707:619:0:o
Swarm Source
bzzr://504c09004c482de93dcc6ad2cd71c84472d651c2db7e8b81906d714cb2302828
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.