PassRegistry

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xc875d3cf at 16130059
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 41 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 43 additional slots
5 additional variables

No balances found for "PassRegistry"

No transactions found for "PassRegistry"


Functions
Getter at block 21429709
DEFAULT_ADMIN_ROLE(view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
INVITER_ROLE(view returns (bytes32)
0x639cc15674e3ab889ef8ffacb1499d6c868345f7a98e2158a7d43d23a757f8e0
name(view returns (string)
symbol(view returns (string)
totalSupply(view returns (uint256)
0
Read-only
balanceOf(address ownerview returns (uint256)
getApproved(uint256 tokenIdview returns (address)
getClassInfo(bytes32 _hashpure returns (uint256 invNumuint256 nameLenbytes32 class)
getNameByHash(bytes32 _hashview returns (string)
getRoleAdmin(bytes32 roleview returns (bytes32)
getRoleMember(bytes32 roleuint256 indexview returns (address)
getRoleMemberCount(bytes32 roleview returns (uint256)
getUserByHash(bytes32 _hashview returns (address)
getUserInvitedNumber(address _userview returns (uint256uint256)
getUserPassInfo(uint256 _passIdview returns (struct PassRegistryStoragePassInfo)
getUserPassList(address _userview returns (uint256[])
getUserPassesInfo(address _userview returns (struct PassRegistryStoragePassInfo[])
hasRole(bytes32 roleaddress accountview returns (bool)
isApprovedForAll(address owneraddress operatorview returns (bool)
isUserActivated(address _userview returns (bool)
lenValid(uint256 _minLenstring _namepure returns (bool)
nameAvaliable(uint256 _minLenstring _nameview returns (bool)
nameExists(string _nameview returns (bool)
nameReserves(string _nameview returns (bool)
ownerOf(uint256 tokenIdview returns (address)
supportsInterface(bytes4 interfaceIdview returns (bool)
tokenByIndex(uint256 indexview returns (uint256)
tokenOfOwnerByIndex(address owneruint256 indexview returns (uint256)
tokenURI(uint256 tokenIdview returns (string)
verifyInvitationCode(bytes32 _msgbytes _sigpure returns (address)
State-modifying
approve(address touint256 tokenId
grantRole(bytes32 roleaddress account
initialize(address _adminstring _namestring _symbol
lockAndMint(string _nameaddress _to
lockName(uint256 _passIdstring _name
lockPass(bytes _invitationCodestring _namebytes32 _classHashuint256 _passId
renounceRole(bytes32 roleaddress account
reserveName(bytes32[] _hashes
revokeRole(bytes32 roleaddress account
safeTransferFrom(address fromaddress touint256 tokenId
safeTransferFrom(address fromaddress touint256 tokenIdbytes data
setApprovalForAll(address operatorbool approved
transferFrom(address fromaddress touint256 tokenId
updatePassIdStart(uint256 _start
Events
Approval(address indexed owneraddress indexed approveduint256 indexed tokenId
ApprovalForAll(address indexed owneraddress indexed operatorbool approved
Failure(string error
Initialized(uint8 version
LockName(address useruint256 passIdstring name
LockPass(address useruint256 passNumber
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
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.