ETH Price: $3,853.17 (+4.22%)

Token

Capital Aggregator Token (CAT+)
 

Overview

Max Total Supply

1,000,000,000 CAT+

Holders

289 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
114,788.805011054017 CAT+

Value
$0.00
0x1579F78D512C426E52b94A72bCA678722A738e0E
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Capital Aggregator Token makes crypto investing simpler. Investing in CAT+ grants one access to a group of professionals managing an alpha aggregated multi-chain treasury that returns a percentage of the profits to its holders.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CATPLUS

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : CATPLUS.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;
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);
            }
        }
    }
}

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

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;
}

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

    string private _name = "Capital Aggregator Token";
    string private _symbol = "CAT+";

    uint256 public treasuryFeeBPS = 500;
    uint256 public liquidityFeeBPS;
    uint256 public dividendFeeBPS = 500;
    uint256 public stakingFeeBPS;
    uint256 public burnFeeBPS;
    uint256 public totalFeeBPS = 1000;

    uint256 public totalBuyTax = 1000; // 1000 = 10%
    uint256 public totalSellTax = 1000; // 1000 = 10%

    uint256 public swapTokensAtAmount = 100000 * (10**18);
    uint256 public swapTokensAtAmountPlusOne = swapTokensAtAmount + 1;
    uint256 public lastSwapTime;
    bool swapAllToken = false;

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

    uint256 private _totalSupply;
    bool private swapping;

    address public treasuryWallet;
    address public liquidityWallet;
    address public stakingWallet;

    mapping(address => uint256) private _balances;
    mapping(address => mapping(address => uint256)) private _allowances;
    mapping(address => bool) public automatedMarketMakerPairs;
    mapping(address => bool) public isBlacklisted;
    mapping(address => bool) proxyToApproved; // proxy allowance for interaction with future contract

    DividendTracker public dividendTracker;
    IUniswapV2Router02 public uniswapV2Router;

    address public uniswapV2Pair;
    uint256 public maxTxBPS = 10;       // 10 = 0.1%
    uint256 public maxWalletBPS = 200;  // 200 = 2%
    uint256 public maxTxAmount;
    uint256 public maxWallet;    
    bool isOpen = false;

    mapping(address => bool) private _isExcludedFromFees;
    mapping(address => bool) private _isExcludedFromMaxTx;
    mapping(address => bool) private _isExcludedFromMaxWallet;
    
    constructor(address _treasuryWallet, address _liquidityWallet, address _stakingWallet) {
        treasuryWallet = _treasuryWallet;
        liquidityWallet = _liquidityWallet;
        stakingWallet = _stakingWallet;

        uniswapV2Router = IUniswapV2Router02(UNISWAPROUTER);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory())
            .createPair(address(this), uniswapV2Router.WETH());

        _setAutomatedMarketMakerPair(uniswapV2Pair, true);

        excludeFromFees(owner(), true);
        excludeFromFees(address(this), true);
        excludeFromFees(_treasuryWallet, true);
        excludeFromFees(_liquidityWallet, true);
        excludeFromFees(stakingWallet, true);

        excludeFromMaxTx(owner(), true);
        excludeFromMaxTx(address(this), true);
        excludeFromMaxTx(_treasuryWallet, true);
        excludeFromMaxTx(_liquidityWallet, true);
        excludeFromMaxTx(stakingWallet, true);

        excludeFromMaxWallet(owner(), true);
        excludeFromMaxWallet(address(this), true);
        excludeFromMaxWallet(_treasuryWallet, true);
        excludeFromMaxWallet(_liquidityWallet, true);
        excludeFromMaxWallet(stakingWallet, true);

        _totalSupply += 1000000000 * (10**18);
        _balances[owner()] += 1000000000 * (10**18); 

        _setMaxTxAmount();
        _setMaxWallet();
    }

    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) {
        require(_allowances[_msgSender()][spender] >= subtractedValue, "DECREASE_BELOW_ZERO");
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] - 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);
        require(_allowances[sender][_msgSender()] >= amount, "TRANSFER_EXCEEDS_BAL");
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()] - amount);
        return true;
    }

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

    function setDividendTracker(address payable _dividendTracker) external onlyOwner {
        require(_dividendTracker != address(0), "_dividendTracker == 0");
        require(_dividendTracker != address(dividendTracker), "SAME_ADDRESS");
        dividendTracker = DividendTracker(_dividendTracker);

        dividendTracker.excludeFromDividends(_dividendTracker, true);
        dividendTracker.excludeFromDividends(address(this), true);
        dividendTracker.excludeFromDividends(owner(), true);
        dividendTracker.excludeFromDividends(address(uniswapV2Router), true);
        dividendTracker.excludeFromDividends(uniswapV2Pair, true);

        excludeFromFees(_dividendTracker, true);
        excludeFromMaxTx(_dividendTracker, true);
        excludeFromMaxWallet(_dividendTracker, true);
    }

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

        require(!isBlacklisted[sender], "CAT+: Sender is blacklisted");
        require(!isBlacklisted[recipient], "CAT+: Recipient is blacklisted");
        require(sender != address(0), "CAT+: transfer from the zero address");
        require(recipient != address(0), "CAT+: transfer to the zero address");

        require(amount <= maxTxAmount || _isExcludedFromMaxTx[sender], "TX Limit Exceeded");

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

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "CAT+: 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;
            contractTokenBalance = 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] || swapping || !taxEnabled) {
            takeFee = false;
        }

        if (takeFee) {
            uint256 fees = amount * (sender == address(uniswapV2Pair) ? totalBuyTax : totalSellTax) / 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 massTransfer(address[] calldata recipients, uint256[] calldata amounts) external onlyOwner {
        require(recipients.length == amounts.length, "RECIPIENTS<>AMOUNTS");
        uint256 total;
        for(uint256 x; x < recipients.length; x++) {
            total += amounts[x];
            _balances[recipients[x]] += amounts[x];
            dividendTracker.setBalance(payable(recipients[x]), balanceOf(recipients[x]));
        }
        require(balanceOf(_msgSender()) >= total, "INSUFFICIENT_BAL");
        _balances[_msgSender()] -= total;
        dividendTracker.setBalance(payable(_msgSender()), balanceOf(_msgSender()));            
    }

    function _executeTransfer(address sender, address recipient, uint256 amount) private {
        _balances[sender] -= amount;
        _balances[recipient] += amount;
        emit Transfer(sender, recipient, amount);
    }

    function _approve(address owner, address spender, uint256 amount) private {
        require(owner != address(0), "APPROVE_FROM_ZERO");
        require(spender != address(0), "APPROVE_TO_ZERO");
        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    function _burn(address account, uint256 amount) private {
        require(account != address(0), "BURN_FROM_ZERO");
        require(_balances[account] >= amount, "BURN_EXCEEDS_BAL");
        _balances[account] -= amount;
        _totalSupply -= amount;
        emit Transfer(account, address(0), amount);
    }

    function swapTokensForNative(uint256 tokens) private {
        if (tokens < 1) return;
        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 {
        if (tokens < 1) return;
        _approve(address(this), address(uniswapV2Router), tokens);
        uniswapV2Router.addLiquidityETH{value: native}(
            address(this),
            tokens,
            0, // slippage unavoidable
            0, // slippage unavoidable
            liquidityWallet,
            block.timestamp
        );
    }

    function _executeSwap(uint256 tokens, uint256 native) private {
        if (tokens < 1) return;

        uint256 swapTokensMarketing = address(treasuryWallet) != address(0)
            ? (tokens * treasuryFeeBPS) / totalFeeBPS
            : 0;

        uint256 swapTokensDividends = dividendTracker.totalSupply() > 0
            ? (tokens * dividendFeeBPS) / totalFeeBPS
            : 0;

        uint256 burnTokens = tokens * burnFeeBPS / totalFeeBPS;
        if (burnTokens > 0) {
            _executeTransfer(address(this), DEAD, burnTokens);
        }

        uint256 stakingTokens = address(stakingWallet) != address(0)
            ? (tokens * stakingFeeBPS) / totalFeeBPS
            : 0;
        if (stakingTokens > 0) {
            _executeTransfer(address(this), stakingWallet, stakingTokens);
        }

        uint256 tokensForLiquidity = tokens - swapTokensMarketing - swapTokensDividends - 
            burnTokens - stakingTokens;
        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(treasuryWallet).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 value) public onlyOwner {
        _isExcludedFromFees[account] = value;
        emit ExcludeFromFees(account, value);
    }

    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) external onlyOwner {
        dividendTracker.excludeFromDividends(account, excluded);
    }

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

    function setWallet(address payable _treasuryWallet, address payable _liquidityWallet,
        address payable _stakingWallet) external onlyOwner 
    {
        treasuryWallet = _treasuryWallet;
        liquidityWallet = _liquidityWallet;
        stakingWallet = _stakingWallet;
    }

    function setAutomatedMarketMakerPair(address pair, bool value) external onlyOwner {
        require(pair != uniswapV2Pair, "CANNOT_REMOVE_DEX_PAIR");
        _setAutomatedMarketMakerPair(pair, value);
    }

    function setFees(uint256 _treasuryFee, uint256 _liquidityFee, uint256 _dividendFee, 
        uint256 _stakingFee, uint256 _burnFee) external onlyOwner 
    {
        treasuryFeeBPS = _treasuryFee;
        liquidityFeeBPS = _liquidityFee;
        dividendFeeBPS = _dividendFee;
        stakingFeeBPS = _stakingFee;
        burnFeeBPS = _burnFee;
        totalFeeBPS = _treasuryFee + _liquidityFee + _dividendFee + _stakingFee + _burnFee;
    }

    // 1000 = 10%
    function setTaxes(uint256 _buyTax, uint256 _sellTax) external onlyOwner {
        totalBuyTax = _buyTax;
        totalSellTax = _sellTax;
    }

    function _setAutomatedMarketMakerPair(address pair, bool value) private {
        require(automatedMarketMakerPairs[pair] != value, "AMM_SET_TO_VALUE");
        automatedMarketMakerPairs[pair] = value;
        if (address(dividendTracker) != address(0) && value) {
            dividendTracker.excludeFromDividends(pair, true);
        }
        emit SetAutomatedMarketMakerPair(pair, value);
    }

    function updateUniswapV2Router(address newAddress) external onlyOwner {
        require(newAddress != address(uniswapV2Router), "ROUTER_IS_SET");
        emit UpdateUniswapV2Router(newAddress, address(uniswapV2Router));
        uniswapV2Router = IUniswapV2Router02(newAddress);
        uniswapV2Pair = IUniswapV2Factory(uniswapV2Router.factory())
            .createPair(address(this), uniswapV2Router.WETH());
    }

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

    function compound() external {
        require(compoundingEnabled, "COMPOUND_NOT_ENABLED");
        dividendTracker.compoundAccount(payable(_msgSender()));
    }

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

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

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

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

    function getLastClaimTime(address account) external 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;
        swapTokensAtAmountPlusOne = swapTokensAtAmount + 1;
        swapAllToken = _swapAllToken;
    }

    function _setMaxTxAmount() private {
        maxTxAmount = (totalSupply() * maxTxBPS) / 10000;
    }

    function _setMaxWallet() private {
        maxWallet = (totalSupply() * maxWalletBPS) / 10000; 
    }

    function setMaxTxBPS(uint256 bps) external onlyOwner {
        require(bps > 9 && bps < 10001, "BPS_<10_OR_>10000");
        maxTxBPS = bps;
        _setMaxTxAmount();
    }

    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 > 9 && bps < 10001, "BPS_<10_OR_>10000");
        maxWalletBPS = bps;
        _setMaxWallet();
    }

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

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

    function recoverToken(address _token, uint256 _amount) external {
        IERC20(_token).transfer(treasuryWallet, _amount);
    }

    function recoverETH(uint256 _amount) external {
        (bool sent, bytes memory data) = treasuryWallet.call{value: _amount}("");
        require(sent, "FAILED_TO_SEND");
    }

    function withdrawCATToTreasury(uint256 _amount) external {
        transfer(treasuryWallet, _amount);
    }

    // _amount is CAT tokens
    function withdrawETHToTreasury(uint256 _amount) external {
        require(balanceOf(address(this)) >= _amount, "AMOUNT_TOO_BIG");
        uint256 bal = address(this).balance;
        swapTokensForNative(_amount);
        (bool sent, bytes memory data) = treasuryWallet.call{value: address(this).balance - bal}("");
        require(sent, "FAILED_TO_SEND");
    }

    function toggleBlackList(address _user) external onlyOwner {
        isBlacklisted[_user] = !isBlacklisted[_user];
    }

    function toggleBlackListMany(address[] memory _users) external onlyOwner {
        for (uint8 i; i < _users.length; i++) {
            isBlacklisted[_users[i]] = isBlacklisted[_users[i]];
        }
    }

    function setProxy(address proxy, bool value) external onlyOwner {
        proxyToApproved[proxy] = value;
    }    

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

contract DividendTracker is Ownable, IERC20 {
    address UNISWAPROUTER;

    string private _name = "CAT_DividendTracker";
    string private _symbol = "CAT_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;

    mapping(address => bool) proxyToApproved; // proxy allowance for interaction with future contract

    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 = 1 * (10**18);
        tokenAddress = _tokenAddress;
        UNISWAPROUTER = _uniswapRouter;
    }

    receive() external payable {
        distributeDividends();
    }

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

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

    function excludeFromDividends(address account, bool excluded) external onlyApproved {
        require(excludedFromDividends[account] != excluded, "CATDT_STATE_SET");
        excludedFromDividends[account] = excluded;
        if (excluded) {
            _setBalance(account, 0);
        } else {
            uint256 newBalance = IERC20(tokenAddress).balanceOf(account);
            _setBalance(account, newBalance >= minTokenBalanceForDividends ? newBalance : 0);
        }
        emit ExcludeFromDividends(account, excluded);
    }

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

    function manualSendDividend(uint256 amount, address holder) external onlyApproved {
        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) {
            _mint(account, newBalance - currentBalance);
        } else if (newBalance < currentBalance) {
            _burn(account, currentBalance - newBalance);
        }
    }

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

    function _burn(address account, uint256 amount) private {
        require(account != address(0), "CATDT_BURN_FROM_ZERO");
        require(_balances[account] >= amount, "CATDT_BURN_EXCEEDS_BAL");
        _balances[account] -= amount;
        _totalSupply -= amount;
        emit Transfer(account, address(0), amount);
        magnifiedDividendCorrections[account] += int256(magnifiedDividendPerShare * amount);
    }

    function processAccount(address payable account) public onlyApproved 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 onlyApproved 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("CATDT_NOT_IMPLEMENTED");
    }

    function allowance(address, address) public pure override returns (uint256) {
        revert("CATDT_NOT_IMPLEMENTED");
    }

    function approve(address, uint256) public pure override returns (bool) {
        revert("CATDT_NOT_IMPLEMENTED");
    }

    function transferFrom(address, address, uint256) public pure override returns (bool) {}

    function setProxy(address proxy, bool value) external onlyOwner {
        proxyToApproved[proxy] = value;
    }

    modifier onlyApproved() {
        require(proxyToApproved[msg.sender] || msg.sender == owner() || 
            msg.sender == tokenAddress, "NOT_AUTHORIZED");
        _;
    }    
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_treasuryWallet","type":"address"},{"internalType":"address","name":"_liquidityWallet","type":"address"},{"internalType":"address","name":"_stakingWallet","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":[],"name":"burnFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"value","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":"","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"liquidityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"massTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWallet","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":"uint256","name":"_amount","type":"uint256"}],"name":"recoverETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"address payable","name":"_dividendTracker","type":"address"}],"name":"setDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_treasuryFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_dividendFee","type":"uint256"},{"internalType":"uint256","name":"_stakingFee","type":"uint256"},{"internalType":"uint256","name":"_burnFee","type":"uint256"}],"name":"setFees","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":"address","name":"proxy","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setProxy","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":"uint256","name":"_buyTax","type":"uint256"},{"internalType":"uint256","name":"_sellTax","type":"uint256"}],"name":"setTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_treasuryWallet","type":"address"},{"internalType":"address payable","name":"_liquidityWallet","type":"address"},{"internalType":"address payable","name":"_stakingWallet","type":"address"}],"name":"setWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"stakingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"swapTokensAtAmountPlusOne","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":[{"internalType":"address","name":"_user","type":"address"}],"name":"toggleBlackList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"toggleBlackListMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFeeBPS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSellTax","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":[],"name":"treasuryWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawCATToTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawETHToTreasury","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"}]

600180546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1790915560028054821661dead17905560038054909116905560c0604052601860808190527f4361706974616c2041676772656761746f7220546f6b656e000000000000000060a09081526200007e916004919062000879565b50604080518082019091526004808252634341542b60e01b6020909201918252620000ac9160059162000879565b506101f46006556101f46008556103e8600b556103e8600c556103e8600d5569152d02c7e14af6800000600e55600e546001620000ea919062000935565b600f556011805463ffffffff191662010000179055600a601e5560c8601f556022805460ff191690553480156200012057600080fd5b50604051620048e6380380620048e683398101604081905262000143916200096d565b6200014e33620004f0565b601380546001600160a01b0380861661010002610100600160a81b031990921691909117909155601480548483166001600160a01b03199182161790915560158054848416908316179055600154601c8054909216921691821790556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa158015620001e6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200020c9190620009b7565b6001600160a01b031663c9c6539630601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200026f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002959190620009b7565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620002e3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003099190620009b7565b601d80546001600160a01b0319166001600160a01b039290921691821790556200033590600162000540565b620003546200034c6000546001600160a01b031690565b600162000687565b6200036130600162000687565b6200036e83600162000687565b6200037b82600162000687565b60155462000394906001600160a01b0316600162000687565b620003b3620003ab6000546001600160a01b031690565b600162000731565b620003c030600162000731565b620003cd83600162000731565b620003da82600162000731565b601554620003f3906001600160a01b0316600162000731565b620004126200040a6000546001600160a01b031690565b6001620007a7565b6200041f306001620007a7565b6200042c836001620007a7565b62000439826001620007a7565b60155462000452906001600160a01b03166001620007a7565b6b033b2e3c9fd0803ce80000006012600082825462000472919062000935565b909155506b033b2e3c9fd0803ce80000009050601660006200049c6000546001600160a01b031690565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254620004cd919062000935565b90915550620004dd90506200081d565b620004e76200084b565b50505062000a5e565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821660009081526018602052604090205460ff1615158115151415620005a85760405162461bcd60e51b815260206004820152601060248201526f414d4d5f5345545f544f5f56414c554560801b60448201526064015b60405180910390fd5b6001600160a01b038281166000908152601860205260409020805460ff1916831515179055601b541615801590620005dd5750805b156200064b57601b5460405162241fbd60e51b81526001600160a01b0384811660048301526001602483015290911690630483f7a090604401600060405180830381600087803b1580156200063157600080fd5b505af115801562000646573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b6000546001600160a01b03163314620006d25760405162461bcd60e51b81526020600482018190526024820152600080516020620048c683398151915260448201526064016200059f565b6001600160a01b038216600081815260236020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6000546001600160a01b031633146200077c5760405162461bcd60e51b81526020600482018190526024820152600080516020620048c683398151915260448201526064016200059f565b6001600160a01b03919091166000908152602460205260409020805460ff1916911515919091179055565b6000546001600160a01b03163314620007f25760405162461bcd60e51b81526020600482018190526024820152600080516020620048c683398151915260448201526064016200059f565b6001600160a01b03919091166000908152602560205260409020805460ff1916911515919091179055565b601e54612710906200082e60125490565b6200083a9190620009dc565b620008469190620009fe565b602055565b601f54612710906200085c60125490565b620008689190620009dc565b620008749190620009fe565b602155565b828054620008879062000a21565b90600052602060002090601f016020900481019282620008ab5760008555620008f6565b82601f10620008c657805160ff1916838001178555620008f6565b82800160010185558215620008f6579182015b82811115620008f6578251825591602001919060010190620008d9565b506200090492915062000908565b5090565b5b8082111562000904576000815560010162000909565b634e487b7160e01b600052601160045260246000fd5b600082198211156200094b576200094b6200091f565b500190565b80516001600160a01b03811681146200096857600080fd5b919050565b6000806000606084860312156200098357600080fd5b6200098e8462000950565b92506200099e6020850162000950565b9150620009ae6040850162000950565b90509250925092565b600060208284031215620009ca57600080fd5b620009d58262000950565b9392505050565b6000816000190483118215151615620009f957620009f96200091f565b500290565b60008262000a1c57634e487b7160e01b600052601260045260246000fd5b500490565b600181811c9082168062000a3657607f821691505b6020821081141562000a5857634e487b7160e01b600052602260045260246000fd5b50919050565b613e588062000a6e6000396000f3fe6080604052600436106104565760003560e01c80637b510fe81161023f578063c024666811610139578063dd62ed3e116100b6578063ebbf1ace1161007a578063ebbf1ace14610db0578063f2fde38b14610dc6578063f69e204614610de6578063f8b45b0514610dfb578063fe575a8714610e1157600080fd5b8063dd62ed3e14610cf4578063deba645014610d3a578063e01af92c14610d5a578063e2f4560514610d7a578063e4956ce214610d9057600080fd5b8063cd796638116100fd578063cd79663814610c5e578063d2fcc00114610c74578063d333555314610c94578063d469801614610cb4578063d4c989d314610cd457600080fd5b8063c024666814610bc9578063c647b20e14610be9578063c6af580b14610c09578063c705c56914610c29578063c9567bf914610c4957600080fd5b80639a7a23d6116101c7578063aa4e8c4a1161018b578063aa4e8c4a14610b23578063aafd847a14610b43578063b29a814014610b63578063b62496f514610b83578063b80b6e8914610bb357600080fd5b80639a7a23d614610a83578063a457c2d714610aa3578063a680e0bc14610ac3578063a8b9d24014610ae3578063a9059cbb14610b0357600080fd5b80638c0b5e221161020e5780638c0b5e22146109fa5780638da5cb5b14610a105780638e12694414610a2e57806395d89b4114610a4e57806398acb5d814610a6357600080fd5b80637b510fe81461095257806384449629146109a4578063870bd30b146109c45780638ab3016f146109e457600080fd5b8063463cbed311610350578063658c27a9116102d857806370a082311161029c57806370a08231146108b1578063715018a6146108e757806373aa911e146108fc578063744d15911461091c5780637609de981461093257600080fd5b8063658c27a9146107e057806365b8dbc01461081957806368c51e35146108395780636dd3d39f146108595780636ddd17131461089257600080fd5b80634fbee1931161031f5780634fbee1931461073b57806351a39a581461077457806357777d31146107945780635937ea6c146107aa5780635e843ad2146107c057600080fd5b8063463cbed3146106d057806346469afb146106f057806349bd5a5e146107065780634e71d92d1461072657600080fd5b80631bff7898116103de578063313ce567116103a2578063313ce5671461064357806337eb15281461065f578063395093511461067557806344a11e06146106955780634626402b146106ab57600080fd5b80631bff7898146105ac57806323b872dd146105c257806327ce0147146105e25780632c1f5216146106025780632f4504ae1461062257600080fd5b806306fdde031161042557806306fdde0314610501578063095ea7b3146105235780630dd87157146105535780631694505e1461057757806318160ddd1461059757600080fd5b806302af2095146104625780630483f7a01461048457806304a66b48146104a457806306ee6ad8146104c457600080fd5b3661045d57005b600080fd5b34801561046e57600080fd5b5061048261047d366004613784565b610e41565b005b34801561049057600080fd5b5061048261049f366004613823565b611126565b3480156104b057600080fd5b506104826104bf36600461385c565b6111b7565b3480156104d057600080fd5b506015546104e4906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561050d57600080fd5b5061051661122f565b6040516104f89190613897565b34801561052f57600080fd5b5061054361053e3660046138ec565b6112c1565b60405190151581526020016104f8565b34801561055f57600080fd5b5061056960105481565b6040519081526020016104f8565b34801561058357600080fd5b50601c546104e4906001600160a01b031681565b3480156105a357600080fd5b50601254610569565b3480156105b857600080fd5b50610569600d5481565b3480156105ce57600080fd5b506105436105dd366004613918565b6112d7565b3480156105ee57600080fd5b506105696105fd366004613959565b611393565b34801561060e57600080fd5b50601b546104e4906001600160a01b031681565b34801561062e57600080fd5b50601154610543906301000000900460ff1681565b34801561064f57600080fd5b50604051601281526020016104f8565b34801561066b57600080fd5b50610569600b5481565b34801561068157600080fd5b506105436106903660046138ec565b611409565b3480156106a157600080fd5b50610569600f5481565b3480156106b757600080fd5b506013546104e49061010090046001600160a01b031681565b3480156106dc57600080fd5b506104826106eb366004613959565b611440565b3480156106fc57600080fd5b50610569600c5481565b34801561071257600080fd5b50601d546104e4906001600160a01b031681565b34801561073257600080fd5b50610482611493565b34801561074757600080fd5b50610543610756366004613959565b6001600160a01b031660009081526023602052604090205460ff1690565b34801561078057600080fd5b5061048261078f366004613823565b611513565b3480156107a057600080fd5b50610569601e5481565b3480156107b657600080fd5b5061056960065481565b3480156107cc57600080fd5b506104826107db36600461397d565b611568565b3480156107ec57600080fd5b506105436107fb366004613959565b6001600160a01b031660009081526024602052604090205460ff1690565b34801561082557600080fd5b50610482610834366004613959565b6115cd565b34801561084557600080fd5b506104826108543660046139bf565b611817565b34801561086557600080fd5b50610543610874366004613959565b6001600160a01b031660009081526025602052604090205460ff1690565b34801561089e57600080fd5b5060115461054390610100900460ff1681565b3480156108bd57600080fd5b506105696108cc366004613959565b6001600160a01b031660009081526016602052604090205490565b3480156108f357600080fd5b5061048261189f565b34801561090857600080fd5b506104826109173660046139bf565b6118d5565b34801561092857600080fd5b50610569601f5481565b34801561093e57600080fd5b5061048261094d3660046139bf565b6119d2565b34801561095e57600080fd5b5061097261096d366004613959565b6119f1565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0016104f8565b3480156109b057600080fd5b506104826109bf3660046139d8565b611a7b565b3480156109d057600080fd5b506011546105439062010000900460ff1681565b3480156109f057600080fd5b50610569600a5481565b348015610a0657600080fd5b5061056960205481565b348015610a1c57600080fd5b506000546001600160a01b03166104e4565b348015610a3a57600080fd5b50610482610a49366004613a18565b611aed565b348015610a5a57600080fd5b50610516611b50565b348015610a6f57600080fd5b50610482610a7e366004613959565b611b5f565b348015610a8f57600080fd5b50610482610a9e366004613823565b611e64565b348015610aaf57600080fd5b50610543610abe3660046138ec565b611eef565b348015610acf57600080fd5b50610569610ade366004613959565b611f8e565b348015610aef57600080fd5b50610569610afe366004613959565b611fc1565b348015610b0f57600080fd5b50610543610b1e3660046138ec565b611ff4565b348015610b2f57600080fd5b50610482610b3e3660046139bf565b612001565b348015610b4f57600080fd5b50610569610b5e366004613959565b612089565b348015610b6f57600080fd5b50610482610b7e3660046138ec565b6120bc565b348015610b8f57600080fd5b50610543610b9e366004613959565b60186020526000908152604090205460ff1681565b348015610bbf57600080fd5b5061056960085481565b348015610bd557600080fd5b50610482610be4366004613823565b61213d565b348015610bf557600080fd5b50610482610c04366004613a3d565b6121c6565b348015610c1557600080fd5b50610482610c24366004613a5f565b6121fb565b348015610c3557600080fd5b50610543610c44366004613959565b61227b565b348015610c5557600080fd5b506104826122ea565b348015610c6a57600080fd5b5061056960095481565b348015610c8057600080fd5b50610482610c8f366004613823565b612323565b348015610ca057600080fd5b50610482610caf3660046139bf565b612378565b348015610cc057600080fd5b506014546104e4906001600160a01b031681565b348015610ce057600080fd5b50610482610cef366004613823565b612415565b348015610d0057600080fd5b50610569610d0f366004613a7c565b6001600160a01b03918216600090815260176020908152604080832093909416825291909152205490565b348015610d4657600080fd5b50610482610d55366004613ac0565b61246a565b348015610d6657600080fd5b50610482610d75366004613a5f565b61254f565b348015610d8657600080fd5b50610569600e5481565b348015610d9c57600080fd5b50610482610dab366004613a5f565b6125c2565b348015610dbc57600080fd5b5061056960075481565b348015610dd257600080fd5b50610482610de1366004613959565b612639565b348015610df257600080fd5b506104826126d1565b348015610e0757600080fd5b5061056960215481565b348015610e1d57600080fd5b50610543610e2c366004613959565b60196020526000908152604090205460ff1681565b6000546001600160a01b03163314610e745760405162461bcd60e51b8152600401610e6b90613b85565b60405180910390fd5b828114610eb95760405162461bcd60e51b8152602060048201526013602482015272524543495049454e54533c3e414d4f554e545360681b6044820152606401610e6b565b6000805b8481101561103657838382818110610ed757610ed7613bba565b9050602002013582610ee99190613be6565b9150838382818110610efd57610efd613bba565b9050602002013560166000888885818110610f1a57610f1a613bba565b9050602002016020810190610f2f9190613959565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610f5e9190613be6565b9091555050601b546001600160a01b031663e30443bc878784818110610f8657610f86613bba565b9050602002016020810190610f9b9190613959565b610fc5898986818110610fb057610fb0613bba565b90506020020160208101906108cc9190613959565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561100b57600080fd5b505af115801561101f573d6000803e3d6000fd5b50505050808061102e90613bfe565b915050610ebd565b5080611041336108cc565b10156110825760405162461bcd60e51b815260206004820152601060248201526f125394d551919250d251539517d0905360821b6044820152606401610e6b565b33600090815260166020526040812080548392906110a1908490613c19565b9091555050601b546001600160a01b031663e30443bc336110c1336108cc565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561110757600080fd5b505af115801561111b573d6000803e3d6000fd5b505050505050505050565b6000546001600160a01b031633146111505760405162461bcd60e51b8152600401610e6b90613b85565b601b5460405162241fbd60e51b81526001600160a01b0390911690630483f7a0906111819085908590600401613c30565b600060405180830381600087803b15801561119b57600080fd5b505af11580156111af573d6000803e3d6000fd5b505050505050565b6000546001600160a01b031633146111e15760405162461bcd60e51b8152600401610e6b90613b85565b6006859055600784905560088390556009829055600a8190558082846112078789613be6565b6112119190613be6565b61121b9190613be6565b6112259190613be6565b600b555050505050565b60606004805461123e90613c4b565b80601f016020809104026020016040519081016040528092919081815260200182805461126a90613c4b565b80156112b75780601f1061128c576101008083540402835291602001916112b7565b820191906000526020600020905b81548152906001019060200180831161129a57829003601f168201915b5050505050905090565b60006112ce338484612738565b50600192915050565b60006112e484848461282c565b6001600160a01b038416600090815260176020908152604080832033845290915290205482111561134e5760405162461bcd60e51b81526020600482015260146024820152731514905394d1915497d15610d1515114d7d0905360621b6044820152606401610e6b565b6001600160a01b038416600090815260176020908152604080832033808552925290912054611389918691611384908690613c19565b612738565b5060019392505050565b601b546040516327ce014760e01b81526001600160a01b03838116600483015260009216906327ce0147906024015b602060405180830381865afa1580156113df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114039190613c86565b92915050565b3360008181526017602090815260408083206001600160a01b038716845290915281205490916112ce918590611384908690613be6565b6000546001600160a01b0316331461146a5760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b03166000908152601960205260409020805460ff19811660ff90911615179055565b601b546001600160a01b031663807ab4f7335b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526024016020604051808303816000875af11580156114ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115109190613c9f565b50565b6000546001600160a01b0316331461153d5760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146115925760405162461bcd60e51b8152600401610e6b90613b85565b6011805461ff00191661010085151502179055600e8290556115b5826001613be6565b600f556011805460ff19169115159190911790555050565b6000546001600160a01b031633146115f75760405162461bcd60e51b8152600401610e6b90613b85565b601c546001600160a01b03828116911614156116455760405162461bcd60e51b815260206004820152600d60248201526c1493d555115497d254d7d4d155609a1b6044820152606401610e6b565b601c546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601c80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156116d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fd9190613cbc565b6001600160a01b031663c9c6539630601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561175f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117839190613cbc565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156117d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f49190613cbc565b601d80546001600160a01b0319166001600160a01b039290921691909117905550565b6000546001600160a01b031633146118415760405162461bcd60e51b8152600401610e6b90613b85565b600981118015611852575061271181105b6118925760405162461bcd60e51b815260206004820152601160248201527004250535f3c31305f4f525f3e313030303607c1b6044820152606401610e6b565b601f819055611510612f3c565b6000546001600160a01b031633146118c95760405162461bcd60e51b8152600401610e6b90613b85565b6118d36000612f64565b565b806118df306108cc565b101561191e5760405162461bcd60e51b815260206004820152600e60248201526d414d4f554e545f544f4f5f42494760901b6044820152606401610e6b565b4761192882612fb4565b601354600090819061010090046001600160a01b03166119488447613c19565b604051600081818185875af1925050503d8060008114611984576040519150601f19603f3d011682016040523d82523d6000602084013e611989565b606091505b5091509150816119cc5760405162461bcd60e51b815260206004820152600e60248201526d11905253115117d513d7d4d1539160921b6044820152606401610e6b565b50505050565b6013546119ed9061010090046001600160a01b031682611ff4565b5050565b601b54604051630f6a21fd60e31b81526001600160a01b0383811660048301526000928392839283928392911690637b510fe89060240160a060405180830381865afa158015611a45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a699190613cd9565b939a9299509097509550909350915050565b6000546001600160a01b03163314611aa55760405162461bcd60e51b8152600401610e6b90613b85565b601380546001600160a01b0394851661010002610100600160a81b0319909116179055601480549284166001600160a01b031993841617905560158054919093169116179055565b6000546001600160a01b03163314611b175760405162461bcd60e51b8152600401610e6b90613b85565b601b546040516323849a5160e21b8152600481018490526001600160a01b03838116602483015290911690638e12694490604401611181565b60606005805461123e90613c4b565b6000546001600160a01b03163314611b895760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b038116611bd75760405162461bcd60e51b815260206004820152601560248201527405f6469766964656e64547261636b6572203d3d203605c1b6044820152606401610e6b565b601b546001600160a01b0382811691161415611c245760405162461bcd60e51b815260206004820152600c60248201526b53414d455f4144445245535360a01b6044820152606401610e6b565b601b80546001600160a01b0319166001600160a01b03831690811790915560405162241fbd60e51b8152630483f7a090611c65908490600190600401613c30565b600060405180830381600087803b158015611c7f57600080fd5b505af1158015611c93573d6000803e3d6000fd5b5050601b5460405162241fbd60e51b81526001600160a01b039091169250630483f7a09150611cc9903090600190600401613c30565b600060405180830381600087803b158015611ce357600080fd5b505af1158015611cf7573d6000803e3d6000fd5b5050601b546001600160a01b03169150630483f7a09050611d206000546001600160a01b031690565b60016040518363ffffffff1660e01b8152600401611d3f929190613c30565b600060405180830381600087803b158015611d5957600080fd5b505af1158015611d6d573d6000803e3d6000fd5b5050601b54601c5460405162241fbd60e51b81526001600160a01b039283169450630483f7a09350611da89290911690600190600401613c30565b600060405180830381600087803b158015611dc257600080fd5b505af1158015611dd6573d6000803e3d6000fd5b5050601b54601d5460405162241fbd60e51b81526001600160a01b039283169450630483f7a09350611e119290911690600190600401613c30565b600060405180830381600087803b158015611e2b57600080fd5b505af1158015611e3f573d6000803e3d6000fd5b50505050611e4e81600161213d565b611e59816001612415565b611510816001612323565b6000546001600160a01b03163314611e8e5760405162461bcd60e51b8152600401610e6b90613b85565b601d546001600160a01b0383811691161415611ee55760405162461bcd60e51b815260206004820152601660248201527521a0a72727aa2fa922a6a7ab22afa222ac2fa820a4a960511b6044820152606401610e6b565b6119ed82826130e4565b3360009081526017602090815260408083206001600160a01b0386168452909152812054821115611f585760405162461bcd60e51b815260206004820152601360248201527244454352454153455f42454c4f575f5a45524f60681b6044820152606401610e6b565b3360008181526017602090815260408083206001600160a01b03881684529091529020546112ce91908590611384908690613c19565b601b546040516329a0382f60e21b81526001600160a01b038381166004830152600092169063a680e0bc906024016113c2565b601b546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d240906024016113c2565b60006112ce33848461282c565b6000546001600160a01b0316331461202b5760405162461bcd60e51b8152600401610e6b90613b85565b60098111801561203c575061271181105b61207c5760405162461bcd60e51b815260206004820152601160248201527004250535f3c31305f4f525f3e313030303607c1b6044820152606401610e6b565b601e819055611510613220565b601b5460405163557ec23d60e11b81526001600160a01b038381166004830152600092169063aafd847a906024016113c2565b60135460405163a9059cbb60e01b81526101009091046001600160a01b0390811660048301526024820183905283169063a9059cbb906044016020604051808303816000875af1158015612114573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121389190613c9f565b505050565b6000546001600160a01b031633146121675760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b038216600081815260236020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6000546001600160a01b031633146121f05760405162461bcd60e51b8152600401610e6b90613b85565b600c91909155600d55565b6000546001600160a01b031633146122255760405162461bcd60e51b8152600401610e6b90613b85565b60118054821515620100000262ff0000199091161790556040517f5bb2376cf656637e70e36c01d3da25685bf3b353f18681b8a5e48c7b2effe1339061227090831515815260200190565b60405180910390a150565b601b5460405163c705c56960e01b81526001600160a01b038381166004830152600092169063c705c56990602401602060405180830381865afa1580156122c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114039190613c9f565b6000546001600160a01b031633146123145760405162461bcd60e51b8152600401610e6b90613b85565b6022805460ff19166001179055565b6000546001600160a01b0316331461234d5760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b03919091166000908152602560205260409020805460ff1916911515919091179055565b60135460405160009182916101009091046001600160a01b03169084908381818185875af1925050503d80600081146123cd576040519150601f19603f3d011682016040523d82523d6000602084013e6123d2565b606091505b5091509150816121385760405162461bcd60e51b815260206004820152600e60248201526d11905253115117d513d7d4d1539160921b6044820152606401610e6b565b6000546001600160a01b0316331461243f5760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b03919091166000908152602460205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146124945760405162461bcd60e51b8152600401610e6b90613b85565b60005b81518160ff1610156119ed5760196000838360ff16815181106124bc576124bc613bba565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060009054906101000a900460ff1660196000848460ff168151811061250b5761250b613bba565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061254781613d22565b915050612497565b6000546001600160a01b031633146125795760405162461bcd60e51b8152600401610e6b90613b85565b601180548215156101000261ff00199091161790556040517fb9bbb15e341600c8d067a0cadeba219905d5ba6d422b193c9c32265d26fc51c89061227090831515815260200190565b6000546001600160a01b031633146125ec5760405162461bcd60e51b8152600401610e6b90613b85565b6011805482151563010000000263ff000000199091161790556040517f341322866a3a2c26c27efa4c270c5ba86f6963257118897dd8196f224c002d439061227090831515815260200190565b6000546001600160a01b031633146126635760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b0381166126c85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e6b565b61151081612f64565b6011546301000000900460ff166127215760405162461bcd60e51b815260206004820152601460248201527310d3d35413d5539117d393d517d153905093115160621b6044820152606401610e6b565b601b546001600160a01b0316636de1a5a9336114a6565b6001600160a01b0383166127825760405162461bcd60e51b8152602060048201526011602482015270415050524f56455f46524f4d5f5a45524f60781b6044820152606401610e6b565b6001600160a01b0382166127ca5760405162461bcd60e51b815260206004820152600f60248201526e415050524f56455f544f5f5a45524f60881b6044820152606401610e6b565b6001600160a01b0383811660008181526017602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60225460ff168061284a57506000546001600160a01b038481169116145b8061286257506000546001600160a01b038381169116145b8061288557506001600160a01b0383166000908152601a602052604090205460ff165b806128a857506001600160a01b0382166000908152601a602052604090205460ff165b6128df5760405162461bcd60e51b81526020600482015260086024820152672737ba1027b832b760c11b6044820152606401610e6b565b6001600160a01b03831660009081526019602052604090205460ff16156129485760405162461bcd60e51b815260206004820152601b60248201527f4341542b3a2053656e64657220697320626c61636b6c697374656400000000006044820152606401610e6b565b6001600160a01b03821660009081526019602052604090205460ff16156129b15760405162461bcd60e51b815260206004820152601e60248201527f4341542b3a20526563697069656e7420697320626c61636b6c697374656400006044820152606401610e6b565b6001600160a01b038316612a135760405162461bcd60e51b8152602060048201526024808201527f4341542b3a207472616e736665722066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e6b565b6001600160a01b038216612a745760405162461bcd60e51b815260206004820152602260248201527f4341542b3a207472616e7366657220746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e6b565b60205481111580612a9d57506001600160a01b03831660009081526024602052604090205460ff165b612add5760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b6044820152606401610e6b565b6000546001600160a01b03848116911614801590612b0457506001600160a01b0382163014155b8015612b1e57506002546001600160a01b03838116911614155b8015612b385750601d546001600160a01b03838116911614155b8015612b5d57506001600160a01b0383166000908152601a602052604090205460ff16155b8015612b8257506001600160a01b0382166000908152601a602052604090205460ff16155b15612bd2576000612b92836108cc565b6001600160a01b03841660009081526025602052604090205490915060ff1680612bc75750602154612bc48383613be6565b11155b612bd057600080fd5b505b6001600160a01b03831660009081526016602052604090205481811015612c495760405162461bcd60e51b815260206004820152602560248201527f4341542b3a207472616e7366657220616d6f756e7420657863656564732062616044820152646c616e636560d81b6064820152608401610e6b565b6000612c54306108cc565b600e5460115491925047919083101590610100900460ff168015612c755750805b8015612c84575060135460ff16155b8015612ca957506001600160a01b03871660009081526018602052604090205460ff16155b8015612cc35750601c546001600160a01b03888116911614155b8015612cdd57506000546001600160a01b03888116911614155b8015612cf757506000546001600160a01b03878116911614155b15612d38576013805460ff1916600117905560115460ff16612d1b57600e54612d1d565b825b9250612d298383613248565b426010556013805460ff191690555b601d546000906001600160a01b0389811691161480612d645750601d546001600160a01b038881169116145b15612d6d575060015b6001600160a01b03881660009081526023602052604090205460ff1680612dac57506001600160a01b03871660009081526023602052604090205460ff165b80612db9575060135460ff165b80612dcd575060115462010000900460ff16155b15612dd6575060005b8015612e3357601d54600090612710906001600160a01b038b8116911614612e0057600d54612e04565b600c545b612e0e9089613d42565b612e189190613d61565b9050612e248188613c19565b9650612e318930836135d6565b505b612e3e8888886135d6565b601b546001600160a01b031663e30443bc89612e59816108cc565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612e9f57600080fd5b505af1158015612eb3573d6000803e3d6000fd5b5050601b546001600160a01b0316915063e30443bc905088612ed4816108cc565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612f1a57600080fd5b505af1158015612f2e573d6000803e3d6000fd5b505050505050505050505050565b612710601f54612f4b60125490565b612f559190613d42565b612f5f9190613d61565b602155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001811015612fc05750565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612ff557612ff5613bba565b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561304e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130729190613cbc565b8160018151811061308557613085613bba565b6001600160a01b039283166020918202929092010152601c546130ab9130911684612738565b601c5460405163791ac94760e01b81526001600160a01b039091169063791ac94790611181908590600090869030904290600401613d83565b6001600160a01b03821660009081526018602052604090205460ff16151581151514156131465760405162461bcd60e51b815260206004820152601060248201526f414d4d5f5345545f544f5f56414c554560801b6044820152606401610e6b565b6001600160a01b038281166000908152601860205260409020805460ff1916831515179055601b54161580159061317a5750805b156131e457601b5460405162241fbd60e51b81526001600160a01b0390911690630483f7a0906131b1908590600190600401613c30565b600060405180830381600087803b1580156131cb57600080fd5b505af11580156131df573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b612710601e5461322f60125490565b6132399190613d42565b6132439190613d61565b602055565b6001821015613255575050565b60135460009061010090046001600160a01b031661327457600061328e565b600b546006546132849085613d42565b61328e9190613d61565b9050600080601b60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061330a9190613c86565b11613316576000613330565b600b546008546133269086613d42565b6133309190613d61565b90506000600b54600a54866133459190613d42565b61334f9190613d61565b9050801561336f5760025461336f9030906001600160a01b0316836135d6565b6015546000906001600160a01b03166133895760006133a3565b600b546009546133999088613d42565b6133a39190613d61565b905080156133c3576015546133c39030906001600160a01b0316836135d6565b60008183856133d2888b613c19565b6133dc9190613c19565b6133e69190613c19565b6133f09190613c19565b905060006133ff600283613d61565b9050600061340d8284613c19565b905060008261341c888a613be6565b6134269190613be6565b90504761343282612fb4565b60008a61343f8347613c19565b6134499190613be6565b90506000836134588c84613d42565b6134629190613d61565b90506000846134718c85613d42565b61347b9190613d61565b905060008161348a8486613c19565b6134949190613c19565b905082156134dc576013546040516101009091046001600160a01b0316906108fc8515029085906000818181858888f193505050501580156134da573d6000803e3d6000fd5b505b6134e68782613677565b60408051898152602081018390529081018890527fb63dc6f50047533abe2d6adf180d38d524c8d98e55ad199aac8d6b9801bbe24a9060600160405180910390a181156135c557601b546040516000916001600160a01b03169084908381818185875af1925050503d806000811461357a576040519150601f19603f3d011682016040523d82523d6000602084013e61357f565b606091505b5050905080156135c357604080518e8152602081018590527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a15b505b505050505050505050505050505050565b6001600160a01b038316600090815260166020526040812080548392906135fe908490613c19565b90915550506001600160a01b0382166000908152601660205260408120805483929061362b908490613be6565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161281f91815260200190565b6001821015613684575050565b601c5461369c9030906001600160a01b031684612738565b601c5460145460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af115801561370c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906137319190613df4565b5050505050565b60008083601f84011261374a57600080fd5b50813567ffffffffffffffff81111561376257600080fd5b6020830191508360208260051b850101111561377d57600080fd5b9250929050565b6000806000806040858703121561379a57600080fd5b843567ffffffffffffffff808211156137b257600080fd5b6137be88838901613738565b909650945060208701359150808211156137d757600080fd5b506137e487828801613738565b95989497509550505050565b6001600160a01b038116811461151057600080fd5b8035613810816137f0565b919050565b801515811461151057600080fd5b6000806040838503121561383657600080fd5b8235613841816137f0565b9150602083013561385181613815565b809150509250929050565b600080600080600060a0868803121561387457600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600060208083528351808285015260005b818110156138c4578581018301518582016040015282016138a8565b818111156138d6576000604083870101525b50601f01601f1916929092016040019392505050565b600080604083850312156138ff57600080fd5b823561390a816137f0565b946020939093013593505050565b60008060006060848603121561392d57600080fd5b8335613938816137f0565b92506020840135613948816137f0565b929592945050506040919091013590565b60006020828403121561396b57600080fd5b8135613976816137f0565b9392505050565b60008060006060848603121561399257600080fd5b833561399d81613815565b92506020840135915060408401356139b481613815565b809150509250925092565b6000602082840312156139d157600080fd5b5035919050565b6000806000606084860312156139ed57600080fd5b83356139f8816137f0565b92506020840135613a08816137f0565b915060408401356139b4816137f0565b60008060408385031215613a2b57600080fd5b823591506020830135613851816137f0565b60008060408385031215613a5057600080fd5b50508035926020909101359150565b600060208284031215613a7157600080fd5b813561397681613815565b60008060408385031215613a8f57600080fd5b8235613a9a816137f0565b91506020830135613851816137f0565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215613ad357600080fd5b823567ffffffffffffffff80821115613aeb57600080fd5b818501915085601f830112613aff57600080fd5b813581811115613b1157613b11613aaa565b8060051b604051601f19603f83011681018181108582111715613b3657613b36613aaa565b604052918252848201925083810185019188831115613b5457600080fd5b938501935b82851015613b7957613b6a85613805565b84529385019392850192613b59565b98975050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115613bf957613bf9613bd0565b500190565b6000600019821415613c1257613c12613bd0565b5060010190565b600082821015613c2b57613c2b613bd0565b500390565b6001600160a01b039290921682521515602082015260400190565b600181811c90821680613c5f57607f821691505b60208210811415613c8057634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215613c9857600080fd5b5051919050565b600060208284031215613cb157600080fd5b815161397681613815565b600060208284031215613cce57600080fd5b8151613976816137f0565b600080600080600060a08688031215613cf157600080fd5b8551613cfc816137f0565b602087015160408801516060890151608090990151929a91995097965090945092505050565b600060ff821660ff811415613d3957613d39613bd0565b60010192915050565b6000816000190483118215151615613d5c57613d5c613bd0565b500290565b600082613d7e57634e487b7160e01b600052601260045260246000fd5b500490565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015613dd35784516001600160a01b031683529383019391830191600101613dae565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215613e0957600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212204fe2b9aa387f58a0208faff713a984feced8f5f513a57b22a16d0605246fc98d64736f6c634300080b00334f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572000000000000000000000000fcc257b471a66577f1d24a28574c25d2f79a016b000000000000000000000000fcc257b471a66577f1d24a28574c25d2f79a016b000000000000000000000000fcc257b471a66577f1d24a28574c25d2f79a016b

Deployed Bytecode

0x6080604052600436106104565760003560e01c80637b510fe81161023f578063c024666811610139578063dd62ed3e116100b6578063ebbf1ace1161007a578063ebbf1ace14610db0578063f2fde38b14610dc6578063f69e204614610de6578063f8b45b0514610dfb578063fe575a8714610e1157600080fd5b8063dd62ed3e14610cf4578063deba645014610d3a578063e01af92c14610d5a578063e2f4560514610d7a578063e4956ce214610d9057600080fd5b8063cd796638116100fd578063cd79663814610c5e578063d2fcc00114610c74578063d333555314610c94578063d469801614610cb4578063d4c989d314610cd457600080fd5b8063c024666814610bc9578063c647b20e14610be9578063c6af580b14610c09578063c705c56914610c29578063c9567bf914610c4957600080fd5b80639a7a23d6116101c7578063aa4e8c4a1161018b578063aa4e8c4a14610b23578063aafd847a14610b43578063b29a814014610b63578063b62496f514610b83578063b80b6e8914610bb357600080fd5b80639a7a23d614610a83578063a457c2d714610aa3578063a680e0bc14610ac3578063a8b9d24014610ae3578063a9059cbb14610b0357600080fd5b80638c0b5e221161020e5780638c0b5e22146109fa5780638da5cb5b14610a105780638e12694414610a2e57806395d89b4114610a4e57806398acb5d814610a6357600080fd5b80637b510fe81461095257806384449629146109a4578063870bd30b146109c45780638ab3016f146109e457600080fd5b8063463cbed311610350578063658c27a9116102d857806370a082311161029c57806370a08231146108b1578063715018a6146108e757806373aa911e146108fc578063744d15911461091c5780637609de981461093257600080fd5b8063658c27a9146107e057806365b8dbc01461081957806368c51e35146108395780636dd3d39f146108595780636ddd17131461089257600080fd5b80634fbee1931161031f5780634fbee1931461073b57806351a39a581461077457806357777d31146107945780635937ea6c146107aa5780635e843ad2146107c057600080fd5b8063463cbed3146106d057806346469afb146106f057806349bd5a5e146107065780634e71d92d1461072657600080fd5b80631bff7898116103de578063313ce567116103a2578063313ce5671461064357806337eb15281461065f578063395093511461067557806344a11e06146106955780634626402b146106ab57600080fd5b80631bff7898146105ac57806323b872dd146105c257806327ce0147146105e25780632c1f5216146106025780632f4504ae1461062257600080fd5b806306fdde031161042557806306fdde0314610501578063095ea7b3146105235780630dd87157146105535780631694505e1461057757806318160ddd1461059757600080fd5b806302af2095146104625780630483f7a01461048457806304a66b48146104a457806306ee6ad8146104c457600080fd5b3661045d57005b600080fd5b34801561046e57600080fd5b5061048261047d366004613784565b610e41565b005b34801561049057600080fd5b5061048261049f366004613823565b611126565b3480156104b057600080fd5b506104826104bf36600461385c565b6111b7565b3480156104d057600080fd5b506015546104e4906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561050d57600080fd5b5061051661122f565b6040516104f89190613897565b34801561052f57600080fd5b5061054361053e3660046138ec565b6112c1565b60405190151581526020016104f8565b34801561055f57600080fd5b5061056960105481565b6040519081526020016104f8565b34801561058357600080fd5b50601c546104e4906001600160a01b031681565b3480156105a357600080fd5b50601254610569565b3480156105b857600080fd5b50610569600d5481565b3480156105ce57600080fd5b506105436105dd366004613918565b6112d7565b3480156105ee57600080fd5b506105696105fd366004613959565b611393565b34801561060e57600080fd5b50601b546104e4906001600160a01b031681565b34801561062e57600080fd5b50601154610543906301000000900460ff1681565b34801561064f57600080fd5b50604051601281526020016104f8565b34801561066b57600080fd5b50610569600b5481565b34801561068157600080fd5b506105436106903660046138ec565b611409565b3480156106a157600080fd5b50610569600f5481565b3480156106b757600080fd5b506013546104e49061010090046001600160a01b031681565b3480156106dc57600080fd5b506104826106eb366004613959565b611440565b3480156106fc57600080fd5b50610569600c5481565b34801561071257600080fd5b50601d546104e4906001600160a01b031681565b34801561073257600080fd5b50610482611493565b34801561074757600080fd5b50610543610756366004613959565b6001600160a01b031660009081526023602052604090205460ff1690565b34801561078057600080fd5b5061048261078f366004613823565b611513565b3480156107a057600080fd5b50610569601e5481565b3480156107b657600080fd5b5061056960065481565b3480156107cc57600080fd5b506104826107db36600461397d565b611568565b3480156107ec57600080fd5b506105436107fb366004613959565b6001600160a01b031660009081526024602052604090205460ff1690565b34801561082557600080fd5b50610482610834366004613959565b6115cd565b34801561084557600080fd5b506104826108543660046139bf565b611817565b34801561086557600080fd5b50610543610874366004613959565b6001600160a01b031660009081526025602052604090205460ff1690565b34801561089e57600080fd5b5060115461054390610100900460ff1681565b3480156108bd57600080fd5b506105696108cc366004613959565b6001600160a01b031660009081526016602052604090205490565b3480156108f357600080fd5b5061048261189f565b34801561090857600080fd5b506104826109173660046139bf565b6118d5565b34801561092857600080fd5b50610569601f5481565b34801561093e57600080fd5b5061048261094d3660046139bf565b6119d2565b34801561095e57600080fd5b5061097261096d366004613959565b6119f1565b604080516001600160a01b0390961686526020860194909452928401919091526060830152608082015260a0016104f8565b3480156109b057600080fd5b506104826109bf3660046139d8565b611a7b565b3480156109d057600080fd5b506011546105439062010000900460ff1681565b3480156109f057600080fd5b50610569600a5481565b348015610a0657600080fd5b5061056960205481565b348015610a1c57600080fd5b506000546001600160a01b03166104e4565b348015610a3a57600080fd5b50610482610a49366004613a18565b611aed565b348015610a5a57600080fd5b50610516611b50565b348015610a6f57600080fd5b50610482610a7e366004613959565b611b5f565b348015610a8f57600080fd5b50610482610a9e366004613823565b611e64565b348015610aaf57600080fd5b50610543610abe3660046138ec565b611eef565b348015610acf57600080fd5b50610569610ade366004613959565b611f8e565b348015610aef57600080fd5b50610569610afe366004613959565b611fc1565b348015610b0f57600080fd5b50610543610b1e3660046138ec565b611ff4565b348015610b2f57600080fd5b50610482610b3e3660046139bf565b612001565b348015610b4f57600080fd5b50610569610b5e366004613959565b612089565b348015610b6f57600080fd5b50610482610b7e3660046138ec565b6120bc565b348015610b8f57600080fd5b50610543610b9e366004613959565b60186020526000908152604090205460ff1681565b348015610bbf57600080fd5b5061056960085481565b348015610bd557600080fd5b50610482610be4366004613823565b61213d565b348015610bf557600080fd5b50610482610c04366004613a3d565b6121c6565b348015610c1557600080fd5b50610482610c24366004613a5f565b6121fb565b348015610c3557600080fd5b50610543610c44366004613959565b61227b565b348015610c5557600080fd5b506104826122ea565b348015610c6a57600080fd5b5061056960095481565b348015610c8057600080fd5b50610482610c8f366004613823565b612323565b348015610ca057600080fd5b50610482610caf3660046139bf565b612378565b348015610cc057600080fd5b506014546104e4906001600160a01b031681565b348015610ce057600080fd5b50610482610cef366004613823565b612415565b348015610d0057600080fd5b50610569610d0f366004613a7c565b6001600160a01b03918216600090815260176020908152604080832093909416825291909152205490565b348015610d4657600080fd5b50610482610d55366004613ac0565b61246a565b348015610d6657600080fd5b50610482610d75366004613a5f565b61254f565b348015610d8657600080fd5b50610569600e5481565b348015610d9c57600080fd5b50610482610dab366004613a5f565b6125c2565b348015610dbc57600080fd5b5061056960075481565b348015610dd257600080fd5b50610482610de1366004613959565b612639565b348015610df257600080fd5b506104826126d1565b348015610e0757600080fd5b5061056960215481565b348015610e1d57600080fd5b50610543610e2c366004613959565b60196020526000908152604090205460ff1681565b6000546001600160a01b03163314610e745760405162461bcd60e51b8152600401610e6b90613b85565b60405180910390fd5b828114610eb95760405162461bcd60e51b8152602060048201526013602482015272524543495049454e54533c3e414d4f554e545360681b6044820152606401610e6b565b6000805b8481101561103657838382818110610ed757610ed7613bba565b9050602002013582610ee99190613be6565b9150838382818110610efd57610efd613bba565b9050602002013560166000888885818110610f1a57610f1a613bba565b9050602002016020810190610f2f9190613959565b6001600160a01b03166001600160a01b031681526020019081526020016000206000828254610f5e9190613be6565b9091555050601b546001600160a01b031663e30443bc878784818110610f8657610f86613bba565b9050602002016020810190610f9b9190613959565b610fc5898986818110610fb057610fb0613bba565b90506020020160208101906108cc9190613959565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561100b57600080fd5b505af115801561101f573d6000803e3d6000fd5b50505050808061102e90613bfe565b915050610ebd565b5080611041336108cc565b10156110825760405162461bcd60e51b815260206004820152601060248201526f125394d551919250d251539517d0905360821b6044820152606401610e6b565b33600090815260166020526040812080548392906110a1908490613c19565b9091555050601b546001600160a01b031663e30443bc336110c1336108cc565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b15801561110757600080fd5b505af115801561111b573d6000803e3d6000fd5b505050505050505050565b6000546001600160a01b031633146111505760405162461bcd60e51b8152600401610e6b90613b85565b601b5460405162241fbd60e51b81526001600160a01b0390911690630483f7a0906111819085908590600401613c30565b600060405180830381600087803b15801561119b57600080fd5b505af11580156111af573d6000803e3d6000fd5b505050505050565b6000546001600160a01b031633146111e15760405162461bcd60e51b8152600401610e6b90613b85565b6006859055600784905560088390556009829055600a8190558082846112078789613be6565b6112119190613be6565b61121b9190613be6565b6112259190613be6565b600b555050505050565b60606004805461123e90613c4b565b80601f016020809104026020016040519081016040528092919081815260200182805461126a90613c4b565b80156112b75780601f1061128c576101008083540402835291602001916112b7565b820191906000526020600020905b81548152906001019060200180831161129a57829003601f168201915b5050505050905090565b60006112ce338484612738565b50600192915050565b60006112e484848461282c565b6001600160a01b038416600090815260176020908152604080832033845290915290205482111561134e5760405162461bcd60e51b81526020600482015260146024820152731514905394d1915497d15610d1515114d7d0905360621b6044820152606401610e6b565b6001600160a01b038416600090815260176020908152604080832033808552925290912054611389918691611384908690613c19565b612738565b5060019392505050565b601b546040516327ce014760e01b81526001600160a01b03838116600483015260009216906327ce0147906024015b602060405180830381865afa1580156113df573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114039190613c86565b92915050565b3360008181526017602090815260408083206001600160a01b038716845290915281205490916112ce918590611384908690613be6565b6000546001600160a01b0316331461146a5760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b03166000908152601960205260409020805460ff19811660ff90911615179055565b601b546001600160a01b031663807ab4f7335b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201526024016020604051808303816000875af11580156114ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115109190613c9f565b50565b6000546001600160a01b0316331461153d5760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b03919091166000908152601a60205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146115925760405162461bcd60e51b8152600401610e6b90613b85565b6011805461ff00191661010085151502179055600e8290556115b5826001613be6565b600f556011805460ff19169115159190911790555050565b6000546001600160a01b031633146115f75760405162461bcd60e51b8152600401610e6b90613b85565b601c546001600160a01b03828116911614156116455760405162461bcd60e51b815260206004820152600d60248201526c1493d555115497d254d7d4d155609a1b6044820152606401610e6b565b601c546040516001600160a01b03918216918316907f8fc842bbd331dfa973645f4ed48b11683d501ebf1352708d77a5da2ab49a576e90600090a3601c80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa1580156116d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116fd9190613cbc565b6001600160a01b031663c9c6539630601c60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801561175f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117839190613cbc565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af11580156117d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117f49190613cbc565b601d80546001600160a01b0319166001600160a01b039290921691909117905550565b6000546001600160a01b031633146118415760405162461bcd60e51b8152600401610e6b90613b85565b600981118015611852575061271181105b6118925760405162461bcd60e51b815260206004820152601160248201527004250535f3c31305f4f525f3e313030303607c1b6044820152606401610e6b565b601f819055611510612f3c565b6000546001600160a01b031633146118c95760405162461bcd60e51b8152600401610e6b90613b85565b6118d36000612f64565b565b806118df306108cc565b101561191e5760405162461bcd60e51b815260206004820152600e60248201526d414d4f554e545f544f4f5f42494760901b6044820152606401610e6b565b4761192882612fb4565b601354600090819061010090046001600160a01b03166119488447613c19565b604051600081818185875af1925050503d8060008114611984576040519150601f19603f3d011682016040523d82523d6000602084013e611989565b606091505b5091509150816119cc5760405162461bcd60e51b815260206004820152600e60248201526d11905253115117d513d7d4d1539160921b6044820152606401610e6b565b50505050565b6013546119ed9061010090046001600160a01b031682611ff4565b5050565b601b54604051630f6a21fd60e31b81526001600160a01b0383811660048301526000928392839283928392911690637b510fe89060240160a060405180830381865afa158015611a45573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a699190613cd9565b939a9299509097509550909350915050565b6000546001600160a01b03163314611aa55760405162461bcd60e51b8152600401610e6b90613b85565b601380546001600160a01b0394851661010002610100600160a81b0319909116179055601480549284166001600160a01b031993841617905560158054919093169116179055565b6000546001600160a01b03163314611b175760405162461bcd60e51b8152600401610e6b90613b85565b601b546040516323849a5160e21b8152600481018490526001600160a01b03838116602483015290911690638e12694490604401611181565b60606005805461123e90613c4b565b6000546001600160a01b03163314611b895760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b038116611bd75760405162461bcd60e51b815260206004820152601560248201527405f6469766964656e64547261636b6572203d3d203605c1b6044820152606401610e6b565b601b546001600160a01b0382811691161415611c245760405162461bcd60e51b815260206004820152600c60248201526b53414d455f4144445245535360a01b6044820152606401610e6b565b601b80546001600160a01b0319166001600160a01b03831690811790915560405162241fbd60e51b8152630483f7a090611c65908490600190600401613c30565b600060405180830381600087803b158015611c7f57600080fd5b505af1158015611c93573d6000803e3d6000fd5b5050601b5460405162241fbd60e51b81526001600160a01b039091169250630483f7a09150611cc9903090600190600401613c30565b600060405180830381600087803b158015611ce357600080fd5b505af1158015611cf7573d6000803e3d6000fd5b5050601b546001600160a01b03169150630483f7a09050611d206000546001600160a01b031690565b60016040518363ffffffff1660e01b8152600401611d3f929190613c30565b600060405180830381600087803b158015611d5957600080fd5b505af1158015611d6d573d6000803e3d6000fd5b5050601b54601c5460405162241fbd60e51b81526001600160a01b039283169450630483f7a09350611da89290911690600190600401613c30565b600060405180830381600087803b158015611dc257600080fd5b505af1158015611dd6573d6000803e3d6000fd5b5050601b54601d5460405162241fbd60e51b81526001600160a01b039283169450630483f7a09350611e119290911690600190600401613c30565b600060405180830381600087803b158015611e2b57600080fd5b505af1158015611e3f573d6000803e3d6000fd5b50505050611e4e81600161213d565b611e59816001612415565b611510816001612323565b6000546001600160a01b03163314611e8e5760405162461bcd60e51b8152600401610e6b90613b85565b601d546001600160a01b0383811691161415611ee55760405162461bcd60e51b815260206004820152601660248201527521a0a72727aa2fa922a6a7ab22afa222ac2fa820a4a960511b6044820152606401610e6b565b6119ed82826130e4565b3360009081526017602090815260408083206001600160a01b0386168452909152812054821115611f585760405162461bcd60e51b815260206004820152601360248201527244454352454153455f42454c4f575f5a45524f60681b6044820152606401610e6b565b3360008181526017602090815260408083206001600160a01b03881684529091529020546112ce91908590611384908690613c19565b601b546040516329a0382f60e21b81526001600160a01b038381166004830152600092169063a680e0bc906024016113c2565b601b546040516302a2e74960e61b81526001600160a01b038381166004830152600092169063a8b9d240906024016113c2565b60006112ce33848461282c565b6000546001600160a01b0316331461202b5760405162461bcd60e51b8152600401610e6b90613b85565b60098111801561203c575061271181105b61207c5760405162461bcd60e51b815260206004820152601160248201527004250535f3c31305f4f525f3e313030303607c1b6044820152606401610e6b565b601e819055611510613220565b601b5460405163557ec23d60e11b81526001600160a01b038381166004830152600092169063aafd847a906024016113c2565b60135460405163a9059cbb60e01b81526101009091046001600160a01b0390811660048301526024820183905283169063a9059cbb906044016020604051808303816000875af1158015612114573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906121389190613c9f565b505050565b6000546001600160a01b031633146121675760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b038216600081815260236020908152604091829020805460ff191685151590811790915591519182527f9d8f7706ea1113d1a167b526eca956215946dd36cc7df39eb16180222d8b5df7910160405180910390a25050565b6000546001600160a01b031633146121f05760405162461bcd60e51b8152600401610e6b90613b85565b600c91909155600d55565b6000546001600160a01b031633146122255760405162461bcd60e51b8152600401610e6b90613b85565b60118054821515620100000262ff0000199091161790556040517f5bb2376cf656637e70e36c01d3da25685bf3b353f18681b8a5e48c7b2effe1339061227090831515815260200190565b60405180910390a150565b601b5460405163c705c56960e01b81526001600160a01b038381166004830152600092169063c705c56990602401602060405180830381865afa1580156122c6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114039190613c9f565b6000546001600160a01b031633146123145760405162461bcd60e51b8152600401610e6b90613b85565b6022805460ff19166001179055565b6000546001600160a01b0316331461234d5760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b03919091166000908152602560205260409020805460ff1916911515919091179055565b60135460405160009182916101009091046001600160a01b03169084908381818185875af1925050503d80600081146123cd576040519150601f19603f3d011682016040523d82523d6000602084013e6123d2565b606091505b5091509150816121385760405162461bcd60e51b815260206004820152600e60248201526d11905253115117d513d7d4d1539160921b6044820152606401610e6b565b6000546001600160a01b0316331461243f5760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b03919091166000908152602460205260409020805460ff1916911515919091179055565b6000546001600160a01b031633146124945760405162461bcd60e51b8152600401610e6b90613b85565b60005b81518160ff1610156119ed5760196000838360ff16815181106124bc576124bc613bba565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060009054906101000a900460ff1660196000848460ff168151811061250b5761250b613bba565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169115159190911790558061254781613d22565b915050612497565b6000546001600160a01b031633146125795760405162461bcd60e51b8152600401610e6b90613b85565b601180548215156101000261ff00199091161790556040517fb9bbb15e341600c8d067a0cadeba219905d5ba6d422b193c9c32265d26fc51c89061227090831515815260200190565b6000546001600160a01b031633146125ec5760405162461bcd60e51b8152600401610e6b90613b85565b6011805482151563010000000263ff000000199091161790556040517f341322866a3a2c26c27efa4c270c5ba86f6963257118897dd8196f224c002d439061227090831515815260200190565b6000546001600160a01b031633146126635760405162461bcd60e51b8152600401610e6b90613b85565b6001600160a01b0381166126c85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610e6b565b61151081612f64565b6011546301000000900460ff166127215760405162461bcd60e51b815260206004820152601460248201527310d3d35413d5539117d393d517d153905093115160621b6044820152606401610e6b565b601b546001600160a01b0316636de1a5a9336114a6565b6001600160a01b0383166127825760405162461bcd60e51b8152602060048201526011602482015270415050524f56455f46524f4d5f5a45524f60781b6044820152606401610e6b565b6001600160a01b0382166127ca5760405162461bcd60e51b815260206004820152600f60248201526e415050524f56455f544f5f5a45524f60881b6044820152606401610e6b565b6001600160a01b0383811660008181526017602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b60225460ff168061284a57506000546001600160a01b038481169116145b8061286257506000546001600160a01b038381169116145b8061288557506001600160a01b0383166000908152601a602052604090205460ff165b806128a857506001600160a01b0382166000908152601a602052604090205460ff165b6128df5760405162461bcd60e51b81526020600482015260086024820152672737ba1027b832b760c11b6044820152606401610e6b565b6001600160a01b03831660009081526019602052604090205460ff16156129485760405162461bcd60e51b815260206004820152601b60248201527f4341542b3a2053656e64657220697320626c61636b6c697374656400000000006044820152606401610e6b565b6001600160a01b03821660009081526019602052604090205460ff16156129b15760405162461bcd60e51b815260206004820152601e60248201527f4341542b3a20526563697069656e7420697320626c61636b6c697374656400006044820152606401610e6b565b6001600160a01b038316612a135760405162461bcd60e51b8152602060048201526024808201527f4341542b3a207472616e736665722066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e6b565b6001600160a01b038216612a745760405162461bcd60e51b815260206004820152602260248201527f4341542b3a207472616e7366657220746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e6b565b60205481111580612a9d57506001600160a01b03831660009081526024602052604090205460ff165b612add5760405162461bcd60e51b8152602060048201526011602482015270151608131a5b5a5d08115e18d959591959607a1b6044820152606401610e6b565b6000546001600160a01b03848116911614801590612b0457506001600160a01b0382163014155b8015612b1e57506002546001600160a01b03838116911614155b8015612b385750601d546001600160a01b03838116911614155b8015612b5d57506001600160a01b0383166000908152601a602052604090205460ff16155b8015612b8257506001600160a01b0382166000908152601a602052604090205460ff16155b15612bd2576000612b92836108cc565b6001600160a01b03841660009081526025602052604090205490915060ff1680612bc75750602154612bc48383613be6565b11155b612bd057600080fd5b505b6001600160a01b03831660009081526016602052604090205481811015612c495760405162461bcd60e51b815260206004820152602560248201527f4341542b3a207472616e7366657220616d6f756e7420657863656564732062616044820152646c616e636560d81b6064820152608401610e6b565b6000612c54306108cc565b600e5460115491925047919083101590610100900460ff168015612c755750805b8015612c84575060135460ff16155b8015612ca957506001600160a01b03871660009081526018602052604090205460ff16155b8015612cc35750601c546001600160a01b03888116911614155b8015612cdd57506000546001600160a01b03888116911614155b8015612cf757506000546001600160a01b03878116911614155b15612d38576013805460ff1916600117905560115460ff16612d1b57600e54612d1d565b825b9250612d298383613248565b426010556013805460ff191690555b601d546000906001600160a01b0389811691161480612d645750601d546001600160a01b038881169116145b15612d6d575060015b6001600160a01b03881660009081526023602052604090205460ff1680612dac57506001600160a01b03871660009081526023602052604090205460ff165b80612db9575060135460ff165b80612dcd575060115462010000900460ff16155b15612dd6575060005b8015612e3357601d54600090612710906001600160a01b038b8116911614612e0057600d54612e04565b600c545b612e0e9089613d42565b612e189190613d61565b9050612e248188613c19565b9650612e318930836135d6565b505b612e3e8888886135d6565b601b546001600160a01b031663e30443bc89612e59816108cc565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612e9f57600080fd5b505af1158015612eb3573d6000803e3d6000fd5b5050601b546001600160a01b0316915063e30443bc905088612ed4816108cc565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401600060405180830381600087803b158015612f1a57600080fd5b505af1158015612f2e573d6000803e3d6000fd5b505050505050505050505050565b612710601f54612f4b60125490565b612f559190613d42565b612f5f9190613d61565b602155565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001811015612fc05750565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110612ff557612ff5613bba565b6001600160a01b03928316602091820292909201810191909152601c54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa15801561304e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130729190613cbc565b8160018151811061308557613085613bba565b6001600160a01b039283166020918202929092010152601c546130ab9130911684612738565b601c5460405163791ac94760e01b81526001600160a01b039091169063791ac94790611181908590600090869030904290600401613d83565b6001600160a01b03821660009081526018602052604090205460ff16151581151514156131465760405162461bcd60e51b815260206004820152601060248201526f414d4d5f5345545f544f5f56414c554560801b6044820152606401610e6b565b6001600160a01b038281166000908152601860205260409020805460ff1916831515179055601b54161580159061317a5750805b156131e457601b5460405162241fbd60e51b81526001600160a01b0390911690630483f7a0906131b1908590600190600401613c30565b600060405180830381600087803b1580156131cb57600080fd5b505af11580156131df573d6000803e3d6000fd5b505050505b604051811515906001600160a01b038416907fffa9187bf1f18bf477bd0ea1bcbb64e93b6a98132473929edfce215cd9b16fab90600090a35050565b612710601e5461322f60125490565b6132399190613d42565b6132439190613d61565b602055565b6001821015613255575050565b60135460009061010090046001600160a01b031661327457600061328e565b600b546006546132849085613d42565b61328e9190613d61565b9050600080601b60009054906101000a90046001600160a01b03166001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156132e6573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061330a9190613c86565b11613316576000613330565b600b546008546133269086613d42565b6133309190613d61565b90506000600b54600a54866133459190613d42565b61334f9190613d61565b9050801561336f5760025461336f9030906001600160a01b0316836135d6565b6015546000906001600160a01b03166133895760006133a3565b600b546009546133999088613d42565b6133a39190613d61565b905080156133c3576015546133c39030906001600160a01b0316836135d6565b60008183856133d2888b613c19565b6133dc9190613c19565b6133e69190613c19565b6133f09190613c19565b905060006133ff600283613d61565b9050600061340d8284613c19565b905060008261341c888a613be6565b6134269190613be6565b90504761343282612fb4565b60008a61343f8347613c19565b6134499190613be6565b90506000836134588c84613d42565b6134629190613d61565b90506000846134718c85613d42565b61347b9190613d61565b905060008161348a8486613c19565b6134949190613c19565b905082156134dc576013546040516101009091046001600160a01b0316906108fc8515029085906000818181858888f193505050501580156134da573d6000803e3d6000fd5b505b6134e68782613677565b60408051898152602081018390529081018890527fb63dc6f50047533abe2d6adf180d38d524c8d98e55ad199aac8d6b9801bbe24a9060600160405180910390a181156135c557601b546040516000916001600160a01b03169084908381818185875af1925050503d806000811461357a576040519150601f19603f3d011682016040523d82523d6000602084013e61357f565b606091505b5050905080156135c357604080518e8152602081018590527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3910160405180910390a15b505b505050505050505050505050505050565b6001600160a01b038316600090815260166020526040812080548392906135fe908490613c19565b90915550506001600160a01b0382166000908152601660205260408120805483929061362b908490613be6565b92505081905550816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161281f91815260200190565b6001821015613684575050565b601c5461369c9030906001600160a01b031684612738565b601c5460145460405163f305d71960e01b81523060048201526024810185905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af115801561370c573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906137319190613df4565b5050505050565b60008083601f84011261374a57600080fd5b50813567ffffffffffffffff81111561376257600080fd5b6020830191508360208260051b850101111561377d57600080fd5b9250929050565b6000806000806040858703121561379a57600080fd5b843567ffffffffffffffff808211156137b257600080fd5b6137be88838901613738565b909650945060208701359150808211156137d757600080fd5b506137e487828801613738565b95989497509550505050565b6001600160a01b038116811461151057600080fd5b8035613810816137f0565b919050565b801515811461151057600080fd5b6000806040838503121561383657600080fd5b8235613841816137f0565b9150602083013561385181613815565b809150509250929050565b600080600080600060a0868803121561387457600080fd5b505083359560208501359550604085013594606081013594506080013592509050565b600060208083528351808285015260005b818110156138c4578581018301518582016040015282016138a8565b818111156138d6576000604083870101525b50601f01601f1916929092016040019392505050565b600080604083850312156138ff57600080fd5b823561390a816137f0565b946020939093013593505050565b60008060006060848603121561392d57600080fd5b8335613938816137f0565b92506020840135613948816137f0565b929592945050506040919091013590565b60006020828403121561396b57600080fd5b8135613976816137f0565b9392505050565b60008060006060848603121561399257600080fd5b833561399d81613815565b92506020840135915060408401356139b481613815565b809150509250925092565b6000602082840312156139d157600080fd5b5035919050565b6000806000606084860312156139ed57600080fd5b83356139f8816137f0565b92506020840135613a08816137f0565b915060408401356139b4816137f0565b60008060408385031215613a2b57600080fd5b823591506020830135613851816137f0565b60008060408385031215613a5057600080fd5b50508035926020909101359150565b600060208284031215613a7157600080fd5b813561397681613815565b60008060408385031215613a8f57600080fd5b8235613a9a816137f0565b91506020830135613851816137f0565b634e487b7160e01b600052604160045260246000fd5b60006020808385031215613ad357600080fd5b823567ffffffffffffffff80821115613aeb57600080fd5b818501915085601f830112613aff57600080fd5b813581811115613b1157613b11613aaa565b8060051b604051601f19603f83011681018181108582111715613b3657613b36613aaa565b604052918252848201925083810185019188831115613b5457600080fd5b938501935b82851015613b7957613b6a85613805565b84529385019392850192613b59565b98975050505050505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115613bf957613bf9613bd0565b500190565b6000600019821415613c1257613c12613bd0565b5060010190565b600082821015613c2b57613c2b613bd0565b500390565b6001600160a01b039290921682521515602082015260400190565b600181811c90821680613c5f57607f821691505b60208210811415613c8057634e487b7160e01b600052602260045260246000fd5b50919050565b600060208284031215613c9857600080fd5b5051919050565b600060208284031215613cb157600080fd5b815161397681613815565b600060208284031215613cce57600080fd5b8151613976816137f0565b600080600080600060a08688031215613cf157600080fd5b8551613cfc816137f0565b602087015160408801516060890151608090990151929a91995097965090945092505050565b600060ff821660ff811415613d3957613d39613bd0565b60010192915050565b6000816000190483118215151615613d5c57613d5c613bd0565b500290565b600082613d7e57634e487b7160e01b600052601260045260246000fd5b500490565b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b81811015613dd35784516001600160a01b031683529383019391830191600101613dae565b50506001600160a01b03969096166060850152505050608001529392505050565b600080600060608486031215613e0957600080fd5b835192506020840151915060408401519050925092509256fea26469706673582212204fe2b9aa387f58a0208faff713a984feced8f5f513a57b22a16d0605246fc98d64736f6c634300080b0033

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

000000000000000000000000fcc257b471a66577f1d24a28574c25d2f79a016b000000000000000000000000fcc257b471a66577f1d24a28574c25d2f79a016b000000000000000000000000fcc257b471a66577f1d24a28574c25d2f79a016b

-----Decoded View---------------
Arg [0] : _treasuryWallet (address): 0xfcc257B471A66577f1D24A28574C25d2F79A016B
Arg [1] : _liquidityWallet (address): 0xfcc257B471A66577f1D24A28574C25d2F79A016B
Arg [2] : _stakingWallet (address): 0xfcc257B471A66577f1D24A28574C25d2F79A016B

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000fcc257b471a66577f1d24a28574c25d2f79a016b
Arg [1] : 000000000000000000000000fcc257b471a66577f1d24a28574c25d2f79a016b
Arg [2] : 000000000000000000000000fcc257b471a66577f1d24a28574c25d2f79a016b


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.