File tree Expand file tree Collapse file tree 1 file changed +80
-0
lines changed
governance/remote_executor Expand file tree Collapse file tree 1 file changed +80
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "version" : " 0.1.0" ,
3
+ "name" : " remote_executor" ,
4
+ "instructions" : [
5
+ {
6
+ "name" : " executePostedVaa" ,
7
+ "accounts" : [
8
+ {
9
+ "name" : " payer" ,
10
+ "isMut" : true ,
11
+ "isSigner" : true
12
+ },
13
+ {
14
+ "name" : " postedVaa" ,
15
+ "isMut" : false ,
16
+ "isSigner" : false
17
+ },
18
+ {
19
+ "name" : " claimRecord" ,
20
+ "isMut" : true ,
21
+ "isSigner" : false ,
22
+ "docs" : [
23
+ " The reason claim_record has different seeds than executor_key is that executor key might need to pay in the CPI, so we want it to be a native wallet"
24
+ ]
25
+ },
26
+ {
27
+ "name" : " systemProgram" ,
28
+ "isMut" : false ,
29
+ "isSigner" : false
30
+ }
31
+ ],
32
+ "args" : []
33
+ }
34
+ ],
35
+ "accounts" : [
36
+ {
37
+ "name" : " ClaimRecord" ,
38
+ "docs" : [" This struct records" ],
39
+ "type" : {
40
+ "kind" : " struct" ,
41
+ "fields" : [
42
+ {
43
+ "name" : " sequence" ,
44
+ "type" : " u64"
45
+ }
46
+ ]
47
+ }
48
+ }
49
+ ],
50
+ "errors" : [
51
+ {
52
+ "code" : 6000 ,
53
+ "name" : " EmitterChainNotSolana"
54
+ },
55
+ {
56
+ "code" : 6001 ,
57
+ "name" : " NonIncreasingSequence"
58
+ },
59
+ {
60
+ "code" : 6002 ,
61
+ "name" : " GovernanceHeaderInvalidMagicNumber"
62
+ },
63
+ {
64
+ "code" : 6003 ,
65
+ "name" : " GovernanceHeaderInvalidModule"
66
+ },
67
+ {
68
+ "code" : 6004 ,
69
+ "name" : " GovernanceHeaderInvalidAction"
70
+ },
71
+ {
72
+ "code" : 6005 ,
73
+ "name" : " GovernanceHeaderInvalidReceiverChain"
74
+ },
75
+ {
76
+ "code" : 6006 ,
77
+ "name" : " PostedVaaHeaderWrongMagicNumber"
78
+ }
79
+ ]
80
+ }
You can’t perform that action at this time.
0 commit comments