ETH Price: $3,398.12 (+1.50%)

Token

Bank Ai (BANK)
 

Overview

Max Total Supply

10,000,000,000 BANK

Holders

1,750

Market

Price

$0.00 @ 0.000000 ETH (+14.07%)

Onchain Market Cap

$2,194,763.66

Circulating Supply Market Cap

$0.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
70,399.89 BANK

Value
$15.45 ( ~0.00454663515367888 Eth) [0.0007%]
0xd4063ed57b23b25b67a00fdaf66153cbe88bc1ea
Loading...
Loading
Loading...
Loading
Loading...
Loading

Market

Volume (24H):$10,815.52
Market Capitalization:$0.00
Circulating Supply:0.00 BANK
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ERC20ByBankPad

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-05-07
*/

//                                                    */**********,**,,,,,,,,,,,,,/,.                                               
//                                             ./********************,,,,,,,,,,,,,,,,,,,,,#.                                        
//                                         ***********************,////,,*,,,,,,,,,,,,,,,,,,,,,/                                    
//                                    (***************..                           .(,,,,,,,,,,,,,,*                                
//                                 (************,                                         /,,,,,,,,,,,,                             
//                              /***********                                                  .,,,,,,,,,,,,                         
//                            ******#                         *%%#######%                            %*,,,,,/                       
//                                      #**,,,,,,,,,,,,,,,,,,,,,********/   *******************/,(                                  
//                           *.*,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,**,*****/   *******************************(*                       
//                   ,/.,,,,,,,,,,,,,,,,,,,,,,,,,,,,*/.,*/(      /******/      .(/*,//*****************************/.               
//                #.....,,,,,,,,,,,,,,,#                         /,*****/                         ,(*******************/            
//                 ......,,,,#            //,*,***************,  /***************************/*#             (********/#            
//                 ,.....,*     ,*,,,,,,,,,,,,,***************,  /,*************************************/,/    .******/             
//                  ,...,,,/  ...,,,,,,,,,,,,,,********/(,,*/(,            ((/**,(//***********************(   *******#             
//                  *...,,.,    ,,,,,,,,*(                                                      %//********   (******(              
//               /   ...,,,,,   *,,,,,,,             .,,,,,,,,,,,,,,,,,**************             .*******   (*******   *.          
//              /*/   ,.,,,,,,   (,,,,,,*    ,,,**  ,,,,,,,,,,,,,,,,,,****************/  ,,**,   (*******   .*******   (..          
//              ///*   *,,,,,,,   /,,,,,,,    .  */,,,,,,                        ******##,  *   ,*******,  /*******    ....         
//             (/*/*/   ,,,,,,,,   ,,,,,,,,     ...,,,,,,   /,**.         /,**/   *******//    .*******.  .********  *.....         
//             //****/   ,,,,,,,,   .,,,,,,,    ...,,,,,,  ,,,***(      *,,,***(  *******//   (*******   .*******.   .......        
//             //****/                          ...,,,,,,  ,,,***        .,,***   *******//             ,*******,   /......(        
//             //****/     #//////////////////* /..,,,,,*                        .*******/  (((((((((((/********    #....../        
//             //****/      (....,.,,,,,,,,,,,,,   /,,,,,,,*...................(*******    *******************      /......(        
//             //*****.      /.,.,,,,,,,,,,,,,,,,*   ,,,,,,,,,,,,,,,,,,***************   *******************/       .,......        
//             #//****%        ..,,,,,,   /,,,,,,,*     ,*,,,,,,,,,,,,***********(.     ********                    ,......         
//              //*****         ,,.,,,,,,   ,,,,,,,,.   ,(.,,,,*           ****,.#    /*******/   ,,,,,,,,         #,.....*         
//              ,/*****(         ..,,,,,,*   *,,,,,,,*    *,,,,,,        .******    .********    ********          ,,.....          
//               /******(          ,,,,,,,,    ,,,,,,,,.    ,,,,,,/     ******.    ********.   (*******#          ,......*          
//                *******           .,,,,,,,*   (,,,,,,,,    .,,,,,,/ ******/    ,********    ********           ,,,,.../           
//                 *******/           ,,,,,,,,.   *,,,,,,,*    *,,,,,,*****    .********.   /*******,           ,,,,,..*            
//                  *******/           ,,,,,,,,,    ,,,,,,,,/    /,,,,***     ********(   (********           .,,,.,,.,             
//                   ********,           ,,,,,,,,/   .,,,,,,,,,    *,,*,    *********   /********.           ,,,,,,,.,              
//                    #********           .,,,,,,,,/   /,,,,,,,,(    .    *,*******    *********           ,,,,,,,,,                
//                      /*******/           *,,,,,,,,.   .,,,,,,,,(     *,*,*****.   *********           *,,,,,,,,*                 
//                        /*********          /,,,,,,,,*   /,,,,,,,,( ,,,,*,***    *********           ,,,,,,,,,,                   
//                          *********/          ,,,,,,,,,    /,,,,,,,,,,,,,,*    /********.         #,,,,,,,,,#                     
//                            (**********         /,,,,,,,,.   ,,,,,,,,,,,*    *********         *,,,,,,,,,,                        
//                              ,***********,       ,,,,,,,,,,   ,,,,,,,*    **********      /*,,,,,,,,,,/                          
//                                  *************.    ,,,,,,,,,*    *,(   .*********.   .(,,,,,,,,,,,,/                             
//                                     (************,   .,,,,,,,,,      (,,,******    ,,,,,,,,,,,,,                                 
//                                         ,**********(    ,,,,,,,,,(,,,,,,,****    ,,,,,,,,,,*                                     
//                                              ,/*******    *,,,,,,,,,,,,,***   .,,,,,,,.                                          
//                                                      /,*    (,,,,,,,,,,/    //,*                                                 
//                                                                *,,,,,/                                                           
//                                                                   /                                                              
//
//          Telegram: https://t.me/bankaieth
//          Twitter: https://twitter.com/Bank_AIETH
//          Website: https://bankai.app/
//   
// @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
// @@                                                                                                @@
// @@        This token was created by BankPad. visit us at https://bankai.app 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 _isBlacklistOn;
    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;
    mapping(address => bool) internal _blacklist;

    event AccountBlacklisted(address account, bool flag);
    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. holdLimit
    /// 2. txLimit
    /// 3. antiDumpLimit
    /// 4. antiSniperOn
    /// 5. blacklistOn
    function _initializeAntiBot(bytes memory param) internal {
        (
            uint16 holdLimit,
            uint16 txLimit,
            uint16 antiDumpLimit_,
            bool antiSniperOn,
            bool blacklistOn
        ) = abi.decode(param, (uint16, uint16, uint16, bool, 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;
        _isBlacklistOn = blacklistOn;
    }

    /// @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 Blacklist account
     */
    function batchBlacklist(
        address[] calldata accounts,
        bool flag
    ) external onlyOwner {
        require(_isBlacklistOn, "blacklist add-on disabled");
        uint256 len = accounts.length;
        for (uint256 i; i < len; ) {
            _blacklist[accounts[i]] = flag;
            emit AccountBlacklisted(accounts[i], flag);
            unchecked {
                ++i;
            }
        }
    }

    /**
     * @notice Check if the given account is blacklisted
     */
    function isAccountBlacklisted(
        address account
    ) external view returns (bool) {
        return _blacklist[account];
    }

    /**
     * @notice Check if the blacklist add-on is enabled in the token
     */
    function isBlacklistEnabled() external view returns (bool) {
        return _isBlacklistOn;
    }

    /// @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
    /// 5. blacklistOn
    ///
    /// - 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 =
        0x11647894f3c5bda261d91e16c88c55f44e8b0d2a7bee92a98cf0ba24d00980af;

    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[address(0)] = true;
        _isExcludedFromTxLimit[address(0xdead)] = true;
        _isExcludedFromTxLimit[address(this)] = true;
        _isExcludedFromTxLimit[deployer_] = true;

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

        _isExcludedFromTax[address(0)] = true;
        _isExcludedFromTax[address(0xdead)] = true;
        _isExcludedFromTax[address(this)] = true;
        _isExcludedFromTax[deployer_] = 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);

        // check blacklist
        // tokens can not be transferred to the blacklisted account
        // blacklisted account can transfer tokens to the owner, or burn them
        require(
            (to == address(0) || to == owner()) ||
                (!_blacklist[from] && !_blacklist[to]),
            "blacklisted"
        );

        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":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"flag","type":"bool"}],"name":"AccountBlacklisted","type":"event"},{"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":"batchBlacklist","outputs":[],"stateMutability":"nonpayable","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":"account","type":"address"}],"name":"isAccountBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":[],"name":"isBlacklistEnabled","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"}]

60c06040526008805460ff191660011790556016805472093a800000003c00000000000000000000010061ff00600160601b03600160a01b031990911617905534801561004a575f80fd5b506040516153b43803806153b4833981016040819052610069916114bd565b838383838160200151826040015161008d61008861045860201b60201c565b61045c565b601361009983826116ad565b5060146100a682826116ad565b50508251601591506100b890826116ad565b506001600160a01b03841660a0526100cf8361045c565b60808201516100dd906104ab565b60a08201516100eb906106e1565b6100f481610a6d565b600c546001600160a01b03165f9081526006602090815260408220805460ff1916600117905560608401518051839283926101349281018201910161176c565b6001600160a01b03821660805260608701519295509093509150612710906101609061ffff16856117bb565b61016a91906117d8565b60175561ffff8116156102cb576001600160a01b0382166101d25760405162461bcd60e51b815260206004820152601460248201527f696e76616c6964207465616d206163636f756e7400000000000000000000000060448201526064015b60405180910390fd5b8451604051630538cdc760e31b81526001600160a01b038916916329c66e38916101ff91906004016117f7565b602060405180830381865afa15801561021a573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061023e919061182c565b61ffff168161ffff1611156102955760405162461bcd60e51b815260206004820152601360248201527f746f6f206d756368207465616d20616c6c6f630000000000000000000000000060448201526064016101c9565b5f6127106102a761ffff8416866117bb565b6102b191906117d8565b90506102bd8382610c9f565b6102c7818561184c565b9350505b6102d58784610c9f565b5050600560209081527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc8054600160ff1991821681179092557f7d509c07f0d4edcc2dd1b53aae68677132eb562dcba78e36381b63ccaf66e6ba8054821683179055305f818152604080822080548516861790556001600160a01b039d909d168082528d82208054851686179055600686527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f880548516861790557f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e2280548516861790558282528d822080548516861790558082528d82208054851686179055600e9095527fe710864318d4a32f37d6ce54cb3fadbef648dd12d8dbdf53973564d56b7f881c80548416851790557ff77e91909e61d18f67b875b2bfcae1f683a8d555e55382e3a6b082e2c59ea57a80548416851790559081528b8120805483168417905592835299909120805490991617909755506119899650505050505050565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f805f805f858060200190518101906104c4919061186e565b9450945094509450945061271061ffff168461ffff16111580156104ed5750601961ffff851610155b6105395760405162461bcd60e51b815260206004820152601560248201527f7478206c696d6974206f7574206f662072616e6765000000000000000000000060448201526064016101c9565b61271061ffff8616118015906105545750601961ffff861610155b6105a05760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e676500000000000000000060448201526064016101c9565b8461ffff168461ffff1611156105f85760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d6974000000000060448201526064016101c9565b61ffff8316158061061f5750601961ffff84161080159061061f575061271061ffff841611155b61066b5760405162461bcd60e51b815260206004820152601c60248201527f616e74692d64756d70206c696d6974206f7574206f662072616e67650000000060448201526064016101c9565b5f805463ffffffff60d01b1916600160d01b61ffff9687160261ffff60e01b191617600160e01b96861696909602959095176001600160f01b0316600160f01b9390941692909202929092179092556001805461ffff19166101009215159290920260ff19169190911791151591909117905550565b5f805f805f805f878060200190518101906106fc91906118cf565b96509650965096509650965096505f8361ffff16118061071f57505f8261ffff16115b1561077a576001600160a01b03851661077a5760405162461bcd60e51b815260206004820152601760248201527f696e76616c69642074617820706179206163636f756e7400000000000000000060448201526064016101c9565b61ffff8116156107da576001600160a01b0384166107da5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207472656173757279206163636f756e74000000000000000060448201526064016101c9565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b03871601610825576108126001600160a01b0386165f610d69565b6108256001600160a01b0385165f610d69565b600980546001600160a01b0319166001600160a01b0389169081179091556040805163c45a015560e01b815290515f929163c45a01559160048083019260209291908290030181865afa15801561087e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906108a2919061195b565b6001600160a01b031663c9c653963073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b03168a6001600160a01b0316146108e45789610944565b8a6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610920573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610944919061195b565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801561098e573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109b2919061195b565b600c80546001600160a01b03199081166001600160a01b03938416908117909255600d805482169a84169a909a17909955600a80548a1698831698909817909755600b80549098169516949094179095556008805464ffffffff00191661010061ffff9485160264ffff0000001916176301000000928416929092029190911761ffff60281b1916650100000000009290951691909102939093179092555f908152600f60205260409020805460ff19166001179055505050565b80515f80546020840151604085015163ffffffff60a01b19909216600160a01b61ffff9586160261ffff60b01b191617600160b01b918516919091021761ffff60c01b1916600160c01b91841691909102179055608082015160085490821661010090910490911610610ae4578060800151610af1565b600854610100900461ffff165b6008805461ffff60381b191667010000000000000061ffff93841602179081905560a08301518216630100000090910490911610610b33578060a00151610b42565b6008546301000000900461ffff165b6008805461ffff60481b1916690100000000000000000061ffff93841602179081905560c083015182166501000000000090910490911610610b88578060c00151610b99565b60085465010000000000900461ffff165b6008805460e084015163ffffffff60581b199091166b01000000000000000000000061ffff9485160261ffff60681b1916176d010000000000000000000000000091841691909102179055610100820151601680546101208501516101408601516101608701516101809097015167ffffffffffff00001990931662010000959096169490940263ffffffff60201b19169490941764010000000063ffffffff9586160217600160401b600160801b031916680100000000000000009385169390930263ffffffff60601b1916929092176c01000000000000000000000000948416949094029390931763ffffffff60801b1916600160801b9290911691909102179055565b6001600160a01b038216610cf55760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016101c9565b8060125f828254610d069190611976565b90915550506001600160a01b0382165f818152601060209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610d655f8383610e83565b5050565b80471015610db95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016101c9565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114610e02576040519150601f19603f3d011682016040523d82523d5f602084013e610e07565b606091505b5050905080610e7e5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016101c9565b505050565b60165460ff16610e9f57610e7e8383836001600160e01b038416565b610ea983836110b7565b6001600160a01b0382161580610ecb57505f546001600160a01b038381169116145b80610f1157506001600160a01b0383165f9081526007602052604090205460ff16158015610f1157506001600160a01b0382165f9081526007602052604090205460ff16155b610f4b5760405162461bcd60e51b815260206004820152600b60248201526a189b1858dadb1a5cdd195960aa1b60448201526064016101c9565b5f610f5560125490565b6001600160a01b0385165f9081526005602052604090205490915060ff1680610f9557506001600160a01b0383165f9081526005602052604090205460ff165b80610fc457505f5461271090610fb690600160d01b900461ffff16836117bb565b610fc091906117d8565b8211155b6110045760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b60448201526064016101c9565b6001600160a01b0383165f9081526006602052604090205460ff168061106557505f546127109061104090600160e01b900461ffff16836117bb565b61104a91906117d8565b6001600160a01b0384165f9081526010602052604090205411155b6110b15760405162461bcd60e51b815260206004820152601560248201527f726563656976657220686f6c64206c696d69746564000000000000000000000060448201526064016101c9565b50505050565b6080515f80546001600160a01b03169050836001600160a01b0316826001600160a01b031614806110f95750826001600160a01b0316826001600160a01b0316145b806111155750836001600160a01b0316816001600160a01b0316145b806111315750826001600160a01b0316816001600160a01b0316145b1561113c5750505050565b600154429062010000900460ff16156111eb57601654601854611175916c01000000000000000000000000900463ffffffff1690611976565b8110156111b65760405162461bcd60e51b815260206004820152600f60248201526e1d1c98591a5b99c819195b185e5959608a1b60448201526064016101c9565b6001805462ff0000191690556040517fab510bbf1d44ab52001b0b9606b77e378e6fd6fa3989ddbeb5a08fe60b3913b3905f90a15b6001546301000000900460ff16156112925760165460185461121a91600160801b900463ffffffff1690611976565b81101561125c5760405162461bcd60e51b815260206004820152601060248201526f1d1c98591a5b99c8191a5cd8589b195960821b60448201526064016101c9565b6001805463ff000000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a15b5050505050565b6001600160a01b03811681146112ad575f80fd5b50565b634e487b7160e01b5f52604160045260245ffd5b6040516101a081016001600160401b03811182821017156112e7576112e76112b0565b60405290565b60405160e081016001600160401b03811182821017156112e7576112e76112b0565b5f82601f83011261131e575f80fd5b81516001600160401b0380821115611338576113386112b0565b604051601f8301601f19908116603f01168101908282118183101715611360576113606112b0565b81604052838152866020858801011115611378575f80fd5b8360208701602083015e5f602085830101528094505050505092915050565b805161ffff811681146113a8575f80fd5b919050565b805163ffffffff811681146113a8575f80fd5b5f6101a082840312156113d1575f80fd5b6113d96112c4565b90506113e482611397565b81526113f260208301611397565b602082015261140360408301611397565b604082015261141460608301611397565b606082015261142560808301611397565b608082015261143660a08301611397565b60a082015261144760c08301611397565b60c082015261145860e08301611397565b60e082015261010061146b818401611397565b9082015261012061147d8382016113ad565b9082015261014061148f8382016113ad565b908201526101606114a18382016113ad565b908201526101806114b38382016113ad565b9082015292915050565b5f805f8061020085870312156114d1575f80fd5b84516114dc81611299565b60208601519094506114ed81611299565b60408601519093506001600160401b0380821115611509575f80fd5b9086019060e0828903121561151c575f80fd5b6115246112ed565b825182811115611532575f80fd5b61153e8a82860161130f565b825250602083015182811115611552575f80fd5b61155e8a82860161130f565b602083015250604083015182811115611575575f80fd5b6115818a82860161130f565b604083015250606083015182811115611598575f80fd5b6115a48a82860161130f565b6060830152506080830151828111156115bb575f80fd5b6115c78a82860161130f565b60808301525060a0830151828111156115de575f80fd5b6115ea8a82860161130f565b60a08301525060c083015182811115611601575f80fd5b61160d8a82860161130f565b60c08301525080945050505061162686606087016113c0565b905092959194509250565b600181811c9082168061164557607f821691505b60208210810361166357634e487b7160e01b5f52602260045260245ffd5b50919050565b601f821115610e7e57805f5260205f20601f840160051c8101602085101561168e5750805b601f840160051c820191505b81811015611292575f815560010161169a565b81516001600160401b038111156116c6576116c66112b0565b6116da816116d48454611631565b84611669565b602080601f83116001811461170d575f84156116f65750858301515b5f19600386901b1c1916600185901b178555611764565b5f85815260208120601f198616915b8281101561173b5788860151825594840194600190910190840161171c565b508582101561175857878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f805f6060848603121561177e575f80fd5b83519250602084015161179081611299565b915061179e60408501611397565b90509250925092565b634e487b7160e01b5f52601160045260245ffd5b80820281158282048414176117d2576117d26117a7565b92915050565b5f826117f257634e487b7160e01b5f52601260045260245ffd5b500490565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b5f6020828403121561183c575f80fd5b61184582611397565b9392505050565b818103818111156117d2576117d26117a7565b805180151581146113a8575f80fd5b5f805f805f60a08688031215611882575f80fd5b61188b86611397565b945061189960208701611397565b93506118a760408701611397565b92506118b56060870161185f565b91506118c36080870161185f565b90509295509295909350565b5f805f805f805f60e0888a0312156118e5575f80fd5b87516118f081611299565b602089015190975061190181611299565b604089015190965061191281611299565b606089015190955061192381611299565b935061193160808901611397565b925061193f60a08901611397565b915061194d60c08901611397565b905092959891949750929550565b5f6020828403121561196b575f80fd5b815161184581611299565b808201808211156117d2576117d26117a7565b60805160a0516139f56119bf5f395f818161068c01528181611a7601526126b601525f8181610a3e01526131d601526139f55ff3fe608060405260043610610344575f3560e01c806379cc6790116101bd578063be3b115d116100f2578063d94160e011610092578063def98aba1161006d578063def98aba14610b1c578063f0ee1ea514610b3b578063f2fde38b14610b83578063f519b7d314610ba2575f80fd5b8063d94160e014610a7f578063db200bfa14610ade578063dd62ed3e14610afd575f80fd5b8063c5f7f168116100cd578063c5f7f168146109d7578063cb4ca631146109f6578063d05ee72714610a2d578063d333555314610a60575f80fd5b8063be3b115d14610986578063bf56b371146109a4578063c524e82e146109b8575f80fd5b806395d89b411161015d578063a9059cbb11610138578063a9059cbb146108f6578063b29a814014610915578063b4b37bd214610934578063b6a6790b14610967575f80fd5b806395d89b41146108af578063a103657e146108c3578063a457c2d7146108d7575f80fd5b80638a8c523c116101985780638a8c523c146108295780638da5cb5b1461083d5780639191a9c7146108595780639448868314610890575f80fd5b806379cc67901461079b57806380c74653146107ba578063878dd33214610812575f80fd5b8063313ce5671161029357806366bd127011610233578063715018a61161020e578063715018a6146106fa5780637196d1781461070e578063728f8eea1461074d578063785e8a121461077f575f80fd5b806366bd1270146106495780636cb20f471461067b57806370a08231146106c6575f80fd5b80633e4042281161026e5780633e404228146105c557806342966c68146105e957806349deaf4f146106085780635b30facb14610635575f80fd5b8063313ce5671461056c57806339509351146105875780633b0deddd146105a6575f80fd5b80631a2266b0116102fe57806328f4dbb6116102d957806328f4dbb6146104e65780632aa9c376146104fa5780632af65da1146105195780632fdd75bf14610538575f80fd5b80631a2266b0146104725780631a861d261461049157806323b872dd146104c7575f80fd5b8063068b976f1461034f57806306fdde0314610370578063095ea7b31461039a5780630d426b00146103c95780630f1d76c11461041d57806318160ddd14610454575f80fd5b3661034b57005b5f80fd5b34801561035a575f80fd5b5061036e610369366004613570565b610bc1565b005b34801561037b575f80fd5b50610384610daa565b60405161039191906135b0565b60405180910390f35b3480156103a5575f80fd5b506103b96103b43660046135f9565b610e3a565b6040519015158152602001610391565b3480156103d4575f80fd5b505f5461ffff600160a01b8204811691600160b01b8104821691600160c01b909104165b6040805161ffff94851681529284166020840152921691810191909152606001610391565b348015610428575f80fd5b506103b9610437366004613623565b6001600160a01b03165f9081526007602052604090205460ff1690565b34801561045f575f80fd5b506012545b604051908152602001610391565b34801561047d575f80fd5b5061036e61048c36600461364b565b610e53565b34801561049c575f80fd5b505f546040805161ffff600160e01b840481168252600160d01b909304909216602083015201610391565b3480156104d2575f80fd5b506103b96104e13660046136ca565b610f83565b3480156104f1575f80fd5b50601754610464565b348015610505575f80fd5b5061036e610514366004613708565b610fa6565b348015610524575f80fd5b5061036e61053336600461364b565b610fc8565b348015610543575f80fd5b5060085461ffff600160381b8204811691600160481b8104821691600160581b909104166103f8565b348015610577575f80fd5b5060405160128152602001610391565b348015610592575f80fd5b506103b96105a13660046135f9565b611071565b3480156105b1575f80fd5b5061036e6105c0366004613723565b611092565b3480156105d0575f80fd5b506103b95f546019600160f01b90910461ffff16101590565b3480156105f4575f80fd5b5061036e61060336600461373c565b6111ab565b348015610613575f80fd5b5060165462010000900461ffff165b60405161ffff9091168152602001610391565b348015610640575f80fd5b506103846111b8565b348015610654575f80fd5b50600a54600b54604080516001600160a01b03938416815292909116602083015201610391565b348015610686575f80fd5b506106ae7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610391565b3480156106d1575f80fd5b506104646106e0366004613623565b6001600160a01b03165f9081526010602052604090205490565b348015610705575f80fd5b5061036e611244565b348015610719575f80fd5b50600954600d54600c54604080516001600160a01b0394851681529284166020840152921691810191909152606001610391565b348015610758575f80fd5b5060085461ffff610100820481169163010000008104821691600160281b909104166103f8565b34801561078a575f80fd5b50601654610100900460ff166103b9565b3480156107a6575f80fd5b5061036e6107b53660046135f9565b6112f5565b3480156107c5575f80fd5b506016546040805163ffffffff600160601b840481168252600160801b8404811660208301526401000000008404811692820192909252600160401b909204166060820152608001610391565b34801561081d575f80fd5b5060015460ff166103b9565b348015610834575f80fd5b5061036e61130e565b348015610848575f80fd5b505f546001600160a01b03166106ae565b348015610864575f80fd5b506103b9610873366004613623565b6001600160a01b03165f908152600f602052604090205460ff1690565b34801561089b575f80fd5b5061036e6108aa36600461364b565b611398565b3480156108ba575f80fd5b50610384611441565b3480156108ce575f80fd5b506103f8611450565b3480156108e2575f80fd5b506103b96108f13660046135f9565b611528565b348015610901575f80fd5b506103b96109103660046135f9565b6115a2565b348015610920575f80fd5b5061036e61092f3660046135f9565b6115af565b34801561093f575f80fd5b506104647f11647894f3c5bda261d91e16c88c55f44e8b0d2a7bee92a98cf0ba24d00980af81565b348015610972575f80fd5b5061036e61098136600461364b565b6115cb565b348015610991575f80fd5b505f54600160f01b900461ffff16610622565b3480156109af575f80fd5b50601854610464565b3480156109c3575f80fd5b50600854600160681b900461ffff16610622565b3480156109e2575f80fd5b5061036e6109f136600461364b565b6116e7565b348015610a01575f80fd5b506103b9610a10366004613623565b6001600160a01b03165f908152600e602052604090205460ff1690565b348015610a38575f80fd5b506106ae7f000000000000000000000000000000000000000000000000000000000000000081565b348015610a6b575f80fd5b5061036e610a7a36600461373c565b611790565b348015610a8a575f80fd5b50610ac7610a99366004613623565b6001600160a01b03165f9081526006602090815260408083205460059092529091205460ff91821692911690565b604080519215158352901515602083015201610391565b348015610ae9575f80fd5b5061036e610af836600461373c565b6117a2565b348015610b08575f80fd5b50610464610b17366004613753565b6117f2565b348015610b27575f80fd5b5061036e610b3636600461378a565b61181c565b348015610b46575f80fd5b506001546040805160ff61010084048116151582526201000084048116151560208301526301000000909304909216151590820152606001610391565b348015610b8e575f80fd5b5061036e610b9d366004613623565b6119fe565b348015610bad575f80fd5b5061036e610bbc3660046137bb565b611a74565b610bc9611bcc565b60085461ffff610100820481169163010000008104821691600160281b9091048116908616831015610c4c5760085461ffff600160381b90910481169087161115610c4c5760405162461bcd60e51b815260206004820152600e60248201526d0d2dcecc2d8d2c840c4eaf2a8c2f60931b60448201526064015b60405180910390fd5b8161ffff168561ffff161115610caf5760085461ffff600160481b90910481169086161115610caf5760405162461bcd60e51b815260206004820152600f60248201526e0d2dcecc2d8d2c840e6cad8d8a8c2f608b1b6044820152606401610c43565b8061ffff168461ffff161115610d165760085461ffff600160581b90910481169085161115610d165760405162461bcd60e51b81526020600482015260136024820152720d2dcecc2d8d2c840e8e4cac2e6eae4f2a8c2f606b1b6044820152606401610c43565b6008805464ffffffff00191661010061ffff89811691820264ffff00000019169290921763010000008984169081029190911766ffff00000000001916600160281b93891693840217909355604080519182526020820193909352918201527fb6d7a9e1cf68fd02461e40d3c33cf2c4551d4a5f101ccbb620cd29488ff528609060600160405180910390a1505050505050565b606060138054610db9906137e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610de5906137e7565b8015610e305780601f10610e0757610100808354040283529160200191610e30565b820191905f5260205f20905b815481529060010190602001808311610e1357829003601f168201915b5050505050905090565b5f33610e47818585611c27565b60019150505b92915050565b610e5b611bcc565b60015460ff16610ead5760405162461bcd60e51b815260206004820152601960248201527f626c61636b6c697374206164642d6f6e2064697361626c6564000000000000006044820152606401610c43565b815f5b81811015610f7c578260075f878785818110610ece57610ece61381f565b9050602002016020810190610ee39190613623565b6001600160a01b0316815260208101919091526040015f20805460ff19169115159190911790557f1d3a0f423a29cb00c6d792b5a695e34683386c493edbcf344426b5da5adf0e44858583818110610f3d57610f3d61381f565b9050602002016020810190610f529190613623565b604080516001600160a01b03909216825285151560208301520160405180910390a1600101610eb0565b5050505050565b5f33610f90858285611d4a565b610f9b858585611dc2565b506001949350505050565b610fae611bcc565b601680549115156101000261ff0019909216919091179055565b610fd0611bcc565b815f5b81811015610f7c575f858583818110610fee57610fee61381f565b90506020020160208101906110039190613623565b6001600160a01b0381165f81815260066020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507f0a3739d32ce712ba6f19229ad53a9267424ae1f5fb81ea18eb916ca6fd9f7188910160405180910390a150610fd3565b5f33610e4781858561108383836117f2565b61108d9190613847565b611c27565b61109a611bcc565b5f8054600160f01b900461ffff1690036110ee5760405162461bcd60e51b8152602060048201526015602482015274185b9d1a4b591d5b5c081b9bdd08195b98589b1959605a1b6044820152606401610c43565b601961ffff821610801590611109575061271061ffff821611155b6111555760405162461bcd60e51b815260206004820152601c60248201527f616e74692d64756d70206c696d6974206f7574206f662072616e6765000000006044820152606401610c43565b5f80546001600160f01b0316600160f01b61ffff8416908102919091179091556040519081527fcfd8a76f34f3fbb9f999325c2887d5ec8933c519a3bfdb71c2aa6c6d9aef5ebb9060200160405180910390a150565b6111b533826121da565b50565b601580546111c5906137e7565b80601f01602080910402602001604051908101604052809291908181526020018280546111f1906137e7565b801561123c5780601f106112135761010080835404028352916020019161123c565b820191905f5260205f20905b81548152906001019060200180831161121f57829003601f168201915b505050505081565b61124c611bcc565b60165460085461ffff62010000909204821691610100909104168110801590611285575060085461ffff80831663010000009092041611155b80156112a1575060085461ffff808316600160281b9092041611155b6112ed5760405162461bcd60e51b815260206004820152601b60248201527f6c6f776572207461786573206265666f72652072656e6f756e636500000000006044820152606401610c43565b6111b5612312565b611300823383611d4a565b61130a82826121da565b5050565b611316611bcc565b6001546301000000900460ff166113615760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e48195b98589b1959608a1b6044820152606401610c43565b6001805463ff000000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1565b6113a0611bcc565b815f5b81811015610f7c575f8585838181106113be576113be61381f565b90506020020160208101906113d39190613623565b6001600160a01b0381165f818152600e6020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fea5814d1cf99e5f6aee98da410ea4adcdbe5ded97855de3b25144b0898d0be4a910160405180910390a1506113a3565b606060148054610db9906137e7565b6008545f9081908190819061ffff600160381b82048116610100909204161061148457600854610100900461ffff16611493565b600854600160381b900461ffff165b6008549091505f9061ffff600160481b82048116630100000090920416106114c8576008546301000000900461ffff166114d7565b600854600160481b900461ffff165b6008549091505f9061ffff600160581b82048116600160281b909204161061150c57600854600160281b900461ffff1661151b565b600854600160581b900461ffff165b9296919550919350915050565b5f338161153582866117f2565b9050838110156115955760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c43565b610f9b8286868403611c27565b5f33610e47818585611dc2565b6115b7611bcc565b61130a6001600160a01b0383163383612323565b6115d3611bcc565b815f5b81811015610f7c575f8585838181106115f1576115f161381f565b90506020020160208101906116069190613623565b600c549091506001600160a01b03908116908216036116675760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f7420616363657373206261736520616d6d2070616972000000006044820152606401610c43565b6001600160a01b0381165f818152600f60209081526040808320805489151560ff199182168117909255600684529382902080549094168117909355805193845290830191909152600193909301927f4d5593e244fd41eece27031c1331466a9e253a06df08dda6c1c2b3c387140da0910160405180910390a1506115d6565b6116ef611bcc565b815f5b81811015610f7c575f85858381811061170d5761170d61381f565b90506020020160208101906117229190613623565b6001600160a01b0381165f81815260056020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fa301a811c39dbd3a2ffd9aea1076306ae8b2a227d5304311a68939f08e3d084a910160405180910390a1506116f2565b611798611bcc565b6111b53382612375565b6117aa611bcc565b5f81116117ed5760405162461bcd60e51b81526020600482015260116024820152701a5b9d985b1a59081d1a1c995cda1bdb19607a1b6044820152606401610c43565b601755565b6001600160a01b039182165f90815260116020908152604080832093909416825291909152205490565b611824611bcc565b8061ffff168261ffff16101561187c5760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d697400000000006044820152606401610c43565b5f5461ffff808416600160e01b90920416118015906118aa57505f5461ffff808316600160d01b9092041611155b6118e65760405162461bcd60e51b815260206004820152600d60248201526c696e637265617365206f6e6c7960981b6044820152606401610c43565b61271061ffff821611156119345760405162461bcd60e51b81526020600482015260156024820152747478206c696d6974206f7574206f662072616e676560581b6044820152606401610c43565b61271061ffff8316111561198a5760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e67650000000000000000006044820152606401610c43565b5f805463ffffffff60d01b1916600160e01b61ffff85811691820261ffff60d01b191692909217600160d01b928516928302179092556040805192835260208301919091527f244331ce56bb49b130a963a6c0f1869845bb5ded2cd3dea0329926354d27699a910160405180910390a15050565b611a06611bcc565b6001600160a01b038116611a6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c43565b6111b58161248a565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03163314611aec5760405162461bcd60e51b815260206004820152601960248201527f63616c6c6572206973206e6f742074686520666163746f7279000000000000006044820152606401610c43565b60165460ff1615611b325760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b6044820152606401610c43565b6016805460ff19166001179055811580611b4a575080155b611b965760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f742064656c6179656420616e642064697361626c6564000000006044820152606401610c43565b6001805463ffff00001916620100009315159390930263ff00000019169290921763010000009115159190910217905542601855565b5f546001600160a01b03163314611c255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c43565b565b6001600160a01b038316611c895760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c43565b6001600160a01b038216611cea5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c43565b6001600160a01b038381165f8181526011602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f611d5584846117f2565b90505f198114611dbc5781811015611daf5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c43565b611dbc8484848403611c27565b50505050565b60165460ff16611ddc57611dd78383836124d9565b505050565b601654305f908152601060205260408120544292640100000000900463ffffffff1691505f6001600160a01b038716301480611e8557506001600160a01b0387165f908152600e602052604090205460ff1680611e5057506001600160a01b0386165f908152600e602052604090205460ff165b8015611e5d57505f600254115b8015611e855750601654600254611e8191600160401b900463ffffffff1690613847565b8410155b6001600160a01b038089165f908152600f602052604080822054928a16825281205460085493945060ff9283169390831692168015611ec557505f600254115b8015611edd575085600254611eda9190613847565b87115b60195490915060ff16158015611ef1575083155b8015611efb575082155b8015611f0e5750601654610100900460ff165b8015611f2357508080611f2357506017548510155b15611f58578015611f3c57611f3785612688565b611f47565b611f47601754612688565b8015611f58576008805460ff191690555b875f03611f7657611f6a8a8a5f6124d9565b50505050505050505050565b5f846121c25783156120b05760085460ff168015611fab57506002541580611fab575086600254611fa79190613847565b8811155b1561202557600854612710908190611fce90600160681b900461ffff168261385a565b60085461ffff91821691611ff291600160281b81048216916101009091041661385a565b6120009061ffff168d61387c565b61200a919061387c565b6120149190613893565b61201e9190613893565b9050612063565b600854612710906120489061ffff600160281b820481169161010090041661385a565b6120569061ffff168b61387c565b6120609190613893565b90505b5f61206c61290b565b61ffff16905080156120aa575f612710612086838d61387c565b6120909190613893565b905061209c8d826121da565b6120a6818c6138b2565b9a50505b506121a4565b82156121a4576120bf896129e3565b60085460ff1680156120e8575060025415806120e85750866002546120e49190613847565b8811155b156121645760085461271090819061210b90600160681b900461ffff168261385a565b60085461ffff9182169161213191600160281b810482169163010000009091041661385a565b61213f9061ffff168d61387c565b612149919061387c565b6121539190613893565b61215d9190613893565b90506121a4565b600854612710906121899061ffff600160281b8204811691630100000090041661385a565b6121979061ffff168b61387c565b6121a19190613893565b90505b80156121b5576121b58b30836124d9565b6121bf818a6138b2565b98505b6121cd8b8b8b6124d9565b5050505050505050505050565b6001600160a01b03821661223a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c43565b6001600160a01b0382165f90815260106020526040902054818110156122ad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c43565b6001600160a01b0383165f8181526010602090815260408083208686039055601280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611dd7835f84612a5e565b61231a611bcc565b611c255f61248a565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611dd7908490612c73565b804710156123c55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c43565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461240e576040519150601f19603f3d011682016040523d82523d5f602084013e612413565b606091505b5050905080611dd75760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c43565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03831661253d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c43565b6001600160a01b03821661259f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c43565b6001600160a01b0383165f90815260106020526040902054818110156126165760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c43565b6001600160a01b038085165f8181526010602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906126759086815260200190565b60405180910390a3611dbc848484612a5e565b6019805460ff1916600117905580156128fe575f600d5f9054906101000a90046001600160a01b031690505f7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663c2d4f9426040518163ffffffff1660e01b8152600401602060405180830381865afa158015612710573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061273491906138c5565b600a54600b549192506001600160a01b0390811691811690841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed1901612831575f61277386612d46565b9050801561282b5760085460ff16156127b3575f61279082612f06565b90506127a56001600160a01b03861682612375565b6127af81836138b2565b9150505b600854600160281b900461ffff16158015906127d757506001600160a01b03821615155b15612809575f6127e682612f47565b90506127fb6001600160a01b03841682612375565b61280581836138b2565b9150505b6001600160a01b0383161561282b5761282b6001600160a01b03841682612375565b506128f9565b5f61283c8587612fb3565b905080156128f75760085460ff161561287d575f61285982612f06565b905061286f6001600160a01b0387168683612323565b61287981836138b2565b9150505b600854600160281b900461ffff16158015906128a157506001600160a01b03821615155b156128d4575f6128b082612f47565b90506128c66001600160a01b0387168483612323565b6128d081836138b2565b9150505b6001600160a01b038316156128f7576128f76001600160a01b0386168483612323565b505b505050505b506019805460ff19169055565b6001545f90610100900460ff1661292f576002545f0361292a57426002555b505f90565b6004544290810361294c5750505f54600160c01b900461ffff1690565b60035481036129675750505f54600160b01b900461ffff1690565b60025481036129825750505f54600160a01b900461ffff1690565b60045415612991575f91505090565b600354156129af575050426004555f54600160c01b900461ffff1690565b600254156129cd575050426003555f54600160b01b900461ffff1690565b5050426002555f54600160a01b900461ffff1690565b5f6129ed60125490565b5f54909150600160f01b900461ffff166019811080612a26575082612710612a1961ffff84168561387c565b612a239190613893565b10155b611dd75760405162461bcd60e51b81526020600482015260096024820152680616e74692d64756d760bc1b6044820152606401610c43565b60165460ff1615611dd757612a7383836131d4565b6001600160a01b0382161580612a9557505f546001600160a01b038381169116145b80612adb57506001600160a01b0383165f9081526007602052604090205460ff16158015612adb57506001600160a01b0382165f9081526007602052604090205460ff16155b612b155760405162461bcd60e51b815260206004820152600b60248201526a189b1858dadb1a5cdd195960aa1b6044820152606401610c43565b5f612b1f60125490565b6001600160a01b0385165f9081526005602052604090205490915060ff1680612b5f57506001600160a01b0383165f9081526005602052604090205460ff165b80612b8e57505f5461271090612b8090600160d01b900461ffff168361387c565b612b8a9190613893565b8211155b612bce5760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b6044820152606401610c43565b6001600160a01b0383165f9081526006602052604090205460ff1680612c2f57505f5461271090612c0a90600160e01b900461ffff168361387c565b612c149190613893565b6001600160a01b0384165f9081526010602052604090205411155b611dbc5760405162461bcd60e51b81526020600482015260156024820152741c9958d95a5d995c881a1bdb19081b1a5b5a5d1959605a1b6044820152606401610c43565b5f612cc7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166133d09092919063ffffffff16565b905080515f1480612ce7575080806020019051810190612ce791906138e0565b611dd75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c43565b6009546040805160028082526060820183525f936001600160a01b0316928492919060208301908036833701905050905030815f81518110612d8a57612d8a61381f565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612de6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e0a91906138c5565b81600181518110612e1d57612e1d61381f565b60200260200101906001600160a01b031690816001600160a01b031681525050612e48308386611c27565b476001600160a01b03831663791ac947865f8530612e684261012c613847565b6040518663ffffffff1660e01b8152600401612e889594939291906138fb565b5f604051808303815f87803b158015612e9f575f80fd5b505af1925050508015612eb0575060015b612ee9573d808015612edd576040519150601f19603f3d011682016040523d82523d5f602084013e612ee2565b606091505b5050612efc565b612ef381476138b2565b95945050505050565b505f949350505050565b6008545f90600160681b900461ffff16612f228161271061385a565b61ffff168161ffff1684612f36919061387c565b612f409190613893565b9392505050565b6008545f9061ffff610100820481169163010000008104821691600160281b90910416612f7581600261396c565b612f7f838561385a565b612f89919061385a565b61ffff168161ffff16866002612f9f919061387c565b612fa9919061387c565b612ef39190613893565b6040805160028082526060820183525f928392919060208301908036833701905050905030815f81518110612fea57612fea61381f565b60200260200101906001600160a01b031690816001600160a01b031681525050838160018151811061301e5761301e61381f565b6001600160a01b03928316602091820292909201015260095416613043308286611c27565b6040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015613087573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ab9190613992565b90506001600160a01b038216635c11d795865f86306130cc4261012c613847565b6040518663ffffffff1660e01b81526004016130ec9594939291906138fb565b5f604051808303815f87803b158015613103575f80fd5b505af1925050508015613114575060015b61314d573d808015613141576040519150601f19603f3d011682016040523d82523d5f602084013e613146565b606091505b50506131c9565b6040516370a0823160e01b815230600482015281906001600160a01b038816906370a0823190602401602060405180830381865afa158015613191573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131b59190613992565b6131bf91906138b2565b9350505050610e4d565b505f95945050505050565b7f00000000000000000000000000000000000000000000000000000000000000005f6132075f546001600160a01b031690565b9050836001600160a01b0316826001600160a01b0316148061323a5750826001600160a01b0316826001600160a01b0316145b806132565750836001600160a01b0316816001600160a01b0316145b806132725750826001600160a01b0316816001600160a01b0316145b1561327d5750505050565b600154429062010000900460ff1615613323576016546018546132ad91600160601b900463ffffffff1690613847565b8110156132ee5760405162461bcd60e51b815260206004820152600f60248201526e1d1c98591a5b99c819195b185e5959608a1b6044820152606401610c43565b6001805462ff0000191690556040517fab510bbf1d44ab52001b0b9606b77e378e6fd6fa3989ddbeb5a08fe60b3913b3905f90a15b6001546301000000900460ff1615610f7c5760165460185461335291600160801b900463ffffffff1690613847565b8110156133945760405162461bcd60e51b815260206004820152601060248201526f1d1c98591a5b99c8191a5cd8589b195960821b6044820152606401610c43565b6001805463ff000000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a15050505050565b60606133de84845f856133e6565b949350505050565b6060824710156134475760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610c43565b5f80866001600160a01b0316858760405161346291906139a9565b5f6040518083038185875af1925050503d805f811461349c576040519150601f19603f3d011682016040523d82523d5f602084013e6134a1565b606091505b50915091506134b2878383876134bd565b979650505050505050565b6060831561352b5782515f03613524576001600160a01b0385163b6135245760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c43565b50816133de565b6133de83838151156135405781518083602001fd5b8060405162461bcd60e51b8152600401610c4391906135b0565b803561ffff8116811461356b575f80fd5b919050565b5f805f60608486031215613582575f80fd5b61358b8461355a565b92506135996020850161355a565b91506135a76040850161355a565b90509250925092565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146111b5575f80fd5b5f806040838503121561360a575f80fd5b8235613615816135e5565b946020939093013593505050565b5f60208284031215613633575f80fd5b8135612f40816135e5565b80151581146111b5575f80fd5b5f805f6040848603121561365d575f80fd5b833567ffffffffffffffff80821115613674575f80fd5b818601915086601f830112613687575f80fd5b813581811115613695575f80fd5b8760208260051b85010111156136a9575f80fd5b602092830195509350508401356136bf8161363e565b809150509250925092565b5f805f606084860312156136dc575f80fd5b83356136e7816135e5565b925060208401356136f7816135e5565b929592945050506040919091013590565b5f60208284031215613718575f80fd5b8135612f408161363e565b5f60208284031215613733575f80fd5b612f408261355a565b5f6020828403121561374c575f80fd5b5035919050565b5f8060408385031215613764575f80fd5b823561376f816135e5565b9150602083013561377f816135e5565b809150509250929050565b5f806040838503121561379b575f80fd5b6137a48361355a565b91506137b26020840161355a565b90509250929050565b5f80604083850312156137cc575f80fd5b82356137d78161363e565b9150602083013561377f8161363e565b600181811c908216806137fb57607f821691505b60208210810361381957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820180821115610e4d57610e4d613833565b61ffff81811683821601908082111561387557613875613833565b5092915050565b8082028115828204841417610e4d57610e4d613833565b5f826138ad57634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610e4d57610e4d613833565b5f602082840312156138d5575f80fd5b8151612f40816135e5565b5f602082840312156138f0575f80fd5b8151612f408161363e565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561394b5784516001600160a01b031683529383019391830191600101613926565b50506001600160a01b03969096166060850152505050608001529392505050565b61ffff81811683821602808216919082811461398a5761398a613833565b505092915050565b5f602082840312156139a2575f80fd5b5051919050565b5f82518060208501845e5f92019182525091905056fea264697066735822122016278ded2eff8521cb24675d9bed2f79e00ea00d97db29bdb065079f3d8cbad564736f6c634300081900330000000000000000000000004242b8019e000a33251da56cbef35695ec7e4f55000000000000000000000000eef8c380abba59b6a5341e363daf8fa9031923b0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000535000000000000000000000000000000000000000000000000000000000000029a00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000000000000002a300000000000000000000000000000000000000000000000000000000000000003c00000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002431626634663663362d306332342d313165662d623063612d38613535653837383035313500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000742616e6b20416900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442414e4b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000204fce5e3e2502611000000000000000000000000000000067262a61c0a459fff172c22e60dbc730393bf79000000000000000000000000000000000000000000000000000000000000025b200000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000067262a61c0a459fff172c22e60dbc730393bf79000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac0000000000000000000000000000000000000000000000000000000000000dac000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000340aad21b3b7000000000000000000000000000000000000000000000000000000000000000278d00

Deployed Bytecode

0x608060405260043610610344575f3560e01c806379cc6790116101bd578063be3b115d116100f2578063d94160e011610092578063def98aba1161006d578063def98aba14610b1c578063f0ee1ea514610b3b578063f2fde38b14610b83578063f519b7d314610ba2575f80fd5b8063d94160e014610a7f578063db200bfa14610ade578063dd62ed3e14610afd575f80fd5b8063c5f7f168116100cd578063c5f7f168146109d7578063cb4ca631146109f6578063d05ee72714610a2d578063d333555314610a60575f80fd5b8063be3b115d14610986578063bf56b371146109a4578063c524e82e146109b8575f80fd5b806395d89b411161015d578063a9059cbb11610138578063a9059cbb146108f6578063b29a814014610915578063b4b37bd214610934578063b6a6790b14610967575f80fd5b806395d89b41146108af578063a103657e146108c3578063a457c2d7146108d7575f80fd5b80638a8c523c116101985780638a8c523c146108295780638da5cb5b1461083d5780639191a9c7146108595780639448868314610890575f80fd5b806379cc67901461079b57806380c74653146107ba578063878dd33214610812575f80fd5b8063313ce5671161029357806366bd127011610233578063715018a61161020e578063715018a6146106fa5780637196d1781461070e578063728f8eea1461074d578063785e8a121461077f575f80fd5b806366bd1270146106495780636cb20f471461067b57806370a08231146106c6575f80fd5b80633e4042281161026e5780633e404228146105c557806342966c68146105e957806349deaf4f146106085780635b30facb14610635575f80fd5b8063313ce5671461056c57806339509351146105875780633b0deddd146105a6575f80fd5b80631a2266b0116102fe57806328f4dbb6116102d957806328f4dbb6146104e65780632aa9c376146104fa5780632af65da1146105195780632fdd75bf14610538575f80fd5b80631a2266b0146104725780631a861d261461049157806323b872dd146104c7575f80fd5b8063068b976f1461034f57806306fdde0314610370578063095ea7b31461039a5780630d426b00146103c95780630f1d76c11461041d57806318160ddd14610454575f80fd5b3661034b57005b5f80fd5b34801561035a575f80fd5b5061036e610369366004613570565b610bc1565b005b34801561037b575f80fd5b50610384610daa565b60405161039191906135b0565b60405180910390f35b3480156103a5575f80fd5b506103b96103b43660046135f9565b610e3a565b6040519015158152602001610391565b3480156103d4575f80fd5b505f5461ffff600160a01b8204811691600160b01b8104821691600160c01b909104165b6040805161ffff94851681529284166020840152921691810191909152606001610391565b348015610428575f80fd5b506103b9610437366004613623565b6001600160a01b03165f9081526007602052604090205460ff1690565b34801561045f575f80fd5b506012545b604051908152602001610391565b34801561047d575f80fd5b5061036e61048c36600461364b565b610e53565b34801561049c575f80fd5b505f546040805161ffff600160e01b840481168252600160d01b909304909216602083015201610391565b3480156104d2575f80fd5b506103b96104e13660046136ca565b610f83565b3480156104f1575f80fd5b50601754610464565b348015610505575f80fd5b5061036e610514366004613708565b610fa6565b348015610524575f80fd5b5061036e61053336600461364b565b610fc8565b348015610543575f80fd5b5060085461ffff600160381b8204811691600160481b8104821691600160581b909104166103f8565b348015610577575f80fd5b5060405160128152602001610391565b348015610592575f80fd5b506103b96105a13660046135f9565b611071565b3480156105b1575f80fd5b5061036e6105c0366004613723565b611092565b3480156105d0575f80fd5b506103b95f546019600160f01b90910461ffff16101590565b3480156105f4575f80fd5b5061036e61060336600461373c565b6111ab565b348015610613575f80fd5b5060165462010000900461ffff165b60405161ffff9091168152602001610391565b348015610640575f80fd5b506103846111b8565b348015610654575f80fd5b50600a54600b54604080516001600160a01b03938416815292909116602083015201610391565b348015610686575f80fd5b506106ae7f0000000000000000000000004242b8019e000a33251da56cbef35695ec7e4f5581565b6040516001600160a01b039091168152602001610391565b3480156106d1575f80fd5b506104646106e0366004613623565b6001600160a01b03165f9081526010602052604090205490565b348015610705575f80fd5b5061036e611244565b348015610719575f80fd5b50600954600d54600c54604080516001600160a01b0394851681529284166020840152921691810191909152606001610391565b348015610758575f80fd5b5060085461ffff610100820481169163010000008104821691600160281b909104166103f8565b34801561078a575f80fd5b50601654610100900460ff166103b9565b3480156107a6575f80fd5b5061036e6107b53660046135f9565b6112f5565b3480156107c5575f80fd5b506016546040805163ffffffff600160601b840481168252600160801b8404811660208301526401000000008404811692820192909252600160401b909204166060820152608001610391565b34801561081d575f80fd5b5060015460ff166103b9565b348015610834575f80fd5b5061036e61130e565b348015610848575f80fd5b505f546001600160a01b03166106ae565b348015610864575f80fd5b506103b9610873366004613623565b6001600160a01b03165f908152600f602052604090205460ff1690565b34801561089b575f80fd5b5061036e6108aa36600461364b565b611398565b3480156108ba575f80fd5b50610384611441565b3480156108ce575f80fd5b506103f8611450565b3480156108e2575f80fd5b506103b96108f13660046135f9565b611528565b348015610901575f80fd5b506103b96109103660046135f9565b6115a2565b348015610920575f80fd5b5061036e61092f3660046135f9565b6115af565b34801561093f575f80fd5b506104647f11647894f3c5bda261d91e16c88c55f44e8b0d2a7bee92a98cf0ba24d00980af81565b348015610972575f80fd5b5061036e61098136600461364b565b6115cb565b348015610991575f80fd5b505f54600160f01b900461ffff16610622565b3480156109af575f80fd5b50601854610464565b3480156109c3575f80fd5b50600854600160681b900461ffff16610622565b3480156109e2575f80fd5b5061036e6109f136600461364b565b6116e7565b348015610a01575f80fd5b506103b9610a10366004613623565b6001600160a01b03165f908152600e602052604090205460ff1690565b348015610a38575f80fd5b506106ae7f00000000000000000000000067262a61c0a459fff172c22e60dbc730393bf79081565b348015610a6b575f80fd5b5061036e610a7a36600461373c565b611790565b348015610a8a575f80fd5b50610ac7610a99366004613623565b6001600160a01b03165f9081526006602090815260408083205460059092529091205460ff91821692911690565b604080519215158352901515602083015201610391565b348015610ae9575f80fd5b5061036e610af836600461373c565b6117a2565b348015610b08575f80fd5b50610464610b17366004613753565b6117f2565b348015610b27575f80fd5b5061036e610b3636600461378a565b61181c565b348015610b46575f80fd5b506001546040805160ff61010084048116151582526201000084048116151560208301526301000000909304909216151590820152606001610391565b348015610b8e575f80fd5b5061036e610b9d366004613623565b6119fe565b348015610bad575f80fd5b5061036e610bbc3660046137bb565b611a74565b610bc9611bcc565b60085461ffff610100820481169163010000008104821691600160281b9091048116908616831015610c4c5760085461ffff600160381b90910481169087161115610c4c5760405162461bcd60e51b815260206004820152600e60248201526d0d2dcecc2d8d2c840c4eaf2a8c2f60931b60448201526064015b60405180910390fd5b8161ffff168561ffff161115610caf5760085461ffff600160481b90910481169086161115610caf5760405162461bcd60e51b815260206004820152600f60248201526e0d2dcecc2d8d2c840e6cad8d8a8c2f608b1b6044820152606401610c43565b8061ffff168461ffff161115610d165760085461ffff600160581b90910481169085161115610d165760405162461bcd60e51b81526020600482015260136024820152720d2dcecc2d8d2c840e8e4cac2e6eae4f2a8c2f606b1b6044820152606401610c43565b6008805464ffffffff00191661010061ffff89811691820264ffff00000019169290921763010000008984169081029190911766ffff00000000001916600160281b93891693840217909355604080519182526020820193909352918201527fb6d7a9e1cf68fd02461e40d3c33cf2c4551d4a5f101ccbb620cd29488ff528609060600160405180910390a1505050505050565b606060138054610db9906137e7565b80601f0160208091040260200160405190810160405280929190818152602001828054610de5906137e7565b8015610e305780601f10610e0757610100808354040283529160200191610e30565b820191905f5260205f20905b815481529060010190602001808311610e1357829003601f168201915b5050505050905090565b5f33610e47818585611c27565b60019150505b92915050565b610e5b611bcc565b60015460ff16610ead5760405162461bcd60e51b815260206004820152601960248201527f626c61636b6c697374206164642d6f6e2064697361626c6564000000000000006044820152606401610c43565b815f5b81811015610f7c578260075f878785818110610ece57610ece61381f565b9050602002016020810190610ee39190613623565b6001600160a01b0316815260208101919091526040015f20805460ff19169115159190911790557f1d3a0f423a29cb00c6d792b5a695e34683386c493edbcf344426b5da5adf0e44858583818110610f3d57610f3d61381f565b9050602002016020810190610f529190613623565b604080516001600160a01b03909216825285151560208301520160405180910390a1600101610eb0565b5050505050565b5f33610f90858285611d4a565b610f9b858585611dc2565b506001949350505050565b610fae611bcc565b601680549115156101000261ff0019909216919091179055565b610fd0611bcc565b815f5b81811015610f7c575f858583818110610fee57610fee61381f565b90506020020160208101906110039190613623565b6001600160a01b0381165f81815260066020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507f0a3739d32ce712ba6f19229ad53a9267424ae1f5fb81ea18eb916ca6fd9f7188910160405180910390a150610fd3565b5f33610e4781858561108383836117f2565b61108d9190613847565b611c27565b61109a611bcc565b5f8054600160f01b900461ffff1690036110ee5760405162461bcd60e51b8152602060048201526015602482015274185b9d1a4b591d5b5c081b9bdd08195b98589b1959605a1b6044820152606401610c43565b601961ffff821610801590611109575061271061ffff821611155b6111555760405162461bcd60e51b815260206004820152601c60248201527f616e74692d64756d70206c696d6974206f7574206f662072616e6765000000006044820152606401610c43565b5f80546001600160f01b0316600160f01b61ffff8416908102919091179091556040519081527fcfd8a76f34f3fbb9f999325c2887d5ec8933c519a3bfdb71c2aa6c6d9aef5ebb9060200160405180910390a150565b6111b533826121da565b50565b601580546111c5906137e7565b80601f01602080910402602001604051908101604052809291908181526020018280546111f1906137e7565b801561123c5780601f106112135761010080835404028352916020019161123c565b820191905f5260205f20905b81548152906001019060200180831161121f57829003601f168201915b505050505081565b61124c611bcc565b60165460085461ffff62010000909204821691610100909104168110801590611285575060085461ffff80831663010000009092041611155b80156112a1575060085461ffff808316600160281b9092041611155b6112ed5760405162461bcd60e51b815260206004820152601b60248201527f6c6f776572207461786573206265666f72652072656e6f756e636500000000006044820152606401610c43565b6111b5612312565b611300823383611d4a565b61130a82826121da565b5050565b611316611bcc565b6001546301000000900460ff166113615760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e48195b98589b1959608a1b6044820152606401610c43565b6001805463ff000000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1565b6113a0611bcc565b815f5b81811015610f7c575f8585838181106113be576113be61381f565b90506020020160208101906113d39190613623565b6001600160a01b0381165f818152600e6020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fea5814d1cf99e5f6aee98da410ea4adcdbe5ded97855de3b25144b0898d0be4a910160405180910390a1506113a3565b606060148054610db9906137e7565b6008545f9081908190819061ffff600160381b82048116610100909204161061148457600854610100900461ffff16611493565b600854600160381b900461ffff165b6008549091505f9061ffff600160481b82048116630100000090920416106114c8576008546301000000900461ffff166114d7565b600854600160481b900461ffff165b6008549091505f9061ffff600160581b82048116600160281b909204161061150c57600854600160281b900461ffff1661151b565b600854600160581b900461ffff165b9296919550919350915050565b5f338161153582866117f2565b9050838110156115955760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610c43565b610f9b8286868403611c27565b5f33610e47818585611dc2565b6115b7611bcc565b61130a6001600160a01b0383163383612323565b6115d3611bcc565b815f5b81811015610f7c575f8585838181106115f1576115f161381f565b90506020020160208101906116069190613623565b600c549091506001600160a01b03908116908216036116675760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f7420616363657373206261736520616d6d2070616972000000006044820152606401610c43565b6001600160a01b0381165f818152600f60209081526040808320805489151560ff199182168117909255600684529382902080549094168117909355805193845290830191909152600193909301927f4d5593e244fd41eece27031c1331466a9e253a06df08dda6c1c2b3c387140da0910160405180910390a1506115d6565b6116ef611bcc565b815f5b81811015610f7c575f85858381811061170d5761170d61381f565b90506020020160208101906117229190613623565b6001600160a01b0381165f81815260056020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fa301a811c39dbd3a2ffd9aea1076306ae8b2a227d5304311a68939f08e3d084a910160405180910390a1506116f2565b611798611bcc565b6111b53382612375565b6117aa611bcc565b5f81116117ed5760405162461bcd60e51b81526020600482015260116024820152701a5b9d985b1a59081d1a1c995cda1bdb19607a1b6044820152606401610c43565b601755565b6001600160a01b039182165f90815260116020908152604080832093909416825291909152205490565b611824611bcc565b8061ffff168261ffff16101561187c5760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d697400000000006044820152606401610c43565b5f5461ffff808416600160e01b90920416118015906118aa57505f5461ffff808316600160d01b9092041611155b6118e65760405162461bcd60e51b815260206004820152600d60248201526c696e637265617365206f6e6c7960981b6044820152606401610c43565b61271061ffff821611156119345760405162461bcd60e51b81526020600482015260156024820152747478206c696d6974206f7574206f662072616e676560581b6044820152606401610c43565b61271061ffff8316111561198a5760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e67650000000000000000006044820152606401610c43565b5f805463ffffffff60d01b1916600160e01b61ffff85811691820261ffff60d01b191692909217600160d01b928516928302179092556040805192835260208301919091527f244331ce56bb49b130a963a6c0f1869845bb5ded2cd3dea0329926354d27699a910160405180910390a15050565b611a06611bcc565b6001600160a01b038116611a6b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610c43565b6111b58161248a565b7f0000000000000000000000004242b8019e000a33251da56cbef35695ec7e4f556001600160a01b03163314611aec5760405162461bcd60e51b815260206004820152601960248201527f63616c6c6572206973206e6f742074686520666163746f7279000000000000006044820152606401610c43565b60165460ff1615611b325760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b6044820152606401610c43565b6016805460ff19166001179055811580611b4a575080155b611b965760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f742064656c6179656420616e642064697361626c6564000000006044820152606401610c43565b6001805463ffff00001916620100009315159390930263ff00000019169290921763010000009115159190910217905542601855565b5f546001600160a01b03163314611c255760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c43565b565b6001600160a01b038316611c895760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610c43565b6001600160a01b038216611cea5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610c43565b6001600160a01b038381165f8181526011602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f611d5584846117f2565b90505f198114611dbc5781811015611daf5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610c43565b611dbc8484848403611c27565b50505050565b60165460ff16611ddc57611dd78383836124d9565b505050565b601654305f908152601060205260408120544292640100000000900463ffffffff1691505f6001600160a01b038716301480611e8557506001600160a01b0387165f908152600e602052604090205460ff1680611e5057506001600160a01b0386165f908152600e602052604090205460ff165b8015611e5d57505f600254115b8015611e855750601654600254611e8191600160401b900463ffffffff1690613847565b8410155b6001600160a01b038089165f908152600f602052604080822054928a16825281205460085493945060ff9283169390831692168015611ec557505f600254115b8015611edd575085600254611eda9190613847565b87115b60195490915060ff16158015611ef1575083155b8015611efb575082155b8015611f0e5750601654610100900460ff165b8015611f2357508080611f2357506017548510155b15611f58578015611f3c57611f3785612688565b611f47565b611f47601754612688565b8015611f58576008805460ff191690555b875f03611f7657611f6a8a8a5f6124d9565b50505050505050505050565b5f846121c25783156120b05760085460ff168015611fab57506002541580611fab575086600254611fa79190613847565b8811155b1561202557600854612710908190611fce90600160681b900461ffff168261385a565b60085461ffff91821691611ff291600160281b81048216916101009091041661385a565b6120009061ffff168d61387c565b61200a919061387c565b6120149190613893565b61201e9190613893565b9050612063565b600854612710906120489061ffff600160281b820481169161010090041661385a565b6120569061ffff168b61387c565b6120609190613893565b90505b5f61206c61290b565b61ffff16905080156120aa575f612710612086838d61387c565b6120909190613893565b905061209c8d826121da565b6120a6818c6138b2565b9a50505b506121a4565b82156121a4576120bf896129e3565b60085460ff1680156120e8575060025415806120e85750866002546120e49190613847565b8811155b156121645760085461271090819061210b90600160681b900461ffff168261385a565b60085461ffff9182169161213191600160281b810482169163010000009091041661385a565b61213f9061ffff168d61387c565b612149919061387c565b6121539190613893565b61215d9190613893565b90506121a4565b600854612710906121899061ffff600160281b8204811691630100000090041661385a565b6121979061ffff168b61387c565b6121a19190613893565b90505b80156121b5576121b58b30836124d9565b6121bf818a6138b2565b98505b6121cd8b8b8b6124d9565b5050505050505050505050565b6001600160a01b03821661223a5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610c43565b6001600160a01b0382165f90815260106020526040902054818110156122ad5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610c43565b6001600160a01b0383165f8181526010602090815260408083208686039055601280548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611dd7835f84612a5e565b61231a611bcc565b611c255f61248a565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611dd7908490612c73565b804710156123c55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c43565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811461240e576040519150601f19603f3d011682016040523d82523d5f602084013e612413565b606091505b5050905080611dd75760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c43565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03831661253d5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610c43565b6001600160a01b03821661259f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610c43565b6001600160a01b0383165f90815260106020526040902054818110156126165760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610c43565b6001600160a01b038085165f8181526010602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906126759086815260200190565b60405180910390a3611dbc848484612a5e565b6019805460ff1916600117905580156128fe575f600d5f9054906101000a90046001600160a01b031690505f7f0000000000000000000000004242b8019e000a33251da56cbef35695ec7e4f556001600160a01b031663c2d4f9426040518163ffffffff1660e01b8152600401602060405180830381865afa158015612710573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061273491906138c5565b600a54600b549192506001600160a01b0390811691811690841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed1901612831575f61277386612d46565b9050801561282b5760085460ff16156127b3575f61279082612f06565b90506127a56001600160a01b03861682612375565b6127af81836138b2565b9150505b600854600160281b900461ffff16158015906127d757506001600160a01b03821615155b15612809575f6127e682612f47565b90506127fb6001600160a01b03841682612375565b61280581836138b2565b9150505b6001600160a01b0383161561282b5761282b6001600160a01b03841682612375565b506128f9565b5f61283c8587612fb3565b905080156128f75760085460ff161561287d575f61285982612f06565b905061286f6001600160a01b0387168683612323565b61287981836138b2565b9150505b600854600160281b900461ffff16158015906128a157506001600160a01b03821615155b156128d4575f6128b082612f47565b90506128c66001600160a01b0387168483612323565b6128d081836138b2565b9150505b6001600160a01b038316156128f7576128f76001600160a01b0386168483612323565b505b505050505b506019805460ff19169055565b6001545f90610100900460ff1661292f576002545f0361292a57426002555b505f90565b6004544290810361294c5750505f54600160c01b900461ffff1690565b60035481036129675750505f54600160b01b900461ffff1690565b60025481036129825750505f54600160a01b900461ffff1690565b60045415612991575f91505090565b600354156129af575050426004555f54600160c01b900461ffff1690565b600254156129cd575050426003555f54600160b01b900461ffff1690565b5050426002555f54600160a01b900461ffff1690565b5f6129ed60125490565b5f54909150600160f01b900461ffff166019811080612a26575082612710612a1961ffff84168561387c565b612a239190613893565b10155b611dd75760405162461bcd60e51b81526020600482015260096024820152680616e74692d64756d760bc1b6044820152606401610c43565b60165460ff1615611dd757612a7383836131d4565b6001600160a01b0382161580612a9557505f546001600160a01b038381169116145b80612adb57506001600160a01b0383165f9081526007602052604090205460ff16158015612adb57506001600160a01b0382165f9081526007602052604090205460ff16155b612b155760405162461bcd60e51b815260206004820152600b60248201526a189b1858dadb1a5cdd195960aa1b6044820152606401610c43565b5f612b1f60125490565b6001600160a01b0385165f9081526005602052604090205490915060ff1680612b5f57506001600160a01b0383165f9081526005602052604090205460ff165b80612b8e57505f5461271090612b8090600160d01b900461ffff168361387c565b612b8a9190613893565b8211155b612bce5760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b6044820152606401610c43565b6001600160a01b0383165f9081526006602052604090205460ff1680612c2f57505f5461271090612c0a90600160e01b900461ffff168361387c565b612c149190613893565b6001600160a01b0384165f9081526010602052604090205411155b611dbc5760405162461bcd60e51b81526020600482015260156024820152741c9958d95a5d995c881a1bdb19081b1a5b5a5d1959605a1b6044820152606401610c43565b5f612cc7826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166133d09092919063ffffffff16565b905080515f1480612ce7575080806020019051810190612ce791906138e0565b611dd75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610c43565b6009546040805160028082526060820183525f936001600160a01b0316928492919060208301908036833701905050905030815f81518110612d8a57612d8a61381f565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612de6573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612e0a91906138c5565b81600181518110612e1d57612e1d61381f565b60200260200101906001600160a01b031690816001600160a01b031681525050612e48308386611c27565b476001600160a01b03831663791ac947865f8530612e684261012c613847565b6040518663ffffffff1660e01b8152600401612e889594939291906138fb565b5f604051808303815f87803b158015612e9f575f80fd5b505af1925050508015612eb0575060015b612ee9573d808015612edd576040519150601f19603f3d011682016040523d82523d5f602084013e612ee2565b606091505b5050612efc565b612ef381476138b2565b95945050505050565b505f949350505050565b6008545f90600160681b900461ffff16612f228161271061385a565b61ffff168161ffff1684612f36919061387c565b612f409190613893565b9392505050565b6008545f9061ffff610100820481169163010000008104821691600160281b90910416612f7581600261396c565b612f7f838561385a565b612f89919061385a565b61ffff168161ffff16866002612f9f919061387c565b612fa9919061387c565b612ef39190613893565b6040805160028082526060820183525f928392919060208301908036833701905050905030815f81518110612fea57612fea61381f565b60200260200101906001600160a01b031690816001600160a01b031681525050838160018151811061301e5761301e61381f565b6001600160a01b03928316602091820292909201015260095416613043308286611c27565b6040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015613087573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906130ab9190613992565b90506001600160a01b038216635c11d795865f86306130cc4261012c613847565b6040518663ffffffff1660e01b81526004016130ec9594939291906138fb565b5f604051808303815f87803b158015613103575f80fd5b505af1925050508015613114575060015b61314d573d808015613141576040519150601f19603f3d011682016040523d82523d5f602084013e613146565b606091505b50506131c9565b6040516370a0823160e01b815230600482015281906001600160a01b038816906370a0823190602401602060405180830381865afa158015613191573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906131b59190613992565b6131bf91906138b2565b9350505050610e4d565b505f95945050505050565b7f00000000000000000000000067262a61c0a459fff172c22e60dbc730393bf7905f6132075f546001600160a01b031690565b9050836001600160a01b0316826001600160a01b0316148061323a5750826001600160a01b0316826001600160a01b0316145b806132565750836001600160a01b0316816001600160a01b0316145b806132725750826001600160a01b0316816001600160a01b0316145b1561327d5750505050565b600154429062010000900460ff1615613323576016546018546132ad91600160601b900463ffffffff1690613847565b8110156132ee5760405162461bcd60e51b815260206004820152600f60248201526e1d1c98591a5b99c819195b185e5959608a1b6044820152606401610c43565b6001805462ff0000191690556040517fab510bbf1d44ab52001b0b9606b77e378e6fd6fa3989ddbeb5a08fe60b3913b3905f90a15b6001546301000000900460ff1615610f7c5760165460185461335291600160801b900463ffffffff1690613847565b8110156133945760405162461bcd60e51b815260206004820152601060248201526f1d1c98591a5b99c8191a5cd8589b195960821b6044820152606401610c43565b6001805463ff000000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a15050505050565b60606133de84845f856133e6565b949350505050565b6060824710156134475760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610c43565b5f80866001600160a01b0316858760405161346291906139a9565b5f6040518083038185875af1925050503d805f811461349c576040519150601f19603f3d011682016040523d82523d5f602084013e6134a1565b606091505b50915091506134b2878383876134bd565b979650505050505050565b6060831561352b5782515f03613524576001600160a01b0385163b6135245760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610c43565b50816133de565b6133de83838151156135405781518083602001fd5b8060405162461bcd60e51b8152600401610c4391906135b0565b803561ffff8116811461356b575f80fd5b919050565b5f805f60608486031215613582575f80fd5b61358b8461355a565b92506135996020850161355a565b91506135a76040850161355a565b90509250925092565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b6001600160a01b03811681146111b5575f80fd5b5f806040838503121561360a575f80fd5b8235613615816135e5565b946020939093013593505050565b5f60208284031215613633575f80fd5b8135612f40816135e5565b80151581146111b5575f80fd5b5f805f6040848603121561365d575f80fd5b833567ffffffffffffffff80821115613674575f80fd5b818601915086601f830112613687575f80fd5b813581811115613695575f80fd5b8760208260051b85010111156136a9575f80fd5b602092830195509350508401356136bf8161363e565b809150509250925092565b5f805f606084860312156136dc575f80fd5b83356136e7816135e5565b925060208401356136f7816135e5565b929592945050506040919091013590565b5f60208284031215613718575f80fd5b8135612f408161363e565b5f60208284031215613733575f80fd5b612f408261355a565b5f6020828403121561374c575f80fd5b5035919050565b5f8060408385031215613764575f80fd5b823561376f816135e5565b9150602083013561377f816135e5565b809150509250929050565b5f806040838503121561379b575f80fd5b6137a48361355a565b91506137b26020840161355a565b90509250929050565b5f80604083850312156137cc575f80fd5b82356137d78161363e565b9150602083013561377f8161363e565b600181811c908216806137fb57607f821691505b60208210810361381957634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820180821115610e4d57610e4d613833565b61ffff81811683821601908082111561387557613875613833565b5092915050565b8082028115828204841417610e4d57610e4d613833565b5f826138ad57634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610e4d57610e4d613833565b5f602082840312156138d5575f80fd5b8151612f40816135e5565b5f602082840312156138f0575f80fd5b8151612f408161363e565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561394b5784516001600160a01b031683529383019391830191600101613926565b50506001600160a01b03969096166060850152505050608001529392505050565b61ffff81811683821602808216919082811461398a5761398a613833565b505092915050565b5f602082840312156139a2575f80fd5b5051919050565b5f82518060208501845e5f92019182525091905056fea264697066735822122016278ded2eff8521cb24675d9bed2f79e00ea00d97db29bdb065079f3d8cbad564736f6c63430008190033

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

0000000000000000000000004242b8019e000a33251da56cbef35695ec7e4f55000000000000000000000000eef8c380abba59b6a5341e363daf8fa9031923b0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000535000000000000000000000000000000000000000000000000000000000000029a00000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000000000000002a300000000000000000000000000000000000000000000000000000000000000003c00000000000000000000000000000000000000000000000000000000ffffffff00000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000002431626634663663362d306332342d313165662d623063612d38613535653837383035313500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000742616e6b20416900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000442414e4b0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000204fce5e3e2502611000000000000000000000000000000067262a61c0a459fff172c22e60dbc730393bf79000000000000000000000000000000000000000000000000000000000000025b200000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000e00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee00000000000000000000000067262a61c0a459fff172c22e60dbc730393bf79000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac0000000000000000000000000000000000000000000000000000000000000dac000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000340aad21b3b7000000000000000000000000000000000000000000000000000000000000000278d00

-----Decoded View---------------
Arg [0] : factory_ (address): 0x4242b8019e000A33251Da56cbeF35695ec7E4f55
Arg [1] : deployer_ (address): 0xEEF8C380aBbA59b6A5341E363dAf8fa9031923b0
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---------------
54 Constructor Arguments found :
Arg [0] : 0000000000000000000000004242b8019e000a33251da56cbef35695ec7e4f55
Arg [1] : 000000000000000000000000eef8c380abba59b6a5341e363daf8fa9031923b0
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] : 00000000000000000000000000000000000000000000000000000000ffffffff
Arg [16] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [19] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000300
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000400
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [24] : 31626634663663362d306332342d313165662d623063612d3861353565383738
Arg [25] : 3035313500000000000000000000000000000000000000000000000000000000
Arg [26] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [27] : 42616e6b20416900000000000000000000000000000000000000000000000000
Arg [28] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [29] : 42414e4b00000000000000000000000000000000000000000000000000000000
Arg [30] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [31] : 0000000000000000000000000000000000000000204fce5e3e25026110000000
Arg [32] : 00000000000000000000000067262a61c0a459fff172c22e60dbc730393bf790
Arg [33] : 00000000000000000000000000000000000000000000000000000000000025b2
Arg [34] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [35] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [36] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [37] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [38] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [39] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [40] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [41] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [42] : 000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Arg [43] : 00000000000000000000000067262a61c0a459fff172c22e60dbc730393bf790
Arg [44] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [45] : 0000000000000000000000000000000000000000000000000000000000000dac
Arg [46] : 0000000000000000000000000000000000000000000000000000000000000dac
Arg [47] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [48] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [49] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [50] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [51] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [52] : 00000000000000000000000000000000000000000000000340aad21b3b700000
Arg [53] : 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.