Events - ava-vs/reputation GitHub Wiki
Events
aVa Event Hub can handle upcoming events:
Commom Events
- CreateEvent: Triggered when a new event is created. A simple event to use as a flag.
- BurnEvent: Triggered when the SBT token is burned. Contains tokenId and map with necessary information.
- CollectionCreated: Triggered upon the creation of a new collection. Contains the collection identifier and metadata.
- CollectionUpdated: Triggered upon updating a collection's metadata. Contains the collection identifier and the new metadata.
- CollectionDeleted: Triggered upon the deletion of a collection. Contains the identifier of the deleted collection.
- AddToCollection: Triggered upon the adding token to existing collection. Contains the collection identifier and tokenId.
- RemoveFromCollection: Triggered upon the removing token from collection. Contains the collection identifier and tokenId.
Reputational Events
- InstantReputationUpdateEvent: This event must contain some information about the amount and basis for the immediate change in reputation.
- AwaitingReputationUpdateEvent: This event should contain some information about the basis for the subsequent reputation change.
- NewRegistrationEvent: This event must contain a principal to register in the reputation system.