**Maintenance in progress, block data might not be up to date**

Contract 0x5D99D9e638a8D9EEE90f965F501130bbb63fB5f6 1

 

Contract Overview

ShibaSushi: SHIBS Token
Balance:
0.01087066500001108 BNB

BNB Value:
$4.19 (@ $385.75/BNB)

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x11fc45f88b5b71ac761879540f23e2c92f08a5181cfc41fb20dbce4fb8fe3f37Transfer147058082022-01-26 15:22:161 day 12 hrs agoShibaSushi: Deployer IN  ShibaSushi: SHIBS Token0 BNB0.0005774
0x72c8c73ed4b9bc4006b326fd637cd973a09905029b6e565384ba517e76b2c3b5Rescue BEP20147057992022-01-26 15:21:491 day 12 hrs agoShibaSushi: Deployer IN  ShibaSushi: SHIBS Token0 BNB0.000673355
0x6422c4454a6a0be406bed26d2d1e89d8927452bfb6ba985939ee7602f7a91b76Transfer147057482022-01-26 15:19:161 day 12 hrs agoShibaSushi: Deployer IN  ShibaSushi: SHIBS Token0 BNB0.0005774
0x3649fa3717df932257b88323637840bcc12ced251edd53e029dfb27d929e4506Transfer From146893782022-01-26 1:36:342 days 1 hr ago0xb76f889c17f25177750ddb54e6b912189ee9fd9d IN  ShibaSushi: SHIBS Token0 BNB0.006307985
0x923e0b9714269a11d5c7a4aaa2bc5d12d47cc67339285ff8945d35b74d88823cApprove146893402022-01-26 1:34:402 days 2 hrs ago0xb76f889c17f25177750ddb54e6b912189ee9fd9d IN  ShibaSushi: SHIBS Token0 BNB0.00022286
0x7d5882d3d1e1ac7fdac64c402555f22a32b9af770b6257adf64f9534a85a114cTransfer From146893262022-01-26 1:33:582 days 2 hrs ago0xb76f889c17f25177750ddb54e6b912189ee9fd9d IN  ShibaSushi: SHIBS Token0 BNB0.007125815
0x2acd5b47eaca011c6dc28a923f413c2e1ecf40c22b4a305981790e853a13d489Approve146392862022-01-24 7:46:413 days 19 hrs ago0x10443fbc9b652415eaec4211017cdd25454a39d7 IN  ShibaSushi: SHIBS Token0 BNB0.00026556
0x22d987b484a82a5f369498904e574c12509c0b1f6bca70844c9eef4b9b78107eApprove146033522022-01-23 1:47:415 days 1 hr ago0xf082bb457bb4987b14986941e9a723210418bd6b IN  ShibaSushi: SHIBS Token0 BNB0.00022286
0xcc9fdae49ae8cdfe6ff581c15672ecc7e25264cc5262fdebe46008ba87cbc244Transfer145655522022-01-21 18:10:366 days 9 hrs agoShibaSushi: Deployer IN  ShibaSushi: SHIBS Token0 BNB0.00046549
0x3d79f30871965347d5396c1d1273e8616009744fcee2ca7819b814c32435ad79Rescue BEP20145655392022-01-21 18:09:576 days 9 hrs agoShibaSushi: Deployer IN  ShibaSushi: SHIBS Token0 BNB0.000673355
0x717533146c8704b9632921c022b070bcc8b51459731fa0522f16a2cb3bcf5b04Transfer145170672022-01-20 1:42:578 days 1 hr agoShibaSushi: Deployer IN  ShibaSushi: SHIBS Token0 BNB0.00046549
0x907db3f69422608512704190c8d6f19ff1ca8e8e75ebd2575d77d6bf0cb60d46Approve144721762022-01-18 11:57:419 days 15 hrs ago0x2236aed744fd346615dba825946166604a02698c IN  ShibaSushi: SHIBS Token0 BNB0.000177604
0xe8f4ff53c76e4b7e7099634fa1cc76075e0dd452a980e1e5b82d1969578326b0Approve144721742022-01-18 11:57:339 days 15 hrs ago0x2236aed744fd346615dba825946166604a02698c IN  ShibaSushi: SHIBS Token0 BNB0.000312004
0xec0526fc088067793bed7f7059e3d7cfc4cbfebaee0d3d240301057ab2c7423fTransfer144527372022-01-17 19:36:2910 days 7 hrs ago0xd7be06de8f2067b873faf210323875f6ff8c588f IN  ShibaSushi: SHIBS Token0 BNB0.00208065
0x153eaea3986d7bdc56e5e319183fb7d67bf9d3f425b45d2d521c6c7006b191ceTransfer144527302022-01-17 19:36:0810 days 7 hrs agoShibaSushi: Deployer IN  ShibaSushi: SHIBS Token0 BNB0.001483015
0x956f36d826fe6f7f64b3aed791650a54c97cb1325c677b1f4351bf0ccad0c901Transfer144527292022-01-17 19:36:0510 days 7 hrs ago0xa0e1c4d0ecec85e6b50f25463593bf6fa587660e IN  ShibaSushi: SHIBS Token0 BNB0.001483015
0xc2ab60222a1432bf756f0d52427e561a5be6571c80021ca979544b9527c0899aTransfer144521802022-01-17 19:08:2810 days 8 hrs ago0xd7be06de8f2067b873faf210323875f6ff8c588f IN  ShibaSushi: SHIBS Token0 BNB0.00208065
0x3269a8146fbe11d03621f47de1c089505dfa081b166676b501fa9fc5db79ff53Transfer144521712022-01-17 19:08:0110 days 8 hrs ago0xa0e1c4d0ecec85e6b50f25463593bf6fa587660e IN  ShibaSushi: SHIBS Token0 BNB0.001483015
0xad6461a6d5f62b586b70bc8204422d627a93166570006c8c8ef247faec66c680Transfer144521712022-01-17 19:08:0110 days 8 hrs agoShibaSushi: Deployer IN  ShibaSushi: SHIBS Token0 BNB0.001483015
0x1bb9374b394ec39679f4485f0adf2a1fad5fad8f2780848cbcf378bf8a5e182bTransfer144490092022-01-17 16:29:0910 days 11 hrs ago0xd7be06de8f2067b873faf210323875f6ff8c588f IN  ShibaSushi: SHIBS Token0 BNB0.00208065
0x9a241ddb67f7ab729330443cb6b4d8cb0185b58a191997e99244c14eca4c034dTransfer144489992022-01-17 16:28:3910 days 11 hrs ago0xa0e1c4d0ecec85e6b50f25463593bf6fa587660e IN  ShibaSushi: SHIBS Token0 BNB0.001483015
0x5af28b7c4df9e6abe8069a919cb651b15b5489585de31a2baf8511cc3f8e901dTransfer144489972022-01-17 16:28:3310 days 11 hrs agoShibaSushi: Deployer IN  ShibaSushi: SHIBS Token0 BNB0.001483015
0x7bd1ded464c00c8c32f66fb9e0fc9415d64c95169e7f61219c5464c2dfd1815bTransfer144488522022-01-17 16:20:4910 days 11 hrs ago0xd7be06de8f2067b873faf210323875f6ff8c588f IN  ShibaSushi: SHIBS Token0 BNB0.00208065
0x3b2125511e255b53bd64bea3072f10606764c2bc2981915bfbb2ded9d5ca5cebTransfer144488422022-01-17 16:20:1610 days 11 hrs agoShibaSushi: Deployer IN  ShibaSushi: SHIBS Token0 BNB0.001483015
0x16bb2d3574743fdcf9c82f14956d33cb2dbac67eba3f978bb3d7dcebeada054cTransfer144488352022-01-17 16:19:5010 days 11 hrs ago0xd7be06de8f2067b873faf210323875f6ff8c588f IN  ShibaSushi: SHIBS Token0 BNB0.00208065
[ Download CSV Export 

OVERVIEW

The next moon worthy shiba reward token. Hold $SHIBS and earn BUSD, Use $SHIBS to participate in our upcoming play 2 earn games. A true multi use token! Let's create a massive rewards ecosystem, play games & earn $BUSD!

Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x1cbf437f95755bb5c91ab25d1e6fe24a6d2a33db1859334776ca5e17a185d6fd146893882022-01-26 1:37:042 days 1 hr ago ShibaSushi: SHIBS Token0x260f60a7116872056f54323bc432d33628895b670.00000024208411684 BNB
0x1cbf437f95755bb5c91ab25d1e6fe24a6d2a33db1859334776ca5e17a185d6fd146893882022-01-26 1:37:042 days 1 hr ago ShibaSushi: SHIBS Token PancakeSwap: Router v20.00000012104205842 BNB
0x1cbf437f95755bb5c91ab25d1e6fe24a6d2a33db1859334776ca5e17a185d6fd146893882022-01-26 1:37:042 days 1 hr ago PancakeSwap: Router v2 ShibaSushi: SHIBS Token0.000000363126175267 BNB
0x3649fa3717df932257b88323637840bcc12ced251edd53e029dfb27d929e4506146893782022-01-26 1:36:342 days 1 hr ago ShibaSushi: SHIBS Token0x260f60a7116872056f54323bc432d33628895b670.00000024208417104 BNB
0x3649fa3717df932257b88323637840bcc12ced251edd53e029dfb27d929e4506146893782022-01-26 1:36:342 days 1 hr ago ShibaSushi: SHIBS Token PancakeSwap: Router v20.00000012104208552 BNB
0x3649fa3717df932257b88323637840bcc12ced251edd53e029dfb27d929e4506146893782022-01-26 1:36:342 days 1 hr ago PancakeSwap: Router v2 ShibaSushi: SHIBS Token0.000000363126256568 BNB
0x7d5882d3d1e1ac7fdac64c402555f22a32b9af770b6257adf64f9534a85a114c146893262022-01-26 1:33:582 days 2 hrs ago ShibaSushi: SHIBS Token0x260f60a7116872056f54323bc432d33628895b670.00000024208422524 BNB
0x7d5882d3d1e1ac7fdac64c402555f22a32b9af770b6257adf64f9534a85a114c146893262022-01-26 1:33:582 days 2 hrs ago ShibaSushi: SHIBS Token PancakeSwap: Router v20.00000012104211262 BNB
0x7d5882d3d1e1ac7fdac64c402555f22a32b9af770b6257adf64f9534a85a114c146893262022-01-26 1:33:582 days 2 hrs ago PancakeSwap: Router v2 ShibaSushi: SHIBS Token0.000000363126337869 BNB
0xf1a57967e1cc3763c023a3a501e6f0522615b9a5a4683cf32a6e8cd92ee178b8146892172022-01-26 1:28:312 days 2 hrs ago ShibaSushi: SHIBS Token0x260f60a7116872056f54323bc432d33628895b670.00000024208422524 BNB
0xf1a57967e1cc3763c023a3a501e6f0522615b9a5a4683cf32a6e8cd92ee178b8146892172022-01-26 1:28:312 days 2 hrs ago ShibaSushi: SHIBS Token PancakeSwap: Router v20.00000012104211262 BNB
0xf1a57967e1cc3763c023a3a501e6f0522615b9a5a4683cf32a6e8cd92ee178b8146892172022-01-26 1:28:312 days 2 hrs ago PancakeSwap: Router v2 ShibaSushi: SHIBS Token0.000000363126337869 BNB
0xa82091040e72d61f8a290434a8799ce53af9c5abfb8c3b91395712ecbe1cb706146033762022-01-23 1:48:535 days 1 hr ago ShibaSushi: SHIBS Token0x260f60a7116872056f54323bc432d33628895b670.00000016449011116 BNB
0xa82091040e72d61f8a290434a8799ce53af9c5abfb8c3b91395712ecbe1cb706146033762022-01-23 1:48:535 days 1 hr ago ShibaSushi: SHIBS Token PancakeSwap: Router v20.00000008224505558 BNB
0xa82091040e72d61f8a290434a8799ce53af9c5abfb8c3b91395712ecbe1cb706146033762022-01-23 1:48:535 days 1 hr ago PancakeSwap: Router v2 ShibaSushi: SHIBS Token0.000000246735166762 BNB
0xefec62938a86790215966b7274a768106e525f0801136a27b1a3ae4933cbd8ef145723202022-01-21 23:50:246 days 3 hrs ago ShibaSushi: SHIBS Token0x260f60a7116872056f54323bc432d33628895b670.0000001797022918 BNB
0xefec62938a86790215966b7274a768106e525f0801136a27b1a3ae4933cbd8ef145723202022-01-21 23:50:246 days 3 hrs ago ShibaSushi: SHIBS Token PancakeSwap: Router v20.0000000898511459 BNB
0xefec62938a86790215966b7274a768106e525f0801136a27b1a3ae4933cbd8ef145723202022-01-21 23:50:246 days 3 hrs ago PancakeSwap: Router v2 ShibaSushi: SHIBS Token0.000000269553437758 BNB
0xb0ec257faf62fa72bcaccb5f9e40070ebc41de58a2c601d02e65454901f12583144769732022-01-18 16:08:239 days 11 hrs ago ShibaSushi: SHIBS Token0x260f60a7116872056f54323bc432d33628895b670.00000019563112164 BNB
0xb0ec257faf62fa72bcaccb5f9e40070ebc41de58a2c601d02e65454901f12583144769732022-01-18 16:08:239 days 11 hrs ago ShibaSushi: SHIBS Token PancakeSwap: Router v20.00000009781556082 BNB
0xb0ec257faf62fa72bcaccb5f9e40070ebc41de58a2c601d02e65454901f12583144769732022-01-18 16:08:239 days 11 hrs ago PancakeSwap: Router v2 ShibaSushi: SHIBS Token0.00000029344668247 BNB
0xf643bdc1b666bab5e3b6b6f8eba601c785c9fda486a3935dea14f1da0cc165bf144431572022-01-17 11:29:1410 days 16 hrs ago ShibaSushi: SHIBS Token0x260f60a7116872056f54323bc432d33628895b670.00000016191791636 BNB
0xf643bdc1b666bab5e3b6b6f8eba601c785c9fda486a3935dea14f1da0cc165bf144431572022-01-17 11:29:1410 days 16 hrs ago ShibaSushi: SHIBS Token PancakeSwap: Router v20.00000008095895818 BNB
0xf643bdc1b666bab5e3b6b6f8eba601c785c9fda486a3935dea14f1da0cc165bf144431572022-01-17 11:29:1410 days 16 hrs ago PancakeSwap: Router v2 ShibaSushi: SHIBS Token0.000000242876874578 BNB
0xdb797a73d304240f0ce853e07f94676ffad73fd743bd8e10f4d988d5ac7fa156144151242022-01-16 11:58:5311 days 15 hrs ago ShibaSushi: SHIBS Token0x260f60a7116872056f54323bc432d33628895b670.00000019973388448 BNB
[ Download CSV Export 
Loading
This contract contains unverified libraries: IterableMapping

Contract Source Code Verified (Exact Match)

Contract Name:
ShibaSushi

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 13 : ShibaSushi.sol
// SPDX-License-Identifier: Unlicensed

pragma solidity ^0.8.6;

import "./DividendPayingToken.sol";
import "./SafeMath.sol";
import "./IterableMapping.sol";
import "./Ownable.sol";
import "./IDex.sol";


contract ShibaSushi is ERC20, Ownable {
    using SafeMath for uint256;

    IRouter public router;
    address public  pair;
    
    address constant public deadWallet = 0x000000000000000000000000000000000000dEaD;

    address public immutable BUSD = address(0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56); //BUSD
        
    bool private swapping;    
    bool public swapEnabled = true;
    bool public autoBoostEnabled = false;
    
    uint256 public autoBoostThreshold = 1 ether; //initially set to 1 BNB

    ShibaSushiDividendTracker public dividendTracker;

    uint256 public swapTokensAtAmount = 50000000 * 10**decimals();
    uint256 public maxWalletBalance = 2e13 * 10**decimals();  // 2% of total supply
    uint256 public maxTxAmount = 25e11 * 10**decimals();    // 0.25% of total supply

    uint256 public  BUSDRewardsFee = 65;
    uint256 public  marketingFee = 20;
    uint256 public  liquidityFee = 20;
    uint256 public  burnFee = 20;
    uint256 public  autoBoost = 0;
    uint256 public  totalFees = BUSDRewardsFee.add(marketingFee).add(liquidityFee).add(autoBoost);
    
    address public marketingWallet = 0xCCbAeC63b9B856588BF0469b260473622Fdc9e6D;
    address public liquidityWallet = 0xCCbAeC63b9B856588BF0469b260473622Fdc9e6D;
    
    // use by default 300,000 gas to process auto-claiming dividends
    uint256 public gasForProcessing = 300000;

    mapping (address => bool) private _isExcludedFromFees;
    mapping (address => bool) public _isBlacklisted;

    // store addresses that a automatic market maker pairs. Any transfer *to* these addresses
    // could be subject to a maximum transfer amount
    mapping (address => bool) public automatedMarketMakerPairs;

    event UpdateDividendTracker(address indexed newAddress, address indexed oldAddress);

    event Updaterouter(address indexed newAddress, address indexed oldAddress);

    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 SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    event SwapETHForTokens(
        uint256 amountIn,
        address[] path
    );

    event SendDividends(
    	uint256 tokensSwapped,
    	uint256 amount
    );

    event ProcessedDividendTracker(
    	uint256 iterations,
    	uint256 claims,
        uint256 lastProcessedIndex,
    	bool indexed automatic,
    	uint256 gas,
    	address indexed processor
    );

     modifier lockTheSwap {
        swapping = true;
        _;
        swapping = false;
    }

    constructor()  ERC20("ShibaSushi", "SHIBS") {
        
    	dividendTracker = new ShibaSushiDividendTracker();

    	IRouter _router = IRouter(0x10ED43C718714eb63d5aA57B78B54704E256024E);
         // Create a uniswap pair for this new token
        address _pair = IFactory(_router.factory())
            .createPair(address(this), _router.WETH());

        router = _router;
        pair = _pair;

        _setAutomatedMarketMakerPair(_pair, true);

        // exclude from receiving dividends
        dividendTracker.excludeFromDividends(address(dividendTracker), true);
        dividendTracker.excludeFromDividends(address(this), true);
        dividendTracker.excludeFromDividends(deadWallet, true);
        dividendTracker.excludeFromDividends(owner(), true);

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(marketingWallet, true);
        excludeFromFees(deadWallet, true);

        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(owner(), 1e15 * (10**9));
    }

    receive() external payable {

  	}


    function updateDividendTracker(address newAddress) public onlyOwner {
        require(newAddress != address(dividendTracker), "ShibaSushi: The dividend tracker already has that address");

        ShibaSushiDividendTracker newDividendTracker = ShibaSushiDividendTracker(payable(newAddress));

        require(newDividendTracker.owner() == address(this), "ShibaSushi: The new dividend tracker must be owned by the ShibaSushi token contract");

        newDividendTracker.excludeFromDividends(address(newDividendTracker), true);
        newDividendTracker.excludeFromDividends(address(this), true);
        newDividendTracker.excludeFromDividends(owner(), true);
        newDividendTracker.excludeFromDividends(address(router), true);

        emit UpdateDividendTracker(newAddress, address(dividendTracker));

        dividendTracker = newDividendTracker;
    }

    function updateRouter(address newAddress) public onlyOwner {
        require(newAddress != address(router), "ShibaSushi: The router already has that address");
        emit Updaterouter(newAddress, address(router));
        router = IRouter(newAddress);
    }

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

        emit ExcludeFromFees(account, excluded);
    }

    function excludeMultipleAccountsFromFees(address[] calldata accounts, bool excluded) public onlyOwner {
        for(uint256 i = 0; i < accounts.length; i++) {
            _isExcludedFromFees[accounts[i]] = excluded;
        }

        emit ExcludeMultipleAccountsFromFees(accounts, excluded);
    }

    function setAutomatedMarketMakerPair(address newPair, bool value) public onlyOwner {
        _setAutomatedMarketMakerPair(newPair, value);
    }

    function excludeFromDividends(address account, bool value) external onlyOwner{
        dividendTracker.excludeFromDividends(account, value);
    }

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

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

        emit SetAutomatedMarketMakerPair(newPair, value);
    }

    function updateGasForProcessing(uint256 newValue) public onlyOwner {
        require(newValue >= 200000 && newValue <= 500000, "ShibaSushi: gasForProcessing must be between 200,000 and 500,000");
        require(newValue != gasForProcessing, "ShibaSushi: Cannot update gasForProcessing to same value");
        emit GasForProcessingUpdated(newValue, gasForProcessing);
        gasForProcessing = newValue;
    }

    function updateClaimWait(uint256 claimWait) external onlyOwner {
        dividendTracker.updateClaimWait(claimWait);
    }

    function getClaimWait() external view returns(uint256) {
        return dividendTracker.claimWait();
    }

    function getTotalDividendsDistributed() external view returns (uint256) {
        return dividendTracker.totalDividendsDistributed();
    }

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

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

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

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

	function getAccountDividendsInfoAtIndex(uint256 index)
        external view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
    	return dividendTracker.getAccountAtIndex(index);
    }

	function processDividendTracker(uint256 gas) external {
		(uint256 iterations, uint256 claims, uint256 lastProcessedIndex) = dividendTracker.process(gas);
		emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, false, gas, tx.origin);
    }

    function claim() external {
		dividendTracker.processAccount(payable(msg.sender), false);
    }

    function getLastProcessedIndex() external view returns(uint256) {
    	return dividendTracker.getLastProcessedIndex();
    }

    function getNumberOfDividendTokenHolders() external view returns(uint256) {
        return dividendTracker.getNumberOfTokenHolders();
    }
    
    function setFees(uint256 _BUSDFee, uint256 _marketFee, uint256 _liqFee, uint256 _autoBoostFee, uint256 _burnFee) external onlyOwner{
        require(_BUSDFee + _marketFee + _liqFee + _autoBoostFee <= 35, "Fees must be <= 35%");
        BUSDRewardsFee = _BUSDFee;
        marketingFee = _marketFee;
        liquidityFee = _liqFee;
        autoBoost = _autoBoostFee;
        burnFee = _burnFee;
        totalFees = BUSDRewardsFee + marketingFee + liquidityFee + autoBoost;
    }
    
    function setMarketingWallet(address newWallet) external onlyOwner{
        marketingWallet = newWallet;
    }
    
    function setLiquidityWallet(address newWallet) external onlyOwner{
        liquidityWallet = newWallet;
    }
    
    function setSwapTokensAtAmount(uint256 amount) external onlyOwner{
        swapTokensAtAmount = amount * 10**decimals();
    }
    
    function setMaxWalletBalance(uint256 amount) external onlyOwner{
        maxWalletBalance = amount * 10**decimals();
    }
    
    function setMinTokensToGetrewards(uint256 amount) external onlyOwner{
        dividendTracker.setMinimumBalanceForRewards(amount * 10**decimals());
    }
    
    function setBlacklistAccount(address account, bool state) external onlyOwner{
        require(_isBlacklisted[account] != state, "Value already set");
        _isBlacklisted[account] = state;
    }
    
    function setMaxTxAmount(uint256 amount) external onlyOwner{
        require(amount > 200_000 * 10**decimals(), "Amount must be > 200M");
        maxTxAmount = amount * 10**decimals();
    }

    function setSwapEnabled(bool value) external onlyOwner{
        swapEnabled = value;
    }
    
    function setAutoBoostEnabled(bool value) external onlyOwner{
        autoBoostEnabled = value;
    }
    
    function setAutoBoostThreshold(uint256 amount) external onlyOwner{
        autoBoostThreshold = amount * 10**18;
    }
    
    function rescueBNB(uint256 weiAmount) external onlyOwner{
        require(address(this).balance >= weiAmount, "Insufficient BNB");
        payable(msg.sender).transfer(weiAmount);
    }
    
    function rescueBEP20(address tokenAdd, uint256 amount) external onlyOwner{
        IERC20(tokenAdd).transfer(msg.sender, amount);
    }
    
    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");
        require(!_isBlacklisted[from] && !_isBlacklisted[to], "You are blacklisted");
        
        if(!automatedMarketMakerPairs[to] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to] && to != deadWallet){
            require(balanceOf(to).add(amount) <= maxWalletBalance, "Balance is exceeding maxWalletBalance");
        }
        
        if(!_isExcludedFromFees[from] && !_isExcludedFromFees[to]){
            require(amount <= maxTxAmount, "Amount is exceeding maxTxAmount");
        }
        
        if(amount == 0) {
            super._transfer(from, to, 0);
            return;
        }

        uint256 contractTokenBalance = balanceOf(address(this));
        if(swapEnabled && !swapping && !automatedMarketMakerPairs[from] && !_isExcludedFromFees[from] && !_isExcludedFromFees[to]) {
            uint256 balance = address(this).balance;
            if (automatedMarketMakerPairs[to] && autoBoostEnabled && balance >= autoBoostThreshold) {
                triggerAutoBoost(autoBoostThreshold);
            }
            
            bool canSwap = contractTokenBalance >= swapTokensAtAmount;
            
            if (canSwap) {
                swapAndLiquify(swapTokensAtAmount.mul(totalFees - BUSDRewardsFee).div(totalFees));

                if(BUSDRewardsFee > 0){
                    uint256 sellTokens = swapTokensAtAmount.mul(BUSDRewardsFee).div(totalFees);
                    swapAndSendDividends(sellTokens);
                }
            }

        }

        bool takeFee = !swapping;

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

        if(takeFee) {
            uint256 fees = amount * totalFees / 1000;
            uint256 burnAmt = amount * burnFee / 1000;
            
        	amount = amount.sub(fees).sub(burnAmt);
            super._transfer(from, address(this), fees);
            super._transfer(from, deadWallet, burnAmt);
        }
        super._transfer(from, to, amount);

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

        if(!swapping) {
	    	uint256 gas = gasForProcessing;

	    	try dividendTracker.process(gas) returns (uint256 iterations, uint256 claims, uint256 lastProcessedIndex) {
	    		emit ProcessedDividendTracker(iterations, claims, lastProcessedIndex, true, gas, tx.origin);
	    	}
	    	catch {

	    	}
        }
    }
    
    function triggerAutoBoost(uint256 amount) private lockTheSwap{
        if (amount > 0) {
    	    swapETHForTokens(amount);
	    }
    }
    
    function swapAndLiquify(uint256 tokens) private lockTheSwap{
        // Split the contract balance into halves
        uint256 denominator = (liquidityFee + marketingFee + autoBoost) * 2;
        uint256 tokensToAddLiquidityWith = tokens * liquidityFee / denominator;
        uint256 toSwap = tokens - tokensToAddLiquidityWith;

        uint256 initialBalance = address(this).balance;

        swapTokensForEth(toSwap);

        uint256 deltaBalance = address(this).balance - initialBalance;
        uint256 unitBalance= deltaBalance / (denominator - liquidityFee);
        uint256 BNBToAddLiquidityWith = unitBalance * liquidityFee;

        if(BNBToAddLiquidityWith > 0){
            // Add liquidity to pancake
            addLiquidity(tokensToAddLiquidityWith, BNBToAddLiquidityWith);
        }

        // Send BNB to marketing
        uint256 marketingAmt = unitBalance * 2 * marketingFee;
        if(marketingAmt > 0) payable(marketingWallet).transfer(marketingAmt);
    }
    
    function swapETHForTokens(uint256 amount) private {
        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = router.WETH();
        path[1] = address(this);
 
      // make the swap
        router.swapExactETHForTokensSupportingFeeOnTransferTokens{value: amount}(
            0, // accept any amount of Tokens
            path,
            deadWallet, // Burn address
            block.timestamp.add(300)
        );
 
        emit SwapETHForTokens(amount, path);
    }

    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
            liquidityWallet, 
            block.timestamp
        );

    }

    function swapTokensForEth(uint256 tokenAmount) private {

        // generate the uniswap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = 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 swapTokensForBUSD(uint256 tokenAmount) private {

        address[] memory path = new address[](3);
        path[0] = address(this);
        path[1] = router.WETH();
        path[2] = BUSD;

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

        // make the swap
        router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            address(this),
            block.timestamp
        );
    }

    function swapAndSendDividends(uint256 tokens) private lockTheSwap{
        swapTokensForBUSD(tokens);
        uint256 dividends = IERC20(BUSD).balanceOf(address(this));
        bool success = IERC20(BUSD).transfer(address(dividendTracker), dividends);

        if (success) {
            dividendTracker.distributeBUSDDividends(dividends);
            emit SendDividends(tokens, dividends);
        }
    }
}

contract ShibaSushiDividendTracker is Ownable, DividendPayingToken {
    using SafeMath for uint256;
    using SafeMathInt for int256;
    using IterableMapping for IterableMapping.Map;

    IterableMapping.Map private tokenHoldersMap;
    uint256 public lastProcessedIndex;

    mapping (address => bool) public excludedFromDividends;

    mapping (address => uint256) public lastClaimTimes;

    uint256 public claimWait;
    uint256 public minimumTokenBalanceForDividends;

    event ExcludeFromDividends(address indexed account);
    event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);

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

    constructor()  DividendPayingToken("ShibaSushi_Dividend_Tracker", "ShibaSushi_Dividend_Tracker") {
    	claimWait = 3600;
        minimumTokenBalanceForDividends = 150e9 * (10**9); //must hold 150_000_000_000 tokens
    }

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

    function withdrawDividend() public pure override {
        require(false, "ShibaSushi_Dividend_Tracker: withdrawDividend disabled. Use the 'claim' function on the main ShibaSushi contract.");
    }

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

    function updateClaimWait(uint256 newClaimWait) external onlyOwner {
        require(newClaimWait >= 3600 && newClaimWait <= 86400, "ShibaSushi_Dividend_Tracker: claimWait must be updated to between 1 and 24 hours");
        require(newClaimWait != claimWait, "ShibaSushi_Dividend_Tracker: Cannot update claimWait to same value");
        emit ClaimWaitUpdated(newClaimWait, claimWait);
        claimWait = newClaimWait;
    }
    
    function setMinimumBalanceForRewards(uint256 amount) external onlyOwner{
        minimumTokenBalanceForDividends = amount;
    }

    function getLastProcessedIndex() external view returns(uint256) {
    	return lastProcessedIndex;
    }

    function getNumberOfTokenHolders() external view returns(uint256) {
        return tokenHoldersMap.keys.length;
    }

    function getAccount(address _account)
        public view returns (
            address account,
            int256 index,
            int256 iterationsUntilProcessed,
            uint256 withdrawableDividends,
            uint256 totalDividends,
            uint256 lastClaimTime,
            uint256 nextClaimTime,
            uint256 secondsUntilAutoClaimAvailable) {
        account = _account;

        index = tokenHoldersMap.getIndexOfKey(account);

        iterationsUntilProcessed = -1;

        if(index >= 0) {
            if(uint256(index) > lastProcessedIndex) {
                iterationsUntilProcessed = index.sub(int256(lastProcessedIndex));
            }
            else {
                uint256 processesUntilEndOfArray = tokenHoldersMap.keys.length > lastProcessedIndex ?
                                                        tokenHoldersMap.keys.length.sub(lastProcessedIndex) :
                                                        0;


                iterationsUntilProcessed = index.add(int256(processesUntilEndOfArray));
            }
        }


        withdrawableDividends = withdrawableDividendOf(account);
        totalDividends = accumulativeDividendOf(account);

        lastClaimTime = lastClaimTimes[account];

        nextClaimTime = lastClaimTime > 0 ?
                                    lastClaimTime.add(claimWait) :
                                    0;

        secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ?
                                                    nextClaimTime.sub(block.timestamp) :
                                                    0;
    }

    function getAccountAtIndex(uint256 index)
        public view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
    	if(index >= tokenHoldersMap.size()) {
            return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0);
        }

        address account = tokenHoldersMap.getKeyAtIndex(index);

        return getAccount(account);
    }

    function canAutoClaim(uint256 lastClaimTime) private view returns (bool) {
    	if(lastClaimTime > block.timestamp)  {
    		return false;
    	}

    	return block.timestamp.sub(lastClaimTime) >= claimWait;
    }

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

    	if(newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
    		tokenHoldersMap.set(account, newBalance);
    	}
    	else {
            _setBalance(account, 0);
    		tokenHoldersMap.remove(account);
    	}

    	processAccount(account, true);
    }

    function process(uint256 gas) public returns (uint256, uint256, uint256) {
    	uint256 numberOfTokenHolders = tokenHoldersMap.keys.length;

    	if(numberOfTokenHolders == 0) {
    		return (0, 0, lastProcessedIndex);
    	}

    	uint256 _lastProcessedIndex = lastProcessedIndex;

    	uint256 gasUsed = 0;

    	uint256 gasLeft = gasleft();

    	uint256 iterations = 0;
    	uint256 claims = 0;

    	while(gasUsed < gas && iterations < numberOfTokenHolders) {
    		_lastProcessedIndex++;

    		if(_lastProcessedIndex >= tokenHoldersMap.keys.length) {
    			_lastProcessedIndex = 0;
    		}

    		address account = tokenHoldersMap.keys[_lastProcessedIndex];

    		if(canAutoClaim(lastClaimTimes[account])) {
    			if(processAccount(payable(account), true)) {
    				claims++;
    			}
    		}

    		iterations++;

    		uint256 newGasLeft = gasleft();

    		if(gasLeft > newGasLeft) {
    			gasUsed = gasUsed.add(gasLeft.sub(newGasLeft));
    		}

    		gasLeft = newGasLeft;
    	}

    	lastProcessedIndex = _lastProcessedIndex;

    	return (iterations, claims, lastProcessedIndex);
    }

    function processAccount(address payable account, bool automatic) public onlyOwner returns (bool) {
        uint256 amount = _withdrawDividendOfUser(account);

    	if(amount > 0) {
    		lastClaimTimes[account] = block.timestamp;
            emit Claim(account, amount, automatic);
    		return true;
    	}

    	return false;
    }
}

File 2 of 13 : DividendPayingToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

import "./ERC20.sol";
import "./SafeMath.sol";
import "./SafeMathUint.sol";
import "./SafeMathInt.sol";
import "./DividendPayingTokenInterface.sol";
import "./DividendPayingTokenOptionalInterface.sol";
import "./Ownable.sol";


/// @title Dividend-Paying Token
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev A mintable ERC20 token that allows anyone to pay and distribute ether
///  to token holders as dividends and allows token holders to withdraw their dividends.
///  Reference: the source code of PoWH3D: https://etherscan.io/address/0xB3775fB83F7D12A36E0475aBdD1FCA35c091efBe#code
contract DividendPayingToken is ERC20, Ownable, DividendPayingTokenInterface, DividendPayingTokenOptionalInterface {
  using SafeMath for uint256;
  using SafeMathUint for uint256;
  using SafeMathInt for int256;

  address public immutable BUSD = address(0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56); //BUSD


  // 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 constant internal magnitude = 2**128;

  uint256 internal magnifiedDividendPerShare;

  // 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 magnifiedDividendCorrections;
  mapping(address => uint256) internal withdrawnDividends;

  uint256 public totalDividendsDistributed;

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

  }


  function distributeBUSDDividends(uint256 amount) public onlyOwner{
    require(totalSupply() > 0);

    if (amount > 0) {
      magnifiedDividendPerShare = magnifiedDividendPerShare.add(
        (amount).mul(magnitude) / totalSupply()
      );
      emit DividendsDistributed(msg.sender, amount);

      totalDividendsDistributed = totalDividendsDistributed.add(amount);
    }
  }

  /// @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(payable(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 payable user) internal returns (uint256) {
    uint256 _withdrawableDividend = withdrawableDividendOf(user);
    if (_withdrawableDividend > 0) {
      withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
      emit DividendWithdrawn(user, _withdrawableDividend);
      bool success = IERC20(BUSD).transfer(user, _withdrawableDividend);

      if(!success) {
        withdrawnDividends[user] = withdrawnDividends[user].sub(_withdrawableDividend);
        return 0;
      }

      return _withdrawableDividend;
    }

    return 0;
  }


  /// @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) {
    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) {
    return accumulativeDividendOf(_owner).sub(withdrawnDividends[_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) {
    return withdrawnDividends[_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) {
    return magnifiedDividendPerShare.mul(balanceOf(_owner)).toInt256Safe()
      .add(magnifiedDividendCorrections[_owner]).toUint256Safe() / magnitude;
  }

  /// @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 = magnifiedDividendPerShare.mul(value).toInt256Safe();
    magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from].add(_magCorrection);
    magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(_magCorrection);
  }

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

    magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
      .sub( (magnifiedDividendPerShare.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);

    magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
      .add( (magnifiedDividendPerShare.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);
    }
  }
}

File 3 of 13 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

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

File 4 of 13 : IterableMapping.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

library IterableMapping {
    // Iterable mapping from address to uint;
    struct Map {
        address[] keys;
        mapping(address => uint) values;
        mapping(address => uint) indexOf;
        mapping(address => bool) inserted;
    }

    function get(Map storage map, address key) public view returns (uint) {
        return map.values[key];
    }

    function getIndexOfKey(Map storage map, address key) public view returns (int) {
        if(!map.inserted[key]) {
            return -1;
        }
        return int(map.indexOf[key]);
    }

    function getKeyAtIndex(Map storage map, uint index) public view returns (address) {
        return map.keys[index];
    }



    function size(Map storage map) public view returns (uint) {
        return map.keys.length;
    }

    function set(Map storage map, address key, uint val) public {
        if (map.inserted[key]) {
            map.values[key] = val;
        } else {
            map.inserted[key] = true;
            map.values[key] = val;
            map.indexOf[key] = map.keys.length;
            map.keys.push(key);
        }
    }

    function remove(Map storage map, address key) public {
        if (!map.inserted[key]) {
            return;
        }

        delete map.inserted[key];
        delete map.values[key];

        uint index = map.indexOf[key];
        uint lastIndex = map.keys.length - 1;
        address lastKey = map.keys[lastIndex];

        map.indexOf[lastKey] = index;
        delete map.indexOf[key];

        map.keys[index] = lastKey;
        map.keys.pop();
    }
}

File 5 of 13 : Ownable.sol
pragma solidity ^0.8.6;

// SPDX-License-Identifier: MIT License

import "./Context.sol";

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 6 of 13 : IDex.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

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

interface IRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    
     function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline) external;
}

File 7 of 13 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

import "./IERC20.sol";
import "./Context.sol";
import "./SafeMath.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of 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 {
    using SafeMath for uint256;

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(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);

        _balances[account] = _balances[account].sub(amount, "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

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

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

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to 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 {}
}

File 8 of 13 : SafeMathUint.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

/**
 * @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 13 : SafeMathInt.sol
// SPDX-License-Identifier: MIT

/*
MIT License

Copyright (c) 2018 requestnetwork
Copyright (c) 2018 Fragments, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

pragma solidity ^0.8.6;

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

File 10 of 13 : DividendPayingTokenInterface.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;


/// @title Dividend-Paying Token Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev An interface for a dividend-paying token contract.
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);


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

  /// @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 11 of 13 : DividendPayingTokenOptionalInterface.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;


/// @title Dividend-Paying Token Optional Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev OPTIONAL functions for a dividend-paying token contract.
interface DividendPayingTokenOptionalInterface {
  /// @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);

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

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

File 12 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

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

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

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

File 13 of 13 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.6;

/*
 * @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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {
    "contracts/IterableMapping.sol": {
      "IterableMapping": "0x66FDCD2eDe4C04c8088DBc2f3b462edb38FDb4FC"
    }
  }
}

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":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"ethReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiqudity","type":"uint256"}],"name":"SwapAndLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountIn","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"path","type":"address[]"}],"name":"SwapETHForTokens","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"Updaterouter","type":"event"},{"inputs":[],"name":"BUSD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BUSDRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"autoBoost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"autoBoostEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"autoBoostThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"burnFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deadWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract ShibaSushiDividendTracker","name":"","type":"address"}],"stateMutability":"view","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":"accounts","type":"address[]"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeMultipleAccountsFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountDividendsInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountDividendsInfoAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"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":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalDividendsDistributed","outputs":[{"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":"liquidityFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletBalance","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":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"processDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAdd","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"rescueBEP20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"rescueBNB","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutoBoostEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setAutoBoostThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"state","type":"bool"}],"name":"setBlacklistAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_BUSDFee","type":"uint256"},{"internalType":"uint256","name":"_marketFee","type":"uint256"},{"internalType":"uint256","name":"_liqFee","type":"uint256"},{"internalType":"uint256","name":"_autoBoostFee","type":"uint256"},{"internalType":"uint256","name":"_burnFee","type":"uint256"}],"name":"setFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setLiquidityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxTxAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMaxWalletBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setMinTokensToGetrewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","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":"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":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateGasForProcessing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040527fe9e7cea3dedca5984780bafc599bd69add087d560000000000000000000000006080526007805461ffff60a81b1916600160a81b179055670de0b6b3a764000060085562000051600990565b6200005e90600a62000c17565b6200006e906302faf08062000ce3565b600a5560096200008090600a62000c17565b62000092906512309ce5400062000ce3565b600b55620000a36009600a62000c17565b620000b590650246139ca80062000ce3565b600c556041600d556014600e556014600f556014601055600060115562000111601154620000fd600f54620000fd600e54600d546200068b60201b620023771790919060201c565b6200068b60201b620023771790919060201c565b6012556013805473ccbaec63b9b856588bf0469b260473622fdc9e6d6001600160a01b03199182168117909255601480549091169091179055620493e06015553480156200015e57600080fd5b50604080518082018252600a8152695368696261537573686960b01b602080830191825283518085019094526005845264534849425360d81b908401528151919291620001ae9160039162000ad4565b508051620001c490600490602084019062000ad4565b5050506000620001d9620006fb60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350604051620002359062000b63565b604051809103906000f08015801562000252573d6000803e3d6000fd5b50600960006101000a8154816001600160a01b0302191690836001600160a01b0316021790555060007310ed43c718714eb63d5aa57b78b54704e256024e90506000816001600160a01b031663c45a01556040518163ffffffff1660e01b815260040160206040518083038186803b158015620002ce57600080fd5b505afa158015620002e3573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000309919062000b88565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156200035257600080fd5b505afa15801562000367573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200038d919062000b88565b6040516001600160e01b031960e085901b1681526001600160a01b03928316600482015291166024820152604401602060405180830381600087803b158015620003d657600080fd5b505af1158015620003eb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000411919062000b88565b600680546001600160a01b038086166001600160a01b0319928316179092556007805492841692909116919091179055905062000450816001620006ff565b60095460405162241fbd60e51b81526001600160a01b03909116600482018190526001602483015290630483f7a090604401600060405180830381600087803b1580156200049d57600080fd5b505af1158015620004b2573d6000803e3d6000fd5b505060095460405162241fbd60e51b8152306004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b1580156200050257600080fd5b505af115801562000517573d6000803e3d6000fd5b505060095460405162241fbd60e51b815261dead6004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b1580156200056957600080fd5b505af11580156200057e573d6000803e3d6000fd5b50506009546001600160a01b03169150630483f7a09050620005a86005546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b158015620005f157600080fd5b505af115801562000606573d6000803e3d6000fd5b50505050620006266200061e6200087760201b60201c565b600162000886565b6200063330600162000886565b6013546200064c906001600160a01b0316600162000886565b6200065b61dead600162000886565b62000683620006726005546001600160a01b031690565b69d3c21bcecceda1000000620009d8565b505062000d58565b6000806200069a838562000bb3565b905083811015620006f25760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064015b60405180910390fd5b90505b92915050565b3390565b6001600160a01b03821660009081526018602052604090205460ff1615158115151415620007a45760405162461bcd60e51b8152602060048201526044602482018190527f536869626153757368693a204175746f6d61746564206d61726b6574206d616b908201527f6572207061697220697320616c72656164792073657420746f20746861742076606482015263616c756560e01b608482015260a401620006e9565b6001600160a01b0382166000908152601860205260409020805460ff191682158015919091179091556200083b5760095460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a090604401600060405180830381600087803b1580156200082157600080fd5b505af115801562000836573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6005546001600160a01b031690565b6005546001600160a01b03163314620008e25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620006e9565b6001600160a01b03821660009081526016602052604090205460ff1615158115151415620009795760405162461bcd60e51b815260206004820152603660248201527f536869626153757368693a204163636f756e7420697320616c7265616479207460448201527f68652076616c7565206f6620276578636c7564656427000000000000000000006064820152608401620006e9565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6001600160a01b03821662000a305760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620006e9565b62000a4c816002546200068b60201b620023771790919060201c565b6002556001600160a01b0382166000908152602081815260409091205462000a7f918390620023776200068b821b17901c565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b82805462000ae29062000d05565b90600052602060002090601f01602090048101928262000b06576000855562000b51565b82601f1062000b2157805160ff191683800117855562000b51565b8280016001018555821562000b51579182015b8281111562000b5157825182559160200191906001019062000b34565b5062000b5f92915062000b71565b5090565b6122a98062004db083390190565b5b8082111562000b5f576000815560010162000b72565b60006020828403121562000b9b57600080fd5b81516001600160a01b0381168114620006f257600080fd5b6000821982111562000bc95762000bc962000d42565b500190565b600181815b8085111562000c0f57816000190482111562000bf35762000bf362000d42565b8085161562000c0157918102915b93841c939080029062000bd3565b509250929050565b600062000c2860ff84168362000c2f565b9392505050565b60008262000c4057506001620006f5565b8162000c4f57506000620006f5565b816001811462000c68576002811462000c735762000c93565b6001915050620006f5565b60ff84111562000c875762000c8762000d42565b50506001821b620006f5565b5060208310610133831016604e8410600b841016171562000cb8575081810a620006f5565b62000cc4838362000bce565b806000190482111562000cdb5762000cdb62000d42565b029392505050565b600081600019048311821515161562000d005762000d0062000d42565b500290565b600181811c9082168062000d1a57607f821691505b6020821081141562000d3c57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60805160601c61402462000d8c60003960008181610640015281816130db0152818161318c01526137b801526140246000f3fe6080604052600436106103f35760003560e01c80638da5cb5b11610208578063c024666811610118578063e594707e116100ab578063ec28438a1161007a578063ec28438a14610c26578063f27fd25414610c46578063f2fde38b14610c66578063f887ea4014610c86578063fce589d814610ca657600080fd5b8063e594707e14610bb1578063e5dfa9c514610bd1578063e7841ec014610bf1578063e98030c714610c0657600080fd5b8063d4698016116100e7578063d469801614610b15578063dd62ed3e14610b35578063e01af92c14610b7b578063e2f4560514610b9b57600080fd5b8063c024666814610a9f578063c492f04614610abf578063c851cc3214610adf578063cb44117314610aff57600080fd5b8063a8aa1b311161019b578063afa4f3b21161016a578063afa4f3b214610a02578063b62496f514610a22578063bbde77c114610a52578063bd27672a14610a68578063beba565d14610a7e57600080fd5b8063a8aa1b311461093d578063a8b9d2401461095d578063a9059cbb1461097d578063ad56c13c1461099d57600080fd5b80639c1b8af5116101d75780639c1b8af5146108d25780639e69c7ae146108e8578063a26579ad14610908578063a457c2d71461091d57600080fd5b80638da5cb5b1461086957806395d89b411461088757806398118cb41461089c5780639a7a23d6146108b257600080fd5b80634df4e6b9116103035780636ddd17131161029657806375f0a8741161026557806375f0a874146107dd57806385141a77146107fd578063871c128d1461081357806388bdd9be146108335780638c0b5e221461085357600080fd5b80636ddd171314610751578063700bb1911461077257806370a0823114610792578063715018a6146107c857600080fd5b806364b0f653116102d257806364b0f653146106e65780636843cd84146106fb5780636a2bbd291461071b5780636b67c4df1461073b57600080fd5b80634df4e6b9146106625780634e71d92d146106785780634fbee1931461068d5780635d098b38146106c657600080fd5b8063296f0a0c116103865780633490560d116103555780633490560d146105ae57806339509351146105ce5780633a9e00de146105ee578063441b1d301461060e578063484f4ea91461062e57600080fd5b8063296f0a0c146105255780632c1f52161461054557806330bb4cff1461057d578063313ce5671461059257600080fd5b806313114a9d116103c257806313114a9d1461049c57806318160ddd146104c05780631cdd3be3146104d557806323b872dd1461050557600080fd5b80630483f7a0146103ff57806304a66b481461042157806306fdde0314610441578063095ea7b31461046c57600080fd5b366103fa57005b600080fd5b34801561040b57600080fd5b5061041f61041a3660046138fd565b610cbc565b005b34801561042d57600080fd5b5061041f61043c366004613ae1565b610d56565b34801561044d57600080fd5b50610456610e29565b6040516104639190613c09565b60405180910390f35b34801561047857600080fd5b5061048c610487366004613995565b610ebb565b6040519015158152602001610463565b3480156104a857600080fd5b506104b260125481565b604051908152602001610463565b3480156104cc57600080fd5b506002546104b2565b3480156104e157600080fd5b5061048c6104f0366004613849565b60176020526000908152604090205460ff1681565b34801561051157600080fd5b5061048c6105203660046138bc565b610ed2565b34801561053157600080fd5b5061041f610540366004613849565b610f3b565b34801561055157600080fd5b50600954610565906001600160a01b031681565b6040516001600160a01b039091168152602001610463565b34801561058957600080fd5b506104b2610f87565b34801561059e57600080fd5b5060405160098152602001610463565b3480156105ba57600080fd5b5061041f6105c9366004613995565b611009565b3480156105da57600080fd5b5061048c6105e9366004613995565b6110b8565b3480156105fa57600080fd5b5061041f610609366004613a81565b6110ee565b34801561061a57600080fd5b5061041f610629366004613a81565b611134565b34801561063a57600080fd5b506105657f000000000000000000000000000000000000000000000000000000000000000081565b34801561066e57600080fd5b506104b2600d5481565b34801561068457600080fd5b5061041f6111d2565b34801561069957600080fd5b5061048c6106a8366004613849565b6001600160a01b031660009081526016602052604090205460ff1690565b3480156106d257600080fd5b5061041f6106e1366004613849565b61125a565b3480156106f257600080fd5b506104b26112a6565b34801561070757600080fd5b506104b2610716366004613849565b6112eb565b34801561072757600080fd5b5061041f610736366004613a47565b61136a565b34801561074757600080fd5b506104b2600e5481565b34801561075d57600080fd5b5060075461048c90600160a81b900460ff1681565b34801561077e57600080fd5b5061041f61078d366004613a81565b6113b2565b34801561079e57600080fd5b506104b26107ad366004613849565b6001600160a01b031660009081526020819052604090205490565b3480156107d457600080fd5b5061041f611493565b3480156107e957600080fd5b50601354610565906001600160a01b031681565b34801561080957600080fd5b5061056561dead81565b34801561081f57600080fd5b5061041f61082e366004613a81565b611507565b34801561083f57600080fd5b5061041f61084e366004613849565b611666565b34801561085f57600080fd5b506104b2600c5481565b34801561087557600080fd5b506005546001600160a01b0316610565565b34801561089357600080fd5b50610456611a21565b3480156108a857600080fd5b506104b2600f5481565b3480156108be57600080fd5b5061041f6108cd3660046138fd565b611a30565b3480156108de57600080fd5b506104b260155481565b3480156108f457600080fd5b5061041f610903366004613a81565b611a64565b34801561091457600080fd5b506104b2611b0f565b34801561092957600080fd5b5061048c610938366004613995565b611b54565b34801561094957600080fd5b50600754610565906001600160a01b031681565b34801561096957600080fd5b506104b2610978366004613849565b611ba3565b34801561098957600080fd5b5061048c610998366004613995565b611bd6565b3480156109a957600080fd5b506109bd6109b8366004613849565b611be3565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610463565b348015610a0e57600080fd5b5061041f610a1d366004613a81565b611c8d565b348015610a2e57600080fd5b5061048c610a3d366004613849565b60186020526000908152604090205460ff1681565b348015610a5e57600080fd5b506104b2600b5481565b348015610a7457600080fd5b506104b260085481565b348015610a8a57600080fd5b5060075461048c90600160b01b900460ff1681565b348015610aab57600080fd5b5061041f610aba3660046138fd565b611cd3565b348015610acb57600080fd5b5061041f610ada3660046139c1565b611dea565b348015610aeb57600080fd5b5061041f610afa366004613849565b611ec6565b348015610b0b57600080fd5b506104b260115481565b348015610b2157600080fd5b50601454610565906001600160a01b031681565b348015610b4157600080fd5b506104b2610b50366004613883565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b348015610b8757600080fd5b5061041f610b96366004613a47565b611fc3565b348015610ba757600080fd5b506104b2600a5481565b348015610bbd57600080fd5b5061041f610bcc3660046138fd565b61200b565b348015610bdd57600080fd5b5061041f610bec366004613a81565b6120c3565b348015610bfd57600080fd5b506104b2612105565b348015610c1257600080fd5b5061041f610c21366004613a81565b61214a565b348015610c3257600080fd5b5061041f610c41366004613a81565b6121a5565b348015610c5257600080fd5b506109bd610c61366004613a81565b61224a565b348015610c7257600080fd5b5061041f610c81366004613849565b61228c565b348015610c9257600080fd5b50600654610565906001600160a01b031681565b348015610cb257600080fd5b506104b260105481565b6005546001600160a01b03163314610cef5760405162461bcd60e51b8152600401610ce690613ca1565b60405180910390fd5b60095460405162241fbd60e51b81526001600160a01b0390911690630483f7a090610d209085908590600401613b60565b600060405180830381600087803b158015610d3a57600080fd5b505af1158015610d4e573d6000803e3d6000fd5b505050505050565b6005546001600160a01b03163314610d805760405162461bcd60e51b8152600401610ce690613ca1565b60238284610d8e8789613d78565b610d989190613d78565b610da29190613d78565b1115610de65760405162461bcd60e51b815260206004820152601360248201527246656573206d757374206265203c3d2033352560681b6044820152606401610ce6565b600d859055600e849055600f839055601182905560108190558183610e0b8688613d78565b610e159190613d78565b610e1f9190613d78565b6012555050505050565b606060038054610e3890613ed6565b80601f0160208091040260200160405190810160405280929190818152602001828054610e6490613ed6565b8015610eb15780601f10610e8657610100808354040283529160200191610eb1565b820191906000526020600020905b815481529060010190602001808311610e9457829003601f168201915b5050505050905090565b6000610ec83384846123dd565b5060015b92915050565b6000610edf848484612502565b610f318433610f2c85604051806060016040528060288152602001613fa2602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190612bc9565b6123dd565b5060019392505050565b6005546001600160a01b03163314610f655760405162461bcd60e51b8152600401610ce690613ca1565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b600954604080516342d359d760e11b815290516000926001600160a01b0316916385a6b3ae916004808301926020929190829003018186803b158015610fcc57600080fd5b505afa158015610fe0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110049190613a9a565b905090565b6005546001600160a01b031633146110335760405162461bcd60e51b8152600401610ce690613ca1565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb90604401602060405180830381600087803b15801561107b57600080fd5b505af115801561108f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b39190613a64565b505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610ec8918590610f2c9086612377565b6005546001600160a01b031633146111185760405162461bcd60e51b8152600401610ce690613ca1565b6111246009600a613df5565b61112e9082613ea0565b600b5550565b6005546001600160a01b0316331461115e5760405162461bcd60e51b8152600401610ce690613ca1565b804710156111a15760405162461bcd60e51b815260206004820152601060248201526f24b739bab33334b1b4b2b73a1021272160811b6044820152606401610ce6565b604051339082156108fc029083906000818181858888f193505050501580156111ce573d6000803e3d6000fd5b5050565b60095460405163bc4c4b3760e01b81526001600160a01b039091169063bc4c4b3790611205903390600090600401613b60565b602060405180830381600087803b15801561121f57600080fd5b505af1158015611233573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112579190613a64565b50565b6005546001600160a01b031633146112845760405162461bcd60e51b8152600401610ce690613ca1565b601380546001600160a01b0319166001600160a01b0392909216919091179055565b600954604080516304ddf6ef60e11b815290516000926001600160a01b0316916309bbedde916004808301926020929190829003018186803b158015610fcc57600080fd5b6009546040516370a0823160e01b81526001600160a01b03838116600483015260009216906370a08231906024015b60206040518083038186803b15801561133257600080fd5b505afa158015611346573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ecc9190613a9a565b6005546001600160a01b031633146113945760405162461bcd60e51b8152600401610ce690613ca1565b60078054911515600160b01b0260ff60b01b19909216919091179055565b6009546040516001624d3b8760e01b0319815260048101839052600091829182916001600160a01b03169063ffb2c47990602401606060405180830381600087803b15801561140057600080fd5b505af1158015611414573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114389190613ab3565b604080518481526020810184905290810182905260608101889052929550909350915032906000907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b6005546001600160a01b031633146114bd5760405162461bcd60e51b8152600401610ce690613ca1565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b6005546001600160a01b031633146115315760405162461bcd60e51b8152600401610ce690613ca1565b62030d40811015801561154757506207a1208111155b6115bb576040805162461bcd60e51b81526020600482015260248101919091527f536869626153757368693a20676173466f7250726f63657373696e67206d757360448201527f74206265206265747765656e203230302c30303020616e64203530302c3030306064820152608401610ce6565b6015548114156116335760405162461bcd60e51b815260206004820152603860248201527f536869626153757368693a2043616e6e6f742075706461746520676173466f7260448201527f50726f63657373696e6720746f2073616d652076616c756500000000000000006064820152608401610ce6565b60155460405182907f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db790600090a3601555565b6005546001600160a01b031633146116905760405162461bcd60e51b8152600401610ce690613ca1565b6009546001600160a01b03828116911614156117145760405162461bcd60e51b815260206004820152603960248201527f536869626153757368693a20546865206469766964656e6420747261636b657260448201527f20616c72656164792068617320746861742061646472657373000000000000006064820152608401610ce6565b6000819050306001600160a01b0316816001600160a01b0316638da5cb5b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561175c57600080fd5b505afa158015611770573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117949190613866565b6001600160a01b03161461182c5760405162461bcd60e51b815260206004820152605360248201527f536869626153757368693a20546865206e6577206469766964656e642074726160448201527f636b6572206d757374206265206f776e656420627920746865205368696261536064820152721d5cda1a481d1bdad95b8818dbdb9d1c9858dd606a1b608482015260a401610ce6565b60405162241fbd60e51b81526001600160a01b03821690630483f7a09061185a908490600190600401613b60565b600060405180830381600087803b15801561187457600080fd5b505af1158015611888573d6000803e3d6000fd5b505060405162241fbd60e51b81526001600160a01b0384169250630483f7a091506118ba903090600190600401613b60565b600060405180830381600087803b1580156118d457600080fd5b505af11580156118e8573d6000803e3d6000fd5b50505050806001600160a01b0316630483f7a061190d6005546001600160a01b031690565b60016040518363ffffffff1660e01b815260040161192c929190613b60565b600060405180830381600087803b15801561194657600080fd5b505af115801561195a573d6000803e3d6000fd5b505060065460405162241fbd60e51b81526001600160a01b038086169450630483f7a09350611990921690600190600401613b60565b600060405180830381600087803b1580156119aa57600080fd5b505af11580156119be573d6000803e3d6000fd5b50506009546040516001600160a01b03918216935090851691507f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a890600090a3600980546001600160a01b0319166001600160a01b039290921691909117905550565b606060048054610e3890613ed6565b6005546001600160a01b03163314611a5a5760405162461bcd60e51b8152600401610ce690613ca1565b6111ce8282612c03565b6005546001600160a01b03163314611a8e5760405162461bcd60e51b8152600401610ce690613ca1565b6009546001600160a01b031663ad3d88d5611aa7600990565b611ab290600a613df5565b611abc9084613ea0565b6040518263ffffffff1660e01b8152600401611ada91815260200190565b600060405180830381600087803b158015611af457600080fd5b505af1158015611b08573d6000803e3d6000fd5b5050505050565b60095460408051631bc9e27b60e21b815290516000926001600160a01b031691636f2789ec916004808301926020929190829003018186803b158015610fcc57600080fd5b6000610ec83384610f2c85604051806060016040528060258152602001613fca602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190612bc9565b6009546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d2409060240161131a565b6000610ec8338484612502565b60095460405163fbcbc0f160e01b81526001600160a01b038381166004830152600092839283928392839283928392839291169063fbcbc0f1906024015b6101006040518083038186803b158015611c3a57600080fd5b505afa158015611c4e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c72919061392b565b97509750975097509750975097509750919395975091939597565b6005546001600160a01b03163314611cb75760405162461bcd60e51b8152600401610ce690613ca1565b611cc36009600a613df5565b611ccd9082613ea0565b600a5550565b6005546001600160a01b03163314611cfd5760405162461bcd60e51b8152600401610ce690613ca1565b6001600160a01b03821660009081526016602052604090205460ff1615158115151415611d8b5760405162461bcd60e51b815260206004820152603660248201527f536869626153757368693a204163636f756e7420697320616c7265616479207460448201527568652076616c7565206f6620276578636c756465642760501b6064820152608401610ce6565b6001600160a01b038216600081815260166020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6005546001600160a01b03163314611e145760405162461bcd60e51b8152600401610ce690613ca1565b60005b82811015611e85578160166000868685818110611e3657611e36613f42565b9050602002016020810190611e4b9190613849565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611e7d81613f11565b915050611e17565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b35838383604051611eb993929190613b7b565b60405180910390a1505050565b6005546001600160a01b03163314611ef05760405162461bcd60e51b8152600401610ce690613ca1565b6006546001600160a01b0382811691161415611f665760405162461bcd60e51b815260206004820152602f60248201527f536869626153757368693a2054686520726f7574657220616c7265616479206860448201526e61732074686174206164647265737360881b6064820152608401610ce6565b6006546040516001600160a01b03918216918316907f82363979787c1eedf47c4efcd96066e479c68ad1c34ad5035a86ba86b547daeb90600090a3600680546001600160a01b0319166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611fed5760405162461bcd60e51b8152600401610ce690613ca1565b60078054911515600160a81b0260ff60a81b19909216919091179055565b6005546001600160a01b031633146120355760405162461bcd60e51b8152600401610ce690613ca1565b6001600160a01b03821660009081526017602052604090205460ff16151581151514156120985760405162461bcd60e51b815260206004820152601160248201527015985b1d5948185b1c9958591e481cd95d607a1b6044820152606401610ce6565b6001600160a01b03919091166000908152601760205260409020805460ff1916911515919091179055565b6005546001600160a01b031633146120ed5760405162461bcd60e51b8152600401610ce690613ca1565b6120ff81670de0b6b3a7640000613ea0565b60085550565b6009546040805163039e107b60e61b815290516000926001600160a01b03169163e7841ec0916004808301926020929190829003018186803b158015610fcc57600080fd5b6005546001600160a01b031633146121745760405162461bcd60e51b8152600401610ce690613ca1565b60095460405163e98030c760e01b8152600481018390526001600160a01b039091169063e98030c790602401611ada565b6005546001600160a01b031633146121cf5760405162461bcd60e51b8152600401610ce690613ca1565b6121db6009600a613df5565b6121e89062030d40613ea0565b811161222e5760405162461bcd60e51b8152602060048201526015602482015274416d6f756e74206d757374206265203e203230304d60581b6044820152606401610ce6565b61223a6009600a613df5565b6122449082613ea0565b600c5550565b600954604051635183d6fd60e01b81526004810183905260009182918291829182918291829182916001600160a01b0390911690635183d6fd90602401611c21565b6005546001600160a01b031633146122b65760405162461bcd60e51b8152600401610ce690613ca1565b6001600160a01b03811661231b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610ce6565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806123848385613d78565b9050838110156123d65760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006044820152606401610ce6565b9392505050565b6001600160a01b03831661243f5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610ce6565b6001600160a01b0382166124a05760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610ce6565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b0383166125285760405162461bcd60e51b8152600401610ce690613cd6565b6001600160a01b03821661254e5760405162461bcd60e51b8152600401610ce690613c5e565b6001600160a01b03831660009081526017602052604090205460ff1615801561259057506001600160a01b03821660009081526017602052604090205460ff16155b6125d25760405162461bcd60e51b8152602060048201526013602482015272165bdd48185c9948189b1858dadb1a5cdd1959606a1b6044820152606401610ce6565b6001600160a01b03821660009081526018602052604090205460ff1615801561261457506001600160a01b03831660009081526016602052604090205460ff16155b801561263957506001600160a01b03821660009081526016602052604090205460ff16155b801561265057506001600160a01b03821661dead14155b156126dd57600b546126818261267b856001600160a01b031660009081526020819052604090205490565b90612377565b11156126dd5760405162461bcd60e51b815260206004820152602560248201527f42616c616e636520697320657863656564696e67206d617857616c6c657442616044820152646c616e636560d81b6064820152608401610ce6565b6001600160a01b03831660009081526016602052604090205460ff1615801561271f57506001600160a01b03821660009081526016602052604090205460ff16155b1561277657600c548111156127765760405162461bcd60e51b815260206004820152601f60248201527f416d6f756e7420697320657863656564696e67206d61785478416d6f756e74006044820152606401610ce6565b80612787576110b383836000612d73565b30600090815260208190526040902054600754600160a81b900460ff1680156127ba5750600754600160a01b900460ff16155b80156127df57506001600160a01b03841660009081526018602052604090205460ff16155b801561280457506001600160a01b03841660009081526016602052604090205460ff16155b801561282957506001600160a01b03831660009081526016602052604090205460ff16155b156128f2576001600160a01b038316600090815260186020526040902054479060ff1680156128615750600754600160b01b900460ff165b801561286f57506008548110155b1561287f5761287f600854612e7c565b600a5482108015906128ef576128bb6128b66012546128b0600d546012546128a79190613ebf565b600a5490612eae565b90612f2d565b612f6f565b600d54156128ef5760006128e26012546128b0600d54600a54612eae90919063ffffffff16565b90506128ed816130a7565b505b50505b6007546001600160a01b03851660009081526016602052604090205460ff600160a01b90920482161591168061294057506001600160a01b03841660009081526016602052604090205460ff165b15612949575060005b80156129be5760006103e8601254856129629190613ea0565b61296c9190613d90565b905060006103e8601054866129819190613ea0565b61298b9190613d90565b90506129a18161299b87856132bd565b906132bd565b94506129ae873084612d73565b6129bb8761dead83612d73565b50505b6129c9858585612d73565b6009546001600160a01b031663e30443bc866129fa816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612a4057600080fd5b505af1925050508015612a51575060015b506009546001600160a01b031663e30443bc85612a83816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612ac957600080fd5b505af1925050508015612ada575060015b50600754600160a01b900460ff16611b08576015546009546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c47990602401606060405180830381600087803b158015612b3857600080fd5b505af1925050508015612b68575060408051601f3d908101601f19168201909252612b6591810190613ab3565b60015b612b7157610d4e565b60408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a3505050505050505050565b60008184841115612bed5760405162461bcd60e51b8152600401610ce69190613c09565b506000612bfa8486613ebf565b95945050505050565b6001600160a01b03821660009081526018602052604090205460ff1615158115151415612ca65760405162461bcd60e51b8152602060048201526044602482018190527f536869626153757368693a204175746f6d61746564206d61726b6574206d616b908201527f6572207061697220697320616c72656164792073657420746f20746861742076606482015263616c756560e01b608482015260a401610ce6565b6001600160a01b0382166000908152601860205260409020805460ff19168215801591909117909155612d375760095460405162241fbd60e51b81526001600160a01b0390911690630483f7a090612d049085908590600401613b60565b600060405180830381600087803b158015612d1e57600080fd5b505af1158015612d32573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6001600160a01b038316612d995760405162461bcd60e51b8152600401610ce690613cd6565b6001600160a01b038216612dbf5760405162461bcd60e51b8152600401610ce690613c5e565b612dfc81604051806060016040528060268152602001613f7c602691396001600160a01b0386166000908152602081905260409020549190612bc9565b6001600160a01b038085166000908152602081905260408082209390935590841681522054612e2b9082612377565b6001600160a01b038381166000818152602081815260409182902094909455518481529092918616917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91016124f5565b6007805460ff60a01b1916600160a01b1790558015612e9e57612e9e816132ff565b506007805460ff60a01b19169055565b600082612ebd57506000610ecc565b6000612ec98385613ea0565b905082612ed68583613d90565b146123d65760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b6064820152608401610ce6565b60006123d683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f0000000000008152506134a3565b6007805460ff60a01b1916600160a01b179055601154600e54600f5460009291612f9891613d78565b612fa29190613d78565b612fad906002613ea0565b9050600081600f5484612fc09190613ea0565b612fca9190613d90565b90506000612fd88285613ebf565b905047612fe4826134d1565b6000612ff08247613ebf565b90506000600f54866130029190613ebf565b61300c9083613d90565b90506000600f548261301e9190613ea0565b90508015613030576130308682613604565b600e54600090613041846002613ea0565b61304b9190613ea0565b9050801561308f576013546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561308d573d6000803e3d6000fd5b505b50506007805460ff60a01b1916905550505050505050565b6007805460ff60a01b1916600160a01b1790556130c3816136c0565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561312557600080fd5b505afa158015613139573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061315d9190613a9a565b60095460405163a9059cbb60e01b81526001600160a01b039182166004820152602481018390529192506000917f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb90604401602060405180830381600087803b1580156131d257600080fd5b505af11580156131e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061320a9190613a64565b905080156132ab576009546040516340c2c69d60e01b8152600481018490526001600160a01b03909116906340c2c69d90602401600060405180830381600087803b15801561325857600080fd5b505af115801561326c573d6000803e3d6000fd5b505060408051868152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3935001905060405180910390a15b50506007805460ff60a01b1916905550565b60006123d683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250612bc9565b6040805160028082526060820183526000926020830190803683375050600654604080516315ab88c960e31b815290519394506001600160a01b039091169263ad5c464892506004808301926020929190829003018186803b15801561336457600080fd5b505afa158015613378573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061339c9190613866565b816000815181106133af576133af613f42565b60200260200101906001600160a01b031690816001600160a01b03168152505030816001815181106133e3576133e3613f42565b6001600160a01b0392831660209182029290920101526006541663b6f9de958360008461dead6134154261012c612377565b6040518663ffffffff1660e01b81526004016134349493929190613bd4565b6000604051808303818588803b15801561344d57600080fd5b505af1158015613461573d6000803e3d6000fd5b50505050507f6fd378a9d8b7345c2e5b18229aaf1e39d32b177b501d0a0d26a0a858a23a96248282604051613497929190613d1b565b60405180910390a15050565b600081836134c45760405162461bcd60e51b8152600401610ce69190613c09565b506000612bfa8486613d90565b604080516002808252606082018352600092602083019080368337019050509050308160008151811061350657613506613f42565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561355a57600080fd5b505afa15801561356e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906135929190613866565b816001815181106135a5576135a5613f42565b6001600160a01b0392831660209182029290920101526006546135cb91309116846123dd565b60065460405163791ac94760e01b81526001600160a01b039091169063791ac94790610d20908590600090869030904290600401613d3c565b60065461361c9030906001600160a01b0316846123dd565b60065460145460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c4016060604051808303818588803b15801561368757600080fd5b505af115801561369b573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b089190613ab3565b604080516003808252608082019092526000916020820160608036833701905050905030816000815181106136f7576136f7613f42565b6001600160a01b03928316602091820292909201810191909152600654604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b15801561374b57600080fd5b505afa15801561375f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137839190613866565b8160018151811061379657613796613f42565b60200260200101906001600160a01b031690816001600160a01b0316815250507f0000000000000000000000000000000000000000000000000000000000000000816002815181106137ea576137ea613f42565b6001600160a01b03928316602091820292909201015260065461381091309116846123dd565b600654604051635c11d79560e01b81526001600160a01b0390911690635c11d79590610d20908590600090869030904290600401613d3c565b60006020828403121561385b57600080fd5b81356123d681613f58565b60006020828403121561387857600080fd5b81516123d681613f58565b6000806040838503121561389657600080fd5b82356138a181613f58565b915060208301356138b181613f58565b809150509250929050565b6000806000606084860312156138d157600080fd5b83356138dc81613f58565b925060208401356138ec81613f58565b929592945050506040919091013590565b6000806040838503121561391057600080fd5b823561391b81613f58565b915060208301356138b181613f6d565b600080600080600080600080610100898b03121561394857600080fd5b885161395381613f58565b809850506020890151965060408901519550606089015194506080890151935060a0890151925060c0890151915060e089015190509295985092959890939650565b600080604083850312156139a857600080fd5b82356139b381613f58565b946020939093013593505050565b6000806000604084860312156139d657600080fd5b833567ffffffffffffffff808211156139ee57600080fd5b818601915086601f830112613a0257600080fd5b813581811115613a1157600080fd5b8760208260051b8501011115613a2657600080fd5b60209283019550935050840135613a3c81613f6d565b809150509250925092565b600060208284031215613a5957600080fd5b81356123d681613f6d565b600060208284031215613a7657600080fd5b81516123d681613f6d565b600060208284031215613a9357600080fd5b5035919050565b600060208284031215613aac57600080fd5b5051919050565b600080600060608486031215613ac857600080fd5b8351925060208401519150604084015190509250925092565b600080600080600060a08688031215613af957600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600081518084526020808501945080840160005b83811015613b555781516001600160a01b031687529582019590820190600101613b30565b509495945050505050565b6001600160a01b039290921682521515602082015260400190565b6040808252810183905260008460608301825b86811015613bbe578235613ba181613f58565b6001600160a01b0316825260209283019290910190600101613b8e565b5080925050508215156020830152949350505050565b848152608060208201526000613bed6080830186613b1c565b6001600160a01b03949094166040830152506060015292915050565b600060208083528351808285015260005b81811015613c3657858101830151858201604001528201613c1a565b81811115613c48576000604083870101525b50601f01601f1916929092016040019392505050565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b828152604060208201526000613d346040830184613b1c565b949350505050565b85815284602082015260a060408201526000613d5b60a0830186613b1c565b6001600160a01b0394909416606083015250608001529392505050565b60008219821115613d8b57613d8b613f2c565b500190565b600082613dad57634e487b7160e01b600052601260045260246000fd5b500490565b600181815b80851115613ded578160001904821115613dd357613dd3613f2c565b80851615613de057918102915b93841c9390800290613db7565b509250929050565b60006123d660ff841683600082613e0e57506001610ecc565b81613e1b57506000610ecc565b8160018114613e315760028114613e3b57613e57565b6001915050610ecc565b60ff841115613e4c57613e4c613f2c565b50506001821b610ecc565b5060208310610133831016604e8410600b8410161715613e7a575081810a610ecc565b613e848383613db2565b8060001904821115613e9857613e98613f2c565b029392505050565b6000816000190483118215151615613eba57613eba613f2c565b500290565b600082821015613ed157613ed1613f2c565b500390565b600181811c90821680613eea57607f821691505b60208210811415613f0b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415613f2557613f25613f2c565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b038116811461125757600080fd5b801515811461125757600080fdfe45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220d296e0aaf455724638d67449fb1e3bfe720934a8f92a14e3a711a6830de28fe664736f6c6343000806003360a06040527fe9e7cea3dedca5984780bafc599bd69add087d560000000000000000000000006080523480156200003557600080fd5b50604080518082018252601b8082527f536869626153757368695f4469766964656e645f547261636b657200000000006020808401828152855180870190965292855284015281519192918391839162000092916003916200012a565b508051620000a89060049060208401906200012a565b5050506000620000bd6200012660201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35050610e1060115550680821ab0d44149800006012556200020d565b3390565b8280546200013890620001d0565b90600052602060002090601f0160209004810192826200015c5760008555620001a7565b82601f106200017757805160ff1916838001178555620001a7565b82800160010185558215620001a7579182015b82811115620001a75782518255916020019190600101906200018a565b50620001b5929150620001b9565b5090565b5b80821115620001b55760008155600101620001ba565b600181811c90821680620001e557607f821691505b602082108114156200020757634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c6120766200023360003960008181610325015261188901526120766000f3fe608060405234801561001057600080fd5b50600436106102275760003560e01c8063715018a611610130578063ad3d88d5116100b8578063e7841ec01161007c578063e7841ec01461052e578063e98030c714610536578063f2fde38b14610549578063fbcbc0f11461055c578063ffb2c4791461056f57600080fd5b8063ad3d88d5146104b3578063bc4c4b37146104c6578063be10b614146104d9578063dd62ed3e146104e2578063e30443bc1461051b57600080fd5b806395d89b41116100ff57806395d89b4114610449578063a457c2d714610451578063a8b9d24014610464578063a9059cbb14610477578063aafd847a1461048a57600080fd5b8063715018a61461041457806385a6b3ae1461041c5780638da5cb5b1461042557806391b89fba1461043657600080fd5b8063313ce567116101b35780634e7b827f116101825780634e7b827f1461035f5780635183d6fd146103825780636a474002146103da5780636f2789ec146103e257806370a08231146103eb57600080fd5b8063313ce567146102eb57806339509351146102fa57806340c2c69d1461030d578063484f4ea91461032057600080fd5b806318160ddd116101fa57806318160ddd14610294578063226cfa3d1461029c57806323b872dd146102bc57806327ce0147146102cf5780633009a609146102e257600080fd5b80630483f7a01461022c57806306fdde0314610241578063095ea7b31461025f57806309bbedde14610282575b600080fd5b61023f61023a366004611c8f565b61059d565b005b61024961074a565b6040516102569190611db2565b60405180910390f35b61027261026d366004611cc8565b6107dc565b6040519015158152602001610256565b600a545b604051908152602001610256565b600254610286565b6102866102aa366004611c55565b60106020526000908152604090205481565b6102726102ca366004611d22565b6107f3565b6102866102dd366004611c55565b61085c565b610286600e5481565b60405160098152602001610256565b610272610308366004611cc8565b6108b8565b61023f61031b366004611d99565b6108ee565b6103477f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610256565b61027261036d366004611c55565b600f6020526000908152604090205460ff1681565b610395610390366004611d99565b6109ac565b604080516001600160a01b0390991689526020890197909752958701949094526060860192909252608085015260a084015260c083015260e082015261010001610256565b61023f610b1e565b61028660115481565b6102866103f9366004611c55565b6001600160a01b031660009081526020819052604090205490565b61023f610bcc565b61028660095481565b6005546001600160a01b0316610347565b610286610444366004611c55565b610c40565b610249610c4b565b61027261045f366004611cc8565b610c5a565b610286610472366004611c55565b610ca9565b610272610485366004611cc8565b610cd5565b610286610498366004611c55565b6001600160a01b031660009081526008602052604090205490565b61023f6104c1366004611d99565b610ce2565b6102726104d4366004611c8f565b610d11565b61028660125481565b6102866104f0366004611cf4565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b61023f610529366004611cc8565b610dbf565b600e54610286565b61023f610544366004611d99565b610f2d565b61023f610557366004611c55565b6110ad565b61039561056a366004611c55565b611198565b61058261057d366004611d99565b611310565b60408051938452602084019290925290820152606001610256565b6005546001600160a01b031633146105d05760405162461bcd60e51b81526004016105c790611e07565b60405180910390fd5b6001600160a01b0382166000908152600f602052604090205460ff16151581151514156105fc57600080fd5b6001600160a01b0382166000908152600f60205260409020805460ff1916821515908117909155600114156106ad5761063682600061142b565b60405163131836e760e21b8152600a60048201526001600160a01b03831660248201527366fdcd2ede4c04c8088dbc2f3b462edb38fdb4fc90634c60db9c906044015b60006040518083038186803b15801561069157600080fd5b505af41580156106a5573d6000803e3d6000fd5b505050505050565b6106d5826106d0846001600160a01b031660009081526020819052604090205490565b61142b565b7366fdcd2ede4c04c8088dbc2f3b462edb38fdb4fc63bc2b405c600a84610711816001600160a01b031660009081526020819052604090205490565b6040516001600160e01b031960e086901b16815260048101939093526001600160a01b0390911660248301526044820152606401610679565b60606003805461075990611f2c565b80601f016020809104026020016040519081016040528092919081815260200182805461078590611f2c565b80156107d25780601f106107a7576101008083540402835291602001916107d2565b820191906000526020600020905b8154815290600101906020018083116107b557829003601f168201915b5050505050905090565b60006107e933848461148a565b5060015b92915050565b60006108008484846115ae565b610852843361084d85604051806060016040528060288152602001611ff4602891396001600160a01b038a1660009081526001602090815260408083203384529091529020549190611610565b61148a565b5060019392505050565b6001600160a01b03811660009081526007602090815260408083205491839052822054600654600160801b926108ae926108a9926108a39161089e919061164a565b6116d0565b906116e0565b61171e565b6107ed9190611e95565b3360008181526001602090815260408083206001600160a01b038716845290915281205490916107e991859061084d9086611731565b6005546001600160a01b031633146109185760405162461bcd60e51b81526004016105c790611e07565b600061092360025490565b1161092d57600080fd5b80156109a95761096061093f60025490565b61094d83600160801b61164a565b6109579190611e95565b60065490611731565b60065560405181815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a26009546109a59082611731565b6009555b50565b600080600080600080600080600a7366fdcd2ede4c04c8088dbc2f3b462edb38fdb4fc63deb3d89690916040518263ffffffff1660e01b81526004016109f491815260200190565b60206040518083038186803b158015610a0c57600080fd5b505af4158015610a20573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a449190611d80565b8910610a69575060009650600019955085945086935083925082915081905080610b13565b6040516368d54f3f60e11b8152600a6004820152602481018a90526000907366fdcd2ede4c04c8088dbc2f3b462edb38fdb4fc9063d1aa9e7e9060440160206040518083038186803b158015610abe57600080fd5b505af4158015610ad2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af69190611c72565b9050610b0181611198565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260206004820152607160248201527f536869626153757368695f4469766964656e645f547261636b65723a2077697460448201527f68647261774469766964656e642064697361626c65642e20557365207468652060648201527f27636c61696d272066756e6374696f6e206f6e20746865206d61696e205368696084820152703130a9bab9b4349031b7b73a3930b1ba1760791b60a482015260c4016105c7565b6005546001600160a01b03163314610bf65760405162461bcd60e51b81526004016105c790611e07565b6005546040516000916001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600580546001600160a01b0319169055565b60006107ed82610ca9565b60606004805461075990611f2c565b60006107e9338461084d8560405180606001604052806025815260200161201c602591393360009081526001602090815260408083206001600160a01b038d1684529091529020549190611610565b6001600160a01b0381166000908152600860205260408120546107ed90610ccf8461085c565b90611790565b60006107e93384846115ae565b6005546001600160a01b03163314610d0c5760405162461bcd60e51b81526004016105c790611e07565b601255565b6005546000906001600160a01b03163314610d3e5760405162461bcd60e51b81526004016105c790611e07565b6000610d49846117d2565b90508015610db5576001600160a01b038416600081815260106020526040908190204290555184151591907fa2c38e2d2fb7e3e1912d937fd1ca11ed6d51864dee4cfa7a7bf02becd7acf09290610da39085815260200190565b60405180910390a360019150506107ed565b5060009392505050565b6005546001600160a01b03163314610de95760405162461bcd60e51b81526004016105c790611e07565b6001600160a01b0382166000908152600f602052604090205460ff1615610e0e575050565b6012548110610e9f57610e21828261142b565b604051632f0ad01760e21b8152600a60048201526001600160a01b0383166024820152604481018290527366fdcd2ede4c04c8088dbc2f3b462edb38fdb4fc9063bc2b405c9060640160006040518083038186803b158015610e8257600080fd5b505af4158015610e96573d6000803e3d6000fd5b50505050610f1d565b610eaa82600061142b565b60405163131836e760e21b8152600a60048201526001600160a01b03831660248201527366fdcd2ede4c04c8088dbc2f3b462edb38fdb4fc90634c60db9c9060440160006040518083038186803b158015610f0457600080fd5b505af4158015610f18573d6000803e3d6000fd5b505050505b610f28826001610d11565b505050565b6005546001600160a01b03163314610f575760405162461bcd60e51b81526004016105c790611e07565b610e108110158015610f6c5750620151808111155b610ff75760405162461bcd60e51b815260206004820152605060248201527f536869626153757368695f4469766964656e645f547261636b65723a20636c6160448201527f696d57616974206d757374206265207570646174656420746f2062657477656560648201526f6e203120616e6420323420686f75727360801b608482015260a4016105c7565b60115481141561107a5760405162461bcd60e51b815260206004820152604260248201527f536869626153757368695f4469766964656e645f547261636b65723a2043616e60448201527f6e6f742075706461746520636c61696d5761697420746f2073616d652076616c606482015261756560f01b608482015260a4016105c7565b60115460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601155565b6005546001600160a01b031633146110d75760405162461bcd60e51b81526004016105c790611e07565b6001600160a01b03811661113c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105c7565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6040516317e142d160e01b8152600a60048201526001600160a01b038216602482015281906000908190819081908190819081907366fdcd2ede4c04c8088dbc2f3b462edb38fdb4fc906317e142d19060440160206040518083038186803b15801561120357600080fd5b505af4158015611217573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061123b9190611d80565b965060001995506000871261129d57600e5487111561126957600e54611262908890611966565b955061129d565b600e54600a546000911061127e57600061128d565b600e54600a5461128d91611790565b905061129988826116e0565b9650505b6112a688610ca9565b94506112b18861085c565b6001600160a01b0389166000908152601060205260409020549094509250826112db5760006112e9565b6011546112e9908490611731565b91504282116112f9576000611303565b6113038242611790565b9050919395975091939597565b600a546000908190819080611330575050600e5460009250829150611424565b600e546000805a90506000805b898410801561134b57508582105b15611413578461135a81611f67565b600a549096508610905061136d57600094505b6000600a600001868154811061138557611385611f98565b60009182526020808320909101546001600160a01b031680835260109091526040909120549091506113b6906119a3565b156113d9576113c6816001610d11565b156113d957816113d581611f67565b9250505b826113e381611f67565b93505060005a90508085111561140a576114076114008683611790565b8790611731565b95505b935061133d9050565b600e85905590975095509193505050505b9193909250565b6001600160a01b0382166000908152602081905260409020548082111561146a5760006114588383611790565b905061146484826119ca565b50505050565b80821015610f2857600061147e8284611790565b90506114648482611a2e565b6001600160a01b0383166114ec5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105c7565b6001600160a01b03821661154d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105c7565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b60405162461bcd60e51b815260206004820152603160248201527f536869626153757368695f4469766964656e645f547261636b65723a204e6f206044820152701d1c985b9cd9995c9cc8185b1b1bddd959607a1b60648201526084016105c7565b600081848411156116345760405162461bcd60e51b81526004016105c79190611db2565b5060006116418486611f15565b95945050505050565b600082611659575060006107ed565b60006116658385611eb7565b9050826116728583611e95565b146116c95760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b60648201526084016105c7565b9392505050565b600081818112156107ed57600080fd5b6000806116ed8385611e3c565b9050600083121580156117005750838112155b80611715575060008312801561171557508381125b6116c957600080fd5b60008082121561172d57600080fd5b5090565b60008061173e8385611e7d565b9050838110156116c95760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f77000000000060448201526064016105c7565b60006116c983836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611610565b6000806117de83610ca9565b9050801561195d576001600160a01b0383166000908152600860205260409020546118099082611731565b6001600160a01b038416600081815260086020526040908190209290925590517fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d906118589084815260200190565b60405180910390a260405163a9059cbb60e01b81526001600160a01b038481166004830152602482018390526000917f00000000000000000000000000000000000000000000000000000000000000009091169063a9059cbb90604401602060405180830381600087803b1580156118cf57600080fd5b505af11580156118e3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119079190611d63565b905080611956576001600160a01b0384166000908152600860205260409020546119319083611790565b6001600160a01b03909416600090815260086020526040812094909455509192915050565b5092915050565b50600092915050565b6000806119738385611ed6565b9050600083121580156119865750838113155b80611715575060008312801561171557508381136116c957600080fd5b6000428211156119b557506000919050565b6011546119c24284611790565b101592915050565b6119d48282611a72565b611a0e6119ef61089e8360065461164a90919063ffffffff16565b6001600160a01b03841660009081526007602052604090205490611966565b6001600160a01b0390921660009081526007602052604090209190915550565b611a388282611b51565b611a0e611a5361089e8360065461164a90919063ffffffff16565b6001600160a01b038416600090815260076020526040902054906116e0565b6001600160a01b038216611ac85760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105c7565b600254611ad59082611731565b6002556001600160a01b038216600090815260208190526040902054611afb9082611731565b6001600160a01b038316600081815260208181526040808320949094559251848152919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91015b60405180910390a35050565b6001600160a01b038216611bb15760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105c7565b611bee81604051806060016040528060228152602001611fd2602291396001600160a01b0385166000908152602081905260409020549190611610565b6001600160a01b038316600090815260208190526040902055600254611c149082611790565b6002556040518181526000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611b45565b600060208284031215611c6757600080fd5b81356116c981611fae565b600060208284031215611c8457600080fd5b81516116c981611fae565b60008060408385031215611ca257600080fd5b8235611cad81611fae565b91506020830135611cbd81611fc3565b809150509250929050565b60008060408385031215611cdb57600080fd5b8235611ce681611fae565b946020939093013593505050565b60008060408385031215611d0757600080fd5b8235611d1281611fae565b91506020830135611cbd81611fae565b600080600060608486031215611d3757600080fd5b8335611d4281611fae565b92506020840135611d5281611fae565b929592945050506040919091013590565b600060208284031215611d7557600080fd5b81516116c981611fc3565b600060208284031215611d9257600080fd5b5051919050565b600060208284031215611dab57600080fd5b5035919050565b600060208083528351808285015260005b81811015611ddf57858101830151858201604001528201611dc3565b81811115611df1576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600080821280156001600160ff1b0384900385131615611e5e57611e5e611f82565b600160ff1b8390038412811615611e7757611e77611f82565b50500190565b60008219821115611e9057611e90611f82565b500190565b600082611eb257634e487b7160e01b600052601260045260246000fd5b500490565b6000816000190483118215151615611ed157611ed1611f82565b500290565b60008083128015600160ff1b850184121615611ef457611ef4611f82565b6001600160ff1b0384018313811615611f0f57611f0f611f82565b50500390565b600082821015611f2757611f27611f82565b500390565b600181811c90821680611f4057607f821691505b60208210811415611f6157634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611f7b57611f7b611f82565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6001600160a01b03811681146109a957600080fd5b80151581146109a957600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212207735dfc56aa8e67b0fc639c8c896ae43316bccb1d9e2fc89b47d9bef1188c2ce64736f6c63430008060033

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.