BNB Price: $630.94 (-1.13%)
 

Overview

Max Total Supply

100,000,000ETIM

Holders

5,574

Market

Price

$0.00 @ 0.000000 BNB

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
4 ETIM

Value
$0.00
0x64131bc41309cc4443eaff056f24c5794daa1b6b
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
ETIMToken

Compiler Version
v0.8.26+commit.8a97fa7a

Optimization Enabled:
Yes with 200 runs

Other Settings:
cancun EvmVersion
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.26;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable2Step.sol";

// progress transfer — no business logic
interface IETIMMain {
    function onTokenTransfer(address from, address to, uint256 value) external;
    function onTokenBalanceChanged(address from, address to, uint256 value) external;
}

contract ETIMToken is ERC20, Ownable2Step {

    // =========================================================
    //                      CONSTANTS
    // =========================================================

    uint256 public constant TOTAL_SUPPLY = 100_000_000 * 10 ** 18;
    address public constant BURN_ADDRESS = 0x000000000000000000000000000000000000dEaD;

    // Module allocation amounts — total 100,000,000 ETIM (for reference / off-chain verification)
    // uint256 public constant GROWTH_POOL_SUPPLY      = 84_900_000 * 10 ** 18; // 84.9%
    // uint256 public constant MARKET_INFRA_SUPPLY     =  5_000_000 * 10 ** 18; // 5%
    // uint256 public constant ECOSYSTEM_SUPPLY        =  1_000_000 * 10 ** 18; // 1%
    // uint256 public constant COMMUNITY_SUPPLY        =  4_000_000 * 10 ** 18; // 4%
    // uint256 public constant AIRDROP_SUPPLY          =  5_000_000 * 10 ** 18; // 5%
    // uint256 public constant ETH_FOUNDATION_SUPPLY   =    100_000 * 10 ** 18; // 0.1%

    // =========================================================
    //                       STATE
    // =========================================================
    address public mainContract;
    mapping(address => bool) public excludedFromCallback;  // DEX pool / router etc.

    // =========================================================
    //                      EVENTS
    // =========================================================

    event MainContractSet(address indexed main);
    event ExcludedFromCallbackSet(address indexed addr, bool excluded);
    event CallbackFailed(string callbackName, address indexed from, address indexed to, uint256 value, bytes reason);

    constructor(
        string memory name_,
        string memory symbol_
    ) ERC20(name_, symbol_) Ownable(msg.sender) {
        _mint(msg.sender, TOTAL_SUPPLY);
    }

    // Check contract address
    function _isContract(address addr) private view returns (bool) {
        return addr.code.length > 0;
    }

    // Set business contract
    function setMainContract(address _mainContract) external onlyOwner {
        mainContract = _mainContract;
        emit MainContractSet(_mainContract);
    }

    // Exclude address from triggering main callbacks (e.g. DEX pool, router)
    function setExcludedFromCallback(address addr, bool excluded) external onlyOwner {
        excludedFromCallback[addr] = excluded;
        emit ExcludedFromCallbackSet(addr, excluded);
    }

    function _update(
        address from,
        address to,
        uint256 value
    ) internal override {
        // Transfer executes unconditionally
        super._update(from, to, value);

        // Notify
        if (_shouldNotifyMain(from, to)) {
            try IETIMMain(mainContract).onTokenTransfer(from, to, value) {} catch (bytes memory reason) {
                emit CallbackFailed("onTokenTransfer", from, to, value, reason);
            }
        } else if (_shouldNotifyBalanceChange(from, to)) {
            try IETIMMain(mainContract).onTokenBalanceChanged(from, to, value) {} catch (bytes memory reason) {
                emit CallbackFailed("onTokenBalanceChanged", from, to, value, reason);
            }
        }
    }

    // Any address <-> Any address (except mint/burn/excluded), triggers full transfer callback
    // Supports both EOA and contract wallets (e.g. multisig, AA wallets)
    function _shouldNotifyMain(address from, address to) private view returns (bool) {
        return mainContract != address(0)
            && from != address(0)
            && to   != address(0)
            && to   != BURN_ADDRESS
            && from != mainContract
            && to   != mainContract
            && !excludedFromCallback[from]
            && !excludedFromCallback[to];
    }

    // Transfers involving mainContract, burn, or excluded addresses (DEX pool/router),
    // triggers balance change callback only (no referral binding, but team balance updated)
    function _shouldNotifyBalanceChange(address from, address to) private view returns (bool) {
        if (mainContract == address(0)) return false;
        if (from == address(0) || to == address(0)) return false;
        // Excluded addresses (DEX): notify balance change so team token balances stay in sync
        if (excludedFromCallback[from] || excludedFromCallback[to]) return true;
        // mainContract or burn address: notify balance change (not full transfer)
        if (from == mainContract || to == mainContract || to == BURN_ADDRESS) return true;
        return false;
    }
}

// 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) (access/Ownable2Step.sol)

pragma solidity ^0.8.20;

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

/**
 * @dev Contract module which provides access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * This extension of the {Ownable} contract includes a two-step mechanism to transfer
 * ownership, where the new owner must call {acceptOwnership} in order to replace the
 * old one. This can help prevent common mistakes, such as transfers of ownership to
 * incorrect accounts, or to contracts that are unable to interact with the
 * permission system.
 *
 * The initial owner is specified at deployment time in the constructor for `Ownable`. This
 * can later be changed with {transferOwnership} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2Step is Ownable {
    address private _pendingOwner;

    event OwnershipTransferStarted(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Returns the address of the pending owner.
     */
    function pendingOwner() public view virtual returns (address) {
        return _pendingOwner;
    }

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     *
     * Setting `newOwner` to the zero address is allowed; this can be used to cancel an initiated ownership transfer.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() public virtual {
        address sender = _msgSender();
        if (pendingOwner() != sender) {
            revert OwnableUnauthorizedAccount(sender);
        }
        _transferOwnership(sender);
    }
}

// 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.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) (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/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);
}

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

Settings
{
  "evmVersion": "cancun",
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": [],
  "viaIR": true,
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"}],"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"},{"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":false,"internalType":"string","name":"callbackName","type":"string"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"reason","type":"bytes"}],"name":"CallbackFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"ExcludedFromCallbackSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"main","type":"address"}],"name":"MainContractSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromCallback","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mainContract","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromCallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_mainContract","type":"address"}],"name":"setMainContract","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"}]

6080806040523461041c575f61151f803803809161001d828661069e565b843982019160408184031261041c5780516001600160401b03811161041c57836100489183016106dc565b60208201519093906001600160401b03811161041c5761006892016106dc565b82519091906001600160401b0381116105af57600354600181811c91168015610694575b602082101461059157601f8111610631575b506020601f82116001146105ce57819293945f926105c3575b50508160011b915f199060031b1c1916176003555b81516001600160401b0381116105af57600454600181811c911680156105a5575b602082101461059157601f811161052e575b50602092601f82116001146104cd57928192935f926104c2575b50508160011b915f199060031b1c1916176004555b33156104af57600680546001600160a01b0319908116909155600580543392811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a36002546a52b7d2dcc80cd2e4000000810180911161049b57600255335f525f60205260405f206a52b7d2dcc80cd2e400000081540190556040516a52b7d2dcc80cd2e400000081525f7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60203393a36007546001600160a01b03168015158080610493575b8161048a575b8161047d575b81610475575b508061046b575b80610437575b80610420575b1561032257506007546001600160a01b0316803b1561031e5760405163677ba3d360e01b81525f60048201523360248201526a52b7d2dcc80cd2e4000000604482015290829081908390606490829084905af19182610309575b505061030357610293610722565b905f805160206114ff83398151915260405160608152600f60608201526e37b72a37b5b2b72a3930b739b332b960891b60808201526a52b7d2dcc80cd2e4000000602082015260a06040820152806102f0339560a0830190610751565b0390a35b604051610d6f90816107908239f35b506102f4565b816103139161069e565b61031e57815f610285565b5080fd5b61032b33610775565b610337575b50506102f4565b803b1561041c57604051633c7df55d60e01b81525f600482018190523360248301526a52b7d2dcc80cd2e4000000604483015290918290606490829084905af19081610407575b506104015761038b610722565b905f805160206114ff83398151915260405160608152601560608201527f6f6e546f6b656e42616c616e63654368616e676564000000000000000000000060808201526a52b7d2dcc80cd2e4000000602082015260a06040820152806103f6339560a0830190610751565b0390a35b5f80610330565b506103fa565b6104149192505f9061069e565b5f905f61037e565b5f80fd5b50335f52600860205260ff60405f2054161561022b565b505f805260086020527f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c75460ff1615610225565b508033141561021f565b90505f610218565b3361dead14159150610212565b6001915061020c565b5f9150610206565b634e487b7160e01b5f52601160045260245ffd5b631e4fbdf760e01b5f525f60045260245ffd5b015190505f80610119565b601f1982169360045f52805f20915f5b86811061051657508360019596106104fe575b505050811b0160045561012e565b01515f1960f88460031b161c191690555f80806104f0565b919260206001819286850151815501940192016104dd565b60045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b601f830160051c81019160208410610587575b601f0160051c01905b81811061057c57506100ff565b5f815560010161056f565b9091508190610566565b634e487b7160e01b5f52602260045260245ffd5b90607f16906100ed565b634e487b7160e01b5f52604160045260245ffd5b015190505f806100b7565b601f1982169060035f52805f20915f5b81811061061957509583600195969710610601575b505050811b016003556100cc565b01515f1960f88460031b161c191690555f80806105f3565b9192602060018192868b0151815501940192016105de565b60035f527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b601f830160051c8101916020841061068a575b601f0160051c01905b81811061067f575061009e565b5f8155600101610672565b9091508190610669565b90607f169061008c565b601f909101601f19168101906001600160401b038211908210176105af57604052565b6001600160401b0381116105af57601f01601f191660200190565b81601f8201121561041c578051906106f3826106c1565b92610701604051948561069e565b8284526020838301011161041c57815f9260208093018386015e8301015290565b3d1561074c573d90610733826106c1565b91610741604051938461069e565b82523d5f602084013e565b606090565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b506007546001600160a01b03161561078b575f90565b5f9056fe6080806040526004361015610012575f80fd5b5f3560e01c90816306fdde031461078957508063095ea7b31461070757806318160ddd146106ea57806323b872dd1461060b578063313ce567146105f05780633429a4ee146105b35780633ded33bc1461054d57806370a0823114610516578063715018a6146104b157806379ba50971461042b5780638da5cb5b14610403578063902d55a5146103de57806395d89b41146102d2578063a9059cbb146102a1578063d270e7ab14610279578063dd62ed3e14610229578063e30c397814610201578063eac0ee4f14610184578063f2fde38b146101185763fccc2813146100f8575f80fd5b34610114575f36600319011261011457602060405161dead8152f35b5f80fd5b3461011457602036600319011261011457610131610865565b610139610c18565b600680546001600160a01b0319166001600160a01b039283169081179091556005549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b346101145760403660031901126101145761019d610865565b602435908115158092036101145760207f8d8322b07fb846db142ac5096d15b2ffa3c726d5d5ca1e75726d746f0127e89b916101d7610c18565b60018060a01b031692835f526008825260405f2060ff1981541660ff8316179055604051908152a2005b34610114575f366003190112610114576006546040516001600160a01b039091168152602090f35b3461011457604036600319011261011457610242610865565b61024a61087b565b6001600160a01b039182165f908152600160209081526040808320949093168252928352819020549051908152f35b34610114575f366003190112610114576007546040516001600160a01b039091168152602090f35b34610114576040366003190112610114576102c76102bd610865565b60243590336108c7565b602060405160018152f35b34610114575f366003190112610114576040515f6004548060011c906001811680156103d4575b6020831081146103c05782855290811561039c575060011461033e575b61033a8361032681850382610891565b604051918291602083526020830190610841565b0390f35b91905060045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b915f905b80821061038257509091508101602001610326610316565b91926001816020925483858801015201910190929161036a565b60ff191660208086019190915291151560051b840190910191506103269050610316565b634e487b7160e01b5f52602260045260245ffd5b91607f16916102f9565b34610114575f3660031901126101145760206040516a52b7d2dcc80cd2e40000008152f35b34610114575f366003190112610114576005546040516001600160a01b039091168152602090f35b34610114575f36600319011261011457600654336001600160a01b039091160361049e57600680546001600160a01b0319908116909155600580543392811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b63118cdaa760e01b5f523360045260245ffd5b34610114575f366003190112610114576104c9610c18565b600680546001600160a01b03199081169091556005805491821690555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610114576020366003190112610114576001600160a01b03610537610865565b165f525f602052602060405f2054604051908152f35b3461011457602036600319011261011457610566610865565b61056e610c18565b600780546001600160a01b0319166001600160a01b039290921691821790557f8164cbca0aa7ba76b6fcc386e36a48c8553ee2dab90c962ddc7a4e914186d75d5f80a2005b34610114576020366003190112610114576001600160a01b036105d4610865565b165f526008602052602060ff60405f2054166040519015158152f35b34610114575f36600319011261011457602060405160128152f35b3461011457606036600319011261011457610624610865565b61062c61087b565b6001600160a01b0382165f818152600160209081526040808320338452909152902054909260443592915f19811061066a575b506102c793506108c7565b8381106106cf5784156106bc5733156106a9576102c7945f52600160205260405f2060018060a01b0333165f526020528360405f20910390558461065f565b634a1406b160e11b5f525f60045260245ffd5b63e602df0560e01b5f525f60045260245ffd5b8390637dc7a0d960e11b5f523360045260245260445260645ffd5b34610114575f366003190112610114576020600254604051908152f35b3461011457604036600319011261011457610720610865565b6024359033156106bc576001600160a01b03169081156106a957335f52600160205260405f20825f526020528060405f20556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b34610114575f366003190112610114575f6003548060011c90600181168015610837575b6020831081146103c05782855290811561039c57506001146107d95761033a8361032681850382610891565b91905060035f527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b915f905b80821061081d57509091508101602001610326610316565b919260018160209254838588010152019101909291610805565b91607f16916107ad565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361011457565b602435906001600160a01b038216820361011457565b90601f8019910116810190811067ffffffffffffffff8211176108b357604052565b634e487b7160e01b5f52604160045260245ffd5b90916001600160a01b038216915f908315610c05576001600160a01b038516948515610bf257845f525f60205260405f2054848110610bd7578490865f525f6020520360405f2055855f525f60205260405f2084815401905585857fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020604051888152a36007546001600160a01b031680151580610bcf575b80610bc7575b80610bbb575b80610bb1575b80610ba7575b80610b90575b80610b79575b15610a7957506007546001600160a01b031691823b15610a755760405163677ba3d360e01b81526001600160a01b0391821660048201529116602482015260448101849052919081908390606490829084905af19182610a5d575b5050610a58577fda17257003fd8954d64a15888527ad6503fab016646aa49f095d9d745788c9f890610a10610c2c565b90610a5360405192839260608452600f60608501526e37b72a37b5b2b72a3930b739b332b960891b6080850152602084015260a0604084015260a0830190610841565b0390a3565b505050565b610a68828092610891565b610a7257806109e0565b80fd5b8380fd5b925090610a868282610c6b565b610a93575b505050505050565b823b1561011457604051633c7df55d60e01b81526001600160a01b0391821660048201529116602482015260448101839052905f908290606490829084905af19081610b69575b50610b61577fda17257003fd8954d64a15888527ad6503fab016646aa49f095d9d745788c9f890610b09610c2c565b90610b526040519283926060845260156060850152741bdb951bdad95b90985b185b98d950da185b99d959605a1b6080850152602084015260a0604084015260a0830190610841565b0390a35b5f8080808080610a8b565b505050610b56565b5f610b7391610891565b5f610ada565b50865f52600860205260ff60405f20541615610985565b50855f52600860205260ff60405f2054161561097f565b5080871415610979565b5080861415610973565b5061dead87141561096d565b506001610967565b506001610961565b84908663391434e360e21b5f5260045260245260445260645ffd5b63ec442f0560e01b5f525f60045260245ffd5b634b637e8f60e11b5f525f60045260245ffd5b6005546001600160a01b0316330361049e57565b3d15610c66573d9067ffffffffffffffff82116108b35760405191610c5b601f8201601f191660200184610891565b82523d5f602084013e565b606090565b6007546001600160a01b031691908215610d21576001600160a01b031680158015610d28575b610d2157805f52600860205260ff60405f2054168015610d00575b610cf8578214918215610ce5575b508115610cd0575b50610ccb575f90565b600190565b6001600160a01b031661dead1490505f610cc2565b6001600160a01b0382161491505f610cba565b505050600190565b506001600160a01b0382165f9081526008602052604090205460ff16610cac565b5050505f90565b506001600160a01b03821615610c9156fea2646970667358221220e1bcd151699207e8689e085632e649f9a382cf0725c0dea14011977f0f27b23c64736f6c634300081a0033da17257003fd8954d64a15888527ad6503fab016646aa49f095d9d745788c9f80000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000044554494d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044554494d00000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080806040526004361015610012575f80fd5b5f3560e01c90816306fdde031461078957508063095ea7b31461070757806318160ddd146106ea57806323b872dd1461060b578063313ce567146105f05780633429a4ee146105b35780633ded33bc1461054d57806370a0823114610516578063715018a6146104b157806379ba50971461042b5780638da5cb5b14610403578063902d55a5146103de57806395d89b41146102d2578063a9059cbb146102a1578063d270e7ab14610279578063dd62ed3e14610229578063e30c397814610201578063eac0ee4f14610184578063f2fde38b146101185763fccc2813146100f8575f80fd5b34610114575f36600319011261011457602060405161dead8152f35b5f80fd5b3461011457602036600319011261011457610131610865565b610139610c18565b600680546001600160a01b0319166001600160a01b039283169081179091556005549091167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e227005f80a3005b346101145760403660031901126101145761019d610865565b602435908115158092036101145760207f8d8322b07fb846db142ac5096d15b2ffa3c726d5d5ca1e75726d746f0127e89b916101d7610c18565b60018060a01b031692835f526008825260405f2060ff1981541660ff8316179055604051908152a2005b34610114575f366003190112610114576006546040516001600160a01b039091168152602090f35b3461011457604036600319011261011457610242610865565b61024a61087b565b6001600160a01b039182165f908152600160209081526040808320949093168252928352819020549051908152f35b34610114575f366003190112610114576007546040516001600160a01b039091168152602090f35b34610114576040366003190112610114576102c76102bd610865565b60243590336108c7565b602060405160018152f35b34610114575f366003190112610114576040515f6004548060011c906001811680156103d4575b6020831081146103c05782855290811561039c575060011461033e575b61033a8361032681850382610891565b604051918291602083526020830190610841565b0390f35b91905060045f527f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b915f905b80821061038257509091508101602001610326610316565b91926001816020925483858801015201910190929161036a565b60ff191660208086019190915291151560051b840190910191506103269050610316565b634e487b7160e01b5f52602260045260245ffd5b91607f16916102f9565b34610114575f3660031901126101145760206040516a52b7d2dcc80cd2e40000008152f35b34610114575f366003190112610114576005546040516001600160a01b039091168152602090f35b34610114575f36600319011261011457600654336001600160a01b039091160361049e57600680546001600160a01b0319908116909155600580543392811683179091556001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b63118cdaa760e01b5f523360045260245ffd5b34610114575f366003190112610114576104c9610c18565b600680546001600160a01b03199081169091556005805491821690555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b34610114576020366003190112610114576001600160a01b03610537610865565b165f525f602052602060405f2054604051908152f35b3461011457602036600319011261011457610566610865565b61056e610c18565b600780546001600160a01b0319166001600160a01b039290921691821790557f8164cbca0aa7ba76b6fcc386e36a48c8553ee2dab90c962ddc7a4e914186d75d5f80a2005b34610114576020366003190112610114576001600160a01b036105d4610865565b165f526008602052602060ff60405f2054166040519015158152f35b34610114575f36600319011261011457602060405160128152f35b3461011457606036600319011261011457610624610865565b61062c61087b565b6001600160a01b0382165f818152600160209081526040808320338452909152902054909260443592915f19811061066a575b506102c793506108c7565b8381106106cf5784156106bc5733156106a9576102c7945f52600160205260405f2060018060a01b0333165f526020528360405f20910390558461065f565b634a1406b160e11b5f525f60045260245ffd5b63e602df0560e01b5f525f60045260245ffd5b8390637dc7a0d960e11b5f523360045260245260445260645ffd5b34610114575f366003190112610114576020600254604051908152f35b3461011457604036600319011261011457610720610865565b6024359033156106bc576001600160a01b03169081156106a957335f52600160205260405f20825f526020528060405f20556040519081527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560203392a3602060405160018152f35b34610114575f366003190112610114575f6003548060011c90600181168015610837575b6020831081146103c05782855290811561039c57506001146107d95761033a8361032681850382610891565b91905060035f527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b915f905b80821061081d57509091508101602001610326610316565b919260018160209254838588010152019101909291610805565b91607f16916107ad565b805180835260209291819084018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b038216820361011457565b602435906001600160a01b038216820361011457565b90601f8019910116810190811067ffffffffffffffff8211176108b357604052565b634e487b7160e01b5f52604160045260245ffd5b90916001600160a01b038216915f908315610c05576001600160a01b038516948515610bf257845f525f60205260405f2054848110610bd7578490865f525f6020520360405f2055855f525f60205260405f2084815401905585857fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6020604051888152a36007546001600160a01b031680151580610bcf575b80610bc7575b80610bbb575b80610bb1575b80610ba7575b80610b90575b80610b79575b15610a7957506007546001600160a01b031691823b15610a755760405163677ba3d360e01b81526001600160a01b0391821660048201529116602482015260448101849052919081908390606490829084905af19182610a5d575b5050610a58577fda17257003fd8954d64a15888527ad6503fab016646aa49f095d9d745788c9f890610a10610c2c565b90610a5360405192839260608452600f60608501526e37b72a37b5b2b72a3930b739b332b960891b6080850152602084015260a0604084015260a0830190610841565b0390a3565b505050565b610a68828092610891565b610a7257806109e0565b80fd5b8380fd5b925090610a868282610c6b565b610a93575b505050505050565b823b1561011457604051633c7df55d60e01b81526001600160a01b0391821660048201529116602482015260448101839052905f908290606490829084905af19081610b69575b50610b61577fda17257003fd8954d64a15888527ad6503fab016646aa49f095d9d745788c9f890610b09610c2c565b90610b526040519283926060845260156060850152741bdb951bdad95b90985b185b98d950da185b99d959605a1b6080850152602084015260a0604084015260a0830190610841565b0390a35b5f8080808080610a8b565b505050610b56565b5f610b7391610891565b5f610ada565b50865f52600860205260ff60405f20541615610985565b50855f52600860205260ff60405f2054161561097f565b5080871415610979565b5080861415610973565b5061dead87141561096d565b506001610967565b506001610961565b84908663391434e360e21b5f5260045260245260445260645ffd5b63ec442f0560e01b5f525f60045260245ffd5b634b637e8f60e11b5f525f60045260245ffd5b6005546001600160a01b0316330361049e57565b3d15610c66573d9067ffffffffffffffff82116108b35760405191610c5b601f8201601f191660200184610891565b82523d5f602084013e565b606090565b6007546001600160a01b031691908215610d21576001600160a01b031680158015610d28575b610d2157805f52600860205260ff60405f2054168015610d00575b610cf8578214918215610ce5575b508115610cd0575b50610ccb575f90565b600190565b6001600160a01b031661dead1490505f610cc2565b6001600160a01b0382161491505f610cba565b505050600190565b506001600160a01b0382165f9081526008602052604090205460ff16610cac565b5050505f90565b506001600160a01b03821615610c9156fea2646970667358221220e1bcd151699207e8689e085632e649f9a382cf0725c0dea14011977f0f27b23c64736f6c634300081a0033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000044554494d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044554494d00000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): ETIM
Arg [1] : symbol_ (string): ETIM

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [3] : 4554494d00000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 4554494d00000000000000000000000000000000000000000000000000000000


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.