ETH Price: $2,280.64 (+8.71%)

Token

HALLU (HALLU)
 

Overview

Max Total Supply

1,600,000,000 HALLU

Holders

1,015 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
Binance US 3
Balance
64,000,000 HALLU

Value
$0.00
0xf60c2ea62edbfe808163751dd0d8693dcb30019c
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

$HALLU — The Hallucination Civilization | AI-generated dreams on Ethereum | We don't build utility, we mint hallucination | Noise→Pattern→Myth | Trade the unseen.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
HALLU

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: MIT
pragma solidity 0.8.25;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

interface INFT {
    function mint(address to, uint256 quantity, uint8 level) external;
}

contract HALLU is ERC20, Ownable {
    using SafeERC20 for IERC20;

    mapping(address => uint256) private deposits;
    mapping(address => uint256) private rewardBalances;
    mapping(address => bool) public approvedPools;
    mapping(address => bool) private hasParticipated;
    mapping(address => mapping(uint8 => bool)) private levelClaimed;

    INFT public nftContract;

    uint256 private constant MIN_DEPOSIT = 0.1 ether;
    uint256 private baseRate = 105000 * 10 ** 18;
    uint256 public constant INITIAL_SUPPLY = 1_600_000_000 * 10 ** 18;
    uint256 private mintEventCounter;

    bool public presaleActive = true;

    uint256[] private depositThresholds = [5 ether,10 ether,20 ether,40 ether];
    uint256[] private levelRewards = [420000, 1575000, 5250000, 16800000];

    address[] private participantList;

    event Contribute(uint256 indexed eventId,address indexed sender,uint256 indexed value);
    event MintSuccess(address indexed user, uint8 level);
    event MintFailed(address indexed user, uint8 level);

    constructor() ERC20("HALLU", "HALLU") Ownable(msg.sender) {
        _mint(address(this), INITIAL_SUPPLY);
        mintEventCounter = 0;
    }

    function contribute() external payable {
        require(presaleActive, "Presale has ended");
        require(owner() != address(0), "Presale ended");
        require(msg.value >= MIN_DEPOSIT, "Deposit is below the minimum");

        uint256 amount = (msg.value * baseRate) / MIN_DEPOSIT;
        require(balanceOf(address(this)) >= amount, "Insufficient supply");

        super._transfer(address(this), msg.sender, amount);
        deposits[msg.sender] += msg.value;

        _updateRewards(msg.sender);

        if (!hasParticipated[msg.sender]) {
            participantList.push(msg.sender);
            hasParticipated[msg.sender] = true;
        }
        mintEventCounter++;
        emit Contribute(mintEventCounter, msg.sender, msg.value);
    }

    function _updateRewards(address user) internal {
        uint256 totalSignal = deposits[user];
        uint256 reward = 0;

        for (uint8 level = 1; level <= 4; level++) {
            uint256 threshold = depositThresholds[level - 1];
            uint256 rewardAmount = levelRewards[level - 1] * 10 ** decimals();

            if (totalSignal >= threshold) {
                reward = rewardAmount;
                if (address(nftContract) != address(0)) {
                    if (!levelClaimed[user][level]) {
                        levelClaimed[user][level] = true;
                        try nftContract.mint(user, 1, level) {
                            emit MintSuccess(user, level);
                        } catch {
                            emit MintFailed(user, level);
                        }
                    }
                }
            } else {
                break;
            }
        }

        uint256 already = rewardBalances[user];
        if (reward > already) {
            uint256 diff = reward - already;
            require(
                balanceOf(address(this)) >= diff,
                "Not enough reward tokens"
            );

            rewardBalances[user] = reward;
            super._transfer(address(this), user, diff);
        }
    }

    function setNftContract(address _contract) external onlyOwner {
        nftContract = INFT(_contract);
    }

    function getDepositors()external view returns (address[] memory, uint256[] memory)
    {
        uint256 len = participantList.length;
        uint256[] memory amounts = new uint256[](len);

        for (uint256 i = 0; i < len; i++) {
            amounts[i] = deposits[participantList[i]];
        }

        return (participantList, amounts);
    }

    function getUserDeposit(address user) external view returns (uint256) {
        return deposits[user];
    }

    function pausePresale() external onlyOwner {
        require(presaleActive, "Presale is not active");
        presaleActive = false;
    }

    function rescueTokens(address tokenAddr,uint256 amount,address to) external onlyOwner {
        require(to != address(0), "Invalid address");

        if (tokenAddr == address(0)) {
            require(amount <= address(this).balance, "Insufficient ETH");
            (bool ok, ) = payable(to).call{value: amount}("");
            require(ok, "ETH transfer failed");
            return;
        }

        IERC20 token = IERC20(tokenAddr);
        require(amount <= token.balanceOf(address(this)),"Insufficient balance");
        token.safeTransfer(to, amount);
    }

    function addApprovedPool(address pool) external onlyOwner {
        require(pool != address(0), "Invalid approved pool");
        approvedPools[pool] = true;
    }

    function removeApprovedPool(address pool) external onlyOwner {
        require(pool != address(0), "Invalid approved pool");
        approvedPools[pool] = false;
    }

    function _isContract(address account) internal view returns (bool) {
        return account.code.length > 0;
    }

    function _isUnverifiedPool(address target) internal view returns (bool) {
        return _isContract(target) && (!approvedPools[target] && presaleActive);
    }

    function _update(address from,address to,uint256 amount) internal override {
        if (_isUnverifiedPool(to)) {
            revert("Unverified pool");
        }
        super._update(from, to, amount);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../utils/Context.sol";

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.1.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @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.1.0) (interfaces/IERC1363.sol)

pragma solidity ^0.8.20;

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);
}

File 5 of 12 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC165.sol)

pragma solidity ^0.8.20;

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

File 6 of 12 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC20.sol)

pragma solidity ^0.8.20;

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.3.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;
    }

    /**
     * @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}.
     *
     * 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.1.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

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);
}

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

pragma solidity ^0.8.20;

/**
 * @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.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.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.1.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

/**
 * @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": true,
    "runs": 200
  },
  "evmVersion": "paris",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

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":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","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":"uint256","name":"eventId","type":"uint256"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":true,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Contribute","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint8","name":"level","type":"uint8"}],"name":"MintFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint8","name":"level","type":"uint8"}],"name":"MintSuccess","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":"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":"INITIAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"addApprovedPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"approvedPools","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contribute","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getDepositors","outputs":[{"internalType":"address[]","name":"","type":"address[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getUserDeposit","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":"nftContract","outputs":[{"internalType":"contract INFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pausePresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"removeApprovedPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"rescueTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setNftContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

69163c0fb846284fa00000600c55600e805460ff19166001179055610100604052674563918244f400006080908152678ac7230489e8000060a0526801158e460913d0000060c05268022b1c8c1227a0000060e05261006290600f9060046103a7565b5060408051608081018252620668a0815262180858602082015262501bd0918101919091526301005900606082015261009f9060109060046103fd565b503480156100ac57600080fd5b5060408051808201825260058082526448414c4c5560d81b6020808401829052845180860190955291845290830152339160036100e983826104f5565b5060046100f682826104f5565b5050506001600160a01b03811661012857604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61013181610152565b50610148306b052b7d2dcc80cd2e400000006101a4565b6000600d556105d5565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166101ce5760405163ec442f0560e01b81526000600482015260240161011f565b6101da600083836101de565b5050565b6101e782610236565b156102265760405162461bcd60e51b815260206004820152600f60248201526e155b9d995c9a599a5959081c1bdbdb608a1b604482015260640161011f565b61023183838361027d565b505050565b60006001600160a01b0382163b1515801561027757506001600160a01b03821660009081526008602052604090205460ff161580156102775750600e5460ff165b92915050565b6001600160a01b0383166102a857806002600082825461029d91906105b4565b9091555061031a9050565b6001600160a01b038316600090815260208190526040902054818110156102fb5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161011f565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661033657600280548290039055610355565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161039a91815260200190565b60405180910390a3505050565b8280548282559060005260206000209081019282156103ed579160200282015b828111156103ed57825182906001600160481b03169055916020019190600101906103c7565b506103f9929150610440565b5090565b8280548282559060005260206000209081019282156103ed579160200282015b828111156103ed578251829063ffffffff1690559160200191906001019061041d565b5b808211156103f95760008155600101610441565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168061047f57607f821691505b60208210810361049f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610231576000816000526020600020601f850160051c810160208610156104ce5750805b601f850160051c820191505b818110156104ed578281556001016104da565b505050505050565b81516001600160401b0381111561050e5761050e610455565b6105228161051c845461046b565b846104a5565b602080601f831160018114610557576000841561053f5750858301515b600019600386901b1c1916600185901b1785556104ed565b600085815260208120601f198616915b8281101561058657888601518255948401946001909101908401610567565b50858210156105a45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b8082018082111561027757634e487b7160e01b600052601160045260246000fd5b6118e4806105e46000396000f3fe60806040526004361061014b5760003560e01c8063715018a6116100b6578063d56d229d1161006f578063d56d229d146103c2578063d7bb99ba146103e2578063dd62ed3e146103ea578063edcc3fb914610430578063f0bbcec414610450578063f2fde38b1461048057600080fd5b8063715018a6146102f05780638da5cb5b1461030557806395d89b4114610337578063a9059cbb1461034c578063b37fd1901461036c578063c084b10b1461038c57600080fd5b8063313ce56711610108578063313ce5671461022157806334ab362f1461023d57806352f5ad771461025d57806353135ca01461027d5780636c7b7f2e1461029757806370a08231146102ba57600080fd5b806306fdde0314610150578063070f5c091461017b578063095ea7b31461019257806318160ddd146101c257806323b872dd146101e15780632ff2e9dc14610201575b600080fd5b34801561015c57600080fd5b506101656104a0565b6040516101729190611490565b60405180910390f35b34801561018757600080fd5b50610190610532565b005b34801561019e57600080fd5b506101b26101ad3660046114fb565b610595565b6040519015158152602001610172565b3480156101ce57600080fd5b506002545b604051908152602001610172565b3480156101ed57600080fd5b506101b26101fc366004611525565b6105af565b34801561020d57600080fd5b506101d36b052b7d2dcc80cd2e4000000081565b34801561022d57600080fd5b5060405160128152602001610172565b34801561024957600080fd5b50610190610258366004611561565b6105d3565b34801561026957600080fd5b50610190610278366004611561565b61064d565b34801561028957600080fd5b50600e546101b29060ff1681565b3480156102a357600080fd5b506102ac610677565b604051610172929190611583565b3480156102c657600080fd5b506101d36102d5366004611561565b6001600160a01b031660009081526020819052604090205490565b3480156102fc57600080fd5b5061019061079e565b34801561031157600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610172565b34801561034357600080fd5b506101656107b2565b34801561035857600080fd5b506101b26103673660046114fb565b6107c1565b34801561037857600080fd5b50610190610387366004611607565b6107cf565b34801561039857600080fd5b506101d36103a7366004611561565b6001600160a01b031660009081526006602052604090205490565b3480156103ce57600080fd5b50600b5461031f906001600160a01b031681565b6101906109d8565b3480156103f657600080fd5b506101d3610405366004611643565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561043c57600080fd5b5061019061044b366004611561565b610c3e565b34801561045c57600080fd5b506101b261046b366004611561565b60086020526000908152604090205460ff1681565b34801561048c57600080fd5b5061019061049b366004611561565b610cb5565b6060600380546104af90611676565b80601f01602080910402602001604051908101604052809291908181526020018280546104db90611676565b80156105285780601f106104fd57610100808354040283529160200191610528565b820191906000526020600020905b81548152906001019060200180831161050b57829003601f168201915b5050505050905090565b61053a610cf3565b600e5460ff166105895760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b60448201526064015b60405180910390fd5b600e805460ff19169055565b6000336105a3818585610d20565b60019150505b92915050565b6000336105bd858285610d2d565b6105c8858585610da6565b506001949350505050565b6105db610cf3565b6001600160a01b0381166106295760405162461bcd60e51b8152602060048201526015602482015274125b9d985b1a5908185c1c1c9bdd9959081c1bdbdb605a1b6044820152606401610580565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b610655610cf3565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b601154606090819060008167ffffffffffffffff81111561069a5761069a6116b0565b6040519080825280602002602001820160405280156106c3578160200160208202803683370190505b50905060005b828110156107345760066000601183815481106106e8576106e86116c6565b60009182526020808320909101546001600160a01b031683528201929092526040019020548251839083908110610721576107216116c6565b60209081029190910101526001016106c9565b506011818180548060200260200160405190810160405280929190818152602001828054801561078d57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161076f575b505050505091509350935050509091565b6107a6610cf3565b6107b06000610e05565b565b6060600480546104af90611676565b6000336105a3818585610da6565b6107d7610cf3565b6001600160a01b03811661081f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610580565b6001600160a01b03831661090f57478211156108705760405162461bcd60e51b815260206004820152601060248201526f092dce6eaccccd2c6d2cadce8408aa8960831b6044820152606401610580565b6000816001600160a01b03168360405160006040518083038185875af1925050503d80600081146108bd576040519150601f19603f3d011682016040523d82523d6000602084013e6108c2565b606091505b50509050806109095760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606401610580565b50505050565b6040516370a0823160e01b815230600482015283906001600160a01b038216906370a0823190602401602060405180830381865afa158015610955573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097991906116dc565b8311156109bf5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610580565b6109096001600160a01b0382168385610e57565b505050565b600e5460ff16610a1e5760405162461bcd60e51b8152602060048201526011602482015270141c995cd85b19481a185cc8195b991959607a1b6044820152606401610580565b6000610a326005546001600160a01b031690565b6001600160a01b031603610a785760405162461bcd60e51b815260206004820152600d60248201526c141c995cd85b1948195b991959609a1b6044820152606401610580565b67016345785d8a0000341015610ad05760405162461bcd60e51b815260206004820152601c60248201527f4465706f7369742069732062656c6f7720746865206d696e696d756d000000006044820152606401610580565b600067016345785d8a0000600c5434610ae9919061170b565b610af39190611722565b30600090815260208190526040902054909150811115610b4b5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e7420737570706c7960681b6044820152606401610580565b610b56303383610da6565b3360009081526006602052604081208054349290610b75908490611744565b90915550610b84905033610ea9565b3360009081526009602052604090205460ff16610bf6576011805460018181019092557f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680180546001600160a01b031916339081179091556000908152600960205260409020805460ff191690911790555b600d8054906000610c0683611757565b9091555050600d54604051349133917fae8785da7bae7df1ae7a3d1838c261e59d1c7294715e21a2d56b9968650a73f490600090a450565b610c46610cf3565b6001600160a01b038116610c945760405162461bcd60e51b8152602060048201526015602482015274125b9d985b1a5908185c1c1c9bdd9959081c1bdbdb605a1b6044820152606401610580565b6001600160a01b03166000908152600860205260409020805460ff19169055565b610cbd610cf3565b6001600160a01b038116610ce757604051631e4fbdf760e01b815260006004820152602401610580565b610cf081610e05565b50565b6005546001600160a01b031633146107b05760405163118cdaa760e01b8152336004820152602401610580565b6109d38383836001611187565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198110156109095781811015610d9757604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610580565b61090984848484036000611187565b6001600160a01b038316610dd057604051634b637e8f60e11b815260006004820152602401610580565b6001600160a01b038216610dfa5760405163ec442f0560e01b815260006004820152602401610580565b6109d383838361125c565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526109d39084906112af565b6001600160a01b0381166000908152600660205260408120549060015b60048160ff16116110ca576000600f610ee0600184611770565b60ff1681548110610ef357610ef36116c6565b60009182526020822001549150610f0c6012600a61186d565b6010610f19600186611770565b60ff1681548110610f2c57610f2c6116c6565b9060005260206000200154610f41919061170b565b90508185106110ae57600b5490935083906001600160a01b0316156110a9576001600160a01b0386166000908152600a6020908152604080832060ff8088168552925290912054166110a9576001600160a01b038681166000818152600a6020908152604080832060ff8916808552925291829020805460ff19166001908117909155600b549251631844ba2b60e21b815260048101949094526024840152604483015290911690636112e8ac90606401600060405180830381600087803b15801561100c57600080fd5b505af192505050801561101d575060015b6110675760405160ff841681526001600160a01b038716907f9ce8947787762890ad523625b9a18f63ef709f0f081d96fce8f2f1f9d5f7619c9060200160405180910390a26110b5565b60405160ff841681526001600160a01b038716907f6aa366c0e66af1295452473f7e2037d164f894e050188c57f7e88b0ff2facd149060200160405180910390a25b6110b5565b50506110ca565b505080806110c29061187c565b915050610ec6565b506001600160a01b038316600090815260076020526040902054808211156109095760006110f8828461189b565b3060009081526020819052604090205490915081111561115a5760405162461bcd60e51b815260206004820152601860248201527f4e6f7420656e6f7567682072657761726420746f6b656e7300000000000000006044820152606401610580565b6001600160a01b0385166000908152600760205260409020839055611180308683610da6565b5050505050565b6001600160a01b0384166111b15760405163e602df0560e01b815260006004820152602401610580565b6001600160a01b0383166111db57604051634a1406b160e11b815260006004820152602401610580565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561090957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161124e91815260200190565b60405180910390a350505050565b61126582611320565b156112a45760405162461bcd60e51b815260206004820152600f60248201526e155b9d995c9a599a5959081c1bdbdb608a1b6044820152606401610580565b6109d3838383611366565b600080602060008451602086016000885af1806112d2576040513d6000823e3d81fd5b50506000513d915081156112ea5780600114156112f7565b6001600160a01b0384163b155b1561090957604051635274afe760e01b81526001600160a01b0385166004820152602401610580565b60006001600160a01b0382163b151580156105a957506001600160a01b03821660009081526008602052604090205460ff161580156105a95750600e5460ff1692915050565b6001600160a01b0383166113915780600260008282546113869190611744565b909155506114039050565b6001600160a01b038316600090815260208190526040902054818110156113e45760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610580565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661141f5760028054829003905561143e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161148391815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b818110156114be578581018301518582016040015282016114a2565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146114f657600080fd5b919050565b6000806040838503121561150e57600080fd5b611517836114df565b946020939093013593505050565b60008060006060848603121561153a57600080fd5b611543846114df565b9250611551602085016114df565b9150604084013590509250925092565b60006020828403121561157357600080fd5b61157c826114df565b9392505050565b604080825283519082018190526000906020906060840190828701845b828110156115c55781516001600160a01b0316845292840192908401906001016115a0565b5050508381038285015284518082528583019183019060005b818110156115fa578351835292840192918401916001016115de565b5090979650505050505050565b60008060006060848603121561161c57600080fd5b611625846114df565b92506020840135915061163a604085016114df565b90509250925092565b6000806040838503121561165657600080fd5b61165f836114df565b915061166d602084016114df565b90509250929050565b600181811c9082168061168a57607f821691505b6020821081036116aa57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156116ee57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176105a9576105a96116f5565b60008261173f57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156105a9576105a96116f5565b600060018201611769576117696116f5565b5060010190565b60ff82811682821603908111156105a9576105a96116f5565b600181815b808511156117c45781600019048211156117aa576117aa6116f5565b808516156117b757918102915b93841c939080029061178e565b509250929050565b6000826117db575060016105a9565b816117e8575060006105a9565b81600181146117fe576002811461180857611824565b60019150506105a9565b60ff841115611819576118196116f5565b50506001821b6105a9565b5060208310610133831016604e8410600b8410161715611847575081810a6105a9565b6118518383611789565b8060001904821115611865576118656116f5565b029392505050565b600061157c60ff8416836117cc565b600060ff821660ff8103611892576118926116f5565b60010192915050565b818103818111156105a9576105a96116f556fea2646970667358221220e4634cbf55234b66c62f4e0d3a53a51f997caeb550a8cb290da91a97992c591a64736f6c63430008190033

Deployed Bytecode

0x60806040526004361061014b5760003560e01c8063715018a6116100b6578063d56d229d1161006f578063d56d229d146103c2578063d7bb99ba146103e2578063dd62ed3e146103ea578063edcc3fb914610430578063f0bbcec414610450578063f2fde38b1461048057600080fd5b8063715018a6146102f05780638da5cb5b1461030557806395d89b4114610337578063a9059cbb1461034c578063b37fd1901461036c578063c084b10b1461038c57600080fd5b8063313ce56711610108578063313ce5671461022157806334ab362f1461023d57806352f5ad771461025d57806353135ca01461027d5780636c7b7f2e1461029757806370a08231146102ba57600080fd5b806306fdde0314610150578063070f5c091461017b578063095ea7b31461019257806318160ddd146101c257806323b872dd146101e15780632ff2e9dc14610201575b600080fd5b34801561015c57600080fd5b506101656104a0565b6040516101729190611490565b60405180910390f35b34801561018757600080fd5b50610190610532565b005b34801561019e57600080fd5b506101b26101ad3660046114fb565b610595565b6040519015158152602001610172565b3480156101ce57600080fd5b506002545b604051908152602001610172565b3480156101ed57600080fd5b506101b26101fc366004611525565b6105af565b34801561020d57600080fd5b506101d36b052b7d2dcc80cd2e4000000081565b34801561022d57600080fd5b5060405160128152602001610172565b34801561024957600080fd5b50610190610258366004611561565b6105d3565b34801561026957600080fd5b50610190610278366004611561565b61064d565b34801561028957600080fd5b50600e546101b29060ff1681565b3480156102a357600080fd5b506102ac610677565b604051610172929190611583565b3480156102c657600080fd5b506101d36102d5366004611561565b6001600160a01b031660009081526020819052604090205490565b3480156102fc57600080fd5b5061019061079e565b34801561031157600080fd5b506005546001600160a01b03165b6040516001600160a01b039091168152602001610172565b34801561034357600080fd5b506101656107b2565b34801561035857600080fd5b506101b26103673660046114fb565b6107c1565b34801561037857600080fd5b50610190610387366004611607565b6107cf565b34801561039857600080fd5b506101d36103a7366004611561565b6001600160a01b031660009081526006602052604090205490565b3480156103ce57600080fd5b50600b5461031f906001600160a01b031681565b6101906109d8565b3480156103f657600080fd5b506101d3610405366004611643565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b34801561043c57600080fd5b5061019061044b366004611561565b610c3e565b34801561045c57600080fd5b506101b261046b366004611561565b60086020526000908152604090205460ff1681565b34801561048c57600080fd5b5061019061049b366004611561565b610cb5565b6060600380546104af90611676565b80601f01602080910402602001604051908101604052809291908181526020018280546104db90611676565b80156105285780601f106104fd57610100808354040283529160200191610528565b820191906000526020600020905b81548152906001019060200180831161050b57829003601f168201915b5050505050905090565b61053a610cf3565b600e5460ff166105895760405162461bcd60e51b815260206004820152601560248201527450726573616c65206973206e6f742061637469766560581b60448201526064015b60405180910390fd5b600e805460ff19169055565b6000336105a3818585610d20565b60019150505b92915050565b6000336105bd858285610d2d565b6105c8858585610da6565b506001949350505050565b6105db610cf3565b6001600160a01b0381166106295760405162461bcd60e51b8152602060048201526015602482015274125b9d985b1a5908185c1c1c9bdd9959081c1bdbdb605a1b6044820152606401610580565b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b610655610cf3565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b601154606090819060008167ffffffffffffffff81111561069a5761069a6116b0565b6040519080825280602002602001820160405280156106c3578160200160208202803683370190505b50905060005b828110156107345760066000601183815481106106e8576106e86116c6565b60009182526020808320909101546001600160a01b031683528201929092526040019020548251839083908110610721576107216116c6565b60209081029190910101526001016106c9565b506011818180548060200260200160405190810160405280929190818152602001828054801561078d57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161076f575b505050505091509350935050509091565b6107a6610cf3565b6107b06000610e05565b565b6060600480546104af90611676565b6000336105a3818585610da6565b6107d7610cf3565b6001600160a01b03811661081f5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610580565b6001600160a01b03831661090f57478211156108705760405162461bcd60e51b815260206004820152601060248201526f092dce6eaccccd2c6d2cadce8408aa8960831b6044820152606401610580565b6000816001600160a01b03168360405160006040518083038185875af1925050503d80600081146108bd576040519150601f19603f3d011682016040523d82523d6000602084013e6108c2565b606091505b50509050806109095760405162461bcd60e51b8152602060048201526013602482015272115512081d1c985b9cd9995c8819985a5b1959606a1b6044820152606401610580565b50505050565b6040516370a0823160e01b815230600482015283906001600160a01b038216906370a0823190602401602060405180830381865afa158015610955573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061097991906116dc565b8311156109bf5760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610580565b6109096001600160a01b0382168385610e57565b505050565b600e5460ff16610a1e5760405162461bcd60e51b8152602060048201526011602482015270141c995cd85b19481a185cc8195b991959607a1b6044820152606401610580565b6000610a326005546001600160a01b031690565b6001600160a01b031603610a785760405162461bcd60e51b815260206004820152600d60248201526c141c995cd85b1948195b991959609a1b6044820152606401610580565b67016345785d8a0000341015610ad05760405162461bcd60e51b815260206004820152601c60248201527f4465706f7369742069732062656c6f7720746865206d696e696d756d000000006044820152606401610580565b600067016345785d8a0000600c5434610ae9919061170b565b610af39190611722565b30600090815260208190526040902054909150811115610b4b5760405162461bcd60e51b8152602060048201526013602482015272496e73756666696369656e7420737570706c7960681b6044820152606401610580565b610b56303383610da6565b3360009081526006602052604081208054349290610b75908490611744565b90915550610b84905033610ea9565b3360009081526009602052604090205460ff16610bf6576011805460018181019092557f31ecc21a745e3968a04e9570e4425bc18fa8019c68028196b546d1669c200c680180546001600160a01b031916339081179091556000908152600960205260409020805460ff191690911790555b600d8054906000610c0683611757565b9091555050600d54604051349133917fae8785da7bae7df1ae7a3d1838c261e59d1c7294715e21a2d56b9968650a73f490600090a450565b610c46610cf3565b6001600160a01b038116610c945760405162461bcd60e51b8152602060048201526015602482015274125b9d985b1a5908185c1c1c9bdd9959081c1bdbdb605a1b6044820152606401610580565b6001600160a01b03166000908152600860205260409020805460ff19169055565b610cbd610cf3565b6001600160a01b038116610ce757604051631e4fbdf760e01b815260006004820152602401610580565b610cf081610e05565b50565b6005546001600160a01b031633146107b05760405163118cdaa760e01b8152336004820152602401610580565b6109d38383836001611187565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198110156109095781811015610d9757604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610580565b61090984848484036000611187565b6001600160a01b038316610dd057604051634b637e8f60e11b815260006004820152602401610580565b6001600160a01b038216610dfa5760405163ec442f0560e01b815260006004820152602401610580565b6109d383838361125c565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526109d39084906112af565b6001600160a01b0381166000908152600660205260408120549060015b60048160ff16116110ca576000600f610ee0600184611770565b60ff1681548110610ef357610ef36116c6565b60009182526020822001549150610f0c6012600a61186d565b6010610f19600186611770565b60ff1681548110610f2c57610f2c6116c6565b9060005260206000200154610f41919061170b565b90508185106110ae57600b5490935083906001600160a01b0316156110a9576001600160a01b0386166000908152600a6020908152604080832060ff8088168552925290912054166110a9576001600160a01b038681166000818152600a6020908152604080832060ff8916808552925291829020805460ff19166001908117909155600b549251631844ba2b60e21b815260048101949094526024840152604483015290911690636112e8ac90606401600060405180830381600087803b15801561100c57600080fd5b505af192505050801561101d575060015b6110675760405160ff841681526001600160a01b038716907f9ce8947787762890ad523625b9a18f63ef709f0f081d96fce8f2f1f9d5f7619c9060200160405180910390a26110b5565b60405160ff841681526001600160a01b038716907f6aa366c0e66af1295452473f7e2037d164f894e050188c57f7e88b0ff2facd149060200160405180910390a25b6110b5565b50506110ca565b505080806110c29061187c565b915050610ec6565b506001600160a01b038316600090815260076020526040902054808211156109095760006110f8828461189b565b3060009081526020819052604090205490915081111561115a5760405162461bcd60e51b815260206004820152601860248201527f4e6f7420656e6f7567682072657761726420746f6b656e7300000000000000006044820152606401610580565b6001600160a01b0385166000908152600760205260409020839055611180308683610da6565b5050505050565b6001600160a01b0384166111b15760405163e602df0560e01b815260006004820152602401610580565b6001600160a01b0383166111db57604051634a1406b160e11b815260006004820152602401610580565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561090957826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161124e91815260200190565b60405180910390a350505050565b61126582611320565b156112a45760405162461bcd60e51b815260206004820152600f60248201526e155b9d995c9a599a5959081c1bdbdb608a1b6044820152606401610580565b6109d3838383611366565b600080602060008451602086016000885af1806112d2576040513d6000823e3d81fd5b50506000513d915081156112ea5780600114156112f7565b6001600160a01b0384163b155b1561090957604051635274afe760e01b81526001600160a01b0385166004820152602401610580565b60006001600160a01b0382163b151580156105a957506001600160a01b03821660009081526008602052604090205460ff161580156105a95750600e5460ff1692915050565b6001600160a01b0383166113915780600260008282546113869190611744565b909155506114039050565b6001600160a01b038316600090815260208190526040902054818110156113e45760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610580565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b03821661141f5760028054829003905561143e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161148391815260200190565b60405180910390a3505050565b60006020808352835180602085015260005b818110156114be578581018301518582016040015282016114a2565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b03811681146114f657600080fd5b919050565b6000806040838503121561150e57600080fd5b611517836114df565b946020939093013593505050565b60008060006060848603121561153a57600080fd5b611543846114df565b9250611551602085016114df565b9150604084013590509250925092565b60006020828403121561157357600080fd5b61157c826114df565b9392505050565b604080825283519082018190526000906020906060840190828701845b828110156115c55781516001600160a01b0316845292840192908401906001016115a0565b5050508381038285015284518082528583019183019060005b818110156115fa578351835292840192918401916001016115de565b5090979650505050505050565b60008060006060848603121561161c57600080fd5b611625846114df565b92506020840135915061163a604085016114df565b90509250925092565b6000806040838503121561165657600080fd5b61165f836114df565b915061166d602084016114df565b90509250929050565b600181811c9082168061168a57607f821691505b6020821081036116aa57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6000602082840312156116ee57600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176105a9576105a96116f5565b60008261173f57634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156105a9576105a96116f5565b600060018201611769576117696116f5565b5060010190565b60ff82811682821603908111156105a9576105a96116f5565b600181815b808511156117c45781600019048211156117aa576117aa6116f5565b808516156117b757918102915b93841c939080029061178e565b509250929050565b6000826117db575060016105a9565b816117e8575060006105a9565b81600181146117fe576002811461180857611824565b60019150506105a9565b60ff841115611819576118196116f5565b50506001821b6105a9565b5060208310610133831016604e8410600b8410161715611847575081810a6105a9565b6118518383611789565b8060001904821115611865576118656116f5565b029392505050565b600061157c60ff8416836117cc565b600060ff821660ff8103611892576118926116f5565b60010192915050565b818103818111156105a9576105a96116f556fea2646970667358221220e4634cbf55234b66c62f4e0d3a53a51f997caeb550a8cb290da91a97992c591a64736f6c63430008190033

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.