More Info
Private Name Tags
ContractCreator
Multichain Info
Latest 25 from a total of 364 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Exit | 12407091 | 1257 days ago | IN | 0 ETH | 0.02645479 | ||||
Exit | 12278337 | 1276 days ago | IN | 0 ETH | 0.02720894 | ||||
Exit | 11960942 | 1325 days ago | IN | 0 ETH | 0.01146259 | ||||
Exit | 11921401 | 1331 days ago | IN | 0 ETH | 0.02020139 | ||||
Exit | 11916825 | 1332 days ago | IN | 0 ETH | 0.01282448 | ||||
Stake | 11872282 | 1339 days ago | IN | 0 ETH | 0.00925664 | ||||
Get Reward | 11872210 | 1339 days ago | IN | 0 ETH | 0.01219827 | ||||
Exit | 11867757 | 1340 days ago | IN | 0 ETH | 0.01600223 | ||||
Stake | 11861082 | 1341 days ago | IN | 0 ETH | 0.00800765 | ||||
Get Reward | 11856404 | 1341 days ago | IN | 0 ETH | 0.00649784 | ||||
Stake | 11841747 | 1344 days ago | IN | 0 ETH | 0.00837683 | ||||
Exit | 11834480 | 1345 days ago | IN | 0 ETH | 0.01327844 | ||||
Get Reward | 11831451 | 1345 days ago | IN | 0 ETH | 0.00645458 | ||||
Stake | 11822639 | 1347 days ago | IN | 0 ETH | 0.01095299 | ||||
Exit | 11811175 | 1348 days ago | IN | 0 ETH | 0.01305146 | ||||
Get Reward | 11811170 | 1348 days ago | IN | 0 ETH | 0.00639894 | ||||
Stake | 11779332 | 1353 days ago | IN | 0 ETH | 0.0092042 | ||||
Exit | 11769585 | 1355 days ago | IN | 0 ETH | 0.01536361 | ||||
Get Reward | 11688729 | 1367 days ago | IN | 0 ETH | 0.0028332 | ||||
Withdraw | 11688701 | 1367 days ago | IN | 0 ETH | 0.00385345 | ||||
Exit | 11651749 | 1373 days ago | IN | 0 ETH | 0.00523533 | ||||
Exit | 11646676 | 1374 days ago | IN | 0 ETH | 0.00431265 | ||||
Get Reward | 11642830 | 1374 days ago | IN | 0 ETH | 0.00227767 | ||||
Exit | 11641454 | 1374 days ago | IN | 0 ETH | 0.00736556 | ||||
Get Reward | 11641438 | 1374 days ago | IN | 0 ETH | 0.00595502 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
StakingRewards
Compiler Version
v0.5.13+commit.5b0b510c
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-11-16 */ // File: openzeppelin-solidity/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-solidity/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-solidity/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. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // According to EIP-1052, 0x0 is the value returned for not-yet created accounts // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned // for accounts without code, i.e. `keccak256('')` bytes32 codehash; bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470; // solhint-disable-next-line no-inline-assembly assembly { codehash := extcodehash(account) } return (codehash != accountHash && codehash != 0x0); } /** * @dev Converts an `address` into `address payable`. Note that this is * simply a type cast: the actual underlying value is not changed. * * _Available since v2.4.0._ */ function toPayable(address account) internal pure returns (address payable) { return address(uint160(account)); } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. * * _Available since v2.4.0._ */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-call-value (bool success, ) = recipient.call.value(amount)(""); require(success, "Address: unable to send value, recipient may have reverted"); } } // File: openzeppelin-solidity/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: openzeppelin-solidity/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-solidity/contracts/utils/ReentrancyGuard.sol pragma solidity ^0.5.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. * * _Since v2.5.0:_ this module is now much more gas efficient, given net gas * metering changes introduced in the Istanbul hardfork. */ contract ReentrancyGuard { bool private _notEntered; constructor () internal { // Storing an initial non-zero value makes deployment a bit more // expensive, but in exchange the refund on every call to nonReentrant // will be lower in amount. Since refunds are capped to a percetange of // the total transaction's gas, it is best to keep them low in cases // like this one, to increase the likelihood of the full refund coming // into effect. _notEntered = true; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_notEntered, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _notEntered = false; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _notEntered = true; } } // File: openzeppelin-solidity/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-solidity/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 { address msgSender = _msgSender(); _owner = msgSender; emit OwnershipTransferred(address(0), msgSender); } /** * @dev Returns the address of the current owner. */ function owner() public view returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner(), "Ownable: caller is not the owner"); _; } /** * @dev Returns true if the caller is the current owner. */ function isOwner() public view returns (bool) { return _msgSender() == _owner; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: contracts/incentives/StakingRewards.sol /* ____ __ __ __ _ / __/__ __ ___ / /_ / / ___ / /_ (_)__ __ _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ / /___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\ /___/ * Synthetix: PrimeIncentives.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 */ pragma solidity >=0.5.13; contract StakingRewards is Ownable, ReentrancyGuard { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public rewardToken; IERC20 public stakingToken; bool public initialized; modifier initializer() { require(!initialized, "StakingRewards: contract already initialized"); initialized = true; _; } modifier protected() { require(initialized, "StakingRewards: contract not initialized"); _; } /** * @dev Initialize contract. * @param _rewardToken The address * @param _stakingToken The address * @param _initreward Initial reward * @param _starttime Start time */ function initialize( address _rewardToken, address _stakingToken, uint256 _initreward, uint256 _starttime, uint256 _duration ) external initializer { require(_rewardToken != address(0), "StakingRewards: rewardToken cannot be null"); require(_stakingToken != address(0), "StakingRewards: stakingToken cannot be null"); require(_initreward != 0, "StakingRewards: initreward cannot be null"); require(_starttime != 0, "StakingRewards: starttime cannot be null"); require(_duration != 0, "StakingRewards: duration cannot be null"); rewardToken = IERC20(_rewardToken); stakingToken = IERC20(_stakingToken); initreward = _initreward; starttime = _starttime; DURATION = (_duration * 24 hours); require(_initreward == rewardToken.balanceOf(address(this)), "StakingRewards: wrong reward amount supplied"); _notifyRewardAmount(_initreward); } uint256 public DURATION; uint256 public initreward; uint256 public starttime; uint256 public periodFinish; uint256 public rewardRate; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; uint256 private _totalSupply; mapping(address => uint256) private _balances; 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); modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } function lastTimeRewardApplicable() public view returns (uint256) { return Math.min(block.timestamp, periodFinish); } function rewardPerToken() public view returns (uint256) { if (_totalSupply == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable() .sub(lastUpdateTime) .mul(rewardRate) .mul(1e18) .div(_totalSupply) ); } function earned(address account) public view returns (uint256) { return _balances[account] .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(1e18) .add(rewards[account]); } /* stake visibility is public as overriding LPTokenWrapper's stake() function */ /* added nonReentrant modifier as calling _stake(): calls token contract */ function stake(uint256 amount) public nonReentrant updateReward(msg.sender) protected checkStart { require(amount > 0, "StakingRewards: cannot stake 0"); _stake(amount); emit Staked(msg.sender, amount); } /* added nonReentrant modifier as calling _withdraw(): calls token contract */ function withdraw(uint256 amount) public nonReentrant updateReward(msg.sender) protected checkStart { require(amount > 0, "StakingRewards: Cannot withdraw 0"); _withdraw(amount); emit Withdrawn(msg.sender, amount); } /* added nonReentrant modifier as calling withdraw() and getReward(): these call token contract */ function exit() external { withdraw(_balances[msg.sender]); getReward(); } /* added nonReentrant modifier as calling token contract */ function getReward() public nonReentrant updateReward(msg.sender) protected checkStart { uint256 reward = earned(msg.sender); if (reward > 0) { rewards[msg.sender] = 0; rewardToken.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } modifier checkStart(){ require(block.timestamp >= starttime,"StakingRewards: not start"); _; } // This function allows governance to take unsupported tokens out of the // contract, since this one exists longer than the other pools. // This is in an effort to make someone whole, should they seriously // mess up. There is no guarantee governance will vote to return these. // It also allows for removal of airdropped tokens. function rescueTokens(IERC20 _token, uint256 amount, address to) external protected { // only gov require(msg.sender == owner(), "StakingRewards: !governance"); // cant take staked asset require(_token != stakingToken, "StakingRewards: stakingToken"); // cant take reward asset require(_token != rewardToken, "StakingRewards: rewardToken"); // transfer to _token.safeTransfer(to, amount); } function totalSupply() public view returns (uint256) { return _totalSupply; } function balanceOf(address account) public view returns (uint256) { return _balances[account]; } function _stake(uint256 _amount) private { _totalSupply = _totalSupply.add(_amount); _balances[msg.sender] = _balances[msg.sender].add(_amount); stakingToken.safeTransferFrom(msg.sender, address(this), _amount); } function _withdraw(uint256 _amount) private { _totalSupply = _totalSupply.sub(_amount); _balances[msg.sender] = _balances[msg.sender].sub(_amount); stakingToken.safeTransfer(msg.sender, _amount); } function _notifyRewardAmount(uint256 reward) internal updateReward(address(0)) { rewardRate = reward.div(DURATION); lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(DURATION); emit RewardAdded(reward); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":[{"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":false,"inputs":[{"internalType":"address","name":"_rewardToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"uint256","name":"_initreward","type":"uint256"},{"internalType":"uint256","name":"_starttime","type":"uint256"},{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"initialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"initreward","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":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":false,"inputs":[{"internalType":"contract IERC20","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"rescueTokens","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":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"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":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260006100176001600160e01b0361008a16565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3506000805460ff60a01b19167401000000000000000000000000000000000000000017905561008e565b3390565b611a448061009d6000396000f3fe608060405234801561001057600080fd5b50600436106101a85760003560e01c80638da58897116100f9578063cd3daf9d11610097578063e9fad8ee11610071578063e9fad8ee146103b3578063ebe2b12b146103bb578063f2fde38b146103c3578063f7c618c1146103e9576101a8565b8063cd3daf9d14610361578063d13f90b414610369578063df136d65146103ab576101a8565b80639c907b58116100d35780639c907b58146102fe578063a694fc3a14610306578063b37fd19014610323578063c8f33c9114610359576101a8565b80638da58897146102e65780638da5cb5b146102ee5780638f32d59b146102f6576101a8565b80633d18b9121161016657806372f702f31161014057806372f702f31461028c5780637b0a47ee146102b057806380faa57d146102b85780638b876347146102c0576101a8565b80633d18b9121461025657806370a082311461025e578063715018a614610284576101a8565b80628cc262146101ad5780630700037d146101e5578063158ef93e1461020b57806318160ddd146102275780631be052891461022f5780632e1a7d4d14610237575b600080fd5b6101d3600480360360208110156101c357600080fd5b50356001600160a01b03166103f1565b60408051918252519081900360200190f35b6101d3600480360360208110156101fb57600080fd5b50356001600160a01b0316610487565b610213610499565b604080519115158252519081900360200190f35b6101d36104a9565b6101d36104b0565b6102546004803603602081101561024d57600080fd5b50356104b6565b005b6102546106ac565b6101d36004803603602081101561027457600080fd5b50356001600160a01b0316610897565b6102546108b2565b610294610955565b604080516001600160a01b039092168252519081900360200190f35b6101d3610964565b6101d361096a565b6101d3600480360360208110156102d657600080fd5b50356001600160a01b031661097d565b6101d361098f565b610294610995565b6102136109a4565b6101d36109c8565b6102546004803603602081101561031c57600080fd5b50356109ce565b6102546004803603606081101561033957600080fd5b506001600160a01b03813581169160208101359160409091013516610bda565b6101d3610d74565b6101d3610d7a565b610254600480360360a081101561037f57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060800135610dd4565b6101d361106c565b610254611072565b6101d3611095565b610254600480360360208110156103d957600080fd5b50356001600160a01b031661109b565b610294611100565b6001600160a01b0381166000908152600b6020908152604080832054600a909252822054610481919061047590670de0b6b3a7640000906104699061044490610438610d7a565b9063ffffffff61110f16565b6001600160a01b0388166000908152600d60205260409020549063ffffffff61115816565b9063ffffffff6111b116565b9063ffffffff6111f316565b92915050565b600b6020526000908152604090205481565b600254600160a01b900460ff1681565b600c545b90565b60035481565b600054600160a01b900460ff16610514576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff60a01b191690553361052a610d7a565b60095561053561096a565b6008556001600160a01b0381161561057c57610550816103f1565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600254600160a01b900460ff166105c45760405162461bcd60e51b81526004018080602001828103825260288152602001806118576028913960400191505060405180910390fd5b600554421015610617576040805162461bcd60e51b815260206004820152601960248201527814dd185ada5b99d4995dd85c991cce881b9bdd081cdd185c9d603a1b604482015290519081900360640190fd5b600082116106565760405162461bcd60e51b815260040180806020018281038252602181526020018061187f6021913960400191505060405180910390fd5b61065f8261124d565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506000805460ff60a01b1916600160a01b179055565b600054600160a01b900460ff1661070a576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff60a01b1916905533610720610d7a565b60095561072b61096a565b6008556001600160a01b0381161561077257610746816103f1565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600254600160a01b900460ff166107ba5760405162461bcd60e51b81526004018080602001828103825260288152602001806118576028913960400191505060405180910390fd5b60055442101561080d576040805162461bcd60e51b815260206004820152601960248201527814dd185ada5b99d4995dd85c991cce881b9bdd081cdd185c9d603a1b604482015290519081900360640190fd5b6000610818336103f1565b9050801561088057336000818152600b6020526040812055600154610849916001600160a01b0390911690836112ab565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b50506000805460ff60a01b1916600160a01b179055565b6001600160a01b03166000908152600d602052604090205490565b6108ba6109a4565b61090b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6002546001600160a01b031681565b60075481565b6000610978426006546112fd565b905090565b600a6020526000908152604090205481565b60055481565b6000546001600160a01b031690565b600080546001600160a01b03166109b9611313565b6001600160a01b031614905090565b60045481565b600054600160a01b900460ff16610a2c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff60a01b1916905533610a42610d7a565b600955610a4d61096a565b6008556001600160a01b03811615610a9457610a68816103f1565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600254600160a01b900460ff16610adc5760405162461bcd60e51b81526004018080602001828103825260288152602001806118576028913960400191505060405180910390fd5b600554421015610b2f576040805162461bcd60e51b815260206004820152601960248201527814dd185ada5b99d4995dd85c991cce881b9bdd081cdd185c9d603a1b604482015290519081900360640190fd5b60008211610b84576040805162461bcd60e51b815260206004820152601e60248201527f5374616b696e67526577617264733a2063616e6e6f74207374616b6520300000604482015290519081900360640190fd5b610b8d82611317565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250506000805460ff60a01b1916600160a01b179055565b600254600160a01b900460ff16610c225760405162461bcd60e51b81526004018080602001828103825260288152602001806118576028913960400191505060405180910390fd5b610c2a610995565b6001600160a01b0316336001600160a01b031614610c8f576040805162461bcd60e51b815260206004820152601b60248201527f5374616b696e67526577617264733a2021676f7665726e616e63650000000000604482015290519081900360640190fd5b6002546001600160a01b0384811691161415610cf2576040805162461bcd60e51b815260206004820152601c60248201527f5374616b696e67526577617264733a207374616b696e67546f6b656e00000000604482015290519081900360640190fd5b6001546001600160a01b0384811691161415610d55576040805162461bcd60e51b815260206004820152601b60248201527f5374616b696e67526577617264733a20726577617264546f6b656e0000000000604482015290519081900360640190fd5b610d6f6001600160a01b038416828463ffffffff6112ab16565b505050565b60085481565b6000600c5460001415610d9057506009546104ad565b610978610dc5600c54610469670de0b6b3a7640000610db9600754610db960085461043861096a565b9063ffffffff61115816565b6009549063ffffffff6111f316565b600254600160a01b900460ff1615610e1d5760405162461bcd60e51b815260040180806020018281038252602c8152602001806118f2602c913960400191505060405180910390fd5b6002805460ff60a01b1916600160a01b1790556001600160a01b038516610e755760405162461bcd60e51b815260040180806020018281038252602a81526020018061193f602a913960400191505060405180910390fd5b6001600160a01b038416610eba5760405162461bcd60e51b815260040180806020018281038252602b8152602001806118c7602b913960400191505060405180910390fd5b82610ef65760405162461bcd60e51b81526004018080602001828103825260298152602001806119696029913960400191505060405180910390fd5b81610f325760405162461bcd60e51b81526004018080602001828103825260288152602001806119be6028913960400191505060405180910390fd5b80610f6e5760405162461bcd60e51b81526004018080602001828103825260278152602001806118a06027913960400191505060405180910390fd5b600180546001600160a01b038088166001600160a01b031992831617928390556002805488831693169290921790915560048581556005859055620151808402600355604080516370a0823160e01b815230928101929092525192909116916370a0823191602480820192602092909190829003018186803b158015610ff357600080fd5b505afa158015611007573d6000803e3d6000fd5b505050506040513d602081101561101d57600080fd5b5051831461105c5760405162461bcd60e51b815260040180806020018281038252602c815260200180611992602c913960400191505060405180910390fd5b6110658361137a565b5050505050565b60095481565b336000908152600d602052604090205461108b906104b6565b6110936106ac565b565b60065481565b6110a36109a4565b6110f4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6110fd81611440565b50565b6001546001600160a01b031681565b600061115183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506114e0565b9392505050565b60008261116757506000610481565b8282028284828161117457fe5b04146111515760405162461bcd60e51b815260040180806020018281038252602181526020018061191e6021913960400191505060405180910390fd5b600061115183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611577565b600082820183811015611151576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600c54611260908263ffffffff61110f16565b600c55336000908152600d6020526040902054611283908263ffffffff61110f16565b336000818152600d60205260409020919091556002546110fd916001600160a01b0390911690835b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d6f9084906115dc565b600081831061130c5781611151565b5090919050565b3390565b600c5461132a908263ffffffff6111f316565b600c55336000908152600d602052604090205461134d908263ffffffff6111f316565b336000818152600d60205260409020919091556002546110fd916001600160a01b0390911690308461179a565b6000611384610d7a565b60095561138f61096a565b6008556001600160a01b038116156113d6576113aa816103f1565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b6003546113ea90839063ffffffff6111b116565b600755426008819055600354611406919063ffffffff6111f316565b6006556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b6001600160a01b0381166114855760405162461bcd60e51b81526004018080602001828103825260268152602001806118316026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000818484111561156f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561153457818101518382015260200161151c565b50505050905090810190601f1680156115615780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836115c65760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561153457818101518382015260200161151c565b5060008385816115d257fe5b0495945050505050565b6115ee826001600160a01b03166117f4565b61163f576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061167d5780518252601f19909201916020918201910161165e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146116df576040519150601f19603f3d011682016040523d82523d6000602084013e6116e4565b606091505b50915091508161173b576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156117945780806020019051602081101561175757600080fd5b50516117945760405162461bcd60e51b815260040180806020018281038252602a8152602001806119e6602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526117949085906115dc565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061182857508115155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735374616b696e67526577617264733a20636f6e7472616374206e6f7420696e697469616c697a65645374616b696e67526577617264733a2043616e6e6f7420776974686472617720305374616b696e67526577617264733a206475726174696f6e2063616e6e6f74206265206e756c6c5374616b696e67526577617264733a207374616b696e67546f6b656e2063616e6e6f74206265206e756c6c5374616b696e67526577617264733a20636f6e747261637420616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775374616b696e67526577617264733a20726577617264546f6b656e2063616e6e6f74206265206e756c6c5374616b696e67526577617264733a20696e69747265776172642063616e6e6f74206265206e756c6c5374616b696e67526577617264733a2077726f6e672072657761726420616d6f756e7420737570706c6965645374616b696e67526577617264733a20737461727474696d652063616e6e6f74206265206e756c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a7231582066c1517622a73ff71dc246cdd7ac9905b5941ded216d11a7d265876ec338b32364736f6c634300050d0032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101a85760003560e01c80638da58897116100f9578063cd3daf9d11610097578063e9fad8ee11610071578063e9fad8ee146103b3578063ebe2b12b146103bb578063f2fde38b146103c3578063f7c618c1146103e9576101a8565b8063cd3daf9d14610361578063d13f90b414610369578063df136d65146103ab576101a8565b80639c907b58116100d35780639c907b58146102fe578063a694fc3a14610306578063b37fd19014610323578063c8f33c9114610359576101a8565b80638da58897146102e65780638da5cb5b146102ee5780638f32d59b146102f6576101a8565b80633d18b9121161016657806372f702f31161014057806372f702f31461028c5780637b0a47ee146102b057806380faa57d146102b85780638b876347146102c0576101a8565b80633d18b9121461025657806370a082311461025e578063715018a614610284576101a8565b80628cc262146101ad5780630700037d146101e5578063158ef93e1461020b57806318160ddd146102275780631be052891461022f5780632e1a7d4d14610237575b600080fd5b6101d3600480360360208110156101c357600080fd5b50356001600160a01b03166103f1565b60408051918252519081900360200190f35b6101d3600480360360208110156101fb57600080fd5b50356001600160a01b0316610487565b610213610499565b604080519115158252519081900360200190f35b6101d36104a9565b6101d36104b0565b6102546004803603602081101561024d57600080fd5b50356104b6565b005b6102546106ac565b6101d36004803603602081101561027457600080fd5b50356001600160a01b0316610897565b6102546108b2565b610294610955565b604080516001600160a01b039092168252519081900360200190f35b6101d3610964565b6101d361096a565b6101d3600480360360208110156102d657600080fd5b50356001600160a01b031661097d565b6101d361098f565b610294610995565b6102136109a4565b6101d36109c8565b6102546004803603602081101561031c57600080fd5b50356109ce565b6102546004803603606081101561033957600080fd5b506001600160a01b03813581169160208101359160409091013516610bda565b6101d3610d74565b6101d3610d7a565b610254600480360360a081101561037f57600080fd5b506001600160a01b03813581169160208101359091169060408101359060608101359060800135610dd4565b6101d361106c565b610254611072565b6101d3611095565b610254600480360360208110156103d957600080fd5b50356001600160a01b031661109b565b610294611100565b6001600160a01b0381166000908152600b6020908152604080832054600a909252822054610481919061047590670de0b6b3a7640000906104699061044490610438610d7a565b9063ffffffff61110f16565b6001600160a01b0388166000908152600d60205260409020549063ffffffff61115816565b9063ffffffff6111b116565b9063ffffffff6111f316565b92915050565b600b6020526000908152604090205481565b600254600160a01b900460ff1681565b600c545b90565b60035481565b600054600160a01b900460ff16610514576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff60a01b191690553361052a610d7a565b60095561053561096a565b6008556001600160a01b0381161561057c57610550816103f1565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600254600160a01b900460ff166105c45760405162461bcd60e51b81526004018080602001828103825260288152602001806118576028913960400191505060405180910390fd5b600554421015610617576040805162461bcd60e51b815260206004820152601960248201527814dd185ada5b99d4995dd85c991cce881b9bdd081cdd185c9d603a1b604482015290519081900360640190fd5b600082116106565760405162461bcd60e51b815260040180806020018281038252602181526020018061187f6021913960400191505060405180910390fd5b61065f8261124d565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a250506000805460ff60a01b1916600160a01b179055565b600054600160a01b900460ff1661070a576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff60a01b1916905533610720610d7a565b60095561072b61096a565b6008556001600160a01b0381161561077257610746816103f1565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600254600160a01b900460ff166107ba5760405162461bcd60e51b81526004018080602001828103825260288152602001806118576028913960400191505060405180910390fd5b60055442101561080d576040805162461bcd60e51b815260206004820152601960248201527814dd185ada5b99d4995dd85c991cce881b9bdd081cdd185c9d603a1b604482015290519081900360640190fd5b6000610818336103f1565b9050801561088057336000818152600b6020526040812055600154610849916001600160a01b0390911690836112ab565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a25b50506000805460ff60a01b1916600160a01b179055565b6001600160a01b03166000908152600d602052604090205490565b6108ba6109a4565b61090b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6002546001600160a01b031681565b60075481565b6000610978426006546112fd565b905090565b600a6020526000908152604090205481565b60055481565b6000546001600160a01b031690565b600080546001600160a01b03166109b9611313565b6001600160a01b031614905090565b60045481565b600054600160a01b900460ff16610a2c576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b6000805460ff60a01b1916905533610a42610d7a565b600955610a4d61096a565b6008556001600160a01b03811615610a9457610a68816103f1565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b600254600160a01b900460ff16610adc5760405162461bcd60e51b81526004018080602001828103825260288152602001806118576028913960400191505060405180910390fd5b600554421015610b2f576040805162461bcd60e51b815260206004820152601960248201527814dd185ada5b99d4995dd85c991cce881b9bdd081cdd185c9d603a1b604482015290519081900360640190fd5b60008211610b84576040805162461bcd60e51b815260206004820152601e60248201527f5374616b696e67526577617264733a2063616e6e6f74207374616b6520300000604482015290519081900360640190fd5b610b8d82611317565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a250506000805460ff60a01b1916600160a01b179055565b600254600160a01b900460ff16610c225760405162461bcd60e51b81526004018080602001828103825260288152602001806118576028913960400191505060405180910390fd5b610c2a610995565b6001600160a01b0316336001600160a01b031614610c8f576040805162461bcd60e51b815260206004820152601b60248201527f5374616b696e67526577617264733a2021676f7665726e616e63650000000000604482015290519081900360640190fd5b6002546001600160a01b0384811691161415610cf2576040805162461bcd60e51b815260206004820152601c60248201527f5374616b696e67526577617264733a207374616b696e67546f6b656e00000000604482015290519081900360640190fd5b6001546001600160a01b0384811691161415610d55576040805162461bcd60e51b815260206004820152601b60248201527f5374616b696e67526577617264733a20726577617264546f6b656e0000000000604482015290519081900360640190fd5b610d6f6001600160a01b038416828463ffffffff6112ab16565b505050565b60085481565b6000600c5460001415610d9057506009546104ad565b610978610dc5600c54610469670de0b6b3a7640000610db9600754610db960085461043861096a565b9063ffffffff61115816565b6009549063ffffffff6111f316565b600254600160a01b900460ff1615610e1d5760405162461bcd60e51b815260040180806020018281038252602c8152602001806118f2602c913960400191505060405180910390fd5b6002805460ff60a01b1916600160a01b1790556001600160a01b038516610e755760405162461bcd60e51b815260040180806020018281038252602a81526020018061193f602a913960400191505060405180910390fd5b6001600160a01b038416610eba5760405162461bcd60e51b815260040180806020018281038252602b8152602001806118c7602b913960400191505060405180910390fd5b82610ef65760405162461bcd60e51b81526004018080602001828103825260298152602001806119696029913960400191505060405180910390fd5b81610f325760405162461bcd60e51b81526004018080602001828103825260288152602001806119be6028913960400191505060405180910390fd5b80610f6e5760405162461bcd60e51b81526004018080602001828103825260278152602001806118a06027913960400191505060405180910390fd5b600180546001600160a01b038088166001600160a01b031992831617928390556002805488831693169290921790915560048581556005859055620151808402600355604080516370a0823160e01b815230928101929092525192909116916370a0823191602480820192602092909190829003018186803b158015610ff357600080fd5b505afa158015611007573d6000803e3d6000fd5b505050506040513d602081101561101d57600080fd5b5051831461105c5760405162461bcd60e51b815260040180806020018281038252602c815260200180611992602c913960400191505060405180910390fd5b6110658361137a565b5050505050565b60095481565b336000908152600d602052604090205461108b906104b6565b6110936106ac565b565b60065481565b6110a36109a4565b6110f4576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6110fd81611440565b50565b6001546001600160a01b031681565b600061115183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506114e0565b9392505050565b60008261116757506000610481565b8282028284828161117457fe5b04146111515760405162461bcd60e51b815260040180806020018281038252602181526020018061191e6021913960400191505060405180910390fd5b600061115183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611577565b600082820183811015611151576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600c54611260908263ffffffff61110f16565b600c55336000908152600d6020526040902054611283908263ffffffff61110f16565b336000818152600d60205260409020919091556002546110fd916001600160a01b0390911690835b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d6f9084906115dc565b600081831061130c5781611151565b5090919050565b3390565b600c5461132a908263ffffffff6111f316565b600c55336000908152600d602052604090205461134d908263ffffffff6111f316565b336000818152600d60205260409020919091556002546110fd916001600160a01b0390911690308461179a565b6000611384610d7a565b60095561138f61096a565b6008556001600160a01b038116156113d6576113aa816103f1565b6001600160a01b0382166000908152600b6020908152604080832093909355600954600a909152919020555b6003546113ea90839063ffffffff6111b116565b600755426008819055600354611406919063ffffffff6111f316565b6006556040805183815290517fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d9181900360200190a15050565b6001600160a01b0381166114855760405162461bcd60e51b81526004018080602001828103825260268152602001806118316026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000818484111561156f5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561153457818101518382015260200161151c565b50505050905090810190601f1680156115615780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836115c65760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561153457818101518382015260200161151c565b5060008385816115d257fe5b0495945050505050565b6115ee826001600160a01b03166117f4565b61163f576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061167d5780518252601f19909201916020918201910161165e565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146116df576040519150601f19603f3d011682016040523d82523d6000602084013e6116e4565b606091505b50915091508161173b576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156117945780806020019051602081101561175757600080fd5b50516117945760405162461bcd60e51b815260040180806020018281038252602a8152602001806119e6602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526117949085906115dc565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061182857508115155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735374616b696e67526577617264733a20636f6e7472616374206e6f7420696e697469616c697a65645374616b696e67526577617264733a2043616e6e6f7420776974686472617720305374616b696e67526577617264733a206475726174696f6e2063616e6e6f74206265206e756c6c5374616b696e67526577617264733a207374616b696e67546f6b656e2063616e6e6f74206265206e756c6c5374616b696e67526577617264733a20636f6e747261637420616c726561647920696e697469616c697a6564536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775374616b696e67526577617264733a20726577617264546f6b656e2063616e6e6f74206265206e756c6c5374616b696e67526577617264733a20696e69747265776172642063616e6e6f74206265206e756c6c5374616b696e67526577617264733a2077726f6e672072657761726420616d6f756e7420737570706c6965645374616b696e67526577617264733a20737461727474696d652063616e6e6f74206265206e756c6c5361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a7231582066c1517622a73ff71dc246cdd7ac9905b5941ded216d11a7d265876ec338b32364736f6c634300050d0032
Deployed Bytecode Sourcemap
23793:7020:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;23793:7020:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27226:265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27226:265:0;-1:-1:-1;;;;;27226:265:0;;:::i;:::-;;;;;;;;;;;;;;;;25963:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25963:42:0;-1:-1:-1;;;;;25963:42:0;;:::i;23987:25::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;29839:91;;;:::i;25658:23::-;;;:::i;27995:248::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27995:248:0;;:::i;:::-;;28525:326;;;:::i;29938:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29938:110:0;-1:-1:-1;;;;;29938:110:0;;:::i;21537:140::-;;;:::i;23954:26::-;;;:::i;:::-;;;;-1:-1:-1;;;;;23954:26:0;;;;;;;;;;;;;;25787:25;;;:::i;26661:131::-;;;:::i;25899:57::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25899:57:0;-1:-1:-1;;;;;25899:57:0;;:::i;25722:24::-;;;:::i;20726:79::-;;;:::i;21092:94::-;;;:::i;25690:25::-;;;:::i;27667:236::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;27667:236:0;;:::i;29339:492::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;29339:492:0;;;;;;;;;;;;;;;;;:::i;25819:29::-;;;:::i;26800:418::-;;;:::i;24534:1116::-;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;;;;;;24534:1116:0;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;25855:35::-;;;:::i;28355:97::-;;;:::i;25753:27::-;;;:::i;21832:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21832:109:0;-1:-1:-1;;;;;21832:109:0;;:::i;23922:25::-;;;:::i;27226:265::-;-1:-1:-1;;;;;27466:16:0;;27280:7;27466:16;;;:7;:16;;;;;;;;;27382:22;:31;;;;;;27320:163;;27466:16;27320:123;;27438:4;;27320:95;;27361:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;-1:-1:-1;;;;;27320:18:0;;;;;;:9;:18;;;;;;;:95;:40;:95;:::i;:::-;:117;:123;:117;:123;:::i;:::-;:145;:163;:145;:163;:::i;:::-;27300:183;27226:265;-1:-1:-1;;27226:265:0:o;25963:42::-;;;;;;;;;;;;;:::o;23987:25::-;;;-1:-1:-1;;;23987:25:0;;;;;:::o;29839:91::-;29910:12;;29839:91;;:::o;25658:23::-;;;;:::o;27995:248::-;18220:11;;-1:-1:-1;;;18220:11:0;;;;18212:55;;;;;-1:-1:-1;;;18212:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18359:5;18345:19;;-1:-1:-1;;;;18345:19:0;;;28062:10;26396:16;:14;:16::i;:::-;26373:20;:39;26440:26;:24;:26::i;:::-;26423:14;:43;-1:-1:-1;;;;;26481:21:0;;;26477:157;;26538:15;26545:7;26538:6;:15::i;:::-;-1:-1:-1;;;;;26519:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26602:20;;26568:22;:31;;;;;;:54;26477:157;24221:11;;-1:-1:-1;;;24221:11:0;;;;24213:64;;;;-1:-1:-1;;;24213:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28918:9;;28899:15;:28;;28891:65;;;;;-1:-1:-1;;;28891:65:0;;;;;;;;;;;;-1:-1:-1;;;28891:65:0;;;;;;;;;;;;;;;28123:1;28114:6;:10;28106:56;;;;-1:-1:-1;;;28106:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28173:17;28183:6;28173:9;:17::i;:::-;28206:29;;;;;;;;28216:10;;28206:29;;;;;;;;;;-1:-1:-1;;18525:11:0;:18;;-1:-1:-1;;;;18525:18:0;-1:-1:-1;;;18525:18:0;;;27995:248::o;28525:326::-;18220:11;;-1:-1:-1;;;18220:11:0;;;;18212:55;;;;;-1:-1:-1;;;18212:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18359:5;18345:19;;-1:-1:-1;;;;18345:19:0;;;28579:10;26396:16;:14;:16::i;:::-;26373:20;:39;26440:26;:24;:26::i;:::-;26423:14;:43;-1:-1:-1;;;;;26481:21:0;;;26477:157;;26538:15;26545:7;26538:6;:15::i;:::-;-1:-1:-1;;;;;26519:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26602:20;;26568:22;:31;;;;;;:54;26477:157;24221:11;;-1:-1:-1;;;24221:11:0;;;;24213:64;;;;-1:-1:-1;;;24213:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28918:9;;28899:15;:28;;28891:65;;;;;-1:-1:-1;;;28891:65:0;;;;;;;;;;;;-1:-1:-1;;;28891:65:0;;;;;;;;;;;;;;;28623:14;28640:18;28647:10;28640:6;:18::i;:::-;28623:35;-1:-1:-1;28673:10:0;;28669:175;;28708:10;28722:1;28700:19;;;:7;:19;;;;;:23;28738:11;;:44;;-1:-1:-1;;;;;28738:11:0;;;;28775:6;28738:24;:44::i;:::-;28802:30;;;;;;;;28813:10;;28802:30;;;;;;;;;;28669:175;-1:-1:-1;;18525:11:0;:18;;-1:-1:-1;;;;18525:18:0;-1:-1:-1;;;18525:18:0;;;28525:326::o;29938:110::-;-1:-1:-1;;;;;30022:18:0;29995:7;30022:18;;;:9;:18;;;;;;;29938:110::o;21537:140::-;20938:9;:7;:9::i;:::-;20930:54;;;;;-1:-1:-1;;;20930:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21636:1;21620:6;;21599:40;;-1:-1:-1;;;;;21620:6:0;;;;21599:40;;21636:1;;21599:40;21667:1;21650:19;;-1:-1:-1;;;;;;21650:19:0;;;21537:140::o;23954:26::-;;;-1:-1:-1;;;;;23954:26:0;;:::o;25787:25::-;;;;:::o;26661:131::-;26718:7;26745:39;26754:15;26771:12;;26745:8;:39::i;:::-;26738:46;;26661:131;:::o;25899:57::-;;;;;;;;;;;;;:::o;25722:24::-;;;;:::o;20726:79::-;20764:7;20791:6;-1:-1:-1;;;;;20791:6:0;20726:79;:::o;21092:94::-;21132:4;21172:6;;-1:-1:-1;;;;;21172:6:0;21156:12;:10;:12::i;:::-;-1:-1:-1;;;;;21156:22:0;;21149:29;;21092:94;:::o;25690:25::-;;;;:::o;27667:236::-;18220:11;;-1:-1:-1;;;18220:11:0;;;;18212:55;;;;;-1:-1:-1;;;18212:55:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;18359:5;18345:19;;-1:-1:-1;;;;18345:19:0;;;27731:10;26396:16;:14;:16::i;:::-;26373:20;:39;26440:26;:24;:26::i;:::-;26423:14;:43;-1:-1:-1;;;;;26481:21:0;;;26477:157;;26538:15;26545:7;26538:6;:15::i;:::-;-1:-1:-1;;;;;26519:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26602:20;;26568:22;:31;;;;;;:54;26477:157;24221:11;;-1:-1:-1;;;24221:11:0;;;;24213:64;;;;-1:-1:-1;;;24213:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28918:9;;28899:15;:28;;28891:65;;;;;-1:-1:-1;;;28891:65:0;;;;;;;;;;;;-1:-1:-1;;;28891:65:0;;;;;;;;;;;;;;;27792:1;27783:6;:10;27775:53;;;;;-1:-1:-1;;;27775:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;27839:14;27846:6;27839;:14::i;:::-;27869:26;;;;;;;;27876:10;;27869:26;;;;;;;;;;-1:-1:-1;;18525:11:0;:18;;-1:-1:-1;;;;18525:18:0;-1:-1:-1;;;18525:18:0;;;27667:236::o;29339:492::-;24221:11;;-1:-1:-1;;;24221:11:0;;;;24213:64;;;;-1:-1:-1;;;24213:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29500:7;:5;:7::i;:::-;-1:-1:-1;;;;;29486:21:0;:10;-1:-1:-1;;;;;29486:21:0;;29478:61;;;;;-1:-1:-1;;;29478:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29603:12;;-1:-1:-1;;;;;29593:22:0;;;29603:12;;29593:22;;29585:63;;;;;-1:-1:-1;;;29585:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29712:11;;-1:-1:-1;;;;;29702:21:0;;;29712:11;;29702:21;;29694:61;;;;;-1:-1:-1;;;29694:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;29792:31;-1:-1:-1;;;;;29792:19:0;;29812:2;29816:6;29792:31;:19;:31;:::i;:::-;29339:492;;;:::o;25819:29::-;;;;:::o;26800:418::-;26847:7;26871:12;;26887:1;26871:17;26867:77;;;-1:-1:-1;26912:20:0;;26905:27;;26867:77;26974:236;27017:178;27182:12;;27017:138;27150:4;27017:106;27112:10;;27017:68;27070:14;;27017:26;:24;:26::i;:68::-;:94;:106;:94;:106;:::i;:178::-;26974:20;;;:236;:24;:236;:::i;24534:1116::-;24064:11;;-1:-1:-1;;;24064:11:0;;;;24063:12;24055:69;;;;-1:-1:-1;;;24055:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24135:11;:18;;-1:-1:-1;;;;24135:18:0;-1:-1:-1;;;24135:18:0;;;-1:-1:-1;;;;;24741:27:0;;24733:99;;;;-1:-1:-1;;;24733:99:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24851:27:0;;24843:100;;;;-1:-1:-1;;;24843:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24962:16;24954:98;;;;-1:-1:-1;;;24954:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25071:15;25063:97;;;;-1:-1:-1;;;25063:97:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25179:14;25171:96;;;;-1:-1:-1;;;25171:96:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25280:11;:35;;-1:-1:-1;;;;;25280:35:0;;;-1:-1:-1;;;;;;25280:35:0;;;;;;;;25326:12;:36;;;;;;;;;;;;;;25373:10;:24;;;25408:9;:22;;;25465:8;25453:20;;25441:8;:33;25510:36;;;-1:-1:-1;;;25510:36:0;;25540:4;25510:36;;;;;;;;:11;;;;;:21;;:36;;;;;;;;;;;;;;;:11;:36;;;5:2:-1;;;;30:1;27;20:12;5:2;25510:36:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;25510:36:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25510:36:0;25495:51;;25487:110;;;;-1:-1:-1;;;25487:110:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25610:32;25630:11;25610:19;:32::i;:::-;24534:1116;;;;;:::o;25855:35::-;;;;:::o;28355:97::-;28410:10;28400:21;;;;:9;:21;;;;;;28391:31;;:8;:31::i;:::-;28433:11;:9;:11::i;:::-;28355:97::o;25753:27::-;;;;:::o;21832:109::-;20938:9;:7;:9::i;:::-;20930:54;;;;;-1:-1:-1;;;20930:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21905:28;21924:8;21905:18;:28::i;:::-;21832:109;:::o;23922:25::-;;;-1:-1:-1;;;;;23922:25:0;;:::o;4265:136::-;4323:7;4350:43;4354:1;4357;4350:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;4343:50;4265:136;-1:-1:-1;;;4265:136:0:o;5181:471::-;5239:7;5484:6;5480:47;;-1:-1:-1;5514:1:0;5507:8;;5480:47;5551:5;;;5555:1;5551;:5;:1;5575:5;;;;;:10;5567:56;;;;-1:-1:-1;;;5567:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6120:132;6178:7;6205:39;6209:1;6212;6205:39;;;;;;;;;;;;;;;;;:3;:39::i;3809:181::-;3867:7;3899:5;;;3923:6;;;;3915:46;;;;;-1:-1:-1;;;3915:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;30309:229;30379:12;;:25;;30396:7;30379:25;:16;:25;:::i;:::-;30364:12;:40;30449:10;30439:21;;;;:9;:21;;;;;;:34;;30465:7;30439:34;:25;:34;:::i;:::-;30425:10;30415:21;;;;:9;:21;;;;;:58;;;;30484:12;;:46;;-1:-1:-1;;;;;30484:12:0;;;;30522:7;12156:176;12265:58;;;-1:-1:-1;;;;;12265:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12265:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12239:85:0;;12258:5;;12239:18;:85::i;15748:106::-;15806:7;15837:1;15833;:5;:13;;15845:1;15833:13;;;-1:-1:-1;15841:1:0;;15748:106;-1:-1:-1;15748:106:0:o;19424:98::-;19504:10;19424:98;:::o;30056:245::-;30123:12;;:25;;30140:7;30123:25;:16;:25;:::i;:::-;30108:12;:40;30193:10;30183:21;;;;:9;:21;;;;;;:34;;30209:7;30183:34;:25;:34;:::i;:::-;30169:10;30159:21;;;;:9;:21;;;;;:58;;;;30228:12;;:65;;-1:-1:-1;;;;;30228:12:0;;;;30278:4;30285:7;30228:29;:65::i;30546:264::-;30621:1;26396:16;:14;:16::i;:::-;26373:20;:39;26440:26;:24;:26::i;:::-;26423:14;:43;-1:-1:-1;;;;;26481:21:0;;;26477:157;;26538:15;26545:7;26538:6;:15::i;:::-;-1:-1:-1;;;;;26519:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26602:20;;26568:22;:31;;;;;;:54;26477:157;30660:8;;30649:20;;:6;;:20;:10;:20;:::i;:::-;30636:10;:33;30697:15;30680:14;:32;;;30758:8;;30738:29;;30697:15;30738:29;:19;:29;:::i;:::-;30723:12;:44;30783:19;;;;;;;;;;;;;;;;;30546:264;;:::o;22047:229::-;-1:-1:-1;;;;;22121:22:0;;22113:73;;;;-1:-1:-1;;;22113:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22223:6;;;22202:38;;-1:-1:-1;;;;;22202:38:0;;;;22223:6;;;22202:38;;;22251:6;:17;;-1:-1:-1;;;;;;22251:17:0;-1:-1:-1;;;;;22251:17:0;;;;;;;;;;22047:229::o;4738:192::-;4824:7;4860:12;4852:6;;;;4844:29;;;;-1:-1:-1;;;4844: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;4844:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4896:5:0;;;4738:192::o;6782:345::-;6868:7;6970:12;6963:5;6955:28;;;;-1:-1:-1;;;6955:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;6955:28:0;;6994:9;7010:1;7006;:5;;;;;;;6782:345;-1:-1:-1;;;;;6782:345:0:o;14195:1114::-;14799:27;14807:5;-1:-1:-1;;;;;14799:25:0;;:27::i;:::-;14791:71;;;;;-1:-1:-1;;;14791:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;14936:12;14950:23;14985:5;-1:-1:-1;;;;;14977:19:0;14997:4;14977: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;;;14977: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;;14935:67:0;;;;15021:7;15013:52;;;;;-1:-1:-1;;;15013:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15082:17;;:21;15078:224;;15224:10;15213:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;15213:30:0;15205:85;;;;-1:-1:-1;;;15205:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14195:1114;;;;:::o;12340:204::-;12467:68;;;-1:-1:-1;;;;;12467:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;12467:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;12441:95:0;;12460:5;;12441:18;:95::i;9177:619::-;9237:4;9705:20;;9548:66;9745:23;;;;;;:42;;-1:-1:-1;9772:15:0;;;9745:42;9737:51;9177:619;-1:-1:-1;;;;9177:619:0:o
Swarm Source
bzzr://66c1517622a73ff71dc246cdd7ac9905b5941ded216d11a7d265876ec338b323
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.