ETH Price: $3,686.66 (+2.65%)

Token

ERC-20: Count Pepe (COUNT)
 

Overview

Max Total Supply

500,000,000 COUNT

Holders

7

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.722739563961609862 COUNT

Value
$0.00
0x979061F5FF77AaD1a38dE91cf94a77E203F2d899
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
CountPepe

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : CountPepe.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

/**
 * @title CountPepe      
 * @dev memecoin token with additional functionality
 * for creating a liquidity pool on Uniswap v3
 *                          
 *    ██████╗ ██████╗ ██╗   ██╗███╗   ██╗████████╗    ██████╗ ███████╗██████╗ ███████╗
 *   ██╔════╝██╔═══██╗██║   ██║████╗  ██║╚══██╔══╝    ██╔══██╗██╔════╝██╔══██╗██╔════╝
 *   ██║     ██║   ██║██║   ██║██╔██╗ ██║   ██║       ██████╔╝█████╗  ██████╔╝█████╗  
 *   ██║     ██║   ██║██║   ██║██║╚██╗██║   ██║       ██╔═══╝ ██╔══╝  ██╔═══╝ ██╔══╝  
 *   ╚██████╗╚██████╔╝╚██████╔╝██║ ╚████║   ██║       ██║     ███████╗██║     ███████╗
 *    ╚═════╝ ╚═════╝  ╚═════╝ ╚═╝  ╚═══╝   ╚═╝       ╚═╝     ╚══════╝╚═╝     ╚══════╝
 *
 *                                  .d:....:h.
 *                               .:!!!!!!!!!!!!:.
 *                          .::!!!!!!!!!!!!!!!!!!!!::.
 *                   ..::!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!::..
 *               ..```. . eeee .... ... '~' ... .... eeee . .'''..
 *                `!h:. $ $$$$ $$$$ $$$$b d$$$$ $$$$ $$$$ $ .:h!'
 *                 `!!!!. `$$$ '$$' '$$$' `$$$` '$$' $$$'.!!!!!'
 *                   `!!!!.`$$ .   .  ......   .   . $$'.!!!!'
 *                    `!!!! $$ !!!!!!!!!!!!!!!!!!!!! $$ !!!!'
 *                      `!!h ` !!!!!!!!!!!!!!!!!!!!! ' d!!'
 *                         `!h !!!!!!!!!!!!!!!!!!!!!!! d!'
 *                          ``!!!!!!!!!!!!!!!!!!!!!!!!''
 *                             ``!!!!!!!!!!!!!!!!!!''
 *                                 ```!!!!!!!!'''
 *                        
 *                            https://www.countpepe.com    
 *                           https://t.me/CountPepePortal
 *                             https://x.com/Count_Pepe 
 */ 

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

/**
 * @title INonfungiblePositionManager 
 * @dev Interface for interacting with the Nonfungible 
 * Position Manager contract in Uniswap V3.
 */
interface INonfungiblePositionManager {
    struct MintParams {
        address token0;
        address token1;
        uint24 fee;
        int24 tickLower;
        int24 tickUpper;
        uint256 amount0Desired;
        uint256 amount1Desired;
        uint256 amount0Min;
        uint256 amount1Min;
        address recipient;
        uint256 deadline;
    }
    function mint(MintParams calldata params) external payable returns (
        uint256 tokenId,
        uint128 liquidity,
        uint256 amount0,
        uint256 amount1
    );
    function createAndInitializePoolIfNecessary(
        address token0,
        address token1,
        uint24 fee,
        uint160 sqrtPriceX96
    ) external payable returns (address pool);
}

contract CountPepe is ERC20, Ownable {
    INonfungiblePositionManager posMan = INonfungiblePositionManager(0xC36442b4a4522E871399CD717aBDD847Ab11FE88);
    address constant weth = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2; // mainnet
    address constant team = 0x5D0B477a4B00A8Ccb6893D5411571a866C9FDBa0;
    address constant marketing = 0x05249B31D09915f0a6D8bafa575C4FA8Ea89e375;
    uint immutable uniswapSupply = 485_000_000 * 10 ** decimals();
    uint immutable marketingSupply = 12_500_000 * 10 ** decimals();
    uint immutable teamSupply = 2_500_000 * 10 ** decimals();

    uint24 constant fee = 3000;
    uint160 sqrtPriceX96;
    int24 minTick;
    int24 maxTick;
    address public pool;
    address token0;
    address token1;
    uint amount0Desired;
    uint amount1Desired;

    /**
     * @dev Constructor method initializes the ERC20 Token.
     * @notice Mints tokens to contract and marketing wallet.
     * Sets up initial liquidity pool but liquidity cannot 
     * be added in the same tx
     */
    constructor() ERC20("Count Pepe", "COUNT") Ownable(msg.sender) {
        _mint(address(this), uniswapSupply);
        _mint(marketing, marketingSupply);
        _mint(team, teamSupply);
        fixOrdering();
        pool = posMan.createAndInitializePoolIfNecessary(token0, token1, fee, sqrtPriceX96);
    }

    /**
     * @dev Private function to establish the token pairs 
     * for liquidity pool based on lexicographical ordering. 
     * @notice Changing the price requires minTick/maxTick
     * to be adjusted as well.
     */
    function fixOrdering() private {
        if (address(this) < weth) {
            token0 = address(this);
            token1 = weth;
            sqrtPriceX96 = 56022299269611287018253980;
            amount0Desired = uniswapSupply;
            amount1Desired = 0;
            minTick = -145080;
            maxTick = 887220;
        } else {
            token0 = weth;
            token1 = address(this);
            sqrtPriceX96 = 112040883463736372645278684184779;
            amount0Desired = 0;
            amount1Desired = uniswapSupply;
            minTick = -887220;
            maxTick = 145080;
        }
    }

    /**
     * @dev Public onlyOwner function to provide liquidity to
     * the established Uniswap pool.
     */
    function addLiquidity() public onlyOwner {
        IERC20(address(this)).approve(address(posMan), uniswapSupply);
        posMan.mint(INonfungiblePositionManager.MintParams({
            token0: token0,
            token1: token1,
            fee: fee,
            tickLower: minTick,
            tickUpper: maxTick,
            amount0Desired: amount0Desired,
            amount1Desired: amount1Desired,
            amount0Min: 0,
            amount1Min: 0,
            recipient: address(this),
            deadline: block.timestamp + 1200
        }));
    }
}

File 2 of 7 : Ownable.sol
// 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);
    }
}

File 3 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.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 ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        return true;
    }

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

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

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

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

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

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

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

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

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

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-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 ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 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);
}

File 5 of 7 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (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;
    }
}

File 6 of 7 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

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

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

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

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

File 7 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 value) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the
     * caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address from, address to, uint256 value) external returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":[],"name":"addLiquidity","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":[],"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":"pool","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":"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"}]

60e060405273c36442b4a4522e871399cd717abdd847ab11fe8860065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000068620003dd60201b60201c565b600a62000076919062000be9565b631ce8834062000087919062000c39565b6080908152506200009d620003dd60201b60201c565b600a620000ab919062000be9565b62bebc20620000bb919062000c39565b60a090815250620000d1620003dd60201b60201c565b600a620000df919062000be9565b622625a0620000ef919062000c39565b60c09081525034801562000101575f80fd5b50336040518060400160405280600a81526020017f436f756e742050657065000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f434f554e54000000000000000000000000000000000000000000000000000000815250816003908162000180919062000ede565b50806004908162000192919062000ede565b5050505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000208575f6040517f1e4fbdf7000000000000000000000000000000000000000000000000000000008152600401620001ff919062001005565b60405180910390fd5b6200021981620003e560201b60201c565b506200022e30608051620004a860201b60201c565b620002567305249b31d09915f0a6d8bafa575c4fa8ea89e37560a051620004a860201b60201c565b6200027e735d0b477a4b00a8ccb6893d5411571a866c9fdba060c051620004a860201b60201c565b6200028e6200053260201b60201c565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166313ead56260095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610bb860075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518563ffffffff1660e01b815260040162000355949392919062001050565b6020604051808303815f875af115801562000372573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620003989190620010ce565b60085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200119f565b5f6012905090565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200051b575f6040517fec442f0500000000000000000000000000000000000000000000000000000000815260040162000512919062001005565b60405180910390fd5b6200052e5f83836200083360201b60201c565b5050565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc273ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161015620006d7573060095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506a2e572eedc500da59b4ae9c60075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550608051600b819055505f600c819055507ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffdc948600760146101000a81548162ffffff021916908360020b62ffffff160217905550620d89b4600760176101000a81548162ffffff021916908360020b62ffffff16021790555062000831565b73c02aaa39b223fe8d0a0e5c4f27ead9083c756cc260095f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555030600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506d0586279e9d50e9036be98d1280cb60075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f600b81905550608051600c819055507ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff2764c600760146101000a81548162ffffff021916908360020b62ffffff160217905550620236b8600760176101000a81548162ffffff021916908360020b62ffffff1602179055505b565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160362000887578060025f8282546200087a9190620010fe565b9250508190555062000958565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205490508181101562000913578381836040517fe450d38c0000000000000000000000000000000000000000000000000000000081526004016200090a9392919062001149565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620009a1578060025f8282540392505081905550620009eb565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000a4a919062001184565b60405180910390a3505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f8160011c9050919050565b5f808291508390505b600185111562000ae15780860481111562000ab95762000ab862000a57565b5b600185161562000ac95780820291505b808102905062000ad98562000a84565b945062000a99565b94509492505050565b5f8262000afb576001905062000bcd565b8162000b0a575f905062000bcd565b816001811462000b23576002811462000b2e5762000b64565b600191505062000bcd565b60ff84111562000b435762000b4262000a57565b5b8360020a91508482111562000b5d5762000b5c62000a57565b5b5062000bcd565b5060208310610133831016604e8410600b841016171562000b9e5782820a90508381111562000b985762000b9762000a57565b5b62000bcd565b62000bad848484600162000a90565b9250905081840481111562000bc75762000bc662000a57565b5b81810290505b9392505050565b5f819050919050565b5f60ff82169050919050565b5f62000bf58262000bd4565b915062000c028362000bdd565b925062000c317fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff848462000aea565b905092915050565b5f62000c458262000bd4565b915062000c528362000bd4565b925082820262000c628162000bd4565b9150828204841483151762000c7c5762000c7b62000a57565b5b5092915050565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168062000cff57607f821691505b60208210810362000d155762000d1462000cba565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830262000d797fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000d3c565b62000d85868362000d3c565b95508019841693508086168417925050509392505050565b5f819050919050565b5f62000dc662000dc062000dba8462000bd4565b62000d9d565b62000bd4565b9050919050565b5f819050919050565b62000de18362000da6565b62000df962000df08262000dcd565b84845462000d48565b825550505050565b5f90565b62000e0f62000e01565b62000e1c81848462000dd6565b505050565b5b8181101562000e435762000e375f8262000e05565b60018101905062000e22565b5050565b601f82111562000e925762000e5c8162000d1b565b62000e678462000d2d565b8101602085101562000e77578190505b62000e8f62000e868562000d2d565b83018262000e21565b50505b505050565b5f82821c905092915050565b5f62000eb45f198460080262000e97565b1980831691505092915050565b5f62000ece838362000ea3565b9150826002028217905092915050565b62000ee98262000c83565b67ffffffffffffffff81111562000f055762000f0462000c8d565b5b62000f11825462000ce7565b62000f1e82828562000e47565b5f60209050601f83116001811462000f54575f841562000f3f578287015190505b62000f4b858262000ec1565b86555062000fba565b601f19841662000f648662000d1b565b5f5b8281101562000f8d5784890151825560018201915060208501945060208101905062000f66565b8683101562000fad578489015162000fa9601f89168262000ea3565b8355505b6001600288020188555050505b505050505050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f62000fed8262000fc2565b9050919050565b62000fff8162000fe1565b82525050565b5f6020820190506200101a5f83018462000ff4565b92915050565b5f62ffffff82169050919050565b620010398162001020565b82525050565b6200104a8162000fc2565b82525050565b5f608082019050620010655f83018762000ff4565b62001074602083018662000ff4565b6200108360408301856200102e565b6200109260608301846200103f565b95945050505050565b5f80fd5b620010aa8162000fe1565b8114620010b5575f80fd5b50565b5f81519050620010c8816200109f565b92915050565b5f60208284031215620010e657620010e56200109b565b5b5f620010f584828501620010b8565b91505092915050565b5f6200110a8262000bd4565b9150620011178362000bd4565b925082820190508082111562001132576200113162000a57565b5b92915050565b620011438162000bd4565b82525050565b5f6060820190506200115e5f83018662000ff4565b6200116d602083018562001138565b6200117c604083018462001138565b949350505050565b5f602082019050620011995f83018462001138565b92915050565b60805160a05160c0516115e4620011c45f395f50505f50505f6105d201526115e45ff3fe608060405234801561000f575f80fd5b50600436106100e8575f3560e01c8063715018a61161008a578063a9059cbb11610064578063a9059cbb1461023a578063dd62ed3e1461026a578063e8078d941461029a578063f2fde38b146102a4576100e8565b8063715018a6146101f45780638da5cb5b146101fe57806395d89b411461021c576100e8565b806318160ddd116100c657806318160ddd1461015857806323b872dd14610176578063313ce567146101a657806370a08231146101c4576100e8565b806306fdde03146100ec578063095ea7b31461010a57806316f0115b1461013a575b5f80fd5b6100f46102c0565b6040516101019190610fd5565b60405180910390f35b610124600480360381019061011f9190611086565b610350565b60405161013191906110de565b60405180910390f35b610142610372565b60405161014f9190611106565b60405180910390f35b610160610397565b60405161016d919061112e565b60405180910390f35b610190600480360381019061018b9190611147565b6103a0565b60405161019d91906110de565b60405180910390f35b6101ae6103ce565b6040516101bb91906111b2565b60405180910390f35b6101de60048036038101906101d991906111cb565b6103d6565b6040516101eb919061112e565b60405180910390f35b6101fc61041b565b005b61020661042e565b6040516102139190611106565b60405180910390f35b610224610456565b6040516102319190610fd5565b60405180910390f35b610254600480360381019061024f9190611086565b6104e6565b60405161026191906110de565b60405180910390f35b610284600480360381019061027f91906111f6565b610508565b604051610291919061112e565b60405180910390f35b6102a261058a565b005b6102be60048036038101906102b991906111cb565b6107fa565b005b6060600380546102cf90611261565b80601f01602080910402602001604051908101604052809291908181526020018280546102fb90611261565b80156103465780601f1061031d57610100808354040283529160200191610346565b820191905f5260205f20905b81548152906001019060200180831161032957829003601f168201915b5050505050905090565b5f8061035a61087e565b9050610367818585610885565b600191505092915050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f600254905090565b5f806103aa61087e565b90506103b7858285610897565b6103c2858585610929565b60019150509392505050565b5f6012905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610423610a19565b61042c5f610aa0565b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461046590611261565b80601f016020809104026020016040519081016040528092919081815260200182805461049190611261565b80156104dc5780601f106104b3576101008083540402835291602001916104dc565b820191905f5260205f20905b8154815290600101906020018083116104bf57829003601f168201915b5050505050905090565b5f806104f061087e565b90506104fd818585610929565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610592610a19565b3073ffffffffffffffffffffffffffffffffffffffff1663095ea7b360065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167f00000000000000000000000000000000000000000000000000000000000000006040518363ffffffff1660e01b815260040161060e929190611291565b6020604051808303815f875af115801561062a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064e91906112e2565b5060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638831645660405180610160016040528060095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001610bb862ffffff168152602001600760149054906101000a900460020b60020b8152602001600760179054906101000a900460020b60020b8152602001600b548152602001600c5481526020015f81526020015f81526020013073ffffffffffffffffffffffffffffffffffffffff1681526020016104b042610795919061133a565b8152506040518263ffffffff1660e01b81526004016107b491906114a2565b6080604051808303815f875af11580156107d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f49190611515565b50505050565b610802610a19565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610872575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016108699190611106565b60405180910390fd5b61087b81610aa0565b50565b5f33905090565b6108928383836001610b63565b505050565b5f6108a28484610508565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109235781811015610914578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161090b93929190611579565b60405180910390fd5b61092284848484035f610b63565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610999575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016109909190611106565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a09575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610a009190611106565b60405180910390fd5b610a14838383610d32565b505050565b610a2161087e565b73ffffffffffffffffffffffffffffffffffffffff16610a3f61042e565b73ffffffffffffffffffffffffffffffffffffffff1614610a9e57610a6261087e565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610a959190611106565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610bd3575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610bca9190611106565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c43575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610c3a9190611106565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610d2c578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d23919061112e565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d82578060025f828254610d76919061133a565b92505081905550610e50565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610e0b578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610e0293929190611579565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e97578060025f8282540392505081905550610ee1565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610f3e919061112e565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610f82578082015181840152602081019050610f67565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610fa782610f4b565b610fb18185610f55565b9350610fc1818560208601610f65565b610fca81610f8d565b840191505092915050565b5f6020820190508181035f830152610fed8184610f9d565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61102282610ff9565b9050919050565b61103281611018565b811461103c575f80fd5b50565b5f8135905061104d81611029565b92915050565b5f819050919050565b61106581611053565b811461106f575f80fd5b50565b5f813590506110808161105c565b92915050565b5f806040838503121561109c5761109b610ff5565b5b5f6110a98582860161103f565b92505060206110ba85828601611072565b9150509250929050565b5f8115159050919050565b6110d8816110c4565b82525050565b5f6020820190506110f15f8301846110cf565b92915050565b61110081611018565b82525050565b5f6020820190506111195f8301846110f7565b92915050565b61112881611053565b82525050565b5f6020820190506111415f83018461111f565b92915050565b5f805f6060848603121561115e5761115d610ff5565b5b5f61116b8682870161103f565b935050602061117c8682870161103f565b925050604061118d86828701611072565b9150509250925092565b5f60ff82169050919050565b6111ac81611197565b82525050565b5f6020820190506111c55f8301846111a3565b92915050565b5f602082840312156111e0576111df610ff5565b5b5f6111ed8482850161103f565b91505092915050565b5f806040838503121561120c5761120b610ff5565b5b5f6112198582860161103f565b925050602061122a8582860161103f565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061127857607f821691505b60208210810361128b5761128a611234565b5b50919050565b5f6040820190506112a45f8301856110f7565b6112b1602083018461111f565b9392505050565b6112c1816110c4565b81146112cb575f80fd5b50565b5f815190506112dc816112b8565b92915050565b5f602082840312156112f7576112f6610ff5565b5b5f611304848285016112ce565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61134482611053565b915061134f83611053565b92508282019050808211156113675761136661130d565b5b92915050565b61137681611018565b82525050565b5f62ffffff82169050919050565b6113938161137c565b82525050565b5f8160020b9050919050565b6113ae81611399565b82525050565b6113bd81611053565b82525050565b61016082015f8201516113d85f85018261136d565b5060208201516113eb602085018261136d565b5060408201516113fe604085018261138a565b50606082015161141160608501826113a5565b50608082015161142460808501826113a5565b5060a082015161143760a08501826113b4565b5060c082015161144a60c08501826113b4565b5060e082015161145d60e08501826113b4565b506101008201516114726101008501826113b4565b5061012082015161148761012085018261136d565b5061014082015161149c6101408501826113b4565b50505050565b5f610160820190506114b65f8301846113c3565b92915050565b5f815190506114ca8161105c565b92915050565b5f6fffffffffffffffffffffffffffffffff82169050919050565b6114f4816114d0565b81146114fe575f80fd5b50565b5f8151905061150f816114eb565b92915050565b5f805f806080858703121561152d5761152c610ff5565b5b5f61153a878288016114bc565b945050602061154b87828801611501565b935050604061155c878288016114bc565b925050606061156d878288016114bc565b91505092959194509250565b5f60608201905061158c5f8301866110f7565b611599602083018561111f565b6115a6604083018461111f565b94935050505056fea264697066735822122046730ac95bfa7072a892cd6292952be7bd69631005a5817c87269458c477fbc564736f6c63430008150033

Deployed Bytecode

0x608060405234801561000f575f80fd5b50600436106100e8575f3560e01c8063715018a61161008a578063a9059cbb11610064578063a9059cbb1461023a578063dd62ed3e1461026a578063e8078d941461029a578063f2fde38b146102a4576100e8565b8063715018a6146101f45780638da5cb5b146101fe57806395d89b411461021c576100e8565b806318160ddd116100c657806318160ddd1461015857806323b872dd14610176578063313ce567146101a657806370a08231146101c4576100e8565b806306fdde03146100ec578063095ea7b31461010a57806316f0115b1461013a575b5f80fd5b6100f46102c0565b6040516101019190610fd5565b60405180910390f35b610124600480360381019061011f9190611086565b610350565b60405161013191906110de565b60405180910390f35b610142610372565b60405161014f9190611106565b60405180910390f35b610160610397565b60405161016d919061112e565b60405180910390f35b610190600480360381019061018b9190611147565b6103a0565b60405161019d91906110de565b60405180910390f35b6101ae6103ce565b6040516101bb91906111b2565b60405180910390f35b6101de60048036038101906101d991906111cb565b6103d6565b6040516101eb919061112e565b60405180910390f35b6101fc61041b565b005b61020661042e565b6040516102139190611106565b60405180910390f35b610224610456565b6040516102319190610fd5565b60405180910390f35b610254600480360381019061024f9190611086565b6104e6565b60405161026191906110de565b60405180910390f35b610284600480360381019061027f91906111f6565b610508565b604051610291919061112e565b60405180910390f35b6102a261058a565b005b6102be60048036038101906102b991906111cb565b6107fa565b005b6060600380546102cf90611261565b80601f01602080910402602001604051908101604052809291908181526020018280546102fb90611261565b80156103465780601f1061031d57610100808354040283529160200191610346565b820191905f5260205f20905b81548152906001019060200180831161032957829003601f168201915b5050505050905090565b5f8061035a61087e565b9050610367818585610885565b600191505092915050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f600254905090565b5f806103aa61087e565b90506103b7858285610897565b6103c2858585610929565b60019150509392505050565b5f6012905090565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b610423610a19565b61042c5f610aa0565b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606004805461046590611261565b80601f016020809104026020016040519081016040528092919081815260200182805461049190611261565b80156104dc5780601f106104b3576101008083540402835291602001916104dc565b820191905f5260205f20905b8154815290600101906020018083116104bf57829003601f168201915b5050505050905090565b5f806104f061087e565b90506104fd818585610929565b600191505092915050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b610592610a19565b3073ffffffffffffffffffffffffffffffffffffffff1663095ea7b360065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000001912ebeaeca3e32050000006040518363ffffffff1660e01b815260040161060e929190611291565b6020604051808303815f875af115801561062a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064e91906112e2565b5060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638831645660405180610160016040528060095f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001610bb862ffffff168152602001600760149054906101000a900460020b60020b8152602001600760179054906101000a900460020b60020b8152602001600b548152602001600c5481526020015f81526020015f81526020013073ffffffffffffffffffffffffffffffffffffffff1681526020016104b042610795919061133a565b8152506040518263ffffffff1660e01b81526004016107b491906114a2565b6080604051808303815f875af11580156107d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906107f49190611515565b50505050565b610802610a19565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610872575f6040517f1e4fbdf70000000000000000000000000000000000000000000000000000000081526004016108699190611106565b60405180910390fd5b61087b81610aa0565b50565b5f33905090565b6108928383836001610b63565b505050565b5f6108a28484610508565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146109235781811015610914578281836040517ffb8f41b200000000000000000000000000000000000000000000000000000000815260040161090b93929190611579565b60405180910390fd5b61092284848484035f610b63565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610999575f6040517f96c6fd1e0000000000000000000000000000000000000000000000000000000081526004016109909190611106565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610a09575f6040517fec442f05000000000000000000000000000000000000000000000000000000008152600401610a009190611106565b60405180910390fd5b610a14838383610d32565b505050565b610a2161087e565b73ffffffffffffffffffffffffffffffffffffffff16610a3f61042e565b73ffffffffffffffffffffffffffffffffffffffff1614610a9e57610a6261087e565b6040517f118cdaa7000000000000000000000000000000000000000000000000000000008152600401610a959190611106565b60405180910390fd5b565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610bd3575f6040517fe602df05000000000000000000000000000000000000000000000000000000008152600401610bca9190611106565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c43575f6040517f94280d62000000000000000000000000000000000000000000000000000000008152600401610c3a9190611106565b60405180910390fd5b8160015f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508015610d2c578273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610d23919061112e565b60405180910390a35b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d82578060025f828254610d76919061133a565b92505081905550610e50565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905081811015610e0b578381836040517fe450d38c000000000000000000000000000000000000000000000000000000008152600401610e0293929190611579565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550505b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610e97578060025f8282540392505081905550610ee1565b805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055505b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610f3e919061112e565b60405180910390a3505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b83811015610f82578082015181840152602081019050610f67565b5f8484015250505050565b5f601f19601f8301169050919050565b5f610fa782610f4b565b610fb18185610f55565b9350610fc1818560208601610f65565b610fca81610f8d565b840191505092915050565b5f6020820190508181035f830152610fed8184610f9d565b905092915050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f61102282610ff9565b9050919050565b61103281611018565b811461103c575f80fd5b50565b5f8135905061104d81611029565b92915050565b5f819050919050565b61106581611053565b811461106f575f80fd5b50565b5f813590506110808161105c565b92915050565b5f806040838503121561109c5761109b610ff5565b5b5f6110a98582860161103f565b92505060206110ba85828601611072565b9150509250929050565b5f8115159050919050565b6110d8816110c4565b82525050565b5f6020820190506110f15f8301846110cf565b92915050565b61110081611018565b82525050565b5f6020820190506111195f8301846110f7565b92915050565b61112881611053565b82525050565b5f6020820190506111415f83018461111f565b92915050565b5f805f6060848603121561115e5761115d610ff5565b5b5f61116b8682870161103f565b935050602061117c8682870161103f565b925050604061118d86828701611072565b9150509250925092565b5f60ff82169050919050565b6111ac81611197565b82525050565b5f6020820190506111c55f8301846111a3565b92915050565b5f602082840312156111e0576111df610ff5565b5b5f6111ed8482850161103f565b91505092915050565b5f806040838503121561120c5761120b610ff5565b5b5f6112198582860161103f565b925050602061122a8582860161103f565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f600282049050600182168061127857607f821691505b60208210810361128b5761128a611234565b5b50919050565b5f6040820190506112a45f8301856110f7565b6112b1602083018461111f565b9392505050565b6112c1816110c4565b81146112cb575f80fd5b50565b5f815190506112dc816112b8565b92915050565b5f602082840312156112f7576112f6610ff5565b5b5f611304848285016112ce565b91505092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f61134482611053565b915061134f83611053565b92508282019050808211156113675761136661130d565b5b92915050565b61137681611018565b82525050565b5f62ffffff82169050919050565b6113938161137c565b82525050565b5f8160020b9050919050565b6113ae81611399565b82525050565b6113bd81611053565b82525050565b61016082015f8201516113d85f85018261136d565b5060208201516113eb602085018261136d565b5060408201516113fe604085018261138a565b50606082015161141160608501826113a5565b50608082015161142460808501826113a5565b5060a082015161143760a08501826113b4565b5060c082015161144a60c08501826113b4565b5060e082015161145d60e08501826113b4565b506101008201516114726101008501826113b4565b5061012082015161148761012085018261136d565b5061014082015161149c6101408501826113b4565b50505050565b5f610160820190506114b65f8301846113c3565b92915050565b5f815190506114ca8161105c565b92915050565b5f6fffffffffffffffffffffffffffffffff82169050919050565b6114f4816114d0565b81146114fe575f80fd5b50565b5f8151905061150f816114eb565b92915050565b5f805f806080858703121561152d5761152c610ff5565b5b5f61153a878288016114bc565b945050602061154b87828801611501565b935050604061155c878288016114bc565b925050606061156d878288016114bc565b91505092959194509250565b5f60608201905061158c5f8301866110f7565b611599602083018561111f565b6115a6604083018461111f565b94935050505056fea264697066735822122046730ac95bfa7072a892cd6292952be7bd69631005a5817c87269458c477fbc564736f6c63430008150033

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.