ETH Price: $3,178.63 (+2.40%)

Token

Dividend_Tracker (Dividend_Tracker)
 

Overview

Max Total Supply

522,971,900.950441133018472782 Dividend_Tracker

Holders

200

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
132,941.8688 Dividend_Tracker

Value
$0.00
0x7f753303097c8d987e31fd6b52bff89c3611ea35
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
DividendTracker

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
No with 200 runs

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

pragma solidity =0.8.15;

import "./DividendToken.sol";


contract KomainuX is ERC20, Ownable {

    IRouter public router;
    address public pair;
    DividendTracker public dividendTracker;

    address public burnAddress = (address(0xdead));
    address public devWallet = 0x243dB5Db1EE44392E5d3495407A05945dEb528F0;
    address public marketingWallet;

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


    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedFromMaxWallet;
    mapping(address => bool) public automatedMarketMakerPairs;

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

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

    struct Taxes {
        uint256 rewards;
        uint256 burn;
        uint256 marketing;
        uint256 dev;
    }

    Taxes public buyTaxes = Taxes(2, 1, 1, 1);
    Taxes public sellTaxes = Taxes(2, 1, 1, 1);

    uint256 public totalBuyTax = 5;
    uint256 public totalSellTax = 5;

    constructor(address _marketing)
        ERC20("KomainuX", "KOMAX")
    {
        dividendTracker = new DividendTracker();
        setSwapTokensAtAmount(5000000);
        updateMaxWalletAmount(30000000);
        setMaxBuyAndSell(30000000 , 20000000);
        UpdateMarketingAddress(_marketing);
        IRouter _router = IRouter(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        address _pair = IFactory(_router.factory()).createPair(
            address(this),
            _router.WETH()
        );

        router = _router;
        pair = _pair;

        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(0x000000000000000000000000000000000000dEaD), true);
        excludeFromMaxWallet(_pair, true);
        excludeFromMaxWallet(address(dividendTracker), true);
        excludeFromMaxWallet(address(this), true);
        excludeFromMaxWallet(address(0x000000000000000000000000000000000000dEaD), true);
        excludeFromMaxWallet(address(_router), true);
        _setAutomatedMarketMakerPair(_pair, true);
        dividendTracker.excludeFromDividends(address(dividendTracker), true);
        dividendTracker.excludeFromDividends(address(this), true);
        dividendTracker.excludeFromDividends(owner(), true);
        dividendTracker.excludeFromDividends(address(0x000000000000000000000000000000000000dEaD), true);
        dividendTracker.excludeFromDividends(address(_router), true);

        /*
            _mint is an internal function that is only called here,
            and cannot be called ever again
        */
        _mint(owner(), 1000000000 * (10**18));
    }

    receive() external payable {}

    function updateDividendTracker(address newAddress) public onlyOwner {
        DividendTracker newDividendTracker = DividendTracker(
            payable(newAddress)
        );

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

        dividendTracker = newDividendTracker;
    }


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

        emit ExcludeFromFees(account, excluded);
    }

    function excludeFromMaxWallet(address account, bool excluded)
        public
        onlyOwner
    {
        _isExcludedFromMaxWallet[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);
    }

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


    function updateMaxWalletAmount(uint256 newNum) public onlyOwner {
        require(newNum > (10000000), "Cannot set maxWallet lower than 1%");
        maxWallet = newNum * (10**18);
    }

    function setMaxBuyAndSell(uint256 maxBuy, uint256 maxSell)
        public
        onlyOwner
    {
        require(maxBuy >= 10000000, "Cannot set maxbuy lower than 1% ");
        require(maxSell >= 5000000, "Cannot set maxsell lower than 0.5% ");
        maxBuyAmount = maxBuy * 10**18;
        maxSellAmount = maxSell * 10**18;
    }

    /// @notice Update the threshold to swap tokens for liquidity,
    ///   burn and dividends.
    function setSwapTokensAtAmount(uint256 amount) public onlyOwner {
        require(amount < 250000000, "Cannot set swaptokens higher then than 25% ");
        swapTokensAtAmount = amount * 10**18;
    }

    function setBuyTaxes(
        uint256 _rewards,
        uint256 _burn,
        uint256 _marketing
    ) external onlyOwner {
        require(_rewards + _burn + _marketing + 1 <= 20, "Fee must be <= 20%");
        buyTaxes = Taxes(_rewards, _burn, _marketing, 1);
        totalBuyTax = (_rewards + _burn + _marketing + 1);
    }

    function setSellTaxes(
        uint256 _rewards,
        uint256 _burn,
        uint256 _marketing
    ) external onlyOwner {
        require(_rewards + _burn + _marketing <= 20, "Fee must be <= 20%");
        sellTaxes = Taxes(_rewards, _burn, _marketing, 1);
        totalSellTax = (_rewards + _burn + _marketing + 1);
    }

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

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

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

    /// @notice Send remaining ETH to burnWallet
    /// @dev It will send all ETH to burnWallet
    function forceSend() external onlyOwner {
        (bool success, ) = payable(marketingWallet).call{
            value: address(this).balance
        }("");
        require(success, "Failed to send Ether to dev wallet");
    }

    function trackerRescueETH20Tokens(address tokenAddress) external onlyOwner {
        dividendTracker.trackerRescueETH20Tokens(owner(), tokenAddress);
    }

    function trackerForceSend() external onlyOwner {
        dividendTracker.trackerForceSend(owner());
    }

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

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

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



    function TotalBurned() public view returns(uint256) {
        return balanceOf(address(0x000000000000000000000000000000000000dEaD));
    }

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

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

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

        emit SetAutomatedMarketMakerPair(newPair, value);
    }

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

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

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

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

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

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

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

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

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

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

            if (totalSellTax > 0) {
                swapAndLiquify(swapTokensAtAmount);
            }

            swapping = false;
        }

        bool takeFee = !swapping;

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

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

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

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

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

    function swapAndLiquify(uint256 tokens) private {
        uint256 toSwap = tokens; 
        uint256 totalTax = (totalSellTax);


        uint256 burnAmt = (toSwap * sellTaxes.burn / totalTax);

        if (burnAmt > 0) {
        IERC20 token = IERC20(address(this));
        token.transfer(burnAddress, burnAmt);

        }

        toSwap -= burnAmt;
        
    
        swapTokensForETH(toSwap);


        uint256 contractrewardbalance = address(this).balance;//eth
        


        uint256 devAmt = (contractrewardbalance * sellTaxes.dev) / (totalTax - sellTaxes.burn);
        if (devAmt > 0) {
            (bool success, ) = payable(devWallet).call{value: devAmt}("");
            require(success, "Failed to send Ether to dev wallet");
        }
        uint256 marketingAmt = (contractrewardbalance * sellTaxes.marketing) / (totalTax - sellTaxes.burn);
        if (marketingAmt > 0) {
            (bool success, ) = payable(address(marketingWallet)).call{value: marketingAmt}("");
            require(success, "Failed to send Ether to marketing wallet");
        }

        //Send ETH to dividends
        uint256 dividends = (contractrewardbalance * sellTaxes.rewards) / (totalTax - sellTaxes.burn);
        if (dividends > 0) {
            (bool success, ) = payable(address(dividendTracker)).call{
                value: dividends
            }("");
            if (success) {
                dividendTracker.distributeDividends(dividends);
                emit SendDividends(tokens, dividends);
            }
        }
    }

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

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

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

contract DividendTracker is Ownable, DividendPayingToken {
    struct AccountInfo {
        address account;
        uint256 withdrawableDividends;
        uint256 totalDividends;
        uint256 lastClaimTime;
    }

    mapping(address => bool) public excludedFromDividends;

    mapping(address => uint256) public lastClaimTimes;

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

    constructor() DividendPayingToken("Dividend_Tracker", "Dividend_Tracker") {}

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

    function trackerForceSend(address recipient) external onlyOwner {
        (bool success, ) = payable(recipient).call{
            value: address(this).balance
        }("");
        require(success, "Failed to send Ether to wallet");
    }

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

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

    function getAccount(address account)
        public
        view
        returns (
            address,
            uint256,
            uint256,
            uint256,
            uint256
        )
    {
        AccountInfo memory info;
        info.account = account;
        info.withdrawableDividends = withdrawableDividendOf(account);
        info.totalDividends = accumulativeDividendOf(account);
        info.lastClaimTime = lastClaimTimes[account];
        return (
            info.account,
            info.withdrawableDividends,
            info.totalDividends,
            info.lastClaimTime,
            totalDividendsWithdrawn
        );
    }

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

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

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

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

pragma solidity ^0.8.10;


import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "./DividendPayingTokenInterface.sol";
import "./IDEX.sol";

library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

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

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

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

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

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

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

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


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

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



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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

  //address public LP_Token;
  receive() external payable {}

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

  uint256 internal magnifiedDividendPerShare;

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

  uint256 public totalDividendsDistributed;
  uint256 public totalDividendsWithdrawn;

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

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

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

      totalDividendsDistributed = totalDividendsDistributed.add(amount);
    }
  }

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

  /// @notice Withdraws the ether distributed to the sender.
  /// @dev It emits a `DividendWithdrawn` event if the amount of withdrawn ether is greater than 0.
 function _withdrawDividendOfUser(address payable user) internal returns (uint256) {
    uint256 _withdrawableDividend = withdrawableDividendOf(user);
    if (_withdrawableDividend > 0) {
      withdrawnDividends[user] = withdrawnDividends[user].add(_withdrawableDividend);
      totalDividendsWithdrawn += _withdrawableDividend;
      emit DividendWithdrawn(user, _withdrawableDividend);
      (bool success, ) = payable(user).call{ value: _withdrawableDividend }("");
      //bool success = IERC20(LP_Token).transfer(user, _withdrawableDividend);

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

      return _withdrawableDividend;
    }

    return 0;
  }


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

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

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


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

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

    int256 _magCorrection = magnifiedDividendPerShare.mul(value).toInt256Safe();
    magnifiedDividendCorrections[from] = magnifiedDividendCorrections[from].add(_magCorrection);
    magnifiedDividendCorrections[to] = magnifiedDividendCorrections[to].sub(_magCorrection);
  }

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

    magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
      .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
  }

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

    magnifiedDividendCorrections[account] = magnifiedDividendCorrections[account]
      .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
  }

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

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

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

pragma solidity ^0.8.10;



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

}

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

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

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

pragma solidity ^0.8.6;


/// @title Dividend-Paying Token Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev An interface for a dividend-paying token contract.
interface DividendPayingTokenInterface {
  /// @notice View the amount of dividend in wei that an address can withdraw.
  /// @param _owner The address of a token holder.
  /// @return The amount of dividend in wei that `_owner` can withdraw.
  function dividendOf(address _owner) external view returns(uint256);

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


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

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

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

pragma solidity ^0.8.0;

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "../IERC20.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"weiAmount","type":"uint256"}],"name":"DividendsDistributed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"value","type":"bool"}],"name":"ExcludeFromDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"accumulativeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"distributeDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"dividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccount","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"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":"","type":"address"}],"name":"lastClaimTimes","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":"address payable","name":"account","type":"address"}],"name":"processAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"setBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsWithdrawn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"}],"name":"trackerForceSend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"}],"name":"trackerRescueETH20Tokens","outputs":[],"stateMutability":"nonpayable","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":"withdrawDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040518060400160405280601081526020017f4469766964656e645f547261636b6572000000000000000000000000000000008152506040518060400160405280601081526020017f4469766964656e645f547261636b6572000000000000000000000000000000008152508181816003908162000091919062000416565b508060049081620000a3919062000416565b505050620000c6620000ba620000ce60201b60201c565b620000d660201b60201c565b5050620004fd565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200021e57607f821691505b602082108103620002345762000233620001d6565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026200029e7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826200025f565b620002aa86836200025f565b95508019841693508086168417925050509392505050565b6000819050919050565b6000819050919050565b6000620002f7620002f1620002eb84620002c2565b620002cc565b620002c2565b9050919050565b6000819050919050565b6200031383620002d6565b6200032b6200032282620002fe565b8484546200026c565b825550505050565b600090565b6200034262000333565b6200034f81848462000308565b505050565b5b8181101562000377576200036b60008262000338565b60018101905062000355565b5050565b601f821115620003c65762000390816200023a565b6200039b846200024f565b81016020851015620003ab578190505b620003c3620003ba856200024f565b83018262000354565b50505b505050565b600082821c905092915050565b6000620003eb60001984600802620003cb565b1980831691505092915050565b6000620004068383620003d8565b9150826002028217905092915050565b62000421826200019c565b67ffffffffffffffff8111156200043d576200043c620001a7565b5b62000449825462000205565b620004568282856200037b565b600060209050601f8311600181146200048e576000841562000479578287015190505b620004858582620003f8565b865550620004f5565b601f1984166200049e866200023a565b60005b82811015620004c857848901518255600182019150602085019450602081019050620004a1565b86831015620004e85784890151620004e4601f891682620003d8565b8355505b6001600288020188555050505b505050505050565b61306e806200050d6000396000f3fe6080604052600436106101d15760003560e01c8063715018a6116100f7578063a457c2d711610095578063dd62ed3e11610064578063dd62ed3e146106f5578063e30443bc14610732578063f2fde38b1461075b578063fbcbc0f114610784576101d8565b8063a457c2d714610601578063a8b9d2401461063e578063a9059cbb1461067b578063aafd847a146106b8576101d8565b80638da5cb5b116100d15780638da5cb5b1461054357806391b89fba1461056e57806395d89b41146105ab5780639e1e0661146105d6576101d8565b8063715018a6146104c4578063807ab4f7146104db57806385a6b3ae14610518576101d8565b8063313ce5671161016f578063497ec8231161013e578063497ec8231461040a5780634e7b827f146104335780636a4740021461047057806370a0823114610487576101d8565b8063313ce567146103505780633243c7911461037b57806339509351146103a45780633b36a1d7146103e1576101d8565b806318160ddd116101ab57806318160ddd1461026e578063226cfa3d1461029957806323b872dd146102d657806327ce014714610313576101d8565b80630483f7a0146101dd57806306fdde0314610206578063095ea7b314610231576101d8565b366101d857005b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff91906121c3565b6107c5565b005b34801561021257600080fd5b5061021b610901565b604051610228919061229c565b60405180910390f35b34801561023d57600080fd5b50610258600480360381019061025391906122f4565b610993565b6040516102659190612343565b60405180910390f35b34801561027a57600080fd5b506102836109b6565b604051610290919061236d565b60405180910390f35b3480156102a557600080fd5b506102c060048036038101906102bb9190612388565b6109c0565b6040516102cd919061236d565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f891906123b5565b6109d8565b60405161030a9190612343565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190612388565b610a07565b604051610347919061236d565b60405180910390f35b34801561035c57600080fd5b50610365610aaa565b6040516103729190612424565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d919061243f565b610ab3565b005b3480156103b057600080fd5b506103cb60048036038101906103c691906122f4565b610b95565b6040516103d89190612343565b60405180910390f35b3480156103ed57600080fd5b5061040860048036038101906104039190612388565b610bcc565b005b34801561041657600080fd5b50610431600480360381019061042c919061246c565b610c84565b005b34801561043f57600080fd5b5061045a60048036038101906104559190612388565b610d88565b6040516104679190612343565b60405180910390f35b34801561047c57600080fd5b50610485610da8565b005b34801561049357600080fd5b506104ae60048036038101906104a99190612388565b610db4565b6040516104bb919061236d565b60405180910390f35b3480156104d057600080fd5b506104d9610dfc565b005b3480156104e757600080fd5b5061050260048036038101906104fd91906124ea565b610e10565b60405161050f9190612343565b60405180910390f35b34801561052457600080fd5b5061052d610ed7565b60405161053a919061236d565b60405180910390f35b34801561054f57600080fd5b50610558610edd565b6040516105659190612526565b60405180910390f35b34801561057a57600080fd5b5061059560048036038101906105909190612388565b610f07565b6040516105a2919061236d565b60405180910390f35b3480156105b757600080fd5b506105c0610f19565b6040516105cd919061229c565b60405180910390f35b3480156105e257600080fd5b506105eb610fab565b6040516105f8919061236d565b60405180910390f35b34801561060d57600080fd5b50610628600480360381019061062391906122f4565b610fb1565b6040516106359190612343565b60405180910390f35b34801561064a57600080fd5b5061066560048036038101906106609190612388565b611028565b604051610672919061236d565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d91906122f4565b61108b565b6040516106af9190612343565b60405180910390f35b3480156106c457600080fd5b506106df60048036038101906106da9190612388565b6110ae565b6040516106ec919061236d565b60405180910390f35b34801561070157600080fd5b5061071c6004803603810190610717919061246c565b6110f7565b604051610729919061236d565b60405180910390f35b34801561073e57600080fd5b50610759600480360381019061075491906122f4565b61117e565b005b34801561076757600080fd5b50610782600480360381019061077d9190612388565b6111e6565b005b34801561079057600080fd5b506107ab60048036038101906107a69190612388565b611269565b6040516107bc959493929190612541565b60405180910390f35b6107cd611349565b801515600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615150361082957600080fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600115158115150361089c576108978260006113c7565b6108af565b6108ae826108a984610db4565b6113c7565b5b8173ffffffffffffffffffffffffffffffffffffffff167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be826040516108f59190612343565b60405180910390a25050565b606060038054610910906125c3565b80601f016020809104026020016040519081016040528092919081815260200182805461093c906125c3565b80156109895780601f1061095e57610100808354040283529160200191610989565b820191906000526020600020905b81548152906001019060200180831161096c57829003601f168201915b5050505050905090565b60008061099e611434565b90506109ab81858561143c565b600191505092915050565b6000600254905090565b600c6020528060005260406000206000915090505481565b6000806109e3611434565b90506109f0858285611605565b6109fb858585611691565b60019150509392505050565b6000700100000000000000000000000000000000610a99610a94600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610a86610a81610a7088610db4565b6006546116d790919063ffffffff16565b611751565b61176e90919063ffffffff16565b6117b9565b610aa39190612652565b9050919050565b60006012905090565b610abb611349565b6000610ac56109b6565b11610acf57600080fd5b6000811115610b9257610b22610ae36109b6565b610b07700100000000000000000000000000000000846116d790919063ffffffff16565b610b119190612652565b6006546117d090919063ffffffff16565b6006819055503373ffffffffffffffffffffffffffffffffffffffff167fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d7845411651182604051610b6e919061236d565b60405180910390a2610b8b816009546117d090919063ffffffff16565b6009819055505b50565b600080610ba0611434565b9050610bc1818585610bb285896110f7565b610bbc9190612683565b61143c565b600191505092915050565b610bd4611349565b60008173ffffffffffffffffffffffffffffffffffffffff1647604051610bfa9061270a565b60006040518083038185875af1925050503d8060008114610c37576040519150601f19603f3d011682016040523d82523d6000602084013e610c3c565b606091505b5050905080610c80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c779061276b565b60405180910390fd5b5050565b610c8c611349565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb838373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ce29190612526565b602060405180830381865afa158015610cff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2391906127a0565b6040518363ffffffff1660e01b8152600401610d409291906127cd565b6020604051808303816000875af1158015610d5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d83919061280b565b505050565b600b6020528060005260406000206000915054906101000a900460ff1681565b610db13361182e565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e04611349565b610e0e6000611a80565b565b6000610e1a611349565b6000610e258361182e565b90506000811115610ecc5742600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d482604051610eba919061236d565b60405180910390a26001915050610ed2565b60009150505b919050565b60095481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610f1282611028565b9050919050565b606060048054610f28906125c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f54906125c3565b8015610fa15780601f10610f7657610100808354040283529160200191610fa1565b820191906000526020600020905b815481529060010190602001808311610f8457829003601f168201915b5050505050905090565b600a5481565b600080610fbc611434565b90506000610fca82866110f7565b90508381101561100f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611006906128aa565b60405180910390fd5b61101c828686840361143c565b60019250505092915050565b6000611084600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461107684610a07565b611b4690919063ffffffff16565b9050919050565b600080611096611434565b90506110a3818585611691565b600191505092915050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611186611349565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166111e2576111e182826113c7565b5b5050565b6111ee611349565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361125d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112549061293c565b60405180910390fd5b61126681611a80565b50565b60008060008060006112796120ea565b86816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506112ba87611028565b8160200181815250506112cc87610a07565b816040018181525050600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548160600181815250508060000151816020015182604001518360600151600a54955095509550955095505091939590929450565b611351611434565b73ffffffffffffffffffffffffffffffffffffffff1661136f610edd565b73ffffffffffffffffffffffffffffffffffffffff16146113c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bc906129a8565b60405180910390fd5b565b60006113d283610db4565b9050808211156114035760006113f18284611b4690919063ffffffff16565b90506113fd8482611b90565b5061142f565b8082101561142e5760006114208383611b4690919063ffffffff16565b905061142c8482611c4f565b505b5b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a290612a3a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361151a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151190612acc565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516115f8919061236d565b60405180910390a3505050565b600061161184846110f7565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461168b578181101561167d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167490612b38565b60405180910390fd5b61168a848484840361143c565b5b50505050565b60006116d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c990612bca565b60405180910390fd5b505050565b60008083036116e9576000905061174b565b600082846116f79190612bea565b90508284826117069190612652565b14611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90612cb6565b60405180910390fd5b809150505b92915050565b600080829050600081121561176557600080fd5b80915050919050565b600080828461177d9190612ce0565b9050600083121580156117905750838112155b806117a657506000831280156117a557508381125b5b6117af57600080fd5b8091505092915050565b6000808212156117c857600080fd5b819050919050565b60008082846117df9190612683565b905083811015611824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181b90612dc0565b60405180910390fd5b8091505092915050565b60008061183a83611028565b90506000811115611a755761189781600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117d090919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600a60008282546118ec9190612683565b925050819055508273ffffffffffffffffffffffffffffffffffffffff167fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d82604051611939919061236d565b60405180910390a260008373ffffffffffffffffffffffffffffffffffffffff16826040516119679061270a565b60006040518083038185875af1925050503d80600081146119a4576040519150601f19603f3d011682016040523d82523d6000602084013e6119a9565b606091505b5050905080611a6b57611a0482600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b4690919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600a6000828254611a599190612de0565b92505081905550600092505050611a7b565b8192505050611a7b565b60009150505b919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611b8883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d0e565b905092915050565b611b9a8282611d72565b611c08611bba611bb5836006546116d790919063ffffffff16565b611751565b600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ec890919063ffffffff16565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b611c598282611f13565b611cc7611c79611c74836006546116d790919063ffffffff16565b611751565b600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461176e90919063ffffffff16565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000838311158290611d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4d919061229c565b60405180910390fd5b5060008385611d659190612de0565b9050809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd890612e60565b60405180910390fd5b611ded600083836120e0565b8060026000828254611dff9190612683565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611eb0919061236d565b60405180910390a3611ec4600083836120e5565b5050565b6000808284611ed79190612e80565b905060008312158015611eea5750838113155b80611f005750600083128015611eff57508381135b5b611f0957600080fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7990612f86565b60405180910390fd5b611f8e826000836120e0565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200b90613018565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120c7919061236d565b60405180910390a36120db836000846120e5565b505050565b505050565b505050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600081525090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121588261212d565b9050919050565b6121688161214d565b811461217357600080fd5b50565b6000813590506121858161215f565b92915050565b60008115159050919050565b6121a08161218b565b81146121ab57600080fd5b50565b6000813590506121bd81612197565b92915050565b600080604083850312156121da576121d9612128565b5b60006121e885828601612176565b92505060206121f9858286016121ae565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561223d578082015181840152602081019050612222565b8381111561224c576000848401525b50505050565b6000601f19601f8301169050919050565b600061226e82612203565b612278818561220e565b935061228881856020860161221f565b61229181612252565b840191505092915050565b600060208201905081810360008301526122b68184612263565b905092915050565b6000819050919050565b6122d1816122be565b81146122dc57600080fd5b50565b6000813590506122ee816122c8565b92915050565b6000806040838503121561230b5761230a612128565b5b600061231985828601612176565b925050602061232a858286016122df565b9150509250929050565b61233d8161218b565b82525050565b60006020820190506123586000830184612334565b92915050565b612367816122be565b82525050565b6000602082019050612382600083018461235e565b92915050565b60006020828403121561239e5761239d612128565b5b60006123ac84828501612176565b91505092915050565b6000806000606084860312156123ce576123cd612128565b5b60006123dc86828701612176565b93505060206123ed86828701612176565b92505060406123fe868287016122df565b9150509250925092565b600060ff82169050919050565b61241e81612408565b82525050565b60006020820190506124396000830184612415565b92915050565b60006020828403121561245557612454612128565b5b6000612463848285016122df565b91505092915050565b6000806040838503121561248357612482612128565b5b600061249185828601612176565b92505060206124a285828601612176565b9150509250929050565b60006124b78261212d565b9050919050565b6124c7816124ac565b81146124d257600080fd5b50565b6000813590506124e4816124be565b92915050565b600060208284031215612500576124ff612128565b5b600061250e848285016124d5565b91505092915050565b6125208161214d565b82525050565b600060208201905061253b6000830184612517565b92915050565b600060a0820190506125566000830188612517565b612563602083018761235e565b612570604083018661235e565b61257d606083018561235e565b61258a608083018461235e565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806125db57607f821691505b6020821081036125ee576125ed612594565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061265d826122be565b9150612668836122be565b925082612678576126776125f4565b5b828204905092915050565b600061268e826122be565b9150612699836122be565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156126ce576126cd612623565b5b828201905092915050565b600081905092915050565b50565b60006126f46000836126d9565b91506126ff826126e4565b600082019050919050565b6000612715826126e7565b9150819050919050565b7f4661696c656420746f2073656e6420457468657220746f2077616c6c65740000600082015250565b6000612755601e8361220e565b91506127608261271f565b602082019050919050565b6000602082019050818103600083015261278481612748565b9050919050565b60008151905061279a816122c8565b92915050565b6000602082840312156127b6576127b5612128565b5b60006127c48482850161278b565b91505092915050565b60006040820190506127e26000830185612517565b6127ef602083018461235e565b9392505050565b60008151905061280581612197565b92915050565b60006020828403121561282157612820612128565b5b600061282f848285016127f6565b91505092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061289460258361220e565b915061289f82612838565b604082019050919050565b600060208201905081810360008301526128c381612887565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061292660268361220e565b9150612931826128ca565b604082019050919050565b6000602082019050818103600083015261295581612919565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061299260208361220e565b915061299d8261295c565b602082019050919050565b600060208201905081810360008301526129c181612985565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612a2460248361220e565b9150612a2f826129c8565b604082019050919050565b60006020820190508181036000830152612a5381612a17565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ab660228361220e565b9150612ac182612a5a565b604082019050919050565b60006020820190508181036000830152612ae581612aa9565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612b22601d8361220e565b9150612b2d82612aec565b602082019050919050565b60006020820190508181036000830152612b5181612b15565b9050919050565b7f4469766964656e645f547261636b65723a204e6f207472616e7366657273206160008201527f6c6c6f7765640000000000000000000000000000000000000000000000000000602082015250565b6000612bb460268361220e565b9150612bbf82612b58565b604082019050919050565b60006020820190508181036000830152612be381612ba7565b9050919050565b6000612bf5826122be565b9150612c00836122be565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612c3957612c38612623565b5b828202905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ca060218361220e565b9150612cab82612c44565b604082019050919050565b60006020820190508181036000830152612ccf81612c93565b9050919050565b6000819050919050565b6000612ceb82612cd6565b9150612cf683612cd6565b9250817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03831360008312151615612d3157612d30612623565b5b817f8000000000000000000000000000000000000000000000000000000000000000038312600083121615612d6957612d68612623565b5b828201905092915050565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b6000612daa601b8361220e565b9150612db582612d74565b602082019050919050565b60006020820190508181036000830152612dd981612d9d565b9050919050565b6000612deb826122be565b9150612df6836122be565b925082821015612e0957612e08612623565b5b828203905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612e4a601f8361220e565b9150612e5582612e14565b602082019050919050565b60006020820190508181036000830152612e7981612e3d565b9050919050565b6000612e8b82612cd6565b9150612e9683612cd6565b9250827f800000000000000000000000000000000000000000000000000000000000000001821260008412151615612ed157612ed0612623565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018213600084121615612f0957612f08612623565b5b828203905092915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612f7060218361220e565b9150612f7b82612f14565b604082019050919050565b60006020820190508181036000830152612f9f81612f63565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061300260228361220e565b915061300d82612fa6565b604082019050919050565b6000602082019050818103600083015261303181612ff5565b905091905056fea2646970667358221220e2fd91c0fe9c379fc753dd7a591b4e7566e6a6c55c8f6de894564d9909d88aea64736f6c634300080f0033

Deployed Bytecode

0x6080604052600436106101d15760003560e01c8063715018a6116100f7578063a457c2d711610095578063dd62ed3e11610064578063dd62ed3e146106f5578063e30443bc14610732578063f2fde38b1461075b578063fbcbc0f114610784576101d8565b8063a457c2d714610601578063a8b9d2401461063e578063a9059cbb1461067b578063aafd847a146106b8576101d8565b80638da5cb5b116100d15780638da5cb5b1461054357806391b89fba1461056e57806395d89b41146105ab5780639e1e0661146105d6576101d8565b8063715018a6146104c4578063807ab4f7146104db57806385a6b3ae14610518576101d8565b8063313ce5671161016f578063497ec8231161013e578063497ec8231461040a5780634e7b827f146104335780636a4740021461047057806370a0823114610487576101d8565b8063313ce567146103505780633243c7911461037b57806339509351146103a45780633b36a1d7146103e1576101d8565b806318160ddd116101ab57806318160ddd1461026e578063226cfa3d1461029957806323b872dd146102d657806327ce014714610313576101d8565b80630483f7a0146101dd57806306fdde0314610206578063095ea7b314610231576101d8565b366101d857005b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff91906121c3565b6107c5565b005b34801561021257600080fd5b5061021b610901565b604051610228919061229c565b60405180910390f35b34801561023d57600080fd5b50610258600480360381019061025391906122f4565b610993565b6040516102659190612343565b60405180910390f35b34801561027a57600080fd5b506102836109b6565b604051610290919061236d565b60405180910390f35b3480156102a557600080fd5b506102c060048036038101906102bb9190612388565b6109c0565b6040516102cd919061236d565b60405180910390f35b3480156102e257600080fd5b506102fd60048036038101906102f891906123b5565b6109d8565b60405161030a9190612343565b60405180910390f35b34801561031f57600080fd5b5061033a60048036038101906103359190612388565b610a07565b604051610347919061236d565b60405180910390f35b34801561035c57600080fd5b50610365610aaa565b6040516103729190612424565b60405180910390f35b34801561038757600080fd5b506103a2600480360381019061039d919061243f565b610ab3565b005b3480156103b057600080fd5b506103cb60048036038101906103c691906122f4565b610b95565b6040516103d89190612343565b60405180910390f35b3480156103ed57600080fd5b5061040860048036038101906104039190612388565b610bcc565b005b34801561041657600080fd5b50610431600480360381019061042c919061246c565b610c84565b005b34801561043f57600080fd5b5061045a60048036038101906104559190612388565b610d88565b6040516104679190612343565b60405180910390f35b34801561047c57600080fd5b50610485610da8565b005b34801561049357600080fd5b506104ae60048036038101906104a99190612388565b610db4565b6040516104bb919061236d565b60405180910390f35b3480156104d057600080fd5b506104d9610dfc565b005b3480156104e757600080fd5b5061050260048036038101906104fd91906124ea565b610e10565b60405161050f9190612343565b60405180910390f35b34801561052457600080fd5b5061052d610ed7565b60405161053a919061236d565b60405180910390f35b34801561054f57600080fd5b50610558610edd565b6040516105659190612526565b60405180910390f35b34801561057a57600080fd5b5061059560048036038101906105909190612388565b610f07565b6040516105a2919061236d565b60405180910390f35b3480156105b757600080fd5b506105c0610f19565b6040516105cd919061229c565b60405180910390f35b3480156105e257600080fd5b506105eb610fab565b6040516105f8919061236d565b60405180910390f35b34801561060d57600080fd5b50610628600480360381019061062391906122f4565b610fb1565b6040516106359190612343565b60405180910390f35b34801561064a57600080fd5b5061066560048036038101906106609190612388565b611028565b604051610672919061236d565b60405180910390f35b34801561068757600080fd5b506106a2600480360381019061069d91906122f4565b61108b565b6040516106af9190612343565b60405180910390f35b3480156106c457600080fd5b506106df60048036038101906106da9190612388565b6110ae565b6040516106ec919061236d565b60405180910390f35b34801561070157600080fd5b5061071c6004803603810190610717919061246c565b6110f7565b604051610729919061236d565b60405180910390f35b34801561073e57600080fd5b50610759600480360381019061075491906122f4565b61117e565b005b34801561076757600080fd5b50610782600480360381019061077d9190612388565b6111e6565b005b34801561079057600080fd5b506107ab60048036038101906107a69190612388565b611269565b6040516107bc959493929190612541565b60405180910390f35b6107cd611349565b801515600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615150361082957600080fd5b80600b60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550600115158115150361089c576108978260006113c7565b6108af565b6108ae826108a984610db4565b6113c7565b5b8173ffffffffffffffffffffffffffffffffffffffff167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be826040516108f59190612343565b60405180910390a25050565b606060038054610910906125c3565b80601f016020809104026020016040519081016040528092919081815260200182805461093c906125c3565b80156109895780601f1061095e57610100808354040283529160200191610989565b820191906000526020600020905b81548152906001019060200180831161096c57829003601f168201915b5050505050905090565b60008061099e611434565b90506109ab81858561143c565b600191505092915050565b6000600254905090565b600c6020528060005260406000206000915090505481565b6000806109e3611434565b90506109f0858285611605565b6109fb858585611691565b60019150509392505050565b6000700100000000000000000000000000000000610a99610a94600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610a86610a81610a7088610db4565b6006546116d790919063ffffffff16565b611751565b61176e90919063ffffffff16565b6117b9565b610aa39190612652565b9050919050565b60006012905090565b610abb611349565b6000610ac56109b6565b11610acf57600080fd5b6000811115610b9257610b22610ae36109b6565b610b07700100000000000000000000000000000000846116d790919063ffffffff16565b610b119190612652565b6006546117d090919063ffffffff16565b6006819055503373ffffffffffffffffffffffffffffffffffffffff167fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d7845411651182604051610b6e919061236d565b60405180910390a2610b8b816009546117d090919063ffffffff16565b6009819055505b50565b600080610ba0611434565b9050610bc1818585610bb285896110f7565b610bbc9190612683565b61143c565b600191505092915050565b610bd4611349565b60008173ffffffffffffffffffffffffffffffffffffffff1647604051610bfa9061270a565b60006040518083038185875af1925050503d8060008114610c37576040519150601f19603f3d011682016040523d82523d6000602084013e610c3c565b606091505b5050905080610c80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c779061276b565b60405180910390fd5b5050565b610c8c611349565b8073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb838373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610ce29190612526565b602060405180830381865afa158015610cff573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d2391906127a0565b6040518363ffffffff1660e01b8152600401610d409291906127cd565b6020604051808303816000875af1158015610d5f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d83919061280b565b505050565b600b6020528060005260406000206000915054906101000a900460ff1681565b610db13361182e565b50565b60008060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610e04611349565b610e0e6000611a80565b565b6000610e1a611349565b6000610e258361182e565b90506000811115610ecc5742600c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508273ffffffffffffffffffffffffffffffffffffffff167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d482604051610eba919061236d565b60405180910390a26001915050610ed2565b60009150505b919050565b60095481565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000610f1282611028565b9050919050565b606060048054610f28906125c3565b80601f0160208091040260200160405190810160405280929190818152602001828054610f54906125c3565b8015610fa15780601f10610f7657610100808354040283529160200191610fa1565b820191906000526020600020905b815481529060010190602001808311610f8457829003601f168201915b5050505050905090565b600a5481565b600080610fbc611434565b90506000610fca82866110f7565b90508381101561100f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611006906128aa565b60405180910390fd5b61101c828686840361143c565b60019250505092915050565b6000611084600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461107684610a07565b611b4690919063ffffffff16565b9050919050565b600080611096611434565b90506110a3818585611691565b600191505092915050565b6000600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b611186611349565b600b60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166111e2576111e182826113c7565b5b5050565b6111ee611349565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361125d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112549061293c565b60405180910390fd5b61126681611a80565b50565b60008060008060006112796120ea565b86816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506112ba87611028565b8160200181815250506112cc87610a07565b816040018181525050600c60008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548160600181815250508060000151816020015182604001518360600151600a54955095509550955095505091939590929450565b611351611434565b73ffffffffffffffffffffffffffffffffffffffff1661136f610edd565b73ffffffffffffffffffffffffffffffffffffffff16146113c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113bc906129a8565b60405180910390fd5b565b60006113d283610db4565b9050808211156114035760006113f18284611b4690919063ffffffff16565b90506113fd8482611b90565b5061142f565b8082101561142e5760006114208383611b4690919063ffffffff16565b905061142c8482611c4f565b505b5b505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036114ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114a290612a3a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361151a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161151190612acc565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925836040516115f8919061236d565b60405180910390a3505050565b600061161184846110f7565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461168b578181101561167d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161167490612b38565b60405180910390fd5b61168a848484840361143c565b5b50505050565b60006116d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116c990612bca565b60405180910390fd5b505050565b60008083036116e9576000905061174b565b600082846116f79190612bea565b90508284826117069190612652565b14611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90612cb6565b60405180910390fd5b809150505b92915050565b600080829050600081121561176557600080fd5b80915050919050565b600080828461177d9190612ce0565b9050600083121580156117905750838112155b806117a657506000831280156117a557508381125b5b6117af57600080fd5b8091505092915050565b6000808212156117c857600080fd5b819050919050565b60008082846117df9190612683565b905083811015611824576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181b90612dc0565b60405180910390fd5b8091505092915050565b60008061183a83611028565b90506000811115611a755761189781600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546117d090919063ffffffff16565b600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600a60008282546118ec9190612683565b925050819055508273ffffffffffffffffffffffffffffffffffffffff167fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d82604051611939919061236d565b60405180910390a260008373ffffffffffffffffffffffffffffffffffffffff16826040516119679061270a565b60006040518083038185875af1925050503d80600081146119a4576040519150601f19603f3d011682016040523d82523d6000602084013e6119a9565b606091505b5050905080611a6b57611a0482600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611b4690919063ffffffff16565b600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600a6000828254611a599190612de0565b92505081905550600092505050611a7b565b8192505050611a7b565b60009150505b919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000611b8883836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611d0e565b905092915050565b611b9a8282611d72565b611c08611bba611bb5836006546116d790919063ffffffff16565b611751565b600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054611ec890919063ffffffff16565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b611c598282611f13565b611cc7611c79611c74836006546116d790919063ffffffff16565b611751565b600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461176e90919063ffffffff16565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050565b6000838311158290611d56576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d4d919061229c565b60405180910390fd5b5060008385611d659190612de0565b9050809150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd890612e60565b60405180910390fd5b611ded600083836120e0565b8060026000828254611dff9190612683565b92505081905550806000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055508173ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611eb0919061236d565b60405180910390a3611ec4600083836120e5565b5050565b6000808284611ed79190612e80565b905060008312158015611eea5750838113155b80611f005750600083128015611eff57508381135b5b611f0957600080fd5b8091505092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7990612f86565b60405180910390fd5b611f8e826000836120e0565b60008060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905081811015612014576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200b90613018565b60405180910390fd5b8181036000808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555081600260008282540392505081905550600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516120c7919061236d565b60405180910390a36120db836000846120e5565b505050565b505050565b505050565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff1681526020016000815260200160008152602001600081525090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006121588261212d565b9050919050565b6121688161214d565b811461217357600080fd5b50565b6000813590506121858161215f565b92915050565b60008115159050919050565b6121a08161218b565b81146121ab57600080fd5b50565b6000813590506121bd81612197565b92915050565b600080604083850312156121da576121d9612128565b5b60006121e885828601612176565b92505060206121f9858286016121ae565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561223d578082015181840152602081019050612222565b8381111561224c576000848401525b50505050565b6000601f19601f8301169050919050565b600061226e82612203565b612278818561220e565b935061228881856020860161221f565b61229181612252565b840191505092915050565b600060208201905081810360008301526122b68184612263565b905092915050565b6000819050919050565b6122d1816122be565b81146122dc57600080fd5b50565b6000813590506122ee816122c8565b92915050565b6000806040838503121561230b5761230a612128565b5b600061231985828601612176565b925050602061232a858286016122df565b9150509250929050565b61233d8161218b565b82525050565b60006020820190506123586000830184612334565b92915050565b612367816122be565b82525050565b6000602082019050612382600083018461235e565b92915050565b60006020828403121561239e5761239d612128565b5b60006123ac84828501612176565b91505092915050565b6000806000606084860312156123ce576123cd612128565b5b60006123dc86828701612176565b93505060206123ed86828701612176565b92505060406123fe868287016122df565b9150509250925092565b600060ff82169050919050565b61241e81612408565b82525050565b60006020820190506124396000830184612415565b92915050565b60006020828403121561245557612454612128565b5b6000612463848285016122df565b91505092915050565b6000806040838503121561248357612482612128565b5b600061249185828601612176565b92505060206124a285828601612176565b9150509250929050565b60006124b78261212d565b9050919050565b6124c7816124ac565b81146124d257600080fd5b50565b6000813590506124e4816124be565b92915050565b600060208284031215612500576124ff612128565b5b600061250e848285016124d5565b91505092915050565b6125208161214d565b82525050565b600060208201905061253b6000830184612517565b92915050565b600060a0820190506125566000830188612517565b612563602083018761235e565b612570604083018661235e565b61257d606083018561235e565b61258a608083018461235e565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806125db57607f821691505b6020821081036125ee576125ed612594565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061265d826122be565b9150612668836122be565b925082612678576126776125f4565b5b828204905092915050565b600061268e826122be565b9150612699836122be565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156126ce576126cd612623565b5b828201905092915050565b600081905092915050565b50565b60006126f46000836126d9565b91506126ff826126e4565b600082019050919050565b6000612715826126e7565b9150819050919050565b7f4661696c656420746f2073656e6420457468657220746f2077616c6c65740000600082015250565b6000612755601e8361220e565b91506127608261271f565b602082019050919050565b6000602082019050818103600083015261278481612748565b9050919050565b60008151905061279a816122c8565b92915050565b6000602082840312156127b6576127b5612128565b5b60006127c48482850161278b565b91505092915050565b60006040820190506127e26000830185612517565b6127ef602083018461235e565b9392505050565b60008151905061280581612197565b92915050565b60006020828403121561282157612820612128565b5b600061282f848285016127f6565b91505092915050565b7f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f7760008201527f207a65726f000000000000000000000000000000000000000000000000000000602082015250565b600061289460258361220e565b915061289f82612838565b604082019050919050565b600060208201905081810360008301526128c381612887565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061292660268361220e565b9150612931826128ca565b604082019050919050565b6000602082019050818103600083015261295581612919565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061299260208361220e565b915061299d8261295c565b602082019050919050565b600060208201905081810360008301526129c181612985565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000612a2460248361220e565b9150612a2f826129c8565b604082019050919050565b60006020820190508181036000830152612a5381612a17565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f20616464726560008201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ab660228361220e565b9150612ac182612a5a565b604082019050919050565b60006020820190508181036000830152612ae581612aa9565b9050919050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e6365000000600082015250565b6000612b22601d8361220e565b9150612b2d82612aec565b602082019050919050565b60006020820190508181036000830152612b5181612b15565b9050919050565b7f4469766964656e645f547261636b65723a204e6f207472616e7366657273206160008201527f6c6c6f7765640000000000000000000000000000000000000000000000000000602082015250565b6000612bb460268361220e565b9150612bbf82612b58565b604082019050919050565b60006020820190508181036000830152612be381612ba7565b9050919050565b6000612bf5826122be565b9150612c00836122be565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612c3957612c38612623565b5b828202905092915050565b7f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f60008201527f7700000000000000000000000000000000000000000000000000000000000000602082015250565b6000612ca060218361220e565b9150612cab82612c44565b604082019050919050565b60006020820190508181036000830152612ccf81612c93565b9050919050565b6000819050919050565b6000612ceb82612cd6565b9150612cf683612cd6565b9250817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03831360008312151615612d3157612d30612623565b5b817f8000000000000000000000000000000000000000000000000000000000000000038312600083121615612d6957612d68612623565b5b828201905092915050565b7f536166654d6174683a206164646974696f6e206f766572666c6f770000000000600082015250565b6000612daa601b8361220e565b9150612db582612d74565b602082019050919050565b60006020820190508181036000830152612dd981612d9d565b9050919050565b6000612deb826122be565b9150612df6836122be565b925082821015612e0957612e08612623565b5b828203905092915050565b7f45524332303a206d696e7420746f20746865207a65726f206164647265737300600082015250565b6000612e4a601f8361220e565b9150612e5582612e14565b602082019050919050565b60006020820190508181036000830152612e7981612e3d565b9050919050565b6000612e8b82612cd6565b9150612e9683612cd6565b9250827f800000000000000000000000000000000000000000000000000000000000000001821260008412151615612ed157612ed0612623565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018213600084121615612f0957612f08612623565b5b828203905092915050565b7f45524332303a206275726e2066726f6d20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000612f7060218361220e565b9150612f7b82612f14565b604082019050919050565b60006020820190508181036000830152612f9f81612f63565b9050919050565b7f45524332303a206275726e20616d6f756e7420657863656564732062616c616e60008201527f6365000000000000000000000000000000000000000000000000000000000000602082015250565b600061300260228361220e565b915061300d82612fa6565b604082019050919050565b6000602082019050818103600083015261303181612ff5565b905091905056fea2646970667358221220e2fd91c0fe9c379fc753dd7a591b4e7566e6a6c55c8f6de894564d9909d88aea64736f6c634300080f0033

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

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