ETH Price: $3,462.14 (+1.80%)

Token

frengate (FG)
 

Overview

Max Total Supply

1,000,000,000 FG

Holders

151

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
795,427.56578821801506627 FG

Value
$0.00
0xe2419ab6629c6137d7ae5b5761a222b0ce1e8392
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
frengate

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : aaaaaaaaaaaaaa.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "ERC20.sol";
import "Ownable.sol";
import "IERC20.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";


contract frengate is ERC20, Ownable {
    struct User {
        bool isBlacklisted;
        bool isAutomatedMarketMaker;
        bool isExcludedFromFees;
        bool isExcludedFromMaxTransactionAmount;
    }

    struct Fees {
        uint8 buy;
        uint8 sell;
        uint8 liquidity;
        uint8 frengate;
        uint8 team;
    }

    struct Settings {
        bool limitsInEffect;
        bool swapEnabled;
        bool blacklistRenounced;
        bool feeChangeRenounced;
        bool tradingActive;
        /// @dev Upon enabling trading, record the end block for bot protection fee
        /// @dev This fee is a 90% fee that is reduced by 5% every block for 18 blocks.
        uint216 endBlock;
    }

    IUniswapV2Router02 public immutable uniswapV2Router;
    address public immutable uniswapV2Pair;

    /// @dev Constant to access the allowance slot
    uint256 private constant _ALLOWANCE_SLOT_SEED = 0x7f5e9f20;
    uint256 public constant MAX_SUPPLY = 1_000_000_000 * 1e18;
    uint256 public constant MIN_SWAP_AMOUNT = MAX_SUPPLY / 100_000; // 0.001%
    uint256 public constant MAX_SWAP_AMOUNT = MAX_SUPPLY * 5 / 1_000; // 0.5%

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

    address public frengateWallet;
    address public teamWallet;

    bool private _swapping;

    uint256 public tokensForBotProtection;

    Fees public feeAmounts;

    Settings private settings = Settings({
        limitsInEffect: true,
        swapEnabled: true,
        blacklistRenounced: false,
        feeChangeRenounced: false,
        tradingActive: false,
        endBlock: uint216(0)
    });

    mapping(address => User) private _users;

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeFromMaxTransaction(address indexed account, bool isExcluded);
    event FailedSwapBackTransfer(address indexed destination, uint256 amount);
    event FeesUpdated(uint8 buyFee, uint8 sellFee, uint8 frengatePercent, uint8 liquidityPercent, uint8 teamPercent);
    event MaxTransactionAmountUpdated(uint256 newAmount, uint256 oldAmount);
    event MaxWalletAmountUpdated(uint256 newAmount, uint256 oldAmount);
    event frengateWalletUpdated(address indexed newWallet, address indexed oldWallet);
    event SetAutomatedMarketMakerPair(address indexed pair, bool value);
    event SwapAndLiquify(uint256 tokensSwapped, uint256 ethReceived);
    event SwapTokensAtAmountUpdated(uint256 newAmount, uint256 oldAmount);
    event TeamWalletUpdated(address indexed newWallet, address indexed oldWallet);
    event UpdateUniswapV2Router(address indexed newAddress, address indexed oldAddress);

    error frengate__BlacklistModificationDisabled();
    error frengate__BuyAmountGreaterThanMax();
    error frengate__CannotBlacklistLPPair();
    error frengate__CannotBlacklistRouter();
    error frengate__CannotRemovePairFromAMMs();
    error frengate__CannotSetWalletToAddressZero();
    error frengate__CannotTransferFromAddressZero();
    error frengate__CannotTransferToAddressZero();
    error frengate__ErrorWithdrawingEth();
    error frengate__FeeChangeRenounced();
    error frengate__MaxFeeFivePercent();
    error frengate__MaxTransactionTooLow();
    error frengate__MaxWalletAmountExceeded();
    error frengate__MaxWalletAmountTooLow();
    error frengate__OnlyOwner();
    error frengate__ReceiverBlacklisted();
    error frengate__ReceiverCannotBeAddressZero();
    error frengate__SellAmountGreaterThanMax();
    error frengate__SenderBlacklisted();
    error frengate__StuckEthWithdrawError();
    error frengate__SwapAmountGreaterThanMaximum();
    error frengate__SwapAmountLowerThanMinimum();
    error frengate__TokenAddressCannotBeAddressZero();
    error frengate__TradingNotActive();

    constructor(address ownerWallet, address teamWallet_, address frengateWallet_, address routerAddress) {
        _initializeOwner(ownerWallet);
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(routerAddress);

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());

        maxTransactionAmount = MAX_SUPPLY * 5 / 1_000; // 0.5%
        maxWallet = MAX_SUPPLY * 5 / 1_000; // 0.5%
        swapTokensAtAmount = MAX_SUPPLY * 5 / 10_000; // 0.05%

        feeAmounts = Fees({buy: 15, sell: 45, frengate: 0, liquidity: 0, team: 100});

        frengateWallet = frengateWallet_;
        teamWallet = teamWallet_;

        _users[teamWallet_] = User({
            isExcludedFromFees: true,
            isExcludedFromMaxTransactionAmount: true,
            isAutomatedMarketMaker: false,
            isBlacklisted: false
        });
        _users[address(this)] = User({
            isExcludedFromFees: true,
            isExcludedFromMaxTransactionAmount: true,
            isAutomatedMarketMaker: false,
            isBlacklisted: false
        });
        _users[address(0xdead)] = User({
            isExcludedFromFees: true,
            isExcludedFromMaxTransactionAmount: true,
            isAutomatedMarketMaker: false,
            isBlacklisted: false
        });
        _users[address(ownerWallet)] = User({
            isExcludedFromFees: true,
            isExcludedFromMaxTransactionAmount: true,
            isAutomatedMarketMaker: false,
            isBlacklisted: false
        });

        _users[address(uniswapV2Router)] = User({
            isExcludedFromMaxTransactionAmount: true,
            isAutomatedMarketMaker: false,
            isExcludedFromFees: false,
            isBlacklisted: false
        });
        _users[address(uniswapV2Pair)] = User({
            isExcludedFromMaxTransactionAmount: true,
            isAutomatedMarketMaker: true,
            isExcludedFromFees: false,
            isBlacklisted: false
        });

        _mint(ownerWallet, MAX_SUPPLY);
    }

    receive() external payable {}

    function name() public pure override returns (string memory) {
        return "frengate";
    }

    function symbol() public pure override returns (string memory) {
        return "FG";
    }

    function enableTrading() public {
        _requireIsOwner();
        settings.endBlock = uint216(block.number) + 10;
        settings.tradingActive = true;
    }

    // remove limits after token is stable
    function removeLimits() external {
        _requireIsOwner();
        settings.limitsInEffect = false;
    }

    // change the minimum amount of tokens to sell from fees
    function updateSwapTokensAtAmount(uint256 newAmount) external {
        _requireIsOwner();
        if (newAmount < MIN_SWAP_AMOUNT) {
            revert frengate__SwapAmountLowerThanMinimum();
        }
        if (newAmount > MAX_SWAP_AMOUNT) {
            revert frengate__SwapAmountGreaterThanMaximum();
        }
        uint256 oldSwapAmount = swapTokensAtAmount;
        swapTokensAtAmount = newAmount;
        emit SwapTokensAtAmountUpdated(newAmount, oldSwapAmount);
    }

    function updateMaxTransactionAmount(uint256 newAmount) external {
        _requireIsOwner();
        if (newAmount < MAX_SUPPLY * 5 / 1000) {
            revert frengate__MaxTransactionTooLow();
        }
        uint256 oldMaxTransactionAmount = maxTransactionAmount;
        maxTransactionAmount = newAmount;
        emit MaxTransactionAmountUpdated(newAmount, oldMaxTransactionAmount);
    }

    function updateMaxWalletAmount(uint256 newNum) external {
        _requireIsOwner();
        if (newNum < MAX_SUPPLY / 100) {
            revert frengate__MaxWalletAmountTooLow();
        }
        uint256 oldMaxWallet = maxWallet;
        maxWallet = newNum;
        emit MaxWalletAmountUpdated(newNum, oldMaxWallet);
    }

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

    function updateBuyFees(uint8 frengateFee, uint8 liquidityFee, uint8 teamFee) external {
        _requireIsOwner();

        if (settings.feeChangeRenounced) {
            revert frengate__FeeChangeRenounced();
        }

        uint8 totalFees = frengateFee + liquidityFee + teamFee;
        if (totalFees > 99) {
            revert frengate__MaxFeeFivePercent();
        }

        uint8 sellFee = feeAmounts.sell;
        uint8 revPercent = frengateFee * 100 / totalFees;
        uint8 liqPercent = liquidityFee * 100 / totalFees;
        uint8 teamPercent = 100 - revPercent - liqPercent;

        feeAmounts =
            Fees({buy: totalFees, sell: sellFee, frengate: revPercent, liquidity: liqPercent, team: teamPercent});
        emit FeesUpdated(totalFees, sellFee, revPercent, liqPercent, teamPercent);
    }

    function updateSellFees(uint8 frengateFee, uint8 liquidityFee, uint8 teamFee) external {
        _requireIsOwner();

        if (settings.feeChangeRenounced) {
            revert frengate__FeeChangeRenounced();
        }

        uint8 totalFees = frengateFee + liquidityFee + teamFee;
        if (totalFees > 99) {
            revert frengate__MaxFeeFivePercent();
        }

        uint8 buyFee = feeAmounts.buy;
        uint8 revPercent = frengateFee * 100 / totalFees;
        uint8 liqPercent = liquidityFee * 100 / totalFees;
        uint8 teamPercent = 100 - revPercent - liqPercent;

        feeAmounts =
            Fees({buy: buyFee, sell: totalFees, frengate: revPercent, liquidity: liqPercent, team: teamPercent});
        emit FeesUpdated(buyFee, totalFees, revPercent, liqPercent, teamPercent);
    }

    function excludeFromFees(address account, bool excluded) external {
        _requireIsOwner();
        _users[account].isExcludedFromFees = excluded;
        emit ExcludeFromFees(account, excluded);
    }

    function excludeFromMaxTransaction(address account, bool isExcluded) external {
        _requireIsOwner();
        _users[account].isExcludedFromMaxTransactionAmount = isExcluded;
        emit ExcludeFromMaxTransaction(account, isExcluded);
    }

    function setAutomatedMarketMakerPair(address pair, bool value) external {
        _requireIsOwner();
        if (pair == uniswapV2Pair) {
            revert frengate__CannotRemovePairFromAMMs();
        }

        _users[pair].isAutomatedMarketMaker = value;
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updatefrengateWallet(address newWallet) external {
        _requireIsOwner();
        if (newWallet == address(0)) {
            revert frengate__CannotSetWalletToAddressZero();
        }
        address oldWallet = frengateWallet;
        frengateWallet = newWallet;
        emit frengateWalletUpdated(newWallet, oldWallet);
    }

    function updateTeamWallet(address newWallet) external {
        _requireIsOwner();
        if (newWallet == address(0)) {
            revert frengate__CannotSetWalletToAddressZero();
        }
        address oldWallet = teamWallet;
        teamWallet = newWallet;
        emit TeamWalletUpdated(newWallet, oldWallet);
    }

    function withdrawStuckfrengate(uint256 amount) external {
        _requireIsOwner();
        uint256 transferAmount;
        if (amount == 0) {
            transferAmount = balanceOf(address(this));
        } else {
            transferAmount = amount;
        }
        super._transfer(address(this), msg.sender, transferAmount);
    }

    function withdrawStuckToken(address _token) external {
        _requireIsOwner();
        if (_token == address(0)) {
            revert frengate__TokenAddressCannotBeAddressZero();
        }
        uint256 _contractBalance = IERC20(_token).balanceOf(address(this));
        IERC20(_token).transfer(msg.sender, _contractBalance);
    }

    function withdrawStuckEth() external {
        _requireIsOwner();
        (bool success,) = msg.sender.call{value: address(this).balance}("");
        if (!success) {
            revert frengate__ErrorWithdrawingEth();
        }
    }

    function renounceBlacklist() external {
        _requireIsOwner();
        settings.blacklistRenounced = true;
    }

    function renounceFeeChange() external {
        _requireIsOwner();
        settings.feeChangeRenounced = true;
    }

    function blacklist(address account) external {
        _requireIsOwner();
        if (settings.blacklistRenounced) {
            revert frengate__BlacklistModificationDisabled();
        }
        if (account == uniswapV2Pair) {
            revert frengate__CannotBlacklistLPPair();
        }
        if (account == address(uniswapV2Router)) {
            revert frengate__CannotBlacklistRouter();
        }
        _users[account].isBlacklisted = true;
    }

    // @dev unblacklist address; not affected by blacklistRenounced incase team wants to unblacklist v3 pools down the
    // @dev road
    function unblacklist(address account) external {
        _requireIsOwner();
        _users[account].isBlacklisted = false;
    }

    function isExcludedFromFees(address account) external view returns (bool) {
        return _users[account].isExcludedFromFees;
    }

    function isExcludedFromMaxTransactionAmount(address account) external view returns (bool) {
        return _users[account].isExcludedFromMaxTransactionAmount;
    }

    function isAutomatedMarketMakerPair(address pair) external view returns (bool) {
        return _users[pair].isAutomatedMarketMaker;
    }

    function isBlacklisted(address account) external view returns (bool) {
        return _users[account].isBlacklisted;
    }

    function isSwapEnabled() external view returns (bool) {
        return settings.swapEnabled;
    }

    function isBlacklistRenounced() external view returns (bool) {
        return settings.blacklistRenounced;
    }

    function isFeeChangeRenounced() external view returns (bool) {
        return settings.feeChangeRenounced;
    }

    function isTradingActive() external view returns (bool) {
        return settings.tradingActive;
    }

    function isLimitInEffect() external view returns (bool) {
        return settings.limitsInEffect;
    }

    function transfer(address to, uint256 amount) public override returns (bool) {
        _transfer(msg.sender, to, amount);
        return true;
    }

    function transferFrom(address from, address to, uint256 amount) public override returns (bool) {
        // Check allowance and reduce it if used, reverts with `InsufficientAllowance()` if not approved.
        assembly {
            let from_ := shl(96, from)
            // Compute the allowance slot and load its value.
            mstore(0x20, caller())
            mstore(0x0c, or(from_, _ALLOWANCE_SLOT_SEED))
            let allowanceSlot := keccak256(0x0c, 0x34)
            let allowance_ := sload(allowanceSlot)
            // If the allowance is not the maximum uint256 value.
            if iszero(eq(allowance_, not(0))) {
                // Revert if the amount to be transferred exceeds the allowance.
                if gt(amount, allowance_) {
                    mstore(0x00, 0x13be252b) // `InsufficientAllowance()`.
                    revert(0x1c, 0x04)
                }
                // Subtract and store the updated allowance.
                sstore(allowanceSlot, sub(allowance_, amount))
            }
        }
        _transfer(from, to, amount);
        return true;
    }

    function _transfer(address from, address to, uint256 amount) internal override {
        // Ignore mints, burns not enabled
        if (from == address(0)) {
            revert frengate__CannotTransferFromAddressZero();
        }
        if (to == address(0)) {
            revert frengate__CannotTransferToAddressZero();
        }

        User memory fromData = _users[from];
        User memory toData = _users[to];
        Settings memory settingCache = settings;

        if (!settingCache.tradingActive) {
            if (!fromData.isExcludedFromFees) {
                if (!toData.isExcludedFromFees) {
                    revert frengate__TradingNotActive();
                }
            }
        }

        // Apply blacklist protection
        if (fromData.isBlacklisted) {
            revert frengate__SenderBlacklisted();
        }
        if (toData.isBlacklisted) {
            revert frengate__ReceiverBlacklisted();
        }

        // If zero amount, continue
        if (amount == 0) {
            return;
        }

        bool excludedFromFees = fromData.isExcludedFromFees || toData.isExcludedFromFees;

        // Cache transaction type for reference.
        // 1 = Buy
        // 2 = Sell
        // 3 = Transfer
        uint8 txType = 3;

        if (fromData.isAutomatedMarketMaker) {
            // Buys originate from the AMM pair
            txType = 1;
        } else if (toData.isAutomatedMarketMaker) {
            // Sells send funds to AMM pair
            txType = 2;
        }

        if (!_swapping) {
            if (settingCache.limitsInEffect) {
                //when buy
                if (txType == 1 && !toData.isExcludedFromMaxTransactionAmount) {
                    if (amount > maxTransactionAmount) {
                        revert frengate__BuyAmountGreaterThanMax();
                    }
                    if (amount + balanceOf(to) > maxWallet) {
                        revert frengate__MaxWalletAmountExceeded();
                    }
                }
                //when sell
                else if (txType == 2 && !fromData.isExcludedFromMaxTransactionAmount) {
                    if (amount > maxTransactionAmount) {
                        revert frengate__SellAmountGreaterThanMax();
                    }
                } else if (!toData.isExcludedFromMaxTransactionAmount) {
                    if (amount + balanceOf(to) > maxWallet) {
                        revert frengate__MaxWalletAmountExceeded();
                    }
                }
            }

            if (settingCache.swapEnabled) {
                // Only sells will trigger the fee swap
                if (txType == 2) {
                    if (balanceOf(address(this)) >= swapTokensAtAmount) {
                        _swapping = true;
                        _swapBack();
                        _swapping = false;
                    }
                }
            }
        }

        if (txType < 3) {
            bool takeFee = !_swapping;

            // if any account belongs to _isExcludedFromFee account then remove the fee
            if (excludedFromFees) {
                takeFee = false;
            }
            uint256 fees = 0;
            // only take fees on buys/sells, do not take on wallet transfers
            if (takeFee) {
                Fees memory feeCache = feeAmounts;
                // on sell
                if (txType == 2) {
                    if (feeCache.sell > 0) {
                        fees = amount * feeCache.sell / 100;
                    }
                }
                // on buy
                else if (txType == 1) {
                    if (feeCache.buy > 0) {
                        fees = amount * feeCache.buy / 100;
                    }
                }

                if (block.number < settingCache.endBlock) {
                    uint256 blocksLeft = settingCache.endBlock - block.number;
                    uint256 botFeeMultiplier = 90;

                    // Apply sniper protection - first 18 blocks have a fee reduced 5% each block.
                    if (blocksLeft < 18) {
                        botFeeMultiplier -= (5 * (18 - blocksLeft));
                    }
                    uint256 botFee = (amount * botFeeMultiplier) / 100;
                    super._transfer(from, teamWallet, botFee);
                    amount -= botFee;
                    tokensForBotProtection += botFee;
                }

                amount -= fees;

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

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

        _approve(address(this), address(uniswapV2Router), tokenAmount);
        // make the swap
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            address(this),
            block.timestamp
        );
    }

    function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) internal {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(uniswapV2Router), tokenAmount);

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

    function _swapBack() internal {
        // Cache values
        uint256 contractBalance = balanceOf(address(this));
        Fees memory feeCache = feeAmounts;
        bool success;

        if (contractBalance == 0) {
            return;
        }

        // Prevent too many tokens from being swapped
        uint256 maxAmount = swapTokensAtAmount * 20;
        if (contractBalance > maxAmount) {
            contractBalance = maxAmount;
        }

        uint256 liquidityAmount = contractBalance * feeCache.liquidity / 100;

        // Halve the amount of liquidity tokens
        uint256 liquidityTokens = liquidityAmount - (liquidityAmount / 2);
        uint256 amountToSwapForETH = contractBalance - liquidityTokens;

        uint256 initialETHBalance = address(this).balance;

        _swapTokensForEth(amountToSwapForETH);

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

        uint256 ethForfrengate = ethBalance * feeCache.frengate / 100;
        uint256 ethForTeam = ethBalance * feeCache.team / 100;
        uint256 ethForLiquidity = ethBalance - ethForfrengate - ethForTeam;

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

        address teamWallet_ = teamWallet;

        (success,) = address(teamWallet_).call{value: ethForTeam}("");
        if (!success) {
            emit FailedSwapBackTransfer(teamWallet_, ethForTeam);
        }

        if (ethForfrengate > 0) {
            (success,) = address(frengateWallet).call{value: ethForfrengate}("");
            if (!success) {
                emit FailedSwapBackTransfer(frengateWallet, ethForfrengate);
            }
        }
    }

    function _requireIsOwner() internal view {
        if (msg.sender != owner()) {
            revert frengate__OnlyOwner();
        }
    }
}

File 2 of 7 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

File 3 of 7 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 5 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/// @notice Simple single owner authorization mixin.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/auth/Ownable.sol)
/// @dev While the ownable portion follows
/// [EIP-173](https://eips.ethereum.org/EIPS/eip-173) for compatibility,
/// the nomenclature for the 2-step ownership handover may be unique to this codebase.
abstract contract Ownable {
    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                       CUSTOM ERRORS                        */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The caller is not authorized to call the function.
    error Unauthorized();

    /// @dev The `newOwner` cannot be the zero address.
    error NewOwnerIsZeroAddress();

    /// @dev The `pendingOwner` does not have a valid handover request.
    error NoHandoverRequest();

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                           EVENTS                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The ownership is transferred from `oldOwner` to `newOwner`.
    /// This event is intentionally kept the same as OpenZeppelin's Ownable to be
    /// compatible with indexers and [EIP-173](https://eips.ethereum.org/EIPS/eip-173),
    /// despite it not being as lightweight as a single argument event.
    event OwnershipTransferred(address indexed oldOwner, address indexed newOwner);

    /// @dev An ownership handover to `pendingOwner` has been requested.
    event OwnershipHandoverRequested(address indexed pendingOwner);

    /// @dev The ownership handover to `pendingOwner` has been canceled.
    event OwnershipHandoverCanceled(address indexed pendingOwner);

    /// @dev `keccak256(bytes("OwnershipTransferred(address,address)"))`.
    uint256 private constant _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE =
        0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0;

    /// @dev `keccak256(bytes("OwnershipHandoverRequested(address)"))`.
    uint256 private constant _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE =
        0xdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d;

    /// @dev `keccak256(bytes("OwnershipHandoverCanceled(address)"))`.
    uint256 private constant _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE =
        0xfa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                          STORAGE                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The owner slot is given by: `not(_OWNER_SLOT_NOT)`.
    /// It is intentionally chosen to be a high value
    /// to avoid collision with lower slots.
    /// The choice of manual storage layout is to enable compatibility
    /// with both regular and upgradeable contracts.
    uint256 private constant _OWNER_SLOT_NOT = 0x8b78c6d8;

    /// The ownership handover slot of `newOwner` is given by:
    /// ```
    ///     mstore(0x00, or(shl(96, user), _HANDOVER_SLOT_SEED))
    ///     let handoverSlot := keccak256(0x00, 0x20)
    /// ```
    /// It stores the expiry timestamp of the two-step ownership handover.
    uint256 private constant _HANDOVER_SLOT_SEED = 0x389a75e1;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                     INTERNAL FUNCTIONS                     */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Initializes the owner directly without authorization guard.
    /// This function must be called upon initialization,
    /// regardless of whether the contract is upgradeable or not.
    /// This is to enable generalization to both regular and upgradeable contracts,
    /// and to save gas in case the initial owner is not the caller.
    /// For performance reasons, this function will not check if there
    /// is an existing owner.
    function _initializeOwner(address newOwner) internal virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // Clean the upper 96 bits.
            newOwner := shr(96, shl(96, newOwner))
            // Store the new value.
            sstore(not(_OWNER_SLOT_NOT), newOwner)
            // Emit the {OwnershipTransferred} event.
            log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, 0, newOwner)
        }
    }

    /// @dev Sets the owner directly without authorization guard.
    function _setOwner(address newOwner) internal virtual {
        /// @solidity memory-safe-assembly
        assembly {
            let ownerSlot := not(_OWNER_SLOT_NOT)
            // Clean the upper 96 bits.
            newOwner := shr(96, shl(96, newOwner))
            // Emit the {OwnershipTransferred} event.
            log3(0, 0, _OWNERSHIP_TRANSFERRED_EVENT_SIGNATURE, sload(ownerSlot), newOwner)
            // Store the new value.
            sstore(ownerSlot, newOwner)
        }
    }

    /// @dev Throws if the sender is not the owner.
    function _checkOwner() internal view virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // If the caller is not the stored owner, revert.
            if iszero(eq(caller(), sload(not(_OWNER_SLOT_NOT)))) {
                mstore(0x00, 0x82b42900) // `Unauthorized()`.
                revert(0x1c, 0x04)
            }
        }
    }

    /// @dev Returns how long a two-step ownership handover is valid for in seconds.
    /// Override to return a different value if needed.
    /// Made internal to conserve bytecode. Wrap it in a public function if needed.
    function _ownershipHandoverValidFor() internal view virtual returns (uint64) {
        return 48 * 3600;
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                  PUBLIC UPDATE FUNCTIONS                   */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Allows the owner to transfer the ownership to `newOwner`.
    function transferOwnership(address newOwner) public payable virtual onlyOwner {
        /// @solidity memory-safe-assembly
        assembly {
            if iszero(shl(96, newOwner)) {
                mstore(0x00, 0x7448fbae) // `NewOwnerIsZeroAddress()`.
                revert(0x1c, 0x04)
            }
        }
        _setOwner(newOwner);
    }

    /// @dev Allows the owner to renounce their ownership.
    function renounceOwnership() public payable virtual onlyOwner {
        _setOwner(address(0));
    }

    /// @dev Request a two-step ownership handover to the caller.
    /// The request will automatically expire in 48 hours (172800 seconds) by default.
    function requestOwnershipHandover() public payable virtual {
        unchecked {
            uint256 expires = block.timestamp + _ownershipHandoverValidFor();
            /// @solidity memory-safe-assembly
            assembly {
                // Compute and set the handover slot to `expires`.
                mstore(0x0c, _HANDOVER_SLOT_SEED)
                mstore(0x00, caller())
                sstore(keccak256(0x0c, 0x20), expires)
                // Emit the {OwnershipHandoverRequested} event.
                log2(0, 0, _OWNERSHIP_HANDOVER_REQUESTED_EVENT_SIGNATURE, caller())
            }
        }
    }

    /// @dev Cancels the two-step ownership handover to the caller, if any.
    function cancelOwnershipHandover() public payable virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute and set the handover slot to 0.
            mstore(0x0c, _HANDOVER_SLOT_SEED)
            mstore(0x00, caller())
            sstore(keccak256(0x0c, 0x20), 0)
            // Emit the {OwnershipHandoverCanceled} event.
            log2(0, 0, _OWNERSHIP_HANDOVER_CANCELED_EVENT_SIGNATURE, caller())
        }
    }

    /// @dev Allows the owner to complete the two-step ownership handover to `pendingOwner`.
    /// Reverts if there is no existing ownership handover requested by `pendingOwner`.
    function completeOwnershipHandover(address pendingOwner) public payable virtual onlyOwner {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute and set the handover slot to 0.
            mstore(0x0c, _HANDOVER_SLOT_SEED)
            mstore(0x00, pendingOwner)
            let handoverSlot := keccak256(0x0c, 0x20)
            // If the handover does not exist, or has expired.
            if gt(timestamp(), sload(handoverSlot)) {
                mstore(0x00, 0x6f5e8818) // `NoHandoverRequest()`.
                revert(0x1c, 0x04)
            }
            // Set the handover slot to 0.
            sstore(handoverSlot, 0)
        }
        _setOwner(pendingOwner);
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                   PUBLIC READ FUNCTIONS                    */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns the owner of the contract.
    function owner() public view virtual returns (address result) {
        /// @solidity memory-safe-assembly
        assembly {
            result := sload(not(_OWNER_SLOT_NOT))
        }
    }

    /// @dev Returns the expiry timestamp for the two-step ownership handover to `pendingOwner`.
    function ownershipHandoverExpiresAt(address pendingOwner)
        public
        view
        virtual
        returns (uint256 result)
    {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the handover slot.
            mstore(0x0c, _HANDOVER_SLOT_SEED)
            mstore(0x00, pendingOwner)
            // Load the handover slot.
            result := sload(keccak256(0x0c, 0x20))
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                         MODIFIERS                          */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Marks a function as only callable by the owner.
    modifier onlyOwner() virtual {
        _checkOwner();
        _;
    }
}

File 6 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

/// @notice Simple ERC20 + EIP-2612 implementation.
/// @author Solady (https://github.com/vectorized/solady/blob/main/src/tokens/ERC20.sol)
/// @author Modified from Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC20.sol)
/// @author Modified from OpenZeppelin (https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/token/ERC20/ERC20.sol)
///
/// @dev Note:
/// The ERC20 standard allows minting and transferring to and from the zero address,
/// minting and transferring zero tokens, as well as self-approvals.
/// For performance, this implementation WILL NOT revert for such actions.
/// Please add any checks with overrides if desired.
abstract contract ERC20 {
    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                       CUSTOM ERRORS                        */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The total supply has overflowed.
    error TotalSupplyOverflow();

    /// @dev The allowance has overflowed.
    error AllowanceOverflow();

    /// @dev The allowance has underflowed.
    error AllowanceUnderflow();

    /// @dev Insufficient balance.
    error InsufficientBalance();

    /// @dev Insufficient allowance.
    error InsufficientAllowance();

    /// @dev The permit is invalid.
    error InvalidPermit();

    /// @dev The permit has expired.
    error PermitExpired();

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                           EVENTS                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Emitted when `amount` tokens is transferred from `from` to `to`.
    event Transfer(address indexed from, address indexed to, uint256 amount);

    /// @dev Emitted when `amount` tokens is approved by `owner` to be used by `spender`.
    event Approval(address indexed owner, address indexed spender, uint256 amount);

    /// @dev `keccak256(bytes("Transfer(address,address,uint256)"))`.
    uint256 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    /// @dev `keccak256(bytes("Approval(address,address,uint256)"))`.
    uint256 private constant _APPROVAL_EVENT_SIGNATURE =
        0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                          STORAGE                           */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev The storage slot for the total supply.
    uint256 private constant _TOTAL_SUPPLY_SLOT = 0x05345cdf77eb68f44c;

    /// @dev The balance slot of `owner` is given by:
    /// ```
    ///     mstore(0x0c, _BALANCE_SLOT_SEED)
    ///     mstore(0x00, owner)
    ///     let balanceSlot := keccak256(0x0c, 0x20)
    /// ```
    uint256 private constant _BALANCE_SLOT_SEED = 0x87a211a2;

    /// @dev The allowance slot of (`owner`, `spender`) is given by:
    /// ```
    ///     mstore(0x20, spender)
    ///     mstore(0x0c, _ALLOWANCE_SLOT_SEED)
    ///     mstore(0x00, owner)
    ///     let allowanceSlot := keccak256(0x0c, 0x34)
    /// ```
    uint256 private constant _ALLOWANCE_SLOT_SEED = 0x7f5e9f20;

    /// @dev The nonce slot of `owner` is given by:
    /// ```
    ///     mstore(0x0c, _NONCES_SLOT_SEED)
    ///     mstore(0x00, owner)
    ///     let nonceSlot := keccak256(0x0c, 0x20)
    /// ```
    uint256 private constant _NONCES_SLOT_SEED = 0x38377508;

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                       ERC20 METADATA                       */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns the name of the token.
    function name() public view virtual returns (string memory);

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

    /// @dev Returns the decimals places of the token.
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                           ERC20                            */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns the amount of tokens in existence.
    function totalSupply() public view virtual returns (uint256 result) {
        /// @solidity memory-safe-assembly
        assembly {
            result := sload(_TOTAL_SUPPLY_SLOT)
        }
    }

    /// @dev Returns the amount of tokens owned by `owner`.
    function balanceOf(address owner) public view virtual returns (uint256 result) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x0c, _BALANCE_SLOT_SEED)
            mstore(0x00, owner)
            result := sload(keccak256(0x0c, 0x20))
        }
    }

    /// @dev Returns the amount of tokens that `spender` can spend on behalf of `owner`.
    function allowance(address owner, address spender)
        public
        view
        virtual
        returns (uint256 result)
    {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x20, spender)
            mstore(0x0c, _ALLOWANCE_SLOT_SEED)
            mstore(0x00, owner)
            result := sload(keccak256(0x0c, 0x34))
        }
    }

    /// @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
    ///
    /// Emits a {Approval} event.
    function approve(address spender, uint256 amount) public virtual returns (bool) {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the allowance slot and store the amount.
            mstore(0x20, spender)
            mstore(0x0c, _ALLOWANCE_SLOT_SEED)
            mstore(0x00, caller())
            sstore(keccak256(0x0c, 0x34), amount)
            // Emit the {Approval} event.
            mstore(0x00, amount)
            log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, caller(), shr(96, mload(0x2c)))
        }
        return true;
    }

    /// @dev Atomically increases the allowance granted to `spender` by the caller.
    ///
    /// Emits a {Approval} event.
    function increaseAllowance(address spender, uint256 difference) public virtual returns (bool) {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the allowance slot and load its value.
            mstore(0x20, spender)
            mstore(0x0c, _ALLOWANCE_SLOT_SEED)
            mstore(0x00, caller())
            let allowanceSlot := keccak256(0x0c, 0x34)
            let allowanceBefore := sload(allowanceSlot)
            // Add to the allowance.
            let allowanceAfter := add(allowanceBefore, difference)
            // Revert upon overflow.
            if lt(allowanceAfter, allowanceBefore) {
                mstore(0x00, 0xf9067066) // `AllowanceOverflow()`.
                revert(0x1c, 0x04)
            }
            // Store the updated allowance.
            sstore(allowanceSlot, allowanceAfter)
            // Emit the {Approval} event.
            mstore(0x00, allowanceAfter)
            log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, caller(), shr(96, mload(0x2c)))
        }
        return true;
    }

    /// @dev Atomically decreases the allowance granted to `spender` by the caller.
    ///
    /// Emits a {Approval} event.
    function decreaseAllowance(address spender, uint256 difference) public virtual returns (bool) {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the allowance slot and load its value.
            mstore(0x20, spender)
            mstore(0x0c, _ALLOWANCE_SLOT_SEED)
            mstore(0x00, caller())
            let allowanceSlot := keccak256(0x0c, 0x34)
            let allowanceBefore := sload(allowanceSlot)
            // Revert if will underflow.
            if lt(allowanceBefore, difference) {
                mstore(0x00, 0x8301ab38) // `AllowanceUnderflow()`.
                revert(0x1c, 0x04)
            }
            // Subtract and store the updated allowance.
            let allowanceAfter := sub(allowanceBefore, difference)
            sstore(allowanceSlot, allowanceAfter)
            // Emit the {Approval} event.
            mstore(0x00, allowanceAfter)
            log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, caller(), shr(96, mload(0x2c)))
        }
        return true;
    }

    /// @dev Transfer `amount` tokens from the caller to `to`.
    ///
    /// Requirements:
    /// - `from` must at least have `amount`.
    ///
    /// Emits a {Transfer} event.
    function transfer(address to, uint256 amount) public virtual returns (bool) {
        _beforeTokenTransfer(msg.sender, to, amount);
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the balance slot and load its value.
            mstore(0x0c, _BALANCE_SLOT_SEED)
            mstore(0x00, caller())
            let fromBalanceSlot := keccak256(0x0c, 0x20)
            let fromBalance := sload(fromBalanceSlot)
            // Revert if insufficient balance.
            if gt(amount, fromBalance) {
                mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`.
                revert(0x1c, 0x04)
            }
            // Subtract and store the updated balance.
            sstore(fromBalanceSlot, sub(fromBalance, amount))
            // Compute the balance slot of `to`.
            mstore(0x00, to)
            let toBalanceSlot := keccak256(0x0c, 0x20)
            // Add and store the updated balance of `to`.
            // Will not overflow because the sum of all user balances
            // cannot exceed the maximum uint256 value.
            sstore(toBalanceSlot, add(sload(toBalanceSlot), amount))
            // Emit the {Transfer} event.
            mstore(0x20, amount)
            log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, caller(), shr(96, mload(0x0c)))
        }
        _afterTokenTransfer(msg.sender, to, amount);
        return true;
    }

    /// @dev Transfers `amount` tokens from `from` to `to`.
    ///
    /// Note: Does not update the allowance if it is the maximum uint256 value.
    ///
    /// Requirements:
    /// - `from` must at least have `amount`.
    /// - The caller must have at least `amount` of allowance to transfer the tokens of `from`.
    ///
    /// Emits a {Transfer} event.
    function transferFrom(address from, address to, uint256 amount) public virtual returns (bool) {
        _beforeTokenTransfer(from, to, amount);
        /// @solidity memory-safe-assembly
        assembly {
            let from_ := shl(96, from)
            // Compute the allowance slot and load its value.
            mstore(0x20, caller())
            mstore(0x0c, or(from_, _ALLOWANCE_SLOT_SEED))
            let allowanceSlot := keccak256(0x0c, 0x34)
            let allowance_ := sload(allowanceSlot)
            // If the allowance is not the maximum uint256 value.
            if iszero(eq(allowance_, not(0))) {
                // Revert if the amount to be transferred exceeds the allowance.
                if gt(amount, allowance_) {
                    mstore(0x00, 0x13be252b) // `InsufficientAllowance()`.
                    revert(0x1c, 0x04)
                }
                // Subtract and store the updated allowance.
                sstore(allowanceSlot, sub(allowance_, amount))
            }
            // Compute the balance slot and load its value.
            mstore(0x0c, or(from_, _BALANCE_SLOT_SEED))
            let fromBalanceSlot := keccak256(0x0c, 0x20)
            let fromBalance := sload(fromBalanceSlot)
            // Revert if insufficient balance.
            if gt(amount, fromBalance) {
                mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`.
                revert(0x1c, 0x04)
            }
            // Subtract and store the updated balance.
            sstore(fromBalanceSlot, sub(fromBalance, amount))
            // Compute the balance slot of `to`.
            mstore(0x00, to)
            let toBalanceSlot := keccak256(0x0c, 0x20)
            // Add and store the updated balance of `to`.
            // Will not overflow because the sum of all user balances
            // cannot exceed the maximum uint256 value.
            sstore(toBalanceSlot, add(sload(toBalanceSlot), amount))
            // Emit the {Transfer} event.
            mstore(0x20, amount)
            log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, shr(96, from_), shr(96, mload(0x0c)))
        }
        _afterTokenTransfer(from, to, amount);
        return true;
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                          EIP-2612                          */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Returns the current nonce for `owner`.
    /// This value is used to compute the signature for EIP-2612 permit.
    function nonces(address owner) public view virtual returns (uint256 result) {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the nonce slot and load its value.
            mstore(0x0c, _NONCES_SLOT_SEED)
            mstore(0x00, owner)
            result := sload(keccak256(0x0c, 0x20))
        }
    }

    /// @dev Sets `value` as the allowance of `spender` over the tokens of `owner`,
    /// authorized by a signed approval by `owner`.
    ///
    /// Emits a {Approval} event.
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual {
        bytes32 domainSeparator = DOMAIN_SEPARATOR();
        /// @solidity memory-safe-assembly
        assembly {
            // Grab the free memory pointer.
            let m := mload(0x40)
            // Revert if the block timestamp greater than `deadline`.
            if gt(timestamp(), deadline) {
                mstore(0x00, 0x1a15a3cc) // `PermitExpired()`.
                revert(0x1c, 0x04)
            }
            // Clean the upper 96 bits.
            owner := shr(96, shl(96, owner))
            spender := shr(96, shl(96, spender))
            // Compute the nonce slot and load its value.
            mstore(0x0c, _NONCES_SLOT_SEED)
            mstore(0x00, owner)
            let nonceSlot := keccak256(0x0c, 0x20)
            let nonceValue := sload(nonceSlot)
            // Increment and store the updated nonce.
            sstore(nonceSlot, add(nonceValue, 1))
            // Prepare the inner hash.
            // `keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)")`.
            // forgefmt: disable-next-item
            mstore(m, 0x6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9)
            mstore(add(m, 0x20), owner)
            mstore(add(m, 0x40), spender)
            mstore(add(m, 0x60), value)
            mstore(add(m, 0x80), nonceValue)
            mstore(add(m, 0xa0), deadline)
            // Prepare the outer hash.
            mstore(0, 0x1901)
            mstore(0x20, domainSeparator)
            mstore(0x40, keccak256(m, 0xc0))
            // Prepare the ecrecover calldata.
            mstore(0, keccak256(0x1e, 0x42))
            mstore(0x20, and(0xff, v))
            mstore(0x40, r)
            mstore(0x60, s)
            pop(staticcall(gas(), 1, 0, 0x80, 0x20, 0x20))
            // If the ecrecover fails, the returndatasize will be 0x00,
            // `owner` will be be checked if it equals the hash at 0x00,
            // which evaluates to false (i.e. 0), and we will revert.
            // If the ecrecover succeeds, the returndatasize will be 0x20,
            // `owner` will be compared against the returned address at 0x20.
            if iszero(eq(mload(returndatasize()), owner)) {
                mstore(0x00, 0xddafbaef) // `InvalidPermit()`.
                revert(0x1c, 0x04)
            }
            // Compute the allowance slot and store the value.
            // The `owner` is already at slot 0x20.
            mstore(0x40, or(shl(160, _ALLOWANCE_SLOT_SEED), spender))
            sstore(keccak256(0x2c, 0x34), value)
            // Emit the {Approval} event.
            log3(add(m, 0x60), 0x20, _APPROVAL_EVENT_SIGNATURE, owner, spender)
            mstore(0x40, m) // Restore the free memory pointer.
            mstore(0x60, 0) // Restore the zero pointer.
        }
    }

    /// @dev Returns the EIP-2612 domains separator.
    function DOMAIN_SEPARATOR() public view virtual returns (bytes32 result) {
        /// @solidity memory-safe-assembly
        assembly {
            result := mload(0x40) // Grab the free memory pointer.
        }
        //  We simply calculate it on-the-fly to allow for cases where the `name` may change.
        bytes32 nameHash = keccak256(bytes(name()));
        /// @solidity memory-safe-assembly
        assembly {
            let m := result
            // `keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)")`.
            // forgefmt: disable-next-item
            mstore(m, 0x8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f)
            mstore(add(m, 0x20), nameHash)
            // `keccak256("1")`.
            // forgefmt: disable-next-item
            mstore(add(m, 0x40), 0xc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6)
            mstore(add(m, 0x60), chainid())
            mstore(add(m, 0x80), address())
            result := keccak256(m, 0xa0)
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                  INTERNAL MINT FUNCTIONS                   */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Mints `amount` tokens to `to`, increasing the total supply.
    ///
    /// Emits a {Transfer} event.
    function _mint(address to, uint256 amount) internal virtual {
        _beforeTokenTransfer(address(0), to, amount);
        /// @solidity memory-safe-assembly
        assembly {
            let totalSupplyBefore := sload(_TOTAL_SUPPLY_SLOT)
            let totalSupplyAfter := add(totalSupplyBefore, amount)
            // Revert if the total supply overflows.
            if lt(totalSupplyAfter, totalSupplyBefore) {
                mstore(0x00, 0xe5cfe957) // `TotalSupplyOverflow()`.
                revert(0x1c, 0x04)
            }
            // Store the updated total supply.
            sstore(_TOTAL_SUPPLY_SLOT, totalSupplyAfter)
            // Compute the balance slot and load its value.
            mstore(0x0c, _BALANCE_SLOT_SEED)
            mstore(0x00, to)
            let toBalanceSlot := keccak256(0x0c, 0x20)
            // Add and store the updated balance.
            sstore(toBalanceSlot, add(sload(toBalanceSlot), amount))
            // Emit the {Transfer} event.
            mstore(0x20, amount)
            log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, 0, shr(96, mload(0x0c)))
        }
        _afterTokenTransfer(address(0), to, amount);
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                  INTERNAL BURN FUNCTIONS                   */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Burns `amount` tokens from `from`, reducing the total supply.
    ///
    /// Emits a {Transfer} event.
    function _burn(address from, uint256 amount) internal virtual {
        _beforeTokenTransfer(from, address(0), amount);
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the balance slot and load its value.
            mstore(0x0c, _BALANCE_SLOT_SEED)
            mstore(0x00, from)
            let fromBalanceSlot := keccak256(0x0c, 0x20)
            let fromBalance := sload(fromBalanceSlot)
            // Revert if insufficient balance.
            if gt(amount, fromBalance) {
                mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`.
                revert(0x1c, 0x04)
            }
            // Subtract and store the updated balance.
            sstore(fromBalanceSlot, sub(fromBalance, amount))
            // Subtract and store the updated total supply.
            sstore(_TOTAL_SUPPLY_SLOT, sub(sload(_TOTAL_SUPPLY_SLOT), amount))
            // Emit the {Transfer} event.
            mstore(0x00, amount)
            log3(0x00, 0x20, _TRANSFER_EVENT_SIGNATURE, shr(96, shl(96, from)), 0)
        }
        _afterTokenTransfer(from, address(0), amount);
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                INTERNAL TRANSFER FUNCTIONS                 */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Moves `amount` of tokens from `from` to `to`.
    function _transfer(address from, address to, uint256 amount) internal virtual {
        _beforeTokenTransfer(from, to, amount);
        /// @solidity memory-safe-assembly
        assembly {
            let from_ := shl(96, from)
            // Compute the balance slot and load its value.
            mstore(0x0c, or(from_, _BALANCE_SLOT_SEED))
            let fromBalanceSlot := keccak256(0x0c, 0x20)
            let fromBalance := sload(fromBalanceSlot)
            // Revert if insufficient balance.
            if gt(amount, fromBalance) {
                mstore(0x00, 0xf4d678b8) // `InsufficientBalance()`.
                revert(0x1c, 0x04)
            }
            // Subtract and store the updated balance.
            sstore(fromBalanceSlot, sub(fromBalance, amount))
            // Compute the balance slot of `to`.
            mstore(0x00, to)
            let toBalanceSlot := keccak256(0x0c, 0x20)
            // Add and store the updated balance of `to`.
            // Will not overflow because the sum of all user balances
            // cannot exceed the maximum uint256 value.
            sstore(toBalanceSlot, add(sload(toBalanceSlot), amount))
            // Emit the {Transfer} event.
            mstore(0x20, amount)
            log3(0x20, 0x20, _TRANSFER_EVENT_SIGNATURE, shr(96, from_), shr(96, mload(0x0c)))
        }
        _afterTokenTransfer(from, to, amount);
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                INTERNAL ALLOWANCE FUNCTIONS                */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Updates the allowance of `owner` for `spender` based on spent `amount`.
    function _spendAllowance(address owner, address spender, uint256 amount) internal virtual {
        /// @solidity memory-safe-assembly
        assembly {
            // Compute the allowance slot and load its value.
            mstore(0x20, spender)
            mstore(0x0c, _ALLOWANCE_SLOT_SEED)
            mstore(0x00, owner)
            let allowanceSlot := keccak256(0x0c, 0x34)
            let allowance_ := sload(allowanceSlot)
            // If the allowance is not the maximum uint256 value.
            if iszero(eq(allowance_, not(0))) {
                // Revert if the amount to be transferred exceeds the allowance.
                if gt(amount, allowance_) {
                    mstore(0x00, 0x13be252b) // `InsufficientAllowance()`.
                    revert(0x1c, 0x04)
                }
                // Subtract and store the updated allowance.
                sstore(allowanceSlot, sub(allowance_, amount))
            }
        }
    }

    /// @dev Sets `amount` as the allowance of `spender` over the tokens of `owner`.
    ///
    /// Emits a {Approval} event.
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        /// @solidity memory-safe-assembly
        assembly {
            let owner_ := shl(96, owner)
            // Compute the allowance slot and store the amount.
            mstore(0x20, spender)
            mstore(0x0c, or(owner_, _ALLOWANCE_SLOT_SEED))
            sstore(keccak256(0x0c, 0x34), amount)
            // Emit the {Approval} event.
            mstore(0x00, amount)
            log3(0x00, 0x20, _APPROVAL_EVENT_SIGNATURE, shr(96, owner_), shr(96, mload(0x2c)))
        }
    }

    /*´:°•.°+.*•´.*:˚.°*.˚•´.°:°•.°•.*•´.*:˚.°*.˚•´.°:°•.°+.*•´.*:*/
    /*                     HOOKS TO OVERRIDE                      */
    /*.•°:°.´+˚.*°.˚:*.´•*.+°.•°:´*.´•*.•°.•°:°.´:•˚°.*°.˚:*.´+°.•*/

    /// @dev Hook that is called before any transfer of tokens.
    /// This includes minting and burning.
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {}

    /// @dev Hook that is called after any transfer of tokens.
    /// This includes minting and burning.
    function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {}
}

File 7 of 7 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"ownerWallet","type":"address"},{"internalType":"address","name":"teamWallet_","type":"address"},{"internalType":"address","name":"frengateWallet_","type":"address"},{"internalType":"address","name":"routerAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AllowanceOverflow","type":"error"},{"inputs":[],"name":"AllowanceUnderflow","type":"error"},{"inputs":[],"name":"InsufficientAllowance","type":"error"},{"inputs":[],"name":"InsufficientBalance","type":"error"},{"inputs":[],"name":"InvalidPermit","type":"error"},{"inputs":[],"name":"NewOwnerIsZeroAddress","type":"error"},{"inputs":[],"name":"NoHandoverRequest","type":"error"},{"inputs":[],"name":"PermitExpired","type":"error"},{"inputs":[],"name":"TotalSupplyOverflow","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"frengate__BlacklistModificationDisabled","type":"error"},{"inputs":[],"name":"frengate__BuyAmountGreaterThanMax","type":"error"},{"inputs":[],"name":"frengate__CannotBlacklistLPPair","type":"error"},{"inputs":[],"name":"frengate__CannotBlacklistRouter","type":"error"},{"inputs":[],"name":"frengate__CannotRemovePairFromAMMs","type":"error"},{"inputs":[],"name":"frengate__CannotSetWalletToAddressZero","type":"error"},{"inputs":[],"name":"frengate__CannotTransferFromAddressZero","type":"error"},{"inputs":[],"name":"frengate__CannotTransferToAddressZero","type":"error"},{"inputs":[],"name":"frengate__ErrorWithdrawingEth","type":"error"},{"inputs":[],"name":"frengate__FeeChangeRenounced","type":"error"},{"inputs":[],"name":"frengate__MaxFeeFivePercent","type":"error"},{"inputs":[],"name":"frengate__MaxTransactionTooLow","type":"error"},{"inputs":[],"name":"frengate__MaxWalletAmountExceeded","type":"error"},{"inputs":[],"name":"frengate__MaxWalletAmountTooLow","type":"error"},{"inputs":[],"name":"frengate__OnlyOwner","type":"error"},{"inputs":[],"name":"frengate__ReceiverBlacklisted","type":"error"},{"inputs":[],"name":"frengate__ReceiverCannotBeAddressZero","type":"error"},{"inputs":[],"name":"frengate__SellAmountGreaterThanMax","type":"error"},{"inputs":[],"name":"frengate__SenderBlacklisted","type":"error"},{"inputs":[],"name":"frengate__StuckEthWithdrawError","type":"error"},{"inputs":[],"name":"frengate__SwapAmountGreaterThanMaximum","type":"error"},{"inputs":[],"name":"frengate__SwapAmountLowerThanMinimum","type":"error"},{"inputs":[],"name":"frengate__TokenAddressCannotBeAddressZero","type":"error"},{"inputs":[],"name":"frengate__TradingNotActive","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":"amount","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromMaxTransaction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"destination","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FailedSwapBackTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"buyFee","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"sellFee","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"frengatePercent","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"liquidityPercent","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"teamPercent","type":"uint8"}],"name":"FeesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldAmount","type":"uint256"}],"name":"MaxTransactionAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldAmount","type":"uint256"}],"name":"MaxWalletAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pendingOwner","type":"address"}],"name":"OwnershipHandoverRequested","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"oldOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"oldAmount","type":"uint256"}],"name":"SwapTokensAtAmountUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"TeamWalletUpdated","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":"amount","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldWallet","type":"address"}],"name":"frengateWalletUpdated","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"result","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SWAP_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MIN_SWAP_AMOUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"result","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":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"blacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cancelOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"completeOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"difference","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"excludeFromMaxTransaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeAmounts","outputs":[{"internalType":"uint8","name":"buy","type":"uint8"},{"internalType":"uint8","name":"sell","type":"uint8"},{"internalType":"uint8","name":"liquidity","type":"uint8"},{"internalType":"uint8","name":"frengate","type":"uint8"},{"internalType":"uint8","name":"team","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"frengateWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"difference","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"isAutomatedMarketMakerPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBlacklistRenounced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxTransactionAmount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isFeeChangeRenounced","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isLimitInEffect","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isSwapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"result","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pendingOwner","type":"address"}],"name":"ownershipHandoverExpiresAt","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"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":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceFeeChange","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"requestOwnershipHandover","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForBotProtection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"unblacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"frengateFee","type":"uint8"},{"internalType":"uint8","name":"liquidityFee","type":"uint8"},{"internalType":"uint8","name":"teamFee","type":"uint8"}],"name":"updateBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newNum","type":"uint256"}],"name":"updateMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"frengateFee","type":"uint8"},{"internalType":"uint8","name":"liquidityFee","type":"uint8"},{"internalType":"uint8","name":"teamFee","type":"uint8"}],"name":"updateSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"updateSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newAmount","type":"uint256"}],"name":"updateSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updateTeamWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"updatefrengateWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawStuckEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"withdrawStuckToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawStuckfrengate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

610180604052600160c081905260e0526000610100819052610120819052610140819052610160526101016007553480156200003a57600080fd5b50604051620037b3380380620037b38339810160408190526200005d916200098c565b6200006884620008b3565b6001600160a01b03811660808190526040805163c45a015560e01b8152905183929163c45a01559160048083019260209291908290030181865afa158015620000b5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000db9190620009e9565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000129573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200014f9190620009e9565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156200019d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c39190620009e9565b6001600160a01b031660a0526103e8620001eb6b033b2e3c9fd0803ce8000000600562000a0e565b620001f7919062000a3a565b6000556103e8620002166b033b2e3c9fd0803ce8000000600562000a0e565b62000222919062000a3a565b600255612710620002416b033b2e3c9fd0803ce8000000600562000a0e565b6200024d919062000a3a565b6001819055506040518060a00160405280600f60ff168152602001602d60ff168152602001600060ff168152602001600060ff168152602001606460ff16815250600660008201518160000160006101000a81548160ff021916908360ff16021790555060208201518160000160016101000a81548160ff021916908360ff16021790555060408201518160000160026101000a81548160ff021916908360ff16021790555060608201518160000160036101000a81548160ff021916908360ff16021790555060808201518160000160046101000a81548160ff021916908360ff16021790555090505082600360006101000a8154816001600160a01b0302191690836001600160a01b0316021790555083600460006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060405180608001604052806000151581526020016000151581526020016001151581526020016001151581525060086000866001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff02191690831515021790555090505060405180608001604052806000151581526020016000151581526020016001151581526020016001151581525060086000306001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff0219169083151502179055509050506040518060800160405280600015158152602001600015158152602001600115158152602001600115158152506008600061dead6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff02191690831515021790555090505060405180608001604052806000151581526020016000151581526020016001151581526020016001151581525060086000876001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff021916908315150217905550905050604051806080016040528060001515815260200160001515815260200160001515815260200160011515815250600860006080516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff0219169083151502179055509050506040518060800160405280600015158152602001600115158152602001600015158152602001600115158152506008600060a0516001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff021916908315150217905550905050620008a8856b033b2e3c9fd0803ce8000000620008ef60201b60201c565b505050505062000a5d565b6001600160a01b0316638b78c6d8198190558060007f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08180a350565b6805345cdf77eb68f44c5481810181811015620009145763e5cfe9576000526004601cfd5b806805345cdf77eb68f44c5550506387a211a2600c52816000526020600c208181540181555080602052600c5160601c60007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a35050565b80516001600160a01b03811681146200098757600080fd5b919050565b60008060008060808587031215620009a357600080fd5b620009ae856200096f565b9350620009be602086016200096f565b9250620009ce604086016200096f565b9150620009de606086016200096f565b905092959194509250565b600060208284031215620009fc57600080fd5b62000a07826200096f565b9392505050565b808202811582820484141762000a3457634e487b7160e01b600052601160045260246000fd5b92915050565b60008262000a5857634e487b7160e01b600052601260045260246000fd5b500490565b60805160a051612cf862000abb600039600081816106770152818161157d0152611ae801526000818161046401528181611b3a015281816125750152818161262e0152818161266a015281816126e4015261270b0152612cf86000f3fe6080604052600436106103b15760003560e01c80637fa787ba116101e7578063c53d4d531161010d578063e94c58b6116100a0578063f8b45b051161006f578063f8b45b0514610b7f578063f9f92be414610b95578063fe575a8714610bb5578063fee81cf414610bee57600080fd5b8063e94c58b614610b24578063f04e283e14610b39578063f2fde38b14610b4c578063f4d6e4d214610b5f57600080fd5b8063d505accf116100dc578063d505accf14610a78578063dd62ed3e14610a98578063e2f4560514610ace578063e9481eee14610ae457600080fd5b8063c53d4d5314610a04578063c8c8ebe414610a23578063cc10a17914610a39578063d257b34f14610a5857600080fd5b80639a7a23d611610185578063ba1618d511610154578063ba1618d51461098e578063be1ded87146109a6578063c0246668146109c4578063c18bc195146109e457600080fd5b80639a7a23d61461090e578063a457c2d71461092e578063a9059cbb1461094e578063aa4980231461096e57600080fd5b8063924de9b7116101c1578063924de9b71461089957806395d89b41146108b95780639759f76e146108e457806399f34c12146108f957600080fd5b80637fa787ba146108565780638a8c523c1461086b5780638da5cb5b1461088057600080fd5b80634487c29f116102d757806370a082311161026a57806375e3661e1161023957806375e3661e146107a55780637949a403146107c55780637cb332bb146108035780637ecebe001461082357600080fd5b806370a0823114610735578063715018a614610768578063751039fc146107705780637571336a1461078557600080fd5b806354d1f13d116102a657806354d1f13d146106d857806359927044146106e05780635f189361146107005780636b57e5cb1461071557600080fd5b80634487c29f14610625578063492a2aa51461064557806349bd5a5e146106655780634fbee1931461069957600080fd5b806323b872dd1161034f578063351a964d1161031e578063351a964d1461055e5780633644e5151461057b57806339509351146105905780633f17b161146105b057600080fd5b806323b872dd146104fb578063256929621461051b578063313ce5671461052357806332cb6b0c1461053f57600080fd5b80631694505e1161038b5780631694505e1461045257806318160ddd1461049e5780631b624ecb146104c55780631d003eb6146104db57600080fd5b8063068acf6c146103bd57806306fdde03146103df578063095ea7b31461042257600080fd5b366103b857005b600080fd5b3480156103c957600080fd5b506103dd6103d8366004612835565b610c21565b005b3480156103eb57600080fd5b506040805180820190915260088152676672656e6761746560c01b60208201525b6040516104199190612859565b60405180910390f35b34801561042e57600080fd5b5061044261043d3660046128a7565b610d34565b6040519015158152602001610419565b34801561045e57600080fd5b506104867f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610419565b3480156104aa57600080fd5b506805345cdf77eb68f44c545b604051908152602001610419565b3480156104d157600080fd5b506104b760055481565b3480156104e757600080fd5b506103dd6104f63660046128e9565b610d76565b34801561050757600080fd5b5061044261051636600461292c565b610f15565b6103dd610f6d565b34801561052f57600080fd5b5060405160128152602001610419565b34801561054b57600080fd5b506104b7676765c793fa10079d601b1b81565b34801561056a57600080fd5b50600754610100900460ff16610442565b34801561058757600080fd5b506104b7610fbd565b34801561059c57600080fd5b506104426105ab3660046128a7565b611048565b3480156105bc57600080fd5b506006546105f19060ff80821691610100810482169162010000820481169163010000008104821691600160201b9091041685565b6040805160ff968716815294861660208601529285169284019290925283166060830152909116608082015260a001610419565b34801561063157600080fd5b506103dd6106403660046128e9565b6110a8565b34801561065157600080fd5b50600354610486906001600160a01b031681565b34801561067157600080fd5b506104867f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a557600080fd5b506104426106b4366004612835565b6001600160a01b031660009081526008602052604090205462010000900460ff1690565b6103dd611234565b3480156106ec57600080fd5b50600454610486906001600160a01b031681565b34801561070c57600080fd5b506103dd611270565b34801561072157600080fd5b506103dd610730366004612835565b61128b565b34801561074157600080fd5b506104b7610750366004612835565b6387a211a2600c908152600091909152602090205490565b6103dd61130b565b34801561077c57600080fd5b506103dd61131f565b34801561079157600080fd5b506103dd6107a036600461297b565b611333565b3480156107b157600080fd5b506103dd6107c0366004612835565b6113aa565b3480156107d157600080fd5b506104426107e0366004612835565b6001600160a01b0316600090815260086020526040902054610100900460ff1690565b34801561080f57600080fd5b506103dd61081e366004612835565b6113d3565b34801561082f57600080fd5b506104b761083e366004612835565b6338377508600c908152600091909152602090205490565b34801561086257600080fd5b506103dd611453565b34801561087757600080fd5b506103dd6114c7565b34801561088c57600080fd5b50638b78c6d81954610486565b3480156108a557600080fd5b506103dd6108b43660046129b4565b611513565b3480156108c557600080fd5b50604080518082019091526002815261464760f01b602082015261040c565b3480156108f057600080fd5b506104b7611535565b34801561090557600080fd5b506104b761155b565b34801561091a57600080fd5b506103dd61092936600461297b565b611573565b34801561093a57600080fd5b506104426109493660046128a7565b61162c565b34801561095a57600080fd5b506104426109693660046128a7565b61168d565b34801561097a57600080fd5b506103dd6109893660046129d1565b6116a3565b34801561099a57600080fd5b5060075460ff16610442565b3480156109b257600080fd5b5060075462010000900460ff16610442565b3480156109d057600080fd5b506103dd6109df36600461297b565b611734565b3480156109f057600080fd5b506103dd6109ff3660046129d1565b61179d565b348015610a1057600080fd5b50600754600160201b900460ff16610442565b348015610a2f57600080fd5b506104b760005481565b348015610a4557600080fd5b506007546301000000900460ff16610442565b348015610a6457600080fd5b506103dd610a733660046129d1565b611819565b348015610a8457600080fd5b506103dd610a933660046129ea565b6118da565b348015610aa457600080fd5b506104b7610ab3366004612a58565b602052637f5e9f20600c908152600091909152603490205490565b348015610ada57600080fd5b506104b760015481565b348015610af057600080fd5b50610442610aff366004612835565b6001600160a01b03166000908152600860205260409020546301000000900460ff1690565b348015610b3057600080fd5b506103dd6119f6565b6103dd610b47366004612835565b611a13565b6103dd610b5a366004612835565b611a50565b348015610b6b57600080fd5b506103dd610b7a3660046129d1565b611a77565b348015610b8b57600080fd5b506104b760025481565b348015610ba157600080fd5b506103dd610bb0366004612835565b611ab4565b348015610bc157600080fd5b50610442610bd0366004612835565b6001600160a01b031660009081526008602052604090205460ff1690565b348015610bfa57600080fd5b506104b7610c09366004612835565b63389a75e1600c908152600091909152602090205490565b610c29611bae565b6001600160a01b038116610c50576040516329fb3cc760e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbb9190612a86565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610d0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2f9190612a9f565b505050565b600082602052637f5e9f20600c5233600052816034600c205581600052602c5160601c33600080516020612ca383398151915260206000a35060015b92915050565b610d7e611bae565b6007546301000000900460ff1615610da95760405163078718a160e21b815260040160405180910390fd5b600081610db68486612ad2565b610dc09190612ad2565b905060638160ff161115610de757604051633b2b3d0d60e11b815260040160405180910390fd5b600654610100900460ff16600082610e00876064612aeb565b610e0a9190612b24565b9050600083610e1a876064612aeb565b610e249190612b24565b9050600081610e34846064612b46565b610e3e9190612b46565b6040805160a0808201835260ff89811680845289821660208086018290528984168688018190528b85166060808901829052958a1660809889018190526006805461ffff1916871761010087021763ffff0000191662010000850263ff000000191617630100000084021764ff000000001916600160201b83021790558951958652928501939093529683019190915291810194909452918301919091529192507f915ac3e5f77909369f87ce47547f18125470366dc615fc4cce4b5fc0bb7ca23891015b60405180910390a15050505050505050565b60008360601b33602052637f5e9f208117600c52506034600c2080546000198114610f565780841115610f50576313be252b6000526004601cfd5b83810382555b5050610f63848484611be6565b5060019392505050565b60006202a30067ffffffffffffffff164201905063389a75e1600c5233600052806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a250565b60408051808201918290527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f6782920cb5bd63a2edee3bb8320cef135a5e89bf448e0f6517b4f208662de14760208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc690915246606082015230608082015260a0902090565b600082602052637f5e9f20600c52336000526034600c2080548381018181101561107a5763f90670666000526004601cfd5b80835580600052505050602c5160601c33600080516020612ca383398151915260206000a350600192915050565b6110b0611bae565b6007546301000000900460ff16156110db5760405163078718a160e21b815260040160405180910390fd5b6000816110e88486612ad2565b6110f29190612ad2565b905060638160ff16111561111957604051633b2b3d0d60e11b815260040160405180910390fd5b60065460ff1660008261112d876064612aeb565b6111379190612b24565b9050600083611147876064612aeb565b6111519190612b24565b9050600081611161846064612b46565b61116b9190612b46565b6040805160a0808201835260ff8881168084528a821660208086018290528984168688018190528b85166060808901829052958a1660809889018190526006805461ffff1916871761010087021763ffff0000191662010000850263ff000000191617630100000084021764ff000000001916600160201b83021790558951958652928501939093529683019190915291810194909452918301919091529192507f915ac3e5f77909369f87ce47547f18125470366dc615fc4cce4b5fc0bb7ca2389101610f03565b63389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2565b611278611bae565b6007805462ff0000191662010000179055565b611293611bae565b6001600160a01b0381166112ba5760405163b6b68a5560e01b815260040160405180910390fd5b600380546001600160a01b038381166001600160a01b03198316811790935560405191169182917f2f3ca3453b7d8897fc1a6631f72ca1a8f0067453ed400bb4235b7140345f375990600090a35050565b611313612146565b61131d6000612161565b565b611327611bae565b6007805460ff19169055565b61133b611bae565b6001600160a01b03821660008181526008602052604090819020805484151563010000000263ff00000019909116179055517fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f089061139e90841515815260200190565b60405180910390a25050565b6113b2611bae565b6001600160a01b03166000908152600860205260409020805460ff19169055565b6113db611bae565b6001600160a01b0381166114025760405163b6b68a5560e01b815260040160405180910390fd5b600480546001600160a01b038381166001600160a01b03198316811790935560405191169182917fd9a2a08302ed3220f4e646ff99d6780d87e27baddf1af05679dc930ce811309590600090a35050565b61145b611bae565b604051600090339047908381818185875af1925050503d806000811461149d576040519150601f19603f3d011682016040523d82523d6000602084013e6114a2565b606091505b50509050806114c457604051635fc9152360e01b815260040160405180910390fd5b50565b6114cf611bae565b6114da43600a612b5f565b6007805464ff00000000196001600160d81b039390931665010000000000029290921663ffffffff90921691909117600160201b179055565b61151b611bae565b600780549115156101000261ff0019909216919091179055565b6103e861154e676765c793fa10079d601b1b6005612b7f565b6115589190612b96565b81565b611558620186a0676765c793fa10079d601b1b612b96565b61157b611bae565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316036115cd57604051631e5ad4e160e31b815260040160405180910390fd5b6001600160a01b0382166000818152600860205260409081902080548415156101000261ff0019909116179055517fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab9061139e90841515815260200190565b600082602052637f5e9f20600c52336000526034600c2080548381101561165b57638301ab386000526004601cfd5b8381039050808255806000525050602c5160601c33600080516020612ca383398151915260206000a350600192915050565b600061169a338484611be6565b50600192915050565b6116ab611bae565b6103e86116c4676765c793fa10079d601b1b6005612b7f565b6116ce9190612b96565b8110156116ee5760405163198d0e3d60e11b815260040160405180910390fd5b600080549082905560408051838152602081018390527fd40d861b6c61fb22040b4eb8de22cc4c267673593fef5c5880e2f55e75ef454891015b60405180910390a15050565b61173c611bae565b6001600160a01b038216600081815260086020526040908190208054841515620100000262ff000019909116179055517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79061139e90841515815260200190565b6117a5611bae565b6117bb6064676765c793fa10079d601b1b612b96565b8110156117db576040516318f5167960e21b815260040160405180910390fd5b600280549082905560408051838152602081018390527f0a7c714b6801281a6e2610a6371ac6a5da9a5947616d74f4aa3ad1d289278e739101611728565b611821611bae565b611839620186a0676765c793fa10079d601b1b612b96565b81101561185957604051633e93343f60e11b815260040160405180910390fd5b6103e8611872676765c793fa10079d601b1b6005612b7f565b61187c9190612b96565b81111561189c5760405163307357b160e01b815260040160405180910390fd5b600180549082905560408051838152602081018390527febb96427ceba6a46f9f71146db5c30bc7e2fe31285e9bf34b38bbdede7cd5ea19101611728565b60006118e4610fbd565b9050604051854211156118ff57631a15a3cc6000526004601cfd5b8860601b60601c98508760601b60601c97506338377508600c52886000526020600c2080546001810182557f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c983528a602084015289604084015288606084015280608084015250508560a08201526119016000528160205260c081206040526042601e206000528460ff1660205283604052826060526020806080600060015afa50883d51146119b75763ddafbaef6000526004601cfd5b6303faf4f960a51b88176040526034602c208790558789600080516020612ca3833981519152602060608501a360405250506000606052505050505050565b6119fe611bae565b6007805463ff00000019166301000000179055565b611a1b612146565b63389a75e1600c52806000526020600c208054421115611a4357636f5e88186000526004601cfd5b600090556114c481612161565b611a58612146565b8060601b611a6e57637448fbae6000526004601cfd5b6114c481612161565b611a7f611bae565b600081600003611aa257506387a211a2600c908152306000526020902054611aa5565b50805b611ab030338361219f565b5050565b611abc611bae565b60075462010000900460ff1615611ae657604051633b654f9b60e21b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031603611b3857604051633cbbdc4560e01b815260040160405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b031603611b8a5760405163a11e3bdf60e01b815260040160405180910390fd5b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b638b78c6d819546001600160a01b0316336001600160a01b03161461131d57604051633c3a5a0f60e01b815260040160405180910390fd5b6001600160a01b038316611c0d57604051635fed43eb60e01b815260040160405180910390fd5b6001600160a01b038216611c34576040516360019c8360e01b815260040160405180910390fd5b6001600160a01b038381166000908152600860208181526040808420815160808082018452915460ff808216151583526101008083048216151584880152620100008084048316151585880152630100000093849004831615156060808701919091529a8d168a5297875297859020855180860187529054808316151582528981048316151582890152888104831615158288015283900482161515818b0152855160c08101875260075480841615158252998a048316151597810197909752968804811615159486019490945286048316151596840196909652600160201b85049091161515908201819052650100000000009093046001600160d81b031660a08201529091611d6a578260400151611d6a578160400151611d6a5760405163c934ac4f60e01b815260040160405180910390fd5b825115611d8a576040516351fa79f160e01b815260040160405180910390fd5b815115611daa57604051631209203160e01b815260040160405180910390fd5b83600003611dba57505050505050565b6000836040015180611dcd575082604001515b602085015190915060039015611de557506001611df3565b836020015115611df3575060025b600454600160a01b900460ff16611f6c57825115611f13578060ff166001148015611e2057508360600151155b15611e8d57600054861115611e4857604051632d143c7f60e01b815260040160405180910390fd5b6002546387a211a2600c90815260008990526020902054611e699088612baa565b1115611e8857604051631bb98aa760e11b815260040160405180910390fd5b611f13565b8060ff166002148015611ea257508460600151155b15611eca57600054861115611e885760405163b247ed3360e01b815260040160405180910390fd5b8360600151611f13576002546387a211a2600c90815260008990526020902054611ef49088612baa565b1115611f1357604051631bb98aa760e11b815260040160405180910390fd5b826020015115611f6c578060ff16600203611f6c576001546387a211a2600c90815230600052602090205410611f6c576004805460ff60a01b1916600160a01b179055611f5e61221a565b6004805460ff60a01b191690555b60038160ff16101561213157600454600160a01b900460ff16158215611f90575060005b6000811561212e576040805160a08101825260065460ff80821683526101008204811660208401526201000082048116938301939093526301000000810483166060830152600160201b90048216608082015290841660020361202157602081015160ff161561201c576064816020015160ff168a61200f9190612b7f565b6120199190612b96565b91505b612055565b8360ff1660010361205557805160ff16156120555780516064906120489060ff168b612b7f565b6120529190612b96565b91505b8560a001516001600160d81b031643101561210f576000438760a001516001600160d81b03166120859190612bbd565b9050605a60128210156120b55761209d826012612bbd565b6120a8906005612b7f565b6120b29082612bbd565b90505b600060646120c3838e612b7f565b6120cd9190612b96565b6004549091506120e8908f906001600160a01b03168361219f565b6120f2818d612bbd565b9b5080600560008282546121069190612baa565b90915550505050505b612119828a612bbd565b9850811561212c5761212c8b308461219f565b505b50505b61213c88888861219f565b5050505050505050565b638b78c6d81954331461131d576382b429006000526004601cfd5b638b78c6d81980546001600160a01b039092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a355565b8260601b6387a211a28117600c526020600c208054808411156121ca5763f4d678b86000526004601cfd5b83810382555050826000526020600c208281540181555081602052600c5160601c8160601c7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a350505050565b6387a211a2600c9081523060009081526020909120546040805160a08101825260065460ff80821683526101008204811660208401526201000082048116938301939093526301000000810483166060830152600160201b90049091166080820152909150600082810361228d57505050565b6000600154601461229e9190612b7f565b9050808411156122ac578093505b60006064846040015160ff16866122c39190612b7f565b6122cd9190612b96565b905060006122dc600283612b96565b6122e69083612bbd565b905060006122f48288612bbd565b9050476123008261251e565b600061230c8247612bbd565b905060006064896060015160ff16836123259190612b7f565b61232f9190612b96565b9050600060648a6080015160ff16846123489190612b7f565b6123529190612b96565b90506000816123618486612bbd565b61236b9190612bbd565b905060008711801561237d5750600081115b156123c65761238c87826126de565b60408051878152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b6004546040516001600160a01b039091169081908490600081818185875af1925050503d8060008114612415576040519150601f19603f3d011682016040523d82523d6000602084013e61241a565b606091505b5050809b50508a61246957806001600160a01b03167f9bfe91b808be96695c12877c36c671453aea08db33f57006854314e50bfddf5d8460405161246091815260200190565b60405180910390a25b831561250f576003546040516001600160a01b03909116908590600081818185875af1925050503d80600081146124bc576040519150601f19603f3d011682016040523d82523d6000602084013e6124c1565b606091505b5050809b50508a61250f576003546040518581526001600160a01b03909116907f9bfe91b808be96695c12877c36c671453aea08db33f57006854314e50bfddf5d9060200160405180910390a25b50505050505050505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061255357612553612bd0565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f59190612be6565b8160018151811061260857612608612bd0565b60200260200101906001600160a01b031690816001600160a01b031681525050612653307f0000000000000000000000000000000000000000000000000000000000000000846127df565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063791ac947906126a8908590600090869030904290600401612c03565b600060405180830381600087803b1580156126c257600080fd5b505af11580156126d6573d6000803e3d6000fd5b505050505050565b612709307f0000000000000000000000000000000000000000000000000000000000000000846127df565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d71982308560008061274b638b78c6d8195490565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156127b3573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906127d89190612c74565b5050505050565b8260601b82602052637f5e9f208117600c52816034600c205581600052602c5160601c8160601c600080516020612ca383398151915260206000a350505050565b6001600160a01b03811681146114c457600080fd5b60006020828403121561284757600080fd5b813561285281612820565b9392505050565b600060208083528351808285015260005b818110156128865785810183015185820160400152820161286a565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156128ba57600080fd5b82356128c581612820565b946020939093013593505050565b803560ff811681146128e457600080fd5b919050565b6000806000606084860312156128fe57600080fd5b612907846128d3565b9250612915602085016128d3565b9150612923604085016128d3565b90509250925092565b60008060006060848603121561294157600080fd5b833561294c81612820565b9250602084013561295c81612820565b929592945050506040919091013590565b80151581146114c457600080fd5b6000806040838503121561298e57600080fd5b823561299981612820565b915060208301356129a98161296d565b809150509250929050565b6000602082840312156129c657600080fd5b81356128528161296d565b6000602082840312156129e357600080fd5b5035919050565b600080600080600080600060e0888a031215612a0557600080fd5b8735612a1081612820565b96506020880135612a2081612820565b95506040880135945060608801359350612a3c608089016128d3565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215612a6b57600080fd5b8235612a7681612820565b915060208301356129a981612820565b600060208284031215612a9857600080fd5b5051919050565b600060208284031215612ab157600080fd5b81516128528161296d565b634e487b7160e01b600052601160045260246000fd5b60ff8181168382160190811115610d7057610d70612abc565b60ff8181168382160290811690818114612b0757612b07612abc565b5092915050565b634e487b7160e01b600052601260045260246000fd5b600060ff831680612b3757612b37612b0e565b8060ff84160491505092915050565b60ff8281168282160390811115610d7057610d70612abc565b6001600160d81b03818116838216019080821115612b0757612b07612abc565b8082028115828204841417610d7057610d70612abc565b600082612ba557612ba5612b0e565b500490565b80820180821115610d7057610d70612abc565b81810381811115610d7057610d70612abc565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612bf857600080fd5b815161285281612820565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612c535784516001600160a01b031683529383019391830191600101612c2e565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612c8957600080fd5b835192506020840151915060408401519050925092509256fe8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a2646970667358221220798c99de2781b768fef5c15d2760fbcb025d454ea9ae390c47412c9c16eca6b864736f6c634300081300330000000000000000000000006c22b5ddc03ac3ed9714e313ba716feb92771a4e0000000000000000000000006c22b5ddc03ac3ed9714e313ba716feb92771a4e0000000000000000000000006c22b5ddc03ac3ed9714e313ba716feb92771a4e0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106103b15760003560e01c80637fa787ba116101e7578063c53d4d531161010d578063e94c58b6116100a0578063f8b45b051161006f578063f8b45b0514610b7f578063f9f92be414610b95578063fe575a8714610bb5578063fee81cf414610bee57600080fd5b8063e94c58b614610b24578063f04e283e14610b39578063f2fde38b14610b4c578063f4d6e4d214610b5f57600080fd5b8063d505accf116100dc578063d505accf14610a78578063dd62ed3e14610a98578063e2f4560514610ace578063e9481eee14610ae457600080fd5b8063c53d4d5314610a04578063c8c8ebe414610a23578063cc10a17914610a39578063d257b34f14610a5857600080fd5b80639a7a23d611610185578063ba1618d511610154578063ba1618d51461098e578063be1ded87146109a6578063c0246668146109c4578063c18bc195146109e457600080fd5b80639a7a23d61461090e578063a457c2d71461092e578063a9059cbb1461094e578063aa4980231461096e57600080fd5b8063924de9b7116101c1578063924de9b71461089957806395d89b41146108b95780639759f76e146108e457806399f34c12146108f957600080fd5b80637fa787ba146108565780638a8c523c1461086b5780638da5cb5b1461088057600080fd5b80634487c29f116102d757806370a082311161026a57806375e3661e1161023957806375e3661e146107a55780637949a403146107c55780637cb332bb146108035780637ecebe001461082357600080fd5b806370a0823114610735578063715018a614610768578063751039fc146107705780637571336a1461078557600080fd5b806354d1f13d116102a657806354d1f13d146106d857806359927044146106e05780635f189361146107005780636b57e5cb1461071557600080fd5b80634487c29f14610625578063492a2aa51461064557806349bd5a5e146106655780634fbee1931461069957600080fd5b806323b872dd1161034f578063351a964d1161031e578063351a964d1461055e5780633644e5151461057b57806339509351146105905780633f17b161146105b057600080fd5b806323b872dd146104fb578063256929621461051b578063313ce5671461052357806332cb6b0c1461053f57600080fd5b80631694505e1161038b5780631694505e1461045257806318160ddd1461049e5780631b624ecb146104c55780631d003eb6146104db57600080fd5b8063068acf6c146103bd57806306fdde03146103df578063095ea7b31461042257600080fd5b366103b857005b600080fd5b3480156103c957600080fd5b506103dd6103d8366004612835565b610c21565b005b3480156103eb57600080fd5b506040805180820190915260088152676672656e6761746560c01b60208201525b6040516104199190612859565b60405180910390f35b34801561042e57600080fd5b5061044261043d3660046128a7565b610d34565b6040519015158152602001610419565b34801561045e57600080fd5b506104867f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d81565b6040516001600160a01b039091168152602001610419565b3480156104aa57600080fd5b506805345cdf77eb68f44c545b604051908152602001610419565b3480156104d157600080fd5b506104b760055481565b3480156104e757600080fd5b506103dd6104f63660046128e9565b610d76565b34801561050757600080fd5b5061044261051636600461292c565b610f15565b6103dd610f6d565b34801561052f57600080fd5b5060405160128152602001610419565b34801561054b57600080fd5b506104b7676765c793fa10079d601b1b81565b34801561056a57600080fd5b50600754610100900460ff16610442565b34801561058757600080fd5b506104b7610fbd565b34801561059c57600080fd5b506104426105ab3660046128a7565b611048565b3480156105bc57600080fd5b506006546105f19060ff80821691610100810482169162010000820481169163010000008104821691600160201b9091041685565b6040805160ff968716815294861660208601529285169284019290925283166060830152909116608082015260a001610419565b34801561063157600080fd5b506103dd6106403660046128e9565b6110a8565b34801561065157600080fd5b50600354610486906001600160a01b031681565b34801561067157600080fd5b506104867f0000000000000000000000007c96c49fa1ba16d1f64d47c9dee0c330a510004481565b3480156106a557600080fd5b506104426106b4366004612835565b6001600160a01b031660009081526008602052604090205462010000900460ff1690565b6103dd611234565b3480156106ec57600080fd5b50600454610486906001600160a01b031681565b34801561070c57600080fd5b506103dd611270565b34801561072157600080fd5b506103dd610730366004612835565b61128b565b34801561074157600080fd5b506104b7610750366004612835565b6387a211a2600c908152600091909152602090205490565b6103dd61130b565b34801561077c57600080fd5b506103dd61131f565b34801561079157600080fd5b506103dd6107a036600461297b565b611333565b3480156107b157600080fd5b506103dd6107c0366004612835565b6113aa565b3480156107d157600080fd5b506104426107e0366004612835565b6001600160a01b0316600090815260086020526040902054610100900460ff1690565b34801561080f57600080fd5b506103dd61081e366004612835565b6113d3565b34801561082f57600080fd5b506104b761083e366004612835565b6338377508600c908152600091909152602090205490565b34801561086257600080fd5b506103dd611453565b34801561087757600080fd5b506103dd6114c7565b34801561088c57600080fd5b50638b78c6d81954610486565b3480156108a557600080fd5b506103dd6108b43660046129b4565b611513565b3480156108c557600080fd5b50604080518082019091526002815261464760f01b602082015261040c565b3480156108f057600080fd5b506104b7611535565b34801561090557600080fd5b506104b761155b565b34801561091a57600080fd5b506103dd61092936600461297b565b611573565b34801561093a57600080fd5b506104426109493660046128a7565b61162c565b34801561095a57600080fd5b506104426109693660046128a7565b61168d565b34801561097a57600080fd5b506103dd6109893660046129d1565b6116a3565b34801561099a57600080fd5b5060075460ff16610442565b3480156109b257600080fd5b5060075462010000900460ff16610442565b3480156109d057600080fd5b506103dd6109df36600461297b565b611734565b3480156109f057600080fd5b506103dd6109ff3660046129d1565b61179d565b348015610a1057600080fd5b50600754600160201b900460ff16610442565b348015610a2f57600080fd5b506104b760005481565b348015610a4557600080fd5b506007546301000000900460ff16610442565b348015610a6457600080fd5b506103dd610a733660046129d1565b611819565b348015610a8457600080fd5b506103dd610a933660046129ea565b6118da565b348015610aa457600080fd5b506104b7610ab3366004612a58565b602052637f5e9f20600c908152600091909152603490205490565b348015610ada57600080fd5b506104b760015481565b348015610af057600080fd5b50610442610aff366004612835565b6001600160a01b03166000908152600860205260409020546301000000900460ff1690565b348015610b3057600080fd5b506103dd6119f6565b6103dd610b47366004612835565b611a13565b6103dd610b5a366004612835565b611a50565b348015610b6b57600080fd5b506103dd610b7a3660046129d1565b611a77565b348015610b8b57600080fd5b506104b760025481565b348015610ba157600080fd5b506103dd610bb0366004612835565b611ab4565b348015610bc157600080fd5b50610442610bd0366004612835565b6001600160a01b031660009081526008602052604090205460ff1690565b348015610bfa57600080fd5b506104b7610c09366004612835565b63389a75e1600c908152600091909152602090205490565b610c29611bae565b6001600160a01b038116610c50576040516329fb3cc760e01b815260040160405180910390fd5b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610c97573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cbb9190612a86565b60405163a9059cbb60e01b8152336004820152602481018290529091506001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610d0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2f9190612a9f565b505050565b600082602052637f5e9f20600c5233600052816034600c205581600052602c5160601c33600080516020612ca383398151915260206000a35060015b92915050565b610d7e611bae565b6007546301000000900460ff1615610da95760405163078718a160e21b815260040160405180910390fd5b600081610db68486612ad2565b610dc09190612ad2565b905060638160ff161115610de757604051633b2b3d0d60e11b815260040160405180910390fd5b600654610100900460ff16600082610e00876064612aeb565b610e0a9190612b24565b9050600083610e1a876064612aeb565b610e249190612b24565b9050600081610e34846064612b46565b610e3e9190612b46565b6040805160a0808201835260ff89811680845289821660208086018290528984168688018190528b85166060808901829052958a1660809889018190526006805461ffff1916871761010087021763ffff0000191662010000850263ff000000191617630100000084021764ff000000001916600160201b83021790558951958652928501939093529683019190915291810194909452918301919091529192507f915ac3e5f77909369f87ce47547f18125470366dc615fc4cce4b5fc0bb7ca23891015b60405180910390a15050505050505050565b60008360601b33602052637f5e9f208117600c52506034600c2080546000198114610f565780841115610f50576313be252b6000526004601cfd5b83810382555b5050610f63848484611be6565b5060019392505050565b60006202a30067ffffffffffffffff164201905063389a75e1600c5233600052806020600c2055337fdbf36a107da19e49527a7176a1babf963b4b0ff8cde35ee35d6cd8f1f9ac7e1d600080a250565b60408051808201918290527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81527f6782920cb5bd63a2edee3bb8320cef135a5e89bf448e0f6517b4f208662de14760208201527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc690915246606082015230608082015260a0902090565b600082602052637f5e9f20600c52336000526034600c2080548381018181101561107a5763f90670666000526004601cfd5b80835580600052505050602c5160601c33600080516020612ca383398151915260206000a350600192915050565b6110b0611bae565b6007546301000000900460ff16156110db5760405163078718a160e21b815260040160405180910390fd5b6000816110e88486612ad2565b6110f29190612ad2565b905060638160ff16111561111957604051633b2b3d0d60e11b815260040160405180910390fd5b60065460ff1660008261112d876064612aeb565b6111379190612b24565b9050600083611147876064612aeb565b6111519190612b24565b9050600081611161846064612b46565b61116b9190612b46565b6040805160a0808201835260ff8881168084528a821660208086018290528984168688018190528b85166060808901829052958a1660809889018190526006805461ffff1916871761010087021763ffff0000191662010000850263ff000000191617630100000084021764ff000000001916600160201b83021790558951958652928501939093529683019190915291810194909452918301919091529192507f915ac3e5f77909369f87ce47547f18125470366dc615fc4cce4b5fc0bb7ca2389101610f03565b63389a75e1600c523360005260006020600c2055337ffa7b8eab7da67f412cc9575ed43464468f9bfbae89d1675917346ca6d8fe3c92600080a2565b611278611bae565b6007805462ff0000191662010000179055565b611293611bae565b6001600160a01b0381166112ba5760405163b6b68a5560e01b815260040160405180910390fd5b600380546001600160a01b038381166001600160a01b03198316811790935560405191169182917f2f3ca3453b7d8897fc1a6631f72ca1a8f0067453ed400bb4235b7140345f375990600090a35050565b611313612146565b61131d6000612161565b565b611327611bae565b6007805460ff19169055565b61133b611bae565b6001600160a01b03821660008181526008602052604090819020805484151563010000000263ff00000019909116179055517fe0a7c1f8826ab3d62a6e242681ccca3828462e5c87816004b9f8d655b22d5f089061139e90841515815260200190565b60405180910390a25050565b6113b2611bae565b6001600160a01b03166000908152600860205260409020805460ff19169055565b6113db611bae565b6001600160a01b0381166114025760405163b6b68a5560e01b815260040160405180910390fd5b600480546001600160a01b038381166001600160a01b03198316811790935560405191169182917fd9a2a08302ed3220f4e646ff99d6780d87e27baddf1af05679dc930ce811309590600090a35050565b61145b611bae565b604051600090339047908381818185875af1925050503d806000811461149d576040519150601f19603f3d011682016040523d82523d6000602084013e6114a2565b606091505b50509050806114c457604051635fc9152360e01b815260040160405180910390fd5b50565b6114cf611bae565b6114da43600a612b5f565b6007805464ff00000000196001600160d81b039390931665010000000000029290921663ffffffff90921691909117600160201b179055565b61151b611bae565b600780549115156101000261ff0019909216919091179055565b6103e861154e676765c793fa10079d601b1b6005612b7f565b6115589190612b96565b81565b611558620186a0676765c793fa10079d601b1b612b96565b61157b611bae565b7f0000000000000000000000007c96c49fa1ba16d1f64d47c9dee0c330a51000446001600160a01b0316826001600160a01b0316036115cd57604051631e5ad4e160e31b815260040160405180910390fd5b6001600160a01b0382166000818152600860205260409081902080548415156101000261ff0019909116179055517fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab9061139e90841515815260200190565b600082602052637f5e9f20600c52336000526034600c2080548381101561165b57638301ab386000526004601cfd5b8381039050808255806000525050602c5160601c33600080516020612ca383398151915260206000a350600192915050565b600061169a338484611be6565b50600192915050565b6116ab611bae565b6103e86116c4676765c793fa10079d601b1b6005612b7f565b6116ce9190612b96565b8110156116ee5760405163198d0e3d60e11b815260040160405180910390fd5b600080549082905560408051838152602081018390527fd40d861b6c61fb22040b4eb8de22cc4c267673593fef5c5880e2f55e75ef454891015b60405180910390a15050565b61173c611bae565b6001600160a01b038216600081815260086020526040908190208054841515620100000262ff000019909116179055517f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df79061139e90841515815260200190565b6117a5611bae565b6117bb6064676765c793fa10079d601b1b612b96565b8110156117db576040516318f5167960e21b815260040160405180910390fd5b600280549082905560408051838152602081018390527f0a7c714b6801281a6e2610a6371ac6a5da9a5947616d74f4aa3ad1d289278e739101611728565b611821611bae565b611839620186a0676765c793fa10079d601b1b612b96565b81101561185957604051633e93343f60e11b815260040160405180910390fd5b6103e8611872676765c793fa10079d601b1b6005612b7f565b61187c9190612b96565b81111561189c5760405163307357b160e01b815260040160405180910390fd5b600180549082905560408051838152602081018390527febb96427ceba6a46f9f71146db5c30bc7e2fe31285e9bf34b38bbdede7cd5ea19101611728565b60006118e4610fbd565b9050604051854211156118ff57631a15a3cc6000526004601cfd5b8860601b60601c98508760601b60601c97506338377508600c52886000526020600c2080546001810182557f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c983528a602084015289604084015288606084015280608084015250508560a08201526119016000528160205260c081206040526042601e206000528460ff1660205283604052826060526020806080600060015afa50883d51146119b75763ddafbaef6000526004601cfd5b6303faf4f960a51b88176040526034602c208790558789600080516020612ca3833981519152602060608501a360405250506000606052505050505050565b6119fe611bae565b6007805463ff00000019166301000000179055565b611a1b612146565b63389a75e1600c52806000526020600c208054421115611a4357636f5e88186000526004601cfd5b600090556114c481612161565b611a58612146565b8060601b611a6e57637448fbae6000526004601cfd5b6114c481612161565b611a7f611bae565b600081600003611aa257506387a211a2600c908152306000526020902054611aa5565b50805b611ab030338361219f565b5050565b611abc611bae565b60075462010000900460ff1615611ae657604051633b654f9b60e21b815260040160405180910390fd5b7f0000000000000000000000007c96c49fa1ba16d1f64d47c9dee0c330a51000446001600160a01b0316816001600160a01b031603611b3857604051633cbbdc4560e01b815260040160405180910390fd5b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b0316816001600160a01b031603611b8a5760405163a11e3bdf60e01b815260040160405180910390fd5b6001600160a01b03166000908152600860205260409020805460ff19166001179055565b638b78c6d819546001600160a01b0316336001600160a01b03161461131d57604051633c3a5a0f60e01b815260040160405180910390fd5b6001600160a01b038316611c0d57604051635fed43eb60e01b815260040160405180910390fd5b6001600160a01b038216611c34576040516360019c8360e01b815260040160405180910390fd5b6001600160a01b038381166000908152600860208181526040808420815160808082018452915460ff808216151583526101008083048216151584880152620100008084048316151585880152630100000093849004831615156060808701919091529a8d168a5297875297859020855180860187529054808316151582528981048316151582890152888104831615158288015283900482161515818b0152855160c08101875260075480841615158252998a048316151597810197909752968804811615159486019490945286048316151596840196909652600160201b85049091161515908201819052650100000000009093046001600160d81b031660a08201529091611d6a578260400151611d6a578160400151611d6a5760405163c934ac4f60e01b815260040160405180910390fd5b825115611d8a576040516351fa79f160e01b815260040160405180910390fd5b815115611daa57604051631209203160e01b815260040160405180910390fd5b83600003611dba57505050505050565b6000836040015180611dcd575082604001515b602085015190915060039015611de557506001611df3565b836020015115611df3575060025b600454600160a01b900460ff16611f6c57825115611f13578060ff166001148015611e2057508360600151155b15611e8d57600054861115611e4857604051632d143c7f60e01b815260040160405180910390fd5b6002546387a211a2600c90815260008990526020902054611e699088612baa565b1115611e8857604051631bb98aa760e11b815260040160405180910390fd5b611f13565b8060ff166002148015611ea257508460600151155b15611eca57600054861115611e885760405163b247ed3360e01b815260040160405180910390fd5b8360600151611f13576002546387a211a2600c90815260008990526020902054611ef49088612baa565b1115611f1357604051631bb98aa760e11b815260040160405180910390fd5b826020015115611f6c578060ff16600203611f6c576001546387a211a2600c90815230600052602090205410611f6c576004805460ff60a01b1916600160a01b179055611f5e61221a565b6004805460ff60a01b191690555b60038160ff16101561213157600454600160a01b900460ff16158215611f90575060005b6000811561212e576040805160a08101825260065460ff80821683526101008204811660208401526201000082048116938301939093526301000000810483166060830152600160201b90048216608082015290841660020361202157602081015160ff161561201c576064816020015160ff168a61200f9190612b7f565b6120199190612b96565b91505b612055565b8360ff1660010361205557805160ff16156120555780516064906120489060ff168b612b7f565b6120529190612b96565b91505b8560a001516001600160d81b031643101561210f576000438760a001516001600160d81b03166120859190612bbd565b9050605a60128210156120b55761209d826012612bbd565b6120a8906005612b7f565b6120b29082612bbd565b90505b600060646120c3838e612b7f565b6120cd9190612b96565b6004549091506120e8908f906001600160a01b03168361219f565b6120f2818d612bbd565b9b5080600560008282546121069190612baa565b90915550505050505b612119828a612bbd565b9850811561212c5761212c8b308461219f565b505b50505b61213c88888861219f565b5050505050505050565b638b78c6d81954331461131d576382b429006000526004601cfd5b638b78c6d81980546001600160a01b039092169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0600080a355565b8260601b6387a211a28117600c526020600c208054808411156121ca5763f4d678b86000526004601cfd5b83810382555050826000526020600c208281540181555081602052600c5160601c8160601c7fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef602080a350505050565b6387a211a2600c9081523060009081526020909120546040805160a08101825260065460ff80821683526101008204811660208401526201000082048116938301939093526301000000810483166060830152600160201b90049091166080820152909150600082810361228d57505050565b6000600154601461229e9190612b7f565b9050808411156122ac578093505b60006064846040015160ff16866122c39190612b7f565b6122cd9190612b96565b905060006122dc600283612b96565b6122e69083612bbd565b905060006122f48288612bbd565b9050476123008261251e565b600061230c8247612bbd565b905060006064896060015160ff16836123259190612b7f565b61232f9190612b96565b9050600060648a6080015160ff16846123489190612b7f565b6123529190612b96565b90506000816123618486612bbd565b61236b9190612bbd565b905060008711801561237d5750600081115b156123c65761238c87826126de565b60408051878152602081018390527f28fc98272ce761178794ad6768050fea1648e07f1e2ffe15afd3a290f8381486910160405180910390a15b6004546040516001600160a01b039091169081908490600081818185875af1925050503d8060008114612415576040519150601f19603f3d011682016040523d82523d6000602084013e61241a565b606091505b5050809b50508a61246957806001600160a01b03167f9bfe91b808be96695c12877c36c671453aea08db33f57006854314e50bfddf5d8460405161246091815260200190565b60405180910390a25b831561250f576003546040516001600160a01b03909116908590600081818185875af1925050503d80600081146124bc576040519150601f19603f3d011682016040523d82523d6000602084013e6124c1565b606091505b5050809b50508a61250f576003546040518581526001600160a01b03909116907f9bfe91b808be96695c12877c36c671453aea08db33f57006854314e50bfddf5d9060200160405180910390a25b50505050505050505050505050565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061255357612553612bd0565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125d1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906125f59190612be6565b8160018151811061260857612608612bd0565b60200260200101906001600160a01b031690816001600160a01b031681525050612653307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846127df565b60405163791ac94760e01b81526001600160a01b037f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d169063791ac947906126a8908590600090869030904290600401612c03565b600060405180830381600087803b1580156126c257600080fd5b505af11580156126d6573d6000803e3d6000fd5b505050505050565b612709307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d846127df565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d71982308560008061274b638b78c6d8195490565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156127b3573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906127d89190612c74565b5050505050565b8260601b82602052637f5e9f208117600c52816034600c205581600052602c5160601c8160601c600080516020612ca383398151915260206000a350505050565b6001600160a01b03811681146114c457600080fd5b60006020828403121561284757600080fd5b813561285281612820565b9392505050565b600060208083528351808285015260005b818110156128865785810183015185820160400152820161286a565b506000604082860101526040601f19601f8301168501019250505092915050565b600080604083850312156128ba57600080fd5b82356128c581612820565b946020939093013593505050565b803560ff811681146128e457600080fd5b919050565b6000806000606084860312156128fe57600080fd5b612907846128d3565b9250612915602085016128d3565b9150612923604085016128d3565b90509250925092565b60008060006060848603121561294157600080fd5b833561294c81612820565b9250602084013561295c81612820565b929592945050506040919091013590565b80151581146114c457600080fd5b6000806040838503121561298e57600080fd5b823561299981612820565b915060208301356129a98161296d565b809150509250929050565b6000602082840312156129c657600080fd5b81356128528161296d565b6000602082840312156129e357600080fd5b5035919050565b600080600080600080600060e0888a031215612a0557600080fd5b8735612a1081612820565b96506020880135612a2081612820565b95506040880135945060608801359350612a3c608089016128d3565b925060a0880135915060c0880135905092959891949750929550565b60008060408385031215612a6b57600080fd5b8235612a7681612820565b915060208301356129a981612820565b600060208284031215612a9857600080fd5b5051919050565b600060208284031215612ab157600080fd5b81516128528161296d565b634e487b7160e01b600052601160045260246000fd5b60ff8181168382160190811115610d7057610d70612abc565b60ff8181168382160290811690818114612b0757612b07612abc565b5092915050565b634e487b7160e01b600052601260045260246000fd5b600060ff831680612b3757612b37612b0e565b8060ff84160491505092915050565b60ff8281168282160390811115610d7057610d70612abc565b6001600160d81b03818116838216019080821115612b0757612b07612abc565b8082028115828204841417610d7057610d70612abc565b600082612ba557612ba5612b0e565b500490565b80820180821115610d7057610d70612abc565b81810381811115610d7057610d70612abc565b634e487b7160e01b600052603260045260246000fd5b600060208284031215612bf857600080fd5b815161285281612820565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015612c535784516001600160a01b031683529383019391830191600101612c2e565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215612c8957600080fd5b835192506020840151915060408401519050925092509256fe8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a2646970667358221220798c99de2781b768fef5c15d2760fbcb025d454ea9ae390c47412c9c16eca6b864736f6c63430008130033

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

0000000000000000000000006c22b5ddc03ac3ed9714e313ba716feb92771a4e0000000000000000000000006c22b5ddc03ac3ed9714e313ba716feb92771a4e0000000000000000000000006c22b5ddc03ac3ed9714e313ba716feb92771a4e0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : ownerWallet (address): 0x6c22b5dDC03AC3ed9714e313Ba716feB92771A4e
Arg [1] : teamWallet_ (address): 0x6c22b5dDC03AC3ed9714e313Ba716feB92771A4e
Arg [2] : frengateWallet_ (address): 0x6c22b5dDC03AC3ed9714e313Ba716feB92771A4e
Arg [3] : routerAddress (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000006c22b5ddc03ac3ed9714e313ba716feb92771a4e
Arg [1] : 0000000000000000000000006c22b5ddc03ac3ed9714e313ba716feb92771a4e
Arg [2] : 0000000000000000000000006c22b5ddc03ac3ed9714e313ba716feb92771a4e
Arg [3] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.