NamefiNFT

Verified contract

Implementation

Active on Base with 0 txns
Deployed by via 0xa6fd387e at 11756001
Slot
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

No balances found for "NamefiNFT"

No transactions found for "NamefiNFT"


Functions
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 fieldsstring namestring versionuint256 chainIdaddress verifyingContractbytes32 saltuint256[] 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 ownerview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getDigest(struct DnsUpdateRequest _messageview returns (bytes32)
getDnsRecordPacketHash(struct DnsRecord _inputpure returns (bytes32)
getDnsUpdateRequestPacketHash(struct DnsUpdateRequest _inputpure returns (bytes32)
getEip712DomainPacketHash(struct EIP712Domain _inputpure returns (bytes32)
getExpiration(uint256 tokenIdview returns (uint256)
getRoleAdmin(bytes32 roleview returns (bytes32)
hasRole(bytes32 roleaddress accountview returns (bool)
idToNormalizedDomainName(uint256 tokenIdview returns (string)
isApprovedForAll(address owneraddress operatorview returns (bool)
isExpired(uint256 tokenIdview returns (bool)
isLocked(uint256 tokenIdview returns (bool)
isLocked(uint256 tokenIdbytes extraview returns (bool)
isNormalizedName(string domainNamepure returns (bool)
isValidSignatureByName(string nameaddress signerbytes32 digestbytes siganturebytesview returns (bytes32 magicValue)
isValidSignatureByTokenId(uint256 tokenIdaddress signerbytes32 digestbytes siganturebytesview returns (bytes32 magicValue)
normalizedDomainNameToId(string domainNamepure returns (uint256)
ownerOf(uint256 tokenIdview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenURI(uint256 tokenIdview returns (string)
verifyDnsUpdateRequest(struct DnsUpdateRequest _messageaddress _signerbytes _signatureview returns (address)
State-modifying
approve(address touint256 tokenId
burnByName(string domainName
extendByNameWithCharge(string domainNameuint256 timeToExtendaddress chargeebytes
extendByNameWithChargeAmount(string domainNameuint256 timeToExtendaddress chargeeuint256 chargeAmountbytes
grantRole(bytes32 roleaddress account
initialize(
lock(uint256 tokenIdbytes extrapayable 
lockByName(string domainName
renounceRole(bytes32 roleaddress account
revokeRole(bytes32 roleaddress account
safeMintByNameNoCharge(address tostring domainNameuint256 expirationTime
safeMintByNameWithCharge(address tostring domainNameuint256 expirationTimeaddress chargeebytes
safeMintByNameWithChargeAmount(address tostring domainNameuint256 expirationTimeaddress chargeeuint256 chargeAmountbytes
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
safeTransferFromByName(address fromaddress tostring domainName
setApprovalForAll(address operatorbool approved
setBaseURI(string baseUriStr
setExpiration(uint256 tokenIduint256 expirationTime
setServiceCreditContract(address addr
transferFrom(address fromaddress touint256 tokenId
unlock(uint256 tokenIdbytes extrapayable 
unlockByName(string domainName
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
EIP712DomainChanged(
Initialized(uint8 version
Lock(uint256 indexed tokenIdbytes extra
RoleAdminChanged(bytes32 indexed rolebytes32 indexed previousAdminRolebytes32 indexed newAdminRole
RoleGranted(bytes32 indexed roleaddress indexed accountaddress indexed sender
RoleRevoked(bytes32 indexed roleaddress indexed accountaddress indexed sender
Transfer(address indexed fromaddress indexed touint256 indexed tokenId
Unlock(uint256 indexed tokenIdbytes extra
Constructor
constructor(
Fallback and receive

This contract contains no fallback and receive objects.

Errors
ExpirableNFT_Expired(uint256 tokenId
LockableNFT_Locked(uint256 tokenId
LockableNFT_NotLocked(uint256 tokenId
NamefiNFT_DomainNameNotNomalized(string domainName
NamefiNFT_EpxirationDateTooEarly(uint256 expirationTimeuint256 currentBlockTime
NamefiNFT_ExtendTimeNotMultipleOf365Days(
NamefiNFT_ServiceCreditContractNotSet(
NamefiNFT_ServiceCreditFailToCharge(
NamefiNFT_SignerUnauthorized(address signeruint256 tokenId
NamefiNFT_TransferUnauthorized(address byaddress fromaddress touint256 tokenId
NamefiNFT_URIQueryForNonexistentToken(