ETH Price: $3,561.29 (+7.04%)

Token

Nexus Marketplace (NEXUS)
 

Overview

Max Total Supply

1,000,000 NEXUS

Holders

281

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
336.161820291992414965 NEXUS

Value
$0.00
0xde109ec43747481b5d0dfba330f740ccc8614e85
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:
NEXUS

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 9 : Nexus Marketplace.sol
// SPDX-License-Identifier: UNLICENSED

/*

Nexus provides a robust & secure on-chain Telegram marketplace.

Privately swap your ETH and other stable coins for real, usable gift cards.

Website:         https://nexusbot.io
Documentation:   https://docs.nexusbot.io
Twitter:         https://twitter.com/nexusboteth
Telegram:        https://t.me/nexusboteth
Marketplace Bot: https://t.me/nexusmarketplacebot

*/

pragma solidity 0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

contract NEXUS is ERC20 ("Nexus Marketplace", "NEXUS"), Ownable {

    // Uniswap variables
    IUniswapV2Factory public constant UNISWAP_FACTORY =
    IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f);

    IUniswapV2Router02 public constant UNISWAP_ROUTER = 
    IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);

    address public immutable UNISWAP_V2_PAIR;

    uint256 constant TOTAL_SUPPLY = 1_000_000 ether;
    uint256 public tradingOpenedOnBlock;

    bool private swapping;

    address public nexusWallet;

    bool public limitsInEffect = true;
    bool public tradingActive = false;
    bool public swapEnabled = false;
    bool public fetchFees = true;

    uint256 public maxBuy;
    uint256 public maxSell;
    uint256 public maxWallet;
    uint256 public tokenSwapThreshold;

    uint256 public buyTotalFees;
    uint256 public sellTotalFees;

    uint256 public taxedTokens;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;
    mapping(address => bool) public whitelisted;

    event EnabledTrading(bool tradingActive);
    event RemovedLimits();
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event UpdatedMaxBuy(uint256 newAmount);
    event UpdatedMaxSell(uint256 newAmount);
    event UpdatedMaxWallet(uint256 newAmount);
    event UpdatednexusWallet(address indexed newWallet);
    event MaxTransactionExclusion(address _address, bool excluded);

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiquidity
    );

    constructor(){

        _mint(msg.sender, TOTAL_SUPPLY);

        _approve(address(this), address(UNISWAP_ROUTER), ~uint256(0));

        _excludeFromMaxTransaction(address(UNISWAP_ROUTER), true);

    
        UNISWAP_V2_PAIR = UNISWAP_FACTORY.createPair(
            address(this),
            UNISWAP_ROUTER.WETH()
        );

        maxBuy = (totalSupply() * 10) / 1_000; 
        maxSell = (totalSupply() * 5) / 1_000; 
        maxWallet = (totalSupply() * 20) / 1_000; 
        tokenSwapThreshold = (totalSupply() * 55) / 10_000;

        nexusWallet = msg.sender;

        _excludeFromMaxTransaction(msg.sender, true);
        _excludeFromMaxTransaction(address(this), true);
        _excludeFromMaxTransaction(address(0xdead), true);
        excludeFromFees(msg.sender, true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0xdead), true);
    }

    receive() external payable {}


    function updateMaxBuy(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 1) / 1_000),
            "ERROR: Cannot set max buy amount lower than 0.1%"
        );
        maxBuy = newNum;
        emit UpdatedMaxBuy(maxBuy);
    }

    function updateMaxSell(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 1) / 1_000),
            "ERROR: Cannot set max sell amount lower than 0.1%"
        );
        maxSell = newNum;
        emit UpdatedMaxSell(maxSell);
    }

    function updateMaxWallet(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 3) / 1_000),
            "ERROR: cant set max wallet amount lower than 0.3%"
        );
        maxWallet = newNum;
        emit UpdatedMaxWallet(maxWallet);
    }

    function updateSwapTokensAtAmount(uint256 newAmount) external onlyOwner {
        require(
            newAmount >= (totalSupply() * 1) / 100_000,
            "ERROR: Swap amount cant be lower than 0.001% total supply."
        );
    
        tokenSwapThreshold = newAmount;
    }

    function removeLimits() external onlyOwner {
        limitsInEffect = false;
        emit RemovedLimits();
    }

    function _excludeFromMaxTransaction(
        address updAds,
        bool isExcluded
    ) private {
        _isExcludedMaxTransactionAmount[updAds] = isExcluded;
        emit MaxTransactionExclusion(updAds, isExcluded);
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function setNewFees(uint256 newBuyFees, uint256 newSellFees) external onlyOwner {
    buyTotalFees = newBuyFees;
    sellTotalFees = newSellFees;
    }

    function openTrading() public onlyOwner {
        require(tradingOpenedOnBlock == 0, "ERROR: Token is already live !");
        tradingOpenedOnBlock = block.number;
        tradingActive = true;
        swapEnabled = true;
        emit EnabledTrading(tradingActive);
    }

    function setnexusWallet(address _nexusWallet) external onlyOwner {
        require(_nexusWallet != address(0), "ERROR: _nexusWallet address cannot be 0");
        nexusWallet = payable(_nexusWallet);
        emit UpdatednexusWallet(_nexusWallet);
    }

    function getFees() internal {
        require(
            tradingOpenedOnBlock > 0, "Trading not live"
        );
        uint256 currentBlock = block.number;
        uint256 lastTierOneBlock = tradingOpenedOnBlock + 7;
        if(currentBlock <= lastTierOneBlock) {
            buyTotalFees = 20;
            sellTotalFees = 30;
        } else {
            buyTotalFees = 10;
            sellTotalFees = 15;
            fetchFees = false;
        } 
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from 0");
        require(to != address(0), "ERC20: transfer to 0");
        require(amount > 0, "amt must be over than 0");

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                to != address(0xdead)
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedMaxTransactionAmount[from] ||
                            _isExcludedMaxTransactionAmount[to],
                        "ERROR: Trading is not active."
                    );
                    require(from == owner(), "ERROR: Trading enabled");
                }

                //when buy
                if (
                    from == UNISWAP_V2_PAIR && !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxBuy,
                        "ERROR: Buy transfer amount goes past max buy."
                    );
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "ERROR: Cannot pass max wallet"
                    );
                }
                //when sell
                else if (
                    to == UNISWAP_V2_PAIR && !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxSell,
                        "ERROR: Sell amt goes past max sell."
                    );
                } else if (
                    !_isExcludedMaxTransactionAmount[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "ERROR: Cannot go above max wallet"
                    );
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= tokenSwapThreshold;

        if (
            canSwap &&
            swapEnabled &&
            !swapping &&
            !(from == UNISWAP_V2_PAIR) &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;
            swapBack();
            swapping = false;
        }

        bool takeFee = true;
    
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;
    

        if (takeFee) {

            if(fetchFees){
               getFees(); 
            }

            // Sell
            if (to == UNISWAP_V2_PAIR && sellTotalFees > 0) {
                fees = (amount * sellTotalFees) / 100;
                taxedTokens += fees;
            }
            // Buy
            else if (from == UNISWAP_V2_PAIR && buyTotalFees > 0) {
                fees = (amount * buyTotalFees) / 100;
                taxedTokens += fees;
            }

            if (fees > 0) {
                super._transfer(from, address(this), fees);
            }

            amount -= fees;
        }

        super._transfer(from, to, amount);
    }


    function swapTokensForEth(uint256 tokenAmount) private {
        
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = UNISWAP_ROUTER.WETH();

        UNISWAP_ROUTER.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, 
            path,
            address(this),
            block.timestamp
        );
    }

    function swapBack() private {

      
        uint256 contractBalance = balanceOf(address(this));

        uint256 totalTokensToSwap =  taxedTokens;

        if (contractBalance == 0 || totalTokensToSwap == 0) {
            return;
        }

        if (contractBalance > tokenSwapThreshold) {
            contractBalance = tokenSwapThreshold;
        }

        bool success;
    
        swapTokensForEth(contractBalance);

        (success, ) = address(nexusWallet).call{value: address(this).balance}("");
    }

    function rescueETH(uint256 weiAmount) external onlyOwner {
    require(weiAmount > 0, "Amount must b over 0");
    payable(owner()).transfer(weiAmount);
}

function rescueERC20(address tokenAdd, uint256 amount) external onlyOwner {
    require(tokenAdd != address(0), "wrong token address");
    require(amount > 0, "Amount must be > 0");

    IERC20(tokenAdd).transfer(owner(), amount);
}
    


}

File 2 of 9 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

File 3 of 9 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

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

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

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

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

File 4 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../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.
 *
 * By default, the owner account will be the one that deploys the contract. 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;

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

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

    /**
     * @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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 5 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.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}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * 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.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the 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 override returns (uint8) {
        return 18;
    }

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

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

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

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

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

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

File 6 of 9 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

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

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

File 7 of 9 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 8 of 9 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
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 9 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @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 amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"tradingActive","type":"bool"}],"name":"EnabledTrading","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"MaxTransactionExclusion","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":"RemovedLimits","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":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":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxBuy","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxSell","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"UpdatedMaxWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"}],"name":"UpdatednexusWallet","type":"event"},{"inputs":[],"name":"UNISWAP_FACTORY","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_ROUTER","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNISWAP_V2_PAIR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"fetchFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","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":"nexusWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAdd","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newBuyFees","type":"uint256"},{"internalType":"uint256","name":"newSellFees","type":"uint256"}],"name":"setNewFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nexusWallet","type":"address"}],"name":"setnexusWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenSwapThreshold","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":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingOpenedOnBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxSell","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040526007805463ffffffff60a81b1916630100000160a81b17905534801562000029575f80fd5b50604051806040016040528060118152602001704e65787573204d61726b6574706c61636560781b815250604051806040016040528060058152602001644e4558555360d81b815250816003908162000083919062000745565b50600462000092828262000745565b505050620000af620000a96200033860201b60201c565b6200033c565b620000c53369d3c21bcecceda10000006200038d565b620000e730737a250d5630b4cf539739df2c5dacb4c659f2488d5f1962000452565b62000108737a250d5630b4cf539739df2c5dacb4c659f2488d600162000579565b735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f6001600160a01b031663c9c6539630737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200017d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001a391906200080d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015620001ee573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200021491906200080d565b6001600160a01b03166080526103e86200022d60025490565b6200023a90600a62000850565b62000246919062000870565b6008556103e86200025660025490565b6200026390600562000850565b6200026f919062000870565b6009556103e86200027f60025490565b6200028c90601462000850565b62000298919062000870565b600a55612710620002a860025490565b620002b590603762000850565b620002c1919062000870565b600b5560078054610100600160a81b03191633610100810291909117909155620002ed90600162000579565b620002fa30600162000579565b6200030961dead600162000579565b62000316336001620005db565b62000323306001620005db565b6200033261dead6001620005db565b620008a6565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620003e95760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064015b60405180910390fd5b8060025f828254620003fc919062000890565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6001600160a01b038316620004b65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620003e0565b6001600160a01b038216620005195760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620003e0565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b0382165f81815260106020908152604091829020805460ff19168515159081179091558251938452908301527f6b4f1be9103e6cbcd38ca4a922334f2c3109b260130a6676a987f94088fd6746910160405180910390a15050565b620005e562000648565b6001600160a01b0382165f818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b505050565b6005546001600160a01b03163314620006a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620003e0565b565b634e487b7160e01b5f52604160045260245ffd5b600181811c90821680620006cf57607f821691505b602082108103620006ee57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000643575f81815260208120601f850160051c810160208610156200071c5750805b601f850160051c820191505b818110156200073d5782815560010162000728565b505050505050565b81516001600160401b03811115620007615762000761620006a6565b6200077981620007728454620006ba565b84620006f4565b602080601f831160018114620007af575f8415620007975750858301515b5f19600386901b1c1916600185901b1785556200073d565b5f85815260208120601f198616915b82811015620007df57888601518255948401946001909101908401620007be565b5085821015620007fd57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b5f602082840312156200081e575f80fd5b81516001600160a01b038116811462000835575f80fd5b9392505050565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176200086a576200086a6200083c565b92915050565b5f826200088b57634e487b7160e01b5f52601260045260245ffd5b500490565b808201808211156200086a576200086a6200083c565b6080516121d3620008e25f395f818161077201528181611508015281816116460152818161180601528181611913015261199201526121d35ff3fe608060405260043610610257575f3560e01c80638cd4426d1161013f578063c0c287eb116100b3578063d85ba06311610078578063d85ba063146106e0578063d936547e146106f5578063dd62ed3e14610723578063f2fde38b14610742578063f40acc3d14610761578063f8b45b0514610794575f80fd5b8063c0c287eb1461063b578063c74c0fac1461065f578063c9567bf914610686578063d257b34f1461069a578063d8264920146106b9575f80fd5b8063a457c2d711610104578063a457c2d71461058a578063a9059cbb146105a9578063b8eb3546146105c8578063baccf5cf146105dd578063bbc0c742146105fc578063c02466681461061c575f80fd5b80638cd4426d146104e85780638da5cb5b146105075780639164f9db1461053857806395d89b41146105575780639e252f001461056b575f80fd5b806339509351116101d65780636ddd17131161019b5780636ddd17131461044257806370a082311461046257806370db69d614610496578063715018a6146104ab578063751039fc146104bf57806376d628b7146104d3575f80fd5b806339509351146103af5780634a62bb65146103ce57806358881304146103ee5780636057b3eb1461040d5780636a486a8e1461042d575f80fd5b806310d5de531161021c57806310d5de531461031457806318160ddd146103425780631c499ab01461035657806323b872dd14610375578063313ce56714610394575f80fd5b8063038669851461026257806306fdde0314610283578063095ea7b3146102ad5780630a3b39a3146102dc5780630e300099146102ff575f80fd5b3661025e57005b5f80fd5b34801561026d575f80fd5b5061028161027c366004611ec0565b6107a9565b005b34801561028e575f80fd5b5061029761086d565b6040516102a49190611ee2565b60405180910390f35b3480156102b8575f80fd5b506102cc6102c7366004611f2d565b6108fd565b60405190151581526020016102a4565b3480156102e7575f80fd5b506102f160065481565b6040519081526020016102a4565b34801561030a575f80fd5b506102f1600b5481565b34801561031f575f80fd5b506102cc61032e366004611ec0565b60106020525f908152604090205460ff1681565b34801561034d575f80fd5b506002546102f1565b348015610361575f80fd5b50610281610370366004611f57565b610916565b348015610380575f80fd5b506102cc61038f366004611f6e565b6109e4565b34801561039f575f80fd5b50604051601281526020016102a4565b3480156103ba575f80fd5b506102cc6103c9366004611f2d565b610a07565b3480156103d9575f80fd5b506007546102cc90600160a81b900460ff1681565b3480156103f9575f80fd5b50610281610408366004611f57565b610a28565b348015610418575f80fd5b506007546102cc90600160c01b900460ff1681565b348015610438575f80fd5b506102f1600d5481565b34801561044d575f80fd5b506007546102cc90600160b81b900460ff1681565b34801561046d575f80fd5b506102f161047c366004611ec0565b6001600160a01b03165f9081526020819052604090205490565b3480156104a1575f80fd5b506102f160085481565b3480156104b6575f80fd5b50610281610aee565b3480156104ca575f80fd5b50610281610b01565b3480156104de575f80fd5b506102f1600e5481565b3480156104f3575f80fd5b50610281610502366004611f2d565b610b40565b348015610512575f80fd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020016102a4565b348015610543575f80fd5b50610281610552366004611f57565b610c6c565b348015610562575f80fd5b50610297610d33565b348015610576575f80fd5b50610281610585366004611f57565b610d42565b348015610595575f80fd5b506102cc6105a4366004611f2d565b610dcb565b3480156105b4575f80fd5b506102cc6105c3366004611f2d565b610e45565b3480156105d3575f80fd5b506102f160095481565b3480156105e8575f80fd5b506102816105f7366004611fac565b610e52565b348015610607575f80fd5b506007546102cc90600160b01b900460ff1681565b348015610627575f80fd5b50610281610636366004611fd9565b610e65565b348015610646575f80fd5b506007546105209061010090046001600160a01b031681565b34801561066a575f80fd5b50610520735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b348015610691575f80fd5b50610281610ecb565b3480156106a5575f80fd5b506102816106b4366004611f57565b610f81565b3480156106c4575f80fd5b50610520737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156106eb575f80fd5b506102f1600c5481565b348015610700575f80fd5b506102cc61070f366004611ec0565b60116020525f908152604090205460ff1681565b34801561072e575f80fd5b506102f161073d366004612010565b611025565b34801561074d575f80fd5b5061028161075c366004611ec0565b61104f565b34801561076c575f80fd5b506105207f000000000000000000000000000000000000000000000000000000000000000081565b34801561079f575f80fd5b506102f1600a5481565b6107b16110c8565b6001600160a01b03811661081c5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a205f6e6578757357616c6c657420616464726573732063616e6e60448201526606f7420626520360cc1b60648201526084015b60405180910390fd5b60078054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517f2a5e110a717bea0f0a5c3bbe55be07ca8e081fbe0ab13ca9aa668de1de838100905f90a250565b60606003805461087c9061203c565b80601f01602080910402602001604051908101604052809291908181526020018280546108a89061203c565b80156108f35780601f106108ca576101008083540402835291602001916108f3565b820191905f5260205f20905b8154815290600101906020018083116108d657829003601f168201915b5050505050905090565b5f3361090a818585611122565b60019150505b92915050565b61091e6110c8565b6103e861092a60025490565b610935906003612088565b61093f919061209f565b8110156109a85760405162461bcd60e51b815260206004820152603160248201527f4552524f523a2063616e7420736574206d61782077616c6c657420616d6f756e60448201527074206c6f776572207468616e20302e332560781b6064820152608401610813565b600a8190556040518181527f3046ad62de8b70d396246aaed19ff2559ff20df8706520cbde58320766c42762906020015b60405180910390a150565b5f336109f1858285611245565b6109fc8585856112bd565b506001949350505050565b5f3361090a818585610a198383611025565b610a2391906120be565b611122565b610a306110c8565b6103e8610a3c60025490565b610a47906001612088565b610a51919061209f565b811015610ab95760405162461bcd60e51b815260206004820152603060248201527f4552524f523a2043616e6e6f7420736574206d61782062757920616d6f756e7460448201526f206c6f776572207468616e20302e312560801b6064820152608401610813565b60088190556040518181527fc33b8db52e9d66d369a22d8f3a3add75239d75a591361da3ee15972003b2e438906020016109d9565b610af66110c8565b610aff5f611a3c565b565b610b096110c8565b6007805460ff60a81b191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a1565b610b486110c8565b6001600160a01b038216610b945760405162461bcd60e51b815260206004820152601360248201527277726f6e6720746f6b656e206164647265737360681b6044820152606401610813565b5f8111610bd85760405162461bcd60e51b81526020600482015260126024820152710416d6f756e74206d757374206265203e20360741b6044820152606401610813565b816001600160a01b031663a9059cbb610bf96005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015610c43573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6791906120d1565b505050565b610c746110c8565b6103e8610c8060025490565b610c8b906001612088565b610c95919061209f565b811015610cfe5760405162461bcd60e51b815260206004820152603160248201527f4552524f523a2043616e6e6f7420736574206d61782073656c6c20616d6f756e60448201527074206c6f776572207468616e20302e312560781b6064820152608401610813565b60098190556040518181527fb9e766275e735601d70cbcec66214efa3a1fc0ae7db7746c15bce599c16b82f8906020016109d9565b60606004805461087c9061203c565b610d4a6110c8565b5f8111610d905760405162461bcd60e51b81526020600482015260146024820152730416d6f756e74206d7573742062206f76657220360641b6044820152606401610813565b6005546040516001600160a01b039091169082156108fc029083905f818181858888f19350505050158015610dc7573d5f803e3d5ffd5b5050565b5f3381610dd88286611025565b905083811015610e385760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610813565b6109fc8286868403611122565b5f3361090a8185856112bd565b610e5a6110c8565b600c91909155600d55565b610e6d6110c8565b6001600160a01b0382165f818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610ed36110c8565b60065415610f235760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a20546f6b656e20697320616c7265616479206c697665202100006044820152606401610813565b436006556007805461010160b01b61ffff60b01b199091161790819055604051600160b01b90910460ff16151581527fe8a59d3db38e5220ac9d0f72590b7ac876e0916dc8f4db3e7614e6f91fe520899060200160405180910390a1565b610f896110c8565b620186a0610f9660025490565b610fa1906001612088565b610fab919061209f565b8110156110205760405162461bcd60e51b815260206004820152603a60248201527f4552524f523a205377617020616d6f756e742063616e74206265206c6f77657260448201527f207468616e20302e3030312520746f74616c20737570706c792e0000000000006064820152608401610813565b600b55565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6110576110c8565b6001600160a01b0381166110bc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610813565b6110c581611a3c565b50565b6005546001600160a01b03163314610aff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610813565b6001600160a01b0383166111845760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610813565b6001600160a01b0382166111e55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610813565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6112508484611025565b90505f1981146112b757818110156112aa5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610813565b6112b78484848403611122565b50505050565b6001600160a01b03831661130c5760405162461bcd60e51b8152602060048201526016602482015275045524332303a207472616e736665722066726f6d20360541b6044820152606401610813565b6001600160a01b0382166113595760405162461bcd60e51b8152602060048201526014602482015273045524332303a207472616e7366657220746f20360641b6044820152606401610813565b5f81116113a85760405162461bcd60e51b815260206004820152601760248201527f616d74206d757374206265206f766572207468616e20300000000000000000006044820152606401610813565b600754600160a81b900460ff16156117c2576005546001600160a01b038481169116148015906113e657506005546001600160a01b03838116911614155b80156113fa57506001600160a01b03821615155b801561141157506001600160a01b03821661dead14155b156117c257600754600160b01b900460ff16611506576001600160a01b0383165f9081526010602052604090205460ff168061146457506001600160a01b0382165f9081526010602052604090205460ff165b6114b05760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a2054726164696e67206973206e6f74206163746976652e0000006044820152606401610813565b6005546001600160a01b038481169116146115065760405162461bcd60e51b815260206004820152601660248201527511549493d48e88151c98591a5b99c8195b98589b195960521b6044820152606401610813565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614801561155f57506001600160a01b0382165f9081526010602052604090205460ff16155b15611644576008548111156115cc5760405162461bcd60e51b815260206004820152602d60248201527f4552524f523a20427579207472616e7366657220616d6f756e7420676f65732060448201526c3830b9ba1036b0bc10313abc9760991b6064820152608401610813565b600a546001600160a01b0383165f908152602081905260409020546115f190836120be565b111561163f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a2043616e6e6f742070617373206d61782077616c6c65740000006044820152606401610813565b6117c2565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614801561169d57506001600160a01b0383165f9081526010602052604090205460ff16155b156117005760095481111561163f5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a2053656c6c20616d7420676f65732070617374206d617820736560448201526236361760e91b6064820152608401610813565b6001600160a01b0382165f9081526010602052604090205460ff1615801561174057506001600160a01b0383165f9081526010602052604090205460ff16155b156117c257600a546001600160a01b0383165f9081526020819052604090205461176a90836120be565b11156117c25760405162461bcd60e51b815260206004820152602160248201527f4552524f523a2043616e6e6f7420676f2061626f7665206d61782077616c6c656044820152601d60fa1b6064820152608401610813565b305f90815260208190526040902054600b54811080159081906117ee5750600754600160b81b900460ff165b80156117fd575060075460ff16155b801561183b57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b801561185f57506001600160a01b0385165f908152600f602052604090205460ff16155b801561188357506001600160a01b0384165f908152600f602052604090205460ff16155b156118a8576007805460ff1916600117905561189d611a8d565b6007805460ff191690555b6001600160a01b0385165f908152600f602052604090205460019060ff16806118e857506001600160a01b0385165f908152600f602052604090205460ff165b156118f057505f5b5f8115611a2857600754600160c01b900460ff161561191157611911611b28565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b031614801561195357505f600d54115b15611990576064600d54866119689190612088565b611972919061209f565b905080600e5f82825461198591906120be565b90915550611a0a9050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316876001600160a01b03161480156119d257505f600c54115b15611a0a576064600c54866119e79190612088565b6119f1919061209f565b905080600e5f828254611a0491906120be565b90915550505b8015611a1b57611a1b873083611bb0565b611a2581866120ec565b94505b611a33878787611bb0565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b305f90815260208190526040902054600e54811580611aaa575080155b15611ab3575050565b600b54821115611ac357600b5491505b5f611acd83611d52565b6007546040516101009091046001600160a01b03169047905f81818185875af1925050503d805f8114611b1b576040519150601f19603f3d011682016040523d82523d5f602084013e611b20565b606091505b505050505050565b5f60065411611b6c5760405162461bcd60e51b815260206004820152601060248201526f54726164696e67206e6f74206c69766560801b6044820152606401610813565b60065443905f90611b7e9060076120be565b9050808211611b95576014600c55601e600d555050565b600a600c55600f600d556007805460ff60c01b191690555050565b6001600160a01b038316611c145760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610813565b6001600160a01b038216611c765760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610813565b6001600160a01b0383165f9081526020819052604090205481811015611ced5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610813565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36112b7565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611d8557611d856120ff565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611df5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e199190612113565b81600181518110611e2c57611e2c6120ff565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611e839085905f9086903090429060040161212e565b5f604051808303815f87803b158015611e9a575f80fd5b505af1158015611b20573d5f803e3d5ffd5b6001600160a01b03811681146110c5575f80fd5b5f60208284031215611ed0575f80fd5b8135611edb81611eac565b9392505050565b5f6020808352835180828501525f5b81811015611f0d57858101830151858201604001528201611ef1565b505f604082860101526040601f19601f8301168501019250505092915050565b5f8060408385031215611f3e575f80fd5b8235611f4981611eac565b946020939093013593505050565b5f60208284031215611f67575f80fd5b5035919050565b5f805f60608486031215611f80575f80fd5b8335611f8b81611eac565b92506020840135611f9b81611eac565b929592945050506040919091013590565b5f8060408385031215611fbd575f80fd5b50508035926020909101359150565b80151581146110c5575f80fd5b5f8060408385031215611fea575f80fd5b8235611ff581611eac565b9150602083013561200581611fcc565b809150509250929050565b5f8060408385031215612021575f80fd5b823561202c81611eac565b9150602083013561200581611eac565b600181811c9082168061205057607f821691505b60208210810361206e57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761091057610910612074565b5f826120b957634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561091057610910612074565b5f602082840312156120e1575f80fd5b8151611edb81611fcc565b8181038181111561091057610910612074565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612123575f80fd5b8151611edb81611eac565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561217c5784516001600160a01b031683529383019391830191600101612157565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122025c9c1cb1596ab6ba83d5f7d5485cbb1b7fd66d9b49c467a2140d22a7ed841f164736f6c63430008140033

Deployed Bytecode

0x608060405260043610610257575f3560e01c80638cd4426d1161013f578063c0c287eb116100b3578063d85ba06311610078578063d85ba063146106e0578063d936547e146106f5578063dd62ed3e14610723578063f2fde38b14610742578063f40acc3d14610761578063f8b45b0514610794575f80fd5b8063c0c287eb1461063b578063c74c0fac1461065f578063c9567bf914610686578063d257b34f1461069a578063d8264920146106b9575f80fd5b8063a457c2d711610104578063a457c2d71461058a578063a9059cbb146105a9578063b8eb3546146105c8578063baccf5cf146105dd578063bbc0c742146105fc578063c02466681461061c575f80fd5b80638cd4426d146104e85780638da5cb5b146105075780639164f9db1461053857806395d89b41146105575780639e252f001461056b575f80fd5b806339509351116101d65780636ddd17131161019b5780636ddd17131461044257806370a082311461046257806370db69d614610496578063715018a6146104ab578063751039fc146104bf57806376d628b7146104d3575f80fd5b806339509351146103af5780634a62bb65146103ce57806358881304146103ee5780636057b3eb1461040d5780636a486a8e1461042d575f80fd5b806310d5de531161021c57806310d5de531461031457806318160ddd146103425780631c499ab01461035657806323b872dd14610375578063313ce56714610394575f80fd5b8063038669851461026257806306fdde0314610283578063095ea7b3146102ad5780630a3b39a3146102dc5780630e300099146102ff575f80fd5b3661025e57005b5f80fd5b34801561026d575f80fd5b5061028161027c366004611ec0565b6107a9565b005b34801561028e575f80fd5b5061029761086d565b6040516102a49190611ee2565b60405180910390f35b3480156102b8575f80fd5b506102cc6102c7366004611f2d565b6108fd565b60405190151581526020016102a4565b3480156102e7575f80fd5b506102f160065481565b6040519081526020016102a4565b34801561030a575f80fd5b506102f1600b5481565b34801561031f575f80fd5b506102cc61032e366004611ec0565b60106020525f908152604090205460ff1681565b34801561034d575f80fd5b506002546102f1565b348015610361575f80fd5b50610281610370366004611f57565b610916565b348015610380575f80fd5b506102cc61038f366004611f6e565b6109e4565b34801561039f575f80fd5b50604051601281526020016102a4565b3480156103ba575f80fd5b506102cc6103c9366004611f2d565b610a07565b3480156103d9575f80fd5b506007546102cc90600160a81b900460ff1681565b3480156103f9575f80fd5b50610281610408366004611f57565b610a28565b348015610418575f80fd5b506007546102cc90600160c01b900460ff1681565b348015610438575f80fd5b506102f1600d5481565b34801561044d575f80fd5b506007546102cc90600160b81b900460ff1681565b34801561046d575f80fd5b506102f161047c366004611ec0565b6001600160a01b03165f9081526020819052604090205490565b3480156104a1575f80fd5b506102f160085481565b3480156104b6575f80fd5b50610281610aee565b3480156104ca575f80fd5b50610281610b01565b3480156104de575f80fd5b506102f1600e5481565b3480156104f3575f80fd5b50610281610502366004611f2d565b610b40565b348015610512575f80fd5b506005546001600160a01b03165b6040516001600160a01b0390911681526020016102a4565b348015610543575f80fd5b50610281610552366004611f57565b610c6c565b348015610562575f80fd5b50610297610d33565b348015610576575f80fd5b50610281610585366004611f57565b610d42565b348015610595575f80fd5b506102cc6105a4366004611f2d565b610dcb565b3480156105b4575f80fd5b506102cc6105c3366004611f2d565b610e45565b3480156105d3575f80fd5b506102f160095481565b3480156105e8575f80fd5b506102816105f7366004611fac565b610e52565b348015610607575f80fd5b506007546102cc90600160b01b900460ff1681565b348015610627575f80fd5b50610281610636366004611fd9565b610e65565b348015610646575f80fd5b506007546105209061010090046001600160a01b031681565b34801561066a575f80fd5b50610520735c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b348015610691575f80fd5b50610281610ecb565b3480156106a5575f80fd5b506102816106b4366004611f57565b610f81565b3480156106c4575f80fd5b50610520737a250d5630b4cf539739df2c5dacb4c659f2488d81565b3480156106eb575f80fd5b506102f1600c5481565b348015610700575f80fd5b506102cc61070f366004611ec0565b60116020525f908152604090205460ff1681565b34801561072e575f80fd5b506102f161073d366004612010565b611025565b34801561074d575f80fd5b5061028161075c366004611ec0565b61104f565b34801561076c575f80fd5b506105207f0000000000000000000000004d7bbee047425e8fb42d2a0db550ff5916a91ae481565b34801561079f575f80fd5b506102f1600a5481565b6107b16110c8565b6001600160a01b03811661081c5760405162461bcd60e51b815260206004820152602760248201527f4552524f523a205f6e6578757357616c6c657420616464726573732063616e6e60448201526606f7420626520360cc1b60648201526084015b60405180910390fd5b60078054610100600160a81b0319166101006001600160a01b038416908102919091179091556040517f2a5e110a717bea0f0a5c3bbe55be07ca8e081fbe0ab13ca9aa668de1de838100905f90a250565b60606003805461087c9061203c565b80601f01602080910402602001604051908101604052809291908181526020018280546108a89061203c565b80156108f35780601f106108ca576101008083540402835291602001916108f3565b820191905f5260205f20905b8154815290600101906020018083116108d657829003601f168201915b5050505050905090565b5f3361090a818585611122565b60019150505b92915050565b61091e6110c8565b6103e861092a60025490565b610935906003612088565b61093f919061209f565b8110156109a85760405162461bcd60e51b815260206004820152603160248201527f4552524f523a2063616e7420736574206d61782077616c6c657420616d6f756e60448201527074206c6f776572207468616e20302e332560781b6064820152608401610813565b600a8190556040518181527f3046ad62de8b70d396246aaed19ff2559ff20df8706520cbde58320766c42762906020015b60405180910390a150565b5f336109f1858285611245565b6109fc8585856112bd565b506001949350505050565b5f3361090a818585610a198383611025565b610a2391906120be565b611122565b610a306110c8565b6103e8610a3c60025490565b610a47906001612088565b610a51919061209f565b811015610ab95760405162461bcd60e51b815260206004820152603060248201527f4552524f523a2043616e6e6f7420736574206d61782062757920616d6f756e7460448201526f206c6f776572207468616e20302e312560801b6064820152608401610813565b60088190556040518181527fc33b8db52e9d66d369a22d8f3a3add75239d75a591361da3ee15972003b2e438906020016109d9565b610af66110c8565b610aff5f611a3c565b565b610b096110c8565b6007805460ff60a81b191690556040517fa4ffae85e880608d5d4365c2b682786545d136145537788e7e0940dff9f0b98c905f90a1565b610b486110c8565b6001600160a01b038216610b945760405162461bcd60e51b815260206004820152601360248201527277726f6e6720746f6b656e206164647265737360681b6044820152606401610813565b5f8111610bd85760405162461bcd60e51b81526020600482015260126024820152710416d6f756e74206d757374206265203e20360741b6044820152606401610813565b816001600160a01b031663a9059cbb610bf96005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303815f875af1158015610c43573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c6791906120d1565b505050565b610c746110c8565b6103e8610c8060025490565b610c8b906001612088565b610c95919061209f565b811015610cfe5760405162461bcd60e51b815260206004820152603160248201527f4552524f523a2043616e6e6f7420736574206d61782073656c6c20616d6f756e60448201527074206c6f776572207468616e20302e312560781b6064820152608401610813565b60098190556040518181527fb9e766275e735601d70cbcec66214efa3a1fc0ae7db7746c15bce599c16b82f8906020016109d9565b60606004805461087c9061203c565b610d4a6110c8565b5f8111610d905760405162461bcd60e51b81526020600482015260146024820152730416d6f756e74206d7573742062206f76657220360641b6044820152606401610813565b6005546040516001600160a01b039091169082156108fc029083905f818181858888f19350505050158015610dc7573d5f803e3d5ffd5b5050565b5f3381610dd88286611025565b905083811015610e385760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610813565b6109fc8286868403611122565b5f3361090a8185856112bd565b610e5a6110c8565b600c91909155600d55565b610e6d6110c8565b6001600160a01b0382165f818152600f6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610ed36110c8565b60065415610f235760405162461bcd60e51b815260206004820152601e60248201527f4552524f523a20546f6b656e20697320616c7265616479206c697665202100006044820152606401610813565b436006556007805461010160b01b61ffff60b01b199091161790819055604051600160b01b90910460ff16151581527fe8a59d3db38e5220ac9d0f72590b7ac876e0916dc8f4db3e7614e6f91fe520899060200160405180910390a1565b610f896110c8565b620186a0610f9660025490565b610fa1906001612088565b610fab919061209f565b8110156110205760405162461bcd60e51b815260206004820152603a60248201527f4552524f523a205377617020616d6f756e742063616e74206265206c6f77657260448201527f207468616e20302e3030312520746f74616c20737570706c792e0000000000006064820152608401610813565b600b55565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b6110576110c8565b6001600160a01b0381166110bc5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610813565b6110c581611a3c565b50565b6005546001600160a01b03163314610aff5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610813565b6001600160a01b0383166111845760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610813565b6001600160a01b0382166111e55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610813565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6112508484611025565b90505f1981146112b757818110156112aa5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610813565b6112b78484848403611122565b50505050565b6001600160a01b03831661130c5760405162461bcd60e51b8152602060048201526016602482015275045524332303a207472616e736665722066726f6d20360541b6044820152606401610813565b6001600160a01b0382166113595760405162461bcd60e51b8152602060048201526014602482015273045524332303a207472616e7366657220746f20360641b6044820152606401610813565b5f81116113a85760405162461bcd60e51b815260206004820152601760248201527f616d74206d757374206265206f766572207468616e20300000000000000000006044820152606401610813565b600754600160a81b900460ff16156117c2576005546001600160a01b038481169116148015906113e657506005546001600160a01b03838116911614155b80156113fa57506001600160a01b03821615155b801561141157506001600160a01b03821661dead14155b156117c257600754600160b01b900460ff16611506576001600160a01b0383165f9081526010602052604090205460ff168061146457506001600160a01b0382165f9081526010602052604090205460ff165b6114b05760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a2054726164696e67206973206e6f74206163746976652e0000006044820152606401610813565b6005546001600160a01b038481169116146115065760405162461bcd60e51b815260206004820152601660248201527511549493d48e88151c98591a5b99c8195b98589b195960521b6044820152606401610813565b7f0000000000000000000000004d7bbee047425e8fb42d2a0db550ff5916a91ae46001600160a01b0316836001600160a01b031614801561155f57506001600160a01b0382165f9081526010602052604090205460ff16155b15611644576008548111156115cc5760405162461bcd60e51b815260206004820152602d60248201527f4552524f523a20427579207472616e7366657220616d6f756e7420676f65732060448201526c3830b9ba1036b0bc10313abc9760991b6064820152608401610813565b600a546001600160a01b0383165f908152602081905260409020546115f190836120be565b111561163f5760405162461bcd60e51b815260206004820152601d60248201527f4552524f523a2043616e6e6f742070617373206d61782077616c6c65740000006044820152606401610813565b6117c2565b7f0000000000000000000000004d7bbee047425e8fb42d2a0db550ff5916a91ae46001600160a01b0316826001600160a01b031614801561169d57506001600160a01b0383165f9081526010602052604090205460ff16155b156117005760095481111561163f5760405162461bcd60e51b815260206004820152602360248201527f4552524f523a2053656c6c20616d7420676f65732070617374206d617820736560448201526236361760e91b6064820152608401610813565b6001600160a01b0382165f9081526010602052604090205460ff1615801561174057506001600160a01b0383165f9081526010602052604090205460ff16155b156117c257600a546001600160a01b0383165f9081526020819052604090205461176a90836120be565b11156117c25760405162461bcd60e51b815260206004820152602160248201527f4552524f523a2043616e6e6f7420676f2061626f7665206d61782077616c6c656044820152601d60fa1b6064820152608401610813565b305f90815260208190526040902054600b54811080159081906117ee5750600754600160b81b900460ff165b80156117fd575060075460ff16155b801561183b57507f0000000000000000000000004d7bbee047425e8fb42d2a0db550ff5916a91ae46001600160a01b0316856001600160a01b031614155b801561185f57506001600160a01b0385165f908152600f602052604090205460ff16155b801561188357506001600160a01b0384165f908152600f602052604090205460ff16155b156118a8576007805460ff1916600117905561189d611a8d565b6007805460ff191690555b6001600160a01b0385165f908152600f602052604090205460019060ff16806118e857506001600160a01b0385165f908152600f602052604090205460ff165b156118f057505f5b5f8115611a2857600754600160c01b900460ff161561191157611911611b28565b7f0000000000000000000000004d7bbee047425e8fb42d2a0db550ff5916a91ae46001600160a01b0316866001600160a01b031614801561195357505f600d54115b15611990576064600d54866119689190612088565b611972919061209f565b905080600e5f82825461198591906120be565b90915550611a0a9050565b7f0000000000000000000000004d7bbee047425e8fb42d2a0db550ff5916a91ae46001600160a01b0316876001600160a01b03161480156119d257505f600c54115b15611a0a576064600c54866119e79190612088565b6119f1919061209f565b905080600e5f828254611a0491906120be565b90915550505b8015611a1b57611a1b873083611bb0565b611a2581866120ec565b94505b611a33878787611bb0565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b305f90815260208190526040902054600e54811580611aaa575080155b15611ab3575050565b600b54821115611ac357600b5491505b5f611acd83611d52565b6007546040516101009091046001600160a01b03169047905f81818185875af1925050503d805f8114611b1b576040519150601f19603f3d011682016040523d82523d5f602084013e611b20565b606091505b505050505050565b5f60065411611b6c5760405162461bcd60e51b815260206004820152601060248201526f54726164696e67206e6f74206c69766560801b6044820152606401610813565b60065443905f90611b7e9060076120be565b9050808211611b95576014600c55601e600d555050565b600a600c55600f600d556007805460ff60c01b191690555050565b6001600160a01b038316611c145760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610813565b6001600160a01b038216611c765760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610813565b6001600160a01b0383165f9081526020819052604090205481811015611ced5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610813565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36112b7565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611d8557611d856120ff565b60200260200101906001600160a01b031690816001600160a01b031681525050737a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611df5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611e199190612113565b81600181518110611e2c57611e2c6120ff565b6001600160a01b039092166020928302919091019091015260405163791ac94760e01b8152737a250d5630b4cf539739df2c5dacb4c659f2488d9063791ac94790611e839085905f9086903090429060040161212e565b5f604051808303815f87803b158015611e9a575f80fd5b505af1158015611b20573d5f803e3d5ffd5b6001600160a01b03811681146110c5575f80fd5b5f60208284031215611ed0575f80fd5b8135611edb81611eac565b9392505050565b5f6020808352835180828501525f5b81811015611f0d57858101830151858201604001528201611ef1565b505f604082860101526040601f19601f8301168501019250505092915050565b5f8060408385031215611f3e575f80fd5b8235611f4981611eac565b946020939093013593505050565b5f60208284031215611f67575f80fd5b5035919050565b5f805f60608486031215611f80575f80fd5b8335611f8b81611eac565b92506020840135611f9b81611eac565b929592945050506040919091013590565b5f8060408385031215611fbd575f80fd5b50508035926020909101359150565b80151581146110c5575f80fd5b5f8060408385031215611fea575f80fd5b8235611ff581611eac565b9150602083013561200581611fcc565b809150509250929050565b5f8060408385031215612021575f80fd5b823561202c81611eac565b9150602083013561200581611eac565b600181811c9082168061205057607f821691505b60208210810361206e57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141761091057610910612074565b5f826120b957634e487b7160e01b5f52601260045260245ffd5b500490565b8082018082111561091057610910612074565b5f602082840312156120e1575f80fd5b8151611edb81611fcc565b8181038181111561091057610910612074565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215612123575f80fd5b8151611edb81611eac565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b8181101561217c5784516001600160a01b031683529383019391830191600101612157565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122025c9c1cb1596ab6ba83d5f7d5485cbb1b7fd66d9b49c467a2140d22a7ed841f164736f6c63430008140033

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.