ETH Price: $3,161.37 (+1.62%)

Contract

0x8500864a391a4f1f5F6d454FB008cB06CB6e4182
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Check149684542022-06-15 16:25:36887 days ago1655310336IN
0x8500864a...6CB6e4182
0 ETH0.0024868178.77630464
Approve147553652022-05-11 14:28:01922 days ago1652279281IN
0x8500864a...6CB6e4182
0 ETH0.00719568245.7121479
Approve143519732022-03-09 10:15:54985 days ago1646820954IN
0x8500864a...6CB6e4182
0 ETH0.0012566626.93878638
Approve142766192022-02-25 17:32:26997 days ago1645810346IN
0x8500864a...6CB6e4182
0 ETH0.0032013468.62619625
Approve142765952022-02-25 17:25:54997 days ago1645809954IN
0x8500864a...6CB6e4182
0 ETH0.00467366100.18782911
Approve142765902022-02-25 17:24:07997 days ago1645809847IN
0x8500864a...6CB6e4182
0 ETH0.0037267379.88879436
Initializer142765642022-02-25 17:17:30997 days ago1645809450IN
0x8500864a...6CB6e4182
5 ETH0.277588981.64790276
Recover Eth142765622022-02-25 17:17:03997 days ago1645809423IN
0x8500864a...6CB6e4182
0 ETH0.0023474676.06313134
Transfer142765542022-02-25 17:15:25997 days ago1645809325IN
0x8500864a...6CB6e4182
5 ETH0.0015867875.3636981
0x60806040142765372022-02-25 17:11:18997 days ago1645809078IN
 Create: InuVerseToken
0 ETH0.2773067750.84266576

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
142765642022-02-25 17:17:30997 days ago1645809450
0x8500864a...6CB6e4182
5 ETH
142765622022-02-25 17:17:03997 days ago1645809423
0x8500864a...6CB6e4182
5 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
InuVerseToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

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

/*

InuVerseToken

*/



pragma solidity ^0.8.0;

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

contract InuVerseToken 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 _isBurning;
    
    constructor() ERC20("InuVerseToken", "IVT", 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(0xF865eeea3e1871429a871e4acFc1d4c20553E07F);

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

        exclude(address(_lp));

        _precisionFactor = 4;

        fbl_feeAdd(TransactionState.Buy,    200, "buy fee");
        fbl_feeAdd(TransactionState.Sell,   1200, "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;
        _isBurning = 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)
    {
        _isBurning = 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;
    }
    

}

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

import "./ERC20Rebaseable.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;
        }
    }
}

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 "./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 "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "../interfaces/IERC20.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 : 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(), allowance(sender, _msgSender()) - amount);
        return true;
    }

}

File 7 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 8 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 9 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 10 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 11 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 12 of 19 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.3.2 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";

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

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

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

File 13 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 14 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 15 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 16 of 19 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

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

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

File 17 of 19 : IUniswapV2Pair.sol
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
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
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"
      ]
    }
  },
  "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":[{"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"}]

60806040526002600e553480156200001657600080fd5b50737a250d5630b4cf539739df2c5dacb4c659f2488d6040518060400160405280600d81526020016c24b73aab32b939b2aa37b5b2b760991b8152506040518060400160405280600381526020016212559560ea1b8152506009683635c9adc5dea00000836003908051906020019062000092929190620003ed565b508251620000a8906004906020860190620003ed565b506005805460ff191660ff939093169290921790915560025550620000d69050620000d03390565b620001dd565b600254620000e7906000196200050b565b620000f590600019620004aa565b6013819055336000908152601560205260408120918255601c80546001600160a01b0319166001600160a01b03949094169390931790925580549190556200013f60028262000493565b306000908152601560205260409020556200015c60028262000493565b61dead60005260156020527f7ed1dca03d96f947ab02d66053f47073699eb6287021936c92f54972932767e5556200019362000237565b601455601c54620001b99033906001600160a01b0316620001b360025490565b620002c1565b601c54620001d69030906001600160a01b0316620001b360025490565b5062000538565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6000806017546013546200024c9190620004aa565b90506000601854600254620002629190620004aa565b9050600060025460135462000278919062000493565b9050808310156200028a579392505050565b6013546017541180620002a05750600254601854115b15620002ad579392505050565b620002b9828462000493565b935050505090565b6001600160a01b038316620003295760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084015b60405180910390fd5b6001600160a01b0382166200038c5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b606482015260840162000320565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b828054620003fb90620004ce565b90600052602060002090601f0160209004810192826200041f57600085556200046a565b82601f106200043a57805160ff19168380011785556200046a565b828001600101855582156200046a579182015b828111156200046a5782518255916020019190600101906200044d565b50620004789291506200047c565b5090565b5b808211156200047857600081556001016200047d565b600082620004a557620004a562000522565b500490565b600082821015620004c957634e487b7160e01b81526011600452602481fd5b500390565b600181811c90821680620004e357607f821691505b602082108114156200050557634e487b7160e01b600052602260045260246000fd5b50919050565b6000826200051d576200051d62000522565b500690565b634e487b7160e01b600052601260045260246000fd5b615c4780620005486000396000f3fe6080604052600436106103e85760003560e01c80637504db3e11610208578063c0d7865511610118578063e01af92c116100ab578063ed9cc6831161007a578063ed9cc68314610c61578063eebb854314610c76578063f0f4426014610c96578063f0fa55a914610cb6578063f2fde38b14610cd657600080fd5b8063e01af92c14610be1578063e3ce8bee14610c01578063e7de33d914610c21578063e94497e314610c4157600080fd5b8063cea1c7f4116100e7578063cea1c7f414610b3b578063d62c922914610b5b578063d830db3a14610b7b578063dd62ed3e14610b9b57600080fd5b8063c0d7865514610aae578063c867392814610ace578063cbc7854e14610aee578063cd7a16e014610b0e57600080fd5b80639ce110d71161019b578063b0b65afb1161016a578063b0b65afb14610a19578063b4a0640e14610a39578063b9f5595214610a4e578063ba01a8c614610a6e578063bc3f4f5414610a8e57600080fd5b80639ce110d7146109b1578063a457c2d7146109b9578063a47221b8146109d9578063a9059cbb146109f957600080fd5b806389549285116101d757806389549285146109445780638da5cb5b1461096457806392ad24e31461098757806395d89b411461099c57600080fd5b80637504db3e146108c457806378100163146108e45780637b7ac6761461090457806386ff4be61461092457600080fd5b80633f4ba83a1161030357806361d027b3116102965780636ab1f7b4116102655780636ab1f7b41461083a5780636c6eb9d11461085a5780636de62d0c1461087a57806370a082311461088f578063715018a6146108af57600080fd5b806361d027b3146107ac578063622cd087146107e457806363fcb00c146108045780636625e11b1461081a57600080fd5b80634febf53d116102d25780634febf53d1461072c5780635084fc3b1461074c578063519df2f61461076c5780635d9f9a141461078c57600080fd5b80633f4ba83a146106b757806342966c68146106cc578063451384cc146106ec578063474c5e3c1461070c57600080fd5b806323b872dd1161037b578063313ce5671161034a578063313ce5671461062a578063395093511461064c5780633a9853811461066c5780633e57c77b146106a257600080fd5b806323b872dd146105a757806329a4b31a146105c757806329c70488146105dd5780633040098b146105fd57600080fd5b8063148405bf116103b7578063148405bf1461049457806316114acd146104ca57806318160ddd146104ea5780631e9c2aaa146104ff57600080fd5b806303456cbe146103f457806306fdde0314610416578063095ea7b31461044157806309843efa1461047157600080fd5b366103ef57005b600080fd5b34801561040057600080fd5b5061041461040f36600461567f565b610cf6565b005b34801561042257600080fd5b5061042b610dd6565b6040516104389190615861565b60405180910390f35b34801561044d57600080fd5b5061046161045c366004615451565b610e68565b6040519015158152602001610438565b34801561047d57600080fd5b50610486610e7f565b604051908152602001610438565b3480156104a057600080fd5b506104866104af366004615345565b6001600160a01b031660009081526015602052604090205490565b3480156104d657600080fd5b506104146104e5366004615345565b610e95565b3480156104f657600080fd5b50600254610486565b34801561050b57600080fd5b5061057f61051a366004615345565b6040805160608082018352600080835260208084018290529284018190526001600160a01b039490941684526012825292829020825193840183525460ff80821615158552610100820481161515928501929092526201000090041615159082015290565b6040805182511515815260208084015115159082015291810151151590820152606001610438565b3480156105b357600080fd5b506104616105c23660046153b5565b610f54565b3480156105d357600080fd5b5061048660185481565b3480156105e957600080fd5b506104866105f836600461556e565b610f8c565b34801561060957600080fd5b5061061d61061836600461537d565b610fe7565b6040516104389190615847565b34801561063657600080fd5b5060055460405160ff9091168152602001610438565b34801561065857600080fd5b50610461610667366004615451565b611095565b34801561067857600080fd5b50610486610687366004615345565b6001600160a01b031660009081526019602052604090205490565b3480156106ae57600080fd5b506104866110cc565b3480156106c357600080fd5b5061041461115e565b3480156106d857600080fd5b506104146106e736600461567f565b6111b0565b3480156106f857600080fd5b5061046161070736600461537d565b611408565b34801561071857600080fd5b5061041461072736600461567f565b61144b565b34801561073857600080fd5b50610414610747366004615345565b611531565b34801561075857600080fd5b5061041461076736600461567f565b61170f565b34801561077857600080fd5b5061041461078736600461567f565b6117ed565b34801561079857600080fd5b506104146107a73660046156af565b611886565b3480156107b857600080fd5b506020546107cc906001600160a01b031681565b6040516001600160a01b039091168152602001610438565b3480156107f057600080fd5b506104616107ff366004615345565b61195f565b34801561081057600080fd5b5061048660175481565b34801561082657600080fd5b5061041461083536600461573e565b611983565b34801561084657600080fd5b50610486610855366004615588565b611ae7565b34801561086657600080fd5b5061041461087536600461567f565b611b6c565b34801561088657600080fd5b50610486611e01565b34801561089b57600080fd5b506104866108aa366004615345565b611e80565b3480156108bb57600080fd5b50610414611ed2565b3480156108d057600080fd5b506104146108df366004615345565b611f0e565b3480156108f057600080fd5b506104146108ff3660046153f5565b611f77565b34801561091057600080fd5b5061041461091f366004615345565b612035565b34801561093057600080fd5b5061041461093f36600461567f565b6121f1565b34801561095057600080fd5b5061041461095f36600461567f565b6122c6565b34801561097057600080fd5b5060055461010090046001600160a01b03166107cc565b34801561099357600080fd5b50601654610486565b3480156109a857600080fd5b5061042b612579565b610414612588565b3480156109c557600080fd5b506104616109d4366004615451565b612877565b3480156109e557600080fd5b506104146109f43660046156f0565b612906565b348015610a0557600080fd5b50610461610a14366004615451565b612956565b348015610a2557600080fd5b50610414610a3436600461567f565b612963565b348015610a4557600080fd5b50610486612af8565b348015610a5a57600080fd5b50610414610a69366004615588565b612b03565b348015610a7a57600080fd5b50610414610a89366004615759565b612da0565b348015610a9a57600080fd5b50610414610aa9366004615536565b612e66565b348015610aba57600080fd5b50610414610ac9366004615345565b612f14565b348015610ada57600080fd5b50610414610ae9366004615345565b612f66565b348015610afa57600080fd5b50610414610b0936600461537d565b6130f8565b348015610b1a57600080fd5b50610b2e610b2936600461537d565b613156565b60405161043891906157d0565b348015610b4757600080fd5b50610414610b56366004615422565b6131c6565b348015610b6757600080fd5b50610486610b7636600461564d565b61329e565b348015610b8757600080fd5b50610414610b9636600461547c565b613340565b348015610ba757600080fd5b50610486610bb636600461537d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610bed57600080fd5b50610414610bfc366004615536565b613477565b348015610c0d57600080fd5b50610414610c1c3660046155a3565b6134c5565b348015610c2d57600080fd5b50610414610c3c36600461564d565b6136cc565b348015610c4d57600080fd5b50610486610c5c366004615588565b613976565b348015610c6d57600080fd5b50601354610486565b348015610c8257600080fd5b50610414610c91366004615345565b613a1f565b348015610ca257600080fd5b50610414610cb1366004615345565b613a71565b348015610cc257600080fd5b50610414610cd136600461567f565b613b27565b348015610ce257600080fd5b50610414610cf1366004615345565b613bc0565b6005546001600160a01b03610100909104163314610d2f5760405162461bcd60e51b8152600401610d2690615874565b60405180910390fd5b600b600081905260066020527f85291c2e7881182c13e19eca9b58927ebfdc2c5d04882018eeb33d8241d3571154421080610d765750600081815260066020526040902054155b610d925760405162461bcd60e51b8152600401610d26906158a9565b60275415610dd05760405162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b6044820152606401610d26565b50602755565b606060038054610de590615b56565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1190615b56565b8015610e5e5780601f10610e3357610100808354040283529160200191610e5e565b820191906000526020600020905b815481529060010190602001808311610e4157829003601f168201915b5050505050905090565b6000610e75338484613c5e565b5060015b92915050565b6000600e54600a610e909190615a35565b905090565b6005546001600160a01b03610100909104163314610ec55760405162461bcd60e51b8152600401610d2690615874565b610f51336040516370a0823160e01b81523060048201526001600160a01b038416906370a082319060240160206040518083038186803b158015610f0857600080fd5b505afa158015610f1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f409190615697565b6001600160a01b0384169190613d82565b50565b6000610f61848484613dd4565b50610f81843384610f728833610bb6565b610f7c9190615afc565b613c5e565b5060015b9392505050565b600060116000836002811115610fb257634e487b7160e01b600052602160045260246000fd5b6002811115610fd157634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020549050919050565b6001600160a01b03808316600090815260126020526040808220549284168252812054909160ff620100009182900481169291909104168115801561102a575080155b1561103a57600392505050610e79565b818015611045575080155b1561105557600092505050610e79565b811580156110605750805b1561107057600192505050610e79565b81801561107a5750805b1561108a57600292505050610e79565b600392505050610e79565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610e75918590610f7c9086906159ba565b600060118160015b60028111156110f357634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020546011600060028081111561112657634e487b7160e01b600052602160045260246000fd5b600281111561114557634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002054610e9091906159ba565b6005546001600160a01b0361010090910416331461118e5760405162461bcd60e51b8152600401610d2690615874565b6029805460ff19166001179055601f805460ff60a81b1916600160a81b179055565b600080805260066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8544210806111f55750600081815260066020526040902054155b6112115760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146112415760405162461bcd60e51b8152600401610d2690615874565b602182111561128d5760405162461bcd60e51b815260206004820152601860248201527763616e2774206275726e206d6f7265207468616e2033332560401b6044820152606401610d26565b60275460265461129d91906159ba565b42116112d65760405162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b6044820152606401610d26565b601d546001600160a01b03166000908152601560205260408120549060646112fe8584615add565b61130891906159d2565b601d546001600160a01b0316600090815260156020526040812080549293508392909190611337908490615afc565b9091555050601d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b15801561138557600080fd5b505af1158015611399573d6000803e3d6000fd5b5050601d5460205460405163bc25cf7760e01b81526001600160a01b0391821660048201529116925063bc25cf779150602401600060405180830381600087803b1580156113e657600080fd5b505af11580156113fa573d6000803e3d6000fd5b505042602655505050505050565b6001600160a01b03821660009081526012602052604081205460ff1680610f855750506001600160a01b031660009081526012602052604090205460ff16919050565b6005546001600160a01b0361010090910416331461147b5760405162461bcd60e51b8152600401610d2690615874565b6017600081905260066020527f84f72166cd6dc886f96a4867c4575af2a636c629c04227c9418bfffa7a09a9ed544210806114c25750600081815260066020526040902054155b6114de5760405162461bcd60e51b8152600401610d26906158a9565b8161151f5760405162461bcd60e51b8152602060048201526011602482015270063616e277420646976696465206279203607c1b6044820152606401610d26565b600e82905561152c61418a565b505050565b6005546001600160a01b036101009091041633146115615760405162461bcd60e51b8152600401610d2690615874565b6018600081905260066020527f7ca528807b45d0675df0059116d2304ca9c7f495d9ab623cd80c79f11948b856544210806115a85750600081815260066020526040902054155b6115c45760405162461bcd60e51b8152600401610d26906158a9565b6001600160a01b03821660009081526012602052604090205462010000900460ff16156116335760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610d26565b6001600160a01b0382166000908152601260209081526040808320805462ff00001916620100001790556015909152902054156116f4576014546001600160a01b03831660009081526015602052604090205461169091906159d2565b6001600160a01b0383166000908152602081905260408120829055601880549091906116bd9084906159ba565b90915550506001600160a01b03821660009081526015602052604081205460178054919290916116ee9084906159ba565b90915550505b6116ff601a836142e5565b50611708611e01565b6014555050565b6009600081905260066020527fca4d0c6c94a9477136dd41a99cc19ecbe441c8f6609efe7c6fa65be007a47323544210806117565750600081815260066020526040902054155b6117725760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146117a25760405162461bcd60e51b8152600401610d2690615874565b60648211156117e75760405162461bcd60e51b8152602060048201526011602482015270063616e277420676f206f7665722031303607c1b6044820152606401610d26565b50602455565b6006600081905260208190527f697b2bd7bb2984c4e0dc14c79c987d37818484a62958b9c45a0e8b962f20650f544210806118345750600081815260066020526040902054155b6118505760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146118805760405162461bcd60e51b8152600401610d2690615874565b50602255565b6005600081905260066020527fbfd358e93f18da3ed276c3afdbdba00b8f0b6008a03476a6a86bd6320ee6938b544210806118cd5750600081815260066020526040902054155b6118e95760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146119195760405162461bcd60e51b8152600401610d2690615874565b811561193b57601e54611936906001600160a01b031684866142fa565b611959565b601e54601f54611959916001600160a01b03908116911686866144f0565b50505050565b6001600160a01b031660009081526012602052604090205462010000900460ff1690565b6005546001600160a01b036101009091041633146119b35760405162461bcd60e51b8152600401610d2690615874565b601e600081905260066020527fb6ba906ff52451a7a924e2eaeb8aea3ebee7350a8703e5e417edb25358c7dcc1544210806119fa5750600081815260066020526040902054155b611a165760405162461bcd60e51b8152600401610d26906158a9565b60ff8316611a2d576007805460ff19168315151790555b8260ff1660011415611a4d576007805461ff001916610100841515021790555b8260ff1660021415611a71576007805463ff00000019166301000000841515021790555b8260ff1660031415611a93576007805462ff0000191662010000841515021790555b8260ff1660041415611ab9576007805464ff000000001916640100000000841515021790555b8260ff166005141561152c5760078054831515650100000000000265ff000000000019909116179055505050565b6000600f6000846002811115611b0d57634e487b7160e01b600052602160045260246000fd5b6002811115611b2c57634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000208281548110611b5957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6001600081905260066020527f3e5fec24aa4dc4e5aee2e025e51e1392c72a2500577559fae9665c6d52bd6a3154421080611bb35750600081815260066020526040902054155b611bcf5760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b03610100909104163314611bff5760405162461bcd60e51b8152600401610d2690615874565b6021821115611c4b5760405162461bcd60e51b815260206004820152601860248201527763616e2774206275726e206d6f7265207468616e2033332560401b6044820152606401610d26565b602754602654611c5b91906159ba565b4211611c945760405162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b6044820152606401610d26565b600080805260156020527fa31547ce6245cdb9ecea19cf8c7eb9f5974025bb4075011409251ae855b30aed54606490611cce908590615add565b611cd891906159d2565b600080805260156020527fa31547ce6245cdb9ecea19cf8c7eb9f5974025bb4075011409251ae855b30aed80549293508392909190611d18908490615afc565b925050819055508060136000828254611d319190615afc565b9091555050601d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b158015611d7f57600080fd5b505af1158015611d93573d6000803e3d6000fd5b5050601d5460205460405163bc25cf7760e01b81526001600160a01b0391821660048201529116925063bc25cf779150602401600060405180830381600087803b158015611de057600080fd5b505af1158015611df4573d6000803e3d6000fd5b5050426026555050505050565b600080601754601354611e149190615afc565b90506000601854600254611e289190615afc565b90506000600254601354611e3c91906159d2565b905080831015611e4d579392505050565b6013546017541180611e625750600254601854115b15611e6e579392505050565b611e7882846159d2565b935050505090565b6000611e8b8261195f565b15611eac57506001600160a01b031660009081526020819052604090205490565b6014546001600160a01b038316600090815260156020526040902054610e7991906159d2565b6005546001600160a01b03610100909104163314611f025760405162461bcd60e51b8152600401610d2690615874565b611f0c600061467c565b565b6005546001600160a01b03610100909104163314611f3e5760405162461bcd60e51b8152600401610d2690615874565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015611f73573d6000803e3d6000fd5b5050565b6005546001600160a01b03610100909104163314611fa75760405162461bcd60e51b8152600401610d2690615874565b60206000819052600681527f8962290a7218a9ad62224806fc2c8bf61f46f0c0289c25ddd8bb0f483a96003254421080611fed5750600081815260066020526040902054155b6120095760405162461bcd60e51b8152600401610d26906158a9565b506001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6004600081905260066020527fc5069e24aaadb2addc3e52e868fcf3f4f8acf5a87e24300992fd4540c2a87eed5442108061207c5750600081815260066020526040902054155b6120985760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146120c85760405162461bcd60e51b8152600401610d2690615874565b601c546040805163c45a015560e01b815290516000926001600160a01b03169163c45a0155916004808301926020929190829003018186803b15801561210d57600080fd5b505afa158015612121573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121459190615361565b6040516364e329cb60e11b81523060048201526001600160a01b038581166024830152919091169063c9c6539690604401602060405180830381600087803b15801561219057600080fd5b505af11580156121a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c89190615361565b6001600160a01b03166000908152601260205260409020805461ff001916610100179055505050565b6007600081905260066020527f4ced6d0d36392b04cc5d8761b1327b3bbba6e1089c77f60a9a9ca18e05e4f00e544210806122385750600081815260066020526040902054155b6122545760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146122845760405162461bcd60e51b8152600401610d2690615874565b60648211156122c05760405162461bcd60e51b8152602060048201526008602482015267042e8dededaeac6d60c31b6044820152606401610d26565b50602355565b6002600081905260066020527f8819ef417987f8ae7a81f42cdfb18815282fe989326fbff903d13cf0e03ace295442108061230d5750600081815260066020526040902054155b6123295760405162461bcd60e51b8152600401610d26906158a9565b336000612334611e01565b905061233f8261195f565b1561235c5760405162461bcd60e51b8152600401610d26906158ce565b6001600160a01b03821660009081526015602052604090205461237f8286615add565b106123b75760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b6044820152606401610d26565b6123c18185615add565b6001600160a01b038316600090815260156020526040812080549091906123e9908490615afc565b909155506123f990508185615add565b600080805260156020527fa31547ce6245cdb9ecea19cf8c7eb9f5974025bb4075011409251ae855b30aed80549091906124349084906159ba565b9091555050600080805260208190527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb580548692906124749084906159ba565b9091555050601d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b1580156124c257600080fd5b505af11580156124d6573d6000803e3d6000fd5b5050601d5460205460405163bc25cf7760e01b81526001600160a01b0391821660048201529116925063bc25cf779150602401600060405180830381600087803b15801561252357600080fd5b505af1158015612537573d6000803e3d6000fd5b5050604051868152600092503091507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050565b606060048054610de590615b56565b6005546001600160a01b036101009091041633146125b85760405162461bcd60e51b8152600401610d2690615874565b61264730601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561260a57600080fd5b505afa15801561261e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126429190615361565b6146d6565b601c546001600160a01b031663f305d719343061266381611e80565b60008061267e6005546001600160a01b036101009091041690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b1580156126e157600080fd5b505af11580156126f5573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061271a9190615711565b5050602080546001600160a01b03191673f865eeea3e1871429a871e4acfc1d4c20553e07f178155601d80546001600160a01b039081166000908152601284526040808220805461ff001916610100179055308252808220805460ff19908116600190811790925595548416835281832080548716821790553383529120805490941617909255546127ad925016611531565b6004600e819055506127e1600060c8604051806040016040528060078152602001666275792066656560c81b8152506134c5565b61280f60016104b06040518060400160405280600881526020016773656c6c2066656560c01b8152506134c5565b600a60235560016022556064602581905560025461282d91906159d2565b6008556001600955600f600a55600780546501010101010165ffffffffffff199091161790556029805461ffff1916610101179055601f805460ff60a81b1916600160a81b179055565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156128f95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610d26565b610f813385858403613c5e565b6005546001600160a01b036101009091041633146129365760405162461bcd60e51b8152600401610d2690615874565b61294042826159ba565b6000928352600660205260409092209190915550565b6000610f81338484613dd4565b6003600081905260066020527f75f96ab15d697e93042dc45b5c896c4b27e89bb6eaf39475c5c371cb2513f7d2544210806129aa5750600081815260066020526040902054155b6129c65760405162461bcd60e51b8152600401610d26906158a9565b3360006129d1611e01565b90506129dc8261195f565b156129f95760405162461bcd60e51b8152600401610d26906158ce565b6001600160a01b038216600090815260156020526040902054612a1c8286615add565b10612a545760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b6044820152606401610d26565b612a5e8185615add565b6001600160a01b03831660009081526015602052604081208054909190612a86908490615afc565b90915550612a9690508185615add565b60136000828254612aa79190615afc565b90915550506001600160a01b03821660009081526019602052604081208054869290612ad49084906159ba565b925050819055508360166000828254612aed91906159ba565b909155505050505050565b6000601181806110d4565b6005546001600160a01b03610100909104163314612b335760405162461bcd60e51b8152600401610d2690615874565b6016600081905260066020527f7d35cc2b0520994422695eb24e3bf4f74e9cba2704cae72ecd9ec54409a56afb54421080612b7a5750600081815260066020526040902054155b612b965760405162461bcd60e51b8152600401610d26906158a9565b6000600f6000856002811115612bbc57634e487b7160e01b600052602160045260246000fd5b6002811115612bdb57634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000208381548110612c0857634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060116000866002811115612c3a57634e487b7160e01b600052602160045260246000fd5b6002811115612c5957634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000206000828254612c769190615afc565b90915550600f90506000856002811115612ca057634e487b7160e01b600052602160045260246000fd5b6002811115612cbf57634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000208381548110612cec57634e487b7160e01b600052603260045260246000fd5b906000526020600020016000905560106000856002811115612d1e57634e487b7160e01b600052602160045260246000fd5b6002811115612d3d57634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000206000815480929190612d5c90615b3f565b91905055507f67537524761f58423e2e5ae21cb620aaff13d733d9d04951bd14a0711910a0338484604051612d929291906157de565b60405180910390a150505050565b6005546001600160a01b03610100909104163314612dd05760405162461bcd60e51b8152600401610d2690615874565b601f600081905260066020527fe0f48684da2738819afc60049d8a627ffa250d5e1c7f8a7fedb1ce999915baf654421080612e175750600081815260066020526040902054155b612e335760405162461bcd60e51b8152600401610d26906158a9565b60ff8316612e415760088290555b8260ff1660011415612e535760098290555b8260ff166002141561152c5750600a5550565b6005546001600160a01b03610100909104163314612e965760405162461bcd60e51b8152600401610d2690615874565b600c600081905260066020527f0b94fa1b86997cc1f1148bfbe25b674e8cefc7cc6f976aa8d7c7966bd4cca34754421080612edd5750600081815260066020526040902054155b612ef95760405162461bcd60e51b8152600401610d26906158a9565b50602980549115156101000261ff0019909216919091179055565b6005546001600160a01b03610100909104163314612f445760405162461bcd60e51b8152600401610d2690615874565b601c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03610100909104163314612f965760405162461bcd60e51b8152600401610d2690615874565b6019600081905260066020527ff377e614ebf060ffd3a592667b14b65ef761b258b68bf422a9c7bfae70ee46e254421080612fdd5750600081815260066020526040902054155b612ff95760405162461bcd60e51b8152600401610d26906158a9565b6001600160a01b03821660009081526012602052604090205462010000900460ff16151560011461306c5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610d26565b6001600160a01b0382166000908152601260209081526040808320805462ff0000191690559082905281205460188054919290916130ab908490615afc565b90915550506001600160a01b038216600090815260208181526040808320839055601590915281205460178054919290916130e7908490615afc565b909155506116ff9050601a83614805565b6005546001600160a01b036101009091041633146131285760405162461bcd60e51b8152600401610d2690615874565b601e80546001600160a01b039384166001600160a01b031991821617909155601f8054929093169116179055565b6001600160a01b03821660009081526012602052604081205460ff6101009091041615156001141561318a57506000610e79565b6001600160a01b03821660009081526012602052604090205460ff610100909104161515600114156131be57506001610e79565b506002610e79565b6005546001600160a01b036101009091041633146131f65760405162461bcd60e51b8152600401610d2690615874565b806001141561322a576001600160a01b0383166000908152601260205260409020805483151560ff19909116179055505050565b8060021415613263576001600160a01b038316600090815260126020526040902080548315156101000261ff0019909116179055505050565b806003141561152c576001600160a01b03831660009081526012602052604090208054831515620100000262ff000019909116179055505050565b60006132a8610e7f565b600f60008660028111156132cc57634e487b7160e01b600052602160045260246000fd5b60028111156132eb57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020848154811061331857634e487b7160e01b600052603260045260246000fd5b90600052602060002001548361332e9190615add565b61333891906159d2565b949350505050565b600d600081905260066020527f248457bacb20e239ae314d8db91c0f270e453c28ee138c84f97aea6cfcf9a499544210806133875750600081815260066020526040902054155b6133a35760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146133d35760405162461bcd60e51b8152600401610d2690615874565b60008351836133e291906159d2565b905060005b8451811015613470576014546133fd9083615add565b6015600087848151811061342157634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600082825461345891906159ba565b9091555081905061346881615b91565b9150506133e7565b5050505050565b6005546001600160a01b036101009091041633146134a75760405162461bcd60e51b8152600401610d2690615874565b601f8054911515600160a81b0260ff60a81b19909216919091179055565b6005546001600160a01b036101009091041633146134f55760405162461bcd60e51b8152600401610d2690615874565b6014600081905260066020527f098d468efb4f874d617491296c759dc9ae46efb517fe36bcf30699ad3f714c0f5442108061353c5750600081815260066020526040902054155b6135585760405162461bcd60e51b8152600401610d26906158a9565b600f600085600281111561357c57634e487b7160e01b600052602160045260246000fd5b600281111561359b57634e487b7160e01b600052602160045260246000fd5b81526020808201929092526040016000908120805460018101825590825291812090910184905583906011908660028111156135e757634e487b7160e01b600052602160045260246000fd5b600281111561360657634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600082825461362391906159ba565b9091555060109050600085600281111561364d57634e487b7160e01b600052602160045260246000fd5b600281111561366c57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600081548092919061368b90615b91565b919050555061369861418a565b507f42d7180fdce9c41efa3db6f3ffc7c3c96a3e68730b9c63fa1f0b672e34a10ceb848484604051612d92939291906157f9565b6005546001600160a01b036101009091041633146136fc5760405162461bcd60e51b8152600401610d2690615874565b6015600081905260066020527feda6feebfb4ffb7de2d0dc45a13b92dc953c2ed6ee96fa7fe8179e7c4266747f544210806137435750600081815260066020526040902054155b61375f5760405162461bcd60e51b8152600401610d26906158a9565b82600f600086600281111561378457634e487b7160e01b600052602160045260246000fd5b60028111156137a357634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002083815481106137d057634e487b7160e01b600052603260045260246000fd5b6000918252602082200191909155805b600f600087600281111561380457634e487b7160e01b600052602160045260246000fd5b600281111561382357634e487b7160e01b600052602160045260246000fd5b81526020810191909152604001600020548110156138d557600f600087600281111561385f57634e487b7160e01b600052602160045260246000fd5b600281111561387e57634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002081815481106138ab57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154826138c191906159ba565b9150806138cd81615b91565b9150506137e0565b5080601160008760028111156138fb57634e487b7160e01b600052602160045260246000fd5b600281111561391a57634e487b7160e01b600052602160045260246000fd5b815260208101919091526040016000205561393361418a565b507f2df9ab6e42f0be5e726cbdc55c72a8d2ff8e9347abbea531966363f9d5e1049485858560405161396793929190615828565b60405180910390a15050505050565b6000808084600281111561399a57634e487b7160e01b600052602160045260246000fd5b14156139cb576139a8610e7f565b6139b0612af8565b6139ba9085615add565b6139c491906159d2565b9050610f85565b60018460028111156139ed57634e487b7160e01b600052602160045260246000fd5b1415613a03576139fb610e7f565b6139b06110cc565b613a0b610e7f565b613a156002610f8c565b61332e9085615add565b6005546001600160a01b03610100909104163314613a4f5760405162461bcd60e51b8152600401610d2690615874565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6008600081905260066020527fb8d683c9d414f481826f3e7fe14b3ac6ae8c73450778287390c4bb8cb9f2e80b54421080613ab85750600081815260066020526040902054155b613ad45760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b03610100909104163314613b045760405162461bcd60e51b8152600401610d2690615874565b50602080546001600160a01b0319166001600160a01b0392909216919091179055565b600a600081905260066020527f4da38fc8e544afc56a4c2a17752b8ddb67d8e23ac4583c9029d2e2d1dbe6c98854421080613b6e5750600081815260066020526040902054155b613b8a5760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b03610100909104163314613bba5760405162461bcd60e51b8152600401610d2690615874565b50602555565b6005546001600160a01b03610100909104163314613bf05760405162461bcd60e51b8152600401610d2690615874565b6001600160a01b038116613c555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d26565b610f518161467c565b6001600160a01b038316613cc05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d26565b6001600160a01b038216613d215760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d26565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261152c90849061481a565b60006001600160a01b038416613e3a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610d26565b6001600160a01b038316613e9c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610d26565b60295460009081908190819060ff16156140ef57600754640100000000900460ff1615613ed557613ecc886148ec565b613ed5876148ec565b613edf8888613156565b60075490915065010000000000900460ff168015613f2157506001600160a01b03871660009081526012602052604090205460ff610100909104161515600114155b8015613f4c57506000816002811115613f4a57634e487b7160e01b600052602160045260246000fd5b145b156140005760075460ff1615613f6557613f6586614949565b6007546301000000900460ff1615613f8e57601d54613f8e906001600160a01b03168989614986565b600754610100900460ff1615613fa757613fa787614b10565b60075462010000900460ff1615613fcd57613fcd613fc488611e80565b60025488614b90565b60196028541015614000576001600160a01b0387166000908152600d6020526028805491613ffa83615b91565b91905055505b61400a8888611408565b61401d576140188187613976565b614020565b60005b935061402b84614bef565b601454919450925061403d9084615add565b306000908152601560205260408120805490919061405c9084906159ba565b909155506001905081600281111561408457634e487b7160e01b600052602160045260246000fd5b14156140ef57602254602154116140a8576021546140a39060016159ba565b6140ab565b60005b602155601f54600160a81b900460ff1680156140d15750601f54600160a01b900460ff16155b80156140e1575060215460225410155b156140ef576140ef86614c24565b60006140fb8588615afc565b905061410989898984614cc6565b6014546141169084615add565b601360008282546141279190615afc565b92505081905550876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161417391815260200190565b60405180910390a350600198975050505050505050565b600061823561419d6001620186a0613976565b11156141fd5760405162461bcd60e51b815260206004820152602960248201527f455243323046656561626c653a2053656c6c2048617264636170206f6620333360448201526809481c995858da195960ba1b6064820152608401610d26565b61823561420e6000620186a0613976565b111561426e5760405162461bcd60e51b815260206004820152602960248201527f455243323046656561626c653a20427579202048617264636170206f6620333360448201526809481c995858da195960ba1b6064820152608401610d26565b61823561427f6002620186a0613976565b11156142df5760405162461bcd60e51b815260206004820152602960248201527f455243323046656561626c653a204e6f726d2048617264636170206f6620333360448201526809481c995858da195960ba1b6064820152608401610d26565b50600190565b6000610f85836001600160a01b0384166150a9565b604080516002808252606082018352600092602083019080368337019050509050838160008151811061433d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561439157600080fd5b505afa1580156143a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143c99190615361565b816001815181106143ea57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601c5460405163095ea7b360e01b81529082166004820152602481018490529085169063095ea7b390604401602060405180830381600087803b15801561444657600080fd5b505af115801561445a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061447e9190615552565b50601c5460405163791ac94760e01b81526001600160a01b039091169063791ac947906144b8908590600090869089904290600401615919565b600060405180830381600087803b1580156144d257600080fd5b505af11580156144e6573d6000803e3d6000fd5b5050505050505050565b604080516002808252606082018352600092602083019080368337019050509050848160008151811061453357634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b031681525050838160018151811061457557634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601c5460405163095ea7b360e01b81529082166004820152602481018590529086169063095ea7b390604401602060405180830381600087803b1580156145d157600080fd5b505af11580156145e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146099190615552565b50601c54604051635c11d79560e01b81526001600160a01b0390911690635c11d79590614643908690600090869088904290600401615919565b600060405180830381600087803b15801561465d57600080fd5b505af1158015614671573d6000803e3d6000fd5b505050505050505050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601c60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561472457600080fd5b505afa158015614738573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061475c9190615361565b6040516364e329cb60e11b81526001600160a01b0384811660048301528381166024830152919091169063c9c6539690604401602060405180830381600087803b1580156147a957600080fd5b505af11580156147bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147e19190615361565b601d80546001600160a01b0319166001600160a01b03929092169190911790555050565b6000610f85836001600160a01b0384166150f8565b600061486f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166152159092919063ffffffff16565b80519091501561152c578080602001905181019061488d9190615552565b61152c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d26565b6001600160a01b0381166000908152600d602052604090205460ff16151560011415610f515760405162461bcd60e51b815260206004820152600c60248201526b1c1bdcdcda589b1948189bdd60a21b6044820152606401610d26565b600854811115610f515760405162461bcd60e51b81526020600482015260086024820152670deeccae440dac2f60c31b6044820152606401610d26565b6000836001600160a01b0316826001600160a01b03161415614a01576001600160a01b0383166000908152600c60205260409020544314806149d65750326000908152600c602052604090205443145b6001600160a01b0384166000908152600c602052604080822043908190553283529120559050614a76565b836001600160a01b0316836001600160a01b03161415614a76576001600160a01b0382166000908152600c6020526040902054431480614a4f5750326000908152600c602052604090205443145b6001600160a01b0383166000908152600c6020526040808220439081905532835291205590505b80156119595760405162461bcd60e51b815260206004820152605c60248201527f4d756c7469706c652074726164657320696e2073616d6520626c6f636b20667260448201527f6f6d2073616d6520736f7572636520617265206e6f7420616c6c6f776564206460648201527f7572696e672074726164696e6720737461727420636f6f6c646f776e00000000608482015260a401610d26565b600a546001600160a01b0382166000908152600b6020526040902054614b3691906159ba565b421015614b745760405162461bcd60e51b815260206004820152600c60248201526b313abc9031b7b7b63237bbb760a11b6044820152606401610d26565b6001600160a01b03166000908152600b60205260409020429055565b606460095483614ba09190615add565b614baa91906159d2565b614bb482856159ba565b111561152c5760405162461bcd60e51b815260206004820152600a6024820152691bdd995c881b1a5b5a5d60b21b6044820152606401610d26565b600080614bfa610e7f565b602454614c079085615add565b614c1191906159d2565b9050614c1d8184615afc565b9150915091565b601f805460ff60a01b1916600160a01b179055602354600090606490614c4930611e80565b614c539190615add565b614c5d91906159d2565b90506000606460255484614c719190615add565b614c7b91906159d2565b90506000828211614c8c5781614c8e565b825b90508015614cae57602054614cae9030906001600160a01b0316836142fa565b505060006021555050601f805460ff60a01b19169055565b6000614cd28585610fe7565b90506001816003811115614cf657634e487b7160e01b600052602160045260246000fd5b1415614deb57601454614d099084615add565b6001600160a01b03861660009081526015602052604081208054909190614d31908490615afc565b925050819055508160186000828254614d4a91906159ba565b9091555050601454614d5c9083615add565b60176000828254614d6d91906159ba565b90915550614d7b9050611e01565b6014556001600160a01b03841660009081526020819052604081208054849290614da69084906159ba565b9091555050601454614db89083615add565b6001600160a01b03851660009081526015602052604081208054909190614de09084906159ba565b909155506150569050565b6000816003811115614e0d57634e487b7160e01b600052602160045260246000fd5b1415614ece576001600160a01b03851660009081526020819052604081208054859290614e3b908490615afc565b9091555050601454614e4d9084615add565b6001600160a01b03861660009081526015602052604081208054909190614e75908490615afc565b925050819055508260186000828254614e8e9190615afc565b9091555050601454614ea09084615add565b60176000828254614eb19190615afc565b90915550614ebf9050611e01565b6014819055614db89083615add565b6002816003811115614ef057634e487b7160e01b600052602160045260246000fd5b1415614fd5576001600160a01b03851660009081526020819052604081208054859290614f1e908490615afc565b9091555050601454614f309084615add565b6001600160a01b03861660009081526015602052604081208054909190614f58908490615afc565b90915550506001600160a01b03841660009081526020819052604081208054849290614f859084906159ba565b9091555050601454614f979083615add565b6001600160a01b03851660009081526015602052604081208054909190614fbf9084906159ba565b90915550614fcd9050611e01565b601455615056565b601454614fe29084615add565b6001600160a01b0386166000908152601560205260408120805490919061500a908490615afc565b909155505060145461501c9083615add565b6001600160a01b038516600090815260156020526040812080549091906150449084906159ba565b909155506150529050611e01565b6014555b7f06f9d8302f3e4076b4e7b19e6b521cc8e7d17408d3af07bd17b97847f2bf89cd85856150838587615afc565b604080516001600160a01b03948516815293909216602084015290820152606001613967565b60008181526001830160205260408120546150f057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610e79565b506000610e79565b6000818152600183016020526040812054801561520b57600061511c600183615afc565b855490915060009061513090600190615afc565b90508181146151b157600086600001828154811061515e57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061518f57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b85548690806151d057634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610e79565b6000915050610e79565b6060613338848460008585843b61526e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d26565b600080866001600160a01b0316858760405161528a91906157b4565b60006040518083038185875af1925050503d80600081146152c7576040519150601f19603f3d011682016040523d82523d6000602084013e6152cc565b606091505b50915091506152dc8282866152e7565b979650505050505050565b606083156152f6575081610f85565b8251156153065782518084602001fd5b8160405162461bcd60e51b8152600401610d269190615861565b80356003811061532f57600080fd5b919050565b803560ff8116811461532f57600080fd5b600060208284031215615356578081fd5b8135610f8581615bee565b600060208284031215615372578081fd5b8151610f8581615bee565b6000806040838503121561538f578081fd5b823561539a81615bee565b915060208301356153aa81615bee565b809150509250929050565b6000806000606084860312156153c9578081fd5b83356153d481615bee565b925060208401356153e481615bee565b929592945050506040919091013590565b60008060408385031215615407578182fd5b823561541281615bee565b915060208301356153aa81615c03565b600080600060608486031215615436578283fd5b833561544181615bee565b925060208401356153e481615c03565b60008060408385031215615463578182fd5b823561546e81615bee565b946020939093013593505050565b6000806040838503121561548e578182fd5b823567ffffffffffffffff808211156154a5578384fd5b818501915085601f8301126154b8578384fd5b81356020828211156154cc576154cc615bd8565b8160051b92506154dd818401615989565b8281528181019085830185870184018b10156154f7578889fd5b8896505b84871015615525578035955061551086615bee565b858352600196909601959183019183016154fb565b509997909101359750505050505050565b600060208284031215615547578081fd5b8135610f8581615c03565b600060208284031215615563578081fd5b8151610f8581615c03565b60006020828403121561557f578081fd5b610f8582615320565b6000806040838503121561559a578182fd5b61546e83615320565b6000806000606084860312156155b7578081fd5b6155c084615320565b92506020808501359250604085013567ffffffffffffffff808211156155e4578384fd5b818701915087601f8301126155f7578384fd5b81358181111561560957615609615bd8565b61561b601f8201601f19168501615989565b91508082528884828501011115615630578485fd5b808484018584013784848284010152508093505050509250925092565b600080600060608486031215615661578081fd5b61566a84615320565b95602085013595506040909401359392505050565b600060208284031215615690578081fd5b5035919050565b6000602082840312156156a8578081fd5b5051919050565b6000806000606084860312156156c3578081fd5b8335925060208401356156d581615bee565b915060408401356156e581615c03565b809150509250925092565b60008060408385031215615702578182fd5b50508035926020909101359150565b600080600060608486031215615725578081fd5b8351925060208401519150604084015190509250925092565b60008060408385031215615750578182fd5b61541283615334565b6000806040838503121561576b578182fd5b61546e83615334565b6003811061578457615784615bc2565b9052565b600081518084526157a0816020860160208601615b13565b601f01601f19169290920160200192915050565b600082516157c6818460208701615b13565b9190910192915050565b60208101610e798284615774565b604081016157ec8285615774565b8260208301529392505050565b6158038185615774565b82602082015260606040820152600061581f6060830184615788565b95945050505050565b606081016158368286615774565b602082019390935260400152919050565b602081016004831061585b5761585b615bc2565b91905290565b602081526000610f856020830184615788565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600b908201526a19195858dd1a5d985d195960aa1b604082015260600190565b6020808252602b908201527f4578636c75646564206164647265737365732063616e27742063616c6c20746860408201526a34b990333ab731ba34b7b760a91b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156159685784516001600160a01b031683529383019391830191600101615943565b50506001600160a01b03969096166060850152505050608001529392505050565b604051601f8201601f1916810167ffffffffffffffff811182821017156159b2576159b2615bd8565b604052919050565b600082198211156159cd576159cd615bac565b500190565b6000826159ed57634e487b7160e01b81526012600452602481fd5b500490565b600181815b80851115615a2d578160001904821115615a1357615a13615bac565b80851615615a2057918102915b93841c93908002906159f7565b509250929050565b6000610f858383600082615a4b57506001610e79565b81615a5857506000610e79565b8160018114615a6e5760028114615a7857615a94565b6001915050610e79565b60ff841115615a8957615a89615bac565b50506001821b610e79565b5060208310610133831016604e8410600b8410161715615ab7575081810a610e79565b615ac183836159f2565b8060001904821115615ad557615ad5615bac565b029392505050565b6000816000190483118215151615615af757615af7615bac565b500290565b600082821015615b0e57615b0e615bac565b500390565b60005b83811015615b2e578181015183820152602001615b16565b838111156119595750506000910152565b600081615b4e57615b4e615bac565b506000190190565b600181811c90821680615b6a57607f821691505b60208210811415615b8b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415615ba557615ba5615bac565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f5157600080fd5b8015158114610f5157600080fdfea2646970667358221220639b77e82c326a069fc5faf2589c290399250d78f6dc502b7ea1a5559723f13964736f6c63430008040033

Deployed Bytecode

0x6080604052600436106103e85760003560e01c80637504db3e11610208578063c0d7865511610118578063e01af92c116100ab578063ed9cc6831161007a578063ed9cc68314610c61578063eebb854314610c76578063f0f4426014610c96578063f0fa55a914610cb6578063f2fde38b14610cd657600080fd5b8063e01af92c14610be1578063e3ce8bee14610c01578063e7de33d914610c21578063e94497e314610c4157600080fd5b8063cea1c7f4116100e7578063cea1c7f414610b3b578063d62c922914610b5b578063d830db3a14610b7b578063dd62ed3e14610b9b57600080fd5b8063c0d7865514610aae578063c867392814610ace578063cbc7854e14610aee578063cd7a16e014610b0e57600080fd5b80639ce110d71161019b578063b0b65afb1161016a578063b0b65afb14610a19578063b4a0640e14610a39578063b9f5595214610a4e578063ba01a8c614610a6e578063bc3f4f5414610a8e57600080fd5b80639ce110d7146109b1578063a457c2d7146109b9578063a47221b8146109d9578063a9059cbb146109f957600080fd5b806389549285116101d757806389549285146109445780638da5cb5b1461096457806392ad24e31461098757806395d89b411461099c57600080fd5b80637504db3e146108c457806378100163146108e45780637b7ac6761461090457806386ff4be61461092457600080fd5b80633f4ba83a1161030357806361d027b3116102965780636ab1f7b4116102655780636ab1f7b41461083a5780636c6eb9d11461085a5780636de62d0c1461087a57806370a082311461088f578063715018a6146108af57600080fd5b806361d027b3146107ac578063622cd087146107e457806363fcb00c146108045780636625e11b1461081a57600080fd5b80634febf53d116102d25780634febf53d1461072c5780635084fc3b1461074c578063519df2f61461076c5780635d9f9a141461078c57600080fd5b80633f4ba83a146106b757806342966c68146106cc578063451384cc146106ec578063474c5e3c1461070c57600080fd5b806323b872dd1161037b578063313ce5671161034a578063313ce5671461062a578063395093511461064c5780633a9853811461066c5780633e57c77b146106a257600080fd5b806323b872dd146105a757806329a4b31a146105c757806329c70488146105dd5780633040098b146105fd57600080fd5b8063148405bf116103b7578063148405bf1461049457806316114acd146104ca57806318160ddd146104ea5780631e9c2aaa146104ff57600080fd5b806303456cbe146103f457806306fdde0314610416578063095ea7b31461044157806309843efa1461047157600080fd5b366103ef57005b600080fd5b34801561040057600080fd5b5061041461040f36600461567f565b610cf6565b005b34801561042257600080fd5b5061042b610dd6565b6040516104389190615861565b60405180910390f35b34801561044d57600080fd5b5061046161045c366004615451565b610e68565b6040519015158152602001610438565b34801561047d57600080fd5b50610486610e7f565b604051908152602001610438565b3480156104a057600080fd5b506104866104af366004615345565b6001600160a01b031660009081526015602052604090205490565b3480156104d657600080fd5b506104146104e5366004615345565b610e95565b3480156104f657600080fd5b50600254610486565b34801561050b57600080fd5b5061057f61051a366004615345565b6040805160608082018352600080835260208084018290529284018190526001600160a01b039490941684526012825292829020825193840183525460ff80821615158552610100820481161515928501929092526201000090041615159082015290565b6040805182511515815260208084015115159082015291810151151590820152606001610438565b3480156105b357600080fd5b506104616105c23660046153b5565b610f54565b3480156105d357600080fd5b5061048660185481565b3480156105e957600080fd5b506104866105f836600461556e565b610f8c565b34801561060957600080fd5b5061061d61061836600461537d565b610fe7565b6040516104389190615847565b34801561063657600080fd5b5060055460405160ff9091168152602001610438565b34801561065857600080fd5b50610461610667366004615451565b611095565b34801561067857600080fd5b50610486610687366004615345565b6001600160a01b031660009081526019602052604090205490565b3480156106ae57600080fd5b506104866110cc565b3480156106c357600080fd5b5061041461115e565b3480156106d857600080fd5b506104146106e736600461567f565b6111b0565b3480156106f857600080fd5b5061046161070736600461537d565b611408565b34801561071857600080fd5b5061041461072736600461567f565b61144b565b34801561073857600080fd5b50610414610747366004615345565b611531565b34801561075857600080fd5b5061041461076736600461567f565b61170f565b34801561077857600080fd5b5061041461078736600461567f565b6117ed565b34801561079857600080fd5b506104146107a73660046156af565b611886565b3480156107b857600080fd5b506020546107cc906001600160a01b031681565b6040516001600160a01b039091168152602001610438565b3480156107f057600080fd5b506104616107ff366004615345565b61195f565b34801561081057600080fd5b5061048660175481565b34801561082657600080fd5b5061041461083536600461573e565b611983565b34801561084657600080fd5b50610486610855366004615588565b611ae7565b34801561086657600080fd5b5061041461087536600461567f565b611b6c565b34801561088657600080fd5b50610486611e01565b34801561089b57600080fd5b506104866108aa366004615345565b611e80565b3480156108bb57600080fd5b50610414611ed2565b3480156108d057600080fd5b506104146108df366004615345565b611f0e565b3480156108f057600080fd5b506104146108ff3660046153f5565b611f77565b34801561091057600080fd5b5061041461091f366004615345565b612035565b34801561093057600080fd5b5061041461093f36600461567f565b6121f1565b34801561095057600080fd5b5061041461095f36600461567f565b6122c6565b34801561097057600080fd5b5060055461010090046001600160a01b03166107cc565b34801561099357600080fd5b50601654610486565b3480156109a857600080fd5b5061042b612579565b610414612588565b3480156109c557600080fd5b506104616109d4366004615451565b612877565b3480156109e557600080fd5b506104146109f43660046156f0565b612906565b348015610a0557600080fd5b50610461610a14366004615451565b612956565b348015610a2557600080fd5b50610414610a3436600461567f565b612963565b348015610a4557600080fd5b50610486612af8565b348015610a5a57600080fd5b50610414610a69366004615588565b612b03565b348015610a7a57600080fd5b50610414610a89366004615759565b612da0565b348015610a9a57600080fd5b50610414610aa9366004615536565b612e66565b348015610aba57600080fd5b50610414610ac9366004615345565b612f14565b348015610ada57600080fd5b50610414610ae9366004615345565b612f66565b348015610afa57600080fd5b50610414610b0936600461537d565b6130f8565b348015610b1a57600080fd5b50610b2e610b2936600461537d565b613156565b60405161043891906157d0565b348015610b4757600080fd5b50610414610b56366004615422565b6131c6565b348015610b6757600080fd5b50610486610b7636600461564d565b61329e565b348015610b8757600080fd5b50610414610b9636600461547c565b613340565b348015610ba757600080fd5b50610486610bb636600461537d565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610bed57600080fd5b50610414610bfc366004615536565b613477565b348015610c0d57600080fd5b50610414610c1c3660046155a3565b6134c5565b348015610c2d57600080fd5b50610414610c3c36600461564d565b6136cc565b348015610c4d57600080fd5b50610486610c5c366004615588565b613976565b348015610c6d57600080fd5b50601354610486565b348015610c8257600080fd5b50610414610c91366004615345565b613a1f565b348015610ca257600080fd5b50610414610cb1366004615345565b613a71565b348015610cc257600080fd5b50610414610cd136600461567f565b613b27565b348015610ce257600080fd5b50610414610cf1366004615345565b613bc0565b6005546001600160a01b03610100909104163314610d2f5760405162461bcd60e51b8152600401610d2690615874565b60405180910390fd5b600b600081905260066020527f85291c2e7881182c13e19eca9b58927ebfdc2c5d04882018eeb33d8241d3571154421080610d765750600081815260066020526040902054155b610d925760405162461bcd60e51b8152600401610d26906158a9565b60275415610dd05760405162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b6044820152606401610d26565b50602755565b606060038054610de590615b56565b80601f0160208091040260200160405190810160405280929190818152602001828054610e1190615b56565b8015610e5e5780601f10610e3357610100808354040283529160200191610e5e565b820191906000526020600020905b815481529060010190602001808311610e4157829003601f168201915b5050505050905090565b6000610e75338484613c5e565b5060015b92915050565b6000600e54600a610e909190615a35565b905090565b6005546001600160a01b03610100909104163314610ec55760405162461bcd60e51b8152600401610d2690615874565b610f51336040516370a0823160e01b81523060048201526001600160a01b038416906370a082319060240160206040518083038186803b158015610f0857600080fd5b505afa158015610f1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f409190615697565b6001600160a01b0384169190613d82565b50565b6000610f61848484613dd4565b50610f81843384610f728833610bb6565b610f7c9190615afc565b613c5e565b5060015b9392505050565b600060116000836002811115610fb257634e487b7160e01b600052602160045260246000fd5b6002811115610fd157634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020549050919050565b6001600160a01b03808316600090815260126020526040808220549284168252812054909160ff620100009182900481169291909104168115801561102a575080155b1561103a57600392505050610e79565b818015611045575080155b1561105557600092505050610e79565b811580156110605750805b1561107057600192505050610e79565b81801561107a5750805b1561108a57600292505050610e79565b600392505050610e79565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610e75918590610f7c9086906159ba565b600060118160015b60028111156110f357634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020546011600060028081111561112657634e487b7160e01b600052602160045260246000fd5b600281111561114557634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002054610e9091906159ba565b6005546001600160a01b0361010090910416331461118e5760405162461bcd60e51b8152600401610d2690615874565b6029805460ff19166001179055601f805460ff60a81b1916600160a81b179055565b600080805260066020527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f8544210806111f55750600081815260066020526040902054155b6112115760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146112415760405162461bcd60e51b8152600401610d2690615874565b602182111561128d5760405162461bcd60e51b815260206004820152601860248201527763616e2774206275726e206d6f7265207468616e2033332560401b6044820152606401610d26565b60275460265461129d91906159ba565b42116112d65760405162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b6044820152606401610d26565b601d546001600160a01b03166000908152601560205260408120549060646112fe8584615add565b61130891906159d2565b601d546001600160a01b0316600090815260156020526040812080549293508392909190611337908490615afc565b9091555050601d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b15801561138557600080fd5b505af1158015611399573d6000803e3d6000fd5b5050601d5460205460405163bc25cf7760e01b81526001600160a01b0391821660048201529116925063bc25cf779150602401600060405180830381600087803b1580156113e657600080fd5b505af11580156113fa573d6000803e3d6000fd5b505042602655505050505050565b6001600160a01b03821660009081526012602052604081205460ff1680610f855750506001600160a01b031660009081526012602052604090205460ff16919050565b6005546001600160a01b0361010090910416331461147b5760405162461bcd60e51b8152600401610d2690615874565b6017600081905260066020527f84f72166cd6dc886f96a4867c4575af2a636c629c04227c9418bfffa7a09a9ed544210806114c25750600081815260066020526040902054155b6114de5760405162461bcd60e51b8152600401610d26906158a9565b8161151f5760405162461bcd60e51b8152602060048201526011602482015270063616e277420646976696465206279203607c1b6044820152606401610d26565b600e82905561152c61418a565b505050565b6005546001600160a01b036101009091041633146115615760405162461bcd60e51b8152600401610d2690615874565b6018600081905260066020527f7ca528807b45d0675df0059116d2304ca9c7f495d9ab623cd80c79f11948b856544210806115a85750600081815260066020526040902054155b6115c45760405162461bcd60e51b8152600401610d26906158a9565b6001600160a01b03821660009081526012602052604090205462010000900460ff16156116335760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c7564656400000000006044820152606401610d26565b6001600160a01b0382166000908152601260209081526040808320805462ff00001916620100001790556015909152902054156116f4576014546001600160a01b03831660009081526015602052604090205461169091906159d2565b6001600160a01b0383166000908152602081905260408120829055601880549091906116bd9084906159ba565b90915550506001600160a01b03821660009081526015602052604081205460178054919290916116ee9084906159ba565b90915550505b6116ff601a836142e5565b50611708611e01565b6014555050565b6009600081905260066020527fca4d0c6c94a9477136dd41a99cc19ecbe441c8f6609efe7c6fa65be007a47323544210806117565750600081815260066020526040902054155b6117725760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146117a25760405162461bcd60e51b8152600401610d2690615874565b60648211156117e75760405162461bcd60e51b8152602060048201526011602482015270063616e277420676f206f7665722031303607c1b6044820152606401610d26565b50602455565b6006600081905260208190527f697b2bd7bb2984c4e0dc14c79c987d37818484a62958b9c45a0e8b962f20650f544210806118345750600081815260066020526040902054155b6118505760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146118805760405162461bcd60e51b8152600401610d2690615874565b50602255565b6005600081905260066020527fbfd358e93f18da3ed276c3afdbdba00b8f0b6008a03476a6a86bd6320ee6938b544210806118cd5750600081815260066020526040902054155b6118e95760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146119195760405162461bcd60e51b8152600401610d2690615874565b811561193b57601e54611936906001600160a01b031684866142fa565b611959565b601e54601f54611959916001600160a01b03908116911686866144f0565b50505050565b6001600160a01b031660009081526012602052604090205462010000900460ff1690565b6005546001600160a01b036101009091041633146119b35760405162461bcd60e51b8152600401610d2690615874565b601e600081905260066020527fb6ba906ff52451a7a924e2eaeb8aea3ebee7350a8703e5e417edb25358c7dcc1544210806119fa5750600081815260066020526040902054155b611a165760405162461bcd60e51b8152600401610d26906158a9565b60ff8316611a2d576007805460ff19168315151790555b8260ff1660011415611a4d576007805461ff001916610100841515021790555b8260ff1660021415611a71576007805463ff00000019166301000000841515021790555b8260ff1660031415611a93576007805462ff0000191662010000841515021790555b8260ff1660041415611ab9576007805464ff000000001916640100000000841515021790555b8260ff166005141561152c5760078054831515650100000000000265ff000000000019909116179055505050565b6000600f6000846002811115611b0d57634e487b7160e01b600052602160045260246000fd5b6002811115611b2c57634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000208281548110611b5957634e487b7160e01b600052603260045260246000fd5b9060005260206000200154905092915050565b6001600081905260066020527f3e5fec24aa4dc4e5aee2e025e51e1392c72a2500577559fae9665c6d52bd6a3154421080611bb35750600081815260066020526040902054155b611bcf5760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b03610100909104163314611bff5760405162461bcd60e51b8152600401610d2690615874565b6021821115611c4b5760405162461bcd60e51b815260206004820152601860248201527763616e2774206275726e206d6f7265207468616e2033332560401b6044820152606401610d26565b602754602654611c5b91906159ba565b4211611c945760405162461bcd60e51b81526020600482015260086024820152673a37b79039b7b7b760c11b6044820152606401610d26565b600080805260156020527fa31547ce6245cdb9ecea19cf8c7eb9f5974025bb4075011409251ae855b30aed54606490611cce908590615add565b611cd891906159d2565b600080805260156020527fa31547ce6245cdb9ecea19cf8c7eb9f5974025bb4075011409251ae855b30aed80549293508392909190611d18908490615afc565b925050819055508060136000828254611d319190615afc565b9091555050601d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b158015611d7f57600080fd5b505af1158015611d93573d6000803e3d6000fd5b5050601d5460205460405163bc25cf7760e01b81526001600160a01b0391821660048201529116925063bc25cf779150602401600060405180830381600087803b158015611de057600080fd5b505af1158015611df4573d6000803e3d6000fd5b5050426026555050505050565b600080601754601354611e149190615afc565b90506000601854600254611e289190615afc565b90506000600254601354611e3c91906159d2565b905080831015611e4d579392505050565b6013546017541180611e625750600254601854115b15611e6e579392505050565b611e7882846159d2565b935050505090565b6000611e8b8261195f565b15611eac57506001600160a01b031660009081526020819052604090205490565b6014546001600160a01b038316600090815260156020526040902054610e7991906159d2565b6005546001600160a01b03610100909104163314611f025760405162461bcd60e51b8152600401610d2690615874565b611f0c600061467c565b565b6005546001600160a01b03610100909104163314611f3e5760405162461bcd60e51b8152600401610d2690615874565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015611f73573d6000803e3d6000fd5b5050565b6005546001600160a01b03610100909104163314611fa75760405162461bcd60e51b8152600401610d2690615874565b60206000819052600681527f8962290a7218a9ad62224806fc2c8bf61f46f0c0289c25ddd8bb0f483a96003254421080611fed5750600081815260066020526040902054155b6120095760405162461bcd60e51b8152600401610d26906158a9565b506001600160a01b03919091166000908152600d60205260409020805460ff1916911515919091179055565b6004600081905260066020527fc5069e24aaadb2addc3e52e868fcf3f4f8acf5a87e24300992fd4540c2a87eed5442108061207c5750600081815260066020526040902054155b6120985760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146120c85760405162461bcd60e51b8152600401610d2690615874565b601c546040805163c45a015560e01b815290516000926001600160a01b03169163c45a0155916004808301926020929190829003018186803b15801561210d57600080fd5b505afa158015612121573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121459190615361565b6040516364e329cb60e11b81523060048201526001600160a01b038581166024830152919091169063c9c6539690604401602060405180830381600087803b15801561219057600080fd5b505af11580156121a4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121c89190615361565b6001600160a01b03166000908152601260205260409020805461ff001916610100179055505050565b6007600081905260066020527f4ced6d0d36392b04cc5d8761b1327b3bbba6e1089c77f60a9a9ca18e05e4f00e544210806122385750600081815260066020526040902054155b6122545760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146122845760405162461bcd60e51b8152600401610d2690615874565b60648211156122c05760405162461bcd60e51b8152602060048201526008602482015267042e8dededaeac6d60c31b6044820152606401610d26565b50602355565b6002600081905260066020527f8819ef417987f8ae7a81f42cdfb18815282fe989326fbff903d13cf0e03ace295442108061230d5750600081815260066020526040902054155b6123295760405162461bcd60e51b8152600401610d26906158a9565b336000612334611e01565b905061233f8261195f565b1561235c5760405162461bcd60e51b8152600401610d26906158ce565b6001600160a01b03821660009081526015602052604090205461237f8286615add565b106123b75760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b6044820152606401610d26565b6123c18185615add565b6001600160a01b038316600090815260156020526040812080549091906123e9908490615afc565b909155506123f990508185615add565b600080805260156020527fa31547ce6245cdb9ecea19cf8c7eb9f5974025bb4075011409251ae855b30aed80549091906124349084906159ba565b9091555050600080805260208190527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb580548692906124749084906159ba565b9091555050601d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b1580156124c257600080fd5b505af11580156124d6573d6000803e3d6000fd5b5050601d5460205460405163bc25cf7760e01b81526001600160a01b0391821660048201529116925063bc25cf779150602401600060405180830381600087803b15801561252357600080fd5b505af1158015612537573d6000803e3d6000fd5b5050604051868152600092503091507fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a350505050565b606060048054610de590615b56565b6005546001600160a01b036101009091041633146125b85760405162461bcd60e51b8152600401610d2690615874565b61264730601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561260a57600080fd5b505afa15801561261e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906126429190615361565b6146d6565b601c546001600160a01b031663f305d719343061266381611e80565b60008061267e6005546001600160a01b036101009091041690565b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c4016060604051808303818588803b1580156126e157600080fd5b505af11580156126f5573d6000803e3d6000fd5b50505050506040513d601f19601f8201168201806040525081019061271a9190615711565b5050602080546001600160a01b03191673f865eeea3e1871429a871e4acfc1d4c20553e07f178155601d80546001600160a01b039081166000908152601284526040808220805461ff001916610100179055308252808220805460ff19908116600190811790925595548416835281832080548716821790553383529120805490941617909255546127ad925016611531565b6004600e819055506127e1600060c8604051806040016040528060078152602001666275792066656560c81b8152506134c5565b61280f60016104b06040518060400160405280600881526020016773656c6c2066656560c01b8152506134c5565b600a60235560016022556064602581905560025461282d91906159d2565b6008556001600955600f600a55600780546501010101010165ffffffffffff199091161790556029805461ffff1916610101179055601f805460ff60a81b1916600160a81b179055565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156128f95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610d26565b610f813385858403613c5e565b6005546001600160a01b036101009091041633146129365760405162461bcd60e51b8152600401610d2690615874565b61294042826159ba565b6000928352600660205260409092209190915550565b6000610f81338484613dd4565b6003600081905260066020527f75f96ab15d697e93042dc45b5c896c4b27e89bb6eaf39475c5c371cb2513f7d2544210806129aa5750600081815260066020526040902054155b6129c65760405162461bcd60e51b8152600401610d26906158a9565b3360006129d1611e01565b90506129dc8261195f565b156129f95760405162461bcd60e51b8152600401610d26906158ce565b6001600160a01b038216600090815260156020526040902054612a1c8286615add565b10612a545760405162461bcd60e51b81526020600482015260086024820152670e8dede40daeac6d60c31b6044820152606401610d26565b612a5e8185615add565b6001600160a01b03831660009081526015602052604081208054909190612a86908490615afc565b90915550612a9690508185615add565b60136000828254612aa79190615afc565b90915550506001600160a01b03821660009081526019602052604081208054869290612ad49084906159ba565b925050819055508360166000828254612aed91906159ba565b909155505050505050565b6000601181806110d4565b6005546001600160a01b03610100909104163314612b335760405162461bcd60e51b8152600401610d2690615874565b6016600081905260066020527f7d35cc2b0520994422695eb24e3bf4f74e9cba2704cae72ecd9ec54409a56afb54421080612b7a5750600081815260066020526040902054155b612b965760405162461bcd60e51b8152600401610d26906158a9565b6000600f6000856002811115612bbc57634e487b7160e01b600052602160045260246000fd5b6002811115612bdb57634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000208381548110612c0857634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060116000866002811115612c3a57634e487b7160e01b600052602160045260246000fd5b6002811115612c5957634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000206000828254612c769190615afc565b90915550600f90506000856002811115612ca057634e487b7160e01b600052602160045260246000fd5b6002811115612cbf57634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000208381548110612cec57634e487b7160e01b600052603260045260246000fd5b906000526020600020016000905560106000856002811115612d1e57634e487b7160e01b600052602160045260246000fd5b6002811115612d3d57634e487b7160e01b600052602160045260246000fd5b81526020019081526020016000206000815480929190612d5c90615b3f565b91905055507f67537524761f58423e2e5ae21cb620aaff13d733d9d04951bd14a0711910a0338484604051612d929291906157de565b60405180910390a150505050565b6005546001600160a01b03610100909104163314612dd05760405162461bcd60e51b8152600401610d2690615874565b601f600081905260066020527fe0f48684da2738819afc60049d8a627ffa250d5e1c7f8a7fedb1ce999915baf654421080612e175750600081815260066020526040902054155b612e335760405162461bcd60e51b8152600401610d26906158a9565b60ff8316612e415760088290555b8260ff1660011415612e535760098290555b8260ff166002141561152c5750600a5550565b6005546001600160a01b03610100909104163314612e965760405162461bcd60e51b8152600401610d2690615874565b600c600081905260066020527f0b94fa1b86997cc1f1148bfbe25b674e8cefc7cc6f976aa8d7c7966bd4cca34754421080612edd5750600081815260066020526040902054155b612ef95760405162461bcd60e51b8152600401610d26906158a9565b50602980549115156101000261ff0019909216919091179055565b6005546001600160a01b03610100909104163314612f445760405162461bcd60e51b8152600401610d2690615874565b601c80546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03610100909104163314612f965760405162461bcd60e51b8152600401610d2690615874565b6019600081905260066020527ff377e614ebf060ffd3a592667b14b65ef761b258b68bf422a9c7bfae70ee46e254421080612fdd5750600081815260066020526040902054155b612ff95760405162461bcd60e51b8152600401610d26906158a9565b6001600160a01b03821660009081526012602052604090205462010000900460ff16151560011461306c5760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c7564656400000000006044820152606401610d26565b6001600160a01b0382166000908152601260209081526040808320805462ff0000191690559082905281205460188054919290916130ab908490615afc565b90915550506001600160a01b038216600090815260208181526040808320839055601590915281205460178054919290916130e7908490615afc565b909155506116ff9050601a83614805565b6005546001600160a01b036101009091041633146131285760405162461bcd60e51b8152600401610d2690615874565b601e80546001600160a01b039384166001600160a01b031991821617909155601f8054929093169116179055565b6001600160a01b03821660009081526012602052604081205460ff6101009091041615156001141561318a57506000610e79565b6001600160a01b03821660009081526012602052604090205460ff610100909104161515600114156131be57506001610e79565b506002610e79565b6005546001600160a01b036101009091041633146131f65760405162461bcd60e51b8152600401610d2690615874565b806001141561322a576001600160a01b0383166000908152601260205260409020805483151560ff19909116179055505050565b8060021415613263576001600160a01b038316600090815260126020526040902080548315156101000261ff0019909116179055505050565b806003141561152c576001600160a01b03831660009081526012602052604090208054831515620100000262ff000019909116179055505050565b60006132a8610e7f565b600f60008660028111156132cc57634e487b7160e01b600052602160045260246000fd5b60028111156132eb57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020848154811061331857634e487b7160e01b600052603260045260246000fd5b90600052602060002001548361332e9190615add565b61333891906159d2565b949350505050565b600d600081905260066020527f248457bacb20e239ae314d8db91c0f270e453c28ee138c84f97aea6cfcf9a499544210806133875750600081815260066020526040902054155b6133a35760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b036101009091041633146133d35760405162461bcd60e51b8152600401610d2690615874565b60008351836133e291906159d2565b905060005b8451811015613470576014546133fd9083615add565b6015600087848151811061342157634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020600082825461345891906159ba565b9091555081905061346881615b91565b9150506133e7565b5050505050565b6005546001600160a01b036101009091041633146134a75760405162461bcd60e51b8152600401610d2690615874565b601f8054911515600160a81b0260ff60a81b19909216919091179055565b6005546001600160a01b036101009091041633146134f55760405162461bcd60e51b8152600401610d2690615874565b6014600081905260066020527f098d468efb4f874d617491296c759dc9ae46efb517fe36bcf30699ad3f714c0f5442108061353c5750600081815260066020526040902054155b6135585760405162461bcd60e51b8152600401610d26906158a9565b600f600085600281111561357c57634e487b7160e01b600052602160045260246000fd5b600281111561359b57634e487b7160e01b600052602160045260246000fd5b81526020808201929092526040016000908120805460018101825590825291812090910184905583906011908660028111156135e757634e487b7160e01b600052602160045260246000fd5b600281111561360657634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600082825461362391906159ba565b9091555060109050600085600281111561364d57634e487b7160e01b600052602160045260246000fd5b600281111561366c57634e487b7160e01b600052602160045260246000fd5b8152602001908152602001600020600081548092919061368b90615b91565b919050555061369861418a565b507f42d7180fdce9c41efa3db6f3ffc7c3c96a3e68730b9c63fa1f0b672e34a10ceb848484604051612d92939291906157f9565b6005546001600160a01b036101009091041633146136fc5760405162461bcd60e51b8152600401610d2690615874565b6015600081905260066020527feda6feebfb4ffb7de2d0dc45a13b92dc953c2ed6ee96fa7fe8179e7c4266747f544210806137435750600081815260066020526040902054155b61375f5760405162461bcd60e51b8152600401610d26906158a9565b82600f600086600281111561378457634e487b7160e01b600052602160045260246000fd5b60028111156137a357634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002083815481106137d057634e487b7160e01b600052603260045260246000fd5b6000918252602082200191909155805b600f600087600281111561380457634e487b7160e01b600052602160045260246000fd5b600281111561382357634e487b7160e01b600052602160045260246000fd5b81526020810191909152604001600020548110156138d557600f600087600281111561385f57634e487b7160e01b600052602160045260246000fd5b600281111561387e57634e487b7160e01b600052602160045260246000fd5b815260200190815260200160002081815481106138ab57634e487b7160e01b600052603260045260246000fd5b9060005260206000200154826138c191906159ba565b9150806138cd81615b91565b9150506137e0565b5080601160008760028111156138fb57634e487b7160e01b600052602160045260246000fd5b600281111561391a57634e487b7160e01b600052602160045260246000fd5b815260208101919091526040016000205561393361418a565b507f2df9ab6e42f0be5e726cbdc55c72a8d2ff8e9347abbea531966363f9d5e1049485858560405161396793929190615828565b60405180910390a15050505050565b6000808084600281111561399a57634e487b7160e01b600052602160045260246000fd5b14156139cb576139a8610e7f565b6139b0612af8565b6139ba9085615add565b6139c491906159d2565b9050610f85565b60018460028111156139ed57634e487b7160e01b600052602160045260246000fd5b1415613a03576139fb610e7f565b6139b06110cc565b613a0b610e7f565b613a156002610f8c565b61332e9085615add565b6005546001600160a01b03610100909104163314613a4f5760405162461bcd60e51b8152600401610d2690615874565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6008600081905260066020527fb8d683c9d414f481826f3e7fe14b3ac6ae8c73450778287390c4bb8cb9f2e80b54421080613ab85750600081815260066020526040902054155b613ad45760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b03610100909104163314613b045760405162461bcd60e51b8152600401610d2690615874565b50602080546001600160a01b0319166001600160a01b0392909216919091179055565b600a600081905260066020527f4da38fc8e544afc56a4c2a17752b8ddb67d8e23ac4583c9029d2e2d1dbe6c98854421080613b6e5750600081815260066020526040902054155b613b8a5760405162461bcd60e51b8152600401610d26906158a9565b6005546001600160a01b03610100909104163314613bba5760405162461bcd60e51b8152600401610d2690615874565b50602555565b6005546001600160a01b03610100909104163314613bf05760405162461bcd60e51b8152600401610d2690615874565b6001600160a01b038116613c555760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d26565b610f518161467c565b6001600160a01b038316613cc05760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610d26565b6001600160a01b038216613d215760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610d26565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261152c90849061481a565b60006001600160a01b038416613e3a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610d26565b6001600160a01b038316613e9c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610d26565b60295460009081908190819060ff16156140ef57600754640100000000900460ff1615613ed557613ecc886148ec565b613ed5876148ec565b613edf8888613156565b60075490915065010000000000900460ff168015613f2157506001600160a01b03871660009081526012602052604090205460ff610100909104161515600114155b8015613f4c57506000816002811115613f4a57634e487b7160e01b600052602160045260246000fd5b145b156140005760075460ff1615613f6557613f6586614949565b6007546301000000900460ff1615613f8e57601d54613f8e906001600160a01b03168989614986565b600754610100900460ff1615613fa757613fa787614b10565b60075462010000900460ff1615613fcd57613fcd613fc488611e80565b60025488614b90565b60196028541015614000576001600160a01b0387166000908152600d6020526028805491613ffa83615b91565b91905055505b61400a8888611408565b61401d576140188187613976565b614020565b60005b935061402b84614bef565b601454919450925061403d9084615add565b306000908152601560205260408120805490919061405c9084906159ba565b909155506001905081600281111561408457634e487b7160e01b600052602160045260246000fd5b14156140ef57602254602154116140a8576021546140a39060016159ba565b6140ab565b60005b602155601f54600160a81b900460ff1680156140d15750601f54600160a01b900460ff16155b80156140e1575060215460225410155b156140ef576140ef86614c24565b60006140fb8588615afc565b905061410989898984614cc6565b6014546141169084615add565b601360008282546141279190615afc565b92505081905550876001600160a01b0316896001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161417391815260200190565b60405180910390a350600198975050505050505050565b600061823561419d6001620186a0613976565b11156141fd5760405162461bcd60e51b815260206004820152602960248201527f455243323046656561626c653a2053656c6c2048617264636170206f6620333360448201526809481c995858da195960ba1b6064820152608401610d26565b61823561420e6000620186a0613976565b111561426e5760405162461bcd60e51b815260206004820152602960248201527f455243323046656561626c653a20427579202048617264636170206f6620333360448201526809481c995858da195960ba1b6064820152608401610d26565b61823561427f6002620186a0613976565b11156142df5760405162461bcd60e51b815260206004820152602960248201527f455243323046656561626c653a204e6f726d2048617264636170206f6620333360448201526809481c995858da195960ba1b6064820152608401610d26565b50600190565b6000610f85836001600160a01b0384166150a9565b604080516002808252606082018352600092602083019080368337019050509050838160008151811061433d57634e487b7160e01b600052603260045260246000fd5b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561439157600080fd5b505afa1580156143a5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906143c99190615361565b816001815181106143ea57634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601c5460405163095ea7b360e01b81529082166004820152602481018490529085169063095ea7b390604401602060405180830381600087803b15801561444657600080fd5b505af115801561445a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061447e9190615552565b50601c5460405163791ac94760e01b81526001600160a01b039091169063791ac947906144b8908590600090869089904290600401615919565b600060405180830381600087803b1580156144d257600080fd5b505af11580156144e6573d6000803e3d6000fd5b5050505050505050565b604080516002808252606082018352600092602083019080368337019050509050848160008151811061453357634e487b7160e01b600052603260045260246000fd5b60200260200101906001600160a01b031690816001600160a01b031681525050838160018151811061457557634e487b7160e01b600052603260045260246000fd5b6001600160a01b039283166020918202929092010152601c5460405163095ea7b360e01b81529082166004820152602481018590529086169063095ea7b390604401602060405180830381600087803b1580156145d157600080fd5b505af11580156145e5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146099190615552565b50601c54604051635c11d79560e01b81526001600160a01b0390911690635c11d79590614643908690600090869088904290600401615919565b600060405180830381600087803b15801561465d57600080fd5b505af1158015614671573d6000803e3d6000fd5b505050505050505050565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b601c60009054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561472457600080fd5b505afa158015614738573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061475c9190615361565b6040516364e329cb60e11b81526001600160a01b0384811660048301528381166024830152919091169063c9c6539690604401602060405180830381600087803b1580156147a957600080fd5b505af11580156147bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906147e19190615361565b601d80546001600160a01b0319166001600160a01b03929092169190911790555050565b6000610f85836001600160a01b0384166150f8565b600061486f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166152159092919063ffffffff16565b80519091501561152c578080602001905181019061488d9190615552565b61152c5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610d26565b6001600160a01b0381166000908152600d602052604090205460ff16151560011415610f515760405162461bcd60e51b815260206004820152600c60248201526b1c1bdcdcda589b1948189bdd60a21b6044820152606401610d26565b600854811115610f515760405162461bcd60e51b81526020600482015260086024820152670deeccae440dac2f60c31b6044820152606401610d26565b6000836001600160a01b0316826001600160a01b03161415614a01576001600160a01b0383166000908152600c60205260409020544314806149d65750326000908152600c602052604090205443145b6001600160a01b0384166000908152600c602052604080822043908190553283529120559050614a76565b836001600160a01b0316836001600160a01b03161415614a76576001600160a01b0382166000908152600c6020526040902054431480614a4f5750326000908152600c602052604090205443145b6001600160a01b0383166000908152600c6020526040808220439081905532835291205590505b80156119595760405162461bcd60e51b815260206004820152605c60248201527f4d756c7469706c652074726164657320696e2073616d6520626c6f636b20667260448201527f6f6d2073616d6520736f7572636520617265206e6f7420616c6c6f776564206460648201527f7572696e672074726164696e6720737461727420636f6f6c646f776e00000000608482015260a401610d26565b600a546001600160a01b0382166000908152600b6020526040902054614b3691906159ba565b421015614b745760405162461bcd60e51b815260206004820152600c60248201526b313abc9031b7b7b63237bbb760a11b6044820152606401610d26565b6001600160a01b03166000908152600b60205260409020429055565b606460095483614ba09190615add565b614baa91906159d2565b614bb482856159ba565b111561152c5760405162461bcd60e51b815260206004820152600a6024820152691bdd995c881b1a5b5a5d60b21b6044820152606401610d26565b600080614bfa610e7f565b602454614c079085615add565b614c1191906159d2565b9050614c1d8184615afc565b9150915091565b601f805460ff60a01b1916600160a01b179055602354600090606490614c4930611e80565b614c539190615add565b614c5d91906159d2565b90506000606460255484614c719190615add565b614c7b91906159d2565b90506000828211614c8c5781614c8e565b825b90508015614cae57602054614cae9030906001600160a01b0316836142fa565b505060006021555050601f805460ff60a01b19169055565b6000614cd28585610fe7565b90506001816003811115614cf657634e487b7160e01b600052602160045260246000fd5b1415614deb57601454614d099084615add565b6001600160a01b03861660009081526015602052604081208054909190614d31908490615afc565b925050819055508160186000828254614d4a91906159ba565b9091555050601454614d5c9083615add565b60176000828254614d6d91906159ba565b90915550614d7b9050611e01565b6014556001600160a01b03841660009081526020819052604081208054849290614da69084906159ba565b9091555050601454614db89083615add565b6001600160a01b03851660009081526015602052604081208054909190614de09084906159ba565b909155506150569050565b6000816003811115614e0d57634e487b7160e01b600052602160045260246000fd5b1415614ece576001600160a01b03851660009081526020819052604081208054859290614e3b908490615afc565b9091555050601454614e4d9084615add565b6001600160a01b03861660009081526015602052604081208054909190614e75908490615afc565b925050819055508260186000828254614e8e9190615afc565b9091555050601454614ea09084615add565b60176000828254614eb19190615afc565b90915550614ebf9050611e01565b6014819055614db89083615add565b6002816003811115614ef057634e487b7160e01b600052602160045260246000fd5b1415614fd5576001600160a01b03851660009081526020819052604081208054859290614f1e908490615afc565b9091555050601454614f309084615add565b6001600160a01b03861660009081526015602052604081208054909190614f58908490615afc565b90915550506001600160a01b03841660009081526020819052604081208054849290614f859084906159ba565b9091555050601454614f979083615add565b6001600160a01b03851660009081526015602052604081208054909190614fbf9084906159ba565b90915550614fcd9050611e01565b601455615056565b601454614fe29084615add565b6001600160a01b0386166000908152601560205260408120805490919061500a908490615afc565b909155505060145461501c9083615add565b6001600160a01b038516600090815260156020526040812080549091906150449084906159ba565b909155506150529050611e01565b6014555b7f06f9d8302f3e4076b4e7b19e6b521cc8e7d17408d3af07bd17b97847f2bf89cd85856150838587615afc565b604080516001600160a01b03948516815293909216602084015290820152606001613967565b60008181526001830160205260408120546150f057508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610e79565b506000610e79565b6000818152600183016020526040812054801561520b57600061511c600183615afc565b855490915060009061513090600190615afc565b90508181146151b157600086600001828154811061515e57634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508087600001848154811061518f57634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255918252600188019052604090208390555b85548690806151d057634e487b7160e01b600052603160045260246000fd5b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610e79565b6000915050610e79565b6060613338848460008585843b61526e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610d26565b600080866001600160a01b0316858760405161528a91906157b4565b60006040518083038185875af1925050503d80600081146152c7576040519150601f19603f3d011682016040523d82523d6000602084013e6152cc565b606091505b50915091506152dc8282866152e7565b979650505050505050565b606083156152f6575081610f85565b8251156153065782518084602001fd5b8160405162461bcd60e51b8152600401610d269190615861565b80356003811061532f57600080fd5b919050565b803560ff8116811461532f57600080fd5b600060208284031215615356578081fd5b8135610f8581615bee565b600060208284031215615372578081fd5b8151610f8581615bee565b6000806040838503121561538f578081fd5b823561539a81615bee565b915060208301356153aa81615bee565b809150509250929050565b6000806000606084860312156153c9578081fd5b83356153d481615bee565b925060208401356153e481615bee565b929592945050506040919091013590565b60008060408385031215615407578182fd5b823561541281615bee565b915060208301356153aa81615c03565b600080600060608486031215615436578283fd5b833561544181615bee565b925060208401356153e481615c03565b60008060408385031215615463578182fd5b823561546e81615bee565b946020939093013593505050565b6000806040838503121561548e578182fd5b823567ffffffffffffffff808211156154a5578384fd5b818501915085601f8301126154b8578384fd5b81356020828211156154cc576154cc615bd8565b8160051b92506154dd818401615989565b8281528181019085830185870184018b10156154f7578889fd5b8896505b84871015615525578035955061551086615bee565b858352600196909601959183019183016154fb565b509997909101359750505050505050565b600060208284031215615547578081fd5b8135610f8581615c03565b600060208284031215615563578081fd5b8151610f8581615c03565b60006020828403121561557f578081fd5b610f8582615320565b6000806040838503121561559a578182fd5b61546e83615320565b6000806000606084860312156155b7578081fd5b6155c084615320565b92506020808501359250604085013567ffffffffffffffff808211156155e4578384fd5b818701915087601f8301126155f7578384fd5b81358181111561560957615609615bd8565b61561b601f8201601f19168501615989565b91508082528884828501011115615630578485fd5b808484018584013784848284010152508093505050509250925092565b600080600060608486031215615661578081fd5b61566a84615320565b95602085013595506040909401359392505050565b600060208284031215615690578081fd5b5035919050565b6000602082840312156156a8578081fd5b5051919050565b6000806000606084860312156156c3578081fd5b8335925060208401356156d581615bee565b915060408401356156e581615c03565b809150509250925092565b60008060408385031215615702578182fd5b50508035926020909101359150565b600080600060608486031215615725578081fd5b8351925060208401519150604084015190509250925092565b60008060408385031215615750578182fd5b61541283615334565b6000806040838503121561576b578182fd5b61546e83615334565b6003811061578457615784615bc2565b9052565b600081518084526157a0816020860160208601615b13565b601f01601f19169290920160200192915050565b600082516157c6818460208701615b13565b9190910192915050565b60208101610e798284615774565b604081016157ec8285615774565b8260208301529392505050565b6158038185615774565b82602082015260606040820152600061581f6060830184615788565b95945050505050565b606081016158368286615774565b602082019390935260400152919050565b602081016004831061585b5761585b615bc2565b91905290565b602081526000610f856020830184615788565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252600b908201526a19195858dd1a5d985d195960aa1b604082015260600190565b6020808252602b908201527f4578636c75646564206164647265737365732063616e27742063616c6c20746860408201526a34b990333ab731ba34b7b760a91b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c0860191508289019350845b818110156159685784516001600160a01b031683529383019391830191600101615943565b50506001600160a01b03969096166060850152505050608001529392505050565b604051601f8201601f1916810167ffffffffffffffff811182821017156159b2576159b2615bd8565b604052919050565b600082198211156159cd576159cd615bac565b500190565b6000826159ed57634e487b7160e01b81526012600452602481fd5b500490565b600181815b80851115615a2d578160001904821115615a1357615a13615bac565b80851615615a2057918102915b93841c93908002906159f7565b509250929050565b6000610f858383600082615a4b57506001610e79565b81615a5857506000610e79565b8160018114615a6e5760028114615a7857615a94565b6001915050610e79565b60ff841115615a8957615a89615bac565b50506001821b610e79565b5060208310610133831016604e8410600b8410161715615ab7575081810a610e79565b615ac183836159f2565b8060001904821115615ad557615ad5615bac565b029392505050565b6000816000190483118215151615615af757615af7615bac565b500290565b600082821015615b0e57615b0e615bac565b500390565b60005b83811015615b2e578181015183820152602001615b16565b838111156119595750506000910152565b600081615b4e57615b4e615bac565b506000190190565b600181811c90821680615b6a57607f821691505b60208210811415615b8b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415615ba557615ba5615bac565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610f5157600080fd5b8015158114610f5157600080fdfea2646970667358221220639b77e82c326a069fc5faf2589c290399250d78f6dc502b7ea1a5559723f13964736f6c63430008040033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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