ETH Price: $3,100.95 (+0.10%)

Token

ChadFi (CHAD)
 

Overview

Max Total Supply

1,000,000,000 CHAD

Holders

171

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

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:
ChadFi

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : ChadFi.sol
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/ChadFi.sol
/**

Chad Finance

u'all are not ready for this

Tax for Buying/Selling: 12%
    - 2% of each transaction sent to holders as ETH transactions
    - 5% of each transaction sent to Treasury Wallet
    - 5% of each transaction sent to the Liquidity Pool

Earning Dashboard:
https:/chadfi.xyz

*/

/* 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 ChadFi is Ownable, IERC20 {
    address UNISWAPROUTER = address(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
    address DEAD = 0x000000000000000000000000000000000000dEaD;
    address ZERO = 0x0000000000000000000000000000000000000000;

    string private _name = "ChadFi";
    string private _symbol = "CHAD";

    uint256 public treasuryFeeBPS = 500;
    uint256 public liquidityFeeBPS = 500;
    uint256 public dividendFeeBPS = 200;
    uint256 public totalFeeBPS = 1200;

    uint256 public swapTokensAtAmount = 100000 * (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 = 49;
    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(), 1000000000 * (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,
            "ChadFi: 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,
            "ChadFi: 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], "ChadFi: Sender is blacklisted");
        require(!isBlacklisted[recipient], "ChadFi: Recipient is blacklisted");

        require(sender != address(0), "ChadFi: transfer from the zero address");
        require(recipient != address(0), "ChadFi: 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,
            "ChadFi: 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), "ChadFi: transfer from the zero address");
        require(recipient != address(0), "ChadFi: transfer to the zero address");
        uint256 senderBalance = _balances[sender];
        require(
            senderBalance >= amount,
            "ChadFi: 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), "ChadFi: approve from the zero address");
        require(spender != address(0), "ChadFi: 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), "ChadFi: 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), "ChadFi: burn from the zero address");
        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ChadFi: 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,
            "ChadFi: 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, "ChadFi: 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,
            "ChadFi: 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),
            "ChadFi: 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, "ChadFi: 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 = "ChadFi_DividendTracker";
    string private _symbol = "ChadFi_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,
            "ChadFi_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),
            "ChadFi_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),
            "ChadFi_DividendTracker: burn from the zero address"
        );
        uint256 accountBalance = _balances[account];
        require(
            accountBalance >= amount,
            "ChadFi_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("ChadFi_DividendTracker: method not implemented");
    }

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"},{"internalType":"address","name":"_liquidityWallet","type":"address"},{"internalType":"address[]","name":"whitelistAddress","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":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"BlacklistEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"CompoundingEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"isExcluded","type":"bool"}],"name":"ExcludeFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pair","type":"address"},{"indexed":true,"internalType":"bool","name":"value","type":"bool"}],"name":"SetAutomatedMarketMakerPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nativeReceived","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokensIntoLiquidity","type":"uint256"}],"name":"SwapAndAddLiquidity","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"SwapEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"enabled","type":"bool"}],"name":"TaxEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newAddress","type":"address"},{"indexed":true,"internalType":"address","name":"oldAddress","type":"address"}],"name":"UpdateUniswapV2Router","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":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"blackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"blackListMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"compound","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"compoundingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"dividendFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTracker","outputs":[{"internalType":"contract DividendTracker","name":"","type":"address"}],"stateMutability":"view","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":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"excludeFromMaxWallet","outputs":[],"stateMutability":"nonpayable","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":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromDividends","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFees","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxTx","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxWallet","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastSwapTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityFeeBPS","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":"maxTxBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletBPS","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":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"removeFromBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"rescueToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setAutomatedMarketMakerPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setCompoundingEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_dividendFee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"setMaxTxBPS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"bps","type":"uint256"}],"name":"setMaxWalletBPS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setSwapEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_enabled","type":"bool"}],"name":"setTaxEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_marketingWallet","type":"address"},{"internalType":"address payable","name":"_liquidityWallet","type":"address"}],"name":"setWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapTokensAtAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"unBlackListMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_swapEnabled","type":"bool"},{"internalType":"uint256","name":"_swapTokensAtAmount","type":"uint256"},{"internalType":"bool","name":"_swapAllToken","type":"bool"}],"name":"updateDividendSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateUniswapV2Router","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawableDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"withdrawnDividendOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

600180546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1790915560028054821661dead17905560038054909116905560c0604052600660808190526543686164466960d01b60a090815262000067916004919062000b71565b506040805180820190915260048082526310d2105160e21b6020909201918252620000959160059162000b71565b506101f4600681905560075560c860088190556104b060095569152d02c7e14af6800000600a55600c805463ffffffff191663010101011790556031601955601a55601b805460ff19169055348015620000ee57600080fd5b506040516200615338038062006153833981016040819052620001119162000c58565b6200011c3362000624565b600e8054610100600160a81b0319166101006001600160a01b038681169190910291909117909155600f80546001600160a01b031916918416919091179055620001668162000674565b60015460405130916001600160a01b031690620001839062000c00565b6001600160a01b03928316815291166020820152604001604051809103906000f080158015620001b7573d6000803e3d6000fd5b50601680546001600160a01b0319166001600160a01b039283161790556001546040805163c45a015560e01b815290519190921691600091839163c45a01559160048083019260209291908290030181865afa1580156200021c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000242919062000d52565b6001600160a01b031663c9c6539630846001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000290573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002b6919062000d52565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af115801562000304573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200032a919062000d52565b601780546001600160a01b038086166001600160a01b0319928316179092556018805492841692909116919091179055905062000369816001620006ed565b60165460405162241fbd60e51b81526001600160a01b03909116600482018190526001602483015290630483f7a090604401600060405180830381600087803b158015620003b657600080fd5b505af1158015620003cb573d6000803e3d6000fd5b505060165460405162241fbd60e51b8152306004820152600160248201526001600160a01b039091169250630483f7a09150604401600060405180830381600087803b1580156200041b57600080fd5b505af115801562000430573d6000803e3d6000fd5b50506016546001600160a01b03169150630483f7a090506200045a6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260016024820152604401600060405180830381600087803b158015620004a357600080fd5b505af1158015620004b8573d6000803e3d6000fd5b505060165460405162241fbd60e51b81526001600160a01b038681166004830152600160248301529091169250630483f7a09150604401600060405180830381600087803b1580156200050a57600080fd5b505af11580156200051f573d6000803e3d6000fd5b505050506200053f620005376200085c60201b60201c565b60016200086b565b6200054c3060016200086b565b60165462000565906001600160a01b031660016200086b565b620005846200057c6000546001600160a01b031690565b6001620009a0565b62000591306001620009a0565b601654620005aa906001600160a01b03166001620009a0565b620005c9620005c16000546001600160a01b031690565b600162000a16565b620005d630600162000a16565b601654620005ef906001600160a01b0316600162000a16565b62000619620006066000546001600160a01b031690565b6b033b2e3c9fd0803ce800000062000a8c565b505050505062000e1e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60005b81518160ff161015620006e957600160146000848460ff1681518110620006a257620006a262000d77565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580620006e08162000da3565b91505062000677565b5050565b6001600160a01b03821660009081526013602052604090205460ff16151581151514156200078a576040805162461bcd60e51b81526020600482015260248101919091527f4368616446693a206175746f6d61746564206d61726b6574206d616b6572207060448201527f61697220697320616c72656164792073657420746f20746861742076616c756560648201526084015b60405180910390fd5b6001600160a01b0382166000908152601360205260409020805460ff19168215801591909117909155620008205760165460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b1580156200080657600080fd5b505af11580156200081b573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6000546001600160a01b031690565b6000546001600160a01b03163314620008b65760405162461bcd60e51b8152602060048201819052602482015260008051602062006133833981519152604482015260640162000781565b6001600160a01b03821660009081526012602052604090205460ff1615158115151415620009415760405162461bcd60e51b815260206004820152603160248201527f4368616446693a206163636f756e7420697320616c72656164792073657420746044820152706f2072657175657374656420737461746560781b606482015260840162000781565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6000546001600160a01b03163314620009eb5760405162461bcd60e51b8152602060048201819052602482015260008051602062006133833981519152604482015260640162000781565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6000546001600160a01b0316331462000a615760405162461bcd60e51b8152602060048201819052602482015260008051602062006133833981519152604482015260640162000781565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b6001600160a01b03821662000ae45760405162461bcd60e51b815260206004820181905260248201527f4368616446693a206d696e7420746f20746865207a65726f2061646472657373604482015260640162000781565b80600d600082825462000af8919062000dc6565b90915550506001600160a01b0382166000908152601060205260408120805483929062000b2790849062000dc6565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b82805462000b7f9062000de1565b90600052602060002090601f01602090048101928262000ba3576000855562000bee565b82601f1062000bbe57805160ff191683800117855562000bee565b8280016001018555821562000bee579182015b8281111562000bee57825182559160200191906001019062000bd1565b5062000bfc92915062000c0e565b5090565b611e12806200432183390190565b5b8082111562000bfc576000815560010162000c0f565b80516001600160a01b038116811462000c3d57600080fd5b919050565b634e487b7160e01b600052604160045260246000fd5b60008060006060848603121562000c6e57600080fd5b62000c798462000c25565b9250602062000c8a81860162000c25565b60408601519093506001600160401b038082111562000ca857600080fd5b818701915087601f83011262000cbd57600080fd5b81518181111562000cd25762000cd262000c42565b8060051b604051601f19603f8301168101818110858211171562000cfa5762000cfa62000c42565b60405291825284820192508381018501918a83111562000d1957600080fd5b938501935b8285101562000d425762000d328562000c25565b8452938501939285019262000d1e565b8096505050505050509250925092565b60006020828403121562000d6557600080fd5b62000d708262000c25565b9392505050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff81141562000dbd5762000dbd62000d8d565b60010192915050565b6000821982111562000ddc5762000ddc62000d8d565b500190565b600181811c9082168062000df657607f821691505b6020821081141562000e1857634e487b7160e01b600052602260045260246000fd5b50919050565b6134f38062000e2e6000396000f3fe6080604052600436106103b15760003560e01c80637b510fe8116101e7578063c02466681161010d578063e01af92c116100a0578063f1b234ad1161006f578063f1b234ad14610b7c578063f2fde38b14610b9c578063f4571c4914610bbc578063f69e204614610bdc57600080fd5b8063e01af92c14610b10578063e2f4560514610b30578063e4956ce214610b46578063ebbf1ace14610b6657600080fd5b8063c9567bf9116100dc578063c9567bf914610a75578063d2fcc00114610a8a578063d4c989d314610aaa578063dd62ed3e14610aca57600080fd5b8063c0246668146109f5578063c3033aeb14610a15578063c6af580b14610a35578063c705c56914610a5557600080fd5b8063a457c2d711610185578063aa4e8c4a11610154578063aa4e8c4a1461096f578063aafd847a1461098f578063b62496f5146109af578063b80b6e89146109df57600080fd5b8063a457c2d7146108ef578063a680e0bc1461090f578063a8b9d2401461092f578063a9059cbb1461094f57600080fd5b80638e126944116101c15780638e1269441461087a57806395d89b411461089a5780639a7a23d6146108af5780639e252f00146108cf57600080fd5b80637b510fe8146107ea578063870bd30b1461083c5780638da5cb5b1461085c57600080fd5b806349bd5a5e116102d7578063658c27a91161026a5780636ddd1713116102395780636ddd17131461076a57806370a0823114610789578063715018a6146107bf578063744d1591146107d457600080fd5b8063658c27a9146106b857806365b8dbc0146106f157806368c51e35146107115780636dd3d39f1461073157600080fd5b806357777d31116102a657806357777d311461064c5780635937ea6c146106625780635b65b9ab146106785780635e843ad21461069857600080fd5b806349bd5a5e146105be5780634e71d92d146105de5780634fbee193146105f3578063537df3b61461062c57600080fd5b806327ce01471161034f57806333f3d6281161031e57806333f3d6281461054857806337eb152814610568578063395093511461057e5780634838d1651461059e57600080fd5b806327ce0147146104cb5780632c1f5216146104eb5780632f4504ae1461050b578063313ce5671461052c57600080fd5b80630dd871571161038b5780630dd871571461043a5780631694505e1461045e57806318160ddd1461049657806323b872dd146104ab57600080fd5b80630483f7a0146103bd57806306fdde03146103df578063095ea7b31461040a57600080fd5b366103b857005b600080fd5b3480156103c957600080fd5b506103dd6103d8366004612e94565b610bf1565b005b3480156103eb57600080fd5b506103f4610c8f565b6040516104019190612ecd565b60405180910390f35b34801561041657600080fd5b5061042a610425366004612f22565b610d21565b6040519015158152602001610401565b34801561044657600080fd5b50610450600b5481565b604051908152602001610401565b34801561046a57600080fd5b5060175461047e906001600160a01b031681565b6040516001600160a01b039091168152602001610401565b3480156104a257600080fd5b50600d54610450565b3480156104b757600080fd5b5061042a6104c6366004612f4e565b610d37565b3480156104d757600080fd5b506104506104e6366004612f8f565b610de9565b3480156104f757600080fd5b5060165461047e906001600160a01b031681565b34801561051757600080fd5b50600c5461042a906301000000900460ff1681565b34801561053857600080fd5b5060405160128152602001610401565b34801561055457600080fd5b506103dd610563366004612f22565b610e5f565b34801561057457600080fd5b5061045060095481565b34801561058a57600080fd5b5061042a610599366004612f22565b610eff565b3480156105aa57600080fd5b506103dd6105b9366004612f8f565b610f36565b3480156105ca57600080fd5b5060185461047e906001600160a01b031681565b3480156105ea57600080fd5b506103dd610fed565b3480156105ff57600080fd5b5061042a61060e366004612f8f565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561063857600080fd5b506103dd610647366004612f8f565b61106d565b34801561065857600080fd5b5061045060195481565b34801561066e57600080fd5b5061045060065481565b34801561068457600080fd5b506103dd610693366004612fb3565b611120565b3480156106a457600080fd5b506103dd6106b3366004612fdf565b611176565b3480156106c457600080fd5b5061042a6106d3366004612f8f565b6001600160a01b03166000908152601c602052604090205460ff1690565b3480156106fd57600080fd5b506103dd61070c366004612f8f565b6111ce565b34801561071d57600080fd5b506103dd61072c366004613021565b611449565b34801561073d57600080fd5b5061042a61074c366004612f8f565b6001600160a01b03166000908152601d602052604090205460ff1690565b34801561077657600080fd5b50600c5461042a90610100900460ff1681565b34801561079557600080fd5b506104506107a4366004612f8f565b6001600160a01b031660009081526010602052604090205490565b3480156107cb57600080fd5b506103dd6114e1565b3480156107e057600080fd5b50610450601a5481565b3480156107f657600080fd5b5061080a610805366004612f8f565b611517565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a001610401565b34801561084857600080fd5b50600c5461042a9062010000900460ff1681565b34801561086857600080fd5b506000546001600160a01b031661047e565b34801561088657600080fd5b506103dd61089536600461303a565b6115a1565b3480156108a657600080fd5b506103f4611604565b3480156108bb57600080fd5b506103dd6108ca366004612e94565b611613565b3480156108db57600080fd5b506103dd6108ea366004613021565b6116b5565b3480156108fb57600080fd5b5061042a61090a366004612f22565b61170c565b34801561091b57600080fd5b5061045061092a366004612f8f565b6117a8565b34801561093b57600080fd5b5061045061094a366004612f8f565b6117db565b34801561095b57600080fd5b5061042a61096a366004612f22565b61180e565b34801561097b57600080fd5b506103dd61098a366004613021565b61181b565b34801561099b57600080fd5b506104506109aa366004612f8f565b6118a9565b3480156109bb57600080fd5b5061042a6109ca366004612f8f565b60136020526000908152604090205460ff1681565b3480156109eb57600080fd5b5061045060085481565b348015610a0157600080fd5b506103dd610a10366004612e94565b6118dc565b348015610a2157600080fd5b506103dd610a30366004613075565b6119ee565b348015610a4157600080fd5b506103dd610a5036600461313a565b611a86565b348015610a6157600080fd5b5061042a610a70366004612f8f565b611b06565b348015610a8157600080fd5b506103dd611b75565b348015610a9657600080fd5b506103dd610aa5366004612e94565b611bae565b348015610ab657600080fd5b506103dd610ac5366004612e94565b611c03565b348015610ad657600080fd5b50610450610ae5366004613157565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b348015610b1c57600080fd5b506103dd610b2b36600461313a565b611c58565b348015610b3c57600080fd5b50610450600a5481565b348015610b5257600080fd5b506103dd610b6136600461313a565b611ccb565b348015610b7257600080fd5b5061045060075481565b348015610b8857600080fd5b506103dd610b97366004613157565b611d42565b348015610ba857600080fd5b506103dd610bb7366004612f8f565b611da4565b348015610bc857600080fd5b506103dd610bd7366004613075565b611e3c565b348015610be857600080fd5b506103dd611ed4565b6000546001600160a01b03163314610c245760405162461bcd60e51b8152600401610c1b90613185565b60405180910390fd5b60165460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b158015610c7357600080fd5b505af1158015610c87573d6000803e3d6000fd5b505050505050565b606060048054610c9e906131ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610cca906131ba565b8015610d175780601f10610cec57610100808354040283529160200191610d17565b820191906000526020600020905b815481529060010190602001808311610cfa57829003601f168201915b5050505050905090565b6000610d2e338484611f4f565b50600192915050565b6000610d44848484612076565b6001600160a01b038416600090815260116020908152604080832033845290915290205482811015610dca5760405162461bcd60e51b815260206004820152602960248201527f4368616446693a207472616e7366657220616d6f756e74206578636565647320604482015268616c6c6f77616e636560b81b6064820152608401610c1b565b610dde8533610dd9868561320b565b611f4f565b506001949350505050565b6016546040516327ce014760e01b81526001600160a01b03838116600483015260009216906327ce0147906024015b602060405180830381865afa158015610e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e599190613222565b92915050565b6000546001600160a01b03163314610e895760405162461bcd60e51b8152600401610c1b90613185565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610ed6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610efa919061323b565b505050565b3360008181526011602090815260408083206001600160a01b03871684529091528120549091610d2e918590610dd9908690613258565b6000546001600160a01b03163314610f605760405162461bcd60e51b8152600401610c1b90613185565b6001600160a01b03811660009081526015602052604090205460ff1615610fc95760405162461bcd60e51b815260206004820152601860248201527f7573657220616c726561647920626c61636b6c697374656400000000000000006044820152606401610c1b565b6001600160a01b03166000908152601560205260409020805460ff19166001179055565b6016546001600160a01b031663807ab4f7335b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526024016020604051808303816000875af1158015611046573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106a919061323b565b50565b6000546001600160a01b031633146110975760405162461bcd60e51b8152600401610c1b90613185565b6001600160a01b03811660009081526015602052604090205460ff166110ff5760405162461bcd60e51b815260206004820152601860248201527f7573657220616c72656164792077686974656c697374656400000000000000006044820152606401610c1b565b6001600160a01b03166000908152601560205260409020805460ff19169055565b6000546001600160a01b0316331461114a5760405162461bcd60e51b8152600401610c1b90613185565b600683905560078290556008819055806111648385613258565b61116e9190613258565b600955505050565b6000546001600160a01b031633146111a05760405162461bcd60e51b8152600401610c1b90613185565b600c8054600a9390935590151560ff19931515610100029390931661ffff1990921691909117919091179055565b6000546001600160a01b031633146111f85760405162461bcd60e51b8152600401610c1b90613185565b6017546001600160a01b03828116911614156112735760405162461bcd60e51b815260206004820152603460248201527f4368616446693a2074686520726f7574657220697320616c72656164792073656044820152737420746f20746865206e6577206164647265737360601b6064820152608401610c1b565b6017546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa15801561130a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132e9190613270565b6001600160a01b031663c9c6539630601760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611390573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b49190613270565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611401573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114259190613270565b601880546001600160a01b0319166001600160a01b03929092169190911790555050565b6000546001600160a01b031633146114735760405162461bcd60e51b8152600401610c1b90613185565b60af811015801561148657506127108111155b6114dc5760405162461bcd60e51b815260206004820152602160248201527f425053206d757374206265206265747765656e2031373520616e6420313030306044820152600360fc1b6064820152608401610c1b565b601a55565b6000546001600160a01b0316331461150b5760405162461bcd60e51b8152600401610c1b90613185565b61151560006126db565b565b601654604051630f6a21fd60e31b81526001600160a01b0383811660048301526000928392839283928392911690637b510fe89060240160a060405180830381865afa15801561156b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061158f919061328d565b939a9299509097509550909350915050565b6000546001600160a01b031633146115cb5760405162461bcd60e51b8152600401610c1b90613185565b6016546040516323849a5160e21b8152600481018490526001600160a01b03838116602483015290911690638e12694490604401610c59565b606060058054610c9e906131ba565b6000546001600160a01b0316331461163d5760405162461bcd60e51b8152600401610c1b90613185565b6018546001600160a01b03838116911614156116a75760405162461bcd60e51b815260206004820152602360248201527f4368616446693a2044455820706169722063616e206e6f742062652072656d6f6044820152621d995960ea1b6064820152608401610c1b565b6116b1828261272b565b5050565b6000546001600160a01b031633146116df5760405162461bcd60e51b8152600401610c1b90613185565b604051339082156108fc029083906000818181858888f193505050501580156116b1573d6000803e3d6000fd5b3360009081526011602090815260408083206001600160a01b03861684529091528120548281101561178f5760405162461bcd60e51b815260206004820152602660248201527f4368616446693a2064656372656173656420616c6c6f77616e63652062656c6f60448201526577207a65726f60d01b6064820152608401610c1b565b61179e3385610dd9868561320b565b5060019392505050565b6016546040516329a0382f60e21b81526001600160a01b038381166004830152600092169063a680e0bc90602401610e18565b6016546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401610e18565b6000610d2e338484612076565b6000546001600160a01b031633146118455760405162461bcd60e51b8152600401610c1b90613185565b604b811015801561185857506127108111155b6118a45760405162461bcd60e51b815260206004820181905260248201527f425053206d757374206265206265747765656e20373520616e642031303030306044820152606401610c1b565b601955565b60165460405163557ec23d60e11b81526001600160a01b038381166004830152600092169063aafd847a90602401610e18565b6000546001600160a01b031633146119065760405162461bcd60e51b8152600401610c1b90613185565b6001600160a01b03821660009081526012602052604090205460ff161515811515141561198f5760405162461bcd60e51b815260206004820152603160248201527f4368616446693a206163636f756e7420697320616c72656164792073657420746044820152706f2072657175657374656420737461746560781b6064820152608401610c1b565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6000546001600160a01b03163314611a185760405162461bcd60e51b8152600401610c1b90613185565b60005b81518160ff1610156116b157600160156000848460ff1681518110611a4257611a426132d6565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611a7e816132ec565b915050611a1b565b6000546001600160a01b03163314611ab05760405162461bcd60e51b8152600401610c1b90613185565b600c8054821515620100000262ff0000199091161790556040517f5bb2376cf656637e70e36c01d3da25685bf3b353f18681b8a5e48c7b2effe13390611afb90831515815260200190565b60405180910390a150565b60165460405163c705c56960e01b81526001600160a01b038381166004830152600092169063c705c56990602401602060405180830381865afa158015611b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e59919061323b565b6000546001600160a01b03163314611b9f5760405162461bcd60e51b8152600401610c1b90613185565b601b805460ff19166001179055565b6000546001600160a01b03163314611bd85760405162461bcd60e51b8152600401610c1b90613185565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314611c2d5760405162461bcd60e51b8152600401610c1b90613185565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314611c825760405162461bcd60e51b8152600401610c1b90613185565b600c80548215156101000261ff00199091161790556040517fb9bbb15e341600c8d067a0cadeba219905d5ba6d422b193c9c32265d26fc51c890611afb90831515815260200190565b6000546001600160a01b03163314611cf55760405162461bcd60e51b8152600401610c1b90613185565b600c805482151563010000000263ff000000199091161790556040517f341322866a3a2c26c27efa4c270c5ba86f6963257118897dd8196f224c002d4390611afb90831515815260200190565b6000546001600160a01b03163314611d6c5760405162461bcd60e51b8152600401610c1b90613185565b600e8054610100600160a81b0319166101006001600160a01b0394851602179055600f80546001600160a01b03191691909216179055565b6000546001600160a01b03163314611dce5760405162461bcd60e51b8152600401610c1b90613185565b6001600160a01b038116611e335760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c1b565b61106a816126db565b6000546001600160a01b03163314611e665760405162461bcd60e51b8152600401610c1b90613185565b60005b81518160ff1610156116b157600060156000848460ff1681518110611e9057611e906132d6565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611ecc816132ec565b915050611e69565b600c546301000000900460ff16611f385760405162461bcd60e51b815260206004820152602260248201527f4368616446693a20636f6d706f756e64696e67206973206e6f7420656e61626c604482015261195960f21b6064820152608401610c1b565b6016546001600160a01b0316636de1a5a933611000565b6001600160a01b038316611fb35760405162461bcd60e51b815260206004820152602560248201527f4368616446693a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c1b565b6001600160a01b0382166120155760405162461bcd60e51b815260206004820152602360248201527f4368616446693a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c1b565b6001600160a01b0383811660008181526011602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b601b5460ff168061209457506000546001600160a01b038481169116145b806120ac57506000546001600160a01b038381169116145b806120cf57506001600160a01b03831660009081526014602052604090205460ff165b806120f257506001600160a01b03821660009081526014602052604090205460ff165b6121295760405162461bcd60e51b81526020600482015260086024820152672737ba1027b832b760c11b6044820152606401610c1b565b6001600160a01b03831660009081526015602052604090205460ff16156121925760405162461bcd60e51b815260206004820152601d60248201527f4368616446693a2053656e64657220697320626c61636b6c69737465640000006044820152606401610c1b565b6001600160a01b03821660009081526015602052604090205460ff16156121fb5760405162461bcd60e51b815260206004820181905260248201527f4368616446693a20526563697069656e7420697320626c61636b6c69737465646044820152606401610c1b565b6001600160a01b0383166122215760405162461bcd60e51b8152600401610c1b9061330c565b6001600160a01b0382166122475760405162461bcd60e51b8152600401610c1b90613352565b6000612710601954612258600d5490565b6122629190613396565b61226c91906133b5565b90506000612710601a5461227f600d5490565b6122899190613396565b61229391906133b5565b905081831115806122bc57506001600160a01b0385166000908152601c602052604090205460ff165b6122fc5760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b6044820152606401610c1b565b6000546001600160a01b0386811691161480159061232357506001600160a01b0384163014155b801561233d57506002546001600160a01b03858116911614155b801561235757506018546001600160a01b03858116911614155b156123a3576001600160a01b038416600090815260106020908152604080832054601d9092529091205460ff16806123985750816123958583613258565b11155b6123a157600080fd5b505b6001600160a01b038516600090815260106020526040902054838110156123dc5760405162461bcd60e51b8152600401610c1b906133d7565b30600090815260106020526040902054600a54600c54479183101590610100900460ff1680156124095750805b80156124185750600e5460ff16155b801561243d57506001600160a01b03891660009081526013602052604090205460ff16155b801561245757506017546001600160a01b038a8116911614155b801561247157506000546001600160a01b038a8116911614155b801561248b57506000546001600160a01b03898116911614155b156124c657600e805460ff19166001179055600c5460ff166124ad57600a5492505b6124b78383612891565b42600b55600e805460ff191690555b6018546000906001600160a01b038b8116911614806124f257506018546001600160a01b038a81169116145b156124fb575060015b6001600160a01b038a1660009081526012602052604090205460ff168061253a57506001600160a01b03891660009081526012602052604090205460ff165b15612543575060005b600e5460ff168061255d5750600c5462010000900460ff16155b15612566575060005b80156125a45760006127106009548a61257f9190613396565b61258991906133b5565b9050612595818a61320b565b98506125a28b3083612b6a565b505b6125af8a8a8a612b6a565b6016546001600160a01b031663e30443bc8b6125e0816001600160a01b031660009081526010602052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561262657600080fd5b505af115801561263a573d6000803e3d6000fd5b50506016546001600160a01b0316915063e30443bc90508a612671816001600160a01b031660009081526010602052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156126b757600080fd5b505af11580156126cb573d6000803e3d6000fd5b5050505050505050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821660009081526013602052604090205460ff16151581151514156127c2576040805162461bcd60e51b81526020600482015260248101919091527f4368616446693a206175746f6d61746564206d61726b6574206d616b6572207060448201527f61697220697320616c72656164792073657420746f20746861742076616c75656064820152608401610c1b565b6001600160a01b0382166000908152601360205260409020805460ff191682158015919091179091556128555760165460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b15801561283c57600080fd5b505af1158015612850573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6000821161289d575050565b600e5460009061010090046001600160a01b0316156128d3576009546006546128c69085613396565b6128d091906133b5565b90505b600080601660009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612929573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294d9190613222565b1115612970576009546008546129639086613396565b61296d91906133b5565b90505b60008161297d848761320b565b612987919061320b565b905060006129966002836133b5565b905060006129a4828461320b565b90506000826129b38688613258565b6129bd9190613258565b9050476129c982612c89565b6000886129d6834761320b565b6129e09190613258565b90506000836129ef8a84613396565b6129f991906133b5565b9050600084612a088a85613396565b612a1291906133b5565b9050600081612a21848661320b565b612a2b919061320b565b90508215612a7357600e546040516101009091046001600160a01b0316906108fc8515029085906000818181858888f19350505050158015612a71573d6000803e3d6000fd5b505b612a7d8782612dad565b60408051898152602081018390529081018890527fb63dc6f50047533abe2d6adf180d38d524c8d98e55ad199aac8d6b9801bbe24a9060600160405180910390a18115612b5b576016546040516000916001600160a01b03169084908381818185875af1925050503d8060008114612b11576040519150601f19603f3d011682016040523d82523d6000602084013e612b16565b606091505b5050905080156126cb57604080518c8152602081018590527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a1505b50505050505050505050505050565b6001600160a01b038316612b905760405162461bcd60e51b8152600401610c1b9061330c565b6001600160a01b038216612bb65760405162461bcd60e51b8152600401610c1b90613352565b6001600160a01b03831660009081526010602052604090205481811015612bef5760405162461bcd60e51b8152600401610c1b906133d7565b612bf9828261320b565b6001600160a01b038086166000908152601060205260408082209390935590851681529081208054849290612c2f908490613258565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612c7b91815260200190565b60405180910390a350505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612cbe57612cbe6132d6565b6001600160a01b03928316602091820292909201810191909152601754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612d17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d3b9190613270565b81600181518110612d4e57612d4e6132d6565b6001600160a01b039283166020918202929092010152601754612d749130911684611f4f565b60175460405163791ac94760e01b81526001600160a01b039091169063791ac94790610c5990859060009086903090429060040161341e565b601754612dc59030906001600160a01b031684611f4f565b601754600f5460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015612e35573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612e5a919061348f565b5050505050565b6001600160a01b038116811461106a57600080fd5b8035612e8181612e61565b919050565b801515811461106a57600080fd5b60008060408385031215612ea757600080fd5b8235612eb281612e61565b91506020830135612ec281612e86565b809150509250929050565b600060208083528351808285015260005b81811015612efa57858101830151858201604001528201612ede565b81811115612f0c576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215612f3557600080fd5b8235612f4081612e61565b946020939093013593505050565b600080600060608486031215612f6357600080fd5b8335612f6e81612e61565b92506020840135612f7e81612e61565b929592945050506040919091013590565b600060208284031215612fa157600080fd5b8135612fac81612e61565b9392505050565b600080600060608486031215612fc857600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215612ff457600080fd5b8335612fff81612e86565b925060208401359150604084013561301681612e86565b809150509250925092565b60006020828403121561303357600080fd5b5035919050565b6000806040838503121561304d57600080fd5b823591506020830135612ec281612e61565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561308857600080fd5b823567ffffffffffffffff808211156130a057600080fd5b818501915085601f8301126130b457600080fd5b8135818111156130c6576130c661305f565b8060051b604051601f19603f830116810181811085821117156130eb576130eb61305f565b60405291825284820192508381018501918883111561310957600080fd5b938501935b8285101561312e5761311f85612e76565b8452938501939285019261310e565b98975050505050505050565b60006020828403121561314c57600080fd5b8135612fac81612e86565b6000806040838503121561316a57600080fd5b823561317581612e61565b91506020830135612ec281612e61565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806131ce57607f821691505b602082108114156131ef57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561321d5761321d6131f5565b500390565b60006020828403121561323457600080fd5b5051919050565b60006020828403121561324d57600080fd5b8151612fac81612e86565b6000821982111561326b5761326b6131f5565b500190565b60006020828403121561328257600080fd5b8151612fac81612e61565b600080600080600060a086880312156132a557600080fd5b85516132b081612e61565b602087015160408801516060890151608090990151929a91995097965090945092505050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff811415613303576133036131f5565b60010192915050565b60208082526026908201527f4368616446693a207472616e736665722066726f6d20746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526024908201527f4368616446693a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60008160001904831182151516156133b0576133b06131f5565b500290565b6000826133d257634e487b7160e01b600052601260045260246000fd5b500490565b60208082526027908201527f4368616446693a207472616e7366657220616d6f756e7420657863656564732060408201526662616c616e636560c81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561346e5784516001600160a01b031683529383019391830191600101613449565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156134a457600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220a51c9d93e7615aaf530fae55f1d20fee3f373aa89e255c5b0b93b4908649654b64736f6c634300080a003360e0604052601660a08190527f4368616446695f4469766964656e64547261636b65720000000000000000000060c090815262000040916002919062000153565b506040805180820190915260168082527f4368616446695f4469766964656e64547261636b6572000000000000000000006020909201918252620000879160039162000153565b503480156200009557600080fd5b5060405162001e1238038062001e12833981016040819052620000b89162000216565b620000c33362000103565b69021e19e0c9bab2400000608052600a80546001600160a01b039384166001600160a01b031991821617909155600180549290931691161790556200028b565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b82805462000161906200024e565b90600052602060002090601f016020900481019282620001855760008555620001d0565b82601f10620001a057805160ff1916838001178555620001d0565b82800160010185558215620001d0579182015b82811115620001d0578251825591602001919060010190620001b3565b50620001de929150620001e2565b5090565b5b80821115620001de5760008155600101620001e3565b80516001600160a01b03811681146200021157600080fd5b919050565b600080604083850312156200022a57600080fd5b6200023583620001f9565b91506200024560208401620001f9565b90509250929050565b600181811c908216806200026357607f821691505b602082108114156200028557634e487b7160e01b600052602260045260246000fd5b50919050565b608051611b5d620002b5600039600081816105520152818161080f0152610d220152611b5d6000f3fe6080604052600436106101d15760003560e01c806385a6b3ae116100f7578063a8b9d24011610095578063c705c56911610064578063c705c56914610574578063dd62ed3e146105ad578063e30443bc146105c8578063f2fde38b146105e857600080fd5b8063a8b9d240146104ea578063a9059cbb14610238578063aafd847a1461050a578063c49af5f01461054057600080fd5b806395d89b41116100d157806395d89b41146104695780639d76ea581461047e5780639e1e06611461049e578063a680e0bc146104b457600080fd5b806385a6b3ae146104015780638da5cb5b146104175780638e1269441461044957600080fd5b80633009a6091161016f57806370a082311161013e57806370a0823114610344578063715018a61461037a5780637b510fe81461038f578063807ab4f7146103e157600080fd5b80633009a609146102c2578063313ce567146102d85780634e7b827f146102f45780636de1a5a91461032457600080fd5b8063095ea7b3116101ab578063095ea7b31461023857806318160ddd1461026857806323b872dd1461028757806327ce0147146102a257600080fd5b806303c83302146101e55780630483f7a0146101ed57806306fdde031461020d57600080fd5b366101e0576101de610608565b005b600080fd5b6101de610608565b3480156101f957600080fd5b506101de6102083660046116a3565b610697565b34801561021957600080fd5b50610222610899565b60405161022f91906116e1565b60405180910390f35b34801561024457600080fd5b50610258610253366004611736565b61092b565b604051901515815260200161022f565b34801561027457600080fd5b506005545b60405190815260200161022f565b34801561029357600080fd5b50610258610253366004611762565b3480156102ae57600080fd5b506102796102bd3660046117a3565b61098d565b3480156102ce57600080fd5b5061027960045481565b3480156102e457600080fd5b506040516012815260200161022f565b34801561030057600080fd5b5061025861030f3660046117a3565b600b6020526000908152604090205460ff1681565b34801561033057600080fd5b5061025861033f3660046117a3565b6109f1565b34801561035057600080fd5b5061027961035f3660046117a3565b6001600160a01b031660009081526006602052604090205490565b34801561038657600080fd5b506101de610a9c565b34801561039b57600080fd5b506103af6103aa3660046117a3565b610ad0565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a00161022f565b3480156103ed57600080fd5b506102586103fc3660046117a3565b610b78565b34801561040d57600080fd5b5061027960085481565b34801561042357600080fd5b506000546001600160a01b03165b6040516001600160a01b03909116815260200161022f565b34801561045557600080fd5b506101de6104643660046117c7565b610c1d565b34801561047557600080fd5b50610222610c90565b34801561048a57600080fd5b50600a54610431906001600160a01b031681565b3480156104aa57600080fd5b5061027960095481565b3480156104c057600080fd5b506102796104cf3660046117a3565b6001600160a01b03166000908152600e602052604090205490565b3480156104f657600080fd5b506102796105053660046117a3565b610c9f565b34801561051657600080fd5b506102796105253660046117a3565b6001600160a01b03166000908152600d602052604090205490565b34801561054c57600080fd5b506102797f000000000000000000000000000000000000000000000000000000000000000081565b34801561058057600080fd5b5061025861058f3660046117a3565b6001600160a01b03166000908152600b602052604090205460ff1690565b3480156105b957600080fd5b506102796102533660046117ec565b3480156105d457600080fd5b506101de6105e3366004611736565b610cd1565b3480156105f457600080fd5b506101de6106033660046117a3565b610d60565b60006005541161061757600080fd5b34156106955760055461062e600160801b34611830565b610638919061184f565b6007546106459190611871565b60075560405134815233907fa493a9229478c3fcd73f66d2cdeb7f94fd0f341da924d1054236d784541165119060200160405180910390a2346008600082825461068f9190611871565b90915550505b565b6000546001600160a01b031633146106ca5760405162461bcd60e51b81526004016106c190611889565b60405180910390fd5b6001600160a01b0382166000908152600b602052604090205460ff161515811515141561075f5760405162461bcd60e51b815260206004820152603e60248201527f4368616446695f4469766964656e64547261636b65723a206163636f756e742060448201527f616c72656164792073657420746f20726571756573746564207374617465000060648201526084016106c1565b6001600160a01b0382166000908152600b60205260409020805460ff1916821580159190911790915561079c57610797826000610dfb565b610850565b600a546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a0823190602401602060405180830381865afa1580156107e7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061080b91906118be565b90507f000000000000000000000000000000000000000000000000000000000000000081106108435761083e8382610dfb565b61084e565b61084e836000610dfb565b505b816001600160a01b03167fa3c7c11b2e12c4144b09a7813f3393ba646392788638998c97be8da908cf04be8260405161088d911515815260200190565b60405180910390a25050565b6060600280546108a8906118d7565b80601f01602080910402602001604051908101604052809291908181526020018280546108d4906118d7565b80156109215780601f106108f657610100808354040283529160200191610921565b820191906000526020600020905b81548152906001019060200180831161090457829003601f168201915b5050505050905090565b60405162461bcd60e51b815260206004820152602e60248201527f4368616446695f4469766964656e64547261636b65723a206d6574686f64206e60448201526d1bdd081a5b5c1b195b595b9d195960921b60648201526000906084016106c1565b6001600160a01b03811660009081526006602052604081205460075482916109b491611830565b6001600160a01b0384166000908152600c6020526040902054909150600160801b6109df8284611912565b6109e9919061184f565b949350505050565b600080546001600160a01b03163314610a1c5760405162461bcd60e51b81526004016106c190611889565b600080610a2884610e59565b90925090508115610a92576001600160a01b0384166000818152600e602090815260409182902042905581518581529081018490527f0e311a2c6dbfb0153ec3a8a5bdca09070b3e5f60768fdc10a20453f38d186873910160405180910390a25060019392505050565b5060009392505050565b6000546001600160a01b03163314610ac65760405162461bcd60e51b81526004016106c190611889565b61069560006111e4565b6000806000806000610b0c604051806080016040528060006001600160a01b031681526020016000815260200160008152602001600081525090565b6001600160a01b0387168152610b2187610c9f565b6020820152610b2f8761098d565b60408281019182526001600160a01b03989098166000908152600e6020908152989020546060830181905282519890920151905160095498999198909750919550909350915050565b600080546001600160a01b03163314610ba35760405162461bcd60e51b81526004016106c190611889565b6000610bae83611234565b90508015610c14576001600160a01b0383166000818152600e602052604090819020429055517f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490610c039084815260200190565b60405180910390a250600192915050565b50600092915050565b6000546001600160a01b03163314610c475760405162461bcd60e51b81526004016106c190611889565b476001600160a01b0382166108fc84610c605782610c62565b845b6040518115909202916000818181858888f19350505050158015610c8a573d6000803e3d6000fd5b50505050565b6060600380546108a8906118d7565b6001600160a01b0381166000908152600d6020526040812054610cc18361098d565b610ccb9190611953565b92915050565b6000546001600160a01b03163314610cfb5760405162461bcd60e51b81526004016106c190611889565b6001600160a01b0382166000908152600b602052604090205460ff1615610d20575050565b7f00000000000000000000000000000000000000000000000000000000000000008110610d5557610d518282610dfb565b5050565b610d51826000610dfb565b6000546001600160a01b03163314610d8a5760405162461bcd60e51b81526004016106c190611889565b6001600160a01b038116610def5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106c1565b610df8816111e4565b50565b6001600160a01b03821660009081526006602052604090205480821115610e34576000610e288284611953565b9050610c8a8482611383565b80821015610e54576000610e488383611953565b9050610c8a84826114c8565b505050565b6000806000610e6784610c9f565b905080156111d8576001600160a01b0384166000908152600d602052604081208054839290610e97908490611871565b925050819055508060096000828254610eb09190611871565b90915550506040518181526001600160a01b038516907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a26001546040805160028082526060820183526001600160a01b0390931692600092602083019080368337019050509050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610f61573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f85919061196a565b81600081518110610f9857610f98611987565b6001600160a01b039283166020918202929092010152600a54825191169082906001908110610fc957610fc9611987565b6001600160a01b039283166020918202929092010152600a546040516370a0823160e01b81528883166004820152600092839283929116906370a0823190602401602060405180830381865afa158015611027573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061104b91906118be565b9050846001600160a01b031663b6f9de95876000878d426040518663ffffffff1660e01b8152600401611081949392919061199d565b6000604051808303818588803b15801561109a57600080fd5b505af1935050505080156110ac575060015b6110ee576110b8611a07565b806308c379a014156110e257506110cd611a5e565b806110d857506110e4565b600093505061116d565b505b3d6000803e3d6000fd5b600a546040516370a0823160e01b81526001600160a01b038b8116600483015260019550839216906370a0823190602401602060405180830381865afa15801561113c573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061116091906118be565b61116a9190611953565b91505b826111c9576001600160a01b0389166000908152600d60205260408120805488929061119a908490611953565b9250508190555085600960008282546111b39190611953565b9091555060009a8b9a5098505050505050505050565b50939793965092945050505050565b50600093849350915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60008061124083610c9f565b90508015610c14576001600160a01b0383166000908152600d602052604081208054839290611270908490611871565b9250508190555080600960008282546112899190611871565b90915550506040518181526001600160a01b038416907fee503bee2bb6a87e57bc57db795f98137327401a0e7b7ce42e37926cc1a9ca4d9060200160405180910390a26000836001600160a01b031682610bb890604051600060405180830381858888f193505050503d806000811461131e576040519150601f19603f3d011682016040523d82523d6000602084013e611323565b606091505b505090508061137c576001600160a01b0384166000908152600d602052604081208054849290611354908490611953565b92505081905550816009600082825461136d9190611953565b90915550600095945050505050565b5092915050565b6001600160a01b0382166113f25760405162461bcd60e51b815260206004820152603060248201527f4368616446695f4469766964656e64547261636b65723a206d696e7420746f2060448201526f746865207a65726f206164647265737360801b60648201526084016106c1565b80600560008282546114049190611871565b90915550506001600160a01b03821660009081526006602052604081208054839290611431908490611871565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3806007546114859190611830565b6001600160a01b0383166000908152600c60205260409020546114a89190611ae8565b6001600160a01b039092166000908152600c602052604090209190915550565b6001600160a01b0382166115395760405162461bcd60e51b815260206004820152603260248201527f4368616446695f4469766964656e64547261636b65723a206275726e2066726f6044820152716d20746865207a65726f206164647265737360701b60648201526084016106c1565b6001600160a01b038216600090815260066020526040902054818110156115be5760405162461bcd60e51b815260206004820152603360248201527f4368616446695f4469766964656e64547261636b65723a206275726e20616d6f604482015272756e7420657863656564732062616c616e636560681b60648201526084016106c1565b6115c88282611953565b6001600160a01b038416600090815260066020526040812091909155600580548492906115f6908490611953565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a38160075461164a9190611830565b6001600160a01b0384166000908152600c602052604090205461166d9190611912565b6001600160a01b039093166000908152600c60205260409020929092555050565b6001600160a01b0381168114610df857600080fd5b600080604083850312156116b657600080fd5b82356116c18161168e565b9150602083013580151581146116d657600080fd5b809150509250929050565b600060208083528351808285015260005b8181101561170e578581018301518582016040015282016116f2565b81811115611720576000604083870101525b50601f01601f1916929092016040019392505050565b6000806040838503121561174957600080fd5b82356117548161168e565b946020939093013593505050565b60008060006060848603121561177757600080fd5b83356117828161168e565b925060208401356117928161168e565b929592945050506040919091013590565b6000602082840312156117b557600080fd5b81356117c08161168e565b9392505050565b600080604083850312156117da57600080fd5b8235915060208301356116d68161168e565b600080604083850312156117ff57600080fd5b823561180a8161168e565b915060208301356116d68161168e565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561184a5761184a61181a565b500290565b60008261186c57634e487b7160e01b600052601260045260246000fd5b500490565b600082198211156118845761188461181a565b500190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6000602082840312156118d057600080fd5b5051919050565b600181811c908216806118eb57607f821691505b6020821081141561190c57634e487b7160e01b600052602260045260246000fd5b50919050565b600080821280156001600160ff1b03849003851316156119345761193461181a565b600160ff1b839003841281161561194d5761194d61181a565b50500190565b6000828210156119655761196561181a565b500390565b60006020828403121561197c57600080fd5b81516117c08161168e565b634e487b7160e01b600052603260045260246000fd5b600060808201868352602060808185015281875180845260a086019150828901935060005b818110156119e75784516001600160a01b0316835293830193918301916001016119c2565b50506001600160a01b039690961660408501525050506060015292915050565b600060033d1115611a205760046000803e5060005160e01c5b90565b601f8201601f1916810167ffffffffffffffff81118282101715611a5757634e487b7160e01b600052604160045260246000fd5b6040525050565b600060443d1015611a6c5790565b6040516003193d81016004833e81513d67ffffffffffffffff8160248401118184111715611a9c57505050505090565b8285019150815181811115611ab45750505050505090565b843d8701016020828501011115611ace5750505050505090565b611add60208286010187611a23565b509095945050505050565b60008083128015600160ff1b850184121615611b0657611b0661181a565b6001600160ff1b0384018313811615611b2157611b2161181a565b5050039056fea264697066735822122059a84437f2ec47f2538cba704baabc3232c04c91ade210c28e6a65f170ba574e64736f6c634300080a00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000f6e3909522f03f912e40e48f1ebe644fba2c7cb8000000000000000000000000f6e3909522f03f912e40e48f1ebe644fba2c7cb800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000f6e3909522f03f912e40e48f1ebe644fba2c7cb8

Deployed Bytecode

0x6080604052600436106103b15760003560e01c80637b510fe8116101e7578063c02466681161010d578063e01af92c116100a0578063f1b234ad1161006f578063f1b234ad14610b7c578063f2fde38b14610b9c578063f4571c4914610bbc578063f69e204614610bdc57600080fd5b8063e01af92c14610b10578063e2f4560514610b30578063e4956ce214610b46578063ebbf1ace14610b6657600080fd5b8063c9567bf9116100dc578063c9567bf914610a75578063d2fcc00114610a8a578063d4c989d314610aaa578063dd62ed3e14610aca57600080fd5b8063c0246668146109f5578063c3033aeb14610a15578063c6af580b14610a35578063c705c56914610a5557600080fd5b8063a457c2d711610185578063aa4e8c4a11610154578063aa4e8c4a1461096f578063aafd847a1461098f578063b62496f5146109af578063b80b6e89146109df57600080fd5b8063a457c2d7146108ef578063a680e0bc1461090f578063a8b9d2401461092f578063a9059cbb1461094f57600080fd5b80638e126944116101c15780638e1269441461087a57806395d89b411461089a5780639a7a23d6146108af5780639e252f00146108cf57600080fd5b80637b510fe8146107ea578063870bd30b1461083c5780638da5cb5b1461085c57600080fd5b806349bd5a5e116102d7578063658c27a91161026a5780636ddd1713116102395780636ddd17131461076a57806370a0823114610789578063715018a6146107bf578063744d1591146107d457600080fd5b8063658c27a9146106b857806365b8dbc0146106f157806368c51e35146107115780636dd3d39f1461073157600080fd5b806357777d31116102a657806357777d311461064c5780635937ea6c146106625780635b65b9ab146106785780635e843ad21461069857600080fd5b806349bd5a5e146105be5780634e71d92d146105de5780634fbee193146105f3578063537df3b61461062c57600080fd5b806327ce01471161034f57806333f3d6281161031e57806333f3d6281461054857806337eb152814610568578063395093511461057e5780634838d1651461059e57600080fd5b806327ce0147146104cb5780632c1f5216146104eb5780632f4504ae1461050b578063313ce5671461052c57600080fd5b80630dd871571161038b5780630dd871571461043a5780631694505e1461045e57806318160ddd1461049657806323b872dd146104ab57600080fd5b80630483f7a0146103bd57806306fdde03146103df578063095ea7b31461040a57600080fd5b366103b857005b600080fd5b3480156103c957600080fd5b506103dd6103d8366004612e94565b610bf1565b005b3480156103eb57600080fd5b506103f4610c8f565b6040516104019190612ecd565b60405180910390f35b34801561041657600080fd5b5061042a610425366004612f22565b610d21565b6040519015158152602001610401565b34801561044657600080fd5b50610450600b5481565b604051908152602001610401565b34801561046a57600080fd5b5060175461047e906001600160a01b031681565b6040516001600160a01b039091168152602001610401565b3480156104a257600080fd5b50600d54610450565b3480156104b757600080fd5b5061042a6104c6366004612f4e565b610d37565b3480156104d757600080fd5b506104506104e6366004612f8f565b610de9565b3480156104f757600080fd5b5060165461047e906001600160a01b031681565b34801561051757600080fd5b50600c5461042a906301000000900460ff1681565b34801561053857600080fd5b5060405160128152602001610401565b34801561055457600080fd5b506103dd610563366004612f22565b610e5f565b34801561057457600080fd5b5061045060095481565b34801561058a57600080fd5b5061042a610599366004612f22565b610eff565b3480156105aa57600080fd5b506103dd6105b9366004612f8f565b610f36565b3480156105ca57600080fd5b5060185461047e906001600160a01b031681565b3480156105ea57600080fd5b506103dd610fed565b3480156105ff57600080fd5b5061042a61060e366004612f8f565b6001600160a01b031660009081526012602052604090205460ff1690565b34801561063857600080fd5b506103dd610647366004612f8f565b61106d565b34801561065857600080fd5b5061045060195481565b34801561066e57600080fd5b5061045060065481565b34801561068457600080fd5b506103dd610693366004612fb3565b611120565b3480156106a457600080fd5b506103dd6106b3366004612fdf565b611176565b3480156106c457600080fd5b5061042a6106d3366004612f8f565b6001600160a01b03166000908152601c602052604090205460ff1690565b3480156106fd57600080fd5b506103dd61070c366004612f8f565b6111ce565b34801561071d57600080fd5b506103dd61072c366004613021565b611449565b34801561073d57600080fd5b5061042a61074c366004612f8f565b6001600160a01b03166000908152601d602052604090205460ff1690565b34801561077657600080fd5b50600c5461042a90610100900460ff1681565b34801561079557600080fd5b506104506107a4366004612f8f565b6001600160a01b031660009081526010602052604090205490565b3480156107cb57600080fd5b506103dd6114e1565b3480156107e057600080fd5b50610450601a5481565b3480156107f657600080fd5b5061080a610805366004612f8f565b611517565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a001610401565b34801561084857600080fd5b50600c5461042a9062010000900460ff1681565b34801561086857600080fd5b506000546001600160a01b031661047e565b34801561088657600080fd5b506103dd61089536600461303a565b6115a1565b3480156108a657600080fd5b506103f4611604565b3480156108bb57600080fd5b506103dd6108ca366004612e94565b611613565b3480156108db57600080fd5b506103dd6108ea366004613021565b6116b5565b3480156108fb57600080fd5b5061042a61090a366004612f22565b61170c565b34801561091b57600080fd5b5061045061092a366004612f8f565b6117a8565b34801561093b57600080fd5b5061045061094a366004612f8f565b6117db565b34801561095b57600080fd5b5061042a61096a366004612f22565b61180e565b34801561097b57600080fd5b506103dd61098a366004613021565b61181b565b34801561099b57600080fd5b506104506109aa366004612f8f565b6118a9565b3480156109bb57600080fd5b5061042a6109ca366004612f8f565b60136020526000908152604090205460ff1681565b3480156109eb57600080fd5b5061045060085481565b348015610a0157600080fd5b506103dd610a10366004612e94565b6118dc565b348015610a2157600080fd5b506103dd610a30366004613075565b6119ee565b348015610a4157600080fd5b506103dd610a5036600461313a565b611a86565b348015610a6157600080fd5b5061042a610a70366004612f8f565b611b06565b348015610a8157600080fd5b506103dd611b75565b348015610a9657600080fd5b506103dd610aa5366004612e94565b611bae565b348015610ab657600080fd5b506103dd610ac5366004612e94565b611c03565b348015610ad657600080fd5b50610450610ae5366004613157565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b348015610b1c57600080fd5b506103dd610b2b36600461313a565b611c58565b348015610b3c57600080fd5b50610450600a5481565b348015610b5257600080fd5b506103dd610b6136600461313a565b611ccb565b348015610b7257600080fd5b5061045060075481565b348015610b8857600080fd5b506103dd610b97366004613157565b611d42565b348015610ba857600080fd5b506103dd610bb7366004612f8f565b611da4565b348015610bc857600080fd5b506103dd610bd7366004613075565b611e3c565b348015610be857600080fd5b506103dd611ed4565b6000546001600160a01b03163314610c245760405162461bcd60e51b8152600401610c1b90613185565b60405180910390fd5b60165460405162241fbd60e51b81526001600160a01b038481166004830152831515602483015290911690630483f7a0906044015b600060405180830381600087803b158015610c7357600080fd5b505af1158015610c87573d6000803e3d6000fd5b505050505050565b606060048054610c9e906131ba565b80601f0160208091040260200160405190810160405280929190818152602001828054610cca906131ba565b8015610d175780601f10610cec57610100808354040283529160200191610d17565b820191906000526020600020905b815481529060010190602001808311610cfa57829003601f168201915b5050505050905090565b6000610d2e338484611f4f565b50600192915050565b6000610d44848484612076565b6001600160a01b038416600090815260116020908152604080832033845290915290205482811015610dca5760405162461bcd60e51b815260206004820152602960248201527f4368616446693a207472616e7366657220616d6f756e74206578636565647320604482015268616c6c6f77616e636560b81b6064820152608401610c1b565b610dde8533610dd9868561320b565b611f4f565b506001949350505050565b6016546040516327ce014760e01b81526001600160a01b03838116600483015260009216906327ce0147906024015b602060405180830381865afa158015610e35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e599190613222565b92915050565b6000546001600160a01b03163314610e895760405162461bcd60e51b8152600401610c1b90613185565b60405163a9059cbb60e01b8152336004820152602481018290526001600160a01b0383169063a9059cbb906044016020604051808303816000875af1158015610ed6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610efa919061323b565b505050565b3360008181526011602090815260408083206001600160a01b03871684529091528120549091610d2e918590610dd9908690613258565b6000546001600160a01b03163314610f605760405162461bcd60e51b8152600401610c1b90613185565b6001600160a01b03811660009081526015602052604090205460ff1615610fc95760405162461bcd60e51b815260206004820152601860248201527f7573657220616c726561647920626c61636b6c697374656400000000000000006044820152606401610c1b565b6001600160a01b03166000908152601560205260409020805460ff19166001179055565b6016546001600160a01b031663807ab4f7335b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526024016020604051808303816000875af1158015611046573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061106a919061323b565b50565b6000546001600160a01b031633146110975760405162461bcd60e51b8152600401610c1b90613185565b6001600160a01b03811660009081526015602052604090205460ff166110ff5760405162461bcd60e51b815260206004820152601860248201527f7573657220616c72656164792077686974656c697374656400000000000000006044820152606401610c1b565b6001600160a01b03166000908152601560205260409020805460ff19169055565b6000546001600160a01b0316331461114a5760405162461bcd60e51b8152600401610c1b90613185565b600683905560078290556008819055806111648385613258565b61116e9190613258565b600955505050565b6000546001600160a01b031633146111a05760405162461bcd60e51b8152600401610c1b90613185565b600c8054600a9390935590151560ff19931515610100029390931661ffff1990921691909117919091179055565b6000546001600160a01b031633146111f85760405162461bcd60e51b8152600401610c1b90613185565b6017546001600160a01b03828116911614156112735760405162461bcd60e51b815260206004820152603460248201527f4368616446693a2074686520726f7574657220697320616c72656164792073656044820152737420746f20746865206e6577206164647265737360601b6064820152608401610c1b565b6017546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601780546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290516000929163c45a01559160048083019260209291908290030181865afa15801561130a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061132e9190613270565b6001600160a01b031663c9c6539630601760009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015611390573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b49190613270565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015611401573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114259190613270565b601880546001600160a01b0319166001600160a01b03929092169190911790555050565b6000546001600160a01b031633146114735760405162461bcd60e51b8152600401610c1b90613185565b60af811015801561148657506127108111155b6114dc5760405162461bcd60e51b815260206004820152602160248201527f425053206d757374206265206265747765656e2031373520616e6420313030306044820152600360fc1b6064820152608401610c1b565b601a55565b6000546001600160a01b0316331461150b5760405162461bcd60e51b8152600401610c1b90613185565b61151560006126db565b565b601654604051630f6a21fd60e31b81526001600160a01b0383811660048301526000928392839283928392911690637b510fe89060240160a060405180830381865afa15801561156b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061158f919061328d565b939a9299509097509550909350915050565b6000546001600160a01b031633146115cb5760405162461bcd60e51b8152600401610c1b90613185565b6016546040516323849a5160e21b8152600481018490526001600160a01b03838116602483015290911690638e12694490604401610c59565b606060058054610c9e906131ba565b6000546001600160a01b0316331461163d5760405162461bcd60e51b8152600401610c1b90613185565b6018546001600160a01b03838116911614156116a75760405162461bcd60e51b815260206004820152602360248201527f4368616446693a2044455820706169722063616e206e6f742062652072656d6f6044820152621d995960ea1b6064820152608401610c1b565b6116b1828261272b565b5050565b6000546001600160a01b031633146116df5760405162461bcd60e51b8152600401610c1b90613185565b604051339082156108fc029083906000818181858888f193505050501580156116b1573d6000803e3d6000fd5b3360009081526011602090815260408083206001600160a01b03861684529091528120548281101561178f5760405162461bcd60e51b815260206004820152602660248201527f4368616446693a2064656372656173656420616c6c6f77616e63652062656c6f60448201526577207a65726f60d01b6064820152608401610c1b565b61179e3385610dd9868561320b565b5060019392505050565b6016546040516329a0382f60e21b81526001600160a01b038381166004830152600092169063a680e0bc90602401610e18565b6016546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d24090602401610e18565b6000610d2e338484612076565b6000546001600160a01b031633146118455760405162461bcd60e51b8152600401610c1b90613185565b604b811015801561185857506127108111155b6118a45760405162461bcd60e51b815260206004820181905260248201527f425053206d757374206265206265747765656e20373520616e642031303030306044820152606401610c1b565b601955565b60165460405163557ec23d60e11b81526001600160a01b038381166004830152600092169063aafd847a90602401610e18565b6000546001600160a01b031633146119065760405162461bcd60e51b8152600401610c1b90613185565b6001600160a01b03821660009081526012602052604090205460ff161515811515141561198f5760405162461bcd60e51b815260206004820152603160248201527f4368616446693a206163636f756e7420697320616c72656164792073657420746044820152706f2072657175657374656420737461746560781b6064820152608401610c1b565b6001600160a01b038216600081815260126020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6000546001600160a01b03163314611a185760405162461bcd60e51b8152600401610c1b90613185565b60005b81518160ff1610156116b157600160156000848460ff1681518110611a4257611a426132d6565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611a7e816132ec565b915050611a1b565b6000546001600160a01b03163314611ab05760405162461bcd60e51b8152600401610c1b90613185565b600c8054821515620100000262ff0000199091161790556040517f5bb2376cf656637e70e36c01d3da25685bf3b353f18681b8a5e48c7b2effe13390611afb90831515815260200190565b60405180910390a150565b60165460405163c705c56960e01b81526001600160a01b038381166004830152600092169063c705c56990602401602060405180830381865afa158015611b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e59919061323b565b6000546001600160a01b03163314611b9f5760405162461bcd60e51b8152600401610c1b90613185565b601b805460ff19166001179055565b6000546001600160a01b03163314611bd85760405162461bcd60e51b8152600401610c1b90613185565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314611c2d5760405162461bcd60e51b8152600401610c1b90613185565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314611c825760405162461bcd60e51b8152600401610c1b90613185565b600c80548215156101000261ff00199091161790556040517fb9bbb15e341600c8d067a0cadeba219905d5ba6d422b193c9c32265d26fc51c890611afb90831515815260200190565b6000546001600160a01b03163314611cf55760405162461bcd60e51b8152600401610c1b90613185565b600c805482151563010000000263ff000000199091161790556040517f341322866a3a2c26c27efa4c270c5ba86f6963257118897dd8196f224c002d4390611afb90831515815260200190565b6000546001600160a01b03163314611d6c5760405162461bcd60e51b8152600401610c1b90613185565b600e8054610100600160a81b0319166101006001600160a01b0394851602179055600f80546001600160a01b03191691909216179055565b6000546001600160a01b03163314611dce5760405162461bcd60e51b8152600401610c1b90613185565b6001600160a01b038116611e335760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c1b565b61106a816126db565b6000546001600160a01b03163314611e665760405162461bcd60e51b8152600401610c1b90613185565b60005b81518160ff1610156116b157600060156000848460ff1681518110611e9057611e906132d6565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580611ecc816132ec565b915050611e69565b600c546301000000900460ff16611f385760405162461bcd60e51b815260206004820152602260248201527f4368616446693a20636f6d706f756e64696e67206973206e6f7420656e61626c604482015261195960f21b6064820152608401610c1b565b6016546001600160a01b0316636de1a5a933611000565b6001600160a01b038316611fb35760405162461bcd60e51b815260206004820152602560248201527f4368616446693a20617070726f76652066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c1b565b6001600160a01b0382166120155760405162461bcd60e51b815260206004820152602360248201527f4368616446693a20617070726f766520746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c1b565b6001600160a01b0383811660008181526011602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b601b5460ff168061209457506000546001600160a01b038481169116145b806120ac57506000546001600160a01b038381169116145b806120cf57506001600160a01b03831660009081526014602052604090205460ff165b806120f257506001600160a01b03821660009081526014602052604090205460ff165b6121295760405162461bcd60e51b81526020600482015260086024820152672737ba1027b832b760c11b6044820152606401610c1b565b6001600160a01b03831660009081526015602052604090205460ff16156121925760405162461bcd60e51b815260206004820152601d60248201527f4368616446693a2053656e64657220697320626c61636b6c69737465640000006044820152606401610c1b565b6001600160a01b03821660009081526015602052604090205460ff16156121fb5760405162461bcd60e51b815260206004820181905260248201527f4368616446693a20526563697069656e7420697320626c61636b6c69737465646044820152606401610c1b565b6001600160a01b0383166122215760405162461bcd60e51b8152600401610c1b9061330c565b6001600160a01b0382166122475760405162461bcd60e51b8152600401610c1b90613352565b6000612710601954612258600d5490565b6122629190613396565b61226c91906133b5565b90506000612710601a5461227f600d5490565b6122899190613396565b61229391906133b5565b905081831115806122bc57506001600160a01b0385166000908152601c602052604090205460ff165b6122fc5760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b6044820152606401610c1b565b6000546001600160a01b0386811691161480159061232357506001600160a01b0384163014155b801561233d57506002546001600160a01b03858116911614155b801561235757506018546001600160a01b03858116911614155b156123a3576001600160a01b038416600090815260106020908152604080832054601d9092529091205460ff16806123985750816123958583613258565b11155b6123a157600080fd5b505b6001600160a01b038516600090815260106020526040902054838110156123dc5760405162461bcd60e51b8152600401610c1b906133d7565b30600090815260106020526040902054600a54600c54479183101590610100900460ff1680156124095750805b80156124185750600e5460ff16155b801561243d57506001600160a01b03891660009081526013602052604090205460ff16155b801561245757506017546001600160a01b038a8116911614155b801561247157506000546001600160a01b038a8116911614155b801561248b57506000546001600160a01b03898116911614155b156124c657600e805460ff19166001179055600c5460ff166124ad57600a5492505b6124b78383612891565b42600b55600e805460ff191690555b6018546000906001600160a01b038b8116911614806124f257506018546001600160a01b038a81169116145b156124fb575060015b6001600160a01b038a1660009081526012602052604090205460ff168061253a57506001600160a01b03891660009081526012602052604090205460ff165b15612543575060005b600e5460ff168061255d5750600c5462010000900460ff16155b15612566575060005b80156125a45760006127106009548a61257f9190613396565b61258991906133b5565b9050612595818a61320b565b98506125a28b3083612b6a565b505b6125af8a8a8a612b6a565b6016546001600160a01b031663e30443bc8b6125e0816001600160a01b031660009081526010602052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561262657600080fd5b505af115801561263a573d6000803e3d6000fd5b50506016546001600160a01b0316915063e30443bc90508a612671816001600160a01b031660009081526010602052604090205490565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b1580156126b757600080fd5b505af11580156126cb573d6000803e3d6000fd5b5050505050505050505050505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821660009081526013602052604090205460ff16151581151514156127c2576040805162461bcd60e51b81526020600482015260248101919091527f4368616446693a206175746f6d61746564206d61726b6574206d616b6572207060448201527f61697220697320616c72656164792073657420746f20746861742076616c75656064820152608401610c1b565b6001600160a01b0382166000908152601360205260409020805460ff191682158015919091179091556128555760165460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b15801561283c57600080fd5b505af1158015612850573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6000821161289d575050565b600e5460009061010090046001600160a01b0316156128d3576009546006546128c69085613396565b6128d091906133b5565b90505b600080601660009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612929573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061294d9190613222565b1115612970576009546008546129639086613396565b61296d91906133b5565b90505b60008161297d848761320b565b612987919061320b565b905060006129966002836133b5565b905060006129a4828461320b565b90506000826129b38688613258565b6129bd9190613258565b9050476129c982612c89565b6000886129d6834761320b565b6129e09190613258565b90506000836129ef8a84613396565b6129f991906133b5565b9050600084612a088a85613396565b612a1291906133b5565b9050600081612a21848661320b565b612a2b919061320b565b90508215612a7357600e546040516101009091046001600160a01b0316906108fc8515029085906000818181858888f19350505050158015612a71573d6000803e3d6000fd5b505b612a7d8782612dad565b60408051898152602081018390529081018890527fb63dc6f50047533abe2d6adf180d38d524c8d98e55ad199aac8d6b9801bbe24a9060600160405180910390a18115612b5b576016546040516000916001600160a01b03169084908381818185875af1925050503d8060008114612b11576040519150601f19603f3d011682016040523d82523d6000602084013e612b16565b606091505b5050905080156126cb57604080518c8152602081018590527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a1505b50505050505050505050505050565b6001600160a01b038316612b905760405162461bcd60e51b8152600401610c1b9061330c565b6001600160a01b038216612bb65760405162461bcd60e51b8152600401610c1b90613352565b6001600160a01b03831660009081526010602052604090205481811015612bef5760405162461bcd60e51b8152600401610c1b906133d7565b612bf9828261320b565b6001600160a01b038086166000908152601060205260408082209390935590851681529081208054849290612c2f908490613258565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef84604051612c7b91815260200190565b60405180910390a350505050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612cbe57612cbe6132d6565b6001600160a01b03928316602091820292909201810191909152601754604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015612d17573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612d3b9190613270565b81600181518110612d4e57612d4e6132d6565b6001600160a01b039283166020918202929092010152601754612d749130911684611f4f565b60175460405163791ac94760e01b81526001600160a01b039091169063791ac94790610c5990859060009086903090429060040161341e565b601754612dc59030906001600160a01b031684611f4f565b601754600f5460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015612e35573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190612e5a919061348f565b5050505050565b6001600160a01b038116811461106a57600080fd5b8035612e8181612e61565b919050565b801515811461106a57600080fd5b60008060408385031215612ea757600080fd5b8235612eb281612e61565b91506020830135612ec281612e86565b809150509250929050565b600060208083528351808285015260005b81811015612efa57858101830151858201604001528201612ede565b81811115612f0c576000604083870101525b50601f01601f1916929092016040019392505050565b60008060408385031215612f3557600080fd5b8235612f4081612e61565b946020939093013593505050565b600080600060608486031215612f6357600080fd5b8335612f6e81612e61565b92506020840135612f7e81612e61565b929592945050506040919091013590565b600060208284031215612fa157600080fd5b8135612fac81612e61565b9392505050565b600080600060608486031215612fc857600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215612ff457600080fd5b8335612fff81612e86565b925060208401359150604084013561301681612e86565b809150509250925092565b60006020828403121561303357600080fd5b5035919050565b6000806040838503121561304d57600080fd5b823591506020830135612ec281612e61565b634e487b7160e01b600052604160045260246000fd5b6000602080838503121561308857600080fd5b823567ffffffffffffffff808211156130a057600080fd5b818501915085601f8301126130b457600080fd5b8135818111156130c6576130c661305f565b8060051b604051601f19603f830116810181811085821117156130eb576130eb61305f565b60405291825284820192508381018501918883111561310957600080fd5b938501935b8285101561312e5761311f85612e76565b8452938501939285019261310e565b98975050505050505050565b60006020828403121561314c57600080fd5b8135612fac81612e86565b6000806040838503121561316a57600080fd5b823561317581612e61565b91506020830135612ec281612e61565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c908216806131ce57607f821691505b602082108114156131ef57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008282101561321d5761321d6131f5565b500390565b60006020828403121561323457600080fd5b5051919050565b60006020828403121561324d57600080fd5b8151612fac81612e86565b6000821982111561326b5761326b6131f5565b500190565b60006020828403121561328257600080fd5b8151612fac81612e61565b600080600080600060a086880312156132a557600080fd5b85516132b081612e61565b602087015160408801516060890151608090990151929a91995097965090945092505050565b634e487b7160e01b600052603260045260246000fd5b600060ff821660ff811415613303576133036131f5565b60010192915050565b60208082526026908201527f4368616446693a207472616e736665722066726f6d20746865207a65726f206160408201526564647265737360d01b606082015260800190565b60208082526024908201527f4368616446693a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60008160001904831182151516156133b0576133b06131f5565b500290565b6000826133d257634e487b7160e01b600052601260045260246000fd5b500490565b60208082526027908201527f4368616446693a207472616e7366657220616d6f756e7420657863656564732060408201526662616c616e636560c81b606082015260800190565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b8181101561346e5784516001600160a01b031683529383019391830191600101613449565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156134a457600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220a51c9d93e7615aaf530fae55f1d20fee3f373aa89e255c5b0b93b4908649654b64736f6c634300080a0033

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

000000000000000000000000f6e3909522f03f912e40e48f1ebe644fba2c7cb8000000000000000000000000f6e3909522f03f912e40e48f1ebe644fba2c7cb800000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000001000000000000000000000000f6e3909522f03f912e40e48f1ebe644fba2c7cb8

-----Decoded View---------------
Arg [0] : _marketingWallet (address): 0xF6e3909522F03F912e40E48f1eBe644FbA2C7cb8
Arg [1] : _liquidityWallet (address): 0xF6e3909522F03F912e40E48f1eBe644FbA2C7cb8
Arg [2] : whitelistAddress (address[]): 0xF6e3909522F03F912e40E48f1eBe644FbA2C7cb8

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 000000000000000000000000f6e3909522f03f912e40e48f1ebe644fba2c7cb8
Arg [1] : 000000000000000000000000f6e3909522f03f912e40e48f1ebe644fba2c7cb8
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [4] : 000000000000000000000000f6e3909522f03f912e40e48f1ebe644fba2c7cb8


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.