ETH Price: $1,976.65 (+0.73%)
 

Overview

Max Total Supply

100,000,000 AVM

Holders

3,827 ( 0.026%)

Transfers

-
15 ( 66.67%)

Market

Price

$0.00 @ 0.000002 ETH (-0.50%)

Onchain Market Cap

$406,339.00

Circulating Supply Market Cap

$213,368.00

Other Info

Token Contract (WITH 18 Decimals)

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

OVERVIEW

AVM is the Runtime Infrastructure for the Agent Economy: a secure, scalable compute layer that turns agent reasoning into real-world execution. Powered by MCP, it enables trustless, high-throughput code execution with zero DevOps.

Market

Volume (24H):$580.53
Market Capitalization:$213,368.00
Circulating Supply:52,504,827.00 AVM
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Token

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
// SPDX-License-Identifier: MIT
/*

         .o@8 88bu.         
     .o@8888% %*8888eu.     
 .o@8888%"       ^%*8888eu  
8888R"      AVM       "%8888 
"*8888bu.          .o8888R% 
   ^"*8888bu.  .o8888R%"    
       ^%*888 8888%"        
           ^% %"    

https://avm.codes                           
*/

pragma solidity ^0.8.28;
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";

contract Token is ERC20, Ownable {
    uint256 public immutable MAX_SUPPLY;
    address public immutable pair;
    address public treasury;

    IUniswapV2Router02 private constant _router =
        IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    address private immutable _weth;
    address private immutable _deployer;

    uint256 public startBlock;
    uint256 public startBlockTime;
    uint256 private raiseAmount;

    mapping(address account => bool) public isExcludedFromFees;
    mapping(address account => bool) public isExcludedFromMaxWallet;
    mapping(address origin => mapping(uint256 blockNumber => uint256 txCount))
        public maxBuyTxsPerBlockPerOrigin;
    uint256 private _maxBuyTxsPerBlockPerOrigin = 10;
    mapping(uint256 blockNumber => uint256 txCount) public maxBuyTxsPerBlock;
    uint256 private _maxBuyTxsPerBlock = 100;

    constructor(
        string memory name,
        string memory symbol,
        uint256 maxSupply,
        address _treasury
    ) ERC20(name, symbol) Ownable(msg.sender) {
        MAX_SUPPLY = maxSupply;
        _weth = _router.WETH();

        pair = IUniswapV2Factory(_router.factory()).createPair(
            address(this),
            _weth
        );

        isExcludedFromFees[msg.sender] = true;
        isExcludedFromFees[address(this)] = true;
        isExcludedFromFees[pair] = true;
        isExcludedFromFees[treasury] = true;
        isExcludedFromMaxWallet[msg.sender] = true;
        isExcludedFromMaxWallet[address(this)] = true;
        isExcludedFromMaxWallet[pair] = true;
        isExcludedFromMaxWallet[treasury] = true;

        _mint(msg.sender, maxSupply);
        _approve(msg.sender, address(_router), type(uint256).max);

        treasury = _treasury;
        _deployer = msg.sender;
        _approve(address(this), address(_router), type(uint256).max);
    }

    function setTreasury(address newTreasury) external {
        require(newTreasury != address(0), "treasury-is-0");
        require(
            msg.sender == _deployer || msg.sender == owner(),
            "only-deployer"
        );
        treasury = newTreasury;
    }

    function enableTrading() external onlyOwner {
        require(startBlock == 0, "trading-already-enabled");
        startBlock = block.number;
        startBlockTime = block.timestamp;
    }

    function setExcludedFromFees(
        address account,
        bool excluded
    ) external onlyOwner {
        isExcludedFromFees[account] = excluded;
    }

    function setExcludedFromMaxWallet(
        address account,
        bool excluded
    ) external onlyOwner {
        isExcludedFromMaxWallet[account] = excluded;
    }

    function feesAndMaxWallet()
        external
        view
        returns (uint256 _feeBps, uint256 _maxWallet)
    {
        return _feesAndMaxWallet();
    }

    function _feesAndMaxWallet()
        internal
        view
        returns (uint256 _feeBps, uint256 _maxWallet)
    {
        if (startBlockTime == 0) {
            return (0, 0);
        }
        uint256 _diffSeconds = block.timestamp - startBlockTime;

        if (_diffSeconds < 3600) {
            // 1 min
            if (_diffSeconds < 60) {
                _feeBps = 4000; // 40%
                _maxWallet = MAX_SUPPLY / 1000; // 0.1%
                return (_feeBps, _maxWallet);
            }
            // 2-5 min
            if (_diffSeconds < 300) {
                _feeBps = 3000; // 30%
                _maxWallet = MAX_SUPPLY / 666; // 0.15%
                return (_feeBps, _maxWallet);
            }
            // 6-8 min
            if (_diffSeconds < 480) {
                _feeBps = 2000; // 20%
                _maxWallet = MAX_SUPPLY / 500; // 0.2%
                return (_feeBps, _maxWallet);
            }

            if (_diffSeconds < 900) {
                // 9-15 min
                _feeBps = 1000; // 10%
                _maxWallet = MAX_SUPPLY / 333; // 0.3%
                return (_feeBps, _maxWallet);
            }

            _feeBps = 400; // 4%
            _maxWallet = MAX_SUPPLY / 200; // 0.5%
            return (_feeBps, _maxWallet);
        }

        if (raiseAmount < 500 ether) {
            _feeBps = 400; // 4%;
        } else if (raiseAmount < 700 ether) {
            _feeBps = 300; // 3%;
        } else if (raiseAmount < 900 ether) {
            _feeBps = 200; // 2%;
        } else {
            _feeBps = 0; // 0%;
        }
        _maxWallet = MAX_SUPPLY; // no limit
        return (_feeBps, _maxWallet);
    }

    function _update(
        address from,
        address to,
        uint256 value
    ) internal override {
        (uint256 _feeBps, uint256 _maxWallet) = _feesAndMaxWallet();

        bool isBuy = from == pair;
        if (isBuy || to == pair) {
            require(
                startBlock > 0 || isExcludedFromFees[to],
                "trading-not-enabled"
            );

            if (_feeBps != 0) {
                if (isBuy && !isExcludedFromFees[to]) {
                    if (
                        startBlockTime > 0 &&
                        block.timestamp - startBlockTime < 180
                    ) {
                        require(
                            maxBuyTxsPerBlockPerOrigin[tx.origin][
                                block.number
                            ] < _maxBuyTxsPerBlockPerOrigin,
                            "max-buy-txs-per-block-per-origin-exceeded"
                        );
                        maxBuyTxsPerBlockPerOrigin[tx.origin][block.number]++;

                        require(
                            maxBuyTxsPerBlock[block.number] <
                                _maxBuyTxsPerBlock,
                            "max-buy-txs-per-block-exceeded"
                        );
                        maxBuyTxsPerBlock[block.number]++;
                    }

                    uint256 fee = (value * _feeBps) / 10000;
                    value -= fee;
                    super._update(from, address(this), fee);
                }

                if (!isBuy && !isExcludedFromFees[from]) {
                    uint256 fee = (value * _feeBps) / 10000;
                    value -= fee;
                    super._update(from, address(this), fee);
                    _swapTokensForEth();
                }
            } else {
                // sell any remaining tokens after cap is reached
                if (!isBuy && !isExcludedFromFees[from]) {
                    _swapTokensForEth();
                }
            }
        }

        require(
            isExcludedFromMaxWallet[to] || value + balanceOf(to) <= _maxWallet,
            "max-wallet-size-exceeded"
        );
        super._update(from, to, value);
    }

    function _swapTokensForEth() internal {
        uint256 startDiff = block.timestamp - startBlockTime;
        if (startDiff < 300) {
            return;
        }

        uint256 _tokenAmount = balanceOf(address(this));

        if (_tokenAmount == 0) {
            return;
        }

        address[] memory _path = new address[](2);
        _path[0] = _weth;
        _path[1] = address(this);

        // sell max 1 eth worth of tokens
        uint256 _maxTokenAmount = _router.getAmountsOut(1 ether, _path)[1];

        if (_tokenAmount > _maxTokenAmount) {
            _tokenAmount = _maxTokenAmount;
        }

        _path[0] = address(this);
        _path[1] = _weth;

        uint256 _treasuryBalanceBefore = address(treasury).balance;
        _router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            _tokenAmount,
            0,
            _path,
            treasury,
            block.timestamp
        );
        uint256 _treasuryBalanceAfter = address(treasury).balance;
        raiseAmount += _treasuryBalanceAfter - _treasuryBalanceBefore;
    }
}

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

pragma solidity ^0.8.20;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.20;

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

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC-20
 * applications.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

        emit Transfer(from, to, value);
    }

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

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

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

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

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

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

pragma solidity ^0.8.20;

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

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

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

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

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"address","name":"_treasury","type":"address"}],"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":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feesAndMaxWallet","outputs":[{"internalType":"uint256","name":"_feeBps","type":"uint256"},{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"maxBuyTxsPerBlock","outputs":[{"internalType":"uint256","name":"txCount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"origin","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"maxBuyTxsPerBlockPerOrigin","outputs":[{"internalType":"uint256","name":"txCount","type":"uint256"}],"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":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setExcludedFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTreasury","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startBlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

610100604052600a600d556064600f5534801561001b57600080fd5b506040516129a03803806129a083398101604081905261003a91610de2565b33848460036100498382610eef565b5060046100568282610eef565b5050506001600160a01b03811661008857604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b61009181610304565b5081608081815250506000805160206129808339815191526001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156100e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061010a9190610fad565b6001600160a01b031660c0526040805163c45a015560e01b815290516000805160206129808339815191529163c45a01559160048083019260209291908290030181865afa158015610160573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101849190610fad565b60c0516040516364e329cb60e11b81523060048201526001600160a01b03918216602482015291169063c9c65396906044016020604051808303816000875af11580156101d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101f99190610fad565b6001600160a01b0390811660a0819052336000818152600a602090815260408083208054600160ff1991821681179092553080865283862080548316841790558786528386208054831684179055600680548a1687528487208054841685179055878752600b909552838620805483168417905585528285208054821683179055958452818420805487168217905591549095168252939020805490921690921790556102a69083610356565b6102c133600080516020612980833981519152600019610390565b600680546001600160a01b0319166001600160a01b0383161790553360e0526102fb30600080516020612980833981519152600019610390565b505050506111ca565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166103805760405163ec442f0560e01b81526000600482015260240161007f565b61038c600083836103a2565b5050565b61039d838383600161075d565b505050565b6000806103ad610833565b60a05191935091506001600160a01b0386811691161480806103e2575060a0516001600160a01b0316856001600160a01b0316145b156106af576000600754118061041057506001600160a01b0385166000908152600a602052604090205460ff165b61045c5760405162461bcd60e51b815260206004820152601360248201527f74726164696e672d6e6f742d656e61626c656400000000000000000000000000604482015260640161007f565b821561067b5780801561048857506001600160a01b0385166000908152600a602052604090205460ff16155b1561060e5760006008541180156104ac575060b4600854426104aa9190610fe5565b105b156105da57600d54326000908152600c602090815260408083204384529091529020541061052e5760405162461bcd60e51b815260206004820152602960248201527f6d61782d6275792d7478732d7065722d626c6f636b2d7065722d6f726967696e6044820152680b595e18d95959195960ba1b606482015260840161007f565b326000908152600c60209081526040808320438452909152812080549161055483610ffe565b9091555050600f54436000908152600e6020526040902054106105b95760405162461bcd60e51b815260206004820152601e60248201527f6d61782d6275792d7478732d7065722d626c6f636b2d65786365656465640000604482015260640161007f565b436000908152600e602052604081208054916105d483610ffe565b91905055505b60006127106105e98587611017565b6105f3919061102e565b90506105ff8186610fe5565b945061060c87308361095f565b505b8015801561063557506001600160a01b0386166000908152600a602052604090205460ff16155b156106765760006127106106498587611017565b610653919061102e565b905061065f8186610fe5565b945061066c87308361095f565b610674610a89565b505b6106af565b801580156106a257506001600160a01b0386166000908152600a602052604090205460ff16155b156106af576106af610a89565b6001600160a01b0385166000908152600b602052604090205460ff16806106fe5750816106f1866001600160a01b031660009081526020819052604090205490565b6106fb9086611050565b11155b61074a5760405162461bcd60e51b815260206004820152601860248201527f6d61782d77616c6c65742d73697a652d65786365656465640000000000000000604482015260640161007f565b61075586868661095f565b505050505050565b6001600160a01b0384166107875760405163e602df0560e01b81526000600482015260240161007f565b6001600160a01b0383166107b157604051634a1406b160e11b81526000600482015260240161007f565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561082d57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161082491815260200190565b60405180910390a35b50505050565b6000806008546000036108495750600091829150565b6000600854426108599190610fe5565b9050610e108110156108fb57603c81101561088a57610fa092506103e8608051610883919061102e565b9150509091565b61012c8110156108a957610bb8925061029a608051610883919061102e565b6101e08110156108c8576107d092506101f4608051610883919061102e565b6103848110156108e7576103e8925061014d608051610883919061102e565b610190925060c8608051610883919061102e565b681b1ae4d6e2ef5000006009541015610918576101909250610956565b6825f273933db570000060095410156109355761012c9250610956565b6830ca024f987b90000060095410156109515760c89250610956565b600092505b50506080519091565b6001600160a01b03831661098a57806002600082825461097f9190611050565b909155506109fc9050565b6001600160a01b038316600090815260208190526040902054818110156109dd5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161007f565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610a1857600280548290039055610a37565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610a7c91815260200190565b60405180910390a3505050565b600060085442610a999190610fe5565b905061012c811015610aa85750565b3060009081526020819052604081205490819003610ac4575050565b60408051600280825260608201835260009260208301908036833701905050905060c05181600081518110610afb57610afb611063565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110610b2f57610b2f611063565b6001600160a01b039092166020928302919091019091015260405163d06ca61f60e01b81526000906000805160206129808339815191529063d06ca61f90610b8590670de0b6b3a76400009086906004016110be565b600060405180830381865afa158015610ba2573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610bca91908101906110df565b600181518110610bdc57610bdc611063565b6020026020010151905080831115610bf2578092505b3082600081518110610c0657610c06611063565b60200260200101906001600160a01b031690816001600160a01b03168152505060c05182600181518110610c3c57610c3c611063565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291168031916000805160206129808339815191529163791ac94791610c929188916000918991429060040161118e565b600060405180830381600087803b158015610cac57600080fd5b505af1158015610cc0573d6000803e3d6000fd5b50506006546001600160a01b0316319150610cdd90508282610fe5565b60096000828254610cee9190611050565b9091555050505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715610d3957610d39610cfb565b604052919050565b600082601f830112610d5257600080fd5b81516001600160401b03811115610d6b57610d6b610cfb565b610d7e601f8201601f1916602001610d11565b818152846020838601011115610d9357600080fd5b60005b82811015610db257602081860181015183830182015201610d96565b506000918101602001919091529392505050565b80516001600160a01b0381168114610ddd57600080fd5b919050565b60008060008060808587031215610df857600080fd5b84516001600160401b03811115610e0e57600080fd5b610e1a87828801610d41565b602087015190955090506001600160401b03811115610e3857600080fd5b610e4487828801610d41565b60408701519094509250610e5c905060608601610dc6565b905092959194509250565b600181811c90821680610e7b57607f821691505b602082108103610e9b57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111561039d57806000526020600020601f840160051c81016020851015610ec85750805b601f840160051c820191505b81811015610ee85760008155600101610ed4565b5050505050565b81516001600160401b03811115610f0857610f08610cfb565b610f1c81610f168454610e67565b84610ea1565b6020601f821160018114610f505760008315610f385750848201515b600019600385901b1c1916600184901b178455610ee8565b600084815260208120601f198516915b82811015610f805787850151825560209485019460019092019101610f60565b5084821015610f9e5786840151600019600387901b60f8161c191681555b50505050600190811b01905550565b600060208284031215610fbf57600080fd5b610fc882610dc6565b9392505050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610ff857610ff8610fcf565b92915050565b60006001820161101057611010610fcf565b5060010190565b8082028115828204841417610ff857610ff8610fcf565b60008261104b57634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115610ff857610ff8610fcf565b634e487b7160e01b600052603260045260246000fd5b600081518084526020840193506020830160005b828110156110b45781516001600160a01b031686526020958601959091019060010161108d565b5093949350505050565b8281526040602082015260006110d76040830184611079565b949350505050565b6000602082840312156110f157600080fd5b81516001600160401b0381111561110757600080fd5b8201601f8101841361111857600080fd5b80516001600160401b0381111561113157611131610cfb565b8060051b61114160208201610d11565b9182526020818401810192908101908784111561115d57600080fd5b6020850194505b8385101561118357845180835260209586019590935090910190611164565b979650505050505050565b85815284602082015260a0604082015260006111ad60a0830186611079565b6001600160a01b0394909416606083015250608001529392505050565b60805160a05160c05160e05161173e61124260003960006106630152600081816110ce015261123301526000818161039d01528181610b630152610ba1015260008181610265015281816108ec0152818161092e01528181610969015281816109a4015281816109d40152610a55015261173e6000f3fe608060405234801561001057600080fd5b506004361061018e5760003560e01c806361d027b3116100de57806395d89b4111610097578063a9059cbb11610071578063a9059cbb146103bf578063dd62ed3e146103d2578063f0f442601461040b578063f2fde38b1461041e57600080fd5b806395d89b4114610373578063a25ba1831461037b578063a8aa1b311461039857600080fd5b806361d027b3146102db5780636dd3d39f1461030657806370a0823114610329578063715018a6146103525780638a8c523c1461035a5780638da5cb5b1461036257600080fd5b806323b872dd1161014b5780634122010411610125578063412201041461028757806348cd4cb11461029c5780634fbee193146102a5578063590ffdce146102c857600080fd5b806323b872dd1461023e578063313ce5671461025157806332cb6b0c1461026057600080fd5b806306fdde0314610193578063095ea7b3146101b15780630c18d4ce146101d45780630fe3fe7d146101eb57806318160ddd1461021657806321b024861461021e575b600080fd5b61019b610431565b6040516101a8919061132a565b60405180910390f35b6101c46101bf366004611394565b6104c3565b60405190151581526020016101a8565b6101dd60085481565b6040519081526020016101a8565b6101dd6101f9366004611394565b600c60209081526000928352604080842090915290825290205481565b6002546101dd565b6101dd61022c3660046113be565b600e6020526000908152604090205481565b6101c461024c3660046113d7565b6104dd565b604051601281526020016101a8565b6101dd7f000000000000000000000000000000000000000000000000000000000000000081565b61029a610295366004611414565b610501565b005b6101dd60075481565b6101c46102b3366004611450565b600a6020526000908152604090205460ff1681565b61029a6102d6366004611414565b610534565b6006546102ee906001600160a01b031681565b6040516001600160a01b0390911681526020016101a8565b6101c4610314366004611450565b600b6020526000908152604090205460ff1681565b6101dd610337366004611450565b6001600160a01b031660009081526020819052604090205490565b61029a610567565b61029a61057b565b6005546001600160a01b03166102ee565b61019b6105e2565b6103836105f1565b604080519283526020830191909152016101a8565b6102ee7f000000000000000000000000000000000000000000000000000000000000000081565b6101c46103cd366004611394565b610604565b6101dd6103e0366004611472565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61029a610419366004611450565b610612565b61029a61042c366004611450565b6106f7565b606060038054610440906114a5565b80601f016020809104026020016040519081016040528092919081815260200182805461046c906114a5565b80156104b95780601f1061048e576101008083540402835291602001916104b9565b820191906000526020600020905b81548152906001019060200180831161049c57829003601f168201915b5050505050905090565b6000336104d1818585610735565b60019150505b92915050565b6000336104eb858285610747565b6104f68585856107c6565b506001949350505050565b610509610825565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b61053c610825565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b61056f610825565b6105796000610852565b565b610583610825565b600754156105d85760405162461bcd60e51b815260206004820152601760248201527f74726164696e672d616c72656164792d656e61626c656400000000000000000060448201526064015b60405180910390fd5b4360075542600855565b606060048054610440906114a5565b6000806105fc6108a4565b915091509091565b6000336104d18185856107c6565b6001600160a01b0381166106585760405162461bcd60e51b815260206004820152600d60248201526c074726561737572792d69732d3609c1b60448201526064016105cf565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148061069957506005546001600160a01b031633145b6106d55760405162461bcd60e51b815260206004820152600d60248201526c37b7363c96b232b83637bcb2b960991b60448201526064016105cf565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6106ff610825565b6001600160a01b03811661072957604051631e4fbdf760e01b8152600060048201526024016105cf565b61073281610852565b50565b6107428383836001610a7b565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198110156107c057818110156107b157604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016105cf565b6107c084848484036000610a7b565b50505050565b6001600160a01b0383166107f057604051634b637e8f60e11b8152600060048201526024016105cf565b6001600160a01b03821661081a5760405163ec442f0560e01b8152600060048201526024016105cf565b610742838383610b50565b6005546001600160a01b031633146105795760405163118cdaa760e01b81523360048201526024016105cf565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000806008546000036108ba5750600091829150565b6000600854426108ca91906114f5565b9050610e108110156109f857603c81101561091757610fa092506109106103e87f0000000000000000000000000000000000000000000000000000000000000000611508565b9150509091565b61012c81101561095257610bb8925061091061029a7f0000000000000000000000000000000000000000000000000000000000000000611508565b6101e081101561098d576107d092506109106101f47f0000000000000000000000000000000000000000000000000000000000000000611508565b6103848110156109c8576103e8925061091061014d7f0000000000000000000000000000000000000000000000000000000000000000611508565b610190925061091060c87f0000000000000000000000000000000000000000000000000000000000000000611508565b681b1ae4d6e2ef5000006009541015610a15576101909250610a53565b6825f273933db57000006009541015610a325761012c9250610a53565b6830ca024f987b9000006009541015610a4e5760c89250610a53565b600092505b7f00000000000000000000000000000000000000000000000000000000000000009150509091565b6001600160a01b038416610aa55760405163e602df0560e01b8152600060048201526024016105cf565b6001600160a01b038316610acf57604051634a1406b160e11b8152600060048201526024016105cf565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156107c057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610b4291815260200190565b60405180910390a350505050565b600080610b5b6108a4565b9150915060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b03161490508080610bd557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316145b15610e985760006007541180610c0357506001600160a01b0385166000908152600a602052604090205460ff165b610c455760405162461bcd60e51b81526020600482015260136024820152721d1c98591a5b99cb5b9bdd0b595b98589b1959606a1b60448201526064016105cf565b8215610e6457808015610c7157506001600160a01b0385166000908152600a602052604090205460ff16155b15610df7576000600854118015610c95575060b460085442610c9391906114f5565b105b15610dc357600d54326000908152600c6020908152604080832043845290915290205410610d175760405162461bcd60e51b815260206004820152602960248201527f6d61782d6275792d7478732d7065722d626c6f636b2d7065722d6f726967696e6044820152680b595e18d95959195960ba1b60648201526084016105cf565b326000908152600c602090815260408083204384529091528120805491610d3d8361152a565b9091555050600f54436000908152600e602052604090205410610da25760405162461bcd60e51b815260206004820152601e60248201527f6d61782d6275792d7478732d7065722d626c6f636b2d6578636565646564000060448201526064016105cf565b436000908152600e60205260408120805491610dbd8361152a565b91905055505b6000612710610dd28587611543565b610ddc9190611508565b9050610de881866114f5565b9450610df5873083610f46565b505b80158015610e1e57506001600160a01b0386166000908152600a602052604090205460ff16155b15610e5f576000612710610e328587611543565b610e3c9190611508565b9050610e4881866114f5565b9450610e55873083610f46565b610e5d611070565b505b610e98565b80158015610e8b57506001600160a01b0386166000908152600a602052604090205460ff16155b15610e9857610e98611070565b6001600160a01b0385166000908152600b602052604090205460ff1680610ee7575081610eda866001600160a01b031660009081526020819052604090205490565b610ee4908661155a565b11155b610f335760405162461bcd60e51b815260206004820152601860248201527f6d61782d77616c6c65742d73697a652d6578636565646564000000000000000060448201526064016105cf565b610f3e868686610f46565b505050505050565b6001600160a01b038316610f71578060026000828254610f66919061155a565b90915550610fe39050565b6001600160a01b03831660009081526020819052604090205481811015610fc45760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016105cf565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610fff5760028054829003905561101e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161106391815260200190565b60405180910390a3505050565b60006008544261108091906114f5565b905061012c81101561108f5750565b30600090815260208190526040812054908190036110ab575050565b6040805160028082526060820183526000926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061110057611100611583565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061113457611134611583565b6001600160a01b039092166020928302919091019091015260405163d06ca61f60e01b8152600090737a250d5630b4cf539739df2c5dacb4c659f2488d9063d06ca61f9061119090670de0b6b3a76400009086906004016115de565b600060405180830381865afa1580156111ad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111d591908101906115ff565b6001815181106111e7576111e7611583565b60200260200101519050808311156111fd578092505b308260008151811061121157611211611583565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008260018151811061126557611265611583565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b81529116803191737a250d5630b4cf539739df2c5dacb4c659f2488d9163791ac947916112c1918891600091899142906004016116cc565b600060405180830381600087803b1580156112db57600080fd5b505af11580156112ef573d6000803e3d6000fd5b50506006546001600160a01b031631915061130c905082826114f5565b6009600082825461131d919061155a565b9091555050505050505050565b602081526000825180602084015260005b81811015611358576020818601810151604086840101520161133b565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461138f57600080fd5b919050565b600080604083850312156113a757600080fd5b6113b083611378565b946020939093013593505050565b6000602082840312156113d057600080fd5b5035919050565b6000806000606084860312156113ec57600080fd5b6113f584611378565b925061140360208501611378565b929592945050506040919091013590565b6000806040838503121561142757600080fd5b61143083611378565b91506020830135801515811461144557600080fd5b809150509250929050565b60006020828403121561146257600080fd5b61146b82611378565b9392505050565b6000806040838503121561148557600080fd5b61148e83611378565b915061149c60208401611378565b90509250929050565b600181811c908216806114b957607f821691505b6020821081036114d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156104d7576104d76114df565b60008261152557634e487b7160e01b600052601260045260246000fd5b500490565b60006001820161153c5761153c6114df565b5060010190565b80820281158282048414176104d7576104d76114df565b808201808211156104d7576104d76114df565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020840193506020830160005b828110156115d45781516001600160a01b03168652602095860195909101906001016115ad565b5093949350505050565b8281526040602082015260006115f76040830184611599565b949350505050565b60006020828403121561161157600080fd5b815167ffffffffffffffff81111561162857600080fd5b8201601f8101841361163957600080fd5b805167ffffffffffffffff8111156116535761165361156d565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156116805761168061156d565b60405291825260208184018101929081018784111561169e57600080fd5b6020850194505b838510156116c1578451808252602095860195909350016116a5565b509695505050505050565b85815284602082015260a0604082015260006116eb60a0830186611599565b6001600160a01b039490941660608301525060800152939250505056fea26469706673582212203bd4096f0edc0796963f19394847d8842e4026da0ce3604ea3957c1bf718717964736f6c634300081c00330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000052b7d2dcc80cd2e4000000000000000000000000000000946bd1d4e64c1f9bf34d36e72f78aeb3cad4bba200000000000000000000000000000000000000000000000000000000000000164167656e7473205669727475616c204d616368696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000341564d0000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018e5760003560e01c806361d027b3116100de57806395d89b4111610097578063a9059cbb11610071578063a9059cbb146103bf578063dd62ed3e146103d2578063f0f442601461040b578063f2fde38b1461041e57600080fd5b806395d89b4114610373578063a25ba1831461037b578063a8aa1b311461039857600080fd5b806361d027b3146102db5780636dd3d39f1461030657806370a0823114610329578063715018a6146103525780638a8c523c1461035a5780638da5cb5b1461036257600080fd5b806323b872dd1161014b5780634122010411610125578063412201041461028757806348cd4cb11461029c5780634fbee193146102a5578063590ffdce146102c857600080fd5b806323b872dd1461023e578063313ce5671461025157806332cb6b0c1461026057600080fd5b806306fdde0314610193578063095ea7b3146101b15780630c18d4ce146101d45780630fe3fe7d146101eb57806318160ddd1461021657806321b024861461021e575b600080fd5b61019b610431565b6040516101a8919061132a565b60405180910390f35b6101c46101bf366004611394565b6104c3565b60405190151581526020016101a8565b6101dd60085481565b6040519081526020016101a8565b6101dd6101f9366004611394565b600c60209081526000928352604080842090915290825290205481565b6002546101dd565b6101dd61022c3660046113be565b600e6020526000908152604090205481565b6101c461024c3660046113d7565b6104dd565b604051601281526020016101a8565b6101dd7f00000000000000000000000000000000000000000052b7d2dcc80cd2e400000081565b61029a610295366004611414565b610501565b005b6101dd60075481565b6101c46102b3366004611450565b600a6020526000908152604090205460ff1681565b61029a6102d6366004611414565b610534565b6006546102ee906001600160a01b031681565b6040516001600160a01b0390911681526020016101a8565b6101c4610314366004611450565b600b6020526000908152604090205460ff1681565b6101dd610337366004611450565b6001600160a01b031660009081526020819052604090205490565b61029a610567565b61029a61057b565b6005546001600160a01b03166102ee565b61019b6105e2565b6103836105f1565b604080519283526020830191909152016101a8565b6102ee7f000000000000000000000000bad81f60d0aa69ae15f9ef5232f438068a39f26081565b6101c46103cd366004611394565b610604565b6101dd6103e0366004611472565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61029a610419366004611450565b610612565b61029a61042c366004611450565b6106f7565b606060038054610440906114a5565b80601f016020809104026020016040519081016040528092919081815260200182805461046c906114a5565b80156104b95780601f1061048e576101008083540402835291602001916104b9565b820191906000526020600020905b81548152906001019060200180831161049c57829003601f168201915b5050505050905090565b6000336104d1818585610735565b60019150505b92915050565b6000336104eb858285610747565b6104f68585856107c6565b506001949350505050565b610509610825565b6001600160a01b03919091166000908152600b60205260409020805460ff1916911515919091179055565b61053c610825565b6001600160a01b03919091166000908152600a60205260409020805460ff1916911515919091179055565b61056f610825565b6105796000610852565b565b610583610825565b600754156105d85760405162461bcd60e51b815260206004820152601760248201527f74726164696e672d616c72656164792d656e61626c656400000000000000000060448201526064015b60405180910390fd5b4360075542600855565b606060048054610440906114a5565b6000806105fc6108a4565b915091509091565b6000336104d18185856107c6565b6001600160a01b0381166106585760405162461bcd60e51b815260206004820152600d60248201526c074726561737572792d69732d3609c1b60448201526064016105cf565b336001600160a01b037f000000000000000000000000cf2e98df46fd6785ad01bd40eff78db325466c0f16148061069957506005546001600160a01b031633145b6106d55760405162461bcd60e51b815260206004820152600d60248201526c37b7363c96b232b83637bcb2b960991b60448201526064016105cf565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6106ff610825565b6001600160a01b03811661072957604051631e4fbdf760e01b8152600060048201526024016105cf565b61073281610852565b50565b6107428383836001610a7b565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198110156107c057818110156107b157604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016105cf565b6107c084848484036000610a7b565b50505050565b6001600160a01b0383166107f057604051634b637e8f60e11b8152600060048201526024016105cf565b6001600160a01b03821661081a5760405163ec442f0560e01b8152600060048201526024016105cf565b610742838383610b50565b6005546001600160a01b031633146105795760405163118cdaa760e01b81523360048201526024016105cf565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000806008546000036108ba5750600091829150565b6000600854426108ca91906114f5565b9050610e108110156109f857603c81101561091757610fa092506109106103e87f00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000611508565b9150509091565b61012c81101561095257610bb8925061091061029a7f00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000611508565b6101e081101561098d576107d092506109106101f47f00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000611508565b6103848110156109c8576103e8925061091061014d7f00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000611508565b610190925061091060c87f00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000611508565b681b1ae4d6e2ef5000006009541015610a15576101909250610a53565b6825f273933db57000006009541015610a325761012c9250610a53565b6830ca024f987b9000006009541015610a4e5760c89250610a53565b600092505b7f00000000000000000000000000000000000000000052b7d2dcc80cd2e40000009150509091565b6001600160a01b038416610aa55760405163e602df0560e01b8152600060048201526024016105cf565b6001600160a01b038316610acf57604051634a1406b160e11b8152600060048201526024016105cf565b6001600160a01b03808516600090815260016020908152604080832093871683529290522082905580156107c057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610b4291815260200190565b60405180910390a350505050565b600080610b5b6108a4565b9150915060007f000000000000000000000000bad81f60d0aa69ae15f9ef5232f438068a39f2606001600160a01b0316866001600160a01b03161490508080610bd557507f000000000000000000000000bad81f60d0aa69ae15f9ef5232f438068a39f2606001600160a01b0316856001600160a01b0316145b15610e985760006007541180610c0357506001600160a01b0385166000908152600a602052604090205460ff165b610c455760405162461bcd60e51b81526020600482015260136024820152721d1c98591a5b99cb5b9bdd0b595b98589b1959606a1b60448201526064016105cf565b8215610e6457808015610c7157506001600160a01b0385166000908152600a602052604090205460ff16155b15610df7576000600854118015610c95575060b460085442610c9391906114f5565b105b15610dc357600d54326000908152600c6020908152604080832043845290915290205410610d175760405162461bcd60e51b815260206004820152602960248201527f6d61782d6275792d7478732d7065722d626c6f636b2d7065722d6f726967696e6044820152680b595e18d95959195960ba1b60648201526084016105cf565b326000908152600c602090815260408083204384529091528120805491610d3d8361152a565b9091555050600f54436000908152600e602052604090205410610da25760405162461bcd60e51b815260206004820152601e60248201527f6d61782d6275792d7478732d7065722d626c6f636b2d6578636565646564000060448201526064016105cf565b436000908152600e60205260408120805491610dbd8361152a565b91905055505b6000612710610dd28587611543565b610ddc9190611508565b9050610de881866114f5565b9450610df5873083610f46565b505b80158015610e1e57506001600160a01b0386166000908152600a602052604090205460ff16155b15610e5f576000612710610e328587611543565b610e3c9190611508565b9050610e4881866114f5565b9450610e55873083610f46565b610e5d611070565b505b610e98565b80158015610e8b57506001600160a01b0386166000908152600a602052604090205460ff16155b15610e9857610e98611070565b6001600160a01b0385166000908152600b602052604090205460ff1680610ee7575081610eda866001600160a01b031660009081526020819052604090205490565b610ee4908661155a565b11155b610f335760405162461bcd60e51b815260206004820152601860248201527f6d61782d77616c6c65742d73697a652d6578636565646564000000000000000060448201526064016105cf565b610f3e868686610f46565b505050505050565b6001600160a01b038316610f71578060026000828254610f66919061155a565b90915550610fe39050565b6001600160a01b03831660009081526020819052604090205481811015610fc45760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016105cf565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610fff5760028054829003905561101e565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161106391815260200190565b60405180910390a3505050565b60006008544261108091906114f5565b905061012c81101561108f5750565b30600090815260208190526040812054908190036110ab575050565b6040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28160008151811061110057611100611583565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061113457611134611583565b6001600160a01b039092166020928302919091019091015260405163d06ca61f60e01b8152600090737a250d5630b4cf539739df2c5dacb4c659f2488d9063d06ca61f9061119090670de0b6b3a76400009086906004016115de565b600060405180830381865afa1580156111ad573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f191682016040526111d591908101906115ff565b6001815181106111e7576111e7611583565b60200260200101519050808311156111fd578092505b308260008151811061121157611211611583565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc28260018151811061126557611265611583565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b81529116803191737a250d5630b4cf539739df2c5dacb4c659f2488d9163791ac947916112c1918891600091899142906004016116cc565b600060405180830381600087803b1580156112db57600080fd5b505af11580156112ef573d6000803e3d6000fd5b50506006546001600160a01b031631915061130c905082826114f5565b6009600082825461131d919061155a565b9091555050505050505050565b602081526000825180602084015260005b81811015611358576020818601810151604086840101520161133b565b506000604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b038116811461138f57600080fd5b919050565b600080604083850312156113a757600080fd5b6113b083611378565b946020939093013593505050565b6000602082840312156113d057600080fd5b5035919050565b6000806000606084860312156113ec57600080fd5b6113f584611378565b925061140360208501611378565b929592945050506040919091013590565b6000806040838503121561142757600080fd5b61143083611378565b91506020830135801515811461144557600080fd5b809150509250929050565b60006020828403121561146257600080fd5b61146b82611378565b9392505050565b6000806040838503121561148557600080fd5b61148e83611378565b915061149c60208401611378565b90509250929050565b600181811c908216806114b957607f821691505b6020821081036114d957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b818103818111156104d7576104d76114df565b60008261152557634e487b7160e01b600052601260045260246000fd5b500490565b60006001820161153c5761153c6114df565b5060010190565b80820281158282048414176104d7576104d76114df565b808201808211156104d7576104d76114df565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020840193506020830160005b828110156115d45781516001600160a01b03168652602095860195909101906001016115ad565b5093949350505050565b8281526040602082015260006115f76040830184611599565b949350505050565b60006020828403121561161157600080fd5b815167ffffffffffffffff81111561162857600080fd5b8201601f8101841361163957600080fd5b805167ffffffffffffffff8111156116535761165361156d565b8060051b604051601f19603f830116810181811067ffffffffffffffff821117156116805761168061156d565b60405291825260208184018101929081018784111561169e57600080fd5b6020850194505b838510156116c1578451808252602095860195909350016116a5565b509695505050505050565b85815284602082015260a0604082015260006116eb60a0830186611599565b6001600160a01b039490941660608301525060800152939250505056fea26469706673582212203bd4096f0edc0796963f19394847d8842e4026da0ce3604ea3957c1bf718717964736f6c634300081c0033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000052b7d2dcc80cd2e4000000000000000000000000000000946bd1d4e64c1f9bf34d36e72f78aeb3cad4bba200000000000000000000000000000000000000000000000000000000000000164167656e7473205669727475616c204d616368696e6500000000000000000000000000000000000000000000000000000000000000000000000000000000000341564d0000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Agents Virtual Machine
Arg [1] : symbol (string): AVM
Arg [2] : maxSupply (uint256): 100000000000000000000000000
Arg [3] : _treasury (address): 0x946Bd1d4e64c1F9BF34d36e72f78AEB3caD4bba2

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Arg [3] : 000000000000000000000000946bd1d4e64c1f9bf34d36e72f78aeb3cad4bba2
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [5] : 4167656e7473205669727475616c204d616368696e6500000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 41564d0000000000000000000000000000000000000000000000000000000000


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.