ETH Price: $2,939.23 (-6.12%)
Gas: 8 Gwei

Token

SearchGPT (SONIC)
 

Overview

Max Total Supply

6,900,000,000 SONIC

Holders

165

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
47,766,564.436705875809340159 SONIC

Value
$0.00
0x62b66264d876612b9e5a955b0d812eb37b52d950
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SONIC

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 5 runs

Other Settings:
default evmVersion
File 1 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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 2 of 10 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.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].
 *
 * 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}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * 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 value {ERC20} uses, unless this function is
     * 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 3 of 10 : ERC20Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC20.sol";
import "../../../utils/Context.sol";

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

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

File 4 of 10 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @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 5 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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 6 of 10 : Context.sol
// 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 7 of 10 : IUniswapV2Factory.sol
pragma solidity >=0.5.0;

interface IUniswapV2Factory {
    event PairCreated(address indexed token0, address indexed token1, address pair, uint);

    function feeTo() external view returns (address);
    function feeToSetter() external view returns (address);

    function getPair(address tokenA, address tokenB) external view returns (address pair);
    function allPairs(uint) external view returns (address pair);
    function allPairsLength() external view returns (uint);

    function createPair(address tokenA, address tokenB) external returns (address pair);

    function setFeeTo(address) external;
    function setFeeToSetter(address) external;
}

File 8 of 10 : IUniswapV2Router01.sol
pragma solidity >=0.6.2;

interface IUniswapV2Router01 {
    function factory() external pure returns (address);
    function WETH() external pure returns (address);

    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 addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external payable returns (uint amountToken, uint amountETH, uint liquidity);
    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETH(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountToken, uint amountETH);
    function removeLiquidityWithPermit(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountA, uint amountB);
    function removeLiquidityETHWithPermit(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountToken, uint amountETH);
    function swapExactTokensForTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapTokensForExactTokens(
        uint amountOut,
        uint amountInMax,
        address[] calldata path,
        address to,
        uint deadline
    ) external returns (uint[] memory amounts);
    function swapExactETHForTokens(uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);
    function swapTokensForExactETH(uint amountOut, uint amountInMax, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapExactTokensForETH(uint amountIn, uint amountOutMin, address[] calldata path, address to, uint deadline)
        external
        returns (uint[] memory amounts);
    function swapETHForExactTokens(uint amountOut, address[] calldata path, address to, uint deadline)
        external
        payable
        returns (uint[] memory amounts);

    function quote(uint amountA, uint reserveA, uint reserveB) external pure returns (uint amountB);
    function getAmountOut(uint amountIn, uint reserveIn, uint reserveOut) external pure returns (uint amountOut);
    function getAmountIn(uint amountOut, uint reserveIn, uint reserveOut) external pure returns (uint amountIn);
    function getAmountsOut(uint amountIn, address[] calldata path) external view returns (uint[] memory amounts);
    function getAmountsIn(uint amountOut, address[] calldata path) external view returns (uint[] memory amounts);
}

File 9 of 10 : IUniswapV2Router02.sol
pragma solidity >=0.6.2;

import './IUniswapV2Router01.sol';

interface IUniswapV2Router02 is IUniswapV2Router01 {
    function removeLiquidityETHSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    ) external returns (uint amountETH);
    function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(
        address token,
        uint liquidity,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline,
        bool approveMax, uint8 v, bytes32 r, bytes32 s
    ) external returns (uint amountETH);

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

File 10 of 10 : SONIC.sol
// SPDX-License-Identifier: MIT

/*
  #####  ####### #     # ###  #####  
 #     # #     # ##    #  #  #     # 
 #       #     # # #   #  #  #       
  #####  #     # #  #  #  #  #       
       # #     # #   # #  #  #       
 #     # #     # #    ##  #  #     # 
  #####  ####### #     # ###  #####  
                                     

OpenAI's challenge to Google, SearchGPT (internally code-named Sonic), is poised to shake up the search industry. Are you ready?

Web: https://searchgpt.meme
TG: https://t.me/searchgptmeme
X: https://x.com/searchgptmeme
*/

pragma solidity ^0.8.20;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@uniswap/v2-core/contracts/interfaces/IUniswapV2Factory.sol";
import "@uniswap/v2-periphery/contracts/interfaces/IUniswapV2Router02.sol";

contract SONIC is ERC20, ERC20Burnable, Ownable {

    uint256 public immutable maxSupply;
    uint256 public maxWalletSize;
    uint256 public maxTxAmount;
    bool public tradingEnabled = false;
    IUniswapV2Router02 public swapRouter;
    address public swapPair;

    constructor(
        string memory _name,
        string memory _symbol,
        uint256 _maxSupply,
        uint256 _maxTxPercent,
        uint256 _maxWalletSize
    ) ERC20(_name, _symbol) {
        maxSupply = _maxSupply * 10 ** 18;
        maxWalletSize = (maxSupply * _maxWalletSize) / 100;
        maxTxAmount = (maxSupply * _maxTxPercent) / 100;
        _mint(msg.sender, maxSupply);
    }

    function removeLimits() external onlyOwner {
        maxTxAmount = maxSupply;
        maxWalletSize = maxSupply;
    }

    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal override {
        require(tradingEnabled || from == owner() || to == owner(), "Trading not live.");
        if (maxTxAmount != maxSupply && from != owner() && to != owner()) {
            require(amount <= maxTxAmount, "Exceeds the maxTxAmount.");
            if (from == swapPair && to != address(swapRouter)) {
                require(balanceOf(to) + amount <= maxWalletSize, "Exceeds the maxWalletSize.");
            }
        }
        super._transfer(from, to, amount);
    }

    function createPair() external onlyOwner() {
        require(swapPair == address(0),"Pair already created.");
        swapRouter = IUniswapV2Router02(0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D);
        _approve(address(this), address(swapRouter), maxSupply);
        swapPair = IUniswapV2Factory(swapRouter.factory()).createPair(address(this), swapRouter.WETH());
        IERC20(swapPair).approve(address(swapRouter), type(uint).max);
    }

    function openTrading() external onlyOwner() {
        tradingEnabled = true;
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 5
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxTxPercent","type":"uint256"},{"internalType":"uint256","name":"_maxWalletSize","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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"createPair","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":"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTxAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWalletSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"openTrading","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeLimits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"swapPair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"swapRouter","outputs":[{"internalType":"contract IUniswapV2Router02","name":"","type":"address"}],"stateMutability":"view","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":[],"name":"tradingEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"}]

60a06040526008805460ff191690553480156200001a575f80fd5b50604051620016c8380380620016c88339810160408190526200003d91620002cd565b848460036200004d8382620003d5565b5060046200005c8282620003d5565b5050506200007962000073620000ee60201b60201c565b620000f2565b6200008d83670de0b6b3a7640000620004b5565b6080819052606490620000a2908390620004b5565b620000ae9190620004d5565b600655608051606490620000c4908490620004b5565b620000d09190620004d5565b600755608051620000e390339062000143565b50505050506200050b565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b0382166200019e5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015260640160405180910390fd5b8060025f828254620001b19190620004f5565b90915550506001600160a01b0382165f81815260208181526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35050565b505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011262000230575f80fd5b81516001600160401b03808211156200024d576200024d6200020c565b604051601f8301601f19908116603f011681019082821181831017156200027857620002786200020c565b816040528381526020925086602085880101111562000295575f80fd5b5f91505b83821015620002b8578582018301518183018401529082019062000299565b5f602085830101528094505050505092915050565b5f805f805f60a08688031215620002e2575f80fd5b85516001600160401b0380821115620002f9575f80fd5b6200030789838a0162000220565b965060208801519150808211156200031d575f80fd5b506200032c8882890162000220565b60408801516060890151608090990151979a919950979695509350505050565b600181811c908216806200036157607f821691505b6020821081036200038057634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200020757805f5260205f20601f840160051c81016020851015620003ad5750805b601f840160051c820191505b81811015620003ce575f8155600101620003b9565b5050505050565b81516001600160401b03811115620003f157620003f16200020c565b62000409816200040284546200034c565b8462000386565b602080601f8311600181146200043f575f8415620004275750858301515b5f19600386901b1c1916600185901b17855562000499565b5f85815260208120601f198616915b828110156200046f578886015182559484019460019091019084016200044e565b50858210156200048d57878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b634e487b7160e01b5f52601160045260245ffd5b8082028115828204841417620004cf57620004cf620004a1565b92915050565b5f82620004f057634e487b7160e01b5f52601260045260245ffd5b500490565b80820180821115620004cf57620004cf620004a1565b60805161118f620005395f395f81816102b50152818161042e0152818161052d0152610aad015261118f5ff3fe608060405234801561000f575f80fd5b5060043610610131575f3560e01c806306fdde0314610135578063095ea7b31461015357806318160ddd1461017657806323b872dd1461018857806326991cc81461019b578063313ce567146101c657806339509351146101d557806342966c68146101e85780634ada218b146101fd57806370a082311461020a578063715018a61461021d578063751039fc1461022557806379cc67901461022d5780638c0b5e22146102405780638da5cb5b146102495780638f3fa8601461025157806395d89b411461025a5780639e78fb4f14610262578063a457c2d71461026a578063a9059cbb1461027d578063c31c9c0714610290578063c9567bf9146102a8578063d5abeb01146102b0578063dd62ed3e146102d7578063f2fde38b146102ea575b5f80fd5b61013d6102fd565b60405161014a9190610f70565b60405180910390f35b610166610161366004610fd0565b61038d565b604051901515815260200161014a565b6002545b60405190815260200161014a565b610166610196366004610ffa565b6103a6565b6009546101ae906001600160a01b031681565b6040516001600160a01b03909116815260200161014a565b6040516012815260200161014a565b6101666101e3366004610fd0565b6103c9565b6101fb6101f6366004611038565b6103ea565b005b6008546101669060ff1681565b61017a61021836600461104f565b6103f7565b6101fb610411565b6101fb610424565b6101fb61023b366004610fd0565b610457565b61017a60075481565b6101ae610470565b61017a60065481565b61013d61047f565b6101fb61048e565b610166610278366004610fd0565b610746565b61016661028b366004610fd0565b6107c0565b6008546101ae9061010090046001600160a01b031681565b6101fb6107cd565b61017a7f000000000000000000000000000000000000000000000000000000000000000081565b61017a6102e5366004611071565b6107e4565b6101fb6102f836600461104f565b61080e565b60606003805461030c906110a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610338906110a8565b80156103835780601f1061035a57610100808354040283529160200191610383565b820191905f5260205f20905b81548152906001019060200180831161036657829003601f168201915b5050505050905090565b5f3361039a818585610884565b60019150505b92915050565b5f336103b38582856109a7565b6103be858585610a1f565b506001949350505050565b5f3361039a8185856103db83836107e4565b6103e591906110e0565b610884565b6103f43382610c14565b50565b6001600160a01b03165f9081526020819052604090205490565b610419610d31565b6104225f610d90565b565b61042c610d31565b7f00000000000000000000000000000000000000000000000000000000000000006007819055600655565b6104628233836109a7565b61046c8282610c14565b5050565b6005546001600160a01b031690565b60606004805461030c906110a8565b610496610d31565b6009546001600160a01b0316156104ec5760405162461bcd60e51b81526020600482015260156024820152742830b4b91030b63932b0b23c9031b932b0ba32b21760591b60448201526064015b60405180910390fd5b60088054610100600160a81b031916747a250d5630b4cf539739df2c5dacb4c659f2488d0017908190556105519030906001600160a01b03610100909104167f0000000000000000000000000000000000000000000000000000000000000000610884565b600860019054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c691906110ff565b6001600160a01b031663c9c6539630600860019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610626573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064a91906110ff565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610694573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b891906110ff565b600980546001600160a01b0319166001600160a01b0392831690811790915560085460405163095ea7b360e01b815261010090910490921660048301525f1960248301529063095ea7b3906044016020604051808303815f875af1158015610722573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f4919061111a565b5f338161075382866107e4565b9050838110156107b35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104e3565b6103be8286868403610884565b5f3361039a818585610a1f565b6107d5610d31565b6008805460ff19166001179055565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610816610d31565b6001600160a01b03811661087b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e3565b6103f481610d90565b6001600160a01b0383166108e65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104e3565b6001600160a01b0382166109475760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104e3565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6109b284846107e4565b90505f198114610a195781811015610a0c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104e3565b610a198484848403610884565b50505050565b60085460ff1680610a485750610a33610470565b6001600160a01b0316836001600160a01b0316145b80610a6b5750610a56610470565b6001600160a01b0316826001600160a01b0316145b610aab5760405162461bcd60e51b81526020600482015260116024820152702a3930b234b733903737ba103634bb329760791b60448201526064016104e3565b7f000000000000000000000000000000000000000000000000000000000000000060075414158015610af65750610ae0610470565b6001600160a01b0316836001600160a01b031614155b8015610b1b5750610b05610470565b6001600160a01b0316826001600160a01b031614155b15610c0457600754811115610b6d5760405162461bcd60e51b815260206004820152601860248201527722bc31b2b2b239903a34329036b0bc2a3c20b6b7bab73a1760411b60448201526064016104e3565b6009546001600160a01b038481169116148015610b9d57506008546001600160a01b038381166101009092041614155b15610c045760065481610baf846103f7565b610bb991906110e0565b1115610c045760405162461bcd60e51b815260206004820152601a60248201527922bc31b2b2b239903a34329036b0bc2bb0b63632ba29b4bd329760311b60448201526064016104e3565b610c0f838383610de1565b505050565b6001600160a01b038216610c745760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104e3565b6001600160a01b0382165f9081526020819052604090205481811015610ce75760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104e3565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192915f8051602061113a833981519152910160405180910390a3505050565b33610d3a610470565b6001600160a01b0316146104225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316610e455760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104e3565b6001600160a01b038216610ea75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104e3565b6001600160a01b0383165f9081526020819052604090205481811015610f1e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104e3565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290925f8051602061113a833981519152910160405180910390a3610a19565b5f602080835283518060208501525f5b81811015610f9c57858101830151858201604001528201610f80565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146103f4575f80fd5b5f8060408385031215610fe1575f80fd5b8235610fec81610fbc565b946020939093013593505050565b5f805f6060848603121561100c575f80fd5b833561101781610fbc565b9250602084013561102781610fbc565b929592945050506040919091013590565b5f60208284031215611048575f80fd5b5035919050565b5f6020828403121561105f575f80fd5b813561106a81610fbc565b9392505050565b5f8060408385031215611082575f80fd5b823561108d81610fbc565b9150602083013561109d81610fbc565b809150509250929050565b600181811c908216806110bc57607f821691505b6020821081036110da57634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156103a057634e487b7160e01b5f52601160045260245ffd5b5f6020828403121561110f575f80fd5b815161106a81610fbc565b5f6020828403121561112a575f80fd5b8151801515811461106a575f80fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220712eaf63566e578f60e062c09f50c13d36dfdb426fea3577a7532e19debab22964736f6c6343000817003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000019b45a50000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000953656172636847505400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005534f4e4943000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610131575f3560e01c806306fdde0314610135578063095ea7b31461015357806318160ddd1461017657806323b872dd1461018857806326991cc81461019b578063313ce567146101c657806339509351146101d557806342966c68146101e85780634ada218b146101fd57806370a082311461020a578063715018a61461021d578063751039fc1461022557806379cc67901461022d5780638c0b5e22146102405780638da5cb5b146102495780638f3fa8601461025157806395d89b411461025a5780639e78fb4f14610262578063a457c2d71461026a578063a9059cbb1461027d578063c31c9c0714610290578063c9567bf9146102a8578063d5abeb01146102b0578063dd62ed3e146102d7578063f2fde38b146102ea575b5f80fd5b61013d6102fd565b60405161014a9190610f70565b60405180910390f35b610166610161366004610fd0565b61038d565b604051901515815260200161014a565b6002545b60405190815260200161014a565b610166610196366004610ffa565b6103a6565b6009546101ae906001600160a01b031681565b6040516001600160a01b03909116815260200161014a565b6040516012815260200161014a565b6101666101e3366004610fd0565b6103c9565b6101fb6101f6366004611038565b6103ea565b005b6008546101669060ff1681565b61017a61021836600461104f565b6103f7565b6101fb610411565b6101fb610424565b6101fb61023b366004610fd0565b610457565b61017a60075481565b6101ae610470565b61017a60065481565b61013d61047f565b6101fb61048e565b610166610278366004610fd0565b610746565b61016661028b366004610fd0565b6107c0565b6008546101ae9061010090046001600160a01b031681565b6101fb6107cd565b61017a7f0000000000000000000000000000000000000000164b8bd581eb74d77400000081565b61017a6102e5366004611071565b6107e4565b6101fb6102f836600461104f565b61080e565b60606003805461030c906110a8565b80601f0160208091040260200160405190810160405280929190818152602001828054610338906110a8565b80156103835780601f1061035a57610100808354040283529160200191610383565b820191905f5260205f20905b81548152906001019060200180831161036657829003601f168201915b5050505050905090565b5f3361039a818585610884565b60019150505b92915050565b5f336103b38582856109a7565b6103be858585610a1f565b506001949350505050565b5f3361039a8185856103db83836107e4565b6103e591906110e0565b610884565b6103f43382610c14565b50565b6001600160a01b03165f9081526020819052604090205490565b610419610d31565b6104225f610d90565b565b61042c610d31565b7f0000000000000000000000000000000000000000164b8bd581eb74d7740000006007819055600655565b6104628233836109a7565b61046c8282610c14565b5050565b6005546001600160a01b031690565b60606004805461030c906110a8565b610496610d31565b6009546001600160a01b0316156104ec5760405162461bcd60e51b81526020600482015260156024820152742830b4b91030b63932b0b23c9031b932b0ba32b21760591b60448201526064015b60405180910390fd5b60088054610100600160a81b031916747a250d5630b4cf539739df2c5dacb4c659f2488d0017908190556105519030906001600160a01b03610100909104167f0000000000000000000000000000000000000000164b8bd581eb74d774000000610884565b600860019054906101000a90046001600160a01b03166001600160a01b031663c45a01556040518163ffffffff1660e01b8152600401602060405180830381865afa1580156105a2573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906105c691906110ff565b6001600160a01b031663c9c6539630600860019054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015610626573d5f803e3d5ffd5b505050506040513d601f19601f8201168201806040525081019061064a91906110ff565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af1158015610694573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106b891906110ff565b600980546001600160a01b0319166001600160a01b0392831690811790915560085460405163095ea7b360e01b815261010090910490921660048301525f1960248301529063095ea7b3906044016020604051808303815f875af1158015610722573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103f4919061111a565b5f338161075382866107e4565b9050838110156107b35760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016104e3565b6103be8286868403610884565b5f3361039a818585610a1f565b6107d5610d31565b6008805460ff19166001179055565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b610816610d31565b6001600160a01b03811661087b5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104e3565b6103f481610d90565b6001600160a01b0383166108e65760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016104e3565b6001600160a01b0382166109475760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016104e3565b6001600160a01b038381165f8181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b5f6109b284846107e4565b90505f198114610a195781811015610a0c5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016104e3565b610a198484848403610884565b50505050565b60085460ff1680610a485750610a33610470565b6001600160a01b0316836001600160a01b0316145b80610a6b5750610a56610470565b6001600160a01b0316826001600160a01b0316145b610aab5760405162461bcd60e51b81526020600482015260116024820152702a3930b234b733903737ba103634bb329760791b60448201526064016104e3565b7f0000000000000000000000000000000000000000164b8bd581eb74d77400000060075414158015610af65750610ae0610470565b6001600160a01b0316836001600160a01b031614155b8015610b1b5750610b05610470565b6001600160a01b0316826001600160a01b031614155b15610c0457600754811115610b6d5760405162461bcd60e51b815260206004820152601860248201527722bc31b2b2b239903a34329036b0bc2a3c20b6b7bab73a1760411b60448201526064016104e3565b6009546001600160a01b038481169116148015610b9d57506008546001600160a01b038381166101009092041614155b15610c045760065481610baf846103f7565b610bb991906110e0565b1115610c045760405162461bcd60e51b815260206004820152601a60248201527922bc31b2b2b239903a34329036b0bc2bb0b63632ba29b4bd329760311b60448201526064016104e3565b610c0f838383610de1565b505050565b6001600160a01b038216610c745760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016104e3565b6001600160a01b0382165f9081526020819052604090205481811015610ce75760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016104e3565b6001600160a01b0383165f818152602081815260408083208686039055600280548790039055518581529192915f8051602061113a833981519152910160405180910390a3505050565b33610d3a610470565b6001600160a01b0316146104225760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016104e3565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038316610e455760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016104e3565b6001600160a01b038216610ea75760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016104e3565b6001600160a01b0383165f9081526020819052604090205481811015610f1e5760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016104e3565b6001600160a01b038481165f81815260208181526040808320878703905593871680835291849020805487019055925185815290925f8051602061113a833981519152910160405180910390a3610a19565b5f602080835283518060208501525f5b81811015610f9c57858101830151858201604001528201610f80565b505f604082860101526040601f19601f8301168501019250505092915050565b6001600160a01b03811681146103f4575f80fd5b5f8060408385031215610fe1575f80fd5b8235610fec81610fbc565b946020939093013593505050565b5f805f6060848603121561100c575f80fd5b833561101781610fbc565b9250602084013561102781610fbc565b929592945050506040919091013590565b5f60208284031215611048575f80fd5b5035919050565b5f6020828403121561105f575f80fd5b813561106a81610fbc565b9392505050565b5f8060408385031215611082575f80fd5b823561108d81610fbc565b9150602083013561109d81610fbc565b809150509250929050565b600181811c908216806110bc57607f821691505b6020821081036110da57634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156103a057634e487b7160e01b5f52601160045260245ffd5b5f6020828403121561110f575f80fd5b815161106a81610fbc565b5f6020828403121561112a575f80fd5b8151801515811461106a575f80fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220712eaf63566e578f60e062c09f50c13d36dfdb426fea3577a7532e19debab22964736f6c63430008170033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000019b45a50000000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000953656172636847505400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005534f4e4943000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): SearchGPT
Arg [1] : _symbol (string): SONIC
Arg [2] : _maxSupply (uint256): 6900000000
Arg [3] : _maxTxPercent (uint256): 2
Arg [4] : _maxWalletSize (uint256): 4

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 000000000000000000000000000000000000000000000000000000019b45a500
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [6] : 5365617263684750540000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 534f4e4943000000000000000000000000000000000000000000000000000000


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.