viem 2.28.0-entrypoint-0-8-20250417075822 → 2.28.1-canary-20250426072350

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 (178) hide show
  1. package/CHANGELOG.md +25 -3
  2. package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +7 -63
  3. package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js.map +1 -1
  4. package/_cjs/account-abstraction/index.js +3 -1
  5. package/_cjs/account-abstraction/index.js.map +1 -1
  6. package/_cjs/account-abstraction/utils/userOperation/getInitCode.js +18 -0
  7. package/_cjs/account-abstraction/utils/userOperation/getInitCode.js.map +1 -0
  8. package/_cjs/account-abstraction/utils/userOperation/getUserOperationHash.js +29 -108
  9. package/_cjs/account-abstraction/utils/userOperation/getUserOperationHash.js.map +1 -1
  10. package/_cjs/account-abstraction/utils/userOperation/getUserOperationTypedData.js +32 -0
  11. package/_cjs/account-abstraction/utils/userOperation/getUserOperationTypedData.js.map +1 -0
  12. package/_cjs/account-abstraction/utils/userOperation/toPackedUserOperation.js +3 -2
  13. package/_cjs/account-abstraction/utils/userOperation/toPackedUserOperation.js.map +1 -1
  14. package/_cjs/actions/index.js +12 -1
  15. package/_cjs/actions/index.js.map +1 -1
  16. package/_cjs/{experimental/eip5792/actions → actions/wallet}/getCallsStatus.js +3 -3
  17. package/_cjs/actions/wallet/getCallsStatus.js.map +1 -0
  18. package/_cjs/{experimental/eip5792/actions → actions/wallet}/getCapabilities.js +1 -1
  19. package/{_esm/experimental/eip5792/actions → _cjs/actions/wallet}/getCapabilities.js.map +1 -1
  20. package/_cjs/{experimental/eip5792/actions → actions/wallet}/sendCalls.js +7 -7
  21. package/_cjs/actions/wallet/sendCalls.js.map +1 -0
  22. package/_cjs/actions/wallet/showCallsStatus.js.map +1 -0
  23. package/_cjs/{experimental/eip5792/actions → actions/wallet}/waitForCallsStatus.js +5 -5
  24. package/_cjs/actions/wallet/waitForCallsStatus.js.map +1 -0
  25. package/_cjs/chains/definitions/gunz.js +29 -0
  26. package/_cjs/chains/definitions/gunz.js.map +1 -0
  27. package/_cjs/chains/definitions/memecore.js +36 -0
  28. package/_cjs/chains/definitions/memecore.js.map +1 -0
  29. package/_cjs/chains/definitions/memecoreFormicariumTestnet.js +36 -0
  30. package/_cjs/chains/definitions/memecoreFormicariumTestnet.js.map +1 -0
  31. package/_cjs/chains/index.js +15 -9
  32. package/_cjs/chains/index.js.map +1 -1
  33. package/_cjs/clients/decorators/wallet.js +10 -0
  34. package/_cjs/clients/decorators/wallet.js.map +1 -1
  35. package/_cjs/constants/abis.js +417 -1
  36. package/_cjs/constants/abis.js.map +1 -1
  37. package/_cjs/errors/version.js +1 -1
  38. package/_cjs/errors/version.js.map +1 -1
  39. package/_cjs/experimental/eip5792/actions/writeContracts.js +1 -1
  40. package/_cjs/experimental/eip5792/actions/writeContracts.js.map +1 -1
  41. package/_cjs/experimental/eip5792/decorators/eip5792.js +5 -5
  42. package/_cjs/experimental/eip5792/decorators/eip5792.js.map +1 -1
  43. package/_cjs/experimental/index.js +6 -7
  44. package/_cjs/experimental/index.js.map +1 -1
  45. package/_cjs/index.js +12 -9
  46. package/_cjs/index.js.map +1 -1
  47. package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +8 -64
  48. package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js.map +1 -1
  49. package/_esm/account-abstraction/index.js +1 -0
  50. package/_esm/account-abstraction/index.js.map +1 -1
  51. package/_esm/account-abstraction/utils/userOperation/getInitCode.js +15 -0
  52. package/_esm/account-abstraction/utils/userOperation/getInitCode.js.map +1 -0
  53. package/_esm/account-abstraction/utils/userOperation/getUserOperationHash.js +29 -108
  54. package/_esm/account-abstraction/utils/userOperation/getUserOperationHash.js.map +1 -1
  55. package/_esm/account-abstraction/utils/userOperation/getUserOperationTypedData.js +29 -0
  56. package/_esm/account-abstraction/utils/userOperation/getUserOperationTypedData.js.map +1 -0
  57. package/_esm/account-abstraction/utils/userOperation/toPackedUserOperation.js +3 -2
  58. package/_esm/account-abstraction/utils/userOperation/toPackedUserOperation.js.map +1 -1
  59. package/_esm/actions/index.js +5 -0
  60. package/_esm/actions/index.js.map +1 -1
  61. package/_esm/{experimental/eip5792/actions → actions/wallet}/getCallsStatus.js +5 -5
  62. package/_esm/actions/wallet/getCallsStatus.js.map +1 -0
  63. package/_esm/{experimental/eip5792/actions → actions/wallet}/getCapabilities.js +3 -3
  64. package/_esm/actions/wallet/getCapabilities.js.map +1 -0
  65. package/_esm/{experimental/eip5792/actions → actions/wallet}/sendCalls.js +9 -9
  66. package/_esm/actions/wallet/sendCalls.js.map +1 -0
  67. package/_esm/{experimental/eip5792/actions → actions/wallet}/showCallsStatus.js +2 -2
  68. package/_esm/actions/wallet/showCallsStatus.js.map +1 -0
  69. package/_esm/actions/wallet/switchChain.js +1 -1
  70. package/_esm/{experimental/eip5792/actions → actions/wallet}/waitForCallsStatus.js +7 -7
  71. package/_esm/actions/wallet/waitForCallsStatus.js.map +1 -0
  72. package/_esm/chains/definitions/gunz.js +26 -0
  73. package/_esm/chains/definitions/gunz.js.map +1 -0
  74. package/_esm/chains/definitions/memecore.js +33 -0
  75. package/_esm/chains/definitions/memecore.js.map +1 -0
  76. package/_esm/chains/definitions/memecoreFormicariumTestnet.js +33 -0
  77. package/_esm/chains/definitions/memecoreFormicariumTestnet.js.map +1 -0
  78. package/_esm/chains/index.js +3 -0
  79. package/_esm/chains/index.js.map +1 -1
  80. package/_esm/clients/decorators/wallet.js +10 -0
  81. package/_esm/clients/decorators/wallet.js.map +1 -1
  82. package/_esm/constants/abis.js +417 -0
  83. package/_esm/constants/abis.js.map +1 -1
  84. package/_esm/errors/version.js +1 -1
  85. package/_esm/errors/version.js.map +1 -1
  86. package/_esm/experimental/eip5792/actions/writeContracts.js +2 -3
  87. package/_esm/experimental/eip5792/actions/writeContracts.js.map +1 -1
  88. package/_esm/experimental/eip5792/decorators/eip5792.js +6 -5
  89. package/_esm/experimental/eip5792/decorators/eip5792.js.map +1 -1
  90. package/_esm/experimental/index.js +21 -7
  91. package/_esm/experimental/index.js.map +1 -1
  92. package/_esm/index.js +2 -1
  93. package/_esm/index.js.map +1 -1
  94. package/_types/account-abstraction/accounts/implementations/toSimple7702SmartAccount.d.ts +1 -1
  95. package/_types/account-abstraction/accounts/implementations/toSimple7702SmartAccount.d.ts.map +1 -1
  96. package/_types/account-abstraction/index.d.ts +1 -0
  97. package/_types/account-abstraction/index.d.ts.map +1 -1
  98. package/_types/account-abstraction/utils/userOperation/getInitCode.d.ts +3 -0
  99. package/_types/account-abstraction/utils/userOperation/getInitCode.d.ts.map +1 -0
  100. package/_types/account-abstraction/utils/userOperation/getUserOperationHash.d.ts.map +1 -1
  101. package/_types/account-abstraction/utils/userOperation/getUserOperationTypedData.d.ts +39 -0
  102. package/_types/account-abstraction/utils/userOperation/getUserOperationTypedData.d.ts.map +1 -0
  103. package/_types/account-abstraction/utils/userOperation/toPackedUserOperation.d.ts.map +1 -1
  104. package/_types/actions/index.d.ts +5 -0
  105. package/_types/actions/index.d.ts.map +1 -1
  106. package/_types/{experimental/eip5792/actions → actions/wallet}/getCallsStatus.d.ts +10 -10
  107. package/_types/actions/wallet/getCallsStatus.d.ts.map +1 -0
  108. package/_types/{experimental/eip5792/actions → actions/wallet}/getCapabilities.d.ts +9 -9
  109. package/_types/actions/wallet/getCapabilities.d.ts.map +1 -0
  110. package/_types/{experimental/eip5792/actions → actions/wallet}/sendCalls.d.ts +10 -10
  111. package/_types/actions/wallet/sendCalls.d.ts.map +1 -0
  112. package/_types/{experimental/eip5792/actions → actions/wallet}/showCallsStatus.d.ts +8 -8
  113. package/_types/actions/wallet/showCallsStatus.d.ts.map +1 -0
  114. package/_types/actions/wallet/switchChain.d.ts +1 -1
  115. package/_types/{experimental/eip5792/actions → actions/wallet}/waitForCallsStatus.d.ts +9 -9
  116. package/_types/actions/wallet/waitForCallsStatus.d.ts.map +1 -0
  117. package/_types/chains/definitions/gunz.d.ts +34 -0
  118. package/_types/chains/definitions/gunz.d.ts.map +1 -0
  119. package/_types/chains/definitions/memecore.d.ts +48 -0
  120. package/_types/chains/definitions/memecore.d.ts.map +1 -0
  121. package/_types/chains/definitions/memecoreFormicariumTestnet.d.ts +47 -0
  122. package/_types/chains/definitions/memecoreFormicariumTestnet.d.ts.map +1 -0
  123. package/_types/chains/index.d.ts +3 -0
  124. package/_types/chains/index.d.ts.map +1 -1
  125. package/_types/clients/decorators/wallet.d.ts +126 -0
  126. package/_types/clients/decorators/wallet.d.ts.map +1 -1
  127. package/_types/constants/abis.d.ts +321 -0
  128. package/_types/constants/abis.d.ts.map +1 -1
  129. package/_types/errors/version.d.ts +1 -1
  130. package/_types/errors/version.d.ts.map +1 -1
  131. package/_types/experimental/eip5792/actions/writeContracts.d.ts +1 -3
  132. package/_types/experimental/eip5792/actions/writeContracts.d.ts.map +1 -1
  133. package/_types/experimental/eip5792/decorators/eip5792.d.ts +6 -6
  134. package/_types/experimental/eip5792/decorators/eip5792.d.ts.map +1 -1
  135. package/_types/experimental/index.d.ts +63 -7
  136. package/_types/experimental/index.d.ts.map +1 -1
  137. package/_types/index.d.ts +7 -1
  138. package/_types/index.d.ts.map +1 -1
  139. package/account-abstraction/accounts/implementations/toSimple7702SmartAccount.ts +8 -73
  140. package/account-abstraction/index.ts +5 -0
  141. package/account-abstraction/utils/userOperation/getInitCode.ts +21 -0
  142. package/account-abstraction/utils/userOperation/getUserOperationHash.ts +36 -128
  143. package/account-abstraction/utils/userOperation/getUserOperationTypedData.ts +49 -0
  144. package/account-abstraction/utils/userOperation/toPackedUserOperation.ts +2 -4
  145. package/actions/index.ts +31 -0
  146. package/{experimental/eip5792/actions → actions/wallet}/getCallsStatus.ts +13 -13
  147. package/{experimental/eip5792/actions → actions/wallet}/getCapabilities.ts +10 -10
  148. package/{experimental/eip5792/actions → actions/wallet}/sendCalls.ts +18 -18
  149. package/{experimental/eip5792/actions → actions/wallet}/showCallsStatus.ts +8 -8
  150. package/actions/wallet/switchChain.ts +1 -1
  151. package/{experimental/eip5792/actions → actions/wallet}/waitForCallsStatus.ts +11 -11
  152. package/chains/definitions/gunz.ts +26 -0
  153. package/chains/definitions/memecore.ts +33 -0
  154. package/chains/definitions/memecoreFormicariumTestnet.ts +33 -0
  155. package/chains/index.ts +3 -0
  156. package/clients/decorators/wallet.ts +164 -0
  157. package/constants/abis.ts +418 -0
  158. package/errors/version.ts +1 -1
  159. package/experimental/eip5792/actions/writeContracts.ts +8 -8
  160. package/experimental/eip5792/decorators/eip5792.ts +12 -10
  161. package/experimental/index.ts +33 -6
  162. package/index.ts +28 -0
  163. package/package.json +3 -3
  164. package/_cjs/experimental/eip5792/actions/getCallsStatus.js.map +0 -1
  165. package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +0 -1
  166. package/_cjs/experimental/eip5792/actions/sendCalls.js.map +0 -1
  167. package/_cjs/experimental/eip5792/actions/showCallsStatus.js.map +0 -1
  168. package/_cjs/experimental/eip5792/actions/waitForCallsStatus.js.map +0 -1
  169. package/_esm/experimental/eip5792/actions/getCallsStatus.js.map +0 -1
  170. package/_esm/experimental/eip5792/actions/sendCalls.js.map +0 -1
  171. package/_esm/experimental/eip5792/actions/showCallsStatus.js.map +0 -1
  172. package/_esm/experimental/eip5792/actions/waitForCallsStatus.js.map +0 -1
  173. package/_types/experimental/eip5792/actions/getCallsStatus.d.ts.map +0 -1
  174. package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +0 -1
  175. package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +0 -1
  176. package/_types/experimental/eip5792/actions/showCallsStatus.d.ts.map +0 -1
  177. package/_types/experimental/eip5792/actions/waitForCallsStatus.d.ts.map +0 -1
  178. /package/_cjs/{experimental/eip5792/actions → actions/wallet}/showCallsStatus.js +0 -0
package/constants/abis.ts CHANGED
@@ -685,6 +685,424 @@ export const erc20Abi_bytes32 = [
685
685
  },
686
686
  ] as const
687
687
 
688
+ /** [ERC-1155 Multi Token Standard](https://ethereum.org/en/developers/docs/standards/tokens/erc-1155) */
689
+ export const erc1155Abi = [
690
+ {
691
+ inputs: [
692
+ {
693
+ internalType: 'address',
694
+ name: 'sender',
695
+ type: 'address',
696
+ },
697
+ {
698
+ internalType: 'uint256',
699
+ name: 'balance',
700
+ type: 'uint256',
701
+ },
702
+ {
703
+ internalType: 'uint256',
704
+ name: 'needed',
705
+ type: 'uint256',
706
+ },
707
+ {
708
+ internalType: 'uint256',
709
+ name: 'tokenId',
710
+ type: 'uint256',
711
+ },
712
+ ],
713
+ name: 'ERC1155InsufficientBalance',
714
+ type: 'error',
715
+ },
716
+ {
717
+ inputs: [
718
+ {
719
+ internalType: 'address',
720
+ name: 'approver',
721
+ type: 'address',
722
+ },
723
+ ],
724
+ name: 'ERC1155InvalidApprover',
725
+ type: 'error',
726
+ },
727
+ {
728
+ inputs: [
729
+ {
730
+ internalType: 'uint256',
731
+ name: 'idsLength',
732
+ type: 'uint256',
733
+ },
734
+ {
735
+ internalType: 'uint256',
736
+ name: 'valuesLength',
737
+ type: 'uint256',
738
+ },
739
+ ],
740
+ name: 'ERC1155InvalidArrayLength',
741
+ type: 'error',
742
+ },
743
+ {
744
+ inputs: [
745
+ {
746
+ internalType: 'address',
747
+ name: 'operator',
748
+ type: 'address',
749
+ },
750
+ ],
751
+ name: 'ERC1155InvalidOperator',
752
+ type: 'error',
753
+ },
754
+ {
755
+ inputs: [
756
+ {
757
+ internalType: 'address',
758
+ name: 'receiver',
759
+ type: 'address',
760
+ },
761
+ ],
762
+ name: 'ERC1155InvalidReceiver',
763
+ type: 'error',
764
+ },
765
+ {
766
+ inputs: [
767
+ {
768
+ internalType: 'address',
769
+ name: 'sender',
770
+ type: 'address',
771
+ },
772
+ ],
773
+ name: 'ERC1155InvalidSender',
774
+ type: 'error',
775
+ },
776
+ {
777
+ inputs: [
778
+ {
779
+ internalType: 'address',
780
+ name: 'operator',
781
+ type: 'address',
782
+ },
783
+ {
784
+ internalType: 'address',
785
+ name: 'owner',
786
+ type: 'address',
787
+ },
788
+ ],
789
+ name: 'ERC1155MissingApprovalForAll',
790
+ type: 'error',
791
+ },
792
+ {
793
+ anonymous: false,
794
+ inputs: [
795
+ {
796
+ indexed: true,
797
+ internalType: 'address',
798
+ name: 'account',
799
+ type: 'address',
800
+ },
801
+ {
802
+ indexed: true,
803
+ internalType: 'address',
804
+ name: 'operator',
805
+ type: 'address',
806
+ },
807
+ {
808
+ indexed: false,
809
+ internalType: 'bool',
810
+ name: 'approved',
811
+ type: 'bool',
812
+ },
813
+ ],
814
+ name: 'ApprovalForAll',
815
+ type: 'event',
816
+ },
817
+ {
818
+ anonymous: false,
819
+ inputs: [
820
+ {
821
+ indexed: true,
822
+ internalType: 'address',
823
+ name: 'operator',
824
+ type: 'address',
825
+ },
826
+ {
827
+ indexed: true,
828
+ internalType: 'address',
829
+ name: 'from',
830
+ type: 'address',
831
+ },
832
+ {
833
+ indexed: true,
834
+ internalType: 'address',
835
+ name: 'to',
836
+ type: 'address',
837
+ },
838
+ {
839
+ indexed: false,
840
+ internalType: 'uint256[]',
841
+ name: 'ids',
842
+ type: 'uint256[]',
843
+ },
844
+ {
845
+ indexed: false,
846
+ internalType: 'uint256[]',
847
+ name: 'values',
848
+ type: 'uint256[]',
849
+ },
850
+ ],
851
+ name: 'TransferBatch',
852
+ type: 'event',
853
+ },
854
+ {
855
+ anonymous: false,
856
+ inputs: [
857
+ {
858
+ indexed: true,
859
+ internalType: 'address',
860
+ name: 'operator',
861
+ type: 'address',
862
+ },
863
+ {
864
+ indexed: true,
865
+ internalType: 'address',
866
+ name: 'from',
867
+ type: 'address',
868
+ },
869
+ {
870
+ indexed: true,
871
+ internalType: 'address',
872
+ name: 'to',
873
+ type: 'address',
874
+ },
875
+ {
876
+ indexed: false,
877
+ internalType: 'uint256',
878
+ name: 'id',
879
+ type: 'uint256',
880
+ },
881
+ {
882
+ indexed: false,
883
+ internalType: 'uint256',
884
+ name: 'value',
885
+ type: 'uint256',
886
+ },
887
+ ],
888
+ name: 'TransferSingle',
889
+ type: 'event',
890
+ },
891
+ {
892
+ anonymous: false,
893
+ inputs: [
894
+ {
895
+ indexed: false,
896
+ internalType: 'string',
897
+ name: 'value',
898
+ type: 'string',
899
+ },
900
+ {
901
+ indexed: true,
902
+ internalType: 'uint256',
903
+ name: 'id',
904
+ type: 'uint256',
905
+ },
906
+ ],
907
+ name: 'URI',
908
+ type: 'event',
909
+ },
910
+ {
911
+ inputs: [
912
+ {
913
+ internalType: 'address',
914
+ name: 'account',
915
+ type: 'address',
916
+ },
917
+ {
918
+ internalType: 'uint256',
919
+ name: 'id',
920
+ type: 'uint256',
921
+ },
922
+ ],
923
+ name: 'balanceOf',
924
+ outputs: [
925
+ {
926
+ internalType: 'uint256',
927
+ name: '',
928
+ type: 'uint256',
929
+ },
930
+ ],
931
+ stateMutability: 'view',
932
+ type: 'function',
933
+ },
934
+ {
935
+ inputs: [
936
+ {
937
+ internalType: 'address[]',
938
+ name: 'accounts',
939
+ type: 'address[]',
940
+ },
941
+ {
942
+ internalType: 'uint256[]',
943
+ name: 'ids',
944
+ type: 'uint256[]',
945
+ },
946
+ ],
947
+ name: 'balanceOfBatch',
948
+ outputs: [
949
+ {
950
+ internalType: 'uint256[]',
951
+ name: '',
952
+ type: 'uint256[]',
953
+ },
954
+ ],
955
+ stateMutability: 'view',
956
+ type: 'function',
957
+ },
958
+ {
959
+ inputs: [
960
+ {
961
+ internalType: 'address',
962
+ name: 'account',
963
+ type: 'address',
964
+ },
965
+ {
966
+ internalType: 'address',
967
+ name: 'operator',
968
+ type: 'address',
969
+ },
970
+ ],
971
+ name: 'isApprovedForAll',
972
+ outputs: [
973
+ {
974
+ internalType: 'bool',
975
+ name: '',
976
+ type: 'bool',
977
+ },
978
+ ],
979
+ stateMutability: 'view',
980
+ type: 'function',
981
+ },
982
+ {
983
+ inputs: [
984
+ {
985
+ internalType: 'address',
986
+ name: 'from',
987
+ type: 'address',
988
+ },
989
+ {
990
+ internalType: 'address',
991
+ name: 'to',
992
+ type: 'address',
993
+ },
994
+ {
995
+ internalType: 'uint256[]',
996
+ name: 'ids',
997
+ type: 'uint256[]',
998
+ },
999
+ {
1000
+ internalType: 'uint256[]',
1001
+ name: 'values',
1002
+ type: 'uint256[]',
1003
+ },
1004
+ {
1005
+ internalType: 'bytes',
1006
+ name: 'data',
1007
+ type: 'bytes',
1008
+ },
1009
+ ],
1010
+ name: 'safeBatchTransferFrom',
1011
+ outputs: [],
1012
+ stateMutability: 'nonpayable',
1013
+ type: 'function',
1014
+ },
1015
+ {
1016
+ inputs: [
1017
+ {
1018
+ internalType: 'address',
1019
+ name: 'from',
1020
+ type: 'address',
1021
+ },
1022
+ {
1023
+ internalType: 'address',
1024
+ name: 'to',
1025
+ type: 'address',
1026
+ },
1027
+ {
1028
+ internalType: 'uint256',
1029
+ name: 'id',
1030
+ type: 'uint256',
1031
+ },
1032
+ {
1033
+ internalType: 'uint256',
1034
+ name: 'value',
1035
+ type: 'uint256',
1036
+ },
1037
+ {
1038
+ internalType: 'bytes',
1039
+ name: 'data',
1040
+ type: 'bytes',
1041
+ },
1042
+ ],
1043
+ name: 'safeTransferFrom',
1044
+ outputs: [],
1045
+ stateMutability: 'nonpayable',
1046
+ type: 'function',
1047
+ },
1048
+ {
1049
+ inputs: [
1050
+ {
1051
+ internalType: 'address',
1052
+ name: 'operator',
1053
+ type: 'address',
1054
+ },
1055
+ {
1056
+ internalType: 'bool',
1057
+ name: 'approved',
1058
+ type: 'bool',
1059
+ },
1060
+ ],
1061
+ name: 'setApprovalForAll',
1062
+ outputs: [],
1063
+ stateMutability: 'nonpayable',
1064
+ type: 'function',
1065
+ },
1066
+ {
1067
+ inputs: [
1068
+ {
1069
+ internalType: 'bytes4',
1070
+ name: 'interfaceId',
1071
+ type: 'bytes4',
1072
+ },
1073
+ ],
1074
+ name: 'supportsInterface',
1075
+ outputs: [
1076
+ {
1077
+ internalType: 'bool',
1078
+ name: '',
1079
+ type: 'bool',
1080
+ },
1081
+ ],
1082
+ stateMutability: 'view',
1083
+ type: 'function',
1084
+ },
1085
+ {
1086
+ inputs: [
1087
+ {
1088
+ internalType: 'uint256',
1089
+ name: '',
1090
+ type: 'uint256',
1091
+ },
1092
+ ],
1093
+ name: 'uri',
1094
+ outputs: [
1095
+ {
1096
+ internalType: 'string',
1097
+ name: '',
1098
+ type: 'string',
1099
+ },
1100
+ ],
1101
+ stateMutability: 'view',
1102
+ type: 'function',
1103
+ },
1104
+ ] as const
1105
+
688
1106
  /** [ERC-721 Non-Fungible Token Standard](https://ethereum.org/en/developers/docs/standards/tokens/erc-721) */
689
1107
  export const erc721Abi = [
690
1108
  {
package/errors/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '2.28.0-entrypoint-0-8-20250417075822'
1
+ export const version = '2.28.1-canary-20250426072350'
@@ -1,5 +1,13 @@
1
+ // TODO(v3): Remove this.
2
+
1
3
  import type { Abi, AbiStateMutability, Address, Narrow } from 'abitype'
2
4
 
5
+ import {
6
+ type SendCallsErrorType,
7
+ type SendCallsParameters,
8
+ type SendCallsReturnType,
9
+ sendCalls,
10
+ } from '../../../actions/wallet/sendCalls.js'
3
11
  import type { Client } from '../../../clients/createClient.js'
4
12
  import type { Transport } from '../../../clients/transports/createTransport.js'
5
13
  import type { ErrorType } from '../../../errors/utils.js'
@@ -18,12 +26,6 @@ import {
18
26
  encodeFunctionData,
19
27
  } from '../../../utils/abi/encodeFunctionData.js'
20
28
  import { getAction } from '../../../utils/getAction.js'
21
- import {
22
- type SendCallsErrorType,
23
- type SendCallsParameters,
24
- type SendCallsReturnType,
25
- sendCalls,
26
- } from './sendCalls.js'
27
29
 
28
30
  export type WriteContractsParameters<
29
31
  contracts extends
@@ -50,8 +52,6 @@ export type WriteContractsErrorType =
50
52
  | ErrorType
51
53
 
52
54
  /**
53
- * @deprecated Use {@link sendCalls} instead. See https://viem.sh/experimental/eip5792/sendCalls#contract-calls.
54
- *
55
55
  * Requests for the wallet to sign and broadcast a batch of write contract calls (transactions) to the network.
56
56
  *
57
57
  * - Docs: https://viem.sh/experimental/eip5792/writeContracts
@@ -1,32 +1,34 @@
1
- import type { Client } from '../../../clients/createClient.js'
2
- import type { Transport } from '../../../clients/transports/createTransport.js'
3
- import type { Account } from '../../../types/account.js'
4
- import type { Chain } from '../../../types/chain.js'
1
+ // TODO(v3): Remove this.
2
+
5
3
  import {
6
4
  type GetCallsStatusParameters,
7
5
  type GetCallsStatusReturnType,
8
6
  getCallsStatus,
9
- } from '../actions/getCallsStatus.js'
7
+ } from '../../../actions/wallet/getCallsStatus.js'
10
8
  import {
11
9
  type GetCapabilitiesParameters,
12
10
  type GetCapabilitiesReturnType,
13
11
  getCapabilities,
14
- } from '../actions/getCapabilities.js'
12
+ } from '../../../actions/wallet/getCapabilities.js'
15
13
  import {
16
14
  type SendCallsParameters,
17
15
  type SendCallsReturnType,
18
16
  sendCalls,
19
- } from '../actions/sendCalls.js'
17
+ } from '../../../actions/wallet/sendCalls.js'
20
18
  import {
21
19
  type ShowCallsStatusParameters,
22
20
  type ShowCallsStatusReturnType,
23
21
  showCallsStatus,
24
- } from '../actions/showCallsStatus.js'
22
+ } from '../../../actions/wallet/showCallsStatus.js'
25
23
  import {
26
24
  type WaitForCallsStatusParameters,
27
25
  type WaitForCallsStatusReturnType,
28
26
  waitForCallsStatus,
29
- } from '../actions/waitForCallsStatus.js'
27
+ } from '../../../actions/wallet/waitForCallsStatus.js'
28
+ import type { Client } from '../../../clients/createClient.js'
29
+ import type { Transport } from '../../../clients/transports/createTransport.js'
30
+ import type { Account } from '../../../types/account.js'
31
+ import type { Chain } from '../../../types/chain.js'
30
32
  import {
31
33
  type WriteContractsParameters,
32
34
  type WriteContractsReturnType,
@@ -90,7 +92,7 @@ export type Eip5792Actions<
90
92
  /**
91
93
  * Requests the connected wallet to send a batch of calls.
92
94
  *
93
- * - Docs: https://viem.sh/experimental/eip5792/sendCalls
95
+ * - Docs: https://viem.sh/docs/actions/wallet/sendCalls
94
96
  * - JSON-RPC Methods: [`wallet_sendCalls`](https://eips.ethereum.org/EIPS/eip-5792)
95
97
  *
96
98
  * @param client - Client to use
@@ -1,45 +1,72 @@
1
1
  // biome-ignore lint/performance/noBarrelFile: entrypoint module
2
2
  export {
3
+ /** @deprecated This is no longer experimental – use `import type { GetCapabilitiesParameters } from 'viem/actions'` instead. */
3
4
  type GetCapabilitiesParameters,
5
+ /** @deprecated This is no longer experimental – use `import type { GetCapabilitiesErrorType } from 'viem/actions'` instead. */
4
6
  type GetCapabilitiesErrorType,
7
+ /** @deprecated This is no longer experimental – use `import type { GetCapabilitiesReturnType } from 'viem/actions'` instead. */
5
8
  type GetCapabilitiesReturnType,
9
+ /** @deprecated This is no longer experimental – use `import { getCapabilities } from 'viem/actions'` instead. */
6
10
  getCapabilities,
7
- } from './eip5792/actions/getCapabilities.js'
11
+ } from '../actions/wallet/getCapabilities.js'
8
12
  export {
13
+ /** @deprecated This is no longer experimental – use `import type { SendCallsErrorType } from 'viem/actions'` instead. */
9
14
  type SendCallsErrorType,
15
+ /** @deprecated This is no longer experimental – use `import type { SendCallsParameters } from 'viem/actions'` instead. */
10
16
  type SendCallsParameters,
17
+ /** @deprecated This is no longer experimental – use `import type { SendCallsReturnType } from 'viem/actions'` instead. */
11
18
  type SendCallsReturnType,
19
+ /** @deprecated This is no longer experimental – use `import { sendCalls } from 'viem/actions'` instead. */
12
20
  sendCalls,
13
- } from './eip5792/actions/sendCalls.js'
21
+ } from '../actions/wallet/sendCalls.js'
14
22
  export {
23
+ /** @deprecated This is no longer experimental – use `import type { GetCallsStatusErrorType } from 'viem/actions'` instead. */
15
24
  type GetCallsStatusErrorType,
25
+ /** @deprecated This is no longer experimental – use `import type { GetCallsStatusParameters } from 'viem/actions'` instead. */
16
26
  type GetCallsStatusParameters,
27
+ /** @deprecated This is no longer experimental – use `import type { GetCallsStatusReturnType } from 'viem/actions'` instead. */
17
28
  type GetCallsStatusReturnType,
29
+ /** @deprecated This is no longer experimental – use `import { getCallsStatus } from 'viem/actions'` instead. */
18
30
  getCallsStatus,
19
- } from './eip5792/actions/getCallsStatus.js'
31
+ } from '../actions/wallet/getCallsStatus.js'
20
32
  export {
33
+ /** @deprecated This is no longer experimental – use `import type { ShowCallsStatusErrorType } from 'viem/actions'` instead. */
21
34
  type ShowCallsStatusErrorType,
35
+ /** @deprecated This is no longer experimental – use `import type { ShowCallsStatusParameters } from 'viem/actions'` instead. */
22
36
  type ShowCallsStatusParameters,
37
+ /** @deprecated This is no longer experimental – use `import type { ShowCallsStatusReturnType } from 'viem/actions'` instead. */
23
38
  type ShowCallsStatusReturnType,
39
+ /** @deprecated This is no longer experimental – use `import { showCallsStatus } from 'viem/actions'` instead. */
24
40
  showCallsStatus,
25
- } from './eip5792/actions/showCallsStatus.js'
41
+ } from '../actions/wallet/showCallsStatus.js'
26
42
  export {
43
+ /** @deprecated This is no longer experimental – use `import type { WaitForCallsStatusErrorType } from 'viem/actions'` instead. */
27
44
  type WaitForCallsStatusErrorType,
45
+ /** @deprecated This is no longer experimental – use `import type { WaitForCallsStatusParameters } from 'viem/actions'` instead. */
28
46
  type WaitForCallsStatusParameters,
47
+ /** @deprecated This is no longer experimental – use `import type { WaitForCallsStatusReturnType } from 'viem/actions'` instead. */
29
48
  type WaitForCallsStatusReturnType,
49
+ /** @deprecated This is no longer experimental – use `import type { WaitForCallsStatusTimeoutErrorType } from 'viem/actions'` instead. */
30
50
  type WaitForCallsStatusTimeoutErrorType,
31
- WaitForCallsStatusTimeoutError,
51
+ /** @deprecated This is no longer experimental – use `import { waitForCallsStatus } from 'viem/actions'` instead. */
32
52
  waitForCallsStatus,
33
- } from './eip5792/actions/waitForCallsStatus.js'
53
+ } from '../actions/wallet/waitForCallsStatus.js'
34
54
  export {
55
+ /** @deprecated Use `SendCallsErrorType` instead. */
35
56
  type WriteContractsErrorType,
57
+ /** @deprecated Use `SendCallsParameters` instead. */
36
58
  type WriteContractsParameters,
59
+ /** @deprecated Use `SendCallsReturnType` instead. */
37
60
  type WriteContractsReturnType,
61
+ /** @deprecated */
38
62
  type WriteContractFunctionParameters,
63
+ /** @deprecated Use `sendCalls` instead. */
39
64
  writeContracts,
40
65
  } from './eip5792/actions/writeContracts.js'
41
66
  export {
67
+ /** @deprecated This is no longer experimental – use `import type { WalletActions } from 'viem'` instead. */
42
68
  type Eip5792Actions,
69
+ /** @deprecated This is no longer experimental – use `import { createWalletClient } from 'viem'` or `import { walletActions } from 'viem'` instead. */
43
70
  eip5792Actions,
44
71
  } from './eip5792/decorators/eip5792.js'
45
72
 
package/index.ts CHANGED
@@ -378,6 +378,33 @@ export type {
378
378
  PrepareTransactionRequestRequest,
379
379
  PrepareTransactionRequestReturnType,
380
380
  } from './actions/wallet/prepareTransactionRequest.js'
381
+ export type {
382
+ GetCapabilitiesParameters,
383
+ GetCapabilitiesErrorType,
384
+ GetCapabilitiesReturnType,
385
+ } from './actions/wallet/getCapabilities.js'
386
+ export type {
387
+ SendCallsErrorType,
388
+ SendCallsParameters,
389
+ SendCallsReturnType,
390
+ } from './actions/wallet/sendCalls.js'
391
+ export type {
392
+ GetCallsStatusErrorType,
393
+ GetCallsStatusParameters,
394
+ GetCallsStatusReturnType,
395
+ } from './actions/wallet/getCallsStatus.js'
396
+ export type {
397
+ ShowCallsStatusErrorType,
398
+ ShowCallsStatusParameters,
399
+ ShowCallsStatusReturnType,
400
+ } from './actions/wallet/showCallsStatus.js'
401
+ export { WaitForCallsStatusTimeoutError } from './actions/wallet/waitForCallsStatus.js'
402
+ export type {
403
+ WaitForCallsStatusErrorType,
404
+ WaitForCallsStatusParameters,
405
+ WaitForCallsStatusReturnType,
406
+ WaitForCallsStatusTimeoutErrorType,
407
+ } from './actions/wallet/waitForCallsStatus.js'
381
408
  export type {
382
409
  SendUnsignedTransactionErrorType,
383
410
  SendUnsignedTransactionParameters,
@@ -579,6 +606,7 @@ export {
579
606
  erc20Abi,
580
607
  erc20Abi_bytes32,
581
608
  erc721Abi,
609
+ erc1155Abi,
582
610
  erc4626Abi,
583
611
  universalSignatureValidatorAbi,
584
612
  } from './constants/abis.js'
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "viem",
3
3
  "description": "TypeScript Interface for Ethereum",
4
- "version": "2.28.0-entrypoint-0-8-20250417075822",
4
+ "version": "2.28.1-canary-20250426072350",
5
5
  "main": "./_cjs/index.js",
6
6
  "module": "./_esm/index.js",
7
7
  "types": "./_types/index.d.ts",
@@ -174,8 +174,8 @@
174
174
  }
175
175
  },
176
176
  "dependencies": {
177
- "@noble/curves": "1.8.1",
178
- "@noble/hashes": "1.7.1",
177
+ "@noble/curves": "1.8.2",
178
+ "@noble/hashes": "1.7.2",
179
179
  "@scure/bip32": "1.6.2",
180
180
  "@scure/bip39": "1.5.4",
181
181
  "abitype": "1.0.8",
@@ -1 +0,0 @@
1
- {"version":3,"file":"getCallsStatus.js","sourceRoot":"","sources":["../../../../experimental/eip5792/actions/getCallsStatus.ts"],"names":[],"mappings":";;AAqDA,wCA+CC;AAzFD,mEAA6E;AAC7E,2FAAiF;AAyC1E,KAAK,UAAU,cAAc,CAIlC,MAAyC,EACzC,UAAoC;IAEpC,MAAM,EACJ,MAAM,GAAG,KAAK,EACd,OAAO,EACP,QAAQ,EACR,OAAO,GAAG,KAAK,EACf,GAAG,QAAQ,EACZ,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC;QACvB,MAAM,EAAE,uBAAuB;QAC/B,MAAM,EAAE,CAAC,UAAU,CAAC,EAAE,CAAC;KACxB,CAAC,CAAA;IACF,MAAM,CAAC,MAAM,EAAE,UAAU,CAAC,GAAG,CAAC,GAAG,EAAE;QACjC,MAAM,UAAU,GAAG,QAAQ,CAAC,MAAM,CAAA;QAClC,IAAI,UAAU,IAAI,GAAG,IAAI,UAAU,GAAG,GAAG;YACvC,OAAO,CAAC,SAAS,EAAE,UAAU,CAAU,CAAA;QACzC,IAAI,UAAU,IAAI,GAAG,IAAI,UAAU,GAAG,GAAG;YACvC,OAAO,CAAC,S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"version":3,"file":"showCallsStatus.js","sourceRoot":"","sources":["../../../../experimental/eip5792/actions/showCallsStatus.ts"],"names":[],"mappings":";;AAkCA,0CAaC;AAbM,KAAK,UAAU,eAAe,CAInC,MAAyC,EACzC,UAAqC;IAErC,MAAM,EAAE,EAAE,EAAE,GAAG,UAAU,CAAA;IACzB,MAAM,MAAM,CAAC,OAAO,CAAC;QACnB,MAAM,EAAE,wBAAwB;QAChC,MAAM,EAAE,CAAC,EAAE,CAAC;KACb,CAAC,CAAA;IACF,OAAM;AACR,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"waitForCallsStatus.js","sourceRoot":"","sources":["../../../../experimental/eip5792/actions/waitForCallsStatus.ts"],"names":[],"mappings":";;;AAuEA,gDAqDC;AA1HD,qDAAmD;AAGnD,0DAA0E;AAC1E,oDAAiE;AACjE,8EAAuE;AACvE,8DAAuD;AACvD,2DAI4B;AA0DrB,KAAK,UAAU,kBAAkB,CACtC,MAAgC,EAChC,UAAwC;IAExC,MAAM,EACJ,EAAE,EACF,eAAe,GAAG,MAAM,CAAC,eAAe,EACxC,MAAM,GAAG,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,CAAC,UAAU,IAAI,GAAG,EAC9C,OAAO,GAAG,MAAM,GACjB,GAAG,UAAU,CAAA;IACd,MAAM,UAAU,GAAG,IAAA,wBAAS,EAAC,CAAC,oBAAoB,EAAE,MAAM,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,CAAA;IAEpE,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,GAChC,IAAA,gCAAa,GAAgC,CAAA;IAE/C,IAAI,KAAK,GAAsB,SAAS,CAAA;IAExC,MAAM,SAAS,GAAG,IAAA,oBAAO,EAAC,UAAU,EAAE,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,CAAC,IAAI,EAAE,EAAE;QAClE,MAAM,MAAM,GAAG,IAAA,cAAI,EACjB,KAAK,IAAI,EAAE;YACT,MAAM,IAAI,G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