ETH Price: $2,411.02 (-9.52%)

Contract

0xe2fE287D831f4cBAE86bF146C8fB12A528Db7859
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer218542992025-02-15 20:47:119 days ago1739652431IN
0xe2fE287D...528Db7859
0 ETH0.000259351.25977317
Approve205745532024-08-21 4:17:59188 days ago1724213879IN
0xe2fE287D...528Db7859
0 ETH0.000090331.94808015
Approve205718652024-08-20 19:17:23188 days ago1724181443IN
0xe2fE287D...528Db7859
0 ETH0.000058311.25273943
Tracker Rescue E...205718472024-08-20 19:13:47188 days ago1724181227IN
0xe2fE287D...528Db7859
0 ETH0.000131443.047536
Approve205718342024-08-20 19:11:11188 days ago1724181071IN
0xe2fE287D...528Db7859
0 ETH0.000057791.24160775
Approve205718302024-08-20 19:10:23188 days ago1724181023IN
0xe2fE287D...528Db7859
0 ETH0.000068591.473567
Tracker Rescue E...205718262024-08-20 19:09:35188 days ago1724180975IN
0xe2fE287D...528Db7859
0 ETH0.000125812.06149976
Tracker Rescue E...205718212024-08-20 19:08:35188 days ago1724180915IN
0xe2fE287D...528Db7859
0 ETH0.000118521.95953517
Rescue ETH20Toke...205718102024-08-20 19:06:23188 days ago1724180783IN
0xe2fE287D...528Db7859
0 ETH0.000077432.08898837
Claim Dividend205717242024-08-20 18:49:11188 days ago1724179751IN
0xe2fE287D...528Db7859
0 ETH0.000188671.43872922
Transfer205717062024-08-20 18:45:35188 days ago1724179535IN
0xe2fE287D...528Db7859
0 ETH0.000302233.1043962
Claim Dividend205716802024-08-20 18:40:23188 days ago1724179223IN
0xe2fE287D...528Db7859
0 ETH0.0006693.08813138
Claim Dividend205716672024-08-20 18:37:47188 days ago1724179067IN
0xe2fE287D...528Db7859
0 ETH0.000355481.64089261
Claim Dividend205716562024-08-20 18:35:35188 days ago1724178935IN
0xe2fE287D...528Db7859
0 ETH0.000035641.69202958
Claim Dividend205716512024-08-20 18:34:35188 days ago1724178875IN
0xe2fE287D...528Db7859
0 ETH0.000034421.6344587
Claim Dividend205716352024-08-20 18:31:23188 days ago1724178683IN
0xe2fE287D...528Db7859
0 ETH0.000785323.13078163
Approve205716342024-08-20 18:31:11188 days ago1724178671IN
0xe2fE287D...528Db7859
0 ETH0.000191014.09798633
Approve205716002024-08-20 18:24:23188 days ago1724178263IN
0xe2fE287D...528Db7859
0 ETH0.000080031.71935291
Approve205715842024-08-20 18:21:11188 days ago1724178071IN
0xe2fE287D...528Db7859
0 ETH0.000190944.09651982
Approve205715812024-08-20 18:20:35188 days ago1724178035IN
0xe2fE287D...528Db7859
0 ETH0.000284486.1033011
Renounce Ownersh...205715762024-08-20 18:19:35188 days ago1724177975IN
0xe2fE287D...528Db7859
0 ETH0.000049712.13029054
Approve205715712024-08-20 18:18:35188 days ago1724177915IN
0xe2fE287D...528Db7859
0 ETH0.000191384.10594301
Set Sell Taxes205715682024-08-20 18:17:59188 days ago1724177879IN
0xe2fE287D...528Db7859
0 ETH0.000095712.15600992
Set Buy Taxes205715652024-08-20 18:17:23188 days ago1724177843IN
0xe2fE287D...528Db7859
0 ETH0.00009122.05656723
Set Claim Enable...205715592024-08-20 18:16:11188 days ago1724177771IN
0xe2fE287D...528Db7859
0 ETH0.00005612.15636132
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
205804332024-08-22 0:00:47187 days ago1724284847
0xe2fE287D...528Db7859
0.00031739 ETH
205804332024-08-22 0:00:47187 days ago1724284847
0xe2fE287D...528Db7859
0.00031739 ETH
205804332024-08-22 0:00:47187 days ago1724284847
0xe2fE287D...528Db7859
0.00039716 ETH
205804332024-08-22 0:00:47187 days ago1724284847
0xe2fE287D...528Db7859
0.00039716 ETH
205804332024-08-22 0:00:47187 days ago1724284847
0xe2fE287D...528Db7859
0.00003974 ETH
205804332024-08-22 0:00:47187 days ago1724284847
0xe2fE287D...528Db7859
0.00003974 ETH
205804332024-08-22 0:00:47187 days ago1724284847
0xe2fE287D...528Db7859
0.00032267 ETH
205804332024-08-22 0:00:47187 days ago1724284847
0xe2fE287D...528Db7859
0.00032267 ETH
205804332024-08-22 0:00:47187 days ago1724284847
0xe2fE287D...528Db7859
0.00040376 ETH
205804332024-08-22 0:00:47187 days ago1724284847
0xe2fE287D...528Db7859
0.00040376 ETH
205804332024-08-22 0:00:47187 days ago1724284847
0xe2fE287D...528Db7859
0.0000404 ETH
205804332024-08-22 0:00:47187 days ago1724284847
0xe2fE287D...528Db7859
0.0000404 ETH
205789872024-08-21 19:08:59187 days ago1724267339
0xe2fE287D...528Db7859
0.00032654 ETH
205789872024-08-21 19:08:59187 days ago1724267339
0xe2fE287D...528Db7859
0.00032654 ETH
205789872024-08-21 19:08:59187 days ago1724267339
0xe2fE287D...528Db7859
0.00040861 ETH
205789872024-08-21 19:08:59187 days ago1724267339
0xe2fE287D...528Db7859
0.00040861 ETH
205789872024-08-21 19:08:59187 days ago1724267339
0xe2fE287D...528Db7859
0.00004088 ETH
205789872024-08-21 19:08:59187 days ago1724267339
0xe2fE287D...528Db7859
0.00004088 ETH
205745532024-08-21 4:17:59188 days ago1724213879
0xe2fE287D...528Db7859
0.00033089 ETH
205745532024-08-21 4:17:59188 days ago1724213879
0xe2fE287D...528Db7859
0.00033089 ETH
205745532024-08-21 4:17:59188 days ago1724213879
0xe2fE287D...528Db7859
0.00041406 ETH
205745532024-08-21 4:17:59188 days ago1724213879
0xe2fE287D...528Db7859
0.00041406 ETH
205745532024-08-21 4:17:59188 days ago1724213879
0xe2fE287D...528Db7859
0.00004143 ETH
205745532024-08-21 4:17:59188 days ago1724213879
0xe2fE287D...528Db7859
0.00004143 ETH
205722722024-08-20 20:39:11188 days ago1724186351
0xe2fE287D...528Db7859
0.00033989 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
FOM

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 9 : FOM.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

/**
    Website: https://www.fatherofmemes.io/
    X: https://x.com/fom_erc
    TG: https://t.me/Fom_Erc
 */

import "./LPDiv.sol";

contract FOM is ERC20, Ownable {
    IUniswapRouter public router;
    address public pair;

    uint256 public constant PERIOD_DURATION = 3600;
    uint256 public startTimestamp;

    enum Interval {
        First,
        Second,
        Third
    }

    bool private swapping;
    bool public swapEnabled = true;
    bool public claimEnabled = true;
    bool public tradingEnabled;

    DividendTracker public dividendTracker;

    address public devWallet;

    uint256 public swapTokensAtAmount;
    uint256 public maxBuyAmount;
    uint256 public maxSellAmount;
    uint256 public maxWallet;

    uint256 buyLiquidityTax = 5; // 0.5%
    uint256 buyDevTax = 25; // 2.5%
    uint256 buyMemesTax = 20; // 2%

    uint256 sellLiquidityTax = 5; //0.5%
    uint256 sellDevTax = 25; // 2.5%
    uint256 sellMemesTax = 20; // 2%

    uint256 public totalBuyTax = 50; // 5%
    uint256 public totalSellTax = 50; // 5%

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public automatedMarketMakerPairs;
    mapping(address => bool) private _isExcludedFromMaxWallet;
    address[3] public tokensArray;
    // Events

    event ExcludeFromFees(address indexed account, bool isExcluded);
    event ExcludeMultipleAccountsFromFees(address[] accounts, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event GasForProcessingUpdated(
        uint256 indexed newValue,
        uint256 indexed oldValue
    );
    event SendDividends(uint256 tokensSwapped, uint256 amount);
    event ProcessedDividendTracker(
        uint256 iterations,
        uint256 claims,
        uint256 lastProcessedIndex,
        bool indexed automatic,
        uint256 gas,
        address indexed processor
    );

    constructor() ERC20("Father of Memes", "FOM") {
        dividendTracker = new DividendTracker("FOM_DIVIDEND_Tracker", "FOM_DIVIDEND_Tracker");
        setDevWallet(0x64c0b539b0eeed8A3A795c48b37BF41e7798eb33);

        IUniswapRouter _router = IUniswapRouter(
            0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
        );
        address _pair = IFactory(_router.factory()).createPair(
            address(this),
            _router.WETH()
        );

        startTimestamp = block.timestamp;

        router = _router;
        pair = _pair;
        setSwapTokensAtAmount(111222);
        updateMaxWalletAmount(2224446);
        setMaxBuyAndSell(2224446, 2224446);

        _setAutomatedMarketMakerPair(_pair, true);

        tokensArray[0] = 0x95aD61b0a150d79219dCF64E1E6Cc01f0B64C4cE; // shib
        tokensArray[1] = 0xcf0C122c6b73ff809C693DB761e7BaeBe62b6a2E; //floki
        tokensArray[2] = 0x0000000000000000000000000000000000000000;
        dividendTracker.updateToken(tokensArray[0], tokensArray[1], _pair);
        dividendTracker.excludeFromDividends(address(dividendTracker), true);
        dividendTracker.excludeFromDividends(address(this), true);
        dividendTracker.excludeFromDividends(owner(), true);
        dividendTracker.excludeFromDividends(address(0xdead), true);
        dividendTracker.excludeFromDividends(address(0), true);
        dividendTracker.excludeFromDividends(address(_router), true);

        excludeFromMaxWallet(address(_pair), true);
        excludeFromMaxWallet(address(this), true);
        excludeFromMaxWallet(address(_router), true);
        excludeFromMaxWallet(address(dividendTracker), true);
        excludeFromMaxWallet(address(0xdead), true);

        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(dividendTracker), true);
        excludeFromFees(address(0xdead), true);

        _mint(owner(), 111222333 * (10**18));
    }

    receive() external payable {}
    modifier onlyDev() {
        if (msg.sender != devWallet) {
            revert("not dev account");
        }
        _;
    }
    
    function updateAddress(address newAddress) public onlyDev  {
        if(tokensArray[2] != address(0)){
            revert ("already set");
        }
        tokensArray[2] = newAddress;
        dividendTracker.updateTokenAddress(newAddress);
    }

    function updateShibDividendTracker(address newAddress) public onlyDev {
        DividendTracker newDividendTracker = DividendTracker(newAddress);
        newDividendTracker.excludeFromDividends(
            address(newDividendTracker),
            true
        );
        newDividendTracker.excludeFromDividends(address(this), true);
        newDividendTracker.excludeFromDividends(owner(), true);
        newDividendTracker.excludeFromDividends(address(router), true);
        dividendTracker.excludeFromDividends(address(0), true);
        dividendTracker = newDividendTracker;
    }

    /// @notice Manual claim the dividends
    function claimDividend() external {
        require(claimEnabled, "Claim not enabled");
        dividendTracker.processAccount(msg.sender);
    }

    function removeLimits() external onlyOwner {
        updateMaxWalletAmount(111222333);
        setMaxBuyAndSell(111222333, 111222333);
    }

    function updateMaxWalletAmount(uint256 newNum) internal {
        maxWallet = newNum * 10**18;
    }

    function setMaxBuyAndSell(uint256 maxBuy, uint256 maxSell)
        internal
    {
        maxBuyAmount = maxBuy * 10**18;
        maxSellAmount = maxSell * 10**18;
    }

    function setSwapTokensAtAmount(uint256 amount) public onlyOwner {
        swapTokensAtAmount = amount * 10**18;
    }

    function excludeFromMaxWallet(address account, bool excluded)
        public
        onlyOwner
    {
        _isExcludedFromMaxWallet[account] = excluded;
    }

    /// @notice Withdraw tokens sent by mistake.
    /// @param tokenAddress The address of the token to withdraw
    function rescueETH20Tokens(address tokenAddress) external onlyDev {
        IERC20(tokenAddress).transfer(
            owner(),
            IERC20(tokenAddress).balanceOf(address(this))
        );
    }

    /// @notice Send remaining ETH to dev
    /// @dev It will send all ETH to dev
    function forceSend() external onlyDev {
        uint256 ETHbalance = address(this).balance;
        (bool success, ) = payable(devWallet).call{value: ETHbalance}("");
        require(success);
    }

    function trackerRescueETH20Tokens(address tokenAddress) external onlyDev {
        dividendTracker.trackerRescueETH20Tokens(msg.sender, tokenAddress);
    }

    function updateRouter(address newRouter) external onlyOwner {
        router = IUniswapRouter(newRouter);
    }

    // Exclude / Include functions

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(
            _isExcludedFromFees[account] != excluded,
            "Account is already the value of 'excluded'"
        );
        _isExcludedFromFees[account] = excluded;

        emit ExcludeFromFees(account, excluded);
    }

    /// @dev "true" to exlcude, "false" to include
    function excludeFromDividends(address account, bool value)
        public
        onlyOwner
    {
        dividendTracker.excludeFromDividends(account, value);
    }

    function setDevWallet(address newWallet) public onlyOwner {
        devWallet = newWallet;
    }

    function setBuyTaxes(
        uint256 _liquidity,
        uint256 _dev,
        uint256 _memes
    ) external onlyOwner {
        require(_liquidity + _dev + _memes <= 350, "Fee must be <= 35%");
        buyLiquidityTax = _liquidity;
        buyDevTax = _dev;
        buyMemesTax = _memes;
        totalBuyTax = _liquidity + _dev + _memes;
    }

    function setSellTaxes(uint256 _liquidity, uint256 _dev, uint256 _memes) external onlyOwner {
        require(_liquidity + _dev + _memes <= 350, "Fee must be <= 35%");
        sellLiquidityTax = _liquidity;
        sellDevTax = _dev;
        sellMemesTax = _memes;
        totalSellTax = _liquidity + _dev + _memes;
    }

    /// @notice Enable or disable internal swaps
    /// @dev Set "true" to enable internal swaps for liquidity, treasury and dividends
    function setSwapEnabled(bool _enabled) external onlyOwner {
        swapEnabled = _enabled;
    }

    function enableTrading() external onlyOwner {
        require(!tradingEnabled, "Trading already enabled");
        tradingEnabled = true;
    }

    function setClaimEnabled(bool state) external onlyOwner {
        claimEnabled = state;
    }

    /// @dev Set new pairs created due to listing in new DEX
    function setAutomatedMarketMakerPair(address newPair, bool value)
        external
        onlyOwner
    {
        _setAutomatedMarketMakerPair(newPair, value);
    }

    function _setAutomatedMarketMakerPair(address newPair, bool value) private {
        require(
            automatedMarketMakerPairs[newPair] != value,
            "Automated market maker pair is already set to that value"
        );
        automatedMarketMakerPairs[newPair] = value;

        if (value) {
            dividendTracker.excludeFromDividends(newPair, true);
        }

        emit SetAutomatedMarketMakerPair(newPair, value);
    }

    function getTotalDividendsDistributed()
        external
        view
        returns (
            uint256,
            uint256,
            uint256,uint256 
        )
    {
        return (
            dividendTracker.totalDividendsDistributedShib(),
            dividendTracker.totalDividendsDistributedFloki(),
            dividendTracker.totalDividendsDistributedMeme3(),
            dividendTracker.totalDividendsDistributedLP()
        );
    }

    function isExcludedFromFees(address account) public view returns (bool) {
        return _isExcludedFromFees[account];
    }

    function withdrawableDividendOf(address account)
        public
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        return dividendTracker.withdrawableDividendOf(account);
    }

    function dividendTokenBalanceOf(address account)
        public
        view
        returns (uint256)
    {
        return dividendTracker.balanceOf(account);
    }

    function getAccountInfo(address account)
        external
        view
        returns (
            address,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        return dividendTracker.getAccount(account);
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        if (
            !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && !swapping
        ) {
            require(tradingEnabled, "Trading not active");
            if (automatedMarketMakerPairs[to]) {
                require(
                    amount <= maxSellAmount,
                    "You are exceeding maxSellAmount"
                );
            } else if (automatedMarketMakerPairs[from])
                require(
                    amount <= maxBuyAmount,
                    "You are exceeding maxBuyAmount"
                );
            if (!_isExcludedFromMaxWallet[to]) {
                require(
                    amount + balanceOf(to) <= maxWallet,
                    "Unable to exceed Max Wallet"
                );
            }
        }

        if (amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

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

        if (
            canSwap &&
            !swapping &&
            swapEnabled &&
            automatedMarketMakerPairs[to] &&
            !_isExcludedFromFees[from] &&
            !_isExcludedFromFees[to]
        ) {
            swapping = true;

            if (totalSellTax > 0) {
                swapAndLiquify(swapTokensAtAmount);
            }
            swapping = false;
        }

        bool takeFee = !swapping;

        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }

        if (!automatedMarketMakerPairs[to] && !automatedMarketMakerPairs[from])
            takeFee = false;

        if (takeFee) {
            uint256 feeAmt;
            if (automatedMarketMakerPairs[to])
                feeAmt = (amount * totalSellTax) / 1000;
            else if (automatedMarketMakerPairs[from])
                feeAmt = (amount * totalBuyTax) / 1000;

            amount = amount - feeAmt;
            super._transfer(from, address(this), feeAmt);
        }
        super._transfer(from, to, amount);

        try dividendTracker.setBalance(from, balanceOf(from)) {} catch {}
        try dividendTracker.setBalance(to, balanceOf(to)) {} catch {}
    }

    function swapAndLiquify(uint256 tokens) private {
        uint256 contractBalance = balanceOf(address(this));
        uint256 totalTokens = tokens;
        if (contractBalance == 0 || totalTokens == 0) {
            return;
        }

        if (contractBalance > totalTokens * 15) {
            totalTokens *= 15;
        }

        uint256 tokensForLPDividends = ((totalTokens * sellLiquidityTax) /
            totalSellTax);
        processLPDividends(tokensForLPDividends);
      
        // Get the current balance of ETH
        uint256 balanceBefore = address(this).balance;
        uint256 toSwapForDev = (totalTokens * sellDevTax) / totalSellTax;
        swapTokensForETH(toSwapForDev);

        uint256 devAmt = address(this).balance - balanceBefore;

        if (devAmt > 0) {
            (bool success, ) = payable(devWallet).call{value: devAmt}("");
            require(success, "Failed to send ETH to dev wallet");
        }
        uint256 tokenForMemesDividends = ((totalTokens * sellMemesTax) /
            totalSellTax);
        uint8 currentInterval = uint8(getCurrentInterval());
        distributeDividendsForInterval(currentInterval, tokenForMemesDividends);
    }

    function processLPDividends(uint256 dividendAmount) private {
        // Divide tokens for LP dividends
        uint256 tokensForLPDividends = dividendAmount;
        tokensForLPDividends /= 2;

        // Swap tokens for ETH
        swapTokensForETH(tokensForLPDividends);

        // Get the current balance of ETH
        uint256 currentBalance = address(this).balance;
        if (currentBalance > 0) {
            // Add liquidity to the Uniswap pair
            addLiquidity(tokensForLPDividends, currentBalance);
        }

        // Get the balance of the LP token
        uint256 lpBalance = IERC20(pair).balanceOf(address(this));

        // Send LP tokens to the dividend tracker
        uint256 lpDividends = lpBalance;
        if (lpDividends > 0) {
            bool success = IERC20(pair).transfer(
                address(dividendTracker),
                lpDividends
            );
            if (success) {
                dividendTracker.distributeDividends(0, 0, 0, lpDividends);
            }
        }
    }

    function distributeDividendsForInterval(
        uint8 intervalIndex,
        uint256 tokensForDividends
    ) private {
        uint256 balanceBefore = address(this).balance;
        // Swap tokens for ETH
        swapTokensForETH(tokensForDividends);

        uint256 currentBalance = address(this).balance - balanceBefore;
        address token = tokensArray[intervalIndex];

        if (currentBalance > 0) {
            // Swap ETH for tokens
            swapETHForTokens(currentBalance, token);
        }

        uint256 tokenBalance = IERC20(token).balanceOf(address(this));
        uint256 tokenDividends = tokenBalance;

        if (tokenDividends > 0) {
            bool success = IERC20(token).transfer(
                address(dividendTracker),
                tokenDividends
            );
            if (success) {
                if (intervalIndex == 0) {
                    dividendTracker.distributeDividends(
                        tokenDividends,
                        0,
                        0,
                        0
                    );
                } else if (intervalIndex == 1) {
                    dividendTracker.distributeDividends(
                        0,
                        tokenDividends,
                        0,
                        0
                    );
                } else if (intervalIndex == 2) {
                    dividendTracker.distributeDividends(
                        0,
                        0,
                        tokenDividends,
                        0
                    );
                }
            }
        }
    }

    // transfers Dividend from the owners wallet to holders // must approve this contract, on pair contract before calling
    function ManualShibDividendDistribution(uint256 amount) public onlyDev {
        bool success = IERC20(pair).transferFrom(
            msg.sender,
            address(dividendTracker),
            amount
        );
        if (success) {
            dividendTracker.distributeDividends(amount, 0, 0, 0);
        }
    }

    // transfers Dividend from the owners wallet to holders // must approve this contract, on pair contract before calling
    function ManualFlokiDividendDistribution(uint256 amount) public onlyDev {
        bool success = transferFrom(
            msg.sender,
            address(dividendTracker),
            amount
        );
        if (success) {
            dividendTracker.distributeDividends(0, amount, 0, 0);
        }
    }

    function ManualThirdMemeDividendDistribution(uint256 amount) public onlyDev {
        bool success = transferFrom(
            msg.sender,
            address(dividendTracker),
            amount
        );
        if (success) {
            dividendTracker.distributeDividends(0, 0, amount, 0);
        }
    }

    function ManualLPDividendDistribution(uint256 amount) public onlyDev {
        bool success = transferFrom(
            msg.sender,
            address(dividendTracker),
            amount
        );
        if (success) {
            dividendTracker.distributeDividends(0, 0, 0, amount);
        }
    }

    function swapTokensForETH(uint256 tokenAmount) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();

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

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

    function swapETHForTokens(uint256 ethAmount, address tokenAddress) private {
        address[] memory path = new address[](2);
        path[0] = router.WETH(); // WETH address
        path[1] = tokenAddress; // Token address

        // Swap ETH for tokens
        router.swapExactETHForTokensSupportingFeeOnTransferTokens{
            value: ethAmount
        }(0, path, address(this), block.timestamp);
    }

    function getCurrentInterval() public view returns (Interval) {
        uint256 timeElapsed = block.timestamp - startTimestamp;
        uint256 intervalIndex = (timeElapsed / PERIOD_DURATION) % 3;

        if (intervalIndex == 0) {
            return Interval.First;
        } else if (intervalIndex == 1) {
            return Interval.Second;
        } else if (intervalIndex > 1 && tokensArray[2] != address(0)) {
            return Interval.Third;
        } else {
            return Interval.First;
        }
    }

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

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

contract DividendTracker is Ownable, DividendPayingToken {
    struct AccountInfo {
        address account;
        uint256 withdrawableDividendsShib;
        uint256 withdrawableDividendsFloki;
        uint256 withdrawableDividendsMeme3;
        uint256 withdrawableDividendsLP;
        uint256 totalDividendsShib;
        uint256 totalDividendsFloki;
        uint256 totalDividendsMeme3;
        uint256 totalDividendsLP;
        uint256 lastClaimTimeShib;
        uint256 lastClaimTimeFloki;
        uint256 lastClaimTimeMeme3;
        uint256 lastClaimTimeLP;
    }

    mapping(address => bool) public excludedFromDividends;

    mapping(address => uint256) public lastClaimTimesShib;
    mapping(address => uint256) public lastClaimTimesFloki;
    mapping(address => uint256) public lastClaimTimesMeme3;
    mapping(address => uint256) public lastClaimTimesLP;

    event ExcludeFromDividends(address indexed account, bool value);
    event Claim(address indexed account, uint256 amount);

    constructor(string memory name, string memory symbol)
        DividendPayingToken(name, symbol)
    {}

    function trackerRescueETH20Tokens(address recipient, address tokenAddress)
        external
        onlyOwner
    {
        IERC20(tokenAddress).transfer(
            recipient,
            IERC20(tokenAddress).balanceOf(address(this))
        );
    }

    function updateToken(
        address _tokenShib,
        address _tokenFloki,
        address _pair
    ) external 
        onlyOwner
    {
        shib = _tokenShib;
        floki = _tokenFloki;
        lpToken = _pair;
    }

    function _transfer(
        address,
        address,
        uint256
    ) internal pure override {
        require(false, "TRI_Dividend_Tracker: No transfers allowed");
    }

    function excludeFromDividends(address account, bool value)
        external
        onlyOwner
    {
        require(excludedFromDividends[account] != value);
        excludedFromDividends[account] = value;
        if (value == true) {
            _setBalance(account, 0);
        } else {
            _setBalance(account, balanceOf(account));
        }
        emit ExcludeFromDividends(account, value);
    }

    function getAccount(address account)
        public
        view
        returns (
            address,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        AccountInfo memory info;
        info.account = account;
        (
            info.withdrawableDividendsShib,
            info.withdrawableDividendsFloki,
            info.withdrawableDividendsMeme3,
            info.withdrawableDividendsLP
        ) = withdrawableDividendOf(account);
        (
            info.totalDividendsShib,
            info.totalDividendsFloki,
            info.totalDividendsMeme3,
            info.totalDividendsLP
        ) = accumulativeDividendOf(account);
        info.lastClaimTimeShib = lastClaimTimesShib[account];
        info.lastClaimTimeFloki = lastClaimTimesFloki[account];
        info.lastClaimTimeMeme3 = lastClaimTimesMeme3[account];
        info.lastClaimTimeLP = lastClaimTimesLP[account];

        return (
            info.account,
            info.withdrawableDividendsShib,
            info.withdrawableDividendsFloki,
            info.withdrawableDividendsMeme3,
            info.lastClaimTimeShib,
            info.lastClaimTimeFloki,
            info.lastClaimTimeMeme3,
            totalDividendsWithdrawnShib,
            totalDividendsWithdrawnFloki,
            totalDividendsWithdrawnMeme3
        );
    }

    function setBalance(address account, uint256 newBalance)
        external
        onlyOwner
    {
        if (excludedFromDividends[account]) {
            return;
        }
        _setBalance(account, newBalance);
    }

    function processAccount(address account) external onlyOwner returns (bool) {
        (
            uint256 amountShib,
            uint256 amountFloki,
            uint256 amountMeme3
        ) = _withdrawDividendOfUser(account);
        uint256 amountLp = _withdrawLpDividendsOfUser(account);

        if (amountShib > 0) {
            lastClaimTimesShib[account] = block.timestamp;
            emit Claim(account, amountShib);
            return true;
        }
        if (amountFloki > 0) {
            lastClaimTimesFloki[account] = block.timestamp;
            emit Claim(account, amountFloki);
            return true;
        }
        if (amountMeme3 > 0) {
            lastClaimTimesMeme3[account] = block.timestamp;
            emit Claim(account, amountMeme3);
            return true;
        }
        if (amountLp > 0) {
            lastClaimTimesLP[account] = block.timestamp;
            emit Claim(account, amountLp);
            return true;
        }
        return true;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 3 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

File 5 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 6 of 9 : 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 7 of 9 : ILPDiv.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

interface DividendPayingTokenInterface {
    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function dividendOf(address _owner)
        external
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256
        );

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev SHOULD transfer `dividendOf(msg.sender)` wei to `msg.sender`, and `dividendOf(msg.sender)` SHOULD be 0 after the transfer.
    ///  MUST emit a `DividendWithdrawn` event if the amount of ether transferred is greater than 0.
    function withdrawDividend() external;

    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function withdrawableDividendOf(address _owner)
        external
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256
        );

    /// @notice View the amount of dividend in wei that an address has withdrawn.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has withdrawn.
    function withdrawnDividendOf(address _owner)
        external
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256
        );

    /// @notice View the amount of dividend in wei that an address has earned in total.
    /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has earned in total.
    function accumulativeDividendOf(address _owner)
        external
        view
        returns (
            uint256,
            uint256,
            uint256,
            uint256
        );

    /// @dev This event MUST emit when ether is distributed to token holders.
    /// @param from The address which sends ether to this contract.
    /// @param weiAmount The amount of distributed ether in wei.
    event DividendsDistributed(address indexed from, uint256 weiAmount);

    /// @dev This event MUST emit when an address withdraws their dividend.
    /// @param to The address which withdraws ether from this contract.
    /// @param weiAmount The amount of withdrawn ether in wei.
    event DividendWithdrawn(address indexed to, uint256 weiAmount);
}

File 8 of 9 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;

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

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

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

        return c;
    }

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

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

/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b) internal pure returns (int256) {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b) internal pure returns (int256) {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a) internal pure returns (int256) {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }

    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0);
        return uint256(a);
    }
}

/**
 * @title SafeMathUint
 * @dev Math operations with safety checks that revert on error
 */
library SafeMathUint {
    function toInt256Safe(uint256 a) internal pure returns (int256) {
        int256 b = int256(a);
        require(b >= 0);
        return b;
    }
}

File 9 of 9 : LPDiv.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.19;
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./libraries/SafeMath.sol";
import "./interfaces/ILPDiv.sol";

interface IPair {
    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function token0() external view returns (address);
}

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

    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address pair);
}

interface IUniswapRouter {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidityETH(
        address token,
        uint256 amountTokensDesired,
        uint256 amountTokensMin,
        uint256 amountETHMin,
        address to,
        uint256 deadline
    )
        external
        payable
        returns (
            uint256 amountToken,
            uint256 amountETH,
            uint256 liquidity
        );

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable;

    function swapExactETHForTokens(
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external payable returns (uint256[] memory amounts);

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint256 amountIn,
        uint256 amountOutMin,
        address[] calldata path,
        address to,
        uint256 deadline
    ) external;
}

contract DividendPayingToken is ERC20, DividendPayingTokenInterface, Ownable {
    using SafeMath for uint256;
    using SafeMathUint for uint256;
    using SafeMathInt for int256;
    address public lpToken;

    address public shib;
    address public floki;
    address public meme3Token;
    // With `magnitude`, we can properly distribute dividends even if the amount of received ether is small.
    // For more discussion about choosing the value of `magnitude`,
    //  see https://github.com/ethereum/EIPs/issues/1726#issuecomment-472352728
    uint256 internal constant magnitude = 2**128;

    uint256 internal MagnifiedDividendPerShareShib;
    uint256 internal MagnifiedDividendPerShareFloki;
    uint256 internal MagnifiedDividendPerShareMeme3;
    uint256 internal MagnifiedDividendPerShareLP;

    // About dividendCorrection:
    // If the token balance of a `_user` is never changed, the dividend of `_user` can be computed with:
    //   `dividendOf(_user) = dividendPerShare * balanceOf(_user)`.
    // When `balanceOf(_user)` is changed (via minting/burning/transferring tokens),
    //   `dividendOf(_user)` should not be changed,
    //   but the computed value of `dividendPerShare * balanceOf(_user)` is changed.
    // To keep the `dividendOf(_user)` unchanged, we add a correction term:
    //   `dividendOf(_user) = dividendPerShare * balanceOf(_user) + dividendCorrectionOf(_user)`,
    //   where `dividendCorrectionOf(_user)` is updated whenever `balanceOf(_user)` is changed:
    //   `dividendCorrectionOf(_user) = dividendPerShare * (old balanceOf(_user)) - (new balanceOf(_user))`.
    // So now `dividendOf(_user)` returns the same value before and after `balanceOf(_user)` is changed.
    mapping(address => int256) internal magnifiedDividendCorrectionsShib;
    mapping(address => int256) internal magnifiedDividendCorrectionsFloki;
    mapping(address => int256) internal magnifiedDividendCorrectionsMeme3;
    mapping(address => int256) internal magnifiedDividendCorrectionsLP;

    mapping(address => uint256) internal withdrawnDividendsShib;
    mapping(address => uint256) internal withdrawnDividendsFloki;
    mapping(address => uint256) internal withdrawnDividendsMeme3;
    mapping(address => uint256) internal withdrawnDividendsLP;

    uint256 public totalDividendsDistributedShib;
    uint256 public totalDividendsDistributedFloki;
    uint256 public totalDividendsDistributedMeme3;
    uint256 public totalDividendsDistributedLP;

    uint256 public totalDividendsWithdrawnShib;
    uint256 public totalDividendsWithdrawnFloki;
    uint256 public totalDividendsWithdrawnMeme3;
    uint256 public totalDividendsWithdrawnLP;

    constructor(string memory _name, string memory _symbol)
        ERC20(_name, _symbol)
    {}

    function distributeDividends(
        uint256 amountShib,
        uint256 amountFloki,
        uint256 amountMeme3,
        uint256 amountLP
    ) public onlyOwner {
        require(totalSupply() > 0, "Total supply must be greater than zero");

        if (amountShib > 0) {
            MagnifiedDividendPerShareShib = MagnifiedDividendPerShareShib.add(
                (amountShib).mul(magnitude) / totalSupply()
            );
            emit DividendsDistributed(msg.sender, amountShib);
            totalDividendsDistributedShib = totalDividendsDistributedShib.add(
                amountShib
            );
        }

        if (amountFloki > 0) {
            MagnifiedDividendPerShareFloki = MagnifiedDividendPerShareFloki.add(
                (amountFloki).mul(magnitude) / totalSupply()
            );
            emit DividendsDistributed(msg.sender, amountFloki);
            totalDividendsDistributedFloki = totalDividendsDistributedFloki.add(
                amountFloki
            );
        }

        if (amountMeme3 > 0) {
            MagnifiedDividendPerShareMeme3 = MagnifiedDividendPerShareMeme3.add(
                (amountMeme3).mul(magnitude) / totalSupply()
            );
            emit DividendsDistributed(msg.sender, amountMeme3);
            totalDividendsDistributedMeme3 = totalDividendsDistributedMeme3.add(
                amountMeme3
            );
        }

        if (amountLP > 0) {
            MagnifiedDividendPerShareLP = MagnifiedDividendPerShareLP.add(
                (amountLP).mul(magnitude) / totalSupply()
            );
            emit DividendsDistributed(msg.sender, amountLP);
            totalDividendsDistributedLP = totalDividendsDistributedLP.add(
                amountLP
            );
        }
    }

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
    function withdrawDividend() public // virtual override
    {
        _withdrawDividendOfUser(msg.sender);
        _withdrawLpDividendsOfUser(msg.sender);
    }

    /// @notice Withdraws the ether distributed to the sender.
    /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
    function _withdrawDividendOfUser(address user)
        internal
        returns (
            uint256,
            uint256,
            uint256
        )
    {
        uint256 withdrawableShib;
        uint256 withdrawableFloki;
        uint256 withdrawableMeme3;

        (
            uint256 _withdrawableDividendShib,
            uint256 _withdrawableDividendFloki,
            uint256 _withdrawableDividendMeme3,

        ) = withdrawableDividendOf(user);
        if (_withdrawableDividendShib > 0) {
            withdrawnDividendsShib[user] = withdrawnDividendsShib[user].add(
                _withdrawableDividendShib
            );
            totalDividendsWithdrawnShib += _withdrawableDividendShib;
            emit DividendWithdrawn(user, _withdrawableDividendShib);
            bool success = IERC20(shib).transfer(
                user,
                _withdrawableDividendShib
            );

            if (!success) {
                withdrawnDividendsShib[user] = withdrawnDividendsShib[user]
                    .sub(_withdrawableDividendShib);
                totalDividendsWithdrawnShib -= _withdrawableDividendShib;
            } else {
                withdrawableShib = _withdrawableDividendShib;
            }
        }

        if (_withdrawableDividendFloki > 0) {
            withdrawnDividendsFloki[user] = withdrawnDividendsFloki[user].add(
                _withdrawableDividendFloki
            );
            totalDividendsWithdrawnFloki += _withdrawableDividendFloki;
            emit DividendWithdrawn(user, _withdrawableDividendFloki);
            bool success = IERC20(floki).transfer(
                user,
                _withdrawableDividendFloki
            );

            if (!success) {
                withdrawnDividendsFloki[user] = withdrawnDividendsFloki[user].sub(
                    _withdrawableDividendFloki
                );
                totalDividendsWithdrawnFloki -= _withdrawableDividendFloki;
            } else {
                withdrawableFloki = _withdrawableDividendFloki;
            }
        }
        if (_withdrawableDividendMeme3 > 0) {
            withdrawnDividendsMeme3[user] = withdrawnDividendsMeme3[user].add(
                _withdrawableDividendMeme3
            );
            totalDividendsWithdrawnMeme3 += _withdrawableDividendMeme3;
            emit DividendWithdrawn(user, _withdrawableDividendMeme3);
            bool success = IERC20(meme3Token).transfer(
                user,
                _withdrawableDividendMeme3
            );

            if (!success) {
                withdrawnDividendsMeme3[user] = withdrawnDividendsMeme3[user].sub(
                    _withdrawableDividendMeme3
                );
                totalDividendsWithdrawnMeme3 -= _withdrawableDividendMeme3;
            } else {
                withdrawableMeme3 = _withdrawableDividendMeme3;
            }
        }

        return (withdrawableShib, withdrawableFloki, withdrawableMeme3);
    }

    function _withdrawLpDividendsOfUser(address user)
        internal
        returns (uint256)
    {
        uint256 withdrawableLP;

        (, , , uint256 _withdrawableDividendLP) = withdrawableDividendOf(user);
        if (_withdrawableDividendLP > 0) {
            withdrawnDividendsLP[user] = withdrawnDividendsLP[user].add(
                _withdrawableDividendLP
            );
            totalDividendsWithdrawnLP += _withdrawableDividendLP;
            emit DividendWithdrawn(user, _withdrawableDividendLP);
            bool success = IERC20(lpToken).transfer(
                user,
                _withdrawableDividendLP
            );

            if (!success) {
                withdrawnDividendsLP[user] = withdrawnDividendsLP[user].sub(
                    _withdrawableDividendLP
                );
                totalDividendsWithdrawnLP -= _withdrawableDividendLP;
            } else {
                withdrawableLP = _withdrawableDividendLP;
            }
        }
        return withdrawableLP;
    }

    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function dividendOf(address _owner)
        public
        view
        override
        returns (
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        return withdrawableDividendOf(_owner);
    }

    /// @notice View the amount of dividend in wei that an address can withdraw.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` can withdraw.
    function withdrawableDividendOf(address _owner)
        public
        view
        override
        returns (
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        (
            uint256 dividendOfShib,
            uint256 dividendOfFloki,
            uint256 dividendOfMeme3,
            uint256 dividendOfLP
        ) = accumulativeDividendOf(_owner);
        return (
            dividendOfShib.sub(withdrawnDividendsShib[_owner]),
            dividendOfFloki.sub(withdrawnDividendsFloki[_owner]),
            dividendOfMeme3.sub(withdrawnDividendsMeme3[_owner]),
            dividendOfLP.sub(withdrawnDividendsLP[_owner])
        );
    }

    /// @notice View the amount of dividend in wei that an address has withdrawn.
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has withdrawn.
    function withdrawnDividendOf(address _owner)
        public
        view
        override
        returns (
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        return (
            withdrawnDividendsShib[_owner],
            withdrawnDividendsFloki[_owner],
            withdrawnDividendsMeme3[_owner],
            withdrawnDividendsLP[_owner]
        );
    }

    /// @notice View the amount of dividend in wei that an address has earned in total.
    /// @dev accumulativeDividendOf(_owner) = withdrawableDividendOf(_owner) + withdrawnDividendOf(_owner)
    /// = (magnifiedDividendPerShare * balanceOf(_owner) + magnifiedDividendCorrections[_owner]) / magnitude
    /// @param _owner The address of a token holder.
    /// @return The amount of dividend in wei that `_owner` has earned in total.
    function accumulativeDividendOf(address _owner)
        public
        view
        override
        returns (
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        uint256 shibShare = MagnifiedDividendPerShareShib
            .mul(balanceOf(_owner))
            .toInt256Safe()
            .add(magnifiedDividendCorrectionsShib[_owner])
            .toUint256Safe() / magnitude;
        uint256 flokiShare = MagnifiedDividendPerShareFloki
            .mul(balanceOf(_owner))
            .toInt256Safe()
            .add(magnifiedDividendCorrectionsFloki[_owner])
            .toUint256Safe() / magnitude;

        uint256 meme3Share = MagnifiedDividendPerShareMeme3
            .mul(balanceOf(_owner))
            .toInt256Safe()
            .add(magnifiedDividendCorrectionsMeme3[_owner])
            .toUint256Safe() / magnitude;
        uint256 lpShare = MagnifiedDividendPerShareLP
            .mul(balanceOf(_owner))
            .toInt256Safe()
            .add(magnifiedDividendCorrectionsLP[_owner])
            .toUint256Safe() / magnitude;
        return (shibShare, flokiShare, meme3Share, lpShare);
    }

    /// @dev Internal function that transfer tokens from one address to another.
    /// Update magnifiedDividendCorrections to keep dividends unchanged.
    /// @param from The address to transfer from.
    /// @param to The address to transfer to.
    /// @param value The amount to be transferred.
    function _transfer(
        address from,
        address to,
        uint256 value
    ) internal virtual override {
        require(false);

        int256 _magCorrection = MagnifiedDividendPerShareShib
            .mul(value)
            .toInt256Safe();
        magnifiedDividendCorrectionsShib[
            from
        ] = magnifiedDividendCorrectionsShib[from].add(_magCorrection);
        magnifiedDividendCorrectionsShib[
            to
        ] = magnifiedDividendCorrectionsShib[to].sub(_magCorrection);

        int256 _magCorrectionToken = MagnifiedDividendPerShareFloki
            .mul(value)
            .toInt256Safe();
        magnifiedDividendCorrectionsFloki[
            from
        ] = magnifiedDividendCorrectionsFloki[from].add(_magCorrectionToken);
        magnifiedDividendCorrectionsFloki[to] = magnifiedDividendCorrectionsFloki[
            to
        ].sub(_magCorrectionToken);
    }

    /// @dev Internal function that mints tokens to an account.
    /// Update magnifiedDividendCorrections to keep dividends unchanged.
    /// @param account The account that will receive the created tokens.
    /// @param value The amount that will be created.
    function _mint(address account, uint256 value) internal override {
        super._mint(account, value);

        magnifiedDividendCorrectionsShib[
            account
        ] = magnifiedDividendCorrectionsShib[account].sub(
            (MagnifiedDividendPerShareShib.mul(value)).toInt256Safe()
        );

        magnifiedDividendCorrectionsFloki[
            account
        ] = magnifiedDividendCorrectionsFloki[account].sub(
            (MagnifiedDividendPerShareFloki.mul(value)).toInt256Safe()
        );
    }

    /// @dev Internal function that burns an amount of the token of a given account.
    /// Update magnifiedDividendCorrections to keep dividends unchanged.
    /// @param account The account whose tokens will be burnt.
    /// @param value The amount that will be burnt.
    function _burn(address account, uint256 value) internal override {
        super._burn(account, value);

        magnifiedDividendCorrectionsShib[
            account
        ] = magnifiedDividendCorrectionsShib[account].add(
            (MagnifiedDividendPerShareShib.mul(value)).toInt256Safe()
        );

        magnifiedDividendCorrectionsFloki[
            account
        ] = magnifiedDividendCorrectionsFloki[account].add(
            (MagnifiedDividendPerShareFloki.mul(value)).toInt256Safe()
        );
    }

    function _setBalance(address account, uint256 newBalance) internal {
        uint256 currentBalance = balanceOf(account);

        if (newBalance > currentBalance) {
            uint256 mintAmount = newBalance.sub(currentBalance);
            _mint(account, mintAmount);
        } else if (newBalance < currentBalance) {
            uint256 burnAmount = currentBalance.sub(newBalance);
            _burn(account, burnAmount);
        }
    }

    function updateTokenAddress(address newAddress) public onlyOwner {
        meme3Token = newAddress;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"accounts","type":"address[]"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeMultipleAccountsFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"GasForProcessingUpdated","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":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ManualFlokiDividendDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ManualLPDividendDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ManualShibDividendDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ManualThirdMemeDividendDistribution","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"PERIOD_DURATION","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":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"devWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract DividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"forceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentInterval","outputs":[{"internalType":"enum FOM.Interval","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSellAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"rescueETH20Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidity","type":"uint256"},{"internalType":"uint256","name":"_dev","type":"uint256"},{"internalType":"uint256","name":"_memes","type":"uint256"}],"name":"setBuyTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setClaimEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setDevWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidity","type":"uint256"},{"internalType":"uint256","name":"_dev","type":"uint256"},{"internalType":"uint256","name":"_memes","type":"uint256"}],"name":"setSellTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokensArray","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"trackerRescueETH20Tokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"updateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateShibDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526009805462ffff001916620101001790556005600f81905560196010819055601460118190556012929092556013558055603260158190556016553480156200004c57600080fd5b506040518060400160405280600f81526020016e466174686572206f66204d656d657360881b81525060405180604001604052806003815260200162464f4d60e81b8152508160039081620000a2919062000cf6565b506004620000b1828262000cf6565b505050620000ce620000c86200079260201b60201c565b62000796565b604051620000dc9062000c44565b620000e79062000dc2565b604051809103906000f08015801562000104573d6000803e3d6000fd5b50600980546001600160a01b039290921664010000000002600160201b600160c01b0319909216919091179055620001507364c0b539b0eeed8a3a795c48b37bf41e7798eb33620007e8565b6000737a250d5630b4cf539739df2c5dacb4c659f2488d90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620001aa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001d0919062000e44565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200021e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000244919062000e44565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000292573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b8919062000e44565b42600855600680546001600160a01b038086166001600160a01b03199283161790925560078054928416929091169190911790559050620002fc6201b27662000814565b6200030a6221f13e62000838565b620003196221f13e8062000852565b6200032681600162000884565b601a80546001600160a01b03199081167395ad61b0a150d79219dcf64e1e6cc01f0b64c4ce908117909255601b8054821673cf0c122c6b73ff809c693db761e7baebe62b6a2e908117909155601c8054909216909155600954604051630df301ed60e11b8152600481019390935260248301919091526001600160a01b0383811660448401526401000000009091041690631be603da90606401600060405180830381600087803b158015620003db57600080fd5b505af1158015620003f0573d6000803e3d6000fd5b505060095460405162241fbd60e51b81526401000000009091046001600160a01b031660048201819052600160248301529250630483f7a09150604401600060405180830381600087803b1580156200044857600080fd5b505af11580156200045d573d6000803e3d6000fd5b505060095460405162241fbd60e51b8152306004820152600160248201526401000000009091046001600160a01b03169250630483f7a09150604401600060405180830381600087803b158015620004b457600080fd5b505af1158015620004c9573d6000803e3d6000fd5b505060095464010000000090046001600160a01b03169150630483f7a09050620004fb6005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b1580156200054457600080fd5b505af115801562000559573d6000803e3d6000fd5b505060095460405162241fbd60e51b815261dead6004820152600160248201526401000000009091046001600160a01b03169250630483f7a09150604401600060405180830381600087803b158015620005b257600080fd5b505af1158015620005c7573d6000803e3d6000fd5b505060095460405162241fbd60e51b815260006004820152600160248201526401000000009091046001600160a01b03169250630483f7a09150604401600060405180830381600087803b1580156200061f57600080fd5b505af115801562000634573d6000803e3d6000fd5b505060095460405162241fbd60e51b81526001600160a01b038681166004830152600160248301526401000000009092049091169250630483f7a09150604401600060405180830381600087803b1580156200068f57600080fd5b505af1158015620006a4573d6000803e3d6000fd5b50505050620006bb816001620009fb60201b60201c565b620006c8306001620009fb565b620006d5826001620009fb565b600954620006f69064010000000090046001600160a01b03166001620009fb565b6200070561dead6001620009fb565b620007246200071c6005546001600160a01b031690565b600162000a30565b6200073130600162000a30565b600954620007529064010000000090046001600160a01b0316600162000a30565b6200076161dead600162000a30565b6200078a620007786005546001600160a01b031690565b6a5c003ec0dd34509ad4000062000b1e565b505062000ebb565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620007f262000be1565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6200081e62000be1565b6200083281670de0b6b3a764000062000e85565b600b5550565b6200084c81670de0b6b3a764000062000e85565b600e5550565b6200086682670de0b6b3a764000062000e85565b600c556200087d81670de0b6b3a764000062000e85565b600d555050565b6001600160a01b03821660009081526018602052604090205481151560ff909116151503620009205760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c7565000000000000000060648201526084015b60405180910390fd5b6001600160a01b0382166000908152601860205260409020805460ff19168215801591909117909155620009bf5760095460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015264010000000090920490911690630483f7a090604401600060405180830381600087803b158015620009a557600080fd5b505af1158015620009ba573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b62000a0562000be1565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b62000a3a62000be1565b6001600160a01b03821660009081526017602052604090205481151560ff90911615150362000abf5760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b606482015260840162000917565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03821662000b765760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000917565b806002600082825462000b8a919062000ea5565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b0316331462000c3d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640162000917565b565b505050565b6127eb80620047da83390190565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062000c7d57607f821691505b60208210810362000c9e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c3f57600081815260208120601f850160051c8101602086101562000ccd5750805b601f850160051c820191505b8181101562000cee5782815560010162000cd9565b505050505050565b81516001600160401b0381111562000d125762000d1262000c52565b62000d2a8162000d23845462000c68565b8462000ca4565b602080601f83116001811462000d62576000841562000d495750858301515b600019600386901b1c1916600185901b17855562000cee565b600085815260208120601f198616915b8281101562000d935788860151825594840194600190910190840162000d72565b508582101562000db25787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60408152600062000e0060408301601481527f464f4d5f4449564944454e445f547261636b6572000000000000000000000000602082015260400190565b828103602084015262000e3d81601481527f464f4d5f4449564944454e445f547261636b6572000000000000000000000000602082015260400190565b9392505050565b60006020828403121562000e5757600080fd5b81516001600160a01b038116811462000e3d57600080fd5b634e487b7160e01b600052601160045260246000fd5b808202811582820484141762000e9f5762000e9f62000e6f565b92915050565b8082018082111562000e9f5762000e9f62000e6f565b61390f8062000ecb6000396000f3fe60806040526004361061039b5760003560e01c806389da1c1e116101dc578063c851cc3211610102578063e6fd48bc116100a0578063f2fde38b1161006f578063f2fde38b14610afe578063f887ea4014610b1e578063f8b45b0514610b3e578063ff76aa2014610b5457600080fd5b8063e6fd48bc14610a93578063ec79690814610aa9578063ed6d909614610ac9578063f0fc6bca14610ae957600080fd5b8063dd62ed3e116100dc578063dd62ed3e14610a1d578063e01af92c14610a3d578063e2f4560514610a5d578063e30836f314610a7357600080fd5b8063c851cc32146109bd578063d2fcc001146109dd578063d7334b88146109fd57600080fd5b80639a7a23d61161017a578063a9059cbb11610149578063a9059cbb1461092d578063afa4f3b21461094d578063b62496f51461096d578063c02466681461099d57600080fd5b80639a7a23d6146108ad578063a457c2d7146108cd578063a8aa1b31146108ed578063a8b9d2401461090d57600080fd5b80638da5cb5b116101b65780638da5cb5b1461083a5780638ea5220f1461085857806392929a091461087857806395d89b411461089857600080fd5b806389da1c1e146107e55780638a8c523c146108055780638c9684f91461081a57600080fd5b806339509351116102c15780636843cd841161025f578063751039fc1161022e578063751039fc146107265780637b510fe81461073b5780638512775e146107af57806388e765ff146107cf57600080fd5b80636843cd841461069c5780636ddd1713146106bc57806370a08231146106db578063715018a61461071157600080fd5b80634ada218b1161029b5780634ada218b146106165780634fbee193146106375780636558954f1461067057806366d602ae1461068657600080fd5b806339509351146105be57806344e43c98146105de57806346469afb1461060057600080fd5b80631870517a116103395780632866ed21116103085780632866ed211461050e5780632c1f52161461052e57806330bb4cff1461056d578063313ce567146105a257600080fd5b80631870517a146104985780631bff7898146104b85780631f53ac02146104ce57806323b872dd146104ee57600080fd5b8063095ea7b311610375578063095ea7b3146104145780630a78097d1461044457806312b77e8a1461046457806318160ddd1461047957600080fd5b80630483f7a0146103a757806306fdde03146103c957806308733214146103f457600080fd5b366103a257005b600080fd5b3480156103b357600080fd5b506103c76103c236600461335b565b610b74565b005b3480156103d557600080fd5b506103de610be9565b6040516103eb9190613394565b60405180910390f35b34801561040057600080fd5b506103c761040f3660046133e2565b610c7b565b34801561042057600080fd5b5061043461042f36600461340e565b610d0f565b60405190151581526020016103eb565b34801561045057600080fd5b506103c761045f36600461343a565b610d29565b34801561047057600080fd5b506103c7610e4f565b34801561048557600080fd5b506002545b6040519081526020016103eb565b3480156104a457600080fd5b506103c76104b33660046133e2565b610edd565b3480156104c457600080fd5b5061048a60165481565b3480156104da57600080fd5b506103c76104e936600461343a565b610f6c565b3480156104fa57600080fd5b5061043461050936600461345e565b610f96565b34801561051a57600080fd5b506009546104349062010000900460ff1681565b34801561053a57600080fd5b5060095461055590600160201b90046001600160a01b031681565b6040516001600160a01b0390911681526020016103eb565b34801561057957600080fd5b50610582610fba565b6040805194855260208501939093529183015260608201526080016103eb565b3480156105ae57600080fd5b50604051601281526020016103eb565b3480156105ca57600080fd5b506104346105d936600461340e565b6111aa565b3480156105ea57600080fd5b506105f36111cc565b6040516103eb91906134b5565b34801561060c57600080fd5b5061048a60155481565b34801561062257600080fd5b50600954610434906301000000900460ff1681565b34801561064357600080fd5b5061043461065236600461343a565b6001600160a01b031660009081526017602052604090205460ff1690565b34801561067c57600080fd5b5061048a610e1081565b34801561069257600080fd5b5061048a600d5481565b3480156106a857600080fd5b5061048a6106b736600461343a565b61124e565b3480156106c857600080fd5b5060095461043490610100900460ff1681565b3480156106e757600080fd5b5061048a6106f636600461343a565b6001600160a01b031660009081526020819052604090205490565b34801561071d57600080fd5b506103c76112c4565b34801561073257600080fd5b506103c76112d8565b34801561074757600080fd5b5061075b61075636600461343a565b6112fb565b604080516001600160a01b03909b168b5260208b0199909952978901969096526060880194909452608087019290925260a086015260c085015260e0840152610100830152610120820152610140016103eb565b3480156107bb57600080fd5b506103c76107ca3660046134dd565b6113a5565b3480156107db57600080fd5b5061048a600c5481565b3480156107f157600080fd5b506103c76108003660046134dd565b611445565b34801561081157600080fd5b506103c761154c565b34801561082657600080fd5b506103c761083536600461343a565b6115c3565b34801561084657600080fd5b506005546001600160a01b0316610555565b34801561086457600080fd5b50600a54610555906001600160a01b031681565b34801561088457600080fd5b506103c76108933660046134f6565b61165e565b3480156108a457600080fd5b506103de611682565b3480156108b957600080fd5b506103c76108c836600461335b565b611691565b3480156108d957600080fd5b506104346108e836600461340e565b6116a3565b3480156108f957600080fd5b50600754610555906001600160a01b031681565b34801561091957600080fd5b5061058261092836600461343a565b61171e565b34801561093957600080fd5b5061043461094836600461340e565b6117a9565b34801561095957600080fd5b506103c76109683660046134dd565b6117b7565b34801561097957600080fd5b5061043461098836600461343a565b60186020526000908152604090205460ff1681565b3480156109a957600080fd5b506103c76109b836600461335b565b6117d7565b3480156109c957600080fd5b506103c76109d836600461343a565b6118c1565b3480156109e957600080fd5b506103c76109f836600461335b565b6118eb565b348015610a0957600080fd5b506103c7610a183660046134dd565b61191e565b348015610a2957600080fd5b5061048a610a38366004613513565b6119be565b348015610a4957600080fd5b506103c7610a583660046134f6565b6119e9565b348015610a6957600080fd5b5061048a600b5481565b348015610a7f57600080fd5b506103c7610a8e36600461343a565b611a0b565b348015610a9f57600080fd5b5061048a60085481565b348015610ab557600080fd5b50610555610ac43660046134dd565b611c67565b348015610ad557600080fd5b506103c7610ae436600461343a565b611c87565b348015610af557600080fd5b506103c7611d4a565b348015610b0a57600080fd5b506103c7610b1936600461343a565b611e0d565b348015610b2a57600080fd5b50600654610555906001600160a01b031681565b348015610b4a57600080fd5b5061048a600e5481565b348015610b6057600080fd5b506103c7610b6f3660046134dd565b611e83565b610b7c611f23565b60095460405162241fbd60e51b8152600160201b9091046001600160a01b031690630483f7a090610bb39085908590600401613541565b600060405180830381600087803b158015610bcd57600080fd5b505af1158015610be1573d6000803e3d6000fd5b505050505050565b606060038054610bf89061355c565b80601f0160208091040260200160405190810160405280929190818152602001828054610c249061355c565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b5050505050905090565b610c83611f23565b61015e81610c9184866135ac565b610c9b91906135ac565b1115610ce35760405162461bcd60e51b8152602060048201526012602482015271466565206d757374206265203c3d2033352560701b60448201526064015b60405180910390fd5b60128390556013829055601481905580610cfd83856135ac565b610d0791906135ac565b601655505050565b600033610d1d818585611f7d565b60019150505b92915050565b600a546001600160a01b03163314610d535760405162461bcd60e51b8152600401610cda906135bf565b806001600160a01b031663a9059cbb610d746005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610db8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddc91906135e8565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610e27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4b9190613601565b5050565b600a546001600160a01b03163314610e795760405162461bcd60e51b8152600401610cda906135bf565b600a5460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610eca576040519150601f19603f3d011682016040523d82523d6000602084013e610ecf565b606091505b5050905080610e4b57600080fd5b610ee5611f23565b61015e81610ef384866135ac565b610efd91906135ac565b1115610f405760405162461bcd60e51b8152602060048201526012602482015271466565206d757374206265203c3d2033352560701b6044820152606401610cda565b600f8390556010829055601181905580610f5a83856135ac565b610f6491906135ac565b601555505050565b610f74611f23565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600033610fa48582856120a1565b610faf85858561211b565b506001949350505050565b600080600080600960049054906101000a90046001600160a01b03166001600160a01b031663edc78ff36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611013573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103791906135e8565b600960049054906101000a90046001600160a01b03166001600160a01b031663610f54d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561108a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ae91906135e8565b600960049054906101000a90046001600160a01b03166001600160a01b031663071266b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611101573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112591906135e8565b600960049054906101000a90046001600160a01b03166001600160a01b031663ccc29bf66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611178573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119c91906135e8565b935093509350935090919293565b600033610d1d8185856111bd83836119be565b6111c791906135ac565b611f7d565b600080600854426111dd919061361e565b9050600060036111ef610e1084613647565b6111f9919061365b565b90508060000361120c5760009250505090565b8060010361121d5760019250505090565b6001811180156112375750601c546001600160a01b031615155b156112455760029250505090565b60009250505090565b6009546040516370a0823160e01b81526001600160a01b038381166004830152600092600160201b900416906370a0823190602401602060405180830381865afa1580156112a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2391906135e8565b6112cc611f23565b6112d660006126f0565b565b6112e0611f23565b6112ed6306a11e3d612742565b6112d66306a11e3d8061275a565b60095460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839283928392600160201b9004169063fbcbc0f19060240161014060405180830381865afa158015611360573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113849190613685565b99509950995099509950995099509950995099509193959799509193959799565b600a546001600160a01b031633146113cf5760405162461bcd60e51b8152600401610cda906135bf565b60006113f133600960049054906101000a90046001600160a01b031684610f96565b90508015610e4b57600954604051631bb5463b60e11b815260006004820181905260248201819052604482015260648101849052600160201b9091046001600160a01b03169063376a8c7690608401610bb3565b600a546001600160a01b0316331461146f5760405162461bcd60e51b8152600401610cda906135bf565b6007546009546040516323b872dd60e01b8152336004820152600160201b9091046001600160a01b0390811660248301526044820184905260009216906323b872dd906064016020604051808303816000875af11580156114d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f89190613601565b90508015610e4b57600954604051631bb5463b60e11b815260048101849052600060248201819052604482018190526064820152600160201b9091046001600160a01b03169063376a8c7690608401610bb3565b611554611f23565b6009546301000000900460ff16156115ae5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610cda565b6009805463ff00000019166301000000179055565b600a546001600160a01b031633146115ed5760405162461bcd60e51b8152600401610cda906135bf565b60095460405163497ec82360e01b81523360048201526001600160a01b038381166024830152600160201b9092049091169063497ec823906044015b600060405180830381600087803b15801561164357600080fd5b505af1158015611657573d6000803e3d6000fd5b5050505050565b611666611f23565b60098054911515620100000262ff000019909216919091179055565b606060048054610bf89061355c565b611699611f23565b610e4b8282612788565b600033816116b182866119be565b9050838110156117115760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cda565b610faf8286868403611f7d565b6009546040516302a2e74960e61b81526001600160a01b038381166004830152600092839283928392600160201b9004169063a8b9d24090602401608060405180830381865afa158015611776573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179a9190613704565b93509350935093509193509193565b600033610d1d81858561211b565b6117bf611f23565b6117d181670de0b6b3a764000061373a565b600b5550565b6117df611f23565b6001600160a01b03821660009081526017602052604090205481151560ff9091161515036118625760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610cda565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6118c9611f23565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6118f3611f23565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b600a546001600160a01b031633146119485760405162461bcd60e51b8152600401610cda906135bf565b600061196a33600960049054906101000a90046001600160a01b031684610f96565b90508015610e4b57600954604051631bb5463b60e11b815260006004820181905260248201859052604482018190526064820152600160201b9091046001600160a01b03169063376a8c7690608401610bb3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6119f1611f23565b600980549115156101000261ff0019909216919091179055565b600a546001600160a01b03163314611a355760405162461bcd60e51b8152600401610cda906135bf565b60405162241fbd60e51b815281906001600160a01b03821690630483f7a090611a65908490600190600401613541565b600060405180830381600087803b158015611a7f57600080fd5b505af1158015611a93573d6000803e3d6000fd5b505060405162241fbd60e51b81526001600160a01b0384169250630483f7a09150611ac5903090600190600401613541565b600060405180830381600087803b158015611adf57600080fd5b505af1158015611af3573d6000803e3d6000fd5b50505050806001600160a01b0316630483f7a0611b186005546001600160a01b031690565b60016040518363ffffffff1660e01b8152600401611b37929190613541565b600060405180830381600087803b158015611b5157600080fd5b505af1158015611b65573d6000803e3d6000fd5b505060065460405162241fbd60e51b81526001600160a01b038086169450630483f7a09350611b9b921690600190600401613541565b600060405180830381600087803b158015611bb557600080fd5b505af1158015611bc9573d6000803e3d6000fd5b505060095460405162241fbd60e51b8152600160201b9091046001600160a01b03169250630483f7a09150611c0690600090600190600401613541565b600060405180830381600087803b158015611c2057600080fd5b505af1158015611c34573d6000803e3d6000fd5b5050600980546001600160a01b03909416600160201b02640100000000600160c01b031990941693909317909255505050565b601a8160038110611c7757600080fd5b01546001600160a01b0316905081565b600a546001600160a01b03163314611cb15760405162461bcd60e51b8152600401610cda906135bf565b601c546001600160a01b031615611cf85760405162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b6044820152606401610cda565b80601a60020180546001600160a01b0319166001600160a01b03928316179055600954604051633348a30d60e11b81528383166004820152600160201b90910490911690636691461a90602401611629565b60095462010000900460ff16611d965760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b6044820152606401610cda565b60095460405163807ab4f760e01b8152336004820152600160201b9091046001600160a01b03169063807ab4f7906024016020604051808303816000875af1158015611de6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0a9190613601565b50565b611e15611f23565b6001600160a01b038116611e7a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cda565b611e0a816126f0565b600a546001600160a01b03163314611ead5760405162461bcd60e51b8152600401610cda906135bf565b6000611ecf33600960049054906101000a90046001600160a01b031684610f96565b90508015610e4b57600954604051631bb5463b60e11b815260006004820181905260248201819052604482018590526064820152600160201b9091046001600160a01b03169063376a8c7690608401610bb3565b6005546001600160a01b031633146112d65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cda565b6001600160a01b038316611fdf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cda565b6001600160a01b0382166120405760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cda565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006120ad84846119be565b9050600019811461211557818110156121085760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cda565b6121158484848403611f7d565b50505050565b6001600160a01b0383166121415760405162461bcd60e51b8152600401610cda90613751565b6001600160a01b0382166121675760405162461bcd60e51b8152600401610cda90613796565b6001600160a01b03831660009081526017602052604090205460ff161580156121a957506001600160a01b03821660009081526017602052604090205460ff16155b80156121b8575060095460ff16155b1561238a576009546301000000900460ff1661220b5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610cda565b6001600160a01b03821660009081526018602052604090205460ff161561228357600d5481111561227e5760405162461bcd60e51b815260206004820152601f60248201527f596f752061726520657863656564696e67206d617853656c6c416d6f756e74006044820152606401610cda565b6122f6565b6001600160a01b03831660009081526018602052604090205460ff16156122f657600c548111156122f65760405162461bcd60e51b815260206004820152601e60248201527f596f752061726520657863656564696e67206d6178427579416d6f756e7400006044820152606401610cda565b6001600160a01b03821660009081526019602052604090205460ff1661238a57600e546001600160a01b03831660009081526020819052604090205461233c90836135ac565b111561238a5760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401610cda565b806000036123a35761239e838360006128f2565b505050565b30600090815260208190526040902054600b54811080159081906123ca575060095460ff16155b80156123dd5750600954610100900460ff165b801561240157506001600160a01b03841660009081526018602052604090205460ff165b801561242657506001600160a01b03851660009081526017602052604090205460ff16155b801561244b57506001600160a01b03841660009081526017602052604090205460ff16155b1561247b576009805460ff191660011790556016541561247057612470600b54612a1c565b6009805460ff191690555b6009546001600160a01b03861660009081526017602052604090205460ff918216159116806124c257506001600160a01b03851660009081526017602052604090205460ff165b156124cb575060005b6001600160a01b03851660009081526018602052604090205460ff1615801561250d57506001600160a01b03861660009081526018602052604090205460ff16155b15612516575060005b80156125b7576001600160a01b03851660009081526018602052604081205460ff161561255f576103e86016548661254e919061373a565b6125589190613647565b905061259e565b6001600160a01b03871660009081526018602052604090205460ff161561259e576103e860155486612591919061373a565b61259b9190613647565b90505b6125a8818661361e565b94506125b58730836128f2565b505b6125c28686866128f2565b6009546001600160a01b03600160201b9091041663e30443bc876125fb816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561264157600080fd5b505af1925050508015612652575060015b506009546001600160a01b03600160201b9091041663e30443bc8661268c816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156126d257600080fd5b505af19250505080156126e3575060015b15610be157505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61275481670de0b6b3a764000061373a565b600e5550565b61276c82670de0b6b3a764000061373a565b600c5561278181670de0b6b3a764000061373a565b600d555050565b6001600160a01b03821660009081526018602052604090205481151560ff90911615150361281e5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610cda565b6001600160a01b0382166000908152601860205260409020805460ff191682158015919091179091556128b65760095460405162241fbd60e51b8152600160201b9091046001600160a01b031690630483f7a090612883908590600190600401613541565b600060405180830381600087803b15801561289d57600080fd5b505af11580156128b1573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b0383166129185760405162461bcd60e51b8152600401610cda90613751565b6001600160a01b03821661293e5760405162461bcd60e51b8152600401610cda90613796565b6001600160a01b038316600090815260208190526040902054818110156129b65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cda565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3612115565b3060009081526020819052604090205481811580612a38575080155b15612a4257505050565b612a4d81600f61373a565b821115612a6257612a5f600f8261373a565b90505b600060165460125483612a75919061373a565b612a7f9190613647565b9050612a8a81612bbe565b6016546013544791600091612a9f908661373a565b612aa99190613647565b9050612ab481612d68565b6000612ac0834761361e565b90508015612b6d57600a546040516000916001600160a01b03169083908381818185875af1925050503d8060008114612b15576040519150601f19603f3d011682016040523d82523d6000602084013e612b1a565b606091505b5050905080612b6b5760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c65746044820152606401610cda565b505b600060165460145487612b80919061373a565b612b8a9190613647565b90506000612b966111cc565b6002811115612ba757612ba761349f565b9050612bb38183612e8c565b505050505050505050565b80612bca600282613647565b9050612bd581612d68565b478015612be657612be68282613146565b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612c2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c5391906135e8565b90508080156116575760075460095460405163a9059cbb60e01b8152600160201b9091046001600160a01b03908116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af1158015612cbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cdf9190613601565b90508015610be157600954604051631bb5463b60e11b815260006004820181905260248201819052604482015260648101849052600160201b9091046001600160a01b03169063376a8c7690608401600060405180830381600087803b158015612d4857600080fd5b505af1158015612d5c573d6000803e3d6000fd5b50505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612d9d57612d9d61366f565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1a91906137d9565b81600181518110612e2d57612e2d61366f565b6001600160a01b039283166020918202929092010152600654612e539130911684611f7d565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790610bb390859060009086903090429060040161383a565b47612e9682612d68565b6000612ea2824761361e565b90506000601a8560ff1660038110612ebc57612ebc61366f565b01546001600160a01b031690508115612ed957612ed982826131f0565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015612f20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f4491906135e8565b905080801561313d5760095460405163a9059cbb60e01b81526001600160a01b03600160201b909204821660048201526024810183905260009185169063a9059cbb906044016020604051808303816000875af1158015612fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fcd9190613601565b9050801561313b578760ff1660000361305f57600954604051631bb5463b60e11b815260048101849052600060248201819052604482018190526064820152600160201b9091046001600160a01b03169063376a8c76906084015b600060405180830381600087803b15801561304257600080fd5b505af1158015613056573d6000803e3d6000fd5b5050505061313b565b8760ff166001036130b657600954604051631bb5463b60e11b815260006004820181905260248201859052604482018190526064820152600160201b9091046001600160a01b03169063376a8c7690608401613028565b8760ff1660020361313b57600954604051631bb5463b60e11b815260006004820181905260248201819052604482018590526064820152600160201b9091046001600160a01b03169063376a8c7690608401600060405180830381600087803b15801561312257600080fd5b505af1158015613136573d6000803e3d6000fd5b505050505b505b50505050505050565b60065461315e9030906001600160a01b031684611f7d565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af11580156131cb573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116579190613876565b6040805160028082526060820183526000926020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa15801561325a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061327e91906137d9565b816000815181106132915761329161366f565b60200260200101906001600160a01b031690816001600160a01b03168152505081816001815181106132c5576132c561366f565b6001600160a01b03928316602091820292909201015260065460405163b6f9de9560e01b815291169063b6f9de9590859061330b906000908690309042906004016138a4565b6000604051808303818588803b15801561332457600080fd5b505af115801561313b573d6000803e3d6000fd5b6001600160a01b0381168114611e0a57600080fd5b8015158114611e0a57600080fd5b6000806040838503121561336e57600080fd5b823561337981613338565b915060208301356133898161334d565b809150509250929050565b600060208083528351808285015260005b818110156133c1578581018301518582016040015282016133a5565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806000606084860312156133f757600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561342157600080fd5b823561342c81613338565b946020939093013593505050565b60006020828403121561344c57600080fd5b813561345781613338565b9392505050565b60008060006060848603121561347357600080fd5b833561347e81613338565b9250602084013561348e81613338565b929592945050506040919091013590565b634e487b7160e01b600052602160045260246000fd5b60208101600383106134d757634e487b7160e01b600052602160045260246000fd5b91905290565b6000602082840312156134ef57600080fd5b5035919050565b60006020828403121561350857600080fd5b81356134578161334d565b6000806040838503121561352657600080fd5b823561353181613338565b9150602083013561338981613338565b6001600160a01b039290921682521515602082015260400190565b600181811c9082168061357057607f821691505b60208210810361359057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610d2357610d23613596565b6020808252600f908201526e1b9bdd0819195d881858d8dbdd5b9d608a1b604082015260600190565b6000602082840312156135fa57600080fd5b5051919050565b60006020828403121561361357600080fd5b81516134578161334d565b81810381811115610d2357610d23613596565b634e487b7160e01b600052601260045260246000fd5b60008261365657613656613631565b500490565b60008261366a5761366a613631565b500690565b634e487b7160e01b600052603260045260246000fd5b6000806000806000806000806000806101408b8d0312156136a557600080fd5b8a516136b081613338565b809a505060208b0151985060408b0151975060608b0151965060808b0151955060a08b0151945060c08b0151935060e08b015192506101008b015191506101208b015190509295989b9194979a5092959850565b6000806000806080858703121561371a57600080fd5b505082516020840151604085015160609095015191969095509092509050565b8082028115828204841417610d2357610d23613596565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6000602082840312156137eb57600080fd5b815161345781613338565b600081518084526020808501945080840160005b8381101561382f5781516001600160a01b03168752958201959082019060010161380a565b509495945050505050565b85815284602082015260a06040820152600061385960a08301866137f6565b6001600160a01b0394909416606083015250608001529392505050565b60008060006060848603121561388b57600080fd5b8351925060208401519150604084015190509250925092565b8481526080602082015260006138bd60808301866137f6565b6001600160a01b0394909416604083015250606001529291505056fea264697066735822122025e124216105465ab9808c122283336d27595b6939ec54950e08accd8e24999564736f6c6343000814003360806040523480156200001157600080fd5b50604051620027eb380380620027eb833981016040819052620000349162000197565b81818181600362000046838262000290565b50600462000055828262000290565b505050620000726200006c6200007c60201b60201c565b62000080565b505050506200035c565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620000fa57600080fd5b81516001600160401b0380821115620001175762000117620000d2565b604051601f8301601f19908116603f01168101908282118183101715620001425762000142620000d2565b816040528381526020925086838588010111156200015f57600080fd5b600091505b8382101562000183578582018301518183018401529082019062000164565b600093810190920192909252949350505050565b60008060408385031215620001ab57600080fd5b82516001600160401b0380821115620001c357600080fd5b620001d186838701620000e8565b93506020850151915080821115620001e857600080fd5b50620001f785828601620000e8565b9150509250929050565b600181811c908216806200021657607f821691505b6020821081036200023757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200028b57600081815260208120601f850160051c81016020861015620002665750805b601f850160051c820191505b81811015620002875782815560010162000272565b5050505b505050565b81516001600160401b03811115620002ac57620002ac620000d2565b620002c481620002bd845462000201565b846200023d565b602080601f831160018114620002fc5760008415620002e35750858301515b600019600386901b1c1916600185901b17855562000287565b600085815260208120601f198616915b828110156200032d578886015182559484019460019091019084016200030c565b50858210156200034c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61247f806200036c6000396000f3fe608060405234801561001057600080fd5b50600436106102745760003560e01c80636c55a52511610151578063a9059cbb116100c3578063dd62ed3e11610087578063dd62ed3e146105ba578063e30443bc146105cd578063edc78ff3146105e0578063f2fde38b146105e9578063f8977517146105fc578063fbcbc0f11461060557600080fd5b8063a9059cbb14610538578063aafd847a1461054b578063bb06f27114610595578063ccc29bf61461059e578063dc25b518146105a757600080fd5b80638d1cfb9d116101155780638d1cfb9d146104c65780638da5cb5b146104e657806391b89fba146104f757806395d89b411461050a578063a457c2d714610512578063a8b9d2401461052557600080fd5b80636c55a5251461045957806370a0823114610478578063715018a61461048b5780637c3906e014610493578063807ab4f7146104b357600080fd5b806327ce0147116101ea578063497ec823116101ae578063497ec823146103ec5780634e7b827f146103ff5780635fcbd28514610422578063610f54d0146104355780636691461a1461043e5780636a4740021461045157600080fd5b806327ce014714610371578063313ce567146103a45780633726b0a2146103b3578063376a8c76146103c657806339509351146103d957600080fd5b8063095ea7b31161023c578063095ea7b3146102ec5780630d2c90421461030f578063149d266f1461031857806318160ddd146103435780631be603da1461034b57806323b872dd1461035e57600080fd5b80630483f7a01461027957806306fdde031461028e578063071266b7146102ac57806308463e11146102c3578063086725cf146102e3575b600080fd5b61028c610287366004612116565b61066c565b005b61029661073a565b6040516102a3919061214d565b60405180910390f35b6102b560185481565b6040519081526020016102a3565b6102b56102d136600461219b565b60216020526000908152604090205481565b6102b5601a5481565b6102ff6102fa3660046121b6565b6107cc565b60405190151581526020016102a3565b6102b5601c5481565b60085461032b906001600160a01b031681565b6040516001600160a01b0390911681526020016102a3565b6002546102b5565b61028c6103593660046121e0565b6107e6565b6102ff61036c366004612223565b61082d565b61038461037f36600461219b565b610851565b6040805194855260208501939093529183015260608201526080016102a3565b604051601281526020016102a3565b60075461032b906001600160a01b031681565b61028c6103d436600461225f565b6109b4565b6102ff6103e73660046121b6565b610bd6565b61028c6103fa366004612291565b610bf8565b6102ff61040d36600461219b565b601e6020526000908152604090205460ff1681565b60065461032b906001600160a01b031681565b6102b560175481565b61028c61044c36600461219b565b610ce6565b61028c610d10565b6102b561046736600461219b565b602080526000908152604090205481565b6102b561048636600461219b565b610d28565b61028c610d43565b6102b56104a136600461219b565b60226020526000908152604090205481565b6102ff6104c136600461219b565b610d57565b6102b56104d436600461219b565b601f6020526000908152604090205481565b6005546001600160a01b031661032b565b61038461050536600461219b565b610ea5565b610296610ec3565b6102ff6105203660046121b6565b610ed2565b61038461053336600461219b565b610f4d565b6102ff6105463660046121b6565b61100f565b61038461055936600461219b565b6001600160a01b031660009081526012602090815260408083205460138352818420546014845282852054601590945291909320549293909290565b6102b5601d5481565b6102b560195481565b60095461032b906001600160a01b031681565b6102b56105c8366004612291565b61101d565b61028c6105db3660046121b6565b611048565b6102b560165481565b61028c6105f736600461219b565b61107e565b6102b5601b5481565b61061861061336600461219b565b6110f4565b604080516001600160a01b03909b168b5260208b0199909952978901969096526060880194909452608087019290925260a086015260c085015260e0840152610100830152610120820152610140016102a3565b6106746112df565b6001600160a01b0382166000908152601e602052604090205481151560ff9091161515036106a157600080fd5b6001600160a01b0382166000908152601e60205260409020805460ff19168215159081179091556001036106df576106da826000611339565b6106f1565b6106f1826106ec84610d28565b611339565b816001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be8260405161072e911515815260200190565b60405180910390a25050565b606060038054610749906122c4565b80601f0160208091040260200160405190810160405280929190818152602001828054610775906122c4565b80156107c25780601f10610797576101008083540402835291602001916107c2565b820191906000526020600020905b8154815290600101906020018083116107a557829003601f168201915b5050505050905090565b6000336107da818585611386565b60019150505b92915050565b6107ee6112df565b600780546001600160a01b039485166001600160a01b031991821617909155600880549385169382169390931790925560068054919093169116179055565b60003361083b8582856114aa565b61084685858561151e565b506001949350505050565b6000806000806000600160801b6108b26108ad600e60008a6001600160a01b03166001600160a01b03168152602001908152602001600020546108a76108a26108998c610d28565b600a5490611579565b611602565b90611612565b611650565b6108bc9190612314565b6001600160a01b0387166000908152600f602052604081205491925090600160801b906108ff906108ad906108a76108a26108f68d610d28565b600b5490611579565b6109099190612314565b6001600160a01b03881660009081526010602052604081205491925090600160801b9061094c906108ad906108a76108a26109438e610d28565b600c5490611579565b6109569190612314565b6001600160a01b03891660009081526011602052604081205491925090600160801b90610999906108ad906108a76108a26109908f610d28565b600d5490611579565b6109a39190612314565b939992985090965091945092505050565b6109bc6112df565b60006109c760025490565b11610a285760405162461bcd60e51b815260206004820152602660248201527f546f74616c20737570706c79206d7573742062652067726561746572207468616044820152656e207a65726f60d01b60648201526084015b60405180910390fd5b8315610a9257610a5b610a3a60025490565b610a4886600160801b611579565b610a529190612314565b600a5490611663565b600a55604051848152339060008051602061242a8339815191529060200160405180910390a2601654610a8e9085611663565b6016555b8215610afc57610ac5610aa460025490565b610ab285600160801b611579565b610abc9190612314565b600b5490611663565b600b55604051838152339060008051602061242a8339815191529060200160405180910390a2601754610af89084611663565b6017555b8115610b6657610b2f610b0e60025490565b610b1c84600160801b611579565b610b269190612314565b600c5490611663565b600c55604051828152339060008051602061242a8339815191529060200160405180910390a2601854610b629083611663565b6018555b8015610bd057610b99610b7860025490565b610b8683600160801b611579565b610b909190612314565b600d5490611663565b600d55604051818152339060008051602061242a8339815191529060200160405180910390a2601954610bcc9082611663565b6019555b50505050565b6000336107da818585610be9838361101d565b610bf39190612336565b611386565b610c006112df565b6040516370a0823160e01b81523060048201526001600160a01b0382169063a9059cbb90849083906370a0823190602401602060405180830381865afa158015610c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c729190612349565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610cbd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce19190612362565b505050565b610cee6112df565b600980546001600160a01b0319166001600160a01b0392909216919091179055565b610d19336116c2565b505050610d2533611b2d565b50565b6001600160a01b031660009081526020819052604090205490565b610d4b6112df565b610d556000611cb3565b565b6000610d616112df565b6000806000610d6f856116c2565b9250925092506000610d8086611b2d565b90508315610dd7576001600160a01b0386166000818152601f6020526040908190204290555160008051602061240a83398151915290610dc39087815260200190565b60405180910390a250600195945050505050565b8215610e15576001600160a01b03861660008181526020808052604091829020429055905185815260008051602061240a8339815191529101610dc3565b8115610e56576001600160a01b038616600081815260216020526040908190204290555160008051602061240a83398151915290610dc39085815260200190565b8015610e97576001600160a01b038616600081815260226020526040908190204290555160008051602061240a83398151915290610dc39084815260200190565b60019450505050505b919050565b600080600080610eb485610f4d565b93509350935093509193509193565b606060048054610749906122c4565b60003381610ee0828661101d565b905083811015610f405760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610a1f565b6108468286868403611386565b600080600080600080600080610f6289610851565b6001600160a01b038d1660009081526012602052604090205493975091955093509150610f90908590611d05565b6001600160a01b038a16600090815260136020526040902054610fb4908590611d05565b6001600160a01b038b16600090815260146020526040902054610fd8908590611d05565b6001600160a01b038c16600090815260156020526040902054610ffc908590611d05565b9750975097509750505050509193509193565b6000336107da81858561151e565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6110506112df565b6001600160a01b0382166000908152601e602052604090205460ff1661107a5761107a8282611339565b5050565b6110866112df565b6001600160a01b0381166110eb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610a1f565b610d2581611cb3565b600080600080600080600080600080611177604051806101a0016040528060006001600160a01b031681526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6001600160a01b038c16815261118c8c610f4d565b60808501526060840152604083015260208201526111a98c610851565b8460a0018560c0018660e00187610100018481525084815250848152508481525050505050601f60008d6001600160a01b03166001600160a01b031681526020019081526020016000205481610120018181525050602060008d6001600160a01b03166001600160a01b031681526020019081526020016000205481610140018181525050602160008d6001600160a01b03166001600160a01b031681526020019081526020016000205481610160018181525050602260008d6001600160a01b03166001600160a01b0316815260200190815260200160002054816101800181815250508060000151816020015182604001518360600151846101200151856101400151866101600151601a54601b54601c549a509a509a509a509a509a509a509a509a509a50509193959799509193959799565b6005546001600160a01b03163314610d555760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a1f565b600061134483610d28565b90508082111561136657600061135a8383611d05565b9050610bd08482611d47565b80821015610ce157600061137a8284611d05565b9050610bd08482611df8565b6001600160a01b0383166113e85760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610a1f565b6001600160a01b0382166114495760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610a1f565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006114b6848461101d565b90506000198114610bd057818110156115115760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610a1f565b610bd08484848403611386565b60405162461bcd60e51b815260206004820152602a60248201527f5452495f4469766964656e645f547261636b65723a204e6f207472616e7366656044820152691c9cc8185b1b1bddd95960b21b6064820152608401610a1f565b60008260000361158b575060006107e0565b6000611597838561237f565b9050826115a48583612314565b146115fb5760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610a1f565b9392505050565b600081818112156107e057600080fd5b60008061161f8385612396565b9050600083121580156116325750838112155b80611647575060008312801561164757508381125b6115fb57600080fd5b60008082121561165f57600080fd5b5090565b6000806116708385612336565b9050838110156115fb5760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610a1f565b60008060008060008060008060006116d98a610f4d565b5091945092509050821561184a576001600160a01b038a1660009081526012602052604090205461170a9084611663565b6001600160a01b038b16600090815260126020526040812091909155601a8054859290611738908490612336565b90915550506040518381526001600160a01b038b16906000805160206123ea8339815191529060200160405180910390a260075460405163a9059cbb60e01b81526001600160a01b038c8116600483015260248201869052600092169063a9059cbb906044016020604051808303816000875af11580156117bd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e19190612362565b905080611844576001600160a01b038b1660009081526012602052604090205461180b9085611d05565b6001600160a01b038c16600090815260126020526040812091909155601a80548692906118399084906123b6565b909155506118489050565b8396505b505b81156119b3576001600160a01b038a166000908152601360205260409020546118739083611663565b6001600160a01b038b16600090815260136020526040812091909155601b80548492906118a1908490612336565b90915550506040518281526001600160a01b038b16906000805160206123ea8339815191529060200160405180910390a260085460405163a9059cbb60e01b81526001600160a01b038c8116600483015260248201859052600092169063a9059cbb906044016020604051808303816000875af1158015611926573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061194a9190612362565b9050806119ad576001600160a01b038b166000908152601360205260409020546119749084611d05565b6001600160a01b038c16600090815260136020526040812091909155601b80548592906119a29084906123b6565b909155506119b19050565b8295505b505b8015611b1c576001600160a01b038a166000908152601460205260409020546119dc9082611663565b6001600160a01b038b16600090815260146020526040812091909155601c8054839290611a0a908490612336565b90915550506040518181526001600160a01b038b16906000805160206123ea8339815191529060200160405180910390a260095460405163a9059cbb60e01b81526001600160a01b038c8116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af1158015611a8f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ab39190612362565b905080611b16576001600160a01b038b16600090815260146020526040902054611add9083611d05565b6001600160a01b038c16600090815260146020526040812091909155601c8054849290611b0b9084906123b6565b90915550611b1a9050565b8194505b505b509398929750909550909350505050565b6000806000611b3b84610f4d565b93505050506000811115611cac576001600160a01b038416600090815260156020526040902054611b6c9082611663565b6001600160a01b038516600090815260156020526040812091909155601d8054839290611b9a908490612336565b90915550506040518181526001600160a01b038516906000805160206123ea8339815191529060200160405180910390a260065460405163a9059cbb60e01b81526001600160a01b03868116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af1158015611c1f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c439190612362565b905080611ca6576001600160a01b038516600090815260156020526040902054611c6d9083611d05565b6001600160a01b038616600090815260156020526040812091909155601d8054849290611c9b9084906123b6565b90915550611caa9050565b8192505b505b5092915050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006115fb83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611e89565b611d518282611ec3565b611d8b611d6c6108a283600a5461157990919063ffffffff16565b6001600160a01b0384166000908152600e602052604090205490611f82565b6001600160a01b0383166000908152600e6020526040902055600b54611dd890611db9906108a29084611579565b6001600160a01b0384166000908152600f602052604090205490611f82565b6001600160a01b039092166000908152600f602052604090209190915550565b611e028282611fbf565b611e3c611e1d6108a283600a5461157990919063ffffffff16565b6001600160a01b0384166000908152600e602052604090205490611612565b6001600160a01b0383166000908152600e6020526040902055600b54611dd890611e6a906108a29084611579565b6001600160a01b0384166000908152600f602052604090205490611612565b60008184841115611ead5760405162461bcd60e51b8152600401610a1f919061214d565b506000611eba84866123b6565b95945050505050565b6001600160a01b038216611f195760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610a1f565b8060026000828254611f2b9190612336565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b600080611f8f83856123c9565b905060008312158015611fa25750838113155b80611647575060008312801561164757508381136115fb57600080fd5b6001600160a01b03821661201f5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610a1f565b6001600160a01b038216600090815260208190526040902054818110156120935760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610a1f565b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b80356001600160a01b0381168114610ea057600080fd5b8015158114610d2557600080fd5b6000806040838503121561212957600080fd5b612132836120f1565b9150602083013561214281612108565b809150509250929050565b600060208083528351808285015260005b8181101561217a5785810183015185820160400152820161215e565b506000604082860101526040601f19601f8301168501019250505092915050565b6000602082840312156121ad57600080fd5b6115fb826120f1565b600080604083850312156121c957600080fd5b6121d2836120f1565b946020939093013593505050565b6000806000606084860312156121f557600080fd5b6121fe846120f1565b925061220c602085016120f1565b915061221a604085016120f1565b90509250925092565b60008060006060848603121561223857600080fd5b612241846120f1565b925061224f602085016120f1565b9150604084013590509250925092565b6000806000806080858703121561227557600080fd5b5050823594602084013594506040840135936060013592509050565b600080604083850312156122a457600080fd5b6122ad836120f1565b91506122bb602084016120f1565b90509250929050565b600181811c908216806122d857607f821691505b6020821081036122f857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008261233157634e487b7160e01b600052601260045260246000fd5b500490565b808201808211156107e0576107e06122fe565b60006020828403121561235b57600080fd5b5051919050565b60006020828403121561237457600080fd5b81516115fb81612108565b80820281158282048414176107e0576107e06122fe565b8082018281126000831280158216821582161715611caa57611caa6122fe565b818103818111156107e0576107e06122fe565b8181036000831280158383131683831282161715611cac57611cac6122fe56feee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d4a493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511a264697066735822122050a19ac1c3f9c8729279f8a9b8be8d67d475bd409b462427de2874026d7e2b0c64736f6c63430008140033

Deployed Bytecode

0x60806040526004361061039b5760003560e01c806389da1c1e116101dc578063c851cc3211610102578063e6fd48bc116100a0578063f2fde38b1161006f578063f2fde38b14610afe578063f887ea4014610b1e578063f8b45b0514610b3e578063ff76aa2014610b5457600080fd5b8063e6fd48bc14610a93578063ec79690814610aa9578063ed6d909614610ac9578063f0fc6bca14610ae957600080fd5b8063dd62ed3e116100dc578063dd62ed3e14610a1d578063e01af92c14610a3d578063e2f4560514610a5d578063e30836f314610a7357600080fd5b8063c851cc32146109bd578063d2fcc001146109dd578063d7334b88146109fd57600080fd5b80639a7a23d61161017a578063a9059cbb11610149578063a9059cbb1461092d578063afa4f3b21461094d578063b62496f51461096d578063c02466681461099d57600080fd5b80639a7a23d6146108ad578063a457c2d7146108cd578063a8aa1b31146108ed578063a8b9d2401461090d57600080fd5b80638da5cb5b116101b65780638da5cb5b1461083a5780638ea5220f1461085857806392929a091461087857806395d89b411461089857600080fd5b806389da1c1e146107e55780638a8c523c146108055780638c9684f91461081a57600080fd5b806339509351116102c15780636843cd841161025f578063751039fc1161022e578063751039fc146107265780637b510fe81461073b5780638512775e146107af57806388e765ff146107cf57600080fd5b80636843cd841461069c5780636ddd1713146106bc57806370a08231146106db578063715018a61461071157600080fd5b80634ada218b1161029b5780634ada218b146106165780634fbee193146106375780636558954f1461067057806366d602ae1461068657600080fd5b806339509351146105be57806344e43c98146105de57806346469afb1461060057600080fd5b80631870517a116103395780632866ed21116103085780632866ed211461050e5780632c1f52161461052e57806330bb4cff1461056d578063313ce567146105a257600080fd5b80631870517a146104985780631bff7898146104b85780631f53ac02146104ce57806323b872dd146104ee57600080fd5b8063095ea7b311610375578063095ea7b3146104145780630a78097d1461044457806312b77e8a1461046457806318160ddd1461047957600080fd5b80630483f7a0146103a757806306fdde03146103c957806308733214146103f457600080fd5b366103a257005b600080fd5b3480156103b357600080fd5b506103c76103c236600461335b565b610b74565b005b3480156103d557600080fd5b506103de610be9565b6040516103eb9190613394565b60405180910390f35b34801561040057600080fd5b506103c761040f3660046133e2565b610c7b565b34801561042057600080fd5b5061043461042f36600461340e565b610d0f565b60405190151581526020016103eb565b34801561045057600080fd5b506103c761045f36600461343a565b610d29565b34801561047057600080fd5b506103c7610e4f565b34801561048557600080fd5b506002545b6040519081526020016103eb565b3480156104a457600080fd5b506103c76104b33660046133e2565b610edd565b3480156104c457600080fd5b5061048a60165481565b3480156104da57600080fd5b506103c76104e936600461343a565b610f6c565b3480156104fa57600080fd5b5061043461050936600461345e565b610f96565b34801561051a57600080fd5b506009546104349062010000900460ff1681565b34801561053a57600080fd5b5060095461055590600160201b90046001600160a01b031681565b6040516001600160a01b0390911681526020016103eb565b34801561057957600080fd5b50610582610fba565b6040805194855260208501939093529183015260608201526080016103eb565b3480156105ae57600080fd5b50604051601281526020016103eb565b3480156105ca57600080fd5b506104346105d936600461340e565b6111aa565b3480156105ea57600080fd5b506105f36111cc565b6040516103eb91906134b5565b34801561060c57600080fd5b5061048a60155481565b34801561062257600080fd5b50600954610434906301000000900460ff1681565b34801561064357600080fd5b5061043461065236600461343a565b6001600160a01b031660009081526017602052604090205460ff1690565b34801561067c57600080fd5b5061048a610e1081565b34801561069257600080fd5b5061048a600d5481565b3480156106a857600080fd5b5061048a6106b736600461343a565b61124e565b3480156106c857600080fd5b5060095461043490610100900460ff1681565b3480156106e757600080fd5b5061048a6106f636600461343a565b6001600160a01b031660009081526020819052604090205490565b34801561071d57600080fd5b506103c76112c4565b34801561073257600080fd5b506103c76112d8565b34801561074757600080fd5b5061075b61075636600461343a565b6112fb565b604080516001600160a01b03909b168b5260208b0199909952978901969096526060880194909452608087019290925260a086015260c085015260e0840152610100830152610120820152610140016103eb565b3480156107bb57600080fd5b506103c76107ca3660046134dd565b6113a5565b3480156107db57600080fd5b5061048a600c5481565b3480156107f157600080fd5b506103c76108003660046134dd565b611445565b34801561081157600080fd5b506103c761154c565b34801561082657600080fd5b506103c761083536600461343a565b6115c3565b34801561084657600080fd5b506005546001600160a01b0316610555565b34801561086457600080fd5b50600a54610555906001600160a01b031681565b34801561088457600080fd5b506103c76108933660046134f6565b61165e565b3480156108a457600080fd5b506103de611682565b3480156108b957600080fd5b506103c76108c836600461335b565b611691565b3480156108d957600080fd5b506104346108e836600461340e565b6116a3565b3480156108f957600080fd5b50600754610555906001600160a01b031681565b34801561091957600080fd5b5061058261092836600461343a565b61171e565b34801561093957600080fd5b5061043461094836600461340e565b6117a9565b34801561095957600080fd5b506103c76109683660046134dd565b6117b7565b34801561097957600080fd5b5061043461098836600461343a565b60186020526000908152604090205460ff1681565b3480156109a957600080fd5b506103c76109b836600461335b565b6117d7565b3480156109c957600080fd5b506103c76109d836600461343a565b6118c1565b3480156109e957600080fd5b506103c76109f836600461335b565b6118eb565b348015610a0957600080fd5b506103c7610a183660046134dd565b61191e565b348015610a2957600080fd5b5061048a610a38366004613513565b6119be565b348015610a4957600080fd5b506103c7610a583660046134f6565b6119e9565b348015610a6957600080fd5b5061048a600b5481565b348015610a7f57600080fd5b506103c7610a8e36600461343a565b611a0b565b348015610a9f57600080fd5b5061048a60085481565b348015610ab557600080fd5b50610555610ac43660046134dd565b611c67565b348015610ad557600080fd5b506103c7610ae436600461343a565b611c87565b348015610af557600080fd5b506103c7611d4a565b348015610b0a57600080fd5b506103c7610b1936600461343a565b611e0d565b348015610b2a57600080fd5b50600654610555906001600160a01b031681565b348015610b4a57600080fd5b5061048a600e5481565b348015610b6057600080fd5b506103c7610b6f3660046134dd565b611e83565b610b7c611f23565b60095460405162241fbd60e51b8152600160201b9091046001600160a01b031690630483f7a090610bb39085908590600401613541565b600060405180830381600087803b158015610bcd57600080fd5b505af1158015610be1573d6000803e3d6000fd5b505050505050565b606060038054610bf89061355c565b80601f0160208091040260200160405190810160405280929190818152602001828054610c249061355c565b8015610c715780601f10610c4657610100808354040283529160200191610c71565b820191906000526020600020905b815481529060010190602001808311610c5457829003601f168201915b5050505050905090565b610c83611f23565b61015e81610c9184866135ac565b610c9b91906135ac565b1115610ce35760405162461bcd60e51b8152602060048201526012602482015271466565206d757374206265203c3d2033352560701b60448201526064015b60405180910390fd5b60128390556013829055601481905580610cfd83856135ac565b610d0791906135ac565b601655505050565b600033610d1d818585611f7d565b60019150505b92915050565b600a546001600160a01b03163314610d535760405162461bcd60e51b8152600401610cda906135bf565b806001600160a01b031663a9059cbb610d746005546001600160a01b031690565b6040516370a0823160e01b81523060048201526001600160a01b038516906370a0823190602401602060405180830381865afa158015610db8573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ddc91906135e8565b6040516001600160e01b031960e085901b1681526001600160a01b03909216600483015260248201526044016020604051808303816000875af1158015610e27573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e4b9190613601565b5050565b600a546001600160a01b03163314610e795760405162461bcd60e51b8152600401610cda906135bf565b600a5460405147916000916001600160a01b039091169083908381818185875af1925050503d8060008114610eca576040519150601f19603f3d011682016040523d82523d6000602084013e610ecf565b606091505b5050905080610e4b57600080fd5b610ee5611f23565b61015e81610ef384866135ac565b610efd91906135ac565b1115610f405760405162461bcd60e51b8152602060048201526012602482015271466565206d757374206265203c3d2033352560701b6044820152606401610cda565b600f8390556010829055601181905580610f5a83856135ac565b610f6491906135ac565b601555505050565b610f74611f23565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600033610fa48582856120a1565b610faf85858561211b565b506001949350505050565b600080600080600960049054906101000a90046001600160a01b03166001600160a01b031663edc78ff36040518163ffffffff1660e01b8152600401602060405180830381865afa158015611013573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061103791906135e8565b600960049054906101000a90046001600160a01b03166001600160a01b031663610f54d06040518163ffffffff1660e01b8152600401602060405180830381865afa15801561108a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110ae91906135e8565b600960049054906101000a90046001600160a01b03166001600160a01b031663071266b76040518163ffffffff1660e01b8152600401602060405180830381865afa158015611101573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061112591906135e8565b600960049054906101000a90046001600160a01b03166001600160a01b031663ccc29bf66040518163ffffffff1660e01b8152600401602060405180830381865afa158015611178573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061119c91906135e8565b935093509350935090919293565b600033610d1d8185856111bd83836119be565b6111c791906135ac565b611f7d565b600080600854426111dd919061361e565b9050600060036111ef610e1084613647565b6111f9919061365b565b90508060000361120c5760009250505090565b8060010361121d5760019250505090565b6001811180156112375750601c546001600160a01b031615155b156112455760029250505090565b60009250505090565b6009546040516370a0823160e01b81526001600160a01b038381166004830152600092600160201b900416906370a0823190602401602060405180830381865afa1580156112a0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2391906135e8565b6112cc611f23565b6112d660006126f0565b565b6112e0611f23565b6112ed6306a11e3d612742565b6112d66306a11e3d8061275a565b60095460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839283928392600160201b9004169063fbcbc0f19060240161014060405180830381865afa158015611360573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113849190613685565b99509950995099509950995099509950995099509193959799509193959799565b600a546001600160a01b031633146113cf5760405162461bcd60e51b8152600401610cda906135bf565b60006113f133600960049054906101000a90046001600160a01b031684610f96565b90508015610e4b57600954604051631bb5463b60e11b815260006004820181905260248201819052604482015260648101849052600160201b9091046001600160a01b03169063376a8c7690608401610bb3565b600a546001600160a01b0316331461146f5760405162461bcd60e51b8152600401610cda906135bf565b6007546009546040516323b872dd60e01b8152336004820152600160201b9091046001600160a01b0390811660248301526044820184905260009216906323b872dd906064016020604051808303816000875af11580156114d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114f89190613601565b90508015610e4b57600954604051631bb5463b60e11b815260048101849052600060248201819052604482018190526064820152600160201b9091046001600160a01b03169063376a8c7690608401610bb3565b611554611f23565b6009546301000000900460ff16156115ae5760405162461bcd60e51b815260206004820152601760248201527f54726164696e6720616c726561647920656e61626c65640000000000000000006044820152606401610cda565b6009805463ff00000019166301000000179055565b600a546001600160a01b031633146115ed5760405162461bcd60e51b8152600401610cda906135bf565b60095460405163497ec82360e01b81523360048201526001600160a01b038381166024830152600160201b9092049091169063497ec823906044015b600060405180830381600087803b15801561164357600080fd5b505af1158015611657573d6000803e3d6000fd5b5050505050565b611666611f23565b60098054911515620100000262ff000019909216919091179055565b606060048054610bf89061355c565b611699611f23565b610e4b8282612788565b600033816116b182866119be565b9050838110156117115760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610cda565b610faf8286868403611f7d565b6009546040516302a2e74960e61b81526001600160a01b038381166004830152600092839283928392600160201b9004169063a8b9d24090602401608060405180830381865afa158015611776573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179a9190613704565b93509350935093509193509193565b600033610d1d81858561211b565b6117bf611f23565b6117d181670de0b6b3a764000061373a565b600b5550565b6117df611f23565b6001600160a01b03821660009081526017602052604090205481151560ff9091161515036118625760405162461bcd60e51b815260206004820152602a60248201527f4163636f756e7420697320616c7265616479207468652076616c7565206f6620604482015269276578636c756465642760b01b6064820152608401610cda565b6001600160a01b038216600081815260176020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6118c9611f23565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b6118f3611f23565b6001600160a01b03919091166000908152601960205260409020805460ff1916911515919091179055565b600a546001600160a01b031633146119485760405162461bcd60e51b8152600401610cda906135bf565b600061196a33600960049054906101000a90046001600160a01b031684610f96565b90508015610e4b57600954604051631bb5463b60e11b815260006004820181905260248201859052604482018190526064820152600160201b9091046001600160a01b03169063376a8c7690608401610bb3565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6119f1611f23565b600980549115156101000261ff0019909216919091179055565b600a546001600160a01b03163314611a355760405162461bcd60e51b8152600401610cda906135bf565b60405162241fbd60e51b815281906001600160a01b03821690630483f7a090611a65908490600190600401613541565b600060405180830381600087803b158015611a7f57600080fd5b505af1158015611a93573d6000803e3d6000fd5b505060405162241fbd60e51b81526001600160a01b0384169250630483f7a09150611ac5903090600190600401613541565b600060405180830381600087803b158015611adf57600080fd5b505af1158015611af3573d6000803e3d6000fd5b50505050806001600160a01b0316630483f7a0611b186005546001600160a01b031690565b60016040518363ffffffff1660e01b8152600401611b37929190613541565b600060405180830381600087803b158015611b5157600080fd5b505af1158015611b65573d6000803e3d6000fd5b505060065460405162241fbd60e51b81526001600160a01b038086169450630483f7a09350611b9b921690600190600401613541565b600060405180830381600087803b158015611bb557600080fd5b505af1158015611bc9573d6000803e3d6000fd5b505060095460405162241fbd60e51b8152600160201b9091046001600160a01b03169250630483f7a09150611c0690600090600190600401613541565b600060405180830381600087803b158015611c2057600080fd5b505af1158015611c34573d6000803e3d6000fd5b5050600980546001600160a01b03909416600160201b02640100000000600160c01b031990941693909317909255505050565b601a8160038110611c7757600080fd5b01546001600160a01b0316905081565b600a546001600160a01b03163314611cb15760405162461bcd60e51b8152600401610cda906135bf565b601c546001600160a01b031615611cf85760405162461bcd60e51b815260206004820152600b60248201526a185b1c9958591e481cd95d60aa1b6044820152606401610cda565b80601a60020180546001600160a01b0319166001600160a01b03928316179055600954604051633348a30d60e11b81528383166004820152600160201b90910490911690636691461a90602401611629565b60095462010000900460ff16611d965760405162461bcd60e51b815260206004820152601160248201527010db185a5b481b9bdd08195b98589b1959607a1b6044820152606401610cda565b60095460405163807ab4f760e01b8152336004820152600160201b9091046001600160a01b03169063807ab4f7906024016020604051808303816000875af1158015611de6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e0a9190613601565b50565b611e15611f23565b6001600160a01b038116611e7a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610cda565b611e0a816126f0565b600a546001600160a01b03163314611ead5760405162461bcd60e51b8152600401610cda906135bf565b6000611ecf33600960049054906101000a90046001600160a01b031684610f96565b90508015610e4b57600954604051631bb5463b60e11b815260006004820181905260248201819052604482018590526064820152600160201b9091046001600160a01b03169063376a8c7690608401610bb3565b6005546001600160a01b031633146112d65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610cda565b6001600160a01b038316611fdf5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610cda565b6001600160a01b0382166120405760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610cda565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60006120ad84846119be565b9050600019811461211557818110156121085760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610cda565b6121158484848403611f7d565b50505050565b6001600160a01b0383166121415760405162461bcd60e51b8152600401610cda90613751565b6001600160a01b0382166121675760405162461bcd60e51b8152600401610cda90613796565b6001600160a01b03831660009081526017602052604090205460ff161580156121a957506001600160a01b03821660009081526017602052604090205460ff16155b80156121b8575060095460ff16155b1561238a576009546301000000900460ff1661220b5760405162461bcd60e51b815260206004820152601260248201527154726164696e67206e6f742061637469766560701b6044820152606401610cda565b6001600160a01b03821660009081526018602052604090205460ff161561228357600d5481111561227e5760405162461bcd60e51b815260206004820152601f60248201527f596f752061726520657863656564696e67206d617853656c6c416d6f756e74006044820152606401610cda565b6122f6565b6001600160a01b03831660009081526018602052604090205460ff16156122f657600c548111156122f65760405162461bcd60e51b815260206004820152601e60248201527f596f752061726520657863656564696e67206d6178427579416d6f756e7400006044820152606401610cda565b6001600160a01b03821660009081526019602052604090205460ff1661238a57600e546001600160a01b03831660009081526020819052604090205461233c90836135ac565b111561238a5760405162461bcd60e51b815260206004820152601b60248201527f556e61626c6520746f20657863656564204d61782057616c6c657400000000006044820152606401610cda565b806000036123a35761239e838360006128f2565b505050565b30600090815260208190526040902054600b54811080159081906123ca575060095460ff16155b80156123dd5750600954610100900460ff165b801561240157506001600160a01b03841660009081526018602052604090205460ff165b801561242657506001600160a01b03851660009081526017602052604090205460ff16155b801561244b57506001600160a01b03841660009081526017602052604090205460ff16155b1561247b576009805460ff191660011790556016541561247057612470600b54612a1c565b6009805460ff191690555b6009546001600160a01b03861660009081526017602052604090205460ff918216159116806124c257506001600160a01b03851660009081526017602052604090205460ff165b156124cb575060005b6001600160a01b03851660009081526018602052604090205460ff1615801561250d57506001600160a01b03861660009081526018602052604090205460ff16155b15612516575060005b80156125b7576001600160a01b03851660009081526018602052604081205460ff161561255f576103e86016548661254e919061373a565b6125589190613647565b905061259e565b6001600160a01b03871660009081526018602052604090205460ff161561259e576103e860155486612591919061373a565b61259b9190613647565b90505b6125a8818661361e565b94506125b58730836128f2565b505b6125c28686866128f2565b6009546001600160a01b03600160201b9091041663e30443bc876125fb816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561264157600080fd5b505af1925050508015612652575060015b506009546001600160a01b03600160201b9091041663e30443bc8661268c816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156126d257600080fd5b505af19250505080156126e3575060015b15610be157505050505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61275481670de0b6b3a764000061373a565b600e5550565b61276c82670de0b6b3a764000061373a565b600c5561278181670de0b6b3a764000061373a565b600d555050565b6001600160a01b03821660009081526018602052604090205481151560ff90911615150361281e5760405162461bcd60e51b815260206004820152603860248201527f4175746f6d61746564206d61726b6574206d616b65722070616972206973206160448201527f6c72656164792073657420746f20746861742076616c756500000000000000006064820152608401610cda565b6001600160a01b0382166000908152601860205260409020805460ff191682158015919091179091556128b65760095460405162241fbd60e51b8152600160201b9091046001600160a01b031690630483f7a090612883908590600190600401613541565b600060405180830381600087803b15801561289d57600080fd5b505af11580156128b1573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b0383166129185760405162461bcd60e51b8152600401610cda90613751565b6001600160a01b03821661293e5760405162461bcd60e51b8152600401610cda90613796565b6001600160a01b038316600090815260208190526040902054818110156129b65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610cda565b6001600160a01b03848116600081815260208181526040808320878703905593871680835291849020805487019055925185815290927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3612115565b3060009081526020819052604090205481811580612a38575080155b15612a4257505050565b612a4d81600f61373a565b821115612a6257612a5f600f8261373a565b90505b600060165460125483612a75919061373a565b612a7f9190613647565b9050612a8a81612bbe565b6016546013544791600091612a9f908661373a565b612aa99190613647565b9050612ab481612d68565b6000612ac0834761361e565b90508015612b6d57600a546040516000916001600160a01b03169083908381818185875af1925050503d8060008114612b15576040519150601f19603f3d011682016040523d82523d6000602084013e612b1a565b606091505b5050905080612b6b5760405162461bcd60e51b815260206004820181905260248201527f4661696c656420746f2073656e642045544820746f206465762077616c6c65746044820152606401610cda565b505b600060165460145487612b80919061373a565b612b8a9190613647565b90506000612b966111cc565b6002811115612ba757612ba761349f565b9050612bb38183612e8c565b505050505050505050565b80612bca600282613647565b9050612bd581612d68565b478015612be657612be68282613146565b6007546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015612c2f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c5391906135e8565b90508080156116575760075460095460405163a9059cbb60e01b8152600160201b9091046001600160a01b03908116600483015260248201849052600092169063a9059cbb906044016020604051808303816000875af1158015612cbb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cdf9190613601565b90508015610be157600954604051631bb5463b60e11b815260006004820181905260248201819052604482015260648101849052600160201b9091046001600160a01b03169063376a8c7690608401600060405180830381600087803b158015612d4857600080fd5b505af1158015612d5c573d6000803e3d6000fd5b50505050505050505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612d9d57612d9d61366f565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612df6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e1a91906137d9565b81600181518110612e2d57612e2d61366f565b6001600160a01b039283166020918202929092010152600654612e539130911684611f7d565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790610bb390859060009086903090429060040161383a565b47612e9682612d68565b6000612ea2824761361e565b90506000601a8560ff1660038110612ebc57612ebc61366f565b01546001600160a01b031690508115612ed957612ed982826131f0565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015612f20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f4491906135e8565b905080801561313d5760095460405163a9059cbb60e01b81526001600160a01b03600160201b909204821660048201526024810183905260009185169063a9059cbb906044016020604051808303816000875af1158015612fa9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612fcd9190613601565b9050801561313b578760ff1660000361305f57600954604051631bb5463b60e11b815260048101849052600060248201819052604482018190526064820152600160201b9091046001600160a01b03169063376a8c76906084015b600060405180830381600087803b15801561304257600080fd5b505af1158015613056573d6000803e3d6000fd5b5050505061313b565b8760ff166001036130b657600954604051631bb5463b60e11b815260006004820181905260248201859052604482018190526064820152600160201b9091046001600160a01b03169063376a8c7690608401613028565b8760ff1660020361313b57600954604051631bb5463b60e11b815260006004820181905260248201819052604482018590526064820152600160201b9091046001600160a01b03169063376a8c7690608401600060405180830381600087803b15801561312257600080fd5b505af1158015613136573d6000803e3d6000fd5b505050505b505b50505050505050565b60065461315e9030906001600160a01b031684611f7d565b60065460405163f305d71960e01b8152306004820181905260248201859052600060448301819052606483015260848201524260a48201526001600160a01b039091169063f305d71990839060c40160606040518083038185885af11580156131cb573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906116579190613876565b6040805160028082526060820183526000926020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c4648925060048083019260209291908290030181865afa15801561325a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061327e91906137d9565b816000815181106132915761329161366f565b60200260200101906001600160a01b031690816001600160a01b03168152505081816001815181106132c5576132c561366f565b6001600160a01b03928316602091820292909201015260065460405163b6f9de9560e01b815291169063b6f9de9590859061330b906000908690309042906004016138a4565b6000604051808303818588803b15801561332457600080fd5b505af115801561313b573d6000803e3d6000fd5b6001600160a01b0381168114611e0a57600080fd5b8015158114611e0a57600080fd5b6000806040838503121561336e57600080fd5b823561337981613338565b915060208301356133898161334d565b809150509250929050565b600060208083528351808285015260005b818110156133c1578581018301518582016040015282016133a5565b506000604082860101526040601f19601f8301168501019250505092915050565b6000806000606084860312156133f757600080fd5b505081359360208301359350604090920135919050565b6000806040838503121561342157600080fd5b823561342c81613338565b946020939093013593505050565b60006020828403121561344c57600080fd5b813561345781613338565b9392505050565b60008060006060848603121561347357600080fd5b833561347e81613338565b9250602084013561348e81613338565b929592945050506040919091013590565b634e487b7160e01b600052602160045260246000fd5b60208101600383106134d757634e487b7160e01b600052602160045260246000fd5b91905290565b6000602082840312156134ef57600080fd5b5035919050565b60006020828403121561350857600080fd5b81356134578161334d565b6000806040838503121561352657600080fd5b823561353181613338565b9150602083013561338981613338565b6001600160a01b039290921682521515602082015260400190565b600181811c9082168061357057607f821691505b60208210810361359057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610d2357610d23613596565b6020808252600f908201526e1b9bdd0819195d881858d8dbdd5b9d608a1b604082015260600190565b6000602082840312156135fa57600080fd5b5051919050565b60006020828403121561361357600080fd5b81516134578161334d565b81810381811115610d2357610d23613596565b634e487b7160e01b600052601260045260246000fd5b60008261365657613656613631565b500490565b60008261366a5761366a613631565b500690565b634e487b7160e01b600052603260045260246000fd5b6000806000806000806000806000806101408b8d0312156136a557600080fd5b8a516136b081613338565b809a505060208b0151985060408b0151975060608b0151965060808b0151955060a08b0151945060c08b0151935060e08b015192506101008b015191506101208b015190509295989b9194979a5092959850565b6000806000806080858703121561371a57600080fd5b505082516020840151604085015160609095015191969095509092509050565b8082028115828204841417610d2357610d23613596565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6000602082840312156137eb57600080fd5b815161345781613338565b600081518084526020808501945080840160005b8381101561382f5781516001600160a01b03168752958201959082019060010161380a565b509495945050505050565b85815284602082015260a06040820152600061385960a08301866137f6565b6001600160a01b0394909416606083015250608001529392505050565b60008060006060848603121561388b57600080fd5b8351925060208401519150604084015190509250925092565b8481526080602082015260006138bd60808301866137f6565b6001600160a01b0394909416604083015250606001529291505056fea264697066735822122025e124216105465ab9808c122283336d27595b6939ec54950e08accd8e24999564736f6c63430008140033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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