@typemove/iota 2.0.3 → 2.0.4-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/builtin/0x2.d.ts +27 -0
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +150 -1
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/package.json +3 -3
- package/src/abis/0x2.json +263 -0
- package/src/builtin/0x2.ts +221 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@typemove/iota",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4-rc.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@iota/iota-sdk": "~1.14.0",
|
|
31
31
|
"chalk": "^5.6.2",
|
|
32
|
-
"commander": "^
|
|
32
|
+
"commander": "^15.0.0",
|
|
33
33
|
"prettier": "^3.8.3",
|
|
34
34
|
"radash": "^12.1.1",
|
|
35
|
-
"@typemove/move": "2.0.
|
|
35
|
+
"@typemove/move": "2.0.4-rc.1"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"_gen": "pnpm gen:test && tsx src/codegen/run.ts -t src/builtin -a src/abis",
|
package/src/abis/0x2.json
CHANGED
|
@@ -512,6 +512,51 @@
|
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
514
|
]
|
|
515
|
+
},
|
|
516
|
+
"AuthenticatorFunctionInfoV1": {
|
|
517
|
+
"abilities": {
|
|
518
|
+
"abilities": [
|
|
519
|
+
"Copy",
|
|
520
|
+
"Drop",
|
|
521
|
+
"Store"
|
|
522
|
+
]
|
|
523
|
+
},
|
|
524
|
+
"typeParameters": [],
|
|
525
|
+
"fields": [
|
|
526
|
+
{
|
|
527
|
+
"name": "package",
|
|
528
|
+
"type": {
|
|
529
|
+
"Struct": {
|
|
530
|
+
"address": "0x2",
|
|
531
|
+
"module": "object",
|
|
532
|
+
"name": "ID",
|
|
533
|
+
"typeArguments": []
|
|
534
|
+
}
|
|
535
|
+
}
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "module_name",
|
|
539
|
+
"type": {
|
|
540
|
+
"Struct": {
|
|
541
|
+
"address": "0x1",
|
|
542
|
+
"module": "ascii",
|
|
543
|
+
"name": "String",
|
|
544
|
+
"typeArguments": []
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "function_name",
|
|
550
|
+
"type": {
|
|
551
|
+
"Struct": {
|
|
552
|
+
"address": "0x1",
|
|
553
|
+
"module": "ascii",
|
|
554
|
+
"name": "String",
|
|
555
|
+
"typeArguments": []
|
|
556
|
+
}
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
]
|
|
515
560
|
}
|
|
516
561
|
},
|
|
517
562
|
"exposedFunctions": {
|
|
@@ -539,6 +584,35 @@
|
|
|
539
584
|
}
|
|
540
585
|
]
|
|
541
586
|
},
|
|
587
|
+
"function_name": {
|
|
588
|
+
"visibility": "Public",
|
|
589
|
+
"isEntry": false,
|
|
590
|
+
"typeParameters": [],
|
|
591
|
+
"parameters": [
|
|
592
|
+
{
|
|
593
|
+
"Reference": {
|
|
594
|
+
"Struct": {
|
|
595
|
+
"address": "0x2",
|
|
596
|
+
"module": "auth_context",
|
|
597
|
+
"name": "AuthenticatorFunctionInfoV1",
|
|
598
|
+
"typeArguments": []
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
],
|
|
603
|
+
"return": [
|
|
604
|
+
{
|
|
605
|
+
"Reference": {
|
|
606
|
+
"Struct": {
|
|
607
|
+
"address": "0x1",
|
|
608
|
+
"module": "ascii",
|
|
609
|
+
"name": "String",
|
|
610
|
+
"typeArguments": []
|
|
611
|
+
}
|
|
612
|
+
}
|
|
613
|
+
}
|
|
614
|
+
]
|
|
615
|
+
},
|
|
542
616
|
"intent_tx_data_bytes": {
|
|
543
617
|
"visibility": "Public",
|
|
544
618
|
"isEntry": false,
|
|
@@ -561,6 +635,124 @@
|
|
|
561
635
|
}
|
|
562
636
|
]
|
|
563
637
|
},
|
|
638
|
+
"module_name": {
|
|
639
|
+
"visibility": "Public",
|
|
640
|
+
"isEntry": false,
|
|
641
|
+
"typeParameters": [],
|
|
642
|
+
"parameters": [
|
|
643
|
+
{
|
|
644
|
+
"Reference": {
|
|
645
|
+
"Struct": {
|
|
646
|
+
"address": "0x2",
|
|
647
|
+
"module": "auth_context",
|
|
648
|
+
"name": "AuthenticatorFunctionInfoV1",
|
|
649
|
+
"typeArguments": []
|
|
650
|
+
}
|
|
651
|
+
}
|
|
652
|
+
}
|
|
653
|
+
],
|
|
654
|
+
"return": [
|
|
655
|
+
{
|
|
656
|
+
"Reference": {
|
|
657
|
+
"Struct": {
|
|
658
|
+
"address": "0x1",
|
|
659
|
+
"module": "ascii",
|
|
660
|
+
"name": "String",
|
|
661
|
+
"typeArguments": []
|
|
662
|
+
}
|
|
663
|
+
}
|
|
664
|
+
}
|
|
665
|
+
]
|
|
666
|
+
},
|
|
667
|
+
"package": {
|
|
668
|
+
"visibility": "Public",
|
|
669
|
+
"isEntry": false,
|
|
670
|
+
"typeParameters": [],
|
|
671
|
+
"parameters": [
|
|
672
|
+
{
|
|
673
|
+
"Reference": {
|
|
674
|
+
"Struct": {
|
|
675
|
+
"address": "0x2",
|
|
676
|
+
"module": "auth_context",
|
|
677
|
+
"name": "AuthenticatorFunctionInfoV1",
|
|
678
|
+
"typeArguments": []
|
|
679
|
+
}
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
],
|
|
683
|
+
"return": [
|
|
684
|
+
{
|
|
685
|
+
"Struct": {
|
|
686
|
+
"address": "0x2",
|
|
687
|
+
"module": "object",
|
|
688
|
+
"name": "ID",
|
|
689
|
+
"typeArguments": []
|
|
690
|
+
}
|
|
691
|
+
}
|
|
692
|
+
]
|
|
693
|
+
},
|
|
694
|
+
"sender_auth_digest": {
|
|
695
|
+
"visibility": "Public",
|
|
696
|
+
"isEntry": false,
|
|
697
|
+
"typeParameters": [],
|
|
698
|
+
"parameters": [
|
|
699
|
+
{
|
|
700
|
+
"Reference": {
|
|
701
|
+
"Struct": {
|
|
702
|
+
"address": "0x2",
|
|
703
|
+
"module": "auth_context",
|
|
704
|
+
"name": "AuthContext",
|
|
705
|
+
"typeArguments": []
|
|
706
|
+
}
|
|
707
|
+
}
|
|
708
|
+
}
|
|
709
|
+
],
|
|
710
|
+
"return": [
|
|
711
|
+
{
|
|
712
|
+
"Reference": {
|
|
713
|
+
"Vector": "U8"
|
|
714
|
+
}
|
|
715
|
+
}
|
|
716
|
+
]
|
|
717
|
+
},
|
|
718
|
+
"sender_authenticator_function_info_v1": {
|
|
719
|
+
"visibility": "Public",
|
|
720
|
+
"isEntry": false,
|
|
721
|
+
"typeParameters": [],
|
|
722
|
+
"parameters": [
|
|
723
|
+
{
|
|
724
|
+
"Reference": {
|
|
725
|
+
"Struct": {
|
|
726
|
+
"address": "0x2",
|
|
727
|
+
"module": "auth_context",
|
|
728
|
+
"name": "AuthContext",
|
|
729
|
+
"typeArguments": []
|
|
730
|
+
}
|
|
731
|
+
}
|
|
732
|
+
}
|
|
733
|
+
],
|
|
734
|
+
"return": [
|
|
735
|
+
{
|
|
736
|
+
"Reference": {
|
|
737
|
+
"Struct": {
|
|
738
|
+
"address": "0x1",
|
|
739
|
+
"module": "option",
|
|
740
|
+
"name": "Option",
|
|
741
|
+
"typeArguments": [
|
|
742
|
+
{
|
|
743
|
+
"Struct": {
|
|
744
|
+
"address": "0x2",
|
|
745
|
+
"module": "auth_context",
|
|
746
|
+
"name": "AuthenticatorFunctionInfoV1",
|
|
747
|
+
"typeArguments": []
|
|
748
|
+
}
|
|
749
|
+
}
|
|
750
|
+
]
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
}
|
|
754
|
+
]
|
|
755
|
+
},
|
|
564
756
|
"signing_digest": {
|
|
565
757
|
"visibility": "Public",
|
|
566
758
|
"isEntry": false,
|
|
@@ -583,6 +775,77 @@
|
|
|
583
775
|
}
|
|
584
776
|
]
|
|
585
777
|
},
|
|
778
|
+
"sponsor_auth_digest": {
|
|
779
|
+
"visibility": "Public",
|
|
780
|
+
"isEntry": false,
|
|
781
|
+
"typeParameters": [],
|
|
782
|
+
"parameters": [
|
|
783
|
+
{
|
|
784
|
+
"Reference": {
|
|
785
|
+
"Struct": {
|
|
786
|
+
"address": "0x2",
|
|
787
|
+
"module": "auth_context",
|
|
788
|
+
"name": "AuthContext",
|
|
789
|
+
"typeArguments": []
|
|
790
|
+
}
|
|
791
|
+
}
|
|
792
|
+
}
|
|
793
|
+
],
|
|
794
|
+
"return": [
|
|
795
|
+
{
|
|
796
|
+
"Reference": {
|
|
797
|
+
"Struct": {
|
|
798
|
+
"address": "0x1",
|
|
799
|
+
"module": "option",
|
|
800
|
+
"name": "Option",
|
|
801
|
+
"typeArguments": [
|
|
802
|
+
{
|
|
803
|
+
"Vector": "U8"
|
|
804
|
+
}
|
|
805
|
+
]
|
|
806
|
+
}
|
|
807
|
+
}
|
|
808
|
+
}
|
|
809
|
+
]
|
|
810
|
+
},
|
|
811
|
+
"sponsor_authenticator_function_info_v1": {
|
|
812
|
+
"visibility": "Public",
|
|
813
|
+
"isEntry": false,
|
|
814
|
+
"typeParameters": [],
|
|
815
|
+
"parameters": [
|
|
816
|
+
{
|
|
817
|
+
"Reference": {
|
|
818
|
+
"Struct": {
|
|
819
|
+
"address": "0x2",
|
|
820
|
+
"module": "auth_context",
|
|
821
|
+
"name": "AuthContext",
|
|
822
|
+
"typeArguments": []
|
|
823
|
+
}
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
],
|
|
827
|
+
"return": [
|
|
828
|
+
{
|
|
829
|
+
"Reference": {
|
|
830
|
+
"Struct": {
|
|
831
|
+
"address": "0x1",
|
|
832
|
+
"module": "option",
|
|
833
|
+
"name": "Option",
|
|
834
|
+
"typeArguments": [
|
|
835
|
+
{
|
|
836
|
+
"Struct": {
|
|
837
|
+
"address": "0x2",
|
|
838
|
+
"module": "auth_context",
|
|
839
|
+
"name": "AuthenticatorFunctionInfoV1",
|
|
840
|
+
"typeArguments": []
|
|
841
|
+
}
|
|
842
|
+
}
|
|
843
|
+
]
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
}
|
|
847
|
+
]
|
|
848
|
+
},
|
|
586
849
|
"tx_commands": {
|
|
587
850
|
"visibility": "Public",
|
|
588
851
|
"isEntry": false,
|