ETH Price: $3,330.67 (-1.88%)
Gas: 44 Gwei

Contract

0xFA7221bE35c6606d69Dd1c80018F7B053A63A9A5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve204017252024-07-28 1:20:592 days ago1722129659IN
0xFA7221bE...53A63A9A5
0 ETH0.000094322.0332197
Approve203793072024-07-24 22:13:355 days ago1721859215IN
0xFA7221bE...53A63A9A5
0 ETH0.000228724.89745678
Approve203559112024-07-21 15:49:238 days ago1721576963IN
0xFA7221bE...53A63A9A5
0 ETH0.000266555.71498243
Transfer203258912024-07-17 11:16:3512 days ago1721214995IN
0xFA7221bE...53A63A9A5
0 ETH0.0004830710.31026781
Transfer203258862024-07-17 11:15:3512 days ago1721214935IN
0xFA7221bE...53A63A9A5
0 ETH0.000287639.6672278
Approve203051712024-07-14 13:54:2315 days ago1720965263IN
0xFA7221bE...53A63A9A5
0 ETH0.000159213.41348334
Transfer202979152024-07-13 13:34:4716 days ago1720877687IN
0xFA7221bE...53A63A9A5
0 ETH0.000083451.61611988
Approve201987542024-06-29 17:12:3530 days ago1719681155IN
0xFA7221bE...53A63A9A5
0 ETH0.000206344.42401369
Transfer201434122024-06-21 23:36:1138 days ago1719012971IN
0xFA7221bE...53A63A9A5
0 ETH0.0005556411.85902145
Approve200726242024-06-12 2:00:2348 days ago1718157623IN
0xFA7221bE...53A63A9A5
0 ETH0.0004864510.41610015
Transfer200239552024-06-05 6:52:1155 days ago1717570331IN
0xFA7221bE...53A63A9A5
0 ETH0.000180966.08463232
Approve200232102024-06-05 4:22:5955 days ago1717561379IN
0xFA7221bE...53A63A9A5
0 ETH0.000284146.09193741
Approve200074222024-06-02 23:28:4757 days ago1717370927IN
0xFA7221bE...53A63A9A5
0 ETH0.000273475.85568998
Approve199642852024-05-27 22:47:2363 days ago1716850043IN
0xFA7221bE...53A63A9A5
0 ETH0.0005464311.70046874
Approve199530942024-05-26 9:15:4765 days ago1716714947IN
0xFA7221bE...53A63A9A5
0 ETH0.000286526.14306585
Approve199422402024-05-24 20:51:5966 days ago1716583919IN
0xFA7221bE...53A63A9A5
0 ETH0.000401128.64676234
Approve199204702024-05-21 19:48:3569 days ago1716320915IN
0xFA7221bE...53A63A9A5
0 ETH0.0003442114.09681508
Approve199172282024-05-21 8:56:1170 days ago1716281771IN
0xFA7221bE...53A63A9A5
0 ETH0.000423589.06986328
Approve199012402024-05-19 3:15:4772 days ago1716088547IN
0xFA7221bE...53A63A9A5
0 ETH0.000079273.25446031
Approve198577262024-05-13 1:09:5978 days ago1715562599IN
0xFA7221bE...53A63A9A5
0 ETH0.00013832.9766479
Approve198575722024-05-13 0:38:5978 days ago1715560739IN
0xFA7221bE...53A63A9A5
0 ETH0.000150463.2258737
Approve198564362024-05-12 20:50:4778 days ago1715547047IN
0xFA7221bE...53A63A9A5
0 ETH0.000078143.20808966
Approve198564252024-05-12 20:48:3578 days ago1715546915IN
0xFA7221bE...53A63A9A5
0 ETH0.000095693.23939749
Approve198564092024-05-12 20:45:2378 days ago1715546723IN
0xFA7221bE...53A63A9A5
0 ETH0.000158873.42556528
Approve198385452024-05-10 8:48:5981 days ago1715330939IN
0xFA7221bE...53A63A9A5
0 ETH0.000270765.8050896
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
192094542024-02-12 4:06:47169 days ago1707710807
0xFA7221bE...53A63A9A5
0.2 ETH
192094442024-02-12 4:04:47169 days ago1707710687
0xFA7221bE...53A63A9A5
0.3 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LiquidERC20

Compiler Version
v0.8.24+commit.e11b9ed9

Optimization Enabled:
Yes with 200 runs

Other Settings:
shanghai EvmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT

// Sources flattened with hardhat v2.19.5 https://hardhat.org



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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}


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

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

pragma solidity ^0.8.20;

/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}


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

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

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}


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

// Original license: SPDX_License_Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;

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

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

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


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

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

pragma solidity ^0.8.20;




/**
 * @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}.
 *
 * 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

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


// File @uniswap/v2-periphery/contracts/interfaces/[email protected]

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 @uniswap/v2-periphery/contracts/interfaces/[email protected]

pragma solidity >=0.6.2;

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 contracts/access/TokenOwner.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;

/**
 * @title TokenOwner
 * @dev Ownable contract with deployer set as initial owner.
 */
abstract contract TokenOwner is Ownable {
    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() Ownable(_msgSender()) {}
}


// File @uniswap/v2-core/contracts/interfaces/[email protected]

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 contracts/token/ERC20/extensions/ERC20Liquid.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;

/**
 * @title ERC20Liquid
 * @dev Extension of ERC20 that creates a ETH/TOKEN pair on UniswapV2 Protocol.
 */
abstract contract ERC20Liquid is ERC20 {
    // the address of the Uniswap V2 Router
    IUniswapV2Router02 private immutable _uniswapV2Router;

    // the address of the ETH/TOKEN pair on UniswapV2 Protocol.
    address private immutable _uniswapV2Pair;

    // indicates if liquidity is initialized
    bool private _liquidityInitialized;

    /**
     * @dev Sets the value of the `_uniswapV2Router`.
     * Creates the UniswapV2 Pair for current token with WETH.
     */
    constructor(address uniswapV2Router_) {
        require(uniswapV2Router_ != address(0), "uniswapV2Router cannot be the zero address");

        _uniswapV2Router = IUniswapV2Router02(uniswapV2Router_);

        _uniswapV2Pair = IUniswapV2Factory(_uniswapV2Router.factory()).createPair(
            address(this),
            _uniswapV2Router.WETH()
        );
    }

    /**
     * @dev Returns the UniswapV2 Pair address for current token with WETH.
     */
    function uniswapV2Pair() public view returns (address) {
        return _uniswapV2Pair;
    }

    /**
     * @dev Add the initial liquidity to the UniswapV2 Pair and transfer remaining balance to `msg.sender`.
     * Can only be called once.
     *
     * WARNING: it allows everyone to initialize the liquidity. Access controls MUST be defined in derived contracts.
     *
     * @param initialLiquidity_ The amount of tokens to be put in initial liquidity.
     * @param lockLiquidity_ A boolean indicating if LP tokens will be locked in contract or sent to contract owner.
     */
    function _initLiquidity(uint256 initialLiquidity_, bool lockLiquidity_) internal {
        require(!_liquidityInitialized, "Already initialized");
        require(initialLiquidity_ > 0, "Initial liquidity cannot be zero");
        require(initialLiquidity_ <= totalSupply(), "Liquidity cannot be greater than supply");

        _liquidityInitialized = true;

        super._transfer(address(this), _msgSender(), (totalSupply() - initialLiquidity_));

        super._approve(address(this), address(_uniswapV2Router), initialLiquidity_);

        _uniswapV2Router.addLiquidityETH{value: msg.value}(
            address(this),
            initialLiquidity_,
            0,
            0,
            lockLiquidity_ ? address(this) : _msgSender(),
            block.timestamp
        );
    }
}


// File contracts/service/ServicePayer.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;

/**
 * @title IPayable
 */
interface IPayable {
    function pay(string calldata serviceName, bytes calldata signature, address wallet) external payable;
}

/**
 * @title ServicePayer
 * @dev Utility contract to pay the deployment fee. Used only during construction.
 */
abstract contract ServicePayer {
    constructor(address payable receiver, string memory serviceName, bytes memory signature, address wallet) payable {
        IPayable(receiver).pay{value: msg.value}(serviceName, signature, wallet);
    }
}


// File contracts/token/ERC20/LiquidERC20.sol

// Original license: SPDX_License_Identifier: MIT

pragma solidity ^0.8.20;

/**
 * @title LiquidERC20
 * @dev Implementation of the LiquidERC20.
 */
contract LiquidERC20 is ERC20Liquid, TokenOwner, ServicePayer {
    constructor(
        string memory name_,
        string memory symbol_,
        uint256 initialBalance_,
        address uniswapV2Router_,
        bytes memory signature_,
        address payable feeReceiver_
    )
        payable
        ERC20(name_, symbol_)
        ERC20Liquid(uniswapV2Router_)
        ServicePayer(feeReceiver_, "LiquidERC20", signature_, _msgSender())
    {
        require(initialBalance_ > 0, "Initial supply cannot be zero");

        _mint(address(this), initialBalance_);
    }

    /**
     * @dev Add the initial liquidity to the UniswapV2 Pair and transfer remaining balance to `msg.sender`.
     * Can only be called once.
     *
     * NOTE: restricting access to owner only. See `ERC20Liquid::_initLiquidity`.
     *
     * @param initialLiquidity The amount of tokens to be put in initial liquidity.
     * @param lockLiquidity A boolean indicating if LP tokens will be locked in contract or sent to contract owner.
     */
    function initLiquidity(uint256 initialLiquidity, bool lockLiquidity) external payable onlyOwner {
        super._initLiquidity(initialLiquidity, lockLiquidity);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint256","name":"initialBalance_","type":"uint256"},{"internalType":"address","name":"uniswapV2Router_","type":"address"},{"internalType":"bytes","name":"signature_","type":"bytes"},{"internalType":"address payable","name":"feeReceiver_","type":"address"}],"stateMutability":"payable","type":"constructor"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"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":"value","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":"uint256","name":"initialLiquidity","type":"uint256"},{"internalType":"bool","name":"lockLiquidity","type":"bool"}],"name":"initLiquidity","outputs":[],"stateMutability":"payable","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":"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":"value","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":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c0604052604051620014cd380380620014cd8339810160408190526200002691620005e5565b60408051808201909152600b81526a04c697175696445524332360ac1b60208201528190833333878b8b60036200005e83826200072e565b5060046200006d82826200072e565b5050506001600160a01b038116620000df5760405162461bcd60e51b815260206004820152602a60248201527f756e69737761705632526f757465722063616e6e6f7420626520746865207a65604482015269726f206164647265737360b01b60648201526084015b60405180910390fd5b6001600160a01b03811660808190526040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000128573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906200014e9190620007fa565b6001600160a01b031663c9c65396306080516001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200019c573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620001c29190620007fa565b6040516001600160e01b031960e085901b1681526001600160a01b039283166004820152911660248201526044016020604051808303815f875af11580156200020d573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190620002339190620007fa565b6001600160a01b0390811660a052821690506200026657604051631e4fbdf760e01b81525f6004820152602401620000d6565b620002718162000343565b5060405163346386e160e01b81526001600160a01b0385169063346386e1903490620002a6908790879087906004016200084c565b5f604051808303818588803b158015620002be575f80fd5b505af1158015620002d1573d5f803e3d5ffd5b5050505050505050505f84116200032b5760405162461bcd60e51b815260206004820152601d60248201527f496e697469616c20737570706c792063616e6e6f74206265207a65726f0000006044820152606401620000d6565b6200033730856200039c565b505050505050620008b3565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6001600160a01b038216620003c75760405163ec442f0560e01b81525f6004820152602401620000d6565b620003d45f8383620003d8565b5050565b6001600160a01b03831662000406578060025f828254620003fa91906200088d565b90915550620004789050565b6001600160a01b0383165f90815260208190526040902054818110156200045a5760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401620000d6565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b0382166200049657600280548290039055620004b4565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051620004fa91815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b5f5b83811015620005375781810151838201526020016200051d565b50505f910152565b5f82601f8301126200054f575f80fd5b81516001600160401b03808211156200056c576200056c62000507565b604051601f8301601f19908116603f0116810190828211818310171562000597576200059762000507565b81604052838152866020858801011115620005b0575f80fd5b620005c38460208301602089016200051b565b9695505050505050565b6001600160a01b0381168114620005e2575f80fd5b50565b5f805f805f8060c08789031215620005fb575f80fd5b86516001600160401b038082111562000612575f80fd5b620006208a838b016200053f565b9750602089015191508082111562000636575f80fd5b620006448a838b016200053f565b965060408901519550606089015191506200065f82620005cd565b60808901519194508082111562000674575f80fd5b506200068389828a016200053f565b92505060a08701516200069681620005cd565b809150509295509295509295565b600181811c90821680620006b957607f821691505b602082108103620006d857634e487b7160e01b5f52602260045260245ffd5b50919050565b601f8211156200072957805f5260205f20601f840160051c81016020851015620007055750805b601f840160051c820191505b8181101562000726575f815560010162000711565b50505b505050565b81516001600160401b038111156200074a576200074a62000507565b62000762816200075b8454620006a4565b84620006de565b602080601f83116001811462000798575f8415620007805750858301515b5f19600386901b1c1916600185901b178555620007f2565b5f85815260208120601f198616915b82811015620007c857888601518255948401946001909101908401620007a7565b5085821015620007e657878501515f19600388901b60f8161c191681555b505060018460011b0185555b505050505050565b5f602082840312156200080b575f80fd5b81516200081881620005cd565b9392505050565b5f8151808452620008388160208601602086016200051b565b601f01601f19169290920160200192915050565b606081525f6200086060608301866200081f565b82810360208401526200087481866200081f565b91505060018060a01b0383166040830152949350505050565b80820180821115620008ad57634e487b7160e01b5f52601160045260245ffd5b92915050565b60805160a051610bf1620008dc5f395f61019c01525f81816106e3015261070a0152610bf15ff3fe6080604052600436106100d9575f3560e01c8063715018a61161007c578063a9059cbb11610057578063a9059cbb14610254578063b3031a9c14610273578063dd62ed3e14610286578063f2fde38b146102ca575f80fd5b8063715018a6146102085780638da5cb5b1461021e57806395d89b4114610240575f80fd5b806323b872dd116100b757806323b872dd14610154578063313ce5671461017357806349bd5a5e1461018e57806370a08231146101d4575f80fd5b806306fdde03146100dd578063095ea7b31461010757806318160ddd14610136575b5f80fd5b3480156100e8575f80fd5b506100f16102e9565b6040516100fe91906109d3565b60405180910390f35b348015610112575f80fd5b50610126610121366004610a3a565b610379565b60405190151581526020016100fe565b348015610141575f80fd5b506002545b6040519081526020016100fe565b34801561015f575f80fd5b5061012661016e366004610a62565b610392565b34801561017e575f80fd5b50604051601281526020016100fe565b348015610199575f80fd5b507f00000000000000000000000000000000000000000000000000000000000000005b6040516001600160a01b0390911681526020016100fe565b3480156101df575f80fd5b506101466101ee366004610a9b565b6001600160a01b03165f9081526020819052604090205490565b348015610213575f80fd5b5061021c6103b5565b005b348015610229575f80fd5b5060055461010090046001600160a01b03166101bc565b34801561024b575f80fd5b506100f16103c8565b34801561025f575f80fd5b5061012661026e366004610a3a565b6103d7565b61021c610281366004610abb565b6103e4565b348015610291575f80fd5b506101466102a0366004610aed565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156102d5575f80fd5b5061021c6102e4366004610a9b565b6103fa565b6060600380546102f890610b1e565b80601f016020809104026020016040519081016040528092919081815260200182805461032490610b1e565b801561036f5780601f106103465761010080835404028352916020019161036f565b820191905f5260205f20905b81548152906001019060200180831161035257829003601f168201915b5050505050905090565b5f3361038681858561043c565b60019150505b92915050565b5f3361039f85828561044e565b6103aa8585856104c9565b506001949350505050565b6103bd610526565b6103c65f610559565b565b6060600480546102f890610b1e565b5f336103868185856104c9565b6103ec610526565b6103f682826105b2565b5050565b610402610526565b6001600160a01b03811661043057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61043981610559565b50565b61044983838360016107db565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146104c357818110156104b557604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610427565b6104c384848484035f6107db565b50505050565b6001600160a01b0383166104f257604051634b637e8f60e11b81525f6004820152602401610427565b6001600160a01b03821661051b5760405163ec442f0560e01b81525f6004820152602401610427565b6104498383836108ad565b6005546001600160a01b036101009091041633146103c65760405163118cdaa760e01b8152336004820152602401610427565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b60055460ff16156105fb5760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b6044820152606401610427565b5f821161064a5760405162461bcd60e51b815260206004820181905260248201527f496e697469616c206c69717569646974792063616e6e6f74206265207a65726f6044820152606401610427565b6002548211156106ac5760405162461bcd60e51b815260206004820152602760248201527f4c69717569646974792063616e6e6f742062652067726561746572207468616e60448201526620737570706c7960c81b6064820152608401610427565b6005805460ff191660011790556106dd306106c43390565b846106ce60025490565b6106d89190610b6a565b6104c9565b610708307f00000000000000000000000000000000000000000000000000000000000000008461043c565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f305d7193430855f80876107475733610749565b305b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156107af573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906107d49190610b7d565b5050505050565b6001600160a01b0384166108045760405163e602df0560e01b81525f6004820152602401610427565b6001600160a01b03831661082d57604051634a1406b160e11b81525f6004820152602401610427565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156104c357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161089f91815260200190565b60405180910390a350505050565b6001600160a01b0383166108d7578060025f8282546108cc9190610ba8565b909155506109479050565b6001600160a01b0383165f90815260208190526040902054818110156109295760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610427565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661096357600280548290039055610981565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109c691815260200190565b60405180910390a3505050565b5f602080835283518060208501525f5b818110156109ff578581018301518582016040015282016109e3565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a35575f80fd5b919050565b5f8060408385031215610a4b575f80fd5b610a5483610a1f565b946020939093013593505050565b5f805f60608486031215610a74575f80fd5b610a7d84610a1f565b9250610a8b60208501610a1f565b9150604084013590509250925092565b5f60208284031215610aab575f80fd5b610ab482610a1f565b9392505050565b5f8060408385031215610acc575f80fd5b8235915060208301358015158114610ae2575f80fd5b809150509250929050565b5f8060408385031215610afe575f80fd5b610b0783610a1f565b9150610b1560208401610a1f565b90509250929050565b600181811c90821680610b3257607f821691505b602082108103610b5057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561038c5761038c610b56565b5f805f60608486031215610b8f575f80fd5b8351925060208401519150604084015190509250925092565b8082018082111561038c5761038c610b5656fea2646970667358221220714426422af71a86d6e5a4e0fc43c56551e8271a909c21e1eddec3cbc04d051864736f6c6343000818003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000fc6f7c40458122964d0000000000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000014000000000000000000000000075eee167d2e5cc675f5b07f95d6a93e7088d6c3400000000000000000000000000000000000000000000000000000000000000072463616d6d657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000643414d4d45520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004152d63a02db0f2eba5028e2a0c0c0eb993914dcdb511cb601c6a6669b806c233d6c03d0b71ee7ec574da4fded7a60523bddb05873e708a7c0a72f68bd353164d91c00000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106100d9575f3560e01c8063715018a61161007c578063a9059cbb11610057578063a9059cbb14610254578063b3031a9c14610273578063dd62ed3e14610286578063f2fde38b146102ca575f80fd5b8063715018a6146102085780638da5cb5b1461021e57806395d89b4114610240575f80fd5b806323b872dd116100b757806323b872dd14610154578063313ce5671461017357806349bd5a5e1461018e57806370a08231146101d4575f80fd5b806306fdde03146100dd578063095ea7b31461010757806318160ddd14610136575b5f80fd5b3480156100e8575f80fd5b506100f16102e9565b6040516100fe91906109d3565b60405180910390f35b348015610112575f80fd5b50610126610121366004610a3a565b610379565b60405190151581526020016100fe565b348015610141575f80fd5b506002545b6040519081526020016100fe565b34801561015f575f80fd5b5061012661016e366004610a62565b610392565b34801561017e575f80fd5b50604051601281526020016100fe565b348015610199575f80fd5b507f00000000000000000000000059262237ae60910990a1cbb1dc8feb865d46e9cd5b6040516001600160a01b0390911681526020016100fe565b3480156101df575f80fd5b506101466101ee366004610a9b565b6001600160a01b03165f9081526020819052604090205490565b348015610213575f80fd5b5061021c6103b5565b005b348015610229575f80fd5b5060055461010090046001600160a01b03166101bc565b34801561024b575f80fd5b506100f16103c8565b34801561025f575f80fd5b5061012661026e366004610a3a565b6103d7565b61021c610281366004610abb565b6103e4565b348015610291575f80fd5b506101466102a0366004610aed565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156102d5575f80fd5b5061021c6102e4366004610a9b565b6103fa565b6060600380546102f890610b1e565b80601f016020809104026020016040519081016040528092919081815260200182805461032490610b1e565b801561036f5780601f106103465761010080835404028352916020019161036f565b820191905f5260205f20905b81548152906001019060200180831161035257829003601f168201915b5050505050905090565b5f3361038681858561043c565b60019150505b92915050565b5f3361039f85828561044e565b6103aa8585856104c9565b506001949350505050565b6103bd610526565b6103c65f610559565b565b6060600480546102f890610b1e565b5f336103868185856104c9565b6103ec610526565b6103f682826105b2565b5050565b610402610526565b6001600160a01b03811661043057604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61043981610559565b50565b61044983838360016107db565b505050565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f1981146104c357818110156104b557604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610427565b6104c384848484035f6107db565b50505050565b6001600160a01b0383166104f257604051634b637e8f60e11b81525f6004820152602401610427565b6001600160a01b03821661051b5760405163ec442f0560e01b81525f6004820152602401610427565b6104498383836108ad565b6005546001600160a01b036101009091041633146103c65760405163118cdaa760e01b8152336004820152602401610427565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b60055460ff16156105fb5760405162461bcd60e51b8152602060048201526013602482015272105b1c9958591e481a5b9a5d1a585b1a5e9959606a1b6044820152606401610427565b5f821161064a5760405162461bcd60e51b815260206004820181905260248201527f496e697469616c206c69717569646974792063616e6e6f74206265207a65726f6044820152606401610427565b6002548211156106ac5760405162461bcd60e51b815260206004820152602760248201527f4c69717569646974792063616e6e6f742062652067726561746572207468616e60448201526620737570706c7960c81b6064820152608401610427565b6005805460ff191660011790556106dd306106c43390565b846106ce60025490565b6106d89190610b6a565b6104c9565b610708307f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d8461043c565b7f0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d6001600160a01b031663f305d7193430855f80876107475733610749565b305b60405160e088901b6001600160e01b03191681526001600160a01b03958616600482015260248101949094526044840192909252606483015290911660848201524260a482015260c40160606040518083038185885af11580156107af573d5f803e3d5ffd5b50505050506040513d601f19601f820116820180604052508101906107d49190610b7d565b5050505050565b6001600160a01b0384166108045760405163e602df0560e01b81525f6004820152602401610427565b6001600160a01b03831661082d57604051634a1406b160e11b81525f6004820152602401610427565b6001600160a01b038085165f90815260016020908152604080832093871683529290522082905580156104c357826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161089f91815260200190565b60405180910390a350505050565b6001600160a01b0383166108d7578060025f8282546108cc9190610ba8565b909155506109479050565b6001600160a01b0383165f90815260208190526040902054818110156109295760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610427565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b03821661096357600280548290039055610981565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516109c691815260200190565b60405180910390a3505050565b5f602080835283518060208501525f5b818110156109ff578581018301518582016040015282016109e3565b505f604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b0381168114610a35575f80fd5b919050565b5f8060408385031215610a4b575f80fd5b610a5483610a1f565b946020939093013593505050565b5f805f60608486031215610a74575f80fd5b610a7d84610a1f565b9250610a8b60208501610a1f565b9150604084013590509250925092565b5f60208284031215610aab575f80fd5b610ab482610a1f565b9392505050565b5f8060408385031215610acc575f80fd5b8235915060208301358015158114610ae2575f80fd5b809150509250929050565b5f8060408385031215610afe575f80fd5b610b0783610a1f565b9150610b1560208401610a1f565b90509250929050565b600181811c90821680610b3257607f821691505b602082108103610b5057634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b8181038181111561038c5761038c610b56565b5f805f60608486031215610b8f575f80fd5b8351925060208401519150604084015190509250925092565b8082018082111561038c5761038c610b5656fea2646970667358221220714426422af71a86d6e5a4e0fc43c56551e8271a909c21e1eddec3cbc04d051864736f6c63430008180033

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

00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000fc6f7c40458122964d0000000000000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d000000000000000000000000000000000000000000000000000000000000014000000000000000000000000075eee167d2e5cc675f5b07f95d6a93e7088d6c3400000000000000000000000000000000000000000000000000000000000000072463616d6d657200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000643414d4d45520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004152d63a02db0f2eba5028e2a0c0c0eb993914dcdb511cb601c6a6669b806c233d6c03d0b71ee7ec574da4fded7a60523bddb05873e708a7c0a72f68bd353164d91c00000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): $cammer
Arg [1] : symbol_ (string): CAMMER
Arg [2] : initialBalance_ (uint256): 320000000000000000000000000000000
Arg [3] : uniswapV2Router_ (address): 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D
Arg [4] : signature_ (bytes): 0x52d63a02db0f2eba5028e2a0c0c0eb993914dcdb511cb601c6a6669b806c233d6c03d0b71ee7ec574da4fded7a60523bddb05873e708a7c0a72f68bd353164d91c
Arg [5] : feeReceiver_ (address): 0x75Eee167D2E5cC675f5b07f95d6A93E7088d6c34

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000fc6f7c40458122964d000000000
Arg [3] : 0000000000000000000000007a250d5630b4cf539739df2c5dacb4c659f2488d
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [5] : 00000000000000000000000075eee167d2e5cc675f5b07f95d6a93e7088d6c34
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [7] : 2463616d6d657200000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [9] : 43414d4d45520000000000000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [11] : 52d63a02db0f2eba5028e2a0c0c0eb993914dcdb511cb601c6a6669b806c233d
Arg [12] : 6c03d0b71ee7ec574da4fded7a60523bddb05873e708a7c0a72f68bd353164d9
Arg [13] : 1c00000000000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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