Overview
Max Total Supply
100,000,000,000 BAHAMAS
Holders
1,069 ( -0.094%)
Market
Price
$0.00 @ 0.000000 ETH (+1.31%)
Onchain Market Cap
$16,718.60
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
1,851,820.760870806856652522 BAHAMASValue
$0.31 ( ~9.00693220934004E-05 Eth) [0.0019%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ERC20ByBankPad
Compiler Version
v0.8.22+commit.4fc1097e
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2023-12-29 */ // :-=================-: // .-===-:. .:====-. // .===: .-===. // :++- -+=. // .=+- .:=+*#%%@@@@@%%#*+=:. -+= // .+=. -+#@@@@@@@@@@@@@@@@@@@@@@@#+-. .++. // .+= :+%@@@@@@%#+=--::....::-=+#%@@@@@@%+: .++. // ++ =%@%##*+=: :=+*##%@%+. .+= // :*. :. ..:--==++++******= ++++==--:.. .: :*. // =+ .:-=+##%@@@@@@@@@@@@@@@@@@@# @@@@@@@@@@@@@%##+=-:. +- // +- .-=*#%@@@@@@@@@@@@@@%##***++++#@@@# =++**##%%@@@@@@@@@@@@@%#*=-. == // *: =@@@@@@@%#*+=-:.. ..::-- +@@@%---:::.. .:-=+*#%@@@@@@@+ =+ // +- %@@@+. .:-=+*#%@@@@@@@@@@. +@@@@@@@@@@@@@@@@%#*+=-:. .+@@@@ += // -+ =@@@% +@@@@@@@@@@@@@@@%%%# =#######%%%@@@@@@@@@@@@@@@* %@@@+ #: // # %@@@+ .@@@@%*+=-:.. .:--=+%@@@@. =@@@% .% // =- :@@@@: -@@@@. :::::: .@@@@= .@@@@- += // % +@@@% *@@@# :*@@@@@@@: #@@@# #@@@* .% // :* -* %@@@+ %@@@+ =%@@@@@@@@@: =@@@% =@@@% += #. // += *@- :@@@@- .@@@@= :*@@@@@@@@@@@@: -@@@@: :@@@@: :@# +- // *: #@@: =@@@@: :@@@@- %@@@@@@@@@@@@@@: :@@@@- .@@@@= .@@% -+ // *: %@@% +@@@@. =@@@@- .%@@@@*#@@@@@@@: :@@@@= %@@@+ %@@@ -+ // +- #@@@= *@@@%. =@@@@- *@*. *@@@@@@@: +%@@= %@@@# =@@@% == // =+ =@@@# #@@@%. =@@@@= *@@@@@@@: :- .- %@@@# #@@@* *: // .# .@@@@. #@*- .#@@@@+ *@@@@@@@: =@@@#=..%@@@# .@@@@: % // #: *@@@* :+%@@@@@%+. +@@@@@@@: +@@@@@@@@@@@# *@@@# -* // :* .@@@@= +@@@@@#=. -+. +@@@@@@@: .#@@@%=*@@@@@* -@@@@. #. // +- :@@@@- =@@@@= =@@@@- +@@@@@@@: :%@@@# :+%+ :@@@@- =+ // #. -@@@@= -@@@@* =@@@@* +@@@@@@@:+@@@@+ +@*- -@@@@= :# // .# -@@@@* .%@@@%: :%@@@%:*@@@@@@@@@@@%: .%@@@%. +@@@@- .# // :#. :%@@@@= *@@@@+ +@@@@@@@@@@@@@@@* =@@@@* -%@@@%: .#. // .#: =@@@@%= -@@@@%. :%@@@@@@@@@@@%: .#@@@@- -%@@@@+ :* // *= .*@@@@@+. *@@@@+ =@@@@@@@@@= =@@@@#. .+@@@@@*. ++ // -*. .+@@@@@#. -%@@@%- +@@@@@*. :%@@@@- *@@@@@+. :*: // ++. -*@@@@= +@@@@#: .*@#: .#@@@@+ =@@@@*- .+= // .++. :+#@%: .#@@@@*. .*@@@@#. :#@%+: .+= // =+: :=- :%@@@@*:+@@@@%- -=: -+= // -+=: -%@@@@@@@%- :++: // -++- -%@@@%= .-++: // .-===:. -*- .-===-. // .-======-::::.::::-======-. // ..::::::.. // // Telegram: https://t.me/BahamasETH20 // Twitter: https://twitter.com/BahamasETH20 // // @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ // @@ @@ // @@ 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.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/interfaces/IBase.sol // Original license: SPDX_License_Identifier: MIT pragma solidity ^0.8.4; interface IBase { /// - antiBotParam /// 1. holdLimit /// 2. txLimit /// 3. 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; string telegram; bytes distribParam; bytes antiBotParam; bytes taxParam; bytes lpParam; } } // File contracts/interfaces/IERC20FactoryByBankPad.sol // Original license: SPDX_License_Identifier: MIT pragma solidity ^0.8.4; interface IERC20FactoryByBankPad { /** * @dev function {maxTeamAlloc} * * Return max team distribution percentage * No limit for the whitelisted deployers at the time of the token creation * Whitelist is not applied after token is deployed * * @param isLaunched token is launched or in being launched * @param deployer token deployer */ function maxTeamAlloc( bool isLaunched, address deployer ) external view returns (uint16); function servicePayAccount() external view returns (address payable); /** * @dev function {tradingTimes} * * Return trading delay time and trading disable time * Only used when delay flag and trading disable flag is set * * @return uint256 trading delay time * @return uint256 trading disable time */ function tradingTimes() external view returns (uint256, uint256); /** * @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); /** * @dev function {antiBotLimits} * * Return anti bot limit configuration values * * @param isLaunched token is launched or in being launched * @param deployer token deployer * * @return uint16 minimum value can be set for the {maxHoldLimit} * @return uint16 maximum value can be set for the {maxHoldLimit} * @return uint16 minimum value can be set for the {maxTxLimit} * @return uint16 maximum value can be set for the {maxTxLimit} */ function antiBotLimits( bool isLaunched, address deployer ) external view returns (uint16, uint16, uint16, uint16); /** * @dev function {taxLimits} * * Return tax limit values * * @param isLaunched token is launched or in being launched * @param deployer token deployer * * @return uint16 max buy tax limit * @return uint16 max sell tax limit * @return uint16 max treasury tax limit */ function taxLimits( bool isLaunched, address deployer ) external view returns (uint16, uint16, uint16); function bankPadTax() external view returns (uint16); /** * @dev function {conditionForRenounce} * * Return the condition for renouncing ownership of the token * * @return uint16 max tax values for renounce * @return uint16 max hold limit values for renounce * @return uint16 max tx limit values for renounce */ function conditionForRenounce() external view returns (uint16, uint16, uint16); /** * @dev function {taxApplyTimes} * * Return tax apply related times * * @return uint256 BankPad tax apply period * @return uint256 Tax whitelist delay period */ function taxApplyTimes() external view returns (uint256, uint256); } // File contracts/token/ERC20ByBankPadBase.sol // Original license: SPDX_License_Identifier: MIT pragma solidity ^0.8.0; abstract contract ERC20ByBankPadBase is Ownable, IBase { address internal constant ETH_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE; uint16 internal constant DENOMINATOR = 10000; IERC20FactoryByBankPad internal _bankpadFactory; bool internal _isLaunched; bool internal _isTaxConvertEnabled = true; /// @dev Threshold amount of accumlated tax until swap to pair token uint256 internal _thresholdAmount = 10000 ether; /// @dev Token launched time uint256 internal _launchedAt; function bankpadFactory() external view returns (address) { return address(_bankpadFactory); } /// @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; } } // 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 */ contract AntiBotHelper is ERC20ByBankPadBase { uint16 internal _maxTxLimit; uint16 internal _maxHoldLimit; 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 ExcludedFromHoldLimit(address account, bool flag); event ExcludedFromTxLimit(address account, bool flag); event MaxLimitUpdated(uint16 maxHoldLimit, uint16 maxTxLimit); event TradingEnabled(); constructor() { _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; } /// @dev Initialize anti bot configuration /// abi encoded param /// 1. txLimit /// 2. holdLimit /// 3. antiSniperOn function _initializeAntiBot(bytes memory param) internal { (uint16 holdLimit, uint16 txLimit, bool antiSniperOn) = abi.decode( param, (uint16, uint16, bool) ); ( uint16 minMaxHoldLimit, uint16 maxMaxHoldLimit, uint16 minMaxTxLimit, uint16 maxMaxTxLimit ) = _bankpadFactory.antiBotLimits(false, owner()); require( txLimit <= maxMaxTxLimit && txLimit >= minMaxTxLimit, "tx limit out of range" ); require( holdLimit <= maxMaxHoldLimit && holdLimit >= minMaxHoldLimit, "hold limit out of range" ); require(txLimit <= holdLimit, "tx limit exceeds hold limit"); _maxTxLimit = txLimit; _maxHoldLimit = holdLimit; _isAntiSniperOn = antiSniperOn; } /// @dev Return anti-sniper auto-burn percent function _antiSniperAutoBurn() internal returns (uint16) { if (!_isAntiSniperOn) return 0; uint256 blockTime = block.timestamp; ( uint16 firstPercent, uint16 secondPercent, uint16 thirdPercent ) = _bankpadFactory.snipeAutoBurnPercents(); if (blockTime == _thirdBuyAt) return thirdPercent; if (blockTime == _secondBuyAt) return secondPercent; if (blockTime == _firstBuyAt) return firstPercent; if (_thirdBuyAt > 0) return 0; if (_secondBuyAt > 0) { _thirdBuyAt = block.timestamp; return thirdPercent; } if (_firstBuyAt > 0) { _secondBuyAt = block.timestamp; return secondPercent; } _firstBuyAt = block.timestamp; return firstPercent; } /// @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 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"); (, uint16 maxMaxHoldLimit, , uint16 maxMaxTxLimit) = _bankpadFactory .antiBotLimits(true, owner()); require( _maxHoldLimit <= holdLimit && _maxTxLimit <= txLimit, "increase only" ); require(txLimit <= maxMaxTxLimit, "tx limit out of range"); require(holdLimit <= maxMaxHoldLimit, "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); } } // 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 */ contract TaxHelper is ERC20ByBankPadBase { using Address for address payable; bool internal _bankpadFeeApplied = true; uint16 internal _buyTax; uint16 internal _sellTax; uint16 internal _treasuryTax; 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); constructor() { _isExcludedFromTax[_msgSender()] = true; _isExcludedFromTax[address(0)] = true; _isExcludedFromTax[address(0xdead)] = true; _isExcludedFromTax[address(this)] = true; } /// @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) ); ( uint16 maxBuyTax, uint16 maxSellTax, uint16 maxTreasuryTax ) = _bankpadFactory.taxLimits(false, owner()); uint16 bankPadTax = _bankpadFactory.bankPadTax(); // check if the applied tax is too much so it exceeds the transfer amount require( (uint256(buyTax + treasuryTax) * (DENOMINATOR + bankPadTax)) / DENOMINATOR <= DENOMINATOR && (uint256(sellTax + treasuryTax) * (DENOMINATOR + bankPadTax)) / DENOMINATOR <= DENOMINATOR, "tax out of range" ); require( buyTax <= maxBuyTax && sellTax <= maxSellTax && treasuryTax <= maxTreasuryTax, "too much tax" ); require( taxPayAccount != address(0) && treasuryAccount != address(0), "invalid pay 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 Max buy tax 35%, max sell tax 35%, max treasury tax 5% /// @dev Tax values should be decreased only /// @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 { require( _buyTax >= buyTax && _sellTax >= sellTax && _treasuryTax >= treasuryTax, "decrease only" ); _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); } } // File contracts/util/Revert.sol pragma solidity ^0.8.0; // Original license: SPDX_License_Identifier: MIT /** * * @title Revert.sol. For efficient reverts * * */ abstract contract Revert { /** * @dev For more efficient reverts. */ function _revert(bytes4 errorSelector) internal pure { assembly { mstore(0x00, errorSelector) revert(0x00, 0x04) } } } // File contracts/token/ERC20ByBankPad.sol pragma solidity ^0.8.0; // Original license: SPDX_License_Identifier: MIT contract ERC20ByBankPad is AntiBotHelper, ERC20, TaxHelper { bytes32 public constant bankUUIDHash = 0x18f1ad60135339f62fca41326263448735698562b003d0cde457ebd2fb60bea1; using Address for address payable; using SafeERC20 for IERC20; bool private _inSwap; string public bankUUID; /** * @dev Throws if called by any account other than the owner. */ modifier onlyFactory() { require( address(_bankpadFactory) == _msgSender(), "caller is not the factory" ); _; } modifier lockTheSwap() { _inSwap = true; _; _inSwap = false; } constructor( address factory_, address deployer_, TokenLaunchConf memory param_ ) ERC20(param_.name, param_.symbol) { bankUUID = param_.uuid; IERC20FactoryByBankPad factory = IERC20FactoryByBankPad(factory_); _bankpadFactory = factory; _transferOwnership(deployer_); _initializeAntiBot(param_.antiBotParam); _initializeTax(param_.taxParam); _isExcludedFromHoldLimit[_baseAmmPair] = true; (uint256 supply, address teamAccount, uint16 teamAlloc) = abi.decode( param_.distribParam, (uint256, address, uint16) ); // Distribute to team if (teamAlloc > 0) { require(teamAccount != address(0), "invalid team account"); require( teamAlloc <= factory.maxTeamAlloc(false, deployer_), "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 End initialization of the token contract /// @dev Token is launched from this moment, and users can start trading /// @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; } /** * @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) return; 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 { uint256 blockTime = block.timestamp; _checkTradingDelayedOrDisabled(); ( uint256 bankPadTaxApplyPeriod, uint256 taxWhitelistApplyDelay ) = _bankpadFactory.taxApplyTimes(); uint16 bankPadTax = _bankpadFactory.bankPadTax(); // 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 && _isLaunched) { 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) { // 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() private { uint256 blockTime = block.timestamp; (uint256 tradingDelayTime, uint256 tradingDisableTime) = _bankpadFactory .tradingTimes(); if (_isTradingDelayed && blockTime < _launchedAt + tradingDelayTime) revert("trading delayed"); 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 = _bankpadFactory.servicePayAccount(); 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) { uint256 treasuryFeeAmount = _calcTreasuryFee(swappedAmount); payable(_treasuryAccount).sendValue(treasuryFeeAmount); swappedAmount -= treasuryFeeAmount; } // send buy/sell tax payable(_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) { uint256 treasuryFeeAmount = _calcTreasuryFee(swappedAmount); IERC20(basePairedToken_).safeTransfer( _treasuryAccount, treasuryFeeAmount ); swappedAmount -= treasuryFeeAmount; } 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 = _bankpadFactory.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; } /// @notice Renounce ownership of the token contract /// @dev Only available when buy/sell tax is less than 5% and no tx / hold limit function renounceOwnership() public override onlyOwner { ( uint16 maxTax, uint16 minMaxHoldLimit, uint16 minMaxTxLimit ) = _bankpadFactory.conditionForRenounce(); require( _buyTax <= maxTax && _sellTax <= maxTax && _treasuryTax <= maxTax, "too much tax" ); require( _maxHoldLimit >= minMaxHoldLimit && _maxTxLimit >= minMaxTxLimit, "still limited" ); super.renounceOwnership(); } /// @notice Set / unset multiple pair addresses as AMM pair 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); } } 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
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":"string","name":"telegram","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":"param_","type":"tuple"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"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":[{"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":"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":[],"name":"bankpadFactory","outputs":[{"internalType":"address","name":"","type":"address"}],"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":[],"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":[{"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":"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":"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":"taxes","outputs":[{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"},{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"thresholdAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"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":"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"}]
Contract Creation Code
60806040526001805460ff60a81b1916600160a81b17815569021e19e0c9bab2400000600255600f805460ff191690911790553480156200003e575f80fd5b5060405162004a9838038062004a98833981016040819052620000619162001115565b60208101516040820151620000763362000462565b335f8181526008602090815260408083208054600160ff1991821681179092557f5eff886ea0ce6ca488a3d6e336d6c0f75f46d19b42c06ce5ee98e42c96d256c780548216831790557f046fee3d77c34a6c5e10c3be6dc4b132c30449dbf4f0bc07684896dd093342998054821683179055308086528386208054831684179055958552600990935281842080548416821790557fec8156718a8372b1db44bb411437d0870f3e3790d4a08526d024ce1b0b668f6b80548416821790557f960b1051749987b45b5679007fff577a1c2f763ec21c15a6c5eb193075003785805484168217905593835290912080549091169091179055600d6200017a838262001344565b50600e62000189828262001344565b505050600160145f620001a16200045e60201b60201c565b6001600160a01b0316815260208082019290925260409081015f908120805494151560ff1995861617905560149092527f4f26c3876aa9f4b92579780beea1161a61f87ebf1ec6ee865b299e447ecba99c8054841660019081179091557f8b9e18c5e04efe171d1e4f682ad90d753958a5ffe56db5290b0236c8e0b6db00805485168217905530835291208054909216179055805160179062000245908262001344565b50600180546001600160a01b0319166001600160a01b038516179055826200026d8362000462565b60a08201516200027d90620004b1565b60c08201516200028d90620006f2565b6012546001600160a01b03165f9081526009602090815260408220805460ff191660011790556080840151805183928392620002cf9281018201910162001427565b9194509250905061ffff81161562000445576001600160a01b0382166200033d5760405162461bcd60e51b815260206004820152601460248201527f696e76616c6964207465616d206163636f756e7400000000000000000000000060448201526064015b60405180910390fd5b60405163e2a831a560e01b81525f60048201526001600160a01b03878116602483015285169063e2a831a590604401602060405180830381865afa15801562000388573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620003ae919062001467565b61ffff168161ffff161115620004075760405162461bcd60e51b815260206004820152601360248201527f746f6f206d756368207465616d20616c6c6f6300000000000000000000000000604482015260640162000334565b5f6127106200041b61ffff8416866200149e565b620004279190620014be565b905062000435838262000c93565b620004418185620014de565b9350505b62000451878462000c93565b50505050505050620016be565b3390565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f805f83806020019051810190620004ca9190620014f4565b60015492955090935091505f908190819081906001600160a01b031663ec16631482620004fe5f546001600160a01b031690565b6040516001600160e01b031960e085901b16815291151560048301526001600160a01b03166024820152604401608060405180830381865afa15801562000547573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200056d919062001542565b93509350935093508061ffff168661ffff16111580156200059657508161ffff168661ffff1610155b620005e45760405162461bcd60e51b815260206004820152601560248201527f7478206c696d6974206f7574206f662072616e67650000000000000000000000604482015260640162000334565b8261ffff168761ffff16111580156200060557508361ffff168761ffff1610155b620006535760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e6765000000000000000000604482015260640162000334565b8661ffff168661ffff161115620006ad5760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d69740000000000604482015260640162000334565b5050600480549315156401000000000260ff60201b1961ffff978816620100000263ffffffff1990961697909616969096179390931793909316939093179055505050565b5f805f805f805f878060200190518101906200070f91906200159c565b600154969d50949b509299509097509550935091505f90819081906001600160a01b031663ea9a6e6d826200074b5f546001600160a01b031690565b6040516001600160e01b031960e085901b16815291151560048301526001600160a01b03166024820152604401606060405180830381865afa15801562000794573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620007ba919062001637565b9250925092505f60015f9054906101000a90046001600160a01b03166001600160a01b031663c524e82e6040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000812573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000838919062001467565b9050612710806200084a838262001665565b61ffff166200085a888b62001665565b61ffff166200086a91906200149e565b620008769190620014be565b11158015620008bf57506127108062000890838262001665565b61ffff16620008a0888a62001665565b61ffff16620008b091906200149e565b620008bc9190620014be565b11155b620009005760405162461bcd60e51b815260206004820152601060248201526f746178206f7574206f662072616e676560801b604482015260640162000334565b8361ffff168761ffff16111580156200092157508261ffff168661ffff1611155b80156200093657508161ffff168561ffff1611155b620009735760405162461bcd60e51b815260206004820152600c60248201526b0e8dede40daeac6d040e8c2f60a31b604482015260640162000334565b6001600160a01b038916158015906200099457506001600160a01b03881615155b620009e25760405162461bcd60e51b815260206004820152601360248201527f696e76616c696420706179206163636f756e7400000000000000000000000000604482015260640162000334565b73eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b038b160162000a325762000a1d6001600160a01b038a165f62000d63565b62000a326001600160a01b0389165f62000d63565b8a600f60076101000a8154816001600160a01b0302191690836001600160a01b031602179055505f8b6001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000a97573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000abd91906200168a565b6001600160a01b031663c9c653963073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee6001600160a01b03168e6001600160a01b03161462000b01578d62000b64565b8e6001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000b3e573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000b6491906200168a565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af115801562000baf573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019062000bd591906200168a565b601280546001600160a01b03199081166001600160a01b039384169081179092556013805482169e84169e909e17909d55601080548e169c83169c909c17909b5560118054909c169916989098179099555050600f805464ffffffff00191661010061ffff9687160264ffff0000001916176301000000948616949094029390931761ffff60281b191665010000000000929094169190910292909217905550505f908152601560205260409020805460ff19166001179055505050565b6001600160a01b03821662000ceb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640162000334565b80600c5f82825462000cfe9190620016a8565b90915550506001600160a01b0382165f818152600a60209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a362000d5f5f838362000e83565b5050565b8047101562000db55760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640162000334565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f811462000e00576040519150601f19603f3d011682016040523d82523d5f602084013e62000e05565b606091505b505090508062000e7e5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840162000334565b505050565b600154600160a01b900460ff1662000e9a57505050565b5f62000ea5600c5490565b6001600160a01b0385165f9081526008602052604090205490915060ff168062000ee657506001600160a01b0383165f9081526008602052604090205460ff165b8062000f1457506004546127109062000f049061ffff16836200149e565b62000f109190620014be565b8211155b62000f565760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b604482015260640162000334565b6001600160a01b0383165f9081526009602052604090205460ff168062000fbc57506004546127109062000f959062010000900461ffff16836200149e565b62000fa19190620014be565b6001600160a01b0384165f908152600a602052604090205411155b6200100a5760405162461bcd60e51b815260206004820152601560248201527f726563656976657220686f6c64206c696d697465640000000000000000000000604482015260640162000334565b50505050565b6001600160a01b038116811462001025575f80fd5b50565b634e487b7160e01b5f52604160045260245ffd5b60405161010081016001600160401b038111828210171562001062576200106262001028565b60405290565b5f82601f83011262001078575f80fd5b81516001600160401b038082111562001095576200109562001028565b604051601f8301601f19908116603f01168101908282118183101715620010c057620010c062001028565b8160405283815260209250866020858801011115620010dd575f80fd5b5f91505b83821015620011005785820183015181830184015290820190620010e1565b5f602085830101528094505050505092915050565b5f805f6060848603121562001128575f80fd5b8351620011358162001010565b6020850151909350620011488162001010565b60408501519092506001600160401b038082111562001165575f80fd5b9085019061010082880312156200117a575f80fd5b620011846200103c565b82518281111562001193575f80fd5b620011a18982860162001068565b825250602083015182811115620011b6575f80fd5b620011c48982860162001068565b602083015250604083015182811115620011dc575f80fd5b620011ea8982860162001068565b60408301525060608301518281111562001202575f80fd5b620012108982860162001068565b60608301525060808301518281111562001228575f80fd5b620012368982860162001068565b60808301525060a0830151828111156200124e575f80fd5b6200125c8982860162001068565b60a08301525060c08301518281111562001274575f80fd5b620012828982860162001068565b60c08301525060e0830151828111156200129a575f80fd5b620012a88982860162001068565b60e0830152508093505050509250925092565b600181811c90821680620012d057607f821691505b602082108103620012ef57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111562000e7e57805f5260205f20601f840160051c810160208510156200131c5750805b601f840160051c820191505b818110156200133d575f815560010162001328565b5050505050565b81516001600160401b0381111562001360576200136062001028565b6200137881620013718454620012bb565b84620012f5565b602080601f831160018114620013ae575f8415620013965750858301515b5f19600386901b1c1916600185901b17855562001408565b5f85815260208120601f198616915b82811015620013de57888601518255948401946001909101908401620013bd565b5085821015620013fc57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b805161ffff8116811462001422575f80fd5b919050565b5f805f606084860312156200143a575f80fd5b8351925060208401516200144e8162001010565b91506200145e6040850162001410565b90509250925092565b5f6020828403121562001478575f80fd5b620014838262001410565b9392505050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620014b857620014b86200148a565b92915050565b5f82620014d957634e487b7160e01b5f52601260045260245ffd5b500490565b81810381811115620014b857620014b86200148a565b5f805f6060848603121562001507575f80fd5b620015128462001410565b9250620015226020850162001410565b91506040840151801515811462001537575f80fd5b809150509250925092565b5f805f806080858703121562001556575f80fd5b620015618562001410565b9350620015716020860162001410565b9250620015816040860162001410565b9150620015916060860162001410565b905092959194509250565b5f805f805f805f60e0888a031215620015b3575f80fd5b8751620015c08162001010565b6020890151909750620015d38162001010565b6040890151909650620015e68162001010565b6060890151909550620015f98162001010565b9350620016096080890162001410565b92506200161960a0890162001410565b91506200162960c0890162001410565b905092959891949750929550565b5f805f606084860312156200164a575f80fd5b620016558462001410565b92506200144e6020850162001410565b61ffff8181168382160190808211156200168357620016836200148a565b5092915050565b5f602082840312156200169b575f80fd5b8151620014838162001010565b80820180821115620014b857620014b86200148a565b6133cc80620016cc5f395ff3fe60806040526004361061022b575f3560e01c80638da5cb5b11610129578063c5f7f168116100a8578063def98aba1161006d578063def98aba14610758578063f0ee1ea514610777578063f2fde38b146107c3578063f519b7d3146107e2578063f6b0388914610801575f80fd5b8063c5f7f16814610665578063cb4ca63114610684578063d94160e0146106bb578063db200bfa1461071a578063dd62ed3e14610739575f80fd5b8063a9059cbb116100ee578063a9059cbb146105c1578063b29a8140146105e0578063b4b37bd2146105ff578063b6a6790b14610632578063bf56b37114610651575f80fd5b80638da5cb5b146105085780639191a9c714610538578063944886831461056f57806395d89b411461058e578063a457c2d7146105a2575f80fd5b8063313ce567116101b5578063715018a61161017a578063715018a6146104215780637196d17814610435578063728f8eea14610492578063785e8a12146104d65780638a8c523c146104f4575f80fd5b8063313ce5671461036d57806339509351146103885780635b30facb146103a757806366bd1270146103bb57806370a08231146103ed575f80fd5b80631a861d26116101fb5780631a861d26146102ce57806323b872dd146102fc57806328f4dbb61461031b5780632aa9c3761461032f5780632af65da11461034e575f80fd5b8063068b976f1461023657806306fdde0314610257578063095ea7b31461028157806318160ddd146102b0575f80fd5b3661023257005b5f80fd5b348015610241575f80fd5b50610255610250366004612e6c565b61081e565b005b348015610262575f80fd5b5061026b610942565b6040516102789190612ed6565b60405180910390f35b34801561028c575f80fd5b506102a061029b366004612f1c565b6109d2565b6040519015158152602001610278565b3480156102bb575f80fd5b50600c545b604051908152602001610278565b3480156102d9575f80fd5b506004546040805161ffff62010000840481168252909216602083015201610278565b348015610307575f80fd5b506102a0610316366004612f46565b6109eb565b348015610326575f80fd5b506002546102c0565b34801561033a575f80fd5b50610255610349366004612f91565b610a0e565b348015610359575f80fd5b50610255610368366004612fac565b610a34565b348015610378575f80fd5b5060405160128152602001610278565b348015610393575f80fd5b506102a06103a2366004612f1c565b610ae4565b3480156103b2575f80fd5b5061026b610b05565b3480156103c6575f80fd5b50601054601154604080516001600160a01b03938416815292909116602083015201610278565b3480156103f8575f80fd5b506102c0610407366004613020565b6001600160a01b03165f908152600a602052604090205490565b34801561042c575f80fd5b50610255610b91565b348015610440575f80fd5b50610468600f546013546012546001600160a01b03600160381b909304831693918316921690565b604080516001600160a01b0394851681529284166020840152921691810191909152606001610278565b34801561049d575f80fd5b50600f546040805161ffff6101008404811682526301000000840481166020830152600160281b90930490921690820152606001610278565b3480156104e1575f80fd5b50600154600160a81b900460ff166102a0565b3480156104ff575f80fd5b50610255610d0e565b348015610513575f80fd5b505f546001600160a01b03165b6040516001600160a01b039091168152602001610278565b348015610543575f80fd5b506102a0610552366004613020565b6001600160a01b03165f9081526015602052604090205460ff1690565b34801561057a575f80fd5b50610255610589366004612fac565b610d98565b348015610599575f80fd5b5061026b610e41565b3480156105ad575f80fd5b506102a06105bc366004612f1c565b610e50565b3480156105cc575f80fd5b506102a06105db366004612f1c565b610eca565b3480156105eb575f80fd5b506102556105fa366004612f1c565b610ed7565b34801561060a575f80fd5b506102c07f18f1ad60135339f62fca41326263448735698562b003d0cde457ebd2fb60bea181565b34801561063d575f80fd5b5061025561064c366004612fac565b610f43565b34801561065c575f80fd5b506003546102c0565b348015610670575f80fd5b5061025561067f366004612fac565b61105f565b34801561068f575f80fd5b506102a061069e366004613020565b6001600160a01b03165f9081526014602052604090205460ff1690565b3480156106c6575f80fd5b506107036106d5366004613020565b6001600160a01b03165f9081526009602090815260408083205460089092529091205460ff91821692911690565b604080519215158352901515602083015201610278565b348015610725575f80fd5b5061025561073436600461303b565b611108565b348015610744575f80fd5b506102c0610753366004613052565b611158565b348015610763575f80fd5b50610255610772366004613089565b611182565b348015610782575f80fd5b506004546040805160ff6401000000008404811615158252600160281b8404811615156020830152600160301b909304909216151590820152606001610278565b3480156107ce575f80fd5b506102556107dd366004613020565b6113f4565b3480156107ed575f80fd5b506102556107fc3660046130b5565b61146d565b34801561080c575f80fd5b506001546001600160a01b0316610520565b6108266115b8565b600f5461ffff80851661010090920416108015906108545750600f5461ffff80841663010000009092041610155b80156108705750600f5461ffff808316600160281b9092041610155b6108b15760405162461bcd60e51b815260206004820152600d60248201526c6465637265617365206f6e6c7960981b60448201526064015b60405180910390fd5b600f805464ffffffff00191661010061ffff86811691820264ffff00000019169290921763010000008684169081029190911766ffff00000000001916600160281b93861693840217909355604080519182526020820193909352918201527fb6d7a9e1cf68fd02461e40d3c33cf2c4551d4a5f101ccbb620cd29488ff528609060600160405180910390a1505050565b6060600d8054610951906130e1565b80601f016020809104026020016040519081016040528092919081815260200182805461097d906130e1565b80156109c85780601f1061099f576101008083540402835291602001916109c8565b820191905f5260205f20905b8154815290600101906020018083116109ab57829003601f168201915b5050505050905090565b5f336109df818585611613565b60019150505b92915050565b5f336109f8858285611736565b610a038585856117ae565b506001949350505050565b610a166115b8565b60018054911515600160a81b0260ff60a81b19909216919091179055565b610a3c6115b8565b815f5b81811015610add575f858583818110610a5a57610a5a613119565b9050602002016020810190610a6f9190613020565b6001600160a01b0381165f81815260096020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507f0a3739d32ce712ba6f19229ad53a9267424ae1f5fb81ea18eb916ca6fd9f7188910160405180910390a150610a3f565b5050505050565b5f336109df818585610af68383611158565b610b009190613141565b611613565b60178054610b12906130e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3e906130e1565b8015610b895780601f10610b6057610100808354040283529160200191610b89565b820191905f5260205f20905b815481529060010190602001808311610b6c57829003601f168201915b505050505081565b610b996115b8565b5f805f60015f9054906101000a90046001600160a01b03166001600160a01b0316638ddb3f7d6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610bec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c109190613154565b600f54929550909350915061ffff8085166101009092041611801590610c465750600f5461ffff80851663010000009092041611155b8015610c625750600f5461ffff808516600160281b9092041611155b610c9d5760405162461bcd60e51b815260206004820152600c60248201526b0e8dede40daeac6d040e8c2f60a31b60448201526064016108a8565b60045461ffff808416620100009092041610801590610cc5575060045461ffff808316911610155b610d015760405162461bcd60e51b815260206004820152600d60248201526c1cdd1a5b1b081b1a5b5a5d1959609a1b60448201526064016108a8565b610d09611c53565b505050565b610d166115b8565b600454600160301b900460ff16610d615760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e48195b98589b1959608a1b60448201526064016108a8565b6004805460ff60301b191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1565b610da06115b8565b815f5b81811015610add575f858583818110610dbe57610dbe613119565b9050602002016020810190610dd39190613020565b6001600160a01b0381165f81815260146020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fea5814d1cf99e5f6aee98da410ea4adcdbe5ded97855de3b25144b0898d0be4a910160405180910390a150610da3565b6060600e8054610951906130e1565b5f3381610e5d8286611158565b905083811015610ebd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108a8565b610a038286868403611613565b5f336109df8185856117ae565b610edf6115b8565b306001600160a01b03831603610f2b5760405162461bcd60e51b81526020600482015260116024820152702737ba1030b63637bbb2b2103a37b5b2b760791b60448201526064016108a8565b610f3f6001600160a01b0383163383611c64565b5050565b610f4b6115b8565b815f5b81811015610add575f858583818110610f6957610f69613119565b9050602002016020810190610f7e9190613020565b6012549091506001600160a01b0390811690821603610fdf5760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f7420616363657373206261736520616d6d20706169720000000060448201526064016108a8565b6001600160a01b0381165f818152601560209081526040808320805489151560ff199182168117909255600984529382902080549094168117909355805193845290830191909152600193909301927f4d5593e244fd41eece27031c1331466a9e253a06df08dda6c1c2b3c387140da0910160405180910390a150610f4e565b6110676115b8565b815f5b81811015610add575f85858381811061108557611085613119565b905060200201602081019061109a9190613020565b6001600160a01b0381165f81815260086020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fa301a811c39dbd3a2ffd9aea1076306ae8b2a227d5304311a68939f08e3d084a910160405180910390a15061106a565b6111106115b8565b5f81116111535760405162461bcd60e51b81526020600482015260116024820152701a5b9d985b1a59081d1a1c995cda1bdb19607a1b60448201526064016108a8565b600255565b6001600160a01b039182165f908152600b6020908152604080832093909416825291909152205490565b61118a6115b8565b8061ffff168261ffff1610156111e25760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d6974000000000060448201526064016108a8565b600180545f9182916001600160a01b03169063ec1663149061120b5f546001600160a01b031690565b6040516001600160e01b031960e085901b16815291151560048301526001600160a01b03166024820152604401608060405180830381865afa158015611253573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112779190613193565b60045492955093505061ffff808716620100009092041611801591506112a6575060045461ffff808516911611155b6112e25760405162461bcd60e51b815260206004820152600d60248201526c696e637265617365206f6e6c7960981b60448201526064016108a8565b8061ffff168361ffff1611156113325760405162461bcd60e51b81526020600482015260156024820152747478206c696d6974206f7574206f662072616e676560581b60448201526064016108a8565b8161ffff168461ffff16111561138a5760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e676500000000000000000060448201526064016108a8565b6004805463ffffffff19166201000061ffff87811691820261ffff1916929092179186169182179092556040805192835260208301919091527f244331ce56bb49b130a963a6c0f1869845bb5ded2cd3dea0329926354d27699a910160405180910390a150505050565b6113fc6115b8565b6001600160a01b0381166114615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a8565b61146a81611cb6565b50565b6001546001600160a01b031633146114c75760405162461bcd60e51b815260206004820152601960248201527f63616c6c6572206973206e6f742074686520666163746f72790000000000000060448201526064016108a8565b600154600160a01b900460ff16156115145760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b60448201526064016108a8565b6001805460ff60a01b1916600160a01b179055811580611532575080155b61157e5760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f742064656c6179656420616e642064697361626c65640000000060448201526064016108a8565b6004805466ffff00000000001916600160281b9315159390930260ff60301b191692909217600160301b9115159190910217905542600355565b5f546001600160a01b031633146116115760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108a8565b565b6001600160a01b0383166116755760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108a8565b6001600160a01b0382166116d65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108a8565b6001600160a01b038381165f818152600b602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6117418484611158565b90505f1981146117a8578181101561179b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108a8565b6117a88484848403611613565b50505050565b426117b7611d05565b60015460408051639a01f61160e01b815281515f9384936001600160a01b0390911692639a01f61192600480830193928290030181865afa1580156117fe573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061182291906131ef565b915091505f60015f9054906101000a90046001600160a01b03166001600160a01b031663c524e82e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611877573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061189b9190613211565b305f908152600a60209081526040808320546001600160a01b038c16845260149092528220549293509160ff16806118ea57506001600160a01b0388165f9081526014602052604090205460ff165b80156118f757505f600554115b801561191057508360055461190c9190613141565b8610155b6001600160a01b03808b165f9081526015602052604080822054928c16825290205460165492935060ff91821692908216911615801561194e575082155b8015611958575081155b801561196d5750600154600160a81b900460ff165b801561197b57506002548410155b156119e157600f545f9060ff16801561199557505f600554115b80156119ad5750876005546119aa9190613141565b89115b905080156119c3576119be85611e78565b6119ce565b6119ce600254611e78565b80156119df57600f805460ff191690555b505b885f03611a00576119f38b8b5f612089565b5050505050505050505050565b5f83158015611a185750600154600160a01b900460ff165b15611c3a578215611b4157600f5460ff168015611a4c57506005541580611a4c575087600554611a489190613141565b8911155b15611ab65761271080611a5f888261322c565b600f5461ffff91821691611a8391600160281b81048216916101009091041661322c565b611a919061ffff168e61324e565b611a9b919061324e565b611aa59190613265565b611aaf9190613265565b9050611af4565b600f5461271090611ad99061ffff600160281b820481169161010090041661322c565b611ae79061ffff168c61324e565b611af19190613265565b90505b5f611afd612238565b61ffff1690508015611b3b575f612710611b17838e61324e565b611b219190613265565b9050611b2d8e82612341565b611b37818d613284565b9b50505b50611c1c565b8115611c1c57600f5460ff168015611b7057506005541580611b70575087600554611b6c9190613141565b8911155b15611bdc5761271080611b83888261322c565b600f5461ffff91821691611ba991600160281b810482169163010000009091041661322c565b611bb79061ffff168e61324e565b611bc1919061324e565b611bcb9190613265565b611bd59190613265565b9050611c1c565b600f5461271090611c019061ffff600160281b8204811691630100000090041661322c565b611c0f9061ffff168c61324e565b611c199190613265565b90505b8015611c2d57611c2d8c3083612089565b611c37818b613284565b99505b611c458c8c8c612089565b505050505050505050505050565b611c5b6115b8565b6116115f611cb6565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d09908490612479565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001546040805163a413b53560e01b8152815142935f9384936001600160a01b039092169263a413b5359260048082019392918290030181865afa158015611d4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d7391906131ef565b6004549193509150600160281b900460ff168015611d9d575081600354611d9a9190613141565b83105b15611ddc5760405162461bcd60e51b815260206004820152600f60248201526e1d1c98591a5b99c819195b185e5959608a1b60448201526064016108a8565b600454600160301b900460ff1615610d095780600354611dfc9190613141565b831015611e3e5760405162461bcd60e51b815260206004820152601060248201526f1d1c98591a5b99c8191a5cd8589b195960821b60448201526064016108a8565b6004805460ff60301b191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1505050565b6016805460ff1916600190811790915560135490546040805163616a7ca160e11b815290516001600160a01b03938416935f93169163c2d4f9429160048083019260209291908290030181865afa158015611ed5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ef99190613297565b905073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b03831601611fca575f611f2a8461254c565b90508015611fc457600f5460ff1615611f6a575f611f4782612713565b9050611f5c6001600160a01b038416826127bc565b611f668183613284565b9150505b600f54600160281b900461ffff1615611fae575f611f87826128d1565b601154909150611fa0906001600160a01b0316826127bc565b611faa8183613284565b9150505b601054611fc4906001600160a01b0316826127bc565b5061207a565b5f611fd5838561293d565b9050801561207857600f5460ff1615612016575f611ff282612713565b90506120086001600160a01b0385168483611c64565b6120128183613284565b9150505b600f54600160281b900461ffff161561205e575f612033826128d1565b601154909150612050906001600160a01b03868116911683611c64565b61205a8183613284565b9150505b601054612078906001600160a01b03858116911683611c64565b505b50506016805460ff1916905550565b6001600160a01b0383166120ed5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108a8565b6001600160a01b03821661214f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108a8565b6001600160a01b0383165f908152600a6020526040902054818110156121c65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108a8565b6001600160a01b038085165f818152600a602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906122259086815260200190565b60405180910390a36117a8848484612b65565b6004545f90640100000000900460ff1661225157505f90565b60015460408051620d426b60e81b8152905142925f92839283926001600160a01b031691630d426b009160048083019260609291908290030181865afa15801561229d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c19190613154565b92509250925060075484036122d857949350505050565b60065484036122e957509392505050565b60055484036122fb5750909392505050565b6007541561230d575f94505050505090565b600654156123215742600755949350505050565b600554156123355750426006559392505050565b50504260055592915050565b6001600160a01b0382166123a15760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108a8565b6001600160a01b0382165f908152600a6020526040902054818110156124145760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108a8565b6001600160a01b0383165f818152600a602090815260408083208686039055600c80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610d09835f84612b65565b5f6124cd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612cd39092919063ffffffff16565b905080515f14806124ed5750808060200190518101906124ed91906132b2565b610d095760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108a8565b600f546040805160028082526060820183525f93600160381b90046001600160a01b0316928492919060208301908036833701905050905030815f8151811061259757612597613119565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126179190613297565b8160018151811061262a5761262a613119565b60200260200101906001600160a01b031690816001600160a01b031681525050612655308386611613565b476001600160a01b03831663791ac947865f85306126754261012c613141565b6040518663ffffffff1660e01b81526004016126959594939291906132cd565b5f604051808303815f87803b1580156126ac575f80fd5b505af19250505080156126bd575060015b6126f6573d8080156126ea576040519150601f19603f3d011682016040523d82523d5f602084013e6126ef565b606091505b5050612709565b6127008147613284565b95945050505050565b505f949350505050565b5f8060015f9054906101000a90046001600160a01b03166001600160a01b031663c524e82e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612765573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127899190613211565b90506127978161271061322c565b61ffff168161ffff16846127ab919061324e565b6127b59190613265565b9392505050565b8047101561280c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016108a8565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114612855576040519150601f19603f3d011682016040523d82523d5f602084013e61285a565b606091505b5050905080610d095760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016108a8565b600f545f9061ffff610100820481169163010000008104821691600160281b909104166128ff81600261333e565b612909838561322c565b612913919061322c565b61ffff168161ffff16866002612929919061324e565b612933919061324e565b6127009190613265565b6040805160028082526060820183525f928392919060208301908036833701905050905030815f8151811061297457612974613119565b60200260200101906001600160a01b031690816001600160a01b03168152505083816001815181106129a8576129a8613119565b6001600160a01b039283166020918202929092010152600f54600160381b9004166129d4308286611613565b6040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015612a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a3c9190613364565b90506001600160a01b038216635c11d795865f8630612a5d4261012c613141565b6040518663ffffffff1660e01b8152600401612a7d9594939291906132cd565b5f604051808303815f87803b158015612a94575f80fd5b505af1925050508015612aa5575060015b612ade573d808015612ad2576040519150601f19603f3d011682016040523d82523d5f602084013e612ad7565b606091505b5050612b5a565b6040516370a0823160e01b815230600482015281906001600160a01b038816906370a0823190602401602060405180830381865afa158015612b22573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b469190613364565b612b509190613284565b93505050506109e5565b505f95945050505050565b600154600160a01b900460ff16612b7b57505050565b5f612b85600c5490565b6001600160a01b0385165f9081526008602052604090205490915060ff1680612bc557506001600160a01b0383165f9081526008602052604090205460ff165b80612bee575060045461271090612be09061ffff168361324e565b612bea9190613265565b8211155b612c2e5760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b60448201526064016108a8565b6001600160a01b0383165f9081526009602052604090205460ff1680612c8f575060045461271090612c6a9062010000900461ffff168361324e565b612c749190613265565b6001600160a01b0384165f908152600a602052604090205411155b6117a85760405162461bcd60e51b81526020600482015260156024820152741c9958d95a5d995c881a1bdb19081b1a5b5a5d1959605a1b60448201526064016108a8565b6060612ce184845f85612ce9565b949350505050565b606082471015612d4a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108a8565b5f80866001600160a01b03168587604051612d65919061337b565b5f6040518083038185875af1925050503d805f8114612d9f576040519150601f19603f3d011682016040523d82523d5f602084013e612da4565b606091505b5091509150612db587838387612dc0565b979650505050505050565b60608315612e2e5782515f03612e27576001600160a01b0385163b612e275760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108a8565b5081612ce1565b612ce18383815115612e435781518083602001fd5b8060405162461bcd60e51b81526004016108a89190612ed6565b61ffff8116811461146a575f80fd5b5f805f60608486031215612e7e575f80fd5b8335612e8981612e5d565b92506020840135612e9981612e5d565b91506040840135612ea981612e5d565b809150509250925092565b5f5b83811015612ece578181015183820152602001612eb6565b50505f910152565b602081525f8251806020840152612ef4816040850160208701612eb4565b601f01601f19169190910160400192915050565b6001600160a01b038116811461146a575f80fd5b5f8060408385031215612f2d575f80fd5b8235612f3881612f08565b946020939093013593505050565b5f805f60608486031215612f58575f80fd5b8335612f6381612f08565b92506020840135612f7381612f08565b929592945050506040919091013590565b801515811461146a575f80fd5b5f60208284031215612fa1575f80fd5b81356127b581612f84565b5f805f60408486031215612fbe575f80fd5b833567ffffffffffffffff80821115612fd5575f80fd5b818601915086601f830112612fe8575f80fd5b813581811115612ff6575f80fd5b8760208260051b850101111561300a575f80fd5b60209283019550935050840135612ea981612f84565b5f60208284031215613030575f80fd5b81356127b581612f08565b5f6020828403121561304b575f80fd5b5035919050565b5f8060408385031215613063575f80fd5b823561306e81612f08565b9150602083013561307e81612f08565b809150509250929050565b5f806040838503121561309a575f80fd5b82356130a581612e5d565b9150602083013561307e81612e5d565b5f80604083850312156130c6575f80fd5b82356130d181612f84565b9150602083013561307e81612f84565b600181811c908216806130f557607f821691505b60208210810361311357634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b808201808211156109e5576109e561312d565b5f805f60608486031215613166575f80fd5b835161317181612e5d565b602085015190935061318281612e5d565b6040850151909250612ea981612e5d565b5f805f80608085870312156131a6575f80fd5b84516131b181612e5d565b60208601519094506131c281612e5d565b60408601519093506131d381612e5d565b60608601519092506131e481612e5d565b939692955090935050565b5f8060408385031215613200575f80fd5b505080516020909101519092909150565b5f60208284031215613221575f80fd5b81516127b581612e5d565b61ffff8181168382160190808211156132475761324761312d565b5092915050565b80820281158282048414176109e5576109e561312d565b5f8261327f57634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156109e5576109e561312d565b5f602082840312156132a7575f80fd5b81516127b581612f08565b5f602082840312156132c2575f80fd5b81516127b581612f84565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561331d5784516001600160a01b0316835293830193918301916001016132f8565b50506001600160a01b03969096166060850152505050608001529392505050565b61ffff81811683821602808216919082811461335c5761335c61312d565b505092915050565b5f60208284031215613374575f80fd5b5051919050565b5f825161338c818460208701612eb4565b919091019291505056fea26469706673582212209356da13a3ca06767b81473e523519325ec7be5535f261f2320fec705ff278e964736f6c634300081600330000000000000000000000004a3aac62572e4a639b1d2988ddb0796c51fa87f2000000000000000000000000d7bb875860fa3fb72d12c5b6f5c1c4fba06bf12400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000002462353763323737332d613638342d313165652d613837302d393235363631313462643661000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007426168616d6173000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007424148414d415300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001968747470733a2f2f742e6d652f426168616d617345544832300000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000001431e0fae6d7217caa0000000000000000000000000000000d7bb875860fa3fb72d12c5b6f5c1c4fba06bf12400000000000000000000000000000000000000000000000000000000000022c4000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000005fb647fe769a6850a9041680e735b976a9a86bec0000000000000000000000005fb647fe769a6850a9041680e735b976a9a86bec0000000000000000000000000000000000000000000000000000000000000bb80000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000015af1d78b58c400000000000000000000000000000000000000000000000000000000000000278d00
Deployed Bytecode
0x60806040526004361061022b575f3560e01c80638da5cb5b11610129578063c5f7f168116100a8578063def98aba1161006d578063def98aba14610758578063f0ee1ea514610777578063f2fde38b146107c3578063f519b7d3146107e2578063f6b0388914610801575f80fd5b8063c5f7f16814610665578063cb4ca63114610684578063d94160e0146106bb578063db200bfa1461071a578063dd62ed3e14610739575f80fd5b8063a9059cbb116100ee578063a9059cbb146105c1578063b29a8140146105e0578063b4b37bd2146105ff578063b6a6790b14610632578063bf56b37114610651575f80fd5b80638da5cb5b146105085780639191a9c714610538578063944886831461056f57806395d89b411461058e578063a457c2d7146105a2575f80fd5b8063313ce567116101b5578063715018a61161017a578063715018a6146104215780637196d17814610435578063728f8eea14610492578063785e8a12146104d65780638a8c523c146104f4575f80fd5b8063313ce5671461036d57806339509351146103885780635b30facb146103a757806366bd1270146103bb57806370a08231146103ed575f80fd5b80631a861d26116101fb5780631a861d26146102ce57806323b872dd146102fc57806328f4dbb61461031b5780632aa9c3761461032f5780632af65da11461034e575f80fd5b8063068b976f1461023657806306fdde0314610257578063095ea7b31461028157806318160ddd146102b0575f80fd5b3661023257005b5f80fd5b348015610241575f80fd5b50610255610250366004612e6c565b61081e565b005b348015610262575f80fd5b5061026b610942565b6040516102789190612ed6565b60405180910390f35b34801561028c575f80fd5b506102a061029b366004612f1c565b6109d2565b6040519015158152602001610278565b3480156102bb575f80fd5b50600c545b604051908152602001610278565b3480156102d9575f80fd5b506004546040805161ffff62010000840481168252909216602083015201610278565b348015610307575f80fd5b506102a0610316366004612f46565b6109eb565b348015610326575f80fd5b506002546102c0565b34801561033a575f80fd5b50610255610349366004612f91565b610a0e565b348015610359575f80fd5b50610255610368366004612fac565b610a34565b348015610378575f80fd5b5060405160128152602001610278565b348015610393575f80fd5b506102a06103a2366004612f1c565b610ae4565b3480156103b2575f80fd5b5061026b610b05565b3480156103c6575f80fd5b50601054601154604080516001600160a01b03938416815292909116602083015201610278565b3480156103f8575f80fd5b506102c0610407366004613020565b6001600160a01b03165f908152600a602052604090205490565b34801561042c575f80fd5b50610255610b91565b348015610440575f80fd5b50610468600f546013546012546001600160a01b03600160381b909304831693918316921690565b604080516001600160a01b0394851681529284166020840152921691810191909152606001610278565b34801561049d575f80fd5b50600f546040805161ffff6101008404811682526301000000840481166020830152600160281b90930490921690820152606001610278565b3480156104e1575f80fd5b50600154600160a81b900460ff166102a0565b3480156104ff575f80fd5b50610255610d0e565b348015610513575f80fd5b505f546001600160a01b03165b6040516001600160a01b039091168152602001610278565b348015610543575f80fd5b506102a0610552366004613020565b6001600160a01b03165f9081526015602052604090205460ff1690565b34801561057a575f80fd5b50610255610589366004612fac565b610d98565b348015610599575f80fd5b5061026b610e41565b3480156105ad575f80fd5b506102a06105bc366004612f1c565b610e50565b3480156105cc575f80fd5b506102a06105db366004612f1c565b610eca565b3480156105eb575f80fd5b506102556105fa366004612f1c565b610ed7565b34801561060a575f80fd5b506102c07f18f1ad60135339f62fca41326263448735698562b003d0cde457ebd2fb60bea181565b34801561063d575f80fd5b5061025561064c366004612fac565b610f43565b34801561065c575f80fd5b506003546102c0565b348015610670575f80fd5b5061025561067f366004612fac565b61105f565b34801561068f575f80fd5b506102a061069e366004613020565b6001600160a01b03165f9081526014602052604090205460ff1690565b3480156106c6575f80fd5b506107036106d5366004613020565b6001600160a01b03165f9081526009602090815260408083205460089092529091205460ff91821692911690565b604080519215158352901515602083015201610278565b348015610725575f80fd5b5061025561073436600461303b565b611108565b348015610744575f80fd5b506102c0610753366004613052565b611158565b348015610763575f80fd5b50610255610772366004613089565b611182565b348015610782575f80fd5b506004546040805160ff6401000000008404811615158252600160281b8404811615156020830152600160301b909304909216151590820152606001610278565b3480156107ce575f80fd5b506102556107dd366004613020565b6113f4565b3480156107ed575f80fd5b506102556107fc3660046130b5565b61146d565b34801561080c575f80fd5b506001546001600160a01b0316610520565b6108266115b8565b600f5461ffff80851661010090920416108015906108545750600f5461ffff80841663010000009092041610155b80156108705750600f5461ffff808316600160281b9092041610155b6108b15760405162461bcd60e51b815260206004820152600d60248201526c6465637265617365206f6e6c7960981b60448201526064015b60405180910390fd5b600f805464ffffffff00191661010061ffff86811691820264ffff00000019169290921763010000008684169081029190911766ffff00000000001916600160281b93861693840217909355604080519182526020820193909352918201527fb6d7a9e1cf68fd02461e40d3c33cf2c4551d4a5f101ccbb620cd29488ff528609060600160405180910390a1505050565b6060600d8054610951906130e1565b80601f016020809104026020016040519081016040528092919081815260200182805461097d906130e1565b80156109c85780601f1061099f576101008083540402835291602001916109c8565b820191905f5260205f20905b8154815290600101906020018083116109ab57829003601f168201915b5050505050905090565b5f336109df818585611613565b60019150505b92915050565b5f336109f8858285611736565b610a038585856117ae565b506001949350505050565b610a166115b8565b60018054911515600160a81b0260ff60a81b19909216919091179055565b610a3c6115b8565b815f5b81811015610add575f858583818110610a5a57610a5a613119565b9050602002016020810190610a6f9190613020565b6001600160a01b0381165f81815260096020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507f0a3739d32ce712ba6f19229ad53a9267424ae1f5fb81ea18eb916ca6fd9f7188910160405180910390a150610a3f565b5050505050565b5f336109df818585610af68383611158565b610b009190613141565b611613565b60178054610b12906130e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3e906130e1565b8015610b895780601f10610b6057610100808354040283529160200191610b89565b820191905f5260205f20905b815481529060010190602001808311610b6c57829003601f168201915b505050505081565b610b996115b8565b5f805f60015f9054906101000a90046001600160a01b03166001600160a01b0316638ddb3f7d6040518163ffffffff1660e01b8152600401606060405180830381865afa158015610bec573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610c109190613154565b600f54929550909350915061ffff8085166101009092041611801590610c465750600f5461ffff80851663010000009092041611155b8015610c625750600f5461ffff808516600160281b9092041611155b610c9d5760405162461bcd60e51b815260206004820152600c60248201526b0e8dede40daeac6d040e8c2f60a31b60448201526064016108a8565b60045461ffff808416620100009092041610801590610cc5575060045461ffff808316911610155b610d015760405162461bcd60e51b815260206004820152600d60248201526c1cdd1a5b1b081b1a5b5a5d1959609a1b60448201526064016108a8565b610d09611c53565b505050565b610d166115b8565b600454600160301b900460ff16610d615760405162461bcd60e51b815260206004820152600f60248201526e185b1c9958591e48195b98589b1959608a1b60448201526064016108a8565b6004805460ff60301b191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1565b610da06115b8565b815f5b81811015610add575f858583818110610dbe57610dbe613119565b9050602002016020810190610dd39190613020565b6001600160a01b0381165f81815260146020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fea5814d1cf99e5f6aee98da410ea4adcdbe5ded97855de3b25144b0898d0be4a910160405180910390a150610da3565b6060600e8054610951906130e1565b5f3381610e5d8286611158565b905083811015610ebd5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108a8565b610a038286868403611613565b5f336109df8185856117ae565b610edf6115b8565b306001600160a01b03831603610f2b5760405162461bcd60e51b81526020600482015260116024820152702737ba1030b63637bbb2b2103a37b5b2b760791b60448201526064016108a8565b610f3f6001600160a01b0383163383611c64565b5050565b610f4b6115b8565b815f5b81811015610add575f858583818110610f6957610f69613119565b9050602002016020810190610f7e9190613020565b6012549091506001600160a01b0390811690821603610fdf5760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f7420616363657373206261736520616d6d20706169720000000060448201526064016108a8565b6001600160a01b0381165f818152601560209081526040808320805489151560ff199182168117909255600984529382902080549094168117909355805193845290830191909152600193909301927f4d5593e244fd41eece27031c1331466a9e253a06df08dda6c1c2b3c387140da0910160405180910390a150610f4e565b6110676115b8565b815f5b81811015610add575f85858381811061108557611085613119565b905060200201602081019061109a9190613020565b6001600160a01b0381165f81815260086020908152604091829020805460ff1916891515908117909155825193845290830152600194909401939192507fa301a811c39dbd3a2ffd9aea1076306ae8b2a227d5304311a68939f08e3d084a910160405180910390a15061106a565b6111106115b8565b5f81116111535760405162461bcd60e51b81526020600482015260116024820152701a5b9d985b1a59081d1a1c995cda1bdb19607a1b60448201526064016108a8565b600255565b6001600160a01b039182165f908152600b6020908152604080832093909416825291909152205490565b61118a6115b8565b8061ffff168261ffff1610156111e25760405162461bcd60e51b815260206004820152601b60248201527f7478206c696d6974206578636565647320686f6c64206c696d6974000000000060448201526064016108a8565b600180545f9182916001600160a01b03169063ec1663149061120b5f546001600160a01b031690565b6040516001600160e01b031960e085901b16815291151560048301526001600160a01b03166024820152604401608060405180830381865afa158015611253573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906112779190613193565b60045492955093505061ffff808716620100009092041611801591506112a6575060045461ffff808516911611155b6112e25760405162461bcd60e51b815260206004820152600d60248201526c696e637265617365206f6e6c7960981b60448201526064016108a8565b8061ffff168361ffff1611156113325760405162461bcd60e51b81526020600482015260156024820152747478206c696d6974206f7574206f662072616e676560581b60448201526064016108a8565b8161ffff168461ffff16111561138a5760405162461bcd60e51b815260206004820152601760248201527f686f6c64206c696d6974206f7574206f662072616e676500000000000000000060448201526064016108a8565b6004805463ffffffff19166201000061ffff87811691820261ffff1916929092179186169182179092556040805192835260208301919091527f244331ce56bb49b130a963a6c0f1869845bb5ded2cd3dea0329926354d27699a910160405180910390a150505050565b6113fc6115b8565b6001600160a01b0381166114615760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016108a8565b61146a81611cb6565b50565b6001546001600160a01b031633146114c75760405162461bcd60e51b815260206004820152601960248201527f63616c6c6572206973206e6f742074686520666163746f72790000000000000060448201526064016108a8565b600154600160a01b900460ff16156115145760405162461bcd60e51b815260206004820152601060248201526f185b1c9958591e481b185d5b98da195960821b60448201526064016108a8565b6001805460ff60a01b1916600160a01b179055811580611532575080155b61157e5760405162461bcd60e51b815260206004820152601c60248201527f63616e206e6f742064656c6179656420616e642064697361626c65640000000060448201526064016108a8565b6004805466ffff00000000001916600160281b9315159390930260ff60301b191692909217600160301b9115159190910217905542600355565b5f546001600160a01b031633146116115760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016108a8565b565b6001600160a01b0383166116755760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108a8565b6001600160a01b0382166116d65760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108a8565b6001600160a01b038381165f818152600b602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6117418484611158565b90505f1981146117a8578181101561179b5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108a8565b6117a88484848403611613565b50505050565b426117b7611d05565b60015460408051639a01f61160e01b815281515f9384936001600160a01b0390911692639a01f61192600480830193928290030181865afa1580156117fe573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061182291906131ef565b915091505f60015f9054906101000a90046001600160a01b03166001600160a01b031663c524e82e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015611877573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061189b9190613211565b305f908152600a60209081526040808320546001600160a01b038c16845260149092528220549293509160ff16806118ea57506001600160a01b0388165f9081526014602052604090205460ff165b80156118f757505f600554115b801561191057508360055461190c9190613141565b8610155b6001600160a01b03808b165f9081526015602052604080822054928c16825290205460165492935060ff91821692908216911615801561194e575082155b8015611958575081155b801561196d5750600154600160a81b900460ff165b801561197b57506002548410155b156119e157600f545f9060ff16801561199557505f600554115b80156119ad5750876005546119aa9190613141565b89115b905080156119c3576119be85611e78565b6119ce565b6119ce600254611e78565b80156119df57600f805460ff191690555b505b885f03611a00576119f38b8b5f612089565b5050505050505050505050565b5f83158015611a185750600154600160a01b900460ff165b15611c3a578215611b4157600f5460ff168015611a4c57506005541580611a4c575087600554611a489190613141565b8911155b15611ab65761271080611a5f888261322c565b600f5461ffff91821691611a8391600160281b81048216916101009091041661322c565b611a919061ffff168e61324e565b611a9b919061324e565b611aa59190613265565b611aaf9190613265565b9050611af4565b600f5461271090611ad99061ffff600160281b820481169161010090041661322c565b611ae79061ffff168c61324e565b611af19190613265565b90505b5f611afd612238565b61ffff1690508015611b3b575f612710611b17838e61324e565b611b219190613265565b9050611b2d8e82612341565b611b37818d613284565b9b50505b50611c1c565b8115611c1c57600f5460ff168015611b7057506005541580611b70575087600554611b6c9190613141565b8911155b15611bdc5761271080611b83888261322c565b600f5461ffff91821691611ba991600160281b810482169163010000009091041661322c565b611bb79061ffff168e61324e565b611bc1919061324e565b611bcb9190613265565b611bd59190613265565b9050611c1c565b600f5461271090611c019061ffff600160281b8204811691630100000090041661322c565b611c0f9061ffff168c61324e565b611c199190613265565b90505b8015611c2d57611c2d8c3083612089565b611c37818b613284565b99505b611c458c8c8c612089565b505050505050505050505050565b611c5b6115b8565b6116115f611cb6565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610d09908490612479565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001546040805163a413b53560e01b8152815142935f9384936001600160a01b039092169263a413b5359260048082019392918290030181865afa158015611d4f573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611d7391906131ef565b6004549193509150600160281b900460ff168015611d9d575081600354611d9a9190613141565b83105b15611ddc5760405162461bcd60e51b815260206004820152600f60248201526e1d1c98591a5b99c819195b185e5959608a1b60448201526064016108a8565b600454600160301b900460ff1615610d095780600354611dfc9190613141565b831015611e3e5760405162461bcd60e51b815260206004820152601060248201526f1d1c98591a5b99c8191a5cd8589b195960821b60448201526064016108a8565b6004805460ff60301b191690556040517f799663458a5ef2936f7fa0c99b3336c69c25890f82974f04e811e5bb359186c7905f90a1505050565b6016805460ff1916600190811790915560135490546040805163616a7ca160e11b815290516001600160a01b03938416935f93169163c2d4f9429160048083019260209291908290030181865afa158015611ed5573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190611ef99190613297565b905073eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeed196001600160a01b03831601611fca575f611f2a8461254c565b90508015611fc457600f5460ff1615611f6a575f611f4782612713565b9050611f5c6001600160a01b038416826127bc565b611f668183613284565b9150505b600f54600160281b900461ffff1615611fae575f611f87826128d1565b601154909150611fa0906001600160a01b0316826127bc565b611faa8183613284565b9150505b601054611fc4906001600160a01b0316826127bc565b5061207a565b5f611fd5838561293d565b9050801561207857600f5460ff1615612016575f611ff282612713565b90506120086001600160a01b0385168483611c64565b6120128183613284565b9150505b600f54600160281b900461ffff161561205e575f612033826128d1565b601154909150612050906001600160a01b03868116911683611c64565b61205a8183613284565b9150505b601054612078906001600160a01b03858116911683611c64565b505b50506016805460ff1916905550565b6001600160a01b0383166120ed5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108a8565b6001600160a01b03821661214f5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108a8565b6001600160a01b0383165f908152600a6020526040902054818110156121c65760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108a8565b6001600160a01b038085165f818152600a602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906122259086815260200190565b60405180910390a36117a8848484612b65565b6004545f90640100000000900460ff1661225157505f90565b60015460408051620d426b60e81b8152905142925f92839283926001600160a01b031691630d426b009160048083019260609291908290030181865afa15801561229d573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906122c19190613154565b92509250925060075484036122d857949350505050565b60065484036122e957509392505050565b60055484036122fb5750909392505050565b6007541561230d575f94505050505090565b600654156123215742600755949350505050565b600554156123355750426006559392505050565b50504260055592915050565b6001600160a01b0382166123a15760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108a8565b6001600160a01b0382165f908152600a6020526040902054818110156124145760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108a8565b6001600160a01b0383165f818152600a602090815260408083208686039055600c80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3610d09835f84612b65565b5f6124cd826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612cd39092919063ffffffff16565b905080515f14806124ed5750808060200190518101906124ed91906132b2565b610d095760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016108a8565b600f546040805160028082526060820183525f93600160381b90046001600160a01b0316928492919060208301908036833701905050905030815f8151811061259757612597613119565b60200260200101906001600160a01b031690816001600160a01b031681525050816001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156125f3573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906126179190613297565b8160018151811061262a5761262a613119565b60200260200101906001600160a01b031690816001600160a01b031681525050612655308386611613565b476001600160a01b03831663791ac947865f85306126754261012c613141565b6040518663ffffffff1660e01b81526004016126959594939291906132cd565b5f604051808303815f87803b1580156126ac575f80fd5b505af19250505080156126bd575060015b6126f6573d8080156126ea576040519150601f19603f3d011682016040523d82523d5f602084013e6126ef565b606091505b5050612709565b6127008147613284565b95945050505050565b505f949350505050565b5f8060015f9054906101000a90046001600160a01b03166001600160a01b031663c524e82e6040518163ffffffff1660e01b8152600401602060405180830381865afa158015612765573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906127899190613211565b90506127978161271061322c565b61ffff168161ffff16846127ab919061324e565b6127b59190613265565b9392505050565b8047101561280c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016108a8565b5f826001600160a01b0316826040515f6040518083038185875af1925050503d805f8114612855576040519150601f19603f3d011682016040523d82523d5f602084013e61285a565b606091505b5050905080610d095760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016108a8565b600f545f9061ffff610100820481169163010000008104821691600160281b909104166128ff81600261333e565b612909838561322c565b612913919061322c565b61ffff168161ffff16866002612929919061324e565b612933919061324e565b6127009190613265565b6040805160028082526060820183525f928392919060208301908036833701905050905030815f8151811061297457612974613119565b60200260200101906001600160a01b031690816001600160a01b03168152505083816001815181106129a8576129a8613119565b6001600160a01b039283166020918202929092010152600f54600160381b9004166129d4308286611613565b6040516370a0823160e01b81523060048201525f906001600160a01b038716906370a0823190602401602060405180830381865afa158015612a18573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612a3c9190613364565b90506001600160a01b038216635c11d795865f8630612a5d4261012c613141565b6040518663ffffffff1660e01b8152600401612a7d9594939291906132cd565b5f604051808303815f87803b158015612a94575f80fd5b505af1925050508015612aa5575060015b612ade573d808015612ad2576040519150601f19603f3d011682016040523d82523d5f602084013e612ad7565b606091505b5050612b5a565b6040516370a0823160e01b815230600482015281906001600160a01b038816906370a0823190602401602060405180830381865afa158015612b22573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190612b469190613364565b612b509190613284565b93505050506109e5565b505f95945050505050565b600154600160a01b900460ff16612b7b57505050565b5f612b85600c5490565b6001600160a01b0385165f9081526008602052604090205490915060ff1680612bc557506001600160a01b0383165f9081526008602052604090205460ff165b80612bee575060045461271090612be09061ffff168361324e565b612bea9190613265565b8211155b612c2e5760405162461bcd60e51b81526020600482015260116024820152701d1e08185b5bdd5b9d081b1a5b5a5d1959607a1b60448201526064016108a8565b6001600160a01b0383165f9081526009602052604090205460ff1680612c8f575060045461271090612c6a9062010000900461ffff168361324e565b612c749190613265565b6001600160a01b0384165f908152600a602052604090205411155b6117a85760405162461bcd60e51b81526020600482015260156024820152741c9958d95a5d995c881a1bdb19081b1a5b5a5d1959605a1b60448201526064016108a8565b6060612ce184845f85612ce9565b949350505050565b606082471015612d4a5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016108a8565b5f80866001600160a01b03168587604051612d65919061337b565b5f6040518083038185875af1925050503d805f8114612d9f576040519150601f19603f3d011682016040523d82523d5f602084013e612da4565b606091505b5091509150612db587838387612dc0565b979650505050505050565b60608315612e2e5782515f03612e27576001600160a01b0385163b612e275760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016108a8565b5081612ce1565b612ce18383815115612e435781518083602001fd5b8060405162461bcd60e51b81526004016108a89190612ed6565b61ffff8116811461146a575f80fd5b5f805f60608486031215612e7e575f80fd5b8335612e8981612e5d565b92506020840135612e9981612e5d565b91506040840135612ea981612e5d565b809150509250925092565b5f5b83811015612ece578181015183820152602001612eb6565b50505f910152565b602081525f8251806020840152612ef4816040850160208701612eb4565b601f01601f19169190910160400192915050565b6001600160a01b038116811461146a575f80fd5b5f8060408385031215612f2d575f80fd5b8235612f3881612f08565b946020939093013593505050565b5f805f60608486031215612f58575f80fd5b8335612f6381612f08565b92506020840135612f7381612f08565b929592945050506040919091013590565b801515811461146a575f80fd5b5f60208284031215612fa1575f80fd5b81356127b581612f84565b5f805f60408486031215612fbe575f80fd5b833567ffffffffffffffff80821115612fd5575f80fd5b818601915086601f830112612fe8575f80fd5b813581811115612ff6575f80fd5b8760208260051b850101111561300a575f80fd5b60209283019550935050840135612ea981612f84565b5f60208284031215613030575f80fd5b81356127b581612f08565b5f6020828403121561304b575f80fd5b5035919050565b5f8060408385031215613063575f80fd5b823561306e81612f08565b9150602083013561307e81612f08565b809150509250929050565b5f806040838503121561309a575f80fd5b82356130a581612e5d565b9150602083013561307e81612e5d565b5f80604083850312156130c6575f80fd5b82356130d181612f84565b9150602083013561307e81612f84565b600181811c908216806130f557607f821691505b60208210810361311357634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52603260045260245ffd5b634e487b7160e01b5f52601160045260245ffd5b808201808211156109e5576109e561312d565b5f805f60608486031215613166575f80fd5b835161317181612e5d565b602085015190935061318281612e5d565b6040850151909250612ea981612e5d565b5f805f80608085870312156131a6575f80fd5b84516131b181612e5d565b60208601519094506131c281612e5d565b60408601519093506131d381612e5d565b60608601519092506131e481612e5d565b939692955090935050565b5f8060408385031215613200575f80fd5b505080516020909101519092909150565b5f60208284031215613221575f80fd5b81516127b581612e5d565b61ffff8181168382160190808211156132475761324761312d565b5092915050565b80820281158282048414176109e5576109e561312d565b5f8261327f57634e487b7160e01b5f52601260045260245ffd5b500490565b818103818111156109e5576109e561312d565b5f602082840312156132a7575f80fd5b81516127b581612f08565b5f602082840312156132c2575f80fd5b81516127b581612f84565b5f60a08201878352602087602085015260a0604085015281875180845260c0860191506020890193505f5b8181101561331d5784516001600160a01b0316835293830193918301916001016132f8565b50506001600160a01b03969096166060850152505050608001529392505050565b61ffff81811683821602808216919082811461335c5761335c61312d565b505092915050565b5f60208284031215613374575f80fd5b5051919050565b5f825161338c818460208701612eb4565b919091019291505056fea26469706673582212209356da13a3ca06767b81473e523519325ec7be5535f261f2320fec705ff278e964736f6c63430008160033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004a3aac62572e4a639b1d2988ddb0796c51fa87f2000000000000000000000000d7bb875860fa3fb72d12c5b6f5c1c4fba06bf12400000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000022000000000000000000000000000000000000000000000000000000000000002a000000000000000000000000000000000000000000000000000000000000003200000000000000000000000000000000000000000000000000000000000000420000000000000000000000000000000000000000000000000000000000000002462353763323737332d613638342d313165652d613837302d393235363631313462643661000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007426168616d6173000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007424148414d415300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001968747470733a2f2f742e6d652f426168616d617345544832300000000000000000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000001431e0fae6d7217caa0000000000000000000000000000000d7bb875860fa3fb72d12c5b6f5c1c4fba06bf12400000000000000000000000000000000000000000000000000000000000022c4000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c800000000000000000000000000000000000000000000000000000000000000c8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee0000000000000000000000005fb647fe769a6850a9041680e735b976a9a86bec0000000000000000000000005fb647fe769a6850a9041680e735b976a9a86bec0000000000000000000000000000000000000000000000000000000000000bb80000000000000000000000000000000000000000000000000000000000000bb8000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000015af1d78b58c400000000000000000000000000000000000000000000000000000000000000278d00
-----Decoded View---------------
Arg [0] : factory_ (address): 0x4A3Aac62572E4a639B1D2988DDb0796c51Fa87F2
Arg [1] : deployer_ (address): 0xD7Bb875860fA3fb72D12c5b6F5c1C4FBa06Bf124
Arg [2] : param_ (tuple): System.Collections.Generic.List`1[Nethereum.ABI.FunctionEncoding.ParameterOutput]
-----Encoded View---------------
42 Constructor Arguments found :
Arg [0] : 0000000000000000000000004a3aac62572e4a639b1d2988ddb0796c51fa87f2
Arg [1] : 000000000000000000000000d7bb875860fa3fb72d12c5b6f5c1c4fba06bf124
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [5] : 00000000000000000000000000000000000000000000000000000000000001a0
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001e0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000220
Arg [8] : 00000000000000000000000000000000000000000000000000000000000002a0
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000320
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000420
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000024
Arg [12] : 62353763323737332d613638342d313165652d613837302d3932353636313134
Arg [13] : 6264366100000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [15] : 426168616d617300000000000000000000000000000000000000000000000000
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [17] : 424148414d415300000000000000000000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000019
Arg [19] : 68747470733a2f2f742e6d652f426168616d6173455448323000000000000000
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [21] : 0000000000000000000000000000000000000001431e0fae6d7217caa0000000
Arg [22] : 000000000000000000000000d7bb875860fa3fb72d12c5b6f5c1c4fba06bf124
Arg [23] : 00000000000000000000000000000000000000000000000000000000000022c4
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [25] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [26] : 00000000000000000000000000000000000000000000000000000000000000c8
Arg [27] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [28] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [29] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [30] : 000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee
Arg [31] : 0000000000000000000000005fb647fe769a6850a9041680e735b976a9a86bec
Arg [32] : 0000000000000000000000005fb647fe769a6850a9041680e735b976a9a86bec
Arg [33] : 0000000000000000000000000000000000000000000000000000000000000bb8
Arg [34] : 0000000000000000000000000000000000000000000000000000000000000bb8
Arg [35] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [36] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [37] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [38] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [39] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [40] : 0000000000000000000000000000000000000000000000015af1d78b58c40000
Arg [41] : 0000000000000000000000000000000000000000000000000000000000278d00
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.