ETH Price: $3,428.02 (+3.24%)

Token

EXPO_DividendTracker (EXPO_DividendTracker)
 

Overview

Max Total Supply

682,601,302,168.517900472477500225 EXPO_DividendTracker

Holders

823

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
106,611,163.300000000095804897 EXPO_DividendTracker

Value
$0.00
0xdc3380d1fe38d32d39353679b75d1b06857ca043
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
DividendTracker

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 150 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-02-03
*/

/**
 *Submitted for verification at Etherscan.io on 2021-12-11
*/

// Verified using https://dapp.tools

// hevm: flattened sources of src/EXPO.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.10 >=0.8.0 <0.9.0;
pragma experimental ABIEncoderV2;

////// lib/openzeppelin-contracts/contracts/utils/Context.sol
// OpenZeppelin Contracts v4.4.0 (utils/Context.sol)

/* pragma solidity ^0.8.0; */

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

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

////// lib/openzeppelin-contracts/contracts/access/Ownable.sol
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

/* pragma solidity ^0.8.0; */

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

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

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

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

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

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

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

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

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/extensions/IERC20Metadata.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/extensions/IERC20Metadata.sol)

/* pragma solidity ^0.8.0; */

/* import "../IERC20.sol"; */

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

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

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

////// lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol
// OpenZeppelin Contracts v4.4.0 (token/ERC20/ERC20.sol)

/* pragma solidity ^0.8.0; */

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

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

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

////// lib/openzeppelin-contracts/contracts/utils/Address.sol
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

/* pragma solidity ^0.8.0; */

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

////// lib/openzeppelin-contracts/contracts/utils/math/SafeMath.sol
// OpenZeppelin Contracts v4.4.0 (utils/math/SafeMath.sol)

/* pragma solidity ^0.8.0; */

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // 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 (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @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) {
        return a + b;
    }

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

    /**
     * @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) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting 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 a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * 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) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

////// src/IUniswapV2Factory.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

interface IUniswapV2Factory {
    event PairCreated(
        address indexed token0,
        address indexed token1,
        address pair,
        uint256
    );

    function feeTo() external view returns (address);

    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB)
        external
        view
        returns (address pair);

    function allPairs(uint256) external view returns (address pair);

    function allPairsLength() external view returns (uint256);

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

    function setFeeTo(address) external;

    function setFeeToSetter(address) external;
}

////// src/IUniswapV2Pair.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

interface IUniswapV2Pair {
    event Approval(
        address indexed owner,
        address indexed spender,
        uint256 value
    );
    event Transfer(address indexed from, address indexed to, uint256 value);

    function name() external pure returns (string memory);

    function symbol() external pure returns (string memory);

    function decimals() external pure returns (uint8);

    function totalSupply() external view returns (uint256);

    function balanceOf(address owner) external view returns (uint256);

    function allowance(address owner, address spender)
        external
        view
        returns (uint256);

    function approve(address spender, uint256 value) external returns (bool);

    function transfer(address to, uint256 value) external returns (bool);

    function transferFrom(
        address from,
        address to,
        uint256 value
    ) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);

    function PERMIT_TYPEHASH() external pure returns (bytes32);

    function nonces(address owner) external view returns (uint256);

    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    event Mint(address indexed sender, uint256 amount0, uint256 amount1);
    event Burn(
        address indexed sender,
        uint256 amount0,
        uint256 amount1,
        address indexed to
    );
    event Swap(
        address indexed sender,
        uint256 amount0In,
        uint256 amount1In,
        uint256 amount0Out,
        uint256 amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint256);

    function factory() external view returns (address);

    function token0() external view returns (address);

    function token1() external view returns (address);

    function getReserves()
        external
        view
        returns (
            uint112 reserve0,
            uint112 reserve1,
            uint32 blockTimestampLast
        );

    function price0CumulativeLast() external view returns (uint256);

    function price1CumulativeLast() external view returns (uint256);

    function kLast() external view returns (uint256);

    function mint(address to) external returns (uint256 liquidity);

    function burn(address to)
        external
        returns (uint256 amount0, uint256 amount1);

    function swap(
        uint256 amount0Out,
        uint256 amount1Out,
        address to,
        bytes calldata data
    ) external;

    function skim(address to) external;

    function sync() external;

    function initialize(address, address) external;
}

////// src/IUniswapV2Router02.sol
/* pragma solidity 0.8.10; */
/* pragma experimental ABIEncoderV2; */

interface IUniswapV2Router02 {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint256 amountADesired,
        uint256 amountBDesired,
        uint256 amountAMin,
        uint256 amountBMin,
        address to,
        uint256 deadline
    )
        external
        returns (
            uint256 amountA,
            uint256 amountB,
            uint256 liquidity
        );

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

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

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

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

////// src/EXPO.sol
/**

Exponential Capital

Earning Dashboard:
https://www.exponentialcapital.finance/portfolio

*/

/* pragma solidity 0.8.10; */

/* import {ERC20} from "lib/openzeppelin-contracts/contracts/token/ERC20/ERC20.sol"; */
/* import {IERC20} from "lib/openzeppelin-contracts/contracts/token/ERC20/IERC20.sol"; */
/* import {Ownable} from "lib/openzeppelin-contracts/contracts/access/Ownable.sol"; */
/* import {Address} from "lib/openzeppelin-contracts/contracts/utils/Address.sol"; */
/* import {SafeMath} from "lib/openzeppelin-contracts/contracts/utils/math/SafeMath.sol"; */

/* import {IUniswapV2Router02} from "./IUniswapV2Router02.sol"; */
/* import {IUniswapV2Factory} from "./IUniswapV2Factory.sol"; */
/* import {IUniswapV2Pair} from "./IUniswapV2Pair.sol"; */

contract EXPO is Ownable, IERC20 {
    address UNISWAPROUTER = address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    address DEAD = 0x000000000000000000000000000000000000dEaD;
    address ZERO = 0x0000000000000000000000000000000000000000;

    string private _name = "Exponential Capital";
    string private _symbol = "EXPO";

    uint256 public treasuryFeeBPS = 900;
    uint256 public liquidityFeeBPS = 100;
    uint256 public dividendFeeBPS = 500;
    uint256 public totalFeeBPS = 1500;

    uint256 public swapTokensAtAmount = 100000000 * (10**18);
    uint256 public lastSwapTime;
    bool swapAllToken = true;

    bool public swapEnabled = true;
    bool public taxEnabled = true;
    bool public compoundingEnabled = true;

    uint256 private _totalSupply;
    bool private swapping;

    address marketingWallet;
    address liquidityWallet;

    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) public automatedMarketMakerPairs;
    mapping(address => bool) private _whiteList;
    mapping(address => bool) isBlacklisted;

    event SwapAndAddLiquidity(
        uint256 tokensSwapped,
        uint256 nativeReceived,
        uint256 tokensIntoLiquidity
    );
    event SendDividends(uint256 tokensSwapped, uint256 amount);
    event ExcludeFromFees(address indexed account, bool isExcluded);
    event SetAutomatedMarketMakerPair(address indexed pair, bool indexed value);
    event UpdateUniswapV2Router(
        address indexed newAddress,
        address indexed oldAddress
    );
    event SwapEnabled(bool enabled);
    event TaxEnabled(bool enabled);
    event CompoundingEnabled(bool enabled);
    event BlacklistEnabled(bool enabled);

    DividendTracker public dividendTracker;
    IUniswapV2Router02 public uniswapV2Router;

    address public uniswapV2Pair;

    uint256 public maxTxBPS = 100;
    uint256 public maxWalletBPS = 200;

    bool isOpen = false;

    mapping(address => bool) private _isExcludedFromMaxTx;
    mapping(address => bool) private _isExcludedFromMaxWallet;

    constructor(
        address _marketingWallet,
        address _liquidityWallet,
        address[] memory whitelistAddress
    ) {
        marketingWallet = _marketingWallet;
        liquidityWallet = _liquidityWallet;
        includeToWhiteList(whitelistAddress);

        dividendTracker = new DividendTracker(address(this), UNISWAPROUTER);

        IUniswapV2Router02 _uniswapV2Router = IUniswapV2Router02(UNISWAPROUTER);

        address _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory())
            .createPair(address(this), _uniswapV2Router.WETH());

        uniswapV2Router = _uniswapV2Router;
        uniswapV2Pair = _uniswapV2Pair;

        _setAutomatedMarketMakerPair(_uniswapV2Pair, true);

        dividendTracker.excludeFromDividends(address(dividendTracker), true);
        dividendTracker.excludeFromDividends(address(this), true);
        dividendTracker.excludeFromDividends(owner(), true);
        dividendTracker.excludeFromDividends(address(_uniswapV2Router), true);

        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(address(dividendTracker), true);

        excludeFromMaxTx(owner(), true);
        excludeFromMaxTx(address(this), true);
        excludeFromMaxTx(address(dividendTracker), true);

        excludeFromMaxWallet(owner(), true);
        excludeFromMaxWallet(address(this), true);
        excludeFromMaxWallet(address(dividendTracker), true);

        _mint(owner(), 816722973503 * (10**18));
    }

    receive() external payable {}

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return 18;
    }

    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _balances[account];
    }

    function allowance(address owner, address spender)
        public
        view
        virtual
        override
        returns (uint256)
    {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue)
        public
        returns (bool)
    {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender] + addedValue
        );
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue)
        public
        returns (bool)
    {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(
            currentAllowance >= subtractedValue,
            "EXPO: decreased allowance below zero"
        );
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        return true;
    }

    function transfer(address recipient, uint256 amount)
        public
        virtual
        override
        returns (bool)
    {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(
            currentAllowance >= amount,
            "EXPO: transfer amount exceeds allowance"
        );
        _approve(sender, _msgSender(), currentAllowance - amount);
        return true;
    }

    function openTrading() external onlyOwner {
        isOpen = true;
    }

    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal {
        require(
            isOpen ||
                sender == owner() ||
                recipient == owner() ||
                _whiteList[sender] ||
                _whiteList[recipient],
            "Not Open"
        );

        require(!isBlacklisted[sender], "EXPO: Sender is blacklisted");
        require(!isBlacklisted[recipient], "EXPO: Recipient is blacklisted");

        require(sender != address(0), "EXPO: transfer from the zero address");
        require(recipient != address(0), "EXPO: transfer to the zero address");

        uint256 _maxTxAmount = (totalSupply() * maxTxBPS) / 10000;
        uint256 _maxWallet = (totalSupply() * maxWalletBPS) / 10000;
        require(
            amount <= _maxTxAmount || _isExcludedFromMaxTx[sender],
            "TX Limit Exceeded"
        );

        if (
            sender != owner() &&
            recipient != address(this) &&
            recipient != address(DEAD) &&
            recipient != uniswapV2Pair
        ) {
            uint256 currentBalance = balanceOf(recipient);
            require(
                _isExcludedFromMaxWallet[recipient] ||
                    (currentBalance + amount <= _maxWallet)
            );
        }

        uint256 senderBalance = _balances[sender];
        require(
            senderBalance >= amount,
            "EXPO: transfer amount exceeds balance"
        );

        uint256 contractTokenBalance = balanceOf(address(this));
        uint256 contractNativeBalance = address(this).balance;

        bool canSwap = contractTokenBalance >= swapTokensAtAmount;

        if (
            swapEnabled && // True
            canSwap && // true
            !swapping && // swapping=false !false true
            !automatedMarketMakerPairs[sender] && // no swap on remove liquidity step 1 or DEX buy
            sender != address(uniswapV2Router) && // no swap on remove liquidity step 2
            sender != owner() &&
            recipient != owner()
        ) {
            swapping = true;

            if (!swapAllToken) {
                contractTokenBalance = swapTokensAtAmount;
            }
            _executeSwap(contractTokenBalance, contractNativeBalance);

            lastSwapTime = block.timestamp;
            swapping = false;
        }

        bool takeFee;

        if (
            sender == address(uniswapV2Pair) ||
            recipient == address(uniswapV2Pair)
        ) {
            takeFee = true;
        }

        if (_isExcludedFromFees[sender] || _isExcludedFromFees[recipient]) {
            takeFee = false;
        }

        if (swapping || !taxEnabled) {
            takeFee = false;
        }

        if (takeFee) {
            uint256 fees = (amount * totalFeeBPS) / 10000;
            amount -= fees;
            _executeTransfer(sender, address(this), fees);
        }

        _executeTransfer(sender, recipient, amount);

        dividendTracker.setBalance(payable(sender), balanceOf(sender));
        dividendTracker.setBalance(payable(recipient), balanceOf(recipient));
    }

    function _executeTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) private {
        require(sender != address(0), "EXPO: transfer from the zero address");
        require(recipient != address(0), "EXPO: transfer to the zero address");
        uint256 senderBalance = _balances[sender];
        require(
            senderBalance >= amount,
            "EXPO: transfer amount exceeds balance"
        );
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;
        emit Transfer(sender, recipient, amount);
    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) private {
        require(owner != address(0), "EXPO: approve from the zero address");
        require(spender != address(0), "EXPO: approve to the zero address");
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _mint(address account, uint256 amount) private {
        require(account != address(0), "EXPO: mint to the zero address");
        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

    function _burn(address account, uint256 amount) private {
        require(account != address(0), "EXPO: burn from the zero address");
        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "EXPO: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;
        emit Transfer(account, address(0), amount);
    }

    function swapTokensForNative(uint256 tokens) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = uniswapV2Router.WETH();
        _approve(address(this), address(uniswapV2Router), tokens);
        uniswapV2Router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokens,
            0, // accept any amount of native
            path,
            address(this),
            block.timestamp
        );
    }

    function addLiquidity(uint256 tokens, uint256 native) private {
        _approve(address(this), address(uniswapV2Router), tokens);
        uniswapV2Router.addLiquidityETH{value: native}(
            address(this),
            tokens,
            0, // slippage unavoidable
            0, // slippage unavoidable
            liquidityWallet,
            block.timestamp
        );
    }

    function includeToWhiteList(address[] memory _users) private {
        for (uint8 i = 0; i < _users.length; i++) {
            _whiteList[_users[i]] = true;
        }
    }

    function _executeSwap(uint256 tokens, uint256 native) private {
        if (tokens <= 0) {
            return;
        }

        uint256 swapTokensMarketing;
        if (address(marketingWallet) != address(0)) {
            swapTokensMarketing = (tokens * treasuryFeeBPS) / totalFeeBPS;
        }

        uint256 swapTokensDividends;
        if (dividendTracker.totalSupply() > 0) {
            swapTokensDividends = (tokens * dividendFeeBPS) / totalFeeBPS;
        }

        uint256 tokensForLiquidity = tokens -
            swapTokensMarketing -
            swapTokensDividends;
        uint256 swapTokensLiquidity = tokensForLiquidity / 2;
        uint256 addTokensLiquidity = tokensForLiquidity - swapTokensLiquidity;
        uint256 swapTokensTotal = swapTokensMarketing +
            swapTokensDividends +
            swapTokensLiquidity;

        uint256 initNativeBal = address(this).balance;
        swapTokensForNative(swapTokensTotal);
        uint256 nativeSwapped = (address(this).balance - initNativeBal) +
            native;

        uint256 nativeMarketing = (nativeSwapped * swapTokensMarketing) /
            swapTokensTotal;
        uint256 nativeDividends = (nativeSwapped * swapTokensDividends) /
            swapTokensTotal;
        uint256 nativeLiquidity = nativeSwapped -
            nativeMarketing -
            nativeDividends;

        if (nativeMarketing > 0) {
            payable(marketingWallet).transfer(nativeMarketing);
        }

        addLiquidity(addTokensLiquidity, nativeLiquidity);
        emit SwapAndAddLiquidity(
            swapTokensLiquidity,
            nativeLiquidity,
            addTokensLiquidity
        );

        if (nativeDividends > 0) {
            (bool success, ) = address(dividendTracker).call{
                value: nativeDividends
            }("");
            if (success) {
                emit SendDividends(swapTokensDividends, nativeDividends);
            }
        }
    }

    function excludeFromFees(address account, bool excluded) public onlyOwner {
        require(
            _isExcludedFromFees[account] != excluded,
            "EXPO: account is already set to requested state"
        );
        _isExcludedFromFees[account] = excluded;
        emit ExcludeFromFees(account, excluded);
    }

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

    function manualSendDividend(uint256 amount, address holder)
        external
        onlyOwner
    {
        dividendTracker.manualSendDividend(amount, holder);
    }

    function excludeFromDividends(address account, bool excluded)
        public
        onlyOwner
    {
        dividendTracker.excludeFromDividends(account, excluded);
    }

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

    function setWallet(
        address payable _marketingWallet,
        address payable _liquidityWallet
    ) external onlyOwner {
        marketingWallet = _marketingWallet;
        liquidityWallet = _liquidityWallet;
    }

    function setAutomatedMarketMakerPair(address pair, bool value)
        public
        onlyOwner
    {
        require(pair != uniswapV2Pair, "EXPO: DEX pair can not be removed");
        _setAutomatedMarketMakerPair(pair, value);
    }

    function setFee(
        uint256 _treasuryFee,
        uint256 _liquidityFee,
        uint256 _dividendFee
    ) external onlyOwner {
        treasuryFeeBPS = _treasuryFee;
        liquidityFeeBPS = _liquidityFee;
        dividendFeeBPS = _dividendFee;
        totalFeeBPS = _treasuryFee + _liquidityFee + _dividendFee;
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        require(
            automatedMarketMakerPairs[pair] != value,
            "EXPO: automated market maker pair is already set to that value"
        );
        automatedMarketMakerPairs[pair] = value;
        if (value) {
            dividendTracker.excludeFromDividends(pair, true);
        }
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateUniswapV2Router(address newAddress) public onlyOwner {
        require(
            newAddress != address(uniswapV2Router),
            "EXPO: the router is already set to the new address"
        );
        emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router));
        uniswapV2Router = IUniswapV2Router02(newAddress);
        address _uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory())
            .createPair(address(this), uniswapV2Router.WETH());
        uniswapV2Pair = _uniswapV2Pair;
    }

    function claim() public {
        dividendTracker.processAccount(payable(_msgSender()));
    }

    function compound() public {
        require(compoundingEnabled, "EXPO: compounding is not enabled");
        dividendTracker.compoundAccount(payable(_msgSender()));
    }

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

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

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

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

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

    function setSwapEnabled(bool _enabled) external onlyOwner {
        swapEnabled = _enabled;
        emit SwapEnabled(_enabled);
    }

    function setTaxEnabled(bool _enabled) external onlyOwner {
        taxEnabled = _enabled;
        emit TaxEnabled(_enabled);
    }

    function setCompoundingEnabled(bool _enabled) external onlyOwner {
        compoundingEnabled = _enabled;
        emit CompoundingEnabled(_enabled);
    }

    function updateDividendSettings(
        bool _swapEnabled,
        uint256 _swapTokensAtAmount,
        bool _swapAllToken
    ) external onlyOwner {
        swapEnabled = _swapEnabled;
        swapTokensAtAmount = _swapTokensAtAmount;
        swapAllToken = _swapAllToken;
    }

    function setMaxTxBPS(uint256 bps) external onlyOwner {
        require(bps >= 75 && bps <= 10000, "BPS must be between 75 and 10000");
        maxTxBPS = bps;
    }

    function excludeFromMaxTx(address account, bool excluded) public onlyOwner {
        _isExcludedFromMaxTx[account] = excluded;
    }

    function isExcludedFromMaxTx(address account) public view returns (bool) {
        return _isExcludedFromMaxTx[account];
    }

    function setMaxWalletBPS(uint256 bps) external onlyOwner {
        require(
            bps >= 175 && bps <= 10000,
            "BPS must be between 175 and 10000"
        );
        maxWalletBPS = bps;
    }

    function excludeFromMaxWallet(address account, bool excluded)
        public
        onlyOwner
    {
        _isExcludedFromMaxWallet[account] = excluded;
    }

    function isExcludedFromMaxWallet(address account)
        public
        view
        returns (bool)
    {
        return _isExcludedFromMaxWallet[account];
    }

    function rescueToken(address _token, uint256 _amount) external onlyOwner {
        IERC20(_token).transfer(msg.sender, _amount);
    }

    function rescueETH(uint256 _amount) external onlyOwner {
        payable(msg.sender).transfer(_amount);
    }

    function blackList(address _user) public onlyOwner {
        require(!isBlacklisted[_user], "user already blacklisted");
        isBlacklisted[_user] = true;
        // events?
    }

    function removeFromBlacklist(address _user) public onlyOwner {
        require(isBlacklisted[_user], "user already whitelisted");
        isBlacklisted[_user] = false;
        //events?
    }

    function blackListMany(address[] memory _users) public onlyOwner {
        for (uint8 i = 0; i < _users.length; i++) {
            isBlacklisted[_users[i]] = true;
        }
    }

    function unBlackListMany(address[] memory _users) public onlyOwner {
        for (uint8 i = 0; i < _users.length; i++) {
            isBlacklisted[_users[i]] = false;
        }
    }
}

contract DividendTracker is Ownable, IERC20 {
    address UNISWAPROUTER;

    string private _name = "EXPO_DividendTracker";
    string private _symbol = "EXPO_DividendTracker";

    uint256 public lastProcessedIndex;

    uint256 private _totalSupply;
    mapping(address => uint256) private _balances;

    uint256 private constant magnitude = 2**128;
    uint256 public immutable minTokenBalanceForDividends;
    uint256 private magnifiedDividendPerShare;
    uint256 public totalDividendsDistributed;
    uint256 public totalDividendsWithdrawn;

    address public tokenAddress;

    mapping(address => bool) public excludedFromDividends;
    mapping(address => int256) private magnifiedDividendCorrections;
    mapping(address => uint256) private withdrawnDividends;
    mapping(address => uint256) private lastClaimTimes;

    event DividendsDistributed(address indexed from, uint256 weiAmount);
    event DividendWithdrawn(address indexed to, uint256 weiAmount);
    event ExcludeFromDividends(address indexed account, bool excluded);
    event Claim(address indexed account, uint256 amount);
    event Compound(address indexed account, uint256 amount, uint256 tokens);

    struct AccountInfo {
        address account;
        uint256 withdrawableDividends;
        uint256 totalDividends;
        uint256 lastClaimTime;
    }

    constructor(address _tokenAddress, address _uniswapRouter) {
        minTokenBalanceForDividends = 10000 * (10**18);
        tokenAddress = _tokenAddress;
        UNISWAPROUTER = _uniswapRouter;
    }

    receive() external payable {
        distributeDividends();
    }

    function distributeDividends() public payable {
        require(_totalSupply > 0);
        if (msg.value > 0) {
            magnifiedDividendPerShare =
                magnifiedDividendPerShare +
                ((msg.value * magnitude) / _totalSupply);
            emit DividendsDistributed(msg.sender, msg.value);
            totalDividendsDistributed += msg.value;
        }
    }

    function setBalance(address payable account, uint256 newBalance)
        external
        onlyOwner
    {
        if (excludedFromDividends[account]) {
            return;
        }
        if (newBalance >= minTokenBalanceForDividends) {
            _setBalance(account, newBalance);
        } else {
            _setBalance(account, 0);
        }
    }

    function excludeFromDividends(address account, bool excluded)
        external
        onlyOwner
    {
        require(
            excludedFromDividends[account] != excluded,
            "EXPO_DividendTracker: account already set to requested state"
        );
        excludedFromDividends[account] = excluded;
        if (excluded) {
            _setBalance(account, 0);
        } else {
            uint256 newBalance = IERC20(tokenAddress).balanceOf(account);
            if (newBalance >= minTokenBalanceForDividends) {
                _setBalance(account, newBalance);
            } else {
                _setBalance(account, 0);
            }
        }
        emit ExcludeFromDividends(account, excluded);
    }

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

    function manualSendDividend(uint256 amount, address holder)
        external
        onlyOwner
    {
        uint256 contractETHBalance = address(this).balance;
        payable(holder).transfer(amount > 0 ? amount : contractETHBalance);
    }

    function _setBalance(address account, uint256 newBalance) internal {
        uint256 currentBalance = _balances[account];
        if (newBalance > currentBalance) {
            uint256 addAmount = newBalance - currentBalance;
            _mint(account, addAmount);
        } else if (newBalance < currentBalance) {
            uint256 subAmount = currentBalance - newBalance;
            _burn(account, subAmount);
        }
    }

    function _mint(address account, uint256 amount) private {
        require(
            account != address(0),
            "EXPO_DividendTracker: mint to the zero address"
        );
        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
        magnifiedDividendCorrections[account] =
            magnifiedDividendCorrections[account] -
            int256(magnifiedDividendPerShare * amount);
    }

    function _burn(address account, uint256 amount) private {
        require(
            account != address(0),
            "EXPO_DividendTracker: burn from the zero address"
        );
        uint256 accountBalance = _balances[account];
        require(
            accountBalance >= amount,
            "EXPO_DividendTracker: burn amount exceeds balance"
        );
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;
        emit Transfer(account, address(0), amount);
        magnifiedDividendCorrections[account] =
            magnifiedDividendCorrections[account] +
            int256(magnifiedDividendPerShare * amount);
    }

    function processAccount(address payable account)
        public
        onlyOwner
        returns (bool)
    {
        uint256 amount = _withdrawDividendOfUser(account);
        if (amount > 0) {
            lastClaimTimes[account] = block.timestamp;
            emit Claim(account, amount);
            return true;
        }
        return false;
    }

    function _withdrawDividendOfUser(address payable account)
        private
        returns (uint256)
    {
        uint256 _withdrawableDividend = withdrawableDividendOf(account);
        if (_withdrawableDividend > 0) {
            withdrawnDividends[account] += _withdrawableDividend;
            totalDividendsWithdrawn += _withdrawableDividend;
            emit DividendWithdrawn(account, _withdrawableDividend);
            (bool success, ) = account.call{
                value: _withdrawableDividend,
                gas: 3000
            }("");
            if (!success) {
                withdrawnDividends[account] -= _withdrawableDividend;
                totalDividendsWithdrawn -= _withdrawableDividend;
                return 0;
            }
            return _withdrawableDividend;
        }
        return 0;
    }

    function compoundAccount(address payable account)
        public
        onlyOwner
        returns (bool)
    {
        (uint256 amount, uint256 tokens) = _compoundDividendOfUser(account);
        if (amount > 0) {
            lastClaimTimes[account] = block.timestamp;
            emit Compound(account, amount, tokens);
            return true;
        }
        return false;
    }

    function _compoundDividendOfUser(address payable account)
        private
        returns (uint256, uint256)
    {
        uint256 _withdrawableDividend = withdrawableDividendOf(account);
        if (_withdrawableDividend > 0) {
            withdrawnDividends[account] += _withdrawableDividend;
            totalDividendsWithdrawn += _withdrawableDividend;
            emit DividendWithdrawn(account, _withdrawableDividend);

            IUniswapV2Router02 uniswapV2Router = IUniswapV2Router02(
                UNISWAPROUTER
            );

            address[] memory path = new address[](2);
            path[0] = uniswapV2Router.WETH();
            path[1] = address(tokenAddress);

            bool success;
            uint256 tokens;

            uint256 initTokenBal = IERC20(tokenAddress).balanceOf(account);
            try
                uniswapV2Router
                    .swapExactETHForTokensSupportingFeeOnTransferTokens{
                    value: _withdrawableDividend
                }(0, path, address(account), block.timestamp)
            {
                success = true;
                tokens = IERC20(tokenAddress).balanceOf(account) - initTokenBal;
            } catch Error(
                string memory /*err*/
            ) {
                success = false;
            }

            if (!success) {
                withdrawnDividends[account] -= _withdrawableDividend;
                totalDividendsWithdrawn -= _withdrawableDividend;
                return (0, 0);
            }

            return (_withdrawableDividend, tokens);
        }
        return (0, 0);
    }

    function withdrawableDividendOf(address account)
        public
        view
        returns (uint256)
    {
        return accumulativeDividendOf(account) - withdrawnDividends[account];
    }

    function withdrawnDividendOf(address account)
        public
        view
        returns (uint256)
    {
        return withdrawnDividends[account];
    }

    function accumulativeDividendOf(address account)
        public
        view
        returns (uint256)
    {
        int256 a = int256(magnifiedDividendPerShare * balanceOf(account));
        int256 b = magnifiedDividendCorrections[account]; // this is an explicit int256 (signed)
        return uint256(a + b) / magnitude;
    }

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

    function getLastClaimTime(address account) public view returns (uint256) {
        return lastClaimTimes[account];
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function decimals() public pure returns (uint8) {
        return 18;
    }

    function totalSupply() public view override returns (uint256) {
        return _totalSupply;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    function transfer(address, uint256) public pure override returns (bool) {
        revert("EXPO_DividendTracker: method not implemented");
    }

    function allowance(address, address)
        public
        pure
        override
        returns (uint256)
    {
        revert("EXPO_DividendTracker: method not implemented");
    }

    function approve(address, uint256) public pure override returns (bool) {
        revert("EXPO_DividendTracker: method not implemented");
    }

    function transferFrom(
        address,
        address,
        uint256
    ) public pure override returns (bool) {
        revert("EXPO_DividendTracker: method not implemented");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"address","name":"_uniswapRouter","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Compound","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":"excluded","type":"bool"}],"name":"ExcludeFromDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"accumulativeDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"compoundAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"distributeDividends","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromDividends","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"excludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getLastClaimTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastProcessedIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"holder","type":"address"}],"name":"manualSendDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"minTokenBalanceForDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"processAccount","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address 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":"tokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividendsWithdrawn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

60e0604052601460a08190527f4558504f5f4469766964656e64547261636b657200000000000000000000000060c090815262000040916002919062000153565b506040805180820190915260148082527f4558504f5f4469766964656e64547261636b65720000000000000000000000006020909201918252620000879160039162000153565b503480156200009557600080fd5b5060405162001dea38038062001dea833981016040819052620000b89162000216565b620000c33362000103565b69021e19e0c9bab2400000608052600a80546001600160a01b039384166001600160a01b031991821617909155600180549290931691161790556200028b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000161906200024e565b90600052602060002090601f016020900481019282620001855760008555620001d0565b82601f10620001a057805160ff1916838001178555620001d0565b82800160010185558215620001d0579182015b82811115620001d0578251825591602001919060010190620001b3565b50620001de929150620001e2565b5090565b5b80821115620001de5760008155600101620001e3565b80516001600160a01b03811681146200021157600080fd5b919050565b600080604083850312156200022a57600080fd5b6200023583620001f9565b91506200024560208401620001f9565b90509250929050565b600181811c908216806200026357607f821691505b602082108114156200028557634e487b7160e01b600052602260045260246000fd5b50919050565b608051611b35620002b560003960008181610532015281816107ef0152610d000152611b356000f3fe6080604052600436106101b15760003560e01c806385a6b3ae116100e7578063a8b9d24011610095578063c705c56911610064578063c705c56914610554578063dd62ed3e1461058d578063e30443bc146105a8578063f2fde38b146105c857600080fd5b8063a8b9d240146104ca578063a9059cbb14610218578063aafd847a146104ea578063c49af5f01461052057600080fd5b806385a6b3ae146103e15780638da5cb5b146103f75780638e1269441461042957806395d89b41146104495780639d76ea581461045e5780639e1e06611461047e578063a680e0bc1461049457600080fd5b80633009a6091161015f57806370a082311161012e57806370a0823114610324578063715018a61461035a5780637b510fe81461036f578063807ab4f7146103c157600080fd5b80633009a609146102a2578063313ce567146102b85780634e7b827f146102d45780636de1a5a91461030457600080fd5b806303c83302146101c55780630483f7a0146101cd57806306fdde03146101ed578063095ea7b31461021857806318160ddd1461024857806323b872dd1461026757806327ce01471461028257600080fd5b366101c0576101be6105e8565b005b600080fd5b6101be6105e8565b3480156101d957600080fd5b506101be6101e836600461167b565b610677565b3480156101f957600080fd5b50610202610879565b60405161020f91906116b9565b60405180910390f35b34801561022457600080fd5b5061023861023336600461170e565b61090b565b604051901515815260200161020f565b34801561025457600080fd5b506005545b60405190815260200161020f565b34801561027357600080fd5b5061023861023336600461173a565b34801561028e57600080fd5b5061025961029d36600461177b565b61096b565b3480156102ae57600080fd5b5061025960045481565b3480156102c457600080fd5b506040516012815260200161020f565b3480156102e057600080fd5b506102386102ef36600461177b565b600b6020526000908152604090205460ff1681565b34801561031057600080fd5b5061023861031f36600461177b565b6109cf565b34801561033057600080fd5b5061025961033f36600461177b565b6001600160a01b031660009081526006602052604090205490565b34801561036657600080fd5b506101be610a7a565b34801561037b57600080fd5b5061038f61038a36600461177b565b610aae565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a00161020f565b3480156103cd57600080fd5b506102386103dc36600461177b565b610b56565b3480156103ed57600080fd5b5061025960085481565b34801561040357600080fd5b506000546001600160a01b03165b6040516001600160a01b03909116815260200161020f565b34801561043557600080fd5b506101be61044436600461179f565b610bfb565b34801561045557600080fd5b50610202610c6e565b34801561046a57600080fd5b50600a54610411906001600160a01b031681565b34801561048a57600080fd5b5061025960095481565b3480156104a057600080fd5b506102596104af36600461177b565b6001600160a01b03166000908152600e602052604090205490565b3480156104d657600080fd5b506102596104e536600461177b565b610c7d565b3480156104f657600080fd5b5061025961050536600461177b565b6001600160a01b03166000908152600d602052604090205490565b34801561052c57600080fd5b506102597f000000000000000000000000000000000000000000000000000000000000000081565b34801561056057600080fd5b5061023861056f36600461177b565b6001600160a01b03166000908152600b602052604090205460ff1690565b34801561059957600080fd5b506102596102333660046117c4565b3480156105b457600080fd5b506101be6105c336600461170e565b610caf565b3480156105d457600080fd5b506101be6105e336600461177b565b610d3e565b6000600554116105f757600080fd5b34156106755760055461060e600160801b34611808565b6106189190611827565b6007546106259190611849565b60075560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2346008600082825461066f9190611849565b90915550505b565b6000546001600160a01b031633146106aa5760405162461bcd60e51b81526004016106a190611861565b60405180910390fd5b6001600160a01b0382166000908152600b602052604090205460ff161515811515141561073f5760405162461bcd60e51b815260206004820152603c60248201527f4558504f5f4469766964656e64547261636b65723a206163636f756e7420616c60448201527f72656164792073657420746f207265717565737465642073746174650000000060648201526084016106a1565b6001600160a01b0382166000908152600b60205260409020805460ff1916821580159190911790915561077c57610777826000610dd9565b610830565b600a546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a0823190602401602060405180830381865afa1580156107c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107eb9190611896565b90507f000000000000000000000000000000000000000000000000000000000000000081106108235761081e8382610dd9565b61082e565b61082e836000610dd9565b505b816001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be8260405161086d911515815260200190565b60405180910390a25050565b606060028054610888906118af565b80601f01602080910402602001604051908101604052809291908181526020018280546108b4906118af565b80156109015780601f106108d657610100808354040283529160200191610901565b820191906000526020600020905b8154815290600101906020018083116108e457829003601f168201915b5050505050905090565b60405162461bcd60e51b815260206004820152602c60248201527f4558504f5f4469766964656e64547261636b65723a206d6574686f64206e6f7460448201526b081a5b5c1b195b595b9d195960a21b60648201526000906084016106a1565b6001600160a01b038116600090815260066020526040812054600754829161099291611808565b6001600160a01b0384166000908152600c6020526040902054909150600160801b6109bd82846118ea565b6109c79190611827565b949350505050565b600080546001600160a01b031633146109fa5760405162461bcd60e51b81526004016106a190611861565b600080610a0684610e37565b90925090508115610a70576001600160a01b0384166000818152600e602090815260409182902042905581518581529081018490527f0e311a2c6dbfb0153ec3a8a5bdca09070b3e5f60768fdc10a20453f38d186873910160405180910390a25060019392505050565b5060009392505050565b6000546001600160a01b03163314610aa45760405162461bcd60e51b81526004016106a190611861565b61067560006111c2565b6000806000806000610aea604051806080016040528060006001600160a01b031681526020016000815260200160008152602001600081525090565b6001600160a01b0387168152610aff87610c7d565b6020820152610b0d8761096b565b60408281019182526001600160a01b03989098166000908152600e6020908152989020546060830181905282519890920151905160095498999198909750919550909350915050565b600080546001600160a01b03163314610b815760405162461bcd60e51b81526004016106a190611861565b6000610b8c83611212565b90508015610bf2576001600160a01b0383166000818152600e602052604090819020429055517f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490610be19084815260200190565b60405180910390a250600192915050565b50600092915050565b6000546001600160a01b03163314610c255760405162461bcd60e51b81526004016106a190611861565b476001600160a01b0382166108fc84610c3e5782610c40565b845b6040518115909202916000818181858888f19350505050158015610c68573d6000803e3d6000fd5b50505050565b606060038054610888906118af565b6001600160a01b0381166000908152600d6020526040812054610c9f8361096b565b610ca9919061192b565b92915050565b6000546001600160a01b03163314610cd95760405162461bcd60e51b81526004016106a190611861565b6001600160a01b0382166000908152600b602052604090205460ff1615610cfe575050565b7f00000000000000000000000000000000000000000000000000000000000000008110610d3357610d2f8282610dd9565b5050565b610d2f826000610dd9565b6000546001600160a01b03163314610d685760405162461bcd60e51b81526004016106a190611861565b6001600160a01b038116610dcd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a1565b610dd6816111c2565b50565b6001600160a01b03821660009081526006602052604090205480821115610e12576000610e06828461192b565b9050610c688482611361565b80821015610e32576000610e26838361192b565b9050610c6884826114a4565b505050565b6000806000610e4584610c7d565b905080156111b6576001600160a01b0384166000908152600d602052604081208054839290610e75908490611849565b925050819055508060096000828254610e8e9190611849565b90915550506040518181526001600160a01b038516907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a26001546040805160028082526060820183526001600160a01b0390931692600092602083019080368337019050509050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f639190611942565b81600081518110610f7657610f7661195f565b6001600160a01b039283166020918202929092010152600a54825191169082906001908110610fa757610fa761195f565b6001600160a01b039283166020918202929092010152600a546040516370a0823160e01b81528883166004820152600092839283929116906370a0823190602401602060405180830381865afa158015611005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110299190611896565b9050846001600160a01b031663b6f9de95876000878d426040518663ffffffff1660e01b815260040161105f9493929190611975565b6000604051808303818588803b15801561107857600080fd5b505af19350505050801561108a575060015b6110cc576110966119df565b806308c379a014156110c057506110ab611a36565b806110b657506110c2565b600093505061114b565b505b3d6000803e3d6000fd5b600a546040516370a0823160e01b81526001600160a01b038b8116600483015260019550839216906370a0823190602401602060405180830381865afa15801561111a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113e9190611896565b611148919061192b565b91505b826111a7576001600160a01b0389166000908152600d60205260408120805488929061117890849061192b565b925050819055508560096000828254611191919061192b565b9091555060009a8b9a5098505050505050505050565b50939793965092945050505050565b50600093849350915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008061121e83610c7d565b90508015610bf2576001600160a01b0383166000908152600d60205260408120805483929061124e908490611849565b9250508190555080600960008282546112679190611849565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a26000836001600160a01b031682610bb890604051600060405180830381858888f193505050503d80600081146112fc576040519150601f19603f3d011682016040523d82523d6000602084013e611301565b606091505b505090508061135a576001600160a01b0384166000908152600d60205260408120805484929061133290849061192b565b92505081905550816009600082825461134b919061192b565b90915550600095945050505050565b5092915050565b6001600160a01b0382166113ce5760405162461bcd60e51b815260206004820152602e60248201527f4558504f5f4469766964656e64547261636b65723a206d696e7420746f20746860448201526d65207a65726f206164647265737360901b60648201526084016106a1565b80600560008282546113e09190611849565b90915550506001600160a01b0382166000908152600660205260408120805483929061140d908490611849565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3806007546114619190611808565b6001600160a01b0383166000908152600c60205260409020546114849190611ac0565b6001600160a01b039092166000908152600c602052604090209190915550565b6001600160a01b0382166115135760405162461bcd60e51b815260206004820152603060248201527f4558504f5f4469766964656e64547261636b65723a206275726e2066726f6d2060448201526f746865207a65726f206164647265737360801b60648201526084016106a1565b6001600160a01b038216600090815260066020526040902054818110156115965760405162461bcd60e51b815260206004820152603160248201527f4558504f5f4469766964656e64547261636b65723a206275726e20616d6f756e6044820152707420657863656564732062616c616e636560781b60648201526084016106a1565b6115a0828261192b565b6001600160a01b038416600090815260066020526040812091909155600580548492906115ce90849061192b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3816007546116229190611808565b6001600160a01b0384166000908152600c602052604090205461164591906118ea565b6001600160a01b039093166000908152600c60205260409020929092555050565b6001600160a01b0381168114610dd657600080fd5b6000806040838503121561168e57600080fd5b823561169981611666565b9150602083013580151581146116ae57600080fd5b809150509250929050565b600060208083528351808285015260005b818110156116e6578581018301518582016040015282016116ca565b818111156116f8576000604083870101525b50601f01601f1916929092016040019392505050565b6000806040838503121561172157600080fd5b823561172c81611666565b946020939093013593505050565b60008060006060848603121561174f57600080fd5b833561175a81611666565b9250602084013561176a81611666565b929592945050506040919091013590565b60006020828403121561178d57600080fd5b813561179881611666565b9392505050565b600080604083850312156117b257600080fd5b8235915060208301356116ae81611666565b600080604083850312156117d757600080fd5b82356117e281611666565b915060208301356116ae81611666565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611822576118226117f2565b500290565b60008261184457634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561185c5761185c6117f2565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156118a857600080fd5b5051919050565b600181811c908216806118c357607f821691505b602082108114156118e457634e487b7160e01b600052602260045260246000fd5b50919050565b600080821280156001600160ff1b038490038513161561190c5761190c6117f2565b600160ff1b8390038412811615611925576119256117f2565b50500190565b60008282101561193d5761193d6117f2565b500390565b60006020828403121561195457600080fd5b815161179881611666565b634e487b7160e01b600052603260045260246000fd5b600060808201868352602060808185015281875180845260a086019150828901935060005b818110156119bf5784516001600160a01b03168352938301939183019160010161199a565b50506001600160a01b039690961660408501525050506060015292915050565b600060033d11156119f85760046000803e5060005160e01c5b90565b601f8201601f1916810167ffffffffffffffff81118282101715611a2f57634e487b7160e01b600052604160045260246000fd5b6040525050565b600060443d1015611a445790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611a7457505050505090565b8285019150815181811115611a8c5750505050505090565b843d8701016020828501011115611aa65750505050505090565b611ab5602082860101876119fb565b509095945050505050565b60008083128015600160ff1b850184121615611ade57611ade6117f2565b6001600160ff1b0384018313811615611af957611af96117f2565b5050039056fea26469706673582212207f8d84257d9acb7e663543c422d2de304d170cb7f26cfa20dfe12d9f18b9bae164736f6c634300080a0033000000000000000000000000cfaf8edcea94ebaa080dc4983c3f9be5701d66130000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

Deployed Bytecode

0x6080604052600436106101b15760003560e01c806385a6b3ae116100e7578063a8b9d24011610095578063c705c56911610064578063c705c56914610554578063dd62ed3e1461058d578063e30443bc146105a8578063f2fde38b146105c857600080fd5b8063a8b9d240146104ca578063a9059cbb14610218578063aafd847a146104ea578063c49af5f01461052057600080fd5b806385a6b3ae146103e15780638da5cb5b146103f75780638e1269441461042957806395d89b41146104495780639d76ea581461045e5780639e1e06611461047e578063a680e0bc1461049457600080fd5b80633009a6091161015f57806370a082311161012e57806370a0823114610324578063715018a61461035a5780637b510fe81461036f578063807ab4f7146103c157600080fd5b80633009a609146102a2578063313ce567146102b85780634e7b827f146102d45780636de1a5a91461030457600080fd5b806303c83302146101c55780630483f7a0146101cd57806306fdde03146101ed578063095ea7b31461021857806318160ddd1461024857806323b872dd1461026757806327ce01471461028257600080fd5b366101c0576101be6105e8565b005b600080fd5b6101be6105e8565b3480156101d957600080fd5b506101be6101e836600461167b565b610677565b3480156101f957600080fd5b50610202610879565b60405161020f91906116b9565b60405180910390f35b34801561022457600080fd5b5061023861023336600461170e565b61090b565b604051901515815260200161020f565b34801561025457600080fd5b506005545b60405190815260200161020f565b34801561027357600080fd5b5061023861023336600461173a565b34801561028e57600080fd5b5061025961029d36600461177b565b61096b565b3480156102ae57600080fd5b5061025960045481565b3480156102c457600080fd5b506040516012815260200161020f565b3480156102e057600080fd5b506102386102ef36600461177b565b600b6020526000908152604090205460ff1681565b34801561031057600080fd5b5061023861031f36600461177b565b6109cf565b34801561033057600080fd5b5061025961033f36600461177b565b6001600160a01b031660009081526006602052604090205490565b34801561036657600080fd5b506101be610a7a565b34801561037b57600080fd5b5061038f61038a36600461177b565b610aae565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a00161020f565b3480156103cd57600080fd5b506102386103dc36600461177b565b610b56565b3480156103ed57600080fd5b5061025960085481565b34801561040357600080fd5b506000546001600160a01b03165b6040516001600160a01b03909116815260200161020f565b34801561043557600080fd5b506101be61044436600461179f565b610bfb565b34801561045557600080fd5b50610202610c6e565b34801561046a57600080fd5b50600a54610411906001600160a01b031681565b34801561048a57600080fd5b5061025960095481565b3480156104a057600080fd5b506102596104af36600461177b565b6001600160a01b03166000908152600e602052604090205490565b3480156104d657600080fd5b506102596104e536600461177b565b610c7d565b3480156104f657600080fd5b5061025961050536600461177b565b6001600160a01b03166000908152600d602052604090205490565b34801561052c57600080fd5b506102597f00000000000000000000000000000000000000000000021e19e0c9bab240000081565b34801561056057600080fd5b5061023861056f36600461177b565b6001600160a01b03166000908152600b602052604090205460ff1690565b34801561059957600080fd5b506102596102333660046117c4565b3480156105b457600080fd5b506101be6105c336600461170e565b610caf565b3480156105d457600080fd5b506101be6105e336600461177b565b610d3e565b6000600554116105f757600080fd5b34156106755760055461060e600160801b34611808565b6106189190611827565b6007546106259190611849565b60075560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2346008600082825461066f9190611849565b90915550505b565b6000546001600160a01b031633146106aa5760405162461bcd60e51b81526004016106a190611861565b60405180910390fd5b6001600160a01b0382166000908152600b602052604090205460ff161515811515141561073f5760405162461bcd60e51b815260206004820152603c60248201527f4558504f5f4469766964656e64547261636b65723a206163636f756e7420616c60448201527f72656164792073657420746f207265717565737465642073746174650000000060648201526084016106a1565b6001600160a01b0382166000908152600b60205260409020805460ff1916821580159190911790915561077c57610777826000610dd9565b610830565b600a546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a0823190602401602060405180830381865afa1580156107c7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107eb9190611896565b90507f00000000000000000000000000000000000000000000021e19e0c9bab240000081106108235761081e8382610dd9565b61082e565b61082e836000610dd9565b505b816001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be8260405161086d911515815260200190565b60405180910390a25050565b606060028054610888906118af565b80601f01602080910402602001604051908101604052809291908181526020018280546108b4906118af565b80156109015780601f106108d657610100808354040283529160200191610901565b820191906000526020600020905b8154815290600101906020018083116108e457829003601f168201915b5050505050905090565b60405162461bcd60e51b815260206004820152602c60248201527f4558504f5f4469766964656e64547261636b65723a206d6574686f64206e6f7460448201526b081a5b5c1b195b595b9d195960a21b60648201526000906084016106a1565b6001600160a01b038116600090815260066020526040812054600754829161099291611808565b6001600160a01b0384166000908152600c6020526040902054909150600160801b6109bd82846118ea565b6109c79190611827565b949350505050565b600080546001600160a01b031633146109fa5760405162461bcd60e51b81526004016106a190611861565b600080610a0684610e37565b90925090508115610a70576001600160a01b0384166000818152600e602090815260409182902042905581518581529081018490527f0e311a2c6dbfb0153ec3a8a5bdca09070b3e5f60768fdc10a20453f38d186873910160405180910390a25060019392505050565b5060009392505050565b6000546001600160a01b03163314610aa45760405162461bcd60e51b81526004016106a190611861565b61067560006111c2565b6000806000806000610aea604051806080016040528060006001600160a01b031681526020016000815260200160008152602001600081525090565b6001600160a01b0387168152610aff87610c7d565b6020820152610b0d8761096b565b60408281019182526001600160a01b03989098166000908152600e6020908152989020546060830181905282519890920151905160095498999198909750919550909350915050565b600080546001600160a01b03163314610b815760405162461bcd60e51b81526004016106a190611861565b6000610b8c83611212565b90508015610bf2576001600160a01b0383166000818152600e602052604090819020429055517f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490610be19084815260200190565b60405180910390a250600192915050565b50600092915050565b6000546001600160a01b03163314610c255760405162461bcd60e51b81526004016106a190611861565b476001600160a01b0382166108fc84610c3e5782610c40565b845b6040518115909202916000818181858888f19350505050158015610c68573d6000803e3d6000fd5b50505050565b606060038054610888906118af565b6001600160a01b0381166000908152600d6020526040812054610c9f8361096b565b610ca9919061192b565b92915050565b6000546001600160a01b03163314610cd95760405162461bcd60e51b81526004016106a190611861565b6001600160a01b0382166000908152600b602052604090205460ff1615610cfe575050565b7f00000000000000000000000000000000000000000000021e19e0c9bab24000008110610d3357610d2f8282610dd9565b5050565b610d2f826000610dd9565b6000546001600160a01b03163314610d685760405162461bcd60e51b81526004016106a190611861565b6001600160a01b038116610dcd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106a1565b610dd6816111c2565b50565b6001600160a01b03821660009081526006602052604090205480821115610e12576000610e06828461192b565b9050610c688482611361565b80821015610e32576000610e26838361192b565b9050610c6884826114a4565b505050565b6000806000610e4584610c7d565b905080156111b6576001600160a01b0384166000908152600d602052604081208054839290610e75908490611849565b925050819055508060096000828254610e8e9190611849565b90915550506040518181526001600160a01b038516907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a26001546040805160028082526060820183526001600160a01b0390931692600092602083019080368337019050509050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f3f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f639190611942565b81600081518110610f7657610f7661195f565b6001600160a01b039283166020918202929092010152600a54825191169082906001908110610fa757610fa761195f565b6001600160a01b039283166020918202929092010152600a546040516370a0823160e01b81528883166004820152600092839283929116906370a0823190602401602060405180830381865afa158015611005573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110299190611896565b9050846001600160a01b031663b6f9de95876000878d426040518663ffffffff1660e01b815260040161105f9493929190611975565b6000604051808303818588803b15801561107857600080fd5b505af19350505050801561108a575060015b6110cc576110966119df565b806308c379a014156110c057506110ab611a36565b806110b657506110c2565b600093505061114b565b505b3d6000803e3d6000fd5b600a546040516370a0823160e01b81526001600160a01b038b8116600483015260019550839216906370a0823190602401602060405180830381865afa15801561111a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061113e9190611896565b611148919061192b565b91505b826111a7576001600160a01b0389166000908152600d60205260408120805488929061117890849061192b565b925050819055508560096000828254611191919061192b565b9091555060009a8b9a5098505050505050505050565b50939793965092945050505050565b50600093849350915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008061121e83610c7d565b90508015610bf2576001600160a01b0383166000908152600d60205260408120805483929061124e908490611849565b9250508190555080600960008282546112679190611849565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a26000836001600160a01b031682610bb890604051600060405180830381858888f193505050503d80600081146112fc576040519150601f19603f3d011682016040523d82523d6000602084013e611301565b606091505b505090508061135a576001600160a01b0384166000908152600d60205260408120805484929061133290849061192b565b92505081905550816009600082825461134b919061192b565b90915550600095945050505050565b5092915050565b6001600160a01b0382166113ce5760405162461bcd60e51b815260206004820152602e60248201527f4558504f5f4469766964656e64547261636b65723a206d696e7420746f20746860448201526d65207a65726f206164647265737360901b60648201526084016106a1565b80600560008282546113e09190611849565b90915550506001600160a01b0382166000908152600660205260408120805483929061140d908490611849565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3806007546114619190611808565b6001600160a01b0383166000908152600c60205260409020546114849190611ac0565b6001600160a01b039092166000908152600c602052604090209190915550565b6001600160a01b0382166115135760405162461bcd60e51b815260206004820152603060248201527f4558504f5f4469766964656e64547261636b65723a206275726e2066726f6d2060448201526f746865207a65726f206164647265737360801b60648201526084016106a1565b6001600160a01b038216600090815260066020526040902054818110156115965760405162461bcd60e51b815260206004820152603160248201527f4558504f5f4469766964656e64547261636b65723a206275726e20616d6f756e6044820152707420657863656564732062616c616e636560781b60648201526084016106a1565b6115a0828261192b565b6001600160a01b038416600090815260066020526040812091909155600580548492906115ce90849061192b565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3816007546116229190611808565b6001600160a01b0384166000908152600c602052604090205461164591906118ea565b6001600160a01b039093166000908152600c60205260409020929092555050565b6001600160a01b0381168114610dd657600080fd5b6000806040838503121561168e57600080fd5b823561169981611666565b9150602083013580151581146116ae57600080fd5b809150509250929050565b600060208083528351808285015260005b818110156116e6578581018301518582016040015282016116ca565b818111156116f8576000604083870101525b50601f01601f1916929092016040019392505050565b6000806040838503121561172157600080fd5b823561172c81611666565b946020939093013593505050565b60008060006060848603121561174f57600080fd5b833561175a81611666565b9250602084013561176a81611666565b929592945050506040919091013590565b60006020828403121561178d57600080fd5b813561179881611666565b9392505050565b600080604083850312156117b257600080fd5b8235915060208301356116ae81611666565b600080604083850312156117d757600080fd5b82356117e281611666565b915060208301356116ae81611666565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611822576118226117f2565b500290565b60008261184457634e487b7160e01b600052601260045260246000fd5b500490565b6000821982111561185c5761185c6117f2565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156118a857600080fd5b5051919050565b600181811c908216806118c357607f821691505b602082108114156118e457634e487b7160e01b600052602260045260246000fd5b50919050565b600080821280156001600160ff1b038490038513161561190c5761190c6117f2565b600160ff1b8390038412811615611925576119256117f2565b50500190565b60008282101561193d5761193d6117f2565b500390565b60006020828403121561195457600080fd5b815161179881611666565b634e487b7160e01b600052603260045260246000fd5b600060808201868352602060808185015281875180845260a086019150828901935060005b818110156119bf5784516001600160a01b03168352938301939183019160010161199a565b50506001600160a01b039690961660408501525050506060015292915050565b600060033d11156119f85760046000803e5060005160e01c5b90565b601f8201601f1916810167ffffffffffffffff81118282101715611a2f57634e487b7160e01b600052604160045260246000fd5b6040525050565b600060443d1015611a445790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611a7457505050505090565b8285019150815181811115611a8c5750505050505090565b843d8701016020828501011115611aa65750505050505090565b611ab5602082860101876119fb565b509095945050505050565b60008083128015600160ff1b850184121615611ade57611ade6117f2565b6001600160ff1b0384018313811615611af957611af96117f2565b5050039056fea26469706673582212207f8d84257d9acb7e663543c422d2de304d170cb7f26cfa20dfe12d9f18b9bae164736f6c634300080a0033

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

000000000000000000000000cfaf8edcea94ebaa080dc4983c3f9be5701d66130000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d

-----Decoded View---------------
Arg [0] : _tokenAddress (address): 0xcFAF8EDCEA94eBAA080DC4983C3f9BE5701D6613
Arg [1] : _uniswapRouter (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000cfaf8edcea94ebaa080dc4983c3f9be5701d6613
Arg [1] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d


Deployed Bytecode Sourcemap

62606:11278:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64234:21;:19;:21::i;:::-;62606:11278;;;;;64271:392;;;:::i;65045:741::-;;;;;;;;;;-1:-1:-1;65045:741:0;;;;;:::i;:::-;;:::i;72681:83::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;73537:144;;;;;;;;;;-1:-1:-1;73537:144:0;;;;;:::i;:::-;;:::i;:::-;;;1658:14:1;;1651:22;1633:41;;1621:2;1606:18;73537:144:0;1493:187:1;72951:100:0;;;;;;;;;;-1:-1:-1;73031:12:0;;72951:100;;;1831:25:1;;;1819:2;1804:18;72951:100:0;1685:177:1;73689:192:0;;;;;;;;;;-1:-1:-1;73689:192:0;;;;;:::i;71516:337::-;;;;;;;;;;-1:-1:-1;71516:337:0;;;;;:::i;:::-;;:::i;62795:33::-;;;;;;;;;;;;;;;;72867:76;;;;;;;;;;-1:-1:-1;72867:76:0;;72933:2;2722:36:1;;2710:2;2695:18;72867:76:0;2580:184:1;63213:53:0;;;;;;;;;;-1:-1:-1;63213:53:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;69078:396;;;;;;;;;;-1:-1:-1;69078:396:0;;;;;:::i;:::-;;:::i;73059:119::-;;;;;;;;;;-1:-1:-1;73059:119:0;;;;;:::i;:::-;-1:-1:-1;;;;;73152:18:0;73125:7;73152:18;;;:9;:18;;;;;;;73059:119;2936:103;;;;;;;;;;;;;:::i;71861:682::-;;;;;;;;;;-1:-1:-1;71861:682:0;;;;;:::i;:::-;;:::i;:::-;;;;-1:-1:-1;;;;;3306:32:1;;;3288:51;;3370:2;3355:18;;3348:34;;;;3398:18;;;3391:34;;;;3456:2;3441:18;;3434:34;3499:3;3484:19;;3477:35;3275:3;3260:19;71861:682:0;3029:489:1;67844:366:0;;;;;;;;;;-1:-1:-1;67844:366:0;;;;;:::i;:::-;;:::i;63083:40::-;;;;;;;;;;;;;;;;2285:87;;;;;;;;;;-1:-1:-1;2331:7:0;2358:6;-1:-1:-1;;;;;2358:6:0;2285:87;;;-1:-1:-1;;;;;3687:32:1;;;3669:51;;3657:2;3642:18;2285:87:0;3523:203:1;65967:248:0;;;;;;;;;;-1:-1:-1;65967:248:0;;;;;:::i;:::-;;:::i;72772:87::-;;;;;;;;;;;;;:::i;63177:27::-;;;;;;;;;;-1:-1:-1;63177:27:0;;;;-1:-1:-1;;;;;63177:27:0;;;63130:38;;;;;;;;;;;;;;;;72551:122;;;;;;;;;;-1:-1:-1;72551:122:0;;;;;:::i;:::-;-1:-1:-1;;;;;72642:23:0;72615:7;72642:23;;;:14;:23;;;;;;;72551:122;71141:198;;;;;;;;;;-1:-1:-1;71141:198:0;;;;;:::i;:::-;;:::i;71347:161::-;;;;;;;;;;-1:-1:-1;71347:161:0;;;;;:::i;:::-;-1:-1:-1;;;;;71473:27:0;71441:7;71473:27;;;:18;:27;;;;;;;71347:161;62976:52;;;;;;;;;;;;;;;65794:165;;;;;;;;;;-1:-1:-1;65794:165:0;;;;;:::i;:::-;-1:-1:-1;;;;;65921:30:0;65892:4;65921:30;;;:21;:30;;;;;;;;;65794:165;73339:190;;;;;;;;;;-1:-1:-1;73339:190:0;;;;;:::i;64671:366::-;;;;;;;;;;-1:-1:-1;64671:366:0;;;;;:::i;:::-;;:::i;3194:201::-;;;;;;;;;;-1:-1:-1;3194:201:0;;;;;:::i;:::-;;:::i;64271:392::-;64351:1;64336:12;;:16;64328:25;;;;;;64368:9;:13;64364:292;;64515:12;;64490:21;-1:-1:-1;;;64490:9:0;:21;:::i;:::-;64489:38;;;;:::i;:::-;64443:25;;:85;;;;:::i;:::-;64398:25;:130;64548:43;;64581:9;1831:25:1;;64569:10:0;;64548:43;;1819:2:1;1804:18;64548:43:0;;;;;;;64635:9;64606:25;;:38;;;;;;;:::i;:::-;;;;-1:-1:-1;;64364:292:0;64271:392::o;65045:741::-;2331:7;2358:6;-1:-1:-1;;;;;2358:6:0;1038:10;2505:23;2497:68;;;;-1:-1:-1;;;2497:68:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;65182:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;:42;;::::0;::::1;;;;65160:152;;;::::0;-1:-1:-1;;;65160:152:0;;5995:2:1;65160:152:0::1;::::0;::::1;5977:21:1::0;6034:2;6014:18;;;6007:30;6073:34;6053:18;;;6046:62;6144:30;6124:18;;;6117:58;6192:19;;65160:152:0::1;5793:424:1::0;65160:152:0::1;-1:-1:-1::0;;;;;65323:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;:41;;-1:-1:-1;;65323:41:0::1;::::0;::::1;::::0;::::1;::::0;;;::::1;::::0;;;65375:349:::1;;65404:23;65416:7;65425:1;65404:11;:23::i;:::-;65375:349;;;65488:12;::::0;65481:39:::1;::::0;-1:-1:-1;;;65481:39:0;;-1:-1:-1;;;;;3687:32:1;;;65481:39:0::1;::::0;::::1;3669:51:1::0;65460:18:0::1;::::0;65488:12:::1;::::0;65481:30:::1;::::0;3642:18:1;;65481:39:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;65460:60;;65553:27;65539:10;:41;65535:178;;65601:32;65613:7;65622:10;65601:11;:32::i;:::-;65535:178;;;65674:23;65686:7;65695:1;65674:11;:23::i;:::-;65445:279;65375:349;65760:7;-1:-1:-1::0;;;;;65739:39:0::1;;65769:8;65739:39;;;;1658:14:1::0;1651:22;1633:41;;1621:2;1606:18;;1493:187;65739:39:0::1;;;;;;;;65045:741:::0;;:::o;72681:83::-;72718:13;72751:5;72744:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72681:83;:::o;73537:144::-;73619:54;;-1:-1:-1;;;73619:54:0;;6998:2:1;73619:54:0;;;6980:21:1;7037:2;7017:18;;;7010:30;7076:34;7056:18;;;7049:62;-1:-1:-1;;;7127:18:1;;;7120:42;73602:4:0;;7179:19:1;;73619:54:0;6796:408:1;71516:337:0;-1:-1:-1;;;;;73152:18:0;;71613:7;73152:18;;;:9;:18;;;;;;71656:25;;71613:7;;71656:46;;;:::i;:::-;-1:-1:-1;;;;;71725:37:0;;71714:8;71725:37;;;:28;:37;;;;;;71638:65;;-1:-1:-1;;;;71827:5:0;71725:37;71638:65;71827:5;:::i;:::-;71819:26;;;;:::i;:::-;71812:33;71516:337;-1:-1:-1;;;;71516:337:0:o;69078:396::-;69181:4;2358:6;;-1:-1:-1;;;;;2358:6:0;1038:10;2505:23;2497:68;;;;-1:-1:-1;;;2497:68:0;;;;;;;:::i;:::-;69204:14:::1;69220::::0;69238:32:::1;69262:7;69238:23;:32::i;:::-;69203:67:::0;;-1:-1:-1;69203:67:0;-1:-1:-1;69285:10:0;;69281:163:::1;;-1:-1:-1::0;;;;;69312:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;;;;69338:15:::1;69312:41:::0;;69373:33;;7653:25:1;;;7694:18;;;7687:34;;;69373:33:0::1;::::0;7626:18:1;69373:33:0::1;;;;;;;-1:-1:-1::0;69428:4:0::1;::::0;69078:396;-1:-1:-1;;;69078:396:0:o;69281:163::-:1;-1:-1:-1::0;69461:5:0::1;::::0;69078:396;-1:-1:-1;;;69078:396:0:o;2936:103::-;2331:7;2358:6;-1:-1:-1;;;;;2358:6:0;1038:10;2505:23;2497:68;;;;-1:-1:-1;;;2497:68:0;;;;;;;:::i;:::-;3001:30:::1;3028:1;3001:18;:30::i;71861:682::-:0;71964:7;71986;72008;72030;72052;72087:23;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72087:23:0;-1:-1:-1;;;;;72121:22:0;;;;72183:31;72136:7;72183:22;:31::i;:::-;72154:26;;;:60;72247:31;72270:7;72247:22;:31::i;:::-;72225:19;;;;:53;;;-1:-1:-1;;;;;72310:23:0;;;;;;;;:14;:23;;;;;;;;72289:18;;;:44;;;72366:12;;72393:26;;;;;72434:19;;72501:23;;72366:12;;72393:26;;72434:19;;-1:-1:-1;72310:23:0;;-1:-1:-1;72501:23:0;;-1:-1:-1;71861:682:0;-1:-1:-1;;71861:682:0:o;67844:366::-;67946:4;2358:6;;-1:-1:-1;;;;;2358:6:0;1038:10;2505:23;2497:68;;;;-1:-1:-1;;;2497:68:0;;;;;;;:::i;:::-;67968:14:::1;67985:32;68009:7;67985:23;:32::i;:::-;67968:49:::0;-1:-1:-1;68032:10:0;;68028:152:::1;;-1:-1:-1::0;;;;;68059:23:0;::::1;;::::0;;;:14:::1;:23;::::0;;;;;;68085:15:::1;68059:41:::0;;68120:22;::::1;::::0;::::1;::::0;68135:6;1831:25:1;;1819:2;1804:18;;1685:177;68120:22:0::1;;;;;;;;-1:-1:-1::0;68164:4:0::1;::::0;69078:396;-1:-1:-1;;69078:396:0:o;68028:152::-:1;-1:-1:-1::0;68197:5:0::1;::::0;67844:366;-1:-1:-1;;67844:366:0:o;65967:248::-;2331:7;2358:6;-1:-1:-1;;;;;2358:6:0;1038:10;2505:23;2497:68;;;;-1:-1:-1;;;2497:68:0;;;;;;;:::i;:::-;66109:21:::1;-1:-1:-1::0;;;;;66141:24:0;::::1;:66;66166:10:::0;:40:::1;;66188:18;66166:40;;;66179:6;66166:40;66141:66;::::0;;::::1;::::0;;::::1;::::0;::::1;::::0;;;;;;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;66069:146;65967:248:::0;;:::o;72772:87::-;72811:13;72844:7;72837:14;;;;;:::i;71141:198::-;-1:-1:-1;;;;;71304:27:0;;71238:7;71304:27;;;:18;:27;;;;;;71270:31;71323:7;71270:22;:31::i;:::-;:61;;;;:::i;:::-;71263:68;71141:198;-1:-1:-1;;71141:198:0:o;64671:366::-;2331:7;2358:6;-1:-1:-1;;;;;2358:6:0;1038:10;2505:23;2497:68;;;;-1:-1:-1;;;2497:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;64793:30:0;::::1;;::::0;;;:21:::1;:30;::::0;;;;;::::1;;64789:69;;;64671:366:::0;;:::o;64789:69::-:1;64886:27;64872:10;:41;64868:162;;64930:32;64942:7;64951:10;64930:11;:32::i;:::-;64671:366:::0;;:::o;64868:162::-:1;64995:23;65007:7;65016:1;64995:11;:23::i;3194:201::-:0;2331:7;2358:6;-1:-1:-1;;;;;2358:6:0;1038:10;2505:23;2497:68;;;;-1:-1:-1;;;2497:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;3283:22:0;::::1;3275:73;;;::::0;-1:-1:-1;;;3275:73:0;;8064:2:1;3275:73:0::1;::::0;::::1;8046:21:1::0;8103:2;8083:18;;;8076:30;8142:34;8122:18;;;8115:62;-1:-1:-1;;;8193:18:1;;;8186:36;8239:19;;3275:73:0::1;7862:402:1::0;3275:73:0::1;3359:28;3378:8;3359:18;:28::i;:::-;3194:201:::0;:::o;66223:439::-;-1:-1:-1;;;;;66326:18:0;;66301:22;66326:18;;;:9;:18;;;;;;66359:27;;;66355:300;;;66403:17;66423:27;66436:14;66423:10;:27;:::i;:::-;66403:47;;66465:25;66471:7;66480:9;66465:5;:25::i;66355:300::-;66525:14;66512:10;:27;66508:147;;;66556:17;66576:27;66593:10;66576:14;:27;:::i;:::-;66556:47;;66618:25;66624:7;66633:9;66618:5;:25::i;66508:147::-;66290:372;66223:439;;:::o;69482:1651::-;69575:7;69584;69609:29;69641:31;69664:7;69641:22;:31::i;:::-;69609:63;-1:-1:-1;69687:25:0;;69683:1419;;-1:-1:-1;;;;;69729:27:0;;;;;;:18;:27;;;;;:52;;69760:21;;69729:27;:52;;69760:21;;69729:52;:::i;:::-;;;;;;;;69823:21;69796:23;;:48;;;;;;;:::i;:::-;;;;-1:-1:-1;;69864:49:0;;1831:25:1;;;-1:-1:-1;;;;;69864:49:0;;;;;1819:2:1;1804:18;69864:49:0;;;;;;;70004:13;;70073:16;;;70087:1;70073:16;;;;;;;;-1:-1:-1;;;;;70004:13:0;;;;69930:34;;70073:16;;;;;;;;;;-1:-1:-1;70073:16:0;70049:40;;70114:15;-1:-1:-1;;;;;70114:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70104:4;70109:1;70104:7;;;;;;;;:::i;:::-;-1:-1:-1;;;;;70104:32:0;;;:7;;;;;;;;;:32;70169:12;;70151:7;;70169:12;;;70151:4;;70169:12;;70151:7;;;;;;:::i;:::-;-1:-1:-1;;;;;70151:31:0;;;:7;;;;;;;;;:31;70287:12;;70280:39;;-1:-1:-1;;;70280:39:0;;3687:32:1;;;70280:39:0;;;3669:51:1;70199:12:0;;;;;;70287;;;70280:30;;3642:18:1;;70280:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;70257:62;;70355:15;-1:-1:-1;;;;;70355:88:0;;70473:21;70514:1;70517:4;70531:7;70541:15;70355:202;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70334:486;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;70799:5;70789:15;;70703:117;70334:486;;;;;;;;;;;;;70639:12;;70632:39;;-1:-1:-1;;;70632:39:0;;-1:-1:-1;;;;;3687:32:1;;;70632:39:0;;;3669:51:1;70600:4:0;;-1:-1:-1;70674:12:0;;70639;;70632:30;;3642:18:1;;70632:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:54;;;;:::i;:::-;70623:63;;70334:486;70841:7;70836:200;;-1:-1:-1;;;;;70869:27:0;;;;;;:18;:27;;;;;:52;;70900:21;;70869:27;:52;;70900:21;;70869:52;:::i;:::-;;;;;;;;70967:21;70940:23;;:48;;;;;;;:::i;:::-;;;;-1:-1:-1;71015:1:0;;;;-1:-1:-1;69482:1651:0;-1:-1:-1;;;;;;;;;69482:1651:0:o;70836:200::-;-1:-1:-1;71060:21:0;;71083:6;;-1:-1:-1;69482:1651:0;;-1:-1:-1;;;;;69482:1651:0:o;69683:1419::-;-1:-1:-1;71120:1:0;;;;-1:-1:-1;69482:1651:0;-1:-1:-1;;69482:1651:0:o;3555:191::-;3629:16;3648:6;;-1:-1:-1;;;;;3665:17:0;;;-1:-1:-1;;;;;;3665:17:0;;;;;;3698:40;;3648:6;;;;;;;3698:40;;3629:16;3698:40;3618:128;3555:191;:::o;68218:852::-;68311:7;68336:29;68368:31;68391:7;68368:22;:31::i;:::-;68336:63;-1:-1:-1;68414:25:0;;68410:634;;-1:-1:-1;;;;;68456:27:0;;;;;;:18;:27;;;;;:52;;68487:21;;68456:27;:52;;68487:21;;68456:52;:::i;:::-;;;;;;;;68550:21;68523:23;;:48;;;;;;;:::i;:::-;;;;-1:-1:-1;;68591:49:0;;1831:25:1;;;-1:-1:-1;;;;;68591:49:0;;;;;1819:2:1;1804:18;68591:49:0;;;;;;;68656:12;68674:7;-1:-1:-1;;;;;68674:12:0;68712:21;68757:4;68674:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68655:125;;;68800:7;68795:195;;-1:-1:-1;;;;;68828:27:0;;;;;;:18;:27;;;;;:52;;68859:21;;68828:27;:52;;68859:21;;68828:52;:::i;:::-;;;;;;;;68926:21;68899:23;;:48;;;;;;;:::i;:::-;;;;-1:-1:-1;68973:1:0;;68218:852;-1:-1:-1;;;;;68218:852:0:o;68795:195::-;-1:-1:-1;69011:21:0;68218:852;-1:-1:-1;;68218:852:0:o;66670:476::-;-1:-1:-1;;;;;66759:21:0;;66737:117;;;;-1:-1:-1;;;66737:117:0;;11541:2:1;66737:117:0;;;11523:21:1;11580:2;11560:18;;;11553:30;11619:34;11599:18;;;11592:62;-1:-1:-1;;;11670:18:1;;;11663:44;11724:19;;66737:117:0;11339:410:1;66737:117:0;66881:6;66865:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;66898:18:0;;;;;;:9;:18;;;;;:28;;66920:6;;66898:18;:28;;66920:6;;66898:28;:::i;:::-;;;;-1:-1:-1;;66942:37:0;;1831:25:1;;;-1:-1:-1;;;;;66942:37:0;;;66959:1;;66942:37;;1819:2:1;1804:18;66942:37:0;;;;;;;67131:6;67103:25;;:34;;;;:::i;:::-;-1:-1:-1;;;;;67043:37:0;;;;;;:28;:37;;;;;;:95;;;;:::i;:::-;-1:-1:-1;;;;;66990:37:0;;;;;;;:28;:37;;;;;:148;;;;-1:-1:-1;66670:476:0:o;67154:682::-;-1:-1:-1;;;;;67243:21:0;;67221:119;;;;-1:-1:-1;;;67221:119:0;;12228:2:1;67221:119:0;;;12210:21:1;12267:2;12247:18;;;12240:30;12306:34;12286:18;;;12279:62;-1:-1:-1;;;12357:18:1;;;12350:46;12413:19;;67221:119:0;12026:412:1;67221:119:0;-1:-1:-1;;;;;67376:18:0;;67351:22;67376:18;;;:9;:18;;;;;;67427:24;;;;67405:123;;;;-1:-1:-1;;;67405:123:0;;12645:2:1;67405:123:0;;;12627:21:1;12684:2;12664:18;;;12657:30;12723:34;12703:18;;;12696:62;-1:-1:-1;;;12774:18:1;;;12767:47;12831:19;;67405:123:0;12443:413:1;67405:123:0;67560:23;67577:6;67560:14;:23;:::i;:::-;-1:-1:-1;;;;;67539:18:0;;;;;;:9;:18;;;;;:44;;;;67594:12;:22;;67610:6;;67539:18;67594:22;;67610:6;;67594:22;:::i;:::-;;;;-1:-1:-1;;67632:37:0;;1831:25:1;;;67658:1:0;;-1:-1:-1;;;;;67632:37:0;;;;;1819:2:1;1804:18;67632:37:0;;;;;;;67821:6;67793:25;;:34;;;;:::i;:::-;-1:-1:-1;;;;;67733:37:0;;;;;;:28;:37;;;;;;:95;;;;:::i;:::-;-1:-1:-1;;;;;67680:37:0;;;;;;;:28;:37;;;;;:148;;;;-1:-1:-1;;67154:682:0:o;14:131:1:-;-1:-1:-1;;;;;89:31:1;;79:42;;69:70;;135:1;132;125:12;150:416;215:6;223;276:2;264:9;255:7;251:23;247:32;244:52;;;292:1;289;282:12;244:52;331:9;318:23;350:31;375:5;350:31;:::i;:::-;400:5;-1:-1:-1;457:2:1;442:18;;429:32;499:15;;492:23;480:36;;470:64;;530:1;527;520:12;470:64;553:7;543:17;;;150:416;;;;;:::o;571:597::-;683:4;712:2;741;730:9;723:21;773:6;767:13;816:6;811:2;800:9;796:18;789:34;841:1;851:140;865:6;862:1;859:13;851:140;;;960:14;;;956:23;;950:30;926:17;;;945:2;922:26;915:66;880:10;;851:140;;;1009:6;1006:1;1003:13;1000:91;;;1079:1;1074:2;1065:6;1054:9;1050:22;1046:31;1039:42;1000:91;-1:-1:-1;1152:2:1;1131:15;-1:-1:-1;;1127:29:1;1112:45;;;;1159:2;1108:54;;571:597;-1:-1:-1;;;571:597:1:o;1173:315::-;1241:6;1249;1302:2;1290:9;1281:7;1277:23;1273:32;1270:52;;;1318:1;1315;1308:12;1270:52;1357:9;1344:23;1376:31;1401:5;1376:31;:::i;:::-;1426:5;1478:2;1463:18;;;;1450:32;;-1:-1:-1;;;1173:315:1:o;1867:456::-;1944:6;1952;1960;2013:2;2001:9;1992:7;1988:23;1984:32;1981:52;;;2029:1;2026;2019:12;1981:52;2068:9;2055:23;2087:31;2112:5;2087:31;:::i;:::-;2137:5;-1:-1:-1;2194:2:1;2179:18;;2166:32;2207:33;2166:32;2207:33;:::i;:::-;1867:456;;2259:7;;-1:-1:-1;;;2313:2:1;2298:18;;;;2285:32;;1867:456::o;2328:247::-;2387:6;2440:2;2428:9;2419:7;2415:23;2411:32;2408:52;;;2456:1;2453;2446:12;2408:52;2495:9;2482:23;2514:31;2539:5;2514:31;:::i;:::-;2564:5;2328:247;-1:-1:-1;;;2328:247:1:o;3731:315::-;3799:6;3807;3860:2;3848:9;3839:7;3835:23;3831:32;3828:52;;;3876:1;3873;3866:12;3828:52;3912:9;3899:23;3889:33;;3972:2;3961:9;3957:18;3944:32;3985:31;4010:5;3985:31;:::i;4051:388::-;4119:6;4127;4180:2;4168:9;4159:7;4155:23;4151:32;4148:52;;;4196:1;4193;4186:12;4148:52;4235:9;4222:23;4254:31;4279:5;4254:31;:::i;:::-;4304:5;-1:-1:-1;4361:2:1;4346:18;;4333:32;4374:33;4333:32;4374:33;:::i;4772:127::-;4833:10;4828:3;4824:20;4821:1;4814:31;4864:4;4861:1;4854:15;4888:4;4885:1;4878:15;4904:168;4944:7;5010:1;5006;5002:6;4998:14;4995:1;4992:21;4987:1;4980:9;4973:17;4969:45;4966:71;;;5017:18;;:::i;:::-;-1:-1:-1;5057:9:1;;4904:168::o;5077:217::-;5117:1;5143;5133:132;;5187:10;5182:3;5178:20;5175:1;5168:31;5222:4;5219:1;5212:15;5250:4;5247:1;5240:15;5133:132;-1:-1:-1;5279:9:1;;5077:217::o;5299:128::-;5339:3;5370:1;5366:6;5363:1;5360:13;5357:39;;;5376:18;;:::i;:::-;-1:-1:-1;5412:9:1;;5299:128::o;5432:356::-;5634:2;5616:21;;;5653:18;;;5646:30;5712:34;5707:2;5692:18;;5685:62;5779:2;5764:18;;5432:356::o;6222:184::-;6292:6;6345:2;6333:9;6324:7;6320:23;6316:32;6313:52;;;6361:1;6358;6351:12;6313:52;-1:-1:-1;6384:16:1;;6222:184;-1:-1:-1;6222:184:1:o;6411:380::-;6490:1;6486:12;;;;6533;;;6554:61;;6608:4;6600:6;6596:17;6586:27;;6554:61;6661:2;6653:6;6650:14;6630:18;6627:38;6624:161;;;6707:10;6702:3;6698:20;6695:1;6688:31;6742:4;6739:1;6732:15;6770:4;6767:1;6760:15;6624:161;;6411:380;;;:::o;7209:265::-;7248:3;7276:9;;;7301:10;;-1:-1:-1;;;;;7320:27:1;;;7313:35;;7297:52;7294:78;;;7352:18;;:::i;:::-;-1:-1:-1;;;7399:19:1;;;7392:27;;7384:36;;7381:62;;;7423:18;;:::i;:::-;-1:-1:-1;;7459:9:1;;7209:265::o;7732:125::-;7772:4;7800:1;7797;7794:8;7791:34;;;7805:18;;:::i;:::-;-1:-1:-1;7842:9:1;;7732:125::o;8401:251::-;8471:6;8524:2;8512:9;8503:7;8499:23;8495:32;8492:52;;;8540:1;8537;8530:12;8492:52;8572:9;8566:16;8591:31;8616:5;8591:31;:::i;8657:127::-;8718:10;8713:3;8709:20;8706:1;8699:31;8749:4;8746:1;8739:15;8773:4;8770:1;8763:15;9005:908;9239:4;9287:3;9276:9;9272:19;9318:6;9307:9;9300:25;9344:2;9382:3;9377:2;9366:9;9362:18;9355:31;9406:6;9441;9435:13;9472:6;9464;9457:22;9510:3;9499:9;9495:19;9488:26;;9549:2;9541:6;9537:15;9523:29;;9570:1;9580:195;9594:6;9591:1;9588:13;9580:195;;;9659:13;;-1:-1:-1;;;;;9655:39:1;9643:52;;9750:15;;;;9715:12;;;;9691:1;9609:9;9580:195;;;-1:-1:-1;;;;;;;9831:32:1;;;;9826:2;9811:18;;9804:60;-1:-1:-1;;;9895:2:1;9880:18;9873:34;9792:3;9005:908;-1:-1:-1;;9005:908:1:o;9918:179::-;9953:3;9995:1;9977:16;9974:23;9971:120;;;10041:1;10038;10035;10020:23;-1:-1:-1;10078:1:1;10072:8;10067:3;10063:18;9971:120;9918:179;:::o;10102:346::-;10212:2;10193:13;;-1:-1:-1;;10189:27:1;10177:40;;10247:18;10232:34;;10268:22;;;10229:62;10226:185;;;10333:10;10328:3;10324:20;10321:1;10314:31;10368:4;10365:1;10358:15;10396:4;10393:1;10386:15;10226:185;10427:2;10420:22;-1:-1:-1;;10102:346:1:o;10453:671::-;10492:3;10534:4;10516:16;10513:26;10510:39;;;10453:671;:::o;10510:39::-;10576:2;10570:9;-1:-1:-1;;10641:16:1;10637:25;;10634:1;10570:9;10613:50;10692:4;10686:11;10716:16;10751:18;10822:2;10815:4;10807:6;10803:17;10800:25;10795:2;10787:6;10784:14;10781:45;10778:58;;;10829:5;;;;;10453:671;:::o;10778:58::-;10866:6;10860:4;10856:17;10845:28;;10902:3;10896:10;10929:2;10921:6;10918:14;10915:27;;;10935:5;;;;;;10453:671;:::o;10915:27::-;11019:2;11000:16;10994:4;10990:27;10986:36;10979:4;10970:6;10965:3;10961:16;10957:27;10954:69;10951:82;;;11026:5;;;;;;10453:671;:::o;10951:82::-;11042:57;11093:4;11084:6;11076;11072:19;11068:30;11062:4;11042:57;:::i;:::-;-1:-1:-1;11115:3:1;;10453:671;-1:-1:-1;;;;;10453:671:1:o;11754:267::-;11793:4;11822:9;;;11847:10;;-1:-1:-1;;;11866:19:1;;11859:27;;11843:44;11840:70;;;11890:18;;:::i;:::-;-1:-1:-1;;;;;11937:27:1;;11930:35;;11922:44;;11919:70;;;11969:18;;:::i;:::-;-1:-1:-1;;12006:9:1;;11754:267::o

Swarm Source

ipfs://7f8d84257d9acb7e663543c422d2de304d170cb7f26cfa20dfe12d9f18b9bae1
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.