@sentio/sdk 4.0.1-rc.2 → 4.0.1-rc.5

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 (48) hide show
  1. package/assets/chainlink-oracles-sepolia.json +21 -0
  2. package/assets/chainlink-oracles.json +219 -0
  3. package/dist/aptos/builtin/0x1.d.ts +154 -16
  4. package/dist/aptos/builtin/0x1.d.ts.map +1 -1
  5. package/dist/aptos/builtin/0x1.js +238 -34
  6. package/dist/aptos/builtin/0x1.js.map +1 -1
  7. package/dist/aptos/builtin/0x3.js +1 -1
  8. package/dist/aptos/builtin/0x4.js +1 -1
  9. package/dist/eth/context.d.ts.map +1 -1
  10. package/dist/eth/context.js +1 -1
  11. package/dist/eth/context.js.map +1 -1
  12. package/dist/eth/eth.d.ts +11 -0
  13. package/dist/eth/eth.d.ts.map +1 -1
  14. package/dist/eth/eth.js +134 -8
  15. package/dist/eth/eth.js.map +1 -1
  16. package/dist/eth/ethers-format.d.ts +4 -0
  17. package/dist/eth/ethers-format.d.ts.map +1 -0
  18. package/dist/eth/ethers-format.js +20 -0
  19. package/dist/eth/ethers-format.js.map +1 -0
  20. package/dist/eth/provider.d.ts +3 -0
  21. package/dist/eth/provider.d.ts.map +1 -1
  22. package/dist/eth/provider.js +78 -1
  23. package/dist/eth/provider.js.map +1 -1
  24. package/dist/iota/builtin/0x2.d.ts +33 -0
  25. package/dist/iota/builtin/0x2.d.ts.map +1 -1
  26. package/dist/iota/builtin/0x2.js +169 -2
  27. package/dist/iota/builtin/0x2.js.map +1 -1
  28. package/dist/testing/test-processor-server.d.ts.map +1 -1
  29. package/dist/utils/dex-price.d.ts +1 -1
  30. package/dist/utils/dex-price.d.ts.map +1 -1
  31. package/dist/utils/dex-price.js +10 -17
  32. package/dist/utils/dex-price.js.map +1 -1
  33. package/package.json +9 -10
  34. package/src/aptos/abis/0x1.json +1703 -536
  35. package/src/aptos/abis/0x3.json +15 -15
  36. package/src/aptos/abis/0x4.json +12 -12
  37. package/src/aptos/builtin/0x1.ts +398 -54
  38. package/src/aptos/builtin/0x3.ts +1 -1
  39. package/src/aptos/builtin/0x4.ts +1 -1
  40. package/src/eth/context.ts +2 -7
  41. package/src/eth/eth.ts +142 -16
  42. package/src/eth/ethers-format.ts +32 -0
  43. package/src/eth/provider.ts +83 -1
  44. package/src/iota/abis/0x2.json +263 -0
  45. package/src/iota/builtin/0x2.ts +257 -1
  46. package/src/utils/dex-price.ts +14 -26
  47. package/assets/chainlink-oracles-sepolia.csv +0 -19
  48. package/assets/chainlink-oracles.csv +0 -217
@@ -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,