Skip to main content

Metadata Events

The metadata module emits the following events and telemetry information.


Generic

EventTxCompleted

This event is emitted whenever a TX has completed without issues. It will usually be accompanied by one or more of the other events.

Attribute KeyAttribute Value
Module"metadata"
EndpointThe name of the rpc called, e.g. "WriteScope"
SignersList of bech32 address strings of the msg signers

Scope

EventScopeCreated

This event is emitted whenever a new scope is written.

Attribute KeyAttribute Value
ScopeAddrThe bech32 address string of the ScopeId

EventScopeUpdated

This event is emitted whenever an existing scope is updated.

Attribute KeyAttribute Value
ScopeAddrThe bech32 address string of the ScopeId

EventScopeDeleted

This event is emitted whenever an existing scope is deleted.

Attribute KeyAttribute Value
ScopeAddrThe bech32 address string of the ScopeId

Session

EventSessionCreated

This event is emitted whenever a new session is written.

Attribute KeyAttribute Value
SessionAddrThe bech32 address string of the SessionId
ScopeAddrThe bech32 address string of the session's ScopeId

EventSessionUpdated

This event is emitted whenever an existing session is updated.

Attribute KeyAttribute Value
SessionAddrThe bech32 address string of the SessionId
ScopeAddrThe bech32 address string of the session's ScopeId

EventSessionDeleted

This event is emitted whenever an existing session is deleted.

Attribute KeyAttribute Value
SessionAddrThe bech32 address string of the SessionId
ScopeAddrThe bech32 address string of the session's ScopeId

Record

EventRecordCreated

This event is emitted whenever a new record is written.

Attribute KeyAttribute Value
RecordAddrThe bech32 address string of the RecordId
SessionAddrThe bech32 address string of the record's SessionId
ScopeAddrThe bech32 address string of the record's ScopeId

EventRecordUpdated

This event is emitted whenever an existing record is updated.

Attribute KeyAttribute Value
RecordAddrThe bech32 address string of the RecordId
SessionAddrThe bech32 address string of the record's SessionId
ScopeAddrThe bech32 address string of the record's ScopeId

EventRecordDeleted

This event is emitted whenever an existing record is deleted.

Attribute KeyAttribute Value
RecordAddrThe bech32 address string of the RecordId
ScopeAddrThe bech32 address string of the record's ScopeId

Scope Specification

EventScopeSpecificationCreated

This event is emitted whenever a new scope specification is written.

Attribute KeyAttribute Value
ScopeSpecificationAddrThe bech32 address string of the SpecificationId

EventScopeSpecificationUpdated

This event is emitted whenever an existing scope specification is updated.

Attribute KeyAttribute Value
ScopeSpecificationAddrThe bech32 address string of the SpecificationId

EventScopeSpecificationDeleted

This event is emitted whenever an existing scope specification is deleted.

Attribute KeyAttribute Value
ScopeSpecificationAddrThe bech32 address string of the SpecificationId

Contract Specification

EventContractSpecificationCreated

This event is emitted whenever a new contract specification is written.

Attribute KeyAttribute Value
ContractSpecificationAddrThe bech32 address string of the SpecificationId

EventContractSpecificationUpdated

This event is emitted whenever an existing contract specification is updated.

Attribute KeyAttribute Value
ContractSpecificationAddrThe bech32 address string of the SpecificationId

EventContractSpecificationDeleted

This event is emitted whenever an existing contract specification is deleted.

Attribute KeyAttribute Value
ContractSpecificationAddrThe bech32 address string of the SpecificationId

Record Specification

EventRecordSpecificationCreated

This event is emitted whenever a new record specification is written.

Attribute KeyAttribute Value
RecordSpecificationAddrThe bech32 address string of the SpecificationId
ContractSpecificationAddrThe bech32 address string of the Contract SpecificationId

EventRecordSpecificationUpdated

This event is emitted whenever an existing record specification is updated.

Attribute KeyAttribute Value
RecordSpecificationAddrThe bech32 address string of the SpecificationId
ContractSpecificationAddrThe bech32 address string of the Contract SpecificationId

EventRecordSpecificationDeleted

This event is emitted whenever an existing record specification is deleted.

Attribute KeyAttribute Value
RecordSpecificationAddrThe bech32 address string of the SpecificationId
ContractSpecificationAddrThe bech32 address string of the Contract SpecificationId

Object Store Locator

EventOSLocatorCreated

This event is emitted whenever a new object store locator is written.

Attribute KeyAttribute Value
OwnerThe bech32 address string of the Owner

EventOSLocatorUpdated

This event is emitted whenever an existing object store locator is updated.

Attribute KeyAttribute Value
OwnerThe bech32 address string of the Owner

EventOSLocatorDeleted

This event is emitted whenever an existing object store locator is deleted.

Attribute KeyAttribute Value
OwnerThe bech32 address string of the Owner