More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 409 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Get Reward | 15998181 | 788 days ago | IN | 0 ETH | 0.00134906 | ||||
Withdraw | 15998161 | 788 days ago | IN | 0 ETH | 0.00180871 | ||||
Withdraw | 15638594 | 838 days ago | IN | 0 ETH | 0.00071134 | ||||
Get Reward | 15582450 | 846 days ago | IN | 0 ETH | 0.00081809 | ||||
Get Reward | 15326815 | 886 days ago | IN | 0 ETH | 0.00158969 | ||||
Get Reward | 15069585 | 926 days ago | IN | 0 ETH | 0.00146171 | ||||
Get Reward | 15007512 | 937 days ago | IN | 0 ETH | 0.00216315 | ||||
Get Reward | 14748313 | 980 days ago | IN | 0 ETH | 0.00360333 | ||||
Get Reward | 14422042 | 1032 days ago | IN | 0 ETH | 0.00154123 | ||||
Get Reward | 14416860 | 1032 days ago | IN | 0 ETH | 0.0014753 | ||||
Get Reward | 14286469 | 1053 days ago | IN | 0 ETH | 0.00245239 | ||||
Get Reward | 14067344 | 1087 days ago | IN | 0 ETH | 0.00646422 | ||||
Get Reward | 13790207 | 1129 days ago | IN | 0 ETH | 0.00358556 | ||||
Get Reward | 13790193 | 1129 days ago | IN | 0 ETH | 0.00517775 | ||||
Get Reward | 13790018 | 1129 days ago | IN | 0 ETH | 0.00144839 | ||||
Get Reward | 13790018 | 1129 days ago | IN | 0 ETH | 0.00299073 | ||||
Get Reward | 13701761 | 1143 days ago | IN | 0 ETH | 0.00492249 | ||||
Get Reward | 13390319 | 1192 days ago | IN | 0 ETH | 0.00408211 | ||||
Get Reward | 13303082 | 1206 days ago | IN | 0 ETH | 0.00279902 | ||||
Withdraw | 13175769 | 1226 days ago | IN | 0 ETH | 0.00775069 | ||||
Get Reward | 13163570 | 1228 days ago | IN | 0 ETH | 0.00832097 | ||||
Get Reward | 13031313 | 1248 days ago | IN | 0 ETH | 0.00329166 | ||||
Get Reward | 12982971 | 1256 days ago | IN | 0 ETH | 0.00303499 | ||||
Get Reward | 12962688 | 1259 days ago | IN | 0 ETH | 0.00281867 | ||||
Get Reward | 12912423 | 1267 days ago | IN | 0 ETH | 0.00139145 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
YvsPool
Compiler Version
v0.6.12+commit.27d51765
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-12-16 */ pragma solidity 0.6.12; /** * @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]. */ contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor () internal { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } } /* * @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. */ abstract contract Context { function _msgSender() internal view virtual returns (address payable) { return msg.sender; } function _msgData() internal view virtual returns (bytes memory) { this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691 return msg.data; } } /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ 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(_owner == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { 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 virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // Inheritance // https://docs.synthetix.io/contracts/Pausable abstract contract Pausable is Ownable { uint256 public lastPauseTime; bool public paused; constructor() internal { // This contract is abstract, and thus cannot be instantiated directly require(owner() != address(0), "Owner must be set"); // Paused will be false, and lastPauseTime will be 0 upon initialisation } /** * @notice Change the paused state of the contract * @dev Only the contract owner may call this. */ function setPaused(bool _paused) external onlyOwner { // Ensure we're actually changing the state before we do anything if (_paused == paused) { return; } // Set our paused state. paused = _paused; // If applicable, set the last pause time. if (paused) { lastPauseTime = now; } // Let everyone know that our pause state has changed. emit PauseChanged(paused); } event PauseChanged(bool isPaused); modifier notPaused { require( !paused, "This action cannot be performed while the contract is paused" ); _; } } /** * @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. */ 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. */ function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { 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. */ function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) { require(b != 0, errorMessage); return a % b; } } /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `recipient`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address recipient, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `sender` to `recipient` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address sender, address recipient, uint256 amount) external returns (bool); /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); } // File: contracts/utils/Address.sol /** * @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) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } /** * @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]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); // solhint-disable-next-line avoid-low-level-calls, avoid-call-value (bool success, ) = recipient.call{ value: amount }(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain`call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { return _functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); return _functionCallWithValue(target, data, value, errorMessage); } function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) { require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: weiValue }(data); if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly // solhint-disable-next-line no-inline-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: contracts/token/ERC20/ERC20.sol /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * We have followed general OpenZeppelin guidelines: functions revert instead * of returning `false` on failure. This behavior is nonetheless conventional * and does not conflict with the expectations of ERC20 applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20 { using SafeMath for uint256; using Address for address; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; uint8 private _decimals; /** * @dev Sets the values for {name} and {symbol}, initializes {decimals} with * a default value of 18. * * To select a different value for {decimals}, use {_setupDecimals}. * * All three of these values are immutable: they can only be set once during * construction. */ constructor (string memory name, string memory symbol) public { _name = name; _symbol = symbol; _decimals = 18; } /** * @dev Returns the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5,05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the value {ERC20} uses, unless {_setupDecimals} is * called. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view returns (uint8) { return _decimals; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `recipient` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address recipient, uint256 amount) public virtual override returns (bool) { _transfer(_msgSender(), recipient, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { _approve(_msgSender(), spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}; * * Requirements: * - `sender` and `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. * - the caller must have allowance for ``sender``'s tokens of at least * `amount`. */ function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) { _transfer(sender, recipient, amount); _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance")); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue)); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { _approve(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero")); return true; } /** * @dev Moves tokens `amount` from `sender` to `recipient`. * * This is internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `sender` cannot be the zero address. * - `recipient` cannot be the zero address. * - `sender` must have a balance of at least `amount`. */ function _transfer(address sender, address recipient, uint256 amount) internal virtual { require(sender != address(0), "ERC20: transfer from the zero address"); require(recipient != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(sender, recipient, amount); _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance"); _balances[recipient] = _balances[recipient].add(amount); emit Transfer(sender, recipient, amount); } /** @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements * * - `to` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply = _totalSupply.add(amount); _balances[account] = _balances[account].add(amount); emit Transfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance"); _totalSupply = _totalSupply.sub(amount); emit Transfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Sets {decimals} to a value other than the default one of 18. * * WARNING: This function should only be called from the constructor. Most * applications that interact with token contracts will not expect * {decimals} to ever change, and may work incorrectly if it does. */ function _setupDecimals(uint8 decimals_) internal { _decimals = decimals_; } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be to transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { } } /** * @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 IERC20;` 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)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ 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. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional // solhint-disable-next-line max-line-length require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } contract YvsPool is ReentrancyGuard, Pausable { using SafeMath for uint256; using SafeERC20 for IERC20; // STATE VARIABLES address public controller; IERC20 public rewardsToken; IERC20 public stakingToken; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public rewardsDuration = 52600000; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; uint256 private _totalSupply; mapping(address => uint256) private _balances; // CONSTRUCTOR constructor( address _rewardsToken, address _stakingToken ) public { rewardsToken = IERC20(_rewardsToken); if (_stakingToken != address(0)) { stakingToken = IERC20(_stakingToken); } } // VIEWS function totalSupply() external view returns (uint256) { return _totalSupply; } function balanceOf(address account) external view returns (uint256) { return _balances[account]; } function lastTimeRewardApplicable() public view returns (uint256) { return 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]); } function getRewardForDuration() external view returns (uint256) { return rewardRate.mul(rewardsDuration); } function min(uint256 a, uint256 b) public pure returns (uint256) { return a < b ? a : b; } // PUBLIC FUNCTIONS function stake(uint256 amount) external nonReentrant notPaused updateReward(msg.sender) { require(amount > 0, "Cannot stake 0"); uint256 balBefore = stakingToken.balanceOf(address(this)); stakingToken.safeTransferFrom(msg.sender, address(this), amount); uint256 balAfter = stakingToken.balanceOf(address(this)); uint256 actualReceived = balAfter.sub(balBefore); _totalSupply = _totalSupply.add(actualReceived); _balances[msg.sender] = _balances[msg.sender].add(actualReceived); emit Staked(msg.sender, actualReceived); } function withdraw(uint256 amount) public nonReentrant updateReward(msg.sender) { require(amount > 0, "Cannot withdraw 0"); _totalSupply = _totalSupply.sub(amount); _balances[msg.sender] = _balances[msg.sender].sub(amount); stakingToken.safeTransfer(msg.sender, amount); emit Withdrawn(msg.sender, amount); } function getReward() public nonReentrant updateReward(msg.sender) { uint256 reward = rewards[msg.sender]; if (reward > 0) { rewards[msg.sender] = 0; rewardsToken.safeTransfer(msg.sender, reward); emit RewardPaid(msg.sender, reward); } } function exit() external { withdraw(_balances[msg.sender]); getReward(); } // RESTRICTED FUNCTIONS function setStakingToken(address _stakingToken) external restricted { require(address(stakingToken) == address(0), "!stakingToken"); stakingToken = IERC20(_stakingToken); } function setController(address _controller) external restricted { require(controller == address(0), "!controller"); controller = _controller; } function notifyRewardAmount(uint256 reward) external restricted updateReward(address(0)) { if (block.timestamp >= periodFinish) { rewardRate = reward.div(rewardsDuration); } else { uint256 remaining = periodFinish.sub(block.timestamp); uint256 leftover = remaining.mul(rewardRate); rewardRate = reward.add(leftover).div(rewardsDuration); } // Ensure the provided reward amount is not more than the balance in the contract. // This keeps the reward rate in the right range, preventing overflows due to // very high values of rewardRate in the earned and rewardsPerToken functions; // Reward + leftover must be less than 2^256 / 10^18 to avoid overflow. uint256 balance = rewardsToken.balanceOf(address(this)); require( rewardRate <= balance.div(rewardsDuration), "Provided reward too high" ); lastUpdateTime = block.timestamp; periodFinish = block.timestamp.add(rewardsDuration); emit RewardAdded(reward); } // Added to support recovering LP Rewards from other systems such as BAL to be distributed to holders function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner { // Cannot recover the staking token or the rewards token require( tokenAddress != address(stakingToken) && tokenAddress != address(rewardsToken), "Cannot withdraw the staking or rewards tokens" ); IERC20(tokenAddress).safeTransfer(owner(), tokenAmount); emit Recovered(tokenAddress, tokenAmount); } function setRewardsDuration(uint256 _rewardsDuration) external restricted { require( block.timestamp > periodFinish, "Previous rewards period must be complete before changing the duration for the new period" ); rewardsDuration = _rewardsDuration; emit RewardsDurationUpdated(rewardsDuration); } // *** MODIFIERS *** modifier updateReward(address account) { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } modifier restricted { require( msg.sender == controller || msg.sender == owner(), '!restricted' ); _; } // EVENTS event RewardAdded(uint256 reward); event Staked(address indexed user, uint256 amount); event Withdrawn(address indexed user, uint256 amount); event RewardPaid(address indexed user, uint256 reward); event RewardsDurationUpdated(uint256 newDuration); event Recovered(address token, uint256 amount); }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_rewardsToken","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isPaused","type":"bool"}],"name":"PauseChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","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":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","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"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"controller","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastPauseTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"a","type":"uint256"},{"internalType":"uint256","name":"b","type":"uint256"}],"name":"min","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"reward","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_controller","type":"address"}],"name":"setController","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingToken","type":"address"}],"name":"setStakingToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6080604052600060065560006007556303229cc06008553480156200002357600080fd5b50604051620033a9380380620033a9833981810160405260408110156200004957600080fd5b810190808051906020019092919080519060200190929190505050600160008190555060006200007e6200029060201b60201c565b905080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350600073ffffffffffffffffffffffffffffffffffffffff16620001456200029860201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161415620001d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4f776e6572206d7573742062652073657400000000000000000000000000000081525060200191505060405180910390fd5b81600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614620002885780600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050620002c2565b600033905090565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6130d780620002d26000396000f3fe608060405234801561001057600080fd5b50600436106101ef5760003560e01c806380faa57d1161010f578063cc1a378f116100a2578063e9fad8ee11610071578063e9fad8ee1461073c578063ebe2b12b14610746578063f2fde38b14610764578063f77c4791146107a8576101ef565b8063cc1a378f1461069e578063cd3daf9d146106cc578063d1af0c7d146106ea578063df136d651461071e576101ef565b806391b4ded9116100de57806391b4ded9146105f057806392eefe9b1461060e578063a694fc3a14610652578063c8f33c9114610680576101ef565b806380faa57d146104f85780638980f11f146105165780638b876347146105645780638da5cb5b146105bc576101ef565b80633c6b16ab11610187578063715018a611610156578063715018a61461045057806372f702f31461045a5780637ae2b5c71461048e5780637b0a47ee146104da576101ef565b80633c6b16ab146103a05780633d18b912146103ce5780635c975abb146103d857806370a08231146103f8576101ef565b80631c1f78eb116101c35780631c1f78eb146102f25780631e9b12ef146103105780632e1a7d4d14610354578063386a952514610382576101ef565b80628cc262146101f45780630700037d1461024c57806316c38b3c146102a457806318160ddd146102d4575b600080fd5b6102366004803603602081101561020a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107dc565b6040518082815260200191505060405180910390f35b61028e6004803603602081101561026257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108fa565b6040518082815260200191505060405180910390f35b6102d2600480360360208110156102ba57600080fd5b81019080803515159060200190929190505050610912565b005b6102dc610a7f565b6040518082815260200191505060405180910390f35b6102fa610a89565b6040518082815260200191505060405180910390f35b6103526004803603602081101561032657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610aa7565b005b6103806004803603602081101561036a57600080fd5b8101908080359060200190929190505050610caf565b005b61038a610fe1565b6040518082815260200191505060405180910390f35b6103cc600480360360208110156103b657600080fd5b8101908080359060200190929190505050610fe7565b005b6103d6611409565b005b6103e06116a8565b60405180821515815260200191505060405180910390f35b61043a6004803603602081101561040e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116bb565b6040518082815260200191505060405180910390f35b610458611704565b005b61046261188f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104c4600480360360408110156104a457600080fd5b8101908080359060200190929190803590602001909291905050506118b5565b6040518082815260200191505060405180910390f35b6104e26118ce565b6040518082815260200191505060405180910390f35b6105006118d4565b6040518082815260200191505060405180910390f35b6105626004803603604081101561052c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506118e7565b005b6105a66004803603602081101561057a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b3d565b6040518082815260200191505060405180910390f35b6105c4611b55565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105f8611b7f565b6040518082815260200191505060405180910390f35b6106506004803603602081101561062457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b85565b005b61067e6004803603602081101561066857600080fd5b8101908080359060200190929190505050611d8d565b005b6106886122d1565b6040518082815260200191505060405180910390f35b6106ca600480360360208110156106b457600080fd5b81019080803590602001909291905050506122d7565b005b6106d4612474565b6040518082815260200191505060405180910390f35b6106f2612502565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610726612528565b6040518082815260200191505060405180910390f35b61074461252e565b005b61074e612580565b6040518082815260200191505060405180910390f35b6107a66004803603602081101561077a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612586565b005b6107b0612796565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006108f3600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108e5670de0b6b3a76400006108d7610889600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461087b612474565b6127bc90919063ffffffff16565b600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461280690919063ffffffff16565b61288c90919063ffffffff16565b6128d690919063ffffffff16565b9050919050565b600c6020528060005260406000206000915090505481565b61091a61295e565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600360009054906101000a900460ff16151581151514156109fc57610a7c565b80600360006101000a81548160ff021916908315150217905550600360009054906101000a900460ff1615610a3357426002819055505b7f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5600360009054906101000a900460ff1660405180821515815260200191505060405180910390a15b50565b6000600d54905090565b6000610aa260085460075461280690919063ffffffff16565b905090565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b355750610b06611b55565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610ba7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217265737472696374656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f217374616b696e67546f6b656e0000000000000000000000000000000000000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60026000541415610d28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033610d39612474565b600a81905550610d476118d4565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e1457610d8a816107dc565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610e8a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610e9f82600d546127bc90919063ffffffff16565b600d81905550610ef782600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127bc90919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f873383600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166129669092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a250600160008190555050565b60085481565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110755750611046611b55565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6110e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217265737472696374656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006110f1612474565b600a819055506110ff6118d4565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111cc57611142816107dc565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60065442106111f5576111ea6008548361288c90919063ffffffff16565b600781905550611257565b600061120c426006546127bc90919063ffffffff16565b905060006112256007548361280690919063ffffffff16565b905061124e60085461124083876128d690919063ffffffff16565b61288c90919063ffffffff16565b60078190555050505b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156112e257600080fd5b505afa1580156112f6573d6000803e3d6000fd5b505050506040513d602081101561130c57600080fd5b810190808051906020019092919050505090506113346008548261288c90919063ffffffff16565b60075411156113ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b426009819055506113c7600854426128d690919063ffffffff16565b6006819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a1505050565b60026000541415611482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033611493612474565b600a819055506114a16118d4565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461156e576114e4816107dc565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081111561169c576000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061164d3382600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166129669092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50506001600081905550565b600360009054906101000a900460ff1681565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61170c61295e565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008183106118c457816118c6565b825b905092915050565b60075481565b60006118e2426006546118b5565b905090565b6118ef61295e565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015611a5d5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b611ab2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018061304b602d913960400191505060405180910390fd5b611ae4611abd611b55565b828473ffffffffffffffffffffffffffffffffffffffff166129669092919063ffffffff16565b7f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa288282604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b600b6020528060005260406000206000915090505481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611c135750611be4611b55565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217265737472696374656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d49576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f21636f6e74726f6c6c657200000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60026000541415611e06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550600360009054906101000a900460ff1615611e74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c81526020018061300f603c913960400191505060405180910390fd5b33611e7d612474565b600a81905550611e8b6118d4565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611f5857611ece816107dc565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211611fce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561205957600080fd5b505afa15801561206d573d6000803e3d6000fd5b505050506040513d602081101561208357600080fd5b810190808051906020019092919050505090506120e5333085600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612a08909392919063ffffffff16565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561217057600080fd5b505afa158015612184573d6000803e3d6000fd5b505050506040513d602081101561219a57600080fd5b8101908080519060200190929190505050905060006121c283836127bc90919063ffffffff16565b90506121d981600d546128d690919063ffffffff16565b600d8190555061223181600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128d690919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040518082815260200191505060405180910390a250505050600160008190555050565b60095481565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806123655750612336611b55565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6123d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217265737472696374656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6006544211612431576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526058815260200180612f706058913960600191505060405180910390fd5b806008819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d36008546040518082815260200191505060405180910390a150565b600080600d54141561248a57600a5490506124ff565b6124fc6124eb600d546124dd670de0b6b3a76400006124cf6007546124c16009546124b36118d4565b6127bc90919063ffffffff16565b61280690919063ffffffff16565b61280690919063ffffffff16565b61288c90919063ffffffff16565b600a546128d690919063ffffffff16565b90505b90565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b612576600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610caf565b61257e611409565b565b60065481565b61258e61295e565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612650576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156126d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612fc86026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006127fe83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612ac9565b905092915050565b6000808314156128195760009050612886565b600082840290508284828161282a57fe5b0414612881576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612fee6021913960400191505060405180910390fd5b809150505b92915050565b60006128ce83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612b89565b905092915050565b600080828401905083811015612954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b612a038363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612c4f565b505050565b612ac3846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612c4f565b50505050565b6000838311158290612b76576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612b3b578082015181840152602081019050612b20565b50505050905090810190601f168015612b685780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290612c35576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612bfa578082015181840152602081019050612bdf565b50505050905090810190601f168015612c275780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612c4157fe5b049050809150509392505050565b6060612cb1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612d3e9092919063ffffffff16565b9050600081511115612d3957808060200190516020811015612cd257600080fd5b8101908080519060200190929190505050612d38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613078602a913960400191505060405180910390fd5b5b505050565b6060612d4d8484600085612d56565b90509392505050565b6060612d6185612f5c565b612dd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612e235780518252602082019150602081019050602083039250612e00565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612e85576040519150601f19603f3d011682016040523d82523d6000602084013e612e8a565b606091505b50915091508115612e9f578092505050612f54565b600081511115612eb25780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612f19578082015181840152602081019050612efe565b50505050905090810190601f168015612f465780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b90506000811191505091905056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656443616e6e6f7420776974686472617720746865207374616b696e67206f72207265776172647320746f6b656e735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212208d10d63c828b535f5eb9f9140e606830339ea10d084931e178861170be12c4b764736f6c634300060c0033000000000000000000000000ec681f28f4561c2a9534799aa38e0d36a83cf4780000000000000000000000000b1b5c66b519bf7b586fff0a7bace89227ac5eaf
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101ef5760003560e01c806380faa57d1161010f578063cc1a378f116100a2578063e9fad8ee11610071578063e9fad8ee1461073c578063ebe2b12b14610746578063f2fde38b14610764578063f77c4791146107a8576101ef565b8063cc1a378f1461069e578063cd3daf9d146106cc578063d1af0c7d146106ea578063df136d651461071e576101ef565b806391b4ded9116100de57806391b4ded9146105f057806392eefe9b1461060e578063a694fc3a14610652578063c8f33c9114610680576101ef565b806380faa57d146104f85780638980f11f146105165780638b876347146105645780638da5cb5b146105bc576101ef565b80633c6b16ab11610187578063715018a611610156578063715018a61461045057806372f702f31461045a5780637ae2b5c71461048e5780637b0a47ee146104da576101ef565b80633c6b16ab146103a05780633d18b912146103ce5780635c975abb146103d857806370a08231146103f8576101ef565b80631c1f78eb116101c35780631c1f78eb146102f25780631e9b12ef146103105780632e1a7d4d14610354578063386a952514610382576101ef565b80628cc262146101f45780630700037d1461024c57806316c38b3c146102a457806318160ddd146102d4575b600080fd5b6102366004803603602081101561020a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506107dc565b6040518082815260200191505060405180910390f35b61028e6004803603602081101561026257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506108fa565b6040518082815260200191505060405180910390f35b6102d2600480360360208110156102ba57600080fd5b81019080803515159060200190929190505050610912565b005b6102dc610a7f565b6040518082815260200191505060405180910390f35b6102fa610a89565b6040518082815260200191505060405180910390f35b6103526004803603602081101561032657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610aa7565b005b6103806004803603602081101561036a57600080fd5b8101908080359060200190929190505050610caf565b005b61038a610fe1565b6040518082815260200191505060405180910390f35b6103cc600480360360208110156103b657600080fd5b8101908080359060200190929190505050610fe7565b005b6103d6611409565b005b6103e06116a8565b60405180821515815260200191505060405180910390f35b61043a6004803603602081101561040e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116bb565b6040518082815260200191505060405180910390f35b610458611704565b005b61046261188f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104c4600480360360408110156104a457600080fd5b8101908080359060200190929190803590602001909291905050506118b5565b6040518082815260200191505060405180910390f35b6104e26118ce565b6040518082815260200191505060405180910390f35b6105006118d4565b6040518082815260200191505060405180910390f35b6105626004803603604081101561052c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506118e7565b005b6105a66004803603602081101561057a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b3d565b6040518082815260200191505060405180910390f35b6105c4611b55565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105f8611b7f565b6040518082815260200191505060405180910390f35b6106506004803603602081101561062457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b85565b005b61067e6004803603602081101561066857600080fd5b8101908080359060200190929190505050611d8d565b005b6106886122d1565b6040518082815260200191505060405180910390f35b6106ca600480360360208110156106b457600080fd5b81019080803590602001909291905050506122d7565b005b6106d4612474565b6040518082815260200191505060405180910390f35b6106f2612502565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610726612528565b6040518082815260200191505060405180910390f35b61074461252e565b005b61074e612580565b6040518082815260200191505060405180910390f35b6107a66004803603602081101561077a57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612586565b005b6107b0612796565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b60006108f3600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546108e5670de0b6b3a76400006108d7610889600b60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461087b612474565b6127bc90919063ffffffff16565b600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461280690919063ffffffff16565b61288c90919063ffffffff16565b6128d690919063ffffffff16565b9050919050565b600c6020528060005260406000206000915090505481565b61091a61295e565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146109dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600360009054906101000a900460ff16151581151514156109fc57610a7c565b80600360006101000a81548160ff021916908315150217905550600360009054906101000a900460ff1615610a3357426002819055505b7f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5600360009054906101000a900460ff1660405180821515815260200191505060405180910390a15b50565b6000600d54905090565b6000610aa260085460075461280690919063ffffffff16565b905090565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480610b355750610b06611b55565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b610ba7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217265737472696374656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610c6b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600d8152602001807f217374616b696e67546f6b656e0000000000000000000000000000000000000081525060200191505060405180910390fd5b80600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60026000541415610d28576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033610d39612474565b600a81905550610d476118d4565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e1457610d8a816107dc565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610e8a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610e9f82600d546127bc90919063ffffffff16565b600d81905550610ef782600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546127bc90919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550610f873383600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166129669092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a250600160008190555050565b60085481565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806110755750611046611b55565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6110e7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217265737472696374656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006110f1612474565b600a819055506110ff6118d4565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146111cc57611142816107dc565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60065442106111f5576111ea6008548361288c90919063ffffffff16565b600781905550611257565b600061120c426006546127bc90919063ffffffff16565b905060006112256007548361280690919063ffffffff16565b905061124e60085461124083876128d690919063ffffffff16565b61288c90919063ffffffff16565b60078190555050505b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b1580156112e257600080fd5b505afa1580156112f6573d6000803e3d6000fd5b505050506040513d602081101561130c57600080fd5b810190808051906020019092919050505090506113346008548261288c90919063ffffffff16565b60075411156113ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b426009819055506113c7600854426128d690919063ffffffff16565b6006819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a1505050565b60026000541415611482576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600260008190555033611493612474565b600a819055506114a16118d4565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461156e576114e4816107dc565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050600081111561169c576000600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061164d3382600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166129669092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50506001600081905550565b600360009054906101000a900460ff1681565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61170c61295e565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146117ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008183106118c457816118c6565b825b905092915050565b60075481565b60006118e2426006546118b5565b905090565b6118ef61295e565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146119b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015611a5d5750600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614155b611ab2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018061304b602d913960400191505060405180910390fd5b611ae4611abd611b55565b828473ffffffffffffffffffffffffffffffffffffffff166129669092919063ffffffff16565b7f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa288282604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a15050565b600b6020528060005260406000206000915090505481565b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60025481565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611c135750611be4611b55565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611c85576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217265737472696374656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611d49576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f21636f6e74726f6c6c657200000000000000000000000000000000000000000081525060200191505060405180910390fd5b80600360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60026000541415611e06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002600081905550600360009054906101000a900460ff1615611e74576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c81526020018061300f603c913960400191505060405180910390fd5b33611e7d612474565b600a81905550611e8b6118d4565b600981905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611f5857611ece816107dc565b600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600a54600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211611fce576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561205957600080fd5b505afa15801561206d573d6000803e3d6000fd5b505050506040513d602081101561208357600080fd5b810190808051906020019092919050505090506120e5333085600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16612a08909392919063ffffffff16565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561217057600080fd5b505afa158015612184573d6000803e3d6000fd5b505050506040513d602081101561219a57600080fd5b8101908080519060200190929190505050905060006121c283836127bc90919063ffffffff16565b90506121d981600d546128d690919063ffffffff16565b600d8190555061223181600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128d690919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055503373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040518082815260200191505060405180910390a250505050600160008190555050565b60095481565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806123655750612336611b55565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6123d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f217265737472696374656400000000000000000000000000000000000000000081525060200191505060405180910390fd5b6006544211612431576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526058815260200180612f706058913960600191505060405180910390fd5b806008819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d36008546040518082815260200191505060405180910390a150565b600080600d54141561248a57600a5490506124ff565b6124fc6124eb600d546124dd670de0b6b3a76400006124cf6007546124c16009546124b36118d4565b6127bc90919063ffffffff16565b61280690919063ffffffff16565b61280690919063ffffffff16565b61288c90919063ffffffff16565b600a546128d690919063ffffffff16565b90505b90565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a5481565b612576600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610caf565b61257e611409565b565b60065481565b61258e61295e565b73ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614612650576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156126d6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612fc86026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60006127fe83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612ac9565b905092915050565b6000808314156128195760009050612886565b600082840290508284828161282a57fe5b0414612881576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612fee6021913960400191505060405180910390fd5b809150505b92915050565b60006128ce83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250612b89565b905092915050565b600080828401905083811015612954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b612a038363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612c4f565b505050565b612ac3846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050612c4f565b50505050565b6000838311158290612b76576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612b3b578082015181840152602081019050612b20565b50505050905090810190601f168015612b685780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385039050809150509392505050565b60008083118290612c35576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612bfa578082015181840152602081019050612bdf565b50505050905090810190601f168015612c275780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000838581612c4157fe5b049050809150509392505050565b6060612cb1826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff16612d3e9092919063ffffffff16565b9050600081511115612d3957808060200190516020811015612cd257600080fd5b8101908080519060200190929190505050612d38576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180613078602a913960400191505060405180910390fd5b5b505050565b6060612d4d8484600085612d56565b90509392505050565b6060612d6185612f5c565b612dd3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b60208310612e235780518252602082019150602081019050602083039250612e00565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612e85576040519150601f19603f3d011682016040523d82523d6000602084013e612e8a565b606091505b50915091508115612e9f578092505050612f54565b600081511115612eb25780518082602001fd5b836040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612f19578082015181840152602081019050612efe565b50505050905090810190601f168015612f465780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b949350505050565b600080823b90506000811191505091905056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656443616e6e6f7420776974686472617720746865207374616b696e67206f72207265776172647320746f6b656e735361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212208d10d63c828b535f5eb9f9140e606830339ea10d084931e178861170be12c4b764736f6c634300060c0033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000ec681f28f4561c2a9534799aa38e0d36a83cf4780000000000000000000000000b1b5c66b519bf7b586fff0a7bace89227ac5eaf
-----Decoded View---------------
Arg [0] : _rewardsToken (address): 0xEC681F28f4561c2a9534799AA38E0d36A83Cf478
Arg [1] : _stakingToken (address): 0x0B1b5C66B519BF7B586FFf0A7bacE89227aC5EAF
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000ec681f28f4561c2a9534799aa38e0d36a83cf478
Arg [1] : 0000000000000000000000000b1b5c66b519bf7b586fff0a7bace89227ac5eaf
Deployed Bytecode Sourcemap
35595:7234:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37326:265;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36108:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;6288:488;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36545:93;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37599:121;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39379:218;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38527:393;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35916:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39802:1142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;38928:307;;;:::i;:::-;;5872:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36646:112;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5173:148;;;:::i;:::-;;35809:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37728:104;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35880:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36766:126;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41059:500;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36044:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;4531:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;5837:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39605:189;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;37867:652;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35964:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;41567:361;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;36900:418;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35776:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;36000:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;39243:97;;;:::i;:::-;;35842:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;5476:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35742:25;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;37326:265;37380:7;37420:163;37566:7;:16;37574:7;37566:16;;;;;;;;;;;;;;;;37420:123;37538:4;37420:95;37461:53;37482:22;:31;37505:7;37482:31;;;;;;;;;;;;;;;;37461:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;37420:9;:18;37430:7;37420:18;;;;;;;;;;;;;;;;:40;;:95;;;;:::i;:::-;:117;;:123;;;;:::i;:::-;:145;;:163;;;;:::i;:::-;37400:183;;37326:265;;;:::o;36108:42::-;;;;;;;;;;;;;;;;;:::o;6288:488::-;4753:12;:10;:12::i;:::-;4743:22;;:6;;;;;;;;;;;:22;;;4735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6441:6:::1;;;;;;;;;;;6430:17;;:7;:17;;;6426:56;;;6464:7;;6426:56;6537:7;6528:6;;:16;;;;;;;;;;;;;;;;;;6613:6;;;;;;;;;;;6609:58;;;6652:3;6636:13;:19;;;;6609:58;6748:20;6761:6;;;;;;;;;;;6748:20;;;;;;;;;;;;;;;;;;;;4813:1;6288:488:::0;:::o;36545:93::-;36591:7;36618:12;;36611:19;;36545:93;:::o;37599:121::-;37654:7;37681:31;37696:15;;37681:10;;:14;;:31;;;;:::i;:::-;37674:38;;37599:121;:::o;39379:218::-;42371:10;;;;;;;;;;;42357:24;;:10;:24;;;:62;;;;42412:7;:5;:7::i;:::-;42398:21;;:10;:21;;;42357:62;42335:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39522:1:::1;39489:35;;39497:12;;;;;;;;;;;39489:35;;;39481:61;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;39575:13;39553:12;;:36;;;;;;;;;;;;;;;;;;39379:218:::0;:::o;38527:393::-;1671:1;2277:7;;:19;;2269:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2410:7;:18;;;;38621:10:::1;42037:16;:14;:16::i;:::-;42014:20;:39;;;;42081:26;:24;:26::i;:::-;42064:14;:43;;;;42141:1;42122:21;;:7;:21;;;42118:157;;42179:15;42186:7;42179:6;:15::i;:::-;42160:7;:16;42168:7;42160:16;;;;;;;;;;;;;;;:34;;;;42243:20;;42209:22;:31;42232:7;42209:31;;;;;;;;;;;;;;;:54;;;;42118:157;38666:1:::2;38657:6;:10;38649:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;38717:24;38734:6;38717:12;;:16;;:24;;;;:::i;:::-;38702:12;:39;;;;38776:33;38802:6;38776:9;:21;38786:10;38776:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;38752:9;:21;38762:10;38752:21;;;;;;;;;;;;;;;:57;;;;38820:45;38846:10;38858:6;38820:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;38893:10;38883:29;;;38905:6;38883:29;;;;;;;;;;;;;;;;;;2441:1:::1;1627::::0;2589:7;:22;;;;38527:393;:::o;35916:41::-;;;;:::o;39802:1142::-;42371:10;;;;;;;;;;;42357:24;;:10;:24;;;:62;;;;42412:7;:5;:7::i;:::-;42398:21;;:10;:21;;;42357:62;42335:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39914:1:::1;42037:16;:14;:16::i;:::-;42014:20;:39;;;;42081:26;:24;:26::i;:::-;42064:14;:43;;;;42141:1;42122:21;;:7;:21;;;42118:157;;42179:15;42186:7;42179:6;:15::i;:::-;42160:7;:16;42168:7;42160:16;;;;;;;;;;;;;;;:34;;;;42243:20;;42209:22;:31;42232:7;42209:31;;;;;;;;;;;;;;;:54;;;;42118:157;39957:12:::2;;39938:15;:31;39934:318;;39999:27;40010:15;;39999:6;:10;;:27;;;;:::i;:::-;39986:10;:40;;;;39934:318;;;40059:17;40079:33;40096:15;40079:12;;:16;;:33;;;;:::i;:::-;40059:53;;40127:16;40146:25;40160:10;;40146:9;:13;;:25;;;;:::i;:::-;40127:44;;40199:41;40224:15;;40199:20;40210:8;40199:6;:10;;:20;;;;:::i;:::-;:24;;:41;;;;:::i;:::-;40186:10;:54;;;;39934:318;;;40612:15;40630:12;;;;;;;;;;;:22;;;40661:4;40630:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;40612:55;;40714:28;40726:15;;40714:7;:11;;:28;;;;:::i;:::-;40700:10;;:42;;40678:116;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;40824:15;40807:14;:32;;;;40865:36;40885:15;;40865;:19;;:36;;;;:::i;:::-;40850:12;:51;;;;40917:19;40929:6;40917:19;;;;;;;;;;;;;;;;;;42287:1;42471::::1;39802:1142:::0;:::o;38928:307::-;1671:1;2277:7;;:19;;2269:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2410:7;:18;;;;38982:10:::1;42037:16;:14;:16::i;:::-;42014:20;:39;;;;42081:26;:24;:26::i;:::-;42064:14;:43;;;;42141:1;42122:21;;:7;:21;;;42118:157;;42179:15;42186:7;42179:6;:15::i;:::-;42160:7;:16;42168:7;42160:16;;;;;;;;;;;;;;;:34;;;;42243:20;;42209:22;:31;42232:7;42209:31;;;;;;;;;;;;;;;:54;;;;42118:157;39005:14:::2;39022:7;:19;39030:10;39022:19;;;;;;;;;;;;;;;;39005:36;;39065:1;39056:6;:10;39052:176;;;39105:1;39083:7;:19;39091:10;39083:19;;;;;;;;;;;;;;;:23;;;;39121:45;39147:10;39159:6;39121:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;39197:10;39186:30;;;39209:6;39186:30;;;;;;;;;;;;;;;;;;39052:176;42287:1;2441::::1;1627::::0;2589:7;:22;;;;38928:307::o;5872:18::-;;;;;;;;;;;;;:::o;36646:112::-;36705:7;36732:9;:18;36742:7;36732:18;;;;;;;;;;;;;;;;36725:25;;36646:112;;;:::o;5173:148::-;4753:12;:10;:12::i;:::-;4743:22;;:6;;;;;;;;;;;:22;;;4735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5280:1:::1;5243:40;;5264:6;;;;;;;;;;;5243:40;;;;;;;;;;;;5311:1;5294:6;;:19;;;;;;;;;;;;;;;;;;5173:148::o:0;35809:26::-;;;;;;;;;;;;;:::o;37728:104::-;37784:7;37815:1;37811;:5;:13;;37823:1;37811:13;;;37819:1;37811:13;37804:20;;37728:104;;;;:::o;35880:29::-;;;;:::o;36766:126::-;36823:7;36850:34;36854:15;36871:12;;36850:3;:34::i;:::-;36843:41;;36766:126;:::o;41059:500::-;4753:12;:10;:12::i;:::-;4743:22;;:6;;;;;;;;;;;:22;;;4735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41289:12:::1;;;;;;;;;;;41265:37;;:12;:37;;;;:95;;;;;41347:12;;;;;;;;;;;41323:37;;:12;:37;;;;41265:95;41243:190;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41444:55;41478:7;:5;:7::i;:::-;41487:11;41451:12;41444:33;;;;:55;;;;;:::i;:::-;41515:36;41525:12;41539:11;41515:36;;;;;;;;;;;;;;;;;;;;;;;;;;41059:500:::0;;:::o;36044:57::-;;;;;;;;;;;;;;;;;:::o;4531:79::-;4569:7;4596:6;;;;;;;;;;;4589:13;;4531:79;:::o;5837:28::-;;;;:::o;39605:189::-;42371:10;;;;;;;;;;;42357:24;;:10;:24;;;:62;;;;42412:7;:5;:7::i;:::-;42398:21;;:10;:21;;;42357:62;42335:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39733:1:::1;39711:24;;:10;;;;;;;;;;;:24;;;39703:48;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;39775:11;39762:10;;:24;;;;;;;;;;;;;;;;;;39605:189:::0;:::o;37867:652::-;1671:1;2277:7;;:19;;2269:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1671:1;2410:7;:18;;;;6879:6:::1;;;;;;;;;;;6878:7;6856:117;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37979:10:::2;42037:16;:14;:16::i;:::-;42014:20;:39;;;;42081:26;:24;:26::i;:::-;42064:14;:43;;;;42141:1;42122:21;;:7;:21;;;42118:157;;42179:15;42186:7;42179:6;:15::i;:::-;42160:7;:16;42168:7;42160:16;;;;;;;;;;;;;;;:34;;;;42243:20;;42209:22;:31;42232:7;42209:31;;;;;;;;;;;;;;;:54;;;;42118:157;38024:1:::3;38015:6;:10;38007:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;38057:17;38077:12;;;;;;;;;;;:22;;;38108:4;38077:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;38057:57;;38125:64;38155:10;38175:4;38182:6;38125:12;;;;;;;;;;;:29;;;;:64;;;;;;:::i;:::-;38200:16;38219:12;;;;;;;;;;;:22;;;38250:4;38219:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;38200:56;;38267:22;38292:23;38305:9;38292:8;:12;;:23;;;;:::i;:::-;38267:48;;38343:32;38360:14;38343:12;;:16;;:32;;;;:::i;:::-;38328:12;:47;;;;38410:41;38436:14;38410:9;:21;38420:10;38410:21;;;;;;;;;;;;;;;;:25;;:41;;;;:::i;:::-;38386:9;:21;38396:10;38386:21;;;;;;;;;;;;;;;:65;;;;38484:10;38477:34;;;38496:14;38477:34;;;;;;;;;;;;;;;;;;42287:1;;;6984::::2;1627::::0;2589:7;:22;;;;37867:652;:::o;35964:29::-;;;;:::o;41567:361::-;42371:10;;;;;;;;;;;42357:24;;:10;:24;;;:62;;;;42412:7;:5;:7::i;:::-;42398:21;;:10;:21;;;42357:62;42335:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41692:12:::1;;41674:15;:30;41652:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41849:16;41831:15;:34;;;;41881:39;41904:15;;41881:39;;;;;;;;;;;;;;;;;;41567:361:::0;:::o;36900:418::-;36947:7;36987:1;36971:12;;:17;36967:77;;;37012:20;;37005:27;;;;36967:77;37074:236;37117:178;37282:12;;37117:138;37250:4;37117:106;37212:10;;37117:68;37170:14;;37117:26;:24;:26::i;:::-;:52;;:68;;;;:::i;:::-;:94;;:106;;;;:::i;:::-;:132;;:138;;;;:::i;:::-;:164;;:178;;;;:::i;:::-;37074:20;;:24;;:236;;;;:::i;:::-;37054:256;;36900:418;;:::o;35776:26::-;;;;;;;;;;;;;:::o;36000:35::-;;;;:::o;39243:97::-;39279:31;39288:9;:21;39298:10;39288:21;;;;;;;;;;;;;;;;39279:8;:31::i;:::-;39321:11;:9;:11::i;:::-;39243:97::o;35842:31::-;;;;:::o;5476:244::-;4753:12;:10;:12::i;:::-;4743:22;;:6;;;;;;;;;;;:22;;;4735:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5585:1:::1;5565:22;;:8;:22;;;;5557:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5675:8;5646:38;;5667:6;;;;;;;;;;;5646:38;;;;;;;;;;;;5704:8;5695:6;;:17;;;;;;;;;;;;;;;;;;5476:244:::0;:::o;35742:25::-;;;;;;;;;;;;;:::o;8304:136::-;8362:7;8389:43;8393:1;8396;8389:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;8382:50;;8304:136;;;;:::o;9194:471::-;9252:7;9502:1;9497;:6;9493:47;;;9527:1;9520:8;;;;9493:47;9552:9;9568:1;9564;:5;9552:17;;9597:1;9592;9588;:5;;;;;;:10;9580:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9656:1;9649:8;;;9194:471;;;;;:::o;10141:132::-;10199:7;10226:39;10230:1;10233;10226:39;;;;;;;;;;;;;;;;;:3;:39::i;:::-;10219:46;;10141:132;;;;:::o;7840:181::-;7898:7;7918:9;7934:1;7930;:5;7918:17;;7959:1;7954;:6;;7946:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8012:1;8005:8;;;7840:181;;;;:::o;3169:106::-;3222:15;3257:10;3250:17;;3169:106;:::o;32522:177::-;32605:86;32625:5;32655:23;;;32680:2;32684:5;32632:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32605:19;:86::i;:::-;32522:177;;;:::o;32707:205::-;32808:96;32828:5;32858:27;;;32887:4;32893:2;32897:5;32835:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32808:19;:96::i;:::-;32707:205;;;;:::o;8743:192::-;8829:7;8862:1;8857;:6;;8865:12;8849:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8889:9;8905:1;8901;:5;8889:17;;8926:1;8919:8;;;8743:192;;;;;:::o;10769:278::-;10855:7;10887:1;10883;:5;10890:12;10875:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;10914:9;10930:1;10926;:5;;;;;;10914:17;;11038:1;11031:8;;;10769:278;;;;;:::o;34827:761::-;35251:23;35277:69;35305:4;35277:69;;;;;;;;;;;;;;;;;35285:5;35277:27;;;;:69;;;;;:::i;:::-;35251:95;;35381:1;35361:10;:17;:21;35357:224;;;35503:10;35492:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35484:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35357:224;34827:761;;;:::o;18650:196::-;18753:12;18785:53;18808:6;18816:4;18822:1;18825:12;18785:22;:53::i;:::-;18778:60;;18650:196;;;;;:::o;20027:979::-;20157:12;20190:18;20201:6;20190:10;:18::i;:::-;20182:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20316:12;20330:23;20357:6;:11;;20377:8;20388:4;20357:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20315:78;;;;20408:7;20404:595;;;20439:10;20432:17;;;;;;20404:595;20573:1;20553:10;:17;:21;20549:439;;;20816:10;20810:17;20877:15;20864:10;20860:2;20856:19;20849:44;20764:148;20959:12;20952:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20027:979;;;;;;;:::o;15732:422::-;15792:4;16000:12;16111:7;16099:20;16091:28;;16145:1;16138:4;:8;16131:15;;;15732:422;;;:::o
Swarm Source
ipfs://8d10d63c828b535f5eb9f9140e606830339ea10d084931e178861170be12c4b7
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.000894 | 2,980.3016 | $2.66 |
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.