ETH Price: $3,342.88 (+0.25%)

Token

Quantum Swap AI (QSWAP)
 

Overview

Max Total Supply

10,000,000,000 QSWAP

Holders

737 (0.00%)

Market

Price

$0.00 @ 0.000000 ETH (+3.47%)

Onchain Market Cap

$2,288,500.00

Circulating Supply Market Cap

$2,288,496.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
1,930,272.662416869054717013 QSWAP

Value
$441.74 ( ~0.132143438313081 Eth) [0.0193%]
0xf6edA9Ec0C4F6a79B9E1bD1A3aC7C95B528391BD
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Quantum Network is a secure, fast and low-cost L2 solution enabling secure cross-chain swaps for enhanced scalability and efficiency.

Market

Volume (24H):$9,579.42
Market Capitalization:$2,288,496.00
Circulating Supply:10,000,000,000.00 QSWAP
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ERC20ByBankPad

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-03-11
*/

//                                   :-=================-:                                  
//                             .-===-:.                 .:====-.                            
//                         .===:                              .-===.                        
//                      :++-                                       -+=.                     
//                   .=+-            .:=+*#%%@@@@@%%#*+=:.            -+=                   
//                 .+=.          -+#@@@@@@@@@@@@@@@@@@@@@@@#+-.         .++.                
//               .+=         :+%@@@@@@%#+=--::....::-=+#%@@@@@@%+:        .++.              
//              ++         =%@%##*+=:                     :=+*##%@%+.       .+=             
//            :*.         :.    ..:--==++++******=  ++++==--:..    .:         :*.           
//           =+       .:-=+##%@@@@@@@@@@@@@@@@@@@#  @@@@@@@@@@@@@%##+=-:.       +-          
//          +- .-=*#%@@@@@@@@@@@@@@%##***++++#@@@#  =++**##%%@@@@@@@@@@@@@%#*=-. ==         
//         *:  =@@@@@@@%#*+=-:..     ..::--  +@@@%---:::..      .:-=+*#%@@@@@@@+  =+        
//        +-    %@@@+.   .:-=+*#%@@@@@@@@@@. +@@@@@@@@@@@@@@@@%#*+=-:.   .+@@@@    +=       
//       -+     =@@@%  +@@@@@@@@@@@@@@@%%%#  =#######%%%@@@@@@@@@@@@@@@*  %@@@+     #:      
//       #       %@@@+ .@@@@%*+=-:..                        .:--=+%@@@@. =@@@%      .%      
//      =-       :@@@@: -@@@@.                ::::::             .@@@@= .@@@@-       +=     
//      %         +@@@%  *@@@#             :*@@@@@@@:            #@@@#  #@@@*        .%     
//     :*      -*  %@@@+  %@@@+          =%@@@@@@@@@:           =@@@%  =@@@%  +=      #.    
//     +=      *@- :@@@@- .@@@@=      :*@@@@@@@@@@@@:          -@@@@: :@@@@: :@#      +-    
//     *:      #@@: =@@@@: :@@@@-    %@@@@@@@@@@@@@@:         :@@@@- .@@@@= .@@%      -+    
//     *:      %@@%  +@@@@. =@@@@-   .%@@@@*#@@@@@@@:        :@@@@=  %@@@+  %@@@      -+    
//     +-      #@@@=  *@@@%. =@@@@-    *@*. *@@@@@@@:        +%@@=  %@@@#  =@@@%      ==    
//     =+      =@@@#   #@@@%. =@@@@=        *@@@@@@@:      :-  .-  %@@@#   #@@@*      *:    
//     .#      .@@@@.   #@*-  .#@@@@+       *@@@@@@@:     =@@@#=..%@@@#   .@@@@:      %     
//      #:      *@@@*      :+%@@@@@%+.      +@@@@@@@:    +@@@@@@@@@@@#    *@@@#      -*     
//      :*      .@@@@=    +@@@@@#=.  -+.    +@@@@@@@:  .#@@@%=*@@@@@*    -@@@@.      #.     
//       +-      :@@@@-    =@@@@=  =@@@@-   +@@@@@@@: :%@@@#    :+%+    :@@@@-      =+      
//        #.      -@@@@=    -@@@@*  =@@@@*  +@@@@@@@:+@@@@+  +@*-      -@@@@=      :#       
//        .#       -@@@@*    .%@@@%: :%@@@%:*@@@@@@@@@@@%: .%@@@%.    +@@@@-      .#        
//         :#.      :%@@@@=    *@@@@+  +@@@@@@@@@@@@@@@*  =@@@@*    -%@@@%:      .#.        
//          .#:       =@@@@%=   -@@@@%. :%@@@@@@@@@@@%: .#@@@@-   -%@@@@+       :*          
//            *=       .*@@@@@+.  *@@@@+  =@@@@@@@@@=  =@@@@#. .+@@@@@*.       ++           
//             -*.       .+@@@@@#. -%@@@%-  +@@@@@*. :%@@@@-  *@@@@@+.       :*:            
//               ++.        -*@@@@=  +@@@@#: .*@#: .#@@@@+  =@@@@*-        .+=              
//                .++.         :+#@%: .#@@@@*.   .*@@@@#. :#@%+:         .+=                
//                   =+:           :=-  :%@@@@*:+@@@@%-  -=:           -+=                  
//                     -+=:               -%@@@@@@@%-               :++:                    
//                        -++-              -%@@@%=             .-++:                       
//                           .-===:.          -*-          .-===-.                          
//                                .-======-::::.::::-======-.                               
//                                        ..::::::..                                        
//
//          Telegram: https://t.me/quantumswapai
//          Twitter: https://twitter.com/quantumswapai
//          Website: https://quantumswapai.com/
//   
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@                                                                                                @@
// @@  This token was created by BankPad. visit us at https://firstcryptobank.capital to learn more. @@
// @@                                                                                                @@ 
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
      
// Sources flattened with hardhat v2.19.1 https://hardhat.org

// SPDX-License-Identifier: MIT

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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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


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

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

pragma solidity ^0.8.0;

/**
 * @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)

pragma solidity ^0.8.0;

/**
 * @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)

pragma solidity ^0.8.0;

/**
 * @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)

pragma solidity ^0.8.0;



/**
 * @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)

pragma solidity ^0.8.0;


/**
 * @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 @openzeppelin/contracts/token/ERC20/extensions/[email protected]

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}


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

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

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}


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

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

pragma solidity ^0.8.0;



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval
     * to be set to zero before setting it to a non-zero value, such as USDT.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}


// File contracts/token/AntiBotHelper.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @notice Anti-Bot Helper
 * Max TX Amount feature
 * Max Wallet Amount feature
 * Sniper auto-burn feature
 */
abstract contract AntiBotHelper is Ownable {
    /// @dev Minimum value that can be set for the max transaction limit - 0.25%
    uint16 private constant MIN__MAX_TX_LIMIT = 25;
    /// @dev Maximum value that can be set for the max transaction limit - 100%
    uint16 private constant MAX__MAX_TX_LIMIT = 10000;
    /// @dev Minimum value that can be set for the max hold limit - 0.25%
    uint16 private constant MIN__MAX_HOLD_LIMIT = 25;
    /// @dev Maximum value that can be set for the max hold limit - 100%
    uint16 private constant MAX__MAX_HOLD_LIMIT = 10000;
    /// @dev Minimum value that can be set for the anti-dump limit - 0.25%
    uint16 internal constant MIN_ANTI_DUMP_LIMIT = 25;
    /// @dev Maximum value that can be set for the anti-dump limit - 100%
    uint16 private constant MAX_ANTI_DUMP_LIMIT = 10000;

    /// @dev Anti-snipe tax is burned, reducing total supply
    /// 1. 20% tax on buys in the first block
    /// 2. Reducing to 13.33% in the second block
    /// 3. Reducing to 6.66% in the third
    /// 4. Finally 0% from the fourth block on
    uint16 internal _autoBurnFirstPercent;
    uint16 internal _autoBurnSecondPercent;
    uint16 internal _autoBurnThirdPercent;

    uint16 internal _maxTxLimit;
    uint16 internal _maxHoldLimit;
    uint16 internal _antiDumpLimit;

    bool internal _isAntiSniperOn;
    bool internal _isTradingDelayed;
    bool internal _isTradingDisabled;

    uint256 internal _firstBuyAt;
    uint256 internal _secondBuyAt;
    uint256 internal _thirdBuyAt;

    mapping(address => bool) internal _isExcludedFromTxLimit;
    mapping(address => bool) internal _isExcludedFromHoldLimit;

    event AntiDumpLimitUpdated(uint16 antiDumpLimit);
    event ExcludedFromHoldLimit(address account, bool flag);
    event ExcludedFromTxLimit(address account, bool flag);
    event MaxLimitUpdated(uint16 maxHoldLimit, uint16 maxTxLimit);
    event TradingDelayFinished();
    event TradingEnabled();

    /// @dev Initialize anti bot configuration
    /// abi encoded param
    /// 1. txLimit
    /// 2. holdLimit
    /// 3. antiSniperOn
    function _initializeAntiBot(bytes memory param) internal {
        (
            uint16 holdLimit,
            uint16 txLimit,
            uint16 antiDumpLimit_,
            bool antiSniperOn
        ) = abi.decode(param, (uint16, uint16, uint16, bool));

        require(
            txLimit <= MAX__MAX_TX_LIMIT && txLimit >= MIN__MAX_TX_LIMIT,
            "tx limit out of range"
        );
        require(
            holdLimit <= MAX__MAX_HOLD_LIMIT &&
                holdLimit >= MIN__MAX_HOLD_LIMIT,
            "hold limit out of range"
        );
        require(txLimit <= holdLimit, "tx limit exceeds hold limit");
        require(
            antiDumpLimit_ == 0 ||
                (antiDumpLimit_ >= MIN_ANTI_DUMP_LIMIT &&
                    antiDumpLimit_ <= MAX_ANTI_DUMP_LIMIT),
            "anti-dump limit out of range"
        );

        _maxTxLimit = txLimit;
        _maxHoldLimit = holdLimit;
        _antiDumpLimit = antiDumpLimit_;
        _isAntiSniperOn = antiSniperOn;
    }

    /// @dev Return anti-sniper auto-burn percent
    function _antiSniperAutoBurn() internal returns (uint16) {
        if (!_isAntiSniperOn) {
            if (_firstBuyAt == 0) _firstBuyAt = block.timestamp;
            return 0;
        }
        uint256 blockTime = block.timestamp;

        if (blockTime == _thirdBuyAt) return _autoBurnThirdPercent;
        if (blockTime == _secondBuyAt) return _autoBurnSecondPercent;
        if (blockTime == _firstBuyAt) return _autoBurnFirstPercent;
        if (_thirdBuyAt > 0) return 0;
        if (_secondBuyAt > 0) {
            _thirdBuyAt = block.timestamp;
            return _autoBurnThirdPercent;
        }
        if (_firstBuyAt > 0) {
            _secondBuyAt = block.timestamp;
            return _autoBurnSecondPercent;
        }
        _firstBuyAt = block.timestamp;
        return _autoBurnFirstPercent;
    }

    /// @notice Exclude / Include the multiple accounts from max tx limit
    /// @dev Only callable by owner
    function batchExcludeFromTxLimit(
        address[] calldata accounts,
        bool flag
    ) external onlyOwner {
        uint256 len = accounts.length;
        for (uint256 i; i < len; ) {
            address account = accounts[i];
            _isExcludedFromTxLimit[account] = flag;

            unchecked {
                ++i;
            }

            emit ExcludedFromTxLimit(account, flag);
        }
    }

    /// @notice Exclude / Include the multiple accounts from max wallet limit
    /// @dev Only callable by owner
    function batchExcludeFromHoldLimit(
        address[] calldata accounts,
        bool flag
    ) external onlyOwner {
        uint256 len = accounts.length;
        for (uint256 i; i < len; ) {
            address account = accounts[i];
            _isExcludedFromHoldLimit[account] = flag;

            unchecked {
                ++i;
            }

            emit ExcludedFromHoldLimit(account, flag);
        }
    }

    /// @notice Check if the account is excluded from max hold & wallet limit
    /// @return bool excluded from max hold limit
    /// @return bool excluded from max tx limit
    function isExcludedFromLimit(
        address account
    ) external view returns (bool, bool) {
        return (
            _isExcludedFromHoldLimit[account],
            _isExcludedFromTxLimit[account]
        );
    }

    /// @notice Update anti-dump limit
    /// @param limit new anti-dump limit
    function updateAntiDumpLimit(uint16 limit) external onlyOwner {
        require(_antiDumpLimit != 0, "anti-dump not enabled");

        require(
            limit >= MIN_ANTI_DUMP_LIMIT && limit <= MAX_ANTI_DUMP_LIMIT,
            "anti-dump limit out of range"
        );

        _antiDumpLimit = limit;

        emit AntiDumpLimitUpdated(limit);
    }

    /// @notice View anti-dump limit
    /// @return uint16 anti-dump limit percent
    function antiDumpLimit() external view returns (uint16) {
        return _antiDumpLimit;
    }

    /**
     * @notice Check if the anti-dump feature is enabled in the token
     */
    function isAntiDumpEnabled() external view returns (bool) {
        return _antiDumpLimit >= MIN_ANTI_DUMP_LIMIT;
    }

    /// @notice Update max hold limit & max tx limit
    /// @param holdLimit new max hold limit
    /// @param txLimit new max tx limit
    function updateMaxLimit(
        uint16 holdLimit,
        uint16 txLimit
    ) external onlyOwner {
        require(holdLimit >= txLimit, "tx limit exceeds hold limit");
        require(
            _maxHoldLimit <= holdLimit && _maxTxLimit <= txLimit,
            "increase only"
        );
        require(txLimit <= MAX__MAX_TX_LIMIT, "tx limit out of range");
        require(holdLimit <= MAX__MAX_HOLD_LIMIT, "hold limit out of range");

        _maxHoldLimit = holdLimit;
        _maxTxLimit = txLimit;

        emit MaxLimitUpdated(holdLimit, txLimit);
    }

    /// @notice View max hold limit & max tx limit
    /// @return uint16 max hold limit percent
    /// @return uint16 max tx limit percent
    function maxLimit() external view returns (uint16, uint16) {
        return (_maxHoldLimit, _maxTxLimit);
    }

    /// @notice Enable trading
    function enableTrading() external onlyOwner {
        require(_isTradingDisabled, "already enabled");
        _isTradingDisabled = false;

        emit TradingEnabled();
    }

    /// @notice View anti-bot mechanism flags
    /// @return bool {_isAntiSniperOn}
    /// @return bool {_isTradingDelayed}
    /// @return bool {_isTradingDisabled}
    function antiBotFlags() external view returns (bool, bool, bool) {
        return (_isAntiSniperOn, _isTradingDelayed, _isTradingDisabled);
    }

    /**
     * @dev function {snipeAutoBurnPercents}
     *
     * Return anti-snipe auto burn percent values for 3 steps
     *
     * @return uint16 first auto burn percent
     * @return uint16 second auto burn percent
     * @return uint16 third auto burn percent
     */
    function snipeAutoBurnPercents()
        external
        view
        returns (uint16, uint16, uint16)
    {
        return (
            _autoBurnFirstPercent,
            _autoBurnSecondPercent,
            _autoBurnThirdPercent
        );
    }
}


// File contracts/interfaces/IBase.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.4;

interface IBase {
    /// - antiBotParam
    /// 1. holdLimit
    /// 2. txLimit
    /// 3. antiDumpLimit
    /// 4. antiSniperOn
    ///
    /// - taxParam
    /// 1. dexRouter: uniswap or sushiswap
    /// 2. pairedToken: eth or usdc
    /// 3. taxPayAccount
    /// 4. treasuryAccount
    /// 5. buyTax
    /// 6. sellTax
    /// 7. treasuryTax
    ///
    /// - distribParam
    /// 1. totalSupply
    /// 2. teamAccount
    /// 3. teamAllocPercent
    ///
    /// - lpParam
    /// 1. isLPBurn
    /// 2. isTradingDelayed
    /// 3. isTradingDisabled
    /// 4. pairedTokenAmount
    /// 5. lockPeriod
    struct TokenLaunchConf {
        string uuid;
        string name;
        string symbol;
        bytes distribParam;
        bytes antiBotParam;
        bytes taxParam;
        bytes lpParam;
    }

    // Configuration inherited from the factory contract
    struct InheritedConf {
        uint16 autoBurnFirstPercent;
        uint16 autoBurnSecondPercent;
        uint16 autoBurnThirdPercent;
        uint16 thresholdPercent;
        uint16 maxBuyTaxAfter;
        uint16 maxSellTaxAfter;
        uint16 maxTreasuryTaxAfter;
        uint16 bankPadTax;
        uint16 maxTaxToRenounce;
        uint32 bankPadTaxApplyPeriod;
        uint32 taxWhitelistApplyDelay;
        uint32 tradingDelayTime;
        uint32 tradingDisableTime;
    }
}


// File contracts/interfaces/IERC20FactoryByBankPad.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.4;

interface IERC20FactoryByBankPad {
    /**
     * @notice function {servicePayAccount}
     *
     * Return BankPad service pay account
     *
     * @return address service pay account
     */
    function servicePayAccount() external view returns (address payable);

    /**
     * @dev function {maxTeamAllocForUUID}
     *
     * Return max team distribution percentage for the given `uuid` of token
     * whitelisted token will return its max allocation percent
     * return `_maxTeamAlloc` for others
     *
     * @param uuid token UUID
     */
    function maxTeamAllocForUUID(
        string calldata uuid
    ) external view returns (uint16);
}


// File contracts/interfaces/IDexRouter.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.4;

interface IDexFactory {
    function createPair(
        address tokenA,
        address tokenB
    ) external returns (address pair);
}

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

    function WETH() external pure returns (address);

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        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 swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

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

    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 getAmountsOut(
        uint amountIn,
        address[] calldata path
    ) external view returns (uint[] memory amounts);

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
}


// File contracts/token/TaxHelper.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.0;


/**
 * @notice Tax Helper
 * Marketing fee
 * Burn fee
 * Fee in buy/sell/transfer separately
 */
abstract contract TaxHelper is Ownable {
    using Address for address payable;
    address internal constant ETH_ADDRESS =
        0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;

    bool internal _bankpadFeeApplied = true;
    uint16 internal _buyTax;
    uint16 internal _sellTax;
    uint16 internal _treasuryTax;

    /// @dev Max buy tax after token launched
    uint16 internal _maxBuyTaxAfter;
    /// @dev Max sell tax after token launched
    uint16 internal _maxSellTaxAfter;
    /// @dev Max treasury tax after token launched
    uint16 internal _maxTreasuryTaxAfter;

    /// @dev Bankpad tax is set on top buy / sell / treasury tax as a service fee
    uint16 internal _bankPadTax;

    address internal _dexRouter;
    address internal _taxPayAccount;
    address internal _treasuryAccount;
    address internal _baseAmmPair;
    address internal _basePairedToken;

    mapping(address => bool) internal _isExcludedFromTax;
    mapping(address => bool) internal _isAmmPair;

    event ExcludedFromTax(address account, bool flag);
    event NewAmmPair(address pair, bool flag);
    event TaxesUpdated(uint16 buyTax, uint16 sellTax, uint16 treasuryTax);

    /// @dev Initialize tax configuration
    /// abi encoded param
    /// 1. dexRouter: uniswap or sushiswap
    /// 2. pairedToken: eth or usdc
    /// 3. taxPayAccount
    /// 4. buyTax
    /// 5. sellTax
    function _initializeTax(bytes memory param) internal {
        (
            address dexRouter,
            address pairedToken,
            address taxPayAccount,
            address treasuryAccount,
            uint16 buyTax,
            uint16 sellTax,
            uint16 treasuryTax
        ) = abi.decode(
                param,
                (address, address, address, address, uint16, uint16, uint16)
            );

        // tax pay account and treasury account are only available when buy/sell tax, treasury tax is greater then 0
        if (buyTax > 0 || sellTax > 0)
            require(taxPayAccount != address(0), "invalid tax pay account");
        if (treasuryTax > 0)
            require(treasuryAccount != address(0), "invalid treasury account");

        // check if tax pay account and treasury account can receive ETH when the base pair token is ETH
        if (pairedToken == ETH_ADDRESS) {
            payable(taxPayAccount).sendValue(0);
            payable(treasuryAccount).sendValue(0);
        }

        _dexRouter = dexRouter;
        // pair with ETH or any other stable coin
        address lpPair = IDexFactory(IDexRouter(dexRouter).factory())
            .createPair(
                address(this),
                pairedToken == ETH_ADDRESS
                    ? IDexRouter(dexRouter).WETH()
                    : pairedToken
            );

        _baseAmmPair = lpPair;
        _basePairedToken = pairedToken;
        _taxPayAccount = taxPayAccount;
        _treasuryAccount = treasuryAccount;

        _buyTax = buyTax;
        _sellTax = sellTax;
        _treasuryTax = treasuryTax;

        _isAmmPair[lpPair] = true;
    }

    /// @notice Update buy / sell / treasury tax
    /// @dev new tax values should not be greater than the `taxAfterLimit`
    /// @param buyTax new buy tax value
    /// @param sellTax new sell tax value
    /// @param treasuryTax new treasury tax value
    function updateTaxes(
        uint16 buyTax,
        uint16 sellTax,
        uint16 treasuryTax
    ) external onlyOwner {
        // gas-saving code
        uint16 buyTax_ = _buyTax;
        uint16 sellTax_ = _sellTax;
        uint16 treasuryTax_ = _treasuryTax;

        if (buyTax > buyTax_)
            require(buyTax <= _maxBuyTaxAfter, "invalid buyTax");
        if (sellTax > sellTax_)
            require(sellTax <= _maxSellTaxAfter, "invalid sellTax");
        if (treasuryTax > treasuryTax_)
            require(treasuryTax <= _maxTreasuryTaxAfter, "invalid treasuryTax");

        _buyTax = buyTax;
        _sellTax = sellTax;
        _treasuryTax = treasuryTax;

        emit TaxesUpdated(buyTax, sellTax, treasuryTax);
    }

    /// @notice View taxes applied to the token
    /// @return uint16 {_buyTax}
    /// @return uint16 {_sellTax}
    /// @return uint16 {_treasuryTax}
    function taxes() external view returns (uint16, uint16, uint16) {
        return (_buyTax, _sellTax, _treasuryTax);
    }

    /// @notice Exclude / Include the multiple accounts from tax
    /// @dev Only callable by owner
    function batchExcludeFromTax(
        address[] calldata accounts,
        bool flag
    ) external onlyOwner {
        uint256 len = accounts.length;
        for (uint256 i; i < len; ) {
            address account = accounts[i];
            _isExcludedFromTax[account] = flag;

            unchecked {
                ++i;
            }

            emit ExcludedFromTax(account, flag);
        }
    }

    /// @notice Check if the account is excluded from the fees
    /// @param account: the account to be checked
    function isExcludedFromTax(address account) external view returns (bool) {
        return _isExcludedFromTax[account];
    }

    /// @notice Check if the {pair} is AMM pair
    function isAmmPair(address pair) external view returns (bool) {
        return _isAmmPair[pair];
    }

    /// @notice View tax receive accounts
    /// @return address buy/sell tax pay account
    /// @return address treasury tax pay account
    function taxAccounts() external view returns (address, address) {
        return (_taxPayAccount, _treasuryAccount);
    }

    /// @notice View amm related configuration addresses
    /// @return address dex router address
    /// @return address base paired token address
    /// @return address base pair address from the dex router
    function ammAddresses() external view returns (address, address, address) {
        return (_dexRouter, _basePairedToken, _baseAmmPair);
    }

    /**
     * @dev function {taxLimits}
     *
     * Return tax limits compared with current value and taxAfterLimits
     *
     * @return uint16 max buy tax limit
     * @return uint16 max sell tax limit
     * @return uint16 max treasury tax limit
     */
    function taxLimits() external view returns (uint16, uint16, uint16) {
        uint16 maxBuyTax = _buyTax < _maxBuyTaxAfter
            ? _maxBuyTaxAfter
            : _buyTax;
        uint16 maxSellTax = _sellTax < _maxSellTaxAfter
            ? _maxSellTaxAfter
            : _sellTax;
        uint16 maxTreasuryTax = _treasuryTax < _maxTreasuryTaxAfter
            ? _maxTreasuryTaxAfter
            : _treasuryTax;
        return (maxBuyTax, maxSellTax, maxTreasuryTax);
    }

    /**
     * @dev function {taxLimits}
     *
     * Return tax limits which are used after token launched
     *
     * @return uint16 max buy tax limit
     * @return uint16 max sell tax limit
     * @return uint16 max treasury tax limit
     */
    function taxAfterLimits() external view returns (uint16, uint16, uint16) {
        return (_maxBuyTaxAfter, _maxSellTaxAfter, _maxTreasuryTaxAfter);
    }

    function bankPadTax() external view returns (uint16) {
        return _bankPadTax;
    }
}


// File contracts/token/ERC20ByBankPadBase.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.0;





contract ERC20ByBankPadBase is AntiBotHelper, TaxHelper, IBase, ERC20Burnable {
    uint16 internal constant DENOMINATOR = 10000;

    string public bankUUID;
    address public immutable teamAccount;

    address public immutable bankPadFactory;
    bool internal _isLaunched;
    bool internal _isTaxConvertEnabled = true;

    /// @dev Ownership can be renounced only when buy/sell/treasury tax is below limit default 5%
    uint16 private _maxTaxToRenounce;

    /// @dev Bankpad tax is removed after some days default 15 days
    uint32 internal _bankPadTaxApplyPeriod;
    /// @dev Tax whitelist (exclude list) is not applied within some days after token launches default 2 days
    uint32 internal _taxWhitelistApplyDelay;

    /// @dev Token transfer is disabled for 1 mins once trading_delay flag is set
    uint32 internal _tradingDelayTime = 1 minutes;
    /// @dev Trading is disabled once {_isTradingDisabled} flag is set,
    /// it is unset automatically after 7 days if owner does not enable trading
    uint32 internal _tradingDisableTime = 7 days;

    /// @dev Threshold amount of accumlated tax until swap to pair token
    uint256 internal _thresholdAmount;

    /// @dev Token launched time
    uint256 internal _launchedAt;

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

    constructor(
        address factory_,
        address deployer_,
        TokenLaunchConf memory tokenLaunchConf_,
        InheritedConf memory inheritedConf_
    ) ERC20(tokenLaunchConf_.name, tokenLaunchConf_.symbol) {
        bankUUID = tokenLaunchConf_.uuid;
        bankPadFactory = factory_;

        _transferOwnership(deployer_);

        _initializeAntiBot(tokenLaunchConf_.antiBotParam);
        _initializeTax(tokenLaunchConf_.taxParam);
        _copyInheritedConf(inheritedConf_);

        _isExcludedFromHoldLimit[_baseAmmPair] = true;

        (uint256 supply, address teamAccount_, uint16 teamAlloc) = abi.decode(
            tokenLaunchConf_.distribParam,
            (uint256, address, uint16)
        );
        teamAccount = teamAccount_;

        // threshold amount is 0.1% of the total supply
        _thresholdAmount = (supply * inheritedConf_.thresholdPercent) / DENOMINATOR;

        // Distribute to team
        if (teamAlloc > 0) {
            require(teamAccount_ != address(0), "invalid team account");
            require(
                teamAlloc <=
                    IERC20FactoryByBankPad(factory_).maxTeamAllocForUUID(
                        tokenLaunchConf_.uuid
                    ),
                "too much team alloc"
            );
            uint256 teamAllocAmount = (supply * teamAlloc) / DENOMINATOR;
            _mint(teamAccount_, teamAllocAmount);
            supply -= teamAllocAmount;
        }

        // Mint rest tokens to the factory contract to add liquidity
        _mint(factory_, supply);
    }

    /**
     * @notice function {preLaunch}
     *
     * Configure token contract with the factory configuration
     *
     * @param param configuration structure from the factory
     */
    function _copyInheritedConf(InheritedConf memory param) private {
        _autoBurnFirstPercent = param.autoBurnFirstPercent;
        _autoBurnSecondPercent = param.autoBurnSecondPercent;
        _autoBurnThirdPercent = param.autoBurnThirdPercent;

        _maxBuyTaxAfter = _buyTax < param.maxBuyTaxAfter ? _buyTax : param.maxBuyTaxAfter;
        _maxSellTaxAfter = _sellTax < param.maxSellTaxAfter ? _sellTax : param.maxSellTaxAfter;
        _maxTreasuryTaxAfter = _treasuryTax < param.maxTreasuryTaxAfter ? _treasuryTax : param.maxTreasuryTaxAfter;

        _bankPadTax = param.bankPadTax;
        _maxTaxToRenounce = param.maxTaxToRenounce;

        _bankPadTaxApplyPeriod = param.bankPadTaxApplyPeriod;
        _taxWhitelistApplyDelay = param.taxWhitelistApplyDelay;
        _tradingDelayTime = param.tradingDelayTime;
        _tradingDisableTime = param.tradingDisableTime;
    }

    /// @dev Check if the sell amount is not against the anti-dump feature
    function _isValidSell(uint256 sellAmount) internal view {
        uint256 totalSupply_ = totalSupply();
        uint16 antiDumpLimit_ = _antiDumpLimit;
        // when anti-dump feature is enabled, sell amount should be less than the anti-dump limit
        require(
            antiDumpLimit_ < MIN_ANTI_DUMP_LIMIT ||
                (totalSupply_ * antiDumpLimit_) / DENOMINATOR >= sellAmount,
            "anti-dump"
        );
    }

    /**
     * @notice function {launch}
     *
     * Finalize the initialization of the token contract and launch!
     *
     * @param tradingDelayed Once this flag is set, trading is delayed for 1 min
     * @param tradingDisabled Once this flag is set, trading is disabled until it is set or 4 days
     */
    function launch(
        bool tradingDelayed,
        bool tradingDisabled
    ) external onlyFactory {
        require(!_isLaunched, "already launched");
        _isLaunched = true;
        // trading delay flag and trading disable flag can not set at the same time
        require(
            !tradingDelayed || !tradingDisabled,
            "can not delayed and disabled"
        );

        _isTradingDelayed = tradingDelayed;
        _isTradingDisabled = tradingDisabled;
        _launchedAt = block.timestamp;
    }

    /**
     * @notice function {batchSetAsAmmPair}
     *
     * Set / unset multiple pair addresses as AMM pair
     * LP addresses should be excluded from hold limit
     *
     * @param pairs lp addresses
     * @param flag true / false
     */
    function batchSetAsAmmPair(
        address[] calldata pairs,
        bool flag
    ) external onlyOwner {
        uint256 len = pairs.length;

        for (uint256 i; i < len; ) {
            address pair = pairs[i];
            require(pair != _baseAmmPair, "can not access base amm pair");
            _isAmmPair[pair] = flag;
            _isExcludedFromHoldLimit[pair] = flag;

            unchecked {
                ++i;
            }

            emit NewAmmPair(pair, flag);
        }
    }

    /// @notice Renounce ownership of the token contract
    /// @dev Only available when buy/sell tax is less than 5%
    function renounceOwnership() public override onlyOwner {
        uint16 maxTaxToRenounce_ = _maxTaxToRenounce;
        require(
            _buyTax <= maxTaxToRenounce_ &&
                _sellTax <= maxTaxToRenounce_ &&
                _treasuryTax <= maxTaxToRenounce_,
            "lower taxes before renounce"
        );

        super.renounceOwnership();
    }

    /// @notice Enable conversion of token tax
    function enableTaxConvert(bool flag) external onlyOwner {
        _isTaxConvertEnabled = flag;
    }

    function isTaxConvertEnabled() external view returns (bool) {
        return _isTaxConvertEnabled;
    }

    /// @notice Update the threshold amount for the swapping to occur
    /// @dev Too small value will cause sell tx happens in every tx
    function updateThresholdAmount(uint256 amount) external onlyOwner {
        require(amount > 0, "invalid threshold");
        _thresholdAmount = amount;
    }

    function thresholdAmount() external view returns (uint256) {
        return _thresholdAmount;
    }

    function launchedAt() external view returns (uint256) {
        return _launchedAt;
    }

    /**
     * @dev function {maxTaxToRenounce}
     *
     * Return the tax condition for renouncing ownership of the token
     *
     * @return uint16 max tax values for renounce
     */
    function maxTaxToRenounce() external view returns (uint16) {
        return _maxTaxToRenounce;
    }

    /**
     * @dev function {tradingTimes}
     *
     * Return token related time configuration
     *
     * @return uint32 trading delay time
     * @return uint32 trading disable time
     * @return uint32 BankPad tax apply period
     * @return uint32 Tax whitelist delay period
     */
    function timeConfiguration()
        external
        view
        returns (uint32, uint32, uint32, uint32)
    {
        return (
            _tradingDelayTime,
            _tradingDisableTime,
            _bankPadTaxApplyPeriod,
            _taxWhitelistApplyDelay
        );
    }
}


// File contracts/token/ERC20ByBankPad.sol

pragma solidity ^0.8.0;

// Original license: SPDX_License_Identifier: MIT

contract ERC20ByBankPad is ERC20ByBankPadBase {
    bytes32 public constant bankUUIDHash =
        0x3bc8a847bd156ce5e6a73fd4e25913f82963f44c763d7158c901132034f033b4;

    using Address for address payable;
    using SafeERC20 for IERC20;

    bool private _inSwap;

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

    constructor(
        address factory_,
        address deployer_,
        TokenLaunchConf memory tokenLaunchConf_,
        InheritedConf memory inheritedConf_
    )
        ERC20ByBankPadBase(
            factory_,
            deployer_,
            tokenLaunchConf_,
            inheritedConf_
        )
    {
        _isExcludedFromTxLimit[_msgSender()] = true;
        _isExcludedFromTxLimit[address(0)] = true;
        _isExcludedFromTxLimit[address(0xdead)] = true;
        _isExcludedFromTxLimit[address(this)] = true;

        _isExcludedFromHoldLimit[_msgSender()] = true;
        _isExcludedFromHoldLimit[address(0)] = true;
        _isExcludedFromHoldLimit[address(0xdead)] = true;
        _isExcludedFromHoldLimit[address(this)] = true;

        _isExcludedFromTax[_msgSender()] = true;
        _isExcludedFromTax[address(0)] = true;
        _isExcludedFromTax[address(0xdead)] = true;
        _isExcludedFromTax[address(this)] = true;
    }

    /**
     * @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 override {
        if (!_isLaunched) {
            super._afterTokenTransfer(from, to, amount);
            return;
        }

        _checkTradingDelayedOrDisabled(from, to);

        uint256 totalSupply_ = totalSupply();

        // Check max tx limit
        require(
            _isExcludedFromTxLimit[from] ||
                _isExcludedFromTxLimit[to] ||
                amount <= (totalSupply_ * _maxTxLimit) / DENOMINATOR,
            "tx amount limited"
        );

        // Check max wallet amount limit
        require(
            _isExcludedFromHoldLimit[to] ||
                balanceOf(to) <= (totalSupply_ * _maxHoldLimit) / DENOMINATOR,
            "receiver hold limited"
        );
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        // token transfer before token launches like mint / add liquidity will not charge taxes
        if (!_isLaunched) {
            super._transfer(from, to, amount);
            return;
        }

        uint256 blockTime = block.timestamp;

        uint256 bankPadTaxApplyPeriod = _bankPadTaxApplyPeriod;

        // is the token balance of this contract address over the min number of
        // tokens that we need to initiate a swap + liquidity lock?
        // also, don't get caught in a circular liquidity event.
        // also, don't swap & liquify if sender is uniswap pair.
        uint256 contractTokenBalance = balanceOf(address(this));

        // tax whitelist is only applied after 2 days of the first buy
        // but, token transfer from the token contract itself should be whitelisted
        bool isWhitelisted = from == address(this) || (
            (_isExcludedFromTax[from] ||
            _isExcludedFromTax[to]) &&
            _firstBuyAt > 0 &&
            blockTime >= _firstBuyAt + _taxWhitelistApplyDelay
        ) ;
        bool isBuyTx = _isAmmPair[from];
        bool isSellTx = _isAmmPair[to];

        bool isBankpadOverTime = _bankpadFeeApplied &&
                _firstBuyAt > 0 &&
                blockTime > _firstBuyAt + bankPadTaxApplyPeriod;

        // swap accumlated tax into ETH or USDC
        if (
            !_inSwap &&
            !isWhitelisted &&
            !isBuyTx &&
            _isTaxConvertEnabled &&
            (isBankpadOverTime || contractTokenBalance >= _thresholdAmount)
        ) {
            // although the bankpad tax period is finished, there may still be accumulated taxes thus far.
            // in this case, we will swap all those taxes into ETH / USDC.
            // when the bankpad fee period is over, swap all accumlated taxes
            if (isBankpadOverTime) _swapToPairedToken(contractTokenBalance);
            else _swapToPairedToken(_thresholdAmount);
            if (isBankpadOverTime) _bankpadFeeApplied = false;
        }

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

        uint256 fees;
        if (!isWhitelisted) {
            if (isBuyTx) {
                // bankpad tax is applied on top of buy tax for 15 days
                // its 10% of buy tax
                if (
                    _bankpadFeeApplied &&
                    (_firstBuyAt == 0 ||
                        blockTime <= _firstBuyAt + bankPadTaxApplyPeriod)
                )
                    fees =
                        (amount *
                            (_buyTax + _treasuryTax) *
                            (DENOMINATOR + _bankPadTax)) /
                        DENOMINATOR /
                        DENOMINATOR;
                else fees = (amount * (_buyTax + _treasuryTax)) / DENOMINATOR;

                // for the first buy txs, anti sniper auto-burn is applied
                // this is applied for 3 blocks
                uint256 autoBurnPerc = _antiSniperAutoBurn();

                if (autoBurnPerc > 0) {
                    uint256 autoBurnAmount = (amount * autoBurnPerc) /
                        DENOMINATOR;
                    _burn(from, autoBurnAmount);

                    amount -= autoBurnAmount;
                }
            } else if (isSellTx) {
                _isValidSell(amount);
                // bankpad tax is applied on top of sell tax for 15 days
                // its 10% of buy tax
                if (
                    _bankpadFeeApplied &&
                    (_firstBuyAt == 0 ||
                        blockTime <= _firstBuyAt + bankPadTaxApplyPeriod)
                )
                    fees =
                        (amount *
                            (_sellTax + _treasuryTax) *
                            (DENOMINATOR + _bankPadTax)) /
                        DENOMINATOR /
                        DENOMINATOR;
                else fees = (amount * (_sellTax + _treasuryTax)) / DENOMINATOR;
            }

            if (fees > 0) super._transfer(from, address(this), fees);
            amount -= fees;
        }

        super._transfer(from, to, amount);
    }

    function _checkTradingDelayedOrDisabled(address from, address to) private {
        address teamAccount_ = teamAccount; // gas-saving code
        address tokenOwner = owner(); // gas-saving code
        // token owner or team account is not restricted by trading delay or trading manually enable trading feature
        if (
            teamAccount_ == from ||
            teamAccount_ == to ||
            tokenOwner == from ||
            tokenOwner == to
        ) return;

        uint256 blockTime = block.timestamp;
        // check if the trading delayed
        if (_isTradingDelayed) {
            if (blockTime < _launchedAt + _tradingDelayTime)
                revert("trading delayed");
            _isTradingDelayed = false;
            emit TradingDelayFinished();
        }

        // check if the trading disabled
        if (_isTradingDisabled) {
            if (blockTime < _launchedAt + _tradingDisableTime)
                revert("trading disabled");
            // enable trading after 4 days
            _isTradingDisabled = false;
            emit TradingEnabled();
        }
    }

    /**
     * @dev Swap token accumlated in this contract to the base paired token
     * 
     * According to the paired token

     * - when paired token is ETH, swapToETH function is called
     * - when paired token is another token, swapToToken is called

     */
    function _swapToPairedToken(uint256 amount) private lockTheSwap {
        if (amount == 0) return;
        address basePairedToken_ = _basePairedToken;
        address payable servicePayAccount = IERC20FactoryByBankPad(
            bankPadFactory
        ).servicePayAccount();
        address payable taxPayAccount = payable(_taxPayAccount);
        address payable treasuryAccount = payable(_treasuryAccount);
        if (basePairedToken_ == ETH_ADDRESS) {
            uint256 swappedAmount = _swapToETH(amount);
            if (swappedAmount > 0) {
                // send bankpad fee
                if (_bankpadFeeApplied) {
                    uint256 bankpadFeeAmount = _calcBankpadFee(swappedAmount);
                    servicePayAccount.sendValue(bankpadFeeAmount);
                    swappedAmount -= bankpadFeeAmount;
                }
                // send treasury tax
                if (_treasuryTax > 0 && treasuryAccount != address(0)) {
                    uint256 treasuryFeeAmount = _calcTreasuryFee(swappedAmount);
                    treasuryAccount.sendValue(treasuryFeeAmount);
                    swappedAmount -= treasuryFeeAmount;
                }
                // send buy/sell tax
                if (taxPayAccount != address(0))
                    taxPayAccount.sendValue(swappedAmount);
            }
        } else {
            uint256 swappedAmount = _swapToToken(basePairedToken_, amount);
            if (swappedAmount > 0) {
                // send bankpad fee
                if (_bankpadFeeApplied) {
                    uint256 bankpadFeeAmount = _calcBankpadFee(swappedAmount);
                    IERC20(basePairedToken_).safeTransfer(
                        servicePayAccount,
                        bankpadFeeAmount
                    );
                    swappedAmount -= bankpadFeeAmount;
                }
                // send treasury tax
                if (_treasuryTax > 0 && treasuryAccount != address(0)) {
                    uint256 treasuryFeeAmount = _calcTreasuryFee(swappedAmount);
                    IERC20(basePairedToken_).safeTransfer(
                        treasuryAccount,
                        treasuryFeeAmount
                    );
                    swappedAmount -= treasuryFeeAmount;
                }

                // send buy/sell tax
                if (taxPayAccount != address(0))
                    IERC20(basePairedToken_).safeTransfer(
                        taxPayAccount,
                        swappedAmount
                    );
            }
        }
    }

    /// @dev Calculate bankpad fee amount from the swapped total tax amount
    function _calcBankpadFee(
        uint256 swappedAmount
    ) private view returns (uint256) {
        uint16 bankPadTax = _bankPadTax;
        return (swappedAmount * bankPadTax) / (DENOMINATOR + bankPadTax);
    }

    /// @dev Calculate treasury fee amount from the swapped tax amount
    function _calcTreasuryFee(
        uint256 swappedAmount
    ) private view returns (uint256) {
        // gas-saving codes
        uint16 buyTax_ = _buyTax;
        uint16 sellTax_ = _sellTax;
        uint16 treasuryTax_ = _treasuryTax;

        return
            (swappedAmount * 2 * treasuryTax_) /
            (buyTax_ + sellTax_ + 2 * treasuryTax_);
    }

    function _swapToToken(
        address token,
        uint256 amount
    ) private returns (uint256) {
        // generate the uniswap pair path of token -> stable coin
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = token;

        IDexRouter dexRouter_ = IDexRouter(_dexRouter);
        _approve(address(this), address(dexRouter_), amount);
        uint256 balanceBefore = IERC20(token).balanceOf(address(this));
        // make the swap
        try
            dexRouter_.swapExactTokensForTokensSupportingFeeOnTransferTokens(
                amount,
                0, // accept any amount of tokens
                path,
                address(this),
                block.timestamp + 300
            )
        {
            return IERC20(token).balanceOf(address(this)) - balanceBefore;
        } catch (bytes memory /* lowLevelData */) {}
        return 0;
    }

    function _swapToETH(uint256 amount) private returns (uint256) {
        IDexRouter dexRouter_ = IDexRouter(_dexRouter);
        // generate the uniswap pair path of token -> eth
        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = dexRouter_.WETH();

        _approve(address(this), address(dexRouter_), amount);
        uint256 balanceBefore = address(this).balance;
        // make the swap
        try
            dexRouter_.swapExactTokensForETHSupportingFeeOnTransferTokens(
                amount,
                0, // accept any amount of ETH
                path,
                address(this),
                block.timestamp + 300
            )
        {
            return address(this).balance - balanceBefore;
        } catch (bytes memory /* lowLevelData */) {}
        return 0;
    }

    receive() external payable {}

    /**
     * @dev It allows the admin to recover tokens sent to the contract
     * @param token_: the address of the token to withdraw
     * @param amount_: the number of tokens to withdraw
     *
     * This function is only callable by owner
     */
    function recoverToken(address token_, uint256 amount_) external onlyOwner {
        IERC20(token_).safeTransfer(_msgSender(), amount_);
    }

    /**
     * @dev It allows the admin to recover ETH sent to the contract
     * @param amount_: the number of ETH to withdraw
     *
     * This function is only callable by owner
     */
    function recoverETH(uint256 amount_) external onlyOwner {
        payable(_msgSender()).sendValue(amount_);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"factory_","type":"address"},{"internalType":"address","name":"deployer_","type":"address"},{"components":[{"internalType":"string","name":"uuid","type":"string"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"bytes","name":"distribParam","type":"bytes"},{"internalType":"bytes","name":"antiBotParam","type":"bytes"},{"internalType":"bytes","name":"taxParam","type":"bytes"},{"internalType":"bytes","name":"lpParam","type":"bytes"}],"internalType":"struct IBase.TokenLaunchConf","name":"tokenLaunchConf_","type":"tuple"},{"components":[{"internalType":"uint16","name":"autoBurnFirstPercent","type":"uint16"},{"internalType":"uint16","name":"autoBurnSecondPercent","type":"uint16"},{"internalType":"uint16","name":"autoBurnThirdPercent","type":"uint16"},{"internalType":"uint16","name":"thresholdPercent","type":"uint16"},{"internalType":"uint16","name":"maxBuyTaxAfter","type":"uint16"},{"internalType":"uint16","name":"maxSellTaxAfter","type":"uint16"},{"internalType":"uint16","name":"maxTreasuryTaxAfter","type":"uint16"},{"internalType":"uint16","name":"bankPadTax","type":"uint16"},{"internalType":"uint16","name":"maxTaxToRenounce","type":"uint16"},{"internalType":"uint32","name":"bankPadTaxApplyPeriod","type":"uint32"},{"internalType":"uint32","name":"taxWhitelistApplyDelay","type":"uint32"},{"internalType":"uint32","name":"tradingDelayTime","type":"uint32"},{"internalType":"uint32","name":"tradingDisableTime","type":"uint32"}],"internalType":"struct IBase.InheritedConf","name":"inheritedConf_","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"antiDumpLimit","type":"uint16"}],"name":"AntiDumpLimitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"flag","type":"bool"}],"name":"ExcludedFromHoldLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"flag","type":"bool"}],"name":"ExcludedFromTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"flag","type":"bool"}],"name":"ExcludedFromTxLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"maxHoldLimit","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"maxTxLimit","type":"uint16"}],"name":"MaxLimitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"flag","type":"bool"}],"name":"NewAmmPair","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":"uint16","name":"buyTax","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"sellTax","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"treasuryTax","type":"uint16"}],"name":"TaxesUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"TradingDelayFinished","type":"event"},{"anonymous":false,"inputs":[],"name":"TradingEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ammAddresses","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiBotFlags","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiDumpLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bankPadFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bankPadTax","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bankUUID","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bankUUIDHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"batchExcludeFromHoldLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"batchExcludeFromTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"batchExcludeFromTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"pairs","type":"address[]"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"batchSetAsAmmPair","outputs":[],"stateMutability":"nonpayable","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":"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":[{"internalType":"bool","name":"flag","type":"bool"}],"name":"enableTaxConvert","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"isAmmPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAntiDumpEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromLimit","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTaxConvertEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"tradingDelayed","type":"bool"},{"internalType":"bool","name":"tradingDisabled","type":"bool"}],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTaxToRenounce","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"amount_","type":"uint256"}],"name":"recoverETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"recoverToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"snipeAutoBurnPercents","outputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAccounts","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxAfterLimits","outputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxLimits","outputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"taxes","outputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamAccount","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thresholdAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeConfiguration","outputs":[{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"uint32","name":"","type":"uint32"},{"internalType":"uint32","name":"","type":"uint32"}],"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":[{"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":[{"internalType":"uint16","name":"limit","type":"uint16"}],"name":"updateAntiDumpLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"holdLimit","type":"uint16"},{"internalType":"uint16","name":"txLimit","type":"uint16"}],"name":"updateMaxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"buyTax","type":"uint16"},{"internalType":"uint16","name":"sellTax","type":"uint16"},{"internalType":"uint16","name":"treasuryTax","type":"uint16"}],"name":"updateTaxes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"updateThresholdAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60c06040526007805460ff191660011790556015805472093a800000003c00000000000000000000010061ff00600160601b03600160a01b03199091161790553480156200004b575f80fd5b506040516200521b3803806200521b8339810160408190526200006e9162001555565b838383838160200151826040015162000096620000906200050160201b60201c565b62000505565b6012620000a483826200176b565b506013620000b382826200176b565b5050825160149150620000c790826200176b565b506001600160a01b03841660a052620000e08362000505565b6080820151620000f09062000554565b60a0820151620001009062000782565b6200010b8162000b27565b600b546001600160a01b03165f9081526006602090815260408220805460ff1916600117905560608401518051839283926200014d9281018201910162001837565b6001600160a01b03821660805260608701519295509093509150612710906200017b9061ffff16856200188b565b620001879190620018ab565b60165561ffff811615620002f9576001600160a01b038216620001f15760405162461bcd60e51b815260206004820152601460248201527f696e76616c6964207465616d206163636f756e7400000000000000000000000060448201526064015b60405180910390fd5b8451604051630538cdc760e31b81526001600160a01b038916916329c66e3891620002209190600401620018cb565b602060405180830381865afa1580156200023c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002629190620018ff565b61ffff168161ffff161115620002bb5760405162461bcd60e51b815260206004820152601360248201527f746f6f206d756368207465616d20616c6c6f63000000000000000000000000006044820152606401620001e8565b5f612710620002cf61ffff8416866200188b565b620002db9190620018ab565b9050620002e9838262000d5f565b620002f5818562001922565b9350505b62000305878462000d5f565b50505050505050600160055f620003216200050160201b60201c565b6001600160a01b0316815260208082019290925260409081015f908120805494151560ff1995861617905560059092527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc8054841660019081179091557f7d509c07f0d4edcc2dd1b53aae68677132eb562dcba78e36381b63ccaf66e6ba805485168217905530835290822080549093168117909255600690620003c23390565b6001600160a01b0316815260208082019290925260409081015f908120805494151560ff1995861617905560069092527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f88054841660019081179091557f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e22805485168217905530835290822080549093168117909255600d90620004633390565b6001600160a01b0316815260208082019290925260409081015f908120805494151560ff19958616179055600d9092527f81955a0a11e65eac625c29e8882660bae4e165a75d72780094acae8ece9a29ee8054841660019081179091557fdc7fafdc41998a74ecacb8f8bd877011aba1f1d03a3a0d37a2e7879a393b1d6a8054851682179055308352912080549092161790555062001a6692505050565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f805f80848060200190518101906200056e919062001938565b935093509350935061271061ffff168361ffff1611158015620005965750601961ffff841610155b620005e45760405162461bcd60e51b815260206004820152601560248201527f7478206c696d6974206f7574206f662072616e676500000000000000000000006044820152606401620001e8565b61271061ffff851611801590620006005750601961ffff851610155b6200064e5760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e67650000000000000000006044820152606401620001e8565b8361ffff168361ffff161115620006a85760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d697400000000006044820152606401620001e8565b61ffff82161580620006d15750601961ffff831610801590620006d1575061271061ffff831611155b6200071f5760405162461bcd60e51b815260206004820152601c60248201527f616e74692d64756d70206c696d6974206f7574206f662072616e6765000000006044820152606401620001e8565b5f805461ffff938416600160f01b026001600160f01b03968516600160e01b0261ffff60e01b1995909616600160d01b029490941663ffffffff60d01b199091161793909317939093161790556001805491151560ff1990921691909117905550565b5f805f805f805f878060200190518101906200079f919062001997565b96509650965096509650965096505f8361ffff161180620007c357505f8261ffff16115b1562000821576001600160a01b038516620008215760405162461bcd60e51b815260206004820152601760248201527f696e76616c69642074617820706179206163636f756e740000000000000000006044820152606401620001e8565b61ffff81161562000884576001600160a01b038416620008845760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207472656173757279206163636f756e7400000000000000006044820152606401620001e8565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b03871601620008d457620008bf6001600160a01b0386165f62000e2f565b620008d46001600160a01b0385165f62000e2f565b600880546001600160a01b0319166001600160a01b0389169081179091556040805163c45a015560e01b815290515f929163c45a01559160048083019260209291908290030181865afa1580156200092e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000954919062001a32565b6001600160a01b031663c9c653963073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b03168a6001600160a01b031614620009985789620009fb565b8a6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620009d5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620009fb919062001a32565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000a46573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000a6c919062001a32565b600b80546001600160a01b03199081166001600160a01b03938416908117909255600c805482169a84169a909a17909955600980548a1698831698909817909755600a80549098169516949094179095556007805464ffffffff00191661010061ffff9485160264ffff0000001916176301000000928416929092029190911761ffff60281b1916650100000000009290951691909102939093179092555f908152600e60205260409020805460ff19166001179055505050565b80515f80546020840151604085015163ffffffff60a01b19909216600160a01b61ffff9586160261ffff60b01b191617600160b01b918516919091021761ffff60c01b1916600160c01b9184169190910217905560808201516007549082166101009091049091161062000ba057806080015162000bad565b600754610100900461ffff165b6007805461ffff60381b191667010000000000000061ffff93841602179081905560a0830151821663010000009091049091161062000bf1578060a0015162000c00565b6007546301000000900461ffff165b6007805461ffff60481b1916690100000000000000000061ffff93841602179081905560c08301518216650100000000009091049091161062000c48578060c0015162000c59565b60075465010000000000900461ffff165b6007805460e084015163ffffffff60581b199091166b01000000000000000000000061ffff9485160261ffff60681b1916176d010000000000000000000000000091841691909102179055610100820151601580546101208501516101408601516101608701516101809097015167ffffffffffff00001990931662010000959096169490940263ffffffff60201b19169490941764010000000063ffffffff9586160217600160401b600160801b031916680100000000000000009385169390930263ffffffff60601b1916929092176c01000000000000000000000000948416949094029390931763ffffffff60801b1916600160801b9290911691909102179055565b6001600160a01b03821662000db75760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620001e8565b8060115f82825462000dca919062001a50565b90915550506001600160a01b0382165f818152600f60209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a362000e2b5f838362000f4f565b5050565b8047101562000e815760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401620001e8565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811462000ecc576040519150601f19603f3d011682016040523d82523d5f602084013e62000ed1565b606091505b505090508062000f4a5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401620001e8565b505050565b60155460ff1662000f6d5762000f4a8383836001600160e01b038416565b62000f798383620010f5565b5f62000f8460115490565b6001600160a01b0385165f9081526005602052604090205490915060ff168062000fc557506001600160a01b0383165f9081526005602052604090205460ff165b8062000ff957505f546127109062000fe990600160d01b900461ffff16836200188b565b62000ff59190620018ab565b8211155b6200103b5760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b6044820152606401620001e8565b6001600160a01b0383165f9081526006602052604090205460ff1680620010a157505f54612710906200107a90600160e01b900461ffff16836200188b565b620010869190620018ab565b6001600160a01b0384165f908152600f602052604090205411155b620010ef5760405162461bcd60e51b815260206004820152601560248201527f726563656976657220686f6c64206c696d6974656400000000000000000000006044820152606401620001e8565b50505050565b6080515f80546001600160a01b03169050836001600160a01b0316826001600160a01b03161480620011385750826001600160a01b0316826001600160a01b0316145b80620011555750836001600160a01b0316816001600160a01b0316145b80620011725750826001600160a01b0316816001600160a01b0316145b156200117e5750505050565b6001544290610100900460ff16156200123057601554601754620011b9916c01000000000000000000000000900463ffffffff169062001a50565b811015620011fc5760405162461bcd60e51b815260206004820152600f60248201526e1d1c98591a5b99c819195b185e5959608a1b6044820152606401620001e8565b6001805461ff00191690556040517fab510bbf1d44ab52001b0b9606b77e378e6fd6fa3989ddbeb5a08fe60b3913b3905f90a15b60015462010000900460ff1615620012da576015546017546200126191600160801b900463ffffffff169062001a50565b811015620012a55760405162461bcd60e51b815260206004820152601060248201526f1d1c98591a5b99c8191a5cd8589b195960821b6044820152606401620001e8565b6001805462ff0000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a15b5050505050565b6001600160a01b0381168114620012f6575f80fd5b50565b634e487b7160e01b5f52604160045260245ffd5b6040516101a081016001600160401b0381118282101715620013335762001333620012f9565b60405290565b60405160e081016001600160401b0381118282101715620013335762001333620012f9565b5f5b838110156200137a57818101518382015260200162001360565b50505f910152565b5f82601f83011262001392575f80fd5b81516001600160401b0380821115620013af57620013af620012f9565b604051601f8301601f19908116603f01168101908282118183101715620013da57620013da620012f9565b81604052838152866020858801011115620013f3575f80fd5b620014068460208301602089016200135e565b9695505050505050565b805161ffff8116811462001422575f80fd5b919050565b805163ffffffff8116811462001422575f80fd5b5f6101a082840312156200144d575f80fd5b620014576200130d565b9050620014648262001410565b8152620014746020830162001410565b6020820152620014876040830162001410565b60408201526200149a6060830162001410565b6060820152620014ad6080830162001410565b6080820152620014c060a0830162001410565b60a0820152620014d360c0830162001410565b60c0820152620014e660e0830162001410565b60e0820152610100620014fb81840162001410565b908201526101206200150f83820162001427565b908201526101406200152383820162001427565b908201526101606200153783820162001427565b908201526101806200154b83820162001427565b9082015292915050565b5f805f8061020085870312156200156a575f80fd5b84516200157781620012e1565b60208601519094506200158a81620012e1565b60408601519093506001600160401b0380821115620015a7575f80fd5b9086019060e08289031215620015bb575f80fd5b620015c562001339565b825182811115620015d4575f80fd5b620015e28a82860162001382565b825250602083015182811115620015f7575f80fd5b620016058a82860162001382565b6020830152506040830151828111156200161d575f80fd5b6200162b8a82860162001382565b60408301525060608301518281111562001643575f80fd5b620016518a82860162001382565b60608301525060808301518281111562001669575f80fd5b620016778a82860162001382565b60808301525060a0830151828111156200168f575f80fd5b6200169d8a82860162001382565b60a08301525060c083015182811115620016b5575f80fd5b620016c38a82860162001382565b60c083015250809450505050620016de86606087016200143b565b905092959194509250565b600181811c90821680620016fe57607f821691505b6020821081036200171d57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000f4a57805f5260205f20601f840160051c810160208510156200174a5750805b601f840160051c820191505b81811015620012da575f815560010162001756565b81516001600160401b03811115620017875762001787620012f9565b6200179f81620017988454620016e9565b8462001723565b602080601f831160018114620017d5575f8415620017bd5750858301515b5f19600386901b1c1916600185901b1785556200182f565b5f85815260208120601f198616915b828110156200180557888601518255948401946001909101908401620017e4565b50858210156200182357878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f805f606084860312156200184a575f80fd5b8351925060208401516200185e81620012e1565b91506200186e6040850162001410565b90509250925092565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620018a557620018a562001877565b92915050565b5f82620018c657634e487b7160e01b5f52601260045260245ffd5b500490565b602081525f8251806020840152620018eb8160408501602087016200135e565b601f01601f19169190910160400192915050565b5f6020828403121562001910575f80fd5b6200191b8262001410565b9392505050565b81810381811115620018a557620018a562001877565b5f805f80608085870312156200194c575f80fd5b620019578562001410565b9350620019676020860162001410565b9250620019776040860162001410565b9150606085015180151581146200198c575f80fd5b939692955090935050565b5f805f805f805f60e0888a031215620019ae575f80fd5b8751620019bb81620012e1565b6020890151909750620019ce81620012e1565b6040890151909650620019e181620012e1565b6060890151909550620019f481620012e1565b935062001a046080890162001410565b925062001a1460a0890162001410565b915062001a2460c0890162001410565b905092959891949750929550565b5f6020828403121562001a43575f80fd5b81516200191b81620012e1565b80820180821115620018a557620018a562001877565b60805160a05161377e62001a9d5f395f81816105e80152818161188a01526124c601525f81816109830152612f3f015261377e5ff3fe6080604052600436106102f6575f3560e01c806380c7465311610189578063bf56b371116100d8578063d94160e011610092578063def98aba1161006d578063def98aba14610a61578063f0ee1ea514610a80578063f2fde38b14610ac2578063f519b7d314610ae1575f80fd5b8063d94160e0146109c4578063db200bfa14610a23578063dd62ed3e14610a42575f80fd5b8063bf56b371146108e9578063c524e82e146108fd578063c5f7f1681461091c578063cb4ca6311461093b578063d05ee72714610972578063d3335553146109a5575f80fd5b8063a103657e11610143578063b29a81401161011e578063b29a81401461085a578063b4b37bd214610879578063b6a6790b146108ac578063be3b115d146108cb575f80fd5b8063a103657e14610808578063a457c2d71461081c578063a9059cbb1461083b575f80fd5b806380c74653146107165780638a8c523c1461076e5780638da5cb5b146107825780639191a9c71461079e57806394488683146107d557806395d89b41146107f4575f80fd5b80633b0deddd116102455780636cb20f47116101ff5780637196d178116101da5780637196d1781461066a578063728f8eea146106a9578063785e8a12146106db57806379cc6790146106f7575f80fd5b80636cb20f47146105d757806370a0823114610622578063715018a614610656575f80fd5b80633b0deddd146105025780633e4042281461052157806342966c681461054557806349deaf4f146105645780635b30facb1461059157806366bd1270146105a5575f80fd5b806323b872dd116102b05780632af65da11161028b5780632af65da1146104755780632fdd75bf14610494578063313ce567146104c857806339509351146104e3575f80fd5b806323b872dd1461042357806328f4dbb6146104425780632aa9c37614610456575f80fd5b8063068b976f1461030157806306fdde0314610322578063095ea7b31461034c5780630d426b001461037b57806318160ddd146103cf5780631a861d26146103ed575f80fd5b366102fd57005b5f80fd5b34801561030c575f80fd5b5061032061031b3660046132d5565b610b00565b005b34801561032d575f80fd5b50610336610ce9565b6040516103439190613337565b60405180910390f35b348015610357575f80fd5b5061036b61036636600461337d565b610d79565b6040519015158152602001610343565b348015610386575f80fd5b505f5461ffff600160a01b8204811691600160b01b8104821691600160c01b909104165b6040805161ffff94851681529284166020840152921691810191909152606001610343565b3480156103da575f80fd5b506011545b604051908152602001610343565b3480156103f8575f80fd5b505f546040805161ffff600160e01b840481168252600160d01b909304909216602083015201610343565b34801561042e575f80fd5b5061036b61043d3660046133a7565b610d92565b34801561044d575f80fd5b506016546103df565b348015610461575f80fd5b506103206104703660046133f2565b610db5565b348015610480575f80fd5b5061032061048f36600461340d565b610dd7565b34801561049f575f80fd5b5060075461ffff600160381b8204811691600160481b8104821691600160581b909104166103aa565b3480156104d3575f80fd5b5060405160128152602001610343565b3480156104ee575f80fd5b5061036b6104fd36600461337d565b610e87565b34801561050d575f80fd5b5061032061051c36600461348c565b610ea8565b34801561052c575f80fd5b5061036b5f546019600160f01b90910461ffff16101590565b348015610550575f80fd5b5061032061055f3660046134a5565b610fc1565b34801561056f575f80fd5b5060155462010000900461ffff165b60405161ffff9091168152602001610343565b34801561059c575f80fd5b50610336610fce565b3480156105b0575f80fd5b50600954600a54604080516001600160a01b03938416815292909116602083015201610343565b3480156105e2575f80fd5b5061060a7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610343565b34801561062d575f80fd5b506103df61063c3660046134bc565b6001600160a01b03165f908152600f602052604090205490565b348015610661575f80fd5b5061032061105a565b348015610675575f80fd5b50600854600c54600b54604080516001600160a01b0394851681529284166020840152921691810191909152606001610343565b3480156106b4575f80fd5b5060075461ffff610100820481169163010000008104821691600160281b909104166103aa565b3480156106e6575f80fd5b50601554610100900460ff1661036b565b348015610702575f80fd5b5061032061071136600461337d565b61110b565b348015610721575f80fd5b506015546040805163ffffffff600160601b840481168252600160801b8404811660208301526401000000008404811692820192909252600160401b909204166060820152608001610343565b348015610779575f80fd5b50610320611124565b34801561078d575f80fd5b505f546001600160a01b031661060a565b3480156107a9575f80fd5b5061036b6107b83660046134bc565b6001600160a01b03165f908152600e602052604090205460ff1690565b3480156107e0575f80fd5b506103206107ef36600461340d565b6111ac565b3480156107ff575f80fd5b50610336611255565b348015610813575f80fd5b506103aa611264565b348015610827575f80fd5b5061036b61083636600461337d565b61133c565b348015610846575f80fd5b5061036b61085536600461337d565b6113b6565b348015610865575f80fd5b5061032061087436600461337d565b6113c3565b348015610884575f80fd5b506103df7f3bc8a847bd156ce5e6a73fd4e25913f82963f44c763d7158c901132034f033b481565b3480156108b7575f80fd5b506103206108c636600461340d565b6113df565b3480156108d6575f80fd5b505f54600160f01b900461ffff1661057e565b3480156108f4575f80fd5b506017546103df565b348015610908575f80fd5b50600754600160681b900461ffff1661057e565b348015610927575f80fd5b5061032061093636600461340d565b6114fb565b348015610946575f80fd5b5061036b6109553660046134bc565b6001600160a01b03165f908152600d602052604090205460ff1690565b34801561097d575f80fd5b5061060a7f000000000000000000000000000000000000000000000000000000000000000081565b3480156109b0575f80fd5b506103206109bf3660046134a5565b6115a4565b3480156109cf575f80fd5b50610a0c6109de3660046134bc565b6001600160a01b03165f9081526006602090815260408083205460059092529091205460ff91821692911690565b604080519215158352901515602083015201610343565b348015610a2e575f80fd5b50610320610a3d3660046134a5565b6115b6565b348015610a4d575f80fd5b506103df610a5c3660046134d7565b611606565b348015610a6c575f80fd5b50610320610a7b36600461350e565b611630565b348015610a8b575f80fd5b506001546040805160ff80841615158252610100840481161515602083015262010000909304909216151590820152606001610343565b348015610acd575f80fd5b50610320610adc3660046134bc565b611812565b348015610aec575f80fd5b50610320610afb36600461353f565b611888565b610b086119dc565b60075461ffff610100820481169163010000008104821691600160281b9091048116908616831015610b8b5760075461ffff600160381b90910481169087161115610b8b5760405162461bcd60e51b815260206004820152600e60248201526d0d2dcecc2d8d2c840c4eaf2a8c2f60931b60448201526064015b60405180910390fd5b8161ffff168561ffff161115610bee5760075461ffff600160481b90910481169086161115610bee5760405162461bcd60e51b815260206004820152600f60248201526e0d2dcecc2d8d2c840e6cad8d8a8c2f608b1b6044820152606401610b82565b8061ffff168461ffff161115610c555760075461ffff600160581b90910481169085161115610c555760405162461bcd60e51b81526020600482015260136024820152720d2dcecc2d8d2c840e8e4cac2e6eae4f2a8c2f606b1b6044820152606401610b82565b6007805464ffffffff00191661010061ffff89811691820264ffff00000019169290921763010000008984169081029190911766ffff00000000001916600160281b93891693840217909355604080519182526020820193909352918201527fb6d7a9e1cf68fd02461e40d3c33cf2c4551d4a5f101ccbb620cd29488ff528609060600160405180910390a1505050505050565b606060128054610cf89061356b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d249061356b565b8015610d6f5780601f10610d4657610100808354040283529160200191610d6f565b820191905f5260205f20905b815481529060010190602001808311610d5257829003601f168201915b5050505050905090565b5f33610d86818585611a37565b60019150505b92915050565b5f33610d9f858285611b5a565b610daa858585611bd2565b506001949350505050565b610dbd6119dc565b601580549115156101000261ff0019909216919091179055565b610ddf6119dc565b815f5b81811015610e80575f858583818110610dfd57610dfd6135a3565b9050602002016020810190610e1291906134bc565b6001600160a01b0381165f81815260066020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507f0a3739d32ce712ba6f19229ad53a9267424ae1f5fb81ea18eb916ca6fd9f7188910160405180910390a150610de2565b5050505050565b5f33610d86818585610e998383611606565b610ea391906135cb565b611a37565b610eb06119dc565b5f8054600160f01b900461ffff169003610f045760405162461bcd60e51b8152602060048201526015602482015274185b9d1a4b591d5b5c081b9bdd08195b98589b1959605a1b6044820152606401610b82565b601961ffff821610801590610f1f575061271061ffff821611155b610f6b5760405162461bcd60e51b815260206004820152601c60248201527f616e74692d64756d70206c696d6974206f7574206f662072616e6765000000006044820152606401610b82565b5f80546001600160f01b0316600160f01b61ffff8416908102919091179091556040519081527fcfd8a76f34f3fbb9f999325c2887d5ec8933c519a3bfdb71c2aa6c6d9aef5ebb9060200160405180910390a150565b610fcb3382611fea565b50565b60148054610fdb9061356b565b80601f01602080910402602001604051908101604052809291908181526020018280546110079061356b565b80156110525780601f1061102957610100808354040283529160200191611052565b820191905f5260205f20905b81548152906001019060200180831161103557829003601f168201915b505050505081565b6110626119dc565b60155460075461ffff6201000090920482169161010090910416811080159061109b575060075461ffff80831663010000009092041611155b80156110b7575060075461ffff808316600160281b9092041611155b6111035760405162461bcd60e51b815260206004820152601b60248201527f6c6f776572207461786573206265666f72652072656e6f756e636500000000006044820152606401610b82565b610fcb612122565b611116823383611b5a565b6111208282611fea565b5050565b61112c6119dc565b60015462010000900460ff166111765760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e48195b98589b1959608a1b6044820152606401610b82565b6001805462ff0000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1565b6111b46119dc565b815f5b81811015610e80575f8585838181106111d2576111d26135a3565b90506020020160208101906111e791906134bc565b6001600160a01b0381165f818152600d6020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fea5814d1cf99e5f6aee98da410ea4adcdbe5ded97855de3b25144b0898d0be4a910160405180910390a1506111b7565b606060138054610cf89061356b565b6007545f9081908190819061ffff600160381b82048116610100909204161061129857600754610100900461ffff166112a7565b600754600160381b900461ffff165b6007549091505f9061ffff600160481b82048116630100000090920416106112dc576007546301000000900461ffff166112eb565b600754600160481b900461ffff165b6007549091505f9061ffff600160581b82048116600160281b909204161061132057600754600160281b900461ffff1661132f565b600754600160581b900461ffff165b9296919550919350915050565b5f33816113498286611606565b9050838110156113a95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b82565b610daa8286868403611a37565b5f33610d86818585611bd2565b6113cb6119dc565b6111206001600160a01b0383163383612133565b6113e76119dc565b815f5b81811015610e80575f858583818110611405576114056135a3565b905060200201602081019061141a91906134bc565b600b549091506001600160a01b039081169082160361147b5760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f7420616363657373206261736520616d6d2070616972000000006044820152606401610b82565b6001600160a01b0381165f818152600e60209081526040808320805489151560ff199182168117909255600684529382902080549094168117909355805193845290830191909152600193909301927f4d5593e244fd41eece27031c1331466a9e253a06df08dda6c1c2b3c387140da0910160405180910390a1506113ea565b6115036119dc565b815f5b81811015610e80575f858583818110611521576115216135a3565b905060200201602081019061153691906134bc565b6001600160a01b0381165f81815260056020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fa301a811c39dbd3a2ffd9aea1076306ae8b2a227d5304311a68939f08e3d084a910160405180910390a150611506565b6115ac6119dc565b610fcb3382612185565b6115be6119dc565b5f81116116015760405162461bcd60e51b81526020600482015260116024820152701a5b9d985b1a59081d1a1c995cda1bdb19607a1b6044820152606401610b82565b601655565b6001600160a01b039182165f90815260106020908152604080832093909416825291909152205490565b6116386119dc565b8061ffff168261ffff1610156116905760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d697400000000006044820152606401610b82565b5f5461ffff808416600160e01b90920416118015906116be57505f5461ffff808316600160d01b9092041611155b6116fa5760405162461bcd60e51b815260206004820152600d60248201526c696e637265617365206f6e6c7960981b6044820152606401610b82565b61271061ffff821611156117485760405162461bcd60e51b81526020600482015260156024820152747478206c696d6974206f7574206f662072616e676560581b6044820152606401610b82565b61271061ffff8316111561179e5760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e67650000000000000000006044820152606401610b82565b5f805463ffffffff60d01b1916600160e01b61ffff85811691820261ffff60d01b191692909217600160d01b928516928302179092556040805192835260208301919091527f244331ce56bb49b130a963a6c0f1869845bb5ded2cd3dea0329926354d27699a910160405180910390a15050565b61181a6119dc565b6001600160a01b03811661187f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b82565b610fcb8161229a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146119005760405162461bcd60e51b815260206004820152601960248201527f63616c6c6572206973206e6f742074686520666163746f7279000000000000006044820152606401610b82565b60155460ff16156119465760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b6044820152606401610b82565b6015805460ff1916600117905581158061195e575080155b6119aa5760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f742064656c6179656420616e642064697361626c6564000000006044820152606401610b82565b6001805462ffff0019166101009315159390930262ff0000191692909217620100009115159190910217905542601755565b5f546001600160a01b03163314611a355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b82565b565b6001600160a01b038316611a995760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b82565b6001600160a01b038216611afa5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b82565b6001600160a01b038381165f8181526010602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f611b658484611606565b90505f198114611bcc5781811015611bbf5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b82565b611bcc8484848403611a37565b50505050565b60155460ff16611bec57611be78383836122e9565b505050565b601554305f908152600f60205260408120544292640100000000900463ffffffff1691505f6001600160a01b038716301480611c9557506001600160a01b0387165f908152600d602052604090205460ff1680611c6057506001600160a01b0386165f908152600d602052604090205460ff165b8015611c6d57505f600254115b8015611c955750601554600254611c9191600160401b900463ffffffff16906135cb565b8410155b6001600160a01b038089165f908152600e602052604080822054928a16825281205460075493945060ff9283169390831692168015611cd557505f600254115b8015611ced575085600254611cea91906135cb565b87115b60185490915060ff16158015611d01575083155b8015611d0b575082155b8015611d1e5750601554610100900460ff165b8015611d3357508080611d3357506016548510155b15611d68578015611d4c57611d4785612498565b611d57565b611d57601654612498565b8015611d68576007805460ff191690555b875f03611d8657611d7a8a8a5f6122e9565b50505050505050505050565b5f84611fd2578315611ec05760075460ff168015611dbb57506002541580611dbb575086600254611db791906135cb565b8811155b15611e3557600754612710908190611dde90600160681b900461ffff16826135de565b60075461ffff91821691611e0291600160281b8104821691610100909104166135de565b611e109061ffff168d613600565b611e1a9190613600565b611e249190613617565b611e2e9190613617565b9050611e73565b60075461271090611e589061ffff600160281b82048116916101009004166135de565b611e669061ffff168b613600565b611e709190613617565b90505b5f611e7c61271b565b61ffff1690508015611eba575f612710611e96838d613600565b611ea09190613617565b9050611eac8d82611fea565b611eb6818c613636565b9a50505b50611fb4565b8215611fb457611ecf896127ee565b60075460ff168015611ef857506002541580611ef8575086600254611ef491906135cb565b8811155b15611f7457600754612710908190611f1b90600160681b900461ffff16826135de565b60075461ffff91821691611f4191600160281b81048216916301000000909104166135de565b611f4f9061ffff168d613600565b611f599190613600565b611f639190613617565b611f6d9190613617565b9050611fb4565b60075461271090611f999061ffff600160281b820481169163010000009004166135de565b611fa79061ffff168b613600565b611fb19190613617565b90505b8015611fc557611fc58b30836122e9565b611fcf818a613636565b98505b611fdd8b8b8b6122e9565b5050505050505050505050565b6001600160a01b03821661204a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b82565b6001600160a01b0382165f908152600f6020526040902054818110156120bd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610b82565b6001600160a01b0383165f818152600f602090815260408083208686039055601180548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611be7835f84612869565b61212a6119dc565b611a355f61229a565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611be79084906129dc565b804710156121d55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610b82565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461221e576040519150601f19603f3d011682016040523d82523d5f602084013e612223565b606091505b5050905080611be75760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610b82565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03831661234d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b82565b6001600160a01b0382166123af5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b82565b6001600160a01b0383165f908152600f6020526040902054818110156124265760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b82565b6001600160a01b038085165f818152600f602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906124859086815260200190565b60405180910390a3611bcc848484612869565b6018805460ff19166001179055801561270e575f600c5f9054906101000a90046001600160a01b031690505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c2d4f9426040518163ffffffff1660e01b8152600401602060405180830381865afa158015612520573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125449190613649565b600954600a549192506001600160a01b0390811691811690841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed1901612641575f61258386612aaf565b9050801561263b5760075460ff16156125c3575f6125a082612c6f565b90506125b56001600160a01b03861682612185565b6125bf8183613636565b9150505b600754600160281b900461ffff16158015906125e757506001600160a01b03821615155b15612619575f6125f682612cb0565b905061260b6001600160a01b03841682612185565b6126158183613636565b9150505b6001600160a01b0383161561263b5761263b6001600160a01b03841682612185565b50612709565b5f61264c8587612d1c565b905080156127075760075460ff161561268d575f61266982612c6f565b905061267f6001600160a01b0387168683612133565b6126898183613636565b9150505b600754600160281b900461ffff16158015906126b157506001600160a01b03821615155b156126e4575f6126c082612cb0565b90506126d66001600160a01b0387168483612133565b6126e08183613636565b9150505b6001600160a01b03831615612707576127076001600160a01b0386168483612133565b505b505050505b506018805460ff19169055565b6001545f9060ff1661273a576002545f0361273557426002555b505f90565b600454429081036127575750505f54600160c01b900461ffff1690565b60035481036127725750505f54600160b01b900461ffff1690565b600254810361278d5750505f54600160a01b900461ffff1690565b6004541561279c575f91505090565b600354156127ba575050426004555f54600160c01b900461ffff1690565b600254156127d8575050426003555f54600160b01b900461ffff1690565b5050426002555f54600160a01b900461ffff1690565b5f6127f860115490565b5f54909150600160f01b900461ffff16601981108061283157508261271061282461ffff841685613600565b61282e9190613617565b10155b611be75760405162461bcd60e51b81526020600482015260096024820152680616e74692d64756d760bc1b6044820152606401610b82565b60155460ff1615611be75761287e8383612f3d565b5f61288860115490565b6001600160a01b0385165f9081526005602052604090205490915060ff16806128c857506001600160a01b0383165f9081526005602052604090205460ff165b806128f757505f54612710906128e990600160d01b900461ffff1683613600565b6128f39190613617565b8211155b6129375760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b6044820152606401610b82565b6001600160a01b0383165f9081526006602052604090205460ff168061299857505f546127109061297390600160e01b900461ffff1683613600565b61297d9190613617565b6001600160a01b0384165f908152600f602052604090205411155b611bcc5760405162461bcd60e51b81526020600482015260156024820152741c9958d95a5d995c881a1bdb19081b1a5b5a5d1959605a1b6044820152606401610b82565b5f612a30826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166131359092919063ffffffff16565b905080515f1480612a50575080806020019051810190612a509190613664565b611be75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610b82565b6008546040805160028082526060820183525f936001600160a01b0316928492919060208301908036833701905050905030815f81518110612af357612af36135a3565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b739190613649565b81600181518110612b8657612b866135a3565b60200260200101906001600160a01b031690816001600160a01b031681525050612bb1308386611a37565b476001600160a01b03831663791ac947865f8530612bd14261012c6135cb565b6040518663ffffffff1660e01b8152600401612bf195949392919061367f565b5f604051808303815f87803b158015612c08575f80fd5b505af1925050508015612c19575060015b612c52573d808015612c46576040519150601f19603f3d011682016040523d82523d5f602084013e612c4b565b606091505b5050612c65565b612c5c8147613636565b95945050505050565b505f949350505050565b6007545f90600160681b900461ffff16612c8b816127106135de565b61ffff168161ffff1684612c9f9190613600565b612ca99190613617565b9392505050565b6007545f9061ffff610100820481169163010000008104821691600160281b90910416612cde8160026136f0565b612ce883856135de565b612cf291906135de565b61ffff168161ffff16866002612d089190613600565b612d129190613600565b612c5c9190613617565b6040805160028082526060820183525f928392919060208301908036833701905050905030815f81518110612d5357612d536135a3565b60200260200101906001600160a01b031690816001600160a01b0316815250508381600181518110612d8757612d876135a3565b6001600160a01b03928316602091820292909201015260085416612dac308286611a37565b6040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015612df0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e149190613716565b90506001600160a01b038216635c11d795865f8630612e354261012c6135cb565b6040518663ffffffff1660e01b8152600401612e5595949392919061367f565b5f604051808303815f87803b158015612e6c575f80fd5b505af1925050508015612e7d575060015b612eb6573d808015612eaa576040519150601f19603f3d011682016040523d82523d5f602084013e612eaf565b606091505b5050612f32565b6040516370a0823160e01b815230600482015281906001600160a01b038816906370a0823190602401602060405180830381865afa158015612efa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f1e9190613716565b612f289190613636565b9350505050610d8c565b505f95945050505050565b7f00000000000000000000000000000000000000000000000000000000000000005f612f705f546001600160a01b031690565b9050836001600160a01b0316826001600160a01b03161480612fa35750826001600160a01b0316826001600160a01b0316145b80612fbf5750836001600160a01b0316816001600160a01b0316145b80612fdb5750826001600160a01b0316816001600160a01b0316145b15612fe65750505050565b6001544290610100900460ff161561308a5760155460175461301591600160601b900463ffffffff16906135cb565b8110156130565760405162461bcd60e51b815260206004820152600f60248201526e1d1c98591a5b99c819195b185e5959608a1b6044820152606401610b82565b6001805461ff00191690556040517fab510bbf1d44ab52001b0b9606b77e378e6fd6fa3989ddbeb5a08fe60b3913b3905f90a15b60015462010000900460ff1615610e80576015546017546130b891600160801b900463ffffffff16906135cb565b8110156130fa5760405162461bcd60e51b815260206004820152601060248201526f1d1c98591a5b99c8191a5cd8589b195960821b6044820152606401610b82565b6001805462ff0000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a15050505050565b606061314384845f8561314b565b949350505050565b6060824710156131ac5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610b82565b5f80866001600160a01b031685876040516131c7919061372d565b5f6040518083038185875af1925050503d805f8114613201576040519150601f19603f3d011682016040523d82523d5f602084013e613206565b606091505b509150915061321787838387613222565b979650505050505050565b606083156132905782515f03613289576001600160a01b0385163b6132895760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b82565b5081613143565b61314383838151156132a55781518083602001fd5b8060405162461bcd60e51b8152600401610b829190613337565b803561ffff811681146132d0575f80fd5b919050565b5f805f606084860312156132e7575f80fd5b6132f0846132bf565b92506132fe602085016132bf565b915061330c604085016132bf565b90509250925092565b5f5b8381101561332f578181015183820152602001613317565b50505f910152565b602081525f8251806020840152613355816040850160208701613315565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610fcb575f80fd5b5f806040838503121561338e575f80fd5b823561339981613369565b946020939093013593505050565b5f805f606084860312156133b9575f80fd5b83356133c481613369565b925060208401356133d481613369565b929592945050506040919091013590565b8015158114610fcb575f80fd5b5f60208284031215613402575f80fd5b8135612ca9816133e5565b5f805f6040848603121561341f575f80fd5b833567ffffffffffffffff80821115613436575f80fd5b818601915086601f830112613449575f80fd5b813581811115613457575f80fd5b8760208260051b850101111561346b575f80fd5b60209283019550935050840135613481816133e5565b809150509250925092565b5f6020828403121561349c575f80fd5b612ca9826132bf565b5f602082840312156134b5575f80fd5b5035919050565b5f602082840312156134cc575f80fd5b8135612ca981613369565b5f80604083850312156134e8575f80fd5b82356134f381613369565b9150602083013561350381613369565b809150509250929050565b5f806040838503121561351f575f80fd5b613528836132bf565b9150613536602084016132bf565b90509250929050565b5f8060408385031215613550575f80fd5b823561355b816133e5565b91506020830135613503816133e5565b600181811c9082168061357f57607f821691505b60208210810361359d57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820180821115610d8c57610d8c6135b7565b61ffff8181168382160190808211156135f9576135f96135b7565b5092915050565b8082028115828204841417610d8c57610d8c6135b7565b5f8261363157634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610d8c57610d8c6135b7565b5f60208284031215613659575f80fd5b8151612ca981613369565b5f60208284031215613674575f80fd5b8151612ca9816133e5565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156136cf5784516001600160a01b0316835293830193918301916001016136aa565b50506001600160a01b03969096166060850152505050608001529392505050565b61ffff81811683821602808216919082811461370e5761370e6135b7565b505092915050565b5f60208284031215613726575f80fd5b5051919050565b5f825161373e818460208701613315565b919091019291505056fea26469706673582212208792a8a7461234aebc3f7c6dd66315380f8a314bd91903ebafd171cdbf86c49864736f6c6343000818003300000000000000000000000066e48b267c2339ce9f033c7fe76989700f0b41b800000000000000000000000002555c76cfd899d411a1ff98857b4d4210975d4e000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000535000000000000000000000000000000000000000000000000000000000000029a00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000000000000002a300000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000093a8000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000003e0000000000000000000000000000000000000000000000000000000000000002430633461323730662d646661392d313165652d623063612d38613535653837383035313500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f5175616e74756d205377617020414900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005515357415000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000204fce5e3e2502611000000000000000000000000000000002555c76cfd899d411a1ff98857b4d4210975d4e0000000000000000000000000000000000000000000000000000000000000dac000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000072957490e7d974b2978ca8c4ea9504f3af0fa166000000000000000000000000c138b2c02823f57042d4d001521d6deb59ee35060000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000014d1120d7b1600000000000000000000000000000000000000000000000000000000000000278d00

Deployed Bytecode

0x6080604052600436106102f6575f3560e01c806380c7465311610189578063bf56b371116100d8578063d94160e011610092578063def98aba1161006d578063def98aba14610a61578063f0ee1ea514610a80578063f2fde38b14610ac2578063f519b7d314610ae1575f80fd5b8063d94160e0146109c4578063db200bfa14610a23578063dd62ed3e14610a42575f80fd5b8063bf56b371146108e9578063c524e82e146108fd578063c5f7f1681461091c578063cb4ca6311461093b578063d05ee72714610972578063d3335553146109a5575f80fd5b8063a103657e11610143578063b29a81401161011e578063b29a81401461085a578063b4b37bd214610879578063b6a6790b146108ac578063be3b115d146108cb575f80fd5b8063a103657e14610808578063a457c2d71461081c578063a9059cbb1461083b575f80fd5b806380c74653146107165780638a8c523c1461076e5780638da5cb5b146107825780639191a9c71461079e57806394488683146107d557806395d89b41146107f4575f80fd5b80633b0deddd116102455780636cb20f47116101ff5780637196d178116101da5780637196d1781461066a578063728f8eea146106a9578063785e8a12146106db57806379cc6790146106f7575f80fd5b80636cb20f47146105d757806370a0823114610622578063715018a614610656575f80fd5b80633b0deddd146105025780633e4042281461052157806342966c681461054557806349deaf4f146105645780635b30facb1461059157806366bd1270146105a5575f80fd5b806323b872dd116102b05780632af65da11161028b5780632af65da1146104755780632fdd75bf14610494578063313ce567146104c857806339509351146104e3575f80fd5b806323b872dd1461042357806328f4dbb6146104425780632aa9c37614610456575f80fd5b8063068b976f1461030157806306fdde0314610322578063095ea7b31461034c5780630d426b001461037b57806318160ddd146103cf5780631a861d26146103ed575f80fd5b366102fd57005b5f80fd5b34801561030c575f80fd5b5061032061031b3660046132d5565b610b00565b005b34801561032d575f80fd5b50610336610ce9565b6040516103439190613337565b60405180910390f35b348015610357575f80fd5b5061036b61036636600461337d565b610d79565b6040519015158152602001610343565b348015610386575f80fd5b505f5461ffff600160a01b8204811691600160b01b8104821691600160c01b909104165b6040805161ffff94851681529284166020840152921691810191909152606001610343565b3480156103da575f80fd5b506011545b604051908152602001610343565b3480156103f8575f80fd5b505f546040805161ffff600160e01b840481168252600160d01b909304909216602083015201610343565b34801561042e575f80fd5b5061036b61043d3660046133a7565b610d92565b34801561044d575f80fd5b506016546103df565b348015610461575f80fd5b506103206104703660046133f2565b610db5565b348015610480575f80fd5b5061032061048f36600461340d565b610dd7565b34801561049f575f80fd5b5060075461ffff600160381b8204811691600160481b8104821691600160581b909104166103aa565b3480156104d3575f80fd5b5060405160128152602001610343565b3480156104ee575f80fd5b5061036b6104fd36600461337d565b610e87565b34801561050d575f80fd5b5061032061051c36600461348c565b610ea8565b34801561052c575f80fd5b5061036b5f546019600160f01b90910461ffff16101590565b348015610550575f80fd5b5061032061055f3660046134a5565b610fc1565b34801561056f575f80fd5b5060155462010000900461ffff165b60405161ffff9091168152602001610343565b34801561059c575f80fd5b50610336610fce565b3480156105b0575f80fd5b50600954600a54604080516001600160a01b03938416815292909116602083015201610343565b3480156105e2575f80fd5b5061060a7f00000000000000000000000066e48b267c2339ce9f033c7fe76989700f0b41b881565b6040516001600160a01b039091168152602001610343565b34801561062d575f80fd5b506103df61063c3660046134bc565b6001600160a01b03165f908152600f602052604090205490565b348015610661575f80fd5b5061032061105a565b348015610675575f80fd5b50600854600c54600b54604080516001600160a01b0394851681529284166020840152921691810191909152606001610343565b3480156106b4575f80fd5b5060075461ffff610100820481169163010000008104821691600160281b909104166103aa565b3480156106e6575f80fd5b50601554610100900460ff1661036b565b348015610702575f80fd5b5061032061071136600461337d565b61110b565b348015610721575f80fd5b506015546040805163ffffffff600160601b840481168252600160801b8404811660208301526401000000008404811692820192909252600160401b909204166060820152608001610343565b348015610779575f80fd5b50610320611124565b34801561078d575f80fd5b505f546001600160a01b031661060a565b3480156107a9575f80fd5b5061036b6107b83660046134bc565b6001600160a01b03165f908152600e602052604090205460ff1690565b3480156107e0575f80fd5b506103206107ef36600461340d565b6111ac565b3480156107ff575f80fd5b50610336611255565b348015610813575f80fd5b506103aa611264565b348015610827575f80fd5b5061036b61083636600461337d565b61133c565b348015610846575f80fd5b5061036b61085536600461337d565b6113b6565b348015610865575f80fd5b5061032061087436600461337d565b6113c3565b348015610884575f80fd5b506103df7f3bc8a847bd156ce5e6a73fd4e25913f82963f44c763d7158c901132034f033b481565b3480156108b7575f80fd5b506103206108c636600461340d565b6113df565b3480156108d6575f80fd5b505f54600160f01b900461ffff1661057e565b3480156108f4575f80fd5b506017546103df565b348015610908575f80fd5b50600754600160681b900461ffff1661057e565b348015610927575f80fd5b5061032061093636600461340d565b6114fb565b348015610946575f80fd5b5061036b6109553660046134bc565b6001600160a01b03165f908152600d602052604090205460ff1690565b34801561097d575f80fd5b5061060a7f00000000000000000000000002555c76cfd899d411a1ff98857b4d4210975d4e81565b3480156109b0575f80fd5b506103206109bf3660046134a5565b6115a4565b3480156109cf575f80fd5b50610a0c6109de3660046134bc565b6001600160a01b03165f9081526006602090815260408083205460059092529091205460ff91821692911690565b604080519215158352901515602083015201610343565b348015610a2e575f80fd5b50610320610a3d3660046134a5565b6115b6565b348015610a4d575f80fd5b506103df610a5c3660046134d7565b611606565b348015610a6c575f80fd5b50610320610a7b36600461350e565b611630565b348015610a8b575f80fd5b506001546040805160ff80841615158252610100840481161515602083015262010000909304909216151590820152606001610343565b348015610acd575f80fd5b50610320610adc3660046134bc565b611812565b348015610aec575f80fd5b50610320610afb36600461353f565b611888565b610b086119dc565b60075461ffff610100820481169163010000008104821691600160281b9091048116908616831015610b8b5760075461ffff600160381b90910481169087161115610b8b5760405162461bcd60e51b815260206004820152600e60248201526d0d2dcecc2d8d2c840c4eaf2a8c2f60931b60448201526064015b60405180910390fd5b8161ffff168561ffff161115610bee5760075461ffff600160481b90910481169086161115610bee5760405162461bcd60e51b815260206004820152600f60248201526e0d2dcecc2d8d2c840e6cad8d8a8c2f608b1b6044820152606401610b82565b8061ffff168461ffff161115610c555760075461ffff600160581b90910481169085161115610c555760405162461bcd60e51b81526020600482015260136024820152720d2dcecc2d8d2c840e8e4cac2e6eae4f2a8c2f606b1b6044820152606401610b82565b6007805464ffffffff00191661010061ffff89811691820264ffff00000019169290921763010000008984169081029190911766ffff00000000001916600160281b93891693840217909355604080519182526020820193909352918201527fb6d7a9e1cf68fd02461e40d3c33cf2c4551d4a5f101ccbb620cd29488ff528609060600160405180910390a1505050505050565b606060128054610cf89061356b565b80601f0160208091040260200160405190810160405280929190818152602001828054610d249061356b565b8015610d6f5780601f10610d4657610100808354040283529160200191610d6f565b820191905f5260205f20905b815481529060010190602001808311610d5257829003601f168201915b5050505050905090565b5f33610d86818585611a37565b60019150505b92915050565b5f33610d9f858285611b5a565b610daa858585611bd2565b506001949350505050565b610dbd6119dc565b601580549115156101000261ff0019909216919091179055565b610ddf6119dc565b815f5b81811015610e80575f858583818110610dfd57610dfd6135a3565b9050602002016020810190610e1291906134bc565b6001600160a01b0381165f81815260066020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507f0a3739d32ce712ba6f19229ad53a9267424ae1f5fb81ea18eb916ca6fd9f7188910160405180910390a150610de2565b5050505050565b5f33610d86818585610e998383611606565b610ea391906135cb565b611a37565b610eb06119dc565b5f8054600160f01b900461ffff169003610f045760405162461bcd60e51b8152602060048201526015602482015274185b9d1a4b591d5b5c081b9bdd08195b98589b1959605a1b6044820152606401610b82565b601961ffff821610801590610f1f575061271061ffff821611155b610f6b5760405162461bcd60e51b815260206004820152601c60248201527f616e74692d64756d70206c696d6974206f7574206f662072616e6765000000006044820152606401610b82565b5f80546001600160f01b0316600160f01b61ffff8416908102919091179091556040519081527fcfd8a76f34f3fbb9f999325c2887d5ec8933c519a3bfdb71c2aa6c6d9aef5ebb9060200160405180910390a150565b610fcb3382611fea565b50565b60148054610fdb9061356b565b80601f01602080910402602001604051908101604052809291908181526020018280546110079061356b565b80156110525780601f1061102957610100808354040283529160200191611052565b820191905f5260205f20905b81548152906001019060200180831161103557829003601f168201915b505050505081565b6110626119dc565b60155460075461ffff6201000090920482169161010090910416811080159061109b575060075461ffff80831663010000009092041611155b80156110b7575060075461ffff808316600160281b9092041611155b6111035760405162461bcd60e51b815260206004820152601b60248201527f6c6f776572207461786573206265666f72652072656e6f756e636500000000006044820152606401610b82565b610fcb612122565b611116823383611b5a565b6111208282611fea565b5050565b61112c6119dc565b60015462010000900460ff166111765760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e48195b98589b1959608a1b6044820152606401610b82565b6001805462ff0000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1565b6111b46119dc565b815f5b81811015610e80575f8585838181106111d2576111d26135a3565b90506020020160208101906111e791906134bc565b6001600160a01b0381165f818152600d6020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fea5814d1cf99e5f6aee98da410ea4adcdbe5ded97855de3b25144b0898d0be4a910160405180910390a1506111b7565b606060138054610cf89061356b565b6007545f9081908190819061ffff600160381b82048116610100909204161061129857600754610100900461ffff166112a7565b600754600160381b900461ffff165b6007549091505f9061ffff600160481b82048116630100000090920416106112dc576007546301000000900461ffff166112eb565b600754600160481b900461ffff165b6007549091505f9061ffff600160581b82048116600160281b909204161061132057600754600160281b900461ffff1661132f565b600754600160581b900461ffff165b9296919550919350915050565b5f33816113498286611606565b9050838110156113a95760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b82565b610daa8286868403611a37565b5f33610d86818585611bd2565b6113cb6119dc565b6111206001600160a01b0383163383612133565b6113e76119dc565b815f5b81811015610e80575f858583818110611405576114056135a3565b905060200201602081019061141a91906134bc565b600b549091506001600160a01b039081169082160361147b5760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f7420616363657373206261736520616d6d2070616972000000006044820152606401610b82565b6001600160a01b0381165f818152600e60209081526040808320805489151560ff199182168117909255600684529382902080549094168117909355805193845290830191909152600193909301927f4d5593e244fd41eece27031c1331466a9e253a06df08dda6c1c2b3c387140da0910160405180910390a1506113ea565b6115036119dc565b815f5b81811015610e80575f858583818110611521576115216135a3565b905060200201602081019061153691906134bc565b6001600160a01b0381165f81815260056020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fa301a811c39dbd3a2ffd9aea1076306ae8b2a227d5304311a68939f08e3d084a910160405180910390a150611506565b6115ac6119dc565b610fcb3382612185565b6115be6119dc565b5f81116116015760405162461bcd60e51b81526020600482015260116024820152701a5b9d985b1a59081d1a1c995cda1bdb19607a1b6044820152606401610b82565b601655565b6001600160a01b039182165f90815260106020908152604080832093909416825291909152205490565b6116386119dc565b8061ffff168261ffff1610156116905760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d697400000000006044820152606401610b82565b5f5461ffff808416600160e01b90920416118015906116be57505f5461ffff808316600160d01b9092041611155b6116fa5760405162461bcd60e51b815260206004820152600d60248201526c696e637265617365206f6e6c7960981b6044820152606401610b82565b61271061ffff821611156117485760405162461bcd60e51b81526020600482015260156024820152747478206c696d6974206f7574206f662072616e676560581b6044820152606401610b82565b61271061ffff8316111561179e5760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e67650000000000000000006044820152606401610b82565b5f805463ffffffff60d01b1916600160e01b61ffff85811691820261ffff60d01b191692909217600160d01b928516928302179092556040805192835260208301919091527f244331ce56bb49b130a963a6c0f1869845bb5ded2cd3dea0329926354d27699a910160405180910390a15050565b61181a6119dc565b6001600160a01b03811661187f5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b82565b610fcb8161229a565b7f00000000000000000000000066e48b267c2339ce9f033c7fe76989700f0b41b86001600160a01b031633146119005760405162461bcd60e51b815260206004820152601960248201527f63616c6c6572206973206e6f742074686520666163746f7279000000000000006044820152606401610b82565b60155460ff16156119465760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b6044820152606401610b82565b6015805460ff1916600117905581158061195e575080155b6119aa5760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f742064656c6179656420616e642064697361626c6564000000006044820152606401610b82565b6001805462ffff0019166101009315159390930262ff0000191692909217620100009115159190910217905542601755565b5f546001600160a01b03163314611a355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b82565b565b6001600160a01b038316611a995760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b82565b6001600160a01b038216611afa5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b82565b6001600160a01b038381165f8181526010602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f611b658484611606565b90505f198114611bcc5781811015611bbf5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b82565b611bcc8484848403611a37565b50505050565b60155460ff16611bec57611be78383836122e9565b505050565b601554305f908152600f60205260408120544292640100000000900463ffffffff1691505f6001600160a01b038716301480611c9557506001600160a01b0387165f908152600d602052604090205460ff1680611c6057506001600160a01b0386165f908152600d602052604090205460ff165b8015611c6d57505f600254115b8015611c955750601554600254611c9191600160401b900463ffffffff16906135cb565b8410155b6001600160a01b038089165f908152600e602052604080822054928a16825281205460075493945060ff9283169390831692168015611cd557505f600254115b8015611ced575085600254611cea91906135cb565b87115b60185490915060ff16158015611d01575083155b8015611d0b575082155b8015611d1e5750601554610100900460ff165b8015611d3357508080611d3357506016548510155b15611d68578015611d4c57611d4785612498565b611d57565b611d57601654612498565b8015611d68576007805460ff191690555b875f03611d8657611d7a8a8a5f6122e9565b50505050505050505050565b5f84611fd2578315611ec05760075460ff168015611dbb57506002541580611dbb575086600254611db791906135cb565b8811155b15611e3557600754612710908190611dde90600160681b900461ffff16826135de565b60075461ffff91821691611e0291600160281b8104821691610100909104166135de565b611e109061ffff168d613600565b611e1a9190613600565b611e249190613617565b611e2e9190613617565b9050611e73565b60075461271090611e589061ffff600160281b82048116916101009004166135de565b611e669061ffff168b613600565b611e709190613617565b90505b5f611e7c61271b565b61ffff1690508015611eba575f612710611e96838d613600565b611ea09190613617565b9050611eac8d82611fea565b611eb6818c613636565b9a50505b50611fb4565b8215611fb457611ecf896127ee565b60075460ff168015611ef857506002541580611ef8575086600254611ef491906135cb565b8811155b15611f7457600754612710908190611f1b90600160681b900461ffff16826135de565b60075461ffff91821691611f4191600160281b81048216916301000000909104166135de565b611f4f9061ffff168d613600565b611f599190613600565b611f639190613617565b611f6d9190613617565b9050611fb4565b60075461271090611f999061ffff600160281b820481169163010000009004166135de565b611fa79061ffff168b613600565b611fb19190613617565b90505b8015611fc557611fc58b30836122e9565b611fcf818a613636565b98505b611fdd8b8b8b6122e9565b5050505050505050505050565b6001600160a01b03821661204a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b82565b6001600160a01b0382165f908152600f6020526040902054818110156120bd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610b82565b6001600160a01b0383165f818152600f602090815260408083208686039055601180548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611be7835f84612869565b61212a6119dc565b611a355f61229a565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611be79084906129dc565b804710156121d55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610b82565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461221e576040519150601f19603f3d011682016040523d82523d5f602084013e612223565b606091505b5050905080611be75760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610b82565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03831661234d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b82565b6001600160a01b0382166123af5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b82565b6001600160a01b0383165f908152600f6020526040902054818110156124265760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b82565b6001600160a01b038085165f818152600f602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906124859086815260200190565b60405180910390a3611bcc848484612869565b6018805460ff19166001179055801561270e575f600c5f9054906101000a90046001600160a01b031690505f7f00000000000000000000000066e48b267c2339ce9f033c7fe76989700f0b41b86001600160a01b031663c2d4f9426040518163ffffffff1660e01b8152600401602060405180830381865afa158015612520573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906125449190613649565b600954600a549192506001600160a01b0390811691811690841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed1901612641575f61258386612aaf565b9050801561263b5760075460ff16156125c3575f6125a082612c6f565b90506125b56001600160a01b03861682612185565b6125bf8183613636565b9150505b600754600160281b900461ffff16158015906125e757506001600160a01b03821615155b15612619575f6125f682612cb0565b905061260b6001600160a01b03841682612185565b6126158183613636565b9150505b6001600160a01b0383161561263b5761263b6001600160a01b03841682612185565b50612709565b5f61264c8587612d1c565b905080156127075760075460ff161561268d575f61266982612c6f565b905061267f6001600160a01b0387168683612133565b6126898183613636565b9150505b600754600160281b900461ffff16158015906126b157506001600160a01b03821615155b156126e4575f6126c082612cb0565b90506126d66001600160a01b0387168483612133565b6126e08183613636565b9150505b6001600160a01b03831615612707576127076001600160a01b0386168483612133565b505b505050505b506018805460ff19169055565b6001545f9060ff1661273a576002545f0361273557426002555b505f90565b600454429081036127575750505f54600160c01b900461ffff1690565b60035481036127725750505f54600160b01b900461ffff1690565b600254810361278d5750505f54600160a01b900461ffff1690565b6004541561279c575f91505090565b600354156127ba575050426004555f54600160c01b900461ffff1690565b600254156127d8575050426003555f54600160b01b900461ffff1690565b5050426002555f54600160a01b900461ffff1690565b5f6127f860115490565b5f54909150600160f01b900461ffff16601981108061283157508261271061282461ffff841685613600565b61282e9190613617565b10155b611be75760405162461bcd60e51b81526020600482015260096024820152680616e74692d64756d760bc1b6044820152606401610b82565b60155460ff1615611be75761287e8383612f3d565b5f61288860115490565b6001600160a01b0385165f9081526005602052604090205490915060ff16806128c857506001600160a01b0383165f9081526005602052604090205460ff165b806128f757505f54612710906128e990600160d01b900461ffff1683613600565b6128f39190613617565b8211155b6129375760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b6044820152606401610b82565b6001600160a01b0383165f9081526006602052604090205460ff168061299857505f546127109061297390600160e01b900461ffff1683613600565b61297d9190613617565b6001600160a01b0384165f908152600f602052604090205411155b611bcc5760405162461bcd60e51b81526020600482015260156024820152741c9958d95a5d995c881a1bdb19081b1a5b5a5d1959605a1b6044820152606401610b82565b5f612a30826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166131359092919063ffffffff16565b905080515f1480612a50575080806020019051810190612a509190613664565b611be75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610b82565b6008546040805160028082526060820183525f936001600160a01b0316928492919060208301908036833701905050905030815f81518110612af357612af36135a3565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612b4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b739190613649565b81600181518110612b8657612b866135a3565b60200260200101906001600160a01b031690816001600160a01b031681525050612bb1308386611a37565b476001600160a01b03831663791ac947865f8530612bd14261012c6135cb565b6040518663ffffffff1660e01b8152600401612bf195949392919061367f565b5f604051808303815f87803b158015612c08575f80fd5b505af1925050508015612c19575060015b612c52573d808015612c46576040519150601f19603f3d011682016040523d82523d5f602084013e612c4b565b606091505b5050612c65565b612c5c8147613636565b95945050505050565b505f949350505050565b6007545f90600160681b900461ffff16612c8b816127106135de565b61ffff168161ffff1684612c9f9190613600565b612ca99190613617565b9392505050565b6007545f9061ffff610100820481169163010000008104821691600160281b90910416612cde8160026136f0565b612ce883856135de565b612cf291906135de565b61ffff168161ffff16866002612d089190613600565b612d129190613600565b612c5c9190613617565b6040805160028082526060820183525f928392919060208301908036833701905050905030815f81518110612d5357612d536135a3565b60200260200101906001600160a01b031690816001600160a01b0316815250508381600181518110612d8757612d876135a3565b6001600160a01b03928316602091820292909201015260085416612dac308286611a37565b6040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015612df0573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e149190613716565b90506001600160a01b038216635c11d795865f8630612e354261012c6135cb565b6040518663ffffffff1660e01b8152600401612e5595949392919061367f565b5f604051808303815f87803b158015612e6c575f80fd5b505af1925050508015612e7d575060015b612eb6573d808015612eaa576040519150601f19603f3d011682016040523d82523d5f602084013e612eaf565b606091505b5050612f32565b6040516370a0823160e01b815230600482015281906001600160a01b038816906370a0823190602401602060405180830381865afa158015612efa573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612f1e9190613716565b612f289190613636565b9350505050610d8c565b505f95945050505050565b7f00000000000000000000000002555c76cfd899d411a1ff98857b4d4210975d4e5f612f705f546001600160a01b031690565b9050836001600160a01b0316826001600160a01b03161480612fa35750826001600160a01b0316826001600160a01b0316145b80612fbf5750836001600160a01b0316816001600160a01b0316145b80612fdb5750826001600160a01b0316816001600160a01b0316145b15612fe65750505050565b6001544290610100900460ff161561308a5760155460175461301591600160601b900463ffffffff16906135cb565b8110156130565760405162461bcd60e51b815260206004820152600f60248201526e1d1c98591a5b99c819195b185e5959608a1b6044820152606401610b82565b6001805461ff00191690556040517fab510bbf1d44ab52001b0b9606b77e378e6fd6fa3989ddbeb5a08fe60b3913b3905f90a15b60015462010000900460ff1615610e80576015546017546130b891600160801b900463ffffffff16906135cb565b8110156130fa5760405162461bcd60e51b815260206004820152601060248201526f1d1c98591a5b99c8191a5cd8589b195960821b6044820152606401610b82565b6001805462ff0000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a15050505050565b606061314384845f8561314b565b949350505050565b6060824710156131ac5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610b82565b5f80866001600160a01b031685876040516131c7919061372d565b5f6040518083038185875af1925050503d805f8114613201576040519150601f19603f3d011682016040523d82523d5f602084013e613206565b606091505b509150915061321787838387613222565b979650505050505050565b606083156132905782515f03613289576001600160a01b0385163b6132895760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b82565b5081613143565b61314383838151156132a55781518083602001fd5b8060405162461bcd60e51b8152600401610b829190613337565b803561ffff811681146132d0575f80fd5b919050565b5f805f606084860312156132e7575f80fd5b6132f0846132bf565b92506132fe602085016132bf565b915061330c604085016132bf565b90509250925092565b5f5b8381101561332f578181015183820152602001613317565b50505f910152565b602081525f8251806020840152613355816040850160208701613315565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610fcb575f80fd5b5f806040838503121561338e575f80fd5b823561339981613369565b946020939093013593505050565b5f805f606084860312156133b9575f80fd5b83356133c481613369565b925060208401356133d481613369565b929592945050506040919091013590565b8015158114610fcb575f80fd5b5f60208284031215613402575f80fd5b8135612ca9816133e5565b5f805f6040848603121561341f575f80fd5b833567ffffffffffffffff80821115613436575f80fd5b818601915086601f830112613449575f80fd5b813581811115613457575f80fd5b8760208260051b850101111561346b575f80fd5b60209283019550935050840135613481816133e5565b809150509250925092565b5f6020828403121561349c575f80fd5b612ca9826132bf565b5f602082840312156134b5575f80fd5b5035919050565b5f602082840312156134cc575f80fd5b8135612ca981613369565b5f80604083850312156134e8575f80fd5b82356134f381613369565b9150602083013561350381613369565b809150509250929050565b5f806040838503121561351f575f80fd5b613528836132bf565b9150613536602084016132bf565b90509250929050565b5f8060408385031215613550575f80fd5b823561355b816133e5565b91506020830135613503816133e5565b600181811c9082168061357f57607f821691505b60208210810361359d57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820180821115610d8c57610d8c6135b7565b61ffff8181168382160190808211156135f9576135f96135b7565b5092915050565b8082028115828204841417610d8c57610d8c6135b7565b5f8261363157634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610d8c57610d8c6135b7565b5f60208284031215613659575f80fd5b8151612ca981613369565b5f60208284031215613674575f80fd5b8151612ca9816133e5565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156136cf5784516001600160a01b0316835293830193918301916001016136aa565b50506001600160a01b03969096166060850152505050608001529392505050565b61ffff81811683821602808216919082811461370e5761370e6135b7565b505092915050565b5f60208284031215613726575f80fd5b5051919050565b5f825161373e818460208701613315565b919091019291505056fea26469706673582212208792a8a7461234aebc3f7c6dd66315380f8a314bd91903ebafd171cdbf86c49864736f6c63430008180033

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

00000000000000000000000066e48b267c2339ce9f033c7fe76989700f0b41b800000000000000000000000002555c76cfd899d411a1ff98857b4d4210975d4e000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000535000000000000000000000000000000000000000000000000000000000000029a00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000000000000002a300000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000093a8000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000003e0000000000000000000000000000000000000000000000000000000000000002430633461323730662d646661392d313165652d623063612d38613535653837383035313500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f5175616e74756d205377617020414900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005515357415000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000204fce5e3e2502611000000000000000000000000000000002555c76cfd899d411a1ff98857b4d4210975d4e0000000000000000000000000000000000000000000000000000000000000dac000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000072957490e7d974b2978ca8c4ea9504f3af0fa166000000000000000000000000c138b2c02823f57042d4d001521d6deb59ee35060000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000006400000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000014d1120d7b1600000000000000000000000000000000000000000000000000000000000000278d00

-----Decoded View---------------
Arg [0] : factory_ (address): 0x66e48b267C2339Ce9F033c7Fe76989700F0b41B8
Arg [1] : deployer_ (address): 0x02555C76CFd899D411a1Ff98857B4d4210975d4e
Arg [2] : tokenLaunchConf_ (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
Arg [3] : inheritedConf_ (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]

-----Encoded View---------------
53 Constructor Arguments found :
Arg [0] : 00000000000000000000000066e48b267c2339ce9f033c7fe76989700f0b41b8
Arg [1] : 00000000000000000000000002555c76cfd899d411a1ff98857b4d4210975d4e
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000200
Arg [3] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000535
Arg [5] : 000000000000000000000000000000000000000000000000000000000000029a
Arg [6] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [7] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [8] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [9] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [10] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [11] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [12] : 0000000000000000000000000000000000000000000000000000000000278d00
Arg [13] : 000000000000000000000000000000000000000000000000000000000002a300
Arg [14] : 000000000000000000000000000000000000000000000000000000000000003c
Arg [15] : 0000000000000000000000000000000000000000000000000000000000093a80
Arg [16] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [19] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [21] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [22] : 00000000000000000000000000000000000000000000000000000000000003e0
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [24] : 30633461323730662d646661392d313165652d623063612d3861353565383738
Arg [25] : 3035313500000000000000000000000000000000000000000000000000000000
Arg [26] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [27] : 5175616e74756d20537761702041490000000000000000000000000000000000
Arg [28] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [29] : 5153574150000000000000000000000000000000000000000000000000000000
Arg [30] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [31] : 0000000000000000000000000000000000000000204fce5e3e25026110000000
Arg [32] : 00000000000000000000000002555c76cfd899d411a1ff98857b4d4210975d4e
Arg [33] : 0000000000000000000000000000000000000000000000000000000000000dac
Arg [34] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [35] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [36] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [37] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [38] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [39] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [40] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [41] : 000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Arg [42] : 00000000000000000000000072957490e7d974b2978ca8c4ea9504f3af0fa166
Arg [43] : 000000000000000000000000c138b2c02823f57042d4d001521d6deb59ee3506
Arg [44] : 0000000000000000000000000000000000000000000000000000000000000c80
Arg [45] : 0000000000000000000000000000000000000000000000000000000000000c80
Arg [46] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [47] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [48] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [49] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [50] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [51] : 00000000000000000000000000000000000000000000000014d1120d7b160000
Arg [52] : 0000000000000000000000000000000000000000000000000000000000278d00


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.