ETH Price: $3,327.79 (+0.55%)
 

Overview

Max Total Supply

1,000,000 2DAI

Holders

790 (0.00%)

Transfers

-
4 ( -71.43%)

Market

Price

$0.0626 @ 0.000019 ETH (+1.04%)

Onchain Market Cap

-

Circulating Supply Market Cap

$62,579.00

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

2DAI is the AI platform of the future, it empowers creators with cutting-edge image and video generation, seamless NFT integration, and a powerful dApp to explore the latest creations.

Contract Source Code Verified (Exact Match)

Contract Name:
TwoDAIOnBase

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.28;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

/**
 * Name:  2DAI.io 🟦
 * Symbol: 2DAI
 * Twitter: https://x.com/2DAICommunity
 * Website: https://2dai.io
 * Telegram: https://t.me/Token2dAI
 * Supply: 1,000,000 (18 decimals) minted to deployer
 */
contract TwoDAIOnBase is ERC20 {
    using SafeERC20 for IERC20;

    // --- storage ---
    address private _own;

    // --- max wallet limit ---
    uint256 public maxWalletAmount;
    bool public maxWalletLimitEnabled = true;
    mapping(address => bool) public isMaxWalletExempt;

    // --- errors ---
    error NotOwner();
    error NoETH();
    error MaxWalletExceeded();
    error InvalidAddress();

    // --- events ---
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    event RescueTokens(address indexed token, address indexed to, uint256 amount);
    event ClaimETH(address indexed to, uint256 amount);
    event MaxWalletUpdated(uint256 newMaxWallet);
    event MaxWalletLimitToggled(bool enabled);
    event MaxWalletExemptSet(address indexed account, bool exempt);

    // --- constructor ---
    constructor() ERC20(unicode"2DAI.io 🟦", "2DAI") {
        _own = msg.sender;

        // Set exemptions BEFORE minting
        isMaxWalletExempt[msg.sender] = true;     // owner
        isMaxWalletExempt[address(this)] = true;  // token contract
        // NOTE: Add DEX pool addresses to exemptions after deployment, enjoy the ride ;)

        // Mint supply (1M tokens)
        _mint(msg.sender, 1_000_000 * 1e18);

        // 2% cap default
        maxWalletAmount = totalSupply() * 2 / 100;

        emit OwnershipTransferred(address(0), msg.sender);
        emit MaxWalletUpdated(maxWalletAmount);
        emit MaxWalletExemptSet(msg.sender, true);
        emit MaxWalletExemptSet(address(this), true);
    }

    // --- modifiers ---
    modifier onlyOwner() {
        if (msg.sender != _own) revert NotOwner();
        _;
    }

    // --- ownership ---
    function owner() external view returns (address) {
        return _own;
    }

    function renounceOwnership() external onlyOwner {
        emit OwnershipTransferred(_own, address(0));
        _own = address(0);
    }

    // --- ETH handling ---
    receive() external payable {}

    function claimETH() external onlyOwner {
        uint256 bal = address(this).balance;
        if (bal == 0) revert NoETH();
        (bool ok, ) = payable(_own).call{value: bal}("");
        require(ok, "ETH send failed");
        emit ClaimETH(_own, bal);
    }

    // --- rescue ERC20 ---
    function rescueTokens(address token, address to, uint256 amount) external onlyOwner {
        if (to == address(0)) revert InvalidAddress();
        IERC20(token).safeTransfer(to, amount);
        emit RescueTokens(token, to, amount);
    }

    // --- max wallet management ---
    function setMaxWalletAmount(uint256 newMaxWallet) external onlyOwner {
        require(newMaxWallet > 0 && newMaxWallet <= totalSupply(), "Invalid max wallet");
        maxWalletAmount = newMaxWallet;
        emit MaxWalletUpdated(newMaxWallet);
    }

    function toggleMaxWalletLimit() external onlyOwner {
        maxWalletLimitEnabled = !maxWalletLimitEnabled;
        emit MaxWalletLimitToggled(maxWalletLimitEnabled);
    }

    function setMaxWalletExempt(address account, bool exempt) external onlyOwner {
        if (account == address(0)) revert InvalidAddress();
        isMaxWalletExempt[account] = exempt;
        emit MaxWalletExemptSet(account, exempt);
    }

    // --- core hook ---
    function _update(address from, address to, uint256 amount) internal virtual override {
        if (maxWalletLimitEnabled) {
            if (to != address(0) && from != to && !isMaxWalletExempt[to]) {
                uint256 toBalance = balanceOf(to);
                if (toBalance + amount > maxWalletAmount) {
                    revert MaxWalletExceeded();
                }
            }
        }
        super._update(from, to, amount);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";
import {IERC1363} from "../../../interfaces/IERC1363.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC-20 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 {
    /**
     * @dev An operation with an ERC-20 token failed.
     */
    error SafeERC20FailedOperation(address token);

    /**
     * @dev Indicates a failed `decreaseAllowance` request.
     */
    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);

    /**
     * @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 Variant of {safeTransfer} that returns a bool instead of reverting if the operation is not successful.
     */
    function trySafeTransfer(IERC20 token, address to, uint256 value) internal returns (bool) {
        return _callOptionalReturnBool(token, abi.encodeCall(token.transfer, (to, value)));
    }

    /**
     * @dev Variant of {safeTransferFrom} that returns a bool instead of reverting if the operation is not successful.
     */
    function trySafeTransferFrom(IERC20 token, address from, address to, uint256 value) internal returns (bool) {
        return _callOptionalReturnBool(token, abi.encodeCall(token.transferFrom, (from, to, value)));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        forceApprove(token, spender, oldAllowance + value);
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no
     * value, non-reverting calls are assumed to be successful.
     *
     * IMPORTANT: If the token implements ERC-7674 (ERC-20 with temporary allowance), and if the "client"
     * smart contract uses ERC-7674 to set temporary allowances, then the "client" smart contract should avoid using
     * this function. Performing a {safeIncreaseAllowance} or {safeDecreaseAllowance} operation on a token contract
     * that has a non-zero temporary allowance (for that particular owner-spender) will result in unexpected behavior.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {
        unchecked {
            uint256 currentAllowance = token.allowance(address(this), spender);
            if (currentAllowance < requestedDecrease) {
                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);
            }
            forceApprove(token, spender, currentAllowance - requestedDecrease);
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     *
     * NOTE: If the token implements ERC-7674, this function will not modify any temporary allowance. This function
     * only sets the "standard" allowance. Any temporary allowance will remain active, in addition to the value being
     * set here.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Performs an {ERC1363} transferAndCall, with a fallback to the simple {ERC20} transfer if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            safeTransfer(token, to, value);
        } else if (!token.transferAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} transferFromAndCall, with a fallback to the simple {ERC20} transferFrom if the target
     * has no code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * Reverts if the returned value is other than `true`.
     */
    function transferFromAndCallRelaxed(
        IERC1363 token,
        address from,
        address to,
        uint256 value,
        bytes memory data
    ) internal {
        if (to.code.length == 0) {
            safeTransferFrom(token, from, to, value);
        } else if (!token.transferFromAndCall(from, to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @dev Performs an {ERC1363} approveAndCall, with a fallback to the simple {ERC20} approve if the target has no
     * code. This can be used to implement an {ERC721}-like safe transfer that rely on {ERC1363} checks when
     * targeting contracts.
     *
     * NOTE: When the recipient address (`to`) has no code (i.e. is an EOA), this function behaves as {forceApprove}.
     * Opposedly, when the recipient address (`to`) has code, this function only attempts to call {ERC1363-approveAndCall}
     * once without retrying, and relies on the returned value to be true.
     *
     * Reverts if the returned value is other than `true`.
     */
    function approveAndCallRelaxed(IERC1363 token, address to, uint256 value, bytes memory data) internal {
        if (to.code.length == 0) {
            forceApprove(token, to, value);
        } else if (!token.approveAndCall(to, value, data)) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @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).
     *
     * This is a variant of {_callOptionalReturnBool} that reverts if call fails to meet the requirements.
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            let success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            // bubble errors
            if iszero(success) {
                let ptr := mload(0x40)
                returndatacopy(ptr, 0, returndatasize())
                revert(ptr, returndatasize())
            }
            returnSize := returndatasize()
            returnValue := mload(0)
        }

        if (returnSize == 0 ? address(token).code.length == 0 : returnValue != 1) {
            revert SafeERC20FailedOperation(address(token));
        }
    }

    /**
     * @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).
     *
     * This is a variant of {_callOptionalReturn} that silently catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        bool success;
        uint256 returnSize;
        uint256 returnValue;
        assembly ("memory-safe") {
            success := call(gas(), token, 0, add(data, 0x20), mload(data), 0, 0x20)
            returnSize := returndatasize()
            returnValue := mload(0)
        }
        return success && (returnSize == 0 ? address(token).code.length > 0 : returnValue == 1);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/IERC20.sol)

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.sol";

/**
 * @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 ERC-20
 * applications.
 */
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}.
     *
     * Both 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;
    }

    /// @inheritdoc IERC20
    function totalSupply() public view virtual returns (uint256) {
        return _totalSupply;
    }

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

    /// @inheritdoc IERC20
    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}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approve-address-address-uint256-bool-}[_approve].
     *
     * 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 {
        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:
     *
     * ```solidity
     * 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);
            }
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC1363.sol)

pragma solidity >=0.6.2;

import {IERC20} from "./IERC20.sol";
import {IERC165} from "./IERC165.sol";

/**
 * @title IERC1363
 * @dev Interface of the ERC-1363 standard as defined in the https://eips.ethereum.org/EIPS/eip-1363[ERC-1363].
 *
 * Defines an extension interface for ERC-20 tokens that supports executing code on a recipient contract
 * after `transfer` or `transferFrom`, or code on a spender contract after `approve`, in a single transaction.
 */
interface IERC1363 is IERC20, IERC165 {
    /*
     * Note: the ERC-165 identifier for this interface is 0xb0202a11.
     * 0xb0202a11 ===
     *   bytes4(keccak256('transferAndCall(address,uint256)')) ^
     *   bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^
     *   bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256)')) ^
     *   bytes4(keccak256('approveAndCall(address,uint256,bytes)'))
     */

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferAndCall(address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the allowance mechanism
     * and then calls {IERC1363Receiver-onTransferReceived} on `to`.
     * @param from The address which you want to send tokens from.
     * @param to The address which you want to transfer to.
     * @param value The amount of tokens to be transferred.
     * @param data Additional data with no specified format, sent in call to `to`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function transferFromAndCall(address from, address to, uint256 value, bytes calldata data) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value) external returns (bool);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens and then calls {IERC1363Spender-onApprovalReceived} on `spender`.
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     * @param data Additional data with no specified format, sent in call to `spender`.
     * @return A boolean value indicating whether the operation succeeded unless throwing.
     */
    function approveAndCall(address spender, uint256 value, bytes calldata data) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/draft-IERC6093.sol)
pragma solidity >=0.8.4;

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in ERC-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity >=0.6.2;

import {IERC20} from "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC-20 standard.
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 9 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC165.sol)

pragma solidity >=0.4.16;

import {IERC165} from "../utils/introspection/IERC165.sol";

File 10 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (interfaces/IERC20.sol)

pragma solidity >=0.4.16;

import {IERC20} from "../token/ERC20/IERC20.sol";

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.4.0) (utils/introspection/IERC165.sol)

pragma solidity >=0.4.16;

/**
 * @dev Interface of the ERC-165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[ERC].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[ERC section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "remappings": []
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"InvalidAddress","type":"error"},{"inputs":[],"name":"MaxWalletExceeded","type":"error"},{"inputs":[],"name":"NoETH","type":"error"},{"inputs":[],"name":"NotOwner","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":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ClaimETH","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"exempt","type":"bool"}],"name":"MaxWalletExemptSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"MaxWalletLimitToggled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newMaxWallet","type":"uint256"}],"name":"MaxWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RescueTokens","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":[{"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":"claimETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isMaxWalletExempt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletLimitEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxWallet","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exempt","type":"bool"}],"name":"setMaxWalletExempt","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMaxWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600160075f6101000a81548160ff021916908315150217905550348015610029575f5ffd5b506040518060400160405280600c81526020017f324441492e696f20f09f9fa600000000000000000000000000000000000000008152506040518060400160405280600481526020017f324441490000000000000000000000000000000000000000000000000000000081525081600390816100a5919061098d565b5080600490816100b5919061098d565b5050503360055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160085f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550600160085f3073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055506101bc3369d3c21bcecceda100000061031e60201b60201c565b606460026101ce6103a360201b60201c565b6101d89190610a89565b6101e29190610af7565b6006819055503373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a37f12528a3c61e0f3b2d6fc707a9fc58b1af86e252cad0d7f4c154ebeabb162dace6006546040516102739190610b36565b60405180910390a13373ffffffffffffffffffffffffffffffffffffffff167fb6dc23005e717e1eda12837f11302b77ea2fdec3262f4ff8c059ac691b4a16ac60016040516102c29190610b69565b60405180910390a23073ffffffffffffffffffffffffffffffffffffffff167fb6dc23005e717e1eda12837f11302b77ea2fdec3262f4ff8c059ac691b4a16ac60016040516103119190610b69565b60405180910390a2610c42565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361038e575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016103859190610bc1565b60405180910390fd5b61039f5f83836103ac60201b60201c565b5050565b5f600254905090565b60075f9054906101000a900460ff16156104dc575f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415801561042857508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b801561047b575060085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b156104db575f610490836104f260201b60201c565b905060065482826104a19190610bda565b11156104d9576040517f2ce93b5900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b5b6104ed83838361053760201b60201c565b505050565b5f5f5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610587578060025f82825461057b9190610bda565b92505081905550610655565b5f5f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610610578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161060793929190610c0d565b60405180910390fd5b8181035f5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361069c578060025f82825403925050819055506106e6565b805f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516107439190610b36565b60405180910390a3505050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806107cb57607f821691505b6020821081036107de576107dd610787565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f600883026108407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82610805565b61084a8683610805565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f61088e61088961088484610862565b61086b565b610862565b9050919050565b5f819050919050565b6108a783610874565b6108bb6108b382610895565b848454610811565b825550505050565b5f5f905090565b6108d26108c3565b6108dd81848461089e565b505050565b5b81811015610900576108f55f826108ca565b6001810190506108e3565b5050565b601f82111561094557610916816107e4565b61091f846107f6565b8101602085101561092e578190505b61094261093a856107f6565b8301826108e2565b50505b505050565b5f82821c905092915050565b5f6109655f198460080261094a565b1980831691505092915050565b5f61097d8383610956565b9150826002028217905092915050565b61099682610750565b67ffffffffffffffff8111156109af576109ae61075a565b5b6109b982546107b4565b6109c4828285610904565b5f60209050601f8311600181146109f5575f84156109e3578287015190505b6109ed8582610972565b865550610a54565b601f198416610a03866107e4565b5f5b82811015610a2a57848901518255600182019150602085019450602081019050610a05565b86831015610a475784890151610a43601f891682610956565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f610a9382610862565b9150610a9e83610862565b9250828202610aac81610862565b91508282048414831517610ac357610ac2610a5c565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f610b0182610862565b9150610b0c83610862565b925082610b1c57610b1b610aca565b5b828204905092915050565b610b3081610862565b82525050565b5f602082019050610b495f830184610b27565b92915050565b5f8115159050919050565b610b6381610b4f565b82525050565b5f602082019050610b7c5f830184610b5a565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f610bab82610b82565b9050919050565b610bbb81610ba1565b82525050565b5f602082019050610bd45f830184610bb2565b92915050565b5f610be482610862565b9150610bef83610862565b9250828201905080821115610c0757610c06610a5c565b5b92915050565b5f606082019050610c205f830186610bb2565b610c2d6020830185610b27565b610c3a6040830184610b27565b949350505050565b611d2f80610c4f5f395ff3fe608060405260043610610117575f3560e01c806370a082311161009f578063a9059cbb11610063578063a9059cbb1461038a578063aa4bde28146103c6578063b6d51c15146103f0578063cea9d26f14610406578063dd62ed3e1461042e5761011e565b806370a08231146102bc578063715018a6146102f85780637537ccb61461030e5780638da5cb5b1461033657806395d89b41146103605761011e565b806321a9d82a116100e657806321a9d82a146101ee57806323b872dd1461021857806327a14fc214610254578063313ce5671461027c57806367272999146102a65761011e565b806306fdde0314610122578063095ea7b31461014c5780630bd11f8a1461018857806318160ddd146101c45761011e565b3661011e57005b5f5ffd5b34801561012d575f5ffd5b5061013661046a565b60405161014391906117dd565b60405180910390f35b348015610157575f5ffd5b50610172600480360381019061016d919061188e565b6104fa565b60405161017f91906118e6565b60405180910390f35b348015610193575f5ffd5b506101ae60048036038101906101a991906118ff565b61051c565b6040516101bb91906118e6565b60405180910390f35b3480156101cf575f5ffd5b506101d8610539565b6040516101e59190611939565b60405180910390f35b3480156101f9575f5ffd5b50610202610542565b60405161020f91906118e6565b60405180910390f35b348015610223575f5ffd5b5061023e60048036038101906102399190611952565b610554565b60405161024b91906118e6565b60405180910390f35b34801561025f575f5ffd5b5061027a600480360381019061027591906119a2565b610582565b005b348015610287575f5ffd5b5061029061069e565b60405161029d91906119e8565b60405180910390f35b3480156102b1575f5ffd5b506102ba6106a6565b005b3480156102c7575f5ffd5b506102e260048036038101906102dd91906118ff565b6108a5565b6040516102ef9190611939565b60405180910390f35b348015610303575f5ffd5b5061030c6108ea565b005b348015610319575f5ffd5b50610334600480360381019061032f9190611a2b565b610a2d565b005b348015610341575f5ffd5b5061034a610bbe565b6040516103579190611a78565b60405180910390f35b34801561036b575f5ffd5b50610374610be6565b60405161038191906117dd565b60405180910390f35b348015610395575f5ffd5b506103b060048036038101906103ab919061188e565b610c76565b6040516103bd91906118e6565b60405180910390f35b3480156103d1575f5ffd5b506103da610c98565b6040516103e79190611939565b60405180910390f35b3480156103fb575f5ffd5b50610404610c9e565b005b348015610411575f5ffd5b5061042c60048036038101906104279190611952565b610d93565b005b348015610439575f5ffd5b50610454600480360381019061044f9190611a91565b610f13565b6040516104619190611939565b60405180910390f35b60606003805461047990611afc565b80601f01602080910402602001604051908101604052809291908181526020018280546104a590611afc565b80156104f05780601f106104c7576101008083540402835291602001916104f0565b820191905f5260205f20905b8154815290600101906020018083116104d357829003601f168201915b5050505050905090565b5f5f610504610f95565b9050610511818585610f9c565b600191505092915050565b6008602052805f5260405f205f915054906101000a900460ff1681565b5f600254905090565b60075f9054906101000a900460ff1681565b5f5f61055e610f95565b905061056b858285610fae565b610576858585611041565b60019150509392505050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610608576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8111801561061e575061061a610539565b8111155b61065d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065490611b76565b60405180910390fd5b806006819055507f12528a3c61e0f3b2d6fc707a9fc58b1af86e252cad0d7f4c154ebeabb162dace816040516106939190611939565b60405180910390a150565b5f6012905090565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461072c576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f4790505f8103610769576040517fb66458d700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826040516107af90611bc1565b5f6040518083038185875af1925050503d805f81146107e9576040519150601f19603f3d011682016040523d82523d5f602084013e6107ee565b606091505b5050905080610832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082990611c1f565b60405180910390fd5b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fd084ab62af65a7871d1f9ab7af6c51a726dcc646d58b728ee8651cbd82dfb45c836040516108999190611939565b60405180910390a25050565b5f5f5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610970576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35f60055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ab3576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b18576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060085f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167fb6dc23005e717e1eda12837f11302b77ea2fdec3262f4ff8c059ac691b4a16ac82604051610bb291906118e6565b60405180910390a25050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610bf590611afc565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2190611afc565b8015610c6c5780601f10610c4357610100808354040283529160200191610c6c565b820191905f5260205f20905b815481529060010190602001808311610c4f57829003601f168201915b5050505050905090565b5f5f610c80610f95565b9050610c8d818585611041565b600191505092915050565b60065481565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d24576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60075f9054906101000a900460ff161560075f6101000a81548160ff0219169083151502179055507f332d7bea063a0938b953d43a65a2561e65e6a2ab7cce108c3543e7ffc78ed08960075f9054906101000a900460ff16604051610d8991906118e6565b60405180910390a1565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e19576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e7e576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ea982828573ffffffffffffffffffffffffffffffffffffffff166111319092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f0de377c3f3362540c047602ad996510f81ec5d84f9ad151c7b6ebecce8ea6b7b83604051610f069190611939565b60405180910390a3505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b610fa983838360016111b0565b505050565b5f610fb98484610f13565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81101561103b578181101561102c578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161102393929190611c3d565b60405180910390fd5b61103a84848484035f6111b0565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110b1575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016110a89190611a78565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611121575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016111189190611a78565b60405180910390fd5b61112c83838361137f565b505050565b6111ab838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401611164929190611c72565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506114b9565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611220575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016112179190611a78565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611290575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016112879190611a78565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015611379578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516113709190611939565b60405180910390a35b50505050565b60075f9054906101000a900460ff16156114a9575f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156113fb57508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b801561144e575060085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b156114a8575f61145d836108a5565b9050600654828261146e9190611cc6565b11156114a6576040517f2ce93b5900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b5b6114b4838383611554565b505050565b5f5f60205f8451602086015f885af1806114d8576040513d5f823e3d81fd5b3d92505f519150505f82146114f157600181141561150c565b5f8473ffffffffffffffffffffffffffffffffffffffff163b145b1561154e57836040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016115459190611a78565b60405180910390fd5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115a4578060025f8282546115989190611cc6565b92505081905550611672565b5f5f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561162d578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161162493929190611c3d565b60405180910390fd5b8181035f5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116b9578060025f8282540392505081905550611703565b805f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117609190611939565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6117af8261176d565b6117b98185611777565b93506117c9818560208601611787565b6117d281611795565b840191505092915050565b5f6020820190508181035f8301526117f581846117a5565b905092915050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61182a82611801565b9050919050565b61183a81611820565b8114611844575f5ffd5b50565b5f8135905061185581611831565b92915050565b5f819050919050565b61186d8161185b565b8114611877575f5ffd5b50565b5f8135905061188881611864565b92915050565b5f5f604083850312156118a4576118a36117fd565b5b5f6118b185828601611847565b92505060206118c28582860161187a565b9150509250929050565b5f8115159050919050565b6118e0816118cc565b82525050565b5f6020820190506118f95f8301846118d7565b92915050565b5f60208284031215611914576119136117fd565b5b5f61192184828501611847565b91505092915050565b6119338161185b565b82525050565b5f60208201905061194c5f83018461192a565b92915050565b5f5f5f60608486031215611969576119686117fd565b5b5f61197686828701611847565b935050602061198786828701611847565b92505060406119988682870161187a565b9150509250925092565b5f602082840312156119b7576119b66117fd565b5b5f6119c48482850161187a565b91505092915050565b5f60ff82169050919050565b6119e2816119cd565b82525050565b5f6020820190506119fb5f8301846119d9565b92915050565b611a0a816118cc565b8114611a14575f5ffd5b50565b5f81359050611a2581611a01565b92915050565b5f5f60408385031215611a4157611a406117fd565b5b5f611a4e85828601611847565b9250506020611a5f85828601611a17565b9150509250929050565b611a7281611820565b82525050565b5f602082019050611a8b5f830184611a69565b92915050565b5f5f60408385031215611aa757611aa66117fd565b5b5f611ab485828601611847565b9250506020611ac585828601611847565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680611b1357607f821691505b602082108103611b2657611b25611acf565b5b50919050565b7f496e76616c6964206d61782077616c6c657400000000000000000000000000005f82015250565b5f611b60601283611777565b9150611b6b82611b2c565b602082019050919050565b5f6020820190508181035f830152611b8d81611b54565b9050919050565b5f81905092915050565b50565b5f611bac5f83611b94565b9150611bb782611b9e565b5f82019050919050565b5f611bcb82611ba1565b9150819050919050565b7f4554482073656e64206661696c656400000000000000000000000000000000005f82015250565b5f611c09600f83611777565b9150611c1482611bd5565b602082019050919050565b5f6020820190508181035f830152611c3681611bfd565b9050919050565b5f606082019050611c505f830186611a69565b611c5d602083018561192a565b611c6a604083018461192a565b949350505050565b5f604082019050611c855f830185611a69565b611c92602083018461192a565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611cd08261185b565b9150611cdb8361185b565b9250828201905080821115611cf357611cf2611c99565b5b9291505056fea26469706673582212205660f420ceb42633d8072ccfff2356211db1c067f5d7d1c03a228b28a9349f1e64736f6c634300081c0033

Deployed Bytecode

0x608060405260043610610117575f3560e01c806370a082311161009f578063a9059cbb11610063578063a9059cbb1461038a578063aa4bde28146103c6578063b6d51c15146103f0578063cea9d26f14610406578063dd62ed3e1461042e5761011e565b806370a08231146102bc578063715018a6146102f85780637537ccb61461030e5780638da5cb5b1461033657806395d89b41146103605761011e565b806321a9d82a116100e657806321a9d82a146101ee57806323b872dd1461021857806327a14fc214610254578063313ce5671461027c57806367272999146102a65761011e565b806306fdde0314610122578063095ea7b31461014c5780630bd11f8a1461018857806318160ddd146101c45761011e565b3661011e57005b5f5ffd5b34801561012d575f5ffd5b5061013661046a565b60405161014391906117dd565b60405180910390f35b348015610157575f5ffd5b50610172600480360381019061016d919061188e565b6104fa565b60405161017f91906118e6565b60405180910390f35b348015610193575f5ffd5b506101ae60048036038101906101a991906118ff565b61051c565b6040516101bb91906118e6565b60405180910390f35b3480156101cf575f5ffd5b506101d8610539565b6040516101e59190611939565b60405180910390f35b3480156101f9575f5ffd5b50610202610542565b60405161020f91906118e6565b60405180910390f35b348015610223575f5ffd5b5061023e60048036038101906102399190611952565b610554565b60405161024b91906118e6565b60405180910390f35b34801561025f575f5ffd5b5061027a600480360381019061027591906119a2565b610582565b005b348015610287575f5ffd5b5061029061069e565b60405161029d91906119e8565b60405180910390f35b3480156102b1575f5ffd5b506102ba6106a6565b005b3480156102c7575f5ffd5b506102e260048036038101906102dd91906118ff565b6108a5565b6040516102ef9190611939565b60405180910390f35b348015610303575f5ffd5b5061030c6108ea565b005b348015610319575f5ffd5b50610334600480360381019061032f9190611a2b565b610a2d565b005b348015610341575f5ffd5b5061034a610bbe565b6040516103579190611a78565b60405180910390f35b34801561036b575f5ffd5b50610374610be6565b60405161038191906117dd565b60405180910390f35b348015610395575f5ffd5b506103b060048036038101906103ab919061188e565b610c76565b6040516103bd91906118e6565b60405180910390f35b3480156103d1575f5ffd5b506103da610c98565b6040516103e79190611939565b60405180910390f35b3480156103fb575f5ffd5b50610404610c9e565b005b348015610411575f5ffd5b5061042c60048036038101906104279190611952565b610d93565b005b348015610439575f5ffd5b50610454600480360381019061044f9190611a91565b610f13565b6040516104619190611939565b60405180910390f35b60606003805461047990611afc565b80601f01602080910402602001604051908101604052809291908181526020018280546104a590611afc565b80156104f05780601f106104c7576101008083540402835291602001916104f0565b820191905f5260205f20905b8154815290600101906020018083116104d357829003601f168201915b5050505050905090565b5f5f610504610f95565b9050610511818585610f9c565b600191505092915050565b6008602052805f5260405f205f915054906101000a900460ff1681565b5f600254905090565b60075f9054906101000a900460ff1681565b5f5f61055e610f95565b905061056b858285610fae565b610576858585611041565b60019150509392505050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610608576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f8111801561061e575061061a610539565b8111155b61065d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161065490611b76565b60405180910390fd5b806006819055507f12528a3c61e0f3b2d6fc707a9fc58b1af86e252cad0d7f4c154ebeabb162dace816040516106939190611939565b60405180910390a150565b5f6012905090565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461072c576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f4790505f8103610769576040517fb66458d700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826040516107af90611bc1565b5f6040518083038185875af1925050503d805f81146107e9576040519150601f19603f3d011682016040523d82523d5f602084013e6107ee565b606091505b5050905080610832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082990611c1f565b60405180910390fd5b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167fd084ab62af65a7871d1f9ab7af6c51a726dcc646d58b728ee8651cbd82dfb45c836040516108999190611939565b60405180910390a25050565b5f5f5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610970576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff1660055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35f60055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610ab3576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610b18576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060085f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167fb6dc23005e717e1eda12837f11302b77ea2fdec3262f4ff8c059ac691b4a16ac82604051610bb291906118e6565b60405180910390a25050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054610bf590611afc565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2190611afc565b8015610c6c5780601f10610c4357610100808354040283529160200191610c6c565b820191905f5260205f20905b815481529060010190602001808311610c4f57829003601f168201915b5050505050905090565b5f5f610c80610f95565b9050610c8d818585611041565b600191505092915050565b60065481565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d24576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60075f9054906101000a900460ff161560075f6101000a81548160ff0219169083151502179055507f332d7bea063a0938b953d43a65a2561e65e6a2ab7cce108c3543e7ffc78ed08960075f9054906101000a900460ff16604051610d8991906118e6565b60405180910390a1565b60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610e19576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e7e576040517fe6c4247b00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610ea982828573ffffffffffffffffffffffffffffffffffffffff166111319092919063ffffffff16565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f0de377c3f3362540c047602ad996510f81ec5d84f9ad151c7b6ebecce8ea6b7b83604051610f069190611939565b60405180910390a3505050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f33905090565b610fa983838360016111b0565b505050565b5f610fb98484610f13565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81101561103b578181101561102c578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161102393929190611c3d565b60405180910390fd5b61103a84848484035f6111b0565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036110b1575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016110a89190611a78565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611121575f6040517fec442f050000000000000000000000000000000000000000000000000000000081526004016111189190611a78565b60405180910390fd5b61112c83838361137f565b505050565b6111ab838473ffffffffffffffffffffffffffffffffffffffff1663a9059cbb8585604051602401611164929190611c72565b604051602081830303815290604052915060e01b6020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506114b9565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611220575f6040517fe602df050000000000000000000000000000000000000000000000000000000081526004016112179190611a78565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611290575f6040517f94280d620000000000000000000000000000000000000000000000000000000081526004016112879190611a78565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015611379578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516113709190611939565b60405180910390a35b50505050565b60075f9054906101000a900460ff16156114a9575f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141580156113fb57508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b801561144e575060085f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b156114a8575f61145d836108a5565b9050600654828261146e9190611cc6565b11156114a6576040517f2ce93b5900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505b5b6114b4838383611554565b505050565b5f5f60205f8451602086015f885af1806114d8576040513d5f823e3d81fd5b3d92505f519150505f82146114f157600181141561150c565b5f8473ffffffffffffffffffffffffffffffffffffffff163b145b1561154e57836040517f5274afe70000000000000000000000000000000000000000000000000000000081526004016115459190611a78565b60405180910390fd5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036115a4578060025f8282546115989190611cc6565b92505081905550611672565b5f5f5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101561162d578381836040517fe450d38c00000000000000000000000000000000000000000000000000000000815260040161162493929190611c3d565b60405180910390fd5b8181035f5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036116b9578060025f8282540392505081905550611703565b805f5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516117609190611939565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b8281835e5f83830152505050565b5f601f19601f8301169050919050565b5f6117af8261176d565b6117b98185611777565b93506117c9818560208601611787565b6117d281611795565b840191505092915050565b5f6020820190508181035f8301526117f581846117a5565b905092915050565b5f5ffd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61182a82611801565b9050919050565b61183a81611820565b8114611844575f5ffd5b50565b5f8135905061185581611831565b92915050565b5f819050919050565b61186d8161185b565b8114611877575f5ffd5b50565b5f8135905061188881611864565b92915050565b5f5f604083850312156118a4576118a36117fd565b5b5f6118b185828601611847565b92505060206118c28582860161187a565b9150509250929050565b5f8115159050919050565b6118e0816118cc565b82525050565b5f6020820190506118f95f8301846118d7565b92915050565b5f60208284031215611914576119136117fd565b5b5f61192184828501611847565b91505092915050565b6119338161185b565b82525050565b5f60208201905061194c5f83018461192a565b92915050565b5f5f5f60608486031215611969576119686117fd565b5b5f61197686828701611847565b935050602061198786828701611847565b92505060406119988682870161187a565b9150509250925092565b5f602082840312156119b7576119b66117fd565b5b5f6119c48482850161187a565b91505092915050565b5f60ff82169050919050565b6119e2816119cd565b82525050565b5f6020820190506119fb5f8301846119d9565b92915050565b611a0a816118cc565b8114611a14575f5ffd5b50565b5f81359050611a2581611a01565b92915050565b5f5f60408385031215611a4157611a406117fd565b5b5f611a4e85828601611847565b9250506020611a5f85828601611a17565b9150509250929050565b611a7281611820565b82525050565b5f602082019050611a8b5f830184611a69565b92915050565b5f5f60408385031215611aa757611aa66117fd565b5b5f611ab485828601611847565b9250506020611ac585828601611847565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680611b1357607f821691505b602082108103611b2657611b25611acf565b5b50919050565b7f496e76616c6964206d61782077616c6c657400000000000000000000000000005f82015250565b5f611b60601283611777565b9150611b6b82611b2c565b602082019050919050565b5f6020820190508181035f830152611b8d81611b54565b9050919050565b5f81905092915050565b50565b5f611bac5f83611b94565b9150611bb782611b9e565b5f82019050919050565b5f611bcb82611ba1565b9150819050919050565b7f4554482073656e64206661696c656400000000000000000000000000000000005f82015250565b5f611c09600f83611777565b9150611c1482611bd5565b602082019050919050565b5f6020820190508181035f830152611c3681611bfd565b9050919050565b5f606082019050611c505f830186611a69565b611c5d602083018561192a565b611c6a604083018461192a565b949350505050565b5f604082019050611c855f830185611a69565b611c92602083018461192a565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f611cd08261185b565b9150611cdb8361185b565b9250828201905080821115611cf357611cf2611c99565b5b9291505056fea26469706673582212205660f420ceb42633d8072ccfff2356211db1c067f5d7d1c03a228b28a9349f1e64736f6c634300081c0033

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.