More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 12,015 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Exit | 13225910 | 1081 days ago | IN | 0 ETH | 0.00859122 | ||||
Get Reward | 12767072 | 1152 days ago | IN | 0 ETH | 0.00061436 | ||||
Exit | 12675649 | 1166 days ago | IN | 0 ETH | 0.00475136 | ||||
Exit | 12496070 | 1194 days ago | IN | 0 ETH | 0.00718129 | ||||
Exit | 12353260 | 1216 days ago | IN | 0 ETH | 0.00278128 | ||||
Exit | 12266059 | 1230 days ago | IN | 0 ETH | 0.01516051 | ||||
Exit | 12236183 | 1234 days ago | IN | 0 ETH | 0.01509241 | ||||
Exit | 12234577 | 1235 days ago | IN | 0 ETH | 0.01223005 | ||||
Exit | 12222415 | 1237 days ago | IN | 0 ETH | 0.00991234 | ||||
Exit | 12051623 | 1263 days ago | IN | 0 ETH | 0.02415033 | ||||
Exit | 12017002 | 1268 days ago | IN | 0 ETH | 0.01569454 | ||||
Exit | 11925378 | 1282 days ago | IN | 0 ETH | 0.01973455 | ||||
Exit | 11916743 | 1284 days ago | IN | 0 ETH | 0.01921284 | ||||
Exit | 11916286 | 1284 days ago | IN | 0 ETH | 0.02463066 | ||||
Withdraw | 11753337 | 1309 days ago | IN | 0 ETH | 0.00732692 | ||||
Withdraw | 11733505 | 1312 days ago | IN | 0 ETH | 0.00901314 | ||||
Stake | 11729562 | 1312 days ago | IN | 0 ETH | 0.00934907 | ||||
Exit | 11696679 | 1318 days ago | IN | 0 ETH | 0.0068471 | ||||
Exit | 11659559 | 1323 days ago | IN | 0 ETH | 0.00780972 | ||||
Withdraw | 11653002 | 1324 days ago | IN | 0 ETH | 0.00573457 | ||||
Stake | 11637637 | 1327 days ago | IN | 0 ETH | 0.00846236 | ||||
Withdraw | 11570902 | 1337 days ago | IN | 0 ETH | 0.001312 | ||||
Exit | 11535305 | 1342 days ago | IN | 0 ETH | 0.00533438 | ||||
Exit | 11528949 | 1343 days ago | IN | 0 ETH | 0.00231145 | ||||
Exit | 11528948 | 1343 days ago | IN | 0 ETH | 0.00677266 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
BASEDPool1
Compiler Version
v0.5.17+commit.d19bba13
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-08-18 */ /** *Submitted for verification at Etherscan.io on */ /* ____ __ __ __ _ / __/__ __ ___ / /_ / / ___ / /_ (_)__ __ _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ / /___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\ /___/ * 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 */ // solhint-disable max-line-length // 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 { function decimals() external view returns(uint8); /** * @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); function mint(address account, uint amount) external; /** * @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) internal; modifier onlyRewardDistribution() { require(_msgSender() == rewardDistribution, "Caller is not reward distribution"); _; } function setRewardDistribution(address _rewardDistribution) external onlyOwner { rewardDistribution = _rewardDistribution; } } pragma solidity >=0.4.24 <0.6.0; /** * @title Initializable * * @dev Helper contract to support initializer functions. To use it, replace * the constructor with a function that has the `initializer` modifier. * WARNING: Unlike constructors, initializer functions must be manually * invoked. This applies both to deploying an Initializable contract, as well * as extending an Initializable contract via inheritance. * WARNING: When used with inheritance, manual care must be taken to not invoke * a parent initializer twice, or ensure that all initializers are idempotent, * because this is not dealt with automatically as with constructors. */ contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private initializing; /** * @dev Modifier to use in the initializer function of a contract. */ modifier initializer() { require(initializing || isConstructor() || !initialized, "Contract instance has already been initialized"); bool wasInitializing = initializing; initializing = true; initialized = true; _; initializing = wasInitializing; } /// @dev Returns true if and only if the function is running in the constructor function isConstructor() private view returns (bool) { // extcodesize checks the size of the code stored in an address, and // address returns the current address. Since the code is still not // deployed when running a constructor, any checks on its code size will // yield zero, making it an effective way to detect if a contract is // under construction or not. uint256 cs; assembly { cs := extcodesize(address) } return cs == 0; } // Reserved storage space to allow for layout changes in the future. uint256[50] private ______gap; } // File: contracts/CurveRewards.sol // solhint-enable max-line-length pragma solidity ^0.5.0; contract LPTokenWrapper is Initializable { using SafeMath for uint256; using SafeERC20 for IERC20; IERC20 public y; uint256 private _totalSupply; mapping(address => uint256) private _balances; function setStakeToken(address _y) internal { y = IERC20(_y); } 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); y.safeTransferFrom(msg.sender, address(this), amount); } function withdraw(uint256 amount) public { _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); y.safeTransfer(msg.sender, amount); } } contract BASEDPool1 is LPTokenWrapper, IRewardDistributionRecipient { IERC20 public based; uint256 public duration; uint256 public initreward; uint256 public starttime; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; uint256 public totalRewards = 0; bool public fairDistribution; address public deployer; address constant uniFactory = 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } modifier onlyDeployer() { require(msg.sender == deployer); _; } constructor () public { deployer = msg.sender; } // https://uniswap.org/docs/v2/smart-contract-integration/getting-pair-addresses/ function genUniAddr(address left, address right) internal pure returns (address) { address first = left < right ? left : right; address second = left < right ? right : left; address pair = address(uint(keccak256(abi.encodePacked( hex'ff', uniFactory, keccak256(abi.encodePacked(first, second)), hex'96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f' )))); return pair; } // changing function signature to break deployer code intentionally. // ensures we can't accidentally use previous deployer function initialize( uint256 _duration, uint256 _initreward, uint256 _starttime, address _susd, address _based, bool _fairDistribution ) public onlyDeployer initializer { setStakeToken( genUniAddr(_based, _susd) ); based = IERC20(_based); duration = _duration; starttime = _starttime; fairDistribution = _fairDistribution; notifyRewardAmount(_initreward.mul(50).div(100)); } function lastTimeRewardApplicable() public view returns (uint256) { return Math.min(block.timestamp, periodFinish); } function rewardPerToken() public view returns (uint256) { if (totalSupply() == 0) { return rewardPerTokenStored; } return rewardPerTokenStored.add( lastTimeRewardApplicable() .sub(lastUpdateTime) .mul(rewardRate) .mul(1e18) .div(totalSupply()) ); } function earned(address account) public view returns (uint256) { return balanceOf(account) .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(1e18) .add(rewards[account]); } // stake visibility is public as overriding LPTokenWrapper's stake() function function stake(uint256 amount) public updateReward(msg.sender) checkhalve checkStart{ require(amount > 0, "Cannot stake 0"); super.stake(amount); emit Staked(msg.sender, amount); if (fairDistribution) { // require amount below 12k for first 24 hours require( balanceOf(msg.sender) <= 12000 * uint(10) ** y.decimals() || block.timestamp >= starttime.add(24*60*60), "fair distribution error" ); } } function withdraw(uint256 amount) public updateReward(msg.sender) checkhalve checkStart{ require(amount > 0, "Cannot withdraw 0"); super.withdraw(amount); emit Withdrawn(msg.sender, amount); } function exit() external { withdraw(balanceOf(msg.sender)); getReward(); } function getReward() public updateReward(msg.sender) checkhalve checkStart{ uint256 reward = earned(msg.sender); if (reward > 0) { rewards[msg.sender] = 0; based.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); totalRewards = totalRewards.add(reward); } } modifier checkhalve(){ if (block.timestamp >= periodFinish) { initreward = initreward.mul(50).div(100); rewardRate = initreward.div(duration); periodFinish = block.timestamp.add(duration); emit RewardAdded(initreward); } _; } modifier checkStart(){ require(block.timestamp > starttime,"not start"); _; } function notifyRewardAmount(uint256 reward) internal 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); } initreward = reward; lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(duration); emit RewardAdded(reward); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"based","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"deployer","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"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":"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":[],"name":"fairDistribution","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"getReward","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"},{"internalType":"uint256","name":"_initreward","type":"uint256"},{"internalType":"uint256","name":"_starttime","type":"uint256"},{"internalType":"address","name":"_susd","type":"address"},{"internalType":"address","name":"_based","type":"address"},{"internalType":"bool","name":"_fairDistribution","type":"bool"}],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","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":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":"_rewardDistribution","type":"address"}],"name":"setRewardDistribution","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"starttime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalRewards","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"},{"constant":true,"inputs":[],"name":"y","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"}]
Contract Creation Code
60806040526000603c556000603d55600060405534801561001f57600080fd5b506100316001600160e01b0361009916565b603680546001600160a01b0319166001600160a01b0392831617908190556040519116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a360418054610100600160a81b031916336101000217905561009d565b3390565b611835806100ac6000396000f3fe608060405234801561001057600080fd5b50600436106101ce5760003560e01c8063885d99cf11610104578063a694fc3a116100a2578063df136d6511610071578063df136d65146103e1578063e9fad8ee146103e9578063ebe2b12b146103f1578063f2fde38b146103f9576101ce565b8063a694fc3a146103ac578063c8f33c91146103c9578063cd3daf9d146103d1578063d5f39488146103d9576101ce565b80638da5cb5b116100de5780638da5cb5b1461038c5780638f32d59b146103945780639c907b581461039c578063a56dfe4a146103a4576101ce565b8063885d99cf146103425780638b8763471461035e5780638da5889714610384576101ce565b80632e1a7d4d1161017157806370a082311161014b57806370a0823114610304578063715018a61461032a5780637b0a47ee1461033257806380faa57d1461033a576101ce565b80632e1a7d4d146102bb5780633d18b912146102d85780635ab673b1146102e0576101ce565b80630d68b761116101ad5780630d68b7611461027d5780630e15561a146102a35780630fb5a6b4146102ab57806318160ddd146102b3576101ce565b80628cc262146101d357806303dcfe6a1461020b5780630700037d14610257575b600080fd5b6101f9600480360360208110156101e957600080fd5b50356001600160a01b031661041f565b60408051918252519081900360200190f35b610255600480360360c081101561022157600080fd5b508035906020810135906040810135906001600160a01b03606082013581169160808101359091169060a0013515156104a5565b005b6101f96004803603602081101561026d57600080fd5b50356001600160a01b03166105c0565b6102556004803603602081101561029357600080fd5b50356001600160a01b03166105d2565b6101f961064d565b6101f9610653565b6101f9610659565b610255600480360360208110156102d157600080fd5b5035610660565b610255610803565b6102e86109a7565b604080516001600160a01b039092168252519081900360200190f35b6101f96004803603602081101561031a57600080fd5b50356001600160a01b03166109b6565b6102556109d1565b6101f9610a74565b6101f9610a7a565b61034a610a8d565b604080519115158252519081900360200190f35b6101f96004803603602081101561037457600080fd5b50356001600160a01b0316610a96565b6101f9610aa8565b6102e8610aae565b61034a610abd565b6101f9610ae3565b6102e8610ae9565b610255600480360360208110156103c257600080fd5b5035610af8565b6101f9610d9f565b6101f9610da5565b6102e8610df9565b6101f9610e0d565b610255610e13565b6101f9610e2e565b6102556004803603602081101561040f57600080fd5b50356001600160a01b0316610e34565b6001600160a01b038116600090815260436020908152604080832054604290925282205461049f919061049390670de0b6b3a7640000906104879061047290610466610da5565b9063ffffffff610e9916565b61047b886109b6565b9063ffffffff610ee216565b9063ffffffff610f3b16565b9063ffffffff610f7d16565b92915050565b60415461010090046001600160a01b031633146104c157600080fd5b600054610100900460ff16806104da57506104da610fd7565b806104e8575060005460ff16155b6105235760405162461bcd60e51b815260040180806020018281038252602e8152602001806117a9602e913960400191505060405180910390fd5b60008054600161010061ff00198316811760ff1916919091179092550460ff166105556105508486610fdd565b6110e6565b603880546001600160a01b0319166001600160a01b0385161790556039879055603b8590556041805460ff19168315151790556105a061059b6064610487896032610ee2565b611108565b600080549115156101000261ff0019909216919091179055505050505050565b60436020526000908152604090205481565b6105da610abd565b61062b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b603780546001600160a01b0319166001600160a01b0392909216919091179055565b60405481565b60395481565b6034545b90565b33610669610da5565b603f55610674610a7a565b603e556001600160a01b038116156106bb5761068f8161041f565b6001600160a01b038216600090815260436020908152604080832093909355603f546042909152919020555b603c544210610735576106df60646104876032603a54610ee290919063ffffffff16565b603a8190556039546106f7919063ffffffff610f3b16565b603d5560395461070e90429063ffffffff610f7d16565b603c55603a5460408051918252516000805160206117688339815191529181900360200190a15b603b544211610777576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b600082116107c0576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6107c98261121e565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b3361080c610da5565b603f55610817610a7a565b603e556001600160a01b0381161561085e576108328161041f565b6001600160a01b038216600090815260436020908152604080832093909355603f546042909152919020555b603c5442106108d85761088260646104876032603a54610ee290919063ffffffff16565b603a81905560395461089a919063ffffffff610f3b16565b603d556039546108b190429063ffffffff610f7d16565b603c55603a5460408051918252516000805160206117688339815191529181900360200190a15b603b54421161091a576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b60006109253361041f565b905080156109a35733600081815260436020526040812055603854610956916001600160a01b03909116908361127c565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a260405461099f908263ffffffff610f7d16565b6040555b5050565b6038546001600160a01b031681565b6001600160a01b031660009081526035602052604090205490565b6109d9610abd565b610a2a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6036546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603680546001600160a01b0319169055565b603d5481565b6000610a8842603c546112d3565b905090565b60415460ff1681565b60426020526000908152604090205481565b603b5481565b6036546001600160a01b031690565b6036546000906001600160a01b0316610ad46112e9565b6001600160a01b031614905090565b603a5481565b6033546001600160a01b031681565b33610b01610da5565b603f55610b0c610a7a565b603e556001600160a01b03811615610b5357610b278161041f565b6001600160a01b038216600090815260436020908152604080832093909355603f546042909152919020555b603c544210610bcd57610b7760646104876032603a54610ee290919063ffffffff16565b603a819055603954610b8f919063ffffffff610f3b16565b603d55603954610ba690429063ffffffff610f7d16565b603c55603a5460408051918252516000805160206117688339815191529181900360200190a15b603b544211610c0f576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b60008211610c55576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610c5e826112ed565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a260415460ff16156109a357603360009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610ced57600080fd5b505afa158015610d01573d6000803e3d6000fd5b505050506040513d6020811015610d1757600080fd5b505160ff16600a0a612ee002610d2c336109b6565b111580610d4e5750603b54610d4a906201518063ffffffff610f7d16565b4210155b6109a3576040805162461bcd60e51b815260206004820152601760248201527f6661697220646973747269627574696f6e206572726f72000000000000000000604482015290519081900360640190fd5b603e5481565b6000610daf610659565b610dbc5750603f5461065d565b610a88610dea610dca610659565b610487670de0b6b3a764000061047b603d5461047b603e54610466610a7a565b603f549063ffffffff610f7d16565b60415461010090046001600160a01b031681565b603f5481565b610e24610e1f336109b6565b610660565b610e2c610803565b565b603c5481565b610e3c610abd565b610e8d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610e9681611350565b50565b6000610edb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113f1565b9392505050565b600082610ef15750600061049f565b82820282848281610efe57fe5b0414610edb5760405162461bcd60e51b81526004018080602001828103825260218152602001806117886021913960400191505060405180910390fd5b6000610edb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611488565b600082820183811015610edb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b303b1590565b600080826001600160a01b0316846001600160a01b031610610fff5782611001565b835b90506000836001600160a01b0316856001600160a01b0316106110245784611026565b835b604080516bffffffffffffffffffffffff19606095861b81166020808401919091529390951b9094166034850152805160288186030181526048850182528051908301206001600160f81b03196068860152735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f60601b6069860152607d8501527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808601919091528151808603909101815260bd9094019052825192019190912091505092915050565b603380546001600160a01b0319166001600160a01b0392909216919091179055565b6000611112610da5565b603f5561111d610a7a565b603e556001600160a01b03811615611164576111388161041f565b6001600160a01b038216600090815260436020908152604080832093909355603f546042909152919020555b603c5442106111895760395461118190839063ffffffff610f3b16565b603d556111d8565b603c5460009061119f904263ffffffff610e9916565b905060006111b8603d5483610ee290919063ffffffff16565b6039549091506111d290610487868463ffffffff610f7d16565b603d5550505b603a82905542603e8190556039546111f6919063ffffffff610f7d16565b603c556040805183815290516000805160206117688339815191529181900360200190a15050565b603454611231908263ffffffff610e9916565b60345533600090815260356020526040902054611254908263ffffffff610e9916565b33600081815260356020526040902091909155603354610e96916001600160a01b0390911690835b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526112ce9084906114ed565b505050565b60008183106112e25781610edb565b5090919050565b3390565b603454611300908263ffffffff610f7d16565b60345533600090815260356020526040902054611323908263ffffffff610f7d16565b33600081815260356020526040902091909155603354610e96916001600160a01b039091169030846116ab565b6001600160a01b0381166113955760405162461bcd60e51b81526004018080602001828103825260268152602001806117426026913960400191505060405180910390fd5b6036546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603680546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156114805760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561144557818101518382015260200161142d565b50505050905090810190601f1680156114725780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836114d75760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561144557818101518382015260200161142d565b5060008385816114e357fe5b0495945050505050565b6114ff826001600160a01b0316611705565b611550576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061158e5780518252601f19909201916020918201910161156f565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146115f0576040519150601f19603f3d011682016040523d82523d6000602084013e6115f5565b606091505b50915091508161164c576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156116a55780806020019051602081101561166857600080fd5b50516116a55760405162461bcd60e51b815260040180806020018281038252602a8152602001806117d7602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526116a59085906114ed565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906117395750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373de88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65645361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820bee20322f5abedbc9a3cd5681b3a254e98015686f99b0bebbc4e41d7f55a638364736f6c63430005110032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101ce5760003560e01c8063885d99cf11610104578063a694fc3a116100a2578063df136d6511610071578063df136d65146103e1578063e9fad8ee146103e9578063ebe2b12b146103f1578063f2fde38b146103f9576101ce565b8063a694fc3a146103ac578063c8f33c91146103c9578063cd3daf9d146103d1578063d5f39488146103d9576101ce565b80638da5cb5b116100de5780638da5cb5b1461038c5780638f32d59b146103945780639c907b581461039c578063a56dfe4a146103a4576101ce565b8063885d99cf146103425780638b8763471461035e5780638da5889714610384576101ce565b80632e1a7d4d1161017157806370a082311161014b57806370a0823114610304578063715018a61461032a5780637b0a47ee1461033257806380faa57d1461033a576101ce565b80632e1a7d4d146102bb5780633d18b912146102d85780635ab673b1146102e0576101ce565b80630d68b761116101ad5780630d68b7611461027d5780630e15561a146102a35780630fb5a6b4146102ab57806318160ddd146102b3576101ce565b80628cc262146101d357806303dcfe6a1461020b5780630700037d14610257575b600080fd5b6101f9600480360360208110156101e957600080fd5b50356001600160a01b031661041f565b60408051918252519081900360200190f35b610255600480360360c081101561022157600080fd5b508035906020810135906040810135906001600160a01b03606082013581169160808101359091169060a0013515156104a5565b005b6101f96004803603602081101561026d57600080fd5b50356001600160a01b03166105c0565b6102556004803603602081101561029357600080fd5b50356001600160a01b03166105d2565b6101f961064d565b6101f9610653565b6101f9610659565b610255600480360360208110156102d157600080fd5b5035610660565b610255610803565b6102e86109a7565b604080516001600160a01b039092168252519081900360200190f35b6101f96004803603602081101561031a57600080fd5b50356001600160a01b03166109b6565b6102556109d1565b6101f9610a74565b6101f9610a7a565b61034a610a8d565b604080519115158252519081900360200190f35b6101f96004803603602081101561037457600080fd5b50356001600160a01b0316610a96565b6101f9610aa8565b6102e8610aae565b61034a610abd565b6101f9610ae3565b6102e8610ae9565b610255600480360360208110156103c257600080fd5b5035610af8565b6101f9610d9f565b6101f9610da5565b6102e8610df9565b6101f9610e0d565b610255610e13565b6101f9610e2e565b6102556004803603602081101561040f57600080fd5b50356001600160a01b0316610e34565b6001600160a01b038116600090815260436020908152604080832054604290925282205461049f919061049390670de0b6b3a7640000906104879061047290610466610da5565b9063ffffffff610e9916565b61047b886109b6565b9063ffffffff610ee216565b9063ffffffff610f3b16565b9063ffffffff610f7d16565b92915050565b60415461010090046001600160a01b031633146104c157600080fd5b600054610100900460ff16806104da57506104da610fd7565b806104e8575060005460ff16155b6105235760405162461bcd60e51b815260040180806020018281038252602e8152602001806117a9602e913960400191505060405180910390fd5b60008054600161010061ff00198316811760ff1916919091179092550460ff166105556105508486610fdd565b6110e6565b603880546001600160a01b0319166001600160a01b0385161790556039879055603b8590556041805460ff19168315151790556105a061059b6064610487896032610ee2565b611108565b600080549115156101000261ff0019909216919091179055505050505050565b60436020526000908152604090205481565b6105da610abd565b61062b576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b603780546001600160a01b0319166001600160a01b0392909216919091179055565b60405481565b60395481565b6034545b90565b33610669610da5565b603f55610674610a7a565b603e556001600160a01b038116156106bb5761068f8161041f565b6001600160a01b038216600090815260436020908152604080832093909355603f546042909152919020555b603c544210610735576106df60646104876032603a54610ee290919063ffffffff16565b603a8190556039546106f7919063ffffffff610f3b16565b603d5560395461070e90429063ffffffff610f7d16565b603c55603a5460408051918252516000805160206117688339815191529181900360200190a15b603b544211610777576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b600082116107c0576040805162461bcd60e51b8152602060048201526011602482015270043616e6e6f74207769746864726177203607c1b604482015290519081900360640190fd5b6107c98261121e565b60408051838152905133917f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5919081900360200190a25050565b3361080c610da5565b603f55610817610a7a565b603e556001600160a01b0381161561085e576108328161041f565b6001600160a01b038216600090815260436020908152604080832093909355603f546042909152919020555b603c5442106108d85761088260646104876032603a54610ee290919063ffffffff16565b603a81905560395461089a919063ffffffff610f3b16565b603d556039546108b190429063ffffffff610f7d16565b603c55603a5460408051918252516000805160206117688339815191529181900360200190a15b603b54421161091a576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b60006109253361041f565b905080156109a35733600081815260436020526040812055603854610956916001600160a01b03909116908361127c565b60408051828152905133917fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486919081900360200190a260405461099f908263ffffffff610f7d16565b6040555b5050565b6038546001600160a01b031681565b6001600160a01b031660009081526035602052604090205490565b6109d9610abd565b610a2a576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6036546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3603680546001600160a01b0319169055565b603d5481565b6000610a8842603c546112d3565b905090565b60415460ff1681565b60426020526000908152604090205481565b603b5481565b6036546001600160a01b031690565b6036546000906001600160a01b0316610ad46112e9565b6001600160a01b031614905090565b603a5481565b6033546001600160a01b031681565b33610b01610da5565b603f55610b0c610a7a565b603e556001600160a01b03811615610b5357610b278161041f565b6001600160a01b038216600090815260436020908152604080832093909355603f546042909152919020555b603c544210610bcd57610b7760646104876032603a54610ee290919063ffffffff16565b603a819055603954610b8f919063ffffffff610f3b16565b603d55603954610ba690429063ffffffff610f7d16565b603c55603a5460408051918252516000805160206117688339815191529181900360200190a15b603b544211610c0f576040805162461bcd60e51b81526020600482015260096024820152681b9bdd081cdd185c9d60ba1b604482015290519081900360640190fd5b60008211610c55576040805162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b604482015290519081900360640190fd5b610c5e826112ed565b60408051838152905133917f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d919081900360200190a260415460ff16156109a357603360009054906101000a90046001600160a01b03166001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b158015610ced57600080fd5b505afa158015610d01573d6000803e3d6000fd5b505050506040513d6020811015610d1757600080fd5b505160ff16600a0a612ee002610d2c336109b6565b111580610d4e5750603b54610d4a906201518063ffffffff610f7d16565b4210155b6109a3576040805162461bcd60e51b815260206004820152601760248201527f6661697220646973747269627574696f6e206572726f72000000000000000000604482015290519081900360640190fd5b603e5481565b6000610daf610659565b610dbc5750603f5461065d565b610a88610dea610dca610659565b610487670de0b6b3a764000061047b603d5461047b603e54610466610a7a565b603f549063ffffffff610f7d16565b60415461010090046001600160a01b031681565b603f5481565b610e24610e1f336109b6565b610660565b610e2c610803565b565b603c5481565b610e3c610abd565b610e8d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b610e9681611350565b50565b6000610edb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506113f1565b9392505050565b600082610ef15750600061049f565b82820282848281610efe57fe5b0414610edb5760405162461bcd60e51b81526004018080602001828103825260218152602001806117886021913960400191505060405180910390fd5b6000610edb83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611488565b600082820183811015610edb576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b303b1590565b600080826001600160a01b0316846001600160a01b031610610fff5782611001565b835b90506000836001600160a01b0316856001600160a01b0316106110245784611026565b835b604080516bffffffffffffffffffffffff19606095861b81166020808401919091529390951b9094166034850152805160288186030181526048850182528051908301206001600160f81b03196068860152735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f60601b6069860152607d8501527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f609d808601919091528151808603909101815260bd9094019052825192019190912091505092915050565b603380546001600160a01b0319166001600160a01b0392909216919091179055565b6000611112610da5565b603f5561111d610a7a565b603e556001600160a01b03811615611164576111388161041f565b6001600160a01b038216600090815260436020908152604080832093909355603f546042909152919020555b603c5442106111895760395461118190839063ffffffff610f3b16565b603d556111d8565b603c5460009061119f904263ffffffff610e9916565b905060006111b8603d5483610ee290919063ffffffff16565b6039549091506111d290610487868463ffffffff610f7d16565b603d5550505b603a82905542603e8190556039546111f6919063ffffffff610f7d16565b603c556040805183815290516000805160206117688339815191529181900360200190a15050565b603454611231908263ffffffff610e9916565b60345533600090815260356020526040902054611254908263ffffffff610e9916565b33600081815260356020526040902091909155603354610e96916001600160a01b0390911690835b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526112ce9084906114ed565b505050565b60008183106112e25781610edb565b5090919050565b3390565b603454611300908263ffffffff610f7d16565b60345533600090815260356020526040902054611323908263ffffffff610f7d16565b33600081815260356020526040902091909155603354610e96916001600160a01b039091169030846116ab565b6001600160a01b0381166113955760405162461bcd60e51b81526004018080602001828103825260268152602001806117426026913960400191505060405180910390fd5b6036546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3603680546001600160a01b0319166001600160a01b0392909216919091179055565b600081848411156114805760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561144557818101518382015260200161142d565b50505050905090810190601f1680156114725780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600081836114d75760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561144557818101518382015260200161142d565b5060008385816114e357fe5b0495945050505050565b6114ff826001600160a01b0316611705565b611550576040805162461bcd60e51b815260206004820152601f60248201527f5361666545524332303a2063616c6c20746f206e6f6e2d636f6e747261637400604482015290519081900360640190fd5b60006060836001600160a01b0316836040518082805190602001908083835b6020831061158e5780518252601f19909201916020918201910161156f565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146115f0576040519150601f19603f3d011682016040523d82523d6000602084013e6115f5565b606091505b50915091508161164c576040805162461bcd60e51b815260206004820181905260248201527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564604482015290519081900360640190fd5b8051156116a55780806020019051602081101561166857600080fd5b50516116a55760405162461bcd60e51b815260040180806020018281038252602a8152602001806117d7602a913960400191505060405180910390fd5b50505050565b604080516001600160a01b0385811660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526116a59085906114ed565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081158015906117395750808214155b94935050505056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373de88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77436f6e747261637420696e7374616e63652068617320616c7265616479206265656e20696e697469616c697a65645361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a265627a7a72315820bee20322f5abedbc9a3cd5681b3a254e98015686f99b0bebbc4e41d7f55a638364736f6c63430005110032
Deployed Bytecode Sourcemap
25112:5794:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25112:5794:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28282:265;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28282:265:0;-1:-1:-1;;;;;28282:265:0;;:::i;:::-;;;;;;;;;;;;;;;;27191:516;;;;;;13:3:-1;8;5:12;2:2;;;30:1;27;20:12;2:2;-1:-1;27191:516:0;;;;;;;;;;;;;-1:-1:-1;;;;;27191:516:0;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;25710:42;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25710:42:0;-1:-1:-1;;;;;25710:42:0;;:::i;21872:161::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21872:161:0;-1:-1:-1;;;;;21872:161:0;;:::i;25460:31::-;;;:::i;25213:23::-;;;:::i;24440:91::-;;;:::i;29184:224::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29184:224:0;;:::i;29521:361::-;;;:::i;25187:19::-;;;:::i;:::-;;;;-1:-1:-1;;;;;25187:19:0;;;;;;;;;;;;;;24539:110;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;24539:110:0;-1:-1:-1;;;;;24539:110:0;;:::i;10787:140::-;;;:::i;25346:29::-;;;:::i;27715:131::-;;;:::i;25498:28::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;25646:57;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;25646:57:0;-1:-1:-1;;;;;25646:57:0;;:::i;25277:24::-;;;:::i;9976:79::-;;;:::i;10342:94::-;;;:::i;25245:25::-;;;:::i;24242:15::-;;;:::i;28638:538::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;28638:538:0;;:::i;25382:29::-;;;:::i;27854:420::-;;;:::i;25533:23::-;;;:::i;25418:35::-;;;:::i;29416:97::-;;;:::i;25308:31::-;;;:::i;11082:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;11082:109:0;-1:-1:-1;;;;;11082:109:0;;:::i;28282:265::-;-1:-1:-1;;;;;28522:16:0;;28336:7;28522:16;;;:7;:16;;;;;;;;;28438:22;:31;;;;;;28376:163;;28522:16;28376:123;;28494:4;;28376:95;;28417:53;;:16;:14;:16::i;:::-;:20;:53;:20;:53;:::i;:::-;28376:18;28386:7;28376:9;:18::i;:::-;:40;:95;:40;:95;:::i;:::-;:117;:123;:117;:123;:::i;:::-;:145;:163;:145;:163;:::i;:::-;28356:183;28282:265;-1:-1:-1;;28282:265:0:o;27191:516::-;26376:8;;;;;-1:-1:-1;;;;;26376:8:0;26362:10;:22;26354:31;;;;;;23095:12;;;;;;;;:31;;;23111:15;:13;:15::i;:::-;23095:47;;;-1:-1:-1;23131:11:0;;;;23130:12;23095:47;23087:106;;;;-1:-1:-1;;;23087:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23202:20;23225:12;;;;-1:-1:-1;;23244:19:0;;;;-1:-1:-1;;23270:18:0;;;;;;;;23225:12;;;27430:64;27458:25;27469:6;27477:5;27458:10;:25::i;:::-;27430:13;:64::i;:::-;27505:5;:22;;-1:-1:-1;;;;;;27505:22:0;-1:-1:-1;;;;;27505:22:0;;;;;27540:8;:20;;;27571:9;:22;;;27604:16;:36;;-1:-1:-1;;27604:36:0;;;;;;;27651:48;27670:28;27694:3;27670:19;:11;27686:2;27670:15;:19::i;:28::-;27651:18;:48::i;:::-;23307:12;:30;;;;;;;-1:-1:-1;;23307:30:0;;;;;;;;;-1:-1:-1;;;;;;27191:516:0:o;25710:42::-;;;;;;;;;;;;;:::o;21872:161::-;10188:9;:7;:9::i;:::-;10180:54;;;;;-1:-1:-1;;;10180:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21985:18;:40;;-1:-1:-1;;;;;;21985:40:0;-1:-1:-1;;;;;21985:40:0;;;;;;;;;;21872:161::o;25460:31::-;;;;:::o;25213:23::-;;;;:::o;24440:91::-;24511:12;;24440:91;;:::o;29184:224::-;29238:10;26054:16;:14;:16::i;:::-;26031:20;:39;26098:26;:24;:26::i;:::-;26081:14;:43;-1:-1:-1;;;;;26139:21:0;;;26135:157;;26196:15;26203:7;26196:6;:15::i;:::-;-1:-1:-1;;;;;26177:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26260:20;;26226:22;:31;;;;;;:54;26135:157;29945:12;;29926:15;:31;29922:260;;29987:27;30010:3;29987:18;30002:2;29987:10;;:14;;:18;;;;:::i;:27::-;29974:10;:40;;;30059:8;;30044:24;;29974:40;30044:24;:14;:24;:::i;:::-;30031:10;:37;30118:8;;30098:29;;:15;;:29;:19;:29;:::i;:::-;30083:12;:44;30159:10;;30147:23;;;;;;;-1:-1:-1;;;;;;;;;;;30147:23:0;;;;;;;;29922:260;30267:9;;30249:15;:27;30241:48;;;;;-1:-1:-1;;;30241:48:0;;;;;;;;;;;;-1:-1:-1;;;30241:48:0;;;;;;;;;;;;;;;29299:1;29290:6;:10;29282:40;;;;;-1:-1:-1;;;29282:40:0;;;;;;;;;;;;-1:-1:-1;;;29282:40:0;;;;;;;;;;;;;;;29333:22;29348:6;29333:14;:22::i;:::-;29371:29;;;;;;;;29381:10;;29371:29;;;;;;;;;;29184:224;;:::o;29521:361::-;29562:10;26054:16;:14;:16::i;:::-;26031:20;:39;26098:26;:24;:26::i;:::-;26081:14;:43;-1:-1:-1;;;;;26139:21:0;;;26135:157;;26196:15;26203:7;26196:6;:15::i;:::-;-1:-1:-1;;;;;26177:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26260:20;;26226:22;:31;;;;;;:54;26135:157;29945:12;;29926:15;:31;29922:260;;29987:27;30010:3;29987:18;30002:2;29987:10;;:14;;:18;;;;:::i;:27::-;29974:10;:40;;;30059:8;;30044:24;;29974:40;30044:24;:14;:24;:::i;:::-;30031:10;:37;30118:8;;30098:29;;:15;;:29;:19;:29;:::i;:::-;30083:12;:44;30159:10;;30147:23;;;;;;;-1:-1:-1;;;;;;;;;;;30147:23:0;;;;;;;;29922:260;30267:9;;30249:15;:27;30241:48;;;;;-1:-1:-1;;;30241:48:0;;;;;;;;;;;;-1:-1:-1;;;30241:48:0;;;;;;;;;;;;;;;29606:14;29623:18;29630:10;29623:6;:18::i;:::-;29606:35;-1:-1:-1;29656:10:0;;29652:223;;29691:10;29705:1;29683:19;;;:7;:19;;;;;:23;29721:5;;:38;;-1:-1:-1;;;;;29721:5:0;;;;29752:6;29721:18;:38::i;:::-;29779:30;;;;;;;;29790:10;;29779:30;;;;;;;;;;29839:12;;:24;;29856:6;29839:24;:16;:24;:::i;:::-;29824:12;:39;29652:223;30300:1;29521:361;:::o;25187:19::-;;;-1:-1:-1;;;;;25187:19:0;;:::o;24539:110::-;-1:-1:-1;;;;;24623:18:0;24596:7;24623:18;;;:9;:18;;;;;;;24539:110::o;10787:140::-;10188:9;:7;:9::i;:::-;10180:54;;;;;-1:-1:-1;;;10180:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10870:6;;10849:40;;10886:1;;-1:-1:-1;;;;;10870:6:0;;10849:40;;10886:1;;10849:40;10900:6;:19;;-1:-1:-1;;;;;;10900:19:0;;;10787:140::o;25346:29::-;;;;:::o;27715:131::-;27772:7;27799:39;27808:15;27825:12;;27799:8;:39::i;:::-;27792:46;;27715:131;:::o;25498:28::-;;;;;;:::o;25646:57::-;;;;;;;;;;;;;:::o;25277:24::-;;;;:::o;9976:79::-;10041:6;;-1:-1:-1;;;;;10041:6:0;9976:79;:::o;10342:94::-;10422:6;;10382:4;;-1:-1:-1;;;;;10422:6:0;10406:12;:10;:12::i;:::-;-1:-1:-1;;;;;10406:22:0;;10399:29;;10342:94;:::o;25245:25::-;;;;:::o;24242:15::-;;;-1:-1:-1;;;;;24242:15:0;;:::o;28638:538::-;28689:10;26054:16;:14;:16::i;:::-;26031:20;:39;26098:26;:24;:26::i;:::-;26081:14;:43;-1:-1:-1;;;;;26139:21:0;;;26135:157;;26196:15;26203:7;26196:6;:15::i;:::-;-1:-1:-1;;;;;26177:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26260:20;;26226:22;:31;;;;;;:54;26135:157;29945:12;;29926:15;:31;29922:260;;29987:27;30010:3;29987:18;30002:2;29987:10;;:14;;:18;;;;:::i;:27::-;29974:10;:40;;;30059:8;;30044:24;;29974:40;30044:24;:14;:24;:::i;:::-;30031:10;:37;30118:8;;30098:29;;:15;;:29;:19;:29;:::i;:::-;30083:12;:44;30159:10;;30147:23;;;;;;;-1:-1:-1;;;;;;;;;;;30147:23:0;;;;;;;;29922:260;30267:9;;30249:15;:27;30241:48;;;;;-1:-1:-1;;;30241:48:0;;;;;;;;;;;;-1:-1:-1;;;30241:48:0;;;;;;;;;;;;;;;28750:1;28741:6;:10;28733:37;;;;;-1:-1:-1;;;28733:37:0;;;;;;;;;;;;-1:-1:-1;;;28733:37:0;;;;;;;;;;;;;;;28781:19;28793:6;28781:11;:19::i;:::-;28816:26;;;;;;;;28823:10;;28816:26;;;;;;;;;;28859:16;;;;28855:314;;;29023:1;;;;;;;;;-1:-1:-1;;;;;29023:1:0;-1:-1:-1;;;;;29023:10:0;;:12;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;29023:12:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;29023:12:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;29023:12:0;29011:24;;29016:2;29011:24;29003:5;:32;28978:21;28988:10;28978:9;:21::i;:::-;:57;;:120;;;-1:-1:-1;29075:9:0;;:23;;29089:8;29075:23;:13;:23;:::i;:::-;29056:15;:42;;28978:120;28952:205;;;;;-1:-1:-1;;;28952:205:0;;;;;;;;;;;;;;;;;;;;;;;;;;;25382:29;;;;:::o;27854:420::-;27901:7;27925:13;:11;:13::i;:::-;27921:78;;-1:-1:-1;27967:20:0;;27960:27;;27921:78;28029:237;28072:179;28237:13;:11;:13::i;:::-;28072:138;28205:4;28072:106;28167:10;;28072:68;28125:14;;28072:26;:24;:26::i;:179::-;28029:20;;;:237;:24;:237;:::i;25533:23::-;;;;;;-1:-1:-1;;;;;25533:23:0;;:::o;25418:35::-;;;;:::o;29416:97::-;29452:31;29461:21;29471:10;29461:9;:21::i;:::-;29452:8;:31::i;:::-;29494:11;:9;:11::i;:::-;29416:97::o;25308:31::-;;;;:::o;11082:109::-;10188:9;:7;:9::i;:::-;10180:54;;;;;-1:-1:-1;;;10180:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11155:28;11174:8;11155:18;:28::i;:::-;11082:109;:::o;3726:136::-;3784:7;3811:43;3815:1;3818;3811:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;3804:50;3726:136;-1:-1:-1;;;3726:136:0:o;4642:471::-;4700:7;4945:6;4941:47;;-1:-1:-1;4975:1:0;4968:8;;4941:47;5012:5;;;5016:1;5012;:5;:1;5036:5;;;;;:10;5028:56;;;;-1:-1:-1;;;5028:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5581:132;5639:7;5666:39;5670:1;5673;5666:39;;;;;;;;;;;;;;;;;:3;:39::i;3270:181::-;3328:7;3360:5;;;3384:6;;;;3376:46;;;;;-1:-1:-1;;;3376:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;23432:476;23872:7;23860:20;23895:7;23432:476;:::o;26570:479::-;26642:7;26662:13;26685:5;-1:-1:-1;;;;;26678:12:0;:4;-1:-1:-1;;;;;26678:12:0;;:27;;26700:5;26678:27;;;26693:4;26678:27;26662:43;;26716:14;26740:5;-1:-1:-1;;;;;26733:12:0;:4;-1:-1:-1;;;;;26733:12:0;;:27;;26756:4;26733:27;;;26748:5;26733:27;26891:31;;;-1:-1:-1;;26891:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;22:32:-1;26:21;;;22:32;6:49;;26891:31:0;;;;;26881:42;;;;;;-1:-1:-1;;;;;;26809:207:0;;;;-1:-1:-1;;;26809:207:0;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;26809:207:0;;;;;;26799:218;;;;;;;;;-1:-1:-1;;26570:479:0;;;;:::o;24355:77::-;24410:1;:14;;-1:-1:-1;;;;;;24410:14:0;-1:-1:-1;;;;;24410:14:0;;;;;;;;;;24355:77::o;30317:586::-;30409:1;26054:16;:14;:16::i;:::-;26031:20;:39;26098:26;:24;:26::i;:::-;26081:14;:43;-1:-1:-1;;;;;26139:21:0;;;26135:157;;26196:15;26203:7;26196:6;:15::i;:::-;-1:-1:-1;;;;;26177:16:0;;;;;;:7;:16;;;;;;;;:34;;;;26260:20;;26226:22;:31;;;;;;:54;26135:157;30452:12;;30433:15;:31;30429:304;;30505:8;;30494:20;;:6;;:20;:10;:20;:::i;:::-;30481:10;:33;30429:304;;;30567:12;;30547:17;;30567:33;;30584:15;30567:33;:16;:33;:::i;:::-;30547:53;;30615:16;30634:25;30648:10;;30634:9;:13;;:25;;;;:::i;:::-;30712:8;;30615:44;;-1:-1:-1;30687:34:0;;:20;:6;30615:44;30687:20;:10;:20;:::i;:34::-;30674:10;:47;-1:-1:-1;;30429:304:0;30743:10;:19;;;30790:15;30773:14;:32;;;30851:8;;30831:29;;30790:15;30831:29;:19;:29;:::i;:::-;30816:12;:44;30876:19;;;;;;;;-1:-1:-1;;;;;;;;;;;30876:19:0;;;;;;;;30317:586;;:::o;24893:212::-;24960:12;;:24;;24977:6;24960:24;:16;:24;:::i;:::-;24945:12;:39;25029:10;25019:21;;;;:9;:21;;;;;;:33;;25045:6;25019:33;:25;:33;:::i;:::-;25005:10;24995:21;;;;:9;:21;;;;;:57;;;;25063:1;;:34;;-1:-1:-1;;;;;25063:1:0;;;;25090:6;18321:176;18430:58;;;-1:-1:-1;;;;;18430:58:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18430:58:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18404:85:0;;18423:5;;18404:18;:85::i;:::-;18321:176;;;:::o;1932:106::-;1990:7;2021:1;2017;:5;:13;;2029:1;2017:13;;;-1:-1:-1;2025:1:0;;1932:106;-1:-1:-1;1932:106:0:o;8725:98::-;8805:10;8725:98;:::o;24657:228::-;24721:12;;:24;;24738:6;24721:24;:16;:24;:::i;:::-;24706:12;:39;24790:10;24780:21;;;;:9;:21;;;;;;:33;;24806:6;24780:33;:25;:33;:::i;:::-;24766:10;24756:21;;;;:9;:21;;;;;:57;;;;24824:1;;:53;;-1:-1:-1;;;;;24824:1:0;;;;24863:4;24870:6;24824:18;:53::i;11297:229::-;-1:-1:-1;;;;;11371:22:0;;11363:73;;;;-1:-1:-1;;;11363:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;11473:6;;11452:38;;-1:-1:-1;;;;;11452:38:0;;;;11473:6;;11452:38;;11473:6;;11452:38;11501:6;:17;;-1:-1:-1;;;;;;11501:17:0;-1:-1:-1;;;;;11501:17:0;;;;;;;;;;11297:229::o;4199:192::-;4285:7;4321:12;4313:6;;;;4305:29;;;;-1:-1:-1;;;4305: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;4305:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;4357:5:0;;;4199:192::o;6243:345::-;6329:7;6431:12;6424:5;6416:28;;;;-1:-1:-1;;;6416:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;6416:28:0;;6455:9;6471:1;6467;:5;;;;;;;6243:345;-1:-1:-1;;;;;6243:345:0:o;20360:1114::-;20964:27;20972:5;-1:-1:-1;;;;;20964:25:0;;:27::i;:::-;20956:71;;;;;-1:-1:-1;;;20956:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;21101:12;21115:23;21150:5;-1:-1:-1;;;;;21142:19:0;21162:4;21142: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;;;21142: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;;21100:67:0;;;;21186:7;21178:52;;;;;-1:-1:-1;;;21178:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;21247:17;;:21;21243:224;;21389:10;21378:30;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;21378:30:0;21370:85;;;;-1:-1:-1;;;21370:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20360:1114;;;;:::o;18505:204::-;18632:68;;;-1:-1:-1;;;;;18632:68:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18632:68:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;18606:95:0;;18625:5;;18606:18;:95::i;15159:810::-;15219:4;15878:20;;15721:66;15918:15;;;;;:42;;;15949:11;15937:8;:23;;15918:42;15910:51;15159:810;-1:-1:-1;;;;15159:810:0:o
Swarm Source
bzzr://bee20322f5abedbc9a3cd5681b3a254e98015686f99b0bebbc4e41d7f55a6383
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.