账户
0xb1...ca3a
0xB1...Ca3a

0xB1...Ca3a

$500
此合同的源代码已经过验证!
合同元数据
编译器
0.8.26+commit.8a97fa7a
语言
Solidity
合同源代码
文件 1 的 6:Address.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/**
 * @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);
        }
    }
}
合同源代码
文件 2 的 6:Context.sol
// SPDX-License-Identifier: MIT

/*
Token Created on eNORMUSPUMP.FUN
Launch a token paying only gas fees.
No liquidity needed
*/

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;
    }
}
合同源代码
文件 3 的 6:ERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./Ownable.sol";
import "./Address.sol";
import "./IDeployToken.sol";

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

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

    uint256 private _totalSupply;
    string public name;
    string public symbol;
    uint8 public decimals = 18;

    bool public isLaunched;
    bool isLocked;

    DeployParams tokenDetails;

    uint256 private deployTime;

    address _tokenLocker;

    address public pairAddress;

    address _uniswapAddress;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(
        DeployParams memory params,
        address tokenLocker_,
        address uniswapAddress_,
        uint256 totalSupply_
    ) {
        name = params.name;
        symbol = params.symbol;
        deployTime = block.timestamp;
        tokenDetails = params;
        _tokenLocker = tokenLocker_;
        _uniswapAddress = uniswapAddress_;
        _totalSupply = totalSupply_;
        _balances[owner()] += totalSupply_;
        emit Transfer(address(0), owner(), totalSupply_);
    }

    function launch(address pair) public onlyOwner {
        isLaunched = true;
        renounceOwnership();
        pairAddress = pair;
    }

    function _checkTransfer(address from, address to) private view returns (bool) {
        if (from == owner() || to == owner()) return true;
        if (from.isContract() || to.isContract()) return false;
        return true;
    }

    function beforeLaunch(
        address from,
        address to,
        uint256 amount
    ) internal view {
        if ((tokenDetails.tIBMaxWallet.initialMaxWalletMultipler != 0 || tokenDetails.tIBMaxWallet.finalMaxWalletMultipler != 0) && to != owner()) {
            uint256 _maxAmount = getTaxAmount(tokenDetails.tIBMaxWallet.initialMaxWalletMultipler, tokenDetails.tIBMaxWallet.initialMaxWalletDivider, tokenDetails.tIBMaxWallet.timeInterval, tokenDetails.tIBMaxWallet.finalMaxWalletMultipler, tokenDetails.tIBMaxWallet.finalMaxWalletDivider, _totalSupply);
            if (_maxAmount != 0) {
                require(_maxAmount >= _balances[to] + amount, "Max wallet balance reached.");
            }
        }

        if (tokenDetails.tIBMaxTx.initialMaxTxMultipler != 0 || tokenDetails.tIBMaxTx.initialMaxTxMultipler != 0) {
            uint256 _maxAmount = getTaxAmount(tokenDetails.tIBMaxTx.initialMaxTxMultipler, tokenDetails.tIBMaxTx.initialMaxTxDivider, tokenDetails.tIBMaxTx.timeInterval, tokenDetails.tIBMaxTx.finalMaxTxMultipler, tokenDetails.tIBMaxTx.finalMaxTxDivider, _totalSupply);
            if (_maxAmount != 0) {
                require(_maxAmount >= amount, "Max transcation value reached.");
            }
        }

        if ((tokenDetails.tIBMaxBuy.initialMaxBuyMultipler != 0 || tokenDetails.tIBMaxBuy.finalMaxBuyMultipler != 0) && from == owner()) {
            uint256 _maxAmount = getTaxAmount(tokenDetails.tIBMaxBuy.initialMaxBuyMultipler, tokenDetails.tIBMaxBuy.initialMaxBuyDivider, tokenDetails.tIBMaxBuy.timeInterval, tokenDetails.tIBMaxBuy.finalMaxBuyMultipler, tokenDetails.tIBMaxBuy.finalMaxBuyDivider, _totalSupply);
            if (_maxAmount != 0) {
                require(_maxAmount >= amount, "Max buy value reached.");
            }
        }
    }

    function getTaxAmount(
        uint256 initialMutipler,
        uint256 initialDivider,
        uint256 timeInterval,
        uint256 finalMutipler,
        uint256 finalDivider,
        uint256 amount
    ) internal view returns (uint256 amount_) {
        if (block.timestamp < deployTime + timeInterval) {
            amount_ = ((amount * initialMutipler) / (initialDivider * 100));
            return amount_;
        }
        amount_ = ((amount * finalMutipler) / (finalDivider * 100));
    }

    /**
     * @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), "transfer from the zero address");
        require(to != address(0), "transfer to the zero address");
        if (!isLaunched && from != _tokenLocker && to != _tokenLocker) {
            require(_checkTransfer(from, to), "Token can not be listed before launch.");
            beforeLaunch(from, to, amount);
        }
        uint256 tax;
        if (isLaunched) {
            if (from == pairAddress) {
                if (tokenDetails.tIBMaxBuyTax.initialMaxBuyTaxMultipler != 0 || tokenDetails.tIBMaxBuyTax.finalMaxBuyTaxMultipler != 0) {
                    tax = getTaxAmount(tokenDetails.tIBMaxBuyTax.initialMaxBuyTaxMultipler, tokenDetails.tIBMaxBuyTax.initialMaxBuyTaxDivider, tokenDetails.tIBMaxBuyTax.timeInterval, tokenDetails.tIBMaxBuyTax.finalMaxBuyTaxMultipler, tokenDetails.tIBMaxBuyTax.finalMaxBuyTaxDivider, amount);
                }
            } else if (to == pairAddress) {
                if (tokenDetails.tIBMaxSellTax.initialMaxSellTaxMultipler != 0 || tokenDetails.tIBMaxSellTax.finalMaxSellTaxMultipler != 0) {
                    tax = getTaxAmount(tokenDetails.tIBMaxSellTax.initialMaxSellTaxMultipler, tokenDetails.tIBMaxSellTax.initialMaxSellTaxDivider, tokenDetails.tIBMaxSellTax.timeInterval, tokenDetails.tIBMaxSellTax.finalMaxSellTaxMultipler, tokenDetails.tIBMaxSellTax.finalMaxSellTaxDivider, amount);
                }
            } else {
                if (tokenDetails.tIBMaxTransferTax.initialMaxTransferTaxMultipler != 0 || tokenDetails.tIBMaxTransferTax.finalMaxTransferTaxMultipler != 0) {
                    tax = getTaxAmount(tokenDetails.tIBMaxTransferTax.initialMaxTransferTaxMultipler, tokenDetails.tIBMaxTransferTax.initialMaxTransferTaxDivider, tokenDetails.tIBMaxTransferTax.timeInterval, tokenDetails.tIBMaxTransferTax.finalMaxTransferTaxMultipler, tokenDetails.tIBMaxTransferTax.finalMaxTransferTaxDivider, amount);
                }
            }
        }
        require(_balances[from] >= amount, "transfer amount exceeds balance");
        _balances[from] -= amount;
        _balances[to] += (amount - tax);
        if (tax != 0) {
            _balances[tokenDetails.walletAdressForTax] += tax;
            emit Transfer(from, tokenDetails.walletAdressForTax, tax);
        }
        emit Transfer(from, to, amount - tax);
    }

    function _internalTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "transfer from the zero address");
        require(to != address(0), "transfer to the zero address");
        require(_balances[from] >= amount, "transfer amount exceeds balance");
        _balances[from] -= amount;
        _balances[to] += amount;
        emit Transfer(from, to, amount);
    }

    function deploySupplyTransfer(address to, uint256 amount) external onlyOwner {
        _internalTransfer(owner(), to, amount);
    }

    /**
     * @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) {
        _transfer(_msgSender(), 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();
        if ((isLaunched == false && from == owner() && spender == _uniswapAddress)) {
            _internalTransfer(from, to, amount);
        } else if (to == _tokenLocker && spender == _tokenLocker && tokenDetails.lockTimeOfDeployerTokens != 0 && !isLocked) {
            isLocked = true;
            _internalTransfer(from, to, amount);
        } else if (isLaunched == false && to == owner() && spender == owner()) {
            _transfer(from, to, amount);
        } else {
            _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, "decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }
        return true;
    }

    /**
     * @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), "approve from the zero address");
        require(spender != address(0), "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, "insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }
}
合同源代码
文件 4 的 6:IDeployToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface IDeployToken {
    struct TIBMaxWallet {
        uint256 initialMaxWalletMultipler;
        uint256 initialMaxWalletDivider;
        uint256 timeInterval;
        uint256 finalMaxWalletMultipler;
        uint256 finalMaxWalletDivider;
    }
    struct TIBMaxTx {
        uint256 initialMaxTxMultipler;
        uint256 initialMaxTxDivider;
        uint256 timeInterval;
        uint256 finalMaxTxMultipler;
        uint256 finalMaxTxDivider;
    }
    struct TIBMaxBuy {
        uint256 initialMaxBuyMultipler;
        uint256 initialMaxBuyDivider;
        uint256 timeInterval;
        uint256 finalMaxBuyMultipler;
        uint256 finalMaxBuyDivider;
    }

    struct TIBMaxBuyTax {
        uint256 initialMaxBuyTaxMultipler;
        uint256 initialMaxBuyTaxDivider;
        uint256 timeInterval;
        uint256 finalMaxBuyTaxMultipler;
        uint256 finalMaxBuyTaxDivider;
    }

    struct TIBMaxSellTax {
        uint256 initialMaxSellTaxMultipler;
        uint256 initialMaxSellTaxDivider;
        uint256 timeInterval;
        uint256 finalMaxSellTaxMultipler;
        uint256 finalMaxSellTaxDivider;
    }

    struct TIBMaxTransferTax {
        uint256 initialMaxTransferTaxMultipler;
        uint256 initialMaxTransferTaxDivider;
        uint256 timeInterval;
        uint256 finalMaxTransferTaxMultipler;
        uint256 finalMaxTransferTaxDivider;
    }

    struct DeployParams {
        string name;
        string symbol;
        string tokenUrl;
        uint256 deployerSupply;
        uint256 lockTimeOfDeployerTokens;
        TIBMaxWallet tIBMaxWallet;
        TIBMaxTx tIBMaxTx;
        TIBMaxBuy tIBMaxBuy;
        TIBMaxBuyTax tIBMaxBuyTax;
        TIBMaxSellTax tIBMaxSellTax;
        TIBMaxTransferTax tIBMaxTransferTax;
        address walletAdressForTax;
        uint256 bondingCurve;
        address refferal;
    }
}
合同源代码
文件 5 的 6:IERC20.sol
// SPDX-License-Identifier: MIT
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);
}
合同源代码
文件 6 的 6:Ownable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./Context.sol";

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}
设置
{
  "compilationTarget": {
    "ERC20.sol": "ERC20"
  },
  "evmVersion": "cancun",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "remappings": []
}
ABI
[{"inputs":[{"components":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"tokenUrl","type":"string"},{"internalType":"uint256","name":"deployerSupply","type":"uint256"},{"internalType":"uint256","name":"lockTimeOfDeployerTokens","type":"uint256"},{"components":[{"internalType":"uint256","name":"initialMaxWalletMultipler","type":"uint256"},{"internalType":"uint256","name":"initialMaxWalletDivider","type":"uint256"},{"internalType":"uint256","name":"timeInterval","type":"uint256"},{"internalType":"uint256","name":"finalMaxWalletMultipler","type":"uint256"},{"internalType":"uint256","name":"finalMaxWalletDivider","type":"uint256"}],"internalType":"struct IDeployToken.TIBMaxWallet","name":"tIBMaxWallet","type":"tuple"},{"components":[{"internalType":"uint256","name":"initialMaxTxMultipler","type":"uint256"},{"internalType":"uint256","name":"initialMaxTxDivider","type":"uint256"},{"internalType":"uint256","name":"timeInterval","type":"uint256"},{"internalType":"uint256","name":"finalMaxTxMultipler","type":"uint256"},{"internalType":"uint256","name":"finalMaxTxDivider","type":"uint256"}],"internalType":"struct IDeployToken.TIBMaxTx","name":"tIBMaxTx","type":"tuple"},{"components":[{"internalType":"uint256","name":"initialMaxBuyMultipler","type":"uint256"},{"internalType":"uint256","name":"initialMaxBuyDivider","type":"uint256"},{"internalType":"uint256","name":"timeInterval","type":"uint256"},{"internalType":"uint256","name":"finalMaxBuyMultipler","type":"uint256"},{"internalType":"uint256","name":"finalMaxBuyDivider","type":"uint256"}],"internalType":"struct IDeployToken.TIBMaxBuy","name":"tIBMaxBuy","type":"tuple"},{"components":[{"internalType":"uint256","name":"initialMaxBuyTaxMultipler","type":"uint256"},{"internalType":"uint256","name":"initialMaxBuyTaxDivider","type":"uint256"},{"internalType":"uint256","name":"timeInterval","type":"uint256"},{"internalType":"uint256","name":"finalMaxBuyTaxMultipler","type":"uint256"},{"internalType":"uint256","name":"finalMaxBuyTaxDivider","type":"uint256"}],"internalType":"struct IDeployToken.TIBMaxBuyTax","name":"tIBMaxBuyTax","type":"tuple"},{"components":[{"internalType":"uint256","name":"initialMaxSellTaxMultipler","type":"uint256"},{"internalType":"uint256","name":"initialMaxSellTaxDivider","type":"uint256"},{"internalType":"uint256","name":"timeInterval","type":"uint256"},{"internalType":"uint256","name":"finalMaxSellTaxMultipler","type":"uint256"},{"internalType":"uint256","name":"finalMaxSellTaxDivider","type":"uint256"}],"internalType":"struct IDeployToken.TIBMaxSellTax","name":"tIBMaxSellTax","type":"tuple"},{"components":[{"internalType":"uint256","name":"initialMaxTransferTaxMultipler","type":"uint256"},{"internalType":"uint256","name":"initialMaxTransferTaxDivider","type":"uint256"},{"internalType":"uint256","name":"timeInterval","type":"uint256"},{"internalType":"uint256","name":"finalMaxTransferTaxMultipler","type":"uint256"},{"internalType":"uint256","name":"finalMaxTransferTaxDivider","type":"uint256"}],"internalType":"struct IDeployToken.TIBMaxTransferTax","name":"tIBMaxTransferTax","type":"tuple"},{"internalType":"address","name":"walletAdressForTax","type":"address"},{"internalType":"uint256","name":"bondingCurve","type":"uint256"},{"internalType":"address","name":"refferal","type":"address"}],"internalType":"struct IDeployToken.DeployParams","name":"params","type":"tuple"},{"internalType":"address","name":"tokenLocker_","type":"address"},{"internalType":"address","name":"uniswapAddress_","type":"address"},{"internalType":"uint256","name":"totalSupply_","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":[{"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":"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":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"deploySupplyTransfer","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":[],"name":"isLaunched","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"pair","type":"address"}],"name":"launch","outputs":[],"stateMutability":"nonpayable","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":[],"name":"pairAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","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":"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"}]