ETH Price: $3,345.17 (+0.90%)
 

Overview

Max Total Supply

233,808,879.070450671318738052 PREME

Holders

25,212 (0.00%)

Transfers

-
18 ( -18.18%)

Market

Price

$0.0048 @ 0.000001 ETH (+0.25%)

Onchain Market Cap

$1,129,378.72

Circulating Supply Market Cap

$791,277.00

Other Info

Token Contract (WITH 18 Decimals)

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

OVERVIEW

PREME - Innovate, grow, and own your future on-chain! We help businesses and creators thrive with Token & NFT creation and Web3 solutions.

Market

Volume (24H):$10,177.91
Market Capitalization:$791,277.00
Circulating Supply:163,808,879.00 PREME
Market Data Source: Coinmarketcap

Contract Source Code Verified (Exact Match)

Contract Name:
PREME

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Audited
// SPDX-License-Identifier: MIT
pragma solidity 0.8.20;

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

// Interface for interacting with V2 router contract
interface IRouter {
    function factory() external pure returns (address);

    function swapExactTokensForETH(
        uint amountIn,
        uint amountOutMin,
        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);
}

// Interface for interacting with factory contract
interface IFactory {
    function getPair(
        address tokenA,
        address tokenB
    ) external view returns (address pair);
}

// Interface for interacting with pair contract
interface Pair{
    function token0() external view returns (address);
    function token1() external view returns (address);
}

contract PREME is ERC20Burnable, Ownable {
    constructor(
        uint256 initialSupply,
        uint16 initialTeamTax,
        uint16 initialNftTax,
        uint16 initialBurnTax,
        uint256 initialThresholdForBurn,
        uint8 initialSwapAtPercentage,
        address initialTeamWallet,
        address initialNftWallet
    )
    ERC20("PREME Token", "PREME")
    Ownable(msg.sender)
    {
        BURN_HELPER = address(new BurnHelper(address(this)));
        _mint(msg.sender, initialSupply * 10 ** 18);
        setSwapAtPercentage(initialSwapAtPercentage);
        setTax(
            initialTeamTax,
            initialNftTax,
            initialBurnTax,
            initialThresholdForBurn
        );
        setExcludedFromTaxStatus(msg.sender, true);
        setTeamWallet(initialTeamWallet);
        setNftWallet(initialNftWallet);
        _approve(address(this), address(ROUTER), ~uint256(0));
    }

    mapping (address => bool) public isPair;
    mapping (address => bool) public isExcludedFromTax;
    // WETH contract
    address private constant WETH = 
        0x4200000000000000000000000000000000000006;
    // UniSwap RouterV2
    IRouter public constant ROUTER =
        IRouter(0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24);
    address public immutable BURN_HELPER;
    address payable public teamWallet;
    address public nftWallet;
    address public swapPair;
    uint256 public collectedForBurn;
    uint256 public thresholdForBurn;
    uint16 public totalTax;
    uint16 public teamTax;
    uint16 public nftTax;
    uint16 public burnTax;
    uint8 public swapAtPercentage;
    bool inSwapAndLiquify;
    
    modifier lockTheSwap {
        inSwapAndLiquify = true;
        _;
        inSwapAndLiquify = false;
    } 

    event SetTax(
        uint16 indexed teamTax,
        uint16 indexed nftTax,
        uint16 indexed burnTax,
        uint256 thresholdForBurn
    );
    event FailedToSwap(address indexed recipient, uint256 amount);
    event FailedToPayout(address indexed payoutAddress);
    event SetSwapAtPercentage(uint8 indexed swapAtPercentage);
    event SetTeamWallet(address indexed teamWallet);
    event SetNftWallet(address indexed nftWallet);
    event SetPair(address indexed pair, bool indexed value);
    event SetExcludeFromTaxStatus(
        address indexed account,
        bool indexed isExcluded
    );

    function _update(
        address from,
        address to,
        uint256 value
    ) internal override {
        if (!inSwapAndLiquify) {
            if (totalTax != 0) {
                if (!(isExcludedFromTax[from] || isExcludedFromTax[to])) {
                    if (isPair[to] || isPair[from]) {
                        if (
                            balanceOf(address(this)) > balanceOf(swapPair) *
                                swapAtPercentage / 10000 &&
                            isPair[to]
                        ) handleTax();
                        uint256 extraFee = value * totalTax / 10000;
                        super._update(from, address(this), extraFee);
                        value -= extraFee;
                    }
                } else {
                    if (swapPair == address(0)) setSwapPair();
                }
            }
        }    
        super._update(from, to, value);
    }

    // Private function to handle and distribute the collected tax
    function handleTax() private {
        (uint16 _teamTax, uint16 _burnTax, uint16 _nftTax, uint16 _totalTax) =
            (teamTax, burnTax, nftTax, totalTax);
        uint16 swapTax = _teamTax + _burnTax;
        uint256 balanceContract = balanceOf(address(this));
        uint256 nftAmount =
            _nftTax != 0 ? balanceContract * _nftTax / _totalTax : 0;
        if (swapTax != 0){
            uint256 swapAmount = balanceContract * swapTax / _totalTax;
            uint256 balancePair = balanceOf(swapPair);
            // Check if swapAmount is higher than 1% of Pair
            if (swapAmount > balancePair / 100){
                // Set swapAmount to 1% of Pair
                swapAmount = balancePair / 100;
                // Calculate new nftAmount
                if (_nftTax != 0) nftAmount = 
                    balancePair * _nftTax / swapTax / 100;
            }
            // Burntax will be collected in ETH to allow buybacks
            swapTokensForETH(swapAmount);
            uint256 handledETH = address(this).balance - collectedForBurn;
            if (_teamTax != 0) {
                uint256 amountETH = handledETH * _teamTax / swapTax;
                (bool succeed, ) = teamWallet.call{value: amountETH}('');
                // If transfer fails, the contract will proceed
                if (!succeed) emit FailedToPayout (teamWallet);
            }
            if (_burnTax != 0) {
                uint256 burnAmount = handledETH * _burnTax / swapTax;
                collectedForBurn += burnAmount;
                if (collectedForBurn >= thresholdForBurn) {
                    buyAndBurnTokens();
                }
            }
        }
        if (_nftTax != 0) {
            super._update(address(this), nftWallet, nftAmount);
        }
    }

    // Private function to buy and burn tokens
    function buyAndBurnTokens() private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = WETH;
        path[1] = address(this);
        try
            ROUTER.swapExactETHForTokens{value: collectedForBurn}(
                0, 
                path,
                /* Recipient can't be the contract.
                Tokens will be swapped to burn helper */
                BURN_HELPER,
                block.timestamp
            )
        {} catch {
            // If swap fails, the contract will proceed
            emit FailedToSwap(BURN_HELPER, collectedForBurn);
            return;
        }
        // Burn tokens from burn helper
        BurnHelper(BURN_HELPER).burnTokens();
        collectedForBurn = 0;
    }

    // Private function to swap collected tax to ETH
    function swapTokensForETH(uint256 amount) private lockTheSwap {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = WETH;
        try
            ROUTER.swapExactTokensForETH(
                amount,
                0, 
                path,
                address(this),
                block.timestamp
            )
        {} catch {
            // If swap fails, the contract will proceed
            emit FailedToSwap(address(this), amount);
        } 
    }

    // Private function to set SwapPair 
    function setSwapPair() private {
        swapPair = IFactory(ROUTER.factory()).getPair(
            address(this),
            WETH
        );
        if (swapPair != address(0)) {
            isPair[swapPair] = true;
            emit SetPair(swapPair, true);
        }
    }

    // Function to set taxed pair status
    function setPair(address pair, bool value) public onlyOwner {
        require(
            isPair[pair] != value,
            "Pair is already set to this value"
        );
        // Check if address is pair of this token
        require(
            !value ||
            address(this) == Pair(pair).token0() ||
            address(this) == Pair(pair).token1(),
            "Address is not a pair of this token"
        );
        isPair[pair] = value;
        emit SetPair(pair, value);
    }

    /* Function to set the threshold for automatically swap
    (percentage of swapPair holdings max. 100 ≙ 1%) */
    function setSwapAtPercentage(uint8 newPercentage) public onlyOwner {
        require(
            newPercentage != swapAtPercentage,
            "swapAtPercentage is already set to this value"
        );
        require(
            newPercentage <= 100,
            "SwapAtPercentage can't exceed 100 (1%)"
        );
        swapAtPercentage = newPercentage;
        emit SetSwapAtPercentage(newPercentage);
    }

    // Function to set tax (max 400 ≙ 4%)
    function setTax(
        uint16 newTeamTax,
        uint16 newNftTax,
        uint16 newBurnTax,
        uint256 newThresholdForBurn
    ) public onlyOwner {
        require(
            newTeamTax + newNftTax + newBurnTax <= 400,
            "tax can't exceed 4%"
        );
        totalTax = newTeamTax + newNftTax + newBurnTax;
        teamTax = newTeamTax;
        nftTax = newNftTax;
        burnTax = newBurnTax;
        thresholdForBurn = newThresholdForBurn;
        emit SetTax(newTeamTax, newNftTax, newBurnTax, newThresholdForBurn);
    }

    // Function to set excluded from tax status
    function setExcludedFromTaxStatus(
        address account,
        bool isExcluded
    ) public onlyOwner {
        require(
            isExcludedFromTax[account] != isExcluded,
            "Account is already set to this value"
        );
        isExcludedFromTax[account] = isExcluded;
        emit SetExcludeFromTaxStatus(account, isExcluded);
    }

    // Function to set payout address for project
    function setTeamWallet(address newAddress) public onlyOwner {
        require(
            newAddress != teamWallet,
            "Team wallet is already set to this value"
        );
        teamWallet = payable(newAddress);
        emit SetTeamWallet(newAddress);
    }

    // Function to set NFT wallet
    function setNftWallet(address newAddress) public onlyOwner {
        require(
            newAddress != nftWallet,
            "Team wallet is already set to this value"
        );
        nftWallet = newAddress;
        emit SetNftWallet(newAddress);
    }

    // Function to manually swap the collected tax
    function manualSwap() external onlyOwner {
        require(
            balanceOf(address(this)) != 0,
            "No tokens available to swap"
        );
        handleTax();
    }

    // Function to manually buy back and burn
    function manualBuyAndBurn() external onlyOwner {
        require(
            collectedForBurn != 0,
            "No ETH available to buy and burn"
        );
        buyAndBurnTokens();
    }

    // To receive ETH (only during swap)
    receive() external payable { 
        require(
            inSwapAndLiquify,
            "Can't send ETH to the contract"
        );
    }
}

/* Contract to allow buybacks and collecting tokens for burn.
Holders can send tokens to this address in case they don't
know how to burn. Everyone can call the burn function. */
contract BurnHelper {
    constructor(address token)
    {TOKEN = token;}

    address public immutable TOKEN;

    event FailedToBurn(
        address indexed msgSender,
        uint256 indexed amount
    );

    function burnTokens() external {
        uint256 amount = ERC20(TOKEN).balanceOf(address(this));
        try 
            ERC20Burnable(TOKEN).burn(amount)
        {} catch {
            // If burn fails, the contract will proceed
            emit FailedToBurn(msg.sender, amount);
        } 
    }
}

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.20;

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

/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys a `value` amount of tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 value) public virtual {
        _burn(_msgSender(), value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, deducting from
     * the caller's allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `value`.
     */
    function burnFrom(address account, uint256 value) public virtual {
        _spendAllowance(account, _msgSender(), value);
        _burn(account, value);
    }
}

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

pragma solidity ^0.8.20;

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

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.2.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}.
     *
     * 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}.
     *
     * 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) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"uint256","name":"initialSupply","type":"uint256"},{"internalType":"uint16","name":"initialTeamTax","type":"uint16"},{"internalType":"uint16","name":"initialNftTax","type":"uint16"},{"internalType":"uint16","name":"initialBurnTax","type":"uint16"},{"internalType":"uint256","name":"initialThresholdForBurn","type":"uint256"},{"internalType":"uint8","name":"initialSwapAtPercentage","type":"uint8"},{"internalType":"address","name":"initialTeamWallet","type":"address"},{"internalType":"address","name":"initialNftWallet","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":"payoutAddress","type":"address"}],"name":"FailedToPayout","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FailedToSwap","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":"account","type":"address"},{"indexed":true,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"SetExcludeFromTaxStatus","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nftWallet","type":"address"}],"name":"SetNftWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint8","name":"swapAtPercentage","type":"uint8"}],"name":"SetSwapAtPercentage","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint16","name":"teamTax","type":"uint16"},{"indexed":true,"internalType":"uint16","name":"nftTax","type":"uint16"},{"indexed":true,"internalType":"uint16","name":"burnTax","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"thresholdForBurn","type":"uint256"}],"name":"SetTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"teamWallet","type":"address"}],"name":"SetTeamWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BURN_HELPER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROUTER","outputs":[{"internalType":"contract IRouter","name":"","type":"address"}],"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":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnTax","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectedForBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"manualBuyAndBurn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftTax","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"setExcludedFromTaxStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setNftWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"newPercentage","type":"uint8"}],"name":"setSwapAtPercentage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newTeamTax","type":"uint16"},{"internalType":"uint16","name":"newNftTax","type":"uint16"},{"internalType":"uint16","name":"newBurnTax","type":"uint16"},{"internalType":"uint256","name":"newThresholdForBurn","type":"uint256"}],"name":"setTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAtPercentage","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamTax","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thresholdForBurn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTax","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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"},{"stateMutability":"payable","type":"receive"}]

60a060405234801562000010575f80fd5b5060405162003ad838038062003ad883398101604081905262000033916200127d565b336040518060400160405280600b81526020016a282922a6a2902a37b5b2b760a91b815250604051806040016040528060058152602001645052454d4560d81b8152508160039081620000879190620013b3565b506004620000968282620013b3565b5050506001600160a01b038116620000c857604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000d381620001a5565b5030604051620000e39062001241565b6001600160a01b039091168152602001604051809103905ff0801580156200010d573d5f803e3d5ffd5b506001600160a01b03166080526200013933620001338a670de0b6b3a76400006200148f565b620001f6565b620001448362000232565b62000152878787876200036b565b6200015f33600162000492565b6200016a826200056c565b62000175816200061e565b6200019730734752ba5dbc23f44d87826276bf6fd6b1c372ad245f19620006d0565b5050505050505050620016d2565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620002215760405163ec442f0560e01b81525f6004820152602401620000bf565b6200022e5f8383620006e4565b5050565b6200023c6200088f565b600d5460ff68010000000000000000909104811690821603620002b85760405162461bcd60e51b815260206004820152602d60248201527f73776170417450657263656e7461676520697320616c7265616479207365742060448201526c746f20746869732076616c756560981b6064820152608401620000bf565b60648160ff1611156200031d5760405162461bcd60e51b815260206004820152602660248201527f53776170417450657263656e746167652063616e27742065786365656420313060448201526530202831252960d01b6064820152608401620000bf565b600d805460ff60401b19166801000000000000000060ff8416908102919091179091556040517fd993e88411e8d896bbbe51121e41b519b2d88b3d9af231f0ea13a5dfe0e54eac905f90a250565b620003756200088f565b61019082620003858587620014af565b620003919190620014af565b61ffff161115620003e55760405162461bcd60e51b815260206004820152601360248201527f7461782063616e277420657863656564203425000000000000000000000000006044820152606401620000bf565b81620003f28486620014af565b620003fe9190620014af565b600d805461ffff92831663ffffffff1990911617620100008784169081029190911763ffffffff60201b191664010000000087851690810261ffff60301b191691909117660100000000000094871694850217909255600c8490556040518481527f8da4d5b1d4f460c923483c696044b2dece39b83e9b0adbf2732279eccf3b50e59060200160405180910390a450505050565b6200049c6200088f565b6001600160a01b0382165f9081526007602052604090205481151560ff909116151503620005195760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792073657420746f20746869732076604482015263616c756560e01b6064820152608401620000bf565b6001600160a01b0382165f81815260076020526040808220805460ff191685151590811790915590519092917f6b8f4f35f1d56250908e430133b4145bf1bee87efd3d5ce502acfca0b8d356c991a35050565b620005766200088f565b6008546001600160a01b0390811690821603620005d55760405162461bcd60e51b815260206004820152602860248201525f8051602062003a9883398151915260448201526769732076616c756560c01b6064820152608401620000bf565b600880546001600160a01b0319166001600160a01b0383169081179091556040517fc6a5dd316fe9d0339f2769deab7e31f64c8f5b101ffd85dfc9a83dbeaf2e69da905f90a250565b620006286200088f565b6009546001600160a01b0390811690821603620006875760405162461bcd60e51b815260206004820152602860248201525f8051602062003a9883398151915260448201526769732076616c756560c01b6064820152608401620000bf565b600980546001600160a01b0319166001600160a01b0383169081179091556040517f2bee8604793dd619dadd8687d729a20168d03efcd35e3e670396fe6a35a098f6905f90a250565b620006df8383836001620008c0565b505050565b600d546901000000000000000000900460ff166200088257600d5461ffff161562000882576001600160a01b0383165f9081526007602052604090205460ff16806200074757506001600160a01b0382165f9081526007602052604090205460ff165b62000867576001600160a01b0382165f9081526006602052604090205460ff16806200078a57506001600160a01b0383165f9081526006602052604090205460ff165b156200086157600d54600a546001600160a01b03165f908152602081905260409020546127109168010000000000000000900460ff1690620007cd91906200148f565b620007d99190620014d4565b305f908152602081905260409020541180156200080d57506001600160a01b0382165f9081526006602052604090205460ff165b156200081d576200081d62000999565b600d545f9061271090620008369061ffff16846200148f565b620008429190620014d4565b90506200085184308362000c42565b6200085d8183620014f4565b9150505b62000882565b600a546001600160a01b031662000882576200088262000d71565b620006df83838362000c42565b6005546001600160a01b03163314620008be5760405163118cdaa760e01b8152336004820152602401620000bf565b565b6001600160a01b038416620008eb5760405163e602df0560e01b81525f6004820152602401620000bf565b6001600160a01b0383166200091657604051634a1406b160e11b81525f6004820152602401620000bf565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156200099357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516200098a91815260200190565b60405180910390a35b50505050565b600d5461ffff620100008204811691660100000000000081048216916401000000008204811691165f620009ce8486620014af565b305f9081526020819052604081205491925061ffff85168103620009f3575f62000a16565b8361ffff168561ffff168362000a0a91906200148f565b62000a169190620014d4565b905061ffff83161562000c14575f8461ffff168461ffff168462000a3b91906200148f565b62000a479190620014d4565b600a546001600160a01b03165f9081526020819052604090205490915062000a71606482620014d4565b82111562000ac75762000a86606482620014d4565b915061ffff87161562000ac75760648561ffff168861ffff168362000aac91906200148f565b62000ab89190620014d4565b62000ac49190620014d4565b92505b62000ad28262000eea565b5f600b544762000ae39190620014f4565b905061ffff8a161562000baf575f8661ffff168b61ffff168362000b0891906200148f565b62000b149190620014d4565b6008546040519192505f916001600160a01b039091169083908381818185875af1925050503d805f811462000b65576040519150601f19603f3d011682016040523d82523d5f602084013e62000b6a565b606091505b505090508062000bac576008546040516001600160a01b03909116907faae6f49a69d34825354babc54f6bc380b03be17523d79c360166d42e83098a54905f90a25b50505b61ffff89161562000c10575f8661ffff168a61ffff168362000bd291906200148f565b62000bde9190620014d4565b905080600b5f82825462000bf391906200150a565b9091555050600c54600b541062000c0e5762000c0e6200105e565b505b5050505b61ffff85161562000c395760095462000c399030906001600160a01b03168362000c42565b50505050505050565b6001600160a01b03831662000c70578060025f82825462000c6491906200150a565b9091555062000ce29050565b6001600160a01b0383165f908152602081905260409020548181101562000cc45760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000bf565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821662000d005760028054829003905562000d1e565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405162000d6491815260200190565b60405180910390a3505050565b734752ba5dbc23f44d87826276bf6fd6b1c372ad246001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000dc2573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000de8919062001520565b60405163e6a4390560e01b815230600482015273420000000000000000000000000000000000000660248201526001600160a01b03919091169063e6a4390590604401602060405180830381865afa15801562000e47573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000e6d919062001520565b600a80546001600160a01b0319166001600160a01b0392909216918217905515620008be57600a80546001600160a01b039081165f90815260066020526040808220805460ff19166001908117909155935490519216917ff40a563af144a84735f7f6c7c3029794b0ac17713e5f048d3fd00ed85aa4ca7a9190a3565b600d805460ff60481b191669010000000000000000001790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811062000f395762000f3962001543565b60200260200101906001600160a01b031690816001600160a01b0316815250507342000000000000000000000000000000000000068160018151811062000f845762000f8462001543565b6001600160a01b03909216602092830291909101909101526040516318cbafe560e01b8152734752ba5dbc23f44d87826276bf6fd6b1c372ad24906318cbafe59062000fdd9085905f908690309042906004016200159b565b5f604051808303815f875af19250505080156200101d57506040513d5f823e601f3d908101601f191682016040526200101a9190810190620015d8565b60015b6200104b5760405182815230905f8051602062003ab88339815191529060200160405180910390a26200104d565b505b5050600d805460ff60481b19169055565b600d805460ff60481b191669010000000000000000001790556040805160028082526060820183525f92602083019080368337019050509050734200000000000000000000000000000000000006815f81518110620010c157620010c162001543565b60200260200101906001600160a01b031690816001600160a01b0316815250503081600181518110620010f857620010f862001543565b6001600160a01b0390921660209283029190910190910152600b54608051604051637ff36ab560e01b8152734752ba5dbc23f44d87826276bf6fd6b1c372ad2492637ff36ab592909162001156915f9187919042906004016200169c565b5f6040518083038185885af1935050505080156200119757506040513d5f823e601f3d908101601f19168201604052620011949190810190620015d8565b60015b620011d9576080516001600160a01b03165f8051602062003ab8833981519152600b54604051620011ca91815260200190565b60405180910390a25062001232565b506080516001600160a01b03166308003f786040518163ffffffff1660e01b81526004015f604051808303815f87803b15801562001215575f80fd5b505af115801562001228573d5f803e3d5ffd5b50505f600b555050505b600d805460ff60481b19169055565b610291806200380783390190565b805161ffff8116811462001261575f80fd5b919050565b80516001600160a01b038116811462001261575f80fd5b5f805f805f805f80610100898b03121562001296575f80fd5b88519750620012a860208a016200124f565b9650620012b860408a016200124f565b9550620012c860608a016200124f565b94506080890151935060a089015160ff81168114620012e5575f80fd5b9250620012f560c08a0162001266565b91506200130560e08a0162001266565b90509295985092959890939650565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200133d57607f821691505b6020821081036200135c57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620006df575f81815260208120601f850160051c810160208610156200138a5750805b601f850160051c820191505b81811015620013ab5782815560010162001396565b505050505050565b81516001600160401b03811115620013cf57620013cf62001314565b620013e781620013e0845462001328565b8462001362565b602080601f8311600181146200141d575f8415620014055750858301515b5f19600386901b1c1916600185901b178555620013ab565b5f85815260208120601f198616915b828110156200144d578886015182559484019460019091019084016200142c565b50858210156200146b57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620014a957620014a96200147b565b92915050565b61ffff818116838216019080821115620014cd57620014cd6200147b565b5092915050565b5f82620014ef57634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115620014a957620014a96200147b565b80820180821115620014a957620014a96200147b565b5f6020828403121562001531575f80fd5b6200153c8262001266565b9392505050565b634e487b7160e01b5f52603260045260245ffd5b5f8151808452602080850194508084015f5b83811015620015905781516001600160a01b03168752958201959082019060010162001569565b509495945050505050565b85815284602082015260a060408201525f620015bb60a083018662001557565b6001600160a01b0394909416606083015250608001529392505050565b5f6020808385031215620015ea575f80fd5b82516001600160401b038082111562001601575f80fd5b818501915085601f83011262001615575f80fd5b8151818111156200162a576200162a62001314565b8060051b604051601f19603f8301168101818110858211171562001652576200165262001314565b60405291825284820192508381018501918883111562001670575f80fd5b938501935b82851015620016905784518452938501939285019262001675565b98975050505050505050565b848152608060208201525f620016b6608083018662001557565b6001600160a01b03949094166040830152506060015292915050565b608051612107620017005f395f818161055d0152818161143a015281816114a8015261151401526121075ff3fe60806040526004361061020a575f3560e01c80637badddc811610113578063b1e370081161009d578063e5e31b131161006d578063e5e31b13146106a4578063e796712e146106d2578063f2855785146106f1578063f2fde38b14610711578063fe85b42b14610730575f80fd5b8063b1e37008146105f4578063cb4ca63114610613578063cd5d89ca14610641578063dd62ed3e14610660575f80fd5b80638f5c2a73116100e35780638f5c2a731461054c578063932733c71461057f57806395d89b411461059f578063a9059cbb146105b3578063b03e36e0146105d2575f80fd5b80637badddc8146104dc57806386a22eff146104fb57806389e79d971461051a5780638da5cb5b1461052f575f80fd5b806342966c68116101945780635992704411610164578063599270441461043757806370a0823114610456578063715018a61461048a5780637368e9b01461049e57806379cc6790146104bd575f80fd5b806342966c68146103db57806351bc3c85146103fa57806357d1fdcd1461040e57806358eae13514610422575f80fd5b80631d4eaead116101da5780631d4eaead1461030957806323b872dd1461033d57806326991cc81461035c578063313ce5671461039357806332fe7b26146103b4575f80fd5b806306fdde0314610273578063095ea7b31461029d5780631525ff7d146102cc57806318160ddd146102eb575f80fd5b3661026f57600d54600160481b900460ff1661026d5760405162461bcd60e51b815260206004820152601e60248201527f43616e27742073656e642045544820746f2074686520636f6e7472616374000060448201526064015b60405180910390fd5b005b5f80fd5b34801561027e575f80fd5b5061028761074a565b6040516102949190611c2d565b60405180910390f35b3480156102a8575f80fd5b506102bc6102b7366004611c8c565b6107da565b6040519015158152602001610294565b3480156102d7575f80fd5b5061026d6102e6366004611cb6565b6107f3565b3480156102f6575f80fd5b506002545b604051908152602001610294565b348015610314575f80fd5b50600d5461032a90600160301b900461ffff1681565b60405161ffff9091168152602001610294565b348015610348575f80fd5b506102bc610357366004611cd8565b610872565b348015610367575f80fd5b50600a5461037b906001600160a01b031681565b6040516001600160a01b039091168152602001610294565b34801561039e575f80fd5b5060125b60405160ff9091168152602001610294565b3480156103bf575f80fd5b5061037b734752ba5dbc23f44d87826276bf6fd6b1c372ad2481565b3480156103e6575f80fd5b5061026d6103f5366004611d16565b610895565b348015610405575f80fd5b5061026d6108a2565b348015610419575f80fd5b5061026d610911565b34801561042d575f80fd5b506102fb600c5481565b348015610442575f80fd5b5060085461037b906001600160a01b031681565b348015610461575f80fd5b506102fb610470366004611cb6565b6001600160a01b03165f9081526020819052604090205490565b348015610495575f80fd5b5061026d610972565b3480156104a9575f80fd5b5061026d6104b8366004611cb6565b610983565b3480156104c8575f80fd5b5061026d6104d7366004611c8c565b610a02565b3480156104e7575f80fd5b5061026d6104f6366004611d43565b610a1b565b348015610506575f80fd5b5061026d610515366004611d8b565b610b2d565b348015610525575f80fd5b506102fb600b5481565b34801561053a575f80fd5b506005546001600160a01b031661037b565b348015610557575f80fd5b5061037b7f000000000000000000000000000000000000000000000000000000000000000081565b34801561058a575f80fd5b50600d5461032a9062010000900461ffff1681565b3480156105aa575f80fd5b50610287610d51565b3480156105be575f80fd5b506102bc6105cd366004611c8c565b610d60565b3480156105dd575f80fd5b50600d5461032a90640100000000900461ffff1681565b3480156105ff575f80fd5b5060095461037b906001600160a01b031681565b34801561061e575f80fd5b506102bc61062d366004611cb6565b60076020525f908152604090205460ff1681565b34801561064c575f80fd5b5061026d61065b366004611d8b565b610d6d565b34801561066b575f80fd5b506102fb61067a366004611dc6565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156106af575f80fd5b506102bc6106be366004611cb6565b60066020525f908152604090205460ff1681565b3480156106dd575f80fd5b5061026d6106ec366004611df2565b610e43565b3480156106fc575f80fd5b50600d546103a290600160401b900460ff1681565b34801561071c575f80fd5b5061026d61072b366004611cb6565b610f71565b34801561073b575f80fd5b50600d5461032a9061ffff1681565b60606003805461075990611e12565b80601f016020809104026020016040519081016040528092919081815260200182805461078590611e12565b80156107d05780601f106107a7576101008083540402835291602001916107d0565b820191905f5260205f20905b8154815290600101906020018083116107b357829003601f168201915b5050505050905090565b5f336107e7818585610fab565b60019150505b92915050565b6107fb610fbd565b6008546001600160a01b03908116908216036108295760405162461bcd60e51b815260040161026490611e4a565b600880546001600160a01b0319166001600160a01b0383169081179091556040517fc6a5dd316fe9d0339f2769deab7e31f64c8f5b101ffd85dfc9a83dbeaf2e69da905f90a250565b5f3361087f858285610fea565b61088a858585611066565b506001949350505050565b61089f33826110c3565b50565b6108aa610fbd565b305f908152602081905260409020545f036109075760405162461bcd60e51b815260206004820152601b60248201527f4e6f20746f6b656e7320617661696c61626c6520746f207377617000000000006044820152606401610264565b61090f6110f7565b565b610919610fbd565b600b545f0361096a5760405162461bcd60e51b815260206004820181905260248201527f4e6f2045544820617661696c61626c6520746f2062757920616e64206275726e6044820152606401610264565b61090f61136b565b61097a610fbd565b61090f5f611595565b61098b610fbd565b6009546001600160a01b03908116908216036109b95760405162461bcd60e51b815260040161026490611e4a565b600980546001600160a01b0319166001600160a01b0383169081179091556040517f2bee8604793dd619dadd8687d729a20168d03efcd35e3e670396fe6a35a098f6905f90a250565b610a0d823383610fea565b610a1782826110c3565b5050565b610a23610fbd565b61019082610a318587611ea6565b610a3b9190611ea6565b61ffff161115610a835760405162461bcd60e51b81526020600482015260136024820152727461782063616e27742065786365656420342560681b6044820152606401610264565b81610a8e8486611ea6565b610a989190611ea6565b600d805461ffff92831663ffffffff1990911617620100008784169081029190911767ffffffff00000000191664010000000087851690810267ffff000000000000191691909117600160301b94871694850217909255600c8490556040518481527f8da4d5b1d4f460c923483c696044b2dece39b83e9b0adbf2732279eccf3b50e59060200160405180910390a450505050565b610b35610fbd565b6001600160a01b0382165f9081526006602052604090205481151560ff909116151503610bae5760405162461bcd60e51b815260206004820152602160248201527f5061697220697320616c72656164792073657420746f20746869732076616c756044820152606560f81b6064820152608401610264565b801580610c2b5750816001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bf2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c169190611ec8565b6001600160a01b0316306001600160a01b0316145b80610ca65750816001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c919190611ec8565b6001600160a01b0316306001600160a01b0316145b610cfe5760405162461bcd60e51b815260206004820152602360248201527f41646472657373206973206e6f7420612070616972206f66207468697320746f60448201526235b2b760e91b6064820152608401610264565b6001600160a01b0382165f81815260066020526040808220805460ff191685151590811790915590519092917ff40a563af144a84735f7f6c7c3029794b0ac17713e5f048d3fd00ed85aa4ca7a91a35050565b60606004805461075990611e12565b5f336107e7818585611066565b610d75610fbd565b6001600160a01b0382165f9081526007602052604090205481151560ff909116151503610df05760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792073657420746f20746869732076604482015263616c756560e01b6064820152608401610264565b6001600160a01b0382165f81815260076020526040808220805460ff191685151590811790915590519092917f6b8f4f35f1d56250908e430133b4145bf1bee87efd3d5ce502acfca0b8d356c991a35050565b610e4b610fbd565b600d5460ff600160401b909104811690821603610ec05760405162461bcd60e51b815260206004820152602d60248201527f73776170417450657263656e7461676520697320616c7265616479207365742060448201526c746f20746869732076616c756560981b6064820152608401610264565b60648160ff161115610f235760405162461bcd60e51b815260206004820152602660248201527f53776170417450657263656e746167652063616e27742065786365656420313060448201526530202831252960d01b6064820152608401610264565b600d805468ff00000000000000001916600160401b60ff8416908102919091179091556040517fd993e88411e8d896bbbe51121e41b519b2d88b3d9af231f0ea13a5dfe0e54eac905f90a250565b610f79610fbd565b6001600160a01b038116610fa257604051631e4fbdf760e01b81525f6004820152602401610264565b61089f81611595565b610fb883838360016115e6565b505050565b6005546001600160a01b0316331461090f5760405163118cdaa760e01b8152336004820152602401610264565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811015611060578181101561105257604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610264565b61106084848484035f6115e6565b50505050565b6001600160a01b03831661108f57604051634b637e8f60e11b81525f6004820152602401610264565b6001600160a01b0382166110b85760405163ec442f0560e01b81525f6004820152602401610264565b610fb88383836116b8565b6001600160a01b0382166110ec57604051634b637e8f60e11b81525f6004820152602401610264565b610a17825f836116b8565b600d5461ffff620100008204811691600160301b81048216916401000000008204811691165f6111278486611ea6565b305f9081526020819052604081205491925061ffff8516810361114a575f611169565b8361ffff168561ffff168361115f9190611ee3565b6111699190611efa565b905061ffff831615611340575f8461ffff168461ffff168461118b9190611ee3565b6111959190611efa565b600a546001600160a01b03165f908152602081905260409020549091506111bd606482611efa565b821115611209576111cf606482611efa565b915061ffff8716156112095760648561ffff168861ffff16836111f29190611ee3565b6111fc9190611efa565b6112069190611efa565b92505b6112128261183c565b5f600b54476112219190611f19565b905061ffff8a16156112e5575f8661ffff168b61ffff16836112439190611ee3565b61124d9190611efa565b6008546040519192505f916001600160a01b039091169083908381818185875af1925050503d805f811461129c576040519150601f19603f3d011682016040523d82523d5f602084013e6112a1565b606091505b50509050806112e2576008546040516001600160a01b03909116907faae6f49a69d34825354babc54f6bc380b03be17523d79c360166d42e83098a54905f90a25b50505b61ffff89161561133c575f8661ffff168a61ffff16836113059190611ee3565b61130f9190611efa565b905080600b5f8282546113229190611f2c565b9091555050600c54600b541061133a5761133a61136b565b505b5050505b61ffff851615611362576009546113629030906001600160a01b0316836119a2565b50505050505050565b600d805460ff60481b1916600160481b1790556040805160028082526060820183525f926020830190803683370190505090506006602160991b01815f815181106113b8576113b8611f53565b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106113ec576113ec611f53565b6001600160a01b0390921660209283029190910190910152600b54604051637ff36ab560e01b8152734752ba5dbc23f44d87826276bf6fd6b1c372ad2491637ff36ab591611464905f9086907f0000000000000000000000000000000000000000000000000000000000000000904290600401611fa9565b5f6040518083038185885af1935050505080156114a257506040513d5f823e601f3d908101601f1916820160405261149f9190810190611fdd565b60015b611511577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03167f0bcd847fc84cd9af704fdf07905bd612b70921cd04019b6e72b145bb7c48f26f600b5460405161150391815260200190565b60405180910390a250611586565b507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166308003f786040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561156a575f80fd5b505af115801561157c573d5f803e3d5ffd5b50505f600b555050505b600d805460ff60481b19169055565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661160f5760405163e602df0560e01b81525f6004820152602401610264565b6001600160a01b03831661163857604051634a1406b160e11b81525f6004820152602401610264565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561106057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516116aa91815260200190565b60405180910390a350505050565b600d54600160481b900460ff1661183157600d5461ffff1615611831576001600160a01b0383165f9081526007602052604090205460ff168061171257506001600160a01b0382165f9081526007602052604090205460ff165b611819576001600160a01b0382165f9081526006602052604090205460ff168061175357506001600160a01b0383165f9081526006602052604090205460ff165b1561181457600d54600a546001600160a01b03165f9081526020819052604090205461271091600160401b900460ff169061178e9190611ee3565b6117989190611efa565b305f908152602081905260409020541180156117cb57506001600160a01b0382165f9081526006602052604090205460ff165b156117d8576117d86110f7565b600d545f90612710906117ef9061ffff1684611ee3565b6117f99190611efa565b90506118068430836119a2565b6118108183611f19565b9150505b611831565b600a546001600160a01b031661183157611831611ac8565b610fb88383836119a2565b600d805460ff60481b1916600160481b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061188257611882611f53565b60200260200101906001600160a01b031690816001600160a01b0316815250506006602160991b01816001815181106118bd576118bd611f53565b6001600160a01b03909216602092830291909101909101526040516318cbafe560e01b8152734752ba5dbc23f44d87826276bf6fd6b1c372ad24906318cbafe5906119149085905f90869030904290600401612096565b5f604051808303815f875af192505050801561195157506040513d5f823e601f3d908101601f1916820160405261194e9190810190611fdd565b60015b61198f5760405182815230907f0bcd847fc84cd9af704fdf07905bd612b70921cd04019b6e72b145bb7c48f26f9060200160405180910390a2611991565b505b5050600d805460ff60481b19169055565b6001600160a01b0383166119cc578060025f8282546119c19190611f2c565b90915550611a3c9050565b6001600160a01b0383165f9081526020819052604090205481811015611a1e5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610264565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611a5857600280548290039055611a76565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611abb91815260200190565b60405180910390a3505050565b734752ba5dbc23f44d87826276bf6fd6b1c372ad246001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3c9190611ec8565b60405163e6a4390560e01b81523060048201526006602160991b0160248201526001600160a01b03919091169063e6a4390590604401602060405180830381865afa158015611b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bb19190611ec8565b600a80546001600160a01b0319166001600160a01b039290921691821790551561090f57600a80546001600160a01b039081165f90815260066020526040808220805460ff19166001908117909155935490519216917ff40a563af144a84735f7f6c7c3029794b0ac17713e5f048d3fd00ed85aa4ca7a9190a3565b5f6020808352835180828501525f5b81811015611c5857858101830151858201604001528201611c3c565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461089f575f80fd5b5f8060408385031215611c9d575f80fd5b8235611ca881611c78565b946020939093013593505050565b5f60208284031215611cc6575f80fd5b8135611cd181611c78565b9392505050565b5f805f60608486031215611cea575f80fd5b8335611cf581611c78565b92506020840135611d0581611c78565b929592945050506040919091013590565b5f60208284031215611d26575f80fd5b5035919050565b803561ffff81168114611d3e575f80fd5b919050565b5f805f8060808587031215611d56575f80fd5b611d5f85611d2d565b9350611d6d60208601611d2d565b9250611d7b60408601611d2d565b9396929550929360600135925050565b5f8060408385031215611d9c575f80fd5b8235611da781611c78565b915060208301358015158114611dbb575f80fd5b809150509250929050565b5f8060408385031215611dd7575f80fd5b8235611de281611c78565b91506020830135611dbb81611c78565b5f60208284031215611e02575f80fd5b813560ff81168114611cd1575f80fd5b600181811c90821680611e2657607f821691505b602082108103611e4457634e487b7160e01b5f52602260045260245ffd5b50919050565b60208082526028908201527f5465616d2077616c6c657420697320616c72656164792073657420746f20746860408201526769732076616c756560c01b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b61ffff818116838216019080821115611ec157611ec1611e92565b5092915050565b5f60208284031215611ed8575f80fd5b8151611cd181611c78565b80820281158282048414176107ed576107ed611e92565b5f82611f1457634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156107ed576107ed611e92565b808201808211156107ed576107ed611e92565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f8151808452602080850194508084015f5b83811015611f9e5781516001600160a01b031687529582019590820190600101611f79565b509495945050505050565b848152608060208201525f611fc16080830186611f67565b6001600160a01b03949094166040830152506060015292915050565b5f6020808385031215611fee575f80fd5b825167ffffffffffffffff80821115612005575f80fd5b818501915085601f830112612018575f80fd5b81518181111561202a5761202a611f3f565b8060051b604051601f19603f8301168101818110858211171561204f5761204f611f3f565b60405291825284820192508381018501918883111561206c575f80fd5b938501935b8285101561208a57845184529385019392850192612071565b98975050505050505050565b85815284602082015260a060408201525f6120b460a0830186611f67565b6001600160a01b039490941660608301525060800152939250505056fea26469706673582212204a474abd728be9d30a452936b3d4b86f17c9682aae8b9a14f22dda18208f981364736f6c6343000814003360a060405234801561000f575f80fd5b5060405161029138038061029183398101604081905261002e9161003f565b6001600160a01b031660805261006c565b5f6020828403121561004f575f80fd5b81516001600160a01b0381168114610065575f80fd5b9392505050565b6080516102016100905f395f8181604701528181609c015261012601526102015ff3fe608060405234801561000f575f80fd5b5060043610610034575f3560e01c806308003f781461003857806382bfefc814610042575b5f80fd5b610040610085565b005b6100697f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b03909116815260200160405180910390f35b6040516370a0823160e01b81523060048201525f907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa1580156100e9573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061010d91906101b4565b604051630852cd8d60e31b8152600481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906342966c68906024015f604051808303815f87803b15801561016f575f80fd5b505af1925050508015610180575060015b6101b157604051819033907ff8443a421c6e0f4f296784b55bbe1abfa0d00215af964c7454d2594f17bb1bcc905f90a35b50565b5f602082840312156101c4575f80fd5b505191905056fea26469706673582212203ad476b211b15dc0d5e1cefed8015dcf680489cc754ab172b552c64b69447e9664736f6c634300081400335465616d2077616c6c657420697320616c72656164792073657420746f2074680bcd847fc84cd9af704fdf07905bd612b70921cd04019b6e72b145bb7c48f26f000000000000000000000000000000000000000000000000000000000e4fdb9f00000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000011c37937e08000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000006416a4cfff06654600ee99fb33136886c55b3c340000000000000000000000002fdb9ab3fb7e3870c6c9597a78ca8e67d784f923

Deployed Bytecode

0x60806040526004361061020a575f3560e01c80637badddc811610113578063b1e370081161009d578063e5e31b131161006d578063e5e31b13146106a4578063e796712e146106d2578063f2855785146106f1578063f2fde38b14610711578063fe85b42b14610730575f80fd5b8063b1e37008146105f4578063cb4ca63114610613578063cd5d89ca14610641578063dd62ed3e14610660575f80fd5b80638f5c2a73116100e35780638f5c2a731461054c578063932733c71461057f57806395d89b411461059f578063a9059cbb146105b3578063b03e36e0146105d2575f80fd5b80637badddc8146104dc57806386a22eff146104fb57806389e79d971461051a5780638da5cb5b1461052f575f80fd5b806342966c68116101945780635992704411610164578063599270441461043757806370a0823114610456578063715018a61461048a5780637368e9b01461049e57806379cc6790146104bd575f80fd5b806342966c68146103db57806351bc3c85146103fa57806357d1fdcd1461040e57806358eae13514610422575f80fd5b80631d4eaead116101da5780631d4eaead1461030957806323b872dd1461033d57806326991cc81461035c578063313ce5671461039357806332fe7b26146103b4575f80fd5b806306fdde0314610273578063095ea7b31461029d5780631525ff7d146102cc57806318160ddd146102eb575f80fd5b3661026f57600d54600160481b900460ff1661026d5760405162461bcd60e51b815260206004820152601e60248201527f43616e27742073656e642045544820746f2074686520636f6e7472616374000060448201526064015b60405180910390fd5b005b5f80fd5b34801561027e575f80fd5b5061028761074a565b6040516102949190611c2d565b60405180910390f35b3480156102a8575f80fd5b506102bc6102b7366004611c8c565b6107da565b6040519015158152602001610294565b3480156102d7575f80fd5b5061026d6102e6366004611cb6565b6107f3565b3480156102f6575f80fd5b506002545b604051908152602001610294565b348015610314575f80fd5b50600d5461032a90600160301b900461ffff1681565b60405161ffff9091168152602001610294565b348015610348575f80fd5b506102bc610357366004611cd8565b610872565b348015610367575f80fd5b50600a5461037b906001600160a01b031681565b6040516001600160a01b039091168152602001610294565b34801561039e575f80fd5b5060125b60405160ff9091168152602001610294565b3480156103bf575f80fd5b5061037b734752ba5dbc23f44d87826276bf6fd6b1c372ad2481565b3480156103e6575f80fd5b5061026d6103f5366004611d16565b610895565b348015610405575f80fd5b5061026d6108a2565b348015610419575f80fd5b5061026d610911565b34801561042d575f80fd5b506102fb600c5481565b348015610442575f80fd5b5060085461037b906001600160a01b031681565b348015610461575f80fd5b506102fb610470366004611cb6565b6001600160a01b03165f9081526020819052604090205490565b348015610495575f80fd5b5061026d610972565b3480156104a9575f80fd5b5061026d6104b8366004611cb6565b610983565b3480156104c8575f80fd5b5061026d6104d7366004611c8c565b610a02565b3480156104e7575f80fd5b5061026d6104f6366004611d43565b610a1b565b348015610506575f80fd5b5061026d610515366004611d8b565b610b2d565b348015610525575f80fd5b506102fb600b5481565b34801561053a575f80fd5b506005546001600160a01b031661037b565b348015610557575f80fd5b5061037b7f000000000000000000000000cb9eb81116c12418d5a1f9b194c000b1f67f6bb881565b34801561058a575f80fd5b50600d5461032a9062010000900461ffff1681565b3480156105aa575f80fd5b50610287610d51565b3480156105be575f80fd5b506102bc6105cd366004611c8c565b610d60565b3480156105dd575f80fd5b50600d5461032a90640100000000900461ffff1681565b3480156105ff575f80fd5b5060095461037b906001600160a01b031681565b34801561061e575f80fd5b506102bc61062d366004611cb6565b60076020525f908152604090205460ff1681565b34801561064c575f80fd5b5061026d61065b366004611d8b565b610d6d565b34801561066b575f80fd5b506102fb61067a366004611dc6565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156106af575f80fd5b506102bc6106be366004611cb6565b60066020525f908152604090205460ff1681565b3480156106dd575f80fd5b5061026d6106ec366004611df2565b610e43565b3480156106fc575f80fd5b50600d546103a290600160401b900460ff1681565b34801561071c575f80fd5b5061026d61072b366004611cb6565b610f71565b34801561073b575f80fd5b50600d5461032a9061ffff1681565b60606003805461075990611e12565b80601f016020809104026020016040519081016040528092919081815260200182805461078590611e12565b80156107d05780601f106107a7576101008083540402835291602001916107d0565b820191905f5260205f20905b8154815290600101906020018083116107b357829003601f168201915b5050505050905090565b5f336107e7818585610fab565b60019150505b92915050565b6107fb610fbd565b6008546001600160a01b03908116908216036108295760405162461bcd60e51b815260040161026490611e4a565b600880546001600160a01b0319166001600160a01b0383169081179091556040517fc6a5dd316fe9d0339f2769deab7e31f64c8f5b101ffd85dfc9a83dbeaf2e69da905f90a250565b5f3361087f858285610fea565b61088a858585611066565b506001949350505050565b61089f33826110c3565b50565b6108aa610fbd565b305f908152602081905260409020545f036109075760405162461bcd60e51b815260206004820152601b60248201527f4e6f20746f6b656e7320617661696c61626c6520746f207377617000000000006044820152606401610264565b61090f6110f7565b565b610919610fbd565b600b545f0361096a5760405162461bcd60e51b815260206004820181905260248201527f4e6f2045544820617661696c61626c6520746f2062757920616e64206275726e6044820152606401610264565b61090f61136b565b61097a610fbd565b61090f5f611595565b61098b610fbd565b6009546001600160a01b03908116908216036109b95760405162461bcd60e51b815260040161026490611e4a565b600980546001600160a01b0319166001600160a01b0383169081179091556040517f2bee8604793dd619dadd8687d729a20168d03efcd35e3e670396fe6a35a098f6905f90a250565b610a0d823383610fea565b610a1782826110c3565b5050565b610a23610fbd565b61019082610a318587611ea6565b610a3b9190611ea6565b61ffff161115610a835760405162461bcd60e51b81526020600482015260136024820152727461782063616e27742065786365656420342560681b6044820152606401610264565b81610a8e8486611ea6565b610a989190611ea6565b600d805461ffff92831663ffffffff1990911617620100008784169081029190911767ffffffff00000000191664010000000087851690810267ffff000000000000191691909117600160301b94871694850217909255600c8490556040518481527f8da4d5b1d4f460c923483c696044b2dece39b83e9b0adbf2732279eccf3b50e59060200160405180910390a450505050565b610b35610fbd565b6001600160a01b0382165f9081526006602052604090205481151560ff909116151503610bae5760405162461bcd60e51b815260206004820152602160248201527f5061697220697320616c72656164792073657420746f20746869732076616c756044820152606560f81b6064820152608401610264565b801580610c2b5750816001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bf2573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c169190611ec8565b6001600160a01b0316306001600160a01b0316145b80610ca65750816001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c6d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c919190611ec8565b6001600160a01b0316306001600160a01b0316145b610cfe5760405162461bcd60e51b815260206004820152602360248201527f41646472657373206973206e6f7420612070616972206f66207468697320746f60448201526235b2b760e91b6064820152608401610264565b6001600160a01b0382165f81815260066020526040808220805460ff191685151590811790915590519092917ff40a563af144a84735f7f6c7c3029794b0ac17713e5f048d3fd00ed85aa4ca7a91a35050565b60606004805461075990611e12565b5f336107e7818585611066565b610d75610fbd565b6001600160a01b0382165f9081526007602052604090205481151560ff909116151503610df05760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792073657420746f20746869732076604482015263616c756560e01b6064820152608401610264565b6001600160a01b0382165f81815260076020526040808220805460ff191685151590811790915590519092917f6b8f4f35f1d56250908e430133b4145bf1bee87efd3d5ce502acfca0b8d356c991a35050565b610e4b610fbd565b600d5460ff600160401b909104811690821603610ec05760405162461bcd60e51b815260206004820152602d60248201527f73776170417450657263656e7461676520697320616c7265616479207365742060448201526c746f20746869732076616c756560981b6064820152608401610264565b60648160ff161115610f235760405162461bcd60e51b815260206004820152602660248201527f53776170417450657263656e746167652063616e27742065786365656420313060448201526530202831252960d01b6064820152608401610264565b600d805468ff00000000000000001916600160401b60ff8416908102919091179091556040517fd993e88411e8d896bbbe51121e41b519b2d88b3d9af231f0ea13a5dfe0e54eac905f90a250565b610f79610fbd565b6001600160a01b038116610fa257604051631e4fbdf760e01b81525f6004820152602401610264565b61089f81611595565b610fb883838360016115e6565b505050565b6005546001600160a01b0316331461090f5760405163118cdaa760e01b8152336004820152602401610264565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f19811015611060578181101561105257604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610264565b61106084848484035f6115e6565b50505050565b6001600160a01b03831661108f57604051634b637e8f60e11b81525f6004820152602401610264565b6001600160a01b0382166110b85760405163ec442f0560e01b81525f6004820152602401610264565b610fb88383836116b8565b6001600160a01b0382166110ec57604051634b637e8f60e11b81525f6004820152602401610264565b610a17825f836116b8565b600d5461ffff620100008204811691600160301b81048216916401000000008204811691165f6111278486611ea6565b305f9081526020819052604081205491925061ffff8516810361114a575f611169565b8361ffff168561ffff168361115f9190611ee3565b6111699190611efa565b905061ffff831615611340575f8461ffff168461ffff168461118b9190611ee3565b6111959190611efa565b600a546001600160a01b03165f908152602081905260409020549091506111bd606482611efa565b821115611209576111cf606482611efa565b915061ffff8716156112095760648561ffff168861ffff16836111f29190611ee3565b6111fc9190611efa565b6112069190611efa565b92505b6112128261183c565b5f600b54476112219190611f19565b905061ffff8a16156112e5575f8661ffff168b61ffff16836112439190611ee3565b61124d9190611efa565b6008546040519192505f916001600160a01b039091169083908381818185875af1925050503d805f811461129c576040519150601f19603f3d011682016040523d82523d5f602084013e6112a1565b606091505b50509050806112e2576008546040516001600160a01b03909116907faae6f49a69d34825354babc54f6bc380b03be17523d79c360166d42e83098a54905f90a25b50505b61ffff89161561133c575f8661ffff168a61ffff16836113059190611ee3565b61130f9190611efa565b905080600b5f8282546113229190611f2c565b9091555050600c54600b541061133a5761133a61136b565b505b5050505b61ffff851615611362576009546113629030906001600160a01b0316836119a2565b50505050505050565b600d805460ff60481b1916600160481b1790556040805160028082526060820183525f926020830190803683370190505090506006602160991b01815f815181106113b8576113b8611f53565b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106113ec576113ec611f53565b6001600160a01b0390921660209283029190910190910152600b54604051637ff36ab560e01b8152734752ba5dbc23f44d87826276bf6fd6b1c372ad2491637ff36ab591611464905f9086907f000000000000000000000000cb9eb81116c12418d5a1f9b194c000b1f67f6bb8904290600401611fa9565b5f6040518083038185885af1935050505080156114a257506040513d5f823e601f3d908101601f1916820160405261149f9190810190611fdd565b60015b611511577f000000000000000000000000cb9eb81116c12418d5a1f9b194c000b1f67f6bb86001600160a01b03167f0bcd847fc84cd9af704fdf07905bd612b70921cd04019b6e72b145bb7c48f26f600b5460405161150391815260200190565b60405180910390a250611586565b507f000000000000000000000000cb9eb81116c12418d5a1f9b194c000b1f67f6bb86001600160a01b03166308003f786040518163ffffffff1660e01b81526004015f604051808303815f87803b15801561156a575f80fd5b505af115801561157c573d5f803e3d5ffd5b50505f600b555050505b600d805460ff60481b19169055565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b03841661160f5760405163e602df0560e01b81525f6004820152602401610264565b6001600160a01b03831661163857604051634a1406b160e11b81525f6004820152602401610264565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561106057826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516116aa91815260200190565b60405180910390a350505050565b600d54600160481b900460ff1661183157600d5461ffff1615611831576001600160a01b0383165f9081526007602052604090205460ff168061171257506001600160a01b0382165f9081526007602052604090205460ff165b611819576001600160a01b0382165f9081526006602052604090205460ff168061175357506001600160a01b0383165f9081526006602052604090205460ff165b1561181457600d54600a546001600160a01b03165f9081526020819052604090205461271091600160401b900460ff169061178e9190611ee3565b6117989190611efa565b305f908152602081905260409020541180156117cb57506001600160a01b0382165f9081526006602052604090205460ff165b156117d8576117d86110f7565b600d545f90612710906117ef9061ffff1684611ee3565b6117f99190611efa565b90506118068430836119a2565b6118108183611f19565b9150505b611831565b600a546001600160a01b031661183157611831611ac8565b610fb88383836119a2565b600d805460ff60481b1916600160481b1790556040805160028082526060820183525f9260208301908036833701905050905030815f8151811061188257611882611f53565b60200260200101906001600160a01b031690816001600160a01b0316815250506006602160991b01816001815181106118bd576118bd611f53565b6001600160a01b03909216602092830291909101909101526040516318cbafe560e01b8152734752ba5dbc23f44d87826276bf6fd6b1c372ad24906318cbafe5906119149085905f90869030904290600401612096565b5f604051808303815f875af192505050801561195157506040513d5f823e601f3d908101601f1916820160405261194e9190810190611fdd565b60015b61198f5760405182815230907f0bcd847fc84cd9af704fdf07905bd612b70921cd04019b6e72b145bb7c48f26f9060200160405180910390a2611991565b505b5050600d805460ff60481b19169055565b6001600160a01b0383166119cc578060025f8282546119c19190611f2c565b90915550611a3c9050565b6001600160a01b0383165f9081526020819052604090205481811015611a1e5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610264565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611a5857600280548290039055611a76565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611abb91815260200190565b60405180910390a3505050565b734752ba5dbc23f44d87826276bf6fd6b1c372ad246001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611b3c9190611ec8565b60405163e6a4390560e01b81523060048201526006602160991b0160248201526001600160a01b03919091169063e6a4390590604401602060405180830381865afa158015611b8d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611bb19190611ec8565b600a80546001600160a01b0319166001600160a01b039290921691821790551561090f57600a80546001600160a01b039081165f90815260066020526040808220805460ff19166001908117909155935490519216917ff40a563af144a84735f7f6c7c3029794b0ac17713e5f048d3fd00ed85aa4ca7a9190a3565b5f6020808352835180828501525f5b81811015611c5857858101830151858201604001528201611c3c565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461089f575f80fd5b5f8060408385031215611c9d575f80fd5b8235611ca881611c78565b946020939093013593505050565b5f60208284031215611cc6575f80fd5b8135611cd181611c78565b9392505050565b5f805f60608486031215611cea575f80fd5b8335611cf581611c78565b92506020840135611d0581611c78565b929592945050506040919091013590565b5f60208284031215611d26575f80fd5b5035919050565b803561ffff81168114611d3e575f80fd5b919050565b5f805f8060808587031215611d56575f80fd5b611d5f85611d2d565b9350611d6d60208601611d2d565b9250611d7b60408601611d2d565b9396929550929360600135925050565b5f8060408385031215611d9c575f80fd5b8235611da781611c78565b915060208301358015158114611dbb575f80fd5b809150509250929050565b5f8060408385031215611dd7575f80fd5b8235611de281611c78565b91506020830135611dbb81611c78565b5f60208284031215611e02575f80fd5b813560ff81168114611cd1575f80fd5b600181811c90821680611e2657607f821691505b602082108103611e4457634e487b7160e01b5f52602260045260245ffd5b50919050565b60208082526028908201527f5465616d2077616c6c657420697320616c72656164792073657420746f20746860408201526769732076616c756560c01b606082015260800190565b634e487b7160e01b5f52601160045260245ffd5b61ffff818116838216019080821115611ec157611ec1611e92565b5092915050565b5f60208284031215611ed8575f80fd5b8151611cd181611c78565b80820281158282048414176107ed576107ed611e92565b5f82611f1457634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156107ed576107ed611e92565b808201808211156107ed576107ed611e92565b634e487b7160e01b5f52604160045260245ffd5b634e487b7160e01b5f52603260045260245ffd5b5f8151808452602080850194508084015f5b83811015611f9e5781516001600160a01b031687529582019590820190600101611f79565b509495945050505050565b848152608060208201525f611fc16080830186611f67565b6001600160a01b03949094166040830152506060015292915050565b5f6020808385031215611fee575f80fd5b825167ffffffffffffffff80821115612005575f80fd5b818501915085601f830112612018575f80fd5b81518181111561202a5761202a611f3f565b8060051b604051601f19603f8301168101818110858211171561204f5761204f611f3f565b60405291825284820192508381018501918883111561206c575f80fd5b938501935b8285101561208a57845184529385019392850192612071565b98975050505050505050565b85815284602082015260a060408201525f6120b460a0830186611f67565b6001600160a01b039490941660608301525060800152939250505056fea26469706673582212204a474abd728be9d30a452936b3d4b86f17c9682aae8b9a14f22dda18208f981364736f6c63430008140033

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

000000000000000000000000000000000000000000000000000000000e4fdb9f00000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000011c37937e08000000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000006416a4cfff06654600ee99fb33136886c55b3c340000000000000000000000002fdb9ab3fb7e3870c6c9597a78ca8e67d784f923

-----Decoded View---------------
Arg [0] : initialSupply (uint256): 240114591
Arg [1] : initialTeamTax (uint16): 200
Arg [2] : initialNftTax (uint16): 0
Arg [3] : initialBurnTax (uint16): 200
Arg [4] : initialThresholdForBurn (uint256): 5000000000000000
Arg [5] : initialSwapAtPercentage (uint8): 10
Arg [6] : initialTeamWallet (address): 0x6416a4CFFf06654600Ee99fb33136886c55B3c34
Arg [7] : initialNftWallet (address): 0x2Fdb9Ab3FB7e3870c6c9597A78cA8E67d784f923

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000e4fdb9f
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [3] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [4] : 0000000000000000000000000000000000000000000000000011c37937e08000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [6] : 0000000000000000000000006416a4cfff06654600ee99fb33136886c55b3c34
Arg [7] : 0000000000000000000000002fdb9ab3fb7e3870c6c9597a78ca8e67d784f923


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.