S Price: $0.73739 (-3.28%)

Contract

0x7658Ac6Aa3f57Eb3ffDDd03f2159d4fF0D92C9C8

Overview

S Balance

Sonic LogoSonic LogoSonic Logo0 S

S Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer102703032025-02-26 10:11:185 hrs ago1740564678IN
0x7658Ac6A...F0D92C9C8
0 S0.0095136855
Set Marketing Fe...102499662025-02-26 8:04:187 hrs ago1740557058IN
0x7658Ac6A...F0D92C9C8
0 S0.0018768755
Approve102497782025-02-26 8:03:007 hrs ago1740556980IN
0x7658Ac6A...F0D92C9C8
0 S0.0019056363.89604186
Set Marketing Fe...102466252025-02-26 7:43:028 hrs ago1740555782IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Approve102465462025-02-26 7:42:338 hrs ago1740555753IN
0x7658Ac6A...F0D92C9C8
0 S0.001492450
Approve102463392025-02-26 7:41:178 hrs ago1740555677IN
0x7658Ac6A...F0D92C9C8
0 S0.002346250
Approve102450322025-02-26 7:33:108 hrs ago1740555190IN
0x7658Ac6A...F0D92C9C8
0 S0.0019717766.06051364
Set Marketing Fe...102448152025-02-26 7:32:008 hrs ago1740555120IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Approve102445982025-02-26 7:30:458 hrs ago1740555045IN
0x7658Ac6A...F0D92C9C8
0 S0.001492450
Set Marketing Fe...102444032025-02-26 7:29:378 hrs ago1740554977IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Set Marketing Fe...102442772025-02-26 7:28:538 hrs ago1740554933IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Set Marketing Fe...102440182025-02-26 7:27:168 hrs ago1740554836IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Set Marketing Fe...100531122025-02-25 12:43:2327 hrs ago1740487403IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Approve100529912025-02-25 12:42:4227 hrs ago1740487362IN
0x7658Ac6A...F0D92C9C8
0 S0.002346250
Set Marketing Fe...100525852025-02-25 12:40:0927 hrs ago1740487209IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Set Marketing Fe...100477882025-02-25 12:11:1127 hrs ago1740485471IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Approve100461402025-02-25 12:01:3927 hrs ago1740484899IN
0x7658Ac6A...F0D92C9C8
0 S0.0018769462.934
Set Marketing Fe...100459932025-02-25 12:00:4427 hrs ago1740484844IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Set Marketing Fe...100441672025-02-25 11:50:1728 hrs ago1740484217IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Set Marketing Fe...100410542025-02-25 11:32:0028 hrs ago1740483120IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Set Marketing Fe...100407882025-02-25 11:30:2328 hrs ago1740483023IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Set Marketing Fe...100407252025-02-25 11:30:0228 hrs ago1740483002IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Set Marketing Fe...100406622025-02-25 11:29:3928 hrs ago1740482979IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Set Marketing Fe...100404762025-02-25 11:28:3228 hrs ago1740482912IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
Set Marketing Fe...100403922025-02-25 11:28:0228 hrs ago1740482882IN
0x7658Ac6A...F0D92C9C8
0 S0.0021415355
View all transactions

Latest 7 internal transactions

Parent Transaction Hash Block From To
102502352025-02-26 8:05:547 hrs ago1740557154
0x7658Ac6A...F0D92C9C8
0.02226293 S
102502352025-02-26 8:05:547 hrs ago1740557154
0x7658Ac6A...F0D92C9C8
0.02226293 S
102468662025-02-26 7:44:318 hrs ago1740555871
0x7658Ac6A...F0D92C9C8
0.0141164 S
102468662025-02-26 7:44:318 hrs ago1740555871
0x7658Ac6A...F0D92C9C8
0.0141164 S
100445672025-02-25 11:52:2928 hrs ago1740484349
0x7658Ac6A...F0D92C9C8
0.01617751 S
100445672025-02-25 11:52:2928 hrs ago1740484349
0x7658Ac6A...F0D92C9C8
0.01617751 S
100323302025-02-25 10:39:1129 hrs ago1740479951
0x7658Ac6A...F0D92C9C8
 Contract Creation0 S
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BABYTOKEN

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/proxy/Clones.sol";  
import "./deps/IMetroRouter.sol";
import "./deps/IMetroPairFactory.sol";
import "./deps/BaseToken.sol";
import "./BABYTOKENDividendTracker.sol";

contract BABYTOKEN is ERC20, Ownable, BaseToken {
    using SafeMath for uint256;

    uint256 public constant VERSION = 1;

    IRouter public uniswapV2Router;
    address public uniswapV2Pair;

    bool private swapping;

    BABYTOKENDividendTracker public dividendTracker;

    uint256 public swapTokensAtAmount;

    uint256 public tokenRewardsFee;
    uint256 public liquidityFee;
    uint256 public marketingFee;
    uint256 public totalFees;

    address public _marketingWalletAddress;

    uint256 public gasForProcessing;

    // exlcude from fees and max transaction amount
    mapping(address => bool) private _isExcludedFromFees;

    // 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 UpdateUniswapV2Router(
        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 LiquidityWalletUpdated(
        address indexed newLiquidityWallet,
        address indexed oldLiquidityWallet
    );

    event GasForProcessingUpdated(
        uint256 indexed newValue,
        uint256 indexed oldValue
    );

    event SwapAndLiquify(
        uint256 tokensSwapped,
        uint256 ethReceived,
        uint256 tokensIntoLiqudity
    );

    event SendDividends(uint256 tokensSwapped, uint256 amount);

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

    constructor(
        string memory name_,
        string memory symbol_,
        uint256 totalSupply_,
        address[3] memory addrs, // router, marketing wallet, dividendTracker
        uint256[3] memory feeSettings, // rewards, liquidity, marketing
        uint256 minimumTokenBalanceForDividends_
        ) payable ERC20(name_, symbol_) {
        _marketingWalletAddress = addrs[1];
        require(
            msg.sender != _marketingWalletAddress,
            "Owner and marketing wallet cannot be the same"
        );

        tokenRewardsFee = feeSettings[0];
        liquidityFee = feeSettings[1];
        marketingFee = feeSettings[2];
        totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
        require(totalFees <= 50, "Total fee is over 50%");
        swapTokensAtAmount = totalSupply_.mul(10**18).mul(2).div(10**6); // 0.002%

        // use by default 300,000 gas to process auto-claiming dividends
        gasForProcessing = 300000;

        dividendTracker = BABYTOKENDividendTracker(
            payable(Clones.clone(addrs[2]))
        );
        dividendTracker.initialize(
            minimumTokenBalanceForDividends_
        );

        IRouter _uniswapV2Router = IRouter(addrs[0]);
        // Create a uniswap pair for this new token
        address _uniswapV2Pair = IPairFactory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());
        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;
        _setAutomatedMarketMakerPair(_uniswapV2Pair, true);

        // exclude from receiving dividends
        dividendTracker.excludeFromDividends(address(dividendTracker));
        dividendTracker.excludeFromDividends(address(this));
        dividendTracker.excludeFromDividends(owner());
        dividendTracker.excludeFromDividends(address(0xdead));
        dividendTracker.excludeFromDividends(address(_uniswapV2Router));
        dividendTracker.excludeFromDividends(address(_marketingWalletAddress));

        // exclude from paying fees or having max transaction amount
        excludeFromFees(owner(), true);
        excludeFromFees(_marketingWalletAddress, true);
        excludeFromFees(address(this), true);
        /*
            _mint is an internal function in ERC20.sol that is only called here,
            and CANNOT be called ever again
        */
        _mint(owner(), totalSupply_.mul(10**18)); // Multiply by 10^18

        emit TokenCreated(owner(), address(this), TokenType.baby, VERSION);

    }

    receive() external payable {}

    function setSwapTokensAtAmount(uint256 amount) external onlyOwner {
        swapTokensAtAmount = amount;
    }

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

        BABYTOKENDividendTracker newDividendTracker = BABYTOKENDividendTracker(
            payable(newAddress)
        );

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

        newDividendTracker.excludeFromDividends(address(newDividendTracker));
        newDividendTracker.excludeFromDividends(address(this));
        newDividendTracker.excludeFromDividends(owner());
        newDividendTracker.excludeFromDividends(address(uniswapV2Router));

        emit UpdateDividendTracker(newAddress, address(dividendTracker));

        dividendTracker = newDividendTracker;
    }

    function updateUniswapV2Router(address newAddress) public onlyOwner {
        require(
            newAddress != address(uniswapV2Router),
            "BABYTOKEN: The router already has that address"
        );
        emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router));
        uniswapV2Router = IRouter(newAddress);
        address _uniswapV2Pair = IPairFactory(uniswapV2Router.factory())
            .createPair(address(this), uniswapV2Router.WETH());
        uniswapV2Pair = _uniswapV2Pair;
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(
            _isExcludedFromFees[account] != excluded,
            "BABYTOKEN: 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 setMarketingWallet(address payable wallet) external onlyOwner {
        _marketingWalletAddress = wallet;
    }

    function setTokenRewardsFee(uint256 value) external onlyOwner {
        tokenRewardsFee = value;
        totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
        require(totalFees <= 50, "Total fee is over 50%");
    }

    function setLiquidityFee(uint256 value) external onlyOwner {
        liquidityFee = value;
        totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
        require(totalFees <= 50, "Total fee is over 50%");
    }

    function setMarketingFee(uint256 value) external onlyOwner {
        marketingFee = value;
        totalFees = tokenRewardsFee.add(liquidityFee).add(marketingFee);
        require(totalFees <= 50, "Total fee is over 50%");
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(
            pair != uniswapV2Pair,
            "BABYTOKEN: The Metro pair cannot be removed from automatedMarketMakerPairs"
        );

        _setAutomatedMarketMakerPair(pair, value);
    }

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

        if (value) {
            dividendTracker.excludeFromDividends(pair);
        }

        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateGasForProcessing(uint256 newValue) public onlyOwner {
        require(
            newValue >= 200000 && newValue <= 500000,
            "BABYTOKEN: gasForProcessing must be between 200,000 and 500,000"
        );
        require(
            newValue != gasForProcessing,
            "BABYTOKEN: 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 updateMinimumTokenBalanceForDividends(uint256 amount)
        external
        onlyOwner
    {
        dividendTracker.updateMinimumTokenBalanceForDividends(amount);
    }

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

    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 excludeFromDividends(address account) external onlyOwner {
        dividendTracker.excludeFromDividends(account);
    }

    function isExcludedFromDividends(address account)
        public
        view
        returns (bool)
    {
        return dividendTracker.isExcludedFromDividends(account);
    }

    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 getNumberOfDividendTokenHolders() external view returns (uint256) {
        return dividendTracker.getNumberOfTokenHolders();
    }

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

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

        uint256 contractTokenBalance = balanceOf(address(this));

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

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

            uint256 marketingTokens = contractTokenBalance
                .mul(marketingFee)
                .div(totalFees);
            if (marketingTokens > 0) {
            transferFee(marketingTokens);
            }

            uint256 swapTokens = contractTokenBalance.mul(liquidityFee).div(
                totalFees
            );
            if (swapTokens > 0) {
            swapAndLiquify(swapTokens);
            }

            uint256 sellTokens = balanceOf(address(this));
            swapAndSendDividends(sellTokens);

            swapping = false;
        }

        bool takeFee = !swapping;

        // if any account belongs to _isExcludedFromFee account then remove the fee
        if (_isExcludedFromFees[from] || _isExcludedFromFees[to]) {
            takeFee = false;
        }
        
        // if it's a wallet to wallet transfer, don't incur fees
        if (!automatedMarketMakerPairs[from] && !automatedMarketMakerPairs[to]) {
            takeFee = false;
        }

        if (takeFee) {
            uint256 fees = amount.mul(totalFees).div(100);
           /* --- REMOVE AS THIS WILL TAKE AN EXTRA 1% ON SELLS FOR SOME REASON ----
           if (automatedMarketMakerPairs[to]) {
                fees += amount.mul(1).div(100);
            } */
            amount = amount.sub(fees);

            super._transfer(from, address(this), fees);
        }

        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 transferFee(uint256 amount) private {
        _transfer(address(this), _marketingWalletAddress, amount);
    }

    function swapAndLiquify(uint256 tokens) private {
        // split the contract balance into halves
        uint256 half = tokens.div(2);
        uint256 otherHalf = tokens.sub(half);

        // capture the contract's current ETH balance.
        // this is so that we can capture exactly the amount of ETH that the
        // swap creates, and not make the liquidity event include any ETH that
        // has been manually sent to the contract
        uint256 initialBalance = address(this).balance;

        // swap tokens for ETH
        swapTokensForEth(half); // <- this breaks the ETH -> HATE swap when swap+liquify is triggered

        // how much ETH did we just swap into?
        uint256 newBalance = address(this).balance.sub(initialBalance);

        // add liquidity to uniswap
        addLiquidity(otherHalf, newBalance);

        emit SwapAndLiquify(half, newBalance, otherHalf);
    }

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

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

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

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

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

    function swapAndSendDividends(uint256 tokens) private { 
        
        // ✅ Swap tokens for ETH
        swapTokensForEth(tokens);

        // ✅ Get the amount of ETH received
        uint256 dividends = address(this).balance;

        // ✅ Directly call the function & send ETH
        dividendTracker.distributeETHDividends{value: dividends}(dividends);

        // ✅ Emit event
        emit SendDividends(tokens, dividends);
    }


}

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

pragma solidity ^0.8.18;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "./DividendPayingToken.sol";
import "./deps/IterableMapping.sol";


contract BABYTOKENDividendTracker is OwnableUpgradeable, 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
    );

    function initialize(
        uint256 minimumTokenBalanceForDividends_
    ) external initializer {
        DividendPayingToken.__DividendPayingToken_init(
            "DIVIDEND_TRACKER",
            "DIVIDEND_TRACKER"
        );
        claimWait = 300;
        minimumTokenBalanceForDividends = minimumTokenBalanceForDividends_;
    }

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

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

    function excludeFromDividends(address account) external onlyOwner {
        require(!excludedFromDividends[account]);
        excludedFromDividends[account] = true;

        _setBalance(account, 0);
        tokenHoldersMap.remove(account);

        emit ExcludeFromDividends(account);
    }

    function isExcludedFromDividends(address account)
        public
        view
        returns (bool)
    {
        return excludedFromDividends[account];
    }

    function updateClaimWait(uint256 newClaimWait) external onlyOwner {
        require(
            newClaimWait >= 120 && newClaimWait <= 86400,
            "Dividend_Tracker: claimWait must be updated to between 2 mins and 24 hours"
        );
        require(
            newClaimWait != claimWait,
            "Dividend_Tracker: Cannot update claimWait to same value"
        );
        emit ClaimWaitUpdated(newClaimWait, claimWait);
        claimWait = newClaimWait;
    }

    function updateMinimumTokenBalanceForDividends(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 (address(0), -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;
    }
    receive() external payable {}
}

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

pragma solidity ^0.8.18;


enum TokenType {
    standard,
    antiBotStandard,
    liquidityGenerator,
    antiBotLiquidityGenerator,
    baby,
    antiBotBaby,
    buybackBaby,
    antiBotBuybackBaby
}

abstract contract BaseToken {
    event TokenCreated(
        address indexed owner,
        address indexed token,
        TokenType tokenType,
        uint256 version
    );
}

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

pragma solidity ^0.8.20;

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

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

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

pragma solidity ^0.8.20;

interface IRouter {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsIn(uint amountOut, address[] memory path) external view returns (uint[] memory amounts);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);

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

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

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

File 6 of 19 : Clones.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/Clones.sol)

pragma solidity ^0.8.19;

/**
 * @dev https://eips.ethereum.org/EIPS/eip-1167[EIP 1167] is a standard for
 * deploying minimal proxy contracts, also known as "clones".
 *
 * > To simply and cheaply clone contract functionality in an immutable way, this standard specifies
 * > a minimal bytecode implementation that delegates all calls to a known, fixed address.
 *
 * The library includes functions to deploy a proxy using either `create` (traditional deployment) or `create2`
 * (salted deterministic deployment). It also includes functions to predict the addresses of clones deployed using the
 * deterministic method.
 */
library Clones {
    /**
     * @dev A clone instance deployment failed.
     */
    error ERC1167FailedCreateClone();

    /**
     * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
     *
     * This function uses the create opcode, which should never revert.
     */
    function clone(address implementation) internal returns (address instance) {
        /// @solidity memory-safe-assembly
        assembly {
            // Cleans the upper 96 bits of the `implementation` word, then packs the first 3 bytes
            // of the `implementation` address with the bytecode before the address.
            mstore(0x00, or(shr(0xe8, shl(0x60, implementation)), 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000))
            // Packs the remaining 17 bytes of `implementation` with the bytecode after the address.
            mstore(0x20, or(shl(0x78, implementation), 0x5af43d82803e903d91602b57fd5bf3))
            instance := create(0, 0x09, 0x37)
        }
        if (instance == address(0)) {
            revert ERC1167FailedCreateClone();
        }
    }

    /**
     * @dev Deploys and returns the address of a clone that mimics the behaviour of `implementation`.
     *
     * This function uses the create2 opcode and a `salt` to deterministically deploy
     * the clone. Using the same `implementation` and `salt` multiple time will revert, since
     * the clones cannot be deployed twice at the same address.
     */
    function cloneDeterministic(address implementation, bytes32 salt) internal returns (address instance) {
        /// @solidity memory-safe-assembly
        assembly {
            // Cleans the upper 96 bits of the `implementation` word, then packs the first 3 bytes
            // of the `implementation` address with the bytecode before the address.
            mstore(0x00, or(shr(0xe8, shl(0x60, implementation)), 0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000))
            // Packs the remaining 17 bytes of `implementation` with the bytecode after the address.
            mstore(0x20, or(shl(0x78, implementation), 0x5af43d82803e903d91602b57fd5bf3))
            instance := create2(0, 0x09, 0x37, salt)
        }
        if (instance == address(0)) {
            revert ERC1167FailedCreateClone();
        }
    }

    /**
     * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
     */
    function predictDeterministicAddress(
        address implementation,
        bytes32 salt,
        address deployer
    ) internal pure returns (address predicted) {
        /// @solidity memory-safe-assembly
        assembly {
            let ptr := mload(0x40)
            mstore(add(ptr, 0x38), deployer)
            mstore(add(ptr, 0x24), 0x5af43d82803e903d91602b57fd5bf3ff)
            mstore(add(ptr, 0x14), implementation)
            mstore(ptr, 0x3d602d80600a3d3981f3363d3d373d3d3d363d73)
            mstore(add(ptr, 0x58), salt)
            mstore(add(ptr, 0x78), keccak256(add(ptr, 0x0c), 0x37))
            predicted := keccak256(add(ptr, 0x43), 0x55)
        }
    }

    /**
     * @dev Computes the address of a clone deployed using {Clones-cloneDeterministic}.
     */
    function predictDeterministicAddress(
        address implementation,
        bytes32 salt
    ) internal view returns (address predicted) {
        return predictDeterministicAddress(implementation, salt, address(this));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 19 : IterableMapping.sol
pragma solidity ^0.8.19;

// SPDX-License-Identifier: MIT

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

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

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

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

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

    function set(
        Map storage map,
        address key,
        uint256 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];

        uint256 index = map.indexOf[key];
        uint256 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 9 of 19 : DividendPayingToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;


import "@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "./interfaces/DividendPayingTokenInterface.sol";
import "./interfaces/DividendPayingTokenOptionalInterface.sol";
import "./deps/SafeMath.sol";
import "./deps/SafeMathUint.sol";
import "./deps/SafeMathInt.sol";

contract DividendPayingToken is
    ERC20Upgradeable,
    OwnableUpgradeable,
    DividendPayingTokenInterface,
    DividendPayingTokenOptionalInterface
{
    using SafeMath for uint256;
    using SafeMathUint for uint256;
    using SafeMathInt for int256;

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

    uint256 internal 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;

    function __DividendPayingToken_init(
        string memory _name,
        string memory _symbol
    ) internal initializer {
        __Ownable_init();
        __ERC20_init(_name, _symbol);
    }

    function distributeETHDividends(uint256 amount) public payable onlyOwner {
    require(totalSupply() > 0, "No tokens exist for distribution");
    require(msg.value >= amount, "Not enough ETH in contract to distribute");

    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, ) = user.call{value: _withdrawableDividend}(""); // Send ETH

            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 10 of 19 : ERC20Upgradeable.sol
pragma solidity =0.8.20;

// SPDX-License-Identifier: MIT

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @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);
}


// Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20MetadataUpgradeable is IERC20Upgradeable {
    /**
     * @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);
}


// Dependency file: @openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol


// pragma solidity ^0.8.0;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */

 
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }
}



// Dependency file: @openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol


// pragma solidity ^0.8.0;
// import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal initializer {
        __Context_init_unchained();
    }

    function __Context_init_unchained() internal initializer {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
    uint256[50] private __gap;
}

abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal initializer {
        __Context_init_unchained();
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal initializer {
        _setOwner(_msgSender());
    }

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

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

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

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
    uint256[49] private __gap;
}

// Dependency file: @openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol


// pragma solidity ^0.8.0;

// import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

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



// import "@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol";
// import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";

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

    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal initializer {
        _name = name_;
        _symbol = symbol_;
    }

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 12 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 15 of 19 : SafeMathInt.sol
pragma solidity =0.8.20;

// SPDX-License-Identifier: MIT


/**
 * @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 16 of 19 : SafeMathUint.sol
pragma solidity =0.8.20;

// SPDX-License-Identifier: MIT

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

pragma solidity ^0.8.18;

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by 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;
    }

    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

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

pragma solidity ^0.8.18;


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 19 of 19 : DividendPayingTokenInterface.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.18;


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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"},{"internalType":"address[3]","name":"addrs","type":"address[3]"},{"internalType":"uint256[3]","name":"feeSettings","type":"uint256[3]"},{"internalType":"uint256","name":"minimumTokenBalanceForDividends_","type":"uint256"}],"stateMutability":"payable","type":"constructor"},{"inputs":[],"name":"ERC1167FailedCreateClone","type":"error"},{"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":"newLiquidityWallet","type":"address"},{"indexed":true,"internalType":"address","name":"oldLiquidityWallet","type":"address"}],"name":"LiquidityWalletUpdated","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":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"enum TokenType","name":"tokenType","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"version","type":"uint256"}],"name":"TokenCreated","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":"UpdateUniswapV2Router","type":"event"},{"inputs":[],"name":"VERSION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingWalletAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"dividendTokenBalanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract BABYTOKENDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"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":[],"name":"getClaimWait","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMinimumTokenBalanceForDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfDividendTokenHolders","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":"isExcludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"marketingFee","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":[{"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":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setLiquidityFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setMarketingFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"wallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setSwapTokensAtAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setTokenRewardsFee","outputs":[],"stateMutability":"nonpayable","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":"tokenRewardsFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFees","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IRouter","name":"","type":"address"}],"stateMutability":"view","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":"uint256","name":"amount","type":"uint256"}],"name":"updateMinimumTokenBalanceForDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","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"}]

6080604052604051620072543803806200725483398181016040528101906200002991906200164f565b858581600390816200003c919062001955565b5080600490816200004e919062001955565b505050620000716200006562000a6560201b60201c565b62000a6c60201b60201c565b8260016003811062000088576200008762001a39565b5b6020020151600e5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600e5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16036200015e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001559062001aea565b60405180910390fd5b815f6003811062000174576200017362001a39565b5b6020020151600a819055508160016003811062000196576200019562001a39565b5b6020020151600b8190555081600260038110620001b857620001b762001a39565b5b6020020151600c81905550620001f2600c54620001e3600b54600a5462000b2f60201b90919060201c565b62000b2f60201b90919060201c565b600d819055506032600d54111562000241576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002389062001b58565b60405180910390fd5b6200028a620f42406200027b60026200026c670de0b6b3a76400008962000b9160201b90919060201c565b62000b9160201b90919060201c565b62000c1160201b90919060201c565b600981905550620493e0600f81905550620002c683600260038110620002b557620002b462001a39565b5b602002015162000c6260201b60201c565b60085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663fe4b84df826040518263ffffffff1660e01b815260040162000361919062001b89565b5f604051808303815f87803b15801562000379575f80fd5b505af11580156200038c573d5f803e3d5ffd5b505050505f835f60038110620003a757620003a662001a39565b5b602002015190505f8173ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015620003f9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200041f919062001ba4565b73ffffffffffffffffffffffffffffffffffffffff1663c9c65396308473ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000485573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620004ab919062001ba4565b6040518363ffffffff1660e01b8152600401620004ca92919062001be5565b6020604051808303815f875af1158015620004e7573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200050d919062001ba4565b90508160065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620005a281600162000d1060201b60201c565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b81526004016200061f919062001c10565b5f604051808303815f87803b15801562000637575f80fd5b505af11580156200064a573d5f803e3d5ffd5b5050505060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db0306040518263ffffffff1660e01b8152600401620006aa919062001c10565b5f604051808303815f87803b158015620006c2575f80fd5b505af1158015620006d5573d5f803e3d5ffd5b5050505060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db06200072662000ed360201b60201c565b6040518263ffffffff1660e01b815260040162000744919062001c10565b5f604051808303815f87803b1580156200075c575f80fd5b505af11580156200076f573d5f803e3d5ffd5b5050505060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db061dead6040518263ffffffff1660e01b8152600401620007d1919062001c10565b5f604051808303815f87803b158015620007e9575f80fd5b505af1158015620007fc573d5f803e3d5ffd5b5050505060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db0836040518263ffffffff1660e01b81526004016200085c919062001c10565b5f604051808303815f87803b15801562000874575f80fd5b505af115801562000887573d5f803e3d5ffd5b5050505060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db0600e5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b815260040162000908919062001c10565b5f604051808303815f87803b15801562000920575f80fd5b505af115801562000933573d5f803e3d5ffd5b50505050620009596200094b62000ed360201b60201c565b600162000efb60201b60201c565b6200098d600e5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600162000efb60201b60201c565b620009a030600162000efb60201b60201c565b620009dd620009b462000ed360201b60201c565b620009d1670de0b6b3a76400008962000b9160201b90919060201c565b6200104560201b60201c565b3073ffffffffffffffffffffffffffffffffffffffff1662000a0462000ed360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff167f56358b41df5fa59f5639228f0930994cbdde383c8a8fd74e06c04e1deebe35626004600160405162000a4f92919062001ca7565b60405180910390a35050505050505050620021ac565b5f33905090565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b5f80828462000b3f919062001cff565b90508381101562000b87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000b7e9062001d87565b60405180910390fd5b8091505092915050565b5f80830362000ba3575f905062000c0b565b5f828462000bb2919062001da7565b905082848262000bc3919062001e1e565b1462000c06576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000bfd9062001ec9565b60405180910390fd5b809150505b92915050565b5f62000c5a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250620011aa60201b60201c565b905092915050565b5f763d602d80600a3d3981f3363d3d373d3d3d363d730000008260601b60e81c175f526e5af43d82803e903d91602b57fd5bf38260781b17602052603760095ff090505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160362000d0b576040517fc2f868f400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b80151560115f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615150362000da2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000d999062001f83565b60405180910390fd5b8060115f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550801562000e895760085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db0836040518263ffffffff1660e01b815260040162000e59919062001c10565b5f604051808303815f87803b15801562000e71575f80fd5b505af115801562000e84573d5f803e3d5ffd5b505050505b8015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b62000f0b6200121060201b60201c565b80151560105f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1615150362000f9d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000f949062002017565b60405180910390fd5b8060105f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df78260405162001039919062002053565b60405180910390a25050565b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603620010b6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620010ad90620020bc565b60405180910390fd5b620010c95f8383620012a160201b60201c565b8060025f828254620010dc919062001cff565b92505081905550805f808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508173ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516200118b919062001b89565b60405180910390a3620011a65f8383620012a660201b60201c565b5050565b5f8083118290620011f3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620011ea91906200211c565b60405180910390fd5b505f838562001203919062001e1e565b9050809150509392505050565b6200122062000a6560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200124662000ed360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200129f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162001296906200218c565b60405180910390fd5b565b505050565b505050565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b6200130c82620012c4565b810181811067ffffffffffffffff821117156200132e576200132d620012d4565b5b80604052505050565b5f62001342620012ab565b905062001350828262001301565b919050565b5f67ffffffffffffffff821115620013725762001371620012d4565b5b6200137d82620012c4565b9050602081019050919050565b5f5b83811015620013a95780820151818401526020810190506200138c565b5f8484015250505050565b5f620013ca620013c48462001355565b62001337565b905082815260208101848484011115620013e957620013e8620012c0565b5b620013f68482856200138a565b509392505050565b5f82601f830112620014155762001414620012bc565b5b815162001427848260208601620013b4565b91505092915050565b5f819050919050565b620014448162001430565b81146200144f575f80fd5b50565b5f81519050620014628162001439565b92915050565b5f67ffffffffffffffff821115620014855762001484620012d4565b5b602082029050919050565b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f620014bf8262001494565b9050919050565b620014d181620014b3565b8114620014dc575f80fd5b50565b5f81519050620014ef81620014c6565b92915050565b5f6200150b620015058462001468565b62001337565b9050806020840283018581111562001528576200152762001490565b5b835b81811015620015555780620015408882620014df565b8452602084019350506020810190506200152a565b5050509392505050565b5f82601f830112620015765762001575620012bc565b5b600362001585848285620014f5565b91505092915050565b5f67ffffffffffffffff821115620015ab57620015aa620012d4565b5b602082029050919050565b5f620015cc620015c6846200158e565b62001337565b90508060208402830185811115620015e957620015e862001490565b5b835b8181101562001616578062001601888262001452565b845260208401935050602081019050620015eb565b5050509392505050565b5f82601f830112620016375762001636620012bc565b5b600362001646848285620015b6565b91505092915050565b5f805f805f8061014087890312156200166d576200166c620012b4565b5b5f87015167ffffffffffffffff8111156200168d576200168c620012b8565b5b6200169b89828a01620013fe565b965050602087015167ffffffffffffffff811115620016bf57620016be620012b8565b5b620016cd89828a01620013fe565b9550506040620016e089828a0162001452565b9450506060620016f389828a016200155f565b93505060c06200170689828a0162001620565b9250506101206200171a89828a0162001452565b9150509295509295509295565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200177657607f821691505b6020821081036200178c576200178b62001731565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620017f07fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620017b3565b620017fc8683620017b3565b95508019841693508086168417925050509392505050565b5f819050919050565b5f6200183d62001837620018318462001430565b62001814565b62001430565b9050919050565b5f819050919050565b62001858836200181d565b62001870620018678262001844565b848454620017bf565b825550505050565b5f90565b6200188662001878565b620018938184846200184d565b505050565b5b81811015620018ba57620018ae5f826200187c565b60018101905062001899565b5050565b601f8211156200190957620018d38162001792565b620018de84620017a4565b81016020851015620018ee578190505b62001906620018fd85620017a4565b83018262001898565b50505b505050565b5f82821c905092915050565b5f6200192b5f19846008026200190e565b1980831691505092915050565b5f6200194583836200191a565b9150826002028217905092915050565b620019608262001727565b67ffffffffffffffff8111156200197c576200197b620012d4565b5b6200198882546200175e565b62001995828285620018be565b5f60209050601f831160018114620019cb575f8415620019b6578287015190505b620019c2858262001938565b86555062001a31565b601f198416620019db8662001792565b5f5b8281101562001a0457848901518255600182019150602085019450602081019050620019dd565b8683101562001a24578489015162001a20601f8916826200191a565b8355505b6001600288020188555050505b505050505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f82825260208201905092915050565b7f4f776e657220616e64206d61726b6574696e672077616c6c65742063616e6e6f5f8201527f74206265207468652073616d6500000000000000000000000000000000000000602082015250565b5f62001ad2602d8362001a66565b915062001adf8262001a76565b604082019050919050565b5f6020820190508181035f83015262001b038162001ac4565b9050919050565b7f546f74616c20666565206973206f7665722035302500000000000000000000005f82015250565b5f62001b4060158362001a66565b915062001b4d8262001b0a565b602082019050919050565b5f6020820190508181035f83015262001b718162001b32565b9050919050565b62001b838162001430565b82525050565b5f60208201905062001b9e5f83018462001b78565b92915050565b5f6020828403121562001bbc5762001bbb620012b4565b5b5f62001bcb84828501620014df565b91505092915050565b62001bdf81620014b3565b82525050565b5f60408201905062001bfa5f83018562001bd4565b62001c09602083018462001bd4565b9392505050565b5f60208201905062001c255f83018462001bd4565b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602160045260245ffd5b6008811062001c6c5762001c6b62001c2b565b5b50565b5f81905062001c7e8262001c58565b919050565b5f62001c8f8262001c6f565b9050919050565b62001ca18162001c83565b82525050565b5f60408201905062001cbc5f83018562001c96565b62001ccb602083018462001b78565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f62001d0b8262001430565b915062001d188362001430565b925082820190508082111562001d335762001d3262001cd2565b5b92915050565b7f536166654d6174683a206164646974696f6e206f766572666c6f7700000000005f82015250565b5f62001d6f601b8362001a66565b915062001d7c8262001d39565b602082019050919050565b5f6020820190508181035f83015262001da08162001d61565b9050919050565b5f62001db38262001430565b915062001dc08362001430565b925082820262001dd08162001430565b9150828204841483151762001dea5762001de962001cd2565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f62001e2a8262001430565b915062001e378362001430565b92508262001e4a5762001e4962001df1565b5b828204905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f5f8201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b5f62001eb160218362001a66565b915062001ebe8262001e55565b604082019050919050565b5f6020820190508181035f83015262001ee28162001ea3565b9050919050565b7f42414259544f4b454e3a204175746f6d61746564206d61726b6574206d616b655f8201527f72207061697220697320616c72656164792073657420746f207468617420766160208201527f6c75650000000000000000000000000000000000000000000000000000000000604082015250565b5f62001f6b60438362001a66565b915062001f788262001ee9565b606082019050919050565b5f6020820190508181035f83015262001f9c8162001f5d565b9050919050565b7f42414259544f4b454e3a204163636f756e7420697320616c72656164792074685f8201527f652076616c7565206f6620276578636c75646564270000000000000000000000602082015250565b5f62001fff60358362001a66565b91506200200c8262001fa3565b604082019050919050565b5f6020820190508181035f830152620020308162001ff1565b9050919050565b5f8115159050919050565b6200204d8162002037565b82525050565b5f602082019050620020685f83018462002042565b92915050565b7f45524332303a206d696e7420746f20746865207a65726f2061646472657373005f82015250565b5f620020a4601f8362001a66565b9150620020b1826200206e565b602082019050919050565b5f6020820190508181035f830152620020d58162002096565b9050919050565b5f620020e88262001727565b620020f4818562001a66565b9350620021068185602086016200138a565b6200211181620012c4565b840191505092915050565b5f6020820190508181035f830152620021368184620020dc565b905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f6200217460208362001a66565b915062002181826200213e565b602082019050919050565b5f6020820190508181035f830152620021a58162002166565b9050919050565b61509a80620021ba5f395ff3fe6080604052600436106102b1575f3560e01c806370a0823111610174578063a9059cbb116100db578063c705c56911610094578063e708a0f91161006e578063e708a0f914610ab2578063e98030c714610adc578063f2fde38b14610b04578063ffa1ad7414610b2c576102b8565b8063c705c56914610a10578063dd62ed3e14610a4c578063e2f4560514610a88576102b8565b8063a9059cbb146108f6578063afa4f3b214610932578063b62496f51461095a578063bdd4f29f14610996578063c0246668146109c0578063c492f046146109e8576102b8565b806398118cb41161012d57806398118cb4146107d85780639a7a23d6146108025780639c1b8af51461082a578063a26579ad14610854578063a457c2d71461087e578063a8b9d240146108ba576102b8565b806370a08231146106e2578063715018a61461071e578063871c128d1461073457806388bdd9be1461075c5780638da5cb5b1461078457806395d89b41146107ae576102b8565b80634144d9e411610218578063625e764c116101d1578063625e764c146105da57806364b0f6531461060257806365b8dbc01461062c5780636843cd84146106545780636b67c4df14610690578063700bb191146106ba576102b8565b80634144d9e4146104e457806349bd5a5e1461050e5780634e71d92d146105385780634ed080c71461054e5780634fbee193146105765780635d098b38146105b2576102b8565b806323b872dd1161026a57806323b872dd146103c85780632c1f521614610404578063313ce5671461042e57806331e79db014610458578063357bf15c1461048057806339509351146104a8576102b8565b806306fdde03146102bc578063095ea7b3146102e65780630dcb2e891461032257806313114a9d1461034a5780631694505e1461037457806318160ddd1461039e576102b8565b366102b857005b5f80fd5b3480156102c7575f80fd5b506102d0610b56565b6040516102dd91906139de565b60405180910390f35b3480156102f1575f80fd5b5061030c60048036038101906103079190613a93565b610be6565b6040516103199190613aeb565b60405180910390f35b34801561032d575f80fd5b5061034860048036038101906103439190613b04565b610c08565b005b348015610355575f80fd5b5061035e610c9a565b60405161036b9190613b3e565b60405180910390f35b34801561037f575f80fd5b50610388610ca0565b6040516103959190613bb2565b60405180910390f35b3480156103a9575f80fd5b506103b2610cc5565b6040516103bf9190613b3e565b60405180910390f35b3480156103d3575f80fd5b506103ee60048036038101906103e99190613bcb565b610cce565b6040516103fb9190613aeb565b60405180910390f35b34801561040f575f80fd5b50610418610cfc565b6040516104259190613c4c565b60405180910390f35b348015610439575f80fd5b50610442610d21565b60405161044f9190613c80565b60405180910390f35b348015610463575f80fd5b5061047e60048036038101906104799190613c99565b610d29565b005b34801561048b575f80fd5b506104a660048036038101906104a19190613b04565b610dbb565b005b3480156104b3575f80fd5b506104ce60048036038101906104c99190613a93565b610e44565b6040516104db9190613aeb565b60405180910390f35b3480156104ef575f80fd5b506104f8610e7a565b6040516105059190613cd3565b60405180910390f35b348015610519575f80fd5b50610522610e9f565b60405161052f9190613cd3565b60405180910390f35b348015610543575f80fd5b5061054c610ec4565b005b348015610559575f80fd5b50610574600480360381019061056f9190613b04565b610f63565b005b348015610581575f80fd5b5061059c60048036038101906105979190613c99565b610fec565b6040516105a99190613aeb565b60405180910390f35b3480156105bd575f80fd5b506105d860048036038101906105d39190613d27565b61103e565b005b3480156105e5575f80fd5b5061060060048036038101906105fb9190613b04565b611089565b005b34801561060d575f80fd5b50610616611112565b6040516106239190613b3e565b60405180910390f35b348015610637575f80fd5b50610652600480360381019061064d9190613c99565b6111a6565b005b34801561065f575f80fd5b5061067a60048036038101906106759190613c99565b6114d4565b6040516106879190613b3e565b60405180910390f35b34801561069b575f80fd5b506106a4611575565b6040516106b19190613b3e565b60405180910390f35b3480156106c5575f80fd5b506106e060048036038101906106db9190613b04565b61157b565b005b3480156106ed575f80fd5b5061070860048036038101906107039190613c99565b61167b565b6040516107159190613b3e565b60405180910390f35b348015610729575f80fd5b506107326116c0565b005b34801561073f575f80fd5b5061075a60048036038101906107559190613b04565b6116d3565b005b348015610767575f80fd5b50610782600480360381019061077d9190613c99565b6117ae565b005b34801561078f575f80fd5b50610798611ba2565b6040516107a59190613cd3565b60405180910390f35b3480156107b9575f80fd5b506107c2611bca565b6040516107cf91906139de565b60405180910390f35b3480156107e3575f80fd5b506107ec611c5a565b6040516107f99190613b3e565b60405180910390f35b34801561080d575f80fd5b5061082860048036038101906108239190613d7c565b611c60565b005b348015610835575f80fd5b5061083e611d05565b60405161084b9190613b3e565b60405180910390f35b34801561085f575f80fd5b50610868611d0b565b6040516108759190613b3e565b60405180910390f35b348015610889575f80fd5b506108a4600480360381019061089f9190613a93565b611d9f565b6040516108b19190613aeb565b60405180910390f35b3480156108c5575f80fd5b506108e060048036038101906108db9190613c99565b611e14565b6040516108ed9190613b3e565b60405180910390f35b348015610901575f80fd5b5061091c60048036038101906109179190613a93565b611eb5565b6040516109299190613aeb565b60405180910390f35b34801561093d575f80fd5b5061095860048036038101906109539190613b04565b611ed7565b005b348015610965575f80fd5b50610980600480360381019061097b9190613c99565b611ee9565b60405161098d9190613aeb565b60405180910390f35b3480156109a1575f80fd5b506109aa611f06565b6040516109b79190613b3e565b60405180910390f35b3480156109cb575f80fd5b506109e660048036038101906109e19190613d7c565b611f9a565b005b3480156109f3575f80fd5b50610a0e6004803603810190610a099190613e1b565b6120d7565b005b348015610a1b575f80fd5b50610a366004803603810190610a319190613c99565b6121bb565b604051610a439190613aeb565b60405180910390f35b348015610a57575f80fd5b50610a726004803603810190610a6d9190613e78565b61225c565b604051610a7f9190613b3e565b60405180910390f35b348015610a93575f80fd5b50610a9c6122de565b604051610aa99190613b3e565b60405180910390f35b348015610abd575f80fd5b50610ac66122e4565b604051610ad39190613b3e565b60405180910390f35b348015610ae7575f80fd5b50610b026004803603810190610afd9190613b04565b6122ea565b005b348015610b0f575f80fd5b50610b2a6004803603810190610b259190613c99565b61237c565b005b348015610b37575f80fd5b50610b406123fe565b604051610b4d9190613b3e565b60405180910390f35b606060038054610b6590613ee3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9190613ee3565b8015610bdc5780601f10610bb357610100808354040283529160200191610bdc565b820191905f5260205f20905b815481529060010190602001808311610bbf57829003601f168201915b5050505050905090565b5f80610bf0612403565b9050610bfd81858561240a565b600191505092915050565b610c106125cd565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630dcb2e89826040518263ffffffff1660e01b8152600401610c6a9190613b3e565b5f604051808303815f87803b158015610c81575f80fd5b505af1158015610c93573d5f803e3d5ffd5b5050505050565b600d5481565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f600254905090565b5f80610cd8612403565b9050610ce585828561264b565b610cf08585856126d6565b60019150509392505050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f6012905090565b610d316125cd565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db0826040518263ffffffff1660e01b8152600401610d8b9190613cd3565b5f604051808303815f87803b158015610da2575f80fd5b505af1158015610db4573d5f803e3d5ffd5b5050505050565b610dc36125cd565b80600b81905550610df5600c54610de7600b54600a54612d8a90919063ffffffff16565b612d8a90919063ffffffff16565b600d819055506032600d541115610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890613f5d565b60405180910390fd5b50565b5f80610e4e612403565b9050610e6f818585610e60858961225c565b610e6a9190613fa8565b61240a565b600191505092915050565b600e5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bc4c4b37335f6040518363ffffffff1660e01b8152600401610f20929190613fea565b6020604051808303815f875af1158015610f3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f609190614025565b50565b610f6b6125cd565b80600a81905550610f9d600c54610f8f600b54600a54612d8a90919063ffffffff16565b612d8a90919063ffffffff16565b600d819055506032600d541115610fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe090613f5d565b60405180910390fd5b50565b5f60105f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b6110466125cd565b80600e5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6110916125cd565b80600c819055506110c3600c546110b5600b54600a54612d8a90919063ffffffff16565b612d8a90919063ffffffff16565b600d819055506032600d54111561110f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110690613f5d565b60405180910390fd5b50565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166309bbedde6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561117d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a19190614064565b905090565b6111ae6125cd565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361123d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611234906140ff565b60405180910390fd5b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e60405160405180910390a38060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611363573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113879190614131565b73ffffffffffffffffffffffffffffffffffffffff1663c9c653963060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561140d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114319190614131565b6040518363ffffffff1660e01b815260040161144e92919061415c565b6020604051808303815f875af115801561146a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061148e9190614131565b90508060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b815260040161152f9190613cd3565b602060405180830381865afa15801561154a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156e9190614064565b9050919050565b600c5481565b5f805f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ffb2c479856040518263ffffffff1660e01b81526004016115d89190613b3e565b6060604051808303815f875af11580156115f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116189190614183565b9250925092503273ffffffffffffffffffffffffffffffffffffffff165f15157fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a988585858960405161166d94939291906141d3565b60405180910390a350505050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6116c86125cd565b6116d15f612de7565b565b6116db6125cd565b62030d4081101580156116f157506207a1208111155b611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790614286565b60405180910390fd5b600f548103611774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176b90614314565b60405180910390fd5b600f54817f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db760405160405180910390a380600f8190555050565b6117b66125cd565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183c906143a2565b60405180910390fd5b5f8190503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118cd9190614131565b73ffffffffffffffffffffffffffffffffffffffff1614611923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191a90614456565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166331e79db0826040518263ffffffff1660e01b815260040161195c9190613cd3565b5f604051808303815f87803b158015611973575f80fd5b505af1158015611985573d5f803e3d5ffd5b505050508073ffffffffffffffffffffffffffffffffffffffff166331e79db0306040518263ffffffff1660e01b81526004016119c29190613cd3565b5f604051808303815f87803b1580156119d9575f80fd5b505af11580156119eb573d5f803e3d5ffd5b505050508073ffffffffffffffffffffffffffffffffffffffff166331e79db0611a13611ba2565b6040518263ffffffff1660e01b8152600401611a2f9190613cd3565b5f604051808303815f87803b158015611a46575f80fd5b505af1158015611a58573d5f803e3d5ffd5b505050508073ffffffffffffffffffffffffffffffffffffffff166331e79db060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401611ab69190613cd3565b5f604051808303815f87803b158015611acd575f80fd5b505af1158015611adf573d5f803e3d5ffd5b5050505060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a860405160405180910390a38060085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611bd990613ee3565b80601f0160208091040260200160405190810160405280929190818152602001828054611c0590613ee3565b8015611c505780601f10611c2757610100808354040283529160200191611c50565b820191905f5260205f20905b815481529060010190602001808311611c3357829003601f168201915b5050505050905090565b600b5481565b611c686125cd565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cee9061450a565b60405180910390fd5b611d018282612eaa565b5050565b600f5481565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636f2789ec6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d76573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d9a9190614064565b905090565b5f80611da9612403565b90505f611db6828661225c565b905083811015611dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df290614598565b60405180910390fd5b611e08828686840361240a565b60019250505092915050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a8b9d240836040518263ffffffff1660e01b8152600401611e6f9190613cd3565b602060405180830381865afa158015611e8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eae9190614064565b9050919050565b5f80611ebf612403565b9050611ecc8185856126d6565b600191505092915050565b611edf6125cd565b8060098190555050565b6011602052805f5260405f205f915054906101000a900460ff1681565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663be10b6146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f959190614064565b905090565b611fa26125cd565b80151560105f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16151503612031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202890614626565b60405180910390fd5b8060105f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516120cb9190613aeb565b60405180910390a25050565b6120df6125cd565b5f5b8383905081101561217a578160105f86868581811061210357612102614644565b5b90506020020160208101906121189190613c99565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550808061217290614671565b9150506120e1565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358383836040516121ae93929190614774565b60405180910390a1505050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c705c569836040518263ffffffff1660e01b81526004016122169190613cd3565b602060405180830381865afa158015612231573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122559190614025565b9050919050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60095481565b600a5481565b6122f26125cd565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e98030c7826040518263ffffffff1660e01b815260040161234c9190613b3e565b5f604051808303815f87803b158015612363575f80fd5b505af1158015612375573d5f803e3d5ffd5b5050505050565b6123846125cd565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036123f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e990614814565b60405180910390fd5b6123fb81612de7565b50565b600181565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246f906148a2565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124dd90614930565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516125c09190613b3e565b60405180910390a3505050565b6125d5612403565b73ffffffffffffffffffffffffffffffffffffffff166125f3611ba2565b73ffffffffffffffffffffffffffffffffffffffff1614612649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264090614998565b60405180910390fd5b565b5f612656848461225c565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146126d057818110156126c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b990614a00565b60405180910390fd5b6126cf848484840361240a565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273b90614a8e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036127b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a990614b1c565b60405180910390fd5b5f81036127c9576127c483835f613065565b612d85565b5f6127d33061167b565b90505f60095482101590508080156127f85750600760149054906101000a900460ff16155b801561284b575060115f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b801561288a575061285a611ba2565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b80156128c95750612899611ba2565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15612998576001600760146101000a81548160ff0219169083151502179055505f612913600d54612905600c54866132d190919063ffffffff16565b61334890919063ffffffff16565b90505f8111156129275761292681613391565b5b5f612951600d54612943600b54876132d190919063ffffffff16565b61334890919063ffffffff16565b90505f81111561296557612964816133c0565b5b5f61296f3061167b565b905061297a8161345c565b5f600760146101000a81548160ff0219169083151502179055505050505b5f600760149054906101000a900460ff1615905060105f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680612a47575060105f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b15612a50575f90505b60115f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16158015612aee575060115f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15612af7575f90505b8015612b4a575f612b266064612b18600d54886132d190919063ffffffff16565b61334890919063ffffffff16565b9050612b3b818661352f90919063ffffffff16565b9450612b48873083613065565b505b612b55868686613065565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e30443bc87612b9c8961167b565b6040518363ffffffff1660e01b8152600401612bb9929190614b3a565b5f604051808303815f87803b158015612bd0575f80fd5b505af1925050508015612be1575060015b5060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e30443bc86612c298861167b565b6040518363ffffffff1660e01b8152600401612c46929190614b3a565b5f604051808303815f87803b158015612c5d575f80fd5b505af1925050508015612c6e575060015b50600760149054906101000a900460ff16612d81575f600f54905060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ffb2c479826040518263ffffffff1660e01b8152600401612ce39190613b3e565b6060604051808303815f875af1925050508015612d1e57506040513d601f19601f82011682018060405250810190612d1b9190614183565b60015b15612d7f573273ffffffffffffffffffffffffffffffffffffffff16600115157fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a9885858589604051612d7394939291906141d3565b60405180910390a35050505b505b5050505b505050565b5f808284612d989190613fa8565b905083811015612ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd490614bab565b60405180910390fd5b8091505092915050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80151560115f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16151503612f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3090614c5f565b60405180910390fd5b8060115f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550801561301b5760085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db0836040518263ffffffff1660e01b8152600401612fed9190613cd3565b5f604051808303815f87803b158015613004575f80fd5b505af1158015613016573d5f803e3d5ffd5b505050505b8015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036130d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ca90614a8e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313890614b1c565b60405180910390fd5b61314c838383613578565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156131cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c690614ced565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516132b89190613b3e565b60405180910390a36132cb84848461357d565b50505050565b5f8083036132e1575f9050613342565b5f82846132ee9190614d0b565b90508284826132fd9190614d79565b1461333d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333490614e19565b60405180910390fd5b809150505b92915050565b5f61338983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613582565b905092915050565b6133bd30600e5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836126d6565b50565b5f6133d560028361334890919063ffffffff16565b90505f6133eb828461352f90919063ffffffff16565b90505f4790506133fa836135e3565b5f61340e824761352f90919063ffffffff16565b905061341a8382613819565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb56184828560405161344d93929190614e37565b60405180910390a15050505050565b613465816135e3565b5f47905060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166351c2a0e382836040518363ffffffff1660e01b81526004016134c49190613b3e565b5f604051808303818588803b1580156134db575f80fd5b505af11580156134ed573d5f803e3d5ffd5b50505050507f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc38282604051613523929190614e6c565b60405180910390a15050565b5f61357083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506138f2565b905092915050565b505050565b505050565b5f80831182906135c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135bf91906139de565b60405180910390fd5b505f83856135d69190614d79565b9050809150509392505050565b5f600267ffffffffffffffff8111156135ff576135fe614e93565b5b60405190808252806020026020018201604052801561362d5781602001602082028036833780820191505090505b50905030815f8151811061364457613643614644565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061370c9190614131565b816001815181106137205761371f614644565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506137863060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461240a565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b81526004016137e8959493929190614f7a565b5f604051808303815f87803b1580156137ff575f80fd5b505af1158015613811573d5f803e3d5ffd5b505050505050565b6138453060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461240a565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7198230855f805f426040518863ffffffff1660e01b81526004016138aa96959493929190614fd2565b60606040518083038185885af11580156138c6573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906138eb9190614183565b5050505050565b5f838311158290613939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393091906139de565b60405180910390fd5b505f83856139479190615031565b9050809150509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561398b578082015181840152602081019050613970565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6139b082613954565b6139ba818561395e565b93506139ca81856020860161396e565b6139d381613996565b840191505092915050565b5f6020820190508181035f8301526139f681846139a6565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f613a2f82613a06565b9050919050565b613a3f81613a25565b8114613a49575f80fd5b50565b5f81359050613a5a81613a36565b92915050565b5f819050919050565b613a7281613a60565b8114613a7c575f80fd5b50565b5f81359050613a8d81613a69565b92915050565b5f8060408385031215613aa957613aa86139fe565b5b5f613ab685828601613a4c565b9250506020613ac785828601613a7f565b9150509250929050565b5f8115159050919050565b613ae581613ad1565b82525050565b5f602082019050613afe5f830184613adc565b92915050565b5f60208284031215613b1957613b186139fe565b5b5f613b2684828501613a7f565b91505092915050565b613b3881613a60565b82525050565b5f602082019050613b515f830184613b2f565b92915050565b5f819050919050565b5f613b7a613b75613b7084613a06565b613b57565b613a06565b9050919050565b5f613b8b82613b60565b9050919050565b5f613b9c82613b81565b9050919050565b613bac81613b92565b82525050565b5f602082019050613bc55f830184613ba3565b92915050565b5f805f60608486031215613be257613be16139fe565b5b5f613bef86828701613a4c565b9350506020613c0086828701613a4c565b9250506040613c1186828701613a7f565b9150509250925092565b5f613c2582613b60565b9050919050565b5f613c3682613c1b565b9050919050565b613c4681613c2c565b82525050565b5f602082019050613c5f5f830184613c3d565b92915050565b5f60ff82169050919050565b613c7a81613c65565b82525050565b5f602082019050613c935f830184613c71565b92915050565b5f60208284031215613cae57613cad6139fe565b5b5f613cbb84828501613a4c565b91505092915050565b613ccd81613a25565b82525050565b5f602082019050613ce65f830184613cc4565b92915050565b5f613cf682613a06565b9050919050565b613d0681613cec565b8114613d10575f80fd5b50565b5f81359050613d2181613cfd565b92915050565b5f60208284031215613d3c57613d3b6139fe565b5b5f613d4984828501613d13565b91505092915050565b613d5b81613ad1565b8114613d65575f80fd5b50565b5f81359050613d7681613d52565b92915050565b5f8060408385031215613d9257613d916139fe565b5b5f613d9f85828601613a4c565b9250506020613db085828601613d68565b9150509250929050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112613ddb57613dda613dba565b5b8235905067ffffffffffffffff811115613df857613df7613dbe565b5b602083019150836020820283011115613e1457613e13613dc2565b5b9250929050565b5f805f60408486031215613e3257613e316139fe565b5b5f84013567ffffffffffffffff811115613e4f57613e4e613a02565b5b613e5b86828701613dc6565b93509350506020613e6e86828701613d68565b9150509250925092565b5f8060408385031215613e8e57613e8d6139fe565b5b5f613e9b85828601613a4c565b9250506020613eac85828601613a4c565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680613efa57607f821691505b602082108103613f0d57613f0c613eb6565b5b50919050565b7f546f74616c20666565206973206f7665722035302500000000000000000000005f82015250565b5f613f4760158361395e565b9150613f5282613f13565b602082019050919050565b5f6020820190508181035f830152613f7481613f3b565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613fb282613a60565b9150613fbd83613a60565b9250828201905080821115613fd557613fd4613f7b565b5b92915050565b613fe481613cec565b82525050565b5f604082019050613ffd5f830185613fdb565b61400a6020830184613adc565b9392505050565b5f8151905061401f81613d52565b92915050565b5f6020828403121561403a576140396139fe565b5b5f61404784828501614011565b91505092915050565b5f8151905061405e81613a69565b92915050565b5f60208284031215614079576140786139fe565b5b5f61408684828501614050565b91505092915050565b7f42414259544f4b454e3a2054686520726f7574657220616c72656164792068615f8201527f7320746861742061646472657373000000000000000000000000000000000000602082015250565b5f6140e9602e8361395e565b91506140f48261408f565b604082019050919050565b5f6020820190508181035f830152614116816140dd565b9050919050565b5f8151905061412b81613a36565b92915050565b5f60208284031215614146576141456139fe565b5b5f6141538482850161411d565b91505092915050565b5f60408201905061416f5f830185613cc4565b61417c6020830184613cc4565b9392505050565b5f805f6060848603121561419a576141996139fe565b5b5f6141a786828701614050565b93505060206141b886828701614050565b92505060406141c986828701614050565b9150509250925092565b5f6080820190506141e65f830187613b2f565b6141f36020830186613b2f565b6142006040830185613b2f565b61420d6060830184613b2f565b95945050505050565b7f42414259544f4b454e3a20676173466f7250726f63657373696e67206d7573745f8201527f206265206265747765656e203230302c30303020616e64203530302c30303000602082015250565b5f614270603f8361395e565b915061427b82614216565b604082019050919050565b5f6020820190508181035f83015261429d81614264565b9050919050565b7f42414259544f4b454e3a2043616e6e6f742075706461746520676173466f72505f8201527f726f63657373696e6720746f2073616d652076616c7565000000000000000000602082015250565b5f6142fe60378361395e565b9150614309826142a4565b604082019050919050565b5f6020820190508181035f83015261432b816142f2565b9050919050565b7f42414259544f4b454e3a20546865206469766964656e6420747261636b6572205f8201527f616c726561647920686173207468617420616464726573730000000000000000602082015250565b5f61438c60388361395e565b915061439782614332565b604082019050919050565b5f6020820190508181035f8301526143b981614380565b9050919050565b7f42414259544f4b454e3a20546865206e6577206469766964656e6420747261635f8201527f6b6572206d757374206265206f776e6564206279207468652042414259544f4b60208201527f454e20746f6b656e20636f6e7472616374000000000000000000000000000000604082015250565b5f61444060518361395e565b915061444b826143c0565b606082019050919050565b5f6020820190508181035f83015261446d81614434565b9050919050565b7f42414259544f4b454e3a20546865204d6574726f20706169722063616e6e6f745f8201527f2062652072656d6f7665642066726f6d206175746f6d617465644d61726b657460208201527f4d616b6572506169727300000000000000000000000000000000000000000000604082015250565b5f6144f4604a8361395e565b91506144ff82614474565b606082019050919050565b5f6020820190508181035f830152614521816144e8565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f61458260258361395e565b915061458d82614528565b604082019050919050565b5f6020820190508181035f8301526145af81614576565b9050919050565b7f42414259544f4b454e3a204163636f756e7420697320616c72656164792074685f8201527f652076616c7565206f6620276578636c75646564270000000000000000000000602082015250565b5f61461060358361395e565b915061461b826145b6565b604082019050919050565b5f6020820190508181035f83015261463d81614604565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f61467b82613a60565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036146ad576146ac613f7b565b5b600182019050919050565b5f82825260208201905092915050565b5f819050919050565b6146da81613a25565b82525050565b5f6146eb83836146d1565b60208301905092915050565b5f6147056020840184613a4c565b905092915050565b5f602082019050919050565b5f61472483856146b8565b935061472f826146c8565b805f5b858110156147675761474482846146f7565b61474e88826146e0565b97506147598361470d565b925050600181019050614732565b5085925050509392505050565b5f6040820190508181035f83015261478d818587614719565b905061479c6020830184613adc565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6147fe60268361395e565b9150614809826147a4565b604082019050919050565b5f6020820190508181035f83015261482b816147f2565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61488c60248361395e565b915061489782614832565b604082019050919050565b5f6020820190508181035f8301526148b981614880565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f61491a60228361395e565b9150614925826148c0565b604082019050919050565b5f6020820190508181035f8301526149478161490e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f61498260208361395e565b915061498d8261494e565b602082019050919050565b5f6020820190508181035f8301526149af81614976565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f6149ea601d8361395e565b91506149f5826149b6565b602082019050919050565b5f6020820190508181035f830152614a17816149de565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f614a7860258361395e565b9150614a8382614a1e565b604082019050919050565b5f6020820190508181035f830152614aa581614a6c565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f614b0660238361395e565b9150614b1182614aac565b604082019050919050565b5f6020820190508181035f830152614b3381614afa565b9050919050565b5f604082019050614b4d5f830185613fdb565b614b5a6020830184613b2f565b9392505050565b7f536166654d6174683a206164646974696f6e206f766572666c6f7700000000005f82015250565b5f614b95601b8361395e565b9150614ba082614b61565b602082019050919050565b5f6020820190508181035f830152614bc281614b89565b9050919050565b7f42414259544f4b454e3a204175746f6d61746564206d61726b6574206d616b655f8201527f72207061697220697320616c72656164792073657420746f207468617420766160208201527f6c75650000000000000000000000000000000000000000000000000000000000604082015250565b5f614c4960438361395e565b9150614c5482614bc9565b606082019050919050565b5f6020820190508181035f830152614c7681614c3d565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f614cd760268361395e565b9150614ce282614c7d565b604082019050919050565b5f6020820190508181035f830152614d0481614ccb565b9050919050565b5f614d1582613a60565b9150614d2083613a60565b9250828202614d2e81613a60565b91508282048414831517614d4557614d44613f7b565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f614d8382613a60565b9150614d8e83613a60565b925082614d9e57614d9d614d4c565b5b828204905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f5f8201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b5f614e0360218361395e565b9150614e0e82614da9565b604082019050919050565b5f6020820190508181035f830152614e3081614df7565b9050919050565b5f606082019050614e4a5f830186613b2f565b614e576020830185613b2f565b614e646040830184613b2f565b949350505050565b5f604082019050614e7f5f830185613b2f565b614e8c6020830184613b2f565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f819050919050565b5f614ee3614ede614ed984614ec0565b613b57565b613a60565b9050919050565b614ef381614ec9565b82525050565b5f81519050919050565b5f819050602082019050919050565b5f602082019050919050565b5f614f2882614ef9565b614f3281856146b8565b9350614f3d83614f03565b805f5b83811015614f6d578151614f5488826146e0565b9750614f5f83614f12565b925050600181019050614f40565b5085935050505092915050565b5f60a082019050614f8d5f830188613b2f565b614f9a6020830187614eea565b8181036040830152614fac8186614f1e565b9050614fbb6060830185613cc4565b614fc86080830184613b2f565b9695505050505050565b5f60c082019050614fe55f830189613cc4565b614ff26020830188613b2f565b614fff6040830187614eea565b61500c6060830186614eea565b6150196080830185613cc4565b61502660a0830184613b2f565b979650505050505050565b5f61503b82613a60565b915061504683613a60565b925082820390508181111561505e5761505d613f7b565b5b9291505056fea264697066735822122080583c16d2c1e2963ba57715b0abeacd02357f4039278c65a056722a8d5eedc264736f6c6343000814003300000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000095a7e403d7cf20f675ff9273d66e94d35ba49fa3000000000000000000000000265bc809fd1c2eae5807dd50ceaa44079696f7e60000000000000000000000001baaa9d3192fe9cc35c0c479135004a4924570cd000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000006746573743130000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037473740000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102b1575f3560e01c806370a0823111610174578063a9059cbb116100db578063c705c56911610094578063e708a0f91161006e578063e708a0f914610ab2578063e98030c714610adc578063f2fde38b14610b04578063ffa1ad7414610b2c576102b8565b8063c705c56914610a10578063dd62ed3e14610a4c578063e2f4560514610a88576102b8565b8063a9059cbb146108f6578063afa4f3b214610932578063b62496f51461095a578063bdd4f29f14610996578063c0246668146109c0578063c492f046146109e8576102b8565b806398118cb41161012d57806398118cb4146107d85780639a7a23d6146108025780639c1b8af51461082a578063a26579ad14610854578063a457c2d71461087e578063a8b9d240146108ba576102b8565b806370a08231146106e2578063715018a61461071e578063871c128d1461073457806388bdd9be1461075c5780638da5cb5b1461078457806395d89b41146107ae576102b8565b80634144d9e411610218578063625e764c116101d1578063625e764c146105da57806364b0f6531461060257806365b8dbc01461062c5780636843cd84146106545780636b67c4df14610690578063700bb191146106ba576102b8565b80634144d9e4146104e457806349bd5a5e1461050e5780634e71d92d146105385780634ed080c71461054e5780634fbee193146105765780635d098b38146105b2576102b8565b806323b872dd1161026a57806323b872dd146103c85780632c1f521614610404578063313ce5671461042e57806331e79db014610458578063357bf15c1461048057806339509351146104a8576102b8565b806306fdde03146102bc578063095ea7b3146102e65780630dcb2e891461032257806313114a9d1461034a5780631694505e1461037457806318160ddd1461039e576102b8565b366102b857005b5f80fd5b3480156102c7575f80fd5b506102d0610b56565b6040516102dd91906139de565b60405180910390f35b3480156102f1575f80fd5b5061030c60048036038101906103079190613a93565b610be6565b6040516103199190613aeb565b60405180910390f35b34801561032d575f80fd5b5061034860048036038101906103439190613b04565b610c08565b005b348015610355575f80fd5b5061035e610c9a565b60405161036b9190613b3e565b60405180910390f35b34801561037f575f80fd5b50610388610ca0565b6040516103959190613bb2565b60405180910390f35b3480156103a9575f80fd5b506103b2610cc5565b6040516103bf9190613b3e565b60405180910390f35b3480156103d3575f80fd5b506103ee60048036038101906103e99190613bcb565b610cce565b6040516103fb9190613aeb565b60405180910390f35b34801561040f575f80fd5b50610418610cfc565b6040516104259190613c4c565b60405180910390f35b348015610439575f80fd5b50610442610d21565b60405161044f9190613c80565b60405180910390f35b348015610463575f80fd5b5061047e60048036038101906104799190613c99565b610d29565b005b34801561048b575f80fd5b506104a660048036038101906104a19190613b04565b610dbb565b005b3480156104b3575f80fd5b506104ce60048036038101906104c99190613a93565b610e44565b6040516104db9190613aeb565b60405180910390f35b3480156104ef575f80fd5b506104f8610e7a565b6040516105059190613cd3565b60405180910390f35b348015610519575f80fd5b50610522610e9f565b60405161052f9190613cd3565b60405180910390f35b348015610543575f80fd5b5061054c610ec4565b005b348015610559575f80fd5b50610574600480360381019061056f9190613b04565b610f63565b005b348015610581575f80fd5b5061059c60048036038101906105979190613c99565b610fec565b6040516105a99190613aeb565b60405180910390f35b3480156105bd575f80fd5b506105d860048036038101906105d39190613d27565b61103e565b005b3480156105e5575f80fd5b5061060060048036038101906105fb9190613b04565b611089565b005b34801561060d575f80fd5b50610616611112565b6040516106239190613b3e565b60405180910390f35b348015610637575f80fd5b50610652600480360381019061064d9190613c99565b6111a6565b005b34801561065f575f80fd5b5061067a60048036038101906106759190613c99565b6114d4565b6040516106879190613b3e565b60405180910390f35b34801561069b575f80fd5b506106a4611575565b6040516106b19190613b3e565b60405180910390f35b3480156106c5575f80fd5b506106e060048036038101906106db9190613b04565b61157b565b005b3480156106ed575f80fd5b5061070860048036038101906107039190613c99565b61167b565b6040516107159190613b3e565b60405180910390f35b348015610729575f80fd5b506107326116c0565b005b34801561073f575f80fd5b5061075a60048036038101906107559190613b04565b6116d3565b005b348015610767575f80fd5b50610782600480360381019061077d9190613c99565b6117ae565b005b34801561078f575f80fd5b50610798611ba2565b6040516107a59190613cd3565b60405180910390f35b3480156107b9575f80fd5b506107c2611bca565b6040516107cf91906139de565b60405180910390f35b3480156107e3575f80fd5b506107ec611c5a565b6040516107f99190613b3e565b60405180910390f35b34801561080d575f80fd5b5061082860048036038101906108239190613d7c565b611c60565b005b348015610835575f80fd5b5061083e611d05565b60405161084b9190613b3e565b60405180910390f35b34801561085f575f80fd5b50610868611d0b565b6040516108759190613b3e565b60405180910390f35b348015610889575f80fd5b506108a4600480360381019061089f9190613a93565b611d9f565b6040516108b19190613aeb565b60405180910390f35b3480156108c5575f80fd5b506108e060048036038101906108db9190613c99565b611e14565b6040516108ed9190613b3e565b60405180910390f35b348015610901575f80fd5b5061091c60048036038101906109179190613a93565b611eb5565b6040516109299190613aeb565b60405180910390f35b34801561093d575f80fd5b5061095860048036038101906109539190613b04565b611ed7565b005b348015610965575f80fd5b50610980600480360381019061097b9190613c99565b611ee9565b60405161098d9190613aeb565b60405180910390f35b3480156109a1575f80fd5b506109aa611f06565b6040516109b79190613b3e565b60405180910390f35b3480156109cb575f80fd5b506109e660048036038101906109e19190613d7c565b611f9a565b005b3480156109f3575f80fd5b50610a0e6004803603810190610a099190613e1b565b6120d7565b005b348015610a1b575f80fd5b50610a366004803603810190610a319190613c99565b6121bb565b604051610a439190613aeb565b60405180910390f35b348015610a57575f80fd5b50610a726004803603810190610a6d9190613e78565b61225c565b604051610a7f9190613b3e565b60405180910390f35b348015610a93575f80fd5b50610a9c6122de565b604051610aa99190613b3e565b60405180910390f35b348015610abd575f80fd5b50610ac66122e4565b604051610ad39190613b3e565b60405180910390f35b348015610ae7575f80fd5b50610b026004803603810190610afd9190613b04565b6122ea565b005b348015610b0f575f80fd5b50610b2a6004803603810190610b259190613c99565b61237c565b005b348015610b37575f80fd5b50610b406123fe565b604051610b4d9190613b3e565b60405180910390f35b606060038054610b6590613ee3565b80601f0160208091040260200160405190810160405280929190818152602001828054610b9190613ee3565b8015610bdc5780601f10610bb357610100808354040283529160200191610bdc565b820191905f5260205f20905b815481529060010190602001808311610bbf57829003601f168201915b5050505050905090565b5f80610bf0612403565b9050610bfd81858561240a565b600191505092915050565b610c106125cd565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630dcb2e89826040518263ffffffff1660e01b8152600401610c6a9190613b3e565b5f604051808303815f87803b158015610c81575f80fd5b505af1158015610c93573d5f803e3d5ffd5b5050505050565b600d5481565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f600254905090565b5f80610cd8612403565b9050610ce585828561264b565b610cf08585856126d6565b60019150509392505050565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f6012905090565b610d316125cd565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db0826040518263ffffffff1660e01b8152600401610d8b9190613cd3565b5f604051808303815f87803b158015610da2575f80fd5b505af1158015610db4573d5f803e3d5ffd5b5050505050565b610dc36125cd565b80600b81905550610df5600c54610de7600b54600a54612d8a90919063ffffffff16565b612d8a90919063ffffffff16565b600d819055506032600d541115610e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e3890613f5d565b60405180910390fd5b50565b5f80610e4e612403565b9050610e6f818585610e60858961225c565b610e6a9190613fa8565b61240a565b600191505092915050565b600e5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663bc4c4b37335f6040518363ffffffff1660e01b8152600401610f20929190613fea565b6020604051808303815f875af1158015610f3c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610f609190614025565b50565b610f6b6125cd565b80600a81905550610f9d600c54610f8f600b54600a54612d8a90919063ffffffff16565b612d8a90919063ffffffff16565b600d819055506032600d541115610fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe090613f5d565b60405180910390fd5b50565b5f60105f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff169050919050565b6110466125cd565b80600e5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6110916125cd565b80600c819055506110c3600c546110b5600b54600a54612d8a90919063ffffffff16565b612d8a90919063ffffffff16565b600d819055506032600d54111561110f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110690613f5d565b60405180910390fd5b50565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166309bbedde6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561117d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111a19190614064565b905090565b6111ae6125cd565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361123d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611234906140ff565b60405180910390fd5b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e60405160405180910390a38060065f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505f60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa158015611363573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906113879190614131565b73ffffffffffffffffffffffffffffffffffffffff1663c9c653963060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561140d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906114319190614131565b6040518363ffffffff1660e01b815260040161144e92919061415c565b6020604051808303815f875af115801561146a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061148e9190614131565b90508060075f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231836040518263ffffffff1660e01b815260040161152f9190613cd3565b602060405180830381865afa15801561154a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061156e9190614064565b9050919050565b600c5481565b5f805f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ffb2c479856040518263ffffffff1660e01b81526004016115d89190613b3e565b6060604051808303815f875af11580156115f4573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906116189190614183565b9250925092503273ffffffffffffffffffffffffffffffffffffffff165f15157fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a988585858960405161166d94939291906141d3565b60405180910390a350505050565b5f805f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050919050565b6116c86125cd565b6116d15f612de7565b565b6116db6125cd565b62030d4081101580156116f157506207a1208111155b611730576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172790614286565b60405180910390fd5b600f548103611774576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161176b90614314565b60405180910390fd5b600f54817f40d7e40e79af4e8e5a9b3c57030d8ea93f13d669c06d448c4d631d4ae7d23db760405160405180910390a380600f8190555050565b6117b66125cd565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183c906143a2565b60405180910390fd5b5f8190503073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16638da5cb5b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156118a9573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906118cd9190614131565b73ffffffffffffffffffffffffffffffffffffffff1614611923576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161191a90614456565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166331e79db0826040518263ffffffff1660e01b815260040161195c9190613cd3565b5f604051808303815f87803b158015611973575f80fd5b505af1158015611985573d5f803e3d5ffd5b505050508073ffffffffffffffffffffffffffffffffffffffff166331e79db0306040518263ffffffff1660e01b81526004016119c29190613cd3565b5f604051808303815f87803b1580156119d9575f80fd5b505af11580156119eb573d5f803e3d5ffd5b505050508073ffffffffffffffffffffffffffffffffffffffff166331e79db0611a13611ba2565b6040518263ffffffff1660e01b8152600401611a2f9190613cd3565b5f604051808303815f87803b158015611a46575f80fd5b505af1158015611a58573d5f803e3d5ffd5b505050508073ffffffffffffffffffffffffffffffffffffffff166331e79db060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518263ffffffff1660e01b8152600401611ab69190613cd3565b5f604051808303815f87803b158015611acd575f80fd5b505af1158015611adf573d5f803e3d5ffd5b5050505060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f90c7d74461c613da5efa97d90740869367d74ab3aa5837aa4ae9a975f954b7a860405160405180910390a38060085f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060048054611bd990613ee3565b80601f0160208091040260200160405190810160405280929190818152602001828054611c0590613ee3565b8015611c505780601f10611c2757610100808354040283529160200191611c50565b820191905f5260205f20905b815481529060010190602001808311611c3357829003601f168201915b5050505050905090565b600b5481565b611c686125cd565b60075f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611cf7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cee9061450a565b60405180910390fd5b611d018282612eaa565b5050565b600f5481565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636f2789ec6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611d76573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d9a9190614064565b905090565b5f80611da9612403565b90505f611db6828661225c565b905083811015611dfb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df290614598565b60405180910390fd5b611e08828686840361240a565b60019250505092915050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a8b9d240836040518263ffffffff1660e01b8152600401611e6f9190613cd3565b602060405180830381865afa158015611e8a573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611eae9190614064565b9050919050565b5f80611ebf612403565b9050611ecc8185856126d6565b600191505092915050565b611edf6125cd565b8060098190555050565b6011602052805f5260405f205f915054906101000a900460ff1681565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663be10b6146040518163ffffffff1660e01b8152600401602060405180830381865afa158015611f71573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611f959190614064565b905090565b611fa26125cd565b80151560105f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16151503612031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202890614626565b60405180910390fd5b8060105f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff167f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7826040516120cb9190613aeb565b60405180910390a25050565b6120df6125cd565b5f5b8383905081101561217a578160105f86868581811061210357612102614644565b5b90506020020160208101906121189190613c99565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550808061217290614671565b9150506120e1565b507f7fdaf542373fa84f4ee8d662c642f44e4c2276a217d7d29e548b6eb29a233b358383836040516121ae93929190614774565b60405180910390a1505050565b5f60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c705c569836040518263ffffffff1660e01b81526004016122169190613cd3565b602060405180830381865afa158015612231573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122559190614025565b9050919050565b5f60015f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b60095481565b600a5481565b6122f26125cd565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e98030c7826040518263ffffffff1660e01b815260040161234c9190613b3e565b5f604051808303815f87803b158015612363575f80fd5b505af1158015612375573d5f803e3d5ffd5b5050505050565b6123846125cd565b5f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036123f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123e990614814565b60405180910390fd5b6123fb81612de7565b50565b600181565b5f33905090565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612478576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161246f906148a2565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036124e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124dd90614930565b60405180910390fd5b8060015f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516125c09190613b3e565b60405180910390a3505050565b6125d5612403565b73ffffffffffffffffffffffffffffffffffffffff166125f3611ba2565b73ffffffffffffffffffffffffffffffffffffffff1614612649576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264090614998565b60405180910390fd5b565b5f612656848461225c565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146126d057818110156126c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126b990614a00565b60405180910390fd5b6126cf848484840361240a565b5b50505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612744576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161273b90614a8e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036127b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a990614b1c565b60405180910390fd5b5f81036127c9576127c483835f613065565b612d85565b5f6127d33061167b565b90505f60095482101590508080156127f85750600760149054906101000a900460ff16155b801561284b575060115f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b801561288a575061285a611ba2565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614155b80156128c95750612899611ba2565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614155b15612998576001600760146101000a81548160ff0219169083151502179055505f612913600d54612905600c54866132d190919063ffffffff16565b61334890919063ffffffff16565b90505f8111156129275761292681613391565b5b5f612951600d54612943600b54876132d190919063ffffffff16565b61334890919063ffffffff16565b90505f81111561296557612964816133c0565b5b5f61296f3061167b565b905061297a8161345c565b5f600760146101000a81548160ff0219169083151502179055505050505b5f600760149054906101000a900460ff1615905060105f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff1680612a47575060105f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff165b15612a50575f90505b60115f8773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16158015612aee575060115f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16155b15612af7575f90505b8015612b4a575f612b266064612b18600d54886132d190919063ffffffff16565b61334890919063ffffffff16565b9050612b3b818661352f90919063ffffffff16565b9450612b48873083613065565b505b612b55868686613065565b60085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e30443bc87612b9c8961167b565b6040518363ffffffff1660e01b8152600401612bb9929190614b3a565b5f604051808303815f87803b158015612bd0575f80fd5b505af1925050508015612be1575060015b5060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663e30443bc86612c298861167b565b6040518363ffffffff1660e01b8152600401612c46929190614b3a565b5f604051808303815f87803b158015612c5d575f80fd5b505af1925050508015612c6e575060015b50600760149054906101000a900460ff16612d81575f600f54905060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ffb2c479826040518263ffffffff1660e01b8152600401612ce39190613b3e565b6060604051808303815f875af1925050508015612d1e57506040513d601f19601f82011682018060405250810190612d1b9190614183565b60015b15612d7f573273ffffffffffffffffffffffffffffffffffffffff16600115157fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a9885858589604051612d7394939291906141d3565b60405180910390a35050505b505b5050505b505050565b5f808284612d989190613fa8565b905083811015612ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd490614bab565b60405180910390fd5b8091505092915050565b5f60055f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508160055f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b80151560115f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16151503612f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f3090614c5f565b60405180910390fd5b8060115f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff021916908315150217905550801561301b5760085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166331e79db0836040518263ffffffff1660e01b8152600401612fed9190613cd3565b5f604051808303815f87803b158015613004575f80fd5b505af1158015613016573d5f803e3d5ffd5b505050505b8015158273ffffffffffffffffffffffffffffffffffffffff167fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab60405160405180910390a35050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036130d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130ca90614a8e565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313890614b1c565b60405180910390fd5b61314c838383613578565b5f805f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156131cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131c690614ced565b60405180910390fd5b8181035f808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550815f808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825401925050819055508273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516132b89190613b3e565b60405180910390a36132cb84848461357d565b50505050565b5f8083036132e1575f9050613342565b5f82846132ee9190614d0b565b90508284826132fd9190614d79565b1461333d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161333490614e19565b60405180910390fd5b809150505b92915050565b5f61338983836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250613582565b905092915050565b6133bd30600e5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836126d6565b50565b5f6133d560028361334890919063ffffffff16565b90505f6133eb828461352f90919063ffffffff16565b90505f4790506133fa836135e3565b5f61340e824761352f90919063ffffffff16565b905061341a8382613819565b7f17bbfb9a6069321b6ded73bd96327c9e6b7212a5cd51ff219cd61370acafb56184828560405161344d93929190614e37565b60405180910390a15050505050565b613465816135e3565b5f47905060085f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166351c2a0e382836040518363ffffffff1660e01b81526004016134c49190613b3e565b5f604051808303818588803b1580156134db575f80fd5b505af11580156134ed573d5f803e3d5ffd5b50505050507f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc38282604051613523929190614e6c565b60405180910390a15050565b5f61357083836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506138f2565b905092915050565b505050565b505050565b5f80831182906135c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135bf91906139de565b60405180910390fd5b505f83856135d69190614d79565b9050809150509392505050565b5f600267ffffffffffffffff8111156135ff576135fe614e93565b5b60405190808252806020026020018201604052801561362d5781602001602082028036833780820191505090505b50905030815f8151811061364457613643614644565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156136e8573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061370c9190614131565b816001815181106137205761371f614644565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506137863060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461240a565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947835f8430426040518663ffffffff1660e01b81526004016137e8959493929190614f7a565b5f604051808303815f87803b1580156137ff575f80fd5b505af1158015613811573d5f803e3d5ffd5b505050505050565b6138453060065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff168461240a565b60065f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f305d7198230855f805f426040518863ffffffff1660e01b81526004016138aa96959493929190614fd2565b60606040518083038185885af11580156138c6573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906138eb9190614183565b5050505050565b5f838311158290613939576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161393091906139de565b60405180910390fd5b505f83856139479190615031565b9050809150509392505050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561398b578082015181840152602081019050613970565b5f8484015250505050565b5f601f19601f8301169050919050565b5f6139b082613954565b6139ba818561395e565b93506139ca81856020860161396e565b6139d381613996565b840191505092915050565b5f6020820190508181035f8301526139f681846139a6565b905092915050565b5f80fd5b5f80fd5b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f613a2f82613a06565b9050919050565b613a3f81613a25565b8114613a49575f80fd5b50565b5f81359050613a5a81613a36565b92915050565b5f819050919050565b613a7281613a60565b8114613a7c575f80fd5b50565b5f81359050613a8d81613a69565b92915050565b5f8060408385031215613aa957613aa86139fe565b5b5f613ab685828601613a4c565b9250506020613ac785828601613a7f565b9150509250929050565b5f8115159050919050565b613ae581613ad1565b82525050565b5f602082019050613afe5f830184613adc565b92915050565b5f60208284031215613b1957613b186139fe565b5b5f613b2684828501613a7f565b91505092915050565b613b3881613a60565b82525050565b5f602082019050613b515f830184613b2f565b92915050565b5f819050919050565b5f613b7a613b75613b7084613a06565b613b57565b613a06565b9050919050565b5f613b8b82613b60565b9050919050565b5f613b9c82613b81565b9050919050565b613bac81613b92565b82525050565b5f602082019050613bc55f830184613ba3565b92915050565b5f805f60608486031215613be257613be16139fe565b5b5f613bef86828701613a4c565b9350506020613c0086828701613a4c565b9250506040613c1186828701613a7f565b9150509250925092565b5f613c2582613b60565b9050919050565b5f613c3682613c1b565b9050919050565b613c4681613c2c565b82525050565b5f602082019050613c5f5f830184613c3d565b92915050565b5f60ff82169050919050565b613c7a81613c65565b82525050565b5f602082019050613c935f830184613c71565b92915050565b5f60208284031215613cae57613cad6139fe565b5b5f613cbb84828501613a4c565b91505092915050565b613ccd81613a25565b82525050565b5f602082019050613ce65f830184613cc4565b92915050565b5f613cf682613a06565b9050919050565b613d0681613cec565b8114613d10575f80fd5b50565b5f81359050613d2181613cfd565b92915050565b5f60208284031215613d3c57613d3b6139fe565b5b5f613d4984828501613d13565b91505092915050565b613d5b81613ad1565b8114613d65575f80fd5b50565b5f81359050613d7681613d52565b92915050565b5f8060408385031215613d9257613d916139fe565b5b5f613d9f85828601613a4c565b9250506020613db085828601613d68565b9150509250929050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f840112613ddb57613dda613dba565b5b8235905067ffffffffffffffff811115613df857613df7613dbe565b5b602083019150836020820283011115613e1457613e13613dc2565b5b9250929050565b5f805f60408486031215613e3257613e316139fe565b5b5f84013567ffffffffffffffff811115613e4f57613e4e613a02565b5b613e5b86828701613dc6565b93509350506020613e6e86828701613d68565b9150509250925092565b5f8060408385031215613e8e57613e8d6139fe565b5b5f613e9b85828601613a4c565b9250506020613eac85828601613a4c565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680613efa57607f821691505b602082108103613f0d57613f0c613eb6565b5b50919050565b7f546f74616c20666565206973206f7665722035302500000000000000000000005f82015250565b5f613f4760158361395e565b9150613f5282613f13565b602082019050919050565b5f6020820190508181035f830152613f7481613f3b565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613fb282613a60565b9150613fbd83613a60565b9250828201905080821115613fd557613fd4613f7b565b5b92915050565b613fe481613cec565b82525050565b5f604082019050613ffd5f830185613fdb565b61400a6020830184613adc565b9392505050565b5f8151905061401f81613d52565b92915050565b5f6020828403121561403a576140396139fe565b5b5f61404784828501614011565b91505092915050565b5f8151905061405e81613a69565b92915050565b5f60208284031215614079576140786139fe565b5b5f61408684828501614050565b91505092915050565b7f42414259544f4b454e3a2054686520726f7574657220616c72656164792068615f8201527f7320746861742061646472657373000000000000000000000000000000000000602082015250565b5f6140e9602e8361395e565b91506140f48261408f565b604082019050919050565b5f6020820190508181035f830152614116816140dd565b9050919050565b5f8151905061412b81613a36565b92915050565b5f60208284031215614146576141456139fe565b5b5f6141538482850161411d565b91505092915050565b5f60408201905061416f5f830185613cc4565b61417c6020830184613cc4565b9392505050565b5f805f6060848603121561419a576141996139fe565b5b5f6141a786828701614050565b93505060206141b886828701614050565b92505060406141c986828701614050565b9150509250925092565b5f6080820190506141e65f830187613b2f565b6141f36020830186613b2f565b6142006040830185613b2f565b61420d6060830184613b2f565b95945050505050565b7f42414259544f4b454e3a20676173466f7250726f63657373696e67206d7573745f8201527f206265206265747765656e203230302c30303020616e64203530302c30303000602082015250565b5f614270603f8361395e565b915061427b82614216565b604082019050919050565b5f6020820190508181035f83015261429d81614264565b9050919050565b7f42414259544f4b454e3a2043616e6e6f742075706461746520676173466f72505f8201527f726f63657373696e6720746f2073616d652076616c7565000000000000000000602082015250565b5f6142fe60378361395e565b9150614309826142a4565b604082019050919050565b5f6020820190508181035f83015261432b816142f2565b9050919050565b7f42414259544f4b454e3a20546865206469766964656e6420747261636b6572205f8201527f616c726561647920686173207468617420616464726573730000000000000000602082015250565b5f61438c60388361395e565b915061439782614332565b604082019050919050565b5f6020820190508181035f8301526143b981614380565b9050919050565b7f42414259544f4b454e3a20546865206e6577206469766964656e6420747261635f8201527f6b6572206d757374206265206f776e6564206279207468652042414259544f4b60208201527f454e20746f6b656e20636f6e7472616374000000000000000000000000000000604082015250565b5f61444060518361395e565b915061444b826143c0565b606082019050919050565b5f6020820190508181035f83015261446d81614434565b9050919050565b7f42414259544f4b454e3a20546865204d6574726f20706169722063616e6e6f745f8201527f2062652072656d6f7665642066726f6d206175746f6d617465644d61726b657460208201527f4d616b6572506169727300000000000000000000000000000000000000000000604082015250565b5f6144f4604a8361395e565b91506144ff82614474565b606082019050919050565b5f6020820190508181035f830152614521816144e8565b9050919050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f775f8201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b5f61458260258361395e565b915061458d82614528565b604082019050919050565b5f6020820190508181035f8301526145af81614576565b9050919050565b7f42414259544f4b454e3a204163636f756e7420697320616c72656164792074685f8201527f652076616c7565206f6620276578636c75646564270000000000000000000000602082015250565b5f61461060358361395e565b915061461b826145b6565b604082019050919050565b5f6020820190508181035f83015261463d81614604565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b5f61467b82613a60565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82036146ad576146ac613f7b565b5b600182019050919050565b5f82825260208201905092915050565b5f819050919050565b6146da81613a25565b82525050565b5f6146eb83836146d1565b60208301905092915050565b5f6147056020840184613a4c565b905092915050565b5f602082019050919050565b5f61472483856146b8565b935061472f826146c8565b805f5b858110156147675761474482846146f7565b61474e88826146e0565b97506147598361470d565b925050600181019050614732565b5085925050509392505050565b5f6040820190508181035f83015261478d818587614719565b905061479c6020830184613adc565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f20615f8201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b5f6147fe60268361395e565b9150614809826147a4565b604082019050919050565b5f6020820190508181035f83015261482b816147f2565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f61488c60248361395e565b915061489782614832565b604082019050919050565b5f6020820190508181035f8301526148b981614880565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f61491a60228361395e565b9150614925826148c0565b604082019050919050565b5f6020820190508181035f8301526149478161490e565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65725f82015250565b5f61498260208361395e565b915061498d8261494e565b602082019050919050565b5f6020820190508181035f8301526149af81614976565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f6149ea601d8361395e565b91506149f5826149b6565b602082019050919050565b5f6020820190508181035f830152614a17816149de565b9050919050565b7f45524332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f614a7860258361395e565b9150614a8382614a1e565b604082019050919050565b5f6020820190508181035f830152614aa581614a6c565b9050919050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f614b0660238361395e565b9150614b1182614aac565b604082019050919050565b5f6020820190508181035f830152614b3381614afa565b9050919050565b5f604082019050614b4d5f830185613fdb565b614b5a6020830184613b2f565b9392505050565b7f536166654d6174683a206164646974696f6e206f766572666c6f7700000000005f82015250565b5f614b95601b8361395e565b9150614ba082614b61565b602082019050919050565b5f6020820190508181035f830152614bc281614b89565b9050919050565b7f42414259544f4b454e3a204175746f6d61746564206d61726b6574206d616b655f8201527f72207061697220697320616c72656164792073657420746f207468617420766160208201527f6c75650000000000000000000000000000000000000000000000000000000000604082015250565b5f614c4960438361395e565b9150614c5482614bc9565b606082019050919050565b5f6020820190508181035f830152614c7681614c3d565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f614cd760268361395e565b9150614ce282614c7d565b604082019050919050565b5f6020820190508181035f830152614d0481614ccb565b9050919050565b5f614d1582613a60565b9150614d2083613a60565b9250828202614d2e81613a60565b91508282048414831517614d4557614d44613f7b565b5b5092915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f614d8382613a60565b9150614d8e83613a60565b925082614d9e57614d9d614d4c565b5b828204905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f5f8201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b5f614e0360218361395e565b9150614e0e82614da9565b604082019050919050565b5f6020820190508181035f830152614e3081614df7565b9050919050565b5f606082019050614e4a5f830186613b2f565b614e576020830185613b2f565b614e646040830184613b2f565b949350505050565b5f604082019050614e7f5f830185613b2f565b614e8c6020830184613b2f565b9392505050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b5f819050919050565b5f614ee3614ede614ed984614ec0565b613b57565b613a60565b9050919050565b614ef381614ec9565b82525050565b5f81519050919050565b5f819050602082019050919050565b5f602082019050919050565b5f614f2882614ef9565b614f3281856146b8565b9350614f3d83614f03565b805f5b83811015614f6d578151614f5488826146e0565b9750614f5f83614f12565b925050600181019050614f40565b5085935050505092915050565b5f60a082019050614f8d5f830188613b2f565b614f9a6020830187614eea565b8181036040830152614fac8186614f1e565b9050614fbb6060830185613cc4565b614fc86080830184613b2f565b9695505050505050565b5f60c082019050614fe55f830189613cc4565b614ff26020830188613b2f565b614fff6040830187614eea565b61500c6060830186614eea565b6150196080830185613cc4565b61502660a0830184613b2f565b979650505050505050565b5f61503b82613a60565b915061504683613a60565b925082820390508181111561505e5761505d613f7b565b5b9291505056fea264697066735822122080583c16d2c1e2963ba57715b0abeacd02357f4039278c65a056722a8d5eedc264736f6c63430008140033

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

00000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000000000000000000000000000000000003b9aca0000000000000000000000000095a7e403d7cf20f675ff9273d66e94d35ba49fa3000000000000000000000000265bc809fd1c2eae5807dd50ceaa44079696f7e60000000000000000000000001baaa9d3192fe9cc35c0c479135004a4924570cd000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000028000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000000000000000000000000000000000000000006746573743130000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000037473740000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): test10
Arg [1] : symbol_ (string): tst
Arg [2] : totalSupply_ (uint256): 1000000000
Arg [3] : addrs (address[3]): 0x95a7e403d7cF20F675fF9273D66e94d35ba49fA3,0x265Bc809fD1C2Eae5807Dd50CeaA44079696f7E6,0x1BaAA9D3192fE9Cc35c0C479135004a4924570CD
Arg [4] : feeSettings (uint256[3]): 10,0,40
Arg [5] : minimumTokenBalanceForDividends_ (uint256): 10

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 000000000000000000000000000000000000000000000000000000003b9aca00
Arg [3] : 00000000000000000000000095a7e403d7cf20f675ff9273d66e94d35ba49fa3
Arg [4] : 000000000000000000000000265bc809fd1c2eae5807dd50ceaa44079696f7e6
Arg [5] : 0000000000000000000000001baaa9d3192fe9cc35c0c479135004a4924570cd
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000028
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [11] : 7465737431300000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [13] : 7473740000000000000000000000000000000000000000000000000000000000


Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

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

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