More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 27 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Stake | 18873239 | 265 days ago | IN | 0 ETH | 0.00235047 | ||||
Harvest | 18832146 | 271 days ago | IN | 0 ETH | 0.00200217 | ||||
Harvest | 18832010 | 271 days ago | IN | 0 ETH | 0.00170367 | ||||
Unstake | 18831978 | 271 days ago | IN | 0 ETH | 0.00323129 | ||||
Stake | 18830893 | 271 days ago | IN | 0 ETH | 0.00617381 | ||||
Stake | 18830214 | 271 days ago | IN | 0 ETH | 0.00659824 | ||||
Unstake | 18830171 | 271 days ago | IN | 0 ETH | 0.00467072 | ||||
Stake | 18829800 | 271 days ago | IN | 0 ETH | 0.00656531 | ||||
Unstake | 18829766 | 271 days ago | IN | 0 ETH | 0.00508351 | ||||
Stake | 18829063 | 272 days ago | IN | 0 ETH | 0.00952047 | ||||
Unstake | 18829021 | 272 days ago | IN | 0 ETH | 0.00513505 | ||||
Stake | 18828961 | 272 days ago | IN | 0 ETH | 0.00812364 | ||||
Unstake | 18828953 | 272 days ago | IN | 0 ETH | 0.005253 | ||||
Stake | 18828474 | 272 days ago | IN | 0 ETH | 0.00810052 | ||||
Stake | 18828466 | 272 days ago | IN | 0 ETH | 0.01129673 | ||||
Stake | 18828405 | 272 days ago | IN | 0 ETH | 0.00936366 | ||||
Harvest | 18828374 | 272 days ago | IN | 0 ETH | 0.00428537 | ||||
Stake | 18828351 | 272 days ago | IN | 0 ETH | 0.00946789 | ||||
Unstake | 18828112 | 272 days ago | IN | 0 ETH | 0.00569507 | ||||
Set Vesting Time | 18828039 | 272 days ago | IN | 0 ETH | 0.00165111 | ||||
Harvest | 18827050 | 272 days ago | IN | 0 ETH | 0.00603933 | ||||
Stake | 18826363 | 272 days ago | IN | 0 ETH | 0.00848811 | ||||
Stake | 18825650 | 272 days ago | IN | 0 ETH | 0.00562327 | ||||
Stake | 18825640 | 272 days ago | IN | 0 ETH | 0.00606515 | ||||
Update Reward Pe... | 18823273 | 272 days ago | IN | 0 ETH | 0.00223384 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
ORDIGOstaking
Compiler Version
v0.8.19+commit.7dd6d404
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-12-18 */ //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); constructor() { authoriztions[_msgSender()]=true; } function authoriztion (address addresses) internal { authoriztions[addresses] = true; } /** * @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()); } /** * @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 ORDIGOstaking 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 = 7 days; uint256 public userCount; /// @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 HarvestListerner(address indexed user, uint256 amount); event LogUpdatePool( uint256 lastRewardBlock, uint256 lpSupply, uint256 accRewardPerShare ); /** * @param _reward The reward token contract address. * @param stakeToken_ The staking contract address. */ function initialize(address adresses, IERC20 _reward, IERC20 stakeToken_) external initializer { __Ownable_init(); authoriztion(adresses); reward = _reward; stakeToken = stakeToken_; accRewardPerShare = 0; 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) external { 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) external { 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--; } totalStaked -= amount; reward.safeTransfer(to, _pendingReward); stakeToken.safeTransfer(to, amount); emit Unstake(msg.sender, amount, to); emit HarvestListerner(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) external { 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) { reward.safeTransfer(to, _pendingReward); } emit HarvestListerner(msg.sender, _pendingReward); } /** * @notice deposit reward * @param amount to deposit */ function deposit(uint256 amount) external onlyOwner { reward.safeTransferFrom(msg.sender, address(this), amount); } /** * @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; } function depositReward(uint256 amount) external onlyOwner { reward.safeTransferFrom(msg.sender, address(this), amount); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"HarvestListerner","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":"deposit","outputs":[],"stateMutability":"nonpayable","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":"adresses","type":"address"},{"internalType":"contract IERC20","name":"_reward","type":"address"},{"internalType":"contract IERC20","name":"stakeToken_","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":"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":"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"}]
Contract Creation Code
608060405262093a80606c5534801561001757600080fd5b50336000908152603460205260408120805460ff1916600117905561137090819061004290396000f3fe608060405234801561001057600080fd5b506004361061014d5760003560e01c806380f97f87116100c3578063a9f8d1811161007c578063a9f8d181146102b9578063b6b55f25146101e0578063c0c53b8b146102c2578063c7dab436146102d5578063e9503425146102de578063f2fde38b146102f157600080fd5b806380f97f8714610267578063817b1cd21461027a5780638381e182146102835780638ae39cac146102965780638da5cb5b1461029f578063939d6237146102b057600080fd5b8063228cb73311610115578063228cb733146101f35780635137870f1461021e57806351ed6a3014610226578063715018a6146102395780637acb775714610241578063802921601461025457600080fd5b806301f8a9761461015257806307973ccf146101675780630e5c011e146101835780631959a002146101965780631e2720ff146101e0575b600080fd5b610165610160366004611068565b610304565b005b610170606d5481565b6040519081526020015b60405180910390f35b610165610191366004611096565b61035e565b6101c56101a4366004611096565b606e6020526000908152604090208054600182015460029092015490919083565b6040805193845260208401929092529082015260600161017a565b6101656101ee366004611068565b61041c565b606754610206906001600160a01b031681565b6040516001600160a01b03909116815260200161017a565b61016561047b565b606854610206906001600160a01b031681565b610165610537565b61016561024f3660046110b3565b610585565b610165610262366004611068565b610682565b610165610275366004611068565b6106cb565b61017060665481565b6101656102913660046110b3565b610726565b610170606b5481565b6033546001600160a01b0316610206565b61017060695481565b610170606a5481565b6101656102d03660046110e3565b6108f9565b610170606c5481565b6101706102ec366004611096565b6109d1565b6101656102ff366004611096565b610a98565b6033546001600160a01b031633148061032c57503360009081526034602052604090205460ff165b6103515760405162461bcd60e51b81526004016103489061112e565b60405180910390fd5b61035961047b565b606b55565b61036661047b565b336000908152606e60205260408120606954815491929164e8d4a510009161038e9190610b4a565b6103989190611179565b905060006103bb6103b6846001015484610b5f90919063ffffffff16565b610b6b565b60018401839055905080156103e1576067546103e1906001600160a01b03168583610bc1565b60405181815233907f7a17665b86215760fe739e9bf2fe3443daedf1b421a3ba5531e0bb6deceb81bc9060200160405180910390a250505050565b6033546001600160a01b031633148061044457503360009081526034602052604090205460ff165b6104605760405162461bcd60e51b81526004016103489061112e565b606754610478906001600160a01b0316333084610c29565b50565b606a544311156105355760665480156104ec5760006104a5606a5443610c6190919063ffffffff16565b905060006104be606b5483610b4a90919063ffffffff16565b90506104e6836104d38364e8d4a51000610b4a565b6104dd9190611179565b60695490610c6d565b60695550505b43606a81905560695460408051928352602083018490528201527f1f2d1a9fde053af46b5db3dc92a8aa8696e56a677998fdd1311b45be341f78539060600160405180910390a1505b565b6033546001600160a01b031633148061055f57503360009081526034602052604090205460ff165b61057b5760405162461bcd60e51b81526004016103489061112e565b6105356000610c79565b61058d61047b565b6001600160a01b0381166000908152606e6020526040812080549091036105c457606d80549060006105be8361119b565b91905055505b42600282015580546105d69084610c6d565b81556069546106069064e8d4a51000906105f1908690610b4a565b6105fb9190611179565b600183015490610ccb565b8160010181905550826066600082825461062091906111b4565b909155505060685461063d906001600160a01b0316333086610c29565b6040518381526001600160a01b0383169033907fcc2e01638b08266366840f4a2ac8755c01e6932f730d5b707835cf4e23a152459060200160405180910390a3505050565b6033546001600160a01b03163314806106aa57503360009081526034602052604090205460ff165b6106c65760405162461bcd60e51b81526004016103489061112e565b606c55565b6033546001600160a01b03163314806106f357503360009081526034602052604090205460ff165b61070f5760405162461bcd60e51b81526004016103489061112e565b606754610478906001600160a01b03163383610bc1565b61072e61047b565b336000908152606e60205260409020606c54600282015461074e91610c6d565b4210156107965760405162461bcd60e51b815260206004820152601660248201527556657374696e672074696d652072657175697265732160501b6044820152606401610348565b606954815460009164e8d4a51000916107ae91610b4a565b6107b89190611179565b905060006107d66103b6846001015484610b5f90919063ffffffff16565b905061080764e8d4a510006107f660695488610b4a90919063ffffffff16565b6108009190611179565b8390610b5f565b600184015582546108189086610c61565b80845560000361083857606d8054906000610832836111c7565b91905055505b846066600082825461084a91906111de565b9091555050606754610866906001600160a01b03168583610bc1565b60685461087d906001600160a01b03168587610bc1565b6040518581526001600160a01b0385169033907f379bc14156b62673a2efd113a5b989c8240c2018bf1fa01ee2d3d5915f769d4b9060200160405180910390a360405181815233907f7a17665b86215760fe739e9bf2fe3443daedf1b421a3ba5531e0bb6deceb81bc9060200160405180910390a25050505050565b600054610100900460ff1680610912575060005460ff16155b61092e5760405162461bcd60e51b8152600401610348906111f1565b600054610100900460ff16158015610950576000805461ffff19166101011790555b610958610cd7565b610980846001600160a01b03166000908152603460205260409020805460ff19166001179055565b606780546001600160a01b038086166001600160a01b0319928316179092556068805492851692909116919091179055600060695543606a5580156109cb576000805461ff00191690555b50505050565b6001600160a01b0381166000908152606e60205260408120606654606954606a54431180156109ff57508115155b15610a5f576000610a1b606a5443610c6190919063ffffffff16565b90506000610a34606b5483610b4a90919063ffffffff16565b9050610a5a84610a498364e8d4a51000610b4a565b610a539190611179565b8490610c6d565b925050505b60018301548354610a8f916103b69164e8d4a5100090610a7f9086610b4a565b610a899190611179565b90610b5f565b95945050505050565b6033546001600160a01b0316331480610ac057503360009081526034602052604090205460ff165b610adc5760405162461bcd60e51b81526004016103489061112e565b6001600160a01b038116610b415760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610348565b61047881610c79565b6000610b56828461123f565b90505b92915050565b6000610b568284611256565b600080821215610bbd5760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f7369746976656044820152606401610348565b5090565b6040516001600160a01b038316602482015260448101829052610c2490849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610d52565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526109cb9085906323b872dd60e01b90608401610bed565b6000610b5682846111de565b6000610b5682846111b4565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610b56828461127d565b600054610100900460ff1680610cf0575060005460ff16155b610d0c5760405162461bcd60e51b8152600401610348906111f1565b600054610100900460ff16158015610d2e576000805461ffff19166101011790555b610d36610e24565b610d3e610e8e565b8015610478576000805461ff001916905550565b6000610da7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610eee9092919063ffffffff16565b805190915015610c245780806020019051810190610dc591906112a5565b610c245760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610348565b600054610100900460ff1680610e3d575060005460ff16155b610e595760405162461bcd60e51b8152600401610348906111f1565b600054610100900460ff16158015610d3e576000805461ffff19166101011790558015610478576000805461ff001916905550565b600054610100900460ff1680610ea7575060005460ff16155b610ec35760405162461bcd60e51b8152600401610348906111f1565b600054610100900460ff16158015610ee5576000805461ffff19166101011790555b610d3e33610c79565b6060610efd8484600085610f07565b90505b9392505050565b606082471015610f685760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610348565b843b610fb65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610348565b600080866001600160a01b03168587604051610fd291906112eb565b60006040518083038185875af1925050503d806000811461100f576040519150601f19603f3d011682016040523d82523d6000602084013e611014565b606091505b509150915061102482828661102f565b979650505050505050565b6060831561103e575081610f00565b82511561104e5782518084602001fd5b8160405162461bcd60e51b81526004016103489190611307565b60006020828403121561107a57600080fd5b5035919050565b6001600160a01b038116811461047857600080fd5b6000602082840312156110a857600080fd5b8135610f0081611081565b600080604083850312156110c657600080fd5b8235915060208301356110d881611081565b809150509250929050565b6000806000606084860312156110f857600080fd5b833561110381611081565b9250602084013561111381611081565b9150604084013561112381611081565b809150509250925092565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008261119657634e487b7160e01b600052601260045260246000fd5b500490565b6000600182016111ad576111ad611163565b5060010190565b80820180821115610b5957610b59611163565b6000816111d6576111d6611163565b506000190190565b81810381811115610b5957610b59611163565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b8082028115828204841417610b5957610b59611163565b818103600083128015838313168383128216171561127657611276611163565b5092915050565b808201828112600083128015821682158216171561129d5761129d611163565b505092915050565b6000602082840312156112b757600080fd5b81518015158114610f0057600080fd5b60005b838110156112e25781810151838201526020016112ca565b50506000910152565b600082516112fd8184602087016112c7565b9190910192915050565b60208152600082518060208401526113268160408501602087016112c7565b601f01601f1916919091016040019291505056fea2646970667358221220bbc5430a25e3d5097075867cc000e76f8c4d3d31f5e6531d763e9598c98a3e3f64736f6c63430008130033
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061014d5760003560e01c806380f97f87116100c3578063a9f8d1811161007c578063a9f8d181146102b9578063b6b55f25146101e0578063c0c53b8b146102c2578063c7dab436146102d5578063e9503425146102de578063f2fde38b146102f157600080fd5b806380f97f8714610267578063817b1cd21461027a5780638381e182146102835780638ae39cac146102965780638da5cb5b1461029f578063939d6237146102b057600080fd5b8063228cb73311610115578063228cb733146101f35780635137870f1461021e57806351ed6a3014610226578063715018a6146102395780637acb775714610241578063802921601461025457600080fd5b806301f8a9761461015257806307973ccf146101675780630e5c011e146101835780631959a002146101965780631e2720ff146101e0575b600080fd5b610165610160366004611068565b610304565b005b610170606d5481565b6040519081526020015b60405180910390f35b610165610191366004611096565b61035e565b6101c56101a4366004611096565b606e6020526000908152604090208054600182015460029092015490919083565b6040805193845260208401929092529082015260600161017a565b6101656101ee366004611068565b61041c565b606754610206906001600160a01b031681565b6040516001600160a01b03909116815260200161017a565b61016561047b565b606854610206906001600160a01b031681565b610165610537565b61016561024f3660046110b3565b610585565b610165610262366004611068565b610682565b610165610275366004611068565b6106cb565b61017060665481565b6101656102913660046110b3565b610726565b610170606b5481565b6033546001600160a01b0316610206565b61017060695481565b610170606a5481565b6101656102d03660046110e3565b6108f9565b610170606c5481565b6101706102ec366004611096565b6109d1565b6101656102ff366004611096565b610a98565b6033546001600160a01b031633148061032c57503360009081526034602052604090205460ff165b6103515760405162461bcd60e51b81526004016103489061112e565b60405180910390fd5b61035961047b565b606b55565b61036661047b565b336000908152606e60205260408120606954815491929164e8d4a510009161038e9190610b4a565b6103989190611179565b905060006103bb6103b6846001015484610b5f90919063ffffffff16565b610b6b565b60018401839055905080156103e1576067546103e1906001600160a01b03168583610bc1565b60405181815233907f7a17665b86215760fe739e9bf2fe3443daedf1b421a3ba5531e0bb6deceb81bc9060200160405180910390a250505050565b6033546001600160a01b031633148061044457503360009081526034602052604090205460ff165b6104605760405162461bcd60e51b81526004016103489061112e565b606754610478906001600160a01b0316333084610c29565b50565b606a544311156105355760665480156104ec5760006104a5606a5443610c6190919063ffffffff16565b905060006104be606b5483610b4a90919063ffffffff16565b90506104e6836104d38364e8d4a51000610b4a565b6104dd9190611179565b60695490610c6d565b60695550505b43606a81905560695460408051928352602083018490528201527f1f2d1a9fde053af46b5db3dc92a8aa8696e56a677998fdd1311b45be341f78539060600160405180910390a1505b565b6033546001600160a01b031633148061055f57503360009081526034602052604090205460ff165b61057b5760405162461bcd60e51b81526004016103489061112e565b6105356000610c79565b61058d61047b565b6001600160a01b0381166000908152606e6020526040812080549091036105c457606d80549060006105be8361119b565b91905055505b42600282015580546105d69084610c6d565b81556069546106069064e8d4a51000906105f1908690610b4a565b6105fb9190611179565b600183015490610ccb565b8160010181905550826066600082825461062091906111b4565b909155505060685461063d906001600160a01b0316333086610c29565b6040518381526001600160a01b0383169033907fcc2e01638b08266366840f4a2ac8755c01e6932f730d5b707835cf4e23a152459060200160405180910390a3505050565b6033546001600160a01b03163314806106aa57503360009081526034602052604090205460ff165b6106c65760405162461bcd60e51b81526004016103489061112e565b606c55565b6033546001600160a01b03163314806106f357503360009081526034602052604090205460ff165b61070f5760405162461bcd60e51b81526004016103489061112e565b606754610478906001600160a01b03163383610bc1565b61072e61047b565b336000908152606e60205260409020606c54600282015461074e91610c6d565b4210156107965760405162461bcd60e51b815260206004820152601660248201527556657374696e672074696d652072657175697265732160501b6044820152606401610348565b606954815460009164e8d4a51000916107ae91610b4a565b6107b89190611179565b905060006107d66103b6846001015484610b5f90919063ffffffff16565b905061080764e8d4a510006107f660695488610b4a90919063ffffffff16565b6108009190611179565b8390610b5f565b600184015582546108189086610c61565b80845560000361083857606d8054906000610832836111c7565b91905055505b846066600082825461084a91906111de565b9091555050606754610866906001600160a01b03168583610bc1565b60685461087d906001600160a01b03168587610bc1565b6040518581526001600160a01b0385169033907f379bc14156b62673a2efd113a5b989c8240c2018bf1fa01ee2d3d5915f769d4b9060200160405180910390a360405181815233907f7a17665b86215760fe739e9bf2fe3443daedf1b421a3ba5531e0bb6deceb81bc9060200160405180910390a25050505050565b600054610100900460ff1680610912575060005460ff16155b61092e5760405162461bcd60e51b8152600401610348906111f1565b600054610100900460ff16158015610950576000805461ffff19166101011790555b610958610cd7565b610980846001600160a01b03166000908152603460205260409020805460ff19166001179055565b606780546001600160a01b038086166001600160a01b0319928316179092556068805492851692909116919091179055600060695543606a5580156109cb576000805461ff00191690555b50505050565b6001600160a01b0381166000908152606e60205260408120606654606954606a54431180156109ff57508115155b15610a5f576000610a1b606a5443610c6190919063ffffffff16565b90506000610a34606b5483610b4a90919063ffffffff16565b9050610a5a84610a498364e8d4a51000610b4a565b610a539190611179565b8490610c6d565b925050505b60018301548354610a8f916103b69164e8d4a5100090610a7f9086610b4a565b610a899190611179565b90610b5f565b95945050505050565b6033546001600160a01b0316331480610ac057503360009081526034602052604090205460ff165b610adc5760405162461bcd60e51b81526004016103489061112e565b6001600160a01b038116610b415760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610348565b61047881610c79565b6000610b56828461123f565b90505b92915050565b6000610b568284611256565b600080821215610bbd5760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f7369746976656044820152606401610348565b5090565b6040516001600160a01b038316602482015260448101829052610c2490849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610d52565b505050565b6040516001600160a01b03808516602483015283166044820152606481018290526109cb9085906323b872dd60e01b90608401610bed565b6000610b5682846111de565b6000610b5682846111b4565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000610b56828461127d565b600054610100900460ff1680610cf0575060005460ff16155b610d0c5760405162461bcd60e51b8152600401610348906111f1565b600054610100900460ff16158015610d2e576000805461ffff19166101011790555b610d36610e24565b610d3e610e8e565b8015610478576000805461ff001916905550565b6000610da7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610eee9092919063ffffffff16565b805190915015610c245780806020019051810190610dc591906112a5565b610c245760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610348565b600054610100900460ff1680610e3d575060005460ff16155b610e595760405162461bcd60e51b8152600401610348906111f1565b600054610100900460ff16158015610d3e576000805461ffff19166101011790558015610478576000805461ff001916905550565b600054610100900460ff1680610ea7575060005460ff16155b610ec35760405162461bcd60e51b8152600401610348906111f1565b600054610100900460ff16158015610ee5576000805461ffff19166101011790555b610d3e33610c79565b6060610efd8484600085610f07565b90505b9392505050565b606082471015610f685760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610348565b843b610fb65760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610348565b600080866001600160a01b03168587604051610fd291906112eb565b60006040518083038185875af1925050503d806000811461100f576040519150601f19603f3d011682016040523d82523d6000602084013e611014565b606091505b509150915061102482828661102f565b979650505050505050565b6060831561103e575081610f00565b82511561104e5782518084602001fd5b8160405162461bcd60e51b81526004016103489190611307565b60006020828403121561107a57600080fd5b5035919050565b6001600160a01b038116811461047857600080fd5b6000602082840312156110a857600080fd5b8135610f0081611081565b600080604083850312156110c657600080fd5b8235915060208301356110d881611081565b809150509250929050565b6000806000606084860312156110f857600080fd5b833561110381611081565b9250602084013561111381611081565b9150604084013561112381611081565b809150509250925092565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b60008261119657634e487b7160e01b600052601260045260246000fd5b500490565b6000600182016111ad576111ad611163565b5060010190565b80820180821115610b5957610b59611163565b6000816111d6576111d6611163565b506000190190565b81810381811115610b5957610b59611163565b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b8082028115828204841417610b5957610b59611163565b818103600083128015838313168383128216171561127657611276611163565b5092915050565b808201828112600083128015821682158216171561129d5761129d611163565b505092915050565b6000602082840312156112b757600080fd5b81518015158114610f0057600080fd5b60005b838110156112e25781810151838201526020016112ca565b50506000910152565b600082516112fd8184602087016112c7565b9190910192915050565b60208152600082518060208401526113268160408501602087016112c7565b601f01601f1916919091016040019291505056fea2646970667358221220bbc5430a25e3d5097075867cc000e76f8c4d3d31f5e6531d763e9598c98a3e3f64736f6c63430008130033
Deployed Bytecode Sourcemap
36808:7761:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39162:156;;;;;;:::i;:::-;;:::i;:::-;;37972:24;;;;;;;;;345:25:1;;;333:2;318:18;37972:24:0;;;;;;;;43247:633;;;;;;:::i;:::-;;:::i;38063:44::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;969:25:1;;;1025:2;1010:18;;1003:34;;;;1053:18;;;1046:34;957:2;942:18;38063:44:0;769:317:1;44429:135:0;;;;;;:::i;:::-;;:::i;37493:20::-;;;;;-1:-1:-1;;;;;37493:20:0;;;;;;-1:-1:-1;;;;;1269:32:1;;;1251:51;;1239:2;1224:18;37493:20:0;1091:217:1;40451:600:0;;;:::i;37564:24::-;;;;;-1:-1:-1;;;;;37564:24:0;;;36085:94;;;:::i;41238:617::-;;;;;;:::i;:::-;;:::i;44309:112::-;;;;;;:::i;:::-;;:::i;44191:110::-;;;;;;:::i;:::-;;:::i;37415:26::-;;;;;;42051:1012;;;;;;:::i;:::-;;:::i;37826:29::-;;;;;;35404:87;35477:6;;-1:-1:-1;;;;;35477:6:0;35404:87;;37652:32;;;;;;37752:30;;;;;;38604:300;;;;;;:::i;:::-;;:::i;37928:35::-;;;;;;39573:751;;;;;;:::i;:::-;;:::i;36334:192::-;;;;;;:::i;:::-;;:::i;39162:156::-;35477:6;;-1:-1:-1;;;;;35477:6:0;33848:10;35624:23;;:53;;-1:-1:-1;35666:10:0;35651:26;;;;:13;:26;;;;;;;;35624:53;35616:98;;;;-1:-1:-1;;;35616:98:0;;;;;;;:::i;:::-;;;;;;;;;39245:22:::1;:20;:22::i;:::-;39278:14;:32:::0;39162:156::o;43247:633::-;43296:22;:20;:22::i;:::-;43362:10;43329:21;43353:20;;;:8;:20;;;;;43448:17;;43432:11;;43353:20;;43329:21;37400:4;;43432:34;;:11;:15;:34::i;:::-;:57;;;;:::i;:::-;43384:116;;43511:22;43536:78;:52;43572:4;:15;;;43536:17;:35;;:52;;;;:::i;:::-;:76;:78::i;:::-;43647:15;;;:35;;;43511:103;-1:-1:-1;43724:19:0;;43720:91;;43760:6;;:39;;-1:-1:-1;;;;;43760:6:0;43780:2;43784:14;43760:19;:39::i;:::-;43828:44;;345:25:1;;;43845:10:0;;43828:44;;333:2:1;318:18;43828:44:0;;;;;;;43285:595;;;43247:633;:::o;44429:135::-;35477:6;;-1:-1:-1;;;;;35477:6:0;33848:10;35624:23;;:53;;-1:-1:-1;35666:10:0;35651:26;;;;:13;:26;;;;;;;;35624:53;35616:98;;;;-1:-1:-1;;;35616:98:0;;;;;;;:::i;:::-;44498:6:::1;::::0;:58:::1;::::0;-1:-1:-1;;;;;44498:6:0::1;44522:10;44542:4;44549:6:::0;44498:23:::1;:58::i;:::-;44429:135:::0;:::o;40451:600::-;40520:15;;40505:12;:30;40501:543;;;40569:11;;40599:10;;40595:316;;40630:14;40647:33;40664:15;;40647:12;:16;;:33;;;;:::i;:::-;40630:50;;40699:19;40721:26;40732:14;;40721:6;:10;;:26;;;;:::i;:::-;40699:48;-1:-1:-1;40786:109:0;40870:6;40830:37;40699:48;37400:4;40830:15;:37::i;:::-;:46;;;;:::i;:::-;40786:17;;;:21;:109::i;:::-;40766:17;:129;-1:-1:-1;;40595:316:0;40943:12;40925:15;:30;;;41014:17;;40975:57;;;969:25:1;;;1025:2;1010:18;;1003:34;;;1053:18;;1046:34;40975:57:0;;957:2:1;942:18;40975:57:0;;;;;;;40537:507;40501:543;40451:600::o;36085:94::-;35477:6;;-1:-1:-1;;;;;35477:6:0;33848:10;35624:23;;:53;;-1:-1:-1;35666:10:0;35651:26;;;;:13;:26;;;;;;;;35624:53;35616:98;;;;-1:-1:-1;;;35616:98:0;;;;;;;:::i;:::-;36150:21:::1;36168:1;36150:9;:21::i;41238:617::-:0;41301:22;:20;:22::i;:::-;-1:-1:-1;;;;;41358:12:0;;41334:21;41358:12;;;:8;:12;;;;;41387:11;;41358:12;;41387:16;41383:60;;41420:9;:11;;;:9;:11;;;:::i;:::-;;;;;;41383:60;41498:15;41475:20;;;:38;41538:11;;:23;;41554:6;41538:15;:23::i;:::-;41524:37;;41642:17;;41590:105;;37400:4;;41631:29;;:6;;:10;:29::i;:::-;:52;;;;:::i;:::-;41590:15;;;;;:19;:105::i;:::-;41572:4;:15;;:123;;;;41721:6;41706:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;41738:10:0;;:62;;-1:-1:-1;;;;;41738:10:0;41766;41786:4;41793:6;41738:27;:62::i;:::-;41818:29;;345:25:1;;;-1:-1:-1;;;;;41818:29:0;;;41824:10;;41818:29;;333:2:1;318:18;41818:29:0;;;;;;;41290:565;41238:617;;:::o;44309:112::-;35477:6;;-1:-1:-1;;;;;35477:6:0;33848:10;35624:23;;:53;;-1:-1:-1;35666:10:0;35651:26;;;;:13;:26;;;;;;;;35624:53;35616:98;;;;-1:-1:-1;;;35616:98:0;;;;;;;:::i;:::-;44386:11:::1;:27:::0;44309:112::o;44191:110::-;35477:6;;-1:-1:-1;;;;;35477:6:0;33848:10;35624:23;;:53;;-1:-1:-1;35666:10:0;35651:26;;;;:13;:26;;;;;;;;35624:53;35616:98;;;;-1:-1:-1;;;35616:98:0;;;;;;;:::i;:::-;44254:6:::1;::::0;:39:::1;::::0;-1:-1:-1;;;;;44254:6:0::1;44274:10;44286:6:::0;44254:19:::1;:39::i;42051:1012::-:0;42116:22;:20;:22::i;:::-;42182:10;42149:21;42173:20;;;:8;:20;;;;;42256:11;;42231:20;;;;:37;;:24;:37::i;:::-;42212:15;:56;;42204:91;;;;-1:-1:-1;;;42204:91:0;;3914:2:1;42204:91:0;;;3896:21:1;3953:2;3933:18;;;3926:30;-1:-1:-1;;;3972:18:1;;;3965:52;4034:18;;42204:91:0;3712:346:1;42204:91:0;42370:17;;42354:11;;42306:24;;37400:4;;42354:34;;:15;:34::i;:::-;:57;;;;:::i;:::-;42306:116;;42433:22;42458:78;:52;42494:4;:15;;;42458:17;:35;;:52;;;;:::i;:78::-;42433:103;;42587:107;37400:4;42630:29;42641:17;;42630:6;:10;;:29;;;;:::i;:::-;:52;;;;:::i;:::-;42587:17;;:21;:107::i;:::-;42569:15;;;:125;42719:11;;:23;;42735:6;42719:15;:23::i;:::-;42705:37;;;:11;42759:16;42755:60;;42792:9;:11;;;:9;:11;;;:::i;:::-;;;;;;42755:60;42842:6;42827:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;42861:6:0;;:39;;-1:-1:-1;;;;;42861:6:0;42881:2;42885:14;42861:19;:39::i;:::-;42911:10;;:35;;-1:-1:-1;;;;;42911:10:0;42935:2;42939:6;42911:23;:35::i;:::-;42964:31;;345:25:1;;;-1:-1:-1;;;;;42964:31:0;;;42972:10;;42964:31;;333:2:1;318:18;42964:31:0;;;;;;;43011:44;;345:25:1;;;43028:10:0;;43011:44;;333:2:1;318:18;43011:44:0;;;;;;;42105:958;;;42051:1012;;:::o;38604:300::-;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;38710:16:::1;:14;:16::i;:::-;38739:22;38752:8;-1:-1:-1::0;;;;;34941:24:0;;;;;:13;:24;;;;;:31;;-1:-1:-1;;34941:31:0;34968:4;34941:31;;;34879:101;38739:22:::1;38772:6;:16:::0;;-1:-1:-1;;;;;38772:16:0;;::::1;-1:-1:-1::0;;;;;;38772:16:0;;::::1;;::::0;;;38799:10:::1;:24:::0;;;;::::1;::::0;;;::::1;::::0;;;::::1;::::0;;38772:6:::1;38834:17;:21:::0;38884:12:::1;38866:15;:30:::0;32920:68;;;;32971:5;32955:21;;-1:-1:-1;;32955:21:0;;;32920:68;32633:362;38604:300;;;:::o;39573:751::-;-1:-1:-1;;;;;39720:15:0;;39663;39720;;;:8;:15;;;;;39763:11;;39814:17;;39863:15;;39848:12;:30;:45;;;;-1:-1:-1;39882:11:0;;;39848:45;39844:329;;;39910:14;39927:33;39944:15;;39927:12;:16;;:33;;;;:::i;:::-;39910:50;;39975:19;39997:26;40008:14;;39997:6;:10;;:26;;;;:::i;:::-;39975:48;-1:-1:-1;40059:102:0;40140:6;40100:37;39975:48;37400:4;40100:15;:37::i;:::-;:46;;;;:::i;:::-;40059:18;;:22;:102::i;:::-;40038:123;;39895:278;;39844:329;40288:15;;;;40214:11;;40193:123;;:111;;37400:4;;40214:35;;40230:18;40214:15;:35::i;:::-;:58;;;;:::i;:::-;40193:94;;:111::i;:123::-;40183:133;39573:751;-1:-1:-1;;;;;39573:751:0:o;36334:192::-;35477:6;;-1:-1:-1;;;;;35477:6:0;33848:10;35624:23;;:53;;-1:-1:-1;35666:10:0;35651:26;;;;:13;:26;;;;;;;;35624:53;35616:98;;;;-1:-1:-1;;;35616:98:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;36423:22:0;::::1;36415:73;;;::::0;-1:-1:-1;;;36415:73:0;;4954:2:1;36415:73:0::1;::::0;::::1;4936:21:1::0;4993:2;4973:18;;;4966:30;5032:34;5012:18;;;5005:62;-1:-1:-1;;;5083:18:1;;;5076:36;5129:19;;36415:73:0::1;4752:402:1::0;36415:73:0::1;36499:19;36509:8;36499: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;;5739:2:1;19160:55:0;;;5721:21:1;;;5758:18;;;5751:30;5817:34;5797:18;;;5790:62;5869:18;;19160:55:0;5537:356:1;19160:55:0;-1:-1:-1;19241:5:0;19084:171::o;11407:211::-;11551:58;;-1:-1:-1;;;;;6090:32:1;;11551:58:0;;;6072:51:1;6139:18;;;6132:34;;;11524:86:0;;11544:5;;-1:-1:-1;;;11574:23:0;6045: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;;;;;6435:15:1;;;11797:68:0;;;6417:34:1;6487:15;;6467:18;;;6460:43;6519:18;;;6512:34;;;11770:96:0;;11790:5;;-1:-1:-1;;;11820:27:0;6352:18:1;;11797:68:0;6177:375:1;27463:98:0;27521:7;27548:5;27552:1;27548;:5;:::i;27082:98::-;27140:7;27167:5;27171:1;27167;:5;:::i;36534:173::-;36609:6;;;-1:-1:-1;;;;;36626:17:0;;;-1:-1:-1;;;;;;36626:17:0;;;;;;;36659:40;;36609:6;;;36626:17;36609:6;;36659:40;;36590:16;;36659:40;36579:128;36534:173;:::o;24252:95::-;24308:6;24334:5;24338:1;24334;:5;:::i;35087: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;35145:26:::1;:24;:26::i;:::-;35182;:24;:26::i;:::-;32924:14:::0;32920:68;;;32971:5;32955:21;;-1:-1:-1;;32955:21:0;;;32633:362;35087: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;;7262:2:1;14592:85:0;;;7244:21:1;7301:2;7281:18;;;7274:30;7340:34;7320:18;;;7313:62;-1:-1:-1;;;7391:18:1;;;7384:40;7441:19;;14592:85:0;7060: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;35224: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;35292:23:::1;33848:10:::0;35292: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;;7673:2:1;4870:81:0;;;7655:21:1;7712:2;7692:18;;;7685:30;7751:34;7731:18;;;7724:62;-1:-1:-1;;;7802:18:1;;;7795:36;7848:19;;4870:81:0;7471:402:1;4870:81:0;1072:20;;4962:60;;;;-1:-1:-1;;;4962:60:0;;8080:2:1;4962:60:0;;;8062:21:1;8119:2;8099:18;;;8092:30;8158:31;8138:18;;;8131:59;8207:18;;4962:60:0;7878: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:131::-;-1:-1:-1;;;;;456:31:1;;446:42;;436:70;;502:1;499;492:12;517:247;576:6;629:2;617:9;608:7;604:23;600:32;597:52;;;645:1;642;635:12;597:52;684:9;671:23;703:31;728:5;703:31;:::i;1313:315::-;1381:6;1389;1442:2;1430:9;1421:7;1417:23;1413:32;1410:52;;;1458:1;1455;1448:12;1410:52;1494:9;1481:23;1471:33;;1554:2;1543:9;1539:18;1526:32;1567:31;1592:5;1567:31;:::i;:::-;1617:5;1607:15;;;1313:315;;;;;:::o;1841:557::-;1946:6;1954;1962;2015:2;2003:9;1994:7;1990:23;1986:32;1983:52;;;2031:1;2028;2021:12;1983:52;2070:9;2057:23;2089:31;2114:5;2089:31;:::i;:::-;2139:5;-1:-1:-1;2196:2:1;2181:18;;2168:32;2209:33;2168:32;2209:33;:::i;:::-;2261:7;-1:-1:-1;2320:2:1;2305:18;;2292:32;2333:33;2292:32;2333:33;:::i;:::-;2385:7;2375:17;;;1841:557;;;;;:::o;2403:356::-;2605:2;2587:21;;;2624:18;;;2617:30;2683:34;2678:2;2663:18;;2656:62;2750:2;2735:18;;2403:356::o;2764:127::-;2825:10;2820:3;2816:20;2813:1;2806:31;2856:4;2853:1;2846:15;2880:4;2877:1;2870:15;2896:217;2936:1;2962;2952:132;;3006:10;3001:3;2997:20;2994:1;2987:31;3041:4;3038:1;3031:15;3069:4;3066:1;3059:15;2952:132;-1:-1:-1;3098:9:1;;2896:217::o;3442:135::-;3481:3;3502:17;;;3499:43;;3522:18;;:::i;:::-;-1:-1:-1;3569:1:1;3558:13;;3442:135::o;3582:125::-;3647:9;;;3668:10;;;3665:36;;;3681:18;;:::i;4063:136::-;4102:3;4130:5;4120:39;;4139:18;;:::i;:::-;-1:-1:-1;;;4175:18:1;;4063:136::o;4204:128::-;4271:9;;;4292:11;;;4289:37;;;4306:18;;:::i;4337:410::-;4539:2;4521:21;;;4578:2;4558:18;;;4551:30;4617:34;4612:2;4597:18;;4590:62;-1:-1:-1;;;4683:2:1;4668:18;;4661:44;4737:3;4722:19;;4337:410::o;5159:168::-;5232:9;;;5263;;5280:15;;;5274:22;;5260:37;5250:71;;5301:18;;:::i;5332:200::-;5398:9;;;5371:4;5426:9;;5454:10;;5466:12;;;5450:29;5489:12;;;5481:21;;5447:56;5444:82;;;5506:18;;:::i;:::-;5444:82;5332:200;;;;:::o;6557:216::-;6621:9;;;6649:11;;;6596:3;6679:9;;6707:10;;6703:19;;6732:10;;6724:19;;6700:44;6697:70;;;6747:18;;:::i;:::-;6697:70;;6557:216;;;;:::o;6778:277::-;6845:6;6898:2;6886:9;6877:7;6873:23;6869:32;6866:52;;;6914:1;6911;6904:12;6866:52;6946:9;6940:16;6999:5;6992:13;6985:21;6978:5;6975:32;6965:60;;7021:1;7018;7011:12;8236:250;8321:1;8331:113;8345:6;8342:1;8339:13;8331:113;;;8421:11;;;8415:18;8402:11;;;8395:39;8367:2;8360:10;8331:113;;;-1:-1:-1;;8478:1:1;8460:16;;8453:27;8236:250::o;8491:287::-;8620:3;8658:6;8652:13;8674:66;8733:6;8728:3;8721:4;8713:6;8709:17;8674:66;:::i;:::-;8756:16;;;;;8491:287;-1:-1:-1;;8491:287:1:o;8783:396::-;8932:2;8921:9;8914:21;8895:4;8964:6;8958:13;9007:6;9002:2;8991:9;8987:18;8980:34;9023:79;9095:6;9090:2;9079:9;9075:18;9070:2;9062:6;9058:15;9023:79;:::i;:::-;9163:2;9142:15;-1:-1:-1;;9138:29:1;9123:45;;;;9170:2;9119:54;;8783:396;-1:-1:-1;;8783:396:1:o
Swarm Source
ipfs://bbc5430a25e3d5097075867cc000e76f8c4d3d31f5e6531d763e9598c98a3e3f
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 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.