laconicd/x/bond/events.go
prathamesh0 4da8dd8d7b
Additional bond commands (#4)
* Add commands to get bonds by id and owner

* Add commands to get bond module params and balances

* Add commands to refill, withdraw and cancel bond

* Add implementations for bond tx commands

* Use indexed map to implement command for getting bond by owner

* Use collections for bond module params

* Clean up
2024-02-08 18:53:20 +05:30

16 lines
353 B
Go

package bond
// bond module event types
const (
EventTypeCreateBond = "crate_bond"
EventTypeRefillBond = "refill_bond"
EventTypeCancelBond = "cancel_bond"
EventTypeWithdrawBond = "withdraw_bond"
AttributeKeySigner = "signer"
AttributeKeyAmount = "amount"
AttributeKeyBondId = "bond_id"
AttributeValueCategory = ModuleName
)