@aptos-labs/ts-sdk 5.1.3 → 5.1.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 (349) hide show
  1. package/LICENSE +68 -201
  2. package/dist/common/{account-nCfrFDHy.d.ts → account-DefhsHe3.d.ts} +232 -1
  3. package/dist/common/chunk-HO5ESTN4.js +4 -0
  4. package/dist/common/chunk-HO5ESTN4.js.map +1 -0
  5. package/dist/common/cli/index.d.ts +1 -1
  6. package/dist/common/cli/index.js +1 -1
  7. package/dist/common/cli/index.js.map +1 -1
  8. package/dist/common/index.d.ts +2 -2
  9. package/dist/common/index.js +31 -31
  10. package/dist/common/index.js.map +1 -1
  11. package/dist/esm/{Ed25519Account-BgSyStyl.d.mts → Ed25519Account-CVg5T_jc.d.mts} +1 -1
  12. package/dist/esm/account/AbstractKeylessAccount.d.mts +3 -3
  13. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
  14. package/dist/esm/account/AbstractedAccount.d.mts +2 -2
  15. package/dist/esm/account/AbstractedAccount.mjs +1 -1
  16. package/dist/esm/account/Account.d.mts +2 -2
  17. package/dist/esm/account/Account.mjs +1 -1
  18. package/dist/esm/account/AccountUtils.d.mts +3 -3
  19. package/dist/esm/account/AccountUtils.mjs +1 -1
  20. package/dist/esm/account/DerivableAbstractedAccount.d.mts +2 -2
  21. package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
  22. package/dist/esm/account/Ed25519Account.d.mts +2 -2
  23. package/dist/esm/account/Ed25519Account.mjs +1 -1
  24. package/dist/esm/account/EphemeralKeyPair.d.mts +1 -1
  25. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  26. package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
  27. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  28. package/dist/esm/account/KeylessAccount.d.mts +3 -3
  29. package/dist/esm/account/KeylessAccount.mjs +1 -1
  30. package/dist/esm/account/MultiEd25519Account.d.mts +2 -2
  31. package/dist/esm/account/MultiEd25519Account.mjs +1 -1
  32. package/dist/esm/account/MultiKeyAccount.d.mts +3 -3
  33. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  34. package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
  35. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  36. package/dist/esm/account/index.d.mts +3 -3
  37. package/dist/esm/account/index.mjs +1 -1
  38. package/dist/esm/account/utils.d.mts +1 -1
  39. package/dist/esm/account/utils.mjs +1 -1
  40. package/dist/esm/{account-CAv0-Zs9.d.mts → account-DOs8SpoQ.d.mts} +232 -1
  41. package/dist/esm/api/account/abstraction.d.mts +1 -1
  42. package/dist/esm/api/account/abstraction.mjs +1 -1
  43. package/dist/esm/api/account.d.mts +2 -2
  44. package/dist/esm/api/account.mjs +1 -1
  45. package/dist/esm/api/ans.d.mts +2 -2
  46. package/dist/esm/api/ans.mjs +1 -1
  47. package/dist/esm/api/aptos.d.mts +3 -3
  48. package/dist/esm/api/aptos.mjs +1 -1
  49. package/dist/esm/api/aptosConfig.d.mts +1 -1
  50. package/dist/esm/api/coin.d.mts +1 -1
  51. package/dist/esm/api/coin.mjs +1 -1
  52. package/dist/esm/api/digitalAsset.d.mts +2 -2
  53. package/dist/esm/api/digitalAsset.mjs +1 -1
  54. package/dist/esm/api/faucet.d.mts +1 -1
  55. package/dist/esm/api/faucet.mjs +1 -1
  56. package/dist/esm/api/fungibleAsset.d.mts +2 -2
  57. package/dist/esm/api/fungibleAsset.mjs +1 -1
  58. package/dist/esm/api/general.d.mts +1 -1
  59. package/dist/esm/api/general.mjs +1 -1
  60. package/dist/esm/api/index.d.mts +3 -3
  61. package/dist/esm/api/index.mjs +1 -1
  62. package/dist/esm/api/keyless.d.mts +3 -3
  63. package/dist/esm/api/keyless.mjs +1 -1
  64. package/dist/esm/api/object.d.mts +1 -1
  65. package/dist/esm/api/object.mjs +1 -1
  66. package/dist/esm/api/staking.d.mts +1 -1
  67. package/dist/esm/api/staking.mjs +1 -1
  68. package/dist/esm/api/table.d.mts +1 -1
  69. package/dist/esm/api/table.mjs +1 -1
  70. package/dist/esm/api/transaction.d.mts +2 -2
  71. package/dist/esm/api/transaction.mjs +1 -1
  72. package/dist/esm/api/transactionSubmission/build.d.mts +1 -1
  73. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  74. package/dist/esm/api/transactionSubmission/helpers.d.mts +1 -1
  75. package/dist/esm/api/transactionSubmission/management.d.mts +2 -2
  76. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  77. package/dist/esm/api/transactionSubmission/sign.d.mts +2 -2
  78. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  79. package/dist/esm/api/transactionSubmission/simulate.d.mts +1 -1
  80. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  81. package/dist/esm/api/transactionSubmission/submit.d.mts +1 -1
  82. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  83. package/dist/esm/api/utils.d.mts +1 -1
  84. package/dist/esm/api/utils.mjs +1 -1
  85. package/dist/esm/bcs/consts.d.mts +14 -2
  86. package/dist/esm/bcs/consts.mjs +1 -1
  87. package/dist/esm/bcs/deserializer.d.mts +1 -1
  88. package/dist/esm/bcs/deserializer.mjs +1 -1
  89. package/dist/esm/bcs/index.d.mts +1 -1
  90. package/dist/esm/bcs/index.mjs +1 -1
  91. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +1 -1
  92. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
  93. package/dist/esm/bcs/serializable/fixedBytes.d.mts +1 -1
  94. package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
  95. package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
  96. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  97. package/dist/esm/bcs/serializable/moveStructs.d.mts +1 -1
  98. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  99. package/dist/esm/bcs/serializer.d.mts +1 -1
  100. package/dist/esm/bcs/serializer.mjs +1 -1
  101. package/dist/esm/{chunk-DURSBMWP.mjs → chunk-3JDGB4IL.mjs} +2 -2
  102. package/dist/esm/chunk-3JDGB4IL.mjs.map +1 -0
  103. package/dist/esm/{chunk-N6YTF76Q.mjs → chunk-3P474TWM.mjs} +2 -2
  104. package/dist/esm/{chunk-Q4W3WJ2U.mjs → chunk-3Q4MUGFR.mjs} +2 -2
  105. package/dist/esm/{chunk-TOBQ5UE6.mjs → chunk-43LWUUXS.mjs} +2 -2
  106. package/dist/esm/chunk-5ABS6RDR.mjs +2 -0
  107. package/dist/esm/chunk-5ABS6RDR.mjs.map +1 -0
  108. package/dist/esm/{chunk-WSR5EBJM.mjs → chunk-5FNZUL2Y.mjs} +2 -2
  109. package/dist/esm/{chunk-XKUIMGKU.mjs → chunk-6IWGTO2J.mjs} +2 -2
  110. package/dist/esm/{chunk-ZYE7UTJZ.mjs → chunk-C5UZZHA4.mjs} +2 -2
  111. package/dist/esm/{chunk-MT2RJ7H3.mjs → chunk-DIFSO4N6.mjs} +2 -2
  112. package/dist/esm/{chunk-HX6SDBEX.mjs → chunk-EM7NAPDX.mjs} +2 -2
  113. package/dist/esm/{chunk-YZHAI55C.mjs → chunk-G3HAIETV.mjs} +2 -2
  114. package/dist/esm/{chunk-EF4FA5I6.mjs → chunk-GRF3NBRO.mjs} +2 -2
  115. package/dist/esm/chunk-I42Z32Q2.mjs +2 -0
  116. package/dist/esm/chunk-I42Z32Q2.mjs.map +1 -0
  117. package/dist/esm/{chunk-54WUP65H.mjs → chunk-I7UCQWRH.mjs} +2 -2
  118. package/dist/esm/chunk-JYXE7MWR.mjs +2 -0
  119. package/dist/esm/{chunk-EW45LLAP.mjs.map → chunk-JYXE7MWR.mjs.map} +1 -1
  120. package/dist/esm/{chunk-C2ZO2L5W.mjs → chunk-KNVQ5OJ7.mjs} +2 -2
  121. package/dist/esm/chunk-KUF4DKN5.mjs +2 -0
  122. package/dist/esm/{chunk-YSP6JG5G.mjs → chunk-L5EMB6TN.mjs} +2 -2
  123. package/dist/esm/chunk-LD3I4CYO.mjs +2 -0
  124. package/dist/esm/{chunk-DRBFLEZL.mjs → chunk-M2R4ECLZ.mjs} +2 -2
  125. package/dist/esm/{chunk-RGKRCZ36.mjs → chunk-MEG27LEV.mjs} +2 -2
  126. package/dist/esm/{chunk-M3FCWYLI.mjs → chunk-NV35GUIY.mjs} +3 -3
  127. package/dist/esm/{chunk-M3FCWYLI.mjs.map → chunk-NV35GUIY.mjs.map} +1 -1
  128. package/dist/esm/{chunk-LA56UDUK.mjs → chunk-PYVKCTUN.mjs} +2 -2
  129. package/dist/esm/{chunk-WCMW2L3P.mjs → chunk-QDJDZ3ON.mjs} +2 -2
  130. package/dist/esm/{chunk-FGFLPH5K.mjs → chunk-RYOICF37.mjs} +2 -2
  131. package/dist/esm/{chunk-AGAAGA2X.mjs → chunk-SQW3MYZL.mjs} +2 -2
  132. package/dist/esm/{chunk-BCTM24ZZ.mjs → chunk-UQT4B7EQ.mjs} +2 -2
  133. package/dist/esm/{chunk-I7XT6L7S.mjs → chunk-VO3JD6U6.mjs} +2 -2
  134. package/dist/esm/{chunk-GQ3UIDPQ.mjs → chunk-VS5NYRHW.mjs} +2 -2
  135. package/dist/esm/chunk-X2TPNKLV.mjs +2 -0
  136. package/dist/esm/chunk-X2TPNKLV.mjs.map +1 -0
  137. package/dist/esm/{chunk-EFQZGHAO.mjs → chunk-XP66F4IY.mjs} +2 -2
  138. package/dist/esm/{chunk-FLZPUYXQ.mjs → chunk-Y426VCPM.mjs} +2 -2
  139. package/dist/esm/{chunk-FLZPUYXQ.mjs.map → chunk-Y426VCPM.mjs.map} +1 -1
  140. package/dist/esm/{chunk-ZABLJ2JJ.mjs → chunk-YDWD2GVM.mjs} +2 -2
  141. package/dist/esm/{chunk-2XQKGWHQ.mjs → chunk-Z7NBE6RR.mjs} +2 -2
  142. package/dist/esm/cli/index.d.mts +1 -1
  143. package/dist/esm/cli/index.mjs +1 -1
  144. package/dist/esm/cli/localNode.mjs +1 -1
  145. package/dist/esm/cli/move.d.mts +1 -1
  146. package/dist/esm/client/core.d.mts +1 -1
  147. package/dist/esm/client/core.mjs +1 -1
  148. package/dist/esm/client/get.d.mts +1 -1
  149. package/dist/esm/client/get.mjs +1 -1
  150. package/dist/esm/client/index.d.mts +1 -1
  151. package/dist/esm/client/index.mjs +1 -1
  152. package/dist/esm/client/post.d.mts +1 -1
  153. package/dist/esm/client/post.mjs +1 -1
  154. package/dist/esm/core/account/index.d.mts +1 -1
  155. package/dist/esm/core/account/index.mjs +1 -1
  156. package/dist/esm/core/account/utils/address.d.mts +1 -1
  157. package/dist/esm/core/account/utils/address.mjs +1 -1
  158. package/dist/esm/core/account/utils/index.d.mts +1 -1
  159. package/dist/esm/core/account/utils/index.mjs +1 -1
  160. package/dist/esm/core/accountAddress.d.mts +1 -1
  161. package/dist/esm/core/accountAddress.mjs +1 -1
  162. package/dist/esm/core/authenticationKey.d.mts +1 -1
  163. package/dist/esm/core/authenticationKey.mjs +1 -1
  164. package/dist/esm/core/crypto/abstraction.d.mts +1 -1
  165. package/dist/esm/core/crypto/abstraction.mjs +1 -1
  166. package/dist/esm/core/crypto/deserializationUtils.d.mts +1 -1
  167. package/dist/esm/core/crypto/deserializationUtils.mjs +1 -1
  168. package/dist/esm/core/crypto/ed25519.d.mts +1 -1
  169. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  170. package/dist/esm/core/crypto/ephemeral.d.mts +1 -1
  171. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  172. package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -2
  173. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  174. package/dist/esm/core/crypto/index.d.mts +2 -2
  175. package/dist/esm/core/crypto/index.mjs +1 -1
  176. package/dist/esm/core/crypto/keyless.d.mts +2 -2
  177. package/dist/esm/core/crypto/keyless.mjs +1 -1
  178. package/dist/esm/core/crypto/multiEd25519.d.mts +1 -1
  179. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  180. package/dist/esm/core/crypto/multiKey.d.mts +1 -1
  181. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  182. package/dist/esm/core/crypto/privateKey.d.mts +1 -1
  183. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  184. package/dist/esm/core/crypto/proof.d.mts +1 -1
  185. package/dist/esm/core/crypto/proof.mjs +1 -1
  186. package/dist/esm/core/crypto/publicKey.d.mts +1 -1
  187. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  188. package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
  189. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  190. package/dist/esm/core/crypto/secp256r1.d.mts +1 -1
  191. package/dist/esm/core/crypto/secp256r1.mjs +1 -1
  192. package/dist/esm/core/crypto/signature.d.mts +1 -1
  193. package/dist/esm/core/crypto/signature.mjs +1 -1
  194. package/dist/esm/core/crypto/singleKey.d.mts +1 -1
  195. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  196. package/dist/esm/core/crypto/types.d.mts +1 -1
  197. package/dist/esm/core/crypto/utils.d.mts +1 -1
  198. package/dist/esm/core/crypto/utils.mjs +1 -1
  199. package/dist/esm/core/hex.d.mts +1 -1
  200. package/dist/esm/core/index.d.mts +2 -2
  201. package/dist/esm/core/index.mjs +1 -1
  202. package/dist/esm/errors/index.d.mts +1 -1
  203. package/dist/esm/errors/index.mjs +1 -1
  204. package/dist/esm/{federatedKeyless-C8KXaSM1.d.mts → federatedKeyless-CxdU4W95.d.mts} +1 -1
  205. package/dist/esm/index.d.mts +3 -3
  206. package/dist/esm/index.mjs +1 -1
  207. package/dist/esm/internal/abstraction.d.mts +1 -1
  208. package/dist/esm/internal/abstraction.mjs +1 -1
  209. package/dist/esm/internal/account.d.mts +2 -2
  210. package/dist/esm/internal/account.mjs +1 -1
  211. package/dist/esm/internal/ans.d.mts +2 -2
  212. package/dist/esm/internal/ans.mjs +1 -1
  213. package/dist/esm/internal/coin.d.mts +1 -1
  214. package/dist/esm/internal/coin.mjs +1 -1
  215. package/dist/esm/internal/digitalAsset.d.mts +2 -2
  216. package/dist/esm/internal/digitalAsset.mjs +1 -1
  217. package/dist/esm/internal/faucet.d.mts +1 -1
  218. package/dist/esm/internal/faucet.mjs +1 -1
  219. package/dist/esm/internal/fungibleAsset.d.mts +2 -2
  220. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  221. package/dist/esm/internal/general.d.mts +1 -1
  222. package/dist/esm/internal/general.mjs +1 -1
  223. package/dist/esm/internal/keyless.d.mts +3 -3
  224. package/dist/esm/internal/keyless.mjs +1 -1
  225. package/dist/esm/internal/object.d.mts +1 -1
  226. package/dist/esm/internal/object.mjs +1 -1
  227. package/dist/esm/internal/staking.d.mts +1 -1
  228. package/dist/esm/internal/staking.mjs +1 -1
  229. package/dist/esm/internal/table.d.mts +1 -1
  230. package/dist/esm/internal/table.mjs +1 -1
  231. package/dist/esm/internal/transaction.d.mts +1 -1
  232. package/dist/esm/internal/transaction.mjs +1 -1
  233. package/dist/esm/internal/transactionSubmission.d.mts +2 -2
  234. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  235. package/dist/esm/internal/utils/index.d.mts +1 -1
  236. package/dist/esm/internal/utils/index.mjs +1 -1
  237. package/dist/esm/internal/utils/utils.d.mts +1 -1
  238. package/dist/esm/internal/utils/utils.mjs +1 -1
  239. package/dist/esm/internal/view.d.mts +1 -1
  240. package/dist/esm/internal/view.mjs +1 -1
  241. package/dist/esm/transactions/authenticator/account.d.mts +1 -1
  242. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  243. package/dist/esm/transactions/authenticator/index.d.mts +1 -1
  244. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  245. package/dist/esm/transactions/authenticator/transaction.d.mts +1 -1
  246. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  247. package/dist/esm/transactions/index.d.mts +1 -1
  248. package/dist/esm/transactions/index.mjs +1 -1
  249. package/dist/esm/transactions/instances/chainId.d.mts +1 -1
  250. package/dist/esm/transactions/instances/chainId.mjs +1 -1
  251. package/dist/esm/transactions/instances/identifier.d.mts +1 -1
  252. package/dist/esm/transactions/instances/identifier.mjs +1 -1
  253. package/dist/esm/transactions/instances/index.d.mts +1 -1
  254. package/dist/esm/transactions/instances/index.mjs +1 -1
  255. package/dist/esm/transactions/instances/moduleId.d.mts +1 -1
  256. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  257. package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +1 -1
  258. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  259. package/dist/esm/transactions/instances/rawTransaction.d.mts +1 -1
  260. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  261. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +1 -1
  262. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  263. package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -1
  264. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  265. package/dist/esm/transactions/instances/simpleTransaction.d.mts +1 -1
  266. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  267. package/dist/esm/transactions/instances/transactionArgument.d.mts +1 -1
  268. package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -1
  269. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  270. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
  271. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  272. package/dist/esm/transactions/management/index.d.mts +2 -2
  273. package/dist/esm/transactions/management/index.mjs +1 -1
  274. package/dist/esm/transactions/management/transactionWorker.d.mts +2 -2
  275. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  276. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +1 -1
  277. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  278. package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -1
  279. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  280. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +1 -1
  281. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  282. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -1
  283. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  284. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +1 -1
  285. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  286. package/dist/esm/transactions/typeTag/index.d.mts +1 -1
  287. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  288. package/dist/esm/transactions/typeTag/parser.d.mts +1 -1
  289. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  290. package/dist/esm/transactions/types.d.mts +1 -1
  291. package/dist/esm/types/index.d.mts +1 -1
  292. package/dist/esm/types/index.mjs +1 -1
  293. package/dist/esm/types/types.d.mts +1 -1
  294. package/dist/esm/types/types.mjs +1 -1
  295. package/dist/esm/utils/helpers.d.mts +1 -1
  296. package/dist/esm/utils/helpers.mjs +1 -1
  297. package/dist/esm/utils/index.d.mts +1 -1
  298. package/dist/esm/utils/index.mjs +1 -1
  299. package/dist/esm/utils/normalizeBundle.d.mts +1 -1
  300. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  301. package/dist/esm/version.d.mts +1 -1
  302. package/dist/esm/version.mjs +1 -1
  303. package/package.json +1 -1
  304. package/src/bcs/consts.ts +15 -1
  305. package/src/bcs/deserializer.ts +105 -0
  306. package/src/bcs/serializable/movePrimitives.ts +237 -1
  307. package/src/bcs/serializer.ts +111 -0
  308. package/src/internal/account.ts +13 -10
  309. package/src/types/types.ts +30 -0
  310. package/src/version.ts +1 -1
  311. package/dist/common/chunk-PW6UQAB2.js +0 -4
  312. package/dist/common/chunk-PW6UQAB2.js.map +0 -1
  313. package/dist/esm/chunk-56CNRT2K.mjs +0 -2
  314. package/dist/esm/chunk-56CNRT2K.mjs.map +0 -1
  315. package/dist/esm/chunk-CW35YAMN.mjs +0 -2
  316. package/dist/esm/chunk-DURSBMWP.mjs.map +0 -1
  317. package/dist/esm/chunk-EBMEXURY.mjs +0 -2
  318. package/dist/esm/chunk-EBMEXURY.mjs.map +0 -1
  319. package/dist/esm/chunk-EW45LLAP.mjs +0 -2
  320. package/dist/esm/chunk-ORMOQWWH.mjs +0 -2
  321. package/dist/esm/chunk-ORMOQWWH.mjs.map +0 -1
  322. package/dist/esm/chunk-XJJVJOX5.mjs +0 -2
  323. /package/dist/esm/{chunk-N6YTF76Q.mjs.map → chunk-3P474TWM.mjs.map} +0 -0
  324. /package/dist/esm/{chunk-Q4W3WJ2U.mjs.map → chunk-3Q4MUGFR.mjs.map} +0 -0
  325. /package/dist/esm/{chunk-TOBQ5UE6.mjs.map → chunk-43LWUUXS.mjs.map} +0 -0
  326. /package/dist/esm/{chunk-WSR5EBJM.mjs.map → chunk-5FNZUL2Y.mjs.map} +0 -0
  327. /package/dist/esm/{chunk-XKUIMGKU.mjs.map → chunk-6IWGTO2J.mjs.map} +0 -0
  328. /package/dist/esm/{chunk-ZYE7UTJZ.mjs.map → chunk-C5UZZHA4.mjs.map} +0 -0
  329. /package/dist/esm/{chunk-MT2RJ7H3.mjs.map → chunk-DIFSO4N6.mjs.map} +0 -0
  330. /package/dist/esm/{chunk-HX6SDBEX.mjs.map → chunk-EM7NAPDX.mjs.map} +0 -0
  331. /package/dist/esm/{chunk-YZHAI55C.mjs.map → chunk-G3HAIETV.mjs.map} +0 -0
  332. /package/dist/esm/{chunk-EF4FA5I6.mjs.map → chunk-GRF3NBRO.mjs.map} +0 -0
  333. /package/dist/esm/{chunk-54WUP65H.mjs.map → chunk-I7UCQWRH.mjs.map} +0 -0
  334. /package/dist/esm/{chunk-C2ZO2L5W.mjs.map → chunk-KNVQ5OJ7.mjs.map} +0 -0
  335. /package/dist/esm/{chunk-XJJVJOX5.mjs.map → chunk-KUF4DKN5.mjs.map} +0 -0
  336. /package/dist/esm/{chunk-YSP6JG5G.mjs.map → chunk-L5EMB6TN.mjs.map} +0 -0
  337. /package/dist/esm/{chunk-CW35YAMN.mjs.map → chunk-LD3I4CYO.mjs.map} +0 -0
  338. /package/dist/esm/{chunk-DRBFLEZL.mjs.map → chunk-M2R4ECLZ.mjs.map} +0 -0
  339. /package/dist/esm/{chunk-RGKRCZ36.mjs.map → chunk-MEG27LEV.mjs.map} +0 -0
  340. /package/dist/esm/{chunk-LA56UDUK.mjs.map → chunk-PYVKCTUN.mjs.map} +0 -0
  341. /package/dist/esm/{chunk-WCMW2L3P.mjs.map → chunk-QDJDZ3ON.mjs.map} +0 -0
  342. /package/dist/esm/{chunk-FGFLPH5K.mjs.map → chunk-RYOICF37.mjs.map} +0 -0
  343. /package/dist/esm/{chunk-AGAAGA2X.mjs.map → chunk-SQW3MYZL.mjs.map} +0 -0
  344. /package/dist/esm/{chunk-BCTM24ZZ.mjs.map → chunk-UQT4B7EQ.mjs.map} +0 -0
  345. /package/dist/esm/{chunk-I7XT6L7S.mjs.map → chunk-VO3JD6U6.mjs.map} +0 -0
  346. /package/dist/esm/{chunk-GQ3UIDPQ.mjs.map → chunk-VS5NYRHW.mjs.map} +0 -0
  347. /package/dist/esm/{chunk-EFQZGHAO.mjs.map → chunk-XP66F4IY.mjs.map} +0 -0
  348. /package/dist/esm/{chunk-ZABLJ2JJ.mjs.map → chunk-YDWD2GVM.mjs.map} +0 -0
  349. /package/dist/esm/{chunk-2XQKGWHQ.mjs.map → chunk-Z7NBE6RR.mjs.map} +0 -0
package/LICENSE CHANGED
@@ -1,201 +1,68 @@
1
- Apache License
2
- Version 2.0, January 2004
3
- http://www.apache.org/licenses/
4
-
5
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
-
7
- 1. Definitions.
8
-
9
- "License" shall mean the terms and conditions for use, reproduction,
10
- and distribution as defined by Sections 1 through 9 of this document.
11
-
12
- "Licensor" shall mean the copyright owner or entity authorized by
13
- the copyright owner that is granting the License.
14
-
15
- "Legal Entity" shall mean the union of the acting entity and all
16
- other entities that control, are controlled by, or are under common
17
- control with that entity. For the purposes of this definition,
18
- "control" means (i) the power, direct or indirect, to cause the
19
- direction or management of such entity, whether by contract or
20
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
- outstanding shares, or (iii) beneficial ownership of such entity.
22
-
23
- "You" (or "Your") shall mean an individual or Legal Entity
24
- exercising permissions granted by this License.
25
-
26
- "Source" form shall mean the preferred form for making modifications,
27
- including but not limited to software source code, documentation
28
- source, and configuration files.
29
-
30
- "Object" form shall mean any form resulting from mechanical
31
- transformation or translation of a Source form, including but
32
- not limited to compiled object code, generated documentation,
33
- and conversions to other media types.
34
-
35
- "Work" shall mean the work of authorship, whether in Source or
36
- Object form, made available under the License, as indicated by a
37
- copyright notice that is included in or attached to the work
38
- (an example is provided in the Appendix below).
39
-
40
- "Derivative Works" shall mean any work, whether in Source or Object
41
- form, that is based on (or derived from) the Work and for which the
42
- editorial revisions, annotations, elaborations, or other modifications
43
- represent, as a whole, an original work of authorship. For the purposes
44
- of this License, Derivative Works shall not include works that remain
45
- separable from, or merely link (or bind by name) to the interfaces of,
46
- the Work and Derivative Works thereof.
47
-
48
- "Contribution" shall mean any work of authorship, including
49
- the original version of the Work and any modifications or additions
50
- to that Work or Derivative Works thereof, that is intentionally
51
- submitted to Licensor for inclusion in the Work by the copyright owner
52
- or by an individual or Legal Entity authorized to submit on behalf of
53
- the copyright owner. For the purposes of this definition, "submitted"
54
- means any form of electronic, verbal, or written communication sent
55
- to the Licensor or its representatives, including but not limited to
56
- communication on electronic mailing lists, source code control systems,
57
- and issue tracking systems that are managed by, or on behalf of, the
58
- Licensor for the purpose of discussing and improving the Work, but
59
- excluding communication that is conspicuously marked or otherwise
60
- designated in writing by the copyright owner as "Not a Contribution."
61
-
62
- "Contributor" shall mean Licensor and any individual or Legal Entity
63
- on behalf of whom a Contribution has been received by Licensor and
64
- subsequently incorporated within the Work.
65
-
66
- 2. Grant of Copyright License. Subject to the terms and conditions of
67
- this License, each Contributor hereby grants to You a perpetual,
68
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
- copyright license to reproduce, prepare Derivative Works of,
70
- publicly display, publicly perform, sublicense, and distribute the
71
- Work and such Derivative Works in Source or Object form.
72
-
73
- 3. Grant of Patent License. Subject to the terms and conditions of
74
- this License, each Contributor hereby grants to You a perpetual,
75
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
- (except as stated in this section) patent license to make, have made,
77
- use, offer to sell, sell, import, and otherwise transfer the Work,
78
- where such license applies only to those patent claims licensable
79
- by such Contributor that are necessarily infringed by their
80
- Contribution(s) alone or by combination of their Contribution(s)
81
- with the Work to which such Contribution(s) was submitted. If You
82
- institute patent litigation against any entity (including a
83
- cross-claim or counterclaim in a lawsuit) alleging that the Work
84
- or a Contribution incorporated within the Work constitutes direct
85
- or contributory patent infringement, then any patent licenses
86
- granted to You under this License for that Work shall terminate
87
- as of the date such litigation is filed.
88
-
89
- 4. Redistribution. You may reproduce and distribute copies of the
90
- Work or Derivative Works thereof in any medium, with or without
91
- modifications, and in Source or Object form, provided that You
92
- meet the following conditions:
93
-
94
- (a) You must give any other recipients of the Work or
95
- Derivative Works a copy of this License; and
96
-
97
- (b) You must cause any modified files to carry prominent notices
98
- stating that You changed the files; and
99
-
100
- (c) You must retain, in the Source form of any Derivative Works
101
- that You distribute, all copyright, patent, trademark, and
102
- attribution notices from the Source form of the Work,
103
- excluding those notices that do not pertain to any part of
104
- the Derivative Works; and
105
-
106
- (d) If the Work includes a "NOTICE" text file as part of its
107
- distribution, then any Derivative Works that You distribute must
108
- include a readable copy of the attribution notices contained
109
- within such NOTICE file, excluding those notices that do not
110
- pertain to any part of the Derivative Works, in at least one
111
- of the following places: within a NOTICE text file distributed
112
- as part of the Derivative Works; within the Source form or
113
- documentation, if provided along with the Derivative Works; or,
114
- within a display generated by the Derivative Works, if and
115
- wherever such third-party notices normally appear. The contents
116
- of the NOTICE file are for informational purposes only and
117
- do not modify the License. You may add Your own attribution
118
- notices within Derivative Works that You distribute, alongside
119
- or as an addendum to the NOTICE text from the Work, provided
120
- that such additional attribution notices cannot be construed
121
- as modifying the License.
122
-
123
- You may add Your own copyright statement to Your modifications and
124
- may provide additional or different license terms and conditions
125
- for use, reproduction, or distribution of Your modifications, or
126
- for any such Derivative Works as a whole, provided Your use,
127
- reproduction, and distribution of the Work otherwise complies with
128
- the conditions stated in this License.
129
-
130
- 5. Submission of Contributions. Unless You explicitly state otherwise,
131
- any Contribution intentionally submitted for inclusion in the Work
132
- by You to the Licensor shall be under the terms and conditions of
133
- this License, without any additional terms or conditions.
134
- Notwithstanding the above, nothing herein shall supersede or modify
135
- the terms of any separate license agreement you may have executed
136
- with Licensor regarding such Contributions.
137
-
138
- 6. Trademarks. This License does not grant permission to use the trade
139
- names, trademarks, service marks, or product names of the Licensor,
140
- except as required for reasonable and customary use in describing the
141
- origin of the Work and reproducing the content of the NOTICE file.
142
-
143
- 7. Disclaimer of Warranty. Unless required by applicable law or
144
- agreed to in writing, Licensor provides the Work (and each
145
- Contributor provides its Contributions) on an "AS IS" BASIS,
146
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
- implied, including, without limitation, any warranties or conditions
148
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
- PARTICULAR PURPOSE. You are solely responsible for determining the
150
- appropriateness of using or redistributing the Work and assume any
151
- risks associated with Your exercise of permissions under this License.
152
-
153
- 8. Limitation of Liability. In no event and under no legal theory,
154
- whether in tort (including negligence), contract, or otherwise,
155
- unless required by applicable law (such as deliberate and grossly
156
- negligent acts) or agreed to in writing, shall any Contributor be
157
- liable to You for damages, including any direct, indirect, special,
158
- incidental, or consequential damages of any character arising as a
159
- result of this License or out of the use or inability to use the
160
- Work (including but not limited to damages for loss of goodwill,
161
- work stoppage, computer failure or malfunction, or any and all
162
- other commercial damages or losses), even if such Contributor
163
- has been advised of the possibility of such damages.
164
-
165
- 9. Accepting Warranty or Additional Liability. While redistributing
166
- the Work or Derivative Works thereof, You may choose to offer,
167
- and charge a fee for, acceptance of support, warranty, indemnity,
168
- or other liability obligations and/or rights consistent with this
169
- License. However, in accepting such obligations, You may act only
170
- on Your own behalf and on Your sole responsibility, not on behalf
171
- of any other Contributor, and only if You agree to indemnify,
172
- defend, and hold each Contributor harmless for any liability
173
- incurred by, or claims asserted against, such Contributor by reason
174
- of your accepting any such warranty or additional liability.
175
-
176
- END OF TERMS AND CONDITIONS
177
-
178
- APPENDIX: How to apply the Apache License to your work.
179
-
180
- To apply the Apache License to your work, attach the following
181
- boilerplate notice, with the fields enclosed by brackets "[]"
182
- replaced with your own identifying information. (Don't include
183
- the brackets!) The text should be enclosed in the appropriate
184
- comment syntax for the file format. We also recommend that a
185
- file or class name and description of purpose be included on the
186
- same "printed page" as the copyright notice for easier
187
- identification within third-party archives.
188
-
189
- Licensed under the Apache License, Version 2.0 (the "License");
190
- you may not use this file except in compliance with the License.
191
- You may obtain a copy of the License at
192
-
193
- http://www.apache.org/licenses/LICENSE-2.0
194
-
195
- Copyright 2023 Aptos Foundation
196
-
197
- Unless required by applicable law or agreed to in writing, software
198
- distributed under the License is distributed on an "AS IS" BASIS,
199
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
- See the License for the specific language governing permissions and
201
- limitations under the License.
1
+ Innovation-Enabling Source Code License
2
+
3
+ Copyright © Aptos Foundation
4
+ Parts of the project are originally copyright © Meta Platforms, Inc.
5
+
6
+ -----------------------------------------------------------------------------
7
+
8
+ “Licensed Work” shall mean the work of authorship, whether in source code or
9
+ object code form or otherwise, made available under this license, as
10
+ indicated by a notice that is included in or attached to the work.
11
+
12
+ Aptos Foundation (the “Licensor”) hereby grants you the right to copy,
13
+ modify, create derivative
14
+ works, redistribute, and make non-production and non-commercial use of the
15
+ Licensed Work solely for your internal purposes. Without limiting the
16
+ generality of the foregoing, you may not use the Licensed Work (or any
17
+ information therein) for the purpose of creating, publishing, deploying,
18
+ launching or offering any blockchain or protocols (whether in mainnet,
19
+ testnet, devnet, beta or alpha versions) outside of personal, non-production
20
+ and non-commercial environments.
21
+
22
+ Notwithstanding the foregoing, on the date that is 4 years after
23
+ the date that the Licensor has publicly uploaded the specific code of the
24
+ Licensed Work that you are using (the “Change Date”), the license herein
25
+ shall automatically terminate and you shall have the right to then use the
26
+ Licensed Work pursuant to the terms of the Apache 2.0 license.
27
+
28
+ In addition, notwithstanding the foregoing, you may additionally use the
29
+ software included in the repositories available at this link
30
+ (https://docs.google.com/spreadsheets/d/1YXfK8bpXNbXUhRtH1hZAaZGdDPyM-ppoKuh6hoLC3Cs/edit?gid=0#gid=0)
31
+ for production commercial uses (the “Additional Use Grant
32
+ Software”), but solely to the extent if such uses are (i) for an application
33
+ built exclusively on the Aptos protocol and (ii) not Competing Uses.
34
+ “Competing Use” means any use of the Additional Use Grant Software in any
35
+ product, protocol, application or service that is made available to third
36
+ parties and that (i) (a) substitutes for use of Aptos protocol or (b) is
37
+ related to the development of a layer 1 or layer 2 blockchain, (ii) offers
38
+ similar functionality as the Aptos protocol or (iii) is built on or using a
39
+ protocol other than Aptos protocol.
40
+
41
+ All copies of the original and modified Licensed Work, and derivative works
42
+ of the Licensed Work, are subject to this License. This License applies
43
+ separately for each version of the Licensed Work and the Change Date may
44
+ vary for each version of the Licensed Work released by Licensor.
45
+
46
+ You must conspicuously display this License on each original or modified
47
+ copy of the Licensed Work. If you receive the Licensed Work in original or
48
+ modified form from a third party, the terms and conditions set forth in this
49
+ License apply to your use of that work.
50
+
51
+ Any use of the Licensed Work in violation of this License will automatically
52
+ terminate your rights under this License for the current and all other
53
+ versions of the Licensed Work. You may contact Aptos Foundation if you are
54
+ interested in seeking a commercial license.
55
+
56
+
57
+ This License does not grant you any right in any trademark or logo of
58
+ Licensor or its affiliates (provided that you may use a trademark or logo of
59
+ Licensor as expressly required by this License).
60
+
61
+ TO THE EXTENT PERMITTED BY APPLICABLE LAW, THE LICENSED WORK IS PROVIDED ON
62
+ AN “AS IS” BASIS. LICENSOR HEREBY DISCLAIMS ALL WARRANTIES AND CONDITIONS,
63
+ EXPRESS OR IMPLIED, INCLUDING (WITHOUT LIMITATION) WARRANTIES OF
64
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT, AND
65
+ TITLE. TO THE FULLEST EXTENT PERMITTED UNDER APPLICABLE LAW, LICENSOR SHALL
66
+ NOT BE LIABLE TO YOU OR ANY OTHER PERSON FOR ANY LOST PROFITS, LOSS OF
67
+ REVENUE OR BUSINESS, COST OF COVER OR ANY INCIDENTAL, SPECIAL OR
68
+ CONSEQUENTIAL DAMAGES OF ANY KIND AND NATURE.
@@ -1018,6 +1018,57 @@ declare class Serializer {
1018
1018
  * @category BCS
1019
1019
  */
1020
1020
  serializeU256(value: AnyNumber): void;
1021
+ /**
1022
+ * Serializes an 8-bit signed integer value.
1023
+ * BCS layout for "int8": One byte. Binary format in little-endian representation.
1024
+ *
1025
+ * @param value - The 8-bit signed integer value to serialize.
1026
+ * @group Implementation
1027
+ * @category BCS
1028
+ */
1029
+ serializeI8(value: number): void;
1030
+ /**
1031
+ * Serializes a 16-bit signed integer value into a binary format.
1032
+ * BCS layout for "int16": Two bytes. Binary format in little-endian representation.
1033
+ *
1034
+ * @param value - The 16-bit signed integer value to serialize.
1035
+ * @group Implementation
1036
+ * @category BCS
1037
+ */
1038
+ serializeI16(value: number): void;
1039
+ /**
1040
+ * Serializes a 32-bit signed integer value into a binary format.
1041
+ *
1042
+ * @param value - The 32-bit signed integer value to serialize.
1043
+ * @group Implementation
1044
+ * @category BCS
1045
+ */
1046
+ serializeI32(value: number): void;
1047
+ /**
1048
+ * Serializes a 64-bit signed integer into a format suitable for storage or transmission.
1049
+ * This function uses two's complement representation for negative values.
1050
+ *
1051
+ * @param value - The 64-bit signed integer to serialize.
1052
+ * @group Implementation
1053
+ * @category BCS
1054
+ */
1055
+ serializeI64(value: AnyNumber): void;
1056
+ /**
1057
+ * Serializes a 128-bit signed integer value.
1058
+ *
1059
+ * @param value - The 128-bit signed integer value to serialize.
1060
+ * @group Implementation
1061
+ * @category BCS
1062
+ */
1063
+ serializeI128(value: AnyNumber): void;
1064
+ /**
1065
+ * Serializes a 256-bit signed integer value.
1066
+ *
1067
+ * @param value - The 256-bit signed integer value to serialize.
1068
+ * @group Implementation
1069
+ * @category BCS
1070
+ */
1071
+ serializeI256(value: AnyNumber): void;
1021
1072
  /**
1022
1073
  * Serializes a 32-bit unsigned integer as a variable-length ULEB128 encoded byte array.
1023
1074
  * BCS uses uleb128 encoding in two cases: (1) lengths of variable-length sequences and (2) tags of enum values
@@ -4719,6 +4770,108 @@ declare class U256 extends Serializable implements TransactionArgument {
4719
4770
  serializeForScriptFunction(serializer: Serializer): void;
4720
4771
  static deserialize(deserializer: Deserializer): U256;
4721
4772
  }
4773
+ /**
4774
+ * Represents an 8-bit signed integer (I8) value.
4775
+ * This class extends the Serializable class and provides methods for serialization and deserialization of I8 values.
4776
+ *
4777
+ * @extends Serializable
4778
+ * @group Implementation
4779
+ * @category BCS
4780
+ */
4781
+ declare class I8 extends Serializable implements TransactionArgument {
4782
+ readonly value: Int8;
4783
+ constructor(value: Int8);
4784
+ serialize(serializer: Serializer): void;
4785
+ serializeForEntryFunction(serializer: Serializer): void;
4786
+ serializeForScriptFunction(serializer: Serializer): void;
4787
+ static deserialize(deserializer: Deserializer): I8;
4788
+ }
4789
+ /**
4790
+ * Represents a 16-bit signed integer (I16) value.
4791
+ * This class extends the Serializable class and provides methods for serialization
4792
+ * and deserialization of the I16 value.
4793
+ *
4794
+ * @extends Serializable
4795
+ * @group Implementation
4796
+ * @category BCS
4797
+ */
4798
+ declare class I16 extends Serializable implements TransactionArgument {
4799
+ readonly value: Int16;
4800
+ constructor(value: Int16);
4801
+ serialize(serializer: Serializer): void;
4802
+ serializeForEntryFunction(serializer: Serializer): void;
4803
+ serializeForScriptFunction(serializer: Serializer): void;
4804
+ static deserialize(deserializer: Deserializer): I16;
4805
+ }
4806
+ /**
4807
+ * Represents a 32-bit signed integer (I32) that can be serialized and deserialized.
4808
+ * This class ensures that the value is within the valid range for an I32.
4809
+ *
4810
+ * @extends Serializable
4811
+ * @group Implementation
4812
+ * @category BCS
4813
+ */
4814
+ declare class I32 extends Serializable implements TransactionArgument {
4815
+ readonly value: Int32;
4816
+ constructor(value: Int32);
4817
+ serialize(serializer: Serializer): void;
4818
+ serializeForEntryFunction(serializer: Serializer): void;
4819
+ serializeForScriptFunction(serializer: Serializer): void;
4820
+ static deserialize(deserializer: Deserializer): I32;
4821
+ }
4822
+ /**
4823
+ * Represents a 64-bit signed integer (I64) and provides methods for serialization.
4824
+ *
4825
+ * This class ensures that the value is within the valid range for an I64 and provides
4826
+ * functionality to serialize the value for various use cases, including entry functions
4827
+ * and script functions.
4828
+ *
4829
+ * @extends Serializable
4830
+ * @group Implementation
4831
+ * @category BCS
4832
+ */
4833
+ declare class I64 extends Serializable implements TransactionArgument {
4834
+ readonly value: bigint;
4835
+ constructor(value: AnyNumber);
4836
+ serialize(serializer: Serializer): void;
4837
+ serializeForEntryFunction(serializer: Serializer): void;
4838
+ serializeForScriptFunction(serializer: Serializer): void;
4839
+ static deserialize(deserializer: Deserializer): I64;
4840
+ }
4841
+ /**
4842
+ * Represents a 128-bit signed integer value.
4843
+ * This class provides methods for serialization and deserialization
4844
+ * of I128 values, ensuring that the values are within the valid range.
4845
+ *
4846
+ * @extends Serializable
4847
+ * @group Implementation
4848
+ * @category BCS
4849
+ */
4850
+ declare class I128 extends Serializable implements TransactionArgument {
4851
+ readonly value: bigint;
4852
+ constructor(value: AnyNumber);
4853
+ serialize(serializer: Serializer): void;
4854
+ serializeForEntryFunction(serializer: Serializer): void;
4855
+ serializeForScriptFunction(serializer: Serializer): void;
4856
+ static deserialize(deserializer: Deserializer): I128;
4857
+ }
4858
+ /**
4859
+ * Represents a 256-bit signed integer (I256) that extends the Serializable class.
4860
+ * This class provides methods for serialization and deserialization of I256 values,
4861
+ * ensuring that the values are within the valid range.
4862
+ *
4863
+ * @extends Serializable
4864
+ * @group Implementation
4865
+ * @category BCS
4866
+ */
4867
+ declare class I256 extends Serializable implements TransactionArgument {
4868
+ readonly value: bigint;
4869
+ constructor(value: AnyNumber);
4870
+ serialize(serializer: Serializer): void;
4871
+ serializeForEntryFunction(serializer: Serializer): void;
4872
+ serializeForScriptFunction(serializer: Serializer): void;
4873
+ static deserialize(deserializer: Deserializer): I256;
4874
+ }
4722
4875
 
4723
4876
  /**
4724
4877
  * This class is the Aptos Typescript SDK representation of a Move `vector<T>`,
@@ -5832,6 +5985,30 @@ type Uint128 = bigint;
5832
5985
  * A 256-bit unsigned integer used for precise numerical calculations.
5833
5986
  */
5834
5987
  type Uint256 = bigint;
5988
+ /**
5989
+ * A signed 8-bit integer.
5990
+ */
5991
+ type Int8 = number;
5992
+ /**
5993
+ * A signed 16-bit integer.
5994
+ */
5995
+ type Int16 = number;
5996
+ /**
5997
+ * A signed 32-bit integer.
5998
+ */
5999
+ type Int32 = number;
6000
+ /**
6001
+ * A signed 64-bit integer.
6002
+ */
6003
+ type Int64 = bigint;
6004
+ /**
6005
+ * A signed 128-bit integer.
6006
+ */
6007
+ type Int128 = bigint;
6008
+ /**
6009
+ * A signed 256-bit integer.
6010
+ */
6011
+ type Int256 = bigint;
5835
6012
  /**
5836
6013
  * A number or a bigint value.
5837
6014
  */
@@ -7295,6 +7472,60 @@ declare class Deserializer {
7295
7472
  * @category BCS
7296
7473
  */
7297
7474
  deserializeU256(): Uint256;
7475
+ /**
7476
+ * Deserializes an 8-bit signed integer from the binary data.
7477
+ * BCS layout for "int8": One byte. Binary format in little-endian representation.
7478
+ *
7479
+ * @returns {number} The deserialized int8 number.
7480
+ * @group Implementation
7481
+ * @category BCS
7482
+ */
7483
+ deserializeI8(): number;
7484
+ /**
7485
+ * Deserializes a 16-bit signed integer from a binary format in little-endian representation.
7486
+ * BCS layout for "int16": Two bytes.
7487
+ *
7488
+ * @returns {number} The deserialized int16 number.
7489
+ * @group Implementation
7490
+ * @category BCS
7491
+ */
7492
+ deserializeI16(): number;
7493
+ /**
7494
+ * Deserializes a 32-bit signed integer from a binary format in little-endian representation.
7495
+ * BCS layout for "int32": Four bytes.
7496
+ *
7497
+ * @returns {number} The deserialized int32 number.
7498
+ * @group Implementation
7499
+ * @category BCS
7500
+ */
7501
+ deserializeI32(): number;
7502
+ /**
7503
+ * Deserializes a 64-bit signed integer.
7504
+ * This function combines two 32-bit values to return a 64-bit signed integer in little-endian representation.
7505
+ *
7506
+ * @returns {bigint} The deserialized int64 number.
7507
+ * @group Implementation
7508
+ * @category BCS
7509
+ */
7510
+ deserializeI64(): bigint;
7511
+ /**
7512
+ * Deserializes a 128-bit signed integer from its binary representation.
7513
+ * This function combines two 64-bit values to return a single int128 value in little-endian format.
7514
+ *
7515
+ * @returns {bigint} The deserialized int128 number.
7516
+ * @group Implementation
7517
+ * @category BCS
7518
+ */
7519
+ deserializeI128(): bigint;
7520
+ /**
7521
+ * Deserializes a 256-bit signed integer from its binary representation.
7522
+ * BCS layout for "int256": Thirty-two bytes in little-endian format.
7523
+ *
7524
+ * @returns {bigint} The deserialized int256 number.
7525
+ * @group Implementation
7526
+ * @category BCS
7527
+ */
7528
+ deserializeI256(): bigint;
7298
7529
  /**
7299
7530
  * Deserializes a uleb128 encoded uint32 number.
7300
7531
  *
@@ -7535,4 +7766,4 @@ declare class AccountAbstractionMessage extends Serializable {
7535
7766
  static deserialize(deserializer: Deserializer): AccountAbstractionMessage;
7536
7767
  }
7537
7768
 
7538
- export { type InputViewFunctionDataWithABI as $, AccountAddress as A, Bool as B, type InputGenerateTransactionPayloadData as C, Deserializer as D, EphemeralPublicKeyVariant as E, FixedBytes as F, type InputScriptData as G, type HexInput as H, type InputGenerateTransactionPayloadDataWithRemoteABI as I, type MoveFunction as J, type InputEntryFunctionDataWithRemoteABI as K, type LedgerVersionArg as L, MultiKey as M, TransactionPayloadEntryFunction as N, type InputMultiSigDataWithRemoteABI as O, PublicKey as P, TransactionPayloadMultiSig as Q, RawTransaction as R, Serializer as S, TransactionPayloadScript as T, U8 as U, type VerifySignatureArgs as V, type InputEntryFunctionDataWithABI as W, type InputMultiSigDataWithABI as X, type InputViewFunctionDataWithRemoteABI as Y, ZkpVariant as Z, EntryFunction as _, AccountPublicKey as a, type GasEstimation as a$, type AnyTransactionPayloadInstance as a0, type InputGenerateTransactionOptions as a1, TransactionInnerPayload as a2, type InputGenerateSingleSignerRawTransactionArgs as a3, SimpleTransaction as a4, type InputGenerateMultiAgentRawTransactionArgs as a5, MultiAgentTransaction as a6, type InputSimulateTransactionData as a7, AccountAuthenticatorNoAccountAuthenticator as a8, AccountAuthenticatorEd25519 as a9, type PrivateKeyInput as aA, type GetCollectionDataResponse as aB, type GetTokenDataResponse as aC, type GetCurrentTokenOwnershipResponse as aD, type GetOwnedTokensResponse as aE, type GetTokenActivityResponse as aF, type WaitForTransactionOptions as aG, type UserTransactionResponse as aH, type GetFungibleAssetMetadataResponse as aI, type GetFungibleAssetActivitiesResponse as aJ, type GetCurrentFungibleAssetBalancesResponse as aK, type LedgerInfo as aL, type Block as aM, type MoveValue as aN, type InputViewFunctionData as aO, type InputViewFunctionJsonData as aP, type GetChainTopUserTransactionsResponse as aQ, type GraphqlQuery as aR, ProcessorType as aS, type GetProcessorStatusResponse as aT, type GetANSNameResponse as aU, type GetNumberOfDelegatorsResponse as aV, type GetDelegatedStakingActivitiesResponse as aW, type InputSimulateTransactionOptions as aX, type InputTransactionPluginData as aY, type PendingTransactionResponse as aZ, type CommittedTransactionResponse as a_, AccountAuthenticatorSingleKey as aa, AccountAuthenticatorMultiKey as ab, type InputSubmitTransactionData as ac, type TypeArgument as ad, TypeTag as ae, type MoveModule as af, type FunctionABI as ag, type EntryFunctionABI as ah, type ViewFunctionABI as ai, type AnyRawTransaction as aj, type AnyRawTransactionInstance as ak, type AccountData as al, type MoveModuleBytecode as am, type CursorPaginationArgs as an, type PaginationArgs as ao, type TransactionResponse as ap, type MoveResource as aq, type MoveStructId as ar, type TokenStandardArg as as, type OrderByArg as at, type GetAccountOwnedTokensQueryResponse as au, type GetAccountOwnedTokensFromCollectionResponse as av, type GetAccountCollectionsWithOwnedTokenResponse as aw, type GetAccountCoinsDataResponse as ax, type WhereArg as ay, type GetObjectDataQueryResponse as az, AuthenticationKey as b, TypeTagI32 as b$, Ed25519PrivateKey as b0, type TableItemRequest as b1, type GetTableItemsDataResponse as b2, type GetTableItemsMetadataResponse as b3, SigningScheme as b4, SigningSchemeInput as b5, AnySignature as b6, type EntryFunctionArgument as b7, MultiKeySignature as b8, AccountAuthenticatorMultiEd25519 as b9, AccountAbstractionMessage as bA, ChainId as bB, Identifier as bC, ModuleId as bD, RawTransactionWithData as bE, MultiAgentRawTransaction as bF, FeePayerRawTransaction as bG, type TransactionArgument as bH, type ScriptFunctionArgument as bI, deserializeFromScriptArgument as bJ, TransactionPayload as bK, Script as bL, MultiSig as bM, MultiSigTransactionPayload as bN, TransactionInnerPayloadV1 as bO, TransactionExecutable as bP, TransactionExecutableScript as bQ, TransactionExecutableEntryFunction as bR, TransactionExecutableEmpty as bS, TransactionExtraConfig as bT, TransactionExtraConfigV1 as bU, TypeTagBool as bV, TypeTagU8 as bW, TypeTagI8 as bX, TypeTagU16 as bY, TypeTagI16 as bZ, TypeTagU32 as b_, AccountAuthenticatorAbstraction as ba, type MoveFunctionId as bb, type ClientRequest as bc, type Client as bd, type ClientResponse as be, type AptosRequest as bf, AptosApiType as bg, type AptosResponse as bh, MimeType as bi, type ClientConfig as bj, type Deserializable as bk, ensureBoolean as bl, outOfRangeErrorMessage as bm, validateNumberInRange as bn, Serialized as bo, MoveOption as bp, AddressInvalidReason as bq, ParsingError as br, type ParsingResult as bs, isCanonicalEd25519Signature as bt, AbstractMultiKey as bu, Secp256k1PublicKey as bv, Secp256k1PrivateKey as bw, Secp256k1Signature as bx, HexInvalidReason as by, hexToAsciiString as bz, type VerifySignatureAsyncArgs as c, isPendingTransactionResponse as c$, TypeTagU64 as c0, TypeTagI64 as c1, TypeTagU128 as c2, TypeTagI128 as c3, TypeTagU256 as c4, TypeTagI256 as c5, TypeTagAddress as c6, TypeTagSigner as c7, TypeTagReference as c8, TypeTagGeneric as c9, TransactionInnerPayloadVariants as cA, TransactionExecutableVariants as cB, TransactionExtraConfigVariants as cC, TransactionVariants as cD, TransactionAuthenticatorVariant as cE, AccountAuthenticatorVariant as cF, PrivateKeyVariants as cG, AnyPublicKeyVariant as cH, anyPublicKeyVariantToString as cI, AnySignatureVariant as cJ, EphemeralSignatureVariant as cK, type Uint8 as cL, type Uint16 as cM, type Uint32 as cN, type Uint64 as cO, type Uint128 as cP, type Uint256 as cQ, type AptosSettings as cR, type FullNodeConfig as cS, type IndexerConfig as cT, type FaucetConfig as cU, type TransactionGenerationConfig as cV, type ClientHeadersType as cW, type PluginConfig as cX, type PluginSettings as cY, type TransactionSubmitter as cZ, TransactionResponseType as c_, TypeTagVector as ca, TypeTagStruct as cb, StructTag as cc, aptosCoinStructTag as cd, stringStructTag as ce, optionStructTag as cf, objectStructTag as cg, type ScriptFunctionArgumentTypes as ch, type InputGenerateSequenceNumberTransactionOptions as ci, type InputGenerateOrderlessTransactionOptions as cj, type InputEntryFunctionData as ck, type InputGenerateTransactionPayloadDataWithABI as cl, type InputMultiSigData as cm, type ViewFunctionJsonPayload as cn, type InputGenerateRawTransactionArgs as co, type InputGenerateSingleSignerRawTransactionData as cp, type InputGenerateMultiAgentRawTransactionData as cq, type InputGenerateTransactionData as cr, type GetAccountAddressesForAuthKeyResponse as cs, type GetEventsResponse as ct, type OrderBy as cu, type OrderByValue as cv, type TokenStandard as cw, TypeTagVariants as cx, ScriptTransactionArgumentVariants as cy, TransactionPayloadVariants as cz, Signature as d, type MoveStruct as d$, isUserTransactionResponse as d0, isGenesisTransactionResponse as d1, isBlockMetadataTransactionResponse as d2, isStateCheckpointTransactionResponse as d3, isValidatorTransactionResponse as d4, isBlockEpilogueTransactionResponse as d5, type GenesisTransactionResponse as d6, type BlockMetadataTransactionResponse as d7, type StateCheckpointTransactionResponse as d8, type ValidatorTransactionResponse as d9, type TransactionSecp256k1Signature as dA, type TransactionSingleSenderSignature as dB, type TransactionMultiEd25519Signature as dC, type TransactionMultiAgentSignature as dD, type TransactionFeePayerSignature as dE, type AccountSignature as dF, type WriteSet as dG, type ScriptWriteSet as dH, type DirectWriteSet as dI, type EventGuid as dJ, type Event as dK, type MoveUint8Type as dL, type MoveUint16Type as dM, type MoveUint32Type as dN, type MoveUint64Type as dO, type MoveUint128Type as dP, type MoveUint256Type as dQ, type MoveAddressType as dR, type MoveObjectType as dS, type MoveOptionType as dT, type MoveStructType as dU, type MoveType as dV, type MoveModuleId as dW, MoveFunctionVisibility as dX, MoveAbility as dY, type MoveFunctionGenericTypeParam as dZ, type MoveStructField as d_, type BlockEndInfo as da, type BlockEpilogueTransactionResponse as db, type WriteSetChange as dc, type WriteSetChangeDeleteModule as dd, type WriteSetChangeDeleteResource as de, type WriteSetChangeDeleteTableItem as df, type WriteSetChangeWriteModule as dg, type WriteSetChangeWriteResource as dh, type WriteSetChangeWriteTableItem as di, type DecodedTableData as dj, type DeletedTableData as dk, type TransactionPayloadResponse as dl, type EntryFunctionPayloadResponse as dm, type ScriptPayloadResponse as dn, type MultisigPayloadResponse as dp, type GenesisPayload as dq, type MoveScriptBytecode as dr, type TransactionSignature as ds, isEd25519Signature as dt, isSecp256k1Signature as du, isMultiAgentSignature as dv, isFeePayerSignature as dw, isMultiEd25519Signature as dx, isSingleSenderSignature as dy, type TransactionEd25519Signature as dz, AptosConfig as e, RoleType as e0, type AuthenticationKeyScheme as e1, DeriveScheme as e2, type GenerateAccountWithEd25519 as e3, type GenerateAccountWithSingleSignerSecp256k1Key as e4, type GenerateAccount as e5, NetworkToIndexerAPI as e6, NetworkToNodeAPI as e7, NetworkToFaucetAPI as e8, NetworkToPepperAPI as e9, NetworkToProverAPI as ea, Network as eb, NetworkToChainId as ec, NetworkToNetworkName as ed, DEFAULT_MAX_GAS_AMOUNT as ee, DEFAULT_TXN_EXP_SEC_FROM_NOW as ef, DEFAULT_TXN_TIMEOUT_SEC as eg, APTOS_COIN as eh, APTOS_FA as ei, RAW_TRANSACTION_SALT as ej, RAW_TRANSACTION_WITH_DATA_SALT as ek, ACCOUNT_ABSTRACTION_SIGNING_DATA_SALT as el, FIREBASE_AUTH_ISS_PATTERN as em, Serializable as f, EphemeralCertificateVariant as g, type AccountAddressInput as h, PrivateKey as i, Hex as j, Ed25519PublicKey as k, AnyPublicKey as l, MultiEd25519PublicKey as m, Ed25519Signature as n, MultiEd25519Signature as o, AccountAuthenticator as p, MoveString as q, MoveVector as r, U64 as s, type AnyNumber as t, type SimpleEntryFunctionArgumentTypes as u, type EntryFunctionArgumentTypes as v, U16 as w, U32 as x, U128 as y, U256 as z };
7769
+ export { type InputViewFunctionDataWithABI as $, AccountAddress as A, Bool as B, type InputGenerateTransactionPayloadData as C, Deserializer as D, EphemeralPublicKeyVariant as E, FixedBytes as F, type InputScriptData as G, type HexInput as H, type InputGenerateTransactionPayloadDataWithRemoteABI as I, type MoveFunction as J, type InputEntryFunctionDataWithRemoteABI as K, type LedgerVersionArg as L, MultiKey as M, TransactionPayloadEntryFunction as N, type InputMultiSigDataWithRemoteABI as O, PublicKey as P, TransactionPayloadMultiSig as Q, RawTransaction as R, Serializer as S, TransactionPayloadScript as T, U8 as U, type VerifySignatureArgs as V, type InputEntryFunctionDataWithABI as W, type InputMultiSigDataWithABI as X, type InputViewFunctionDataWithRemoteABI as Y, ZkpVariant as Z, EntryFunction as _, AccountPublicKey as a, type GasEstimation as a$, type AnyTransactionPayloadInstance as a0, type InputGenerateTransactionOptions as a1, TransactionInnerPayload as a2, type InputGenerateSingleSignerRawTransactionArgs as a3, SimpleTransaction as a4, type InputGenerateMultiAgentRawTransactionArgs as a5, MultiAgentTransaction as a6, type InputSimulateTransactionData as a7, AccountAuthenticatorNoAccountAuthenticator as a8, AccountAuthenticatorEd25519 as a9, type PrivateKeyInput as aA, type GetCollectionDataResponse as aB, type GetTokenDataResponse as aC, type GetCurrentTokenOwnershipResponse as aD, type GetOwnedTokensResponse as aE, type GetTokenActivityResponse as aF, type WaitForTransactionOptions as aG, type UserTransactionResponse as aH, type GetFungibleAssetMetadataResponse as aI, type GetFungibleAssetActivitiesResponse as aJ, type GetCurrentFungibleAssetBalancesResponse as aK, type LedgerInfo as aL, type Block as aM, type MoveValue as aN, type InputViewFunctionData as aO, type InputViewFunctionJsonData as aP, type GetChainTopUserTransactionsResponse as aQ, type GraphqlQuery as aR, ProcessorType as aS, type GetProcessorStatusResponse as aT, type GetANSNameResponse as aU, type GetNumberOfDelegatorsResponse as aV, type GetDelegatedStakingActivitiesResponse as aW, type InputSimulateTransactionOptions as aX, type InputTransactionPluginData as aY, type PendingTransactionResponse as aZ, type CommittedTransactionResponse as a_, AccountAuthenticatorSingleKey as aa, AccountAuthenticatorMultiKey as ab, type InputSubmitTransactionData as ac, type TypeArgument as ad, TypeTag as ae, type MoveModule as af, type FunctionABI as ag, type EntryFunctionABI as ah, type ViewFunctionABI as ai, type AnyRawTransaction as aj, type AnyRawTransactionInstance as ak, type AccountData as al, type MoveModuleBytecode as am, type CursorPaginationArgs as an, type PaginationArgs as ao, type TransactionResponse as ap, type MoveResource as aq, type MoveStructId as ar, type TokenStandardArg as as, type OrderByArg as at, type GetAccountOwnedTokensQueryResponse as au, type GetAccountOwnedTokensFromCollectionResponse as av, type GetAccountCollectionsWithOwnedTokenResponse as aw, type GetAccountCoinsDataResponse as ax, type WhereArg as ay, type GetObjectDataQueryResponse as az, AuthenticationKey as b, TypeTagBool as b$, Ed25519PrivateKey as b0, type TableItemRequest as b1, type GetTableItemsDataResponse as b2, type GetTableItemsMetadataResponse as b3, SigningScheme as b4, SigningSchemeInput as b5, AnySignature as b6, type EntryFunctionArgument as b7, MultiKeySignature as b8, AccountAuthenticatorMultiEd25519 as b9, AbstractMultiKey as bA, Secp256k1PublicKey as bB, Secp256k1PrivateKey as bC, Secp256k1Signature as bD, HexInvalidReason as bE, hexToAsciiString as bF, AccountAbstractionMessage as bG, ChainId as bH, Identifier as bI, ModuleId as bJ, RawTransactionWithData as bK, MultiAgentRawTransaction as bL, FeePayerRawTransaction as bM, type TransactionArgument as bN, type ScriptFunctionArgument as bO, deserializeFromScriptArgument as bP, TransactionPayload as bQ, Script as bR, MultiSig as bS, MultiSigTransactionPayload as bT, TransactionInnerPayloadV1 as bU, TransactionExecutable as bV, TransactionExecutableScript as bW, TransactionExecutableEntryFunction as bX, TransactionExecutableEmpty as bY, TransactionExtraConfig as bZ, TransactionExtraConfigV1 as b_, AccountAuthenticatorAbstraction as ba, type MoveFunctionId as bb, type ClientRequest as bc, type Client as bd, type ClientResponse as be, type AptosRequest as bf, AptosApiType as bg, type AptosResponse as bh, MimeType as bi, type ClientConfig as bj, type Deserializable as bk, ensureBoolean as bl, outOfRangeErrorMessage as bm, validateNumberInRange as bn, I8 as bo, I16 as bp, I32 as bq, I64 as br, I128 as bs, I256 as bt, Serialized as bu, MoveOption as bv, AddressInvalidReason as bw, ParsingError as bx, type ParsingResult as by, isCanonicalEd25519Signature as bz, type VerifySignatureAsyncArgs as c, type Int128 as c$, TypeTagU8 as c0, TypeTagI8 as c1, TypeTagU16 as c2, TypeTagI16 as c3, TypeTagU32 as c4, TypeTagI32 as c5, TypeTagU64 as c6, TypeTagI64 as c7, TypeTagU128 as c8, TypeTagI128 as c9, type OrderBy as cA, type OrderByValue as cB, type TokenStandard as cC, TypeTagVariants as cD, ScriptTransactionArgumentVariants as cE, TransactionPayloadVariants as cF, TransactionInnerPayloadVariants as cG, TransactionExecutableVariants as cH, TransactionExtraConfigVariants as cI, TransactionVariants as cJ, TransactionAuthenticatorVariant as cK, AccountAuthenticatorVariant as cL, PrivateKeyVariants as cM, AnyPublicKeyVariant as cN, anyPublicKeyVariantToString as cO, AnySignatureVariant as cP, EphemeralSignatureVariant as cQ, type Uint8 as cR, type Uint16 as cS, type Uint32 as cT, type Uint64 as cU, type Uint128 as cV, type Uint256 as cW, type Int8 as cX, type Int16 as cY, type Int32 as cZ, type Int64 as c_, TypeTagU256 as ca, TypeTagI256 as cb, TypeTagAddress as cc, TypeTagSigner as cd, TypeTagReference as ce, TypeTagGeneric as cf, TypeTagVector as cg, TypeTagStruct as ch, StructTag as ci, aptosCoinStructTag as cj, stringStructTag as ck, optionStructTag as cl, objectStructTag as cm, type ScriptFunctionArgumentTypes as cn, type InputGenerateSequenceNumberTransactionOptions as co, type InputGenerateOrderlessTransactionOptions as cp, type InputEntryFunctionData as cq, type InputGenerateTransactionPayloadDataWithABI as cr, type InputMultiSigData as cs, type ViewFunctionJsonPayload as ct, type InputGenerateRawTransactionArgs as cu, type InputGenerateSingleSignerRawTransactionData as cv, type InputGenerateMultiAgentRawTransactionData as cw, type InputGenerateTransactionData as cx, type GetAccountAddressesForAuthKeyResponse as cy, type GetEventsResponse as cz, Signature as d, type MoveUint128Type as d$, type Int256 as d0, type AptosSettings as d1, type FullNodeConfig as d2, type IndexerConfig as d3, type FaucetConfig as d4, type TransactionGenerationConfig as d5, type ClientHeadersType as d6, type PluginConfig as d7, type PluginSettings as d8, type TransactionSubmitter as d9, type ScriptPayloadResponse as dA, type MultisigPayloadResponse as dB, type GenesisPayload as dC, type MoveScriptBytecode as dD, type TransactionSignature as dE, isEd25519Signature as dF, isSecp256k1Signature as dG, isMultiAgentSignature as dH, isFeePayerSignature as dI, isMultiEd25519Signature as dJ, isSingleSenderSignature as dK, type TransactionEd25519Signature as dL, type TransactionSecp256k1Signature as dM, type TransactionSingleSenderSignature as dN, type TransactionMultiEd25519Signature as dO, type TransactionMultiAgentSignature as dP, type TransactionFeePayerSignature as dQ, type AccountSignature as dR, type WriteSet as dS, type ScriptWriteSet as dT, type DirectWriteSet as dU, type EventGuid as dV, type Event as dW, type MoveUint8Type as dX, type MoveUint16Type as dY, type MoveUint32Type as dZ, type MoveUint64Type as d_, TransactionResponseType as da, isPendingTransactionResponse as db, isUserTransactionResponse as dc, isGenesisTransactionResponse as dd, isBlockMetadataTransactionResponse as de, isStateCheckpointTransactionResponse as df, isValidatorTransactionResponse as dg, isBlockEpilogueTransactionResponse as dh, type GenesisTransactionResponse as di, type BlockMetadataTransactionResponse as dj, type StateCheckpointTransactionResponse as dk, type ValidatorTransactionResponse as dl, type BlockEndInfo as dm, type BlockEpilogueTransactionResponse as dn, type WriteSetChange as dp, type WriteSetChangeDeleteModule as dq, type WriteSetChangeDeleteResource as dr, type WriteSetChangeDeleteTableItem as ds, type WriteSetChangeWriteModule as dt, type WriteSetChangeWriteResource as du, type WriteSetChangeWriteTableItem as dv, type DecodedTableData as dw, type DeletedTableData as dx, type TransactionPayloadResponse as dy, type EntryFunctionPayloadResponse as dz, AptosConfig as e, type MoveUint256Type as e0, type MoveAddressType as e1, type MoveObjectType as e2, type MoveOptionType as e3, type MoveStructType as e4, type MoveType as e5, type MoveModuleId as e6, MoveFunctionVisibility as e7, MoveAbility as e8, type MoveFunctionGenericTypeParam as e9, type MoveStructField as ea, type MoveStruct as eb, RoleType as ec, type AuthenticationKeyScheme as ed, DeriveScheme as ee, type GenerateAccountWithEd25519 as ef, type GenerateAccountWithSingleSignerSecp256k1Key as eg, type GenerateAccount as eh, NetworkToIndexerAPI as ei, NetworkToNodeAPI as ej, NetworkToFaucetAPI as ek, NetworkToPepperAPI as el, NetworkToProverAPI as em, Network as en, NetworkToChainId as eo, NetworkToNetworkName as ep, DEFAULT_MAX_GAS_AMOUNT as eq, DEFAULT_TXN_EXP_SEC_FROM_NOW as er, DEFAULT_TXN_TIMEOUT_SEC as es, APTOS_COIN as et, APTOS_FA as eu, RAW_TRANSACTION_SALT as ev, RAW_TRANSACTION_WITH_DATA_SALT as ew, ACCOUNT_ABSTRACTION_SIGNING_DATA_SALT as ex, FIREBASE_AUTH_ISS_PATTERN as ey, Serializable as f, EphemeralCertificateVariant as g, type AccountAddressInput as h, PrivateKey as i, Hex as j, Ed25519PublicKey as k, AnyPublicKey as l, MultiEd25519PublicKey as m, Ed25519Signature as n, MultiEd25519Signature as o, AccountAuthenticator as p, MoveString as q, MoveVector as r, U64 as s, type AnyNumber as t, type SimpleEntryFunctionArgumentTypes as u, type EntryFunctionArgumentTypes as v, U16 as w, U32 as x, U128 as y, U256 as z };
@@ -0,0 +1,4 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }var L=Object.defineProperty;var $=Object.getOwnPropertyDescriptor;var d=(r,e,t,n)=>{for(var s=n>1?void 0:n?$(e,t):e,o=r.length-1,c;o>=0;o--)(c=r[o])&&(s=(n?c(e,t,s):c(s))||s);return n&&s&&L(e,t,s),s};var u=class extends Error{constructor(e,t){super(e),this.invalidReason=t}};var _utils = require('@noble/hashes/utils');var j=(n=>(n.TOO_SHORT="too_short",n.INVALID_LENGTH="invalid_length",n.INVALID_HEX_CHARS="invalid_hex_chars",n))(j||{}),x= exports.v =class r{constructor(e){this.data=e}toUint8Array(){return this.data}toStringWithoutPrefix(){return _utils.bytesToHex.call(void 0, this.data)}toString(){return`0x${this.toStringWithoutPrefix()}`}static fromHexString(e){let t=e;if(t.startsWith("0x")&&(t=t.slice(2)),t.length===0)throw new u("Hex string is too short, must be at least 1 char long, excluding the optional leading 0x.","too_short");if(t.length%2!==0)throw new u("Hex string must be an even number of hex characters.","invalid_length");try{return new r(_utils.hexToBytes.call(void 0, t))}catch(n){throw new u(`Hex string contains invalid hex characters: ${_optionalChain([n, 'optionalAccess', _2 => _2.message])}`,"invalid_hex_chars")}}static fromHexInput(e){return e instanceof Uint8Array?new r(e):r.fromHexString(e)}static hexInputToUint8Array(e){return e instanceof Uint8Array?e:r.fromHexString(e).toUint8Array()}static hexInputToString(e){return r.fromHexInput(e).toString()}static hexInputToStringWithoutPrefix(e){return r.fromHexInput(e).toStringWithoutPrefix()}static isValid(e){try{return r.fromHexString(e),{valid:!0}}catch(t){return{valid:!1,invalidReason:_optionalChain([t, 'optionalAccess', _3 => _3.invalidReason]),invalidReasonMessage:_optionalChain([t, 'optionalAccess', _4 => _4.message])}}}equals(e){return this.data.length!==e.data.length?!1:this.data.every((t,n)=>t===e.data[n])}},Be= exports.w =r=>new TextDecoder().decode(x.fromHexInput(r).toUint8Array());var U=255,M= exports.c =65535,f= exports.d =4294967295,m= exports.e =18446744073709551615n,I= exports.f =340282366920938463463374607431768211455n,T= exports.g =115792089237316195423570985008687907853269984665640564039457584007913129639935n,v= exports.h =-128,B= exports.i =127,N= exports.j =-32768,E= exports.k =32767,C= exports.l =-2147483648,w= exports.m =2147483647,k= exports.n =-9223372036854775808n,O= exports.o =9223372036854775807n,G= exports.p =-170141183460469231731687303715884105728n,D= exports.q =170141183460469231731687303715884105727n,z= exports.r =-57896044618658097711785492504343953926634992332820282019728792003956564819968n,F= exports.s =57896044618658097711785492504343953926634992332820282019728792003956564819967n;var b=class{bcsToBytes(){let e=new g;return this.serialize(e),e.toUint8Array()}bcsToHex(){let e=this.bcsToBytes();return x.fromHexInput(e)}toStringWithoutPrefix(){return this.bcsToHex().toStringWithoutPrefix()}toString(){return`0x${this.toStringWithoutPrefix()}`}},g= exports.y =class{constructor(e=64){if(e<=0)throw new Error("Length needs to be greater than 0");this.buffer=new ArrayBuffer(e),this.offset=0}ensureBufferWillHandleSize(e){for(;this.buffer.byteLength<this.offset+e;){let t=new ArrayBuffer(this.buffer.byteLength*2);new Uint8Array(t).set(new Uint8Array(this.buffer)),this.buffer=t}}appendToBuffer(e){this.ensureBufferWillHandleSize(e.length),new Uint8Array(this.buffer,this.offset).set(e),this.offset+=e.length}serializeWithFunction(e,t,n){this.ensureBufferWillHandleSize(t);let s=new DataView(this.buffer,this.offset);e.apply(s,[0,n,!0]),this.offset+=t}serializeStr(e){let t=new TextEncoder;this.serializeBytes(t.encode(e))}serializeBytes(e){this.serializeU32AsUleb128(e.length),this.appendToBuffer(e)}serializeFixedBytes(e){this.appendToBuffer(e)}serializeBool(e){K(e);let t=e?1:0;this.appendToBuffer(new Uint8Array([t]))}serializeU8(e){this.appendToBuffer(new Uint8Array([e]))}serializeU16(e){this.serializeWithFunction(DataView.prototype.setUint16,2,e)}serializeU32(e){this.serializeWithFunction(DataView.prototype.setUint32,4,e)}serializeU64(e){let t=BigInt(e)&BigInt(f),n=BigInt(e)>>BigInt(32);this.serializeU32(Number(t)),this.serializeU32(Number(n))}serializeU128(e){let t=BigInt(e)&m,n=BigInt(e)>>BigInt(64);this.serializeU64(t),this.serializeU64(n)}serializeU256(e){let t=BigInt(e)&I,n=BigInt(e)>>BigInt(128);this.serializeU128(t),this.serializeU128(n)}serializeI8(e){this.serializeWithFunction(DataView.prototype.setInt8,1,e)}serializeI16(e){this.serializeWithFunction(DataView.prototype.setInt16,2,e)}serializeI32(e){this.serializeWithFunction(DataView.prototype.setInt32,4,e)}serializeI64(e){let t=BigInt(e),n=t<0?(BigInt(1)<<BigInt(64))+t:t,s=n&BigInt(f),o=n>>BigInt(32);this.serializeU32(Number(s)),this.serializeU32(Number(o))}serializeI128(e){let t=BigInt(e),n=t<0?(BigInt(1)<<BigInt(128))+t:t,s=n&m,o=n>>BigInt(64);this.serializeU64(s),this.serializeU64(o)}serializeI256(e){let t=BigInt(e),n=t<0?(BigInt(1)<<BigInt(256))+t:t,s=n&I,o=n>>BigInt(128);this.serializeU128(s),this.serializeU128(o)}serializeU32AsUleb128(e){let t=e,n=[];for(;t>>>7;)n.push(t&127|128),t>>>=7;n.push(t),this.appendToBuffer(new Uint8Array(n))}toUint8Array(){return new Uint8Array(this.buffer).slice(0,this.offset)}serialize(e){e.serialize(this)}serializeVector(e){this.serializeU32AsUleb128(e.length),e.forEach(t=>{t.serialize(this)})}serializeOption(e,t){let n=e!==void 0;this.serializeBool(n),n&&(typeof e=="string"?this.serializeStr(e):e instanceof Uint8Array?t!==void 0?this.serializeFixedBytes(e):this.serializeBytes(e):e.serialize(this))}serializeOptionStr(e){e===void 0?this.serializeU32AsUleb128(0):(this.serializeU32AsUleb128(1),this.serializeStr(e))}};d([l(0,U)],g.prototype,"serializeU8",1),d([l(0,M)],g.prototype,"serializeU16",1),d([l(0,f)],g.prototype,"serializeU32",1),d([l(BigInt(0),m)],g.prototype,"serializeU64",1),d([l(BigInt(0),I)],g.prototype,"serializeU128",1),d([l(BigInt(0),T)],g.prototype,"serializeU256",1),d([l(v,B)],g.prototype,"serializeI8",1),d([l(N,E)],g.prototype,"serializeI16",1),d([l(C,w)],g.prototype,"serializeI32",1),d([l(k,O)],g.prototype,"serializeI64",1),d([l(G,D)],g.prototype,"serializeI128",1),d([l(z,F)],g.prototype,"serializeI256",1),d([l(0,f)],g.prototype,"serializeU32AsUleb128",1);function K(r){if(typeof r!="boolean")throw new Error(`${r} is not a boolean value`)}var Y=(r,e,t)=>`${r} is out of range: [${e}, ${t}]`;function Z(r,e,t){let n=BigInt(r);if(n>BigInt(t)||n<BigInt(e))throw new Error(Y(r,e,t))}function l(r,e){return(t,n,s)=>{let o=s.value;return s.value=function(_){return Z(_,r,e),o.apply(this,[_])},s}}var Q=(s=>(s.JSON="application/json",s.BCS="application/x-bcs",s.BCS_SIGNED_TRANSACTION="application/x.aptos.signed_transaction+bcs",s.BCS_VIEW_FUNCTION="application/x.aptos.view_function+bcs",s))(Q||{}),J= exports.D =(i=>(i[i.Bool=0]="Bool",i[i.U8=1]="U8",i[i.U64=2]="U64",i[i.U128=3]="U128",i[i.Address=4]="Address",i[i.Signer=5]="Signer",i[i.Vector=6]="Vector",i[i.Struct=7]="Struct",i[i.U16=8]="U16",i[i.U32=9]="U32",i[i.U256=10]="U256",i[i.I8=11]="I8",i[i.I16=12]="I16",i[i.I32=13]="I32",i[i.I64=14]="I64",i[i.I128=15]="I128",i[i.I256=16]="I256",i[i.Reference=254]="Reference",i[i.Generic=255]="Generic",i))(J||{}),H= exports.E =(p=>(p[p.U8=0]="U8",p[p.U64=1]="U64",p[p.U128=2]="U128",p[p.Address=3]="Address",p[p.U8Vector=4]="U8Vector",p[p.Bool=5]="Bool",p[p.U16=6]="U16",p[p.U32=7]="U32",p[p.U256=8]="U256",p[p.Serialized=9]="Serialized",p))(H||{}),V= exports.F =(s=>(s[s.Script=0]="Script",s[s.EntryFunction=2]="EntryFunction",s[s.Multisig=3]="Multisig",s[s.Payload=4]="Payload",s))(V||{}),ee= exports.G =(e=>(e[e.V1=0]="V1",e))(ee||{}),te= exports.H =(n=>(n[n.Script=0]="Script",n[n.EntryFunction=1]="EntryFunction",n[n.Empty=2]="Empty",n))(te||{}),re= exports.I =(e=>(e[e.V1=0]="V1",e))(re||{}),ne= exports.J =(t=>(t[t.MultiAgentTransaction=0]="MultiAgentTransaction",t[t.FeePayerTransaction=1]="FeePayerTransaction",t))(ne||{}),se= exports.K =(o=>(o[o.Ed25519=0]="Ed25519",o[o.MultiEd25519=1]="MultiEd25519",o[o.MultiAgent=2]="MultiAgent",o[o.FeePayer=3]="FeePayer",o[o.SingleSender=4]="SingleSender",o))(se||{}),oe= exports.L =(c=>(c[c.Ed25519=0]="Ed25519",c[c.MultiEd25519=1]="MultiEd25519",c[c.SingleKey=2]="SingleKey",c[c.MultiKey=3]="MultiKey",c[c.NoAccountAuthenticator=4]="NoAccountAuthenticator",c[c.Abstraction=5]="Abstraction",c))(oe||{}),ie= exports.M =(n=>(n.Ed25519="ed25519",n.Secp256k1="secp256k1",n.Secp256r1="secp256r1",n))(ie||{}),ae= exports.N =(o=>(o[o.Ed25519=0]="Ed25519",o[o.Secp256k1=1]="Secp256k1",o[o.Secp256r1=2]="Secp256r1",o[o.Keyless=3]="Keyless",o[o.FederatedKeyless=4]="FederatedKeyless",o))(ae||{});function Ge(r){switch(r){case 0:return"ed25519";case 1:return"secp256k1";case 2:return"secp256r1";case 3:return"keyless";case 4:return"federated_keyless";default:throw new Error("Unknown public key variant")}}var pe=(s=>(s[s.Ed25519=0]="Ed25519",s[s.Secp256k1=1]="Secp256k1",s[s.WebAuthn=2]="WebAuthn",s[s.Keyless=3]="Keyless",s))(pe||{}),ce= exports.Q =(e=>(e[e.Ed25519=0]="Ed25519",e))(ce||{}),ue= exports.R =(e=>(e[e.Ed25519=0]="Ed25519",e))(ue||{}),ge= exports.S =(e=>(e[e.ZkProof=0]="ZkProof",e))(ge||{}),de= exports.T =(e=>(e[e.Groth16=0]="Groth16",e))(de||{}),le= exports.U =(_=>(_.Pending="pending_transaction",_.User="user_transaction",_.Genesis="genesis_transaction",_.BlockMetadata="block_metadata_transaction",_.StateCheckpoint="state_checkpoint_transaction",_.Validator="validator_transaction",_.BlockEpilogue="block_epilogue_transaction",_))(le||{});function De(r){return r.type==="pending_transaction"}function ze(r){return r.type==="user_transaction"}function Fe(r){return r.type==="genesis_transaction"}function He(r){return r.type==="block_metadata_transaction"}function We(r){return r.type==="state_checkpoint_transaction"}function Pe(r){return r.type==="validator_transaction"}function Le(r){return r.type==="block_epilogue_transaction"}function $e(r){return"signature"in r&&r.type==="ed25519_signature"}function Xe(r){return"signature"in r&&r.signature==="secp256k1_ecdsa_signature"}function qe(r){return r.type==="multi_agent_signature"}function je(r){return r.type==="fee_payer_signature"}function Ke(r){return r.type==="multi_ed25519_signature"}function Ye(r){return r.type==="single_sender"}var ye=(n=>(n.PRIVATE="private",n.PUBLIC="public",n.FRIEND="friend",n))(ye||{}),_e= exports.ha =(s=>(s.STORE="store",s.DROP="drop",s.KEY="key",s.COPY="copy",s))(_e||{}),he= exports.ia =(t=>(t.VALIDATOR="validator",t.FULL_NODE="full_node",t))(he||{}),xe= exports.ja =(s=>(s[s.Ed25519=0]="Ed25519",s[s.MultiEd25519=1]="MultiEd25519",s[s.SingleKey=2]="SingleKey",s[s.MultiKey=3]="MultiKey",s))(xe||{}),fe= exports.ka =(t=>(t[t.Ed25519=0]="Ed25519",t[t.Secp256k1Ecdsa=2]="Secp256k1Ecdsa",t))(fe||{}),W= exports.la =(o=>(o[o.DeriveAuid=251]="DeriveAuid",o[o.DeriveObjectAddressFromObject=252]="DeriveObjectAddressFromObject",o[o.DeriveObjectAddressFromGuid=253]="DeriveObjectAddressFromGuid",o[o.DeriveObjectAddressFromSeed=254]="DeriveObjectAddressFromSeed",o[o.DeriveResourceAccountAddress=255]="DeriveResourceAccountAddress",o))(W||{});var Ie=(h=>(h.INCORRECT_NUMBER_OF_BYTES="incorrect_number_of_bytes",h.INVALID_HEX_CHARS="invalid_hex_chars",h.TOO_SHORT="too_short",h.TOO_LONG="too_long",h.LEADING_ZERO_X_REQUIRED="leading_zero_x_required",h.LONG_FORM_REQUIRED_UNLESS_SPECIAL="long_form_required_unless_special",h.INVALID_PADDING_ZEROES="INVALID_PADDING_ZEROES",h.INVALID_PADDING_STRICTNESS="INVALID_PADDING_STRICTNESS",h))(Ie||{}),a=class a extends b{constructor(e){if(super(),e.length!==a.LENGTH)throw new u("AccountAddress data should be exactly 32 bytes long","incorrect_number_of_bytes");this.data=e}isSpecial(){return this.data.slice(0,this.data.length-1).every(e=>e===0)&&this.data[this.data.length-1]<16}toString(){return`0x${this.toStringWithoutPrefix()}`}toStringWithoutPrefix(){let e=_utils.bytesToHex.call(void 0, this.data);return this.isSpecial()&&(e=e[e.length-1]),e}toStringLong(){return`0x${this.toStringLongWithoutPrefix()}`}toStringLongWithoutPrefix(){return _utils.bytesToHex.call(void 0, this.data)}toStringShort(){return`0x${this.toStringShortWithoutPrefix()}`}toStringShortWithoutPrefix(){let e=_utils.bytesToHex.call(void 0, this.data).replace(/^0+/,"");return e===""?"0":e}toUint8Array(){return this.data}serialize(e){e.serializeFixedBytes(this.data)}serializeForEntryFunction(e){let t=this.bcsToBytes();e.serializeBytes(t)}serializeForScriptFunction(e){e.serializeU32AsUleb128(3),e.serialize(this)}static deserialize(e){let t=e.deserializeFixedBytes(a.LENGTH);return new a(t)}static fromStringStrict(e){if(!e.startsWith("0x"))throw new u("Hex string must start with a leading 0x.","leading_zero_x_required");let t=a.fromString(e);if(e.length!==a.LONG_STRING_LENGTH+2)if(t.isSpecial()){if(e.length!==3)throw new u(`The given hex string ${e} is a special address not in LONG form, it must be 0x0 to 0xf without padding zeroes.`,"INVALID_PADDING_ZEROES")}else throw new u(`The given hex string ${e} is not a special address, it must be represented as 0x + 64 chars.`,"long_form_required_unless_special");return t}static fromString(e,{maxMissingChars:t=4}={}){let n=e;if(e.startsWith("0x")&&(n=e.slice(2)),n.length===0)throw new u("Hex string is too short, must be 1 to 64 chars long, excluding the leading 0x.","too_short");if(n.length>64)throw new u("Hex string is too long, must be 1 to 64 chars long, excluding the leading 0x.","too_long");if(t>63||t<0)throw new u(`maxMissingChars must be between or equal to 0 and 63. Received ${t}`,"INVALID_PADDING_STRICTNESS");let s;try{s=_utils.hexToBytes.call(void 0, n.padStart(64,"0"))}catch(c){throw new u(`Hex characters are invalid: ${_optionalChain([c, 'optionalAccess', _5 => _5.message])}`,"invalid_hex_chars")}let o=new a(s);if(n.length<64-t&&!o.isSpecial())throw new u(`Hex string is too short, must be ${64-t} to 64 chars long, excluding the leading 0x. You may need to fix
2
+ the addresss by padding it with 0s before passing it to \`fromString\` (e.g. <addressString>.padStart(64, '0')).
3
+ Received ${e}`,"too_short");return o}static from(e,{maxMissingChars:t=4}={}){return typeof e=="string"?a.fromString(e,{maxMissingChars:t}):e instanceof Uint8Array?new a(e):e}static fromStrict(e){return typeof e=="string"?a.fromStringStrict(e):e instanceof Uint8Array?new a(e):e}static isValid(e){try{return e.strict?a.fromStrict(e.input):a.from(e.input),{valid:!0}}catch(t){return{valid:!1,invalidReason:_optionalChain([t, 'optionalAccess', _6 => _6.invalidReason]),invalidReasonMessage:_optionalChain([t, 'optionalAccess', _7 => _7.message])}}}equals(e){return this.data.length!==e.data.length?!1:this.data.every((t,n)=>t===e.data[n])}};a.LENGTH=32,a.LONG_STRING_LENGTH=64,a.ZERO=a.from("0x0"),a.ONE=a.from("0x1"),a.TWO=a.from("0x2"),a.THREE=a.from("0x3"),a.FOUR=a.from("0x4"),a.A=a.from("0xA");var y=a;var _sha3 = require('@noble/hashes/sha3');var R=(r,e)=>{let t=r.bcsToBytes(),n=typeof e=="string"?Buffer.from(e,"utf8"):e,s=new Uint8Array([...t,...n,254]);return new y(_sha3.sha3_256.call(void 0, s))},gt= exports.pa =(r,e)=>{let t=r.bcsToBytes(),n=typeof e=="string"?Buffer.from(e,"utf8"):e,s=new Uint8Array([...t,...n,255]);return new y(_sha3.sha3_256.call(void 0, s))},dt= exports.qa =(r,e)=>{let t=r.bcsToBytes(),n=e.bcsToBytes(),s=new Uint8Array([...t,...n,252]);return new y(_sha3.sha3_256.call(void 0, s))},lt= exports.ra =(r,e,t)=>{let n=`${e}::${t}`;return R(r,n)};var _jsbase64 = require('js-base64');async function ft(r){return new Promise(e=>{setTimeout(e,r)})}function mt(r){return r instanceof Error?r.message:String(r)}var It=()=>Math.floor(Date.now()/1e3);function bt(r){let e=new Date(r*1e3);return e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0),Math.floor(e.getTime()/1e3)}function At(r){let e=r.replace(/-/g,"+").replace(/_/g,"/"),t=e+"==".substring(0,(3-e.length%3)%3);return _jsbase64.decode.call(void 0, t)}function St(r){let e=r.replace(/-/g,"+").replace(/_/g,"/");for(;e.length%4!==0;)e+="=";return new Uint8Array(Buffer.from(e,"base64"))}var Rt=(r,e)=>r*10**e,Ut= exports.za =(r,e)=>r/10**e,P=r=>{let e="";for(let t=2;t<r.length;t+=2)e+=String.fromCharCode(parseInt(r.substring(t,t+2),16));return e},Mt= exports.Aa =r=>{let{account_address:e,module_name:t,struct_name:n}=r,s=P(t),o=P(n);return`${e}::${s}::${o}`},Tt= exports.Ba =r=>typeof r=="object"&&!Array.isArray(r)&&r!==null&&"account_address"in r&&"module_name"in r&&"struct_name"in r&&typeof r.account_address=="string"&&typeof r.module_name=="string"&&typeof r.struct_name=="string";function vt(r){let e=r.split("::");if(e.length!==3)throw new Error(`Invalid function ${r}`);let t=e[0],n=e[1],s=e[2];return{moduleAddress:t,moduleName:n,functionName:s}}function Bt(r){let e=r.split("::");return e.length===3&&y.isValid({input:e[0]}).valid}function Nt(r,e=6,t=5){return`${r.slice(0,e)}...${r.slice(-t)}`}var Ae="0x1::aptos_coin::AptosCoin",Et=y.A.toStringLong();function Se(r){let e=/0x[0-9a-fA-F]+/g;return r.replace(e,t=>y.from(t,{maxMissingChars:63}).toStringShort())}function Ct(r){let e=Se(r);return e===Ae?y.A:R(y.A,e)}exports.a = d; exports.b = U; exports.c = M; exports.d = f; exports.e = m; exports.f = I; exports.g = T; exports.h = v; exports.i = B; exports.j = N; exports.k = E; exports.l = C; exports.m = w; exports.n = k; exports.o = O; exports.p = G; exports.q = D; exports.r = z; exports.s = F; exports.t = u; exports.u = j; exports.v = x; exports.w = Be; exports.x = b; exports.y = g; exports.z = K; exports.A = Y; exports.B = Z; exports.C = Q; exports.D = J; exports.E = H; exports.F = V; exports.G = ee; exports.H = te; exports.I = re; exports.J = ne; exports.K = se; exports.L = oe; exports.M = ie; exports.N = ae; exports.O = Ge; exports.P = pe; exports.Q = ce; exports.R = ue; exports.S = ge; exports.T = de; exports.U = le; exports.V = De; exports.W = ze; exports.X = Fe; exports.Y = He; exports.Z = We; exports._ = Pe; exports.$ = Le; exports.aa = $e; exports.ba = Xe; exports.ca = qe; exports.da = je; exports.ea = Ke; exports.fa = Ye; exports.ga = ye; exports.ha = _e; exports.ia = he; exports.ja = xe; exports.ka = fe; exports.la = W; exports.ma = Ie; exports.na = y; exports.oa = R; exports.pa = gt; exports.qa = dt; exports.ra = lt; exports.sa = ft; exports.ta = mt; exports.ua = It; exports.va = bt; exports.wa = At; exports.xa = St; exports.ya = Rt; exports.za = Ut; exports.Aa = Mt; exports.Ba = Tt; exports.Ca = vt; exports.Da = Bt; exports.Ea = Nt; exports.Fa = Ct;
4
+ //# sourceMappingURL=chunk-HO5ESTN4.js.map