POL Price: $0.695409 (-2.25%)
 

Overview

POL Balance

Polygon PoS Chain LogoPolygon PoS Chain LogoPolygon PoS Chain Logo0 POL

POL Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

Parent Transaction Hash Block From To
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
PPY_V4

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : PPY_V4.sol
/**
    Patriot Pay:
    Initial Supply: 40,000,000,000 (40 Billion)
*/

// SPDX-License-Identifier: UNLICENSED

pragma solidity ^0.8.10;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts-upgradeable/utils/math/SafeMathUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

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;
}

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);
}

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;
}

contract PPY_V4 is Initializable, ERC20Upgradeable, OwnableUpgradeable  {
    using SafeMathUpgradeable for uint256;

    mapping (address => bool) private _excludedFromFee;
    mapping (address => bool) public  preTrader;
    mapping (address => bool) private _VIPWallet;
    mapping (address => bool) private _blacklist;
    mapping (address => bool) public excludedFromAntibot;

    uint256 private _totalSupply;
    
    uint8 public buyCharityCommunityFee;
    uint8 public buyOperationsFee;
    uint8 public buyLPFee;
    uint8 public buyTeamFees;

    uint8 public sellCharityCommunityFee ;
    uint8 public sellOperationsFee;
    uint8 public sellLPFee;
    uint8 public sellTeamFees;

    uint8 public transferCharityCommunityFee;
    uint8 public transferOperationsFee;
    uint8 public transferLPFee;
    uint8 public transferTeamFees;

    // Fee for VIP
    uint8 public transferCharityCommunityFeeForVIP;
    uint8 public transferOperationsFeeForVIP;
    uint8 public transferLPFeeForVIP;
    uint8 public transferTeamFeesForVIP;

    // Antibot Fee for Sell
    uint8 public sellCharityCommunityFeeForAntibot;
    uint8 public sellOperationsFeeForAntibot;
    uint8 public sellLPFeeForAntibot;
    uint8 public sellTeamFeesForAntibot;

    uint256 public tokensForCharityCommunity;
    uint256 public tokensForOperations;
    uint256 public tokensForLP;

    // Antibot Fee Time
    uint256 public _antibotFeeTime; // by seconds units
    mapping (address => uint256) private _holderFirstBuyTimestamp;

    IUniswapV2Router02 public  uniswapV2Router;
    address public  uniswapV2Pair;
    address public stableTokenAddress;  // address of the stable token

    address private constant SWAP_V2_ROUTER = address(0xa5E0829CaCEd8fFDD4De3c43696c57F7D7A678ff);
    address payable public charityCommunityAddress;
    address payable public operationsAddress;
    
    uint256 public maxTxAmount;
    uint256 public minAmountToSwap;

    bool public isTradingEnabled ;
    bool private _isSwapping;
    bool public isAutoSwapEnabledForTeam ;
    bool public isAutoSwapEnabledForVIP ;
    bool public isAntibotEnabled;

    // Upgrades - new state variables must be added to the end to maintain proxy slot order!
    mapping(address => bool) private _isSmartWalletAgent;
    mapping(address => bool) private _isExchangeOperator;
    mapping(address => bool) private _isExchangePayout;
    mapping(address => bool) private _isRecipientWithFee;

    event SetAutoSwapEnabled(bool status);
    event SetAutoSwapEnabledForVIP(bool status);
    event AddLiquidity(uint256 contractTokens, uint256 tokensSwapped);

    modifier lockSwap {
        _isSwapping = true;
        _;
        _isSwapping = false;
    }

    // to recieve MATIC
    receive() external payable {}

    function initialize() public initializer {
        // Initialize the ERC20 token with a name and symbol
        __ERC20_init("Patriot Pay", "PPY");

        // Initialize other state variables and settings here
        _totalSupply = 40000000000 * 10**18;
        buyCharityCommunityFee = 1;
        buyOperationsFee = 5;
        buyLPFee = 2;
        sellCharityCommunityFee = 1;
        sellOperationsFee = 5;
        sellLPFee = 2;
        
        transferCharityCommunityFee = 1;
        transferOperationsFee = 5;
        transferLPFee = 2;

        // Fee for VIP
        transferCharityCommunityFeeForVIP = 1;
        transferOperationsFeeForVIP = 5;
        transferLPFeeForVIP = 2;

        // Antibot Fee for Sell
        sellCharityCommunityFeeForAntibot = 8;
        sellOperationsFeeForAntibot = 20;
        sellLPFeeForAntibot = 2;

        _antibotFeeTime = 86400; 

        maxTxAmount = 100000000 * 10**18;
        minAmountToSwap = 1000000 * 10**18;

        isTradingEnabled = false;
        _isSwapping = false;
        isAutoSwapEnabledForTeam = false;
        isAutoSwapEnabledForVIP = false;
        isAntibotEnabled = true;

        charityCommunityAddress = payable(0x92666f8161F2F204E55E2A77223Bc2655468723F);
        operationsAddress = payable(0x3731fB024964d0c7a189e95C3Da7DABAdc275C9d);        

        // Mint the initial supply to the owner
        uniswapV2Router = IUniswapV2Router02(SWAP_V2_ROUTER);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory()).createPair(address(this), uniswapV2Router.WETH());
        _transferOwnership(0xba8bD6A7aA2F6050b7Cd14e0B195B1905dDed677);
        stableTokenAddress = address(0xc2132D05D31c914a87C6611C10748AEb04B58e8F); // USDT address as default

        buyTeamFees = buyCharityCommunityFee + buyOperationsFee + buyLPFee;
        sellTeamFees = sellCharityCommunityFee + sellOperationsFee + sellLPFee;
        sellTeamFeesForAntibot = sellCharityCommunityFeeForAntibot + sellOperationsFeeForAntibot + sellLPFeeForAntibot;
        transferTeamFees = transferCharityCommunityFee + transferOperationsFee + transferLPFee;
        transferTeamFeesForVIP = transferCharityCommunityFeeForVIP + transferOperationsFeeForVIP + transferLPFeeForVIP;
       
        // exclude owner and this contract from fee
        _excludedFromFee[owner()] = true;
        _excludedFromFee[address(this)] = true;

        preTrader[owner()] = true;
        preTrader[address(this)] = true;

        _mint(0xba8bD6A7aA2F6050b7Cd14e0B195B1905dDed677, _totalSupply);

    }

    function enableTrading(bool status) external onlyOwner {
        isTradingEnabled = status;
    }

    function managePreTrading(address account, bool status) external onlyOwner {
        preTrader[account] = status;
    }

    function excludeWalletFromAntibot(address account, bool status) external onlyOwner {
        excludedFromAntibot[account] = status;
    }

    function isExcludedFromFee(address account) external view returns(bool) {
        return _excludedFromFee[account];
    }

    function excludeFromFee(address account) external onlyOwner {
        _excludedFromFee[account] = true;
    }
    
    function includeInFee(address account) external onlyOwner {
        _excludedFromFee[account] = false;
    }

    function isVIPWallet(address account) external view returns(bool) {
        return _VIPWallet[account];
    }

    function excludeFromVIP(address account) external onlyOwner {
        _VIPWallet[account] = false;
    }
    
    function includeInVIP(address account) external onlyOwner {
        _VIPWallet[account] = true;
    }

    function checkBlacklist(address account) external view returns (bool) {
        return _blacklist[account];
    }

    function addToBlacklist(address account) external onlyOwner {
        _blacklist[account] = true;
    }
    
    function removeFromBlacklist(address account) external onlyOwner {
        _blacklist[account] = false;
    }
    
    /** 
    * @dev Set fees of CharityCommunity, Operations, LP when buying
    *
    * @param charityCommunityFee: CharityCommunity fee. ex: `1`. 
    * @param operationsFee: Operations fee. ex: `5`.
    * @param lpFee: Liquidity Pool fee. ex: `2`.
    */
    function setBuyFeesPercent(uint8 charityCommunityFee, uint8 operationsFee, uint8 lpFee) external onlyOwner {
        buyCharityCommunityFee = charityCommunityFee;
        buyOperationsFee = operationsFee;
        buyLPFee = lpFee;
        buyTeamFees = buyCharityCommunityFee + buyOperationsFee + buyLPFee;
    }

    /** 
    * @dev Set fees of CharityCommunity, Operations, LP when selling
    *
    * @param charityCommunityFee: CharityCommunity fee. ex: `1`. 
    * @param operationsFee: Operations fee. ex: `5`.
    * @param lpFee: Liquidity Pool fee. ex: `2`.
    */
    function setSellFeesPercent(uint8 charityCommunityFee, uint8 operationsFee, uint8 lpFee) external onlyOwner {
        sellCharityCommunityFee = charityCommunityFee;
        sellOperationsFee = operationsFee;
        sellLPFee = lpFee;
        sellTeamFees = sellCharityCommunityFee + sellOperationsFee + sellLPFee;
    }

    /** 
    * @dev Set antibot fees of CharityCommunity, Operations, LP when selling
    *
    * @param charityCommunityFee: CharityCommunity fee. ex: `8`. 
    * @param operationsFee: Operations fee. ex: `20`.
    * @param lpFee: Liquidity Pool fee. ex: `2`.
    */
    function setSellFeesPercentForAntibot(uint8 charityCommunityFee, uint8 operationsFee, uint8 lpFee) external onlyOwner {
        sellCharityCommunityFeeForAntibot = charityCommunityFee;
        sellOperationsFeeForAntibot = operationsFee;
        sellLPFeeForAntibot = lpFee;
        sellTeamFeesForAntibot = sellCharityCommunityFeeForAntibot + sellOperationsFeeForAntibot + sellLPFeeForAntibot;
    }

    /** 
    * @dev Set fees of CharityCommunity, Operations, LP when transfering
    *
    * @param charityCommunityFee: CharityCommunity fee. ex: `1`. 
    * @param operationsFee: Operations fee. ex: `5`.
    * @param lpFee: Liquidity Pool fee. ex: `2`.
    */
    function setTransferFeesPercent(uint8 charityCommunityFee, uint8 operationsFee, uint8 lpFee) external onlyOwner {
        transferCharityCommunityFee = charityCommunityFee;
        transferOperationsFee = operationsFee;
        transferLPFee = lpFee;
        transferTeamFees = transferCharityCommunityFee + transferOperationsFee + transferLPFee;
    }

    /** 
    * @dev Set fees of CharityCommunity, Operations, LP for VIP when transfering
    *
    * @param charityCommunityFee: CharityCommunity fee. ex: `1`. 
    * @param operationsFee: Operations fee. ex: `5`.
    * @param lpFee: Liquidity Pool fee. ex: `2`.
    */
    function setTransferFeesPercentForVIP(uint8 charityCommunityFee, uint8 operationsFee, uint8 lpFee) external onlyOwner {
        transferCharityCommunityFeeForVIP = charityCommunityFee;
        transferOperationsFeeForVIP = operationsFee;
        transferLPFeeForVIP = lpFee;
        transferTeamFeesForVIP = transferCharityCommunityFeeForVIP + transferOperationsFeeForVIP + transferLPFeeForVIP;
    }

    /**
    * @param maxTxPercent: Max transaction percentage. ex: `2`.
    */
    function setMaxTxPercent(uint8 maxTxPercent) external onlyOwner {
        require(maxTxPercent < 100, "ERROR: Should be less than 100.");
        maxTxAmount = _totalSupply.mul(maxTxPercent).div(100);
    }
    
    /**
    * @param maxTxExact: Max transaction amounts. ex: `100000000`.
    * R3JhbnQgaXMgYSBseWluZyBkb3VjaGViYWcu
    */
    function setMaxTxExact(uint256 maxTxExact) external onlyOwner {
        maxTxAmount = maxTxExact;
    }

    /**
    * @param minAmountToSwapExact: Min amounts to swap. ex: `100000000`.
    */
    function setMinAmountToSwap(uint256 minAmountToSwapExact) external onlyOwner {
        minAmountToSwap = minAmountToSwapExact;
    }
    
    function setCharityCommunityAddress(address account) external onlyOwner {
        require(charityCommunityAddress != account, "ERROR: Can not set to same address.");
        charityCommunityAddress = payable(account);
    }
    
    function setOperationsAddress(address account) external onlyOwner {
        require(operationsAddress != account, "ERROR: Can not set to same address.");
        operationsAddress = payable(account);
    }
    
    function setAutoSwapEnabled(bool status) external onlyOwner {
        isAutoSwapEnabledForTeam = status;

        emit SetAutoSwapEnabled(status);
    }
    
    function setAutoSwapEnabledForStableToken(bool status) external onlyOwner {
        isAutoSwapEnabledForVIP = status;

        emit SetAutoSwapEnabledForVIP(status);
    }
    
    function setStableTokenAddress(address account) external onlyOwner {
        require(stableTokenAddress != account, "ERROR: Can not set to same address.");
        stableTokenAddress = account;
    }

    function setAntibotEnabled(bool status) external onlyOwner {
        isAntibotEnabled = status;
    }
    
    // Get Buy time
    function getBuyTime(address account) external view returns (uint256) {
        return _holderFirstBuyTimestamp[account];
    }

    // Set Antibot Fee Time
    function setAntibotFeeTime(uint256 time) external onlyOwner {
        _antibotFeeTime = time;
    }

    // Add smart wallet agent
    function addSmartWalletAgent(address agent) external onlyOwner {
        require(agent != address(0), "PPY: agent is the zero address");
        _isSmartWalletAgent[agent] = true;
    }

    // Remove smart wallet agent
    function removeSmartWalletAgent(address agent) external onlyOwner {
        require(agent != address(0), "PPY: agent is the zero address");
        _isSmartWalletAgent[agent] = false;
    }

    // Check if an address is a smart wallet agent
    function isSmartWalletAgent(address agent) external view returns (bool) {
        return _isSmartWalletAgent[agent];
    }

    // Add exchange operator
    function addExchangeOperator(address operator) external onlyOwner {
        require(operator != address(0), "PPY: operator is the zero address");
        _isExchangeOperator[operator] = true;
    }

    // Remove exchange operator
    function removeExchangeOperator(address operator) external onlyOwner {
        require(operator != address(0), "PPY: operator is the zero address");
        _isExchangeOperator[operator] = false;
    }

    // Check if an address is an exchange operator
    function isExchangeOperator(address operator) external view returns (bool) {
        return _isExchangeOperator[operator];
    }

    // Add exchange payout address
    function addExchangePayout(address payout) external onlyOwner {
        require(payout != address(0), "PPY: payout is the zero address");
        _isExchangePayout[payout] = true;
    }

    // Remove exchange payout address
    function removeExchangePayout(address payout) external onlyOwner {
        require(payout != address(0), "PPY: payout is the zero address");
        _isExchangePayout[payout] = false;
    }

    // Check if an address is an exchange payout address
    function isExchangePayout(address payout) external view returns (bool) {
        return _isExchangePayout[payout];
    }

    // Add recipient with fee address
    function addRecipientWithFee(address recipient) external onlyOwner {
        require(recipient != address(0), "PPY: recipient is the zero address");
        _isRecipientWithFee[recipient] = true;
    }

    // Remove recipient with fee address
    function removeRecipientWithFee(address recipient) external onlyOwner {
        require(recipient != address(0), "PPY: recipient is the zero address");
        _isRecipientWithFee[recipient] = false;
    }

    // Check if an address is a recipient with fee address
    function isRecipientWithFee(address recipient) external view returns (bool) {
        return _isRecipientWithFee[recipient];
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        require(!_blacklist[from] && !_blacklist[to], "Your account is blacklisted.");

        if (from != owner() && to != owner()) {
            require(amount <= maxTxAmount, "Transfer amount exceeds the maxTxAmount.");

            if (!isTradingEnabled) {
                require(preTrader[from] || preTrader[to], "Trading is not enabled.");
            }
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        bool canSwap = contractTokenBalance >= minAmountToSwap;

        if (canSwap && isAutoSwapEnabledForTeam &&
            !_isSwapping && from != uniswapV2Pair &&
            to != uniswapV2Pair && !_VIPWallet[to]) {
            _swapAndSend(contractTokenBalance);
        }

        bool takeFee = true;
        
        // remove fee for _isExcludedFromFee accounts
        if (_excludedFromFee[from] || _excludedFromFee[to]) {
            takeFee = false;
        }

        uint256 tokensForTeam = 0;
        if (takeFee || _isSmartWalletAgent[from] || _isRecipientWithFee[to] || _VIPWallet[to] || (_isExchangePayout[from] && !_isExchangeOperator[to])) {
            // on buy
            if (from == uniswapV2Pair) {
                _holderFirstBuyTimestamp[to] = block.timestamp;

                if (buyTeamFees > 0) {
                    tokensForTeam = amount.mul(buyTeamFees).div(100);
                    getTokensForFee(amount, buyCharityCommunityFee, buyOperationsFee, buyLPFee);
                }
            }
            // on sell
            else if (to == uniswapV2Pair) {
                if (isAntibotEnabled &&
                    sellTeamFeesForAntibot > 0 &&
                    !excludedFromAntibot[from] &&
                    _holderFirstBuyTimestamp[from] != 0 &&
                    (_holderFirstBuyTimestamp[from] + _antibotFeeTime >= block.timestamp)
                ) {
                    tokensForTeam = amount.mul(sellTeamFeesForAntibot).div(100);
                    getTokensForFee(amount, sellCharityCommunityFeeForAntibot, sellOperationsFeeForAntibot, sellLPFeeForAntibot);
                } else if (sellTeamFees > 0) {
                    tokensForTeam = amount.mul(sellTeamFees).div(100);
                    getTokensForFee(amount, sellCharityCommunityFee, sellOperationsFee, sellLPFee);
                }
            }
            // on transfer
            else if (from != uniswapV2Pair && to != uniswapV2Pair) {
                if (_VIPWallet[to]) {
                    if (transferTeamFeesForVIP > 0) {
                        tokensForTeam = amount.mul(transferTeamFeesForVIP).div(100);
                        getTokensForFee(amount, transferCharityCommunityFeeForVIP, transferOperationsFeeForVIP, transferLPFeeForVIP);
                    }

                    if (isAutoSwapEnabledForVIP) {
                        if (tokensForTeam > 0) {
                            amount -= tokensForTeam;
                            super._transfer(from, address(this), tokensForTeam);
                        }

                        super._transfer(from, address(this), amount);
                        uint256 stableToken = _swapTokensFor(amount, stableTokenAddress);
                        _transferStableTokensToWallets(payable(to), stableToken);

                        return;
                    }
                } else if (transferTeamFees > 0) {
                    tokensForTeam = amount.mul(transferTeamFees).div(100);
                    getTokensForFee(amount, transferCharityCommunityFee, transferOperationsFee, transferLPFee);
                }
            }

            if (tokensForTeam > 0) {
        	    amount -= tokensForTeam;
                super._transfer(from, address(this), tokensForTeam);
            }
        }

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

    function getTokensForFee(uint256 amount, uint256 charityCommunityFee, uint256 operationsFee, uint256 LPFee) private {
        tokensForCharityCommunity += amount.mul(charityCommunityFee).div(100);
        tokensForOperations += amount.mul(operationsFee).div(100);
        tokensForLP += amount.mul(LPFee).div(100);
    }
    
    /** 
    * @dev Swap for WMATIC.
    *
    * @param tokenAmount: Token amounts to be swapped.
    */
    function _swapTokensForWETH(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();

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

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

    /** 
    * @dev Swap Token -> WMATIC -> StableToken.
    *
    * @param tokenAmount: Token amounts to be swapped.
    */
    function _swapTokensForStableToken(uint256 tokenAmount) private {
        address[] memory path = new address[](3);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        path[2] = stableTokenAddress;

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

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

    function _swapTokensFor(uint256 amounts, address tokenDesiredToSwap ) private returns (uint256) {
        IERC20 stableToken = IERC20(stableTokenAddress);
        uint256 tokensSwapped = 0;

        if (tokenDesiredToSwap == stableTokenAddress) {
            uint256 initialStableTokenBalance = stableToken.balanceOf(address(this));
            _swapTokensForStableToken(amounts);
            tokensSwapped = stableToken.balanceOf(address(this)).sub(initialStableTokenBalance);
        } else {
            uint256 initialETHBalance = address(this).balance;
            _swapTokensForWETH(amounts);
            tokensSwapped = address(this).balance.sub(initialETHBalance);
        }

        return tokensSwapped;
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // 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 _swapAndSend(uint256 contractTokenBalance) private lockSwap {
        uint256 totalTokens = tokensForCharityCommunity.add(tokensForOperations).add(tokensForLP);

        uint256 tokenBalanceForLP = contractTokenBalance.mul(tokensForLP).div(totalTokens);
        uint256 halfTokensForLP = tokenBalanceForLP.div(2);
        uint256 tokensToSwap = contractTokenBalance.sub(halfTokensForLP);

        uint256 maticBalance = _swapTokensFor(tokensToSwap, uniswapV2Router.WETH());

        uint256 maticForCharityCommunity = maticBalance.mul(tokensForCharityCommunity).div(totalTokens);
        uint256 maticForOperations = maticBalance.mul(tokensForOperations).div(totalTokens);
        uint256 maticForLP = maticBalance.sub(maticForCharityCommunity).sub(maticForOperations);

        charityCommunityAddress.transfer(maticForCharityCommunity);

        // add liquidity
        if (halfTokensForLP > 0 && maticForLP > 0) {
            addLiquidity(halfTokensForLP, maticForLP);

            emit AddLiquidity(halfTokensForLP, maticForLP);
        }

        operationsAddress.transfer(address(this).balance);

        tokensForCharityCommunity = 0;
        tokensForOperations = 0;
        tokensForLP = 0;
    }

    function manualSwapForTeam() external onlyOwner {
        require(balanceOf(address(this)) > 0, "Balance must be greater than zero");

        uint256 contractTokenBalance = balanceOf(address(this));
        _swapAndSend(contractTokenBalance);
    }

    function transferEarmarkedTokens(address to, uint256 amount, uint256 fromCategory) external onlyOwner {
        require(fromCategory == 1 || fromCategory == 2, "Invalid category");
        require(to != address(0), "Cannot transfer to the zero address");

        // Transfer from category
        if (fromCategory == 1) { // CharityCommunity
            require(amount <= tokensForCharityCommunity, "Insufficient tokens for charity");
            tokensForCharityCommunity -= amount;
        } else if (fromCategory == 2) { // Operations
            require(amount <= tokensForOperations, "Insufficient tokens for operations");
            tokensForOperations -= amount;
        }

        super._transfer(address(this), to, amount);
    }

    /** 
    * @dev Send to recipient the converted stable token.
    *
    * @param recipient: Address to receive.
    * @param amount: Token amounts to transfer.
    */
    function _transferStableTokensToWallets(address payable recipient, uint256 amount) private {
        IERC20 stableToken = IERC20(stableTokenAddress);
        stableToken.transfer(recipient, amount);

        emit Transfer(address(this), recipient, amount);
    }
}

File 2 of 13 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

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

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

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 3 of 13 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```solidity
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 *
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts.
     *
     * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a
     * constructor.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * A reinitializer may be used after the original initialization step. This is essential to configure modules that
     * are added through upgrades and that require initialization.
     *
     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
     * cannot be nested. If one is invoked in the context of another, execution will revert.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     *
     * WARNING: setting the version to 255 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     *
     * Emits an {Initialized} event the first time it is successfully executed.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized != type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }

    /**
     * @dev Returns the highest version that has been initialized. See {reinitializer}.
     */
    function _getInitializedVersion() internal view returns (uint8) {
        return _initialized;
    }

    /**
     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
     */
    function _isInitializing() internal view returns (bool) {
        return _initializing;
    }
}

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

pragma solidity ^0.8.0;

import "./IERC20Upgradeable.sol";
import "./extensions/IERC20MetadataUpgradeable.sol";
import "../../utils/ContextUpgradeable.sol";
import "../../proxy/utils/Initializable.sol";

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[45] private __gap;
}

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

pragma solidity ^0.8.0;

import "../IERC20Upgradeable.sol";

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

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

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

File 6 of 13 : IERC20Upgradeable.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 IERC20Upgradeable {
    /**
     * @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 7 of 13 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 8 of 13 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;
import "../proxy/utils/Initializable.sol";

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

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 12 of 13 : 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 13 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"contractTokens","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"}],"name":"AddLiquidity","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"SetAutoSwapEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"SetAutoSwapEnabledForVIP","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"_antibotFeeTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"addExchangeOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"payout","type":"address"}],"name":"addExchangePayout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"addRecipientWithFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"agent","type":"address"}],"name":"addSmartWalletAgent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addToBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyCharityCommunityFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyLPFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyOperationsFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTeamFees","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"charityCommunityAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"checkBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromVIP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"excludeWalletFromAntibot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromAntibot","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getBuyTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInVIP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isAntibotEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAutoSwapEnabledForTeam","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAutoSwapEnabledForVIP","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"isExchangeOperator","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"payout","type":"address"}],"name":"isExchangePayout","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"isRecipientWithFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"agent","type":"address"}],"name":"isSmartWalletAgent","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isVIPWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"managePreTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"manualSwapForTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minAmountToSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operationsAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"preTrader","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"removeExchangeOperator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"payout","type":"address"}],"name":"removeExchangePayout","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"removeRecipientWithFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"agent","type":"address"}],"name":"removeSmartWalletAgent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellCharityCommunityFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellCharityCommunityFeeForAntibot","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLPFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellLPFeeForAntibot","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellOperationsFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellOperationsFeeForAntibot","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTeamFees","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTeamFeesForAntibot","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setAntibotEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"time","type":"uint256"}],"name":"setAntibotFeeTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setAutoSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"setAutoSwapEnabledForStableToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"charityCommunityFee","type":"uint8"},{"internalType":"uint8","name":"operationsFee","type":"uint8"},{"internalType":"uint8","name":"lpFee","type":"uint8"}],"name":"setBuyFeesPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setCharityCommunityAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxExact","type":"uint256"}],"name":"setMaxTxExact","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"maxTxPercent","type":"uint8"}],"name":"setMaxTxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minAmountToSwapExact","type":"uint256"}],"name":"setMinAmountToSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setOperationsAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"charityCommunityFee","type":"uint8"},{"internalType":"uint8","name":"operationsFee","type":"uint8"},{"internalType":"uint8","name":"lpFee","type":"uint8"}],"name":"setSellFeesPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"charityCommunityFee","type":"uint8"},{"internalType":"uint8","name":"operationsFee","type":"uint8"},{"internalType":"uint8","name":"lpFee","type":"uint8"}],"name":"setSellFeesPercentForAntibot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setStableTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"charityCommunityFee","type":"uint8"},{"internalType":"uint8","name":"operationsFee","type":"uint8"},{"internalType":"uint8","name":"lpFee","type":"uint8"}],"name":"setTransferFeesPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"charityCommunityFee","type":"uint8"},{"internalType":"uint8","name":"operationsFee","type":"uint8"},{"internalType":"uint8","name":"lpFee","type":"uint8"}],"name":"setTransferFeesPercentForVIP","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stableTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForCharityCommunity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForLP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensForOperations","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","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":[],"name":"transferCharityCommunityFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transferCharityCommunityFeeForVIP","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"fromCategory","type":"uint256"}],"name":"transferEarmarkedTokens","outputs":[],"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":[],"name":"transferLPFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transferLPFeeForVIP","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transferOperationsFee","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transferOperationsFeeForVIP","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferTeamFees","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transferTeamFeesForVIP","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","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"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506141ed806100206000396000f3fe6080604052600436106105115760003560e01c80637cc764cb11610297578063c5da56a311610165578063ea2f0b37116100cc578063f4f601a511610085578063f4f601a5146110e8578063f9158eef14611108578063fadd2b9714611141578063fb002c9714611157578063fbe3e3e21461116d578063fbf647ec1461118e57600080fd5b8063ea2f0b371461100f578063ea4cfe121461102f578063f1382f501461104f578063f275f64b14611088578063f2f3125f146110a8578063f2fde38b146110c857600080fd5b8063d5edc3d61161011e578063d5edc3d614610f1c578063d7eb444814610f3d578063dd62ed3e14610f5d578063dfebc0f714610f7d578063e37b13d214610f9d578063e6807ca914610fd657600080fd5b8063c5da56a314610e64578063c733da3b14610e85578063c912cc4614610ea5578063cceba87c14610ec6578063cf2f238714610edc578063d566df7614610efc57600080fd5b80639c36f77f11610209578063a9059cbb116101c2578063a9059cbb14610d64578063a9ebf10314610d84578063ab93d7dc14610dbd578063b104240114610ddd578063b3a19f1a14610e13578063bdd795ef14610e3457600080fd5b80639c36f77f14610ca35780639d952e6a14610cc3578063a18411ce14610ce3578063a457c2d714610d03578063a7142ccd14610d23578063a824fa0414610d4357600080fd5b80638da5cb5b1161025b5780638da5cb5b14610bed578063906e2a7014610c0b578063950b8f1b14610c2c57806395d89b4114610c4d57806399dd21ca14610c625780639bc7b49914610c8357600080fd5b80637cc764cb14610b525780638129fc1c14610b7257806382ad945314610b875780638a9e7ec914610bb75780638c0b5e2214610bd757600080fd5b80633a968fa9116103df5780635342acb41161034657806362b6c8a8116102ff57806362b6c8a814610a845780636775f6b414610aa557806370303c1d14610ac557806370a0823114610ae6578063712b1f9914610b1c578063715018a614610b3d57600080fd5b80635342acb4146109aa578063537df3b6146109e3578063549c2ab214610a0357806354bab87514610a2457806355eb569f14610a455780635a139dd414610a6557600080fd5b8063499b839411610398578063499b8394146108d057806349bd5a5e146108f05780634b2d8960146109105780634b9f3ee6146109305780634f77f6c0146109505780634f7a36a31461097157600080fd5b80633a968fa91461081b5780633da779f01461083b578063437823ec1461085b57806344337ea11461087b5780634527129b1461089b578063469e324e146108b057600080fd5b806313f43a57116104835780632b0a696d1161043c5780632b0a696d146107775780632c366bf714610797578063313ce567146107b157806336a15125146107c557806339509351146107db578063399d0b64146107fb57600080fd5b806313f43a57146106bd5780631694505e146106e157806318160ddd146107015780631bd46e3f14610716578063213b3ec91461073657806323b872dd1461075757600080fd5b8063091792e6116104d5578063091792e6146105e4578063095ea7b3146106045780630b67b03b146106245780630d03f9bc146106445780630d8aa12b1461067c57806313f1d6ff1461069d57600080fd5b806301411c9e1461051d57806302b2fee01461053f578063064a59d01461057757806306fdde03146105a15780630786a7cb146105c357600080fd5b3661051857005b600080fd5b34801561052957600080fd5b5061053d610538366004613bfe565b6111ae565b005b34801561054b57600080fd5b50609d54610560906301000000900460ff1681565b60405160ff90911681526020015b60405180910390f35b34801561058357600080fd5b5060aa546105919060ff1681565b604051901515815260200161056e565b3480156105ad57600080fd5b506105b6611240565b60405161056e9190613c41565b3480156105cf57600080fd5b50609d5461056090600160401b900460ff1681565b3480156105f057600080fd5b5061053d6105ff366004613c96565b6112d2565b34801561061057600080fd5b5061059161061f366004613cc4565b6112df565b34801561063057600080fd5b5061053d61063f366004613bfe565b6112f7565b34801561065057600080fd5b5060a554610664906001600160a01b031681565b6040516001600160a01b03909116815260200161056e565b34801561068857600080fd5b50609d5461056090600160701b900460ff1681565b3480156106a957600080fd5b5061053d6106b8366004613cf0565b611389565b3480156106c957600080fd5b506106d360a95481565b60405190815260200161056e565b3480156106ed57600080fd5b5060a354610664906001600160a01b031681565b34801561070d57600080fd5b506035546106d3565b34801561072257600080fd5b5061053d610731366004613d1b565b6113ea565b34801561074257600080fd5b50609d5461056090600160501b900460ff1681565b34801561076357600080fd5b50610591610772366004613d38565b611448565b34801561078357600080fd5b5061053d610792366004613c96565b61146c565b3480156107a357600080fd5b50609d546105609060ff1681565b3480156107bd57600080fd5b506012610560565b3480156107d157600080fd5b506106d3609e5481565b3480156107e757600080fd5b506105916107f6366004613cc4565b611479565b34801561080757600080fd5b5061053d610816366004613cf0565b61149b565b34801561082757600080fd5b5060aa546105919062010000900460ff1681565b34801561084757600080fd5b5061053d610856366004613cf0565b6114c7565b34801561086757600080fd5b5061053d610876366004613cf0565b611549565b34801561088757600080fd5b5061053d610896366004613cf0565b611575565b3480156108a757600080fd5b5061053d6115a1565b3480156108bc57600080fd5b5061053d6108cb366004613cf0565b61162c565b3480156108dc57600080fd5b5061053d6108eb366004613cf0565b611655565b3480156108fc57600080fd5b5060a454610664906001600160a01b031681565b34801561091c57600080fd5b5061053d61092b366004613cf0565b6116ad565b34801561093c57600080fd5b5061053d61094b366004613d79565b611705565b34801561095c57600080fd5b50609d5461056090600160281b900460ff1681565b34801561097d57600080fd5b5061059161098c366004613cf0565b6001600160a01b031660009081526099602052604090205460ff1690565b3480156109b657600080fd5b506105916109c5366004613cf0565b6001600160a01b031660009081526097602052604090205460ff1690565b3480156109ef57600080fd5b5061053d6109fe366004613cf0565b611738565b348015610a0f57600080fd5b50609d5461056090600160781b900460ff1681565b348015610a3057600080fd5b50609d5461056090600160481b900460ff1681565b348015610a5157600080fd5b5061053d610a60366004613cf0565b611761565b348015610a7157600080fd5b50609d5461056090610100900460ff1681565b348015610a9057600080fd5b50609d5461056090600160901b900460ff1681565b348015610ab157600080fd5b5061053d610ac0366004613cf0565b6117b0565b348015610ad157600080fd5b5060aa5461059190600160201b900460ff1681565b348015610af257600080fd5b506106d3610b01366004613cf0565b6001600160a01b031660009081526033602052604090205490565b348015610b2857600080fd5b50609d5461056090600160881b900460ff1681565b348015610b4957600080fd5b5061053d61182f565b348015610b5e57600080fd5b5061053d610b6d366004613cf0565b611843565b348015610b7e57600080fd5b5061053d611895565b348015610b9357600080fd5b50610591610ba2366004613cf0565b609b6020526000908152604090205460ff1681565b348015610bc357600080fd5b5061053d610bd2366004613bfe565b611ec0565b348015610be357600080fd5b506106d360a85481565b348015610bf957600080fd5b506065546001600160a01b0316610664565b348015610c1757600080fd5b5060aa54610591906301000000900460ff1681565b348015610c3857600080fd5b50609d5461056090600160581b900460ff1681565b348015610c5957600080fd5b506105b6611f41565b348015610c6e57600080fd5b50609d5461056090600160801b900460ff1681565b348015610c8f57600080fd5b5061053d610c9e366004613cf0565b611f50565b348015610caf57600080fd5b5061053d610cbe366004613bfe565b611fcf565b348015610ccf57600080fd5b5061053d610cde366004613bfe565b612067565b348015610cef57600080fd5b5061053d610cfe366004613c96565b612104565b348015610d0f57600080fd5b50610591610d1e366004613cc4565b612111565b348015610d2f57600080fd5b5061053d610d3e366004613cf0565b61218c565b348015610d4f57600080fd5b50609d5461056090600160681b900460ff1681565b348015610d7057600080fd5b50610591610d7f366004613cc4565b6121db565b348015610d9057600080fd5b50610591610d9f366004613cf0565b6001600160a01b0316600090815260ab602052604090205460ff1690565b348015610dc957600080fd5b5061053d610dd8366004613db2565b6121e9565b348015610de957600080fd5b506106d3610df8366004613cf0565b6001600160a01b0316600090815260a2602052604090205490565b348015610e1f57600080fd5b50609d5461056090600160201b900460ff1681565b348015610e4057600080fd5b50610591610e4f366004613cf0565b60986020526000908152604090205460ff1681565b348015610e7057600080fd5b50609d5461056090600160601b900460ff1681565b348015610e9157600080fd5b50609d546105609062010000900460ff1681565b348015610eb157600080fd5b50609d5461056090600160301b900460ff1681565b348015610ed257600080fd5b506106d360a05481565b348015610ee857600080fd5b5061053d610ef7366004613d1b565b61226d565b348015610f0857600080fd5b5061053d610f17366004613cf0565b6122c2565b348015610f2857600080fd5b50609d5461056090600160381b900460ff1681565b348015610f4957600080fd5b5061053d610f58366004613d79565b612344565b348015610f6957600080fd5b506106d3610f78366004613dcd565b612377565b348015610f8957600080fd5b5061053d610f98366004613dfb565b6123a2565b348015610fa957600080fd5b50610591610fb8366004613cf0565b6001600160a01b0316600090815260ac602052604090205460ff1690565b348015610fe257600080fd5b50610591610ff1366004613cf0565b6001600160a01b03166000908152609a602052604090205460ff1690565b34801561101b57600080fd5b5061053d61102a366004613cf0565b612560565b34801561103b57600080fd5b5060a754610664906001600160a01b031681565b34801561105b57600080fd5b5061059161106a366004613cf0565b6001600160a01b0316600090815260ad602052604090205460ff1690565b34801561109457600080fd5b5061053d6110a3366004613d1b565b612589565b3480156110b457600080fd5b5061053d6110c3366004613d1b565b6125a4565b3480156110d457600080fd5b5061053d6110e3366004613cf0565b6125cb565b3480156110f457600080fd5b5060a654610664906001600160a01b031681565b34801561111457600080fd5b50610591611123366004613cf0565b6001600160a01b0316600090815260ae602052604090205460ff1690565b34801561114d57600080fd5b506106d360a15481565b34801561116357600080fd5b506106d3609f5481565b34801561117957600080fd5b50609d5461056090600160981b900460ff1681565b34801561119a57600080fd5b5061053d6111a9366004613cf0565b612641565b6111b6612693565b609d805461ffff60801b1916600160801b60ff868116820260ff60881b191692909217600160881b86841681029190911760ff60901b1916600160901b86851681029190911794859055840483169361121793918104821692900416613e46565b6112219190613e46565b609d60136101000a81548160ff021916908360ff160217905550505050565b60606036805461124f90613e6b565b80601f016020809104026020016040519081016040528092919081815260200182805461127b90613e6b565b80156112c85780601f1061129d576101008083540402835291602001916112c8565b820191906000526020600020905b8154815290600101906020018083116112ab57829003601f168201915b5050505050905090565b6112da612693565b60a155565b6000336112ed8185856126ed565b5060019392505050565b6112ff612693565b609d805461ffff60601b1916600160601b60ff868116820260ff60681b191692909217600160681b86841681029190911760ff60701b1916600160701b86851681029190911794859055840483169361136093918104821692900416613e46565b61136a9190613e46565b609d600f6101000a81548160ff021916908360ff160217905550505050565b611391612693565b60a5546001600160a01b03828116911614156113c85760405162461bcd60e51b81526004016113bf90613ea6565b60405180910390fd5b60a580546001600160a01b0319166001600160a01b0392909216919091179055565b6113f2612693565b60aa8054821515620100000262ff0000199091161790556040517f6aba1580be38ba6e4316dc47b97182ecfb3c8e632aa5b131c0be29f190ec5f1d9061143d90831515815260200190565b60405180910390a150565b600033611456858285612812565b61146185858561288c565b506001949350505050565b611474612693565b60a955565b6000336112ed81858561148c8383612377565b6114969190613ee9565b6126ed565b6114a3612693565b6001600160a01b03166000908152609960205260409020805460ff19166001179055565b6114cf612693565b6001600160a01b0381166115255760405162461bcd60e51b815260206004820152601e60248201527f5050593a206167656e7420697320746865207a65726f2061646472657373000060448201526064016113bf565b6001600160a01b0316600090815260ab60205260409020805460ff19166001179055565b611551612693565b6001600160a01b03166000908152609760205260409020805460ff19166001179055565b61157d612693565b6001600160a01b03166000908152609a60205260409020805460ff19166001179055565b6115a9612693565b30600090815260336020526040812054116116105760405162461bcd60e51b815260206004820152602160248201527f42616c616e6365206d7573742062652067726561746572207468616e207a65726044820152606f60f81b60648201526084016113bf565b3060009081526033602052604090205461162981613040565b50565b611634612693565b6001600160a01b03166000908152609960205260409020805460ff19169055565b61165d612693565b60a7546001600160a01b038281169116141561168b5760405162461bcd60e51b81526004016113bf90613ea6565b60a780546001600160a01b0319166001600160a01b0392909216919091179055565b6116b5612693565b60a6546001600160a01b03828116911614156116e35760405162461bcd60e51b81526004016113bf90613ea6565b60a680546001600160a01b0319166001600160a01b0392909216919091179055565b61170d612693565b6001600160a01b03919091166000908152609860205260409020805460ff1916911515919091179055565b611740612693565b6001600160a01b03166000908152609a60205260409020805460ff19169055565b611769612693565b6001600160a01b03811661178f5760405162461bcd60e51b81526004016113bf90613f01565b6001600160a01b0316600090815260ac60205260409020805460ff19169055565b6117b8612693565b6001600160a01b03811661180e5760405162461bcd60e51b815260206004820152601e60248201527f5050593a206167656e7420697320746865207a65726f2061646472657373000060448201526064016113bf565b6001600160a01b0316600090815260ab60205260409020805460ff19169055565b611837612693565b6118416000613274565b565b61184b612693565b6001600160a01b0381166118715760405162461bcd60e51b81526004016113bf90613f42565b6001600160a01b0316600090815260ae60205260409020805460ff19166001179055565b600054610100900460ff16158080156118b55750600054600160ff909116105b806118cf5750303b1580156118cf575060005460ff166001145b6119325760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016113bf565b6000805460ff191660011790558015611955576000805461ff0019166101001790555b61199d6040518060400160405280600b81526020016a50617472696f742050617960a81b8152506040518060400160405280600381526020016250505960e81b8152506132c6565b6b813f3978f894098440000000609c55609d805472ffffff00ffffff00ffffff00ffffff00ffffff191672021408000205010002050100020501000205011790556201518060a1556a52b7d2dcc80cd2e400000060a85569d3c21bcecceda100000060a95560aa8054600160201b64ffffffffff1990911617905560a680547392666f8161f2f204e55e2a77223bc2655468723f6001600160a01b03199182161790915560a78054733731fb024964d0c7a189e95c3da7dabadc275c9d90831617905560a3805473a5e0829caced8ffdd4de3c43696c57f7d7a678ff9216821790556040805163c45a015560e01b8152905163c45a0155916004818101926020929091908290030181865afa158015611aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ade9190613f84565b6001600160a01b031663c9c653963060a360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b649190613f84565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611bb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd59190613f84565b60a480546001600160a01b0319166001600160a01b0392909216919091179055611c1273ba8bd6a7aa2f6050b7cd14e0b195b1905dded677613274565b60a580546001600160a01b03191673c2132d05d31c914a87c6611c10748aeb04b58e8f179055609d5460ff620100008204811691611c5891610100820481169116613e46565b611c629190613e46565b609d805463ff0000001916630100000060ff938416021790819055600160301b8104821691611ca391600160281b8104821691600160201b90910416613e46565b611cad9190613e46565b609d805467ff000000000000001916600160381b60ff938416021790819055600160901b8104821691611cf291600160881b8104821691600160801b90910416613e46565b611cfc9190613e46565b609d805460ff60981b1916600160981b60ff938416021790819055600160501b8104821691611d3d91600160481b8104821691600160401b90910416613e46565b611d479190613e46565b609d805460ff60581b1916600160581b60ff938416021790819055600160701b8104821691611d8891600160681b8104821691600160601b90910416613e46565b611d929190613e46565b609d600f6101000a81548160ff021916908360ff160217905550600160976000611dc46065546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526097909252812080549092166001908117909255609890611e1c6065546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526098909252902080549091166001179055609c54611e7e9073ba8bd6a7aa2f6050b7cd14e0b195b1905dded677906132fb565b8015611629576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200161143d565b611ec8612693565b609d805460ff8381166201000090810262ff00001987841661010090810261ffff19909616858b161795909517908116821795869055918504831694611f18949004831692908116911617613e46565b611f229190613e46565b609d60036101000a81548160ff021916908360ff160217905550505050565b60606037805461124f90613e6b565b611f58612693565b6001600160a01b038116611fae5760405162461bcd60e51b815260206004820152601f60248201527f5050593a207061796f757420697320746865207a65726f20616464726573730060448201526064016113bf565b6001600160a01b0316600090815260ad60205260409020805460ff19169055565b611fd7612693565b609d805465ffff000000001916600160201b60ff868116820265ff0000000000191692909217600160281b86841681029190911766ff0000000000001916600160301b86851681029190911794859055840483169361203e93918104821692900416613e46565b6120489190613e46565b609d60076101000a81548160ff021916908360ff160217905550505050565b61206f612693565b609d805469ffff00000000000000001916600160401b60ff868116820269ff000000000000000000191692909217600160481b86841681029190911760ff60501b1916600160501b8685168102919091179485905584048316936120db93918104821692900416613e46565b6120e59190613e46565b609d600b6101000a81548160ff021916908360ff160217905550505050565b61210c612693565b60a855565b6000338161211f8286612377565b90508381101561217f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016113bf565b61146182868684036126ed565b612194612693565b6001600160a01b0381166121ba5760405162461bcd60e51b81526004016113bf90613f42565b6001600160a01b0316600090815260ae60205260409020805460ff19169055565b6000336112ed81858561288c565b6121f1612693565b60648160ff16106122445760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a2053686f756c64206265206c657373207468616e203130302e0060448201526064016113bf565b61226760646122618360ff16609c546133bc90919063ffffffff16565b906133cf565b60a85550565b612275612693565b60aa805482151563010000000263ff000000199091161790556040517f15639c85628a2ee24b7b1493cb4429108cdf5a475bc325b69a5feb44f66476b59061143d90831515815260200190565b6122ca612693565b6001600160a01b0381166123205760405162461bcd60e51b815260206004820152601f60248201527f5050593a207061796f757420697320746865207a65726f20616464726573730060448201526064016113bf565b6001600160a01b0316600090815260ad60205260409020805460ff19166001179055565b61234c612693565b6001600160a01b03919091166000908152609b60205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6123aa612693565b80600114806123b95750806002145b6123f85760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642063617465676f727960801b60448201526064016113bf565b6001600160a01b03831661245a5760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016113bf565b80600114156124d257609e548211156124b55760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e7420746f6b656e7320666f7220636861726974790060448201526064016113bf565b81609e60008282546124c79190613fa1565b909155506125509050565b806002141561255057609f548211156125385760405162461bcd60e51b815260206004820152602260248201527f496e73756666696369656e7420746f6b656e7320666f72206f7065726174696f6044820152616e7360f01b60648201526084016113bf565b81609f600082825461254a9190613fa1565b90915550505b61255b3084846133db565b505050565b612568612693565b6001600160a01b03166000908152609760205260409020805460ff19169055565b612591612693565b60aa805460ff1916911515919091179055565b6125ac612693565b60aa8054911515600160201b0264ff0000000019909216919091179055565b6125d3612693565b6001600160a01b0381166126385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016113bf565b61162981613274565b612649612693565b6001600160a01b03811661266f5760405162461bcd60e51b81526004016113bf90613f01565b6001600160a01b0316600090815260ac60205260409020805460ff19166001179055565b6065546001600160a01b031633146118415760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016113bf565b6001600160a01b03831661274f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016113bf565b6001600160a01b0382166127b05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016113bf565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061281e8484612377565b9050600019811461288657818110156128795760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016113bf565b61288684848484036126ed565b50505050565b6001600160a01b0383166128b25760405162461bcd60e51b81526004016113bf90613fb8565b6001600160a01b0382166128d85760405162461bcd60e51b81526004016113bf90613ffd565b6000811161293a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016113bf565b6001600160a01b0383166000908152609a602052604090205460ff1615801561297c57506001600160a01b0382166000908152609a602052604090205460ff16155b6129c85760405162461bcd60e51b815260206004820152601c60248201527f596f7572206163636f756e7420697320626c61636b6c69737465642e0000000060448201526064016113bf565b6065546001600160a01b038481169116148015906129f457506065546001600160a01b03838116911614155b15612af15760a854811115612a5c5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016113bf565b60aa5460ff16612af1576001600160a01b03831660009081526098602052604090205460ff1680612aa557506001600160a01b03821660009081526098602052604090205460ff165b612af15760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206973206e6f7420656e61626c65642e00000000000000000060448201526064016113bf565b3060009081526033602052604090205460a95481108015908190612b1d575060aa5462010000900460ff165b8015612b31575060aa54610100900460ff16155b8015612b4b575060a4546001600160a01b03868116911614155b8015612b65575060a4546001600160a01b03858116911614155b8015612b8a57506001600160a01b03841660009081526099602052604090205460ff16155b15612b9857612b9882613040565b6001600160a01b03851660009081526097602052604090205460019060ff1680612bda57506001600160a01b03851660009081526097602052604090205460ff165b15612be3575060005b60008180612c0957506001600160a01b038716600090815260ab602052604090205460ff165b80612c2c57506001600160a01b038616600090815260ae602052604090205460ff165b80612c4f57506001600160a01b03861660009081526099602052604090205460ff165b80612c9657506001600160a01b038716600090815260ad602052604090205460ff168015612c9657506001600160a01b038616600090815260ac602052604090205460ff16155b1561302c5760a4546001600160a01b0388811691161415612d29576001600160a01b038616600090815260a260205260409020429055609d546301000000900460ff1615612d2457609d54612cfd906064906122619088906301000000900460ff166133bc565b609d54909150612d2490869060ff808216916101008104821691620100009091041661350c565b61300f565b60a4546001600160a01b0387811691161415612e915760aa54600160201b900460ff168015612d635750609d54600160981b900460ff1615155b8015612d8857506001600160a01b0387166000908152609b602052604090205460ff16155b8015612dab57506001600160a01b038716600090815260a2602052604090205415155b8015612ddc575060a1546001600160a01b038816600090815260a260205260409020544291612dd991613ee9565b10155b15612e3057609d54612e0090606490612261908890600160981b900460ff166133bc565b609d54909150612d2490869060ff600160801b8204811691600160881b8104821691600160901b9091041661350c565b609d54600160381b900460ff1615612d2457609d54612e6190606490612261908890600160381b900460ff166133bc565b609d54909150612d2490869060ff600160201b8204811691600160281b8104821691600160301b9091041661350c565b60a4546001600160a01b03888116911614801590612ebd575060a4546001600160a01b03878116911614155b1561300f576001600160a01b03861660009081526099602052604090205460ff1615612fae57609d54600160781b900460ff1615612f4457609d54612f1490606490612261908890600160781b900460ff166133bc565b609d54909150612f4490869060ff600160601b8204811691600160681b8104821691600160701b9091041661350c565b60aa546301000000900460ff1615612d24578015612f7357612f668186613fa1565b9450612f738730836133db565b612f7e8730876133db565b60a554600090612f989087906001600160a01b0316613583565b9050612fa487826136ac565b5050505050505050565b609d54600160581b900460ff161561300f57609d54612fdf90606490612261908890600160581b900460ff166133bc565b609d5490915061300f90869060ff600160401b8204811691600160481b8104821691600160501b9091041661350c565b801561302c5761301f8186613fa1565b945061302c8730836133db565b6130378787876133db565b50505050505050565b60aa805461ff00191661010017905560a054609f54609e5460009261307092909161306a91613763565b90613763565b9050600061308d8261226160a054866133bc90919063ffffffff16565b9050600061309c8260026133cf565b905060006130aa858361376f565b9050600061312e8260a360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613105573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131299190613f84565b613583565b9050600061314b86612261609e54856133bc90919063ffffffff16565b9050600061316887612261609f54866133bc90919063ffffffff16565b905060006131808261317a868661376f565b9061376f565b60a6546040519192506001600160a01b03169084156108fc029085906000818181858888f193505050501580156131bb573d6000803e3d6000fd5b506000861180156131cc5750600081115b15613215576131db868261377b565b60408051878152602081018390527fcb1652de9aeec38545fc281847b3dbfc89aab56dfa907b1ab68466f602c36fb4910160405180910390a15b60a7546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561324e573d6000803e3d6000fd5b50506000609e819055609f81905560a055505060aa805461ff0019169055505050505050565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166132ed5760405162461bcd60e51b81526004016113bf90614040565b6132f78282613850565b5050565b6001600160a01b0382166133515760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016113bf565b80603560008282546133639190613ee9565b90915550506001600160a01b0382166000818152603360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60006133c8828461408b565b9392505050565b60006133c882846140aa565b6001600160a01b0383166134015760405162461bcd60e51b81526004016113bf90613fb8565b6001600160a01b0382166134275760405162461bcd60e51b81526004016113bf90613ffd565b6001600160a01b0383166000908152603360205260409020548181101561349f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016113bf565b6001600160a01b0380851660008181526033602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906134ff9086815260200190565b60405180910390a3612886565b61351b606461226186866133bc565b609e600082825461352c9190613ee9565b909155506135419050606461226186856133bc565b609f60008282546135529190613ee9565b909155506135679050606461226186846133bc565b60a060008282546135789190613ee9565b909155505050505050565b60a5546000906001600160a01b03908116908290841682141561368c576040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156135e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360b91906140cc565b90506136168661389e565b6040516370a0823160e01b81523060048201526136849082906001600160a01b038616906370a0823190602401602060405180830381865afa158015613660573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061317a91906140cc565b9150506136a4565b4761369686613a2b565b6136a0478261376f565b9150505b949350505050565b60a55460405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905290911690819063a9059cbb906044016020604051808303816000875af1158015613701573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061372591906140e5565b506040518281526001600160a01b0384169030907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001612805565b60006133c88284613ee9565b60006133c88284613fa1565b60a3546137939030906001600160a01b0316846126ed565b60a3546001600160a01b031663f305d7198230856000806137bc6065546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015613824573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906138499190614102565b5050505050565b600054610100900460ff166138775760405162461bcd60e51b81526004016113bf90614040565b815161388a906036906020850190613b4f565b50805161255b906037906020840190613b4f565b604080516003808252608082019092526000916020820160608036833701905050905030816000815181106138d5576138d5614130565b6001600160a01b0392831660209182029290920181019190915260a354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561392e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139529190613f84565b8160018151811061396557613965614130565b6001600160a01b03928316602091820292909201015260a55482519116908290600290811061399657613996614130565b6001600160a01b03928316602091820292909201015260a3546139bc91309116846126ed565b60a354604051635c11d79560e01b81526001600160a01b0390911690635c11d795906139f5908590600090869030904290600401614146565b600060405180830381600087803b158015613a0f57600080fd5b505af1158015613a23573d6000803e3d6000fd5b505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110613a6057613a60614130565b6001600160a01b0392831660209182029290920181019190915260a354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015613ab9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613add9190613f84565b81600181518110613af057613af0614130565b6001600160a01b03928316602091820292909201015260a354613b1691309116846126ed565b60a35460405163791ac94760e01b81526001600160a01b039091169063791ac947906139f5908590600090869030904290600401614146565b828054613b5b90613e6b565b90600052602060002090601f016020900481019282613b7d5760008555613bc3565b82601f10613b9657805160ff1916838001178555613bc3565b82800160010185558215613bc3579182015b82811115613bc3578251825591602001919060010190613ba8565b50613bcf929150613bd3565b5090565b5b80821115613bcf5760008155600101613bd4565b803560ff81168114613bf957600080fd5b919050565b600080600060608486031215613c1357600080fd5b613c1c84613be8565b9250613c2a60208501613be8565b9150613c3860408501613be8565b90509250925092565b600060208083528351808285015260005b81811015613c6e57858101830151858201604001528201613c52565b81811115613c80576000604083870101525b50601f01601f1916929092016040019392505050565b600060208284031215613ca857600080fd5b5035919050565b6001600160a01b038116811461162957600080fd5b60008060408385031215613cd757600080fd5b8235613ce281613caf565b946020939093013593505050565b600060208284031215613d0257600080fd5b81356133c881613caf565b801515811461162957600080fd5b600060208284031215613d2d57600080fd5b81356133c881613d0d565b600080600060608486031215613d4d57600080fd5b8335613d5881613caf565b92506020840135613d6881613caf565b929592945050506040919091013590565b60008060408385031215613d8c57600080fd5b8235613d9781613caf565b91506020830135613da781613d0d565b809150509250929050565b600060208284031215613dc457600080fd5b6133c882613be8565b60008060408385031215613de057600080fd5b8235613deb81613caf565b91506020830135613da781613caf565b600080600060608486031215613e1057600080fd5b8335613e1b81613caf565b95602085013595506040909401359392505050565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff84168060ff03821115613e6357613e63613e30565b019392505050565b600181811c90821680613e7f57607f821691505b60208210811415613ea057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526023908201527f4552524f523a2043616e206e6f742073657420746f2073616d6520616464726560408201526239b99760e91b606082015260800190565b60008219821115613efc57613efc613e30565b500190565b60208082526021908201527f5050593a206f70657261746f7220697320746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526022908201527f5050593a20726563697069656e7420697320746865207a65726f206164647265604082015261737360f01b606082015260800190565b600060208284031215613f9657600080fd5b81516133c881613caf565b600082821015613fb357613fb3613e30565b500390565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60008160001904831182151516156140a5576140a5613e30565b500290565b6000826140c757634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156140de57600080fd5b5051919050565b6000602082840312156140f757600080fd5b81516133c881613d0d565b60008060006060848603121561411757600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156141965784516001600160a01b031683529383019391830191600101614171565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220e6fba06216047c48184bead06a0d450e05d1e81b6f69d77a15bd5090e3ba128664736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106105115760003560e01c80637cc764cb11610297578063c5da56a311610165578063ea2f0b37116100cc578063f4f601a511610085578063f4f601a5146110e8578063f9158eef14611108578063fadd2b9714611141578063fb002c9714611157578063fbe3e3e21461116d578063fbf647ec1461118e57600080fd5b8063ea2f0b371461100f578063ea4cfe121461102f578063f1382f501461104f578063f275f64b14611088578063f2f3125f146110a8578063f2fde38b146110c857600080fd5b8063d5edc3d61161011e578063d5edc3d614610f1c578063d7eb444814610f3d578063dd62ed3e14610f5d578063dfebc0f714610f7d578063e37b13d214610f9d578063e6807ca914610fd657600080fd5b8063c5da56a314610e64578063c733da3b14610e85578063c912cc4614610ea5578063cceba87c14610ec6578063cf2f238714610edc578063d566df7614610efc57600080fd5b80639c36f77f11610209578063a9059cbb116101c2578063a9059cbb14610d64578063a9ebf10314610d84578063ab93d7dc14610dbd578063b104240114610ddd578063b3a19f1a14610e13578063bdd795ef14610e3457600080fd5b80639c36f77f14610ca35780639d952e6a14610cc3578063a18411ce14610ce3578063a457c2d714610d03578063a7142ccd14610d23578063a824fa0414610d4357600080fd5b80638da5cb5b1161025b5780638da5cb5b14610bed578063906e2a7014610c0b578063950b8f1b14610c2c57806395d89b4114610c4d57806399dd21ca14610c625780639bc7b49914610c8357600080fd5b80637cc764cb14610b525780638129fc1c14610b7257806382ad945314610b875780638a9e7ec914610bb75780638c0b5e2214610bd757600080fd5b80633a968fa9116103df5780635342acb41161034657806362b6c8a8116102ff57806362b6c8a814610a845780636775f6b414610aa557806370303c1d14610ac557806370a0823114610ae6578063712b1f9914610b1c578063715018a614610b3d57600080fd5b80635342acb4146109aa578063537df3b6146109e3578063549c2ab214610a0357806354bab87514610a2457806355eb569f14610a455780635a139dd414610a6557600080fd5b8063499b839411610398578063499b8394146108d057806349bd5a5e146108f05780634b2d8960146109105780634b9f3ee6146109305780634f77f6c0146109505780634f7a36a31461097157600080fd5b80633a968fa91461081b5780633da779f01461083b578063437823ec1461085b57806344337ea11461087b5780634527129b1461089b578063469e324e146108b057600080fd5b806313f43a57116104835780632b0a696d1161043c5780632b0a696d146107775780632c366bf714610797578063313ce567146107b157806336a15125146107c557806339509351146107db578063399d0b64146107fb57600080fd5b806313f43a57146106bd5780631694505e146106e157806318160ddd146107015780631bd46e3f14610716578063213b3ec91461073657806323b872dd1461075757600080fd5b8063091792e6116104d5578063091792e6146105e4578063095ea7b3146106045780630b67b03b146106245780630d03f9bc146106445780630d8aa12b1461067c57806313f1d6ff1461069d57600080fd5b806301411c9e1461051d57806302b2fee01461053f578063064a59d01461057757806306fdde03146105a15780630786a7cb146105c357600080fd5b3661051857005b600080fd5b34801561052957600080fd5b5061053d610538366004613bfe565b6111ae565b005b34801561054b57600080fd5b50609d54610560906301000000900460ff1681565b60405160ff90911681526020015b60405180910390f35b34801561058357600080fd5b5060aa546105919060ff1681565b604051901515815260200161056e565b3480156105ad57600080fd5b506105b6611240565b60405161056e9190613c41565b3480156105cf57600080fd5b50609d5461056090600160401b900460ff1681565b3480156105f057600080fd5b5061053d6105ff366004613c96565b6112d2565b34801561061057600080fd5b5061059161061f366004613cc4565b6112df565b34801561063057600080fd5b5061053d61063f366004613bfe565b6112f7565b34801561065057600080fd5b5060a554610664906001600160a01b031681565b6040516001600160a01b03909116815260200161056e565b34801561068857600080fd5b50609d5461056090600160701b900460ff1681565b3480156106a957600080fd5b5061053d6106b8366004613cf0565b611389565b3480156106c957600080fd5b506106d360a95481565b60405190815260200161056e565b3480156106ed57600080fd5b5060a354610664906001600160a01b031681565b34801561070d57600080fd5b506035546106d3565b34801561072257600080fd5b5061053d610731366004613d1b565b6113ea565b34801561074257600080fd5b50609d5461056090600160501b900460ff1681565b34801561076357600080fd5b50610591610772366004613d38565b611448565b34801561078357600080fd5b5061053d610792366004613c96565b61146c565b3480156107a357600080fd5b50609d546105609060ff1681565b3480156107bd57600080fd5b506012610560565b3480156107d157600080fd5b506106d3609e5481565b3480156107e757600080fd5b506105916107f6366004613cc4565b611479565b34801561080757600080fd5b5061053d610816366004613cf0565b61149b565b34801561082757600080fd5b5060aa546105919062010000900460ff1681565b34801561084757600080fd5b5061053d610856366004613cf0565b6114c7565b34801561086757600080fd5b5061053d610876366004613cf0565b611549565b34801561088757600080fd5b5061053d610896366004613cf0565b611575565b3480156108a757600080fd5b5061053d6115a1565b3480156108bc57600080fd5b5061053d6108cb366004613cf0565b61162c565b3480156108dc57600080fd5b5061053d6108eb366004613cf0565b611655565b3480156108fc57600080fd5b5060a454610664906001600160a01b031681565b34801561091c57600080fd5b5061053d61092b366004613cf0565b6116ad565b34801561093c57600080fd5b5061053d61094b366004613d79565b611705565b34801561095c57600080fd5b50609d5461056090600160281b900460ff1681565b34801561097d57600080fd5b5061059161098c366004613cf0565b6001600160a01b031660009081526099602052604090205460ff1690565b3480156109b657600080fd5b506105916109c5366004613cf0565b6001600160a01b031660009081526097602052604090205460ff1690565b3480156109ef57600080fd5b5061053d6109fe366004613cf0565b611738565b348015610a0f57600080fd5b50609d5461056090600160781b900460ff1681565b348015610a3057600080fd5b50609d5461056090600160481b900460ff1681565b348015610a5157600080fd5b5061053d610a60366004613cf0565b611761565b348015610a7157600080fd5b50609d5461056090610100900460ff1681565b348015610a9057600080fd5b50609d5461056090600160901b900460ff1681565b348015610ab157600080fd5b5061053d610ac0366004613cf0565b6117b0565b348015610ad157600080fd5b5060aa5461059190600160201b900460ff1681565b348015610af257600080fd5b506106d3610b01366004613cf0565b6001600160a01b031660009081526033602052604090205490565b348015610b2857600080fd5b50609d5461056090600160881b900460ff1681565b348015610b4957600080fd5b5061053d61182f565b348015610b5e57600080fd5b5061053d610b6d366004613cf0565b611843565b348015610b7e57600080fd5b5061053d611895565b348015610b9357600080fd5b50610591610ba2366004613cf0565b609b6020526000908152604090205460ff1681565b348015610bc357600080fd5b5061053d610bd2366004613bfe565b611ec0565b348015610be357600080fd5b506106d360a85481565b348015610bf957600080fd5b506065546001600160a01b0316610664565b348015610c1757600080fd5b5060aa54610591906301000000900460ff1681565b348015610c3857600080fd5b50609d5461056090600160581b900460ff1681565b348015610c5957600080fd5b506105b6611f41565b348015610c6e57600080fd5b50609d5461056090600160801b900460ff1681565b348015610c8f57600080fd5b5061053d610c9e366004613cf0565b611f50565b348015610caf57600080fd5b5061053d610cbe366004613bfe565b611fcf565b348015610ccf57600080fd5b5061053d610cde366004613bfe565b612067565b348015610cef57600080fd5b5061053d610cfe366004613c96565b612104565b348015610d0f57600080fd5b50610591610d1e366004613cc4565b612111565b348015610d2f57600080fd5b5061053d610d3e366004613cf0565b61218c565b348015610d4f57600080fd5b50609d5461056090600160681b900460ff1681565b348015610d7057600080fd5b50610591610d7f366004613cc4565b6121db565b348015610d9057600080fd5b50610591610d9f366004613cf0565b6001600160a01b0316600090815260ab602052604090205460ff1690565b348015610dc957600080fd5b5061053d610dd8366004613db2565b6121e9565b348015610de957600080fd5b506106d3610df8366004613cf0565b6001600160a01b0316600090815260a2602052604090205490565b348015610e1f57600080fd5b50609d5461056090600160201b900460ff1681565b348015610e4057600080fd5b50610591610e4f366004613cf0565b60986020526000908152604090205460ff1681565b348015610e7057600080fd5b50609d5461056090600160601b900460ff1681565b348015610e9157600080fd5b50609d546105609062010000900460ff1681565b348015610eb157600080fd5b50609d5461056090600160301b900460ff1681565b348015610ed257600080fd5b506106d360a05481565b348015610ee857600080fd5b5061053d610ef7366004613d1b565b61226d565b348015610f0857600080fd5b5061053d610f17366004613cf0565b6122c2565b348015610f2857600080fd5b50609d5461056090600160381b900460ff1681565b348015610f4957600080fd5b5061053d610f58366004613d79565b612344565b348015610f6957600080fd5b506106d3610f78366004613dcd565b612377565b348015610f8957600080fd5b5061053d610f98366004613dfb565b6123a2565b348015610fa957600080fd5b50610591610fb8366004613cf0565b6001600160a01b0316600090815260ac602052604090205460ff1690565b348015610fe257600080fd5b50610591610ff1366004613cf0565b6001600160a01b03166000908152609a602052604090205460ff1690565b34801561101b57600080fd5b5061053d61102a366004613cf0565b612560565b34801561103b57600080fd5b5060a754610664906001600160a01b031681565b34801561105b57600080fd5b5061059161106a366004613cf0565b6001600160a01b0316600090815260ad602052604090205460ff1690565b34801561109457600080fd5b5061053d6110a3366004613d1b565b612589565b3480156110b457600080fd5b5061053d6110c3366004613d1b565b6125a4565b3480156110d457600080fd5b5061053d6110e3366004613cf0565b6125cb565b3480156110f457600080fd5b5060a654610664906001600160a01b031681565b34801561111457600080fd5b50610591611123366004613cf0565b6001600160a01b0316600090815260ae602052604090205460ff1690565b34801561114d57600080fd5b506106d360a15481565b34801561116357600080fd5b506106d3609f5481565b34801561117957600080fd5b50609d5461056090600160981b900460ff1681565b34801561119a57600080fd5b5061053d6111a9366004613cf0565b612641565b6111b6612693565b609d805461ffff60801b1916600160801b60ff868116820260ff60881b191692909217600160881b86841681029190911760ff60901b1916600160901b86851681029190911794859055840483169361121793918104821692900416613e46565b6112219190613e46565b609d60136101000a81548160ff021916908360ff160217905550505050565b60606036805461124f90613e6b565b80601f016020809104026020016040519081016040528092919081815260200182805461127b90613e6b565b80156112c85780601f1061129d576101008083540402835291602001916112c8565b820191906000526020600020905b8154815290600101906020018083116112ab57829003601f168201915b5050505050905090565b6112da612693565b60a155565b6000336112ed8185856126ed565b5060019392505050565b6112ff612693565b609d805461ffff60601b1916600160601b60ff868116820260ff60681b191692909217600160681b86841681029190911760ff60701b1916600160701b86851681029190911794859055840483169361136093918104821692900416613e46565b61136a9190613e46565b609d600f6101000a81548160ff021916908360ff160217905550505050565b611391612693565b60a5546001600160a01b03828116911614156113c85760405162461bcd60e51b81526004016113bf90613ea6565b60405180910390fd5b60a580546001600160a01b0319166001600160a01b0392909216919091179055565b6113f2612693565b60aa8054821515620100000262ff0000199091161790556040517f6aba1580be38ba6e4316dc47b97182ecfb3c8e632aa5b131c0be29f190ec5f1d9061143d90831515815260200190565b60405180910390a150565b600033611456858285612812565b61146185858561288c565b506001949350505050565b611474612693565b60a955565b6000336112ed81858561148c8383612377565b6114969190613ee9565b6126ed565b6114a3612693565b6001600160a01b03166000908152609960205260409020805460ff19166001179055565b6114cf612693565b6001600160a01b0381166115255760405162461bcd60e51b815260206004820152601e60248201527f5050593a206167656e7420697320746865207a65726f2061646472657373000060448201526064016113bf565b6001600160a01b0316600090815260ab60205260409020805460ff19166001179055565b611551612693565b6001600160a01b03166000908152609760205260409020805460ff19166001179055565b61157d612693565b6001600160a01b03166000908152609a60205260409020805460ff19166001179055565b6115a9612693565b30600090815260336020526040812054116116105760405162461bcd60e51b815260206004820152602160248201527f42616c616e6365206d7573742062652067726561746572207468616e207a65726044820152606f60f81b60648201526084016113bf565b3060009081526033602052604090205461162981613040565b50565b611634612693565b6001600160a01b03166000908152609960205260409020805460ff19169055565b61165d612693565b60a7546001600160a01b038281169116141561168b5760405162461bcd60e51b81526004016113bf90613ea6565b60a780546001600160a01b0319166001600160a01b0392909216919091179055565b6116b5612693565b60a6546001600160a01b03828116911614156116e35760405162461bcd60e51b81526004016113bf90613ea6565b60a680546001600160a01b0319166001600160a01b0392909216919091179055565b61170d612693565b6001600160a01b03919091166000908152609860205260409020805460ff1916911515919091179055565b611740612693565b6001600160a01b03166000908152609a60205260409020805460ff19169055565b611769612693565b6001600160a01b03811661178f5760405162461bcd60e51b81526004016113bf90613f01565b6001600160a01b0316600090815260ac60205260409020805460ff19169055565b6117b8612693565b6001600160a01b03811661180e5760405162461bcd60e51b815260206004820152601e60248201527f5050593a206167656e7420697320746865207a65726f2061646472657373000060448201526064016113bf565b6001600160a01b0316600090815260ab60205260409020805460ff19169055565b611837612693565b6118416000613274565b565b61184b612693565b6001600160a01b0381166118715760405162461bcd60e51b81526004016113bf90613f42565b6001600160a01b0316600090815260ae60205260409020805460ff19166001179055565b600054610100900460ff16158080156118b55750600054600160ff909116105b806118cf5750303b1580156118cf575060005460ff166001145b6119325760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016113bf565b6000805460ff191660011790558015611955576000805461ff0019166101001790555b61199d6040518060400160405280600b81526020016a50617472696f742050617960a81b8152506040518060400160405280600381526020016250505960e81b8152506132c6565b6b813f3978f894098440000000609c55609d805472ffffff00ffffff00ffffff00ffffff00ffffff191672021408000205010002050100020501000205011790556201518060a1556a52b7d2dcc80cd2e400000060a85569d3c21bcecceda100000060a95560aa8054600160201b64ffffffffff1990911617905560a680547392666f8161f2f204e55e2a77223bc2655468723f6001600160a01b03199182161790915560a78054733731fb024964d0c7a189e95c3da7dabadc275c9d90831617905560a3805473a5e0829caced8ffdd4de3c43696c57f7d7a678ff9216821790556040805163c45a015560e01b8152905163c45a0155916004818101926020929091908290030181865afa158015611aba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ade9190613f84565b6001600160a01b031663c9c653963060a360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611b40573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b649190613f84565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611bb1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bd59190613f84565b60a480546001600160a01b0319166001600160a01b0392909216919091179055611c1273ba8bd6a7aa2f6050b7cd14e0b195b1905dded677613274565b60a580546001600160a01b03191673c2132d05d31c914a87c6611c10748aeb04b58e8f179055609d5460ff620100008204811691611c5891610100820481169116613e46565b611c629190613e46565b609d805463ff0000001916630100000060ff938416021790819055600160301b8104821691611ca391600160281b8104821691600160201b90910416613e46565b611cad9190613e46565b609d805467ff000000000000001916600160381b60ff938416021790819055600160901b8104821691611cf291600160881b8104821691600160801b90910416613e46565b611cfc9190613e46565b609d805460ff60981b1916600160981b60ff938416021790819055600160501b8104821691611d3d91600160481b8104821691600160401b90910416613e46565b611d479190613e46565b609d805460ff60581b1916600160581b60ff938416021790819055600160701b8104821691611d8891600160681b8104821691600160601b90910416613e46565b611d929190613e46565b609d600f6101000a81548160ff021916908360ff160217905550600160976000611dc46065546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526097909252812080549092166001908117909255609890611e1c6065546001600160a01b031690565b6001600160a01b0316815260208082019290925260409081016000908120805494151560ff199586161790553081526098909252902080549091166001179055609c54611e7e9073ba8bd6a7aa2f6050b7cd14e0b195b1905dded677906132fb565b8015611629576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200161143d565b611ec8612693565b609d805460ff8381166201000090810262ff00001987841661010090810261ffff19909616858b161795909517908116821795869055918504831694611f18949004831692908116911617613e46565b611f229190613e46565b609d60036101000a81548160ff021916908360ff160217905550505050565b60606037805461124f90613e6b565b611f58612693565b6001600160a01b038116611fae5760405162461bcd60e51b815260206004820152601f60248201527f5050593a207061796f757420697320746865207a65726f20616464726573730060448201526064016113bf565b6001600160a01b0316600090815260ad60205260409020805460ff19169055565b611fd7612693565b609d805465ffff000000001916600160201b60ff868116820265ff0000000000191692909217600160281b86841681029190911766ff0000000000001916600160301b86851681029190911794859055840483169361203e93918104821692900416613e46565b6120489190613e46565b609d60076101000a81548160ff021916908360ff160217905550505050565b61206f612693565b609d805469ffff00000000000000001916600160401b60ff868116820269ff000000000000000000191692909217600160481b86841681029190911760ff60501b1916600160501b8685168102919091179485905584048316936120db93918104821692900416613e46565b6120e59190613e46565b609d600b6101000a81548160ff021916908360ff160217905550505050565b61210c612693565b60a855565b6000338161211f8286612377565b90508381101561217f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016113bf565b61146182868684036126ed565b612194612693565b6001600160a01b0381166121ba5760405162461bcd60e51b81526004016113bf90613f42565b6001600160a01b0316600090815260ae60205260409020805460ff19169055565b6000336112ed81858561288c565b6121f1612693565b60648160ff16106122445760405162461bcd60e51b815260206004820152601f60248201527f4552524f523a2053686f756c64206265206c657373207468616e203130302e0060448201526064016113bf565b61226760646122618360ff16609c546133bc90919063ffffffff16565b906133cf565b60a85550565b612275612693565b60aa805482151563010000000263ff000000199091161790556040517f15639c85628a2ee24b7b1493cb4429108cdf5a475bc325b69a5feb44f66476b59061143d90831515815260200190565b6122ca612693565b6001600160a01b0381166123205760405162461bcd60e51b815260206004820152601f60248201527f5050593a207061796f757420697320746865207a65726f20616464726573730060448201526064016113bf565b6001600160a01b0316600090815260ad60205260409020805460ff19166001179055565b61234c612693565b6001600160a01b03919091166000908152609b60205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b6123aa612693565b80600114806123b95750806002145b6123f85760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642063617465676f727960801b60448201526064016113bf565b6001600160a01b03831661245a5760405162461bcd60e51b815260206004820152602360248201527f43616e6e6f74207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016113bf565b80600114156124d257609e548211156124b55760405162461bcd60e51b815260206004820152601f60248201527f496e73756666696369656e7420746f6b656e7320666f7220636861726974790060448201526064016113bf565b81609e60008282546124c79190613fa1565b909155506125509050565b806002141561255057609f548211156125385760405162461bcd60e51b815260206004820152602260248201527f496e73756666696369656e7420746f6b656e7320666f72206f7065726174696f6044820152616e7360f01b60648201526084016113bf565b81609f600082825461254a9190613fa1565b90915550505b61255b3084846133db565b505050565b612568612693565b6001600160a01b03166000908152609760205260409020805460ff19169055565b612591612693565b60aa805460ff1916911515919091179055565b6125ac612693565b60aa8054911515600160201b0264ff0000000019909216919091179055565b6125d3612693565b6001600160a01b0381166126385760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016113bf565b61162981613274565b612649612693565b6001600160a01b03811661266f5760405162461bcd60e51b81526004016113bf90613f01565b6001600160a01b0316600090815260ac60205260409020805460ff19166001179055565b6065546001600160a01b031633146118415760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016113bf565b6001600160a01b03831661274f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016113bf565b6001600160a01b0382166127b05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016113bf565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b600061281e8484612377565b9050600019811461288657818110156128795760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016113bf565b61288684848484036126ed565b50505050565b6001600160a01b0383166128b25760405162461bcd60e51b81526004016113bf90613fb8565b6001600160a01b0382166128d85760405162461bcd60e51b81526004016113bf90613ffd565b6000811161293a5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152687468616e207a65726f60b81b60648201526084016113bf565b6001600160a01b0383166000908152609a602052604090205460ff1615801561297c57506001600160a01b0382166000908152609a602052604090205460ff16155b6129c85760405162461bcd60e51b815260206004820152601c60248201527f596f7572206163636f756e7420697320626c61636b6c69737465642e0000000060448201526064016113bf565b6065546001600160a01b038481169116148015906129f457506065546001600160a01b03838116911614155b15612af15760a854811115612a5c5760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d6178546044820152673c20b6b7bab73a1760c11b60648201526084016113bf565b60aa5460ff16612af1576001600160a01b03831660009081526098602052604090205460ff1680612aa557506001600160a01b03821660009081526098602052604090205460ff165b612af15760405162461bcd60e51b815260206004820152601760248201527f54726164696e67206973206e6f7420656e61626c65642e00000000000000000060448201526064016113bf565b3060009081526033602052604090205460a95481108015908190612b1d575060aa5462010000900460ff165b8015612b31575060aa54610100900460ff16155b8015612b4b575060a4546001600160a01b03868116911614155b8015612b65575060a4546001600160a01b03858116911614155b8015612b8a57506001600160a01b03841660009081526099602052604090205460ff16155b15612b9857612b9882613040565b6001600160a01b03851660009081526097602052604090205460019060ff1680612bda57506001600160a01b03851660009081526097602052604090205460ff165b15612be3575060005b60008180612c0957506001600160a01b038716600090815260ab602052604090205460ff165b80612c2c57506001600160a01b038616600090815260ae602052604090205460ff165b80612c4f57506001600160a01b03861660009081526099602052604090205460ff165b80612c9657506001600160a01b038716600090815260ad602052604090205460ff168015612c9657506001600160a01b038616600090815260ac602052604090205460ff16155b1561302c5760a4546001600160a01b0388811691161415612d29576001600160a01b038616600090815260a260205260409020429055609d546301000000900460ff1615612d2457609d54612cfd906064906122619088906301000000900460ff166133bc565b609d54909150612d2490869060ff808216916101008104821691620100009091041661350c565b61300f565b60a4546001600160a01b0387811691161415612e915760aa54600160201b900460ff168015612d635750609d54600160981b900460ff1615155b8015612d8857506001600160a01b0387166000908152609b602052604090205460ff16155b8015612dab57506001600160a01b038716600090815260a2602052604090205415155b8015612ddc575060a1546001600160a01b038816600090815260a260205260409020544291612dd991613ee9565b10155b15612e3057609d54612e0090606490612261908890600160981b900460ff166133bc565b609d54909150612d2490869060ff600160801b8204811691600160881b8104821691600160901b9091041661350c565b609d54600160381b900460ff1615612d2457609d54612e6190606490612261908890600160381b900460ff166133bc565b609d54909150612d2490869060ff600160201b8204811691600160281b8104821691600160301b9091041661350c565b60a4546001600160a01b03888116911614801590612ebd575060a4546001600160a01b03878116911614155b1561300f576001600160a01b03861660009081526099602052604090205460ff1615612fae57609d54600160781b900460ff1615612f4457609d54612f1490606490612261908890600160781b900460ff166133bc565b609d54909150612f4490869060ff600160601b8204811691600160681b8104821691600160701b9091041661350c565b60aa546301000000900460ff1615612d24578015612f7357612f668186613fa1565b9450612f738730836133db565b612f7e8730876133db565b60a554600090612f989087906001600160a01b0316613583565b9050612fa487826136ac565b5050505050505050565b609d54600160581b900460ff161561300f57609d54612fdf90606490612261908890600160581b900460ff166133bc565b609d5490915061300f90869060ff600160401b8204811691600160481b8104821691600160501b9091041661350c565b801561302c5761301f8186613fa1565b945061302c8730836133db565b6130378787876133db565b50505050505050565b60aa805461ff00191661010017905560a054609f54609e5460009261307092909161306a91613763565b90613763565b9050600061308d8261226160a054866133bc90919063ffffffff16565b9050600061309c8260026133cf565b905060006130aa858361376f565b9050600061312e8260a360009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015613105573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131299190613f84565b613583565b9050600061314b86612261609e54856133bc90919063ffffffff16565b9050600061316887612261609f54866133bc90919063ffffffff16565b905060006131808261317a868661376f565b9061376f565b60a6546040519192506001600160a01b03169084156108fc029085906000818181858888f193505050501580156131bb573d6000803e3d6000fd5b506000861180156131cc5750600081115b15613215576131db868261377b565b60408051878152602081018390527fcb1652de9aeec38545fc281847b3dbfc89aab56dfa907b1ab68466f602c36fb4910160405180910390a15b60a7546040516001600160a01b03909116904780156108fc02916000818181858888f1935050505015801561324e573d6000803e3d6000fd5b50506000609e819055609f81905560a055505060aa805461ff0019169055505050505050565b606580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166132ed5760405162461bcd60e51b81526004016113bf90614040565b6132f78282613850565b5050565b6001600160a01b0382166133515760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016113bf565b80603560008282546133639190613ee9565b90915550506001600160a01b0382166000818152603360209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b60006133c8828461408b565b9392505050565b60006133c882846140aa565b6001600160a01b0383166134015760405162461bcd60e51b81526004016113bf90613fb8565b6001600160a01b0382166134275760405162461bcd60e51b81526004016113bf90613ffd565b6001600160a01b0383166000908152603360205260409020548181101561349f5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016113bf565b6001600160a01b0380851660008181526033602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906134ff9086815260200190565b60405180910390a3612886565b61351b606461226186866133bc565b609e600082825461352c9190613ee9565b909155506135419050606461226186856133bc565b609f60008282546135529190613ee9565b909155506135679050606461226186846133bc565b60a060008282546135789190613ee9565b909155505050505050565b60a5546000906001600160a01b03908116908290841682141561368c576040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156135e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061360b91906140cc565b90506136168661389e565b6040516370a0823160e01b81523060048201526136849082906001600160a01b038616906370a0823190602401602060405180830381865afa158015613660573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061317a91906140cc565b9150506136a4565b4761369686613a2b565b6136a0478261376f565b9150505b949350505050565b60a55460405163a9059cbb60e01b81526001600160a01b0384811660048301526024820184905290911690819063a9059cbb906044016020604051808303816000875af1158015613701573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061372591906140e5565b506040518281526001600160a01b0384169030907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001612805565b60006133c88284613ee9565b60006133c88284613fa1565b60a3546137939030906001600160a01b0316846126ed565b60a3546001600160a01b031663f305d7198230856000806137bc6065546001600160a01b031690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015613824573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906138499190614102565b5050505050565b600054610100900460ff166138775760405162461bcd60e51b81526004016113bf90614040565b815161388a906036906020850190613b4f565b50805161255b906037906020840190613b4f565b604080516003808252608082019092526000916020820160608036833701905050905030816000815181106138d5576138d5614130565b6001600160a01b0392831660209182029290920181019190915260a354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561392e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906139529190613f84565b8160018151811061396557613965614130565b6001600160a01b03928316602091820292909201015260a55482519116908290600290811061399657613996614130565b6001600160a01b03928316602091820292909201015260a3546139bc91309116846126ed565b60a354604051635c11d79560e01b81526001600160a01b0390911690635c11d795906139f5908590600090869030904290600401614146565b600060405180830381600087803b158015613a0f57600080fd5b505af1158015613a23573d6000803e3d6000fd5b505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110613a6057613a60614130565b6001600160a01b0392831660209182029290920181019190915260a354604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015613ab9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613add9190613f84565b81600181518110613af057613af0614130565b6001600160a01b03928316602091820292909201015260a354613b1691309116846126ed565b60a35460405163791ac94760e01b81526001600160a01b039091169063791ac947906139f5908590600090869030904290600401614146565b828054613b5b90613e6b565b90600052602060002090601f016020900481019282613b7d5760008555613bc3565b82601f10613b9657805160ff1916838001178555613bc3565b82800160010185558215613bc3579182015b82811115613bc3578251825591602001919060010190613ba8565b50613bcf929150613bd3565b5090565b5b80821115613bcf5760008155600101613bd4565b803560ff81168114613bf957600080fd5b919050565b600080600060608486031215613c1357600080fd5b613c1c84613be8565b9250613c2a60208501613be8565b9150613c3860408501613be8565b90509250925092565b600060208083528351808285015260005b81811015613c6e57858101830151858201604001528201613c52565b81811115613c80576000604083870101525b50601f01601f1916929092016040019392505050565b600060208284031215613ca857600080fd5b5035919050565b6001600160a01b038116811461162957600080fd5b60008060408385031215613cd757600080fd5b8235613ce281613caf565b946020939093013593505050565b600060208284031215613d0257600080fd5b81356133c881613caf565b801515811461162957600080fd5b600060208284031215613d2d57600080fd5b81356133c881613d0d565b600080600060608486031215613d4d57600080fd5b8335613d5881613caf565b92506020840135613d6881613caf565b929592945050506040919091013590565b60008060408385031215613d8c57600080fd5b8235613d9781613caf565b91506020830135613da781613d0d565b809150509250929050565b600060208284031215613dc457600080fd5b6133c882613be8565b60008060408385031215613de057600080fd5b8235613deb81613caf565b91506020830135613da781613caf565b600080600060608486031215613e1057600080fd5b8335613e1b81613caf565b95602085013595506040909401359392505050565b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff84168060ff03821115613e6357613e63613e30565b019392505050565b600181811c90821680613e7f57607f821691505b60208210811415613ea057634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526023908201527f4552524f523a2043616e206e6f742073657420746f2073616d6520616464726560408201526239b99760e91b606082015260800190565b60008219821115613efc57613efc613e30565b500190565b60208082526021908201527f5050593a206f70657261746f7220697320746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526022908201527f5050593a20726563697069656e7420697320746865207a65726f206164647265604082015261737360f01b606082015260800190565b600060208284031215613f9657600080fd5b81516133c881613caf565b600082821015613fb357613fb3613e30565b500390565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60008160001904831182151516156140a5576140a5613e30565b500290565b6000826140c757634e487b7160e01b600052601260045260246000fd5b500490565b6000602082840312156140de57600080fd5b5051919050565b6000602082840312156140f757600080fd5b81516133c881613d0d565b60008060006060848603121561411757600080fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156141965784516001600160a01b031683529383019391830191600101614171565b50506001600160a01b0396909616606085015250505060800152939250505056fea2646970667358221220e6fba06216047c48184bead06a0d450e05d1e81b6f69d77a15bd5090e3ba128664736f6c634300080a0033

Block Transaction Gas Used Reward
view all blocks produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.