29 lines
871 B
Protocol Buffer
29 lines
871 B
Protocol Buffer
|
syntax = "proto3";
|
||
|
package ibc.types;
|
||
|
|
||
|
option go_package = "github.com/cosmos/cosmos-sdk/x/ibc/types";
|
||
|
|
||
|
import "gogoproto/gogo.proto";
|
||
|
import "ibc/client/genesis.proto";
|
||
|
import "ibc/connection/genesis.proto";
|
||
|
import "ibc/channel/genesis.proto";
|
||
|
|
||
|
// GenesisState defines the ibc module's genesis state.
|
||
|
message GenesisState {
|
||
|
// ICS002 - Clients genesis state
|
||
|
ibc.client.GenesisState client_genesis = 1 [
|
||
|
(gogoproto.nullable) = false,
|
||
|
(gogoproto.moretags) = "yaml:\"client_genesis\""
|
||
|
];
|
||
|
// ICS003 - Connections genesis state
|
||
|
ibc.connection.GenesisState connection_genesis = 2 [
|
||
|
(gogoproto.nullable) = false,
|
||
|
(gogoproto.moretags) = "yaml:\"connection_genesis\""
|
||
|
];
|
||
|
// ICS004 - Channel genesis state
|
||
|
ibc.channel.GenesisState channel_genesis = 3 [
|
||
|
(gogoproto.nullable) = false,
|
||
|
(gogoproto.moretags) = "yaml:\"channel_genesis\""
|
||
|
];
|
||
|
}
|