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,735 @@
|
|
1
|
+
import json
|
2
|
+
|
3
|
+
LIDO_TOKEN_BRIGDE_ABI = json.loads('''
|
4
|
+
[
|
5
|
+
{
|
6
|
+
"inputs": [
|
7
|
+
{
|
8
|
+
"internalType": "address",
|
9
|
+
"name": "messenger_",
|
10
|
+
"type": "address"
|
11
|
+
},
|
12
|
+
{
|
13
|
+
"internalType": "address",
|
14
|
+
"name": "l2TokenBridge_",
|
15
|
+
"type": "address"
|
16
|
+
},
|
17
|
+
{
|
18
|
+
"internalType": "address",
|
19
|
+
"name": "l1Token_",
|
20
|
+
"type": "address"
|
21
|
+
},
|
22
|
+
{
|
23
|
+
"internalType": "address",
|
24
|
+
"name": "l2Token_",
|
25
|
+
"type": "address"
|
26
|
+
}
|
27
|
+
],
|
28
|
+
"stateMutability": "nonpayable",
|
29
|
+
"type": "constructor"
|
30
|
+
},
|
31
|
+
{
|
32
|
+
"inputs": [],
|
33
|
+
"name": "ErrorAccountIsZeroAddress",
|
34
|
+
"type": "error"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"inputs": [],
|
38
|
+
"name": "ErrorAlreadyInitialized",
|
39
|
+
"type": "error"
|
40
|
+
},
|
41
|
+
{
|
42
|
+
"inputs": [],
|
43
|
+
"name": "ErrorDepositsDisabled",
|
44
|
+
"type": "error"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"inputs": [],
|
48
|
+
"name": "ErrorDepositsEnabled",
|
49
|
+
"type": "error"
|
50
|
+
},
|
51
|
+
{
|
52
|
+
"inputs": [],
|
53
|
+
"name": "ErrorSenderNotEOA",
|
54
|
+
"type": "error"
|
55
|
+
},
|
56
|
+
{
|
57
|
+
"inputs": [],
|
58
|
+
"name": "ErrorUnauthorizedMessenger",
|
59
|
+
"type": "error"
|
60
|
+
},
|
61
|
+
{
|
62
|
+
"inputs": [],
|
63
|
+
"name": "ErrorUnsupportedL1Token",
|
64
|
+
"type": "error"
|
65
|
+
},
|
66
|
+
{
|
67
|
+
"inputs": [],
|
68
|
+
"name": "ErrorUnsupportedL2Token",
|
69
|
+
"type": "error"
|
70
|
+
},
|
71
|
+
{
|
72
|
+
"inputs": [],
|
73
|
+
"name": "ErrorWithdrawalsDisabled",
|
74
|
+
"type": "error"
|
75
|
+
},
|
76
|
+
{
|
77
|
+
"inputs": [],
|
78
|
+
"name": "ErrorWithdrawalsEnabled",
|
79
|
+
"type": "error"
|
80
|
+
},
|
81
|
+
{
|
82
|
+
"inputs": [],
|
83
|
+
"name": "ErrorWrongCrossDomainSender",
|
84
|
+
"type": "error"
|
85
|
+
},
|
86
|
+
{
|
87
|
+
"anonymous": false,
|
88
|
+
"inputs": [
|
89
|
+
{
|
90
|
+
"indexed": true,
|
91
|
+
"internalType": "address",
|
92
|
+
"name": "disabler",
|
93
|
+
"type": "address"
|
94
|
+
}
|
95
|
+
],
|
96
|
+
"name": "DepositsDisabled",
|
97
|
+
"type": "event"
|
98
|
+
},
|
99
|
+
{
|
100
|
+
"anonymous": false,
|
101
|
+
"inputs": [
|
102
|
+
{
|
103
|
+
"indexed": true,
|
104
|
+
"internalType": "address",
|
105
|
+
"name": "enabler",
|
106
|
+
"type": "address"
|
107
|
+
}
|
108
|
+
],
|
109
|
+
"name": "DepositsEnabled",
|
110
|
+
"type": "event"
|
111
|
+
},
|
112
|
+
{
|
113
|
+
"anonymous": false,
|
114
|
+
"inputs": [
|
115
|
+
{
|
116
|
+
"indexed": true,
|
117
|
+
"internalType": "address",
|
118
|
+
"name": "_l1Token",
|
119
|
+
"type": "address"
|
120
|
+
},
|
121
|
+
{
|
122
|
+
"indexed": true,
|
123
|
+
"internalType": "address",
|
124
|
+
"name": "_l2Token",
|
125
|
+
"type": "address"
|
126
|
+
},
|
127
|
+
{
|
128
|
+
"indexed": true,
|
129
|
+
"internalType": "address",
|
130
|
+
"name": "_from",
|
131
|
+
"type": "address"
|
132
|
+
},
|
133
|
+
{
|
134
|
+
"indexed": false,
|
135
|
+
"internalType": "address",
|
136
|
+
"name": "_to",
|
137
|
+
"type": "address"
|
138
|
+
},
|
139
|
+
{
|
140
|
+
"indexed": false,
|
141
|
+
"internalType": "uint256",
|
142
|
+
"name": "_amount",
|
143
|
+
"type": "uint256"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"indexed": false,
|
147
|
+
"internalType": "bytes",
|
148
|
+
"name": "_data",
|
149
|
+
"type": "bytes"
|
150
|
+
}
|
151
|
+
],
|
152
|
+
"name": "ERC20DepositInitiated",
|
153
|
+
"type": "event"
|
154
|
+
},
|
155
|
+
{
|
156
|
+
"anonymous": false,
|
157
|
+
"inputs": [
|
158
|
+
{
|
159
|
+
"indexed": true,
|
160
|
+
"internalType": "address",
|
161
|
+
"name": "_l1Token",
|
162
|
+
"type": "address"
|
163
|
+
},
|
164
|
+
{
|
165
|
+
"indexed": true,
|
166
|
+
"internalType": "address",
|
167
|
+
"name": "_l2Token",
|
168
|
+
"type": "address"
|
169
|
+
},
|
170
|
+
{
|
171
|
+
"indexed": true,
|
172
|
+
"internalType": "address",
|
173
|
+
"name": "_from",
|
174
|
+
"type": "address"
|
175
|
+
},
|
176
|
+
{
|
177
|
+
"indexed": false,
|
178
|
+
"internalType": "address",
|
179
|
+
"name": "_to",
|
180
|
+
"type": "address"
|
181
|
+
},
|
182
|
+
{
|
183
|
+
"indexed": false,
|
184
|
+
"internalType": "uint256",
|
185
|
+
"name": "_amount",
|
186
|
+
"type": "uint256"
|
187
|
+
},
|
188
|
+
{
|
189
|
+
"indexed": false,
|
190
|
+
"internalType": "bytes",
|
191
|
+
"name": "_data",
|
192
|
+
"type": "bytes"
|
193
|
+
}
|
194
|
+
],
|
195
|
+
"name": "ERC20WithdrawalFinalized",
|
196
|
+
"type": "event"
|
197
|
+
},
|
198
|
+
{
|
199
|
+
"anonymous": false,
|
200
|
+
"inputs": [
|
201
|
+
{
|
202
|
+
"indexed": true,
|
203
|
+
"internalType": "address",
|
204
|
+
"name": "admin",
|
205
|
+
"type": "address"
|
206
|
+
}
|
207
|
+
],
|
208
|
+
"name": "Initialized",
|
209
|
+
"type": "event"
|
210
|
+
},
|
211
|
+
{
|
212
|
+
"anonymous": false,
|
213
|
+
"inputs": [
|
214
|
+
{
|
215
|
+
"indexed": true,
|
216
|
+
"internalType": "bytes32",
|
217
|
+
"name": "role",
|
218
|
+
"type": "bytes32"
|
219
|
+
},
|
220
|
+
{
|
221
|
+
"indexed": true,
|
222
|
+
"internalType": "bytes32",
|
223
|
+
"name": "previousAdminRole",
|
224
|
+
"type": "bytes32"
|
225
|
+
},
|
226
|
+
{
|
227
|
+
"indexed": true,
|
228
|
+
"internalType": "bytes32",
|
229
|
+
"name": "newAdminRole",
|
230
|
+
"type": "bytes32"
|
231
|
+
}
|
232
|
+
],
|
233
|
+
"name": "RoleAdminChanged",
|
234
|
+
"type": "event"
|
235
|
+
},
|
236
|
+
{
|
237
|
+
"anonymous": false,
|
238
|
+
"inputs": [
|
239
|
+
{
|
240
|
+
"indexed": true,
|
241
|
+
"internalType": "bytes32",
|
242
|
+
"name": "role",
|
243
|
+
"type": "bytes32"
|
244
|
+
},
|
245
|
+
{
|
246
|
+
"indexed": true,
|
247
|
+
"internalType": "address",
|
248
|
+
"name": "account",
|
249
|
+
"type": "address"
|
250
|
+
},
|
251
|
+
{
|
252
|
+
"indexed": true,
|
253
|
+
"internalType": "address",
|
254
|
+
"name": "sender",
|
255
|
+
"type": "address"
|
256
|
+
}
|
257
|
+
],
|
258
|
+
"name": "RoleGranted",
|
259
|
+
"type": "event"
|
260
|
+
},
|
261
|
+
{
|
262
|
+
"anonymous": false,
|
263
|
+
"inputs": [
|
264
|
+
{
|
265
|
+
"indexed": true,
|
266
|
+
"internalType": "bytes32",
|
267
|
+
"name": "role",
|
268
|
+
"type": "bytes32"
|
269
|
+
},
|
270
|
+
{
|
271
|
+
"indexed": true,
|
272
|
+
"internalType": "address",
|
273
|
+
"name": "account",
|
274
|
+
"type": "address"
|
275
|
+
},
|
276
|
+
{
|
277
|
+
"indexed": true,
|
278
|
+
"internalType": "address",
|
279
|
+
"name": "sender",
|
280
|
+
"type": "address"
|
281
|
+
}
|
282
|
+
],
|
283
|
+
"name": "RoleRevoked",
|
284
|
+
"type": "event"
|
285
|
+
},
|
286
|
+
{
|
287
|
+
"anonymous": false,
|
288
|
+
"inputs": [
|
289
|
+
{
|
290
|
+
"indexed": true,
|
291
|
+
"internalType": "address",
|
292
|
+
"name": "disabler",
|
293
|
+
"type": "address"
|
294
|
+
}
|
295
|
+
],
|
296
|
+
"name": "WithdrawalsDisabled",
|
297
|
+
"type": "event"
|
298
|
+
},
|
299
|
+
{
|
300
|
+
"anonymous": false,
|
301
|
+
"inputs": [
|
302
|
+
{
|
303
|
+
"indexed": true,
|
304
|
+
"internalType": "address",
|
305
|
+
"name": "enabler",
|
306
|
+
"type": "address"
|
307
|
+
}
|
308
|
+
],
|
309
|
+
"name": "WithdrawalsEnabled",
|
310
|
+
"type": "event"
|
311
|
+
},
|
312
|
+
{
|
313
|
+
"inputs": [],
|
314
|
+
"name": "DEFAULT_ADMIN_ROLE",
|
315
|
+
"outputs": [
|
316
|
+
{
|
317
|
+
"internalType": "bytes32",
|
318
|
+
"name": "",
|
319
|
+
"type": "bytes32"
|
320
|
+
}
|
321
|
+
],
|
322
|
+
"stateMutability": "view",
|
323
|
+
"type": "function"
|
324
|
+
},
|
325
|
+
{
|
326
|
+
"inputs": [],
|
327
|
+
"name": "DEPOSITS_DISABLER_ROLE",
|
328
|
+
"outputs": [
|
329
|
+
{
|
330
|
+
"internalType": "bytes32",
|
331
|
+
"name": "",
|
332
|
+
"type": "bytes32"
|
333
|
+
}
|
334
|
+
],
|
335
|
+
"stateMutability": "view",
|
336
|
+
"type": "function"
|
337
|
+
},
|
338
|
+
{
|
339
|
+
"inputs": [],
|
340
|
+
"name": "DEPOSITS_ENABLER_ROLE",
|
341
|
+
"outputs": [
|
342
|
+
{
|
343
|
+
"internalType": "bytes32",
|
344
|
+
"name": "",
|
345
|
+
"type": "bytes32"
|
346
|
+
}
|
347
|
+
],
|
348
|
+
"stateMutability": "view",
|
349
|
+
"type": "function"
|
350
|
+
},
|
351
|
+
{
|
352
|
+
"inputs": [],
|
353
|
+
"name": "WITHDRAWALS_DISABLER_ROLE",
|
354
|
+
"outputs": [
|
355
|
+
{
|
356
|
+
"internalType": "bytes32",
|
357
|
+
"name": "",
|
358
|
+
"type": "bytes32"
|
359
|
+
}
|
360
|
+
],
|
361
|
+
"stateMutability": "view",
|
362
|
+
"type": "function"
|
363
|
+
},
|
364
|
+
{
|
365
|
+
"inputs": [],
|
366
|
+
"name": "WITHDRAWALS_ENABLER_ROLE",
|
367
|
+
"outputs": [
|
368
|
+
{
|
369
|
+
"internalType": "bytes32",
|
370
|
+
"name": "",
|
371
|
+
"type": "bytes32"
|
372
|
+
}
|
373
|
+
],
|
374
|
+
"stateMutability": "view",
|
375
|
+
"type": "function"
|
376
|
+
},
|
377
|
+
{
|
378
|
+
"inputs": [
|
379
|
+
{
|
380
|
+
"internalType": "address",
|
381
|
+
"name": "l1Token_",
|
382
|
+
"type": "address"
|
383
|
+
},
|
384
|
+
{
|
385
|
+
"internalType": "address",
|
386
|
+
"name": "l2Token_",
|
387
|
+
"type": "address"
|
388
|
+
},
|
389
|
+
{
|
390
|
+
"internalType": "uint256",
|
391
|
+
"name": "amount_",
|
392
|
+
"type": "uint256"
|
393
|
+
},
|
394
|
+
{
|
395
|
+
"internalType": "uint32",
|
396
|
+
"name": "l2Gas_",
|
397
|
+
"type": "uint32"
|
398
|
+
},
|
399
|
+
{
|
400
|
+
"internalType": "bytes",
|
401
|
+
"name": "data_",
|
402
|
+
"type": "bytes"
|
403
|
+
}
|
404
|
+
],
|
405
|
+
"name": "depositERC20",
|
406
|
+
"outputs": [],
|
407
|
+
"stateMutability": "nonpayable",
|
408
|
+
"type": "function"
|
409
|
+
},
|
410
|
+
{
|
411
|
+
"inputs": [
|
412
|
+
{
|
413
|
+
"internalType": "address",
|
414
|
+
"name": "l1Token_",
|
415
|
+
"type": "address"
|
416
|
+
},
|
417
|
+
{
|
418
|
+
"internalType": "address",
|
419
|
+
"name": "l2Token_",
|
420
|
+
"type": "address"
|
421
|
+
},
|
422
|
+
{
|
423
|
+
"internalType": "address",
|
424
|
+
"name": "to_",
|
425
|
+
"type": "address"
|
426
|
+
},
|
427
|
+
{
|
428
|
+
"internalType": "uint256",
|
429
|
+
"name": "amount_",
|
430
|
+
"type": "uint256"
|
431
|
+
},
|
432
|
+
{
|
433
|
+
"internalType": "uint32",
|
434
|
+
"name": "l2Gas_",
|
435
|
+
"type": "uint32"
|
436
|
+
},
|
437
|
+
{
|
438
|
+
"internalType": "bytes",
|
439
|
+
"name": "data_",
|
440
|
+
"type": "bytes"
|
441
|
+
}
|
442
|
+
],
|
443
|
+
"name": "depositERC20To",
|
444
|
+
"outputs": [],
|
445
|
+
"stateMutability": "nonpayable",
|
446
|
+
"type": "function"
|
447
|
+
},
|
448
|
+
{
|
449
|
+
"inputs": [],
|
450
|
+
"name": "disableDeposits",
|
451
|
+
"outputs": [],
|
452
|
+
"stateMutability": "nonpayable",
|
453
|
+
"type": "function"
|
454
|
+
},
|
455
|
+
{
|
456
|
+
"inputs": [],
|
457
|
+
"name": "disableWithdrawals",
|
458
|
+
"outputs": [],
|
459
|
+
"stateMutability": "nonpayable",
|
460
|
+
"type": "function"
|
461
|
+
},
|
462
|
+
{
|
463
|
+
"inputs": [],
|
464
|
+
"name": "enableDeposits",
|
465
|
+
"outputs": [],
|
466
|
+
"stateMutability": "nonpayable",
|
467
|
+
"type": "function"
|
468
|
+
},
|
469
|
+
{
|
470
|
+
"inputs": [],
|
471
|
+
"name": "enableWithdrawals",
|
472
|
+
"outputs": [],
|
473
|
+
"stateMutability": "nonpayable",
|
474
|
+
"type": "function"
|
475
|
+
},
|
476
|
+
{
|
477
|
+
"inputs": [
|
478
|
+
{
|
479
|
+
"internalType": "address",
|
480
|
+
"name": "l1Token_",
|
481
|
+
"type": "address"
|
482
|
+
},
|
483
|
+
{
|
484
|
+
"internalType": "address",
|
485
|
+
"name": "l2Token_",
|
486
|
+
"type": "address"
|
487
|
+
},
|
488
|
+
{
|
489
|
+
"internalType": "address",
|
490
|
+
"name": "from_",
|
491
|
+
"type": "address"
|
492
|
+
},
|
493
|
+
{
|
494
|
+
"internalType": "address",
|
495
|
+
"name": "to_",
|
496
|
+
"type": "address"
|
497
|
+
},
|
498
|
+
{
|
499
|
+
"internalType": "uint256",
|
500
|
+
"name": "amount_",
|
501
|
+
"type": "uint256"
|
502
|
+
},
|
503
|
+
{
|
504
|
+
"internalType": "bytes",
|
505
|
+
"name": "data_",
|
506
|
+
"type": "bytes"
|
507
|
+
}
|
508
|
+
],
|
509
|
+
"name": "finalizeERC20Withdrawal",
|
510
|
+
"outputs": [],
|
511
|
+
"stateMutability": "nonpayable",
|
512
|
+
"type": "function"
|
513
|
+
},
|
514
|
+
{
|
515
|
+
"inputs": [
|
516
|
+
{
|
517
|
+
"internalType": "bytes32",
|
518
|
+
"name": "role",
|
519
|
+
"type": "bytes32"
|
520
|
+
}
|
521
|
+
],
|
522
|
+
"name": "getRoleAdmin",
|
523
|
+
"outputs": [
|
524
|
+
{
|
525
|
+
"internalType": "bytes32",
|
526
|
+
"name": "",
|
527
|
+
"type": "bytes32"
|
528
|
+
}
|
529
|
+
],
|
530
|
+
"stateMutability": "view",
|
531
|
+
"type": "function"
|
532
|
+
},
|
533
|
+
{
|
534
|
+
"inputs": [
|
535
|
+
{
|
536
|
+
"internalType": "bytes32",
|
537
|
+
"name": "role",
|
538
|
+
"type": "bytes32"
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"internalType": "address",
|
542
|
+
"name": "account",
|
543
|
+
"type": "address"
|
544
|
+
}
|
545
|
+
],
|
546
|
+
"name": "grantRole",
|
547
|
+
"outputs": [],
|
548
|
+
"stateMutability": "nonpayable",
|
549
|
+
"type": "function"
|
550
|
+
},
|
551
|
+
{
|
552
|
+
"inputs": [
|
553
|
+
{
|
554
|
+
"internalType": "bytes32",
|
555
|
+
"name": "role",
|
556
|
+
"type": "bytes32"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"internalType": "address",
|
560
|
+
"name": "account",
|
561
|
+
"type": "address"
|
562
|
+
}
|
563
|
+
],
|
564
|
+
"name": "hasRole",
|
565
|
+
"outputs": [
|
566
|
+
{
|
567
|
+
"internalType": "bool",
|
568
|
+
"name": "",
|
569
|
+
"type": "bool"
|
570
|
+
}
|
571
|
+
],
|
572
|
+
"stateMutability": "view",
|
573
|
+
"type": "function"
|
574
|
+
},
|
575
|
+
{
|
576
|
+
"inputs": [
|
577
|
+
{
|
578
|
+
"internalType": "address",
|
579
|
+
"name": "admin_",
|
580
|
+
"type": "address"
|
581
|
+
}
|
582
|
+
],
|
583
|
+
"name": "initialize",
|
584
|
+
"outputs": [],
|
585
|
+
"stateMutability": "nonpayable",
|
586
|
+
"type": "function"
|
587
|
+
},
|
588
|
+
{
|
589
|
+
"inputs": [],
|
590
|
+
"name": "isDepositsEnabled",
|
591
|
+
"outputs": [
|
592
|
+
{
|
593
|
+
"internalType": "bool",
|
594
|
+
"name": "",
|
595
|
+
"type": "bool"
|
596
|
+
}
|
597
|
+
],
|
598
|
+
"stateMutability": "view",
|
599
|
+
"type": "function"
|
600
|
+
},
|
601
|
+
{
|
602
|
+
"inputs": [],
|
603
|
+
"name": "isInitialized",
|
604
|
+
"outputs": [
|
605
|
+
{
|
606
|
+
"internalType": "bool",
|
607
|
+
"name": "",
|
608
|
+
"type": "bool"
|
609
|
+
}
|
610
|
+
],
|
611
|
+
"stateMutability": "view",
|
612
|
+
"type": "function"
|
613
|
+
},
|
614
|
+
{
|
615
|
+
"inputs": [],
|
616
|
+
"name": "isWithdrawalsEnabled",
|
617
|
+
"outputs": [
|
618
|
+
{
|
619
|
+
"internalType": "bool",
|
620
|
+
"name": "",
|
621
|
+
"type": "bool"
|
622
|
+
}
|
623
|
+
],
|
624
|
+
"stateMutability": "view",
|
625
|
+
"type": "function"
|
626
|
+
},
|
627
|
+
{
|
628
|
+
"inputs": [],
|
629
|
+
"name": "l1Token",
|
630
|
+
"outputs": [
|
631
|
+
{
|
632
|
+
"internalType": "address",
|
633
|
+
"name": "",
|
634
|
+
"type": "address"
|
635
|
+
}
|
636
|
+
],
|
637
|
+
"stateMutability": "view",
|
638
|
+
"type": "function"
|
639
|
+
},
|
640
|
+
{
|
641
|
+
"inputs": [],
|
642
|
+
"name": "l2Token",
|
643
|
+
"outputs": [
|
644
|
+
{
|
645
|
+
"internalType": "address",
|
646
|
+
"name": "",
|
647
|
+
"type": "address"
|
648
|
+
}
|
649
|
+
],
|
650
|
+
"stateMutability": "view",
|
651
|
+
"type": "function"
|
652
|
+
},
|
653
|
+
{
|
654
|
+
"inputs": [],
|
655
|
+
"name": "l2TokenBridge",
|
656
|
+
"outputs": [
|
657
|
+
{
|
658
|
+
"internalType": "address",
|
659
|
+
"name": "",
|
660
|
+
"type": "address"
|
661
|
+
}
|
662
|
+
],
|
663
|
+
"stateMutability": "view",
|
664
|
+
"type": "function"
|
665
|
+
},
|
666
|
+
{
|
667
|
+
"inputs": [],
|
668
|
+
"name": "messenger",
|
669
|
+
"outputs": [
|
670
|
+
{
|
671
|
+
"internalType": "contract ICrossDomainMessenger",
|
672
|
+
"name": "",
|
673
|
+
"type": "address"
|
674
|
+
}
|
675
|
+
],
|
676
|
+
"stateMutability": "view",
|
677
|
+
"type": "function"
|
678
|
+
},
|
679
|
+
{
|
680
|
+
"inputs": [
|
681
|
+
{
|
682
|
+
"internalType": "bytes32",
|
683
|
+
"name": "role",
|
684
|
+
"type": "bytes32"
|
685
|
+
},
|
686
|
+
{
|
687
|
+
"internalType": "address",
|
688
|
+
"name": "account",
|
689
|
+
"type": "address"
|
690
|
+
}
|
691
|
+
],
|
692
|
+
"name": "renounceRole",
|
693
|
+
"outputs": [],
|
694
|
+
"stateMutability": "nonpayable",
|
695
|
+
"type": "function"
|
696
|
+
},
|
697
|
+
{
|
698
|
+
"inputs": [
|
699
|
+
{
|
700
|
+
"internalType": "bytes32",
|
701
|
+
"name": "role",
|
702
|
+
"type": "bytes32"
|
703
|
+
},
|
704
|
+
{
|
705
|
+
"internalType": "address",
|
706
|
+
"name": "account",
|
707
|
+
"type": "address"
|
708
|
+
}
|
709
|
+
],
|
710
|
+
"name": "revokeRole",
|
711
|
+
"outputs": [],
|
712
|
+
"stateMutability": "nonpayable",
|
713
|
+
"type": "function"
|
714
|
+
},
|
715
|
+
{
|
716
|
+
"inputs": [
|
717
|
+
{
|
718
|
+
"internalType": "bytes4",
|
719
|
+
"name": "interfaceId",
|
720
|
+
"type": "bytes4"
|
721
|
+
}
|
722
|
+
],
|
723
|
+
"name": "supportsInterface",
|
724
|
+
"outputs": [
|
725
|
+
{
|
726
|
+
"internalType": "bool",
|
727
|
+
"name": "",
|
728
|
+
"type": "bool"
|
729
|
+
}
|
730
|
+
],
|
731
|
+
"stateMutability": "view",
|
732
|
+
"type": "function"
|
733
|
+
}
|
734
|
+
]
|
735
|
+
''')
|