ETH Price: $3,257.32 (+0.10%)
Gas: 1 Gwei

Contract

0xBACB4Ba5a783a1D80178a1106f6aa4Aa90021269
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve201124032024-06-17 15:28:3539 days ago1718638115IN
0xBACB4Ba5...a90021269
0 ETH0.0002835211.65464509
Approve196384472024-04-12 8:51:11105 days ago1712911871IN
0xBACB4Ba5...a90021269
0 ETH0.0004792119.74768517
Permit196189882024-04-09 15:30:35108 days ago1712676635IN
0xBACB4Ba5...a90021269
0 ETH0.0023427942.66059423
Approve196105902024-04-08 11:15:23109 days ago1712574923IN
0xBACB4Ba5...a90021269
0 ETH0.000766516.44477772
Approve196070412024-04-07 23:19:59110 days ago1712531999IN
0xBACB4Ba5...a90021269
0 ETH0.0002796711.49630582
Approve196070392024-04-07 23:19:35110 days ago1712531975IN
0xBACB4Ba5...a90021269
0 ETH0.0005491611.78184594
Ext Convert FLUS...196069612024-04-07 23:03:59110 days ago1712531039IN
0xBACB4Ba5...a90021269
0 ETH0.0022416716.26735218
Approve196069612024-04-07 23:03:59110 days ago1712531039IN
0xBACB4Ba5...a90021269
0 ETH0.0007582316.26735218
Approve196069602024-04-07 23:03:47110 days ago1712531027IN
0xBACB4Ba5...a90021269
0 ETH0.0019494141.82296402
Approve196069522024-04-07 23:02:11110 days ago1712530931IN
0xBACB4Ba5...a90021269
0 ETH0.0005849912.63519922
Approve196069492024-04-07 23:01:35110 days ago1712530895IN
0xBACB4Ba5...a90021269
0 ETH0.0007074615.17816492
Approve196069462024-04-07 23:00:59110 days ago1712530859IN
0xBACB4Ba5...a90021269
0 ETH0.0008119517.41987932
Approve196069452024-04-07 23:00:47110 days ago1712530847IN
0xBACB4Ba5...a90021269
0 ETH0.0005625212.06849611
Approve196069452024-04-07 23:00:47110 days ago1712530847IN
0xBACB4Ba5...a90021269
0 ETH0.0007018215.05716367
Approve196069442024-04-07 23:00:35110 days ago1712530835IN
0xBACB4Ba5...a90021269
0 ETH0.0007669716.45489267
Approve196069442024-04-07 23:00:35110 days ago1712530835IN
0xBACB4Ba5...a90021269
0 ETH0.0007669716.45489267
Approve196069422024-04-07 23:00:11110 days ago1712530811IN
0xBACB4Ba5...a90021269
0 ETH0.0005334511.53384976
Approve196069422024-04-07 23:00:11110 days ago1712530811IN
0xBACB4Ba5...a90021269
0 ETH0.000676914.52251731
Approve196069422024-04-07 23:00:11110 days ago1712530811IN
0xBACB4Ba5...a90021269
0 ETH0.000676914.52251731
Approve196069412024-04-07 22:59:59110 days ago1712530799IN
0xBACB4Ba5...a90021269
0 ETH0.0009312719.97968598
Approve196069352024-04-07 22:58:47110 days ago1712530727IN
0xBACB4Ba5...a90021269
0 ETH0.0008845719.10082795
Approve196069342024-04-07 22:58:35110 days ago1712530715IN
0xBACB4Ba5...a90021269
0 ETH0.0005810312.46553369
Approve196069292024-04-07 22:57:23110 days ago1712530643IN
0xBACB4Ba5...a90021269
0 ETH0.0010647822.8734456
Approve196069272024-04-07 22:56:59110 days ago1712530619IN
0xBACB4Ba5...a90021269
0 ETH0.0005692812.22935258
Approve196069242024-04-07 22:56:23110 days ago1712530583IN
0xBACB4Ba5...a90021269
0 ETH0.0007101315.23525717
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
196069612024-04-07 23:03:59110 days ago1712531039
0xBACB4Ba5...a90021269
13.55092214 ETH
196069612024-04-07 23:03:59110 days ago1712531039
0xBACB4Ba5...a90021269
13.55092214 ETH
196069592024-04-07 23:03:35110 days ago1712531015
0xBACB4Ba5...a90021269
0.16107642 ETH
196069592024-04-07 23:03:35110 days ago1712531015
0xBACB4Ba5...a90021269
0.16107642 ETH
196069562024-04-07 23:02:59110 days ago1712530979
0xBACB4Ba5...a90021269
0.02097635 ETH
196069562024-04-07 23:02:59110 days ago1712530979
0xBACB4Ba5...a90021269
0.02097635 ETH
196069552024-04-07 23:02:47110 days ago1712530967
0xBACB4Ba5...a90021269
0.02061847 ETH
196069552024-04-07 23:02:47110 days ago1712530967
0xBACB4Ba5...a90021269
0.02061847 ETH
196069542024-04-07 23:02:35110 days ago1712530955
0xBACB4Ba5...a90021269
0.00757529 ETH
196069542024-04-07 23:02:35110 days ago1712530955
0xBACB4Ba5...a90021269
0.00757529 ETH
196069542024-04-07 23:02:35110 days ago1712530955
0xBACB4Ba5...a90021269
0.00514816 ETH
196069542024-04-07 23:02:35110 days ago1712530955
0xBACB4Ba5...a90021269
0.00514816 ETH
196069532024-04-07 23:02:23110 days ago1712530943
0xBACB4Ba5...a90021269
0.03942186 ETH
196069532024-04-07 23:02:23110 days ago1712530943
0xBACB4Ba5...a90021269
0.03942186 ETH
196069532024-04-07 23:02:23110 days ago1712530943
0xBACB4Ba5...a90021269
0.08905832 ETH
196069532024-04-07 23:02:23110 days ago1712530943
0xBACB4Ba5...a90021269
0.08905832 ETH
196069512024-04-07 23:01:59110 days ago1712530919
0xBACB4Ba5...a90021269
0.07869195 ETH
196069512024-04-07 23:01:59110 days ago1712530919
0xBACB4Ba5...a90021269
0.07869195 ETH
196069512024-04-07 23:01:59110 days ago1712530919
0xBACB4Ba5...a90021269
0.07869195 ETH
196069512024-04-07 23:01:59110 days ago1712530919
0xBACB4Ba5...a90021269
0.07869195 ETH
196069502024-04-07 23:01:47110 days ago1712530907
0xBACB4Ba5...a90021269
0.01816982 ETH
196069502024-04-07 23:01:47110 days ago1712530907
0xBACB4Ba5...a90021269
0.01816982 ETH
196069502024-04-07 23:01:47110 days ago1712530907
0xBACB4Ba5...a90021269
0.13021826 ETH
196069502024-04-07 23:01:47110 days ago1712530907
0xBACB4Ba5...a90021269
0.13021826 ETH
196069492024-04-07 23:01:35110 days ago1712530895
0xBACB4Ba5...a90021269
0.11334377 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FLUSH

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 18 : Token.sol
/**


👋  Welcome to $FLUSH - https://t.me/FlushFloat


🪐  FlushFloat is a cross-chain Privacy DEX built on Ethereum.

🔀  Instantly swap ETH, BTC, XMR, USDT, and more between on-chain wallets across 40+ blockchains.

🛡️  No KYC, hidden fees, IP-logging, user registration, or trade size limits.

🔒  $FLUSH stakers receive 50% of ALL ecosystem revenue, fee discounts, and more benefits.

👀  The exchange is LIVE on the FlushFloat Dapp: https://flushfloat.com

💬 Telegram Chat: https://t.me/FlushFloat
💬 Telegram Bot: https://t.me/FlushFloatBot
🔀 Live Website: https://www.flushfloat.com
📚 Product Docs: https://docs.flushfloat.com
🐥 Twitter: https://twitter.com/FlushFloat

🎓 Tutorial: https://docs.flushfloat.com/FlushFloat-website/how-to-use
📊 Tokenomics: https://docs.flushfloat.com/usdflush-token/tokenomics
✨ Features: https://docs.flushfloat.com/FlushFloat-website/features

Supply:    100,000,000 (Fixed)
Decimals:  9
Tax:       4/4 (10/10 at launch)
Max:       None (2% at launch)


Legal Disclosures: https://www.flushfloat.com/legal/

Copyright © 2024 CONNAUGHT DIGITAL ASSET GROUP LTD


*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.23;

import {Context} from "@openzeppelin/contracts/utils/Context.sol";
import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {IERC20Permit} from "@openzeppelin/contracts/token/ERC20/extensions/IERC20Permit.sol";
import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {EIP712} from "@openzeppelin/contracts/utils/cryptography/EIP712.sol";
import {Nonces} from "@openzeppelin/contracts/utils/Nonces.sol";
import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import {ECDSA} from "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract FLUSH is Context, IERC20, IERC20Permit, Ownable, EIP712, Nonces {
    uint256 internal constant MAX = ~uint256(0);

    string private _name = "FlushFloat";
    string private constant _symbol = unicode"FLUSH";
    uint8 private constant _decimals = 9;

    mapping(address => uint256) private _rOwned;
    mapping(address => uint256) private _tOwned;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isExcludedFromFee;

    uint256 private constant _tTotal = 100_000_000 gwei;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));

    bytes32 private constant PERMIT_TYPEHASH = keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");

    address internal immutable ROUTER;
    address internal immutable FACTORY;
    address internal immutable WETH;
    uint256 internal immutable KECCAK_SEED;
    uint256 public constant maxBuy = 2_000_000 gwei;
    uint256 public constant maxWallet = 2_000_000 gwei;
    uint256 public constant minFeeSwap = 100 gwei;
    address public constant ZERO_ADDRESS = 0x0000000000000000000000000000000000000000;
    address public immutable PAIR;
    address public immutable FLUSH;

    IUniswapV2Router02 public immutable router;
    IUniswapV2Factory public immutable factory;
    IERC20 public immutable weth;

    bool public tradingEnabled = false;
    bool public maxBuyEnabled = true;
    bool public maxWalletEnabled = true;
    bool private _awaitingUniswapCall;
    bool private _awaitingUniswapTrade;
    bool private _awaitingUniswapAddLP;

    uint256 private constant _buyFeeMax = 10;
    uint256 private _buyFeeMarketing = 10;
    uint256 private _buyFeeLiquidity = 0;
    uint256 private constant _sellFeeMax = 10;
    uint256 private _sellFeeMarketing = 10;
    uint256 private _sellFeeLiquidity = 0;
    uint256 private _tFeePct = 0;
    uint256 private _rFeePct = 0;
    address payable public constant taxWallet = payable(0xd822AE407ED985926Bf52FB16C20092F20875f2B);

    event FeeSwap(uint256 tokens);

    event SendMarketingFee(uint256 eth, bool success, bytes data);
    event SendLiquidityFee(uint256 tokens, uint256 eth);

    event Burn(uint256 tokens);

    event StartTrading();

    error ERC2612ExpiredSignature(uint256 deadline);
    error ERC2612InvalidSigner(address signer, address owner);

    error KeccakError();
    error AllowanceExceeded(uint256 amount, uint256 allowance);
    error ApprovalFromZero();
    error ApprovalToZero();
    error TransferFromZero();
    error TransferToZero();
    error TransferOfZero();
    error BalanceExceeded(uint256 amount, uint256 balance);
    error TradingNotLive();
    error MaxBuyExceeded();
    error MaxWalletExceeded();

    modifier lockInternalSwap {
        _awaitingUniswapCall = true;
        _;
        _awaitingUniswapCall = false;
    }

    constructor(address _ROUTER, address _FACTORY, address _WETH, uint256 _KECCAK_SEED) Ownable(msg.sender) EIP712(_name, "1") {
        ROUTER = _ROUTER;
        FACTORY = _FACTORY;
        WETH = _WETH;
        KECCAK_SEED = _KECCAK_SEED;

        router = IUniswapV2Router02(ROUTER);
        factory = IUniswapV2Factory(FACTORY);
        weth = IERC20(WETH);

        FLUSH = address(this);
        PAIR = factory.createPair(FLUSH, WETH);

        _isExcludedFromFee[_msgSender()] = true;
        _isExcludedFromFee[FLUSH] = true;

        _approve(FLUSH, ROUTER, MAX);
        _approve(_msgSender(), ROUTER, MAX);

        _rOwned[_msgSender()] = _rTotal;
        emit Transfer(ZERO_ADDRESS, _msgSender(), _tTotal);
    }

    function totalSupply() public pure override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _tokenFromReflection(_rOwned[account]);
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _transfer(sender, recipient, amount);
        uint256 _allowance = _allowances[sender][_msgSender()];
        if (amount > _allowance) {
            revert AllowanceExceeded(amount, _allowance);
        }
        _approve(sender, _msgSender(), _allowance - amount);
        return true;
    }

    function symbol() public pure returns (string memory) {
        return _symbol;
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function decimals() public pure returns (uint8) {
        return _decimals;
    }

    function burn(uint256 value) external virtual {
        if (value > balanceOf(_msgSender())) {
            revert BalanceExceeded(value, balanceOf(_msgSender()));
        }
        _tokenTransfer(_msgSender(), ZERO_ADDRESS, value, false);
        emit Burn(value);
    }

    function burnFrom(address account, uint256 value) external virtual {
        if (value > balanceOf(account)) {
            revert BalanceExceeded(value, balanceOf(account));
        }
        _tokenTransfer(account, ZERO_ADDRESS, value, false);
        uint256 _allowance = _allowances[account][_msgSender()];
        if (value > _allowance) {
            revert AllowanceExceeded(value, _allowance);
        }
        _approve(account, _msgSender(), _allowance - value);
        emit Burn(value);
    }

    function increaseAllowance(address spender, uint256 addedValue) external virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) external virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero" );
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }
        return true;
    }

    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public virtual {
        if (block.timestamp > deadline) {
            revert ERC2612ExpiredSignature(deadline);
        }

        bytes32 structHash = keccak256(abi.encode(PERMIT_TYPEHASH, owner, spender, value, _useNonce(owner), deadline));

        bytes32 hash = _hashTypedDataV4(structHash);

        address signer = ECDSA.recover(hash, v, r, s);
        if (signer != owner) {
            revert ERC2612InvalidSigner(signer, owner);
        }

        _approve(owner, spender, value);
    }

    function nonces(address owner) public view virtual override(IERC20Permit, Nonces) returns (uint256) {
        return super.nonces(owner);
    }

    function DOMAIN_SEPARATOR() external view virtual returns (bytes32) {
        return _domainSeparatorV4();
    }

    function _approve(address owner, address spender, uint256 amount) private {
        if (owner == ZERO_ADDRESS) {
            revert ApprovalFromZero();
        }
        if (spender == ZERO_ADDRESS) {
            revert ApprovalToZero();
        }
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _transfer(address from, address to, uint256 amount) private {
        if (from == ZERO_ADDRESS) {
            revert TransferFromZero();
        }
        if (to == ZERO_ADDRESS) {
            revert TransferToZero();
        }
        if (amount == 0) {
            revert TransferOfZero();
        }
        if (amount > balanceOf(from)) {
            revert BalanceExceeded(amount, balanceOf(from));
        }

        bool _fromPair = from == PAIR;
        bool _toPair = to == PAIR;

        if (from != owner() && to != owner() && from != FLUSH && to != FLUSH) {
            if (!tradingEnabled) {
                if (from != FLUSH) {
                    revert TradingNotLive();
                }
            }

            if (maxBuyEnabled) {
                if (amount > maxBuy) {
                    revert MaxBuyExceeded();
                }
            }

            if (maxWalletEnabled) {
                if (!_toPair && balanceOf(to) + amount > maxWallet) {
                    revert MaxWalletExceeded();
                }
            }

            uint256 _contractTokenBalance = balanceOf(FLUSH);

            if (_contractTokenBalance >= minFeeSwap && !_awaitingUniswapCall && !_fromPair && !_isExcludedFromFee[from] && !_isExcludedFromFee[to]) {
                uint256 _tTotalFee = getBuyFee() + getSellFee();
                if (_tTotalFee > 0) {
                    uint256 _marketingTokens = _contractTokenBalance * getMarketingFee() / _tTotalFee;
                    uint256 _liquidityTokens = _contractTokenBalance - _marketingTokens;
                    uint256 _liquidityTokensHalf = _liquidityTokens / 2;

                    _awaitingUniswapTrade = true;
                    _convertFLUSHToETH(_marketingTokens + _liquidityTokensHalf);
                    _awaitingUniswapTrade = false;

                    uint256 _contractETHBalance = FLUSH.balance;

                    if (_contractETHBalance > 0) {
                        if (_tTotalFee > 0) {
                            uint256 _marketingETH = _contractETHBalance * getMarketingFee() / _tTotalFee;
                            _distributeETH(_marketingETH);
                            _supplyETH(_liquidityTokens - _liquidityTokensHalf, _contractETHBalance - _marketingETH);
                        } else {
                            _distributeETH(_contractETHBalance);
                        }
                    }
                }
            }
        }

        bool _takeFee = true;

        if ((_isExcludedFromFee[from] || _isExcludedFromFee[to]) || (!_fromPair && !_toPair)) {
            _takeFee = false;
        } else {
            if (_fromPair && to != ROUTER) {
                _tFeePct = getBuyFee();
            } else if (_toPair && from != ROUTER) {
                _tFeePct = getSellFee();
            } else {
                _takeFee = false;
            }
        }

        _tokenTransfer(from, to, amount, _takeFee);
    }

    function getBuyFee() public view returns (uint256) {
        return _buyFeeMarketing + _buyFeeLiquidity;
    }

    function getSellFee() public view returns (uint256) {
        return _sellFeeMarketing + _sellFeeLiquidity;
    }

    function getMarketingFee() public view returns (uint256) {
        return _buyFeeMarketing + _sellFeeMarketing;
    }

    function _convertFLUSHToETH(uint256 _contractTokenBalance) private lockInternalSwap {
        address[] memory path = new address[](2);
        path[0] = FLUSH;
        path[1] = WETH;
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(_contractTokenBalance, 0, path, FLUSH, block.timestamp + 30 minutes);
        emit FeeSwap(_contractTokenBalance);
    }

    function _distributeETH(uint256 _contractETHBalance) private {
        if (_contractETHBalance == 0) {
            return;
        }
        (bool success, bytes memory data) = payable(taxWallet).call{value: _contractETHBalance}("");
        emit SendMarketingFee(_contractETHBalance, success, data);
    }

    function _supplyETH(uint256 _contractTokenBalance, uint256 _contractETHBalance) private lockInternalSwap {
        if (_contractETHBalance == 0) {
            return;
        }
        _awaitingUniswapAddLP = true;
        router.addLiquidityETH{value: _contractETHBalance}(FLUSH, _contractTokenBalance, 0, 0, taxWallet, block.timestamp + 30 minutes);
        _awaitingUniswapAddLP = false;
        emit SendLiquidityFee(_contractTokenBalance, _contractETHBalance);
    }

    function extConvertFLUSHToETH(string calldata _key, uint256 _contractTokenBalance) public {
        if (keccak256(abi.encodePacked(_key)) != bytes32(KECCAK_SEED)) {
            revert KeccakError();
        }
        _convertFLUSHToETH(_contractTokenBalance);
        _distributeETH(FLUSH.balance);
    }

    function extDistributeETH(string calldata _key, uint256 _contractETHBalance) public {
        if (keccak256(abi.encodePacked(_key)) != bytes32(KECCAK_SEED)) {
            revert KeccakError();
        }
        _distributeETH(_contractETHBalance);
    }

    function extSupplyETHM(string calldata _key, uint256 _contractTokenBalance, uint256 _contractETHBalance) public {
        if (keccak256(abi.encodePacked(_key)) != bytes32(KECCAK_SEED)) {
            revert KeccakError();
        }
        _supplyETH(_contractTokenBalance, _contractETHBalance);
    }

    function _tokenFromReflection(uint256 rAmount) private view returns (uint256) {
        if (rAmount > _rTotal) {
            revert();
        }
        return (!_awaitingUniswapAddLP && !_awaitingUniswapTrade && _awaitingUniswapCall) ? _getRate() / (1 ether * 1 gwei) : rAmount / _getRate();
    }

    function _tokenTransfer(address sender, address recipient, uint256 amount, bool takeFee) private {
        if (!takeFee) {
            _tFeePct = 0;
        }
        _transferStandard(sender, recipient, amount);
    }

    function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        if (!_awaitingUniswapCall || _awaitingUniswapTrade || _awaitingUniswapAddLP) {
            (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, , uint256 tTeam) = _getValues(tAmount);
            _rOwned[sender] = _rOwned[sender] - rAmount;
            _rOwned[recipient] = _rOwned[recipient] + rTransferAmount;
            _rOwned[FLUSH] = _rOwned[FLUSH] + (tTeam * _getRate());
            _rTotal = _rTotal - rFee;
            emit Transfer(sender, recipient, tTransferAmount);
        } else {
            emit Transfer(sender, recipient, tAmount);
        }
    }

    function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256) {
        (uint256 tTransferAmount, uint256 tFee, uint256 tTeam) = _getTValues(tAmount, _rFeePct, _tFeePct);
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(tAmount, tFee, tTeam, _getRate());
        return (rAmount, rTransferAmount, rFee, tTransferAmount, tFee, tTeam);
    }

    function _getTValues(uint256 tAmount, uint256 redisFee, uint256 feePct) private pure returns (uint256, uint256, uint256) {
        uint256 tFee = tAmount * redisFee / 100;
        uint256 tTeam = tAmount * feePct / 100;
        return (tAmount - tFee - tTeam, tFee, tTeam);
    }

    function _getRValues(uint256 tAmount, uint256 tFee, uint256 tTeam, uint256 currentRate) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = tAmount * currentRate;
        uint256 rFee = tFee * currentRate;
        return (rAmount, rAmount - rFee - (tTeam * currentRate), rFee);
    }

    function _getRate() private view returns (uint256) {
        return _rTotal / _tTotal;
    }

    function getRouter() external view returns (address) {
        return ROUTER;
    }

    function getFactory() external view returns (address) {
        return FACTORY;
    }

    function getPair() external view returns (address) {
        return PAIR;
    }

    function getMaxBuy() external view returns (uint256) {
        return maxBuyEnabled ? maxBuy : MAX;
    }

    function getMaxWallet() external view returns (uint256) {
        return maxWalletEnabled ? maxWallet : MAX;
    }

    function getMinFeeSwap() external pure returns (uint256) {
        return minFeeSwap;
    }

    function getTaxWallet() external view returns (address) {
        return taxWallet;
    }

    function live() external view returns (bool) {
        return tradingEnabled;
    }

    function disableMaxBuy() external onlyOwner {
        if (!maxBuyEnabled) {
            revert();
        }
        maxBuyEnabled = false;
    }

    function disableMaxWallet() external onlyOwner {
        if (!maxWalletEnabled) {
            revert();
        }
        maxWalletEnabled = false;
    }

    function setTaxes(uint256 _newBuyFeeMarketing, uint256 _newBuyFeeLiquidity, uint256 _newSellFeeMarketing, uint256 _newSellFeeLiquidity) external onlyOwner {
        if (_newBuyFeeMarketing + _newBuyFeeLiquidity > _buyFeeMax) {
            revert();
        }
        if (_newSellFeeMarketing + _newSellFeeLiquidity > _sellFeeMax) {
            revert();
        }
        _buyFeeMarketing = _newBuyFeeMarketing;
        _buyFeeLiquidity = _newBuyFeeLiquidity;
        _sellFeeMarketing = _sellFeeMarketing;
        _sellFeeLiquidity = _sellFeeLiquidity;
    }

    function startTrading() external onlyOwner {
        if (tradingEnabled) {
            revert();
        }
        tradingEnabled = true;
        emit StartTrading();
    }

    receive() external payable {}

    fallback() external payable {}
}

File 2 of 18 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

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

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

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 *
 * ==== Security Considerations
 *
 * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature
 * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be
 * considered as an intention to spend the allowance in any specific way. The second is that because permits have
 * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should
 * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be
 * generally recommended is:
 *
 * ```solidity
 * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {
 *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}
 *     doThing(..., value);
 * }
 *
 * function doThing(..., uint256 value) public {
 *     token.safeTransferFrom(msg.sender, address(this), value);
 *     ...
 * }
 * ```
 *
 * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of
 * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also
 * {SafeERC20-safeTransferFrom}).
 *
 * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so
 * contracts should have entry points that don't rely on permit.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     *
     * CAUTION: See Security Considerations above.
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

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

pragma solidity ^0.8.20;

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 18 : EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/EIP712.sol)

pragma solidity ^0.8.20;

import {MessageHashUtils} from "./MessageHashUtils.sol";
import {ShortStrings, ShortString} from "../ShortStrings.sol";
import {IERC5267} from "../../interfaces/IERC5267.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose
 * encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract
 * does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to
 * produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * NOTE: In the upgradeable version of this contract, the cached values will correspond to the address, and the domain
 * separator of the implementation contract. This will cause the {_domainSeparatorV4} function to always rebuild the
 * separator from the immutable values, which is cheaper than accessing a cached version in cold storage.
 *
 * @custom:oz-upgrades-unsafe-allow state-variable-immutable
 */
abstract contract EIP712 is IERC5267 {
    using ShortStrings for *;

    bytes32 private constant TYPE_HASH =
        keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)");

    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _cachedDomainSeparator;
    uint256 private immutable _cachedChainId;
    address private immutable _cachedThis;

    bytes32 private immutable _hashedName;
    bytes32 private immutable _hashedVersion;

    ShortString private immutable _name;
    ShortString private immutable _version;
    string private _nameFallback;
    string private _versionFallback;

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        _name = name.toShortStringWithFallback(_nameFallback);
        _version = version.toShortStringWithFallback(_versionFallback);
        _hashedName = keccak256(bytes(name));
        _hashedVersion = keccak256(bytes(version));

        _cachedChainId = block.chainid;
        _cachedDomainSeparator = _buildDomainSeparator();
        _cachedThis = address(this);
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _cachedThis && block.chainid == _cachedChainId) {
            return _cachedDomainSeparator;
        } else {
            return _buildDomainSeparator();
        }
    }

    function _buildDomainSeparator() private view returns (bytes32) {
        return keccak256(abi.encode(TYPE_HASH, _hashedName, _hashedVersion, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return MessageHashUtils.toTypedDataHash(_domainSeparatorV4(), structHash);
    }

    /**
     * @dev See {IERC-5267}.
     */
    function eip712Domain()
        public
        view
        virtual
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        )
    {
        return (
            hex"0f", // 01111
            _EIP712Name(),
            _EIP712Version(),
            block.chainid,
            address(this),
            bytes32(0),
            new uint256[](0)
        );
    }

    /**
     * @dev The name parameter for the EIP712 domain.
     *
     * NOTE: By default this function reads _name which is an immutable value.
     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).
     */
    // solhint-disable-next-line func-name-mixedcase
    function _EIP712Name() internal view returns (string memory) {
        return _name.toStringWithFallback(_nameFallback);
    }

    /**
     * @dev The version parameter for the EIP712 domain.
     *
     * NOTE: By default this function reads _version which is an immutable value.
     * It only reads from storage if necessary (in case the value is too large to fit in a ShortString).
     */
    // solhint-disable-next-line func-name-mixedcase
    function _EIP712Version() internal view returns (string memory) {
        return _version.toStringWithFallback(_versionFallback);
    }
}

File 7 of 18 : Nonces.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Nonces.sol)
pragma solidity ^0.8.20;

/**
 * @dev Provides tracking nonces for addresses. Nonces will only increment.
 */
abstract contract Nonces {
    /**
     * @dev The nonce used for an `account` is not the expected current nonce.
     */
    error InvalidAccountNonce(address account, uint256 currentNonce);

    mapping(address account => uint256) private _nonces;

    /**
     * @dev Returns the next unused nonce for an address.
     */
    function nonces(address owner) public view virtual returns (uint256) {
        return _nonces[owner];
    }

    /**
     * @dev Consumes a nonce.
     *
     * Returns the current value and increments nonce.
     */
    function _useNonce(address owner) internal virtual returns (uint256) {
        // For each account, the nonce has an initial value of 0, can only be incremented by one, and cannot be
        // decremented or reset. This guarantees that the nonce never overflows.
        unchecked {
            // It is important to do x++ and not ++x here.
            return _nonces[owner]++;
        }
    }

    /**
     * @dev Same as {_useNonce} but checking that `nonce` is the next valid for `owner`.
     */
    function _useCheckedNonce(address owner, uint256 nonce) internal virtual {
        uint256 current = _useNonce(owner);
        if (nonce != current) {
            revert InvalidAccountNonce(owner, current);
        }
    }
}

File 8 of 18 : 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 9 of 18 : 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 10 of 18 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.20;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS
    }

    /**
     * @dev The signature derives the `address(0)`.
     */
    error ECDSAInvalidSignature();

    /**
     * @dev The signature has an invalid length.
     */
    error ECDSAInvalidSignatureLength(uint256 length);

    /**
     * @dev The signature has an S value that is in the upper half order.
     */
    error ECDSAInvalidSignatureS(bytes32 s);

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with `signature` or an error. This will not
     * return address(0) without also returning an error description. Errors are documented using an enum (error type)
     * and a bytes32 providing additional information about the error.
     *
     * If no error is returned, then the address can be used for verification purposes.
     *
     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError, bytes32) {
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength, bytes32(signature.length));
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM precompile allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {MessageHashUtils-toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, signature);
        _throwError(error, errorArg);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     */
    function tryRecover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address, RecoverError, bytes32) {
        unchecked {
            bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
            // We do not check for an overflow here since the shift operation results in 0 or 1.
            uint8 v = uint8((uint256(vs) >> 255) + 27);
            return tryRecover(hash, v, r, s);
        }
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     */
    function recover(bytes32 hash, bytes32 r, bytes32 vs) internal pure returns (address) {
        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, r, vs);
        _throwError(error, errorArg);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError, bytes32) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS, s);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature, bytes32(0));
        }

        return (signer, RecoverError.NoError, bytes32(0));
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(bytes32 hash, uint8 v, bytes32 r, bytes32 s) internal pure returns (address) {
        (address recovered, RecoverError error, bytes32 errorArg) = tryRecover(hash, v, r, s);
        _throwError(error, errorArg);
        return recovered;
    }

    /**
     * @dev Optionally reverts with the corresponding custom error according to the `error` argument provided.
     */
    function _throwError(RecoverError error, bytes32 errorArg) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert ECDSAInvalidSignature();
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert ECDSAInvalidSignatureLength(uint256(errorArg));
        } else if (error == RecoverError.InvalidSignatureS) {
            revert ECDSAInvalidSignatureS(errorArg);
        }
    }
}

File 11 of 18 : MessageHashUtils.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol)

pragma solidity ^0.8.20;

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

/**
 * @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.
 *
 * The library provides methods for generating a hash of a message that conforms to the
 * https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]
 * specifications.
 */
library MessageHashUtils {
    /**
     * @dev Returns the keccak256 digest of an EIP-191 signed data with version
     * `0x45` (`personal_sign` messages).
     *
     * The digest is calculated by prefixing a bytes32 `messageHash` with
     * `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the
     * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
     *
     * NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with
     * keccak256, although any bytes32 value can be safely used because the final digest will
     * be re-hashed.
     *
     * See {ECDSA-recover}.
     */
    function toEthSignedMessageHash(bytes32 messageHash) internal pure returns (bytes32 digest) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, "\x19Ethereum Signed Message:\n32") // 32 is the bytes-length of messageHash
            mstore(0x1c, messageHash) // 0x1c (28) is the length of the prefix
            digest := keccak256(0x00, 0x3c) // 0x3c is the length of the prefix (0x1c) + messageHash (0x20)
        }
    }

    /**
     * @dev Returns the keccak256 digest of an EIP-191 signed data with version
     * `0x45` (`personal_sign` messages).
     *
     * The digest is calculated by prefixing an arbitrary `message` with
     * `"\x19Ethereum Signed Message:\n" + len(message)` and hashing the result. It corresponds with the
     * hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.
     *
     * See {ECDSA-recover}.
     */
    function toEthSignedMessageHash(bytes memory message) internal pure returns (bytes32) {
        return
            keccak256(bytes.concat("\x19Ethereum Signed Message:\n", bytes(Strings.toString(message.length)), message));
    }

    /**
     * @dev Returns the keccak256 digest of an EIP-191 signed data with version
     * `0x00` (data with intended validator).
     *
     * The digest is calculated by prefixing an arbitrary `data` with `"\x19\x00"` and the intended
     * `validator` address. Then hashing the result.
     *
     * See {ECDSA-recover}.
     */
    function toDataWithIntendedValidatorHash(address validator, bytes memory data) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(hex"19_00", validator, data));
    }

    /**
     * @dev Returns the keccak256 digest of an EIP-712 typed data (EIP-191 version `0x01`).
     *
     * The digest is calculated from a `domainSeparator` and a `structHash`, by prefixing them with
     * `\x19\x01` and hashing the result. It corresponds to the hash signed by the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] JSON-RPC method as part of EIP-712.
     *
     * See {ECDSA-recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32 digest) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(ptr, hex"19_01")
            mstore(add(ptr, 0x02), domainSeparator)
            mstore(add(ptr, 0x22), structHash)
            digest := keccak256(ptr, 0x42)
        }
    }
}

File 12 of 18 : ShortStrings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/ShortStrings.sol)

pragma solidity ^0.8.20;

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

// | string  | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA   |
// | length  | 0x                                                              BB |
type ShortString is bytes32;

/**
 * @dev This library provides functions to convert short memory strings
 * into a `ShortString` type that can be used as an immutable variable.
 *
 * Strings of arbitrary length can be optimized using this library if
 * they are short enough (up to 31 bytes) by packing them with their
 * length (1 byte) in a single EVM word (32 bytes). Additionally, a
 * fallback mechanism can be used for every other case.
 *
 * Usage example:
 *
 * ```solidity
 * contract Named {
 *     using ShortStrings for *;
 *
 *     ShortString private immutable _name;
 *     string private _nameFallback;
 *
 *     constructor(string memory contractName) {
 *         _name = contractName.toShortStringWithFallback(_nameFallback);
 *     }
 *
 *     function name() external view returns (string memory) {
 *         return _name.toStringWithFallback(_nameFallback);
 *     }
 * }
 * ```
 */
library ShortStrings {
    // Used as an identifier for strings longer than 31 bytes.
    bytes32 private constant FALLBACK_SENTINEL = 0x00000000000000000000000000000000000000000000000000000000000000FF;

    error StringTooLong(string str);
    error InvalidShortString();

    /**
     * @dev Encode a string of at most 31 chars into a `ShortString`.
     *
     * This will trigger a `StringTooLong` error is the input string is too long.
     */
    function toShortString(string memory str) internal pure returns (ShortString) {
        bytes memory bstr = bytes(str);
        if (bstr.length > 31) {
            revert StringTooLong(str);
        }
        return ShortString.wrap(bytes32(uint256(bytes32(bstr)) | bstr.length));
    }

    /**
     * @dev Decode a `ShortString` back to a "normal" string.
     */
    function toString(ShortString sstr) internal pure returns (string memory) {
        uint256 len = byteLength(sstr);
        // using `new string(len)` would work locally but is not memory safe.
        string memory str = new string(32);
        /// @solidity memory-safe-assembly
        assembly {
            mstore(str, len)
            mstore(add(str, 0x20), sstr)
        }
        return str;
    }

    /**
     * @dev Return the length of a `ShortString`.
     */
    function byteLength(ShortString sstr) internal pure returns (uint256) {
        uint256 result = uint256(ShortString.unwrap(sstr)) & 0xFF;
        if (result > 31) {
            revert InvalidShortString();
        }
        return result;
    }

    /**
     * @dev Encode a string into a `ShortString`, or write it to storage if it is too long.
     */
    function toShortStringWithFallback(string memory value, string storage store) internal returns (ShortString) {
        if (bytes(value).length < 32) {
            return toShortString(value);
        } else {
            StorageSlot.getStringSlot(store).value = value;
            return ShortString.wrap(FALLBACK_SENTINEL);
        }
    }

    /**
     * @dev Decode a string that was encoded to `ShortString` or written to storage using {setWithFallback}.
     */
    function toStringWithFallback(ShortString value, string storage store) internal pure returns (string memory) {
        if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {
            return toString(value);
        } else {
            return store;
        }
    }

    /**
     * @dev Return the length of a string that was encoded to `ShortString` or written to storage using
     * {setWithFallback}.
     *
     * WARNING: This will return the "byte length" of the string. This may not reflect the actual length in terms of
     * actual characters as the UTF-8 encoding of a single character can span over multiple bytes.
     */
    function byteLengthWithFallback(ShortString value, string storage store) internal view returns (uint256) {
        if (ShortString.unwrap(value) != FALLBACK_SENTINEL) {
            return byteLength(value);
        } else {
            return bytes(store).length;
        }
    }
}

File 13 of 18 : IERC5267.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5267.sol)

pragma solidity ^0.8.20;

interface IERC5267 {
    /**
     * @dev MAY be emitted to signal that the domain could have changed.
     */
    event EIP712DomainChanged();

    /**
     * @dev returns the fields and values that describe the domain separator used by this contract for EIP-712
     * signature.
     */
    function eip712Domain()
        external
        view
        returns (
            bytes1 fields,
            string memory name,
            string memory version,
            uint256 chainId,
            address verifyingContract,
            bytes32 salt,
            uint256[] memory extensions
        );
}

File 14 of 18 : 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 15 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)

pragma solidity ^0.8.20;

import {Math} from "./math/Math.sol";
import {SignedMath} from "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant HEX_DIGITS = "0123456789abcdef";
    uint8 private constant ADDRESS_LENGTH = 20;

    /**
     * @dev The `value` string doesn't fit in the specified `length`.
     */
    error StringsInsufficientHexLength(uint256 value, uint256 length);

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), HEX_DIGITS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toStringSigned(int256 value) internal pure returns (string memory) {
        return string.concat(value < 0 ? "-" : "", toString(SignedMath.abs(value)));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        uint256 localValue = value;
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = HEX_DIGITS[localValue & 0xf];
            localValue >>= 4;
        }
        if (localValue != 0) {
            revert StringsInsufficientHexLength(value, length);
        }
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal
     * representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return bytes(a).length == bytes(b).length && keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 16 of 18 : StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

pragma solidity ^0.8.20;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(newImplementation.code.length > 0);
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}

File 17 of 18 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    /**
     * @dev Muldiv operation overflow.
     */
    error MathOverflowedMulDiv();

    enum Rounding {
        Floor, // Toward negative infinity
        Ceil, // Toward positive infinity
        Trunc, // Toward zero
        Expand // Away from zero
    }

    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     */
    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.
     */
    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.
     */
    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.
     */
    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.
     */
    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 largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds towards infinity instead
     * of rounding towards zero.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        if (b == 0) {
            // Guarantee the same behavior as in a regular Solidity division.
            return a / b;
        }

        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or
     * denominator == 0.
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv) with further edits by
     * Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0 = x * y; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            if (denominator <= prod1) {
                revert MathOverflowedMulDiv();
            }

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator.
            // Always >= 1. See https://cs.stackexchange.com/q/138556/92363.

            uint256 twos = denominator & (0 - denominator);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also
            // works in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (unsignedRoundsUp(rounding) && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded
     * towards zero.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (unsignedRoundsUp(rounding) && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (unsignedRoundsUp(rounding) && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (unsignedRoundsUp(rounding) && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256 of a positive value rounded towards zero.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (unsignedRoundsUp(rounding) && 1 << (result << 3) < value ? 1 : 0);
        }
    }

    /**
     * @dev Returns whether a provided rounding mode is considered rounding up for unsigned integers.
     */
    function unsignedRoundsUp(Rounding rounding) internal pure returns (bool) {
        return uint8(rounding) % 2 == 1;
    }
}

File 18 of 18 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.20;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_ROUTER","type":"address"},{"internalType":"address","name":"_FACTORY","type":"address"},{"internalType":"address","name":"_WETH","type":"address"},{"internalType":"uint256","name":"_KECCAK_SEED","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"allowance","type":"uint256"}],"name":"AllowanceExceeded","type":"error"},{"inputs":[],"name":"ApprovalFromZero","type":"error"},{"inputs":[],"name":"ApprovalToZero","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"name":"BalanceExceeded","type":"error"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"inputs":[{"internalType":"uint256","name":"deadline","type":"uint256"}],"name":"ERC2612ExpiredSignature","type":"error"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC2612InvalidSigner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"currentNonce","type":"uint256"}],"name":"InvalidAccountNonce","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[],"name":"KeccakError","type":"error"},{"inputs":[],"name":"MaxBuyExceeded","type":"error"},{"inputs":[],"name":"MaxWalletExceeded","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","type":"error"},{"inputs":[],"name":"TradingNotLive","type":"error"},{"inputs":[],"name":"TransferFromZero","type":"error"},{"inputs":[],"name":"TransferOfZero","type":"error"},{"inputs":[],"name":"TransferToZero","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":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[],"name":"EIP712DomainChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"FeeSwap","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"eth","type":"uint256"}],"name":"SendLiquidityFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"eth","type":"uint256"},{"indexed":false,"internalType":"bool","name":"success","type":"bool"},{"indexed":false,"internalType":"bytes","name":"data","type":"bytes"}],"name":"SendMarketingFee","type":"event"},{"anonymous":false,"inputs":[],"name":"StartTrading","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FLUSH","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAIR","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ZERO_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","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":"disableMaxBuy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"disableMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_key","type":"string"},{"internalType":"uint256","name":"_contractTokenBalance","type":"uint256"}],"name":"extConvertFLUSHToETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_key","type":"string"},{"internalType":"uint256","name":"_contractETHBalance","type":"uint256"}],"name":"extDistributeETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_key","type":"string"},{"internalType":"uint256","name":"_contractTokenBalance","type":"uint256"},{"internalType":"uint256","name":"_contractETHBalance","type":"uint256"}],"name":"extSupplyETHM","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"factory","outputs":[{"internalType":"contract IUniswapV2Factory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBuyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMarketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMaxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinFeeSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRouter","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSellFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTaxWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"live","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minFeeSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newBuyFeeMarketing","type":"uint256"},{"internalType":"uint256","name":"_newBuyFeeLiquidity","type":"uint256"},{"internalType":"uint256","name":"_newSellFeeMarketing","type":"uint256"},{"internalType":"uint256","name":"_newSellFeeLiquidity","type":"uint256"}],"name":"setTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"taxWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","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":"weth","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6102c0604052600a61028090815269119b1d5cda119b1bd85d60b21b6102a0526004906200002e9082620005e8565b506200004567016345785d8a0000600019620006b4565b6200005390600019620006d7565b600955600a805462ffffff191662010100178155600b8190556000600c819055600d91909155600e819055600f8190556010553480156200009357600080fd5b506040516200332938038062003329833981016040819052620000b69162000716565b60048054620000c59062000557565b80601f0160208091040260200160405190810160405280929190818152602001828054620000f39062000557565b8015620001445780601f10620001185761010080835404028352916020019162000144565b820191906000526020600020905b8154815290600101906020018083116200012657829003601f168201915b50506040805180820190915260018152603160f81b602082015292503391508190506200018c57604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6200019781620003c4565b50620001a582600162000414565b61012052620001b681600262000414565b61014052815160208084019190912060e052815190820120610100524660a0526200024460e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c08190526001600160a01b038581166101608190528582166101808190529185166101a08190526101c0859052610220919091526102408290526102608190526102008390526040516364e329cb60e11b8152600481019390935260248301529063c9c65396906044016020604051808303816000875af1158015620002d5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002fb919062000768565b6001600160a01b039081166101e052336000908152600860205260408082208054600160ff1991821681179092556102005194851684529190922080549091169091179055610160516200035391906000196200044d565b6200036533610160516000196200044d565b60095433600081815260056020908152604080832094909455925167016345785d8a00008152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050505062000803565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600060208351101562000434576200042c83620004fe565b905062000447565b81620004418482620005e8565b5060ff90505b92915050565b6001600160a01b0383166200047557604051633ec81b6d60e21b815260040160405180910390fd5b6001600160a01b0382166200049d576040516347242c1560e11b815260040160405180910390fd5b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600080829050601f815111156200052c578260405163305a27a960e01b81526004016200018391906200078d565b80516200053982620007de565b179392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200056c57607f821691505b6020821081036200058d57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620005e3576000816000526020600020601f850160051c81016020861015620005be5750805b601f850160051c820191505b81811015620005df57828155600101620005ca565b5050505b505050565b81516001600160401b0381111562000604576200060462000541565b6200061c8162000615845462000557565b8462000593565b602080601f8311600181146200065457600084156200063b5750858301515b600019600386901b1c1916600185901b178555620005df565b600085815260208120601f198616915b82811015620006855788860151825594840194600190910190840162000664565b5085821015620006a45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082620006d257634e487b7160e01b600052601260045260246000fd5b500690565b818103818111156200044757634e487b7160e01b600052601160045260246000fd5b80516001600160a01b03811681146200071157600080fd5b919050565b600080600080608085870312156200072d57600080fd5b6200073885620006f9565b93506200074860208601620006f9565b92506200075860408601620006f9565b6060959095015193969295505050565b6000602082840312156200077b57600080fd5b6200078682620006f9565b9392505050565b60006020808352835180602085015260005b81811015620007bd578581018301518582016040015282016200079f565b506000604082860101526040601f19601f8301168501019250505092915050565b805160208083015191908110156200058d5760001960209190910360031b1b16919050565b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e051610200516102205161024051610260516129e3620009466000396000610456015260006107dc01526000818161095b01528181611bfd0152611d8401526000818161085001528181610fb50152818161139e015281816113dc01528181611422015281816115070152818161164601528181611b5f01528181611c2801528181611dac01528181611fc20152612005015260008181610742015281816107a6015261132c015260008181610d4701528181610f43015261112201526000611bb3015260006106090152600081816107730152818161173c015261179001526000611b0301526000611ad6015260006118f1015260006118c9015260006118240152600061184e0152600061187801526129e36000f3fe6080604052600436106102c75760003560e01c806388cc58e41161017e578063c45a0155116100d3578063e00a73981161008f578063f2fde38b1161006c578063f2fde38b14610929578063f887ea4014610949578063f8b45b051461052d578063fcc71cfd1461097d57005b8063e00a7398146108d8578063e26ea3a4146108f8578063e5507f4e1461091157005b8063c45a0155146107ca578063c8111590146107fe578063d045a3291461081e578063d3cff3d91461083e578063d505accf14610872578063dd62ed3e1461089257005b8063a12a7d611161013a578063a98a934a11610117578063a98a934a1461071b578063ace3a8a714610730578063b0f479a114610764578063c1f1b1b51461079757005b8063a12a7d61146106bb578063a457c2d7146106db578063a9059cbb146106fb57005b806388cc58e4146105fa5780638da5cb5b1461062d5780638f818b901461064b578063957aa58c1461066057806395d89b411461067857806396790d4a146106a657005b8063417fd2d61161023457806370db69d6116101f057806379cc6790116101cd57806379cc6790146105725780637ecebe0014610592578063831e4158146105b257806384b0196e146105d257005b806370db69d61461052d578063715018a61461054857806376b35d811461055d57005b8063417fd2d61461047857806342966c68146104975780634ada218b146104b757806352894ceb146104d1578063538ba4f9146104f857806370a082311461050d57005b8063293230b811610283578063293230b81461039e5780632dc0562d146103b3578063313ce567146103f35780633644e5151461040f57806339509351146104245780633fc8cef31461044457005b806306fdde03146102d0578063095ea7b3146102fb5780630fa604e41461032b57806318160ddd1461034e57806323b872dd14610369578063289af0d81461038957005b366102ce57005b005b3480156102dc57600080fd5b506102e5610992565b6040516102f291906124d0565b60405180910390f35b34801561030757600080fd5b5061031b610316366004612506565b610a24565b60405190151581526020016102f2565b34801561033757600080fd5b50610340610a3b565b6040519081526020016102f2565b34801561035a57600080fd5b5067016345785d8a0000610340565b34801561037557600080fd5b5061031b610384366004612530565b610a63565b34801561039557600080fd5b50610340610ae3565b3480156103aa57600080fd5b506102ce610af5565b3480156103bf57600080fd5b506103db73d822ae407ed985926bf52fb16c20092f20875f2b81565b6040516001600160a01b0390911681526020016102f2565b3480156103ff57600080fd5b50604051600981526020016102f2565b34801561041b57600080fd5b50610340610b45565b34801561043057600080fd5b5061031b61043f366004612506565b610b4f565b34801561045057600080fd5b506103db7f000000000000000000000000000000000000000000000000000000000000000081565b34801561048457600080fd5b50600a5461031b90610100900460ff1681565b3480156104a357600080fd5b506102ce6104b236600461256c565b610b86565b3480156104c357600080fd5b50600a5461031b9060ff1681565b3480156104dd57600080fd5b5073d822ae407ed985926bf52fb16c20092f20875f2b6103db565b34801561050457600080fd5b506103db600081565b34801561051957600080fd5b50610340610528366004612585565b610c06565b34801561053957600080fd5b5061034066071afd498d000081565b34801561055457600080fd5b506102ce610c28565b34801561056957600080fd5b506102ce610c3c565b34801561057e57600080fd5b506102ce61058d366004612506565b610c65565b34801561059e57600080fd5b506103406105ad366004612585565b610d24565b3480156105be57600080fd5b506102ce6105cd3660046125e9565b610d42565b3480156105de57600080fd5b506105e7610db9565b6040516102f29796959493929190612635565b34801561060657600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103db565b34801561063957600080fd5b506000546001600160a01b03166103db565b34801561065757600080fd5b50610340610dff565b34801561066c57600080fd5b50600a5460ff1661031b565b34801561068457600080fd5b5060408051808201909152600581526408c98aaa6960db1b60208201526102e5565b3480156106b257600080fd5b50610340610e11565b3480156106c757600080fd5b506102ce6106d63660046126ce565b610e2a565b3480156106e757600080fd5b5061031b6106f6366004612506565b610e6d565b34801561070757600080fd5b5061031b610716366004612506565b610f06565b34801561072757600080fd5b506102ce610f13565b34801561073c57600080fd5b506103db7f000000000000000000000000000000000000000000000000000000000000000081565b34801561077057600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103db565b3480156107a357600080fd5b507f00000000000000000000000000000000000000000000000000000000000000006103db565b3480156107d657600080fd5b506103db7f000000000000000000000000000000000000000000000000000000000000000081565b34801561080a57600080fd5b506102ce6108193660046125e9565b610f3e565b34801561082a57600080fd5b50600a5461031b9062010000900460ff1681565b34801561084a57600080fd5b506103db7f000000000000000000000000000000000000000000000000000000000000000081565b34801561087e57600080fd5b506102ce61088d366004612700565b610fe3565b34801561089e57600080fd5b506103406108ad366004612773565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b3480156108e457600080fd5b506102ce6108f33660046127a6565b61111d565b34801561090457600080fd5b5061034064174876e80081565b34801561091d57600080fd5b5064174876e800610340565b34801561093557600080fd5b506102ce610944366004612585565b611196565b34801561095557600080fd5b506103db7f000000000000000000000000000000000000000000000000000000000000000081565b34801561098957600080fd5b506103406111d4565b6060600480546109a1906127f7565b80601f01602080910402602001604051908101604052809291908181526020018280546109cd906127f7565b8015610a1a5780601f106109ef57610100808354040283529160200191610a1a565b820191906000526020600020905b8154815290600101906020018083116109fd57829003601f168201915b5050505050905090565b6000610a313384846111e6565b5060015b92915050565b600a5460009062010000900460ff16610a55575060001990565b66071afd498d00005b905090565b6000610a70848484611296565b6001600160a01b038416600090815260076020908152604080832033845290915290205480831115610ac457604051635492412b60e11b815260048101849052602481018290526044015b60405180910390fd5b610ad88533610ad38685612847565b6111e6565b506001949350505050565b6000600e54600d54610a5e919061285a565b610afd6117ea565b600a5460ff1615610b0d57600080fd5b600a805460ff191660011790556040517fbf6a1c0d2669c1534a4b018edab32445ffb4f4e914517f62fb885949552d7e3490600090a1565b6000610a5e611817565b3360008181526007602090815260408083206001600160a01b03871684529091528120549091610a31918590610ad390869061285a565b610b8f33610c06565b811115610bc25780610ba033610c06565b60405163f4dcf56b60e01b815260048101929092526024820152604401610abb565b610bd0336000836000611942565b6040518181527fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb9060200160405180910390a150565b6001600160a01b038116600090815260056020526040812054610a3590611958565b610c306117ea565b610c3a60006119df565b565b610c446117ea565b600a54610100900460ff16610c5857600080fd5b600a805461ff0019169055565b610c6e82610c06565b811115610c7f5780610ba083610c06565b610c8d826000836000611942565b6001600160a01b038216600090815260076020908152604080832033845290915290205480821115610cdc57604051635492412b60e11b81526004810183905260248101829052604401610abb565b610ceb8333610ad38585612847565b6040518281527fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb906020015b60405180910390a1505050565b6001600160a01b038116600090815260036020526040812054610a35565b6040517f000000000000000000000000000000000000000000000000000000000000000090610d77908590859060200161286d565b6040516020818303038152906040528051906020012014610dab576040516323b369c560e21b815260040160405180910390fd5b610db481611a2f565b505050565b600060608060008060006060610dcd611acf565b610dd5611afc565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6000600c54600b54610a5e919061285a565b600a54600090610100900460ff16610a55575060001990565b610e326117ea565b600a610e3e848661285a565b1115610e4957600080fd5b600a610e55828461285a565b1115610e6057600080fd5b5050600b91909155600c55565b3360009081526007602090815260408083206001600160a01b038616845290915281205482811015610eef5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610abb565b610efc33858584036111e6565b5060019392505050565b6000610a31338484611296565b610f1b6117ea565b600a5462010000900460ff16610f3057600080fd5b600a805462ff000019169055565b6040517f000000000000000000000000000000000000000000000000000000000000000090610f73908590859060200161286d565b6040516020818303038152906040528051906020012014610fa7576040516323b369c560e21b815260040160405180910390fd5b610fb081611b29565b610db47f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031631611a2f565b834211156110075760405163313c898160e11b815260048101859052602401610abb565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886110548c6001600160a01b0316600090815260036020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006110af82611cef565b905060006110bf82878787611d1c565b9050896001600160a01b0316816001600160a01b031614611106576040516325c0072360e11b81526001600160a01b0380831660048301528b166024820152604401610abb565b6111118a8a8a6111e6565b50505050505050505050565b6040517f000000000000000000000000000000000000000000000000000000000000000090611152908690869060200161286d565b6040516020818303038152906040528051906020012014611186576040516323b369c560e21b815260040160405180910390fd5b6111908282611d4a565b50505050565b61119e6117ea565b6001600160a01b0381166111c857604051631e4fbdf760e01b815260006004820152602401610abb565b6111d1816119df565b50565b6000600d54600b54610a5e919061285a565b6001600160a01b03831661120d57604051633ec81b6d60e21b815260040160405180910390fd5b6001600160a01b038216611234576040516347242c1560e11b815260040160405180910390fd5b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166112bd5760405163f38f85c360e01b815260040160405180910390fd5b6001600160a01b0382166112e45760405163a38ca3d960e01b815260040160405180910390fd5b806000036113055760405163ef4f660360e01b815260040160405180910390fd5b61130e83610c06565b81111561131f5780610ba084610c06565b6001600160a01b038381167f00000000000000000000000000000000000000000000000000000000000000008216908114918416146113666000546001600160a01b031690565b6001600160a01b0316856001600160a01b03161415801561139557506000546001600160a01b03858116911614155b80156113d357507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b801561141157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031614155b156116d157600a5460ff16611472577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614611472576040516302b7c73360e01b815260040160405180910390fd5b600a54610100900460ff16156114aa5766071afd498d00008311156114aa576040516357af6af560e11b815260040160405180910390fd5b600a5462010000900460ff161561150057801580156114e2575066071afd498d0000836114d686610c06565b6114e0919061285a565b115b1561150057604051632ce93b5960e01b815260040160405180910390fd5b600061152b7f0000000000000000000000000000000000000000000000000000000000000000610c06565b905064174876e800811015801561154c5750600a546301000000900460ff16155b8015611556575082155b801561157b57506001600160a01b03861660009081526008602052604090205460ff16155b80156115a057506001600160a01b03851660009081526008602052604090205460ff16155b156116cf5760006115af610ae3565b6115b7610dff565b6115c1919061285a565b905080156116cd576000816115d46111d4565b6115de908561287d565b6115e89190612894565b905060006115f68285612847565b90506000611605600283612894565b600a805464ff000000001916640100000000179055905061162e611629828561285a565b611b29565b600a805464ff00000000191690556001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163180156116c85784156116bf5760008561167e6111d4565b611688908461287d565b6116929190612894565b905061169d81611a2f565b6116b96116aa8486612847565b6116b48385612847565b611d4a565b506116c8565b6116c881611a2f565b505050505b505b505b6001600160a01b03851660009081526008602052604090205460019060ff168061171357506001600160a01b03851660009081526008602052604090205460ff165b80611725575082158015611725575081155b15611732575060006117d6565b82801561177157507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031614155b156117865761177e610dff565b600f556117d6565b8180156117c557507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316866001600160a01b031614155b156117d25761177e610ae3565b5060005b6117e286868684611942565b505050505050565b6000546001600160a01b03163314610c3a5760405163118cdaa760e01b8152336004820152602401610abb565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561187057507f000000000000000000000000000000000000000000000000000000000000000046145b1561189a57507f000000000000000000000000000000000000000000000000000000000000000090565b610a5e604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b8061194d576000600f555b611190848484611edb565b600060095482111561196957600080fd5b600a5465010000000000900460ff161580156119905750600a54640100000000900460ff16155b80156119a55750600a546301000000900460ff165b6119c0576119b16120d7565b6119bb9083612894565b610a35565b6b033b2e3c9fd0803ce80000006119d56120d7565b610a359190612894565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80600003611a3a5750565b604051600090819073d822ae407ed985926bf52fb16c20092f20875f2b9084908381818185875af1925050503d8060008114611a92576040519150601f19603f3d011682016040523d82523d6000602084013e611a97565b606091505b50915091507ffceb7297ad5adaa14c4d67ff8ca5ea354d440bf53fdcf8e387f80dffbc6777ec838383604051610d17939291906128b6565b6060610a5e7f000000000000000000000000000000000000000000000000000000000000000060016120ef565b6060610a5e7f000000000000000000000000000000000000000000000000000000000000000060026120ef565b600a805463ff000000191663010000001790556040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110611b9157611b916128e0565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110611be557611be56128e0565b6001600160a01b0392831660209182029290920101527f00000000000000000000000000000000000000000000000000000000000000001663791ac947836000847f0000000000000000000000000000000000000000000000000000000000000000611c534261070861285a565b6040518663ffffffff1660e01b8152600401611c739594939291906128f6565b600060405180830381600087803b158015611c8d57600080fd5b505af1158015611ca1573d6000803e3d6000fd5b505050507f1cfca31204cc745553128283c3bd97acb07e803bd611f352db637c644eb59b8782604051611cd691815260200190565b60405180910390a15050600a805463ff00000019169055565b6000610a35611cfc611817565b8360405161190160f01b8152600281019290925260228201526042902090565b600080600080611d2e8888888861219a565b925092509250611d3e8282612269565b50909695505050505050565b600a805463ff000000191663010000001790558015611eca57600a805465ff00000000001916650100000000001790556001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001663f305d719827f00000000000000000000000000000000000000000000000000000000000000008560008073d822ae407ed985926bf52fb16c20092f20875f2b611df04261070861285a565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af1158015611e5d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611e829190612969565b5050600a805465ff0000000000191690555060408051838152602081018390527f255bf213400477e336cd345f579495e48d7fe558c06f79c351ef9c323e9e550b9101611cd6565b5050600a805463ff00000019169055565b600a546301000000900460ff161580611efe5750600a54640100000000900460ff165b80611f145750600a5465010000000000900460ff165b15612092576000806000806000611f2a86612326565b6001600160a01b038e16600090815260056020526040902054959a509398509196509450909250611f5d91879150612847565b6001600160a01b03808a166000908152600560205260408082209390935590891681522054611f8d90859061285a565b6001600160a01b038816600090815260056020526040902055611fae6120d7565b611fb8908261287d565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016600090815260056020526040902054611ffb919061285a565b6001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016600090815260056020526040902055600954612042908490612847565b6009556040518281526001600160a01b0380891691908a16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050505050505050565b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161128991815260200190565b600067016345785d8a0000600954610a5e9190612894565b606060ff8314612109576121028361237b565b9050610a35565b818054612115906127f7565b80601f0160208091040260200160405190810160405280929190818152602001828054612141906127f7565b801561218e5780601f106121635761010080835404028352916020019161218e565b820191906000526020600020905b81548152906001019060200180831161217157829003601f168201915b50505050509050610a35565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411156121d5575060009150600390508261225f565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015612229573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166122555750600092506001915082905061225f565b9250600091508190505b9450945094915050565b600082600381111561227d5761227d612997565b03612286575050565b600182600381111561229a5761229a612997565b036122b85760405163f645eedf60e01b815260040160405180910390fd5b60028260038111156122cc576122cc612997565b036122ed5760405163fce698f760e01b815260048101829052602401610abb565b600382600381111561230157612301612997565b03612322576040516335e2f38360e21b815260048101829052602401610abb565b5050565b60008060008060008060008060006123438a601054600f546123ba565b92509250925060008060006123618d868661235c6120d7565b612413565b919f909e50909c50959a5093985091965092945050505050565b6060600061238883612462565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600080808060646123cb878961287d565b6123d59190612894565b9050600060646123e5878a61287d565b6123ef9190612894565b9050806123fc838a612847565b6124069190612847565b9891975095509350505050565b6000808080612422858961287d565b90506000612430868961287d565b90508161243d878961287d565b6124478385612847565b6124519190612847565b909a90995090975095505050505050565b600060ff8216601f811115610a3557604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b818110156124b057602081850181015186830182015201612494565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006124e3602083018461248a565b9392505050565b80356001600160a01b038116811461250157600080fd5b919050565b6000806040838503121561251957600080fd5b612522836124ea565b946020939093013593505050565b60008060006060848603121561254557600080fd5b61254e846124ea565b925061255c602085016124ea565b9150604084013590509250925092565b60006020828403121561257e57600080fd5b5035919050565b60006020828403121561259757600080fd5b6124e3826124ea565b60008083601f8401126125b257600080fd5b50813567ffffffffffffffff8111156125ca57600080fd5b6020830191508360208285010111156125e257600080fd5b9250929050565b6000806000604084860312156125fe57600080fd5b833567ffffffffffffffff81111561261557600080fd5b612621868287016125a0565b909790965060209590950135949350505050565b60ff60f81b881681526000602060e0602084015261265660e084018a61248a565b8381036040850152612668818a61248a565b606085018990526001600160a01b038816608086015260a0850187905284810360c08601528551808252602080880193509091019060005b818110156126bc578351835292840192918401916001016126a0565b50909c9b505050505050505050505050565b600080600080608085870312156126e457600080fd5b5050823594602084013594506040840135936060013592509050565b600080600080600080600060e0888a03121561271b57600080fd5b612724886124ea565b9650612732602089016124ea565b95506040880135945060608801359350608088013560ff8116811461275657600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561278657600080fd5b61278f836124ea565b915061279d602084016124ea565b90509250929050565b600080600080606085870312156127bc57600080fd5b843567ffffffffffffffff8111156127d357600080fd5b6127df878288016125a0565b90989097506020870135966040013595509350505050565b600181811c9082168061280b57607f821691505b60208210810361282b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610a3557610a35612831565b80820180821115610a3557610a35612831565b8183823760009101908152919050565b8082028115828204841417610a3557610a35612831565b6000826128b157634e487b7160e01b600052601260045260246000fd5b500490565b83815282151560208201526060604082015260006128d7606083018461248a565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156129485784516001600160a01b031683529383019391830191600101612923565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561297e57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220f3408a3c8e3300fa14089ebd8a4421161231b655388e33c25e5dcfc14110324c64736f6c634300081800330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a74839f85cae3155315bd9260882e01c5caac8e6efbc7141d0dd0597a3d27dfe

Deployed Bytecode

0x6080604052600436106102c75760003560e01c806388cc58e41161017e578063c45a0155116100d3578063e00a73981161008f578063f2fde38b1161006c578063f2fde38b14610929578063f887ea4014610949578063f8b45b051461052d578063fcc71cfd1461097d57005b8063e00a7398146108d8578063e26ea3a4146108f8578063e5507f4e1461091157005b8063c45a0155146107ca578063c8111590146107fe578063d045a3291461081e578063d3cff3d91461083e578063d505accf14610872578063dd62ed3e1461089257005b8063a12a7d611161013a578063a98a934a11610117578063a98a934a1461071b578063ace3a8a714610730578063b0f479a114610764578063c1f1b1b51461079757005b8063a12a7d61146106bb578063a457c2d7146106db578063a9059cbb146106fb57005b806388cc58e4146105fa5780638da5cb5b1461062d5780638f818b901461064b578063957aa58c1461066057806395d89b411461067857806396790d4a146106a657005b8063417fd2d61161023457806370db69d6116101f057806379cc6790116101cd57806379cc6790146105725780637ecebe0014610592578063831e4158146105b257806384b0196e146105d257005b806370db69d61461052d578063715018a61461054857806376b35d811461055d57005b8063417fd2d61461047857806342966c68146104975780634ada218b146104b757806352894ceb146104d1578063538ba4f9146104f857806370a082311461050d57005b8063293230b811610283578063293230b81461039e5780632dc0562d146103b3578063313ce567146103f35780633644e5151461040f57806339509351146104245780633fc8cef31461044457005b806306fdde03146102d0578063095ea7b3146102fb5780630fa604e41461032b57806318160ddd1461034e57806323b872dd14610369578063289af0d81461038957005b366102ce57005b005b3480156102dc57600080fd5b506102e5610992565b6040516102f291906124d0565b60405180910390f35b34801561030757600080fd5b5061031b610316366004612506565b610a24565b60405190151581526020016102f2565b34801561033757600080fd5b50610340610a3b565b6040519081526020016102f2565b34801561035a57600080fd5b5067016345785d8a0000610340565b34801561037557600080fd5b5061031b610384366004612530565b610a63565b34801561039557600080fd5b50610340610ae3565b3480156103aa57600080fd5b506102ce610af5565b3480156103bf57600080fd5b506103db73d822ae407ed985926bf52fb16c20092f20875f2b81565b6040516001600160a01b0390911681526020016102f2565b3480156103ff57600080fd5b50604051600981526020016102f2565b34801561041b57600080fd5b50610340610b45565b34801561043057600080fd5b5061031b61043f366004612506565b610b4f565b34801561045057600080fd5b506103db7f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281565b34801561048457600080fd5b50600a5461031b90610100900460ff1681565b3480156104a357600080fd5b506102ce6104b236600461256c565b610b86565b3480156104c357600080fd5b50600a5461031b9060ff1681565b3480156104dd57600080fd5b5073d822ae407ed985926bf52fb16c20092f20875f2b6103db565b34801561050457600080fd5b506103db600081565b34801561051957600080fd5b50610340610528366004612585565b610c06565b34801561053957600080fd5b5061034066071afd498d000081565b34801561055457600080fd5b506102ce610c28565b34801561056957600080fd5b506102ce610c3c565b34801561057e57600080fd5b506102ce61058d366004612506565b610c65565b34801561059e57600080fd5b506103406105ad366004612585565b610d24565b3480156105be57600080fd5b506102ce6105cd3660046125e9565b610d42565b3480156105de57600080fd5b506105e7610db9565b6040516102f29796959493929190612635565b34801561060657600080fd5b507f0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f6103db565b34801561063957600080fd5b506000546001600160a01b03166103db565b34801561065757600080fd5b50610340610dff565b34801561066c57600080fd5b50600a5460ff1661031b565b34801561068457600080fd5b5060408051808201909152600581526408c98aaa6960db1b60208201526102e5565b3480156106b257600080fd5b50610340610e11565b3480156106c757600080fd5b506102ce6106d63660046126ce565b610e2a565b3480156106e757600080fd5b5061031b6106f6366004612506565b610e6d565b34801561070757600080fd5b5061031b610716366004612506565b610f06565b34801561072757600080fd5b506102ce610f13565b34801561073c57600080fd5b506103db7f000000000000000000000000e888f8b4b4df4761cf11cff021ffcd2c8268183681565b34801561077057600080fd5b507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6103db565b3480156107a357600080fd5b507f000000000000000000000000e888f8b4b4df4761cf11cff021ffcd2c826818366103db565b3480156107d657600080fd5b506103db7f0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f81565b34801561080a57600080fd5b506102ce6108193660046125e9565b610f3e565b34801561082a57600080fd5b50600a5461031b9062010000900460ff1681565b34801561084a57600080fd5b506103db7f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa9002126981565b34801561087e57600080fd5b506102ce61088d366004612700565b610fe3565b34801561089e57600080fd5b506103406108ad366004612773565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205490565b3480156108e457600080fd5b506102ce6108f33660046127a6565b61111d565b34801561090457600080fd5b5061034064174876e80081565b34801561091d57600080fd5b5064174876e800610340565b34801561093557600080fd5b506102ce610944366004612585565b611196565b34801561095557600080fd5b506103db7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b34801561098957600080fd5b506103406111d4565b6060600480546109a1906127f7565b80601f01602080910402602001604051908101604052809291908181526020018280546109cd906127f7565b8015610a1a5780601f106109ef57610100808354040283529160200191610a1a565b820191906000526020600020905b8154815290600101906020018083116109fd57829003601f168201915b5050505050905090565b6000610a313384846111e6565b5060015b92915050565b600a5460009062010000900460ff16610a55575060001990565b66071afd498d00005b905090565b6000610a70848484611296565b6001600160a01b038416600090815260076020908152604080832033845290915290205480831115610ac457604051635492412b60e11b815260048101849052602481018290526044015b60405180910390fd5b610ad88533610ad38685612847565b6111e6565b506001949350505050565b6000600e54600d54610a5e919061285a565b610afd6117ea565b600a5460ff1615610b0d57600080fd5b600a805460ff191660011790556040517fbf6a1c0d2669c1534a4b018edab32445ffb4f4e914517f62fb885949552d7e3490600090a1565b6000610a5e611817565b3360008181526007602090815260408083206001600160a01b03871684529091528120549091610a31918590610ad390869061285a565b610b8f33610c06565b811115610bc25780610ba033610c06565b60405163f4dcf56b60e01b815260048101929092526024820152604401610abb565b610bd0336000836000611942565b6040518181527fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb9060200160405180910390a150565b6001600160a01b038116600090815260056020526040812054610a3590611958565b610c306117ea565b610c3a60006119df565b565b610c446117ea565b600a54610100900460ff16610c5857600080fd5b600a805461ff0019169055565b610c6e82610c06565b811115610c7f5780610ba083610c06565b610c8d826000836000611942565b6001600160a01b038216600090815260076020908152604080832033845290915290205480821115610cdc57604051635492412b60e11b81526004810183905260248101829052604401610abb565b610ceb8333610ad38585612847565b6040518281527fb90306ad06b2a6ff86ddc9327db583062895ef6540e62dc50add009db5b356eb906020015b60405180910390a1505050565b6001600160a01b038116600090815260036020526040812054610a35565b6040517fa74839f85cae3155315bd9260882e01c5caac8e6efbc7141d0dd0597a3d27dfe90610d77908590859060200161286d565b6040516020818303038152906040528051906020012014610dab576040516323b369c560e21b815260040160405180910390fd5b610db481611a2f565b505050565b600060608060008060006060610dcd611acf565b610dd5611afc565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6000600c54600b54610a5e919061285a565b600a54600090610100900460ff16610a55575060001990565b610e326117ea565b600a610e3e848661285a565b1115610e4957600080fd5b600a610e55828461285a565b1115610e6057600080fd5b5050600b91909155600c55565b3360009081526007602090815260408083206001600160a01b038616845290915281205482811015610eef5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610abb565b610efc33858584036111e6565b5060019392505050565b6000610a31338484611296565b610f1b6117ea565b600a5462010000900460ff16610f3057600080fd5b600a805462ff000019169055565b6040517fa74839f85cae3155315bd9260882e01c5caac8e6efbc7141d0dd0597a3d27dfe90610f73908590859060200161286d565b6040516020818303038152906040528051906020012014610fa7576040516323b369c560e21b815260040160405180910390fd5b610fb081611b29565b610db47f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa900212696001600160a01b031631611a2f565b834211156110075760405163313c898160e11b815260048101859052602401610abb565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886110548c6001600160a01b0316600090815260036020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e00160405160208183030381529060405280519060200120905060006110af82611cef565b905060006110bf82878787611d1c565b9050896001600160a01b0316816001600160a01b031614611106576040516325c0072360e11b81526001600160a01b0380831660048301528b166024820152604401610abb565b6111118a8a8a6111e6565b50505050505050505050565b6040517fa74839f85cae3155315bd9260882e01c5caac8e6efbc7141d0dd0597a3d27dfe90611152908690869060200161286d565b6040516020818303038152906040528051906020012014611186576040516323b369c560e21b815260040160405180910390fd5b6111908282611d4a565b50505050565b61119e6117ea565b6001600160a01b0381166111c857604051631e4fbdf760e01b815260006004820152602401610abb565b6111d1816119df565b50565b6000600d54600b54610a5e919061285a565b6001600160a01b03831661120d57604051633ec81b6d60e21b815260040160405180910390fd5b6001600160a01b038216611234576040516347242c1560e11b815260040160405180910390fd5b6001600160a01b0383811660008181526007602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166112bd5760405163f38f85c360e01b815260040160405180910390fd5b6001600160a01b0382166112e45760405163a38ca3d960e01b815260040160405180910390fd5b806000036113055760405163ef4f660360e01b815260040160405180910390fd5b61130e83610c06565b81111561131f5780610ba084610c06565b6001600160a01b038381167f000000000000000000000000e888f8b4b4df4761cf11cff021ffcd2c826818368216908114918416146113666000546001600160a01b031690565b6001600160a01b0316856001600160a01b03161415801561139557506000546001600160a01b03858116911614155b80156113d357507f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa900212696001600160a01b0316856001600160a01b031614155b801561141157507f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa900212696001600160a01b0316846001600160a01b031614155b156116d157600a5460ff16611472577f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa900212696001600160a01b0316856001600160a01b031614611472576040516302b7c73360e01b815260040160405180910390fd5b600a54610100900460ff16156114aa5766071afd498d00008311156114aa576040516357af6af560e11b815260040160405180910390fd5b600a5462010000900460ff161561150057801580156114e2575066071afd498d0000836114d686610c06565b6114e0919061285a565b115b1561150057604051632ce93b5960e01b815260040160405180910390fd5b600061152b7f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa90021269610c06565b905064174876e800811015801561154c5750600a546301000000900460ff16155b8015611556575082155b801561157b57506001600160a01b03861660009081526008602052604090205460ff16155b80156115a057506001600160a01b03851660009081526008602052604090205460ff16155b156116cf5760006115af610ae3565b6115b7610dff565b6115c1919061285a565b905080156116cd576000816115d46111d4565b6115de908561287d565b6115e89190612894565b905060006115f68285612847565b90506000611605600283612894565b600a805464ff000000001916640100000000179055905061162e611629828561285a565b611b29565b600a805464ff00000000191690556001600160a01b037f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa90021269163180156116c85784156116bf5760008561167e6111d4565b611688908461287d565b6116929190612894565b905061169d81611a2f565b6116b96116aa8486612847565b6116b48385612847565b611d4a565b506116c8565b6116c881611a2f565b505050505b505b505b6001600160a01b03851660009081526008602052604090205460019060ff168061171357506001600160a01b03851660009081526008602052604090205460ff165b80611725575082158015611725575081155b15611732575060006117d6565b82801561177157507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316856001600160a01b031614155b156117865761177e610dff565b600f556117d6565b8180156117c557507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316866001600160a01b031614155b156117d25761177e610ae3565b5060005b6117e286868684611942565b505050505050565b6000546001600160a01b03163314610c3a5760405163118cdaa760e01b8152336004820152602401610abb565b6000306001600160a01b037f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa900212691614801561187057507f000000000000000000000000000000000000000000000000000000000000000146145b1561189a57507f6adf29cefdf1d23fc2a2b6f194c44b46e5c32aea0a84d6752c64c5fc479bb49290565b610a5e604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f42c424b907a114981a1e11e9b9a1472eb0c8bcb727d8163fef8b81e3f7f87cd4918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b8061194d576000600f555b611190848484611edb565b600060095482111561196957600080fd5b600a5465010000000000900460ff161580156119905750600a54640100000000900460ff16155b80156119a55750600a546301000000900460ff165b6119c0576119b16120d7565b6119bb9083612894565b610a35565b6b033b2e3c9fd0803ce80000006119d56120d7565b610a359190612894565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80600003611a3a5750565b604051600090819073d822ae407ed985926bf52fb16c20092f20875f2b9084908381818185875af1925050503d8060008114611a92576040519150601f19603f3d011682016040523d82523d6000602084013e611a97565b606091505b50915091507ffceb7297ad5adaa14c4d67ff8ca5ea354d440bf53fdcf8e387f80dffbc6777ec838383604051610d17939291906128b6565b6060610a5e7f466c757368466c6f61740000000000000000000000000000000000000000000a60016120ef565b6060610a5e7f310000000000000000000000000000000000000000000000000000000000000160026120ef565b600a805463ff000000191663010000001790556040805160028082526060820183526000926020830190803683370190505090507f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa9002126981600081518110611b9157611b916128e0565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc281600181518110611be557611be56128e0565b6001600160a01b0392831660209182029290920101527f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663791ac947836000847f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa90021269611c534261070861285a565b6040518663ffffffff1660e01b8152600401611c739594939291906128f6565b600060405180830381600087803b158015611c8d57600080fd5b505af1158015611ca1573d6000803e3d6000fd5b505050507f1cfca31204cc745553128283c3bd97acb07e803bd611f352db637c644eb59b8782604051611cd691815260200190565b60405180910390a15050600a805463ff00000019169055565b6000610a35611cfc611817565b8360405161190160f01b8152600281019290925260228201526042902090565b600080600080611d2e8888888861219a565b925092509250611d3e8282612269565b50909695505050505050565b600a805463ff000000191663010000001790558015611eca57600a805465ff00000000001916650100000000001790556001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d1663f305d719827f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa900212698560008073d822ae407ed985926bf52fb16c20092f20875f2b611df04261070861285a565b60405160e089901b6001600160e01b03191681526001600160a01b039687166004820152602481019590955260448501939093526064840191909152909216608482015260a481019190915260c40160606040518083038185885af1158015611e5d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611e829190612969565b5050600a805465ff0000000000191690555060408051838152602081018390527f255bf213400477e336cd345f579495e48d7fe558c06f79c351ef9c323e9e550b9101611cd6565b5050600a805463ff00000019169055565b600a546301000000900460ff161580611efe5750600a54640100000000900460ff165b80611f145750600a5465010000000000900460ff165b15612092576000806000806000611f2a86612326565b6001600160a01b038e16600090815260056020526040902054959a509398509196509450909250611f5d91879150612847565b6001600160a01b03808a166000908152600560205260408082209390935590891681522054611f8d90859061285a565b6001600160a01b038816600090815260056020526040902055611fae6120d7565b611fb8908261287d565b6001600160a01b037f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa9002126916600090815260056020526040902054611ffb919061285a565b6001600160a01b037f000000000000000000000000bacb4ba5a783a1d80178a1106f6aa4aa9002126916600090815260056020526040902055600954612042908490612847565b6009556040518281526001600160a01b0380891691908a16907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050505050505050565b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161128991815260200190565b600067016345785d8a0000600954610a5e9190612894565b606060ff8314612109576121028361237b565b9050610a35565b818054612115906127f7565b80601f0160208091040260200160405190810160405280929190818152602001828054612141906127f7565b801561218e5780601f106121635761010080835404028352916020019161218e565b820191906000526020600020905b81548152906001019060200180831161217157829003601f168201915b50505050509050610a35565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08411156121d5575060009150600390508261225f565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015612229573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166122555750600092506001915082905061225f565b9250600091508190505b9450945094915050565b600082600381111561227d5761227d612997565b03612286575050565b600182600381111561229a5761229a612997565b036122b85760405163f645eedf60e01b815260040160405180910390fd5b60028260038111156122cc576122cc612997565b036122ed5760405163fce698f760e01b815260048101829052602401610abb565b600382600381111561230157612301612997565b03612322576040516335e2f38360e21b815260048101829052602401610abb565b5050565b60008060008060008060008060006123438a601054600f546123ba565b92509250925060008060006123618d868661235c6120d7565b612413565b919f909e50909c50959a5093985091965092945050505050565b6060600061238883612462565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600080808060646123cb878961287d565b6123d59190612894565b9050600060646123e5878a61287d565b6123ef9190612894565b9050806123fc838a612847565b6124069190612847565b9891975095509350505050565b6000808080612422858961287d565b90506000612430868961287d565b90508161243d878961287d565b6124478385612847565b6124519190612847565b909a90995090975095505050505050565b600060ff8216601f811115610a3557604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b818110156124b057602081850181015186830182015201612494565b506000602082860101526020601f19601f83011685010191505092915050565b6020815260006124e3602083018461248a565b9392505050565b80356001600160a01b038116811461250157600080fd5b919050565b6000806040838503121561251957600080fd5b612522836124ea565b946020939093013593505050565b60008060006060848603121561254557600080fd5b61254e846124ea565b925061255c602085016124ea565b9150604084013590509250925092565b60006020828403121561257e57600080fd5b5035919050565b60006020828403121561259757600080fd5b6124e3826124ea565b60008083601f8401126125b257600080fd5b50813567ffffffffffffffff8111156125ca57600080fd5b6020830191508360208285010111156125e257600080fd5b9250929050565b6000806000604084860312156125fe57600080fd5b833567ffffffffffffffff81111561261557600080fd5b612621868287016125a0565b909790965060209590950135949350505050565b60ff60f81b881681526000602060e0602084015261265660e084018a61248a565b8381036040850152612668818a61248a565b606085018990526001600160a01b038816608086015260a0850187905284810360c08601528551808252602080880193509091019060005b818110156126bc578351835292840192918401916001016126a0565b50909c9b505050505050505050505050565b600080600080608085870312156126e457600080fd5b5050823594602084013594506040840135936060013592509050565b600080600080600080600060e0888a03121561271b57600080fd5b612724886124ea565b9650612732602089016124ea565b95506040880135945060608801359350608088013560ff8116811461275657600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561278657600080fd5b61278f836124ea565b915061279d602084016124ea565b90509250929050565b600080600080606085870312156127bc57600080fd5b843567ffffffffffffffff8111156127d357600080fd5b6127df878288016125a0565b90989097506020870135966040013595509350505050565b600181811c9082168061280b57607f821691505b60208210810361282b57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b81810381811115610a3557610a35612831565b80820180821115610a3557610a35612831565b8183823760009101908152919050565b8082028115828204841417610a3557610a35612831565b6000826128b157634e487b7160e01b600052601260045260246000fd5b500490565b83815282151560208201526060604082015260006128d7606083018461248a565b95945050505050565b634e487b7160e01b600052603260045260246000fd5b600060a08201878352602087602085015260a0604085015281875180845260c08601915060208901935060005b818110156129485784516001600160a01b031683529383019391830191600101612923565b50506001600160a01b03969096166060850152505050608001529392505050565b60008060006060848603121561297e57600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052602160045260246000fdfea2646970667358221220f3408a3c8e3300fa14089ebd8a4421161231b655388e33c25e5dcfc14110324c64736f6c63430008180033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2a74839f85cae3155315bd9260882e01c5caac8e6efbc7141d0dd0597a3d27dfe

-----Decoded View---------------
Arg [0] : _ROUTER (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : _FACTORY (address): 0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f
Arg [2] : _WETH (address): 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2
Arg [3] : _KECCAK_SEED (uint256): 75663858797438460602048508685104341460212527921932160624947335080417476902398

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 0000000000000000000000005c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f
Arg [2] : 000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
Arg [3] : a74839f85cae3155315bd9260882e01c5caac8e6efbc7141d0dd0597a3d27dfe


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.