2021-11-16 03:23:52 -08:00
|
|
|
syntax = "proto3";
|
2022-10-21 13:28:04 -07:00
|
|
|
package wormhole_foundation.wormchain.wormhole;
|
2021-11-16 03:23:52 -08:00
|
|
|
|
2022-10-21 13:28:04 -07:00
|
|
|
option go_package = "github.com/wormhole-foundation/wormchain/x/wormhole/types";
|
2021-11-16 03:23:52 -08:00
|
|
|
|
|
|
|
message EventGuardianSetUpdate{
|
|
|
|
uint32 old_index = 1;
|
|
|
|
uint32 new_index = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message EventPostedMessage{
|
|
|
|
bytes emitter = 1;
|
|
|
|
uint64 sequence = 2;
|
|
|
|
uint32 nonce = 3;
|
|
|
|
uint64 time = 4;
|
|
|
|
bytes payload = 5;
|
|
|
|
}
|
|
|
|
|
|
|
|
message EventGuardianRegistered{
|
|
|
|
bytes guardian_key = 1;
|
|
|
|
bytes validator_key = 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message EventConsensusSetUpdate{
|
|
|
|
uint32 old_index = 1;
|
|
|
|
uint32 new_index = 2;
|
|
|
|
}
|