Events
HubEvent
Field | Type | Label | Description |
---|---|---|---|
type | HubEventType | ||
id | uint64 | ||
body | MergeMessageBody, PruneMessageBody, RevokeMessageBody, MergeNameRegistryEventBody, MergeUserNameProofBody, MergeRentRegistryEventBody, MergeStorageAdminRegistryEventBody | oneOf |
HubEventType
Name | Number | Description |
---|---|---|
HUB_EVENT_TYPE_NONE | 0 | |
HUB_EVENT_TYPE_MERGE_MESSAGE | 1 | |
HUB_EVENT_TYPE_PRUNE_MESSAGE | 2 | |
HUB_EVENT_TYPE_REVOKE_MESSAGE | 3 | |
HUB_EVENT_TYPE_MERGE_ID_REGISTRY_EVENT | 4 | |
HUB_EVENT_TYPE_MERGE_NAME_REGISTRY_EVENT | 5 | |
HUB_EVENT_TYPE_MERGE_USERNAME_PROOF | 6 | |
HUB_EVENT_TYPE_MERGE_RENT_REGISTRY_EVENT | 7 | |
HUB_EVENT_TYPE_MERGE_STORAGE_ADMIN_REGISTRY_EVENT | 8 |
MergeIdRegistryEventBody
Field | Type | Label | Description |
---|---|---|---|
id_registry_event | IdRegistryEvent |
IdRegistryEvent
Field | Type | Label | Description |
---|---|---|---|
block_number | uint32 | ||
block_hash | bytes | ||
transaction_hash | bytes | ||
log_index | uint32 | ||
fid | uint64 | ||
to | bytes | ||
type | IdRegistryEventType | ||
from | bytes |
IdRegistryEventType
Name | Number | Description |
---|---|---|
ID_REGISTRY_EVENT_TYPE_NONE | 0 | |
ID_REGISTRY_EVENT_TYPE_REGISTER | 1 | |
ID_REGISTRY_EVENT_TYPE_TRANSFER | 2 |
MergeMessageBody
Field | Type | Label | Description |
---|---|---|---|
message | Message | ||
deleted_messages | Message | repeated |
MergeNameRegistryEventBody
Field | Type | Label | Description |
---|---|---|---|
name_registry_event | NameRegistryEvent |
NameRegistryEvent
Field | Type | Label | Description |
---|---|---|---|
block_number | uint32 | ||
block_hash | bytes | ||
transaction_hash | bytes | ||
log_index | uint32 | ||
fname | bytes | ||
from | bytes | ||
to | bytes | ||
type | NameRegistryEventType | ||
expiry | uint32 |
NameRegistryEventType
Name | Number | Description |
---|---|---|
NAME_REGISTRY_EVENT_TYPE_NONE | 0 | |
NAME_REGISTRY_EVENT_TYPE_TRANSFER | 1 | |
NAME_REGISTRY_EVENT_TYPE_RENEW | 2 |
MergeRentRegistryEventBody
Field | Type | Label | Description |
---|---|---|---|
rent_registry_event | RentRegistryEvent |
MergeStorageAdminRegistryEventBody
Field | Type | Label | Description |
---|---|---|---|
storage_admin_registry_event | StorageAdminRegistryEvent |
MergeUserNameProofBody
Field | Type | Label | Description |
---|---|---|---|
username_proof | UserNameProof | ||
deleted_username_proof | UserNameProof | ||
username_proof_message | Message | ||
deleted_username_proof_message | Message |
PruneMessageBody
Field | Type | Label | Description |
---|---|---|---|
message | Message |
RevokeMessageBody
Field | Type | Label | Description |
---|---|---|---|
message | Message |