ERC-20
Overview
Max Total Supply
1,000,000,000 TEST
Holders
5
Market
Price
$0.00 @ 0.000000 S
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
3,193.579441235887472834 TESTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Source Code Verified (Exact Match)
Contract Name:
Token
Compiler Version
v0.8.25+commit.b61c2a91
Optimization Enabled:
Yes with 200 runs
Other Settings:
cancun EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./utils/token/ERC20.sol"; import "./utils/owner/Ownable.sol"; import "./utils/token/extensions/ERC20Burnable.sol"; contract Token is ERC20, ERC20Burnable, Ownable { uint256 public constant TOTAL_SUPPLY = 1_000_000_000 * 10 ** 18; uint256 public constant TRADING_SUPPLY = 700_000_000 * 10 ** 18; uint256 public constant LP_SUPPLY = 300_000_000 * 10 ** 18; // Transfers are locked until liquidity is added. bool public transfersEnabled = false; constructor(string memory name, string memory symbol) ERC20(name, symbol) { // Mint total supply to the contract itself _mint(address(this), TOTAL_SUPPLY); } /** * @notice Enables token transfers. Should be called once liquidity is added. */ function enableTransfers() external onlyOwner { transfersEnabled = true; } /** * @dev Overrides _beforeTokenTransfer to restrict transfers until transfersEnabled is true, * except if the sender or recipient is the owner */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal override { // Allow minting (from == address(0)) and burning (to == address(0)) if (from != address(0) && to != address(0)) { // Allow transfer if transfers are enabled or if either the sender or recipient is the owner if (from != owner() && to != owner()) { require(transfersEnabled, "Transfers not enabled yet"); } } super._beforeTokenTransfer(from, to, amount); } function transferTradingSupply(address manager) external onlyOwner { // Transfer trading supply to the bonding curve manager _transfer(address(this), manager, TRADING_SUPPLY); } function transferLPSupply(address manager) external onlyOwner { // Transfer LP supply to the bonding curve manager _transfer(address(this), manager, LP_SUPPLY); } function burnFrom(address account, uint256 amount) public virtual override { super.burnFrom(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/ERC20.sol) pragma solidity ^0.8.0; import "./IERC20.sol"; import "./extensions/IERC20Metadata.sol"; import "./extensions/Context.sol"; /** * @dev Implementation of the {IERC20} interface. * * This implementation is agnostic to the way tokens are created. This means * that a supply mechanism has to be added in a derived contract using {_mint}. * For a generic mechanism see {ERC20PresetMinterPauser}. * * TIP: For a detailed writeup see our guide * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How * to implement supply mechanisms]. * * The default value of {decimals} is 18. To change this, you should override * this function so it returns a different value. * * We have followed general OpenZeppelin Contracts guidelines: functions revert * instead returning `false` on failure. This behavior is nonetheless * conventional and does not conflict with the expectations of ERC20 * applications. * * Additionally, an {Approval} event is emitted on calls to {transferFrom}. * This allows applications to reconstruct the allowance for all accounts just * by listening to said events. Other implementations of the EIP may not emit * these events, as it isn't required by the specification. * * Finally, the non-standard {decreaseAllowance} and {increaseAllowance} * functions have been added to mitigate the well-known issues around setting * allowances. See {IERC20-approve}. */ contract ERC20 is Context, IERC20, IERC20Metadata { mapping(address => uint256) private _balances; mapping(address => mapping(address => uint256)) private _allowances; uint256 private _totalSupply; string private _name; string private _symbol; /** * @dev Sets the values for {name} and {symbol}. * * All two of these values are immutable: they can only be set once during * construction. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev Returns the name of the token. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev Returns the symbol of the token, usually a shorter version of the * name. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev Returns the number of decimals used to get its user representation. * For example, if `decimals` equals `2`, a balance of `505` tokens should * be displayed to a user as `5.05` (`505 / 10 ** 2`). * * Tokens usually opt for a value of 18, imitating the relationship between * Ether and Wei. This is the default value returned by this function, unless * it's overridden. * * NOTE: This information is only used for _display_ purposes: it in * no way affects any of the arithmetic of the contract, including * {IERC20-balanceOf} and {IERC20-transfer}. */ function decimals() public view virtual override returns (uint8) { return 18; } /** * @dev See {IERC20-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _totalSupply; } /** * @dev See {IERC20-balanceOf}. */ function balanceOf(address account) public view virtual override returns (uint256) { return _balances[account]; } /** * @dev See {IERC20-transfer}. * * Requirements: * * - `to` cannot be the zero address. * - the caller must have a balance of at least `amount`. */ function transfer(address to, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _transfer(owner, to, amount); return true; } /** * @dev See {IERC20-allowance}. */ function allowance(address owner, address spender) public view virtual override returns (uint256) { return _allowances[owner][spender]; } /** * @dev See {IERC20-approve}. * * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on * `transferFrom`. This is semantically equivalent to an infinite approval. * * Requirements: * * - `spender` cannot be the zero address. */ function approve(address spender, uint256 amount) public virtual override returns (bool) { address owner = _msgSender(); _approve(owner, spender, amount); return true; } /** * @dev See {IERC20-transferFrom}. * * Emits an {Approval} event indicating the updated allowance. This is not * required by the EIP. See the note at the beginning of {ERC20}. * * NOTE: Does not update the allowance if the current allowance * is the maximum `uint256`. * * Requirements: * * - `from` and `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. * - the caller must have allowance for ``from``'s tokens of at least * `amount`. */ function transferFrom(address from, address to, uint256 amount) public virtual override returns (bool) { address spender = _msgSender(); _spendAllowance(from, spender, amount); _transfer(from, to, amount); return true; } /** * @dev Atomically increases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. */ function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) { address owner = _msgSender(); _approve(owner, spender, allowance(owner, spender) + addedValue); return true; } /** * @dev Atomically decreases the allowance granted to `spender` by the caller. * * This is an alternative to {approve} that can be used as a mitigation for * problems described in {IERC20-approve}. * * Emits an {Approval} event indicating the updated allowance. * * Requirements: * * - `spender` cannot be the zero address. * - `spender` must have allowance for the caller of at least * `subtractedValue`. */ function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) { address owner = _msgSender(); uint256 currentAllowance = allowance(owner, spender); require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero"); unchecked { _approve(owner, spender, currentAllowance - subtractedValue); } return true; } /** * @dev Moves `amount` of tokens from `from` to `to`. * * This internal function is equivalent to {transfer}, and can be used to * e.g. implement automatic token fees, slashing mechanisms, etc. * * Emits a {Transfer} event. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `from` must have a balance of at least `amount`. */ function _transfer(address from, address to, uint256 amount) internal virtual { require(from != address(0), "ERC20: transfer from the zero address"); require(to != address(0), "ERC20: transfer to the zero address"); _beforeTokenTransfer(from, to, amount); uint256 fromBalance = _balances[from]; require(fromBalance >= amount, "ERC20: transfer amount exceeds balance"); unchecked { _balances[from] = fromBalance - amount; // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by // decrementing then incrementing. _balances[to] += amount; } emit Transfer(from, to, amount); _afterTokenTransfer(from, to, amount); } /** * @dev Creates `amount` tokens and assigns them to `account`, increasing * the total supply. * * Emits a {Transfer} event with `from` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. */ function _mint(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: mint to the zero address"); _beforeTokenTransfer(address(0), account, amount); _totalSupply += amount; unchecked { // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above. _balances[account] += amount; } emit Transfer(address(0), account, amount); _afterTokenTransfer(address(0), account, amount); } /** * @dev Destroys `amount` tokens from `account`, reducing the * total supply. * * Emits a {Transfer} event with `to` set to the zero address. * * Requirements: * * - `account` cannot be the zero address. * - `account` must have at least `amount` tokens. */ function _burn(address account, uint256 amount) internal virtual { require(account != address(0), "ERC20: burn from the zero address"); _beforeTokenTransfer(account, address(0), amount); uint256 accountBalance = _balances[account]; require(accountBalance >= amount, "ERC20: burn amount exceeds balance"); unchecked { _balances[account] = accountBalance - amount; // Overflow not possible: amount <= accountBalance <= totalSupply. _totalSupply -= amount; } emit Transfer(account, address(0), amount); _afterTokenTransfer(account, address(0), amount); } /** * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens. * * This internal function is equivalent to `approve`, and can be used to * e.g. set automatic allowances for certain subsystems, etc. * * Emits an {Approval} event. * * Requirements: * * - `owner` cannot be the zero address. * - `spender` cannot be the zero address. */ function _approve(address owner, address spender, uint256 amount) internal virtual { require(owner != address(0), "ERC20: approve from the zero address"); require(spender != address(0), "ERC20: approve to the zero address"); _allowances[owner][spender] = amount; emit Approval(owner, spender, amount); } /** * @dev Updates `owner` s allowance for `spender` based on spent `amount`. * * Does not update the allowance amount in case of infinite allowance. * Revert if not enough allowance is available. * * Might emit an {Approval} event. */ function _spendAllowance(address owner, address spender, uint256 amount) internal virtual { uint256 currentAllowance = allowance(owner, spender); if (currentAllowance != type(uint256).max) { require(currentAllowance >= amount, "ERC20: insufficient allowance"); unchecked { _approve(owner, spender, currentAllowance - amount); } } } /** * @dev Hook that is called before any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * will be transferred to `to`. * - when `from` is zero, `amount` tokens will be minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens * has been transferred to `to`. * - when `from` is zero, `amount` tokens have been minted for `to`. * - when `to` is zero, `amount` of ``from``'s tokens have been burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer(address from, address to, uint256 amount) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../token/extensions/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby disabling any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/extensions/ERC20Burnable.sol) pragma solidity ^0.8.0; import "../ERC20.sol"; import "./Context.sol"; /** * @dev Extension of {ERC20} that allows token holders to destroy both their own * tokens and those that they have an allowance for, in a way that can be * recognized off-chain (via event analysis). */ abstract contract ERC20Burnable is Context, ERC20 { /** * @dev Destroys `amount` tokens from the caller. * * See {ERC20-_burn}. */ function burn(uint256 amount) public virtual { _burn(_msgSender(), amount); } /** * @dev Destroys `amount` tokens from `account`, deducting from the caller's * allowance. * * See {ERC20-_burn} and {ERC20-allowance}. * * Requirements: * * - the caller must have allowance for ``accounts``'s tokens of at least * `amount`. */ function burnFrom(address account, uint256 amount) public virtual { _spendAllowance(account, _msgSender(), amount); _burn(account, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom(address from, address to, uint256 amount) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; /** * @dev Interface for the optional metadata functions from the ERC20 standard. * * _Available since v4.1._ */ interface IERC20Metadata is IERC20 { /** * @dev Returns the name of the token. */ function name() external view returns (string memory); /** * @dev Returns the symbol of the token. */ function symbol() external view returns (string memory); /** * @dev Returns the decimals places of the token. */ function decimals() external view returns (uint8); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } function _contextSuffixLength() internal view virtual returns (uint256) { return 0; } }
{ "remappings": [ "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "forge-std/=lib/forge-std/src/", "halmos-cheatcodes/=lib/openzeppelin-contracts/lib/halmos-cheatcodes/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/" ], "optimizer": { "enabled": true, "runs": 200 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "ipfs", "appendCBOR": true }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "cancun", "viaIR": true, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"LP_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TRADING_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"enableTransfers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"transferLPSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"manager","type":"address"}],"name":"transferTradingSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transfersEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
604060808152346103ce576114f38038038061001a816103d2565b928339810182828203126103ce5781516001600160401b03908181116103ce57826100469185016103f7565b92602092838201518381116103ce5761005f92016103f7565b928051918083116102e55760038054936001938486811c961680156103c4575b878710146103b0578190601f96878111610362575b508790878311600114610304575f926102f9575b50505f1982841b1c191690841b1781555b85519182116102e55760049586548481811c911680156102db575b878210146102c857858111610285575b508590858411600114610223579383949184925f95610218575b50501b925f19911b1c19161783555b60055484519190336001600160a01b0382167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a36001600160a81b0319163360ff60a01b19161760055530156101db5750506002546b033b2e3c9fd0803ce8000000928382018092116101c857505f917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9160025530835282815284832084815401905584519384523093a3516110aa90816104498239f35b601190634e487b7160e01b5f525260245ffd5b6064928462461bcd60e51b845283015260248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152fd5b015193505f806100fe565b9190601f19841692885f5284885f20945f5b8a8983831061026e5750505010610255575b50505050811b01835561010d565b01519060f8845f19921b161c191690555f808080610247565b868601518955909701969485019488935001610235565b875f52865f208680860160051c8201928987106102bf575b0160051c019085905b8281106102b45750506100e4565b5f81550185906102a6565b9250819261029d565b602288634e487b7160e01b5f525260245ffd5b90607f16906100d4565b634e487b7160e01b5f52604160045260245ffd5b015190505f806100a8565b90869350601f19831691855f52895f20925f5b8b82821061034c5750508411610335575b505050811b0181556100b9565b01515f1983861b60f8161c191690555f8080610328565b8385015186558a97909501949384019301610317565b909150835f52875f208780850160051c8201928a86106103a7575b918891869594930160051c01915b828110610399575050610094565b5f815585945088910161038b565b9250819261037d565b634e487b7160e01b5f52602260045260245ffd5b95607f169561007f565b5f80fd5b6040519190601f01601f191682016001600160401b038111838210176102e557604052565b81601f820112156103ce578051906001600160401b0382116102e557610426601f8301601f19166020016103d2565b92828452602083830101116103ce57815f9260208093018386015e830101529056fe608060409080825260049081361015610016575f80fd5b5f3560e01c90816306fdde03146109f357508063095ea7b3146109ca57806318160ddd146109ac57806323b872dd14610970578063313ce5671461095557806339509351146108f057806342966c68146108d35780634c0abcdb146108ad5780634f6ef09a146107c6578063670171fd146107a157806370a082311461076b578063715018a61461071057806379cc6790146106df5780638da5cb5b146106b7578063902d55a51461069157806395d89b4114610571578063a457c2d7146104cd578063a9059cbb1461049d578063aa60b06b14610286578063af35c6c714610259578063bef97c8714610233578063dd62ed3e146101ea5763f2fde38b1461011d575f80fd5b346101e65760203660031901126101e657610136610b13565b9061013f610ffc565b6001600160a01b03918216928315610194575050600554826bffffffffffffffffffffffff60a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b5f80fd5b82346101e657806003193601126101e657602090610206610b13565b61020e610b29565b9060018060a01b038091165f5260018452825f2091165f528252805f20549051908152f35b82346101e6575f3660031901126101e65760209060ff60055460a01c1690519015158152f35b346101e6575f3660031901126101e657610271610ffc565b6005805460ff60a01b1916600160a01b179055005b50346101e6576020806003193601126101e6576102a1610b13565b926102aa610ffc565b30159384159461044d576001600160a01b03908116948515806103fe57816103f5575b50610385575b50305f525f8252805f20546b024306c4097859c43c000000938482106103335750905f805160206110558339815191529291305f525f83526b024306c4097859c43bffffff1901815f2055845f52805f20848154019055519283523092a3005b825162461bcd60e51b8152908101849052602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b6005549081168030141590816103ea575b50156102d35760a01c60ff16156103ad575f6102d3565b5162461bcd60e51b8152918201526019602482015278151c985b9cd9995c9cc81b9bdd08195b98589b1959081e595d603a1b604482015260649150fd5b90508514155f610396565b9050155f6102cd565b835162461bcd60e51b8152808701869052602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b505162461bcd60e51b815291820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260849150fd5b82346101e657806003193601126101e6576020906104c66104bc610b13565b6024359033610cd0565b5160018152f35b50346101e657816003193601126101e6576104e6610b13565b9060243590335f526001602052835f2060018060a01b0384165f52602052835f205490828210610520576020856104c68585038733610b3f565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b5090346101e6575f3660031901126101e6578051905f835460018160011c9060018316928315610687575b6020938484108114610674578388529081156106585750600114610604575b505050829003601f01601f191682019267ffffffffffffffff8411838510176105f157508291826105ed925282610ae9565b0390f35b604190634e487b7160e01b5f525260245ffd5b5f878152929350837f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b83851061064457505050508301015f80806105bb565b80548886018301529301928490820161062e565b60ff1916878501525050151560051b84010190505f80806105bb565b602289634e487b7160e01b5f525260245ffd5b91607f169161059c565b82346101e6575f3660031901126101e657602090516b033b2e3c9fd0803ce80000008152f35b82346101e6575f3660031901126101e65760055490516001600160a01b039091168152602090f35b82346101e6573660031901126101e65761070e6106fa610b13565b60243590610709823383610c3d565b610ebe565b005b346101e6575f3660031901126101e657610728610ffc565b600580546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b82346101e65760203660031901126101e6576020906001600160a01b03610790610b13565b165f525f8252805f20549051908152f35b82346101e6575f3660031901126101e657602090516af8277896582678ac0000008152f35b50346101e6576020806003193601126101e6576107e1610b13565b926107ea610ffc565b30159384159461044d576001600160a01b03908116948515806103fe57816108a4575b50610871575b50305f525f8252805f20546af8277896582678ac000000938482106103335750905f805160206110558339815191529291305f525f83526af8277896582678abffffff1901815f2055845f52805f20848154019055519283523092a3005b600554908116803014159081610899575b50156108135760a01c60ff16156103ad575f610813565b90508514155f610882565b9050155f61080d565b82346101e6575f3660031901126101e657602090516b024306c4097859c43c0000008152f35b50346101e65760203660031901126101e65761070e903533610ebe565b5090346101e657806003193601126101e65761090a610b13565b335f526001602052815f2060018060a01b0382165f52602052815f205492602435840180941161094257506020926104c69133610b3f565b601190634e487b7160e01b5f525260245ffd5b82346101e6575f3660031901126101e6576020905160128152f35b82346101e65760603660031901126101e6576020906104c6610990610b13565b610998610b29565b604435916109a7833383610c3d565b610cd0565b82346101e6575f3660031901126101e6576020906002549051908152f35b82346101e657806003193601126101e6576020906104c66109e9610b13565b6024359033610b3f565b905082346101e6575f3660031901126101e6575f60035460018160011c9060018316928315610adf575b602093848410811461067457838852908115610ac35750600114610a6d57505050829003601f01601f191682019267ffffffffffffffff8411838510176105f157508291826105ed925282610ae9565b60035f908152929350837fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b838510610aaf57505050508301018480806105bb565b805488860183015293019284908201610a99565b60ff1916878501525050151560051b84010190508480806105bb565b91607f1691610a1d565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036101e657565b602435906001600160a01b03821682036101e657565b6001600160a01b03908116918215610bec5716918215610b9c5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591835f526001825260405f20855f5282528060405f2055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b9060018060a01b038083165f52600160205260405f209082165f5260205260405f2054925f198403610c70575b50505050565b808410610c8b57610c82930391610b3f565b5f808080610c6a565b60405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606490fd5b6001600160a01b039081168015801594919391929190610e6b57811693841580610e1a5781610e11575b50610d9d575b50815f525f60205260405f2054818110610d4957815f8051602061105583398151915292602092855f525f84520360405f2055845f5260405f20818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b600554908116808414159081610e06575b5015610d005760a01c60ff1615610dc5575f610d00565b60405162461bcd60e51b8152602060048201526019602482015278151c985b9cd9995c9cc81b9bdd08195b98589b1959081e595d603a1b6044820152606490fd5b90508414155f610dae565b9050155f610cfa565b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b6001600160a01b03908116908115801590610fad5780610fa6575b610f74575b50805f525f60205260405f205491808310610f24576020815f80516020611055833981519152925f958587528684520360408620558060025403600255604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b600554908116808314159081610f9c575b5015610ede5760a01c60ff1615610dc5575f610ede565b905015155f610f85565b505f610ed9565b60405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b6005546001600160a01b0316330361101057565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220516cb96d248c9bcf234631f622ec41c178a8c184226f41c8f1a0e73325f9139b64736f6c63430008190033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000004544553540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045445535400000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060409080825260049081361015610016575f80fd5b5f3560e01c90816306fdde03146109f357508063095ea7b3146109ca57806318160ddd146109ac57806323b872dd14610970578063313ce5671461095557806339509351146108f057806342966c68146108d35780634c0abcdb146108ad5780634f6ef09a146107c6578063670171fd146107a157806370a082311461076b578063715018a61461071057806379cc6790146106df5780638da5cb5b146106b7578063902d55a51461069157806395d89b4114610571578063a457c2d7146104cd578063a9059cbb1461049d578063aa60b06b14610286578063af35c6c714610259578063bef97c8714610233578063dd62ed3e146101ea5763f2fde38b1461011d575f80fd5b346101e65760203660031901126101e657610136610b13565b9061013f610ffc565b6001600160a01b03918216928315610194575050600554826bffffffffffffffffffffffff60a01b821617600555167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b906020608492519162461bcd60e51b8352820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152fd5b5f80fd5b82346101e657806003193601126101e657602090610206610b13565b61020e610b29565b9060018060a01b038091165f5260018452825f2091165f528252805f20549051908152f35b82346101e6575f3660031901126101e65760209060ff60055460a01c1690519015158152f35b346101e6575f3660031901126101e657610271610ffc565b6005805460ff60a01b1916600160a01b179055005b50346101e6576020806003193601126101e6576102a1610b13565b926102aa610ffc565b30159384159461044d576001600160a01b03908116948515806103fe57816103f5575b50610385575b50305f525f8252805f20546b024306c4097859c43c000000938482106103335750905f805160206110558339815191529291305f525f83526b024306c4097859c43bffffff1901815f2055845f52805f20848154019055519283523092a3005b825162461bcd60e51b8152908101849052602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b6005549081168030141590816103ea575b50156102d35760a01c60ff16156103ad575f6102d3565b5162461bcd60e51b8152918201526019602482015278151c985b9cd9995c9cc81b9bdd08195b98589b1959081e595d603a1b604482015260649150fd5b90508514155f610396565b9050155f6102cd565b835162461bcd60e51b8152808701869052602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b505162461bcd60e51b815291820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b606482015260849150fd5b82346101e657806003193601126101e6576020906104c66104bc610b13565b6024359033610cd0565b5160018152f35b50346101e657816003193601126101e6576104e6610b13565b9060243590335f526001602052835f2060018060a01b0384165f52602052835f205490828210610520576020856104c68585038733610b3f565b608490602086519162461bcd60e51b8352820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152fd5b5090346101e6575f3660031901126101e6578051905f835460018160011c9060018316928315610687575b6020938484108114610674578388529081156106585750600114610604575b505050829003601f01601f191682019267ffffffffffffffff8411838510176105f157508291826105ed925282610ae9565b0390f35b604190634e487b7160e01b5f525260245ffd5b5f878152929350837f8a35acfbc15ff81a39ae7d344fd709f28e8600b4aa8c65c6b64bfe7fe36bd19b5b83851061064457505050508301015f80806105bb565b80548886018301529301928490820161062e565b60ff1916878501525050151560051b84010190505f80806105bb565b602289634e487b7160e01b5f525260245ffd5b91607f169161059c565b82346101e6575f3660031901126101e657602090516b033b2e3c9fd0803ce80000008152f35b82346101e6575f3660031901126101e65760055490516001600160a01b039091168152602090f35b82346101e6573660031901126101e65761070e6106fa610b13565b60243590610709823383610c3d565b610ebe565b005b346101e6575f3660031901126101e657610728610ffc565b600580546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b82346101e65760203660031901126101e6576020906001600160a01b03610790610b13565b165f525f8252805f20549051908152f35b82346101e6575f3660031901126101e657602090516af8277896582678ac0000008152f35b50346101e6576020806003193601126101e6576107e1610b13565b926107ea610ffc565b30159384159461044d576001600160a01b03908116948515806103fe57816108a4575b50610871575b50305f525f8252805f20546af8277896582678ac000000938482106103335750905f805160206110558339815191529291305f525f83526af8277896582678abffffff1901815f2055845f52805f20848154019055519283523092a3005b600554908116803014159081610899575b50156108135760a01c60ff16156103ad575f610813565b90508514155f610882565b9050155f61080d565b82346101e6575f3660031901126101e657602090516b024306c4097859c43c0000008152f35b50346101e65760203660031901126101e65761070e903533610ebe565b5090346101e657806003193601126101e65761090a610b13565b335f526001602052815f2060018060a01b0382165f52602052815f205492602435840180941161094257506020926104c69133610b3f565b601190634e487b7160e01b5f525260245ffd5b82346101e6575f3660031901126101e6576020905160128152f35b82346101e65760603660031901126101e6576020906104c6610990610b13565b610998610b29565b604435916109a7833383610c3d565b610cd0565b82346101e6575f3660031901126101e6576020906002549051908152f35b82346101e657806003193601126101e6576020906104c66109e9610b13565b6024359033610b3f565b905082346101e6575f3660031901126101e6575f60035460018160011c9060018316928315610adf575b602093848410811461067457838852908115610ac35750600114610a6d57505050829003601f01601f191682019267ffffffffffffffff8411838510176105f157508291826105ed925282610ae9565b60035f908152929350837fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b5b838510610aaf57505050508301018480806105bb565b805488860183015293019284908201610a99565b60ff1916878501525050151560051b84010190508480806105bb565b91607f1691610a1d565b602060409281835280519182918282860152018484015e5f828201840152601f01601f1916010190565b600435906001600160a01b03821682036101e657565b602435906001600160a01b03821682036101e657565b6001600160a01b03908116918215610bec5716918215610b9c5760207f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591835f526001825260405f20855f5282528060405f2055604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608490fd5b60405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608490fd5b9060018060a01b038083165f52600160205260405f209082165f5260205260405f2054925f198403610c70575b50505050565b808410610c8b57610c82930391610b3f565b5f808080610c6a565b60405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606490fd5b6001600160a01b039081168015801594919391929190610e6b57811693841580610e1a5781610e11575b50610d9d575b50815f525f60205260405f2054818110610d4957815f8051602061105583398151915292602092855f525f84520360405f2055845f5260405f20818154019055604051908152a3565b60405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608490fd5b600554908116808414159081610e06575b5015610d005760a01c60ff1615610dc5575f610d00565b60405162461bcd60e51b8152602060048201526019602482015278151c985b9cd9995c9cc81b9bdd08195b98589b1959081e595d603a1b6044820152606490fd5b90508414155f610dae565b9050155f610cfa565b60405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b60405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b6001600160a01b03908116908115801590610fad5780610fa6575b610f74575b50805f525f60205260405f205491808310610f24576020815f80516020611055833981519152925f958587528684520360408620558060025403600255604051908152a3565b60405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608490fd5b600554908116808314159081610f9c575b5015610ede5760a01c60ff1615610dc5575f610ede565b905015155f610f85565b505f610ed9565b60405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b6005546001600160a01b0316330361101057565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220516cb96d248c9bcf234631f622ec41c178a8c184226f41c8f1a0e73325f9139b64736f6c63430008190033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000004544553540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045445535400000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): TEST
Arg [1] : symbol (string): TEST
-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [3] : 5445535400000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 5445535400000000000000000000000000000000000000000000000000000000
[ 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.