forked from cerc-io/laconicd
4da8dd8d7b
* 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
16 lines
353 B
Go
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
|
|
)
|