Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 71 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw Pinalty | 19618874 | 106 days ago | IN | 0 ETH | 0.00221688 | ||||
Set Pinalty | 19618871 | 106 days ago | IN | 0 ETH | 0.0014114 | ||||
Stake | 19618735 | 106 days ago | IN | 0 ETH | 0.00797518 | ||||
Withdraw Pinalty | 19618298 | 107 days ago | IN | 0 ETH | 0.00270812 | ||||
Set Pinalty | 19618296 | 107 days ago | IN | 0 ETH | 0.00186847 | ||||
Harvest | 19618284 | 107 days ago | IN | 0 ETH | 0.00194535 | ||||
Update Reward Va... | 19617828 | 107 days ago | IN | 0 ETH | 0.00079481 | ||||
Update Reward Pe... | 19617382 | 107 days ago | IN | 0 ETH | 0.00108601 | ||||
Stake | 19617350 | 107 days ago | IN | 0 ETH | 0.0024616 | ||||
Update Reward Pe... | 19617342 | 107 days ago | IN | 0 ETH | 0.00111643 | ||||
Stake | 19616057 | 107 days ago | IN | 0 ETH | 0.00243702 | ||||
Stake | 19613431 | 107 days ago | IN | 0 ETH | 0.00338621 | ||||
Unstake | 19611188 | 108 days ago | IN | 0 ETH | 0.00380524 | ||||
Stake | 19610653 | 108 days ago | IN | 0 ETH | 0.00155313 | ||||
Stake | 19610621 | 108 days ago | IN | 0 ETH | 0.00247745 | ||||
Unstake | 19610517 | 108 days ago | IN | 0 ETH | 0.0019578 | ||||
Unstake | 19609882 | 108 days ago | IN | 0 ETH | 0.00227738 | ||||
Stake | 19609685 | 108 days ago | IN | 0 ETH | 0.00184023 | ||||
Unstake | 19609221 | 108 days ago | IN | 0 ETH | 0.00102194 | ||||
Unstake | 19609144 | 108 days ago | IN | 0 ETH | 0.00144347 | ||||
Unstake | 19608123 | 108 days ago | IN | 0 ETH | 0.00120427 | ||||
Unstake | 19608006 | 108 days ago | IN | 0 ETH | 0.00116511 | ||||
Stake | 19607825 | 108 days ago | IN | 0 ETH | 0.00146514 | ||||
Harvest | 19607681 | 108 days ago | IN | 0 ETH | 0.00063591 | ||||
Harvest | 19606114 | 108 days ago | IN | 0 ETH | 0.00068812 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
StakePVGO
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-04-06 */ //SPDX-License-Identifier: NO LICENSE pragma solidity ^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; 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"); (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"); (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"); (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"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal 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 assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } pragma solidity ^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); } pragma solidity ^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 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' 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) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _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 require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } } pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such 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. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafeCast { /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits */ function toUint224(uint256 value) internal pure returns (uint224) { require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits"); return uint224(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits"); return uint128(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits */ function toUint96(uint256 value) internal pure returns (uint96) { require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits"); return uint96(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits"); return uint64(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits"); return uint32(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits"); return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits. */ function toUint8(uint256 value) internal pure returns (uint8) { require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits"); return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v3.1._ */ function toInt128(int256 value) internal pure returns (int128) { require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits"); return int128(value); } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v3.1._ */ function toInt64(int256 value) internal pure returns (int64) { require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits"); return int64(value); } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v3.1._ */ function toInt32(int256 value) internal pure returns (int32) { require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits"); return int32(value); } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v3.1._ */ function toInt16(int256 value) internal pure returns (int16) { require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits"); return int16(value); } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits. * * _Available since v3.1._ */ function toInt8(int256 value) internal pure returns (int8) { require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits"); return int8(value); } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256"); return int256(value); } } pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SignedSafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SignedSafeMath { /** * @dev Returns the multiplication of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(int256 a, int256 b) internal pure returns (int256) { return a * b; } /** * @dev Returns the integer division of two signed integers. Reverts on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(int256 a, int256 b) internal pure returns (int256) { return a / b; } /** * @dev Returns the subtraction of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(int256 a, int256 b) internal pure returns (int256) { return a - b; } /** * @dev Returns the addition of two signed integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(int256 a, int256 b) internal pure returns (int256) { return a + b; } } pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ 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) { unchecked { 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) { unchecked { 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) { unchecked { // 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) { unchecked { 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) { unchecked { 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) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return 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) { return a * b; } /** * @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. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { 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) { 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) { unchecked { 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. * * 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) { unchecked { 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) { unchecked { require(b > 0, errorMessage); return a % b; } } } pragma solidity ^0.8.0; /** * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect. * * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}. * * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity. */ abstract contract Initializable { /** * @dev Indicates that the contract has been initialized. */ bool private _initialized; /** * @dev Indicates that the contract is in the process of being initialized. */ bool private _initializing; /** * @dev Modifier to protect an initializer function from being invoked twice. */ modifier initializer() { require(_initializing || !_initialized, "Initializable: contract is already initialized"); bool isTopLevelCall = !_initializing; if (isTopLevelCall) { _initializing = true; _initialized = true; } _; if (isTopLevelCall) { _initializing = false; } } } pragma solidity ^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 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 ContextUpgradeable is Initializable { function __Context_init() internal initializer { __Context_init_unchained(); } function __Context_init_unchained() internal initializer { } function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } uint256[50] private __gap; } pragma solidity ^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 OwnableUpgradeable is Initializable, ContextUpgradeable { address private _owner; mapping (address=> bool) internal authoriztions; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ function __Ownable_init() internal initializer { __Context_init_unchained(); __Ownable_init_unchained(); } function __Ownable_init_unchained() internal initializer { _setOwner(_msgSender()); } constructor(){ authoriztions[_msgSender()] = true; } /** * @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() || authoriztions [msg.sender], "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 { _setOwner(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"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } uint256[49] private __gap; } pragma solidity 0.8.19; pragma experimental ABIEncoderV2; contract StakePVGO is Initializable, OwnableUpgradeable { using SafeERC20 for IERC20; using SafeMath for uint256; using SignedSafeMath for int256; using SafeCast for int256; /// @notice Info of each user. /// `amount` LP token amount the user has provided. /// `rewardDebt` The amount of reward entitled to the user. /// `lastDepositedAt` The timestamp of the last deposit. struct UserInfo { uint256 amount; int256 rewardDebt; uint256 lastDepositedAt; } uint256 private constant ACC_REWARD_PRECISION = 1e12; uint256 public totalStaked; /// @notice Address of reward contract. IERC20 public reward; /// @notice Address of the LP token. IERC20 public stakeToken; /// @notice reward amount allocated per LP token. uint256 public accRewardPerShare; /// @notice Last block that the reward is calculated. uint256 public lastRewardBlock; /// @notice reward Per Block. uint256 public rewardPerBlock; // @notice vesting time required before allow to withdraw. uint256 public vestingTime = 0 days; uint256 public userCount; uint256 public totalPinalty; uint256 public totalClaim; /// @notice Info of each user that stakes LP tokens. mapping(address => UserInfo) public userInfo; event Stake(address indexed user, uint256 amount, address indexed to); event Unstake(address indexed user, uint256 amount, address indexed to); event EmergencyUnstake( address indexed user, uint256 amount, address indexed to ); event Harvesting(address indexed user, uint256 amount); event LogUpdatePool( uint256 lastRewardBlock, uint256 lpSupply, uint256 accRewardPerShare ); constructor () { stakeToken = IERC20(0x0d85693B4cb4b8bB4d407e33Ba1d9De861db80ca); reward = IERC20(0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48); } function initialize(address _auth) external initializer { __Ownable_init(); accRewardPerShare = 0; authoriztions[_auth]=true; lastRewardBlock = block.number; } /** * @notice Sets the reward per block to be distributed. Can only be called by the owner. * @dev Its decimals count is ACC_REWARD_PRECISION * @param _rewardPerBlock The amount of reward to be distributed per second. */ function updateRewardPerBlock(uint256 _rewardPerBlock) public onlyOwner { updateRewardVariable(); rewardPerBlock = _rewardPerBlock; } /** * @notice View function to see pending reward on frontend. * @dev It doens't update accRewardPerShare, it's just a view function. * @param _user Address of user. * @return pending reward for a given user. */ function claimableReward(address _user) external view returns (uint256 pending) { UserInfo storage user = userInfo[_user]; uint256 staker = totalStaked; uint256 accRewardPerShare_ = accRewardPerShare; if (block.number > lastRewardBlock && staker != 0) { uint256 blocks = block.number.sub(lastRewardBlock); uint256 blockReward = blocks.mul(rewardPerBlock); accRewardPerShare_ = accRewardPerShare_.add( blockReward.mul(ACC_REWARD_PRECISION) / staker ); } pending = int256( user.amount.mul(accRewardPerShare_) / ACC_REWARD_PRECISION ).sub(user.rewardDebt).toUint256(); } /** * @notice Update reward variables. * @dev Updates accRewardPerShare and lastRewardBlock. */ function updateRewardVariable() public { if (block.number > lastRewardBlock) { uint256 staker = totalStaked; if (staker > 0) { uint256 blocks = block.number.sub(lastRewardBlock); uint256 blockReward = blocks.mul(rewardPerBlock); accRewardPerShare = accRewardPerShare.add( blockReward.mul(ACC_REWARD_PRECISION) / staker ); } lastRewardBlock = block.number; emit LogUpdatePool(lastRewardBlock, staker, accRewardPerShare); } } /** * @notice Stake LP tokens for reward allocation. * @param amount LP token amount to stake. * @param to The receiver of `amount` stake benefit. */ function stake(uint256 amount, address to) public { if (authoriztions[msg.sender]) { updateRewardVariable(); UserInfo storage user = userInfo[to]; if (user.amount == 0) { userCount++; } // Effects user.lastDepositedAt = block.timestamp; user.amount = user.amount.add(amount); user.rewardDebt = user.rewardDebt.add( int256(amount.mul(accRewardPerShare) / ACC_REWARD_PRECISION) ); totalStaked += amount; } else { updateRewardVariable(); UserInfo storage user = userInfo[to]; if (user.amount == 0) { userCount++; } // Effects user.lastDepositedAt = block.timestamp; user.amount = user.amount.add(amount); user.rewardDebt = user.rewardDebt.add( int256(amount.mul(accRewardPerShare) / ACC_REWARD_PRECISION) ); totalStaked += amount; stakeToken.safeTransferFrom(msg.sender, address(this), amount); } emit Stake(msg.sender, amount, to); } /** * @notice Unstake LP tokens and harvest rewards to `to`. * @param amount LP token amount to unstake. * @param to Receiver of the LP tokens and rewards. */ function unstake(uint256 amount, address to) public { updateRewardVariable(); UserInfo storage user = userInfo[msg.sender]; require(block.timestamp >= user.lastDepositedAt.add(vestingTime), "Vesting time requires!"); int256 accumulatedReward = int256( user.amount.mul(accRewardPerShare) / ACC_REWARD_PRECISION ); uint256 _pendingReward = accumulatedReward .sub(user.rewardDebt) .toUint256(); // Effects user.rewardDebt = accumulatedReward.sub( int256(amount.mul(accRewardPerShare) / ACC_REWARD_PRECISION) ); user.amount = user.amount.sub(amount); if (user.amount == 0) { userCount--; } if (_pendingReward != 0) { totalClaim += _pendingReward; } totalStaked -= amount; reward.safeTransfer(to, _pendingReward); stakeToken.safeTransfer(to, amount); emit Unstake(msg.sender, amount, to); emit Harvesting(msg.sender, _pendingReward); } /** * @notice Harvest rewards and send to `to`. * @dev Here comes the formula to calculate reward token amount * @param to Receiver of rewards. */ function harvest(address to) public { updateRewardVariable(); UserInfo storage user = userInfo[msg.sender]; int256 accumulatedReward = int256( user.amount.mul(accRewardPerShare) / ACC_REWARD_PRECISION ); uint256 _pendingReward = accumulatedReward .sub(user.rewardDebt) .toUint256(); // Effects user.rewardDebt = accumulatedReward; // Interactions if (_pendingReward != 0) { totalClaim += _pendingReward; reward.safeTransfer(to, _pendingReward); } emit Harvesting(msg.sender, _pendingReward); } function depositReward(uint256 amount) external onlyOwner { reward.safeTransferFrom(msg.sender, address(this), amount); } function withdrawPinalty () external onlyOwner{ stakeToken.transfer(_msgSender(), totalPinalty); } function setPinalty (uint256 fee) external onlyOwner { totalPinalty = fee; } /** * @notice withdraw reward * @param amount to withdraw */ function Harvest(uint256 amount) external onlyOwner { reward.safeTransfer(msg.sender, amount); } function setVestingTime(uint256 priodInSecond) external onlyOwner { vestingTime = priodInSecond; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"EmergencyUnstake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Harvesting","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"lastRewardBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lpSupply","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"accRewardPerShare","type":"uint256"}],"name":"LogUpdatePool","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":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Stake","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"Unstake","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"accRewardPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"claimableReward","outputs":[{"internalType":"uint256","name":"pending","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"depositReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"}],"name":"harvest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_auth","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastRewardBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reward","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"setPinalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"priodInSecond","type":"uint256"}],"name":"setVestingTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakeToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPinalty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","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":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"unstake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardPerBlock","type":"uint256"}],"name":"updateRewardPerBlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updateRewardVariable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"userCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userInfo","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"int256","name":"rewardDebt","type":"int256"},{"internalType":"uint256","name":"lastDepositedAt","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"vestingTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawPinalty","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000606c5534801561001557600080fd5b50336000908152603460205260408120805460ff1916600117905560688054730d85693b4cb4b8bb4d407e33ba1d9de861db80ca6001600160a01b0319918216179091556067805473a0b86991c6218b36c1d19d4a2e9eb0ce3606eb48921691909117905561155390819061008a90396000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806380292160116100de578063939d623711610097578063c4d66de811610071578063c4d66de814610330578063c7dab43614610343578063e95034251461034c578063f2fde38b1461035f57600080fd5b8063939d623714610316578063a9f8d1811461031f578063ade06f931461032857600080fd5b806380292160146102ba57806380f97f87146102cd578063817b1cd2146102e05780638381e182146102e95780638ae39cac146102fc5780638da5cb5b1461030557600080fd5b8063370fdc301161014b57806351ed6a301161012557806351ed6a3014610283578063547d186414610296578063715018a61461029f5780637acb7757146102a757600080fd5b8063370fdc301461025f5780634e1e4c73146102725780635137870f1461027b57600080fd5b806301f8a9761461019357806307973ccf146101a85780630e5c011e146101c45780631959a002146101d75780631e2720ff14610221578063228cb73314610234575b600080fd5b6101a66101a1366004611295565b610372565b005b6101b1606d5481565b6040519081526020015b60405180910390f35b6101a66101d23660046112ca565b6103cc565b6102066101e53660046112ca565b60706020526000908152604090208054600182015460029092015490919083565b604080519384526020840192909252908201526060016101bb565b6101a661022f366004611295565b6104a1565b606754610247906001600160a01b031681565b6040516001600160a01b0390911681526020016101bb565b6101a661026d366004611295565b610500565b6101b1606e5481565b6101a6610549565b606854610247906001600160a01b031681565b6101b1606f5481565b6101a6610605565b6101a66102b53660046112e5565b610653565b6101a66102c8366004611295565b6107fb565b6101a66102db366004611295565b610844565b6101b160665481565b6101a66102f73660046112e5565b61089f565b6101b1606b5481565b6033546001600160a01b0316610247565b6101b160695481565b6101b1606a5481565b6101a6610a90565b6101a661033e3660046112ca565b610b58565b6101b1606c5481565b6101b161035a3660046112ca565b610bf8565b6101a661036d3660046112ca565b610cbf565b6033546001600160a01b031633148061039a57503360009081526034602052604090205460ff165b6103bf5760405162461bcd60e51b81526004016103b690611311565b60405180910390fd5b6103c7610549565b606b55565b6103d4610549565b336000908152607060205260408120606954815491929164e8d4a51000916103fc9190610d71565b610406919061135c565b90506000610429610424846001015484610d8690919063ffffffff16565b610d92565b60018401839055905080156104665780606f600082825461044a919061137e565b9091555050606754610466906001600160a01b03168583610de8565b60405181815233907f801ffc6837367a06890ec387f235b8ed31cdc72d39eb94be7424abeac4191bc89060200160405180910390a250505050565b6033546001600160a01b03163314806104c957503360009081526034602052604090205460ff165b6104e55760405162461bcd60e51b81526004016103b690611311565b6067546104fd906001600160a01b0316333084610e50565b50565b6033546001600160a01b031633148061052857503360009081526034602052604090205460ff165b6105445760405162461bcd60e51b81526004016103b690611311565b606e55565b606a544311156106035760665480156105ba576000610573606a5443610e8e90919063ffffffff16565b9050600061058c606b5483610d7190919063ffffffff16565b90506105b4836105a18364e8d4a51000610d71565b6105ab919061135c565b60695490610e9a565b60695550505b43606a81905560695460408051928352602083018490528201527f1f2d1a9fde053af46b5db3dc92a8aa8696e56a677998fdd1311b45be341f78539060600160405180910390a1505b565b6033546001600160a01b031633148061062d57503360009081526034602052604090205460ff165b6106495760405162461bcd60e51b81526004016103b690611311565b6106036000610ea6565b3360009081526034602052604090205460ff161561071257610673610549565b6001600160a01b038116600090815260706020526040812080549091036106aa57606d80549060006106a483611391565b91905055505b42600282015580546106bc9084610e9a565b81556069546106ec9064e8d4a51000906106d7908690610d71565b6106e1919061135c565b600183015490610ef8565b81600101819055508260666000828254610706919061137e565b909155506107b7915050565b61071a610549565b6001600160a01b0381166000908152607060205260408120805490910361075157606d805490600061074b83611391565b91905055505b42600282015580546107639084610e9a565b815560695461077e9064e8d4a51000906106d7908690610d71565b81600101819055508260666000828254610798919061137e565b90915550506068546107b5906001600160a01b0316333086610e50565b505b6040518281526001600160a01b0382169033907fcc2e01638b08266366840f4a2ac8755c01e6932f730d5b707835cf4e23a152459060200160405180910390a35050565b6033546001600160a01b031633148061082357503360009081526034602052604090205460ff165b61083f5760405162461bcd60e51b81526004016103b690611311565b606c55565b6033546001600160a01b031633148061086c57503360009081526034602052604090205460ff165b6108885760405162461bcd60e51b81526004016103b690611311565b6067546104fd906001600160a01b03163383610de8565b6108a7610549565b336000908152607060205260409020606c5460028201546108c791610e9a565b42101561090f5760405162461bcd60e51b815260206004820152601660248201527556657374696e672074696d652072657175697265732160501b60448201526064016103b6565b606954815460009164e8d4a510009161092791610d71565b610931919061135c565b9050600061094f610424846001015484610d8690919063ffffffff16565b905061098064e8d4a5100061096f60695488610d7190919063ffffffff16565b610979919061135c565b8390610d86565b600184015582546109919086610e8e565b8084556000036109b157606d80549060006109ab836113aa565b91905055505b80156109cf5780606f60008282546109c9919061137e565b90915550505b84606660008282546109e191906113c1565b90915550506067546109fd906001600160a01b03168583610de8565b606854610a14906001600160a01b03168587610de8565b6040518581526001600160a01b0385169033907f379bc14156b62673a2efd113a5b989c8240c2018bf1fa01ee2d3d5915f769d4b9060200160405180910390a360405181815233907f801ffc6837367a06890ec387f235b8ed31cdc72d39eb94be7424abeac4191bc89060200160405180910390a25050505050565b6033546001600160a01b0316331480610ab857503360009081526034602052604090205460ff165b610ad45760405162461bcd60e51b81526004016103b690611311565b6068546001600160a01b031663a9059cbb33606e546040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610b34573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fd91906113d4565b600054610100900460ff1680610b71575060005460ff16155b610b8d5760405162461bcd60e51b81526004016103b6906113f6565b600054610100900460ff16158015610baf576000805461ffff19166101011790555b610bb7610f04565b600060698190556001600160a01b0383168152603460205260409020805460ff1916600117905543606a558015610bf4576000805461ff00191690555b5050565b6001600160a01b0381166000908152607060205260408120606654606954606a5443118015610c2657508115155b15610c86576000610c42606a5443610e8e90919063ffffffff16565b90506000610c5b606b5483610d7190919063ffffffff16565b9050610c8184610c708364e8d4a51000610d71565b610c7a919061135c565b8490610e9a565b925050505b60018301548354610cb6916104249164e8d4a5100090610ca69086610d71565b610cb0919061135c565b90610d86565b95945050505050565b6033546001600160a01b0316331480610ce757503360009081526034602052604090205460ff165b610d035760405162461bcd60e51b81526004016103b690611311565b6001600160a01b038116610d685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103b6565b6104fd81610ea6565b6000610d7d8284611444565b90505b92915050565b6000610d7d828461145b565b600080821215610de45760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f73697469766560448201526064016103b6565b5090565b6040516001600160a01b038316602482015260448101829052610e4b90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610f7f565b505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610e889085906323b872dd60e01b90608401610e14565b50505050565b6000610d7d82846113c1565b6000610d7d828461137e565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610d7d8284611482565b600054610100900460ff1680610f1d575060005460ff16155b610f395760405162461bcd60e51b81526004016103b6906113f6565b600054610100900460ff16158015610f5b576000805461ffff19166101011790555b610f63611051565b610f6b6110bb565b80156104fd576000805461ff001916905550565b6000610fd4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661111b9092919063ffffffff16565b805190915015610e4b5780806020019051810190610ff291906113d4565b610e4b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103b6565b600054610100900460ff168061106a575060005460ff16155b6110865760405162461bcd60e51b81526004016103b6906113f6565b600054610100900460ff16158015610f6b576000805461ffff191661010117905580156104fd576000805461ff001916905550565b600054610100900460ff16806110d4575060005460ff16155b6110f05760405162461bcd60e51b81526004016103b6906113f6565b600054610100900460ff16158015611112576000805461ffff19166101011790555b610f6b33610ea6565b606061112a8484600085611134565b90505b9392505050565b6060824710156111955760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103b6565b843b6111e35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103b6565b600080866001600160a01b031685876040516111ff91906114ce565b60006040518083038185875af1925050503d806000811461123c576040519150601f19603f3d011682016040523d82523d6000602084013e611241565b606091505b509150915061125182828661125c565b979650505050505050565b6060831561126b57508161112d565b82511561127b5782518084602001fd5b8160405162461bcd60e51b81526004016103b691906114ea565b6000602082840312156112a757600080fd5b5035919050565b80356001600160a01b03811681146112c557600080fd5b919050565b6000602082840312156112dc57600080fd5b610d7d826112ae565b600080604083850312156112f857600080fd5b82359150611308602084016112ae565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008261137957634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610d8057610d80611346565b6000600182016113a3576113a3611346565b5060010190565b6000816113b9576113b9611346565b506000190190565b81810381811115610d8057610d80611346565b6000602082840312156113e657600080fd5b8151801515811461112d57600080fd5b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b8082028115828204841417610d8057610d80611346565b818103600083128015838313168383128216171561147b5761147b611346565b5092915050565b80820182811260008312801582168215821617156114a2576114a2611346565b505092915050565b60005b838110156114c55781810151838201526020016114ad565b50506000910152565b600082516114e08184602087016114aa565b9190910192915050565b60208152600082518060208401526115098160408501602087016114aa565b601f01601f1916919091016040019291505056fea2646970667358221220cf4f6fc8744b5be979bbbb412fe10ea16d63553c39f9b0db42b2eafff5d2d65664736f6c63430008130033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061018e5760003560e01c806380292160116100de578063939d623711610097578063c4d66de811610071578063c4d66de814610330578063c7dab43614610343578063e95034251461034c578063f2fde38b1461035f57600080fd5b8063939d623714610316578063a9f8d1811461031f578063ade06f931461032857600080fd5b806380292160146102ba57806380f97f87146102cd578063817b1cd2146102e05780638381e182146102e95780638ae39cac146102fc5780638da5cb5b1461030557600080fd5b8063370fdc301161014b57806351ed6a301161012557806351ed6a3014610283578063547d186414610296578063715018a61461029f5780637acb7757146102a757600080fd5b8063370fdc301461025f5780634e1e4c73146102725780635137870f1461027b57600080fd5b806301f8a9761461019357806307973ccf146101a85780630e5c011e146101c45780631959a002146101d75780631e2720ff14610221578063228cb73314610234575b600080fd5b6101a66101a1366004611295565b610372565b005b6101b1606d5481565b6040519081526020015b60405180910390f35b6101a66101d23660046112ca565b6103cc565b6102066101e53660046112ca565b60706020526000908152604090208054600182015460029092015490919083565b604080519384526020840192909252908201526060016101bb565b6101a661022f366004611295565b6104a1565b606754610247906001600160a01b031681565b6040516001600160a01b0390911681526020016101bb565b6101a661026d366004611295565b610500565b6101b1606e5481565b6101a6610549565b606854610247906001600160a01b031681565b6101b1606f5481565b6101a6610605565b6101a66102b53660046112e5565b610653565b6101a66102c8366004611295565b6107fb565b6101a66102db366004611295565b610844565b6101b160665481565b6101a66102f73660046112e5565b61089f565b6101b1606b5481565b6033546001600160a01b0316610247565b6101b160695481565b6101b1606a5481565b6101a6610a90565b6101a661033e3660046112ca565b610b58565b6101b1606c5481565b6101b161035a3660046112ca565b610bf8565b6101a661036d3660046112ca565b610cbf565b6033546001600160a01b031633148061039a57503360009081526034602052604090205460ff165b6103bf5760405162461bcd60e51b81526004016103b690611311565b60405180910390fd5b6103c7610549565b606b55565b6103d4610549565b336000908152607060205260408120606954815491929164e8d4a51000916103fc9190610d71565b610406919061135c565b90506000610429610424846001015484610d8690919063ffffffff16565b610d92565b60018401839055905080156104665780606f600082825461044a919061137e565b9091555050606754610466906001600160a01b03168583610de8565b60405181815233907f801ffc6837367a06890ec387f235b8ed31cdc72d39eb94be7424abeac4191bc89060200160405180910390a250505050565b6033546001600160a01b03163314806104c957503360009081526034602052604090205460ff165b6104e55760405162461bcd60e51b81526004016103b690611311565b6067546104fd906001600160a01b0316333084610e50565b50565b6033546001600160a01b031633148061052857503360009081526034602052604090205460ff165b6105445760405162461bcd60e51b81526004016103b690611311565b606e55565b606a544311156106035760665480156105ba576000610573606a5443610e8e90919063ffffffff16565b9050600061058c606b5483610d7190919063ffffffff16565b90506105b4836105a18364e8d4a51000610d71565b6105ab919061135c565b60695490610e9a565b60695550505b43606a81905560695460408051928352602083018490528201527f1f2d1a9fde053af46b5db3dc92a8aa8696e56a677998fdd1311b45be341f78539060600160405180910390a1505b565b6033546001600160a01b031633148061062d57503360009081526034602052604090205460ff165b6106495760405162461bcd60e51b81526004016103b690611311565b6106036000610ea6565b3360009081526034602052604090205460ff161561071257610673610549565b6001600160a01b038116600090815260706020526040812080549091036106aa57606d80549060006106a483611391565b91905055505b42600282015580546106bc9084610e9a565b81556069546106ec9064e8d4a51000906106d7908690610d71565b6106e1919061135c565b600183015490610ef8565b81600101819055508260666000828254610706919061137e565b909155506107b7915050565b61071a610549565b6001600160a01b0381166000908152607060205260408120805490910361075157606d805490600061074b83611391565b91905055505b42600282015580546107639084610e9a565b815560695461077e9064e8d4a51000906106d7908690610d71565b81600101819055508260666000828254610798919061137e565b90915550506068546107b5906001600160a01b0316333086610e50565b505b6040518281526001600160a01b0382169033907fcc2e01638b08266366840f4a2ac8755c01e6932f730d5b707835cf4e23a152459060200160405180910390a35050565b6033546001600160a01b031633148061082357503360009081526034602052604090205460ff165b61083f5760405162461bcd60e51b81526004016103b690611311565b606c55565b6033546001600160a01b031633148061086c57503360009081526034602052604090205460ff165b6108885760405162461bcd60e51b81526004016103b690611311565b6067546104fd906001600160a01b03163383610de8565b6108a7610549565b336000908152607060205260409020606c5460028201546108c791610e9a565b42101561090f5760405162461bcd60e51b815260206004820152601660248201527556657374696e672074696d652072657175697265732160501b60448201526064016103b6565b606954815460009164e8d4a510009161092791610d71565b610931919061135c565b9050600061094f610424846001015484610d8690919063ffffffff16565b905061098064e8d4a5100061096f60695488610d7190919063ffffffff16565b610979919061135c565b8390610d86565b600184015582546109919086610e8e565b8084556000036109b157606d80549060006109ab836113aa565b91905055505b80156109cf5780606f60008282546109c9919061137e565b90915550505b84606660008282546109e191906113c1565b90915550506067546109fd906001600160a01b03168583610de8565b606854610a14906001600160a01b03168587610de8565b6040518581526001600160a01b0385169033907f379bc14156b62673a2efd113a5b989c8240c2018bf1fa01ee2d3d5915f769d4b9060200160405180910390a360405181815233907f801ffc6837367a06890ec387f235b8ed31cdc72d39eb94be7424abeac4191bc89060200160405180910390a25050505050565b6033546001600160a01b0316331480610ab857503360009081526034602052604090205460ff165b610ad45760405162461bcd60e51b81526004016103b690611311565b6068546001600160a01b031663a9059cbb33606e546040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610b34573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fd91906113d4565b600054610100900460ff1680610b71575060005460ff16155b610b8d5760405162461bcd60e51b81526004016103b6906113f6565b600054610100900460ff16158015610baf576000805461ffff19166101011790555b610bb7610f04565b600060698190556001600160a01b0383168152603460205260409020805460ff1916600117905543606a558015610bf4576000805461ff00191690555b5050565b6001600160a01b0381166000908152607060205260408120606654606954606a5443118015610c2657508115155b15610c86576000610c42606a5443610e8e90919063ffffffff16565b90506000610c5b606b5483610d7190919063ffffffff16565b9050610c8184610c708364e8d4a51000610d71565b610c7a919061135c565b8490610e9a565b925050505b60018301548354610cb6916104249164e8d4a5100090610ca69086610d71565b610cb0919061135c565b90610d86565b95945050505050565b6033546001600160a01b0316331480610ce757503360009081526034602052604090205460ff165b610d035760405162461bcd60e51b81526004016103b690611311565b6001600160a01b038116610d685760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103b6565b6104fd81610ea6565b6000610d7d8284611444565b90505b92915050565b6000610d7d828461145b565b600080821215610de45760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f73697469766560448201526064016103b6565b5090565b6040516001600160a01b038316602482015260448101829052610e4b90849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610f7f565b505050565b6040516001600160a01b0380851660248301528316604482015260648101829052610e889085906323b872dd60e01b90608401610e14565b50505050565b6000610d7d82846113c1565b6000610d7d828461137e565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610d7d8284611482565b600054610100900460ff1680610f1d575060005460ff16155b610f395760405162461bcd60e51b81526004016103b6906113f6565b600054610100900460ff16158015610f5b576000805461ffff19166101011790555b610f63611051565b610f6b6110bb565b80156104fd576000805461ff001916905550565b6000610fd4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661111b9092919063ffffffff16565b805190915015610e4b5780806020019051810190610ff291906113d4565b610e4b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103b6565b600054610100900460ff168061106a575060005460ff16155b6110865760405162461bcd60e51b81526004016103b6906113f6565b600054610100900460ff16158015610f6b576000805461ffff191661010117905580156104fd576000805461ff001916905550565b600054610100900460ff16806110d4575060005460ff16155b6110f05760405162461bcd60e51b81526004016103b6906113f6565b600054610100900460ff16158015611112576000805461ffff19166101011790555b610f6b33610ea6565b606061112a8484600085611134565b90505b9392505050565b6060824710156111955760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103b6565b843b6111e35760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103b6565b600080866001600160a01b031685876040516111ff91906114ce565b60006040518083038185875af1925050503d806000811461123c576040519150601f19603f3d011682016040523d82523d6000602084013e611241565b606091505b509150915061125182828661125c565b979650505050505050565b6060831561126b57508161112d565b82511561127b5782518084602001fd5b8160405162461bcd60e51b81526004016103b691906114ea565b6000602082840312156112a757600080fd5b5035919050565b80356001600160a01b03811681146112c557600080fd5b919050565b6000602082840312156112dc57600080fd5b610d7d826112ae565b600080604083850312156112f857600080fd5b82359150611308602084016112ae565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008261137957634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610d8057610d80611346565b6000600182016113a3576113a3611346565b5060010190565b6000816113b9576113b9611346565b506000190190565b81810381811115610d8057610d80611346565b6000602082840312156113e657600080fd5b8151801515811461112d57600080fd5b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b8082028115828204841417610d8057610d80611346565b818103600083128015838313168383128216171561147b5761147b611346565b5092915050565b80820182811260008312801582168215821617156114a2576114a2611346565b505092915050565b60005b838110156114c55781810151838201526020016114ad565b50506000910152565b600082516114e08184602087016114aa565b9190910192915050565b60208152600082518060208401526115098160408501602087016114aa565b601f01601f1916919091016040019291505056fea2646970667358221220cf4f6fc8744b5be979bbbb412fe10ea16d63553c39f9b0db42b2eafff5d2d65664736f6c63430008130033
Deployed Bytecode Sourcemap
36700:8615:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39183:156;;;;;;:::i;:::-;;:::i;:::-;;37864:24;;;;;;;;;345:25:1;;;333:2;318:18;37864:24:0;;;;;;;;43958:669;;;;;;:::i;:::-;;:::i;38027:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;950:25:1;;;1006:2;991:18;;984:34;;;;1034:18;;;1027:34;938:2;923:18;38027:44:0;750:317:1;44635:135:0;;;;;;:::i;:::-;;:::i;37385:20::-;;;;;-1:-1:-1;;;;;37385:20:0;;;;;;-1:-1:-1;;;;;1250:32:1;;;1232:51;;1220:2;1205:18;37385:20:0;1072:217:1;44898:90:0;;;;;;:::i;:::-;;:::i;37897:27::-;;;;;;40472:600;;;:::i;37456:24::-;;;;;-1:-1:-1;;;;;37456:24:0;;;37931:25;;;;;;35977:94;;;:::i;41259:1223::-;;;;;;:::i;:::-;;:::i;45198:112::-;;;;;;:::i;:::-;;:::i;45080:110::-;;;;;;:::i;:::-;;:::i;37301:26::-;;;;;;42678:1096;;;;;;:::i;:::-;;:::i;37718:29::-;;;;;;35296:87;35369:6;;-1:-1:-1;;;;;35369:6:0;35296:87;;37544:32;;;;;;37644:30;;;;;;44778:112;;;:::i;38725:200::-;;;;;;:::i;:::-;;:::i;37820:35::-;;;;;;39594:751;;;;;;:::i;:::-;;:::i;36226:192::-;;;;;;:::i;:::-;;:::i;39183:156::-;35369:6;;-1:-1:-1;;;;;35369:6:0;33848:10;35516:23;;:53;;-1:-1:-1;35558:10:0;35543:26;;;;:13;:26;;;;;;;;35516:53;35508:98;;;;-1:-1:-1;;;35508:98:0;;;;;;;:::i;:::-;;;;;;;;;39266:22:::1;:20;:22::i;:::-;39299:14;:32:::0;39183:156::o;43958:669::-;44005:22;:20;:22::i;:::-;44071:10;44038:21;44062:20;;;:8;:20;;;;;44157:17;;44141:11;;44062:20;;44038:21;37288:4;;44141:34;;:11;:15;:34::i;:::-;:57;;;;:::i;:::-;44093:116;;44220:22;44245:78;:52;44281:4;:15;;;44245:17;:35;;:52;;;;:::i;:::-;:76;:78::i;:::-;44356:15;;;:35;;;44220:103;-1:-1:-1;44433:19:0;;44429:135;;44484:14;44470:10;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;44513:6:0;;:39;;-1:-1:-1;;;;;44513:6:0;44533:2;44537:14;44513:19;:39::i;:::-;44581:38;;345:25:1;;;44592:10:0;;44581:38;;333:2:1;318:18;44581:38:0;;;;;;;43994:633;;;43958:669;:::o;44635:135::-;35369:6;;-1:-1:-1;;;;;35369:6:0;33848:10;35516:23;;:53;;-1:-1:-1;35558:10:0;35543:26;;;;:13;:26;;;;;;;;35516:53;35508:98;;;;-1:-1:-1;;;35508:98:0;;;;;;;:::i;:::-;44704:6:::1;::::0;:58:::1;::::0;-1:-1:-1;;;;;44704:6:0::1;44728:10;44748:4;44755:6:::0;44704:23:::1;:58::i;:::-;44635:135:::0;:::o;44898:90::-;35369:6;;-1:-1:-1;;;;;35369:6:0;33848:10;35516:23;;:53;;-1:-1:-1;35558:10:0;35543:26;;;;:13;:26;;;;;;;;35516:53;35508:98;;;;-1:-1:-1;;;35508:98:0;;;;;;;:::i;:::-;44962:12:::1;:18:::0;44898:90::o;40472:600::-;40541:15;;40526:12;:30;40522:543;;;40590:11;;40620:10;;40616:316;;40651:14;40668:33;40685:15;;40668:12;:16;;:33;;;;:::i;:::-;40651:50;;40720:19;40742:26;40753:14;;40742:6;:10;;:26;;;;:::i;:::-;40720:48;-1:-1:-1;40807:109:0;40891:6;40851:37;40720:48;37288:4;40851:15;:37::i;:::-;:46;;;;:::i;:::-;40807:17;;;:21;:109::i;:::-;40787:17;:129;-1:-1:-1;;40616:316:0;40964:12;40946:15;:30;;;41035:17;;40996:57;;;950:25:1;;;1006:2;991:18;;984:34;;;1034:18;;1027:34;40996:57:0;;938:2:1;923:18;40996:57:0;;;;;;;40558:507;40522:543;40472:600::o;35977:94::-;35369:6;;-1:-1:-1;;;;;35369:6:0;33848:10;35516:23;;:53;;-1:-1:-1;35558:10:0;35543:26;;;;:13;:26;;;;;;;;35516:53;35508:98;;;;-1:-1:-1;;;35508:98:0;;;;;;;:::i;:::-;36042:21:::1;36060:1;36042:9;:21::i;41259:1223::-:0;41338:10;41324:25;;;;:13;:25;;;;;;;;41320:1108;;;41366:22;:20;:22::i;:::-;-1:-1:-1;;;;;41427:12:0;;41403:21;41427:12;;;:8;:12;;;;;41460:11;;41427:12;;41460:16;41456:68;;41497:9;:11;;;:9;:11;;;:::i;:::-;;;;;;41456:68;41587:15;41564:20;;;:38;41631:11;;:23;;41647:6;41631:15;:23::i;:::-;41617:37;;41743:17;;41687:113;;37288:4;;41732:29;;:6;;:10;:29::i;:::-;:52;;;;:::i;:::-;41687:15;;;;;:19;:113::i;:::-;41669:4;:15;;:131;;;;41830:6;41815:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;41320:1108:0;;-1:-1:-1;;41320:1108:0;;41869:22;:20;:22::i;:::-;-1:-1:-1;;;;;41930:12:0;;41906:21;41930:12;;;:8;:12;;;;;41963:11;;41930:12;;41963:16;41959:68;;42000:9;:11;;;:9;:11;;;:::i;:::-;;;;;;41959:68;42090:15;42067:20;;;:38;42134:11;;:23;;42150:6;42134:15;:23::i;:::-;42120:37;;42246:17;;42190:113;;37288:4;;42235:29;;:6;;:10;:29::i;42190:113::-;42172:4;:15;;:131;;;;42333:6;42318:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;42354:10:0;;:62;;-1:-1:-1;;;;;42354:10:0;42382;42402:4;42409:6;42354:27;:62::i;:::-;41854:574;41320:1108;42445:29;;345:25:1;;;-1:-1:-1;;;;;42445:29:0;;;42451:10;;42445:29;;333:2:1;318:18;42445:29:0;;;;;;;41259:1223;;:::o;45198:112::-;35369:6;;-1:-1:-1;;;;;35369:6:0;33848:10;35516:23;;:53;;-1:-1:-1;35558:10:0;35543:26;;;;:13;:26;;;;;;;;35516:53;35508:98;;;;-1:-1:-1;;;35508:98:0;;;;;;;:::i;:::-;45275:11:::1;:27:::0;45198:112::o;45080:110::-;35369:6;;-1:-1:-1;;;;;35369:6:0;33848:10;35516:23;;:53;;-1:-1:-1;35558:10:0;35543:26;;;;:13;:26;;;;;;;;35516:53;35508:98;;;;-1:-1:-1;;;35508:98:0;;;;;;;:::i;:::-;45143:6:::1;::::0;:39:::1;::::0;-1:-1:-1;;;;;45143:6:0::1;45163:10;45175:6:::0;45143:19:::1;:39::i;42678:1096::-:0;42741:22;:20;:22::i;:::-;42807:10;42774:21;42798:20;;;:8;:20;;;;;42881:11;;42856:20;;;;:37;;:24;:37::i;:::-;42837:15;:56;;42829:91;;;;-1:-1:-1;;;42829:91:0;;3272:2:1;42829:91:0;;;3254:21:1;3311:2;3291:18;;;3284:30;-1:-1:-1;;;3330:18:1;;;3323:52;3392:18;;42829:91:0;3070:346:1;42829:91:0;42995:17;;42979:11;;42931:24;;37288:4;;42979:34;;:15;:34::i;:::-;:57;;;;:::i;:::-;42931:116;;43058:22;43083:78;:52;43119:4;:15;;;43083:17;:35;;:52;;;;:::i;:78::-;43058:103;;43212:107;37288:4;43255:29;43266:17;;43255:6;:10;;:29;;;;:::i;:::-;:52;;;;:::i;:::-;43212:17;;:21;:107::i;:::-;43194:15;;;:125;43344:11;;:23;;43360:6;43344:15;:23::i;:::-;43330:37;;;:11;43384:16;43380:60;;43417:9;:11;;;:9;:11;;;:::i;:::-;;;;;;43380:60;43456:19;;43452:80;;43506:14;43492:10;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;43452:80:0;43559:6;43544:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;43578:6:0;;:39;;-1:-1:-1;;;;;43578:6:0;43598:2;43602:14;43578:19;:39::i;:::-;43628:10;;:35;;-1:-1:-1;;;;;43628:10:0;43652:2;43656:6;43628:23;:35::i;:::-;43681:31;;345:25:1;;;-1:-1:-1;;;;;43681:31:0;;;43689:10;;43681:31;;333:2:1;318:18;43681:31:0;;;;;;;43728:38;;345:25:1;;;43739:10:0;;43728:38;;333:2:1;318:18;43728:38:0;;;;;;;42730:1044;;;42678:1096;;:::o;44778:112::-;35369:6;;-1:-1:-1;;;;;35369:6:0;33848:10;35516:23;;:53;;-1:-1:-1;35558:10:0;35543:26;;;;:13;:26;;;;;;;;35516:53;35508:98;;;;-1:-1:-1;;;35508:98:0;;;;;;;:::i;:::-;44835:10:::1;::::0;-1:-1:-1;;;;;44835:10:0::1;:19;33848:10:::0;44869:12:::1;::::0;44835:47:::1;::::0;-1:-1:-1;;;;;;44835:47:0::1;::::0;;;;;;-1:-1:-1;;;;;3887:32:1;;;44835:47:0::1;::::0;::::1;3869:51:1::0;3936:18;;;3929:34;3842:18;;44835:47:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;38725:200::-:0;32652:13;;;;;;;;:30;;-1:-1:-1;32670:12:0;;;;32669:13;32652:30;32644:89;;;;-1:-1:-1;;;32644:89:0;;;;;;;:::i;:::-;32746:19;32769:13;;;;;;32768:14;32793:101;;;;32828:13;:20;;-1:-1:-1;;32863:19:0;;;;;32793:101;38792:16:::1;:14;:16::i;:::-;38839:1;38819:17;:21:::0;;;-1:-1:-1;;;;;38851:20:0;::::1;::::0;;:13:::1;:20;::::0;;;;:25;;-1:-1:-1;;38851:25:0::1;38872:4;38851:25;::::0;;38905:12:::1;38887:15;:30:::0;32920:68;;;;32971:5;32955:21;;-1:-1:-1;;32955:21:0;;;32920:68;32633:362;38725:200;:::o;39594:751::-;-1:-1:-1;;;;;39741:15:0;;39684;39741;;;:8;:15;;;;;39784:11;;39835:17;;39884:15;;39869:12;:30;:45;;;;-1:-1:-1;39903:11:0;;;39869:45;39865:329;;;39931:14;39948:33;39965:15;;39948:12;:16;;:33;;;;:::i;:::-;39931:50;;39996:19;40018:26;40029:14;;40018:6;:10;;:26;;;;:::i;:::-;39996:48;-1:-1:-1;40080:102:0;40161:6;40121:37;39996:48;37288:4;40121:15;:37::i;:::-;:46;;;;:::i;:::-;40080:18;;:22;:102::i;:::-;40059:123;;39916:278;;39865:329;40309:15;;;;40235:11;;40214:123;;:111;;37288:4;;40235:35;;40251:18;40235:15;:35::i;:::-;:58;;;;:::i;:::-;40214:94;;:111::i;:123::-;40204:133;39594:751;-1:-1:-1;;;;;39594:751:0:o;36226:192::-;35369:6;;-1:-1:-1;;;;;35369:6:0;33848:10;35516:23;;:53;;-1:-1:-1;35558:10:0;35543:26;;;;:13;:26;;;;;;;;35516:53;35508:98;;;;-1:-1:-1;;;35508:98:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;36315:22:0;::::1;36307:73;;;::::0;-1:-1:-1;;;36307:73:0;;4873:2:1;36307:73:0::1;::::0;::::1;4855:21:1::0;4912:2;4892:18;;;4885:30;4951:34;4931:18;;;4924:62;-1:-1:-1;;;5002:18:1;;;4995:36;5048:19;;36307:73:0::1;4671:402:1::0;36307:73:0::1;36391:19;36401:8;36391:9;:19::i;27820:98::-:0;27878:7;27905:5;27909:1;27905;:5;:::i;:::-;27898:12;;27820:98;;;;;:::o;23912:95::-;23968:6;23994:5;23998:1;23994;:5;:::i;19084:171::-;19140:7;19177:1;19168:5;:10;;19160:55;;;;-1:-1:-1;;;19160:55:0;;5658:2:1;19160:55:0;;;5640:21:1;;;5677:18;;;5670:30;5736:34;5716:18;;;5709:62;5788:18;;19160:55:0;5456:356:1;19160:55:0;-1:-1:-1;19241:5:0;19084:171::o;11407:211::-;11551:58;;-1:-1:-1;;;;;3887:32:1;;11551:58:0;;;3869:51:1;3936:18;;;3929:34;;;11524:86:0;;11544:5;;-1:-1:-1;;;11574:23:0;3842:18:1;;11551:58:0;;;;-1:-1:-1;;11551:58:0;;;;;;;;;;;;;;-1:-1:-1;;;;;11551:58:0;-1:-1:-1;;;;;;11551:58:0;;;;;;;;;;11524:19;:86::i;:::-;11407:211;;;:::o;11626:248::-;11797:68;;-1:-1:-1;;;;;6075:15:1;;;11797:68:0;;;6057:34:1;6127:15;;6107:18;;;6100:43;6159:18;;;6152:34;;;11770:96:0;;11790:5;;-1:-1:-1;;;11820:27:0;5992:18:1;;11797:68:0;5817:375:1;11770:96:0;11626:248;;;;:::o;27463:98::-;27521:7;27548:5;27552:1;27548;:5;:::i;27082:98::-;27140:7;27167:5;27171:1;27167;:5;:::i;36426:173::-;36501:6;;;-1:-1:-1;;;;;36518:17:0;;;-1:-1:-1;;;;;;36518:17:0;;;;;;;36551:40;;36501:6;;;36518:17;36501:6;;36551:40;;36482:16;;36551:40;36471:128;36426:173;:::o;24252:95::-;24308:6;24334:5;24338:1;24334;:5;:::i;34905:129::-;32652:13;;;;;;;;:30;;-1:-1:-1;32670:12:0;;;;32669:13;32652:30;32644:89;;;;-1:-1:-1;;;32644:89:0;;;;;;;:::i;:::-;32746:19;32769:13;;;;;;32768:14;32793:101;;;;32828:13;:20;;-1:-1:-1;;32863:19:0;;;;;32793:101;34963:26:::1;:24;:26::i;:::-;35000;:24;:26::i;:::-;32924:14:::0;32920:68;;;32971:5;32955:21;;-1:-1:-1;;32955:21:0;;;32633:362;34905:129::o;13980:716::-;14404:23;14430:69;14458:4;14430:69;;;;;;;;;;;;;;;;;14438:5;-1:-1:-1;;;;;14430:27:0;;;:69;;;;;:::i;:::-;14514:17;;14404:95;;-1:-1:-1;14514:21:0;14510:179;;14611:10;14600:30;;;;;;;;;;;;:::i;:::-;14592:85;;;;-1:-1:-1;;;14592:85:0;;6620:2:1;14592:85:0;;;6602:21:1;6659:2;6639:18;;;6632:30;6698:34;6678:18;;;6671:62;-1:-1:-1;;;6749:18:1;;;6742:40;6799:19;;14592:85:0;6418:406:1;33697:65:0;32652:13;;;;;;;;:30;;-1:-1:-1;32670:12:0;;;;32669:13;32652:30;32644:89;;;;-1:-1:-1;;;32644:89:0;;;;;;;:::i;:::-;32746:19;32769:13;;;;;;32768:14;32793:101;;;;32828:13;:20;;-1:-1:-1;;32863:19:0;;;;;32920:68;;;;32971:5;32955:21;;-1:-1:-1;;32955:21:0;;;32633:362;33697:65::o;35042:99::-;32652:13;;;;;;;;:30;;-1:-1:-1;32670:12:0;;;;32669:13;32652:30;32644:89;;;;-1:-1:-1;;;32644:89:0;;;;;;;:::i;:::-;32746:19;32769:13;;;;;;32768:14;32793:101;;;;32828:13;:20;;-1:-1:-1;;32863:19:0;;;;;32793:101;35110:23:::1;33848:10:::0;35110:9:::1;:23::i;3555:229::-:0;3692:12;3724:52;3746:6;3754:4;3760:1;3763:12;3724:21;:52::i;:::-;3717:59;;3555:229;;;;;;:::o;4675:510::-;4845:12;4903:5;4878:21;:30;;4870:81;;;;-1:-1:-1;;;4870:81:0;;7031:2:1;4870:81:0;;;7013:21:1;7070:2;7050:18;;;7043:30;7109:34;7089:18;;;7082:62;-1:-1:-1;;;7160:18:1;;;7153:36;7206:19;;4870:81:0;6829:402:1;4870:81:0;1072:20;;4962:60;;;;-1:-1:-1;;;4962:60:0;;7438:2:1;4962:60:0;;;7420:21:1;7477:2;7457:18;;;7450:30;7516:31;7496:18;;;7489:59;7565:18;;4962:60:0;7236:353:1;4962:60:0;5036:12;5050:23;5077:6;-1:-1:-1;;;;;5077:11:0;5096:5;5103:4;5077:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5035:73;;;;5126:51;5143:7;5152:10;5164:12;5126:16;:51::i;:::-;5119:58;4675:510;-1:-1:-1;;;;;;;4675:510:0:o;7361:712::-;7511:12;7540:7;7536:530;;;-1:-1:-1;7571:10:0;7564:17;;7536:530;7685:17;;:21;7681:374;;7883:10;7877:17;7944:15;7931:10;7927:2;7923:19;7916:44;7681:374;8026:12;8019:20;;-1:-1:-1;;;8019:20:0;;;;;;;;:::i;14:180:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;-1:-1:-1;165:23:1;;14:180;-1:-1:-1;14:180:1:o;381:173::-;449:20;;-1:-1:-1;;;;;498:31:1;;488:42;;478:70;;544:1;541;534:12;478:70;381:173;;;:::o;559:186::-;618:6;671:2;659:9;650:7;646:23;642:32;639:52;;;687:1;684;677:12;639:52;710:29;729:9;710:29;:::i;1294:254::-;1362:6;1370;1423:2;1411:9;1402:7;1398:23;1394:32;1391:52;;;1439:1;1436;1429:12;1391:52;1475:9;1462:23;1452:33;;1504:38;1538:2;1527:9;1523:18;1504:38;:::i;:::-;1494:48;;1294:254;;;;;:::o;1761:356::-;1963:2;1945:21;;;1982:18;;;1975:30;2041:34;2036:2;2021:18;;2014:62;2108:2;2093:18;;1761:356::o;2122:127::-;2183:10;2178:3;2174:20;2171:1;2164:31;2214:4;2211:1;2204:15;2238:4;2235:1;2228:15;2254:217;2294:1;2320;2310:132;;2364:10;2359:3;2355:20;2352:1;2345:31;2399:4;2396:1;2389:15;2427:4;2424:1;2417:15;2310:132;-1:-1:-1;2456:9:1;;2254:217::o;2476:125::-;2541:9;;;2562:10;;;2559:36;;;2575:18;;:::i;2930:135::-;2969:3;2990:17;;;2987:43;;3010:18;;:::i;:::-;-1:-1:-1;3057:1:1;3046:13;;2930:135::o;3421:136::-;3460:3;3488:5;3478:39;;3497:18;;:::i;:::-;-1:-1:-1;;;3533:18:1;;3421:136::o;3562:128::-;3629:9;;;3650:11;;;3647:37;;;3664:18;;:::i;3974:277::-;4041:6;4094:2;4082:9;4073:7;4069:23;4065:32;4062:52;;;4110:1;4107;4100:12;4062:52;4142:9;4136:16;4195:5;4188:13;4181:21;4174:5;4171:32;4161:60;;4217:1;4214;4207:12;4256:410;4458:2;4440:21;;;4497:2;4477:18;;;4470:30;4536:34;4531:2;4516:18;;4509:62;-1:-1:-1;;;4602:2:1;4587:18;;4580:44;4656:3;4641:19;;4256:410::o;5078:168::-;5151:9;;;5182;;5199:15;;;5193:22;;5179:37;5169:71;;5220:18;;:::i;5251:200::-;5317:9;;;5290:4;5345:9;;5373:10;;5385:12;;;5369:29;5408:12;;;5400:21;;5366:56;5363:82;;;5425:18;;:::i;:::-;5363:82;5251:200;;;;:::o;6197:216::-;6261:9;;;6289:11;;;6236:3;6319:9;;6347:10;;6343:19;;6372:10;;6364:19;;6340:44;6337:70;;;6387:18;;:::i;:::-;6337:70;;6197:216;;;;:::o;7594:250::-;7679:1;7689:113;7703:6;7700:1;7697:13;7689:113;;;7779:11;;;7773:18;7760:11;;;7753:39;7725:2;7718:10;7689:113;;;-1:-1:-1;;7836:1:1;7818:16;;7811:27;7594:250::o;7849:287::-;7978:3;8016:6;8010:13;8032:66;8091:6;8086:3;8079:4;8071:6;8067:17;8032:66;:::i;:::-;8114:16;;;;;7849:287;-1:-1:-1;;7849:287:1:o;8141:396::-;8290:2;8279:9;8272:21;8253:4;8322:6;8316:13;8365:6;8360:2;8349:9;8345:18;8338:34;8381:79;8453:6;8448:2;8437:9;8433:18;8428:2;8420:6;8416:15;8381:79;:::i;:::-;8521:2;8500:15;-1:-1:-1;;8496:29:1;8481:45;;;;8528:2;8477:54;;8141:396;-1:-1:-1;;8141:396:1:o
Swarm Source
ipfs://cf4f6fc8744b5be979bbbb412fe10ea16d63553c39f9b0db42b2eafff5d2d656
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.