@lombard.finance/sdk-starknet 0.3.0-canary.2

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