@kasarlabs/starkgate-mcp 0.1.1

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.
Files changed (81) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +166 -0
  3. package/build/abi/l1bridge/bridge-dai.abi.d.ts +39 -0
  4. package/build/abi/l1bridge/bridge-dai.abi.js +333 -0
  5. package/build/abi/l1bridge/bridge-dai.abi.js.map +1 -0
  6. package/build/abi/l1bridge/bridge-eth.abi.d.ts +28 -0
  7. package/build/abi/l1bridge/bridge-eth.abi.js +1024 -0
  8. package/build/abi/l1bridge/bridge-eth.abi.js.map +1 -0
  9. package/build/abi/l1bridge/bridge-lords.abi.d.ts +46 -0
  10. package/build/abi/l1bridge/bridge-lords.abi.js +98 -0
  11. package/build/abi/l1bridge/bridge-lords.abi.js.map +1 -0
  12. package/build/abi/l1bridge/bridge-map.d.ts +256 -0
  13. package/build/abi/l1bridge/bridge-map.js +19 -0
  14. package/build/abi/l1bridge/bridge-map.js.map +1 -0
  15. package/build/abi/l1bridge/bridge-strk.abi.d.ts +28 -0
  16. package/build/abi/l1bridge/bridge-strk.abi.js +1024 -0
  17. package/build/abi/l1bridge/bridge-strk.abi.js.map +1 -0
  18. package/build/abi/l1bridge/bridge-swss.abi.d.ts +28 -0
  19. package/build/abi/l1bridge/bridge-swss.abi.js +1024 -0
  20. package/build/abi/l1bridge/bridge-swss.abi.js.map +1 -0
  21. package/build/abi/l1bridge/bridge-usdc.abi.d.ts +28 -0
  22. package/build/abi/l1bridge/bridge-usdc.abi.js +1024 -0
  23. package/build/abi/l1bridge/bridge-usdc.abi.js.map +1 -0
  24. package/build/abi/l1bridge/bridge-usdt.abi.d.ts +28 -0
  25. package/build/abi/l1bridge/bridge-usdt.abi.js +1024 -0
  26. package/build/abi/l1bridge/bridge-usdt.abi.js.map +1 -0
  27. package/build/abi/l1bridge/bridge-wbtc.abi.d.ts +28 -0
  28. package/build/abi/l1bridge/bridge-wbtc.abi.js +1024 -0
  29. package/build/abi/l1bridge/bridge-wbtc.abi.js.map +1 -0
  30. package/build/abi/l2bridge/bridge-dai.abi.d.ts +57 -0
  31. package/build/abi/l2bridge/bridge-dai.abi.js +286 -0
  32. package/build/abi/l2bridge/bridge-dai.abi.js.map +1 -0
  33. package/build/abi/l2bridge/bridge-eth.abi.d.ts +120 -0
  34. package/build/abi/l2bridge/bridge-eth.abi.js +1679 -0
  35. package/build/abi/l2bridge/bridge-eth.abi.js.map +1 -0
  36. package/build/abi/l2bridge/bridge-lords.abi.d.ts +27 -0
  37. package/build/abi/l2bridge/bridge-lords.abi.js +113 -0
  38. package/build/abi/l2bridge/bridge-lords.abi.js.map +1 -0
  39. package/build/abi/l2bridge/bridge-map.d.ts +807 -0
  40. package/build/abi/l2bridge/bridge-map.js +19 -0
  41. package/build/abi/l2bridge/bridge-map.js.map +1 -0
  42. package/build/abi/l2bridge/bridge-strk.abi.d.ts +120 -0
  43. package/build/abi/l2bridge/bridge-strk.abi.js +1679 -0
  44. package/build/abi/l2bridge/bridge-strk.abi.js.map +1 -0
  45. package/build/abi/l2bridge/bridge-swss.abi.d.ts +120 -0
  46. package/build/abi/l2bridge/bridge-swss.abi.js +1730 -0
  47. package/build/abi/l2bridge/bridge-swss.abi.js.map +1 -0
  48. package/build/abi/l2bridge/bridge-usdc.abi.d.ts +120 -0
  49. package/build/abi/l2bridge/bridge-usdc.abi.js +1679 -0
  50. package/build/abi/l2bridge/bridge-usdc.abi.js.map +1 -0
  51. package/build/abi/l2bridge/bridge-usdt.abi.d.ts +120 -0
  52. package/build/abi/l2bridge/bridge-usdt.abi.js +1679 -0
  53. package/build/abi/l2bridge/bridge-usdt.abi.js.map +1 -0
  54. package/build/abi/l2bridge/bridge-wbtc.abi.d.ts +120 -0
  55. package/build/abi/l2bridge/bridge-wbtc.abi.js +1679 -0
  56. package/build/abi/l2bridge/bridge-wbtc.abi.js.map +1 -0
  57. package/build/constants/contract-address.d.ts +18 -0
  58. package/build/constants/contract-address.js +33 -0
  59. package/build/constants/contract-address.js.map +1 -0
  60. package/build/index.d.ts +2 -0
  61. package/build/index.js +51 -0
  62. package/build/index.js.map +1 -0
  63. package/build/interfaces/types.d.ts +1 -0
  64. package/build/interfaces/types.js +2 -0
  65. package/build/interfaces/types.js.map +1 -0
  66. package/build/lib/utils.d.ts +19 -0
  67. package/build/lib/utils.js +121 -0
  68. package/build/lib/utils.js.map +1 -0
  69. package/build/schemas/bridgeSchemas.d.ts +30 -0
  70. package/build/schemas/bridgeSchemas.js +24 -0
  71. package/build/schemas/bridgeSchemas.js.map +1 -0
  72. package/build/schemas/index.d.ts +2 -0
  73. package/build/schemas/index.js +2 -0
  74. package/build/schemas/index.js.map +1 -0
  75. package/build/tools/bridgeL1toL2.d.ts +5 -0
  76. package/build/tools/bridgeL1toL2.js +109 -0
  77. package/build/tools/bridgeL1toL2.js.map +1 -0
  78. package/build/tools/bridgeL2toL1.d.ts +4 -0
  79. package/build/tools/bridgeL2toL1.js +112 -0
  80. package/build/tools/bridgeL2toL1.js.map +1 -0
  81. package/package.json +49 -0
@@ -0,0 +1,1730 @@
1
+ export const BRIDGE_L2_SWSS_TO_ETHEREUM_ABI = [
2
+ {
3
+ name: 'TokenMigrate',
4
+ type: 'impl',
5
+ interface_name: 'src::token_migrate_interface::ITokenMigrate',
6
+ },
7
+ {
8
+ name: 'src::token_migrate_interface::ITokenMigrate',
9
+ type: 'interface',
10
+ items: [
11
+ {
12
+ name: 'get_new_l2_token',
13
+ type: 'function',
14
+ inputs: [],
15
+ outputs: [
16
+ {
17
+ type: 'core::starknet::contract_address::ContractAddress',
18
+ },
19
+ ],
20
+ state_mutability: 'view',
21
+ },
22
+ {
23
+ name: 'get_deprecated_l2_token',
24
+ type: 'function',
25
+ inputs: [],
26
+ outputs: [
27
+ {
28
+ type: 'core::starknet::contract_address::ContractAddress',
29
+ },
30
+ ],
31
+ state_mutability: 'view',
32
+ },
33
+ {
34
+ name: 'migrate_balance_to_new_token',
35
+ type: 'function',
36
+ inputs: [],
37
+ outputs: [],
38
+ state_mutability: 'external',
39
+ },
40
+ {
41
+ name: 'migrate_balance_to_deprecated_token',
42
+ type: 'function',
43
+ inputs: [],
44
+ outputs: [],
45
+ state_mutability: 'external',
46
+ },
47
+ ],
48
+ },
49
+ {
50
+ name: 'TokenBridgeAdmin',
51
+ type: 'impl',
52
+ interface_name: 'src::token_bridge_admin_interface::ITokenBridgeAdmin',
53
+ },
54
+ {
55
+ name: 'core::starknet::eth_address::EthAddress',
56
+ type: 'struct',
57
+ members: [
58
+ {
59
+ name: 'address',
60
+ type: 'core::felt252',
61
+ },
62
+ ],
63
+ },
64
+ {
65
+ name: 'src::token_bridge_admin_interface::ITokenBridgeAdmin',
66
+ type: 'interface',
67
+ items: [
68
+ {
69
+ name: 'get_erc20_class_hash',
70
+ type: 'function',
71
+ inputs: [],
72
+ outputs: [
73
+ {
74
+ type: 'core::starknet::class_hash::ClassHash',
75
+ },
76
+ ],
77
+ state_mutability: 'view',
78
+ },
79
+ {
80
+ name: 'get_l2_token_governance',
81
+ type: 'function',
82
+ inputs: [],
83
+ outputs: [
84
+ {
85
+ type: 'core::starknet::contract_address::ContractAddress',
86
+ },
87
+ ],
88
+ state_mutability: 'view',
89
+ },
90
+ {
91
+ name: 'set_l1_bridge',
92
+ type: 'function',
93
+ inputs: [
94
+ {
95
+ name: 'l1_bridge_address',
96
+ type: 'core::starknet::eth_address::EthAddress',
97
+ },
98
+ ],
99
+ outputs: [],
100
+ state_mutability: 'external',
101
+ },
102
+ {
103
+ name: 'set_erc20_class_hash',
104
+ type: 'function',
105
+ inputs: [
106
+ {
107
+ name: 'erc20_class_hash',
108
+ type: 'core::starknet::class_hash::ClassHash',
109
+ },
110
+ ],
111
+ outputs: [],
112
+ state_mutability: 'external',
113
+ },
114
+ {
115
+ name: 'set_l2_token_governance',
116
+ type: 'function',
117
+ inputs: [
118
+ {
119
+ name: 'l2_token_governance',
120
+ type: 'core::starknet::contract_address::ContractAddress',
121
+ },
122
+ ],
123
+ outputs: [],
124
+ state_mutability: 'external',
125
+ },
126
+ {
127
+ name: 'enable_withdrawal_limit',
128
+ type: 'function',
129
+ inputs: [
130
+ {
131
+ name: 'l1_token',
132
+ type: 'core::starknet::eth_address::EthAddress',
133
+ },
134
+ ],
135
+ outputs: [],
136
+ state_mutability: 'external',
137
+ },
138
+ {
139
+ name: 'disable_withdrawal_limit',
140
+ type: 'function',
141
+ inputs: [
142
+ {
143
+ name: 'l1_token',
144
+ type: 'core::starknet::eth_address::EthAddress',
145
+ },
146
+ ],
147
+ outputs: [],
148
+ state_mutability: 'external',
149
+ },
150
+ ],
151
+ },
152
+ {
153
+ name: 'TokenBridge',
154
+ type: 'impl',
155
+ interface_name: 'src::token_bridge_interface::ITokenBridge',
156
+ },
157
+ {
158
+ name: 'core::integer::u256',
159
+ type: 'struct',
160
+ members: [
161
+ {
162
+ name: 'low',
163
+ type: 'core::integer::u128',
164
+ },
165
+ {
166
+ name: 'high',
167
+ type: 'core::integer::u128',
168
+ },
169
+ ],
170
+ },
171
+ {
172
+ name: 'src::token_bridge_interface::ITokenBridge',
173
+ type: 'interface',
174
+ items: [
175
+ {
176
+ name: 'get_version',
177
+ type: 'function',
178
+ inputs: [],
179
+ outputs: [
180
+ {
181
+ type: 'core::felt252',
182
+ },
183
+ ],
184
+ state_mutability: 'view',
185
+ },
186
+ {
187
+ name: 'get_identity',
188
+ type: 'function',
189
+ inputs: [],
190
+ outputs: [
191
+ {
192
+ type: 'core::felt252',
193
+ },
194
+ ],
195
+ state_mutability: 'view',
196
+ },
197
+ {
198
+ name: 'get_l1_token',
199
+ type: 'function',
200
+ inputs: [
201
+ {
202
+ name: 'l2_token',
203
+ type: 'core::starknet::contract_address::ContractAddress',
204
+ },
205
+ ],
206
+ outputs: [
207
+ {
208
+ type: 'core::starknet::eth_address::EthAddress',
209
+ },
210
+ ],
211
+ state_mutability: 'view',
212
+ },
213
+ {
214
+ name: 'get_l2_token',
215
+ type: 'function',
216
+ inputs: [
217
+ {
218
+ name: 'l1_token',
219
+ type: 'core::starknet::eth_address::EthAddress',
220
+ },
221
+ ],
222
+ outputs: [
223
+ {
224
+ type: 'core::starknet::contract_address::ContractAddress',
225
+ },
226
+ ],
227
+ state_mutability: 'view',
228
+ },
229
+ {
230
+ name: 'get_remaining_withdrawal_quota',
231
+ type: 'function',
232
+ inputs: [
233
+ {
234
+ name: 'l1_token',
235
+ type: 'core::starknet::eth_address::EthAddress',
236
+ },
237
+ ],
238
+ outputs: [
239
+ {
240
+ type: 'core::integer::u256',
241
+ },
242
+ ],
243
+ state_mutability: 'view',
244
+ },
245
+ {
246
+ name: 'initiate_withdraw',
247
+ type: 'function',
248
+ inputs: [
249
+ {
250
+ name: 'l1_recipient',
251
+ type: 'core::starknet::eth_address::EthAddress',
252
+ },
253
+ {
254
+ name: 'amount',
255
+ type: 'core::integer::u256',
256
+ },
257
+ ],
258
+ outputs: [],
259
+ state_mutability: 'external',
260
+ },
261
+ {
262
+ name: 'initiate_token_withdraw',
263
+ type: 'function',
264
+ inputs: [
265
+ {
266
+ name: 'l1_token',
267
+ type: 'core::starknet::eth_address::EthAddress',
268
+ },
269
+ {
270
+ name: 'l1_recipient',
271
+ type: 'core::starknet::eth_address::EthAddress',
272
+ },
273
+ {
274
+ name: 'amount',
275
+ type: 'core::integer::u256',
276
+ },
277
+ ],
278
+ outputs: [],
279
+ state_mutability: 'external',
280
+ },
281
+ ],
282
+ },
283
+ {
284
+ name: 'Replaceable',
285
+ type: 'impl',
286
+ interface_name: 'src::replaceability_interface::IReplaceable',
287
+ },
288
+ {
289
+ name: 'core::array::Span::<core::felt252>',
290
+ type: 'struct',
291
+ members: [
292
+ {
293
+ name: 'snapshot',
294
+ type: '@core::array::Array::<core::felt252>',
295
+ },
296
+ ],
297
+ },
298
+ {
299
+ name: 'src::replaceability_interface::EICData',
300
+ type: 'struct',
301
+ members: [
302
+ {
303
+ name: 'eic_hash',
304
+ type: 'core::starknet::class_hash::ClassHash',
305
+ },
306
+ {
307
+ name: 'eic_init_data',
308
+ type: 'core::array::Span::<core::felt252>',
309
+ },
310
+ ],
311
+ },
312
+ {
313
+ name: 'core::option::Option::<src::replaceability_interface::EICData>',
314
+ type: 'enum',
315
+ variants: [
316
+ {
317
+ name: 'Some',
318
+ type: 'src::replaceability_interface::EICData',
319
+ },
320
+ {
321
+ name: 'None',
322
+ type: '()',
323
+ },
324
+ ],
325
+ },
326
+ {
327
+ name: 'core::bool',
328
+ type: 'enum',
329
+ variants: [
330
+ {
331
+ name: 'False',
332
+ type: '()',
333
+ },
334
+ {
335
+ name: 'True',
336
+ type: '()',
337
+ },
338
+ ],
339
+ },
340
+ {
341
+ name: 'src::replaceability_interface::ImplementationData',
342
+ type: 'struct',
343
+ members: [
344
+ {
345
+ name: 'impl_hash',
346
+ type: 'core::starknet::class_hash::ClassHash',
347
+ },
348
+ {
349
+ name: 'eic_data',
350
+ type: 'core::option::Option::<src::replaceability_interface::EICData>',
351
+ },
352
+ {
353
+ name: 'final',
354
+ type: 'core::bool',
355
+ },
356
+ ],
357
+ },
358
+ {
359
+ name: 'src::replaceability_interface::IReplaceable',
360
+ type: 'interface',
361
+ items: [
362
+ {
363
+ name: 'get_upgrade_delay',
364
+ type: 'function',
365
+ inputs: [],
366
+ outputs: [
367
+ {
368
+ type: 'core::integer::u64',
369
+ },
370
+ ],
371
+ state_mutability: 'view',
372
+ },
373
+ {
374
+ name: 'get_impl_activation_time',
375
+ type: 'function',
376
+ inputs: [
377
+ {
378
+ name: 'implementation_data',
379
+ type: 'src::replaceability_interface::ImplementationData',
380
+ },
381
+ ],
382
+ outputs: [
383
+ {
384
+ type: 'core::integer::u64',
385
+ },
386
+ ],
387
+ state_mutability: 'view',
388
+ },
389
+ {
390
+ name: 'add_new_implementation',
391
+ type: 'function',
392
+ inputs: [
393
+ {
394
+ name: 'implementation_data',
395
+ type: 'src::replaceability_interface::ImplementationData',
396
+ },
397
+ ],
398
+ outputs: [],
399
+ state_mutability: 'external',
400
+ },
401
+ {
402
+ name: 'remove_implementation',
403
+ type: 'function',
404
+ inputs: [
405
+ {
406
+ name: 'implementation_data',
407
+ type: 'src::replaceability_interface::ImplementationData',
408
+ },
409
+ ],
410
+ outputs: [],
411
+ state_mutability: 'external',
412
+ },
413
+ {
414
+ name: 'replace_to',
415
+ type: 'function',
416
+ inputs: [
417
+ {
418
+ name: 'implementation_data',
419
+ type: 'src::replaceability_interface::ImplementationData',
420
+ },
421
+ ],
422
+ outputs: [],
423
+ state_mutability: 'external',
424
+ },
425
+ ],
426
+ },
427
+ {
428
+ name: 'AccessControlImplExternal',
429
+ type: 'impl',
430
+ interface_name: 'src::access_control_interface::IAccessControl',
431
+ },
432
+ {
433
+ name: 'src::access_control_interface::IAccessControl',
434
+ type: 'interface',
435
+ items: [
436
+ {
437
+ name: 'has_role',
438
+ type: 'function',
439
+ inputs: [
440
+ {
441
+ name: 'role',
442
+ type: 'core::felt252',
443
+ },
444
+ {
445
+ name: 'account',
446
+ type: 'core::starknet::contract_address::ContractAddress',
447
+ },
448
+ ],
449
+ outputs: [
450
+ {
451
+ type: 'core::bool',
452
+ },
453
+ ],
454
+ state_mutability: 'view',
455
+ },
456
+ {
457
+ name: 'get_role_admin',
458
+ type: 'function',
459
+ inputs: [
460
+ {
461
+ name: 'role',
462
+ type: 'core::felt252',
463
+ },
464
+ ],
465
+ outputs: [
466
+ {
467
+ type: 'core::felt252',
468
+ },
469
+ ],
470
+ state_mutability: 'view',
471
+ },
472
+ ],
473
+ },
474
+ {
475
+ name: 'RolesImpl',
476
+ type: 'impl',
477
+ interface_name: 'src::roles_interface::IRoles',
478
+ },
479
+ {
480
+ name: 'src::roles_interface::IRoles',
481
+ type: 'interface',
482
+ items: [
483
+ {
484
+ name: 'is_app_governor',
485
+ type: 'function',
486
+ inputs: [
487
+ {
488
+ name: 'account',
489
+ type: 'core::starknet::contract_address::ContractAddress',
490
+ },
491
+ ],
492
+ outputs: [
493
+ {
494
+ type: 'core::bool',
495
+ },
496
+ ],
497
+ state_mutability: 'view',
498
+ },
499
+ {
500
+ name: 'is_app_role_admin',
501
+ type: 'function',
502
+ inputs: [
503
+ {
504
+ name: 'account',
505
+ type: 'core::starknet::contract_address::ContractAddress',
506
+ },
507
+ ],
508
+ outputs: [
509
+ {
510
+ type: 'core::bool',
511
+ },
512
+ ],
513
+ state_mutability: 'view',
514
+ },
515
+ {
516
+ name: 'is_governance_admin',
517
+ type: 'function',
518
+ inputs: [
519
+ {
520
+ name: 'account',
521
+ type: 'core::starknet::contract_address::ContractAddress',
522
+ },
523
+ ],
524
+ outputs: [
525
+ {
526
+ type: 'core::bool',
527
+ },
528
+ ],
529
+ state_mutability: 'view',
530
+ },
531
+ {
532
+ name: 'is_operator',
533
+ type: 'function',
534
+ inputs: [
535
+ {
536
+ name: 'account',
537
+ type: 'core::starknet::contract_address::ContractAddress',
538
+ },
539
+ ],
540
+ outputs: [
541
+ {
542
+ type: 'core::bool',
543
+ },
544
+ ],
545
+ state_mutability: 'view',
546
+ },
547
+ {
548
+ name: 'is_token_admin',
549
+ type: 'function',
550
+ inputs: [
551
+ {
552
+ name: 'account',
553
+ type: 'core::starknet::contract_address::ContractAddress',
554
+ },
555
+ ],
556
+ outputs: [
557
+ {
558
+ type: 'core::bool',
559
+ },
560
+ ],
561
+ state_mutability: 'view',
562
+ },
563
+ {
564
+ name: 'is_upgrade_governor',
565
+ type: 'function',
566
+ inputs: [
567
+ {
568
+ name: 'account',
569
+ type: 'core::starknet::contract_address::ContractAddress',
570
+ },
571
+ ],
572
+ outputs: [
573
+ {
574
+ type: 'core::bool',
575
+ },
576
+ ],
577
+ state_mutability: 'view',
578
+ },
579
+ {
580
+ name: 'is_security_admin',
581
+ type: 'function',
582
+ inputs: [
583
+ {
584
+ name: 'account',
585
+ type: 'core::starknet::contract_address::ContractAddress',
586
+ },
587
+ ],
588
+ outputs: [
589
+ {
590
+ type: 'core::bool',
591
+ },
592
+ ],
593
+ state_mutability: 'view',
594
+ },
595
+ {
596
+ name: 'is_security_agent',
597
+ type: 'function',
598
+ inputs: [
599
+ {
600
+ name: 'account',
601
+ type: 'core::starknet::contract_address::ContractAddress',
602
+ },
603
+ ],
604
+ outputs: [
605
+ {
606
+ type: 'core::bool',
607
+ },
608
+ ],
609
+ state_mutability: 'view',
610
+ },
611
+ {
612
+ name: 'register_app_governor',
613
+ type: 'function',
614
+ inputs: [
615
+ {
616
+ name: 'account',
617
+ type: 'core::starknet::contract_address::ContractAddress',
618
+ },
619
+ ],
620
+ outputs: [],
621
+ state_mutability: 'external',
622
+ },
623
+ {
624
+ name: 'remove_app_governor',
625
+ type: 'function',
626
+ inputs: [
627
+ {
628
+ name: 'account',
629
+ type: 'core::starknet::contract_address::ContractAddress',
630
+ },
631
+ ],
632
+ outputs: [],
633
+ state_mutability: 'external',
634
+ },
635
+ {
636
+ name: 'register_app_role_admin',
637
+ type: 'function',
638
+ inputs: [
639
+ {
640
+ name: 'account',
641
+ type: 'core::starknet::contract_address::ContractAddress',
642
+ },
643
+ ],
644
+ outputs: [],
645
+ state_mutability: 'external',
646
+ },
647
+ {
648
+ name: 'remove_app_role_admin',
649
+ type: 'function',
650
+ inputs: [
651
+ {
652
+ name: 'account',
653
+ type: 'core::starknet::contract_address::ContractAddress',
654
+ },
655
+ ],
656
+ outputs: [],
657
+ state_mutability: 'external',
658
+ },
659
+ {
660
+ name: 'register_governance_admin',
661
+ type: 'function',
662
+ inputs: [
663
+ {
664
+ name: 'account',
665
+ type: 'core::starknet::contract_address::ContractAddress',
666
+ },
667
+ ],
668
+ outputs: [],
669
+ state_mutability: 'external',
670
+ },
671
+ {
672
+ name: 'remove_governance_admin',
673
+ type: 'function',
674
+ inputs: [
675
+ {
676
+ name: 'account',
677
+ type: 'core::starknet::contract_address::ContractAddress',
678
+ },
679
+ ],
680
+ outputs: [],
681
+ state_mutability: 'external',
682
+ },
683
+ {
684
+ name: 'register_operator',
685
+ type: 'function',
686
+ inputs: [
687
+ {
688
+ name: 'account',
689
+ type: 'core::starknet::contract_address::ContractAddress',
690
+ },
691
+ ],
692
+ outputs: [],
693
+ state_mutability: 'external',
694
+ },
695
+ {
696
+ name: 'remove_operator',
697
+ type: 'function',
698
+ inputs: [
699
+ {
700
+ name: 'account',
701
+ type: 'core::starknet::contract_address::ContractAddress',
702
+ },
703
+ ],
704
+ outputs: [],
705
+ state_mutability: 'external',
706
+ },
707
+ {
708
+ name: 'register_token_admin',
709
+ type: 'function',
710
+ inputs: [
711
+ {
712
+ name: 'account',
713
+ type: 'core::starknet::contract_address::ContractAddress',
714
+ },
715
+ ],
716
+ outputs: [],
717
+ state_mutability: 'external',
718
+ },
719
+ {
720
+ name: 'remove_token_admin',
721
+ type: 'function',
722
+ inputs: [
723
+ {
724
+ name: 'account',
725
+ type: 'core::starknet::contract_address::ContractAddress',
726
+ },
727
+ ],
728
+ outputs: [],
729
+ state_mutability: 'external',
730
+ },
731
+ {
732
+ name: 'register_upgrade_governor',
733
+ type: 'function',
734
+ inputs: [
735
+ {
736
+ name: 'account',
737
+ type: 'core::starknet::contract_address::ContractAddress',
738
+ },
739
+ ],
740
+ outputs: [],
741
+ state_mutability: 'external',
742
+ },
743
+ {
744
+ name: 'remove_upgrade_governor',
745
+ type: 'function',
746
+ inputs: [
747
+ {
748
+ name: 'account',
749
+ type: 'core::starknet::contract_address::ContractAddress',
750
+ },
751
+ ],
752
+ outputs: [],
753
+ state_mutability: 'external',
754
+ },
755
+ {
756
+ name: 'renounce',
757
+ type: 'function',
758
+ inputs: [
759
+ {
760
+ name: 'role',
761
+ type: 'core::felt252',
762
+ },
763
+ ],
764
+ outputs: [],
765
+ state_mutability: 'external',
766
+ },
767
+ {
768
+ name: 'register_security_admin',
769
+ type: 'function',
770
+ inputs: [
771
+ {
772
+ name: 'account',
773
+ type: 'core::starknet::contract_address::ContractAddress',
774
+ },
775
+ ],
776
+ outputs: [],
777
+ state_mutability: 'external',
778
+ },
779
+ {
780
+ name: 'remove_security_admin',
781
+ type: 'function',
782
+ inputs: [
783
+ {
784
+ name: 'account',
785
+ type: 'core::starknet::contract_address::ContractAddress',
786
+ },
787
+ ],
788
+ outputs: [],
789
+ state_mutability: 'external',
790
+ },
791
+ {
792
+ name: 'register_security_agent',
793
+ type: 'function',
794
+ inputs: [
795
+ {
796
+ name: 'account',
797
+ type: 'core::starknet::contract_address::ContractAddress',
798
+ },
799
+ ],
800
+ outputs: [],
801
+ state_mutability: 'external',
802
+ },
803
+ {
804
+ name: 'remove_security_agent',
805
+ type: 'function',
806
+ inputs: [
807
+ {
808
+ name: 'account',
809
+ type: 'core::starknet::contract_address::ContractAddress',
810
+ },
811
+ ],
812
+ outputs: [],
813
+ state_mutability: 'external',
814
+ },
815
+ ],
816
+ },
817
+ {
818
+ name: 'constructor',
819
+ type: 'constructor',
820
+ inputs: [
821
+ {
822
+ name: 'provisional_governance_admin',
823
+ type: 'core::starknet::contract_address::ContractAddress',
824
+ },
825
+ {
826
+ name: 'upgrade_delay',
827
+ type: 'core::integer::u64',
828
+ },
829
+ ],
830
+ },
831
+ {
832
+ name: 'handle_deposit',
833
+ type: 'l1_handler',
834
+ inputs: [
835
+ {
836
+ name: 'from_address',
837
+ type: 'core::felt252',
838
+ },
839
+ {
840
+ name: 'l2_recipient',
841
+ type: 'core::starknet::contract_address::ContractAddress',
842
+ },
843
+ {
844
+ name: 'amount',
845
+ type: 'core::integer::u256',
846
+ },
847
+ ],
848
+ outputs: [],
849
+ state_mutability: 'external',
850
+ },
851
+ {
852
+ name: 'handle_token_deposit',
853
+ type: 'l1_handler',
854
+ inputs: [
855
+ {
856
+ name: 'from_address',
857
+ type: 'core::felt252',
858
+ },
859
+ {
860
+ name: 'l1_token',
861
+ type: 'core::starknet::eth_address::EthAddress',
862
+ },
863
+ {
864
+ name: 'depositor',
865
+ type: 'core::starknet::eth_address::EthAddress',
866
+ },
867
+ {
868
+ name: 'l2_recipient',
869
+ type: 'core::starknet::contract_address::ContractAddress',
870
+ },
871
+ {
872
+ name: 'amount',
873
+ type: 'core::integer::u256',
874
+ },
875
+ ],
876
+ outputs: [],
877
+ state_mutability: 'external',
878
+ },
879
+ {
880
+ name: 'handle_deposit_with_message',
881
+ type: 'l1_handler',
882
+ inputs: [
883
+ {
884
+ name: 'from_address',
885
+ type: 'core::felt252',
886
+ },
887
+ {
888
+ name: 'l1_token',
889
+ type: 'core::starknet::eth_address::EthAddress',
890
+ },
891
+ {
892
+ name: 'depositor',
893
+ type: 'core::starknet::eth_address::EthAddress',
894
+ },
895
+ {
896
+ name: 'l2_recipient',
897
+ type: 'core::starknet::contract_address::ContractAddress',
898
+ },
899
+ {
900
+ name: 'amount',
901
+ type: 'core::integer::u256',
902
+ },
903
+ {
904
+ name: 'message',
905
+ type: 'core::array::Span::<core::felt252>',
906
+ },
907
+ ],
908
+ outputs: [],
909
+ state_mutability: 'external',
910
+ },
911
+ {
912
+ name: 'handle_token_deployment',
913
+ type: 'l1_handler',
914
+ inputs: [
915
+ {
916
+ name: 'from_address',
917
+ type: 'core::felt252',
918
+ },
919
+ {
920
+ name: 'l1_token',
921
+ type: 'core::starknet::eth_address::EthAddress',
922
+ },
923
+ {
924
+ name: 'name',
925
+ type: 'core::felt252',
926
+ },
927
+ {
928
+ name: 'symbol',
929
+ type: 'core::felt252',
930
+ },
931
+ {
932
+ name: 'decimals',
933
+ type: 'core::integer::u8',
934
+ },
935
+ ],
936
+ outputs: [],
937
+ state_mutability: 'external',
938
+ },
939
+ {
940
+ kind: 'struct',
941
+ name: 'src::token_bridge::TokenBridge::L1BridgeSet',
942
+ type: 'event',
943
+ members: [
944
+ {
945
+ kind: 'data',
946
+ name: 'l1_bridge_address',
947
+ type: 'core::starknet::eth_address::EthAddress',
948
+ },
949
+ ],
950
+ },
951
+ {
952
+ kind: 'struct',
953
+ name: 'src::token_bridge::TokenBridge::Erc20ClassHashStored',
954
+ type: 'event',
955
+ members: [
956
+ {
957
+ kind: 'data',
958
+ name: 'previous_hash',
959
+ type: 'core::starknet::class_hash::ClassHash',
960
+ },
961
+ {
962
+ kind: 'data',
963
+ name: 'erc20_class_hash',
964
+ type: 'core::starknet::class_hash::ClassHash',
965
+ },
966
+ ],
967
+ },
968
+ {
969
+ kind: 'struct',
970
+ name: 'src::token_bridge::TokenBridge::L2TokenGovernanceChanged',
971
+ type: 'event',
972
+ members: [
973
+ {
974
+ kind: 'data',
975
+ name: 'previous_governance',
976
+ type: 'core::starknet::contract_address::ContractAddress',
977
+ },
978
+ {
979
+ kind: 'data',
980
+ name: 'new_governance',
981
+ type: 'core::starknet::contract_address::ContractAddress',
982
+ },
983
+ ],
984
+ },
985
+ {
986
+ kind: 'struct',
987
+ name: 'src::token_bridge::TokenBridge::withdraw_initiated',
988
+ type: 'event',
989
+ members: [
990
+ {
991
+ kind: 'data',
992
+ name: 'l1_recipient',
993
+ type: 'core::starknet::eth_address::EthAddress',
994
+ },
995
+ {
996
+ kind: 'data',
997
+ name: 'amount',
998
+ type: 'core::integer::u256',
999
+ },
1000
+ {
1001
+ kind: 'data',
1002
+ name: 'caller_address',
1003
+ type: 'core::starknet::contract_address::ContractAddress',
1004
+ },
1005
+ ],
1006
+ },
1007
+ {
1008
+ kind: 'struct',
1009
+ name: 'src::token_bridge::TokenBridge::WithdrawInitiated',
1010
+ type: 'event',
1011
+ members: [
1012
+ {
1013
+ kind: 'key',
1014
+ name: 'l1_token',
1015
+ type: 'core::starknet::eth_address::EthAddress',
1016
+ },
1017
+ {
1018
+ kind: 'key',
1019
+ name: 'l1_recipient',
1020
+ type: 'core::starknet::eth_address::EthAddress',
1021
+ },
1022
+ {
1023
+ kind: 'data',
1024
+ name: 'amount',
1025
+ type: 'core::integer::u256',
1026
+ },
1027
+ {
1028
+ kind: 'key',
1029
+ name: 'caller_address',
1030
+ type: 'core::starknet::contract_address::ContractAddress',
1031
+ },
1032
+ ],
1033
+ },
1034
+ {
1035
+ kind: 'struct',
1036
+ name: 'src::token_bridge::TokenBridge::deposit_handled',
1037
+ type: 'event',
1038
+ members: [
1039
+ {
1040
+ kind: 'data',
1041
+ name: 'account',
1042
+ type: 'core::starknet::contract_address::ContractAddress',
1043
+ },
1044
+ {
1045
+ kind: 'data',
1046
+ name: 'amount',
1047
+ type: 'core::integer::u256',
1048
+ },
1049
+ ],
1050
+ },
1051
+ {
1052
+ kind: 'struct',
1053
+ name: 'src::token_bridge::TokenBridge::DepositHandled',
1054
+ type: 'event',
1055
+ members: [
1056
+ {
1057
+ kind: 'key',
1058
+ name: 'l1_token',
1059
+ type: 'core::starknet::eth_address::EthAddress',
1060
+ },
1061
+ {
1062
+ kind: 'key',
1063
+ name: 'l2_recipient',
1064
+ type: 'core::starknet::contract_address::ContractAddress',
1065
+ },
1066
+ {
1067
+ kind: 'data',
1068
+ name: 'amount',
1069
+ type: 'core::integer::u256',
1070
+ },
1071
+ ],
1072
+ },
1073
+ {
1074
+ kind: 'struct',
1075
+ name: 'src::token_bridge::TokenBridge::DepositWithMessageHandled',
1076
+ type: 'event',
1077
+ members: [
1078
+ {
1079
+ kind: 'key',
1080
+ name: 'depositor',
1081
+ type: 'core::starknet::eth_address::EthAddress',
1082
+ },
1083
+ {
1084
+ kind: 'key',
1085
+ name: 'l1_token',
1086
+ type: 'core::starknet::eth_address::EthAddress',
1087
+ },
1088
+ {
1089
+ kind: 'key',
1090
+ name: 'l2_recipient',
1091
+ type: 'core::starknet::contract_address::ContractAddress',
1092
+ },
1093
+ {
1094
+ kind: 'data',
1095
+ name: 'amount',
1096
+ type: 'core::integer::u256',
1097
+ },
1098
+ {
1099
+ kind: 'data',
1100
+ name: 'message',
1101
+ type: 'core::array::Span::<core::felt252>',
1102
+ },
1103
+ ],
1104
+ },
1105
+ {
1106
+ kind: 'struct',
1107
+ name: 'src::token_bridge::TokenBridge::DeployHandled',
1108
+ type: 'event',
1109
+ members: [
1110
+ {
1111
+ kind: 'data',
1112
+ name: 'l1_token',
1113
+ type: 'core::starknet::eth_address::EthAddress',
1114
+ },
1115
+ {
1116
+ kind: 'data',
1117
+ name: 'name',
1118
+ type: 'core::felt252',
1119
+ },
1120
+ {
1121
+ kind: 'data',
1122
+ name: 'symbol',
1123
+ type: 'core::felt252',
1124
+ },
1125
+ {
1126
+ kind: 'data',
1127
+ name: 'decimals',
1128
+ type: 'core::integer::u8',
1129
+ },
1130
+ ],
1131
+ },
1132
+ {
1133
+ kind: 'struct',
1134
+ name: 'src::token_bridge::TokenBridge::WithdrawalLimitEnabled',
1135
+ type: 'event',
1136
+ members: [
1137
+ {
1138
+ kind: 'key',
1139
+ name: 'sender',
1140
+ type: 'core::starknet::contract_address::ContractAddress',
1141
+ },
1142
+ {
1143
+ kind: 'key',
1144
+ name: 'l1_token',
1145
+ type: 'core::starknet::eth_address::EthAddress',
1146
+ },
1147
+ ],
1148
+ },
1149
+ {
1150
+ kind: 'struct',
1151
+ name: 'src::token_bridge::TokenBridge::WithdrawalLimitDisabled',
1152
+ type: 'event',
1153
+ members: [
1154
+ {
1155
+ kind: 'key',
1156
+ name: 'sender',
1157
+ type: 'core::starknet::contract_address::ContractAddress',
1158
+ },
1159
+ {
1160
+ kind: 'key',
1161
+ name: 'l1_token',
1162
+ type: 'core::starknet::eth_address::EthAddress',
1163
+ },
1164
+ ],
1165
+ },
1166
+ {
1167
+ kind: 'struct',
1168
+ name: 'src::replaceability_interface::ImplementationAdded',
1169
+ type: 'event',
1170
+ members: [
1171
+ {
1172
+ kind: 'data',
1173
+ name: 'implementation_data',
1174
+ type: 'src::replaceability_interface::ImplementationData',
1175
+ },
1176
+ ],
1177
+ },
1178
+ {
1179
+ kind: 'struct',
1180
+ name: 'src::replaceability_interface::ImplementationRemoved',
1181
+ type: 'event',
1182
+ members: [
1183
+ {
1184
+ kind: 'data',
1185
+ name: 'implementation_data',
1186
+ type: 'src::replaceability_interface::ImplementationData',
1187
+ },
1188
+ ],
1189
+ },
1190
+ {
1191
+ kind: 'struct',
1192
+ name: 'src::replaceability_interface::ImplementationReplaced',
1193
+ type: 'event',
1194
+ members: [
1195
+ {
1196
+ kind: 'data',
1197
+ name: 'implementation_data',
1198
+ type: 'src::replaceability_interface::ImplementationData',
1199
+ },
1200
+ ],
1201
+ },
1202
+ {
1203
+ kind: 'struct',
1204
+ name: 'src::replaceability_interface::ImplementationFinalized',
1205
+ type: 'event',
1206
+ members: [
1207
+ {
1208
+ kind: 'data',
1209
+ name: 'impl_hash',
1210
+ type: 'core::starknet::class_hash::ClassHash',
1211
+ },
1212
+ ],
1213
+ },
1214
+ {
1215
+ kind: 'struct',
1216
+ name: 'src::access_control_interface::RoleGranted',
1217
+ type: 'event',
1218
+ members: [
1219
+ {
1220
+ kind: 'data',
1221
+ name: 'role',
1222
+ type: 'core::felt252',
1223
+ },
1224
+ {
1225
+ kind: 'data',
1226
+ name: 'account',
1227
+ type: 'core::starknet::contract_address::ContractAddress',
1228
+ },
1229
+ {
1230
+ kind: 'data',
1231
+ name: 'sender',
1232
+ type: 'core::starknet::contract_address::ContractAddress',
1233
+ },
1234
+ ],
1235
+ },
1236
+ {
1237
+ kind: 'struct',
1238
+ name: 'src::access_control_interface::RoleRevoked',
1239
+ type: 'event',
1240
+ members: [
1241
+ {
1242
+ kind: 'data',
1243
+ name: 'role',
1244
+ type: 'core::felt252',
1245
+ },
1246
+ {
1247
+ kind: 'data',
1248
+ name: 'account',
1249
+ type: 'core::starknet::contract_address::ContractAddress',
1250
+ },
1251
+ {
1252
+ kind: 'data',
1253
+ name: 'sender',
1254
+ type: 'core::starknet::contract_address::ContractAddress',
1255
+ },
1256
+ ],
1257
+ },
1258
+ {
1259
+ kind: 'struct',
1260
+ name: 'src::access_control_interface::RoleAdminChanged',
1261
+ type: 'event',
1262
+ members: [
1263
+ {
1264
+ kind: 'data',
1265
+ name: 'role',
1266
+ type: 'core::felt252',
1267
+ },
1268
+ {
1269
+ kind: 'data',
1270
+ name: 'previous_admin_role',
1271
+ type: 'core::felt252',
1272
+ },
1273
+ {
1274
+ kind: 'data',
1275
+ name: 'new_admin_role',
1276
+ type: 'core::felt252',
1277
+ },
1278
+ ],
1279
+ },
1280
+ {
1281
+ kind: 'struct',
1282
+ name: 'src::roles_interface::AppGovernorAdded',
1283
+ type: 'event',
1284
+ members: [
1285
+ {
1286
+ kind: 'data',
1287
+ name: 'added_account',
1288
+ type: 'core::starknet::contract_address::ContractAddress',
1289
+ },
1290
+ {
1291
+ kind: 'data',
1292
+ name: 'added_by',
1293
+ type: 'core::starknet::contract_address::ContractAddress',
1294
+ },
1295
+ ],
1296
+ },
1297
+ {
1298
+ kind: 'struct',
1299
+ name: 'src::roles_interface::AppGovernorRemoved',
1300
+ type: 'event',
1301
+ members: [
1302
+ {
1303
+ kind: 'data',
1304
+ name: 'removed_account',
1305
+ type: 'core::starknet::contract_address::ContractAddress',
1306
+ },
1307
+ {
1308
+ kind: 'data',
1309
+ name: 'removed_by',
1310
+ type: 'core::starknet::contract_address::ContractAddress',
1311
+ },
1312
+ ],
1313
+ },
1314
+ {
1315
+ kind: 'struct',
1316
+ name: 'src::roles_interface::AppRoleAdminAdded',
1317
+ type: 'event',
1318
+ members: [
1319
+ {
1320
+ kind: 'data',
1321
+ name: 'added_account',
1322
+ type: 'core::starknet::contract_address::ContractAddress',
1323
+ },
1324
+ {
1325
+ kind: 'data',
1326
+ name: 'added_by',
1327
+ type: 'core::starknet::contract_address::ContractAddress',
1328
+ },
1329
+ ],
1330
+ },
1331
+ {
1332
+ kind: 'struct',
1333
+ name: 'src::roles_interface::AppRoleAdminRemoved',
1334
+ type: 'event',
1335
+ members: [
1336
+ {
1337
+ kind: 'data',
1338
+ name: 'removed_account',
1339
+ type: 'core::starknet::contract_address::ContractAddress',
1340
+ },
1341
+ {
1342
+ kind: 'data',
1343
+ name: 'removed_by',
1344
+ type: 'core::starknet::contract_address::ContractAddress',
1345
+ },
1346
+ ],
1347
+ },
1348
+ {
1349
+ kind: 'struct',
1350
+ name: 'src::roles_interface::GovernanceAdminAdded',
1351
+ type: 'event',
1352
+ members: [
1353
+ {
1354
+ kind: 'data',
1355
+ name: 'added_account',
1356
+ type: 'core::starknet::contract_address::ContractAddress',
1357
+ },
1358
+ {
1359
+ kind: 'data',
1360
+ name: 'added_by',
1361
+ type: 'core::starknet::contract_address::ContractAddress',
1362
+ },
1363
+ ],
1364
+ },
1365
+ {
1366
+ kind: 'struct',
1367
+ name: 'src::roles_interface::GovernanceAdminRemoved',
1368
+ type: 'event',
1369
+ members: [
1370
+ {
1371
+ kind: 'data',
1372
+ name: 'removed_account',
1373
+ type: 'core::starknet::contract_address::ContractAddress',
1374
+ },
1375
+ {
1376
+ kind: 'data',
1377
+ name: 'removed_by',
1378
+ type: 'core::starknet::contract_address::ContractAddress',
1379
+ },
1380
+ ],
1381
+ },
1382
+ {
1383
+ kind: 'struct',
1384
+ name: 'src::roles_interface::OperatorAdded',
1385
+ type: 'event',
1386
+ members: [
1387
+ {
1388
+ kind: 'data',
1389
+ name: 'added_account',
1390
+ type: 'core::starknet::contract_address::ContractAddress',
1391
+ },
1392
+ {
1393
+ kind: 'data',
1394
+ name: 'added_by',
1395
+ type: 'core::starknet::contract_address::ContractAddress',
1396
+ },
1397
+ ],
1398
+ },
1399
+ {
1400
+ kind: 'struct',
1401
+ name: 'src::roles_interface::OperatorRemoved',
1402
+ type: 'event',
1403
+ members: [
1404
+ {
1405
+ kind: 'data',
1406
+ name: 'removed_account',
1407
+ type: 'core::starknet::contract_address::ContractAddress',
1408
+ },
1409
+ {
1410
+ kind: 'data',
1411
+ name: 'removed_by',
1412
+ type: 'core::starknet::contract_address::ContractAddress',
1413
+ },
1414
+ ],
1415
+ },
1416
+ {
1417
+ kind: 'struct',
1418
+ name: 'src::roles_interface::TokenAdminAdded',
1419
+ type: 'event',
1420
+ members: [
1421
+ {
1422
+ kind: 'data',
1423
+ name: 'added_account',
1424
+ type: 'core::starknet::contract_address::ContractAddress',
1425
+ },
1426
+ {
1427
+ kind: 'data',
1428
+ name: 'added_by',
1429
+ type: 'core::starknet::contract_address::ContractAddress',
1430
+ },
1431
+ ],
1432
+ },
1433
+ {
1434
+ kind: 'struct',
1435
+ name: 'src::roles_interface::TokenAdminRemoved',
1436
+ type: 'event',
1437
+ members: [
1438
+ {
1439
+ kind: 'data',
1440
+ name: 'removed_account',
1441
+ type: 'core::starknet::contract_address::ContractAddress',
1442
+ },
1443
+ {
1444
+ kind: 'data',
1445
+ name: 'removed_by',
1446
+ type: 'core::starknet::contract_address::ContractAddress',
1447
+ },
1448
+ ],
1449
+ },
1450
+ {
1451
+ kind: 'struct',
1452
+ name: 'src::roles_interface::UpgradeGovernorAdded',
1453
+ type: 'event',
1454
+ members: [
1455
+ {
1456
+ kind: 'data',
1457
+ name: 'added_account',
1458
+ type: 'core::starknet::contract_address::ContractAddress',
1459
+ },
1460
+ {
1461
+ kind: 'data',
1462
+ name: 'added_by',
1463
+ type: 'core::starknet::contract_address::ContractAddress',
1464
+ },
1465
+ ],
1466
+ },
1467
+ {
1468
+ kind: 'struct',
1469
+ name: 'src::roles_interface::UpgradeGovernorRemoved',
1470
+ type: 'event',
1471
+ members: [
1472
+ {
1473
+ kind: 'data',
1474
+ name: 'removed_account',
1475
+ type: 'core::starknet::contract_address::ContractAddress',
1476
+ },
1477
+ {
1478
+ kind: 'data',
1479
+ name: 'removed_by',
1480
+ type: 'core::starknet::contract_address::ContractAddress',
1481
+ },
1482
+ ],
1483
+ },
1484
+ {
1485
+ kind: 'struct',
1486
+ name: 'src::roles_interface::SecurityAdminAdded',
1487
+ type: 'event',
1488
+ members: [
1489
+ {
1490
+ kind: 'data',
1491
+ name: 'added_account',
1492
+ type: 'core::starknet::contract_address::ContractAddress',
1493
+ },
1494
+ {
1495
+ kind: 'data',
1496
+ name: 'added_by',
1497
+ type: 'core::starknet::contract_address::ContractAddress',
1498
+ },
1499
+ ],
1500
+ },
1501
+ {
1502
+ kind: 'struct',
1503
+ name: 'src::roles_interface::SecurityAdminRemoved',
1504
+ type: 'event',
1505
+ members: [
1506
+ {
1507
+ kind: 'data',
1508
+ name: 'removed_account',
1509
+ type: 'core::starknet::contract_address::ContractAddress',
1510
+ },
1511
+ {
1512
+ kind: 'data',
1513
+ name: 'removed_by',
1514
+ type: 'core::starknet::contract_address::ContractAddress',
1515
+ },
1516
+ ],
1517
+ },
1518
+ {
1519
+ kind: 'struct',
1520
+ name: 'src::roles_interface::SecurityAgentAdded',
1521
+ type: 'event',
1522
+ members: [
1523
+ {
1524
+ kind: 'data',
1525
+ name: 'added_account',
1526
+ type: 'core::starknet::contract_address::ContractAddress',
1527
+ },
1528
+ {
1529
+ kind: 'data',
1530
+ name: 'added_by',
1531
+ type: 'core::starknet::contract_address::ContractAddress',
1532
+ },
1533
+ ],
1534
+ },
1535
+ {
1536
+ kind: 'struct',
1537
+ name: 'src::roles_interface::SecurityAgentRemoved',
1538
+ type: 'event',
1539
+ members: [
1540
+ {
1541
+ kind: 'data',
1542
+ name: 'removed_account',
1543
+ type: 'core::starknet::contract_address::ContractAddress',
1544
+ },
1545
+ {
1546
+ kind: 'data',
1547
+ name: 'removed_by',
1548
+ type: 'core::starknet::contract_address::ContractAddress',
1549
+ },
1550
+ ],
1551
+ },
1552
+ {
1553
+ kind: 'enum',
1554
+ name: 'src::token_bridge::TokenBridge::Event',
1555
+ type: 'event',
1556
+ variants: [
1557
+ {
1558
+ kind: 'nested',
1559
+ name: 'L1BridgeSet',
1560
+ type: 'src::token_bridge::TokenBridge::L1BridgeSet',
1561
+ },
1562
+ {
1563
+ kind: 'nested',
1564
+ name: 'Erc20ClassHashStored',
1565
+ type: 'src::token_bridge::TokenBridge::Erc20ClassHashStored',
1566
+ },
1567
+ {
1568
+ kind: 'nested',
1569
+ name: 'L2TokenGovernanceChanged',
1570
+ type: 'src::token_bridge::TokenBridge::L2TokenGovernanceChanged',
1571
+ },
1572
+ {
1573
+ kind: 'nested',
1574
+ name: 'withdraw_initiated',
1575
+ type: 'src::token_bridge::TokenBridge::withdraw_initiated',
1576
+ },
1577
+ {
1578
+ kind: 'nested',
1579
+ name: 'WithdrawInitiated',
1580
+ type: 'src::token_bridge::TokenBridge::WithdrawInitiated',
1581
+ },
1582
+ {
1583
+ kind: 'nested',
1584
+ name: 'deposit_handled',
1585
+ type: 'src::token_bridge::TokenBridge::deposit_handled',
1586
+ },
1587
+ {
1588
+ kind: 'nested',
1589
+ name: 'DepositHandled',
1590
+ type: 'src::token_bridge::TokenBridge::DepositHandled',
1591
+ },
1592
+ {
1593
+ kind: 'nested',
1594
+ name: 'DepositWithMessageHandled',
1595
+ type: 'src::token_bridge::TokenBridge::DepositWithMessageHandled',
1596
+ },
1597
+ {
1598
+ kind: 'nested',
1599
+ name: 'DeployHandled',
1600
+ type: 'src::token_bridge::TokenBridge::DeployHandled',
1601
+ },
1602
+ {
1603
+ kind: 'nested',
1604
+ name: 'WithdrawalLimitEnabled',
1605
+ type: 'src::token_bridge::TokenBridge::WithdrawalLimitEnabled',
1606
+ },
1607
+ {
1608
+ kind: 'nested',
1609
+ name: 'WithdrawalLimitDisabled',
1610
+ type: 'src::token_bridge::TokenBridge::WithdrawalLimitDisabled',
1611
+ },
1612
+ {
1613
+ kind: 'nested',
1614
+ name: 'ImplementationAdded',
1615
+ type: 'src::replaceability_interface::ImplementationAdded',
1616
+ },
1617
+ {
1618
+ kind: 'nested',
1619
+ name: 'ImplementationRemoved',
1620
+ type: 'src::replaceability_interface::ImplementationRemoved',
1621
+ },
1622
+ {
1623
+ kind: 'nested',
1624
+ name: 'ImplementationReplaced',
1625
+ type: 'src::replaceability_interface::ImplementationReplaced',
1626
+ },
1627
+ {
1628
+ kind: 'nested',
1629
+ name: 'ImplementationFinalized',
1630
+ type: 'src::replaceability_interface::ImplementationFinalized',
1631
+ },
1632
+ {
1633
+ kind: 'nested',
1634
+ name: 'RoleGranted',
1635
+ type: 'src::access_control_interface::RoleGranted',
1636
+ },
1637
+ {
1638
+ kind: 'nested',
1639
+ name: 'RoleRevoked',
1640
+ type: 'src::access_control_interface::RoleRevoked',
1641
+ },
1642
+ {
1643
+ kind: 'nested',
1644
+ name: 'RoleAdminChanged',
1645
+ type: 'src::access_control_interface::RoleAdminChanged',
1646
+ },
1647
+ {
1648
+ kind: 'nested',
1649
+ name: 'AppGovernorAdded',
1650
+ type: 'src::roles_interface::AppGovernorAdded',
1651
+ },
1652
+ {
1653
+ kind: 'nested',
1654
+ name: 'AppGovernorRemoved',
1655
+ type: 'src::roles_interface::AppGovernorRemoved',
1656
+ },
1657
+ {
1658
+ kind: 'nested',
1659
+ name: 'AppRoleAdminAdded',
1660
+ type: 'src::roles_interface::AppRoleAdminAdded',
1661
+ },
1662
+ {
1663
+ kind: 'nested',
1664
+ name: 'AppRoleAdminRemoved',
1665
+ type: 'src::roles_interface::AppRoleAdminRemoved',
1666
+ },
1667
+ {
1668
+ kind: 'nested',
1669
+ name: 'GovernanceAdminAdded',
1670
+ type: 'src::roles_interface::GovernanceAdminAdded',
1671
+ },
1672
+ {
1673
+ kind: 'nested',
1674
+ name: 'GovernanceAdminRemoved',
1675
+ type: 'src::roles_interface::GovernanceAdminRemoved',
1676
+ },
1677
+ {
1678
+ kind: 'nested',
1679
+ name: 'OperatorAdded',
1680
+ type: 'src::roles_interface::OperatorAdded',
1681
+ },
1682
+ {
1683
+ kind: 'nested',
1684
+ name: 'OperatorRemoved',
1685
+ type: 'src::roles_interface::OperatorRemoved',
1686
+ },
1687
+ {
1688
+ kind: 'nested',
1689
+ name: 'TokenAdminAdded',
1690
+ type: 'src::roles_interface::TokenAdminAdded',
1691
+ },
1692
+ {
1693
+ kind: 'nested',
1694
+ name: 'TokenAdminRemoved',
1695
+ type: 'src::roles_interface::TokenAdminRemoved',
1696
+ },
1697
+ {
1698
+ kind: 'nested',
1699
+ name: 'UpgradeGovernorAdded',
1700
+ type: 'src::roles_interface::UpgradeGovernorAdded',
1701
+ },
1702
+ {
1703
+ kind: 'nested',
1704
+ name: 'UpgradeGovernorRemoved',
1705
+ type: 'src::roles_interface::UpgradeGovernorRemoved',
1706
+ },
1707
+ {
1708
+ kind: 'nested',
1709
+ name: 'SecurityAdminAdded',
1710
+ type: 'src::roles_interface::SecurityAdminAdded',
1711
+ },
1712
+ {
1713
+ kind: 'nested',
1714
+ name: 'SecurityAdminRemoved',
1715
+ type: 'src::roles_interface::SecurityAdminRemoved',
1716
+ },
1717
+ {
1718
+ kind: 'nested',
1719
+ name: 'SecurityAgentAdded',
1720
+ type: 'src::roles_interface::SecurityAgentAdded',
1721
+ },
1722
+ {
1723
+ kind: 'nested',
1724
+ name: 'SecurityAgentRemoved',
1725
+ type: 'src::roles_interface::SecurityAgentRemoved',
1726
+ },
1727
+ ],
1728
+ },
1729
+ ];
1730
+ //# sourceMappingURL=bridge-swss.abi.js.map