@helium/spl-utils 0.9.24-alpha.0 → 0.10.0-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/fetchBackwardsCompatibleIdl.js +1 -1
- package/lib/cjs/fetchBackwardsCompatibleIdl.js.map +1 -1
- package/lib/cjs/idl/circuit_breaker.json +388 -210
- package/lib/cjs/idl/data_credits.json +1847 -673
- package/lib/cjs/idl/fanout.json +1123 -328
- package/lib/cjs/idl/helium_entity_manager.json +4611 -2523
- package/lib/cjs/idl/helium_sub_daos.json +3863 -1971
- package/lib/cjs/idl/hexboosting.json +853 -282
- package/lib/cjs/idl/lazy_distributor.json +1640 -736
- package/lib/cjs/idl/lazy_transactions.json +341 -237
- package/lib/cjs/idl/mobile_entity_manager.json +2016 -602
- package/lib/cjs/idl/no_emit.json +168 -34
- package/lib/cjs/idl/price_oracle.json +179 -118
- package/lib/cjs/idl/rewards_oracle.json +374 -61
- package/lib/cjs/idl/treasury_management.json +495 -187
- package/lib/cjs/idl/voter_stake_registry.json +2955 -1339
- package/lib/cjs/transaction.js +1 -1
- package/lib/esm/src/fetchBackwardsCompatibleIdl.js +1 -1
- package/lib/esm/src/fetchBackwardsCompatibleIdl.js.map +1 -1
- package/lib/esm/src/idl/circuit_breaker.json +388 -210
- package/lib/esm/src/idl/data_credits.json +1847 -673
- package/lib/esm/src/idl/fanout.json +1123 -328
- package/lib/esm/src/idl/helium_entity_manager.json +4611 -2523
- package/lib/esm/src/idl/helium_sub_daos.json +3863 -1971
- package/lib/esm/src/idl/hexboosting.json +853 -282
- package/lib/esm/src/idl/lazy_distributor.json +1640 -736
- package/lib/esm/src/idl/lazy_transactions.json +341 -237
- package/lib/esm/src/idl/mobile_entity_manager.json +2016 -602
- package/lib/esm/src/idl/no_emit.json +168 -34
- package/lib/esm/src/idl/price_oracle.json +179 -118
- package/lib/esm/src/idl/rewards_oracle.json +374 -61
- package/lib/esm/src/idl/treasury_management.json +495 -187
- package/lib/esm/src/idl/voter_stake_registry.json +2955 -1339
- package/lib/esm/src/transaction.js +1 -1
- package/lib/esm/tsconfig.esm.tsbuildinfo +1 -1
- package/package.json +5 -5
|
@@ -1,364 +1,455 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
2
|
+
"address": "1atrmQs3eq1N2FEYWu6tyTXbCjP4uQwExpjtnhXtS8h",
|
|
3
|
+
"metadata": {
|
|
4
|
+
"name": "lazy_transactions",
|
|
5
|
+
"version": "0.2.0",
|
|
6
|
+
"spec": "0.1.0",
|
|
7
|
+
"description": "Created with Anchor"
|
|
8
|
+
},
|
|
4
9
|
"instructions": [
|
|
5
10
|
{
|
|
6
|
-
"name": "
|
|
11
|
+
"name": "close_canopy_v0",
|
|
12
|
+
"discriminator": [
|
|
13
|
+
92,
|
|
14
|
+
189,
|
|
15
|
+
176,
|
|
16
|
+
245,
|
|
17
|
+
129,
|
|
18
|
+
173,
|
|
19
|
+
166,
|
|
20
|
+
169
|
|
21
|
+
],
|
|
7
22
|
"accounts": [
|
|
8
23
|
{
|
|
9
|
-
"name": "
|
|
10
|
-
"
|
|
11
|
-
|
|
24
|
+
"name": "refund",
|
|
25
|
+
"writable": true
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"name": "authority",
|
|
29
|
+
"signer": true,
|
|
30
|
+
"relations": [
|
|
31
|
+
"lazy_transactions"
|
|
32
|
+
]
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"name": "lazy_transactions",
|
|
36
|
+
"writable": true
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"name": "canopy",
|
|
40
|
+
"writable": true,
|
|
41
|
+
"relations": [
|
|
42
|
+
"lazy_transactions"
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"args": []
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"name": "close_marker_v0",
|
|
50
|
+
"discriminator": [
|
|
51
|
+
202,
|
|
52
|
+
88,
|
|
53
|
+
149,
|
|
54
|
+
144,
|
|
55
|
+
81,
|
|
56
|
+
215,
|
|
57
|
+
1,
|
|
58
|
+
175
|
|
59
|
+
],
|
|
60
|
+
"accounts": [
|
|
61
|
+
{
|
|
62
|
+
"name": "refund",
|
|
63
|
+
"writable": true
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
"name": "lazy_transactions",
|
|
67
|
+
"writable": true
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "authority",
|
|
71
|
+
"signer": true,
|
|
72
|
+
"relations": [
|
|
73
|
+
"lazy_transactions"
|
|
74
|
+
]
|
|
12
75
|
},
|
|
13
76
|
{
|
|
14
|
-
"name": "
|
|
15
|
-
"
|
|
16
|
-
"isSigner": false,
|
|
77
|
+
"name": "block",
|
|
78
|
+
"writable": true,
|
|
17
79
|
"pda": {
|
|
18
80
|
"seeds": [
|
|
19
81
|
{
|
|
20
82
|
"kind": "const",
|
|
21
|
-
"
|
|
22
|
-
|
|
83
|
+
"value": [
|
|
84
|
+
98,
|
|
85
|
+
108,
|
|
86
|
+
111,
|
|
87
|
+
99,
|
|
88
|
+
107
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"kind": "account",
|
|
93
|
+
"path": "lazy_transactions"
|
|
23
94
|
},
|
|
24
95
|
{
|
|
25
96
|
"kind": "arg",
|
|
26
|
-
"
|
|
27
|
-
"defined": "InitializeLazyTransactionsArgsV0"
|
|
28
|
-
},
|
|
29
|
-
"path": "args.name"
|
|
97
|
+
"path": "args.index"
|
|
30
98
|
}
|
|
31
99
|
]
|
|
32
100
|
}
|
|
33
101
|
},
|
|
34
102
|
{
|
|
35
|
-
"name": "
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
"name": "executedTransactions",
|
|
41
|
-
"isMut": true,
|
|
42
|
-
"isSigner": false
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"name": "systemProgram",
|
|
46
|
-
"isMut": false,
|
|
47
|
-
"isSigner": false
|
|
103
|
+
"name": "executed_transactions",
|
|
104
|
+
"writable": true,
|
|
105
|
+
"relations": [
|
|
106
|
+
"lazy_transactions"
|
|
107
|
+
]
|
|
48
108
|
}
|
|
49
109
|
],
|
|
50
110
|
"args": [
|
|
51
111
|
{
|
|
52
112
|
"name": "args",
|
|
53
113
|
"type": {
|
|
54
|
-
"defined":
|
|
114
|
+
"defined": {
|
|
115
|
+
"name": "CloseMarkerArgsV0"
|
|
116
|
+
}
|
|
55
117
|
}
|
|
56
118
|
}
|
|
57
119
|
]
|
|
58
120
|
},
|
|
59
121
|
{
|
|
60
|
-
"name": "
|
|
122
|
+
"name": "execute_transaction_v0",
|
|
123
|
+
"discriminator": [
|
|
124
|
+
217,
|
|
125
|
+
93,
|
|
126
|
+
174,
|
|
127
|
+
97,
|
|
128
|
+
130,
|
|
129
|
+
183,
|
|
130
|
+
126,
|
|
131
|
+
44
|
|
132
|
+
],
|
|
61
133
|
"accounts": [
|
|
62
134
|
{
|
|
63
135
|
"name": "payer",
|
|
64
|
-
"
|
|
65
|
-
"
|
|
136
|
+
"writable": true,
|
|
137
|
+
"signer": true
|
|
66
138
|
},
|
|
67
139
|
{
|
|
68
|
-
"name": "
|
|
69
|
-
"
|
|
70
|
-
"isSigner": false,
|
|
71
|
-
"relations": [
|
|
72
|
-
"canopy",
|
|
73
|
-
"executed_transactions"
|
|
74
|
-
]
|
|
140
|
+
"name": "lazy_transactions",
|
|
141
|
+
"writable": true
|
|
75
142
|
},
|
|
76
143
|
{
|
|
77
144
|
"name": "canopy",
|
|
78
|
-
"
|
|
79
|
-
|
|
145
|
+
"relations": [
|
|
146
|
+
"lazy_transactions"
|
|
147
|
+
]
|
|
80
148
|
},
|
|
81
149
|
{
|
|
82
|
-
"name": "
|
|
83
|
-
"
|
|
84
|
-
"isSigner": false,
|
|
150
|
+
"name": "lazy_signer",
|
|
151
|
+
"writable": true,
|
|
85
152
|
"pda": {
|
|
86
153
|
"seeds": [
|
|
87
154
|
{
|
|
88
155
|
"kind": "const",
|
|
89
|
-
"
|
|
90
|
-
|
|
156
|
+
"value": [
|
|
157
|
+
108,
|
|
158
|
+
97,
|
|
159
|
+
122,
|
|
160
|
+
121,
|
|
161
|
+
95,
|
|
162
|
+
115,
|
|
163
|
+
105,
|
|
164
|
+
103,
|
|
165
|
+
110,
|
|
166
|
+
101,
|
|
167
|
+
114
|
|
168
|
+
]
|
|
91
169
|
},
|
|
92
170
|
{
|
|
93
171
|
"kind": "account",
|
|
94
|
-
"
|
|
95
|
-
"account": "LazyTransactionsV0"
|
|
96
|
-
"path": "lazy_transactions.name"
|
|
172
|
+
"path": "lazy_transactions.name",
|
|
173
|
+
"account": "LazyTransactionsV0"
|
|
97
174
|
}
|
|
98
175
|
]
|
|
99
176
|
}
|
|
100
177
|
},
|
|
101
178
|
{
|
|
102
179
|
"name": "block",
|
|
103
|
-
"isMut": false,
|
|
104
|
-
"isSigner": false,
|
|
105
180
|
"pda": {
|
|
106
181
|
"seeds": [
|
|
107
182
|
{
|
|
108
183
|
"kind": "const",
|
|
109
|
-
"
|
|
110
|
-
|
|
184
|
+
"value": [
|
|
185
|
+
98,
|
|
186
|
+
108,
|
|
187
|
+
111,
|
|
188
|
+
99,
|
|
189
|
+
107
|
|
190
|
+
]
|
|
111
191
|
},
|
|
112
192
|
{
|
|
113
193
|
"kind": "account",
|
|
114
|
-
"type": "publicKey",
|
|
115
|
-
"account": "LazyTransactionsV0",
|
|
116
194
|
"path": "lazy_transactions"
|
|
117
195
|
},
|
|
118
196
|
{
|
|
119
197
|
"kind": "arg",
|
|
120
|
-
"type": {
|
|
121
|
-
"defined": "ExecuteTransactionArgsV0"
|
|
122
|
-
},
|
|
123
198
|
"path": "args.index"
|
|
124
199
|
}
|
|
125
200
|
]
|
|
126
201
|
}
|
|
127
202
|
},
|
|
128
203
|
{
|
|
129
|
-
"name": "
|
|
130
|
-
"
|
|
131
|
-
"isSigner": false
|
|
204
|
+
"name": "system_program",
|
|
205
|
+
"address": "11111111111111111111111111111111"
|
|
132
206
|
},
|
|
133
207
|
{
|
|
134
|
-
"name": "
|
|
135
|
-
"
|
|
136
|
-
"
|
|
208
|
+
"name": "executed_transactions",
|
|
209
|
+
"writable": true,
|
|
210
|
+
"relations": [
|
|
211
|
+
"lazy_transactions"
|
|
212
|
+
]
|
|
137
213
|
}
|
|
138
214
|
],
|
|
139
215
|
"args": [
|
|
140
216
|
{
|
|
141
217
|
"name": "args",
|
|
142
218
|
"type": {
|
|
143
|
-
"defined":
|
|
219
|
+
"defined": {
|
|
220
|
+
"name": "ExecuteTransactionArgsV0"
|
|
221
|
+
}
|
|
144
222
|
}
|
|
145
223
|
}
|
|
146
224
|
]
|
|
147
225
|
},
|
|
148
226
|
{
|
|
149
|
-
"name": "
|
|
227
|
+
"name": "initialize_lazy_transactions_v0",
|
|
228
|
+
"discriminator": [
|
|
229
|
+
32,
|
|
230
|
+
227,
|
|
231
|
+
207,
|
|
232
|
+
127,
|
|
233
|
+
112,
|
|
234
|
+
50,
|
|
235
|
+
31,
|
|
236
|
+
157
|
|
237
|
+
],
|
|
150
238
|
"accounts": [
|
|
151
239
|
{
|
|
152
|
-
"name": "
|
|
153
|
-
"
|
|
154
|
-
"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
"name": "lazyTransactions",
|
|
158
|
-
"isMut": true,
|
|
159
|
-
"isSigner": false,
|
|
160
|
-
"relations": [
|
|
161
|
-
"authority",
|
|
162
|
-
"executed_transactions"
|
|
163
|
-
]
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"name": "authority",
|
|
167
|
-
"isMut": false,
|
|
168
|
-
"isSigner": true
|
|
240
|
+
"name": "payer",
|
|
241
|
+
"writable": true,
|
|
242
|
+
"signer": true
|
|
169
243
|
},
|
|
170
244
|
{
|
|
171
|
-
"name": "
|
|
172
|
-
"
|
|
173
|
-
"isSigner": false,
|
|
245
|
+
"name": "lazy_transactions",
|
|
246
|
+
"writable": true,
|
|
174
247
|
"pda": {
|
|
175
248
|
"seeds": [
|
|
176
249
|
{
|
|
177
250
|
"kind": "const",
|
|
178
|
-
"
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
251
|
+
"value": [
|
|
252
|
+
108,
|
|
253
|
+
97,
|
|
254
|
+
122,
|
|
255
|
+
121,
|
|
256
|
+
95,
|
|
257
|
+
116,
|
|
258
|
+
114,
|
|
259
|
+
97,
|
|
260
|
+
110,
|
|
261
|
+
115,
|
|
262
|
+
97,
|
|
263
|
+
99,
|
|
264
|
+
116,
|
|
265
|
+
105,
|
|
266
|
+
111,
|
|
267
|
+
110,
|
|
268
|
+
115
|
|
269
|
+
]
|
|
186
270
|
},
|
|
187
271
|
{
|
|
188
272
|
"kind": "arg",
|
|
189
|
-
"
|
|
190
|
-
"defined": "CloseMarkerArgsV0"
|
|
191
|
-
},
|
|
192
|
-
"path": "args.index"
|
|
273
|
+
"path": "args.name"
|
|
193
274
|
}
|
|
194
275
|
]
|
|
195
276
|
}
|
|
196
277
|
},
|
|
197
278
|
{
|
|
198
|
-
"name": "
|
|
199
|
-
"
|
|
200
|
-
|
|
279
|
+
"name": "canopy",
|
|
280
|
+
"writable": true
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"name": "executed_transactions",
|
|
284
|
+
"writable": true
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "system_program",
|
|
288
|
+
"address": "11111111111111111111111111111111"
|
|
201
289
|
}
|
|
202
290
|
],
|
|
203
291
|
"args": [
|
|
204
292
|
{
|
|
205
293
|
"name": "args",
|
|
206
294
|
"type": {
|
|
207
|
-
"defined":
|
|
295
|
+
"defined": {
|
|
296
|
+
"name": "InitializeLazyTransactionsArgsV0"
|
|
297
|
+
}
|
|
208
298
|
}
|
|
209
299
|
}
|
|
210
300
|
]
|
|
211
301
|
},
|
|
212
302
|
{
|
|
213
|
-
"name": "
|
|
303
|
+
"name": "set_canopy_v0",
|
|
304
|
+
"discriminator": [
|
|
305
|
+
25,
|
|
306
|
+
86,
|
|
307
|
+
129,
|
|
308
|
+
124,
|
|
309
|
+
184,
|
|
310
|
+
195,
|
|
311
|
+
134,
|
|
312
|
+
89
|
|
313
|
+
],
|
|
214
314
|
"accounts": [
|
|
215
|
-
{
|
|
216
|
-
"name": "refund",
|
|
217
|
-
"isMut": true,
|
|
218
|
-
"isSigner": false
|
|
219
|
-
},
|
|
220
315
|
{
|
|
221
316
|
"name": "authority",
|
|
222
|
-
"
|
|
223
|
-
"isSigner": true
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"name": "lazyTransactions",
|
|
227
|
-
"isMut": true,
|
|
228
|
-
"isSigner": false,
|
|
317
|
+
"signer": true,
|
|
229
318
|
"relations": [
|
|
230
|
-
"
|
|
231
|
-
"canopy"
|
|
319
|
+
"lazy_transactions"
|
|
232
320
|
]
|
|
233
321
|
},
|
|
234
322
|
{
|
|
235
|
-
"name": "
|
|
236
|
-
"
|
|
237
|
-
"isSigner": false
|
|
238
|
-
}
|
|
239
|
-
],
|
|
240
|
-
"args": []
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"name": "updateLazyTransactionsV0",
|
|
244
|
-
"accounts": [
|
|
245
|
-
{
|
|
246
|
-
"name": "authority",
|
|
247
|
-
"isMut": false,
|
|
248
|
-
"isSigner": true
|
|
323
|
+
"name": "lazy_transactions",
|
|
324
|
+
"writable": true
|
|
249
325
|
},
|
|
250
326
|
{
|
|
251
|
-
"name": "
|
|
252
|
-
"
|
|
253
|
-
"isSigner": false,
|
|
327
|
+
"name": "canopy",
|
|
328
|
+
"writable": true,
|
|
254
329
|
"relations": [
|
|
255
|
-
"
|
|
330
|
+
"lazy_transactions"
|
|
256
331
|
]
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"name": "canopy",
|
|
260
|
-
"isMut": true,
|
|
261
|
-
"isSigner": false
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"name": "executedTransactions",
|
|
265
|
-
"isMut": true,
|
|
266
|
-
"isSigner": false
|
|
267
332
|
}
|
|
268
333
|
],
|
|
269
334
|
"args": [
|
|
270
335
|
{
|
|
271
336
|
"name": "args",
|
|
272
337
|
"type": {
|
|
273
|
-
"defined":
|
|
338
|
+
"defined": {
|
|
339
|
+
"name": "SetCanopyArgsV0"
|
|
340
|
+
}
|
|
274
341
|
}
|
|
275
342
|
}
|
|
276
343
|
]
|
|
277
344
|
},
|
|
278
345
|
{
|
|
279
|
-
"name": "
|
|
346
|
+
"name": "update_lazy_transactions_v0",
|
|
347
|
+
"discriminator": [
|
|
348
|
+
56,
|
|
349
|
+
223,
|
|
350
|
+
165,
|
|
351
|
+
245,
|
|
352
|
+
150,
|
|
353
|
+
236,
|
|
354
|
+
173,
|
|
355
|
+
37
|
|
356
|
+
],
|
|
280
357
|
"accounts": [
|
|
281
358
|
{
|
|
282
359
|
"name": "authority",
|
|
283
|
-
"
|
|
284
|
-
"isSigner": true
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
"name": "lazyTransactions",
|
|
288
|
-
"isMut": true,
|
|
289
|
-
"isSigner": false,
|
|
360
|
+
"signer": true,
|
|
290
361
|
"relations": [
|
|
291
|
-
"
|
|
292
|
-
"canopy"
|
|
362
|
+
"lazy_transactions"
|
|
293
363
|
]
|
|
294
364
|
},
|
|
365
|
+
{
|
|
366
|
+
"name": "lazy_transactions",
|
|
367
|
+
"writable": true
|
|
368
|
+
},
|
|
295
369
|
{
|
|
296
370
|
"name": "canopy",
|
|
297
|
-
"
|
|
298
|
-
|
|
371
|
+
"writable": true
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"name": "executed_transactions",
|
|
375
|
+
"writable": true
|
|
299
376
|
}
|
|
300
377
|
],
|
|
301
378
|
"args": [
|
|
302
379
|
{
|
|
303
380
|
"name": "args",
|
|
304
381
|
"type": {
|
|
305
|
-
"defined":
|
|
382
|
+
"defined": {
|
|
383
|
+
"name": "UpdateLazyTransactionsArgsV0"
|
|
384
|
+
}
|
|
306
385
|
}
|
|
307
386
|
}
|
|
308
387
|
]
|
|
309
388
|
}
|
|
310
389
|
],
|
|
311
390
|
"accounts": [
|
|
391
|
+
{
|
|
392
|
+
"name": "Block",
|
|
393
|
+
"discriminator": [
|
|
394
|
+
12,
|
|
395
|
+
72,
|
|
396
|
+
207,
|
|
397
|
+
108,
|
|
398
|
+
1,
|
|
399
|
+
228,
|
|
400
|
+
167,
|
|
401
|
+
221
|
|
402
|
+
]
|
|
403
|
+
},
|
|
312
404
|
{
|
|
313
405
|
"name": "LazyTransactionsV0",
|
|
314
|
-
"
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
"name": "bumpSeed",
|
|
344
|
-
"type": "u8"
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
"name": "executedTransactions",
|
|
348
|
-
"type": "publicKey"
|
|
349
|
-
}
|
|
350
|
-
]
|
|
351
|
-
}
|
|
406
|
+
"discriminator": [
|
|
407
|
+
51,
|
|
408
|
+
89,
|
|
409
|
+
224,
|
|
410
|
+
39,
|
|
411
|
+
73,
|
|
412
|
+
173,
|
|
413
|
+
229,
|
|
414
|
+
141
|
|
415
|
+
]
|
|
416
|
+
}
|
|
417
|
+
],
|
|
418
|
+
"errors": [
|
|
419
|
+
{
|
|
420
|
+
"code": 6000,
|
|
421
|
+
"name": "InvalidData",
|
|
422
|
+
"msg": "The data did not match the root verification"
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
"code": 6001,
|
|
426
|
+
"name": "InstructionSerializeFailed",
|
|
427
|
+
"msg": "Failed to serialize instruction"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"code": 6002,
|
|
431
|
+
"name": "ToCreateSerializeFailed",
|
|
432
|
+
"msg": "Failed to serialize ToCreate"
|
|
352
433
|
},
|
|
434
|
+
{
|
|
435
|
+
"code": 6003,
|
|
436
|
+
"name": "CanopyLengthMismatch",
|
|
437
|
+
"msg": "Invalid canopy length"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"code": 6004,
|
|
441
|
+
"name": "TransactionAlreadyExecuted",
|
|
442
|
+
"msg": "Transaction has already been executed"
|
|
443
|
+
}
|
|
444
|
+
],
|
|
445
|
+
"types": [
|
|
353
446
|
{
|
|
354
447
|
"name": "Block",
|
|
355
448
|
"type": {
|
|
356
449
|
"kind": "struct",
|
|
357
450
|
"fields": []
|
|
358
451
|
}
|
|
359
|
-
}
|
|
360
|
-
],
|
|
361
|
-
"types": [
|
|
452
|
+
},
|
|
362
453
|
{
|
|
363
454
|
"name": "CloseMarkerArgsV0",
|
|
364
455
|
"type": {
|
|
@@ -377,7 +468,7 @@
|
|
|
377
468
|
"kind": "struct",
|
|
378
469
|
"fields": [
|
|
379
470
|
{
|
|
380
|
-
"name": "
|
|
471
|
+
"name": "program_id_index",
|
|
381
472
|
"docs": [
|
|
382
473
|
"Index into the transaction keys array indicating the program account that executes this instruction."
|
|
383
474
|
],
|
|
@@ -409,12 +500,14 @@
|
|
|
409
500
|
"name": "instructions",
|
|
410
501
|
"type": {
|
|
411
502
|
"vec": {
|
|
412
|
-
"defined":
|
|
503
|
+
"defined": {
|
|
504
|
+
"name": "CompiledInstruction"
|
|
505
|
+
}
|
|
413
506
|
}
|
|
414
507
|
}
|
|
415
508
|
},
|
|
416
509
|
{
|
|
417
|
-
"name": "
|
|
510
|
+
"name": "signer_seeds",
|
|
418
511
|
"docs": [
|
|
419
512
|
"Additional signer seeds. Should include bump",
|
|
420
513
|
"Note that these seeds will be prefixed with \"user\", lazy_transactions.name",
|
|
@@ -454,15 +547,56 @@
|
|
|
454
547
|
},
|
|
455
548
|
{
|
|
456
549
|
"name": "authority",
|
|
457
|
-
"type": "
|
|
550
|
+
"type": "pubkey"
|
|
458
551
|
},
|
|
459
552
|
{
|
|
460
|
-
"name": "
|
|
553
|
+
"name": "max_depth",
|
|
461
554
|
"type": "u32"
|
|
462
555
|
}
|
|
463
556
|
]
|
|
464
557
|
}
|
|
465
558
|
},
|
|
559
|
+
{
|
|
560
|
+
"name": "LazyTransactionsV0",
|
|
561
|
+
"type": {
|
|
562
|
+
"kind": "struct",
|
|
563
|
+
"fields": [
|
|
564
|
+
{
|
|
565
|
+
"name": "root",
|
|
566
|
+
"type": {
|
|
567
|
+
"array": [
|
|
568
|
+
"u8",
|
|
569
|
+
32
|
|
570
|
+
]
|
|
571
|
+
}
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
"name": "name",
|
|
575
|
+
"type": "string"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"name": "max_depth",
|
|
579
|
+
"type": "u32"
|
|
580
|
+
},
|
|
581
|
+
{
|
|
582
|
+
"name": "authority",
|
|
583
|
+
"type": "pubkey"
|
|
584
|
+
},
|
|
585
|
+
{
|
|
586
|
+
"name": "canopy",
|
|
587
|
+
"type": "pubkey"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"name": "bump_seed",
|
|
591
|
+
"type": "u8"
|
|
592
|
+
},
|
|
593
|
+
{
|
|
594
|
+
"name": "executed_transactions",
|
|
595
|
+
"type": "pubkey"
|
|
596
|
+
}
|
|
597
|
+
]
|
|
598
|
+
}
|
|
599
|
+
},
|
|
466
600
|
{
|
|
467
601
|
"name": "SetCanopyArgsV0",
|
|
468
602
|
"type": {
|
|
@@ -498,41 +632,11 @@
|
|
|
498
632
|
{
|
|
499
633
|
"name": "authority",
|
|
500
634
|
"type": {
|
|
501
|
-
"option": "
|
|
635
|
+
"option": "pubkey"
|
|
502
636
|
}
|
|
503
637
|
}
|
|
504
638
|
]
|
|
505
639
|
}
|
|
506
640
|
}
|
|
507
|
-
]
|
|
508
|
-
"errors": [
|
|
509
|
-
{
|
|
510
|
-
"code": 6000,
|
|
511
|
-
"name": "InvalidData",
|
|
512
|
-
"msg": "The data did not match the root verification"
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
"code": 6001,
|
|
516
|
-
"name": "InstructionSerializeFailed",
|
|
517
|
-
"msg": "Failed to serialize instruction"
|
|
518
|
-
},
|
|
519
|
-
{
|
|
520
|
-
"code": 6002,
|
|
521
|
-
"name": "ToCreateSerializeFailed",
|
|
522
|
-
"msg": "Failed to serialize ToCreate"
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
"code": 6003,
|
|
526
|
-
"name": "CanopyLengthMismatch",
|
|
527
|
-
"msg": "Invalid canopy length"
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
"code": 6004,
|
|
531
|
-
"name": "TransactionAlreadyExecuted",
|
|
532
|
-
"msg": "Transaction has already been executed"
|
|
533
|
-
}
|
|
534
|
-
],
|
|
535
|
-
"metadata": {
|
|
536
|
-
"address": "1atrmQs3eq1N2FEYWu6tyTXbCjP4uQwExpjtnhXtS8h"
|
|
537
|
-
}
|
|
641
|
+
]
|
|
538
642
|
}
|