defi-state-querier 0.4.26__py3-none-any.whl → 0.4.27__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.27.dist-info}/METADATA +1 -1
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/RECORD +66 -7
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/WHEEL +1 -1
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/LICENSE +0 -0
- {defi_state_querier-0.4.26.dist-info → defi_state_querier-0.4.27.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,1037 @@
|
|
1
|
+
import json
|
2
|
+
|
3
|
+
LIDO_MULTISIGS_ABI = json.loads('''
|
4
|
+
[
|
5
|
+
{
|
6
|
+
"inputs": [],
|
7
|
+
"stateMutability": "nonpayable",
|
8
|
+
"type": "constructor"
|
9
|
+
},
|
10
|
+
{
|
11
|
+
"anonymous": false,
|
12
|
+
"inputs": [
|
13
|
+
{
|
14
|
+
"indexed": false,
|
15
|
+
"internalType": "address",
|
16
|
+
"name": "owner",
|
17
|
+
"type": "address"
|
18
|
+
}
|
19
|
+
],
|
20
|
+
"name": "AddedOwner",
|
21
|
+
"type": "event"
|
22
|
+
},
|
23
|
+
{
|
24
|
+
"anonymous": false,
|
25
|
+
"inputs": [
|
26
|
+
{
|
27
|
+
"indexed": true,
|
28
|
+
"internalType": "bytes32",
|
29
|
+
"name": "approvedHash",
|
30
|
+
"type": "bytes32"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"indexed": true,
|
34
|
+
"internalType": "address",
|
35
|
+
"name": "owner",
|
36
|
+
"type": "address"
|
37
|
+
}
|
38
|
+
],
|
39
|
+
"name": "ApproveHash",
|
40
|
+
"type": "event"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"anonymous": false,
|
44
|
+
"inputs": [
|
45
|
+
{
|
46
|
+
"indexed": false,
|
47
|
+
"internalType": "address",
|
48
|
+
"name": "handler",
|
49
|
+
"type": "address"
|
50
|
+
}
|
51
|
+
],
|
52
|
+
"name": "ChangedFallbackHandler",
|
53
|
+
"type": "event"
|
54
|
+
},
|
55
|
+
{
|
56
|
+
"anonymous": false,
|
57
|
+
"inputs": [
|
58
|
+
{
|
59
|
+
"indexed": false,
|
60
|
+
"internalType": "address",
|
61
|
+
"name": "guard",
|
62
|
+
"type": "address"
|
63
|
+
}
|
64
|
+
],
|
65
|
+
"name": "ChangedGuard",
|
66
|
+
"type": "event"
|
67
|
+
},
|
68
|
+
{
|
69
|
+
"anonymous": false,
|
70
|
+
"inputs": [
|
71
|
+
{
|
72
|
+
"indexed": false,
|
73
|
+
"internalType": "uint256",
|
74
|
+
"name": "threshold",
|
75
|
+
"type": "uint256"
|
76
|
+
}
|
77
|
+
],
|
78
|
+
"name": "ChangedThreshold",
|
79
|
+
"type": "event"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"anonymous": false,
|
83
|
+
"inputs": [
|
84
|
+
{
|
85
|
+
"indexed": false,
|
86
|
+
"internalType": "address",
|
87
|
+
"name": "module",
|
88
|
+
"type": "address"
|
89
|
+
}
|
90
|
+
],
|
91
|
+
"name": "DisabledModule",
|
92
|
+
"type": "event"
|
93
|
+
},
|
94
|
+
{
|
95
|
+
"anonymous": false,
|
96
|
+
"inputs": [
|
97
|
+
{
|
98
|
+
"indexed": false,
|
99
|
+
"internalType": "address",
|
100
|
+
"name": "module",
|
101
|
+
"type": "address"
|
102
|
+
}
|
103
|
+
],
|
104
|
+
"name": "EnabledModule",
|
105
|
+
"type": "event"
|
106
|
+
},
|
107
|
+
{
|
108
|
+
"anonymous": false,
|
109
|
+
"inputs": [
|
110
|
+
{
|
111
|
+
"indexed": false,
|
112
|
+
"internalType": "bytes32",
|
113
|
+
"name": "txHash",
|
114
|
+
"type": "bytes32"
|
115
|
+
},
|
116
|
+
{
|
117
|
+
"indexed": false,
|
118
|
+
"internalType": "uint256",
|
119
|
+
"name": "payment",
|
120
|
+
"type": "uint256"
|
121
|
+
}
|
122
|
+
],
|
123
|
+
"name": "ExecutionFailure",
|
124
|
+
"type": "event"
|
125
|
+
},
|
126
|
+
{
|
127
|
+
"anonymous": false,
|
128
|
+
"inputs": [
|
129
|
+
{
|
130
|
+
"indexed": true,
|
131
|
+
"internalType": "address",
|
132
|
+
"name": "module",
|
133
|
+
"type": "address"
|
134
|
+
}
|
135
|
+
],
|
136
|
+
"name": "ExecutionFromModuleFailure",
|
137
|
+
"type": "event"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"anonymous": false,
|
141
|
+
"inputs": [
|
142
|
+
{
|
143
|
+
"indexed": true,
|
144
|
+
"internalType": "address",
|
145
|
+
"name": "module",
|
146
|
+
"type": "address"
|
147
|
+
}
|
148
|
+
],
|
149
|
+
"name": "ExecutionFromModuleSuccess",
|
150
|
+
"type": "event"
|
151
|
+
},
|
152
|
+
{
|
153
|
+
"anonymous": false,
|
154
|
+
"inputs": [
|
155
|
+
{
|
156
|
+
"indexed": false,
|
157
|
+
"internalType": "bytes32",
|
158
|
+
"name": "txHash",
|
159
|
+
"type": "bytes32"
|
160
|
+
},
|
161
|
+
{
|
162
|
+
"indexed": false,
|
163
|
+
"internalType": "uint256",
|
164
|
+
"name": "payment",
|
165
|
+
"type": "uint256"
|
166
|
+
}
|
167
|
+
],
|
168
|
+
"name": "ExecutionSuccess",
|
169
|
+
"type": "event"
|
170
|
+
},
|
171
|
+
{
|
172
|
+
"anonymous": false,
|
173
|
+
"inputs": [
|
174
|
+
{
|
175
|
+
"indexed": false,
|
176
|
+
"internalType": "address",
|
177
|
+
"name": "owner",
|
178
|
+
"type": "address"
|
179
|
+
}
|
180
|
+
],
|
181
|
+
"name": "RemovedOwner",
|
182
|
+
"type": "event"
|
183
|
+
},
|
184
|
+
{
|
185
|
+
"anonymous": false,
|
186
|
+
"inputs": [
|
187
|
+
{
|
188
|
+
"indexed": true,
|
189
|
+
"internalType": "address",
|
190
|
+
"name": "sender",
|
191
|
+
"type": "address"
|
192
|
+
},
|
193
|
+
{
|
194
|
+
"indexed": false,
|
195
|
+
"internalType": "uint256",
|
196
|
+
"name": "value",
|
197
|
+
"type": "uint256"
|
198
|
+
}
|
199
|
+
],
|
200
|
+
"name": "SafeReceived",
|
201
|
+
"type": "event"
|
202
|
+
},
|
203
|
+
{
|
204
|
+
"anonymous": false,
|
205
|
+
"inputs": [
|
206
|
+
{
|
207
|
+
"indexed": true,
|
208
|
+
"internalType": "address",
|
209
|
+
"name": "initiator",
|
210
|
+
"type": "address"
|
211
|
+
},
|
212
|
+
{
|
213
|
+
"indexed": false,
|
214
|
+
"internalType": "address[]",
|
215
|
+
"name": "owners",
|
216
|
+
"type": "address[]"
|
217
|
+
},
|
218
|
+
{
|
219
|
+
"indexed": false,
|
220
|
+
"internalType": "uint256",
|
221
|
+
"name": "threshold",
|
222
|
+
"type": "uint256"
|
223
|
+
},
|
224
|
+
{
|
225
|
+
"indexed": false,
|
226
|
+
"internalType": "address",
|
227
|
+
"name": "initializer",
|
228
|
+
"type": "address"
|
229
|
+
},
|
230
|
+
{
|
231
|
+
"indexed": false,
|
232
|
+
"internalType": "address",
|
233
|
+
"name": "fallbackHandler",
|
234
|
+
"type": "address"
|
235
|
+
}
|
236
|
+
],
|
237
|
+
"name": "SafeSetup",
|
238
|
+
"type": "event"
|
239
|
+
},
|
240
|
+
{
|
241
|
+
"anonymous": false,
|
242
|
+
"inputs": [
|
243
|
+
{
|
244
|
+
"indexed": true,
|
245
|
+
"internalType": "bytes32",
|
246
|
+
"name": "msgHash",
|
247
|
+
"type": "bytes32"
|
248
|
+
}
|
249
|
+
],
|
250
|
+
"name": "SignMsg",
|
251
|
+
"type": "event"
|
252
|
+
},
|
253
|
+
{
|
254
|
+
"stateMutability": "nonpayable",
|
255
|
+
"type": "fallback"
|
256
|
+
},
|
257
|
+
{
|
258
|
+
"inputs": [],
|
259
|
+
"name": "VERSION",
|
260
|
+
"outputs": [
|
261
|
+
{
|
262
|
+
"internalType": "string",
|
263
|
+
"name": "",
|
264
|
+
"type": "string"
|
265
|
+
}
|
266
|
+
],
|
267
|
+
"stateMutability": "view",
|
268
|
+
"type": "function"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"inputs": [
|
272
|
+
{
|
273
|
+
"internalType": "address",
|
274
|
+
"name": "owner",
|
275
|
+
"type": "address"
|
276
|
+
},
|
277
|
+
{
|
278
|
+
"internalType": "uint256",
|
279
|
+
"name": "_threshold",
|
280
|
+
"type": "uint256"
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"name": "addOwnerWithThreshold",
|
284
|
+
"outputs": [],
|
285
|
+
"stateMutability": "nonpayable",
|
286
|
+
"type": "function"
|
287
|
+
},
|
288
|
+
{
|
289
|
+
"inputs": [
|
290
|
+
{
|
291
|
+
"internalType": "bytes32",
|
292
|
+
"name": "hashToApprove",
|
293
|
+
"type": "bytes32"
|
294
|
+
}
|
295
|
+
],
|
296
|
+
"name": "approveHash",
|
297
|
+
"outputs": [],
|
298
|
+
"stateMutability": "nonpayable",
|
299
|
+
"type": "function"
|
300
|
+
},
|
301
|
+
{
|
302
|
+
"inputs": [
|
303
|
+
{
|
304
|
+
"internalType": "address",
|
305
|
+
"name": "",
|
306
|
+
"type": "address"
|
307
|
+
},
|
308
|
+
{
|
309
|
+
"internalType": "bytes32",
|
310
|
+
"name": "",
|
311
|
+
"type": "bytes32"
|
312
|
+
}
|
313
|
+
],
|
314
|
+
"name": "approvedHashes",
|
315
|
+
"outputs": [
|
316
|
+
{
|
317
|
+
"internalType": "uint256",
|
318
|
+
"name": "",
|
319
|
+
"type": "uint256"
|
320
|
+
}
|
321
|
+
],
|
322
|
+
"stateMutability": "view",
|
323
|
+
"type": "function"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"inputs": [
|
327
|
+
{
|
328
|
+
"internalType": "uint256",
|
329
|
+
"name": "_threshold",
|
330
|
+
"type": "uint256"
|
331
|
+
}
|
332
|
+
],
|
333
|
+
"name": "changeThreshold",
|
334
|
+
"outputs": [],
|
335
|
+
"stateMutability": "nonpayable",
|
336
|
+
"type": "function"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"inputs": [
|
340
|
+
{
|
341
|
+
"internalType": "bytes32",
|
342
|
+
"name": "dataHash",
|
343
|
+
"type": "bytes32"
|
344
|
+
},
|
345
|
+
{
|
346
|
+
"internalType": "bytes",
|
347
|
+
"name": "data",
|
348
|
+
"type": "bytes"
|
349
|
+
},
|
350
|
+
{
|
351
|
+
"internalType": "bytes",
|
352
|
+
"name": "signatures",
|
353
|
+
"type": "bytes"
|
354
|
+
},
|
355
|
+
{
|
356
|
+
"internalType": "uint256",
|
357
|
+
"name": "requiredSignatures",
|
358
|
+
"type": "uint256"
|
359
|
+
}
|
360
|
+
],
|
361
|
+
"name": "checkNSignatures",
|
362
|
+
"outputs": [],
|
363
|
+
"stateMutability": "view",
|
364
|
+
"type": "function"
|
365
|
+
},
|
366
|
+
{
|
367
|
+
"inputs": [
|
368
|
+
{
|
369
|
+
"internalType": "bytes32",
|
370
|
+
"name": "dataHash",
|
371
|
+
"type": "bytes32"
|
372
|
+
},
|
373
|
+
{
|
374
|
+
"internalType": "bytes",
|
375
|
+
"name": "data",
|
376
|
+
"type": "bytes"
|
377
|
+
},
|
378
|
+
{
|
379
|
+
"internalType": "bytes",
|
380
|
+
"name": "signatures",
|
381
|
+
"type": "bytes"
|
382
|
+
}
|
383
|
+
],
|
384
|
+
"name": "checkSignatures",
|
385
|
+
"outputs": [],
|
386
|
+
"stateMutability": "view",
|
387
|
+
"type": "function"
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"inputs": [
|
391
|
+
{
|
392
|
+
"internalType": "address",
|
393
|
+
"name": "prevModule",
|
394
|
+
"type": "address"
|
395
|
+
},
|
396
|
+
{
|
397
|
+
"internalType": "address",
|
398
|
+
"name": "module",
|
399
|
+
"type": "address"
|
400
|
+
}
|
401
|
+
],
|
402
|
+
"name": "disableModule",
|
403
|
+
"outputs": [],
|
404
|
+
"stateMutability": "nonpayable",
|
405
|
+
"type": "function"
|
406
|
+
},
|
407
|
+
{
|
408
|
+
"inputs": [],
|
409
|
+
"name": "domainSeparator",
|
410
|
+
"outputs": [
|
411
|
+
{
|
412
|
+
"internalType": "bytes32",
|
413
|
+
"name": "",
|
414
|
+
"type": "bytes32"
|
415
|
+
}
|
416
|
+
],
|
417
|
+
"stateMutability": "view",
|
418
|
+
"type": "function"
|
419
|
+
},
|
420
|
+
{
|
421
|
+
"inputs": [
|
422
|
+
{
|
423
|
+
"internalType": "address",
|
424
|
+
"name": "module",
|
425
|
+
"type": "address"
|
426
|
+
}
|
427
|
+
],
|
428
|
+
"name": "enableModule",
|
429
|
+
"outputs": [],
|
430
|
+
"stateMutability": "nonpayable",
|
431
|
+
"type": "function"
|
432
|
+
},
|
433
|
+
{
|
434
|
+
"inputs": [
|
435
|
+
{
|
436
|
+
"internalType": "address",
|
437
|
+
"name": "to",
|
438
|
+
"type": "address"
|
439
|
+
},
|
440
|
+
{
|
441
|
+
"internalType": "uint256",
|
442
|
+
"name": "value",
|
443
|
+
"type": "uint256"
|
444
|
+
},
|
445
|
+
{
|
446
|
+
"internalType": "bytes",
|
447
|
+
"name": "data",
|
448
|
+
"type": "bytes"
|
449
|
+
},
|
450
|
+
{
|
451
|
+
"internalType": "enum Enum.Operation",
|
452
|
+
"name": "operation",
|
453
|
+
"type": "uint8"
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"internalType": "uint256",
|
457
|
+
"name": "safeTxGas",
|
458
|
+
"type": "uint256"
|
459
|
+
},
|
460
|
+
{
|
461
|
+
"internalType": "uint256",
|
462
|
+
"name": "baseGas",
|
463
|
+
"type": "uint256"
|
464
|
+
},
|
465
|
+
{
|
466
|
+
"internalType": "uint256",
|
467
|
+
"name": "gasPrice",
|
468
|
+
"type": "uint256"
|
469
|
+
},
|
470
|
+
{
|
471
|
+
"internalType": "address",
|
472
|
+
"name": "gasToken",
|
473
|
+
"type": "address"
|
474
|
+
},
|
475
|
+
{
|
476
|
+
"internalType": "address",
|
477
|
+
"name": "refundReceiver",
|
478
|
+
"type": "address"
|
479
|
+
},
|
480
|
+
{
|
481
|
+
"internalType": "uint256",
|
482
|
+
"name": "_nonce",
|
483
|
+
"type": "uint256"
|
484
|
+
}
|
485
|
+
],
|
486
|
+
"name": "encodeTransactionData",
|
487
|
+
"outputs": [
|
488
|
+
{
|
489
|
+
"internalType": "bytes",
|
490
|
+
"name": "",
|
491
|
+
"type": "bytes"
|
492
|
+
}
|
493
|
+
],
|
494
|
+
"stateMutability": "view",
|
495
|
+
"type": "function"
|
496
|
+
},
|
497
|
+
{
|
498
|
+
"inputs": [
|
499
|
+
{
|
500
|
+
"internalType": "address",
|
501
|
+
"name": "to",
|
502
|
+
"type": "address"
|
503
|
+
},
|
504
|
+
{
|
505
|
+
"internalType": "uint256",
|
506
|
+
"name": "value",
|
507
|
+
"type": "uint256"
|
508
|
+
},
|
509
|
+
{
|
510
|
+
"internalType": "bytes",
|
511
|
+
"name": "data",
|
512
|
+
"type": "bytes"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"internalType": "enum Enum.Operation",
|
516
|
+
"name": "operation",
|
517
|
+
"type": "uint8"
|
518
|
+
},
|
519
|
+
{
|
520
|
+
"internalType": "uint256",
|
521
|
+
"name": "safeTxGas",
|
522
|
+
"type": "uint256"
|
523
|
+
},
|
524
|
+
{
|
525
|
+
"internalType": "uint256",
|
526
|
+
"name": "baseGas",
|
527
|
+
"type": "uint256"
|
528
|
+
},
|
529
|
+
{
|
530
|
+
"internalType": "uint256",
|
531
|
+
"name": "gasPrice",
|
532
|
+
"type": "uint256"
|
533
|
+
},
|
534
|
+
{
|
535
|
+
"internalType": "address",
|
536
|
+
"name": "gasToken",
|
537
|
+
"type": "address"
|
538
|
+
},
|
539
|
+
{
|
540
|
+
"internalType": "address payable",
|
541
|
+
"name": "refundReceiver",
|
542
|
+
"type": "address"
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"internalType": "bytes",
|
546
|
+
"name": "signatures",
|
547
|
+
"type": "bytes"
|
548
|
+
}
|
549
|
+
],
|
550
|
+
"name": "execTransaction",
|
551
|
+
"outputs": [
|
552
|
+
{
|
553
|
+
"internalType": "bool",
|
554
|
+
"name": "success",
|
555
|
+
"type": "bool"
|
556
|
+
}
|
557
|
+
],
|
558
|
+
"stateMutability": "payable",
|
559
|
+
"type": "function"
|
560
|
+
},
|
561
|
+
{
|
562
|
+
"inputs": [
|
563
|
+
{
|
564
|
+
"internalType": "address",
|
565
|
+
"name": "to",
|
566
|
+
"type": "address"
|
567
|
+
},
|
568
|
+
{
|
569
|
+
"internalType": "uint256",
|
570
|
+
"name": "value",
|
571
|
+
"type": "uint256"
|
572
|
+
},
|
573
|
+
{
|
574
|
+
"internalType": "bytes",
|
575
|
+
"name": "data",
|
576
|
+
"type": "bytes"
|
577
|
+
},
|
578
|
+
{
|
579
|
+
"internalType": "enum Enum.Operation",
|
580
|
+
"name": "operation",
|
581
|
+
"type": "uint8"
|
582
|
+
}
|
583
|
+
],
|
584
|
+
"name": "execTransactionFromModule",
|
585
|
+
"outputs": [
|
586
|
+
{
|
587
|
+
"internalType": "bool",
|
588
|
+
"name": "success",
|
589
|
+
"type": "bool"
|
590
|
+
}
|
591
|
+
],
|
592
|
+
"stateMutability": "nonpayable",
|
593
|
+
"type": "function"
|
594
|
+
},
|
595
|
+
{
|
596
|
+
"inputs": [
|
597
|
+
{
|
598
|
+
"internalType": "address",
|
599
|
+
"name": "to",
|
600
|
+
"type": "address"
|
601
|
+
},
|
602
|
+
{
|
603
|
+
"internalType": "uint256",
|
604
|
+
"name": "value",
|
605
|
+
"type": "uint256"
|
606
|
+
},
|
607
|
+
{
|
608
|
+
"internalType": "bytes",
|
609
|
+
"name": "data",
|
610
|
+
"type": "bytes"
|
611
|
+
},
|
612
|
+
{
|
613
|
+
"internalType": "enum Enum.Operation",
|
614
|
+
"name": "operation",
|
615
|
+
"type": "uint8"
|
616
|
+
}
|
617
|
+
],
|
618
|
+
"name": "execTransactionFromModuleReturnData",
|
619
|
+
"outputs": [
|
620
|
+
{
|
621
|
+
"internalType": "bool",
|
622
|
+
"name": "success",
|
623
|
+
"type": "bool"
|
624
|
+
},
|
625
|
+
{
|
626
|
+
"internalType": "bytes",
|
627
|
+
"name": "returnData",
|
628
|
+
"type": "bytes"
|
629
|
+
}
|
630
|
+
],
|
631
|
+
"stateMutability": "nonpayable",
|
632
|
+
"type": "function"
|
633
|
+
},
|
634
|
+
{
|
635
|
+
"inputs": [],
|
636
|
+
"name": "getChainId",
|
637
|
+
"outputs": [
|
638
|
+
{
|
639
|
+
"internalType": "uint256",
|
640
|
+
"name": "",
|
641
|
+
"type": "uint256"
|
642
|
+
}
|
643
|
+
],
|
644
|
+
"stateMutability": "view",
|
645
|
+
"type": "function"
|
646
|
+
},
|
647
|
+
{
|
648
|
+
"inputs": [
|
649
|
+
{
|
650
|
+
"internalType": "address",
|
651
|
+
"name": "start",
|
652
|
+
"type": "address"
|
653
|
+
},
|
654
|
+
{
|
655
|
+
"internalType": "uint256",
|
656
|
+
"name": "pageSize",
|
657
|
+
"type": "uint256"
|
658
|
+
}
|
659
|
+
],
|
660
|
+
"name": "getModulesPaginated",
|
661
|
+
"outputs": [
|
662
|
+
{
|
663
|
+
"internalType": "address[]",
|
664
|
+
"name": "array",
|
665
|
+
"type": "address[]"
|
666
|
+
},
|
667
|
+
{
|
668
|
+
"internalType": "address",
|
669
|
+
"name": "next",
|
670
|
+
"type": "address"
|
671
|
+
}
|
672
|
+
],
|
673
|
+
"stateMutability": "view",
|
674
|
+
"type": "function"
|
675
|
+
},
|
676
|
+
{
|
677
|
+
"inputs": [],
|
678
|
+
"name": "getOwners",
|
679
|
+
"outputs": [
|
680
|
+
{
|
681
|
+
"internalType": "address[]",
|
682
|
+
"name": "",
|
683
|
+
"type": "address[]"
|
684
|
+
}
|
685
|
+
],
|
686
|
+
"stateMutability": "view",
|
687
|
+
"type": "function"
|
688
|
+
},
|
689
|
+
{
|
690
|
+
"inputs": [
|
691
|
+
{
|
692
|
+
"internalType": "uint256",
|
693
|
+
"name": "offset",
|
694
|
+
"type": "uint256"
|
695
|
+
},
|
696
|
+
{
|
697
|
+
"internalType": "uint256",
|
698
|
+
"name": "length",
|
699
|
+
"type": "uint256"
|
700
|
+
}
|
701
|
+
],
|
702
|
+
"name": "getStorageAt",
|
703
|
+
"outputs": [
|
704
|
+
{
|
705
|
+
"internalType": "bytes",
|
706
|
+
"name": "",
|
707
|
+
"type": "bytes"
|
708
|
+
}
|
709
|
+
],
|
710
|
+
"stateMutability": "view",
|
711
|
+
"type": "function"
|
712
|
+
},
|
713
|
+
{
|
714
|
+
"inputs": [],
|
715
|
+
"name": "getThreshold",
|
716
|
+
"outputs": [
|
717
|
+
{
|
718
|
+
"internalType": "uint256",
|
719
|
+
"name": "",
|
720
|
+
"type": "uint256"
|
721
|
+
}
|
722
|
+
],
|
723
|
+
"stateMutability": "view",
|
724
|
+
"type": "function"
|
725
|
+
},
|
726
|
+
{
|
727
|
+
"inputs": [
|
728
|
+
{
|
729
|
+
"internalType": "address",
|
730
|
+
"name": "to",
|
731
|
+
"type": "address"
|
732
|
+
},
|
733
|
+
{
|
734
|
+
"internalType": "uint256",
|
735
|
+
"name": "value",
|
736
|
+
"type": "uint256"
|
737
|
+
},
|
738
|
+
{
|
739
|
+
"internalType": "bytes",
|
740
|
+
"name": "data",
|
741
|
+
"type": "bytes"
|
742
|
+
},
|
743
|
+
{
|
744
|
+
"internalType": "enum Enum.Operation",
|
745
|
+
"name": "operation",
|
746
|
+
"type": "uint8"
|
747
|
+
},
|
748
|
+
{
|
749
|
+
"internalType": "uint256",
|
750
|
+
"name": "safeTxGas",
|
751
|
+
"type": "uint256"
|
752
|
+
},
|
753
|
+
{
|
754
|
+
"internalType": "uint256",
|
755
|
+
"name": "baseGas",
|
756
|
+
"type": "uint256"
|
757
|
+
},
|
758
|
+
{
|
759
|
+
"internalType": "uint256",
|
760
|
+
"name": "gasPrice",
|
761
|
+
"type": "uint256"
|
762
|
+
},
|
763
|
+
{
|
764
|
+
"internalType": "address",
|
765
|
+
"name": "gasToken",
|
766
|
+
"type": "address"
|
767
|
+
},
|
768
|
+
{
|
769
|
+
"internalType": "address",
|
770
|
+
"name": "refundReceiver",
|
771
|
+
"type": "address"
|
772
|
+
},
|
773
|
+
{
|
774
|
+
"internalType": "uint256",
|
775
|
+
"name": "_nonce",
|
776
|
+
"type": "uint256"
|
777
|
+
}
|
778
|
+
],
|
779
|
+
"name": "getTransactionHash",
|
780
|
+
"outputs": [
|
781
|
+
{
|
782
|
+
"internalType": "bytes32",
|
783
|
+
"name": "",
|
784
|
+
"type": "bytes32"
|
785
|
+
}
|
786
|
+
],
|
787
|
+
"stateMutability": "view",
|
788
|
+
"type": "function"
|
789
|
+
},
|
790
|
+
{
|
791
|
+
"inputs": [
|
792
|
+
{
|
793
|
+
"internalType": "address",
|
794
|
+
"name": "module",
|
795
|
+
"type": "address"
|
796
|
+
}
|
797
|
+
],
|
798
|
+
"name": "isModuleEnabled",
|
799
|
+
"outputs": [
|
800
|
+
{
|
801
|
+
"internalType": "bool",
|
802
|
+
"name": "",
|
803
|
+
"type": "bool"
|
804
|
+
}
|
805
|
+
],
|
806
|
+
"stateMutability": "view",
|
807
|
+
"type": "function"
|
808
|
+
},
|
809
|
+
{
|
810
|
+
"inputs": [
|
811
|
+
{
|
812
|
+
"internalType": "address",
|
813
|
+
"name": "owner",
|
814
|
+
"type": "address"
|
815
|
+
}
|
816
|
+
],
|
817
|
+
"name": "isOwner",
|
818
|
+
"outputs": [
|
819
|
+
{
|
820
|
+
"internalType": "bool",
|
821
|
+
"name": "",
|
822
|
+
"type": "bool"
|
823
|
+
}
|
824
|
+
],
|
825
|
+
"stateMutability": "view",
|
826
|
+
"type": "function"
|
827
|
+
},
|
828
|
+
{
|
829
|
+
"inputs": [],
|
830
|
+
"name": "nonce",
|
831
|
+
"outputs": [
|
832
|
+
{
|
833
|
+
"internalType": "uint256",
|
834
|
+
"name": "",
|
835
|
+
"type": "uint256"
|
836
|
+
}
|
837
|
+
],
|
838
|
+
"stateMutability": "view",
|
839
|
+
"type": "function"
|
840
|
+
},
|
841
|
+
{
|
842
|
+
"inputs": [
|
843
|
+
{
|
844
|
+
"internalType": "address",
|
845
|
+
"name": "prevOwner",
|
846
|
+
"type": "address"
|
847
|
+
},
|
848
|
+
{
|
849
|
+
"internalType": "address",
|
850
|
+
"name": "owner",
|
851
|
+
"type": "address"
|
852
|
+
},
|
853
|
+
{
|
854
|
+
"internalType": "uint256",
|
855
|
+
"name": "_threshold",
|
856
|
+
"type": "uint256"
|
857
|
+
}
|
858
|
+
],
|
859
|
+
"name": "removeOwner",
|
860
|
+
"outputs": [],
|
861
|
+
"stateMutability": "nonpayable",
|
862
|
+
"type": "function"
|
863
|
+
},
|
864
|
+
{
|
865
|
+
"inputs": [
|
866
|
+
{
|
867
|
+
"internalType": "address",
|
868
|
+
"name": "to",
|
869
|
+
"type": "address"
|
870
|
+
},
|
871
|
+
{
|
872
|
+
"internalType": "uint256",
|
873
|
+
"name": "value",
|
874
|
+
"type": "uint256"
|
875
|
+
},
|
876
|
+
{
|
877
|
+
"internalType": "bytes",
|
878
|
+
"name": "data",
|
879
|
+
"type": "bytes"
|
880
|
+
},
|
881
|
+
{
|
882
|
+
"internalType": "enum Enum.Operation",
|
883
|
+
"name": "operation",
|
884
|
+
"type": "uint8"
|
885
|
+
}
|
886
|
+
],
|
887
|
+
"name": "requiredTxGas",
|
888
|
+
"outputs": [
|
889
|
+
{
|
890
|
+
"internalType": "uint256",
|
891
|
+
"name": "",
|
892
|
+
"type": "uint256"
|
893
|
+
}
|
894
|
+
],
|
895
|
+
"stateMutability": "nonpayable",
|
896
|
+
"type": "function"
|
897
|
+
},
|
898
|
+
{
|
899
|
+
"inputs": [
|
900
|
+
{
|
901
|
+
"internalType": "address",
|
902
|
+
"name": "handler",
|
903
|
+
"type": "address"
|
904
|
+
}
|
905
|
+
],
|
906
|
+
"name": "setFallbackHandler",
|
907
|
+
"outputs": [],
|
908
|
+
"stateMutability": "nonpayable",
|
909
|
+
"type": "function"
|
910
|
+
},
|
911
|
+
{
|
912
|
+
"inputs": [
|
913
|
+
{
|
914
|
+
"internalType": "address",
|
915
|
+
"name": "guard",
|
916
|
+
"type": "address"
|
917
|
+
}
|
918
|
+
],
|
919
|
+
"name": "setGuard",
|
920
|
+
"outputs": [],
|
921
|
+
"stateMutability": "nonpayable",
|
922
|
+
"type": "function"
|
923
|
+
},
|
924
|
+
{
|
925
|
+
"inputs": [
|
926
|
+
{
|
927
|
+
"internalType": "address[]",
|
928
|
+
"name": "_owners",
|
929
|
+
"type": "address[]"
|
930
|
+
},
|
931
|
+
{
|
932
|
+
"internalType": "uint256",
|
933
|
+
"name": "_threshold",
|
934
|
+
"type": "uint256"
|
935
|
+
},
|
936
|
+
{
|
937
|
+
"internalType": "address",
|
938
|
+
"name": "to",
|
939
|
+
"type": "address"
|
940
|
+
},
|
941
|
+
{
|
942
|
+
"internalType": "bytes",
|
943
|
+
"name": "data",
|
944
|
+
"type": "bytes"
|
945
|
+
},
|
946
|
+
{
|
947
|
+
"internalType": "address",
|
948
|
+
"name": "fallbackHandler",
|
949
|
+
"type": "address"
|
950
|
+
},
|
951
|
+
{
|
952
|
+
"internalType": "address",
|
953
|
+
"name": "paymentToken",
|
954
|
+
"type": "address"
|
955
|
+
},
|
956
|
+
{
|
957
|
+
"internalType": "uint256",
|
958
|
+
"name": "payment",
|
959
|
+
"type": "uint256"
|
960
|
+
},
|
961
|
+
{
|
962
|
+
"internalType": "address payable",
|
963
|
+
"name": "paymentReceiver",
|
964
|
+
"type": "address"
|
965
|
+
}
|
966
|
+
],
|
967
|
+
"name": "setup",
|
968
|
+
"outputs": [],
|
969
|
+
"stateMutability": "nonpayable",
|
970
|
+
"type": "function"
|
971
|
+
},
|
972
|
+
{
|
973
|
+
"inputs": [
|
974
|
+
{
|
975
|
+
"internalType": "bytes32",
|
976
|
+
"name": "",
|
977
|
+
"type": "bytes32"
|
978
|
+
}
|
979
|
+
],
|
980
|
+
"name": "signedMessages",
|
981
|
+
"outputs": [
|
982
|
+
{
|
983
|
+
"internalType": "uint256",
|
984
|
+
"name": "",
|
985
|
+
"type": "uint256"
|
986
|
+
}
|
987
|
+
],
|
988
|
+
"stateMutability": "view",
|
989
|
+
"type": "function"
|
990
|
+
},
|
991
|
+
{
|
992
|
+
"inputs": [
|
993
|
+
{
|
994
|
+
"internalType": "address",
|
995
|
+
"name": "targetContract",
|
996
|
+
"type": "address"
|
997
|
+
},
|
998
|
+
{
|
999
|
+
"internalType": "bytes",
|
1000
|
+
"name": "calldataPayload",
|
1001
|
+
"type": "bytes"
|
1002
|
+
}
|
1003
|
+
],
|
1004
|
+
"name": "simulateAndRevert",
|
1005
|
+
"outputs": [],
|
1006
|
+
"stateMutability": "nonpayable",
|
1007
|
+
"type": "function"
|
1008
|
+
},
|
1009
|
+
{
|
1010
|
+
"inputs": [
|
1011
|
+
{
|
1012
|
+
"internalType": "address",
|
1013
|
+
"name": "prevOwner",
|
1014
|
+
"type": "address"
|
1015
|
+
},
|
1016
|
+
{
|
1017
|
+
"internalType": "address",
|
1018
|
+
"name": "oldOwner",
|
1019
|
+
"type": "address"
|
1020
|
+
},
|
1021
|
+
{
|
1022
|
+
"internalType": "address",
|
1023
|
+
"name": "newOwner",
|
1024
|
+
"type": "address"
|
1025
|
+
}
|
1026
|
+
],
|
1027
|
+
"name": "swapOwner",
|
1028
|
+
"outputs": [],
|
1029
|
+
"stateMutability": "nonpayable",
|
1030
|
+
"type": "function"
|
1031
|
+
},
|
1032
|
+
{
|
1033
|
+
"stateMutability": "payable",
|
1034
|
+
"type": "receive"
|
1035
|
+
}
|
1036
|
+
]
|
1037
|
+
''')
|