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.
Files changed (66) hide show
  1. defi_services/__init__.py +1 -1
  2. defi_services/abis/vault/lido/__init__.py +0 -0
  3. defi_services/abis/vault/lido/event_transfer_shares.py +8 -0
  4. defi_services/abis/vault/lido/lido_1inch_steth_dai_pool.py +1308 -0
  5. defi_services/abis/vault/lido/lido_accounting_oracle.py +1342 -0
  6. defi_services/abis/vault/lido/lido_add_allowed_recipient.py +96 -0
  7. defi_services/abis/vault/lido/lido_allowed_recipents_factory.py +303 -0
  8. defi_services/abis/vault/lido/lido_allowed_recipients_builder_multi_token_tooling.py +427 -0
  9. defi_services/abis/vault/lido/lido_allowed_recipients_builder_tooling.py +414 -0
  10. defi_services/abis/vault/lido/lido_allowed_recipients_factory_multi_token.py +369 -0
  11. defi_services/abis/vault/lido/lido_allowed_recipients_registry.py +654 -0
  12. defi_services/abis/vault/lido/lido_allowed_token_registry.py +397 -0
  13. defi_services/abis/vault/lido/lido_anchor_vault.py +599 -0
  14. defi_services/abis/vault/lido/lido_aragon_acl.py +755 -0
  15. defi_services/abis/vault/lido/lido_aragon_agent.py +984 -0
  16. defi_services/abis/vault/lido/lido_aragon_finance.py +1013 -0
  17. defi_services/abis/vault/lido/lido_aragon_pm.py +490 -0
  18. defi_services/abis/vault/lido/lido_aragon_token_manager.py +759 -0
  19. defi_services/abis/vault/lido/lido_aragon_voting.py +887 -0
  20. defi_services/abis/vault/lido/lido_balancer_wseth_eth_pool.py +1441 -0
  21. defi_services/abis/vault/lido/lido_burner.py +698 -0
  22. defi_services/abis/vault/lido/lido_curated_staking_module.py +1571 -0
  23. defi_services/abis/vault/lido/lido_curve_liquidity_farming_manager.py +113 -0
  24. defi_services/abis/vault/lido/lido_curve_liquidity_farming_pool.py +899 -0
  25. defi_services/abis/vault/lido/lido_curve_liquidity_farming_reward.py +666 -0
  26. defi_services/abis/vault/lido/lido_curve_steth_eth_gauge.py +967 -0
  27. defi_services/abis/vault/lido/lido_curve_steth_eth_pool.py +986 -0
  28. defi_services/abis/vault/lido/lido_dao.py +623 -0
  29. defi_services/abis/vault/lido/lido_dao_insurance_fund.py +283 -0
  30. defi_services/abis/vault/lido/lido_dao_token.py +590 -0
  31. defi_services/abis/vault/lido/lido_deposit_security_module.py +687 -0
  32. defi_services/abis/vault/lido/lido_early_stakes_airdrop.py +120 -0
  33. defi_services/abis/vault/lido/lido_easy_track.py +1108 -0
  34. defi_services/abis/vault/lido/lido_evem_script_executor.py +170 -0
  35. defi_services/abis/vault/lido/lido_execution_layer_rewards_vaults.py +170 -0
  36. defi_services/abis/vault/lido/lido_l1_executor.py +135 -0
  37. defi_services/abis/vault/lido/lido_l1_proxy_admin.py +155 -0
  38. defi_services/abis/vault/lido/lido_legacy_oracle.py +539 -0
  39. defi_services/abis/vault/lido/lido_liquidity_farming_pool.py +899 -0
  40. defi_services/abis/vault/lido/lido_locator.py +357 -0
  41. defi_services/abis/vault/lido/lido_mev_boost_relay_allowed_list.py +331 -0
  42. defi_services/abis/vault/lido/lido_multisigs.py +1037 -0
  43. defi_services/abis/vault/lido/lido_oracle_daemon_config.py +474 -0
  44. defi_services/abis/vault/lido/lido_oracle_report_sanity_checker.py +1327 -0
  45. defi_services/abis/vault/lido/lido_remove_allowed_recipient.py +91 -0
  46. defi_services/abis/vault/lido/lido_staking_router.py +2311 -0
  47. defi_services/abis/vault/lido/lido_steth.py +1604 -0
  48. defi_services/abis/vault/lido/lido_stonks.py +744 -0
  49. defi_services/abis/vault/lido/lido_sushi_wsteth_dai_pool.py +662 -0
  50. defi_services/abis/vault/lido/lido_token_brigde.py +735 -0
  51. defi_services/abis/vault/lido/lido_token_gateway.py +808 -0
  52. defi_services/abis/vault/lido/lido_token_reward_program.py +363 -0
  53. defi_services/abis/vault/lido/lido_top_up_allowed_recipients.py +150 -0
  54. defi_services/abis/vault/lido/lido_validators_exit_bus_oracle.py +1230 -0
  55. defi_services/abis/vault/lido/lido_validators_exit_bus_oracle_hash_consensus.py +1085 -0
  56. defi_services/abis/vault/lido/lido_voting_repo.py +434 -0
  57. defi_services/abis/vault/lido/lido_withdrawal_vault.py +121 -0
  58. defi_services/abis/vault/lido/lido_withdrawl_queue.py +2031 -0
  59. defi_services/abis/vault/lido/lido_wsteth.py +481 -0
  60. defi_services/abis/vault/lido/lidor_accounting_oracle_hash_consensus.py +1085 -0
  61. defi_services/services/token_services.py +1 -1
  62. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/METADATA +4 -4
  63. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/RECORD +66 -7
  64. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/WHEEL +1 -1
  65. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/LICENSE +0 -0
  66. {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.28.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,96 @@
1
+ import json
2
+
3
+ LIDO_ADD_ALLOWED_RECIPIENT = json.loads('''
4
+ [
5
+ {
6
+ "inputs": [
7
+ {
8
+ "internalType": "address",
9
+ "name": "_trustedCaller",
10
+ "type": "address"
11
+ },
12
+ {
13
+ "internalType": "address",
14
+ "name": "_allowedRecipientsRegistry",
15
+ "type": "address"
16
+ }
17
+ ],
18
+ "stateMutability": "nonpayable",
19
+ "type": "constructor"
20
+ },
21
+ {
22
+ "inputs": [],
23
+ "name": "allowedRecipientsRegistry",
24
+ "outputs": [
25
+ {
26
+ "internalType": "contract AllowedRecipientsRegistry",
27
+ "name": "",
28
+ "type": "address"
29
+ }
30
+ ],
31
+ "stateMutability": "view",
32
+ "type": "function"
33
+ },
34
+ {
35
+ "inputs": [
36
+ {
37
+ "internalType": "address",
38
+ "name": "_creator",
39
+ "type": "address"
40
+ },
41
+ {
42
+ "internalType": "bytes",
43
+ "name": "_evmScriptCallData",
44
+ "type": "bytes"
45
+ }
46
+ ],
47
+ "name": "createEVMScript",
48
+ "outputs": [
49
+ {
50
+ "internalType": "bytes",
51
+ "name": "",
52
+ "type": "bytes"
53
+ }
54
+ ],
55
+ "stateMutability": "view",
56
+ "type": "function"
57
+ },
58
+ {
59
+ "inputs": [
60
+ {
61
+ "internalType": "bytes",
62
+ "name": "_evmScriptCallData",
63
+ "type": "bytes"
64
+ }
65
+ ],
66
+ "name": "decodeEVMScriptCallData",
67
+ "outputs": [
68
+ {
69
+ "internalType": "address",
70
+ "name": "",
71
+ "type": "address"
72
+ },
73
+ {
74
+ "internalType": "string",
75
+ "name": "",
76
+ "type": "string"
77
+ }
78
+ ],
79
+ "stateMutability": "pure",
80
+ "type": "function"
81
+ },
82
+ {
83
+ "inputs": [],
84
+ "name": "trustedCaller",
85
+ "outputs": [
86
+ {
87
+ "internalType": "address",
88
+ "name": "",
89
+ "type": "address"
90
+ }
91
+ ],
92
+ "stateMutability": "view",
93
+ "type": "function"
94
+ }
95
+ ]
96
+ ''')
@@ -0,0 +1,303 @@
1
+ import json
2
+
3
+ LIDO_ALLOWED_RECIPIENTS_FACTORY_ABI = json.loads('''
4
+ [
5
+ {
6
+ "anonymous": false,
7
+ "inputs": [
8
+ {
9
+ "indexed": true,
10
+ "internalType": "address",
11
+ "name": "creator",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "indexed": true,
16
+ "internalType": "address",
17
+ "name": "addAllowedRecipient",
18
+ "type": "address"
19
+ },
20
+ {
21
+ "indexed": false,
22
+ "internalType": "address",
23
+ "name": "trustedCaller",
24
+ "type": "address"
25
+ },
26
+ {
27
+ "indexed": false,
28
+ "internalType": "address",
29
+ "name": "allowedRecipientsRegistry",
30
+ "type": "address"
31
+ }
32
+ ],
33
+ "name": "AddAllowedRecipientDeployed",
34
+ "type": "event"
35
+ },
36
+ {
37
+ "anonymous": false,
38
+ "inputs": [
39
+ {
40
+ "indexed": true,
41
+ "internalType": "address",
42
+ "name": "creator",
43
+ "type": "address"
44
+ },
45
+ {
46
+ "indexed": true,
47
+ "internalType": "address",
48
+ "name": "allowedRecipientsRegistry",
49
+ "type": "address"
50
+ },
51
+ {
52
+ "indexed": false,
53
+ "internalType": "address",
54
+ "name": "_defaultAdmin",
55
+ "type": "address"
56
+ },
57
+ {
58
+ "indexed": false,
59
+ "internalType": "address[]",
60
+ "name": "addRecipientToAllowedListRoleHolders",
61
+ "type": "address[]"
62
+ },
63
+ {
64
+ "indexed": false,
65
+ "internalType": "address[]",
66
+ "name": "removeRecipientFromAllowedListRoleHolders",
67
+ "type": "address[]"
68
+ },
69
+ {
70
+ "indexed": false,
71
+ "internalType": "address[]",
72
+ "name": "setLimitParametersRoleHolders",
73
+ "type": "address[]"
74
+ },
75
+ {
76
+ "indexed": false,
77
+ "internalType": "address[]",
78
+ "name": "updateSpentAmountRoleHolders",
79
+ "type": "address[]"
80
+ },
81
+ {
82
+ "indexed": false,
83
+ "internalType": "contract IBokkyPooBahsDateTimeContract",
84
+ "name": "bokkyPooBahsDateTimeContract",
85
+ "type": "address"
86
+ }
87
+ ],
88
+ "name": "AllowedRecipientsRegistryDeployed",
89
+ "type": "event"
90
+ },
91
+ {
92
+ "anonymous": false,
93
+ "inputs": [
94
+ {
95
+ "indexed": true,
96
+ "internalType": "address",
97
+ "name": "creator",
98
+ "type": "address"
99
+ },
100
+ {
101
+ "indexed": true,
102
+ "internalType": "address",
103
+ "name": "removeAllowedRecipient",
104
+ "type": "address"
105
+ },
106
+ {
107
+ "indexed": false,
108
+ "internalType": "address",
109
+ "name": "trustedCaller",
110
+ "type": "address"
111
+ },
112
+ {
113
+ "indexed": false,
114
+ "internalType": "address",
115
+ "name": "allowedRecipientsRegistry",
116
+ "type": "address"
117
+ }
118
+ ],
119
+ "name": "RemoveAllowedRecipientDeployed",
120
+ "type": "event"
121
+ },
122
+ {
123
+ "anonymous": false,
124
+ "inputs": [
125
+ {
126
+ "indexed": true,
127
+ "internalType": "address",
128
+ "name": "creator",
129
+ "type": "address"
130
+ },
131
+ {
132
+ "indexed": true,
133
+ "internalType": "address",
134
+ "name": "topUpAllowedRecipients",
135
+ "type": "address"
136
+ },
137
+ {
138
+ "indexed": false,
139
+ "internalType": "address",
140
+ "name": "trustedCaller",
141
+ "type": "address"
142
+ },
143
+ {
144
+ "indexed": false,
145
+ "internalType": "address",
146
+ "name": "allowedRecipientsRegistry",
147
+ "type": "address"
148
+ },
149
+ {
150
+ "indexed": false,
151
+ "internalType": "address",
152
+ "name": "finance",
153
+ "type": "address"
154
+ },
155
+ {
156
+ "indexed": false,
157
+ "internalType": "address",
158
+ "name": "token",
159
+ "type": "address"
160
+ },
161
+ {
162
+ "indexed": false,
163
+ "internalType": "address",
164
+ "name": "easyTrack",
165
+ "type": "address"
166
+ }
167
+ ],
168
+ "name": "TopUpAllowedRecipientsDeployed",
169
+ "type": "event"
170
+ },
171
+ {
172
+ "inputs": [
173
+ {
174
+ "internalType": "address",
175
+ "name": "_trustedCaller",
176
+ "type": "address"
177
+ },
178
+ {
179
+ "internalType": "address",
180
+ "name": "_allowedRecipientsRegistry",
181
+ "type": "address"
182
+ }
183
+ ],
184
+ "name": "deployAddAllowedRecipient",
185
+ "outputs": [
186
+ {
187
+ "internalType": "contract AddAllowedRecipient",
188
+ "name": "addAllowedRecipient",
189
+ "type": "address"
190
+ }
191
+ ],
192
+ "stateMutability": "nonpayable",
193
+ "type": "function"
194
+ },
195
+ {
196
+ "inputs": [
197
+ {
198
+ "internalType": "address",
199
+ "name": "_defaultAdmin",
200
+ "type": "address"
201
+ },
202
+ {
203
+ "internalType": "address[]",
204
+ "name": "_addRecipientToAllowedListRoleHolders",
205
+ "type": "address[]"
206
+ },
207
+ {
208
+ "internalType": "address[]",
209
+ "name": "_removeRecipientFromAllowedListRoleHolders",
210
+ "type": "address[]"
211
+ },
212
+ {
213
+ "internalType": "address[]",
214
+ "name": "_setLimitParametersRoleHolders",
215
+ "type": "address[]"
216
+ },
217
+ {
218
+ "internalType": "address[]",
219
+ "name": "_updateSpentAmountRoleHolders",
220
+ "type": "address[]"
221
+ },
222
+ {
223
+ "internalType": "contract IBokkyPooBahsDateTimeContract",
224
+ "name": "_bokkyPooBahsDateTimeContract",
225
+ "type": "address"
226
+ }
227
+ ],
228
+ "name": "deployAllowedRecipientsRegistry",
229
+ "outputs": [
230
+ {
231
+ "internalType": "contract AllowedRecipientsRegistry",
232
+ "name": "registry",
233
+ "type": "address"
234
+ }
235
+ ],
236
+ "stateMutability": "nonpayable",
237
+ "type": "function"
238
+ },
239
+ {
240
+ "inputs": [
241
+ {
242
+ "internalType": "address",
243
+ "name": "_trustedCaller",
244
+ "type": "address"
245
+ },
246
+ {
247
+ "internalType": "address",
248
+ "name": "_allowedRecipientsRegistry",
249
+ "type": "address"
250
+ }
251
+ ],
252
+ "name": "deployRemoveAllowedRecipient",
253
+ "outputs": [
254
+ {
255
+ "internalType": "contract RemoveAllowedRecipient",
256
+ "name": "removeAllowedRecipient",
257
+ "type": "address"
258
+ }
259
+ ],
260
+ "stateMutability": "nonpayable",
261
+ "type": "function"
262
+ },
263
+ {
264
+ "inputs": [
265
+ {
266
+ "internalType": "address",
267
+ "name": "_trustedCaller",
268
+ "type": "address"
269
+ },
270
+ {
271
+ "internalType": "address",
272
+ "name": "_allowedRecipientsRegistry",
273
+ "type": "address"
274
+ },
275
+ {
276
+ "internalType": "address",
277
+ "name": "_token",
278
+ "type": "address"
279
+ },
280
+ {
281
+ "internalType": "address",
282
+ "name": "_finance",
283
+ "type": "address"
284
+ },
285
+ {
286
+ "internalType": "address",
287
+ "name": "_easyTrack",
288
+ "type": "address"
289
+ }
290
+ ],
291
+ "name": "deployTopUpAllowedRecipients",
292
+ "outputs": [
293
+ {
294
+ "internalType": "contract TopUpAllowedRecipients",
295
+ "name": "topUpAllowedRecipients",
296
+ "type": "address"
297
+ }
298
+ ],
299
+ "stateMutability": "nonpayable",
300
+ "type": "function"
301
+ }
302
+ ]
303
+ ''')