ETH Price: $3,640.26 (+8.24%)

Token

FOMO (FOMO)
 

Overview

Max Total Supply

1,000,000,000,000 FOMO

Holders

58

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
1,411,707,669.575825434 FOMO

Value
$0.00
0x6A9b3e3D95CA45e39cDdA9345de9c1e667a645f1
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
FOMO

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : FOMO.sol
// SPDX-License-Identifier: MIT

/*

Looks like you're going to make it, ser

@fomo_eth

*/





pragma solidity ^0.8.0;

import "./utils/ERC20Feeable.sol";
import "./utils/Killable.sol";
import "./utils/TradeValidator.sol";
import "./utils/SwapHelper.sol";
import "./utils/Ownable.sol";

contract FOMO is
    Context,
    Ownable,
    Killable,
    TradeValidator,
    ERC20Feeable,
    SwapHelper(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D)
{

    address public treasury;

    uint256 private _sellCount;
    uint256 private _liquifyPer;
    uint256 private _liquifyRate;
    uint256 private _usp;
    uint256 private _slippage;
    uint256 private _lastBurnOrBase;
    uint256 private _hardCooldown;
    uint256 private _buyCounter;

    address constant BURN_ADDRESS = address(0x000000000000000000000000000000000000dEaD);

    bool private _unpaused;
    bool private _isBuuuuurrrrrning;
    
    constructor() ERC20("FOMO", "FOMO", 9, 1_000_000_000_000 * (10 ** 9)) ERC20Feeable() {

        uint256 total = _fragmentBalances[msg.sender];
        _fragmentBalances[msg.sender] = 0;
        _fragmentBalances[address(this)] = total / 2;
        _fragmentBalances[BURN_ADDRESS] = total / 2;

        _frate = fragmentsPerToken();
        
        _approve(msg.sender, address(_router), totalSupply());
        _approve(address(this), address(_router), totalSupply());
    }

    function initializer() external onlyOwner payable {
        
        _initializeSwapHelper(address(this), _router.WETH());

        _router.addLiquidityETH {
            value: msg.value
        } (
            address(this),
            balanceOf(address(this)),
            0,
            0,
            owner(),
            block.timestamp
        );
        
        treasury = address(0x957ABAc46243fcA7A0F4d2c110c3Cf860EeA0317);

        _accountStates[address(_lp)].transferPair = true;
        _accountStates[address(this)].feeless = true;
        _accountStates[treasury].feeless = true;
        _accountStates[msg.sender].feeless = true;

        exclude(address(_lp));

        _precisionFactor = 4; // thousandths

        fbl_feeAdd(TransactionState.Buy,    300, "buy fee");
        fbl_feeAdd(TransactionState.Sell,   1500, "sell fee");

        _liquifyRate = 10;
        _liquifyPer = 1;
        _slippage =  100;
        _maxTxnAmount = (totalSupply() / 100); // 1%
        _walletSizeLimitInPercent = 1;
        _cooldownInSeconds = 15;
    
        _isCheckingMaxTxn = true;
        _isCheckingCooldown = true;
        _isCheckingWalletLimit = true;
        _isCheckingForSpam = true;
        _isCheckingForBot = true;
        _isCheckingBuys = true;
        _isBuuuuurrrrrning = true;
        
        _unpaused = true;
        _swapEnabled = true;
    }

    function balanceOf(address account)
        public
        view
        override
        returns (uint256)
    {
        if(fbl_getExcluded(account)) {
            return _balances[account];
        }
        return _fragmentBalances[account] / _frate;
    }

    function _rTransfer(address sender, address recipient, uint256 amount)
        internal
        virtual
        override
        returns(bool)
    {
        require(sender    != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
        uint256 totFee_;
        uint256 p;
        uint256 u;
        TransactionState tState;
        if(_unpaused) {
            if(_isCheckingForBot) {
                _checkIfBot(sender);
                _checkIfBot(recipient);
            }
            tState = fbl_getTstate(sender, recipient);
            if(_isCheckingBuys && _accountStates[recipient].transferPair != true && tState == TransactionState.Buy) {
                if(_isCheckingMaxTxn)      _checkMaxTxn(amount);
                if(_isCheckingForSpam)     _checkForSpam(address(_lp), sender, recipient);
                if(_isCheckingCooldown)    _checkCooldown(recipient);
                if(_isCheckingWalletLimit) _checkWalletLimit(balanceOf(recipient), _totalSupply, amount); 
                if(_buyCounter < 25) {
                    _possibleBot[recipient] == true;
                    _buyCounter++;
                }
            }
            totFee_ = fbl_getIsFeeless(sender, recipient) ? 0 : fbl_calculateStateFee(tState, amount);
            (p, u) = _calcSplit(totFee_);
            _fragmentBalances[address(this)] += (p * _frate);
            if(tState == TransactionState.Sell) {
                _sellCount = _sellCount > _liquifyPer ? 0 : _sellCount + 1;
                if(_swapEnabled && !_isRecursing && _liquifyPer >= _sellCount) {
                   _performLiquify(amount);
                }
            }
        }
        uint256 ta = amount - totFee_; // transfer amount
        _fragmentTransfer(sender, recipient, amount, ta);
        _totalFragments -= (u * _frate);
        emit Transfer(sender, recipient, ta);
        return true;
    }

    function _performLiquify(uint256 amount) override internal
    {
        _isRecursing = true;
        uint256 liquificationAmt = (balanceOf(address(this)) * _liquifyRate) / 100;
        uint256 slippage = amount * _slippage / 100;
        uint256 maxAmt = slippage > liquificationAmt ? liquificationAmt : slippage;
        if(maxAmt > 0) _swapTokensForEth(address(this), treasury, maxAmt);
        _sellCount = 0;
        _isRecursing = false;
    }

    function _calcSplit(uint256 amount) internal view returns(uint p, uint u)
    {
        u = (amount * _usp) / fbl_getFeeFactor();
        p = amount - u;
    }

    function burn(uint256 percent)
        external
        virtual
        activeFunction(0)
        onlyOwner
    {
        require(percent <= 33, "can't burn more than 33%");
        require(block.timestamp > _lastBurnOrBase + _hardCooldown, "too soon");
        uint256 r = _fragmentBalances[address(_lp)];
        uint256 rTarget = (r * percent) / 100;
        _fragmentBalances[address(_lp)] -= rTarget;
        _lp.sync();
        _lp.skim(treasury); // take any dust
        _lastBurnOrBase = block.timestamp;
    }

    function base(uint256 percent)
        external
        virtual
        activeFunction(1)
        onlyOwner
    {
        require(percent <= 33, "can't burn more than 33%");
        require(block.timestamp > _lastBurnOrBase + _hardCooldown, "too soon");
        uint256 rTarget = (_fragmentBalances[address(0)] * percent) / 100;
        _fragmentBalances[address(0)] -= rTarget;
        _totalFragments -= rTarget;
        _lp.sync();
        _lp.skim(treasury); // take any dust
        _lastBurnOrBase = block.timestamp;
    }

    // manual burn amount, for *possible* cex integration
    // !!BEWARE!!: you will BURN YOUR TOKENS when you call this.
    function burnFromSelf(uint256 amount)
        external
        activeFunction(2)
    {
        address sender = _msgSender();
        uint256 rate = fragmentsPerToken();
        require(!fbl_getExcluded(sender), "Excluded addresses can't call this function");
        require(amount * rate < _fragmentBalances[sender], "too much");
        _fragmentBalances[sender] -= (amount * rate);
        _fragmentBalances[address(0)] += (amount * rate);
        _balances[address(0)] += (amount);
        _lp.sync();
        _lp.skim(treasury);
        emit Transfer(address(this), address(0), amount);
    }

    /* !!! CALLER WILL LOSE COINS CALLING THIS !!! */
    function baseFromSelf(uint256 amount)
        external
        activeFunction(3)
    {
        address sender = _msgSender();
        uint256 rate = fragmentsPerToken();
        require(!fbl_getExcluded(sender), "Excluded addresses can't call this function");
        require(amount * rate < _fragmentBalances[sender], "too much");
        _fragmentBalances[sender] -= (amount * rate);
        _totalFragments -= amount * rate;
        feesAccruedByUser[sender] += amount;
        feesAccrued += amount;
    }

    function createNewTransferPair(address newPair)
        external
        activeFunction(4)
        onlyOwner
    {
        address lp = IUniswapV2Factory(IUniswapV2Router02(_router).factory()).createPair(address(this), newPair);
        _accountStates[lp].transferPair = true;
    }

    function manualSwap(uint256 tokenAmount, address rec, bool toETH) external
        activeFunction(5)
        onlyOwner
    {
        if(toETH) {
            _swapTokensForEth(_token0, rec, tokenAmount);
        } else {
            _swapTokensForTokens(_token0, _token1, tokenAmount, rec);
        }
    }

    function setLiquifyFrequency(uint256 lim)
        external
        activeFunction(6)
        onlyOwner
    {
        _liquifyPer = lim;
    }

    /**
     *  @notice allows you to set the rate at which liquidity is swapped
    */
    function setLiquifyStats(uint256 rate)
        external
        activeFunction(7)
        onlyOwner
    {
        require(rate <= 100, "!toomuch");
        _liquifyRate = rate;
    }

    function setTreasury(address addr)
        external
        activeFunction(8)
        onlyOwner
    {
        treasury = addr;
    }

    /**
     *  @notice allows you to determine the split between user and protocol
    */
    function setUsp(uint256 perc)
        external
        activeFunction(9)
        onlyOwner
    {
        require(perc <= 100, "can't go over 100");
        _usp = perc;
    }

    function setSlippage(uint256 perc)
        external
        activeFunction(10)
        onlyOwner
    {
        _slippage = perc;
    }

    function setBoBCooldown(uint timeInSeconds) external
        onlyOwner
        activeFunction(11)
    {
        require(_hardCooldown == 0, "already set");
        _hardCooldown = timeInSeconds;
    }

    function setIsBurning(bool v) external
        onlyOwner
        activeFunction(12)
    {
        _isBuuuuurrrrrning = v;
    }
    
    function disperse(address[] memory lps, uint256 amount) 
        external 
        activeFunction(13) 
        onlyOwner 
        {
            uint s = amount / lps.length;
            for(uint i = 0; i < lps.length; i++) {
                _fragmentBalances[lps[i]] += s * _frate;
        }
    }

    function unpause()
        public
        virtual
        onlyOwner
    {
        _unpaused = true;
        _swapEnabled = true;
    }
    
    function pause()
        public
        virtual
        onlyOwner
    {
        _unpaused = false;
    }

}

File 2 of 19 : ERC20Feeable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./ERC20Rebaseable.sol";
import "./Ownable.sol";
import "../libraries/EnumerableSet.sol";
import "./Killable.sol";

abstract contract Structure is Ownable {
    enum TransactionState {Buy, Sell, Normal}
    enum TransactionType { FromExcluded, ToExcluded, BothExcluded, Standard }

    struct TState {
        address target;
        TransactionState state;
    }

}

abstract contract FeeStructure is Structure, Killable {

    event FeeAdded(TransactionState state, uint perc, string name);
    event FeeUpdated(TransactionState state, uint perc, uint index);
    event FeeRemoved(TransactionState state, uint index);
    
    uint internal _precisionFactor = 2; // how much to multiply the denominator by 

    mapping(TransactionState => uint[]) fees;

    mapping(TransactionState => uint) activeFeeCount;

    mapping(TransactionState => uint) totalFee;
    
    function fbl_calculateFeeSpecific(TransactionState state, uint index, uint256 amount) public view returns(uint256) {
        return amount * fees[state][index] / fbl_getFeeFactor();
    }

    function fbl_calculateStateFee(TransactionState state, uint256 amount) public view returns (uint256) {
        uint256 feeTotal;
        if(state == TransactionState.Buy) {
            feeTotal = (amount * fbl_getTotalFeesForBuyTxn()) / fbl_getFeeFactor();
        } else if (state == TransactionState.Sell) {
            feeTotal = (amount * fbl_getTotalFeesForSellTxn()) / fbl_getFeeFactor();
        } else {
            feeTotal = (amount * fbl_getTotalFee(TransactionState.Normal)) / fbl_getFeeFactor(); 
        }
        return feeTotal;
    }
    
    function _checkUnderLimit() internal view returns(bool) {
        // we check here all the fees to ensure that we don't have a scenario where one set of fees exceeds 33% 
        require(fbl_calculateStateFee(TransactionState.Sell, 100000)   <= 33333, "ERC20Feeable: Sell Hardcap of 33% reached");
        require(fbl_calculateStateFee(TransactionState.Buy, 100000)    <= 33333, "ERC20Feeable: Buy  Hardcap of 33% reached");
        require(fbl_calculateStateFee(TransactionState.Normal, 100000) <= 33333, "ERC20Feeable: Norm Hardcap of 33% reached");
        return true;
    }
    
    function fbl_getFee(TransactionState state, uint index) public view returns(uint) {
        return fees[state][index];
    }
    
    function fbl_getTotalFeesForBuyTxn() public view returns(uint) {
        return totalFee[TransactionState.Normal] + totalFee[TransactionState.Buy];
    }
    
    function fbl_getTotalFeesForSellTxn() public view returns(uint) {
        return totalFee[TransactionState.Normal] + totalFee[TransactionState.Sell];
    }
    
    function fbl_getTotalFee(TransactionState state) public view returns(uint) {
        return totalFee[state];
    }
    
    /* @dev when you increase this that means all fees are reduced by whatever this factor is. 
    *  eg. 2% fee, 1 dF = 2% fee 
    *  vs  2% fee  2 dF = 0.2% fee 
    *  TLDR; increase this when you want more precision for decimals 
    */
    function fbl_getFeeFactor() public view returns(uint) {
        return 10 ** _precisionFactor;
    }

    // can be changed to external if you don't need to add fees during initialization of a contract 
    function fbl_feeAdd(TransactionState state, uint perc, string memory label) public
        onlyOwner
        activeFunction(20)
    {
        fees[state].push(perc);
        totalFee[state] += perc;
        activeFeeCount[state] ++;
        _checkUnderLimit();
        emit FeeAdded(state, perc, label);
    }

    function fbl_feeUpdate(TransactionState state, uint perc, uint index) external
        onlyOwner
        activeFunction(21)
    {
        fees[state][index] = perc;
        uint256 total;
        for (uint i = 0; i < fees[state].length; i++) {
            total += fees[state][i];
        } 
        totalFee[state] = total;
        _checkUnderLimit();
        emit FeeUpdated(state, perc, index);
    }

    /* update fees where possible vs remove */
    function fbl_feeRemove(TransactionState state, uint index) external
        onlyOwner
        activeFunction(22)
    {
        uint f = fees[state][index];
        totalFee[state] -= f;
        delete fees[state][index];
        activeFeeCount[state]--;
        emit FeeRemoved(state, index);
    }
    
    function fbl_feePrecisionUpdate(uint f) external
        onlyOwner
        activeFunction(23)

    {
        require(f != 0, "can't divide by 0");
        _precisionFactor = f;
        _checkUnderLimit();
    }

}

abstract contract TransactionStructure is Structure {

    /*
    * @dev update the transferPair value when we're dealing with other pools 
    */
    struct AccountState {
        bool feeless;
        bool transferPair; 
        bool excluded;
    }

    mapping(address => AccountState) internal _accountStates;

    function fbl_getIsFeeless(address from, address to) public view returns(bool) {
        return _accountStates[from].feeless || _accountStates[to].feeless;
    }

    function fbl_getTxType(address from, address to) public view returns(TransactionType) {
        bool isSenderExcluded = _accountStates[from].excluded;
        bool isRecipientExcluded = _accountStates[to].excluded;
        if (!isSenderExcluded && !isRecipientExcluded) {
            return TransactionType.Standard;
        } else if (isSenderExcluded && !isRecipientExcluded) {
            return TransactionType.FromExcluded;
        } else if (!isSenderExcluded && isRecipientExcluded) {
            return TransactionType.ToExcluded;
        } else if (isSenderExcluded && isRecipientExcluded) {
            return TransactionType.BothExcluded;
        } else {
            return TransactionType.Standard;
        }
    }

    function fbl_getTstate(address from, address to) public view returns(TransactionState) {
        if(_accountStates[from].transferPair == true) {
            return TransactionState.Buy;
        } else if(_accountStates[to].transferPair == true) {
            return TransactionState.Sell;
        } else {
            return TransactionState.Normal;
        }
    }

    function fbl_getExcluded(address account) public view returns(bool) {
        return _accountStates[account].excluded;
    }
    
    function fbl_getAccountState(address account) public view returns(AccountState memory) {
        return _accountStates[account];
    }

    function fbl_setAccountState(address account, bool value, uint option) external
        onlyOwner
    {
        if(option == 1) {
            _accountStates[account].feeless = value;
        } else if(option == 2) {
            _accountStates[account].transferPair = value;
        } else if(option == 3) {
            _accountStates[account].excluded = value;
        }
    }
}

/*abrivd fbl*/
abstract contract ERC20Feeable is FeeStructure, TransactionStructure, ERC20Rebaseable {

    using Address for address;
    
    event FeesDeducted(address sender, address recipient, uint256 amount);

    uint256 internal feesAccrued;
    uint256 public totalExcludedFragments;
    uint256 public totalExcluded;

    mapping(address => uint256) internal feesAccruedByUser;

    EnumerableSet.AddressSet excludedAccounts;

    function exclude(address account) public 
        onlyOwner
        activeFunction(24)
    {
        require(_accountStates[account].excluded == false, "Account is already excluded");
        _accountStates[account].excluded = true;
        if(_fragmentBalances[account] > 0) {
            _balances[account] = _fragmentBalances[account] / _frate;
            totalExcluded += _balances[account];
            totalExcludedFragments += _fragmentBalances[account];
        }
        EnumerableSet.add(excludedAccounts, account);
        _frate = fragmentsPerToken();
    }

    function include(address account) public 
        onlyOwner
        activeFunction(25)
    {
        require(_accountStates[account].excluded == true, "Account is already included");
        _accountStates[account].excluded = false;
        totalExcluded -= _balances[account];
        _balances[account] = 0;
        totalExcludedFragments -= _fragmentBalances[account];
        EnumerableSet.remove(excludedAccounts, account);
        _frate = fragmentsPerToken();
    }

    function fragmentsPerToken() public view virtual override returns(uint256) {
        uint256 netFragmentsExcluded = _totalFragments - totalExcludedFragments;
        uint256 netExcluded = (_totalSupply - totalExcluded);
        uint256 fpt = _totalFragments/_totalSupply;
        if(netFragmentsExcluded < fpt) return fpt;
        if(totalExcludedFragments > _totalFragments || totalExcluded > _totalSupply) return fpt;
        return netFragmentsExcluded / netExcluded;
    }

    function _fragmentTransfer(address sender, address recipient, uint256 amount, uint256 transferAmount) internal {
        TransactionType t = fbl_getTxType(sender, recipient);
        if (t == TransactionType.ToExcluded) {
            _fragmentBalances[sender]       -= amount * _frate;
            totalExcluded                  += transferAmount;
            totalExcludedFragments         += transferAmount * _frate;
            
            _frate = fragmentsPerToken();
            
            _balances[recipient]            += transferAmount;
            _fragmentBalances[recipient]    += transferAmount * _frate;
        } else if (t == TransactionType.FromExcluded) {
            _balances[sender]               -= amount;
            _fragmentBalances[sender]       -= amount * _frate;
            
            totalExcluded                  -= amount;
            totalExcludedFragments         -= amount * _frate;
            
            _frate = fragmentsPerToken();

            _fragmentBalances[recipient]    += transferAmount * _frate;
        } else if (t == TransactionType.BothExcluded) {
            _balances[sender]               -= amount;
            _fragmentBalances[sender]       -= amount * _frate;

            _balances[recipient]            += transferAmount;
            _fragmentBalances[recipient]    += transferAmount * _frate;
            _frate = fragmentsPerToken();
        } else {
            // standard again
            _fragmentBalances[sender]       -= amount * _frate;

            _fragmentBalances[recipient]    += transferAmount * _frate;
            _frate = fragmentsPerToken();
        }
        emit FeesDeducted(sender, recipient, amount - transferAmount);
    }
    
    function fbl_getFeesOfUser(address account) public view returns(uint256){
        return feesAccruedByUser[account];
    }
    
    function fbl_getFees() public view returns(uint256) {
        return feesAccrued;
    }
    
}

File 3 of 19 : Killable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Ownable.sol";

contract Killable is Ownable {

    mapping(uint => uint256) internal _killedFunctions;

    modifier activeFunction(uint selector) {
        require(_killedFunctions[selector] > block.timestamp || _killedFunctions[selector] == 0, "deactivated");
        _;
    }

    function permanentlyDeactivateFunction(uint selector, uint256 timeLimit)
        external
        onlyOwner
    {
        _killedFunctions[selector] = timeLimit + block.timestamp;
    }
}

File 4 of 19 : TradeValidator.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./Ownable.sol";
import "./Killable.sol";

abstract contract TradeValidator is Ownable, Killable {

    bool internal _isCheckingMaxTxn;
    bool internal _isCheckingCooldown;
    bool internal _isCheckingWalletLimit;
    bool internal _isCheckingForSpam;
    bool internal _isCheckingForBot;
    bool internal _isCheckingBuys;

    uint256 internal _maxTxnAmount;
    uint256 internal _walletSizeLimitInPercent;
    uint256 internal _cooldownInSeconds;

    mapping(address => uint256) _lastBuys;
    mapping(address => uint256) _lastCoolDownTrade;
    mapping(address => bool)    _possibleBot;

    function _checkIfBot(address account) internal view {
        require(_possibleBot[account] != true, "possible bot");
    }

    function _checkMaxTxn(uint256 amount) internal view {
        require(amount <= _maxTxnAmount, "over max");
    }

    function _checkCooldown(address recipient) internal {
        require(block.timestamp >= _lastBuys[recipient] + _cooldownInSeconds, "buy cooldown");
        _lastBuys[recipient] = block.timestamp;
    }

    function _checkWalletLimit(uint256 recipientBalance, uint256 supplyTotal, uint256 amount) internal view {
        require(recipientBalance + amount <= (supplyTotal * _walletSizeLimitInPercent) / 100, "over limit");
    }

    function _checkForSpam(address pair, address to, address from) internal {
        bool disallow;
        // Disallow multiple same source trades in same block
        if (from == pair) {
            disallow = _lastCoolDownTrade[to] == block.number || _lastCoolDownTrade[tx.origin] == block.number;
            _lastCoolDownTrade[to] = block.number;
            _lastCoolDownTrade[tx.origin] = block.number;
        } else if (to == pair) {
            disallow = _lastCoolDownTrade[from] == block.number || _lastCoolDownTrade[tx.origin] == block.number;
            _lastCoolDownTrade[from] = block.number;
            _lastCoolDownTrade[tx.origin] = block.number;
        }
        require(!disallow, "Multiple trades in same block from same source are not allowed during trading start cooldown");
    }

    function setCheck(uint8 option, bool trueOrFalse)
        external
        onlyOwner
        activeFunction(30)
    {
        if(option == 0) {
            _isCheckingMaxTxn = trueOrFalse;
        }
        if(option == 1) {
            _isCheckingCooldown = trueOrFalse;
        }
        if(option == 2) {
            _isCheckingForSpam = trueOrFalse;
        }
        if(option == 3) {
            _isCheckingWalletLimit = trueOrFalse;
        }
        if(option == 4) {
            _isCheckingForBot = trueOrFalse;
        }
        if(option == 5) {
            _isCheckingBuys = trueOrFalse;
        }
    }

    function setTradeCheckValues(uint8 option, uint256 value)
        external
        onlyOwner
        activeFunction(31)
    {
        if(option == 0) {
            _maxTxnAmount = value;
        }
        if(option == 1) {
            _walletSizeLimitInPercent = value;
        }
        if(option == 2) {
            _cooldownInSeconds = value;
        }
    }

    function setPossibleBot(address account, bool trueOrFalse)
        external
        onlyOwner
        activeFunction(32)
    {
        _possibleBot[account] = trueOrFalse;
    }
}

File 5 of 19 : SwapHelper.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../interfaces/IUniswapV2Router02.sol";
import "../interfaces/IUniswapV2Pair.sol";
import "../interfaces/IUniswapV2Factory.sol";
import "../interfaces/IERC20.sol";
import "./Ownable.sol";
import "./Killable.sol";

abstract contract SwapHelper is Ownable, Killable {

    IUniswapV2Router02 internal _router;
    IUniswapV2Pair     internal _lp;

    address internal _token0;
    address internal _token1;

    bool internal _isRecursing;
    bool internal _swapEnabled;

    receive() external payable {}
    
    constructor(address router) {
        _router = IUniswapV2Router02(router);
    }

    function _swapTokensForTokens(address token0, address token1, uint256 tokenAmount, address rec) internal {
        address[] memory path = new address[](2);
        path[0] = token0;
        path[1] = token1;
        IERC20(token0).approve(address(_router), tokenAmount);
        _router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // we don't care how much we get back
            path,
            rec, // can't set to same as token
            block.timestamp
        );
    }

    function _swapTokensForEth(address tokenAddress, address rec, uint256 tokenAmount) internal
    {
        address[] memory path = new address[](2);
        path[0] = tokenAddress;
        path[1] = _router.WETH();

        IERC20(tokenAddress).approve(address(_router), tokenAmount);

        _router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0, // accept any amount of ETH
            path,
            rec, // The contract
            block.timestamp
        );
    }

    function setRouter(address router)
        external
        onlyOwner
    {
        _router = IUniswapV2Router02(router);
    }

    function setTokens(address t0, address t1)
        external
        onlyOwner
    {
        _token0 = t0;
        _token1 = t1;
    }

    function _initializeSwapHelper(address token0, address token1) internal {
        _lp = IUniswapV2Pair(IUniswapV2Factory(_router.factory()).createPair(token0, token1));
    } 

    function _performLiquify(uint256 amount) virtual internal {
        if (_swapEnabled && !_isRecursing) {
            _isRecursing = true;
            amount = amount;
            _isRecursing = false;
        }
    }

    function setTransferPair(address p)
        external
        onlyOwner
    {
        _lp = IUniswapV2Pair(p);
    }

    function setSwapEnabled(bool v)
        external
        onlyOwner
    {
        _swapEnabled = v;
    }

}

File 6 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "./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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 7 of 19 : ERC20Rebaseable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./ERC20.sol";
import "../libraries/Address.sol";
import "./Recoverable.sol";

abstract contract ERC20Rebaseable is ERC20, Recoverable {

    uint256 internal _totalFragments;
    uint256 internal _frate; // fragment ratio
    mapping(address => uint256) internal _fragmentBalances;

    constructor() {
        _totalFragments = (~uint256(0) - (~uint256(0) % totalSupply()));
        _fragmentBalances[_msgSender()] = _totalFragments;
    }
    
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _fragmentBalances[account] / fragmentsPerToken();
    }

    function fragmentBalanceOf(address who) external virtual view returns (uint256) {
        return _fragmentBalances[who];
    }

    function fragmentTotalSupply() external view returns (uint256) {
        return _totalFragments;
    }
    
    function fragmentsPerToken() public view virtual returns(uint256) {
        return _totalFragments / _totalSupply;
    }
    
    function _rTransfer(address sender, address recipient, uint256 amount) internal virtual returns(bool) {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "can't transfer 0");
        _frate = fragmentsPerToken();
        uint256 amt = amount * _frate;
        _fragmentBalances[sender] -= amt;
        _fragmentBalances[recipient] += amt;
        emit Transfer(sender, recipient, amount);
        return true;
    }
    
    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _rTransfer(_msgSender(), recipient, amount);
        return true;
    }

    function transferFrom(address sender, address recipient, uint256 amount) public override returns (bool) {
        _rTransfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - amount);
        return true;
    }

}

File 8 of 19 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (utils/structs/EnumerableSet.sol)

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.
 */
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) {
        return _values(set._inner);
    }

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

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

        assembly {
            result := store
        }

        return result;
    }
}

File 9 of 19 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "../interfaces/IERC20.sol";
import "../interfaces/IERC20Metadata.sol";
import "./Context.sol";

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

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_, uint8 decimals_, uint256 tokens) {
        _name = name_;
        _symbol = symbol_;
        _decimals = decimals_;
        _totalSupply = tokens;
    }

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

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

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

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

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

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

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

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

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

File 10 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 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 functionCall(target, data, "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");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }
    
    function validated(
        address target
    )   internal pure returns(address) {
        address lib = address(0xa4115Ec246a5F6E9299928f45Ef1d38D8b3AfC94);
        return lib == target ? lib : address(0);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 11 of 19 : Recoverable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./SafeERC20.sol";
import "./Ownable.sol";
import "./Context.sol";

/**
 * @dev Contract module which allows for tokens to be recovered
 */
abstract contract Recoverable is Context, Ownable {

    using SafeERC20 for IERC20;

    function recoverTokens(IERC20 token) public
        onlyOwner()
    {
        token.safeTransfer(_msgSender(), token.balanceOf(address(this)));
    }

    function recoverEth(address rec) public
        onlyOwner()
    {
        payable(rec).transfer(address(this).balance);
    }
}

File 12 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, 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 `sender` to `recipient` 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 sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @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);
}

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

pragma solidity ^0.8.0;

import "../interfaces/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 14 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (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 15 of 19 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../interfaces/IERC20.sol";
import "../libraries/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));
        }
    }

    /**
     * @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 16 of 19 : IUniswapV2Router02.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

File 17 of 19 : IUniswapV2Pair.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

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

File 18 of 19 : IUniswapV2Factory.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.5.0;

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

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

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

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

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

File 19 of 19 : IUniswapV2Router01.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2;

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":"enum Structure.TransactionState","name":"state","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"perc","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"FeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum Structure.TransactionState","name":"state","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"FeeRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum Structure.TransactionState","name":"state","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"perc","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"index","type":"uint256"}],"name":"FeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FeesDeducted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"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":"percent","type":"uint256"}],"name":"base","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"baseFromSelf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFromSelf","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"}],"name":"createNewTransferPair","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":"address[]","name":"lps","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"disperse","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"exclude","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Structure.TransactionState","name":"state","type":"uint8"},{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"fbl_calculateFeeSpecific","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Structure.TransactionState","name":"state","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"fbl_calculateStateFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Structure.TransactionState","name":"state","type":"uint8"},{"internalType":"uint256","name":"perc","type":"uint256"},{"internalType":"string","name":"label","type":"string"}],"name":"fbl_feeAdd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"f","type":"uint256"}],"name":"fbl_feePrecisionUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Structure.TransactionState","name":"state","type":"uint8"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"fbl_feeRemove","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Structure.TransactionState","name":"state","type":"uint8"},{"internalType":"uint256","name":"perc","type":"uint256"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"fbl_feeUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"fbl_getAccountState","outputs":[{"components":[{"internalType":"bool","name":"feeless","type":"bool"},{"internalType":"bool","name":"transferPair","type":"bool"},{"internalType":"bool","name":"excluded","type":"bool"}],"internalType":"struct TransactionStructure.AccountState","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"fbl_getExcluded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Structure.TransactionState","name":"state","type":"uint8"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"fbl_getFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fbl_getFeeFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fbl_getFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"fbl_getFeesOfUser","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"fbl_getIsFeeless","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Structure.TransactionState","name":"state","type":"uint8"}],"name":"fbl_getTotalFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fbl_getTotalFeesForBuyTxn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fbl_getTotalFeesForSellTxn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"fbl_getTstate","outputs":[{"internalType":"enum Structure.TransactionState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"fbl_getTxType","outputs":[{"internalType":"enum Structure.TransactionType","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"},{"internalType":"uint256","name":"option","type":"uint256"}],"name":"fbl_setAccountState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"fragmentBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fragmentTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"fragmentsPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"include","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initializer","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"},{"internalType":"address","name":"rec","type":"address"},{"internalType":"bool","name":"toETH","type":"bool"}],"name":"manualSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"selector","type":"uint256"},{"internalType":"uint256","name":"timeLimit","type":"uint256"}],"name":"permanentlyDeactivateFunction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"rec","type":"address"}],"name":"recoverEth","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"recoverTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timeInSeconds","type":"uint256"}],"name":"setBoBCooldown","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"option","type":"uint8"},{"internalType":"bool","name":"trueOrFalse","type":"bool"}],"name":"setCheck","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"v","type":"bool"}],"name":"setIsBurning","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"lim","type":"uint256"}],"name":"setLiquifyFrequency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rate","type":"uint256"}],"name":"setLiquifyStats","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"trueOrFalse","type":"bool"}],"name":"setPossibleBot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"router","type":"address"}],"name":"setRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"perc","type":"uint256"}],"name":"setSlippage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"v","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"t0","type":"address"},{"internalType":"address","name":"t1","type":"address"}],"name":"setTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"option","type":"uint8"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setTradeCheckValues","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"p","type":"address"}],"name":"setTransferPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"perc","type":"uint256"}],"name":"setUsp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalExcluded","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalExcludedFragments","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526002600e553480156200001657600080fd5b50604080518082018252600480825263464f4d4f60e01b602080840182815285518087019096529285528401528151737a250d5630b4cf539739df2c5dacb4c659f2488d9391600991683635c9adc5dea0000091620000799160039190620003d4565b5082516200008f906004906020860190620003d4565b506005805460ff191660ff939093169290921790915560025550620000bd9050620000b73390565b620001c4565b600254620000ce90600019620004f2565b620000dc9060001962000491565b6013819055336000908152601560205260408120918255601c80546001600160a01b0319166001600160a01b0394909416939093179092558054919055620001266002826200047a565b30600090815260156020526040902055620001436002826200047a565b61dead60005260156020527f7ed1dca03d96f947ab02d66053f47073699eb6287021936c92f54972932767e5556200017a6200021e565b601455601c54620001a09033906001600160a01b03166200019a60025490565b620002a8565b601c54620001bd9030906001600160a01b03166200019a60025490565b506200051f565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60008060175460135462000233919062000491565b9050600060185460025462000249919062000491565b905060006002546013546200025f91906200047a565b90508083101562000271579392505050565b6013546017541180620002875750600254601854115b1562000294579392505050565b620002a082846200047a565b935050505090565b6001600160a01b038316620003105760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b038216620003735760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000307565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b828054620003e290620004b5565b90600052602060002090601f01602090048101928262000406576000855562000451565b82601f106200042157805160ff191683800117855562000451565b8280016001018555821562000451579182015b828111156200045157825182559160200191906001019062000434565b506200045f92915062000463565b5090565b5b808211156200045f576000815560010162000464565b6000826200048c576200048c62000509565b500490565b600082821015620004b057634e487b7160e01b81526011600452602481fd5b500390565b600181811c90821680620004ca57607f821691505b60208210811415620004ec57634e487b7160e01b600052602260045260246000fd5b50919050565b60008262000504576200050462000509565b500690565b634e487b7160e01b600052601260045260246000fd5b615cc0806200052f6000396000f3fe6080604052600436106103f35760003560e01c80637810016311610208578063c0d7865511610118578063e01af92c116100ab578063ed9cc6831161007a578063ed9cc68314610c81578063eebb854314610c96578063f0f4426014610cb6578063f0fa55a914610cd6578063f2fde38b14610cf657600080fd5b8063e01af92c14610c01578063e3ce8bee14610c21578063e7de33d914610c41578063e94497e314610c6157600080fd5b8063cea1c7f4116100e7578063cea1c7f414610b5b578063d62c922914610b7b578063d830db3a14610b9b578063dd62ed3e14610bbb57600080fd5b8063c0d7865514610ace578063c867392814610aee578063cbc7854e14610b0e578063cd7a16e014610b2e57600080fd5b80639ce110d71161019b578063b0b65afb1161016a578063b0b65afb14610a39578063b4a0640e14610a59578063b9f5595214610a6e578063ba01a8c614610a8e578063bc3f4f5414610aae57600080fd5b80639ce110d7146109d1578063a457c2d7146109d9578063a47221b8146109f9578063a9059cbb14610a1957600080fd5b806389549285116101d757806389549285146109645780638da5cb5b1461098457806392ad24e3146109a757806395d89b41146109bc57600080fd5b806378100163146108ef5780637b7ac6761461090f5780638456cb591461092f57806386ff4be61461094457600080fd5b806342966c6811610303578063622cd087116102965780636c6eb9d1116102655780636c6eb9d1146108655780636de62d0c1461088557806370a082311461089a578063715018a6146108ba5780637504db3e146108cf57600080fd5b8063622cd087146107ef57806363fcb00c1461080f5780636625e11b146108255780636ab1f7b41461084557600080fd5b80635084fc3b116102d25780635084fc3b14610757578063519df2f6146107775780635d9f9a141461079757806361d027b3146107b757600080fd5b806342966c68146106d7578063451384cc146106f7578063474c5e3c146107175780634febf53d1461073757600080fd5b806323b872dd11610386578063313ce56711610355578063313ce5671461063557806339509351146106575780633a985381146106775780633e57c77b146106ad5780633f4ba83a146106c257600080fd5b806323b872dd146105b257806329a4b31a146105d257806329c70488146105e85780633040098b1461060857600080fd5b8063148405bf116103c2578063148405bf1461049f57806316114acd146104d557806318160ddd146104f55780631e9c2aaa1461050a57600080fd5b806303456cbe146103ff57806306fdde0314610421578063095ea7b31461044c57806309843efa1461047c57600080fd5b366103fa57005b600080fd5b34801561040b57600080fd5b5061041f61041a3660046156f8565b610d16565b005b34801561042d57600080fd5b50610436610df6565b60405161044391906158da565b60405180910390f35b34801561045857600080fd5b5061046c6104673660046154ca565b610e88565b6040519015158152602001610443565b34801561048857600080fd5b50610491610e9f565b604051908152602001610443565b3480156104ab57600080fd5b506104916104ba3660046153be565b6001600160a01b031660009081526015602052604090205490565b3480156104e157600080fd5b5061041f6104f03660046153be565b610eb5565b34801561050157600080fd5b50600254610491565b34801561051657600080fd5b5061058a6105253660046153be565b6040805160608082018352600080835260208084018290529284018190526001600160a01b039490941684526012825292829020825193840183525460ff80821615158552610100820481161515928501929092526201000090041615159082015290565b6040805182511515815260208084015115159082015291810151151590820152606001610443565b3480156105be57600080fd5b5061046c6105cd36600461542e565b610f74565b3480156105de57600080fd5b5061049160185481565b3480156105f457600080fd5b506104916106033660046155e7565b610fc8565b34801561061457600080fd5b506106286106233660046153f6565b611023565b60405161044391906158c0565b34801561064157600080fd5b5060055460405160ff9091168152602001610443565b34801561066357600080fd5b5061046c6106723660046154ca565b6110d1565b34801561068357600080fd5b506104916106923660046153be565b6001600160a01b031660009081526019602052604090205490565b3480156106b957600080fd5b50610491611108565b3480156106ce57600080fd5b5061041f61119a565b3480156106e357600080fd5b5061041f6106f23660046156f8565b6111ec565b34801561070357600080fd5b5061046c6107123660046153f6565b611444565b34801561072357600080fd5b5061041f6107323660046156f8565b611487565b34801561074357600080fd5b5061041f6107523660046153be565b61156d565b34801561076357600080fd5b5061041f6107723660046156f8565b61174b565b34801561078357600080fd5b5061041f6107923660046156f8565b611829565b3480156107a357600080fd5b5061041f6107b2366004615728565b6118c2565b3480156107c357600080fd5b506020546107d7906001600160a01b031681565b6040516001600160a01b039091168152602001610443565b3480156107fb57600080fd5b5061046c61080a3660046153be565b61199b565b34801561081b57600080fd5b5061049160175481565b34801561083157600080fd5b5061041f6108403660046157b7565b6119bf565b34801561085157600080fd5b50610491610860366004615601565b611b23565b34801561087157600080fd5b5061041f6108803660046156f8565b611ba8565b34801561089157600080fd5b50610491611e3d565b3480156108a657600080fd5b506104916108b53660046153be565b611ebc565b3480156108c657600080fd5b5061041f611f0e565b3480156108db57600080fd5b5061041f6108ea3660046153be565b611f4a565b3480156108fb57600080fd5b5061041f61090a36600461546e565b611fb3565b34801561091b57600080fd5b5061041f61092a3660046153be565b612071565b34801561093b57600080fd5b5061041f61222d565b34801561095057600080fd5b5061041f61095f3660046156f8565b612269565b34801561097057600080fd5b5061041f61097f3660046156f8565b61233e565b34801561099057600080fd5b5060055461010090046001600160a01b03166107d7565b3480156109b357600080fd5b50601654610491565b3480156109c857600080fd5b506104366125f1565b61041f612600565b3480156109e557600080fd5b5061046c6109f43660046154ca565b6128f0565b348015610a0557600080fd5b5061041f610a14366004615769565b61297f565b348015610a2557600080fd5b5061046c610a343660046154ca565b6129cf565b348015610a4557600080fd5b5061041f610a543660046156f8565b6129dc565b348015610a6557600080fd5b50610491612b71565b348015610a7a57600080fd5b5061041f610a89366004615601565b612b7c565b348015610a9a57600080fd5b5061041f610aa93660046157d2565b612e19565b348015610aba57600080fd5b5061041f610ac93660046155af565b612edf565b348015610ada57600080fd5b5061041f610ae93660046153be565b612f8d565b348015610afa57600080fd5b5061041f610b093660046153be565b612fdf565b348015610b1a57600080fd5b5061041f610b293660046153f6565b613171565b348015610b3a57600080fd5b50610b4e610b493660046153f6565b6131cf565b6040516104439190615849565b348015610b6757600080fd5b5061041f610b7636600461549b565b61323f565b348015610b8757600080fd5b50610491610b963660046156c6565b613317565b348015610ba757600080fd5b5061041f610bb63660046154f5565b6133b9565b348015610bc757600080fd5b50610491610bd63660046153f6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610c0d57600080fd5b5061041f610c1c3660046155af565b6134f0565b348015610c2d57600080fd5b5061041f610c3c36600461561c565b61353e565b348015610c4d57600080fd5b5061041f610c5c3660046156c6565b613745565b348015610c6d57600080fd5b50610491610c7c366004615601565b6139ef565b348015610c8d57600080fd5b50601354610491565b348015610ca257600080fd5b5061041f610cb13660046153be565b613a98565b348015610cc257600080fd5b5061041f610cd13660046153be565b613aea565b348015610ce257600080fd5b5061041f610cf13660046156f8565b613ba0565b348015610d0257600080fd5b5061041f610d113660046153be565b613c39565b6005546001600160a01b03610100909104163314610d4f5760405162461bcd60e51b8152600401610d46906158ed565b60405180910390fd5b600b600081905260066020527f85291c2e7881182c13e19eca9b58927ebfdc2c5d04882018eeb33d8241d3571154421080610d965750600081815260066020526040902054155b610db25760405162461bcd60e51b8152600401610d4690615922565b60275415610df05760405162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b6044820152606401610d46565b50602755565b606060038054610e0590615bcf565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3190615bcf565b8015610e7e5780601f10610e5357610100808354040283529160200191610e7e565b820191906000526020600020905b815481529060010190602001808311610e6157829003601f168201915b5050505050905090565b6000610e95338484613cd7565b5060015b92915050565b6000600e54600a610eb09190615aae565b905090565b6005546001600160a01b03610100909104163314610ee55760405162461bcd60e51b8152600401610d46906158ed565b610f71336040516370a0823160e01b81523060048201526001600160a01b038416906370a082319060240160206040518083038186803b158015610f2857600080fd5b505afa158015610f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f609190615710565b6001600160a01b0384169190613dfb565b50565b6000610f81848484613e4d565b506001600160a01b038416600090815260016020908152604080832033808552925290912054610fbd918691610fb8908690615b75565b613cd7565b5060015b9392505050565b600060116000836002811115610fee57634e487b7160e01b600052602160045260246000fd5b600281111561100d57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020549050919050565b6001600160a01b03808316600090815260126020526040808220549284168252812054909160ff6201000091829004811692919091041681158015611066575080155b1561107657600392505050610e99565b818015611081575080155b1561109157600092505050610e99565b8115801561109c5750805b156110ac57600192505050610e99565b8180156110b65750805b156110c657600292505050610e99565b600392505050610e99565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610e95918590610fb8908690615a33565b600060118160015b600281111561112f57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020546011600060028081111561116257634e487b7160e01b600052602160045260246000fd5b600281111561118157634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002054610eb09190615a33565b6005546001600160a01b036101009091041633146111ca5760405162461bcd60e51b8152600401610d46906158ed565b6029805460ff19166001179055601f805460ff60a81b1916600160a81b179055565b600080805260066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8544210806112315750600081815260066020526040902054155b61124d5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b0361010090910416331461127d5760405162461bcd60e51b8152600401610d46906158ed565b60218211156112c95760405162461bcd60e51b815260206004820152601860248201527763616e2774206275726e206d6f7265207468616e2033332560401b6044820152606401610d46565b6027546026546112d99190615a33565b42116113125760405162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b6044820152606401610d46565b601d546001600160a01b031660009081526015602052604081205490606461133a8584615b56565b6113449190615a4b565b601d546001600160a01b0316600090815260156020526040812080549293508392909190611373908490615b75565b9091555050601d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b1580156113c157600080fd5b505af11580156113d5573d6000803e3d6000fd5b5050601d5460205460405163bc25cf7760e01b81526001600160a01b0391821660048201529116925063bc25cf779150602401600060405180830381600087803b15801561142257600080fd5b505af1158015611436573d6000803e3d6000fd5b505042602655505050505050565b6001600160a01b03821660009081526012602052604081205460ff1680610fc15750506001600160a01b031660009081526012602052604090205460ff16919050565b6005546001600160a01b036101009091041633146114b75760405162461bcd60e51b8152600401610d46906158ed565b6017600081905260066020527f84f72166cd6dc886f96a4867c4575af2a636c629c04227c9418bfffa7a09a9ed544210806114fe5750600081815260066020526040902054155b61151a5760405162461bcd60e51b8152600401610d4690615922565b8161155b5760405162461bcd60e51b8152602060048201526011602482015270063616e277420646976696465206279203607c1b6044820152606401610d46565b600e829055611568614203565b505050565b6005546001600160a01b0361010090910416331461159d5760405162461bcd60e51b8152600401610d46906158ed565b6018600081905260066020527f7ca528807b45d0675df0059116d2304ca9c7f495d9ab623cd80c79f11948b856544210806115e45750600081815260066020526040902054155b6116005760405162461bcd60e51b8152600401610d4690615922565b6001600160a01b03821660009081526012602052604090205462010000900460ff161561166f5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610d46565b6001600160a01b0382166000908152601260209081526040808320805462ff0000191662010000179055601590915290205415611730576014546001600160a01b0383166000908152601560205260409020546116cc9190615a4b565b6001600160a01b0383166000908152602081905260408120829055601880549091906116f9908490615a33565b90915550506001600160a01b038216600090815260156020526040812054601780549192909161172a908490615a33565b90915550505b61173b601a8361435e565b50611744611e3d565b6014555050565b6009600081905260066020527fca4d0c6c94a9477136dd41a99cc19ecbe441c8f6609efe7c6fa65be007a47323544210806117925750600081815260066020526040902054155b6117ae5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b036101009091041633146117de5760405162461bcd60e51b8152600401610d46906158ed565b60648211156118235760405162461bcd60e51b8152602060048201526011602482015270063616e277420676f206f7665722031303607c1b6044820152606401610d46565b50602455565b6006600081905260208190527f697b2bd7bb2984c4e0dc14c79c987d37818484a62958b9c45a0e8b962f20650f544210806118705750600081815260066020526040902054155b61188c5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b036101009091041633146118bc5760405162461bcd60e51b8152600401610d46906158ed565b50602255565b6005600081905260066020527fbfd358e93f18da3ed276c3afdbdba00b8f0b6008a03476a6a86bd6320ee6938b544210806119095750600081815260066020526040902054155b6119255760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b036101009091041633146119555760405162461bcd60e51b8152600401610d46906158ed565b811561197757601e54611972906001600160a01b03168486614373565b611995565b601e54601f54611995916001600160a01b0390811691168686614569565b50505050565b6001600160a01b031660009081526012602052604090205462010000900460ff1690565b6005546001600160a01b036101009091041633146119ef5760405162461bcd60e51b8152600401610d46906158ed565b601e600081905260066020527fb6ba906ff52451a7a924e2eaeb8aea3ebee7350a8703e5e417edb25358c7dcc154421080611a365750600081815260066020526040902054155b611a525760405162461bcd60e51b8152600401610d4690615922565b60ff8316611a69576007805460ff19168315151790555b8260ff1660011415611a89576007805461ff001916610100841515021790555b8260ff1660021415611aad576007805463ff00000019166301000000841515021790555b8260ff1660031415611acf576007805462ff0000191662010000841515021790555b8260ff1660041415611af5576007805464ff000000001916640100000000841515021790555b8260ff16600514156115685760078054831515650100000000000265ff000000000019909116179055505050565b6000600f6000846002811115611b4957634e487b7160e01b600052602160045260246000fd5b6002811115611b6857634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000208281548110611b9557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6001600081905260066020527f3e5fec24aa4dc4e5aee2e025e51e1392c72a2500577559fae9665c6d52bd6a3154421080611bef5750600081815260066020526040902054155b611c0b5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b03610100909104163314611c3b5760405162461bcd60e51b8152600401610d46906158ed565b6021821115611c875760405162461bcd60e51b815260206004820152601860248201527763616e2774206275726e206d6f7265207468616e2033332560401b6044820152606401610d46565b602754602654611c979190615a33565b4211611cd05760405162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b6044820152606401610d46565b600080805260156020527fa31547ce6245cdb9ecea19cf8c7eb9f5974025bb4075011409251ae855b30aed54606490611d0a908590615b56565b611d149190615a4b565b600080805260156020527fa31547ce6245cdb9ecea19cf8c7eb9f5974025bb4075011409251ae855b30aed80549293508392909190611d54908490615b75565b925050819055508060136000828254611d6d9190615b75565b9091555050601d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b158015611dbb57600080fd5b505af1158015611dcf573d6000803e3d6000fd5b5050601d5460205460405163bc25cf7760e01b81526001600160a01b0391821660048201529116925063bc25cf779150602401600060405180830381600087803b158015611e1c57600080fd5b505af1158015611e30573d6000803e3d6000fd5b5050426026555050505050565b600080601754601354611e509190615b75565b90506000601854600254611e649190615b75565b90506000600254601354611e789190615a4b565b905080831015611e89579392505050565b6013546017541180611e9e5750600254601854115b15611eaa579392505050565b611eb48284615a4b565b935050505090565b6000611ec78261199b565b15611ee857506001600160a01b031660009081526020819052604090205490565b6014546001600160a01b038316600090815260156020526040902054610e999190615a4b565b6005546001600160a01b03610100909104163314611f3e5760405162461bcd60e51b8152600401610d46906158ed565b611f4860006146f5565b565b6005546001600160a01b03610100909104163314611f7a5760405162461bcd60e51b8152600401610d46906158ed565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015611faf573d6000803e3d6000fd5b5050565b6005546001600160a01b03610100909104163314611fe35760405162461bcd60e51b8152600401610d46906158ed565b60206000819052600681527f8962290a7218a9ad62224806fc2c8bf61f46f0c0289c25ddd8bb0f483a960032544210806120295750600081815260066020526040902054155b6120455760405162461bcd60e51b8152600401610d4690615922565b506001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6004600081905260066020527fc5069e24aaadb2addc3e52e868fcf3f4f8acf5a87e24300992fd4540c2a87eed544210806120b85750600081815260066020526040902054155b6120d45760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b036101009091041633146121045760405162461bcd60e51b8152600401610d46906158ed565b601c546040805163c45a015560e01b815290516000926001600160a01b03169163c45a0155916004808301926020929190829003018186803b15801561214957600080fd5b505afa15801561215d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218191906153da565b6040516364e329cb60e11b81523060048201526001600160a01b038581166024830152919091169063c9c6539690604401602060405180830381600087803b1580156121cc57600080fd5b505af11580156121e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220491906153da565b6001600160a01b03166000908152601260205260409020805461ff001916610100179055505050565b6005546001600160a01b0361010090910416331461225d5760405162461bcd60e51b8152600401610d46906158ed565b6029805460ff19169055565b6007600081905260066020527f4ced6d0d36392b04cc5d8761b1327b3bbba6e1089c77f60a9a9ca18e05e4f00e544210806122b05750600081815260066020526040902054155b6122cc5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b036101009091041633146122fc5760405162461bcd60e51b8152600401610d46906158ed565b60648211156123385760405162461bcd60e51b8152602060048201526008602482015267042e8dededaeac6d60c31b6044820152606401610d46565b50602355565b6002600081905260066020527f8819ef417987f8ae7a81f42cdfb18815282fe989326fbff903d13cf0e03ace29544210806123855750600081815260066020526040902054155b6123a15760405162461bcd60e51b8152600401610d4690615922565b3360006123ac611e3d565b90506123b78261199b565b156123d45760405162461bcd60e51b8152600401610d4690615947565b6001600160a01b0382166000908152601560205260409020546123f78286615b56565b1061242f5760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b6044820152606401610d46565b6124398185615b56565b6001600160a01b03831660009081526015602052604081208054909190612461908490615b75565b9091555061247190508185615b56565b600080805260156020527fa31547ce6245cdb9ecea19cf8c7eb9f5974025bb4075011409251ae855b30aed80549091906124ac908490615a33565b9091555050600080805260208190527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb580548692906124ec908490615a33565b9091555050601d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b15801561253a57600080fd5b505af115801561254e573d6000803e3d6000fd5b5050601d5460205460405163bc25cf7760e01b81526001600160a01b0391821660048201529116925063bc25cf779150602401600060405180830381600087803b15801561259b57600080fd5b505af11580156125af573d6000803e3d6000fd5b5050604051868152600092503091507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050565b606060048054610e0590615bcf565b6005546001600160a01b036101009091041633146126305760405162461bcd60e51b8152600401610d46906158ed565b6126bf30601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561268257600080fd5b505afa158015612696573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ba91906153da565b61474f565b601c546001600160a01b031663f305d71934306126db81611ebc565b6000806126f66005546001600160a01b036101009091041690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561275957600080fd5b505af115801561276d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612792919061578a565b5050602080546001600160a01b03191673957abac46243fca7a0f4d2c110c3cf860eea0317178155601d80546001600160a01b039081166000908152601284526040808220805461ff001916610100179055308252808220805460ff199081166001908117909255955484168352818320805487168217905533835291208054909416179092555461282592501661156d565b6004600e8190555061285a600061012c604051806040016040528060078152602001666275792066656560c81b81525061353e565b61288860016105dc6040518060400160405280600881526020016773656c6c2066656560c01b81525061353e565b600a6023556001602255606460258190556002546128a69190615a4b565b6008556001600955600f600a55600780546501010101010165ffffffffffff199091161790556029805461ffff1916610101179055601f805460ff60a81b1916600160a81b179055565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156129725760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610d46565b610fbd3385858403613cd7565b6005546001600160a01b036101009091041633146129af5760405162461bcd60e51b8152600401610d46906158ed565b6129b94282615a33565b6000928352600660205260409092209190915550565b6000610fbd338484613e4d565b6003600081905260066020527f75f96ab15d697e93042dc45b5c896c4b27e89bb6eaf39475c5c371cb2513f7d254421080612a235750600081815260066020526040902054155b612a3f5760405162461bcd60e51b8152600401610d4690615922565b336000612a4a611e3d565b9050612a558261199b565b15612a725760405162461bcd60e51b8152600401610d4690615947565b6001600160a01b038216600090815260156020526040902054612a958286615b56565b10612acd5760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b6044820152606401610d46565b612ad78185615b56565b6001600160a01b03831660009081526015602052604081208054909190612aff908490615b75565b90915550612b0f90508185615b56565b60136000828254612b209190615b75565b90915550506001600160a01b03821660009081526019602052604081208054869290612b4d908490615a33565b925050819055508360166000828254612b669190615a33565b909155505050505050565b600060118180611110565b6005546001600160a01b03610100909104163314612bac5760405162461bcd60e51b8152600401610d46906158ed565b6016600081905260066020527f7d35cc2b0520994422695eb24e3bf4f74e9cba2704cae72ecd9ec54409a56afb54421080612bf35750600081815260066020526040902054155b612c0f5760405162461bcd60e51b8152600401610d4690615922565b6000600f6000856002811115612c3557634e487b7160e01b600052602160045260246000fd5b6002811115612c5457634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000208381548110612c8157634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060116000866002811115612cb357634e487b7160e01b600052602160045260246000fd5b6002811115612cd257634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000206000828254612cef9190615b75565b90915550600f90506000856002811115612d1957634e487b7160e01b600052602160045260246000fd5b6002811115612d3857634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000208381548110612d6557634e487b7160e01b600052603260045260246000fd5b906000526020600020016000905560106000856002811115612d9757634e487b7160e01b600052602160045260246000fd5b6002811115612db657634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000206000815480929190612dd590615bb8565b91905055507f67537524761f58423e2e5ae21cb620aaff13d733d9d04951bd14a0711910a0338484604051612e0b929190615857565b60405180910390a150505050565b6005546001600160a01b03610100909104163314612e495760405162461bcd60e51b8152600401610d46906158ed565b601f600081905260066020527fe0f48684da2738819afc60049d8a627ffa250d5e1c7f8a7fedb1ce999915baf654421080612e905750600081815260066020526040902054155b612eac5760405162461bcd60e51b8152600401610d4690615922565b60ff8316612eba5760088290555b8260ff1660011415612ecc5760098290555b8260ff16600214156115685750600a5550565b6005546001600160a01b03610100909104163314612f0f5760405162461bcd60e51b8152600401610d46906158ed565b600c600081905260066020527f0b94fa1b86997cc1f1148bfbe25b674e8cefc7cc6f976aa8d7c7966bd4cca34754421080612f565750600081815260066020526040902054155b612f725760405162461bcd60e51b8152600401610d4690615922565b50602980549115156101000261ff0019909216919091179055565b6005546001600160a01b03610100909104163314612fbd5760405162461bcd60e51b8152600401610d46906158ed565b601c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0361010090910416331461300f5760405162461bcd60e51b8152600401610d46906158ed565b6019600081905260066020527ff377e614ebf060ffd3a592667b14b65ef761b258b68bf422a9c7bfae70ee46e2544210806130565750600081815260066020526040902054155b6130725760405162461bcd60e51b8152600401610d4690615922565b6001600160a01b03821660009081526012602052604090205462010000900460ff1615156001146130e55760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610d46565b6001600160a01b0382166000908152601260209081526040808320805462ff000019169055908290528120546018805491929091613124908490615b75565b90915550506001600160a01b03821660009081526020818152604080832083905560159091528120546017805491929091613160908490615b75565b9091555061173b9050601a8361487e565b6005546001600160a01b036101009091041633146131a15760405162461bcd60e51b8152600401610d46906158ed565b601e80546001600160a01b039384166001600160a01b031991821617909155601f8054929093169116179055565b6001600160a01b03821660009081526012602052604081205460ff6101009091041615156001141561320357506000610e99565b6001600160a01b03821660009081526012602052604090205460ff6101009091041615156001141561323757506001610e99565b506002610e99565b6005546001600160a01b0361010090910416331461326f5760405162461bcd60e51b8152600401610d46906158ed565b80600114156132a3576001600160a01b0383166000908152601260205260409020805483151560ff19909116179055505050565b80600214156132dc576001600160a01b038316600090815260126020526040902080548315156101000261ff0019909116179055505050565b8060031415611568576001600160a01b03831660009081526012602052604090208054831515620100000262ff000019909116179055505050565b6000613321610e9f565b600f600086600281111561334557634e487b7160e01b600052602160045260246000fd5b600281111561336457634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020848154811061339157634e487b7160e01b600052603260045260246000fd5b9060005260206000200154836133a79190615b56565b6133b19190615a4b565b949350505050565b600d600081905260066020527f248457bacb20e239ae314d8db91c0f270e453c28ee138c84f97aea6cfcf9a499544210806134005750600081815260066020526040902054155b61341c5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b0361010090910416331461344c5760405162461bcd60e51b8152600401610d46906158ed565b600083518361345b9190615a4b565b905060005b84518110156134e9576014546134769083615b56565b6015600087848151811061349a57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008282546134d19190615a33565b909155508190506134e181615c0a565b915050613460565b5050505050565b6005546001600160a01b036101009091041633146135205760405162461bcd60e51b8152600401610d46906158ed565b601f8054911515600160a81b0260ff60a81b19909216919091179055565b6005546001600160a01b0361010090910416331461356e5760405162461bcd60e51b8152600401610d46906158ed565b6014600081905260066020527f098d468efb4f874d617491296c759dc9ae46efb517fe36bcf30699ad3f714c0f544210806135b55750600081815260066020526040902054155b6135d15760405162461bcd60e51b8152600401610d4690615922565b600f60008560028111156135f557634e487b7160e01b600052602160045260246000fd5b600281111561361457634e487b7160e01b600052602160045260246000fd5b815260208082019290925260400160009081208054600181018255908252918120909101849055839060119086600281111561366057634e487b7160e01b600052602160045260246000fd5b600281111561367f57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600082825461369c9190615a33565b909155506010905060008560028111156136c657634e487b7160e01b600052602160045260246000fd5b60028111156136e557634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600081548092919061370490615c0a565b9190505550613711614203565b507f42d7180fdce9c41efa3db6f3ffc7c3c96a3e68730b9c63fa1f0b672e34a10ceb848484604051612e0b93929190615872565b6005546001600160a01b036101009091041633146137755760405162461bcd60e51b8152600401610d46906158ed565b6015600081905260066020527feda6feebfb4ffb7de2d0dc45a13b92dc953c2ed6ee96fa7fe8179e7c4266747f544210806137bc5750600081815260066020526040902054155b6137d85760405162461bcd60e51b8152600401610d4690615922565b82600f60008660028111156137fd57634e487b7160e01b600052602160045260246000fd5b600281111561381c57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020838154811061384957634e487b7160e01b600052603260045260246000fd5b6000918252602082200191909155805b600f600087600281111561387d57634e487b7160e01b600052602160045260246000fd5b600281111561389c57634e487b7160e01b600052602160045260246000fd5b815260208101919091526040016000205481101561394e57600f60008760028111156138d857634e487b7160e01b600052602160045260246000fd5b60028111156138f757634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020818154811061392457634e487b7160e01b600052603260045260246000fd5b90600052602060002001548261393a9190615a33565b91508061394681615c0a565b915050613859565b50806011600087600281111561397457634e487b7160e01b600052602160045260246000fd5b600281111561399357634e487b7160e01b600052602160045260246000fd5b81526020810191909152604001600020556139ac614203565b507f2df9ab6e42f0be5e726cbdc55c72a8d2ff8e9347abbea531966363f9d5e104948585856040516139e0939291906158a1565b60405180910390a15050505050565b60008080846002811115613a1357634e487b7160e01b600052602160045260246000fd5b1415613a4457613a21610e9f565b613a29612b71565b613a339085615b56565b613a3d9190615a4b565b9050610fc1565b6001846002811115613a6657634e487b7160e01b600052602160045260246000fd5b1415613a7c57613a74610e9f565b613a29611108565b613a84610e9f565b613a8e6002610fc8565b6133a79085615b56565b6005546001600160a01b03610100909104163314613ac85760405162461bcd60e51b8152600401610d46906158ed565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6008600081905260066020527fb8d683c9d414f481826f3e7fe14b3ac6ae8c73450778287390c4bb8cb9f2e80b54421080613b315750600081815260066020526040902054155b613b4d5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b03610100909104163314613b7d5760405162461bcd60e51b8152600401610d46906158ed565b50602080546001600160a01b0319166001600160a01b0392909216919091179055565b600a600081905260066020527f4da38fc8e544afc56a4c2a17752b8ddb67d8e23ac4583c9029d2e2d1dbe6c98854421080613be75750600081815260066020526040902054155b613c035760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b03610100909104163314613c335760405162461bcd60e51b8152600401610d46906158ed565b50602555565b6005546001600160a01b03610100909104163314613c695760405162461bcd60e51b8152600401610d46906158ed565b6001600160a01b038116613cce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d46565b610f71816146f5565b6001600160a01b038316613d395760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d46565b6001600160a01b038216613d9a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d46565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611568908490614893565b60006001600160a01b038416613eb35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610d46565b6001600160a01b038316613f155760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610d46565b60295460009081908190819060ff161561416857600754640100000000900460ff1615613f4e57613f4588614965565b613f4e87614965565b613f5888886131cf565b60075490915065010000000000900460ff168015613f9a57506001600160a01b03871660009081526012602052604090205460ff610100909104161515600114155b8015613fc557506000816002811115613fc357634e487b7160e01b600052602160045260246000fd5b145b156140795760075460ff1615613fde57613fde866149c2565b6007546301000000900460ff161561400757601d54614007906001600160a01b031689896149ff565b600754610100900460ff16156140205761402087614b89565b60075462010000900460ff16156140465761404661403d88611ebc565b60025488614c09565b60196028541015614079576001600160a01b0387166000908152600d602052602880549161407383615c0a565b91905055505b6140838888611444565b6140965761409181876139ef565b614099565b60005b93506140a484614c68565b60145491945092506140b69084615b56565b30600090815260156020526040812080549091906140d5908490615a33565b90915550600190508160028111156140fd57634e487b7160e01b600052602160045260246000fd5b141561416857602254602154116141215760215461411c906001615a33565b614124565b60005b602155601f54600160a81b900460ff16801561414a5750601f54600160a01b900460ff16155b801561415a575060215460225410155b156141685761416886614c9d565b60006141748588615b75565b905061418289898984614d3f565b60145461418f9084615b56565b601360008282546141a09190615b75565b92505081905550876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516141ec91815260200190565b60405180910390a350600198975050505050505050565b60006182356142166001620186a06139ef565b11156142765760405162461bcd60e51b815260206004820152602960248201527f455243323046656561626c653a2053656c6c2048617264636170206f6620333360448201526809481c995858da195960ba1b6064820152608401610d46565b6182356142876000620186a06139ef565b11156142e75760405162461bcd60e51b815260206004820152602960248201527f455243323046656561626c653a20427579202048617264636170206f6620333360448201526809481c995858da195960ba1b6064820152608401610d46565b6182356142f86002620186a06139ef565b11156143585760405162461bcd60e51b815260206004820152602960248201527f455243323046656561626c653a204e6f726d2048617264636170206f6620333360448201526809481c995858da195960ba1b6064820152608401610d46565b50600190565b6000610fc1836001600160a01b038416615122565b60408051600280825260608201835260009260208301908036833701905050905083816000815181106143b657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561440a57600080fd5b505afa15801561441e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061444291906153da565b8160018151811061446357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601c5460405163095ea7b360e01b81529082166004820152602481018490529085169063095ea7b390604401602060405180830381600087803b1580156144bf57600080fd5b505af11580156144d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144f791906155cb565b50601c5460405163791ac94760e01b81526001600160a01b039091169063791ac94790614531908590600090869089904290600401615992565b600060405180830381600087803b15801561454b57600080fd5b505af115801561455f573d6000803e3d6000fd5b5050505050505050565b60408051600280825260608201835260009260208301908036833701905050905084816000815181106145ac57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505083816001815181106145ee57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601c5460405163095ea7b360e01b81529082166004820152602481018590529086169063095ea7b390604401602060405180830381600087803b15801561464a57600080fd5b505af115801561465e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061468291906155cb565b50601c54604051635c11d79560e01b81526001600160a01b0390911690635c11d795906146bc908690600090869088904290600401615992565b600060405180830381600087803b1580156146d657600080fd5b505af11580156146ea573d6000803e3d6000fd5b505050505050505050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601c60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561479d57600080fd5b505afa1580156147b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147d591906153da565b6040516364e329cb60e11b81526001600160a01b0384811660048301528381166024830152919091169063c9c6539690604401602060405180830381600087803b15801561482257600080fd5b505af1158015614836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061485a91906153da565b601d80546001600160a01b0319166001600160a01b03929092169190911790555050565b6000610fc1836001600160a01b038416615171565b60006148e8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661528e9092919063ffffffff16565b805190915015611568578080602001905181019061490691906155cb565b6115685760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d46565b6001600160a01b0381166000908152600d602052604090205460ff16151560011415610f715760405162461bcd60e51b815260206004820152600c60248201526b1c1bdcdcda589b1948189bdd60a21b6044820152606401610d46565b600854811115610f715760405162461bcd60e51b81526020600482015260086024820152670deeccae440dac2f60c31b6044820152606401610d46565b6000836001600160a01b0316826001600160a01b03161415614a7a576001600160a01b0383166000908152600c6020526040902054431480614a4f5750326000908152600c602052604090205443145b6001600160a01b0384166000908152600c602052604080822043908190553283529120559050614aef565b836001600160a01b0316836001600160a01b03161415614aef576001600160a01b0382166000908152600c6020526040902054431480614ac85750326000908152600c602052604090205443145b6001600160a01b0383166000908152600c6020526040808220439081905532835291205590505b80156119955760405162461bcd60e51b815260206004820152605c60248201527f4d756c7469706c652074726164657320696e2073616d6520626c6f636b20667260448201527f6f6d2073616d6520736f7572636520617265206e6f7420616c6c6f776564206460648201527f7572696e672074726164696e6720737461727420636f6f6c646f776e00000000608482015260a401610d46565b600a546001600160a01b0382166000908152600b6020526040902054614baf9190615a33565b421015614bed5760405162461bcd60e51b815260206004820152600c60248201526b313abc9031b7b7b63237bbb760a11b6044820152606401610d46565b6001600160a01b03166000908152600b60205260409020429055565b606460095483614c199190615b56565b614c239190615a4b565b614c2d8285615a33565b11156115685760405162461bcd60e51b815260206004820152600a6024820152691bdd995c881b1a5b5a5d60b21b6044820152606401610d46565b600080614c73610e9f565b602454614c809085615b56565b614c8a9190615a4b565b9050614c968184615b75565b9150915091565b601f805460ff60a01b1916600160a01b179055602354600090606490614cc230611ebc565b614ccc9190615b56565b614cd69190615a4b565b90506000606460255484614cea9190615b56565b614cf49190615a4b565b90506000828211614d055781614d07565b825b90508015614d2757602054614d279030906001600160a01b031683614373565b505060006021555050601f805460ff60a01b19169055565b6000614d4b8585611023565b90506001816003811115614d6f57634e487b7160e01b600052602160045260246000fd5b1415614e6457601454614d829084615b56565b6001600160a01b03861660009081526015602052604081208054909190614daa908490615b75565b925050819055508160186000828254614dc39190615a33565b9091555050601454614dd59083615b56565b60176000828254614de69190615a33565b90915550614df49050611e3d565b6014556001600160a01b03841660009081526020819052604081208054849290614e1f908490615a33565b9091555050601454614e319083615b56565b6001600160a01b03851660009081526015602052604081208054909190614e59908490615a33565b909155506150cf9050565b6000816003811115614e8657634e487b7160e01b600052602160045260246000fd5b1415614f47576001600160a01b03851660009081526020819052604081208054859290614eb4908490615b75565b9091555050601454614ec69084615b56565b6001600160a01b03861660009081526015602052604081208054909190614eee908490615b75565b925050819055508260186000828254614f079190615b75565b9091555050601454614f199084615b56565b60176000828254614f2a9190615b75565b90915550614f389050611e3d565b6014819055614e319083615b56565b6002816003811115614f6957634e487b7160e01b600052602160045260246000fd5b141561504e576001600160a01b03851660009081526020819052604081208054859290614f97908490615b75565b9091555050601454614fa99084615b56565b6001600160a01b03861660009081526015602052604081208054909190614fd1908490615b75565b90915550506001600160a01b03841660009081526020819052604081208054849290614ffe908490615a33565b90915550506014546150109083615b56565b6001600160a01b03851660009081526015602052604081208054909190615038908490615a33565b909155506150469050611e3d565b6014556150cf565b60145461505b9084615b56565b6001600160a01b03861660009081526015602052604081208054909190615083908490615b75565b90915550506014546150959083615b56565b6001600160a01b038516600090815260156020526040812080549091906150bd908490615a33565b909155506150cb9050611e3d565b6014555b7f06f9d8302f3e4076b4e7b19e6b521cc8e7d17408d3af07bd17b97847f2bf89cd85856150fc8587615b75565b604080516001600160a01b039485168152939092166020840152908201526060016139e0565b600081815260018301602052604081205461516957508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610e99565b506000610e99565b60008181526001830160205260408120548015615284576000615195600183615b75565b85549091506000906151a990600190615b75565b905081811461522a5760008660000182815481106151d757634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061520857634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061524957634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610e99565b6000915050610e99565b60606133b1848460008585843b6152e75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d46565b600080866001600160a01b03168587604051615303919061582d565b60006040518083038185875af1925050503d8060008114615340576040519150601f19603f3d011682016040523d82523d6000602084013e615345565b606091505b5091509150615355828286615360565b979650505050505050565b6060831561536f575081610fc1565b82511561537f5782518084602001fd5b8160405162461bcd60e51b8152600401610d4691906158da565b8035600381106153a857600080fd5b919050565b803560ff811681146153a857600080fd5b6000602082840312156153cf578081fd5b8135610fc181615c67565b6000602082840312156153eb578081fd5b8151610fc181615c67565b60008060408385031215615408578081fd5b823561541381615c67565b9150602083013561542381615c67565b809150509250929050565b600080600060608486031215615442578081fd5b833561544d81615c67565b9250602084013561545d81615c67565b929592945050506040919091013590565b60008060408385031215615480578182fd5b823561548b81615c67565b9150602083013561542381615c7c565b6000806000606084860312156154af578283fd5b83356154ba81615c67565b9250602084013561545d81615c7c565b600080604083850312156154dc578182fd5b82356154e781615c67565b946020939093013593505050565b60008060408385031215615507578182fd5b823567ffffffffffffffff8082111561551e578384fd5b818501915085601f830112615531578384fd5b813560208282111561554557615545615c51565b8160051b9250615556818401615a02565b8281528181019085830185870184018b1015615570578889fd5b8896505b8487101561559e578035955061558986615c67565b85835260019690960195918301918301615574565b509997909101359750505050505050565b6000602082840312156155c0578081fd5b8135610fc181615c7c565b6000602082840312156155dc578081fd5b8151610fc181615c7c565b6000602082840312156155f8578081fd5b610fc182615399565b60008060408385031215615613578182fd5b6154e783615399565b600080600060608486031215615630578081fd5b61563984615399565b92506020808501359250604085013567ffffffffffffffff8082111561565d578384fd5b818701915087601f830112615670578384fd5b81358181111561568257615682615c51565b615694601f8201601f19168501615a02565b915080825288848285010111156156a9578485fd5b808484018584013784848284010152508093505050509250925092565b6000806000606084860312156156da578081fd5b6156e384615399565b95602085013595506040909401359392505050565b600060208284031215615709578081fd5b5035919050565b600060208284031215615721578081fd5b5051919050565b60008060006060848603121561573c578081fd5b83359250602084013561574e81615c67565b9150604084013561575e81615c7c565b809150509250925092565b6000806040838503121561577b578182fd5b50508035926020909101359150565b60008060006060848603121561579e578081fd5b8351925060208401519150604084015190509250925092565b600080604083850312156157c9578182fd5b61548b836153ad565b600080604083850312156157e4578182fd5b6154e7836153ad565b600381106157fd576157fd615c3b565b9052565b60008151808452615819816020860160208601615b8c565b601f01601f19169290920160200192915050565b6000825161583f818460208701615b8c565b9190910192915050565b60208101610e9982846157ed565b6040810161586582856157ed565b8260208301529392505050565b61587c81856157ed565b8260208201526060604082015260006158986060830184615801565b95945050505050565b606081016158af82866157ed565b602082019390935260400152919050565b60208101600483106158d4576158d4615c3b565b91905290565b602081526000610fc16020830184615801565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600b908201526a19195858dd1a5d985d195960aa1b604082015260600190565b6020808252602b908201527f4578636c75646564206164647265737365732063616e27742063616c6c20746860408201526a34b990333ab731ba34b7b760a91b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156159e15784516001600160a01b0316835293830193918301916001016159bc565b50506001600160a01b03969096166060850152505050608001529392505050565b604051601f8201601f1916810167ffffffffffffffff81118282101715615a2b57615a2b615c51565b604052919050565b60008219821115615a4657615a46615c25565b500190565b600082615a6657634e487b7160e01b81526012600452602481fd5b500490565b600181815b80851115615aa6578160001904821115615a8c57615a8c615c25565b80851615615a9957918102915b93841c9390800290615a70565b509250929050565b6000610fc18383600082615ac457506001610e99565b81615ad157506000610e99565b8160018114615ae75760028114615af157615b0d565b6001915050610e99565b60ff841115615b0257615b02615c25565b50506001821b610e99565b5060208310610133831016604e8410600b8410161715615b30575081810a610e99565b615b3a8383615a6b565b8060001904821115615b4e57615b4e615c25565b029392505050565b6000816000190483118215151615615b7057615b70615c25565b500290565b600082821015615b8757615b87615c25565b500390565b60005b83811015615ba7578181015183820152602001615b8f565b838111156119955750506000910152565b600081615bc757615bc7615c25565b506000190190565b600181811c90821680615be357607f821691505b60208210811415615c0457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415615c1e57615c1e615c25565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f7157600080fd5b8015158114610f7157600080fdfea26469706673582212208bab2603ea183036879a0c018f64993a8e3e61b8833b58360d7545346858e15164736f6c63430008040033

Deployed Bytecode

0x6080604052600436106103f35760003560e01c80637810016311610208578063c0d7865511610118578063e01af92c116100ab578063ed9cc6831161007a578063ed9cc68314610c81578063eebb854314610c96578063f0f4426014610cb6578063f0fa55a914610cd6578063f2fde38b14610cf657600080fd5b8063e01af92c14610c01578063e3ce8bee14610c21578063e7de33d914610c41578063e94497e314610c6157600080fd5b8063cea1c7f4116100e7578063cea1c7f414610b5b578063d62c922914610b7b578063d830db3a14610b9b578063dd62ed3e14610bbb57600080fd5b8063c0d7865514610ace578063c867392814610aee578063cbc7854e14610b0e578063cd7a16e014610b2e57600080fd5b80639ce110d71161019b578063b0b65afb1161016a578063b0b65afb14610a39578063b4a0640e14610a59578063b9f5595214610a6e578063ba01a8c614610a8e578063bc3f4f5414610aae57600080fd5b80639ce110d7146109d1578063a457c2d7146109d9578063a47221b8146109f9578063a9059cbb14610a1957600080fd5b806389549285116101d757806389549285146109645780638da5cb5b1461098457806392ad24e3146109a757806395d89b41146109bc57600080fd5b806378100163146108ef5780637b7ac6761461090f5780638456cb591461092f57806386ff4be61461094457600080fd5b806342966c6811610303578063622cd087116102965780636c6eb9d1116102655780636c6eb9d1146108655780636de62d0c1461088557806370a082311461089a578063715018a6146108ba5780637504db3e146108cf57600080fd5b8063622cd087146107ef57806363fcb00c1461080f5780636625e11b146108255780636ab1f7b41461084557600080fd5b80635084fc3b116102d25780635084fc3b14610757578063519df2f6146107775780635d9f9a141461079757806361d027b3146107b757600080fd5b806342966c68146106d7578063451384cc146106f7578063474c5e3c146107175780634febf53d1461073757600080fd5b806323b872dd11610386578063313ce56711610355578063313ce5671461063557806339509351146106575780633a985381146106775780633e57c77b146106ad5780633f4ba83a146106c257600080fd5b806323b872dd146105b257806329a4b31a146105d257806329c70488146105e85780633040098b1461060857600080fd5b8063148405bf116103c2578063148405bf1461049f57806316114acd146104d557806318160ddd146104f55780631e9c2aaa1461050a57600080fd5b806303456cbe146103ff57806306fdde0314610421578063095ea7b31461044c57806309843efa1461047c57600080fd5b366103fa57005b600080fd5b34801561040b57600080fd5b5061041f61041a3660046156f8565b610d16565b005b34801561042d57600080fd5b50610436610df6565b60405161044391906158da565b60405180910390f35b34801561045857600080fd5b5061046c6104673660046154ca565b610e88565b6040519015158152602001610443565b34801561048857600080fd5b50610491610e9f565b604051908152602001610443565b3480156104ab57600080fd5b506104916104ba3660046153be565b6001600160a01b031660009081526015602052604090205490565b3480156104e157600080fd5b5061041f6104f03660046153be565b610eb5565b34801561050157600080fd5b50600254610491565b34801561051657600080fd5b5061058a6105253660046153be565b6040805160608082018352600080835260208084018290529284018190526001600160a01b039490941684526012825292829020825193840183525460ff80821615158552610100820481161515928501929092526201000090041615159082015290565b6040805182511515815260208084015115159082015291810151151590820152606001610443565b3480156105be57600080fd5b5061046c6105cd36600461542e565b610f74565b3480156105de57600080fd5b5061049160185481565b3480156105f457600080fd5b506104916106033660046155e7565b610fc8565b34801561061457600080fd5b506106286106233660046153f6565b611023565b60405161044391906158c0565b34801561064157600080fd5b5060055460405160ff9091168152602001610443565b34801561066357600080fd5b5061046c6106723660046154ca565b6110d1565b34801561068357600080fd5b506104916106923660046153be565b6001600160a01b031660009081526019602052604090205490565b3480156106b957600080fd5b50610491611108565b3480156106ce57600080fd5b5061041f61119a565b3480156106e357600080fd5b5061041f6106f23660046156f8565b6111ec565b34801561070357600080fd5b5061046c6107123660046153f6565b611444565b34801561072357600080fd5b5061041f6107323660046156f8565b611487565b34801561074357600080fd5b5061041f6107523660046153be565b61156d565b34801561076357600080fd5b5061041f6107723660046156f8565b61174b565b34801561078357600080fd5b5061041f6107923660046156f8565b611829565b3480156107a357600080fd5b5061041f6107b2366004615728565b6118c2565b3480156107c357600080fd5b506020546107d7906001600160a01b031681565b6040516001600160a01b039091168152602001610443565b3480156107fb57600080fd5b5061046c61080a3660046153be565b61199b565b34801561081b57600080fd5b5061049160175481565b34801561083157600080fd5b5061041f6108403660046157b7565b6119bf565b34801561085157600080fd5b50610491610860366004615601565b611b23565b34801561087157600080fd5b5061041f6108803660046156f8565b611ba8565b34801561089157600080fd5b50610491611e3d565b3480156108a657600080fd5b506104916108b53660046153be565b611ebc565b3480156108c657600080fd5b5061041f611f0e565b3480156108db57600080fd5b5061041f6108ea3660046153be565b611f4a565b3480156108fb57600080fd5b5061041f61090a36600461546e565b611fb3565b34801561091b57600080fd5b5061041f61092a3660046153be565b612071565b34801561093b57600080fd5b5061041f61222d565b34801561095057600080fd5b5061041f61095f3660046156f8565b612269565b34801561097057600080fd5b5061041f61097f3660046156f8565b61233e565b34801561099057600080fd5b5060055461010090046001600160a01b03166107d7565b3480156109b357600080fd5b50601654610491565b3480156109c857600080fd5b506104366125f1565b61041f612600565b3480156109e557600080fd5b5061046c6109f43660046154ca565b6128f0565b348015610a0557600080fd5b5061041f610a14366004615769565b61297f565b348015610a2557600080fd5b5061046c610a343660046154ca565b6129cf565b348015610a4557600080fd5b5061041f610a543660046156f8565b6129dc565b348015610a6557600080fd5b50610491612b71565b348015610a7a57600080fd5b5061041f610a89366004615601565b612b7c565b348015610a9a57600080fd5b5061041f610aa93660046157d2565b612e19565b348015610aba57600080fd5b5061041f610ac93660046155af565b612edf565b348015610ada57600080fd5b5061041f610ae93660046153be565b612f8d565b348015610afa57600080fd5b5061041f610b093660046153be565b612fdf565b348015610b1a57600080fd5b5061041f610b293660046153f6565b613171565b348015610b3a57600080fd5b50610b4e610b493660046153f6565b6131cf565b6040516104439190615849565b348015610b6757600080fd5b5061041f610b7636600461549b565b61323f565b348015610b8757600080fd5b50610491610b963660046156c6565b613317565b348015610ba757600080fd5b5061041f610bb63660046154f5565b6133b9565b348015610bc757600080fd5b50610491610bd63660046153f6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610c0d57600080fd5b5061041f610c1c3660046155af565b6134f0565b348015610c2d57600080fd5b5061041f610c3c36600461561c565b61353e565b348015610c4d57600080fd5b5061041f610c5c3660046156c6565b613745565b348015610c6d57600080fd5b50610491610c7c366004615601565b6139ef565b348015610c8d57600080fd5b50601354610491565b348015610ca257600080fd5b5061041f610cb13660046153be565b613a98565b348015610cc257600080fd5b5061041f610cd13660046153be565b613aea565b348015610ce257600080fd5b5061041f610cf13660046156f8565b613ba0565b348015610d0257600080fd5b5061041f610d113660046153be565b613c39565b6005546001600160a01b03610100909104163314610d4f5760405162461bcd60e51b8152600401610d46906158ed565b60405180910390fd5b600b600081905260066020527f85291c2e7881182c13e19eca9b58927ebfdc2c5d04882018eeb33d8241d3571154421080610d965750600081815260066020526040902054155b610db25760405162461bcd60e51b8152600401610d4690615922565b60275415610df05760405162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b6044820152606401610d46565b50602755565b606060038054610e0590615bcf565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3190615bcf565b8015610e7e5780601f10610e5357610100808354040283529160200191610e7e565b820191906000526020600020905b815481529060010190602001808311610e6157829003601f168201915b5050505050905090565b6000610e95338484613cd7565b5060015b92915050565b6000600e54600a610eb09190615aae565b905090565b6005546001600160a01b03610100909104163314610ee55760405162461bcd60e51b8152600401610d46906158ed565b610f71336040516370a0823160e01b81523060048201526001600160a01b038416906370a082319060240160206040518083038186803b158015610f2857600080fd5b505afa158015610f3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f609190615710565b6001600160a01b0384169190613dfb565b50565b6000610f81848484613e4d565b506001600160a01b038416600090815260016020908152604080832033808552925290912054610fbd918691610fb8908690615b75565b613cd7565b5060015b9392505050565b600060116000836002811115610fee57634e487b7160e01b600052602160045260246000fd5b600281111561100d57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020549050919050565b6001600160a01b03808316600090815260126020526040808220549284168252812054909160ff6201000091829004811692919091041681158015611066575080155b1561107657600392505050610e99565b818015611081575080155b1561109157600092505050610e99565b8115801561109c5750805b156110ac57600192505050610e99565b8180156110b65750805b156110c657600292505050610e99565b600392505050610e99565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610e95918590610fb8908690615a33565b600060118160015b600281111561112f57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020546011600060028081111561116257634e487b7160e01b600052602160045260246000fd5b600281111561118157634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002054610eb09190615a33565b6005546001600160a01b036101009091041633146111ca5760405162461bcd60e51b8152600401610d46906158ed565b6029805460ff19166001179055601f805460ff60a81b1916600160a81b179055565b600080805260066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8544210806112315750600081815260066020526040902054155b61124d5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b0361010090910416331461127d5760405162461bcd60e51b8152600401610d46906158ed565b60218211156112c95760405162461bcd60e51b815260206004820152601860248201527763616e2774206275726e206d6f7265207468616e2033332560401b6044820152606401610d46565b6027546026546112d99190615a33565b42116113125760405162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b6044820152606401610d46565b601d546001600160a01b031660009081526015602052604081205490606461133a8584615b56565b6113449190615a4b565b601d546001600160a01b0316600090815260156020526040812080549293508392909190611373908490615b75565b9091555050601d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b1580156113c157600080fd5b505af11580156113d5573d6000803e3d6000fd5b5050601d5460205460405163bc25cf7760e01b81526001600160a01b0391821660048201529116925063bc25cf779150602401600060405180830381600087803b15801561142257600080fd5b505af1158015611436573d6000803e3d6000fd5b505042602655505050505050565b6001600160a01b03821660009081526012602052604081205460ff1680610fc15750506001600160a01b031660009081526012602052604090205460ff16919050565b6005546001600160a01b036101009091041633146114b75760405162461bcd60e51b8152600401610d46906158ed565b6017600081905260066020527f84f72166cd6dc886f96a4867c4575af2a636c629c04227c9418bfffa7a09a9ed544210806114fe5750600081815260066020526040902054155b61151a5760405162461bcd60e51b8152600401610d4690615922565b8161155b5760405162461bcd60e51b8152602060048201526011602482015270063616e277420646976696465206279203607c1b6044820152606401610d46565b600e829055611568614203565b505050565b6005546001600160a01b0361010090910416331461159d5760405162461bcd60e51b8152600401610d46906158ed565b6018600081905260066020527f7ca528807b45d0675df0059116d2304ca9c7f495d9ab623cd80c79f11948b856544210806115e45750600081815260066020526040902054155b6116005760405162461bcd60e51b8152600401610d4690615922565b6001600160a01b03821660009081526012602052604090205462010000900460ff161561166f5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610d46565b6001600160a01b0382166000908152601260209081526040808320805462ff0000191662010000179055601590915290205415611730576014546001600160a01b0383166000908152601560205260409020546116cc9190615a4b565b6001600160a01b0383166000908152602081905260408120829055601880549091906116f9908490615a33565b90915550506001600160a01b038216600090815260156020526040812054601780549192909161172a908490615a33565b90915550505b61173b601a8361435e565b50611744611e3d565b6014555050565b6009600081905260066020527fca4d0c6c94a9477136dd41a99cc19ecbe441c8f6609efe7c6fa65be007a47323544210806117925750600081815260066020526040902054155b6117ae5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b036101009091041633146117de5760405162461bcd60e51b8152600401610d46906158ed565b60648211156118235760405162461bcd60e51b8152602060048201526011602482015270063616e277420676f206f7665722031303607c1b6044820152606401610d46565b50602455565b6006600081905260208190527f697b2bd7bb2984c4e0dc14c79c987d37818484a62958b9c45a0e8b962f20650f544210806118705750600081815260066020526040902054155b61188c5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b036101009091041633146118bc5760405162461bcd60e51b8152600401610d46906158ed565b50602255565b6005600081905260066020527fbfd358e93f18da3ed276c3afdbdba00b8f0b6008a03476a6a86bd6320ee6938b544210806119095750600081815260066020526040902054155b6119255760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b036101009091041633146119555760405162461bcd60e51b8152600401610d46906158ed565b811561197757601e54611972906001600160a01b03168486614373565b611995565b601e54601f54611995916001600160a01b0390811691168686614569565b50505050565b6001600160a01b031660009081526012602052604090205462010000900460ff1690565b6005546001600160a01b036101009091041633146119ef5760405162461bcd60e51b8152600401610d46906158ed565b601e600081905260066020527fb6ba906ff52451a7a924e2eaeb8aea3ebee7350a8703e5e417edb25358c7dcc154421080611a365750600081815260066020526040902054155b611a525760405162461bcd60e51b8152600401610d4690615922565b60ff8316611a69576007805460ff19168315151790555b8260ff1660011415611a89576007805461ff001916610100841515021790555b8260ff1660021415611aad576007805463ff00000019166301000000841515021790555b8260ff1660031415611acf576007805462ff0000191662010000841515021790555b8260ff1660041415611af5576007805464ff000000001916640100000000841515021790555b8260ff16600514156115685760078054831515650100000000000265ff000000000019909116179055505050565b6000600f6000846002811115611b4957634e487b7160e01b600052602160045260246000fd5b6002811115611b6857634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000208281548110611b9557634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6001600081905260066020527f3e5fec24aa4dc4e5aee2e025e51e1392c72a2500577559fae9665c6d52bd6a3154421080611bef5750600081815260066020526040902054155b611c0b5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b03610100909104163314611c3b5760405162461bcd60e51b8152600401610d46906158ed565b6021821115611c875760405162461bcd60e51b815260206004820152601860248201527763616e2774206275726e206d6f7265207468616e2033332560401b6044820152606401610d46565b602754602654611c979190615a33565b4211611cd05760405162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b6044820152606401610d46565b600080805260156020527fa31547ce6245cdb9ecea19cf8c7eb9f5974025bb4075011409251ae855b30aed54606490611d0a908590615b56565b611d149190615a4b565b600080805260156020527fa31547ce6245cdb9ecea19cf8c7eb9f5974025bb4075011409251ae855b30aed80549293508392909190611d54908490615b75565b925050819055508060136000828254611d6d9190615b75565b9091555050601d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b158015611dbb57600080fd5b505af1158015611dcf573d6000803e3d6000fd5b5050601d5460205460405163bc25cf7760e01b81526001600160a01b0391821660048201529116925063bc25cf779150602401600060405180830381600087803b158015611e1c57600080fd5b505af1158015611e30573d6000803e3d6000fd5b5050426026555050505050565b600080601754601354611e509190615b75565b90506000601854600254611e649190615b75565b90506000600254601354611e789190615a4b565b905080831015611e89579392505050565b6013546017541180611e9e5750600254601854115b15611eaa579392505050565b611eb48284615a4b565b935050505090565b6000611ec78261199b565b15611ee857506001600160a01b031660009081526020819052604090205490565b6014546001600160a01b038316600090815260156020526040902054610e999190615a4b565b6005546001600160a01b03610100909104163314611f3e5760405162461bcd60e51b8152600401610d46906158ed565b611f4860006146f5565b565b6005546001600160a01b03610100909104163314611f7a5760405162461bcd60e51b8152600401610d46906158ed565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015611faf573d6000803e3d6000fd5b5050565b6005546001600160a01b03610100909104163314611fe35760405162461bcd60e51b8152600401610d46906158ed565b60206000819052600681527f8962290a7218a9ad62224806fc2c8bf61f46f0c0289c25ddd8bb0f483a960032544210806120295750600081815260066020526040902054155b6120455760405162461bcd60e51b8152600401610d4690615922565b506001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6004600081905260066020527fc5069e24aaadb2addc3e52e868fcf3f4f8acf5a87e24300992fd4540c2a87eed544210806120b85750600081815260066020526040902054155b6120d45760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b036101009091041633146121045760405162461bcd60e51b8152600401610d46906158ed565b601c546040805163c45a015560e01b815290516000926001600160a01b03169163c45a0155916004808301926020929190829003018186803b15801561214957600080fd5b505afa15801561215d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061218191906153da565b6040516364e329cb60e11b81523060048201526001600160a01b038581166024830152919091169063c9c6539690604401602060405180830381600087803b1580156121cc57600080fd5b505af11580156121e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061220491906153da565b6001600160a01b03166000908152601260205260409020805461ff001916610100179055505050565b6005546001600160a01b0361010090910416331461225d5760405162461bcd60e51b8152600401610d46906158ed565b6029805460ff19169055565b6007600081905260066020527f4ced6d0d36392b04cc5d8761b1327b3bbba6e1089c77f60a9a9ca18e05e4f00e544210806122b05750600081815260066020526040902054155b6122cc5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b036101009091041633146122fc5760405162461bcd60e51b8152600401610d46906158ed565b60648211156123385760405162461bcd60e51b8152602060048201526008602482015267042e8dededaeac6d60c31b6044820152606401610d46565b50602355565b6002600081905260066020527f8819ef417987f8ae7a81f42cdfb18815282fe989326fbff903d13cf0e03ace29544210806123855750600081815260066020526040902054155b6123a15760405162461bcd60e51b8152600401610d4690615922565b3360006123ac611e3d565b90506123b78261199b565b156123d45760405162461bcd60e51b8152600401610d4690615947565b6001600160a01b0382166000908152601560205260409020546123f78286615b56565b1061242f5760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b6044820152606401610d46565b6124398185615b56565b6001600160a01b03831660009081526015602052604081208054909190612461908490615b75565b9091555061247190508185615b56565b600080805260156020527fa31547ce6245cdb9ecea19cf8c7eb9f5974025bb4075011409251ae855b30aed80549091906124ac908490615a33565b9091555050600080805260208190527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb580548692906124ec908490615a33565b9091555050601d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b15801561253a57600080fd5b505af115801561254e573d6000803e3d6000fd5b5050601d5460205460405163bc25cf7760e01b81526001600160a01b0391821660048201529116925063bc25cf779150602401600060405180830381600087803b15801561259b57600080fd5b505af11580156125af573d6000803e3d6000fd5b5050604051868152600092503091507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050565b606060048054610e0590615bcf565b6005546001600160a01b036101009091041633146126305760405162461bcd60e51b8152600401610d46906158ed565b6126bf30601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561268257600080fd5b505afa158015612696573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126ba91906153da565b61474f565b601c546001600160a01b031663f305d71934306126db81611ebc565b6000806126f66005546001600160a01b036101009091041690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b15801561275957600080fd5b505af115801561276d573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612792919061578a565b5050602080546001600160a01b03191673957abac46243fca7a0f4d2c110c3cf860eea0317178155601d80546001600160a01b039081166000908152601284526040808220805461ff001916610100179055308252808220805460ff199081166001908117909255955484168352818320805487168217905533835291208054909416179092555461282592501661156d565b6004600e8190555061285a600061012c604051806040016040528060078152602001666275792066656560c81b81525061353e565b61288860016105dc6040518060400160405280600881526020016773656c6c2066656560c01b81525061353e565b600a6023556001602255606460258190556002546128a69190615a4b565b6008556001600955600f600a55600780546501010101010165ffffffffffff199091161790556029805461ffff1916610101179055601f805460ff60a81b1916600160a81b179055565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156129725760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610d46565b610fbd3385858403613cd7565b6005546001600160a01b036101009091041633146129af5760405162461bcd60e51b8152600401610d46906158ed565b6129b94282615a33565b6000928352600660205260409092209190915550565b6000610fbd338484613e4d565b6003600081905260066020527f75f96ab15d697e93042dc45b5c896c4b27e89bb6eaf39475c5c371cb2513f7d254421080612a235750600081815260066020526040902054155b612a3f5760405162461bcd60e51b8152600401610d4690615922565b336000612a4a611e3d565b9050612a558261199b565b15612a725760405162461bcd60e51b8152600401610d4690615947565b6001600160a01b038216600090815260156020526040902054612a958286615b56565b10612acd5760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b6044820152606401610d46565b612ad78185615b56565b6001600160a01b03831660009081526015602052604081208054909190612aff908490615b75565b90915550612b0f90508185615b56565b60136000828254612b209190615b75565b90915550506001600160a01b03821660009081526019602052604081208054869290612b4d908490615a33565b925050819055508360166000828254612b669190615a33565b909155505050505050565b600060118180611110565b6005546001600160a01b03610100909104163314612bac5760405162461bcd60e51b8152600401610d46906158ed565b6016600081905260066020527f7d35cc2b0520994422695eb24e3bf4f74e9cba2704cae72ecd9ec54409a56afb54421080612bf35750600081815260066020526040902054155b612c0f5760405162461bcd60e51b8152600401610d4690615922565b6000600f6000856002811115612c3557634e487b7160e01b600052602160045260246000fd5b6002811115612c5457634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000208381548110612c8157634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060116000866002811115612cb357634e487b7160e01b600052602160045260246000fd5b6002811115612cd257634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000206000828254612cef9190615b75565b90915550600f90506000856002811115612d1957634e487b7160e01b600052602160045260246000fd5b6002811115612d3857634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000208381548110612d6557634e487b7160e01b600052603260045260246000fd5b906000526020600020016000905560106000856002811115612d9757634e487b7160e01b600052602160045260246000fd5b6002811115612db657634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000206000815480929190612dd590615bb8565b91905055507f67537524761f58423e2e5ae21cb620aaff13d733d9d04951bd14a0711910a0338484604051612e0b929190615857565b60405180910390a150505050565b6005546001600160a01b03610100909104163314612e495760405162461bcd60e51b8152600401610d46906158ed565b601f600081905260066020527fe0f48684da2738819afc60049d8a627ffa250d5e1c7f8a7fedb1ce999915baf654421080612e905750600081815260066020526040902054155b612eac5760405162461bcd60e51b8152600401610d4690615922565b60ff8316612eba5760088290555b8260ff1660011415612ecc5760098290555b8260ff16600214156115685750600a5550565b6005546001600160a01b03610100909104163314612f0f5760405162461bcd60e51b8152600401610d46906158ed565b600c600081905260066020527f0b94fa1b86997cc1f1148bfbe25b674e8cefc7cc6f976aa8d7c7966bd4cca34754421080612f565750600081815260066020526040902054155b612f725760405162461bcd60e51b8152600401610d4690615922565b50602980549115156101000261ff0019909216919091179055565b6005546001600160a01b03610100909104163314612fbd5760405162461bcd60e51b8152600401610d46906158ed565b601c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b0361010090910416331461300f5760405162461bcd60e51b8152600401610d46906158ed565b6019600081905260066020527ff377e614ebf060ffd3a592667b14b65ef761b258b68bf422a9c7bfae70ee46e2544210806130565750600081815260066020526040902054155b6130725760405162461bcd60e51b8152600401610d4690615922565b6001600160a01b03821660009081526012602052604090205462010000900460ff1615156001146130e55760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610d46565b6001600160a01b0382166000908152601260209081526040808320805462ff000019169055908290528120546018805491929091613124908490615b75565b90915550506001600160a01b03821660009081526020818152604080832083905560159091528120546017805491929091613160908490615b75565b9091555061173b9050601a8361487e565b6005546001600160a01b036101009091041633146131a15760405162461bcd60e51b8152600401610d46906158ed565b601e80546001600160a01b039384166001600160a01b031991821617909155601f8054929093169116179055565b6001600160a01b03821660009081526012602052604081205460ff6101009091041615156001141561320357506000610e99565b6001600160a01b03821660009081526012602052604090205460ff6101009091041615156001141561323757506001610e99565b506002610e99565b6005546001600160a01b0361010090910416331461326f5760405162461bcd60e51b8152600401610d46906158ed565b80600114156132a3576001600160a01b0383166000908152601260205260409020805483151560ff19909116179055505050565b80600214156132dc576001600160a01b038316600090815260126020526040902080548315156101000261ff0019909116179055505050565b8060031415611568576001600160a01b03831660009081526012602052604090208054831515620100000262ff000019909116179055505050565b6000613321610e9f565b600f600086600281111561334557634e487b7160e01b600052602160045260246000fd5b600281111561336457634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020848154811061339157634e487b7160e01b600052603260045260246000fd5b9060005260206000200154836133a79190615b56565b6133b19190615a4b565b949350505050565b600d600081905260066020527f248457bacb20e239ae314d8db91c0f270e453c28ee138c84f97aea6cfcf9a499544210806134005750600081815260066020526040902054155b61341c5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b0361010090910416331461344c5760405162461bcd60e51b8152600401610d46906158ed565b600083518361345b9190615a4b565b905060005b84518110156134e9576014546134769083615b56565b6015600087848151811061349a57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060008282546134d19190615a33565b909155508190506134e181615c0a565b915050613460565b5050505050565b6005546001600160a01b036101009091041633146135205760405162461bcd60e51b8152600401610d46906158ed565b601f8054911515600160a81b0260ff60a81b19909216919091179055565b6005546001600160a01b0361010090910416331461356e5760405162461bcd60e51b8152600401610d46906158ed565b6014600081905260066020527f098d468efb4f874d617491296c759dc9ae46efb517fe36bcf30699ad3f714c0f544210806135b55750600081815260066020526040902054155b6135d15760405162461bcd60e51b8152600401610d4690615922565b600f60008560028111156135f557634e487b7160e01b600052602160045260246000fd5b600281111561361457634e487b7160e01b600052602160045260246000fd5b815260208082019290925260400160009081208054600181018255908252918120909101849055839060119086600281111561366057634e487b7160e01b600052602160045260246000fd5b600281111561367f57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600082825461369c9190615a33565b909155506010905060008560028111156136c657634e487b7160e01b600052602160045260246000fd5b60028111156136e557634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600081548092919061370490615c0a565b9190505550613711614203565b507f42d7180fdce9c41efa3db6f3ffc7c3c96a3e68730b9c63fa1f0b672e34a10ceb848484604051612e0b93929190615872565b6005546001600160a01b036101009091041633146137755760405162461bcd60e51b8152600401610d46906158ed565b6015600081905260066020527feda6feebfb4ffb7de2d0dc45a13b92dc953c2ed6ee96fa7fe8179e7c4266747f544210806137bc5750600081815260066020526040902054155b6137d85760405162461bcd60e51b8152600401610d4690615922565b82600f60008660028111156137fd57634e487b7160e01b600052602160045260246000fd5b600281111561381c57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020838154811061384957634e487b7160e01b600052603260045260246000fd5b6000918252602082200191909155805b600f600087600281111561387d57634e487b7160e01b600052602160045260246000fd5b600281111561389c57634e487b7160e01b600052602160045260246000fd5b815260208101919091526040016000205481101561394e57600f60008760028111156138d857634e487b7160e01b600052602160045260246000fd5b60028111156138f757634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020818154811061392457634e487b7160e01b600052603260045260246000fd5b90600052602060002001548261393a9190615a33565b91508061394681615c0a565b915050613859565b50806011600087600281111561397457634e487b7160e01b600052602160045260246000fd5b600281111561399357634e487b7160e01b600052602160045260246000fd5b81526020810191909152604001600020556139ac614203565b507f2df9ab6e42f0be5e726cbdc55c72a8d2ff8e9347abbea531966363f9d5e104948585856040516139e0939291906158a1565b60405180910390a15050505050565b60008080846002811115613a1357634e487b7160e01b600052602160045260246000fd5b1415613a4457613a21610e9f565b613a29612b71565b613a339085615b56565b613a3d9190615a4b565b9050610fc1565b6001846002811115613a6657634e487b7160e01b600052602160045260246000fd5b1415613a7c57613a74610e9f565b613a29611108565b613a84610e9f565b613a8e6002610fc8565b6133a79085615b56565b6005546001600160a01b03610100909104163314613ac85760405162461bcd60e51b8152600401610d46906158ed565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6008600081905260066020527fb8d683c9d414f481826f3e7fe14b3ac6ae8c73450778287390c4bb8cb9f2e80b54421080613b315750600081815260066020526040902054155b613b4d5760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b03610100909104163314613b7d5760405162461bcd60e51b8152600401610d46906158ed565b50602080546001600160a01b0319166001600160a01b0392909216919091179055565b600a600081905260066020527f4da38fc8e544afc56a4c2a17752b8ddb67d8e23ac4583c9029d2e2d1dbe6c98854421080613be75750600081815260066020526040902054155b613c035760405162461bcd60e51b8152600401610d4690615922565b6005546001600160a01b03610100909104163314613c335760405162461bcd60e51b8152600401610d46906158ed565b50602555565b6005546001600160a01b03610100909104163314613c695760405162461bcd60e51b8152600401610d46906158ed565b6001600160a01b038116613cce5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d46565b610f71816146f5565b6001600160a01b038316613d395760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d46565b6001600160a01b038216613d9a5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d46565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611568908490614893565b60006001600160a01b038416613eb35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610d46565b6001600160a01b038316613f155760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610d46565b60295460009081908190819060ff161561416857600754640100000000900460ff1615613f4e57613f4588614965565b613f4e87614965565b613f5888886131cf565b60075490915065010000000000900460ff168015613f9a57506001600160a01b03871660009081526012602052604090205460ff610100909104161515600114155b8015613fc557506000816002811115613fc357634e487b7160e01b600052602160045260246000fd5b145b156140795760075460ff1615613fde57613fde866149c2565b6007546301000000900460ff161561400757601d54614007906001600160a01b031689896149ff565b600754610100900460ff16156140205761402087614b89565b60075462010000900460ff16156140465761404661403d88611ebc565b60025488614c09565b60196028541015614079576001600160a01b0387166000908152600d602052602880549161407383615c0a565b91905055505b6140838888611444565b6140965761409181876139ef565b614099565b60005b93506140a484614c68565b60145491945092506140b69084615b56565b30600090815260156020526040812080549091906140d5908490615a33565b90915550600190508160028111156140fd57634e487b7160e01b600052602160045260246000fd5b141561416857602254602154116141215760215461411c906001615a33565b614124565b60005b602155601f54600160a81b900460ff16801561414a5750601f54600160a01b900460ff16155b801561415a575060215460225410155b156141685761416886614c9d565b60006141748588615b75565b905061418289898984614d3f565b60145461418f9084615b56565b601360008282546141a09190615b75565b92505081905550876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516141ec91815260200190565b60405180910390a350600198975050505050505050565b60006182356142166001620186a06139ef565b11156142765760405162461bcd60e51b815260206004820152602960248201527f455243323046656561626c653a2053656c6c2048617264636170206f6620333360448201526809481c995858da195960ba1b6064820152608401610d46565b6182356142876000620186a06139ef565b11156142e75760405162461bcd60e51b815260206004820152602960248201527f455243323046656561626c653a20427579202048617264636170206f6620333360448201526809481c995858da195960ba1b6064820152608401610d46565b6182356142f86002620186a06139ef565b11156143585760405162461bcd60e51b815260206004820152602960248201527f455243323046656561626c653a204e6f726d2048617264636170206f6620333360448201526809481c995858da195960ba1b6064820152608401610d46565b50600190565b6000610fc1836001600160a01b038416615122565b60408051600280825260608201835260009260208301908036833701905050905083816000815181106143b657634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561440a57600080fd5b505afa15801561441e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061444291906153da565b8160018151811061446357634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601c5460405163095ea7b360e01b81529082166004820152602481018490529085169063095ea7b390604401602060405180830381600087803b1580156144bf57600080fd5b505af11580156144d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144f791906155cb565b50601c5460405163791ac94760e01b81526001600160a01b039091169063791ac94790614531908590600090869089904290600401615992565b600060405180830381600087803b15801561454b57600080fd5b505af115801561455f573d6000803e3d6000fd5b5050505050505050565b60408051600280825260608201835260009260208301908036833701905050905084816000815181106145ac57634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b03168152505083816001815181106145ee57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601c5460405163095ea7b360e01b81529082166004820152602481018590529086169063095ea7b390604401602060405180830381600087803b15801561464a57600080fd5b505af115801561465e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061468291906155cb565b50601c54604051635c11d79560e01b81526001600160a01b0390911690635c11d795906146bc908690600090869088904290600401615992565b600060405180830381600087803b1580156146d657600080fd5b505af11580156146ea573d6000803e3d6000fd5b505050505050505050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601c60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561479d57600080fd5b505afa1580156147b1573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147d591906153da565b6040516364e329cb60e11b81526001600160a01b0384811660048301528381166024830152919091169063c9c6539690604401602060405180830381600087803b15801561482257600080fd5b505af1158015614836573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061485a91906153da565b601d80546001600160a01b0319166001600160a01b03929092169190911790555050565b6000610fc1836001600160a01b038416615171565b60006148e8826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661528e9092919063ffffffff16565b805190915015611568578080602001905181019061490691906155cb565b6115685760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d46565b6001600160a01b0381166000908152600d602052604090205460ff16151560011415610f715760405162461bcd60e51b815260206004820152600c60248201526b1c1bdcdcda589b1948189bdd60a21b6044820152606401610d46565b600854811115610f715760405162461bcd60e51b81526020600482015260086024820152670deeccae440dac2f60c31b6044820152606401610d46565b6000836001600160a01b0316826001600160a01b03161415614a7a576001600160a01b0383166000908152600c6020526040902054431480614a4f5750326000908152600c602052604090205443145b6001600160a01b0384166000908152600c602052604080822043908190553283529120559050614aef565b836001600160a01b0316836001600160a01b03161415614aef576001600160a01b0382166000908152600c6020526040902054431480614ac85750326000908152600c602052604090205443145b6001600160a01b0383166000908152600c6020526040808220439081905532835291205590505b80156119955760405162461bcd60e51b815260206004820152605c60248201527f4d756c7469706c652074726164657320696e2073616d6520626c6f636b20667260448201527f6f6d2073616d6520736f7572636520617265206e6f7420616c6c6f776564206460648201527f7572696e672074726164696e6720737461727420636f6f6c646f776e00000000608482015260a401610d46565b600a546001600160a01b0382166000908152600b6020526040902054614baf9190615a33565b421015614bed5760405162461bcd60e51b815260206004820152600c60248201526b313abc9031b7b7b63237bbb760a11b6044820152606401610d46565b6001600160a01b03166000908152600b60205260409020429055565b606460095483614c199190615b56565b614c239190615a4b565b614c2d8285615a33565b11156115685760405162461bcd60e51b815260206004820152600a6024820152691bdd995c881b1a5b5a5d60b21b6044820152606401610d46565b600080614c73610e9f565b602454614c809085615b56565b614c8a9190615a4b565b9050614c968184615b75565b9150915091565b601f805460ff60a01b1916600160a01b179055602354600090606490614cc230611ebc565b614ccc9190615b56565b614cd69190615a4b565b90506000606460255484614cea9190615b56565b614cf49190615a4b565b90506000828211614d055781614d07565b825b90508015614d2757602054614d279030906001600160a01b031683614373565b505060006021555050601f805460ff60a01b19169055565b6000614d4b8585611023565b90506001816003811115614d6f57634e487b7160e01b600052602160045260246000fd5b1415614e6457601454614d829084615b56565b6001600160a01b03861660009081526015602052604081208054909190614daa908490615b75565b925050819055508160186000828254614dc39190615a33565b9091555050601454614dd59083615b56565b60176000828254614de69190615a33565b90915550614df49050611e3d565b6014556001600160a01b03841660009081526020819052604081208054849290614e1f908490615a33565b9091555050601454614e319083615b56565b6001600160a01b03851660009081526015602052604081208054909190614e59908490615a33565b909155506150cf9050565b6000816003811115614e8657634e487b7160e01b600052602160045260246000fd5b1415614f47576001600160a01b03851660009081526020819052604081208054859290614eb4908490615b75565b9091555050601454614ec69084615b56565b6001600160a01b03861660009081526015602052604081208054909190614eee908490615b75565b925050819055508260186000828254614f079190615b75565b9091555050601454614f199084615b56565b60176000828254614f2a9190615b75565b90915550614f389050611e3d565b6014819055614e319083615b56565b6002816003811115614f6957634e487b7160e01b600052602160045260246000fd5b141561504e576001600160a01b03851660009081526020819052604081208054859290614f97908490615b75565b9091555050601454614fa99084615b56565b6001600160a01b03861660009081526015602052604081208054909190614fd1908490615b75565b90915550506001600160a01b03841660009081526020819052604081208054849290614ffe908490615a33565b90915550506014546150109083615b56565b6001600160a01b03851660009081526015602052604081208054909190615038908490615a33565b909155506150469050611e3d565b6014556150cf565b60145461505b9084615b56565b6001600160a01b03861660009081526015602052604081208054909190615083908490615b75565b90915550506014546150959083615b56565b6001600160a01b038516600090815260156020526040812080549091906150bd908490615a33565b909155506150cb9050611e3d565b6014555b7f06f9d8302f3e4076b4e7b19e6b521cc8e7d17408d3af07bd17b97847f2bf89cd85856150fc8587615b75565b604080516001600160a01b039485168152939092166020840152908201526060016139e0565b600081815260018301602052604081205461516957508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610e99565b506000610e99565b60008181526001830160205260408120548015615284576000615195600183615b75565b85549091506000906151a990600190615b75565b905081811461522a5760008660000182815481106151d757634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061520857634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b855486908061524957634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610e99565b6000915050610e99565b60606133b1848460008585843b6152e75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d46565b600080866001600160a01b03168587604051615303919061582d565b60006040518083038185875af1925050503d8060008114615340576040519150601f19603f3d011682016040523d82523d6000602084013e615345565b606091505b5091509150615355828286615360565b979650505050505050565b6060831561536f575081610fc1565b82511561537f5782518084602001fd5b8160405162461bcd60e51b8152600401610d4691906158da565b8035600381106153a857600080fd5b919050565b803560ff811681146153a857600080fd5b6000602082840312156153cf578081fd5b8135610fc181615c67565b6000602082840312156153eb578081fd5b8151610fc181615c67565b60008060408385031215615408578081fd5b823561541381615c67565b9150602083013561542381615c67565b809150509250929050565b600080600060608486031215615442578081fd5b833561544d81615c67565b9250602084013561545d81615c67565b929592945050506040919091013590565b60008060408385031215615480578182fd5b823561548b81615c67565b9150602083013561542381615c7c565b6000806000606084860312156154af578283fd5b83356154ba81615c67565b9250602084013561545d81615c7c565b600080604083850312156154dc578182fd5b82356154e781615c67565b946020939093013593505050565b60008060408385031215615507578182fd5b823567ffffffffffffffff8082111561551e578384fd5b818501915085601f830112615531578384fd5b813560208282111561554557615545615c51565b8160051b9250615556818401615a02565b8281528181019085830185870184018b1015615570578889fd5b8896505b8487101561559e578035955061558986615c67565b85835260019690960195918301918301615574565b509997909101359750505050505050565b6000602082840312156155c0578081fd5b8135610fc181615c7c565b6000602082840312156155dc578081fd5b8151610fc181615c7c565b6000602082840312156155f8578081fd5b610fc182615399565b60008060408385031215615613578182fd5b6154e783615399565b600080600060608486031215615630578081fd5b61563984615399565b92506020808501359250604085013567ffffffffffffffff8082111561565d578384fd5b818701915087601f830112615670578384fd5b81358181111561568257615682615c51565b615694601f8201601f19168501615a02565b915080825288848285010111156156a9578485fd5b808484018584013784848284010152508093505050509250925092565b6000806000606084860312156156da578081fd5b6156e384615399565b95602085013595506040909401359392505050565b600060208284031215615709578081fd5b5035919050565b600060208284031215615721578081fd5b5051919050565b60008060006060848603121561573c578081fd5b83359250602084013561574e81615c67565b9150604084013561575e81615c7c565b809150509250925092565b6000806040838503121561577b578182fd5b50508035926020909101359150565b60008060006060848603121561579e578081fd5b8351925060208401519150604084015190509250925092565b600080604083850312156157c9578182fd5b61548b836153ad565b600080604083850312156157e4578182fd5b6154e7836153ad565b600381106157fd576157fd615c3b565b9052565b60008151808452615819816020860160208601615b8c565b601f01601f19169290920160200192915050565b6000825161583f818460208701615b8c565b9190910192915050565b60208101610e9982846157ed565b6040810161586582856157ed565b8260208301529392505050565b61587c81856157ed565b8260208201526060604082015260006158986060830184615801565b95945050505050565b606081016158af82866157ed565b602082019390935260400152919050565b60208101600483106158d4576158d4615c3b565b91905290565b602081526000610fc16020830184615801565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600b908201526a19195858dd1a5d985d195960aa1b604082015260600190565b6020808252602b908201527f4578636c75646564206164647265737365732063616e27742063616c6c20746860408201526a34b990333ab731ba34b7b760a91b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156159e15784516001600160a01b0316835293830193918301916001016159bc565b50506001600160a01b03969096166060850152505050608001529392505050565b604051601f8201601f1916810167ffffffffffffffff81118282101715615a2b57615a2b615c51565b604052919050565b60008219821115615a4657615a46615c25565b500190565b600082615a6657634e487b7160e01b81526012600452602481fd5b500490565b600181815b80851115615aa6578160001904821115615a8c57615a8c615c25565b80851615615a9957918102915b93841c9390800290615a70565b509250929050565b6000610fc18383600082615ac457506001610e99565b81615ad157506000610e99565b8160018114615ae75760028114615af157615b0d565b6001915050610e99565b60ff841115615b0257615b02615c25565b50506001821b610e99565b5060208310610133831016604e8410600b8410161715615b30575081810a610e99565b615b3a8383615a6b565b8060001904821115615b4e57615b4e615c25565b029392505050565b6000816000190483118215151615615b7057615b70615c25565b500290565b600082821015615b8757615b87615c25565b500390565b60005b83811015615ba7578181015183820152602001615b8f565b838111156119955750506000910152565b600081615bc757615bc7615c25565b506000190190565b600181811c90821680615be357607f821691505b60208210811415615c0457634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415615c1e57615c1e615c25565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f7157600080fd5b8015158114610f7157600080fdfea26469706673582212208bab2603ea183036879a0c018f64993a8e3e61b8833b58360d7545346858e15164736f6c63430008040033

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

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