events

package
v0.0.1-rc-1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 29, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EventEndowed sc.U8 = iota
	EventDustLost
	EventTransfer
	EventBalanceSet
	EventReserved
	EventUnreserved
	EventReserveRepatriated
	EventDeposit
	EventWithdraw
	EventSlashed
)

Balances module events.

Variables

This section is empty.

Functions

func DecodeEvent

func DecodeEvent(buffer *bytes.Buffer) types.Event

func NewEventBalanceSet

func NewEventBalanceSet(account types.PublicKey, free types.Balance, reserved types.Balance) types.Event

func NewEventDeposit

func NewEventDeposit(account types.PublicKey, amount types.Balance) types.Event

func NewEventDustLost

func NewEventDustLost(account types.PublicKey, amount types.Balance) types.Event

func NewEventEndowed

func NewEventEndowed(account types.PublicKey, freeBalance types.Balance) types.Event

func NewEventReserveRepatriated

func NewEventReserveRepatriated(from types.PublicKey, to types.PublicKey, amount types.Balance, destinationStatus types.BalanceStatus) types.Event

func NewEventReserved

func NewEventReserved(account types.PublicKey, amount types.Balance) types.Event

func NewEventSlashed

func NewEventSlashed(account types.PublicKey, amount types.Balance) types.Event

func NewEventTransfer

func NewEventTransfer(from types.PublicKey, to types.PublicKey, amount types.Balance) types.Event

func NewEventUnreserved

func NewEventUnreserved(account types.PublicKey, amount types.Balance) types.Event

func NewEventWithdraw

func NewEventWithdraw(account types.PublicKey, amount types.Balance) types.Event

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL