ETH Price: $3,337.46 (-3.46%)
 

Overview

Max Total Supply

1,000,000,000 DADBOD

Holders

189

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
7,052,271.177567947471300029 DADBOD

Value
$0.00
0x405b7edc7de696b0b92e8d02426d0073e79f9484
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
DADBODToken

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
cancun EvmVersion, MIT license
File 1 of 14 : DADBODToken.sol
/*
  Telegram https://t.me/dadbodeth
  Twitter https://x.com/TheDadbodtoken
  Website www.dadbodtoken.com
*/
 
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

import {Ownable} from "@openzeppelin/contracts/access/Ownable.sol";
import {ERC20, ERC20Base} from "../libraries/ERC20Base.sol";
import {TaxableToken, TaxDistributor} from "../libraries/TaxableToken.sol";

/**
 * @dev ERC20Token implementation with Tax capabilities
 */
contract DADBODToken is ERC20Base, Ownable, TaxableToken {
    constructor(
        uint256 initialSupply_,
        address feeReceiver_,
        address swapRouter_,
        FeeConfiguration memory feeConfiguration_,
        address[] memory collectors_,
        uint256[] memory shares_
    )
        payable
        ERC20Base("DADBOD", "DADBOD", 18)
        Ownable(_msgSender())
        TaxableToken(true, initialSupply_ / 10000, swapRouter_, feeConfiguration_)
        TaxDistributor(collectors_, shares_)
    {
        require(initialSupply_ > 0, "Initial supply cannot be zero");
        payable(feeReceiver_).transfer(msg.value);
        _mint(_msgSender(), initialSupply_);
    }

    function _update(address from, address to, uint256 amount) internal virtual override(ERC20, TaxableToken) {
        super._update(from, to, amount);
    }

    /**
     * @dev Enable/Disable autoProcessFees on transfer
     * only callable by `owner()`
     */
    function setAutoprocessFees(bool autoProcess) external override onlyOwner {
        require(autoProcessFees != autoProcess, "Already set");
        autoProcessFees = autoProcess;
    }

    /**
     * @dev add a fee collector
     * only callable by `owner()`
     */
    function addFeeCollector(address account, uint256 share) external override onlyOwner {
        _addFeeCollector(account, share);
    }

    /**
     * @dev add/remove a LP
     * only callable by `owner()`
     */
    function setIsLpPool(address pairAddress, bool isLp) external override onlyOwner {
        _setIsLpPool(pairAddress, isLp);
    }

    /**
     * @dev add/remove an address to the tax exclusion list
     * only callable by `owner()`
     */
    function setIsExcludedFromFees(address account, bool excluded) external override onlyOwner {
        _setIsExcludedFromFees(account, excluded);
    }

    /**
     * @dev manually distribute fees to collectors
     * only callable by `owner()`
     */
    function distributeFees(uint256 amount, bool inToken) external override onlyOwner {
        if (inToken) {
            require(balanceOf(address(this)) >= amount, "Not enough balance");
        } else {
            require(address(this).balance >= amount, "Not enough balance");
        }
        _distributeFees(amount, inToken);
    }

    /**
     * @dev process fees
     * only callable by `owner()`
     */
    function processFees(uint256 amount, uint256 minAmountOut) external override onlyOwner {
        require(amount <= balanceOf(address(this)), "Amount too high");
        _processFees(amount, minAmountOut);
    }

    /**
     * @dev remove a fee collector
     * only callable by `owner()`
     */
    function removeFeeCollector(address account) external override onlyOwner {
        _removeFeeCollector(account);
    }

    /**
     * @dev set the liquidity owner
     * only callable by `owner()`
     */
    function setLiquidityOwner(address newOwner) external override onlyOwner {
        liquidityOwner = newOwner;
    }

    /**
     * @dev set the number of tokens to swap
     * only callable by `owner()`
     */
    function setNumTokensToSwap(uint256 amount) external override onlyOwner {
        numTokensToSwap = amount;
    }

    /**
     * @dev update a fee collector share
     * only callable by `owner()`
     */
    function updateFeeCollectorShare(address account, uint256 share) external override onlyOwner {
        _updateFeeCollectorShare(account, share);
    }

    /**
     * @dev update the fee configurations
     * only callable by `owner()`
     */
    function setFeeConfiguration(FeeConfiguration calldata configuration) external override onlyOwner {
        _setFeeConfiguration(configuration);
    }

    /**
     * @dev update the swap router
     * only callable by `owner()`
     */
    function setSwapRouter(address newRouter) external override onlyOwner {
        _setSwapRouter(newRouter);
    }
}
// 0x312f313732363632392f4f2f54

File 2 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "../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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _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);
    }
}

File 3 of 14 : draft-IERC6093.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

File 4 of 14 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;

import {IERC20} from "./IERC20.sol";
import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";
import {Context} from "../../utils/Context.sol";
import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 default value returned by this function, unless
     * it's 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 returns (uint8) {
        return 18;
    }

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

File 5 of 14 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @dev Returns the value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

File 6 of 14 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

import {IERC20} from "../IERC20.sol";

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

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

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

File 7 of 14 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

File 8 of 14 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.20;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```solidity
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position is the index of the value in the `values` array plus 1.
        // Position 0 is used to mean a value is not in the set.
        mapping(bytes32 value => uint256) _positions;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._positions[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We cache the value's position to prevent multiple reads from the same storage slot
        uint256 position = set._positions[value];

        if (position != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 valueIndex = position - 1;
            uint256 lastIndex = set._values.length - 1;

            if (valueIndex != lastIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the lastValue to the index where the value to delete is
                set._values[valueIndex] = lastValue;
                // Update the tracked position of the lastValue (that was just moved)
                set._positions[lastValue] = position;
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the tracked position for the deleted slot
            delete set._positions[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._positions[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 9 of 14 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

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

    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(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

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

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 10 of 14 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);
    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 11 of 14 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;
    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

File 12 of 14 : ERC20Base.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

import {ERC20} from "@openzeppelin/contracts/token/ERC20/ERC20.sol";

abstract contract ERC20Base is ERC20 {
    uint8 private immutable _decimals;

    constructor(string memory name_, string memory symbol_, uint8 decimals_) ERC20(name_, symbol_) {
        _decimals = decimals_;
    }
    /**
     * @dev Returns the number of decimals of the token
     */
    function decimals() public view override returns (uint8) {
        return _decimals;
    }
}

File 13 of 14 : TaxDistributor.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

import {EnumerableSet} from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import {ERC20Base} from "./ERC20Base.sol";

abstract contract TaxDistributor is ERC20Base {
    using EnumerableSet for EnumerableSet.AddressSet;

    EnumerableSet.AddressSet private _collectors;
    mapping(address => uint256) private _shares;
    uint256 public totalFeeCollectorsShares;

    event FeeCollectorAdded(address indexed account, uint256 share);
    event FeeCollectorUpdated(address indexed account, uint256 oldShare, uint256 newShare);
    event FeeCollectorRemoved(address indexed account);
    event FeeCollected(address indexed receiver, uint256 amount);

    constructor(address[] memory collectors_, uint256[] memory shares_) {
        require(collectors_.length == shares_.length, "Invalid fee collectors");
        for (uint256 i = 0; i < collectors_.length; i++) {
            _addFeeCollector(collectors_[i], shares_[i]);
        }
    }

    function isFeeCollector(address account) public view returns (bool) {
        return _collectors.contains(account);
    }

    function feeCollectorShare(address account) public view returns (uint256) {
        return _shares[account];
    }

    function feeCollectors(uint256 startIndex, uint256 count) external view returns (address[] memory) {
        uint256 length = count;
        if (length > _collectors.length() - startIndex) {
            length = _collectors.length() - startIndex;
        }

        address[] memory values = new address[](length);
        for (uint256 i = 0; i < length; i++) {
            values[i] = _collectors.at(startIndex + i);
        }

        return values;
    }

    function _addFeeCollector(address account, uint256 share) internal {
        require(!_collectors.contains(account), "Already fee collector");
        require(share > 0, "Invalid share");

        _collectors.add(account);
        _shares[account] = share;
        totalFeeCollectorsShares += share;

        emit FeeCollectorAdded(account, share);
    }

    function _removeFeeCollector(address account) internal {
        require(_collectors.contains(account), "Not fee collector");
        _collectors.remove(account);
        totalFeeCollectorsShares -= _shares[account];
        delete _shares[account];

        emit FeeCollectorRemoved(account);
    }

    function _updateFeeCollectorShare(address account, uint256 share) internal {
        require(_collectors.contains(account), "Not fee collector");
        require(share > 0, "Invalid share");

        uint256 oldShare = _shares[account];
        totalFeeCollectorsShares -= oldShare;

        _shares[account] = share;
        totalFeeCollectorsShares += share;

        emit FeeCollectorUpdated(account, oldShare, share);
    }

    function _distributeFees(uint256 amount, bool inToken) internal returns (bool) {
        if (amount == 0) return false;
        if (totalFeeCollectorsShares == 0) return false;

        uint256 distributed = 0;
        uint256 len = _collectors.length();
        for (uint256 i = 0; i < len; i++) {
            address collector = _collectors.at(i);
            uint256 share = i == len - 1
                ? amount - distributed
                : (amount * _shares[collector]) / totalFeeCollectorsShares;

            if (inToken) {
                _transfer(address(this), collector, share);
            } else {
                payable(collector).transfer(share);
            }
            emit FeeCollected(collector, share);

            distributed += share;
        }

        return true;
    }

    function addFeeCollector(address account, uint256 share) external virtual;

    function removeFeeCollector(address account) external virtual;

    function updateFeeCollectorShare(address account, uint256 share) external virtual;

    function distributeFees(uint256 amount, bool inToken) external virtual;
}

File 14 of 14 : TaxableToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

import {IUniswapV2Factory} from "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import {IUniswapV2Router02} from "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";
import {ERC20Base} from "./ERC20Base.sol";
import {TaxDistributor} from "./TaxDistributor.sol";

/*
 * TaxableToken: Add a tax on buy, sell or transfer
 */
abstract contract TaxableToken is ERC20Base, TaxDistributor {
    struct FeeConfiguration {
        bool feesInToken; // if set to true, collectors will get tokens, if false collector the fee will be swapped for the native currency
        uint16 buyFees; // fees applied during buys, from 0 to 2000 (ie, 100 = 1%)
        uint16 sellFees; // fees applied during sells, from 0 to 2000 (ie, 100 = 1%)
        uint16 transferFees; // fees applied during transfers, from 0 to 2000 (ie, 100 = 1%)
        uint16 burnFeeRatio; // from 0 to 10000 (ie 8000 = 80% of the fee collected are burned)
        uint16 liquidityFeeRatio; // from 0 to 10000 (ie 8000 = 80% of the fee collected are added back to liquidity)
        uint16 collectorsFeeRatio; // from 0 to 10000 (ie 8000 = 80% of the fee collected are sent to fee collectors)
    }

    address public constant BURN_ADDRESS = address(0x000000000000000000000000000000000000dEaD);
    uint16 public constant MAX_FEE = 2000; // max 20% fees
    uint16 public constant FEE_PRECISION = 10000;

    // swap config
    IUniswapV2Router02 public swapRouter;
    address public swapPair;
    address public liquidityOwner;

    // fees
    bool private _processingFees;
    bool public autoProcessFees;
    uint256 public numTokensToSwap; // amount of tokens to collect before processing fees (default to 0.05% of supply)
    FeeConfiguration public feeConfiguration;

    mapping(address => bool) private _excludedFromFees;
    mapping(address => bool) private _lpPools;

    event FeeConfigurationUpdated(FeeConfiguration configuration);
    event SwapRouterUpdated(address indexed router, address indexed pair);
    event ExcludedFromFees(address indexed account, bool excluded);
    event SetLpPool(address indexed pairAddress, bool isLp);

    modifier lockTheSwap() {
        _processingFees = true;
        _;
        _processingFees = false;
    }

    constructor(
        bool autoProcessFees_,
        uint256 numTokensToSwap_,
        address swapRouter_,
        FeeConfiguration memory feeConfiguration_
    ) {
        numTokensToSwap = numTokensToSwap_;
        autoProcessFees = autoProcessFees_;

        liquidityOwner = _msgSender();

        // Create a uniswap pair for this new token
        swapRouter = IUniswapV2Router02(swapRouter_);
        swapPair = _pairFor(swapRouter.factory(), address(this), swapRouter.WETH());
        _lpPools[swapPair] = true;

        // configure addresses excluded from fee
        _setIsExcludedFromFees(address(0), true);
        _setIsExcludedFromFees(BURN_ADDRESS, true);
        _setIsExcludedFromFees(address(this), true);
        _setIsExcludedFromFees(_msgSender(), true);

        // configure fees
        _setFeeConfiguration(feeConfiguration_);
    }

    // receive ETH when swaping
    receive() external payable {}

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

    function _setIsExcludedFromFees(address account, bool excluded) internal {
        require(_excludedFromFees[account] != excluded, "Already set");
        _excludedFromFees[account] = excluded;
        emit ExcludedFromFees(account, excluded);
    }

    function _setIsLpPool(address pairAddress, bool isLp) internal {
        require(_lpPools[pairAddress] != isLp, "Already set");
        _lpPools[pairAddress] = isLp;
        emit SetLpPool(pairAddress, isLp);
    }

    function isLpPool(address pairAddress) public view returns (bool) {
        return _lpPools[pairAddress];
    }

    function _setSwapRouter(address _newRouter) internal {
        require(_newRouter != address(0), "Invalid router");

        swapRouter = IUniswapV2Router02(_newRouter);
        IUniswapV2Factory factory = IUniswapV2Factory(swapRouter.factory());
        require(address(factory) != address(0), "Invalid factory");

        address weth = swapRouter.WETH();
        swapPair = factory.getPair(address(this), weth);
        if (swapPair == address(0)) {
            swapPair = factory.createPair(address(this), weth);
        }

        require(swapPair != address(0), "Invalid pair address.");
        emit SwapRouterUpdated(address(swapRouter), swapPair);
    }

    function _setFeeConfiguration(FeeConfiguration memory configuration) internal {
        require(configuration.buyFees <= MAX_FEE, "Invalid buy fee");
        require(configuration.sellFees <= MAX_FEE, "Invalid sell fee");
        require(configuration.transferFees <= MAX_FEE, "Invalid transfer fee");

        uint16 totalShare = configuration.burnFeeRatio +
            configuration.liquidityFeeRatio +
            configuration.collectorsFeeRatio;
        require(totalShare == 0 || totalShare == FEE_PRECISION, "Invalid fee share");

        feeConfiguration = configuration;
        emit FeeConfigurationUpdated(configuration);
    }

    function _processFees(uint256 tokenAmount, uint256 minAmountOut) internal lockTheSwap {
        uint256 contractTokenBalance = balanceOf(address(this));
        if (contractTokenBalance >= tokenAmount) {
            uint256 liquidityAmount = (tokenAmount * feeConfiguration.liquidityFeeRatio) /
                (FEE_PRECISION - feeConfiguration.burnFeeRatio);
            uint256 liquidityTokens = liquidityAmount / 2;

            uint256 collectorsAmount = tokenAmount - liquidityAmount;
            uint256 liquifyAmount = liquidityAmount - liquidityTokens;

            if (!feeConfiguration.feesInToken) {
                liquifyAmount += collectorsAmount;
            }

            // swap tokens
            if (liquifyAmount > 0) {
                if (balanceOf(swapPair) == 0) {
                    // do not swap before the pair has liquidity
                    return;
                }

                // capture the contract's current balance.
                uint256 initialBalance = address(this).balance;

                _swapTokensForEth(liquifyAmount, minAmountOut);

                // how much did we just swap into?
                uint256 swapBalance = address(this).balance - initialBalance;

                // add liquidity
                uint256 liquidityETH = (swapBalance * liquidityTokens) / liquifyAmount;
                if (liquidityETH > 0) {
                    _addLiquidity(liquidityTokens, liquidityETH);
                }
            }

            if (feeConfiguration.feesInToken) {
                // send tokens to fee collectors
                _distributeFees(collectorsAmount, true);
            } else {
                // send remaining ETH to fee collectors
                _distributeFees(address(this).balance, false);
            }
        }
    }

    /// @dev Swap tokens for eth
    function _swapTokensForEth(uint256 tokenAmount, uint256 minAmountOut) private {
        // generate the swap pair path of token -> weth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = swapRouter.WETH();

        _approve(address(this), address(swapRouter), tokenAmount);

        // make the swap
        swapRouter.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            minAmountOut,
            path,
            address(this),
            block.timestamp
        );
    }

    /// @dev Add liquidity
    function _addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        // approve token transfer to cover all possible scenarios
        _approve(address(this), address(swapRouter), tokenAmount);

        // add the liquidity
        swapRouter.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            liquidityOwner,
            block.timestamp
        );
    }

    // calculates the CREATE2 address for a pair without making any external calls
    function _pairFor(address factory, address tokenA, address tokenB) internal pure returns (address pair) {
        (address token0, address token1) = tokenA < tokenB ? (tokenA, tokenB) : (tokenB, tokenA);
        pair = address(
            uint160(
                uint(
                    keccak256(
                        abi.encodePacked(
                            hex"ff",
                            factory,
                            keccak256(abi.encodePacked(token0, token1)),
                            hex"96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f" // init code hash
                        )
                    )
                )
            )
        );
    }

    function _update(address from, address to, uint256 amount) internal virtual override {
        require(amount > 0, "Transfer <= 0");

        uint256 taxFee = 0;
        bool processFee = !_processingFees && autoProcessFees;

        bool fromLP = isLpPool(from);
        bool toLP = isLpPool(to);

        if (!_processingFees) {
            bool fromExcluded = isExcludedFromFees(from);
            bool toExcluded = isExcludedFromFees(to);

            if (fromLP && !toLP && !toExcluded && to != address(swapRouter)) {
                // buy fee
                taxFee = feeConfiguration.buyFees;
            } else if (toLP && !fromExcluded && !toExcluded) {
                // sell fee
                taxFee = feeConfiguration.sellFees;
            } else if (!fromLP && !toLP && from != address(swapRouter) && !fromExcluded) {
                // transfer fee
                taxFee = feeConfiguration.transferFees;
            }
        }

        // process fees
        if (processFee && taxFee > 0 && toLP) {
            uint256 contractTokenBalance = balanceOf(address(this));
            if (contractTokenBalance >= numTokensToSwap) {
                _processFees(contractTokenBalance, 0);
            }
        }

        if (taxFee > 0) {
            uint256 taxAmount = (amount * taxFee) / FEE_PRECISION;
            uint256 sendAmount = amount - taxAmount;
            uint256 burnAmount = (taxAmount * feeConfiguration.burnFeeRatio) / FEE_PRECISION;

            if (burnAmount > 0) {
                taxAmount -= burnAmount;
                super._update(from, BURN_ADDRESS, burnAmount);
            }

            if (taxAmount > 0) {
                super._update(from, address(this), taxAmount);
            }

            if (sendAmount > 0) {
                super._update(from, to, sendAmount);
            }
        } else {
            super._update(from, to, amount);
        }
    }

    function setAutoprocessFees(bool autoProcess) external virtual;

    function setIsLpPool(address pairAddress, bool isLp) external virtual;

    function setIsExcludedFromFees(address account, bool excluded) external virtual;

    function processFees(uint256 amount, uint256 minAmountOut) external virtual;

    function setLiquidityOwner(address newOwner) external virtual;

    function setNumTokensToSwap(uint256 amount) external virtual;

    function setFeeConfiguration(FeeConfiguration calldata configuration) external virtual;

    function setSwapRouter(address newRouter) external virtual;
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"initialSupply_","type":"uint256"},{"internalType":"address","name":"feeReceiver_","type":"address"},{"internalType":"address","name":"swapRouter_","type":"address"},{"components":[{"internalType":"bool","name":"feesInToken","type":"bool"},{"internalType":"uint16","name":"buyFees","type":"uint16"},{"internalType":"uint16","name":"sellFees","type":"uint16"},{"internalType":"uint16","name":"transferFees","type":"uint16"},{"internalType":"uint16","name":"burnFeeRatio","type":"uint16"},{"internalType":"uint16","name":"liquidityFeeRatio","type":"uint16"},{"internalType":"uint16","name":"collectorsFeeRatio","type":"uint16"}],"internalType":"struct TaxableToken.FeeConfiguration","name":"feeConfiguration_","type":"tuple"},{"internalType":"address[]","name":"collectors_","type":"address[]"},{"internalType":"uint256[]","name":"shares_","type":"uint256[]"}],"stateMutability":"payable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"excluded","type":"bool"}],"name":"ExcludedFromFees","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"FeeCollected","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"share","type":"uint256"}],"name":"FeeCollectorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"FeeCollectorRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"oldShare","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newShare","type":"uint256"}],"name":"FeeCollectorUpdated","type":"event"},{"anonymous":false,"inputs":[{"components":[{"internalType":"bool","name":"feesInToken","type":"bool"},{"internalType":"uint16","name":"buyFees","type":"uint16"},{"internalType":"uint16","name":"sellFees","type":"uint16"},{"internalType":"uint16","name":"transferFees","type":"uint16"},{"internalType":"uint16","name":"burnFeeRatio","type":"uint16"},{"internalType":"uint16","name":"liquidityFeeRatio","type":"uint16"},{"internalType":"uint16","name":"collectorsFeeRatio","type":"uint16"}],"indexed":false,"internalType":"struct TaxableToken.FeeConfiguration","name":"configuration","type":"tuple"}],"name":"FeeConfigurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"pairAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"isLp","type":"bool"}],"name":"SetLpPool","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"router","type":"address"},{"indexed":true,"internalType":"address","name":"pair","type":"address"}],"name":"SwapRouterUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"BURN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FEE_PRECISION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FEE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"share","type":"uint256"}],"name":"addFeeCollector","outputs":[],"stateMutability":"nonpayable","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":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoProcessFees","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":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bool","name":"inToken","type":"bool"}],"name":"distributeFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"feeCollectorShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"startIndex","type":"uint256"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"feeCollectors","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"feeConfiguration","outputs":[{"internalType":"bool","name":"feesInToken","type":"bool"},{"internalType":"uint16","name":"buyFees","type":"uint16"},{"internalType":"uint16","name":"sellFees","type":"uint16"},{"internalType":"uint16","name":"transferFees","type":"uint16"},{"internalType":"uint16","name":"burnFeeRatio","type":"uint16"},{"internalType":"uint16","name":"liquidityFeeRatio","type":"uint16"},{"internalType":"uint16","name":"collectorsFeeRatio","type":"uint16"}],"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":"isFeeCollector","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pairAddress","type":"address"}],"name":"isLpPool","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numTokensToSwap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"minAmountOut","type":"uint256"}],"name":"processFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeFeeCollector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"autoProcess","type":"bool"}],"name":"setAutoprocessFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"bool","name":"feesInToken","type":"bool"},{"internalType":"uint16","name":"buyFees","type":"uint16"},{"internalType":"uint16","name":"sellFees","type":"uint16"},{"internalType":"uint16","name":"transferFees","type":"uint16"},{"internalType":"uint16","name":"burnFeeRatio","type":"uint16"},{"internalType":"uint16","name":"liquidityFeeRatio","type":"uint16"},{"internalType":"uint16","name":"collectorsFeeRatio","type":"uint16"}],"internalType":"struct TaxableToken.FeeConfiguration","name":"configuration","type":"tuple"}],"name":"setFeeConfiguration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"excluded","type":"bool"}],"name":"setIsExcludedFromFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pairAddress","type":"address"},{"internalType":"bool","name":"isLp","type":"bool"}],"name":"setIsLpPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"setLiquidityOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setNumTokensToSwap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newRouter","type":"address"}],"name":"setSwapRouter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalFeeCollectorsShares","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":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"share","type":"uint256"}],"name":"updateFeeCollectorShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60a06040526040516141c23803806141c2833981016040819052610022916115df565b600161003061271088611719565b85858585336040805180820182526006808252651110511093d160d21b60208084018290528451808601909552918452908301529060128282600361007583826117b4565b50600461008282826117b4565b50505060ff1660805250506001600160a01b0381166100bb57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b6100c48161039b565b5080518251146101165760405162461bcd60e51b815260206004820152601660248201527f496e76616c69642066656520636f6c6c6563746f72730000000000000000000060448201526064016100b2565b5f5b825181101561016b5761016383828151811061013657610136611873565b602002602001015183838151811061015057610150611873565b60200260200101516103ec60201b60201c565b600101610118565b505050600d839055600c805460ff60a81b1916600160a81b861515021790556101913390565b600c80546001600160a01b039283166001600160a01b031991821617909155600a805492851692909116821790556040805163c45a015560e01b81529051610290929163c45a01559160048083019260209291908290030181865afa1580156101fc573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102209190611887565b600a54604080516315ab88c960e31b8152905130926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015610267573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061028b9190611887565b610503565b600b80546001600160a01b0319166001600160a01b039290921691821790555f908152601060205260408120805460ff191660019081179091556102d49190610601565b6102e161dead6001610601565b6102ec306001610601565b6102f7336001610601565b610300816106b5565b505050505f86116103535760405162461bcd60e51b815260206004820152601d60248201527f496e697469616c20737570706c792063616e6e6f74206265207a65726f00000060448201526064016100b2565b6040516001600160a01b038616903480156108fc02915f818181858888f19350505050158015610385573d5f803e3d5ffd5b50610390338761099b565b5050505050506119b6565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6103f76006836109d3565b156104445760405162461bcd60e51b815260206004820152601560248201527f416c72656164792066656520636f6c6c6563746f72000000000000000000000060448201526064016100b2565b5f81116104835760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420736861726560981b60448201526064016100b2565b61048e6006836109f9565b506001600160a01b0382165f908152600860205260408120829055600980548392906104bb9084906118a0565b90915550506040518181526001600160a01b038316907f918584c21fe4a093f5014c0dabaed3e43b642781e27984aef122cae8245fbb23906020015b60405180910390a25050565b5f805f836001600160a01b0316856001600160a01b031610610526578385610529565b84845b6040516001600160601b0319606084811b8216602084015283901b16603482015291935091508690604801604051602081830303815290604052805190602001206040516020016105df9291907fff00000000000000000000000000000000000000000000000000000000000000815260609290921b6001600160601b031916600183015260158201527f96e8ac4277198ff8b6f785478aa9a39f403cb768dd02cbee326c3e7da348845f603582015260550190565b60408051601f1981840301815291905280516020909101209695505050505050565b6001600160a01b0382165f908152600f602052604090205481151560ff90911615150361065e5760405162461bcd60e51b815260206004820152600b60248201526a105b1c9958591e481cd95d60aa1b60448201526064016100b2565b6001600160a01b0382165f818152600f6020908152604091829020805460ff191685151590811790915591519182527f3499bfcf9673677ba552f3fe2ea274ec7e6246da31c3c87e115b45a9b0db2efb91016104f7565b6107d061ffff16816020015161ffff1611156107055760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206275792066656560881b60448201526064016100b2565b6107d061ffff16816040015161ffff1611156107565760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642073656c6c2066656560801b60448201526064016100b2565b6107d061ffff16816060015161ffff1611156107b45760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964207472616e736665722066656500000000000000000000000060448201526064016100b2565b5f8160c001518260a0015183608001516107ce91906118b3565b6107d891906118b3565b905061ffff811615806107f0575061ffff8116612710145b6108305760405162461bcd60e51b8152602060048201526011602482015270496e76616c69642066656520736861726560781b60448201526064016100b2565b8151600e805460208501516040808701516060880151608089015160a08a015160c08b015161ffff9081166b0100000000000000000000000261ffff60581b1992821669010000000000000000000261ffff60481b19948316670100000000000000029490941663ffffffff60381b19958316650100000000000261ffff60281b199784166301000000029790971666ffffffff00000019939099166101000262ffff00199c15159c909c1662ffffff19909a16999099179a909a1716959095179290921716939093179290921716929092179055517ff34b49a91d91598b7774795175736ebf4db4fa5a4edf72772cf50fb27c135efd9061098f9084905f60e082019050825115158252602083015161ffff80821660208501528060408601511660408501528060608601511660608501528060808601511660808501528060a08601511660a08501528060c08601511660c0850152505092915050565b60405180910390a15050565b6001600160a01b0382166109c45760405163ec442f0560e01b81525f60048201526024016100b2565b6109cf5f8383610a0d565b5050565b6001600160a01b0381165f90815260018301602052604081205415155b90505b92915050565b5f6109f0836001600160a01b038416610a1d565b610a18838383610a69565b505050565b5f818152600183016020526040812054610a6257508154600181810184555f8481526020808220909301849055845484825282860190935260409020919091556109f3565b505f6109f3565b5f8111610aa85760405162461bcd60e51b815260206004820152600d60248201526c05472616e73666572203c3d203609c1b60448201526064016100b2565b600c545f908190600160a01b900460ff16158015610acf5750600c54600160a81b900460ff165b90505f610af3866001600160a01b03165f9081526010602052604090205460ff1690565b90505f610b17866001600160a01b03165f9081526010602052604090205460ff1690565b600c54909150600160a01b900460ff16610c15576001600160a01b038781165f908152600f602052604080822054928916825290205460ff9182169116838015610b5f575082155b8015610b69575080155b8015610b835750600a546001600160a01b03898116911614155b15610b9b57600e54610100900461ffff169550610c12565b828015610ba6575081155b8015610bb0575080155b15610bca57600e546301000000900461ffff169550610c12565b83158015610bd6575082155b8015610bf05750600a546001600160a01b038a8116911614155b8015610bfa575081155b15610c1257600e5465010000000000900461ffff1695505b50505b828015610c2157505f84115b8015610c2a5750805b15610c5357305f90815260208190526040902054600d548110610c5157610c51815f610d0c565b505b8315610cf8575f612710610c6786886118d5565b610c719190611719565b90505f610c7e82886118ec565b600e549091505f9061271090610ca390670100000000000000900461ffff16856118d5565b610cad9190611719565b90508015610cce57610cbf81846118ec565b9250610cce8a61dead83610e79565b8215610cdf57610cdf8a3085610e79565b8115610cf057610cf08a8a84610e79565b505050610d03565b610d03878787610e79565b50505050505050565b600c805460ff60a01b1916600160a01b179055305f908152602081905260408120549050828110610e6657600e545f90610d5790670100000000000000900461ffff166127106118ff565b600e5461ffff91821691610d79916901000000000000000000900416866118d5565b610d839190611719565b90505f610d91600283611719565b90505f610d9e83876118ec565b90505f610dab83856118ec565b600e5490915060ff16610dc557610dc282826118a0565b90505b8015610e3957600b546001600160a01b03165f908152602081905260409020545f03610df5575050505050610e68565b47610e008288610f9f565b5f610e0b82476118ec565b90505f83610e1987846118d5565b610e239190611719565b90508015610e3557610e3586826110e7565b5050505b600e5460ff1615610e5557610e4f826001611198565b50610e61565b610e5f475f611198565b505b505050505b505b5050600c805460ff60a01b19169055565b6001600160a01b038316610ea3578060025f828254610e9891906118a0565b90915550610f139050565b6001600160a01b0383165f9081526020819052604090205481811015610ef55760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016100b2565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216610f2f57600280548290039055610f4d565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610f9291815260200190565b60405180910390a3505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110610fd257610fd2611873565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611029573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061104d9190611887565b8160018151811061106057611060611873565b6001600160a01b039283166020918202929092010152600a5461108691309116856112df565b600a5460405163791ac94760e01b81526001600160a01b039091169063791ac947906110be908690869086903090429060040161191a565b5f604051808303815f87803b1580156110d5575f80fd5b505af1158015610d03573d5f803e3d5ffd5b600a546110ff9030906001600160a01b0316846112df565b600a54600c5460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af115801561116c573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190611191919061198b565b5050505050565b5f825f036111a757505f6109f3565b6009545f036111b757505f6109f3565b5f806111c360066112ec565b90505f5b818110156112d3575f6111db6006836112f5565b90505f6111e96001856118ec565b8314611223576009546001600160a01b0383165f90815260086020526040902054611214908a6118d5565b61121e9190611719565b61122d565b61122d85896118ec565b9050861561124557611240308383611300565b61127a565b6040516001600160a01b0383169082156108fc029083905f818181858888f19350505050158015611278573d5f803e3d5ffd5b505b816001600160a01b03167f06c5efeff5c320943d265dc4e5f1af95ad523555ce0c1957e367dda5514572df826040516112b591815260200190565b60405180910390a26112c781866118a0565b945050506001016111c7565b50600195945050505050565b610a18838383600161135d565b5f6109f3825490565b5f6109f08383611430565b6001600160a01b03831661132957604051634b637e8f60e11b81525f60048201526024016100b2565b6001600160a01b0382166113525760405163ec442f0560e01b81525f60048201526024016100b2565b610a18838383610a0d565b6001600160a01b0384166113865760405163e602df0560e01b81525f60048201526024016100b2565b6001600160a01b0383166113af57604051634a1406b160e11b81525f60048201526024016100b2565b6001600160a01b038085165f908152600160209081526040808320938716835292905220829055801561142a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161142191815260200190565b60405180910390a35b50505050565b5f825f01828154811061144557611445611873565b905f5260205f200154905092915050565b80516001600160a01b038116811461146c575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b60405160e081016001600160401b03811182821017156114a7576114a7611471565b60405290565b604051601f8201601f191681016001600160401b03811182821017156114d5576114d5611471565b604052919050565b805161ffff8116811461146c575f80fd5b5f6001600160401b0382111561150657611506611471565b5060051b60200190565b5f82601f83011261151f575f80fd5b8151602061153461152f836114ee565b6114ad565b8083825260208201915060208460051b870101935086841115611555575f80fd5b602086015b848110156115785761156b81611456565b835291830191830161155a565b509695505050505050565b5f82601f830112611592575f80fd5b815160206115a261152f836114ee565b8083825260208201915060208460051b8701019350868411156115c3575f80fd5b602086015b8481101561157857805183529183019183016115c8565b5f805f805f808688036101808112156115f6575f80fd5b8751965061160660208901611456565b955061161460408901611456565b945060e0605f1982011215611627575f80fd5b50611630611485565b60608801518015158114611642575f80fd5b8152611650608089016114dd565b602082015261166160a089016114dd565b604082015261167260c089016114dd565b606082015261168360e089016114dd565b608082015261169561010089016114dd565b60a08201526116a761012089016114dd565b60c08201526101408801519093506001600160401b03808211156116c9575f80fd5b6116d58a838b01611510565b93506101608901519150808211156116eb575f80fd5b506116f889828a01611583565b9150509295509295509295565b634e487b7160e01b5f52601160045260245ffd5b5f8261173357634e487b7160e01b5f52601260045260245ffd5b500490565b600181811c9082168061174c57607f821691505b60208210810361176a57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610a1857805f5260205f20601f840160051c810160208510156117955750805b601f840160051c820191505b81811015611191575f81556001016117a1565b81516001600160401b038111156117cd576117cd611471565b6117e1816117db8454611738565b84611770565b602080601f831160018114611814575f84156117fd5750858301515b5f19600386901b1c1916600185901b17855561186b565b5f85815260208120601f198616915b8281101561184257888601518255948401946001909101908401611823565b508582101561185f57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611897575f80fd5b6109f082611456565b808201808211156109f3576109f3611705565b61ffff8181168382160190808211156118ce576118ce611705565b5092915050565b80820281158282048414176109f3576109f3611705565b818103818111156109f3576109f3611705565b61ffff8281168282160390808211156118ce576118ce611705565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561196a5784516001600160a01b031683529383019391830191600101611945565b50506001600160a01b03969096166060850152505050608001529392505050565b5f805f6060848603121561199d575f80fd5b8351925060208401519150604084015190509250925092565b6080516127f46119ce5f395f6103b601526127f45ff3fe60806040526004361061022b575f3560e01c806370a0823111610129578063adf18693116100a8578063e55096b01161006d578063e55096b01461078b578063e63a391f146107aa578063f2fde38b146107bf578063f4232d25146107de578063fccc2813146107fd575f80fd5b8063adf18693146106cc578063b3c6e9ee146106eb578063bc063e1a14610700578063c31c9c0714610728578063dd62ed3e14610747575f80fd5b806394b8a703116100ee57806394b8a703146105ab57806395d89b41146105df57806398c47e8c146105f35780639b61f1d01461068d578063a9059cbb146106ad575f80fd5b806370a0823114610508578063715018a61461053c57806372bc5583146105505780637f5bbb2c1461056f5780638da5cb5b1461058e575f80fd5b80632b46c6a4116101b5578063412736571161017a578063412736571461043d5780634569c4451461045c578063490e51471461047b5780634fbee1931461049a5780636f741f2a146104d1575f80fd5b80632b46c6a414610377578063313ce567146103a35780633502628a146103e05780633935ebf9146103ff5780633b90b9bf1461041e575f80fd5b80630f569dad116101fb5780630f569dad146102cf57806318160ddd146102ee5780631fa67b4d1461030257806323b872dd1461032157806326991cc814610340575f80fd5b806301a6c43b1461023657806306fdde031461025e578063095ea7b31461027f5780630a4e42ef146102ae575f80fd5b3661023257005b5f80fd5b348015610241575f80fd5b5061024b600d5481565b6040519081526020015b60405180910390f35b348015610269575f80fd5b50610272610812565b6040516102559190612313565b34801561028a575f80fd5b5061029e61029936600461235c565b6108a2565b6040519015158152602001610255565b3480156102b9575f80fd5b506102cd6102c8366004612386565b6108bb565b005b3480156102da575f80fd5b506102cd6102e93660046123a6565b610926565b3480156102f9575f80fd5b5060025461024b565b34801561030d575f80fd5b506102cd61031c3660046123bd565b610933565b34801561032c575f80fd5b5061029e61033b3660046123d8565b610947565b34801561034b575f80fd5b50600b5461035f906001600160a01b031681565b6040516001600160a01b039091168152602001610255565b348015610382575f80fd5b50610396610391366004612386565b61096a565b6040516102559190612459565b3480156103ae575f80fd5b5060405160ff7f0000000000000000000000000000000000000000000000000000000000000000168152602001610255565b3480156103eb575f80fd5b506102cd6103fa36600461235c565b610a41565b34801561040a575f80fd5b50600c5461035f906001600160a01b031681565b348015610429575f80fd5b5061029e6104383660046123bd565b610a53565b348015610448575f80fd5b506102cd6104573660046123bd565b610a5f565b348015610467575f80fd5b506102cd61047636600461247f565b610a70565b348015610486575f80fd5b506102cd6104953660046124a9565b610b2a565b3480156104a5575f80fd5b5061029e6104b43660046123bd565b6001600160a01b03165f908152600f602052604090205460ff1690565b3480156104dc575f80fd5b5061029e6104eb3660046123bd565b6001600160a01b03165f9081526010602052604090205460ff1690565b348015610513575f80fd5b5061024b6105223660046123bd565b6001600160a01b03165f9081526020819052604090205490565b348015610547575f80fd5b506102cd610b49565b34801561055b575f80fd5b506102cd61056a3660046123bd565b610b5c565b34801561057a575f80fd5b506102cd6105893660046124bf565b610b86565b348015610599575f80fd5b506005546001600160a01b031661035f565b3480156105b6575f80fd5b5061024b6105c53660046123bd565b6001600160a01b03165f9081526008602052604090205490565b3480156105ea575f80fd5b50610272610bde565b3480156105fe575f80fd5b50600e5461064b9060ff81169061ffff610100820481169163010000008104821691650100000000008204811691600160381b8104821691600160481b8204811691600160581b90041687565b60408051971515885261ffff968716602089015294861694870194909452918416606086015283166080850152821660a08401521660c082015260e001610255565b348015610698575f80fd5b50600c5461029e90600160a81b900460ff1681565b3480156106b8575f80fd5b5061029e6106c736600461235c565b610bed565b3480156106d7575f80fd5b506102cd6106e63660046124d8565b610bfa565b3480156106f6575f80fd5b5061024b60095481565b34801561070b575f80fd5b506107156107d081565b60405161ffff9091168152602001610255565b348015610733575f80fd5b50600a5461035f906001600160a01b031681565b348015610752575f80fd5b5061024b610761366004612502565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610796575f80fd5b506102cd6107a53660046124d8565b610c0c565b3480156107b5575f80fd5b5061071561271081565b3480156107ca575f80fd5b506102cd6107d93660046123bd565b610c1e565b3480156107e9575f80fd5b506102cd6107f836600461235c565b610c58565b348015610808575f80fd5b5061035f61dead81565b60606003805461082190612539565b80601f016020809104026020016040519081016040528092919081815260200182805461084d90612539565b80156108985780601f1061086f57610100808354040283529160200191610898565b820191905f5260205f20905b81548152906001019060200180831161087b57829003601f168201915b5050505050905090565b5f336108af818585610c6a565b60019150505b92915050565b6108c3610c77565b305f908152602081905260409020548211156109185760405162461bcd60e51b815260206004820152600f60248201526e082dadeeadce840e8dede40d0d2ced608b1b60448201526064015b60405180910390fd5b6109228282610ca4565b5050565b61092e610c77565b600d55565b61093b610c77565b61094481610e07565b50565b5f33610954858285610ed1565b61095f858585610f4c565b506001949350505050565b606081836109786006610fa9565b610982919061257f565b8111156109a157836109946006610fa9565b61099e919061257f565b90505b5f8167ffffffffffffffff8111156109bb576109bb612592565b6040519080825280602002602001820160405280156109e4578160200160208202803683370190505b5090505f5b82811015610a3857610a066109fe82886125a6565b600690610fb2565b828281518110610a1857610a186125b9565b6001600160a01b03909216602092830291909101909101526001016109e9565b50949350505050565b610a49610c77565b6109228282610fc4565b5f6108b56006836110d3565b610a67610c77565b610944816110f4565b610a78610c77565b8015610ad657305f90815260208190526040902054821115610ad15760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b604482015260640161090f565b610b1b565b81471015610b1b5760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b604482015260640161090f565b610b258282611425565b505050565b610b32610c77565b610944610b44368390038301836125de565b61156c565b610b51610c77565b610b5a5f611843565b565b610b64610c77565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b610b8e610c77565b801515600c60159054906101000a900460ff16151503610bc05760405162461bcd60e51b815260040161090f90612698565b600c8054911515600160a81b0260ff60a81b19909216919091179055565b60606004805461082190612539565b5f336108af818585610f4c565b610c02610c77565b6109228282611894565b610c14610c77565b610922828261192a565b610c26610c77565b6001600160a01b038116610c4f57604051631e4fbdf760e01b81525f600482015260240161090f565b61094481611843565b610c60610c77565b61092282826119c0565b610b258383836001611af4565b6005546001600160a01b03163314610b5a5760405163118cdaa760e01b815233600482015260240161090f565b600c805460ff60a01b1916600160a01b179055305f908152602081905260408120549050828110610df457600e545f90610ceb90600160381b900461ffff166127106126bd565b600e5461ffff91821691610d0791600160481b900416866126d8565b610d1191906126ef565b90505f610d1f6002836126ef565b90505f610d2c838761257f565b90505f610d39838561257f565b600e5490915060ff16610d5357610d5082826125a6565b90505b8015610dc757600b546001600160a01b03165f908152602081905260409020545f03610d83575050505050610df6565b47610d8e8288611bc6565b5f610d99824761257f565b90505f83610da787846126d8565b610db191906126ef565b90508015610dc357610dc38682611d17565b5050505b600e5460ff1615610de357610ddd826001611425565b50610def565b610ded475f611425565b505b505050505b505b5050600c805460ff60a01b19169055565b610e126006826110d3565b610e525760405162461bcd60e51b81526020600482015260116024820152702737ba103332b29031b7b63632b1ba37b960791b604482015260640161090f565b610e5d600682611dc8565b506001600160a01b0381165f908152600860205260408120546009805491929091610e8990849061257f565b90915550506001600160a01b0381165f81815260086020526040808220829055517f904316769e154356a5e4aad5d41591b55913c7717fab281d818c1fed7d80e8149190a250565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610f465781811015610f3857604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161090f565b610f4684848484035f611af4565b50505050565b6001600160a01b038316610f7557604051634b637e8f60e11b81525f600482015260240161090f565b6001600160a01b038216610f9e5760405163ec442f0560e01b81525f600482015260240161090f565b610b25838383611ddc565b5f6108b5825490565b5f610fbd8383611de7565b9392505050565b610fcf6006836110d3565b156110145760405162461bcd60e51b815260206004820152601560248201527420b63932b0b23c903332b29031b7b63632b1ba37b960591b604482015260640161090f565b5f81116110535760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420736861726560981b604482015260640161090f565b61105e600683611e0d565b506001600160a01b0382165f9081526008602052604081208290556009805483929061108b9084906125a6565b90915550506040518181526001600160a01b038316907f918584c21fe4a093f5014c0dabaed3e43b642781e27984aef122cae8245fbb23906020015b60405180910390a25050565b6001600160a01b0381165f9081526001830160205260408120541515610fbd565b6001600160a01b03811661113b5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b2103937baba32b960911b604482015260640161090f565b600a80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290515f929163c45a01559160048083019260209291908290030181865afa158015611194573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b8919061270e565b90506001600160a01b0381166112025760405162461bcd60e51b815260206004820152600f60248201526e496e76616c696420666163746f727960881b604482015260640161090f565b600a54604080516315ab88c960e31b815290515f926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015611249573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061126d919061270e565b60405163e6a4390560e01b81523060048201526001600160a01b0380831660248301529192509083169063e6a4390590604401602060405180830381865afa1580156112bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112df919061270e565b600b80546001600160a01b0319166001600160a01b03929092169182179055611392576040516364e329cb60e11b81523060048201526001600160a01b03828116602483015283169063c9c65396906044016020604051808303815f875af115801561134d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611371919061270e565b600b80546001600160a01b0319166001600160a01b03929092169190911790555b600b546001600160a01b03166113e25760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b2103830b4b91030b2323932b9b99760591b604482015260640161090f565b600b54600a546040516001600160a01b0392831692909116907fca394f95d8dbf1e8b2e76b9a8da90cacce1da85181a65508dab13212dc1df53b905f90a3505050565b5f825f0361143457505f6108b5565b6009545f0361144457505f6108b5565b5f806114506006610fa9565b90505f5b81811015611560575f611468600683610fb2565b90505f61147660018561257f565b83146114b0576009546001600160a01b0383165f908152600860205260409020546114a1908a6126d8565b6114ab91906126ef565b6114ba565b6114ba858961257f565b905086156114d2576114cd308383610f4c565b611507565b6040516001600160a01b0383169082156108fc029083905f818181858888f19350505050158015611505573d5f803e3d5ffd5b505b816001600160a01b03167f06c5efeff5c320943d265dc4e5f1af95ad523555ce0c1957e367dda5514572df8260405161154291815260200190565b60405180910390a261155481866125a6565b94505050600101611454565b50600195945050505050565b6107d061ffff16816020015161ffff1611156115bc5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206275792066656560881b604482015260640161090f565b6107d061ffff16816040015161ffff16111561160d5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642073656c6c2066656560801b604482015260640161090f565b6107d061ffff16816060015161ffff1611156116625760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964207472616e736665722066656560601b604482015260640161090f565b5f8160c001518260a00151836080015161167c9190612729565b6116869190612729565b905061ffff8116158061169e575061ffff8116612710145b6116de5760405162461bcd60e51b8152602060048201526011602482015270496e76616c69642066656520736861726560781b604482015260640161090f565b8151600e805460208501516040808701516060880151608089015160a08a015160c08b015161ffff908116600160581b0261ffff60581b19928216600160481b026affff00000000000000000019948316600160381b02949094166affffffff0000000000000019958316650100000000000266ffff0000000000199784166301000000029790971666ffffffff00000019939099166101000262ffff00199c15159c909c1662ffffff19909a16999099179a909a1716959095179290921716939093179290921716929092179055517ff34b49a91d91598b7774795175736ebf4db4fa5a4edf72772cf50fb27c135efd906118379084905f60e082019050825115158252602083015161ffff80821660208501528060408601511660408501528060608601511660608501528060808601511660808501528060a08601511660a08501528060c08601511660c0850152505092915050565b60405180910390a15050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f908152600f602052604090205481151560ff9091161515036118d35760405162461bcd60e51b815260040161090f90612698565b6001600160a01b0382165f818152600f6020908152604091829020805460ff191685151590811790915591519182527f3499bfcf9673677ba552f3fe2ea274ec7e6246da31c3c87e115b45a9b0db2efb91016110c7565b6001600160a01b0382165f9081526010602052604090205481151560ff9091161515036119695760405162461bcd60e51b815260040161090f90612698565b6001600160a01b0382165f81815260106020908152604091829020805460ff191685151590811790915591519182527f902b2ea0acdec5a260e398590d055fe29bd61ef5dd41e45db54a4cd98d5569e091016110c7565b6119cb6006836110d3565b611a0b5760405162461bcd60e51b81526020600482015260116024820152702737ba103332b29031b7b63632b1ba37b960791b604482015260640161090f565b5f8111611a4a5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420736861726560981b604482015260640161090f565b6001600160a01b0382165f908152600860205260408120546009805491928392611a7590849061257f565b90915550506001600160a01b0383165f90815260086020526040812083905560098054849290611aa69084906125a6565b909155505060408051828152602081018490526001600160a01b038516917fd350c3685bdab1285c0b97ffb6e96d96ed0ad4578a135c38250e771e7cb831aa910160405180910390a2505050565b6001600160a01b038416611b1d5760405163e602df0560e01b81525f600482015260240161090f565b6001600160a01b038316611b4657604051634a1406b160e11b81525f600482015260240161090f565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610f4657826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611bb891815260200190565b60405180910390a350505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611bf957611bf96125b9565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611c50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c74919061270e565b81600181518110611c8757611c876125b9565b6001600160a01b039283166020918202929092010152600a54611cad9130911685610c6a565b600a5460405163791ac94760e01b81526001600160a01b039091169063791ac94790611ce59086908690869030904290600401612744565b5f604051808303815f87803b158015611cfc575f80fd5b505af1158015611d0e573d5f803e3d5ffd5b50505050505050565b600a54611d2f9030906001600160a01b031684610c6a565b600a54600c5460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015611d9c573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190611dc1919061277f565b5050505050565b5f610fbd836001600160a01b038416611e21565b610b25838383611f0b565b5f825f018281548110611dfc57611dfc6125b9565b905f5260205f200154905092915050565b5f610fbd836001600160a01b0384166121a1565b5f8181526001830160205260408120548015611efb575f611e4360018361257f565b85549091505f90611e569060019061257f565b9050808214611eb5575f865f018281548110611e7457611e746125b9565b905f5260205f200154905080875f018481548110611e9457611e946125b9565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080611ec657611ec66127aa565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f9055600193505050506108b5565b5f9150506108b5565b5092915050565b5f8111611f4a5760405162461bcd60e51b815260206004820152600d60248201526c05472616e73666572203c3d203609c1b604482015260640161090f565b600c545f908190600160a01b900460ff16158015611f715750600c54600160a81b900460ff165b90505f611f95866001600160a01b03165f9081526010602052604090205460ff1690565b90505f611fb9866001600160a01b03165f9081526010602052604090205460ff1690565b600c54909150600160a01b900460ff166120b7576001600160a01b038781165f908152600f602052604080822054928916825290205460ff9182169116838015612001575082155b801561200b575080155b80156120255750600a546001600160a01b03898116911614155b1561203d57600e54610100900461ffff1695506120b4565b828015612048575081155b8015612052575080155b1561206c57600e546301000000900461ffff1695506120b4565b83158015612078575082155b80156120925750600a546001600160a01b038a8116911614155b801561209c575081155b156120b457600e5465010000000000900461ffff1695505b50505b8280156120c357505f84115b80156120cc5750805b156120f557305f90815260208190526040902054600d5481106120f3576120f3815f610ca4565b505b8315612196575f61271061210986886126d8565b61211391906126ef565b90505f612120828861257f565b600e549091505f906127109061214190600160381b900461ffff16856126d8565b61214b91906126ef565b9050801561216c5761215d818461257f565b925061216c8a61dead836121ed565b821561217d5761217d8a30856121ed565b811561218e5761218e8a8a846121ed565b505050611d0e565b611d0e8787876121ed565b5f8181526001830160205260408120546121e657508154600181810184555f8481526020808220909301849055845484825282860190935260409020919091556108b5565b505f6108b5565b6001600160a01b038316612217578060025f82825461220c91906125a6565b909155506122879050565b6001600160a01b0383165f90815260208190526040902054818110156122695760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161090f565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166122a3576002805482900390556122c1565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161230691815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610944575f80fd5b5f806040838503121561236d575f80fd5b823561237881612348565b946020939093013593505050565b5f8060408385031215612397575f80fd5b50508035926020909101359150565b5f602082840312156123b6575f80fd5b5035919050565b5f602082840312156123cd575f80fd5b8135610fbd81612348565b5f805f606084860312156123ea575f80fd5b83356123f581612348565b9250602084013561240581612348565b929592945050506040919091013590565b5f815180845260208085019450602084015f5b8381101561244e5781516001600160a01b031687529582019590820190600101612429565b509495945050505050565b602081525f610fbd6020830184612416565b8035801515811461247a575f80fd5b919050565b5f8060408385031215612490575f80fd5b823591506124a06020840161246b565b90509250929050565b5f60e082840312156124b9575f80fd5b50919050565b5f602082840312156124cf575f80fd5b610fbd8261246b565b5f80604083850312156124e9575f80fd5b82356124f481612348565b91506124a06020840161246b565b5f8060408385031215612513575f80fd5b823561251e81612348565b9150602083013561252e81612348565b809150509250929050565b600181811c9082168061254d57607f821691505b6020821081036124b957634e487b7160e01b5f52602260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b818103818111156108b5576108b561256b565b634e487b7160e01b5f52604160045260245ffd5b808201808211156108b5576108b561256b565b634e487b7160e01b5f52603260045260245ffd5b803561ffff8116811461247a575f80fd5b5f60e082840312156125ee575f80fd5b60405160e0810181811067ffffffffffffffff8211171561261d57634e487b7160e01b5f52604160045260245ffd5b6040526126298361246b565b8152612637602084016125cd565b6020820152612648604084016125cd565b6040820152612659606084016125cd565b606082015261266a608084016125cd565b608082015261267b60a084016125cd565b60a082015261268c60c084016125cd565b60c08201529392505050565b6020808252600b908201526a105b1c9958591e481cd95d60aa1b604082015260600190565b61ffff828116828216039080821115611f0457611f0461256b565b80820281158282048414176108b5576108b561256b565b5f8261270957634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561271e575f80fd5b8151610fbd81612348565b61ffff818116838216019080821115611f0457611f0461256b565b85815284602082015260a060408201525f61276260a0830186612416565b6001600160a01b0394909416606083015250608001529392505050565b5f805f60608486031215612791575f80fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220ebdc2b9c341fd4e036f32ccf8274f7ef0a037dd8ac69f41c083a86d4b2438d7f64736f6c634300081900330000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000681d8b1941fa394807bf896429adad01f30c218f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000036ffd962803a54ac4ae82ee39523c832eaf3a40000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000002710

Deployed Bytecode

0x60806040526004361061022b575f3560e01c806370a0823111610129578063adf18693116100a8578063e55096b01161006d578063e55096b01461078b578063e63a391f146107aa578063f2fde38b146107bf578063f4232d25146107de578063fccc2813146107fd575f80fd5b8063adf18693146106cc578063b3c6e9ee146106eb578063bc063e1a14610700578063c31c9c0714610728578063dd62ed3e14610747575f80fd5b806394b8a703116100ee57806394b8a703146105ab57806395d89b41146105df57806398c47e8c146105f35780639b61f1d01461068d578063a9059cbb146106ad575f80fd5b806370a0823114610508578063715018a61461053c57806372bc5583146105505780637f5bbb2c1461056f5780638da5cb5b1461058e575f80fd5b80632b46c6a4116101b5578063412736571161017a578063412736571461043d5780634569c4451461045c578063490e51471461047b5780634fbee1931461049a5780636f741f2a146104d1575f80fd5b80632b46c6a414610377578063313ce567146103a35780633502628a146103e05780633935ebf9146103ff5780633b90b9bf1461041e575f80fd5b80630f569dad116101fb5780630f569dad146102cf57806318160ddd146102ee5780631fa67b4d1461030257806323b872dd1461032157806326991cc814610340575f80fd5b806301a6c43b1461023657806306fdde031461025e578063095ea7b31461027f5780630a4e42ef146102ae575f80fd5b3661023257005b5f80fd5b348015610241575f80fd5b5061024b600d5481565b6040519081526020015b60405180910390f35b348015610269575f80fd5b50610272610812565b6040516102559190612313565b34801561028a575f80fd5b5061029e61029936600461235c565b6108a2565b6040519015158152602001610255565b3480156102b9575f80fd5b506102cd6102c8366004612386565b6108bb565b005b3480156102da575f80fd5b506102cd6102e93660046123a6565b610926565b3480156102f9575f80fd5b5060025461024b565b34801561030d575f80fd5b506102cd61031c3660046123bd565b610933565b34801561032c575f80fd5b5061029e61033b3660046123d8565b610947565b34801561034b575f80fd5b50600b5461035f906001600160a01b031681565b6040516001600160a01b039091168152602001610255565b348015610382575f80fd5b50610396610391366004612386565b61096a565b6040516102559190612459565b3480156103ae575f80fd5b5060405160ff7f0000000000000000000000000000000000000000000000000000000000000012168152602001610255565b3480156103eb575f80fd5b506102cd6103fa36600461235c565b610a41565b34801561040a575f80fd5b50600c5461035f906001600160a01b031681565b348015610429575f80fd5b5061029e6104383660046123bd565b610a53565b348015610448575f80fd5b506102cd6104573660046123bd565b610a5f565b348015610467575f80fd5b506102cd61047636600461247f565b610a70565b348015610486575f80fd5b506102cd6104953660046124a9565b610b2a565b3480156104a5575f80fd5b5061029e6104b43660046123bd565b6001600160a01b03165f908152600f602052604090205460ff1690565b3480156104dc575f80fd5b5061029e6104eb3660046123bd565b6001600160a01b03165f9081526010602052604090205460ff1690565b348015610513575f80fd5b5061024b6105223660046123bd565b6001600160a01b03165f9081526020819052604090205490565b348015610547575f80fd5b506102cd610b49565b34801561055b575f80fd5b506102cd61056a3660046123bd565b610b5c565b34801561057a575f80fd5b506102cd6105893660046124bf565b610b86565b348015610599575f80fd5b506005546001600160a01b031661035f565b3480156105b6575f80fd5b5061024b6105c53660046123bd565b6001600160a01b03165f9081526008602052604090205490565b3480156105ea575f80fd5b50610272610bde565b3480156105fe575f80fd5b50600e5461064b9060ff81169061ffff610100820481169163010000008104821691650100000000008204811691600160381b8104821691600160481b8204811691600160581b90041687565b60408051971515885261ffff968716602089015294861694870194909452918416606086015283166080850152821660a08401521660c082015260e001610255565b348015610698575f80fd5b50600c5461029e90600160a81b900460ff1681565b3480156106b8575f80fd5b5061029e6106c736600461235c565b610bed565b3480156106d7575f80fd5b506102cd6106e63660046124d8565b610bfa565b3480156106f6575f80fd5b5061024b60095481565b34801561070b575f80fd5b506107156107d081565b60405161ffff9091168152602001610255565b348015610733575f80fd5b50600a5461035f906001600160a01b031681565b348015610752575f80fd5b5061024b610761366004612502565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b348015610796575f80fd5b506102cd6107a53660046124d8565b610c0c565b3480156107b5575f80fd5b5061071561271081565b3480156107ca575f80fd5b506102cd6107d93660046123bd565b610c1e565b3480156107e9575f80fd5b506102cd6107f836600461235c565b610c58565b348015610808575f80fd5b5061035f61dead81565b60606003805461082190612539565b80601f016020809104026020016040519081016040528092919081815260200182805461084d90612539565b80156108985780601f1061086f57610100808354040283529160200191610898565b820191905f5260205f20905b81548152906001019060200180831161087b57829003601f168201915b5050505050905090565b5f336108af818585610c6a565b60019150505b92915050565b6108c3610c77565b305f908152602081905260409020548211156109185760405162461bcd60e51b815260206004820152600f60248201526e082dadeeadce840e8dede40d0d2ced608b1b60448201526064015b60405180910390fd5b6109228282610ca4565b5050565b61092e610c77565b600d55565b61093b610c77565b61094481610e07565b50565b5f33610954858285610ed1565b61095f858585610f4c565b506001949350505050565b606081836109786006610fa9565b610982919061257f565b8111156109a157836109946006610fa9565b61099e919061257f565b90505b5f8167ffffffffffffffff8111156109bb576109bb612592565b6040519080825280602002602001820160405280156109e4578160200160208202803683370190505b5090505f5b82811015610a3857610a066109fe82886125a6565b600690610fb2565b828281518110610a1857610a186125b9565b6001600160a01b03909216602092830291909101909101526001016109e9565b50949350505050565b610a49610c77565b6109228282610fc4565b5f6108b56006836110d3565b610a67610c77565b610944816110f4565b610a78610c77565b8015610ad657305f90815260208190526040902054821115610ad15760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b604482015260640161090f565b610b1b565b81471015610b1b5760405162461bcd60e51b81526020600482015260126024820152714e6f7420656e6f7567682062616c616e636560701b604482015260640161090f565b610b258282611425565b505050565b610b32610c77565b610944610b44368390038301836125de565b61156c565b610b51610c77565b610b5a5f611843565b565b610b64610c77565b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b610b8e610c77565b801515600c60159054906101000a900460ff16151503610bc05760405162461bcd60e51b815260040161090f90612698565b600c8054911515600160a81b0260ff60a81b19909216919091179055565b60606004805461082190612539565b5f336108af818585610f4c565b610c02610c77565b6109228282611894565b610c14610c77565b610922828261192a565b610c26610c77565b6001600160a01b038116610c4f57604051631e4fbdf760e01b81525f600482015260240161090f565b61094481611843565b610c60610c77565b61092282826119c0565b610b258383836001611af4565b6005546001600160a01b03163314610b5a5760405163118cdaa760e01b815233600482015260240161090f565b600c805460ff60a01b1916600160a01b179055305f908152602081905260408120549050828110610df457600e545f90610ceb90600160381b900461ffff166127106126bd565b600e5461ffff91821691610d0791600160481b900416866126d8565b610d1191906126ef565b90505f610d1f6002836126ef565b90505f610d2c838761257f565b90505f610d39838561257f565b600e5490915060ff16610d5357610d5082826125a6565b90505b8015610dc757600b546001600160a01b03165f908152602081905260409020545f03610d83575050505050610df6565b47610d8e8288611bc6565b5f610d99824761257f565b90505f83610da787846126d8565b610db191906126ef565b90508015610dc357610dc38682611d17565b5050505b600e5460ff1615610de357610ddd826001611425565b50610def565b610ded475f611425565b505b505050505b505b5050600c805460ff60a01b19169055565b610e126006826110d3565b610e525760405162461bcd60e51b81526020600482015260116024820152702737ba103332b29031b7b63632b1ba37b960791b604482015260640161090f565b610e5d600682611dc8565b506001600160a01b0381165f908152600860205260408120546009805491929091610e8990849061257f565b90915550506001600160a01b0381165f81815260086020526040808220829055517f904316769e154356a5e4aad5d41591b55913c7717fab281d818c1fed7d80e8149190a250565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610f465781811015610f3857604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161090f565b610f4684848484035f611af4565b50505050565b6001600160a01b038316610f7557604051634b637e8f60e11b81525f600482015260240161090f565b6001600160a01b038216610f9e5760405163ec442f0560e01b81525f600482015260240161090f565b610b25838383611ddc565b5f6108b5825490565b5f610fbd8383611de7565b9392505050565b610fcf6006836110d3565b156110145760405162461bcd60e51b815260206004820152601560248201527420b63932b0b23c903332b29031b7b63632b1ba37b960591b604482015260640161090f565b5f81116110535760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420736861726560981b604482015260640161090f565b61105e600683611e0d565b506001600160a01b0382165f9081526008602052604081208290556009805483929061108b9084906125a6565b90915550506040518181526001600160a01b038316907f918584c21fe4a093f5014c0dabaed3e43b642781e27984aef122cae8245fbb23906020015b60405180910390a25050565b6001600160a01b0381165f9081526001830160205260408120541515610fbd565b6001600160a01b03811661113b5760405162461bcd60e51b815260206004820152600e60248201526d24b73b30b634b2103937baba32b960911b604482015260640161090f565b600a80546001600160a01b0319166001600160a01b0383169081179091556040805163c45a015560e01b815290515f929163c45a01559160048083019260209291908290030181865afa158015611194573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906111b8919061270e565b90506001600160a01b0381166112025760405162461bcd60e51b815260206004820152600f60248201526e496e76616c696420666163746f727960881b604482015260640161090f565b600a54604080516315ab88c960e31b815290515f926001600160a01b03169163ad5c46489160048083019260209291908290030181865afa158015611249573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061126d919061270e565b60405163e6a4390560e01b81523060048201526001600160a01b0380831660248301529192509083169063e6a4390590604401602060405180830381865afa1580156112bb573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112df919061270e565b600b80546001600160a01b0319166001600160a01b03929092169182179055611392576040516364e329cb60e11b81523060048201526001600160a01b03828116602483015283169063c9c65396906044016020604051808303815f875af115801561134d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611371919061270e565b600b80546001600160a01b0319166001600160a01b03929092169190911790555b600b546001600160a01b03166113e25760405162461bcd60e51b815260206004820152601560248201527424b73b30b634b2103830b4b91030b2323932b9b99760591b604482015260640161090f565b600b54600a546040516001600160a01b0392831692909116907fca394f95d8dbf1e8b2e76b9a8da90cacce1da85181a65508dab13212dc1df53b905f90a3505050565b5f825f0361143457505f6108b5565b6009545f0361144457505f6108b5565b5f806114506006610fa9565b90505f5b81811015611560575f611468600683610fb2565b90505f61147660018561257f565b83146114b0576009546001600160a01b0383165f908152600860205260409020546114a1908a6126d8565b6114ab91906126ef565b6114ba565b6114ba858961257f565b905086156114d2576114cd308383610f4c565b611507565b6040516001600160a01b0383169082156108fc029083905f818181858888f19350505050158015611505573d5f803e3d5ffd5b505b816001600160a01b03167f06c5efeff5c320943d265dc4e5f1af95ad523555ce0c1957e367dda5514572df8260405161154291815260200190565b60405180910390a261155481866125a6565b94505050600101611454565b50600195945050505050565b6107d061ffff16816020015161ffff1611156115bc5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206275792066656560881b604482015260640161090f565b6107d061ffff16816040015161ffff16111561160d5760405162461bcd60e51b815260206004820152601060248201526f496e76616c69642073656c6c2066656560801b604482015260640161090f565b6107d061ffff16816060015161ffff1611156116625760405162461bcd60e51b8152602060048201526014602482015273496e76616c6964207472616e736665722066656560601b604482015260640161090f565b5f8160c001518260a00151836080015161167c9190612729565b6116869190612729565b905061ffff8116158061169e575061ffff8116612710145b6116de5760405162461bcd60e51b8152602060048201526011602482015270496e76616c69642066656520736861726560781b604482015260640161090f565b8151600e805460208501516040808701516060880151608089015160a08a015160c08b015161ffff908116600160581b0261ffff60581b19928216600160481b026affff00000000000000000019948316600160381b02949094166affffffff0000000000000019958316650100000000000266ffff0000000000199784166301000000029790971666ffffffff00000019939099166101000262ffff00199c15159c909c1662ffffff19909a16999099179a909a1716959095179290921716939093179290921716929092179055517ff34b49a91d91598b7774795175736ebf4db4fa5a4edf72772cf50fb27c135efd906118379084905f60e082019050825115158252602083015161ffff80821660208501528060408601511660408501528060608601511660608501528060808601511660808501528060a08601511660a08501528060c08601511660c0850152505092915050565b60405180910390a15050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382165f908152600f602052604090205481151560ff9091161515036118d35760405162461bcd60e51b815260040161090f90612698565b6001600160a01b0382165f818152600f6020908152604091829020805460ff191685151590811790915591519182527f3499bfcf9673677ba552f3fe2ea274ec7e6246da31c3c87e115b45a9b0db2efb91016110c7565b6001600160a01b0382165f9081526010602052604090205481151560ff9091161515036119695760405162461bcd60e51b815260040161090f90612698565b6001600160a01b0382165f81815260106020908152604091829020805460ff191685151590811790915591519182527f902b2ea0acdec5a260e398590d055fe29bd61ef5dd41e45db54a4cd98d5569e091016110c7565b6119cb6006836110d3565b611a0b5760405162461bcd60e51b81526020600482015260116024820152702737ba103332b29031b7b63632b1ba37b960791b604482015260640161090f565b5f8111611a4a5760405162461bcd60e51b815260206004820152600d60248201526c496e76616c696420736861726560981b604482015260640161090f565b6001600160a01b0382165f908152600860205260408120546009805491928392611a7590849061257f565b90915550506001600160a01b0383165f90815260086020526040812083905560098054849290611aa69084906125a6565b909155505060408051828152602081018490526001600160a01b038516917fd350c3685bdab1285c0b97ffb6e96d96ed0ad4578a135c38250e771e7cb831aa910160405180910390a2505050565b6001600160a01b038416611b1d5760405163e602df0560e01b81525f600482015260240161090f565b6001600160a01b038316611b4657604051634a1406b160e11b81525f600482015260240161090f565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610f4657826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051611bb891815260200190565b60405180910390a350505050565b6040805160028082526060820183525f9260208301908036833701905050905030815f81518110611bf957611bf96125b9565b6001600160a01b03928316602091820292909201810191909152600a54604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611c50573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611c74919061270e565b81600181518110611c8757611c876125b9565b6001600160a01b039283166020918202929092010152600a54611cad9130911685610c6a565b600a5460405163791ac94760e01b81526001600160a01b039091169063791ac94790611ce59086908690869030904290600401612744565b5f604051808303815f87803b158015611cfc575f80fd5b505af1158015611d0e573d5f803e3d5ffd5b50505050505050565b600a54611d2f9030906001600160a01b031684610c6a565b600a54600c5460405163f305d71960e01b8152306004820152602481018590525f6044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015611d9c573d5f803e3d5ffd5b50505050506040513d601f19601f82011682018060405250810190611dc1919061277f565b5050505050565b5f610fbd836001600160a01b038416611e21565b610b25838383611f0b565b5f825f018281548110611dfc57611dfc6125b9565b905f5260205f200154905092915050565b5f610fbd836001600160a01b0384166121a1565b5f8181526001830160205260408120548015611efb575f611e4360018361257f565b85549091505f90611e569060019061257f565b9050808214611eb5575f865f018281548110611e7457611e746125b9565b905f5260205f200154905080875f018481548110611e9457611e946125b9565b5f918252602080832090910192909255918252600188019052604090208390555b8554869080611ec657611ec66127aa565b600190038181905f5260205f20015f90559055856001015f8681526020019081526020015f205f9055600193505050506108b5565b5f9150506108b5565b5092915050565b5f8111611f4a5760405162461bcd60e51b815260206004820152600d60248201526c05472616e73666572203c3d203609c1b604482015260640161090f565b600c545f908190600160a01b900460ff16158015611f715750600c54600160a81b900460ff165b90505f611f95866001600160a01b03165f9081526010602052604090205460ff1690565b90505f611fb9866001600160a01b03165f9081526010602052604090205460ff1690565b600c54909150600160a01b900460ff166120b7576001600160a01b038781165f908152600f602052604080822054928916825290205460ff9182169116838015612001575082155b801561200b575080155b80156120255750600a546001600160a01b03898116911614155b1561203d57600e54610100900461ffff1695506120b4565b828015612048575081155b8015612052575080155b1561206c57600e546301000000900461ffff1695506120b4565b83158015612078575082155b80156120925750600a546001600160a01b038a8116911614155b801561209c575081155b156120b457600e5465010000000000900461ffff1695505b50505b8280156120c357505f84115b80156120cc5750805b156120f557305f90815260208190526040902054600d5481106120f3576120f3815f610ca4565b505b8315612196575f61271061210986886126d8565b61211391906126ef565b90505f612120828861257f565b600e549091505f906127109061214190600160381b900461ffff16856126d8565b61214b91906126ef565b9050801561216c5761215d818461257f565b925061216c8a61dead836121ed565b821561217d5761217d8a30856121ed565b811561218e5761218e8a8a846121ed565b505050611d0e565b611d0e8787876121ed565b5f8181526001830160205260408120546121e657508154600181810184555f8481526020808220909301849055845484825282860190935260409020919091556108b5565b505f6108b5565b6001600160a01b038316612217578060025f82825461220c91906125a6565b909155506122879050565b6001600160a01b0383165f90815260208190526040902054818110156122695760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161090f565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166122a3576002805482900390556122c1565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161230691815260200190565b60405180910390a3505050565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b0381168114610944575f80fd5b5f806040838503121561236d575f80fd5b823561237881612348565b946020939093013593505050565b5f8060408385031215612397575f80fd5b50508035926020909101359150565b5f602082840312156123b6575f80fd5b5035919050565b5f602082840312156123cd575f80fd5b8135610fbd81612348565b5f805f606084860312156123ea575f80fd5b83356123f581612348565b9250602084013561240581612348565b929592945050506040919091013590565b5f815180845260208085019450602084015f5b8381101561244e5781516001600160a01b031687529582019590820190600101612429565b509495945050505050565b602081525f610fbd6020830184612416565b8035801515811461247a575f80fd5b919050565b5f8060408385031215612490575f80fd5b823591506124a06020840161246b565b90509250929050565b5f60e082840312156124b9575f80fd5b50919050565b5f602082840312156124cf575f80fd5b610fbd8261246b565b5f80604083850312156124e9575f80fd5b82356124f481612348565b91506124a06020840161246b565b5f8060408385031215612513575f80fd5b823561251e81612348565b9150602083013561252e81612348565b809150509250929050565b600181811c9082168061254d57607f821691505b6020821081036124b957634e487b7160e01b5f52602260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b818103818111156108b5576108b561256b565b634e487b7160e01b5f52604160045260245ffd5b808201808211156108b5576108b561256b565b634e487b7160e01b5f52603260045260245ffd5b803561ffff8116811461247a575f80fd5b5f60e082840312156125ee575f80fd5b60405160e0810181811067ffffffffffffffff8211171561261d57634e487b7160e01b5f52604160045260245ffd5b6040526126298361246b565b8152612637602084016125cd565b6020820152612648604084016125cd565b6040820152612659606084016125cd565b606082015261266a608084016125cd565b608082015261267b60a084016125cd565b60a082015261268c60c084016125cd565b60c08201529392505050565b6020808252600b908201526a105b1c9958591e481cd95d60aa1b604082015260600190565b61ffff828116828216039080821115611f0457611f0461256b565b80820281158282048414176108b5576108b561256b565b5f8261270957634e487b7160e01b5f52601260045260245ffd5b500490565b5f6020828403121561271e575f80fd5b8151610fbd81612348565b61ffff818116838216019080821115611f0457611f0461256b565b85815284602082015260a060408201525f61276260a0830186612416565b6001600160a01b0394909416606083015250608001529392505050565b5f805f60608486031215612791575f80fd5b8351925060208401519150604084015190509250925092565b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220ebdc2b9c341fd4e036f32ccf8274f7ef0a037dd8ac69f41c083a86d4b2438d7f64736f6c63430008190033

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

0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000000000000000000000000000681d8b1941fa394807bf896429adad01f30c218f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002710000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000000100000000000000000000000036ffd962803a54ac4ae82ee39523c832eaf3a40000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000002710

-----Decoded View---------------
Arg [0] : initialSupply_ (uint256): 1000000000000000000000000000
Arg [1] : feeReceiver_ (address): 0x681d8B1941FA394807Bf896429adaD01f30c218F
Arg [2] : swapRouter_ (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [3] : feeConfiguration_ (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [4] : collectors_ (address[]): 0x36fFD962803A54aC4Ae82EE39523c832eaF3A400
Arg [5] : shares_ (uint256[]): 10000

-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [1] : 000000000000000000000000681d8b1941fa394807bf896429adad01f30c218f
Arg [2] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000002710
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [11] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [13] : 00000000000000000000000036ffd962803a54ac4ae82ee39523c832eaf3a400
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [15] : 0000000000000000000000000000000000000000000000000000000000002710


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.