ETH Price: $2,458.81 (+2.66%)

Token

zkGUN (ZKG)
 

Overview

Max Total Supply

1,000,000,000 ZKG

Holders

21

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
64,224,785.696626625617859229 ZKG

Value
$0.00
0x946f3e0084739f95b4b1068ad56c7e572931a71e
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
zkGUN

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
shanghai EvmVersion
File 1 of 1 : Contract.sol
/**
/*

💻Official Site: https://zkgun.org

✖️Official X: https://twitter.com/zkgunproject

✈️Official Telegram: https://t.me/zkgunproject

*/

// SPDX-License-Identifier: MIT
// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol
pragma solidity ^0.8.20;

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Context.sol

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

// File: @openzeppelin/contracts/access/Ownable.sol

// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

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

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

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

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

        emit Transfer(from, to, value);
    }

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol

// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.20;

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

// Compatible with OpenZeppelin Contracts ^5.0.0
pragma solidity ^0.8.20;

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

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

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

interface IUniswapV2Router02 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    )
        external
        payable
        returns (uint amountToken, uint amountETH, uint liquidity);

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

interface IBeautifulToken {
    event SwapTokensAtAmountUpdated(uint256 value);
    event SwapAndLiquifyEnabledUpdated(bool enabled);
    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );
    event DistributeFeeTokens(uint256 tokens);
    event V2RouterUpdated(
        address indexed newAddress,
        address indexed oldAddress
    );
    event SetAutomatedMarketMakerPair(address indexed pair, bool value);
    event ExcludeFromTax(address indexed _user, bool _isExcludeFromTax);
    event TaxUpdated(uint256 buyTax, uint256 sellTax);
    event MaxBuyCapUpdated(uint256 oldCap, uint256 newCap);
    event MaxSellCapUpdated(uint256 oldCap, uint256 newCap);
    event OpenTrading(bool);
    event RemoveLimits();

    error TradeOpened();
    error TradeNotOpened();
}

contract zkGUN is IBeautifulToken, ERC20, ERC20Burnable, Ownable {
    IUniswapV2Router02 public uniswapV2Router;
    mapping(address => bool) public automatedMarketMakerPairs;
    mapping(address => bool) public isExcludeFromTax;
    address public pair;

    address[] public feeReceivers;
    uint256[] public feeDividers;
    uint256 public absorbFeeRate;

    address public marketingWallet;
    address public liquidityWallet;

    uint256 public MAX_SUPPLY = 1_000_000_000 * (10 ** decimals());
    uint256 public buyTax;
    uint256 public sellTax;
    uint256 public maxBuyCap;
    uint256 public maxSellCap;

    bool private swapping;
    bool public swapAndLiquifyEnabled = true;
    bool public tradeOpened = false;
    uint256 public swapTokensAtAmount;

    constructor() ERC20("zkGUN", "ZKG") Ownable(msg.sender) {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        uniswapV2Router = _uniswapV2Router;

        buyTax = 3;
        sellTax = 5;

        _setUpAbsorbFee();

        maxBuyCap = MAX_SUPPLY / 10;
        maxSellCap = MAX_SUPPLY / 10;
        swapTokensAtAmount = MAX_SUPPLY / 200;

        isExcludeFromTax[address(msg.sender)] = true; // excluding deployer
        isExcludeFromTax[address(this)] = true;

        _mint(msg.sender, MAX_SUPPLY);
    }

    /**
     * @dev this function is used to set up fee before deployment
     */
    function _setUpAbsorbFee() private {
        absorbFeeRate = 50;

        feeReceivers.push(0xC1540c4caDbd372FaE7747756D7f6d79544ABD4E);
        feeReceivers.push(0x900eDFc17C1cb944bbe8b66182690D52f63397de);
        feeReceivers.push(0xdF816d48a9031d4Aa2efC9AB1699b9cF2027bD76);

        feeDividers.push(40);
        feeDividers.push(40);
        feeDividers.push(20);
    }

    /**
     * @dev this function is for open trading
     */
    function openTrading() external onlyOwner {
        if (tradeOpened == true) {
            revert TradeOpened();
        }

        address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory())
            .getPair(address(this), uniswapV2Router.WETH());
        pair = _uniswapV2Pair;
        automatedMarketMakerPairs[_uniswapV2Pair] = true;

        tradeOpened = true;
        emit OpenTrading(true);
    }

    /**
     * @dev this function is for open trading
     */
    function removeLimits() external onlyOwner {
        maxBuyCap = MAX_SUPPLY;
        maxSellCap = MAX_SUPPLY;
        emit RemoveLimits();
    }

    /**
     * @dev function for setting Automated MarketMaker Pair
     * @param _pair address for pair.
     * @param _value boolean true or false.
     */
    function setAutomatedMarketMakerPair(
        address _pair,
        bool _value
    ) external onlyOwner {
        require(
            automatedMarketMakerPairs[_pair] != _value,
            "PairIsAlreadyGivenValue"
        );
        automatedMarketMakerPairs[_pair] = _value;
        emit SetAutomatedMarketMakerPair(_pair, _value);
    }

    /**
     * @dev Function to update isExcludeFromTax mapping to exclude or include From Tax
     * @param _user The address to be exclude or include From Tax
     * @param _isExcludeFromTax true or false
     */
    function excludeFromTax(
        address _user,
        bool _isExcludeFromTax
    ) external onlyOwner {
        isExcludeFromTax[_user] = _isExcludeFromTax;
        emit ExcludeFromTax(_user, _isExcludeFromTax);
    }

    function setParameter(uint256 buyFee, uint256 sellFee) external onlyOwner {
        buyTax = buyFee;
        sellTax = sellFee;
        emit TaxUpdated(buyFee, sellFee);
    }

    /**
     * @dev Function to update MaxBuyCap
     * @param cap cap in amounts of tokens in wei
     */
    function setMaxBuyTxn(uint256 cap) external onlyOwner {
        require(
            cap >= totalSupply() / 100,
            "maxBuy Cannot be less than 1% of totalSupply"
        );
        emit MaxBuyCapUpdated(maxBuyCap, cap);
        maxBuyCap = cap;
    }

    /**
     * @dev Function to update MaxSellCap
     * @param cap cap in amounts of tokens in wei
     */
    function setMaxSellTxn(uint256 cap) external onlyOwner {
        require(
            cap >= totalSupply() / 100,
            "maxSell Cannot be less than 1% of totalSupply"
        );
        emit MaxSellCapUpdated(maxSellCap, cap);
        maxSellCap = cap;
    }

    /**
     * @dev Function to toggle swap and liquify feature
     * @param _enabled true or false
     */
    function setSwapAndLiquifyEnabled(bool _enabled) public onlyOwner {
        swapAndLiquifyEnabled = _enabled;
        emit SwapAndLiquifyEnabledUpdated(_enabled);
    }

    //to receive ETH from uniswapV2Router when swaping
    receive() external payable {}

    // The following function is overriden to support fees on transfers
    function _update(
        address from,
        address to,
        uint256 value
    ) internal override(ERC20) {
        if (tradeOpened == false && (from != owner() && to != owner())) {
            revert TradeNotOpened();
        }

        if (
            !swapping &&
            from != address(uniswapV2Router) && //router -> pair is removing liquidity which shouldn't have max
            !isExcludeFromTax[to] //no max for those excluded from fees
        ) {
            _validateTransfer(from, to, value, true);
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            swapAndLiquifyEnabled &&
            canSwap &&
            !swapping &&
            !automatedMarketMakerPairs[from] &&
            from != owner() &&
            to != owner()
        ) {
            swapping = true;

            uint256 swapTokens = (contractTokenBalance *
                (100 - absorbFeeRate)) / 100;
            _swapAndLiquidifyUnderlying(swapTokens);

            uint256 sellTokens = balanceOf(address(this));
            _distributeFeeTokens(sellTokens);

            swapping = false;
        }

        bool takeFee = !swapping;

        // if any account belongs to isExcludeFromTax account then remove the fee
        if (isExcludeFromTax[from] || isExcludeFromTax[to]) {
            takeFee = false;
        }

        if (takeFee) {
            uint256 fees;

            if (_isBuy(from)) {
                fees = (value * buyTax) / 100;
            } else if (_isSell(from, to)) {
                fees = (value * sellTax) / 100;
            }

            value = value - fees;

            super._update(from, address(this), fees);
        }

        super._update(from, to, value);
    }

    // helper functions for buy, sell, lp, swap on uniswap
    function _isSell(
        address sender,
        address recipient
    ) internal view returns (bool) {
        return
            sender != address(uniswapV2Router) &&
            automatedMarketMakerPairs[recipient];
    }

    function _isBuy(address sender) internal view returns (bool) {
        return automatedMarketMakerPairs[sender];
    }

    function _swapAndLiquidifyUnderlying(uint256 contractTokenBalance) private {
        uint256 half = contractTokenBalance / 2;
        uint256 otherHalf = contractTokenBalance - half;

        uint256 initialBalance = address(this).balance;

        // swap tokens for ETH
        swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered

        // how much ETH did we just swap into?
        uint256 newBalance = address(this).balance - initialBalance;

        // add liquidity to uniswap
        _addLiquidityUnderlying(otherHalf, newBalance);

        emit SwapAndLiquify(half, newBalance, otherHalf);
    }

    function swapTokensForEth(uint256 tokenAmount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

        _approve(address(this), address(uniswapV2Router), tokenAmount);

        // make the swap
        try
            uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
                tokenAmount,
                0, // accept any amount of ETH
                path,
                address(this),
                block.timestamp
            )
        {} catch {}
    }

    function _addLiquidityUnderlying(
        uint256 tokenAmount,
        uint256 ethAmount
    ) private {
        _approve(address(this), address(uniswapV2Router), tokenAmount);

        try
            uniswapV2Router.addLiquidityETH{ value: ethAmount }(
                address(this),
                tokenAmount,
                0,
                0,
                liquidityWallet,
                block.timestamp
            )
        {} catch {}
    }

    function _distributeFeeTokens(uint256 tokens) private {
        for (uint i = 0; i < feeDividers.length; i++) {
            _transfer(
                address(this),
                feeReceivers[i],
                (tokens * feeDividers[i]) / 100
            );
        }

        emit DistributeFeeTokens(tokens);
    }

    function _validateTransfer(
        address sender,
        address recipient,
        uint256 amount,
        bool takeFee
    ) private view {
        // Do not check if we are not open trading
        if (tradeOpened == false) {
            return;
        }

        // Excluded addresses don't have limits
        if (takeFee) {
            if (_isBuy(sender) && maxBuyCap != 0) {
                require(amount <= maxBuyCap, "Buy amount exceeds limit");
            } else if (_isSell(sender, recipient) && maxSellCap != 0) {
                require(amount <= maxSellCap, "Sell amount exceeds limit");
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[],"name":"TradeNotOpened","type":"error"},{"inputs":[],"name":"TradeOpened","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"DistributeFeeTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_user","type":"address"},{"indexed":false,"internalType":"bool","name":"_isExcludeFromTax","type":"bool"}],"name":"ExcludeFromTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldCap","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newCap","type":"uint256"}],"name":"MaxBuyCapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldCap","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newCap","type":"uint256"}],"name":"MaxSellCapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"","type":"bool"}],"name":"OpenTrading","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":[],"name":"RemoveLimits","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndLiquifyEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SwapTokensAtAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"buyTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"sellTax","type":"uint256"}],"name":"TaxUpdated","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"V2RouterUpdated","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"absorbFeeRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"buyTax","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":"_user","type":"address"},{"internalType":"bool","name":"_isExcludeFromTax","type":"bool"}],"name":"excludeFromTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feeDividers","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"feeReceivers","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludeFromTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellCap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_pair","type":"address"},{"internalType":"bool","name":"_value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"setMaxBuyTxn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"cap","type":"uint256"}],"name":"setMaxSellTxn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"buyFee","type":"uint256"},{"internalType":"uint256","name":"sellFee","type":"uint256"}],"name":"setParameter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndLiquifyEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapAndLiquifyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradeOpened","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052620000126012600a62000e2c565b6200002290633b9aca0062000e3c565b600f556014805462ffff00191661010017905534801562000041575f80fd5b5033604051806040016040528060058152602001643d35a3aaa760d91b815250604051806040016040528060038152602001625a4b4760e81b81525081600390816200008e919062000eec565b5060046200009d828262000eec565b5050506001600160a01b038116620000cf57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b620000da816200028c565b50600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d908117909155600360105560056011556200020b6032600c55600a8054600181810183557fc65a7bb8d6351c1cf70c95a316cc6a92839c986682d98bc35f958f4883f9d2a891820180546001600160a01b031990811673c1540c4cadbd372fae7747756d7f6d79544abd4e179091558354808301855583018054821673900edfc17c1cb944bbe8b66182690d52f63397de179055835480830190945592909101805490921673df816d48a9031d4aa2efc9ab1699b9cf2027bd7617909155600b805480830182555f82905260287f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db99182018190558254808501845582015581549283019091556014910155565b600a600f546200021c919062000fb4565b601255600f546200023090600a9062000fb4565b601355600f54620002449060c89062000fb4565b601555335f818152600860205260408082208054600160ff1991821681179092553084529190922080549091169091179055600f54620002859190620002dd565b50620010e2565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620003085760405163ec442f0560e01b81525f6004820152602401620000c6565b620003155f838362000319565b5050565b60145462010000900460ff161580156200035b57506005546001600160a01b038481169116148015906200035b57506005546001600160a01b03838116911614155b156200037a5760405163025052a560e61b815260040160405180910390fd5b60145460ff161580156200039c57506006546001600160a01b03848116911614155b8015620003c157506001600160a01b0382165f9081526008602052604090205460ff16155b15620003d657620003d68383836001620005e2565b305f908152602081905260409020546015546014549082101590610100900460ff168015620004025750805b801562000412575060145460ff16155b80156200043757506001600160a01b0385165f9081526007602052604090205460ff16155b80156200045257506005546001600160a01b03868116911614155b80156200046d57506005546001600160a01b03858116911614155b15620004e0576014805460ff19166001179055600c545f9060649062000494908262000fd4565b620004a0908562000e3c565b620004ac919062000fb4565b9050620004b981620006fe565b305f90815260208190526040902054620004d3816200078c565b50506014805460ff191690555b6014546001600160a01b0386165f9081526008602052604090205460ff918216159116806200052657506001600160a01b0385165f9081526008602052604090205460ff165b156200052f57505f5b8015620005cd576001600160a01b0386165f9081526007602052604081205460ff16156200057d5760646010548662000569919062000e3c565b62000575919062000fb4565b9050620005b0565b6200058987876200084f565b15620005b057606460115486620005a1919062000e3c565b620005ad919062000fb4565b90505b620005bc818662000fd4565b9450620005cb87308362000890565b505b620005da86868662000890565b505050505050565b60145462010000900460ff1615620006f8578015620006f8576001600160a01b0384165f9081526007602052604090205460ff16801562000624575060125415155b1562000684576012548211156200067e5760405162461bcd60e51b815260206004820152601860248201527f42757920616d6f756e742065786365656473206c696d697400000000000000006044820152606401620000c6565b620006f8565b6200069084846200084f565b80156200069e575060135415155b15620006f857601354821115620006f85760405162461bcd60e51b815260206004820152601960248201527f53656c6c20616d6f756e742065786365656473206c696d6974000000000000006044820152606401620000c6565b50505050565b5f6200070c60028362000fb4565b90505f6200071b828462000fd4565b9050476200072983620009bf565b5f62000736824762000fd4565b905062000744838262000b1f565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b5f5b600b5481101562000818576200080f30600a8381548110620007b457620007b462000fea565b905f5260205f20015f9054906101000a90046001600160a01b03166064600b8581548110620007e757620007e762000fea565b905f5260205f20015486620007fd919062000e3c565b62000809919062000fb4565b62000bd6565b6001016200078e565b506040518181527f88437947f9cbc04f50ea6ffceb9de5d9d59570e76d480ae51710bd9fb9f32ae19060200160405180910390a150565b6006545f906001600160a01b038481169116148015906200088757506001600160a01b0382165f9081526007602052604090205460ff165b90505b92915050565b6001600160a01b038316620008be578060025f828254620008b2919062000ffe565b90915550620009309050565b6001600160a01b0383165f9081526020819052604090205481811015620009125760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000c6565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166200094e576002805482900390556200096c565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620009b291815260200190565b60405180910390a3505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110620009f557620009f562000fea565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801562000a4d573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000a73919062001014565b8160018151811062000a895762000a8962000fea565b6001600160a01b03928316602091820292909201015260065462000ab1913091168462000c3e565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac9479062000aeb9085905f9086903090429060040162001043565b5f604051808303815f87803b15801562000b03575f80fd5b505af192505050801562000b15575060015b1562000315575050565b60065462000b399030906001600160a01b03168462000c3e565b600654600e5460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af19350505050801562000bc8575060408051601f3d908101601f1916820190925262000bc591810190620010b6565b60015b1562000315575b5050505050565b6001600160a01b03831662000c0157604051634b637e8f60e11b81525f6004820152602401620000c6565b6001600160a01b03821662000c2c5760405163ec442f0560e01b81525f6004820152602401620000c6565b62000c3983838362000319565b505050565b62000c3983838360016001600160a01b03841662000c725760405163e602df0560e01b81525f6004820152602401620000c6565b6001600160a01b03831662000c9d57604051634a1406b160e11b81525f6004820152602401620000c6565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015620006f857826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405162000d1191815260200190565b60405180910390a350505050565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111562000d7357815f190482111562000d575762000d5762000d1f565b8085161562000d6557918102915b93841c939080029062000d38565b509250929050565b5f8262000d8b575060016200088a565b8162000d9957505f6200088a565b816001811462000db2576002811462000dbd5762000ddd565b60019150506200088a565b60ff84111562000dd15762000dd162000d1f565b50506001821b6200088a565b5060208310610133831016604e8410600b841016171562000e02575081810a6200088a565b62000e0e838362000d33565b805f190482111562000e245762000e2462000d1f565b029392505050565b5f6200088760ff84168362000d7b565b80820281158282048414176200088a576200088a62000d1f565b634e487b7160e01b5f52604160045260245ffd5b600181811c9082168062000e7f57607f821691505b60208210810362000e9e57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000c3957805f5260205f20601f840160051c8101602085101562000ecb5750805b601f840160051c820191505b8181101562000bcf575f815560010162000ed7565b81516001600160401b0381111562000f085762000f0862000e56565b62000f208162000f19845462000e6a565b8462000ea4565b602080601f83116001811462000f56575f841562000f3e5750858301515b5f19600386901b1c1916600185901b178555620005da565b5f85815260208120601f198616915b8281101562000f865788860151825594840194600190910190840162000f65565b508582101562000fa457878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f8262000fcf57634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156200088a576200088a62000d1f565b634e487b7160e01b5f52603260045260245ffd5b808201808211156200088a576200088a62000d1f565b5f6020828403121562001025575f80fd5b81516001600160a01b03811681146200103c575f80fd5b9392505050565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015620010955784516001600160a01b0316835293830193918301916001016200106e565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f60608486031215620010c9575f80fd5b8351925060208401519150604084015190509250925092565b611c5e80620010f05f395ff3fe60806040526004361061022b575f3560e01c806375f0a87411610129578063c49b9a80116100a8578063d46980161161006d578063d469801614610656578063dd62ed3e14610675578063e2f45605146106b9578063e6dd8856146106ce578063f2fde38b146106e3575f80fd5b8063c49b9a80146105d0578063c6a30647146105ef578063c9567bf91461060e578063cb4fac5014610622578063cc1776d314610641575f80fd5b80639708e250116100ee5780639708e250146105305780639a7a23d614610545578063a8aa1b3114610564578063a9059cbb14610583578063b62496f5146105a2575f80fd5b806375f0a8741461049357806379cc6790146104b25780638da5cb5b146104d157806395d89b41146104ee578063961cc9f814610502575f80fd5b806342966c68116101b5578063667967f11161017a578063667967f1146103f95780636bd118191461041857806370a0823114610437578063715018a61461046b578063751039fc1461047f575f80fd5b806342966c681461036957806343775a89146103885780634a74bb02146103a75780634f7041a5146103c55780635b381760146103da575f80fd5b806318160ddd116101fb57806318160ddd146102e757806323b872dd1461030557806324c3491814610324578063313ce5671461033957806332cb6b0c14610354575f80fd5b806306fdde0314610236578063095ea7b31461026057806312ee63f31461028f5780631694505e146102b0575f80fd5b3661023257005b5f80fd5b348015610241575f80fd5b5061024a610702565b6040516102579190611904565b60405180910390f35b34801561026b575f80fd5b5061027f61027a366004611964565b610792565b6040519015158152602001610257565b34801561029a575f80fd5b506102ae6102a936600461198e565b6107ab565b005b3480156102bb575f80fd5b506006546102cf906001600160a01b031681565b6040516001600160a01b039091168152602001610257565b3480156102f2575f80fd5b506002545b604051908152602001610257565b348015610310575f80fd5b5061027f61031f3660046119ae565b6107fa565b34801561032f575f80fd5b506102f7600c5481565b348015610344575f80fd5b5060405160128152602001610257565b34801561035f575f80fd5b506102f7600f5481565b348015610374575f80fd5b506102ae6103833660046119ec565b61081d565b348015610393575f80fd5b506102ae6103a23660046119ec565b61082a565b3480156103b2575f80fd5b5060145461027f90610100900460ff1681565b3480156103d0575f80fd5b506102f760105481565b3480156103e5575f80fd5b506102cf6103f43660046119ec565b6108f2565b348015610404575f80fd5b506102f76104133660046119ec565b61091a565b348015610423575f80fd5b5060145461027f9062010000900460ff1681565b348015610442575f80fd5b506102f7610451366004611a03565b6001600160a01b03165f9081526020819052604090205490565b348015610476575f80fd5b506102ae610939565b34801561048a575f80fd5b506102ae61094c565b34801561049e575f80fd5b50600d546102cf906001600160a01b031681565b3480156104bd575f80fd5b506102ae6104cc366004611964565b610989565b3480156104dc575f80fd5b506005546001600160a01b03166102cf565b3480156104f9575f80fd5b5061024a6109a2565b34801561050d575f80fd5b5061027f61051c366004611a03565b60086020525f908152604090205460ff1681565b34801561053b575f80fd5b506102f760135481565b348015610550575f80fd5b506102ae61055f366004611a32565b6109b1565b34801561056f575f80fd5b506009546102cf906001600160a01b031681565b34801561058e575f80fd5b5061027f61059d366004611964565b610a87565b3480156105ad575f80fd5b5061027f6105bc366004611a03565b60076020525f908152604090205460ff1681565b3480156105db575f80fd5b506102ae6105ea366004611a65565b610a94565b3480156105fa575f80fd5b506102ae610609366004611a32565b610af0565b348015610619575f80fd5b506102ae610b4f565b34801561062d575f80fd5b506102ae61063c3660046119ec565b610d5f565b34801561064c575f80fd5b506102f760115481565b348015610661575f80fd5b50600e546102cf906001600160a01b031681565b348015610680575f80fd5b506102f761068f366004611a7e565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156106c4575f80fd5b506102f760155481565b3480156106d9575f80fd5b506102f760125481565b3480156106ee575f80fd5b506102ae6106fd366004611a03565b610e21565b60606003805461071190611ab5565b80601f016020809104026020016040519081016040528092919081815260200182805461073d90611ab5565b80156107885780601f1061075f57610100808354040283529160200191610788565b820191905f5260205f20905b81548152906001019060200180831161076b57829003601f168201915b5050505050905090565b5f3361079f818585610e5b565b60019150505b92915050565b6107b3610e6d565b6010829055601181905560408051838152602081018390527fb841faf0d1b32571f4ef966a2f35e3ae51f3cdda45318c3da5570a5b2ad85605910160405180910390a15050565b5f33610807858285610e9a565b610812858585610f15565b506001949350505050565b6108273382610f72565b50565b610832610e6d565b606461083d60025490565b6108479190611b01565b8110156108b15760405162461bcd60e51b815260206004820152602d60248201527f6d617853656c6c2043616e6e6f74206265206c657373207468616e203125206f60448201526c6620746f74616c537570706c7960981b60648201526084015b60405180910390fd5b60135460408051918252602082018390527f12bf45c61b66f0927229652515d6cfd15abd8d60f90ddd1f2a0abc1aed87e229910160405180910390a1601355565b600a8181548110610901575f80fd5b5f918252602090912001546001600160a01b0316905081565b600b8181548110610929575f80fd5b5f91825260209091200154905081565b610941610e6d565b61094a5f610fa6565b565b610954610e6d565b600f5460128190556013556040517f56cd40e702ad44e23718371585a7a88bfb79ab8ea81a03c7f8945fabc3c279cf905f90a1565b610994823383610e9a565b61099e8282610f72565b5050565b60606004805461071190611ab5565b6109b9610e6d565b6001600160a01b0382165f9081526007602052604090205481151560ff909116151503610a285760405162461bcd60e51b815260206004820152601760248201527f506169724973416c7265616479476976656e56616c756500000000000000000060448201526064016108a8565b6001600160a01b0382165f81815260076020908152604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91015b60405180910390a25050565b5f3361079f818585610f15565b610a9c610e6d565b601480548215156101000261ff00199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610ae590831515815260200190565b60405180910390a150565b610af8610e6d565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c9101610a7b565b610b57610e6d565b60145462010000900460ff161515600103610b855760405163176dfd6d60e21b815260040160405180910390fd5b6006546040805163c45a015560e01b815290515f926001600160a01b03169163c45a01559160048083019260209291908290030181865afa158015610bcc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf09190611b20565b6001600160a01b031663e6a439053060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c739190611b20565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610cbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ce09190611b20565b600980546001600160a01b0383166001600160a01b031990911681179091555f90815260076020908152604091829020805460ff191660019081179091556014805462ff000019166201000017905591519182529192507f1f600db0df6d805ecdba9e86fb22102b65e03ebd7311928418efa609804ddcf79101610ae5565b610d67610e6d565b6064610d7260025490565b610d7c9190611b01565b811015610de05760405162461bcd60e51b815260206004820152602c60248201527f6d61784275792043616e6e6f74206265206c657373207468616e203125206f6660448201526b20746f74616c537570706c7960a01b60648201526084016108a8565b60125460408051918252602082018390527f1146bdc56e690d4231f59e950050325db142ae360e77ae43a09710897b557eeb910160405180910390a1601255565b610e29610e6d565b6001600160a01b038116610e5257604051631e4fbdf760e01b81525f60048201526024016108a8565b61082781610fa6565b610e688383836001610ff7565b505050565b6005546001600160a01b0316331461094a5760405163118cdaa760e01b81523360048201526024016108a8565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610f0f5781811015610f0157604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016108a8565b610f0f84848484035f610ff7565b50505050565b6001600160a01b038316610f3e57604051634b637e8f60e11b81525f60048201526024016108a8565b6001600160a01b038216610f675760405163ec442f0560e01b81525f60048201526024016108a8565b610e688383836110c9565b6001600160a01b038216610f9b57604051634b637e8f60e11b81525f60048201526024016108a8565b61099e825f836110c9565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166110205760405163e602df0560e01b81525f60048201526024016108a8565b6001600160a01b03831661104957604051634a1406b160e11b81525f60048201526024016108a8565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610f0f57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516110bb91815260200190565b60405180910390a350505050565b60145462010000900460ff1615801561110957506005546001600160a01b0384811691161480159061110957506005546001600160a01b03838116911614155b156111275760405163025052a560e61b815260040160405180910390fd5b60145460ff1615801561114857506006546001600160a01b03848116911614155b801561116c57506001600160a01b0382165f9081526008602052604090205460ff16155b1561117e5761117e8383836001611364565b305f908152602081905260409020546015546014549082101590610100900460ff1680156111a95750805b80156111b8575060145460ff16155b80156111dc57506001600160a01b0385165f9081526007602052604090205460ff16155b80156111f657506005546001600160a01b03868116911614155b801561121057506005546001600160a01b03858116911614155b15611278576014805460ff19166001179055600c545f906064906112349082611b3b565b61123e9085611b4e565b6112489190611b01565b90506112538161146d565b305f9081526020819052604090205461126b816114f1565b50506014805460ff191690555b6014546001600160a01b0386165f9081526008602052604090205460ff918216159116806112bd57506001600160a01b0385165f9081526008602052604090205460ff165b156112c557505f5b8015611351576001600160a01b0386165f9081526007602052604081205460ff161561130c576064601054866112fb9190611b4e565b6113059190611b01565b9050611338565b61131687876115a0565b156113385760646011548661132b9190611b4e565b6113359190611b01565b90505b6113428186611b3b565b945061134f8730836115de565b505b61135c8686866115de565b505050505050565b60145462010000900460ff1615610f0f578015610f0f576001600160a01b0384165f9081526007602052604090205460ff1680156113a3575060125415155b156113ff576012548211156113fa5760405162461bcd60e51b815260206004820152601860248201527f42757920616d6f756e742065786365656473206c696d6974000000000000000060448201526064016108a8565b610f0f565b61140984846115a0565b8015611416575060135415155b15610f0f57601354821115610f0f5760405162461bcd60e51b815260206004820152601960248201527f53656c6c20616d6f756e742065786365656473206c696d69740000000000000060448201526064016108a8565b5f611479600283611b01565b90505f6114868284611b3b565b90504761149283611704565b5f61149d8247611b3b565b90506114a98382611854565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b5f5b600b5481101561156f5761156730600a838154811061151457611514611b65565b905f5260205f20015f9054906101000a90046001600160a01b03166064600b858154811061154457611544611b65565b905f5260205f200154866115589190611b4e565b6115629190611b01565b610f15565b6001016114f3565b506040518181527f88437947f9cbc04f50ea6ffceb9de5d9d59570e76d480ae51710bd9fb9f32ae190602001610ae5565b6006545f906001600160a01b038481169116148015906115d757506001600160a01b0382165f9081526007602052604090205460ff165b9392505050565b6001600160a01b038316611608578060025f8282546115fd9190611b79565b909155506116789050565b6001600160a01b0383165f908152602081905260409020548181101561165a5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016108a8565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611694576002805482900390556116b2565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516116f791815260200190565b60405180910390a3505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061173757611737611b65565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561178e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b29190611b20565b816001815181106117c5576117c5611b65565b6001600160a01b0392831660209182029290920101526006546117eb9130911684610e5b565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906118239085905f90869030904290600401611b8c565b5f604051808303815f87803b15801561183a575f80fd5b505af192505050801561184b575060015b1561099e575050565b60065461186c9030906001600160a01b031684610e5b565b600654600e5460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1935050505080156118f8575060408051601f3d908101601f191682019092526118f591810190611bfd565b60015b1561099e575050505050565b5f602080835283518060208501525f5b8181101561193057858101830151858201604001528201611914565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610827575f80fd5b5f8060408385031215611975575f80fd5b823561198081611950565b946020939093013593505050565b5f806040838503121561199f575f80fd5b50508035926020909101359150565b5f805f606084860312156119c0575f80fd5b83356119cb81611950565b925060208401356119db81611950565b929592945050506040919091013590565b5f602082840312156119fc575f80fd5b5035919050565b5f60208284031215611a13575f80fd5b81356115d781611950565b80358015158114611a2d575f80fd5b919050565b5f8060408385031215611a43575f80fd5b8235611a4e81611950565b9150611a5c60208401611a1e565b90509250929050565b5f60208284031215611a75575f80fd5b6115d782611a1e565b5f8060408385031215611a8f575f80fd5b8235611a9a81611950565b91506020830135611aaa81611950565b809150509250929050565b600181811c90821680611ac957607f821691505b602082108103611ae757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b5f82611b1b57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215611b30575f80fd5b81516115d781611950565b818103818111156107a5576107a5611aed565b80820281158282048414176107a5576107a5611aed565b634e487b7160e01b5f52603260045260245ffd5b808201808211156107a5576107a5611aed565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611bdc5784516001600160a01b031683529383019391830191600101611bb7565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f60608486031215611c0f575f80fd5b835192506020840151915060408401519050925092509256fea26469706673582212200452098d08d2ed2491990b6aa9081aea86d484822d8266e3dbb71d1c5a0fb81964736f6c63430008180033

Deployed Bytecode

0x60806040526004361061022b575f3560e01c806375f0a87411610129578063c49b9a80116100a8578063d46980161161006d578063d469801614610656578063dd62ed3e14610675578063e2f45605146106b9578063e6dd8856146106ce578063f2fde38b146106e3575f80fd5b8063c49b9a80146105d0578063c6a30647146105ef578063c9567bf91461060e578063cb4fac5014610622578063cc1776d314610641575f80fd5b80639708e250116100ee5780639708e250146105305780639a7a23d614610545578063a8aa1b3114610564578063a9059cbb14610583578063b62496f5146105a2575f80fd5b806375f0a8741461049357806379cc6790146104b25780638da5cb5b146104d157806395d89b41146104ee578063961cc9f814610502575f80fd5b806342966c68116101b5578063667967f11161017a578063667967f1146103f95780636bd118191461041857806370a0823114610437578063715018a61461046b578063751039fc1461047f575f80fd5b806342966c681461036957806343775a89146103885780634a74bb02146103a75780634f7041a5146103c55780635b381760146103da575f80fd5b806318160ddd116101fb57806318160ddd146102e757806323b872dd1461030557806324c3491814610324578063313ce5671461033957806332cb6b0c14610354575f80fd5b806306fdde0314610236578063095ea7b31461026057806312ee63f31461028f5780631694505e146102b0575f80fd5b3661023257005b5f80fd5b348015610241575f80fd5b5061024a610702565b6040516102579190611904565b60405180910390f35b34801561026b575f80fd5b5061027f61027a366004611964565b610792565b6040519015158152602001610257565b34801561029a575f80fd5b506102ae6102a936600461198e565b6107ab565b005b3480156102bb575f80fd5b506006546102cf906001600160a01b031681565b6040516001600160a01b039091168152602001610257565b3480156102f2575f80fd5b506002545b604051908152602001610257565b348015610310575f80fd5b5061027f61031f3660046119ae565b6107fa565b34801561032f575f80fd5b506102f7600c5481565b348015610344575f80fd5b5060405160128152602001610257565b34801561035f575f80fd5b506102f7600f5481565b348015610374575f80fd5b506102ae6103833660046119ec565b61081d565b348015610393575f80fd5b506102ae6103a23660046119ec565b61082a565b3480156103b2575f80fd5b5060145461027f90610100900460ff1681565b3480156103d0575f80fd5b506102f760105481565b3480156103e5575f80fd5b506102cf6103f43660046119ec565b6108f2565b348015610404575f80fd5b506102f76104133660046119ec565b61091a565b348015610423575f80fd5b5060145461027f9062010000900460ff1681565b348015610442575f80fd5b506102f7610451366004611a03565b6001600160a01b03165f9081526020819052604090205490565b348015610476575f80fd5b506102ae610939565b34801561048a575f80fd5b506102ae61094c565b34801561049e575f80fd5b50600d546102cf906001600160a01b031681565b3480156104bd575f80fd5b506102ae6104cc366004611964565b610989565b3480156104dc575f80fd5b506005546001600160a01b03166102cf565b3480156104f9575f80fd5b5061024a6109a2565b34801561050d575f80fd5b5061027f61051c366004611a03565b60086020525f908152604090205460ff1681565b34801561053b575f80fd5b506102f760135481565b348015610550575f80fd5b506102ae61055f366004611a32565b6109b1565b34801561056f575f80fd5b506009546102cf906001600160a01b031681565b34801561058e575f80fd5b5061027f61059d366004611964565b610a87565b3480156105ad575f80fd5b5061027f6105bc366004611a03565b60076020525f908152604090205460ff1681565b3480156105db575f80fd5b506102ae6105ea366004611a65565b610a94565b3480156105fa575f80fd5b506102ae610609366004611a32565b610af0565b348015610619575f80fd5b506102ae610b4f565b34801561062d575f80fd5b506102ae61063c3660046119ec565b610d5f565b34801561064c575f80fd5b506102f760115481565b348015610661575f80fd5b50600e546102cf906001600160a01b031681565b348015610680575f80fd5b506102f761068f366004611a7e565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156106c4575f80fd5b506102f760155481565b3480156106d9575f80fd5b506102f760125481565b3480156106ee575f80fd5b506102ae6106fd366004611a03565b610e21565b60606003805461071190611ab5565b80601f016020809104026020016040519081016040528092919081815260200182805461073d90611ab5565b80156107885780601f1061075f57610100808354040283529160200191610788565b820191905f5260205f20905b81548152906001019060200180831161076b57829003601f168201915b5050505050905090565b5f3361079f818585610e5b565b60019150505b92915050565b6107b3610e6d565b6010829055601181905560408051838152602081018390527fb841faf0d1b32571f4ef966a2f35e3ae51f3cdda45318c3da5570a5b2ad85605910160405180910390a15050565b5f33610807858285610e9a565b610812858585610f15565b506001949350505050565b6108273382610f72565b50565b610832610e6d565b606461083d60025490565b6108479190611b01565b8110156108b15760405162461bcd60e51b815260206004820152602d60248201527f6d617853656c6c2043616e6e6f74206265206c657373207468616e203125206f60448201526c6620746f74616c537570706c7960981b60648201526084015b60405180910390fd5b60135460408051918252602082018390527f12bf45c61b66f0927229652515d6cfd15abd8d60f90ddd1f2a0abc1aed87e229910160405180910390a1601355565b600a8181548110610901575f80fd5b5f918252602090912001546001600160a01b0316905081565b600b8181548110610929575f80fd5b5f91825260209091200154905081565b610941610e6d565b61094a5f610fa6565b565b610954610e6d565b600f5460128190556013556040517f56cd40e702ad44e23718371585a7a88bfb79ab8ea81a03c7f8945fabc3c279cf905f90a1565b610994823383610e9a565b61099e8282610f72565b5050565b60606004805461071190611ab5565b6109b9610e6d565b6001600160a01b0382165f9081526007602052604090205481151560ff909116151503610a285760405162461bcd60e51b815260206004820152601760248201527f506169724973416c7265616479476976656e56616c756500000000000000000060448201526064016108a8565b6001600160a01b0382165f81815260076020908152604091829020805460ff191685151590811790915591519182527fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91015b60405180910390a25050565b5f3361079f818585610f15565b610a9c610e6d565b601480548215156101000261ff00199091161790556040517f53726dfcaf90650aa7eb35524f4d3220f07413c8d6cb404cc8c18bf5591bc15990610ae590831515815260200190565b60405180910390a150565b610af8610e6d565b6001600160a01b0382165f81815260086020908152604091829020805460ff191685151590811790915591519182527f7e9c88b87a525bea9b5a9169ddf4660ad19e19b88ea5057a584ee4d31cceec9c9101610a7b565b610b57610e6d565b60145462010000900460ff161515600103610b855760405163176dfd6d60e21b815260040160405180910390fd5b6006546040805163c45a015560e01b815290515f926001600160a01b03169163c45a01559160048083019260209291908290030181865afa158015610bcc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610bf09190611b20565b6001600160a01b031663e6a439053060065f9054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610c4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c739190611b20565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381865afa158015610cbc573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610ce09190611b20565b600980546001600160a01b0383166001600160a01b031990911681179091555f90815260076020908152604091829020805460ff191660019081179091556014805462ff000019166201000017905591519182529192507f1f600db0df6d805ecdba9e86fb22102b65e03ebd7311928418efa609804ddcf79101610ae5565b610d67610e6d565b6064610d7260025490565b610d7c9190611b01565b811015610de05760405162461bcd60e51b815260206004820152602c60248201527f6d61784275792043616e6e6f74206265206c657373207468616e203125206f6660448201526b20746f74616c537570706c7960a01b60648201526084016108a8565b60125460408051918252602082018390527f1146bdc56e690d4231f59e950050325db142ae360e77ae43a09710897b557eeb910160405180910390a1601255565b610e29610e6d565b6001600160a01b038116610e5257604051631e4fbdf760e01b81525f60048201526024016108a8565b61082781610fa6565b610e688383836001610ff7565b505050565b6005546001600160a01b0316331461094a5760405163118cdaa760e01b81523360048201526024016108a8565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610f0f5781811015610f0157604051637dc7a0d960e11b81526001600160a01b038416600482015260248101829052604481018390526064016108a8565b610f0f84848484035f610ff7565b50505050565b6001600160a01b038316610f3e57604051634b637e8f60e11b81525f60048201526024016108a8565b6001600160a01b038216610f675760405163ec442f0560e01b81525f60048201526024016108a8565b610e688383836110c9565b6001600160a01b038216610f9b57604051634b637e8f60e11b81525f60048201526024016108a8565b61099e825f836110c9565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0384166110205760405163e602df0560e01b81525f60048201526024016108a8565b6001600160a01b03831661104957604051634a1406b160e11b81525f60048201526024016108a8565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610f0f57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516110bb91815260200190565b60405180910390a350505050565b60145462010000900460ff1615801561110957506005546001600160a01b0384811691161480159061110957506005546001600160a01b03838116911614155b156111275760405163025052a560e61b815260040160405180910390fd5b60145460ff1615801561114857506006546001600160a01b03848116911614155b801561116c57506001600160a01b0382165f9081526008602052604090205460ff16155b1561117e5761117e8383836001611364565b305f908152602081905260409020546015546014549082101590610100900460ff1680156111a95750805b80156111b8575060145460ff16155b80156111dc57506001600160a01b0385165f9081526007602052604090205460ff16155b80156111f657506005546001600160a01b03868116911614155b801561121057506005546001600160a01b03858116911614155b15611278576014805460ff19166001179055600c545f906064906112349082611b3b565b61123e9085611b4e565b6112489190611b01565b90506112538161146d565b305f9081526020819052604090205461126b816114f1565b50506014805460ff191690555b6014546001600160a01b0386165f9081526008602052604090205460ff918216159116806112bd57506001600160a01b0385165f9081526008602052604090205460ff165b156112c557505f5b8015611351576001600160a01b0386165f9081526007602052604081205460ff161561130c576064601054866112fb9190611b4e565b6113059190611b01565b9050611338565b61131687876115a0565b156113385760646011548661132b9190611b4e565b6113359190611b01565b90505b6113428186611b3b565b945061134f8730836115de565b505b61135c8686866115de565b505050505050565b60145462010000900460ff1615610f0f578015610f0f576001600160a01b0384165f9081526007602052604090205460ff1680156113a3575060125415155b156113ff576012548211156113fa5760405162461bcd60e51b815260206004820152601860248201527f42757920616d6f756e742065786365656473206c696d6974000000000000000060448201526064016108a8565b610f0f565b61140984846115a0565b8015611416575060135415155b15610f0f57601354821115610f0f5760405162461bcd60e51b815260206004820152601960248201527f53656c6c20616d6f756e742065786365656473206c696d69740000000000000060448201526064016108a8565b5f611479600283611b01565b90505f6114868284611b3b565b90504761149283611704565b5f61149d8247611b3b565b90506114a98382611854565b60408051858152602081018390529081018490527f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619060600160405180910390a15050505050565b5f5b600b5481101561156f5761156730600a838154811061151457611514611b65565b905f5260205f20015f9054906101000a90046001600160a01b03166064600b858154811061154457611544611b65565b905f5260205f200154866115589190611b4e565b6115629190611b01565b610f15565b6001016114f3565b506040518181527f88437947f9cbc04f50ea6ffceb9de5d9d59570e76d480ae51710bd9fb9f32ae190602001610ae5565b6006545f906001600160a01b038481169116148015906115d757506001600160a01b0382165f9081526007602052604090205460ff165b9392505050565b6001600160a01b038316611608578060025f8282546115fd9190611b79565b909155506116789050565b6001600160a01b0383165f908152602081905260409020548181101561165a5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016108a8565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611694576002805482900390556116b2565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516116f791815260200190565b60405180910390a3505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f8151811061173757611737611b65565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561178e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906117b29190611b20565b816001815181106117c5576117c5611b65565b6001600160a01b0392831660209182029290920101526006546117eb9130911684610e5b565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac947906118239085905f90869030904290600401611b8c565b5f604051808303815f87803b15801561183a575f80fd5b505af192505050801561184b575060015b1561099e575050565b60065461186c9030906001600160a01b031684610e5b565b600654600e5460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1935050505080156118f8575060408051601f3d908101601f191682019092526118f591810190611bfd565b60015b1561099e575050505050565b5f602080835283518060208501525f5b8181101561193057858101830151858201604001528201611914565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610827575f80fd5b5f8060408385031215611975575f80fd5b823561198081611950565b946020939093013593505050565b5f806040838503121561199f575f80fd5b50508035926020909101359150565b5f805f606084860312156119c0575f80fd5b83356119cb81611950565b925060208401356119db81611950565b929592945050506040919091013590565b5f602082840312156119fc575f80fd5b5035919050565b5f60208284031215611a13575f80fd5b81356115d781611950565b80358015158114611a2d575f80fd5b919050565b5f8060408385031215611a43575f80fd5b8235611a4e81611950565b9150611a5c60208401611a1e565b90509250929050565b5f60208284031215611a75575f80fd5b6115d782611a1e565b5f8060408385031215611a8f575f80fd5b8235611a9a81611950565b91506020830135611aaa81611950565b809150509250929050565b600181811c90821680611ac957607f821691505b602082108103611ae757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b5f82611b1b57634e487b7160e01b5f52601260045260245ffd5b500490565b5f60208284031215611b30575f80fd5b81516115d781611950565b818103818111156107a5576107a5611aed565b80820281158282048414176107a5576107a5611aed565b634e487b7160e01b5f52603260045260245ffd5b808201808211156107a5576107a5611aed565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b81811015611bdc5784516001600160a01b031683529383019391830191600101611bb7565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f60608486031215611c0f575f80fd5b835192506020840151915060408401519050925092509256fea26469706673582212200452098d08d2ed2491990b6aa9081aea86d484822d8266e3dbb71d1c5a0fb81964736f6c63430008180033

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.