ETH Price: $3,290.37 (-0.55%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve213813932024-12-11 19:36:5929 days ago1733945819IN
0x68015F90...1545466Ca
0 ETH0.0007724831.75291766
Approve210592002024-10-27 19:56:5974 days ago1730059019IN
0x68015F90...1545466Ca
0 ETH0.000137715.6608592
Approve210591982024-10-27 19:56:3574 days ago1730058995IN
0x68015F90...1545466Ca
0 ETH0.00014115.8
Approve210591962024-10-27 19:56:1174 days ago1730058971IN
0x68015F90...1545466Ca
0 ETH0.000140755.8
Approve210591952024-10-27 19:55:5974 days ago1730058959IN
0x68015F90...1545466Ca
0 ETH0.00014115.8
Approve205666082024-08-20 1:39:23143 days ago1724117963IN
0x68015F90...1545466Ca
0 ETH0.000131445.40320012
Transfer199098182024-05-20 8:02:35235 days ago1716192155IN
0x68015F90...1545466Ca
0 ETH0.000361264.75004755
Approve193065422024-02-25 18:59:47319 days ago1708887587IN
0x68015F90...1545466Ca
0 ETH0.0006563627.04634704
Approve187205282023-12-05 13:46:23401 days ago1701783983IN
0x68015F90...1545466Ca
0 ETH0.0020527884.37965065
Approve183328502023-10-12 7:29:47456 days ago1697095787IN
0x68015F90...1545466Ca
0 ETH0.000303666.52306257
Approve182636702023-10-02 15:13:35465 days ago1696259615IN
0x68015F90...1545466Ca
0 ETH0.0007707916.55781234
Approve182406112023-09-29 9:54:59468 days ago1695981299IN
0x68015F90...1545466Ca
0 ETH0.000214628.84397251
Approve181494862023-09-16 15:07:47481 days ago1694876867IN
0x68015F90...1545466Ca
0 ETH0.0006897914.81769916
Approve181228982023-09-12 21:21:59485 days ago1694553719IN
0x68015F90...1545466Ca
0 ETH0.0005682812.20745314
Approve181134902023-09-11 13:44:23486 days ago1694439863IN
0x68015F90...1545466Ca
0 ETH0.0007847416.95348622
Approve180478462023-09-02 9:09:47495 days ago1693645787IN
0x68015F90...1545466Ca
0 ETH0.0004974910.68678788
Approve180298042023-08-30 20:30:35498 days ago1693427435IN
0x68015F90...1545466Ca
0 ETH0.0016096534.78378498
Approve180285572023-08-30 16:19:11498 days ago1693412351IN
0x68015F90...1545466Ca
0 ETH0.0022618948.86564638
Transfer180278842023-08-30 14:03:11498 days ago1693404191IN
0x68015F90...1545466Ca
0 ETH0.0015278627.28762256
Transfer180278642023-08-30 13:59:11498 days ago1693403951IN
0x68015F90...1545466Ca
0 ETH0.0014623326.11731006
Transfer180278482023-08-30 13:55:59498 days ago1693403759IN
0x68015F90...1545466Ca
0 ETH0.001447325.84889249
Transfer180278432023-08-30 13:54:59498 days ago1693403699IN
0x68015F90...1545466Ca
0 ETH0.00183425.86235015
Approve180278202023-08-30 13:50:23498 days ago1693403423IN
0x68015F90...1545466Ca
0 ETH0.0012674727.22715923
Approve180274522023-08-30 12:35:59498 days ago1693398959IN
0x68015F90...1545466Ca
0 ETH0.001106623.77140211
Approve180273632023-08-30 12:18:11498 days ago1693397891IN
0x68015F90...1545466Ca
0 ETH0.0009743820.93110452
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
181229012023-09-12 21:22:35485 days ago1694553755
0x68015F90...1545466Ca
0.0018633 ETH
181229012023-09-12 21:22:35485 days ago1694553755
0x68015F90...1545466Ca
0.00046582 ETH
181229012023-09-12 21:22:35485 days ago1694553755
0x68015F90...1545466Ca
0.00232913 ETH
181134922023-09-11 13:44:47486 days ago1694439887
0x68015F90...1545466Ca
0.00191938 ETH
181134922023-09-11 13:44:47486 days ago1694439887
0x68015F90...1545466Ca
0.00047984 ETH
181134922023-09-11 13:44:47486 days ago1694439887
0x68015F90...1545466Ca
0.00239923 ETH
180295222023-08-30 19:33:47498 days ago1693424027
0x68015F90...1545466Ca
0.00212354 ETH
180295222023-08-30 19:33:47498 days ago1693424027
0x68015F90...1545466Ca
0.00053088 ETH
180295222023-08-30 19:33:47498 days ago1693424027
0x68015F90...1545466Ca
0.00265442 ETH
180285602023-08-30 16:19:47498 days ago1693412387
0x68015F90...1545466Ca
0.00327797 ETH
180285602023-08-30 16:19:47498 days ago1693412387
0x68015F90...1545466Ca
0.00081949 ETH
180285602023-08-30 16:19:47498 days ago1693412387
0x68015F90...1545466Ca
0.00409746 ETH
180274712023-08-30 12:39:47498 days ago1693399187
0x68015F90...1545466Ca
0.00393851 ETH
180274712023-08-30 12:39:47498 days ago1693399187
0x68015F90...1545466Ca
0.00098462 ETH
180274712023-08-30 12:39:47498 days ago1693399187
0x68015F90...1545466Ca
0.00492313 ETH
180273652023-08-30 12:18:35498 days ago1693397915
0x68015F90...1545466Ca
0.00291179 ETH
180273652023-08-30 12:18:35498 days ago1693397915
0x68015F90...1545466Ca
0.00072794 ETH
180273652023-08-30 12:18:35498 days ago1693397915
0x68015F90...1545466Ca
0.00363974 ETH
180269522023-08-30 10:53:59498 days ago1693392839
0x68015F90...1545466Ca
0.00751302 ETH
180269522023-08-30 10:53:59498 days ago1693392839
0x68015F90...1545466Ca
0.00187825 ETH
180269522023-08-30 10:53:59498 days ago1693392839
0x68015F90...1545466Ca
0.00939128 ETH
180261722023-08-30 8:17:23499 days ago1693383443
0x68015F90...1545466Ca
0.00807972 ETH
180261722023-08-30 8:17:23499 days ago1693383443
0x68015F90...1545466Ca
0.00201993 ETH
180261722023-08-30 8:17:23499 days ago1693383443
0x68015F90...1545466Ca
0.01009965 ETH
180260842023-08-30 7:59:35499 days ago1693382375
0x68015F90...1545466Ca
0.00857738 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TAGIToken

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : TAGIToken.sol
/*
    Twitter:    https://twitter.com/TagAI_Tech
    TG:         https://t.me/tagai_techERC
    Website:    https://tag-ai.tech/
*/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.18;

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

contract TAGIToken is ERC20, Ownable {
    using Address for address payable;

    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    mapping(address => bool) private _isExcludedFromFees;

    uint256 public feesOnBuy;
    uint256 public feesOnSell;

    uint256 private liquidityProvider;

    address public tagAIWallet;
    address private _liquidityProviderWallet;

    uint256 public swapTokensAtAmount;
    bool private swapping;

    bool public swapEnabled;

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event TagAIWalletChanged(address tagAIWallet);
    event LiquiditydWalletChanged(address _liquidityProviderWallet);
    event UpdateFees(uint256 feesOnBuy, uint256 feesOnSell);
    event SwapAndSendTagAI(uint256 tokensSwapped, uint256 bnbSend);
    event SwapTokensAtAmountUpdated(uint256 swapTokensAtAmount);

    error LiquidityProviderUnauthorizedAccount(address account);

    modifier onlyLiquidityProvider() {
        _checkLiquidityProvider();
        _;
    }

    constructor() ERC20("TAG-AI Technology", "TAGI") {
        if (block.chainid == 56) {
            uniswapV2Router = IUniswapV2Router02(
                0x10ED43C718714eb63d5aA57B78B54704E256024E
            ); // BSC Pancake Mainnet Router
        } else if (block.chainid == 97) {
            uniswapV2Router = IUniswapV2Router02(
                0xD99D1c33F9fC3444f8101754aBC46c52416550D1
            ); // BSC Pancake Testnet Router
        } else if (block.chainid == 1 || block.chainid == 5) {
            uniswapV2Router = IUniswapV2Router02(
                0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
            ); // ETH Uniswap Mainnet % Testnet
        } else {
            revert();
        }

        _approve(address(this), address(uniswapV2Router), type(uint256).max);

        feesOnBuy = 5;
        feesOnSell = 5;

        tagAIWallet = 0xfc361808CB49577742Ad927d76c795c210ED8359;
        _liquidityProviderWallet = 0x443634DcD7543AB0Bf11Bd3f0ee8aaBF79e8549A; //redemitdaoinvestments.eth

        _isExcludedFromMaxWalletLimit[owner()] = true;
        _isExcludedFromMaxWalletLimit[address(this)] = true;
        _isExcludedFromMaxWalletLimit[address(0xdead)] = true;
        _isExcludedFromMaxWalletLimit[tagAIWallet] = true;
        _isExcludedFromMaxWalletLimit[_liquidityProviderWallet] = true;
        _isExcludedFromMaxWalletLimit[
            0xE77dF2aB21c1CCDea839f40BD7Aab674ebA9Ae80
        ] = true;
        _isExcludedFromMaxWalletLimit[
            0x97BC47f8169c3a49B46CB4EBe634AbEdB291E047
        ] = true;

        _isExcludedFromFees[owner()] = true;
        _isExcludedFromFees[address(0xdead)] = true;
        _isExcludedFromFees[address(this)] = true;
        _isExcludedFromFees[_liquidityProviderWallet] = true;
        _isExcludedFromFees[0xE77dF2aB21c1CCDea839f40BD7Aab674ebA9Ae80] = true;
        _isExcludedFromFees[0x97BC47f8169c3a49B46CB4EBe634AbEdB291E047] = true;

        _mint(owner(), 1e6 * (10**decimals()));
        swapTokensAtAmount = totalSupply() / 5_000;

        maxWalletAmount = (totalSupply() * 20) / 1000;

        tradingEnabled = false;
        swapEnabled = false;
    }

    receive() external payable {}

    function claimStuckTokens(address token) external onlyOwner {
        if (token == address(0x0)) {
            payable(msg.sender).sendValue(address(this).balance);
            return;
        }
        IERC20 ERC20token = IERC20(token);
        uint256 balance = ERC20token.balanceOf(address(this));
        ERC20token.transfer(msg.sender, balance);
    }

    function _checkLiquidityProvider() internal view virtual {
        if (liquidityProviderWallet() != _msgSender()) {
            revert LiquidityProviderUnauthorizedAccount(_msgSender());
        }
    }

    function liquidityProviderWallet() public view virtual returns (address) {
        return _liquidityProviderWallet;
    }

    function excludeFromFees(address account, bool excluded)
        external
        onlyOwner
    {
        require(
            _isExcludedFromFees[account] != excluded,
            "Account is already the value of 'excluded'"
        );
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    function updateFees(uint256 _feesOnSell, uint256 _feesOnBuy)
        external
        onlyOwner
    {
        require(_feesOnSell <= feesOnSell, "You can only decrease the fees");
        require(_feesOnBuy <= feesOnBuy, "You can only decrease the fees");

        feesOnSell = _feesOnSell;
        feesOnBuy = _feesOnBuy;

        emit UpdateFees(feesOnSell, feesOnBuy);
    }

    function changeTagAIWallet(address _tagAIWallet) external onlyOwner {
        require(
            _tagAIWallet != tagAIWallet,
            "TagAI wallet is already that address"
        );
        require(
            _tagAIWallet != address(0),
            "TagAI wallet cannot be the zero address"
        );
        tagAIWallet = _tagAIWallet;

        emit TagAIWalletChanged(tagAIWallet);
    }

    function changeLiquidityWallet(address liquidityProviderWallet_)
        external
        onlyLiquidityProvider
    {
        require(
            liquidityProviderWallet_ != _liquidityProviderWallet,
            "TagAI wallet is already that address"
        );
        require(
            liquidityProviderWallet_ != address(0),
            "TagAI wallet cannot be the zero address"
        );
        _liquidityProviderWallet = liquidityProviderWallet_;

        emit LiquiditydWalletChanged(_liquidityProviderWallet);
    }

    bool public tradingEnabled;
    uint256 public tradingBlock;
    uint256 public tradingTime;

    function enableTrading() external onlyLiquidityProvider {
        require(!tradingEnabled, "Trading already enabled.");

        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(
            address(this),
            uniswapV2Router.WETH()
        );
        _approve(address(this), address(uniswapV2Pair), type(uint256).max);
        IERC20(uniswapV2Pair).approve(
            address(uniswapV2Router),
            type(uint256).max
        );

        uniswapV2Router.addLiquidityETH{value: address(this).balance}(
            address(this),
            balanceOf(address(this)),
            0,
            0,
            liquidityProviderWallet(),
            block.timestamp
        );

        maxWalletLimitEnabled = true;
        tradingEnabled = true;
        swapEnabled = true;
        tradingBlock = block.number;
        tradingTime = block.timestamp;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(
            tradingEnabled ||
                _isExcludedFromFees[from] ||
                _isExcludedFromFees[to],
            "Trading not yet enabled!"
        );

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (canSwap && !swapping && to == uniswapV2Pair && swapEnabled) {
            swapping = true;

            swapAndSendTagAI(contractTokenBalance);

            swapping = false;
        }

        uint256 feeOnBuy;
        uint256 feeOnSell;

        if (block.timestamp > tradingTime + (60 minutes)) {
            // Stage normal
            feeOnBuy = feesOnBuy;
            feeOnSell = feesOnSell;
        } else if (block.timestamp > tradingTime + (50 minutes)) {
            // Stage 5
            feeOnBuy = 10;
            feeOnSell = 15;
        } else if (block.timestamp > tradingTime + (40 minutes)) {
            // Stage 4
            feeOnBuy = 15;
            feeOnSell = 25;
        } else if (block.timestamp > tradingTime + (30 minutes)) {
            // Stage 3
            feeOnBuy = 20;
            feeOnSell = 30;
        } else if (block.timestamp > tradingTime + (20 minutes)) {
            // Stage 2
            feeOnBuy = 30;
            feeOnSell = 35;
        } else {
            // Stage 1
            feeOnBuy = 35;
            feeOnSell = 39;
        }

        uint256 _totalFees;
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to] || swapping) {
            _totalFees = 0;
        } else if (from == uniswapV2Pair) {
            if (block.number <= tradingBlock) {
                _totalFees = 99;
            } else {
                _totalFees = feeOnBuy;
            }
        } else if (to == uniswapV2Pair) {
            _totalFees = feeOnSell;
        } else {
            _totalFees = 0;
        }

        if (_totalFees > 0) {
            uint256 fees = (amount * _totalFees) / 100;
            amount = amount - fees;
            super._transfer(from, address(this), fees);

            liquidityProvider += fees / 5;
        }

        if (maxWalletLimitEnabled) {
            if (
                !_isExcludedFromMaxWalletLimit[from] &&
                !_isExcludedFromMaxWalletLimit[to] &&
                to != uniswapV2Pair
            ) {
                uint256 balance = balanceOf(to);
                require(
                    balance + amount <= maxWalletAmount,
                    "MaxWallet: Recipient exceeds the maxWalletAmount"
                );
            }
        }

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

    function setSwapEnabled(bool _enabled) external onlyOwner {
        require(swapEnabled != _enabled, "swapEnabled already at this state.");
        swapEnabled = _enabled;
    }

    function setSwapTokensAtAmount(uint256 newAmount) external onlyOwner {
        require(
            newAmount >= totalSupply() / 1_000_000,
            "SwapTokensAtAmount must be greater than 0.0001% of total supply"
        );
        require(
            newAmount <= totalSupply() / 1_000,
            "SwapTokensAtAmount must be greater than 0.1% of total supply"
        );
        swapTokensAtAmount = newAmount;

        emit SwapTokensAtAmountUpdated(swapTokensAtAmount);
    }

    function swapAndSendTagAI(uint256 tokenAmount) private {
        uint256 initialBalance = address(this).balance;

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

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

        uint256 newBalance = address(this).balance - initialBalance;
        uint256 liquidityProviderAmount = (newBalance * liquidityProvider) /
            tokenAmount;

        payable(_liquidityProviderWallet).sendValue(liquidityProviderAmount);
        payable(tagAIWallet).sendValue(address(this).balance);

        liquidityProvider = 0;

        emit SwapAndSendTagAI(tokenAmount, newBalance);
    }

    mapping(address => bool) private _isExcludedFromMaxWalletLimit;
    bool public maxWalletLimitEnabled;
    uint256 public maxWalletAmount;

    event ExcludedFromMaxWalletLimit(address indexed account, bool isExcluded);
    event MaxWalletLimitStateChanged(bool maxWalletLimit);
    event MaxWalletLimitAmountChanged(uint256 maxWalletAmount);

    function setEnableMaxWalletLimit(bool enable) external onlyOwner {
        require(
            enable != maxWalletLimitEnabled,
            "Max wallet limit is already set to that state"
        );
        maxWalletLimitEnabled = enable;

        emit MaxWalletLimitStateChanged(maxWalletLimitEnabled);
    }

    function excludeFromMaxWallet(address account, bool exclude)
        external
        onlyOwner
    {
        require(
            _isExcludedFromMaxWalletLimit[account] != exclude,
            "Account is already set to that state"
        );
        require(account != address(this), "Can't set this address.");

        _isExcludedFromMaxWalletLimit[account] = exclude;

        emit ExcludedFromMaxWalletLimit(account, exclude);
    }

    function isExcludedFromMaxWalletLimit(address account)
        public
        view
        returns (bool)
    {
        return _isExcludedFromMaxWalletLimit[account];
    }
}

File 2 of 10 : 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 10 : 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 10 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 5 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.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].
 *
 * 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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 value {ERC20} uses, unless this function is
     * 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 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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 7 of 10 : 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 8 of 10 : 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 9 of 10 : 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 10 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"LiquidityProviderUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludedFromMaxWalletLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_liquidityProviderWallet","type":"address"}],"name":"LiquiditydWalletChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxWalletAmount","type":"uint256"}],"name":"MaxWalletLimitAmountChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"maxWalletLimit","type":"bool"}],"name":"MaxWalletLimitStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bnbSend","type":"uint256"}],"name":"SwapAndSendTagAI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"swapTokensAtAmount","type":"uint256"}],"name":"SwapTokensAtAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tagAIWallet","type":"address"}],"name":"TagAIWalletChanged","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":"feesOnBuy","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"feesOnSell","type":"uint256"}],"name":"UpdateFees","type":"event"},{"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":[{"internalType":"address","name":"liquidityProviderWallet_","type":"address"}],"name":"changeLiquidityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tagAIWallet","type":"address"}],"name":"changeTagAIWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"claimStuckTokens","outputs":[],"stateMutability":"nonpayable","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":[],"name":"enableTrading","outputs":[],"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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"exclude","type":"bool"}],"name":"excludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feesOnBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feesOnSell","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxWalletLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityProviderWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletLimitEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enable","type":"bool"}],"name":"setEnableMaxWalletLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","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":"tagAIWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingTime","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":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_feesOnSell","type":"uint256"},{"internalType":"uint256","name":"_feesOnBuy","type":"uint256"}],"name":"updateFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b50604051806040016040528060118152602001705441472d414920546563686e6f6c6f677960781b815250604051806040016040528060048152602001635441474960e01b81525081600390816200006a91906200074c565b5060046200007982826200074c565b50505062000096620000906200045e60201b60201c565b62000462565b46603803620000cb57600680546001600160a01b0319167310ed43c718714eb63d5aa57b78b54704e256024e17905562000147565b466061036200010057600680546001600160a01b03191673d99d1c33f9fc3444f8101754abc46c52416550d117905562000147565b4660011480620001105750466005145b156200014257600680546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d17905562000147565b600080fd5b600654620001639030906001600160a01b0316600019620004b4565b60056009819055600a55600c80546001600160a01b031990811673fc361808cb49577742ad927d76c795c210ed835917909155600d805490911673443634dcd7543ab0bf11bd3f0ee8aabf79e8549a179055600160126000620001ce6005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905530815260129093528183208054851660019081179091557f1120e10407cab1193d7c5139d9aae5536deb3d83e855f25f8e42f811c01f56f78054861682179055600c54821684528284208054861682179055600d54909116835290822080548416821790557f5fab8890f2585dbd36d21aaf7ab27673d80f1ee8645b8c7b1e662ab1fec7019280548416821790557397bc47f8169c3a49b46cb4ebe634abedb291e04782527ffa0ac216e311b15e4cc70606bfadc6eb6198372accc1f948da1a325aa6c6669f80549093168117909255600890620002e26005546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905560089093527f046fee3d77c34a6c5e10c3be6dc4b132c30449dbf4f0bc07684896dd093342998054851660019081179091553084528284208054861682179055600d54909116835290822080548416821790557f33974e5934ee25aa04deeba59be81c0f9036117f7802f6bec9c3e3d33d751b8980548416821790557397bc47f8169c3a49b46cb4ebe634abedb291e0479091527f077ea6b5a41e7fc0200b7822d9d31e2a4551ede91d7345b7b33ed1e567b078fd805490921617905562000407620003e46005546001600160a01b031690565b620003f26012600a6200092d565b6200040190620f424062000945565b620005e0565b6113886200041460025490565b6200042091906200095f565b600e556103e86200043060025490565b6200043d90601462000945565b6200044991906200095f565b601455600f805462ffff001916905562000998565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0383166200051c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b0382166200057f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000513565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038216620006385760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000513565b80600260008282546200064c919062000982565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620006d357607f821691505b602082108103620006f457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620006a357600081815260208120601f850160051c81016020861015620007235750805b601f850160051c820191505b8181101562000744578281556001016200072f565b505050505050565b81516001600160401b03811115620007685762000768620006a8565b6200078081620007798454620006be565b84620006fa565b602080601f831160018114620007b857600084156200079f5750858301515b600019600386901b1c1916600185901b17855562000744565b600085815260208120601f198616915b82811015620007e957888601518255948401946001909101908401620007c8565b5085821015620008085787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b808511156200086f57816000190482111562000853576200085362000818565b808516156200086157918102915b93841c939080029062000833565b509250929050565b600082620008885750600162000927565b81620008975750600062000927565b8160018114620008b05760028114620008bb57620008db565b600191505062000927565b60ff841115620008cf57620008cf62000818565b50506001821b62000927565b5060208310610133831016604e8410600b841016171562000900575081810a62000927565b6200090c83836200082e565b806000190482111562000923576200092362000818565b0290505b92915050565b60006200093e60ff84168362000877565b9392505050565b808202811582820484141762000927576200092762000818565b6000826200097d57634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000927576200092762000818565b6124a180620009a86000396000f3fe6080604052600436106102345760003560e01c80637ba54f1f1161012e578063c0246668116100ab578063e01af92c1161006f578063e01af92c146106a8578063e2f45605146106c8578063e4e44893146106de578063f2fde38b146106f4578063f9d0831a1461071457600080fd5b8063c024666814610612578063cd51e6d414610632578063d102565914610648578063d2fcc00114610668578063dd62ed3e1461068857600080fd5b8063a8a69b9d116100f2578063a8a69b9d1461056d578063a9059cbb146105a6578063aa4bde28146105c6578063afa4f3b2146105dc578063b8158d60146105fc57600080fd5b80637ba54f1f146104e55780638a8c523c146105055780638da5cb5b1461051a57806395d89b4114610538578063a457c2d71461054d57600080fd5b8063313ce567116101bc5780636db79437116101805780636db794371461043d5780636ddd17131461045d57806370a082311461047c578063715018a6146104b257806379243028146104c757600080fd5b8063313ce5671461038857806339509351146103a457806349bd5a5e146103c45780634ada218b146103e45780634fbee1931461040457600080fd5b806318160ddd1161020357806318160ddd146102f757806321a9d82a1461030c57806323b872dd146103265780632a6c7dba146103465780632a821d331461036857600080fd5b806306fdde0314610240578063095ea7b31461026b5780630ce302941461029b5780631694505e146102bf57600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b50610255610734565b6040516102629190611fe0565b60405180910390f35b34801561027757600080fd5b5061028b610286366004612043565b6107c6565b6040519015158152602001610262565b3480156102a757600080fd5b506102b1600a5481565b604051908152602001610262565b3480156102cb57600080fd5b506006546102df906001600160a01b031681565b6040516001600160a01b039091168152602001610262565b34801561030357600080fd5b506002546102b1565b34801561031857600080fd5b5060135461028b9060ff1681565b34801561033257600080fd5b5061028b61034136600461206f565b6107e0565b34801561035257600080fd5b506103666103613660046120be565b610804565b005b34801561037457600080fd5b50600c546102df906001600160a01b031681565b34801561039457600080fd5b5060405160128152602001610262565b3480156103b057600080fd5b5061028b6103bf366004612043565b6108cd565b3480156103d057600080fd5b506007546102df906001600160a01b031681565b3480156103f057600080fd5b50600f5461028b9062010000900460ff1681565b34801561041057600080fd5b5061028b61041f3660046120e2565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561044957600080fd5b506103666104583660046120ff565b6108ef565b34801561046957600080fd5b50600f5461028b90610100900460ff1681565b34801561048857600080fd5b506102b16104973660046120e2565b6001600160a01b031660009081526020819052604090205490565b3480156104be57600080fd5b506103666109e2565b3480156104d357600080fd5b50600d546001600160a01b03166102df565b3480156104f157600080fd5b506103666105003660046120e2565b6109f6565b34801561051157600080fd5b50610366610aa0565b34801561052657600080fd5b506005546001600160a01b03166102df565b34801561054457600080fd5b50610255610e18565b34801561055957600080fd5b5061028b610568366004612043565b610e27565b34801561057957600080fd5b5061028b6105883660046120e2565b6001600160a01b031660009081526012602052604090205460ff1690565b3480156105b257600080fd5b5061028b6105c1366004612043565b610ea2565b3480156105d257600080fd5b506102b160145481565b3480156105e857600080fd5b506103666105f7366004612121565b610eb0565b34801561060857600080fd5b506102b160115481565b34801561061e57600080fd5b5061036661062d36600461213a565b611004565b34801561063e57600080fd5b506102b160105481565b34801561065457600080fd5b506103666106633660046120e2565b6110ef565b34801561067457600080fd5b5061036661068336600461213a565b611199565b34801561069457600080fd5b506102b16106a3366004612173565b6112cd565b3480156106b457600080fd5b506103666106c33660046120be565b6112f8565b3480156106d457600080fd5b506102b1600e5481565b3480156106ea57600080fd5b506102b160095481565b34801561070057600080fd5b5061036661070f3660046120e2565b611387565b34801561072057600080fd5b5061036661072f3660046120e2565b611400565b606060038054610743906121a1565b80601f016020809104026020016040519081016040528092919081815260200182805461076f906121a1565b80156107bc5780601f10610791576101008083540402835291602001916107bc565b820191906000526020600020905b81548152906001019060200180831161079f57829003601f168201915b5050505050905090565b6000336107d4818585611507565b60019150505b92915050565b6000336107ee85828561162b565b6107f985858561169f565b506001949350505050565b61080c611ae4565b60135460ff1615158115150361087f5760405162461bcd60e51b815260206004820152602d60248201527f4d61782077616c6c6574206c696d697420697320616c7265616479207365742060448201526c746f207468617420737461746560981b60648201526084015b60405180910390fd5b6013805460ff191682151590811790915560405160ff909116151581527f670f884265aba2d05e7c26efbc42f8365effc4cb3fcfcefddba0c0b71a6231f1906020015b60405180910390a150565b6000336107d48185856108e083836112cd565b6108ea91906121f1565b611507565b6108f7611ae4565b600a548211156109495760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c7920646563726561736520746865206665657300006044820152606401610876565b60095481111561099b5760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c7920646563726561736520746865206665657300006044820152606401610876565b600a829055600981905560408051838152602081018390527f53482196ef67ac615caab1c3eca2c270acbfdcd75e57c5f24c1b98b10c8e6e04910160405180910390a15050565b6109ea611ae4565b6109f46000611b3e565b565b6109fe611b90565b600d546001600160a01b0390811690821603610a2c5760405162461bcd60e51b815260040161087690612204565b6001600160a01b038116610a525760405162461bcd60e51b815260040161087690612248565b600d80546001600160a01b0319166001600160a01b0383169081179091556040519081527fe2491a2abd15e120355965e3bef7a5e9570d67de30ffddb7fc7408d0cb5450f8906020016108c2565b610aa8611b90565b600f5462010000900460ff1615610b015760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e00000000000000006044820152606401610876565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b78919061228f565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfe919061228f565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610c4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6f919061228f565b600780546001600160a01b0319166001600160a01b03929092169182179055610c9c903090600019611507565b60075460065460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af1158015610cf2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1691906122ac565b506006546001600160a01b031663f305d7194730610d49816001600160a01b031660009081526020819052604090205490565b600080610d5e600d546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610dc6573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610deb91906122c9565b50506013805460ff1916600117905550600f80546201010062ffff00199091161790554360105542601155565b606060048054610743906121a1565b60003381610e3582866112cd565b905083811015610e955760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610876565b6107f98286868403611507565b6000336107d481858561169f565b610eb8611ae4565b620f4240610ec560025490565b610ecf91906122f7565b811015610f445760405162461bcd60e51b815260206004820152603f60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3030303125206f6620746f74616c20737570706c79006064820152608401610876565b6103e8610f5060025490565b610f5a91906122f7565b811115610fcf5760405162461bcd60e51b815260206004820152603c60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3125206f6620746f74616c20737570706c79000000006064820152608401610876565b600e8190556040518181527f7c26bfee26f82e8cb57af48f4019cc64582db6fac7bad778433f10572ae8b145906020016108c2565b61100c611ae4565b6001600160a01b03821660009081526008602052604090205481151560ff90911615150361108f5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610876565b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6110f7611ae4565b600c546001600160a01b03908116908216036111255760405162461bcd60e51b815260040161087690612204565b6001600160a01b03811661114b5760405162461bcd60e51b815260040161087690612248565b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f691131813720430ed8f046546c29598fe0be3e5b96dcf4e3cea72f62d951224c906020016108c2565b6111a1611ae4565b6001600160a01b03821660009081526012602052604090205481151560ff90911615150361121d5760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792073657420746f207468617420736044820152637461746560e01b6064820152608401610876565b306001600160a01b038316036112755760405162461bcd60e51b815260206004820152601760248201527f43616e277420736574207468697320616464726573732e0000000000000000006044820152606401610876565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f1d9a11e204b58ad56c619c61600e42167624659d218f0143f1f64956b0daae6c91016110e3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b611300611ae4565b801515600f60019054906101000a900460ff1615150361136d5760405162461bcd60e51b815260206004820152602260248201527f73776170456e61626c656420616c726561647920617420746869732073746174604482015261329760f11b6064820152608401610876565b600f80549115156101000261ff0019909216919091179055565b61138f611ae4565b6001600160a01b0381166113f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610876565b6113fd81611b3e565b50565b611408611ae4565b6001600160a01b038116611420576113fd3347611bbd565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611469573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148d9190612319565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af11580156114dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150191906122ac565b50505050565b6001600160a01b0383166115695760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610876565b6001600160a01b0382166115ca5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610876565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061163784846112cd565b9050600019811461150157818110156116925760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610876565b6115018484848403611507565b6001600160a01b0383166116c55760405162461bcd60e51b815260040161087690612332565b6001600160a01b0382166116eb5760405162461bcd60e51b815260040161087690612377565b600f5462010000900460ff168061171a57506001600160a01b03831660009081526008602052604090205460ff165b8061173d57506001600160a01b03821660009081526008602052604090205460ff165b6117895760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642100000000000000006044820152606401610876565b806000036117a25761179d83836000611cd6565b505050565b30600090815260208190526040902054600e54811080159081906117c95750600f5460ff16155b80156117e257506007546001600160a01b038581169116145b80156117f55750600f54610100900460ff165b1561181b57600f805460ff1916600117905561181082611e00565b600f805460ff191690555b600080601154610e1061182e91906121f1565b421115611842575050600954600a546118d2565b60115461185190610bb86121f1565b4211156118645750600a9050600f6118d2565b601154611873906109606121f1565b4211156118865750600f905060196118d2565b601154611895906107086121f1565b4211156118a8575060149050601e6118d2565b6011546118b7906104b06121f1565b4211156118ca5750601e905060236118d2565b506023905060275b6001600160a01b03871660009081526008602052604081205460ff168061191157506001600160a01b03871660009081526008602052604090205460ff165b8061191e5750600f5460ff165b1561192b5750600061197a565b6007546001600160a01b03908116908916036119595760105443116119525750606361197a565b508161197a565b6007546001600160a01b039081169088160361197657508061197a565b5060005b80156119d4576000606461198e83896123ba565b61199891906122f7565b90506119a481886123d1565b96506119b1893083611cd6565b6119bc6005826122f7565b600b60008282546119cd91906121f1565b9091555050505b60135460ff1615611acf576001600160a01b03881660009081526012602052604090205460ff16158015611a2157506001600160a01b03871660009081526012602052604090205460ff16155b8015611a3b57506007546001600160a01b03888116911614155b15611acf576001600160a01b038716600090815260208190526040902054601454611a6688836121f1565b1115611acd5760405162461bcd60e51b815260206004820152603060248201527f4d617857616c6c65743a20526563697069656e7420657863656564732074686560448201526f081b585e15d85b1b195d105b5bdd5b9d60821b6064820152608401610876565b505b611ada888888611cd6565b5050505050505050565b6005546001600160a01b031633146109f45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610876565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d546001600160a01b031633146109f457604051639eaab64360e01b8152336004820152602401610876565b80471015611c0d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610876565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611c5a576040519150601f19603f3d011682016040523d82523d6000602084013e611c5f565b606091505b505090508061179d5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610876565b6001600160a01b038316611cfc5760405162461bcd60e51b815260040161087690612332565b6001600160a01b038216611d225760405162461bcd60e51b815260040161087690612377565b6001600160a01b03831660009081526020819052604090205481811015611d9a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610876565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611501565b604080516002808252606082018352479260009291906020830190803683370190505090503081600081518110611e3957611e396123e4565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611e92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb6919061228f565b81600181518110611ec957611ec96123e4565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac94790611f0f9086906000908690309042906004016123fa565b600060405180830381600087803b158015611f2957600080fd5b505af1158015611f3d573d6000803e3d6000fd5b5050505060008247611f4f91906123d1565b9050600084600b5483611f6291906123ba565b611f6c91906122f7565b600d54909150611f85906001600160a01b031682611bbd565b600c54611f9b906001600160a01b031647611bbd565b6000600b5560408051868152602081018490527fd8997366d664ca4e8fa4e28941038e92f171a66e338f963b9fd8f1e796483de7910160405180910390a15050505050565b600060208083528351808285015260005b8181101561200d57858101830151858201604001528201611ff1565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146113fd57600080fd5b6000806040838503121561205657600080fd5b82356120618161202e565b946020939093013593505050565b60008060006060848603121561208457600080fd5b833561208f8161202e565b9250602084013561209f8161202e565b929592945050506040919091013590565b80151581146113fd57600080fd5b6000602082840312156120d057600080fd5b81356120db816120b0565b9392505050565b6000602082840312156120f457600080fd5b81356120db8161202e565b6000806040838503121561211257600080fd5b50508035926020909101359150565b60006020828403121561213357600080fd5b5035919050565b6000806040838503121561214d57600080fd5b82356121588161202e565b91506020830135612168816120b0565b809150509250929050565b6000806040838503121561218657600080fd5b82356121918161202e565b915060208301356121688161202e565b600181811c908216806121b557607f821691505b6020821081036121d557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107da576107da6121db565b60208082526024908201527f54616741492077616c6c657420697320616c72656164792074686174206164646040820152637265737360e01b606082015260800190565b60208082526027908201527f54616741492077616c6c65742063616e6e6f7420626520746865207a65726f206040820152666164647265737360c81b606082015260800190565b6000602082840312156122a157600080fd5b81516120db8161202e565b6000602082840312156122be57600080fd5b81516120db816120b0565b6000806000606084860312156122de57600080fd5b8351925060208401519150604084015190509250925092565b60008261231457634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561232b57600080fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b80820281158282048414176107da576107da6121db565b818103818111156107da576107da6121db565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561244a5784516001600160a01b031683529383019391830191600101612425565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220459c27dc399ce3c764ce315b48f7db473f5b295d4871e0fae5d02d86220da25264736f6c63430008120033

Deployed Bytecode

0x6080604052600436106102345760003560e01c80637ba54f1f1161012e578063c0246668116100ab578063e01af92c1161006f578063e01af92c146106a8578063e2f45605146106c8578063e4e44893146106de578063f2fde38b146106f4578063f9d0831a1461071457600080fd5b8063c024666814610612578063cd51e6d414610632578063d102565914610648578063d2fcc00114610668578063dd62ed3e1461068857600080fd5b8063a8a69b9d116100f2578063a8a69b9d1461056d578063a9059cbb146105a6578063aa4bde28146105c6578063afa4f3b2146105dc578063b8158d60146105fc57600080fd5b80637ba54f1f146104e55780638a8c523c146105055780638da5cb5b1461051a57806395d89b4114610538578063a457c2d71461054d57600080fd5b8063313ce567116101bc5780636db79437116101805780636db794371461043d5780636ddd17131461045d57806370a082311461047c578063715018a6146104b257806379243028146104c757600080fd5b8063313ce5671461038857806339509351146103a457806349bd5a5e146103c45780634ada218b146103e45780634fbee1931461040457600080fd5b806318160ddd1161020357806318160ddd146102f757806321a9d82a1461030c57806323b872dd146103265780632a6c7dba146103465780632a821d331461036857600080fd5b806306fdde0314610240578063095ea7b31461026b5780630ce302941461029b5780631694505e146102bf57600080fd5b3661023b57005b600080fd5b34801561024c57600080fd5b50610255610734565b6040516102629190611fe0565b60405180910390f35b34801561027757600080fd5b5061028b610286366004612043565b6107c6565b6040519015158152602001610262565b3480156102a757600080fd5b506102b1600a5481565b604051908152602001610262565b3480156102cb57600080fd5b506006546102df906001600160a01b031681565b6040516001600160a01b039091168152602001610262565b34801561030357600080fd5b506002546102b1565b34801561031857600080fd5b5060135461028b9060ff1681565b34801561033257600080fd5b5061028b61034136600461206f565b6107e0565b34801561035257600080fd5b506103666103613660046120be565b610804565b005b34801561037457600080fd5b50600c546102df906001600160a01b031681565b34801561039457600080fd5b5060405160128152602001610262565b3480156103b057600080fd5b5061028b6103bf366004612043565b6108cd565b3480156103d057600080fd5b506007546102df906001600160a01b031681565b3480156103f057600080fd5b50600f5461028b9062010000900460ff1681565b34801561041057600080fd5b5061028b61041f3660046120e2565b6001600160a01b031660009081526008602052604090205460ff1690565b34801561044957600080fd5b506103666104583660046120ff565b6108ef565b34801561046957600080fd5b50600f5461028b90610100900460ff1681565b34801561048857600080fd5b506102b16104973660046120e2565b6001600160a01b031660009081526020819052604090205490565b3480156104be57600080fd5b506103666109e2565b3480156104d357600080fd5b50600d546001600160a01b03166102df565b3480156104f157600080fd5b506103666105003660046120e2565b6109f6565b34801561051157600080fd5b50610366610aa0565b34801561052657600080fd5b506005546001600160a01b03166102df565b34801561054457600080fd5b50610255610e18565b34801561055957600080fd5b5061028b610568366004612043565b610e27565b34801561057957600080fd5b5061028b6105883660046120e2565b6001600160a01b031660009081526012602052604090205460ff1690565b3480156105b257600080fd5b5061028b6105c1366004612043565b610ea2565b3480156105d257600080fd5b506102b160145481565b3480156105e857600080fd5b506103666105f7366004612121565b610eb0565b34801561060857600080fd5b506102b160115481565b34801561061e57600080fd5b5061036661062d36600461213a565b611004565b34801561063e57600080fd5b506102b160105481565b34801561065457600080fd5b506103666106633660046120e2565b6110ef565b34801561067457600080fd5b5061036661068336600461213a565b611199565b34801561069457600080fd5b506102b16106a3366004612173565b6112cd565b3480156106b457600080fd5b506103666106c33660046120be565b6112f8565b3480156106d457600080fd5b506102b1600e5481565b3480156106ea57600080fd5b506102b160095481565b34801561070057600080fd5b5061036661070f3660046120e2565b611387565b34801561072057600080fd5b5061036661072f3660046120e2565b611400565b606060038054610743906121a1565b80601f016020809104026020016040519081016040528092919081815260200182805461076f906121a1565b80156107bc5780601f10610791576101008083540402835291602001916107bc565b820191906000526020600020905b81548152906001019060200180831161079f57829003601f168201915b5050505050905090565b6000336107d4818585611507565b60019150505b92915050565b6000336107ee85828561162b565b6107f985858561169f565b506001949350505050565b61080c611ae4565b60135460ff1615158115150361087f5760405162461bcd60e51b815260206004820152602d60248201527f4d61782077616c6c6574206c696d697420697320616c7265616479207365742060448201526c746f207468617420737461746560981b60648201526084015b60405180910390fd5b6013805460ff191682151590811790915560405160ff909116151581527f670f884265aba2d05e7c26efbc42f8365effc4cb3fcfcefddba0c0b71a6231f1906020015b60405180910390a150565b6000336107d48185856108e083836112cd565b6108ea91906121f1565b611507565b6108f7611ae4565b600a548211156109495760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c7920646563726561736520746865206665657300006044820152606401610876565b60095481111561099b5760405162461bcd60e51b815260206004820152601e60248201527f596f752063616e206f6e6c7920646563726561736520746865206665657300006044820152606401610876565b600a829055600981905560408051838152602081018390527f53482196ef67ac615caab1c3eca2c270acbfdcd75e57c5f24c1b98b10c8e6e04910160405180910390a15050565b6109ea611ae4565b6109f46000611b3e565b565b6109fe611b90565b600d546001600160a01b0390811690821603610a2c5760405162461bcd60e51b815260040161087690612204565b6001600160a01b038116610a525760405162461bcd60e51b815260040161087690612248565b600d80546001600160a01b0319166001600160a01b0383169081179091556040519081527fe2491a2abd15e120355965e3bef7a5e9570d67de30ffddb7fc7408d0cb5450f8906020016108c2565b610aa8611b90565b600f5462010000900460ff1615610b015760405162461bcd60e51b815260206004820152601860248201527f54726164696e6720616c726561647920656e61626c65642e00000000000000006044820152606401610876565b600660009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b54573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b78919061228f565b6001600160a01b031663c9c6539630600660009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610bda573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bfe919061228f565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015610c4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c6f919061228f565b600780546001600160a01b0319166001600160a01b03929092169182179055610c9c903090600019611507565b60075460065460405163095ea7b360e01b81526001600160a01b039182166004820152600019602482015291169063095ea7b3906044016020604051808303816000875af1158015610cf2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d1691906122ac565b506006546001600160a01b031663f305d7194730610d49816001600160a01b031660009081526020819052604090205490565b600080610d5e600d546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610dc6573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610deb91906122c9565b50506013805460ff1916600117905550600f80546201010062ffff00199091161790554360105542601155565b606060048054610743906121a1565b60003381610e3582866112cd565b905083811015610e955760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610876565b6107f98286868403611507565b6000336107d481858561169f565b610eb8611ae4565b620f4240610ec560025490565b610ecf91906122f7565b811015610f445760405162461bcd60e51b815260206004820152603f60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3030303125206f6620746f74616c20737570706c79006064820152608401610876565b6103e8610f5060025490565b610f5a91906122f7565b811115610fcf5760405162461bcd60e51b815260206004820152603c60248201527f53776170546f6b656e734174416d6f756e74206d75737420626520677265617460448201527f6572207468616e20302e3125206f6620746f74616c20737570706c79000000006064820152608401610876565b600e8190556040518181527f7c26bfee26f82e8cb57af48f4019cc64582db6fac7bad778433f10572ae8b145906020016108c2565b61100c611ae4565b6001600160a01b03821660009081526008602052604090205481151560ff90911615150361108f5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610876565b6001600160a01b038216600081815260086020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df791015b60405180910390a25050565b6110f7611ae4565b600c546001600160a01b03908116908216036111255760405162461bcd60e51b815260040161087690612204565b6001600160a01b03811661114b5760405162461bcd60e51b815260040161087690612248565b600c80546001600160a01b0319166001600160a01b0383169081179091556040519081527f691131813720430ed8f046546c29598fe0be3e5b96dcf4e3cea72f62d951224c906020016108c2565b6111a1611ae4565b6001600160a01b03821660009081526012602052604090205481151560ff90911615150361121d5760405162461bcd60e51b8152602060048201526024808201527f4163636f756e7420697320616c72656164792073657420746f207468617420736044820152637461746560e01b6064820152608401610876565b306001600160a01b038316036112755760405162461bcd60e51b815260206004820152601760248201527f43616e277420736574207468697320616464726573732e0000000000000000006044820152606401610876565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f1d9a11e204b58ad56c619c61600e42167624659d218f0143f1f64956b0daae6c91016110e3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b611300611ae4565b801515600f60019054906101000a900460ff1615150361136d5760405162461bcd60e51b815260206004820152602260248201527f73776170456e61626c656420616c726561647920617420746869732073746174604482015261329760f11b6064820152608401610876565b600f80549115156101000261ff0019909216919091179055565b61138f611ae4565b6001600160a01b0381166113f45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610876565b6113fd81611b3e565b50565b611408611ae4565b6001600160a01b038116611420576113fd3347611bbd565b6040516370a0823160e01b815230600482015281906000906001600160a01b038316906370a0823190602401602060405180830381865afa158015611469573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061148d9190612319565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af11580156114dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061150191906122ac565b50505050565b6001600160a01b0383166115695760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610876565b6001600160a01b0382166115ca5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610876565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600061163784846112cd565b9050600019811461150157818110156116925760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610876565b6115018484848403611507565b6001600160a01b0383166116c55760405162461bcd60e51b815260040161087690612332565b6001600160a01b0382166116eb5760405162461bcd60e51b815260040161087690612377565b600f5462010000900460ff168061171a57506001600160a01b03831660009081526008602052604090205460ff165b8061173d57506001600160a01b03821660009081526008602052604090205460ff165b6117895760405162461bcd60e51b815260206004820152601860248201527f54726164696e67206e6f742079657420656e61626c65642100000000000000006044820152606401610876565b806000036117a25761179d83836000611cd6565b505050565b30600090815260208190526040902054600e54811080159081906117c95750600f5460ff16155b80156117e257506007546001600160a01b038581169116145b80156117f55750600f54610100900460ff165b1561181b57600f805460ff1916600117905561181082611e00565b600f805460ff191690555b600080601154610e1061182e91906121f1565b421115611842575050600954600a546118d2565b60115461185190610bb86121f1565b4211156118645750600a9050600f6118d2565b601154611873906109606121f1565b4211156118865750600f905060196118d2565b601154611895906107086121f1565b4211156118a8575060149050601e6118d2565b6011546118b7906104b06121f1565b4211156118ca5750601e905060236118d2565b506023905060275b6001600160a01b03871660009081526008602052604081205460ff168061191157506001600160a01b03871660009081526008602052604090205460ff165b8061191e5750600f5460ff165b1561192b5750600061197a565b6007546001600160a01b03908116908916036119595760105443116119525750606361197a565b508161197a565b6007546001600160a01b039081169088160361197657508061197a565b5060005b80156119d4576000606461198e83896123ba565b61199891906122f7565b90506119a481886123d1565b96506119b1893083611cd6565b6119bc6005826122f7565b600b60008282546119cd91906121f1565b9091555050505b60135460ff1615611acf576001600160a01b03881660009081526012602052604090205460ff16158015611a2157506001600160a01b03871660009081526012602052604090205460ff16155b8015611a3b57506007546001600160a01b03888116911614155b15611acf576001600160a01b038716600090815260208190526040902054601454611a6688836121f1565b1115611acd5760405162461bcd60e51b815260206004820152603060248201527f4d617857616c6c65743a20526563697069656e7420657863656564732074686560448201526f081b585e15d85b1b195d105b5bdd5b9d60821b6064820152608401610876565b505b611ada888888611cd6565b5050505050505050565b6005546001600160a01b031633146109f45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610876565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600d546001600160a01b031633146109f457604051639eaab64360e01b8152336004820152602401610876565b80471015611c0d5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610876565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611c5a576040519150601f19603f3d011682016040523d82523d6000602084013e611c5f565b606091505b505090508061179d5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610876565b6001600160a01b038316611cfc5760405162461bcd60e51b815260040161087690612332565b6001600160a01b038216611d225760405162461bcd60e51b815260040161087690612377565b6001600160a01b03831660009081526020819052604090205481811015611d9a5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610876565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611501565b604080516002808252606082018352479260009291906020830190803683370190505090503081600081518110611e3957611e396123e4565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611e92573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611eb6919061228f565b81600181518110611ec957611ec96123e4565b6001600160a01b03928316602091820292909201015260065460405163791ac94760e01b815291169063791ac94790611f0f9086906000908690309042906004016123fa565b600060405180830381600087803b158015611f2957600080fd5b505af1158015611f3d573d6000803e3d6000fd5b5050505060008247611f4f91906123d1565b9050600084600b5483611f6291906123ba565b611f6c91906122f7565b600d54909150611f85906001600160a01b031682611bbd565b600c54611f9b906001600160a01b031647611bbd565b6000600b5560408051868152602081018490527fd8997366d664ca4e8fa4e28941038e92f171a66e338f963b9fd8f1e796483de7910160405180910390a15050505050565b600060208083528351808285015260005b8181101561200d57858101830151858201604001528201611ff1565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146113fd57600080fd5b6000806040838503121561205657600080fd5b82356120618161202e565b946020939093013593505050565b60008060006060848603121561208457600080fd5b833561208f8161202e565b9250602084013561209f8161202e565b929592945050506040919091013590565b80151581146113fd57600080fd5b6000602082840312156120d057600080fd5b81356120db816120b0565b9392505050565b6000602082840312156120f457600080fd5b81356120db8161202e565b6000806040838503121561211257600080fd5b50508035926020909101359150565b60006020828403121561213357600080fd5b5035919050565b6000806040838503121561214d57600080fd5b82356121588161202e565b91506020830135612168816120b0565b809150509250929050565b6000806040838503121561218657600080fd5b82356121918161202e565b915060208301356121688161202e565b600181811c908216806121b557607f821691505b6020821081036121d557634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b808201808211156107da576107da6121db565b60208082526024908201527f54616741492077616c6c657420697320616c72656164792074686174206164646040820152637265737360e01b606082015260800190565b60208082526027908201527f54616741492077616c6c65742063616e6e6f7420626520746865207a65726f206040820152666164647265737360c81b606082015260800190565b6000602082840312156122a157600080fd5b81516120db8161202e565b6000602082840312156122be57600080fd5b81516120db816120b0565b6000806000606084860312156122de57600080fd5b8351925060208401519150604084015190509250925092565b60008261231457634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561232b57600080fd5b5051919050565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b80820281158282048414176107da576107da6121db565b818103818111156107da576107da6121db565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561244a5784516001600160a01b031683529383019391830191600101612425565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220459c27dc399ce3c764ce315b48f7db473f5b295d4871e0fae5d02d86220da25264736f6c63430008120033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.