@kasarlabs/argent-mcp 0.1.0

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