Events
All events published by the Currency plugin through SparkEventBus.
CurrencyAddedEvent
WalletId, EntityId, CurrencyId, Amount, NewTotal
Currency added to a wallet
CurrencyRemovedEvent
WalletId, EntityId, CurrencyId, Amount, NewTotal
Currency removed from a wallet
CurrencySetEvent
WalletId, EntityId, CurrencyId, OldAmount, NewAmount
Currency amount directly set
CurrencyConvertedEvent
WalletId, EntityId, SourceCurrencyId, TargetCurrencyId, SourceAmount, TargetAmount
Currency converted via exchange rate
CurrencyTransferredEvent
SourceWalletId, TargetWalletId, SourceEntityId, TargetEntityId, CurrencyId, Amount
Currency transferred between wallets
WalletCreatedEvent
WalletId, EntityId
New wallet instance created
WalletDestroyedEvent
WalletId, EntityId
Wallet instance destroyed
See Event System for full details on subscribing, publishing, and handling events.
Last updated
Was this helpful?
