ETH Price: $2,509.08 (-5.29%)

Token

Honey Bee Inu Dividends (HONEY_D)
 

Overview

Max Total Supply

1,653,556,561,239.484051667467626765 HONEY_D

Holders

182

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
27,637,772,067.150024881431375799 HONEY_D

Value
$0.00
0x4c9138eBFe39c3Dc38720fC237F8Bb41C47BA5B4
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:
HoneyBeeInuDividendTracker

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

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

    IterableMapping.Map private tokenHoldersMap;
    uint256 public constant BASE = 10**18;
    uint256 public lastProcessedIndex;
    uint256 public claimWait;
    uint256 public 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("Honey Bee Inu Dividends","HONEY_D"){
    	claimWait = 3600;
        minimumTokenBalanceForDividends = 88_000_000 * BASE; //must buy at least 10M+ 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 updateMinimumForDividends(uint256 amount) external onlyOwner{
        require((amount >= 1_000_000 * BASE) && // 1M minimum
                (10_000_000_000 * BASE >= amount) // 10B maximum
                ,"should be 1M <= amount <= 10B");
        require(amount != minimumTokenBalanceForDividends,"value already assigned!");
        minimumTokenBalanceForDividends = amount;
    }
    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": "0xd88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b2"
    }
  }
}

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":[],"name":"BASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateMinimumForDividends","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"}]

60806040523480156200001157600080fd5b50604080518082018252601781527f486f6e65792042656520496e75204469766964656e64730000000000000000006020808301918252835180850190945260078452661213d3915657d160ca1b908401528151919291839183916200007a9160039162000120565b5080516200009090600490602084019062000120565b5050506000620000a56200011c60201b60201c565b600580546001600160a01b0319166001600160a01b038316908117909155604051919250906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35050610e106010555062000113670de0b6b3a764000063053ec600620001c6565b6011556200022f565b3390565b8280546200012e90620001f2565b90600052602060002090601f0160209004810192826200015257600085556200019d565b82601f106200016d57805160ff19168380011785556200019d565b828001600101855582156200019d579182015b828111156200019d57825182559160200191906001019062000180565b50620001ab929150620001af565b5090565b5b80821115620001ab5760008155600101620001b0565b6000816000190483118215151615620001ed57634e487b7160e01b81526011600452602481fd5b500290565b6002810460018216806200020757607f821691505b602082108114156200022957634e487b7160e01b600052602260045260246000fd5b50919050565b61252d806200023f6000396000f3fe60806040526004361061021e5760003560e01c8063807ab4f711610123578063be10b614116100ab578063e98030c71161006f578063e98030c7146105f4578063ec342ad014610614578063f2fde38b14610629578063fbcbc0f114610649578063ffb2c479146106695761022d565b8063be10b6141461056a578063c705c5691461057f578063dd62ed3e1461059f578063e30443bc146105bf578063e7841ec0146105df5761022d565b806395d89b41116100f257806395d89b41146104d5578063a457c2d7146104ea578063a8b9d2401461050a578063a9059cbb1461052a578063aafd847a1461054a5761022d565b8063807ab4f71461045e57806385a6b3ae1461047e5780638da5cb5b1461049357806391b89fba146104b55761022d565b806327ce0147116101a657806342966c681161017557806342966c68146103c05780635183d6fd146103e05780636a474002146104145780636f2789ec1461042957806370a082311461043e5761022d565b806327ce0147146103495780633009a60914610369578063313ce5671461037e57806339509351146103a05761022d565b806309bbedde116101ed57806309bbedde146102b257806318160ddd146102d4578063226cfa3d146102e957806323b872dd1461030957806326336f93146103295761022d565b806303c83302146102325780630483f7a01461023a57806306fdde031461025a578063095ea7b3146102855761022d565b3661022d5761022b610698565b005b600080fd5b61022b610698565b34801561024657600080fd5b5061022b610255366004611d09565b610756565b34801561026657600080fd5b5061026f6109b0565b60405161027c9190611ddf565b60405180910390f35b34801561029157600080fd5b506102a56102a0366004611d3a565b610a42565b60405161027c9190611dd4565b3480156102be57600080fd5b506102c7610a60565b60405161027c91906122a8565b3480156102e057600080fd5b506102c7610a66565b3480156102f557600080fd5b506102c7610304366004611c2e565b610a6c565b34801561031557600080fd5b506102a5610324366004611cc9565b610a7e565b34801561033557600080fd5b5061022b610344366004611d64565b610b05565b34801561035557600080fd5b506102c7610364366004611c2e565b610bb7565b34801561037557600080fd5b506102c7610c1b565b34801561038a57600080fd5b50610393610c21565b60405161027c919061230b565b3480156103ac57600080fd5b506102a56103bb366004611d3a565b610c26565b3480156103cc57600080fd5b5061022b6103db366004611d64565b610c74565b3480156103ec57600080fd5b506104006103fb366004611d64565b610c8f565b60405161027c989796959493929190611d93565b34801561042057600080fd5b5061022b610dff565b34801561043557600080fd5b506102c7610e17565b34801561044a57600080fd5b506102c7610459366004611c2e565b610e1d565b34801561046a57600080fd5b5061022b610479366004611c2e565b610e38565b34801561048a57600080fd5b506102c7610ebf565b34801561049f57600080fd5b506104a8610ec5565b60405161027c9190611d7f565b3480156104c157600080fd5b506102c76104d0366004611c2e565b610ed4565b3480156104e157600080fd5b5061026f610ee0565b3480156104f657600080fd5b506102a5610505366004611d3a565b610eef565b34801561051657600080fd5b506102c7610525366004611c2e565b610f57565b34801561053657600080fd5b506102a5610545366004611d3a565b610f85565b34801561055657600080fd5b506102c7610565366004611c2e565b610f99565b34801561057657600080fd5b506102c7610fb4565b34801561058b57600080fd5b506102a561059a366004611c2e565b610fba565b3480156105ab57600080fd5b506102c76105ba366004611c91565b610fcf565b3480156105cb57600080fd5b5061022b6105da366004611c66565b610ffa565b3480156105eb57600080fd5b506102c761115e565b34801561060057600080fd5b5061022b61060f366004611d64565b611164565b34801561062057600080fd5b506102c761121f565b34801561063557600080fd5b5061022b610644366004611c2e565b61122b565b34801561065557600080fd5b50610400610664366004611c2e565b6112e2565b34801561067557600080fd5b50610689610684366004611d64565b611312565b60405161027c939291906122f5565b60006106a2610a66565b116106c85760405162461bcd60e51b81526004016106bf90611ff0565b60405180910390fd5b34156107545760006106fc6106db610a66565b6106e934600160801b611439565b6106f39190612372565b60065490611485565b600681905560405190915033907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511906107369034906122a8565b60405180910390a260085460009061074e9034611485565b60085550505b565b61075e6114b4565b6005546001600160a01b0390811691161461078b5760405162461bcd60e51b81526004016106bf90612102565b6001600160a01b03821660009081526012602052604090205460ff16151581151514156107ca5760405162461bcd60e51b81526004016106bf90612242565b6001600160a01b0382166000908152601260205260408120805460ff19168315151790556107f6610ec5565b6001600160a01b03166370a08231846040518263ffffffff1660e01b81526004016108219190611d7f565b60206040518083038186803b15801561083957600080fd5b505afa15801561084d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190611d4c565b905081156108f3576108848360006114b8565b60405163131836e760e21b815273d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b290634c60db9c906108be90600b9087906004016122b1565b60006040518083038186803b1580156108d657600080fd5b505af41580156108ea573d6000803e3d6000fd5b5050505061096a565b6108fd83826114b8565b604051632f0ad01760e21b815273d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b29063bc2b405c9061093990600b90879086906004016122c8565b60006040518083038186803b15801561095157600080fd5b505af4158015610965573d6000803e3d6000fd5b505050505b826001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be836040516109a39190611dd4565b60405180910390a2505050565b6060600380546109bf90612407565b80601f01602080910402602001604051908101604052809291908181526020018280546109eb90612407565b8015610a385780601f10610a0d57610100808354040283529160200191610a38565b820191906000526020600020905b815481529060010190602001808311610a1b57829003601f168201915b5050505050905090565b6000610a56610a4f6114b4565b8484611511565b5060015b92915050565b600b5490565b60025490565b60136020526000908152604090205481565b6000610a8b8484846115c5565b610afb84610a976114b4565b610af6856040518060600160405280602881526020016124ab602891396001600160a01b038a16600090815260016020526040812090610ad56114b4565b6001600160a01b0316815260208101919091526040016000205491906115dd565b611511565b5060019392505050565b610b0d6114b4565b6005546001600160a01b03908116911614610b3a5760405162461bcd60e51b81526004016106bf90612102565b610b4f670de0b6b3a7640000620f4240612392565b8110158015610b74575080610b71670de0b6b3a76400006402540be400612392565b10155b610b905760405162461bcd60e51b81526004016106bf9061205e565b601154811415610bb25760405162461bcd60e51b81526004016106bf90612027565b601155565b6001600160a01b0381166000908152600960205260408120548190600160801b90610c0890610c0390610bfd610bf8610bef89610e1d565b60065490611439565b611617565b9061163a565b61168b565b610c129190612372565b9150505b919050565b600f5481565b601290565b6000610a56610c336114b4565b84610af68560016000610c446114b4565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611485565b60405162461bcd60e51b81526004016106bf90612217565b50565b600080600080600080600080600b73d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b263deb3d89690916040518263ffffffff1660e01b8152600401610cd591906122a8565b60206040518083038186803b158015610ced57600080fd5b505af4158015610d01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d259190611d4c565b8910610d4a575060009650600019955085945086935083925082915081905080610df4565b6040516368d54f3f60e11b815260009073d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b29063d1aa9e7e90610d8790600b908e906004016122e7565b60206040518083038186803b158015610d9f57600080fd5b505af4158015610db3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd79190611c4a565b9050610de2816116b1565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b81526004016106bf90611f82565b60105481565b6001600160a01b031660009081526020819052604090205490565b610e406114b4565b6005546001600160a01b03908116911614610e6d5760405162461bcd60e51b81526004016106bf90612102565b6000610e7882611821565b9050816001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d482604051610eb391906122a8565b60405180910390a25050565b60085481565b6005546001600160a01b031690565b600080610c1283610f57565b6060600480546109bf90612407565b6000610a56610efc6114b4565b84610af6856040518060600160405280602581526020016124d36025913960016000610f266114b4565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906115dd565b6001600160a01b0381166000908152600a60205260408120548190610c1290610f7f85610bb7565b906118f9565b6000610a56610f926114b4565b84846115c5565b6001600160a01b03166000908152600a602052604090205490565b60115481565b60126020526000908152604090205460ff1681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6110026114b4565b6005546001600160a01b0390811691161461102f5760405162461bcd60e51b81526004016106bf90612102565b6001600160a01b03821660009081526012602052604090205460ff16156110555761115a565b60115481106110d95761106882826114b8565b604051632f0ad01760e21b815273d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b29063bc2b405c906110a490600b90869086906004016122c8565b60006040518083038186803b1580156110bc57600080fd5b505af41580156110d0573d6000803e3d6000fd5b5050505061114f565b6110e48260006114b8565b60405163131836e760e21b815273d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b290634c60db9c9061111e90600b9086906004016122b1565b60006040518083038186803b15801561113657600080fd5b505af415801561114a573d6000803e3d6000fd5b505050505b6111588261193b565b505b5050565b600f5490565b61116c6114b4565b6005546001600160a01b039081169116146111995760405162461bcd60e51b81526004016106bf90612102565b61070881101580156111ae5750620151808111155b6111ca5760405162461bcd60e51b81526004016106bf90611fb9565b6010548114156111ec5760405162461bcd60e51b81526004016106bf90611e32565b60105460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601055565b670de0b6b3a764000081565b6112336114b4565b6005546001600160a01b039081169116146112605760405162461bcd60e51b81526004016106bf90612102565b6001600160a01b0381166112865760405162461bcd60e51b81526004016106bf90611ec3565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806000806000806000806112f7896116b1565b97509750975097509750975097509750919395975091939597565b600b546000908190819080611332575050600f5460009250829150611432565b600f546000805a90506000805b898410801561134d57508582105b15611421578461135c81612442565b600b549096508610905061136f57600094505b6000600b600001868154811061139557634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031680835260139091526040909120549091506113c690611973565b156113e7576113d48161193b565b156113e757816113e381612442565b9250505b826113f181612442565b93505060005a9050808511156114185761141561140e86836118f9565b8790611485565b95505b935061133f9050565b600f85905590975095509193505050505b9193909250565b60008261144857506000610a5a565b60006114548385612392565b9050826114618583612372565b1461147e5760405162461bcd60e51b81526004016106bf906120c1565b9392505050565b600080611492838561235a565b90508381101561147e5760405162461bcd60e51b81526004016106bf90611f4b565b3390565b60006114c383610e1d565b9050808211156114eb5760006114d983836118f9565b90506114e5848261199a565b50611158565b808210156111585760006114ff82846118f9565b905061150b8482611a01565b50505050565b6001600160a01b0383166115375760405162461bcd60e51b81526004016106bf906121a7565b6001600160a01b03821661155d5760405162461bcd60e51b81526004016106bf90611f09565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906115b89085906122a8565b60405180910390a3505050565b60405162461bcd60e51b81526004016106bf90612095565b600081848411156116015760405162461bcd60e51b81526004016106bf9190611ddf565b50600061160e84866123f0565b95945050505050565b60008181811215610a5a5760405162461bcd60e51b81526004016106bf90611e8c565b6000806116478385612319565b90506000831215801561165a5750838112155b8061166f575060008312801561166f57508381125b61147e5760405162461bcd60e51b81526004016106bf906121eb565b6000808212156116ad5760405162461bcd60e51b81526004016106bf90612137565b5090565b600080600080600080600080889750600b73d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b26317e142d190918a6040518363ffffffff1660e01b81526004016116fc9291906122b1565b60206040518083038186803b15801561171457600080fd5b505af4158015611728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174c9190611d4c565b96506000199550600087126117ae57600f5487111561177a57600f54611773908890611a47565b95506117ae565b600f54600b546000911061178f57600061179e565b600f54600b5461179e916118f9565b90506117aa888261163a565b9650505b6117b788610f57565b94506117c288610bb7565b6001600160a01b0389166000908152601360205260409020549094509250826117ec5760006117fa565b6010546117fa908490611485565b915042821161180a576000611814565b61181482426118f9565b9050919395975091939597565b60008061182d83610f57565b905080156118f0576001600160a01b0383166000908152600a60205260408120546118589083611485565b90506000846001600160a01b031683610bb89060405161187790611d7c565b600060405180830381858888f193505050503d80600081146118b5576040519150601f19603f3d011682016040523d82523d6000602084013e6118ba565b606091505b50509050806118cf5760009350505050610c16565b506001600160a01b0384166000908152600a60205260409020559050610c16565b50600092915050565b600061147e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115dd565b60008061194783611821565b905080156118f05750506001600160a01b03811660009081526013602052604090204290556001610c16565b60004282111561198557506000610c16565b60105461199242846118f9565b101592915050565b6119a48282611a98565b60006119e06119c1610bf88460065461143990919063ffffffff16565b6001600160a01b03851660009081526009602052604090205490611a47565b6001600160a01b039093166000908152600960205260409020929092555050565b611a0b8282611b58565b60006119e0611a28610bf88460065461143990919063ffffffff16565b6001600160a01b0385166000908152600960205260409020549061163a565b600080611a5483856123b1565b905060008312158015611a675750838113155b80611a7c5750600083128015611a7c57508381135b61147e5760405162461bcd60e51b81526004016106bf90611e60565b6001600160a01b038216611abe5760405162461bcd60e51b81526004016106bf90612271565b611aca60008383611158565b600254611ad79082611485565b6002556001600160a01b038216600090815260208190526040902054611afd9082611485565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b4c9085906122a8565b60405180910390a35050565b6001600160a01b038216611b7e5760405162461bcd60e51b81526004016106bf90612166565b611b8a82600083611158565b611bc781604051806060016040528060228152602001612489602291396001600160a01b03851660009081526020819052604090205491906115dd565b6001600160a01b038316600090815260208190526040902055600254611bed90826118f9565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b4c9085906122a8565b600060208284031215611c3f578081fd5b813561147e81612473565b600060208284031215611c5b578081fd5b815161147e81612473565b60008060408385031215611c78578081fd5b8235611c8381612473565b946020939093013593505050565b60008060408385031215611ca3578182fd5b8235611cae81612473565b91506020830135611cbe81612473565b809150509250929050565b600080600060608486031215611cdd578081fd5b8335611ce881612473565b92506020840135611cf881612473565b929592945050506040919091013590565b60008060408385031215611d1b578182fd5b8235611d2681612473565b915060208301358015158114611cbe578182fd5b60008060408385031215611c78578182fd5b600060208284031215611d5d578081fd5b5051919050565b600060208284031215611d75578081fd5b5035919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03989098168852602088019690965260408701949094526060860192909252608085015260a084015260c083015260e08201526101000190565b901515815260200190565b6000602080835283518082850152825b81811015611e0b57858101830151858201604001528201611def565b81811115611e1c5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526014908201527373616d6520636c61696d576169742076616c756560601b604082015260600190565b60208082526012908201527129b0b332a6b0ba341032b93937b91039bab160711b604082015260600190565b6020808252601e908201527f4e65676174697665206e756d626572206973206e6f7420616c6c6f7765640000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601e908201527f64697361626c65642c207573652027636c61696d272066756e6374696f6e0000604082015260600190565b6020808252601d908201527f6d7573742062652075706461746564203120746f20323420686f757273000000604082015260600190565b6020808252601b908201527f6469766964656e656420746f74616c737570706c79206572726f720000000000604082015260600190565b60208082526017908201527f76616c756520616c72656164792061737369676e656421000000000000000000604082015260600190565b6020808252601d908201527f73686f756c6420626520314d203c3d20616d6f756e74203c3d20313042000000604082015260600190565b6020808252601290820152711d1c985b9cd9995c881a5b985b1b1bddd95960721b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526015908201527429b0b332a6b0ba34103a37aab4b73a1032b93937b960591b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526012908201527114d8599953585d1a08195c9c9bdc8818591960721b604082015260600190565b602080825260119082015270189d5c9b9a5b99c81d5b985b1b1bddd959607a1b604082015260600190565b602080825260159082015274616c726561647920686173206265656e207365742160581b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9182526001600160a01b0316602082015260400190565b9283526001600160a01b03919091166020830152604082015260600190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b600080821280156001600160ff1b038490038513161561233b5761233b61245d565b600160ff1b83900384128116156123545761235461245d565b50500190565b6000821982111561236d5761236d61245d565b500190565b60008261238d57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156123ac576123ac61245d565b500290565b60008083128015600160ff1b8501841216156123cf576123cf61245d565b6001600160ff1b03840183138116156123ea576123ea61245d565b50500390565b6000828210156124025761240261245d565b500390565b60028104600182168061241b57607f821691505b6020821081141561243c57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156124565761245661245d565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610c8c57600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212203d906abeb11e76b53ee1be7efebf0b59c6f6b1c7f20e1db820682283433bd2db64736f6c63430008000033

Deployed Bytecode

0x60806040526004361061021e5760003560e01c8063807ab4f711610123578063be10b614116100ab578063e98030c71161006f578063e98030c7146105f4578063ec342ad014610614578063f2fde38b14610629578063fbcbc0f114610649578063ffb2c479146106695761022d565b8063be10b6141461056a578063c705c5691461057f578063dd62ed3e1461059f578063e30443bc146105bf578063e7841ec0146105df5761022d565b806395d89b41116100f257806395d89b41146104d5578063a457c2d7146104ea578063a8b9d2401461050a578063a9059cbb1461052a578063aafd847a1461054a5761022d565b8063807ab4f71461045e57806385a6b3ae1461047e5780638da5cb5b1461049357806391b89fba146104b55761022d565b806327ce0147116101a657806342966c681161017557806342966c68146103c05780635183d6fd146103e05780636a474002146104145780636f2789ec1461042957806370a082311461043e5761022d565b806327ce0147146103495780633009a60914610369578063313ce5671461037e57806339509351146103a05761022d565b806309bbedde116101ed57806309bbedde146102b257806318160ddd146102d4578063226cfa3d146102e957806323b872dd1461030957806326336f93146103295761022d565b806303c83302146102325780630483f7a01461023a57806306fdde031461025a578063095ea7b3146102855761022d565b3661022d5761022b610698565b005b600080fd5b61022b610698565b34801561024657600080fd5b5061022b610255366004611d09565b610756565b34801561026657600080fd5b5061026f6109b0565b60405161027c9190611ddf565b60405180910390f35b34801561029157600080fd5b506102a56102a0366004611d3a565b610a42565b60405161027c9190611dd4565b3480156102be57600080fd5b506102c7610a60565b60405161027c91906122a8565b3480156102e057600080fd5b506102c7610a66565b3480156102f557600080fd5b506102c7610304366004611c2e565b610a6c565b34801561031557600080fd5b506102a5610324366004611cc9565b610a7e565b34801561033557600080fd5b5061022b610344366004611d64565b610b05565b34801561035557600080fd5b506102c7610364366004611c2e565b610bb7565b34801561037557600080fd5b506102c7610c1b565b34801561038a57600080fd5b50610393610c21565b60405161027c919061230b565b3480156103ac57600080fd5b506102a56103bb366004611d3a565b610c26565b3480156103cc57600080fd5b5061022b6103db366004611d64565b610c74565b3480156103ec57600080fd5b506104006103fb366004611d64565b610c8f565b60405161027c989796959493929190611d93565b34801561042057600080fd5b5061022b610dff565b34801561043557600080fd5b506102c7610e17565b34801561044a57600080fd5b506102c7610459366004611c2e565b610e1d565b34801561046a57600080fd5b5061022b610479366004611c2e565b610e38565b34801561048a57600080fd5b506102c7610ebf565b34801561049f57600080fd5b506104a8610ec5565b60405161027c9190611d7f565b3480156104c157600080fd5b506102c76104d0366004611c2e565b610ed4565b3480156104e157600080fd5b5061026f610ee0565b3480156104f657600080fd5b506102a5610505366004611d3a565b610eef565b34801561051657600080fd5b506102c7610525366004611c2e565b610f57565b34801561053657600080fd5b506102a5610545366004611d3a565b610f85565b34801561055657600080fd5b506102c7610565366004611c2e565b610f99565b34801561057657600080fd5b506102c7610fb4565b34801561058b57600080fd5b506102a561059a366004611c2e565b610fba565b3480156105ab57600080fd5b506102c76105ba366004611c91565b610fcf565b3480156105cb57600080fd5b5061022b6105da366004611c66565b610ffa565b3480156105eb57600080fd5b506102c761115e565b34801561060057600080fd5b5061022b61060f366004611d64565b611164565b34801561062057600080fd5b506102c761121f565b34801561063557600080fd5b5061022b610644366004611c2e565b61122b565b34801561065557600080fd5b50610400610664366004611c2e565b6112e2565b34801561067557600080fd5b50610689610684366004611d64565b611312565b60405161027c939291906122f5565b60006106a2610a66565b116106c85760405162461bcd60e51b81526004016106bf90611ff0565b60405180910390fd5b34156107545760006106fc6106db610a66565b6106e934600160801b611439565b6106f39190612372565b60065490611485565b600681905560405190915033907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d78454116511906107369034906122a8565b60405180910390a260085460009061074e9034611485565b60085550505b565b61075e6114b4565b6005546001600160a01b0390811691161461078b5760405162461bcd60e51b81526004016106bf90612102565b6001600160a01b03821660009081526012602052604090205460ff16151581151514156107ca5760405162461bcd60e51b81526004016106bf90612242565b6001600160a01b0382166000908152601260205260408120805460ff19168315151790556107f6610ec5565b6001600160a01b03166370a08231846040518263ffffffff1660e01b81526004016108219190611d7f565b60206040518083038186803b15801561083957600080fd5b505afa15801561084d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108719190611d4c565b905081156108f3576108848360006114b8565b60405163131836e760e21b815273d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b290634c60db9c906108be90600b9087906004016122b1565b60006040518083038186803b1580156108d657600080fd5b505af41580156108ea573d6000803e3d6000fd5b5050505061096a565b6108fd83826114b8565b604051632f0ad01760e21b815273d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b29063bc2b405c9061093990600b90879086906004016122c8565b60006040518083038186803b15801561095157600080fd5b505af4158015610965573d6000803e3d6000fd5b505050505b826001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be836040516109a39190611dd4565b60405180910390a2505050565b6060600380546109bf90612407565b80601f01602080910402602001604051908101604052809291908181526020018280546109eb90612407565b8015610a385780601f10610a0d57610100808354040283529160200191610a38565b820191906000526020600020905b815481529060010190602001808311610a1b57829003601f168201915b5050505050905090565b6000610a56610a4f6114b4565b8484611511565b5060015b92915050565b600b5490565b60025490565b60136020526000908152604090205481565b6000610a8b8484846115c5565b610afb84610a976114b4565b610af6856040518060600160405280602881526020016124ab602891396001600160a01b038a16600090815260016020526040812090610ad56114b4565b6001600160a01b0316815260208101919091526040016000205491906115dd565b611511565b5060019392505050565b610b0d6114b4565b6005546001600160a01b03908116911614610b3a5760405162461bcd60e51b81526004016106bf90612102565b610b4f670de0b6b3a7640000620f4240612392565b8110158015610b74575080610b71670de0b6b3a76400006402540be400612392565b10155b610b905760405162461bcd60e51b81526004016106bf9061205e565b601154811415610bb25760405162461bcd60e51b81526004016106bf90612027565b601155565b6001600160a01b0381166000908152600960205260408120548190600160801b90610c0890610c0390610bfd610bf8610bef89610e1d565b60065490611439565b611617565b9061163a565b61168b565b610c129190612372565b9150505b919050565b600f5481565b601290565b6000610a56610c336114b4565b84610af68560016000610c446114b4565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611485565b60405162461bcd60e51b81526004016106bf90612217565b50565b600080600080600080600080600b73d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b263deb3d89690916040518263ffffffff1660e01b8152600401610cd591906122a8565b60206040518083038186803b158015610ced57600080fd5b505af4158015610d01573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d259190611d4c565b8910610d4a575060009650600019955085945086935083925082915081905080610df4565b6040516368d54f3f60e11b815260009073d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b29063d1aa9e7e90610d8790600b908e906004016122e7565b60206040518083038186803b158015610d9f57600080fd5b505af4158015610db3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd79190611c4a565b9050610de2816116b1565b98509850985098509850985098509850505b919395975091939597565b60405162461bcd60e51b81526004016106bf90611f82565b60105481565b6001600160a01b031660009081526020819052604090205490565b610e406114b4565b6005546001600160a01b03908116911614610e6d5760405162461bcd60e51b81526004016106bf90612102565b6000610e7882611821565b9050816001600160a01b03167f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d482604051610eb391906122a8565b60405180910390a25050565b60085481565b6005546001600160a01b031690565b600080610c1283610f57565b6060600480546109bf90612407565b6000610a56610efc6114b4565b84610af6856040518060600160405280602581526020016124d36025913960016000610f266114b4565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906115dd565b6001600160a01b0381166000908152600a60205260408120548190610c1290610f7f85610bb7565b906118f9565b6000610a56610f926114b4565b84846115c5565b6001600160a01b03166000908152600a602052604090205490565b60115481565b60126020526000908152604090205460ff1681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6110026114b4565b6005546001600160a01b0390811691161461102f5760405162461bcd60e51b81526004016106bf90612102565b6001600160a01b03821660009081526012602052604090205460ff16156110555761115a565b60115481106110d95761106882826114b8565b604051632f0ad01760e21b815273d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b29063bc2b405c906110a490600b90869086906004016122c8565b60006040518083038186803b1580156110bc57600080fd5b505af41580156110d0573d6000803e3d6000fd5b5050505061114f565b6110e48260006114b8565b60405163131836e760e21b815273d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b290634c60db9c9061111e90600b9086906004016122b1565b60006040518083038186803b15801561113657600080fd5b505af415801561114a573d6000803e3d6000fd5b505050505b6111588261193b565b505b5050565b600f5490565b61116c6114b4565b6005546001600160a01b039081169116146111995760405162461bcd60e51b81526004016106bf90612102565b61070881101580156111ae5750620151808111155b6111ca5760405162461bcd60e51b81526004016106bf90611fb9565b6010548114156111ec5760405162461bcd60e51b81526004016106bf90611e32565b60105460405182907f474ea64804364a1e29a4487ddb63c3342a2dd826ccd8acf48825e680a0e6f20f90600090a3601055565b670de0b6b3a764000081565b6112336114b4565b6005546001600160a01b039081169116146112605760405162461bcd60e51b81526004016106bf90612102565b6001600160a01b0381166112865760405162461bcd60e51b81526004016106bf90611ec3565b6005546040516001600160a01b038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600580546001600160a01b0319166001600160a01b0392909216919091179055565b6000806000806000806000806112f7896116b1565b97509750975097509750975097509750919395975091939597565b600b546000908190819080611332575050600f5460009250829150611432565b600f546000805a90506000805b898410801561134d57508582105b15611421578461135c81612442565b600b549096508610905061136f57600094505b6000600b600001868154811061139557634e487b7160e01b600052603260045260246000fd5b60009182526020808320909101546001600160a01b031680835260139091526040909120549091506113c690611973565b156113e7576113d48161193b565b156113e757816113e381612442565b9250505b826113f181612442565b93505060005a9050808511156114185761141561140e86836118f9565b8790611485565b95505b935061133f9050565b600f85905590975095509193505050505b9193909250565b60008261144857506000610a5a565b60006114548385612392565b9050826114618583612372565b1461147e5760405162461bcd60e51b81526004016106bf906120c1565b9392505050565b600080611492838561235a565b90508381101561147e5760405162461bcd60e51b81526004016106bf90611f4b565b3390565b60006114c383610e1d565b9050808211156114eb5760006114d983836118f9565b90506114e5848261199a565b50611158565b808210156111585760006114ff82846118f9565b905061150b8482611a01565b50505050565b6001600160a01b0383166115375760405162461bcd60e51b81526004016106bf906121a7565b6001600160a01b03821661155d5760405162461bcd60e51b81526004016106bf90611f09565b6001600160a01b0380841660008181526001602090815260408083209487168084529490915290819020849055517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906115b89085906122a8565b60405180910390a3505050565b60405162461bcd60e51b81526004016106bf90612095565b600081848411156116015760405162461bcd60e51b81526004016106bf9190611ddf565b50600061160e84866123f0565b95945050505050565b60008181811215610a5a5760405162461bcd60e51b81526004016106bf90611e8c565b6000806116478385612319565b90506000831215801561165a5750838112155b8061166f575060008312801561166f57508381125b61147e5760405162461bcd60e51b81526004016106bf906121eb565b6000808212156116ad5760405162461bcd60e51b81526004016106bf90612137565b5090565b600080600080600080600080889750600b73d88d438c8589fb38b4d6b7bfc6b1893d6b2ac9b26317e142d190918a6040518363ffffffff1660e01b81526004016116fc9291906122b1565b60206040518083038186803b15801561171457600080fd5b505af4158015611728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061174c9190611d4c565b96506000199550600087126117ae57600f5487111561177a57600f54611773908890611a47565b95506117ae565b600f54600b546000911061178f57600061179e565b600f54600b5461179e916118f9565b90506117aa888261163a565b9650505b6117b788610f57565b94506117c288610bb7565b6001600160a01b0389166000908152601360205260409020549094509250826117ec5760006117fa565b6010546117fa908490611485565b915042821161180a576000611814565b61181482426118f9565b9050919395975091939597565b60008061182d83610f57565b905080156118f0576001600160a01b0383166000908152600a60205260408120546118589083611485565b90506000846001600160a01b031683610bb89060405161187790611d7c565b600060405180830381858888f193505050503d80600081146118b5576040519150601f19603f3d011682016040523d82523d6000602084013e6118ba565b606091505b50509050806118cf5760009350505050610c16565b506001600160a01b0384166000908152600a60205260409020559050610c16565b50600092915050565b600061147e83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115dd565b60008061194783611821565b905080156118f05750506001600160a01b03811660009081526013602052604090204290556001610c16565b60004282111561198557506000610c16565b60105461199242846118f9565b101592915050565b6119a48282611a98565b60006119e06119c1610bf88460065461143990919063ffffffff16565b6001600160a01b03851660009081526009602052604090205490611a47565b6001600160a01b039093166000908152600960205260409020929092555050565b611a0b8282611b58565b60006119e0611a28610bf88460065461143990919063ffffffff16565b6001600160a01b0385166000908152600960205260409020549061163a565b600080611a5483856123b1565b905060008312158015611a675750838113155b80611a7c5750600083128015611a7c57508381135b61147e5760405162461bcd60e51b81526004016106bf90611e60565b6001600160a01b038216611abe5760405162461bcd60e51b81526004016106bf90612271565b611aca60008383611158565b600254611ad79082611485565b6002556001600160a01b038216600090815260208190526040902054611afd9082611485565b6001600160a01b0383166000818152602081905260408082209390935591519091907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b4c9085906122a8565b60405180910390a35050565b6001600160a01b038216611b7e5760405162461bcd60e51b81526004016106bf90612166565b611b8a82600083611158565b611bc781604051806060016040528060228152602001612489602291396001600160a01b03851660009081526020819052604090205491906115dd565b6001600160a01b038316600090815260208190526040902055600254611bed90826118f9565b6002556040516000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611b4c9085906122a8565b600060208284031215611c3f578081fd5b813561147e81612473565b600060208284031215611c5b578081fd5b815161147e81612473565b60008060408385031215611c78578081fd5b8235611c8381612473565b946020939093013593505050565b60008060408385031215611ca3578182fd5b8235611cae81612473565b91506020830135611cbe81612473565b809150509250929050565b600080600060608486031215611cdd578081fd5b8335611ce881612473565b92506020840135611cf881612473565b929592945050506040919091013590565b60008060408385031215611d1b578182fd5b8235611d2681612473565b915060208301358015158114611cbe578182fd5b60008060408385031215611c78578182fd5b600060208284031215611d5d578081fd5b5051919050565b600060208284031215611d75578081fd5b5035919050565b90565b6001600160a01b0391909116815260200190565b6001600160a01b03989098168852602088019690965260408701949094526060860192909252608085015260a084015260c083015260e08201526101000190565b901515815260200190565b6000602080835283518082850152825b81811015611e0b57858101830151858201604001528201611def565b81811115611e1c5783604083870101525b50601f01601f1916929092016040019392505050565b60208082526014908201527373616d6520636c61696d576169742076616c756560601b604082015260600190565b60208082526012908201527129b0b332a6b0ba341032b93937b91039bab160711b604082015260600190565b6020808252601e908201527f4e65676174697665206e756d626572206973206e6f7420616c6c6f7765640000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526022908201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604082015261737360f01b606082015260800190565b6020808252601b908201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604082015260600190565b6020808252601e908201527f64697361626c65642c207573652027636c61696d272066756e6374696f6e0000604082015260600190565b6020808252601d908201527f6d7573742062652075706461746564203120746f20323420686f757273000000604082015260600190565b6020808252601b908201527f6469766964656e656420746f74616c737570706c79206572726f720000000000604082015260600190565b60208082526017908201527f76616c756520616c72656164792061737369676e656421000000000000000000604082015260600190565b6020808252601d908201527f73686f756c6420626520314d203c3d20616d6f756e74203c3d20313042000000604082015260600190565b6020808252601290820152711d1c985b9cd9995c881a5b985b1b1bddd95960721b604082015260600190565b60208082526021908201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6040820152607760f81b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526015908201527429b0b332a6b0ba34103a37aab4b73a1032b93937b960591b604082015260600190565b60208082526021908201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736040820152607360f81b606082015260800190565b60208082526024908201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526012908201527114d8599953585d1a08195c9c9bdc8818591960721b604082015260600190565b602080825260119082015270189d5c9b9a5b99c81d5b985b1b1bddd959607a1b604082015260600190565b602080825260159082015274616c726561647920686173206265656e207365742160581b604082015260600190565b6020808252601f908201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604082015260600190565b90815260200190565b9182526001600160a01b0316602082015260400190565b9283526001600160a01b03919091166020830152604082015260600190565b918252602082015260400190565b9283526020830191909152604082015260600190565b60ff91909116815260200190565b600080821280156001600160ff1b038490038513161561233b5761233b61245d565b600160ff1b83900384128116156123545761235461245d565b50500190565b6000821982111561236d5761236d61245d565b500190565b60008261238d57634e487b7160e01b81526012600452602481fd5b500490565b60008160001904831182151516156123ac576123ac61245d565b500290565b60008083128015600160ff1b8501841216156123cf576123cf61245d565b6001600160ff1b03840183138116156123ea576123ea61245d565b50500390565b6000828210156124025761240261245d565b500390565b60028104600182168061241b57607f821691505b6020821081141561243c57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156124565761245661245d565b5060010190565b634e487b7160e01b600052601160045260246000fd5b6001600160a01b0381168114610c8c57600080fdfe45524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212203d906abeb11e76b53ee1be7efebf0b59c6f6b1c7f20e1db820682283433bd2db64736f6c63430008000033

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.