More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 150 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw Pinalty | 19818748 | 108 days ago | IN | 0 ETH | 0.00042508 | ||||
Set Pinalty | 19818746 | 108 days ago | IN | 0 ETH | 0.00048479 | ||||
Harvest | 19818736 | 108 days ago | IN | 0 ETH | 0.00035093 | ||||
Harvest | 19818725 | 108 days ago | IN | 0 ETH | 0.00058504 | ||||
Harvest | 19812385 | 109 days ago | IN | 0 ETH | 0.00051085 | ||||
Harvest | 19804844 | 110 days ago | IN | 0 ETH | 0.00043378 | ||||
Harvest | 19798342 | 111 days ago | IN | 0 ETH | 0.0004413 | ||||
Harvest | 19786761 | 112 days ago | IN | 0 ETH | 0.00033218 | ||||
Harvest | 19785268 | 112 days ago | IN | 0 ETH | 0.00045415 | ||||
Harvest | 19783535 | 113 days ago | IN | 0 ETH | 0.00110465 | ||||
Harvest | 19769712 | 115 days ago | IN | 0 ETH | 0.00097146 | ||||
Harvest | 19759536 | 116 days ago | IN | 0 ETH | 0.00054664 | ||||
Harvest | 19758927 | 116 days ago | IN | 0 ETH | 0.00047068 | ||||
Harvest | 19754140 | 117 days ago | IN | 0 ETH | 0.00055533 | ||||
Harvest | 19747340 | 118 days ago | IN | 0 ETH | 0.00041312 | ||||
Harvest | 19741801 | 119 days ago | IN | 0 ETH | 0.00049396 | ||||
Harvest | 19741198 | 119 days ago | IN | 0 ETH | 0.00034586 | ||||
Harvest | 19732848 | 120 days ago | IN | 0 ETH | 0.00098238 | ||||
Harvest | 19726196 | 121 days ago | IN | 0 ETH | 0.00098365 | ||||
Harvest | 19723542 | 121 days ago | IN | 0 ETH | 0.00055716 | ||||
Harvest | 19723050 | 121 days ago | IN | 0 ETH | 0.00057447 | ||||
Harvest | 19714682 | 122 days ago | IN | 0 ETH | 0.00039117 | ||||
Unstake | 19714252 | 122 days ago | IN | 0 ETH | 0.00075947 | ||||
Harvest | 19714232 | 122 days ago | IN | 0 ETH | 0.00040379 | ||||
Harvest | 19714173 | 122 days ago | IN | 0 ETH | 0.00055882 |
Latest 25 internal transactions (View All)
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
19818736 | 108 days ago | 2.64063632 ETH | ||||
19818725 | 108 days ago | 0.08874963 ETH | ||||
19812385 | 109 days ago | 0.01163605 ETH | ||||
19804844 | 110 days ago | 0.03727691 ETH | ||||
19798342 | 111 days ago | 0.01083316 ETH | ||||
19786761 | 112 days ago | 0.05737772 ETH | ||||
19785268 | 112 days ago | 0.0128897 ETH | ||||
19783535 | 113 days ago | 0.02979514 ETH | ||||
19769712 | 115 days ago | 0.01290297 ETH | ||||
19759536 | 116 days ago | 0.02276683 ETH | ||||
19758927 | 116 days ago | 0.02388591 ETH | ||||
19754140 | 117 days ago | 0.01022418 ETH | ||||
19747340 | 118 days ago | 0.0435869 ETH | ||||
19741801 | 119 days ago | 0.00741845 ETH | ||||
19741198 | 119 days ago | 0.02192003 ETH | ||||
19732848 | 120 days ago | 0.01546679 ETH | ||||
19726196 | 121 days ago | 0.02373531 ETH | ||||
19723542 | 121 days ago | 0.03083913 ETH | ||||
19723050 | 121 days ago | 0.23480514 ETH | ||||
19714682 | 122 days ago | 0.01831134 ETH | ||||
19714252 | 122 days ago | 0.00001742 ETH | ||||
19714232 | 122 days ago | 0.00629915 ETH | ||||
19714173 | 122 days ago | 0.03293843 ETH | ||||
19707026 | 123 days ago | 0.33371688 ETH | ||||
19704739 | 124 days ago | 0.00805643 ETH |
Loading...
Loading
Contract Name:
CBYrewards
Compiler Version
v0.8.20+commit.a1b79de6
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-03-01 */ // STAKE CBY EARN ETH REVSHARE //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.20; pragma experimental ABIEncoderV2; contract CBYrewards 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. string public reward = "ETH"; /// @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(0x109548dc14C0b8d7908A168202a4AB08BB449613); } 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; payable(msg.sender).transfer(_pendingReward); stakeToken.safeTransfer(to, amount); emit Unstake(msg.sender, amount, to); emit Harvesting(msg.sender, _pendingReward); } 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; payable(msg.sender).transfer(_pendingReward); } emit Harvesting(to, _pendingReward); } function depositReward() external payable { } 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 { payable(msg.sender).transfer(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":[],"name":"depositReward","outputs":[],"stateMutability":"payable","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":"string","name":"","type":"string"}],"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
60c0604052600360809081526208aa8960eb1b60a0526067906200002490826200011d565b505f606c5534801562000035575f80fd5b50335f908152603460205260409020805460ff191660011790556068805473109548dc14c0b8d7908a168202a4ab08bb4496136001600160a01b0319909116179055620001e5565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620000a657607f821691505b602082108103620000c557634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000118575f81815260208120601f850160051c81016020861015620000f35750805b601f850160051c820191505b818110156200011457828155600101620000ff565b5050505b505050565b81516001600160401b038111156200013957620001396200007d565b62000151816200014a845462000091565b84620000cb565b602080601f83116001811462000187575f84156200016f5750858301515b5f19600386901b1c1916600185901b17855562000114565b5f85815260208120601f198616915b82811015620001b75788860151825594840194600190910190840162000196565b5085821015620001d557878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b6116b480620001f35f395ff3fe60806040526004361061017b575f3560e01c806380292160116100cd578063939d623711610087578063c4d66de811610062578063c4d66de814610406578063c7dab43614610425578063e95034251461043a578063f2fde38b14610459575f80fd5b8063939d6237146103c8578063a9f8d181146103dd578063ade06f93146103f2575f80fd5b8063802921601461032457806380f97f8714610343578063817b1cd2146103625780638381e182146103775780638ae39cac146103965780638da5cb5b146103ab575f80fd5b80634e1e4c7311610138578063547d186411610113578063547d1864146102dc5780635ec2dc8d1461019e578063715018a6146102f15780637acb775714610305575f80fd5b80634e1e4c731461027c5780635137870f1461029157806351ed6a30146102a5575f80fd5b806301f8a9761461017f57806307973ccf146101a05780630e5c011e146101c85780631959a002146101e7578063228cb7331461023c578063370fdc301461025d575b5f80fd5b34801561018a575f80fd5b5061019e6101993660046113d6565b610478565b005b3480156101ab575f80fd5b506101b5606d5481565b6040519081526020015b60405180910390f35b3480156101d3575f80fd5b5061019e6101e2366004611408565b6104d1565b3480156101f2575f80fd5b50610221610201366004611408565b60706020525f908152604090208054600182015460029092015490919083565b604080519384526020840192909252908201526060016101bf565b348015610247575f80fd5b506102506105c6565b6040516101bf9190611443565b348015610268575f80fd5b5061019e6102773660046113d6565b610652565b348015610287575f80fd5b506101b5606e5481565b34801561029c575f80fd5b5061019e61069a565b3480156102b0575f80fd5b506068546102c4906001600160a01b031681565b6040516001600160a01b0390911681526020016101bf565b3480156102e7575f80fd5b506101b5606f5481565b3480156102fc575f80fd5b5061019e610754565b348015610310575f80fd5b5061019e61031f366004611475565b6107a0565b34801561032f575f80fd5b5061019e61033e3660046113d6565b610941565b34801561034e575f80fd5b5061019e61035d3660046113d6565b610989565b34801561036d575f80fd5b506101b560665481565b348015610382575f80fd5b5061019e610391366004611475565b6109fa565b3480156103a1575f80fd5b506101b5606b5481565b3480156103b6575f80fd5b506033546001600160a01b03166102c4565b3480156103d3575f80fd5b506101b560695481565b3480156103e8575f80fd5b506101b5606a5481565b3480156103fd575f80fd5b5061019e610bf8565b348015610411575f80fd5b5061019e610420366004611408565b610cbf565b348015610430575f80fd5b506101b5606c5481565b348015610445575f80fd5b506101b5610454366004611408565b610d58565b348015610464575f80fd5b5061019e610473366004611408565b610e1c565b6033546001600160a01b031633148061049f5750335f9081526034602052604090205460ff165b6104c45760405162461bcd60e51b81526004016104bb9061149f565b60405180910390fd5b6104cc61069a565b606b55565b6104d961069a565b335f908152607060205260408120606954815491929164e8d4a51000916105009190610ecd565b61050a91906114e8565b90505f61052c610527846001015484610ee190919063ffffffff16565b610eec565b600184018390559050801561057d5780606f5f82825461054c9190611507565b9091555050604051339082156108fc029083905f818181858888f1935050505015801561057b573d5f803e3d5ffd5b505b836001600160a01b03167f801ffc6837367a06890ec387f235b8ed31cdc72d39eb94be7424abeac4191bc8826040516105b891815260200190565b60405180910390a250505050565b606780546105d39061151a565b80601f01602080910402602001604051908101604052809291908181526020018280546105ff9061151a565b801561064a5780601f106106215761010080835404028352916020019161064a565b820191905f5260205f20905b81548152906001019060200180831161062d57829003601f168201915b505050505081565b6033546001600160a01b03163314806106795750335f9081526034602052604090205460ff165b6106955760405162461bcd60e51b81526004016104bb9061149f565b606e55565b606a54431115610752576066548015610709575f6106c3606a5443610f4190919063ffffffff16565b90505f6106db606b5483610ecd90919063ffffffff16565b9050610703836106f08364e8d4a51000610ecd565b6106fa91906114e8565b60695490610f4c565b60695550505b43606a81905560695460408051928352602083018490528201527f1f2d1a9fde053af46b5db3dc92a8aa8696e56a677998fdd1311b45be341f78539060600160405180910390a1505b565b6033546001600160a01b031633148061077b5750335f9081526034602052604090205460ff165b6107975760405162461bcd60e51b81526004016104bb9061149f565b6107525f610f57565b335f9081526034602052604090205460ff161561085b576107bf61069a565b6001600160a01b0381165f90815260706020526040812080549091036107f457606d8054905f6107ee83611552565b91905055505b42600282015580546108069084610f4c565b81556069546108369064e8d4a5100090610821908690610ecd565b61082b91906114e8565b600183015490610fa8565b81600101819055508260665f82825461084f9190611507565b909155506108fd915050565b61086361069a565b6001600160a01b0381165f908152607060205260408120805490910361089857606d8054905f61089283611552565b91905055505b42600282015580546108aa9084610f4c565b81556069546108c59064e8d4a5100090610821908690610ecd565b81600101819055508260665f8282546108de9190611507565b90915550506068546108fb906001600160a01b0316333086610fb3565b505b6040518281526001600160a01b0382169033907fcc2e01638b08266366840f4a2ac8755c01e6932f730d5b707835cf4e23a152459060200160405180910390a35050565b6033546001600160a01b03163314806109685750335f9081526034602052604090205460ff165b6109845760405162461bcd60e51b81526004016104bb9061149f565b606c55565b6033546001600160a01b03163314806109b05750335f9081526034602052604090205460ff165b6109cc5760405162461bcd60e51b81526004016104bb9061149f565b604051339082156108fc029083905f818181858888f193505050501580156109f6573d5f803e3d5ffd5b5050565b610a0261069a565b335f908152607060205260409020606c546002820154610a2191610f4c565b421015610a695760405162461bcd60e51b815260206004820152601660248201527556657374696e672074696d652072657175697265732160501b60448201526064016104bb565b60695481545f9164e8d4a5100091610a8091610ecd565b610a8a91906114e8565b90505f610aa7610527846001015484610ee190919063ffffffff16565b9050610ad864e8d4a51000610ac760695488610ecd90919063ffffffff16565b610ad191906114e8565b8390610ee1565b60018401558254610ae99086610f41565b8084555f03610b0757606d8054905f610b018361156a565b91905055505b8015610b245780606f5f828254610b1e9190611507565b90915550505b8460665f828254610b35919061157f565b9091555050604051339082156108fc029083905f818181858888f19350505050158015610b64573d5f803e3d5ffd5b50606854610b7c906001600160a01b03168587611024565b6040518581526001600160a01b0385169033907f379bc14156b62673a2efd113a5b989c8240c2018bf1fa01ee2d3d5915f769d4b9060200160405180910390a360405181815233907f801ffc6837367a06890ec387f235b8ed31cdc72d39eb94be7424abeac4191bc89060200160405180910390a25050505050565b6033546001600160a01b0316331480610c1f5750335f9081526034602052604090205460ff165b610c3b5760405162461bcd60e51b81526004016104bb9061149f565b6068546001600160a01b031663a9059cbb33606e546040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af1158015610c98573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cbc9190611592565b50565b5f54610100900460ff1680610cd657505f5460ff16155b610cf25760405162461bcd60e51b81526004016104bb906115b1565b5f54610100900460ff16158015610d12575f805461ffff19166101011790555b610d1a611059565b5f60698190556001600160a01b0383168152603460205260409020805460ff1916600117905543606a5580156109f6575f805461ff00191690555050565b6001600160a01b0381165f908152607060205260408120606654606954606a5443118015610d8557508115155b15610de3575f610da0606a5443610f4190919063ffffffff16565b90505f610db8606b5483610ecd90919063ffffffff16565b9050610dde84610dcd8364e8d4a51000610ecd565b610dd791906114e8565b8490610f4c565b925050505b60018301548354610e13916105279164e8d4a5100090610e039086610ecd565b610e0d91906114e8565b90610ee1565b95945050505050565b6033546001600160a01b0316331480610e435750335f9081526034602052604090205460ff165b610e5f5760405162461bcd60e51b81526004016104bb9061149f565b6001600160a01b038116610ec45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104bb565b610cbc81610f57565b5f610ed882846115ff565b90505b92915050565b5f610ed88284611616565b5f80821215610f3d5760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f73697469766560448201526064016104bb565b5090565b5f610ed8828461157f565b5f610ed88284611507565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f610ed8828461163c565b6040516001600160a01b038085166024830152831660448201526064810182905261101e9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526110cf565b50505050565b6040516001600160a01b03831660248201526044810182905261105490849063a9059cbb60e01b90606401610fe7565b505050565b5f54610100900460ff168061107057505f5460ff16155b61108c5760405162461bcd60e51b81526004016104bb906115b1565b5f54610100900460ff161580156110ac575f805461ffff19166101011790555b6110b46111a0565b6110bc611205565b8015610cbc575f805461ff001916905550565b5f611123826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112619092919063ffffffff16565b80519091501561105457808060200190518101906111419190611592565b6110545760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016104bb565b5f54610100900460ff16806111b757505f5460ff16155b6111d35760405162461bcd60e51b81526004016104bb906115b1565b5f54610100900460ff161580156110bc575f805461ffff19166101011790558015610cbc575f805461ff001916905550565b5f54610100900460ff168061121c57505f5460ff16155b6112385760405162461bcd60e51b81526004016104bb906115b1565b5f54610100900460ff16158015611258575f805461ffff19166101011790555b6110bc33610f57565b606061126f84845f85611279565b90505b9392505050565b6060824710156112da5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016104bb565b843b6113285760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104bb565b5f80866001600160a01b031685876040516113439190611663565b5f6040518083038185875af1925050503d805f811461137d576040519150601f19603f3d011682016040523d82523d5f602084013e611382565b606091505b509150915061139282828661139d565b979650505050505050565b606083156113ac575081611272565b8251156113bc5782518084602001fd5b8160405162461bcd60e51b81526004016104bb9190611443565b5f602082840312156113e6575f80fd5b5035919050565b80356001600160a01b0381168114611403575f80fd5b919050565b5f60208284031215611418575f80fd5b610ed8826113ed565b5f5b8381101561143b578181015183820152602001611423565b50505f910152565b602081525f8251806020840152611461816040850160208701611421565b601f01601f19169190910160400192915050565b5f8060408385031215611486575f80fd5b82359150611496602084016113ed565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b5f8261150257634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610edb57610edb6114d4565b600181811c9082168061152e57607f821691505b60208210810361154c57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60018201611563576115636114d4565b5060010190565b5f81611578576115786114d4565b505f190190565b81810381811115610edb57610edb6114d4565b5f602082840312156115a2575f80fd5b81518015158114611272575f80fd5b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b8082028115828204841417610edb57610edb6114d4565b8181035f831280158383131683831282161715611635576116356114d4565b5092915050565b8082018281125f83128015821682158216171561165b5761165b6114d4565b505092915050565b5f8251611674818460208701611421565b919091019291505056fea2646970667358221220e68293d213f77ed3ca67a92061b878c3430c465e4de8e58f17081b54278b837864736f6c63430008140033
Deployed Bytecode
0x60806040526004361061017b575f3560e01c806380292160116100cd578063939d623711610087578063c4d66de811610062578063c4d66de814610406578063c7dab43614610425578063e95034251461043a578063f2fde38b14610459575f80fd5b8063939d6237146103c8578063a9f8d181146103dd578063ade06f93146103f2575f80fd5b8063802921601461032457806380f97f8714610343578063817b1cd2146103625780638381e182146103775780638ae39cac146103965780638da5cb5b146103ab575f80fd5b80634e1e4c7311610138578063547d186411610113578063547d1864146102dc5780635ec2dc8d1461019e578063715018a6146102f15780637acb775714610305575f80fd5b80634e1e4c731461027c5780635137870f1461029157806351ed6a30146102a5575f80fd5b806301f8a9761461017f57806307973ccf146101a05780630e5c011e146101c85780631959a002146101e7578063228cb7331461023c578063370fdc301461025d575b5f80fd5b34801561018a575f80fd5b5061019e6101993660046113d6565b610478565b005b3480156101ab575f80fd5b506101b5606d5481565b6040519081526020015b60405180910390f35b3480156101d3575f80fd5b5061019e6101e2366004611408565b6104d1565b3480156101f2575f80fd5b50610221610201366004611408565b60706020525f908152604090208054600182015460029092015490919083565b604080519384526020840192909252908201526060016101bf565b348015610247575f80fd5b506102506105c6565b6040516101bf9190611443565b348015610268575f80fd5b5061019e6102773660046113d6565b610652565b348015610287575f80fd5b506101b5606e5481565b34801561029c575f80fd5b5061019e61069a565b3480156102b0575f80fd5b506068546102c4906001600160a01b031681565b6040516001600160a01b0390911681526020016101bf565b3480156102e7575f80fd5b506101b5606f5481565b3480156102fc575f80fd5b5061019e610754565b348015610310575f80fd5b5061019e61031f366004611475565b6107a0565b34801561032f575f80fd5b5061019e61033e3660046113d6565b610941565b34801561034e575f80fd5b5061019e61035d3660046113d6565b610989565b34801561036d575f80fd5b506101b560665481565b348015610382575f80fd5b5061019e610391366004611475565b6109fa565b3480156103a1575f80fd5b506101b5606b5481565b3480156103b6575f80fd5b506033546001600160a01b03166102c4565b3480156103d3575f80fd5b506101b560695481565b3480156103e8575f80fd5b506101b5606a5481565b3480156103fd575f80fd5b5061019e610bf8565b348015610411575f80fd5b5061019e610420366004611408565b610cbf565b348015610430575f80fd5b506101b5606c5481565b348015610445575f80fd5b506101b5610454366004611408565b610d58565b348015610464575f80fd5b5061019e610473366004611408565b610e1c565b6033546001600160a01b031633148061049f5750335f9081526034602052604090205460ff165b6104c45760405162461bcd60e51b81526004016104bb9061149f565b60405180910390fd5b6104cc61069a565b606b55565b6104d961069a565b335f908152607060205260408120606954815491929164e8d4a51000916105009190610ecd565b61050a91906114e8565b90505f61052c610527846001015484610ee190919063ffffffff16565b610eec565b600184018390559050801561057d5780606f5f82825461054c9190611507565b9091555050604051339082156108fc029083905f818181858888f1935050505015801561057b573d5f803e3d5ffd5b505b836001600160a01b03167f801ffc6837367a06890ec387f235b8ed31cdc72d39eb94be7424abeac4191bc8826040516105b891815260200190565b60405180910390a250505050565b606780546105d39061151a565b80601f01602080910402602001604051908101604052809291908181526020018280546105ff9061151a565b801561064a5780601f106106215761010080835404028352916020019161064a565b820191905f5260205f20905b81548152906001019060200180831161062d57829003601f168201915b505050505081565b6033546001600160a01b03163314806106795750335f9081526034602052604090205460ff165b6106955760405162461bcd60e51b81526004016104bb9061149f565b606e55565b606a54431115610752576066548015610709575f6106c3606a5443610f4190919063ffffffff16565b90505f6106db606b5483610ecd90919063ffffffff16565b9050610703836106f08364e8d4a51000610ecd565b6106fa91906114e8565b60695490610f4c565b60695550505b43606a81905560695460408051928352602083018490528201527f1f2d1a9fde053af46b5db3dc92a8aa8696e56a677998fdd1311b45be341f78539060600160405180910390a1505b565b6033546001600160a01b031633148061077b5750335f9081526034602052604090205460ff165b6107975760405162461bcd60e51b81526004016104bb9061149f565b6107525f610f57565b335f9081526034602052604090205460ff161561085b576107bf61069a565b6001600160a01b0381165f90815260706020526040812080549091036107f457606d8054905f6107ee83611552565b91905055505b42600282015580546108069084610f4c565b81556069546108369064e8d4a5100090610821908690610ecd565b61082b91906114e8565b600183015490610fa8565b81600101819055508260665f82825461084f9190611507565b909155506108fd915050565b61086361069a565b6001600160a01b0381165f908152607060205260408120805490910361089857606d8054905f61089283611552565b91905055505b42600282015580546108aa9084610f4c565b81556069546108c59064e8d4a5100090610821908690610ecd565b81600101819055508260665f8282546108de9190611507565b90915550506068546108fb906001600160a01b0316333086610fb3565b505b6040518281526001600160a01b0382169033907fcc2e01638b08266366840f4a2ac8755c01e6932f730d5b707835cf4e23a152459060200160405180910390a35050565b6033546001600160a01b03163314806109685750335f9081526034602052604090205460ff165b6109845760405162461bcd60e51b81526004016104bb9061149f565b606c55565b6033546001600160a01b03163314806109b05750335f9081526034602052604090205460ff165b6109cc5760405162461bcd60e51b81526004016104bb9061149f565b604051339082156108fc029083905f818181858888f193505050501580156109f6573d5f803e3d5ffd5b5050565b610a0261069a565b335f908152607060205260409020606c546002820154610a2191610f4c565b421015610a695760405162461bcd60e51b815260206004820152601660248201527556657374696e672074696d652072657175697265732160501b60448201526064016104bb565b60695481545f9164e8d4a5100091610a8091610ecd565b610a8a91906114e8565b90505f610aa7610527846001015484610ee190919063ffffffff16565b9050610ad864e8d4a51000610ac760695488610ecd90919063ffffffff16565b610ad191906114e8565b8390610ee1565b60018401558254610ae99086610f41565b8084555f03610b0757606d8054905f610b018361156a565b91905055505b8015610b245780606f5f828254610b1e9190611507565b90915550505b8460665f828254610b35919061157f565b9091555050604051339082156108fc029083905f818181858888f19350505050158015610b64573d5f803e3d5ffd5b50606854610b7c906001600160a01b03168587611024565b6040518581526001600160a01b0385169033907f379bc14156b62673a2efd113a5b989c8240c2018bf1fa01ee2d3d5915f769d4b9060200160405180910390a360405181815233907f801ffc6837367a06890ec387f235b8ed31cdc72d39eb94be7424abeac4191bc89060200160405180910390a25050505050565b6033546001600160a01b0316331480610c1f5750335f9081526034602052604090205460ff165b610c3b5760405162461bcd60e51b81526004016104bb9061149f565b6068546001600160a01b031663a9059cbb33606e546040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303815f875af1158015610c98573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cbc9190611592565b50565b5f54610100900460ff1680610cd657505f5460ff16155b610cf25760405162461bcd60e51b81526004016104bb906115b1565b5f54610100900460ff16158015610d12575f805461ffff19166101011790555b610d1a611059565b5f60698190556001600160a01b0383168152603460205260409020805460ff1916600117905543606a5580156109f6575f805461ff00191690555050565b6001600160a01b0381165f908152607060205260408120606654606954606a5443118015610d8557508115155b15610de3575f610da0606a5443610f4190919063ffffffff16565b90505f610db8606b5483610ecd90919063ffffffff16565b9050610dde84610dcd8364e8d4a51000610ecd565b610dd791906114e8565b8490610f4c565b925050505b60018301548354610e13916105279164e8d4a5100090610e039086610ecd565b610e0d91906114e8565b90610ee1565b95945050505050565b6033546001600160a01b0316331480610e435750335f9081526034602052604090205460ff165b610e5f5760405162461bcd60e51b81526004016104bb9061149f565b6001600160a01b038116610ec45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104bb565b610cbc81610f57565b5f610ed882846115ff565b90505b92915050565b5f610ed88284611616565b5f80821215610f3d5760405162461bcd60e51b815260206004820181905260248201527f53616665436173743a2076616c7565206d75737420626520706f73697469766560448201526064016104bb565b5090565b5f610ed8828461157f565b5f610ed88284611507565b603380546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f610ed8828461163c565b6040516001600160a01b038085166024830152831660448201526064810182905261101e9085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526110cf565b50505050565b6040516001600160a01b03831660248201526044810182905261105490849063a9059cbb60e01b90606401610fe7565b505050565b5f54610100900460ff168061107057505f5460ff16155b61108c5760405162461bcd60e51b81526004016104bb906115b1565b5f54610100900460ff161580156110ac575f805461ffff19166101011790555b6110b46111a0565b6110bc611205565b8015610cbc575f805461ff001916905550565b5f611123826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166112619092919063ffffffff16565b80519091501561105457808060200190518101906111419190611592565b6110545760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016104bb565b5f54610100900460ff16806111b757505f5460ff16155b6111d35760405162461bcd60e51b81526004016104bb906115b1565b5f54610100900460ff161580156110bc575f805461ffff19166101011790558015610cbc575f805461ff001916905550565b5f54610100900460ff168061121c57505f5460ff16155b6112385760405162461bcd60e51b81526004016104bb906115b1565b5f54610100900460ff16158015611258575f805461ffff19166101011790555b6110bc33610f57565b606061126f84845f85611279565b90505b9392505050565b6060824710156112da5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016104bb565b843b6113285760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016104bb565b5f80866001600160a01b031685876040516113439190611663565b5f6040518083038185875af1925050503d805f811461137d576040519150601f19603f3d011682016040523d82523d5f602084013e611382565b606091505b509150915061139282828661139d565b979650505050505050565b606083156113ac575081611272565b8251156113bc5782518084602001fd5b8160405162461bcd60e51b81526004016104bb9190611443565b5f602082840312156113e6575f80fd5b5035919050565b80356001600160a01b0381168114611403575f80fd5b919050565b5f60208284031215611418575f80fd5b610ed8826113ed565b5f5b8381101561143b578181015183820152602001611423565b50505f910152565b602081525f8251806020840152611461816040850160208701611421565b601f01601f19169190910160400192915050565b5f8060408385031215611486575f80fd5b82359150611496602084016113ed565b90509250929050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b5f52601160045260245ffd5b5f8261150257634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115610edb57610edb6114d4565b600181811c9082168061152e57607f821691505b60208210810361154c57634e487b7160e01b5f52602260045260245ffd5b50919050565b5f60018201611563576115636114d4565b5060010190565b5f81611578576115786114d4565b505f190190565b81810381811115610edb57610edb6114d4565b5f602082840312156115a2575f80fd5b81518015158114611272575f80fd5b6020808252602e908201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160408201526d191e481a5b9a5d1a585b1a5e995960921b606082015260800190565b8082028115828204841417610edb57610edb6114d4565b8181035f831280158383131683831282161715611635576116356114d4565b5092915050565b8082018281125f83128015821682158216171561165b5761165b6114d4565b505092915050565b5f8251611674818460208701611421565b919091019291505056fea2646970667358221220e68293d213f77ed3ca67a92061b878c3430c465e4de8e58f17081b54278b837864736f6c63430008140033
Deployed Bytecode Sourcemap
36732:8293:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39152:156;;;;;;;;;;-1:-1:-1;39152:156:0;;;;;:::i;:::-;;:::i;:::-;;37907:24;;;;;;;;;;;;;;;;;;;345:25:1;;;333:2;318:18;37907:24:0;;;;;;;;43758:665;;;;;;;;;;-1:-1:-1;43758:665:0;;;;;:::i;:::-;;:::i;38066:44::-;;;;;;;;;;-1:-1:-1;38066:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;950:25:1;;;1006:2;991:18;;984:34;;;;1034:18;;;1027:34;938:2;923:18;38066:44:0;750:317:1;37418:28:0;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;44611:90::-;;;;;;;;;;-1:-1:-1;44611:90:0;;;;;:::i;:::-;;:::i;37940:27::-;;;;;;;;;;;;;;;;40443:600;;;;;;;;;;;;;:::i;37499:24::-;;;;;;;;;;-1:-1:-1;37499:24:0;;;;-1:-1:-1;;;;;37499:24:0;;;;;;-1:-1:-1;;;;;1906:32:1;;;1888:51;;1876:2;1861:18;37499:24:0;1728:217:1;37974:25:0;;;;;;;;;;;;;;;;36009:94;;;;;;;;;;;;;:::i;41230:1223::-;;;;;;;;;;-1:-1:-1;41230:1223:0;;;;;:::i;:::-;;:::i;44908:112::-;;;;;;;;;;-1:-1:-1;44908:112:0;;;;;:::i;:::-;;:::i;44793:107::-;;;;;;;;;;-1:-1:-1;44793:107:0;;;;;:::i;:::-;;:::i;37334:26::-;;;;;;;;;;;;;;;;42649:1099;;;;;;;;;;-1:-1:-1;42649:1099:0;;;;;:::i;:::-;;:::i;37761:29::-;;;;;;;;;;;;;;;;35328:87;;;;;;;;;;-1:-1:-1;35401:6:0;;-1:-1:-1;;;;;35401:6:0;35328:87;;37587:32;;;;;;;;;;;;;;;;37687:30;;;;;;;;;;;;;;;;44491:112;;;;;;;;;;;;;:::i;38694:200::-;;;;;;;;;;-1:-1:-1;38694:200:0;;;;;:::i;:::-;;:::i;37863:35::-;;;;;;;;;;;;;;;;39563:751;;;;;;;;;;-1:-1:-1;39563:751:0;;;;;:::i;:::-;;:::i;36258:192::-;;;;;;;;;;-1:-1:-1;36258:192:0;;;;;:::i;:::-;;:::i;39152:156::-;35401:6;;-1:-1:-1;;;;;35401:6:0;33880:10;35548:23;;:53;;-1:-1:-1;35590:10:0;35575:26;;;;:13;:26;;;;;;;;35548:53;35540:98;;;;-1:-1:-1;;;35540:98:0;;;;;;;:::i;:::-;;;;;;;;;39235:22:::1;:20;:22::i;:::-;39268:14;:32:::0;39152:156::o;43758:665::-;43805:22;:20;:22::i;:::-;43871:10;43838:21;43862:20;;;:8;:20;;;;;43957:17;;43941:11;;43862:20;;43838:21;37321:4;;43941:34;;:11;:15;:34::i;:::-;:57;;;;:::i;:::-;43893:116;;44020:22;44045:78;:52;44081:4;:15;;;44045:17;:35;;:52;;;;:::i;:::-;:76;:78::i;:::-;44156:15;;;:35;;;44020:103;-1:-1:-1;44233:19:0;;44229:139;;44283:14;44269:10;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;44312:44:0;;44320:10;;44312:44;;;;;44341:14;;44312:44;;;;44341:14;44320:10;44312:44;;;;;;;;;;;;;;;;;;;;;44229:139;44396:2;-1:-1:-1;;;;;44385:30:0;;44400:14;44385:30;;;;345:25:1;;333:2;318:18;;199:177;44385:30:0;;;;;;;;43794:629;;;43758:665;:::o;37418:28::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44611:90::-;35401:6;;-1:-1:-1;;;;;35401:6:0;33880:10;35548:23;;:53;;-1:-1:-1;35590:10:0;35575:26;;;;:13;:26;;;;;;;;35548:53;35540:98;;;;-1:-1:-1;;;35540:98:0;;;;;;;:::i;:::-;44675:12:::1;:18:::0;44611:90::o;40443:600::-;40512:15;;40497:12;:30;40493:543;;;40561:11;;40591:10;;40587:316;;40622:14;40639:33;40656:15;;40639:12;:16;;:33;;;;:::i;:::-;40622:50;;40691:19;40713:26;40724:14;;40713:6;:10;;:26;;;;:::i;:::-;40691:48;-1:-1:-1;40778:109:0;40862:6;40822:37;40691:48;37321:4;40822:15;:37::i;:::-;:46;;;;:::i;:::-;40778:17;;;:21;:109::i;:::-;40758:17;:129;-1:-1:-1;;40587:316:0;40935:12;40917:15;:30;;;41006:17;;40967:57;;;950:25:1;;;1006:2;991:18;;984:34;;;1034:18;;1027:34;40967:57:0;;938:2:1;923:18;40967:57:0;;;;;;;40529:507;40493:543;40443:600::o;36009:94::-;35401:6;;-1:-1:-1;;;;;35401:6:0;33880:10;35548:23;;:53;;-1:-1:-1;35590:10:0;35575:26;;;;:13;:26;;;;;;;;35548:53;35540:98;;;;-1:-1:-1;;;35540:98:0;;;;;;;:::i;:::-;36074:21:::1;36092:1;36074:9;:21::i;41230:1223::-:0;41309:10;41295:25;;;;:13;:25;;;;;;;;41291:1108;;;41337:22;:20;:22::i;:::-;-1:-1:-1;;;;;41398:12:0;;41374:21;41398:12;;;:8;:12;;;;;41431:11;;41398:12;;41431:16;41427:68;;41468:9;:11;;;:9;:11;;;:::i;:::-;;;;;;41427:68;41558:15;41535:20;;;:38;41602:11;;:23;;41618:6;41602:15;:23::i;:::-;41588:37;;41714:17;;41658:113;;37321:4;;41703:29;;:6;;:10;:29::i;:::-;:52;;;;:::i;:::-;41658:15;;;;;:19;:113::i;:::-;41640:4;:15;;:131;;;;41801:6;41786:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;41291:1108:0;;-1:-1:-1;;41291:1108:0;;41840:22;:20;:22::i;:::-;-1:-1:-1;;;;;41901:12:0;;41877:21;41901:12;;;:8;:12;;;;;41934:11;;41901:12;;41934:16;41930:68;;41971:9;:11;;;:9;:11;;;:::i;:::-;;;;;;41930:68;42061:15;42038:20;;;:38;42105:11;;:23;;42121:6;42105:15;:23::i;:::-;42091:37;;42217:17;;42161:113;;37321:4;;42206:29;;:6;;:10;:29::i;42161:113::-;42143:4;:15;;:131;;;;42304:6;42289:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;42325:10:0;;:62;;-1:-1:-1;;;;;42325:10:0;42353;42373:4;42380:6;42325:27;:62::i;:::-;41825:574;41291:1108;42416:29;;345:25:1;;;-1:-1:-1;;;;;42416:29:0;;;42422:10;;42416:29;;333:2:1;318:18;42416:29:0;;;;;;;41230:1223;;:::o;44908:112::-;35401:6;;-1:-1:-1;;;;;35401:6:0;33880:10;35548:23;;:53;;-1:-1:-1;35590:10:0;35575:26;;;;:13;:26;;;;;;;;35548:53;35540:98;;;;-1:-1:-1;;;35540:98:0;;;;;;;:::i;:::-;44985:11:::1;:27:::0;44908:112::o;44793:107::-;35401:6;;-1:-1:-1;;;;;35401:6:0;33880:10;35548:23;;:53;;-1:-1:-1;35590:10:0;35575:26;;;;:13;:26;;;;;;;;35548:53;35540:98;;;;-1:-1:-1;;;35540:98:0;;;;;;;:::i;:::-;44856:36:::1;::::0;44864:10:::1;::::0;44856:36;::::1;;;::::0;44885:6;;44856:36:::1;::::0;;;44885:6;44864:10;44856:36;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;44793:107:::0;:::o;42649:1099::-;42712:22;:20;:22::i;:::-;42778:10;42745:21;42769:20;;;:8;:20;;;;;42852:11;;42827:20;;;;:37;;:24;:37::i;:::-;42808:15;:56;;42800:91;;;;-1:-1:-1;;;42800:91:0;;4313:2:1;42800:91:0;;;4295:21:1;4352:2;4332:18;;;4325:30;-1:-1:-1;;;4371:18:1;;;4364:52;4433:18;;42800:91:0;4111:346:1;42800:91:0;42966:17;;42950:11;;42902:24;;37321:4;;42950:34;;:15;:34::i;:::-;:57;;;;:::i;:::-;42902:116;;43029:22;43054:78;:52;43090:4;:15;;;43054:17;:35;;:52;;;;:::i;:78::-;43029:103;;43183:107;37321:4;43226:29;43237:17;;43226:6;:10;;:29;;;;:::i;:::-;:52;;;;:::i;:::-;43183:17;;:21;:107::i;:::-;43165:15;;;:125;43315:11;;:23;;43331:6;43315:15;:23::i;:::-;43301:37;;;:11;43355:16;43351:60;;43388:9;:11;;;:9;:11;;;:::i;:::-;;;;;;43351:60;43425:19;;43421:80;;43475:14;43461:10;;:28;;;;;;;:::i;:::-;;;;-1:-1:-1;;43421:80:0;43528:6;43513:11;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;;43547:44:0;;43555:10;;43547:44;;;;;43576:14;;43547:44;;;;43576:14;43555:10;43547:44;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43602:10:0;;:35;;-1:-1:-1;;;;;43602:10:0;43626:2;43630:6;43602:23;:35::i;:::-;43655:31;;345:25:1;;;-1:-1:-1;;;;;43655:31:0;;;43663:10;;43655:31;;333:2:1;318:18;43655:31:0;;;;;;;43702:38;;345:25:1;;;43713:10:0;;43702:38;;333:2:1;318:18;43702:38:0;;;;;;;42701:1047;;;42649:1099;;:::o;44491:112::-;35401:6;;-1:-1:-1;;;;;35401:6:0;33880:10;35548:23;;:53;;-1:-1:-1;35590:10:0;35575:26;;;;:13;:26;;;;;;;;35548:53;35540:98;;;;-1:-1:-1;;;35540:98:0;;;;;;;:::i;:::-;44548:10:::1;::::0;-1:-1:-1;;;;;44548:10:0::1;:19;33880:10:::0;44582:12:::1;::::0;44548:47:::1;::::0;-1:-1:-1;;;;;;44548:47:0::1;::::0;;;;;;-1:-1:-1;;;;;4928:32:1;;;44548:47:0::1;::::0;::::1;4910:51:1::0;4977:18;;;4970:34;4883:18;;44548:47:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;44491:112::o:0;38694:200::-;32684:13;;;;;;;;:30;;-1:-1:-1;32702:12:0;;;;32701:13;32684:30;32676:89;;;;-1:-1:-1;;;32676:89:0;;;;;;;:::i;:::-;32778:19;32801:13;;;;;;32800:14;32825:101;;;;32860:13;:20;;-1:-1:-1;;32895:19:0;;;;;32825:101;38761:16:::1;:14;:16::i;:::-;38808:1;38788:17;:21:::0;;;-1:-1:-1;;;;;38820:20:0;::::1;::::0;;:13:::1;:20;::::0;;;;:25;;-1:-1:-1;;38820:25:0::1;38841:4;38820:25;::::0;;38874:12:::1;38856:15;:30:::0;32952:68;;;;33003:5;32987:21;;-1:-1:-1;;32987:21:0;;;32665:362;38694:200;:::o;39563:751::-;-1:-1:-1;;;;;39710:15:0;;39653;39710;;;:8;:15;;;;;39753:11;;39804:17;;39853:15;;39838:12;:30;:45;;;;-1:-1:-1;39872:11:0;;;39838:45;39834:329;;;39900:14;39917:33;39934:15;;39917:12;:16;;:33;;;;:::i;:::-;39900:50;;39965:19;39987:26;39998:14;;39987:6;:10;;:26;;;;:::i;:::-;39965:48;-1:-1:-1;40049:102:0;40130:6;40090:37;39965:48;37321:4;40090:15;:37::i;:::-;:46;;;;:::i;:::-;40049:18;;:22;:102::i;:::-;40028:123;;39885:278;;39834:329;40278:15;;;;40204:11;;40183:123;;:111;;37321:4;;40204:35;;40220:18;40204:15;:35::i;:::-;:58;;;;:::i;:::-;40183:94;;:111::i;:123::-;40173:133;39563:751;-1:-1:-1;;;;;39563:751:0:o;36258:192::-;35401:6;;-1:-1:-1;;;;;35401:6:0;33880:10;35548:23;;:53;;-1:-1:-1;35590:10:0;35575:26;;;;:13;:26;;;;;;;;35548:53;35540:98;;;;-1:-1:-1;;;35540:98:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;36347:22:0;::::1;36339:73;;;::::0;-1:-1:-1;;;36339:73:0;;5914:2:1;36339:73:0::1;::::0;::::1;5896:21:1::0;5953:2;5933:18;;;5926:30;5992:34;5972:18;;;5965:62;-1:-1:-1;;;6043:18:1;;;6036:36;6089:19;;36339:73:0::1;5712:402:1::0;36339:73:0::1;36423:19;36433:8;36423:9;:19::i;27852:98::-:0;27910:7;27937:5;27941:1;27937;:5;:::i;:::-;27930:12;;27852:98;;;;;:::o;23944:95::-;24000:6;24026:5;24030:1;24026;:5;:::i;19116:171::-;19172:7;19209:1;19200:5;:10;;19192:55;;;;-1:-1:-1;;;19192:55:0;;6699:2:1;19192:55:0;;;6681:21:1;;;6718:18;;;6711:30;6777:34;6757:18;;;6750:62;6829:18;;19192:55:0;6497:356:1;19192:55:0;-1:-1:-1;19273:5:0;19116:171::o;27495:98::-;27553:7;27580:5;27584:1;27580;:5;:::i;27114:98::-;27172:7;27199:5;27203:1;27199;:5;:::i;36458:173::-;36533:6;;;-1:-1:-1;;;;;36550:17:0;;;-1:-1:-1;;;;;;36550:17:0;;;;;;;36583:40;;36533:6;;;36550:17;36533:6;;36583:40;;36514:16;;36583:40;36503:128;36458:173;:::o;24284:95::-;24340:6;24366:5;24370:1;24366;:5;:::i;11658:248::-;11829:68;;-1:-1:-1;;;;;7337:15:1;;;11829:68:0;;;7319:34:1;7389:15;;7369:18;;;7362:43;7421:18;;;7414:34;;;11802:96:0;;11822:5;;-1:-1:-1;;;11852:27:0;7254:18:1;;11829:68:0;;;;-1:-1:-1;;11829:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;11829:68:0;-1:-1:-1;;;;;;11829:68:0;;;;;;;;;;11802:19;:96::i;:::-;11658:248;;;;:::o;11439:211::-;11583:58;;-1:-1:-1;;;;;4928:32:1;;11583:58:0;;;4910:51:1;4977:18;;;4970:34;;;11556:86:0;;11576:5;;-1:-1:-1;;;11606:23:0;4883:18:1;;11583:58:0;4736:274:1;11556:86:0;11439:211;;;:::o;34937:129::-;32684:13;;;;;;;;:30;;-1:-1:-1;32702:12:0;;;;32701:13;32684:30;32676:89;;;;-1:-1:-1;;;32676:89:0;;;;;;;:::i;:::-;32778:19;32801:13;;;;;;32800:14;32825:101;;;;32860:13;:20;;-1:-1:-1;;32895:19:0;;;;;32825:101;34995:26:::1;:24;:26::i;:::-;35032;:24;:26::i;:::-;32956:14:::0;32952:68;;;33003:5;32987:21;;-1:-1:-1;;32987:21:0;;;32665:362;34937:129::o;14012:716::-;14436:23;14462:69;14490:4;14462:69;;;;;;;;;;;;;;;;;14470:5;-1:-1:-1;;;;;14462:27:0;;;:69;;;;;:::i;:::-;14546:17;;14436:95;;-1:-1:-1;14546:21:0;14542:179;;14643:10;14632:30;;;;;;;;;;;;:::i;:::-;14624:85;;;;-1:-1:-1;;;14624:85:0;;7661:2:1;14624:85:0;;;7643:21:1;7700:2;7680:18;;;7673:30;7739:34;7719:18;;;7712:62;-1:-1:-1;;;7790:18:1;;;7783:40;7840:19;;14624:85:0;7459:406:1;33729:65:0;32684:13;;;;;;;;:30;;-1:-1:-1;32702:12:0;;;;32701:13;32684:30;32676:89;;;;-1:-1:-1;;;32676:89:0;;;;;;;:::i;:::-;32778:19;32801:13;;;;;;32800:14;32825:101;;;;32860:13;:20;;-1:-1:-1;;32895:19:0;;;;;32952:68;;;;33003:5;32987:21;;-1:-1:-1;;32987:21:0;;;32665:362;33729:65::o;35074:99::-;32684:13;;;;;;;;:30;;-1:-1:-1;32702:12:0;;;;32701:13;32684:30;32676:89;;;;-1:-1:-1;;;32676:89:0;;;;;;;:::i;:::-;32778:19;32801:13;;;;;;32800:14;32825:101;;;;32860:13;:20;;-1:-1:-1;;32895:19:0;;;;;32825:101;35142:23:::1;33880:10:::0;35142:9:::1;:23::i;3587:229::-:0;3724:12;3756:52;3778:6;3786:4;3792:1;3795:12;3756:21;:52::i;:::-;3749:59;;3587:229;;;;;;:::o;4707:510::-;4877:12;4935:5;4910:21;:30;;4902:81;;;;-1:-1:-1;;;4902:81:0;;8072:2:1;4902:81:0;;;8054:21:1;8111:2;8091:18;;;8084:30;8150:34;8130:18;;;8123:62;-1:-1:-1;;;8201:18:1;;;8194:36;8247:19;;4902:81:0;7870:402:1;4902:81:0;1104:20;;4994:60;;;;-1:-1:-1;;;4994:60:0;;8479:2:1;4994:60:0;;;8461:21:1;8518:2;8498:18;;;8491:30;8557:31;8537:18;;;8530:59;8606:18;;4994:60:0;8277:353:1;4994:60:0;5068:12;5082:23;5109:6;-1:-1:-1;;;;;5109:11:0;5128:5;5135:4;5109:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5067:73;;;;5158:51;5175:7;5184:10;5196:12;5158:16;:51::i;:::-;5151:58;4707:510;-1:-1:-1;;;;;;;4707:510:0:o;7393:712::-;7543:12;7572:7;7568:530;;;-1:-1:-1;7603:10:0;7596:17;;7568:530;7717:17;;:21;7713:374;;7915:10;7909:17;7976:15;7963:10;7959:2;7955:19;7948:44;7713:374;8058:12;8051:20;;-1:-1:-1;;;8051: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;1072:250::-;1157:1;1167:113;1181:6;1178:1;1175:13;1167:113;;;1257:11;;;1251:18;1238:11;;;1231:39;1203:2;1196:10;1167:113;;;-1:-1:-1;;1314:1:1;1296:16;;1289:27;1072:250::o;1327:396::-;1476:2;1465:9;1458:21;1439:4;1508:6;1502:13;1551:6;1546:2;1535:9;1531:18;1524:34;1567:79;1639:6;1634:2;1623:9;1619:18;1614:2;1606:6;1602:15;1567:79;:::i;:::-;1707:2;1686:15;-1:-1:-1;;1682:29:1;1667:45;;;;1714:2;1663:54;;1327:396;-1:-1:-1;;1327:396:1:o;1950:254::-;2018:6;2026;2079:2;2067:9;2058:7;2054:23;2050:32;2047:52;;;2095:1;2092;2085:12;2047:52;2131:9;2118:23;2108:33;;2160:38;2194:2;2183:9;2179:18;2160:38;:::i;:::-;2150:48;;1950:254;;;;;:::o;2417:356::-;2619:2;2601:21;;;2638:18;;;2631:30;2697:34;2692:2;2677:18;;2670:62;2764:2;2749:18;;2417:356::o;2778:127::-;2839:10;2834:3;2830:20;2827:1;2820:31;2870:4;2867:1;2860:15;2894:4;2891:1;2884:15;2910:217;2950:1;2976;2966:132;;3020:10;3015:3;3011:20;3008:1;3001:31;3055:4;3052:1;3045:15;3083:4;3080:1;3073:15;2966:132;-1:-1:-1;3112:9:1;;2910:217::o;3132:125::-;3197:9;;;3218:10;;;3215:36;;;3231:18;;:::i;3262:380::-;3341:1;3337:12;;;;3384;;;3405:61;;3459:4;3451:6;3447:17;3437:27;;3405:61;3512:2;3504:6;3501:14;3481:18;3478:38;3475:161;;3558:10;3553:3;3549:20;3546:1;3539:31;3593:4;3590:1;3583:15;3621:4;3618:1;3611:15;3475:161;;3262:380;;;:::o;3971:135::-;4010:3;4031:17;;;4028:43;;4051:18;;:::i;:::-;-1:-1:-1;4098:1:1;4087:13;;3971:135::o;4462:136::-;4501:3;4529:5;4519:39;;4538:18;;:::i;:::-;-1:-1:-1;;;4574:18:1;;4462:136::o;4603:128::-;4670:9;;;4691:11;;;4688:37;;;4705:18;;:::i;5015:277::-;5082:6;5135:2;5123:9;5114:7;5110:23;5106:32;5103:52;;;5151:1;5148;5141:12;5103:52;5183:9;5177:16;5236:5;5229:13;5222:21;5215:5;5212:32;5202:60;;5258:1;5255;5248:12;5297:410;5499:2;5481:21;;;5538:2;5518:18;;;5511:30;5577:34;5572:2;5557:18;;5550:62;-1:-1:-1;;;5643:2:1;5628:18;;5621:44;5697:3;5682:19;;5297:410::o;6119:168::-;6192:9;;;6223;;6240:15;;;6234:22;;6220:37;6210:71;;6261:18;;:::i;6292:200::-;6358:9;;;6331:4;6386:9;;6414:10;;6426:12;;;6410:29;6449:12;;;6441:21;;6407:56;6404:82;;;6466:18;;:::i;:::-;6404:82;6292:200;;;;:::o;6858:216::-;6922:9;;;6950:11;;;6897:3;6980:9;;7008:10;;7004:19;;7033:10;;7025:19;;7001:44;6998:70;;;7048:18;;:::i;:::-;6998:70;;6858:216;;;;:::o;8635:287::-;8764:3;8802:6;8796:13;8818:66;8877:6;8872:3;8865:4;8857:6;8853:17;8818:66;:::i;:::-;8900:16;;;;;8635:287;-1:-1:-1;;8635:287:1:o
Swarm Source
ipfs://e68293d213f77ed3ca67a92061b878c3430c465e4de8e58f17081b54278b8378
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ 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.