defi-state-querier 0.4.26__py3-none-any.whl → 0.4.28__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- defi_services/__init__.py +1 -1
- defi_services/abis/vault/lido/__init__.py +0 -0
- defi_services/abis/vault/lido/event_transfer_shares.py +8 -0
- defi_services/abis/vault/lido/lido_1inch_steth_dai_pool.py +1308 -0
- defi_services/abis/vault/lido/lido_accounting_oracle.py +1342 -0
- defi_services/abis/vault/lido/lido_add_allowed_recipient.py +96 -0
- defi_services/abis/vault/lido/lido_allowed_recipents_factory.py +303 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_builder_multi_token_tooling.py +427 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_builder_tooling.py +414 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_factory_multi_token.py +369 -0
- defi_services/abis/vault/lido/lido_allowed_recipients_registry.py +654 -0
- defi_services/abis/vault/lido/lido_allowed_token_registry.py +397 -0
- defi_services/abis/vault/lido/lido_anchor_vault.py +599 -0
- defi_services/abis/vault/lido/lido_aragon_acl.py +755 -0
- defi_services/abis/vault/lido/lido_aragon_agent.py +984 -0
- defi_services/abis/vault/lido/lido_aragon_finance.py +1013 -0
- defi_services/abis/vault/lido/lido_aragon_pm.py +490 -0
- defi_services/abis/vault/lido/lido_aragon_token_manager.py +759 -0
- defi_services/abis/vault/lido/lido_aragon_voting.py +887 -0
- defi_services/abis/vault/lido/lido_balancer_wseth_eth_pool.py +1441 -0
- defi_services/abis/vault/lido/lido_burner.py +698 -0
- defi_services/abis/vault/lido/lido_curated_staking_module.py +1571 -0
- defi_services/abis/vault/lido/lido_curve_liquidity_farming_manager.py +113 -0
- defi_services/abis/vault/lido/lido_curve_liquidity_farming_pool.py +899 -0
- defi_services/abis/vault/lido/lido_curve_liquidity_farming_reward.py +666 -0
- defi_services/abis/vault/lido/lido_curve_steth_eth_gauge.py +967 -0
- defi_services/abis/vault/lido/lido_curve_steth_eth_pool.py +986 -0
- defi_services/abis/vault/lido/lido_dao.py +623 -0
- defi_services/abis/vault/lido/lido_dao_insurance_fund.py +283 -0
- defi_services/abis/vault/lido/lido_dao_token.py +590 -0
- defi_services/abis/vault/lido/lido_deposit_security_module.py +687 -0
- defi_services/abis/vault/lido/lido_early_stakes_airdrop.py +120 -0
- defi_services/abis/vault/lido/lido_easy_track.py +1108 -0
- defi_services/abis/vault/lido/lido_evem_script_executor.py +170 -0
- defi_services/abis/vault/lido/lido_execution_layer_rewards_vaults.py +170 -0
- defi_services/abis/vault/lido/lido_l1_executor.py +135 -0
- defi_services/abis/vault/lido/lido_l1_proxy_admin.py +155 -0
- defi_services/abis/vault/lido/lido_legacy_oracle.py +539 -0
- defi_services/abis/vault/lido/lido_liquidity_farming_pool.py +899 -0
- defi_services/abis/vault/lido/lido_locator.py +357 -0
- defi_services/abis/vault/lido/lido_mev_boost_relay_allowed_list.py +331 -0
- defi_services/abis/vault/lido/lido_multisigs.py +1037 -0
- defi_services/abis/vault/lido/lido_oracle_daemon_config.py +474 -0
- defi_services/abis/vault/lido/lido_oracle_report_sanity_checker.py +1327 -0
- defi_services/abis/vault/lido/lido_remove_allowed_recipient.py +91 -0
- defi_services/abis/vault/lido/lido_staking_router.py +2311 -0
- defi_services/abis/vault/lido/lido_steth.py +1604 -0
- defi_services/abis/vault/lido/lido_stonks.py +744 -0
- defi_services/abis/vault/lido/lido_sushi_wsteth_dai_pool.py +662 -0
- defi_services/abis/vault/lido/lido_token_brigde.py +735 -0
- defi_services/abis/vault/lido/lido_token_gateway.py +808 -0
- defi_services/abis/vault/lido/lido_token_reward_program.py +363 -0
- defi_services/abis/vault/lido/lido_top_up_allowed_recipients.py +150 -0
- defi_services/abis/vault/lido/lido_validators_exit_bus_oracle.py +1230 -0
- defi_services/abis/vault/lido/lido_validators_exit_bus_oracle_hash_consensus.py +1085 -0
- defi_services/abis/vault/lido/lido_voting_repo.py +434 -0
- defi_services/abis/vault/lido/lido_withdrawal_vault.py +121 -0
- defi_services/abis/vault/lido/lido_withdrawl_queue.py +2031 -0
- defi_services/abis/vault/lido/lido_wsteth.py +481 -0
- defi_services/abis/vault/lido/lidor_accounting_oracle_hash_consensus.py +1085 -0
- defi_services/services/token_services.py +1 -1
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/METADATA +4 -4
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/RECORD +66 -7
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/WHEEL +1 -1
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/LICENSE +0 -0
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,414 @@
|
|
1
|
+
import json
|
2
|
+
|
3
|
+
LIDO_ALLOWED_RECIPIENTS_BUILDER_TOOLING_ABI = json.loads('''
|
4
|
+
[
|
5
|
+
{
|
6
|
+
"inputs": [
|
7
|
+
{
|
8
|
+
"internalType": "contract IAllowedRecipientsFactory",
|
9
|
+
"name": "_factory",
|
10
|
+
"type": "address"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"internalType": "address",
|
14
|
+
"name": "_admin",
|
15
|
+
"type": "address"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"internalType": "contract IEasyTrack",
|
19
|
+
"name": "_easytrack",
|
20
|
+
"type": "address"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"internalType": "address",
|
24
|
+
"name": "_finance",
|
25
|
+
"type": "address"
|
26
|
+
},
|
27
|
+
{
|
28
|
+
"internalType": "address",
|
29
|
+
"name": "_bokkyPooBahsDateTimeContract",
|
30
|
+
"type": "address"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"stateMutability": "nonpayable",
|
34
|
+
"type": "constructor"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"inputs": [],
|
38
|
+
"name": "ADD_RECIPIENT_TO_ALLOWED_LIST_ROLE",
|
39
|
+
"outputs": [
|
40
|
+
{
|
41
|
+
"internalType": "bytes32",
|
42
|
+
"name": "",
|
43
|
+
"type": "bytes32"
|
44
|
+
}
|
45
|
+
],
|
46
|
+
"stateMutability": "view",
|
47
|
+
"type": "function"
|
48
|
+
},
|
49
|
+
{
|
50
|
+
"inputs": [],
|
51
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
52
|
+
"outputs": [
|
53
|
+
{
|
54
|
+
"internalType": "bytes32",
|
55
|
+
"name": "",
|
56
|
+
"type": "bytes32"
|
57
|
+
}
|
58
|
+
],
|
59
|
+
"stateMutability": "view",
|
60
|
+
"type": "function"
|
61
|
+
},
|
62
|
+
{
|
63
|
+
"inputs": [],
|
64
|
+
"name": "REMOVE_RECIPIENT_FROM_ALLOWED_LIST_ROLE",
|
65
|
+
"outputs": [
|
66
|
+
{
|
67
|
+
"internalType": "bytes32",
|
68
|
+
"name": "",
|
69
|
+
"type": "bytes32"
|
70
|
+
}
|
71
|
+
],
|
72
|
+
"stateMutability": "view",
|
73
|
+
"type": "function"
|
74
|
+
},
|
75
|
+
{
|
76
|
+
"inputs": [],
|
77
|
+
"name": "SET_PARAMETERS_ROLE",
|
78
|
+
"outputs": [
|
79
|
+
{
|
80
|
+
"internalType": "bytes32",
|
81
|
+
"name": "",
|
82
|
+
"type": "bytes32"
|
83
|
+
}
|
84
|
+
],
|
85
|
+
"stateMutability": "view",
|
86
|
+
"type": "function"
|
87
|
+
},
|
88
|
+
{
|
89
|
+
"inputs": [],
|
90
|
+
"name": "UPDATE_SPENT_AMOUNT_ROLE",
|
91
|
+
"outputs": [
|
92
|
+
{
|
93
|
+
"internalType": "bytes32",
|
94
|
+
"name": "",
|
95
|
+
"type": "bytes32"
|
96
|
+
}
|
97
|
+
],
|
98
|
+
"stateMutability": "view",
|
99
|
+
"type": "function"
|
100
|
+
},
|
101
|
+
{
|
102
|
+
"inputs": [],
|
103
|
+
"name": "admin",
|
104
|
+
"outputs": [
|
105
|
+
{
|
106
|
+
"internalType": "address",
|
107
|
+
"name": "",
|
108
|
+
"type": "address"
|
109
|
+
}
|
110
|
+
],
|
111
|
+
"stateMutability": "view",
|
112
|
+
"type": "function"
|
113
|
+
},
|
114
|
+
{
|
115
|
+
"inputs": [],
|
116
|
+
"name": "bokkyPooBahsDateTimeContract",
|
117
|
+
"outputs": [
|
118
|
+
{
|
119
|
+
"internalType": "address",
|
120
|
+
"name": "",
|
121
|
+
"type": "address"
|
122
|
+
}
|
123
|
+
],
|
124
|
+
"stateMutability": "view",
|
125
|
+
"type": "function"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"inputs": [
|
129
|
+
{
|
130
|
+
"internalType": "address",
|
131
|
+
"name": "_trustedCaller",
|
132
|
+
"type": "address"
|
133
|
+
},
|
134
|
+
{
|
135
|
+
"internalType": "address",
|
136
|
+
"name": "_allowedRecipientsRegistry",
|
137
|
+
"type": "address"
|
138
|
+
}
|
139
|
+
],
|
140
|
+
"name": "deployAddAllowedRecipient",
|
141
|
+
"outputs": [
|
142
|
+
{
|
143
|
+
"internalType": "contract IAddAllowedRecipient",
|
144
|
+
"name": "addAllowedRecipient",
|
145
|
+
"type": "address"
|
146
|
+
}
|
147
|
+
],
|
148
|
+
"stateMutability": "nonpayable",
|
149
|
+
"type": "function"
|
150
|
+
},
|
151
|
+
{
|
152
|
+
"inputs": [
|
153
|
+
{
|
154
|
+
"internalType": "uint256",
|
155
|
+
"name": "_limit",
|
156
|
+
"type": "uint256"
|
157
|
+
},
|
158
|
+
{
|
159
|
+
"internalType": "uint256",
|
160
|
+
"name": "_periodDurationMonths",
|
161
|
+
"type": "uint256"
|
162
|
+
},
|
163
|
+
{
|
164
|
+
"internalType": "address[]",
|
165
|
+
"name": "_recipients",
|
166
|
+
"type": "address[]"
|
167
|
+
},
|
168
|
+
{
|
169
|
+
"internalType": "string[]",
|
170
|
+
"name": "_titles",
|
171
|
+
"type": "string[]"
|
172
|
+
},
|
173
|
+
{
|
174
|
+
"internalType": "uint256",
|
175
|
+
"name": "_spentAmount",
|
176
|
+
"type": "uint256"
|
177
|
+
},
|
178
|
+
{
|
179
|
+
"internalType": "bool",
|
180
|
+
"name": "_grantRightsToEVMScriptExecutor",
|
181
|
+
"type": "bool"
|
182
|
+
}
|
183
|
+
],
|
184
|
+
"name": "deployAllowedRecipientsRegistry",
|
185
|
+
"outputs": [
|
186
|
+
{
|
187
|
+
"internalType": "contract IAllowedRecipientsRegistry",
|
188
|
+
"name": "registry",
|
189
|
+
"type": "address"
|
190
|
+
}
|
191
|
+
],
|
192
|
+
"stateMutability": "nonpayable",
|
193
|
+
"type": "function"
|
194
|
+
},
|
195
|
+
{
|
196
|
+
"inputs": [
|
197
|
+
{
|
198
|
+
"internalType": "address",
|
199
|
+
"name": "_trustedCaller",
|
200
|
+
"type": "address"
|
201
|
+
},
|
202
|
+
{
|
203
|
+
"internalType": "address",
|
204
|
+
"name": "_token",
|
205
|
+
"type": "address"
|
206
|
+
},
|
207
|
+
{
|
208
|
+
"internalType": "uint256",
|
209
|
+
"name": "_limit",
|
210
|
+
"type": "uint256"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"internalType": "uint256",
|
214
|
+
"name": "_periodDurationMonths",
|
215
|
+
"type": "uint256"
|
216
|
+
},
|
217
|
+
{
|
218
|
+
"internalType": "address[]",
|
219
|
+
"name": "_recipients",
|
220
|
+
"type": "address[]"
|
221
|
+
},
|
222
|
+
{
|
223
|
+
"internalType": "string[]",
|
224
|
+
"name": "_titles",
|
225
|
+
"type": "string[]"
|
226
|
+
},
|
227
|
+
{
|
228
|
+
"internalType": "uint256",
|
229
|
+
"name": "_spentAmount",
|
230
|
+
"type": "uint256"
|
231
|
+
}
|
232
|
+
],
|
233
|
+
"name": "deployFullSetup",
|
234
|
+
"outputs": [
|
235
|
+
{
|
236
|
+
"internalType": "contract IAllowedRecipientsRegistry",
|
237
|
+
"name": "allowedRecipientsRegistry",
|
238
|
+
"type": "address"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"internalType": "contract ITopUpAllowedRecipients",
|
242
|
+
"name": "topUpAllowedRecipients",
|
243
|
+
"type": "address"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"internalType": "contract IAddAllowedRecipient",
|
247
|
+
"name": "addAllowedRecipient",
|
248
|
+
"type": "address"
|
249
|
+
},
|
250
|
+
{
|
251
|
+
"internalType": "contract IRemoveAllowedRecipient",
|
252
|
+
"name": "removeAllowedRecipient",
|
253
|
+
"type": "address"
|
254
|
+
}
|
255
|
+
],
|
256
|
+
"stateMutability": "nonpayable",
|
257
|
+
"type": "function"
|
258
|
+
},
|
259
|
+
{
|
260
|
+
"inputs": [
|
261
|
+
{
|
262
|
+
"internalType": "address",
|
263
|
+
"name": "_trustedCaller",
|
264
|
+
"type": "address"
|
265
|
+
},
|
266
|
+
{
|
267
|
+
"internalType": "address",
|
268
|
+
"name": "_allowedRecipientsRegistry",
|
269
|
+
"type": "address"
|
270
|
+
}
|
271
|
+
],
|
272
|
+
"name": "deployRemoveAllowedRecipient",
|
273
|
+
"outputs": [
|
274
|
+
{
|
275
|
+
"internalType": "contract IRemoveAllowedRecipient",
|
276
|
+
"name": "removeAllowedRecipient",
|
277
|
+
"type": "address"
|
278
|
+
}
|
279
|
+
],
|
280
|
+
"stateMutability": "nonpayable",
|
281
|
+
"type": "function"
|
282
|
+
},
|
283
|
+
{
|
284
|
+
"inputs": [
|
285
|
+
{
|
286
|
+
"internalType": "address",
|
287
|
+
"name": "_recipient",
|
288
|
+
"type": "address"
|
289
|
+
},
|
290
|
+
{
|
291
|
+
"internalType": "string",
|
292
|
+
"name": "_title",
|
293
|
+
"type": "string"
|
294
|
+
},
|
295
|
+
{
|
296
|
+
"internalType": "address",
|
297
|
+
"name": "_token",
|
298
|
+
"type": "address"
|
299
|
+
},
|
300
|
+
{
|
301
|
+
"internalType": "uint256",
|
302
|
+
"name": "_limit",
|
303
|
+
"type": "uint256"
|
304
|
+
},
|
305
|
+
{
|
306
|
+
"internalType": "uint256",
|
307
|
+
"name": "_periodDurationMonths",
|
308
|
+
"type": "uint256"
|
309
|
+
},
|
310
|
+
{
|
311
|
+
"internalType": "uint256",
|
312
|
+
"name": "_spentAmount",
|
313
|
+
"type": "uint256"
|
314
|
+
}
|
315
|
+
],
|
316
|
+
"name": "deploySingleRecipientTopUpOnlySetup",
|
317
|
+
"outputs": [
|
318
|
+
{
|
319
|
+
"internalType": "contract IAllowedRecipientsRegistry",
|
320
|
+
"name": "allowedRecipientsRegistry",
|
321
|
+
"type": "address"
|
322
|
+
},
|
323
|
+
{
|
324
|
+
"internalType": "contract ITopUpAllowedRecipients",
|
325
|
+
"name": "topUpAllowedRecipients",
|
326
|
+
"type": "address"
|
327
|
+
}
|
328
|
+
],
|
329
|
+
"stateMutability": "nonpayable",
|
330
|
+
"type": "function"
|
331
|
+
},
|
332
|
+
{
|
333
|
+
"inputs": [
|
334
|
+
{
|
335
|
+
"internalType": "address",
|
336
|
+
"name": "_trustedCaller",
|
337
|
+
"type": "address"
|
338
|
+
},
|
339
|
+
{
|
340
|
+
"internalType": "address",
|
341
|
+
"name": "_allowedRecipientsRegistry",
|
342
|
+
"type": "address"
|
343
|
+
},
|
344
|
+
{
|
345
|
+
"internalType": "address",
|
346
|
+
"name": "_token",
|
347
|
+
"type": "address"
|
348
|
+
}
|
349
|
+
],
|
350
|
+
"name": "deployTopUpAllowedRecipients",
|
351
|
+
"outputs": [
|
352
|
+
{
|
353
|
+
"internalType": "contract ITopUpAllowedRecipients",
|
354
|
+
"name": "topUpAllowedRecipients",
|
355
|
+
"type": "address"
|
356
|
+
}
|
357
|
+
],
|
358
|
+
"stateMutability": "nonpayable",
|
359
|
+
"type": "function"
|
360
|
+
},
|
361
|
+
{
|
362
|
+
"inputs": [],
|
363
|
+
"name": "easyTrack",
|
364
|
+
"outputs": [
|
365
|
+
{
|
366
|
+
"internalType": "contract IEasyTrack",
|
367
|
+
"name": "",
|
368
|
+
"type": "address"
|
369
|
+
}
|
370
|
+
],
|
371
|
+
"stateMutability": "view",
|
372
|
+
"type": "function"
|
373
|
+
},
|
374
|
+
{
|
375
|
+
"inputs": [],
|
376
|
+
"name": "evmScriptExecutor",
|
377
|
+
"outputs": [
|
378
|
+
{
|
379
|
+
"internalType": "address",
|
380
|
+
"name": "",
|
381
|
+
"type": "address"
|
382
|
+
}
|
383
|
+
],
|
384
|
+
"stateMutability": "view",
|
385
|
+
"type": "function"
|
386
|
+
},
|
387
|
+
{
|
388
|
+
"inputs": [],
|
389
|
+
"name": "factory",
|
390
|
+
"outputs": [
|
391
|
+
{
|
392
|
+
"internalType": "contract IAllowedRecipientsFactory",
|
393
|
+
"name": "",
|
394
|
+
"type": "address"
|
395
|
+
}
|
396
|
+
],
|
397
|
+
"stateMutability": "view",
|
398
|
+
"type": "function"
|
399
|
+
},
|
400
|
+
{
|
401
|
+
"inputs": [],
|
402
|
+
"name": "finance",
|
403
|
+
"outputs": [
|
404
|
+
{
|
405
|
+
"internalType": "address",
|
406
|
+
"name": "",
|
407
|
+
"type": "address"
|
408
|
+
}
|
409
|
+
],
|
410
|
+
"stateMutability": "view",
|
411
|
+
"type": "function"
|
412
|
+
}
|
413
|
+
]
|
414
|
+
''')
|