File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
lazer/publisher_sdk/proto Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ package pyth_lazer_transaction;
33
44import "google/protobuf/timestamp.proto" ;
55import "pyth_lazer_transaction.proto" ;
6+ import "governance_instruction.proto" ;
67
78// Envelope containing signed transaction and context attached by Pyth Lazer.
89// Created by Pyth Lazer Relayers, which also generate and attach the context.
@@ -24,9 +25,19 @@ message PayloadContext {
2425 // [required] context set based on type of transaction
2526 oneof context {
2627 PublisherUpdateContext publisher_update_context = 2 ;
28+ GovernanceInstructionContext governance_instruction_context = 3 ;
2729 }
2830}
2931
32+ // Context contains status of each governance instruction found in transaction
33+ message GovernanceInstructionContext {
34+ // [required] ID of publisher based on the access token used to connect
35+ optional uint32 publisher_id = 1 ;
36+
37+ // [required] the governance instruction
38+ GovernanceInstruction governance_instruction = 2 ;
39+ }
40+
3041// Context contains status of each feed update found in transaction
3142message PublisherUpdateContext {
3243 // [required] ID of publisher based on the access token used to connect
You can’t perform that action at this time.
0 commit comments