ETH Price: $2,395.11 (-0.28%)

Contract

0x7075f71f6EdDd3Aa1C9C49A8E98339E04452B697
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve191657692024-02-06 0:56:23213 days ago1707180983IN
0x7075f71f...04452B697
0 ETH0.0006978815.05482592
Approve190348612024-01-18 16:12:59231 days ago1705594379IN
0x7075f71f...04452B697
0 ETH0.0031442867.46229513
Approve187827252023-12-14 6:53:47267 days ago1702536827IN
0x7075f71f...04452B697
0 ETH0.0023226249.83316175
Transfer187810252023-12-14 1:10:47267 days ago1702516247IN
0x7075f71f...04452B697
0 ETH0.0032914545.93731547
Approve187699272023-12-12 11:52:47269 days ago1702381967IN
0x7075f71f...04452B697
0 ETH0.0013776329.55791792
Transfer187654642023-12-11 20:52:47269 days ago1702327967IN
0x7075f71f...04452B697
0 ETH0.002833247.70029315
Transfer187654582023-12-11 20:51:35269 days ago1702327895IN
0x7075f71f...04452B697
0 ETH0.0041932154.81611525
Approve187631802023-12-11 13:11:47270 days ago1702300307IN
0x7075f71f...04452B697
0 ETH0.0007992830.15715286
Approve187631802023-12-11 13:11:47270 days ago1702300307IN
0x7075f71f...04452B697
0 ETH0.0013994130.15715286
Approve187631802023-12-11 13:11:47270 days ago1702300307IN
0x7075f71f...04452B697
0 ETH0.0013994130.15715286
Approve187631612023-12-11 13:07:59270 days ago1702300079IN
0x7075f71f...04452B697
0 ETH0.0016085234.66346165
Approve187575522023-12-10 18:19:35270 days ago1702232375IN
0x7075f71f...04452B697
0 ETH0.0042687591.58841483
Approve187575522023-12-10 18:19:35270 days ago1702232375IN
0x7075f71f...04452B697
0 ETH0.0042687591.58841483
Transfer187565072023-12-10 14:48:47270 days ago1702219727IN
0x7075f71f...04452B697
0 ETH0.0058533927.77809327
Approve187477802023-12-09 9:28:47272 days ago1702114127IN
0x7075f71f...04452B697
0 ETH0.0016775635.99303426
Approve187477802023-12-09 9:28:47272 days ago1702114127IN
0x7075f71f...04452B697
0 ETH0.0016775635.99303426
Approve187468192023-12-09 6:15:11272 days ago1702102511IN
0x7075f71f...04452B697
0 ETH0.0013391828.77006732
Approve187377302023-12-07 23:39:35273 days ago1701992375IN
0x7075f71f...04452B697
0 ETH0.0029088562.7504449
Approve187370432023-12-07 21:19:59273 days ago1701983999IN
0x7075f71f...04452B697
0 ETH0.0025447954.6
Transfer187354612023-12-07 15:59:59273 days ago1701964799IN
0x7075f71f...04452B697
0 ETH0.0042585671.69782888
Transfer187279492023-12-06 14:42:11274 days ago1701873731IN
0x7075f71f...04452B697
0 ETH0.0037237362.69333141
Approve187259392023-12-06 7:57:35275 days ago1701849455IN
0x7075f71f...04452B697
0 ETH0.0023865251.2041633
Transfer187244982023-12-06 3:06:11275 days ago1701831971IN
0x7075f71f...04452B697
0 ETH0.0028777748.45066854
Approve187233672023-12-05 23:17:11275 days ago1701818231IN
0x7075f71f...04452B697
0 ETH0.0023919451.38666043
Approve187203122023-12-05 13:02:47276 days ago1701781367IN
0x7075f71f...04452B697
0 ETH0.0025213754.16722151
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
191635822024-02-05 17:35:23213 days ago1707154523
0x7075f71f...04452B697
0.00406327 ETH
191635822024-02-05 17:35:23213 days ago1707154523
0x7075f71f...04452B697
0.00270884 ETH
191635822024-02-05 17:35:23213 days ago1707154523
0x7075f71f...04452B697
0.00677212 ETH
190348622024-01-18 16:13:11231 days ago1705594391
0x7075f71f...04452B697
0.00955464 ETH
190348622024-01-18 16:13:11231 days ago1705594391
0x7075f71f...04452B697
0.00636976 ETH
190348622024-01-18 16:13:11231 days ago1705594391
0x7075f71f...04452B697
0.0159244 ETH
187827292023-12-14 6:54:35267 days ago1702536875
0x7075f71f...04452B697
0.00415456 ETH
187827292023-12-14 6:54:35267 days ago1702536875
0x7075f71f...04452B697
0.00276971 ETH
187827292023-12-14 6:54:35267 days ago1702536875
0x7075f71f...04452B697
0.00692428 ETH
187631842023-12-11 13:12:35270 days ago1702300355
0x7075f71f...04452B697
0.00416542 ETH
187631842023-12-11 13:12:35270 days ago1702300355
0x7075f71f...04452B697
0.00277694 ETH
187631842023-12-11 13:12:35270 days ago1702300355
0x7075f71f...04452B697
0.00694237 ETH
187631842023-12-11 13:12:35270 days ago1702300355
0x7075f71f...04452B697
0.0042817 ETH
187631842023-12-11 13:12:35270 days ago1702300355
0x7075f71f...04452B697
0.00285447 ETH
187631842023-12-11 13:12:35270 days ago1702300355
0x7075f71f...04452B697
0.00713618 ETH
187565072023-12-10 14:48:47270 days ago1702219727
0x7075f71f...04452B697
0.0092694 ETH
187565072023-12-10 14:48:47270 days ago1702219727
0x7075f71f...04452B697
0.0061796 ETH
187565072023-12-10 14:48:47270 days ago1702219727
0x7075f71f...04452B697
0.01544901 ETH
187531462023-12-10 3:31:35271 days ago1702179095
0x7075f71f...04452B697
0.00657502 ETH
187531462023-12-10 3:31:35271 days ago1702179095
0x7075f71f...04452B697
0.00438334 ETH
187531462023-12-10 3:31:35271 days ago1702179095
0x7075f71f...04452B697
0.01095836 ETH
187477812023-12-09 9:28:59272 days ago1702114139
0x7075f71f...04452B697
0.00768732 ETH
187477812023-12-09 9:28:59272 days ago1702114139
0x7075f71f...04452B697
0.00512488 ETH
187477812023-12-09 9:28:59272 days ago1702114139
0x7075f71f...04452B697
0.0128122 ETH
187447762023-12-08 23:22:23272 days ago1702077743
0x7075f71f...04452B697
0.00745756 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DoubleDownToken

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : DoubleDownToken.sol
/**
 * @notice Will Smith Double Down Token.
 * The ultimate token for you to be part of the game.
 *
 * Website: https://doubledowntoken.xyz/
 * X: https://x.com/DoubleDownDD
 * Telegram: https://t.me/doubledowndd
 **/

// SPDX-License-Identifier: MIT

pragma solidity 0.8.21;
pragma experimental ABIEncoderV2;

import "@openzeppelin/[email protected]/access/Ownable.sol";
import "@openzeppelin/[email protected]/utils/math/SafeMath.sol";
import "@openzeppelin/[email protected]/token/ERC20/ERC20.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "./utils/Batchable.sol";

contract DoubleDownToken is ERC20, Ownable, Batchable {
    using SafeMath for uint256;

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public uniswapV2Pair;
    address public constant deadAddress = address(0xdead);

    uint256 public constant TOTAL_SUPPLY = 10_000_000_000 ether;

    bool private swapping;

    address public marketingWallet;
    address public developmentWallet;
    address public liquidityWallet;

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

    bool public tradingActive = false;
    bool public swapEnabled = false;

    uint256 public buyTotalFees;
    uint256 private buyTeamFee;
    uint256 private buyVaultFee;
    uint256 private buyLiquidityFee;

    uint256 public sellTotalFees;
    uint256 private sellTeamFee;
    uint256 private sellVaultFee;
    uint256 private sellLiquidityFee;

    uint256 private tokensForMarketing;
    uint256 private tokensForDevelopment;
    uint256 private tokensForLiquidity;
    uint256 private previousFee;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedMaxTransactionAmount;
    mapping(address => bool) private automatedMarketMakerPairs;

    event ExcludeFromFees(address indexed account, bool isExcluded);

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

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

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

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

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

    constructor(
        address _deployer,
        address _owner,
        address _teamWallet
    ) ERC20("Double Down Token", "DDT") {
        uniswapV2Router = IUniswapV2Router02(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D //uniswap
        );
        _approve(address(this), address(uniswapV2Router), type(uint256).max);

        maxTransactionAmount = (TOTAL_SUPPLY * 15) / 1000;
        maxWallet = (TOTAL_SUPPLY * 15) / 1000;
        swapTokensAtAmount = (TOTAL_SUPPLY * 1) / 1000;

        buyTeamFee = 20;
        buyVaultFee = 1;
        buyLiquidityFee = 3;
        buyTotalFees = buyTeamFee + buyVaultFee + buyLiquidityFee;

        sellTeamFee = 20;
        sellVaultFee = 1;
        sellLiquidityFee = 3;
        sellTotalFees = sellTeamFee + sellVaultFee + sellLiquidityFee;

        previousFee = sellTotalFees;

        marketingWallet = _teamWallet;
        developmentWallet = _owner;
        liquidityWallet = _teamWallet;

        excludeFromFees(_owner, true);
        excludeFromFees(_deployer, true);
        excludeFromFees(address(this), true);
        excludeFromFees(deadAddress, true);
        excludeFromFees(marketingWallet, true);
        excludeFromFees(developmentWallet, true);
        excludeFromFees(liquidityWallet, true);
        excludeFromFees(address(uniswapV2Router), true);

        excludeFromMaxTransaction(_owner, true);
        excludeFromMaxTransaction(_deployer, true);
        excludeFromMaxTransaction(address(this), true);
        excludeFromMaxTransaction(deadAddress, true);
        excludeFromMaxTransaction(address(uniswapV2Router), true);
        excludeFromMaxTransaction(marketingWallet, true);
        excludeFromMaxTransaction(developmentWallet, true);
        excludeFromMaxTransaction(liquidityWallet, true);

        _mint(_owner, (TOTAL_SUPPLY * 10) / 100);
        _mint(address(this), (TOTAL_SUPPLY * 90) / 100);
        _transferOwnership(_deployer);
    }

    receive() external payable {}

    function burn(uint256 amount) external {
        _burn(msg.sender, amount);
    }

    function igniteXXX() external payable onlyOwner {
        require(!tradingActive, "Trading already active.");

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

        _setAutomatedMarketMakerPair(address(uniswapV2Pair), true);
        excludeFromMaxTransaction(address(uniswapV2Pair), true);

        uniswapV2Router.addLiquidityETH{value: address(this).balance}(
            address(this),
            balanceOf(address(this)),
            0,
            0,
            owner(),
            block.timestamp
        );
        tradingActive = true;
        swapEnabled = true;
    }

    function updateSwapTokensAtAmount(uint256 newAmount)
        external
        onlyOwner
        returns (bool)
    {
        require(
            newAmount >= (totalSupply() * 1) / 100000,
            "ERC20: Swap amount cannot be lower than 0.001% total supply."
        );
        require(
            newAmount <= (totalSupply() * 5) / 1000,
            "ERC20: Swap amount cannot be higher than 0.5% total supply."
        );
        swapTokensAtAmount = newAmount;
        return true;
    }

    function updateMaxWalletAndTxnAmount(
        uint256 newTxnNum,
        uint256 newMaxWalletNum
    ) external onlyOwner {
        require(
            newTxnNum >= ((totalSupply() * 5) / 1000),
            "ERC20: Cannot set maxTxn lower than 0.5%"
        );
        require(
            newMaxWalletNum >= ((totalSupply() * 5) / 1000),
            "ERC20: Cannot set maxWallet lower than 0.5%"
        );
        maxWallet = newMaxWalletNum;
        maxTransactionAmount = newTxnNum;
    }

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

    function updateBuyFees(
        uint256 _marketingFee,
        uint256 _developmentFee,
        uint256 _liquidityFee
    ) external onlyOwner {
        buyTeamFee = _marketingFee;
        buyVaultFee = _developmentFee;
        buyLiquidityFee = _liquidityFee;
        buyTotalFees = buyTeamFee + buyVaultFee + buyLiquidityFee;
        require(buyTotalFees <= 20, "ERC20: Must keep fees at 20% or less");
    }

    function updateSellFees(
        uint256 _marketingFee,
        uint256 _developmentFee,
        uint256 _liquidityFee
    ) external onlyOwner {
        sellTeamFee = _marketingFee;
        sellVaultFee = _developmentFee;
        sellLiquidityFee = _liquidityFee;
        sellTotalFees = sellTeamFee + sellVaultFee + sellLiquidityFee;
        previousFee = sellTotalFees;
        require(sellTotalFees <= 20, "ERC20: Must keep fees at 20% or less");
    }

    function updateMarketingWallet(address _marketingWallet)
        external
        onlyOwner
    {
        require(_marketingWallet != address(0), "ERC20: Address 0");
        address oldWallet = marketingWallet;
        marketingWallet = _marketingWallet;
        emit marketingWalletUpdated(marketingWallet, oldWallet);
    }

    function updateDevelopmentWallet(address _developmentWallet)
        external
        onlyOwner
    {
        require(_developmentWallet != address(0), "ERC20: Address 0");
        address oldWallet = developmentWallet;
        developmentWallet = _developmentWallet;
        emit developmentWalletUpdated(developmentWallet, oldWallet);
    }

    function updateLiquidityWallet(address _liquidityWallet)
        external
        onlyOwner
    {
        require(_liquidityWallet != address(0), "ERC20: Address 0");
        address oldWallet = liquidityWallet;
        liquidityWallet = _liquidityWallet;
        emit liquidityWalletUpdated(liquidityWallet, oldWallet);
    }

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

    function withdrawStuckETH() public onlyOwner {
        bool success;
        (success, ) = address(msg.sender).call{value: address(this).balance}(
            ""
        );
    }

    function withdrawStuckTokens(address tkn) public onlyOwner {
        require(IERC20(tkn).balanceOf(address(this)) > 0, "No tokens");
        uint256 amount = IERC20(tkn).balanceOf(address(this));
        IERC20(tkn).transfer(msg.sender, amount);
    }

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

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[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");

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

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

            //when buy
            if (
                automatedMarketMakerPairs[from] &&
                !_isExcludedMaxTransactionAmount[to]
            ) {
                require(
                    amount <= maxTransactionAmount,
                    "ERC20: Buy transfer amount exceeds the maxTransactionAmount."
                );
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "ERC20: Max wallet exceeded"
                );
            }
            //when sell
            else if (
                automatedMarketMakerPairs[to] &&
                !_isExcludedMaxTransactionAmount[from]
            ) {
                require(
                    amount <= maxTransactionAmount,
                    "ERC20: Sell transfer amount exceeds the maxTransactionAmount."
                );
            } else if (!_isExcludedMaxTransactionAmount[to]) {
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "ERC20: 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 (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        uint256 fees = 0;

        if (takeFee) {
            // on sell
            if (automatedMarketMakerPairs[to] && sellTotalFees > 0) {
                fees = amount.mul(sellTotalFees).div(100);
                tokensForLiquidity += (fees * sellLiquidityFee) / sellTotalFees;
                tokensForMarketing += (fees * sellTeamFee) / sellTotalFees;
                tokensForDevelopment += (fees * sellVaultFee) / sellTotalFees;
            }
            // on buy
            else if (automatedMarketMakerPairs[from] && buyTotalFees > 0) {
                fees = amount.mul(buyTotalFees).div(100);
                tokensForLiquidity += (fees * buyLiquidityFee) / buyTotalFees;
                tokensForMarketing += (fees * buyTeamFee) / buyTotalFees;
                tokensForDevelopment += (fees * buyVaultFee) / buyTotalFees;
            }

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

            amount -= fees;
        }

        super._transfer(from, to, amount);
        sellTotalFees = previousFee;
    }

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

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

        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

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

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

    function swapBack() private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokensToSwap = tokensForLiquidity +
            tokensForMarketing +
            tokensForDevelopment;
        bool success;

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

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

        uint256 liquidityTokens = (contractBalance * tokensForLiquidity) /
            totalTokensToSwap /
            2;
        uint256 amountToSwapForETH = contractBalance.sub(liquidityTokens);

        uint256 initialETHBalance = address(this).balance;

        swapTokensForEth(amountToSwapForETH);

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

        uint256 ethForMarketing = ethBalance.mul(tokensForMarketing).div(
            totalTokensToSwap
        );

        uint256 ethForDevelopment = ethBalance.mul(tokensForDevelopment).div(
            totalTokensToSwap
        );

        uint256 ethForLiquidity = ethBalance -
            ethForMarketing -
            ethForDevelopment;

        tokensForLiquidity = 0;
        tokensForMarketing = 0;
        tokensForDevelopment = 0;

        if (liquidityTokens > 0 && ethForLiquidity > 0) {
            addLiquidity(liquidityTokens, ethForLiquidity);
            emit SwapAndLiquify(
                amountToSwapForETH,
                ethForLiquidity,
                tokensForLiquidity
            );
        }

        (success, ) = address(developmentWallet).call{value: ethForDevelopment}(
            ""
        );

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

File 2 of 11 : Batchable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.21;
pragma experimental ABIEncoderV2;

contract Batchable {
    error BatchError(bytes innerError);

    /// @dev Helper function to extract a useful revert message from a failed call.
    /// If the returned data is malformed or not correctly abi encoded then this call can fail itself.
    function _getRevertMsg(bytes memory _returnData) internal pure {
        // If the _res length is less than 68, then
        // the transaction failed with custom error or silently (without a revert message)
        if (_returnData.length < 68) revert BatchError(_returnData);

        assembly {
            // Slice the sighash.
            _returnData := add(_returnData, 0x04)
        }
        revert(abi.decode(_returnData, (string))); // All that remains is the revert string
    }

    /// @notice Allows batched call to self (this contract).
    /// @param calls An array of inputs for each call.
    /// @param revertOnFail If True then reverts after a failed call and stops doing further calls.
    // F1: External is ok here because this is the batch function, adding it to a batch makes no sense
    // F2: Calls in the batch may be payable, delegatecall operates in the same context, so each call in the batch has access to msg.value
    // C3: The length of the loop is fully under user control, so can't be exploited
    // C7: Delegatecall is only used on the same contract, so it's safe
    function batch(bytes[] calldata calls, bool revertOnFail) external {
        for (uint256 i = 0; i < calls.length; i++) {
            (bool success, bytes memory result) = address(this).delegatecall(
                calls[i]
            );
            if (!success && revertOnFail) {
                _getRevertMsg(result);
            }
        }
    }
}

File 3 of 11 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

File 4 of 11 : 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 5 of 11 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 11 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @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 subtraction 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 7 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

File 8 of 11 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_deployer","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_teamWallet","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"bytes","name":"innerError","type":"bytes"}],"name":"BatchError","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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"developmentWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"liquidityWalletUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"marketingWalletUpdated","type":"event"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes[]","name":"calls","type":"bytes[]"},{"internalType":"bool","name":"revertOnFail","type":"bool"}],"name":"batch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deadAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"developmentWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"igniteXXX","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellTotalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"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":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_developmentFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_developmentWallet","type":"address"}],"name":"updateDevelopmentWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_liquidityWallet","type":"address"}],"name":"updateLiquidityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"updateMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTxnNum","type":"uint256"},{"internalType":"uint256","name":"newMaxWalletNum","type":"uint256"}],"name":"updateMaxWalletAndTxnAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_developmentFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"}],"name":"updateSellFees","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":[],"name":"withdrawStuckETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tkn","type":"address"}],"name":"withdrawStuckTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a0604052600d805461ffff191690553480156200001b575f80fd5b5060405162003606380380620036068339810160408190526200003e91620006f0565b604051806040016040528060118152602001702237bab13632902237bbb7102a37b5b2b760791b8152506040518060400160405280600381526020016211111560ea1b8152508160039081620000959190620007d6565b506004620000a48282620007d6565b505050620000c1620000bb6200039460201b60201c565b62000398565b737a250d5630b4cf539739df2c5dacb4c659f2488d6080819052620000ea9030905f19620003e9565b6103e8620001066b204fce5e3e25026110000000600f620008b2565b620001129190620008d2565b600a556103e8620001316b204fce5e3e25026110000000600f620008b2565b6200013d9190620008d2565b600c556103e86200015c6b204fce5e3e250261100000006001620008b2565b620001689190620008d2565b600b556014600f8190556001601081905560036011819055916200018d9190620008f2565b620001999190620008f2565b600e556014601381905560018082556003601581905591620001bc9190620008f2565b620001c89190620008f2565b6012819055601955600780546001600160a01b038084166001600160a01b03199283168117909355600880549186169183169190911790556009805490911690911790556200021982600162000514565b6200022683600162000514565b6200023330600162000514565b6200024261dead600162000514565b6007546200025b906001600160a01b0316600162000514565b60085462000274906001600160a01b0316600162000514565b6009546200028d906001600160a01b0316600162000514565b6080516200029d90600162000514565b620002aa8260016200057c565b620002b78360016200057c565b620002c43060016200057c565b620002d361dead60016200057c565b608051620002e39060016200057c565b600754620002fc906001600160a01b031660016200057c565b60085462000315906001600160a01b031660016200057c565b6009546200032e906001600160a01b031660016200057c565b620003608260646200034e6b204fce5e3e25026110000000600a620008b2565b6200035a9190620008d2565b620005b0565b620003803060646200034e6b204fce5e3e25026110000000605a620008b2565b6200038b8362000398565b50505062000908565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316620004515760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620004b45760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000448565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6200051e62000671565b6001600160a01b0382165f818152601a6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6200058662000671565b6001600160a01b03919091165f908152601b60205260409020805460ff1916911515919091179055565b6001600160a01b038216620006085760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000448565b8060025f8282546200061b9190620008f2565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b03163314620006cd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000448565b565b505050565b80516001600160a01b0381168114620006eb575f80fd5b919050565b5f805f6060848603121562000703575f80fd5b6200070e84620006d4565b92506200071e60208501620006d4565b91506200072e60408501620006d4565b90509250925092565b634e487b7160e01b5f52604160045260245ffd5b600181811c908216806200076057607f821691505b6020821081036200077f57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115620006cf575f81815260208120601f850160051c81016020861015620007ad5750805b601f850160051c820191505b81811015620007ce57828155600101620007b9565b505050505050565b81516001600160401b03811115620007f257620007f262000737565b6200080a816200080384546200074b565b8462000785565b602080601f83116001811462000840575f8415620008285750858301515b5f19600386901b1c1916600185901b178555620007ce565b5f85815260208120601f198616915b8281101562000870578886015182559484019460019091019084016200084f565b50858210156200088e57878501515f19600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620008cc57620008cc6200089e565b92915050565b5f82620008ed57634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115620008cc57620008cc6200089e565b608051612ca6620009605f395f81816102cc015281816108e70152818161097601528181610aa801528181610b53015281816123f9015281816124b0015281816124ec01528181612560015261259f0152612ca65ff3fe608060405260043610610257575f3560e01c806395d89b411161013f578063d2423b51116100b3578063e2f4560511610078578063e2f45605146106f0578063e37ba8f914610705578063f023f57314610724578063f2fde38b14610743578063f5648a4f14610762578063f8b45b0514610776575f80fd5b8063d2423b511461065f578063d257b34f1461067e578063d46980161461069d578063d85ba063146106bc578063dd62ed3e146106d1575f80fd5b8063bbc0c74211610104578063bbc0c742146105b5578063c0246668146105ce578063c04a5414146105ed578063c17b5b8c1461060c578063c8c8ebe41461062b578063cb96372814610640575f80fd5b806395d89b41146105255780639618839914610539578063a457c2d714610558578063a9059cbb14610577578063aacebbe314610596575f80fd5b80634fbee193116101d6578063715018a61161019b578063715018a6146104785780637571336a1461048c57806375f0a874146104ab5780638095d564146104ca5780638da5cb5b146104e9578063902d55a514610506575f80fd5b80634fbee193146103d2578063576f1454146104095780636a486a8e146104115780636ddd17131461042657806370a0823114610444575f80fd5b806327c8f8351161021c57806327c8f83514610343578063313ce56714610358578063395093511461037357806342966c681461039257806349bd5a5e146103b3575f80fd5b806306fdde0314610262578063095ea7b31461028c5780631694505e146102bb57806318160ddd1461030657806323b872dd14610324575f80fd5b3661025e57005b5f80fd5b34801561026d575f80fd5b5061027661078b565b6040516102839190612677565b60405180910390f35b348015610297575f80fd5b506102ab6102a636600461269d565b61081b565b6040519015158152602001610283565b3480156102c6575f80fd5b506102ee7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610283565b348015610311575f80fd5b506002545b604051908152602001610283565b34801561032f575f80fd5b506102ab61033e3660046126c7565b610834565b34801561034e575f80fd5b506102ee61dead81565b348015610363575f80fd5b5060405160128152602001610283565b34801561037e575f80fd5b506102ab61038d36600461269d565b610857565b34801561039d575f80fd5b506103b16103ac366004612705565b610878565b005b3480156103be575f80fd5b506006546102ee906001600160a01b031681565b3480156103dd575f80fd5b506102ab6103ec36600461271c565b6001600160a01b03165f908152601a602052604090205460ff1690565b6103b1610885565b34801561041c575f80fd5b5061031660125481565b348015610431575f80fd5b50600d546102ab90610100900460ff1681565b34801561044f575f80fd5b5061031661045e36600461271c565b6001600160a01b03165f9081526020819052604090205490565b348015610483575f80fd5b506103b1610c2b565b348015610497575f80fd5b506103b16104a6366004612744565b610c3e565b3480156104b6575f80fd5b506007546102ee906001600160a01b031681565b3480156104d5575f80fd5b506103b16104e436600461277b565b610c70565b3480156104f4575f80fd5b506005546001600160a01b03166102ee565b348015610511575f80fd5b506103166b204fce5e3e2502611000000081565b348015610530575f80fd5b50610276610cc6565b348015610544575f80fd5b506103b16105533660046127a4565b610cd5565b348015610563575f80fd5b506102ab61057236600461269d565b610dea565b348015610582575f80fd5b506102ab61059136600461269d565b610e64565b3480156105a1575f80fd5b506103b16105b036600461271c565b610e71565b3480156105c0575f80fd5b50600d546102ab9060ff1681565b3480156105d9575f80fd5b506103b16105e8366004612744565b610eef565b3480156105f8575f80fd5b506008546102ee906001600160a01b031681565b348015610617575f80fd5b506103b161062636600461277b565b610f55565b348015610636575f80fd5b50610316600a5481565b34801561064b575f80fd5b506103b161065a36600461271c565b610fab565b34801561066a575f80fd5b506103b16106793660046127c4565b61112d565b348015610689575f80fd5b506102ab610698366004612705565b6111e2565b3480156106a8575f80fd5b506009546102ee906001600160a01b031681565b3480156106c7575f80fd5b50610316600e5481565b3480156106dc575f80fd5b506103166106eb366004612843565b611321565b3480156106fb575f80fd5b50610316600b5481565b348015610710575f80fd5b506103b161071f36600461271c565b61134b565b34801561072f575f80fd5b506103b161073e36600461271c565b6113c9565b34801561074e575f80fd5b506103b161075d36600461271c565b611447565b34801561076d575f80fd5b506103b16114bd565b348015610781575f80fd5b50610316600c5481565b60606003805461079a9061286f565b80601f01602080910402602001604051908101604052809291908181526020018280546107c69061286f565b80156108115780601f106107e857610100808354040283529160200191610811565b820191905f5260205f20905b8154815290600101906020018083116107f457829003601f168201915b5050505050905090565b5f33610828818585611504565b60019150505b92915050565b5f33610841858285611627565b61084c858585611699565b506001949350505050565b5f336108288185856108698383611321565b61087391906128bb565b611504565b6108823382611da6565b50565b61088d611ed6565b600d5460ff16156108e55760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c7265616479206163746976652e00000000000000000060448201526064015b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610941573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061096591906128ce565b6001600160a01b031663c9c65396307f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f491906128ce565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610a3e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6291906128ce565b600680546001600160a01b0319166001600160a01b03929092169182179055610a8e9030905f19611504565b60065460405163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301525f1960248301529091169063095ea7b3906044016020604051808303815f875af1158015610afe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2291906128e9565b50600654610b3a906001600160a01b03166001611f30565b600654610b51906001600160a01b03166001610c3e565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d7194730610ba0306001600160a01b03165f9081526020819052604090205490565b5f80610bb46005546001600160a01b031690565b426040518863ffffffff1660e01b8152600401610bd696959493929190612904565b60606040518083038185885af1158015610bf2573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610c17919061293f565b5050600d805461ffff191661010117905550565b610c33611ed6565b610c3c5f611f83565b565b610c46611ed6565b6001600160a01b03919091165f908152601b60205260409020805460ff1916911515919091179055565b610c78611ed6565b600f8390556010829055601181905580610c9283856128bb565b610c9c91906128bb565b600e81905560141015610cc15760405162461bcd60e51b81526004016108dc9061296a565b505050565b60606004805461079a9061286f565b610cdd611ed6565b6103e8610ce960025490565b610cf49060056129ae565b610cfe91906129c5565b821015610d5e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a2043616e6e6f7420736574206d617854786e206c6f776572207460448201526768616e20302e352560c01b60648201526084016108dc565b6103e8610d6a60025490565b610d759060056129ae565b610d7f91906129c5565b811015610de25760405162461bcd60e51b815260206004820152602b60248201527f45524332303a2043616e6e6f7420736574206d617857616c6c6574206c6f776560448201526a72207468616e20302e352560a81b60648201526084016108dc565b600c55600a55565b5f3381610df78286611321565b905083811015610e575760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108dc565b61084c8286868403611504565b5f33610828818585611699565b610e79611ed6565b6001600160a01b038116610e9f5760405162461bcd60e51b81526004016108dc906129e4565b600780546001600160a01b038381166001600160a01b03198316811790935560405191169182917fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a35050565b610ef7611ed6565b6001600160a01b0382165f818152601a6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610f5d611ed6565b60138390556014829055601581905580610f7783856128bb565b610f8191906128bb565b6012819055601981905560141015610cc15760405162461bcd60e51b81526004016108dc9061296a565b610fb3611ed6565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610ff7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101b9190612a0e565b116110545760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b60448201526064016108dc565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611098573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110bc9190612a0e565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af1158015611109573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc191906128e9565b5f5b828110156111dc575f803086868581811061114c5761114c612a25565b905060200281019061115e9190612a39565b60405161116c929190612a83565b5f60405180830381855af49150503d805f81146111a4576040519150601f19603f3d011682016040523d82523d5f602084013e6111a9565b606091505b5091509150811580156111b95750835b156111c7576111c781611fd4565b505080806111d490612a92565b91505061112f565b50505050565b5f6111eb611ed6565b620186a06111f860025490565b6112039060016129ae565b61120d91906129c5565b8210156112825760405162461bcd60e51b815260206004820152603c60248201527f45524332303a205377617020616d6f756e742063616e6e6f74206265206c6f7760448201527f6572207468616e20302e3030312520746f74616c20737570706c792e0000000060648201526084016108dc565b6103e861128e60025490565b6112999060056129ae565b6112a391906129c5565b8211156113185760405162461bcd60e51b815260206004820152603b60248201527f45524332303a205377617020616d6f756e742063616e6e6f742062652068696760448201527f686572207468616e20302e352520746f74616c20737570706c792e000000000060648201526084016108dc565b50600b55600190565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b611353611ed6565b6001600160a01b0381166113795760405162461bcd60e51b81526004016108dc906129e4565b600980546001600160a01b038381166001600160a01b03198316811790935560405191169182917f3e0ea4f8339b6050ff814971a9814aa39176c149fcf185975c219f33db2342db905f90a35050565b6113d1611ed6565b6001600160a01b0381166113f75760405162461bcd60e51b81526004016108dc906129e4565b600880546001600160a01b038381166001600160a01b03198316811790935560405191169182917ffaf1b77ed79f6e898c44dd8ab36b330c7b2fd39bcaab05ed6362480df8703965905f90a35050565b61144f611ed6565b6001600160a01b0381166114b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108dc565b61088281611f83565b6114c5611ed6565b6040515f90339047908381818185875af1925050503d805f81146111dc576040519150601f19603f3d011682016040523d82523d5f602084013e6111dc565b6001600160a01b0383166115665760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108dc565b6001600160a01b0382166115c75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108dc565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6116328484611321565b90505f1981146111dc578181101561168c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108dc565b6111dc8484848403611504565b6001600160a01b0383166116bf5760405162461bcd60e51b81526004016108dc90612aaa565b6001600160a01b0382166116e55760405162461bcd60e51b81526004016108dc90612aef565b805f036116f757610cc183835f61202c565b6005546001600160a01b0384811691161480159061172357506005546001600160a01b03838116911614155b801561173757506001600160a01b03821615155b801561174e57506001600160a01b03821661dead14155b80156117645750600654600160a01b900460ff16155b15611a7e57600d5460ff166117fc576001600160a01b0383165f908152601a602052604090205460ff16806117b057506001600160a01b0382165f908152601a602052604090205460ff165b6117fc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a2054726164696e67206973206e6f74206163746976652e00000060448201526064016108dc565b6001600160a01b0383165f908152601c602052604090205460ff16801561183b57506001600160a01b0382165f908152601b602052604090205460ff16155b1561193057600a548111156118b85760405162461bcd60e51b815260206004820152603c60248201527f45524332303a20427579207472616e7366657220616d6f756e7420657863656560448201527f647320746865206d61785472616e73616374696f6e416d6f756e742e0000000060648201526084016108dc565b600c546001600160a01b0383165f908152602081905260409020546118dd90836128bb565b111561192b5760405162461bcd60e51b815260206004820152601a60248201527f45524332303a204d61782077616c6c657420657863656564656400000000000060448201526064016108dc565b611a7e565b6001600160a01b0382165f908152601c602052604090205460ff16801561196f57506001600160a01b0383165f908152601b602052604090205460ff16155b156119ec57600a5481111561192b5760405162461bcd60e51b815260206004820152603d60248201527f45524332303a2053656c6c207472616e7366657220616d6f756e74206578636560448201527f65647320746865206d61785472616e73616374696f6e416d6f756e742e00000060648201526084016108dc565b6001600160a01b0382165f908152601b602052604090205460ff16611a7e57600c546001600160a01b0383165f90815260208190526040902054611a3090836128bb565b1115611a7e5760405162461bcd60e51b815260206004820152601a60248201527f45524332303a204d61782077616c6c657420657863656564656400000000000060448201526064016108dc565b305f90815260208190526040902054600b5481108015908190611aa85750600d54610100900460ff165b8015611abe5750600654600160a01b900460ff16155b8015611ae257506001600160a01b0385165f908152601c602052604090205460ff16155b8015611b0657506001600160a01b0385165f908152601a602052604090205460ff16155b8015611b2a57506001600160a01b0384165f908152601a602052604090205460ff16155b15611b58576006805460ff60a01b1916600160a01b179055611b4a612154565b6006805460ff60a01b191690555b6006546001600160a01b0386165f908152601a602052604090205460ff600160a01b909204821615911680611ba457506001600160a01b0385165f908152601a602052604090205460ff165b15611bac57505f5b5f8115611d8c576001600160a01b0386165f908152601c602052604090205460ff168015611bdb57505f601254115b15611c9657611c006064611bfa6012548861237c90919063ffffffff16565b9061238e565b905060125460155482611c1391906129ae565b611c1d91906129c5565b60185f828254611c2d91906128bb565b9091555050601254601354611c4290836129ae565b611c4c91906129c5565b60165f828254611c5c91906128bb565b9091555050601254601454611c7190836129ae565b611c7b91906129c5565b60175f828254611c8b91906128bb565b90915550611d6e9050565b6001600160a01b0387165f908152601c602052604090205460ff168015611cbe57505f600e54115b15611d6e57611cdd6064611bfa600e548861237c90919063ffffffff16565b9050600e5460115482611cf091906129ae565b611cfa91906129c5565b60185f828254611d0a91906128bb565b9091555050600e54600f54611d1f90836129ae565b611d2991906129c5565b60165f828254611d3991906128bb565b9091555050600e54601054611d4e90836129ae565b611d5891906129c5565b60175f828254611d6891906128bb565b90915550505b8015611d7f57611d7f87308361202c565b611d898186612b32565b94505b611d9787878761202c565b50506019546012555050505050565b6001600160a01b038216611e065760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108dc565b6001600160a01b0382165f9081526020819052604090205481811015611e795760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108dc565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6005546001600160a01b03163314610c3c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108dc565b6001600160a01b0382165f818152601c6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604481511015611ff9578060405163d935448560e01b81526004016108dc9190612677565b600481019050808060200190518101906120139190612b59565b60405162461bcd60e51b81526004016108dc9190612677565b6001600160a01b0383166120525760405162461bcd60e51b81526004016108dc90612aaa565b6001600160a01b0382166120785760405162461bcd60e51b81526004016108dc90612aef565b6001600160a01b0383165f90815260208190526040902054818110156120ef5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108dc565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36111dc565b305f9081526020819052604081205490505f60175460165460185461217991906128bb565b61218391906128bb565b90505f821580612191575081155b1561219b57505050565b600b546121a990600a6129ae565b8311156121c157600b546121be90600a6129ae565b92505b5f600283601854866121d391906129ae565b6121dd91906129c5565b6121e791906129c5565b90505f6121f48583612399565b905047612200826123a4565b5f61220b4783612399565b90505f61222787611bfa6016548561237c90919063ffffffff16565b90505f61224388611bfa6017548661237c90919063ffffffff16565b90505f816122518486612b32565b61225b9190612b32565b5f601881905560168190556017559050861580159061227957505f81115b156122cc57612288878261255a565b601854604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6008546040516001600160a01b039091169083905f81818185875af1925050503d805f8114612316576040519150601f19603f3d011682016040523d82523d5f602084013e61231b565b606091505b50506007546040519199506001600160a01b03169047905f81818185875af1925050503d805f8114612368576040519150601f19603f3d011682016040523d82523d5f602084013e61236d565b606091505b50505050505050505050505050565b5f61238782846129ae565b9392505050565b5f61238782846129c5565b5f6123878284612b32565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106123d7576123d7612a25565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612453573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061247791906128ce565b8160018151811061248a5761248a612a25565b60200260200101906001600160a01b031690816001600160a01b0316815250506124d5307f000000000000000000000000000000000000000000000000000000000000000084611504565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906125299085905f90869030904290600401612c01565b5f604051808303815f87803b158015612540575f80fd5b505af1158015612552573d5f803e3d5ffd5b505050505050565b612585307f000000000000000000000000000000000000000000000000000000000000000084611504565b60095460405163f305d71960e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263f305d7199285926125e292309289925f9283929116904290600401612904565b60606040518083038185885af11580156125fe573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190612623919061293f565b5050505050565b5f5b8381101561264457818101518382015260200161262c565b50505f910152565b5f815180845261266381602086016020860161262a565b601f01601f19169290920160200192915050565b602081525f612387602083018461264c565b6001600160a01b0381168114610882575f80fd5b5f80604083850312156126ae575f80fd5b82356126b981612689565b946020939093013593505050565b5f805f606084860312156126d9575f80fd5b83356126e481612689565b925060208401356126f481612689565b929592945050506040919091013590565b5f60208284031215612715575f80fd5b5035919050565b5f6020828403121561272c575f80fd5b813561238781612689565b8015158114610882575f80fd5b5f8060408385031215612755575f80fd5b823561276081612689565b9150602083013561277081612737565b809150509250929050565b5f805f6060848603121561278d575f80fd5b505081359360208301359350604090920135919050565b5f80604083850312156127b5575f80fd5b50508035926020909101359150565b5f805f604084860312156127d6575f80fd5b833567ffffffffffffffff808211156127ed575f80fd5b818601915086601f830112612800575f80fd5b81358181111561280e575f80fd5b8760208260051b8501011115612822575f80fd5b6020928301955093505084013561283881612737565b809150509250925092565b5f8060408385031215612854575f80fd5b823561285f81612689565b9150602083013561277081612689565b600181811c9082168061288357607f821691505b6020821081036128a157634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561082e5761082e6128a7565b5f602082840312156128de575f80fd5b815161238781612689565b5f602082840312156128f9575f80fd5b815161238781612737565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b5f805f60608486031215612951575f80fd5b8351925060208401519150604084015190509250925092565b60208082526024908201527f45524332303a204d757374206b656570206665657320617420323025206f72206040820152636c65737360e01b606082015260800190565b808202811582820484141761082e5761082e6128a7565b5f826129df57634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526010908201526f045524332303a204164647265737320360841b604082015260600190565b5f60208284031215612a1e575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f808335601e19843603018112612a4e575f80fd5b83018035915067ffffffffffffffff821115612a68575f80fd5b602001915036819003821315612a7c575f80fd5b9250929050565b818382375f9101908152919050565b5f60018201612aa357612aa36128a7565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561082e5761082e6128a7565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215612b69575f80fd5b815167ffffffffffffffff80821115612b80575f80fd5b818401915084601f830112612b93575f80fd5b815181811115612ba557612ba5612b45565b604051601f8201601f19908116603f01168101908382118183101715612bcd57612bcd612b45565b81604052828152876020848701011115612be5575f80fd5b612bf683602083016020880161262a565b979650505050505050565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015612c4f5784516001600160a01b031683529383019391830191600101612c2a565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122070ce86fc1ca4b2474f45da3d5f3add3d1b53422c00aa15a5ab25c60c25c4545264736f6c6343000815003300000000000000000000000027c868a72e61f0164f4d240a753e0f20fe7758f30000000000000000000000009da93c548c24ea4cd4d27f500117f414b849564100000000000000000000000079594b0069542c14a18f98cd077e722140ad4590

Deployed Bytecode

0x608060405260043610610257575f3560e01c806395d89b411161013f578063d2423b51116100b3578063e2f4560511610078578063e2f45605146106f0578063e37ba8f914610705578063f023f57314610724578063f2fde38b14610743578063f5648a4f14610762578063f8b45b0514610776575f80fd5b8063d2423b511461065f578063d257b34f1461067e578063d46980161461069d578063d85ba063146106bc578063dd62ed3e146106d1575f80fd5b8063bbc0c74211610104578063bbc0c742146105b5578063c0246668146105ce578063c04a5414146105ed578063c17b5b8c1461060c578063c8c8ebe41461062b578063cb96372814610640575f80fd5b806395d89b41146105255780639618839914610539578063a457c2d714610558578063a9059cbb14610577578063aacebbe314610596575f80fd5b80634fbee193116101d6578063715018a61161019b578063715018a6146104785780637571336a1461048c57806375f0a874146104ab5780638095d564146104ca5780638da5cb5b146104e9578063902d55a514610506575f80fd5b80634fbee193146103d2578063576f1454146104095780636a486a8e146104115780636ddd17131461042657806370a0823114610444575f80fd5b806327c8f8351161021c57806327c8f83514610343578063313ce56714610358578063395093511461037357806342966c681461039257806349bd5a5e146103b3575f80fd5b806306fdde0314610262578063095ea7b31461028c5780631694505e146102bb57806318160ddd1461030657806323b872dd14610324575f80fd5b3661025e57005b5f80fd5b34801561026d575f80fd5b5061027661078b565b6040516102839190612677565b60405180910390f35b348015610297575f80fd5b506102ab6102a636600461269d565b61081b565b6040519015158152602001610283565b3480156102c6575f80fd5b506102ee7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610283565b348015610311575f80fd5b506002545b604051908152602001610283565b34801561032f575f80fd5b506102ab61033e3660046126c7565b610834565b34801561034e575f80fd5b506102ee61dead81565b348015610363575f80fd5b5060405160128152602001610283565b34801561037e575f80fd5b506102ab61038d36600461269d565b610857565b34801561039d575f80fd5b506103b16103ac366004612705565b610878565b005b3480156103be575f80fd5b506006546102ee906001600160a01b031681565b3480156103dd575f80fd5b506102ab6103ec36600461271c565b6001600160a01b03165f908152601a602052604090205460ff1690565b6103b1610885565b34801561041c575f80fd5b5061031660125481565b348015610431575f80fd5b50600d546102ab90610100900460ff1681565b34801561044f575f80fd5b5061031661045e36600461271c565b6001600160a01b03165f9081526020819052604090205490565b348015610483575f80fd5b506103b1610c2b565b348015610497575f80fd5b506103b16104a6366004612744565b610c3e565b3480156104b6575f80fd5b506007546102ee906001600160a01b031681565b3480156104d5575f80fd5b506103b16104e436600461277b565b610c70565b3480156104f4575f80fd5b506005546001600160a01b03166102ee565b348015610511575f80fd5b506103166b204fce5e3e2502611000000081565b348015610530575f80fd5b50610276610cc6565b348015610544575f80fd5b506103b16105533660046127a4565b610cd5565b348015610563575f80fd5b506102ab61057236600461269d565b610dea565b348015610582575f80fd5b506102ab61059136600461269d565b610e64565b3480156105a1575f80fd5b506103b16105b036600461271c565b610e71565b3480156105c0575f80fd5b50600d546102ab9060ff1681565b3480156105d9575f80fd5b506103b16105e8366004612744565b610eef565b3480156105f8575f80fd5b506008546102ee906001600160a01b031681565b348015610617575f80fd5b506103b161062636600461277b565b610f55565b348015610636575f80fd5b50610316600a5481565b34801561064b575f80fd5b506103b161065a36600461271c565b610fab565b34801561066a575f80fd5b506103b16106793660046127c4565b61112d565b348015610689575f80fd5b506102ab610698366004612705565b6111e2565b3480156106a8575f80fd5b506009546102ee906001600160a01b031681565b3480156106c7575f80fd5b50610316600e5481565b3480156106dc575f80fd5b506103166106eb366004612843565b611321565b3480156106fb575f80fd5b50610316600b5481565b348015610710575f80fd5b506103b161071f36600461271c565b61134b565b34801561072f575f80fd5b506103b161073e36600461271c565b6113c9565b34801561074e575f80fd5b506103b161075d36600461271c565b611447565b34801561076d575f80fd5b506103b16114bd565b348015610781575f80fd5b50610316600c5481565b60606003805461079a9061286f565b80601f01602080910402602001604051908101604052809291908181526020018280546107c69061286f565b80156108115780601f106107e857610100808354040283529160200191610811565b820191905f5260205f20905b8154815290600101906020018083116107f457829003601f168201915b5050505050905090565b5f33610828818585611504565b60019150505b92915050565b5f33610841858285611627565b61084c858585611699565b506001949350505050565b5f336108288185856108698383611321565b61087391906128bb565b611504565b6108823382611da6565b50565b61088d611ed6565b600d5460ff16156108e55760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c7265616479206163746976652e00000000000000000060448201526064015b60405180910390fd5b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015610941573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061096591906128ce565b6001600160a01b031663c9c65396307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109d0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109f491906128ce565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610a3e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a6291906128ce565b600680546001600160a01b0319166001600160a01b03929092169182179055610a8e9030905f19611504565b60065460405163095ea7b360e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d811660048301525f1960248301529091169063095ea7b3906044016020604051808303815f875af1158015610afe573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b2291906128e9565b50600654610b3a906001600160a01b03166001611f30565b600654610b51906001600160a01b03166001610c3e565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d7194730610ba0306001600160a01b03165f9081526020819052604090205490565b5f80610bb46005546001600160a01b031690565b426040518863ffffffff1660e01b8152600401610bd696959493929190612904565b60606040518083038185885af1158015610bf2573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190610c17919061293f565b5050600d805461ffff191661010117905550565b610c33611ed6565b610c3c5f611f83565b565b610c46611ed6565b6001600160a01b03919091165f908152601b60205260409020805460ff1916911515919091179055565b610c78611ed6565b600f8390556010829055601181905580610c9283856128bb565b610c9c91906128bb565b600e81905560141015610cc15760405162461bcd60e51b81526004016108dc9061296a565b505050565b60606004805461079a9061286f565b610cdd611ed6565b6103e8610ce960025490565b610cf49060056129ae565b610cfe91906129c5565b821015610d5e5760405162461bcd60e51b815260206004820152602860248201527f45524332303a2043616e6e6f7420736574206d617854786e206c6f776572207460448201526768616e20302e352560c01b60648201526084016108dc565b6103e8610d6a60025490565b610d759060056129ae565b610d7f91906129c5565b811015610de25760405162461bcd60e51b815260206004820152602b60248201527f45524332303a2043616e6e6f7420736574206d617857616c6c6574206c6f776560448201526a72207468616e20302e352560a81b60648201526084016108dc565b600c55600a55565b5f3381610df78286611321565b905083811015610e575760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108dc565b61084c8286868403611504565b5f33610828818585611699565b610e79611ed6565b6001600160a01b038116610e9f5760405162461bcd60e51b81526004016108dc906129e4565b600780546001600160a01b038381166001600160a01b03198316811790935560405191169182917fa751787977eeb3902e30e1d19ca00c6ad274a1f622c31a206e32366700b05674905f90a35050565b610ef7611ed6565b6001600160a01b0382165f818152601a6020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b610f5d611ed6565b60138390556014829055601581905580610f7783856128bb565b610f8191906128bb565b6012819055601981905560141015610cc15760405162461bcd60e51b81526004016108dc9061296a565b610fb3611ed6565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015610ff7573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061101b9190612a0e565b116110545760405162461bcd60e51b81526020600482015260096024820152684e6f20746f6b656e7360b81b60448201526064016108dc565b6040516370a0823160e01b81523060048201525f906001600160a01b038316906370a0823190602401602060405180830381865afa158015611098573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906110bc9190612a0e565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303815f875af1158015611109573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610cc191906128e9565b5f5b828110156111dc575f803086868581811061114c5761114c612a25565b905060200281019061115e9190612a39565b60405161116c929190612a83565b5f60405180830381855af49150503d805f81146111a4576040519150601f19603f3d011682016040523d82523d5f602084013e6111a9565b606091505b5091509150811580156111b95750835b156111c7576111c781611fd4565b505080806111d490612a92565b91505061112f565b50505050565b5f6111eb611ed6565b620186a06111f860025490565b6112039060016129ae565b61120d91906129c5565b8210156112825760405162461bcd60e51b815260206004820152603c60248201527f45524332303a205377617020616d6f756e742063616e6e6f74206265206c6f7760448201527f6572207468616e20302e3030312520746f74616c20737570706c792e0000000060648201526084016108dc565b6103e861128e60025490565b6112999060056129ae565b6112a391906129c5565b8211156113185760405162461bcd60e51b815260206004820152603b60248201527f45524332303a205377617020616d6f756e742063616e6e6f742062652068696760448201527f686572207468616e20302e352520746f74616c20737570706c792e000000000060648201526084016108dc565b50600b55600190565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b611353611ed6565b6001600160a01b0381166113795760405162461bcd60e51b81526004016108dc906129e4565b600980546001600160a01b038381166001600160a01b03198316811790935560405191169182917f3e0ea4f8339b6050ff814971a9814aa39176c149fcf185975c219f33db2342db905f90a35050565b6113d1611ed6565b6001600160a01b0381166113f75760405162461bcd60e51b81526004016108dc906129e4565b600880546001600160a01b038381166001600160a01b03198316811790935560405191169182917ffaf1b77ed79f6e898c44dd8ab36b330c7b2fd39bcaab05ed6362480df8703965905f90a35050565b61144f611ed6565b6001600160a01b0381166114b45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108dc565b61088281611f83565b6114c5611ed6565b6040515f90339047908381818185875af1925050503d805f81146111dc576040519150601f19603f3d011682016040523d82523d5f602084013e6111dc565b6001600160a01b0383166115665760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108dc565b6001600160a01b0382166115c75760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108dc565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6116328484611321565b90505f1981146111dc578181101561168c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108dc565b6111dc8484848403611504565b6001600160a01b0383166116bf5760405162461bcd60e51b81526004016108dc90612aaa565b6001600160a01b0382166116e55760405162461bcd60e51b81526004016108dc90612aef565b805f036116f757610cc183835f61202c565b6005546001600160a01b0384811691161480159061172357506005546001600160a01b03838116911614155b801561173757506001600160a01b03821615155b801561174e57506001600160a01b03821661dead14155b80156117645750600654600160a01b900460ff16155b15611a7e57600d5460ff166117fc576001600160a01b0383165f908152601a602052604090205460ff16806117b057506001600160a01b0382165f908152601a602052604090205460ff165b6117fc5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a2054726164696e67206973206e6f74206163746976652e00000060448201526064016108dc565b6001600160a01b0383165f908152601c602052604090205460ff16801561183b57506001600160a01b0382165f908152601b602052604090205460ff16155b1561193057600a548111156118b85760405162461bcd60e51b815260206004820152603c60248201527f45524332303a20427579207472616e7366657220616d6f756e7420657863656560448201527f647320746865206d61785472616e73616374696f6e416d6f756e742e0000000060648201526084016108dc565b600c546001600160a01b0383165f908152602081905260409020546118dd90836128bb565b111561192b5760405162461bcd60e51b815260206004820152601a60248201527f45524332303a204d61782077616c6c657420657863656564656400000000000060448201526064016108dc565b611a7e565b6001600160a01b0382165f908152601c602052604090205460ff16801561196f57506001600160a01b0383165f908152601b602052604090205460ff16155b156119ec57600a5481111561192b5760405162461bcd60e51b815260206004820152603d60248201527f45524332303a2053656c6c207472616e7366657220616d6f756e74206578636560448201527f65647320746865206d61785472616e73616374696f6e416d6f756e742e00000060648201526084016108dc565b6001600160a01b0382165f908152601b602052604090205460ff16611a7e57600c546001600160a01b0383165f90815260208190526040902054611a3090836128bb565b1115611a7e5760405162461bcd60e51b815260206004820152601a60248201527f45524332303a204d61782077616c6c657420657863656564656400000000000060448201526064016108dc565b305f90815260208190526040902054600b5481108015908190611aa85750600d54610100900460ff165b8015611abe5750600654600160a01b900460ff16155b8015611ae257506001600160a01b0385165f908152601c602052604090205460ff16155b8015611b0657506001600160a01b0385165f908152601a602052604090205460ff16155b8015611b2a57506001600160a01b0384165f908152601a602052604090205460ff16155b15611b58576006805460ff60a01b1916600160a01b179055611b4a612154565b6006805460ff60a01b191690555b6006546001600160a01b0386165f908152601a602052604090205460ff600160a01b909204821615911680611ba457506001600160a01b0385165f908152601a602052604090205460ff165b15611bac57505f5b5f8115611d8c576001600160a01b0386165f908152601c602052604090205460ff168015611bdb57505f601254115b15611c9657611c006064611bfa6012548861237c90919063ffffffff16565b9061238e565b905060125460155482611c1391906129ae565b611c1d91906129c5565b60185f828254611c2d91906128bb565b9091555050601254601354611c4290836129ae565b611c4c91906129c5565b60165f828254611c5c91906128bb565b9091555050601254601454611c7190836129ae565b611c7b91906129c5565b60175f828254611c8b91906128bb565b90915550611d6e9050565b6001600160a01b0387165f908152601c602052604090205460ff168015611cbe57505f600e54115b15611d6e57611cdd6064611bfa600e548861237c90919063ffffffff16565b9050600e5460115482611cf091906129ae565b611cfa91906129c5565b60185f828254611d0a91906128bb565b9091555050600e54600f54611d1f90836129ae565b611d2991906129c5565b60165f828254611d3991906128bb565b9091555050600e54601054611d4e90836129ae565b611d5891906129c5565b60175f828254611d6891906128bb565b90915550505b8015611d7f57611d7f87308361202c565b611d898186612b32565b94505b611d9787878761202c565b50506019546012555050505050565b6001600160a01b038216611e065760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108dc565b6001600160a01b0382165f9081526020819052604090205481811015611e795760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108dc565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b6005546001600160a01b03163314610c3c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108dc565b6001600160a01b0382165f818152601c6020526040808220805460ff191685151590811790915590519092917fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab91a35050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b604481511015611ff9578060405163d935448560e01b81526004016108dc9190612677565b600481019050808060200190518101906120139190612b59565b60405162461bcd60e51b81526004016108dc9190612677565b6001600160a01b0383166120525760405162461bcd60e51b81526004016108dc90612aaa565b6001600160a01b0382166120785760405162461bcd60e51b81526004016108dc90612aef565b6001600160a01b0383165f90815260208190526040902054818110156120ef5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108dc565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a36111dc565b305f9081526020819052604081205490505f60175460165460185461217991906128bb565b61218391906128bb565b90505f821580612191575081155b1561219b57505050565b600b546121a990600a6129ae565b8311156121c157600b546121be90600a6129ae565b92505b5f600283601854866121d391906129ae565b6121dd91906129c5565b6121e791906129c5565b90505f6121f48583612399565b905047612200826123a4565b5f61220b4783612399565b90505f61222787611bfa6016548561237c90919063ffffffff16565b90505f61224388611bfa6017548661237c90919063ffffffff16565b90505f816122518486612b32565b61225b9190612b32565b5f601881905560168190556017559050861580159061227957505f81115b156122cc57612288878261255a565b601854604080518881526020810184905280820192909252517f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb5619181900360600190a15b6008546040516001600160a01b039091169083905f81818185875af1925050503d805f8114612316576040519150601f19603f3d011682016040523d82523d5f602084013e61231b565b606091505b50506007546040519199506001600160a01b03169047905f81818185875af1925050503d805f8114612368576040519150601f19603f3d011682016040523d82523d5f602084013e61236d565b606091505b50505050505050505050505050565b5f61238782846129ae565b9392505050565b5f61238782846129c5565b5f6123878284612b32565b6040805160028082526060820183525f9260208301908036833701905050905030815f815181106123d7576123d7612a25565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612453573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061247791906128ce565b8160018151811061248a5761248a612a25565b60200260200101906001600160a01b031690816001600160a01b0316815250506124d5307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611504565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906125299085905f90869030904290600401612c01565b5f604051808303815f87803b158015612540575f80fd5b505af1158015612552573d5f803e3d5ffd5b505050505050565b612585307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d84611504565b60095460405163f305d71960e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81169263f305d7199285926125e292309289925f9283929116904290600401612904565b60606040518083038185885af11580156125fe573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190612623919061293f565b5050505050565b5f5b8381101561264457818101518382015260200161262c565b50505f910152565b5f815180845261266381602086016020860161262a565b601f01601f19169290920160200192915050565b602081525f612387602083018461264c565b6001600160a01b0381168114610882575f80fd5b5f80604083850312156126ae575f80fd5b82356126b981612689565b946020939093013593505050565b5f805f606084860312156126d9575f80fd5b83356126e481612689565b925060208401356126f481612689565b929592945050506040919091013590565b5f60208284031215612715575f80fd5b5035919050565b5f6020828403121561272c575f80fd5b813561238781612689565b8015158114610882575f80fd5b5f8060408385031215612755575f80fd5b823561276081612689565b9150602083013561277081612737565b809150509250929050565b5f805f6060848603121561278d575f80fd5b505081359360208301359350604090920135919050565b5f80604083850312156127b5575f80fd5b50508035926020909101359150565b5f805f604084860312156127d6575f80fd5b833567ffffffffffffffff808211156127ed575f80fd5b818601915086601f830112612800575f80fd5b81358181111561280e575f80fd5b8760208260051b8501011115612822575f80fd5b6020928301955093505084013561283881612737565b809150509250925092565b5f8060408385031215612854575f80fd5b823561285f81612689565b9150602083013561277081612689565b600181811c9082168061288357607f821691505b6020821081036128a157634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8082018082111561082e5761082e6128a7565b5f602082840312156128de575f80fd5b815161238781612689565b5f602082840312156128f9575f80fd5b815161238781612737565b6001600160a01b039687168152602081019590955260408501939093526060840191909152909216608082015260a081019190915260c00190565b5f805f60608486031215612951575f80fd5b8351925060208401519150604084015190509250925092565b60208082526024908201527f45524332303a204d757374206b656570206665657320617420323025206f72206040820152636c65737360e01b606082015260800190565b808202811582820484141761082e5761082e6128a7565b5f826129df57634e487b7160e01b5f52601260045260245ffd5b500490565b60208082526010908201526f045524332303a204164647265737320360841b604082015260600190565b5f60208284031215612a1e575f80fd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f808335601e19843603018112612a4e575f80fd5b83018035915067ffffffffffffffff821115612a68575f80fd5b602001915036819003821315612a7c575f80fd5b9250929050565b818382375f9101908152919050565b5f60018201612aa357612aa36128a7565b5060010190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b8181038181111561082e5761082e6128a7565b634e487b7160e01b5f52604160045260245ffd5b5f60208284031215612b69575f80fd5b815167ffffffffffffffff80821115612b80575f80fd5b818401915084601f830112612b93575f80fd5b815181811115612ba557612ba5612b45565b604051601f8201601f19908116603f01168101908382118183101715612bcd57612bcd612b45565b81604052828152876020848701011115612be5575f80fd5b612bf683602083016020880161262a565b979650505050505050565b5f60a082018783526020878185015260a0604085015281875180845260c08601915082890193505f5b81811015612c4f5784516001600160a01b031683529383019391830191600101612c2a565b50506001600160a01b0396909616606085015250505060800152939250505056fea264697066735822122070ce86fc1ca4b2474f45da3d5f3add3d1b53422c00aa15a5ab25c60c25c4545264736f6c63430008150033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

00000000000000000000000027c868a72e61f0164f4d240a753e0f20fe7758f30000000000000000000000009da93c548c24ea4cd4d27f500117f414b849564100000000000000000000000079594b0069542c14a18f98cd077e722140ad4590

-----Decoded View---------------
Arg [0] : _deployer (address): 0x27c868A72E61F0164f4d240a753E0f20fE7758f3
Arg [1] : _owner (address): 0x9dA93C548c24ea4cD4d27f500117f414B8495641
Arg [2] : _teamWallet (address): 0x79594B0069542c14a18f98Cd077e722140ad4590

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 00000000000000000000000027c868a72e61f0164f4d240a753e0f20fe7758f3
Arg [1] : 0000000000000000000000009da93c548c24ea4cd4d27f500117f414b8495641
Arg [2] : 00000000000000000000000079594b0069542c14a18f98cd077e722140ad4590


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.