ETH Price: $3,702.82 (-7.73%)

Contract

0xC15B1EAEc8aADE6cE0a94fD44806F623FBf505C9
 

Overview

ETH Balance

0.15137471242912748 ETH

Eth Value

$560.51 (@ $3,702.82/ETH)

Token Holdings

Multichain Info

1 address found via
Transaction Hash
Method
Block
From
To
Transfer212549522024-11-24 3:34:5915 days ago1732419299IN
0xC15B1EAE...3FBf505C9
0 ETH0.001430258.95677412
Transfer212234052024-11-19 17:54:4720 days ago1732038887IN
0xC15B1EAE...3FBf505C9
0 ETH0.0036721122.32507015
Approve210749912024-10-30 0:50:3540 days ago1730249435IN
0xC15B1EAE...3FBf505C9
0 ETH0.000184957.61570127
Approve210587052024-10-27 18:17:4743 days ago1730053067IN
0xC15B1EAE...3FBf505C9
0 ETH0.000202638.3435672
Transfer208669222024-10-01 0:00:4769 days ago1727740847IN
0xC15B1EAE...3FBf505C9
0 ETH0.0010876.60809633
Transfer208668862024-09-30 23:53:3569 days ago1727740415IN
0xC15B1EAE...3FBf505C9
0 ETH0.001265267.69120882
Transfer208668842024-09-30 23:53:1169 days ago1727740391IN
0xC15B1EAE...3FBf505C9
0 ETH0.001220187.41773043
Transfer208588032024-09-29 20:51:4771 days ago1727643107IN
0xC15B1EAE...3FBf505C9
0 ETH0.001124267.88360392
Transfer208587782024-09-29 20:46:3571 days ago1727642795IN
0xC15B1EAE...3FBf505C9
0 ETH0.001112357.80077081
Transfer208587152024-09-29 20:33:4771 days ago1727642027IN
0xC15B1EAE...3FBf505C9
0 ETH0.001566339.80823836
Transfer208586182024-09-29 20:14:1171 days ago1727640851IN
0xC15B1EAE...3FBf505C9
0 ETH0.000972866.59979069
Transfer208525822024-09-29 0:01:5971 days ago1727568119IN
0xC15B1EAE...3FBf505C9
0 ETH0.001213587.3786838
Transfer208522082024-09-28 22:46:4771 days ago1727563607IN
0xC15B1EAE...3FBf505C9
0 ETH0.000819994.98487564
Transfer208521862024-09-28 22:42:2371 days ago1727563343IN
0xC15B1EAE...3FBf505C9
0 ETH0.001065037.46827354
Transfer208504922024-09-28 17:00:5972 days ago1727542859IN
0xC15B1EAE...3FBf505C9
0 ETH0.001245897.80109125
Transfer208466012024-09-28 3:59:4772 days ago1727495987IN
0xC15B1EAE...3FBf505C9
0 ETH0.000944866.41037029
Transfer208458422024-09-28 1:27:2372 days ago1727486843IN
0xC15B1EAE...3FBf505C9
0 ETH0.0016072211.27020479
Transfer208243242024-09-25 1:24:4775 days ago1727227487IN
0xC15B1EAE...3FBf505C9
0 ETH0.0027980417.00853512
Transfer208169452024-09-24 0:44:1176 days ago1727138651IN
0xC15B1EAE...3FBf505C9
0 ETH0.003734427.91118123
Approve205991422024-08-24 14:45:47107 days ago1724510747IN
0xC15B1EAE...3FBf505C9
0 ETH0.000031221.17064942
Approve205991412024-08-24 14:45:35107 days ago1724510735IN
0xC15B1EAE...3FBf505C9
0 ETH0.000054591.17234747
Transfer205846412024-08-22 14:07:59109 days ago1724335679IN
0xC15B1EAE...3FBf505C9
0 ETH0.000498332.20484636
Transfer205754422024-08-21 7:15:47110 days ago1724224547IN
0xC15B1EAE...3FBf505C9
0 ETH0.000076181.22945644
Transfer205754212024-08-21 7:11:35110 days ago1724224295IN
0xC15B1EAE...3FBf505C9
0 ETH0.000099791.2616517
Approve204858112024-08-08 18:58:23123 days ago1723143503IN
0xC15B1EAE...3FBf505C9
0 ETH0.000076153.12806291
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
206340822024-08-29 11:56:47102 days ago1724932607
0xC15B1EAE...3FBf505C9
0.04211528 ETH
206340822024-08-29 11:56:47102 days ago1724932607
0xC15B1EAE...3FBf505C9
0.04211528 ETH
205846412024-08-22 14:07:59109 days ago1724335679
0xC15B1EAE...3FBf505C9
0.00246307 ETH
205846412024-08-22 14:07:59109 days ago1724335679
0xC15B1EAE...3FBf505C9
0.00246307 ETH
203427922024-07-19 19:53:11143 days ago1721418791
0xC15B1EAE...3FBf505C9
0.00274409 ETH
203427922024-07-19 19:53:11143 days ago1721418791
0xC15B1EAE...3FBf505C9
0.00274409 ETH
203016182024-07-14 2:00:11148 days ago1720922411
0xC15B1EAE...3FBf505C9
0.00276069 ETH
203016182024-07-14 2:00:11148 days ago1720922411
0xC15B1EAE...3FBf505C9
0.00276069 ETH
202919982024-07-12 17:44:11150 days ago1720806251
0xC15B1EAE...3FBf505C9
0.00283114 ETH
202919982024-07-12 17:44:11150 days ago1720806251
0xC15B1EAE...3FBf505C9
0.00283114 ETH
202919752024-07-12 17:39:35150 days ago1720805975
0xC15B1EAE...3FBf505C9
0.00284014 ETH
202919752024-07-12 17:39:35150 days ago1720805975
0xC15B1EAE...3FBf505C9
0.00284014 ETH
202884102024-07-12 5:42:59150 days ago1720762979
0xC15B1EAE...3FBf505C9
0.00292811 ETH
202884102024-07-12 5:42:59150 days ago1720762979
0xC15B1EAE...3FBf505C9
0.00292811 ETH
202868902024-07-12 0:37:35150 days ago1720744655
0xC15B1EAE...3FBf505C9
0.00293113 ETH
202868902024-07-12 0:37:35150 days ago1720744655
0xC15B1EAE...3FBf505C9
0.00293113 ETH
202834192024-07-11 12:59:11151 days ago1720702751
0xC15B1EAE...3FBf505C9
0.00294061 ETH
202834192024-07-11 12:59:11151 days ago1720702751
0xC15B1EAE...3FBf505C9
0.00294061 ETH
202671272024-07-09 6:23:59153 days ago1720506239
0xC15B1EAE...3FBf505C9
0.00345837 ETH
202671272024-07-09 6:23:59153 days ago1720506239
0xC15B1EAE...3FBf505C9
0.00345837 ETH
202618582024-07-08 12:41:59154 days ago1720442519
0xC15B1EAE...3FBf505C9
0.00347052 ETH
202618582024-07-08 12:41:59154 days ago1720442519
0xC15B1EAE...3FBf505C9
0.00347052 ETH
202618532024-07-08 12:40:59154 days ago1720442459
0xC15B1EAE...3FBf505C9
0.00348275 ETH
202618532024-07-08 12:40:59154 days ago1720442459
0xC15B1EAE...3FBf505C9
0.00348275 ETH
202617952024-07-08 12:29:23154 days ago1720441763
0xC15B1EAE...3FBf505C9
0.0033774 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ERC20ByBankPad

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-02-19
*/

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

// SPDX-License-Identifier: MIT

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

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

pragma solidity ^0.8.0;

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

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


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

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

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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


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

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

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

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

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

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

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

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


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

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

pragma solidity ^0.8.0;

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

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

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


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

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

pragma solidity ^0.8.0;



/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the default value returned by this function, unless
     * it's overridden.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

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

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

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `from` to `to`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(address from, address to, uint256 amount) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

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

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

pragma solidity ^0.8.0;


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

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


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

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

pragma solidity ^0.8.0;

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

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

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


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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

pragma solidity ^0.8.0;



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

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

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

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

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

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

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

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

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

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

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

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

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


// File contracts/token/AntiBotHelper.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

            unchecked {
                ++i;
            }

            emit ExcludedFromTxLimit(account, flag);
        }
    }

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

            unchecked {
                ++i;
            }

            emit ExcludedFromHoldLimit(account, flag);
        }
    }

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

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

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

        _antiDumpLimit = limit;

        emit AntiDumpLimitUpdated(limit);
    }

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

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

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

        _maxHoldLimit = holdLimit;
        _maxTxLimit = txLimit;

        emit MaxLimitUpdated(holdLimit, txLimit);
    }

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

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

        emit TradingEnabled();
    }

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

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


// File contracts/interfaces/IBase.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.4;

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

    // Configuration inherited from the factory contract
    struct InheritedConf {
        uint16 autoBurnFirstPercent;
        uint16 autoBurnSecondPercent;
        uint16 autoBurnThirdPercent;
        uint16 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;
    // default threshold would be 0.1% of the total supply
    uint16 private constant DEFAULT_THRESHOLD = 10;

    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 * DEFAULT_THRESHOLD) / 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 =
        0x586cf6bd4433e2c416b92ca280dc0311b186f8a3e79805d257378fadc9ae0dbd;

    using Address for address payable;
    using SafeERC20 for IERC20;

    bool private _inSwap;

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

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

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

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

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

        _checkTradingDelayedOrDisabled(from, to);

        uint256 totalSupply_ = totalSupply();

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

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

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

        uint256 blockTime = block.timestamp;

        uint256 bankPadTaxApplyPeriod = _bankPadTaxApplyPeriod;

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

        // tax whitelist is only applied after 2 days of the first buy
        bool isWhitelisted = (_isExcludedFromTax[from] ||
            _isExcludedFromTax[to]) &&
            _firstBuyAt > 0 &&
            blockTime >= _firstBuyAt + _taxWhitelistApplyDelay;
        bool isBuyTx = _isAmmPair[from];
        bool isSellTx = _isAmmPair[to];

        // swap accumlated tax into ETH or USDC
        if (
            !_inSwap &&
            !isWhitelisted &&
            !isBuyTx &&
            _isTaxConvertEnabled &&
            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.
            bool isBankpadOverTime = _bankpadFeeApplied &&
                _firstBuyAt > 0 &&
                blockTime > _firstBuyAt + bankPadTaxApplyPeriod;
            // 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 {
        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 {
        require(token_ != address(this), "Not allowed token");
        IERC20(token_).safeTransfer(_msgSender(), 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":"maxBuyTaxAfter","type":"uint16"},{"internalType":"uint16","name":"maxSellTaxAfter","type":"uint16"},{"internalType":"uint16","name":"maxTreasuryTaxAfter","type":"uint16"},{"internalType":"uint16","name":"bankPadTax","type":"uint16"},{"internalType":"uint16","name":"maxTaxToRenounce","type":"uint16"},{"internalType":"uint32","name":"bankPadTaxApplyPeriod","type":"uint32"},{"internalType":"uint32","name":"taxWhitelistApplyDelay","type":"uint32"},{"internalType":"uint32","name":"tradingDelayTime","type":"uint32"},{"internalType":"uint32","name":"tradingDisableTime","type":"uint32"}],"internalType":"struct IBase.InheritedConf","name":"inheritedConf_","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"antiDumpLimit","type":"uint16"}],"name":"AntiDumpLimitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"flag","type":"bool"}],"name":"ExcludedFromHoldLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"flag","type":"bool"}],"name":"ExcludedFromTax","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"bool","name":"flag","type":"bool"}],"name":"ExcludedFromTxLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"maxHoldLimit","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"maxTxLimit","type":"uint16"}],"name":"MaxLimitUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"pair","type":"address"},{"indexed":false,"internalType":"bool","name":"flag","type":"bool"}],"name":"NewAmmPair","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint16","name":"buyTax","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"sellTax","type":"uint16"},{"indexed":false,"internalType":"uint16","name":"treasuryTax","type":"uint16"}],"name":"TaxesUpdated","type":"event"},{"anonymous":false,"inputs":[],"name":"TradingDelayFinished","type":"event"},{"anonymous":false,"inputs":[],"name":"TradingEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ammAddresses","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiBotFlags","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"antiDumpLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bankPadFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bankPadTax","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bankUUID","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bankUUIDHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"batchExcludeFromHoldLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"batchExcludeFromTax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"batchExcludeFromTxLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"pairs","type":"address[]"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"batchSetAsAmmPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"flag","type":"bool"}],"name":"enableTaxConvert","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"isAmmPair","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAntiDumpEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromLimit","outputs":[{"internalType":"bool","name":"","type":"bool"},{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isExcludedFromTax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTaxConvertEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"tradingDelayed","type":"bool"},{"internalType":"bool","name":"tradingDisabled","type":"bool"}],"name":"launch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"launchedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTaxToRenounce","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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"}]

60c06040526007805460ff191660011790556015805472093a800000003c00000000000000000000010061ff00600160601b03600160a01b03199091161790553480156200004b575f80fd5b50604051620051d6380380620051d68339810160408190526200006e9162001536565b83838383816020015182604001516200009662000090620004f760201b60201c565b620004fb565b6012620000a483826200174c565b506013620000b382826200174c565b5050825160149150620000c790826200174c565b506001600160a01b03841660a052620000e083620004fb565b6080820151620000f0906200054a565b60a0820151620001009062000778565b6200010b8162000b1d565b600b546001600160a01b03165f9081526006602090815260408220805460ff1916600117905560608401518051839283926200014d9281018201910162001818565b6001600160a01b0382166080529194509250905061271062000171600a856200186c565b6200017d91906200188c565b60165561ffff811615620002ef576001600160a01b038216620001e75760405162461bcd60e51b815260206004820152601460248201527f696e76616c6964207465616d206163636f756e7400000000000000000000000060448201526064015b60405180910390fd5b8451604051630538cdc760e31b81526001600160a01b038916916329c66e3891620002169190600401620018ac565b602060405180830381865afa15801562000232573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002589190620018e0565b61ffff168161ffff161115620002b15760405162461bcd60e51b815260206004820152601360248201527f746f6f206d756368207465616d20616c6c6f63000000000000000000000000006044820152606401620001de565b5f612710620002c561ffff8416866200186c565b620002d191906200188c565b9050620002df838262000d54565b620002eb818562001903565b9350505b620002fb878462000d54565b50505050505050600160055f62000317620004f760201b60201c565b6001600160a01b0316815260208082019290925260409081015f908120805494151560ff1995861617905560059092527f05b8ccbb9d4d8fb16ea74ce3c29a41f1b461fbdaff4714a0d9a8eb05499746bc8054841660019081179091557f7d509c07f0d4edcc2dd1b53aae68677132eb562dcba78e36381b63ccaf66e6ba805485168217905530835290822080549093168117909255600690620003b83390565b6001600160a01b0316815260208082019290925260409081015f908120805494151560ff1995861617905560069092527f54cdd369e4e8a8515e52ca72ec816c2101831ad1f18bf44102ed171459c9b4f88054841660019081179091557f1aecba4ebe7a4e0673e4891b2b092b2228e4322380b579fb494fad3da8586e22805485168217905530835290822080549093168117909255600d90620004593390565b6001600160a01b0316815260208082019290925260409081015f908120805494151560ff19958616179055600d9092527f81955a0a11e65eac625c29e8882660bae4e165a75d72780094acae8ece9a29ee8054841660019081179091557fdc7fafdc41998a74ecacb8f8bd877011aba1f1d03a3a0d37a2e7879a393b1d6a8054851682179055308352912080549092161790555062001a4792505050565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f805f808480602001905181019062000564919062001919565b935093509350935061271061ffff168361ffff16111580156200058c5750601961ffff841610155b620005da5760405162461bcd60e51b815260206004820152601560248201527f7478206c696d6974206f7574206f662072616e676500000000000000000000006044820152606401620001de565b61271061ffff851611801590620005f65750601961ffff851610155b620006445760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e67650000000000000000006044820152606401620001de565b8361ffff168361ffff1611156200069e5760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d697400000000006044820152606401620001de565b61ffff82161580620006c75750601961ffff831610801590620006c7575061271061ffff831611155b620007155760405162461bcd60e51b815260206004820152601c60248201527f616e74692d64756d70206c696d6974206f7574206f662072616e6765000000006044820152606401620001de565b5f805461ffff938416600160f01b026001600160f01b03968516600160e01b0261ffff60e01b1995909616600160d01b029490941663ffffffff60d01b199091161793909317939093161790556001805491151560ff1990921691909117905550565b5f805f805f805f8780602001905181019062000795919062001978565b96509650965096509650965096505f8361ffff161180620007b957505f8261ffff16115b1562000817576001600160a01b038516620008175760405162461bcd60e51b815260206004820152601760248201527f696e76616c69642074617820706179206163636f756e740000000000000000006044820152606401620001de565b61ffff8116156200087a576001600160a01b0384166200087a5760405162461bcd60e51b815260206004820152601860248201527f696e76616c6964207472656173757279206163636f756e7400000000000000006044820152606401620001de565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b03871601620008ca57620008b56001600160a01b0386165f62000e24565b620008ca6001600160a01b0385165f62000e24565b600880546001600160a01b0319166001600160a01b0389169081179091556040805163c45a015560e01b815290515f929163c45a01559160048083019260209291908290030181865afa15801562000924573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200094a919062001a13565b6001600160a01b031663c9c653963073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b03168a6001600160a01b0316146200098e5789620009f1565b8a6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620009cb573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620009f1919062001a13565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000a3c573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000a62919062001a13565b600b80546001600160a01b03199081166001600160a01b03938416908117909255600c805482169a84169a909a17909955600980548a1698831698909817909755600a80549098169516949094179095556007805464ffffffff00191661010061ffff9485160264ffff0000001916176301000000928416929092029190911761ffff60281b1916650100000000009290951691909102939093179092555f908152600e60205260409020805460ff19166001179055505050565b80515f80546020840151604085015163ffffffff60a01b19909216600160a01b61ffff9586160261ffff60b01b191617600160b01b918516919091021761ffff60c01b1916600160c01b9184169190910217905560608201516007549082166101009091049091161062000b9657806060015162000ba3565b600754610100900461ffff165b6007805461ffff60381b191667010000000000000061ffff9384160217908190556080830151821663010000009091049091161062000be757806080015162000bf6565b6007546301000000900461ffff165b6007805461ffff60481b1916690100000000000000000061ffff93841602179081905560a08301518216650100000000009091049091161062000c3e578060a0015162000c4f565b60075465010000000000900461ffff165b6007805460c084015163ffffffff60581b199091166b01000000000000000000000061ffff9485160261ffff60681b1916176d01000000000000000000000000009184169190910217905560e0820151601580546101008501516101208601516101408701516101609097015167ffffffffffff00001990931662010000959096169490940263ffffffff60201b19169490941764010000000063ffffffff9586160217600160401b600160801b031916680100000000000000009385169390930263ffffffff60601b1916929092176c01000000000000000000000000948416949094029390931763ffffffff60801b1916600160801b9290911691909102179055565b6001600160a01b03821662000dac5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401620001de565b8060115f82825462000dbf919062001a31565b90915550506001600160a01b0382165f818152600f60209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a362000e205f838362000f44565b5050565b8047101562000e765760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401620001de565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811462000ec1576040519150601f19603f3d011682016040523d82523d5f602084013e62000ec6565b606091505b505090508062000f3f5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401620001de565b505050565b60155460ff1662000f625762000f3f8383836001600160e01b038416565b62000f6e8383620010ea565b5f62000f7960115490565b6001600160a01b0385165f9081526005602052604090205490915060ff168062000fba57506001600160a01b0383165f9081526005602052604090205460ff165b8062000fee57505f546127109062000fde90600160d01b900461ffff16836200186c565b62000fea91906200188c565b8211155b620010305760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b6044820152606401620001de565b6001600160a01b0383165f9081526006602052604090205460ff16806200109657505f54612710906200106f90600160e01b900461ffff16836200186c565b6200107b91906200188c565b6001600160a01b0384165f908152600f602052604090205411155b620010e45760405162461bcd60e51b815260206004820152601560248201527f726563656976657220686f6c64206c696d6974656400000000000000000000006044820152606401620001de565b50505050565b6080515f80546001600160a01b03169050836001600160a01b0316826001600160a01b031614806200112d5750826001600160a01b0316826001600160a01b0316145b806200114a5750836001600160a01b0316816001600160a01b0316145b80620011675750826001600160a01b0316816001600160a01b0316145b15620011735750505050565b6001544290610100900460ff16156200122557601554601754620011ae916c01000000000000000000000000900463ffffffff169062001a31565b811015620011f15760405162461bcd60e51b815260206004820152600f60248201526e1d1c98591a5b99c819195b185e5959608a1b6044820152606401620001de565b6001805461ff00191690556040517fab510bbf1d44ab52001b0b9606b77e378e6fd6fa3989ddbeb5a08fe60b3913b3905f90a15b60015462010000900460ff1615620012cf576015546017546200125691600160801b900463ffffffff169062001a31565b8110156200129a5760405162461bcd60e51b815260206004820152601060248201526f1d1c98591a5b99c8191a5cd8589b195960821b6044820152606401620001de565b6001805462ff0000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a15b5050505050565b6001600160a01b0381168114620012eb575f80fd5b50565b634e487b7160e01b5f52604160045260245ffd5b60405161018081016001600160401b0381118282101715620013285762001328620012ee565b60405290565b60405160e081016001600160401b0381118282101715620013285762001328620012ee565b5f5b838110156200136f57818101518382015260200162001355565b50505f910152565b5f82601f83011262001387575f80fd5b81516001600160401b0380821115620013a457620013a4620012ee565b604051601f8301601f19908116603f01168101908282118183101715620013cf57620013cf620012ee565b81604052838152866020858801011115620013e8575f80fd5b620013fb84602083016020890162001353565b9695505050505050565b805161ffff8116811462001417575f80fd5b919050565b805163ffffffff8116811462001417575f80fd5b5f610180828403121562001442575f80fd5b6200144c62001302565b9050620014598262001405565b8152620014696020830162001405565b60208201526200147c6040830162001405565b60408201526200148f6060830162001405565b6060820152620014a26080830162001405565b6080820152620014b560a0830162001405565b60a0820152620014c860c0830162001405565b60c0820152620014db60e0830162001405565b60e0820152610100620014f08184016200141c565b90820152610120620015048382016200141c565b90820152610140620015188382016200141c565b908201526101606200152c8382016200141c565b9082015292915050565b5f805f806101e085870312156200154b575f80fd5b84516200155881620012d6565b60208601519094506200156b81620012d6565b60408601519093506001600160401b038082111562001588575f80fd5b9086019060e082890312156200159c575f80fd5b620015a66200132e565b825182811115620015b5575f80fd5b620015c38a82860162001377565b825250602083015182811115620015d8575f80fd5b620015e68a82860162001377565b602083015250604083015182811115620015fe575f80fd5b6200160c8a82860162001377565b60408301525060608301518281111562001624575f80fd5b620016328a82860162001377565b6060830152506080830151828111156200164a575f80fd5b620016588a82860162001377565b60808301525060a08301518281111562001670575f80fd5b6200167e8a82860162001377565b60a08301525060c08301518281111562001696575f80fd5b620016a48a82860162001377565b60c083015250809450505050620016bf866060870162001430565b905092959194509250565b600181811c90821680620016df57607f821691505b602082108103620016fe57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000f3f57805f5260205f20601f840160051c810160208510156200172b5750805b601f840160051c820191505b81811015620012cf575f815560010162001737565b81516001600160401b03811115620017685762001768620012ee565b6200178081620017798454620016ca565b8462001704565b602080601f831160018114620017b6575f84156200179e5750858301515b5f19600386901b1c1916600185901b17855562001810565b5f85815260208120601f198616915b82811015620017e657888601518255948401946001909101908401620017c5565b50858210156200180457878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f805f606084860312156200182b575f80fd5b8351925060208401516200183f81620012d6565b91506200184f6040850162001405565b90509250925092565b634e487b7160e01b5f52601160045260245ffd5b808202811582820484141762001886576200188662001858565b92915050565b5f82620018a757634e487b7160e01b5f52601260045260245ffd5b500490565b602081525f8251806020840152620018cc81604085016020870162001353565b601f01601f19169190910160400192915050565b5f60208284031215620018f1575f80fd5b620018fc8262001405565b9392505050565b8181038181111562001886576200188662001858565b5f805f80608085870312156200192d575f80fd5b620019388562001405565b9350620019486020860162001405565b9250620019586040860162001405565b9150606085015180151581146200196d575f80fd5b939692955090935050565b5f805f805f805f60e0888a0312156200198f575f80fd5b87516200199c81620012d6565b6020890151909750620019af81620012d6565b6040890151909650620019c281620012d6565b6060890151909550620019d581620012d6565b9350620019e56080890162001405565b9250620019f560a0890162001405565b915062001a0560c0890162001405565b905092959891949750929550565b5f6020828403121562001a24575f80fd5b8151620018fc81620012d6565b8082018082111562001886576200188662001858565b60805160a05161375862001a7e5f395f81816105ce0152818161188b015261239a01525f81816109690152612f1901526137585ff3fe6080604052600436106102dc575f3560e01c806379cc679011610189578063be3b115d116100d8578063d94160e011610092578063def98aba1161006d578063def98aba14610a28578063f0ee1ea514610a47578063f2fde38b14610a89578063f519b7d314610aa8575f80fd5b8063d94160e01461098b578063db200bfa146109ea578063dd62ed3e14610a09575f80fd5b8063be3b115d146108b1578063bf56b371146108cf578063c524e82e146108e3578063c5f7f16814610902578063cb4ca63114610921578063d05ee72714610958575f80fd5b806395d89b4111610143578063a9059cbb1161011e578063a9059cbb14610821578063b29a814014610840578063b4b37bd21461085f578063b6a6790b14610892575f80fd5b806395d89b41146107da578063a103657e146107ee578063a457c2d714610802575f80fd5b806379cc6790146106dd57806380c74653146106fc5780638a8c523c146107545780638da5cb5b146107685780639191a9c71461078457806394488683146107bb575f80fd5b8063395093511161024557806366bd1270116101ff578063715018a6116101da578063715018a61461063c5780637196d17814610650578063728f8eea1461068f578063785e8a12146106c1575f80fd5b806366bd12701461058b5780636cb20f47146105bd57806370a0823114610608575f80fd5b806339509351146104c95780633b0deddd146104e85780633e4042281461050757806342966c681461052b57806349deaf4f1461054a5780635b30facb14610577575f80fd5b806323b872dd1161029657806323b872dd1461040957806328f4dbb6146104285780632aa9c3761461043c5780632af65da11461045b5780632fdd75bf1461047a578063313ce567146104ae575f80fd5b8063068b976f146102e757806306fdde0314610308578063095ea7b3146103325780630d426b001461036157806318160ddd146103b55780631a861d26146103d3575f80fd5b366102e357005b5f80fd5b3480156102f2575f80fd5b506103066103013660046132af565b610ac7565b005b348015610313575f80fd5b5061031c610cb0565b6040516103299190613311565b60405180910390f35b34801561033d575f80fd5b5061035161034c366004613357565b610d40565b6040519015158152602001610329565b34801561036c575f80fd5b505f5461ffff600160a01b8204811691600160b01b8104821691600160c01b909104165b6040805161ffff94851681529284166020840152921691810191909152606001610329565b3480156103c0575f80fd5b506011545b604051908152602001610329565b3480156103de575f80fd5b505f546040805161ffff600160e01b840481168252600160d01b909304909216602083015201610329565b348015610414575f80fd5b50610351610423366004613381565b610d59565b348015610433575f80fd5b506016546103c5565b348015610447575f80fd5b506103066104563660046133cc565b610d7c565b348015610466575f80fd5b506103066104753660046133e7565b610d9e565b348015610485575f80fd5b5060075461ffff600160381b8204811691600160481b8104821691600160581b90910416610390565b3480156104b9575f80fd5b5060405160128152602001610329565b3480156104d4575f80fd5b506103516104e3366004613357565b610e4e565b3480156104f3575f80fd5b50610306610502366004613466565b610e6f565b348015610512575f80fd5b506103515f546019600160f01b90910461ffff16101590565b348015610536575f80fd5b5061030661054536600461347f565b610f88565b348015610555575f80fd5b5060155462010000900461ffff165b60405161ffff9091168152602001610329565b348015610582575f80fd5b5061031c610f95565b348015610596575f80fd5b50600954600a54604080516001600160a01b03938416815292909116602083015201610329565b3480156105c8575f80fd5b506105f07f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610329565b348015610613575f80fd5b506103c5610622366004613496565b6001600160a01b03165f908152600f602052604090205490565b348015610647575f80fd5b50610306611021565b34801561065b575f80fd5b50600854600c54600b54604080516001600160a01b0394851681529284166020840152921691810191909152606001610329565b34801561069a575f80fd5b5060075461ffff610100820481169163010000008104821691600160281b90910416610390565b3480156106cc575f80fd5b50601554610100900460ff16610351565b3480156106e8575f80fd5b506103066106f7366004613357565b6110d2565b348015610707575f80fd5b506015546040805163ffffffff600160601b840481168252600160801b8404811660208301526401000000008404811692820192909252600160401b909204166060820152608001610329565b34801561075f575f80fd5b506103066110eb565b348015610773575f80fd5b505f546001600160a01b03166105f0565b34801561078f575f80fd5b5061035161079e366004613496565b6001600160a01b03165f908152600e602052604090205460ff1690565b3480156107c6575f80fd5b506103066107d53660046133e7565b611173565b3480156107e5575f80fd5b5061031c61121c565b3480156107f9575f80fd5b5061039061122b565b34801561080d575f80fd5b5061035161081c366004613357565b611303565b34801561082c575f80fd5b5061035161083b366004613357565b61137d565b34801561084b575f80fd5b5061030661085a366004613357565b61138a565b34801561086a575f80fd5b506103c57f586cf6bd4433e2c416b92ca280dc0311b186f8a3e79805d257378fadc9ae0dbd81565b34801561089d575f80fd5b506103066108ac3660046133e7565b6113f2565b3480156108bc575f80fd5b505f54600160f01b900461ffff16610564565b3480156108da575f80fd5b506017546103c5565b3480156108ee575f80fd5b50600754600160681b900461ffff16610564565b34801561090d575f80fd5b5061030661091c3660046133e7565b61150e565b34801561092c575f80fd5b5061035161093b366004613496565b6001600160a01b03165f908152600d602052604090205460ff1690565b348015610963575f80fd5b506105f07f000000000000000000000000000000000000000000000000000000000000000081565b348015610996575f80fd5b506109d36109a5366004613496565b6001600160a01b03165f9081526006602090815260408083205460059092529091205460ff91821692911690565b604080519215158352901515602083015201610329565b3480156109f5575f80fd5b50610306610a0436600461347f565b6115b7565b348015610a14575f80fd5b506103c5610a233660046134b1565b611607565b348015610a33575f80fd5b50610306610a423660046134e8565b611631565b348015610a52575f80fd5b506001546040805160ff80841615158252610100840481161515602083015262010000909304909216151590820152606001610329565b348015610a94575f80fd5b50610306610aa3366004613496565b611813565b348015610ab3575f80fd5b50610306610ac2366004613519565b611889565b610acf6119dd565b60075461ffff610100820481169163010000008104821691600160281b9091048116908616831015610b525760075461ffff600160381b90910481169087161115610b525760405162461bcd60e51b815260206004820152600e60248201526d0d2dcecc2d8d2c840c4eaf2a8c2f60931b60448201526064015b60405180910390fd5b8161ffff168561ffff161115610bb55760075461ffff600160481b90910481169086161115610bb55760405162461bcd60e51b815260206004820152600f60248201526e0d2dcecc2d8d2c840e6cad8d8a8c2f608b1b6044820152606401610b49565b8061ffff168461ffff161115610c1c5760075461ffff600160581b90910481169085161115610c1c5760405162461bcd60e51b81526020600482015260136024820152720d2dcecc2d8d2c840e8e4cac2e6eae4f2a8c2f606b1b6044820152606401610b49565b6007805464ffffffff00191661010061ffff89811691820264ffff00000019169290921763010000008984169081029190911766ffff00000000001916600160281b93891693840217909355604080519182526020820193909352918201527fb6d7a9e1cf68fd02461e40d3c33cf2c4551d4a5f101ccbb620cd29488ff528609060600160405180910390a1505050505050565b606060128054610cbf90613545565b80601f0160208091040260200160405190810160405280929190818152602001828054610ceb90613545565b8015610d365780601f10610d0d57610100808354040283529160200191610d36565b820191905f5260205f20905b815481529060010190602001808311610d1957829003601f168201915b5050505050905090565b5f33610d4d818585611a38565b60019150505b92915050565b5f33610d66858285611b5b565b610d71858585611bd3565b506001949350505050565b610d846119dd565b601580549115156101000261ff0019909216919091179055565b610da66119dd565b815f5b81811015610e47575f858583818110610dc457610dc461357d565b9050602002016020810190610dd99190613496565b6001600160a01b0381165f81815260066020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507f0a3739d32ce712ba6f19229ad53a9267424ae1f5fb81ea18eb916ca6fd9f7188910160405180910390a150610da9565b5050505050565b5f33610d4d818585610e608383611607565b610e6a91906135a5565b611a38565b610e776119dd565b5f8054600160f01b900461ffff169003610ecb5760405162461bcd60e51b8152602060048201526015602482015274185b9d1a4b591d5b5c081b9bdd08195b98589b1959605a1b6044820152606401610b49565b601961ffff821610801590610ee6575061271061ffff821611155b610f325760405162461bcd60e51b815260206004820152601c60248201527f616e74692d64756d70206c696d6974206f7574206f662072616e6765000000006044820152606401610b49565b5f80546001600160f01b0316600160f01b61ffff8416908102919091179091556040519081527fcfd8a76f34f3fbb9f999325c2887d5ec8933c519a3bfdb71c2aa6c6d9aef5ebb9060200160405180910390a150565b610f923382611fd1565b50565b60148054610fa290613545565b80601f0160208091040260200160405190810160405280929190818152602001828054610fce90613545565b80156110195780601f10610ff057610100808354040283529160200191611019565b820191905f5260205f20905b815481529060010190602001808311610ffc57829003601f168201915b505050505081565b6110296119dd565b60155460075461ffff62010000909204821691610100909104168110801590611062575060075461ffff80831663010000009092041611155b801561107e575060075461ffff808316600160281b9092041611155b6110ca5760405162461bcd60e51b815260206004820152601b60248201527f6c6f776572207461786573206265666f72652072656e6f756e636500000000006044820152606401610b49565b610f92612109565b6110dd823383611b5b565b6110e78282611fd1565b5050565b6110f36119dd565b60015462010000900460ff1661113d5760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e48195b98589b1959608a1b6044820152606401610b49565b6001805462ff0000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1565b61117b6119dd565b815f5b81811015610e47575f8585838181106111995761119961357d565b90506020020160208101906111ae9190613496565b6001600160a01b0381165f818152600d6020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fea5814d1cf99e5f6aee98da410ea4adcdbe5ded97855de3b25144b0898d0be4a910160405180910390a15061117e565b606060138054610cbf90613545565b6007545f9081908190819061ffff600160381b82048116610100909204161061125f57600754610100900461ffff1661126e565b600754600160381b900461ffff165b6007549091505f9061ffff600160481b82048116630100000090920416106112a3576007546301000000900461ffff166112b2565b600754600160481b900461ffff165b6007549091505f9061ffff600160581b82048116600160281b90920416106112e757600754600160281b900461ffff166112f6565b600754600160581b900461ffff165b9296919550919350915050565b5f33816113108286611607565b9050838110156113705760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b49565b610d718286868403611a38565b5f33610d4d818585611bd3565b6113926119dd565b306001600160a01b038316036113de5760405162461bcd60e51b81526020600482015260116024820152702737ba1030b63637bbb2b2103a37b5b2b760791b6044820152606401610b49565b6110e76001600160a01b038316338361211a565b6113fa6119dd565b815f5b81811015610e47575f8585838181106114185761141861357d565b905060200201602081019061142d9190613496565b600b549091506001600160a01b039081169082160361148e5760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f7420616363657373206261736520616d6d2070616972000000006044820152606401610b49565b6001600160a01b0381165f818152600e60209081526040808320805489151560ff199182168117909255600684529382902080549094168117909355805193845290830191909152600193909301927f4d5593e244fd41eece27031c1331466a9e253a06df08dda6c1c2b3c387140da0910160405180910390a1506113fd565b6115166119dd565b815f5b81811015610e47575f8585838181106115345761153461357d565b90506020020160208101906115499190613496565b6001600160a01b0381165f81815260056020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fa301a811c39dbd3a2ffd9aea1076306ae8b2a227d5304311a68939f08e3d084a910160405180910390a150611519565b6115bf6119dd565b5f81116116025760405162461bcd60e51b81526020600482015260116024820152701a5b9d985b1a59081d1a1c995cda1bdb19607a1b6044820152606401610b49565b601655565b6001600160a01b039182165f90815260106020908152604080832093909416825291909152205490565b6116396119dd565b8061ffff168261ffff1610156116915760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d697400000000006044820152606401610b49565b5f5461ffff808416600160e01b90920416118015906116bf57505f5461ffff808316600160d01b9092041611155b6116fb5760405162461bcd60e51b815260206004820152600d60248201526c696e637265617365206f6e6c7960981b6044820152606401610b49565b61271061ffff821611156117495760405162461bcd60e51b81526020600482015260156024820152747478206c696d6974206f7574206f662072616e676560581b6044820152606401610b49565b61271061ffff8316111561179f5760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e67650000000000000000006044820152606401610b49565b5f805463ffffffff60d01b1916600160e01b61ffff85811691820261ffff60d01b191692909217600160d01b928516928302179092556040805192835260208301919091527f244331ce56bb49b130a963a6c0f1869845bb5ded2cd3dea0329926354d27699a910160405180910390a15050565b61181b6119dd565b6001600160a01b0381166118805760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b49565b610f928161216c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031633146119015760405162461bcd60e51b815260206004820152601960248201527f63616c6c6572206973206e6f742074686520666163746f7279000000000000006044820152606401610b49565b60155460ff16156119475760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b6044820152606401610b49565b6015805460ff1916600117905581158061195f575080155b6119ab5760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f742064656c6179656420616e642064697361626c6564000000006044820152606401610b49565b6001805462ffff0019166101009315159390930262ff0000191692909217620100009115159190910217905542601755565b5f546001600160a01b03163314611a365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b49565b565b6001600160a01b038316611a9a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b49565b6001600160a01b038216611afb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b49565b6001600160a01b038381165f8181526010602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f611b668484611607565b90505f198114611bcd5781811015611bc05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b49565b611bcd8484848403611a38565b50505050565b60155460ff16611bed57611be88383836121bb565b505050565b601554305f908152600f60209081526040808320546001600160a01b0388168452600d9092528220544293640100000000900463ffffffff16929060ff1680611c4d57506001600160a01b0386165f908152600d602052604090205460ff165b8015611c5a57505f600254115b8015611c825750601554600254611c7e91600160401b900463ffffffff16906135a5565b8410155b6001600160a01b038089165f908152600e602052604080822054928a16825290205460185492935060ff918216929082169116158015611cc0575082155b8015611cca575081155b8015611cdd5750601554610100900460ff165b8015611ceb57506016548410155b15611d51576007545f9060ff168015611d0557505f600254115b8015611d1d575085600254611d1a91906135a5565b87115b90508015611d3357611d2e8561236a565b611d3e565b611d3e60165461236a565b8015611d4f576007805460ff191690555b505b865f03611d6e57611d6389895f6121bb565b505050505050505050565b5f83611fba578215611ea85760075460ff168015611da357506002541580611da3575085600254611d9f91906135a5565b8711155b15611e1d57600754612710908190611dc690600160681b900461ffff16826135b8565b60075461ffff91821691611dea91600160281b8104821691610100909104166135b8565b611df89061ffff168c6135da565b611e0291906135da565b611e0c91906135f1565b611e1691906135f1565b9050611e5b565b60075461271090611e409061ffff600160281b82048116916101009004166135b8565b611e4e9061ffff168a6135da565b611e5891906135f1565b90505b5f611e646125e0565b61ffff1690508015611ea2575f612710611e7e838c6135da565b611e8891906135f1565b9050611e948c82611fd1565b611e9e818b613610565b9950505b50611f9c565b8115611f9c57611eb7886126b3565b60075460ff168015611ee057506002541580611ee0575085600254611edc91906135a5565b8711155b15611f5c57600754612710908190611f0390600160681b900461ffff16826135b8565b60075461ffff91821691611f2991600160281b81048216916301000000909104166135b8565b611f379061ffff168c6135da565b611f4191906135da565b611f4b91906135f1565b611f5591906135f1565b9050611f9c565b60075461271090611f819061ffff600160281b820481169163010000009004166135b8565b611f8f9061ffff168a6135da565b611f9991906135f1565b90505b8015611fad57611fad8a30836121bb565b611fb78189613610565b97505b611fc58a8a8a6121bb565b50505050505050505050565b6001600160a01b0382166120315760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b49565b6001600160a01b0382165f908152600f6020526040902054818110156120a45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610b49565b6001600160a01b0383165f818152600f602090815260408083208686039055601180548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611be8835f8461272e565b6121116119dd565b611a365f61216c565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611be89084906128a1565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03831661221f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b49565b6001600160a01b0382166122815760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b49565b6001600160a01b0383165f908152600f6020526040902054818110156122f85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b49565b6001600160a01b038085165f818152600f602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906123579086815260200190565b60405180910390a3611bcd84848461272e565b6018805460ff19166001179055600c546040805163616a7ca160e11b815290516001600160a01b03928316925f927f00000000000000000000000000000000000000000000000000000000000000009091169163c2d4f942916004808201926020929091908290030181865afa1580156123e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240a9190613623565b600954600a549192506001600160a01b0390811691811690841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed1901612507575f61244986612974565b905080156125015760075460ff1615612489575f61246682612b34565b905061247b6001600160a01b03861682612b75565b6124858183613610565b9150505b600754600160281b900461ffff16158015906124ad57506001600160a01b03821615155b156124df575f6124bc82612c8a565b90506124d16001600160a01b03841682612b75565b6124db8183613610565b9150505b6001600160a01b03831615612501576125016001600160a01b03841682612b75565b506125cf565b5f6125128587612cf6565b905080156125cd5760075460ff1615612553575f61252f82612b34565b90506125456001600160a01b038716868361211a565b61254f8183613610565b9150505b600754600160281b900461ffff161580159061257757506001600160a01b03821615155b156125aa575f61258682612c8a565b905061259c6001600160a01b038716848361211a565b6125a68183613610565b9150505b6001600160a01b038316156125cd576125cd6001600160a01b038616848361211a565b505b50506018805460ff19169055505050565b6001545f9060ff166125ff576002545f036125fa57426002555b505f90565b6004544290810361261c5750505f54600160c01b900461ffff1690565b60035481036126375750505f54600160b01b900461ffff1690565b60025481036126525750505f54600160a01b900461ffff1690565b60045415612661575f91505090565b6003541561267f575050426004555f54600160c01b900461ffff1690565b6002541561269d575050426003555f54600160b01b900461ffff1690565b5050426002555f54600160a01b900461ffff1690565b5f6126bd60115490565b5f54909150600160f01b900461ffff1660198110806126f65750826127106126e961ffff8416856135da565b6126f391906135f1565b10155b611be85760405162461bcd60e51b81526020600482015260096024820152680616e74692d64756d760bc1b6044820152606401610b49565b60155460ff1615611be8576127438383612f17565b5f61274d60115490565b6001600160a01b0385165f9081526005602052604090205490915060ff168061278d57506001600160a01b0383165f9081526005602052604090205460ff165b806127bc57505f54612710906127ae90600160d01b900461ffff16836135da565b6127b891906135f1565b8211155b6127fc5760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b6044820152606401610b49565b6001600160a01b0383165f9081526006602052604090205460ff168061285d57505f546127109061283890600160e01b900461ffff16836135da565b61284291906135f1565b6001600160a01b0384165f908152600f602052604090205411155b611bcd5760405162461bcd60e51b81526020600482015260156024820152741c9958d95a5d995c881a1bdb19081b1a5b5a5d1959605a1b6044820152606401610b49565b5f6128f5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661310f9092919063ffffffff16565b905080515f1480612915575080806020019051810190612915919061363e565b611be85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610b49565b6008546040805160028082526060820183525f936001600160a01b0316928492919060208301908036833701905050905030815f815181106129b8576129b861357d565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a389190613623565b81600181518110612a4b57612a4b61357d565b60200260200101906001600160a01b031690816001600160a01b031681525050612a76308386611a38565b476001600160a01b03831663791ac947865f8530612a964261012c6135a5565b6040518663ffffffff1660e01b8152600401612ab6959493929190613659565b5f604051808303815f87803b158015612acd575f80fd5b505af1925050508015612ade575060015b612b17573d808015612b0b576040519150601f19603f3d011682016040523d82523d5f602084013e612b10565b606091505b5050612b2a565b612b218147613610565b95945050505050565b505f949350505050565b6007545f90600160681b900461ffff16612b50816127106135b8565b61ffff168161ffff1684612b6491906135da565b612b6e91906135f1565b9392505050565b80471015612bc55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610b49565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114612c0e576040519150601f19603f3d011682016040523d82523d5f602084013e612c13565b606091505b5050905080611be85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610b49565b6007545f9061ffff610100820481169163010000008104821691600160281b90910416612cb88160026136ca565b612cc283856135b8565b612ccc91906135b8565b61ffff168161ffff16866002612ce291906135da565b612cec91906135da565b612b2191906135f1565b6040805160028082526060820183525f928392919060208301908036833701905050905030815f81518110612d2d57612d2d61357d565b60200260200101906001600160a01b031690816001600160a01b0316815250508381600181518110612d6157612d6161357d565b6001600160a01b03928316602091820292909201015260085416612d86308286611a38565b6040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015612dca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dee91906136f0565b90506001600160a01b038216635c11d795865f8630612e0f4261012c6135a5565b6040518663ffffffff1660e01b8152600401612e2f959493929190613659565b5f604051808303815f87803b158015612e46575f80fd5b505af1925050508015612e57575060015b612e90573d808015612e84576040519150601f19603f3d011682016040523d82523d5f602084013e612e89565b606091505b5050612f0c565b6040516370a0823160e01b815230600482015281906001600160a01b038816906370a0823190602401602060405180830381865afa158015612ed4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ef891906136f0565b612f029190613610565b9350505050610d53565b505f95945050505050565b7f00000000000000000000000000000000000000000000000000000000000000005f612f4a5f546001600160a01b031690565b9050836001600160a01b0316826001600160a01b03161480612f7d5750826001600160a01b0316826001600160a01b0316145b80612f995750836001600160a01b0316816001600160a01b0316145b80612fb55750826001600160a01b0316816001600160a01b0316145b15612fc05750505050565b6001544290610100900460ff161561306457601554601754612fef91600160601b900463ffffffff16906135a5565b8110156130305760405162461bcd60e51b815260206004820152600f60248201526e1d1c98591a5b99c819195b185e5959608a1b6044820152606401610b49565b6001805461ff00191690556040517fab510bbf1d44ab52001b0b9606b77e378e6fd6fa3989ddbeb5a08fe60b3913b3905f90a15b60015462010000900460ff1615610e475760155460175461309291600160801b900463ffffffff16906135a5565b8110156130d45760405162461bcd60e51b815260206004820152601060248201526f1d1c98591a5b99c8191a5cd8589b195960821b6044820152606401610b49565b6001805462ff0000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a15050505050565b606061311d84845f85613125565b949350505050565b6060824710156131865760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610b49565b5f80866001600160a01b031685876040516131a19190613707565b5f6040518083038185875af1925050503d805f81146131db576040519150601f19603f3d011682016040523d82523d5f602084013e6131e0565b606091505b50915091506131f1878383876131fc565b979650505050505050565b6060831561326a5782515f03613263576001600160a01b0385163b6132635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b49565b508161311d565b61311d838381511561327f5781518083602001fd5b8060405162461bcd60e51b8152600401610b499190613311565b803561ffff811681146132aa575f80fd5b919050565b5f805f606084860312156132c1575f80fd5b6132ca84613299565b92506132d860208501613299565b91506132e660408501613299565b90509250925092565b5f5b838110156133095781810151838201526020016132f1565b50505f910152565b602081525f825180602084015261332f8160408501602087016132ef565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610f92575f80fd5b5f8060408385031215613368575f80fd5b823561337381613343565b946020939093013593505050565b5f805f60608486031215613393575f80fd5b833561339e81613343565b925060208401356133ae81613343565b929592945050506040919091013590565b8015158114610f92575f80fd5b5f602082840312156133dc575f80fd5b8135612b6e816133bf565b5f805f604084860312156133f9575f80fd5b833567ffffffffffffffff80821115613410575f80fd5b818601915086601f830112613423575f80fd5b813581811115613431575f80fd5b8760208260051b8501011115613445575f80fd5b6020928301955093505084013561345b816133bf565b809150509250925092565b5f60208284031215613476575f80fd5b612b6e82613299565b5f6020828403121561348f575f80fd5b5035919050565b5f602082840312156134a6575f80fd5b8135612b6e81613343565b5f80604083850312156134c2575f80fd5b82356134cd81613343565b915060208301356134dd81613343565b809150509250929050565b5f80604083850312156134f9575f80fd5b61350283613299565b915061351060208401613299565b90509250929050565b5f806040838503121561352a575f80fd5b8235613535816133bf565b915060208301356134dd816133bf565b600181811c9082168061355957607f821691505b60208210810361357757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820180821115610d5357610d53613591565b61ffff8181168382160190808211156135d3576135d3613591565b5092915050565b8082028115828204841417610d5357610d53613591565b5f8261360b57634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610d5357610d53613591565b5f60208284031215613633575f80fd5b8151612b6e81613343565b5f6020828403121561364e575f80fd5b8151612b6e816133bf565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156136a95784516001600160a01b031683529383019391830191600101613684565b50506001600160a01b03969096166060850152505050608001529392505050565b61ffff8181168382160280821691908281146136e8576136e8613591565b505092915050565b5f60208284031215613700575f80fd5b5051919050565b5f82516137188184602087016132ef565b919091019291505056fea264697066735822122001fb2ce7bebb245019445af95aadc4d75abdf92c2a2348a7ae45f5f45c3ab50564736f6c6343000818003300000000000000000000000098ce74340b37762a890cb6b519dae4c0d1e7e471000000000000000000000000fd53cc812c844a92e3a3172a90f9f798752049e200000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000535000000000000000000000000000000000000000000000000000000000000029a00000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000000000000002a300000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000093a8000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000003e0000000000000000000000000000000000000000000000000000000000000002430383930383339362d636562302d313165652d623063612d38613535653837383035313500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b446565706d696e642041690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006474f4f474c450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000052b7d2dcc80cd2e4000000000000000000000000000000fd53cc812c844a92e3a3172a90f9f798752049e200000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000fd53cc812c844a92e3a3172a90f9f798752049e200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac0000000000000000000000000000000000000000000000000000000000000dac000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000278d00

Deployed Bytecode

0x6080604052600436106102dc575f3560e01c806379cc679011610189578063be3b115d116100d8578063d94160e011610092578063def98aba1161006d578063def98aba14610a28578063f0ee1ea514610a47578063f2fde38b14610a89578063f519b7d314610aa8575f80fd5b8063d94160e01461098b578063db200bfa146109ea578063dd62ed3e14610a09575f80fd5b8063be3b115d146108b1578063bf56b371146108cf578063c524e82e146108e3578063c5f7f16814610902578063cb4ca63114610921578063d05ee72714610958575f80fd5b806395d89b4111610143578063a9059cbb1161011e578063a9059cbb14610821578063b29a814014610840578063b4b37bd21461085f578063b6a6790b14610892575f80fd5b806395d89b41146107da578063a103657e146107ee578063a457c2d714610802575f80fd5b806379cc6790146106dd57806380c74653146106fc5780638a8c523c146107545780638da5cb5b146107685780639191a9c71461078457806394488683146107bb575f80fd5b8063395093511161024557806366bd1270116101ff578063715018a6116101da578063715018a61461063c5780637196d17814610650578063728f8eea1461068f578063785e8a12146106c1575f80fd5b806366bd12701461058b5780636cb20f47146105bd57806370a0823114610608575f80fd5b806339509351146104c95780633b0deddd146104e85780633e4042281461050757806342966c681461052b57806349deaf4f1461054a5780635b30facb14610577575f80fd5b806323b872dd1161029657806323b872dd1461040957806328f4dbb6146104285780632aa9c3761461043c5780632af65da11461045b5780632fdd75bf1461047a578063313ce567146104ae575f80fd5b8063068b976f146102e757806306fdde0314610308578063095ea7b3146103325780630d426b001461036157806318160ddd146103b55780631a861d26146103d3575f80fd5b366102e357005b5f80fd5b3480156102f2575f80fd5b506103066103013660046132af565b610ac7565b005b348015610313575f80fd5b5061031c610cb0565b6040516103299190613311565b60405180910390f35b34801561033d575f80fd5b5061035161034c366004613357565b610d40565b6040519015158152602001610329565b34801561036c575f80fd5b505f5461ffff600160a01b8204811691600160b01b8104821691600160c01b909104165b6040805161ffff94851681529284166020840152921691810191909152606001610329565b3480156103c0575f80fd5b506011545b604051908152602001610329565b3480156103de575f80fd5b505f546040805161ffff600160e01b840481168252600160d01b909304909216602083015201610329565b348015610414575f80fd5b50610351610423366004613381565b610d59565b348015610433575f80fd5b506016546103c5565b348015610447575f80fd5b506103066104563660046133cc565b610d7c565b348015610466575f80fd5b506103066104753660046133e7565b610d9e565b348015610485575f80fd5b5060075461ffff600160381b8204811691600160481b8104821691600160581b90910416610390565b3480156104b9575f80fd5b5060405160128152602001610329565b3480156104d4575f80fd5b506103516104e3366004613357565b610e4e565b3480156104f3575f80fd5b50610306610502366004613466565b610e6f565b348015610512575f80fd5b506103515f546019600160f01b90910461ffff16101590565b348015610536575f80fd5b5061030661054536600461347f565b610f88565b348015610555575f80fd5b5060155462010000900461ffff165b60405161ffff9091168152602001610329565b348015610582575f80fd5b5061031c610f95565b348015610596575f80fd5b50600954600a54604080516001600160a01b03938416815292909116602083015201610329565b3480156105c8575f80fd5b506105f07f00000000000000000000000098ce74340b37762a890cb6b519dae4c0d1e7e47181565b6040516001600160a01b039091168152602001610329565b348015610613575f80fd5b506103c5610622366004613496565b6001600160a01b03165f908152600f602052604090205490565b348015610647575f80fd5b50610306611021565b34801561065b575f80fd5b50600854600c54600b54604080516001600160a01b0394851681529284166020840152921691810191909152606001610329565b34801561069a575f80fd5b5060075461ffff610100820481169163010000008104821691600160281b90910416610390565b3480156106cc575f80fd5b50601554610100900460ff16610351565b3480156106e8575f80fd5b506103066106f7366004613357565b6110d2565b348015610707575f80fd5b506015546040805163ffffffff600160601b840481168252600160801b8404811660208301526401000000008404811692820192909252600160401b909204166060820152608001610329565b34801561075f575f80fd5b506103066110eb565b348015610773575f80fd5b505f546001600160a01b03166105f0565b34801561078f575f80fd5b5061035161079e366004613496565b6001600160a01b03165f908152600e602052604090205460ff1690565b3480156107c6575f80fd5b506103066107d53660046133e7565b611173565b3480156107e5575f80fd5b5061031c61121c565b3480156107f9575f80fd5b5061039061122b565b34801561080d575f80fd5b5061035161081c366004613357565b611303565b34801561082c575f80fd5b5061035161083b366004613357565b61137d565b34801561084b575f80fd5b5061030661085a366004613357565b61138a565b34801561086a575f80fd5b506103c57f586cf6bd4433e2c416b92ca280dc0311b186f8a3e79805d257378fadc9ae0dbd81565b34801561089d575f80fd5b506103066108ac3660046133e7565b6113f2565b3480156108bc575f80fd5b505f54600160f01b900461ffff16610564565b3480156108da575f80fd5b506017546103c5565b3480156108ee575f80fd5b50600754600160681b900461ffff16610564565b34801561090d575f80fd5b5061030661091c3660046133e7565b61150e565b34801561092c575f80fd5b5061035161093b366004613496565b6001600160a01b03165f908152600d602052604090205460ff1690565b348015610963575f80fd5b506105f07f000000000000000000000000fd53cc812c844a92e3a3172a90f9f798752049e281565b348015610996575f80fd5b506109d36109a5366004613496565b6001600160a01b03165f9081526006602090815260408083205460059092529091205460ff91821692911690565b604080519215158352901515602083015201610329565b3480156109f5575f80fd5b50610306610a0436600461347f565b6115b7565b348015610a14575f80fd5b506103c5610a233660046134b1565b611607565b348015610a33575f80fd5b50610306610a423660046134e8565b611631565b348015610a52575f80fd5b506001546040805160ff80841615158252610100840481161515602083015262010000909304909216151590820152606001610329565b348015610a94575f80fd5b50610306610aa3366004613496565b611813565b348015610ab3575f80fd5b50610306610ac2366004613519565b611889565b610acf6119dd565b60075461ffff610100820481169163010000008104821691600160281b9091048116908616831015610b525760075461ffff600160381b90910481169087161115610b525760405162461bcd60e51b815260206004820152600e60248201526d0d2dcecc2d8d2c840c4eaf2a8c2f60931b60448201526064015b60405180910390fd5b8161ffff168561ffff161115610bb55760075461ffff600160481b90910481169086161115610bb55760405162461bcd60e51b815260206004820152600f60248201526e0d2dcecc2d8d2c840e6cad8d8a8c2f608b1b6044820152606401610b49565b8061ffff168461ffff161115610c1c5760075461ffff600160581b90910481169085161115610c1c5760405162461bcd60e51b81526020600482015260136024820152720d2dcecc2d8d2c840e8e4cac2e6eae4f2a8c2f606b1b6044820152606401610b49565b6007805464ffffffff00191661010061ffff89811691820264ffff00000019169290921763010000008984169081029190911766ffff00000000001916600160281b93891693840217909355604080519182526020820193909352918201527fb6d7a9e1cf68fd02461e40d3c33cf2c4551d4a5f101ccbb620cd29488ff528609060600160405180910390a1505050505050565b606060128054610cbf90613545565b80601f0160208091040260200160405190810160405280929190818152602001828054610ceb90613545565b8015610d365780601f10610d0d57610100808354040283529160200191610d36565b820191905f5260205f20905b815481529060010190602001808311610d1957829003601f168201915b5050505050905090565b5f33610d4d818585611a38565b60019150505b92915050565b5f33610d66858285611b5b565b610d71858585611bd3565b506001949350505050565b610d846119dd565b601580549115156101000261ff0019909216919091179055565b610da66119dd565b815f5b81811015610e47575f858583818110610dc457610dc461357d565b9050602002016020810190610dd99190613496565b6001600160a01b0381165f81815260066020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507f0a3739d32ce712ba6f19229ad53a9267424ae1f5fb81ea18eb916ca6fd9f7188910160405180910390a150610da9565b5050505050565b5f33610d4d818585610e608383611607565b610e6a91906135a5565b611a38565b610e776119dd565b5f8054600160f01b900461ffff169003610ecb5760405162461bcd60e51b8152602060048201526015602482015274185b9d1a4b591d5b5c081b9bdd08195b98589b1959605a1b6044820152606401610b49565b601961ffff821610801590610ee6575061271061ffff821611155b610f325760405162461bcd60e51b815260206004820152601c60248201527f616e74692d64756d70206c696d6974206f7574206f662072616e6765000000006044820152606401610b49565b5f80546001600160f01b0316600160f01b61ffff8416908102919091179091556040519081527fcfd8a76f34f3fbb9f999325c2887d5ec8933c519a3bfdb71c2aa6c6d9aef5ebb9060200160405180910390a150565b610f923382611fd1565b50565b60148054610fa290613545565b80601f0160208091040260200160405190810160405280929190818152602001828054610fce90613545565b80156110195780601f10610ff057610100808354040283529160200191611019565b820191905f5260205f20905b815481529060010190602001808311610ffc57829003601f168201915b505050505081565b6110296119dd565b60155460075461ffff62010000909204821691610100909104168110801590611062575060075461ffff80831663010000009092041611155b801561107e575060075461ffff808316600160281b9092041611155b6110ca5760405162461bcd60e51b815260206004820152601b60248201527f6c6f776572207461786573206265666f72652072656e6f756e636500000000006044820152606401610b49565b610f92612109565b6110dd823383611b5b565b6110e78282611fd1565b5050565b6110f36119dd565b60015462010000900460ff1661113d5760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e48195b98589b1959608a1b6044820152606401610b49565b6001805462ff0000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1565b61117b6119dd565b815f5b81811015610e47575f8585838181106111995761119961357d565b90506020020160208101906111ae9190613496565b6001600160a01b0381165f818152600d6020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fea5814d1cf99e5f6aee98da410ea4adcdbe5ded97855de3b25144b0898d0be4a910160405180910390a15061117e565b606060138054610cbf90613545565b6007545f9081908190819061ffff600160381b82048116610100909204161061125f57600754610100900461ffff1661126e565b600754600160381b900461ffff165b6007549091505f9061ffff600160481b82048116630100000090920416106112a3576007546301000000900461ffff166112b2565b600754600160481b900461ffff165b6007549091505f9061ffff600160581b82048116600160281b90920416106112e757600754600160281b900461ffff166112f6565b600754600160581b900461ffff165b9296919550919350915050565b5f33816113108286611607565b9050838110156113705760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610b49565b610d718286868403611a38565b5f33610d4d818585611bd3565b6113926119dd565b306001600160a01b038316036113de5760405162461bcd60e51b81526020600482015260116024820152702737ba1030b63637bbb2b2103a37b5b2b760791b6044820152606401610b49565b6110e76001600160a01b038316338361211a565b6113fa6119dd565b815f5b81811015610e47575f8585838181106114185761141861357d565b905060200201602081019061142d9190613496565b600b549091506001600160a01b039081169082160361148e5760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f7420616363657373206261736520616d6d2070616972000000006044820152606401610b49565b6001600160a01b0381165f818152600e60209081526040808320805489151560ff199182168117909255600684529382902080549094168117909355805193845290830191909152600193909301927f4d5593e244fd41eece27031c1331466a9e253a06df08dda6c1c2b3c387140da0910160405180910390a1506113fd565b6115166119dd565b815f5b81811015610e47575f8585838181106115345761153461357d565b90506020020160208101906115499190613496565b6001600160a01b0381165f81815260056020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fa301a811c39dbd3a2ffd9aea1076306ae8b2a227d5304311a68939f08e3d084a910160405180910390a150611519565b6115bf6119dd565b5f81116116025760405162461bcd60e51b81526020600482015260116024820152701a5b9d985b1a59081d1a1c995cda1bdb19607a1b6044820152606401610b49565b601655565b6001600160a01b039182165f90815260106020908152604080832093909416825291909152205490565b6116396119dd565b8061ffff168261ffff1610156116915760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d697400000000006044820152606401610b49565b5f5461ffff808416600160e01b90920416118015906116bf57505f5461ffff808316600160d01b9092041611155b6116fb5760405162461bcd60e51b815260206004820152600d60248201526c696e637265617365206f6e6c7960981b6044820152606401610b49565b61271061ffff821611156117495760405162461bcd60e51b81526020600482015260156024820152747478206c696d6974206f7574206f662072616e676560581b6044820152606401610b49565b61271061ffff8316111561179f5760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e67650000000000000000006044820152606401610b49565b5f805463ffffffff60d01b1916600160e01b61ffff85811691820261ffff60d01b191692909217600160d01b928516928302179092556040805192835260208301919091527f244331ce56bb49b130a963a6c0f1869845bb5ded2cd3dea0329926354d27699a910160405180910390a15050565b61181b6119dd565b6001600160a01b0381166118805760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b49565b610f928161216c565b7f00000000000000000000000098ce74340b37762a890cb6b519dae4c0d1e7e4716001600160a01b031633146119015760405162461bcd60e51b815260206004820152601960248201527f63616c6c6572206973206e6f742074686520666163746f7279000000000000006044820152606401610b49565b60155460ff16156119475760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b6044820152606401610b49565b6015805460ff1916600117905581158061195f575080155b6119ab5760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f742064656c6179656420616e642064697361626c6564000000006044820152606401610b49565b6001805462ffff0019166101009315159390930262ff0000191692909217620100009115159190910217905542601755565b5f546001600160a01b03163314611a365760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b49565b565b6001600160a01b038316611a9a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610b49565b6001600160a01b038216611afb5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610b49565b6001600160a01b038381165f8181526010602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f611b668484611607565b90505f198114611bcd5781811015611bc05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610b49565b611bcd8484848403611a38565b50505050565b60155460ff16611bed57611be88383836121bb565b505050565b601554305f908152600f60209081526040808320546001600160a01b0388168452600d9092528220544293640100000000900463ffffffff16929060ff1680611c4d57506001600160a01b0386165f908152600d602052604090205460ff165b8015611c5a57505f600254115b8015611c825750601554600254611c7e91600160401b900463ffffffff16906135a5565b8410155b6001600160a01b038089165f908152600e602052604080822054928a16825290205460185492935060ff918216929082169116158015611cc0575082155b8015611cca575081155b8015611cdd5750601554610100900460ff165b8015611ceb57506016548410155b15611d51576007545f9060ff168015611d0557505f600254115b8015611d1d575085600254611d1a91906135a5565b87115b90508015611d3357611d2e8561236a565b611d3e565b611d3e60165461236a565b8015611d4f576007805460ff191690555b505b865f03611d6e57611d6389895f6121bb565b505050505050505050565b5f83611fba578215611ea85760075460ff168015611da357506002541580611da3575085600254611d9f91906135a5565b8711155b15611e1d57600754612710908190611dc690600160681b900461ffff16826135b8565b60075461ffff91821691611dea91600160281b8104821691610100909104166135b8565b611df89061ffff168c6135da565b611e0291906135da565b611e0c91906135f1565b611e1691906135f1565b9050611e5b565b60075461271090611e409061ffff600160281b82048116916101009004166135b8565b611e4e9061ffff168a6135da565b611e5891906135f1565b90505b5f611e646125e0565b61ffff1690508015611ea2575f612710611e7e838c6135da565b611e8891906135f1565b9050611e948c82611fd1565b611e9e818b613610565b9950505b50611f9c565b8115611f9c57611eb7886126b3565b60075460ff168015611ee057506002541580611ee0575085600254611edc91906135a5565b8711155b15611f5c57600754612710908190611f0390600160681b900461ffff16826135b8565b60075461ffff91821691611f2991600160281b81048216916301000000909104166135b8565b611f379061ffff168c6135da565b611f4191906135da565b611f4b91906135f1565b611f5591906135f1565b9050611f9c565b60075461271090611f819061ffff600160281b820481169163010000009004166135b8565b611f8f9061ffff168a6135da565b611f9991906135f1565b90505b8015611fad57611fad8a30836121bb565b611fb78189613610565b97505b611fc58a8a8a6121bb565b50505050505050505050565b6001600160a01b0382166120315760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610b49565b6001600160a01b0382165f908152600f6020526040902054818110156120a45760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610b49565b6001600160a01b0383165f818152600f602090815260408083208686039055601180548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3611be8835f8461272e565b6121116119dd565b611a365f61216c565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052611be89084906128a1565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03831661221f5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610b49565b6001600160a01b0382166122815760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610b49565b6001600160a01b0383165f908152600f6020526040902054818110156122f85760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610b49565b6001600160a01b038085165f818152600f602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906123579086815260200190565b60405180910390a3611bcd84848461272e565b6018805460ff19166001179055600c546040805163616a7ca160e11b815290516001600160a01b03928316925f927f00000000000000000000000098ce74340b37762a890cb6b519dae4c0d1e7e4719091169163c2d4f942916004808201926020929091908290030181865afa1580156123e6573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061240a9190613623565b600954600a549192506001600160a01b0390811691811690841673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed1901612507575f61244986612974565b905080156125015760075460ff1615612489575f61246682612b34565b905061247b6001600160a01b03861682612b75565b6124858183613610565b9150505b600754600160281b900461ffff16158015906124ad57506001600160a01b03821615155b156124df575f6124bc82612c8a565b90506124d16001600160a01b03841682612b75565b6124db8183613610565b9150505b6001600160a01b03831615612501576125016001600160a01b03841682612b75565b506125cf565b5f6125128587612cf6565b905080156125cd5760075460ff1615612553575f61252f82612b34565b90506125456001600160a01b038716868361211a565b61254f8183613610565b9150505b600754600160281b900461ffff161580159061257757506001600160a01b03821615155b156125aa575f61258682612c8a565b905061259c6001600160a01b038716848361211a565b6125a68183613610565b9150505b6001600160a01b038316156125cd576125cd6001600160a01b038616848361211a565b505b50506018805460ff19169055505050565b6001545f9060ff166125ff576002545f036125fa57426002555b505f90565b6004544290810361261c5750505f54600160c01b900461ffff1690565b60035481036126375750505f54600160b01b900461ffff1690565b60025481036126525750505f54600160a01b900461ffff1690565b60045415612661575f91505090565b6003541561267f575050426004555f54600160c01b900461ffff1690565b6002541561269d575050426003555f54600160b01b900461ffff1690565b5050426002555f54600160a01b900461ffff1690565b5f6126bd60115490565b5f54909150600160f01b900461ffff1660198110806126f65750826127106126e961ffff8416856135da565b6126f391906135f1565b10155b611be85760405162461bcd60e51b81526020600482015260096024820152680616e74692d64756d760bc1b6044820152606401610b49565b60155460ff1615611be8576127438383612f17565b5f61274d60115490565b6001600160a01b0385165f9081526005602052604090205490915060ff168061278d57506001600160a01b0383165f9081526005602052604090205460ff165b806127bc57505f54612710906127ae90600160d01b900461ffff16836135da565b6127b891906135f1565b8211155b6127fc5760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b6044820152606401610b49565b6001600160a01b0383165f9081526006602052604090205460ff168061285d57505f546127109061283890600160e01b900461ffff16836135da565b61284291906135f1565b6001600160a01b0384165f908152600f602052604090205411155b611bcd5760405162461bcd60e51b81526020600482015260156024820152741c9958d95a5d995c881a1bdb19081b1a5b5a5d1959605a1b6044820152606401610b49565b5f6128f5826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661310f9092919063ffffffff16565b905080515f1480612915575080806020019051810190612915919061363e565b611be85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610b49565b6008546040805160028082526060820183525f936001600160a01b0316928492919060208301908036833701905050905030815f815181106129b8576129b861357d565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015612a14573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a389190613623565b81600181518110612a4b57612a4b61357d565b60200260200101906001600160a01b031690816001600160a01b031681525050612a76308386611a38565b476001600160a01b03831663791ac947865f8530612a964261012c6135a5565b6040518663ffffffff1660e01b8152600401612ab6959493929190613659565b5f604051808303815f87803b158015612acd575f80fd5b505af1925050508015612ade575060015b612b17573d808015612b0b576040519150601f19603f3d011682016040523d82523d5f602084013e612b10565b606091505b5050612b2a565b612b218147613610565b95945050505050565b505f949350505050565b6007545f90600160681b900461ffff16612b50816127106135b8565b61ffff168161ffff1684612b6491906135da565b612b6e91906135f1565b9392505050565b80471015612bc55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610b49565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114612c0e576040519150601f19603f3d011682016040523d82523d5f602084013e612c13565b606091505b5050905080611be85760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610b49565b6007545f9061ffff610100820481169163010000008104821691600160281b90910416612cb88160026136ca565b612cc283856135b8565b612ccc91906135b8565b61ffff168161ffff16866002612ce291906135da565b612cec91906135da565b612b2191906135f1565b6040805160028082526060820183525f928392919060208301908036833701905050905030815f81518110612d2d57612d2d61357d565b60200260200101906001600160a01b031690816001600160a01b0316815250508381600181518110612d6157612d6161357d565b6001600160a01b03928316602091820292909201015260085416612d86308286611a38565b6040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015612dca573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612dee91906136f0565b90506001600160a01b038216635c11d795865f8630612e0f4261012c6135a5565b6040518663ffffffff1660e01b8152600401612e2f959493929190613659565b5f604051808303815f87803b158015612e46575f80fd5b505af1925050508015612e57575060015b612e90573d808015612e84576040519150601f19603f3d011682016040523d82523d5f602084013e612e89565b606091505b5050612f0c565b6040516370a0823160e01b815230600482015281906001600160a01b038816906370a0823190602401602060405180830381865afa158015612ed4573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612ef891906136f0565b612f029190613610565b9350505050610d53565b505f95945050505050565b7f000000000000000000000000fd53cc812c844a92e3a3172a90f9f798752049e25f612f4a5f546001600160a01b031690565b9050836001600160a01b0316826001600160a01b03161480612f7d5750826001600160a01b0316826001600160a01b0316145b80612f995750836001600160a01b0316816001600160a01b0316145b80612fb55750826001600160a01b0316816001600160a01b0316145b15612fc05750505050565b6001544290610100900460ff161561306457601554601754612fef91600160601b900463ffffffff16906135a5565b8110156130305760405162461bcd60e51b815260206004820152600f60248201526e1d1c98591a5b99c819195b185e5959608a1b6044820152606401610b49565b6001805461ff00191690556040517fab510bbf1d44ab52001b0b9606b77e378e6fd6fa3989ddbeb5a08fe60b3913b3905f90a15b60015462010000900460ff1615610e475760155460175461309291600160801b900463ffffffff16906135a5565b8110156130d45760405162461bcd60e51b815260206004820152601060248201526f1d1c98591a5b99c8191a5cd8589b195960821b6044820152606401610b49565b6001805462ff0000191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a15050505050565b606061311d84845f85613125565b949350505050565b6060824710156131865760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610b49565b5f80866001600160a01b031685876040516131a19190613707565b5f6040518083038185875af1925050503d805f81146131db576040519150601f19603f3d011682016040523d82523d5f602084013e6131e0565b606091505b50915091506131f1878383876131fc565b979650505050505050565b6060831561326a5782515f03613263576001600160a01b0385163b6132635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610b49565b508161311d565b61311d838381511561327f5781518083602001fd5b8060405162461bcd60e51b8152600401610b499190613311565b803561ffff811681146132aa575f80fd5b919050565b5f805f606084860312156132c1575f80fd5b6132ca84613299565b92506132d860208501613299565b91506132e660408501613299565b90509250925092565b5f5b838110156133095781810151838201526020016132f1565b50505f910152565b602081525f825180602084015261332f8160408501602087016132ef565b601f01601f19169190910160400192915050565b6001600160a01b0381168114610f92575f80fd5b5f8060408385031215613368575f80fd5b823561337381613343565b946020939093013593505050565b5f805f60608486031215613393575f80fd5b833561339e81613343565b925060208401356133ae81613343565b929592945050506040919091013590565b8015158114610f92575f80fd5b5f602082840312156133dc575f80fd5b8135612b6e816133bf565b5f805f604084860312156133f9575f80fd5b833567ffffffffffffffff80821115613410575f80fd5b818601915086601f830112613423575f80fd5b813581811115613431575f80fd5b8760208260051b8501011115613445575f80fd5b6020928301955093505084013561345b816133bf565b809150509250925092565b5f60208284031215613476575f80fd5b612b6e82613299565b5f6020828403121561348f575f80fd5b5035919050565b5f602082840312156134a6575f80fd5b8135612b6e81613343565b5f80604083850312156134c2575f80fd5b82356134cd81613343565b915060208301356134dd81613343565b809150509250929050565b5f80604083850312156134f9575f80fd5b61350283613299565b915061351060208401613299565b90509250929050565b5f806040838503121561352a575f80fd5b8235613535816133bf565b915060208301356134dd816133bf565b600181811c9082168061355957607f821691505b60208210810361357757634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b80820180821115610d5357610d53613591565b61ffff8181168382160190808211156135d3576135d3613591565b5092915050565b8082028115828204841417610d5357610d53613591565b5f8261360b57634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115610d5357610d53613591565b5f60208284031215613633575f80fd5b8151612b6e81613343565b5f6020828403121561364e575f80fd5b8151612b6e816133bf565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b818110156136a95784516001600160a01b031683529383019391830191600101613684565b50506001600160a01b03969096166060850152505050608001529392505050565b61ffff8181168382160280821691908281146136e8576136e8613591565b505092915050565b5f60208284031215613700575f80fd5b5051919050565b5f82516137188184602087016132ef565b919091019291505056fea264697066735822122001fb2ce7bebb245019445af95aadc4d75abdf92c2a2348a7ae45f5f45c3ab50564736f6c63430008180033

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

00000000000000000000000098ce74340b37762a890cb6b519dae4c0d1e7e471000000000000000000000000fd53cc812c844a92e3a3172a90f9f798752049e200000000000000000000000000000000000000000000000000000000000001e000000000000000000000000000000000000000000000000000000000000007d00000000000000000000000000000000000000000000000000000000000000535000000000000000000000000000000000000000000000000000000000000029a00000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000005dc00000000000000000000000000000000000000000000000000000000000001f400000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000001f40000000000000000000000000000000000000000000000000000000000278d00000000000000000000000000000000000000000000000000000000000002a300000000000000000000000000000000000000000000000000000000000000003c0000000000000000000000000000000000000000000000000000000000093a8000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000024000000000000000000000000000000000000000000000000000000000000002e000000000000000000000000000000000000000000000000000000000000003e0000000000000000000000000000000000000000000000000000000000000002430383930383339362d636562302d313165652d623063612d38613535653837383035313500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b446565706d696e642041690000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006474f4f474c450000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000052b7d2dcc80cd2e4000000000000000000000000000000fd53cc812c844a92e3a3172a90f9f798752049e200000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee000000000000000000000000fd53cc812c844a92e3a3172a90f9f798752049e200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000dac0000000000000000000000000000000000000000000000000000000000000dac000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000de0b6b3a76400000000000000000000000000000000000000000000000000000000000000278d00

-----Decoded View---------------
Arg [0] : factory_ (address): 0x98Ce74340b37762A890cb6B519dae4c0D1e7E471
Arg [1] : deployer_ (address): 0xfd53CC812c844a92e3A3172a90F9F798752049e2
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---------------
52 Constructor Arguments found :
Arg [0] : 00000000000000000000000098ce74340b37762a890cb6b519dae4c0d1e7e471
Arg [1] : 000000000000000000000000fd53cc812c844a92e3a3172a90f9f798752049e2
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [3] : 00000000000000000000000000000000000000000000000000000000000007d0
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000535
Arg [5] : 000000000000000000000000000000000000000000000000000000000000029a
Arg [6] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [7] : 00000000000000000000000000000000000000000000000000000000000005dc
Arg [8] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [9] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [10] : 00000000000000000000000000000000000000000000000000000000000001f4
Arg [11] : 0000000000000000000000000000000000000000000000000000000000278d00
Arg [12] : 000000000000000000000000000000000000000000000000000000000002a300
Arg [13] : 000000000000000000000000000000000000000000000000000000000000003c
Arg [14] : 0000000000000000000000000000000000000000000000000000000000093a80
Arg [15] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [18] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [20] : 00000000000000000000000000000000000000000000000000000000000002e0
Arg [21] : 00000000000000000000000000000000000000000000000000000000000003e0
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [23] : 30383930383339362d636562302d313165652d623063612d3861353565383738
Arg [24] : 3035313500000000000000000000000000000000000000000000000000000000
Arg [25] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [26] : 446565706d696e64204169000000000000000000000000000000000000000000
Arg [27] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [28] : 474f4f474c450000000000000000000000000000000000000000000000000000
Arg [29] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [30] : 00000000000000000000000000000000000000000052b7d2dcc80cd2e4000000
Arg [31] : 000000000000000000000000fd53cc812c844a92e3a3172a90f9f798752049e2
Arg [32] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [33] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [34] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [35] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [36] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [37] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [38] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [39] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [40] : 000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Arg [41] : 000000000000000000000000fd53cc812c844a92e3a3172a90f9f798752049e2
Arg [42] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [43] : 0000000000000000000000000000000000000000000000000000000000000dac
Arg [44] : 0000000000000000000000000000000000000000000000000000000000000dac
Arg [45] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [46] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [47] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [48] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [49] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [50] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000
Arg [51] : 0000000000000000000000000000000000000000000000000000000000278d00


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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