e511051f3e
* 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
19 lines
509 B
Protocol Buffer
19 lines
509 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
package cerc.bond.v1;
|
|
|
|
option go_package = "git.vdb.to/cerc-io/laconic2d/x/bond";
|
|
|
|
import "gogoproto/gogo.proto";
|
|
import "cerc/bond/v1/bond.proto";
|
|
|
|
// GenesisState defines the bond module's genesis state.
|
|
message GenesisState {
|
|
// params defines all the parameters of the module.
|
|
Params params = 1 [(gogoproto.nullable) = false];
|
|
|
|
// bonds defines all the bonds
|
|
// TODO: Add nullable = false ?
|
|
repeated Bond bonds = 2 [(gogoproto.moretags) = "json:\"bonds\" yaml:\"bonds\""];
|
|
}
|