ETH Price: $3,743.78 (+4.13%)

Token

ERC-20: No Nut November (NNN)
 

Overview

Max Total Supply

1,000,000,000 NNN

Holders

104

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Uniswap V2: NNN 30
Balance
518,009,706.414890212807993301 NNN

Value
$0.00
0x9aa441012b896c75856e510899e3ac616ee2cca2
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
NoNutNovember

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-11-01
*/

// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.8.20 ^0.8.20;

/**

Website: https://www.nonutnovember.club/

TG: @nonutnovemberethereum

X: @@NutNo44310

Blog: N/A

*/

/**
 * @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 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);
}

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev The ETH balance of the account is not enough to perform the operation.
     */
    error AddressInsufficientBalance(address account);

    /**
     * @dev There's no code at `target` (it is not a contract).
     */
    error AddressEmptyCode(address target);

    /**
     * @dev A call to an address target failed. The target may have reverted.
     */
    error FailedInnerCall();

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        if (address(this).balance < amount) {
            revert AddressInsufficientBalance(address(this));
        }

        (bool success, ) = recipient.call{value: amount}("");
        if (!success) {
            revert FailedInnerCall();
        }
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason or custom error, it is bubbled
     * up by this function (like regular Solidity function calls). However, if
     * the call reverted with no returned reason, this function reverts with a
     * {FailedInnerCall} error.
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        if (address(this).balance < value) {
            revert AddressInsufficientBalance(address(this));
        }
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target
     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an
     * unsuccessful call.
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata
    ) internal view returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            // only check if target is a contract if the call was successful and the return data is empty
            // otherwise we already know that it was a contract
            if (returndata.length == 0 && target.code.length == 0) {
                revert AddressEmptyCode(target);
            }
            return returndata;
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the
     * revert reason or with a default {FailedInnerCall} error.
     */
    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {
        if (!success) {
            _revert(returndata);
        } else {
            return returndata;
        }
    }

    /**
     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.
     */
    function _revert(bytes memory returndata) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert FailedInnerCall();
        }
    }
}

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// lib/openzeppelin-contracts/contracts/utils/ReentrancyGuard.sol

// OpenZeppelin Contracts (last updated v5.0.0) (utils/ReentrancyGuard.sol)

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant NOT_ENTERED = 1;
    uint256 private constant ENTERED = 2;

    uint256 private _status;

    /**
     * @dev Unauthorized reentrant call.
     */
    error ReentrancyGuardReentrantCall();

    constructor() {
        _status = NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be NOT_ENTERED
        if (_status == ENTERED) {
            revert ReentrancyGuardReentrantCall();
        }

        // Any calls to nonReentrant after this point will fail
        _status = ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = NOT_ENTERED;
    }

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == ENTERED;
    }
}

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    /**
     * @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;
        }
    }
}

/**
 * @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);
    }
}

/**
 * @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);
}

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev An operation with an ERC20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }


    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data);
        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {
            revert SafeERC20FailedOperation(address(token));
        }
    }
}

/**
 * @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) internal virtual {
        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);
            }
        }
    }
}

// Interface for interacting with liquidity pool pairs
interface ILpPair {
    function sync() external;
}

// Interface for interacting with a decentralized exchange (DEX) router
interface IDexRouter {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
}

// Interface for interacting with a decentralized exchange (DEX) factory
interface IDexFactory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

contract NoNutNovember is ERC20, Ownable, ReentrancyGuard {
    using Math for uint256;

    // Variables for managing supply, liquidity, and trading
    uint256 public constant maxSupply = 1000000000000000000000000000;
    address public immutable uniswapV2Pair;
    address public immutable WETH;
    IDexRouter public immutable uniswapV2Router;

    // Mappings for fee exemptions and botlist
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedFromLimits;
    mapping(address => bool) private _botlist;
    mapping(address => bool) private _isAMMPair;

    // Anti-MEV protection
    mapping(address => uint256) private _holderLastTransferBlock;

    address public _devAddress;
    address public _taxAddress;
    uint256 private _startingLiquidity;
    uint256 private _launchBlock;
    uint256 private _lastSwapBackBlock;

    // Tax rates and limits
    Limits public limits;
    Taxes public taxes;

    uint32 private constant DIVISOR = 10000;

    // Trading and limit flags
    bool public tradingEnabled;
    bool public limited;
    bool public transferDelayEnabled;

    // Structs
    struct Taxes {
        uint32 buyTaxBps;
        uint32 sellTaxBps;
    }

    struct Limits {
        uint32 maxWalletSizeBps;
        uint32 minWalletSizeBps;
        uint32 maxBuyBps;
        uint32 maxSellBps;
    }

    // Events
    event EnableTrading();
    event RemoveLimits();
    event RemoveTransferDelay();

    // Constructor to initialize the meme token
    constructor(
        address[] memory additionalWallets,
        uint256[] memory walletPercentagesBps
    ) ERC20("No Nut November", "NNN") Ownable(msg.sender) {
        require(additionalWallets.length == walletPercentagesBps.length, "Array length mismatch");

        uniswapV2Router = IDexRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        WETH = uniswapV2Router.WETH();
        uniswapV2Pair = IDexFactory(uniswapV2Router.factory()).createPair(address(this), WETH);
        _isAMMPair[uniswapV2Pair] = true;

        _devAddress = 0x539DA43cBDCAEB8DFfDc62FF618aD9d6c4CFb53D;
        _taxAddress = 0x539DA43cBDCAEB8DFfDc62FF618aD9d6c4CFb53D;

        // Distribute tokens to additional wallets as per specified percentage bps
        bool ownerMinted = false;
        uint256 totalDistributed = 0;
        uint256 ownerAmount = 0;
        for (uint256 i = 0; i < additionalWallets.length; i++) {
            if (additionalWallets[i] == msg.sender) {
                ownerMinted = true;
            }
            uint256 walletAmount = maxSupply.mulDiv(walletPercentagesBps[i], DIVISOR);
            _mint(additionalWallets[i], walletAmount);
            totalDistributed += walletAmount;
        }

        // Mint the remaining tokens to the creator
        if (!ownerMinted) {
            ownerAmount = maxSupply.mulDiv(200, DIVISOR);
            _mint(msg.sender, ownerAmount); // 2% if not minted
        }

        uint256 startingLiquidity = maxSupply - totalDistributed - ownerAmount;
        _mint(address(this), startingLiquidity);
        _startingLiquidity = startingLiquidity - maxSupply.mulDiv(2200, DIVISOR);

        _approve(address(this), address(uniswapV2Router), type(uint256).max);
        _approve(address(msg.sender), address(uniswapV2Router), totalSupply());

        // Exclude creator and contract from fees
        _isExcludedFromFees[msg.sender] = true;
        _isExcludedFromFees[address(this)] = true;
        _isExcludedFromFees[uniswapV2Pair] = true;
        _isExcludedFromFees[address(uniswapV2Router)] = true;
        _isExcludedFromLimits[address(uniswapV2Router)] = true;
        _isExcludedFromLimits[uniswapV2Pair] = true;
        _isExcludedFromLimits[address(this)] = true;
        _isExcludedFromLimits[msg.sender] = true;
        _isExcludedFromLimits[_devAddress] = true;
        _isExcludedFromLimits[_taxAddress] = true;
        _isExcludedFromFees[_devAddress] = true;
        _isExcludedFromFees[_taxAddress] = true;

        // Set default limits and taxes
        limits.maxWalletSizeBps = 150;
        limits.minWalletSizeBps = 0;
        limits.maxBuyBps = 100; 
        limits.maxSellBps = 100; 
        taxes.buyTaxBps = 100; 
        taxes.sellTaxBps = 100; 
        limited = true;
        transferDelayEnabled = true;
    }

    /**
     * @dev Set the maximum amount of tokens that a wallet can hold.
     * @param _maxWalletSizeBps The maximum wallet size in bps (e.g., 100 for 1%).
     */
    function setMaxWalletSize(uint32 _maxWalletSizeBps) external onlyOwner {
        limits.maxWalletSizeBps = _maxWalletSizeBps;
    }

    /**
     * @dev Set the minimum amount of tokens that a wallet must hold.
     * @param _minWalletSizeBps The minimum holding amount in bps (e.g., 100 for 1%).
     */
    function setMinWalletSize(uint32 _minWalletSizeBps) external onlyOwner {
        limits.minWalletSizeBps = _minWalletSizeBps;
    }

    /**
     * @dev Set the maximum amount of tokens that a wallet can buy.
     * @param _maxBuyBps The maximum buy size in bps (e.g., 100 for 1%).
     */
    function setMaxBuy(uint32 _maxBuyBps) external onlyOwner {
        limits.maxBuyBps = _maxBuyBps;
    }

    /**
     * @dev Set the maximum amount of tokens that a wallet can sell.
     * @param _maxSellBps The maximum sell size in bps (e.g., 100 for 1%).
     */
    function setMaxSell(uint32 _maxSellBps) external onlyOwner {
        limits.maxSellBps = _maxSellBps;
    }

    /**
     * @dev Set the tax percentage bps for buying transactions.
     * @param buyTax The buy tax bps (e.g., 100 for 1%).
     */
    function setBuyTax(uint32 buyTax) external onlyOwner {
        require(buyTax <= 10000 || buyTax < taxes.buyTaxBps, "Tax too high"); // Max 100%
        _setBuyTax(buyTax);
    }

    /**
     * @dev Internal logic to set the tax percentages bps for buying transactions.
     * @param buyTax The sell tax bps (e.g., 100 for 1%).
     */
    function _setBuyTax(uint32 buyTax) internal {
        taxes.buyTaxBps = buyTax;
    }

    /**
     * @dev Set the tax percentage bps for selling transactions.
     * @param sellTax The sell tax bps (e.g., 100 for 1%).
     */
    function setSellTax(uint32 sellTax) external onlyOwner {
        require(sellTax <= 10000 || sellTax < taxes.sellTaxBps, "Tax too high"); // Max 100%
        _setSellTax(sellTax);
    }

    /**
     * @dev Internal logic to set the tax percentage bps for selling transactions.
     * @param sellTax The sell tax bps (e.g., 100 for 1%).
     */
    function _setSellTax(uint32 sellTax) internal {
        taxes.sellTaxBps = sellTax;
    }

    /**
     * @dev Add liquidity to the AMM.
     */
    function addLiquidity() external payable onlyOwner {
        uniswapV2Router.addLiquidityETH{ value: msg.value }(
            address(this),
            _startingLiquidity,
            0,
            0,
            _devAddress,
            block.timestamp + 60
        );
    }
    
    /**
     * @dev Transfer contract ownership
     * @param newOwner Address of new owner.
     */
    function transferOwnership(address newOwner) public override onlyOwner {
        _isExcludedFromFees[msg.sender] = true;
        _isExcludedFromLimits[msg.sender] = true;
        
        _isExcludedFromFees[newOwner] = true;
        _isExcludedFromLimits[newOwner] = true;
        super.transferOwnership(newOwner);
    }

    /**
     * @dev Enable trading for the token.
     */
    function start() external onlyOwner {
        require(!tradingEnabled, "Trading already enabled");
        tradingEnabled = true;
        _launchBlock = block.number;
        _lastSwapBackBlock = block.number;
        emit EnableTrading();
    }

    /**
     * @dev Remove limits on transactions and wallet holdings.
     */
    function removeLimits() external onlyOwner {
        require(limited, "Limits already disabled");
        _removeLimits();
    }

    /**
     * @dev Internal logic for removing limits on transactions and wallet holdings.
     */
    function _removeLimits() internal {
        limited = false;
        limits.maxWalletSizeBps = DIVISOR;
        limits.minWalletSizeBps = 0;
        limits.maxBuyBps = DIVISOR;
        limits.maxSellBps = DIVISOR;
        emit RemoveLimits();
    }

    /**
     * @dev Remove anti-MEV transfer delay.
     */
    function removeTransferDelay() external onlyOwner {
        require(transferDelayEnabled, "Transfer delay already disabled");
        _removeTransferDelay();
    }

    /**
     * @dev Internal logic for removing anti-MEV transfer delay.
     */
    function _removeTransferDelay() internal {
        transferDelayEnabled = false;
        emit RemoveTransferDelay();
    }

    /**
     * @dev Renounce ownership and remove limits and tax.
     */
    function renounceOwnership() public override onlyOwner {
        _setBuyTax(0);
        _setSellTax(0);
        _removeLimits();
        _removeTransferDelay();
        if (!tradingEnabled) {
            tradingEnabled = true;
            _launchBlock = block.number;
            _lastSwapBackBlock = block.number;
        }
        super.renounceOwnership();
    }

    /**
     * @dev Check if wallet address is in exempt from tax.
     * @param account The address to check.
     */
    function isExcludedFromFees(address account) external view returns (bool) {
        return _isExcludedFromFees[account];
    }

    /**
     * @dev Check if wallet address is in exempt from limits.
     * @param account The address to check.
     */
    function isExcludedFromLimits(address account) external view returns (bool) {
        return _isExcludedFromLimits[account];
    }

    /**
     * @dev Check if wallet address is in botlist
     * @param account The address to check.
     */
    function isBot(address account) external view returns (bool) {
        return _botlist[account];
    }

    /**
     * @dev Sets developer account.
     * @param account The list of addresses to botlist.
     */
    function setDevAddress(address account) external onlyOwner {
        _devAddress = account;
    }

    /**
     * @dev Sets tac account.
     * @param account The list of addresses to botlist.
     */
    function setTaxAddress(address account) external onlyOwner {
        _taxAddress = account;
    }

    /**
     * @dev Add an address to the botlist.
     * @param account The list of addresses to botlist.
     */
    function addBots(address[] calldata account) external onlyOwner {
        for (uint256 i = 0; i < account.length; i++) {
            _botlist[account[i]] = true;
        }
    }

    /**
     * @dev Remove an address from the botlist.
     * @param account The list of addresses to remove from botlist.
     */
    function removeBots(address[] calldata account) external onlyOwner {
        for (uint256 i = 0; i < account.length; i++) {
            _botlist[account[i]] = false;
        }
    }

    /**
     * @dev Exclude or include an address from transaction fees.
     * @param account The list of addresses to update.
     * @param excluded True to exclude, false to include.
     */
    function setExemptTax(address[] calldata account, bool excluded) external onlyOwner {
        for (uint256 i = 0; i < account.length; i++) {
            _isExcludedFromFees[account[i]] = excluded;
        }
    }

    /**
     * @dev Exclude or include an address from transaction limits.
     * @param account The list of addresses to update.
     * @param excluded True to exclude, false to include.
     */
    function setExemptLimits(address[] calldata account, bool excluded) external onlyOwner {
        for (uint256 i = 0; i < account.length; i++) {
            _isExcludedFromLimits[account[i]] = excluded;
        }
    }

    /**
     * @dev Swap tokens collected as tax (clogged tokens) for ETH.
     * Note: This function is called internally during transfers.
     */
    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();

        // Make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // Accept any amount of ETH
            path,
            _taxAddress, // ETH received will be sent to the tax address
            block.timestamp
        );
    }

    /**
     * @dev Check if the transfer is within limits.
     * @param from The sender address.
     * @param to The recipient address.
     * @param amount The amount to transfer.
     */
    function checkLimits(address from, address to, uint256 amount) internal {
        if (limited) {
            Limits memory _limits = limits;
            
            // buy
            if (_isAMMPair[from] && !_isExcludedFromLimits[to]) {
                require(amount <= maxSupply.mulDiv(_limits.maxBuyBps, DIVISOR), "Max buy exceeded");
                require(balanceOf(to) + amount <= maxSupply.mulDiv(limits.maxWalletSizeBps, DIVISOR), "Buyer max wallet size exceeded");
            } 
            // sell
            else if (_isAMMPair[to] && !_isExcludedFromLimits[from]) {
                require(amount <= maxSupply.mulDiv(_limits.maxSellBps, DIVISOR), "Max sell exceeded");
                require(balanceOf(from) - amount >= maxSupply.mulDiv(limits.minWalletSizeBps, DIVISOR), "Sender below min holding");
            }

            if (!_isExcludedFromLimits[from] &&  !_isExcludedFromLimits[to]) {
                require(balanceOf(to) + amount <= maxSupply.mulDiv(limits.maxWalletSizeBps, DIVISOR), "Receiver max wallet size exceeded");
                require(balanceOf(to) + amount >= maxSupply.mulDiv(limits.minWalletSizeBps, DIVISOR), "Receiver below min holding");
                require(balanceOf(from) - amount >= maxSupply.mulDiv(limits.minWalletSizeBps, DIVISOR), "Sender below min holding");
            }
            
            if (transferDelayEnabled) {
                if (!_isExcludedFromLimits[from] && from != address(uniswapV2Router) && to != address(this)) {
                    require(_holderLastTransferBlock[tx.origin] + 10 < block.number, "Transfer Delay");
                }
                if (from != address(this) && to != address(this)) {
                    _holderLastTransferBlock[to] = block.number;
                    _holderLastTransferBlock[tx.origin] = block.number;
                }
                if (_isAMMPair[from] && !_isExcludedFromLimits[tx.origin]) {
                    require(tx.origin == to, "no buying to external wallets yet");
                }
            }
        }
    }

    /**
     * @dev Override the transfer function to include tax handling and other checks.
     * @param from The sender address.
     * @param to The recipient address.
     * @param amount The amount to transfer.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual override {
        if (!_isExcludedFromFees[from] || !_isExcludedFromFees[to]) {
            require(!_botlist[from] && !_botlist[to], "Bot");
            require(tradingEnabled, "Trading not enabled");
            amount -= handleTax(from, to, amount);
        }
        // Enforce wallet limits
        if (limited) {
            checkLimits(from, to, amount);
        }

        super._transfer(from, to, amount);
    }

    /**
     * @dev Calculates tax (if any)
     * @param from The sender address.
     * @param to The recipient address.
     * @param amount The amount to transfer.
     */
    function handleTax(address from, address to, uint256 amount) internal returns(uint256) {
        if (balanceOf(address(this)) >= 0 && _isAMMPair[to] && _lastSwapBackBlock + 2 <= block.number) {
            unclog(amount);
        }
        
        uint32 taxRate;
        if (_isAMMPair[to]){
            taxRate = taxes.sellTaxBps;
        } else if(_isAMMPair[from]){
            taxRate = taxes.buyTaxBps;
        }

        uint256 tax = 0;
        if (taxRate > 0) { 
            // prevent snipers coming immediately after launch
            if (_launchBlock == block.number) {
                if (_isAMMPair[from]) {
                    tax = amount.mulDiv(1000, DIVISOR);
                } else if (_isAMMPair[to]) {
                    tax = amount.mulDiv(5000, DIVISOR);
                }
            } else {
                tax = amount.mulDiv(taxRate, DIVISOR);
            }
            super._transfer(from, address(this), tax);
        }
        return tax;
    }

    /**
     * @dev Handles unclogging of tokens for the initial trading period.
     * @param amount The amount to unclog.
     */
    function unclog(uint256 amount) internal {
        if (amount > balanceOf(address(this))) {
            amount = balanceOf(address(this));
        }
        _swapTokensForETH(amount);
        _lastSwapBackBlock = block.number;
    }

    /**
     * @dev Public function to transfer tokens.
     * @param to The recipient address.
     * @param amount The amount to transfer.
     * @return True if the transfer was successful.
     */
    function transfer(address to, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), to, amount);
        return true;
    }

    /**
     * @dev Public function to transfer tokens from a specified address.
     * @param from The sender address.
     * @param to The recipient address.
     * @param amount The amount to transfer.
     * @return True if the transfer was successful.
     */
    function transferFrom(address from, address to, uint256 amount) public override returns (bool) {
        uint256 currentAllowance = allowance(from, _msgSender());
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");

        _transfer(from, to, amount);

        _approve(from, _msgSender(), currentAllowance - amount);
        return true;
    }

    /**
     * @dev Withdraws stuck eth to team.
     */
    function withdrawStuckETH() external nonReentrant {
        bool success;
        (success,) = address(_devAddress).call{value: address(this).balance}("");
    }

    /**
     * @dev Withdraws stuck tokens to team.
     */
    function rescueTokens(address _token) external nonReentrant {
        require(_token != address(0), "_token address cannot be 0");
        require(msg.sender == _devAddress || msg.sender == _taxAddress, "Only team can rescue");
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        SafeERC20.safeTransfer(IERC20(_token),address(_devAddress), _contractBalance);
    }

    receive() payable external {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address[]","name":"additionalWallets","type":"address[]"},{"internalType":"uint256[]","name":"walletPercentagesBps","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"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":"FailedInnerCall","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"},{"inputs":[],"name":"ReentrancyGuardReentrantCall","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","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":[],"name":"EnableTrading","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":[],"name":"RemoveLimits","type":"event"},{"anonymous":false,"inputs":[],"name":"RemoveTransferDelay","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"},{"inputs":[],"name":"WETH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"account","type":"address[]"}],"name":"addBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"addLiquidity","outputs":[],"stateMutability":"payable","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limits","outputs":[{"internalType":"uint32","name":"maxWalletSizeBps","type":"uint32"},{"internalType":"uint32","name":"minWalletSizeBps","type":"uint32"},{"internalType":"uint32","name":"maxBuyBps","type":"uint32"},{"internalType":"uint32","name":"maxSellBps","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"account","type":"address[]"}],"name":"removeBots","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeTransferDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"buyTax","type":"uint32"}],"name":"setBuyTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"account","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExemptLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"account","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExemptTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_maxBuyBps","type":"uint32"}],"name":"setMaxBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_maxSellBps","type":"uint32"}],"name":"setMaxSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_maxWalletSizeBps","type":"uint32"}],"name":"setMaxWalletSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"_minWalletSizeBps","type":"uint32"}],"name":"setMinWalletSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint32","name":"sellTax","type":"uint32"}],"name":"setSellTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setTaxAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxes","outputs":[{"internalType":"uint32","name":"buyTaxBps","type":"uint32"},{"internalType":"uint32","name":"sellTaxBps","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","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 IDexRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e060405234801561000f575f5ffd5b5060405161348a38038061348a83398101604081905261002e916109c2565b336040518060400160405280600f81526020016e273790273aba102737bb32b6b132b960891b8152506040518060400160405280600381526020016227272760e91b81525081600390816100829190610b08565b50600461008f8282610b08565b5050506001600160a01b0381166100c057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100c98161057d565b50600160065580518251146101205760405162461bcd60e51b815260206004820152601560248201527f4172726179206c656e677468206d69736d61746368000000000000000000000060448201526064016100b7565b737a250d5630b4cf539739df2c5dacb4c659f2488d60c0819052604080516315ab88c960e31b8152905163ad5c4648916004808201926020929091908290030181865afa158015610173573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906101979190610bc2565b6001600160a01b031660a0816001600160a01b03168152505060c0516001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156101ee573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102129190610bc2565b60a0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303815f875af1158015610260573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102849190610bc2565b6001600160a01b031660808190525f908152600a60205260408120805460ff19166001179055600c80546001600160a01b031990811673539da43cbdcaeb8dffdc62ff618ad9d6c4cfb53d908117909255600d805490911690911790558080805b855181101561039c57336001600160a01b031686828151811061030a5761030a610bdb565b60200260200101516001600160a01b03160361032557600193505b5f61035c86838151811061033b5761033b610bdb565b60209081029190910101516b033b2e3c9fd0803ce8000000906127106105ce565b905061038787838151811061037357610373610bdb565b60200260200101518261068e60201b60201c565b6103918185610c03565b9350506001016102e5565b50826103c8576103bc6b033b2e3c9fd0803ce800000060c86127106105ce565b90506103c8338261068e565b5f816103e0846b033b2e3c9fd0803ce8000000610c1c565b6103ea9190610c1c565b90506103f6308261068e565b6104116b033b2e3c9fd0803ce80000006108986127106105ce565b61041b9082610c1c565b600e5560c05161042e9030905f196106c6565b6104483360c0516104436106d860201b60201c565b6106c6565b5050335f8181526007602081815260408084208054600160ff1991821681179092553080875283872080548316841790556080516001600160a01b03908116808952858920805485168617905560c0518216895285892080548516861790556008875285892080548516861790558852848820805484168517905590875283872080548316841790559686528286208054821683179055600c8054881687528387208054831684179055600d8054891688528488208054841685179055905488168752949093528185208054841682179055925490941683529290912080549092161790555050601180546001600160801b0319166c640000006400000000000000961790555050601280546001600160401b0319166464000000641790556013805462ffff00191662010100179055610c43565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f838302815f1985870982811083820303915050805f03610602578382816105f8576105f8610c2f565b0492505050610687565b8084116106225760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150505b9392505050565b6001600160a01b0382166106b75760405163ec442f0560e01b81525f60048201526024016100b7565b6106c25f83836106de565b5050565b6106d38383836001610804565b505050565b60025490565b6001600160a01b038316610708578060025f8282546106fd9190610c03565b909155506107789050565b6001600160a01b0383165f908152602081905260409020548181101561075a5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100b7565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610794576002805482900390556107b2565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516107f791815260200190565b60405180910390a3505050565b6001600160a01b03841661082d5760405163e602df0560e01b81525f60048201526024016100b7565b6001600160a01b03831661085657604051634a1406b160e11b81525f60048201526024016100b7565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156108d157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516108c891815260200190565b60405180910390a35b50505050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f191681016001600160401b0381118282101715610913576109136108d7565b604052919050565b5f6001600160401b03821115610933576109336108d7565b5060051b60200190565b80516001600160a01b0381168114610953575f5ffd5b919050565b5f82601f830112610967575f5ffd5b815161097a6109758261091b565b6108eb565b8082825260208201915060208360051b86010192508583111561099b575f5ffd5b602085015b838110156109b85780518352602092830192016109a0565b5095945050505050565b5f5f604083850312156109d3575f5ffd5b82516001600160401b038111156109e8575f5ffd5b8301601f810185136109f8575f5ffd5b8051610a066109758261091b565b8082825260208201915060208360051b850101925087831115610a27575f5ffd5b6020840193505b82841015610a5057610a3f8461093d565b825260209384019390910190610a2e565b6020870151909550925050506001600160401b03811115610a6f575f5ffd5b610a7b85828601610958565b9150509250929050565b600181811c90821680610a9957607f821691505b602082108103610ab757634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156106d357805f5260205f20601f840160051c81016020851015610ae25750805b601f840160051c820191505b81811015610b01575f8155600101610aee565b5050505050565b81516001600160401b03811115610b2157610b216108d7565b610b3581610b2f8454610a85565b84610abd565b6020601f821160018114610b67575f8315610b505750848201515b5f19600385901b1c1916600184901b178455610b01565b5f84815260208120601f198516915b82811015610b965787850151825560209485019460019092019101610b76565b5084821015610bb357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b5f60208284031215610bd2575f5ffd5b6106878261093d565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820180821115610c1657610c16610bef565b92915050565b81810381811115610c1657610c16610bef565b634e487b7160e01b5f52601260045260245ffd5b60805160a05160c051612801610c895f395f81816102f70152818161105401528181611d2d01528181612278015261233101525f6106e701525f61040f01526128015ff3fe608060405260043610610261575f3560e01c80637f6527131161013f578063d0d41fe1116100b3578063dd62ed3e11610078578063dd62ed3e146107f5578063e8078d9414610839578063ed18d56514610841578063f2fde38b14610860578063f5648a4f1461087f578063f8686f0714610893575f5ffd5b8063d0d41fe11461075b578063d34628cc1461077a578063d389c82d14610799578063d5abeb01146107b8578063db932ae2146107d6575f5ffd5b8063a1883d2611610104578063a1883d2614610698578063a9059cbb146106b7578063ad5c4648146106d6578063bb1789d614610709578063be9a655514610728578063c876d0b91461073c575f5ffd5b80637f652713146105bf578063860a32ec146105de578063860aefcf146105fc5780638da5cb5b1461066757806395d89b4114610684575f5ffd5b80634ada218b116101d65780636c3bbfd71161019b5780636c3bbfd7146104f657806370a0823114610515578063715018a614610534578063728f8eea14610548578063751039fc1461058c5780637659aa9f146105a0575f5ffd5b80634ada218b146104315780634fbee1931461044a57806355e77551146104815780635cce86cd146104a05780636af65929146104d7575f5ffd5b806323b872dd1161022757806323b872dd1461034f578063313ce5671461036e578063387bc93f146103895780633bbac579146103a857806340750317146103df57806349bd5a5e146103fe575f5ffd5b8062ae3bf81461026c57806306fdde031461028d578063095ea7b3146102b75780631694505e146102e657806318160ddd14610331575f5ffd5b3661026857005b5f5ffd5b348015610277575f5ffd5b5061028b61028636600461243a565b6108a7565b005b348015610298575f5ffd5b506102a1610a01565b6040516102ae9190612455565b60405180910390f35b3480156102c2575f5ffd5b506102d66102d136600461248a565b610a91565b60405190151581526020016102ae565b3480156102f1575f5ffd5b506103197f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020016102ae565b34801561033c575f5ffd5b506002545b6040519081526020016102ae565b34801561035a575f5ffd5b506102d66103693660046124b4565b610aaa565b348015610379575f5ffd5b50604051601281526020016102ae565b348015610394575f5ffd5b5061028b6103a33660046124f2565b610b45565b3480156103b3575f5ffd5b506102d66103c236600461243a565b6001600160a01b03165f9081526009602052604090205460ff1690565b3480156103ea575f5ffd5b50600d54610319906001600160a01b031681565b348015610409575f5ffd5b506103197f000000000000000000000000000000000000000000000000000000000000000081565b34801561043c575f5ffd5b506013546102d69060ff1681565b348015610455575f5ffd5b506102d661046436600461243a565b6001600160a01b03165f9081526007602052604090205460ff1690565b34801561048c575f5ffd5b5061028b61049b36600461256a565b610b74565b3480156104ab575f5ffd5b506102d66104ba36600461243a565b6001600160a01b03165f9081526008602052604090205460ff1690565b3480156104e2575f5ffd5b50600c54610319906001600160a01b031681565b348015610501575f5ffd5b5061028b6105103660046125bd565b610be6565b348015610520575f5ffd5b5061034161052f36600461243a565b610c57565b34801561053f575f5ffd5b5061028b610c71565b348015610553575f5ffd5b5060125461056f9063ffffffff80821691600160201b90041682565b6040805163ffffffff9384168152929091166020830152016102ae565b348015610597575f5ffd5b5061028b610cc5565b3480156105ab575f5ffd5b5061028b6105ba3660046124f2565b610d2c565b3480156105ca575f5ffd5b5061028b6105d93660046124f2565b610d50565b3480156105e9575f5ffd5b506013546102d690610100900460ff1681565b348015610607575f5ffd5b506011546106379063ffffffff80821691600160201b8104821691600160401b8204811691600160601b90041684565b6040805163ffffffff958616815293851660208501529184169183019190915290911660608201526080016102ae565b348015610672575f5ffd5b506005546001600160a01b0316610319565b34801561068f575f5ffd5b506102a1610d83565b3480156106a3575f5ffd5b5061028b6106b236600461243a565b610d92565b3480156106c2575f5ffd5b506102d66106d136600461248a565b610dbc565b3480156106e1575f5ffd5b506103197f000000000000000000000000000000000000000000000000000000000000000081565b348015610714575f5ffd5b5061028b6107233660046124f2565b610dd1565b348015610733575f5ffd5b5061028b610e5f565b348015610747575f5ffd5b506013546102d69062010000900460ff1681565b348015610766575f5ffd5b5061028b61077536600461243a565b610efa565b348015610785575f5ffd5b5061028b6107943660046125bd565b610f24565b3480156107a4575f5ffd5b5061028b6107b33660046124f2565b610f91565b3480156107c3575f5ffd5b50610341676765c793fa10079d601b1b81565b3480156107e1575f5ffd5b5061028b6107f03660046124f2565b610fbf565b348015610800575f5ffd5b5061034161080f3660046125fc565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61028b61103c565b34801561084c575f5ffd5b5061028b61085b36600461256a565b611121565b34801561086b575f5ffd5b5061028b61087a36600461243a565b61118d565b34801561088a575f5ffd5b5061028b6111f9565b34801561089e575f5ffd5b5061028b61125e565b6108af6112c6565b6001600160a01b03811661090a5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f74206265203000000000000060448201526064015b60405180910390fd5b600c546001600160a01b031633148061092d5750600d546001600160a01b031633145b6109705760405162461bcd60e51b81526020600482015260146024820152734f6e6c79207465616d2063616e2072657363756560601b6044820152606401610901565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa1580156109b4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d89190612633565b600c549091506109f39083906001600160a01b0316836112f0565b506109fe6001600655565b50565b606060038054610a109061264a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3c9061264a565b8015610a875780601f10610a5e57610100808354040283529160200191610a87565b820191905f5260205f20905b815481529060010190602001808311610a6a57829003601f168201915b5050505050905090565b5f33610a9e818585611349565b60019150505b92915050565b5f80610ab6853361080f565b905082811015610b195760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610901565b610b24858585611356565b610b388533610b338685612696565b611349565b60019150505b9392505050565b610b4d611492565b6011805463ffffffff909216600160201b0267ffffffff0000000019909216919091179055565b610b7c611492565b5f5b82811015610be0578160075f868685818110610b9c57610b9c6126a9565b9050602002016020810190610bb1919061243a565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101610b7e565b50505050565b610bee611492565b5f5b81811015610c52575f60095f858585818110610c0e57610c0e6126a9565b9050602002016020810190610c23919061243a565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101610bf0565b505050565b6001600160a01b03165f9081526020819052604090205490565b610c79611492565b6012805467ffffffffffffffff19169055610c926114bf565b610c9a61151d565b60135460ff16610cbb576013805460ff1916600117905543600f8190556010555b610cc3611553565b565b610ccd611492565b601354610100900460ff16610d245760405162461bcd60e51b815260206004820152601760248201527f4c696d69747320616c72656164792064697361626c65640000000000000000006044820152606401610901565b610cc36114bf565b610d34611492565b6011805463ffffffff191663ffffffff92909216919091179055565b610d58611492565b6011805463ffffffff909216600160401b026bffffffff000000000000000019909216919091179055565b606060048054610a109061264a565b610d9a611492565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b5f610dc8338484611356565b50600192915050565b610dd9611492565b6127108163ffffffff16111580610e02575060125463ffffffff600160201b9091048116908216105b610e3d5760405162461bcd60e51b815260206004820152600c60248201526b0a8c2f040e8dede40d0d2ced60a31b6044820152606401610901565b6012805467ffffffff000000001916600160201b63ffffffff84160217905550565b610e67611492565b60135460ff1615610eba5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610901565b6013805460ff1916600117905543600f8190556010556040517f1d97b7cdf6b6f3405cbe398b69512e5419a0ce78232b6e9c6ffbf1466774bd8d905f90a1565b610f02611492565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b610f2c611492565b5f5b81811015610c5257600160095f858585818110610f4d57610f4d6126a9565b9050602002016020810190610f62919061243a565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101610f2e565b610f99611492565b6011805463ffffffff909216600160601b0263ffffffff60601b19909216919091179055565b610fc7611492565b6127108163ffffffff16111580610fe9575060125463ffffffff908116908216105b6110245760405162461bcd60e51b815260206004820152600c60248201526b0a8c2f040e8dede40d0d2ced60a31b6044820152606401610901565b6012805463ffffffff191663ffffffff831617905550565b611044611492565b600e54600c546001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263f305d7199234923092915f9182911661109142603c6126bd565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af11580156110fc573d5f5f3e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610c5291906126d0565b611129611492565b5f5b82811015610be0578160085f868685818110611149576111496126a9565b905060200201602081019061115e919061243a565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905560010161112b565b611195611492565b335f9081526007602081815260408084208054600160ff199182168117909255600880855283872080548316841790556001600160a01b0388168752948452828620805482168317905593909252909220805490911690911790556109fe81611564565b6112016112c6565b600c546040515f916001600160a01b03169047908381818185875af1925050503d805f811461124b576040519150601f19603f3d011682016040523d82523d5f602084013e611250565b606091505b50610cc39250611342915050565b611266611492565b60135462010000900460ff166112be5760405162461bcd60e51b815260206004820152601f60248201527f5472616e736665722064656c617920616c72656164792064697361626c6564006044820152606401610901565b610cc361151d565b6002600654036112e957604051633ee5aeb560e01b815260040160405180910390fd5b6002600655565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610c5290849061159e565b6001600655565b610c5283838360016115ff565b6001600160a01b0383165f9081526007602052604090205460ff16158061139557506001600160a01b0382165f9081526007602052604090205460ff16155b1561146c576001600160a01b0383165f9081526009602052604090205460ff161580156113da57506001600160a01b0382165f9081526009602052604090205460ff16155b61140c5760405162461bcd60e51b8152602060048201526003602482015262109bdd60ea1b6044820152606401610901565b60135460ff166114545760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd08195b98589b1959606a1b6044820152606401610901565b61145f8383836116d1565b6114699082612696565b90505b601354610100900460ff161561148757611487838383611838565b610c52838383611ebe565b6005546001600160a01b03163314610cc35760405163118cdaa760e01b8152336004820152602401610901565b6013805461ff0019169055601180546fffffffffffffffffffffffffffffffff19166d27100000271000000000000027101790556040517f56cd40e702ad44e23718371585a7a88bfb79ab8ea81a03c7f8945fabc3c279cf905f90a1565b6013805462ff0000191690556040517fdb349fabddd6395eaacfeb0f9c6e7a4562ac292886cc0a87d1981bcaaab83fbe905f90a1565b61155b611492565b610cc35f611f1b565b61156c611492565b6001600160a01b03811661159557604051631e4fbdf760e01b81525f6004820152602401610901565b6109fe81611f1b565b5f6115b26001600160a01b03841683611f6c565b905080515f141580156115d65750808060200190518101906115d491906126fb565b155b15610c5257604051635274afe760e01b81526001600160a01b0384166004820152602401610901565b6001600160a01b0384166116285760405163e602df0560e01b81525f6004820152602401610901565b6001600160a01b03831661165157604051634a1406b160e11b81525f6004820152602401610901565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610be057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516116c391815260200190565b60405180910390a350505050565b5f5f6116dc30610c57565b1015801561170157506001600160a01b0383165f908152600a602052604090205460ff165b801561171b575043601054600261171891906126bd565b11155b156117295761172982611f79565b6001600160a01b0383165f908152600a602052604081205460ff161561175f5750601254600160201b900463ffffffff1661178a565b6001600160a01b0385165f908152600a602052604090205460ff161561178a575060125463ffffffff165b5f63ffffffff82161561182f5743600f540361180a576001600160a01b0386165f908152600a602052604090205460ff16156117d6576117cf846103e8612710611fa5565b9050611824565b6001600160a01b0385165f908152600a602052604090205460ff1615611805576117cf84611388612710611fa5565b611824565b6118218463ffffffff8085169061271090611fa516565b90505b61182f863083611ebe565b95945050505050565b601354610100900460ff1615610c52576040805160808101825260115463ffffffff8082168352600160201b82048116602080850191909152600160401b8304821684860152600160601b9092041660608301526001600160a01b0386165f908152600a909152919091205460ff1680156118cb57506001600160a01b0383165f9081526008602052604090205460ff16155b156119c95760408101516118f990676765c793fa10079d601b1b9063ffffffff9081169061271090611fa516565b82111561193b5760405162461bcd60e51b815260206004820152601060248201526f13585e08189d5e48195e18d95959195960821b6044820152606401610901565b60115461196290676765c793fa10079d601b1b9063ffffffff9081169061271090611fa516565b8261196c85610c57565b61197691906126bd565b11156119c45760405162461bcd60e51b815260206004820152601e60248201527f4275796572206d61782077616c6c65742073697a6520657863656564656400006044820152606401610901565b611b04565b6001600160a01b0383165f908152600a602052604090205460ff168015611a0857506001600160a01b0384165f9081526008602052604090205460ff16155b15611b04576060810151611a3690676765c793fa10079d601b1b9063ffffffff9081169061271090611fa516565b821115611a795760405162461bcd60e51b815260206004820152601160248201527013585e081cd95b1b08195e18d959591959607a1b6044820152606401610901565b601154611aa790676765c793fa10079d601b1b9063ffffffff600160201b90910481169061271090611fa516565b82611ab186610c57565b611abb9190612696565b1015611b045760405162461bcd60e51b815260206004820152601860248201527753656e6465722062656c6f77206d696e20686f6c64696e6760401b6044820152606401610901565b6001600160a01b0384165f9081526008602052604090205460ff16158015611b4457506001600160a01b0383165f9081526008602052604090205460ff16155b15611cf757601154611b7090676765c793fa10079d601b1b9063ffffffff9081169061271090611fa516565b82611b7a85610c57565b611b8491906126bd565b1115611bdc5760405162461bcd60e51b815260206004820152602160248201527f5265636569766572206d61782077616c6c65742073697a6520657863656564656044820152601960fa1b6064820152608401610901565b601154611c0a90676765c793fa10079d601b1b9063ffffffff600160201b90910481169061271090611fa516565b82611c1485610c57565b611c1e91906126bd565b1015611c6c5760405162461bcd60e51b815260206004820152601a60248201527f52656365697665722062656c6f77206d696e20686f6c64696e670000000000006044820152606401610901565b601154611c9a90676765c793fa10079d601b1b9063ffffffff600160201b90910481169061271090611fa516565b82611ca486610c57565b611cae9190612696565b1015611cf75760405162461bcd60e51b815260206004820152601860248201527753656e6465722062656c6f77206d696e20686f6c64696e6760401b6044820152606401610901565b60135462010000900460ff1615610be0576001600160a01b0384165f9081526008602052604090205460ff16158015611d6257507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031614155b8015611d7757506001600160a01b0383163014155b15611dd657325f908152600b60205260409020544390611d9890600a6126bd565b10611dd65760405162461bcd60e51b815260206004820152600e60248201526d5472616e736665722044656c617960901b6044820152606401610901565b6001600160a01b0384163014801590611df857506001600160a01b0383163014155b15611e21576001600160a01b0383165f908152600b602052604080822043908190553283529120555b6001600160a01b0384165f908152600a602052604090205460ff168015611e575750325f9081526008602052604090205460ff16155b15610be057326001600160a01b03841614610be05760405162461bcd60e51b815260206004820152602160248201527f6e6f20627579696e6720746f2065787465726e616c2077616c6c6574732079656044820152601d60fa1b6064820152608401610901565b6001600160a01b038316611ee757604051634b637e8f60e11b81525f6004820152602401610901565b6001600160a01b038216611f105760405163ec442f0560e01b81525f6004820152602401610901565b610c52838383612064565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6060610b3e83835f61218a565b611f8230610c57565b811115611f9557611f9230610c57565b90505b611f9e81612223565b5043601055565b5f838302815f1985870982811083820303915050805f03611fd957838281611fcf57611fcf612716565b0492505050610b3e565b808411611ff95760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6001600160a01b03831661208e578060025f82825461208391906126bd565b909155506120fe9050565b6001600160a01b0383165f90815260208190526040902054818110156120e05760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610901565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661211a57600280548290039055612138565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161217d91815260200190565b60405180910390a3505050565b6060814710156121af5760405163cd78605960e01b8152306004820152602401610901565b5f5f856001600160a01b031684866040516121ca919061272a565b5f6040518083038185875af1925050503d805f8114612204576040519150601f19603f3d011682016040523d82523d5f602084013e612209565b606091505b50915091506122198683836123a1565b9695505050505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110612256576122566126a9565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122d2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122f69190612740565b81600181518110612309576123096126a9565b6001600160a01b039283166020918202929092010152600d5460405163791ac94760e01b81527f000000000000000000000000000000000000000000000000000000000000000083169263791ac947926123709287925f928892911690429060040161275b565b5f604051808303815f87803b158015612387575f5ffd5b505af1158015612399573d5f5f3e3d5ffd5b505050505050565b6060826123b6576123b1826123fd565b610b3e565b81511580156123cd57506001600160a01b0384163b155b156123f657604051639996b31560e01b81526001600160a01b0385166004820152602401610901565b5080610b3e565b80511561240d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b03811681146109fe575f5ffd5b5f6020828403121561244a575f5ffd5b8135610b3e81612426565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f6040838503121561249b575f5ffd5b82356124a681612426565b946020939093013593505050565b5f5f5f606084860312156124c6575f5ffd5b83356124d181612426565b925060208401356124e181612426565b929592945050506040919091013590565b5f60208284031215612502575f5ffd5b813563ffffffff81168114610b3e575f5ffd5b5f5f83601f840112612525575f5ffd5b50813567ffffffffffffffff81111561253c575f5ffd5b6020830191508360208260051b8501011115612556575f5ffd5b9250929050565b80151581146109fe575f5ffd5b5f5f5f6040848603121561257c575f5ffd5b833567ffffffffffffffff811115612592575f5ffd5b61259e86828701612515565b90945092505060208401356125b28161255d565b809150509250925092565b5f5f602083850312156125ce575f5ffd5b823567ffffffffffffffff8111156125e4575f5ffd5b6125f085828601612515565b90969095509350505050565b5f5f6040838503121561260d575f5ffd5b823561261881612426565b9150602083013561262881612426565b809150509250929050565b5f60208284031215612643575f5ffd5b5051919050565b600181811c9082168061265e57607f821691505b60208210810361267c57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610aa457610aa4612682565b634e487b7160e01b5f52603260045260245ffd5b80820180821115610aa457610aa4612682565b5f5f5f606084860312156126e2575f5ffd5b5050815160208301516040909301519094929350919050565b5f6020828403121561270b575f5ffd5b8151610b3e8161255d565b634e487b7160e01b5f52601260045260245ffd5b5f82518060208501845e5f920191825250919050565b5f60208284031215612750575f5ffd5b8151610b3e81612426565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156127ab5783516001600160a01b0316835260209384019390920191600101612784565b50506001600160a01b03959095166060840152505060800152939250505056fea2646970667358221220d02076721663da53d683be826717972f671de07e1cbc5c36badc26ea6b1875d864736f6c634300081c003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000800000000000000000000000062b711dcfae687f94859b47a74f1929e6aa3a75100000000000000000000000050b120bf8a9f74de8cc1c06db819c9edba99d1c7000000000000000000000000629eb2b37f646d358ad8bd655ebf9e79acd2dd000000000000000000000000002c96df69869ceb1c8c1d818e11f038ef7bc8b74d000000000000000000000000f874e093b93a7b516f1ca0be8fa5df1efc08439a00000000000000000000000052e63e02236c5d5ec9a1deb4ade4031e08bd507a000000000000000000000000ec9fb087f06a34ec704521555ff54f81e67bb51000000000000000000000000057023390027ee1dc76bdb8cdb719246f5a0c0ac6000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000061000000000000000000000000000000000000000000000000000000000000005f000000000000000000000000000000000000000000000000000000000000005a0000000000000000000000000000000000000000000000000000000000000055000000000000000000000000000000000000000000000000000000000000005e0000000000000000000000000000000000000000000000000000000000000057000000000000000000000000000000000000000000000000000000000000005b

Deployed Bytecode

0x608060405260043610610261575f3560e01c80637f6527131161013f578063d0d41fe1116100b3578063dd62ed3e11610078578063dd62ed3e146107f5578063e8078d9414610839578063ed18d56514610841578063f2fde38b14610860578063f5648a4f1461087f578063f8686f0714610893575f5ffd5b8063d0d41fe11461075b578063d34628cc1461077a578063d389c82d14610799578063d5abeb01146107b8578063db932ae2146107d6575f5ffd5b8063a1883d2611610104578063a1883d2614610698578063a9059cbb146106b7578063ad5c4648146106d6578063bb1789d614610709578063be9a655514610728578063c876d0b91461073c575f5ffd5b80637f652713146105bf578063860a32ec146105de578063860aefcf146105fc5780638da5cb5b1461066757806395d89b4114610684575f5ffd5b80634ada218b116101d65780636c3bbfd71161019b5780636c3bbfd7146104f657806370a0823114610515578063715018a614610534578063728f8eea14610548578063751039fc1461058c5780637659aa9f146105a0575f5ffd5b80634ada218b146104315780634fbee1931461044a57806355e77551146104815780635cce86cd146104a05780636af65929146104d7575f5ffd5b806323b872dd1161022757806323b872dd1461034f578063313ce5671461036e578063387bc93f146103895780633bbac579146103a857806340750317146103df57806349bd5a5e146103fe575f5ffd5b8062ae3bf81461026c57806306fdde031461028d578063095ea7b3146102b75780631694505e146102e657806318160ddd14610331575f5ffd5b3661026857005b5f5ffd5b348015610277575f5ffd5b5061028b61028636600461243a565b6108a7565b005b348015610298575f5ffd5b506102a1610a01565b6040516102ae9190612455565b60405180910390f35b3480156102c2575f5ffd5b506102d66102d136600461248a565b610a91565b60405190151581526020016102ae565b3480156102f1575f5ffd5b506103197f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b0390911681526020016102ae565b34801561033c575f5ffd5b506002545b6040519081526020016102ae565b34801561035a575f5ffd5b506102d66103693660046124b4565b610aaa565b348015610379575f5ffd5b50604051601281526020016102ae565b348015610394575f5ffd5b5061028b6103a33660046124f2565b610b45565b3480156103b3575f5ffd5b506102d66103c236600461243a565b6001600160a01b03165f9081526009602052604090205460ff1690565b3480156103ea575f5ffd5b50600d54610319906001600160a01b031681565b348015610409575f5ffd5b506103197f0000000000000000000000009aa441012b896c75856e510899e3ac616ee2cca281565b34801561043c575f5ffd5b506013546102d69060ff1681565b348015610455575f5ffd5b506102d661046436600461243a565b6001600160a01b03165f9081526007602052604090205460ff1690565b34801561048c575f5ffd5b5061028b61049b36600461256a565b610b74565b3480156104ab575f5ffd5b506102d66104ba36600461243a565b6001600160a01b03165f9081526008602052604090205460ff1690565b3480156104e2575f5ffd5b50600c54610319906001600160a01b031681565b348015610501575f5ffd5b5061028b6105103660046125bd565b610be6565b348015610520575f5ffd5b5061034161052f36600461243a565b610c57565b34801561053f575f5ffd5b5061028b610c71565b348015610553575f5ffd5b5060125461056f9063ffffffff80821691600160201b90041682565b6040805163ffffffff9384168152929091166020830152016102ae565b348015610597575f5ffd5b5061028b610cc5565b3480156105ab575f5ffd5b5061028b6105ba3660046124f2565b610d2c565b3480156105ca575f5ffd5b5061028b6105d93660046124f2565b610d50565b3480156105e9575f5ffd5b506013546102d690610100900460ff1681565b348015610607575f5ffd5b506011546106379063ffffffff80821691600160201b8104821691600160401b8204811691600160601b90041684565b6040805163ffffffff958616815293851660208501529184169183019190915290911660608201526080016102ae565b348015610672575f5ffd5b506005546001600160a01b0316610319565b34801561068f575f5ffd5b506102a1610d83565b3480156106a3575f5ffd5b5061028b6106b236600461243a565b610d92565b3480156106c2575f5ffd5b506102d66106d136600461248a565b610dbc565b3480156106e1575f5ffd5b506103197f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b348015610714575f5ffd5b5061028b6107233660046124f2565b610dd1565b348015610733575f5ffd5b5061028b610e5f565b348015610747575f5ffd5b506013546102d69062010000900460ff1681565b348015610766575f5ffd5b5061028b61077536600461243a565b610efa565b348015610785575f5ffd5b5061028b6107943660046125bd565b610f24565b3480156107a4575f5ffd5b5061028b6107b33660046124f2565b610f91565b3480156107c3575f5ffd5b50610341676765c793fa10079d601b1b81565b3480156107e1575f5ffd5b5061028b6107f03660046124f2565b610fbf565b348015610800575f5ffd5b5061034161080f3660046125fc565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b61028b61103c565b34801561084c575f5ffd5b5061028b61085b36600461256a565b611121565b34801561086b575f5ffd5b5061028b61087a36600461243a565b61118d565b34801561088a575f5ffd5b5061028b6111f9565b34801561089e575f5ffd5b5061028b61125e565b6108af6112c6565b6001600160a01b03811661090a5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f74206265203000000000000060448201526064015b60405180910390fd5b600c546001600160a01b031633148061092d5750600d546001600160a01b031633145b6109705760405162461bcd60e51b81526020600482015260146024820152734f6e6c79207465616d2063616e2072657363756560601b6044820152606401610901565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa1580156109b4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109d89190612633565b600c549091506109f39083906001600160a01b0316836112f0565b506109fe6001600655565b50565b606060038054610a109061264a565b80601f0160208091040260200160405190810160405280929190818152602001828054610a3c9061264a565b8015610a875780601f10610a5e57610100808354040283529160200191610a87565b820191905f5260205f20905b815481529060010190602001808311610a6a57829003601f168201915b5050505050905090565b5f33610a9e818585611349565b60019150505b92915050565b5f80610ab6853361080f565b905082811015610b195760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610901565b610b24858585611356565b610b388533610b338685612696565b611349565b60019150505b9392505050565b610b4d611492565b6011805463ffffffff909216600160201b0267ffffffff0000000019909216919091179055565b610b7c611492565b5f5b82811015610be0578160075f868685818110610b9c57610b9c6126a9565b9050602002016020810190610bb1919061243a565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101610b7e565b50505050565b610bee611492565b5f5b81811015610c52575f60095f858585818110610c0e57610c0e6126a9565b9050602002016020810190610c23919061243a565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101610bf0565b505050565b6001600160a01b03165f9081526020819052604090205490565b610c79611492565b6012805467ffffffffffffffff19169055610c926114bf565b610c9a61151d565b60135460ff16610cbb576013805460ff1916600117905543600f8190556010555b610cc3611553565b565b610ccd611492565b601354610100900460ff16610d245760405162461bcd60e51b815260206004820152601760248201527f4c696d69747320616c72656164792064697361626c65640000000000000000006044820152606401610901565b610cc36114bf565b610d34611492565b6011805463ffffffff191663ffffffff92909216919091179055565b610d58611492565b6011805463ffffffff909216600160401b026bffffffff000000000000000019909216919091179055565b606060048054610a109061264a565b610d9a611492565b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b5f610dc8338484611356565b50600192915050565b610dd9611492565b6127108163ffffffff16111580610e02575060125463ffffffff600160201b9091048116908216105b610e3d5760405162461bcd60e51b815260206004820152600c60248201526b0a8c2f040e8dede40d0d2ced60a31b6044820152606401610901565b6012805467ffffffff000000001916600160201b63ffffffff84160217905550565b610e67611492565b60135460ff1615610eba5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610901565b6013805460ff1916600117905543600f8190556010556040517f1d97b7cdf6b6f3405cbe398b69512e5419a0ce78232b6e9c6ffbf1466774bd8d905f90a1565b610f02611492565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b610f2c611492565b5f5b81811015610c5257600160095f858585818110610f4d57610f4d6126a9565b9050602002016020810190610f62919061243a565b6001600160a01b0316815260208101919091526040015f20805460ff1916911515919091179055600101610f2e565b610f99611492565b6011805463ffffffff909216600160601b0263ffffffff60601b19909216919091179055565b610fc7611492565b6127108163ffffffff16111580610fe9575060125463ffffffff908116908216105b6110245760405162461bcd60e51b815260206004820152600c60248201526b0a8c2f040e8dede40d0d2ced60a31b6044820152606401610901565b6012805463ffffffff191663ffffffff831617905550565b611044611492565b600e54600c546001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263f305d7199234923092915f9182911661109142603c6126bd565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af11580156110fc573d5f5f3e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610c5291906126d0565b611129611492565b5f5b82811015610be0578160085f868685818110611149576111496126a9565b905060200201602081019061115e919061243a565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905560010161112b565b611195611492565b335f9081526007602081815260408084208054600160ff199182168117909255600880855283872080548316841790556001600160a01b0388168752948452828620805482168317905593909252909220805490911690911790556109fe81611564565b6112016112c6565b600c546040515f916001600160a01b03169047908381818185875af1925050503d805f811461124b576040519150601f19603f3d011682016040523d82523d5f602084013e611250565b606091505b50610cc39250611342915050565b611266611492565b60135462010000900460ff166112be5760405162461bcd60e51b815260206004820152601f60248201527f5472616e736665722064656c617920616c72656164792064697361626c6564006044820152606401610901565b610cc361151d565b6002600654036112e957604051633ee5aeb560e01b815260040160405180910390fd5b6002600655565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610c5290849061159e565b6001600655565b610c5283838360016115ff565b6001600160a01b0383165f9081526007602052604090205460ff16158061139557506001600160a01b0382165f9081526007602052604090205460ff16155b1561146c576001600160a01b0383165f9081526009602052604090205460ff161580156113da57506001600160a01b0382165f9081526009602052604090205460ff16155b61140c5760405162461bcd60e51b8152602060048201526003602482015262109bdd60ea1b6044820152606401610901565b60135460ff166114545760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd08195b98589b1959606a1b6044820152606401610901565b61145f8383836116d1565b6114699082612696565b90505b601354610100900460ff161561148757611487838383611838565b610c52838383611ebe565b6005546001600160a01b03163314610cc35760405163118cdaa760e01b8152336004820152602401610901565b6013805461ff0019169055601180546fffffffffffffffffffffffffffffffff19166d27100000271000000000000027101790556040517f56cd40e702ad44e23718371585a7a88bfb79ab8ea81a03c7f8945fabc3c279cf905f90a1565b6013805462ff0000191690556040517fdb349fabddd6395eaacfeb0f9c6e7a4562ac292886cc0a87d1981bcaaab83fbe905f90a1565b61155b611492565b610cc35f611f1b565b61156c611492565b6001600160a01b03811661159557604051631e4fbdf760e01b81525f6004820152602401610901565b6109fe81611f1b565b5f6115b26001600160a01b03841683611f6c565b905080515f141580156115d65750808060200190518101906115d491906126fb565b155b15610c5257604051635274afe760e01b81526001600160a01b0384166004820152602401610901565b6001600160a01b0384166116285760405163e602df0560e01b81525f6004820152602401610901565b6001600160a01b03831661165157604051634a1406b160e11b81525f6004820152602401610901565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610be057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516116c391815260200190565b60405180910390a350505050565b5f5f6116dc30610c57565b1015801561170157506001600160a01b0383165f908152600a602052604090205460ff165b801561171b575043601054600261171891906126bd565b11155b156117295761172982611f79565b6001600160a01b0383165f908152600a602052604081205460ff161561175f5750601254600160201b900463ffffffff1661178a565b6001600160a01b0385165f908152600a602052604090205460ff161561178a575060125463ffffffff165b5f63ffffffff82161561182f5743600f540361180a576001600160a01b0386165f908152600a602052604090205460ff16156117d6576117cf846103e8612710611fa5565b9050611824565b6001600160a01b0385165f908152600a602052604090205460ff1615611805576117cf84611388612710611fa5565b611824565b6118218463ffffffff8085169061271090611fa516565b90505b61182f863083611ebe565b95945050505050565b601354610100900460ff1615610c52576040805160808101825260115463ffffffff8082168352600160201b82048116602080850191909152600160401b8304821684860152600160601b9092041660608301526001600160a01b0386165f908152600a909152919091205460ff1680156118cb57506001600160a01b0383165f9081526008602052604090205460ff16155b156119c95760408101516118f990676765c793fa10079d601b1b9063ffffffff9081169061271090611fa516565b82111561193b5760405162461bcd60e51b815260206004820152601060248201526f13585e08189d5e48195e18d95959195960821b6044820152606401610901565b60115461196290676765c793fa10079d601b1b9063ffffffff9081169061271090611fa516565b8261196c85610c57565b61197691906126bd565b11156119c45760405162461bcd60e51b815260206004820152601e60248201527f4275796572206d61782077616c6c65742073697a6520657863656564656400006044820152606401610901565b611b04565b6001600160a01b0383165f908152600a602052604090205460ff168015611a0857506001600160a01b0384165f9081526008602052604090205460ff16155b15611b04576060810151611a3690676765c793fa10079d601b1b9063ffffffff9081169061271090611fa516565b821115611a795760405162461bcd60e51b815260206004820152601160248201527013585e081cd95b1b08195e18d959591959607a1b6044820152606401610901565b601154611aa790676765c793fa10079d601b1b9063ffffffff600160201b90910481169061271090611fa516565b82611ab186610c57565b611abb9190612696565b1015611b045760405162461bcd60e51b815260206004820152601860248201527753656e6465722062656c6f77206d696e20686f6c64696e6760401b6044820152606401610901565b6001600160a01b0384165f9081526008602052604090205460ff16158015611b4457506001600160a01b0383165f9081526008602052604090205460ff16155b15611cf757601154611b7090676765c793fa10079d601b1b9063ffffffff9081169061271090611fa516565b82611b7a85610c57565b611b8491906126bd565b1115611bdc5760405162461bcd60e51b815260206004820152602160248201527f5265636569766572206d61782077616c6c65742073697a6520657863656564656044820152601960fa1b6064820152608401610901565b601154611c0a90676765c793fa10079d601b1b9063ffffffff600160201b90910481169061271090611fa516565b82611c1485610c57565b611c1e91906126bd565b1015611c6c5760405162461bcd60e51b815260206004820152601a60248201527f52656365697665722062656c6f77206d696e20686f6c64696e670000000000006044820152606401610901565b601154611c9a90676765c793fa10079d601b1b9063ffffffff600160201b90910481169061271090611fa516565b82611ca486610c57565b611cae9190612696565b1015611cf75760405162461bcd60e51b815260206004820152601860248201527753656e6465722062656c6f77206d696e20686f6c64696e6760401b6044820152606401610901565b60135462010000900460ff1615610be0576001600160a01b0384165f9081526008602052604090205460ff16158015611d6257507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316846001600160a01b031614155b8015611d7757506001600160a01b0383163014155b15611dd657325f908152600b60205260409020544390611d9890600a6126bd565b10611dd65760405162461bcd60e51b815260206004820152600e60248201526d5472616e736665722044656c617960901b6044820152606401610901565b6001600160a01b0384163014801590611df857506001600160a01b0383163014155b15611e21576001600160a01b0383165f908152600b602052604080822043908190553283529120555b6001600160a01b0384165f908152600a602052604090205460ff168015611e575750325f9081526008602052604090205460ff16155b15610be057326001600160a01b03841614610be05760405162461bcd60e51b815260206004820152602160248201527f6e6f20627579696e6720746f2065787465726e616c2077616c6c6574732079656044820152601d60fa1b6064820152608401610901565b6001600160a01b038316611ee757604051634b637e8f60e11b81525f6004820152602401610901565b6001600160a01b038216611f105760405163ec442f0560e01b81525f6004820152602401610901565b610c52838383612064565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6060610b3e83835f61218a565b611f8230610c57565b811115611f9557611f9230610c57565b90505b611f9e81612223565b5043601055565b5f838302815f1985870982811083820303915050805f03611fd957838281611fcf57611fcf612716565b0492505050610b3e565b808411611ff95760405163227bc15360e01b815260040160405180910390fd5b5f848688095f868103871696879004966002600389028118808a02820302808a02820302808a02820302808a02820302808a02820302808a02909103029181900381900460010186841190950394909402919094039290920491909117919091029150509392505050565b6001600160a01b03831661208e578060025f82825461208391906126bd565b909155506120fe9050565b6001600160a01b0383165f90815260208190526040902054818110156120e05760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610901565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661211a57600280548290039055612138565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161217d91815260200190565b60405180910390a3505050565b6060814710156121af5760405163cd78605960e01b8152306004820152602401610901565b5f5f856001600160a01b031684866040516121ca919061272a565b5f6040518083038185875af1925050503d805f8114612204576040519150601f19603f3d011682016040523d82523d5f602084013e612209565b606091505b50915091506122198683836123a1565b9695505050505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110612256576122566126a9565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156122d2573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122f69190612740565b81600181518110612309576123096126a9565b6001600160a01b039283166020918202929092010152600d5460405163791ac94760e01b81527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d83169263791ac947926123709287925f928892911690429060040161275b565b5f604051808303815f87803b158015612387575f5ffd5b505af1158015612399573d5f5f3e3d5ffd5b505050505050565b6060826123b6576123b1826123fd565b610b3e565b81511580156123cd57506001600160a01b0384163b155b156123f657604051639996b31560e01b81526001600160a01b0385166004820152602401610901565b5080610b3e565b80511561240d5780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b6001600160a01b03811681146109fe575f5ffd5b5f6020828403121561244a575f5ffd5b8135610b3e81612426565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f5f6040838503121561249b575f5ffd5b82356124a681612426565b946020939093013593505050565b5f5f5f606084860312156124c6575f5ffd5b83356124d181612426565b925060208401356124e181612426565b929592945050506040919091013590565b5f60208284031215612502575f5ffd5b813563ffffffff81168114610b3e575f5ffd5b5f5f83601f840112612525575f5ffd5b50813567ffffffffffffffff81111561253c575f5ffd5b6020830191508360208260051b8501011115612556575f5ffd5b9250929050565b80151581146109fe575f5ffd5b5f5f5f6040848603121561257c575f5ffd5b833567ffffffffffffffff811115612592575f5ffd5b61259e86828701612515565b90945092505060208401356125b28161255d565b809150509250925092565b5f5f602083850312156125ce575f5ffd5b823567ffffffffffffffff8111156125e4575f5ffd5b6125f085828601612515565b90969095509350505050565b5f5f6040838503121561260d575f5ffd5b823561261881612426565b9150602083013561262881612426565b809150509250929050565b5f60208284031215612643575f5ffd5b5051919050565b600181811c9082168061265e57607f821691505b60208210810361267c57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b81810381811115610aa457610aa4612682565b634e487b7160e01b5f52603260045260245ffd5b80820180821115610aa457610aa4612682565b5f5f5f606084860312156126e2575f5ffd5b5050815160208301516040909301519094929350919050565b5f6020828403121561270b575f5ffd5b8151610b3e8161255d565b634e487b7160e01b5f52601260045260245ffd5b5f82518060208501845e5f920191825250919050565b5f60208284031215612750575f5ffd5b8151610b3e81612426565b5f60a0820187835286602084015260a0604084015280865180835260c0850191506020880192505f5b818110156127ab5783516001600160a01b0316835260209384019390920191600101612784565b50506001600160a01b03959095166060840152505060800152939250505056fea2646970667358221220d02076721663da53d683be826717972f671de07e1cbc5c36badc26ea6b1875d864736f6c634300081c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000000800000000000000000000000062b711dcfae687f94859b47a74f1929e6aa3a75100000000000000000000000050b120bf8a9f74de8cc1c06db819c9edba99d1c7000000000000000000000000629eb2b37f646d358ad8bd655ebf9e79acd2dd000000000000000000000000002c96df69869ceb1c8c1d818e11f038ef7bc8b74d000000000000000000000000f874e093b93a7b516f1ca0be8fa5df1efc08439a00000000000000000000000052e63e02236c5d5ec9a1deb4ade4031e08bd507a000000000000000000000000ec9fb087f06a34ec704521555ff54f81e67bb51000000000000000000000000057023390027ee1dc76bdb8cdb719246f5a0c0ac6000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000061000000000000000000000000000000000000000000000000000000000000005f000000000000000000000000000000000000000000000000000000000000005a0000000000000000000000000000000000000000000000000000000000000055000000000000000000000000000000000000000000000000000000000000005e0000000000000000000000000000000000000000000000000000000000000057000000000000000000000000000000000000000000000000000000000000005b

-----Decoded View---------------
Arg [0] : additionalWallets (address[]): 0x62B711DcfAe687F94859B47A74F1929e6AA3a751,0x50B120Bf8a9f74dE8CC1c06DB819c9eDBa99D1c7,0x629eB2b37f646d358aD8bD655EbF9E79acd2dD00,0x2C96Df69869Ceb1c8c1d818E11F038Ef7BC8b74d,0xf874E093B93a7B516F1Ca0bE8Fa5Df1EFC08439A,0x52e63e02236C5D5eC9A1DeB4aDe4031E08bD507a,0xec9Fb087f06A34eC704521555Ff54f81E67bB510,0x57023390027EE1Dc76BDB8cDb719246F5A0c0aC6
Arg [1] : walletPercentagesBps (uint256[]): 100,97,95,90,85,94,87,91

-----Encoded View---------------
20 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [3] : 00000000000000000000000062b711dcfae687f94859b47a74f1929e6aa3a751
Arg [4] : 00000000000000000000000050b120bf8a9f74de8cc1c06db819c9edba99d1c7
Arg [5] : 000000000000000000000000629eb2b37f646d358ad8bd655ebf9e79acd2dd00
Arg [6] : 0000000000000000000000002c96df69869ceb1c8c1d818e11f038ef7bc8b74d
Arg [7] : 000000000000000000000000f874e093b93a7b516f1ca0be8fa5df1efc08439a
Arg [8] : 00000000000000000000000052e63e02236c5d5ec9a1deb4ade4031e08bd507a
Arg [9] : 000000000000000000000000ec9fb087f06a34ec704521555ff54f81e67bb510
Arg [10] : 00000000000000000000000057023390027ee1dc76bdb8cdb719246f5a0c0ac6
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000061
Arg [14] : 000000000000000000000000000000000000000000000000000000000000005f
Arg [15] : 000000000000000000000000000000000000000000000000000000000000005a
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000055
Arg [17] : 000000000000000000000000000000000000000000000000000000000000005e
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000057
Arg [19] : 000000000000000000000000000000000000000000000000000000000000005b


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.