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