ETH Price: $3,922.51 (+1.01%)

Token

BandZai Game Token (BZAI)
 

Overview

Max Total Supply

1,000,000,000 BZAI

Holders

197 ( -0.508%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
192,885.48 BZAI

Value
$0.00
0x9BB22a0E6755016B6D1Cdc99A7847534ddFB59dA
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

BandZaï is a card game set in a dream world where Zaïs, magical beings, engage in battles using elements and a unique shifumi style battle system.

# Exchange Pair Price  24H Volume % Volume

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xEaA260c1...f2A55dC6b
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
SimpleToken

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-10-02
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` 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 amount) 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 `amount` 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 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` 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 amount
    ) external returns (bool);

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

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

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

/**
 * @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}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override 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 value {ERC20} uses, unless this function is
     * 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 override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override 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 `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * 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.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` 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.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _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);
    }
}

library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

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

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}
pragma solidity 0.8.18;

interface IFee {
    function payFee(
        uint256 _tokenType
    ) external payable;
}
contract SimpleToken is ERC20, Ownable {
    using SafeERC20 for IERC20;
    IFee public constant feeContract = IFee(0xfd6439AEfF9d2389856B7486b9e74a6DacaDcDCe);
    uint8 private _decimals;
    constructor(
        string memory _name,
        string memory _symbol,
        uint8 __decimals,
        uint256 _totalSupply
    ) ERC20(_name, _symbol) payable {
        feeContract.payFee{value: msg.value}(0);   
        _decimals=__decimals;
        _mint(msg.sender, _totalSupply);
    }
    function decimals() public view override returns (uint8) {
        return _decimals;
    }
    function withdrawETH() external onlyOwner {
        (bool success, )=address(owner()).call{value: address(this).balance}("");
        require(success, "Failed in withdrawal");
    }
    function withdrawToken(address token) external onlyOwner{
        IERC20(token).safeTransfer(owner(), IERC20(token).balanceOf(address(this)));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"__decimals","type":"uint8"},{"internalType":"uint256","name":"_totalSupply","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":[{"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":"amount","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":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeContract","outputs":[{"internalType":"contract IFee","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"amount","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":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052604051620014c6380380620014c6833981016040819052620000269162000303565b838360036200003683826200041c565b5060046200004582826200041c565b505050620000626200005c620000fb60201b60201c565b620000ff565b604051636944d6f160e11b81526000600482015273fd6439aeff9d2389856b7486b9e74a6dacadcdce9063d289ade29034906024016000604051808303818588803b158015620000b157600080fd5b505af1158015620000c6573d6000803e3d6000fd5b50506005805460ff60a01b1916600160a01b60ff88160217905550620000f191503390508262000151565b5050505062000510565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216620001ac5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060026000828254620001c09190620004e8565b90915550506001600160a01b03821660009081526020819052604081208054839290620001ef908490620004e8565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200026657600080fd5b81516001600160401b03808211156200028357620002836200023e565b604051601f8301601f19908116603f01168101908282118183101715620002ae57620002ae6200023e565b81604052838152602092508683858801011115620002cb57600080fd5b600091505b83821015620002ef5785820183015181830184015290820190620002d0565b600093810190920192909252949350505050565b600080600080608085870312156200031a57600080fd5b84516001600160401b03808211156200033257600080fd5b620003408883890162000254565b955060208701519150808211156200035757600080fd5b50620003668782880162000254565b935050604085015160ff811681146200037e57600080fd5b6060959095015193969295505050565b600181811c90821680620003a357607f821691505b602082108103620003c457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200023957600081815260208120601f850160051c81016020861015620003f35750805b601f850160051c820191505b818110156200041457828155600101620003ff565b505050505050565b81516001600160401b038111156200043857620004386200023e565b62000450816200044984546200038e565b84620003ca565b602080601f8311600181146200048857600084156200046f5750858301515b600019600386901b1c1916600185901b17855562000414565b600085815260208120601f198616915b82811015620004b95788860151825594840194600190910190840162000498565b5085821015620004d85787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b808201808211156200050a57634e487b7160e01b600052601160045260246000fd5b92915050565b610fa680620005206000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063715018a6116100a2578063a457c2d711610071578063a457c2d714610236578063a9059cbb14610249578063dd62ed3e1461025c578063e086e5ec14610295578063f2fde38b1461029d57600080fd5b8063715018a614610200578063894760691461020a5780638da5cb5b1461021d57806395d89b411461022e57600080fd5b806323b872dd116100de57806323b872dd14610192578063313ce567146101a557806339509351146101c457806370a08231146101d757600080fd5b806306e297121461011057806306fdde0314610148578063095ea7b31461015d57806318160ddd14610180575b600080fd5b61012b73fd6439aeff9d2389856b7486b9e74a6dacadcdce81565b6040516001600160a01b0390911681526020015b60405180910390f35b6101506102b0565b60405161013f9190610d86565b61017061016b366004610dd5565b610342565b604051901515815260200161013f565b6002545b60405190815260200161013f565b6101706101a0366004610dff565b61035c565b600554600160a01b900460ff1660405160ff909116815260200161013f565b6101706101d2366004610dd5565b610382565b6101846101e5366004610e3b565b6001600160a01b031660009081526020819052604090205490565b6102086103c1565b005b610208610218366004610e3b565b610400565b6005546001600160a01b031661012b565b6101506104bb565b610170610244366004610dd5565b6104ca565b610170610257366004610dd5565b610567565b61018461026a366004610e56565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610208610575565b6102086102ab366004610e3b565b61064a565b6060600380546102bf90610e89565b80601f01602080910402602001604051908101604052809291908181526020018280546102eb90610e89565b80156103385780601f1061030d57610100808354040283529160200191610338565b820191906000526020600020905b81548152906001019060200180831161031b57829003601f168201915b5050505050905090565b6000336103508185856106e2565b60019150505b92915050565b60003361036a858285610806565b610375858585610898565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061035090829086906103bc908790610ec3565b6106e2565b6005546001600160a01b031633146103f45760405162461bcd60e51b81526004016103eb90610ee4565b60405180910390fd5b6103fe6000610a66565b565b6005546001600160a01b0316331461042a5760405162461bcd60e51b81526004016103eb90610ee4565b6104b861043f6005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015610483573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a79190610f19565b6001600160a01b0384169190610ab8565b50565b6060600480546102bf90610e89565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561054f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103eb565b61055c82868684036106e2565b506001949350505050565b600033610350818585610898565b6005546001600160a01b0316331461059f5760405162461bcd60e51b81526004016103eb90610ee4565b60006105b36005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146105fd576040519150601f19603f3d011682016040523d82523d6000602084013e610602565b606091505b50509050806104b85760405162461bcd60e51b815260206004820152601460248201527311985a5b1959081a5b881dda5d1a191c985dd85b60621b60448201526064016103eb565b6005546001600160a01b031633146106745760405162461bcd60e51b81526004016103eb90610ee4565b6001600160a01b0381166106d95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103eb565b6104b881610a66565b6001600160a01b0383166107445760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103eb565b6001600160a01b0382166107a55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103eb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461089257818110156108855760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103eb565b61089284848484036106e2565b50505050565b6001600160a01b0383166108fc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103eb565b6001600160a01b03821661095e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103eb565b6001600160a01b038316600090815260208190526040902054818110156109d65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103eb565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610a0d908490610ec3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a5991815260200190565b60405180910390a3610892565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610b0a908490610b0f565b505050565b6000610b64826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610be19092919063ffffffff16565b805190915015610b0a5780806020019051810190610b829190610f32565b610b0a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103eb565b6060610bf08484600085610bf8565b949350505050565b606082471015610c595760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103eb565b6001600160a01b0385163b610cb05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103eb565b600080866001600160a01b03168587604051610ccc9190610f54565b60006040518083038185875af1925050503d8060008114610d09576040519150601f19603f3d011682016040523d82523d6000602084013e610d0e565b606091505b5091509150610d1e828286610d29565b979650505050505050565b60608315610d3857508161037b565b825115610d485782518084602001fd5b8160405162461bcd60e51b81526004016103eb9190610d86565b60005b83811015610d7d578181015183820152602001610d65565b50506000910152565b6020815260008251806020840152610da5816040850160208701610d62565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610dd057600080fd5b919050565b60008060408385031215610de857600080fd5b610df183610db9565b946020939093013593505050565b600080600060608486031215610e1457600080fd5b610e1d84610db9565b9250610e2b60208501610db9565b9150604084013590509250925092565b600060208284031215610e4d57600080fd5b61037b82610db9565b60008060408385031215610e6957600080fd5b610e7283610db9565b9150610e8060208401610db9565b90509250929050565b600181811c90821680610e9d57607f821691505b602082108103610ebd57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561035657634e487b7160e01b600052601160045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610f2b57600080fd5b5051919050565b600060208284031215610f4457600080fd5b8151801515811461037b57600080fd5b60008251610f66818460208701610d62565b919091019291505056fea26469706673582212205e32c98c6292154791b3d670c52d98d41d356bf4c37ba5cf7fa9cc5df67b564e64736f6c63430008120033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000016345785d8a00000000000000000000000000000000000000000000000000000000000000000006546865414441000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045441444100000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c8063715018a6116100a2578063a457c2d711610071578063a457c2d714610236578063a9059cbb14610249578063dd62ed3e1461025c578063e086e5ec14610295578063f2fde38b1461029d57600080fd5b8063715018a614610200578063894760691461020a5780638da5cb5b1461021d57806395d89b411461022e57600080fd5b806323b872dd116100de57806323b872dd14610192578063313ce567146101a557806339509351146101c457806370a08231146101d757600080fd5b806306e297121461011057806306fdde0314610148578063095ea7b31461015d57806318160ddd14610180575b600080fd5b61012b73fd6439aeff9d2389856b7486b9e74a6dacadcdce81565b6040516001600160a01b0390911681526020015b60405180910390f35b6101506102b0565b60405161013f9190610d86565b61017061016b366004610dd5565b610342565b604051901515815260200161013f565b6002545b60405190815260200161013f565b6101706101a0366004610dff565b61035c565b600554600160a01b900460ff1660405160ff909116815260200161013f565b6101706101d2366004610dd5565b610382565b6101846101e5366004610e3b565b6001600160a01b031660009081526020819052604090205490565b6102086103c1565b005b610208610218366004610e3b565b610400565b6005546001600160a01b031661012b565b6101506104bb565b610170610244366004610dd5565b6104ca565b610170610257366004610dd5565b610567565b61018461026a366004610e56565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610208610575565b6102086102ab366004610e3b565b61064a565b6060600380546102bf90610e89565b80601f01602080910402602001604051908101604052809291908181526020018280546102eb90610e89565b80156103385780601f1061030d57610100808354040283529160200191610338565b820191906000526020600020905b81548152906001019060200180831161031b57829003601f168201915b5050505050905090565b6000336103508185856106e2565b60019150505b92915050565b60003361036a858285610806565b610375858585610898565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b038716845290915281205490919061035090829086906103bc908790610ec3565b6106e2565b6005546001600160a01b031633146103f45760405162461bcd60e51b81526004016103eb90610ee4565b60405180910390fd5b6103fe6000610a66565b565b6005546001600160a01b0316331461042a5760405162461bcd60e51b81526004016103eb90610ee4565b6104b861043f6005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015610483573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104a79190610f19565b6001600160a01b0384169190610ab8565b50565b6060600480546102bf90610e89565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561054f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016103eb565b61055c82868684036106e2565b506001949350505050565b600033610350818585610898565b6005546001600160a01b0316331461059f5760405162461bcd60e51b81526004016103eb90610ee4565b60006105b36005546001600160a01b031690565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146105fd576040519150601f19603f3d011682016040523d82523d6000602084013e610602565b606091505b50509050806104b85760405162461bcd60e51b815260206004820152601460248201527311985a5b1959081a5b881dda5d1a191c985dd85b60621b60448201526064016103eb565b6005546001600160a01b031633146106745760405162461bcd60e51b81526004016103eb90610ee4565b6001600160a01b0381166106d95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103eb565b6104b881610a66565b6001600160a01b0383166107445760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016103eb565b6001600160a01b0382166107a55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016103eb565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03838116600090815260016020908152604080832093861683529290522054600019811461089257818110156108855760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016103eb565b61089284848484036106e2565b50505050565b6001600160a01b0383166108fc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016103eb565b6001600160a01b03821661095e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016103eb565b6001600160a01b038316600090815260208190526040902054818110156109d65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016103eb565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290610a0d908490610ec3565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051610a5991815260200190565b60405180910390a3610892565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610b0a908490610b0f565b505050565b6000610b64826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610be19092919063ffffffff16565b805190915015610b0a5780806020019051810190610b829190610f32565b610b0a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016103eb565b6060610bf08484600085610bf8565b949350505050565b606082471015610c595760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016103eb565b6001600160a01b0385163b610cb05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016103eb565b600080866001600160a01b03168587604051610ccc9190610f54565b60006040518083038185875af1925050503d8060008114610d09576040519150601f19603f3d011682016040523d82523d6000602084013e610d0e565b606091505b5091509150610d1e828286610d29565b979650505050505050565b60608315610d3857508161037b565b825115610d485782518084602001fd5b8160405162461bcd60e51b81526004016103eb9190610d86565b60005b83811015610d7d578181015183820152602001610d65565b50506000910152565b6020815260008251806020840152610da5816040850160208701610d62565b601f01601f19169190910160400192915050565b80356001600160a01b0381168114610dd057600080fd5b919050565b60008060408385031215610de857600080fd5b610df183610db9565b946020939093013593505050565b600080600060608486031215610e1457600080fd5b610e1d84610db9565b9250610e2b60208501610db9565b9150604084013590509250925092565b600060208284031215610e4d57600080fd5b61037b82610db9565b60008060408385031215610e6957600080fd5b610e7283610db9565b9150610e8060208401610db9565b90509250929050565b600181811c90821680610e9d57607f821691505b602082108103610ebd57634e487b7160e01b600052602260045260246000fd5b50919050565b8082018082111561035657634e487b7160e01b600052601160045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610f2b57600080fd5b5051919050565b600060208284031215610f4457600080fd5b8151801515811461037b57600080fd5b60008251610f66818460208701610d62565b919091019291505056fea26469706673582212205e32c98c6292154791b3d670c52d98d41d356bf4c37ba5cf7fa9cc5df67b564e64736f6c63430008120033

Deployed Bytecode Sourcemap

29951:949:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30030:83;;30070:42;30030:83;;;;;-1:-1:-1;;;;;191:32:1;;;173:51;;161:2;146:18;30030:83:0;;;;;;;;13800:100;;;:::i;:::-;;;;;;;:::i;16151:201::-;;;;;;:::i;:::-;;:::i;:::-;;;1493:14:1;;1486:22;1468:41;;1456:2;1441:18;16151:201:0;1328:187:1;14920:108:0;15008:12;;14920:108;;;1666:25:1;;;1654:2;1639:18;14920:108:0;1520:177:1;16932:295:0;;;;;;:::i;:::-;;:::i;30459:92::-;30534:9;;-1:-1:-1;;;30534:9:0;;;;30459:92;;2207:4:1;2195:17;;;2177:36;;2165:2;2150:18;30459:92:0;2035:184:1;17636:240:0;;;;;;:::i;:::-;;:::i;15091:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;15192:18:0;15165:7;15192:18;;;;;;;;;;;;15091:127;25658:103;;;:::i;:::-;;30747:150;;;;;;:::i;:::-;;:::i;25007:87::-;25080:6;;-1:-1:-1;;;;;25080:6:0;25007:87;;14019:104;;;:::i;18379:438::-;;;;;;:::i;:::-;;:::i;15424:193::-;;;;;;:::i;:::-;;:::i;15680:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;15796:18:0;;;15769:7;15796:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;15680:151;30557:184;;;:::i;25916:201::-;;;;;;:::i;:::-;;:::i;13800:100::-;13854:13;13887:5;13880:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13800:100;:::o;16151:201::-;16234:4;11688:10;16290:32;11688:10;16306:7;16315:6;16290:8;:32::i;:::-;16340:4;16333:11;;;16151:201;;;;;:::o;16932:295::-;17063:4;11688:10;17121:38;17137:4;11688:10;17152:6;17121:15;:38::i;:::-;17170:27;17180:4;17186:2;17190:6;17170:9;:27::i;:::-;17215:4;17208:11;;;16932:295;;;;;;:::o;17636:240::-;11688:10;17724:4;17805:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;17805:27:0;;;;;;;;;;17724:4;;11688:10;17780:66;;11688:10;;17805:27;;:40;;17835:10;;17805:40;:::i;:::-;17780:8;:66::i;25658:103::-;25080:6;;-1:-1:-1;;;;;25080:6:0;11688:10;25227:23;25219:68;;;;-1:-1:-1;;;25219:68:0;;;;;;;:::i;:::-;;;;;;;;;25723:30:::1;25750:1;25723:18;:30::i;:::-;25658:103::o:0;30747:150::-;25080:6;;-1:-1:-1;;;;;25080:6:0;11688:10;25227:23;25219:68;;;;-1:-1:-1;;;25219:68:0;;;;;;;:::i;:::-;30814:75:::1;30841:7;25080:6:::0;;-1:-1:-1;;;;;25080:6:0;;25007:87;30841:7:::1;30850:38;::::0;-1:-1:-1;;;30850:38:0;;30882:4:::1;30850:38;::::0;::::1;173:51:1::0;-1:-1:-1;;;;;30850:23:0;::::1;::::0;::::1;::::0;146:18:1;;30850:38:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;;;;;30814:26:0;::::1;::::0;:75;:26:::1;:75::i;:::-;30747:150:::0;:::o;14019:104::-;14075:13;14108:7;14101:14;;;;;:::i;18379:438::-;11688:10;18472:4;18555:18;;;:11;:18;;;;;;;;-1:-1:-1;;;;;18555:27:0;;;;;;;;;;18472:4;;11688:10;18601:35;;;;18593:85;;;;-1:-1:-1;;;18593:85:0;;4252:2:1;18593:85:0;;;4234:21:1;4291:2;4271:18;;;4264:30;4330:34;4310:18;;;4303:62;-1:-1:-1;;;4381:18:1;;;4374:35;4426:19;;18593:85:0;4050:401:1;18593:85:0;18714:60;18723:5;18730:7;18758:15;18739:16;:34;18714:8;:60::i;:::-;-1:-1:-1;18805:4:0;;18379:438;-1:-1:-1;;;;18379:438:0:o;15424:193::-;15503:4;11688:10;15559:28;11688:10;15576:2;15580:6;15559:9;:28::i;30557:184::-;25080:6;;-1:-1:-1;;;;;25080:6:0;11688:10;25227:23;25219:68;;;;-1:-1:-1;;;25219:68:0;;;;;;;:::i;:::-;30611:12:::1;30635:7;25080:6:::0;;-1:-1:-1;;;;;25080:6:0;;25007:87;30635:7:::1;-1:-1:-1::0;;;;;30627:21:0::1;30656;30627:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30610:72;;;30701:7;30693:40;;;::::0;-1:-1:-1;;;30693:40:0;;4868:2:1;30693:40:0::1;::::0;::::1;4850:21:1::0;4907:2;4887:18;;;4880:30;-1:-1:-1;;;4926:18:1;;;4919:50;4986:18;;30693:40:0::1;4666:344:1::0;25916:201:0;25080:6;;-1:-1:-1;;;;;25080:6:0;11688:10;25227:23;25219:68;;;;-1:-1:-1;;;25219:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;26005:22:0;::::1;25997:73;;;::::0;-1:-1:-1;;;25997:73:0;;5217:2:1;25997:73:0::1;::::0;::::1;5199:21:1::0;5256:2;5236:18;;;5229:30;5295:34;5275:18;;;5268:62;-1:-1:-1;;;5346:18:1;;;5339:36;5392:19;;25997:73:0::1;5015:402:1::0;25997:73:0::1;26081:28;26100:8;26081:18;:28::i;22015:380::-:0;-1:-1:-1;;;;;22151:19:0;;22143:68;;;;-1:-1:-1;;;22143:68:0;;5624:2:1;22143:68:0;;;5606:21:1;5663:2;5643:18;;;5636:30;5702:34;5682:18;;;5675:62;-1:-1:-1;;;5753:18:1;;;5746:34;5797:19;;22143:68:0;5422:400:1;22143:68:0;-1:-1:-1;;;;;22230:21:0;;22222:68;;;;-1:-1:-1;;;22222:68:0;;6029:2:1;22222:68:0;;;6011:21:1;6068:2;6048:18;;;6041:30;6107:34;6087:18;;;6080:62;-1:-1:-1;;;6158:18:1;;;6151:32;6200:19;;22222:68:0;5827:398:1;22222:68:0;-1:-1:-1;;;;;22303:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;22355:32;;1666:25:1;;;22355:32:0;;1639:18:1;22355:32:0;;;;;;;22015:380;;;:::o;22682:453::-;-1:-1:-1;;;;;15796:18:0;;;22817:24;15796:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;-1:-1:-1;;22884:37:0;;22880:248;;22966:6;22946:16;:26;;22938:68;;;;-1:-1:-1;;;22938:68:0;;6432:2:1;22938:68:0;;;6414:21:1;6471:2;6451:18;;;6444:30;6510:31;6490:18;;;6483:59;6559:18;;22938:68:0;6230:353:1;22938:68:0;23050:51;23059:5;23066:7;23094:6;23075:16;:25;23050:8;:51::i;:::-;22806:329;22682:453;;;:::o;19296:671::-;-1:-1:-1;;;;;19427:18:0;;19419:68;;;;-1:-1:-1;;;19419:68:0;;6790:2:1;19419:68:0;;;6772:21:1;6829:2;6809:18;;;6802:30;6868:34;6848:18;;;6841:62;-1:-1:-1;;;6919:18:1;;;6912:35;6964:19;;19419:68:0;6588:401:1;19419:68:0;-1:-1:-1;;;;;19506:16:0;;19498:64;;;;-1:-1:-1;;;19498:64:0;;7196:2:1;19498:64:0;;;7178:21:1;7235:2;7215:18;;;7208:30;7274:34;7254:18;;;7247:62;-1:-1:-1;;;7325:18:1;;;7318:33;7368:19;;19498:64:0;6994:399:1;19498:64:0;-1:-1:-1;;;;;19648:15:0;;19626:19;19648:15;;;;;;;;;;;19682:21;;;;19674:72;;;;-1:-1:-1;;;19674:72:0;;7600:2:1;19674:72:0;;;7582:21:1;7639:2;7619:18;;;7612:30;7678:34;7658:18;;;7651:62;-1:-1:-1;;;7729:18:1;;;7722:36;7775:19;;19674:72:0;7398:402:1;19674:72:0;-1:-1:-1;;;;;19782:15:0;;;:9;:15;;;;;;;;;;;19800:20;;;19782:38;;19842:13;;;;;;;;:23;;19814:6;;19782:9;19842:23;;19814:6;;19842:23;:::i;:::-;;;;;;;;19898:2;-1:-1:-1;;;;;19883:26:0;19892:4;-1:-1:-1;;;;;19883:26:0;;19902:6;19883:26;;;;1666:25:1;;1654:2;1639:18;;1520:177;19883:26:0;;;;;;;;19922:37;26534:211;26277:191;26370:6;;;-1:-1:-1;;;;;26387:17:0;;;-1:-1:-1;;;;;;26387:17:0;;;;;;;26420:40;;26370:6;;;26387:17;26370:6;;26420:40;;26351:16;;26420:40;26340:128;26277:191;:::o;26534:211::-;26678:58;;;-1:-1:-1;;;;;7997:32:1;;26678:58:0;;;7979:51:1;8046:18;;;;8039:34;;;26678:58:0;;;;;;;;;;7952:18:1;;;;26678:58:0;;;;;;;;-1:-1:-1;;;;;26678:58:0;-1:-1:-1;;;26678:58:0;;;26651:86;;26671:5;;26651:19;:86::i;:::-;26534:211;;;:::o;29107:716::-;29531:23;29557:69;29585:4;29557:69;;;;;;;;;;;;;;;;;29565:5;-1:-1:-1;;;;;29557:27:0;;;:69;;;;;:::i;:::-;29641:17;;29531:95;;-1:-1:-1;29641:21:0;29637:179;;29738:10;29727:30;;;;;;;;;;;;:::i;:::-;29719:85;;;;-1:-1:-1;;;29719:85:0;;8568:2:1;29719:85:0;;;8550:21:1;8607:2;8587:18;;;8580:30;8646:34;8626:18;;;8619:62;-1:-1:-1;;;8697:18:1;;;8690:40;8747:19;;29719:85:0;8366:406:1;3884:229:0;4021:12;4053:52;4075:6;4083:4;4089:1;4092:12;4053:21;:52::i;:::-;4046:59;3884:229;-1:-1:-1;;;;3884:229:0:o;5004:510::-;5174:12;5232:5;5207:21;:30;;5199:81;;;;-1:-1:-1;;;5199:81:0;;8979:2:1;5199:81:0;;;8961:21:1;9018:2;8998:18;;;8991:30;9057:34;9037:18;;;9030:62;-1:-1:-1;;;9108:18:1;;;9101:36;9154:19;;5199:81:0;8777:402:1;5199:81:0;-1:-1:-1;;;;;1434:19:0;;;5291:60;;;;-1:-1:-1;;;5291:60:0;;9386:2:1;5291:60:0;;;9368:21:1;9425:2;9405:18;;;9398:30;9464:31;9444:18;;;9437:59;9513:18;;5291:60:0;9184:353:1;5291:60:0;5365:12;5379:23;5406:6;-1:-1:-1;;;;;5406:11:0;5425:5;5432:4;5406:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5364:73;;;;5455:51;5472:7;5481:10;5493:12;5455:16;:51::i;:::-;5448:58;5004:510;-1:-1:-1;;;;;;;5004:510:0:o;7690:712::-;7840:12;7869:7;7865:530;;;-1:-1:-1;7900:10:0;7893:17;;7865:530;8014:17;;:21;8010:374;;8212:10;8206:17;8273:15;8260:10;8256:2;8252:19;8245:44;8010:374;8355:12;8348:20;;-1:-1:-1;;;8348:20:0;;;;;;;;:::i;235:250:1:-;320:1;330:113;344:6;341:1;338:13;330:113;;;420:11;;;414:18;401:11;;;394:39;366:2;359:10;330:113;;;-1:-1:-1;;477:1:1;459:16;;452:27;235:250::o;490:396::-;639:2;628:9;621:21;602:4;671:6;665:13;714:6;709:2;698:9;694:18;687:34;730:79;802:6;797:2;786:9;782:18;777:2;769:6;765:15;730:79;:::i;:::-;870:2;849:15;-1:-1:-1;;845:29:1;830:45;;;;877:2;826:54;;490:396;-1:-1:-1;;490:396:1:o;891:173::-;959:20;;-1:-1:-1;;;;;1008:31:1;;998:42;;988:70;;1054:1;1051;1044:12;988:70;891:173;;;:::o;1069:254::-;1137:6;1145;1198:2;1186:9;1177:7;1173:23;1169:32;1166:52;;;1214:1;1211;1204:12;1166:52;1237:29;1256:9;1237:29;:::i;:::-;1227:39;1313:2;1298:18;;;;1285:32;;-1:-1:-1;;;1069:254:1:o;1702:328::-;1779:6;1787;1795;1848:2;1836:9;1827:7;1823:23;1819:32;1816:52;;;1864:1;1861;1854:12;1816:52;1887:29;1906:9;1887:29;:::i;:::-;1877:39;;1935:38;1969:2;1958:9;1954:18;1935:38;:::i;:::-;1925:48;;2020:2;2009:9;2005:18;1992:32;1982:42;;1702:328;;;;;:::o;2224:186::-;2283:6;2336:2;2324:9;2315:7;2311:23;2307:32;2304:52;;;2352:1;2349;2342:12;2304:52;2375:29;2394:9;2375:29;:::i;2623:260::-;2691:6;2699;2752:2;2740:9;2731:7;2727:23;2723:32;2720:52;;;2768:1;2765;2758:12;2720:52;2791:29;2810:9;2791:29;:::i;:::-;2781:39;;2839:38;2873:2;2862:9;2858:18;2839:38;:::i;:::-;2829:48;;2623:260;;;;;:::o;2888:380::-;2967:1;2963:12;;;;3010;;;3031:61;;3085:4;3077:6;3073:17;3063:27;;3031:61;3138:2;3130:6;3127:14;3107:18;3104:38;3101:161;;3184:10;3179:3;3175:20;3172:1;3165:31;3219:4;3216:1;3209:15;3247:4;3244:1;3237:15;3101:161;;2888:380;;;:::o;3273:222::-;3338:9;;;3359:10;;;3356:133;;;3411:10;3406:3;3402:20;3399:1;3392:31;3446:4;3443:1;3436:15;3474:4;3471:1;3464:15;3500:356;3702:2;3684:21;;;3721:18;;;3714:30;3780:34;3775:2;3760:18;;3753:62;3847:2;3832:18;;3500:356::o;3861:184::-;3931:6;3984:2;3972:9;3963:7;3959:23;3955:32;3952:52;;;4000:1;3997;3990:12;3952:52;-1:-1:-1;4023:16:1;;3861:184;-1:-1:-1;3861:184:1:o;8084:277::-;8151:6;8204:2;8192:9;8183:7;8179:23;8175:32;8172:52;;;8220:1;8217;8210:12;8172:52;8252:9;8246:16;8305:5;8298:13;8291:21;8284:5;8281:32;8271:60;;8327:1;8324;8317:12;9542:287;9671:3;9709:6;9703:13;9725:66;9784:6;9779:3;9772:4;9764:6;9760:17;9725:66;:::i;:::-;9807:16;;;;;9542:287;-1:-1:-1;;9542:287:1:o

Swarm Source

ipfs://5e32c98c6292154791b3d670c52d98d41d356bf4c37ba5cf7fa9cc5df67b564e
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.