sonr/proto/did/v1/genesis.proto

30 lines
700 B
Protocol Buffer
Raw Normal View History

2024-07-05 22:20:13 -04:00
syntax = "proto3";
package did.v1;
import "gogoproto/gogo.proto";
import "amino/amino.proto";
2024-08-10 17:19:59 -04:00
import "did/v1/types.proto";
2024-07-05 22:20:13 -04:00
option go_package = "github.com/onsonr/hway/x/did/types";
// GenesisState defines the module genesis state
message GenesisState {
// Params defines all the parameters of the module.
2024-07-05 22:20:13 -04:00
Params params = 1 [(gogoproto.nullable) = false];
}
// Params defines the set of module parameters.
message Params {
option (amino.name) = "did/params";
option (gogoproto.equal) = true;
option (gogoproto.goproto_stringer) = false;
2024-07-26 12:14:20 -04:00
// Whitelisted Assets
repeated AssetInfo whitelisted_assets = 1;
2024-07-05 22:20:13 -04:00
2024-07-26 12:14:20 -04:00
// Whitelisted Blockchains
repeated ChainInfo whitelisted_chains = 2;
}
2024-07-05 22:20:13 -04:00
2024-07-26 12:14:20 -04:00