wormhole/wormchain/proto/wormhole/genesis.proto

25 lines
1.1 KiB
Protocol Buffer

syntax = "proto3";
package wormhole_foundation.wormholechain.wormhole;
import "wormhole/guardian_set.proto";
import "wormhole/config.proto";
import "wormhole/replay_protection.proto";
import "wormhole/sequence_counter.proto";
import "wormhole/consensus_guardian_set_index.proto";
import "wormhole/guardian_validator.proto";
// this line is used by starport scaffolding # genesis/proto/import
import "gogoproto/gogo.proto";
option go_package = "github.com/wormhole-foundation/wormhole-chain/x/wormhole/types";
// GenesisState defines the wormhole module's genesis state.
message GenesisState {
repeated GuardianSet guardianSetList = 1 [(gogoproto.nullable) = false];
Config config = 2;
repeated ReplayProtection replayProtectionList = 3 [(gogoproto.nullable) = false];
repeated SequenceCounter sequenceCounterList = 4 [(gogoproto.nullable) = false];
ConsensusGuardianSetIndex consensusGuardianSetIndex = 5;
repeated GuardianValidator guardianValidatorList = 6 [(gogoproto.nullable) = false];
// this line is used by starport scaffolding # genesis/proto/state
}