More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 18,247 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Exit | 21418783 | 7 days ago | IN | 0 ETH | 0.00131327 | ||||
Get Reward | 21404498 | 9 days ago | IN | 0 ETH | 0.0005404 | ||||
Exit | 21404468 | 9 days ago | IN | 0 ETH | 0.00040168 | ||||
Withdraw | 21404465 | 9 days ago | IN | 0 ETH | 0.00090726 | ||||
Exit | 21403449 | 9 days ago | IN | 0 ETH | 0.00094808 | ||||
Exit | 21372661 | 13 days ago | IN | 0 ETH | 0.00903846 | ||||
Withdraw | 21329945 | 19 days ago | IN | 0 ETH | 0.00365086 | ||||
Exit | 21323903 | 20 days ago | IN | 0 ETH | 0.00350587 | ||||
Withdraw | 21323889 | 20 days ago | IN | 0 ETH | 0.00279593 | ||||
Exit | 21295426 | 24 days ago | IN | 0 ETH | 0.00165959 | ||||
Withdraw | 21281794 | 26 days ago | IN | 0 ETH | 0.00162715 | ||||
Withdraw | 21265335 | 28 days ago | IN | 0 ETH | 0.00151345 | ||||
Withdraw | 21251928 | 30 days ago | IN | 0 ETH | 0.00176056 | ||||
Exit | 21243715 | 31 days ago | IN | 0 ETH | 0.00202122 | ||||
Withdraw | 21239056 | 32 days ago | IN | 0 ETH | 0.00072352 | ||||
Exit | 21239055 | 32 days ago | IN | 0 ETH | 0.00190395 | ||||
Withdraw | 21101961 | 51 days ago | IN | 0 ETH | 0.00053707 | ||||
Get Reward | 21101954 | 51 days ago | IN | 0 ETH | 0.00056835 | ||||
Withdraw | 20975386 | 68 days ago | IN | 0 ETH | 0.00118686 | ||||
Exit | 20965524 | 70 days ago | IN | 0 ETH | 0.00308991 | ||||
Exit | 20949179 | 72 days ago | IN | 0 ETH | 0.0013162 | ||||
Exit | 20860017 | 85 days ago | IN | 0 ETH | 0.00072666 | ||||
Exit | 20809587 | 92 days ago | IN | 0 ETH | 0.00077167 | ||||
Exit | 20600581 | 121 days ago | IN | 0 ETH | 0.00013222 | ||||
Exit | 20520709 | 132 days ago | IN | 0 ETH | 0.00040468 |
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers. Name tag integration is not available in advanced view.
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block |
From
|
To
|
||||
---|---|---|---|---|---|---|---|
21418783 | 7 days ago | 0 ETH | |||||
21418783 | 7 days ago | 0 ETH | |||||
21404498 | 9 days ago | 0 ETH | |||||
21404465 | 9 days ago | 0 ETH | |||||
21403449 | 9 days ago | 0 ETH | |||||
21403449 | 9 days ago | 0 ETH | |||||
21372661 | 13 days ago | 0 ETH | |||||
21372661 | 13 days ago | 0 ETH | |||||
21329945 | 19 days ago | 0 ETH | |||||
21323903 | 20 days ago | 0 ETH | |||||
21323903 | 20 days ago | 0 ETH | |||||
21323889 | 20 days ago | 0 ETH | |||||
21295426 | 24 days ago | 0 ETH | |||||
21295426 | 24 days ago | 0 ETH | |||||
21281794 | 26 days ago | 0 ETH | |||||
21265335 | 28 days ago | 0 ETH | |||||
21251928 | 30 days ago | 0 ETH | |||||
21243715 | 31 days ago | 0 ETH | |||||
21243715 | 31 days ago | 0 ETH | |||||
21239055 | 32 days ago | 0 ETH | |||||
21239055 | 32 days ago | 0 ETH | |||||
21101961 | 51 days ago | 0 ETH | |||||
21101954 | 51 days ago | 0 ETH | |||||
20975386 | 68 days ago | 0 ETH | |||||
20965524 | 70 days ago | 0 ETH |
Loading...
Loading
Contract Name:
StakingRewards
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-02-08 */ // File: @openzeppelin/contracts/math/Math.sol // SPDX-License-Identifier: MIT pragma solidity >=0.6.0 <0.8.0; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow, so we distribute return (a / 2) + (b / 2) + ((a % 2 + b % 2) / 2); } } // File: @openzeppelin/contracts/math/SafeMath.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations with added overflow * checks. * * Arithmetic operations in Solidity wrap on overflow. This can easily result * in bugs, because programmers usually assume that an overflow raises an * error, which is the standard behavior in high level programming languages. * `SafeMath` restores this intuition by reverting the transaction when an * operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b > a) return (false, 0); return (true, a - b); } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, 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 (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a / b); } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { if (b == 0) return (false, 0); return (true, a % b); } /** * @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) { require(b <= a, "SafeMath: subtraction overflow"); return a - b; } /** * @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) { 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, reverting 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) { require(b > 0, "SafeMath: division by zero"); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting 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) { require(b > 0, "SafeMath: modulo by zero"); return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * 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); return a - b; } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryDiv}. * * 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); return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * 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; } } // File: @openzeppelin/contracts/token/ERC20/IERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @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: @openzeppelin/contracts/utils/Address.sol pragma solidity >=0.6.2 <0.8.0; /** * @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"); require(isContract(target), "Address: call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.call{ value: value }(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.staticcall(data); return _verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); // solhint-disable-next-line avoid-low-level-calls (bool success, bytes memory returndata) = target.delegatecall(data); return _verifyCallResult(success, returndata, errorMessage); } function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) { 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: @openzeppelin/contracts/token/ERC20/SafeERC20.sol pragma solidity >=0.6.0 <0.8.0; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for 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"); } } } // File: @openzeppelin/contracts/utils/ReentrancyGuard.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract 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; } } // File: contracts/interfaces/IStakingRewards.sol pragma solidity 0.7.5; interface IStakingRewards { // Mutative function stake(uint256 amount) external; function withdraw(uint256 amount) external; function getReward() external; function exit() external; // Views function lastTimeRewardApplicable() external view returns (uint256); function rewardPerToken() external view returns (uint256); function earned(address account) external view returns (uint256); function getRewardForDuration() external view returns (uint256); function totalSupply() external view returns (uint256); function balanceOf(address account) external view returns (uint256); } // File: @openzeppelin/contracts/utils/Context.sol pragma solidity >=0.6.0 <0.8.0; /* * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with GSN meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ 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; } } // File: @openzeppelin/contracts/access/Ownable.sol pragma solidity >=0.6.0 <0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * 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. */ abstract 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 virtual 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; } } // File: contracts/interfaces/Owned.sol pragma solidity 0.7.5; abstract contract Owned is Ownable { constructor(address _owner) { transferOwnership(_owner); } } // File: contracts/interfaces/Pausable.sol pragma solidity 0.7.5; // Inheritance abstract contract Pausable is Owned { bool public paused; constructor() { // This contract is abstract, and thus cannot be instantiated directly require(owner() != address(0), "Owner must be set"); // Paused will be false } /** * @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; // 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"); _; } } // File: contracts/interfaces/IBurnableToken.sol pragma solidity 0.7.5; interface IBurnableToken { function burn(uint256 _amount) external; } // File: contracts/interfaces/RewardsDistributionRecipient.sol pragma solidity 0.7.5; // Inheritance // https://docs.synthetix.io/contracts/RewardsDistributionRecipient abstract contract RewardsDistributionRecipient is Owned { address public rewardsDistribution; function notifyRewardAmount(uint256 reward) virtual external; modifier onlyRewardsDistribution() { require(msg.sender == rewardsDistribution, "Caller is not RewardsDistribution contract"); _; } function setRewardsDistribution(address _rewardsDistribution) external onlyOwner { rewardsDistribution = _rewardsDistribution; } } // File: contracts/StakingRewards.sol pragma solidity 0.7.5; // Inheritance // based on synthetix contract StakingRewards is IStakingRewards, RewardsDistributionRecipient, ReentrancyGuard, Pausable { using SafeMath for uint256; using SafeERC20 for IERC20; // ========== STATE VARIABLES ========== // IERC20 public rewardsToken; IERC20 public stakingToken; uint256 public periodFinish = 0; uint256 public rewardRate = 0; uint256 public rewardsDuration = 365 days; uint256 public lastUpdateTime; uint256 public rewardPerTokenStored; mapping(address => uint256) public userRewardPerTokenPaid; mapping(address => uint256) public rewards; bool public stopped; uint256 private _totalSupply; mapping(address => uint256) private _balances; // ========== CONSTRUCTOR ========== // constructor( address _owner, address _rewardsDistribution, address _stakingToken, address _rewardsToken ) Owned(_owner) { stakingToken = IERC20(_stakingToken); rewardsToken = IERC20(_rewardsToken); rewardsDistribution = _rewardsDistribution; } // ========== VIEWS ========== // function totalSupply() override public view returns (uint256) { return _totalSupply; } function balanceOf(address account) override external view returns (uint256) { return _balances[account]; } function lastTimeRewardApplicable() override public view returns (uint256) { return Math.min(block.timestamp, periodFinish); } function rewardPerToken() override 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) override virtual public view returns (uint256) { return _balances[account] .mul(rewardPerToken().sub(userRewardPerTokenPaid[account])) .div(1e18) .add(rewards[account]); } function getRewardForDuration() override external view returns (uint256) { return rewardRate.mul(rewardsDuration); } // ========== MUTATIVE FUNCTIONS ========== // function stake(uint256 amount) override external nonReentrant notPaused updateReward(msg.sender) { require(periodFinish > 0, "Stake period not started yet"); require(amount > 0, "Cannot stake 0"); _totalSupply = _totalSupply.add(amount); _balances[msg.sender] = _balances[msg.sender].add(amount); stakingToken.safeTransferFrom(msg.sender, address(this), amount); emit Staked(msg.sender, amount); } function withdraw(uint256 amount) override 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() override 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() override external { withdraw(_balances[msg.sender]); getReward(); } // ========== RESTRICTED FUNCTIONS ========== // function notifyRewardAmount( uint256 _reward ) override virtual external whenActive onlyRewardsDistribution 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); } function setRewardsDuration(uint256 _rewardsDuration) virtual external whenActive onlyOwner { require(_rewardsDuration > 0, "empty _rewardsDuration"); require( block.timestamp > periodFinish, "Previous rewards period must be complete before changing the duration for the new period" ); rewardsDuration = _rewardsDuration; emit RewardsDurationUpdated(rewardsDuration); } // when farming was started with 1y and 12tokens // and we want to finish after 4 months, we need to end up with situation // like we were starting with 4mo and 4 tokens. function finishFarming() external whenActive onlyOwner { require(block.timestamp < periodFinish, "can't stop if not started or already finished"); stopped = true; uint256 tokensToBurn; if (_totalSupply == 0) { tokensToBurn = rewardsToken.balanceOf(address(this)); } else { uint256 remaining = periodFinish.sub(block.timestamp); tokensToBurn = rewardRate.mul(remaining); rewardsDuration = rewardsDuration - remaining; } periodFinish = block.timestamp; IBurnableToken(address(rewardsToken)).burn(tokensToBurn); emit FarmingFinished(tokensToBurn); } // ========== MODIFIERS ========== // modifier whenActive() { require(!stopped, "farming is stopped"); _; } modifier updateReward(address account) virtual { rewardPerTokenStored = rewardPerToken(); lastUpdateTime = lastTimeRewardApplicable(); if (account != address(0)) { rewards[account] = earned(account); userRewardPerTokenPaid[account] = rewardPerTokenStored; } _; } // ========== 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 FarmingFinished(uint256 burnedTokens); }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_rewardsDistribution","type":"address"},{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"address","name":"_rewardsToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"burnedTokens","type":"uint256"}],"name":"FarmingFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"isPaused","type":"bool"}],"name":"PauseChanged","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":[{"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":"finishFarming","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":"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":"_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":[],"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":"rewardsDistribution","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"bool","name":"_paused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_rewardsDistribution","type":"address"}],"name":"setRewardsDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardsDuration","type":"uint256"}],"name":"setRewardsDuration","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":"stopped","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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
6080604052600060055560006006556301e133806007553480156200002357600080fd5b506040516200321638038062003216833981810160405260808110156200004957600080fd5b81019080805190602001909291908051906020019092919080519060200190929190805190602001909291905050508360006200008b620002c360201b60201c565b9050806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3506200013a81620002cb60201b60201c565b506001600281905550600073ffffffffffffffffffffffffffffffffffffffff166200016b620004d060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161415620001f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f4f776e6572206d7573742062652073657400000000000000000000000000000081525060200191505060405180910390fd5b81600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600360016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505050620004f9565b600033905090565b620002db620002c360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000301620004d060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200038b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141562000413576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180620031f06026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b612ce780620005096000396000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c806372f702f311610104578063c8f33c91116100a2578063df136d6511610071578063df136d651461066a578063e9fad8ee14610688578063ebe2b12b14610692578063f2fde38b146106b0576101d9565b8063c8f33c91146105cc578063cc1a378f146105ea578063cd3daf9d14610618578063d1af0c7d14610636576101d9565b806380faa57d116100de57806380faa57d146104f45780638b876347146105125780638da5cb5b1461056a578063a694fc3a1461059e576101d9565b806372f702f31461048257806375f12b21146104b65780637b0a47ee146104d6576101d9565b80632e1a7d4d1161017c5780633fc6df6e1161014b5780633fc6df6e146103cc5780635c975abb1461040057806370a0823114610420578063715018a614610478576101d9565b80632e1a7d4d14610348578063386a9525146103765780633c6b16ab146103945780633d18b912146103c2576101d9565b806318160ddd116101b857806318160ddd146102be57806319762143146102dc5780631c1f78eb14610320578063207e11aa1461033e576101d9565b80628cc262146101de5780630700037d1461023657806316c38b3c1461028e575b600080fd5b610220600480360360208110156101f457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106f4565b6040518082815260200191505060405180910390f35b6102786004803603602081101561024c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610812565b6040518082815260200191505060405180910390f35b6102bc600480360360208110156102a457600080fd5b8101908080351515906020019092919050505061082a565b005b6102c661095f565b6040518082815260200191505060405180910390f35b61031e600480360360208110156102f257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610969565b005b610328610a5c565b6040518082815260200191505060405180910390f35b610346610a7a565b005b6103746004803603602081101561035e57600080fd5b8101908080359060200190929190505050610e03565b005b61037e611133565b6040518082815260200191505060405180910390f35b6103c0600480360360208110156103aa57600080fd5b8101908080359060200190929190505050611139565b005b6103ca611584565b005b6103d4611821565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610408611847565b60405180821515815260200191505060405180910390f35b6104626004803603602081101561043657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061185a565b6040518082815260200191505060405180910390f35b6104806118a3565b005b61048a611a10565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104be611a36565b60405180821515815260200191505060405180910390f35b6104de611a49565b6040518082815260200191505060405180910390f35b6104fc611a4f565b6040518082815260200191505060405180910390f35b6105546004803603602081101561052857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a62565b6040518082815260200191505060405180910390f35b610572611a7a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105ca600480360360208110156105b457600080fd5b8101908080359060200190929190505050611aa3565b005b6105d4611eb3565b6040518082815260200191505060405180910390f35b6106166004803603602081101561060057600080fd5b8101908080359060200190929190505050611eb9565b005b6106206120fe565b6040518082815260200191505060405180910390f35b61063e61218c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106726121b2565b6040518082815260200191505060405180910390f35b6106906121b8565b005b61069a61220a565b6040518082815260200191505060405180910390f35b6106f2600480360360208110156106c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612210565b005b600061080b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107fd670de0b6b3a76400006107ef6107a1600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107936120fe565b61240290919063ffffffff16565b600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461248590919063ffffffff16565b61250b90919063ffffffff16565b61259490919063ffffffff16565b9050919050565b600b6020528060005260406000206000915090505481565b61083261261c565b73ffffffffffffffffffffffffffffffffffffffff16610850611a7a565b73ffffffffffffffffffffffffffffffffffffffff16146108d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600360009054906101000a900460ff16151581151514156108f95761095c565b80600360006101000a81548160ff0219169083151502179055507f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5600360009054906101000a900460ff1660405180821515815260200191505060405180910390a15b50565b6000600d54905090565b61097161261c565b73ffffffffffffffffffffffffffffffffffffffff1661098f611a7a565b73ffffffffffffffffffffffffffffffffffffffff1614610a18576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610a7560075460065461248590919063ffffffff16565b905090565b600c60009054906101000a900460ff1615610afd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f6661726d696e672069732073746f70706564000000000000000000000000000081525060200191505060405180910390fd5b610b0561261c565b73ffffffffffffffffffffffffffffffffffffffff16610b23611a7a565b73ffffffffffffffffffffffffffffffffffffffff1614610bac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6005544210610c06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180612c31602d913960400191505060405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550600080600d541415610cf857600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610cb657600080fd5b505afa158015610cca573d6000803e3d6000fd5b505050506040513d6020811015610ce057600080fd5b81019080805190602001909291905050509050610d35565b6000610d0f4260055461240290919063ffffffff16565b9050610d268160065461248590919063ffffffff16565b91508060075403600781905550505b42600581905550600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610db157600080fd5b505af1158015610dc5573d6000803e3d6000fd5b505050507f25855e069bda50ae3b153c3c24046d2bb7fb02b2be4a54f2a598c8b219b90133816040518082815260200191505060405180910390a150565b600280541415610e7b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002808190555033610e8b6120fe565b600981905550610e99611a4f565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f6657610edc816106f4565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610fdc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610ff182600d5461240290919063ffffffff16565b600d8190555061104982600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461240290919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506110d93383600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166126249092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a250600160028190555050565b60075481565b600c60009054906101000a900460ff16156111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f6661726d696e672069732073746f70706564000000000000000000000000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612c5e602a913960400191505060405180910390fd5b600061126c6120fe565b60098190555061127a611a4f565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611347576112bd816106f4565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6005544210611370576113656007548361250b90919063ffffffff16565b6006819055506113d2565b60006113874260055461240290919063ffffffff16565b905060006113a06006548361248590919063ffffffff16565b90506113c96007546113bb838761259490919063ffffffff16565b61250b90919063ffffffff16565b60068190555050505b6000600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561145d57600080fd5b505afa158015611471573d6000803e3d6000fd5b505050506040513d602081101561148757600080fd5b810190808051906020019092919050505090506114af6007548261250b90919063ffffffff16565b6006541115611526576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b426008819055506115426007544261259490919063ffffffff16565b6005819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a1505050565b6002805414156115fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600280819055503361160c6120fe565b60098190555061161a611a4f565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116e75761165d816106f4565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611815576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506117c63382600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166126249092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50506001600281905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900460ff1681565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118ab61261c565b73ffffffffffffffffffffffffffffffffffffffff166118c9611a7a565b73ffffffffffffffffffffffffffffffffffffffff1614611952576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60009054906101000a900460ff1681565b60065481565b6000611a5d426005546126c6565b905090565b600a6020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600280541415611b1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60028081905550600360009054906101000a900460ff1615611b88576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180612bf5603c913960400191505060405180910390fd5b33611b916120fe565b600981905550611b9f611a4f565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c6c57611be2816106f4565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600060055411611ce4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f5374616b6520706572696f64206e6f742073746172746564207965740000000081525060200191505060405180910390fd5b60008211611d5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b611d6f82600d5461259490919063ffffffff16565b600d81905550611dc782600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259490919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e59333084600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166126df909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a250600160028190555050565b60085481565b600c60009054906101000a900460ff1615611f3c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f6661726d696e672069732073746f70706564000000000000000000000000000081525060200191505060405180910390fd5b611f4461261c565b73ffffffffffffffffffffffffffffffffffffffff16611f62611a7a565b73ffffffffffffffffffffffffffffffffffffffff1614611feb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111612061576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f656d707479205f726577617264734475726174696f6e0000000000000000000081525060200191505060405180910390fd5b60055442116120bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526058815260200180612b306058913960600191505060405180910390fd5b806007819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d36007546040518082815260200191505060405180910390a150565b600080600d541415612114576009549050612189565b612186612175600d54612167670de0b6b3a764000061215960065461214b60085461213d611a4f565b61240290919063ffffffff16565b61248590919063ffffffff16565b61248590919063ffffffff16565b61250b90919063ffffffff16565b60095461259490919063ffffffff16565b90505b90565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b612200600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e03565b612208611584565b565b60055481565b61221861261c565b73ffffffffffffffffffffffffffffffffffffffff16612236611a7a565b73ffffffffffffffffffffffffffffffffffffffff16146122bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612345576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612b886026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008282111561247a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000808314156124985760009050612505565b60008284029050828482816124a957fe5b0414612500576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612bd46021913960400191505060405180910390fd5b809150505b92915050565b6000808211612582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161258b57fe5b04905092915050565b600080828401905083811015612612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b6126c18363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506127a0565b505050565b60008183106126d557816126d7565b825b905092915050565b61279a846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506127a0565b50505050565b6060612802826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661288f9092919063ffffffff16565b905060008151111561288a5780806020019051602081101561282357600080fd5b8101908080519060200190929190505050612889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612c88602a913960400191505060405180910390fd5b5b505050565b606061289e84846000856128a7565b90509392505050565b606082471015612902576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612bae6026913960400191505060405180910390fd5b61290b85612a50565b61297d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106129cd57805182526020820191506020810190506020830392506129aa565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612a2f576040519150601f19603f3d011682016040523d82523d6000602084013e612a34565b606091505b5091509150612a44828286612a63565b92505050949350505050565b600080823b905060008111915050919050565b60608315612a7357829050612b28565b600083511115612a865782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612aed578082015181840152602081019050612ad2565b50505050905090810190601f168015612b1a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656463616e27742073746f70206966206e6f742073746172746564206f7220616c72656164792066696e697368656443616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212208e19d9022fd5aa9c67d7090c8da44c455fff4ba98063c2a977d62794086c4f6764736f6c634300070500334f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373000000000000000000000000a6e4ffa19b213abea258ae72e8e1a209b9e543e7000000000000000000000000a6e4ffa19b213abea258ae72e8e1a209b9e543e70000000000000000000000006fc13eace26590b80cccab1ba5d51890577d83b20000000000000000000000001b17dbb40fbed8735e7fe8c9eb02c20984fadfd6
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101d95760003560e01c806372f702f311610104578063c8f33c91116100a2578063df136d6511610071578063df136d651461066a578063e9fad8ee14610688578063ebe2b12b14610692578063f2fde38b146106b0576101d9565b8063c8f33c91146105cc578063cc1a378f146105ea578063cd3daf9d14610618578063d1af0c7d14610636576101d9565b806380faa57d116100de57806380faa57d146104f45780638b876347146105125780638da5cb5b1461056a578063a694fc3a1461059e576101d9565b806372f702f31461048257806375f12b21146104b65780637b0a47ee146104d6576101d9565b80632e1a7d4d1161017c5780633fc6df6e1161014b5780633fc6df6e146103cc5780635c975abb1461040057806370a0823114610420578063715018a614610478576101d9565b80632e1a7d4d14610348578063386a9525146103765780633c6b16ab146103945780633d18b912146103c2576101d9565b806318160ddd116101b857806318160ddd146102be57806319762143146102dc5780631c1f78eb14610320578063207e11aa1461033e576101d9565b80628cc262146101de5780630700037d1461023657806316c38b3c1461028e575b600080fd5b610220600480360360208110156101f457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506106f4565b6040518082815260200191505060405180910390f35b6102786004803603602081101561024c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610812565b6040518082815260200191505060405180910390f35b6102bc600480360360208110156102a457600080fd5b8101908080351515906020019092919050505061082a565b005b6102c661095f565b6040518082815260200191505060405180910390f35b61031e600480360360208110156102f257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610969565b005b610328610a5c565b6040518082815260200191505060405180910390f35b610346610a7a565b005b6103746004803603602081101561035e57600080fd5b8101908080359060200190929190505050610e03565b005b61037e611133565b6040518082815260200191505060405180910390f35b6103c0600480360360208110156103aa57600080fd5b8101908080359060200190929190505050611139565b005b6103ca611584565b005b6103d4611821565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610408611847565b60405180821515815260200191505060405180910390f35b6104626004803603602081101561043657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061185a565b6040518082815260200191505060405180910390f35b6104806118a3565b005b61048a611a10565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6104be611a36565b60405180821515815260200191505060405180910390f35b6104de611a49565b6040518082815260200191505060405180910390f35b6104fc611a4f565b6040518082815260200191505060405180910390f35b6105546004803603602081101561052857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611a62565b6040518082815260200191505060405180910390f35b610572611a7a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6105ca600480360360208110156105b457600080fd5b8101908080359060200190929190505050611aa3565b005b6105d4611eb3565b6040518082815260200191505060405180910390f35b6106166004803603602081101561060057600080fd5b8101908080359060200190929190505050611eb9565b005b6106206120fe565b6040518082815260200191505060405180910390f35b61063e61218c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106726121b2565b6040518082815260200191505060405180910390f35b6106906121b8565b005b61069a61220a565b6040518082815260200191505060405180910390f35b6106f2600480360360208110156106c657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612210565b005b600061080b600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107fd670de0b6b3a76400006107ef6107a1600a60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546107936120fe565b61240290919063ffffffff16565b600e60008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461248590919063ffffffff16565b61250b90919063ffffffff16565b61259490919063ffffffff16565b9050919050565b600b6020528060005260406000206000915090505481565b61083261261c565b73ffffffffffffffffffffffffffffffffffffffff16610850611a7a565b73ffffffffffffffffffffffffffffffffffffffff16146108d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600360009054906101000a900460ff16151581151514156108f95761095c565b80600360006101000a81548160ff0219169083151502179055507f8fb6c181ee25a520cf3dd6565006ef91229fcfe5a989566c2a3b8c115570cec5600360009054906101000a900460ff1660405180821515815260200191505060405180910390a15b50565b6000600d54905090565b61097161261c565b73ffffffffffffffffffffffffffffffffffffffff1661098f611a7a565b73ffffffffffffffffffffffffffffffffffffffff1614610a18576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000610a7560075460065461248590919063ffffffff16565b905090565b600c60009054906101000a900460ff1615610afd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f6661726d696e672069732073746f70706564000000000000000000000000000081525060200191505060405180910390fd5b610b0561261c565b73ffffffffffffffffffffffffffffffffffffffff16610b23611a7a565b73ffffffffffffffffffffffffffffffffffffffff1614610bac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b6005544210610c06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d815260200180612c31602d913960400191505060405180910390fd5b6001600c60006101000a81548160ff021916908315150217905550600080600d541415610cf857600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610cb657600080fd5b505afa158015610cca573d6000803e3d6000fd5b505050506040513d6020811015610ce057600080fd5b81019080805190602001909291905050509050610d35565b6000610d0f4260055461240290919063ffffffff16565b9050610d268160065461248590919063ffffffff16565b91508060075403600781905550505b42600581905550600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342966c68826040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b158015610db157600080fd5b505af1158015610dc5573d6000803e3d6000fd5b505050507f25855e069bda50ae3b153c3c24046d2bb7fb02b2be4a54f2a598c8b219b90133816040518082815260200191505060405180910390a150565b600280541415610e7b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b6002808190555033610e8b6120fe565b600981905550610e99611a4f565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610f6657610edc816106f4565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211610fdc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f43616e6e6f74207769746864726177203000000000000000000000000000000081525060200191505060405180910390fd5b610ff182600d5461240290919063ffffffff16565b600d8190555061104982600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461240290919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506110d93383600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166126249092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5836040518082815260200191505060405180910390a250600160028190555050565b60075481565b600c60009054906101000a900460ff16156111bc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f6661726d696e672069732073746f70706564000000000000000000000000000081525060200191505060405180910390fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611262576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612c5e602a913960400191505060405180910390fd5b600061126c6120fe565b60098190555061127a611a4f565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611347576112bd816106f4565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6005544210611370576113656007548361250b90919063ffffffff16565b6006819055506113d2565b60006113874260055461240290919063ffffffff16565b905060006113a06006548361248590919063ffffffff16565b90506113c96007546113bb838761259490919063ffffffff16565b61250b90919063ffffffff16565b60068190555050505b6000600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561145d57600080fd5b505afa158015611471573d6000803e3d6000fd5b505050506040513d602081101561148757600080fd5b810190808051906020019092919050505090506114af6007548261250b90919063ffffffff16565b6006541115611526576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260188152602001807f50726f76696465642072657761726420746f6f2068696768000000000000000081525060200191505060405180910390fd5b426008819055506115426007544261259490919063ffffffff16565b6005819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d836040518082815260200191505060405180910390a1505050565b6002805414156115fc576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b600280819055503361160c6120fe565b60098190555061161a611a4f565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146116e75761165d816106f4565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115611815576000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506117c63382600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166126249092919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e0486826040518082815260200191505060405180910390a25b50506001600281905550565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900460ff1681565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6118ab61261c565b73ffffffffffffffffffffffffffffffffffffffff166118c9611a7a565b73ffffffffffffffffffffffffffffffffffffffff1614611952576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a360008060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600c60009054906101000a900460ff1681565b60065481565b6000611a5d426005546126c6565b905090565b600a6020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600280541415611b1b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601f8152602001807f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0081525060200191505060405180910390fd5b60028081905550600360009054906101000a900460ff1615611b88576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603c815260200180612bf5603c913960400191505060405180910390fd5b33611b916120fe565b600981905550611b9f611a4f565b600881905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611c6c57611be2816106f4565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600954600a60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600060055411611ce4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f5374616b6520706572696f64206e6f742073746172746564207965740000000081525060200191505060405180910390fd5b60008211611d5a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600e8152602001807f43616e6e6f74207374616b65203000000000000000000000000000000000000081525060200191505060405180910390fd5b611d6f82600d5461259490919063ffffffff16565b600d81905550611dc782600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461259490919063ffffffff16565b600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611e59333084600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166126df909392919063ffffffff16565b3373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d836040518082815260200191505060405180910390a250600160028190555050565b60085481565b600c60009054906101000a900460ff1615611f3c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260128152602001807f6661726d696e672069732073746f70706564000000000000000000000000000081525060200191505060405180910390fd5b611f4461261c565b73ffffffffffffffffffffffffffffffffffffffff16611f62611a7a565b73ffffffffffffffffffffffffffffffffffffffff1614611feb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b60008111612061576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f656d707479205f726577617264734475726174696f6e0000000000000000000081525060200191505060405180910390fd5b60055442116120bb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526058815260200180612b306058913960600191505060405180910390fd5b806007819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d36007546040518082815260200191505060405180910390a150565b600080600d541415612114576009549050612189565b612186612175600d54612167670de0b6b3a764000061215960065461214b60085461213d611a4f565b61240290919063ffffffff16565b61248590919063ffffffff16565b61248590919063ffffffff16565b61250b90919063ffffffff16565b60095461259490919063ffffffff16565b90505b90565b600360019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60095481565b612200600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610e03565b612208611584565b565b60055481565b61221861261c565b73ffffffffffffffffffffffffffffffffffffffff16612236611a7a565b73ffffffffffffffffffffffffffffffffffffffff16146122bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612345576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612b886026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1660008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a3806000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60008282111561247a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601e8152602001807f536166654d6174683a207375627472616374696f6e206f766572666c6f77000081525060200191505060405180910390fd5b818303905092915050565b6000808314156124985760009050612505565b60008284029050828482816124a957fe5b0414612500576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180612bd46021913960400191505060405180910390fd5b809150505b92915050565b6000808211612582576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601a8152602001807f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525060200191505060405180910390fd5b81838161258b57fe5b04905092915050565b600080828401905083811015612612576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b600033905090565b6126c18363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506127a0565b505050565b60008183106126d557816126d7565b825b905092915050565b61279a846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506127a0565b50505050565b6060612802826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff1661288f9092919063ffffffff16565b905060008151111561288a5780806020019051602081101561282357600080fd5b8101908080519060200190929190505050612889576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180612c88602a913960400191505060405180910390fd5b5b505050565b606061289e84846000856128a7565b90509392505050565b606082471015612902576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526026815260200180612bae6026913960400191505060405180910390fd5b61290b85612a50565b61297d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b602083106129cd57805182526020820191506020810190506020830392506129aa565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114612a2f576040519150601f19603f3d011682016040523d82523d6000602084013e612a34565b606091505b5091509150612a44828286612a63565b92505050949350505050565b600080823b905060008111915050919050565b60608315612a7357829050612b28565b600083511115612a865782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612aed578082015181840152602081019050612ad2565b50505050905090810190601f168015612b1a5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b939250505056fe50726576696f7573207265776172647320706572696f64206d75737420626520636f6d706c657465206265666f7265206368616e67696e6720746865206475726174696f6e20666f7220746865206e657720706572696f644f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775468697320616374696f6e2063616e6e6f7420626520706572666f726d6564207768696c652074686520636f6e74726163742069732070617573656463616e27742073746f70206966206e6f742073746172746564206f7220616c72656164792066696e697368656443616c6c6572206973206e6f742052657761726473446973747269627574696f6e20636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212208e19d9022fd5aa9c67d7090c8da44c455fff4ba98063c2a977d62794086c4f6764736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000a6e4ffa19b213abea258ae72e8e1a209b9e543e7000000000000000000000000a6e4ffa19b213abea258ae72e8e1a209b9e543e70000000000000000000000006fc13eace26590b80cccab1ba5d51890577d83b20000000000000000000000001b17dbb40fbed8735e7fe8c9eb02c20984fadfd6
-----Decoded View---------------
Arg [0] : _owner (address): 0xA6e4fFa19B213AbeA258ae72e8e1a209B9E543e7
Arg [1] : _rewardsDistribution (address): 0xA6e4fFa19B213AbeA258ae72e8e1a209B9E543e7
Arg [2] : _stakingToken (address): 0x6fC13EACE26590B80cCCAB1ba5d51890577D83B2
Arg [3] : _rewardsToken (address): 0x1B17DBB40fbED8735E7fE8C9eB02C20984fAdfD6
-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000a6e4ffa19b213abea258ae72e8e1a209b9e543e7
Arg [1] : 000000000000000000000000a6e4ffa19b213abea258ae72e8e1a209b9e543e7
Arg [2] : 0000000000000000000000006fc13eace26590b80cccab1ba5d51890577d83b2
Arg [3] : 0000000000000000000000001b17dbb40fbed8735e7fe8c9eb02c20984fadfd6
Deployed Bytecode Sourcemap
31868:6979:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33719:245;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32426:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;30365:366;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33006:100;;;:::i;:::-;;;;;;;;;;;;;;;;;;;31595:142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33972:130;;;:::i;:::-;;;;;;;;;;;;;;;;;;;37293:692;;;:::i;:::-;;34634:368;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32234:41;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35506:1136;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;35010:318;;;:::i;:::-;;31321:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;30007:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;33114:121;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29124:148;;;:::i;:::-;;32127:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32477:19;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32198:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;33243:140;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32362:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;28473:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;34164:462;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;32282:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;36650:449;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33391:320;;;:::i;:::-;;;;;;;;;;;;;;;;;;;32094:26;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;32318:35;;;:::i;:::-;;;;;;;;;;;;;;;;;;;35336:106;;;:::i;:::-;;32160:31;;;:::i;:::-;;;;;;;;;;;;;;;;;;;29427:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33719:245;33790:7;33817:139;33939:7;:16;33947:7;33939:16;;;;;;;;;;;;;;;;33817:107;33919:4;33817:87;33850:53;33871:22;:31;33894:7;33871:31;;;;;;;;;;;;;;;;33850:16;:14;:16::i;:::-;:20;;:53;;;;:::i;:::-;33817:9;:18;33827:7;33817:18;;;;;;;;;;;;;;;;:32;;:87;;;;:::i;:::-;:101;;:107;;;;:::i;:::-;:121;;:139;;;;:::i;:::-;33810:146;;33719:245;;;:::o;32426:42::-;;;;;;;;;;;;;;;;;:::o;30365:366::-;28704:12;:10;:12::i;:::-;28693:23;;:7;:5;:7::i;:::-;:23;;;28685:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30518:6:::1;;;;;;;;;;;30507:17;;:7;:17;;;30503:56;;;30541:7;;30503:56;30614:7;30605:6;;:16;;;;;;;;;;;;;;;;;;30703:20;30716:6;;;;;;;;;;;30703:20;;;;;;;;;;;;;;;;;;;;28764:1;30365:366:::0;:::o;33006:100::-;33059:7;33086:12;;33079:19;;33006:100;:::o;31595:142::-;28704:12;:10;:12::i;:::-;28693:23;;:7;:5;:7::i;:::-;:23;;;28685:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31709:20:::1;31687:19;;:42;;;;;;;;;;;;;;;;;;31595:142:::0;:::o;33972:130::-;34036:7;34063:31;34078:15;;34063:10;;:14;;:31;;;;:::i;:::-;34056:38;;33972:130;:::o;37293:692::-;38080:7;;;;;;;;;;;38079:8;38071:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28704:12:::1;:10;:12::i;:::-;28693:23;;:7;:5;:7::i;:::-;:23;;;28685:68;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;37385:12:::2;;37367:15;:30;37359:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37470:4;37460:7;;:14;;;;;;;;;;;;;;;;;;37485:20;37538:1:::0;37522:12:::2;;:17;37518:303;;;37571:12;;;;;;;;;;;:22;;;37602:4;37571:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;;;;;;37556:52;;37518:303;;;37641:17;37661:33;37678:15;37661:12;;:16;;:33;;;;:::i;:::-;37641:53;;37724:25;37739:9;37724:10;;:14;;:25;;;;:::i;:::-;37709:40;;37800:9;37782:15;;:27;37764:15;:45;;;;37518:303;;37848:15;37833:12;:30;;;;37897:12;;;;;;;;;;;37874:42;;;37917:12;37874:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;::::0;::::2;;;;;;;;;37948:29;37964:12;37948:29;;;;;;;;;;;;;;;;;;28764:1;37293:692::o:0;34634:368::-;24681:1;25287:7;;:19;;25279:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24681:1;25420:7;:18;;;;34710:10:::1;38219:16;:14;:16::i;:::-;38196:20;:39;;;;38263:26;:24;:26::i;:::-;38246:14;:43;;;;38323:1;38304:21;;:7;:21;;;38300:157;;38361:15;38368:7;38361:6;:15::i;:::-;38342:7;:16;38350:7;38342:16;;;;;;;;;;;;;;;:34;;;;38425:20;;38391:22;:31;38414:7;38391:31;;;;;;;;;;;;;;;:54;;;;38300:157;34750:1:::2;34741:6;:10;34733:40;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;34799:24;34816:6;34799:12;;:16;;:24;;;;:::i;:::-;34784:12;:39;;;;34858:33;34884:6;34858:9;:21;34868:10;34858:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;34834:9;:21;34844:10;34834:21;;;;;;;;;;;;;;;:57;;;;34902:45;34928:10;34940:6;34902:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;34975:10;34965:29;;;34987:6;34965:29;;;;;;;;;;;;;;;;;;25451:1:::1;24637::::0;25599:7;:22;;;;34634:368;:::o;32234:41::-;;;;:::o;35506:1136::-;38080:7;;;;;;;;;;;38079:8;38071:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31501:19:::1;;;;;;;;;;;31487:33;;:10;:33;;;31479:88;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35649:1:::2;38219:16;:14;:16::i;:::-;38196:20;:39;;;;38263:26;:24;:26::i;:::-;38246:14;:43;;;;38323:1;38304:21;;:7;:21;;;38300:157;;38361:15;38368:7;38361:6;:15::i;:::-;38342:7;:16;38350:7;38342:16;;;;;;;;;;;;;;;:34;;;;38425:20;;38391:22;:31;38414:7;38391:31;;;;;;;;;;;;;;;:54;;;;38300:157;35687:12:::3;;35668:15;:31;35664:320;;35729:28;35741:15;;35729:7;:11;;:28;;;;:::i;:::-;35716:10;:41;;;;35664:320;;;35790:17;35810:33;35827:15;35810:12;;:16;;:33;;;;:::i;:::-;35790:53;;35858:16;35877:25;35891:10;;35877:9;:13;;:25;;;;:::i;:::-;35858:44;;35930:42;35956:15;;35930:21;35942:8;35930:7;:11;;:21;;;;:::i;:::-;:25;;:42;;;;:::i;:::-;35917:10;:55;;;;35664:320;;;36344:15;36362:12;;;;;;;;;;;:22;;;36393:4;36362:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;;;;;;36344:55;;36434:28;36446:15;;36434:7;:11;;:28;;;;:::i;:::-;36420:10;;:42;;36412:79;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;36521:15;36504:14;:32;;;;36562:36;36582:15;;36562;:19;;:36;;;;:::i;:::-;36547:12;:51;;;;36614:20;36626:7;36614:20;;;;;;;;;;;;;;;;;;38467:1;31578::::2;35506:1136:::0;:::o;35010:318::-;24681:1;25287:7;;:19;;25279:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24681:1;25420:7;:18;;;;35073:10:::1;38219:16;:14;:16::i;:::-;38196:20;:39;;;;38263:26;:24;:26::i;:::-;38246:14;:43;;;;38323:1;38304:21;;:7;:21;;;38300:157;;38361:15;38368:7;38361:6;:15::i;:::-;38342:7;:16;38350:7;38342:16;;;;;;;;;;;;;;;:34;;;;38425:20;;38391:22;:31;38414:7;38391:31;;;;;;;;;;;;;;;:54;;;;38300:157;35096:14:::2;35113:7;:19;35121:10;35113:19;;;;;;;;;;;;;;;;35096:36;;35158:1;35149:6;:10;35145:176;;;35198:1;35176:7;:19;35184:10;35176:19;;;;;;;;;;;;;;;:23;;;;35214:45;35240:10;35252:6;35214:12;;;;;;;;;;;:25;;;;:45;;;;;:::i;:::-;35290:10;35279:30;;;35302:6;35279:30;;;;;;;;;;;;;;;;;;35145:176;38467:1;25451::::1;24637::::0;25599:7;:22;;;;35010:318::o;31321:34::-;;;;;;;;;;;;;:::o;30007:18::-;;;;;;;;;;;;;:::o;33114:121::-;33182:7;33209:9;:18;33219:7;33209:18;;;;;;;;;;;;;;;;33202:25;;33114:121;;;:::o;29124:148::-;28704:12;:10;:12::i;:::-;28693:23;;:7;:5;:7::i;:::-;:23;;;28685:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29231:1:::1;29194:40;;29215:6;::::0;::::1;;;;;;;;29194:40;;;;;;;;;;;;29262:1;29245:6:::0;::::1;:19;;;;;;;;;;;;;;;;;;29124:148::o:0;32127:26::-;;;;;;;;;;;;;:::o;32477:19::-;;;;;;;;;;;;;:::o;32198:29::-;;;;:::o;33243:140::-;33309:7;33336:39;33345:15;33362:12;;33336:8;:39::i;:::-;33329:46;;33243:140;:::o;32362:57::-;;;;;;;;;;;;;;;;;:::o;28473:87::-;28519:7;28546:6;;;;;;;;;;;28539:13;;28473:87;:::o;34164:462::-;24681:1;25287:7;;:19;;25279:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24681:1;25420:7;:18;;;;30820:6:::1;;;;;;;;;;;30819:7;30811:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34249:10:::2;38219:16;:14;:16::i;:::-;38196:20;:39;;;;38263:26;:24;:26::i;:::-;38246:14;:43;;;;38323:1;38304:21;;:7;:21;;;38300:157;;38361:15;38368:7;38361:6;:15::i;:::-;38342:7;:16;38350:7;38342:16;;;;;;;;;;;;;;;:34;;;;38425:20;;38391:22;:31;38414:7;38391:31;;;;;;;;;;;;;;;:54;;;;38300:157;34295:1:::3;34280:12;;:16;34272:57;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;34357:1;34348:6;:10;34340:37;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::3;;;;;;;;;;;;;34405:24;34422:6;34405:12;;:16;;:24;;;;:::i;:::-;34390:12;:39;;;;34464:33;34490:6;34464:9;:21;34474:10;34464:21;;;;;;;;;;;;;;;;:25;;:33;;;;:::i;:::-;34440:9;:21;34450:10;34440:21;;;;;;;;;;;;;;;:57;;;;34510:64;34540:10;34560:4;34567:6;34510:12;;;;;;;;;;;:29;;;;:64;;;;;;:::i;:::-;34599:10;34592:26;;;34611:6;34592:26;;;;;;;;;;;;;;;;;;30902:1:::2;24637::::0;25599:7;:22;;;;34164:462;:::o;32282:29::-;;;;:::o;36650:449::-;38080:7;;;;;;;;;;;38079:8;38071:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28704:12:::1;:10;:12::i;:::-;28693:23;;:7;:5;:7::i;:::-;:23;;;28685:68;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;36780:1:::2;36761:16;:20;36753:55;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::2;;;;;;;;;;;;;36861:12;;36843:15;:30;36821:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37020:16;37002:15;:34;;;;37052:39;37075:15;;37052:39;;;;;;;;;;;;;;;;;;36650:449:::0;:::o;33391:320::-;33447:7;33487:1;33471:12;;:17;33467:77;;;33512:20;;33505:27;;;;33467:77;33563:140;33602:90;33679:12;;33602:72;33669:4;33602:62;33653:10;;33602:46;33633:14;;33602:26;:24;:26::i;:::-;:30;;:46;;;;:::i;:::-;:50;;:62;;;;:::i;:::-;:66;;:72;;;;:::i;:::-;:76;;:90;;;;:::i;:::-;33563:20;;:24;;:140;;;;:::i;:::-;33556:147;;33391:320;;:::o;32094:26::-;;;;;;;;;;;;;:::o;32318:35::-;;;;:::o;35336:106::-;35381:31;35390:9;:21;35400:10;35390:21;;;;;;;;;;;;;;;;35381:8;:31::i;:::-;35423:11;:9;:11::i;:::-;35336:106::o;32160:31::-;;;;:::o;29427:244::-;28704:12;:10;:12::i;:::-;28693:23;;:7;:5;:7::i;:::-;:23;;;28685:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29536:1:::1;29516:22;;:8;:22;;;;29508:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29626:8;29597:38;;29618:6;::::0;::::1;;;;;;;;29597:38;;;;;;;;;;;;29655:8;29646:6;::::0;:17:::1;;;;;;;;;;;;;;;;;;29427:244:::0;:::o;4149:158::-;4207:7;4240:1;4235;:6;;4227:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4298:1;4294;:5;4287:12;;4149:158;;;;:::o;4566:220::-;4624:7;4653:1;4648;:6;4644:20;;;4663:1;4656:8;;;;4644:20;4675:9;4691:1;4687;:5;4675:17;;4720:1;4715;4711;:5;;;;;;:10;4703:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4777:1;4770:8;;;4566:220;;;;;:::o;5264:153::-;5322:7;5354:1;5350;:5;5342:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5408:1;5404;:5;;;;;;5397:12;;5264:153;;;;:::o;3687:179::-;3745:7;3765:9;3781:1;3777;:5;3765:17;;3806:1;3801;:6;;3793:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3857:1;3850:8;;;3687:179;;;;:::o;27010:106::-;27063:15;27098:10;27091:17;;27010:106;:::o;19858:177::-;19941:86;19961:5;19991:23;;;20016:2;20020:5;19968:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19941:19;:86::i;:::-;19858:177;;;:::o;467:106::-;525:7;556:1;552;:5;:13;;564:1;552:13;;;560:1;552:13;545:20;;467:106;;;;:::o;20043:205::-;20144:96;20164:5;20194:27;;;20223:4;20229:2;20233:5;20171:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20144:19;:96::i;:::-;20043:205;;;;:::o;22163:761::-;22587:23;22613:69;22641:4;22613:69;;;;;;;;;;;;;;;;;22621:5;22613:27;;;;:69;;;;;:::i;:::-;22587:95;;22717:1;22697:10;:17;:21;22693:224;;;22839:10;22828:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22820:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22693:224;22163:761;;;:::o;14853:195::-;14956:12;14988:52;15010:6;15018:4;15024:1;15027:12;14988:21;:52::i;:::-;14981:59;;14853:195;;;;;:::o;15905:530::-;16032:12;16090:5;16065:21;:30;;16057:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16157:18;16168:6;16157:10;:18::i;:::-;16149:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16283:12;16297:23;16324:6;:11;;16344:5;16352:4;16324:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16282:75;;;;16375:52;16393:7;16402:10;16414:12;16375:17;:52::i;:::-;16368:59;;;;15905:530;;;;;;:::o;11935:422::-;11995:4;12203:12;12314:7;12302:20;12294:28;;12348:1;12341:4;:8;12334:15;;;11935:422;;;:::o;18445:742::-;18560:12;18589:7;18585:595;;;18620:10;18613:17;;;;18585:595;18754:1;18734:10;:17;:21;18730:439;;;18997:10;18991:17;19058:15;19045:10;19041:2;19037:19;19030:44;18945:148;19140:12;19133:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18445:742;;;;;;:::o
Swarm Source
ipfs://8e19d9022fd5aa9c67d7090c8da44c455fff4ba98063c2a977d62794086c4f67
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.011652 | 3,322,596.0524 | $38,714.46 |
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.