ETH Price: $3,479.69 (+4.38%)

Token

DE-FEG (DFEG)
 

Overview

Max Total Supply

10,000,000 DFEG

Holders

96

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
3,182.126133047 DFEG

Value
$0.00
0x1dc0a7ca2b4877bbe35e0d2f40f4bbf3eb3b3b7e
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
DecentraTokens

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 11 : Decentra-Tokens.sol
// SPDX-License-Identifier: UNLICENSED

/**

   #Decentra-Tokens

   TG: 
   Website: https://decentra-tokens.com/

   10% tax buys and sells
    1% Reflection yield
    5% Development/team
    2% is sent to the DELO mega draw wallet 
    2% is used to buy the meme lottery token

 */
pragma solidity 0.8.7;

import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol';
import '@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol';
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";

abstract contract RandomNumberConsumer is VRFConsumerBase {
    
    bytes32 internal keyHash;
    uint256 internal fee;
    
    uint256 public randomResult;
    
    //contracts: https://docs.chain.link/docs/vrf-contracts/
    //faucets: https://docs.chain.link/docs/link-token-contracts/
    constructor(address _vrfCoordinator, address _link, bytes32 _keyHash, uint256 _fee) 
        VRFConsumerBase(
            _vrfCoordinator, // VRF Coordinator
            _link  // LINK Token
        )
    {
        keyHash = _keyHash;
        fee = _fee; // 0.1 LINK for testnet, 2 LINK for Live (Varies by network)
    }
    
    /** 
     * Requests randomness 
     */
    function getRandomNumber() internal returns (bytes32 requestId) {
        require(LINK.balanceOf(address(this)) >= fee, "Not enough LINK - fill contract with faucet");
        return requestRandomness(keyHash, fee);
    }
}

contract DecentraTokens is Context, IERC20, Ownable, RandomNumberConsumer {
    using Address for address;

    //tracking addresses for lotto entry using mappings
    uint256 private numAddresses = 0;
    mapping (uint256 => address) private _addressList;
    mapping (address => bool) private _AddressExists;
    //

    //token amounts
    mapping (address => uint256) private _rOwned;
    mapping (address => uint256) private _tOwned;
    mapping (address => mapping (address => uint256)) private _allowances;
    //

    //token config
    string private _name = "DE-FEG";
    string private _symbol = "DFEG";
    uint8 private _decimals = 9;

    uint256 public _taxFee = 1;
    uint256 private _previousTaxFee = _taxFee;

    uint256 public _jackpotFee = 2;
    uint256 private _previousJackpotFee = _jackpotFee;

    uint256 public _ecosystemLottoDevFee = 7;
    uint256 private _previousEcosystemLottoDevFee = _ecosystemLottoDevFee;

    uint256 public _percentOfSwapIsEcosystem = 22;
    uint256 public _percentOfSwapIsLotto = 22;
    uint256 public _percentOfSwapIsMarketing = 22;

    uint256 private constant MAX = ~uint256(0);
    uint256 private _tTotal = 1 * 10**7 * 10**9;
    uint256 private _rTotal = (MAX - (MAX % _tTotal));
    uint256 private _tFeeTotal;
    //

    //Contract init and sniper config
    address constant public DEAD = 0x000000000000000000000000000000000000dEaD;
    address public JACKPOT_TOKEN_ADDRESS;
    IERC20 jackpotToken;
    uint8 private _jackpotTokenDecimals;
    mapping (address => bool) private _isSniperOrBlacklisted;
    bool private sniperProtection = true;
    bool public _hasLiqBeenAdded = false;
    uint256 private _liqAddBlock = 0;
    uint256 public snipersCaught = 0;
    uint256 private snipeBlockAmt = 2;
    //

    //excludes
    mapping (address => bool) private _isExcludedFromFee;
    mapping (address => bool) private _isExcludedFromMaxTx;
    mapping (address => bool) private _isExcludedFromMaxWallet;
    mapping (address => bool) private _isExcluded;
    mapping (address => bool) private _isLottoExcluded;
    address[] private _excluded;
    //

    //payable wallets
	address payable private _devWallet;
    address payable private _marketingWallet;
    address payable private _ecosystemWallet;

    //lotto config
    bool public lottoOn = true;
	uint256 public lottoJackpotAmount;
    uint256 public minLottoBalance = 1 * 10**4 * 10**9;
    mapping(uint256 => Winner) public lottoWinners;
    mapping(address => uint256) public walletWinAmount;
    uint256 public numWinners = 0;
    LotteryState public state;
    uint256 public totalWon = 0;
    //

    //other config and members
    IUniswapV2Router02 public uniswapV2Router;
    address public uniswapV2Pair;

    bool inSwapAndDistribute;
    bool public swapAndDistributeEnabled = false;

    uint256 public _maxTxAmount = 5 * 10**4 * 10**9; //0.5%
    uint256 public _maxWalletAmount = 15 * 10**4 * 10**9; //1.5%
    uint256 public numTokensSellToDistribute =  1 * 10**4 * 10**9; //0.1%

    bytes32 private requestId;
    //

    //events
    event MinTokensBeforeSwapUpdated(uint256 minTokensBeforeSwap);
    event SwapAndDistributeEnabledUpdated(bool enabled);
    event LottoEnabledUpdated(bool enabled);
    event SwapAndDistribute(
        uint256 tokensSwapped,
        uint256 jackpotETHAmount,
        uint256 ecosystemETHAmount,
        uint256 devETHAmount
    );
    event SniperCaught(address sniperAddress);
    event LotteryStateChanged(LotteryState newState);
    event GetRandom(bytes32 requestId);
    event GotRandom(uint256 randomNumber);
    event WinnerPaid(address indexed user, uint256 amount);
    //

    //enums
    enum LotteryState{
        Open,
        GettingRandom,
        GotRandom
    }
    //

    //structs
    struct Winner {
        address winner;
        uint256 amount;
    }
    //

    //modifiers
    modifier lockTheSwap {
        inSwapAndDistribute = true;
        _;
        inSwapAndDistribute = false;
    }
    //

    constructor (address router, address devWallet, address marketingWallet, address ecosystemWallet, address jackpotTokenAddress_IN, uint8 jackpotTokenDecimals_IN, uint256 lottoJackpotAmount_IN) 
        RandomNumberConsumer(
            0xf0d54349aDdcf704F77AE15b96510dEA15cb7952, //vrfCoordinator ETH mainnet
            0x514910771AF9Ca656af840dff83E8264EcF986CA, // link address ETH mainnet
            0xAA77729D3466CA35AE8D28B3BBAC7CC36A5031EFDC430821C02BC31A238AF445, //key hash ETH mainnet
            2 * 10 ** 18 //fee ETH mainnet
        ) public {
        _rOwned[owner()] = _rTotal;

        JACKPOT_TOKEN_ADDRESS = jackpotTokenAddress_IN;
        _jackpotTokenDecimals = jackpotTokenDecimals_IN;
        lottoJackpotAmount = lottoJackpotAmount_IN * 10**jackpotTokenDecimals_IN;
        jackpotToken = IERC20(JACKPOT_TOKEN_ADDRESS);
    
		addAddress(owner());
		_devWallet = payable(devWallet);
        _marketingWallet = payable(marketingWallet);
        _ecosystemWallet = payable(ecosystemWallet);

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(router);
         // Create a uniswap pair for this new token
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        // set the rest of the contract variables
        uniswapV2Router = _uniswapV2Router;

        //exclude owner, ecosystem and this contract from fee
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[_devWallet] = true;
        _isExcludedFromFee[_ecosystemWallet] = true;
        _isExcludedFromFee[_marketingWallet] = true;
        _isExcludedFromFee[address(this)] = true;
        _isExcludedFromMaxTx[owner()] = true;
        _isExcludedFromMaxTx[_devWallet] = true;
        _isExcludedFromMaxTx[_ecosystemWallet] = true;
        _isExcludedFromMaxTx[_marketingWallet] = true;
        _isExcludedFromMaxWallet[owner()] = true;
        _isExcludedFromMaxWallet[_devWallet] = true;
        _isExcludedFromMaxWallet[_ecosystemWallet] = true;
        _isExcludedFromMaxWallet[_marketingWallet] = true;
        _isExcludedFromMaxWallet[address(this)] = true;
        _isExcludedFromMaxWallet[DEAD] = true;
        _isLottoExcluded[owner()] = true;
        _isLottoExcluded[_devWallet] = true;
        _isLottoExcluded[_ecosystemWallet] = true;
        _isLottoExcluded[_marketingWallet] = true;
        _isLottoExcluded[address(this)] = true;
        _isLottoExcluded[uniswapV2Pair] = true;
        _isLottoExcluded[router] = true;

        emit Transfer(address(0), owner(), _tTotal);
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public view returns (uint8) {
        return _decimals;
    }

    function totalSupply() public view override returns (uint256) {
        return _tTotal;
    }

    function balanceOf(address account) public view override returns (uint256) {
        if (_isExcluded[account]) return _tOwned[account];
        return tokenFromReflection(_rOwned[account]);
    }

    function transfer(address recipient, uint256 amount) public override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function allowance(address owner, address spender) public view override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

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

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender]+(addedValue));
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender]-(subtractedValue));
        return true;
    }

    function isExcludedFromReward(address account) public view returns (bool) {
        return _isExcluded[account];
    }

    function totalFees() public view returns (uint256) {
        return _tFeeTotal;
    }

    function deliver(uint256 tAmount) public {
        address sender = _msgSender();
        require(!_isExcluded[sender], "Excluded addresses cannot call this function");
        (uint256 rAmount,,,,,,) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender]-(rAmount);
        _rTotal = _rTotal-(rAmount);
        _tFeeTotal = _tFeeTotal+(tAmount);
    }

    function excludeFromLottoRewards(address addy) public onlyOwner {
        require(_isLottoExcluded[addy] == false, "User already excluded from lotto rewards");
        _isLottoExcluded[addy] = true;
    }

    function excludeFromMaxWallet(address addy) public onlyOwner {
        _isExcludedFromMaxWallet[addy] = true;
    }

    function includeInMaxWallet(address addy) public onlyOwner {
        _isExcludedFromMaxWallet[addy] = true;
    }

    function includeInLottoRewards(address addy) public onlyOwner {
        require(_isLottoExcluded[addy] == true, "User already included in lotto rewards");
        _isLottoExcluded[addy] = false;
    }

    function reflectionFromToken(uint256 tAmount, bool deductTransferFee) public view returns(uint256) {
        require(tAmount <= _tTotal, "Amount must be less than supply");
        if (!deductTransferFee) {
            (uint256 rAmount,,,,,,) = _getValues(tAmount);
            return rAmount;
        } else {
            (,uint256 rTransferAmount,,,,,) = _getValues(tAmount);
            return rTransferAmount;
        }
    }

    function tokenFromReflection(uint256 rAmount) public view returns(uint256) {
        require(rAmount <= _rTotal, "Amount must be less than total reflections");
        uint256 currentRate =  _getRate();
        return rAmount/(currentRate);
    }

    function setDevAddress(address dev) public onlyOwner() {
        _devWallet = payable(dev);
    }

    function setMarketingAddress(address marketing) public onlyOwner() {
        _marketingWallet = payable(marketing);
    }

    function setEcosystemAddress(address ecosystem) external onlyOwner {
        _ecosystemWallet = payable(ecosystem);
    }

    function setJackpotTokenAddress(address token, uint8 decimalsIn) external onlyOwner {
        JACKPOT_TOKEN_ADDRESS = token;
        _jackpotTokenDecimals = decimalsIn;
        jackpotToken = IERC20(JACKPOT_TOKEN_ADDRESS);
    }

    function setlottoJackpotAmount(uint256 minBalance) public onlyOwner() {
        lottoJackpotAmount = minBalance * 10**_jackpotTokenDecimals;
    }

    function setMinLottoBalance(uint256 minBalance) public onlyOwner() {
        minLottoBalance = minBalance * 10**_decimals;
    }

    function setRouterAddress(address newRouter) external onlyOwner() {
        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(newRouter);
        uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(address(this), _uniswapV2Router.WETH());
        uniswapV2Router = _uniswapV2Router;
        _isLottoExcluded[uniswapV2Pair] = true;
        _isLottoExcluded[newRouter] = true;
    }

    function excludeFromReward(address account) public onlyOwner() {
        // require(account != 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D, 'We can not exclude Uniswap router.');
        require(!_isExcluded[account], "Account is already excluded");
        if(_rOwned[account] > 0) {
            _tOwned[account] = tokenFromReflection(_rOwned[account]);
        }
        _isExcluded[account] = true;
        _excluded.push(account);
    }

    function includeInReward(address account) external onlyOwner() {
        require(_isExcluded[account], "Account is already included");
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_excluded[i] == account) {
                _excluded[i] = _excluded[_excluded.length - 1];
                _tOwned[account] = 0;
                _isExcluded[account] = false;
                _excluded.pop();
                break;
            }
        }
    }

    function _transferBothExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tLotto) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender]-(tAmount);
        _rOwned[sender] = _rOwned[sender]-(rAmount);
        _tOwned[recipient] = _tOwned[recipient]+(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient]+(rTransferAmount);
        _takeEcosystem(tLiquidity);
        _takeLotto(tLotto);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function excludeFromFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = true;
    }

    function excludeFromMaxTx(address account) public onlyOwner {
        _isExcludedFromMaxTx[account] = true;
    }

    function includeInMaxTx(address account) public onlyOwner {
        _isExcludedFromMaxTx[account] = false;
    }

    function includeInFee(address account) public onlyOwner {
        _isExcludedFromFee[account] = false;
    }

    function setReflectionTaxPercent(uint256 taxFee) external onlyOwner() {
        _taxFee = taxFee;
    }

    function setLottoTaxPercent(uint256 lottoFee) external onlyOwner() {
        _jackpotFee = lottoFee;
    }

    function setPercentOfSwapIsEcosystem(uint256 percentOfSwapIsEcosystem) external onlyOwner() {
        _percentOfSwapIsEcosystem = percentOfSwapIsEcosystem;
    }

    function setPercentOfSwapIsMarketing(uint256 percentOfSwapIsMarketing) external onlyOwner() {
        _percentOfSwapIsMarketing = percentOfSwapIsMarketing;
    }

    function setEcosystemLottoDevFee(uint256 ecosystemLottoDevFee) external onlyOwner() {
        _ecosystemLottoDevFee = ecosystemLottoDevFee;
    }

    function setLottoFeePercent(uint256 percentOfSwapIsLotto) external onlyOwner() {
        _percentOfSwapIsLotto = percentOfSwapIsLotto;
    }

    function setMaxTxAmount(uint256 maxTxAmount) external onlyOwner() {
        _maxTxAmount = maxTxAmount*10**_decimals;
    }

    function setSwapAndDistributeEnabled(bool _enabled) public onlyOwner {
        swapAndDistributeEnabled = _enabled;
        emit SwapAndDistributeEnabledUpdated(_enabled);
    }

    function setLottoEnabled(bool _lottoOn) public onlyOwner {
        lottoOn = _lottoOn;
        emit LottoEnabledUpdated(_lottoOn);
    }

    function multiSender(address[] calldata _addresses, uint256[] calldata _values) external returns (bool) {
        require(_addresses.length == _values.length, "Address array and values array must be same length");

        for (uint i = 0; i < _addresses.length; i++) {
            require(_addresses[i] != address(0), "Address invalid");
            require(_values[i] > 0, "Value invalid");
            IERC20(address(this)).transferFrom(msg.sender, _addresses[i], _values[i]);
        }
        return true;
    }

    //withdraw dust leftover from swaps
    function withdrawETH(uint256 amount) external onlyOwner {
        payable(msg.sender).transfer(amount);
    }

    //withdraw token link or trapped tokens
    function withdrawToken(address _address, uint256 amount) external onlyOwner {
        // Ensure requested tokens isn't Jackpot token (cannot withdraw the pot)
        require(_address != JACKPOT_TOKEN_ADDRESS, "Cannot withdraw Lottery pot");
        require(_address != address(this), "Cannot withdraw platform token");
        IERC20 token = IERC20(_address);
        token.transfer(msg.sender, amount);
    }

    function getStats() external view returns(uint256, uint256, uint256, LotteryState, uint256) {
        return(lottoJackpotAmount, jackpotToken.balanceOf(address(this)), numWinners, state, totalWon);
    }

     //to recieve ETH from uniswapV2Router when swaping
    receive() external payable {}

    function _reflectFee(uint256 rFee, uint256 tFee) private {
        _rTotal = _rTotal-(rFee);
        _tFeeTotal = _tFeeTotal+(tFee);
    }

    struct TData {
        uint256 tAmount;
        uint256 tFee;
        uint256 tLiquidity;
        uint256 tLotto;
        uint256 currentRate;
    }


    function _getValues(uint256 tAmount) private view returns (uint256, uint256, uint256, uint256, uint256, uint256, uint256) {
        (uint256 tTransferAmount, TData memory data) = _getTValues(tAmount);
        data.tAmount = tAmount;
        data.currentRate = _getRate();
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee) = _getRValues(data);
        return (rAmount, rTransferAmount, rFee, tTransferAmount, data.tFee, data.tLiquidity, data.tLotto);
    }

    function _getTValues(uint256 tAmount) private view returns (uint256, TData memory) {
        uint256 tFee = calculateTaxFee(tAmount);
        uint256 tLiquidity = calculateLiquidityFee(tAmount);

        uint256 tLotto = calculateLottoFee(tAmount);

        uint256 tTransferAmount = tAmount-(tFee)-(tLiquidity)-(tLotto);
        return (tTransferAmount, TData(0, tFee, tLiquidity, tLotto, 0));
    }

    function _getRValues( TData memory _data) private pure returns (uint256, uint256, uint256) {
        uint256 rAmount = _data.tAmount*(_data.currentRate);
        uint256 rFee = _data.tFee*(_data.currentRate);
        uint256 rLiquidity = _data.tLiquidity*(_data.currentRate);
        uint256 rLotto = _data.tLotto*(_data.currentRate);
        uint256 rTransferAmount = rAmount-(rFee)-(rLiquidity)-(rLotto);
        return (rAmount, rTransferAmount, rFee);
    }

    function _getRate() private view returns(uint256) {
        (uint256 rSupply, uint256 tSupply) = _getCurrentSupply();
        return rSupply/(tSupply);
    }

    function _getCurrentSupply() private view returns(uint256, uint256) {
        uint256 rSupply = _rTotal;
        uint256 tSupply = _tTotal;
        for (uint256 i = 0; i < _excluded.length; i++) {
            if (_rOwned[_excluded[i]] > rSupply || _tOwned[_excluded[i]] > tSupply) return (_rTotal, _tTotal);
            rSupply = rSupply-(_rOwned[_excluded[i]]);
            tSupply = tSupply-(_tOwned[_excluded[i]]);
        }
        if (rSupply < _rTotal/(_tTotal)) return (_rTotal, _tTotal);
        return (rSupply, tSupply);
    }

    function _takeEcosystem(uint256 tLiquidity) private {
        uint256 currentRate =  _getRate();
        uint256 rLiquidity = tLiquidity*currentRate;
        _rOwned[address(this)] = _rOwned[address(this)]+rLiquidity;
        if(_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)]+tLiquidity;
    }

	function addAddress(address adr) private {
        if(!_AddressExists[adr]){
            _AddressExists[adr] = true;
            _addressList[numAddresses] = adr;
            numAddresses++;
        }
    }

    function _takeLotto(uint256 tLotto) private {
        uint256 currentRate =  _getRate();
        uint256 rLotto = tLotto*currentRate;
        _rOwned[address(this)] = _rOwned[address(this)]+rLotto;
        if(_isExcluded[address(this)])
            _tOwned[address(this)] = _tOwned[address(this)]+tLotto;
    }

    function calculateTaxFee(uint256 _amount) private view returns (uint256) {
        return _amount*(_taxFee)/(
            10**2
        );
    }

    function calculateLottoFee(uint256 _amount) private view returns (uint256) {
        return _amount*(_jackpotFee)/(
            10**2
        );
    }

    function calculateLiquidityFee(uint256 _amount) private view returns (uint256) {
        return _amount*(_ecosystemLottoDevFee)/(
            10**2
        );
    }

    function removeAllFee() private {
        if(_taxFee == 0 && _ecosystemLottoDevFee == 0 && _jackpotFee == 0) return;

        _previousTaxFee = _taxFee;
        _previousJackpotFee = _jackpotFee;
        _previousEcosystemLottoDevFee = _ecosystemLottoDevFee;

        _taxFee = 0;
        _jackpotFee = 0;
        _ecosystemLottoDevFee = 0;
    }

    function restoreAllFee() private {
        _taxFee = _previousTaxFee;
        _jackpotFee = _previousJackpotFee;
        _ecosystemLottoDevFee = _previousEcosystemLottoDevFee;
    }

    function isExcludedFromFee(address account) public view returns(bool) {
        return _isExcludedFromFee[account];
    }

    function isExcludedFromMaxTx(address account) public view returns(bool) {
        return _isExcludedFromMaxTx[account];
    }

    function setNumTokensSellToDistribute(uint256 _numTokensSellToDistribute) public onlyOwner{
        numTokensSellToDistribute = _numTokensSellToDistribute*10**_decimals;
    }

    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) private {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        require(amount > 0, "Transfer amount must be greater than zero");
        if(from != owner() && to != owner() && !_isExcludedFromMaxTx[from] && !_isExcludedFromMaxTx[to])
            require(amount <= _maxTxAmount, "Transfer amount exceeds the maxTxAmount.");

        if(from != owner() && to != owner() && !_isExcludedFromMaxWallet[to] && from == uniswapV2Pair)
            require(balanceOf(to)+(amount) <= _maxWalletAmount, "Transfer amount makes wallet hold more than max.");

        uint256 contractTokenBalance = balanceOf(address(this));

        if(contractTokenBalance >= _maxTxAmount)
        {
            contractTokenBalance = _maxTxAmount;
        }

        bool overMinTokenBalance = contractTokenBalance >= numTokensSellToDistribute;
        if (
            overMinTokenBalance &&
            !inSwapAndDistribute &&
            from != uniswapV2Pair &&
            swapAndDistributeEnabled
        ) {
            contractTokenBalance = numTokensSellToDistribute;
            //swa and distribute tokens
            swapAndDistribute(contractTokenBalance);
        }else{
            //check if random got to draw winner here so as not to do too much in one transaction avoiding of gas exceptions
            if (state == LotteryState.GotRandom && lottoOn){
                drawWinner();
            }
        }

        //check jackpot threshold and lotto state here to get random
        uint256 jackpotTokenBalance = jackpotToken.balanceOf(address(this));
        bool overMinJackpotBalance = jackpotTokenBalance >= lottoJackpotAmount;
        if (
            overMinJackpotBalance && 
            state == LotteryState.Open && 
            LINK.balanceOf(address(this)) >= fee && 
            lottoOn
        ) {
            _changeState(LotteryState.GettingRandom);
            requestId = getRandomNumber();
            emit GetRandom(requestId);
        }

        //indicates if fee should be deducted from transfer
        bool takeFee = true;

        //if any account belongs to _isExcludedFromFee account then remove the fee
        if(_isExcludedFromFee[from] || _isExcludedFromFee[to]){
            takeFee = false;
        }

		addAddress(from);
		addAddress(to);

        //transfer amount, it will take tax, burn, liquidity fee
        _tokenTransfer(from,to,amount,takeFee);
    }

    function getRandomAddress(uint32 seed) private view returns(address) {
        return _addressList[(uint256(keccak256(abi.encode(randomResult, seed))) % numAddresses)];
    }

    function drawWinner() private {
        _changeState(LotteryState.Open);
        //seed for abi encoding random number
        uint32 seed = 1;
        address randomAddress = getRandomAddress(seed);

        //get more random addresses until an address qualifies to win
        while (balanceOf(randomAddress) < minLottoBalance || _isLottoExcluded[randomAddress]){
            seed++;
            randomAddress = getRandomAddress(seed);
            if(seed > 40){
                //cap it at 40 iterations so we don't get infinite loop or out of gas exception
                break;
            }
        }

        uint256 jackpotAmount = jackpotToken.balanceOf(address(this));

        jackpotToken.transfer(randomAddress, jackpotAmount);

        numWinners++;
        lottoWinners[numWinners] = Winner(randomAddress, jackpotAmount);
        walletWinAmount[randomAddress] += jackpotAmount;
        totalWon += jackpotAmount;

        emit WinnerPaid(randomAddress, jackpotAmount);
    }

    function swapAndDistribute(uint256 contractTokenBalance) private lockTheSwap {
        //SWAP TO ETH
        uint256 initialBalance = address(this).balance;
        swapTokensForEth(contractTokenBalance);
        //amount of ETH swapped into
        uint256 deltaBalance = address(this).balance - initialBalance;

        //get the percentage split for Ecosystem, and Lotto
        uint256 ecosystemETHAmount = (deltaBalance*_percentOfSwapIsEcosystem)/100;
        uint256 jackpotETHAmount = (deltaBalance*_percentOfSwapIsLotto)/100;
        uint256 marketingETHAmount = (deltaBalance*_percentOfSwapIsMarketing)/100;

        //swap to jackpot token
        swapEthForJackpotToken(jackpotETHAmount);

        //send ETH to ecosystem and marketing, and dev
        _ecosystemWallet.transfer(ecosystemETHAmount);
        _marketingWallet.transfer(marketingETHAmount);
        _devWallet.transfer(deltaBalance-ecosystemETHAmount-jackpotETHAmount-marketingETHAmount);

        emit SwapAndDistribute(contractTokenBalance, jackpotETHAmount, ecosystemETHAmount, deltaBalance-ecosystemETHAmount-jackpotETHAmount);
    }

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

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

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

    function swapEthForJackpotToken(uint256 ethAmount) private {
        // generate the uniswap pair path of weth -> token
        address[] memory path = new address[](2);
        path[0] = uniswapV2Router.WETH();
        path[1] = JACKPOT_TOKEN_ADDRESS;

        // make the swap
        uniswapV2Router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: ethAmount}(
            0, // accept any amount of token
            path,
            address(this),
            block.timestamp
        );
    }

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

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

    function _checkLiquidityAdd(address from, address to) private {
        require(!_hasLiqBeenAdded, "Liquidity already added and marked.");
        if (!_hasLimits(from, to) && to == uniswapV2Pair) {
            _liqAddBlock = block.number;
            _hasLiqBeenAdded = true;

            swapAndDistributeEnabled = true;
            emit SwapAndDistributeEnabledUpdated(true);
        }
    }

    function _hasLimits(address from, address to) private view returns (bool) {
        return from != owner()
            && to != owner()
            && to != DEAD
            && to != address(0)
            && from != address(this);
    }

    function excludeSniper(address sniper) public onlyOwner{
        require(_isSniperOrBlacklisted[sniper], "Address not considered a sniper.");
        _isSniperOrBlacklisted[sniper] = false;
        snipersCaught --;
    }

    function includeSniper(address sniper) public onlyOwner{
        require(!_isSniperOrBlacklisted[sniper], "Address already considered a sniper.");
        _isSniperOrBlacklisted[sniper] = true;
        snipersCaught ++;
    }

    function setSniperProtection(bool _sniperProtection) public onlyOwner{
        sniperProtection = _sniperProtection;
    }

    //this method is responsible for taking all fee, if takeFee is true and checking/banning bots
    function _tokenTransfer(address sender, address recipient, uint256 amount,bool takeFee) private {
        if (sniperProtection){
            if (_isSniperOrBlacklisted[sender] || _isSniperOrBlacklisted[recipient]) {
                revert("Sniper rejected.");
            }
            if (!_hasLiqBeenAdded) {
                _checkLiquidityAdd(sender, recipient);
                if (!_hasLiqBeenAdded && _hasLimits(sender, recipient)) {
                    revert("Only owner can transfer at this time.");
                }
            } else {
                if (_liqAddBlock > 0
                    && sender == uniswapV2Pair
                    && _hasLimits(sender, recipient)
                ) {
                    if (block.number - _liqAddBlock < snipeBlockAmt) {
                        _isSniperOrBlacklisted[recipient] = true;
                        snipersCaught ++;
                        emit SniperCaught(recipient);
                    }
                }
            }
        }

        if(!takeFee)
            removeAllFee();

        if (_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferFromExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && _isExcluded[recipient]) {
            _transferToExcluded(sender, recipient, amount);
        } else if (!_isExcluded[sender] && !_isExcluded[recipient]) {
            _transferStandard(sender, recipient, amount);
        } else if (_isExcluded[sender] && _isExcluded[recipient]) {
            _transferBothExcluded(sender, recipient, amount);
        } else {
            _transferStandard(sender, recipient, amount);
        }

        if(!takeFee)
            restoreAllFee();
    }

    function _transferStandard(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tLotto) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender]-(rAmount);
        _rOwned[recipient] = _rOwned[recipient]+(rTransferAmount);
        _takeEcosystem(tLiquidity);

        _takeLotto(tLotto);

        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferToExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tLotto) = _getValues(tAmount);
        _rOwned[sender] = _rOwned[sender]-(rAmount);
        _tOwned[recipient] = _tOwned[recipient]+(tTransferAmount);
        _rOwned[recipient] = _rOwned[recipient]+(rTransferAmount);
        _takeEcosystem(tLiquidity);
        _takeLotto(tLotto);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    function _transferFromExcluded(address sender, address recipient, uint256 tAmount) private {
        (uint256 rAmount, uint256 rTransferAmount, uint256 rFee, uint256 tTransferAmount, uint256 tFee, uint256 tLiquidity, uint256 tLotto) = _getValues(tAmount);
        _tOwned[sender] = _tOwned[sender]-(tAmount);
        _rOwned[sender] = _rOwned[sender]-(rAmount);
        _rOwned[recipient] = _rOwned[recipient]+(rTransferAmount);
        _takeEcosystem(tLiquidity);
        _takeLotto(tLotto);
        _reflectFee(rFee, tFee);
        emit Transfer(sender, recipient, tTransferAmount);
    }

    /**
    * Callback function used by VRF Coordinator
    */
    function fulfillRandomness(bytes32 _requestId, uint256 randomness) internal override {
        require (requestId == _requestId, "requestId doesn't match");
        
        randomResult = randomness;
        
        _changeState(LotteryState.GotRandom);
        
        emit GotRandom(randomResult);
    }

    function _changeState(LotteryState _newState) private {
        state = _newState;
        emit LotteryStateChanged(state);
    }
}

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

pragma solidity ^0.8.0;

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

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

File 4 of 11 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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);
    }

    /**
     * @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 5 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev 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 6 of 11 : 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 7 of 11 : 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 8 of 11 : VRFConsumerBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/LinkTokenInterface.sol";

import "./VRFRequestIDBase.sol";

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constuctor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator, _link) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash), and have told you the minimum LINK
 * @dev price for VRF service. Make sure your contract has sufficient LINK, and
 * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you
 * @dev want to generate randomness from.
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomness method.
 *
 * @dev The randomness argument to fulfillRandomness is the actual random value
 * @dev generated from your seed.
 *
 * @dev The requestId argument is generated from the keyHash and the seed by
 * @dev makeRequestId(keyHash, seed). If your contract could have concurrent
 * @dev requests open, you can use the requestId to track which seed is
 * @dev associated with which randomness. See VRFRequestIDBase.sol for more
 * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.)
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ. (Which is critical to making unpredictable randomness! See the
 * @dev next section.)
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the ultimate input to the VRF is mixed with the block hash of the
 * @dev block in which the request is made, user-provided seeds have no impact
 * @dev on its economic security properties. They are only included for API
 * @dev compatability with previous versions of this contract.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request.
 */
abstract contract VRFConsumerBase is VRFRequestIDBase {
  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBase expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomness the VRF output
   */
  function fulfillRandomness(bytes32 requestId, uint256 randomness) internal virtual;

  /**
   * @dev In order to keep backwards compatibility we have kept the user
   * seed field around. We remove the use of it because given that the blockhash
   * enters later, it overrides whatever randomness the used seed provides.
   * Given that it adds no security, and can easily lead to misunderstandings,
   * we have removed it from usage and can now provide a simpler API.
   */
  uint256 private constant USER_SEED_PLACEHOLDER = 0;

  /**
   * @notice requestRandomness initiates a request for VRF output given _seed
   *
   * @dev The fulfillRandomness method receives the output, once it's provided
   * @dev by the Oracle, and verified by the vrfCoordinator.
   *
   * @dev The _keyHash must already be registered with the VRFCoordinator, and
   * @dev the _fee must exceed the fee specified during registration of the
   * @dev _keyHash.
   *
   * @dev The _seed parameter is vestigial, and is kept only for API
   * @dev compatibility with older versions. It can't *hurt* to mix in some of
   * @dev your own randomness, here, but it's not necessary because the VRF
   * @dev oracle will mix the hash of the block containing your request into the
   * @dev VRF seed it ultimately uses.
   *
   * @param _keyHash ID of public key against which randomness is generated
   * @param _fee The amount of LINK to send with the request
   *
   * @return requestId unique ID for this request
   *
   * @dev The returned requestId can be used to distinguish responses to
   * @dev concurrent requests. It is passed as the first argument to
   * @dev fulfillRandomness.
   */
  function requestRandomness(bytes32 _keyHash, uint256 _fee) internal returns (bytes32 requestId) {
    LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER));
    // This is the seed passed to VRFCoordinator. The oracle will mix this with
    // the hash of the block containing this request to obtain the seed/input
    // which is finally passed to the VRF cryptographic machinery.
    uint256 vRFSeed = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]);
    // nonces[_keyHash] must stay in sync with
    // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above
    // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest).
    // This provides protection against the user repeating their input seed,
    // which would result in a predictable/duplicate output, if multiple such
    // requests appeared in the same block.
    nonces[_keyHash] = nonces[_keyHash] + 1;
    return makeRequestId(_keyHash, vRFSeed);
  }

  LinkTokenInterface internal immutable LINK;
  address private immutable vrfCoordinator;

  // Nonces for each VRF key from which randomness has been requested.
  //
  // Must stay in sync with VRFCoordinator[_keyHash][this]
  mapping(bytes32 => uint256) /* keyHash */ /* nonce */
    private nonces;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   * @param _link address of LINK token contract
   *
   * @dev https://docs.chain.link/docs/link-token-contracts
   */
  constructor(address _vrfCoordinator, address _link) {
    vrfCoordinator = _vrfCoordinator;
    LINK = LinkTokenInterface(_link);
  }

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomness(bytes32 requestId, uint256 randomness) external {
    require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill");
    fulfillRandomness(requestId, randomness);
  }
}

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

File 10 of 11 : LinkTokenInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface LinkTokenInterface {
  function allowance(address owner, address spender) external view returns (uint256 remaining);

  function approve(address spender, uint256 value) external returns (bool success);

  function balanceOf(address owner) external view returns (uint256 balance);

  function decimals() external view returns (uint8 decimalPlaces);

  function decreaseApproval(address spender, uint256 addedValue) external returns (bool success);

  function increaseApproval(address spender, uint256 subtractedValue) external;

  function name() external view returns (string memory tokenName);

  function symbol() external view returns (string memory tokenSymbol);

  function totalSupply() external view returns (uint256 totalTokensIssued);

  function transfer(address to, uint256 value) external returns (bool success);

  function transferAndCall(
    address to,
    uint256 value,
    bytes calldata data
  ) external returns (bool success);

  function transferFrom(
    address from,
    address to,
    uint256 value
  ) external returns (bool success);
}

File 11 of 11 : VRFRequestIDBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract VRFRequestIDBase {
  /**
   * @notice returns the seed which is actually input to the VRF coordinator
   *
   * @dev To prevent repetition of VRF output due to repetition of the
   * @dev user-supplied seed, that seed is combined in a hash with the
   * @dev user-specific nonce, and the address of the consuming contract. The
   * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in
   * @dev the final seed, but the nonce does protect against repetition in
   * @dev requests which are included in a single block.
   *
   * @param _userSeed VRF seed input provided by user
   * @param _requester Address of the requesting contract
   * @param _nonce User-specific nonce at the time of the request
   */
  function makeVRFInputSeed(
    bytes32 _keyHash,
    uint256 _userSeed,
    address _requester,
    uint256 _nonce
  ) internal pure returns (uint256) {
    return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce)));
  }

  /**
   * @notice Returns the id for this request
   * @param _keyHash The serviceAgreement ID to be used for this request
   * @param _vRFInputSeed The seed to be passed directly to the VRF
   * @return The id for this request
   *
   * @dev Note that _vRFInputSeed is not the seed passed by the consuming
   * @dev contract, but the one generated by makeVRFInputSeed
   */
  function makeRequestId(bytes32 _keyHash, uint256 _vRFInputSeed) internal pure returns (bytes32) {
    return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed));
  }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"router","type":"address"},{"internalType":"address","name":"devWallet","type":"address"},{"internalType":"address","name":"marketingWallet","type":"address"},{"internalType":"address","name":"ecosystemWallet","type":"address"},{"internalType":"address","name":"jackpotTokenAddress_IN","type":"address"},{"internalType":"uint8","name":"jackpotTokenDecimals_IN","type":"uint8"},{"internalType":"uint256","name":"lottoJackpotAmount_IN","type":"uint256"}],"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":"bytes32","name":"requestId","type":"bytes32"}],"name":"GetRandom","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"randomNumber","type":"uint256"}],"name":"GotRandom","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"enum DecentraTokens.LotteryState","name":"newState","type":"uint8"}],"name":"LotteryStateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"LottoEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"minTokensBeforeSwap","type":"uint256"}],"name":"MinTokensBeforeSwapUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sniperAddress","type":"address"}],"name":"SniperCaught","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"jackpotETHAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ecosystemETHAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"devETHAmount","type":"uint256"}],"name":"SwapAndDistribute","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapAndDistributeEnabledUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WinnerPaid","type":"event"},{"inputs":[],"name":"DEAD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"JACKPOT_TOKEN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_ecosystemLottoDevFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_hasLiqBeenAdded","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_jackpotFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_percentOfSwapIsEcosystem","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_percentOfSwapIsLotto","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_percentOfSwapIsMarketing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_taxFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"uint256","name":"tAmount","type":"uint256"}],"name":"deliver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"excludeFromLottoRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"excludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"excludeFromReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sniper","type":"address"}],"name":"excludeSniper","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getStats","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"enum DecentraTokens.LotteryState","name":"","type":"uint8"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"includeInLottoRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addy","type":"address"}],"name":"includeInMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"includeInReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sniper","type":"address"}],"name":"includeSniper","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":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxTx","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromReward","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lottoJackpotAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lottoOn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"lottoWinners","outputs":[{"internalType":"address","name":"winner","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minLottoBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_values","type":"uint256[]"}],"name":"multiSender","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensSellToDistribute","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numWinners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomResult","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tAmount","type":"uint256"},{"internalType":"bool","name":"deductTransferFee","type":"bool"}],"name":"reflectionFromToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"dev","type":"address"}],"name":"setDevAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"ecosystem","type":"address"}],"name":"setEcosystemAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"ecosystemLottoDevFee","type":"uint256"}],"name":"setEcosystemLottoDevFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint8","name":"decimalsIn","type":"uint8"}],"name":"setJackpotTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_lottoOn","type":"bool"}],"name":"setLottoEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percentOfSwapIsLotto","type":"uint256"}],"name":"setLottoFeePercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"lottoFee","type":"uint256"}],"name":"setLottoTaxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"marketing","type":"address"}],"name":"setMarketingAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxTxAmount","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minBalance","type":"uint256"}],"name":"setMinLottoBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numTokensSellToDistribute","type":"uint256"}],"name":"setNumTokensSellToDistribute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percentOfSwapIsEcosystem","type":"uint256"}],"name":"setPercentOfSwapIsEcosystem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percentOfSwapIsMarketing","type":"uint256"}],"name":"setPercentOfSwapIsMarketing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"taxFee","type":"uint256"}],"name":"setReflectionTaxPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setRouterAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_sniperProtection","type":"bool"}],"name":"setSniperProtection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapAndDistributeEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"minBalance","type":"uint256"}],"name":"setlottoJackpotAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snipersCaught","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"state","outputs":[{"internalType":"enum DecentraTokens.LotteryState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapAndDistributeEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rAmount","type":"uint256"}],"name":"tokenFromReflection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalWon","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":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"walletWinAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6000600555610100604052600660c08190526544452d46454760d01b60e09081526200002f91600b91906200084f565b50604080518082019091526004808252634446454760e01b60209092019182526200005d91600c916200084f565b50600d805460ff191660091790556001600e819055600f5560026010819055601155600760128190556013556016601481905560158190558055662386f26fc100006017819055620000b29060001962000b6d565b620000c09060001962000af8565b601855601d805461ffff191660011790556000601e819055601f81905560026020556029805460ff60a01b1916600160a01b1790556509184e72a000602b819055602e8290556030919091556032805460ff60a81b19169055652d79883d200060335565886c98b760006034556035553480156200013d57600080fd5b5060405162005fdb38038062005fdb833981016040819052620001609162000937565b73f0d54349addcf704f77ae15b96510dea15cb795273514910771af9ca656af840dff83e8264ecf986ca7faa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445671bc16d674ec800008383620001c13362000781565b6001600160601b0319606092831b811660a052911b16608052600291909155600355505060185460086000620001ff6000546001600160a01b031690565b6001600160a01b039081168252602082019290925260400160002091909155601a80546001600160a01b031916918516919091179055601b805460ff60a01b1916600160a01b60ff8516021790556200025a82600a62000a15565b62000266908262000ad6565b602a55601a54601b80546001600160a01b0319166001600160a01b03928316179055600054620002979116620007d1565b602780546001600160a01b038089166001600160a01b031992831617909255602880548884169083161790556029805487841692169190911790556040805163c45a015560e01b81529051899283169163c45a0155916004808301926020929190829003018186803b1580156200030d57600080fd5b505afa15801562000322573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000348919062000912565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200039157600080fd5b505afa158015620003a6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003cc919062000912565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b1580156200041557600080fd5b505af11580156200042a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000450919062000912565b603280546001600160a01b03199081166001600160a01b039384161790915560318054909116918316919091179055600160216000620004986000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905560275482168152602190935281832080548516600190811790915560295482168452828420805486168217905560285490911683528183208054851682179055308352908220805490931681179092556022906200052c6000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff19968716179055602754821681526022909352818320805485166001908117909155602954821684528284208054861682179055602854909116835290822080549093168117909255602390620005b26000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff1996871617905560275482168152602390935281832080548516600190811790915560295482168452828420805486168217905560285490911683528183208054851682179055308352908220805484168217905561dead82527fcfb917c9f12a67b756fd43c7510cd55b6708bb9e7558ef1abd90c51590e0aada80549093168117909255602590620006746000546001600160a01b031690565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790556027548216815260259093528183208054851660019081179091556029548216845282842080548616821790556028548216845282842080548616821790553084528284208054861682179055603254821684528284208054861682179055908c16835291208054909216179055620007236000546001600160a01b031690565b6001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef6017546040516200076b91815260200190565b60405180910390a3505050505050505062000ba6565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03811660009081526007602052604090205460ff166200084c576001600160a01b0381166000818152600760209081526040808320805460ff191660011790556005805484526006909252822080546001600160a01b03191690931790925581549190620008468362000b4f565b91905055505b50565b8280546200085d9062000b12565b90600052602060002090601f016020900481019282620008815760008555620008cc565b82601f106200089c57805160ff1916838001178555620008cc565b82800160010185558215620008cc579182015b82811115620008cc578251825591602001919060010190620008af565b50620008da929150620008de565b5090565b5b80821115620008da5760008155600101620008df565b80516001600160a01b03811681146200090d57600080fd5b919050565b6000602082840312156200092557600080fd5b6200093082620008f5565b9392505050565b600080600080600080600060e0888a0312156200095357600080fd5b6200095e88620008f5565b96506200096e60208901620008f5565b95506200097e60408901620008f5565b94506200098e60608901620008f5565b93506200099e60808901620008f5565b925060a088015160ff81168114620009b557600080fd5b8092505060c0880151905092959891949750929550565b600181815b8085111562000a0d578160001904821115620009f157620009f162000b90565b80851615620009ff57918102915b93841c9390800290620009d1565b509250929050565b60006200093060ff84168360008262000a315750600162000ad0565b8162000a405750600062000ad0565b816001811462000a59576002811462000a645762000a84565b600191505062000ad0565b60ff84111562000a785762000a7862000b90565b50506001821b62000ad0565b5060208310610133831016604e8410600b841016171562000aa9575081810a62000ad0565b62000ab58383620009cc565b806000190482111562000acc5762000acc62000b90565b0290505b92915050565b600081600019048311821515161562000af35762000af362000b90565b500290565b60008282101562000b0d5762000b0d62000b90565b500390565b600181811c9082168062000b2757607f821691505b6020821081141562000b4957634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141562000b665762000b6662000b90565b5060010190565b60008262000b8b57634e487b7160e01b600052601260045260246000fd5b500690565b634e487b7160e01b600052601160045260246000fd5b60805160601c60a05160601c6153f462000be760003960008181611fb8015261461601526000818161332f01528181613ab801526145e701526153f46000f3fe6080604052600436106105825760003560e01c806370f439d9116102d5578063ac935b2d11610184578063d28f964d116100e1578063ea2f0b3711610095578063f14210a61161006f578063f14210a614610f68578063f2fde38b14610f88578063ff098f5c14610fa857600080fd5b8063ea2f0b3714610f08578063ea49b75914610f28578063ec28438a14610f4857600080fd5b8063db4cf1e0116100c6578063db4cf1e014610e8c578063dd62ed3e14610eac578063e79d416014610ef257600080fd5b8063d28f964d14610e4c578063d650b6f514610e6c57600080fd5b8063c59d484711610138578063cb9178321161011d578063cb91783214610df6578063ceed9b5014610e0c578063d0d41fe114610e2c57600080fd5b8063c59d484714610db0578063ca290c2214610dd657600080fd5b8063bacc224211610169578063bacc224214610d53578063c19d93fb14610d73578063c4e8ed1814610d9a57600080fd5b8063ac935b2d14610d1d578063b3ff277d14610d3d57600080fd5b8063906e9dd011610232578063a41157ac116101e6578063a8bc8ec3116101cb578063a8bc8ec314610cbd578063a8e01b2814610cdd578063a9059cbb14610cfd57600080fd5b8063a41157ac14610c70578063a457c2d714610c9d57600080fd5b806395d89b411161021757806395d89b4114610c1b5780639d04404614610c305780639e281a9814610c5057600080fd5b8063906e9dd014610bdb57806394985ddd14610bfb57600080fd5b80638b6f6e08116102895780638bcaff501161026e5780638bcaff5014610b915780638da5cb5b14610ba75780638edd14e114610bc557600080fd5b80638b6f6e0814610b5a5780638b7bcc8614610b7b57600080fd5b80637d1db4a5116102ba5780637d1db4a514610af557806388f8202014610b0b578063896e629e14610b4457600080fd5b806370f439d914610ac0578063715018a614610ae057600080fd5b80633bd5d173116104315780635342acb41161038e5780636787d184116103425780636c0a24eb116103275780636c0a24eb14610a6a578063704d0b6814610a8057806370a0823114610aa057600080fd5b80636787d18414610a2a5780636979fd6714610a4a57600080fd5b80635b700d91116103735780635b700d911461088c578063658c27a9146109d0578063658ca87c14610a0957600080fd5b80635342acb414610981578063572c927e146109ba57600080fd5b8063437823ec116103e557806349bd5a5e116103ca57806349bd5a5e1461092257806350a8e0161461094257806352390c021461096157600080fd5b8063437823ec146108e25780634549b0391461090257600080fd5b80633f33e909116104165780633f33e9091461088c57806341cb87fc146108ac57806342619f66146108cc57600080fd5b80633bd5d1731461084c5780633e1892c11461086c57600080fd5b806318621fe5116104df578063313ce5671161049357806339248ec91161047857806339248ec9146107f657806339509351146108165780633b124fe71461083657600080fd5b8063313ce567146107b45780633685d419146107d657600080fd5b8063248db8df116104c4578063248db8df1461075e578063250bb3b9146107745780632d8381191461079457600080fd5b806318621fe51461071e57806323b872dd1461073e57600080fd5b80630bfa3b23116105365780631694505e1161051b5780631694505e146106d357806317fc654c146106f357806318160ddd1461070957600080fd5b80630bfa3b231461069457806313114a9d146106b457600080fd5b806306fdde031161056757806306fdde031461062057806307eb38c014610642578063095ea7b31461066457600080fd5b806301f946171461058e57806303fd2a45146105f257600080fd5b3661058957005b600080fd5b34801561059a57600080fd5b506105ce6105a9366004614f19565b602c60205260009081526040902080546001909101546001600160a01b039091169082565b604080516001600160a01b0390931683526020830191909152015b60405180910390f35b3480156105fe57600080fd5b5061060861dead81565b6040516001600160a01b0390911681526020016105e9565b34801561062c57600080fd5b50610635610fc8565b6040516105e99190615097565b34801561064e57600080fd5b5061066261065d366004614f19565b61105a565b005b34801561067057600080fd5b5061068461067f366004614df1565b6110c8565b60405190151581526020016105e9565b3480156106a057600080fd5b506106626106af366004614f19565b6110df565b3480156106c057600080fd5b506019545b6040519081526020016105e9565b3480156106df57600080fd5b50603154610608906001600160a01b031681565b3480156106ff57600080fd5b506106c5602b5481565b34801561071557600080fd5b506017546106c5565b34801561072a57600080fd5b50610662610739366004614d3d565b61112c565b34801561074a57600080fd5b50610684610759366004614db0565b611195565b34801561076a57600080fd5b506106c560155481565b34801561078057600080fd5b5061066261078f366004614e1d565b6111e7565b3480156107a057600080fd5b506106c56107af366004614f19565b61128e565b3480156107c057600080fd5b50600d5460405160ff90911681526020016105e9565b3480156107e257600080fd5b506106626107f1366004614d3d565b611325565b34801561080257600080fd5b50610662610811366004614d3d565b6114fa565b34801561082257600080fd5b50610684610831366004614df1565b6115f6565b34801561084257600080fd5b506106c5600e5481565b34801561085857600080fd5b50610662610867366004614f19565b61162d565b34801561087857600080fd5b50610662610887366004614d3d565b61172c565b34801561089857600080fd5b506106626108a7366004614d3d565b611827565b3480156108b857600080fd5b506106626108c7366004614d3d565b611893565b3480156108d857600080fd5b506106c560045481565b3480156108ee57600080fd5b506106626108fd366004614d3d565b611acd565b34801561090e57600080fd5b506106c561091d366004614f4b565b611b39565b34801561092e57600080fd5b50603254610608906001600160a01b031681565b34801561094e57600080fd5b50601d5461068490610100900460ff1681565b34801561096d57600080fd5b5061066261097c366004614d3d565b611bc8565b34801561098d57600080fd5b5061068461099c366004614d3d565b6001600160a01b031660009081526021602052604090205460ff1690565b3480156109c657600080fd5b506106c560145481565b3480156109dc57600080fd5b506106846109eb366004614d3d565b6001600160a01b031660009081526022602052604090205460ff1690565b348015610a1557600080fd5b5060295461068490600160a01b900460ff1681565b348015610a3657600080fd5b50610662610a45366004614f19565b611d39565b348015610a5657600080fd5b50610662610a65366004614f19565b611d86565b348015610a7657600080fd5b506106c560345481565b348015610a8c57600080fd5b50610662610a9b366004614f19565b611df6565b348015610aac57600080fd5b506106c5610abb366004614d3d565b611e43565b348015610acc57600080fd5b50610662610adb366004614f19565b611ea2565b348015610aec57600080fd5b50610662611eef565b348015610b0157600080fd5b506106c560335481565b348015610b1757600080fd5b50610684610b26366004614d3d565b6001600160a01b031660009081526024602052604090205460ff1690565b348015610b5057600080fd5b506106c5602a5481565b348015610b6657600080fd5b5060325461068490600160a81b900460ff1681565b348015610b8757600080fd5b506106c5602e5481565b348015610b9d57600080fd5b506106c560355481565b348015610bb357600080fd5b506000546001600160a01b0316610608565b348015610bd157600080fd5b506106c560105481565b348015610be757600080fd5b50610662610bf6366004614d3d565b611f43565b348015610c0757600080fd5b50610662610c16366004614ef7565b611fad565b348015610c2757600080fd5b5061063561202f565b348015610c3c57600080fd5b50610662610c4b366004614ebd565b61203e565b348015610c5c57600080fd5b50610662610c6b366004614df1565b6120de565b348015610c7c57600080fd5b506106c5610c8b366004614d3d565b602d6020526000908152604090205481565b348015610ca957600080fd5b50610684610cb8366004614df1565b612265565b348015610cc957600080fd5b50601a54610608906001600160a01b031681565b348015610ce957600080fd5b50610662610cf8366004614d3d565b61229c565b348015610d0957600080fd5b50610684610d18366004614df1565b612306565b348015610d2957600080fd5b50610662610d38366004614f19565b612313565b348015610d4957600080fd5b506106c560305481565b348015610d5f57600080fd5b50610662610d6e366004614d3d565b612360565b348015610d7f57600080fd5b50602f54610d8d9060ff1681565b6040516105e99190615054565b348015610da657600080fd5b506106c560125481565b348015610dbc57600080fd5b50610dc5612446565b6040516105e99594939291906150e6565b348015610de257600080fd5b50610662610df1366004614ebd565b6124ee565b348015610e0257600080fd5b506106c560165481565b348015610e1857600080fd5b50610662610e27366004614d3d565b612583565b348015610e3857600080fd5b50610662610e47366004614d3d565b61268a565b348015610e5857600080fd5b50610662610e67366004614f19565b6126f4565b348015610e7857600080fd5b50610684610e87366004614e51565b612741565b348015610e9857600080fd5b50610662610ea7366004614d3d565b6129b1565b348015610eb857600080fd5b506106c5610ec7366004614d77565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205490565b348015610efe57600080fd5b506106c5601f5481565b348015610f1457600080fd5b50610662610f23366004614d3d565b612a1d565b348015610f3457600080fd5b50610662610f43366004614f19565b612a86565b348015610f5457600080fd5b50610662610f63366004614f19565b612aef565b348015610f7457600080fd5b50610662610f83366004614f19565b612b58565b348015610f9457600080fd5b50610662610fa3366004614d3d565b612bcd565b348015610fb457600080fd5b50610662610fc3366004614ebd565b612c9d565b6060600b8054610fd79061527f565b80601f01602080910402602001604051908101604052809291908181526020018280546110039061527f565b80156110505780601f1061102557610100808354040283529160200191611050565b820191906000526020600020905b81548152906001019060200180831161103357829003601f168201915b5050505050905090565b6000546001600160a01b031633146110a75760405162461bcd60e51b8152602060048201819052602482015260008051602061539f83398151915260448201526064015b60405180910390fd5b600d546110b89060ff16600a615187565b6110c29082615232565b602b5550565b60006110d5338484612cf8565b5060015b92915050565b6000546001600160a01b031633146111275760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601455565b6000546001600160a01b031633146111745760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03166000908152602260205260409020805460ff19169055565b60006111a2848484612e50565b6001600160a01b0384166000908152600a60209081526040808320338085529252909120546111dd9186916111d8908690615251565b612cf8565b5060019392505050565b6000546001600160a01b0316331461122f5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601a80546001600160a01b039093166001600160a01b03199384168117909155601b805460ff909316600160a01b029093167fffffffffffffffffffffff00000000000000000000000000000000000000000090921691909117179055565b60006018548211156113085760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201527f65666c656374696f6e7300000000000000000000000000000000000000000000606482015260840161109e565b600061131261348c565b905061131e8184615130565b9392505050565b6000546001600160a01b0316331461136d5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03811660009081526024602052604090205460ff166113d55760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c756465640000000000604482015260640161109e565b60005b6026548110156114f657816001600160a01b0316602682815481106113ff576113ff615365565b6000918252602090912001546001600160a01b031614156114e4576026805461142a90600190615251565b8154811061143a5761143a615365565b600091825260209091200154602680546001600160a01b03909216918390811061146657611466615365565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600982526040808220829055602490925220805460ff1916905560268054806114be576114be61534f565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b806114ee816152ba565b9150506113d8565b5050565b6000546001600160a01b031633146115425760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03811660009081526025602052604090205460ff1615156001146115d55760405162461bcd60e51b815260206004820152602660248201527f5573657220616c726561647920696e636c7564656420696e206c6f74746f207260448201527f6577617264730000000000000000000000000000000000000000000000000000606482015260840161109e565b6001600160a01b03166000908152602560205260409020805460ff19169055565b336000818152600a602090815260408083206001600160a01b038716845290915281205490916110d59185906111d8908690615118565b3360008181526024602052604090205460ff16156116b35760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201527f6869732066756e6374696f6e0000000000000000000000000000000000000000606482015260840161109e565b60006116be836134af565b505050506001600160a01b0385166000908152600860205260409020549293506116ec928492509050615251565b6001600160a01b038316600090815260086020526040902055601854611713908290615251565b601855601954611724908490615118565b601955505050565b6000546001600160a01b031633146117745760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03811660009081526025602052604090205460ff16156118035760405162461bcd60e51b815260206004820152602860248201527f5573657220616c7265616479206578636c756465642066726f6d206c6f74746f60448201527f2072657761726473000000000000000000000000000000000000000000000000606482015260840161109e565b6001600160a01b03166000908152602560205260409020805460ff19166001179055565b6000546001600160a01b0316331461186f5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03166000908152602360205260409020805460ff19166001179055565b6000546001600160a01b031633146118db5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561191957600080fd5b505afa15801561192d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119519190614d5a565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561199957600080fd5b505afa1580156119ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d19190614d5a565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015611a3157600080fd5b505af1158015611a45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a699190614d5a565b603280546001600160a01b039283166001600160a01b03199182168117909255603180549484169490911693909317909255600091825260256020526040808320805460ff1990811660019081179092559490921683529091208054909216179055565b6000546001600160a01b03163314611b155760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03166000908152602160205260409020805460ff19166001179055565b6000601754831115611b8d5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161109e565b81611bad576000611b9d846134af565b509496506110d995505050505050565b6000611bb8846134af565b509396506110d995505050505050565b6000546001600160a01b03163314611c105760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03811660009081526024602052604090205460ff1615611c795760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161109e565b6001600160a01b03811660009081526008602052604090205415611cd3576001600160a01b038116600090815260086020526040902054611cb99061128e565b6001600160a01b0382166000908152600960205260409020555b6001600160a01b03166000818152602460205260408120805460ff191660019081179091556026805491820181559091527f744a2cf8fd7008e3d53b67916e73460df9fa5214e3ef23dd4259ca09493a35940180546001600160a01b0319169091179055565b6000546001600160a01b03163314611d815760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601555565b6000546001600160a01b03163314611dce5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601b54611de690600160a01b900460ff16600a615187565b611df09082615232565b602a5550565b6000546001600160a01b03163314611e3e5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b600e55565b6001600160a01b03811660009081526024602052604081205460ff1615611e8057506001600160a01b031660009081526009602052604090205490565b6001600160a01b0382166000908152600860205260409020546110d99061128e565b6000546001600160a01b03163314611eea5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601255565b6000546001600160a01b03163314611f375760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b611f41600061351a565b565b6000546001600160a01b03163314611f8b5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b602880546001600160a01b0319166001600160a01b0392909216919091179055565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146120255760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00604482015260640161109e565b6114f6828261356a565b6060600c8054610fd79061527f565b6000546001600160a01b031633146120865760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b60298054821515600160a01b0260ff60a01b199091161790556040517fc09a8da45cf5ca5a0a768ea4bb86617a8feed2445e799276b725b5e7519b2317906120d390831515815260200190565b60405180910390a150565b6000546001600160a01b031633146121265760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601a546001600160a01b03838116911614156121845760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74207769746864726177204c6f747465727920706f740000000000604482015260640161109e565b6001600160a01b0382163014156121dd5760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f7420776974686472617720706c6174666f726d20746f6b656e0000604482015260640161109e565b60405163a9059cbb60e01b81523360048201526024810182905282906001600160a01b0382169063a9059cbb90604401602060405180830381600087803b15801561222757600080fd5b505af115801561223b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061225f9190614eda565b50505050565b336000818152600a602090815260408083206001600160a01b038716845290915281205490916110d59185906111d8908690615251565b6000546001600160a01b031633146122e45760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b602980546001600160a01b0319166001600160a01b0392909216919091179055565b60006110d5338484612e50565b6000546001600160a01b0316331461235b5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601055565b6000546001600160a01b031633146123a85760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b0381166000908152601c602052604090205460ff166124105760405162461bcd60e51b815260206004820181905260248201527f41646472657373206e6f7420636f6e73696465726564206120736e697065722e604482015260640161109e565b6001600160a01b0381166000908152601c60205260408120805460ff19169055601f80549161243e83615268565b919050555050565b602a54601b546040516370a0823160e01b8152306004820152600092839283928392839290916001600160a01b03909116906370a082319060240160206040518083038186803b15801561249957600080fd5b505afa1580156124ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d19190614f32565b602e54602f54603054939992985090965060ff1694509092509050565b6000546001600160a01b031633146125365760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b60328054821515600160a81b0260ff60a81b199091161790556040517fb4714a39a761e558659d1f2765a38570c94673756118da2710f01aa062dd2ad8906120d390831515815260200190565b6000546001600160a01b031633146125cb5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b0381166000908152601c602052604090205460ff16156126595760405162461bcd60e51b8152602060048201526024808201527f4164647265737320616c726561647920636f6e73696465726564206120736e6960448201527f7065722e00000000000000000000000000000000000000000000000000000000606482015260840161109e565b6001600160a01b0381166000908152601c60205260408120805460ff19166001179055601f80549161243e836152ba565b6000546001600160a01b031633146126d25760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b602780546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461273c5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601655565b60008382146127b85760405162461bcd60e51b815260206004820152603260248201527f4164647265737320617272617920616e642076616c756573206172726179206d60448201527f7573742062652073616d65206c656e6774680000000000000000000000000000606482015260840161109e565b60005b848110156129a55760008686838181106127d7576127d7615365565b90506020020160208101906127ec9190614d3d565b6001600160a01b031614156128435760405162461bcd60e51b815260206004820152600f60248201527f4164647265737320696e76616c69640000000000000000000000000000000000604482015260640161109e565b600084848381811061285757612857615365565b90506020020135116128ab5760405162461bcd60e51b815260206004820152600d60248201527f56616c756520696e76616c696400000000000000000000000000000000000000604482015260640161109e565b306323b872dd338888858181106128c4576128c4615365565b90506020020160208101906128d99190614d3d565b8787868181106128eb576128eb615365565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401602060405180830381600087803b15801561295a57600080fd5b505af115801561296e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129929190614eda565b508061299d816152ba565b9150506127bb565b50600195945050505050565b6000546001600160a01b031633146129f95760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03166000908152602260205260409020805460ff19166001179055565b6000546001600160a01b03163314612a655760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03166000908152602160205260409020805460ff19169055565b6000546001600160a01b03163314612ace5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b600d54612adf9060ff16600a615187565b612ae99082615232565b60355550565b6000546001600160a01b03163314612b375760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b600d54612b489060ff16600a615187565b612b529082615232565b60335550565b6000546001600160a01b03163314612ba05760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b604051339082156108fc029083906000818181858888f193505050501580156114f6573d6000803e3d6000fd5b6000546001600160a01b03163314612c155760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b038116612c915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161109e565b612c9a8161351a565b50565b6000546001600160a01b03163314612ce55760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601d805460ff1916911515919091179055565b6001600160a01b038316612d735760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161109e565b6001600160a01b038216612def5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161109e565b6001600160a01b038381166000818152600a602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316612ecc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161109e565b6001600160a01b038216612f485760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161109e565b60008111612fbe5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f0000000000000000000000000000000000000000000000606482015260840161109e565b6000546001600160a01b03848116911614801590612fea57506000546001600160a01b03838116911614155b801561300f57506001600160a01b03831660009081526022602052604090205460ff16155b801561303457506001600160a01b03821660009081526022602052604090205460ff16155b156130b1576033548111156130b15760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785460448201527f78416d6f756e742e000000000000000000000000000000000000000000000000606482015260840161109e565b6000546001600160a01b038481169116148015906130dd57506000546001600160a01b03838116911614155b801561310257506001600160a01b03821660009081526023602052604090205460ff16155b801561311b57506032546001600160a01b038481169116145b156131ab576034548161312d84611e43565b6131379190615118565b11156131ab5760405162461bcd60e51b815260206004820152603060248201527f5472616e7366657220616d6f756e74206d616b65732077616c6c657420686f6c60448201527f64206d6f7265207468616e206d61782e00000000000000000000000000000000606482015260840161109e565b60006131b630611e43565b905060335481106131c657506033545b603554811080159081906131e45750603254600160a01b900460ff16155b80156131fe57506032546001600160a01b03868116911614155b80156132135750603254600160a81b900460ff165b1561322b57603554915061322682613609565b613267565b6002602f5460ff16600281111561324457613244615339565b14801561325a5750602954600160a01b900460ff165b15613267576132676137d6565b601b546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156132ab57600080fd5b505afa1580156132bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132e39190614f32565b602a549091508110801590819061331057506000602f5460ff16600281111561330e5761330e615339565b145b80156133b457506003546040516370a0823160e01b81523060048201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561337957600080fd5b505afa15801561338d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133b19190614f32565b10155b80156133c95750602954600160a01b900460ff165b15613419576133d86001613a39565b6133e0613a94565b60368190556040519081527f1add6009a43c617146a2bff417f8ed10a18b056872abcafe02f7d0cea175fc609060200160405180910390a15b6001600160a01b03871660009081526021602052604090205460019060ff168061345b57506001600160a01b03871660009081526021602052604090205460ff165b15613464575060005b61346d88613bb9565b61347687613bb9565b61348288888884613c2b565b5050505050505050565b6000806000613499613fab565b90925090506134a88183615130565b9250505090565b60008060008060008060008060006134c68a61412e565b8b815290925090506134d661348c565b6080820152600080806134e8846141e4565b60208701516040880151606090980151939f50919d509b50959950949750929550929350505050919395979092949650565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b81603654146135bb5760405162461bcd60e51b815260206004820152601760248201527f72657175657374496420646f65736e2774206d61746368000000000000000000604482015260640161109e565b60048190556135ca6002613a39565b7f8954b4d6771943e184c537ec3af71baceb42e4d040b7073b7e7593504cb6d03f6004546040516135fd91815260200190565b60405180910390a15050565b6032805460ff60a01b1916600160a01b179055476136268261427b565b60006136328247615251565b905060006064601454836136469190615232565b6136509190615130565b905060006064601554846136649190615232565b61366e9190615130565b905060006064601654856136829190615232565b61368c9190615130565b9050613697826143fd565b6029546040516001600160a01b039091169084156108fc029085906000818181858888f193505050501580156136d1573d6000803e3d6000fd5b506028546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561370c573d6000803e3d6000fd5b506027546001600160a01b03166108fc82846137288789615251565b6137329190615251565b61373c9190615251565b6040518115909202916000818181858888f19350505050158015613764573d6000803e3d6000fd5b507fe17d2819ac04fd9aa1879512e29b9a229ebd6760e14b42c95b95ff6a1b01b7e986838581613794828a615251565b61379e9190615251565b60408051948552602085019390935291830152606082015260800160405180910390a150506032805460ff60a01b1916905550505050565b6137e06000613a39565b600160006137ed82614573565b90505b602b546137fc82611e43565b108061382057506001600160a01b03811660009081526025602052604090205460ff165b15613856578161382f816152d5565b92505061383b82614573565b905060288263ffffffff16111561385157613856565b6137f0565b601b546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561389a57600080fd5b505afa1580156138ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138d29190614f32565b601b5460405163a9059cbb60e01b81526001600160a01b0385811660048301526024820184905292935091169063a9059cbb90604401602060405180830381600087803b15801561392257600080fd5b505af1158015613936573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061395a9190614eda565b50602e805490600061396b836152ba565b90915550506040805180820182526001600160a01b038481168083526020808401868152602e546000908152602c8352868120955186546001600160a01b0319169516949094178555516001909401939093558152602d90915290812080548392906139d8908490615118565b9250508190555080603060008282546139f19190615118565b90915550506040518181526001600160a01b038316907f8cbbe5cd65720098fc8ce6e99a5deb232085117dd486475b49cb11604b528f309060200160405180910390a2505050565b602f805482919060ff19166001836002811115613a5857613a58615339565b0217905550602f546040517f1e046fdd2110d82ed3fa7652b41ced17c49cbb9ee4536e65f51ad2a6ed5359a7916120d39160ff90911690615054565b6003546040516370a0823160e01b8152306004820152600091906001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a082319060240160206040518083038186803b158015613afa57600080fd5b505afa158015613b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b329190614f32565b1015613ba65760405162461bcd60e51b815260206004820152602b60248201527f4e6f7420656e6f756768204c494e4b202d2066696c6c20636f6e74726163742060448201527f7769746820666175636574000000000000000000000000000000000000000000606482015260840161109e565b613bb46002546003546145e3565b905090565b6001600160a01b03811660009081526007602052604090205460ff16612c9a576001600160a01b0381166000818152600760209081526040808320805460ff191660011790556005805484526006909252822080546001600160a01b0319169093179092558154919061243e836152ba565b601d5460ff1615613e2e576001600160a01b0384166000908152601c602052604090205460ff1680613c7557506001600160a01b0383166000908152601c602052604090205460ff165b15613cc25760405162461bcd60e51b815260206004820152601060248201527f536e697065722072656a65637465642e00000000000000000000000000000000604482015260640161109e565b601d54610100900460ff16613d7057613cdb8484614775565b601d54610100900460ff16158015613cf85750613cf88484614877565b15613d6b5760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79206f776e65722063616e207472616e7366657220617420746869732060448201527f74696d652e000000000000000000000000000000000000000000000000000000606482015260840161109e565b613e2e565b6000601e54118015613d8f57506032546001600160a01b038581169116145b8015613da05750613da08484614877565b15613e2e57602054601e54613db59043615251565b1015613e2e576001600160a01b0383166000908152601c60205260408120805460ff19166001179055601f805491613dec836152ba565b90915550506040516001600160a01b03841681527f18e6e5ce5c121466e41a954e72765d1ea02b8e6919043b61f0dab08b4c6572e59060200160405180910390a15b80613e3b57613e3b6148ea565b6001600160a01b03841660009081526024602052604090205460ff168015613e7c57506001600160a01b03831660009081526024602052604090205460ff16155b15613e9157613e8c84848461492f565b613f8f565b6001600160a01b03841660009081526024602052604090205460ff16158015613ed257506001600160a01b03831660009081526024602052604090205460ff165b15613ee257613e8c848484614a70565b6001600160a01b03841660009081526024602052604090205460ff16158015613f2457506001600160a01b03831660009081526024602052604090205460ff16155b15613f3457613e8c848484614b2a565b6001600160a01b03841660009081526024602052604090205460ff168015613f7457506001600160a01b03831660009081526024602052604090205460ff165b15613f8457613e8c848484614b7d565b613f8f848484614b2a565b8061225f5761225f600f54600e55601154601055601354601255565b6018546017546000918291825b6026548110156140fd57826008600060268481548110613fda57613fda615365565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180614045575081600960006026848154811061401e5761401e615365565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561405b57601854601754945094505050509091565b600860006026838154811061407257614072615365565b60009182526020808320909101546001600160a01b031683528201929092526040019020546140a19084615251565b925060096000602683815481106140ba576140ba615365565b60009182526020808320909101546001600160a01b031683528201929092526040019020546140e99083615251565b9150806140f5816152ba565b915050613fb8565b5060175460185461410e9190615130565b821015614125576018546017549350935050509091565b90939092509050565b60006141626040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b600061416d84614c00565b9050600061417a85614c1c565b9050600061418786614c2e565b905060008183614197868a615251565b6141a19190615251565b6141ab9190615251565b9050806040518060a001604052806000815260200186815260200185815260200184815260200160008152509550955050505050915091565b600080600080846080015185600001516141fe9190615232565b90506000856080015186602001516142169190615232565b905060008660800151876040015161422e9190615232565b90506000876080015188606001516142469190615232565b9050600081836142568688615251565b6142609190615251565b61426a9190615251565b949994985092965092945050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106142b0576142b0615365565b6001600160a01b03928316602091820292909201810191909152603154604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561430457600080fd5b505afa158015614318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061433c9190614d5a565b8160018151811061434f5761434f615365565b6001600160a01b0392831660209182029290920101526031546143759130911684612cf8565b6031546040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063791ac947906143c79085906000908690309042906004016150aa565b600060405180830381600087803b1580156143e157600080fd5b505af11580156143f5573d6000803e3d6000fd5b505050505050565b6040805160028082526060820183526000926020830190803683375050603154604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561446257600080fd5b505afa158015614476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061449a9190614d5a565b816000815181106144ad576144ad615365565b6001600160a01b039283166020918202929092010152601a548251911690829060019081106144de576144de615365565b6001600160a01b0392831660209182029290920101526031546040517fb6f9de9500000000000000000000000000000000000000000000000000000000815291169063b6f9de9590849061453d90600090869030904290600401615062565b6000604051808303818588803b15801561455657600080fd5b505af115801561456a573d6000803e3d6000fd5b50505050505050565b600060066000600554600454856040516020016145a092919091825263ffffffff16602082015260400190565b6040516020818303038152906040528051906020012060001c6145c391906152f9565b81526020810191909152604001600020546001600160a01b031692915050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634000aea07f000000000000000000000000000000000000000000000000000000000000000084866000604051602001614653929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161468093929190615023565b602060405180830381600087803b15801561469a57600080fd5b505af11580156146ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146d29190614eda565b50600083815260016020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a0909101909252815191830191909120938790529082905261472d91615118565b60008581526001602052604090205561476d8482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b949350505050565b601d54610100900460ff16156147f35760405162461bcd60e51b815260206004820152602360248201527f4c697175696469747920616c726561647920616464656420616e64206d61726b60448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840161109e565b6147fd8282614877565b15801561481757506032546001600160a01b038281169116145b156114f65743601e55601d805461ff0019166101001790556032805460ff60a81b1916600160a81b1790556040517fb4714a39a761e558659d1f2765a38570c94673756118da2710f01aa062dd2ad8906135fd9060011515815260200190565b600080546001600160a01b038481169116148015906148a457506000546001600160a01b03838116911614155b80156148bb57506001600160a01b03821661dead14155b80156148cf57506001600160a01b03821615155b801561131e57506001600160a01b0383163014159392505050565b600e541580156148fa5750601254155b80156149065750601054155b1561490d57565b600e8054600f5560108054601155601280546013556000928390559082905555565b6000806000806000806000614943886134af565b965096509650965096509650965087600960008c6001600160a01b03166001600160a01b03168152602001908152602001600020546149829190615251565b6001600160a01b038b166000908152600960209081526040808320939093556008905220546149b2908890615251565b6001600160a01b03808c1660009081526008602052604080822093909355908b16815220546149e2908790615118565b6001600160a01b038a16600090815260086020526040902055614a0482614c40565b614a0d81614c40565b614a178584614ccb565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051614a5c91815260200190565b60405180910390a350505050505050505050565b6000806000806000806000614a84886134af565b965096509650965096509650965086600860008c6001600160a01b03166001600160a01b0316815260200190815260200160002054614ac39190615251565b6001600160a01b03808c16600090815260086020908152604080832094909455918c16815260099091522054614afa908590615118565b6001600160a01b038a166000908152600960209081526040808320939093556008905220546149e2908790615118565b6000806000806000806000614b3e886134af565b965096509650965096509650965086600860008c6001600160a01b03166001600160a01b03168152602001908152602001600020546149b29190615251565b6000806000806000806000614b91886134af565b965096509650965096509650965087600960008c6001600160a01b03166001600160a01b0316815260200190815260200160002054614bd09190615251565b6001600160a01b038b16600090815260096020908152604080832093909355600890522054614ac3908890615251565b60006064600e5483614c129190615232565b6110d99190615130565b6000606460125483614c129190615232565b6000606460105483614c129190615232565b6000614c4a61348c565b90506000614c588284615232565b30600090815260086020526040902054909150614c76908290615118565b3060009081526008602090815260408083209390935560249052205460ff1615614cc65730600090815260096020526040902054614cb5908490615118565b306000908152600960205260409020555b505050565b81601854614cd99190615251565b601855601954614cea908290615118565b6019555050565b60008083601f840112614d0357600080fd5b50813567ffffffffffffffff811115614d1b57600080fd5b6020830191508360208260051b8501011115614d3657600080fd5b9250929050565b600060208284031215614d4f57600080fd5b813561131e8161537b565b600060208284031215614d6c57600080fd5b815161131e8161537b565b60008060408385031215614d8a57600080fd5b8235614d958161537b565b91506020830135614da58161537b565b809150509250929050565b600080600060608486031215614dc557600080fd5b8335614dd08161537b565b92506020840135614de08161537b565b929592945050506040919091013590565b60008060408385031215614e0457600080fd5b8235614e0f8161537b565b946020939093013593505050565b60008060408385031215614e3057600080fd5b8235614e3b8161537b565b9150602083013560ff81168114614da557600080fd5b60008060008060408587031215614e6757600080fd5b843567ffffffffffffffff80821115614e7f57600080fd5b614e8b88838901614cf1565b90965094506020870135915080821115614ea457600080fd5b50614eb187828801614cf1565b95989497509550505050565b600060208284031215614ecf57600080fd5b813561131e81615390565b600060208284031215614eec57600080fd5b815161131e81615390565b60008060408385031215614f0a57600080fd5b50508035926020909101359150565b600060208284031215614f2b57600080fd5b5035919050565b600060208284031215614f4457600080fd5b5051919050565b60008060408385031215614f5e57600080fd5b823591506020830135614da581615390565b600081518084526020808501945080840160005b83811015614fa95781516001600160a01b031687529582019590820190600101614f84565b509495945050505050565b6000815180845260005b81811015614fda57602081850181015186830182015201614fbe565b81811115614fec576000602083870101525b50601f01601f19169290920160200192915050565b6003811061501f57634e487b7160e01b600052602160045260246000fd5b9052565b6001600160a01b038416815282602082015260606040820152600061504b6060830184614fb4565b95945050505050565b602081016110d98284615001565b84815260806020820152600061507b6080830186614f70565b6001600160a01b03949094166040830152506060015292915050565b60208152600061131e6020830184614fb4565b85815284602082015260a0604082015260006150c960a0830186614f70565b6001600160a01b0394909416606083015250608001529392505050565b858152602081018590526040810184905260a081016151086060830185615001565b8260808301529695505050505050565b6000821982111561512b5761512b61530d565b500190565b60008261513f5761513f615323565b500490565b600181815b8085111561517f5781600019048211156151655761516561530d565b8085161561517257918102915b93841c9390800290615149565b509250929050565b600061131e60ff8416836000826151a0575060016110d9565b816151ad575060006110d9565b81600181146151c357600281146151cd576151e9565b60019150506110d9565b60ff8411156151de576151de61530d565b50506001821b6110d9565b5060208310610133831016604e8410600b841016171561520c575081810a6110d9565b6152168383615144565b806000190482111561522a5761522a61530d565b029392505050565b600081600019048311821515161561524c5761524c61530d565b500290565b6000828210156152635761526361530d565b500390565b6000816152775761527761530d565b506000190190565b600181811c9082168061529357607f821691505b602082108114156152b457634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156152ce576152ce61530d565b5060010190565b600063ffffffff808316818114156152ef576152ef61530d565b6001019392505050565b60008261530857615308615323565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114612c9a57600080fd5b8015158114612c9a57600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220bc2a57d282434b62f05f32ab523ade0fc4c03cbae74f4f13e54f7d24a47488b564736f6c634300080700330000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000090df74b1edf8961e2e1e29e5e14c1c849d5d36fc000000000000000000000000dcf5c8273b57d0d227724dd2ac9a0ce010412d0f0000000000000000000000001e714e7daab6886920726059960b4a8f68f319e8000000000000000000000000389999216860ab8e0175387a0c90e5c52522c94500000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000010bc1576c00

Deployed Bytecode

0x6080604052600436106105825760003560e01c806370f439d9116102d5578063ac935b2d11610184578063d28f964d116100e1578063ea2f0b3711610095578063f14210a61161006f578063f14210a614610f68578063f2fde38b14610f88578063ff098f5c14610fa857600080fd5b8063ea2f0b3714610f08578063ea49b75914610f28578063ec28438a14610f4857600080fd5b8063db4cf1e0116100c6578063db4cf1e014610e8c578063dd62ed3e14610eac578063e79d416014610ef257600080fd5b8063d28f964d14610e4c578063d650b6f514610e6c57600080fd5b8063c59d484711610138578063cb9178321161011d578063cb91783214610df6578063ceed9b5014610e0c578063d0d41fe114610e2c57600080fd5b8063c59d484714610db0578063ca290c2214610dd657600080fd5b8063bacc224211610169578063bacc224214610d53578063c19d93fb14610d73578063c4e8ed1814610d9a57600080fd5b8063ac935b2d14610d1d578063b3ff277d14610d3d57600080fd5b8063906e9dd011610232578063a41157ac116101e6578063a8bc8ec3116101cb578063a8bc8ec314610cbd578063a8e01b2814610cdd578063a9059cbb14610cfd57600080fd5b8063a41157ac14610c70578063a457c2d714610c9d57600080fd5b806395d89b411161021757806395d89b4114610c1b5780639d04404614610c305780639e281a9814610c5057600080fd5b8063906e9dd014610bdb57806394985ddd14610bfb57600080fd5b80638b6f6e08116102895780638bcaff501161026e5780638bcaff5014610b915780638da5cb5b14610ba75780638edd14e114610bc557600080fd5b80638b6f6e0814610b5a5780638b7bcc8614610b7b57600080fd5b80637d1db4a5116102ba5780637d1db4a514610af557806388f8202014610b0b578063896e629e14610b4457600080fd5b806370f439d914610ac0578063715018a614610ae057600080fd5b80633bd5d173116104315780635342acb41161038e5780636787d184116103425780636c0a24eb116103275780636c0a24eb14610a6a578063704d0b6814610a8057806370a0823114610aa057600080fd5b80636787d18414610a2a5780636979fd6714610a4a57600080fd5b80635b700d91116103735780635b700d911461088c578063658c27a9146109d0578063658ca87c14610a0957600080fd5b80635342acb414610981578063572c927e146109ba57600080fd5b8063437823ec116103e557806349bd5a5e116103ca57806349bd5a5e1461092257806350a8e0161461094257806352390c021461096157600080fd5b8063437823ec146108e25780634549b0391461090257600080fd5b80633f33e909116104165780633f33e9091461088c57806341cb87fc146108ac57806342619f66146108cc57600080fd5b80633bd5d1731461084c5780633e1892c11461086c57600080fd5b806318621fe5116104df578063313ce5671161049357806339248ec91161047857806339248ec9146107f657806339509351146108165780633b124fe71461083657600080fd5b8063313ce567146107b45780633685d419146107d657600080fd5b8063248db8df116104c4578063248db8df1461075e578063250bb3b9146107745780632d8381191461079457600080fd5b806318621fe51461071e57806323b872dd1461073e57600080fd5b80630bfa3b23116105365780631694505e1161051b5780631694505e146106d357806317fc654c146106f357806318160ddd1461070957600080fd5b80630bfa3b231461069457806313114a9d146106b457600080fd5b806306fdde031161056757806306fdde031461062057806307eb38c014610642578063095ea7b31461066457600080fd5b806301f946171461058e57806303fd2a45146105f257600080fd5b3661058957005b600080fd5b34801561059a57600080fd5b506105ce6105a9366004614f19565b602c60205260009081526040902080546001909101546001600160a01b039091169082565b604080516001600160a01b0390931683526020830191909152015b60405180910390f35b3480156105fe57600080fd5b5061060861dead81565b6040516001600160a01b0390911681526020016105e9565b34801561062c57600080fd5b50610635610fc8565b6040516105e99190615097565b34801561064e57600080fd5b5061066261065d366004614f19565b61105a565b005b34801561067057600080fd5b5061068461067f366004614df1565b6110c8565b60405190151581526020016105e9565b3480156106a057600080fd5b506106626106af366004614f19565b6110df565b3480156106c057600080fd5b506019545b6040519081526020016105e9565b3480156106df57600080fd5b50603154610608906001600160a01b031681565b3480156106ff57600080fd5b506106c5602b5481565b34801561071557600080fd5b506017546106c5565b34801561072a57600080fd5b50610662610739366004614d3d565b61112c565b34801561074a57600080fd5b50610684610759366004614db0565b611195565b34801561076a57600080fd5b506106c560155481565b34801561078057600080fd5b5061066261078f366004614e1d565b6111e7565b3480156107a057600080fd5b506106c56107af366004614f19565b61128e565b3480156107c057600080fd5b50600d5460405160ff90911681526020016105e9565b3480156107e257600080fd5b506106626107f1366004614d3d565b611325565b34801561080257600080fd5b50610662610811366004614d3d565b6114fa565b34801561082257600080fd5b50610684610831366004614df1565b6115f6565b34801561084257600080fd5b506106c5600e5481565b34801561085857600080fd5b50610662610867366004614f19565b61162d565b34801561087857600080fd5b50610662610887366004614d3d565b61172c565b34801561089857600080fd5b506106626108a7366004614d3d565b611827565b3480156108b857600080fd5b506106626108c7366004614d3d565b611893565b3480156108d857600080fd5b506106c560045481565b3480156108ee57600080fd5b506106626108fd366004614d3d565b611acd565b34801561090e57600080fd5b506106c561091d366004614f4b565b611b39565b34801561092e57600080fd5b50603254610608906001600160a01b031681565b34801561094e57600080fd5b50601d5461068490610100900460ff1681565b34801561096d57600080fd5b5061066261097c366004614d3d565b611bc8565b34801561098d57600080fd5b5061068461099c366004614d3d565b6001600160a01b031660009081526021602052604090205460ff1690565b3480156109c657600080fd5b506106c560145481565b3480156109dc57600080fd5b506106846109eb366004614d3d565b6001600160a01b031660009081526022602052604090205460ff1690565b348015610a1557600080fd5b5060295461068490600160a01b900460ff1681565b348015610a3657600080fd5b50610662610a45366004614f19565b611d39565b348015610a5657600080fd5b50610662610a65366004614f19565b611d86565b348015610a7657600080fd5b506106c560345481565b348015610a8c57600080fd5b50610662610a9b366004614f19565b611df6565b348015610aac57600080fd5b506106c5610abb366004614d3d565b611e43565b348015610acc57600080fd5b50610662610adb366004614f19565b611ea2565b348015610aec57600080fd5b50610662611eef565b348015610b0157600080fd5b506106c560335481565b348015610b1757600080fd5b50610684610b26366004614d3d565b6001600160a01b031660009081526024602052604090205460ff1690565b348015610b5057600080fd5b506106c5602a5481565b348015610b6657600080fd5b5060325461068490600160a81b900460ff1681565b348015610b8757600080fd5b506106c5602e5481565b348015610b9d57600080fd5b506106c560355481565b348015610bb357600080fd5b506000546001600160a01b0316610608565b348015610bd157600080fd5b506106c560105481565b348015610be757600080fd5b50610662610bf6366004614d3d565b611f43565b348015610c0757600080fd5b50610662610c16366004614ef7565b611fad565b348015610c2757600080fd5b5061063561202f565b348015610c3c57600080fd5b50610662610c4b366004614ebd565b61203e565b348015610c5c57600080fd5b50610662610c6b366004614df1565b6120de565b348015610c7c57600080fd5b506106c5610c8b366004614d3d565b602d6020526000908152604090205481565b348015610ca957600080fd5b50610684610cb8366004614df1565b612265565b348015610cc957600080fd5b50601a54610608906001600160a01b031681565b348015610ce957600080fd5b50610662610cf8366004614d3d565b61229c565b348015610d0957600080fd5b50610684610d18366004614df1565b612306565b348015610d2957600080fd5b50610662610d38366004614f19565b612313565b348015610d4957600080fd5b506106c560305481565b348015610d5f57600080fd5b50610662610d6e366004614d3d565b612360565b348015610d7f57600080fd5b50602f54610d8d9060ff1681565b6040516105e99190615054565b348015610da657600080fd5b506106c560125481565b348015610dbc57600080fd5b50610dc5612446565b6040516105e99594939291906150e6565b348015610de257600080fd5b50610662610df1366004614ebd565b6124ee565b348015610e0257600080fd5b506106c560165481565b348015610e1857600080fd5b50610662610e27366004614d3d565b612583565b348015610e3857600080fd5b50610662610e47366004614d3d565b61268a565b348015610e5857600080fd5b50610662610e67366004614f19565b6126f4565b348015610e7857600080fd5b50610684610e87366004614e51565b612741565b348015610e9857600080fd5b50610662610ea7366004614d3d565b6129b1565b348015610eb857600080fd5b506106c5610ec7366004614d77565b6001600160a01b039182166000908152600a6020908152604080832093909416825291909152205490565b348015610efe57600080fd5b506106c5601f5481565b348015610f1457600080fd5b50610662610f23366004614d3d565b612a1d565b348015610f3457600080fd5b50610662610f43366004614f19565b612a86565b348015610f5457600080fd5b50610662610f63366004614f19565b612aef565b348015610f7457600080fd5b50610662610f83366004614f19565b612b58565b348015610f9457600080fd5b50610662610fa3366004614d3d565b612bcd565b348015610fb457600080fd5b50610662610fc3366004614ebd565b612c9d565b6060600b8054610fd79061527f565b80601f01602080910402602001604051908101604052809291908181526020018280546110039061527f565b80156110505780601f1061102557610100808354040283529160200191611050565b820191906000526020600020905b81548152906001019060200180831161103357829003601f168201915b5050505050905090565b6000546001600160a01b031633146110a75760405162461bcd60e51b8152602060048201819052602482015260008051602061539f83398151915260448201526064015b60405180910390fd5b600d546110b89060ff16600a615187565b6110c29082615232565b602b5550565b60006110d5338484612cf8565b5060015b92915050565b6000546001600160a01b031633146111275760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601455565b6000546001600160a01b031633146111745760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03166000908152602260205260409020805460ff19169055565b60006111a2848484612e50565b6001600160a01b0384166000908152600a60209081526040808320338085529252909120546111dd9186916111d8908690615251565b612cf8565b5060019392505050565b6000546001600160a01b0316331461122f5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601a80546001600160a01b039093166001600160a01b03199384168117909155601b805460ff909316600160a01b029093167fffffffffffffffffffffff00000000000000000000000000000000000000000090921691909117179055565b60006018548211156113085760405162461bcd60e51b815260206004820152602a60248201527f416d6f756e74206d757374206265206c657373207468616e20746f74616c207260448201527f65666c656374696f6e7300000000000000000000000000000000000000000000606482015260840161109e565b600061131261348c565b905061131e8184615130565b9392505050565b6000546001600160a01b0316331461136d5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03811660009081526024602052604090205460ff166113d55760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c726561647920696e636c756465640000000000604482015260640161109e565b60005b6026548110156114f657816001600160a01b0316602682815481106113ff576113ff615365565b6000918252602090912001546001600160a01b031614156114e4576026805461142a90600190615251565b8154811061143a5761143a615365565b600091825260209091200154602680546001600160a01b03909216918390811061146657611466615365565b600091825260208083209190910180546001600160a01b0319166001600160a01b039485161790559184168152600982526040808220829055602490925220805460ff1916905560268054806114be576114be61534f565b600082815260209020810160001990810180546001600160a01b03191690550190555050565b806114ee816152ba565b9150506113d8565b5050565b6000546001600160a01b031633146115425760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03811660009081526025602052604090205460ff1615156001146115d55760405162461bcd60e51b815260206004820152602660248201527f5573657220616c726561647920696e636c7564656420696e206c6f74746f207260448201527f6577617264730000000000000000000000000000000000000000000000000000606482015260840161109e565b6001600160a01b03166000908152602560205260409020805460ff19169055565b336000818152600a602090815260408083206001600160a01b038716845290915281205490916110d59185906111d8908690615118565b3360008181526024602052604090205460ff16156116b35760405162461bcd60e51b815260206004820152602c60248201527f4578636c75646564206164647265737365732063616e6e6f742063616c6c207460448201527f6869732066756e6374696f6e0000000000000000000000000000000000000000606482015260840161109e565b60006116be836134af565b505050506001600160a01b0385166000908152600860205260409020549293506116ec928492509050615251565b6001600160a01b038316600090815260086020526040902055601854611713908290615251565b601855601954611724908490615118565b601955505050565b6000546001600160a01b031633146117745760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03811660009081526025602052604090205460ff16156118035760405162461bcd60e51b815260206004820152602860248201527f5573657220616c7265616479206578636c756465642066726f6d206c6f74746f60448201527f2072657761726473000000000000000000000000000000000000000000000000606482015260840161109e565b6001600160a01b03166000908152602560205260409020805460ff19166001179055565b6000546001600160a01b0316331461186f5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03166000908152602360205260409020805460ff19166001179055565b6000546001600160a01b031633146118db5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6000819050806001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b15801561191957600080fd5b505afa15801561192d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119519190614d5a565b6001600160a01b031663c9c6539630836001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b15801561199957600080fd5b505afa1580156119ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119d19190614d5a565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015611a3157600080fd5b505af1158015611a45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a699190614d5a565b603280546001600160a01b039283166001600160a01b03199182168117909255603180549484169490911693909317909255600091825260256020526040808320805460ff1990811660019081179092559490921683529091208054909216179055565b6000546001600160a01b03163314611b155760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03166000908152602160205260409020805460ff19166001179055565b6000601754831115611b8d5760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e74206d757374206265206c657373207468616e20737570706c7900604482015260640161109e565b81611bad576000611b9d846134af565b509496506110d995505050505050565b6000611bb8846134af565b509396506110d995505050505050565b6000546001600160a01b03163314611c105760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03811660009081526024602052604090205460ff1615611c795760405162461bcd60e51b815260206004820152601b60248201527f4163636f756e7420697320616c7265616479206578636c756465640000000000604482015260640161109e565b6001600160a01b03811660009081526008602052604090205415611cd3576001600160a01b038116600090815260086020526040902054611cb99061128e565b6001600160a01b0382166000908152600960205260409020555b6001600160a01b03166000818152602460205260408120805460ff191660019081179091556026805491820181559091527f744a2cf8fd7008e3d53b67916e73460df9fa5214e3ef23dd4259ca09493a35940180546001600160a01b0319169091179055565b6000546001600160a01b03163314611d815760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601555565b6000546001600160a01b03163314611dce5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601b54611de690600160a01b900460ff16600a615187565b611df09082615232565b602a5550565b6000546001600160a01b03163314611e3e5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b600e55565b6001600160a01b03811660009081526024602052604081205460ff1615611e8057506001600160a01b031660009081526009602052604090205490565b6001600160a01b0382166000908152600860205260409020546110d99061128e565b6000546001600160a01b03163314611eea5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601255565b6000546001600160a01b03163314611f375760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b611f41600061351a565b565b6000546001600160a01b03163314611f8b5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b602880546001600160a01b0319166001600160a01b0392909216919091179055565b336001600160a01b037f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795216146120255760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c00604482015260640161109e565b6114f6828261356a565b6060600c8054610fd79061527f565b6000546001600160a01b031633146120865760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b60298054821515600160a01b0260ff60a01b199091161790556040517fc09a8da45cf5ca5a0a768ea4bb86617a8feed2445e799276b725b5e7519b2317906120d390831515815260200190565b60405180910390a150565b6000546001600160a01b031633146121265760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601a546001600160a01b03838116911614156121845760405162461bcd60e51b815260206004820152601b60248201527f43616e6e6f74207769746864726177204c6f747465727920706f740000000000604482015260640161109e565b6001600160a01b0382163014156121dd5760405162461bcd60e51b815260206004820152601e60248201527f43616e6e6f7420776974686472617720706c6174666f726d20746f6b656e0000604482015260640161109e565b60405163a9059cbb60e01b81523360048201526024810182905282906001600160a01b0382169063a9059cbb90604401602060405180830381600087803b15801561222757600080fd5b505af115801561223b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061225f9190614eda565b50505050565b336000818152600a602090815260408083206001600160a01b038716845290915281205490916110d59185906111d8908690615251565b6000546001600160a01b031633146122e45760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b602980546001600160a01b0319166001600160a01b0392909216919091179055565b60006110d5338484612e50565b6000546001600160a01b0316331461235b5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601055565b6000546001600160a01b031633146123a85760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b0381166000908152601c602052604090205460ff166124105760405162461bcd60e51b815260206004820181905260248201527f41646472657373206e6f7420636f6e73696465726564206120736e697065722e604482015260640161109e565b6001600160a01b0381166000908152601c60205260408120805460ff19169055601f80549161243e83615268565b919050555050565b602a54601b546040516370a0823160e01b8152306004820152600092839283928392839290916001600160a01b03909116906370a082319060240160206040518083038186803b15801561249957600080fd5b505afa1580156124ad573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124d19190614f32565b602e54602f54603054939992985090965060ff1694509092509050565b6000546001600160a01b031633146125365760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b60328054821515600160a81b0260ff60a81b199091161790556040517fb4714a39a761e558659d1f2765a38570c94673756118da2710f01aa062dd2ad8906120d390831515815260200190565b6000546001600160a01b031633146125cb5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b0381166000908152601c602052604090205460ff16156126595760405162461bcd60e51b8152602060048201526024808201527f4164647265737320616c726561647920636f6e73696465726564206120736e6960448201527f7065722e00000000000000000000000000000000000000000000000000000000606482015260840161109e565b6001600160a01b0381166000908152601c60205260408120805460ff19166001179055601f80549161243e836152ba565b6000546001600160a01b031633146126d25760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b602780546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461273c5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601655565b60008382146127b85760405162461bcd60e51b815260206004820152603260248201527f4164647265737320617272617920616e642076616c756573206172726179206d60448201527f7573742062652073616d65206c656e6774680000000000000000000000000000606482015260840161109e565b60005b848110156129a55760008686838181106127d7576127d7615365565b90506020020160208101906127ec9190614d3d565b6001600160a01b031614156128435760405162461bcd60e51b815260206004820152600f60248201527f4164647265737320696e76616c69640000000000000000000000000000000000604482015260640161109e565b600084848381811061285757612857615365565b90506020020135116128ab5760405162461bcd60e51b815260206004820152600d60248201527f56616c756520696e76616c696400000000000000000000000000000000000000604482015260640161109e565b306323b872dd338888858181106128c4576128c4615365565b90506020020160208101906128d99190614d3d565b8787868181106128eb576128eb615365565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e088901b1681526001600160a01b03958616600482015294909316602485015250602090910201356044820152606401602060405180830381600087803b15801561295a57600080fd5b505af115801561296e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129929190614eda565b508061299d816152ba565b9150506127bb565b50600195945050505050565b6000546001600160a01b031633146129f95760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03166000908152602260205260409020805460ff19166001179055565b6000546001600160a01b03163314612a655760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b03166000908152602160205260409020805460ff19169055565b6000546001600160a01b03163314612ace5760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b600d54612adf9060ff16600a615187565b612ae99082615232565b60355550565b6000546001600160a01b03163314612b375760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b600d54612b489060ff16600a615187565b612b529082615232565b60335550565b6000546001600160a01b03163314612ba05760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b604051339082156108fc029083906000818181858888f193505050501580156114f6573d6000803e3d6000fd5b6000546001600160a01b03163314612c155760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b6001600160a01b038116612c915760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161109e565b612c9a8161351a565b50565b6000546001600160a01b03163314612ce55760405162461bcd60e51b8152602060048201819052602482015260008051602061539f833981519152604482015260640161109e565b601d805460ff1916911515919091179055565b6001600160a01b038316612d735760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f7265737300000000000000000000000000000000000000000000000000000000606482015260840161109e565b6001600160a01b038216612def5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f7373000000000000000000000000000000000000000000000000000000000000606482015260840161109e565b6001600160a01b038381166000818152600a602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b038316612ecc5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f20616460448201527f6472657373000000000000000000000000000000000000000000000000000000606482015260840161109e565b6001600160a01b038216612f485760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f6573730000000000000000000000000000000000000000000000000000000000606482015260840161109e565b60008111612fbe5760405162461bcd60e51b815260206004820152602960248201527f5472616e7366657220616d6f756e74206d75737420626520677265617465722060448201527f7468616e207a65726f0000000000000000000000000000000000000000000000606482015260840161109e565b6000546001600160a01b03848116911614801590612fea57506000546001600160a01b03838116911614155b801561300f57506001600160a01b03831660009081526022602052604090205460ff16155b801561303457506001600160a01b03821660009081526022602052604090205460ff16155b156130b1576033548111156130b15760405162461bcd60e51b815260206004820152602860248201527f5472616e7366657220616d6f756e74206578636565647320746865206d61785460448201527f78416d6f756e742e000000000000000000000000000000000000000000000000606482015260840161109e565b6000546001600160a01b038481169116148015906130dd57506000546001600160a01b03838116911614155b801561310257506001600160a01b03821660009081526023602052604090205460ff16155b801561311b57506032546001600160a01b038481169116145b156131ab576034548161312d84611e43565b6131379190615118565b11156131ab5760405162461bcd60e51b815260206004820152603060248201527f5472616e7366657220616d6f756e74206d616b65732077616c6c657420686f6c60448201527f64206d6f7265207468616e206d61782e00000000000000000000000000000000606482015260840161109e565b60006131b630611e43565b905060335481106131c657506033545b603554811080159081906131e45750603254600160a01b900460ff16155b80156131fe57506032546001600160a01b03868116911614155b80156132135750603254600160a81b900460ff165b1561322b57603554915061322682613609565b613267565b6002602f5460ff16600281111561324457613244615339565b14801561325a5750602954600160a01b900460ff165b15613267576132676137d6565b601b546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b1580156132ab57600080fd5b505afa1580156132bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132e39190614f32565b602a549091508110801590819061331057506000602f5460ff16600281111561330e5761330e615339565b145b80156133b457506003546040516370a0823160e01b81523060048201527f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316906370a082319060240160206040518083038186803b15801561337957600080fd5b505afa15801561338d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906133b19190614f32565b10155b80156133c95750602954600160a01b900460ff165b15613419576133d86001613a39565b6133e0613a94565b60368190556040519081527f1add6009a43c617146a2bff417f8ed10a18b056872abcafe02f7d0cea175fc609060200160405180910390a15b6001600160a01b03871660009081526021602052604090205460019060ff168061345b57506001600160a01b03871660009081526021602052604090205460ff165b15613464575060005b61346d88613bb9565b61347687613bb9565b61348288888884613c2b565b5050505050505050565b6000806000613499613fab565b90925090506134a88183615130565b9250505090565b60008060008060008060008060006134c68a61412e565b8b815290925090506134d661348c565b6080820152600080806134e8846141e4565b60208701516040880151606090980151939f50919d509b50959950949750929550929350505050919395979092949650565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b81603654146135bb5760405162461bcd60e51b815260206004820152601760248201527f72657175657374496420646f65736e2774206d61746368000000000000000000604482015260640161109e565b60048190556135ca6002613a39565b7f8954b4d6771943e184c537ec3af71baceb42e4d040b7073b7e7593504cb6d03f6004546040516135fd91815260200190565b60405180910390a15050565b6032805460ff60a01b1916600160a01b179055476136268261427b565b60006136328247615251565b905060006064601454836136469190615232565b6136509190615130565b905060006064601554846136649190615232565b61366e9190615130565b905060006064601654856136829190615232565b61368c9190615130565b9050613697826143fd565b6029546040516001600160a01b039091169084156108fc029085906000818181858888f193505050501580156136d1573d6000803e3d6000fd5b506028546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561370c573d6000803e3d6000fd5b506027546001600160a01b03166108fc82846137288789615251565b6137329190615251565b61373c9190615251565b6040518115909202916000818181858888f19350505050158015613764573d6000803e3d6000fd5b507fe17d2819ac04fd9aa1879512e29b9a229ebd6760e14b42c95b95ff6a1b01b7e986838581613794828a615251565b61379e9190615251565b60408051948552602085019390935291830152606082015260800160405180910390a150506032805460ff60a01b1916905550505050565b6137e06000613a39565b600160006137ed82614573565b90505b602b546137fc82611e43565b108061382057506001600160a01b03811660009081526025602052604090205460ff165b15613856578161382f816152d5565b92505061383b82614573565b905060288263ffffffff16111561385157613856565b6137f0565b601b546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561389a57600080fd5b505afa1580156138ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906138d29190614f32565b601b5460405163a9059cbb60e01b81526001600160a01b0385811660048301526024820184905292935091169063a9059cbb90604401602060405180830381600087803b15801561392257600080fd5b505af1158015613936573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061395a9190614eda565b50602e805490600061396b836152ba565b90915550506040805180820182526001600160a01b038481168083526020808401868152602e546000908152602c8352868120955186546001600160a01b0319169516949094178555516001909401939093558152602d90915290812080548392906139d8908490615118565b9250508190555080603060008282546139f19190615118565b90915550506040518181526001600160a01b038316907f8cbbe5cd65720098fc8ce6e99a5deb232085117dd486475b49cb11604b528f309060200160405180910390a2505050565b602f805482919060ff19166001836002811115613a5857613a58615339565b0217905550602f546040517f1e046fdd2110d82ed3fa7652b41ced17c49cbb9ee4536e65f51ad2a6ed5359a7916120d39160ff90911690615054565b6003546040516370a0823160e01b8152306004820152600091906001600160a01b037f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca16906370a082319060240160206040518083038186803b158015613afa57600080fd5b505afa158015613b0e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613b329190614f32565b1015613ba65760405162461bcd60e51b815260206004820152602b60248201527f4e6f7420656e6f756768204c494e4b202d2066696c6c20636f6e74726163742060448201527f7769746820666175636574000000000000000000000000000000000000000000606482015260840161109e565b613bb46002546003546145e3565b905090565b6001600160a01b03811660009081526007602052604090205460ff16612c9a576001600160a01b0381166000818152600760209081526040808320805460ff191660011790556005805484526006909252822080546001600160a01b0319169093179092558154919061243e836152ba565b601d5460ff1615613e2e576001600160a01b0384166000908152601c602052604090205460ff1680613c7557506001600160a01b0383166000908152601c602052604090205460ff165b15613cc25760405162461bcd60e51b815260206004820152601060248201527f536e697065722072656a65637465642e00000000000000000000000000000000604482015260640161109e565b601d54610100900460ff16613d7057613cdb8484614775565b601d54610100900460ff16158015613cf85750613cf88484614877565b15613d6b5760405162461bcd60e51b815260206004820152602560248201527f4f6e6c79206f776e65722063616e207472616e7366657220617420746869732060448201527f74696d652e000000000000000000000000000000000000000000000000000000606482015260840161109e565b613e2e565b6000601e54118015613d8f57506032546001600160a01b038581169116145b8015613da05750613da08484614877565b15613e2e57602054601e54613db59043615251565b1015613e2e576001600160a01b0383166000908152601c60205260408120805460ff19166001179055601f805491613dec836152ba565b90915550506040516001600160a01b03841681527f18e6e5ce5c121466e41a954e72765d1ea02b8e6919043b61f0dab08b4c6572e59060200160405180910390a15b80613e3b57613e3b6148ea565b6001600160a01b03841660009081526024602052604090205460ff168015613e7c57506001600160a01b03831660009081526024602052604090205460ff16155b15613e9157613e8c84848461492f565b613f8f565b6001600160a01b03841660009081526024602052604090205460ff16158015613ed257506001600160a01b03831660009081526024602052604090205460ff165b15613ee257613e8c848484614a70565b6001600160a01b03841660009081526024602052604090205460ff16158015613f2457506001600160a01b03831660009081526024602052604090205460ff16155b15613f3457613e8c848484614b2a565b6001600160a01b03841660009081526024602052604090205460ff168015613f7457506001600160a01b03831660009081526024602052604090205460ff165b15613f8457613e8c848484614b7d565b613f8f848484614b2a565b8061225f5761225f600f54600e55601154601055601354601255565b6018546017546000918291825b6026548110156140fd57826008600060268481548110613fda57613fda615365565b60009182526020808320909101546001600160a01b031683528201929092526040019020541180614045575081600960006026848154811061401e5761401e615365565b60009182526020808320909101546001600160a01b03168352820192909252604001902054115b1561405b57601854601754945094505050509091565b600860006026838154811061407257614072615365565b60009182526020808320909101546001600160a01b031683528201929092526040019020546140a19084615251565b925060096000602683815481106140ba576140ba615365565b60009182526020808320909101546001600160a01b031683528201929092526040019020546140e99083615251565b9150806140f5816152ba565b915050613fb8565b5060175460185461410e9190615130565b821015614125576018546017549350935050509091565b90939092509050565b60006141626040518060a0016040528060008152602001600081526020016000815260200160008152602001600081525090565b600061416d84614c00565b9050600061417a85614c1c565b9050600061418786614c2e565b905060008183614197868a615251565b6141a19190615251565b6141ab9190615251565b9050806040518060a001604052806000815260200186815260200185815260200184815260200160008152509550955050505050915091565b600080600080846080015185600001516141fe9190615232565b90506000856080015186602001516142169190615232565b905060008660800151876040015161422e9190615232565b90506000876080015188606001516142469190615232565b9050600081836142568688615251565b6142609190615251565b61426a9190615251565b949994985092965092945050505050565b60408051600280825260608201835260009260208301908036833701905050905030816000815181106142b0576142b0615365565b6001600160a01b03928316602091820292909201810191909152603154604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561430457600080fd5b505afa158015614318573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061433c9190614d5a565b8160018151811061434f5761434f615365565b6001600160a01b0392831660209182029290920101526031546143759130911684612cf8565b6031546040517f791ac9470000000000000000000000000000000000000000000000000000000081526001600160a01b039091169063791ac947906143c79085906000908690309042906004016150aa565b600060405180830381600087803b1580156143e157600080fd5b505af11580156143f5573d6000803e3d6000fd5b505050505050565b6040805160028082526060820183526000926020830190803683375050603154604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561446257600080fd5b505afa158015614476573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061449a9190614d5a565b816000815181106144ad576144ad615365565b6001600160a01b039283166020918202929092010152601a548251911690829060019081106144de576144de615365565b6001600160a01b0392831660209182029290920101526031546040517fb6f9de9500000000000000000000000000000000000000000000000000000000815291169063b6f9de9590849061453d90600090869030904290600401615062565b6000604051808303818588803b15801561455657600080fd5b505af115801561456a573d6000803e3d6000fd5b50505050505050565b600060066000600554600454856040516020016145a092919091825263ffffffff16602082015260400190565b6040516020818303038152906040528051906020012060001c6145c391906152f9565b81526020810191909152604001600020546001600160a01b031692915050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795284866000604051602001614653929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161468093929190615023565b602060405180830381600087803b15801561469a57600080fd5b505af11580156146ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906146d29190614eda565b50600083815260016020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a0909101909252815191830191909120938790529082905261472d91615118565b60008581526001602052604090205561476d8482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b949350505050565b601d54610100900460ff16156147f35760405162461bcd60e51b815260206004820152602360248201527f4c697175696469747920616c726561647920616464656420616e64206d61726b60448201527f65642e0000000000000000000000000000000000000000000000000000000000606482015260840161109e565b6147fd8282614877565b15801561481757506032546001600160a01b038281169116145b156114f65743601e55601d805461ff0019166101001790556032805460ff60a81b1916600160a81b1790556040517fb4714a39a761e558659d1f2765a38570c94673756118da2710f01aa062dd2ad8906135fd9060011515815260200190565b600080546001600160a01b038481169116148015906148a457506000546001600160a01b03838116911614155b80156148bb57506001600160a01b03821661dead14155b80156148cf57506001600160a01b03821615155b801561131e57506001600160a01b0383163014159392505050565b600e541580156148fa5750601254155b80156149065750601054155b1561490d57565b600e8054600f5560108054601155601280546013556000928390559082905555565b6000806000806000806000614943886134af565b965096509650965096509650965087600960008c6001600160a01b03166001600160a01b03168152602001908152602001600020546149829190615251565b6001600160a01b038b166000908152600960209081526040808320939093556008905220546149b2908890615251565b6001600160a01b03808c1660009081526008602052604080822093909355908b16815220546149e2908790615118565b6001600160a01b038a16600090815260086020526040902055614a0482614c40565b614a0d81614c40565b614a178584614ccb565b886001600160a01b03168a6001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef86604051614a5c91815260200190565b60405180910390a350505050505050505050565b6000806000806000806000614a84886134af565b965096509650965096509650965086600860008c6001600160a01b03166001600160a01b0316815260200190815260200160002054614ac39190615251565b6001600160a01b03808c16600090815260086020908152604080832094909455918c16815260099091522054614afa908590615118565b6001600160a01b038a166000908152600960209081526040808320939093556008905220546149e2908790615118565b6000806000806000806000614b3e886134af565b965096509650965096509650965086600860008c6001600160a01b03166001600160a01b03168152602001908152602001600020546149b29190615251565b6000806000806000806000614b91886134af565b965096509650965096509650965087600960008c6001600160a01b03166001600160a01b0316815260200190815260200160002054614bd09190615251565b6001600160a01b038b16600090815260096020908152604080832093909355600890522054614ac3908890615251565b60006064600e5483614c129190615232565b6110d99190615130565b6000606460125483614c129190615232565b6000606460105483614c129190615232565b6000614c4a61348c565b90506000614c588284615232565b30600090815260086020526040902054909150614c76908290615118565b3060009081526008602090815260408083209390935560249052205460ff1615614cc65730600090815260096020526040902054614cb5908490615118565b306000908152600960205260409020555b505050565b81601854614cd99190615251565b601855601954614cea908290615118565b6019555050565b60008083601f840112614d0357600080fd5b50813567ffffffffffffffff811115614d1b57600080fd5b6020830191508360208260051b8501011115614d3657600080fd5b9250929050565b600060208284031215614d4f57600080fd5b813561131e8161537b565b600060208284031215614d6c57600080fd5b815161131e8161537b565b60008060408385031215614d8a57600080fd5b8235614d958161537b565b91506020830135614da58161537b565b809150509250929050565b600080600060608486031215614dc557600080fd5b8335614dd08161537b565b92506020840135614de08161537b565b929592945050506040919091013590565b60008060408385031215614e0457600080fd5b8235614e0f8161537b565b946020939093013593505050565b60008060408385031215614e3057600080fd5b8235614e3b8161537b565b9150602083013560ff81168114614da557600080fd5b60008060008060408587031215614e6757600080fd5b843567ffffffffffffffff80821115614e7f57600080fd5b614e8b88838901614cf1565b90965094506020870135915080821115614ea457600080fd5b50614eb187828801614cf1565b95989497509550505050565b600060208284031215614ecf57600080fd5b813561131e81615390565b600060208284031215614eec57600080fd5b815161131e81615390565b60008060408385031215614f0a57600080fd5b50508035926020909101359150565b600060208284031215614f2b57600080fd5b5035919050565b600060208284031215614f4457600080fd5b5051919050565b60008060408385031215614f5e57600080fd5b823591506020830135614da581615390565b600081518084526020808501945080840160005b83811015614fa95781516001600160a01b031687529582019590820190600101614f84565b509495945050505050565b6000815180845260005b81811015614fda57602081850181015186830182015201614fbe565b81811115614fec576000602083870101525b50601f01601f19169290920160200192915050565b6003811061501f57634e487b7160e01b600052602160045260246000fd5b9052565b6001600160a01b038416815282602082015260606040820152600061504b6060830184614fb4565b95945050505050565b602081016110d98284615001565b84815260806020820152600061507b6080830186614f70565b6001600160a01b03949094166040830152506060015292915050565b60208152600061131e6020830184614fb4565b85815284602082015260a0604082015260006150c960a0830186614f70565b6001600160a01b0394909416606083015250608001529392505050565b858152602081018590526040810184905260a081016151086060830185615001565b8260808301529695505050505050565b6000821982111561512b5761512b61530d565b500190565b60008261513f5761513f615323565b500490565b600181815b8085111561517f5781600019048211156151655761516561530d565b8085161561517257918102915b93841c9390800290615149565b509250929050565b600061131e60ff8416836000826151a0575060016110d9565b816151ad575060006110d9565b81600181146151c357600281146151cd576151e9565b60019150506110d9565b60ff8411156151de576151de61530d565b50506001821b6110d9565b5060208310610133831016604e8410600b841016171561520c575081810a6110d9565b6152168383615144565b806000190482111561522a5761522a61530d565b029392505050565b600081600019048311821515161561524c5761524c61530d565b500290565b6000828210156152635761526361530d565b500390565b6000816152775761527761530d565b506000190190565b600181811c9082168061529357607f821691505b602082108114156152b457634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156152ce576152ce61530d565b5060010190565b600063ffffffff808316818114156152ef576152ef61530d565b6001019392505050565b60008261530857615308615323565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b0381168114612c9a57600080fd5b8015158114612c9a57600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220bc2a57d282434b62f05f32ab523ade0fc4c03cbae74f4f13e54f7d24a47488b564736f6c63430008070033

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

0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000090df74b1edf8961e2e1e29e5e14c1c849d5d36fc000000000000000000000000dcf5c8273b57d0d227724dd2ac9a0ce010412d0f0000000000000000000000001e714e7daab6886920726059960b4a8f68f319e8000000000000000000000000389999216860ab8e0175387a0c90e5c52522c94500000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000010bc1576c00

-----Decoded View---------------
Arg [0] : router (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [1] : devWallet (address): 0x90DF74b1eDF8961e2e1e29e5E14c1C849d5d36fc
Arg [2] : marketingWallet (address): 0xdcf5C8273b57D0d227724DD2aC9A0ce010412d0f
Arg [3] : ecosystemWallet (address): 0x1e714e7DAAb6886920726059960b4A8f68F319e8
Arg [4] : jackpotTokenAddress_IN (address): 0x389999216860AB8E0175387A0c90E5c52522C945
Arg [5] : jackpotTokenDecimals_IN (uint8): 9
Arg [6] : lottoJackpotAmount_IN (uint256): 1150000000000

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [1] : 00000000000000000000000090df74b1edf8961e2e1e29e5e14c1c849d5d36fc
Arg [2] : 000000000000000000000000dcf5c8273b57d0d227724dd2ac9a0ce010412d0f
Arg [3] : 0000000000000000000000001e714e7daab6886920726059960b4a8f68f319e8
Arg [4] : 000000000000000000000000389999216860ab8e0175387a0c90e5c52522c945
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [6] : 0000000000000000000000000000000000000000000000000000010bc1576c00


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

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