ETH Price: $3,149.74 (+5.76%)

Token

Fetch Inu Dividends (FINU_D)
 

Overview

Max Total Supply

2,120,227,490,397.140861910280112081 FINU_D

Holders

227

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0 FINU_D

Value
$0.00
0x9bfd55b31f649f5efc57b6d6dc7db6cb036bb7fc
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.

Contract Source Code Verified (Exact Match)

Contract Name:
FetchInuDividendTracker

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : FetchInuDividendTracker.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;
import "./DividendPayingToken.sol";
import "./IterableMapping.sol";
contract FetchInuDividendTracker is DividendPayingToken {
    using SafeMath for uint256;
    using SafeMathInt for int256;
    using IterableMapping for IterableMapping.Map;

    IterableMapping.Map private tokenHoldersMap;
    uint256 public lastProcessedIndex;
    uint256 public claimWait;
    uint256 public immutable minimumTokenBalanceForDividends;

    mapping (address => bool) public isExcludedFromDividends;
    mapping (address => uint256) public lastClaimTimes;
  
    event ExcludeFromDividends(address indexed account, bool exclude);
    event ClaimWaitUpdated(uint256 indexed newValue, uint256 indexed oldValue);
    event Claim(address indexed account, uint256 amount);

    constructor() DividendPayingToken("Fetch Inu Dividends","FINU_D") {
    	claimWait = 3600;
        minimumTokenBalanceForDividends = 880_000_000 * (10**18); //must buy at least 100M+ tokens to be eligibile for dividends
    }

    // view functions
    function withdrawDividend() pure public override {
        require(false, "disabled, use 'claim' function");
    }
    function getLastProcessedIndex() external view returns(uint256) {
    	return lastProcessedIndex;
    }
    function getNumberOfTokenHolders() external view returns(uint256) {
        return tokenHoldersMap.keys.length;
    }
    function getAccount(address account) external view returns (
        address,
        int256,
        int256,
        uint256,
        uint256,
        uint256,
        uint256,
        uint256) {
            return _getAccount(account);
    }
    function _getAccount(address _account)
        private view returns (
            address account,
            int256 index,
            int256 iterationsUntilProcessed,
            uint256 withdrawableDividends,
            uint256 totalDividends,
            uint256 lastClaimTime,
            uint256 nextClaimTime,
            uint256 secondsUntilAutoClaimAvailable) {
        account = _account;

        index = tokenHoldersMap.getIndexOfKey(account);

        iterationsUntilProcessed = -1;

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


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

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

        lastClaimTime = lastClaimTimes[account];

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

        secondsUntilAutoClaimAvailable = nextClaimTime > block.timestamp ?
                                                    nextClaimTime.sub(block.timestamp) :
                                                    0;
    }
    function getAccountAtIndex(uint256 index)
        public view returns (
            address,
            int256,
            int256,
            uint256,
            uint256,
            uint256,
            uint256,
            uint256) {
    	if(index >= tokenHoldersMap.size()) {
            return (0x0000000000000000000000000000000000000000, -1, -1, 0, 0, 0, 0, 0);
        }

        address account = tokenHoldersMap.getKeyAtIndex(index);

        return _getAccount(account);
    }
    // state functions

    // // owner restricted
    function excludeFromDividends(address account, bool exclude) external onlyOwner {
    	require(isExcludedFromDividends[account] != exclude,"already has been set!");
    	isExcludedFromDividends[account] = exclude;
        uint256 bal = IERC20(owner()).balanceOf(account);
        if(exclude){
            _setBalance(account, 0);
    	    tokenHoldersMap.remove(account);
        }else{
            _setBalance(account, bal);
    		tokenHoldersMap.set(account, bal);
        }
        
    	emit ExcludeFromDividends(account,exclude);
    }
    function updateClaimWait(uint256 newClaimWait) external onlyOwner {
        require(newClaimWait >= 1800 && newClaimWait <= 86400, "must be updated 1 to 24 hours");
        require(newClaimWait != claimWait, "same claimWait value");
        emit ClaimWaitUpdated(newClaimWait, claimWait);
        claimWait = newClaimWait;
    }
    function setBalance(address payable account, uint256 newBalance) external onlyOwner {
    	if(isExcludedFromDividends[account]) {
    		return;
    	}
    	if(newBalance >= minimumTokenBalanceForDividends) {
            _setBalance(account, newBalance);
    		tokenHoldersMap.set(account, newBalance);
    	}
    	else {
            _setBalance(account, 0);
    		tokenHoldersMap.remove(account);
    	}

    	_processAccount(account);
    }

    function processAccount(address payable account) external onlyOwner{
    	uint256 amount = _withdrawDividendOfUser(account);
        emit Claim(account,amount);
    }

    function _processAccount(address payable account) private returns (bool) {
        uint256 amount = _withdrawDividendOfUser(account);

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

    	return false;
    }

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

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

    	uint256 _lastProcessedIndex = lastProcessedIndex;

    	uint256 gasUsed = 0;

    	uint256 gasLeft = gasleft();

    	uint256 iterations = 0;
    	uint256 claims = 0;

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

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

    		address account = tokenHoldersMap.keys[_lastProcessedIndex];

    		if(canAutoClaim(lastClaimTimes[account])) {
    			if(_processAccount(payable(account))) {
    				claims++;
    			}
    		}

    		iterations++;

    		uint256 newGasLeft = gasleft();

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

    		gasLeft = newGasLeft;
    	}

    	lastProcessedIndex = _lastProcessedIndex;

    	return (iterations, claims, lastProcessedIndex);
    }

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

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

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

pragma solidity ^0.8.0;

import "./ERC20.sol";
import "./Ownable.sol";
import "./SafeMath.sol";
import "./SafeMathUint.sol";
import "./SafeMathInt.sol";
import "./IDividendPayingToken.sol";
import "./IDividendPayingTokenOptional.sol";

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

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

  

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

  /// @dev Distributes dividends whenever ether is paid to this contract.
  receive() external payable {
    distributeDividends();
  }

  /// @notice Distributes ether to token holders as dividends.
  /// @dev It reverts if the total supply of tokens is 0.
  /// It emits the `DividendsDistributed` event if the amount of received ether is greater than 0.
  /// About undistributed ether:
  ///   In each distribution, there is a small amount of ether not distributed,
  ///     the magnified amount of which is
  ///     `(msg.value * magnitude) % totalSupply()`.
  ///   With a well-chosen `magnitude`, the amount of undistributed ether
  ///     (de-magnified) in a distribution can be less than 1 wei.
  ///   We can actually keep track of the undistributed ether in a distribution
  ///     and try to distribute it in the next distribution,
  ///     but keeping track of such data on-chain costs much more than
  ///     the saved ether, so we don't do that.
  function distributeDividends() public override payable {
    require(totalSupply() > 0,"dividened totalsupply error");
    if (msg.value > 0) {
       uint256 _magnifiedShare = magnifiedDividendPerShare.add(
        (msg.value).mul(magnitude) / totalSupply());
      magnifiedDividendPerShare = _magnifiedShare;
      emit DividendsDistributed(msg.sender, msg.value);
      uint256 _totalDistributed = totalDividendsDistributed.add(msg.value);
      totalDividendsDistributed = _totalDistributed;
    }
  }

  /// @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) {
      uint256 _withdrawnAmount = withdrawnDividends[user].add(_withdrawableDividend);
      (bool success,) = user.call{value: _withdrawableDividend, gas:3000}("");
      if(!success) {
        return 0;
      }
      withdrawnDividends[user] = _withdrawnAmount;
      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) {
    uint256 _dividend = withdrawableDividendOf(_owner);
    return _dividend;
  }

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

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

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

  /// @dev Internal function that transfer tokens from one address to another.
  /// Update magnifiedDividendCorrections to keep dividends unchanged.
  function _transfer(address,address,uint256) internal virtual override {
    require(false,"transfer inallowed");
  }


  /// @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);
    int256 _correction = magnifiedDividendCorrections[account]
      .sub( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
    magnifiedDividendCorrections[account] = _correction;
  }

  /// @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);
    int256 _correction = magnifiedDividendCorrections[account]
      .add( (magnifiedDividendPerShare.mul(value)).toInt256Safe() );
    magnifiedDividendCorrections[account] = _correction;
  }

  function burn(uint256) external virtual override{
    require(false,"burning unallowed");  
  }

  /// @dev Internal function that adjusts an address dividends shares according to the new token balance. 
  /// @param account The account whose tokens will be proccessed .
  /// @param newBalance The new address balance.
  function _setBalance(address account, uint256 newBalance) internal {
    uint256 currentBalance = balanceOf(account);
    if(newBalance > currentBalance) {
      uint256 mintAmount = newBalance.sub(currentBalance);
      _mint(account, mintAmount);
    } else if(newBalance < currentBalance) {
      uint256 burnAmount = currentBalance.sub(newBalance);
      _burn(account, burnAmount);
    }
  }
}

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

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

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

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

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



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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(sender, recipient, amount);

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

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

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

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }
    /**
     * @dev Destroys `amount` tokens from sender, 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(uint256 amount) external virtual{
        _burn(msg.sender,amount);
    }
    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

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

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

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

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

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

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

// SPDX-License-Identifier: MIT License

import "./Context.sol";

contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

        return c;
    }

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

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

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

pragma solidity ^0.8.0;

/**
 * @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,"Negative number is not allowed");
    return b;
  }
}

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

/*
MIT License

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

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

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

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

pragma solidity ^0.8.0;

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

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

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256),"multplitiy error");
        require((b == 0) || (c / b == a),"multiplity error mul");
        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,"SafeMath error div");

        // 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),"SafeMath error sub");
        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),"SafeMath error add");
        return c;
    }

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


    function toUint256Safe(int256 a) internal pure returns (uint256) {
        require(a >= 0,"SafeMath toUint error");
        return uint256(a);
    }
}

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

pragma solidity ^0.8.0;


/// @title Dividend-Paying Token Interface
/// @author Roger Wu (https://github.com/roger-wu)
/// @dev An interface for a dividend-paying token contract.
interface IDividendPayingToken {
  /// @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 Distributes ether to token holders as dividends.
  /// @dev SHOULD distribute the paid ether to token holders as dividends.
  ///  SHOULD NOT directly transfer ether to token holders in this function.
  ///  MUST emit a `DividendsDistributed` event when the amount of distributed ether is greater than 0.
  function distributeDividends() external payable;

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

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

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

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

pragma solidity ^0.8.0;


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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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":"uint256","name":"newValue","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"oldValue","type":"uint256"}],"name":"ClaimWaitUpdated","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":"exclude","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimWait","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":[],"name":"distributeDividends","outputs":[],"stateMutability":"payable","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":"exclude","type":"bool"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccount","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getAccountAtIndex","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"int256","name":"","type":"int256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNumberOfTokenHolders","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isExcludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"lastClaimTimes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumTokenBalanceForDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"gas","type":"uint256"}],"name":"process","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"processAccount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","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":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newClaimWait","type":"uint256"}],"name":"updateClaimWait","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDividend","outputs":[],"stateMutability":"pure","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"}]

60a06040523480156200001157600080fd5b50604080518082018252601381527f466574636820496e75204469766964656e6473000000000000000000000000006020808301918252835180850190945260068452651192539557d160d21b90840152815191929183918391620000799160039162000114565b5080516200008f90600490602084019062000114565b5050506000620000a46200011060201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35050610e10601055506b02d7eb3f96e070d970000000608052620001f7565b3390565b8280546200012290620001ba565b90600052602060002090601f01602090048101928262000146576000855562000191565b82601f106200016157805160ff191683800117855562000191565b8280016001018555821562000191579182015b828111156200019157825182559160200191906001019062000174565b506200019f929150620001a3565b5090565b5b808211156200019f5760008155600101620001a4565b600281046001821680620001cf57607f821691505b60208210811415620001f157634e487b7160e01b600052602260045260246000fd5b50919050565b6080516123f26200021a60003960008181610eb90152610f7801526123f26000f3fe6080604052600436106102085760003560e01c8063807ab4f711610118578063be10b614116100a0578063e7841ec01161006f578063e7841ec0146105a9578063e98030c7146105be578063f2fde38b146105de578063fbcbc0f1146105fe578063ffb2c4791461061e57610217565b8063be10b61414610534578063c705c56914610549578063dd62ed3e14610569578063e30443bc1461058957610217565b806395d89b41116100e757806395d89b411461049f578063a457c2d7146104b4578063a8b9d240146104d4578063a9059cbb146104f4578063aafd847a1461051457610217565b8063807ab4f71461042857806385a6b3ae146104485780638da5cb5b1461045d57806391b89fba1461047f57610217565b806327ce01471161019b57806342966c681161016a57806342966c681461038a5780635183d6fd146103aa5780636a474002146103de5780636f2789ec146103f357806370a082311461040857610217565b806327ce0147146103135780633009a60914610333578063313ce56714610348578063395093511461036a57610217565b806309bbedde116101d757806309bbedde1461029c57806318160ddd146102be578063226cfa3d146102d357806323b872dd146102f357610217565b806303c833021461021c5780630483f7a01461022457806306fdde0314610244578063095ea7b31461026f57610217565b366102175761021561064d565b005b600080fd5b61021561064d565b34801561023057600080fd5b5061021561023f366004611c3c565b61070b565b34801561025057600080fd5b50610259610965565b6040516102669190611d12565b60405180910390f35b34801561027b57600080fd5b5061028f61028a366004611c6d565b6109f7565b6040516102669190611d07565b3480156102a857600080fd5b506102b1610a15565b604051610266919061216d565b3480156102ca57600080fd5b506102b1610a1b565b3480156102df57600080fd5b506102b16102ee366004611b61565b610a21565b3480156102ff57600080fd5b5061028f61030e366004611bfc565b610a33565b34801561031f57600080fd5b506102b161032e366004611b61565b610aba565b34801561033f57600080fd5b506102b1610b1e565b34801561035457600080fd5b5061035d610b24565b60405161026691906121d0565b34801561037657600080fd5b5061028f610385366004611c6d565b610b29565b34801561039657600080fd5b506102156103a5366004611c97565b610b77565b3480156103b657600080fd5b506103ca6103c5366004611c97565b610b92565b604051610266989796959493929190611cc6565b3480156103ea57600080fd5b50610215610d02565b3480156103ff57600080fd5b506102b1610d1a565b34801561041457600080fd5b506102b1610423366004611b61565b610d20565b34801561043457600080fd5b50610215610443366004611b61565b610d3b565b34801561045457600080fd5b506102b1610dc2565b34801561046957600080fd5b50610472610dc8565b6040516102669190611cb2565b34801561048b57600080fd5b506102b161049a366004611b61565b610dd7565b3480156104ab57600080fd5b50610259610de3565b3480156104c057600080fd5b5061028f6104cf366004611c6d565b610df2565b3480156104e057600080fd5b506102b16104ef366004611b61565b610e5a565b34801561050057600080fd5b5061028f61050f366004611c6d565b610e88565b34801561052057600080fd5b506102b161052f366004611b61565b610e9c565b34801561054057600080fd5b506102b1610eb7565b34801561055557600080fd5b5061028f610564366004611b61565b610edb565b34801561057557600080fd5b506102b1610584366004611bc4565b610ef0565b34801561059557600080fd5b506102156105a4366004611b99565b610f1b565b3480156105b557600080fd5b506102b161109d565b3480156105ca57600080fd5b506102156105d9366004611c97565b6110a3565b3480156105ea57600080fd5b506102156105f9366004611b61565b61115e565b34801561060a57600080fd5b506103ca610619366004611b61565b611215565b34801561062a57600080fd5b5061063e610639366004611c97565b611245565b604051610266939291906121ba565b6000610657610a1b565b1161067d5760405162461bcd60e51b815260040161067490611f23565b60405180910390fd5b34156107095760006106b1610690610a1b565b61069e34600160801b61136c565b6106a89190612237565b600654906113b8565b600681905560405190915033907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511906106eb90349061216d565b60405180910390a260085460009061070390346113b8565b60085550505b565b6107136113e7565b6005546001600160a01b039081169116146107405760405162461bcd60e51b815260040161067490611fc7565b6001600160a01b03821660009081526011602052604090205460ff161515811515141561077f5760405162461bcd60e51b815260040161067490612107565b6001600160a01b0382166000908152601160205260408120805460ff19168315151790556107ab610dc8565b6001600160a01b03166370a08231846040518263ffffffff1660e01b81526004016107d69190611cb2565b60206040518083038186803b1580156107ee57600080fd5b505afa158015610802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108269190611c7f565b905081156108a8576108398360006113eb565b60405163131836e760e21b81527395fcc6006d2a7c02e0eae2859299efa04ee16d1990634c60db9c9061087390600b908790600401612176565b60006040518083038186803b15801561088b57600080fd5b505af415801561089f573d6000803e3d6000fd5b5050505061091f565b6108b283826113eb565b604051632f0ad01760e21b81527395fcc6006d2a7c02e0eae2859299efa04ee16d199063bc2b405c906108ee90600b908790869060040161218d565b60006040518083038186803b15801561090657600080fd5b505af415801561091a573d6000803e3d6000fd5b505050505b826001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be836040516109589190611d07565b60405180910390a2505050565b606060038054610974906122cc565b80601f01602080910402602001604051908101604052809291908181526020018280546109a0906122cc565b80156109ed5780601f106109c2576101008083540402835291602001916109ed565b820191906000526020600020905b8154815290600101906020018083116109d057829003601f168201915b5050505050905090565b6000610a0b610a046113e7565b8484611444565b5060015b92915050565b600b5490565b60025490565b60126020526000908152604090205481565b6000610a408484846114f8565b610ab084610a4c6113e7565b610aab85604051806060016040528060288152602001612370602891396001600160a01b038a16600090815260016020526040812090610a8a6113e7565b6001600160a01b031681526020810191909152604001600020549190611510565b611444565b5060019392505050565b6001600160a01b0381166000908152600960205260408120548190600160801b90610b0b90610b0690610b00610afb610af289610d20565b6006549061136c565b61154a565b9061156d565b6115be565b610b159190612237565b9150505b919050565b600f5481565b601290565b6000610a0b610b366113e7565b84610aab8560016000610b476113e7565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906113b8565b60405162461bcd60e51b8152600401610674906120dc565b50565b600080600080600080600080600b7395fcc6006d2a7c02e0eae2859299efa04ee16d1963deb3d89690916040518263ffffffff1660e01b8152600401610bd8919061216d565b60206040518083038186803b158015610bf057600080fd5b505af4158015610c04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c289190611c7f565b8910610c4d575060009650600019955085945086935083925082915081905080610cf7565b6040516368d54f3f60e11b81526000907395fcc6006d2a7c02e0eae2859299efa04ee16d199063d1aa9e7e90610c8a90600b908e906004016121ac565b60206040518083038186803b158015610ca257600080fd5b505af4158015610cb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cda9190611b7d565b9050610ce5816115e4565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260040161067490611eb5565b60105481565b6001600160a01b031660009081526020819052604090205490565b610d436113e7565b6005546001600160a01b03908116911614610d705760405162461bcd60e51b815260040161067490611fc7565b6000610d7b82611754565b9050816001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d482604051610db6919061216d565b60405180910390a25050565b60085481565b6005546001600160a01b031690565b600080610b1583610e5a565b606060048054610974906122cc565b6000610a0b610dff6113e7565b84610aab856040518060600160405280602581526020016123986025913960016000610e296113e7565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611510565b6001600160a01b0381166000908152600a60205260408120548190610b1590610e8285610aba565b9061182c565b6000610a0b610e956113e7565b84846114f8565b6001600160a01b03166000908152600a602052604090205490565b7f000000000000000000000000000000000000000000000000000000000000000081565b60116020526000908152604090205460ff1681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610f236113e7565b6005546001600160a01b03908116911614610f505760405162461bcd60e51b815260040161067490611fc7565b6001600160a01b03821660009081526011602052604090205460ff1615610f7657611099565b7f0000000000000000000000000000000000000000000000000000000000000000811061101857610fa782826113eb565b604051632f0ad01760e21b81527395fcc6006d2a7c02e0eae2859299efa04ee16d199063bc2b405c90610fe390600b908690869060040161218d565b60006040518083038186803b158015610ffb57600080fd5b505af415801561100f573d6000803e3d6000fd5b5050505061108e565b6110238260006113eb565b60405163131836e760e21b81527395fcc6006d2a7c02e0eae2859299efa04ee16d1990634c60db9c9061105d90600b908690600401612176565b60006040518083038186803b15801561107557600080fd5b505af4158015611089573d6000803e3d6000fd5b505050505b6110978261186e565b505b5050565b600f5490565b6110ab6113e7565b6005546001600160a01b039081169116146110d85760405162461bcd60e51b815260040161067490611fc7565b61070881101580156110ed5750620151808111155b6111095760405162461bcd60e51b815260040161067490611eec565b60105481141561112b5760405162461bcd60e51b815260040161067490611d65565b60105460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601055565b6111666113e7565b6005546001600160a01b039081169116146111935760405162461bcd60e51b815260040161067490611fc7565b6001600160a01b0381166111b95760405162461bcd60e51b815260040161067490611df6565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b60008060008060008060008061122a896115e4565b97509750975097509750975097509750919395975091939597565b600b546000908190819080611265575050600f5460009250829150611365565b600f546000805a90506000805b898410801561128057508582105b15611354578461128f81612307565b600b54909650861090506112a257600094505b6000600b60000186815481106112c857634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031680835260129091526040909120549091506112f9906118a6565b1561131a576113078161186e565b1561131a578161131681612307565b9250505b8261132481612307565b93505060005a90508085111561134b57611348611341868361182c565b87906113b8565b95505b93506112729050565b600f85905590975095509193505050505b9193909250565b60008261137b57506000610a0f565b60006113878385612257565b9050826113948583612237565b146113b15760405162461bcd60e51b815260040161067490611f86565b9392505050565b6000806113c5838561221f565b9050838110156113b15760405162461bcd60e51b815260040161067490611e7e565b3390565b60006113f683610d20565b90508082111561141e57600061140c838361182c565b905061141884826118cd565b50611097565b80821015611097576000611432828461182c565b905061143e8482611934565b50505050565b6001600160a01b03831661146a5760405162461bcd60e51b81526004016106749061206c565b6001600160a01b0382166114905760405162461bcd60e51b815260040161067490611e3c565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906114eb90859061216d565b60405180910390a3505050565b60405162461bcd60e51b815260040161067490611f5a565b600081848411156115345760405162461bcd60e51b81526004016106749190611d12565b50600061154184866122b5565b95945050505050565b60008181811215610a0f5760405162461bcd60e51b815260040161067490611dbf565b60008061157a83856121de565b90506000831215801561158d5750838112155b806115a257506000831280156115a257508381125b6113b15760405162461bcd60e51b8152600401610674906120b0565b6000808212156115e05760405162461bcd60e51b815260040161067490611ffc565b5090565b600080600080600080600080889750600b7395fcc6006d2a7c02e0eae2859299efa04ee16d196317e142d190918a6040518363ffffffff1660e01b815260040161162f929190612176565b60206040518083038186803b15801561164757600080fd5b505af415801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167f9190611c7f565b96506000199550600087126116e157600f548711156116ad57600f546116a690889061197a565b95506116e1565b600f54600b54600091106116c25760006116d1565b600f54600b546116d19161182c565b90506116dd888261156d565b9650505b6116ea88610e5a565b94506116f588610aba565b6001600160a01b03891660009081526012602052604090205490945092508261171f57600061172d565b60105461172d9084906113b8565b915042821161173d576000611747565b611747824261182c565b9050919395975091939597565b60008061176083610e5a565b90508015611823576001600160a01b0383166000908152600a602052604081205461178b90836113b8565b90506000846001600160a01b031683610bb8906040516117aa90611caf565b600060405180830381858888f193505050503d80600081146117e8576040519150601f19603f3d011682016040523d82523d6000602084013e6117ed565b606091505b50509050806118025760009350505050610b19565b506001600160a01b0384166000908152600a60205260409020559050610b19565b50600092915050565b60006113b183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611510565b60008061187a83611754565b905080156118235750506001600160a01b03811660009081526012602052604090204290556001610b19565b6000428211156118b857506000610b19565b6010546118c5428461182c565b101592915050565b6118d782826119cb565b60006119136118f4610afb8460065461136c90919063ffffffff16565b6001600160a01b0385166000908152600960205260409020549061197a565b6001600160a01b039093166000908152600960205260409020929092555050565b61193e8282611a8b565b600061191361195b610afb8460065461136c90919063ffffffff16565b6001600160a01b0385166000908152600960205260409020549061156d565b6000806119878385612276565b90506000831215801561199a5750838113155b806119af57506000831280156119af57508381135b6113b15760405162461bcd60e51b815260040161067490611d93565b6001600160a01b0382166119f15760405162461bcd60e51b815260040161067490612136565b6119fd60008383611097565b600254611a0a90826113b8565b6002556001600160a01b038216600090815260208190526040902054611a3090826113b8565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a7f90859061216d565b60405180910390a35050565b6001600160a01b038216611ab15760405162461bcd60e51b81526004016106749061202b565b611abd82600083611097565b611afa8160405180606001604052806022815260200161234e602291396001600160a01b0385166000908152602081905260409020549190611510565b6001600160a01b038316600090815260208190526040902055600254611b20908261182c565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a7f90859061216d565b600060208284031215611b72578081fd5b81356113b181612338565b600060208284031215611b8e578081fd5b81516113b181612338565b60008060408385031215611bab578081fd5b8235611bb681612338565b946020939093013593505050565b60008060408385031215611bd6578182fd5b8235611be181612338565b91506020830135611bf181612338565b809150509250929050565b600080600060608486031215611c10578081fd5b8335611c1b81612338565b92506020840135611c2b81612338565b929592945050506040919091013590565b60008060408385031215611c4e578182fd5b8235611c5981612338565b915060208301358015158114611bf1578182fd5b60008060408385031215611bab578182fd5b600060208284031215611c90578081fd5b5051919050565b600060208284031215611ca8578081fd5b5035919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03989098168852602088019690965260408701949094526060860192909252608085015260a084015260c083015260e08201526101000190565b901515815260200190565b6000602080835283518082850152825b81811015611d3e57858101830151858201604001528201611d22565b81811115611d4f5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526014908201527373616d6520636c61696d576169742076616c756560601b604082015260600190565b60208082526012908201527129b0b332a6b0ba341032b93937b91039bab160711b604082015260600190565b6020808252601e908201527f4e65676174697665206e756d626572206973206e6f7420616c6c6f7765640000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601e908201527f64697361626c65642c207573652027636c61696d272066756e6374696f6e0000604082015260600190565b6020808252601d908201527f6d7573742062652075706461746564203120746f20323420686f757273000000604082015260600190565b6020808252601b908201527f6469766964656e656420746f74616c737570706c79206572726f720000000000604082015260600190565b6020808252601290820152711d1c985b9cd9995c881a5b985b1b1bddd95960721b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526015908201527429b0b332a6b0ba34103a37aab4b73a1032b93937b960591b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526012908201527114d8599953585d1a08195c9c9bdc8818591960721b604082015260600190565b602080825260119082015270189d5c9b9a5b99c81d5b985b1b1bddd959607a1b604082015260600190565b602080825260159082015274616c726561647920686173206265656e207365742160581b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9182526001600160a01b0316602082015260400190565b9283526001600160a01b03919091166020830152604082015260600190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b600080821280156001600160ff1b038490038513161561220057612200612322565b600160ff1b839003841281161561221957612219612322565b50500190565b6000821982111561223257612232612322565b500190565b60008261225257634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561227157612271612322565b500290565b60008083128015600160ff1b85018412161561229457612294612322565b6001600160ff1b03840183138116156122af576122af612322565b50500390565b6000828210156122c7576122c7612322565b500390565b6002810460018216806122e057607f821691505b6020821081141561230157634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561231b5761231b612322565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610b8f57600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220de9e402ba82637deaa67123699ec3517dfbbad00c0e4b4b1e77a346073a1b07764736f6c63430008000033

Deployed Bytecode

0x6080604052600436106102085760003560e01c8063807ab4f711610118578063be10b614116100a0578063e7841ec01161006f578063e7841ec0146105a9578063e98030c7146105be578063f2fde38b146105de578063fbcbc0f1146105fe578063ffb2c4791461061e57610217565b8063be10b61414610534578063c705c56914610549578063dd62ed3e14610569578063e30443bc1461058957610217565b806395d89b41116100e757806395d89b411461049f578063a457c2d7146104b4578063a8b9d240146104d4578063a9059cbb146104f4578063aafd847a1461051457610217565b8063807ab4f71461042857806385a6b3ae146104485780638da5cb5b1461045d57806391b89fba1461047f57610217565b806327ce01471161019b57806342966c681161016a57806342966c681461038a5780635183d6fd146103aa5780636a474002146103de5780636f2789ec146103f357806370a082311461040857610217565b806327ce0147146103135780633009a60914610333578063313ce56714610348578063395093511461036a57610217565b806309bbedde116101d757806309bbedde1461029c57806318160ddd146102be578063226cfa3d146102d357806323b872dd146102f357610217565b806303c833021461021c5780630483f7a01461022457806306fdde0314610244578063095ea7b31461026f57610217565b366102175761021561064d565b005b600080fd5b61021561064d565b34801561023057600080fd5b5061021561023f366004611c3c565b61070b565b34801561025057600080fd5b50610259610965565b6040516102669190611d12565b60405180910390f35b34801561027b57600080fd5b5061028f61028a366004611c6d565b6109f7565b6040516102669190611d07565b3480156102a857600080fd5b506102b1610a15565b604051610266919061216d565b3480156102ca57600080fd5b506102b1610a1b565b3480156102df57600080fd5b506102b16102ee366004611b61565b610a21565b3480156102ff57600080fd5b5061028f61030e366004611bfc565b610a33565b34801561031f57600080fd5b506102b161032e366004611b61565b610aba565b34801561033f57600080fd5b506102b1610b1e565b34801561035457600080fd5b5061035d610b24565b60405161026691906121d0565b34801561037657600080fd5b5061028f610385366004611c6d565b610b29565b34801561039657600080fd5b506102156103a5366004611c97565b610b77565b3480156103b657600080fd5b506103ca6103c5366004611c97565b610b92565b604051610266989796959493929190611cc6565b3480156103ea57600080fd5b50610215610d02565b3480156103ff57600080fd5b506102b1610d1a565b34801561041457600080fd5b506102b1610423366004611b61565b610d20565b34801561043457600080fd5b50610215610443366004611b61565b610d3b565b34801561045457600080fd5b506102b1610dc2565b34801561046957600080fd5b50610472610dc8565b6040516102669190611cb2565b34801561048b57600080fd5b506102b161049a366004611b61565b610dd7565b3480156104ab57600080fd5b50610259610de3565b3480156104c057600080fd5b5061028f6104cf366004611c6d565b610df2565b3480156104e057600080fd5b506102b16104ef366004611b61565b610e5a565b34801561050057600080fd5b5061028f61050f366004611c6d565b610e88565b34801561052057600080fd5b506102b161052f366004611b61565b610e9c565b34801561054057600080fd5b506102b1610eb7565b34801561055557600080fd5b5061028f610564366004611b61565b610edb565b34801561057557600080fd5b506102b1610584366004611bc4565b610ef0565b34801561059557600080fd5b506102156105a4366004611b99565b610f1b565b3480156105b557600080fd5b506102b161109d565b3480156105ca57600080fd5b506102156105d9366004611c97565b6110a3565b3480156105ea57600080fd5b506102156105f9366004611b61565b61115e565b34801561060a57600080fd5b506103ca610619366004611b61565b611215565b34801561062a57600080fd5b5061063e610639366004611c97565b611245565b604051610266939291906121ba565b6000610657610a1b565b1161067d5760405162461bcd60e51b815260040161067490611f23565b60405180910390fd5b34156107095760006106b1610690610a1b565b61069e34600160801b61136c565b6106a89190612237565b600654906113b8565b600681905560405190915033907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511906106eb90349061216d565b60405180910390a260085460009061070390346113b8565b60085550505b565b6107136113e7565b6005546001600160a01b039081169116146107405760405162461bcd60e51b815260040161067490611fc7565b6001600160a01b03821660009081526011602052604090205460ff161515811515141561077f5760405162461bcd60e51b815260040161067490612107565b6001600160a01b0382166000908152601160205260408120805460ff19168315151790556107ab610dc8565b6001600160a01b03166370a08231846040518263ffffffff1660e01b81526004016107d69190611cb2565b60206040518083038186803b1580156107ee57600080fd5b505afa158015610802573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108269190611c7f565b905081156108a8576108398360006113eb565b60405163131836e760e21b81527395fcc6006d2a7c02e0eae2859299efa04ee16d1990634c60db9c9061087390600b908790600401612176565b60006040518083038186803b15801561088b57600080fd5b505af415801561089f573d6000803e3d6000fd5b5050505061091f565b6108b283826113eb565b604051632f0ad01760e21b81527395fcc6006d2a7c02e0eae2859299efa04ee16d199063bc2b405c906108ee90600b908790869060040161218d565b60006040518083038186803b15801561090657600080fd5b505af415801561091a573d6000803e3d6000fd5b505050505b826001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be836040516109589190611d07565b60405180910390a2505050565b606060038054610974906122cc565b80601f01602080910402602001604051908101604052809291908181526020018280546109a0906122cc565b80156109ed5780601f106109c2576101008083540402835291602001916109ed565b820191906000526020600020905b8154815290600101906020018083116109d057829003601f168201915b5050505050905090565b6000610a0b610a046113e7565b8484611444565b5060015b92915050565b600b5490565b60025490565b60126020526000908152604090205481565b6000610a408484846114f8565b610ab084610a4c6113e7565b610aab85604051806060016040528060288152602001612370602891396001600160a01b038a16600090815260016020526040812090610a8a6113e7565b6001600160a01b031681526020810191909152604001600020549190611510565b611444565b5060019392505050565b6001600160a01b0381166000908152600960205260408120548190600160801b90610b0b90610b0690610b00610afb610af289610d20565b6006549061136c565b61154a565b9061156d565b6115be565b610b159190612237565b9150505b919050565b600f5481565b601290565b6000610a0b610b366113e7565b84610aab8560016000610b476113e7565b6001600160a01b03908116825260208083019390935260409182016000908120918c1681529252902054906113b8565b60405162461bcd60e51b8152600401610674906120dc565b50565b600080600080600080600080600b7395fcc6006d2a7c02e0eae2859299efa04ee16d1963deb3d89690916040518263ffffffff1660e01b8152600401610bd8919061216d565b60206040518083038186803b158015610bf057600080fd5b505af4158015610c04573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c289190611c7f565b8910610c4d575060009650600019955085945086935083925082915081905080610cf7565b6040516368d54f3f60e11b81526000907395fcc6006d2a7c02e0eae2859299efa04ee16d199063d1aa9e7e90610c8a90600b908e906004016121ac565b60206040518083038186803b158015610ca257600080fd5b505af4158015610cb6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cda9190611b7d565b9050610ce5816115e4565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b815260040161067490611eb5565b60105481565b6001600160a01b031660009081526020819052604090205490565b610d436113e7565b6005546001600160a01b03908116911614610d705760405162461bcd60e51b815260040161067490611fc7565b6000610d7b82611754565b9050816001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d482604051610db6919061216d565b60405180910390a25050565b60085481565b6005546001600160a01b031690565b600080610b1583610e5a565b606060048054610974906122cc565b6000610a0b610dff6113e7565b84610aab856040518060600160405280602581526020016123986025913960016000610e296113e7565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190611510565b6001600160a01b0381166000908152600a60205260408120548190610b1590610e8285610aba565b9061182c565b6000610a0b610e956113e7565b84846114f8565b6001600160a01b03166000908152600a602052604090205490565b7f000000000000000000000000000000000000000002d7eb3f96e070d97000000081565b60116020526000908152604090205460ff1681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b610f236113e7565b6005546001600160a01b03908116911614610f505760405162461bcd60e51b815260040161067490611fc7565b6001600160a01b03821660009081526011602052604090205460ff1615610f7657611099565b7f000000000000000000000000000000000000000002d7eb3f96e070d970000000811061101857610fa782826113eb565b604051632f0ad01760e21b81527395fcc6006d2a7c02e0eae2859299efa04ee16d199063bc2b405c90610fe390600b908690869060040161218d565b60006040518083038186803b158015610ffb57600080fd5b505af415801561100f573d6000803e3d6000fd5b5050505061108e565b6110238260006113eb565b60405163131836e760e21b81527395fcc6006d2a7c02e0eae2859299efa04ee16d1990634c60db9c9061105d90600b908690600401612176565b60006040518083038186803b15801561107557600080fd5b505af4158015611089573d6000803e3d6000fd5b505050505b6110978261186e565b505b5050565b600f5490565b6110ab6113e7565b6005546001600160a01b039081169116146110d85760405162461bcd60e51b815260040161067490611fc7565b61070881101580156110ed5750620151808111155b6111095760405162461bcd60e51b815260040161067490611eec565b60105481141561112b5760405162461bcd60e51b815260040161067490611d65565b60105460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601055565b6111666113e7565b6005546001600160a01b039081169116146111935760405162461bcd60e51b815260040161067490611fc7565b6001600160a01b0381166111b95760405162461bcd60e51b815260040161067490611df6565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b60008060008060008060008061122a896115e4565b97509750975097509750975097509750919395975091939597565b600b546000908190819080611265575050600f5460009250829150611365565b600f546000805a90506000805b898410801561128057508582105b15611354578461128f81612307565b600b54909650861090506112a257600094505b6000600b60000186815481106112c857634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031680835260129091526040909120549091506112f9906118a6565b1561131a576113078161186e565b1561131a578161131681612307565b9250505b8261132481612307565b93505060005a90508085111561134b57611348611341868361182c565b87906113b8565b95505b93506112729050565b600f85905590975095509193505050505b9193909250565b60008261137b57506000610a0f565b60006113878385612257565b9050826113948583612237565b146113b15760405162461bcd60e51b815260040161067490611f86565b9392505050565b6000806113c5838561221f565b9050838110156113b15760405162461bcd60e51b815260040161067490611e7e565b3390565b60006113f683610d20565b90508082111561141e57600061140c838361182c565b905061141884826118cd565b50611097565b80821015611097576000611432828461182c565b905061143e8482611934565b50505050565b6001600160a01b03831661146a5760405162461bcd60e51b81526004016106749061206c565b6001600160a01b0382166114905760405162461bcd60e51b815260040161067490611e3c565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906114eb90859061216d565b60405180910390a3505050565b60405162461bcd60e51b815260040161067490611f5a565b600081848411156115345760405162461bcd60e51b81526004016106749190611d12565b50600061154184866122b5565b95945050505050565b60008181811215610a0f5760405162461bcd60e51b815260040161067490611dbf565b60008061157a83856121de565b90506000831215801561158d5750838112155b806115a257506000831280156115a257508381125b6113b15760405162461bcd60e51b8152600401610674906120b0565b6000808212156115e05760405162461bcd60e51b815260040161067490611ffc565b5090565b600080600080600080600080889750600b7395fcc6006d2a7c02e0eae2859299efa04ee16d196317e142d190918a6040518363ffffffff1660e01b815260040161162f929190612176565b60206040518083038186803b15801561164757600080fd5b505af415801561165b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061167f9190611c7f565b96506000199550600087126116e157600f548711156116ad57600f546116a690889061197a565b95506116e1565b600f54600b54600091106116c25760006116d1565b600f54600b546116d19161182c565b90506116dd888261156d565b9650505b6116ea88610e5a565b94506116f588610aba565b6001600160a01b03891660009081526012602052604090205490945092508261171f57600061172d565b60105461172d9084906113b8565b915042821161173d576000611747565b611747824261182c565b9050919395975091939597565b60008061176083610e5a565b90508015611823576001600160a01b0383166000908152600a602052604081205461178b90836113b8565b90506000846001600160a01b031683610bb8906040516117aa90611caf565b600060405180830381858888f193505050503d80600081146117e8576040519150601f19603f3d011682016040523d82523d6000602084013e6117ed565b606091505b50509050806118025760009350505050610b19565b506001600160a01b0384166000908152600a60205260409020559050610b19565b50600092915050565b60006113b183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611510565b60008061187a83611754565b905080156118235750506001600160a01b03811660009081526012602052604090204290556001610b19565b6000428211156118b857506000610b19565b6010546118c5428461182c565b101592915050565b6118d782826119cb565b60006119136118f4610afb8460065461136c90919063ffffffff16565b6001600160a01b0385166000908152600960205260409020549061197a565b6001600160a01b039093166000908152600960205260409020929092555050565b61193e8282611a8b565b600061191361195b610afb8460065461136c90919063ffffffff16565b6001600160a01b0385166000908152600960205260409020549061156d565b6000806119878385612276565b90506000831215801561199a5750838113155b806119af57506000831280156119af57508381135b6113b15760405162461bcd60e51b815260040161067490611d93565b6001600160a01b0382166119f15760405162461bcd60e51b815260040161067490612136565b6119fd60008383611097565b600254611a0a90826113b8565b6002556001600160a01b038216600090815260208190526040902054611a3090826113b8565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a7f90859061216d565b60405180910390a35050565b6001600160a01b038216611ab15760405162461bcd60e51b81526004016106749061202b565b611abd82600083611097565b611afa8160405180606001604052806022815260200161234e602291396001600160a01b0385166000908152602081905260409020549190611510565b6001600160a01b038316600090815260208190526040902055600254611b20908261182c565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611a7f90859061216d565b600060208284031215611b72578081fd5b81356113b181612338565b600060208284031215611b8e578081fd5b81516113b181612338565b60008060408385031215611bab578081fd5b8235611bb681612338565b946020939093013593505050565b60008060408385031215611bd6578182fd5b8235611be181612338565b91506020830135611bf181612338565b809150509250929050565b600080600060608486031215611c10578081fd5b8335611c1b81612338565b92506020840135611c2b81612338565b929592945050506040919091013590565b60008060408385031215611c4e578182fd5b8235611c5981612338565b915060208301358015158114611bf1578182fd5b60008060408385031215611bab578182fd5b600060208284031215611c90578081fd5b5051919050565b600060208284031215611ca8578081fd5b5035919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03989098168852602088019690965260408701949094526060860192909252608085015260a084015260c083015260e08201526101000190565b901515815260200190565b6000602080835283518082850152825b81811015611d3e57858101830151858201604001528201611d22565b81811115611d4f5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526014908201527373616d6520636c61696d576169742076616c756560601b604082015260600190565b60208082526012908201527129b0b332a6b0ba341032b93937b91039bab160711b604082015260600190565b6020808252601e908201527f4e65676174697665206e756d626572206973206e6f7420616c6c6f7765640000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601e908201527f64697361626c65642c207573652027636c61696d272066756e6374696f6e0000604082015260600190565b6020808252601d908201527f6d7573742062652075706461746564203120746f20323420686f757273000000604082015260600190565b6020808252601b908201527f6469766964656e656420746f74616c737570706c79206572726f720000000000604082015260600190565b6020808252601290820152711d1c985b9cd9995c881a5b985b1b1bddd95960721b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526015908201527429b0b332a6b0ba34103a37aab4b73a1032b93937b960591b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526012908201527114d8599953585d1a08195c9c9bdc8818591960721b604082015260600190565b602080825260119082015270189d5c9b9a5b99c81d5b985b1b1bddd959607a1b604082015260600190565b602080825260159082015274616c726561647920686173206265656e207365742160581b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9182526001600160a01b0316602082015260400190565b9283526001600160a01b03919091166020830152604082015260600190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b600080821280156001600160ff1b038490038513161561220057612200612322565b600160ff1b839003841281161561221957612219612322565b50500190565b6000821982111561223257612232612322565b500190565b60008261225257634e487b7160e01b81526012600452602481fd5b500490565b600081600019048311821515161561227157612271612322565b500290565b60008083128015600160ff1b85018412161561229457612294612322565b6001600160ff1b03840183138116156122af576122af612322565b50500390565b6000828210156122c7576122c7612322565b500390565b6002810460018216806122e057607f821691505b6020821081141561230157634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561231b5761231b612322565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610b8f57600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa2646970667358221220de9e402ba82637deaa67123699ec3517dfbbad00c0e4b4b1e77a346073a1b07764736f6c63430008000033

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.