PassRegistry
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
11
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 39 additional slots
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 43 additional slots
7 additional
variables
Balances ($0.00)
No balances found for "PassRegistry"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "PassRegistry"
ABI
ABI objects
Getter at block 21428473
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 owner) view returns (uint256)
exists(uint256 _passId) view returns (bool)
getApproved(uint256 tokenId) view returns (address)
getClassInfo(bytes32 _hash) pure returns (uint256 invNum, uint256 nameLen, bytes32 class)
getHashByName(string _name) pure returns (bytes32)
getNameByHash(bytes32 _hash) view returns (string)
getPassByHash(bytes32 _hash) view returns (uint256)
getPassByName(string _name) view returns (uint256)
getRoleAdmin(bytes32 role) view returns (bytes32)
getRoleMember(bytes32 role, uint256 index) view returns (address)
getRoleMemberCount(bytes32 role) view returns (uint256)
getUserByHash(bytes32 _hash) view returns (address)
getUserByName(string _name) view returns (address)
getUserInvitedNumber(address _user) view returns (uint256, uint256)
getUserPassInfo(uint256 _passId) view returns (struct PassRegistryStoragePassInfo)
getUserPassList(address _user) view returns (uint256[])
getUserPassesInfo(address _user) view returns (struct PassRegistryStoragePassInfo[])
hasRole(bytes32 role, address account) view returns (bool)
isApprovedForAll(address owner, address operator) view returns (bool)
isUserActivated(address _user) view returns (bool)
lenValid(uint256 _minLen, string _name) pure returns (bool)
nameAvaliable(uint256 _minLen, string _name) view returns (bool)
nameExists(string _name) view returns (bool)
nameReserves(string _name) view returns (bool)
ownerOf(uint256 tokenId) view returns (address)
supportsInterface(bytes4 interfaceId) view returns (bool)
tokenByIndex(uint256 index) view returns (uint256)
tokenOfOwnerByIndex(address owner, uint256 index) view returns (uint256)
tokenURI(uint256 tokenId) view returns (string)
verifyInvitationCode(bytes32 _msg, bytes _sig) pure returns (address)
State-modifying
Events approve(address to, uint256 tokenId)
claimDoid(uint256 _passId)
deactivateUser(address _to)
grantRole(bytes32 role, address account)
initialize(address _admin, string _name, string _symbol)
lockAndMint(string _name, address _to)
lockName(uint256 _passId, string _name)
lockPass(bytes _invitationCode, string _name, bytes32 _classHash, uint256 _passId)
renounceRole(bytes32 role, address account)
reserveName(bytes32[] _hashes)
revokeRole(bytes32 role, address account)
safeTransferFrom(address from, address to, uint256 tokenId)
safeTransferFrom(address from, address to, uint256 tokenId, bytes data)
setApprovalForAll(address operator, bool approved)
setDoidRegistry(address addr)
transferFrom(address from, address to, uint256 tokenId)
updatePassIdStart(uint256 _start)
Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
ApprovalForAll(address indexed owner, address indexed operator, bool approved)
Failure(string error)
Initialized(uint8 version)
LockName(address user, uint256 passId, string name)
LockPass(address user, uint256 passNumber)
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)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.