@helium/spl-utils 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/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/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,807 +1,1689 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
2
|
+
"address": "1azyuavdMyvsivtNxPoz6SucD18eDHeXzFCUPq5XU7w",
|
|
3
|
+
"metadata": {
|
|
4
|
+
"name": "lazy_distributor",
|
|
5
|
+
"version": "0.2.2",
|
|
6
|
+
"spec": "0.1.0",
|
|
7
|
+
"description": "Created with Anchor"
|
|
8
|
+
},
|
|
4
9
|
"instructions": [
|
|
5
10
|
{
|
|
6
|
-
"name": "
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"isSigner": false,
|
|
17
|
-
"pda": {
|
|
18
|
-
"seeds": [
|
|
19
|
-
{
|
|
20
|
-
"kind": "const",
|
|
21
|
-
"type": "string",
|
|
22
|
-
"value": "lazy_distributor"
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
"kind": "account",
|
|
26
|
-
"type": "publicKey",
|
|
27
|
-
"account": "Mint",
|
|
28
|
-
"path": "rewards_mint"
|
|
29
|
-
}
|
|
30
|
-
]
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"name": "rewardsMint",
|
|
35
|
-
"isMut": true,
|
|
36
|
-
"isSigner": false
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"name": "rewardsEscrow",
|
|
40
|
-
"isMut": true,
|
|
41
|
-
"isSigner": false
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
"name": "circuitBreaker",
|
|
45
|
-
"isMut": true,
|
|
46
|
-
"isSigner": false,
|
|
47
|
-
"pda": {
|
|
48
|
-
"seeds": [
|
|
49
|
-
{
|
|
50
|
-
"kind": "const",
|
|
51
|
-
"type": "string",
|
|
52
|
-
"value": "account_windowed_breaker"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
"kind": "account",
|
|
56
|
-
"type": "publicKey",
|
|
57
|
-
"account": "TokenAccount",
|
|
58
|
-
"path": "rewards_escrow"
|
|
59
|
-
}
|
|
60
|
-
],
|
|
61
|
-
"programId": {
|
|
62
|
-
"kind": "account",
|
|
63
|
-
"type": "publicKey",
|
|
64
|
-
"path": "circuit_breaker_program"
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"name": "systemProgram",
|
|
70
|
-
"isMut": false,
|
|
71
|
-
"isSigner": false
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
"name": "associatedTokenProgram",
|
|
75
|
-
"isMut": false,
|
|
76
|
-
"isSigner": false
|
|
77
|
-
},
|
|
78
|
-
{
|
|
79
|
-
"name": "circuitBreakerProgram",
|
|
80
|
-
"isMut": false,
|
|
81
|
-
"isSigner": false
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
"name": "tokenProgram",
|
|
85
|
-
"isMut": false,
|
|
86
|
-
"isSigner": false
|
|
87
|
-
}
|
|
11
|
+
"name": "distribute_compression_rewards_v0",
|
|
12
|
+
"discriminator": [
|
|
13
|
+
160,
|
|
14
|
+
48,
|
|
15
|
+
184,
|
|
16
|
+
57,
|
|
17
|
+
5,
|
|
18
|
+
105,
|
|
19
|
+
233,
|
|
20
|
+
71
|
|
88
21
|
],
|
|
89
|
-
"args": [
|
|
90
|
-
{
|
|
91
|
-
"name": "args",
|
|
92
|
-
"type": {
|
|
93
|
-
"defined": "InitializeLazyDistributorArgsV0"
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
]
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
"name": "initializeRecipientV0",
|
|
100
22
|
"accounts": [
|
|
101
23
|
{
|
|
102
|
-
"name": "
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
24
|
+
"name": "common",
|
|
25
|
+
"accounts": [
|
|
26
|
+
{
|
|
27
|
+
"name": "payer",
|
|
28
|
+
"writable": true,
|
|
29
|
+
"signer": true
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "lazy_distributor",
|
|
33
|
+
"relations": [
|
|
34
|
+
"recipient"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "recipient",
|
|
39
|
+
"writable": true
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "rewards_mint",
|
|
43
|
+
"relations": [
|
|
44
|
+
"lazy_distributor"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "rewards_escrow",
|
|
49
|
+
"writable": true,
|
|
50
|
+
"relations": [
|
|
51
|
+
"lazy_distributor"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"name": "circuit_breaker",
|
|
56
|
+
"writable": true,
|
|
57
|
+
"pda": {
|
|
58
|
+
"seeds": [
|
|
59
|
+
{
|
|
60
|
+
"kind": "const",
|
|
61
|
+
"value": [
|
|
62
|
+
97,
|
|
63
|
+
99,
|
|
64
|
+
99,
|
|
65
|
+
111,
|
|
66
|
+
117,
|
|
67
|
+
110,
|
|
68
|
+
116,
|
|
69
|
+
95,
|
|
70
|
+
119,
|
|
71
|
+
105,
|
|
72
|
+
110,
|
|
73
|
+
100,
|
|
74
|
+
111,
|
|
75
|
+
119,
|
|
76
|
+
101,
|
|
77
|
+
100,
|
|
78
|
+
95,
|
|
79
|
+
98,
|
|
80
|
+
114,
|
|
81
|
+
101,
|
|
82
|
+
97,
|
|
83
|
+
107,
|
|
84
|
+
101,
|
|
85
|
+
114
|
|
86
|
+
]
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"kind": "account",
|
|
90
|
+
"path": "rewards_escrow"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"program": {
|
|
94
|
+
"kind": "account",
|
|
95
|
+
"path": "circuit_breaker_program"
|
|
96
|
+
}
|
|
148
97
|
}
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "owner",
|
|
101
|
+
"docs": [
|
|
102
|
+
"TODO: Should this be permissioned? Should the owner have to sign to receive rewards?"
|
|
103
|
+
],
|
|
104
|
+
"writable": true
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "destination_account",
|
|
108
|
+
"writable": true,
|
|
109
|
+
"pda": {
|
|
110
|
+
"seeds": [
|
|
111
|
+
{
|
|
112
|
+
"kind": "account",
|
|
113
|
+
"path": "owner"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"kind": "const",
|
|
117
|
+
"value": [
|
|
118
|
+
6,
|
|
119
|
+
221,
|
|
120
|
+
246,
|
|
121
|
+
225,
|
|
122
|
+
215,
|
|
123
|
+
101,
|
|
124
|
+
161,
|
|
125
|
+
147,
|
|
126
|
+
217,
|
|
127
|
+
203,
|
|
128
|
+
225,
|
|
129
|
+
70,
|
|
130
|
+
206,
|
|
131
|
+
235,
|
|
132
|
+
121,
|
|
133
|
+
172,
|
|
134
|
+
28,
|
|
135
|
+
180,
|
|
136
|
+
133,
|
|
137
|
+
237,
|
|
138
|
+
95,
|
|
139
|
+
91,
|
|
140
|
+
55,
|
|
141
|
+
145,
|
|
142
|
+
58,
|
|
143
|
+
140,
|
|
144
|
+
245,
|
|
145
|
+
133,
|
|
146
|
+
126,
|
|
147
|
+
255,
|
|
148
|
+
0,
|
|
149
|
+
169
|
|
150
|
+
]
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"kind": "account",
|
|
154
|
+
"path": "rewards_mint"
|
|
155
|
+
}
|
|
156
|
+
],
|
|
157
|
+
"program": {
|
|
158
|
+
"kind": "const",
|
|
159
|
+
"value": [
|
|
160
|
+
140,
|
|
161
|
+
151,
|
|
162
|
+
37,
|
|
163
|
+
143,
|
|
164
|
+
78,
|
|
165
|
+
36,
|
|
166
|
+
137,
|
|
167
|
+
241,
|
|
168
|
+
187,
|
|
169
|
+
61,
|
|
170
|
+
16,
|
|
171
|
+
41,
|
|
172
|
+
20,
|
|
173
|
+
142,
|
|
174
|
+
13,
|
|
175
|
+
131,
|
|
176
|
+
11,
|
|
177
|
+
90,
|
|
178
|
+
19,
|
|
179
|
+
153,
|
|
180
|
+
218,
|
|
181
|
+
255,
|
|
182
|
+
16,
|
|
183
|
+
132,
|
|
184
|
+
4,
|
|
185
|
+
142,
|
|
186
|
+
123,
|
|
187
|
+
216,
|
|
188
|
+
219,
|
|
189
|
+
233,
|
|
190
|
+
248,
|
|
191
|
+
89
|
|
192
|
+
]
|
|
193
|
+
}
|
|
195
194
|
}
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
{
|
|
215
|
-
"name": "delegate",
|
|
216
|
-
"isMut": false,
|
|
217
|
-
"isSigner": false
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"name": "associated_token_program",
|
|
198
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"name": "circuit_breaker_program",
|
|
202
|
+
"address": "circAbx64bbsscPbQzZAUvuXpHqrCe6fLMzc2uKXz9g"
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"name": "system_program",
|
|
206
|
+
"address": "11111111111111111111111111111111"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "token_program",
|
|
210
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
211
|
+
}
|
|
212
|
+
]
|
|
218
213
|
},
|
|
219
214
|
{
|
|
220
|
-
"name": "
|
|
221
|
-
"isMut": false,
|
|
222
|
-
"isSigner": false
|
|
215
|
+
"name": "merkle_tree"
|
|
223
216
|
},
|
|
224
217
|
{
|
|
225
|
-
"name": "
|
|
226
|
-
"
|
|
227
|
-
"isSigner": false
|
|
218
|
+
"name": "compression_program",
|
|
219
|
+
"address": "cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK"
|
|
228
220
|
}
|
|
229
221
|
],
|
|
230
222
|
"args": [
|
|
231
223
|
{
|
|
232
224
|
"name": "args",
|
|
233
225
|
"type": {
|
|
234
|
-
"defined":
|
|
226
|
+
"defined": {
|
|
227
|
+
"name": "DistributeCompressionRewardsArgsV0"
|
|
228
|
+
}
|
|
235
229
|
}
|
|
236
230
|
}
|
|
237
231
|
]
|
|
238
232
|
},
|
|
239
233
|
{
|
|
240
|
-
"name": "
|
|
241
|
-
"
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
"isSigner": false
|
|
251
|
-
},
|
|
252
|
-
{
|
|
253
|
-
"name": "recipient",
|
|
254
|
-
"isMut": true,
|
|
255
|
-
"isSigner": false,
|
|
256
|
-
"relations": ["lazy_distributor"]
|
|
257
|
-
},
|
|
258
|
-
{
|
|
259
|
-
"name": "oracle",
|
|
260
|
-
"isMut": false,
|
|
261
|
-
"isSigner": true
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"name": "systemProgram",
|
|
265
|
-
"isMut": false,
|
|
266
|
-
"isSigner": false
|
|
267
|
-
}
|
|
234
|
+
"name": "distribute_custom_destination_v0",
|
|
235
|
+
"discriminator": [
|
|
236
|
+
82,
|
|
237
|
+
38,
|
|
238
|
+
138,
|
|
239
|
+
203,
|
|
240
|
+
54,
|
|
241
|
+
95,
|
|
242
|
+
240,
|
|
243
|
+
182
|
|
268
244
|
],
|
|
269
|
-
"args": [
|
|
270
|
-
{
|
|
271
|
-
"name": "args",
|
|
272
|
-
"type": {
|
|
273
|
-
"defined": "SetCurrentRewardsArgsV0"
|
|
274
|
-
}
|
|
275
|
-
}
|
|
276
|
-
]
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
"name": "distributeRewardsV0",
|
|
280
245
|
"accounts": [
|
|
281
246
|
{
|
|
282
247
|
"name": "common",
|
|
283
248
|
"accounts": [
|
|
284
249
|
{
|
|
285
250
|
"name": "payer",
|
|
286
|
-
"
|
|
287
|
-
"
|
|
251
|
+
"writable": true,
|
|
252
|
+
"signer": true
|
|
288
253
|
},
|
|
289
254
|
{
|
|
290
|
-
"name": "
|
|
291
|
-
"
|
|
292
|
-
|
|
293
|
-
|
|
255
|
+
"name": "lazy_distributor",
|
|
256
|
+
"relations": [
|
|
257
|
+
"recipient"
|
|
258
|
+
]
|
|
294
259
|
},
|
|
295
260
|
{
|
|
296
261
|
"name": "recipient",
|
|
297
|
-
"
|
|
298
|
-
"isSigner": false,
|
|
299
|
-
"relations": ["lazy_distributor"]
|
|
262
|
+
"writable": true
|
|
300
263
|
},
|
|
301
264
|
{
|
|
302
|
-
"name": "
|
|
303
|
-
"
|
|
304
|
-
|
|
265
|
+
"name": "rewards_mint",
|
|
266
|
+
"relations": [
|
|
267
|
+
"lazy_distributor"
|
|
268
|
+
]
|
|
305
269
|
},
|
|
306
270
|
{
|
|
307
|
-
"name": "
|
|
308
|
-
"
|
|
309
|
-
"
|
|
271
|
+
"name": "rewards_escrow",
|
|
272
|
+
"writable": true,
|
|
273
|
+
"relations": [
|
|
274
|
+
"lazy_distributor"
|
|
275
|
+
]
|
|
310
276
|
},
|
|
311
277
|
{
|
|
312
|
-
"name": "
|
|
313
|
-
"
|
|
314
|
-
"isSigner": false,
|
|
278
|
+
"name": "circuit_breaker",
|
|
279
|
+
"writable": true,
|
|
315
280
|
"pda": {
|
|
316
281
|
"seeds": [
|
|
317
282
|
{
|
|
318
283
|
"kind": "const",
|
|
319
|
-
"
|
|
320
|
-
|
|
284
|
+
"value": [
|
|
285
|
+
97,
|
|
286
|
+
99,
|
|
287
|
+
99,
|
|
288
|
+
111,
|
|
289
|
+
117,
|
|
290
|
+
110,
|
|
291
|
+
116,
|
|
292
|
+
95,
|
|
293
|
+
119,
|
|
294
|
+
105,
|
|
295
|
+
110,
|
|
296
|
+
100,
|
|
297
|
+
111,
|
|
298
|
+
119,
|
|
299
|
+
101,
|
|
300
|
+
100,
|
|
301
|
+
95,
|
|
302
|
+
98,
|
|
303
|
+
114,
|
|
304
|
+
101,
|
|
305
|
+
97,
|
|
306
|
+
107,
|
|
307
|
+
101,
|
|
308
|
+
114
|
|
309
|
+
]
|
|
321
310
|
},
|
|
322
311
|
{
|
|
323
312
|
"kind": "account",
|
|
324
|
-
"type": "publicKey",
|
|
325
|
-
"account": "TokenAccount",
|
|
326
313
|
"path": "rewards_escrow"
|
|
327
314
|
}
|
|
328
315
|
],
|
|
329
|
-
"
|
|
316
|
+
"program": {
|
|
330
317
|
"kind": "account",
|
|
331
|
-
"type": "publicKey",
|
|
332
318
|
"path": "circuit_breaker_program"
|
|
333
319
|
}
|
|
334
320
|
}
|
|
335
321
|
},
|
|
336
322
|
{
|
|
337
323
|
"name": "owner",
|
|
338
|
-
"isMut": true,
|
|
339
|
-
"isSigner": false,
|
|
340
324
|
"docs": [
|
|
341
325
|
"TODO: Should this be permissioned? Should the owner have to sign to receive rewards?"
|
|
342
|
-
]
|
|
326
|
+
],
|
|
327
|
+
"writable": true
|
|
343
328
|
},
|
|
344
329
|
{
|
|
345
|
-
"name": "
|
|
346
|
-
"
|
|
347
|
-
"
|
|
330
|
+
"name": "destination_account",
|
|
331
|
+
"writable": true,
|
|
332
|
+
"pda": {
|
|
333
|
+
"seeds": [
|
|
334
|
+
{
|
|
335
|
+
"kind": "account",
|
|
336
|
+
"path": "owner"
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
"kind": "const",
|
|
340
|
+
"value": [
|
|
341
|
+
6,
|
|
342
|
+
221,
|
|
343
|
+
246,
|
|
344
|
+
225,
|
|
345
|
+
215,
|
|
346
|
+
101,
|
|
347
|
+
161,
|
|
348
|
+
147,
|
|
349
|
+
217,
|
|
350
|
+
203,
|
|
351
|
+
225,
|
|
352
|
+
70,
|
|
353
|
+
206,
|
|
354
|
+
235,
|
|
355
|
+
121,
|
|
356
|
+
172,
|
|
357
|
+
28,
|
|
358
|
+
180,
|
|
359
|
+
133,
|
|
360
|
+
237,
|
|
361
|
+
95,
|
|
362
|
+
91,
|
|
363
|
+
55,
|
|
364
|
+
145,
|
|
365
|
+
58,
|
|
366
|
+
140,
|
|
367
|
+
245,
|
|
368
|
+
133,
|
|
369
|
+
126,
|
|
370
|
+
255,
|
|
371
|
+
0,
|
|
372
|
+
169
|
|
373
|
+
]
|
|
374
|
+
},
|
|
375
|
+
{
|
|
376
|
+
"kind": "account",
|
|
377
|
+
"path": "rewards_mint"
|
|
378
|
+
}
|
|
379
|
+
],
|
|
380
|
+
"program": {
|
|
381
|
+
"kind": "const",
|
|
382
|
+
"value": [
|
|
383
|
+
140,
|
|
384
|
+
151,
|
|
385
|
+
37,
|
|
386
|
+
143,
|
|
387
|
+
78,
|
|
388
|
+
36,
|
|
389
|
+
137,
|
|
390
|
+
241,
|
|
391
|
+
187,
|
|
392
|
+
61,
|
|
393
|
+
16,
|
|
394
|
+
41,
|
|
395
|
+
20,
|
|
396
|
+
142,
|
|
397
|
+
13,
|
|
398
|
+
131,
|
|
399
|
+
11,
|
|
400
|
+
90,
|
|
401
|
+
19,
|
|
402
|
+
153,
|
|
403
|
+
218,
|
|
404
|
+
255,
|
|
405
|
+
16,
|
|
406
|
+
132,
|
|
407
|
+
4,
|
|
408
|
+
142,
|
|
409
|
+
123,
|
|
410
|
+
216,
|
|
411
|
+
219,
|
|
412
|
+
233,
|
|
413
|
+
248,
|
|
414
|
+
89
|
|
415
|
+
]
|
|
416
|
+
}
|
|
417
|
+
}
|
|
348
418
|
},
|
|
349
419
|
{
|
|
350
|
-
"name": "
|
|
351
|
-
"
|
|
352
|
-
"isSigner": false
|
|
420
|
+
"name": "associated_token_program",
|
|
421
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
353
422
|
},
|
|
354
423
|
{
|
|
355
|
-
"name": "
|
|
356
|
-
"
|
|
357
|
-
"isSigner": false
|
|
424
|
+
"name": "circuit_breaker_program",
|
|
425
|
+
"address": "circAbx64bbsscPbQzZAUvuXpHqrCe6fLMzc2uKXz9g"
|
|
358
426
|
},
|
|
359
427
|
{
|
|
360
|
-
"name": "
|
|
361
|
-
"
|
|
362
|
-
"isSigner": false
|
|
428
|
+
"name": "system_program",
|
|
429
|
+
"address": "11111111111111111111111111111111"
|
|
363
430
|
},
|
|
364
431
|
{
|
|
365
|
-
"name": "
|
|
366
|
-
"
|
|
367
|
-
"isSigner": false
|
|
432
|
+
"name": "token_program",
|
|
433
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
368
434
|
}
|
|
369
435
|
]
|
|
370
|
-
},
|
|
371
|
-
{
|
|
372
|
-
"name": "recipientMintAccount",
|
|
373
|
-
"isMut": false,
|
|
374
|
-
"isSigner": false
|
|
375
436
|
}
|
|
376
437
|
],
|
|
377
438
|
"args": []
|
|
378
439
|
},
|
|
379
440
|
{
|
|
380
|
-
"name": "
|
|
441
|
+
"name": "distribute_rewards_v0",
|
|
442
|
+
"discriminator": [
|
|
443
|
+
235,
|
|
444
|
+
19,
|
|
445
|
+
42,
|
|
446
|
+
12,
|
|
447
|
+
113,
|
|
448
|
+
98,
|
|
449
|
+
214,
|
|
450
|
+
117
|
|
451
|
+
],
|
|
381
452
|
"accounts": [
|
|
382
453
|
{
|
|
383
454
|
"name": "common",
|
|
384
455
|
"accounts": [
|
|
385
456
|
{
|
|
386
457
|
"name": "payer",
|
|
387
|
-
"
|
|
388
|
-
"
|
|
458
|
+
"writable": true,
|
|
459
|
+
"signer": true
|
|
389
460
|
},
|
|
390
461
|
{
|
|
391
|
-
"name": "
|
|
392
|
-
"
|
|
393
|
-
|
|
394
|
-
|
|
462
|
+
"name": "lazy_distributor",
|
|
463
|
+
"relations": [
|
|
464
|
+
"recipient"
|
|
465
|
+
]
|
|
395
466
|
},
|
|
396
467
|
{
|
|
397
468
|
"name": "recipient",
|
|
398
|
-
"
|
|
399
|
-
"isSigner": false,
|
|
400
|
-
"relations": ["lazy_distributor"]
|
|
469
|
+
"writable": true
|
|
401
470
|
},
|
|
402
471
|
{
|
|
403
|
-
"name": "
|
|
404
|
-
"
|
|
405
|
-
|
|
472
|
+
"name": "rewards_mint",
|
|
473
|
+
"relations": [
|
|
474
|
+
"lazy_distributor"
|
|
475
|
+
]
|
|
406
476
|
},
|
|
407
477
|
{
|
|
408
|
-
"name": "
|
|
409
|
-
"
|
|
410
|
-
"
|
|
478
|
+
"name": "rewards_escrow",
|
|
479
|
+
"writable": true,
|
|
480
|
+
"relations": [
|
|
481
|
+
"lazy_distributor"
|
|
482
|
+
]
|
|
411
483
|
},
|
|
412
484
|
{
|
|
413
|
-
"name": "
|
|
414
|
-
"
|
|
415
|
-
"isSigner": false,
|
|
485
|
+
"name": "circuit_breaker",
|
|
486
|
+
"writable": true,
|
|
416
487
|
"pda": {
|
|
417
488
|
"seeds": [
|
|
418
489
|
{
|
|
419
490
|
"kind": "const",
|
|
420
|
-
"
|
|
421
|
-
|
|
491
|
+
"value": [
|
|
492
|
+
97,
|
|
493
|
+
99,
|
|
494
|
+
99,
|
|
495
|
+
111,
|
|
496
|
+
117,
|
|
497
|
+
110,
|
|
498
|
+
116,
|
|
499
|
+
95,
|
|
500
|
+
119,
|
|
501
|
+
105,
|
|
502
|
+
110,
|
|
503
|
+
100,
|
|
504
|
+
111,
|
|
505
|
+
119,
|
|
506
|
+
101,
|
|
507
|
+
100,
|
|
508
|
+
95,
|
|
509
|
+
98,
|
|
510
|
+
114,
|
|
511
|
+
101,
|
|
512
|
+
97,
|
|
513
|
+
107,
|
|
514
|
+
101,
|
|
515
|
+
114
|
|
516
|
+
]
|
|
422
517
|
},
|
|
423
518
|
{
|
|
424
519
|
"kind": "account",
|
|
425
|
-
"type": "publicKey",
|
|
426
|
-
"account": "TokenAccount",
|
|
427
520
|
"path": "rewards_escrow"
|
|
428
521
|
}
|
|
429
522
|
],
|
|
430
|
-
"
|
|
523
|
+
"program": {
|
|
431
524
|
"kind": "account",
|
|
432
|
-
"type": "publicKey",
|
|
433
525
|
"path": "circuit_breaker_program"
|
|
434
526
|
}
|
|
435
527
|
}
|
|
436
528
|
},
|
|
437
529
|
{
|
|
438
530
|
"name": "owner",
|
|
439
|
-
"isMut": true,
|
|
440
|
-
"isSigner": false,
|
|
441
531
|
"docs": [
|
|
442
532
|
"TODO: Should this be permissioned? Should the owner have to sign to receive rewards?"
|
|
443
|
-
]
|
|
533
|
+
],
|
|
534
|
+
"writable": true
|
|
444
535
|
},
|
|
445
536
|
{
|
|
446
|
-
"name": "
|
|
447
|
-
"
|
|
448
|
-
"
|
|
537
|
+
"name": "destination_account",
|
|
538
|
+
"writable": true,
|
|
539
|
+
"pda": {
|
|
540
|
+
"seeds": [
|
|
541
|
+
{
|
|
542
|
+
"kind": "account",
|
|
543
|
+
"path": "owner"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"kind": "const",
|
|
547
|
+
"value": [
|
|
548
|
+
6,
|
|
549
|
+
221,
|
|
550
|
+
246,
|
|
551
|
+
225,
|
|
552
|
+
215,
|
|
553
|
+
101,
|
|
554
|
+
161,
|
|
555
|
+
147,
|
|
556
|
+
217,
|
|
557
|
+
203,
|
|
558
|
+
225,
|
|
559
|
+
70,
|
|
560
|
+
206,
|
|
561
|
+
235,
|
|
562
|
+
121,
|
|
563
|
+
172,
|
|
564
|
+
28,
|
|
565
|
+
180,
|
|
566
|
+
133,
|
|
567
|
+
237,
|
|
568
|
+
95,
|
|
569
|
+
91,
|
|
570
|
+
55,
|
|
571
|
+
145,
|
|
572
|
+
58,
|
|
573
|
+
140,
|
|
574
|
+
245,
|
|
575
|
+
133,
|
|
576
|
+
126,
|
|
577
|
+
255,
|
|
578
|
+
0,
|
|
579
|
+
169
|
|
580
|
+
]
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"kind": "account",
|
|
584
|
+
"path": "rewards_mint"
|
|
585
|
+
}
|
|
586
|
+
],
|
|
587
|
+
"program": {
|
|
588
|
+
"kind": "const",
|
|
589
|
+
"value": [
|
|
590
|
+
140,
|
|
591
|
+
151,
|
|
592
|
+
37,
|
|
593
|
+
143,
|
|
594
|
+
78,
|
|
595
|
+
36,
|
|
596
|
+
137,
|
|
597
|
+
241,
|
|
598
|
+
187,
|
|
599
|
+
61,
|
|
600
|
+
16,
|
|
601
|
+
41,
|
|
602
|
+
20,
|
|
603
|
+
142,
|
|
604
|
+
13,
|
|
605
|
+
131,
|
|
606
|
+
11,
|
|
607
|
+
90,
|
|
608
|
+
19,
|
|
609
|
+
153,
|
|
610
|
+
218,
|
|
611
|
+
255,
|
|
612
|
+
16,
|
|
613
|
+
132,
|
|
614
|
+
4,
|
|
615
|
+
142,
|
|
616
|
+
123,
|
|
617
|
+
216,
|
|
618
|
+
219,
|
|
619
|
+
233,
|
|
620
|
+
248,
|
|
621
|
+
89
|
|
622
|
+
]
|
|
623
|
+
}
|
|
624
|
+
}
|
|
449
625
|
},
|
|
450
626
|
{
|
|
451
|
-
"name": "
|
|
452
|
-
"
|
|
453
|
-
"isSigner": false
|
|
627
|
+
"name": "associated_token_program",
|
|
628
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
454
629
|
},
|
|
455
630
|
{
|
|
456
|
-
"name": "
|
|
457
|
-
"
|
|
458
|
-
"isSigner": false
|
|
631
|
+
"name": "circuit_breaker_program",
|
|
632
|
+
"address": "circAbx64bbsscPbQzZAUvuXpHqrCe6fLMzc2uKXz9g"
|
|
459
633
|
},
|
|
460
634
|
{
|
|
461
|
-
"name": "
|
|
462
|
-
"
|
|
463
|
-
"isSigner": false
|
|
635
|
+
"name": "system_program",
|
|
636
|
+
"address": "11111111111111111111111111111111"
|
|
464
637
|
},
|
|
465
638
|
{
|
|
466
|
-
"name": "
|
|
467
|
-
"
|
|
468
|
-
"isSigner": false
|
|
639
|
+
"name": "token_program",
|
|
640
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
469
641
|
}
|
|
470
642
|
]
|
|
471
643
|
},
|
|
472
644
|
{
|
|
473
|
-
"name": "
|
|
474
|
-
"isMut": false,
|
|
475
|
-
"isSigner": false
|
|
476
|
-
},
|
|
477
|
-
{
|
|
478
|
-
"name": "compressionProgram",
|
|
479
|
-
"isMut": false,
|
|
480
|
-
"isSigner": false
|
|
645
|
+
"name": "recipient_mint_account"
|
|
481
646
|
}
|
|
482
647
|
],
|
|
483
|
-
"args": [
|
|
484
|
-
{
|
|
485
|
-
"name": "args",
|
|
486
|
-
"type": {
|
|
487
|
-
"defined": "DistributeCompressionRewardsArgsV0"
|
|
488
|
-
}
|
|
489
|
-
}
|
|
490
|
-
]
|
|
648
|
+
"args": []
|
|
491
649
|
},
|
|
492
650
|
{
|
|
493
|
-
"name": "
|
|
651
|
+
"name": "dummy_ix",
|
|
652
|
+
"discriminator": [
|
|
653
|
+
234,
|
|
654
|
+
95,
|
|
655
|
+
176,
|
|
656
|
+
185,
|
|
657
|
+
7,
|
|
658
|
+
42,
|
|
659
|
+
35,
|
|
660
|
+
159
|
|
661
|
+
],
|
|
494
662
|
"accounts": [
|
|
495
663
|
{
|
|
496
|
-
"name": "
|
|
497
|
-
"
|
|
498
|
-
|
|
499
|
-
|
|
664
|
+
"name": "dummy",
|
|
665
|
+
"writable": true
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
"name": "dummy_2"
|
|
669
|
+
}
|
|
670
|
+
],
|
|
671
|
+
"args": []
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
"name": "initialize_compression_recipient_v0",
|
|
675
|
+
"discriminator": [
|
|
676
|
+
80,
|
|
677
|
+
144,
|
|
678
|
+
151,
|
|
679
|
+
21,
|
|
680
|
+
26,
|
|
681
|
+
144,
|
|
682
|
+
218,
|
|
683
|
+
174
|
|
684
|
+
],
|
|
685
|
+
"accounts": [
|
|
686
|
+
{
|
|
687
|
+
"name": "payer",
|
|
688
|
+
"writable": true,
|
|
689
|
+
"signer": true
|
|
690
|
+
},
|
|
691
|
+
{
|
|
692
|
+
"name": "lazy_distributor",
|
|
693
|
+
"pda": {
|
|
694
|
+
"seeds": [
|
|
695
|
+
{
|
|
696
|
+
"kind": "const",
|
|
697
|
+
"value": [
|
|
698
|
+
108,
|
|
699
|
+
97,
|
|
700
|
+
122,
|
|
701
|
+
121,
|
|
702
|
+
95,
|
|
703
|
+
100,
|
|
704
|
+
105,
|
|
705
|
+
115,
|
|
706
|
+
116,
|
|
707
|
+
114,
|
|
708
|
+
105,
|
|
709
|
+
98,
|
|
710
|
+
117,
|
|
711
|
+
116,
|
|
712
|
+
111,
|
|
713
|
+
114
|
|
714
|
+
]
|
|
715
|
+
},
|
|
716
|
+
{
|
|
717
|
+
"kind": "account",
|
|
718
|
+
"path": "lazy_distributor.rewards_mint",
|
|
719
|
+
"account": "LazyDistributorV0"
|
|
720
|
+
}
|
|
721
|
+
]
|
|
722
|
+
}
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"name": "recipient",
|
|
726
|
+
"writable": true
|
|
727
|
+
},
|
|
728
|
+
{
|
|
729
|
+
"name": "merkle_tree"
|
|
730
|
+
},
|
|
731
|
+
{
|
|
732
|
+
"name": "owner"
|
|
733
|
+
},
|
|
734
|
+
{
|
|
735
|
+
"name": "delegate"
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"name": "compression_program",
|
|
739
|
+
"address": "cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK"
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"name": "system_program",
|
|
743
|
+
"address": "11111111111111111111111111111111"
|
|
744
|
+
}
|
|
745
|
+
],
|
|
746
|
+
"args": [
|
|
747
|
+
{
|
|
748
|
+
"name": "args",
|
|
749
|
+
"type": {
|
|
750
|
+
"defined": {
|
|
751
|
+
"name": "InitializeCompressionRecipientArgsV0"
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
}
|
|
755
|
+
]
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"name": "initialize_lazy_distributor_v0",
|
|
759
|
+
"discriminator": [
|
|
760
|
+
82,
|
|
761
|
+
55,
|
|
762
|
+
202,
|
|
763
|
+
203,
|
|
764
|
+
158,
|
|
765
|
+
198,
|
|
766
|
+
240,
|
|
767
|
+
103
|
|
768
|
+
],
|
|
769
|
+
"accounts": [
|
|
770
|
+
{
|
|
771
|
+
"name": "payer",
|
|
772
|
+
"writable": true,
|
|
773
|
+
"signer": true
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "lazy_distributor",
|
|
777
|
+
"writable": true,
|
|
778
|
+
"pda": {
|
|
500
779
|
"seeds": [
|
|
501
780
|
{
|
|
502
781
|
"kind": "const",
|
|
503
|
-
"
|
|
504
|
-
|
|
782
|
+
"value": [
|
|
783
|
+
108,
|
|
784
|
+
97,
|
|
785
|
+
122,
|
|
786
|
+
121,
|
|
787
|
+
95,
|
|
788
|
+
100,
|
|
789
|
+
105,
|
|
790
|
+
115,
|
|
791
|
+
116,
|
|
792
|
+
114,
|
|
793
|
+
105,
|
|
794
|
+
98,
|
|
795
|
+
117,
|
|
796
|
+
116,
|
|
797
|
+
111,
|
|
798
|
+
114
|
|
799
|
+
]
|
|
505
800
|
},
|
|
506
801
|
{
|
|
507
802
|
"kind": "account",
|
|
508
|
-
"type": "publicKey",
|
|
509
|
-
"account": "Mint",
|
|
510
803
|
"path": "rewards_mint"
|
|
511
804
|
}
|
|
512
805
|
]
|
|
513
|
-
}
|
|
514
|
-
"relations": ["authority", "rewards_mint"]
|
|
806
|
+
}
|
|
515
807
|
},
|
|
516
808
|
{
|
|
517
|
-
"name": "
|
|
518
|
-
"
|
|
519
|
-
"isSigner": false
|
|
809
|
+
"name": "rewards_mint",
|
|
810
|
+
"writable": true
|
|
520
811
|
},
|
|
521
812
|
{
|
|
522
|
-
"name": "
|
|
523
|
-
"
|
|
524
|
-
"
|
|
813
|
+
"name": "rewards_escrow",
|
|
814
|
+
"writable": true,
|
|
815
|
+
"pda": {
|
|
816
|
+
"seeds": [
|
|
817
|
+
{
|
|
818
|
+
"kind": "account",
|
|
819
|
+
"path": "lazy_distributor"
|
|
820
|
+
},
|
|
821
|
+
{
|
|
822
|
+
"kind": "const",
|
|
823
|
+
"value": [
|
|
824
|
+
6,
|
|
825
|
+
221,
|
|
826
|
+
246,
|
|
827
|
+
225,
|
|
828
|
+
215,
|
|
829
|
+
101,
|
|
830
|
+
161,
|
|
831
|
+
147,
|
|
832
|
+
217,
|
|
833
|
+
203,
|
|
834
|
+
225,
|
|
835
|
+
70,
|
|
836
|
+
206,
|
|
837
|
+
235,
|
|
838
|
+
121,
|
|
839
|
+
172,
|
|
840
|
+
28,
|
|
841
|
+
180,
|
|
842
|
+
133,
|
|
843
|
+
237,
|
|
844
|
+
95,
|
|
845
|
+
91,
|
|
846
|
+
55,
|
|
847
|
+
145,
|
|
848
|
+
58,
|
|
849
|
+
140,
|
|
850
|
+
245,
|
|
851
|
+
133,
|
|
852
|
+
126,
|
|
853
|
+
255,
|
|
854
|
+
0,
|
|
855
|
+
169
|
|
856
|
+
]
|
|
857
|
+
},
|
|
858
|
+
{
|
|
859
|
+
"kind": "account",
|
|
860
|
+
"path": "rewards_mint"
|
|
861
|
+
}
|
|
862
|
+
],
|
|
863
|
+
"program": {
|
|
864
|
+
"kind": "const",
|
|
865
|
+
"value": [
|
|
866
|
+
140,
|
|
867
|
+
151,
|
|
868
|
+
37,
|
|
869
|
+
143,
|
|
870
|
+
78,
|
|
871
|
+
36,
|
|
872
|
+
137,
|
|
873
|
+
241,
|
|
874
|
+
187,
|
|
875
|
+
61,
|
|
876
|
+
16,
|
|
877
|
+
41,
|
|
878
|
+
20,
|
|
879
|
+
142,
|
|
880
|
+
13,
|
|
881
|
+
131,
|
|
882
|
+
11,
|
|
883
|
+
90,
|
|
884
|
+
19,
|
|
885
|
+
153,
|
|
886
|
+
218,
|
|
887
|
+
255,
|
|
888
|
+
16,
|
|
889
|
+
132,
|
|
890
|
+
4,
|
|
891
|
+
142,
|
|
892
|
+
123,
|
|
893
|
+
216,
|
|
894
|
+
219,
|
|
895
|
+
233,
|
|
896
|
+
248,
|
|
897
|
+
89
|
|
898
|
+
]
|
|
899
|
+
}
|
|
900
|
+
}
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"name": "circuit_breaker",
|
|
904
|
+
"writable": true,
|
|
905
|
+
"pda": {
|
|
906
|
+
"seeds": [
|
|
907
|
+
{
|
|
908
|
+
"kind": "const",
|
|
909
|
+
"value": [
|
|
910
|
+
97,
|
|
911
|
+
99,
|
|
912
|
+
99,
|
|
913
|
+
111,
|
|
914
|
+
117,
|
|
915
|
+
110,
|
|
916
|
+
116,
|
|
917
|
+
95,
|
|
918
|
+
119,
|
|
919
|
+
105,
|
|
920
|
+
110,
|
|
921
|
+
100,
|
|
922
|
+
111,
|
|
923
|
+
119,
|
|
924
|
+
101,
|
|
925
|
+
100,
|
|
926
|
+
95,
|
|
927
|
+
98,
|
|
928
|
+
114,
|
|
929
|
+
101,
|
|
930
|
+
97,
|
|
931
|
+
107,
|
|
932
|
+
101,
|
|
933
|
+
114
|
|
934
|
+
]
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"kind": "account",
|
|
938
|
+
"path": "rewards_escrow"
|
|
939
|
+
}
|
|
940
|
+
],
|
|
941
|
+
"program": {
|
|
942
|
+
"kind": "account",
|
|
943
|
+
"path": "circuit_breaker_program"
|
|
944
|
+
}
|
|
945
|
+
}
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
"name": "system_program",
|
|
949
|
+
"address": "11111111111111111111111111111111"
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"name": "associated_token_program",
|
|
953
|
+
"address": "ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL"
|
|
954
|
+
},
|
|
955
|
+
{
|
|
956
|
+
"name": "circuit_breaker_program",
|
|
957
|
+
"address": "circAbx64bbsscPbQzZAUvuXpHqrCe6fLMzc2uKXz9g"
|
|
958
|
+
},
|
|
959
|
+
{
|
|
960
|
+
"name": "token_program",
|
|
961
|
+
"address": "TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
|
|
962
|
+
}
|
|
963
|
+
],
|
|
964
|
+
"args": [
|
|
965
|
+
{
|
|
966
|
+
"name": "args",
|
|
967
|
+
"type": {
|
|
968
|
+
"defined": {
|
|
969
|
+
"name": "InitializeLazyDistributorArgsV0"
|
|
970
|
+
}
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
]
|
|
974
|
+
},
|
|
975
|
+
{
|
|
976
|
+
"name": "initialize_recipient_v0",
|
|
977
|
+
"discriminator": [
|
|
978
|
+
216,
|
|
979
|
+
35,
|
|
980
|
+
51,
|
|
981
|
+
171,
|
|
982
|
+
152,
|
|
983
|
+
41,
|
|
984
|
+
62,
|
|
985
|
+
106
|
|
986
|
+
],
|
|
987
|
+
"accounts": [
|
|
988
|
+
{
|
|
989
|
+
"name": "payer",
|
|
990
|
+
"writable": true,
|
|
991
|
+
"signer": true
|
|
992
|
+
},
|
|
993
|
+
{
|
|
994
|
+
"name": "lazy_distributor",
|
|
995
|
+
"pda": {
|
|
996
|
+
"seeds": [
|
|
997
|
+
{
|
|
998
|
+
"kind": "const",
|
|
999
|
+
"value": [
|
|
1000
|
+
108,
|
|
1001
|
+
97,
|
|
1002
|
+
122,
|
|
1003
|
+
121,
|
|
1004
|
+
95,
|
|
1005
|
+
100,
|
|
1006
|
+
105,
|
|
1007
|
+
115,
|
|
1008
|
+
116,
|
|
1009
|
+
114,
|
|
1010
|
+
105,
|
|
1011
|
+
98,
|
|
1012
|
+
117,
|
|
1013
|
+
116,
|
|
1014
|
+
111,
|
|
1015
|
+
114
|
|
1016
|
+
]
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
"kind": "account",
|
|
1020
|
+
"path": "lazy_distributor.rewards_mint",
|
|
1021
|
+
"account": "LazyDistributorV0"
|
|
1022
|
+
}
|
|
1023
|
+
]
|
|
1024
|
+
}
|
|
1025
|
+
},
|
|
1026
|
+
{
|
|
1027
|
+
"name": "recipient",
|
|
1028
|
+
"writable": true,
|
|
1029
|
+
"pda": {
|
|
1030
|
+
"seeds": [
|
|
1031
|
+
{
|
|
1032
|
+
"kind": "const",
|
|
1033
|
+
"value": [
|
|
1034
|
+
114,
|
|
1035
|
+
101,
|
|
1036
|
+
99,
|
|
1037
|
+
105,
|
|
1038
|
+
112,
|
|
1039
|
+
105,
|
|
1040
|
+
101,
|
|
1041
|
+
110,
|
|
1042
|
+
116
|
|
1043
|
+
]
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"kind": "account",
|
|
1047
|
+
"path": "lazy_distributor"
|
|
1048
|
+
},
|
|
1049
|
+
{
|
|
1050
|
+
"kind": "account",
|
|
1051
|
+
"path": "mint"
|
|
1052
|
+
}
|
|
1053
|
+
]
|
|
1054
|
+
}
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
"name": "mint",
|
|
1058
|
+
"relations": [
|
|
1059
|
+
"target_metadata"
|
|
1060
|
+
]
|
|
1061
|
+
},
|
|
1062
|
+
{
|
|
1063
|
+
"name": "target_metadata",
|
|
1064
|
+
"pda": {
|
|
1065
|
+
"seeds": [
|
|
1066
|
+
{
|
|
1067
|
+
"kind": "const",
|
|
1068
|
+
"value": [
|
|
1069
|
+
109,
|
|
1070
|
+
101,
|
|
1071
|
+
116,
|
|
1072
|
+
97,
|
|
1073
|
+
100,
|
|
1074
|
+
97,
|
|
1075
|
+
116,
|
|
1076
|
+
97
|
|
1077
|
+
]
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
"kind": "const",
|
|
1081
|
+
"value": [
|
|
1082
|
+
11,
|
|
1083
|
+
112,
|
|
1084
|
+
101,
|
|
1085
|
+
177,
|
|
1086
|
+
227,
|
|
1087
|
+
209,
|
|
1088
|
+
124,
|
|
1089
|
+
69,
|
|
1090
|
+
56,
|
|
1091
|
+
157,
|
|
1092
|
+
82,
|
|
1093
|
+
127,
|
|
1094
|
+
107,
|
|
1095
|
+
4,
|
|
1096
|
+
195,
|
|
1097
|
+
205,
|
|
1098
|
+
88,
|
|
1099
|
+
184,
|
|
1100
|
+
108,
|
|
1101
|
+
115,
|
|
1102
|
+
26,
|
|
1103
|
+
160,
|
|
1104
|
+
253,
|
|
1105
|
+
181,
|
|
1106
|
+
73,
|
|
1107
|
+
182,
|
|
1108
|
+
209,
|
|
1109
|
+
188,
|
|
1110
|
+
3,
|
|
1111
|
+
248,
|
|
1112
|
+
41,
|
|
1113
|
+
70
|
|
1114
|
+
]
|
|
1115
|
+
},
|
|
1116
|
+
{
|
|
1117
|
+
"kind": "account",
|
|
1118
|
+
"path": "mint"
|
|
1119
|
+
}
|
|
1120
|
+
],
|
|
1121
|
+
"program": {
|
|
1122
|
+
"kind": "const",
|
|
1123
|
+
"value": [
|
|
1124
|
+
11,
|
|
1125
|
+
112,
|
|
1126
|
+
101,
|
|
1127
|
+
177,
|
|
1128
|
+
227,
|
|
1129
|
+
209,
|
|
1130
|
+
124,
|
|
1131
|
+
69,
|
|
1132
|
+
56,
|
|
1133
|
+
157,
|
|
1134
|
+
82,
|
|
1135
|
+
127,
|
|
1136
|
+
107,
|
|
1137
|
+
4,
|
|
1138
|
+
195,
|
|
1139
|
+
205,
|
|
1140
|
+
88,
|
|
1141
|
+
184,
|
|
1142
|
+
108,
|
|
1143
|
+
115,
|
|
1144
|
+
26,
|
|
1145
|
+
160,
|
|
1146
|
+
253,
|
|
1147
|
+
181,
|
|
1148
|
+
73,
|
|
1149
|
+
182,
|
|
1150
|
+
209,
|
|
1151
|
+
188,
|
|
1152
|
+
3,
|
|
1153
|
+
248,
|
|
1154
|
+
41,
|
|
1155
|
+
70
|
|
1156
|
+
]
|
|
1157
|
+
}
|
|
1158
|
+
}
|
|
1159
|
+
},
|
|
1160
|
+
{
|
|
1161
|
+
"name": "system_program",
|
|
1162
|
+
"address": "11111111111111111111111111111111"
|
|
1163
|
+
}
|
|
1164
|
+
],
|
|
1165
|
+
"args": []
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
"name": "set_current_rewards_v0",
|
|
1169
|
+
"discriminator": [
|
|
1170
|
+
251,
|
|
1171
|
+
237,
|
|
1172
|
+
190,
|
|
1173
|
+
128,
|
|
1174
|
+
228,
|
|
1175
|
+
195,
|
|
1176
|
+
93,
|
|
1177
|
+
239
|
|
1178
|
+
],
|
|
1179
|
+
"accounts": [
|
|
1180
|
+
{
|
|
1181
|
+
"name": "payer",
|
|
1182
|
+
"writable": true,
|
|
1183
|
+
"signer": true
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "lazy_distributor",
|
|
1187
|
+
"relations": [
|
|
1188
|
+
"recipient"
|
|
1189
|
+
]
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
"name": "recipient",
|
|
1193
|
+
"writable": true
|
|
1194
|
+
},
|
|
1195
|
+
{
|
|
1196
|
+
"name": "oracle",
|
|
1197
|
+
"signer": true
|
|
1198
|
+
},
|
|
1199
|
+
{
|
|
1200
|
+
"name": "system_program",
|
|
1201
|
+
"address": "11111111111111111111111111111111"
|
|
1202
|
+
}
|
|
1203
|
+
],
|
|
1204
|
+
"args": [
|
|
1205
|
+
{
|
|
1206
|
+
"name": "args",
|
|
1207
|
+
"type": {
|
|
1208
|
+
"defined": {
|
|
1209
|
+
"name": "SetCurrentRewardsArgsV0"
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1213
|
+
]
|
|
1214
|
+
},
|
|
1215
|
+
{
|
|
1216
|
+
"name": "set_current_rewards_v1",
|
|
1217
|
+
"discriminator": [
|
|
1218
|
+
62,
|
|
1219
|
+
50,
|
|
1220
|
+
93,
|
|
1221
|
+
41,
|
|
1222
|
+
153,
|
|
1223
|
+
202,
|
|
1224
|
+
13,
|
|
1225
|
+
209
|
|
1226
|
+
],
|
|
1227
|
+
"accounts": [
|
|
1228
|
+
{
|
|
1229
|
+
"name": "payer",
|
|
1230
|
+
"writable": true,
|
|
1231
|
+
"signer": true
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"name": "lazy_distributor",
|
|
1235
|
+
"relations": [
|
|
1236
|
+
"recipient"
|
|
1237
|
+
]
|
|
1238
|
+
},
|
|
1239
|
+
{
|
|
1240
|
+
"name": "recipient",
|
|
1241
|
+
"writable": true
|
|
1242
|
+
},
|
|
1243
|
+
{
|
|
1244
|
+
"name": "sysvar_instructions",
|
|
1245
|
+
"docs": [
|
|
1246
|
+
"the supplied Sysvar could be anything else.",
|
|
1247
|
+
"The Instruction Sysvar has not been implemented",
|
|
1248
|
+
"in the Anchor framework yet, so this is the safe approach."
|
|
1249
|
+
],
|
|
1250
|
+
"address": "Sysvar1nstructions1111111111111111111111111"
|
|
1251
|
+
},
|
|
1252
|
+
{
|
|
1253
|
+
"name": "system_program",
|
|
1254
|
+
"address": "11111111111111111111111111111111"
|
|
525
1255
|
}
|
|
526
1256
|
],
|
|
527
1257
|
"args": [
|
|
528
1258
|
{
|
|
529
1259
|
"name": "args",
|
|
530
1260
|
"type": {
|
|
531
|
-
"defined":
|
|
1261
|
+
"defined": {
|
|
1262
|
+
"name": "SetCurrentRewardsArgsV0"
|
|
1263
|
+
}
|
|
532
1264
|
}
|
|
533
1265
|
}
|
|
534
1266
|
]
|
|
535
1267
|
},
|
|
536
1268
|
{
|
|
537
|
-
"name": "
|
|
1269
|
+
"name": "temp_update_matching_destination",
|
|
1270
|
+
"discriminator": [
|
|
1271
|
+
190,
|
|
1272
|
+
245,
|
|
1273
|
+
242,
|
|
1274
|
+
31,
|
|
1275
|
+
223,
|
|
1276
|
+
18,
|
|
1277
|
+
229,
|
|
1278
|
+
223
|
|
1279
|
+
],
|
|
1280
|
+
"accounts": [
|
|
1281
|
+
{
|
|
1282
|
+
"name": "authority",
|
|
1283
|
+
"signer": true,
|
|
1284
|
+
"address": "hprdnjkbziK8NqhThmAn5Gu4XqrBbctX8du4PfJdgvW"
|
|
1285
|
+
},
|
|
1286
|
+
{
|
|
1287
|
+
"name": "original_recipient"
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
"name": "recipient",
|
|
1291
|
+
"writable": true
|
|
1292
|
+
}
|
|
1293
|
+
],
|
|
1294
|
+
"args": []
|
|
1295
|
+
},
|
|
1296
|
+
{
|
|
1297
|
+
"name": "update_compression_destination_v0",
|
|
1298
|
+
"discriminator": [
|
|
1299
|
+
117,
|
|
1300
|
+
200,
|
|
1301
|
+
55,
|
|
1302
|
+
44,
|
|
1303
|
+
62,
|
|
1304
|
+
195,
|
|
1305
|
+
201,
|
|
1306
|
+
81
|
|
1307
|
+
],
|
|
538
1308
|
"accounts": [
|
|
539
1309
|
{
|
|
540
1310
|
"name": "recipient",
|
|
541
|
-
"
|
|
542
|
-
"isSigner": false
|
|
1311
|
+
"writable": true
|
|
543
1312
|
},
|
|
544
1313
|
{
|
|
545
1314
|
"name": "owner",
|
|
546
|
-
"
|
|
547
|
-
"isSigner": true
|
|
1315
|
+
"signer": true
|
|
548
1316
|
},
|
|
549
1317
|
{
|
|
550
|
-
"name": "destination"
|
|
551
|
-
"isMut": false,
|
|
552
|
-
"isSigner": false
|
|
1318
|
+
"name": "destination"
|
|
553
1319
|
},
|
|
554
1320
|
{
|
|
555
|
-
"name": "
|
|
556
|
-
"isMut": false,
|
|
557
|
-
"isSigner": false
|
|
1321
|
+
"name": "merkle_tree"
|
|
558
1322
|
},
|
|
559
1323
|
{
|
|
560
|
-
"name": "
|
|
561
|
-
"
|
|
562
|
-
"isSigner": false
|
|
1324
|
+
"name": "compression_program",
|
|
1325
|
+
"address": "cmtDvXumGCrqC1Age74AVPhSRVXJMd8PJS91L8KbNCK"
|
|
563
1326
|
}
|
|
564
1327
|
],
|
|
565
1328
|
"args": [
|
|
566
1329
|
{
|
|
567
1330
|
"name": "args",
|
|
568
1331
|
"type": {
|
|
569
|
-
"defined":
|
|
1332
|
+
"defined": {
|
|
1333
|
+
"name": "UpdateCompressionDestinationArgsV0"
|
|
1334
|
+
}
|
|
570
1335
|
}
|
|
571
1336
|
}
|
|
572
1337
|
]
|
|
573
1338
|
},
|
|
574
1339
|
{
|
|
575
|
-
"name": "
|
|
1340
|
+
"name": "update_destination_v0",
|
|
1341
|
+
"discriminator": [
|
|
1342
|
+
196,
|
|
1343
|
+
237,
|
|
1344
|
+
208,
|
|
1345
|
+
178,
|
|
1346
|
+
104,
|
|
1347
|
+
7,
|
|
1348
|
+
36,
|
|
1349
|
+
14
|
|
1350
|
+
],
|
|
576
1351
|
"accounts": [
|
|
577
1352
|
{
|
|
578
1353
|
"name": "recipient",
|
|
579
|
-
"
|
|
580
|
-
"isSigner": false
|
|
1354
|
+
"writable": true
|
|
581
1355
|
},
|
|
582
1356
|
{
|
|
583
1357
|
"name": "owner",
|
|
584
|
-
"
|
|
585
|
-
"isSigner": true
|
|
1358
|
+
"signer": true
|
|
586
1359
|
},
|
|
587
1360
|
{
|
|
588
|
-
"name": "destination"
|
|
589
|
-
"isMut": false,
|
|
590
|
-
"isSigner": false
|
|
1361
|
+
"name": "destination"
|
|
591
1362
|
},
|
|
592
1363
|
{
|
|
593
|
-
"name": "
|
|
594
|
-
"isMut": false,
|
|
595
|
-
"isSigner": false
|
|
1364
|
+
"name": "recipient_mint_account"
|
|
596
1365
|
}
|
|
597
1366
|
],
|
|
598
1367
|
"args": []
|
|
599
1368
|
},
|
|
600
1369
|
{
|
|
601
|
-
"name": "
|
|
1370
|
+
"name": "update_lazy_distributor_v0",
|
|
1371
|
+
"discriminator": [
|
|
1372
|
+
73,
|
|
1373
|
+
118,
|
|
1374
|
+
167,
|
|
1375
|
+
236,
|
|
1376
|
+
211,
|
|
1377
|
+
213,
|
|
1378
|
+
158,
|
|
1379
|
+
214
|
|
1380
|
+
],
|
|
602
1381
|
"accounts": [
|
|
603
1382
|
{
|
|
604
|
-
"name": "
|
|
605
|
-
"
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
},
|
|
633
|
-
{
|
|
634
|
-
"name": "circuitBreaker",
|
|
635
|
-
"isMut": true,
|
|
636
|
-
"isSigner": false,
|
|
637
|
-
"pda": {
|
|
638
|
-
"seeds": [
|
|
639
|
-
{
|
|
640
|
-
"kind": "const",
|
|
641
|
-
"type": "string",
|
|
642
|
-
"value": "account_windowed_breaker"
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
"kind": "account",
|
|
646
|
-
"type": "publicKey",
|
|
647
|
-
"account": "TokenAccount",
|
|
648
|
-
"path": "rewards_escrow"
|
|
649
|
-
}
|
|
650
|
-
],
|
|
651
|
-
"programId": {
|
|
652
|
-
"kind": "account",
|
|
653
|
-
"type": "publicKey",
|
|
654
|
-
"path": "circuit_breaker_program"
|
|
655
|
-
}
|
|
1383
|
+
"name": "lazy_distributor",
|
|
1384
|
+
"writable": true,
|
|
1385
|
+
"pda": {
|
|
1386
|
+
"seeds": [
|
|
1387
|
+
{
|
|
1388
|
+
"kind": "const",
|
|
1389
|
+
"value": [
|
|
1390
|
+
108,
|
|
1391
|
+
97,
|
|
1392
|
+
122,
|
|
1393
|
+
121,
|
|
1394
|
+
95,
|
|
1395
|
+
100,
|
|
1396
|
+
105,
|
|
1397
|
+
115,
|
|
1398
|
+
116,
|
|
1399
|
+
114,
|
|
1400
|
+
105,
|
|
1401
|
+
98,
|
|
1402
|
+
117,
|
|
1403
|
+
116,
|
|
1404
|
+
111,
|
|
1405
|
+
114
|
|
1406
|
+
]
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"kind": "account",
|
|
1410
|
+
"path": "rewards_mint"
|
|
656
1411
|
}
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
{
|
|
672
|
-
"name": "associatedTokenProgram",
|
|
673
|
-
"isMut": false,
|
|
674
|
-
"isSigner": false
|
|
675
|
-
},
|
|
676
|
-
{
|
|
677
|
-
"name": "circuitBreakerProgram",
|
|
678
|
-
"isMut": false,
|
|
679
|
-
"isSigner": false
|
|
680
|
-
},
|
|
681
|
-
{
|
|
682
|
-
"name": "systemProgram",
|
|
683
|
-
"isMut": false,
|
|
684
|
-
"isSigner": false
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
"name": "tokenProgram",
|
|
688
|
-
"isMut": false,
|
|
689
|
-
"isSigner": false
|
|
690
|
-
}
|
|
1412
|
+
]
|
|
1413
|
+
}
|
|
1414
|
+
},
|
|
1415
|
+
{
|
|
1416
|
+
"name": "rewards_mint",
|
|
1417
|
+
"relations": [
|
|
1418
|
+
"lazy_distributor"
|
|
1419
|
+
]
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
"name": "authority",
|
|
1423
|
+
"signer": true,
|
|
1424
|
+
"relations": [
|
|
1425
|
+
"lazy_distributor"
|
|
691
1426
|
]
|
|
692
1427
|
}
|
|
693
1428
|
],
|
|
694
|
-
"args": [
|
|
1429
|
+
"args": [
|
|
1430
|
+
{
|
|
1431
|
+
"name": "args",
|
|
1432
|
+
"type": {
|
|
1433
|
+
"defined": {
|
|
1434
|
+
"name": "UpdateLazyDistributorArgsV0"
|
|
1435
|
+
}
|
|
1436
|
+
}
|
|
1437
|
+
}
|
|
1438
|
+
]
|
|
695
1439
|
}
|
|
696
1440
|
],
|
|
697
1441
|
"accounts": [
|
|
1442
|
+
{
|
|
1443
|
+
"name": "AccountWindowedCircuitBreakerV0",
|
|
1444
|
+
"discriminator": [
|
|
1445
|
+
134,
|
|
1446
|
+
11,
|
|
1447
|
+
69,
|
|
1448
|
+
100,
|
|
1449
|
+
90,
|
|
1450
|
+
132,
|
|
1451
|
+
174,
|
|
1452
|
+
187
|
|
1453
|
+
]
|
|
1454
|
+
},
|
|
698
1455
|
{
|
|
699
1456
|
"name": "LazyDistributorV0",
|
|
1457
|
+
"discriminator": [
|
|
1458
|
+
135,
|
|
1459
|
+
186,
|
|
1460
|
+
185,
|
|
1461
|
+
252,
|
|
1462
|
+
10,
|
|
1463
|
+
77,
|
|
1464
|
+
99,
|
|
1465
|
+
167
|
|
1466
|
+
]
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"name": "RecipientV0",
|
|
1470
|
+
"discriminator": [
|
|
1471
|
+
174,
|
|
1472
|
+
14,
|
|
1473
|
+
199,
|
|
1474
|
+
217,
|
|
1475
|
+
206,
|
|
1476
|
+
108,
|
|
1477
|
+
154,
|
|
1478
|
+
50
|
|
1479
|
+
]
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
"name": "RemoteTaskTransactionV0",
|
|
1483
|
+
"discriminator": [
|
|
1484
|
+
244,
|
|
1485
|
+
225,
|
|
1486
|
+
238,
|
|
1487
|
+
116,
|
|
1488
|
+
199,
|
|
1489
|
+
12,
|
|
1490
|
+
9,
|
|
1491
|
+
191
|
|
1492
|
+
]
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"name": "SetCurrentRewardsTransactionV0",
|
|
1496
|
+
"discriminator": [
|
|
1497
|
+
49,
|
|
1498
|
+
213,
|
|
1499
|
+
97,
|
|
1500
|
+
190,
|
|
1501
|
+
211,
|
|
1502
|
+
21,
|
|
1503
|
+
239,
|
|
1504
|
+
202
|
|
1505
|
+
]
|
|
1506
|
+
}
|
|
1507
|
+
],
|
|
1508
|
+
"errors": [
|
|
1509
|
+
{
|
|
1510
|
+
"code": 6000,
|
|
1511
|
+
"name": "InvalidDataIncrease",
|
|
1512
|
+
"msg": "The realloc increase was too large"
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
"code": 6001,
|
|
1516
|
+
"name": "ArithmeticError",
|
|
1517
|
+
"msg": "Error in arithmetic"
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
"code": 6002,
|
|
1521
|
+
"name": "InvalidAsset",
|
|
1522
|
+
"msg": "Provided asset was invalid"
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
"code": 6003,
|
|
1526
|
+
"name": "InvalidOracleIndex",
|
|
1527
|
+
"msg": "Oracle index was out of range"
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"code": 6004,
|
|
1531
|
+
"name": "InvalidApproverSignature",
|
|
1532
|
+
"msg": "Approver signature required"
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"code": 6005,
|
|
1536
|
+
"name": "CustomDestination",
|
|
1537
|
+
"msg": "This recipient uses a custom destination. Use distribute_custom_destination_v0"
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"code": 6006,
|
|
1541
|
+
"name": "InvalidOracle",
|
|
1542
|
+
"msg": "Invalid oracle"
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
"code": 6007,
|
|
1546
|
+
"name": "InvalidLazyDistributor",
|
|
1547
|
+
"msg": "Invalid lazy distributor"
|
|
1548
|
+
},
|
|
1549
|
+
{
|
|
1550
|
+
"code": 6008,
|
|
1551
|
+
"name": "InvalidCurrentRewards",
|
|
1552
|
+
"msg": "Invalid current rewards"
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
"code": 6009,
|
|
1556
|
+
"name": "InvalidDiscriminator",
|
|
1557
|
+
"msg": "Invalid discriminator"
|
|
1558
|
+
},
|
|
1559
|
+
{
|
|
1560
|
+
"code": 6010,
|
|
1561
|
+
"name": "SigVerificationFailed",
|
|
1562
|
+
"msg": "Signature verification failed"
|
|
1563
|
+
},
|
|
1564
|
+
{
|
|
1565
|
+
"code": 6011,
|
|
1566
|
+
"name": "DummyInstruction",
|
|
1567
|
+
"msg": "Don't use the dummy instruction"
|
|
1568
|
+
}
|
|
1569
|
+
],
|
|
1570
|
+
"types": [
|
|
1571
|
+
{
|
|
1572
|
+
"name": "AccountWindowedCircuitBreakerV0",
|
|
700
1573
|
"type": {
|
|
701
1574
|
"kind": "struct",
|
|
702
1575
|
"fields": [
|
|
703
1576
|
{
|
|
704
|
-
"name": "
|
|
705
|
-
"type": "
|
|
1577
|
+
"name": "token_account",
|
|
1578
|
+
"type": "pubkey"
|
|
706
1579
|
},
|
|
707
1580
|
{
|
|
708
|
-
"name": "
|
|
709
|
-
"type": "
|
|
1581
|
+
"name": "authority",
|
|
1582
|
+
"type": "pubkey"
|
|
710
1583
|
},
|
|
711
1584
|
{
|
|
712
|
-
"name": "
|
|
713
|
-
"type": "
|
|
1585
|
+
"name": "owner",
|
|
1586
|
+
"type": "pubkey"
|
|
714
1587
|
},
|
|
715
1588
|
{
|
|
716
|
-
"name": "
|
|
717
|
-
"type":
|
|
1589
|
+
"name": "config",
|
|
1590
|
+
"type": {
|
|
1591
|
+
"defined": {
|
|
1592
|
+
"name": "circuit_breaker::state::WindowedCircuitBreakerConfigV0"
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
718
1595
|
},
|
|
719
1596
|
{
|
|
720
|
-
"name": "
|
|
1597
|
+
"name": "last_window",
|
|
721
1598
|
"type": {
|
|
722
|
-
"
|
|
723
|
-
"
|
|
1599
|
+
"defined": {
|
|
1600
|
+
"name": "WindowV0"
|
|
724
1601
|
}
|
|
725
1602
|
}
|
|
726
1603
|
},
|
|
727
1604
|
{
|
|
728
|
-
"name": "
|
|
1605
|
+
"name": "bump_seed",
|
|
1606
|
+
"type": "u8"
|
|
1607
|
+
}
|
|
1608
|
+
]
|
|
1609
|
+
}
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"name": "CompiledInstructionV0",
|
|
1613
|
+
"type": {
|
|
1614
|
+
"kind": "struct",
|
|
1615
|
+
"fields": [
|
|
1616
|
+
{
|
|
1617
|
+
"name": "program_id_index",
|
|
1618
|
+
"docs": [
|
|
1619
|
+
"Index into the transaction keys array indicating the program account that executes this instruction."
|
|
1620
|
+
],
|
|
729
1621
|
"type": "u8"
|
|
730
1622
|
},
|
|
731
1623
|
{
|
|
732
|
-
"name": "
|
|
733
|
-
"
|
|
734
|
-
"
|
|
735
|
-
|
|
1624
|
+
"name": "accounts",
|
|
1625
|
+
"docs": [
|
|
1626
|
+
"Ordered indices into the transaction keys array indicating which accounts to pass to the program."
|
|
1627
|
+
],
|
|
1628
|
+
"type": "bytes"
|
|
1629
|
+
},
|
|
1630
|
+
{
|
|
1631
|
+
"name": "data",
|
|
1632
|
+
"docs": [
|
|
1633
|
+
"The program input data."
|
|
1634
|
+
],
|
|
1635
|
+
"type": "bytes"
|
|
736
1636
|
}
|
|
737
1637
|
]
|
|
738
1638
|
}
|
|
739
1639
|
},
|
|
740
1640
|
{
|
|
741
|
-
"name": "
|
|
1641
|
+
"name": "CompiledTransactionV0",
|
|
742
1642
|
"type": {
|
|
743
1643
|
"kind": "struct",
|
|
744
1644
|
"fields": [
|
|
745
1645
|
{
|
|
746
|
-
"name": "
|
|
747
|
-
"type": "
|
|
1646
|
+
"name": "num_rw_signers",
|
|
1647
|
+
"type": "u8"
|
|
748
1648
|
},
|
|
749
1649
|
{
|
|
750
|
-
"name": "
|
|
751
|
-
"type": "
|
|
1650
|
+
"name": "num_ro_signers",
|
|
1651
|
+
"type": "u8"
|
|
752
1652
|
},
|
|
753
1653
|
{
|
|
754
|
-
"name": "
|
|
755
|
-
"type": "
|
|
1654
|
+
"name": "num_rw",
|
|
1655
|
+
"type": "u8"
|
|
756
1656
|
},
|
|
757
1657
|
{
|
|
758
|
-
"name": "
|
|
759
|
-
"type":
|
|
1658
|
+
"name": "accounts",
|
|
1659
|
+
"type": {
|
|
1660
|
+
"vec": "pubkey"
|
|
1661
|
+
}
|
|
760
1662
|
},
|
|
761
1663
|
{
|
|
762
|
-
"name": "
|
|
1664
|
+
"name": "instructions",
|
|
763
1665
|
"type": {
|
|
764
1666
|
"vec": {
|
|
765
|
-
"
|
|
1667
|
+
"defined": {
|
|
1668
|
+
"name": "CompiledInstructionV0"
|
|
1669
|
+
}
|
|
766
1670
|
}
|
|
767
1671
|
}
|
|
768
1672
|
},
|
|
769
1673
|
{
|
|
770
|
-
"name": "
|
|
771
|
-
"
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
"name": "destination",
|
|
779
|
-
"docs": ["Pubkey::Default if not being used."],
|
|
780
|
-
"type": "publicKey"
|
|
781
|
-
}
|
|
782
|
-
]
|
|
783
|
-
}
|
|
784
|
-
}
|
|
785
|
-
],
|
|
786
|
-
"types": [
|
|
787
|
-
{
|
|
788
|
-
"name": "WindowedCircuitBreakerConfigV0",
|
|
789
|
-
"type": {
|
|
790
|
-
"kind": "struct",
|
|
791
|
-
"fields": [
|
|
792
|
-
{
|
|
793
|
-
"name": "windowSizeSeconds",
|
|
794
|
-
"type": "u64"
|
|
795
|
-
},
|
|
796
|
-
{
|
|
797
|
-
"name": "thresholdType",
|
|
1674
|
+
"name": "signer_seeds",
|
|
1675
|
+
"docs": [
|
|
1676
|
+
"Additional signer seeds. Should include bump. Useful for things like initializing a mint where",
|
|
1677
|
+
"you cannot pass a keypair.",
|
|
1678
|
+
"Note that these seeds will be prefixed with \"custom\", task_queue.key",
|
|
1679
|
+
"and the bump you pass and account should be consistent with this. But to save space",
|
|
1680
|
+
"in the instruction, they should be ommitted here. See tests for examples"
|
|
1681
|
+
],
|
|
798
1682
|
"type": {
|
|
799
|
-
"
|
|
1683
|
+
"vec": {
|
|
1684
|
+
"vec": "bytes"
|
|
1685
|
+
}
|
|
800
1686
|
}
|
|
801
|
-
},
|
|
802
|
-
{
|
|
803
|
-
"name": "threshold",
|
|
804
|
-
"type": "u64"
|
|
805
1687
|
}
|
|
806
1688
|
]
|
|
807
1689
|
}
|
|
@@ -812,21 +1694,30 @@
|
|
|
812
1694
|
"kind": "struct",
|
|
813
1695
|
"fields": [
|
|
814
1696
|
{
|
|
815
|
-
"name": "
|
|
1697
|
+
"name": "data_hash",
|
|
816
1698
|
"type": {
|
|
817
|
-
"array": [
|
|
1699
|
+
"array": [
|
|
1700
|
+
"u8",
|
|
1701
|
+
32
|
|
1702
|
+
]
|
|
818
1703
|
}
|
|
819
1704
|
},
|
|
820
1705
|
{
|
|
821
|
-
"name": "
|
|
1706
|
+
"name": "creator_hash",
|
|
822
1707
|
"type": {
|
|
823
|
-
"array": [
|
|
1708
|
+
"array": [
|
|
1709
|
+
"u8",
|
|
1710
|
+
32
|
|
1711
|
+
]
|
|
824
1712
|
}
|
|
825
1713
|
},
|
|
826
1714
|
{
|
|
827
1715
|
"name": "root",
|
|
828
1716
|
"type": {
|
|
829
|
-
"array": [
|
|
1717
|
+
"array": [
|
|
1718
|
+
"u8",
|
|
1719
|
+
32
|
|
1720
|
+
]
|
|
830
1721
|
}
|
|
831
1722
|
},
|
|
832
1723
|
{
|
|
@@ -842,21 +1733,30 @@
|
|
|
842
1733
|
"kind": "struct",
|
|
843
1734
|
"fields": [
|
|
844
1735
|
{
|
|
845
|
-
"name": "
|
|
1736
|
+
"name": "data_hash",
|
|
846
1737
|
"type": {
|
|
847
|
-
"array": [
|
|
1738
|
+
"array": [
|
|
1739
|
+
"u8",
|
|
1740
|
+
32
|
|
1741
|
+
]
|
|
848
1742
|
}
|
|
849
1743
|
},
|
|
850
1744
|
{
|
|
851
|
-
"name": "
|
|
1745
|
+
"name": "creator_hash",
|
|
852
1746
|
"type": {
|
|
853
|
-
"array": [
|
|
1747
|
+
"array": [
|
|
1748
|
+
"u8",
|
|
1749
|
+
32
|
|
1750
|
+
]
|
|
854
1751
|
}
|
|
855
1752
|
},
|
|
856
1753
|
{
|
|
857
1754
|
"name": "root",
|
|
858
1755
|
"type": {
|
|
859
|
-
"array": [
|
|
1756
|
+
"array": [
|
|
1757
|
+
"u8",
|
|
1758
|
+
32
|
|
1759
|
+
]
|
|
860
1760
|
}
|
|
861
1761
|
},
|
|
862
1762
|
{
|
|
@@ -875,102 +1775,72 @@
|
|
|
875
1775
|
"name": "oracles",
|
|
876
1776
|
"type": {
|
|
877
1777
|
"vec": {
|
|
878
|
-
"defined":
|
|
1778
|
+
"defined": {
|
|
1779
|
+
"name": "OracleConfigV0"
|
|
1780
|
+
}
|
|
879
1781
|
}
|
|
880
1782
|
}
|
|
881
1783
|
},
|
|
882
1784
|
{
|
|
883
1785
|
"name": "authority",
|
|
884
|
-
"type": "
|
|
1786
|
+
"type": "pubkey"
|
|
885
1787
|
},
|
|
886
1788
|
{
|
|
887
|
-
"name": "
|
|
1789
|
+
"name": "window_config",
|
|
888
1790
|
"type": {
|
|
889
|
-
"defined":
|
|
1791
|
+
"defined": {
|
|
1792
|
+
"name": "lazy_distributor::circuit_breaker::WindowedCircuitBreakerConfigV0"
|
|
1793
|
+
}
|
|
890
1794
|
}
|
|
891
1795
|
},
|
|
892
1796
|
{
|
|
893
1797
|
"name": "approver",
|
|
894
1798
|
"type": {
|
|
895
|
-
"option": "
|
|
1799
|
+
"option": "pubkey"
|
|
896
1800
|
}
|
|
897
1801
|
}
|
|
898
1802
|
]
|
|
899
1803
|
}
|
|
900
1804
|
},
|
|
901
1805
|
{
|
|
902
|
-
"name": "
|
|
1806
|
+
"name": "LazyDistributorV0",
|
|
903
1807
|
"type": {
|
|
904
1808
|
"kind": "struct",
|
|
905
1809
|
"fields": [
|
|
906
1810
|
{
|
|
907
|
-
"name": "
|
|
1811
|
+
"name": "version",
|
|
908
1812
|
"type": "u16"
|
|
909
1813
|
},
|
|
910
1814
|
{
|
|
911
|
-
"name": "
|
|
912
|
-
"type": "
|
|
913
|
-
}
|
|
914
|
-
]
|
|
915
|
-
}
|
|
916
|
-
},
|
|
917
|
-
{
|
|
918
|
-
"name": "UpdateCompressionDestinationArgsV0",
|
|
919
|
-
"type": {
|
|
920
|
-
"kind": "struct",
|
|
921
|
-
"fields": [
|
|
922
|
-
{
|
|
923
|
-
"name": "dataHash",
|
|
924
|
-
"type": {
|
|
925
|
-
"array": ["u8", 32]
|
|
926
|
-
}
|
|
1815
|
+
"name": "rewards_mint",
|
|
1816
|
+
"type": "pubkey"
|
|
927
1817
|
},
|
|
928
1818
|
{
|
|
929
|
-
"name": "
|
|
930
|
-
"type":
|
|
931
|
-
"array": ["u8", 32]
|
|
932
|
-
}
|
|
1819
|
+
"name": "rewards_escrow",
|
|
1820
|
+
"type": "pubkey"
|
|
933
1821
|
},
|
|
934
1822
|
{
|
|
935
|
-
"name": "
|
|
936
|
-
"type":
|
|
937
|
-
"array": ["u8", 32]
|
|
938
|
-
}
|
|
1823
|
+
"name": "authority",
|
|
1824
|
+
"type": "pubkey"
|
|
939
1825
|
},
|
|
940
|
-
{
|
|
941
|
-
"name": "index",
|
|
942
|
-
"type": "u32"
|
|
943
|
-
}
|
|
944
|
-
]
|
|
945
|
-
}
|
|
946
|
-
},
|
|
947
|
-
{
|
|
948
|
-
"name": "UpdateLazyDistributorArgsV0",
|
|
949
|
-
"type": {
|
|
950
|
-
"kind": "struct",
|
|
951
|
-
"fields": [
|
|
952
1826
|
{
|
|
953
1827
|
"name": "oracles",
|
|
954
1828
|
"type": {
|
|
955
|
-
"
|
|
956
|
-
"
|
|
957
|
-
"
|
|
1829
|
+
"vec": {
|
|
1830
|
+
"defined": {
|
|
1831
|
+
"name": "OracleConfigV0"
|
|
958
1832
|
}
|
|
959
1833
|
}
|
|
960
1834
|
}
|
|
961
1835
|
},
|
|
962
1836
|
{
|
|
963
|
-
"name": "
|
|
964
|
-
"type":
|
|
965
|
-
"option": "publicKey"
|
|
966
|
-
}
|
|
1837
|
+
"name": "bump_seed",
|
|
1838
|
+
"type": "u8"
|
|
967
1839
|
},
|
|
968
1840
|
{
|
|
969
1841
|
"name": "approver",
|
|
970
1842
|
"type": {
|
|
971
|
-
"option":
|
|
972
|
-
"option": "publicKey"
|
|
973
|
-
}
|
|
1843
|
+
"option": "pubkey"
|
|
974
1844
|
}
|
|
975
1845
|
}
|
|
976
1846
|
]
|
|
@@ -983,7 +1853,7 @@
|
|
|
983
1853
|
"fields": [
|
|
984
1854
|
{
|
|
985
1855
|
"name": "oracle",
|
|
986
|
-
"type": "
|
|
1856
|
+
"type": "pubkey"
|
|
987
1857
|
},
|
|
988
1858
|
{
|
|
989
1859
|
"name": "url",
|
|
@@ -993,145 +1863,184 @@
|
|
|
993
1863
|
}
|
|
994
1864
|
},
|
|
995
1865
|
{
|
|
996
|
-
"name": "
|
|
1866
|
+
"name": "RecipientV0",
|
|
997
1867
|
"type": {
|
|
998
1868
|
"kind": "struct",
|
|
999
1869
|
"fields": [
|
|
1000
1870
|
{
|
|
1001
|
-
"name": "
|
|
1002
|
-
"type": "
|
|
1871
|
+
"name": "lazy_distributor",
|
|
1872
|
+
"type": "pubkey"
|
|
1873
|
+
},
|
|
1874
|
+
{
|
|
1875
|
+
"name": "asset",
|
|
1876
|
+
"type": "pubkey"
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"name": "total_rewards",
|
|
1880
|
+
"type": "u64"
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"name": "current_config_version",
|
|
1884
|
+
"type": "u16"
|
|
1003
1885
|
},
|
|
1004
1886
|
{
|
|
1005
|
-
"name": "
|
|
1006
|
-
"type":
|
|
1887
|
+
"name": "current_rewards",
|
|
1888
|
+
"type": {
|
|
1889
|
+
"vec": {
|
|
1890
|
+
"option": "u64"
|
|
1891
|
+
}
|
|
1892
|
+
}
|
|
1007
1893
|
},
|
|
1008
1894
|
{
|
|
1009
|
-
"name": "
|
|
1895
|
+
"name": "bump_seed",
|
|
1010
1896
|
"type": "u8"
|
|
1897
|
+
},
|
|
1898
|
+
{
|
|
1899
|
+
"name": "reserved",
|
|
1900
|
+
"type": "u64"
|
|
1901
|
+
},
|
|
1902
|
+
{
|
|
1903
|
+
"name": "destination",
|
|
1904
|
+
"docs": [
|
|
1905
|
+
"Pubkey::Default if not being used."
|
|
1906
|
+
],
|
|
1907
|
+
"type": "pubkey"
|
|
1011
1908
|
}
|
|
1012
1909
|
]
|
|
1013
1910
|
}
|
|
1014
1911
|
},
|
|
1015
1912
|
{
|
|
1016
|
-
"name": "
|
|
1913
|
+
"name": "RemoteTaskTransactionV0",
|
|
1017
1914
|
"type": {
|
|
1018
1915
|
"kind": "struct",
|
|
1019
1916
|
"fields": [
|
|
1020
1917
|
{
|
|
1021
|
-
"name": "
|
|
1918
|
+
"name": "verification_hash",
|
|
1022
1919
|
"type": {
|
|
1023
|
-
"
|
|
1920
|
+
"array": [
|
|
1921
|
+
"u8",
|
|
1922
|
+
32
|
|
1923
|
+
]
|
|
1024
1924
|
}
|
|
1025
1925
|
},
|
|
1026
1926
|
{
|
|
1027
|
-
"name": "
|
|
1028
|
-
"type":
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1927
|
+
"name": "transaction",
|
|
1928
|
+
"type": {
|
|
1929
|
+
"defined": {
|
|
1930
|
+
"name": "CompiledTransactionV0"
|
|
1931
|
+
}
|
|
1932
|
+
}
|
|
1033
1933
|
}
|
|
1034
1934
|
]
|
|
1035
1935
|
}
|
|
1036
1936
|
},
|
|
1037
1937
|
{
|
|
1038
|
-
"name": "
|
|
1938
|
+
"name": "SetCurrentRewardsArgsV0",
|
|
1039
1939
|
"type": {
|
|
1040
1940
|
"kind": "struct",
|
|
1041
1941
|
"fields": [
|
|
1042
1942
|
{
|
|
1043
|
-
"name": "
|
|
1044
|
-
"type": "
|
|
1943
|
+
"name": "oracle_index",
|
|
1944
|
+
"type": "u16"
|
|
1045
1945
|
},
|
|
1046
1946
|
{
|
|
1047
|
-
"name": "
|
|
1048
|
-
"type": "
|
|
1947
|
+
"name": "current_rewards",
|
|
1948
|
+
"type": "u64"
|
|
1049
1949
|
}
|
|
1050
1950
|
]
|
|
1051
1951
|
}
|
|
1052
1952
|
},
|
|
1053
1953
|
{
|
|
1054
|
-
"name": "
|
|
1954
|
+
"name": "SetCurrentRewardsTransactionV0",
|
|
1055
1955
|
"type": {
|
|
1056
1956
|
"kind": "struct",
|
|
1057
1957
|
"fields": [
|
|
1058
1958
|
{
|
|
1059
|
-
"name": "
|
|
1060
|
-
"
|
|
1061
|
-
"type": "string"
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
"name": "symbol",
|
|
1065
|
-
"docs": ["The symbol for the asset"],
|
|
1066
|
-
"type": "string"
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
"name": "uri",
|
|
1070
|
-
"docs": ["URI pointing to JSON representing the asset"],
|
|
1071
|
-
"type": "string"
|
|
1959
|
+
"name": "lazy_distributor",
|
|
1960
|
+
"type": "pubkey"
|
|
1072
1961
|
},
|
|
1073
1962
|
{
|
|
1074
|
-
"name": "
|
|
1075
|
-
"docs": [
|
|
1076
|
-
"Royalty basis points that goes to creators in secondary sales (0-10000)"
|
|
1077
|
-
],
|
|
1963
|
+
"name": "oracle_index",
|
|
1078
1964
|
"type": "u16"
|
|
1079
1965
|
},
|
|
1080
1966
|
{
|
|
1081
|
-
"name": "
|
|
1082
|
-
"type": "
|
|
1967
|
+
"name": "current_rewards",
|
|
1968
|
+
"type": "u64"
|
|
1083
1969
|
},
|
|
1084
1970
|
{
|
|
1085
|
-
"name": "
|
|
1086
|
-
"type": "
|
|
1087
|
-
}
|
|
1971
|
+
"name": "asset",
|
|
1972
|
+
"type": "pubkey"
|
|
1973
|
+
}
|
|
1974
|
+
]
|
|
1975
|
+
}
|
|
1976
|
+
},
|
|
1977
|
+
{
|
|
1978
|
+
"name": "UpdateCompressionDestinationArgsV0",
|
|
1979
|
+
"type": {
|
|
1980
|
+
"kind": "struct",
|
|
1981
|
+
"fields": [
|
|
1088
1982
|
{
|
|
1089
|
-
"name": "
|
|
1090
|
-
"docs": ["nonce for easy calculation of editions, if present"],
|
|
1983
|
+
"name": "data_hash",
|
|
1091
1984
|
"type": {
|
|
1092
|
-
"
|
|
1985
|
+
"array": [
|
|
1986
|
+
"u8",
|
|
1987
|
+
32
|
|
1988
|
+
]
|
|
1093
1989
|
}
|
|
1094
1990
|
},
|
|
1095
1991
|
{
|
|
1096
|
-
"name": "
|
|
1097
|
-
"docs": [
|
|
1098
|
-
"Since we cannot easily change Metadata, we add the new DataV2 fields here at the end."
|
|
1099
|
-
],
|
|
1992
|
+
"name": "creator_hash",
|
|
1100
1993
|
"type": {
|
|
1101
|
-
"
|
|
1102
|
-
"
|
|
1103
|
-
|
|
1994
|
+
"array": [
|
|
1995
|
+
"u8",
|
|
1996
|
+
32
|
|
1997
|
+
]
|
|
1104
1998
|
}
|
|
1105
1999
|
},
|
|
1106
2000
|
{
|
|
1107
|
-
"name": "
|
|
1108
|
-
"docs": ["Collection"],
|
|
2001
|
+
"name": "root",
|
|
1109
2002
|
"type": {
|
|
1110
|
-
"
|
|
1111
|
-
"
|
|
1112
|
-
|
|
2003
|
+
"array": [
|
|
2004
|
+
"u8",
|
|
2005
|
+
32
|
|
2006
|
+
]
|
|
1113
2007
|
}
|
|
1114
2008
|
},
|
|
1115
2009
|
{
|
|
1116
|
-
"name": "
|
|
1117
|
-
"
|
|
2010
|
+
"name": "index",
|
|
2011
|
+
"type": "u32"
|
|
2012
|
+
}
|
|
2013
|
+
]
|
|
2014
|
+
}
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"name": "UpdateLazyDistributorArgsV0",
|
|
2018
|
+
"type": {
|
|
2019
|
+
"kind": "struct",
|
|
2020
|
+
"fields": [
|
|
2021
|
+
{
|
|
2022
|
+
"name": "oracles",
|
|
1118
2023
|
"type": {
|
|
1119
2024
|
"option": {
|
|
1120
|
-
"
|
|
2025
|
+
"vec": {
|
|
2026
|
+
"defined": {
|
|
2027
|
+
"name": "OracleConfigV0"
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
1121
2030
|
}
|
|
1122
2031
|
}
|
|
1123
2032
|
},
|
|
1124
2033
|
{
|
|
1125
|
-
"name": "
|
|
2034
|
+
"name": "authority",
|
|
1126
2035
|
"type": {
|
|
1127
|
-
"
|
|
2036
|
+
"option": "pubkey"
|
|
1128
2037
|
}
|
|
1129
2038
|
},
|
|
1130
2039
|
{
|
|
1131
|
-
"name": "
|
|
2040
|
+
"name": "approver",
|
|
1132
2041
|
"type": {
|
|
1133
|
-
"
|
|
1134
|
-
"
|
|
2042
|
+
"option": {
|
|
2043
|
+
"option": "pubkey"
|
|
1135
2044
|
}
|
|
1136
2045
|
}
|
|
1137
2046
|
}
|
|
@@ -1139,101 +2048,96 @@
|
|
|
1139
2048
|
}
|
|
1140
2049
|
},
|
|
1141
2050
|
{
|
|
1142
|
-
"name": "
|
|
2051
|
+
"name": "WindowV0",
|
|
1143
2052
|
"type": {
|
|
1144
|
-
"kind": "
|
|
1145
|
-
"
|
|
2053
|
+
"kind": "struct",
|
|
2054
|
+
"fields": [
|
|
1146
2055
|
{
|
|
1147
|
-
"name": "
|
|
2056
|
+
"name": "last_aggregated_value",
|
|
2057
|
+
"type": "u64"
|
|
1148
2058
|
},
|
|
1149
2059
|
{
|
|
1150
|
-
"name": "
|
|
2060
|
+
"name": "last_unix_timestamp",
|
|
2061
|
+
"type": "i64"
|
|
1151
2062
|
}
|
|
1152
2063
|
]
|
|
1153
2064
|
}
|
|
1154
2065
|
},
|
|
1155
2066
|
{
|
|
1156
|
-
"name": "
|
|
2067
|
+
"name": "circuit_breaker::state::ThresholdType",
|
|
1157
2068
|
"type": {
|
|
1158
2069
|
"kind": "enum",
|
|
1159
2070
|
"variants": [
|
|
1160
2071
|
{
|
|
1161
|
-
"name": "
|
|
2072
|
+
"name": "Percent"
|
|
1162
2073
|
},
|
|
1163
2074
|
{
|
|
1164
|
-
"name": "
|
|
2075
|
+
"name": "Absolute"
|
|
1165
2076
|
}
|
|
1166
2077
|
]
|
|
1167
2078
|
}
|
|
1168
2079
|
},
|
|
1169
2080
|
{
|
|
1170
|
-
"name": "
|
|
2081
|
+
"name": "circuit_breaker::state::WindowedCircuitBreakerConfigV0",
|
|
1171
2082
|
"type": {
|
|
1172
|
-
"kind": "
|
|
1173
|
-
"
|
|
1174
|
-
{
|
|
1175
|
-
"name": "NonFungible"
|
|
1176
|
-
},
|
|
2083
|
+
"kind": "struct",
|
|
2084
|
+
"fields": [
|
|
1177
2085
|
{
|
|
1178
|
-
"name": "
|
|
2086
|
+
"name": "window_size_seconds",
|
|
2087
|
+
"type": "u64"
|
|
1179
2088
|
},
|
|
1180
2089
|
{
|
|
1181
|
-
"name": "
|
|
2090
|
+
"name": "threshold_type",
|
|
2091
|
+
"type": {
|
|
2092
|
+
"defined": {
|
|
2093
|
+
"name": "circuit_breaker::state::ThresholdType"
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
1182
2096
|
},
|
|
1183
2097
|
{
|
|
1184
|
-
"name": "
|
|
2098
|
+
"name": "threshold",
|
|
2099
|
+
"type": "u64"
|
|
1185
2100
|
}
|
|
1186
2101
|
]
|
|
1187
2102
|
}
|
|
1188
2103
|
},
|
|
1189
2104
|
{
|
|
1190
|
-
"name": "
|
|
2105
|
+
"name": "lazy_distributor::circuit_breaker::ThresholdType",
|
|
1191
2106
|
"type": {
|
|
1192
2107
|
"kind": "enum",
|
|
1193
2108
|
"variants": [
|
|
1194
2109
|
{
|
|
1195
|
-
"name": "
|
|
1196
|
-
},
|
|
1197
|
-
{
|
|
1198
|
-
"name": "Multiple"
|
|
2110
|
+
"name": "Percent"
|
|
1199
2111
|
},
|
|
1200
2112
|
{
|
|
1201
|
-
"name": "
|
|
2113
|
+
"name": "Absolute"
|
|
1202
2114
|
}
|
|
1203
2115
|
]
|
|
1204
2116
|
}
|
|
1205
|
-
}
|
|
1206
|
-
],
|
|
1207
|
-
"errors": [
|
|
1208
|
-
{
|
|
1209
|
-
"code": 6000,
|
|
1210
|
-
"name": "InvalidDataIncrease",
|
|
1211
|
-
"msg": "The realloc increase was too large"
|
|
1212
|
-
},
|
|
1213
|
-
{
|
|
1214
|
-
"code": 6001,
|
|
1215
|
-
"name": "ArithmeticError",
|
|
1216
|
-
"msg": "Error in arithmetic"
|
|
1217
|
-
},
|
|
1218
|
-
{
|
|
1219
|
-
"code": 6002,
|
|
1220
|
-
"name": "InvalidAsset",
|
|
1221
|
-
"msg": "Provided asset was invalid"
|
|
1222
|
-
},
|
|
1223
|
-
{
|
|
1224
|
-
"code": 6003,
|
|
1225
|
-
"name": "InvalidOracleIndex",
|
|
1226
|
-
"msg": "Oracle index was out of range"
|
|
1227
|
-
},
|
|
1228
|
-
{
|
|
1229
|
-
"code": 6004,
|
|
1230
|
-
"name": "InvalidApproverSignature",
|
|
1231
|
-
"msg": "Approver signature required"
|
|
1232
2117
|
},
|
|
1233
2118
|
{
|
|
1234
|
-
"
|
|
1235
|
-
"
|
|
1236
|
-
|
|
2119
|
+
"name": "lazy_distributor::circuit_breaker::WindowedCircuitBreakerConfigV0",
|
|
2120
|
+
"type": {
|
|
2121
|
+
"kind": "struct",
|
|
2122
|
+
"fields": [
|
|
2123
|
+
{
|
|
2124
|
+
"name": "window_size_seconds",
|
|
2125
|
+
"type": "u64"
|
|
2126
|
+
},
|
|
2127
|
+
{
|
|
2128
|
+
"name": "threshold_type",
|
|
2129
|
+
"type": {
|
|
2130
|
+
"defined": {
|
|
2131
|
+
"name": "lazy_distributor::circuit_breaker::ThresholdType"
|
|
2132
|
+
}
|
|
2133
|
+
}
|
|
2134
|
+
},
|
|
2135
|
+
{
|
|
2136
|
+
"name": "threshold",
|
|
2137
|
+
"type": "u64"
|
|
2138
|
+
}
|
|
2139
|
+
]
|
|
2140
|
+
}
|
|
1237
2141
|
}
|
|
1238
2142
|
]
|
|
1239
2143
|
}
|