NamefiNFT
Verified contract
Implementation
Active on
Base with 0 txns
Storage
Map
Table
Raw
Constants and immutables
9
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 43 additional slots
-
variable spans 48 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
Balances ($0.00)
No balances found for "NamefiNFT"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "NamefiNFT"
ABI
ABI objects
Getter at block 21790342
CONTRACT_NAME() view returns (string)
NamefiNFT
CONTRACT_SYMBOL() view returns (string)
NFNFT
CURRENT_VERSION() view returns (string)
v1.2.0
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTER_ROLE() view returns (bytes32)
0xf0887ba65ee2024ea881d91b74c2450ef19e1557f03bed3ea9f16b037cbe2dc9
VALID_SIG_BY_ID_BAD_VALUE() view returns (bytes32)
0x34fffe935a7dd0aac811292906d600561d350ed6f9d4af50dd939cf301ea9073
VALID_SIG_BY_ID_MAGIC_VALUE() view returns (bytes32)
0x6cfa6a566718927e650e1ba28377415cb87a1c925be906852b1f19537968876a
_NamefiServiceCreditContract() view returns (address)
0x0000000000000000000000000000000000000000
contractURI() pure returns (string)
https://md.namefi.io/namefi-nft.json
eip712Domain() view returns (bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)
(fields=0x0f, name=NamefiNFT, version=v1.2.0, chainId=8453, verifyingContract=0x0000000066fc23b730b11098610416207db60ad7, salt=0x0000000000000000000000000000000000000000000000000000000000000000, extensions=[])
getDomainHash() view returns (bytes32)
0xcbfea281f6f38ffcaddbc86345604ea675ac748c6d76c58c1ca9adb5b110ada7
name() view returns (string)
symbol() view returns (string)
Read-only
balanceOf(address owner) view returns (uint256)
getApproved(uint256 tokenId) view returns (address)
getDigest(struct DnsUpdateRequest _message) view returns (bytes32)
getDnsRecordPacketHash(struct DnsRecord _input) pure returns (bytes32)
getDnsUpdateRequestPacketHash(struct DnsUpdateRequest _input) pure returns (bytes32)
getEip712DomainPacketHash(struct EIP712Domain _input) pure returns (bytes32)
getExpiration(uint256 tokenId) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
hasRole(bytes32 role, address account) view returns (bool)
idToNormalizedDomainName(uint256 tokenId) view returns (string)
isApprovedForAll(address owner, address operator) view returns (bool)
isExpired(uint256 tokenId) view returns (bool)
isLocked(uint256 tokenId) view returns (bool)
isLocked(uint256 tokenId, bytes extra) view returns (bool)
isNormalizedName(string domainName) pure returns (bool)
isValidSignatureByName(string name, address signer, bytes32 digest, bytes siganture, bytes) view returns (bytes32 magicValue)
isValidSignatureByTokenId(uint256 tokenId, address signer, bytes32 digest, bytes siganture, bytes) view returns (bytes32 magicValue)
normalizedDomainNameToId(string domainName) pure returns (uint256)
ownerOf(uint256 tokenId) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenURI(uint256 tokenId) view returns (string)
verifyDnsUpdateRequest(struct DnsUpdateRequest _message, address _signer, bytes _signature) view returns (address)
State-modifying
Events approve(address to, uint256 tokenId)
burnByName(string domainName)
extendByNameWithCharge(string domainName, uint256 timeToExtend, address chargee, bytes)
extendByNameWithChargeAmount(string domainName, uint256 timeToExtend, address chargee, uint256 chargeAmount, bytes)
grantRole(bytes32 role, address account)
initialize()
lock(uint256 tokenId, bytes extra) payable
lockByName(string domainName)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
safeMintByNameNoCharge(address to, string domainName, uint256 expirationTime)
safeMintByNameWithCharge(address to, string domainName, uint256 expirationTime, address chargee, bytes)
safeMintByNameWithChargeAmount(address to, string domainName, uint256 expirationTime, address chargee, uint256 chargeAmount, bytes)
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes data)
safeTransferFromByName(address from, address to, string domainName)
setApprovalForAll(address operator, bool approved)
setBaseURI(string baseUriStr)
setExpiration(uint256 tokenId, uint256 expirationTime)
setServiceCreditContract(address addr)
transferFrom(address from, address to, uint256 tokenId)
unlock(uint256 tokenId, bytes extra) payable
unlockByName(string domainName)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
EIP712DomainChanged()
Initialized(uint8 version)
Lock(uint256 indexed tokenId, bytes extra)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
Unlock(uint256 indexed tokenId, bytes extra)
constructor()
This contract contains no fallback and receive objects.
ExpirableNFT_Expired(uint256 tokenId)
LockableNFT_Locked(uint256 tokenId)
LockableNFT_NotLocked(uint256 tokenId)
NamefiNFT_DomainNameNotNomalized(string domainName)
NamefiNFT_EpxirationDateTooEarly(uint256 expirationTime, uint256 currentBlockTime)
NamefiNFT_ExtendTimeNotMultipleOf365Days()
NamefiNFT_ServiceCreditContractNotSet()
NamefiNFT_ServiceCreditFailToCharge()
NamefiNFT_SignerUnauthorized(address signer, uint256 tokenId)
NamefiNFT_TransferUnauthorized(address by, address from, address to, uint256 tokenId)
NamefiNFT_URIQueryForNonexistentToken()