ETH Price: $3,078.43 (-0.81%)

Contract

0x031b6A61F728B16451584DC2e12CfD22b8841F2C
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve198342192024-05-09 18:16:35192 days ago1715278595IN
0x031b6A61...2b8841F2C
0 ETH0.000107424.39546815
Approve194438792024-03-16 0:22:47247 days ago1710548567IN
0x031b6A61...2b8841F2C
0 ETH0.002184346.7501054
Approve194338452024-03-14 14:29:47248 days ago1710426587IN
0x031b6A61...2b8841F2C
0 ETH0.0027580159.10502369
Approve194278852024-03-13 18:20:59249 days ago1710354059IN
0x031b6A61...2b8841F2C
0 ETH0.0026351956.47284632
Approve194108322024-03-11 9:02:47252 days ago1710147767IN
0x031b6A61...2b8841F2C
0 ETH0.0029983364.17266066
Approve194089762024-03-11 2:49:35252 days ago1710125375IN
0x031b6A61...2b8841F2C
0 ETH0.0021294845.63547428
Approve194089542024-03-11 2:45:11252 days ago1710125111IN
0x031b6A61...2b8841F2C
0 ETH0.0019051640.77568943
Approve194083992024-03-11 0:53:35252 days ago1710118415IN
0x031b6A61...2b8841F2C
0 ETH0.0034945674.88933964
Approve194083882024-03-11 0:51:23252 days ago1710118283IN
0x031b6A61...2b8841F2C
0 ETH0.0024974853.45305804
Approve194076142024-03-10 22:16:11252 days ago1710108971IN
0x031b6A61...2b8841F2C
0 ETH0.0030577665.44446713
Approve194072622024-03-10 21:04:47252 days ago1710104687IN
0x031b6A61...2b8841F2C
0 ETH0.0031115966.68221406
Approve194071662024-03-10 20:45:23252 days ago1710103523IN
0x031b6A61...2b8841F2C
0 ETH0.0028232460.50284301
Approve194070952024-03-10 20:31:11252 days ago1710102671IN
0x031b6A61...2b8841F2C
0 ETH0.0029895664.41493814
Approve194067842024-03-10 19:28:11252 days ago1710098891IN
0x031b6A61...2b8841F2C
0 ETH0.0017009857.93745945
Approve194061202024-03-10 17:14:47252 days ago1710090887IN
0x031b6A61...2b8841F2C
0 ETH0.003784681.10503186
Approve194059732024-03-10 16:45:23252 days ago1710089123IN
0x031b6A61...2b8841F2C
0 ETH0.004157289.08992259
Approve194059142024-03-10 16:33:35252 days ago1710088415IN
0x031b6A61...2b8841F2C
0 ETH0.00428292.16747015
Approve194058162024-03-10 16:13:59252 days ago1710087239IN
0x031b6A61...2b8841F2C
0 ETH0.00666341142.61524627
Approve194058152024-03-10 16:13:47252 days ago1710087227IN
0x031b6A61...2b8841F2C
0 ETH0.0033272471.21211562
Approve194058142024-03-10 16:13:35252 days ago1710087215IN
0x031b6A61...2b8841F2C
0 ETH0.0035801876.62571231
Transfer194058112024-03-10 16:12:59252 days ago1710087179IN
0x031b6A61...2b8841F2C
0 ETH0.0116417361.10281817
Approve194058092024-03-10 16:12:35252 days ago1710087155IN
0x031b6A61...2b8841F2C
0 ETH0.0039764185.10619747
Approve194058052024-03-10 16:11:47252 days ago1710087107IN
0x031b6A61...2b8841F2C
0 ETH0.0032800870.20271379
Approve194057962024-03-10 16:09:59252 days ago1710086999IN
0x031b6A61...2b8841F2C
0 ETH0.00617282132.11532299
Approve194057792024-03-10 16:06:35252 days ago1710086795IN
0x031b6A61...2b8841F2C
0 ETH0.0033993372.75513646
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
194541472024-03-17 11:03:23246 days ago1710673403
0x031b6A61...2b8841F2C
0.03716805 ETH
194541472024-03-17 11:03:23246 days ago1710673403
0x031b6A61...2b8841F2C
0.03716805 ETH
194438842024-03-16 0:23:47247 days ago1710548627
0x031b6A61...2b8841F2C
0.0120657 ETH
194438842024-03-16 0:23:47247 days ago1710548627
0x031b6A61...2b8841F2C
0.0120657 ETH
194434752024-03-15 23:00:11247 days ago1710543611
0x031b6A61...2b8841F2C
0.03528084 ETH
194434752024-03-15 23:00:11247 days ago1710543611
0x031b6A61...2b8841F2C
0.03528084 ETH
194338482024-03-14 14:30:23248 days ago1710426623
0x031b6A61...2b8841F2C
0.01784204 ETH
194338482024-03-14 14:30:23248 days ago1710426623
0x031b6A61...2b8841F2C
0.01784204 ETH
194279132024-03-13 18:26:35249 days ago1710354395
0x031b6A61...2b8841F2C
0.01476889 ETH
194279132024-03-13 18:26:35249 days ago1710354395
0x031b6A61...2b8841F2C
0.01476889 ETH
194278902024-03-13 18:21:59249 days ago1710354119
0x031b6A61...2b8841F2C
0.02050212 ETH
194278902024-03-13 18:21:59249 days ago1710354119
0x031b6A61...2b8841F2C
0.02050212 ETH
194159132024-03-12 2:06:59251 days ago1710209219
0x031b6A61...2b8841F2C
0.06478932 ETH
194159132024-03-12 2:06:59251 days ago1710209219
0x031b6A61...2b8841F2C
0.06478932 ETH
194144052024-03-11 21:02:23251 days ago1710190943
0x031b6A61...2b8841F2C
0.08106644 ETH
194144052024-03-11 21:02:23251 days ago1710190943
0x031b6A61...2b8841F2C
0.08106644 ETH
194122432024-03-11 13:45:59251 days ago1710164759
0x031b6A61...2b8841F2C
0.08755922 ETH
194122432024-03-11 13:45:59251 days ago1710164759
0x031b6A61...2b8841F2C
0.08755922 ETH
194122432024-03-11 13:45:59251 days ago1710164759
0x031b6A61...2b8841F2C
0.09486493 ETH
194122432024-03-11 13:45:59251 days ago1710164759
0x031b6A61...2b8841F2C
0.09486493 ETH
194114232024-03-11 11:01:23252 days ago1710154883
0x031b6A61...2b8841F2C
0.09966996 ETH
194114232024-03-11 11:01:23252 days ago1710154883
0x031b6A61...2b8841F2C
0.09966996 ETH
194108332024-03-11 9:02:59252 days ago1710147779
0x031b6A61...2b8841F2C
0.10457813 ETH
194108332024-03-11 9:02:59252 days ago1710147779
0x031b6A61...2b8841F2C
0.10457813 ETH
194104582024-03-11 7:47:35252 days ago1710143255
0x031b6A61...2b8841F2C
0.10873683 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
InsighteX

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 10 : InsighteX.sol
// Website: https://insightex.ai
// Staking Dapp: https://insightex.ai/staking
// Twitter: https://x.com/insightexai
// Telegram: https://t.me/insightexai

pragma solidity ^0.8.12;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol";

import {IUniswapV2Factory} from "./interfaces/IUniswapV2Factory.sol";
import {IUniswapV2Router02} from "./interfaces/IUniswapV2Router02.sol";

contract InsighteX is ERC20, Ownable(msg.sender) {
    using SafeMath for uint256;

    IUniswapV2Router02 public immutable uniswapRouter;
    address public uniswapV2Pair;

    bool private swapping;

    address public treasuryWallet;

    uint256 public maxTransactionAmount;
    uint256 public swapTokensAtAmount;
    uint256 public maxWallet;

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

    bool public blacklistRenounced = false;

    // Anti-bot and anti-whale mappings and variables
    mapping(address => bool) blacklisted;

    uint256 public buyTotalFees;
    uint256 public buyTreasuryFee;

    uint256 public sellTotalFees;
    uint256 public sellTreasuryFee;

    uint256 public tokensForTreasury;

    /******************/

    // exclude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public _isExcludedMaxTransactionAmount;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping(address => bool) public automatedMarketMakerPairs;

    event UpdateUniswapRouter(
        address indexed newAddress,
        address indexed oldAddress
    );

    event ExcludeFromFees(address indexed account, bool isExcluded);

    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);

    event treasuryWalletUpdated(
        address indexed newWallet,
        address indexed oldWallet
    );

    constructor() ERC20("InsighteX.ai", "INSX") {
        IUniswapV2Router02 _uniswapRouter = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D 
        );

        excludeFromMaxTransaction(address(_uniswapRouter), true);
        uniswapRouter = _uniswapRouter;

        uint256 _buyTreasuryFee = 30;
        uint256 _sellTreasuryFee = 30;

        uint256 totalSupply = 10_000_000 * 1e18;

        maxTransactionAmount = 333_333 * 1e18; 
        maxWallet = 333_333 * 1e18; 
        swapTokensAtAmount = (totalSupply * 5) / 10000; 

        buyTreasuryFee = _buyTreasuryFee;
        buyTotalFees = buyTreasuryFee;

        sellTreasuryFee = _sellTreasuryFee;
        sellTotalFees = sellTreasuryFee;

        treasuryWallet = address(0x9796dd040dF83690a6E335ab4B23cE1C372cA913);

        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);

        excludeFromMaxTransaction(owner(), true);
        excludeFromMaxTransaction(address(this), true);

        _mint(msg.sender, totalSupply);
    }

    receive() external payable {}

    function createPair() external onlyOwner {
        uniswapV2Pair = IUniswapV2Factory(uniswapRouter.factory())
            .createPair(address(this), uniswapRouter.WETH());
        excludeFromMaxTransaction(address(uniswapV2Pair), true);
        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);
    }

    function enableTrading() external onlyOwner {
        tradingActive = true;
        swapEnabled = true;
    }

    // remove limits after token is stable
    function removeLimits() external onlyOwner returns (bool) {
        limitsInEffect = false;
        return true;
    }

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount)
        external
        onlyOwner
        returns (bool)
    {
        swapTokensAtAmount = newAmount;
        return true;
    }

    function updateMaxTxnAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 5) / 1000) / 1e18,
            "Cannot set maxTransactionAmount lower than 0.5%"
        );
        maxTransactionAmount = newNum * (10**18);
    }

    function updateMaxWalletAmount(uint256 newNum) external onlyOwner {
        require(
            newNum >= ((totalSupply() * 10) / 1000) / 1e18,
            "Cannot set maxWallet lower than 1.0%"
        );
        maxWallet = newNum * (10**18);
    }

    function excludeFromMaxTransaction(address updAds, bool isEx)
        public
        onlyOwner
    {
        _isExcludedMaxTransactionAmount[updAds] = isEx;
    }

    // only use to disable contract sales if absolutely necessary (emergency use only)
    function updateSwapEnabled(bool enabled) external onlyOwner {
        swapEnabled = enabled;
    }

    function updateBuyFees(
        uint256 _treasuryFee
    ) external onlyOwner {
        require(buyTreasuryFee < 30);
        buyTreasuryFee = _treasuryFee;
        buyTotalFees = buyTreasuryFee;
    }

    function updateSellFees(
        uint256 _treasuryFee
    ) external onlyOwner {
        require(sellTreasuryFee < 30);
        sellTreasuryFee = _treasuryFee;
        sellTotalFees = sellTreasuryFee;
    }

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

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(
            pair != uniswapV2Pair,
            "The pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        automatedMarketMakerPairs[pair] = value;

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateTreasuryWallet(address newWallet) external onlyOwner {
        emit treasuryWalletUpdated(newWallet, treasuryWallet);
        treasuryWallet = newWallet;
    }

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

    function isBlacklisted(address account) public view returns (bool) {
        return blacklisted[account];
    }

    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(!blacklisted[from],"Sender blacklisted");
        require(!blacklisted[to],"Receiver blacklisted");

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

        if (limitsInEffect) {
            if (
                from != owner() &&
                to != owner() &&
                to != address(0) &&
                !swapping
            ) {
                if (!tradingActive) {
                    require(
                        _isExcludedFromFees[from] || _isExcludedFromFees[to],
                        "Trading is not active."
                    );
                }

                //when buy
                if (
                    automatedMarketMakerPairs[from] &&
                    !_isExcludedMaxTransactionAmount[to]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maxTransactionAmount."
                    );
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
                //when sell
                else if (
                    automatedMarketMakerPairs[to] &&
                    !_isExcludedMaxTransactionAmount[from]
                ) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maxTransactionAmount."
                    );
                } else if (!_isExcludedMaxTransactionAmount[to]) {
                    require(
                        amount + balanceOf(to) <= maxWallet,
                        "Max wallet exceeded"
                    );
                }
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

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

            swapBack();

            swapping = false;
        }

        bool takeFee = !swapping;

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

        uint256 fees = 0;
        // only take fees on buys/sells, do not take on wallet transfers
        if (takeFee) {
            // on sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = amount.mul(sellTotalFees).div(100);
                tokensForTreasury += (fees * sellTreasuryFee) / sellTotalFees;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForTreasury += (fees * buyTreasuryFee) / buyTotalFees;
            }

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

            amount -= fees;
        }

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

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

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

        // make the swap
        uniswapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }
    
    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapRouter), tokenAmount);

        // add the liquidity
        uniswapRouter.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            owner(),
            block.timestamp
        );
    }

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForTreasury;
        bool success;

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

        if (contractBalance > swapTokensAtAmount * 20) {
            contractBalance = swapTokensAtAmount * 20;
        }


        uint256 amountToSwapForETH = contractBalance;

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH);

        uint256 ethBalance = address(this).balance.sub(initialETHBalance);

        tokensForTreasury = 0;

        (success, ) = address(treasuryWallet).call{value: ethBalance}("");
    }

    function withdrawTAIM() external onlyOwner {
        uint256 balance = IERC20(address(this)).balanceOf(address(this));
        IERC20(address(this)).transfer(msg.sender, balance);
        payable(msg.sender).transfer(address(this).balance);
    }

    function withdrawToken(address _token, address _to) external onlyOwner {
        require(_token != address(0), "_token address cannot be 0");
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        IERC20(_token).transfer(_to, _contractBalance);
    }

    function withdrawETH(address toAddr) external onlyOwner {
        (bool success, ) = toAddr.call{
            value: address(this).balance
        } ("");
        require(success);
    }

    // @dev team renounce blacklist commands
    function renounceBlacklist() public onlyOwner {
        blacklistRenounced = true;
    }

    function blacklist(address _addr) public onlyOwner {
        require(!blacklistRenounced, "Team has revoked blacklist rights");
        require(
            _addr != address(uniswapV2Pair) && _addr != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D),
            "Cannot blacklist token's v2 router or v2 pool."
        );
        blacklisted[_addr] = true;
    }

    // @dev blacklist v3 pools; can unblacklist() down the road to suit project and community
    function blacklistLiquidityPool(address lpAddress) public onlyOwner {
        require(!blacklistRenounced, "Team has revoked blacklist rights");
        require(
            lpAddress != address(uniswapV2Pair) && lpAddress != address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D), 
            "Cannot blacklist token's v2 router or v2 pool."
        );
        blacklisted[lpAddress] = true;
    }

    // @dev unblacklist address; not affected by blacklistRenounced incase team wants to unblacklist v3 pools down the road
    function unblacklist(address _addr) public onlyOwner {
        blacklisted[_addr] = false;
    }
}

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

        emit Transfer(from, to, value);
    }

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

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

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

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

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

File 4 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

File 5 of 10 : SafeMath.sol
pragma solidity ^0.8.19;

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 6 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 7 of 10 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

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

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

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

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

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

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

pragma solidity ^0.8.20;

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

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

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

File 9 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Settings
{
  "remappings": [
    "@openzeppelin/=node_modules/@openzeppelin/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts-06/=lib/openzeppelin-contracts-06/contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "paris",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapRouter","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"treasuryWalletUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"lpAddress","type":"address"}],"name":"blacklistLiquidityPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"blacklistRenounced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"createPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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":"updAds","type":"address"},{"internalType":"bool","name":"isEx","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"limitsInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTreasuryFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"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":"tokensForTreasury","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"unblacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFee","type":"uint256"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateTreasuryWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"toAddr","type":"address"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawTAIM","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052600b805463ffffffff191660011790553480156200002157600080fd5b50336040518060400160405280600c81526020016b496e736967687465582e616960a01b815250604051806040016040528060048152602001630929ca6b60e31b815250816003908162000076919062000515565b50600462000085828262000515565b5050506001600160a01b038116620000b857604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000c381620001dc565b50737a250d5630b4cf539739df2c5dacb4c659f2488d620000e68160016200022e565b6001600160a01b03811660805269469604a4b213533400006008819055600a55601e806a084595161401484a00000061271062000125826005620005f7565b62000131919062000617565b600955600e839055600d8390556010829055600f829055600780546001600160a01b031916739796dd040df83690a6e335ab4b23ce1c372ca9131790556200018d620001856005546001600160a01b031690565b600162000263565b6200019a30600162000263565b620001b9620001b16005546001600160a01b031690565b60016200022e565b620001c63060016200022e565b620001d23382620002cc565b5050505062000650565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002386200030a565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6200026d6200030a565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620002f85760405163ec442f0560e01b815260006004820152602401620000af565b62000306600083836200033b565b5050565b6005546001600160a01b03163314620003395760405163118cdaa760e01b8152336004820152602401620000af565b565b6001600160a01b0383166200036a5780600260008282546200035e91906200063a565b90915550620003de9050565b6001600160a01b03831660009081526020819052604090205481811015620003bf5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000af565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620003fc576002805482900390556200041b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200046191815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200049957607f821691505b602082108103620004ba57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000510576000816000526020600020601f850160051c81016020861015620004eb5750805b601f850160051c820191505b818110156200050c57828155600101620004f7565b5050505b505050565b81516001600160401b038111156200053157620005316200046e565b620005498162000542845462000484565b84620004c0565b602080601f831160018114620005815760008415620005685750858301515b600019600386901b1c1916600185901b1785556200050c565b600085815260208120601f198616915b82811015620005b25788860151825594840194600190910190840162000591565b5085821015620005d15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620006115762000611620005e1565b92915050565b6000826200063557634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620006115762000611620005e1565b60805161257d6200068f6000396000818161061101528181610fc001528181611051015281816120ae0152818161216701526121a3015261257d6000f3fe6080604052600436106102e85760003560e01c80637571336a11610190578063c18bc195116100dc578063e19b282311610095578063f2fde38b1161006f578063f2fde38b146108f2578063f8b45b0514610912578063f9f92be41461089c578063fe575a871461092857600080fd5b8063e19b28231461089c578063e2f45605146108bc578063eba4c333146108d257600080fd5b8063c18bc195146107d4578063c8c8ebe4146107f4578063cc2ffe7c1461080a578063d257b34f14610820578063d85ba06314610840578063dd62ed3e1461085657600080fd5b806395d89b4111610149578063a9059cbb11610123578063a9059cbb14610745578063b62496f514610765578063bbc0c74214610795578063c0246668146107b457600080fd5b806395d89b41146106fb5780639a7a23d6146107105780639e78fb4f1461073057600080fd5b80637571336a1461064857806375e3661e14610668578063809d458d146106885780638a8c523c146106a85780638da5cb5b146106bd578063924de9b7146106db57600080fd5b80634a62bb651161024f5780636b2fb12411610208578063715018a6116101e2578063715018a6146105ca57806371fc4688146105df578063735de9f7146105ff578063751039fc1461063357600080fd5b80636b2fb1241461055e5780636ddd17131461057457806370a082311461059457600080fd5b80634a62bb65146104aa5780634fbee193146104c45780635c068a8c146104fd5780635f18936114610513578063690d8320146105285780636a486a8e1461054857600080fd5b8063313ce567116102a1578063313ce567146103e05780633aeac4e1146103fc5780633dc599ff1461041c57806340c5628e1461043d5780634626402b1461045257806349bd5a5e1461048a57600080fd5b806306fdde03146102f4578063095ea7b31461031f57806310d5de531461034f57806318160ddd1461037f578063203e727e1461039e57806323b872dd146103c057600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610961565b6040516103169190612223565b60405180910390f35b34801561032b57600080fd5b5061033f61033a366004612287565b6109f3565b6040519015158152602001610316565b34801561035b57600080fd5b5061033f61036a3660046122b3565b60136020526000908152604090205460ff1681565b34801561038b57600080fd5b506002545b604051908152602001610316565b3480156103aa57600080fd5b506103be6103b93660046122d0565b610a0d565b005b3480156103cc57600080fd5b5061033f6103db3660046122e9565b610acd565b3480156103ec57600080fd5b5060405160128152602001610316565b34801561040857600080fd5b506103be61041736600461232a565b610af1565b34801561042857600080fd5b50600b5461033f906301000000900460ff1681565b34801561044957600080fd5b506103be610c37565b34801561045e57600080fd5b50600754610472906001600160a01b031681565b6040516001600160a01b039091168152602001610316565b34801561049657600080fd5b50600654610472906001600160a01b031681565b3480156104b657600080fd5b50600b5461033f9060ff1681565b3480156104d057600080fd5b5061033f6104df3660046122b3565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561050957600080fd5b50610390600e5481565b34801561051f57600080fd5b506103be610d3d565b34801561053457600080fd5b506103be6105433660046122b3565b610d5a565b34801561055457600080fd5b50610390600f5481565b34801561056a57600080fd5b5061039060105481565b34801561058057600080fd5b50600b5461033f9062010000900460ff1681565b3480156105a057600080fd5b506103906105af3660046122b3565b6001600160a01b031660009081526020819052604090205490565b3480156105d657600080fd5b506103be610dc2565b3480156105eb57600080fd5b506103be6105fa3660046122d0565b610dd6565b34801561060b57600080fd5b506104727f000000000000000000000000000000000000000000000000000000000000000081565b34801561063f57600080fd5b5061033f610df7565b34801561065457600080fd5b506103be610663366004612371565b610e11565b34801561067457600080fd5b506103be6106833660046122b3565b610e44565b34801561069457600080fd5b506103be6106a33660046122b3565b610e6d565b3480156106b457600080fd5b506103be610ed2565b3480156106c957600080fd5b506005546001600160a01b0316610472565b3480156106e757600080fd5b506103be6106f636600461239f565b610eed565b34801561070757600080fd5b50610309610f11565b34801561071c57600080fd5b506103be61072b366004612371565b610f20565b34801561073c57600080fd5b506103be610fb6565b34801561075157600080fd5b5061033f610760366004612287565b611183565b34801561077157600080fd5b5061033f6107803660046122b3565b60146020526000908152604090205460ff1681565b3480156107a157600080fd5b50600b5461033f90610100900460ff1681565b3480156107c057600080fd5b506103be6107cf366004612371565b611191565b3480156107e057600080fd5b506103be6107ef3660046122d0565b6111f8565b34801561080057600080fd5b5061039060085481565b34801561081657600080fd5b5061039060115481565b34801561082c57600080fd5b5061033f61083b3660046122d0565b6112a7565b34801561084c57600080fd5b50610390600d5481565b34801561086257600080fd5b5061039061087136600461232a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108a857600080fd5b506103be6108b73660046122b3565b6112ba565b3480156108c857600080fd5b5061039060095481565b3480156108de57600080fd5b506103be6108ed3660046122d0565b6113e8565b3480156108fe57600080fd5b506103be61090d3660046122b3565b611409565b34801561091e57600080fd5b50610390600a5481565b34801561093457600080fd5b5061033f6109433660046122b3565b6001600160a01b03166000908152600c602052604090205460ff1690565b606060038054610970906123bc565b80601f016020809104026020016040519081016040528092919081815260200182805461099c906123bc565b80156109e95780601f106109be576101008083540402835291602001916109e9565b820191906000526020600020905b8154815290600101906020018083116109cc57829003601f168201915b5050505050905090565b600033610a01818585611447565b60019150505b92915050565b610a15611459565b670de0b6b3a76400006103e8610a2a60025490565b610a3590600561240c565b610a3f9190612423565b610a499190612423565b811015610ab55760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b60648201526084015b60405180910390fd5b610ac781670de0b6b3a764000061240c565b60085550565b600033610adb858285611486565b610ae68585856114fe565b506001949350505050565b610af9611459565b6001600160a01b038216610b4f5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610aac565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610b96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bba9190612445565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c31919061245e565b50505050565b610c3f611459565b6040516370a0823160e01b815230600482018190526000916370a0823190602401602060405180830381865afa158015610c7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca19190612445565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0c919061245e565b5060405133904780156108fc02916000818181858888f19350505050158015610d39573d6000803e3d6000fd5b5050565b610d45611459565b600b805463ff00000019166301000000179055565b610d62611459565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610daf576040519150601f19603f3d011682016040523d82523d6000602084013e610db4565b606091505b5050905080610d3957600080fd5b610dca611459565b610dd46000611c6a565b565b610dde611459565b601e600e5410610ded57600080fd5b600e819055600d55565b6000610e01611459565b50600b805460ff19169055600190565b610e19611459565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b610e4c611459565b6001600160a01b03166000908152600c60205260409020805460ff19169055565b610e75611459565b6007546040516001600160a01b03918216918316907f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63590600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b610eda611459565b600b805462ffff00191662010100179055565b610ef5611459565b600b8054911515620100000262ff000019909216919091179055565b606060048054610970906123bc565b610f28611459565b6006546001600160a01b0390811690831603610fac5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610aac565b610d398282611cbc565b610fbe611459565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561101c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611040919061247b565b6001600160a01b031663c9c65396307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d1919061247b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561111e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611142919061247b565b600680546001600160a01b0319166001600160a01b0392909216918217905561116c906001610e11565b600654610dd4906001600160a01b03166001611cbc565b600033610a018185856114fe565b611199611459565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b611200611459565b670de0b6b3a76400006103e861121560025490565b61122090600a61240c565b61122a9190612423565b6112349190612423565b81101561128f5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e302560e01b6064820152608401610aac565b6112a181670de0b6b3a764000061240c565b600a5550565b60006112b1611459565b50600955600190565b6112c2611459565b600b546301000000900460ff16156113265760405162461bcd60e51b815260206004820152602160248201527f5465616d20686173207265766f6b656420626c61636b6c6973742072696768746044820152607360f81b6064820152608401610aac565b6006546001600160a01b0382811691161480159061136157506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b6113c45760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201526d32b91037b9103b19103837b7b61760911b6064820152608401610aac565b6001600160a01b03166000908152600c60205260409020805460ff19166001179055565b6113f0611459565b601e601054106113ff57600080fd5b6010819055600f55565b611411611459565b6001600160a01b03811661143b57604051631e4fbdf760e01b815260006004820152602401610aac565b61144481611c6a565b50565b6114548383836001611d10565b505050565b6005546001600160a01b03163314610dd45760405163118cdaa760e01b8152336004820152602401610aac565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610c3157818110156114ef57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610aac565b610c3184848484036000611d10565b6001600160a01b0383166115625760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610aac565b6001600160a01b0382166115c45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610aac565b6001600160a01b0383166000908152600c602052604090205460ff16156116225760405162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b6044820152606401610aac565b6001600160a01b0382166000908152600c602052604090205460ff16156116825760405162461bcd60e51b8152602060048201526014602482015273149958d95a5d995c88189b1858dadb1a5cdd195960621b6044820152606401610aac565b806000036116965761145483836000611de5565b600b5460ff16156119f5576005546001600160a01b038481169116148015906116cd57506005546001600160a01b03838116911614155b80156116e157506001600160a01b03821615155b80156116f75750600654600160a01b900460ff16155b156119f557600b54610100900460ff1661178f576001600160a01b03831660009081526012602052604090205460ff168061174a57506001600160a01b03821660009081526012602052604090205460ff165b61178f5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610aac565b6001600160a01b03831660009081526014602052604090205460ff1680156117d057506001600160a01b03821660009081526013602052604090205460ff16155b156118b4576008548111156118455760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610aac565b600a546001600160a01b03831660009081526020819052604090205461186b9083612498565b11156118af5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aac565b6119f5565b6001600160a01b03821660009081526014602052604090205460ff1680156118f557506001600160a01b03831660009081526013602052604090205460ff16155b1561196b576008548111156118af5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610aac565b6001600160a01b03821660009081526013602052604090205460ff166119f557600a546001600160a01b0383166000908152602081905260409020546119b19083612498565b11156119f55760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aac565b3060009081526020819052604090205460095481108015908190611a215750600b5462010000900460ff165b8015611a375750600654600160a01b900460ff16155b8015611a5c57506001600160a01b03851660009081526014602052604090205460ff16155b8015611a8157506001600160a01b03851660009081526012602052604090205460ff16155b8015611aa657506001600160a01b03841660009081526012602052604090205460ff16155b15611ad4576006805460ff60a01b1916600160a01b179055611ac6611e44565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526012602052604090205460ff600160a01b909204821615911680611b2257506001600160a01b03851660009081526012602052604090205460ff165b15611b2b575060005b60008115611c56576001600160a01b03861660009081526014602052604090205460ff168015611b5d57506000600f54115b15611bbb57611b826064611b7c600f5488611f0e90919063ffffffff16565b90611f21565b9050600f5460105482611b95919061240c565b611b9f9190612423565b60116000828254611bb09190612498565b90915550611c389050565b6001600160a01b03871660009081526014602052604090205460ff168015611be557506000600d54115b15611c3857611c046064611b7c600d5488611f0e90919063ffffffff16565b9050600d54600e5482611c17919061240c565b611c219190612423565b60116000828254611c329190612498565b90915550505b8015611c4957611c49873083611de5565b611c5381866124ab565b94505b611c61878787611de5565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260146020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038416611d3a5760405163e602df0560e01b815260006004820152602401610aac565b6001600160a01b038316611d6457604051634a1406b160e11b815260006004820152602401610aac565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610c3157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611dd791815260200190565b60405180910390a350505050565b6001600160a01b038316611e0f57604051634b637e8f60e11b815260006004820152602401610aac565b6001600160a01b038216611e395760405163ec442f0560e01b815260006004820152602401610aac565b611454838383611f2d565b306000908152602081905260408120546011549091821580611e64575081155b15611e6e57505050565b600954611e7c90601461240c565b831115611e9457600954611e9190601461240c565b92505b8247611e9f82612057565b6000611eab4783612217565b600060118190556007546040519293506001600160a01b031691839181818185875af1925050503d8060008114611efe576040519150601f19603f3d011682016040523d82523d6000602084013e611f03565b606091505b505050505050505050565b6000611f1a828461240c565b9392505050565b6000611f1a8284612423565b6001600160a01b038316611f58578060026000828254611f4d9190612498565b90915550611fca9050565b6001600160a01b03831660009081526020819052604090205481811015611fab5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610aac565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216611fe657600280548290039055612005565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161204a91815260200190565b60405180910390a3505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061208c5761208c6124be565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561210a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212e919061247b565b81600181518110612141576121416124be565b60200260200101906001600160a01b031690816001600160a01b03168152505061218c307f000000000000000000000000000000000000000000000000000000000000000084611447565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906121e19085906000908690309042906004016124d4565b600060405180830381600087803b1580156121fb57600080fd5b505af115801561220f573d6000803e3d6000fd5b505050505050565b6000611f1a82846124ab565b60006020808352835180602085015260005b8181101561225157858101830151858201604001528201612235565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461144457600080fd5b6000806040838503121561229a57600080fd5b82356122a581612272565b946020939093013593505050565b6000602082840312156122c557600080fd5b8135611f1a81612272565b6000602082840312156122e257600080fd5b5035919050565b6000806000606084860312156122fe57600080fd5b833561230981612272565b9250602084013561231981612272565b929592945050506040919091013590565b6000806040838503121561233d57600080fd5b823561234881612272565b9150602083013561235881612272565b809150509250929050565b801515811461144457600080fd5b6000806040838503121561238457600080fd5b823561238f81612272565b9150602083013561235881612363565b6000602082840312156123b157600080fd5b8135611f1a81612363565b600181811c908216806123d057607f821691505b6020821081036123f057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610a0757610a076123f6565b60008261244057634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561245757600080fd5b5051919050565b60006020828403121561247057600080fd5b8151611f1a81612363565b60006020828403121561248d57600080fd5b8151611f1a81612272565b80820180821115610a0757610a076123f6565b81810381811115610a0757610a076123f6565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156125265784516001600160a01b031683529383019391830191600101612501565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122040fffbfadd27d074274093f8aaa6c195f343afb7feae0d47f427312d609d8b1c64736f6c63430008170033

Deployed Bytecode

0x6080604052600436106102e85760003560e01c80637571336a11610190578063c18bc195116100dc578063e19b282311610095578063f2fde38b1161006f578063f2fde38b146108f2578063f8b45b0514610912578063f9f92be41461089c578063fe575a871461092857600080fd5b8063e19b28231461089c578063e2f45605146108bc578063eba4c333146108d257600080fd5b8063c18bc195146107d4578063c8c8ebe4146107f4578063cc2ffe7c1461080a578063d257b34f14610820578063d85ba06314610840578063dd62ed3e1461085657600080fd5b806395d89b4111610149578063a9059cbb11610123578063a9059cbb14610745578063b62496f514610765578063bbc0c74214610795578063c0246668146107b457600080fd5b806395d89b41146106fb5780639a7a23d6146107105780639e78fb4f1461073057600080fd5b80637571336a1461064857806375e3661e14610668578063809d458d146106885780638a8c523c146106a85780638da5cb5b146106bd578063924de9b7146106db57600080fd5b80634a62bb651161024f5780636b2fb12411610208578063715018a6116101e2578063715018a6146105ca57806371fc4688146105df578063735de9f7146105ff578063751039fc1461063357600080fd5b80636b2fb1241461055e5780636ddd17131461057457806370a082311461059457600080fd5b80634a62bb65146104aa5780634fbee193146104c45780635c068a8c146104fd5780635f18936114610513578063690d8320146105285780636a486a8e1461054857600080fd5b8063313ce567116102a1578063313ce567146103e05780633aeac4e1146103fc5780633dc599ff1461041c57806340c5628e1461043d5780634626402b1461045257806349bd5a5e1461048a57600080fd5b806306fdde03146102f4578063095ea7b31461031f57806310d5de531461034f57806318160ddd1461037f578063203e727e1461039e57806323b872dd146103c057600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610961565b6040516103169190612223565b60405180910390f35b34801561032b57600080fd5b5061033f61033a366004612287565b6109f3565b6040519015158152602001610316565b34801561035b57600080fd5b5061033f61036a3660046122b3565b60136020526000908152604090205460ff1681565b34801561038b57600080fd5b506002545b604051908152602001610316565b3480156103aa57600080fd5b506103be6103b93660046122d0565b610a0d565b005b3480156103cc57600080fd5b5061033f6103db3660046122e9565b610acd565b3480156103ec57600080fd5b5060405160128152602001610316565b34801561040857600080fd5b506103be61041736600461232a565b610af1565b34801561042857600080fd5b50600b5461033f906301000000900460ff1681565b34801561044957600080fd5b506103be610c37565b34801561045e57600080fd5b50600754610472906001600160a01b031681565b6040516001600160a01b039091168152602001610316565b34801561049657600080fd5b50600654610472906001600160a01b031681565b3480156104b657600080fd5b50600b5461033f9060ff1681565b3480156104d057600080fd5b5061033f6104df3660046122b3565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561050957600080fd5b50610390600e5481565b34801561051f57600080fd5b506103be610d3d565b34801561053457600080fd5b506103be6105433660046122b3565b610d5a565b34801561055457600080fd5b50610390600f5481565b34801561056a57600080fd5b5061039060105481565b34801561058057600080fd5b50600b5461033f9062010000900460ff1681565b3480156105a057600080fd5b506103906105af3660046122b3565b6001600160a01b031660009081526020819052604090205490565b3480156105d657600080fd5b506103be610dc2565b3480156105eb57600080fd5b506103be6105fa3660046122d0565b610dd6565b34801561060b57600080fd5b506104727f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561063f57600080fd5b5061033f610df7565b34801561065457600080fd5b506103be610663366004612371565b610e11565b34801561067457600080fd5b506103be6106833660046122b3565b610e44565b34801561069457600080fd5b506103be6106a33660046122b3565b610e6d565b3480156106b457600080fd5b506103be610ed2565b3480156106c957600080fd5b506005546001600160a01b0316610472565b3480156106e757600080fd5b506103be6106f636600461239f565b610eed565b34801561070757600080fd5b50610309610f11565b34801561071c57600080fd5b506103be61072b366004612371565b610f20565b34801561073c57600080fd5b506103be610fb6565b34801561075157600080fd5b5061033f610760366004612287565b611183565b34801561077157600080fd5b5061033f6107803660046122b3565b60146020526000908152604090205460ff1681565b3480156107a157600080fd5b50600b5461033f90610100900460ff1681565b3480156107c057600080fd5b506103be6107cf366004612371565b611191565b3480156107e057600080fd5b506103be6107ef3660046122d0565b6111f8565b34801561080057600080fd5b5061039060085481565b34801561081657600080fd5b5061039060115481565b34801561082c57600080fd5b5061033f61083b3660046122d0565b6112a7565b34801561084c57600080fd5b50610390600d5481565b34801561086257600080fd5b5061039061087136600461232a565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108a857600080fd5b506103be6108b73660046122b3565b6112ba565b3480156108c857600080fd5b5061039060095481565b3480156108de57600080fd5b506103be6108ed3660046122d0565b6113e8565b3480156108fe57600080fd5b506103be61090d3660046122b3565b611409565b34801561091e57600080fd5b50610390600a5481565b34801561093457600080fd5b5061033f6109433660046122b3565b6001600160a01b03166000908152600c602052604090205460ff1690565b606060038054610970906123bc565b80601f016020809104026020016040519081016040528092919081815260200182805461099c906123bc565b80156109e95780601f106109be576101008083540402835291602001916109e9565b820191906000526020600020905b8154815290600101906020018083116109cc57829003601f168201915b5050505050905090565b600033610a01818585611447565b60019150505b92915050565b610a15611459565b670de0b6b3a76400006103e8610a2a60025490565b610a3590600561240c565b610a3f9190612423565b610a499190612423565b811015610ab55760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b60648201526084015b60405180910390fd5b610ac781670de0b6b3a764000061240c565b60085550565b600033610adb858285611486565b610ae68585856114fe565b506001949350505050565b610af9611459565b6001600160a01b038216610b4f5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610aac565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610b96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bba9190612445565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c31919061245e565b50505050565b610c3f611459565b6040516370a0823160e01b815230600482018190526000916370a0823190602401602060405180830381865afa158015610c7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca19190612445565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0c919061245e565b5060405133904780156108fc02916000818181858888f19350505050158015610d39573d6000803e3d6000fd5b5050565b610d45611459565b600b805463ff00000019166301000000179055565b610d62611459565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610daf576040519150601f19603f3d011682016040523d82523d6000602084013e610db4565b606091505b5050905080610d3957600080fd5b610dca611459565b610dd46000611c6a565b565b610dde611459565b601e600e5410610ded57600080fd5b600e819055600d55565b6000610e01611459565b50600b805460ff19169055600190565b610e19611459565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b610e4c611459565b6001600160a01b03166000908152600c60205260409020805460ff19169055565b610e75611459565b6007546040516001600160a01b03918216918316907f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63590600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b610eda611459565b600b805462ffff00191662010100179055565b610ef5611459565b600b8054911515620100000262ff000019909216919091179055565b606060048054610970906123bc565b610f28611459565b6006546001600160a01b0390811690831603610fac5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610aac565b610d398282611cbc565b610fbe611459565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561101c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611040919061247b565b6001600160a01b031663c9c65396307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156110ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110d1919061247b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561111e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611142919061247b565b600680546001600160a01b0319166001600160a01b0392909216918217905561116c906001610e11565b600654610dd4906001600160a01b03166001611cbc565b600033610a018185856114fe565b611199611459565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b611200611459565b670de0b6b3a76400006103e861121560025490565b61122090600a61240c565b61122a9190612423565b6112349190612423565b81101561128f5760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e302560e01b6064820152608401610aac565b6112a181670de0b6b3a764000061240c565b600a5550565b60006112b1611459565b50600955600190565b6112c2611459565b600b546301000000900460ff16156113265760405162461bcd60e51b815260206004820152602160248201527f5465616d20686173207265766f6b656420626c61636b6c6973742072696768746044820152607360f81b6064820152608401610aac565b6006546001600160a01b0382811691161480159061136157506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b6113c45760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201526d32b91037b9103b19103837b7b61760911b6064820152608401610aac565b6001600160a01b03166000908152600c60205260409020805460ff19166001179055565b6113f0611459565b601e601054106113ff57600080fd5b6010819055600f55565b611411611459565b6001600160a01b03811661143b57604051631e4fbdf760e01b815260006004820152602401610aac565b61144481611c6a565b50565b6114548383836001611d10565b505050565b6005546001600160a01b03163314610dd45760405163118cdaa760e01b8152336004820152602401610aac565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610c3157818110156114ef57604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610aac565b610c3184848484036000611d10565b6001600160a01b0383166115625760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610aac565b6001600160a01b0382166115c45760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610aac565b6001600160a01b0383166000908152600c602052604090205460ff16156116225760405162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b6044820152606401610aac565b6001600160a01b0382166000908152600c602052604090205460ff16156116825760405162461bcd60e51b8152602060048201526014602482015273149958d95a5d995c88189b1858dadb1a5cdd195960621b6044820152606401610aac565b806000036116965761145483836000611de5565b600b5460ff16156119f5576005546001600160a01b038481169116148015906116cd57506005546001600160a01b03838116911614155b80156116e157506001600160a01b03821615155b80156116f75750600654600160a01b900460ff16155b156119f557600b54610100900460ff1661178f576001600160a01b03831660009081526012602052604090205460ff168061174a57506001600160a01b03821660009081526012602052604090205460ff165b61178f5760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610aac565b6001600160a01b03831660009081526014602052604090205460ff1680156117d057506001600160a01b03821660009081526013602052604090205460ff16155b156118b4576008548111156118455760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610aac565b600a546001600160a01b03831660009081526020819052604090205461186b9083612498565b11156118af5760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aac565b6119f5565b6001600160a01b03821660009081526014602052604090205460ff1680156118f557506001600160a01b03831660009081526013602052604090205460ff16155b1561196b576008548111156118af5760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610aac565b6001600160a01b03821660009081526013602052604090205460ff166119f557600a546001600160a01b0383166000908152602081905260409020546119b19083612498565b11156119f55760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aac565b3060009081526020819052604090205460095481108015908190611a215750600b5462010000900460ff165b8015611a375750600654600160a01b900460ff16155b8015611a5c57506001600160a01b03851660009081526014602052604090205460ff16155b8015611a8157506001600160a01b03851660009081526012602052604090205460ff16155b8015611aa657506001600160a01b03841660009081526012602052604090205460ff16155b15611ad4576006805460ff60a01b1916600160a01b179055611ac6611e44565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526012602052604090205460ff600160a01b909204821615911680611b2257506001600160a01b03851660009081526012602052604090205460ff165b15611b2b575060005b60008115611c56576001600160a01b03861660009081526014602052604090205460ff168015611b5d57506000600f54115b15611bbb57611b826064611b7c600f5488611f0e90919063ffffffff16565b90611f21565b9050600f5460105482611b95919061240c565b611b9f9190612423565b60116000828254611bb09190612498565b90915550611c389050565b6001600160a01b03871660009081526014602052604090205460ff168015611be557506000600d54115b15611c3857611c046064611b7c600d5488611f0e90919063ffffffff16565b9050600d54600e5482611c17919061240c565b611c219190612423565b60116000828254611c329190612498565b90915550505b8015611c4957611c49873083611de5565b611c5381866124ab565b94505b611c61878787611de5565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260146020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038416611d3a5760405163e602df0560e01b815260006004820152602401610aac565b6001600160a01b038316611d6457604051634a1406b160e11b815260006004820152602401610aac565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610c3157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611dd791815260200190565b60405180910390a350505050565b6001600160a01b038316611e0f57604051634b637e8f60e11b815260006004820152602401610aac565b6001600160a01b038216611e395760405163ec442f0560e01b815260006004820152602401610aac565b611454838383611f2d565b306000908152602081905260408120546011549091821580611e64575081155b15611e6e57505050565b600954611e7c90601461240c565b831115611e9457600954611e9190601461240c565b92505b8247611e9f82612057565b6000611eab4783612217565b600060118190556007546040519293506001600160a01b031691839181818185875af1925050503d8060008114611efe576040519150601f19603f3d011682016040523d82523d6000602084013e611f03565b606091505b505050505050505050565b6000611f1a828461240c565b9392505050565b6000611f1a8284612423565b6001600160a01b038316611f58578060026000828254611f4d9190612498565b90915550611fca9050565b6001600160a01b03831660009081526020819052604090205481811015611fab5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610aac565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216611fe657600280548290039055612005565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161204a91815260200190565b60405180910390a3505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061208c5761208c6124be565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561210a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212e919061247b565b81600181518110612141576121416124be565b60200260200101906001600160a01b031690816001600160a01b03168152505061218c307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611447565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906121e19085906000908690309042906004016124d4565b600060405180830381600087803b1580156121fb57600080fd5b505af115801561220f573d6000803e3d6000fd5b505050505050565b6000611f1a82846124ab565b60006020808352835180602085015260005b8181101561225157858101830151858201604001528201612235565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461144457600080fd5b6000806040838503121561229a57600080fd5b82356122a581612272565b946020939093013593505050565b6000602082840312156122c557600080fd5b8135611f1a81612272565b6000602082840312156122e257600080fd5b5035919050565b6000806000606084860312156122fe57600080fd5b833561230981612272565b9250602084013561231981612272565b929592945050506040919091013590565b6000806040838503121561233d57600080fd5b823561234881612272565b9150602083013561235881612272565b809150509250929050565b801515811461144457600080fd5b6000806040838503121561238457600080fd5b823561238f81612272565b9150602083013561235881612363565b6000602082840312156123b157600080fd5b8135611f1a81612363565b600181811c908216806123d057607f821691505b6020821081036123f057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610a0757610a076123f6565b60008261244057634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561245757600080fd5b5051919050565b60006020828403121561247057600080fd5b8151611f1a81612363565b60006020828403121561248d57600080fd5b8151611f1a81612272565b80820180821115610a0757610a076123f6565b81810381811115610a0757610a076123f6565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156125265784516001600160a01b031683529383019391830191600101612501565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122040fffbfadd27d074274093f8aaa6c195f343afb7feae0d47f427312d609d8b1c64736f6c63430008170033

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.