Skip to main content

index/interfaces/ModeratorRoleUpdatedEvent.md

Emitted when a moderator's role is updated (promoted/demoted). Broadcast to token room.

Properties​

PropertyTypeDescription
newRolestringNew ModeratorRole enum value
oldRolestringPrevious ModeratorRole enum value
tokenNamestringToken name for which the role was updated
updatedAtstringISO 8601 timestamp of when the role was updated
updatedBystringAddress of the user who updated the role
userAddressstringWallet address of the moderator