Token MetaPocket

 

Overview ERC20

Price
$0.00 @ 0.000000 ETH
Fully Diluted Market Cap
Total Supply:
2,593,110.783331 MPCKT

Holders:
231 addresses

Transfers:
-

Contract:
0xD1c533a00548Dd9C1e7b0f8Ea834F65383b116De0xD1c533a00548Dd9C1e7b0f8Ea834F65383b116De

Decimals:
18

Social Profiles:
Not Available, Update ?

Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
MPCKT

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 11 runs

Other Settings:
london EvmVersion
File 1 of 19 : MPCKT.sol
// SPDX-License-Identifier: MIT
/**

Meta Pocket- $MPCKT

$MPCKT is the game token used in the MetaBoards/Pocket Ecosystem. 

$MPCKT Tokenomics
 - Max Supply: 1,000,000,000
 - Launch supply: 2,000,000
 - Post Launch Taxes:
    - buys/sell 7%
      - 3% Vault TVL
      - 2% Burned
      - 1% Operations
      - 1% dev
  - Initial LP: 250k MPCKT / $12.5k ETH

$MPCKT Socials
Twitter: https://twitter.com/projectPCKT
Telegram: https://t.me/mpcktecosystem
Website: https://metaboards.games

**/


pragma solidity = 0.8.11;


import '@openzeppelin/contracts/access/Ownable.sol';
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";
import "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol"; 
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "./libs/SushiLibs.sol";


contract MPCKT is Ownable, IERC20, IERC20Metadata, AccessControlEnumerable, Pausable {
    using Address for address;
    using EnumerableSet for EnumerableSet.AddressSet;
    using SafeERC20 for IERC20;

    // standard ERC20 vars
    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    uint256 private _totalSupply;
    uint256 private _totalBurned;
    uint256 private _totalMinted;
    string private _name;
    string private _symbol;


    // role constants
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
    bytes32 public constant CAN_TRANSFER_ROLE = keccak256("CAN_TRANSFER_ROLE");
    bytes32 public constant TEAM_ROLE = keccak256("TEAM_ROLE");

    // flag to stop swaps before there is LP 
    bool public tradingActive;

    // The burn address
    address public constant burnAddress = address(0xdead);

    // the max tokens that can ever exist
    uint256 public maxSupply;

    // Ops address 
    address payable operationsWallet;

    // Derv address 
    address payable devWallet;

    // Vault address
    address payable vaultAddress;

    bool private _isSwapping;

    EnumerableSet.AddressSet private _amms;
    EnumerableSet.AddressSet private _systemContracts;
    EnumerableSet.AddressSet private _excludeTaxes;
    EnumerableSet.AddressSet private _excludeLocks;

    // TAX SETTINGS
    bool public normalTax; 

    uint256 public initialBuyTax=20;
    uint256 public initialSellTax=40;
    uint256 private finalTaxAt=30;

    uint256 private reduceEvery=5;
    uint256 private reduceBuyBy=2;
    uint256 private reduceSellBy=5;

    uint256 public buyCount=0;
    uint256 public sellCount=0;

    // Main Taxes
    // hard coded max tax limit for normal taxes
    // this tax amount is what is taken from the tx
    uint256 constant _maxTax = 25;

    // % taxed on sells
    uint256 public sellTax = 7;

    // % taxed and burned on buys
    uint256 public buyTax = 7;


    // Sub-Taxes
    // the main tax is broken down into sub-taxes
    // % of post taxed amount that is sent to the vault contract
    uint256 private vaultTax = 43;
    // % of post taxed amount that is sent to operations wallet
    uint256 private operationsTax = 14;
    // % of post taxed amount that sent to the dev
    uint256 private devTax = 14;
    // % of post taxed amount that is burned
    uint256 private burnTax = 29;
    
    /**
     * Anti-Dump & Anti-Bot Settings
     **/

    // a hard capped number on the max tokens that can be sold in one TX
    uint256 private maxSell;

    // max % sell of total supply that can be sold in one TX, default 1%
    uint256 private maxSellPercent = 100;  

    // min tokens to collect before swapping for fees
    uint256 private swapThresh;

    // max tokens that can be swapped for taxes in a single tx
    uint256 private maxSwap = 1000 * 10**18;

    // max tokens a wallet can hold, defaults to 1% initial supply
    uint256 public maxWallet;

    // seconds to lock transactions to aything but system contracts after a sell
    uint256 txLockTime;
    mapping (address => uint256) private txLock;

    // router
    address public immutable lpAddress; 
    IUniswapV2Router02 private  _swapRouter; 

    address private immutable Router;

    constructor(
        string memory name_, 
        string memory symbol_,
        uint256 _maxSupply,
        address payable _operationsWallet,
        address payable _devWallet,
        address payable _vaultAddress,
        address _router
    ) {
        
        require(_router != address(0), "ERC20: router not set");
        require(_operationsWallet != address(0), "ERC20: operations address not set");

        _name = name_;
        _symbol = symbol_;

        Router = _router;

        operationsWallet = _operationsWallet;
        devWallet = _devWallet;
        vaultAddress = _vaultAddress;

        maxSupply = _maxSupply;

        _swapRouter = IUniswapV2Router02(Router);
        lpAddress = IUniswapV2Factory(_swapRouter.factory()).createPair(address(this), _swapRouter.WETH());

        _amms.add(lpAddress);

        require(
            _excludeTaxes.add(address(0)) && 
            _excludeTaxes.add(msg.sender) && 
            _excludeTaxes.add(address(this)) && 

            _excludeLocks.add(address(0)) &&
            _excludeLocks.add(msg.sender) && 
            _excludeLocks.add(address(this)) &&
        
            _systemContracts.add(address(0)) &&
            _systemContracts.add(address(this)) &&
            _systemContracts.add(_vaultAddress) &&
            _systemContracts.add(_operationsWallet) &&
            _systemContracts.add(_devWallet), "error adding to lists");

        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(MINTER_ROLE, msg.sender);
        _grantRole(PAUSER_ROLE, msg.sender);
        _grantRole(CAN_TRANSFER_ROLE, msg.sender);
        _grantRole(CAN_TRANSFER_ROLE, address(_operationsWallet));
        _grantRole(CAN_TRANSFER_ROLE, address(_devWallet));
        _grantRole(CAN_TRANSFER_ROLE, address(_vaultAddress));

    }

    // modifier for functions only the team can call
    modifier onlyTeam() {
        require(hasRole(TEAM_ROLE,  msg.sender) || msg.sender == owner(), "Caller not in Team");
        _;
    }

    /// @notice Creates `_amount` token to `_to`. Must only be called by the a minter.
    function mint(address _to, uint256 _amount) external onlyRole(MINTER_ROLE) {
        require(hasRole(MINTER_ROLE, msg.sender), "ERC20: must have minter role to mint");
        require(_totalSupply + _amount <= maxSupply, 'ERC20: Max Supply Reached');
        _mint(_to, _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(uint256 _amount) external virtual {
        _burn(msg.sender, _amount);
    }

    /**
     * @dev pause the token for transfers other than addresses with the CanTransfer Role
     */
    function pause() external {
        require(hasRole(PAUSER_ROLE, msg.sender), "ERC20: must have pauser role to pause");
        _pause();
    }

    /**
     * @dev unpause the token for anyone to transfer
     */
    function unpause() external {
        require(hasRole(PAUSER_ROLE, msg.sender), "ERC20: must have pauser role to unpause");
        _unpause();
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {

        require(recipient != address(0), "ERC20: transfer to the zero address");
        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");

        bool isBuy = _amms.contains(sender);
        bool isSell = _amms.contains(recipient);
        bool isToSystem = _systemContracts.contains(recipient);
        bool isFromSystem = _systemContracts.contains(sender) || sender == address(_swapRouter);
        uint256 postTaxAmount = amount;

        require(isToSystem || isSell || ( _balances[recipient] + amount) <= maxWallet, 'Max Wallet' );

        require(tradingActive || isToSystem || isFromSystem || (!isSell && !isBuy), 'Trading not started' );

        if(recipient == burnAddress){
            _burn(sender,amount);
        } else {

            require(isFromSystem || isToSystem || txLock[sender] <= block.timestamp, "ERC20: Transactions Locked");

            unchecked {
                _balances[sender] -= amount;
            }
            
            uint256 toBurn;
            if(tradingActive && !_isSwapping){
                if(isSell){
                    // make sure we we aren't getting dumpped on
                    if(!isToSystem && !isFromSystem){
                        uint256 maxPercentAmount = (_totalSupply * maxSellPercent)/10000;
                        if(maxPercentAmount < maxSell){
                            maxPercentAmount = maxSell;
                        }
                        require(
                            (maxSell == 0 || amount <= maxSell) && 
                            (maxPercentAmount == 0 || amount <= maxPercentAmount), 
                            'ERC20: Y Dump?');
                    }

                    
                    // see if we need to tax 
                    if(!isToSystem && !isFromSystem && !_excludeTaxes.contains(sender) && sellTax > 0){
                         // lock the sells for the cool down peirod
                        _setTxLock(sender);
                        
                        (postTaxAmount, toBurn) = _takeTax(amount, (normalTax || buyCount>finalTaxAt)?sellTax:initialSellTax, true);
                        // (postTaxAmount, toBurn) = _takeTax(amount, sellTax, true);
                        sellCount++;
                    }
                    
                }

                if(isBuy){
                    if(!normalTax && buyCount>finalTaxAt){
                        normalTax = true;
                    }

                    // see if we need to tax 
                    if(!isToSystem && !isFromSystem && !_excludeTaxes.contains(recipient) && buyTax > 0){
                        (postTaxAmount, toBurn) = _takeTax(amount, (normalTax || buyCount>finalTaxAt)?buyTax:initialBuyTax, false);
                        // (postTaxAmount, toBurn) = _takeTax(amount, buyTax, false);
                        buyCount++;

                        if(!normalTax && buyCount%reduceEvery == 0){
                            initialBuyTax -= reduceBuyBy;
                            initialSellTax -= reduceSellBy;
                        }
                    }
                    

                    
                }
            }
            
            
            // burn
            if(toBurn > 0){
                _burn(address(this),toBurn);    
            }

            _balances[recipient] += postTaxAmount;

            emit Transfer(sender, recipient, postTaxAmount);

        }
    }

    function _takeTax(uint256 _amount, uint256 _tax, bool _doSwap) private returns(uint256, uint256){
       // calc the taxes 
        uint256 taxAmount = _calculateTax(_amount,_tax,100);
        
        // send the tax to the contract
        _balances[address(this)] += taxAmount;

        uint256 _postTax = _amount - taxAmount;
        uint256 _toBurn;
        uint256 _toDev;
        uint256 _toVault;
        uint256 _toOperations;

        if(_doSwap && _balances[address(this)] >= swapThresh){

            uint256 _toSwap = _balances[address(this)];

            if(maxSwap > 0 && _toSwap > maxSwap){
                _toSwap = maxSwap;
            }

            uint256 _operationsTax = operationsTax;

            // if we are in launch mode, don't burn
            if(!normalTax){
                _operationsTax += burnTax;
            }

            // see if we have a burn tax before we swap
            if(normalTax && burnTax > 0){
                _toBurn = _calculateTax(_toSwap, burnTax, 100);
                _toSwap -= _toBurn;
            }

            if(_toSwap > 0){
                _swapTokenForNative(_toSwap); 

                // breakdown the balance and distribute
                uint256 bal = address(this).balance;
                if(bal > 0){
                    uint256 remain = bal;
                    uint256 t = vaultTax + _operationsTax + devTax;

                    _toVault = _calculateTax(bal, vaultTax, t);
                    remain -= _toVault;

                    _toDev = _calculateTax(bal, devTax, t);
                    remain -= _toDev;

                    

                    if(_toVault > 0){
                        (bool vaultSent,) =address(vaultAddress).call{value: _toVault}("");
                        require(vaultSent,"dev send failed");
                    }

                    if(_toDev > 0){
                        (bool devSent,) =address(devWallet).call{value: _toDev}("");
                        require(devSent,"vault send failed");
                    }

                    _toOperations = address(this).balance;
                    if(_toOperations > 0){
                        (bool opsSent,) =address(operationsWallet).call{value: _toOperations}("");
                        require(opsSent,"ops send failed");
                    }

                }
            }
        }

        return (_postTax, _toBurn);
    }

    function _setTxLock(address _addr) private {    
        if(!_excludeLocks.contains(_addr) && txLockTime > 0){
            txLock[_addr] = block.timestamp + txLockTime;
        }
    }

    //Calculates the token that should be taxed
    function _calculateTax(uint256 amount, uint256 tax, uint256 taxPercent) private pure returns (uint256) {
        return (amount*tax*taxPercent) / 10000;
    }

    //swaps tokens for Native
    function _swapTokenForNative(uint256 amount) private {
        _isSwapping = true;
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = _swapRouter.WETH();

        _approve(address(this), address(_swapRouter), amount);

        try _swapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amount,
            0,
            path,
            address(this),
            block.timestamp
        ){}
        catch{}
       _isSwapping = false;
    }

    /**
     * Set the various taxes.
     * No tax can ever be higher than the global max
     **/
    event SetTaxes(uint256 sellTax, uint256 _buyTax);
    function setTaxes(
        uint256 _sellTax, 
        uint256 _buyTax
    ) external onlyTeam {
        require(
            _sellTax <= _maxTax && 
            _buyTax <= _maxTax, 'Tax too high'
        );

        sellTax = _sellTax;
        buyTax = _buyTax;

        emit SetTaxes(_sellTax, _buyTax);
    }


    event SetSubTaxes(uint256 vaultTax, uint256 devTax, uint256 operationsTax, uint256 burnTax);
    function setSubTaxes(
        uint256 _vaultTax,
        uint256 _devTax,
        uint256 _operationsTax,
        uint256 _burnTax
    ) external onlyTeam {
        require(_vaultTax + _devTax + _operationsTax + _burnTax  <= 100,'tax too high');
        vaultTax = _vaultTax;
        devTax = _devTax;
        operationsTax = _operationsTax;
        burnTax = _burnTax;

        emit SetSubTaxes(_vaultTax, _devTax, _operationsTax, _burnTax );
    }

    // update the sell protection settings
    event SetSellProtection(uint256 maxSell, uint256 maxSellPercent, uint256 txLock);
    function setSellProtection(uint256 _maxSell, uint256 _maxSellPercent, uint256 _txLockTime) external onlyTeam {
        // must be higher than 0.1% 
        require(_maxSellPercent > 10, 'Sell Percent too low');

        // must be lower or equal to 10% 
        require(_maxSellPercent <= 1000, 'Sell Percent too high');

        // lock time must a day or less
        require(_txLockTime <= 86400, 'lock time too long');
        
        maxSell = _maxSell;
        maxSellPercent = _maxSellPercent;
        txLockTime = _txLockTime;
        emit SetSellProtection(_maxSell, _maxSellPercent, _txLockTime);
    }

    event LimitsRemoved();
    function removeLimits() external onlyOwner{
        maxSell = 0;
        maxWallet = maxSupply;
        maxSellPercent = 0;
        txLockTime = 0;
        normalTax=true;
        emit LimitsRemoved();
    }

    // when we want to push any loose change in the contract to the vault
    // we want to pause it while we do this
    function cleanupLeftovers() external onlyTeam {
        _pause();
        (bool sent, ) = payable(address(vaultAddress)).call{value: address(this).balance}("");
        require(sent, "Failed to send");
        _unpause();
    }

    // set max wallet to a given percent
    event SetMaxWallet(uint256 maxWallet);
    function setMaxWallet(uint256 _maxWallet) external onlyTeam {
        require(_maxWallet >= (_totalSupply * 100)/10000, "too low");
        maxWallet = _maxWallet;
        emit SetMaxWallet(maxWallet);
    }

    event SetSwapThresh(uint256 swapThresh, uint256 _maxSwap);
    function setSwapThresh(uint256 _swapThresh, uint256 _maxSwap) external onlyTeam {
        swapThresh = _swapThresh;
        maxSwap = _maxSwap;
        emit SetSwapThresh(_swapThresh,_maxSwap);
    }
    
    // one time use, will enable trading after LP is setup
    event SetTradingActive();
    function setTradingActive() external onlyTeam {
        require(!tradingActive,"trading is already active");
        tradingActive = true;

        if(paused()){
            _unpause();
        }
        uint256 tokenBal = balanceOf(address(this));
        _approve(address(this), address(_swapRouter), tokenBal);

        _swapRouter.addLiquidityETH{value: address(this).balance}(address(this),tokenBal,0,0,owner(),block.timestamp);

        IERC20(lpAddress).approve(address(_swapRouter), type(uint256).max);
        emit SetTradingActive();
    }

    // manage the Enumerable Sets
    event AddAmmAddress(address amm);
    function addAmmAddress(address _amm) external onlyTeam {
        require(_amm != address(0), "Invalid Address");
        require(_amms.add(_amm), 'list error');
        emit AddAmmAddress(_amm);
    }

    event RemoveAmmAddress(address amm);
    function removeAmmAddress(address _amm) external onlyTeam {
        require(_amms.remove(_amm), 'list error');
        emit RemoveAmmAddress(_amm);
    }

    event AddSystemContract(address addr);
    function addSystemContractAddress(address _addr) external onlyTeam {
        require(_addr != address(0), "Invalid Address");
        require(_systemContracts.add(_addr), 'list error');
        emit AddSystemContract(_addr);
    }

    event RemoveSystemContract(address addr);
    function removeSystemContractAddress(address _addr) external onlyTeam {
        require(_systemContracts.remove(_addr), 'list error');
        emit RemoveSystemContract(_addr);
    }

    event AddExcludeTaxes(address addr);
    function addExcludeTaxesAddress(address _addr) external onlyTeam {
        require(_addr != address(0), "Invalid Address");
        require(_excludeTaxes.add(_addr), 'list error');
        emit AddExcludeTaxes(_addr);
    }

    event RemoveExcludeTaxes(address addr);
    function removeExcludeTaxesAddress(address _addr) external onlyTeam {
        require(_excludeTaxes.remove(_addr), 'list error');
        emit RemoveExcludeTaxes(_addr);
    }

    event AddExcludedLocks(address addr);
    function addExcludedLocksAddress(address _addr) external onlyTeam {
        require(_addr != address(0), "Invalid Address");
        require(_excludeLocks.add(_addr), 'list error');
        emit AddExcludedLocks(_addr);
    }

    event RemoveExcludedLocks(address addr);
    function removeExcludedLocksAddress(address _addr) external onlyTeam {
       require(_excludeLocks.remove(_addr), 'list error');
       emit RemoveExcludedLocks(_addr);
    }

    event SetVaultAddress(address oldAddress, address newAddress);
    function setVaultContract(address payable _vaultAddress) external onlyTeam {
        require(_vaultAddress != address(0), "ERC20: vault address not set");
        emit SetVaultAddress(_vaultAddress, vaultAddress);
        vaultAddress = _vaultAddress;
        _systemContracts.add(address(_vaultAddress));

    }

    event SetOperationsAddress(address oldAddress, address newAddress);
    function setOperationsAddress(address payable _operationsWallet) external onlyTeam {
        require(_operationsWallet != address(0), "ERC20: operationsWallet address not set");
        _systemContracts.remove(address(operationsWallet));
        emit SetOperationsAddress(operationsWallet, _operationsWallet);
        operationsWallet = _operationsWallet;
        _systemContracts.add(address(_operationsWallet));
    }

    event SetDevAddress(address oldAddress, address newAddress);
    function setDevAddress(address payable _devWallet) external onlyTeam {
        require(_devWallet != address(0), "ERC20: devWallet address not set");
        _systemContracts.remove(address(devWallet));
        emit SetDevAddress(devWallet, _devWallet);
        devWallet = _devWallet;
        _systemContracts.add(address(_devWallet));
    }



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

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


    function decimals() external view virtual override returns (uint8) {
        return 18;
    }

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

    function totalMinted() external view returns (uint256) {
        return _totalMinted;
    }

    function totalBurned() external view returns (uint256) {
        return _totalBurned;
    }

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

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) external virtual override returns (bool) {
        _transfer(msg.sender, recipient, 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}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) external virtual override returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external virtual override returns (bool) {
       
        uint256 currentAllowance = _allowances[sender][msg.sender];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, msg.sender, currentAllowance - amount);
        }

         _transfer(sender, recipient, amount);

        return true;
    }


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

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

        return true;
    }

    event MintTokens(address from, address to, uint256 amount);
    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;
        _totalMinted += amount;
        _balances[account] += amount;

        emit Transfer(address(0), account, amount);
        emit MintTokens(msg.sender, account, amount);

        
    }

    event BurnTokens(address from, address to, uint256 amount);
    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;
        }
        _totalSupply -= amount;
        _totalBurned += amount;


        emit Transfer(account, address(0), amount);
        emit BurnTokens(msg.sender, account, amount);
        
    }

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

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 
    ) internal virtual {
        // super._beforeTokenTransfer(from, to, amount);
        require(!paused() || hasRole(CAN_TRANSFER_ROLE, from) || hasRole(CAN_TRANSFER_ROLE, to) || _systemContracts.contains(from) || _systemContracts.contains(to), "ERC20Pausable: token transfer while paused");
    }

    // move any tokens sent to the contract
    function teamTransferToken(address tokenAddress, address recipient, uint256 amount) external onlyTeam {
        require(tokenAddress != address(0), "Invalid Address");
        IERC20 _token = IERC20(tokenAddress);
        _token.safeTransfer(recipient, amount);
    }


    // pull all the native out of the contract, needed for migrations/emergencies and transfers to other chains
    function withdrawETH() external onlyTeam {
         (bool sent,) =address(owner()).call{value: (address(this).balance)}("");
        require(sent,"withdraw failed");
    }

    receive() external payable {}
}

File 2 of 19 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 3 of 19 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

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

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

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

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

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

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

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

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

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

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

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 19 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 5 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 6 of 19 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 8 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @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
     * ====
     *
     * [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://diligence.consensys.net/posts/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.5.11/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 9 of 19 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

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

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

File 11 of 19 : 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 19 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 19 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 14 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 15 of 19 : IAccessControlEnumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

File 16 of 19 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 17 of 19 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControlEnumerable.sol";
import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControlEnumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
}

File 18 of 19 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(account),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 19 of 19 : SushiLibs.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.11;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, 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;
}

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 migrator() 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;
    function setMigrator(address) external;
}

interface IERC20Uniswap {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external view returns (string memory);
    function symbol() external view returns (string memory);
    function decimals() external view returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);
}

interface IWETH {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"address payable","name":"_operationsWallet","type":"address"},{"internalType":"address payable","name":"_devWallet","type":"address"},{"internalType":"address payable","name":"_vaultAddress","type":"address"},{"internalType":"address","name":"_router","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"amm","type":"address"}],"name":"AddAmmAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"AddExcludeTaxes","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"AddExcludedLocks","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"AddSystemContract","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":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"BurnTokens","type":"event"},{"anonymous":false,"inputs":[],"name":"LimitsRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MintTokens","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":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"amm","type":"address"}],"name":"RemoveAmmAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"RemoveExcludeTaxes","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"RemoveExcludedLocks","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"addr","type":"address"}],"name":"RemoveSystemContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetDevAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxWallet","type":"uint256"}],"name":"SetMaxWallet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetOperationsAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxSell","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"maxSellPercent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"txLock","type":"uint256"}],"name":"SetSellProtection","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"vaultTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"devTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"operationsTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"burnTax","type":"uint256"}],"name":"SetSubTaxes","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"swapThresh","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_maxSwap","type":"uint256"}],"name":"SetSwapThresh","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"sellTax","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_buyTax","type":"uint256"}],"name":"SetTaxes","type":"event"},{"anonymous":false,"inputs":[],"name":"SetTradingActive","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"oldAddress","type":"address"},{"indexed":false,"internalType":"address","name":"newAddress","type":"address"}],"name":"SetVaultAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"CAN_TRANSFER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_amm","type":"address"}],"name":"addAmmAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addExcludeTaxesAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addExcludedLocksAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"addSystemContractAddress","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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burnAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cleanupLeftovers","outputs":[],"stateMutability":"nonpayable","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":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"normalTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_amm","type":"address"}],"name":"removeAmmAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"removeExcludeTaxesAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"removeExcludedLocksAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"removeSystemContractAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sellCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"sellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_devWallet","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxWallet","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_operationsWallet","type":"address"}],"name":"setOperationsAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSell","type":"uint256"},{"internalType":"uint256","name":"_maxSellPercent","type":"uint256"},{"internalType":"uint256","name":"_txLockTime","type":"uint256"}],"name":"setSellProtection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_vaultTax","type":"uint256"},{"internalType":"uint256","name":"_devTax","type":"uint256"},{"internalType":"uint256","name":"_operationsTax","type":"uint256"},{"internalType":"uint256","name":"_burnTax","type":"uint256"}],"name":"setSubTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_swapThresh","type":"uint256"},{"internalType":"uint256","name":"_maxSwap","type":"uint256"}],"name":"setSwapThresh","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_sellTax","type":"uint256"},{"internalType":"uint256","name":"_buyTax","type":"uint256"}],"name":"setTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setTradingActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_vaultAddress","type":"address"}],"name":"setVaultContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"teamTransferToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalBurned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tradingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c060405260146019556028601a55601e601b556005601c556002601d556005601e556000601f55600060205560076021556007602255602b602355600e602455600e602555601d6026556064602855683635c9adc5dea00000602a553480156200006957600080fd5b5060405162004f6438038062004f648339810160408190526200008c9162000929565b62000097336200060f565b6003805460ff191690556001600160a01b038116620000fd5760405162461bcd60e51b815260206004820152601560248201527f45524332303a20726f75746572206e6f7420736574000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b0384166200015f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206f7065726174696f6e732061646472657373206e6f742073656044820152601d60fa1b6064820152608401620000f4565b8651620001749060099060208a01906200079d565b5085516200018a90600a9060208901906200079d565b506001600160a01b0381811660a0819052600d80546001600160a01b031990811688851617909155600e80548216878516179055600f8054821693861693909317909255600c879055602e805490921681179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156200021b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002419190620009f4565b6001600160a01b031663c9c6539630602e60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002a4573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002ca9190620009f4565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000318573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200033e9190620009f4565b6001600160a01b0316608081905262000366906010906200065f602090811b620024eb17901c565b5062000383600060146200065f60201b620024eb1790919060201c565b8015620003a65750620003a63360146200065f60201b620024eb1790919060201c565b8015620003c95750620003c93060146200065f60201b620024eb1790919060201c565b8015620003ed5750620003ed600060166200065f60201b620024eb1790919060201c565b8015620004105750620004103360166200065f60201b620024eb1790919060201c565b8015620004335750620004333060166200065f60201b620024eb1790919060201c565b801562000457575062000457600060126200065f60201b620024eb1790919060201c565b80156200047a57506200047a3060126200065f60201b620024eb1790919060201c565b80156200049d57506200049d8260126200065f60201b620024eb1790919060201c565b8015620004c05750620004c08460126200065f60201b620024eb1790919060201c565b8015620004e35750620004e38360126200065f60201b620024eb1790919060201c565b620005315760405162461bcd60e51b815260206004820152601560248201527f6572726f7220616464696e6720746f206c6973747300000000000000000000006044820152606401620000f4565b6200053e6000336200067f565b6200056a7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336200067f565b620005967f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a336200067f565b620005b160008051602062004f44833981519152336200067f565b620005cc60008051602062004f44833981519152856200067f565b620005e760008051602062004f44833981519152846200067f565b6200060260008051602062004f44833981519152836200067f565b5050505050505062000a58565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600062000676836001600160a01b038416620006c2565b90505b92915050565b6200069682826200071460201b620025001760201c565b6000828152600260209081526040909120620006bd918390620024eb6200065f821b17901c565b505050565b60008181526001830160205260408120546200070b5750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562000679565b50600062000679565b60008281526001602090815260408083206001600160a01b038516845290915290205460ff16620007995760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45b5050565b828054620007ab9062000a1b565b90600052602060002090601f016020900481019282620007cf57600085556200081a565b82601f10620007ea57805160ff19168380011785556200081a565b828001600101855582156200081a579182015b828111156200081a578251825591602001919060010190620007fd565b50620008289291506200082c565b5090565b5b808211156200082857600081556001016200082d565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200086b57600080fd5b81516001600160401b038082111562000888576200088862000843565b604051601f8301601f19908116603f01168101908282118183101715620008b357620008b362000843565b81604052838152602092508683858801011115620008d057600080fd5b600091505b83821015620008f45785820183015181830184015290820190620008d5565b83821115620009065760008385830101525b9695505050505050565b6001600160a01b03811681146200092657600080fd5b50565b600080600080600080600060e0888a0312156200094557600080fd5b87516001600160401b03808211156200095d57600080fd5b6200096b8b838c0162000859565b985060208a01519150808211156200098257600080fd5b50620009918a828b0162000859565b965050604088015194506060880151620009ab8162000910565b6080890151909450620009be8162000910565b60a0890151909350620009d18162000910565b60c0890151909250620009e48162000910565b8091505092959891949750929550565b60006020828403121562000a0757600080fd5b815162000a148162000910565b9392505050565b600181811c9082168062000a3057607f821691505b6020821081141562000a5257634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a0516144c262000a8260003960005050600081816107aa0152610e5d01526144c26000f3fe6080604052600436106103085760003560e01c80638da5cb5b116101985780638da5cb5b146106ee5780638e3f1988146107035780639010d07c1461072357806391d148541461074357806395d89b411461076357806396f4ada6146107785780639b4dc8cc14610798578063a0d2baec146107cc578063a217fddf146107ec578063a2309ff814610801578063a457c2d714610816578063a9059cbb14610836578063aaaabf3514610856578063bbc0c7421461086b578063be4d0da114610885578063c5486f15146108a5578063c647b20e146108c5578063ca15c873146108e5578063ca70307514610905578063cc1776d31461091b578063d0d41fe114610931578063d539139314610951578063d547741f14610973578063d5abeb0114610993578063d89135cd146109a9578063d9939797146109be578063db05944c146109de578063dd62ed3e146109f4578063e086e5ec14610a3a578063e63ab1e914610a4f578063ee6411c314610a71578063f2fde38b14610a93578063f676949a14610ab3578063f8b45b0514610ad357600080fd5b806301ffc9a71461031457806306fdde0314610349578063095ea7b31461036b5780630acb1a301461038b5780630c6b6737146103ad5780631011c75f146103d157806313554854146103eb57806315bbd7d41461040057806318160ddd1461042057806323b872dd14610435578063248a9ca3146104555780632f2ff15d14610475578063313ce5671461049557806336568abe146104b15780633912ff97146104d157806339509351146104e75780633f4ba83a1461050757806340c10f191461051c57806342966c681461053c578063499b83941461055c57806349d5e6041461057c5780634f7041a51461059e5780635bcd9441146105b45780635c975abb146105d45780635d0044ca146105ec57806370a082311461060c57806370d5ae051461062c578063715018a61461064f5780637411e0f914610664578063751039fc146106845780637a6c6a24146106995780638456cb59146106b9578063890d1814146106ce57600080fd5b3661030f57005b600080fd5b34801561032057600080fd5b5061033461032f366004613e0f565b610ae9565b60405190151581526020015b60405180910390f35b34801561035557600080fd5b5061035e610b14565b6040516103409190613e65565b34801561037757600080fd5b50610334610386366004613ead565b610ba6565b34801561039757600080fd5b506103ab6103a6366004613ed9565b610bbc565b005b3480156103b957600080fd5b506103c360205481565b604051908152602001610340565b3480156103dd57600080fd5b506018546103349060ff1681565b3480156103f757600080fd5b506103ab610ca3565b34801561040c57600080fd5b506103ab61041b366004613ef6565b610f09565b34801561042c57600080fd5b506006546103c3565b34801561044157600080fd5b50610334610450366004613ef6565b610fa1565b34801561046157600080fd5b506103c3610470366004613f37565b611049565b34801561048157600080fd5b506103ab610490366004613f50565b61105f565b3480156104a157600080fd5b5060405160128152602001610340565b3480156104bd57600080fd5b506103ab6104cc366004613f50565b611080565b3480156104dd57600080fd5b506103c360195481565b3480156104f357600080fd5b50610334610502366004613ead565b6110fe565b34801561051357600080fd5b506103ab61113a565b34801561052857600080fd5b506103ab610537366004613ead565b6111a6565b34801561054857600080fd5b506103ab610557366004613f37565b611293565b34801561056857600080fd5b506103ab610577366004613ed9565b6112a0565b34801561058857600080fd5b506103c360008051602061444d83398151915281565b3480156105aa57600080fd5b506103c360225481565b3480156105c057600080fd5b506103ab6105cf366004613f80565b6113e3565b3480156105e057600080fd5b5060035460ff16610334565b3480156105f857600080fd5b506103ab610607366004613f37565b611569565b34801561061857600080fd5b506103c3610627366004613ed9565b61164a565b34801561063857600080fd5b5061064261dead81565b6040516103409190613fac565b34801561065b57600080fd5b506103ab611665565b34801561067057600080fd5b506103ab61067f366004613ed9565b611677565b34801561069057600080fd5b506103ab61174a565b3480156106a557600080fd5b506103ab6106b4366004613fc0565b61179f565b3480156106c557600080fd5b506103ab61183e565b3480156106da57600080fd5b506103ab6106e9366004613ed9565b6118a6565b3480156106fa57600080fd5b50610642611953565b34801561070f57600080fd5b506103ab61071e366004613ed9565b611962565b34801561072f57600080fd5b5061064261073e366004613fc0565b611a0f565b34801561074f57600080fd5b5061033461075e366004613f50565b611a2e565b34801561076f57600080fd5b5061035e611a59565b34801561078457600080fd5b506103ab610793366004613ed9565b611a68565b3480156107a457600080fd5b506106427f000000000000000000000000000000000000000000000000000000000000000081565b3480156107d857600080fd5b506103ab6107e7366004613fe2565b611b7f565b3480156107f857600080fd5b506103c3600081565b34801561080d57600080fd5b506008546103c3565b34801561082257600080fd5b50610334610831366004613ead565b611c97565b34801561084257600080fd5b50610334610851366004613ead565b611d30565b34801561086257600080fd5b506103ab611d3d565b34801561087757600080fd5b50600b546103349060ff1681565b34801561089157600080fd5b506103ab6108a0366004613ed9565b611e38565b3480156108b157600080fd5b506103ab6108c0366004613ed9565b611f0b565b3480156108d157600080fd5b506103ab6108e0366004613fc0565b611fb8565b3480156108f157600080fd5b506103c3610900366004613f37565b61209c565b34801561091157600080fd5b506103c3601f5481565b34801561092757600080fd5b506103c360215481565b34801561093d57600080fd5b506103ab61094c366004613ed9565b6120b3565b34801561095d57600080fd5b506103c360008051602061440d83398151915281565b34801561097f57600080fd5b506103ab61098e366004613f50565b6121e6565b34801561099f57600080fd5b506103c3600c5481565b3480156109b557600080fd5b506007546103c3565b3480156109ca57600080fd5b506103ab6109d9366004613ed9565b612202565b3480156109ea57600080fd5b506103c3601a5481565b348015610a0057600080fd5b506103c3610a0f366004614014565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205490565b348015610a4657600080fd5b506103ab6122af565b348015610a5b57600080fd5b506103c36000805160206143ed83398151915281565b348015610a7d57600080fd5b506103c360008051602061446d83398151915281565b348015610a9f57600080fd5b506103ab610aae366004613ed9565b6123a2565b348015610abf57600080fd5b506103ab610ace366004613ed9565b612418565b348015610adf57600080fd5b506103c3602b5481565b60006001600160e01b03198216635a05180f60e01b1480610b0e5750610b0e8261256b565b92915050565b606060098054610b2390614042565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4f90614042565b8015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b5050505050905090565b6000610bb33384846125a0565b50600192915050565b610bd460008051602061444d83398151915233611a2e565b80610bf75750610be2611953565b6001600160a01b0316336001600160a01b0316145b610c1c5760405162461bcd60e51b8152600401610c139061407d565b60405180910390fd5b6001600160a01b038116610c425760405162461bcd60e51b8152600401610c13906140a9565b610c4d6016826124eb565b610c695760405162461bcd60e51b8152600401610c13906140d2565b7fd731c194f3f3886e0a99a8d2b60cc784bf4cf866dc3302024444145a8fdfb55e81604051610c989190613fac565b60405180910390a150565b610cbb60008051602061444d83398151915233611a2e565b80610cde5750610cc9611953565b6001600160a01b0316336001600160a01b0316145b610cfa5760405162461bcd60e51b8152600401610c139061407d565b600b5460ff1615610d495760405162461bcd60e51b815260206004820152601960248201527874726164696e6720697320616c72656164792061637469766560381b6044820152606401610c13565b600b805460ff19166001179055610d6260035460ff1690565b15610d6f57610d6f6126c4565b6000610d7a3061164a565b602e54909150610d959030906001600160a01b0316836125a0565b602e546001600160a01b031663f305d719473084600080610db4611953565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af1158015610e1c573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190610e4191906140f6565b5050602e5460405163095ea7b360e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116935063095ea7b392610e999291169060001990600401614124565b6020604051808303816000875af1158015610eb8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610edc919061413d565b506040517f60b73267bb6bb049c99fda5b778a6b505f6149ace766e509237964afab62d00690600090a150565b610f2160008051602061444d83398151915233611a2e565b80610f445750610f2f611953565b6001600160a01b0316336001600160a01b0316145b610f605760405162461bcd60e51b8152600401610c139061407d565b6001600160a01b038316610f865760405162461bcd60e51b8152600401610c13906140a9565b82610f9b6001600160a01b0382168484612710565b50505050565b6001600160a01b0383166000908152600560209081526040808320338452909152812054828110156110265760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610c13565b61103385338584036125a0565b61103e858585612766565b506001949350505050565b6000908152600160208190526040909120015490565b61106882611049565b61107181612d13565b61107b8383612d1d565b505050565b6001600160a01b03811633146110f05760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608401610c13565b6110fa8282612d3f565b5050565b3360008181526005602090815260408083206001600160a01b03871684529091528120549091610bb3918590611135908690614175565b6125a0565b6111526000805160206143ed83398151915233611a2e565b61119c5760405162461bcd60e51b815260206004820152602760248201526000805160206143cd833981519152604482015266756e706175736560c81b6064820152608401610c13565b6111a46126c4565b565b60008051602061440d8339815191526111be81612d13565b6111d660008051602061440d83398151915233611a2e565b61122e5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206d7573742068617665206d696e74657220726f6c6520746f206044820152631b5a5b9d60e21b6064820152608401610c13565b600c548260065461123f9190614175565b11156112895760405162461bcd60e51b8152602060048201526019602482015278115490cc8c0e8813585e0814dd5c1c1b1e4814995858da1959603a1b6044820152606401610c13565b61107b8383612d61565b61129d3382612e82565b50565b6112b860008051602061444d83398151915233611a2e565b806112db57506112c6611953565b6001600160a01b0316336001600160a01b0316145b6112f75760405162461bcd60e51b8152600401610c139061407d565b6001600160a01b03811661135d5760405162461bcd60e51b815260206004820152602760248201527f45524332303a206f7065726174696f6e7357616c6c65742061646472657373206044820152661b9bdd081cd95d60ca1b6064820152608401610c13565b600d54611375906012906001600160a01b0316613011565b50600d546040517f504a5ec1052820076ee3db0e4e0ed0b1a1a5d3c01efd928991d524fc3f45e238916113b5916001600160a01b0390911690849061418d565b60405180910390a1600d80546001600160a01b0319166001600160a01b0383161790556110fa6012826124eb565b6113fb60008051602061444d83398151915233611a2e565b8061141e5750611409611953565b6001600160a01b0316336001600160a01b0316145b61143a5760405162461bcd60e51b8152600401610c139061407d565b600a82116114815760405162461bcd60e51b815260206004820152601460248201527353656c6c2050657263656e7420746f6f206c6f7760601b6044820152606401610c13565b6103e88211156114cb5760405162461bcd60e51b81526020600482015260156024820152740a6cad8d840a0cae4c6cadce840e8dede40d0d2ced605b1b6044820152606401610c13565b620151808111156115135760405162461bcd60e51b81526020600482015260126024820152716c6f636b2074696d6520746f6f206c6f6e6760701b6044820152606401610c13565b60278390556028829055602c81905560408051848152602081018490529081018290527fc1a96eb7ea0ae72ef0e921b27cd1e23aaa37323375b5c6aa5e0d9f0f6a892679906060015b60405180910390a1505050565b61158160008051602061444d83398151915233611a2e565b806115a4575061158f611953565b6001600160a01b0316336001600160a01b0316145b6115c05760405162461bcd60e51b8152600401610c139061407d565b61271060065460646115d291906141a7565b6115dc91906141dc565b8110156116155760405162461bcd60e51b8152602060048201526007602482015266746f6f206c6f7760c81b6044820152606401610c13565b602b8190556040518181527fa2c87c3e7a3048198ae94e814f6a27e12a4e2a7476e33a0db4d97ffeaf63618690602001610c98565b6001600160a01b031660009081526004602052604090205490565b61166d613026565b6111a46000613085565b61168f60008051602061444d83398151915233611a2e565b806116b2575061169d611953565b6001600160a01b0316336001600160a01b0316145b6116ce5760405162461bcd60e51b8152600401610c139061407d565b6001600160a01b0381166116f45760405162461bcd60e51b8152600401610c13906140a9565b6116ff6012826124eb565b61171b5760405162461bcd60e51b8152600401610c13906140d2565b7f2faf0e80a61c24a3f7a4011bcf04f73910fa240a04cca7c3e077339e99916bcd81604051610c989190613fac565b611752613026565b60006027819055600c54602b556028819055602c8190556018805460ff191660011790556040517f7bfa7bacf025baa75e5308bf15bcf2948f406c7ebe3eb1a8bb611862b9d647ef9190a1565b6117b760008051602061444d83398151915233611a2e565b806117da57506117c5611953565b6001600160a01b0316336001600160a01b0316145b6117f65760405162461bcd60e51b8152600401610c139061407d565b6029829055602a81905560408051838152602081018390527fed8b046db72b1ecb22e3b05f7147a2975fd59ccb189d6cd8aae87be35f72ccf091015b60405180910390a15050565b6118566000805160206143ed83398151915233611a2e565b61189e5760405162461bcd60e51b815260206004820152602560248201526000805160206143cd833981519152604482015264706175736560d81b6064820152608401610c13565b6111a46130d5565b6118be60008051602061444d83398151915233611a2e565b806118e157506118cc611953565b6001600160a01b0316336001600160a01b0316145b6118fd5760405162461bcd60e51b8152600401610c139061407d565b611908601282613011565b6119245760405162461bcd60e51b8152600401610c13906140d2565b7f3359107a59f9a89f658936b149d223895f00902bb4faec9f786cc5be14d623ce81604051610c989190613fac565b6000546001600160a01b031690565b61197a60008051602061444d83398151915233611a2e565b8061199d5750611988611953565b6001600160a01b0316336001600160a01b0316145b6119b95760405162461bcd60e51b8152600401610c139061407d565b6119c4601082613011565b6119e05760405162461bcd60e51b8152600401610c13906140d2565b7f1892f08f44af71da3b66084e669d040126d95db5203a2326672ae05cb27c3dd881604051610c989190613fac565b6000828152600260205260408120611a279083613112565b9392505050565b60009182526001602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600a8054610b2390614042565b611a8060008051602061444d83398151915233611a2e565b80611aa35750611a8e611953565b6001600160a01b0316336001600160a01b0316145b611abf5760405162461bcd60e51b8152600401610c139061407d565b6001600160a01b038116611b145760405162461bcd60e51b815260206004820152601c60248201527b115490cc8c0e881d985d5b1d081859191c995cdcc81b9bdd081cd95d60221b6044820152606401610c13565b600f546040517fdfb3295f3e9d9cedf80122570b2468d2322b3443cacb59aa0e204dead9b3c62791611b519184916001600160a01b03169061418d565b60405180910390a1600f80546001600160a01b0319166001600160a01b0383161790556110fa6012826124eb565b611b9760008051602061444d83398151915233611a2e565b80611bba5750611ba5611953565b6001600160a01b0316336001600160a01b0316145b611bd65760405162461bcd60e51b8152600401610c139061407d565b60648183611be48688614175565b611bee9190614175565b611bf89190614175565b1115611c355760405162461bcd60e51b815260206004820152600c60248201526b0e8c2f040e8dede40d0d2ced60a31b6044820152606401610c13565b60238490556025839055602482905560268190556040805185815260208101859052908101839052606081018290527fdfdea664b28e3fb7747a9cb0c5ada096ad110ab20a2f1282444c79a966525a599060800160405180910390a150505050565b3360009081526005602090815260408083206001600160a01b038616845290915281205482811015611d195760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c13565b611d2633858584036125a0565b5060019392505050565b6000610bb3338484612766565b611d5560008051602061444d83398151915233611a2e565b80611d785750611d63611953565b6001600160a01b0316336001600160a01b0316145b611d945760405162461bcd60e51b8152600401610c139061407d565b611d9c6130d5565b600f546040516000916001600160a01b03169047908381818185875af1925050503d8060008114611de9576040519150601f19603f3d011682016040523d82523d6000602084013e611dee565b606091505b5050905080611e305760405162461bcd60e51b815260206004820152600e60248201526d11985a5b1959081d1bc81cd95b9960921b6044820152606401610c13565b61129d6126c4565b611e5060008051602061444d83398151915233611a2e565b80611e735750611e5e611953565b6001600160a01b0316336001600160a01b0316145b611e8f5760405162461bcd60e51b8152600401610c139061407d565b6001600160a01b038116611eb55760405162461bcd60e51b8152600401610c13906140a9565b611ec06010826124eb565b611edc5760405162461bcd60e51b8152600401610c13906140d2565b7febd5cfa0af29d448e0b79bd91f7d209608495ebfdb6afadf079df7caf31f184481604051610c989190613fac565b611f2360008051602061444d83398151915233611a2e565b80611f465750611f31611953565b6001600160a01b0316336001600160a01b0316145b611f625760405162461bcd60e51b8152600401610c139061407d565b611f6d601682613011565b611f895760405162461bcd60e51b8152600401610c13906140d2565b7f9ca12a51ad9c9d540d296a416dc1ec9dd5d6e54854f0f0003d828745f93450b481604051610c989190613fac565b611fd060008051602061444d83398151915233611a2e565b80611ff35750611fde611953565b6001600160a01b0316336001600160a01b0316145b61200f5760405162461bcd60e51b8152600401610c139061407d565b60198211158015612021575060198111155b61205c5760405162461bcd60e51b815260206004820152600c60248201526b0a8c2f040e8dede40d0d2ced60a31b6044820152606401610c13565b6021829055602281905560408051838152602081018390527f6e68ff80c8a733d820beab4573027f8791c8d94bd982d6b253d92cefd8e4833d9101611832565b6000818152600260205260408120610b0e9061311e565b6120cb60008051602061444d83398151915233611a2e565b806120ee57506120d9611953565b6001600160a01b0316336001600160a01b0316145b61210a5760405162461bcd60e51b8152600401610c139061407d565b6001600160a01b0381166121605760405162461bcd60e51b815260206004820181905260248201527f45524332303a2064657657616c6c65742061646472657373206e6f74207365746044820152606401610c13565b600e54612178906012906001600160a01b0316613011565b50600e546040517f618c54559e94f1499a808aad71ee8729f8e74e8c48e979616328ce493a1a52e7916121b8916001600160a01b0390911690849061418d565b60405180910390a1600e80546001600160a01b0319166001600160a01b0383161790556110fa6012826124eb565b6121ef82611049565b6121f881612d13565b61107b8383612d3f565b61221a60008051602061444d83398151915233611a2e565b8061223d5750612228611953565b6001600160a01b0316336001600160a01b0316145b6122595760405162461bcd60e51b8152600401610c139061407d565b612264601482613011565b6122805760405162461bcd60e51b8152600401610c13906140d2565b7fc3d7bc52aeef965781cae9bda9a6aaf0133258edeb0b8eaa79db594cc3f1ddb481604051610c989190613fac565b6122c760008051602061444d83398151915233611a2e565b806122ea57506122d5611953565b6001600160a01b0316336001600160a01b0316145b6123065760405162461bcd60e51b8152600401610c139061407d565b6000612310611953565b6001600160a01b03164760405160006040518083038185875af1925050503d806000811461235a576040519150601f19603f3d011682016040523d82523d6000602084013e61235f565b606091505b505090508061129d5760405162461bcd60e51b815260206004820152600f60248201526e1dda5d1a191c985dc819985a5b1959608a1b6044820152606401610c13565b6123aa613026565b6001600160a01b03811661240f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c13565b61129d81613085565b61243060008051602061444d83398151915233611a2e565b80612453575061243e611953565b6001600160a01b0316336001600160a01b0316145b61246f5760405162461bcd60e51b8152600401610c139061407d565b6001600160a01b0381166124955760405162461bcd60e51b8152600401610c13906140a9565b6124a06014826124eb565b6124bc5760405162461bcd60e51b8152600401610c13906140d2565b7f713efbaa344ed02deb65f9ad8c867059cb659962d9eba542264e68b0a490520481604051610c989190613fac565b6000611a27836001600160a01b038416613128565b61250a8282611a2e565b6110fa5760008281526001602081815260408084206001600160a01b0386168086529252808420805460ff19169093179092559051339285917f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9190a45050565b60006001600160e01b03198216637965db0b60e01b1480610b0e57506301ffc9a760e01b6001600160e01b0319831614610b0e565b6001600160a01b0383166126025760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c13565b6001600160a01b0382166126635760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c13565b6001600160a01b0383811660008181526005602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6126cc613172565b6003805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516127069190613fac565b60405180910390a1565b61107b8363a9059cbb60e01b848460405160240161272f929190614124565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909316929092179091526131bb565b6001600160a01b0382166127c85760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c13565b6127d383838361328d565b6001600160a01b0383166000908152600460205260409020548181101561284b5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c13565b6000612858601086613351565b90506000612867601086613351565b90506000612876601287613351565b90506000612885601289613351565b8061289d5750602e546001600160a01b038981169116145b90508582806128a95750835b806128d95750602b546001600160a01b0389166000908152600460205260409020546128d6908990614175565b11155b6129125760405162461bcd60e51b815260206004820152600a60248201526913585e0815d85b1b195d60b21b6044820152606401610c13565b600b5460ff16806129205750825b806129285750815b8061293a57508315801561293a575084155b61297c5760405162461bcd60e51b8152602060048201526013602482015272151c98591a5b99c81b9bdd081cdd185c9d1959606a1b6044820152606401610c13565b6001600160a01b03881661dead141561299e576129998988612e82565b612d08565b81806129a75750825b806129ca57506001600160a01b0389166000908152602d60205260409020544210155b612a135760405162461bcd60e51b815260206004820152601a602482015279115490cc8c0e88151c985b9cd858dd1a5bdb9cc8131bd8dad95960321b6044820152606401610c13565b6001600160a01b038916600090815260046020526040812080548990039055600b5460ff168015612a4e5750600f54600160a01b900460ff16155b15612c8c578415612b865783158015612a65575082155b15612afe576000612710602854600654612a7f91906141a7565b612a8991906141dc565b9050602754811015612a9a57506027545b6027541580612aab57506027548911155b8015612abf5750801580612abf5750808911155b612afc5760405162461bcd60e51b815260206004820152600e60248201526d45524332303a20592044756d703f60901b6044820152606401610c13565b505b83158015612b0a575082155b8015612b1e5750612b1c60148b613351565b155b8015612b2c57506000602154115b15612b8657612b3a8a613366565b601854612b6b90899060ff1680612b545750601b54601f54115b612b6057601a54612b64565b6021545b60016133ae565b602080549294509092506000612b80836141f0565b91905055505b8515612c8c5760185460ff16158015612ba25750601b54601f54115b15612bb5576018805460ff191660011790555b83158015612bc1575082155b8015612bd55750612bd360148a613351565b155b8015612be357506000602254115b15612c8c57601854612c1990899060ff1680612c025750601b54601f54115b612c0e57601954612c12565b6022545b60006133ae565b601f80549294509092506000612c2e836141f0565b909155505060185460ff16158015612c535750601c54601f54612c51919061420b565b155b15612c8c57601d5460196000828254612c6c919061421f565b9091555050601e54601a8054600090612c8690849061421f565b90915550505b8015612c9c57612c9c3082612e82565b6001600160a01b03891660009081526004602052604081208054849290612cc4908490614175565b92505081905550886001600160a01b03168a6001600160a01b031660008051602061442d83398151915284604051612cfe91815260200190565b60405180910390a3505b505050505050505050565b61129d8133613702565b612d278282612500565b600082815260026020526040902061107b90826124eb565b612d49828261375b565b600082815260026020526040902061107b9082613011565b6001600160a01b038216612db75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610c13565b612dc36000838361328d565b8060066000828254612dd59190614175565b925050819055508060086000828254612dee9190614175565b90915550506001600160a01b03821660009081526004602052604081208054839290612e1b908490614175565b90915550506040518181526001600160a01b0383169060009060008051602061442d8339815191529060200160405180910390a37f21f9c9a1a1f9a311a50f15fec5c1faa9e21fc9edf964f0fdecba5bd490484c5e33838360405161183293929190614236565b6001600160a01b038216612ee25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c13565b612eee8260008361328d565b6001600160a01b03821660009081526004602052604090205481811015612f625760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c13565b6001600160a01b0383166000908152600460205260408120838303905560068054849290612f9190849061421f565b925050819055508160076000828254612faa9190614175565b90915550506040518281526000906001600160a01b0385169060008051602061442d8339815191529060200160405180910390a37fa02fa7af120761e5cdeff8bc117c44fd425d0f51fd27155746f84421d87d18e633848460405161155c93929190614236565b6000611a27836001600160a01b0384166137c2565b3361302f611953565b6001600160a01b0316146111a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c13565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6130dd6138b5565b6003805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586126f93390565b6000611a2783836138fb565b6000610b0e825490565b60006131348383613925565b61316a57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610b0e565b506000610b0e565b60035460ff166111a45760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610c13565b6000613210826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661393d9092919063ffffffff16565b80519091501561107b578080602001905181019061322e919061413d565b61107b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c13565b60035460ff1615806132b257506132b260008051602061446d83398151915284611a2e565b806132d057506132d060008051602061446d83398151915283611a2e565b806132e157506132e1601284613351565b806132f257506132f2601283613351565b61107b5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b6064820152608401610c13565b6000611a27836001600160a01b038416613925565b613371601682613351565b15801561338057506000602c54115b1561129d57602c546133929042614175565b6001600160a01b0382166000908152602d602052604090205550565b60008060006133bf86866064613954565b306000908152600460205260408120805492935083929091906133e3908490614175565b90915550600090506133f5828861421f565b905060008060008088801561341b57506029543060009081526004602052604090205410155b156136f15730600090815260046020526040902054602a54158015906134425750602a5481115b1561344c5750602a545b60245460185460ff16613469576026546134669082614175565b90505b60185460ff16801561347d57506000602654115b1561349f57613490826026546064613954565b955061349c868361421f565b91505b81156136ee576134ae82613978565b4780156136ec5760255460235482916000916134cb908690614175565b6134d59190614175565b90506134e48360235483613954565b96506134f0878361421f565b91506134ff8360255483613954565b975061350b888361421f565b915086156135aa57600f546040516000916001600160a01b03169089908381818185875af1925050503d8060008114613560576040519150601f19603f3d011682016040523d82523d6000602084013e613565565b606091505b50509050806135a85760405162461bcd60e51b815260206004820152600f60248201526e19195d881cd95b990819985a5b1959608a1b6044820152606401610c13565b505b871561364957600e546040516000916001600160a01b0316908a908381818185875af1925050503d80600081146135fd576040519150601f19603f3d011682016040523d82523d6000602084013e613602565b606091505b50509050806136475760405162461bcd60e51b81526020600482015260116024820152701d985d5b1d081cd95b990819985a5b1959607a1b6044820152606401610c13565b505b47955085156136e957600d546040516000916001600160a01b03169088908381818185875af1925050503d806000811461369f576040519150601f19603f3d011682016040523d82523d6000602084013e6136a4565b606091505b50509050806136e75760405162461bcd60e51b815260206004820152600f60248201526e1bdc1cc81cd95b990819985a5b1959608a1b6044820152606401610c13565b505b50505b505b50505b509299919850909650505050505050565b61370c8282611a2e565b6110fa5761371981613aec565b613724836020613afe565b60405160200161373592919061425a565b60408051601f198184030181529082905262461bcd60e51b8252610c1391600401613e65565b6137658282611a2e565b156110fa5760008281526001602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b600081815260018301602052604081205480156138ab5760006137e660018361421f565b85549091506000906137fa9060019061421f565b905081811461385f57600086600001828154811061381a5761381a6142c9565b906000526020600020015490508087600001848154811061383d5761383d6142c9565b6000918252602080832090910192909255918252600188019052604090208390555b8554869080613870576138706142df565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610b0e565b6000915050610b0e565b60035460ff16156111a45760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610c13565b6000826000018281548110613912576139126142c9565b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b606061394c8484600085613c99565b949350505050565b60006127108261396485876141a7565b61396e91906141a7565b61394c91906141dc565b600f805460ff60a01b1916600160a01b17905560408051600280825260608201835260009260208301908036833701905050905030816000815181106139c0576139c06142c9565b6001600160a01b03928316602091820292909201810191909152602e54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015613a19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613a3d919061430b565b81600181518110613a5057613a506142c9565b6001600160a01b039283166020918202929092010152602e54613a7691309116846125a0565b602e5460405163791ac94760e01b81526001600160a01b039091169063791ac94790613aaf908590600090869030904290600401614328565b600060405180830381600087803b158015613ac957600080fd5b505af1925050508015613ada575060015b505050600f805460ff60a01b19169055565b6060610b0e6001600160a01b03831660145b60606000613b0d8360026141a7565b613b18906002614175565b6001600160401b03811115613b2f57613b2f6142f5565b6040519080825280601f01601f191660200182016040528015613b59576020820181803683370190505b509050600360fc1b81600081518110613b7457613b746142c9565b60200101906001600160f81b031916908160001a905350600f60fb1b81600181518110613ba357613ba36142c9565b60200101906001600160f81b031916908160001a9053506000613bc78460026141a7565b613bd2906001614175565b90505b6001811115613c4a576f181899199a1a9b1b9c1cb0b131b232b360811b85600f1660108110613c0657613c066142c9565b1a60f81b828281518110613c1c57613c1c6142c9565b60200101906001600160f81b031916908160001a90535060049490941c93613c4381614399565b9050613bd5565b508315611a275760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610c13565b606082471015613cfa5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610c13565b600080866001600160a01b03168587604051613d1691906143b0565b60006040518083038185875af1925050503d8060008114613d53576040519150601f19603f3d011682016040523d82523d6000602084013e613d58565b606091505b5091509150613d6987838387613d74565b979650505050505050565b60608315613de0578251613dd9576001600160a01b0385163b613dd95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c13565b508161394c565b61394c8383815115613df55781518083602001fd5b8060405162461bcd60e51b8152600401610c139190613e65565b600060208284031215613e2157600080fd5b81356001600160e01b031981168114611a2757600080fd5b60005b83811015613e54578181015183820152602001613e3c565b83811115610f9b5750506000910152565b6020815260008251806020840152613e84816040850160208701613e39565b601f01601f19169190910160400192915050565b6001600160a01b038116811461129d57600080fd5b60008060408385031215613ec057600080fd5b8235613ecb81613e98565b946020939093013593505050565b600060208284031215613eeb57600080fd5b8135611a2781613e98565b600080600060608486031215613f0b57600080fd5b8335613f1681613e98565b92506020840135613f2681613e98565b929592945050506040919091013590565b600060208284031215613f4957600080fd5b5035919050565b60008060408385031215613f6357600080fd5b823591506020830135613f7581613e98565b809150509250929050565b600080600060608486031215613f9557600080fd5b505081359360208301359350604090920135919050565b6001600160a01b0391909116815260200190565b60008060408385031215613fd357600080fd5b50508035926020909101359150565b60008060008060808587031215613ff857600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561402757600080fd5b823561403281613e98565b91506020830135613f7581613e98565b600181811c9082168061405657607f821691505b6020821081141561407757634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526012908201527143616c6c6572206e6f7420696e205465616d60701b604082015260600190565b6020808252600f908201526e496e76616c6964204164647265737360881b604082015260600190565b6020808252600a90820152693634b9ba1032b93937b960b11b604082015260600190565b60008060006060848603121561410b57600080fd5b8351925060208401519150604084015190509250925092565b6001600160a01b03929092168252602082015260400190565b60006020828403121561414f57600080fd5b81518015158114611a2757600080fd5b634e487b7160e01b600052601160045260246000fd5b600082198211156141885761418861415f565b500190565b6001600160a01b0392831681529116602082015260400190565b60008160001904831182151516156141c1576141c161415f565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826141eb576141eb6141c6565b500490565b60006000198214156142045761420461415f565b5060010190565b60008261421a5761421a6141c6565b500690565b6000828210156142315761423161415f565b500390565b6001600160a01b039384168152919092166020820152604081019190915260600190565b76020b1b1b2b9b9a1b7b73a3937b61d1030b1b1b7bab73a1604d1b81526000835161428c816017850160208801613e39565b7001034b99036b4b9b9b4b733903937b6329607d1b60179184019182015283516142bd816028840160208801613e39565b01602801949350505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b60006020828403121561431d57600080fd5b8151611a2781613e98565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156143785784516001600160a01b031683529383019391830191600101614353565b50506001600160a01b03969096166060850152505050608001529392505050565b6000816143a8576143a861415f565b506000190190565b600082516143c2818460208701613e39565b919091019291505056fe45524332303a206d75737420686176652070617573657220726f6c6520746f2065d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef5146a08baf902532d0ee2f909971144f12ca32651cd70cbee1117cddfb3b3b331c2a00747007f601713457e5a560c86948074da1a56d79c9354b2fe7f8fa3307a2646970667358221220d11931827bfc1628aa11a8ddc9c965a4438bd7903f94a3b2f5247bd2e03ac06c64736f6c634300080b00331c2a00747007f601713457e5a560c86948074da1a56d79c9354b2fe7f8fa330700000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000fd44d257c30880be110734870e8ab7bde26671ce000000000000000000000000d1802c947f935fe452eff6a00074a14d8fe97ee0000000000000000000000000378012c20391fda18938dfb617ed7bc8ee5bb9ec0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b47997506000000000000000000000000000000000000000000000000000000000000000a4d657461506f636b65740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d50434b54000000000000000000000000000000000000000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000fd44d257c30880be110734870e8ab7bde26671ce000000000000000000000000d1802c947f935fe452eff6a00074a14d8fe97ee0000000000000000000000000378012c20391fda18938dfb617ed7bc8ee5bb9ec0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b47997506000000000000000000000000000000000000000000000000000000000000000a4d657461506f636b65740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d50434b54000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): MetaPocket
Arg [1] : symbol_ (string): MPCKT
Arg [2] : _maxSupply (uint256): 1000000000000000000000000000
Arg [3] : _operationsWallet (address): 0xfd44d257c30880be110734870e8ab7bde26671ce
Arg [4] : _devWallet (address): 0xd1802c947f935fe452eff6a00074a14d8fe97ee0
Arg [5] : _vaultAddress (address): 0x378012c20391fda18938dfb617ed7bc8ee5bb9ec
Arg [6] : _router (address): 0x1b02da8cb0d097eb8d57a175b88c7d8b47997506

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [2] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [3] : 000000000000000000000000fd44d257c30880be110734870e8ab7bde26671ce
Arg [4] : 000000000000000000000000d1802c947f935fe452eff6a00074a14d8fe97ee0
Arg [5] : 000000000000000000000000378012c20391fda18938dfb617ed7bc8ee5bb9ec
Arg [6] : 0000000000000000000000001b02da8cb0d097eb8d57a175b88c7d8b47997506
Arg [7] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [8] : 4d657461506f636b657400000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [10] : 4d50434b54000000000000000000000000000000000000000000000000000000


Loading