Source Code
Latest 25 from a total of 475 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Withdraw | 12562102 | 1730 days ago | IN | 0 ETH | 0.00239909 | ||||
| Stake | 11065466 | 1961 days ago | IN | 0 ETH | 0.02578619 | ||||
| Stake | 11065466 | 1961 days ago | IN | 0 ETH | 0.02578619 | ||||
| Stake | 11065466 | 1961 days ago | IN | 0 ETH | 0.02578619 | ||||
| Get Reward | 11049523 | 1963 days ago | IN | 0 ETH | 0.00180498 | ||||
| Get Reward | 11035994 | 1965 days ago | IN | 0 ETH | 0.00157053 | ||||
| Withdraw | 11023530 | 1967 days ago | IN | 0 ETH | 0.00169755 | ||||
| Withdraw | 11023501 | 1967 days ago | IN | 0 ETH | 0.00204576 | ||||
| Withdraw | 11023493 | 1967 days ago | IN | 0 ETH | 0.00409147 | ||||
| Get Reward | 11022381 | 1967 days ago | IN | 0 ETH | 0.00728008 | ||||
| Withdraw | 11022361 | 1967 days ago | IN | 0 ETH | 0.01159393 | ||||
| Get Reward | 11019138 | 1968 days ago | IN | 0 ETH | 0.0017492 | ||||
| Withdraw | 11018897 | 1968 days ago | IN | 0 ETH | 0.00399751 | ||||
| Get Reward | 11018893 | 1968 days ago | IN | 0 ETH | 0.00406382 | ||||
| Withdraw | 11013073 | 1969 days ago | IN | 0 ETH | 0.00229449 | ||||
| Withdraw | 11012612 | 1969 days ago | IN | 0 ETH | 0.00236774 | ||||
| Stake | 11012159 | 1969 days ago | IN | 0 ETH | 0.00320486 | ||||
| Get Reward | 11011509 | 1969 days ago | IN | 0 ETH | 0.00186514 | ||||
| Withdraw | 11011508 | 1969 days ago | IN | 0 ETH | 0.00148758 | ||||
| Withdraw | 11010232 | 1969 days ago | IN | 0 ETH | 0.00399405 | ||||
| Withdraw | 11010004 | 1969 days ago | IN | 0 ETH | 0.00688572 | ||||
| Stake | 11009983 | 1969 days ago | IN | 0 ETH | 0.00921619 | ||||
| Withdraw | 10998824 | 1971 days ago | IN | 0 ETH | 0.0045157 | ||||
| Stake | 10998807 | 1971 days ago | IN | 0 ETH | 0.00611 | ||||
| Withdraw | 10997870 | 1971 days ago | IN | 0 ETH | 0.00355334 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Contract Name:
WARPool
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2020-09-24
*/
pragma solidity 0.5.17;
/*
____ __ __ __ _
/ __/__ __ ___ / /_ / / ___ / /_ (_)__ __
_\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ /
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\
/___/
* Synthetix: WARRewards.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
*/
/**
* @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 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 {
_owner = _msgSender();
emit OwnershipTransferred(address(0), _owner);
}
/**
* @dev Returns the address of the current owner.
*/
function owner() public view returns (address) {
return _owner;
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyOwner() {
require(isOwner(), "Ownable: caller is not the owner");
_;
}
/**
* @dev Returns true if the caller is the current owner.
*/
function isOwner() public view returns (bool) {
return _msgSender() == _owner;
}
/**
* @dev Leaves the contract without owner. It will not be possible to call
* `onlyOwner` functions anymore. Can only be called by the current owner.
*
* NOTE: Renouncing ownership will leave the contract without an owner,
* thereby removing any functionality that is only available to the owner.
*/
function renounceOwnership() public onlyOwner {
emit OwnershipTransferred(_owner, address(0));
_owner = address(0);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
* Can only be called by the current owner.
*/
function transferOwnership(address newOwner) public onlyOwner {
_transferOwnership(newOwner);
}
/**
* @dev Transfers ownership of the contract to a new account (`newOwner`).
*/
function _transferOwnership(address newOwner) internal {
require(newOwner != address(0), "Ownable: new owner is the zero address");
emit OwnershipTransferred(_owner, newOwner);
_owner = newOwner;
}
}
/**
* @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.
*
* This test is non-exhaustive, and there may be false-negatives: during the
* execution of a contract's constructor, its address will be reported as
* not containing a contract.
*
* IMPORTANT: It is unsafe to assume that an address for which this
* function returns false is an externally-owned account (EOA) and not a
* contract.
*/
function isContract(address account) internal view returns (bool) {
// This method relies in extcodesize, which returns 0 for contracts in
// construction, since the code is only stored at the end of the
// constructor execution.
// According to EIP-1052, 0x0 is the value returned for not-yet created accounts
// and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
// for accounts without code, i.e. `keccak256('')`
bytes32 codehash;
bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
// solhint-disable-next-line no-inline-assembly
assembly { codehash := extcodehash(account) }
return (codehash != 0x0 && codehash != accountHash);
}
/**
* @dev Converts an `address` into `address payable`. Note that this is
* simply a type cast: the actual underlying value is not changed.
*
* _Available since v2.4.0._
*/
function toPayable(address account) internal pure returns (address payable) {
return address(uint160(account));
}
/**
* @dev Replacement for Solidity's `transfer`: sends `amount` wei to
* `recipient`, forwarding all available gas and reverting on errors.
*
* https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
* of certain opcodes, possibly making contracts go over the 2300 gas limit
* imposed by `transfer`, making them unable to receive funds via
* `transfer`. {sendValue} removes this limitation.
*
* https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
*
* IMPORTANT: because control is transferred to `recipient`, care must be
* taken to not create reentrancy vulnerabilities. Consider using
* {ReentrancyGuard} or the
* https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
*
* _Available since v2.4.0._
*/
function sendValue(address payable recipient, uint256 amount) internal {
require(address(this).balance >= amount, "Address: insufficient balance");
// solhint-disable-next-line avoid-call-value
(bool success, ) = recipient.call.value(amount)("");
require(success, "Address: unable to send value, recipient may have reverted");
}
}
/**
* @title SafeERC20
* @dev Wrappers around ERC20 operations that throw on failure (when the token
* contract returns false). Tokens that return no value (and instead revert or
* throw on failure) are also supported, non-reverting calls are assumed to be
* successful.
* To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract,
* which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
*/
library SafeERC20 {
using SafeMath for uint256;
using Address for address;
function safeTransfer(IERC20 token, address to, uint256 value) internal {
callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
}
function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
}
function safeApprove(IERC20 token, address spender, uint256 value) internal {
// safeApprove should only be called when setting an initial allowance,
// or when resetting it to zero. To increase and decrease it, use
// 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
// solhint-disable-next-line max-line-length
require((value == 0) || (token.allowance(address(this), spender) == 0),
"SafeERC20: approve from non-zero to non-zero allowance"
);
callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
}
function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).add(value);
callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
}
/**
* @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
* on the return value: the return value is optional (but if data is returned, it must not be false).
* @param token The token targeted by the call.
* @param data The call data (encoded using abi.encode or one of its variants).
*/
function callOptionalReturn(IERC20 token, bytes memory data) private {
// We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
// we're implementing it ourselves.
// A Solidity high level call has three parts:
// 1. The target address is checked to verify it contains contract code
// 2. The call itself is made, and success asserted
// 3. The return value is decoded, which in turn checks the size of the returned data.
// solhint-disable-next-line max-line-length
require(address(token).isContract(), "SafeERC20: call to non-contract");
// solhint-disable-next-line avoid-low-level-calls
(bool success, bytes memory returndata) = address(token).call(data);
require(success, "SafeERC20: low-level call failed");
if (returndata.length > 0) { // Return data is optional
// solhint-disable-next-line max-line-length
require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
}
}
}
contract IRewardDistributionRecipient is Ownable {
address public rewardDistribution;
function notifyRewardAmount(uint256 reward, uint256 _duration) external;
modifier onlyRewardDistribution() {
require(_msgSender() == rewardDistribution, "Caller is not reward distribution");
_;
}
function setRewardDistribution(address _rewardDistribution) external onlyOwner {
rewardDistribution = _rewardDistribution;
}
}
contract LPTokenWrapper {
using SafeMath for uint256;
using SafeERC20 for IERC20;
IERC20 public lpToken;
uint256 private _totalSupply;
mapping(address => uint256) private _balances;
constructor(address _lpToken) internal {
lpToken = IERC20(_lpToken);
}
function totalSupply() public view returns (uint256) {
return _totalSupply;
}
function balanceOf(address account) public view returns (uint256) {
return _balances[account];
}
function stake(uint256 amount) public {
_totalSupply = _totalSupply.add(amount);
_balances[msg.sender] = _balances[msg.sender].add(amount);
lpToken.safeTransferFrom(msg.sender, address(this), amount);
}
function withdraw(uint256 amount) public {
_totalSupply = _totalSupply.sub(amount);
_balances[msg.sender] = _balances[msg.sender].sub(amount);
lpToken.safeTransfer(msg.sender, amount);
}
}
contract WARPool is LPTokenWrapper, IRewardDistributionRecipient {
IERC20 public constant war = IERC20(0xf4A81C18816C9B0AB98FAC51B36Dcb63b0E58Fde);
string public desc;
uint256 public DURATION;
uint256 public starttime;
uint256 public maxStakeFirstDay;
uint256 public periodFinish = 0;
uint256 public rewardRate = 0;
uint256 public lastUpdateTime;
uint256 public rewardPerTokenStored;
mapping(address => uint256) public userRewardPerTokenPaid;
mapping(address => uint256) public rewards;
event RewardAdded(uint256 reward);
event Staked(address indexed user, uint256 amount);
event Withdrawn(address indexed user, uint256 amount);
event RewardPaid(address indexed user, uint256 reward);
constructor(address _lpToken, string memory _desc, uint256 _maxStakeFirstDay, uint256 _starttime) public LPTokenWrapper(_lpToken) {
rewardDistribution = msg.sender;
desc = _desc;
maxStakeFirstDay = _maxStakeFirstDay;
starttime = _starttime;
}
function setStartTime(uint256 _starttime) external onlyOwner {
require(block.timestamp < starttime, "started");
starttime = _starttime;
}
function setMaxStakeFirstDay(uint256 _maxStakeFirstDay) external onlyOwner {
maxStakeFirstDay = _maxStakeFirstDay;
}
modifier checkStart(){
require(block.timestamp >= starttime, "not started");
_;
}
modifier updateReward(address account) {
rewardPerTokenStored = rewardPerToken();
lastUpdateTime = lastTimeRewardApplicable();
if (account != address(0)) {
rewards[account] = earned(account);
userRewardPerTokenPaid[account] = rewardPerTokenStored;
}
_;
}
modifier checkBalance(uint256 amount) {
uint256 _starttime = starttime;
if (block.timestamp >= _starttime && block.timestamp < _starttime + 1 days) {
require(balanceOf(msg.sender).add(amount) <= maxStakeFirstDay, "over limit");
}
_;
}
function seize(IERC20 _token, uint amount) external onlyOwner {
if (block.timestamp >= starttime && block.timestamp < periodFinish) {
require(_token != lpToken, "lpToken");
}
_token.safeTransfer(msg.sender, amount);
}
function lastTimeRewardApplicable() public view returns (uint256) {
return Math.min(block.timestamp, periodFinish);
}
function rewardPerToken() public view returns (uint256) {
if (totalSupply() == 0) {
return rewardPerTokenStored;
}
return
rewardPerTokenStored.add(
lastTimeRewardApplicable()
.sub(lastUpdateTime)
.mul(rewardRate)
.mul(1e18)
.div(totalSupply())
);
}
function earned(address account) public view returns (uint256) {
return
balanceOf(account)
.mul(rewardPerToken().sub(userRewardPerTokenPaid[account]))
.div(1e18)
.add(rewards[account]);
}
function stake(uint256 amount) public updateReward(msg.sender) checkStart checkBalance(amount) {
require(amount > 0, "Cannot stake 0");
super.stake(amount);
emit Staked(msg.sender, amount);
}
function withdraw(uint256 amount) public updateReward(msg.sender) checkStart {
require(amount > 0, "Cannot withdraw 0");
super.withdraw(amount);
emit Withdrawn(msg.sender, amount);
}
function exit() external {
withdraw(balanceOf(msg.sender));
getReward();
}
function getReward() public updateReward(msg.sender) checkStart {
uint256 reward = earned(msg.sender);
if (reward > 0) {
rewards[msg.sender] = 0;
war.safeTransfer(msg.sender, reward);
emit RewardPaid(msg.sender, reward);
}
}
function notifyRewardAmount(uint256 _reward, uint256 _duration) external onlyRewardDistribution updateReward(address(0)) {
require(_duration != 0, "Duration must not be 0");
require(_reward != 0, "Reward must not be 0");
war.safeTransferFrom(msg.sender, address(this), _reward);
DURATION = _duration;
if (block.timestamp > starttime) {
if (block.timestamp >= periodFinish) {
rewardRate = _reward.div(_duration);
} else {
uint256 remaining = periodFinish.sub(block.timestamp);
uint256 leftover = remaining.mul(rewardRate);
rewardRate = _reward.add(leftover).div(_duration);
}
lastUpdateTime = block.timestamp;
periodFinish = block.timestamp.add(_duration);
emit RewardAdded(_reward);
} else {
rewardRate = _reward.div(_duration);
lastUpdateTime = starttime;
periodFinish = starttime.add(_duration);
emit RewardAdded(_reward);
}
}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_lpToken","type":"address"},{"internalType":"string","name":"_desc","type":"string"},{"internalType":"uint256","name":"_maxStakeFirstDay","type":"uint256"},{"internalType":"uint256","name":"_starttime","type":"uint256"}],"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":"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":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"constant":true,"inputs":[],"name":"DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"desc","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":true,"inputs":[],"name":"lpToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxStakeFirstDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_reward","type":"uint256"},{"internalType":"uint256","name":"_duration","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":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"seize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_maxStakeFirstDay","type":"uint256"}],"name":"setMaxStakeFirstDay","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_starttime","type":"uint256"}],"name":"setStartTime","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":"starttime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":true,"inputs":[],"name":"war","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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
608060405260006009556000600a553480156200001b57600080fd5b5060405162001a7538038062001a75833981810160405260808110156200004157600080fd5b8151602083018051604051929492938301929190846401000000008211156200006957600080fd5b9083019060208201858111156200007f57600080fd5b82516401000000008111828201881017156200009a57600080fd5b82525081516020918201929091019080838360005b83811015620000c9578181015183820152602001620000af565b50505050905090810190601f168015620000f75780820380516001836020036101000a031916815260200191505b5060409081526020820151910151600080546001600160a01b0319166001600160a01b03881617905590925090506200012f620001b5565b600380546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3600480546001600160a01b031916331790558251620001a2906005906020860190620001ba565b50600891909155600755506200025c9050565b335b90565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620001fd57805160ff19168380011785556200022d565b828001600101855582156200022d579182015b828111156200022d57825182559160200191906001019062000210565b506200023b9291506200023f565b5090565b620001b791905b808211156200023b576000815560010162000246565b611809806200026c6000396000f3fe608060405234801561001057600080fd5b50600436106101e45760003560e01c8063715018a61161010f578063b33e6a44116100a2578063e9fad8ee11610071578063e9fad8ee1461047f578063eb9253c014610487578063ebe2b12b146104b3578063f2fde38b146104bb576101e4565b8063b33e6a441461044a578063c8f33c9114610467578063cd3daf9d1461046f578063df136d6514610477576101e4565b80638da58897116100de5780638da58897146104015780638da5cb5b146104095780638f32d59b14610411578063a694fc3a1461042d576101e4565b8063715018a6146103c35780637b0a47ee146103cb57806380faa57d146103d35780638b876347146103db576101e4565b80631be05289116101875780633e0a322d116101565780633e0a322d146102fb57806355f150f1146103185780635fcbd2851461039557806370a082311461039d576101e4565b80631be05289146102ab578063246132f9146102b35780632e1a7d4d146102d65780633d18b912146102f3576101e4565b8063099bf456116101c3578063099bf4561461024f5780630d68b76114610273578063101114cf1461029b57806318160ddd146102a3576101e4565b80628cc262146101e957806304fa44ba146102215780630700037d14610229575b600080fd5b61020f600480360360208110156101ff57600080fd5b50356001600160a01b03166104e1565b60408051918252519081900360200190f35b61020f610567565b61020f6004803603602081101561023f57600080fd5b50356001600160a01b031661056d565b61025761057f565b604080516001600160a01b039092168252519081900360200190f35b6102996004803603602081101561028957600080fd5b50356001600160a01b0316610597565b005b610257610600565b61020f61060f565b61020f610616565b610299600480360360408110156102c957600080fd5b508035906020013561061c565b610299600480360360208110156102ec57600080fd5b50356108be565b6102996109ea565b6102996004803603602081101561031157600080fd5b5035610b0e565b610320610b9a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561035a578181015183820152602001610342565b50505050905090810190601f1680156103875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610257610c28565b61020f600480360360208110156103b357600080fd5b50356001600160a01b0316610c37565b610299610c52565b61020f610ce3565b61020f610ce9565b61020f600480360360208110156103f157600080fd5b50356001600160a01b0316610cfc565b61020f610d0e565b610257610d14565b610419610d23565b604080519115158252519081900360200190f35b6102996004803603602081101561044357600080fd5b5035610d49565b6102996004803603602081101561046057600080fd5b5035610ee2565b61020f610f2e565b61020f610f34565b61020f610f88565b610299610f8e565b6102996004803603604081101561049d57600080fd5b506001600160a01b038135169060200135610fa9565b61020f61106f565b610299600480360360208110156104d157600080fd5b50356001600160a01b0316611075565b6001600160a01b0381166000908152600e6020908152604080832054600d909252822054610561919061055590670de0b6b3a7640000906105499061053490610528610f34565b9063ffffffff6110c816565b61053d88610c37565b9063ffffffff61111116565b9063ffffffff61116a16565b9063ffffffff6111ac16565b92915050565b60085481565b600e6020526000908152604090205481565b73f4a81c18816c9b0ab98fac51b36dcb63b0e58fde81565b61059f610d23565b6105de576040805162461bcd60e51b8152602060048201819052602482015260008051602061176a833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6001545b90565b60065481565b6004546001600160a01b0316610630611206565b6001600160a01b0316146106755760405162461bcd60e51b815260040180806020018281038252602181526020018061178a6021913960400191505060405180910390fd5b600061067f610f34565b600c5561068a610ce9565b600b556001600160a01b038116156106d1576106a5816104e1565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b8161071c576040805162461bcd60e51b815260206004820152601660248201527504475726174696f6e206d757374206e6f7420626520360541b604482015290519081900360640190fd5b82610765576040805162461bcd60e51b81526020600482015260146024820152730526577617264206d757374206e6f7420626520360641b604482015290519081900360640190fd5b61078b73f4a81c18816c9b0ab98fac51b36dcb63b0e58fde33308663ffffffff61120a16565b60068290556007544211156108575760095442106107bb576107b3838363ffffffff61116a16565b600a55610806565b6009546000906107d1904263ffffffff6110c816565b905060006107ea600a548361111190919063ffffffff16565b905061080084610549878463ffffffff6111ac16565b600a5550505b42600b81905561081c908363ffffffff6111ac16565b6009556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a16108b9565b610867838363ffffffff61116a16565b600a55600754600b819055610882908363ffffffff6111ac16565b6009556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15b505050565b336108c7610f34565b600c556108d2610ce9565b600b556001600160a01b03811615610919576108ed816104e1565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b60075442101561095e576040805162461bcd60e51b815260206004820152600b60248201526a1b9bdd081cdd185c9d195960aa1b604482015290519081900360640190fd5b600082116109a7576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6109b08261126a565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b336109f3610f34565b600c556109fe610ce9565b600b556001600160a01b03811615610a4557610a19816104e1565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b600754421015610a8a576040805162461bcd60e51b815260206004820152600b60248201526a1b9bdd081cdd185c9d195960aa1b604482015290519081900360640190fd5b6000610a95336104e1565b90508015610b0a57336000818152600e6020526040812055610ad39073f4a81c18816c9b0ab98fac51b36dcb63b0e58fde908363ffffffff6112c716565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b610b16610d23565b610b55576040805162461bcd60e51b8152602060048201819052602482015260008051602061176a833981519152604482015290519081900360640190fd5b6007544210610b95576040805162461bcd60e51b81526020600482015260076024820152661cdd185c9d195960ca1b604482015290519081900360640190fd5b600755565b6005805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610c205780601f10610bf557610100808354040283529160200191610c20565b820191906000526020600020905b815481529060010190602001808311610c0357829003601f168201915b505050505081565b6000546001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b610c5a610d23565b610c99576040805162461bcd60e51b8152602060048201819052602482015260008051602061176a833981519152604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b600a5481565b6000610cf742600954611319565b905090565b600d6020526000908152604090205481565b60075481565b6003546001600160a01b031690565b6003546000906001600160a01b0316610d3a611206565b6001600160a01b031614905090565b33610d52610f34565b600c55610d5d610ce9565b600b556001600160a01b03811615610da457610d78816104e1565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b600754421015610de9576040805162461bcd60e51b815260206004820152600b60248201526a1b9bdd081cdd185c9d195960aa1b604482015290519081900360640190fd5b6007548290428111801590610e02575080620151800142105b15610e5757600854610e178361055533610c37565b1115610e57576040805162461bcd60e51b815260206004820152600a6024820152691bdd995c881b1a5b5a5d60b21b604482015290519081900360640190fd5b60008411610e9d576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610ea68461132f565b60408051858152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250505050565b610eea610d23565b610f29576040805162461bcd60e51b8152602060048201819052602482015260008051602061176a833981519152604482015290519081900360640190fd5b600855565b600b5481565b6000610f3e61060f565b610f4b5750600c54610613565b610cf7610f79610f5961060f565b610549670de0b6b3a764000061053d600a5461053d600b54610528610ce9565b600c549063ffffffff6111ac16565b600c5481565b610f9f610f9a33610c37565b6108be565b610fa76109ea565b565b610fb1610d23565b610ff0576040805162461bcd60e51b8152602060048201819052602482015260008051602061176a833981519152604482015290519081900360640190fd5b6007544210158015611003575060095442105b15611055576000546001600160a01b0383811691161415611055576040805162461bcd60e51b815260206004820152600760248201526636382a37b5b2b760c91b604482015290519081900360640190fd5b610b0a6001600160a01b038316338363ffffffff6112c716565b60095481565b61107d610d23565b6110bc576040805162461bcd60e51b8152602060048201819052602482015260008051602061176a833981519152604482015290519081900360640190fd5b6110c581611391565b50565b600061110a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611432565b9392505050565b60008261112057506000610561565b8282028284828161112d57fe5b041461110a5760405162461bcd60e51b81526004018080602001828103825260218152602001806117496021913960400191505060405180910390fd5b600061110a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506114c9565b60008282018381101561110a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261126490859061152e565b50505050565b60015461127d908263ffffffff6110c816565b600155336000908152600260205260409020546112a0908263ffffffff6110c816565b3360008181526002602052604081209290925590546110c5916001600160a01b0390911690835b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526108b990849061152e565b6000818310611328578161110a565b5090919050565b600154611342908263ffffffff6111ac16565b60015533600090815260026020526040902054611365908263ffffffff6111ac16565b3360008181526002602052604081209290925590546110c5916001600160a01b0390911690308461120a565b6001600160a01b0381166113d65760405162461bcd60e51b81526004018080602001828103825260268152602001806117236026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156114c15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561148657818101518382015260200161146e565b50505050905090810190601f1680156114b35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836115185760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561148657818101518382015260200161146e565b50600083858161152457fe5b0495945050505050565b611540826001600160a01b03166116e6565b611591576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106115cf5780518252601f1990920191602091820191016115b0565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611631576040519150601f19603f3d011682016040523d82523d6000602084013e611636565b606091505b50915091508161168d576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115611264578080602001905160208110156116a957600080fd5b50516112645760405162461bcd60e51b815260040180806020018281038252602a8152602001806117ab602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061171a5750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657243616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a723158209dca4c5b30b23fd1191860889b91a051452e1cbc812d92b5f22a14948183591164736f6c63430005110032000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000007d0d59f1b58ca00973000000000000000000000000000000000000000000000000000000005f6cc280000000000000000000000000000000000000000000000000000000000000000c4c494e4b20576172506f6f6c0000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101e45760003560e01c8063715018a61161010f578063b33e6a44116100a2578063e9fad8ee11610071578063e9fad8ee1461047f578063eb9253c014610487578063ebe2b12b146104b3578063f2fde38b146104bb576101e4565b8063b33e6a441461044a578063c8f33c9114610467578063cd3daf9d1461046f578063df136d6514610477576101e4565b80638da58897116100de5780638da58897146104015780638da5cb5b146104095780638f32d59b14610411578063a694fc3a1461042d576101e4565b8063715018a6146103c35780637b0a47ee146103cb57806380faa57d146103d35780638b876347146103db576101e4565b80631be05289116101875780633e0a322d116101565780633e0a322d146102fb57806355f150f1146103185780635fcbd2851461039557806370a082311461039d576101e4565b80631be05289146102ab578063246132f9146102b35780632e1a7d4d146102d65780633d18b912146102f3576101e4565b8063099bf456116101c3578063099bf4561461024f5780630d68b76114610273578063101114cf1461029b57806318160ddd146102a3576101e4565b80628cc262146101e957806304fa44ba146102215780630700037d14610229575b600080fd5b61020f600480360360208110156101ff57600080fd5b50356001600160a01b03166104e1565b60408051918252519081900360200190f35b61020f610567565b61020f6004803603602081101561023f57600080fd5b50356001600160a01b031661056d565b61025761057f565b604080516001600160a01b039092168252519081900360200190f35b6102996004803603602081101561028957600080fd5b50356001600160a01b0316610597565b005b610257610600565b61020f61060f565b61020f610616565b610299600480360360408110156102c957600080fd5b508035906020013561061c565b610299600480360360208110156102ec57600080fd5b50356108be565b6102996109ea565b6102996004803603602081101561031157600080fd5b5035610b0e565b610320610b9a565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561035a578181015183820152602001610342565b50505050905090810190601f1680156103875780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610257610c28565b61020f600480360360208110156103b357600080fd5b50356001600160a01b0316610c37565b610299610c52565b61020f610ce3565b61020f610ce9565b61020f600480360360208110156103f157600080fd5b50356001600160a01b0316610cfc565b61020f610d0e565b610257610d14565b610419610d23565b604080519115158252519081900360200190f35b6102996004803603602081101561044357600080fd5b5035610d49565b6102996004803603602081101561046057600080fd5b5035610ee2565b61020f610f2e565b61020f610f34565b61020f610f88565b610299610f8e565b6102996004803603604081101561049d57600080fd5b506001600160a01b038135169060200135610fa9565b61020f61106f565b610299600480360360208110156104d157600080fd5b50356001600160a01b0316611075565b6001600160a01b0381166000908152600e6020908152604080832054600d909252822054610561919061055590670de0b6b3a7640000906105499061053490610528610f34565b9063ffffffff6110c816565b61053d88610c37565b9063ffffffff61111116565b9063ffffffff61116a16565b9063ffffffff6111ac16565b92915050565b60085481565b600e6020526000908152604090205481565b73f4a81c18816c9b0ab98fac51b36dcb63b0e58fde81565b61059f610d23565b6105de576040805162461bcd60e51b8152602060048201819052602482015260008051602061176a833981519152604482015290519081900360640190fd5b600480546001600160a01b0319166001600160a01b0392909216919091179055565b6004546001600160a01b031681565b6001545b90565b60065481565b6004546001600160a01b0316610630611206565b6001600160a01b0316146106755760405162461bcd60e51b815260040180806020018281038252602181526020018061178a6021913960400191505060405180910390fd5b600061067f610f34565b600c5561068a610ce9565b600b556001600160a01b038116156106d1576106a5816104e1565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b8161071c576040805162461bcd60e51b815260206004820152601660248201527504475726174696f6e206d757374206e6f7420626520360541b604482015290519081900360640190fd5b82610765576040805162461bcd60e51b81526020600482015260146024820152730526577617264206d757374206e6f7420626520360641b604482015290519081900360640190fd5b61078b73f4a81c18816c9b0ab98fac51b36dcb63b0e58fde33308663ffffffff61120a16565b60068290556007544211156108575760095442106107bb576107b3838363ffffffff61116a16565b600a55610806565b6009546000906107d1904263ffffffff6110c816565b905060006107ea600a548361111190919063ffffffff16565b905061080084610549878463ffffffff6111ac16565b600a5550505b42600b81905561081c908363ffffffff6111ac16565b6009556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a16108b9565b610867838363ffffffff61116a16565b600a55600754600b819055610882908363ffffffff6111ac16565b6009556040805184815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15b505050565b336108c7610f34565b600c556108d2610ce9565b600b556001600160a01b03811615610919576108ed816104e1565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b60075442101561095e576040805162461bcd60e51b815260206004820152600b60248201526a1b9bdd081cdd185c9d195960aa1b604482015290519081900360640190fd5b600082116109a7576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6109b08261126a565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b336109f3610f34565b600c556109fe610ce9565b600b556001600160a01b03811615610a4557610a19816104e1565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b600754421015610a8a576040805162461bcd60e51b815260206004820152600b60248201526a1b9bdd081cdd185c9d195960aa1b604482015290519081900360640190fd5b6000610a95336104e1565b90508015610b0a57336000818152600e6020526040812055610ad39073f4a81c18816c9b0ab98fac51b36dcb63b0e58fde908363ffffffff6112c716565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b5050565b610b16610d23565b610b55576040805162461bcd60e51b8152602060048201819052602482015260008051602061176a833981519152604482015290519081900360640190fd5b6007544210610b95576040805162461bcd60e51b81526020600482015260076024820152661cdd185c9d195960ca1b604482015290519081900360640190fd5b600755565b6005805460408051602060026001851615610100026000190190941693909304601f81018490048402820184019092528181529291830182828015610c205780601f10610bf557610100808354040283529160200191610c20565b820191906000526020600020905b815481529060010190602001808311610c0357829003601f168201915b505050505081565b6000546001600160a01b031681565b6001600160a01b031660009081526002602052604090205490565b610c5a610d23565b610c99576040805162461bcd60e51b8152602060048201819052602482015260008051602061176a833981519152604482015290519081900360640190fd5b6003546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600380546001600160a01b0319169055565b600a5481565b6000610cf742600954611319565b905090565b600d6020526000908152604090205481565b60075481565b6003546001600160a01b031690565b6003546000906001600160a01b0316610d3a611206565b6001600160a01b031614905090565b33610d52610f34565b600c55610d5d610ce9565b600b556001600160a01b03811615610da457610d78816104e1565b6001600160a01b0382166000908152600e6020908152604080832093909355600c54600d909152919020555b600754421015610de9576040805162461bcd60e51b815260206004820152600b60248201526a1b9bdd081cdd185c9d195960aa1b604482015290519081900360640190fd5b6007548290428111801590610e02575080620151800142105b15610e5757600854610e178361055533610c37565b1115610e57576040805162461bcd60e51b815260206004820152600a6024820152691bdd995c881b1a5b5a5d60b21b604482015290519081900360640190fd5b60008411610e9d576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610ea68461132f565b60408051858152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250505050565b610eea610d23565b610f29576040805162461bcd60e51b8152602060048201819052602482015260008051602061176a833981519152604482015290519081900360640190fd5b600855565b600b5481565b6000610f3e61060f565b610f4b5750600c54610613565b610cf7610f79610f5961060f565b610549670de0b6b3a764000061053d600a5461053d600b54610528610ce9565b600c549063ffffffff6111ac16565b600c5481565b610f9f610f9a33610c37565b6108be565b610fa76109ea565b565b610fb1610d23565b610ff0576040805162461bcd60e51b8152602060048201819052602482015260008051602061176a833981519152604482015290519081900360640190fd5b6007544210158015611003575060095442105b15611055576000546001600160a01b0383811691161415611055576040805162461bcd60e51b815260206004820152600760248201526636382a37b5b2b760c91b604482015290519081900360640190fd5b610b0a6001600160a01b038316338363ffffffff6112c716565b60095481565b61107d610d23565b6110bc576040805162461bcd60e51b8152602060048201819052602482015260008051602061176a833981519152604482015290519081900360640190fd5b6110c581611391565b50565b600061110a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611432565b9392505050565b60008261112057506000610561565b8282028284828161112d57fe5b041461110a5760405162461bcd60e51b81526004018080602001828103825260218152602001806117496021913960400191505060405180910390fd5b600061110a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506114c9565b60008282018381101561110a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b3390565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b17905261126490859061152e565b50505050565b60015461127d908263ffffffff6110c816565b600155336000908152600260205260409020546112a0908263ffffffff6110c816565b3360008181526002602052604081209290925590546110c5916001600160a01b0390911690835b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526108b990849061152e565b6000818310611328578161110a565b5090919050565b600154611342908263ffffffff6111ac16565b60015533600090815260026020526040902054611365908263ffffffff6111ac16565b3360008181526002602052604081209290925590546110c5916001600160a01b0390911690308461120a565b6001600160a01b0381166113d65760405162461bcd60e51b81526004018080602001828103825260268152602001806117236026913960400191505060405180910390fd5b6003546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600380546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156114c15760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561148657818101518382015260200161146e565b50505050905090810190601f1680156114b35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836115185760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561148657818101518382015260200161146e565b50600083858161152457fe5b0495945050505050565b611540826001600160a01b03166116e6565b611591576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b602083106115cf5780518252601f1990920191602091820191016115b0565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611631576040519150601f19603f3d011682016040523d82523d6000602084013e611636565b606091505b50915091508161168d576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b805115611264578080602001905160208110156116a957600080fd5b50516112645760405162461bcd60e51b815260040180806020018281038252602a8152602001806117ab602a913960400191505060405180910390fd5b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470811580159061171a5750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f774f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657243616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a723158209dca4c5b30b23fd1191860889b91a051452e1cbc812d92b5f22a14948183591164736f6c63430005110032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000007d0d59f1b58ca00973000000000000000000000000000000000000000000000000000000005f6cc280000000000000000000000000000000000000000000000000000000000000000c4c494e4b20576172506f6f6c0000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _lpToken (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [1] : _desc (string): LINK WarPool
Arg [2] : _maxStakeFirstDay (uint256): 2306805074971164936563
Arg [3] : _starttime (uint256): 1600963200
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 00000000000000000000000000000000000000000000007d0d59f1b58ca00973
Arg [3] : 000000000000000000000000000000000000000000000000000000005f6cc280
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [5] : 4c494e4b20576172506f6f6c0000000000000000000000000000000000000000
Deployed Bytecode Sourcemap
22220:5192:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;22220:5192:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25179:265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25179:265:0;-1:-1:-1;;;;;25179:265:0;;:::i;:::-;;;;;;;;;;;;;;;;22470:31;;;:::i;22726:42::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22726:42:0;-1:-1:-1;;;;;22726:42:0;;:::i;22292:79::-;;;:::i;:::-;;;;-1:-1:-1;;;;;22292:79:0;;;;;;;;;;;;;;21079:138;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21079:138:0;-1:-1:-1;;;;;21079:138:0;;:::i;:::-;;20804:33;;;:::i;21536:91::-;;;:::i;22407:23::-;;;:::i;26313:1096::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;26313:1096:0;;;;;;;:::i;25683:214::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25683:214:0;;:::i;26010:295::-;;;:::i;23288:160::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23288:160:0;;:::i;22380:18::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;22380:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21325:21;;;:::i;21635:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21635:110:0;-1:-1:-1;;;;;21635:110:0;;:::i;10416:140::-;;;:::i;22548:29::-;;;:::i;24612:131::-;;;:::i;22662:57::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;22662:57:0;-1:-1:-1;;;;;22662:57:0;;:::i;22437:24::-;;;:::i;9605:79::-;;;:::i;9971:94::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;25452:223;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25452:223:0;;:::i;23456:130::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;23456:130:0;;:::i;22584:29::-;;;:::i;24751:420::-;;;:::i;22620:35::-;;;:::i;25905:97::-;;;:::i;24342:262::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;24342:262:0;;;;;;;;:::i;22510:31::-;;;:::i;10711:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;10711:109:0;-1:-1:-1;;;;;10711:109:0;;:::i;25179:265::-;-1:-1:-1;;;;;25419:16:0;;25233:7;25419:16;;;:7;:16;;;;;;;;;25335:22;:31;;;;;;25273:163;;25419:16;25273:123;;25391:4;;25273:95;;25314:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;25273:18;25283:7;25273:9;:18::i;:::-;:40;:95;:40;:95;:::i;:::-;:117;:123;:117;:123;:::i;:::-;:145;:163;:145;:163;:::i;:::-;25253:183;25179:265;-1:-1:-1;;25179:265:0:o;22470:31::-;;;;:::o;22726:42::-;;;;;;;;;;;;;:::o;22292:79::-;22328:42;22292:79;:::o;21079:138::-;9817:9;:7;:9::i;:::-;9809:54;;;;;-1:-1:-1;;;9809:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9809:54:0;;;;;;;;;;;;;;;21169:18;:40;;-1:-1:-1;;;;;;21169:40:0;-1:-1:-1;;;;;21169:40:0;;;;;;;;;;21079:138::o;20804:33::-;;;-1:-1:-1;;;;;20804:33:0;;:::o;21536:91::-;21607:12;;21536:91;;:::o;22407:23::-;;;;:::o;26313:1096::-;20995:18;;-1:-1:-1;;;;;20995:18:0;20979:12;:10;:12::i;:::-;-1:-1:-1;;;;;20979:34:0;;20971:80;;;;-1:-1:-1;;;20971:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26430:1;23779:16;:14;:16::i;:::-;23756:20;:39;23823:26;:24;:26::i;:::-;23806:14;:43;-1:-1:-1;;;;;23864:21:0;;;23860:157;;23921:15;23928:7;23921:6;:15::i;:::-;-1:-1:-1;;;;;23902:16:0;;;;;;:7;:16;;;;;;;;:34;;;;23985:20;;23951:22;:31;;;;;;:54;23860:157;26453:14;26445:49;;;;;-1:-1:-1;;;26445:49:0;;;;;;;;;;;;-1:-1:-1;;;26445:49:0;;;;;;;;;;;;;;;26513:12;26505:45;;;;;-1:-1:-1;;;26505:45:0;;;;;;;;;;;;-1:-1:-1;;;26505:45:0;;;;;;;;;;;;;;;26563:56;22328:42;26584:10;26604:4;26611:7;26563:56;:20;:56;:::i;:::-;26630:8;:20;;;26683:9;;26665:15;:27;26661:741;;;26732:12;;26713:15;:31;26709:332;;26778:22;:7;26790:9;26778:22;:11;:22;:::i;:::-;26765:10;:35;26709:332;;;26861:12;;26841:17;;26861:33;;26878:15;26861:33;:16;:33;:::i;:::-;26841:53;;26913:16;26932:25;26946:10;;26932:9;:13;;:25;;;;:::i;:::-;26913:44;-1:-1:-1;26989:36:0;27015:9;26989:21;:7;26913:44;26989:21;:11;:21;:::i;:36::-;26976:10;:49;-1:-1:-1;;26709:332:0;27072:15;27055:14;:32;;;27117:30;;27137:9;27117:30;:19;:30;:::i;:::-;27102:12;:45;27167:20;;;;;;;;;;;;;;;;;26661:741;;;27233:22;:7;27245:9;27233:22;:11;:22;:::i;:::-;27220:10;:35;27287:9;;27270:14;:26;;;27326:24;;27340:9;27326:24;:13;:24;:::i;:::-;27311:12;:39;27370:20;;;;;;;;;;;;;;;;;26661:741;21062:1;26313:1096;;:::o;25683:214::-;25737:10;23779:16;:14;:16::i;:::-;23756:20;:39;23823:26;:24;:26::i;:::-;23806:14;:43;-1:-1:-1;;;;;23864:21:0;;;23860:157;;23921:15;23928:7;23921:6;:15::i;:::-;-1:-1:-1;;;;;23902:16:0;;;;;;:7;:16;;;;;;;;:34;;;;23985:20;;23951:22;:31;;;;;;:54;23860:157;23653:9;;23634:15;:28;;23626:52;;;;;-1:-1:-1;;;23626:52:0;;;;;;;;;;;;-1:-1:-1;;;23626:52:0;;;;;;;;;;;;;;;25788:1;25779:6;:10;25771:40;;;;;-1:-1:-1;;;25771:40:0;;;;;;;;;;;;-1:-1:-1;;;25771:40:0;;;;;;;;;;;;;;;25822:22;25837:6;25822:14;:22::i;:::-;25860:29;;;;;;;;25870:10;;25860:29;;;;;;;;;;25683:214;;:::o;26010:295::-;26051:10;23779:16;:14;:16::i;:::-;23756:20;:39;23823:26;:24;:26::i;:::-;23806:14;:43;-1:-1:-1;;;;;23864:21:0;;;23860:157;;23921:15;23928:7;23921:6;:15::i;:::-;-1:-1:-1;;;;;23902:16:0;;;;;;:7;:16;;;;;;;;:34;;;;23985:20;;23951:22;:31;;;;;;:54;23860:157;23653:9;;23634:15;:28;;23626:52;;;;;-1:-1:-1;;;23626:52:0;;;;;;;;;;;;-1:-1:-1;;;23626:52:0;;;;;;;;;;;;;;;26085:14;26102:18;26109:10;26102:6;:18::i;:::-;26085:35;-1:-1:-1;26135:10:0;;26131:167;;26170:10;26184:1;26162:19;;;:7;:19;;;;;:23;26200:36;;22328:42;;26229:6;26200:36;:16;:36;:::i;:::-;26256:30;;;;;;;;26267:10;;26256:30;;;;;;;;;;26131:167;23689:1;26010:295;:::o;23288:160::-;9817:9;:7;:9::i;:::-;9809:54;;;;;-1:-1:-1;;;9809:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9809:54:0;;;;;;;;;;;;;;;23386:9;;23368:15;:27;23360:47;;;;;-1:-1:-1;;;23360:47:0;;;;;;;;;;;;-1:-1:-1;;;23360:47:0;;;;;;;;;;;;;;;23418:9;:22;23288:160::o;22380:18::-;;;;;;;;;;;;;;;-1:-1:-1;;22380:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;21325:21::-;;;-1:-1:-1;;;;;21325:21:0;;:::o;21635:110::-;-1:-1:-1;;;;;21719:18:0;21692:7;21719:18;;;:9;:18;;;;;;;21635:110::o;10416:140::-;9817:9;:7;:9::i;:::-;9809:54;;;;;-1:-1:-1;;;9809:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9809:54:0;;;;;;;;;;;;;;;10499:6;;10478:40;;10515:1;;-1:-1:-1;;;;;10499:6:0;;10478:40;;10515:1;;10478:40;10529:6;:19;;-1:-1:-1;;;;;;10529:19:0;;;10416:140::o;22548:29::-;;;;:::o;24612:131::-;24669:7;24696:39;24705:15;24722:12;;24696:8;:39::i;:::-;24689:46;;24612:131;:::o;22662:57::-;;;;;;;;;;;;;:::o;22437:24::-;;;;:::o;9605:79::-;9670:6;;-1:-1:-1;;;;;9670:6:0;9605:79;:::o;9971:94::-;10051:6;;10011:4;;-1:-1:-1;;;;;10051:6:0;10035:12;:10;:12::i;:::-;-1:-1:-1;;;;;10035:22:0;;10028:29;;9971:94;:::o;25452:223::-;25503:10;23779:16;:14;:16::i;:::-;23756:20;:39;23823:26;:24;:26::i;:::-;23806:14;:43;-1:-1:-1;;;;;23864:21:0;;;23860:157;;23921:15;23928:7;23921:6;:15::i;:::-;-1:-1:-1;;;;;23902:16:0;;;;;;:7;:16;;;;;;;;:34;;;;23985:20;;23951:22;:31;;;;;;:54;23860:157;23653:9;;23634:15;:28;;23626:52;;;;;-1:-1:-1;;;23626:52:0;;;;;;;;;;;;-1:-1:-1;;;23626:52:0;;;;;;;;;;;;;;;24114:9;;25539:6;;24138:15;:29;-1:-1:-1;24138:29:0;;;:70;;;24189:10;24202:6;24189:19;24171:15;:37;24138:70;24134:179;;;24270:16;;24233:33;24259:6;24233:21;24243:10;24233:9;:21::i;:33::-;:53;;24225:76;;;;;-1:-1:-1;;;24225:76:0;;;;;;;;;;;;-1:-1:-1;;;24225:76:0;;;;;;;;;;;;;;;25575:1;25566:6;:10;25558:37;;;;;-1:-1:-1;;;25558:37:0;;;;;;;;;;;;-1:-1:-1;;;25558:37:0;;;;;;;;;;;;;;;25606:19;25618:6;25606:11;:19::i;:::-;25641:26;;;;;;;;25648:10;;25641:26;;;;;;;;;;23689:1;;25452:223;;:::o;23456:130::-;9817:9;:7;:9::i;:::-;9809:54;;;;;-1:-1:-1;;;9809:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9809:54:0;;;;;;;;;;;;;;;23542:16;:36;23456:130::o;22584:29::-;;;;:::o;24751:420::-;24798:7;24822:13;:11;:13::i;:::-;24818:78;;-1:-1:-1;24864:20:0;;24857:27;;24818:78;24926:237;24969:179;25134:13;:11;:13::i;:::-;24969:138;25102:4;24969:106;25064:10;;24969:68;25022:14;;24969:26;:24;:26::i;:179::-;24926:20;;;:237;:24;:237;:::i;22620:35::-;;;;:::o;25905:97::-;25941:31;25950:21;25960:10;25950:9;:21::i;:::-;25941:8;:31::i;:::-;25983:11;:9;:11::i;:::-;25905:97::o;24342:262::-;9817:9;:7;:9::i;:::-;9809:54;;;;;-1:-1:-1;;;9809:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9809:54:0;;;;;;;;;;;;;;;24438:9;;24419:15;:28;;:62;;;;;24469:12;;24451:15;:30;24419:62;24415:132;;;24516:7;;-1:-1:-1;;;;;24506:17:0;;;24516:7;;24506:17;;24498:37;;;;;-1:-1:-1;;;24498:37:0;;;;;;;;;;;;-1:-1:-1;;;24498:37:0;;;;;;;;;;;;;;;24557:39;-1:-1:-1;;;;;24557:19:0;;24577:10;24589:6;24557:39;:19;:39;:::i;22510:31::-;;;;:::o;10711:109::-;9817:9;:7;:9::i;:::-;9809:54;;;;;-1:-1:-1;;;9809:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;9809:54:0;;;;;;;;;;;;;;;10784:28;10803:8;10784:18;:28::i;:::-;10711:109;:::o;3509:136::-;3567:7;3594:43;3598:1;3601;3594:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;3587:50;3509:136;-1:-1:-1;;;3509:136:0:o;4425:471::-;4483:7;4728:6;4724:47;;-1:-1:-1;4758:1:0;4751:8;;4724:47;4795:5;;;4799:1;4795;:5;:1;4819:5;;;;;:10;4811:56;;;;-1:-1:-1;;;4811:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5364:132;5422:7;5449:39;5453:1;5456;5449:39;;;;;;;;;;;;;;;;;:3;:39::i;3053:181::-;3111:7;3143:5;;;3167:6;;;;3159:46;;;;;-1:-1:-1;;;3159:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;8435:98;8515:10;8435:98;:::o;17766:204::-;17893:68;;;-1:-1:-1;;;;;17893:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;17893:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;17867:95:0;;17886:5;;17867:18;:95::i;:::-;17766:204;;;;:::o;21995:218::-;22062:12;;:24;;22079:6;22062:24;:16;:24;:::i;:::-;22047:12;:39;22131:10;22121:21;;;;:9;:21;;;;;;:33;;22147:6;22121:33;:25;:33;:::i;:::-;22107:10;22097:21;;;;:9;:21;;;;;:57;;;;22165:7;;:40;;-1:-1:-1;;;;;22165:7:0;;;;22198:6;17582:176;17691:58;;;-1:-1:-1;;;;;17691:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;17691:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;17665:85:0;;17684:5;;17665:18;:85::i;1790:106::-;1848:7;1879:1;1875;:5;:13;;1887:1;1875:13;;;-1:-1:-1;1883:1:0;;1790:106;-1:-1:-1;1790:106:0:o;21753:234::-;21817:12;;:24;;21834:6;21817:24;:16;:24;:::i;:::-;21802:12;:39;21886:10;21876:21;;;;:9;:21;;;;;;:33;;21902:6;21876:33;:25;:33;:::i;:::-;21862:10;21852:21;;;;:9;:21;;;;;:57;;;;21920:7;;:59;;-1:-1:-1;;;;;21920:7:0;;;;21965:4;21972:6;21920:24;:59::i;10926:229::-;-1:-1:-1;;;;;11000:22:0;;10992:73;;;;-1:-1:-1;;;10992:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11102:6;;11081:38;;-1:-1:-1;;;;;11081:38:0;;;;11102:6;;11081:38;;11102:6;;11081:38;11130:6;:17;;-1:-1:-1;;;;;;11130:17:0;-1:-1:-1;;;;;11130:17:0;;;;;;;;;;10926:229::o;3982:192::-;4068:7;4104:12;4096:6;;;;4088:29;;;;-1:-1:-1;;;4088: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;4088:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4140:5:0;;;3982:192::o;6026:345::-;6112:7;6214:12;6207:5;6199:28;;;;-1:-1:-1;;;6199:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;6199:28:0;;6238:9;6254:1;6250;:5;;;;;;;6026:345;-1:-1:-1;;;;;6026:345:0:o;19621:1114::-;20225:27;20233:5;-1:-1:-1;;;;;20225:25:0;;:27::i;:::-;20217:71;;;;;-1:-1:-1;;;20217:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;20362:12;20376:23;20411:5;-1:-1:-1;;;;;20403:19:0;20423:4;20403: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;;;20403: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;;20361:67:0;;;;20447:7;20439:52;;;;;-1:-1:-1;;;20439:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20508:17;;:21;20504:224;;20650:10;20639:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;20639:30:0;20631:85;;;;-1:-1:-1;;;20631:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14511:810;14571:4;15230:20;;15073:66;15270:15;;;;;:42;;;15301:11;15289:8;:23;;15270:42;15262:51;14511:810;-1:-1:-1;;;;14511:810:0:o
Swarm Source
bzzr://9dca4c5b30b23fd1191860889b91a051452e1cbc812d92b5f22a149481835911
Loading...
Loading
Loading...
Loading
Net Worth in USD
$30.17
Net Worth in ETH
0.016111
Token Allocations
LINK
100.00%
Multichain Portfolio | 33 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|---|---|---|---|---|
| ETH | 100.00% | $8.31 | 3.6301 | $30.17 |
Loading...
Loading
Loading...
Loading
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.