More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 3,689 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Reward | 10865645 | 1508 days ago | IN | 0 ETH | 0.04257049 | ||||
Get Reward | 10846427 | 1511 days ago | IN | 0 ETH | 0.01605109 | ||||
Get Reward | 10829701 | 1514 days ago | IN | 0 ETH | 0.01959928 | ||||
Get Reward | 10823376 | 1515 days ago | IN | 0 ETH | 0.035401 | ||||
Get Reward | 10823355 | 1515 days ago | IN | 0 ETH | 0.01858552 | ||||
Get Reward | 10816557 | 1516 days ago | IN | 0 ETH | 0.01702981 | ||||
Get Reward | 10810708 | 1517 days ago | IN | 0 ETH | 0.02128524 | ||||
Get Reward | 10803827 | 1518 days ago | IN | 0 ETH | 0.078298 | ||||
Get Reward | 10795009 | 1519 days ago | IN | 0 ETH | 0.03651333 | ||||
Get Reward | 10789547 | 1520 days ago | IN | 0 ETH | 0.09421254 | ||||
Get Reward | 10778643 | 1522 days ago | IN | 0 ETH | 0.0865375 | ||||
Get Reward | 10777132 | 1522 days ago | IN | 0 ETH | 0.08199378 | ||||
Get Reward | 10775546 | 1522 days ago | IN | 0 ETH | 0.08880642 | ||||
Get Reward | 10774509 | 1522 days ago | IN | 0 ETH | 0.07591319 | ||||
Get Reward | 10773965 | 1522 days ago | IN | 0 ETH | 0.07378021 | ||||
Get Reward | 10772883 | 1523 days ago | IN | 0 ETH | 0.04946715 | ||||
Get Reward | 10772877 | 1523 days ago | IN | 0 ETH | 0.04503018 | ||||
Get Reward | 10772856 | 1523 days ago | IN | 0 ETH | 0.04193836 | ||||
Get Reward | 10772851 | 1523 days ago | IN | 0 ETH | 0.04416421 | ||||
Get Reward | 10772840 | 1523 days ago | IN | 0 ETH | 0.04245189 | ||||
Get Reward | 10772838 | 1523 days ago | IN | 0 ETH | 0.04515141 | ||||
Get Reward | 10772836 | 1523 days ago | IN | 0 ETH | 0.04483056 | ||||
Get Reward | 10772827 | 1523 days ago | IN | 0 ETH | 0.04482642 | ||||
Get Reward | 10772805 | 1523 days ago | IN | 0 ETH | 0.04756457 | ||||
Get Reward | 10772798 | 1523 days ago | IN | 0 ETH | 0.04262307 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x05d0c213...998A3E54C The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
YearnRewards
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-08-21 */ /** *Submitted for verification at Etherscan.io on 2020-08-07 */ /** *Submitted for verification at Etherscan.io on 2020-07-18 */ /* ____ __ __ __ _ / __/__ __ ___ / /_ / / ___ / /_ (_)__ __ _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ / /___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\ /___/ * 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 */ // File: @openzeppelin/contracts/math/Math.sol pragma solidity ^0.5.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, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity ^0.5.0; /** * @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; } } // File: @openzeppelin/contracts/GSN/Context.sol pragma solidity ^0.5.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 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; } } // File: @openzeppelin/contracts/ownership/Ownable.sol pragma solidity ^0.5.0; /** * @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; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity ^0.5.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. Does not include * the optional functions; to access them see {ERC20Detailed}. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: @openzeppelin/contracts/utils/Address.sol pragma solidity ^0.5.5; /** * @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"); } } // File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity ^0.5.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for ERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using SafeMath for uint256; using Address for address; function safeTransfer(IERC20 token, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal { callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } function safeApprove(IERC20 token, address spender, uint256 value) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' // solhint-disable-next-line max-line-length require((value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).add(value); callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal { uint256 newAllowance = token.allowance(address(this), spender).sub(value, "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"); } } } // File: contracts/IRewardDistributionRecipient.sol pragma solidity ^0.5.0; contract IRewardDistributionRecipient is Ownable { address rewardDistribution; function notifyRewardAmount(uint256 reward) external; modifier onlyRewardDistribution() { require(_msgSender() == rewardDistribution, "Caller is not reward distribution"); _; } function setRewardDistribution(address _rewardDistribution) external onlyOwner { rewardDistribution = _rewardDistribution; } } // File: contracts/CurveRewards.sol pragma solidity ^0.5.0; contract LPTokenWrapper { using SafeMath for uint256; using SafeERC20 for IERC20; // Token to be staked IERC20 public bpt = IERC20(address(0)); uint256 private _totalSupply; mapping(address => uint256) private _balances; 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); bpt.safeTransferFrom(msg.sender, address(this), amount); } function withdraw(uint256 amount) public { _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); bpt.safeTransfer(msg.sender, amount); } function setBPT(address BPTAddress) internal { bpt = IERC20(BPTAddress); } } interface Multiplier { function getTotalMultiplier(address account) external view returns (uint256); } interface CalculateCycle { function calculate(uint256 deployedTime,uint256 currentTime,uint256 duration) external view returns(uint256); } contract YearnRewards is LPTokenWrapper, IRewardDistributionRecipient { // Token to be rewarded IERC20 public yfi = IERC20(address(0)); Multiplier public multiplier = Multiplier(address(0)); CalculateCycle public calculateCycle = CalculateCycle(address(0)); uint256 public DURATION; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; uint256 public deployedTime; uint256 public constant napsDiscountRange = 8 hours; uint256 public constant napsLevelOneCost = 10000000000000000000000; uint256 public constant napsLevelTwoCost = 20000000000000000000000; uint256 public constant napsLevelThreeCost = 30000000000000000000000; uint256 public constant TenPercentBonus = 1 * 10 ** 17; uint256 public constant TwentyPercentBonus = 2 * 10 ** 17; uint256 public constant ThirtyPercentBonus = 3 * 10 ** 17; uint256 public constant FourtyPercentBonus = 4 * 10 ** 17; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; mapping(address => uint256) public spentNAPS; mapping(address => uint256) public NAPSlevel; event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); event Boost(uint256 level); modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } constructor(address rewardToken,address stakingToken,address calculateCycleAddr,address multiplierAddr) public{ setBPT(stakingToken); yfi = IERC20(rewardToken); calculateCycle = CalculateCycle(calculateCycleAddr); multiplier = Multiplier(multiplierAddr); DURATION = 10 weeks; deployedTime = block.timestamp; } function modify(address rewardToken,address stakingToken,uint256 duration) external onlyRewardDistribution { setBPT(stakingToken); yfi = IERC20(rewardToken); DURATION = duration; } 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) .mul(getTotalMultiplier(account)) .div(1e18) .add(rewards[account]); } // stake visibility is public as overriding LPTokenWrapper's stake() function function stake(uint256 amount) public updateReward(msg.sender) { require(amount > 0, "Cannot stake 0"); super.stake(amount); emit Staked(msg.sender, amount); } function withdraw(uint256 amount) public updateReward(msg.sender) { 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) { uint256 reward = earned(msg.sender); if (reward > 0) { rewards[msg.sender] = 0; yfi.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } function notifyRewardAmount(uint256 reward) external onlyRewardDistribution updateReward(address(0)) { 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); } function setCycleContract(address _cycleContract) public onlyRewardDistribution { calculateCycle = CalculateCycle(_cycleContract); } // naps stuff function getLevel(address account) external view returns (uint256) { return NAPSlevel[account]; } function getSpent(address account) external view returns (uint256) { return spentNAPS[account]; } // Returns the number of naps token to boost function calculateCost(uint256 level) public view returns(uint256) { uint256 cycles = calculateCycle.calculate(deployedTime,block.timestamp,napsDiscountRange); // Cap it to 5 times if(cycles > 5) { cycles = 5; } // // cost = initialCost * (0.9)^cycles = initial cost * (9^cycles)/(10^cycles) if (level == 1) { return napsLevelOneCost.mul(9 ** cycles).div(10 ** cycles); }else if(level == 2) { return napsLevelTwoCost.mul(9 ** cycles).div(10 ** cycles); }else if(level ==3) { return napsLevelThreeCost.mul(9 ** cycles).div(10 ** cycles); } } function purchase(uint256 level) external { require(NAPSlevel[msg.sender] <= level,"Cannot downgrade level or same level"); uint256 cost = calculateCost(level); uint256 finalCost = cost.sub(spentNAPS[msg.sender]); // Owner dev fund yfi.safeTransferFrom(msg.sender,0x50b3830641A5fD46Ac191F168e3EAc638C40343C,finalCost); spentNAPS[msg.sender] = spentNAPS[msg.sender].add(finalCost); NAPSlevel[msg.sender] = level; emit Boost(level); } function setMultiplierAddress(address multiplierAddress) external onlyRewardDistribution { multiplier = Multiplier(multiplierAddress); } function getTotalMultiplier(address account) public view returns (uint256) { uint256 zzzMultiplier = multiplier.getTotalMultiplier(account); uint256 napsMultiplier = 0; if(NAPSlevel[account] == 1) { napsMultiplier = TenPercentBonus; }else if(NAPSlevel[account] == 2) { napsMultiplier = TwentyPercentBonus; }else if(NAPSlevel[account] == 3) { napsMultiplier = FourtyPercentBonus; } return zzzMultiplier.add(napsMultiplier).add(1*10**18); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"rewardToken","type":"address"},{"internalType":"address","name":"stakingToken","type":"address"},{"internalType":"address","name":"calculateCycleAddr","type":"address"},{"internalType":"address","name":"multiplierAddr","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"level","type":"uint256"}],"name":"Boost","type":"event"},{"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":[],"name":"FourtyPercentBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"NAPSlevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TenPercentBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ThirtyPercentBonus","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"TwentyPercentBonus","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":"bpt","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"calculateCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"calculateCycle","outputs":[{"internalType":"contract CalculateCycle","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"deployedTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"exit","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getLevel","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getSpent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getTotalMultiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"rewardToken","type":"address"},{"internalType":"address","name":"stakingToken","type":"address"},{"internalType":"uint256","name":"duration","type":"uint256"}],"name":"modify","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"multiplier","outputs":[{"internalType":"contract Multiplier","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"napsDiscountRange","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"napsLevelOneCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"napsLevelThreeCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"napsLevelTwoCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"level","type":"uint256"}],"name":"purchase","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"_cycleContract","type":"address"}],"name":"setCycleContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"multiplierAddress","type":"address"}],"name":"setMultiplierAddress","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":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"spentNAPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"yfi","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061027e5760003560e01c8063868d4b8c1161015c578063cd980c8a116100ce578063e458183811610087578063e458183814610ac7578063e9fad8ee14610b0b578063ebe2b12b14610b15578063efef39a114610b33578063f2fde38b14610b61578063fd85217714610ba55761027e565b8063cd980c8a1461094d578063d284957114610991578063df136d65146109af578063df2671cf146109cd578063e14b441a14610a25578063e310fa5d14610a7d5761027e565b806395ae60e81161012057806395ae60e81461084f578063a49638291461086d578063a694fc3a1461088b578063b0c66786146108b9578063c8f33c9114610911578063cd3daf9d1461092f5761027e565b8063868d4b8c1461072357806388497d45146107415780638b8763471461078b5780638da5cb5b146107e35780638f32d59b1461082d5761027e565b806345af6df8116101f557806370a08231116101b957806370a08231146105bf578063715018a6146106175780637b0a47ee146106215780637f15a21c1461063f57806380faa57d146106ad578063817c8966146106cb5761027e565b806345af6df8146104d9578063460889f7146104f7578063461ac019146105155780634af18f4f14610533578063546af3c3146105755761027e565b80631b3ed722116102475780631b3ed722146103ed5780631be052891461043757806322cfa35a146104555780632e1a7d4d146104735780633c6b16ab146104a15780633d18b912146104cf5761027e565b80628cc262146102835780630700037d146102db5780630d68b7611461033357806318160ddd14610377578063198c0c5914610395575b600080fd5b6102c56004803603602081101561029957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610bc3565b6040518082815260200191505060405180910390f35b61031d600480360360208110156102f157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610cde565b6040518082815260200191505060405180910390f35b6103756004803603602081101561034957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610cf6565b005b61037f610db4565b6040518082815260200191505060405180910390f35b6103d7600480360360208110156103ab57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610dbe565b6040518082815260200191505060405180910390f35b6103f5610dd6565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61043f610dfc565b6040518082815260200191505060405180910390f35b61045d610e02565b6040518082815260200191505060405180910390f35b61049f6004803603602081101561048957600080fd5b8101908080359060200190929190505050610e10565b005b6104cd600480360360208110156104b757600080fd5b8101908080359060200190929190505050610fc5565b005b6104d761123f565b005b6104e161141e565b6040518082815260200191505060405180910390f35b6104ff61142a565b6040518082815260200191505060405180910390f35b61051d611438565b6040518082815260200191505060405180910390f35b61055f6004803603602081101561054957600080fd5b810190808035906020019092919050505061143e565b6040518082815260200191505060405180910390f35b61057d6115ec565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610601600480360360208110156105d557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611611565b6040518082815260200191505060405180910390f35b61061f61165a565b005b610629611795565b6040518082815260200191505060405180910390f35b6106ab6004803603606081101561065557600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919050505061179b565b005b6106b561189e565b6040518082815260200191505060405180910390f35b61070d600480360360208110156106e157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506118b1565b6040518082815260200191505060405180910390f35b61072b6118fa565b6040518082815260200191505060405180910390f35b610749611900565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6107cd600480360360208110156107a157600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611926565b6040518082815260200191505060405180910390f35b6107eb61193e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610835611968565b604051808215151515815260200191505060405180910390f35b6108576119c7565b6040518082815260200191505060405180910390f35b6108756119d3565b6040518082815260200191505060405180910390f35b6108b7600480360360208110156108a157600080fd5b81019080803590602001909291905050506119df565b005b6108fb600480360360208110156108cf57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b94565b6040518082815260200191505060405180910390f35b610919611bac565b6040518082815260200191505060405180910390f35b610937611bb2565b6040518082815260200191505060405180910390f35b61098f6004803603602081101561096357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611c4a565b005b610999611d3b565b6040518082815260200191505060405180910390f35b6109b7611d49565b6040518082815260200191505060405180910390f35b610a0f600480360360208110156109e357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d4f565b6040518082815260200191505060405180910390f35b610a6760048036036020811015610a3b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f6f565b6040518082815260200191505060405180910390f35b610a85611fb8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610b0960048036036020811015610add57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611fde565b005b610b136120cf565b005b610b1d6120ea565b6040518082815260200191505060405180910390f35b610b5f60048036036020811015610b4957600080fd5b81019080803590602001909291905050506120f0565b005b610ba360048036036020811015610b7757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612363565b005b610bad6123e9565b6040518082815260200191505060405180910390f35b6000610cd7600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610cc9670de0b6b3a7640000610cbb610c2087611d4f565b610cad670de0b6b3a7640000610c9f610c88600e60008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c7a611bb2565b6123f590919063ffffffff16565b610c918c611611565b61243f90919063ffffffff16565b6124c590919063ffffffff16565b61243f90919063ffffffff16565b6124c590919063ffffffff16565b61250f90919063ffffffff16565b9050919050565b600f6020528060005260406000206000915090505481565b610cfe611968565b610d70576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000600154905090565b60106020528060005260406000206000915090505481565b600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085481565b69065a4da25d3016c0000081565b33610e19611bb2565b600c81905550610e2761189e565b600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610ef457610e6a81610bc3565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c54600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610f6a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610f7382612597565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a25050565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611006612696565b73ffffffffffffffffffffffffffffffffffffffff1614611072576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f7c6021913960400191505060405180910390fd5b600061107c611bb2565b600c8190555061108a61189e565b600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611157576110cd81610bc3565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c54600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600954421061118057611175600854836124c590919063ffffffff16565b600a819055506111e2565b6000611197426009546123f590919063ffffffff16565b905060006111b0600a548361243f90919063ffffffff16565b90506111d96008546111cb838761250f90919063ffffffff16565b6124c590919063ffffffff16565b600a8190555050505b42600b819055506111fe6008544261250f90919063ffffffff16565b6009819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d826040518082815260200191505060405180910390a15050565b33611248611bb2565b600c8190555061125661189e565b600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146113235761129981610bc3565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c54600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600061132e33610bc3565b9050600081111561141a576000600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506113cb3382600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661269e9092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b5050565b67058d15e17628000081565b69021e19e0c9bab240000081565b600d5481565b600080600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e97cf883600d54426170806040518463ffffffff1660e01b815260040180848152602001838152602001828152602001935050505060206040518083038186803b1580156114c857600080fd5b505afa1580156114dc573d6000803e3d6000fd5b505050506040513d60208110156114f257600080fd5b81019080805190602001909291905050509050600581111561151357600590505b60018314156115595761155181600a0a6115438360090a69021e19e0c9bab240000061243f90919063ffffffff16565b6124c590919063ffffffff16565b9150506115e7565b600283141561159f5761159781600a0a6115898360090a69043c33c193756480000061243f90919063ffffffff16565b6124c590919063ffffffff16565b9150506115e7565b60038314156115e5576115dd81600a0a6115cf8360090a69065a4da25d3016c0000061243f90919063ffffffff16565b6124c590919063ffffffff16565b9150506115e7565b505b919050565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611662611968565b6116d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600a5481565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166117dc612696565b73ffffffffffffffffffffffffffffffffffffffff1614611848576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f7c6021913960400191505060405180910390fd5b6118518261276f565b82600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600881905550505050565b60006118ac426009546127b2565b905090565b6000601160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61708081565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600e6020528060005260406000206000915090505481565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166119ab612696565b73ffffffffffffffffffffffffffffffffffffffff1614905090565b670429d069189e000081565b6702c68af0bb14000081565b336119e8611bb2565b600c819055506119f661189e565b600b81905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611ac357611a3981610bc3565b600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600c54600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211611b39576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b611b42826127cb565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a25050565b60116020528060005260406000206000915090505481565b600b5481565b600080611bbd610db4565b1415611bcd57600c549050611c47565b611c44611c33611bdb610db4565b611c25670de0b6b3a7640000611c17600a54611c09600b54611bfb61189e565b6123f590919063ffffffff16565b61243f90919063ffffffff16565b61243f90919063ffffffff16565b6124c590919063ffffffff16565b600c5461250f90919063ffffffff16565b90505b90565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611c8b612696565b73ffffffffffffffffffffffffffffffffffffffff1614611cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f7c6021913960400191505060405180910390fd5b80600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b69043c33c193756480000081565b600c5481565b600080600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663df2671cf846040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015611df157600080fd5b505afa158015611e05573d6000803e3d6000fd5b505050506040513d6020811015611e1b57600080fd5b8101908080519060200190929190505050905060008090506001601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611e8b5767016345785d8a00009050611f39565b6002601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611ee3576702c68af0bb1400009050611f38565b6003601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541415611f375767058d15e17628000090505b5b5b611f66670de0b6b3a7640000611f58838561250f90919063ffffffff16565b61250f90919063ffffffff16565b92505050919050565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661201f612696565b73ffffffffffffffffffffffffffffffffffffffff161461208b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f7c6021913960400191505060405180910390fd5b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6120e06120db33611611565b610e10565b6120e861123f565b565b60095481565b80601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115612188576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526024815260200180612fc76024913960400191505060405180910390fd5b60006121938261143e565b905060006121e9601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054836123f590919063ffffffff16565b905061224e337350b3830641a5fd46ac191f168e3eac638c40343c83600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166128cc909392919063ffffffff16565b6122a081601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461250f90919063ffffffff16565b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555082601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f70b27848abfd4ab169b72857464ef4ae0e45c29525a4deb12dfbb56467295594836040518082815260200191505060405180910390a1505050565b61236b611968565b6123dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6123e6816129d2565b50565b67016345785d8a000081565b600061243783836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612b18565b905092915050565b60008083141561245257600090506124bf565b600082840290508284828161246357fe5b04146124ba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612f5b6021913960400191505060405180910390fd5b809150505b92915050565b600061250783836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612bd8565b905092915050565b60008082840190508381101561258d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6125ac816001546123f590919063ffffffff16565b60018190555061260481600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123f590919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061269333826000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1661269e9092919063ffffffff16565b50565b600033905090565b61276a838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb905060e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612c9e565b505050565b806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008183106127c157816127c3565b825b905092915050565b6127e08160015461250f90919063ffffffff16565b60018190555061283881600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461250f90919063ffffffff16565b600260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506128c93330836000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166128cc909392919063ffffffff16565b50565b6129cc848573ffffffffffffffffffffffffffffffffffffffff166323b872dd905060e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612c9e565b50505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612a58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612f356026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000838311158290612bc5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612b8a578082015181840152602081019050612b6f565b50505050905090810190601f168015612bb75780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290612c84576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612c49578082015181840152602081019050612c2e565b50505050905090810190601f168015612c765780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612c9057fe5b049050809150509392505050565b612cbd8273ffffffffffffffffffffffffffffffffffffffff16612ee9565b612d2f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e74726163740081525060200191505060405180910390fd5b600060608373ffffffffffffffffffffffffffffffffffffffff16836040518082805190602001908083835b60208310612d7e5780518252602082019150602081019050602083039250612d5b565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114612de0576040519150601f19603f3d011682016040523d82523d6000602084013e612de5565b606091505b509150915081612e5d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656481525060200191505060405180910390fd5b600081511115612ee357808060200190516020811015612e7c57600080fd5b8101908080519060200190929190505050612ee2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612f9d602a913960400191505060405180910390fd5b5b50505050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f91506000801b8214158015612f2b5750808214155b9250505091905056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7743616c6c6572206973206e6f742072657761726420646973747269627574696f6e5361666545524332303a204552433230206f7065726174696f6e20646964206e6f74207375636365656443616e6e6f7420646f776e6772616465206c6576656c206f722073616d65206c6576656ca265627a7a72315820ca8b3dfe65cfa953179686df32ca28e8359134b3ab829ca56e25d7f2470b5e8664736f6c63430005110032
Deployed Bytecode Sourcemap
23329:7198:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23329:7198:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26323:344;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26323:344:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24432:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24432:42:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;21798:161;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21798:161:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;22302:91;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24481:44;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24481:44:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23480:53;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;23612:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24034:68;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26957:203;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26957:203:0;;;;;;;;;;;;;;;;;:::i;:::-;;27565:588;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;27565:588:0;;;;;;;;;;;;;;;;;:::i;:::-;;27273:284;;;:::i;:::-;;24298:57;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23888:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23796:27;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28616:678;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28616:678:0;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;22166:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;22401:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;22401:110:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10831:140;;;:::i;:::-;;23682:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25536:212;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;25536:212:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25756:131;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28330:111;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28330:111:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23830:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23540:65;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24368:57;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24368:57:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10020:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;10386:94;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;24234:57;;;:::i;:::-;;;;;;;;;;;;;;;;;;;24170;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26758:191;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;26758:191:0;;;;;;;;;;;;;;;;;:::i;:::-;;24532:44;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;24532:44:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23718:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;25895:420;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29823:148;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29823:148:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;23961:66;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23754:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29979:545;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29979:545:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28449:111;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28449:111:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;23435:38;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;28159:146;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28159:146:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;27168:97;;;:::i;:::-;;23644:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29306:509;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;29306:509:0;;;;;;;;;;;;;;;;;:::i;:::-;;11126:109;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;11126:109:0;;;;;;;;;;;;;;;;;;;:::i;:::-;;24109:54;;;:::i;:::-;;;;;;;;;;;;;;;;;;;26323:344;26377:7;26417:242;26642:7;:16;26650:7;26642:16;;;;;;;;;;;;;;;;26417:202;26614:4;26417:174;26563:27;26582:7;26563:18;:27::i;:::-;26417:123;26535:4;26417:95;26458:53;26479:22;:31;26502:7;26479:31;;;;;;;;;;;;;;;;26458:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;26417:18;26427:7;26417:9;:18::i;:::-;:40;;:95;;;;:::i;:::-;:117;;:123;;;;:::i;:::-;:145;;:174;;;;:::i;:::-;:196;;:202;;;;:::i;:::-;:224;;:242;;;;:::i;:::-;26397:262;;26323:344;;;:::o;24432:42::-;;;;;;;;;;;;;;;;;:::o;21798:161::-;10232:9;:7;:9::i;:::-;10224:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21932:19;21911:18;;:40;;;;;;;;;;;;;;;;;;21798:161;:::o;22302:91::-;22346:7;22373:12;;22366:19;;22302:91;:::o;24481:44::-;;;;;;;;;;;;;;;;;:::o;23480:53::-;;;;;;;;;;;;;:::o;23612:23::-;;;;:::o;24034:68::-;24079:23;24034:68;:::o;26957:203::-;27011:10;24909:16;:14;:16::i;:::-;24886:20;:39;;;;24953:26;:24;:26::i;:::-;24936:14;:43;;;;25013:1;24994:21;;:7;:21;;;24990:157;;25051:15;25058:7;25051:6;:15::i;:::-;25032:7;:16;25040:7;25032:16;;;;;;;;;;;;;;;:34;;;;25115:20;;25081:22;:31;25104:7;25081:31;;;;;;;;;;;;;;;:54;;;;24990:157;27051:1;27042:6;:10;27034:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27085:22;27100:6;27085:14;:22::i;:::-;27133:10;27123:29;;;27145:6;27123:29;;;;;;;;;;;;;;;;;;26957:203;;:::o;27565:588::-;21714:18;;;;;;;;;;;21698:34;;:12;:10;:12::i;:::-;:34;;;21690:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27689:1;24909:16;:14;:16::i;:::-;24886:20;:39;;;;24953:26;:24;:26::i;:::-;24936:14;:43;;;;25013:1;24994:21;;:7;:21;;;24990:157;;25051:15;25058:7;25051:6;:15::i;:::-;25032:7;:16;25040:7;25032:16;;;;;;;;;;;;;;;:34;;;;25115:20;;25081:22;:31;25104:7;25081:31;;;;;;;;;;;;;;;:54;;;;24990:157;27732:12;;27713:15;:31;27709:304;;27774:20;27785:8;;27774:6;:10;;:20;;;;:::i;:::-;27761:10;:33;;;;27709:304;;;27827:17;27847:33;27864:15;27847:12;;:16;;:33;;;;:::i;:::-;27827:53;;27895:16;27914:25;27928:10;;27914:9;:13;;:25;;;;:::i;:::-;27895:44;;27967:34;27992:8;;27967:20;27978:8;27967:6;:10;;:20;;;;:::i;:::-;:24;;:34;;;;:::i;:::-;27954:10;:47;;;;27709:304;;;28040:15;28023:14;:32;;;;28081:29;28101:8;;28081:15;:19;;:29;;;;:::i;:::-;28066:12;:44;;;;28126:19;28138:6;28126:19;;;;;;;;;;;;;;;;;;21781:1;27565:588;:::o;27273:284::-;27314:10;24909:16;:14;:16::i;:::-;24886:20;:39;;;;24953:26;:24;:26::i;:::-;24936:14;:43;;;;25013:1;24994:21;;:7;:21;;;24990:157;;25051:15;25058:7;25051:6;:15::i;:::-;25032:7;:16;25040:7;25032:16;;;;;;;;;;;;;;;:34;;;;25115:20;;25081:22;:31;25104:7;25081:31;;;;;;;;;;;;;;;:54;;;;24990:157;27337:14;27354:18;27361:10;27354:6;:18::i;:::-;27337:35;;27396:1;27387:6;:10;27383:167;;;27436:1;27414:7;:19;27422:10;27414:19;;;;;;;;;;;;;;;:23;;;;27452:36;27469:10;27481:6;27452:3;;;;;;;;;;;:16;;;;:36;;;;;:::i;:::-;27519:10;27508:30;;;27531:6;27508:30;;;;;;;;;;;;;;;;;;27383:167;25157:1;27273:284;:::o;24298:57::-;24343:12;24298:57;:::o;23888:66::-;23931:23;23888:66;:::o;23796:27::-;;;;:::o;28616:678::-;28674:7;28694:14;28711;;;;;;;;;;;:24;;;28736:12;;28749:15;23874:7;28711:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;28711:72:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;28711:72:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;28711:72:0;;;;;;;;;;;;;;;;28694:89;;28836:1;28827:6;:10;28824:52;;;28863:1;28854:10;;28824:52;28988:1;28979:5;:10;28975:312;;;29013:51;29057:6;29051:2;:12;29013:33;29039:6;29034:1;:11;23931:23;29013:20;;:33;;;;:::i;:::-;:37;;:51;;;;:::i;:::-;29006:58;;;;;28975:312;29093:1;29084:5;:10;29081:206;;;29118:51;29162:6;29156:2;:12;29118:33;29144:6;29139:1;:11;24004:23;29118:20;;:33;;;;:::i;:::-;:37;;:51;;;;:::i;:::-;29111:58;;;;;29081:206;29197:1;29189:5;:9;29186:101;;;29222:53;29268:6;29262:2;:12;29222:35;29250:6;29245:1;:11;24079:23;29222:22;;:35;;;;:::i;:::-;:39;;:53;;;;:::i;:::-;29215:60;;;;;29186:101;28616:678;;;;;:::o;22166:38::-;;;;;;;;;;;;;:::o;22401:110::-;22458:7;22485:9;:18;22495:7;22485:18;;;;;;;;;;;;;;;;22478:25;;22401:110;;;:::o;10831:140::-;10232:9;:7;:9::i;:::-;10224:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10930:1;10893:40;;10914:6;;;;;;;;;;;10893:40;;;;;;;;;;;;10961:1;10944:6;;:19;;;;;;;;;;;;;;;;;;10831:140::o;23682:29::-;;;;:::o;25536:212::-;21714:18;;;;;;;;;;;21698:34;;:12;:10;:12::i;:::-;:34;;;21690:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25654:20;25661:12;25654:6;:20::i;:::-;25698:11;25685:3;;:25;;;;;;;;;;;;;;;;;;25732:8;25721;:19;;;;25536:212;;;:::o;25756:131::-;25813:7;25840:39;25849:15;25866:12;;25840:8;:39::i;:::-;25833:46;;25756:131;:::o;28330:111::-;28388:7;28415:9;:18;28425:7;28415:18;;;;;;;;;;;;;;;;28408:25;;28330:111;;;:::o;23830:51::-;23874:7;23830:51;:::o;23540:65::-;;;;;;;;;;;;;:::o;24368:57::-;;;;;;;;;;;;;;;;;:::o;10020:79::-;10058:7;10085:6;;;;;;;;;;;10078:13;;10020:79;:::o;10386:94::-;10426:4;10466:6;;;;;;;;;;;10450:22;;:12;:10;:12::i;:::-;:22;;;10443:29;;10386:94;:::o;24234:57::-;24279:12;24234:57;:::o;24170:::-;24215:12;24170:57;:::o;26758:191::-;26809:10;24909:16;:14;:16::i;:::-;24886:20;:39;;;;24953:26;:24;:26::i;:::-;24936:14;:43;;;;25013:1;24994:21;;:7;:21;;;24990:157;;25051:15;25058:7;25051:6;:15::i;:::-;25032:7;:16;25040:7;25032:16;;;;;;;;;;;;;;;:34;;;;25115:20;;25081:22;:31;25104:7;25081:31;;;;;;;;;;;;;;;:54;;;;24990:157;26849:1;26840:6;:10;26832:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26880:19;26892:6;26880:11;:19::i;:::-;26922:10;26915:26;;;26934:6;26915:26;;;;;;;;;;;;;;;;;;26758:191;;:::o;24532:44::-;;;;;;;;;;;;;;;;;:::o;23718:29::-;;;;:::o;25895:420::-;25942:7;25983:1;25966:13;:11;:13::i;:::-;:18;25962:78;;;26008:20;;26001:27;;;;25962:78;26070:237;26113:179;26278:13;:11;:13::i;:::-;26113:138;26246:4;26113:106;26208:10;;26113:68;26166:14;;26113:26;:24;:26::i;:::-;:52;;:68;;;;:::i;:::-;:94;;:106;;;;:::i;:::-;:132;;:138;;;;:::i;:::-;:164;;:179;;;;:::i;:::-;26070:20;;:24;;:237;;;;:::i;:::-;26050:257;;25895:420;;:::o;29823:148::-;21714:18;;;;;;;;;;;21698:34;;:12;:10;:12::i;:::-;:34;;;21690:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29945:17;29921:10;;:42;;;;;;;;;;;;;;;;;;29823:148;:::o;23961:66::-;24004:23;23961:66;:::o;23754:35::-;;;;:::o;29979:545::-;30045:7;30065:21;30089:10;;;;;;;;;;;:29;;;30119:7;30089:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;30089:38:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;30089:38:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;30089:38:0;;;;;;;;;;;;;;;;30065:62;;30138:22;30163:1;30138:26;;30200:1;30178:9;:18;30188:7;30178:18;;;;;;;;;;;;;;;;:23;30175:277;;;24151:12;30218:32;;30175:277;;;30292:1;30270:9;:18;30280:7;30270:18;;;;;;;;;;;;;;;;:23;30267:185;;;24215:12;30310:35;;30267:185;;;30387:1;30365:9;:18;30375:7;30365:18;;;;;;;;;;;;;;;;:23;30362:90;;;24343:12;30405:35;;30362:90;30267:185;30175:277;30469:47;30507:8;30469:33;30487:14;30469:13;:17;;:33;;;;:::i;:::-;:37;;:47;;;;:::i;:::-;30462:54;;;;29979:545;;;:::o;28449:111::-;28507:7;28534:9;:18;28544:7;28534:18;;;;;;;;;;;;;;;;28527:25;;28449:111;;;:::o;23435:38::-;;;;;;;;;;;;;:::o;28159:146::-;21714:18;;;;;;;;;;;21698:34;;:12;:10;:12::i;:::-;:34;;;21690:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28282:14;28250;;:47;;;;;;;;;;;;;;;;;;28159:146;:::o;27168:97::-;27204:31;27213:21;27223:10;27213:9;:21::i;:::-;27204:8;:31::i;:::-;27246:11;:9;:11::i;:::-;27168:97::o;23644:31::-;;;;:::o;29306:509::-;29392:5;29367:9;:21;29377:10;29367:21;;;;;;;;;;;;;;;;:30;;29359:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29448:12;29463:20;29477:5;29463:13;:20::i;:::-;29448:35;;29494:17;29514:31;29523:9;:21;29533:10;29523:21;;;;;;;;;;;;;;;;29514:4;:8;;:31;;;;:::i;:::-;29494:51;;29583:85;29604:10;29615:42;29658:9;29583:3;;;;;;;;;;;:20;;;;:85;;;;;;:::i;:::-;29703:36;29729:9;29703;:21;29713:10;29703:21;;;;;;;;;;;;;;;;:25;;:36;;;;:::i;:::-;29679:9;:21;29689:10;29679:21;;;;;;;;;;;;;;;:60;;;;29774:5;29750:9;:21;29760:10;29750:21;;;;;;;;;;;;;;;:29;;;;29795:12;29801:5;29795:12;;;;;;;;;;;;;;;;;;29306:509;;;:::o;11126:109::-;10232:9;:7;:9::i;:::-;10224:54;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11199:28;11218:8;11199:18;:28::i;:::-;11126:109;:::o;24109:54::-;24151:12;24109:54;:::o;3770:136::-;3828:7;3855:43;3859:1;3862;3855:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;3848:50;;3770:136;;;;:::o;4686:471::-;4744:7;4994:1;4989;:6;4985:47;;;5019:1;5012:8;;;;4985:47;5044:9;5060:1;5056;:5;5044:17;;5089:1;5084;5080;:5;;;;;;:10;5072:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5148:1;5141:8;;;4686:471;;;;;:::o;5625:132::-;5683:7;5710:39;5714:1;5717;5710:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;5703:46;;5625:132;;;;:::o;3314:181::-;3372:7;3392:9;3408:1;3404;:5;3392:17;;3433:1;3428;:6;;3420:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3486:1;3479:8;;;3314:181;;;;:::o;22757:214::-;22824:24;22841:6;22824:12;;:16;;:24;;;;:::i;:::-;22809:12;:39;;;;22883:33;22909:6;22883:9;:21;22893:10;22883:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;22859:9;:21;22869:10;22859:21;;;;;;;;;;;;;;;:57;;;;22927:36;22944:10;22956:6;22927:3;;;;;;;;;;;:16;;;;:36;;;;;:::i;:::-;22757:214;:::o;8769:98::-;8814:15;8849:10;8842:17;;8769:98;:::o;18247:176::-;18330:85;18349:5;18379;:14;;;:23;;;;18404:2;18408:5;18356:58;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;18356:58:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;18356:58:0;18330:18;:85::i;:::-;18247:176;;;:::o;22978:88::-;23047:10;23034:3;;:24;;;;;;;;;;;;;;;;;;22978:88;:::o;1976:106::-;2034:7;2065:1;2061;:5;:13;;2073:1;2061:13;;;2069:1;2061:13;2054:20;;1976:106;;;;:::o;22519:230::-;22583:24;22600:6;22583:12;;:16;;:24;;;;:::i;:::-;22568:12;:39;;;;22642:33;22668:6;22642:9;:21;22652:10;22642:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;22618:9;:21;22628:10;22618:21;;;;;;;;;;;;;;;:57;;;;22686:55;22707:10;22727:4;22734:6;22686:3;;;;;;;;;;;:20;;;;:55;;;;;;:::i;:::-;22519:230;:::o;18431:204::-;18532:95;18551:5;18581;:18;;;:27;;;;18610:4;18616:2;18620:5;18558:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;18558:68:0;;;;;;;38:4:-1;29:7;25:18;67:10;61:17;96:58;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;18558:68:0;18532:18;:95::i;:::-;18431:204;;;;:::o;11341:229::-;11435:1;11415:22;;:8;:22;;;;11407:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11525:8;11496:38;;11517:6;;;;;;;;;;;11496:38;;;;;;;;;;;;11554:8;11545:6;;:17;;;;;;;;;;;;;;;;;;11341:229;:::o;4243:192::-;4329:7;4362:1;4357;:6;;4365:12;4349:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;4349:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4389:9;4405:1;4401;:5;4389:17;;4426:1;4419:8;;;4243:192;;;;;:::o;6287:345::-;6373:7;6472:1;6468;:5;6475:12;6460:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;6460:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6499:9;6515:1;6511;:5;;;;;;6499:17;;6623:1;6616:8;;;6287:345;;;;;:::o;20286:1114::-;20890:27;20898:5;20890:25;;;:27::i;:::-;20882:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21027:12;21041:23;21076:5;21068:19;;21088:4;21068:25;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;182:3;176:10;171:3;164:23;98:2;93:3;89:12;82:19;;123:2;118:3;114:12;107:19;;148:2;143:3;139:12;132:19;;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;;;21068: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;;21026:67:0;;;;21112:7;21104:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21193:1;21173:10;:17;:21;21169:224;;;21315:10;21304:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;21304:30:0;;;;;;;;;;;;;;;;21296:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21169:224;20286:1114;;;;:::o;15085:810::-;15145:4;15598:16;15625:19;15647:66;15625:88;;;;15816:7;15804:20;15792:32;;15856:3;15844:15;;:8;:15;;:42;;;;;15875:11;15863:8;:23;;15844:42;15836:51;;;;15085:810;;;:::o
Swarm Source
bzzr://ca8b3dfe65cfa953179686df32ca28e8359134b3ab829ca56e25d7f2470b5e86
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.