@helium/idls 0.9.23 → 0.10.0-alpha.0
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/circuit_breaker.js +0 -548
- package/lib/cjs/circuit_breaker.js.map +1 -1
- package/lib/cjs/conversion_escrow.js +369 -0
- package/lib/cjs/conversion_escrow.js.map +1 -0
- package/lib/cjs/data_credits.js +0 -1233
- package/lib/cjs/data_credits.js.map +1 -1
- package/lib/cjs/dc_conversion_escrow.js +280 -0
- package/lib/cjs/dc_conversion_escrow.js.map +1 -0
- package/lib/cjs/dc_convesion_escrow.js +269 -0
- package/lib/cjs/dc_convesion_escrow.js.map +1 -0
- package/lib/cjs/fanout.js +0 -734
- package/lib/cjs/fanout.js.map +1 -1
- package/lib/cjs/helium_entity_manager.js +0 -4600
- package/lib/cjs/helium_entity_manager.js.map +1 -1
- package/lib/cjs/helium_sub_daos.js +0 -3305
- package/lib/cjs/helium_sub_daos.js.map +1 -1
- package/lib/cjs/hexboosting.js +0 -649
- package/lib/cjs/hexboosting.js.map +1 -1
- package/lib/cjs/iot_routing_manager.js +987 -0
- package/lib/cjs/iot_routing_manager.js.map +1 -0
- package/lib/cjs/lazy_distributor.js +0 -1303
- package/lib/cjs/lazy_distributor.js.map +1 -1
- package/lib/cjs/lazy_transactions.js +0 -536
- package/lib/cjs/lazy_transactions.js.map +1 -1
- package/lib/cjs/mobile_entity_manager.js +0 -1372
- package/lib/cjs/mobile_entity_manager.js.map +1 -1
- package/lib/cjs/no_emit.js +0 -90
- package/lib/cjs/no_emit.js.map +1 -1
- package/lib/cjs/position_voting_rewards.js +1051 -0
- package/lib/cjs/position_voting_rewards.js.map +1 -0
- package/lib/cjs/price_oracle.js +0 -254
- package/lib/cjs/price_oracle.js.map +1 -1
- package/lib/cjs/rewards_oracle.js +0 -165
- package/lib/cjs/rewards_oracle.js.map +1 -1
- package/lib/cjs/treasury_management.js +0 -421
- package/lib/cjs/treasury_management.js.map +1 -1
- package/lib/cjs/voter_stake_registry.js +0 -2222
- package/lib/cjs/voter_stake_registry.js.map +1 -1
- package/lib/esm/circuit_breaker.js +1 -547
- package/lib/esm/circuit_breaker.js.map +1 -1
- package/lib/esm/conversion_escrow.js +366 -0
- package/lib/esm/conversion_escrow.js.map +1 -0
- package/lib/esm/data_credits.js +1 -1232
- package/lib/esm/data_credits.js.map +1 -1
- package/lib/esm/dc_conversion_escrow.js +277 -0
- package/lib/esm/dc_conversion_escrow.js.map +1 -0
- package/lib/esm/dc_convesion_escrow.js +266 -0
- package/lib/esm/dc_convesion_escrow.js.map +1 -0
- package/lib/esm/fanout.js +1 -733
- package/lib/esm/fanout.js.map +1 -1
- package/lib/esm/helium_entity_manager.js +1 -4599
- package/lib/esm/helium_entity_manager.js.map +1 -1
- package/lib/esm/helium_sub_daos.js +1 -3304
- package/lib/esm/helium_sub_daos.js.map +1 -1
- package/lib/esm/hexboosting.js +1 -648
- package/lib/esm/hexboosting.js.map +1 -1
- package/lib/esm/iot_routing_manager.js +984 -0
- package/lib/esm/iot_routing_manager.js.map +1 -0
- package/lib/esm/lazy_distributor.js +1 -1302
- package/lib/esm/lazy_distributor.js.map +1 -1
- package/lib/esm/lazy_transactions.js +1 -535
- package/lib/esm/lazy_transactions.js.map +1 -1
- package/lib/esm/mobile_entity_manager.js +1 -1371
- package/lib/esm/mobile_entity_manager.js.map +1 -1
- package/lib/esm/no_emit.js +1 -89
- package/lib/esm/no_emit.js.map +1 -1
- package/lib/esm/position_voting_rewards.js +1048 -0
- package/lib/esm/position_voting_rewards.js.map +1 -0
- package/lib/esm/price_oracle.js +1 -253
- package/lib/esm/price_oracle.js.map +1 -1
- package/lib/esm/rewards_oracle.js +1 -164
- package/lib/esm/rewards_oracle.js.map +1 -1
- package/lib/esm/treasury_management.js +1 -420
- package/lib/esm/treasury_management.js.map +1 -1
- package/lib/esm/voter_stake_registry.js +1 -2221
- package/lib/esm/voter_stake_registry.js.map +1 -1
- package/lib/types/circuit_breaker.d.ts +370 -184
- package/lib/types/circuit_breaker.d.ts.map +1 -1
- package/lib/types/conversion_escrow.d.ts +367 -0
- package/lib/types/conversion_escrow.d.ts.map +1 -0
- package/lib/types/data_credits.d.ts +1794 -612
- package/lib/types/data_credits.d.ts.map +1 -1
- package/lib/types/dc_conversion_escrow.d.ts +278 -0
- package/lib/types/dc_conversion_escrow.d.ts.map +1 -0
- package/lib/types/dc_convesion_escrow.d.ts +267 -0
- package/lib/types/dc_convesion_escrow.d.ts.map +1 -0
- package/lib/types/fanout.d.ts +1094 -291
- package/lib/types/fanout.d.ts.map +1 -1
- package/lib/types/helium_entity_manager.d.ts +4468 -2372
- package/lib/types/helium_entity_manager.d.ts.map +1 -1
- package/lib/types/helium_sub_daos.d.ts +3817 -1938
- package/lib/types/helium_sub_daos.d.ts.map +1 -1
- package/lib/types/hexboosting.d.ts +812 -233
- package/lib/types/hexboosting.d.ts.map +1 -1
- package/lib/types/iot_routing_manager.d.ts +985 -0
- package/lib/types/iot_routing_manager.d.ts.map +1 -0
- package/lib/types/lazy_distributor.d.ts +1599 -753
- package/lib/types/lazy_distributor.d.ts.map +1 -1
- package/lib/types/lazy_transactions.d.ts +339 -227
- package/lib/types/lazy_transactions.d.ts.map +1 -1
- package/lib/types/mobile_entity_manager.d.ts +1963 -541
- package/lib/types/mobile_entity_manager.d.ts.map +1 -1
- package/lib/types/no_emit.d.ts +165 -23
- package/lib/types/no_emit.d.ts.map +1 -1
- package/lib/types/position_voting_rewards.d.ts +1049 -0
- package/lib/types/position_voting_rewards.d.ts.map +1 -0
- package/lib/types/price_oracle.d.ts +178 -109
- package/lib/types/price_oracle.d.ts.map +1 -1
- package/lib/types/rewards_oracle.d.ts +364 -43
- package/lib/types/rewards_oracle.d.ts.map +1 -1
- package/lib/types/treasury_management.d.ts +487 -171
- package/lib/types/treasury_management.d.ts.map +1 -1
- package/lib/types/voter_stake_registry.d.ts +2919 -1295
- package/lib/types/voter_stake_registry.d.ts.map +1 -1
- package/package.json +3 -3
|
@@ -1,125 +1,206 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Program IDL in camelCase format in order to be used in JS/TS.
|
|
3
|
+
*
|
|
4
|
+
* Note that this is only a type helper and is not the actual IDL. The original
|
|
5
|
+
* IDL can be found at `target/idl/lazy_transactions.json`.
|
|
6
|
+
*/
|
|
1
7
|
export type LazyTransactions = {
|
|
2
|
-
"
|
|
3
|
-
"
|
|
8
|
+
"address": "1atrmQs3eq1N2FEYWu6tyTXbCjP4uQwExpjtnhXtS8h";
|
|
9
|
+
"metadata": {
|
|
10
|
+
"name": "lazyTransactions";
|
|
11
|
+
"version": "0.2.0";
|
|
12
|
+
"spec": "0.1.0";
|
|
13
|
+
"description": "Created with Anchor";
|
|
14
|
+
};
|
|
4
15
|
"instructions": [
|
|
5
16
|
{
|
|
6
|
-
"name": "
|
|
17
|
+
"name": "closeCanopyV0";
|
|
18
|
+
"discriminator": [
|
|
19
|
+
92,
|
|
20
|
+
189,
|
|
21
|
+
176,
|
|
22
|
+
245,
|
|
23
|
+
129,
|
|
24
|
+
173,
|
|
25
|
+
166,
|
|
26
|
+
169
|
|
27
|
+
];
|
|
7
28
|
"accounts": [
|
|
8
29
|
{
|
|
9
|
-
"name": "
|
|
10
|
-
"
|
|
11
|
-
|
|
30
|
+
"name": "refund";
|
|
31
|
+
"writable": true;
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "authority";
|
|
35
|
+
"signer": true;
|
|
36
|
+
"relations": [
|
|
37
|
+
"lazyTransactions"
|
|
38
|
+
];
|
|
12
39
|
},
|
|
13
40
|
{
|
|
14
41
|
"name": "lazyTransactions";
|
|
15
|
-
"
|
|
16
|
-
|
|
42
|
+
"writable": true;
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"name": "canopy";
|
|
46
|
+
"writable": true;
|
|
47
|
+
"relations": [
|
|
48
|
+
"lazyTransactions"
|
|
49
|
+
];
|
|
50
|
+
}
|
|
51
|
+
];
|
|
52
|
+
"args": [];
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "closeMarkerV0";
|
|
56
|
+
"discriminator": [
|
|
57
|
+
202,
|
|
58
|
+
88,
|
|
59
|
+
149,
|
|
60
|
+
144,
|
|
61
|
+
81,
|
|
62
|
+
215,
|
|
63
|
+
1,
|
|
64
|
+
175
|
|
65
|
+
];
|
|
66
|
+
"accounts": [
|
|
67
|
+
{
|
|
68
|
+
"name": "refund";
|
|
69
|
+
"writable": true;
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "lazyTransactions";
|
|
73
|
+
"writable": true;
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"name": "authority";
|
|
77
|
+
"signer": true;
|
|
78
|
+
"relations": [
|
|
79
|
+
"lazyTransactions"
|
|
80
|
+
];
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "block";
|
|
84
|
+
"writable": true;
|
|
17
85
|
"pda": {
|
|
18
86
|
"seeds": [
|
|
19
87
|
{
|
|
20
88
|
"kind": "const";
|
|
21
|
-
"
|
|
22
|
-
|
|
89
|
+
"value": [
|
|
90
|
+
98,
|
|
91
|
+
108,
|
|
92
|
+
111,
|
|
93
|
+
99,
|
|
94
|
+
107
|
|
95
|
+
];
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"kind": "account";
|
|
99
|
+
"path": "lazyTransactions";
|
|
23
100
|
},
|
|
24
101
|
{
|
|
25
102
|
"kind": "arg";
|
|
26
|
-
"
|
|
27
|
-
"defined": "InitializeLazyTransactionsArgsV0";
|
|
28
|
-
};
|
|
29
|
-
"path": "args.name";
|
|
103
|
+
"path": "args.index";
|
|
30
104
|
}
|
|
31
105
|
];
|
|
32
106
|
};
|
|
33
107
|
},
|
|
34
|
-
{
|
|
35
|
-
"name": "canopy";
|
|
36
|
-
"isMut": true;
|
|
37
|
-
"isSigner": false;
|
|
38
|
-
},
|
|
39
108
|
{
|
|
40
109
|
"name": "executedTransactions";
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
"name": "systemProgram";
|
|
46
|
-
"isMut": false;
|
|
47
|
-
"isSigner": false;
|
|
110
|
+
"writable": true;
|
|
111
|
+
"relations": [
|
|
112
|
+
"lazyTransactions"
|
|
113
|
+
];
|
|
48
114
|
}
|
|
49
115
|
];
|
|
50
116
|
"args": [
|
|
51
117
|
{
|
|
52
118
|
"name": "args";
|
|
53
119
|
"type": {
|
|
54
|
-
"defined":
|
|
120
|
+
"defined": {
|
|
121
|
+
"name": "closeMarkerArgsV0";
|
|
122
|
+
};
|
|
55
123
|
};
|
|
56
124
|
}
|
|
57
125
|
];
|
|
58
126
|
},
|
|
59
127
|
{
|
|
60
128
|
"name": "executeTransactionV0";
|
|
129
|
+
"discriminator": [
|
|
130
|
+
217,
|
|
131
|
+
93,
|
|
132
|
+
174,
|
|
133
|
+
97,
|
|
134
|
+
130,
|
|
135
|
+
183,
|
|
136
|
+
126,
|
|
137
|
+
44
|
|
138
|
+
];
|
|
61
139
|
"accounts": [
|
|
62
140
|
{
|
|
63
141
|
"name": "payer";
|
|
64
|
-
"
|
|
65
|
-
"
|
|
142
|
+
"writable": true;
|
|
143
|
+
"signer": true;
|
|
66
144
|
},
|
|
67
145
|
{
|
|
68
146
|
"name": "lazyTransactions";
|
|
69
|
-
"
|
|
70
|
-
"isSigner": false;
|
|
71
|
-
"relations": [
|
|
72
|
-
"canopy",
|
|
73
|
-
"executed_transactions"
|
|
74
|
-
];
|
|
147
|
+
"writable": true;
|
|
75
148
|
},
|
|
76
149
|
{
|
|
77
150
|
"name": "canopy";
|
|
78
|
-
"
|
|
79
|
-
|
|
151
|
+
"relations": [
|
|
152
|
+
"lazyTransactions"
|
|
153
|
+
];
|
|
80
154
|
},
|
|
81
155
|
{
|
|
82
156
|
"name": "lazySigner";
|
|
83
|
-
"
|
|
84
|
-
"isSigner": false;
|
|
157
|
+
"writable": true;
|
|
85
158
|
"pda": {
|
|
86
159
|
"seeds": [
|
|
87
160
|
{
|
|
88
161
|
"kind": "const";
|
|
89
|
-
"
|
|
90
|
-
|
|
162
|
+
"value": [
|
|
163
|
+
108,
|
|
164
|
+
97,
|
|
165
|
+
122,
|
|
166
|
+
121,
|
|
167
|
+
95,
|
|
168
|
+
115,
|
|
169
|
+
105,
|
|
170
|
+
103,
|
|
171
|
+
110,
|
|
172
|
+
101,
|
|
173
|
+
114
|
|
174
|
+
];
|
|
91
175
|
},
|
|
92
176
|
{
|
|
93
177
|
"kind": "account";
|
|
94
|
-
"type": "string";
|
|
95
|
-
"account": "LazyTransactionsV0";
|
|
96
178
|
"path": "lazy_transactions.name";
|
|
179
|
+
"account": "lazyTransactionsV0";
|
|
97
180
|
}
|
|
98
181
|
];
|
|
99
182
|
};
|
|
100
183
|
},
|
|
101
184
|
{
|
|
102
185
|
"name": "block";
|
|
103
|
-
"isMut": false;
|
|
104
|
-
"isSigner": false;
|
|
105
186
|
"pda": {
|
|
106
187
|
"seeds": [
|
|
107
188
|
{
|
|
108
189
|
"kind": "const";
|
|
109
|
-
"
|
|
110
|
-
|
|
190
|
+
"value": [
|
|
191
|
+
98,
|
|
192
|
+
108,
|
|
193
|
+
111,
|
|
194
|
+
99,
|
|
195
|
+
107
|
|
196
|
+
];
|
|
111
197
|
},
|
|
112
198
|
{
|
|
113
199
|
"kind": "account";
|
|
114
|
-
"
|
|
115
|
-
"account": "LazyTransactionsV0";
|
|
116
|
-
"path": "lazy_transactions";
|
|
200
|
+
"path": "lazyTransactions";
|
|
117
201
|
},
|
|
118
202
|
{
|
|
119
203
|
"kind": "arg";
|
|
120
|
-
"type": {
|
|
121
|
-
"defined": "ExecuteTransactionArgsV0";
|
|
122
|
-
};
|
|
123
204
|
"path": "args.index";
|
|
124
205
|
}
|
|
125
206
|
];
|
|
@@ -127,240 +208,256 @@ export type LazyTransactions = {
|
|
|
127
208
|
},
|
|
128
209
|
{
|
|
129
210
|
"name": "systemProgram";
|
|
130
|
-
"
|
|
131
|
-
"isSigner": false;
|
|
211
|
+
"address": "11111111111111111111111111111111";
|
|
132
212
|
},
|
|
133
213
|
{
|
|
134
214
|
"name": "executedTransactions";
|
|
135
|
-
"
|
|
136
|
-
"
|
|
215
|
+
"writable": true;
|
|
216
|
+
"relations": [
|
|
217
|
+
"lazyTransactions"
|
|
218
|
+
];
|
|
137
219
|
}
|
|
138
220
|
];
|
|
139
221
|
"args": [
|
|
140
222
|
{
|
|
141
223
|
"name": "args";
|
|
142
224
|
"type": {
|
|
143
|
-
"defined":
|
|
225
|
+
"defined": {
|
|
226
|
+
"name": "executeTransactionArgsV0";
|
|
227
|
+
};
|
|
144
228
|
};
|
|
145
229
|
}
|
|
146
230
|
];
|
|
147
231
|
},
|
|
148
232
|
{
|
|
149
|
-
"name": "
|
|
233
|
+
"name": "initializeLazyTransactionsV0";
|
|
234
|
+
"discriminator": [
|
|
235
|
+
32,
|
|
236
|
+
227,
|
|
237
|
+
207,
|
|
238
|
+
127,
|
|
239
|
+
112,
|
|
240
|
+
50,
|
|
241
|
+
31,
|
|
242
|
+
157
|
|
243
|
+
];
|
|
150
244
|
"accounts": [
|
|
151
245
|
{
|
|
152
|
-
"name": "
|
|
153
|
-
"
|
|
154
|
-
"
|
|
246
|
+
"name": "payer";
|
|
247
|
+
"writable": true;
|
|
248
|
+
"signer": true;
|
|
155
249
|
},
|
|
156
250
|
{
|
|
157
251
|
"name": "lazyTransactions";
|
|
158
|
-
"
|
|
159
|
-
"isSigner": false;
|
|
160
|
-
"relations": [
|
|
161
|
-
"authority",
|
|
162
|
-
"executed_transactions"
|
|
163
|
-
];
|
|
164
|
-
},
|
|
165
|
-
{
|
|
166
|
-
"name": "authority";
|
|
167
|
-
"isMut": false;
|
|
168
|
-
"isSigner": true;
|
|
169
|
-
},
|
|
170
|
-
{
|
|
171
|
-
"name": "block";
|
|
172
|
-
"isMut": true;
|
|
173
|
-
"isSigner": false;
|
|
252
|
+
"writable": true;
|
|
174
253
|
"pda": {
|
|
175
254
|
"seeds": [
|
|
176
255
|
{
|
|
177
256
|
"kind": "const";
|
|
178
|
-
"
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
257
|
+
"value": [
|
|
258
|
+
108,
|
|
259
|
+
97,
|
|
260
|
+
122,
|
|
261
|
+
121,
|
|
262
|
+
95,
|
|
263
|
+
116,
|
|
264
|
+
114,
|
|
265
|
+
97,
|
|
266
|
+
110,
|
|
267
|
+
115,
|
|
268
|
+
97,
|
|
269
|
+
99,
|
|
270
|
+
116,
|
|
271
|
+
105,
|
|
272
|
+
111,
|
|
273
|
+
110,
|
|
274
|
+
115
|
|
275
|
+
];
|
|
186
276
|
},
|
|
187
277
|
{
|
|
188
278
|
"kind": "arg";
|
|
189
|
-
"
|
|
190
|
-
"defined": "CloseMarkerArgsV0";
|
|
191
|
-
};
|
|
192
|
-
"path": "args.index";
|
|
279
|
+
"path": "args.name";
|
|
193
280
|
}
|
|
194
281
|
];
|
|
195
282
|
};
|
|
196
283
|
},
|
|
284
|
+
{
|
|
285
|
+
"name": "canopy";
|
|
286
|
+
"writable": true;
|
|
287
|
+
},
|
|
197
288
|
{
|
|
198
289
|
"name": "executedTransactions";
|
|
199
|
-
"
|
|
200
|
-
|
|
290
|
+
"writable": true;
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "systemProgram";
|
|
294
|
+
"address": "11111111111111111111111111111111";
|
|
201
295
|
}
|
|
202
296
|
];
|
|
203
297
|
"args": [
|
|
204
298
|
{
|
|
205
299
|
"name": "args";
|
|
206
300
|
"type": {
|
|
207
|
-
"defined":
|
|
301
|
+
"defined": {
|
|
302
|
+
"name": "initializeLazyTransactionsArgsV0";
|
|
303
|
+
};
|
|
208
304
|
};
|
|
209
305
|
}
|
|
210
306
|
];
|
|
211
307
|
},
|
|
212
308
|
{
|
|
213
|
-
"name": "
|
|
309
|
+
"name": "setCanopyV0";
|
|
310
|
+
"discriminator": [
|
|
311
|
+
25,
|
|
312
|
+
86,
|
|
313
|
+
129,
|
|
314
|
+
124,
|
|
315
|
+
184,
|
|
316
|
+
195,
|
|
317
|
+
134,
|
|
318
|
+
89
|
|
319
|
+
];
|
|
214
320
|
"accounts": [
|
|
215
|
-
{
|
|
216
|
-
"name": "refund";
|
|
217
|
-
"isMut": true;
|
|
218
|
-
"isSigner": false;
|
|
219
|
-
},
|
|
220
321
|
{
|
|
221
322
|
"name": "authority";
|
|
222
|
-
"
|
|
223
|
-
"isSigner": true;
|
|
224
|
-
},
|
|
225
|
-
{
|
|
226
|
-
"name": "lazyTransactions";
|
|
227
|
-
"isMut": true;
|
|
228
|
-
"isSigner": false;
|
|
323
|
+
"signer": true;
|
|
229
324
|
"relations": [
|
|
230
|
-
"
|
|
231
|
-
"canopy"
|
|
325
|
+
"lazyTransactions"
|
|
232
326
|
];
|
|
233
327
|
},
|
|
234
|
-
{
|
|
235
|
-
"name": "canopy";
|
|
236
|
-
"isMut": true;
|
|
237
|
-
"isSigner": false;
|
|
238
|
-
}
|
|
239
|
-
];
|
|
240
|
-
"args": [];
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"name": "updateLazyTransactionsV0";
|
|
244
|
-
"accounts": [
|
|
245
|
-
{
|
|
246
|
-
"name": "authority";
|
|
247
|
-
"isMut": false;
|
|
248
|
-
"isSigner": true;
|
|
249
|
-
},
|
|
250
328
|
{
|
|
251
329
|
"name": "lazyTransactions";
|
|
252
|
-
"
|
|
253
|
-
"isSigner": false;
|
|
254
|
-
"relations": [
|
|
255
|
-
"authority"
|
|
256
|
-
];
|
|
330
|
+
"writable": true;
|
|
257
331
|
},
|
|
258
332
|
{
|
|
259
333
|
"name": "canopy";
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
"name": "executedTransactions";
|
|
265
|
-
"isMut": true;
|
|
266
|
-
"isSigner": false;
|
|
334
|
+
"writable": true;
|
|
335
|
+
"relations": [
|
|
336
|
+
"lazyTransactions"
|
|
337
|
+
];
|
|
267
338
|
}
|
|
268
339
|
];
|
|
269
340
|
"args": [
|
|
270
341
|
{
|
|
271
342
|
"name": "args";
|
|
272
343
|
"type": {
|
|
273
|
-
"defined":
|
|
344
|
+
"defined": {
|
|
345
|
+
"name": "setCanopyArgsV0";
|
|
346
|
+
};
|
|
274
347
|
};
|
|
275
348
|
}
|
|
276
349
|
];
|
|
277
350
|
},
|
|
278
351
|
{
|
|
279
|
-
"name": "
|
|
352
|
+
"name": "updateLazyTransactionsV0";
|
|
353
|
+
"discriminator": [
|
|
354
|
+
56,
|
|
355
|
+
223,
|
|
356
|
+
165,
|
|
357
|
+
245,
|
|
358
|
+
150,
|
|
359
|
+
236,
|
|
360
|
+
173,
|
|
361
|
+
37
|
|
362
|
+
];
|
|
280
363
|
"accounts": [
|
|
281
364
|
{
|
|
282
365
|
"name": "authority";
|
|
283
|
-
"
|
|
284
|
-
"
|
|
366
|
+
"signer": true;
|
|
367
|
+
"relations": [
|
|
368
|
+
"lazyTransactions"
|
|
369
|
+
];
|
|
285
370
|
},
|
|
286
371
|
{
|
|
287
372
|
"name": "lazyTransactions";
|
|
288
|
-
"
|
|
289
|
-
"isSigner": false;
|
|
290
|
-
"relations": [
|
|
291
|
-
"authority",
|
|
292
|
-
"canopy"
|
|
293
|
-
];
|
|
373
|
+
"writable": true;
|
|
294
374
|
},
|
|
295
375
|
{
|
|
296
376
|
"name": "canopy";
|
|
297
|
-
"
|
|
298
|
-
|
|
377
|
+
"writable": true;
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"name": "executedTransactions";
|
|
381
|
+
"writable": true;
|
|
299
382
|
}
|
|
300
383
|
];
|
|
301
384
|
"args": [
|
|
302
385
|
{
|
|
303
386
|
"name": "args";
|
|
304
387
|
"type": {
|
|
305
|
-
"defined":
|
|
388
|
+
"defined": {
|
|
389
|
+
"name": "updateLazyTransactionsArgsV0";
|
|
390
|
+
};
|
|
306
391
|
};
|
|
307
392
|
}
|
|
308
393
|
];
|
|
309
394
|
}
|
|
310
395
|
];
|
|
311
396
|
"accounts": [
|
|
397
|
+
{
|
|
398
|
+
"name": "block";
|
|
399
|
+
"discriminator": [
|
|
400
|
+
12,
|
|
401
|
+
72,
|
|
402
|
+
207,
|
|
403
|
+
108,
|
|
404
|
+
1,
|
|
405
|
+
228,
|
|
406
|
+
167,
|
|
407
|
+
221
|
|
408
|
+
];
|
|
409
|
+
},
|
|
312
410
|
{
|
|
313
411
|
"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
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
{
|
|
347
|
-
"name": "executedTransactions";
|
|
348
|
-
"type": "publicKey";
|
|
349
|
-
}
|
|
350
|
-
];
|
|
351
|
-
};
|
|
412
|
+
"discriminator": [
|
|
413
|
+
51,
|
|
414
|
+
89,
|
|
415
|
+
224,
|
|
416
|
+
39,
|
|
417
|
+
73,
|
|
418
|
+
173,
|
|
419
|
+
229,
|
|
420
|
+
141
|
|
421
|
+
];
|
|
422
|
+
}
|
|
423
|
+
];
|
|
424
|
+
"errors": [
|
|
425
|
+
{
|
|
426
|
+
"code": 6000;
|
|
427
|
+
"name": "invalidData";
|
|
428
|
+
"msg": "The data did not match the root verification";
|
|
429
|
+
},
|
|
430
|
+
{
|
|
431
|
+
"code": 6001;
|
|
432
|
+
"name": "instructionSerializeFailed";
|
|
433
|
+
"msg": "Failed to serialize instruction";
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
"code": 6002;
|
|
437
|
+
"name": "toCreateSerializeFailed";
|
|
438
|
+
"msg": "Failed to serialize ToCreate";
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"code": 6003;
|
|
442
|
+
"name": "canopyLengthMismatch";
|
|
443
|
+
"msg": "Invalid canopy length";
|
|
352
444
|
},
|
|
445
|
+
{
|
|
446
|
+
"code": 6004;
|
|
447
|
+
"name": "transactionAlreadyExecuted";
|
|
448
|
+
"msg": "Transaction has already been executed";
|
|
449
|
+
}
|
|
450
|
+
];
|
|
451
|
+
"types": [
|
|
353
452
|
{
|
|
354
453
|
"name": "block";
|
|
355
454
|
"type": {
|
|
356
455
|
"kind": "struct";
|
|
357
456
|
"fields": [];
|
|
358
457
|
};
|
|
359
|
-
}
|
|
360
|
-
];
|
|
361
|
-
"types": [
|
|
458
|
+
},
|
|
362
459
|
{
|
|
363
|
-
"name": "
|
|
460
|
+
"name": "closeMarkerArgsV0";
|
|
364
461
|
"type": {
|
|
365
462
|
"kind": "struct";
|
|
366
463
|
"fields": [
|
|
@@ -372,7 +469,7 @@ export type LazyTransactions = {
|
|
|
372
469
|
};
|
|
373
470
|
},
|
|
374
471
|
{
|
|
375
|
-
"name": "
|
|
472
|
+
"name": "compiledInstruction";
|
|
376
473
|
"type": {
|
|
377
474
|
"kind": "struct";
|
|
378
475
|
"fields": [
|
|
@@ -401,7 +498,7 @@ export type LazyTransactions = {
|
|
|
401
498
|
};
|
|
402
499
|
},
|
|
403
500
|
{
|
|
404
|
-
"name": "
|
|
501
|
+
"name": "executeTransactionArgsV0";
|
|
405
502
|
"type": {
|
|
406
503
|
"kind": "struct";
|
|
407
504
|
"fields": [
|
|
@@ -409,7 +506,9 @@ export type LazyTransactions = {
|
|
|
409
506
|
"name": "instructions";
|
|
410
507
|
"type": {
|
|
411
508
|
"vec": {
|
|
412
|
-
"defined":
|
|
509
|
+
"defined": {
|
|
510
|
+
"name": "compiledInstruction";
|
|
511
|
+
};
|
|
413
512
|
};
|
|
414
513
|
};
|
|
415
514
|
},
|
|
@@ -435,7 +534,7 @@ export type LazyTransactions = {
|
|
|
435
534
|
};
|
|
436
535
|
},
|
|
437
536
|
{
|
|
438
|
-
"name": "
|
|
537
|
+
"name": "initializeLazyTransactionsArgsV0";
|
|
439
538
|
"type": {
|
|
440
539
|
"kind": "struct";
|
|
441
540
|
"fields": [
|
|
@@ -454,17 +553,58 @@ export type LazyTransactions = {
|
|
|
454
553
|
},
|
|
455
554
|
{
|
|
456
555
|
"name": "authority";
|
|
457
|
-
"type": "
|
|
556
|
+
"type": "pubkey";
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
"name": "maxDepth";
|
|
560
|
+
"type": "u32";
|
|
561
|
+
}
|
|
562
|
+
];
|
|
563
|
+
};
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"name": "lazyTransactionsV0";
|
|
567
|
+
"type": {
|
|
568
|
+
"kind": "struct";
|
|
569
|
+
"fields": [
|
|
570
|
+
{
|
|
571
|
+
"name": "root";
|
|
572
|
+
"type": {
|
|
573
|
+
"array": [
|
|
574
|
+
"u8",
|
|
575
|
+
32
|
|
576
|
+
];
|
|
577
|
+
};
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
"name": "name";
|
|
581
|
+
"type": "string";
|
|
458
582
|
},
|
|
459
583
|
{
|
|
460
584
|
"name": "maxDepth";
|
|
461
585
|
"type": "u32";
|
|
586
|
+
},
|
|
587
|
+
{
|
|
588
|
+
"name": "authority";
|
|
589
|
+
"type": "pubkey";
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"name": "canopy";
|
|
593
|
+
"type": "pubkey";
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "bumpSeed";
|
|
597
|
+
"type": "u8";
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"name": "executedTransactions";
|
|
601
|
+
"type": "pubkey";
|
|
462
602
|
}
|
|
463
603
|
];
|
|
464
604
|
};
|
|
465
605
|
},
|
|
466
606
|
{
|
|
467
|
-
"name": "
|
|
607
|
+
"name": "setCanopyArgsV0";
|
|
468
608
|
"type": {
|
|
469
609
|
"kind": "struct";
|
|
470
610
|
"fields": [
|
|
@@ -480,7 +620,7 @@ export type LazyTransactions = {
|
|
|
480
620
|
};
|
|
481
621
|
},
|
|
482
622
|
{
|
|
483
|
-
"name": "
|
|
623
|
+
"name": "updateLazyTransactionsArgsV0";
|
|
484
624
|
"type": {
|
|
485
625
|
"kind": "struct";
|
|
486
626
|
"fields": [
|
|
@@ -498,40 +638,12 @@ export type LazyTransactions = {
|
|
|
498
638
|
{
|
|
499
639
|
"name": "authority";
|
|
500
640
|
"type": {
|
|
501
|
-
"option": "
|
|
641
|
+
"option": "pubkey";
|
|
502
642
|
};
|
|
503
643
|
}
|
|
504
644
|
];
|
|
505
645
|
};
|
|
506
646
|
}
|
|
507
647
|
];
|
|
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
648
|
};
|
|
536
|
-
export declare const IDL: LazyTransactions;
|
|
537
649
|
//# sourceMappingURL=lazy_transactions.d.ts.map
|