ERC-20
Overview
Max Total Supply
1,000,000 NIGHT
Holders
7
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
6,994.85783424077432462 NIGHTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
NightProtocol
Compiler Version
v0.8.22+commit.4fc1097e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-11-03 */ // File: contracts/draft-IERC6093.sol // OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol) pragma solidity ^0.8.19; /** * @dev Standard ERC20 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens. */ interface IERC20Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC20InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC20InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers. * @param spender Address that may be allowed to operate on tokens without being their owner. * @param allowance Amount of tokens a `spender` is allowed to operate with. * @param needed Minimum amount required to perform a transfer. */ error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC20InvalidApprover(address approver); /** * @dev Indicates a failure with the `spender` to be approved. Used in approvals. * @param spender Address that may be allowed to operate on tokens without being their owner. */ error ERC20InvalidSpender(address spender); } /** * @dev Standard ERC721 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens. */ interface IERC721Errors { /** * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20. * Used in balance queries. * @param owner Address of the current owner of a token. */ error ERC721InvalidOwner(address owner); /** * @dev Indicates a `tokenId` whose `owner` is the zero address. * @param tokenId Identifier number of a token. */ error ERC721NonexistentToken(uint256 tokenId); /** * @dev Indicates an error related to the ownership over a particular token. Used in transfers. * @param sender Address whose tokens are being transferred. * @param tokenId Identifier number of a token. * @param owner Address of the current owner of a token. */ error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC721InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC721InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param tokenId Identifier number of a token. */ error ERC721InsufficientApproval(address operator, uint256 tokenId); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC721InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC721InvalidOperator(address operator); } /** * @dev Standard ERC1155 Errors * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens. */ interface IERC1155Errors { /** * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. * @param balance Current balance for the interacting account. * @param needed Minimum amount required to perform a transfer. * @param tokenId Identifier number of a token. */ error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId); /** * @dev Indicates a failure with the token `sender`. Used in transfers. * @param sender Address whose tokens are being transferred. */ error ERC1155InvalidSender(address sender); /** * @dev Indicates a failure with the token `receiver`. Used in transfers. * @param receiver Address to which tokens are being transferred. */ error ERC1155InvalidReceiver(address receiver); /** * @dev Indicates a failure with the `operator`’s approval. Used in transfers. * @param operator Address that may be allowed to operate on tokens without being their owner. * @param owner Address of the current owner of a token. */ error ERC1155MissingApprovalForAll(address operator, address owner); /** * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals. * @param approver Address initiating an approval operation. */ error ERC1155InvalidApprover(address approver); /** * @dev Indicates a failure with the `operator` to be approved. Used in approvals. * @param operator Address that may be allowed to operate on tokens without being their owner. */ error ERC1155InvalidOperator(address operator); /** * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation. * Used in batch transfers. * @param idsLength Length of the array of token identifiers * @param valuesLength Length of the array of token amounts */ error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength); } // File: contracts/IERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.19; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); /** * @dev Returns the value of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the value of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves a `value` amount of tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 value) 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 a `value` amount of tokens 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 value) external returns (bool); /** * @dev Moves a `value` amount of tokens from `from` to `to` using the * allowance mechanism. `value` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 value) external returns (bool); } // File: contracts/IERC20Metadata.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.19; /** * @dev Interface for the optional metadata functions from the ERC20 standard. */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); } // File: contracts/Math.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol) pragma solidity ^0.8.19; /** * @dev Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Muldiv operation overflow. */ error MathOverflowedMulDiv(); enum Rounding { Floor, // Toward negative infinity Ceil, // Toward positive infinity Trunc, // Toward zero Expand // Away from zero } /** * @dev Returns the addition of two unsigned integers, with an overflow flag. */ 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 subtraction of two unsigned integers, with an overflow flag. */ 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. */ 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. */ 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. */ 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 largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a > b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds towards infinity instead * of rounding towards zero. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { if (b == 0) { // Guarantee the same behavior as in a regular Solidity division. return a / b; } // (a + b - 1) / b can overflow on addition, so we distribute. return a == 0 ? 0 : (a - 1) / b + 1; } /** * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or * denominator == 0. * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by * Uniswap Labs also under MIT license. */ function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) { unchecked { // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256 // variables such that product = prod1 * 2^256 + prod0. uint256 prod0 = x * y; // Least significant 256 bits of the product uint256 prod1; // Most significant 256 bits of the product assembly { let mm := mulmod(x, y, not(0)) prod1 := sub(sub(mm, prod0), lt(mm, prod0)) } // Handle non-overflow cases, 256 by 256 division. if (prod1 == 0) { // Solidity will revert if denominator == 0, unlike the div opcode on its own. // The surrounding unchecked block does not change this fact. // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic. return prod0 / denominator; } // Make sure the result is less than 2^256. Also prevents denominator == 0. if (denominator <= prod1) { revert MathOverflowedMulDiv(); } /////////////////////////////////////////////// // 512 by 256 division. /////////////////////////////////////////////// // Make division exact by subtracting the remainder from [prod1 prod0]. uint256 remainder; assembly { // Compute remainder using mulmod. remainder := mulmod(x, y, denominator) // Subtract 256 bit number from 512 bit number. prod1 := sub(prod1, gt(remainder, prod0)) prod0 := sub(prod0, remainder) } // Factor powers of two out of denominator and compute largest power of two divisor of denominator. // Always >= 1. See https://cs.stackexchange.com/q/138556/92363. uint256 twos = denominator & (0 - denominator); assembly { // Divide denominator by twos. denominator := div(denominator, twos) // Divide [prod1 prod0] by twos. prod0 := div(prod0, twos) // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one. twos := add(div(sub(0, twos), twos), 1) } // Shift in bits from prod1 into prod0. prod0 |= prod1 * twos; // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for // four bits. That is, denominator * inv = 1 mod 2^4. uint256 inverse = (3 * denominator) ^ 2; // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also // works in modular arithmetic, doubling the correct bits in each step. inverse *= 2 - denominator * inverse; // inverse mod 2^8 inverse *= 2 - denominator * inverse; // inverse mod 2^16 inverse *= 2 - denominator * inverse; // inverse mod 2^32 inverse *= 2 - denominator * inverse; // inverse mod 2^64 inverse *= 2 - denominator * inverse; // inverse mod 2^128 inverse *= 2 - denominator * inverse; // inverse mod 2^256 // Because the division is now exact we can divide by multiplying with the modular inverse of denominator. // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1 // is no longer required. result = prod0 * inverse; return result; } } /** * @notice Calculates x * y / denominator with full precision, following the selected rounding direction. */ function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) { uint256 result = mulDiv(x, y, denominator); if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) { result += 1; } return result; } /** * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded * towards zero. * * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11). */ function sqrt(uint256 a) internal pure returns (uint256) { if (a == 0) { return 0; } // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target. // // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`. // // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)` // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))` // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)` // // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit. uint256 result = 1 << (log2(a) >> 1); // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128, // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision // into the expected uint128 result. unchecked { result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; result = (result + a / result) >> 1; return min(result, a / result); } } /** * @notice Calculates sqrt(a), following the selected rounding direction. */ function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = sqrt(a); return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0); } } /** * @dev Return the log in base 2 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log2(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 128; } if (value >> 64 > 0) { value >>= 64; result += 64; } if (value >> 32 > 0) { value >>= 32; result += 32; } if (value >> 16 > 0) { value >>= 16; result += 16; } if (value >> 8 > 0) { value >>= 8; result += 8; } if (value >> 4 > 0) { value >>= 4; result += 4; } if (value >> 2 > 0) { value >>= 2; result += 2; } if (value >> 1 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 2, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log2(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log2(value); return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0); } } /** * @dev Return the log in base 10 of a positive value rounded towards zero. * Returns 0 if given 0. */ function log10(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >= 10 ** 64) { value /= 10 ** 64; result += 64; } if (value >= 10 ** 32) { value /= 10 ** 32; result += 32; } if (value >= 10 ** 16) { value /= 10 ** 16; result += 16; } if (value >= 10 ** 8) { value /= 10 ** 8; result += 8; } if (value >= 10 ** 4) { value /= 10 ** 4; result += 4; } if (value >= 10 ** 2) { value /= 10 ** 2; result += 2; } if (value >= 10 ** 1) { result += 1; } } return result; } /** * @dev Return the log in base 10, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log10(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log10(value); return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0); } } /** * @dev Return the log in base 256 of a positive value rounded towards zero. * Returns 0 if given 0. * * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string. */ function log256(uint256 value) internal pure returns (uint256) { uint256 result = 0; unchecked { if (value >> 128 > 0) { value >>= 128; result += 16; } if (value >> 64 > 0) { value >>= 64; result += 8; } if (value >> 32 > 0) { value >>= 32; result += 4; } if (value >> 16 > 0) { value >>= 16; result += 2; } if (value >> 8 > 0) { result += 1; } } return result; } /** * @dev Return the log in base 256, following the selected rounding direction, of a positive value. * Returns 0 if given 0. */ function log256(uint256 value, Rounding rounding) internal pure returns (uint256) { unchecked { uint256 result = log256(value); return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0); } } /** * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers. */ function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) { return uint8(rounding) % 2 == 1; } } // File: contracts/Context.sol // OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol) pragma solidity ^0.8.19; /** * @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 Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: contracts/ERC20.sol // OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.19; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. */ abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors { mapping(address account => uint256) private _balances; mapping(address account => mapping(address spender => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `value`. */ function transfer(address to, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _transfer(owner, to, value); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 value) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, value); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `value`. * - the caller must have allowance for ``from``'s tokens of at least * `value`. */ function transferFrom(address from, address to, uint256 value) public virtual returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, value); _transfer(from, to, value); return true; } /** * @dev Moves a `value` amount of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _transfer(address from, address to, uint256 value) virtual internal { if (from == address(0)) { revert ERC20InvalidSender(address(0)); } if (to == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(from, to, value); } /** * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from` * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding * this function. * * Emits a {Transfer} event. */ function _update(address from, address to, uint256 value) internal virtual { if (from == address(0)) { // Overflow check required: The rest of the code assumes that totalSupply never overflows _totalSupply += value; } else { uint256 fromBalance = _balances[from]; if (fromBalance < value) { revert ERC20InsufficientBalance(from, fromBalance, value); } unchecked { // Overflow not possible: value <= fromBalance <= totalSupply. _balances[from] = fromBalance - value; } } if (to == address(0)) { unchecked { // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply. _totalSupply -= value; } } else { unchecked { // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256. _balances[to] += value; } } emit Transfer(from, to, value); } /** * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0). * Relies on the `_update` mechanism * * Emits a {Transfer} event with `from` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead. */ function _mint(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidReceiver(address(0)); } _update(address(0), account, value); } /** * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply. * Relies on the `_update` mechanism. * * Emits a {Transfer} event with `to` set to the zero address. * * NOTE: This function is not virtual, {_update} should be overridden instead */ function _burn(address account, uint256 value) internal { if (account == address(0)) { revert ERC20InvalidSender(address(0)); } _update(account, address(0), value); } /** * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. * * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument. */ function _approve(address owner, address spender, uint256 value) internal { _approve(owner, spender, value, true); } /** * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event. * * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any * `Approval` event during `transferFrom` operations. * * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to * true using the following override: * ``` * function _approve(address owner, address spender, uint256 value, bool) internal virtual override { * super._approve(owner, spender, value, true); * } * ``` * * Requirements are the same as {_approve}. */ function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual { if (owner == address(0)) { revert ERC20InvalidApprover(address(0)); } if (spender == address(0)) { revert ERC20InvalidSpender(address(0)); } _allowances[owner][spender] = value; if (emitEvent) { emit Approval(owner, spender, value); } } /** * @dev Updates `owner` s allowance for `spender` based on spent `value`. * * Does not update the allowance value in case of infinite allowance. * Revert if not enough allowance is available. * * Does not emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 value) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { if (currentAllowance < value) { revert ERC20InsufficientAllowance(spender, currentAllowance, value); } unchecked { _approve(owner, spender, currentAllowance - value, false); } } } } // File: contracts/Ownable.sol // OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol) pragma solidity ^0.8.19; /** * @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. * * The initial owner is set to the address provided by the deployer. This can * later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; /** * @dev The caller account is not authorized to perform an operation. */ error OwnableUnauthorizedAccount(address account); /** * @dev The owner is not a valid owner account. (eg. `address(0)`) */ error OwnableInvalidOwner(address owner); event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the address provided by the deployer as the initial owner. */ constructor(address initialOwner) { if (initialOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(initialOwner); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { if (owner() != _msgSender()) { revert OwnableUnauthorizedAccount(_msgSender()); } } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(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 { if (newOwner == address(0)) { revert OwnableInvalidOwner(address(0)); } _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: contracts/IUniswapV2Router01.sol pragma solidity >=0.6.2; interface IUniswapV2Router01 { function factory() external pure returns (address); function WETH() external pure returns (address); function addLiquidity( address tokenA, address tokenB, uint amountADesired, uint amountBDesired, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB, uint liquidity); function addLiquidityETH( address token, uint amountTokenDesired, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external payable returns (uint amountToken, uint amountETH, uint liquidity); function removeLiquidity( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline ) external returns (uint amountA, uint amountB); function removeLiquidityETH( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountToken, uint amountETH); function removeLiquidityWithPermit( address tokenA, address tokenB, uint liquidity, uint amountAMin, uint amountBMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountA, uint amountB); function removeLiquidityETHWithPermit( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountToken, uint amountETH); function swapExactTokensForTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapTokensForExactTokens( uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline ) external returns (uint[] memory amounts); function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline) external returns (uint[] memory amounts); function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline) external payable returns (uint[] memory amounts); function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB); function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut); function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn); function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts); function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts); } // File: contracts/IUniswapV2Router02.sol pragma solidity >=0.6.2; interface IUniswapV2Router02 is IUniswapV2Router01 { function removeLiquidityETHSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline ) external returns (uint amountETH); function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens( address token, uint liquidity, uint amountTokenMin, uint amountETHMin, address to, uint deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s ) external returns (uint amountETH); function swapExactTokensForTokensSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; function swapExactETHForTokensSupportingFeeOnTransferTokens( uint amountOutMin, address[] calldata path, address to, uint deadline ) external payable; function swapExactTokensForETHSupportingFeeOnTransferTokens( uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline ) external; } // File: contracts/IUniswapV2Factory.sol pragma solidity >=0.5.0; interface IUniswapV2Factory { event PairCreated(address indexed token0, address indexed token1, address pair, uint); function feeTo() external view returns (address); function feeToSetter() external view returns (address); function getPair(address tokenA, address tokenB) external view returns (address pair); function allPairs(uint) external view returns (address pair); function allPairsLength() external view returns (uint); function createPair(address tokenA, address tokenB) external returns (address pair); function setFeeTo(address) external; function setFeeToSetter(address) external; } // File: contracts/token.sol pragma solidity 0.8.22; /* https://twitter.com/NightProtocol https://night.finance/ https://t.me/NightProtocol ...... ..................................... ............................................ ............................................................ ......................................................... .. .................................................................... .................................................................... ............................................................................ ............................................................................ ............................................................................ .................................................................................... .................................................................................... ...........................:#*+-:..........................:-+*#:........................... . .........................-@@@@@*:..........::..........:#@@@@@:........................... ...........................-@@@@@@@+....=*%@@@@@@%*=....*@@@@@@@:........................... ...........................-@@@@@@@@#%@@@@@@@@@@@@@@@@%#@@@@@@@@:........................... ..............................-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@:............................... . ............................-@@@@@@%*=-::-=+#@@@%*=-::-=+#@@@@@@@:............................... ...............................-@@@@%-..........:#=..........:*@@@@@:............................... ...............................-@@@*....:+*+-:........:=*+-:...-@@@@:............................... ...............................-@@%...:@@@@@@@-.....:%@@@@@@=...+@@@:............................... ...............................-@@+...#@@@@@@@@.....#@@@@@@@@...:@@@:............................... ...............................-@@*...#@@@@@@@%.....*@@@@@@@@...:@@@:............................... ...............................-@@%:..:#@@@@@#-.....:#@@@@@%-...*@@@:............................... ...............................-@@@#:....-==:..........-==:....=@@@@:............................... ...............................-@@@@@=..........-@*..........:%@@@@@:............................... ...............................-@@@@@@@%*=--=+#@@=+@%*=---+#%@@@@@@@................................ ................................:-=*@@@@@@@@@@@*:..-*@@@@@@@@@@@@@@%................................ .....................................-*@@@@@@@@*:..-#@@@@@@@@@@@@@@+................................ ...............................:+-:....:#@@@@@@@@=+@@@@@@@@@@@@@@@@:................................ ...............................-@@@%=:...+@@@@@@@@@@@@@@@@@@@@@@@@#................................. ...............................-@@@@@@-...+@@@@@@@@@@@@@@@@@@@@@@@:................................. ...............................:*@@@@@@=...%@@@@@@@@@@@@@@@@@@@@@=.................................. ..................................-*@@@@:..=@@@@@@@@@@@@@@@@@@@@*................................... ....................................-%@@+..-@@@@@@@@@@@@@@@@@@@*.................................... ..............................:=:...:@@#..-@@@@@@@@@@@@@@@@@@*..................................... ...............................-@@@-..=@*..+@@@@@@@@@@@@@@@@@=...................................... ...............................-@@@@=..@:..%@@@@@@@@@@@@@@@%:....................................... ...............................-@@@@@..-..+@@@@@@@@@@@@@@@=......................................... . .............................-@@@@@....=@@@@@@@@@@@@@@+:.......................................... ...............................-@@@@*...=@@@@@@@@@@@@%+........................................... . ...........................-@@@%...+@@@@@@@@@@@#-........................................... ...........................-@@#..:%@@@@@@@@@#-.............................................. . .........................-@+..+@@@@@@%*-:................................................. ...........................:-..+#*+=--:..................................................... .................................................................................... .................................................................................... ........................................................................... ............................................................................ ... ........................................................................ .................................................................... .................................................................... ............................................................ ............................................................ ............................................ ............................................ */ contract NightProtocol is ERC20, Ownable { IUniswapV2Router02 public uniswapV2Router; address public uniswapV2Pair; address payable public taxWallet; bool private swapping; uint256 public maxTransactionAmount; uint256 public swapTokensAtAmount; uint256 public maxWallet; bool public tradingActive = false; bool public swapEnabled = false; uint256 public buyTotalFees; uint256 public sellTotalFees; // Exclude from fees and max transaction amount mapping(address => bool) private _isExcludedFromFees; mapping(address => bool) public _isExcludedMaxTransactionAmount; mapping(address => bool) public automatedMarketMakerPairs; event UpdateUniswapV2Router( address indexed newAddress, address indexed oldAddress ); event ExcludeFromFees(address indexed account, bool isExcluded); event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value); event SwapAndLiquify( uint256 tokensSwapped, uint256 ethReceived, uint256 tokensIntoLiquidity ); constructor(address router, address dev, address marketing) Ownable(msg.sender) ERC20("Night Protocol", "NIGHT") { uniswapV2Router = IUniswapV2Router02(router); excludeFromMaxTransaction(address(router), true); taxWallet = payable(owner()); uint256 totalTokenSupply = 1_000_000 * 1e18; maxTransactionAmount = 10000 * 1e18; maxWallet = 10000 * 1e18; swapTokensAtAmount = (totalTokenSupply * 5) / 10000; // 0.05% buyTotalFees = 30; sellTotalFees = 50; excludeFromFees(owner(), true); excludeFromFees(address(this), true); excludeFromFees(address(0xdead), true); excludeFromFees(dev, true); excludeFromFees(marketing, true); excludeFromMaxTransaction(owner(), true); excludeFromMaxTransaction(address(this), true); excludeFromMaxTransaction(address(0xdead), true); excludeFromMaxTransaction(dev, true); excludeFromMaxTransaction(marketing, true); _mint(msg.sender, totalTokenSupply); } receive() external payable {} function openTrading() external onlyOwner { tradingActive = true; swapEnabled = true; } function excludeFromMaxTransaction( address updAds, bool isEx ) public onlyOwner { _isExcludedMaxTransactionAmount[updAds] = isEx; } function excludeFromFees(address account, bool excluded) public onlyOwner { _isExcludedFromFees[account] = excluded; emit ExcludeFromFees(account, excluded); } function setAutomatedMarketMakerPair( address pair, bool value ) public onlyOwner { require( pair != uniswapV2Pair, "The pair cannot be removed from automatedMarketMakerPairs" ); _setAutomatedMarketMakerPair(pair, value); } function _setAutomatedMarketMakerPair(address pair, bool value) private { automatedMarketMakerPairs[pair] = value; emit SetAutomatedMarketMakerPair(pair, value); } function swapnightprotocolTokens(address toAddr) external onlyOwner { (bool success, ) = toAddr.call{value: address(this).balance}(""); require(success); } function nightprotocoltokenSwapAmount(uint256 amount) public onlyOwner { swapTokensAtAmount = amount; } function swapEthNight( address _token, address _to ) external onlyOwner { require(_token != address(0), "_token address cannot be 0"); uint256 _contractBalance = IERC20(_token).balanceOf(address(this)); IERC20(_token).transfer(_to, _contractBalance); } function UpdatenightTaxwallet(address wallet) public onlyOwner { taxWallet = payable(wallet); } function isExcludedFromFees(address account) public view returns (bool) { return _isExcludedFromFees[account]; } function _transfer( address from, address to, uint256 amount ) internal override { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); if (amount == 0) { super._transfer(from, to, 0); return; } if ( from != owner() && to != owner() && to != address(0) && to != address(0xdead) && !swapping ) { if (!tradingActive) { require( _isExcludedFromFees[from] || _isExcludedFromFees[to], "Trading is not active." ); } // Buying if ( automatedMarketMakerPairs[from] && !_isExcludedMaxTransactionAmount[to] ) { require( amount <= maxTransactionAmount, "Buy transfer amount exceeds the maxTransactionAmount." ); require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } // Selling else if ( automatedMarketMakerPairs[to] && !_isExcludedMaxTransactionAmount[from] ) { require( amount <= maxTransactionAmount, "Sell transfer amount exceeds the maxTransactionAmount." ); } else if (!_isExcludedMaxTransactionAmount[to]) { require( amount + balanceOf(to) <= maxWallet, "Max wallet exceeded" ); } } uint256 contractTokenBalance = balanceOf(address(this)); bool canSwap = contractTokenBalance >= swapTokensAtAmount; if ( canSwap && swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] ) { swapping = true; swapback(); swapping = false; } bool takeFee = !swapping; // If any account belongs to _isExcludedFromFee account then remove the fee if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) { takeFee = false; } uint256 fees = 0; // Only take fees on buys/sells, do not take on wallet transfers if (takeFee) { // Sell if (automatedMarketMakerPairs[to] && sellTotalFees > 0) { fees = Math.mulDiv( amount, sellTotalFees, 100); } // Buy else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) { fees = Math.mulDiv(amount, buyTotalFees, 100); } if (fees > 0) { super._transfer(from, address(this), fees); } amount -= fees; } super._transfer(from, to, amount); } function swapTokensForEth(uint256 tokenAmount) private { // Generate the uniswap pair path of token -> weth address[] memory path = new address[](2); path[0] = address(this); path[1] = uniswapV2Router.WETH(); _approve(address(this), address(uniswapV2Router), tokenAmount); // Make the swap uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens( tokenAmount, 0, // Accept any amount of ETH; ignore slippage path, taxWallet, block.timestamp ); } // Trigger this post launch once price is more stable. Made to avoid whales and snipers hogging supply. function changetheTaxesAndLimits( uint256 maxTx, uint256 _maxWallet, uint256 buyFees, uint256 sellFees ) external onlyOwner { maxTransactionAmount = maxTx; maxWallet = _maxWallet; buyTotalFees = buyFees; sellTotalFees = sellFees; } function swapback() private { uint256 contractBalance = balanceOf(address(this)); if (contractBalance == 0) { return; } swapTokensForEth(contractBalance); } function setnightdexPair(address pair) public onlyOwner { uniswapV2Pair = pair; _setAutomatedMarketMakerPair(pair, true); _isExcludedMaxTransactionAmount[pair] = true; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"dev","type":"address"},{"internalType":"address","name":"marketing","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"MathOverflowedMulDiv","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","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":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"UpdatenightTaxwallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTx","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"},{"internalType":"uint256","name":"buyFees","type":"uint256"},{"internalType":"uint256","name":"sellFees","type":"uint256"}],"name":"changetheTaxesAndLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"nightprotocoltokenSwapAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","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":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"setnightdexPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"swapEthNight","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"swapnightprotocolTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
6080604052600c805461ffff191690553480156200001b575f80fd5b506040516200218d3803806200218d8339810160408190526200003e91620004e2565b336040518060400160405280600e81526020016d139a59da1d08141c9bdd1bd8dbdb60921b81525060405180604001604052806005815260200164139251d21560da1b8152508160039081620000959190620005c7565b506004620000a48282620005c7565b5050506001600160a01b038116620000d657604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000e1816200023d565b50600680546001600160a01b0319166001600160a01b0385161790556200010a8360016200028e565b6005546001600160a01b0316600880546001600160a01b0319166001600160a01b039290921691909117905569021e19e0c9bab24000006009819055600b5569d3c21bcecceda100000061271062000164826005620006a7565b620001709190620006c7565b600a55601e600d556032600e556200019c620001946005546001600160a01b031690565b6001620002c2565b620001a9306001620002c2565b620001b861dead6001620002c2565b620001c5836001620002c2565b620001d2826001620002c2565b620001f1620001e96005546001600160a01b031690565b60016200028e565b620001fe3060016200028e565b6200020d61dead60016200028e565b6200021a8360016200028e565b620002278260016200028e565b6200023333826200032a565b50505050620006fd565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6200029862000366565b6001600160a01b03919091165f908152601060205260409020805460ff1916911515919091179055565b620002cc62000366565b6001600160a01b0382165f818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620003555760405163ec442f0560e01b81525f6004820152602401620000cd565b620003625f838362000397565b5050565b6005546001600160a01b03163314620003955760405163118cdaa760e01b8152336004820152602401620000cd565b565b6001600160a01b038316620003c5578060025f828254620003b99190620006e7565b90915550620004379050565b6001600160a01b0383165f9081526020819052604090205481811015620004195760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000cd565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216620004555760028054829003905562000473565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620004b991815260200190565b60405180910390a3505050565b80516001600160a01b0381168114620004dd575f80fd5b919050565b5f805f60608486031215620004f5575f80fd5b6200050084620004c6565b92506200051060208501620004c6565b91506200052060408501620004c6565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200055257607f821691505b6020821081036200057157634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620005c257805f5260205f20601f840160051c810160208510156200059e5750805b601f840160051c820191505b81811015620005bf575f8155600101620005aa565b50505b505050565b81516001600160401b03811115620005e357620005e362000529565b620005fb81620005f484546200053d565b8462000577565b602080601f83116001811462000631575f8415620006195750858301515b5f19600386901b1c1916600185901b1785556200068b565b5f85815260208120601f198616915b82811015620006615788860151825594840194600190910190840162000640565b50858210156200067f57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620006c157620006c162000693565b92915050565b5f82620006e257634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115620006c157620006c162000693565b611a82806200070b5f395ff3fe6080604052600436106101ff575f3560e01c80638da5cb5b11610113578063c8c8ebe41161009d578063e2d6f4b31161006d578063e2d6f4b314610604578063e2f4560514610623578063f2fde38b14610638578063f6945ba514610657578063f8b45b0514610676575f80fd5b8063c8c8ebe414610582578063c9567bf914610597578063d85ba063146105ab578063dd62ed3e146105c0575f80fd5b8063ac3275fb116100e3578063ac3275fb146104de578063b62496f5146104fd578063b93732511461052b578063bbc0c7421461054a578063c024666814610563575f80fd5b80638da5cb5b1461046f57806395d89b411461048c5780639a7a23d6146104a0578063a9059cbb146104bf575f80fd5b806338d08117116101945780636a486a8e116101645780636a486a8e146103d55780636ddd1713146103ea57806370a0823114610408578063715018a61461043c5780637571336a14610450575f80fd5b806338d081171461033f57806349bd5a5e146103605780634fbee1931461037f5780635f30c351146103b6575f80fd5b806318160ddd116101cf57806318160ddd146102c857806323b872dd146102e65780632dc0562d14610305578063313ce56714610324575f80fd5b806306fdde031461020a578063095ea7b31461023457806310d5de53146102635780631694505e14610291575f80fd5b3661020657005b5f80fd5b348015610215575f80fd5b5061021e61068b565b60405161022b919061175b565b60405180910390f35b34801561023f575f80fd5b5061025361024e3660046117bb565b61071b565b604051901515815260200161022b565b34801561026e575f80fd5b5061025361027d3660046117e5565b60106020525f908152604090205460ff1681565b34801561029c575f80fd5b506006546102b0906001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b3480156102d3575f80fd5b506002545b60405190815260200161022b565b3480156102f1575f80fd5b50610253610300366004611800565b610734565b348015610310575f80fd5b506008546102b0906001600160a01b031681565b34801561032f575f80fd5b506040516012815260200161022b565b34801561034a575f80fd5b5061035e6103593660046117e5565b610759565b005b34801561036b575f80fd5b506007546102b0906001600160a01b031681565b34801561038a575f80fd5b506102536103993660046117e5565b6001600160a01b03165f908152600f602052604090205460ff1690565b3480156103c1575f80fd5b5061035e6103d03660046117e5565b610783565b3480156103e0575f80fd5b506102d8600e5481565b3480156103f5575f80fd5b50600c5461025390610100900460ff1681565b348015610413575f80fd5b506102d86104223660046117e5565b6001600160a01b03165f9081526020819052604090205490565b348015610447575f80fd5b5061035e6107ea565b34801561045b575f80fd5b5061035e61046a36600461184b565b6107fd565b34801561047a575f80fd5b506005546001600160a01b03166102b0565b348015610497575f80fd5b5061021e61082f565b3480156104ab575f80fd5b5061035e6104ba36600461184b565b61083e565b3480156104ca575f80fd5b506102536104d93660046117bb565b6108d9565b3480156104e9575f80fd5b5061035e6104f8366004611882565b6108e6565b348015610508575f80fd5b506102536105173660046117e5565b60116020525f908152604090205460ff1681565b348015610536575f80fd5b5061035e6105453660046118ae565b610a26565b348015610555575f80fd5b50600c546102539060ff1681565b34801561056e575f80fd5b5061035e61057d36600461184b565b610a33565b34801561058d575f80fd5b506102d860095481565b3480156105a2575f80fd5b5061035e610a99565b3480156105b6575f80fd5b506102d8600d5481565b3480156105cb575f80fd5b506102d86105da366004611882565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561060f575f80fd5b5061035e61061e3660046117e5565b610ab2565b34801561062e575f80fd5b506102d8600a5481565b348015610643575f80fd5b5061035e6106523660046117e5565b610b03565b348015610662575f80fd5b5061035e6106713660046118c5565b610b40565b348015610681575f80fd5b506102d8600b5481565b60606003805461069a906118f4565b80601f01602080910402602001604051908101604052809291908181526020018280546106c6906118f4565b80156107115780601f106106e857610100808354040283529160200191610711565b820191905f5260205f20905b8154815290600101906020018083116106f457829003601f168201915b5050505050905090565b5f33610728818585610b5c565b60019150505b92915050565b5f33610741858285610b6e565b61074c858585610be3565b60019150505b9392505050565b6107616111ff565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b61078b6111ff565b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f81146107d4576040519150601f19603f3d011682016040523d82523d5f602084013e6107d9565b606091505b50509050806107e6575f80fd5b5050565b6107f26111ff565b6107fb5f61122c565b565b6108056111ff565b6001600160a01b03919091165f908152601060205260409020805460ff1916911515919091179055565b60606004805461069a906118f4565b6108466111ff565b6007546001600160a01b03908116908316036108cf5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084015b60405180910390fd5b6107e6828261127d565b5f33610728818585610be3565b6108ee6111ff565b6001600160a01b0382166109445760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f74206265203000000000000060448201526064016108c6565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa158015610988573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ac919061192c565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303815f875af11580156109fc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a209190611943565b50505050565b610a2e6111ff565b600a55565b610a3b6111ff565b6001600160a01b0382165f818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610aa16111ff565b600c805461ffff1916610101179055565b610aba6111ff565b600780546001600160a01b0319166001600160a01b038316179055610ae081600161127d565b6001600160a01b03165f908152601060205260409020805460ff19166001179055565b610b0b6111ff565b6001600160a01b038116610b3457604051631e4fbdf760e01b81525f60048201526024016108c6565b610b3d8161122c565b50565b610b486111ff565b600993909355600b91909155600d55600e55565b610b6983838360016112d0565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610a205781811015610bd557604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016108c6565b610a2084848484035f6112d0565b6001600160a01b038316610c475760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108c6565b6001600160a01b038216610ca95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108c6565b805f03610cbb57610b6983835f6113a2565b6005546001600160a01b03848116911614801590610ce757506005546001600160a01b03838116911614155b8015610cfb57506001600160a01b03821615155b8015610d1257506001600160a01b03821661dead14155b8015610d285750600854600160a01b900460ff16155b1561101857600c5460ff16610db9576001600160a01b0383165f908152600f602052604090205460ff1680610d7457506001600160a01b0382165f908152600f602052604090205460ff165b610db95760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016108c6565b6001600160a01b0383165f9081526011602052604090205460ff168015610df857506001600160a01b0382165f9081526010602052604090205460ff16155b15610edb57600954811115610e6d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016108c6565b600b546001600160a01b0383165f90815260208190526040902054610e929083611972565b1115610ed65760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108c6565b611018565b6001600160a01b0382165f9081526011602052604090205460ff168015610f1a57506001600160a01b0383165f9081526010602052604090205460ff16155b15610f9057600954811115610ed65760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016108c6565b6001600160a01b0382165f9081526010602052604090205460ff1661101857600b546001600160a01b0383165f90815260208190526040902054610fd49083611972565b11156110185760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108c6565b305f90815260208190526040902054600a54811080159081906110425750600c54610100900460ff165b80156110585750600854600160a01b900460ff16155b801561107c57506001600160a01b0385165f9081526011602052604090205460ff16155b80156110a057506001600160a01b0385165f908152600f602052604090205460ff16155b80156110c457506001600160a01b0384165f908152600f602052604090205460ff16155b156110f2576008805460ff60a01b1916600160a01b1790556110e46113ff565b6008805460ff60a01b191690555b6008546001600160a01b0386165f908152600f602052604090205460ff600160a01b90920482161591168061113e57506001600160a01b0385165f908152600f602052604090205460ff165b1561114657505f5b5f81156111eb576001600160a01b0386165f9081526011602052604090205460ff16801561117557505f600e54115b1561118f5761118885600e546064611422565b90506111cd565b6001600160a01b0387165f9081526011602052604090205460ff1680156111b757505f600d54115b156111cd576111ca85600d546064611422565b90505b80156111de576111de8730836113a2565b6111e88186611985565b94505b6111f68787876113a2565b50505050505050565b6005546001600160a01b031633146107fb5760405163118cdaa760e01b81523360048201526024016108c6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f81815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0384166112f95760405163e602df0560e01b81525f60048201526024016108c6565b6001600160a01b03831661132257604051634a1406b160e11b81525f60048201526024016108c6565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610a2057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161139491815260200190565b60405180910390a350505050565b6001600160a01b0383166113cb57604051634b637e8f60e11b81525f60048201526024016108c6565b6001600160a01b0382166113f45760405163ec442f0560e01b81525f60048201526024016108c6565b610b698383836114e1565b305f90815260208190526040812054908190036114195750565b610b3d81611607565b5f838302815f1985870982811083820303915050805f036114565783828161144c5761144c611998565b0492505050610752565b8084116114765760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6001600160a01b03831661150b578060025f8282546115009190611972565b9091555061157b9050565b6001600160a01b0383165f908152602081905260409020548181101561155d5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016108c6565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611597576002805482900390556115b5565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516115fa91815260200190565b60405180910390a3505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061163a5761163a6119ac565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611691573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b591906119c0565b816001815181106116c8576116c86119ac565b6001600160a01b0392831660209182029290920101526006546116ee9130911684610b5c565b60065460085460405163791ac94760e01b81526001600160a01b039283169263791ac9479261172a9287925f92889291169042906004016119db565b5f604051808303815f87803b158015611741575f80fd5b505af1158015611753573d5f803e3d5ffd5b505050505050565b5f602080835283518060208501525f5b818110156117875785810183015185820160400152820161176b565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b3d575f80fd5b5f80604083850312156117cc575f80fd5b82356117d7816117a7565b946020939093013593505050565b5f602082840312156117f5575f80fd5b8135610752816117a7565b5f805f60608486031215611812575f80fd5b833561181d816117a7565b9250602084013561182d816117a7565b929592945050506040919091013590565b8015158114610b3d575f80fd5b5f806040838503121561185c575f80fd5b8235611867816117a7565b915060208301356118778161183e565b809150509250929050565b5f8060408385031215611893575f80fd5b823561189e816117a7565b91506020830135611877816117a7565b5f602082840312156118be575f80fd5b5035919050565b5f805f80608085870312156118d8575f80fd5b5050823594602084013594506040840135936060013592509050565b600181811c9082168061190857607f821691505b60208210810361192657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6020828403121561193c575f80fd5b5051919050565b5f60208284031215611953575f80fd5b81516107528161183e565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561072e5761072e61195e565b8181038181111561072e5761072e61195e565b634e487b7160e01b5f52601260045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156119d0575f80fd5b8151610752816117a7565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611a2b5784516001600160a01b031683529383019391830191600101611a06565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122037cf148f04c684ace6f1a27f3c5b843b03bc9090274bc14914d1146eaf66e97164736f6c634300081600330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000ee2916ef2b8a659d6f9eb884a68d5fa46a6f2cf9000000000000000000000000ee2916ef2b8a659d6f9eb884a68d5fa46a6f2cf9
Deployed Bytecode
0x6080604052600436106101ff575f3560e01c80638da5cb5b11610113578063c8c8ebe41161009d578063e2d6f4b31161006d578063e2d6f4b314610604578063e2f4560514610623578063f2fde38b14610638578063f6945ba514610657578063f8b45b0514610676575f80fd5b8063c8c8ebe414610582578063c9567bf914610597578063d85ba063146105ab578063dd62ed3e146105c0575f80fd5b8063ac3275fb116100e3578063ac3275fb146104de578063b62496f5146104fd578063b93732511461052b578063bbc0c7421461054a578063c024666814610563575f80fd5b80638da5cb5b1461046f57806395d89b411461048c5780639a7a23d6146104a0578063a9059cbb146104bf575f80fd5b806338d08117116101945780636a486a8e116101645780636a486a8e146103d55780636ddd1713146103ea57806370a0823114610408578063715018a61461043c5780637571336a14610450575f80fd5b806338d081171461033f57806349bd5a5e146103605780634fbee1931461037f5780635f30c351146103b6575f80fd5b806318160ddd116101cf57806318160ddd146102c857806323b872dd146102e65780632dc0562d14610305578063313ce56714610324575f80fd5b806306fdde031461020a578063095ea7b31461023457806310d5de53146102635780631694505e14610291575f80fd5b3661020657005b5f80fd5b348015610215575f80fd5b5061021e61068b565b60405161022b919061175b565b60405180910390f35b34801561023f575f80fd5b5061025361024e3660046117bb565b61071b565b604051901515815260200161022b565b34801561026e575f80fd5b5061025361027d3660046117e5565b60106020525f908152604090205460ff1681565b34801561029c575f80fd5b506006546102b0906001600160a01b031681565b6040516001600160a01b03909116815260200161022b565b3480156102d3575f80fd5b506002545b60405190815260200161022b565b3480156102f1575f80fd5b50610253610300366004611800565b610734565b348015610310575f80fd5b506008546102b0906001600160a01b031681565b34801561032f575f80fd5b506040516012815260200161022b565b34801561034a575f80fd5b5061035e6103593660046117e5565b610759565b005b34801561036b575f80fd5b506007546102b0906001600160a01b031681565b34801561038a575f80fd5b506102536103993660046117e5565b6001600160a01b03165f908152600f602052604090205460ff1690565b3480156103c1575f80fd5b5061035e6103d03660046117e5565b610783565b3480156103e0575f80fd5b506102d8600e5481565b3480156103f5575f80fd5b50600c5461025390610100900460ff1681565b348015610413575f80fd5b506102d86104223660046117e5565b6001600160a01b03165f9081526020819052604090205490565b348015610447575f80fd5b5061035e6107ea565b34801561045b575f80fd5b5061035e61046a36600461184b565b6107fd565b34801561047a575f80fd5b506005546001600160a01b03166102b0565b348015610497575f80fd5b5061021e61082f565b3480156104ab575f80fd5b5061035e6104ba36600461184b565b61083e565b3480156104ca575f80fd5b506102536104d93660046117bb565b6108d9565b3480156104e9575f80fd5b5061035e6104f8366004611882565b6108e6565b348015610508575f80fd5b506102536105173660046117e5565b60116020525f908152604090205460ff1681565b348015610536575f80fd5b5061035e6105453660046118ae565b610a26565b348015610555575f80fd5b50600c546102539060ff1681565b34801561056e575f80fd5b5061035e61057d36600461184b565b610a33565b34801561058d575f80fd5b506102d860095481565b3480156105a2575f80fd5b5061035e610a99565b3480156105b6575f80fd5b506102d8600d5481565b3480156105cb575f80fd5b506102d86105da366004611882565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b34801561060f575f80fd5b5061035e61061e3660046117e5565b610ab2565b34801561062e575f80fd5b506102d8600a5481565b348015610643575f80fd5b5061035e6106523660046117e5565b610b03565b348015610662575f80fd5b5061035e6106713660046118c5565b610b40565b348015610681575f80fd5b506102d8600b5481565b60606003805461069a906118f4565b80601f01602080910402602001604051908101604052809291908181526020018280546106c6906118f4565b80156107115780601f106106e857610100808354040283529160200191610711565b820191905f5260205f20905b8154815290600101906020018083116106f457829003601f168201915b5050505050905090565b5f33610728818585610b5c565b60019150505b92915050565b5f33610741858285610b6e565b61074c858585610be3565b60019150505b9392505050565b6107616111ff565b600880546001600160a01b0319166001600160a01b0392909216919091179055565b61078b6111ff565b5f816001600160a01b0316476040515f6040518083038185875af1925050503d805f81146107d4576040519150601f19603f3d011682016040523d82523d5f602084013e6107d9565b606091505b50509050806107e6575f80fd5b5050565b6107f26111ff565b6107fb5f61122c565b565b6108056111ff565b6001600160a01b03919091165f908152601060205260409020805460ff1916911515919091179055565b60606004805461069a906118f4565b6108466111ff565b6007546001600160a01b03908116908316036108cf5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b657250616972730000000000000060648201526084015b60405180910390fd5b6107e6828261127d565b5f33610728818585610be3565b6108ee6111ff565b6001600160a01b0382166109445760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f74206265203000000000000060448201526064016108c6565b6040516370a0823160e01b81523060048201525f906001600160a01b038416906370a0823190602401602060405180830381865afa158015610988573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109ac919061192c565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303815f875af11580156109fc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a209190611943565b50505050565b610a2e6111ff565b600a55565b610a3b6111ff565b6001600160a01b0382165f818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610aa16111ff565b600c805461ffff1916610101179055565b610aba6111ff565b600780546001600160a01b0319166001600160a01b038316179055610ae081600161127d565b6001600160a01b03165f908152601060205260409020805460ff19166001179055565b610b0b6111ff565b6001600160a01b038116610b3457604051631e4fbdf760e01b81525f60048201526024016108c6565b610b3d8161122c565b50565b610b486111ff565b600993909355600b91909155600d55600e55565b610b6983838360016112d0565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610a205781811015610bd557604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016108c6565b610a2084848484035f6112d0565b6001600160a01b038316610c475760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108c6565b6001600160a01b038216610ca95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108c6565b805f03610cbb57610b6983835f6113a2565b6005546001600160a01b03848116911614801590610ce757506005546001600160a01b03838116911614155b8015610cfb57506001600160a01b03821615155b8015610d1257506001600160a01b03821661dead14155b8015610d285750600854600160a01b900460ff16155b1561101857600c5460ff16610db9576001600160a01b0383165f908152600f602052604090205460ff1680610d7457506001600160a01b0382165f908152600f602052604090205460ff165b610db95760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b60448201526064016108c6565b6001600160a01b0383165f9081526011602052604090205460ff168015610df857506001600160a01b0382165f9081526010602052604090205460ff16155b15610edb57600954811115610e6d5760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b60648201526084016108c6565b600b546001600160a01b0383165f90815260208190526040902054610e929083611972565b1115610ed65760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108c6565b611018565b6001600160a01b0382165f9081526011602052604090205460ff168015610f1a57506001600160a01b0383165f9081526010602052604090205460ff16155b15610f9057600954811115610ed65760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b60648201526084016108c6565b6001600160a01b0382165f9081526010602052604090205460ff1661101857600b546001600160a01b0383165f90815260208190526040902054610fd49083611972565b11156110185760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b60448201526064016108c6565b305f90815260208190526040902054600a54811080159081906110425750600c54610100900460ff165b80156110585750600854600160a01b900460ff16155b801561107c57506001600160a01b0385165f9081526011602052604090205460ff16155b80156110a057506001600160a01b0385165f908152600f602052604090205460ff16155b80156110c457506001600160a01b0384165f908152600f602052604090205460ff16155b156110f2576008805460ff60a01b1916600160a01b1790556110e46113ff565b6008805460ff60a01b191690555b6008546001600160a01b0386165f908152600f602052604090205460ff600160a01b90920482161591168061113e57506001600160a01b0385165f908152600f602052604090205460ff165b1561114657505f5b5f81156111eb576001600160a01b0386165f9081526011602052604090205460ff16801561117557505f600e54115b1561118f5761118885600e546064611422565b90506111cd565b6001600160a01b0387165f9081526011602052604090205460ff1680156111b757505f600d54115b156111cd576111ca85600d546064611422565b90505b80156111de576111de8730836113a2565b6111e88186611985565b94505b6111f68787876113a2565b50505050505050565b6005546001600160a01b031633146107fb5760405163118cdaa760e01b81523360048201526024016108c6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f81815260116020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b0384166112f95760405163e602df0560e01b81525f60048201526024016108c6565b6001600160a01b03831661132257604051634a1406b160e11b81525f60048201526024016108c6565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610a2057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161139491815260200190565b60405180910390a350505050565b6001600160a01b0383166113cb57604051634b637e8f60e11b81525f60048201526024016108c6565b6001600160a01b0382166113f45760405163ec442f0560e01b81525f60048201526024016108c6565b610b698383836114e1565b305f90815260208190526040812054908190036114195750565b610b3d81611607565b5f838302815f1985870982811083820303915050805f036114565783828161144c5761144c611998565b0492505050610752565b8084116114765760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6001600160a01b03831661150b578060025f8282546115009190611972565b9091555061157b9050565b6001600160a01b0383165f908152602081905260409020548181101561155d5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016108c6565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611597576002805482900390556115b5565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516115fa91815260200190565b60405180910390a3505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061163a5761163a6119ac565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611691573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116b591906119c0565b816001815181106116c8576116c86119ac565b6001600160a01b0392831660209182029290920101526006546116ee9130911684610b5c565b60065460085460405163791ac94760e01b81526001600160a01b039283169263791ac9479261172a9287925f92889291169042906004016119db565b5f604051808303815f87803b158015611741575f80fd5b505af1158015611753573d5f803e3d5ffd5b505050505050565b5f602080835283518060208501525f5b818110156117875785810183015185820160400152820161176b565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610b3d575f80fd5b5f80604083850312156117cc575f80fd5b82356117d7816117a7565b946020939093013593505050565b5f602082840312156117f5575f80fd5b8135610752816117a7565b5f805f60608486031215611812575f80fd5b833561181d816117a7565b9250602084013561182d816117a7565b929592945050506040919091013590565b8015158114610b3d575f80fd5b5f806040838503121561185c575f80fd5b8235611867816117a7565b915060208301356118778161183e565b809150509250929050565b5f8060408385031215611893575f80fd5b823561189e816117a7565b91506020830135611877816117a7565b5f602082840312156118be575f80fd5b5035919050565b5f805f80608085870312156118d8575f80fd5b5050823594602084013594506040840135936060013592509050565b600181811c9082168061190857607f821691505b60208210810361192657634e487b7160e01b5f52602260045260245ffd5b50919050565b5f6020828403121561193c575f80fd5b5051919050565b5f60208284031215611953575f80fd5b81516107528161183e565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561072e5761072e61195e565b8181038181111561072e5761072e61195e565b634e487b7160e01b5f52601260045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f602082840312156119d0575f80fd5b8151610752816117a7565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611a2b5784516001600160a01b031683529383019391830191600101611a06565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122037cf148f04c684ace6f1a27f3c5b843b03bc9090274bc14914d1146eaf66e97164736f6c63430008160033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000ee2916ef2b8a659d6f9eb884a68d5fa46a6f2cf9000000000000000000000000ee2916ef2b8a659d6f9eb884a68d5fa46a6f2cf9
-----Decoded View---------------
Arg [0] : router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : dev (address): 0xEE2916Ef2B8A659D6F9eb884a68d5fa46a6f2cF9
Arg [2] : marketing (address): 0xEE2916Ef2B8A659D6F9eb884a68d5fa46a6f2cF9
-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 000000000000000000000000ee2916ef2b8a659d6f9eb884a68d5fa46a6f2cf9
Arg [2] : 000000000000000000000000ee2916ef2b8a659d6f9eb884a68d5fa46a6f2cf9
Deployed Bytecode Sourcemap
52618:8988:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28591:91;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;30884:190;;;;;;;;;;-1:-1:-1;30884:190:0;;;;;:::i;:::-;;:::i;:::-;;;1188:14:1;;1181:22;1163:41;;1151:2;1136:18;30884:190:0;1023:187:1;53196:63:0;;;;;;;;;;-1:-1:-1;53196:63:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;52666:41;;;;;;;;;;-1:-1:-1;52666:41:0;;;;-1:-1:-1;;;;;52666:41:0;;;;;;-1:-1:-1;;;;;1658:32:1;;;1640:51;;1628:2;1613:18;52666:41:0;1467:230:1;29693:99:0;;;;;;;;;;-1:-1:-1;29772:12:0;;29693:99;;;1848:25:1;;;1836:2;1821:18;29693:99:0;1702:177:1;31652:249:0;;;;;;;;;;-1:-1:-1;31652:249:0;;;;;:::i;:::-;;:::i;52749:32::-;;;;;;;;;;-1:-1:-1;52749:32:0;;;;-1:-1:-1;;;;;52749:32:0;;;29544:84;;;;;;;;;;-1:-1:-1;29544:84:0;;29618:2;2711:36:1;;2699:2;2684:18;29544:84:0;2569:184:1;56523:109:0;;;;;;;;;;-1:-1:-1;56523:109:0;;;;;:::i;:::-;;:::i;:::-;;52714:28;;;;;;;;;;-1:-1:-1;52714:28:0;;;;-1:-1:-1;;;;;52714:28:0;;;56640:126;;;;;;;;;;-1:-1:-1;56640:126:0;;;;;:::i;:::-;-1:-1:-1;;;;;56730:28:0;56706:4;56730:28;;;:19;:28;;;;;;;;;56640:126;55888:178;;;;;;;;;;-1:-1:-1;55888:178:0;;;;;:::i;:::-;;:::i;53047:28::-;;;;;;;;;;;;;;;;52973:31;;;;;;;;;;-1:-1:-1;52973:31:0;;;;;;;;;;;29855:118;;;;;;;;;;-1:-1:-1;29855:118:0;;;;;:::i;:::-;-1:-1:-1;;;;;29947:18:0;29920:7;29947:18;;;;;;;;;;;;29855:118;40253:103;;;;;;;;;;;;;:::i;54999:169::-;;;;;;;;;;-1:-1:-1;54999:169:0;;;;;:::i;:::-;;:::i;39578:87::-;;;;;;;;;;-1:-1:-1;39651:6:0;;-1:-1:-1;;;;;39651:6:0;39578:87;;28801:95;;;;;;;;;;;;;:::i;55366:306::-;;;;;;;;;;-1:-1:-1;55366:306:0;;;;;:::i;:::-;;:::i;30178:182::-;;;;;;;;;;-1:-1:-1;30178:182:0;;;;;:::i;:::-;;:::i;56208:307::-;;;;;;;;;;-1:-1:-1;56208:307:0;;;;;:::i;:::-;;:::i;53270:57::-;;;;;;;;;;-1:-1:-1;53270:57:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;56079:117;;;;;;;;;;-1:-1:-1;56079:117:0;;;;;:::i;:::-;;:::i;52933:33::-;;;;;;;;;;-1:-1:-1;52933:33:0;;;;;;;;55176:182;;;;;;;;;;-1:-1:-1;55176:182:0;;;;;:::i;:::-;;:::i;52818:35::-;;;;;;;;;;;;;;;;54877:110;;;;;;;;;;;;;:::i;53013:27::-;;;;;;;;;;;;;;;;30423:142;;;;;;;;;;-1:-1:-1;30423:142:0;;;;;:::i;:::-;-1:-1:-1;;;;;30530:18:0;;;30503:7;30530:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;30423:142;61400:201;;;;;;;;;;-1:-1:-1;61400:201:0;;;;;:::i;:::-;;:::i;52860:33::-;;;;;;;;;;;;;;;;40511:220;;;;;;;;;;-1:-1:-1;40511:220:0;;;;;:::i;:::-;;:::i;60822:343::-;;;;;;;;;;-1:-1:-1;60822:343:0;;;;;:::i;:::-;;:::i;52900:24::-;;;;;;;;;;;;;;;;28591:91;28636:13;28669:5;28662:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28591:91;:::o;30884:190::-;30957:4;26539:10;31013:31;26539:10;31029:7;31038:5;31013:8;:31::i;:::-;31062:4;31055:11;;;30884:190;;;;;:::o;31652:249::-;31739:4;26539:10;31797:37;31813:4;26539:10;31828:5;31797:15;:37::i;:::-;31845:26;31855:4;31861:2;31865:5;31845:9;:26::i;:::-;31889:4;31882:11;;;31652:249;;;;;;:::o;56523:109::-;39464:13;:11;:13::i;:::-;56597:9:::1;:27:::0;;-1:-1:-1;;;;;;56597:27:0::1;-1:-1:-1::0;;;;;56597:27:0;;;::::1;::::0;;;::::1;::::0;;56523:109::o;55888:178::-;39464:13;:11;:13::i;:::-;55968:12:::1;55986:6;-1:-1:-1::0;;;;;55986:11:0::1;56005:21;55986:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55967:64;;;56050:7;56042:16;;;::::0;::::1;;55956:110;55888:178:::0;:::o;40253:103::-;39464:13;:11;:13::i;:::-;40318:30:::1;40345:1;40318:18;:30::i;:::-;40253:103::o:0;54999:169::-;39464:13;:11;:13::i;:::-;-1:-1:-1;;;;;55114:39:0;;;::::1;;::::0;;;:31:::1;:39;::::0;;;;:46;;-1:-1:-1;;55114:46:0::1;::::0;::::1;;::::0;;;::::1;::::0;;54999:169::o;28801:95::-;28848:13;28881:7;28874:14;;;;;:::i;55366:306::-;39464:13;:11;:13::i;:::-;55512::::1;::::0;-1:-1:-1;;;;;55512:13:0;;::::1;55504:21:::0;;::::1;::::0;55482:128:::1;;;::::0;-1:-1:-1;;;55482:128:0;;5241:2:1;55482:128:0::1;::::0;::::1;5223:21:1::0;5280:2;5260:18;;;5253:30;5319:34;5299:18;;;5292:62;5390:27;5370:18;;;5363:55;5435:19;;55482:128:0::1;;;;;;;;;55623:41;55652:4;55658:5;55623:28;:41::i;30178:182::-:0;30247:4;26539:10;30303:27;26539:10;30320:2;30324:5;30303:9;:27::i;56208:307::-;39464:13;:11;:13::i;:::-;-1:-1:-1;;;;;56322:20:0;::::1;56314:59;;;::::0;-1:-1:-1;;;56314:59:0;;5667:2:1;56314:59:0::1;::::0;::::1;5649:21:1::0;5706:2;5686:18;;;5679:30;5745:28;5725:18;;;5718:56;5791:18;;56314:59:0::1;5465:350:1::0;56314:59:0::1;56411:39;::::0;-1:-1:-1;;;56411:39:0;;56444:4:::1;56411:39;::::0;::::1;1640:51:1::0;56384:24:0::1;::::0;-1:-1:-1;;;;;56411:24:0;::::1;::::0;::::1;::::0;1613:18:1;;56411:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;56461:46;::::0;-1:-1:-1;;;56461:46:0;;-1:-1:-1;;;;;6201:32:1;;;56461:46:0::1;::::0;::::1;6183:51:1::0;6250:18;;;6243:34;;;56384:66:0;;-1:-1:-1;56461:23:0;;::::1;::::0;::::1;::::0;6156:18:1;;56461:46:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;56303:212;56208:307:::0;;:::o;56079:117::-;39464:13;:11;:13::i;:::-;56161:18:::1;:27:::0;56079:117::o;55176:182::-;39464:13;:11;:13::i;:::-;-1:-1:-1;;;;;55261:28:0;::::1;;::::0;;;:19:::1;:28;::::0;;;;;;;;:39;;-1:-1:-1;;55261:39:0::1;::::0;::::1;;::::0;;::::1;::::0;;;55316:34;;1163:41:1;;;55316:34:0::1;::::0;1136:18:1;55316:34:0::1;;;;;;;55176:182:::0;;:::o;54877:110::-;39464:13;:11;:13::i;:::-;54930::::1;:20:::0;;-1:-1:-1;;54961:18:0;;;;;54877:110::o;61400:201::-;39464:13;:11;:13::i;:::-;61467::::1;:20:::0;;-1:-1:-1;;;;;;61467:20:0::1;-1:-1:-1::0;;;;;61467:20:0;::::1;;::::0;;61498:40:::1;61467:20:::0;-1:-1:-1;61498:28:0::1;:40::i;:::-;-1:-1:-1::0;;;;;61549:37:0::1;;::::0;;;:31:::1;:37;::::0;;;;:44;;-1:-1:-1;;61549:44:0::1;61589:4;61549:44;::::0;;61400:201::o;40511:220::-;39464:13;:11;:13::i;:::-;-1:-1:-1;;;;;40596:22:0;::::1;40592:93;;40642:31;::::0;-1:-1:-1;;;40642:31:0;;40670:1:::1;40642:31;::::0;::::1;1640:51:1::0;1613:18;;40642:31:0::1;1467:230:1::0;40592:93:0::1;40695:28;40714:8;40695:18;:28::i;:::-;40511:220:::0;:::o;60822:343::-;39464:13;:11;:13::i;:::-;61024:20:::1;:28:::0;;;;61063:9:::1;:22:::0;;;;61098:12:::1;:22:::0;61133:13:::1;:24:::0;60822:343::o;35719:130::-;35804:37;35813:5;35820:7;35829:5;35836:4;35804:8;:37::i;:::-;35719:130;;;:::o;37435:487::-;-1:-1:-1;;;;;30530:18:0;;;37535:24;30530:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;37602:37:0;;37598:317;;37679:5;37660:16;:24;37656:132;;;37712:60;;-1:-1:-1;;;37712:60:0;;-1:-1:-1;;;;;6758:32:1;;37712:60:0;;;6740:51:1;6807:18;;;6800:34;;;6850:18;;;6843:34;;;6713:18;;37712:60:0;6538:345:1;37656:132:0;37831:57;37840:5;37847:7;37875:5;37856:16;:24;37882:5;37831:8;:57::i;56774:3314::-;-1:-1:-1;;;;;56906:18:0;;56898:68;;;;-1:-1:-1;;;56898:68:0;;7090:2:1;56898:68:0;;;7072:21:1;7129:2;7109:18;;;7102:30;7168:34;7148:18;;;7141:62;-1:-1:-1;;;7219:18:1;;;7212:35;7264:19;;56898:68:0;6888:401:1;56898:68:0;-1:-1:-1;;;;;56985:16:0;;56977:64;;;;-1:-1:-1;;;56977:64:0;;7496:2:1;56977:64:0;;;7478:21:1;7535:2;7515:18;;;7508:30;7574:34;7554:18;;;7547:62;-1:-1:-1;;;7625:18:1;;;7618:33;7668:19;;56977:64:0;7294:399:1;56977:64:0;57058:6;57068:1;57058:11;57054:93;;57086:28;57102:4;57108:2;57112:1;57086:15;:28::i;57054:93::-;39651:6;;-1:-1:-1;;;;;57177:15:0;;;39651:6;;57177:15;;;;:45;;-1:-1:-1;39651:6:0;;-1:-1:-1;;;;;57209:13:0;;;39651:6;;57209:13;;57177:45;:78;;;;-1:-1:-1;;;;;;57239:16:0;;;;57177:78;:116;;;;-1:-1:-1;;;;;;57272:21:0;;57286:6;57272:21;;57177:116;:142;;;;-1:-1:-1;57311:8:0;;-1:-1:-1;;;57311:8:0;;;;57310:9;57177:142;57159:1478;;;57351:13;;;;57346:203;;-1:-1:-1;;;;;57415:25:0;;;;;;:19;:25;;;;;;;;;:52;;-1:-1:-1;;;;;;57444:23:0;;;;;;:19;:23;;;;;;;;57415:52;57385:148;;;;-1:-1:-1;;;57385:148:0;;7900:2:1;57385:148:0;;;7882:21:1;7939:2;7919:18;;;7912:30;-1:-1:-1;;;7958:18:1;;;7951:52;8020:18;;57385:148:0;7698:346:1;57385:148:0;-1:-1:-1;;;;;57610:31:0;;;;;;:25;:31;;;;;;;;:88;;;;-1:-1:-1;;;;;;57663:35:0;;;;;;:31;:35;;;;;;;;57662:36;57610:88;57588:1038;;;57773:20;;57763:6;:30;;57733:157;;;;-1:-1:-1;;;57733:157:0;;8251:2:1;57733:157:0;;;8233:21:1;8290:2;8270:18;;;8263:30;8329:34;8309:18;;;8302:62;-1:-1:-1;;;8380:18:1;;;8373:51;8441:19;;57733:157:0;8049:417:1;57733:157:0;57965:9;;-1:-1:-1;;;;;29947:18:0;;29920:7;29947:18;;;;;;;;;;;57939:22;;:6;:22;:::i;:::-;:35;;57909:128;;;;-1:-1:-1;;;57909:128:0;;8935:2:1;57909:128:0;;;8917:21:1;8974:2;8954:18;;;8947:30;-1:-1:-1;;;8993:18:1;;;8986:49;9052:18;;57909:128:0;8733:343:1;57909:128:0;57588:1038;;;-1:-1:-1;;;;;58118:29:0;;;;;;:25;:29;;;;;;;;:88;;;;-1:-1:-1;;;;;;58169:37:0;;;;;;:31;:37;;;;;;;;58168:38;58118:88;58096:530;;;58281:20;;58271:6;:30;;58241:158;;;;-1:-1:-1;;;58241:158:0;;9283:2:1;58241:158:0;;;9265:21:1;9322:2;9302:18;;;9295:30;9361:34;9341:18;;;9334:62;-1:-1:-1;;;9412:18:1;;;9405:52;9474:19;;58241:158:0;9081:418:1;58096:530:0;-1:-1:-1;;;;;58426:35:0;;;;;;:31;:35;;;;;;;;58421:205;;58538:9;;-1:-1:-1;;;;;29947:18:0;;29920:7;29947:18;;;;;;;;;;;58512:22;;:6;:22;:::i;:::-;:35;;58482:128;;;;-1:-1:-1;;;58482:128:0;;8935:2:1;58482:128:0;;;8917:21:1;8974:2;8954:18;;;8947:30;-1:-1:-1;;;8993:18:1;;;8986:49;9052:18;;58482:128:0;8733:343:1;58482:128:0;58698:4;58649:28;29947:18;;;;;;;;;;;58756;;58732:42;;;;;;;58805:35;;-1:-1:-1;58829:11:0;;;;;;;58805:35;:61;;;;-1:-1:-1;58858:8:0;;-1:-1:-1;;;58858:8:0;;;;58857:9;58805:61;:110;;;;-1:-1:-1;;;;;;58884:31:0;;;;;;:25;:31;;;;;;;;58883:32;58805:110;:153;;;;-1:-1:-1;;;;;;58933:25:0;;;;;;:19;:25;;;;;;;;58932:26;58805:153;:194;;;;-1:-1:-1;;;;;;58976:23:0;;;;;;:19;:23;;;;;;;;58975:24;58805:194;58787:326;;;59026:8;:15;;-1:-1:-1;;;;59026:15:0;-1:-1:-1;;;59026:15:0;;;59058:10;:8;:10::i;:::-;59085:8;:16;;-1:-1:-1;;;;59085:16:0;;;58787:326;59141:8;;-1:-1:-1;;;;;59251:25:0;;59125:12;59251:25;;;:19;:25;;;;;;59141:8;-1:-1:-1;;;59141:8:0;;;;;59140:9;;59251:25;;:52;;-1:-1:-1;;;;;;59280:23:0;;;;;;:19;:23;;;;;;;;59251:52;59247:100;;;-1:-1:-1;59330:5:0;59247:100;59359:12;59464:7;59460:575;;;-1:-1:-1;;;;;59513:29:0;;;;;;:25;:29;;;;;;;;:50;;;;;59562:1;59546:13;;:17;59513:50;59509:377;;;59591:103;59625:6;59654:13;;59690:3;59591:11;:103::i;:::-;59584:110;;59509:377;;;-1:-1:-1;;;;;59753:31:0;;;;;;:25;:31;;;;;;;;:51;;;;;59803:1;59788:12;;:16;59753:51;59749:137;;;59832:38;59844:6;59852:12;;59866:3;59832:11;:38::i;:::-;59825:45;;59749:137;59906:8;;59902:91;;59935:42;59951:4;59965;59972;59935:15;:42::i;:::-;60009:14;60019:4;60009:14;;:::i;:::-;;;59460:575;60047:33;60063:4;60069:2;60073:6;60047:15;:33::i;:::-;56887:3201;;;;56774:3314;;;:::o;39743:166::-;39651:6;;-1:-1:-1;;;;;39651:6:0;26539:10;39803:23;39799:103;;39850:40;;-1:-1:-1;;;39850:40:0;;26539:10;39850:40;;;1640:51:1;1613:18;;39850:40:0;1467:230:1;40891:191:0;40984:6;;;-1:-1:-1;;;;;41001:17:0;;;-1:-1:-1;;;;;;41001:17:0;;;;;;;41034:40;;40984:6;;;41001:17;40984:6;;41034:40;;40965:16;;41034:40;40954:128;40891:191;:::o;55680:188::-;-1:-1:-1;;;;;55763:31:0;;;;;;:25;:31;;;;;;:39;;-1:-1:-1;;55763:39:0;;;;;;;;;;55820:40;;55763:39;;:31;55820:40;;;55680:188;;:::o;36700:443::-;-1:-1:-1;;;;;36813:19:0;;36809:91;;36856:32;;-1:-1:-1;;;36856:32:0;;36885:1;36856:32;;;1640:51:1;1613:18;;36856:32:0;1467:230:1;36809:91:0;-1:-1:-1;;;;;36914:21:0;;36910:92;;36959:31;;-1:-1:-1;;;36959:31:0;;36987:1;36959:31;;;1640:51:1;1613:18;;36959:31:0;1467:230:1;36910:92:0;-1:-1:-1;;;;;37012:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;37058:78;;;;37109:7;-1:-1:-1;;;;;37093:31:0;37102:5;-1:-1:-1;;;;;37093:31:0;;37118:5;37093:31;;;;1848:25:1;;1836:2;1821:18;;1702:177;37093:31:0;;;;;;;;36700:443;;;;:::o;32286:316::-;-1:-1:-1;;;;;32378:18:0;;32374:88;;32420:30;;-1:-1:-1;;;32420:30:0;;32447:1;32420:30;;;1640:51:1;1613:18;;32420:30:0;1467:230:1;32374:88:0;-1:-1:-1;;;;;32476:16:0;;32472:88;;32516:32;;-1:-1:-1;;;32516:32:0;;32545:1;32516:32;;;1640:51:1;1613:18;;32516:32:0;1467:230:1;32472:88:0;32570:24;32578:4;32584:2;32588:5;32570:7;:24::i;61175:210::-;61258:4;61214:23;29947:18;;;;;;;;;;;;61279:20;;;61275:59;;61316:7;61175:210::o;61275:59::-;61344:33;61361:15;61344:16;:33::i;14174:4195::-;14256:14;14624:5;;;14256:14;-1:-1:-1;;14628:1:0;14624;14799:20;14873:5;14869:2;14866:13;14858:5;14854:2;14850:14;14846:34;14837:43;;;14979:5;14988:1;14979:10;14975:373;;15321:11;15313:5;:19;;;;;:::i;:::-;;15306:26;;;;;;14975:373;15472:5;15457:11;:20;15453:90;;15505:22;;-1:-1:-1;;;15505:22:0;;;;;;;;;;;15453:90;15805:17;15943:11;15940:1;15937;15930:25;16353:12;16383:15;;;16368:31;;16505:22;;;;;17245:1;17226;:15;;17225:21;;17482;;;17478:25;;17467:36;17552:21;;;17548:25;;17537:36;17623:21;;;17619:25;;17608:36;17694:21;;;17690:25;;17679:36;17765:21;;;17761:25;;17750:36;17837:21;;;17833:25;;;17822:36;16756:12;;;;16752:23;;;16777:1;16748:31;16060:20;;;16049:32;;;16872:12;;;;16108:21;;;;16606:16;;;;16863:21;;;;18307:15;;;;;-1:-1:-1;;14174:4195:0;;;;;:::o;32926:1135::-;-1:-1:-1;;;;;33016:18:0;;33012:552;;33170:5;33154:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;33012:552:0;;-1:-1:-1;33012:552:0;;-1:-1:-1;;;;;33230:15:0;;33208:19;33230:15;;;;;;;;;;;33264:19;;;33260:117;;;33311:50;;-1:-1:-1;;;33311:50:0;;-1:-1:-1;;;;;6758:32:1;;33311:50:0;;;6740:51:1;6807:18;;;6800:34;;;6850:18;;;6843:34;;;6713:18;;33311:50:0;6538:345:1;33260:117:0;-1:-1:-1;;;;;33500:15:0;;:9;:15;;;;;;;;;;33518:19;;;;33500:37;;33012:552;-1:-1:-1;;;;;33580:16:0;;33576:435;;33746:12;:21;;;;;;;33576:435;;;-1:-1:-1;;;;;33962:13:0;;:9;:13;;;;;;;;;;:22;;;;;;33576:435;34043:2;-1:-1:-1;;;;;34028:25:0;34037:4;-1:-1:-1;;;;;34028:25:0;;34047:5;34028:25;;;;1848::1;;1836:2;1821:18;;1702:177;34028:25:0;;;;;;;;32926:1135;;;:::o;60096:602::-;60246:16;;;60260:1;60246:16;;;;;;;;60222:21;;60246:16;;;;;;;;;;-1:-1:-1;60246:16:0;60222:40;;60291:4;60273;60278:1;60273:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;60273:23:0;;;:7;;;;;;;;;;:23;;;;60317:15;;:22;;;-1:-1:-1;;;60317:22:0;;;;:15;;;;;:20;;:22;;;;;60273:7;;60317:22;;;;;:15;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;60307:4;60312:1;60307:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;60307:32:0;;;:7;;;;;;;;;:32;60384:15;;60352:62;;60369:4;;60384:15;60402:11;60352:8;:62::i;:::-;60453:15;;60640:9;;60453:237;;-1:-1:-1;;;60453:237:0;;-1:-1:-1;;;;;60453:15:0;;;;:66;;:237;;60534:11;;60453:15;;60621:4;;60640:9;;;60664:15;;60453:237;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60151:547;60096:602;:::o;14:548:1:-;126:4;155:2;184;173:9;166:21;216:6;210:13;259:6;254:2;243:9;239:18;232:34;284:1;294:140;308:6;305:1;302:13;294:140;;;403:14;;;399:23;;393:30;369:17;;;388:2;365:26;358:66;323:10;;294:140;;;298:3;483:1;478:2;469:6;458:9;454:22;450:31;443:42;553:2;546;542:7;537:2;529:6;525:15;521:29;510:9;506:45;502:54;494:62;;;;14:548;;;;:::o;567:131::-;-1:-1:-1;;;;;642:31:1;;632:42;;622:70;;688:1;685;678:12;703:315;771:6;779;832:2;820:9;811:7;807:23;803:32;800:52;;;848:1;845;838:12;800:52;887:9;874:23;906:31;931:5;906:31;:::i;:::-;956:5;1008:2;993:18;;;;980:32;;-1:-1:-1;;;703:315:1:o;1215:247::-;1274:6;1327:2;1315:9;1306:7;1302:23;1298:32;1295:52;;;1343:1;1340;1333:12;1295:52;1382:9;1369:23;1401:31;1426:5;1401:31;:::i;1884:456::-;1961:6;1969;1977;2030:2;2018:9;2009:7;2005:23;2001:32;1998:52;;;2046:1;2043;2036:12;1998:52;2085:9;2072:23;2104:31;2129:5;2104:31;:::i;:::-;2154:5;-1:-1:-1;2211:2:1;2196:18;;2183:32;2224:33;2183:32;2224:33;:::i;:::-;1884:456;;2276:7;;-1:-1:-1;;;2330:2:1;2315:18;;;;2302:32;;1884:456::o;2966:118::-;3052:5;3045:13;3038:21;3031:5;3028:32;3018:60;;3074:1;3071;3064:12;3089:382;3154:6;3162;3215:2;3203:9;3194:7;3190:23;3186:32;3183:52;;;3231:1;3228;3221:12;3183:52;3270:9;3257:23;3289:31;3314:5;3289:31;:::i;:::-;3339:5;-1:-1:-1;3396:2:1;3381:18;;3368:32;3409:30;3368:32;3409:30;:::i;:::-;3458:7;3448:17;;;3089:382;;;;;:::o;3476:388::-;3544:6;3552;3605:2;3593:9;3584:7;3580:23;3576:32;3573:52;;;3621:1;3618;3611:12;3573:52;3660:9;3647:23;3679:31;3704:5;3679:31;:::i;:::-;3729:5;-1:-1:-1;3786:2:1;3771:18;;3758:32;3799:33;3758:32;3799:33;:::i;3869:180::-;3928:6;3981:2;3969:9;3960:7;3956:23;3952:32;3949:52;;;3997:1;3994;3987:12;3949:52;-1:-1:-1;4020:23:1;;3869:180;-1:-1:-1;3869:180:1:o;4054:385::-;4140:6;4148;4156;4164;4217:3;4205:9;4196:7;4192:23;4188:33;4185:53;;;4234:1;4231;4224:12;4185:53;-1:-1:-1;;4257:23:1;;;4327:2;4312:18;;4299:32;;-1:-1:-1;4378:2:1;4363:18;;4350:32;;4429:2;4414:18;4401:32;;-1:-1:-1;4054:385:1;-1:-1:-1;4054:385:1:o;4444:380::-;4523:1;4519:12;;;;4566;;;4587:61;;4641:4;4633:6;4629:17;4619:27;;4587:61;4694:2;4686:6;4683:14;4663:18;4660:38;4657:161;;4740:10;4735:3;4731:20;4728:1;4721:31;4775:4;4772:1;4765:15;4803:4;4800:1;4793:15;4657:161;;4444:380;;;:::o;5820:184::-;5890:6;5943:2;5931:9;5922:7;5918:23;5914:32;5911:52;;;5959:1;5956;5949:12;5911:52;-1:-1:-1;5982:16:1;;5820:184;-1:-1:-1;5820:184:1:o;6288:245::-;6355:6;6408:2;6396:9;6387:7;6383:23;6379:32;6376:52;;;6424:1;6421;6414:12;6376:52;6456:9;6450:16;6475:28;6497:5;6475:28;:::i;8471:127::-;8532:10;8527:3;8523:20;8520:1;8513:31;8563:4;8560:1;8553:15;8587:4;8584:1;8577:15;8603:125;8668:9;;;8689:10;;;8686:36;;;8702:18;;:::i;9504:128::-;9571:9;;;9592:11;;;9589:37;;;9606:18;;:::i;9637:127::-;9698:10;9693:3;9689:20;9686:1;9679:31;9729:4;9726:1;9719:15;9753:4;9750:1;9743:15;9901:127;9962:10;9957:3;9953:20;9950:1;9943:31;9993:4;9990:1;9983:15;10017:4;10014:1;10007:15;10033:251;10103:6;10156:2;10144:9;10135:7;10131:23;10127:32;10124:52;;;10172:1;10169;10162:12;10124:52;10204:9;10198:16;10223:31;10248:5;10223:31;:::i;10289:988::-;10559:4;10607:3;10596:9;10592:19;10638:6;10627:9;10620:25;10664:2;10702:6;10697:2;10686:9;10682:18;10675:34;10745:3;10740:2;10729:9;10725:18;10718:31;10769:6;10804;10798:13;10835:6;10827;10820:22;10873:3;10862:9;10858:19;10851:26;;10912:2;10904:6;10900:15;10886:29;;10933:1;10943:195;10957:6;10954:1;10951:13;10943:195;;;11022:13;;-1:-1:-1;;;;;11018:39:1;11006:52;;11113:15;;;;11078:12;;;;11054:1;10972:9;10943:195;;;-1:-1:-1;;;;;;;11194:32:1;;;;11189:2;11174:18;;11167:60;-1:-1:-1;;;11258:3:1;11243:19;11236:35;11155:3;10289:988;-1:-1:-1;;;10289:988:1:o
Swarm Source
ipfs://37cf148f04c684ace6f1a27f3c5b843b03bc9090274bc14914d1146eaf66e971
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.