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
|
|
|
|
|
|
|
import "wormhole/guardian_set.proto";
|
|
|
|
import "gogoproto/gogo.proto";
|
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
|
|
|
|
|
|
|
// GuardianSetUpdateProposal defines a guardian set update governance proposal
|
|
|
|
message GuardianSetUpdateProposal {
|
|
|
|
option (gogoproto.equal) = true;
|
|
|
|
option (gogoproto.goproto_stringer) = false;
|
|
|
|
|
|
|
|
string title = 1;
|
|
|
|
string description = 2;
|
|
|
|
GuardianSet newGuardianSet = 3 [(gogoproto.nullable) = false];
|
|
|
|
}
|
|
|
|
|
|
|
|
// GovernanceWormholeMessageProposal defines a governance proposal to emit a generic message in the governance message
|
|
|
|
// format.
|
|
|
|
message GovernanceWormholeMessageProposal {
|
|
|
|
option (gogoproto.equal) = true;
|
|
|
|
option (gogoproto.goproto_stringer) = false;
|
|
|
|
|
|
|
|
string title = 1;
|
|
|
|
string description = 2;
|
|
|
|
uint32 action = 3;
|
|
|
|
bytes module = 4;
|
|
|
|
uint32 targetChain = 5;
|
|
|
|
bytes payload = 6;
|
|
|
|
}
|