ETH Price: $3,336.07 (-1.15%)

Contract

0x74834737aba7d19E57f298F911BF2D3A1B9B2c92
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve210142312024-10-21 13:23:5967 days ago1729517039IN
0x74834737...A1B9B2c92
0 ETH0.0005676312.164554
Approve209170962024-10-07 23:53:1181 days ago1728345191IN
0x74834737...A1B9B2c92
0 ETH0.0005210511.15194056
Approve208804122024-10-02 21:09:4786 days ago1727903387IN
0x74834737...A1B9B2c92
0 ETH0.0005597111.9794068
Approve200154432024-06-04 2:22:35207 days ago1717467755IN
0x74834737...A1B9B2c92
0 ETH0.000260125.56743178
Approve199292672024-05-23 1:21:11219 days ago1716427271IN
0x74834737...A1B9B2c92
0 ETH0.000445979.54504328
Approve198607532024-05-13 11:19:35228 days ago1715599175IN
0x74834737...A1B9B2c92
0 ETH0.000159333.41460113
Approve198455422024-05-11 8:16:47230 days ago1715415407IN
0x74834737...A1B9B2c92
0 ETH0.000239775.16767289
Approve197229132024-04-24 4:39:23247 days ago1713933563IN
0x74834737...A1B9B2c92
0 ETH0.000424819.09225929
Approve194507312024-03-16 23:31:59286 days ago1710631919IN
0x74834737...A1B9B2c92
0 ETH0.0013630429.21039489
Approve194057642024-03-10 16:03:35292 days ago1710086615IN
0x74834737...A1B9B2c92
0 ETH0.0034747974.37002218
Approve193844092024-03-07 16:12:23295 days ago1709827943IN
0x74834737...A1B9B2c92
0 ETH0.0040361586.49575427
Approve193843302024-03-07 15:56:11295 days ago1709826971IN
0x74834737...A1B9B2c92
0 ETH0.0038933583.32841291
Approve193842992024-03-07 15:49:59295 days ago1709826599IN
0x74834737...A1B9B2c92
0 ETH0.0041137588.04569325
Approve193842992024-03-07 15:49:59295 days ago1709826599IN
0x74834737...A1B9B2c92
0 ETH0.0041137588.04569325
Approve193842992024-03-07 15:49:59295 days ago1709826599IN
0x74834737...A1B9B2c92
0 ETH0.0041137588.04569325
Approve193842452024-03-07 15:39:11295 days ago1709825951IN
0x74834737...A1B9B2c92
0 ETH0.0037456180.16649508
Approve193842342024-03-07 15:36:59295 days ago1709825819IN
0x74834737...A1B9B2c92
0 ETH0.003732380.43941793
Approve193842302024-03-07 15:36:11295 days ago1709825771IN
0x74834737...A1B9B2c92
0 ETH0.0040564786.81957227
Approve193842162024-03-07 15:33:23295 days ago1709825603IN
0x74834737...A1B9B2c92
0 ETH0.0043648994
Approve193842032024-03-07 15:30:47295 days ago1709825447IN
0x74834737...A1B9B2c92
0 ETH0.0046056398.7
Approve193841802024-03-07 15:26:11295 days ago1709825171IN
0x74834737...A1B9B2c92
0 ETH0.0044891696.08049789
Approve193841742024-03-07 15:24:59295 days ago1709825099IN
0x74834737...A1B9B2c92
0 ETH0.0043405192.89880299
Approve193841712024-03-07 15:24:23295 days ago1709825063IN
0x74834737...A1B9B2c92
0 ETH0.0043697693.64519098
Approve193841692024-03-07 15:23:59295 days ago1709825039IN
0x74834737...A1B9B2c92
0 ETH0.0043904193.96697599
Approve193841682024-03-07 15:23:47295 days ago1709825027IN
0x74834737...A1B9B2c92
0 ETH0.0044458895.15407696
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
210142312024-10-21 13:23:5967 days ago1729517039
0x74834737...A1B9B2c92
0.00199842 ETH
210142312024-10-21 13:23:5967 days ago1729517039
0x74834737...A1B9B2c92
0.00199842 ETH
200154482024-06-04 2:23:35207 days ago1717467815
0x74834737...A1B9B2c92
0.00173909 ETH
200154482024-06-04 2:23:35207 days ago1717467815
0x74834737...A1B9B2c92
0.00173909 ETH
200152222024-06-04 1:37:59207 days ago1717465079
0x74834737...A1B9B2c92
0.00220143 ETH
200152222024-06-04 1:37:59207 days ago1717465079
0x74834737...A1B9B2c92
0.00220143 ETH
200152212024-06-04 1:37:47207 days ago1717465067
0x74834737...A1B9B2c92
0.00210696 ETH
200152212024-06-04 1:37:47207 days ago1717465067
0x74834737...A1B9B2c92
0.00210696 ETH
200152082024-06-04 1:35:11207 days ago1717464911
0x74834737...A1B9B2c92
0.00210696 ETH
200152082024-06-04 1:35:11207 days ago1717464911
0x74834737...A1B9B2c92
0.00210696 ETH
200152072024-06-04 1:34:59207 days ago1717464899
0x74834737...A1B9B2c92
0.00210696 ETH
200152072024-06-04 1:34:59207 days ago1717464899
0x74834737...A1B9B2c92
0.00210696 ETH
199635432024-05-27 20:18:35214 days ago1716841115
0x74834737...A1B9B2c92
0.00199824 ETH
199635432024-05-27 20:18:35214 days ago1716841115
0x74834737...A1B9B2c92
0.00199824 ETH
198607822024-05-13 11:25:23228 days ago1715599523
0x74834737...A1B9B2c92
0.00375321 ETH
198607822024-05-13 11:25:23228 days ago1715599523
0x74834737...A1B9B2c92
0.00375321 ETH
197229142024-04-24 4:39:35247 days ago1713933575
0x74834737...A1B9B2c92
0.00265933 ETH
197229142024-04-24 4:39:35247 days ago1713933575
0x74834737...A1B9B2c92
0.00265933 ETH
194057672024-03-10 16:04:11292 days ago1710086651
0x74834737...A1B9B2c92
0.00355143 ETH
194057672024-03-10 16:04:11292 days ago1710086651
0x74834737...A1B9B2c92
0.00355143 ETH
193877332024-03-08 3:21:11295 days ago1709868071
0x74834737...A1B9B2c92
0.00215148 ETH
193877332024-03-08 3:21:11295 days ago1709868071
0x74834737...A1B9B2c92
0.00215148 ETH
193847052024-03-07 17:12:11295 days ago1709831531
0x74834737...A1B9B2c92
0.00278923 ETH
193847052024-03-07 17:12:11295 days ago1709831531
0x74834737...A1B9B2c92
0.00278923 ETH
193847012024-03-07 17:11:23295 days ago1709831483
0x74834737...A1B9B2c92
0.00337682 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TAIM

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 10 : TAIM.sol
// Website: https://taim.financial
// Twitter: https://x.com/taim_financial
// Telegram: https://t.me/taim_financial

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 TAIM 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("Tokenized Advanced Integrated Models", "TAIM") {
        IUniswapV2Router02 _uniswapRouter = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D 
        );

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

        uint256 _buyTreasuryFee = 30;
        uint256 _sellTreasuryFee = 30;

        uint256 totalSupply = 10_000_000 * 1e18;

        maxTransactionAmount = 100_000 * 1e18; 
        maxWallet = 100_000 * 1e18; 
        swapTokensAtAmount = (totalSupply * 5) / 10000; 

        buyTreasuryFee = _buyTreasuryFee;
        buyTotalFees = buyTreasuryFee;

        sellTreasuryFee = _sellTreasuryFee;
        sellTotalFees = sellTreasuryFee;

        treasuryWallet = address(0x8693B4D2A9bB4e816196642e8AfF044704cb6Ce1);

        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 {
        buyTreasuryFee = _treasuryFee;
        buyTotalFees = buyTreasuryFee;
    }

    function updateSellFees(
        uint256 _treasuryFee
    ) external onlyOwner {
        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/"
  ],
  "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"}]

60a0604052600b805463ffffffff191660011790553480156200002157600080fd5b503360405180606001604052806024815260200162002bde602491396040805180820190915260048152635441494d60e01b6020820152600362000066838262000505565b50600462000075828262000505565b5050506001600160a01b038116620000a857604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b620000b381620001cc565b50737a250d5630b4cf539739df2c5dacb4c659f2488d620000d68160016200021e565b6001600160a01b03811660805269152d02c7e14af68000006008819055600a55601e806a084595161401484a00000061271062000115826005620005e7565b62000121919062000607565b600955600e839055600d8390556010829055600f829055600780546001600160a01b031916738693b4d2a9bb4e816196642e8aff044704cb6ce11790556200017d620001756005546001600160a01b031690565b600162000253565b6200018a30600162000253565b620001a9620001a16005546001600160a01b031690565b60016200021e565b620001b63060016200021e565b620001c23382620002bc565b5050505062000640565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000228620002fa565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b6200025d620002fa565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b038216620002e85760405163ec442f0560e01b8152600060048201526024016200009f565b620002f6600083836200032b565b5050565b6005546001600160a01b03163314620003295760405163118cdaa760e01b81523360048201526024016200009f565b565b6001600160a01b0383166200035a5780600260008282546200034e91906200062a565b90915550620003ce9050565b6001600160a01b03831660009081526020819052604090205481811015620003af5760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016200009f565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216620003ec576002805482900390556200040b565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200045191815260200190565b60405180910390a3505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200048957607f821691505b602082108103620004aa57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000500576000816000526020600020601f850160051c81016020861015620004db5750805b601f850160051c820191505b81811015620004fc57828155600101620004e7565b5050505b505050565b81516001600160401b038111156200052157620005216200045e565b620005398162000532845462000474565b84620004b0565b602080601f831160018114620005715760008415620005585750858301515b600019600386901b1c1916600185901b178555620004fc565b600085815260208120601f198616915b82811015620005a25788860151825594840194600190910190840162000581565b5085821015620005c15787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620006015762000601620005d1565b92915050565b6000826200062557634e487b7160e01b600052601260045260246000fd5b500490565b80820180821115620006015762000601620005d1565b60805161255f6200067f6000396000818161061101528181610fb10152818161104201528181612090015281816121490152612185015261255f6000f3fe6080604052600436106102e85760003560e01c80637571336a11610190578063c18bc195116100dc578063e19b282311610095578063f2fde38b1161006f578063f2fde38b146108f2578063f8b45b0514610912578063f9f92be41461089c578063fe575a871461092857600080fd5b8063e19b28231461089c578063e2f45605146108bc578063eba4c333146108d257600080fd5b8063c18bc195146107d4578063c8c8ebe4146107f4578063cc2ffe7c1461080a578063d257b34f14610820578063d85ba06314610840578063dd62ed3e1461085657600080fd5b806395d89b4111610149578063a9059cbb11610123578063a9059cbb14610745578063b62496f514610765578063bbc0c74214610795578063c0246668146107b457600080fd5b806395d89b41146106fb5780639a7a23d6146107105780639e78fb4f1461073057600080fd5b80637571336a1461064857806375e3661e14610668578063809d458d146106885780638a8c523c146106a85780638da5cb5b146106bd578063924de9b7146106db57600080fd5b80634a62bb651161024f5780636b2fb12411610208578063715018a6116101e2578063715018a6146105ca57806371fc4688146105df578063735de9f7146105ff578063751039fc1461063357600080fd5b80636b2fb1241461055e5780636ddd17131461057457806370a082311461059457600080fd5b80634a62bb65146104aa5780634fbee193146104c45780635c068a8c146104fd5780635f18936114610513578063690d8320146105285780636a486a8e1461054857600080fd5b8063313ce567116102a1578063313ce567146103e05780633aeac4e1146103fc5780633dc599ff1461041c57806340c5628e1461043d5780634626402b1461045257806349bd5a5e1461048a57600080fd5b806306fdde03146102f4578063095ea7b31461031f57806310d5de531461034f57806318160ddd1461037f578063203e727e1461039e57806323b872dd146103c057600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610961565b6040516103169190612205565b60405180910390f35b34801561032b57600080fd5b5061033f61033a366004612269565b6109f3565b6040519015158152602001610316565b34801561035b57600080fd5b5061033f61036a366004612295565b60136020526000908152604090205460ff1681565b34801561038b57600080fd5b506002545b604051908152602001610316565b3480156103aa57600080fd5b506103be6103b93660046122b2565b610a0d565b005b3480156103cc57600080fd5b5061033f6103db3660046122cb565b610acd565b3480156103ec57600080fd5b5060405160128152602001610316565b34801561040857600080fd5b506103be61041736600461230c565b610af1565b34801561042857600080fd5b50600b5461033f906301000000900460ff1681565b34801561044957600080fd5b506103be610c37565b34801561045e57600080fd5b50600754610472906001600160a01b031681565b6040516001600160a01b039091168152602001610316565b34801561049657600080fd5b50600654610472906001600160a01b031681565b3480156104b657600080fd5b50600b5461033f9060ff1681565b3480156104d057600080fd5b5061033f6104df366004612295565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561050957600080fd5b50610390600e5481565b34801561051f57600080fd5b506103be610d3d565b34801561053457600080fd5b506103be610543366004612295565b610d5a565b34801561055457600080fd5b50610390600f5481565b34801561056a57600080fd5b5061039060105481565b34801561058057600080fd5b50600b5461033f9062010000900460ff1681565b3480156105a057600080fd5b506103906105af366004612295565b6001600160a01b031660009081526020819052604090205490565b3480156105d657600080fd5b506103be610dc2565b3480156105eb57600080fd5b506103be6105fa3660046122b2565b610dd6565b34801561060b57600080fd5b506104727f000000000000000000000000000000000000000000000000000000000000000081565b34801561063f57600080fd5b5061033f610de8565b34801561065457600080fd5b506103be610663366004612353565b610e02565b34801561067457600080fd5b506103be610683366004612295565b610e35565b34801561069457600080fd5b506103be6106a3366004612295565b610e5e565b3480156106b457600080fd5b506103be610ec3565b3480156106c957600080fd5b506005546001600160a01b0316610472565b3480156106e757600080fd5b506103be6106f6366004612381565b610ede565b34801561070757600080fd5b50610309610f02565b34801561071c57600080fd5b506103be61072b366004612353565b610f11565b34801561073c57600080fd5b506103be610fa7565b34801561075157600080fd5b5061033f610760366004612269565b611174565b34801561077157600080fd5b5061033f610780366004612295565b60146020526000908152604090205460ff1681565b3480156107a157600080fd5b50600b5461033f90610100900460ff1681565b3480156107c057600080fd5b506103be6107cf366004612353565b611182565b3480156107e057600080fd5b506103be6107ef3660046122b2565b6111e9565b34801561080057600080fd5b5061039060085481565b34801561081657600080fd5b5061039060115481565b34801561082c57600080fd5b5061033f61083b3660046122b2565b611298565b34801561084c57600080fd5b50610390600d5481565b34801561086257600080fd5b5061039061087136600461230c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108a857600080fd5b506103be6108b7366004612295565b6112ab565b3480156108c857600080fd5b5061039060095481565b3480156108de57600080fd5b506103be6108ed3660046122b2565b6113d9565b3480156108fe57600080fd5b506103be61090d366004612295565b6113eb565b34801561091e57600080fd5b50610390600a5481565b34801561093457600080fd5b5061033f610943366004612295565b6001600160a01b03166000908152600c602052604090205460ff1690565b6060600380546109709061239e565b80601f016020809104026020016040519081016040528092919081815260200182805461099c9061239e565b80156109e95780601f106109be576101008083540402835291602001916109e9565b820191906000526020600020905b8154815290600101906020018083116109cc57829003601f168201915b5050505050905090565b600033610a01818585611429565b60019150505b92915050565b610a1561143b565b670de0b6b3a76400006103e8610a2a60025490565b610a359060056123ee565b610a3f9190612405565b610a499190612405565b811015610ab55760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b60648201526084015b60405180910390fd5b610ac781670de0b6b3a76400006123ee565b60085550565b600033610adb858285611468565b610ae68585856114e0565b506001949350505050565b610af961143b565b6001600160a01b038216610b4f5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610aac565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610b96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bba9190612427565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c319190612440565b50505050565b610c3f61143b565b6040516370a0823160e01b815230600482018190526000916370a0823190602401602060405180830381865afa158015610c7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca19190612427565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0c9190612440565b5060405133904780156108fc02916000818181858888f19350505050158015610d39573d6000803e3d6000fd5b5050565b610d4561143b565b600b805463ff00000019166301000000179055565b610d6261143b565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610daf576040519150601f19603f3d011682016040523d82523d6000602084013e610db4565b606091505b5050905080610d3957600080fd5b610dca61143b565b610dd46000611c4c565b565b610dde61143b565b600e819055600d55565b6000610df261143b565b50600b805460ff19169055600190565b610e0a61143b565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b610e3d61143b565b6001600160a01b03166000908152600c60205260409020805460ff19169055565b610e6661143b565b6007546040516001600160a01b03918216918316907f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63590600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b610ecb61143b565b600b805462ffff00191662010100179055565b610ee661143b565b600b8054911515620100000262ff000019909216919091179055565b6060600480546109709061239e565b610f1961143b565b6006546001600160a01b0390811690831603610f9d5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610aac565b610d398282611c9e565b610faf61143b565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611031919061245d565b6001600160a01b031663c9c65396307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561109e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c2919061245d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561110f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611133919061245d565b600680546001600160a01b0319166001600160a01b0392909216918217905561115d906001610e02565b600654610dd4906001600160a01b03166001611c9e565b600033610a018185856114e0565b61118a61143b565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6111f161143b565b670de0b6b3a76400006103e861120660025490565b61121190600a6123ee565b61121b9190612405565b6112259190612405565b8110156112805760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e302560e01b6064820152608401610aac565b61129281670de0b6b3a76400006123ee565b600a5550565b60006112a261143b565b50600955600190565b6112b361143b565b600b546301000000900460ff16156113175760405162461bcd60e51b815260206004820152602160248201527f5465616d20686173207265766f6b656420626c61636b6c6973742072696768746044820152607360f81b6064820152608401610aac565b6006546001600160a01b0382811691161480159061135257506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b6113b55760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201526d32b91037b9103b19103837b7b61760911b6064820152608401610aac565b6001600160a01b03166000908152600c60205260409020805460ff19166001179055565b6113e161143b565b6010819055600f55565b6113f361143b565b6001600160a01b03811661141d57604051631e4fbdf760e01b815260006004820152602401610aac565b61142681611c4c565b50565b6114368383836001611cf2565b505050565b6005546001600160a01b03163314610dd45760405163118cdaa760e01b8152336004820152602401610aac565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610c3157818110156114d157604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610aac565b610c3184848484036000611cf2565b6001600160a01b0383166115445760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610aac565b6001600160a01b0382166115a65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610aac565b6001600160a01b0383166000908152600c602052604090205460ff16156116045760405162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b6044820152606401610aac565b6001600160a01b0382166000908152600c602052604090205460ff16156116645760405162461bcd60e51b8152602060048201526014602482015273149958d95a5d995c88189b1858dadb1a5cdd195960621b6044820152606401610aac565b806000036116785761143683836000611dc7565b600b5460ff16156119d7576005546001600160a01b038481169116148015906116af57506005546001600160a01b03838116911614155b80156116c357506001600160a01b03821615155b80156116d95750600654600160a01b900460ff16155b156119d757600b54610100900460ff16611771576001600160a01b03831660009081526012602052604090205460ff168061172c57506001600160a01b03821660009081526012602052604090205460ff165b6117715760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610aac565b6001600160a01b03831660009081526014602052604090205460ff1680156117b257506001600160a01b03821660009081526013602052604090205460ff16155b15611896576008548111156118275760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610aac565b600a546001600160a01b03831660009081526020819052604090205461184d908361247a565b11156118915760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aac565b6119d7565b6001600160a01b03821660009081526014602052604090205460ff1680156118d757506001600160a01b03831660009081526013602052604090205460ff16155b1561194d576008548111156118915760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610aac565b6001600160a01b03821660009081526013602052604090205460ff166119d757600a546001600160a01b038316600090815260208190526040902054611993908361247a565b11156119d75760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aac565b3060009081526020819052604090205460095481108015908190611a035750600b5462010000900460ff165b8015611a195750600654600160a01b900460ff16155b8015611a3e57506001600160a01b03851660009081526014602052604090205460ff16155b8015611a6357506001600160a01b03851660009081526012602052604090205460ff16155b8015611a8857506001600160a01b03841660009081526012602052604090205460ff16155b15611ab6576006805460ff60a01b1916600160a01b179055611aa8611e26565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526012602052604090205460ff600160a01b909204821615911680611b0457506001600160a01b03851660009081526012602052604090205460ff165b15611b0d575060005b60008115611c38576001600160a01b03861660009081526014602052604090205460ff168015611b3f57506000600f54115b15611b9d57611b646064611b5e600f5488611ef090919063ffffffff16565b90611f03565b9050600f5460105482611b7791906123ee565b611b819190612405565b60116000828254611b92919061247a565b90915550611c1a9050565b6001600160a01b03871660009081526014602052604090205460ff168015611bc757506000600d54115b15611c1a57611be66064611b5e600d5488611ef090919063ffffffff16565b9050600d54600e5482611bf991906123ee565b611c039190612405565b60116000828254611c14919061247a565b90915550505b8015611c2b57611c2b873083611dc7565b611c35818661248d565b94505b611c43878787611dc7565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260146020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038416611d1c5760405163e602df0560e01b815260006004820152602401610aac565b6001600160a01b038316611d4657604051634a1406b160e11b815260006004820152602401610aac565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610c3157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611db991815260200190565b60405180910390a350505050565b6001600160a01b038316611df157604051634b637e8f60e11b815260006004820152602401610aac565b6001600160a01b038216611e1b5760405163ec442f0560e01b815260006004820152602401610aac565b611436838383611f0f565b306000908152602081905260408120546011549091821580611e46575081155b15611e5057505050565b600954611e5e9060146123ee565b831115611e7657600954611e739060146123ee565b92505b8247611e8182612039565b6000611e8d47836121f9565b600060118190556007546040519293506001600160a01b031691839181818185875af1925050503d8060008114611ee0576040519150601f19603f3d011682016040523d82523d6000602084013e611ee5565b606091505b505050505050505050565b6000611efc82846123ee565b9392505050565b6000611efc8284612405565b6001600160a01b038316611f3a578060026000828254611f2f919061247a565b90915550611fac9050565b6001600160a01b03831660009081526020819052604090205481811015611f8d5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610aac565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216611fc857600280548290039055611fe7565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161202c91815260200190565b60405180910390a3505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061206e5761206e6124a0565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612110919061245d565b81600181518110612123576121236124a0565b60200260200101906001600160a01b031690816001600160a01b03168152505061216e307f000000000000000000000000000000000000000000000000000000000000000084611429565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906121c39085906000908690309042906004016124b6565b600060405180830381600087803b1580156121dd57600080fd5b505af11580156121f1573d6000803e3d6000fd5b505050505050565b6000611efc828461248d565b60006020808352835180602085015260005b8181101561223357858101830151858201604001528201612217565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461142657600080fd5b6000806040838503121561227c57600080fd5b823561228781612254565b946020939093013593505050565b6000602082840312156122a757600080fd5b8135611efc81612254565b6000602082840312156122c457600080fd5b5035919050565b6000806000606084860312156122e057600080fd5b83356122eb81612254565b925060208401356122fb81612254565b929592945050506040919091013590565b6000806040838503121561231f57600080fd5b823561232a81612254565b9150602083013561233a81612254565b809150509250929050565b801515811461142657600080fd5b6000806040838503121561236657600080fd5b823561237181612254565b9150602083013561233a81612345565b60006020828403121561239357600080fd5b8135611efc81612345565b600181811c908216806123b257607f821691505b6020821081036123d257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610a0757610a076123d8565b60008261242257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561243957600080fd5b5051919050565b60006020828403121561245257600080fd5b8151611efc81612345565b60006020828403121561246f57600080fd5b8151611efc81612254565b80820180821115610a0757610a076123d8565b81810381811115610a0757610a076123d8565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156125085784516001600160a01b0316835293830193918301916001016124e3565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220ac80307807db9b1160be34a610b9581f2f7bd1fb8ae96b9be616ec352f48fe4b64736f6c63430008170033546f6b656e697a656420416476616e63656420496e7465677261746564204d6f64656c73

Deployed Bytecode

0x6080604052600436106102e85760003560e01c80637571336a11610190578063c18bc195116100dc578063e19b282311610095578063f2fde38b1161006f578063f2fde38b146108f2578063f8b45b0514610912578063f9f92be41461089c578063fe575a871461092857600080fd5b8063e19b28231461089c578063e2f45605146108bc578063eba4c333146108d257600080fd5b8063c18bc195146107d4578063c8c8ebe4146107f4578063cc2ffe7c1461080a578063d257b34f14610820578063d85ba06314610840578063dd62ed3e1461085657600080fd5b806395d89b4111610149578063a9059cbb11610123578063a9059cbb14610745578063b62496f514610765578063bbc0c74214610795578063c0246668146107b457600080fd5b806395d89b41146106fb5780639a7a23d6146107105780639e78fb4f1461073057600080fd5b80637571336a1461064857806375e3661e14610668578063809d458d146106885780638a8c523c146106a85780638da5cb5b146106bd578063924de9b7146106db57600080fd5b80634a62bb651161024f5780636b2fb12411610208578063715018a6116101e2578063715018a6146105ca57806371fc4688146105df578063735de9f7146105ff578063751039fc1461063357600080fd5b80636b2fb1241461055e5780636ddd17131461057457806370a082311461059457600080fd5b80634a62bb65146104aa5780634fbee193146104c45780635c068a8c146104fd5780635f18936114610513578063690d8320146105285780636a486a8e1461054857600080fd5b8063313ce567116102a1578063313ce567146103e05780633aeac4e1146103fc5780633dc599ff1461041c57806340c5628e1461043d5780634626402b1461045257806349bd5a5e1461048a57600080fd5b806306fdde03146102f4578063095ea7b31461031f57806310d5de531461034f57806318160ddd1461037f578063203e727e1461039e57806323b872dd146103c057600080fd5b366102ef57005b600080fd5b34801561030057600080fd5b50610309610961565b6040516103169190612205565b60405180910390f35b34801561032b57600080fd5b5061033f61033a366004612269565b6109f3565b6040519015158152602001610316565b34801561035b57600080fd5b5061033f61036a366004612295565b60136020526000908152604090205460ff1681565b34801561038b57600080fd5b506002545b604051908152602001610316565b3480156103aa57600080fd5b506103be6103b93660046122b2565b610a0d565b005b3480156103cc57600080fd5b5061033f6103db3660046122cb565b610acd565b3480156103ec57600080fd5b5060405160128152602001610316565b34801561040857600080fd5b506103be61041736600461230c565b610af1565b34801561042857600080fd5b50600b5461033f906301000000900460ff1681565b34801561044957600080fd5b506103be610c37565b34801561045e57600080fd5b50600754610472906001600160a01b031681565b6040516001600160a01b039091168152602001610316565b34801561049657600080fd5b50600654610472906001600160a01b031681565b3480156104b657600080fd5b50600b5461033f9060ff1681565b3480156104d057600080fd5b5061033f6104df366004612295565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561050957600080fd5b50610390600e5481565b34801561051f57600080fd5b506103be610d3d565b34801561053457600080fd5b506103be610543366004612295565b610d5a565b34801561055457600080fd5b50610390600f5481565b34801561056a57600080fd5b5061039060105481565b34801561058057600080fd5b50600b5461033f9062010000900460ff1681565b3480156105a057600080fd5b506103906105af366004612295565b6001600160a01b031660009081526020819052604090205490565b3480156105d657600080fd5b506103be610dc2565b3480156105eb57600080fd5b506103be6105fa3660046122b2565b610dd6565b34801561060b57600080fd5b506104727f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561063f57600080fd5b5061033f610de8565b34801561065457600080fd5b506103be610663366004612353565b610e02565b34801561067457600080fd5b506103be610683366004612295565b610e35565b34801561069457600080fd5b506103be6106a3366004612295565b610e5e565b3480156106b457600080fd5b506103be610ec3565b3480156106c957600080fd5b506005546001600160a01b0316610472565b3480156106e757600080fd5b506103be6106f6366004612381565b610ede565b34801561070757600080fd5b50610309610f02565b34801561071c57600080fd5b506103be61072b366004612353565b610f11565b34801561073c57600080fd5b506103be610fa7565b34801561075157600080fd5b5061033f610760366004612269565b611174565b34801561077157600080fd5b5061033f610780366004612295565b60146020526000908152604090205460ff1681565b3480156107a157600080fd5b50600b5461033f90610100900460ff1681565b3480156107c057600080fd5b506103be6107cf366004612353565b611182565b3480156107e057600080fd5b506103be6107ef3660046122b2565b6111e9565b34801561080057600080fd5b5061039060085481565b34801561081657600080fd5b5061039060115481565b34801561082c57600080fd5b5061033f61083b3660046122b2565b611298565b34801561084c57600080fd5b50610390600d5481565b34801561086257600080fd5b5061039061087136600461230c565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b3480156108a857600080fd5b506103be6108b7366004612295565b6112ab565b3480156108c857600080fd5b5061039060095481565b3480156108de57600080fd5b506103be6108ed3660046122b2565b6113d9565b3480156108fe57600080fd5b506103be61090d366004612295565b6113eb565b34801561091e57600080fd5b50610390600a5481565b34801561093457600080fd5b5061033f610943366004612295565b6001600160a01b03166000908152600c602052604090205460ff1690565b6060600380546109709061239e565b80601f016020809104026020016040519081016040528092919081815260200182805461099c9061239e565b80156109e95780601f106109be576101008083540402835291602001916109e9565b820191906000526020600020905b8154815290600101906020018083116109cc57829003601f168201915b5050505050905090565b600033610a01818585611429565b60019150505b92915050565b610a1561143b565b670de0b6b3a76400006103e8610a2a60025490565b610a359060056123ee565b610a3f9190612405565b610a499190612405565b811015610ab55760405162461bcd60e51b815260206004820152602f60248201527f43616e6e6f7420736574206d61785472616e73616374696f6e416d6f756e742060448201526e6c6f776572207468616e20302e352560881b60648201526084015b60405180910390fd5b610ac781670de0b6b3a76400006123ee565b60085550565b600033610adb858285611468565b610ae68585856114e0565b506001949350505050565b610af961143b565b6001600160a01b038216610b4f5760405162461bcd60e51b815260206004820152601a60248201527f5f746f6b656e20616464726573732063616e6e6f7420626520300000000000006044820152606401610aac565b6040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa158015610b96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bba9190612427565b60405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390529192509084169063a9059cbb906044016020604051808303816000875af1158015610c0d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c319190612440565b50505050565b610c3f61143b565b6040516370a0823160e01b815230600482018190526000916370a0823190602401602060405180830381865afa158015610c7d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ca19190612427565b60405163a9059cbb60e01b815233600482015260248101829052909150309063a9059cbb906044016020604051808303816000875af1158015610ce8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d0c9190612440565b5060405133904780156108fc02916000818181858888f19350505050158015610d39573d6000803e3d6000fd5b5050565b610d4561143b565b600b805463ff00000019166301000000179055565b610d6261143b565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610daf576040519150601f19603f3d011682016040523d82523d6000602084013e610db4565b606091505b5050905080610d3957600080fd5b610dca61143b565b610dd46000611c4c565b565b610dde61143b565b600e819055600d55565b6000610df261143b565b50600b805460ff19169055600190565b610e0a61143b565b6001600160a01b03919091166000908152601360205260409020805460ff1916911515919091179055565b610e3d61143b565b6001600160a01b03166000908152600c60205260409020805460ff19169055565b610e6661143b565b6007546040516001600160a01b03918216918316907f02f8a1483978974a6412ba3a67040b4daa4fc0dfe9439a7295f9a9538394f63590600090a3600780546001600160a01b0319166001600160a01b0392909216919091179055565b610ecb61143b565b600b805462ffff00191662010100179055565b610ee661143b565b600b8054911515620100000262ff000019909216919091179055565b6060600480546109709061239e565b610f1961143b565b6006546001600160a01b0390811690831603610f9d5760405162461bcd60e51b815260206004820152603960248201527f54686520706169722063616e6e6f742062652072656d6f7665642066726f6d2060448201527f6175746f6d617465644d61726b65744d616b65725061697273000000000000006064820152608401610aac565b610d398282611c9e565b610faf61143b565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801561100d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611031919061245d565b6001600160a01b031663c9c65396307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561109e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110c2919061245d565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801561110f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611133919061245d565b600680546001600160a01b0319166001600160a01b0392909216918217905561115d906001610e02565b600654610dd4906001600160a01b03166001611c9e565b600033610a018185856114e0565b61118a61143b565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6111f161143b565b670de0b6b3a76400006103e861120660025490565b61121190600a6123ee565b61121b9190612405565b6112259190612405565b8110156112805760405162461bcd60e51b8152602060048201526024808201527f43616e6e6f7420736574206d617857616c6c6574206c6f776572207468616e20604482015263312e302560e01b6064820152608401610aac565b61129281670de0b6b3a76400006123ee565b600a5550565b60006112a261143b565b50600955600190565b6112b361143b565b600b546301000000900460ff16156113175760405162461bcd60e51b815260206004820152602160248201527f5465616d20686173207265766f6b656420626c61636b6c6973742072696768746044820152607360f81b6064820152608401610aac565b6006546001600160a01b0382811691161480159061135257506001600160a01b038116737a250d5630b4cf539739df2c5dacb4c659f2488d14155b6113b55760405162461bcd60e51b815260206004820152602e60248201527f43616e6e6f7420626c61636b6c69737420746f6b656e277320763220726f757460448201526d32b91037b9103b19103837b7b61760911b6064820152608401610aac565b6001600160a01b03166000908152600c60205260409020805460ff19166001179055565b6113e161143b565b6010819055600f55565b6113f361143b565b6001600160a01b03811661141d57604051631e4fbdf760e01b815260006004820152602401610aac565b61142681611c4c565b50565b6114368383836001611cf2565b505050565b6005546001600160a01b03163314610dd45760405163118cdaa760e01b8152336004820152602401610aac565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610c3157818110156114d157604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610aac565b610c3184848484036000611cf2565b6001600160a01b0383166115445760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610aac565b6001600160a01b0382166115a65760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610aac565b6001600160a01b0383166000908152600c602052604090205460ff16156116045760405162461bcd60e51b815260206004820152601260248201527114d95b99195c88189b1858dadb1a5cdd195960721b6044820152606401610aac565b6001600160a01b0382166000908152600c602052604090205460ff16156116645760405162461bcd60e51b8152602060048201526014602482015273149958d95a5d995c88189b1858dadb1a5cdd195960621b6044820152606401610aac565b806000036116785761143683836000611dc7565b600b5460ff16156119d7576005546001600160a01b038481169116148015906116af57506005546001600160a01b03838116911614155b80156116c357506001600160a01b03821615155b80156116d95750600654600160a01b900460ff16155b156119d757600b54610100900460ff16611771576001600160a01b03831660009081526012602052604090205460ff168061172c57506001600160a01b03821660009081526012602052604090205460ff165b6117715760405162461bcd60e51b81526020600482015260166024820152752a3930b234b7339034b9903737ba1030b1ba34bb329760511b6044820152606401610aac565b6001600160a01b03831660009081526014602052604090205460ff1680156117b257506001600160a01b03821660009081526013602052604090205460ff16155b15611896576008548111156118275760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610aac565b600a546001600160a01b03831660009081526020819052604090205461184d908361247a565b11156118915760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aac565b6119d7565b6001600160a01b03821660009081526014602052604090205460ff1680156118d757506001600160a01b03831660009081526013602052604090205460ff16155b1561194d576008548111156118915760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610aac565b6001600160a01b03821660009081526013602052604090205460ff166119d757600a546001600160a01b038316600090815260208190526040902054611993908361247a565b11156119d75760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610aac565b3060009081526020819052604090205460095481108015908190611a035750600b5462010000900460ff165b8015611a195750600654600160a01b900460ff16155b8015611a3e57506001600160a01b03851660009081526014602052604090205460ff16155b8015611a6357506001600160a01b03851660009081526012602052604090205460ff16155b8015611a8857506001600160a01b03841660009081526012602052604090205460ff16155b15611ab6576006805460ff60a01b1916600160a01b179055611aa8611e26565b6006805460ff60a01b191690555b6006546001600160a01b03861660009081526012602052604090205460ff600160a01b909204821615911680611b0457506001600160a01b03851660009081526012602052604090205460ff165b15611b0d575060005b60008115611c38576001600160a01b03861660009081526014602052604090205460ff168015611b3f57506000600f54115b15611b9d57611b646064611b5e600f5488611ef090919063ffffffff16565b90611f03565b9050600f5460105482611b7791906123ee565b611b819190612405565b60116000828254611b92919061247a565b90915550611c1a9050565b6001600160a01b03871660009081526014602052604090205460ff168015611bc757506000600d54115b15611c1a57611be66064611b5e600d5488611ef090919063ffffffff16565b9050600d54600e5482611bf991906123ee565b611c039190612405565b60116000828254611c14919061247a565b90915550505b8015611c2b57611c2b873083611dc7565b611c35818661248d565b94505b611c43878787611dc7565b50505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b038216600081815260146020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b6001600160a01b038416611d1c5760405163e602df0560e01b815260006004820152602401610aac565b6001600160a01b038316611d4657604051634a1406b160e11b815260006004820152602401610aac565b6001600160a01b0380851660009081526001602090815260408083209387168352929052208290558015610c3157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611db991815260200190565b60405180910390a350505050565b6001600160a01b038316611df157604051634b637e8f60e11b815260006004820152602401610aac565b6001600160a01b038216611e1b5760405163ec442f0560e01b815260006004820152602401610aac565b611436838383611f0f565b306000908152602081905260408120546011549091821580611e46575081155b15611e5057505050565b600954611e5e9060146123ee565b831115611e7657600954611e739060146123ee565b92505b8247611e8182612039565b6000611e8d47836121f9565b600060118190556007546040519293506001600160a01b031691839181818185875af1925050503d8060008114611ee0576040519150601f19603f3d011682016040523d82523d6000602084013e611ee5565b606091505b505050505050505050565b6000611efc82846123ee565b9392505050565b6000611efc8284612405565b6001600160a01b038316611f3a578060026000828254611f2f919061247a565b90915550611fac9050565b6001600160a01b03831660009081526020819052604090205481811015611f8d5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610aac565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216611fc857600280548290039055611fe7565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161202c91815260200190565b60405180910390a3505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061206e5761206e6124a0565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156120ec573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612110919061245d565b81600181518110612123576121236124a0565b60200260200101906001600160a01b031690816001600160a01b03168152505061216e307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611429565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906121c39085906000908690309042906004016124b6565b600060405180830381600087803b1580156121dd57600080fd5b505af11580156121f1573d6000803e3d6000fd5b505050505050565b6000611efc828461248d565b60006020808352835180602085015260005b8181101561223357858101830151858201604001528201612217565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b038116811461142657600080fd5b6000806040838503121561227c57600080fd5b823561228781612254565b946020939093013593505050565b6000602082840312156122a757600080fd5b8135611efc81612254565b6000602082840312156122c457600080fd5b5035919050565b6000806000606084860312156122e057600080fd5b83356122eb81612254565b925060208401356122fb81612254565b929592945050506040919091013590565b6000806040838503121561231f57600080fd5b823561232a81612254565b9150602083013561233a81612254565b809150509250929050565b801515811461142657600080fd5b6000806040838503121561236657600080fd5b823561237181612254565b9150602083013561233a81612345565b60006020828403121561239357600080fd5b8135611efc81612345565b600181811c908216806123b257607f821691505b6020821081036123d257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610a0757610a076123d8565b60008261242257634e487b7160e01b600052601260045260246000fd5b500490565b60006020828403121561243957600080fd5b5051919050565b60006020828403121561245257600080fd5b8151611efc81612345565b60006020828403121561246f57600080fd5b8151611efc81612254565b80820180821115610a0757610a076123d8565b81810381811115610a0757610a076123d8565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156125085784516001600160a01b0316835293830193918301916001016124e3565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220ac80307807db9b1160be34a610b9581f2f7bd1fb8ae96b9be616ec352f48fe4b64736f6c63430008170033

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.