laconicd/x/bond/events.go
prathamesh0 e511051f3e
Add commands to create and list bonds (#3)
* Add message service with a create bond command

* Add query proto file with bonds list query

* Remove legacy amino coded registration

* Add bond to auth module config

* Use collections package for bond module state
2024-02-02 15:09:10 +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
)