ERC-20
DEX
Overview
Max Total Supply
100,000,000 METRO
Holders
1,175 ( 1.279%)
Market
Price
$1.50 @ 2.111076 S (+17.29%)
Onchain Market Cap
$150,000,000.00
Circulating Supply Market Cap
$7,513,125.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
241.006598767631498274 METROValue
$361.51 ( ~508.7834 S) [0.0002%]Loading...
Loading
Loading...
Loading
Loading...
Loading
Contract Name:
Metro
Compiler Version
v0.8.20+commit.a1b79de6
Optimization Enabled:
Yes with 800 runs
Other Settings:
paris EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
1234567891011121314151617181920212223// SPDX-License-Identifier: MIT// Compatible with OpenZeppelin Contracts ^5.0.0pragma solidity ^0.8.20;import {ERC20} from "openzeppelin/token/ERC20/ERC20.sol";import {ERC20Permit} from "openzeppelin/token/ERC20/extensions/ERC20Permit.sol";import {Ownable} from "openzeppelin/access/Ownable.sol";import {IMetro} from "../interfaces/IMetro.sol";contract Metro is ERC20, Ownable, ERC20Permit, IMetro {constructor(address initialOwner)ERC20("Metropolis Token", "METRO")Ownable(initialOwner)ERC20Permit("Metropolis Token"){}function mint(address to, uint256 amount) external override onlyOwner returns (uint256) {if (amount > 0) _mint(to, amount);return amount;}}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)pragma solidity ^0.8.20;import {IERC20} from "./IERC20.sol";import {IERC20Metadata} from "./extensions/IERC20Metadata.sol";import {Context} from "../../utils/Context.sol";import {IERC20Errors} from "../../interfaces/draft-IERC6093.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}.** 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
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Permit.sol)pragma solidity ^0.8.20;import {IERC20Permit} from "./IERC20Permit.sol";import {ERC20} from "../ERC20.sol";import {ECDSA} from "../../../utils/cryptography/ECDSA.sol";import {EIP712} from "../../../utils/cryptography/EIP712.sol";import {Nonces} from "../../../utils/Nonces.sol";/*** @dev Implementation of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].** Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by* presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't* need to send a transaction, and thus is not required to hold Ether at all.*/abstract contract ERC20Permit is ERC20, IERC20Permit, EIP712, Nonces {bytes32 private constant PERMIT_TYPEHASH =keccak256("Permit(address owner,address spender,uint256 value,uint256 nonce,uint256 deadline)");/*** @dev Permit deadline has expired.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)pragma solidity ^0.8.20;import {Context} from "../utils/Context.sol";/*** @dev Contract module which provides a basic access control mechanism, where* there is an account (an owner) that can be granted exclusive access to* specific functions.** The initial owner is set to the address provided by the deployer. This can* later be changed with {transferOwnership}.** This module is used through inheritance. It will make available the modifier* `onlyOwner`, which can be applied to your functions to restrict their use to* the owner.*/abstract contract Ownable is Context {address private _owner;/*** @dev The caller account is not authorized to perform an operation.*/error OwnableUnauthorizedAccount(address account);
12345678// SPDX-License-Identifier: MITpragma solidity ^0.8.20;import {IERC20} from "openzeppelin/token/ERC20/IERC20.sol";interface IMetro is IERC20 {function mint(address account, uint256 amount) external returns (uint256);}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)pragma solidity ^0.8.20;/*** @dev Interface of the ERC20 standard as defined in the EIP.*/interface IERC20 {/*** @dev Emitted when `value` tokens are moved from one account (`from`) to* another (`to`).** Note that `value` may be zero.*/event Transfer(address indexed from, address indexed to, uint256 value);/*** @dev Emitted when the allowance of a `spender` for an `owner` is set by* a call to {approve}. `value` is the new allowance.*/event Approval(address indexed owner, address indexed spender, uint256 value);/*** @dev Returns the value of tokens in existence.*/
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)pragma solidity ^0.8.20;import {IERC20} from "../IERC20.sol";/*** @dev Interface for the optional metadata functions from the ERC20 standard.*/interface IERC20Metadata is IERC20 {/*** @dev Returns the name of the token.*/function name() external view returns (string memory);/*** @dev Returns the symbol of the token.*/function symbol() external view returns (string memory);/*** @dev Returns the decimals places of the token.*/function decimals() external view returns (uint8);}
123456789101112131415161718192021222324// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)pragma solidity ^0.8.20;/*** @dev Provides information about the current execution context, including the* sender of the transaction and its data. While these are generally available* via msg.sender and msg.data, they should not be accessed in such a direct* manner, since when dealing with meta-transactions the account sending and* paying for execution may not be the actual sender (as far as an application* is concerned).** This contract is only required for intermediate, library-like contracts.*/abstract contract Context {function _msgSender() internal view virtual returns (address) {return msg.sender;}function _msgData() internal view virtual returns (bytes calldata) {return msg.data;}}
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)pragma solidity ^0.8.20;/*** @dev Standard ERC20 Errors* Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.*/interface IERC20Errors {/*** @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.* @param sender Address whose tokens are being transferred.* @param balance Current balance for the interacting account.* @param needed Minimum amount required to perform a transfer.*/error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);/*** @dev Indicates a failure with the token `sender`. Used in transfers.* @param sender Address whose tokens are being transferred.*/error ERC20InvalidSender(address sender);/*** @dev Indicates a failure with the token `receiver`. Used in transfers.* @param receiver Address to which tokens are being transferred.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)pragma solidity ^0.8.20;/*** @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in* https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].** Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by* presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't* need to send a transaction, and thus is not required to hold Ether at all.** ==== Security Considerations** There are two important considerations concerning the use of `permit`. The first is that a valid permit signature* expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be* considered as an intention to spend the allowance in any specific way. The second is that because permits have* built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should* take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be* generally recommended is:** ```solidity* function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {* try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}* doThing(..., value);
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/ECDSA.sol)pragma solidity ^0.8.20;/*** @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.** These functions can be used to verify that a message was signed by the holder* of the private keys of a given address.*/library ECDSA {enum RecoverError {NoError,InvalidSignature,InvalidSignatureLength,InvalidSignatureS}/*** @dev The signature derives the `address(0)`.*/error ECDSAInvalidSignature();/*** @dev The signature has an invalid length.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/EIP712.sol)pragma solidity ^0.8.20;import {MessageHashUtils} from "./MessageHashUtils.sol";import {ShortStrings, ShortString} from "../ShortStrings.sol";import {IERC5267} from "../../interfaces/IERC5267.sol";/*** @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.** The encoding scheme specified in the EIP requires a domain separator and a hash of the typed structured data, whose* encoding is very generic and therefore its implementation in Solidity is not feasible, thus this contract* does not implement the encoding itself. Protocols need to implement the type-specific encoding they need in order to* produce the hash of their typed data using a combination of `abi.encode` and `keccak256`.** This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding* scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA* ({_hashTypedDataV4}).** The implementation of the domain separator was designed to be as efficient as possible while still properly updating* the chain id to protect against replay attacks on an eventual fork of the chain.** NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method* https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/Nonces.sol)pragma solidity ^0.8.20;/*** @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) public view virtual returns (uint256) {return _nonces[owner];}/*** @dev Consumes a nonce.** Returns the current value and increments nonce.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/cryptography/MessageHashUtils.sol)pragma solidity ^0.8.20;import {Strings} from "../Strings.sol";/*** @dev Signature message hash utilities for producing digests to be consumed by {ECDSA} recovery or signing.** The library provides methods for generating a hash of a message that conforms to the* https://eips.ethereum.org/EIPS/eip-191[EIP 191] and https://eips.ethereum.org/EIPS/eip-712[EIP 712]* specifications.*/library MessageHashUtils {/*** @dev Returns the keccak256 digest of an EIP-191 signed data with version* `0x45` (`personal_sign` messages).** The digest is calculated by prefixing a bytes32 `messageHash` with* `"\x19Ethereum Signed Message:\n32"` and hashing the result. It corresponds with the* hash signed when using the https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] JSON-RPC method.** NOTE: The `messageHash` parameter is intended to be the result of hashing a raw message with* keccak256, although any bytes32 value can be safely used because the final digest will* be re-hashed.
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/ShortStrings.sol)pragma solidity ^0.8.20;import {StorageSlot} from "./StorageSlot.sol";// | string | 0xAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA |// | length | 0x BB |type ShortString is bytes32;/*** @dev This library provides functions to convert short memory strings* into a `ShortString` type that can be used as an immutable variable.** Strings of arbitrary length can be optimized using this library if* they are short enough (up to 31 bytes) by packing them with their* length (1 byte) in a single EVM word (32 bytes). Additionally, a* fallback mechanism can be used for every other case.** Usage example:** ```solidity* contract Named {* using ShortStrings for *;*
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/IERC5267.sol)pragma solidity ^0.8.20;interface IERC5267 {/*** @dev MAY be emitted to signal that the domain could have changed.*/event EIP712DomainChanged();/*** @dev returns the fields and values that describe the domain separator used by this contract for EIP-712* signature.*/function eip712Domain()externalviewreturns (bytes1 fields,string memory name,string memory version,uint256 chainId,address verifyingContract,bytes32 salt,uint256[] memory extensions
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/Strings.sol)pragma solidity ^0.8.20;import {Math} from "./math/Math.sol";import {SignedMath} from "./math/SignedMath.sol";/*** @dev String operations.*/library Strings {bytes16 private constant HEX_DIGITS = "0123456789abcdef";uint8 private constant ADDRESS_LENGTH = 20;/*** @dev The `value` string doesn't fit in the specified `length`.*/error StringsInsufficientHexLength(uint256 value, uint256 length);/*** @dev Converts a `uint256` to its ASCII `string` decimal representation.*/function toString(uint256 value) internal pure returns (string memory) {unchecked {uint256 length = Math.log10(value) + 1;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/StorageSlot.sol)// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.pragma solidity ^0.8.20;/*** @dev Library for reading and writing primitive types to specific storage slots.** Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.* This library helps with reading and writing to such slots without the need for inline assembly.** The functions in this library return Slot structs that contain a `value` member that can be used to read or write.** Example usage to set ERC1967 implementation slot:* ```solidity* contract ERC1967 {* bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;** function _getImplementation() internal view returns (address) {* return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;* }** function _setImplementation(address newImplementation) internal {* require(newImplementation.code.length > 0);* StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/Math.sol)pragma solidity ^0.8.20;/*** @dev Standard math utilities missing in the Solidity language.*/library Math {/*** @dev Muldiv operation overflow.*/error MathOverflowedMulDiv();enum Rounding {Floor, // Toward negative infinityCeil, // Toward positive infinityTrunc, // Toward zeroExpand // Away from zero}/*** @dev Returns the addition of two unsigned integers, with an overflow flag.*/function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {unchecked {
1234567891011121314151617181920212223242526// SPDX-License-Identifier: MIT// OpenZeppelin Contracts (last updated v5.0.0) (utils/math/SignedMath.sol)pragma solidity ^0.8.20;/*** @dev Standard signed math utilities missing in the Solidity language.*/library SignedMath {/*** @dev Returns the largest of two signed numbers.*/function max(int256 a, int256 b) internal pure returns (int256) {return a > b ? a : b;}/*** @dev Returns the smallest of two signed numbers.*/function min(int256 a, int256 b) internal pure returns (int256) {return a < b ? a : b;}/*** @dev Returns the average of two signed numbers without overflow.* The result is rounded towards zero.
1234567891011121314151617181920212223242526{"remappings": ["ds-test/=lib/forge-std/lib/ds-test/src/","forge-std/=lib/forge-std/src/","openzeppelin/=lib/openzeppelin-contracts/contracts/","openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","solmate/=lib/solmate/","joe-v2/=lib/joe-v2/","@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/","@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/","erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/","openzeppelin-contracts/=lib/openzeppelin-contracts/"],"optimizer": {"enabled": true,"runs": 800},"metadata": {"useLiteralContent": false,"bytecodeHash": "ipfs","appendCBOR": true},"outputSelection": {"*": {"*": ["evm.bytecode",
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"initialOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ECDSAInvalidSignature","type":"error"},{"inputs":[{"internalType":"uint256","name":"length","type":"uint256"}],"name":"ECDSAInvalidSignatureLength","type":"error"},{"inputs":[{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"ECDSAInvalidSignatureS","type":"error"},{"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":"uint256","name":"deadline","type":"uint256"}],"name":"ERC2612ExpiredSignature","type":"error"},{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"owner","type":"address"}],"name":"ERC2612InvalidSigner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"currentNonce","type":"uint256"}],"name":"InvalidAccountNonce","type":"error"},{"inputs":[],"name":"InvalidShortString","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"string","name":"str","type":"string"}],"name":"StringTooLong","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":[],"name":"EIP712DomainChanged","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":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"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":"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":"eip712Domain","outputs":[{"internalType":"bytes1","name":"fields","type":"bytes1"},{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"version","type":"string"},{"internalType":"uint256","name":"chainId","type":"uint256"},{"internalType":"address","name":"verifyingContract","type":"address"},{"internalType":"bytes32","name":"salt","type":"bytes32"},{"internalType":"uint256[]","name":"extensions","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
6101606040523480156200001257600080fd5b50604051620015e9380380620015e98339810160408190526200003591620002ac565b6040518060400160405280601081526020016f26b2ba3937b837b634b9902a37b5b2b760811b81525080604051806040016040528060018152602001603160f81b815250836040518060400160405280601081526020016f26b2ba3937b837b634b9902a37b5b2b760811b815250604051806040016040528060058152602001644d4554524f60d81b8152508160039081620000d2919062000383565b506004620000e1828262000383565b5050506001600160a01b0381166200011457604051631e4fbdf760e01b8152600060048201526024015b60405180910390fd5b6200011f81620001de565b506200012d82600662000230565b610120526200013e81600762000230565b61014052815160208084019190912060e052815190820120610100524660a052620001cc60e05161010051604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201529081019290925260608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b60805250503060c05250620004c49050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006020835110156200025057620002488362000269565b905062000263565b816200025d848262000383565b5060ff90505b92915050565b600080829050601f8151111562000297578260405163305a27a960e01b81526004016200010b91906200044f565b8051620002a4826200049f565b179392505050565b600060208284031215620002bf57600080fd5b81516001600160a01b0381168114620002d757600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200030957607f821691505b6020821081036200032a57634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200037e57600081815260208120601f850160051c81016020861015620003595750805b601f850160051c820191505b818110156200037a5782815560010162000365565b5050505b505050565b81516001600160401b038111156200039f576200039f620002de565b620003b781620003b08454620002f4565b8462000330565b602080601f831160018114620003ef5760008415620003d65750858301515b600019600386901b1c1916600185901b1785556200037a565b600085815260208120601f198616915b828110156200042057888601518255948401946001909101908401620003ff565b50858210156200043f5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208083528351808285015260005b818110156200047e5785810183015185820160400152820162000460565b506000604082860101526040601f19601f8301168501019250505092915050565b805160208083015191908110156200032a5760001960209190910360031b1b16919050565b60805160a05160c05160e0516101005161012051610140516110ca6200051f60003960006108d6015260006108a90152600061078001526000610758015260006106b3015260006106dd0152600061070701526110ca6000f3fe608060405234801561001057600080fd5b506004361061011b5760003560e01c8063715018a6116100b257806395d89b4111610081578063d505accf11610066578063d505accf14610247578063dd62ed3e1461025a578063f2fde38b1461029357600080fd5b806395d89b411461022c578063a9059cbb1461023457600080fd5b8063715018a6146101d95780637ecebe00146101e357806384b0196e146101f65780638da5cb5b1461021157600080fd5b8063313ce567116100ee578063313ce567146101865780633644e5151461019557806340c10f191461019d57806370a08231146101b057600080fd5b806306fdde0314610120578063095ea7b31461013e57806318160ddd1461016157806323b872dd14610173575b600080fd5b6101286102a6565b6040516101359190610e36565b60405180910390f35b61015161014c366004610e6c565b610338565b6040519015158152602001610135565b6002545b604051908152602001610135565b610151610181366004610e96565b610352565b60405160128152602001610135565b610165610376565b6101656101ab366004610e6c565b610385565b6101656101be366004610ed2565b6001600160a01b031660009081526020819052604090205490565b6101e16103a5565b005b6101656101f1366004610ed2565b6103b9565b6101fe6103d7565b6040516101359796959493929190610eed565b6005546040516001600160a01b039091168152602001610135565b61012861041d565b610151610242366004610e6c565b61042c565b6101e1610255366004610f83565b61043a565b610165610268366004610ff6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101e16102a1366004610ed2565b610579565b6060600380546102b590611029565b80601f01602080910402602001604051908101604052809291908181526020018280546102e190611029565b801561032e5780601f106103035761010080835404028352916020019161032e565b820191906000526020600020905b81548152906001019060200180831161031157829003601f168201915b5050505050905090565b6000336103468185856105b7565b60019150505b92915050565b6000336103608582856105c9565b61036b858585610647565b506001949350505050565b60006103806106a6565b905090565b600061038f6107d1565b811561039f5761039f83836107fe565b50919050565b6103ad6107d1565b6103b76000610838565b565b6001600160a01b03811660009081526008602052604081205461034c565b6000606080600080600060606103eb6108a2565b6103f36108cf565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546102b590611029565b600033610346818585610647565b834211156104635760405163313c898160e11b8152600481018590526024015b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886104b08c6001600160a01b0316600090815260086020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061050b826108fc565b9050600061051b82878787610929565b9050896001600160a01b0316816001600160a01b031614610562576040516325c0072360e11b81526001600160a01b0380831660048301528b16602482015260440161045a565b61056d8a8a8a6105b7565b50505050505050505050565b6105816107d1565b6001600160a01b0381166105ab57604051631e4fbdf760e01b81526000600482015260240161045a565b6105b481610838565b50565b6105c48383836001610957565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610641578181101561063257604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161045a565b61064184848484036000610957565b50505050565b6001600160a01b03831661067157604051634b637e8f60e11b81526000600482015260240161045a565b6001600160a01b03821661069b5760405163ec442f0560e01b81526000600482015260240161045a565b6105c4838383610a2c565b6000306001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161480156106ff57507f000000000000000000000000000000000000000000000000000000000000000046145b1561072957507f000000000000000000000000000000000000000000000000000000000000000090565b610380604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091527f000000000000000000000000000000000000000000000000000000000000000060608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6005546001600160a01b031633146103b75760405163118cdaa760e01b815233600482015260240161045a565b6001600160a01b0382166108285760405163ec442f0560e01b81526000600482015260240161045a565b61083460008383610a2c565b5050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606103807f00000000000000000000000000000000000000000000000000000000000000006006610b56565b60606103807f00000000000000000000000000000000000000000000000000000000000000006007610b56565b600061034c6109096106a6565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060008061093b88888888610c01565b92509250925061094b8282610cd0565b50909695505050505050565b6001600160a01b0384166109815760405163e602df0560e01b81526000600482015260240161045a565b6001600160a01b0383166109ab57604051634a1406b160e11b81526000600482015260240161045a565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561064157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a1e91815260200190565b60405180910390a350505050565b6001600160a01b038316610a57578060026000828254610a4c919061105d565b90915550610ac99050565b6001600160a01b03831660009081526020819052604090205481811015610aaa5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161045a565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610ae557600280548290039055610b04565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b4991815260200190565b60405180910390a3505050565b606060ff8314610b7057610b6983610d89565b905061034c565b818054610b7c90611029565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba890611029565b8015610bf55780601f10610bca57610100808354040283529160200191610bf5565b820191906000526020600020905b815481529060010190602001808311610bd857829003601f168201915b5050505050905061034c565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610c3c5750600091506003905082610cc6565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610c90573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610cbc57506000925060019150829050610cc6565b9250600091508190505b9450945094915050565b6000826003811115610ce457610ce461107e565b03610ced575050565b6001826003811115610d0157610d0161107e565b03610d1f5760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610d3357610d3361107e565b03610d545760405163fce698f760e01b81526004810182905260240161045a565b6003826003811115610d6857610d6861107e565b03610834576040516335e2f38360e21b81526004810182905260240161045a565b60606000610d9683610dc8565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600060ff8216601f81111561034c57604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b81811015610e1657602081850181015186830182015201610dfa565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610e496020830184610df0565b9392505050565b80356001600160a01b0381168114610e6757600080fd5b919050565b60008060408385031215610e7f57600080fd5b610e8883610e50565b946020939093013593505050565b600080600060608486031215610eab57600080fd5b610eb484610e50565b9250610ec260208501610e50565b9150604084013590509250925092565b600060208284031215610ee457600080fd5b610e4982610e50565b60ff60f81b881681526000602060e081840152610f0d60e084018a610df0565b8381036040850152610f1f818a610df0565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015610f7157835183529284019291840191600101610f55565b50909c9b505050505050505050505050565b600080600080600080600060e0888a031215610f9e57600080fd5b610fa788610e50565b9650610fb560208901610e50565b95506040880135945060608801359350608088013560ff81168114610fd957600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561100957600080fd5b61101283610e50565b915061102060208401610e50565b90509250929050565b600181811c9082168061103d57607f821691505b60208210810361039f57634e487b7160e01b600052602260045260246000fd5b8082018082111561034c57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea2646970667358221220c15ddf4a6f902f1b1b05682a3df033af5819a967c6b2e879a2dc59269500ee1364736f6c634300081400330000000000000000000000004a3723b6e427ecbd90f2848d6df9381a676a02b9
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061011b5760003560e01c8063715018a6116100b257806395d89b4111610081578063d505accf11610066578063d505accf14610247578063dd62ed3e1461025a578063f2fde38b1461029357600080fd5b806395d89b411461022c578063a9059cbb1461023457600080fd5b8063715018a6146101d95780637ecebe00146101e357806384b0196e146101f65780638da5cb5b1461021157600080fd5b8063313ce567116100ee578063313ce567146101865780633644e5151461019557806340c10f191461019d57806370a08231146101b057600080fd5b806306fdde0314610120578063095ea7b31461013e57806318160ddd1461016157806323b872dd14610173575b600080fd5b6101286102a6565b6040516101359190610e36565b60405180910390f35b61015161014c366004610e6c565b610338565b6040519015158152602001610135565b6002545b604051908152602001610135565b610151610181366004610e96565b610352565b60405160128152602001610135565b610165610376565b6101656101ab366004610e6c565b610385565b6101656101be366004610ed2565b6001600160a01b031660009081526020819052604090205490565b6101e16103a5565b005b6101656101f1366004610ed2565b6103b9565b6101fe6103d7565b6040516101359796959493929190610eed565b6005546040516001600160a01b039091168152602001610135565b61012861041d565b610151610242366004610e6c565b61042c565b6101e1610255366004610f83565b61043a565b610165610268366004610ff6565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6101e16102a1366004610ed2565b610579565b6060600380546102b590611029565b80601f01602080910402602001604051908101604052809291908181526020018280546102e190611029565b801561032e5780601f106103035761010080835404028352916020019161032e565b820191906000526020600020905b81548152906001019060200180831161031157829003601f168201915b5050505050905090565b6000336103468185856105b7565b60019150505b92915050565b6000336103608582856105c9565b61036b858585610647565b506001949350505050565b60006103806106a6565b905090565b600061038f6107d1565b811561039f5761039f83836107fe565b50919050565b6103ad6107d1565b6103b76000610838565b565b6001600160a01b03811660009081526008602052604081205461034c565b6000606080600080600060606103eb6108a2565b6103f36108cf565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600480546102b590611029565b600033610346818585610647565b834211156104635760405163313c898160e11b8152600481018590526024015b60405180910390fd5b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886104b08c6001600160a01b0316600090815260086020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061050b826108fc565b9050600061051b82878787610929565b9050896001600160a01b0316816001600160a01b031614610562576040516325c0072360e11b81526001600160a01b0380831660048301528b16602482015260440161045a565b61056d8a8a8a6105b7565b50505050505050505050565b6105816107d1565b6001600160a01b0381166105ab57604051631e4fbdf760e01b81526000600482015260240161045a565b6105b481610838565b50565b6105c48383836001610957565b505050565b6001600160a01b038381166000908152600160209081526040808320938616835292905220546000198114610641578181101561063257604051637dc7a0d960e11b81526001600160a01b0384166004820152602481018290526044810183905260640161045a565b61064184848484036000610957565b50505050565b6001600160a01b03831661067157604051634b637e8f60e11b81526000600482015260240161045a565b6001600160a01b03821661069b5760405163ec442f0560e01b81526000600482015260240161045a565b6105c4838383610a2c565b6000306001600160a01b037f00000000000000000000000071e99522ead5e21cf57f1f542dc4ad2e841f7321161480156106ff57507f000000000000000000000000000000000000000000000000000000000000009246145b1561072957507fb405bc02d5f02a4a138338ddf41ab0d968b4c140744dac07cbd612422f020dfb90565b610380604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f60208201527f0c6a3e847b9e4410797c2e18c3d36a34e08fd3b9e012bae661c98613fd7ceab2918101919091527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608201524660808201523060a082015260009060c00160405160208183030381529060405280519060200120905090565b6005546001600160a01b031633146103b75760405163118cdaa760e01b815233600482015260240161045a565b6001600160a01b0382166108285760405163ec442f0560e01b81526000600482015260240161045a565b61083460008383610a2c565b5050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60606103807f4d6574726f706f6c697320546f6b656e000000000000000000000000000000106006610b56565b60606103807f31000000000000000000000000000000000000000000000000000000000000016007610b56565b600061034c6109096106a6565b8360405161190160f01b8152600281019290925260228201526042902090565b60008060008061093b88888888610c01565b92509250925061094b8282610cd0565b50909695505050505050565b6001600160a01b0384166109815760405163e602df0560e01b81526000600482015260240161045a565b6001600160a01b0383166109ab57604051634a1406b160e11b81526000600482015260240161045a565b6001600160a01b038085166000908152600160209081526040808320938716835292905220829055801561064157826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92584604051610a1e91815260200190565b60405180910390a350505050565b6001600160a01b038316610a57578060026000828254610a4c919061105d565b90915550610ac99050565b6001600160a01b03831660009081526020819052604090205481811015610aaa5760405163391434e360e21b81526001600160a01b0385166004820152602481018290526044810183905260640161045a565b6001600160a01b03841660009081526020819052604090209082900390555b6001600160a01b038216610ae557600280548290039055610b04565b6001600160a01b03821660009081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051610b4991815260200190565b60405180910390a3505050565b606060ff8314610b7057610b6983610d89565b905061034c565b818054610b7c90611029565b80601f0160208091040260200160405190810160405280929190818152602001828054610ba890611029565b8015610bf55780601f10610bca57610100808354040283529160200191610bf5565b820191906000526020600020905b815481529060010190602001808311610bd857829003601f168201915b5050505050905061034c565b600080807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0841115610c3c5750600091506003905082610cc6565b604080516000808252602082018084528a905260ff891692820192909252606081018790526080810186905260019060a0016020604051602081039080840390855afa158015610c90573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116610cbc57506000925060019150829050610cc6565b9250600091508190505b9450945094915050565b6000826003811115610ce457610ce461107e565b03610ced575050565b6001826003811115610d0157610d0161107e565b03610d1f5760405163f645eedf60e01b815260040160405180910390fd5b6002826003811115610d3357610d3361107e565b03610d545760405163fce698f760e01b81526004810182905260240161045a565b6003826003811115610d6857610d6861107e565b03610834576040516335e2f38360e21b81526004810182905260240161045a565b60606000610d9683610dc8565b604080516020808252818301909252919250600091906020820181803683375050509182525060208101929092525090565b600060ff8216601f81111561034c57604051632cd44ac360e21b815260040160405180910390fd5b6000815180845260005b81811015610e1657602081850181015186830182015201610dfa565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610e496020830184610df0565b9392505050565b80356001600160a01b0381168114610e6757600080fd5b919050565b60008060408385031215610e7f57600080fd5b610e8883610e50565b946020939093013593505050565b600080600060608486031215610eab57600080fd5b610eb484610e50565b9250610ec260208501610e50565b9150604084013590509250925092565b600060208284031215610ee457600080fd5b610e4982610e50565b60ff60f81b881681526000602060e081840152610f0d60e084018a610df0565b8381036040850152610f1f818a610df0565b606085018990526001600160a01b038816608086015260a0850187905284810360c0860152855180825283870192509083019060005b81811015610f7157835183529284019291840191600101610f55565b50909c9b505050505050505050505050565b600080600080600080600060e0888a031215610f9e57600080fd5b610fa788610e50565b9650610fb560208901610e50565b95506040880135945060608801359350608088013560ff81168114610fd957600080fd5b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561100957600080fd5b61101283610e50565b915061102060208401610e50565b90509250929050565b600181811c9082168061103d57607f821691505b60208210810361039f57634e487b7160e01b600052602260045260246000fd5b8082018082111561034c57634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fdfea2646970667358221220c15ddf4a6f902f1b1b05682a3df033af5819a967c6b2e879a2dc59269500ee1364736f6c63430008140033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004a3723b6e427ecbd90f2848d6df9381a676a02b9
-----Decoded View---------------
Arg [0] : initialOwner (address): 0x4A3723B6e427Ecbd90f2848d6dF9381A676a02b9
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000004a3723b6e427ecbd90f2848d6df9381a676a02b9
[ 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.