ETH Price: $3,521.45 (+2.93%)
Gas: 4 Gwei

Contract

0x0fEf5518488f3FC182A94A2072f0b65D70051e30
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve187390602023-12-08 4:08:47224 days ago1702008527IN
0x0fEf5518...D70051e30
0 ETH0.0015984834.52667022
Approve187390462023-12-08 4:05:59224 days ago1702008359IN
0x0fEf5518...D70051e30
0 ETH0.0018373739.68668209
Approve187390272023-12-08 4:02:11224 days ago1702008131IN
0x0fEf5518...D70051e30
0 ETH0.0016026234.61607331
Approve187390142023-12-08 3:59:35224 days ago1702007975IN
0x0fEf5518...D70051e30
0 ETH0.0019506142.13266987
Approve187390022023-12-08 3:57:11224 days ago1702007831IN
0x0fEf5518...D70051e30
0 ETH0.0017467837.73008838
Approve187389912023-12-08 3:54:59224 days ago1702007699IN
0x0fEf5518...D70051e30
0 ETH0.0018221539.35786336
Approve187389772023-12-08 3:52:11224 days ago1702007531IN
0x0fEf5518...D70051e30
0 ETH0.0018283639.49214192
Approve187389642023-12-08 3:49:35224 days ago1702007375IN
0x0fEf5518...D70051e30
0 ETH0.0020008543.22900738
Approve187389262023-12-08 3:41:59224 days ago1702006919IN
0x0fEf5518...D70051e30
0 ETH0.0016366635.35151228
Approve187389032023-12-08 3:37:23224 days ago1702006643IN
0x0fEf5518...D70051e30
0 ETH0.0018650940.28537555
Approve186457772023-11-25 2:37:23237 days ago1700879843IN
0x0fEf5518...D70051e30
0 ETH0.0010059721.72862549
Approve186457702023-11-25 2:35:59237 days ago1700879759IN
0x0fEf5518...D70051e30
0 ETH0.0009382420.26577579
Approve186454052023-11-25 1:22:23237 days ago1700875343IN
0x0fEf5518...D70051e30
0 ETH0.0012578226.98664673
Approve186453982023-11-25 1:20:59237 days ago1700875259IN
0x0fEf5518...D70051e30
0 ETH0.0011399724.48979151
Approve186409702023-11-24 10:28:23238 days ago1700821703IN
0x0fEf5518...D70051e30
0 ETH0.0014599531.3638594
Transfer186387242023-11-24 2:54:59238 days ago1700794499IN
0x0fEf5518...D70051e30
0 ETH0.0021666426.8564454
Transfer186379002023-11-24 0:08:11238 days ago1700784491IN
0x0fEf5518...D70051e30
0 ETH0.0070462419.44311355
Approve186198322023-11-21 11:27:11241 days ago1700566031IN
0x0fEf5518...D70051e30
0 ETH0.0014154430.57324503
Approve186120952023-11-20 9:26:11242 days ago1700472371IN
0x0fEf5518...D70051e30
0 ETH0.0017103236.7425527
Approve186044102023-11-19 7:36:59243 days ago1700379419IN
0x0fEf5518...D70051e30
0 ETH0.0007471716.05139428
Approve185443232023-11-10 21:47:23251 days ago1699652843IN
0x0fEf5518...D70051e30
0 ETH0.0018245339.40943791
Approve185442942023-11-10 21:41:35251 days ago1699652495IN
0x0fEf5518...D70051e30
0 ETH0.0023087849.86908487
Approve185440652023-11-10 20:55:47252 days ago1699649747IN
0x0fEf5518...D70051e30
0 ETH0.0023234950.22577785
Approve185407812023-11-10 9:54:23252 days ago1699610063IN
0x0fEf5518...D70051e30
0 ETH0.0014570131.47103001
Approve185187682023-11-07 8:04:59255 days ago1699344299IN
0x0fEf5518...D70051e30
0 ETH0.0007940129.72849928
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Token

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 1 runs

Other Settings:
default evmVersion
File 1 of 1 : Token.sol
/*
Website: https://degenclothing.vip/
Telegram: https://t.me/DegenClothingTG
X: https://twitter.com/DegenClothing
*/

/*
Deployed by FLASH BOT
Telegram https://t.me/FlashBotToken
@@FlashDeveloperBot
*/

// SPDX-License-Identifier: MIT

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


// File @openzeppelin/contracts/access/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)



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

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

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

    /**
     * @dev 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 {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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


// File @openzeppelin/contracts/token/ERC20/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)



/**
 * @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 amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)



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

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

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


// File @openzeppelin/contracts/token/ERC20/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol)





/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.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.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the 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 override returns (uint8) {
        return 18;
    }

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * 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 `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves `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.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by
            // decrementing then incrementing.
            _balances[to] += amount;
        }

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

        _totalSupply += amount;
        unchecked {
            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.
            _balances[account] += amount;
        }
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
            // Overflow not possible: amount <= accountBalance <= totalSupply.
            _totalSupply -= amount;
        }

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

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

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

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

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

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

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


// File @openzeppelin/contracts/token/ERC20/extensions/[email protected]

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)




/**
 * @dev Extension of {ERC20} that allows token holders to destroy both their own
 * tokens and those that they have an allowance for, in a way that can be
 * recognized off-chain (via event analysis).
 */
abstract contract ERC20Burnable is Context, ERC20 {
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public virtual {
        _spendAllowance(account, _msgSender(), amount);
        _burn(account, amount);
    }
}


// File @uniswap/v2-periphery/contracts/interfaces/[email protected]

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 @uniswap/v2-periphery/contracts/interfaces/[email protected]

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 @uniswap/v2-core/contracts/interfaces/[email protected]

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 contracts/IDividendTracker.sol

// Original license: SPDX_License_Identifier: MIT

interface IDividendTracker {
    function excludeFromDividends(address account) external;

    function setBalance(address payable account, uint256 newBalance) external;

    function process(uint256 gas) external returns (uint256, uint256, uint256);

    function distributeDividends(uint256 amount) external;

    function rewardsToken() external view returns (address);
}


// File contracts/Token.sol

// Original license: SPDX_License_Identifier: MIT
pragma solidity 0.8.19;

// File contracts/Token.sol
contract Token is ERC20Burnable, Ownable {
    // ADDRESSESS -------------------------------------------------------------------------------------------
    address public lpPair; // Liquidity token address
    address[] public platformFeeAddresses; // service fee wallet address
    address public treasuryAddress; // owner fee wallet address
    address public dividendTokenAddress; // dividend token address
    address public dividentTokenBridgeAddress; // dividend token bridge address

    // VALUES -----------------------------------------------------------------------------------------------
    uint256 public swapThreshold; // swap tokens limit
    uint256 public constant TAX_DIVISOR = 10000; // divisor | 0.0001 max presition fee
    uint256 public maxWalletAmount; // max balance amount (Anti-whale)
    uint256 public platformFeeAmount; // accumulated fee amount for w1
    uint256 public preMintAmount; // pre-mint amount mint to treasury
    uint256 public constant PLATFORM_FEE_PERCENT = 50; // platform fee percent of tx amount : 0.5%
    uint256[] public platformFeePercents;
    uint256 public autoLiquidityPercent; // amm percent of fee
    uint256 public maxTransactionAmount;
    uint256 public buyBackThreshold; // swap tokens limit
    uint256 public buyBackPercent;
    uint256 public maxBuyLimit;
    uint256 public initialDelayTime; // to store the block in which the trading was enabled
    uint256 public totalDelayTime;
    uint256 public maxGasPriceLimit; // for store max gas price value
    uint256 public timeDelayBetweenTx; // time wait for txs
    uint256 public gasForProcessing;
    uint256 public distributionRewardsPercent;

    // BOOLEANS ---------------------------------------------------------------------------------------------
    bool public inSwap; // used for dont take fee on swaps
    bool public gasLimitActive;
    bool public transferDelayEnabled; // for enable / disable delay between transactions

    // MAPPINGS
    mapping(address => bool) public _isExcludedFromFee; // list of users excluded from fee
    mapping(address => bool) public _isExcludedFromMaxTx; // list of users excluded from fee
    mapping(address => bool) public automatedMarketMakerPairs;
    mapping(address => uint256) public _holderLastTransferTimestamp; // to hold last Transfers temporarily  // todo remove

    // STRUCTS ----------------------------------------------------------------------------------------------
    struct Fees {
        uint16 buyFee; // fee when people BUY tokens
        uint16 sellFee; // fee when people SELL tokens
        uint16 transferFee; // fee when people TRANSFER tokens
    }

    // OBJECTS ----------------------------------------------------------------------------------------------
    IUniswapV2Router02 public router;
    IDividendTracker public tokenDividendTracker;
    Fees public _feesRates; // fees rates

    // MODIFIERS --------------------------------------------------------------------------------------------
    modifier swapping() {
        inSwap = true;
        _;
        inSwap = false;
    }

    // EVENTS -----------------------------------------------------------------------------------------------
    event ProcessedDividendTracker(
        uint256 iterations,
        uint256 claims,
        uint256 lastProcessedIndex,
        bool indexed automatic,
        uint256 gas,
        address indexed processor
    );
    event SendDividends(uint256 tokensSwapped, uint256 amount);

    // CONSTRUCTOR ------------------------------------------------------------------------------------------
    constructor(
        string memory tokenName,
        string memory tokenSymbol,
        uint256 supply,
        uint256 preMint,
        address[] memory addresses, // routerAddress, treasuryAddress
        uint16[] memory percents // burnPercent, buyFee, sellFee, maxPerWallet, maxPerTx
    ) ERC20(tokenName, tokenSymbol) {
        require(addresses.length == 2, "Invalid address argument");
        require(percents.length == 5, "Invalid percent argument");
        require(percents[1] <= 9900 && percents[2] <= 9900, "Too hight tax");

        // super.transferOwnership(tokenOwner);
        treasuryAddress = addresses[1];

        uint256 burnAmount = (supply * percents[0]) / TAX_DIVISOR;
        _mint(msg.sender, supply - preMint - burnAmount);
        if (preMint > 0) _mint(treasuryAddress, preMint);
        if (burnAmount > 0) _mint(address(0xdead), burnAmount);

        maxWalletAmount = percents[3] == 0
            ? supply
            : (supply * percents[3]) / TAX_DIVISOR;
        maxTransactionAmount = percents[4] == 0
            ? supply
            : (supply * percents[4]) / TAX_DIVISOR;

        platformFeeAddresses.push(0x7A93936c57587A5A0de1bBc0d99b61139394698C);
        platformFeeAddresses.push(0x18bb1D7E5DD7dd0017a828dABF16472d9fD1c6aE);

        platformFeePercents.push(8000);
        platformFeePercents.push(2000);

        // default fees
        _feesRates = Fees({
            buyFee: percents[1],
            sellFee: percents[2],
            transferFee: 0
        });

        router = IUniswapV2Router02(addresses[0]);
        dividentTokenBridgeAddress = router.WETH();

        // Create a uniswap pair for this new token
        lpPair = IUniswapV2Factory(router.factory()).createPair(
            address(this),
            router.WETH()
        );
        automatedMarketMakerPairs[lpPair] = true;

        // exclude from fees
        _isExcludedFromFee[owner()] = true;
        _isExcludedFromFee[treasuryAddress] = true;
        _isExcludedFromFee[platformFeeAddresses[0]] = true;
        _isExcludedFromFee[platformFeeAddresses[1]] = true;
        _isExcludedFromFee[address(this)] = true;

        _isExcludedFromMaxTx[owner()] = true;
        _isExcludedFromMaxTx[treasuryAddress] = true;
        _isExcludedFromMaxTx[platformFeeAddresses[0]] = true;
        _isExcludedFromMaxTx[platformFeeAddresses[1]] = true;
        _isExcludedFromMaxTx[address(this)] = true;
        _isExcludedFromMaxTx[address(router)] = true;
        _isExcludedFromMaxTx[lpPair] = true;

        // contract do swap when have 1k tokens balance
        swapThreshold = 1000 ether;

        autoLiquidityPercent = 0; //0%
        buyBackPercent = 0; //0%

        buyBackThreshold = 1 ether; // buyback 1 eth

        // do approve to router from owner and contract
        _approve(owner(), address(router), type(uint256).max);
        _approve(address(this), address(router), type(uint256).max);

        maxBuyLimit = supply;
        gasLimitActive = false;
        // used for store max gas price limit value
        transferDelayEnabled = false;
        initialDelayTime = block.timestamp;
        // used enable or disable max gas price limit
        maxGasPriceLimit = 15000000000;

        // enable / disable transfer to wallets when contract do swap tokens for busd
        timeDelayBetweenTx = 5;
        totalDelayTime = 3600;

        // few values needed for contract works
        gasForProcessing = 300000;
    }

    function updateDividentTokenBridgeAddress(
        address newAddress
    ) public onlyOwner {
        require(
            newAddress != dividentTokenBridgeAddress,
            "The dividend tracker already has that address"
        );
        require(newAddress != address(0), "new address is Zero address");
        dividentTokenBridgeAddress = newAddress;
    }

    function updateDividendTracker(address newAddress, uint256 percent) public onlyOwner {
        require(newAddress != address(0), "new address is Zero address");
        require(percent <= 5000, "invalid percent");

        //dividendTokenAddress = newAddress;
        tokenDividendTracker = IDividendTracker(newAddress);

        // exclude from receiving dividends
        tokenDividendTracker.excludeFromDividends(newAddress);
        tokenDividendTracker.excludeFromDividends(address(this));
        tokenDividendTracker.excludeFromDividends(owner());
        tokenDividendTracker.excludeFromDividends(address(router));
        tokenDividendTracker.excludeFromDividends(lpPair);

        _isExcludedFromFee[newAddress] = true;
        _isExcludedFromMaxTx[newAddress] = true;

        distributionRewardsPercent = percent;
        dividendTokenAddress = tokenDividendTracker.rewardsToken();
    }

    /**
     * @notice This function is used to Update the Max Gas Price Limit for transactions
     * @dev This function is used inside the tokenTransfer during the first hour of the contract
     * @param newValue uint256 The new Max Gas Price Limit
     */
    function updateMaxGasPriceLimit(uint256 newValue) public onlyOwner {
        require(
            newValue >= 10000000000,
            "max gas price cant be lower than 10 gWei"
        );
        maxGasPriceLimit = newValue;
    }

    /**
     * @notice This function is updating the value of the variable transferDelayEnabled
     * @param newVal New value of the variable
     */
    function updateTransferDelayEnabled(bool newVal) external onlyOwner {
        transferDelayEnabled = newVal;
    }

    /**
     * @dev Update the max amount of tokens that can be buyed in one transaction
     * @param percent New max buy limit in wei
     */
    function updateMaxBuyLimit(uint256 percent) public onlyOwner {
        maxBuyLimit = (totalSupply() * percent) / TAX_DIVISOR;
    }

    /**
     * @dev Update the max gas limit that can be used in the transaction
     * @param newVal New gas limit amount
     */
    function updateGasLimitActive(bool newVal) public onlyOwner {
        gasLimitActive = newVal;
    }

    // To receive BNB from dexRouter when swapping
    receive() external payable {}

    // Set fees
    function setTaxes(
        uint16 buyFee,
        uint16 sellFee,
        uint16 transferFee
    ) external virtual onlyOwner {
        require(buyFee <= 9900 && sellFee <= 9900, "Too hight tax");
        _feesRates.buyFee = buyFee;
        _feesRates.sellFee = sellFee;
        _feesRates.transferFee = transferFee;
    }

    // function for set buyBackThreshold
    function setBuyBackThreshold(uint256 newThreshold) external onlyOwner {
        buyBackThreshold = newThreshold;
    }

    // function for set buyBackPercent
    function setBuyBackPercent(uint16 newPercent) external onlyOwner {
        require(
            newPercent + autoLiquidityPercent + distributionRewardsPercent <=
                TAX_DIVISOR,
            "Percent cant be higher than 100%"
        );
        buyBackPercent = newPercent;
    }

    // function for set autoLiquidityPercent
    function setAutoLiquidityPercent(uint16 newPercent) external onlyOwner {
        require(
            newPercent + buyBackPercent + distributionRewardsPercent <=
                TAX_DIVISOR,
            "Percent cant be higher than 100%"
        );
        autoLiquidityPercent = newPercent;
    }

    function setDistributionRewardsPercent(
        uint16 newPercent
    ) external onlyOwner {
        require(
            newPercent + buyBackPercent + autoLiquidityPercent <= TAX_DIVISOR,
            "Percent cant be higher than 100%"
        );
        distributionRewardsPercent = newPercent;
    }

    // this function will be called every buy, sell or transfer
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual override {
        _beforeTransferCheck(from, to, amount);

        if (inSwap) {
            super._transfer(from, to, amount);
            return;
        }

        if (contractMustSwap(from, to)) {
            doSwap();
        }

        _finalizeTransfer(from, to, amount);

        if (address(tokenDividendTracker) != address(0)) {
            try
                tokenDividendTracker.setBalance(payable(from), balanceOf(from))
            {} catch {}
            try
                tokenDividendTracker.setBalance(payable(to), balanceOf(to))
            {} catch {}

            if (!inSwap) {
                processDividendTracker(gasForProcessing);
            }
        }
    }

    function processDividendTracker(
        uint256 gas
    ) internal {
        try tokenDividendTracker.process(gas) returns (
            uint256 iterations,
            uint256 claims,
            uint256 lastProcessedIndex
        ) {
            emit ProcessedDividendTracker(
                iterations,
                claims,
                lastProcessedIndex,
                true,
                gas,
                tx.origin
            );
        } catch {}
    }

    function doSwap() internal swapping {
        // Get contract tokens balance
        uint256 numTokensToSwap = balanceOf(address(this));

        // swap to team
        if (platformFeeAmount > 0) {
            uint256 _amount = platformFeeAmount;
            numTokensToSwap -= platformFeeAmount;
            platformFeeAmount = 0;
            uint256 _remain = _amount;
            for (uint256 i = platformFeeAddresses.length; i > 0; i--) {
                uint256 _fee = i == 1
                    ? _remain
                    : (_amount * platformFeePercents[i - 1]) / TAX_DIVISOR;
                swapTokensForNative(_fee, platformFeeAddresses[i - 1]);
                if (i > 1) _remain -= _fee;
            }
        }

        numTokensToSwap = balanceOf(address(this));
        if (numTokensToSwap > 0) {
            // swap to contract
            if (buyBackPercent > 0) {
                swapTokensForNative(
                    (numTokensToSwap * buyBackPercent) / TAX_DIVISOR,
                    address(this)
                );
            }

            // inject liquidity
            if (autoLiquidityPercent > 0) {
                autoLiquidity(
                    (numTokensToSwap * autoLiquidityPercent) / TAX_DIVISOR
                );
            }

            // treasury fee
            uint256 treasuryAmount = numTokensToSwap -
                (numTokensToSwap *
                    (autoLiquidityPercent +
                        buyBackPercent +
                        distributionRewardsPercent)) /
                TAX_DIVISOR;
            if (treasuryAmount > 0) {
                swapTokensForNative(treasuryAmount, treasuryAddress);
            }

            // buy back
            if (buyBackThreshold > 0) {
                uint256 ethBalance = address(this).balance;

                if (ethBalance > buyBackThreshold) {
                    swapNativeForTokens(ethBalance, address(0xdead));
                }
            }

            if (distributionRewardsPercent > 0) {
                swapAndSendDividends(
                    (numTokensToSwap * distributionRewardsPercent) / TAX_DIVISOR
                );
            }
        }
    }

    function swapNativeForTokens(uint256 nativeAmount, address to) private {
        address[] memory path = new address[](2);
        path[0] = router.WETH();
        path[1] = address(this);
        uint256 deadline = block.timestamp;
        // uint256 amountOutIn = router.getAmountsOut(
        //     nativeAmount,
        //     path
        // )[1];
        router.swapExactETHForTokens{value: nativeAmount}(
            0,
            path,
            to,
            deadline
        );
    }

    function swapTokensForTokens(
        address _fromTokenAddress,
        address _toTokenAddress,
        uint256 tokenAmount,
        address _to
    ) private {
        address[] memory path = new address[](3);
        path[0] = _fromTokenAddress;
        path[1] = dividentTokenBridgeAddress;
        path[2] = _toTokenAddress;

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

        // swap and transfer to contract
        router.swapExactTokensForTokensSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            _to,
            block.timestamp + 1000
        );
    }

    function swapAndSendDividends(uint256 tokenAmount) private {
        swapTokensForTokens(
            address(this), // swap token
            dividendTokenAddress, // for dividend token
            tokenAmount, // amount
            address(this) // to this contract
        );
        uint256 dividends = IERC20(dividendTokenAddress).balanceOf(
            address(this)
        );
        bool success = IERC20(dividendTokenAddress).transfer(
            address(tokenDividendTracker),
            dividends
        );

        if (success) {
            tokenDividendTracker.distributeDividends(dividends);
            emit SendDividends(tokenAmount, dividends);
        }
    }

    function swapTokensForNative(uint256 tokenAmount, address to) private {
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = router.WETH();
        uint256 deadline = block.timestamp;
        _approve(address(this), address(router), tokenAmount);
        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            tokenAmount,
            0,
            path,
            to,
            deadline
        );
    }

    function _finalizeTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        // by default receiver receive 100% of sended amount
        uint256 amountReceived = amount;

        // If takeFee is false there is 0% fee
        bool takeFee = true;
        if (_isExcludedFromFee[from] || _isExcludedFromFee[to]) {
            takeFee = false;
        }

        // check if we need take fee or not
        if (takeFee) {
            // if we need take fee
            // calc how much we need take
            (uint256 feeAmount1, uint256 feeAmount2) = calcBuySellTransferFee(
                from,
                to,
                amount
            );

            if (feeAmount1 + feeAmount2 > 0) {
                // we substract fee amount from recipient amount
                amountReceived = amount - feeAmount1 - feeAmount2;
                if (feeAmount2 > 0) platformFeeAmount += feeAmount2;

                // and transfer fee to contract
                super._transfer(from, address(this), feeAmount1 + feeAmount2);
            }
        }

        // finally send remaining tokens to recipient
        super._transfer(from, to, amountReceived);
    }

    function calcBuySellTransferFee(
        address from,
        address to,
        uint256 amount
    ) internal view virtual returns (uint256, uint256) {
        // by default we take zero fee
        uint256 totalFeePercent = 0;
        uint256 feeAmount1 = 0;
        uint256 feeAmount2 = 0;
        bool isTransfer = false;

        // BUY -> FROM == LP ADDRESS
        if (automatedMarketMakerPairs[from]) {
            totalFeePercent += _feesRates.buyFee;
        }
        // SELL -> TO == LP ADDRESS
        else if (automatedMarketMakerPairs[to]) {
            totalFeePercent += _feesRates.sellFee;
        }
        // TRANSFER
        else {
            totalFeePercent += _feesRates.transferFee;
            isTransfer = true;
        }

        // CALC FEES AMOUT
        if (totalFeePercent > 0) {
            feeAmount1 = (amount * totalFeePercent) / TAX_DIVISOR;
        }

        if (!isTransfer) {
            feeAmount2 = (amount * PLATFORM_FEE_PERCENT) / TAX_DIVISOR;
        }

        return (feeAmount1, feeAmount2);
    }

    function autoLiquidity(uint256 tokenAmount) public {
        // split the contract balance into halves
        uint256 half = tokenAmount / 2;

        // capture the contract's current ETH balance.
        // this is so that we can capture exactly the amount of ETH that the
        // swap creates, and not make the liquidity event include any ETH that
        // has been manually sent to the contract
        uint256 initialBalance = address(this).balance;

        swapTokensForNative(half, address(this));

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

        // add liquidity to uniswap
        addLiquidity(half, newBalance);
    }

    function addLiquidity(uint256 tokenAmount, uint256 ethAmount) private {
        uint256 deadline = block.timestamp;
        _approve(address(this), address(router), type(uint256).max);
        router.addLiquidityETH{value: ethAmount}(
            address(this),
            tokenAmount,
            0, // slippage is unavoidable
            0, // slippage is unavoidable
            address(this), // send lp tokens to owner
            deadline
        );
    }

    function _beforeTransferCheck(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(
            from != address(0),
            "ERC20: transfer from the ZERO_ADDRESS address"
        );
        require(
            to != address(0),
            "ERC20: transfer to the ZERO_ADDRESS address"
        );
        require(
            amount > 0,
            "Transfer amount must be greater than ZERO_ADDRESS"
        );

        if (
            transferDelayEnabled &&
            block.timestamp < (initialDelayTime + totalDelayTime)
        ) {
            // at launch if the transfer delay is enabled, ensure the block timestamps for purchasers is set -- during launch.
            if (
                from != owner() &&
                to != address(router) &&
                to != address(lpPair) &&
                to != address(this)
            ) {
                // in the first one hour, a maximum of XX BUSD purchase is adjustable (TAX_DIVISOR BUSD is the default value)
                if (maxBuyLimit > 0) {
                    require(amount <= maxBuyLimit, "Max Buy Limit.");
                }

                // only use to prevent sniper buys in the first blocks.
                if (gasLimitActive) {
                    require(
                        tx.gasprice <= maxGasPriceLimit,
                        "Gas price exceeds limit."
                    );
                }

                // delay between tx
                require(
                    _holderLastTransferTimestamp[msg.sender] <= block.timestamp,
                    "_transfer:: Transfer Delay enabled."
                );
                _holderLastTransferTimestamp[msg.sender] =
                    block.timestamp +
                    timeDelayBetweenTx;
            }
        }

        if (
            from != owner() &&
            to != owner() &&
            to != address(0) &&
            to != address(0xdead) &&
            to != address(this) &&
            !inSwap
        ) {
            // BUY -> FROM == LP ADDRESS
            if (automatedMarketMakerPairs[from]) {
                if (!_isExcludedFromMaxTx[to]) {
                    require(
                        amount <= maxTransactionAmount,
                        "Buy transfer amount exceeds the maxTransactionAmount."
                    );
                    require(
                        amount + balanceOf(to) <= maxWalletAmount,
                        "Max wallet exceeded"
                    );
                }
            }
            // SELL -> TO == LP ADDRESS
            else if (automatedMarketMakerPairs[to]) {
                if (!_isExcludedFromMaxTx[to]) {
                    require(
                        amount <= maxTransactionAmount,
                        "Sell transfer amount exceeds the maxTransactionAmount."
                    );
                }
            }
            // TRANSFER
            else {
                if (!_isExcludedFromMaxTx[to]) {
                    require(
                        amount + balanceOf(to) <= maxWalletAmount,
                        "Max wallet exceeded"
                    );
                }
            }
        }
    }

    function contractMustSwap(
        address from,
        address to
    ) internal view virtual returns (bool) {
        uint256 contractTokenBalance = balanceOf(address(this));
        return
            contractTokenBalance >= swapThreshold &&
            !inSwap &&
            from != lpPair &&
            balanceOf(lpPair) > 0 &&
            !_isExcludedFromFee[to] &&
            !_isExcludedFromFee[from];
    }

    function isExcludedFromFee(
        address account
    ) public view virtual returns (bool) {
        return _isExcludedFromFee[account];
    }

    function excludeFromFee(
        address account,
        bool val
    ) public virtual onlyOwner {
        _isExcludedFromFee[account] = val;
    }

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

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

    function setSwapThreshold(uint256 value) public virtual onlyOwner {
        swapThreshold = value;
    }

    function setMaxWalletAmount(uint256 percent) public virtual onlyOwner {
        maxWalletAmount = (totalSupply() * percent) / TAX_DIVISOR;
    }

    function setMaxTransactionAmount(uint256 percent) public virtual onlyOwner {
        maxTransactionAmount = (totalSupply() * percent) / TAX_DIVISOR;
    }

    function renounceOwnership() public virtual override onlyOwner {
        require(
            _feesRates.buyFee < 4500 && _feesRates.sellFee < 4500,
            "Too hight tax, can't renounce ownership."
        );
        _transferOwnership(address(0));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"tokenName","type":"string"},{"internalType":"string","name":"tokenSymbol","type":"string"},{"internalType":"uint256","name":"supply","type":"uint256"},{"internalType":"uint256","name":"preMint","type":"uint256"},{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint16[]","name":"percents","type":"uint16[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"iterations","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claims","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastProcessedIndex","type":"uint256"},{"indexed":true,"internalType":"bool","name":"automatic","type":"bool"},{"indexed":false,"internalType":"uint256","name":"gas","type":"uint256"},{"indexed":true,"internalType":"address","name":"processor","type":"address"}],"name":"ProcessedDividendTracker","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokensSwapped","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"SendDividends","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"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":"PLATFORM_FEE_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TAX_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_feesRates","outputs":[{"internalType":"uint16","name":"buyFee","type":"uint16"},{"internalType":"uint16","name":"sellFee","type":"uint16"},{"internalType":"uint16","name":"transferFee","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_holderLastTransferTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"_isExcludedFromMaxTx","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"autoLiquidity","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"autoLiquidityPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"automatedMarketMakerPairs","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"buyBackPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"buyBackThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"distributionRewardsPercent","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividentTokenBridgeAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"val","type":"bool"}],"name":"excludeFromFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bool","name":"val","type":"bool"}],"name":"excludeFromMaxTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"gasForProcessing","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gasLimitActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"inSwap","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initialDelayTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromFee","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromMaxTx","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxBuyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxGasPriceLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTransactionAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"platformFeeAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"platformFeeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"platformFeePercents","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"newPercent","type":"uint16"}],"name":"setAutoLiquidityPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newPercent","type":"uint16"}],"name":"setBuyBackPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newThreshold","type":"uint256"}],"name":"setBuyBackThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"newPercent","type":"uint16"}],"name":"setDistributionRewardsPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setMaxTransactionAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setMaxWalletAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setSwapThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"buyFee","type":"uint16"},{"internalType":"uint16","name":"sellFee","type":"uint16"},{"internalType":"uint16","name":"transferFee","type":"uint16"}],"name":"setTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeDelayBetweenTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenDividendTracker","outputs":[{"internalType":"contract IDividendTracker","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDelayTime","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":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transferDelayEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasuryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"},{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"updateDividendTracker","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"updateDividentTokenBridgeAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newVal","type":"bool"}],"name":"updateGasLimitActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"updateMaxBuyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newValue","type":"uint256"}],"name":"updateMaxGasPriceLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newVal","type":"bool"}],"name":"updateTransferDelayEnabled","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040523480156200001157600080fd5b506040516200454338038062004543833981016040819052620000349162000e7e565b8585600362000044838262000fd7565b50600462000053828262000fd7565b505050620000706200006a62000a2060201b60201c565b62000a24565b8151600214620000c75760405162461bcd60e51b815260206004820152601860248201527f496e76616c6964206164647265737320617267756d656e74000000000000000060448201526064015b60405180910390fd5b80516005146200011a5760405162461bcd60e51b815260206004820152601860248201527f496e76616c69642070657263656e7420617267756d656e7400000000000000006044820152606401620000be565b6126ac81600181518110620001335762000133620010a3565b602002602001015161ffff16111580156200017157506126ac81600281518110620001625762000162620010a3565b602002602001015161ffff1611155b620001af5760405162461bcd60e51b815260206004820152600d60248201526c0a8dede40d0d2ced0e840e8c2f609b1b6044820152606401620000be565b81600181518110620001c557620001c5620010a3565b6020026020010151600860006101000a8154816001600160a01b0302191690836001600160a01b031602179055506000612710826000815181106200020e576200020e620010a3565b602002602001015161ffff1686620002279190620010cf565b620002339190620010ef565b905062000259338262000247878962001112565b62000253919062001112565b62000a76565b8315620002785760085462000278906001600160a01b03168562000a76565b80156200028d576200028d61dead8262000a76565b81600381518110620002a357620002a3620010a3565b602002602001015161ffff16600014620002fb5761271082600381518110620002d057620002d0620010a3565b602002602001015161ffff1686620002e99190620010cf565b620002f59190620010ef565b620002fd565b845b600c55815182906004908110620003185762000318620010a3565b602002602001015161ffff16600014620003705761271082600481518110620003455762000345620010a3565b602002602001015161ffff16866200035e9190620010cf565b6200036a9190620010ef565b62000372565b845b60115560078054600181810183557fa66cc928b5edb82af9bd49922954155ab7b0942694bea4ce44661d9a8736c68891820180546001600160a01b0319908116737a93936c57587a5a0de1bbc0d99b61139394698c1790915583548083019094559290910180549092167318bb1d7e5dd7dd0017a828dabf16472d9fd1c6ae17909155600f805480830182556000829052611f407f8d1108e10bcb7c27dddfc02ed9d693a074039d026cf4ea4240b40f7d581ac8029182015581548084019092556107d0910155604080516060810190915283519091829185919081106200045e576200045e620010a3565b602002602001015161ffff16815260200183600281518110620004855762000485620010a3565b60209081029190910181015161ffff908116835260009282018390528351602280549386015160409096015183166401000000000261ffff60201b19968416620100000263ffffffff1990951692909316919091179290921793909316929092179091558351849190620004fd57620004fd620010a3565b60209081029190910181015181546001600160a01b0319166001600160a01b039091169081178255604080516315ab88c960e31b81529051919263ad5c4648926004808401938290030181865afa1580156200055d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000583919062001128565b600a80546001600160a01b0319166001600160a01b03928316179055602080546040805163c45a015560e01b81529051919093169263c45a01559260048083019391928290030181865afa158015620005e0573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000606919062001128565b6001600160a01b031663c9c6539630602060009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000669573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200068f919062001128565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303816000875af1158015620006dd573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000703919062001128565b600680546001600160a01b0319166001600160a01b039290921691821790556000908152601e60205260408120805460ff1916600190811790915590601c906200074c62000b39565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790556008549091168152601c9283905290812080549093166001908117909355600780548290620007ad57620007ad620010a3565b6000918252602080832091909101546001600160a01b031683528201929092526040018120805460ff19169215159290921790915560078054600192601c92909184908110620008015762000801620010a3565b60009182526020808320909101546001600160a01b031683528281019390935260409182018120805494151560ff19958616179055308152601c909252812080549092166001908117909255601d906200085a62000b39565b6001600160a01b03908116825260208083019390935260409182016000908120805495151560ff199687161790556008549091168152601d9283905290812080549093166001908117909355600780548290620008bb57620008bb620010a3565b6000918252602080832091909101546001600160a01b031683528201929092526040018120805460ff19169215159290921790915560078054600192601d929091849081106200090f576200090f620010a3565b60009182526020808320909101546001600160a01b0390811684528382019490945260409283018220805495151560ff19968716179055308252601d8152828220805486166001908117909155905484168252828220805486168217905560065490931681529081208054909316909117909155683635c9adc5dea00000600b556010819055601355670de0b6b3a7640000601255620009c7620009b262000b39565b6020546001600160a01b031660001962000b48565b602054620009e39030906001600160a01b031660001962000b48565b5050506014919091555050601b805462ffff0019169055504260155564037e11d6006017556005601855610e10601655620493e060195562001163565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b03821662000ace5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620000be565b806002600082825462000ae291906200114d565b90915550506001600160a01b038216600081815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b6005546001600160a01b031690565b6001600160a01b03831662000bac5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401620000be565b6001600160a01b03821662000c0f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401620000be565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000cb65762000cb662000c75565b604052919050565b600082601f83011262000cd057600080fd5b81516001600160401b0381111562000cec5762000cec62000c75565b602062000d02601f8301601f1916820162000c8b565b828152858284870101111562000d1757600080fd5b60005b8381101562000d3757858101830151828201840152820162000d1a565b506000928101909101919091529392505050565b60006001600160401b0382111562000d675762000d6762000c75565b5060051b60200190565b80516001600160a01b038116811462000d8957600080fd5b919050565b600082601f83011262000da057600080fd5b8151602062000db962000db38362000d4b565b62000c8b565b82815260059290921b8401810191818101908684111562000dd957600080fd5b8286015b8481101562000dff5762000df18162000d71565b835291830191830162000ddd565b509695505050505050565b600082601f83011262000e1c57600080fd5b8151602062000e2f62000db38362000d4b565b82815260059290921b8401810191818101908684111562000e4f57600080fd5b8286015b8481101562000dff57805161ffff8116811462000e705760008081fd5b835291830191830162000e53565b60008060008060008060c0878903121562000e9857600080fd5b86516001600160401b038082111562000eb057600080fd5b62000ebe8a838b0162000cbe565b9750602089015191508082111562000ed557600080fd5b62000ee38a838b0162000cbe565b96506040890151955060608901519450608089015191508082111562000f0857600080fd5b62000f168a838b0162000d8e565b935060a089015191508082111562000f2d57600080fd5b5062000f3c89828a0162000e0a565b9150509295509295509295565b600181811c9082168062000f5e57607f821691505b60208210810362000f7f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000c7057600081815260208120601f850160051c8101602086101562000fae5750805b601f850160051c820191505b8181101562000fcf5782815560010162000fba565b505050505050565b81516001600160401b0381111562000ff35762000ff362000c75565b6200100b8162001004845462000f49565b8462000f85565b602080601f8311600181146200104357600084156200102a5750858301515b600019600386901b1c1916600185901b17855562000fcf565b600085815260208120601f198616915b82811015620010745788860151825594840194600190910190840162001053565b5085821015620010935787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417620010e957620010e9620010b9565b92915050565b6000826200110d57634e487b7160e01b600052601260045260246000fd5b500490565b81810381811115620010e957620010e9620010b9565b6000602082840312156200113b57600080fd5b620011468262000d71565b9392505050565b80820180821115620010e957620010e9620010b9565b6133d080620011736000396000f3fe6080604052600436106103035760003560e01c80630445b6671461030f57806306fdde0314610338578063078662911461035a578063094d776f1461039a578063095ea7b3146103b0578063123e6cd8146103d057806313fa254a146103f2578063148829f5146104125780631630e97f1461042857806318160ddd146104485780631b11c8741461045d5780631c06a7e1146104735780631e293c10146104c85780631e94ed07146104e857806323b872dd146104fe57806327a14fc21461051e578063313ce5671461053e57806332cde6641461055a57806335dcb05e1461057a57806339509351146105a75780633d90fff9146105c757806342966c68146105dd578063452ed4f1146105fd57806345b1b4411461061d5780634a569e941461063d5780635342acb41461065357806354fb8e401461068c578063560d52d4146106ac578063658c27a9146106c15780636aa5b37f146106fa5780636f15d9751461071057806370a0823114610726578063715018a614610746578063738c6c091461075b578063768dc7101461077b57806379cc6790146107ab5780637dee3290146107cb578063883bfec4146107eb5780638d0cb35a1461080b5780638da5cb5b1461082b57806395d89b41146108405780639c1b8af5146108555780639d0014b11461086b578063a2065e711461088b578063a335d4ff146108ab578063a457c2d7146108c1578063a9059cbb146108e1578063aa4bde2814610901578063b559f9b614610917578063b62496f514610937578063b9c6ec5014610967578063bd74c04614610987578063c5f956af1461099d578063c6aca36b146109bd578063c876d0b9146109dd578063c8c8ebe4146109fd578063cd5f101d14610a13578063d4c989d314610a40578063d830678614610a60578063dd62ed3e14610a7a578063deb5896e14610a9a578063df8408fe14610ab0578063edf731c514610ad0578063efac458514610ae6578063f2fde38b14610b06578063f311732214610b26578063f887ea4014610b46578063f901796614610b6657600080fd5b3661030a57005b600080fd5b34801561031b57600080fd5b50610325600b5481565b6040519081526020015b60405180910390f35b34801561034457600080fd5b5061034d610b85565b60405161032f9190612dea565b34801561036657600080fd5b5061038a610375366004612e4d565b601d6020526000908152604090205460ff1681565b604051901515815260200161032f565b3480156103a657600080fd5b5061032560165481565b3480156103bc57600080fd5b5061038a6103cb366004612e71565b610c17565b3480156103dc57600080fd5b506103f06103eb366004612eb4565b610c31565b005b3480156103fe57600080fd5b5061032561040d366004612ecf565b610c8b565b34801561041e57600080fd5b50610325600e5481565b34801561043457600080fd5b506103f0610443366004612ecf565b610cac565b34801561045457600080fd5b50600254610325565b34801561046957600080fd5b5061032560175481565b34801561047f57600080fd5b506022546104a39061ffff80821691620100008104821691600160201b9091041683565b6040805161ffff9485168152928416602084015292169181019190915260600161032f565b3480156104d457600080fd5b506103f06104e3366004612ecf565b610d1f565b3480156104f457600080fd5b50610325601a5481565b34801561050a57600080fd5b5061038a610519366004612ee8565b610d4e565b34801561052a57600080fd5b506103f0610539366004612ecf565b610d72565b34801561054a57600080fd5b506040516012815260200161032f565b34801561056657600080fd5b506103f0610575366004612f29565b610da1565b34801561058657600080fd5b5060095461059a906001600160a01b031681565b60405161032f9190612f6c565b3480156105b357600080fd5b5061038a6105c2366004612e71565b610e3e565b3480156105d357600080fd5b5061032560185481565b3480156105e957600080fd5b506103f06105f8366004612ecf565b610e60565b34801561060957600080fd5b5060065461059a906001600160a01b031681565b34801561062957600080fd5b506103f0610638366004612eb4565b610e6d565b34801561064957600080fd5b5061032560135481565b34801561065f57600080fd5b5061038a61066e366004612e4d565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561069857600080fd5b506103f06106a7366004612e4d565b610ebe565b3480156106b857600080fd5b50610325603281565b3480156106cd57600080fd5b5061038a6106dc366004612e4d565b6001600160a01b03166000908152601d602052604090205460ff1690565b34801561070657600080fd5b5061032560145481565b34801561071c57600080fd5b5061032560125481565b34801561073257600080fd5b50610325610741366004612e4d565b610f82565b34801561075257600080fd5b506103f0610f9d565b34801561076757600080fd5b506103f0610776366004612eb4565b611035565b34801561078757600080fd5b5061038a610796366004612e4d565b601c6020526000908152604090205460ff1681565b3480156107b757600080fd5b506103f06107c6366004612e71565b611086565b3480156107d757600080fd5b506103f06107e6366004612ecf565b61109f565b3480156107f757600080fd5b50600a5461059a906001600160a01b031681565b34801561081757600080fd5b506103f0610826366004612f8e565b6110ce565b34801561083757600080fd5b5061059a6110f0565b34801561084c57600080fd5b5061034d6110ff565b34801561086157600080fd5b5061032560195481565b34801561087757600080fd5b506103f0610886366004612ecf565b61110e565b34801561089757600080fd5b506103f06108a6366004612f8e565b61111b565b3480156108b757600080fd5b5061032561271081565b3480156108cd57600080fd5b5061038a6108dc366004612e71565b61113f565b3480156108ed57600080fd5b5061038a6108fc366004612e71565b6111ba565b34801561090d57600080fd5b50610325600c5481565b34801561092357600080fd5b5060215461059a906001600160a01b031681565b34801561094357600080fd5b5061038a610952366004612e4d565b601e6020526000908152604090205460ff1681565b34801561097357600080fd5b506103f0610982366004612e71565b6111c8565b34801561099357600080fd5b50610325600d5481565b3480156109a957600080fd5b5060085461059a906001600160a01b031681565b3480156109c957600080fd5b506103f06109d8366004612ecf565b611507565b3480156109e957600080fd5b50601b5461038a9062010000900460ff1681565b348015610a0957600080fd5b5061032560115481565b348015610a1f57600080fd5b50610325610a2e366004612e4d565b601f6020526000908152604090205481565b348015610a4c57600080fd5b506103f0610a5b366004612fab565b61153f565b348015610a6c57600080fd5b50601b5461038a9060ff1681565b348015610a8657600080fd5b50610325610a95366004612fe4565b611572565b348015610aa657600080fd5b5061032560105481565b348015610abc57600080fd5b506103f0610acb366004612fab565b61159d565b348015610adc57600080fd5b5061032560155481565b348015610af257600080fd5b506103f0610b01366004612ecf565b6115d0565b348015610b1257600080fd5b506103f0610b21366004612e4d565b6115dd565b348015610b3257600080fd5b5061059a610b41366004612ecf565b611653565b348015610b5257600080fd5b5060205461059a906001600160a01b031681565b348015610b7257600080fd5b50601b5461038a90610100900460ff1681565b606060038054610b9490613012565b80601f0160208091040260200160405190810160405280929190818152602001828054610bc090613012565b8015610c0d5780601f10610be257610100808354040283529160200191610c0d565b820191906000526020600020905b815481529060010190602001808311610bf057829003601f168201915b5050505050905090565b600033610c2581858561167d565b60019150505b92915050565b610c396117a1565b612710601a546010548361ffff16610c519190613062565b610c5b9190613062565b1115610c825760405162461bcd60e51b8152600401610c7990613075565b60405180910390fd5b61ffff16601355565b600f8181548110610c9b57600080fd5b600091825260209091200154905081565b610cb46117a1565b6402540be400811015610d1a5760405162461bcd60e51b815260206004820152602860248201527f6d6178206761732070726963652063616e74206265206c6f776572207468616e604482015267203130206757656960c01b6064820152608401610c79565b601755565b610d276117a1565b61271081610d3460025490565b610d3e91906130aa565b610d4891906130c1565b60115550565b600033610d5c858285611800565b610d67858585611874565b506001949350505050565b610d7a6117a1565b61271081610d8760025490565b610d9191906130aa565b610d9b91906130c1565b600c5550565b610da96117a1565b6126ac8361ffff1611158015610dc557506126ac8261ffff1611155b610e015760405162461bcd60e51b815260206004820152600d60248201526c0a8dede40d0d2ced0e840e8c2f609b1b6044820152606401610c79565b6022805461ffff94851663ffffffff199091161762010000938516939093029290921761ffff60201b1916600160201b9190931602919091179055565b600033610c25818585610e518383611572565b610e5b9190613062565b61167d565b610e6a33826119aa565b50565b610e756117a1565b6127106010546013548361ffff16610e8d9190613062565b610e979190613062565b1115610eb55760405162461bcd60e51b8152600401610c7990613075565b61ffff16601a55565b610ec66117a1565b600a546001600160a01b0390811690821603610f3a5760405162461bcd60e51b815260206004820152602d60248201527f546865206469766964656e6420747261636b657220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610c79565b6001600160a01b038116610f605760405162461bcd60e51b8152600401610c79906130e3565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526020819052604090205490565b610fa56117a1565b60225461119461ffff909116108015610fcc57506022546111946201000090910461ffff16105b6110295760405162461bcd60e51b815260206004820152602860248201527f546f6f206869676874207461782c2063616e27742072656e6f756e6365206f776044820152673732b939b434b81760c11b6064820152608401610c79565b6110336000611aca565b565b61103d6117a1565b612710601a546013548361ffff166110559190613062565b61105f9190613062565b111561107d5760405162461bcd60e51b8152600401610c7990613075565b61ffff16601055565b611091823383611800565b61109b82826119aa565b5050565b6110a76117a1565b612710816110b460025490565b6110be91906130aa565b6110c891906130c1565b60145550565b6110d66117a1565b601b80549115156101000261ff0019909216919091179055565b6005546001600160a01b031690565b606060048054610b9490613012565b6111166117a1565b600b55565b6111236117a1565b601b8054911515620100000262ff000019909216919091179055565b6000338161114d8286611572565b9050838110156111ad5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c79565b610d67828686840361167d565b600033610c25818585611874565b6111d06117a1565b6001600160a01b0382166111f65760405162461bcd60e51b8152600401610c79906130e3565b61138881111561123a5760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a59081c195c98d95b9d608a1b6044820152606401610c79565b602180546001600160a01b0319166001600160a01b03841690811790915560405163031e79db60e41b81526331e79db090611279908590600401612f6c565b600060405180830381600087803b15801561129357600080fd5b505af11580156112a7573d6000803e3d6000fd5b505060215460405163031e79db60e41b81526001600160a01b0390911692506331e79db091506112db903090600401612f6c565b600060405180830381600087803b1580156112f557600080fd5b505af1158015611309573d6000803e3d6000fd5b50506021546001600160a01b031691506331e79db090506113286110f0565b6040518263ffffffff1660e01b81526004016113449190612f6c565b600060405180830381600087803b15801561135e57600080fd5b505af1158015611372573d6000803e3d6000fd5b505060215460205460405163031e79db60e41b81526001600160a01b0392831694506331e79db093506113ab9290911690600401612f6c565b600060405180830381600087803b1580156113c557600080fd5b505af11580156113d9573d6000803e3d6000fd5b505060215460065460405163031e79db60e41b81526001600160a01b0392831694506331e79db093506114129290911690600401612f6c565b600060405180830381600087803b15801561142c57600080fd5b505af1158015611440573d6000803e3d6000fd5b5050506001600160a01b038084166000908152601c60209081526040808320805460ff199081166001908117909255601d845293829020805490941617909255601a859055602154825163d1af0c7d60e01b815292519316935063d1af0c7d926004808401938290030181865afa1580156114bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e39190613118565b600980546001600160a01b0319166001600160a01b03929092169190911790555050565b60006115146002836130c1565b9050476115218230611b1c565b600061152d8247613135565b90506115398382611c7b565b50505050565b6115476117a1565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6115a56117a1565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6115d86117a1565b601255565b6115e56117a1565b6001600160a01b03811661164a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c79565b610e6a81611aca565b6007818154811061166357600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b0383166116df5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c79565b6001600160a01b0382166117405760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c79565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b336117aa6110f0565b6001600160a01b0316146110335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c79565b600061180c8484611572565b9050600019811461153957818110156118675760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c79565b611539848484840361167d565b61187f838383611d32565b601b5460ff161561189a576118958383836122b8565b505050565b6118a4838361244a565b156118b1576118b16124fa565b6118bc838383612717565b6021546001600160a01b031615611895576021546001600160a01b031663e30443bc846118e881610f82565b6040518363ffffffff1660e01b8152600401611905929190613148565b600060405180830381600087803b15801561191f57600080fd5b505af1925050508015611930575060015b506021546001600160a01b031663e30443bc8361194c81610f82565b6040518363ffffffff1660e01b8152600401611969929190613148565b600060405180830381600087803b15801561198357600080fd5b505af1925050508015611994575060015b50601b5460ff16611895576118956019546127ed565b6001600160a01b038216611a0a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c79565b6001600160a01b03821660009081526020819052604090205481811015611a7e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c79565b6001600160a01b03831660008181526020818152604080832086860390556002805487900390555185815291929160008051602061337b833981519152910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b5157611b51613177565b6001600160a01b039283166020918202929092018101919091528054604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bcd9190613118565b81600181518110611be057611be0613177565b6001600160a01b03928316602091820292909201810191909152544291611c0a913091168661167d565b60205460405163791ac94760e01b81526001600160a01b039091169063791ac94790611c439087906000908790899088906004016131d1565b600060405180830381600087803b158015611c5d57600080fd5b505af1158015611c71573d6000803e3d6000fd5b5050505050505050565b6020544290611c979030906001600160a01b031660001961167d565b60205460405163f305d71960e01b81523060048201819052602482018690526000604483018190526064830152608482015260a481018390526001600160a01b039091169063f305d71990849060c40160606040518083038185885af1158015611d05573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611d2a919061320d565b505050505050565b6001600160a01b038316611d9e5760405162461bcd60e51b815260206004820152602d60248201527f45524332303a207472616e736665722066726f6d20746865205a45524f5f414460448201526c4452455353206164647265737360981b6064820152608401610c79565b6001600160a01b038216611e085760405162461bcd60e51b815260206004820152602b60248201527f45524332303a207472616e7366657220746f20746865205a45524f5f4144445260448201526a455353206164647265737360a81b6064820152608401610c79565b60008111611e725760405162461bcd60e51b815260206004820152603160248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152707468616e205a45524f5f4144445245535360781b6064820152608401610c79565b601b5462010000900460ff168015611e985750601654601554611e959190613062565b42105b1561203957611ea56110f0565b6001600160a01b0316836001600160a01b031614158015611ed457506020546001600160a01b03838116911614155b8015611eee57506006546001600160a01b03838116911614155b8015611f0357506001600160a01b0382163014155b156120395760145415611f5357601454811115611f535760405162461bcd60e51b815260206004820152600e60248201526d26b0bc10213abc902634b6b4ba1760911b6044820152606401610c79565b601b54610100900460ff1615611fb0576017543a1115611fb05760405162461bcd60e51b815260206004820152601860248201527723b0b990383934b1b29032bc31b2b2b239903634b6b4ba1760411b6044820152606401610c79565b336000908152601f602052604090205442101561201b5760405162461bcd60e51b815260206004820152602360248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201526232b21760e91b6064820152608401610c79565b6018546120289042613062565b336000908152601f60205260409020555b6120416110f0565b6001600160a01b0316836001600160a01b03161415801561207b57506120656110f0565b6001600160a01b0316826001600160a01b031614155b801561208f57506001600160a01b03821615155b80156120a657506001600160a01b03821661dead14155b80156120bb57506001600160a01b0382163014155b80156120ca5750601b5460ff16155b15611895576001600160a01b0383166000908152601e602052604090205460ff16156121da576001600160a01b0382166000908152601d602052604090205460ff16611895576011548111156121805760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610c79565b600c5461218c83610f82565b6121969083613062565b11156118955760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c79565b6001600160a01b0382166000908152601e602052604090205460ff161561228c576001600160a01b0382166000908152601d602052604090205460ff16611895576011548111156118955760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610c79565b6001600160a01b0382166000908152601d602052604090205460ff1661189557600c5461218c83610f82565b6001600160a01b03831661231c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c79565b6001600160a01b03821661237e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c79565b6001600160a01b038316600090815260208190526040902054818110156123f65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c79565b6001600160a01b038481166000818152602081815260408083208787039055938716808352918490208054870190559251858152909260008051602061337b833981519152910160405180910390a3611539565b60008061245630610f82565b9050600b54811015801561246d5750601b5460ff16155b801561248757506006546001600160a01b03858116911614155b80156124a857506006546000906124a6906001600160a01b0316610f82565b115b80156124cd57506001600160a01b0383166000908152601c602052604090205460ff16155b80156124f257506001600160a01b0384166000908152601c602052604090205460ff16155b949350505050565b601b805460ff19166001179055600061251230610f82565b600d54909150156125f957600d5461252a8183613135565b6000600d5560075490925081905b80156125f55760008160011461258d57612710600f612558600185613135565b8154811061256857612568613177565b90600052602060002001548561257e91906130aa565b61258891906130c1565b61258f565b825b90506125cc8160076125a2600186613135565b815481106125b2576125b2613177565b6000918252602090912001546001600160a01b0316611b1c565b60018211156125e2576125df8184613135565b92505b50806125ed8161323b565b915050612538565b5050505b61260230610f82565b9050801561270a5760135415612636576126366127106013548361262691906130aa565b61263091906130c1565b30611b1c565b6010541561265c5761265c6127106010548361265291906130aa565b6109d891906130c1565b6000612710601a546013546010546126749190613062565b61267e9190613062565b61268890846130aa565b61269291906130c1565b61269c9083613135565b905080156126bb576008546126bb9082906001600160a01b0316611b1c565b601254156126dd5760125447908111156126db576126db8161dead6128af565b505b601a541561270857612708612710601a54846126f991906130aa565b61270391906130c1565b612a14565b505b50601b805460ff19169055565b6001600160a01b0383166000908152601c6020526040902054819060019060ff168061275b57506001600160a01b0384166000908152601c602052604090205460ff165b15612764575060005b80156127db57600080612778878787612bc3565b909250905060006127898284613062565b11156127d8578061279a8387613135565b6127a49190613135565b935080156127c45780600d60008282546127be9190613062565b90915550505b6127d887306127d38486613062565b6122b8565b50505b6127e68585846122b8565b5050505050565b6021546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c479906024016060604051808303816000875af1925050508015612857575060408051601f3d908101601f191682019092526128549181019061320d565b60015b15610e6a5760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b604080516002808252606082018352600092602083019080368337505060208054604080516315ab88c960e31b815290519495506001600160a01b039091169363ad5c46489350600480830193928290030181865afa158015612916573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293a9190613118565b8160008151811061294d5761294d613177565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061298157612981613177565b6001600160a01b0392831660209182029290920181019190915254604051637ff36ab560e01b815242929190911690637ff36ab59086906129cd90600090879089908890600401613252565b60006040518083038185885af11580156129eb573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f191682016040526127e69190810190613287565b600954612a2d9030906001600160a01b03168382612cab565b6009546040516370a0823160e01b81526000916001600160a01b0316906370a0823190612a5e903090600401612f6c565b602060405180830381865afa158015612a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a9f9190613344565b60095460215460405163a9059cbb60e01b81529293506000926001600160a01b039283169263a9059cbb92612adb929116908690600401613148565b6020604051808303816000875af1158015612afa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b1e919061335d565b9050801561189557602154604051633243c79160e01b8152600481018490526001600160a01b0390911690633243c79190602401600060405180830381600087803b158015612b6c57600080fd5b505af1158015612b80573d6000803e3d6000fd5b505060408051868152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3935001905060405180910390a1505050565b6001600160a01b0383166000908152601e60205260408120548190819081908190819060ff1615612c0657602254612bff9061ffff1685613062565b9350612c5d565b6001600160a01b0388166000908152601e602052604090205460ff1615612c3e57602254612bff9062010000900461ffff1685613062565b602254612c5690600160201b900461ffff1685613062565b9350600190505b8315612c7d57612710612c7085896130aa565b612c7a91906130c1565b92505b80612c9d57612710612c906032896130aa565b612c9a91906130c1565b91505b509097909650945050505050565b60408051600380825260808201909252600091602082016060803683370190505090508481600081518110612ce257612ce2613177565b6001600160a01b039283166020918202929092010152600a54825191169082906001908110612d1357612d13613177565b60200260200101906001600160a01b031690816001600160a01b0316815250508381600281518110612d4757612d47613177565b6001600160a01b0392831660209182029290920181019190915254612d6f913091168561167d565b6020546001600160a01b0316635c11d7958460008486612d91426103e8613062565b6040518663ffffffff1660e01b8152600401612db19594939291906131d1565b600060405180830381600087803b158015612dcb57600080fd5b505af1158015612ddf573d6000803e3d6000fd5b505050505050505050565b600060208083528351808285015260005b81811015612e1757858101830151858201604001528201612dfb565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610e6a57600080fd5b600060208284031215612e5f57600080fd5b8135612e6a81612e38565b9392505050565b60008060408385031215612e8457600080fd5b8235612e8f81612e38565b946020939093013593505050565b803561ffff81168114612eaf57600080fd5b919050565b600060208284031215612ec657600080fd5b612e6a82612e9d565b600060208284031215612ee157600080fd5b5035919050565b600080600060608486031215612efd57600080fd5b8335612f0881612e38565b92506020840135612f1881612e38565b929592945050506040919091013590565b600080600060608486031215612f3e57600080fd5b612f4784612e9d565b9250612f5560208501612e9d565b9150612f6360408501612e9d565b90509250925092565b6001600160a01b0391909116815260200190565b8015158114610e6a57600080fd5b600060208284031215612fa057600080fd5b8135612e6a81612f80565b60008060408385031215612fbe57600080fd5b8235612fc981612e38565b91506020830135612fd981612f80565b809150509250929050565b60008060408385031215612ff757600080fd5b823561300281612e38565b91506020830135612fd981612e38565b600181811c9082168061302657607f821691505b60208210810361304657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c2b57610c2b61304c565b6020808252818101527f50657263656e742063616e7420626520686967686572207468616e2031303025604082015260600190565b8082028115828204841417610c2b57610c2b61304c565b6000826130de57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601b908201527a6e65772061646472657373206973205a65726f206164647265737360281b604082015260600190565b60006020828403121561312a57600080fd5b8151612e6a81612e38565b81810381811115610c2b57610c2b61304c565b6001600160a01b03929092168252602082015260400190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156131c65781516001600160a01b0316875295820195908201906001016131a1565b509495945050505050565b85815284602082015260a0604082015260006131f060a083018661318d565b6001600160a01b0394909416606083015250608001529392505050565b60008060006060848603121561322257600080fd5b8351925060208401519150604084015190509250925092565b60008161324a5761324a61304c565b506000190190565b84815260806020820152600061326b608083018661318d565b6001600160a01b03949094166040830152506060015292915050565b6000602080838503121561329a57600080fd5b82516001600160401b03808211156132b157600080fd5b818501915085601f8301126132c557600080fd5b8151818111156132d7576132d7613161565b8060051b604051601f19603f830116810181811085821117156132fc576132fc613161565b60405291825284820192508381018501918883111561331a57600080fd5b938501935b828510156133385784518452938501939285019261331f565b98975050505050505050565b60006020828403121561335657600080fd5b5051919050565b60006020828403121561336f57600080fd5b8151612e6a81612f8056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205751cd68f6f4aab946e51c658d47aeb20e38a3b325784d9ffc95c35eb112940d64736f6c6343000813003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000007c13bc4b2c133c56000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000005444547454e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005444547454e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000015d97b200e8cdecdb67c05c5842783c2d6800647000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bb80000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c8

Deployed Bytecode

0x6080604052600436106103035760003560e01c80630445b6671461030f57806306fdde0314610338578063078662911461035a578063094d776f1461039a578063095ea7b3146103b0578063123e6cd8146103d057806313fa254a146103f2578063148829f5146104125780631630e97f1461042857806318160ddd146104485780631b11c8741461045d5780631c06a7e1146104735780631e293c10146104c85780631e94ed07146104e857806323b872dd146104fe57806327a14fc21461051e578063313ce5671461053e57806332cde6641461055a57806335dcb05e1461057a57806339509351146105a75780633d90fff9146105c757806342966c68146105dd578063452ed4f1146105fd57806345b1b4411461061d5780634a569e941461063d5780635342acb41461065357806354fb8e401461068c578063560d52d4146106ac578063658c27a9146106c15780636aa5b37f146106fa5780636f15d9751461071057806370a0823114610726578063715018a614610746578063738c6c091461075b578063768dc7101461077b57806379cc6790146107ab5780637dee3290146107cb578063883bfec4146107eb5780638d0cb35a1461080b5780638da5cb5b1461082b57806395d89b41146108405780639c1b8af5146108555780639d0014b11461086b578063a2065e711461088b578063a335d4ff146108ab578063a457c2d7146108c1578063a9059cbb146108e1578063aa4bde2814610901578063b559f9b614610917578063b62496f514610937578063b9c6ec5014610967578063bd74c04614610987578063c5f956af1461099d578063c6aca36b146109bd578063c876d0b9146109dd578063c8c8ebe4146109fd578063cd5f101d14610a13578063d4c989d314610a40578063d830678614610a60578063dd62ed3e14610a7a578063deb5896e14610a9a578063df8408fe14610ab0578063edf731c514610ad0578063efac458514610ae6578063f2fde38b14610b06578063f311732214610b26578063f887ea4014610b46578063f901796614610b6657600080fd5b3661030a57005b600080fd5b34801561031b57600080fd5b50610325600b5481565b6040519081526020015b60405180910390f35b34801561034457600080fd5b5061034d610b85565b60405161032f9190612dea565b34801561036657600080fd5b5061038a610375366004612e4d565b601d6020526000908152604090205460ff1681565b604051901515815260200161032f565b3480156103a657600080fd5b5061032560165481565b3480156103bc57600080fd5b5061038a6103cb366004612e71565b610c17565b3480156103dc57600080fd5b506103f06103eb366004612eb4565b610c31565b005b3480156103fe57600080fd5b5061032561040d366004612ecf565b610c8b565b34801561041e57600080fd5b50610325600e5481565b34801561043457600080fd5b506103f0610443366004612ecf565b610cac565b34801561045457600080fd5b50600254610325565b34801561046957600080fd5b5061032560175481565b34801561047f57600080fd5b506022546104a39061ffff80821691620100008104821691600160201b9091041683565b6040805161ffff9485168152928416602084015292169181019190915260600161032f565b3480156104d457600080fd5b506103f06104e3366004612ecf565b610d1f565b3480156104f457600080fd5b50610325601a5481565b34801561050a57600080fd5b5061038a610519366004612ee8565b610d4e565b34801561052a57600080fd5b506103f0610539366004612ecf565b610d72565b34801561054a57600080fd5b506040516012815260200161032f565b34801561056657600080fd5b506103f0610575366004612f29565b610da1565b34801561058657600080fd5b5060095461059a906001600160a01b031681565b60405161032f9190612f6c565b3480156105b357600080fd5b5061038a6105c2366004612e71565b610e3e565b3480156105d357600080fd5b5061032560185481565b3480156105e957600080fd5b506103f06105f8366004612ecf565b610e60565b34801561060957600080fd5b5060065461059a906001600160a01b031681565b34801561062957600080fd5b506103f0610638366004612eb4565b610e6d565b34801561064957600080fd5b5061032560135481565b34801561065f57600080fd5b5061038a61066e366004612e4d565b6001600160a01b03166000908152601c602052604090205460ff1690565b34801561069857600080fd5b506103f06106a7366004612e4d565b610ebe565b3480156106b857600080fd5b50610325603281565b3480156106cd57600080fd5b5061038a6106dc366004612e4d565b6001600160a01b03166000908152601d602052604090205460ff1690565b34801561070657600080fd5b5061032560145481565b34801561071c57600080fd5b5061032560125481565b34801561073257600080fd5b50610325610741366004612e4d565b610f82565b34801561075257600080fd5b506103f0610f9d565b34801561076757600080fd5b506103f0610776366004612eb4565b611035565b34801561078757600080fd5b5061038a610796366004612e4d565b601c6020526000908152604090205460ff1681565b3480156107b757600080fd5b506103f06107c6366004612e71565b611086565b3480156107d757600080fd5b506103f06107e6366004612ecf565b61109f565b3480156107f757600080fd5b50600a5461059a906001600160a01b031681565b34801561081757600080fd5b506103f0610826366004612f8e565b6110ce565b34801561083757600080fd5b5061059a6110f0565b34801561084c57600080fd5b5061034d6110ff565b34801561086157600080fd5b5061032560195481565b34801561087757600080fd5b506103f0610886366004612ecf565b61110e565b34801561089757600080fd5b506103f06108a6366004612f8e565b61111b565b3480156108b757600080fd5b5061032561271081565b3480156108cd57600080fd5b5061038a6108dc366004612e71565b61113f565b3480156108ed57600080fd5b5061038a6108fc366004612e71565b6111ba565b34801561090d57600080fd5b50610325600c5481565b34801561092357600080fd5b5060215461059a906001600160a01b031681565b34801561094357600080fd5b5061038a610952366004612e4d565b601e6020526000908152604090205460ff1681565b34801561097357600080fd5b506103f0610982366004612e71565b6111c8565b34801561099357600080fd5b50610325600d5481565b3480156109a957600080fd5b5060085461059a906001600160a01b031681565b3480156109c957600080fd5b506103f06109d8366004612ecf565b611507565b3480156109e957600080fd5b50601b5461038a9062010000900460ff1681565b348015610a0957600080fd5b5061032560115481565b348015610a1f57600080fd5b50610325610a2e366004612e4d565b601f6020526000908152604090205481565b348015610a4c57600080fd5b506103f0610a5b366004612fab565b61153f565b348015610a6c57600080fd5b50601b5461038a9060ff1681565b348015610a8657600080fd5b50610325610a95366004612fe4565b611572565b348015610aa657600080fd5b5061032560105481565b348015610abc57600080fd5b506103f0610acb366004612fab565b61159d565b348015610adc57600080fd5b5061032560155481565b348015610af257600080fd5b506103f0610b01366004612ecf565b6115d0565b348015610b1257600080fd5b506103f0610b21366004612e4d565b6115dd565b348015610b3257600080fd5b5061059a610b41366004612ecf565b611653565b348015610b5257600080fd5b5060205461059a906001600160a01b031681565b348015610b7257600080fd5b50601b5461038a90610100900460ff1681565b606060038054610b9490613012565b80601f0160208091040260200160405190810160405280929190818152602001828054610bc090613012565b8015610c0d5780601f10610be257610100808354040283529160200191610c0d565b820191906000526020600020905b815481529060010190602001808311610bf057829003601f168201915b5050505050905090565b600033610c2581858561167d565b60019150505b92915050565b610c396117a1565b612710601a546010548361ffff16610c519190613062565b610c5b9190613062565b1115610c825760405162461bcd60e51b8152600401610c7990613075565b60405180910390fd5b61ffff16601355565b600f8181548110610c9b57600080fd5b600091825260209091200154905081565b610cb46117a1565b6402540be400811015610d1a5760405162461bcd60e51b815260206004820152602860248201527f6d6178206761732070726963652063616e74206265206c6f776572207468616e604482015267203130206757656960c01b6064820152608401610c79565b601755565b610d276117a1565b61271081610d3460025490565b610d3e91906130aa565b610d4891906130c1565b60115550565b600033610d5c858285611800565b610d67858585611874565b506001949350505050565b610d7a6117a1565b61271081610d8760025490565b610d9191906130aa565b610d9b91906130c1565b600c5550565b610da96117a1565b6126ac8361ffff1611158015610dc557506126ac8261ffff1611155b610e015760405162461bcd60e51b815260206004820152600d60248201526c0a8dede40d0d2ced0e840e8c2f609b1b6044820152606401610c79565b6022805461ffff94851663ffffffff199091161762010000938516939093029290921761ffff60201b1916600160201b9190931602919091179055565b600033610c25818585610e518383611572565b610e5b9190613062565b61167d565b610e6a33826119aa565b50565b610e756117a1565b6127106010546013548361ffff16610e8d9190613062565b610e979190613062565b1115610eb55760405162461bcd60e51b8152600401610c7990613075565b61ffff16601a55565b610ec66117a1565b600a546001600160a01b0390811690821603610f3a5760405162461bcd60e51b815260206004820152602d60248201527f546865206469766964656e6420747261636b657220616c72656164792068617360448201526c2074686174206164647265737360981b6064820152608401610c79565b6001600160a01b038116610f605760405162461bcd60e51b8152600401610c79906130e3565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b031660009081526020819052604090205490565b610fa56117a1565b60225461119461ffff909116108015610fcc57506022546111946201000090910461ffff16105b6110295760405162461bcd60e51b815260206004820152602860248201527f546f6f206869676874207461782c2063616e27742072656e6f756e6365206f776044820152673732b939b434b81760c11b6064820152608401610c79565b6110336000611aca565b565b61103d6117a1565b612710601a546013548361ffff166110559190613062565b61105f9190613062565b111561107d5760405162461bcd60e51b8152600401610c7990613075565b61ffff16601055565b611091823383611800565b61109b82826119aa565b5050565b6110a76117a1565b612710816110b460025490565b6110be91906130aa565b6110c891906130c1565b60145550565b6110d66117a1565b601b80549115156101000261ff0019909216919091179055565b6005546001600160a01b031690565b606060048054610b9490613012565b6111166117a1565b600b55565b6111236117a1565b601b8054911515620100000262ff000019909216919091179055565b6000338161114d8286611572565b9050838110156111ad5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c79565b610d67828686840361167d565b600033610c25818585611874565b6111d06117a1565b6001600160a01b0382166111f65760405162461bcd60e51b8152600401610c79906130e3565b61138881111561123a5760405162461bcd60e51b815260206004820152600f60248201526e1a5b9d985b1a59081c195c98d95b9d608a1b6044820152606401610c79565b602180546001600160a01b0319166001600160a01b03841690811790915560405163031e79db60e41b81526331e79db090611279908590600401612f6c565b600060405180830381600087803b15801561129357600080fd5b505af11580156112a7573d6000803e3d6000fd5b505060215460405163031e79db60e41b81526001600160a01b0390911692506331e79db091506112db903090600401612f6c565b600060405180830381600087803b1580156112f557600080fd5b505af1158015611309573d6000803e3d6000fd5b50506021546001600160a01b031691506331e79db090506113286110f0565b6040518263ffffffff1660e01b81526004016113449190612f6c565b600060405180830381600087803b15801561135e57600080fd5b505af1158015611372573d6000803e3d6000fd5b505060215460205460405163031e79db60e41b81526001600160a01b0392831694506331e79db093506113ab9290911690600401612f6c565b600060405180830381600087803b1580156113c557600080fd5b505af11580156113d9573d6000803e3d6000fd5b505060215460065460405163031e79db60e41b81526001600160a01b0392831694506331e79db093506114129290911690600401612f6c565b600060405180830381600087803b15801561142c57600080fd5b505af1158015611440573d6000803e3d6000fd5b5050506001600160a01b038084166000908152601c60209081526040808320805460ff199081166001908117909255601d845293829020805490941617909255601a859055602154825163d1af0c7d60e01b815292519316935063d1af0c7d926004808401938290030181865afa1580156114bf573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114e39190613118565b600980546001600160a01b0319166001600160a01b03929092169190911790555050565b60006115146002836130c1565b9050476115218230611b1c565b600061152d8247613135565b90506115398382611c7b565b50505050565b6115476117a1565b6001600160a01b03919091166000908152601d60205260409020805460ff1916911515919091179055565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6115a56117a1565b6001600160a01b03919091166000908152601c60205260409020805460ff1916911515919091179055565b6115d86117a1565b601255565b6115e56117a1565b6001600160a01b03811661164a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c79565b610e6a81611aca565b6007818154811061166357600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b0383166116df5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c79565b6001600160a01b0382166117405760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c79565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b336117aa6110f0565b6001600160a01b0316146110335760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c79565b600061180c8484611572565b9050600019811461153957818110156118675760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c79565b611539848484840361167d565b61187f838383611d32565b601b5460ff161561189a576118958383836122b8565b505050565b6118a4838361244a565b156118b1576118b16124fa565b6118bc838383612717565b6021546001600160a01b031615611895576021546001600160a01b031663e30443bc846118e881610f82565b6040518363ffffffff1660e01b8152600401611905929190613148565b600060405180830381600087803b15801561191f57600080fd5b505af1925050508015611930575060015b506021546001600160a01b031663e30443bc8361194c81610f82565b6040518363ffffffff1660e01b8152600401611969929190613148565b600060405180830381600087803b15801561198357600080fd5b505af1925050508015611994575060015b50601b5460ff16611895576118956019546127ed565b6001600160a01b038216611a0a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c79565b6001600160a01b03821660009081526020819052604090205481811015611a7e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c79565b6001600160a01b03831660008181526020818152604080832086860390556002805487900390555185815291929160008051602061337b833981519152910160405180910390a3505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6040805160028082526060820183526000926020830190803683370190505090503081600081518110611b5157611b51613177565b6001600160a01b039283166020918202929092018101919091528054604080516315ab88c960e31b81529051919093169263ad5c46489260048083019391928290030181865afa158015611ba9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611bcd9190613118565b81600181518110611be057611be0613177565b6001600160a01b03928316602091820292909201810191909152544291611c0a913091168661167d565b60205460405163791ac94760e01b81526001600160a01b039091169063791ac94790611c439087906000908790899088906004016131d1565b600060405180830381600087803b158015611c5d57600080fd5b505af1158015611c71573d6000803e3d6000fd5b5050505050505050565b6020544290611c979030906001600160a01b031660001961167d565b60205460405163f305d71960e01b81523060048201819052602482018690526000604483018190526064830152608482015260a481018390526001600160a01b039091169063f305d71990849060c40160606040518083038185885af1158015611d05573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611d2a919061320d565b505050505050565b6001600160a01b038316611d9e5760405162461bcd60e51b815260206004820152602d60248201527f45524332303a207472616e736665722066726f6d20746865205a45524f5f414460448201526c4452455353206164647265737360981b6064820152608401610c79565b6001600160a01b038216611e085760405162461bcd60e51b815260206004820152602b60248201527f45524332303a207472616e7366657220746f20746865205a45524f5f4144445260448201526a455353206164647265737360a81b6064820152608401610c79565b60008111611e725760405162461bcd60e51b815260206004820152603160248201527f5472616e7366657220616d6f756e74206d7573742062652067726561746572206044820152707468616e205a45524f5f4144445245535360781b6064820152608401610c79565b601b5462010000900460ff168015611e985750601654601554611e959190613062565b42105b1561203957611ea56110f0565b6001600160a01b0316836001600160a01b031614158015611ed457506020546001600160a01b03838116911614155b8015611eee57506006546001600160a01b03838116911614155b8015611f0357506001600160a01b0382163014155b156120395760145415611f5357601454811115611f535760405162461bcd60e51b815260206004820152600e60248201526d26b0bc10213abc902634b6b4ba1760911b6044820152606401610c79565b601b54610100900460ff1615611fb0576017543a1115611fb05760405162461bcd60e51b815260206004820152601860248201527723b0b990383934b1b29032bc31b2b2b239903634b6b4ba1760411b6044820152606401610c79565b336000908152601f602052604090205442101561201b5760405162461bcd60e51b815260206004820152602360248201527f5f7472616e736665723a3a205472616e736665722044656c617920656e61626c60448201526232b21760e91b6064820152608401610c79565b6018546120289042613062565b336000908152601f60205260409020555b6120416110f0565b6001600160a01b0316836001600160a01b03161415801561207b57506120656110f0565b6001600160a01b0316826001600160a01b031614155b801561208f57506001600160a01b03821615155b80156120a657506001600160a01b03821661dead14155b80156120bb57506001600160a01b0382163014155b80156120ca5750601b5460ff16155b15611895576001600160a01b0383166000908152601e602052604090205460ff16156121da576001600160a01b0382166000908152601d602052604090205460ff16611895576011548111156121805760405162461bcd60e51b815260206004820152603560248201527f427579207472616e7366657220616d6f756e742065786365656473207468652060448201527436b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760591b6064820152608401610c79565b600c5461218c83610f82565b6121969083613062565b11156118955760405162461bcd60e51b815260206004820152601360248201527213585e081dd85b1b195d08195e18d959591959606a1b6044820152606401610c79565b6001600160a01b0382166000908152601e602052604090205460ff161561228c576001600160a01b0382166000908152601d602052604090205460ff16611895576011548111156118955760405162461bcd60e51b815260206004820152603660248201527f53656c6c207472616e7366657220616d6f756e742065786365656473207468656044820152751036b0bc2a3930b739b0b1ba34b7b720b6b7bab73a1760511b6064820152608401610c79565b6001600160a01b0382166000908152601d602052604090205460ff1661189557600c5461218c83610f82565b6001600160a01b03831661231c5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c79565b6001600160a01b03821661237e5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c79565b6001600160a01b038316600090815260208190526040902054818110156123f65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c79565b6001600160a01b038481166000818152602081815260408083208787039055938716808352918490208054870190559251858152909260008051602061337b833981519152910160405180910390a3611539565b60008061245630610f82565b9050600b54811015801561246d5750601b5460ff16155b801561248757506006546001600160a01b03858116911614155b80156124a857506006546000906124a6906001600160a01b0316610f82565b115b80156124cd57506001600160a01b0383166000908152601c602052604090205460ff16155b80156124f257506001600160a01b0384166000908152601c602052604090205460ff16155b949350505050565b601b805460ff19166001179055600061251230610f82565b600d54909150156125f957600d5461252a8183613135565b6000600d5560075490925081905b80156125f55760008160011461258d57612710600f612558600185613135565b8154811061256857612568613177565b90600052602060002001548561257e91906130aa565b61258891906130c1565b61258f565b825b90506125cc8160076125a2600186613135565b815481106125b2576125b2613177565b6000918252602090912001546001600160a01b0316611b1c565b60018211156125e2576125df8184613135565b92505b50806125ed8161323b565b915050612538565b5050505b61260230610f82565b9050801561270a5760135415612636576126366127106013548361262691906130aa565b61263091906130c1565b30611b1c565b6010541561265c5761265c6127106010548361265291906130aa565b6109d891906130c1565b6000612710601a546013546010546126749190613062565b61267e9190613062565b61268890846130aa565b61269291906130c1565b61269c9083613135565b905080156126bb576008546126bb9082906001600160a01b0316611b1c565b601254156126dd5760125447908111156126db576126db8161dead6128af565b505b601a541561270857612708612710601a54846126f991906130aa565b61270391906130c1565b612a14565b505b50601b805460ff19169055565b6001600160a01b0383166000908152601c6020526040902054819060019060ff168061275b57506001600160a01b0384166000908152601c602052604090205460ff165b15612764575060005b80156127db57600080612778878787612bc3565b909250905060006127898284613062565b11156127d8578061279a8387613135565b6127a49190613135565b935080156127c45780600d60008282546127be9190613062565b90915550505b6127d887306127d38486613062565b6122b8565b50505b6127e68585846122b8565b5050505050565b6021546040516001624d3b8760e01b03198152600481018390526001600160a01b039091169063ffb2c479906024016060604051808303816000875af1925050508015612857575060408051601f3d908101601f191682019092526128549181019061320d565b60015b15610e6a5760408051848152602081018490529081018290526060810185905232906001907fc864333d6121033635ab41b29ae52f10a22cf4438c3e4f1c4c68518feb2f8a989060800160405180910390a350505050565b604080516002808252606082018352600092602083019080368337505060208054604080516315ab88c960e31b815290519495506001600160a01b039091169363ad5c46489350600480830193928290030181865afa158015612916573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061293a9190613118565b8160008151811061294d5761294d613177565b60200260200101906001600160a01b031690816001600160a01b031681525050308160018151811061298157612981613177565b6001600160a01b0392831660209182029290920181019190915254604051637ff36ab560e01b815242929190911690637ff36ab59086906129cd90600090879089908890600401613252565b60006040518083038185885af11580156129eb573d6000803e3d6000fd5b50505050506040513d6000823e601f3d908101601f191682016040526127e69190810190613287565b600954612a2d9030906001600160a01b03168382612cab565b6009546040516370a0823160e01b81526000916001600160a01b0316906370a0823190612a5e903090600401612f6c565b602060405180830381865afa158015612a7b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612a9f9190613344565b60095460215460405163a9059cbb60e01b81529293506000926001600160a01b039283169263a9059cbb92612adb929116908690600401613148565b6020604051808303816000875af1158015612afa573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612b1e919061335d565b9050801561189557602154604051633243c79160e01b8152600481018490526001600160a01b0390911690633243c79190602401600060405180830381600087803b158015612b6c57600080fd5b505af1158015612b80573d6000803e3d6000fd5b505060408051868152602081018690527f80195cc573b02cc48460cbca6e6e4cc85ddb91959d946e1c3025ea3d87942dc3935001905060405180910390a1505050565b6001600160a01b0383166000908152601e60205260408120548190819081908190819060ff1615612c0657602254612bff9061ffff1685613062565b9350612c5d565b6001600160a01b0388166000908152601e602052604090205460ff1615612c3e57602254612bff9062010000900461ffff1685613062565b602254612c5690600160201b900461ffff1685613062565b9350600190505b8315612c7d57612710612c7085896130aa565b612c7a91906130c1565b92505b80612c9d57612710612c906032896130aa565b612c9a91906130c1565b91505b509097909650945050505050565b60408051600380825260808201909252600091602082016060803683370190505090508481600081518110612ce257612ce2613177565b6001600160a01b039283166020918202929092010152600a54825191169082906001908110612d1357612d13613177565b60200260200101906001600160a01b031690816001600160a01b0316815250508381600281518110612d4757612d47613177565b6001600160a01b0392831660209182029290920181019190915254612d6f913091168561167d565b6020546001600160a01b0316635c11d7958460008486612d91426103e8613062565b6040518663ffffffff1660e01b8152600401612db19594939291906131d1565b600060405180830381600087803b158015612dcb57600080fd5b505af1158015612ddf573d6000803e3d6000fd5b505050505050505050565b600060208083528351808285015260005b81811015612e1757858101830151858201604001528201612dfb565b506000604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b0381168114610e6a57600080fd5b600060208284031215612e5f57600080fd5b8135612e6a81612e38565b9392505050565b60008060408385031215612e8457600080fd5b8235612e8f81612e38565b946020939093013593505050565b803561ffff81168114612eaf57600080fd5b919050565b600060208284031215612ec657600080fd5b612e6a82612e9d565b600060208284031215612ee157600080fd5b5035919050565b600080600060608486031215612efd57600080fd5b8335612f0881612e38565b92506020840135612f1881612e38565b929592945050506040919091013590565b600080600060608486031215612f3e57600080fd5b612f4784612e9d565b9250612f5560208501612e9d565b9150612f6360408501612e9d565b90509250925092565b6001600160a01b0391909116815260200190565b8015158114610e6a57600080fd5b600060208284031215612fa057600080fd5b8135612e6a81612f80565b60008060408385031215612fbe57600080fd5b8235612fc981612e38565b91506020830135612fd981612f80565b809150509250929050565b60008060408385031215612ff757600080fd5b823561300281612e38565b91506020830135612fd981612e38565b600181811c9082168061302657607f821691505b60208210810361304657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b80820180821115610c2b57610c2b61304c565b6020808252818101527f50657263656e742063616e7420626520686967686572207468616e2031303025604082015260600190565b8082028115828204841417610c2b57610c2b61304c565b6000826130de57634e487b7160e01b600052601260045260246000fd5b500490565b6020808252601b908201527a6e65772061646472657373206973205a65726f206164647265737360281b604082015260600190565b60006020828403121561312a57600080fd5b8151612e6a81612e38565b81810381811115610c2b57610c2b61304c565b6001600160a01b03929092168252602082015260400190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600081518084526020808501945080840160005b838110156131c65781516001600160a01b0316875295820195908201906001016131a1565b509495945050505050565b85815284602082015260a0604082015260006131f060a083018661318d565b6001600160a01b0394909416606083015250608001529392505050565b60008060006060848603121561322257600080fd5b8351925060208401519150604084015190509250925092565b60008161324a5761324a61304c565b506000190190565b84815260806020820152600061326b608083018661318d565b6001600160a01b03949094166040830152506060015292915050565b6000602080838503121561329a57600080fd5b82516001600160401b03808211156132b157600080fd5b818501915085601f8301126132c557600080fd5b8151818111156132d7576132d7613161565b8060051b604051601f19603f830116810181811085821117156132fc576132fc613161565b60405291825284820192508381018501918883111561331a57600080fd5b938501935b828510156133385784518452938501939285019261331f565b98975050505050505050565b60006020828403121561335657600080fd5b5051919050565b60006020828403121561336f57600080fd5b8151612e6a81612f8056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212205751cd68f6f4aab946e51c658d47aeb20e38a3b325784d9ffc95c35eb112940d64736f6c63430008130033

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

00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000033b2e3c9fd0803ce80000000000000000000000000000000000000000000000007c13bc4b2c133c56000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001a00000000000000000000000000000000000000000000000000000000000000005444547454e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005444547454e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d00000000000000000000000015d97b200e8cdecdb67c05c5842783c2d6800647000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000bb80000000000000000000000000000000000000000000000000000000000000bb800000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c8

-----Decoded View---------------
Arg [0] : tokenName (string): DEGEN
Arg [1] : tokenSymbol (string): DEGEN
Arg [2] : supply (uint256): 1000000000000000000000000000
Arg [3] : preMint (uint256): 150000000000000000000000000
Arg [4] : addresses (address[]): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D,0x15d97b200e8CDecDB67C05C5842783C2d6800647
Arg [5] : percents (uint16[]): 0,3000,3000,200,200

-----Encoded View---------------
19 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000033b2e3c9fd0803ce8000000
Arg [3] : 0000000000000000000000000000000000000000007c13bc4b2c133c56000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 444547454e000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [9] : 444547454e000000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [11] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [12] : 00000000000000000000000015d97b200e8cdecdb67c05c5842783c2d6800647
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000bb8
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000bb8
Arg [17] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [18] : 00000000000000000000000000000000000000000000000000000000000000c8


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.