Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 1,343 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Reward | 21503471 | 10 days ago | IN | 0 ETH | 0.00042257 | ||||
Withdraw | 21503452 | 10 days ago | IN | 0 ETH | 0.00039075 | ||||
Withdraw | 19001366 | 360 days ago | IN | 0 ETH | 0.00119161 | ||||
Stake | 18222472 | 469 days ago | IN | 0 ETH | 0.00139841 | ||||
Exit | 17885879 | 516 days ago | IN | 0 ETH | 0.00495111 | ||||
Get Reward | 17533724 | 565 days ago | IN | 0 ETH | 0.0011249 | ||||
Stake | 16606458 | 696 days ago | IN | 0 ETH | 0.00144994 | ||||
Withdraw | 16604504 | 696 days ago | IN | 0 ETH | 0.00128229 | ||||
Get Reward | 16423826 | 721 days ago | IN | 0 ETH | 0.00103479 | ||||
Withdraw | 16423750 | 721 days ago | IN | 0 ETH | 0.00133405 | ||||
Get Reward | 16235235 | 748 days ago | IN | 0 ETH | 0.00097227 | ||||
Withdraw | 16235225 | 748 days ago | IN | 0 ETH | 0.00105928 | ||||
Withdraw | 16020932 | 778 days ago | IN | 0 ETH | 0.00093567 | ||||
Get Reward | 16005050 | 780 days ago | IN | 0 ETH | 0.0012137 | ||||
Withdraw | 15817423 | 806 days ago | IN | 0 ETH | 0.00090564 | ||||
Get Reward | 15759400 | 814 days ago | IN | 0 ETH | 0.00082725 | ||||
Withdraw | 15698466 | 823 days ago | IN | 0 ETH | 0.00058691 | ||||
Get Reward | 15698457 | 823 days ago | IN | 0 ETH | 0.00058277 | ||||
Get Reward | 15695193 | 823 days ago | IN | 0 ETH | 0.00056018 | ||||
Get Reward | 15583912 | 839 days ago | IN | 0 ETH | 0.00127343 | ||||
Withdraw | 15516501 | 849 days ago | IN | 0 ETH | 0.00098935 | ||||
Get Reward | 15516488 | 849 days ago | IN | 0 ETH | 0.0008647 | ||||
Withdraw | 15331141 | 878 days ago | IN | 0 ETH | 0.00045378 | ||||
Get Reward | 15328625 | 879 days ago | IN | 0 ETH | 0.00103143 | ||||
Get Reward | 15310256 | 882 days ago | IN | 0 ETH | 0.00117897 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
TheGraveyard
Compiler Version
v0.8.6+commit.11564f7e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
/* ▒███████▒ ▒█████ ███▄ ▄███▓ ▄▄▄▄ ██▓█████▒███████▒ ▒ ▒ ▒ ▄▀░▒██▒ ██▒ ▓██▒▀█▀ ██▒ ▓█████▄ ▒▓██▓█ ▀▒ ▒ ▒ ▄▀░ ░ ▒ ▄▀▒░ ▒██░ ██▒ ▓██ ▓██░ ▒██▒ ▄██░▒██▒███ ░ ▒ ▄▀▒░ ▄▀▒ ░▒██ ██░ ▒██ ▒██ ▒██░█▀ ░██▒▓█ ▄ ▄▀▒ ░ ▒███████▒░ ████▓▒░▒▒██▒ ░██▒▒░▓█ ▀█▓ ░██░▒████▒███████▒ ░▒▒ ▓░▒░▒░ ▒░▒░▒░ ░░ ▒░ ░ ░░░▒▓███▀▒ ░▓ ░░ ▒░ ░▒▒ ▓░▒░▒ ░ ▒ ▒ ░ ▒ ░ ▒ ▒░ ░░ ░ ░░▒░▒ ░ ▒ ░ ░ ░ ▒ ▒ ░ ▒ ░ ░ ░ ░ ░░ ░ ░ ▒ ░ ░ ░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ▄████ ██▀███ ▄▄▄ ██▒ █▓▓█████▓██ ██▓ ▄▄▄ ██▀███ ▓█████▄ ▒ ██▒ ▀█▒▓██ ▒ ██▒▒████▄ ▓██░ █▒▓█ ▀ ▒██ ██▒▒████▄ ▓██ ▒ ██▒ ▒██▀ ██▌ ░▒██░▄▄▄░▓██ ░▄█ ▒▒██ ▀█▄ ▓██ █▒░▒███ ▒██ ██░▒██ ▀█▄ ▓██ ░▄█ ▒ ░██ █▌ ░░▓█ ██▓▒██▀▀█▄ ░██▄▄▄▄██ ▒██ █░░▒▓█ ▄ ░ ▐██▓░░██▄▄▄▄██▒██▀▀█▄ ▒░▓█▄ ▌ ░▒▓███▀▒░░██▓ ▒██▒ ▓█ ▓██ ▒▀█░ ░▒████ ░ ██▒▓░ ▓█ ▓██░██▓ ▒██▒░░▒████▓ ░▒ ▒ ░ ▒▓ ░▒▓░ ▒▒ ▓▒█ ░ ▐░ ░░ ▒░ ██▒▒▒ ▒▒ ▓▒█░ ▒▓ ░▒▓░░ ▒▒▓ ▒ ░ ░ ░▒ ░ ▒░ ░ ▒▒ ░ ░░ ░ ░ ▓██ ░▒░ ░ ▒▒ ░▒ ░ ▒░ ░ ▒ ▒ ░ ░ ░ ░ ░ ░ ░ ▒ ░░ ░ ▒ ▒ ░░ ░ ▒ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ ░ */ // SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol"; contract StakedTokenWrapper { uint256 public totalSupply; mapping(address => uint256) private _balances; IERC20 public stakedToken; event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function stakeFor(address forWhom, uint128 amount) public payable virtual { IERC20 st = stakedToken; if (st == IERC20(address(0))) { //eth unchecked { totalSupply += msg.value; _balances[forWhom] += msg.value; } } else { require(msg.value == 0, "non-zero eth"); require(amount > 0, "Cannot stake 0"); require( st.transferFrom(msg.sender, address(this), amount), "staked token transfer failed" ); unchecked { totalSupply += amount; _balances[forWhom] += amount; } } emit Staked(forWhom, amount); } function withdraw(uint128 amount) public virtual { require(amount <= _balances[msg.sender], "withdraw: balance is lower"); unchecked { _balances[msg.sender] -= amount; totalSupply = totalSupply - amount; } IERC20 st = stakedToken; if (st == IERC20(address(0))) { // eth (bool success, ) = msg.sender.call{ value: amount }(""); require(success, "eth transfer failure"); } else { require( stakedToken.transfer(msg.sender, amount), "staked token transfer failed" ); } emit Withdrawn(msg.sender, amount); } } contract TheGraveyard is StakedTokenWrapper, Ownable, Pausable { IERC20 public rewardToken; uint256 public rewardRate; uint64 public periodFinish; uint64 public lastUpdateTime; uint128 public rewardPerTokenStored; struct UserRewards { uint128 userRewardPerTokenPaid; uint128 rewards; } mapping(address => UserRewards) public userRewards; event RewardAdded(uint256 reward); event RewardPaid(address indexed user, uint256 reward); constructor(IERC20 _rewardToken, IERC20 _stakedToken) { rewardToken = _rewardToken; stakedToken = _stakedToken; _pause(); } modifier updateReward(address account) { uint128 _rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); rewardPerTokenStored = _rewardPerTokenStored; userRewards[account].rewards = earned(account); userRewards[account].userRewardPerTokenPaid = _rewardPerTokenStored; _; } function lastTimeRewardApplicable() public view returns (uint64) { uint64 blockTimestamp = uint64(block.timestamp); return blockTimestamp < periodFinish ? blockTimestamp : periodFinish; } function rewardPerToken() public view returns (uint128) { uint256 totalStakedSupply = totalSupply; if (totalStakedSupply == 0) { return rewardPerTokenStored; } unchecked { uint256 rewardDuration = lastTimeRewardApplicable() - lastUpdateTime; return uint128( rewardPerTokenStored + (rewardDuration * rewardRate * 1e18) / totalStakedSupply ); } } function earned(address account) public view returns (uint128) { unchecked { return uint128( (balanceOf(account) * (rewardPerToken() - userRewards[account].userRewardPerTokenPaid)) / 1e18 + userRewards[account].rewards ); } } function stake(uint128 amount) external payable whenNotPaused { stakeFor(msg.sender, amount); } function stakeFor(address forWhom, uint128 amount) public payable override updateReward(forWhom) whenNotPaused { super.stakeFor(forWhom, amount); } function withdraw(uint128 amount) public override updateReward(msg.sender) whenNotPaused { super.withdraw(amount); } function exit() external whenNotPaused { getReward(); withdraw(uint128(balanceOf(msg.sender))); } function getReward() public updateReward(msg.sender) whenNotPaused { uint256 reward = earned(msg.sender); if (reward > 0) { userRewards[msg.sender].rewards = 0; require( rewardToken.transfer(msg.sender, reward), "reward transfer failed" ); emit RewardPaid(msg.sender, reward); } } function setRewardParams(uint128 reward, uint64 duration) external onlyOwner { unchecked { require(reward > 0); rewardPerTokenStored = rewardPerToken(); uint64 blockTimestamp = uint64(block.timestamp); uint256 maxRewardSupply = rewardToken.balanceOf(address(this)); if (rewardToken == stakedToken) maxRewardSupply -= totalSupply; uint256 leftover = 0; if (blockTimestamp >= periodFinish) { rewardRate = reward / duration; } else { uint256 remaining = periodFinish - blockTimestamp; leftover = remaining * rewardRate; rewardRate = (reward + leftover) / duration; } require(reward + leftover <= maxRewardSupply, "not enough tokens"); lastUpdateTime = blockTimestamp; periodFinish = blockTimestamp + duration; emit RewardAdded(reward); } } function withdrawReward() external onlyOwner { uint256 rewardSupply = rewardToken.balanceOf(address(this)); //ensure funds staked by users can't be transferred out if (rewardToken == stakedToken) rewardSupply -= totalSupply; require(rewardToken.transfer(msg.sender, rewardSupply)); rewardRate = 0; periodFinish = uint64(block.timestamp); } // Public accessor methods for pausing function pause() public onlyOwner { _pause(); } function unpause() public onlyOwner { _unpause(); } } /* ____ __ __ __ _ / __/__ __ ___ / /_ / / ___ / /_ (_)__ __ _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ / /___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\ /___/ * Synthetix: YFIRewards.sol * * Docs: https://docs.synthetix.io/ * * * MIT License * =========== * * Copyright (c) 2020 Synthetix * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE */
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @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. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * 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. */ abstract 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() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the 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 virtual onlyOwner { _setOwner(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 virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @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]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being 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 percentage 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. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @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(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ 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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @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) { return a + b; } /** * @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 a - b; } /** * @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) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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 a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting 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. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Library for managing * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive * types. * * Sets have the following properties: * * - Elements are added, removed, and checked for existence in constant time * (O(1)). * - Elements are enumerated in O(n). No guarantees are made on the ordering. * * ``` * contract Example { * // Add the library methods * using EnumerableSet for EnumerableSet.AddressSet; * * // Declare a set state variable * EnumerableSet.AddressSet private mySet; * } * ``` * * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`) * and `uint256` (`UintSet`) are supported. */ library EnumerableSet { // To implement this library for multiple types with as little code // repetition as possible, we write it in terms of a generic Set type with // bytes32 values. // The Set implementation uses private functions, and user-facing // implementations (such as AddressSet) are just wrappers around the // underlying Set. // This means that we can only create new EnumerableSets for types that fit // in bytes32. struct Set { // Storage of set values bytes32[] _values; // Position of the value in the `values` array, plus 1 because index 0 // means a value is not in the set. mapping(bytes32 => uint256) _indexes; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function _add(Set storage set, bytes32 value) private returns (bool) { if (!_contains(set, value)) { set._values.push(value); // The value is stored at length-1, but we add 1 to all indexes // and use 0 as a sentinel value set._indexes[value] = set._values.length; return true; } else { return false; } } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function _remove(Set storage set, bytes32 value) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint256 valueIndex = set._indexes[value]; if (valueIndex != 0) { // Equivalent to contains(set, value) // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array, as noted in {at}. uint256 toDeleteIndex = valueIndex - 1; uint256 lastIndex = set._values.length - 1; if (lastIndex != toDeleteIndex) { bytes32 lastvalue = set._values[lastIndex]; // Move the last value to the index where the value to delete is set._values[toDeleteIndex] = lastvalue; // Update the index for the moved value set._indexes[lastvalue] = valueIndex; // Replace lastvalue's index to valueIndex } // Delete the slot where the moved value was stored set._values.pop(); // Delete the index for the deleted slot delete set._indexes[value]; return true; } else { return false; } } /** * @dev Returns true if the value is in the set. O(1). */ function _contains(Set storage set, bytes32 value) private view returns (bool) { return set._indexes[value] != 0; } /** * @dev Returns the number of values on the set. O(1). */ function _length(Set storage set) private view returns (uint256) { return set._values.length; } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function _at(Set storage set, uint256 index) private view returns (bytes32) { return set._values[index]; } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function _values(Set storage set) private view returns (bytes32[] memory) { return set._values; } // Bytes32Set struct Bytes32Set { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _add(set._inner, value); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) { return _remove(set._inner, value); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) { return _contains(set._inner, value); } /** * @dev Returns the number of values in the set. O(1). */ function length(Bytes32Set storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) { return _at(set._inner, index); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(Bytes32Set storage set) internal view returns (bytes32[] memory) { return _values(set._inner); } // AddressSet struct AddressSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(AddressSet storage set, address value) internal returns (bool) { return _add(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(AddressSet storage set, address value) internal returns (bool) { return _remove(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(AddressSet storage set, address value) internal view returns (bool) { return _contains(set._inner, bytes32(uint256(uint160(value)))); } /** * @dev Returns the number of values in the set. O(1). */ function length(AddressSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(AddressSet storage set, uint256 index) internal view returns (address) { return address(uint160(uint256(_at(set._inner, index)))); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(AddressSet storage set) internal view returns (address[] memory) { bytes32[] memory store = _values(set._inner); address[] memory result; assembly { result := store } return result; } // UintSet struct UintSet { Set _inner; } /** * @dev Add a value to a set. O(1). * * Returns true if the value was added to the set, that is if it was not * already present. */ function add(UintSet storage set, uint256 value) internal returns (bool) { return _add(set._inner, bytes32(value)); } /** * @dev Removes a value from a set. O(1). * * Returns true if the value was removed from the set, that is if it was * present. */ function remove(UintSet storage set, uint256 value) internal returns (bool) { return _remove(set._inner, bytes32(value)); } /** * @dev Returns true if the value is in the set. O(1). */ function contains(UintSet storage set, uint256 value) internal view returns (bool) { return _contains(set._inner, bytes32(value)); } /** * @dev Returns the number of values on the set. O(1). */ function length(UintSet storage set) internal view returns (uint256) { return _length(set._inner); } /** * @dev Returns the value stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of values inside the * array, and it may change when more values are added or removed. * * Requirements: * * - `index` must be strictly less than {length}. */ function at(UintSet storage set, uint256 index) internal view returns (uint256) { return uint256(_at(set._inner, index)); } /** * @dev Return the entire set in an array * * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that * this function has an unbounded cost, and using it as part of a state-changing function may render the function * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block. */ function values(UintSet storage set) internal view returns (uint256[] memory) { bytes32[] memory store = _values(set._inner); uint256[] memory result; assembly { result := store } return result; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with 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. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"contract IERC20","name":"_stakedToken","type":"address"}],"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":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","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"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"reward","type":"uint128"},{"internalType":"uint64","name":"duration","type":"uint64"}],"name":"setRewardParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"stake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"forWhom","type":"address"},{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"stakeFor","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"stakedToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewards","outputs":[{"internalType":"uint128","name":"userRewardPerTokenPaid","type":"uint128"},{"internalType":"uint128","name":"rewards","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawReward","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604051620018eb380380620018eb8339810160408190526200003491620001af565b6200003f336200008e565b6003805460ff60a01b19169055600480546001600160a01b038085166001600160a01b031992831617909255600280549284169290911691909117905562000086620000e0565b5050620001e7565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620000f4600354600160a01b900460ff1690565b15620001395760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b604482015260640160405180910390fd5b6003805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258620001753390565b6040516001600160a01b03909116815260200160405180910390a1565b80516001600160a01b0381168114620001aa57600080fd5b919050565b60008060408385031215620001c357600080fd5b620001ce8362000192565b9150620001de6020840162000192565b90509250929050565b6116f480620001f76000396000f3fe6080604052600436106101655760003560e01c80638456cb59116100d1578063cc7a262e1161008a578063e9fad8ee11610064578063e9fad8ee14610455578063ebe2b12b1461046a578063f2fde38b1461048a578063f7c618c1146104aa57600080fd5b8063cc7a262e146103f9578063cd3daf9d14610419578063df136d651461042e57600080fd5b80638456cb591461034357806388fe2be81461035857806389ee4bde1461036b5780638da5cb5b1461038b578063c885bc58146103bd578063c8f33c91146103d257600080fd5b80635c975abb116101235780635c975abb1461027857806370458d85146102a257806370a08231146102b5578063715018a6146102eb5780637b0a47ee1461030057806380faa57d1461031657600080fd5b80628cc2621461016a57806302387a7b146101a75780630660f1e8146101c957806318160ddd1461022a5780633d18b9121461024e5780633f4ba83a14610263575b600080fd5b34801561017657600080fd5b5061018a610185366004611536565b6104ca565b6040516001600160801b0390911681526020015b60405180910390f35b3480156101b357600080fd5b506101c76101c23660046115ad565b610547565b005b3480156101d557600080fd5b5061020a6101e4366004611536565b6007602052600090815260409020546001600160801b0380821691600160801b90041682565b604080516001600160801b0393841681529290911660208301520161019e565b34801561023657600080fd5b5061024060005481565b60405190815260200161019e565b34801561025a57600080fd5b506101c761061a565b34801561026f57600080fd5b506101c7610813565b34801561028457600080fd5b50600354600160a01b900460ff16604051901515815260200161019e565b6101c76102b0366004611558565b610847565b3480156102c157600080fd5b506102406102d0366004611536565b6001600160a01b031660009081526001602052604090205490565b3480156102f757600080fd5b506101c7610913565b34801561030c57600080fd5b5061024060055481565b34801561032257600080fd5b5061032b610947565b6040516001600160401b03909116815260200161019e565b34801561034f57600080fd5b506101c761097b565b6101c76103663660046115ad565b6109ad565b34801561037757600080fd5b506101c76103863660046115c8565b6109e4565b34801561039757600080fd5b506003546001600160a01b03165b6040516001600160a01b03909116815260200161019e565b3480156103c957600080fd5b506101c7610c51565b3480156103de57600080fd5b5060065461032b90600160401b90046001600160401b031681565b34801561040557600080fd5b506002546103a5906001600160a01b031681565b34801561042557600080fd5b5061018a610dda565b34801561043a57600080fd5b5060065461018a90600160801b90046001600160801b031681565b34801561046157600080fd5b506101c7610e61565b34801561047657600080fd5b5060065461032b906001600160401b031681565b34801561049657600080fd5b506101c76104a5366004611536565b610eac565b3480156104b657600080fd5b506004546103a5906001600160a01b031681565b6001600160a01b0381166000908152600760205260408120546001600160801b03600160801b8204811691670de0b6b3a76400009116610508610dda565b036001600160801b0316610531856001600160a01b031660009081526001602052604090205490565b028161053f5761053f6116a8565b040192915050565b336000610552610dda565b905061055c610947565b600680546001600160801b03808516600160801b026001600160401b03948516600160401b0291909116939091169290921791909117905561059d826104ca565b6001600160a01b03831660009081526007602052604090206001600160801b0319600160801b6001600160801b039384160216918316919091179055600354600160a01b900460ff161561060c5760405162461bcd60e51b815260040161060390611624565b60405180910390fd5b61061583610f44565b505050565b336000610625610dda565b905061062f610947565b600680546001600160801b03808516600160801b026001600160401b03948516600160401b02919091169390911692909217919091179055610670826104ca565b6001600160a01b03831660009081526007602052604090206001600160801b0319600160801b6001600160801b039384160216918316919091179055600354600160a01b900460ff16156106d65760405162461bcd60e51b815260040161060390611624565b60006106e1336104ca565b6001600160801b03169050801561061557336000818152600760205260409081902080546001600160801b0316905560048054915163a9059cbb60e01b815290810192909252602482018390526001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561075b57600080fd5b505af115801561076f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610793919061158b565b6107d85760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b6044820152606401610603565b60405181815233907fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486906020015b60405180910390a2505050565b6003546001600160a01b0316331461083d5760405162461bcd60e51b81526004016106039061164e565b61084561119c565b565b816000610852610dda565b905061085c610947565b600680546001600160801b03808516600160801b026001600160401b03948516600160401b0291909116939091169290921791909117905561089d826104ca565b6001600160a01b03831660009081526007602052604090206001600160801b0319600160801b6001600160801b039384160216918316919091179055600354600160a01b900460ff16156109035760405162461bcd60e51b815260040161060390611624565b61090d8484611239565b50505050565b6003546001600160a01b0316331461093d5760405162461bcd60e51b81526004016106039061164e565b610845600061144c565b60065460009042906001600160401b0390811690821610610973576006546001600160401b0316610975565b805b91505090565b6003546001600160a01b031633146109a55760405162461bcd60e51b81526004016106039061164e565b61084561149e565b600354600160a01b900460ff16156109d75760405162461bcd60e51b815260040161060390611624565b6109e13382610847565b50565b6003546001600160a01b03163314610a0e5760405162461bcd60e51b81526004016106039061164e565b6000826001600160801b031611610a2457600080fd5b610a2c610dda565b600680546001600160801b03928316600160801b029216919091179055600480546040516370a0823160e01b815242926000926001600160a01b0316916370a0823191610a8a913091016001600160a01b0391909116815260200190565b60206040518083038186803b158015610aa257600080fd5b505afa158015610ab6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ada919061160b565b6002546004549192506001600160a01b0391821691161415610afc5760005490035b6006546000906001600160401b0390811690841610610b4857836001600160401b0316856001600160801b031681610b3657610b366116a8565b046001600160801b0316600555610b84565b506006546005546001600160401b0391821684900382169081029185166001600160801b038716830181610b7e57610b7e6116a8565b04600555505b8181866001600160801b0316011115610bd35760405162461bcd60e51b81526020600482015260116024820152706e6f7420656e6f75676820746f6b656e7360781b6044820152606401610603565b600680546001600160801b031916600160401b6001600160401b038087169190910267ffffffffffffffff191691909117858701919091161790556040516001600160801b03861681527fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9060200160405180910390a15050505050565b6003546001600160a01b03163314610c7b5760405162461bcd60e51b81526004016106039061164e565b600480546040516370a0823160e01b815230928101929092526000916001600160a01b03909116906370a082319060240160206040518083038186803b158015610cc457600080fd5b505afa158015610cd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfc919061160b565b6002546004549192506001600160a01b0391821691161415610d2857600054610d259082611683565b90505b6004805460405163a9059cbb60e01b81523392810192909252602482018390526001600160a01b03169063a9059cbb90604401602060405180830381600087803b158015610d7557600080fd5b505af1158015610d89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dad919061158b565b610db657600080fd5b5060006005556006805467ffffffffffffffff1916426001600160401b0316179055565b6000805480610dfb575050600654600160801b90046001600160801b031690565b600654600090600160401b90046001600160401b0316610e19610947565b036001600160401b03169050816005548202670de0b6b3a76400000281610e4257610e426116a8565b6006546001600160801b03600160801b90910416919004019392505050565b600354600160a01b900460ff1615610e8b5760405162461bcd60e51b815260040161060390611624565b610e9361061a565b3360009081526001602052604090205461084590610547565b6003546001600160a01b03163314610ed65760405162461bcd60e51b81526004016106039061164e565b6001600160a01b038116610f3b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610603565b6109e18161144c565b336000908152600160205260409020546001600160801b0382161115610fac5760405162461bcd60e51b815260206004820152601a60248201527f77697468647261773a2062616c616e6365206973206c6f7765720000000000006044820152606401610603565b33600090815260016020526040812080546001600160801b0384169081900390915581540390556002546001600160a01b0316806110825760405160009033906001600160801b038516908381818185875af1925050503d806000811461102f576040519150601f19603f3d011682016040523d82523d6000602084013e611034565b606091505b505090508061107c5760405162461bcd60e51b8152602060048201526014602482015273657468207472616e73666572206661696c75726560601b6044820152606401610603565b5061115a565b60025460405163a9059cbb60e01b81523360048201526001600160801b03841660248201526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b1580156110d657600080fd5b505af11580156110ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110e919061158b565b61115a5760405162461bcd60e51b815260206004820152601c60248201527f7374616b656420746f6b656e207472616e73666572206661696c6564000000006044820152606401610603565b6040516001600160801b038316815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d59060200160405180910390a25050565b600354600160a01b900460ff166111ec5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610603565b6003805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6002546001600160a01b03168061127657600080543490810182556001600160a01b03851682526001602052604090912080549091019055611408565b34156112b35760405162461bcd60e51b815260206004820152600c60248201526b0dcdedc5af4cae4de40cae8d60a31b6044820152606401610603565b6000826001600160801b0316116112fd5760405162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b6044820152606401610603565b6040516323b872dd60e01b81523360048201523060248201526001600160801b03831660448201526001600160a01b038216906323b872dd90606401602060405180830381600087803b15801561135357600080fd5b505af1158015611367573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138b919061158b565b6113d75760405162461bcd60e51b815260206004820152601c60248201527f7374616b656420746f6b656e207472616e73666572206661696c6564000000006044820152606401610603565b600080546001600160801b03841690810182556001600160a01b038516825260016020526040909120805490910190555b6040516001600160801b03831681526001600160a01b038416907f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d90602001610806565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600354600160a01b900460ff16156114c85760405162461bcd60e51b815260040161060390611624565b6003805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861121c3390565b80356001600160a01b038116811461151a57600080fd5b919050565b80356001600160801b038116811461151a57600080fd5b60006020828403121561154857600080fd5b61155182611503565b9392505050565b6000806040838503121561156b57600080fd5b61157483611503565b91506115826020840161151f565b90509250929050565b60006020828403121561159d57600080fd5b8151801515811461155157600080fd5b6000602082840312156115bf57600080fd5b6115518261151f565b600080604083850312156115db57600080fd5b6115e48361151f565b915060208301356001600160401b038116811461160057600080fd5b809150509250929050565b60006020828403121561161d57600080fd5b5051919050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000828210156116a357634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052601260045260246000fdfea2646970667358221220e495acf1ec0d89566be376ca542d47d91d01a35b1f3447e0b6b42d144ecc369164736f6c6343000806003300000000000000000000000025d4bfeeae3360e68c466c65a5e8f8d5cebc509300000000000000000000000079a65003073717d7cd04131e267eb55740af0d6b
Deployed Bytecode
0x6080604052600436106101655760003560e01c80638456cb59116100d1578063cc7a262e1161008a578063e9fad8ee11610064578063e9fad8ee14610455578063ebe2b12b1461046a578063f2fde38b1461048a578063f7c618c1146104aa57600080fd5b8063cc7a262e146103f9578063cd3daf9d14610419578063df136d651461042e57600080fd5b80638456cb591461034357806388fe2be81461035857806389ee4bde1461036b5780638da5cb5b1461038b578063c885bc58146103bd578063c8f33c91146103d257600080fd5b80635c975abb116101235780635c975abb1461027857806370458d85146102a257806370a08231146102b5578063715018a6146102eb5780637b0a47ee1461030057806380faa57d1461031657600080fd5b80628cc2621461016a57806302387a7b146101a75780630660f1e8146101c957806318160ddd1461022a5780633d18b9121461024e5780633f4ba83a14610263575b600080fd5b34801561017657600080fd5b5061018a610185366004611536565b6104ca565b6040516001600160801b0390911681526020015b60405180910390f35b3480156101b357600080fd5b506101c76101c23660046115ad565b610547565b005b3480156101d557600080fd5b5061020a6101e4366004611536565b6007602052600090815260409020546001600160801b0380821691600160801b90041682565b604080516001600160801b0393841681529290911660208301520161019e565b34801561023657600080fd5b5061024060005481565b60405190815260200161019e565b34801561025a57600080fd5b506101c761061a565b34801561026f57600080fd5b506101c7610813565b34801561028457600080fd5b50600354600160a01b900460ff16604051901515815260200161019e565b6101c76102b0366004611558565b610847565b3480156102c157600080fd5b506102406102d0366004611536565b6001600160a01b031660009081526001602052604090205490565b3480156102f757600080fd5b506101c7610913565b34801561030c57600080fd5b5061024060055481565b34801561032257600080fd5b5061032b610947565b6040516001600160401b03909116815260200161019e565b34801561034f57600080fd5b506101c761097b565b6101c76103663660046115ad565b6109ad565b34801561037757600080fd5b506101c76103863660046115c8565b6109e4565b34801561039757600080fd5b506003546001600160a01b03165b6040516001600160a01b03909116815260200161019e565b3480156103c957600080fd5b506101c7610c51565b3480156103de57600080fd5b5060065461032b90600160401b90046001600160401b031681565b34801561040557600080fd5b506002546103a5906001600160a01b031681565b34801561042557600080fd5b5061018a610dda565b34801561043a57600080fd5b5060065461018a90600160801b90046001600160801b031681565b34801561046157600080fd5b506101c7610e61565b34801561047657600080fd5b5060065461032b906001600160401b031681565b34801561049657600080fd5b506101c76104a5366004611536565b610eac565b3480156104b657600080fd5b506004546103a5906001600160a01b031681565b6001600160a01b0381166000908152600760205260408120546001600160801b03600160801b8204811691670de0b6b3a76400009116610508610dda565b036001600160801b0316610531856001600160a01b031660009081526001602052604090205490565b028161053f5761053f6116a8565b040192915050565b336000610552610dda565b905061055c610947565b600680546001600160801b03808516600160801b026001600160401b03948516600160401b0291909116939091169290921791909117905561059d826104ca565b6001600160a01b03831660009081526007602052604090206001600160801b0319600160801b6001600160801b039384160216918316919091179055600354600160a01b900460ff161561060c5760405162461bcd60e51b815260040161060390611624565b60405180910390fd5b61061583610f44565b505050565b336000610625610dda565b905061062f610947565b600680546001600160801b03808516600160801b026001600160401b03948516600160401b02919091169390911692909217919091179055610670826104ca565b6001600160a01b03831660009081526007602052604090206001600160801b0319600160801b6001600160801b039384160216918316919091179055600354600160a01b900460ff16156106d65760405162461bcd60e51b815260040161060390611624565b60006106e1336104ca565b6001600160801b03169050801561061557336000818152600760205260409081902080546001600160801b0316905560048054915163a9059cbb60e01b815290810192909252602482018390526001600160a01b03169063a9059cbb90604401602060405180830381600087803b15801561075b57600080fd5b505af115801561076f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610793919061158b565b6107d85760405162461bcd60e51b81526020600482015260166024820152751c995dd85c99081d1c985b9cd9995c8819985a5b195960521b6044820152606401610603565b60405181815233907fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486906020015b60405180910390a2505050565b6003546001600160a01b0316331461083d5760405162461bcd60e51b81526004016106039061164e565b61084561119c565b565b816000610852610dda565b905061085c610947565b600680546001600160801b03808516600160801b026001600160401b03948516600160401b0291909116939091169290921791909117905561089d826104ca565b6001600160a01b03831660009081526007602052604090206001600160801b0319600160801b6001600160801b039384160216918316919091179055600354600160a01b900460ff16156109035760405162461bcd60e51b815260040161060390611624565b61090d8484611239565b50505050565b6003546001600160a01b0316331461093d5760405162461bcd60e51b81526004016106039061164e565b610845600061144c565b60065460009042906001600160401b0390811690821610610973576006546001600160401b0316610975565b805b91505090565b6003546001600160a01b031633146109a55760405162461bcd60e51b81526004016106039061164e565b61084561149e565b600354600160a01b900460ff16156109d75760405162461bcd60e51b815260040161060390611624565b6109e13382610847565b50565b6003546001600160a01b03163314610a0e5760405162461bcd60e51b81526004016106039061164e565b6000826001600160801b031611610a2457600080fd5b610a2c610dda565b600680546001600160801b03928316600160801b029216919091179055600480546040516370a0823160e01b815242926000926001600160a01b0316916370a0823191610a8a913091016001600160a01b0391909116815260200190565b60206040518083038186803b158015610aa257600080fd5b505afa158015610ab6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ada919061160b565b6002546004549192506001600160a01b0391821691161415610afc5760005490035b6006546000906001600160401b0390811690841610610b4857836001600160401b0316856001600160801b031681610b3657610b366116a8565b046001600160801b0316600555610b84565b506006546005546001600160401b0391821684900382169081029185166001600160801b038716830181610b7e57610b7e6116a8565b04600555505b8181866001600160801b0316011115610bd35760405162461bcd60e51b81526020600482015260116024820152706e6f7420656e6f75676820746f6b656e7360781b6044820152606401610603565b600680546001600160801b031916600160401b6001600160401b038087169190910267ffffffffffffffff191691909117858701919091161790556040516001600160801b03861681527fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9060200160405180910390a15050505050565b6003546001600160a01b03163314610c7b5760405162461bcd60e51b81526004016106039061164e565b600480546040516370a0823160e01b815230928101929092526000916001600160a01b03909116906370a082319060240160206040518083038186803b158015610cc457600080fd5b505afa158015610cd8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cfc919061160b565b6002546004549192506001600160a01b0391821691161415610d2857600054610d259082611683565b90505b6004805460405163a9059cbb60e01b81523392810192909252602482018390526001600160a01b03169063a9059cbb90604401602060405180830381600087803b158015610d7557600080fd5b505af1158015610d89573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dad919061158b565b610db657600080fd5b5060006005556006805467ffffffffffffffff1916426001600160401b0316179055565b6000805480610dfb575050600654600160801b90046001600160801b031690565b600654600090600160401b90046001600160401b0316610e19610947565b036001600160401b03169050816005548202670de0b6b3a76400000281610e4257610e426116a8565b6006546001600160801b03600160801b90910416919004019392505050565b600354600160a01b900460ff1615610e8b5760405162461bcd60e51b815260040161060390611624565b610e9361061a565b3360009081526001602052604090205461084590610547565b6003546001600160a01b03163314610ed65760405162461bcd60e51b81526004016106039061164e565b6001600160a01b038116610f3b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610603565b6109e18161144c565b336000908152600160205260409020546001600160801b0382161115610fac5760405162461bcd60e51b815260206004820152601a60248201527f77697468647261773a2062616c616e6365206973206c6f7765720000000000006044820152606401610603565b33600090815260016020526040812080546001600160801b0384169081900390915581540390556002546001600160a01b0316806110825760405160009033906001600160801b038516908381818185875af1925050503d806000811461102f576040519150601f19603f3d011682016040523d82523d6000602084013e611034565b606091505b505090508061107c5760405162461bcd60e51b8152602060048201526014602482015273657468207472616e73666572206661696c75726560601b6044820152606401610603565b5061115a565b60025460405163a9059cbb60e01b81523360048201526001600160801b03841660248201526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b1580156110d657600080fd5b505af11580156110ea573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110e919061158b565b61115a5760405162461bcd60e51b815260206004820152601c60248201527f7374616b656420746f6b656e207472616e73666572206661696c6564000000006044820152606401610603565b6040516001600160801b038316815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d59060200160405180910390a25050565b600354600160a01b900460ff166111ec5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610603565b6003805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6002546001600160a01b03168061127657600080543490810182556001600160a01b03851682526001602052604090912080549091019055611408565b34156112b35760405162461bcd60e51b815260206004820152600c60248201526b0dcdedc5af4cae4de40cae8d60a31b6044820152606401610603565b6000826001600160801b0316116112fd5760405162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b6044820152606401610603565b6040516323b872dd60e01b81523360048201523060248201526001600160801b03831660448201526001600160a01b038216906323b872dd90606401602060405180830381600087803b15801561135357600080fd5b505af1158015611367573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061138b919061158b565b6113d75760405162461bcd60e51b815260206004820152601c60248201527f7374616b656420746f6b656e207472616e73666572206661696c6564000000006044820152606401610603565b600080546001600160801b03841690810182556001600160a01b038516825260016020526040909120805490910190555b6040516001600160801b03831681526001600160a01b038416907f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d90602001610806565b600380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600354600160a01b900460ff16156114c85760405162461bcd60e51b815260040161060390611624565b6003805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861121c3390565b80356001600160a01b038116811461151a57600080fd5b919050565b80356001600160801b038116811461151a57600080fd5b60006020828403121561154857600080fd5b61155182611503565b9392505050565b6000806040838503121561156b57600080fd5b61157483611503565b91506115826020840161151f565b90509250929050565b60006020828403121561159d57600080fd5b8151801515811461155157600080fd5b6000602082840312156115bf57600080fd5b6115518261151f565b600080604083850312156115db57600080fd5b6115e48361151f565b915060208301356001600160401b038116811461160057600080fd5b809150509250929050565b60006020828403121561161d57600080fd5b5051919050565b60208082526010908201526f14185d5cd8589b194e881c185d5cd95960821b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000828210156116a357634e487b7160e01b600052601160045260246000fd5b500390565b634e487b7160e01b600052601260045260246000fdfea2646970667358221220e495acf1ec0d89566be376ca542d47d91d01a35b1f3447e0b6b42d144ecc369164736f6c63430008060033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000025d4bfeeae3360e68c466c65a5e8f8d5cebc509300000000000000000000000079a65003073717d7cd04131e267eb55740af0d6b
-----Decoded View---------------
Arg [0] : _rewardToken (address): 0x25d4BFeeaE3360E68C466c65A5E8f8D5CEBc5093
Arg [1] : _stakedToken (address): 0x79A65003073717D7CD04131e267EB55740aF0D6b
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000025d4bfeeae3360e68c466c65a5e8f8d5cebc5093
Arg [1] : 00000000000000000000000079a65003073717d7cd04131e267eb55740af0d6b
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.