@aptos-labs/ts-sdk 1.31.0 → 1.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/common/{accountAddress-DnSqjhSl.d.ts → accountAddress-6RqI8Aam.d.ts} +144 -63
- package/dist/common/chunk-F43XVDYJ.js +2 -0
- package/dist/common/chunk-F43XVDYJ.js.map +1 -0
- package/dist/common/cli/index.d.ts +1 -1
- package/dist/common/cli/index.js +1 -1
- package/dist/common/cli/index.js.map +1 -1
- package/dist/common/index.d.ts +542 -111
- package/dist/common/index.js +36 -29
- package/dist/common/index.js.map +1 -1
- package/dist/esm/{Ed25519Account-DpH9qAcg.d.mts → Ed25519Account-B3xHXAQe.d.mts} +2 -2
- package/dist/esm/account/AbstractKeylessAccount.d.mts +86 -14
- package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
- package/dist/esm/account/Account.d.mts +5 -4
- package/dist/esm/account/Account.mjs +1 -1
- package/dist/esm/account/Ed25519Account.d.mts +5 -4
- package/dist/esm/account/Ed25519Account.mjs +1 -1
- package/dist/esm/account/EphemeralKeyPair.d.mts +4 -3
- package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
- package/dist/esm/account/FederatedKeylessAccount.d.mts +57 -8
- package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
- package/dist/esm/account/KeylessAccount.d.mts +29 -11
- package/dist/esm/account/KeylessAccount.mjs +1 -1
- package/dist/esm/account/MultiKeyAccount.d.mts +23 -10
- package/dist/esm/account/MultiKeyAccount.mjs +1 -1
- package/dist/esm/account/SingleKeyAccount.d.mts +5 -4
- package/dist/esm/account/SingleKeyAccount.mjs +1 -1
- package/dist/esm/account/index.d.mts +6 -5
- package/dist/esm/account/index.mjs +1 -1
- package/dist/esm/api/account.d.mts +6 -5
- package/dist/esm/api/account.mjs +1 -1
- package/dist/esm/api/ans.d.mts +4 -3
- package/dist/esm/api/ans.mjs +1 -1
- package/dist/esm/api/aptos.d.mts +6 -4
- package/dist/esm/api/aptos.mjs +1 -1
- package/dist/esm/api/aptosConfig.d.mts +2 -1
- package/dist/esm/api/coin.d.mts +4 -3
- package/dist/esm/api/coin.mjs +1 -1
- package/dist/esm/api/digitalAsset.d.mts +6 -5
- package/dist/esm/api/digitalAsset.mjs +1 -1
- package/dist/esm/api/event.d.mts +4 -3
- package/dist/esm/api/event.mjs +1 -1
- package/dist/esm/api/faucet.d.mts +3 -2
- package/dist/esm/api/faucet.mjs +1 -1
- package/dist/esm/api/fungibleAsset.d.mts +6 -5
- package/dist/esm/api/fungibleAsset.mjs +1 -1
- package/dist/esm/api/general.d.mts +4 -3
- package/dist/esm/api/general.mjs +1 -1
- package/dist/esm/api/index.d.mts +6 -4
- package/dist/esm/api/index.mjs +1 -1
- package/dist/esm/api/keyless.d.mts +7 -6
- package/dist/esm/api/keyless.mjs +1 -1
- package/dist/esm/api/object.d.mts +4 -3
- package/dist/esm/api/object.mjs +1 -1
- package/dist/esm/api/staking.d.mts +4 -3
- package/dist/esm/api/staking.mjs +1 -1
- package/dist/esm/api/table.d.mts +4 -3
- package/dist/esm/api/table.mjs +1 -1
- package/dist/esm/api/transaction.d.mts +5 -3
- package/dist/esm/api/transaction.mjs +1 -1
- package/dist/esm/api/transactionSubmission/build.d.mts +69 -3
- package/dist/esm/api/transactionSubmission/build.mjs +1 -1
- package/dist/esm/api/transactionSubmission/management.d.mts +5 -4
- package/dist/esm/api/transactionSubmission/management.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.d.mts +5 -4
- package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
- package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
- package/dist/esm/api/transactionSubmission/simulate.d.mts +4 -3
- package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
- package/dist/esm/api/transactionSubmission/submit.d.mts +4 -3
- package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
- package/dist/esm/api/utils.d.mts +3 -2
- package/dist/esm/api/utils.mjs +1 -1
- package/dist/esm/bcs/consts.d.mts +3 -2
- package/dist/esm/bcs/deserializer.d.mts +36 -27
- package/dist/esm/bcs/deserializer.mjs +1 -1
- package/dist/esm/bcs/index.d.mts +3 -2
- package/dist/esm/bcs/index.mjs +1 -1
- package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +3 -2
- package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/fixedBytes.d.mts +3 -2
- package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
- package/dist/esm/bcs/serializable/movePrimitives.d.mts +3 -2
- package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
- package/dist/esm/bcs/serializable/moveStructs.d.mts +12 -12
- package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
- package/dist/esm/bcs/serializer.d.mts +14 -13
- package/dist/esm/bcs/serializer.mjs +1 -1
- package/dist/esm/{chunk-4ZK3JNQT.mjs → chunk-2NHQQQZK.mjs} +2 -2
- package/dist/esm/{chunk-MSHZ4FWB.mjs → chunk-2QBCTW67.mjs} +2 -2
- package/dist/esm/{chunk-MSHZ4FWB.mjs.map → chunk-2QBCTW67.mjs.map} +1 -1
- package/dist/esm/{chunk-F2RY4YQ7.mjs → chunk-37Y54PJ5.mjs} +2 -2
- package/dist/esm/chunk-3DQVGPFE.mjs +2 -0
- package/dist/esm/chunk-3DQVGPFE.mjs.map +1 -0
- package/dist/esm/{chunk-OAEDFM7T.mjs → chunk-3XCYCFYI.mjs} +2 -2
- package/dist/esm/{chunk-6FLHGOKP.mjs → chunk-42H7WETG.mjs} +2 -2
- package/dist/esm/{chunk-AZ6LVQEG.mjs → chunk-46L6BAJG.mjs} +2 -2
- package/dist/esm/{chunk-KW4FVBDD.mjs → chunk-4DNCQM3S.mjs} +2 -2
- package/dist/esm/chunk-4O5XDQDO.mjs +2 -0
- package/dist/esm/chunk-4PBXTMN3.mjs +2 -0
- package/dist/esm/chunk-4PBXTMN3.mjs.map +1 -0
- package/dist/esm/chunk-4YEOOZ2N.mjs +4 -0
- package/dist/esm/{chunk-HM5HITUC.mjs.map → chunk-4YEOOZ2N.mjs.map} +1 -1
- package/dist/esm/{chunk-5N6KJ7KS.mjs → chunk-5AKSORBJ.mjs} +2 -2
- package/dist/esm/chunk-5B3SMBXQ.mjs +2 -0
- package/dist/esm/{chunk-UCRROMZN.mjs → chunk-5NJWJXSS.mjs} +2 -2
- package/dist/esm/{chunk-CL6EEMSL.mjs → chunk-6K4TOFCO.mjs} +2 -2
- package/dist/esm/{chunk-RNJHULIT.mjs → chunk-6LLGRGCN.mjs} +2 -2
- package/dist/esm/chunk-6LLGRGCN.mjs.map +1 -0
- package/dist/esm/{chunk-IAVI3H4V.mjs → chunk-6PJH53CK.mjs} +2 -2
- package/dist/esm/{chunk-PCLU4KLY.mjs → chunk-6ZOVTYLJ.mjs} +2 -2
- package/dist/esm/chunk-7ECCT6PK.mjs +1 -0
- package/dist/esm/chunk-7WXDXBXK.mjs +2 -0
- package/dist/esm/{chunk-WV2VJQDS.mjs.map → chunk-7WXDXBXK.mjs.map} +1 -1
- package/dist/esm/{chunk-RAJTNQNL.mjs → chunk-AAATWCJT.mjs} +2 -2
- package/dist/esm/{chunk-NODYW7DM.mjs → chunk-ACVIE7IE.mjs} +2 -2
- package/dist/esm/chunk-AHWZA3GD.mjs +2 -0
- package/dist/esm/chunk-AHWZA3GD.mjs.map +1 -0
- package/dist/esm/{chunk-QQIVWB6G.mjs → chunk-AJ5JHBAE.mjs} +2 -2
- package/dist/esm/{chunk-QQIVWB6G.mjs.map → chunk-AJ5JHBAE.mjs.map} +1 -1
- package/dist/esm/{chunk-PRZ7AIGA.mjs → chunk-AKIO3OIT.mjs} +2 -2
- package/dist/esm/chunk-AMCJQIOT.mjs +2 -0
- package/dist/esm/{chunk-2CGJLPHP.mjs.map → chunk-AMCJQIOT.mjs.map} +1 -1
- package/dist/esm/{chunk-KRVLR3L4.mjs → chunk-AOROYJ74.mjs} +2 -2
- package/dist/esm/chunk-AVPQOD67.mjs +2 -0
- package/dist/esm/chunk-AVPQOD67.mjs.map +1 -0
- package/dist/esm/chunk-AVZYJAXR.mjs +2 -0
- package/dist/esm/chunk-AVZYJAXR.mjs.map +1 -0
- package/dist/esm/{chunk-6DMDYBV6.mjs → chunk-BLLHTGAP.mjs} +2 -2
- package/dist/esm/{chunk-JGNMNCQB.mjs → chunk-BRV3RLKW.mjs} +2 -2
- package/dist/esm/{chunk-7JK7UG4E.mjs → chunk-CA3Q2X6B.mjs} +2 -2
- package/dist/esm/chunk-D52UKPQF.mjs +2 -0
- package/dist/esm/chunk-D52UKPQF.mjs.map +1 -0
- package/dist/esm/{chunk-SOLWFAUY.mjs → chunk-DDVOBEJA.mjs} +2 -2
- package/dist/esm/chunk-DDVOBEJA.mjs.map +1 -0
- package/dist/esm/{chunk-RNRNGJDA.mjs → chunk-DP3YPGIK.mjs} +2 -2
- package/dist/esm/{chunk-KYJU5PWF.mjs → chunk-DSKAMBBL.mjs} +2 -2
- package/dist/esm/{chunk-L5J3V3HW.mjs → chunk-E2NYQVP3.mjs} +2 -2
- package/dist/esm/chunk-EEB7EZFO.mjs +2 -0
- package/dist/esm/chunk-EEB7EZFO.mjs.map +1 -0
- package/dist/esm/{chunk-4JXB6V5O.mjs → chunk-F2AIWA7L.mjs} +2 -2
- package/dist/esm/chunk-F45G3GP3.mjs +7 -0
- package/dist/esm/chunk-F45G3GP3.mjs.map +1 -0
- package/dist/esm/{chunk-WSZCPSV4.mjs → chunk-FXUI3SSD.mjs} +2 -2
- package/dist/esm/chunk-G2GN4LH5.mjs +2 -0
- package/dist/esm/chunk-G2GN4LH5.mjs.map +1 -0
- package/dist/esm/chunk-GBVRCWCD.mjs +2 -0
- package/dist/esm/chunk-GBVRCWCD.mjs.map +1 -0
- package/dist/esm/chunk-H457BI3I.mjs +2 -0
- package/dist/esm/chunk-H457BI3I.mjs.map +1 -0
- package/dist/esm/{chunk-A2AEFKXS.mjs → chunk-HEHVWRMO.mjs} +2 -2
- package/dist/esm/{chunk-UGL2GPGK.mjs → chunk-HFWFDS6Y.mjs} +2 -2
- package/dist/esm/{chunk-OXM4BVAY.mjs → chunk-HXXELLHN.mjs} +2 -2
- package/dist/esm/{chunk-RBJNSUSU.mjs → chunk-IBMZYDAR.mjs} +2 -2
- package/dist/esm/{chunk-AT2ZGTXQ.mjs → chunk-IDNDUJOK.mjs} +2 -2
- package/dist/esm/{chunk-3H5DGQKX.mjs → chunk-II654QZU.mjs} +2 -2
- package/dist/esm/{chunk-JNRMHDRA.mjs → chunk-JDNI5VIJ.mjs} +2 -2
- package/dist/esm/{chunk-73GCGRFW.mjs → chunk-JJUINAQE.mjs} +2 -2
- package/dist/esm/{chunk-VYMRIKUV.mjs → chunk-JLD7DLKM.mjs} +2 -2
- package/dist/esm/chunk-JNO7KPMG.mjs +4 -0
- package/dist/esm/chunk-JNO7KPMG.mjs.map +1 -0
- package/dist/esm/chunk-K4TJRYGQ.mjs +2 -0
- package/dist/esm/chunk-K4TJRYGQ.mjs.map +1 -0
- package/dist/esm/{chunk-XFJD6QIP.mjs → chunk-KA5FX53Q.mjs} +2 -2
- package/dist/esm/{chunk-2GEIHUHT.mjs → chunk-KT3DT5GV.mjs} +2 -2
- package/dist/esm/chunk-KT3DT5GV.mjs.map +1 -0
- package/dist/esm/chunk-KUL55M2H.mjs +2 -0
- package/dist/esm/chunk-KUL55M2H.mjs.map +1 -0
- package/dist/esm/{chunk-ZPIMARUG.mjs → chunk-L2QVUMBV.mjs} +2 -2
- package/dist/esm/chunk-L2SDI7PI.mjs +2 -0
- package/dist/esm/chunk-L2SDI7PI.mjs.map +1 -0
- package/dist/esm/chunk-L56DQ4N3.mjs +2 -0
- package/dist/esm/chunk-L56DQ4N3.mjs.map +1 -0
- package/dist/esm/{chunk-TPJLAYW6.mjs → chunk-LAAFLCDM.mjs} +2 -2
- package/dist/esm/{chunk-AGBA3Y7A.mjs → chunk-LGTOOAQI.mjs} +2 -2
- package/dist/esm/chunk-MHN6XY4Z.mjs +2 -0
- package/dist/esm/{chunk-JVTDP4KV.mjs → chunk-MOGPSSTD.mjs} +2 -2
- package/dist/esm/{chunk-WZCKSN2U.mjs → chunk-NARS3JDH.mjs} +2 -2
- package/dist/esm/{chunk-YZ5BCOGI.mjs → chunk-NHKAQRJB.mjs} +2 -2
- package/dist/esm/{chunk-PHP47DI4.mjs → chunk-OIOGOW6I.mjs} +1 -1
- package/dist/esm/{chunk-PHP47DI4.mjs.map → chunk-OIOGOW6I.mjs.map} +1 -1
- package/dist/esm/{chunk-T5BCTWGK.mjs → chunk-OJBMR5CT.mjs} +2 -2
- package/dist/esm/chunk-OJBMR5CT.mjs.map +1 -0
- package/dist/esm/{chunk-LDZPO76C.mjs → chunk-OKE3FXIP.mjs} +2 -2
- package/dist/esm/chunk-ONFKJ57C.mjs +2 -0
- package/dist/esm/chunk-ONFKJ57C.mjs.map +1 -0
- package/dist/esm/{chunk-ZINOJTLU.mjs → chunk-OPO5EYF7.mjs} +2 -2
- package/dist/esm/{chunk-BVVHGSWC.mjs → chunk-PW3ISXPN.mjs} +2 -2
- package/dist/esm/{chunk-CC7VOPYH.mjs → chunk-QQM47PHZ.mjs} +2 -2
- package/dist/esm/{chunk-EUGLLGYW.mjs → chunk-SBCLBDCP.mjs} +2 -2
- package/dist/esm/chunk-SPRNSFUV.mjs +2 -0
- package/dist/esm/chunk-SPRNSFUV.mjs.map +1 -0
- package/dist/esm/{chunk-EE7GDBA5.mjs → chunk-SU2WB34N.mjs} +2 -2
- package/dist/esm/{chunk-OTY3NO7Q.mjs → chunk-T6ADNZE5.mjs} +2 -2
- package/dist/esm/{chunk-IECDO22V.mjs → chunk-TM7OZT3W.mjs} +2 -2
- package/dist/esm/chunk-TM7OZT3W.mjs.map +1 -0
- package/dist/esm/chunk-UGTIALNW.mjs +2 -0
- package/dist/esm/chunk-UIRAXHDH.mjs +1 -0
- package/dist/esm/chunk-UZTJWOLS.mjs +2 -0
- package/dist/esm/chunk-V4FKFCBL.mjs +2 -0
- package/dist/esm/chunk-V4FKFCBL.mjs.map +1 -0
- package/dist/esm/{chunk-ZPQUCT22.mjs → chunk-VCY3JGZM.mjs} +2 -2
- package/dist/esm/{chunk-XOCRDV2V.mjs → chunk-VQZMI3EZ.mjs} +2 -2
- package/dist/esm/chunk-WGIYSLH6.mjs +2 -0
- package/dist/esm/chunk-WGIYSLH6.mjs.map +1 -0
- package/dist/esm/{chunk-2652SPOM.mjs → chunk-WKNX43KN.mjs} +2 -2
- package/dist/esm/chunk-WKNX43KN.mjs.map +1 -0
- package/dist/esm/chunk-WQF3IOXC.mjs +2 -0
- package/dist/esm/chunk-WQF3IOXC.mjs.map +1 -0
- package/dist/esm/{chunk-IFXUWUP2.mjs → chunk-WSFHH3BK.mjs} +2 -2
- package/dist/esm/{chunk-4LKLOUMG.mjs → chunk-X3JPX7T6.mjs} +2 -2
- package/dist/esm/{chunk-22ZSW5EN.mjs → chunk-XKOSS5KC.mjs} +2 -2
- package/dist/esm/{chunk-BG2TZI3H.mjs → chunk-XT5T5LAP.mjs} +2 -2
- package/dist/esm/chunk-XUP6VABV.mjs +2 -0
- package/dist/esm/chunk-XUP6VABV.mjs.map +1 -0
- package/dist/esm/{chunk-XQ7ONNII.mjs → chunk-YNT7JHMS.mjs} +2 -2
- package/dist/esm/{chunk-BOWPP6YG.mjs → chunk-YPBNYKOD.mjs} +2 -2
- package/dist/esm/{chunk-MK2QAHXC.mjs → chunk-YZ3YPLEU.mjs} +2 -2
- package/dist/esm/{chunk-OZN3OOJV.mjs → chunk-ZMBXHMVQ.mjs} +2 -2
- package/dist/esm/{chunk-XFY4O2S3.mjs → chunk-ZRWZIAF5.mjs} +2 -2
- package/dist/esm/cli/index.d.mts +3 -2
- package/dist/esm/cli/index.mjs +1 -1
- package/dist/esm/cli/localNode.mjs +1 -1
- package/dist/esm/cli/move.d.mts +2 -1
- package/dist/esm/client/core.d.mts +2 -2
- package/dist/esm/client/core.mjs +1 -1
- package/dist/esm/client/get.d.mts +2 -2
- package/dist/esm/client/get.mjs +1 -1
- package/dist/esm/client/index.d.mts +3 -3
- package/dist/esm/client/index.mjs +1 -1
- package/dist/esm/client/post.d.mts +2 -2
- package/dist/esm/client/post.mjs +1 -1
- package/dist/esm/core/account/index.d.mts +3 -2
- package/dist/esm/core/account/index.mjs +1 -1
- package/dist/esm/core/account/utils/address.d.mts +3 -2
- package/dist/esm/core/account/utils/address.mjs +1 -1
- package/dist/esm/core/account/utils/index.d.mts +3 -2
- package/dist/esm/core/account/utils/index.mjs +1 -1
- package/dist/esm/core/accountAddress.d.mts +20 -10
- package/dist/esm/core/accountAddress.mjs +1 -1
- package/dist/esm/core/authenticationKey.d.mts +4 -3
- package/dist/esm/core/authenticationKey.mjs +1 -1
- package/dist/esm/core/crypto/ed25519.d.mts +27 -12
- package/dist/esm/core/crypto/ed25519.mjs +1 -1
- package/dist/esm/core/crypto/ephemeral.d.mts +4 -3
- package/dist/esm/core/crypto/ephemeral.mjs +1 -1
- package/dist/esm/core/crypto/federatedKeyless.d.mts +5 -4
- package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
- package/dist/esm/core/crypto/hdKey.d.mts +0 -1
- package/dist/esm/core/crypto/hdKey.mjs +1 -1
- package/dist/esm/core/crypto/index.d.mts +5 -4
- package/dist/esm/core/crypto/index.mjs +1 -1
- package/dist/esm/core/crypto/keyless.d.mts +73 -11
- package/dist/esm/core/crypto/keyless.mjs +1 -1
- package/dist/esm/core/crypto/multiEd25519.d.mts +4 -3
- package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
- package/dist/esm/core/crypto/multiKey.d.mts +4 -3
- package/dist/esm/core/crypto/multiKey.mjs +1 -1
- package/dist/esm/core/crypto/privateKey.d.mts +38 -10
- package/dist/esm/core/crypto/privateKey.mjs +1 -1
- package/dist/esm/core/crypto/proof.d.mts +3 -2
- package/dist/esm/core/crypto/proof.mjs +1 -1
- package/dist/esm/core/crypto/publicKey.d.mts +4 -3
- package/dist/esm/core/crypto/publicKey.mjs +1 -1
- package/dist/esm/core/crypto/secp256k1.d.mts +24 -9
- package/dist/esm/core/crypto/secp256k1.mjs +1 -1
- package/dist/esm/core/crypto/signature.d.mts +3 -2
- package/dist/esm/core/crypto/signature.mjs +1 -1
- package/dist/esm/core/crypto/singleKey.d.mts +4 -3
- package/dist/esm/core/crypto/singleKey.mjs +1 -1
- package/dist/esm/core/crypto/utils.d.mts +3 -2
- package/dist/esm/core/crypto/utils.mjs +1 -1
- package/dist/esm/core/hex.d.mts +40 -3
- package/dist/esm/core/hex.mjs +1 -1
- package/dist/esm/core/index.d.mts +6 -5
- package/dist/esm/core/index.mjs +1 -1
- package/dist/esm/errors/index.d.mts +123 -0
- package/dist/esm/errors/index.mjs +2 -0
- package/dist/esm/index.d.mts +13 -11
- package/dist/esm/index.mjs +1 -1
- package/dist/esm/internal/account.d.mts +5 -4
- package/dist/esm/internal/account.mjs +1 -1
- package/dist/esm/internal/ans.d.mts +5 -4
- package/dist/esm/internal/ans.mjs +1 -1
- package/dist/esm/internal/coin.d.mts +3 -2
- package/dist/esm/internal/coin.mjs +1 -1
- package/dist/esm/internal/digitalAsset.d.mts +5 -4
- package/dist/esm/internal/digitalAsset.mjs +1 -1
- package/dist/esm/internal/event.d.mts +3 -2
- package/dist/esm/internal/event.mjs +1 -1
- package/dist/esm/internal/faucet.d.mts +2 -1
- package/dist/esm/internal/faucet.mjs +1 -1
- package/dist/esm/internal/fungibleAsset.d.mts +5 -4
- package/dist/esm/internal/fungibleAsset.mjs +1 -1
- package/dist/esm/internal/general.d.mts +3 -2
- package/dist/esm/internal/general.mjs +1 -1
- package/dist/esm/internal/keyless.d.mts +10 -5
- package/dist/esm/internal/keyless.mjs +1 -1
- package/dist/esm/internal/object.d.mts +3 -2
- package/dist/esm/internal/object.mjs +1 -1
- package/dist/esm/internal/staking.d.mts +2 -1
- package/dist/esm/internal/staking.mjs +1 -1
- package/dist/esm/internal/table.d.mts +3 -2
- package/dist/esm/internal/table.mjs +1 -1
- package/dist/esm/internal/transaction.d.mts +2 -1
- package/dist/esm/internal/transaction.mjs +1 -1
- package/dist/esm/internal/transactionSubmission.d.mts +4 -3
- package/dist/esm/internal/transactionSubmission.mjs +1 -1
- package/dist/esm/internal/view.d.mts +4 -3
- package/dist/esm/internal/view.mjs +1 -1
- package/dist/esm/{publicKey-_tPa99ea.d.mts → publicKey-BVXX1nVl.d.mts} +2 -2
- package/dist/esm/transactions/authenticator/account.d.mts +4 -3
- package/dist/esm/transactions/authenticator/account.mjs +1 -1
- package/dist/esm/transactions/authenticator/index.d.mts +4 -3
- package/dist/esm/transactions/authenticator/index.mjs +1 -1
- package/dist/esm/transactions/authenticator/transaction.d.mts +10 -4
- package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
- package/dist/esm/transactions/index.d.mts +7 -5
- package/dist/esm/transactions/index.mjs +1 -1
- package/dist/esm/transactions/instances/chainId.d.mts +3 -2
- package/dist/esm/transactions/instances/chainId.mjs +1 -1
- package/dist/esm/transactions/instances/identifier.d.mts +3 -2
- package/dist/esm/transactions/instances/identifier.mjs +1 -1
- package/dist/esm/transactions/instances/index.d.mts +4 -3
- package/dist/esm/transactions/instances/index.mjs +1 -1
- package/dist/esm/transactions/instances/moduleId.d.mts +3 -2
- package/dist/esm/transactions/instances/moduleId.mjs +1 -1
- package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +3 -2
- package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rawTransaction.d.mts +3 -2
- package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +4 -3
- package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
- package/dist/esm/transactions/instances/signedTransaction.d.mts +4 -3
- package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/simpleTransaction.d.mts +3 -2
- package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
- package/dist/esm/transactions/instances/transactionArgument.d.mts +3 -2
- package/dist/esm/transactions/instances/transactionPayload.d.mts +3 -2
- package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
- package/dist/esm/transactions/management/accountSequenceNumber.d.mts +5 -4
- package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
- package/dist/esm/transactions/management/index.d.mts +5 -4
- package/dist/esm/transactions/management/index.mjs +1 -1
- package/dist/esm/transactions/management/transactionWorker.d.mts +5 -4
- package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
- package/dist/esm/transactions/script-composer/index.d.mts +44 -0
- package/dist/esm/transactions/script-composer/index.mjs +2 -0
- package/dist/esm/transactions/transactionBuilder/helpers.d.mts +3 -2
- package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/index.d.mts +5 -4
- package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +26 -5
- package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +4 -3
- package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +4 -3
- package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
- package/dist/esm/transactions/typeTag/index.d.mts +3 -2
- package/dist/esm/transactions/typeTag/index.mjs +1 -1
- package/dist/esm/transactions/typeTag/parser.d.mts +3 -2
- package/dist/esm/transactions/typeTag/parser.mjs +1 -1
- package/dist/esm/transactions/types.d.mts +12 -3
- package/dist/esm/types/index.d.mts +4 -1260
- package/dist/esm/types/index.mjs +1 -1
- package/dist/esm/types/keyless.d.mts +22 -1
- package/dist/esm/types/types.d.mts +1290 -0
- package/dist/esm/types/types.mjs +2 -0
- package/dist/esm/types/types.mjs.map +1 -0
- package/dist/esm/utils/helpers.d.mts +11 -3
- package/dist/esm/utils/helpers.mjs +1 -1
- package/dist/esm/utils/index.d.mts +3 -2
- package/dist/esm/utils/index.mjs +1 -1
- package/dist/esm/utils/normalizeBundle.d.mts +3 -2
- package/dist/esm/utils/normalizeBundle.mjs +1 -1
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +2 -1
- package/src/account/AbstractKeylessAccount.ts +203 -10
- package/src/account/FederatedKeylessAccount.ts +83 -35
- package/src/account/KeylessAccount.ts +44 -37
- package/src/account/MultiKeyAccount.ts +18 -5
- package/src/api/keyless.ts +2 -2
- package/src/api/transactionSubmission/build.ts +82 -1
- package/src/bcs/deserializer.ts +53 -30
- package/src/bcs/serializable/moveStructs.ts +16 -17
- package/src/bcs/serializer.ts +22 -12
- package/src/client/core.ts +2 -2
- package/src/client/get.ts +1 -2
- package/src/client/index.ts +0 -1
- package/src/client/post.ts +1 -2
- package/src/core/accountAddress.ts +36 -9
- package/src/core/crypto/ed25519.ts +34 -14
- package/src/core/crypto/hdKey.ts +0 -1
- package/src/core/crypto/keyless.ts +245 -38
- package/src/core/crypto/privateKey.ts +81 -5
- package/src/core/crypto/secp256k1.ts +31 -11
- package/src/core/hex.ts +47 -0
- package/src/errors/index.ts +406 -0
- package/src/index.ts +1 -0
- package/src/internal/account.ts +6 -6
- package/src/internal/ans.ts +2 -1
- package/src/internal/keyless.ts +46 -18
- package/src/internal/transaction.ts +2 -1
- package/src/internal/transactionSubmission.ts +36 -18
- package/src/transactions/authenticator/transaction.ts +20 -0
- package/src/transactions/index.ts +1 -0
- package/src/transactions/script-composer/index.ts +76 -0
- package/src/transactions/transactionBuilder/remoteAbi.ts +55 -1
- package/src/transactions/types.ts +11 -0
- package/src/types/index.ts +2 -1483
- package/src/types/keyless.ts +19 -0
- package/src/types/types.ts +1512 -0
- package/src/utils/helpers.ts +10 -0
- package/src/version.ts +1 -1
- package/dist/common/chunk-7IYTZDXV.js +0 -2
- package/dist/common/chunk-7IYTZDXV.js.map +0 -1
- package/dist/esm/chunk-2652SPOM.mjs.map +0 -1
- package/dist/esm/chunk-2CGJLPHP.mjs +0 -2
- package/dist/esm/chunk-2GEIHUHT.mjs.map +0 -1
- package/dist/esm/chunk-4CDDWSKZ.mjs +0 -2
- package/dist/esm/chunk-4OV7QU2U.mjs +0 -2
- package/dist/esm/chunk-4VU2ABLU.mjs +0 -2
- package/dist/esm/chunk-4VU2ABLU.mjs.map +0 -1
- package/dist/esm/chunk-5S3Z7MT4.mjs +0 -2
- package/dist/esm/chunk-5S3Z7MT4.mjs.map +0 -1
- package/dist/esm/chunk-5SGSPCOY.mjs +0 -2
- package/dist/esm/chunk-5SGSPCOY.mjs.map +0 -1
- package/dist/esm/chunk-7XS45O6M.mjs +0 -2
- package/dist/esm/chunk-7XS45O6M.mjs.map +0 -1
- package/dist/esm/chunk-BAGUHYFD.mjs +0 -2
- package/dist/esm/chunk-BAGUHYFD.mjs.map +0 -1
- package/dist/esm/chunk-CDQGPCHU.mjs +0 -2
- package/dist/esm/chunk-CDQGPCHU.mjs.map +0 -1
- package/dist/esm/chunk-DMSHPWA5.mjs +0 -2
- package/dist/esm/chunk-DMSHPWA5.mjs.map +0 -1
- package/dist/esm/chunk-FTZGP6XW.mjs +0 -2
- package/dist/esm/chunk-FTZGP6XW.mjs.map +0 -1
- package/dist/esm/chunk-GLATLXF6.mjs +0 -2
- package/dist/esm/chunk-GLATLXF6.mjs.map +0 -1
- package/dist/esm/chunk-GQABU3RQ.mjs +0 -2
- package/dist/esm/chunk-GQABU3RQ.mjs.map +0 -1
- package/dist/esm/chunk-HM5HITUC.mjs +0 -4
- package/dist/esm/chunk-I5OYNCZS.mjs +0 -1
- package/dist/esm/chunk-IBLZ6MZU.mjs +0 -2
- package/dist/esm/chunk-IECDO22V.mjs.map +0 -1
- package/dist/esm/chunk-JN36BNWA.mjs +0 -2
- package/dist/esm/chunk-JN36BNWA.mjs.map +0 -1
- package/dist/esm/chunk-KFNDDPOW.mjs +0 -2
- package/dist/esm/chunk-KFNDDPOW.mjs.map +0 -1
- package/dist/esm/chunk-KIW54KWR.mjs +0 -2
- package/dist/esm/chunk-KM6UXNC7.mjs +0 -2
- package/dist/esm/chunk-KM6UXNC7.mjs.map +0 -1
- package/dist/esm/chunk-KUX6GQ2E.mjs +0 -1
- package/dist/esm/chunk-LEKBJ2EG.mjs +0 -2
- package/dist/esm/chunk-LEKBJ2EG.mjs.map +0 -1
- package/dist/esm/chunk-M22UGFQ5.mjs +0 -2
- package/dist/esm/chunk-M22UGFQ5.mjs.map +0 -1
- package/dist/esm/chunk-N2FKVZ4D.mjs +0 -1
- package/dist/esm/chunk-N47FTRYO.mjs +0 -2
- package/dist/esm/chunk-N47FTRYO.mjs.map +0 -1
- package/dist/esm/chunk-ONBFUPEC.mjs +0 -2
- package/dist/esm/chunk-P3J54CQG.mjs +0 -2
- package/dist/esm/chunk-P3J54CQG.mjs.map +0 -1
- package/dist/esm/chunk-RNJHULIT.mjs.map +0 -1
- package/dist/esm/chunk-SGQFWWLQ.mjs +0 -2
- package/dist/esm/chunk-SGQFWWLQ.mjs.map +0 -1
- package/dist/esm/chunk-SOLWFAUY.mjs.map +0 -1
- package/dist/esm/chunk-T5BCTWGK.mjs.map +0 -1
- package/dist/esm/chunk-WV2VJQDS.mjs +0 -2
- package/dist/esm/chunk-Y267I7DC.mjs +0 -2
- package/dist/esm/chunk-Y267I7DC.mjs.map +0 -1
- package/dist/esm/client/types.d.mts +0 -66
- package/dist/esm/client/types.mjs +0 -2
- package/src/client/types.ts +0 -138
- /package/dist/esm/{chunk-4ZK3JNQT.mjs.map → chunk-2NHQQQZK.mjs.map} +0 -0
- /package/dist/esm/{chunk-F2RY4YQ7.mjs.map → chunk-37Y54PJ5.mjs.map} +0 -0
- /package/dist/esm/{chunk-OAEDFM7T.mjs.map → chunk-3XCYCFYI.mjs.map} +0 -0
- /package/dist/esm/{chunk-6FLHGOKP.mjs.map → chunk-42H7WETG.mjs.map} +0 -0
- /package/dist/esm/{chunk-AZ6LVQEG.mjs.map → chunk-46L6BAJG.mjs.map} +0 -0
- /package/dist/esm/{chunk-KW4FVBDD.mjs.map → chunk-4DNCQM3S.mjs.map} +0 -0
- /package/dist/esm/{chunk-IBLZ6MZU.mjs.map → chunk-4O5XDQDO.mjs.map} +0 -0
- /package/dist/esm/{chunk-5N6KJ7KS.mjs.map → chunk-5AKSORBJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-KIW54KWR.mjs.map → chunk-5B3SMBXQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-UCRROMZN.mjs.map → chunk-5NJWJXSS.mjs.map} +0 -0
- /package/dist/esm/{chunk-CL6EEMSL.mjs.map → chunk-6K4TOFCO.mjs.map} +0 -0
- /package/dist/esm/{chunk-IAVI3H4V.mjs.map → chunk-6PJH53CK.mjs.map} +0 -0
- /package/dist/esm/{chunk-PCLU4KLY.mjs.map → chunk-6ZOVTYLJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-I5OYNCZS.mjs.map → chunk-7ECCT6PK.mjs.map} +0 -0
- /package/dist/esm/{chunk-RAJTNQNL.mjs.map → chunk-AAATWCJT.mjs.map} +0 -0
- /package/dist/esm/{chunk-NODYW7DM.mjs.map → chunk-ACVIE7IE.mjs.map} +0 -0
- /package/dist/esm/{chunk-PRZ7AIGA.mjs.map → chunk-AKIO3OIT.mjs.map} +0 -0
- /package/dist/esm/{chunk-KRVLR3L4.mjs.map → chunk-AOROYJ74.mjs.map} +0 -0
- /package/dist/esm/{chunk-6DMDYBV6.mjs.map → chunk-BLLHTGAP.mjs.map} +0 -0
- /package/dist/esm/{chunk-JGNMNCQB.mjs.map → chunk-BRV3RLKW.mjs.map} +0 -0
- /package/dist/esm/{chunk-7JK7UG4E.mjs.map → chunk-CA3Q2X6B.mjs.map} +0 -0
- /package/dist/esm/{chunk-RNRNGJDA.mjs.map → chunk-DP3YPGIK.mjs.map} +0 -0
- /package/dist/esm/{chunk-KYJU5PWF.mjs.map → chunk-DSKAMBBL.mjs.map} +0 -0
- /package/dist/esm/{chunk-L5J3V3HW.mjs.map → chunk-E2NYQVP3.mjs.map} +0 -0
- /package/dist/esm/{chunk-4JXB6V5O.mjs.map → chunk-F2AIWA7L.mjs.map} +0 -0
- /package/dist/esm/{chunk-WSZCPSV4.mjs.map → chunk-FXUI3SSD.mjs.map} +0 -0
- /package/dist/esm/{chunk-A2AEFKXS.mjs.map → chunk-HEHVWRMO.mjs.map} +0 -0
- /package/dist/esm/{chunk-UGL2GPGK.mjs.map → chunk-HFWFDS6Y.mjs.map} +0 -0
- /package/dist/esm/{chunk-OXM4BVAY.mjs.map → chunk-HXXELLHN.mjs.map} +0 -0
- /package/dist/esm/{chunk-RBJNSUSU.mjs.map → chunk-IBMZYDAR.mjs.map} +0 -0
- /package/dist/esm/{chunk-AT2ZGTXQ.mjs.map → chunk-IDNDUJOK.mjs.map} +0 -0
- /package/dist/esm/{chunk-3H5DGQKX.mjs.map → chunk-II654QZU.mjs.map} +0 -0
- /package/dist/esm/{chunk-JNRMHDRA.mjs.map → chunk-JDNI5VIJ.mjs.map} +0 -0
- /package/dist/esm/{chunk-73GCGRFW.mjs.map → chunk-JJUINAQE.mjs.map} +0 -0
- /package/dist/esm/{chunk-VYMRIKUV.mjs.map → chunk-JLD7DLKM.mjs.map} +0 -0
- /package/dist/esm/{chunk-XFJD6QIP.mjs.map → chunk-KA5FX53Q.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZPIMARUG.mjs.map → chunk-L2QVUMBV.mjs.map} +0 -0
- /package/dist/esm/{chunk-TPJLAYW6.mjs.map → chunk-LAAFLCDM.mjs.map} +0 -0
- /package/dist/esm/{chunk-AGBA3Y7A.mjs.map → chunk-LGTOOAQI.mjs.map} +0 -0
- /package/dist/esm/{chunk-4OV7QU2U.mjs.map → chunk-MHN6XY4Z.mjs.map} +0 -0
- /package/dist/esm/{chunk-JVTDP4KV.mjs.map → chunk-MOGPSSTD.mjs.map} +0 -0
- /package/dist/esm/{chunk-WZCKSN2U.mjs.map → chunk-NARS3JDH.mjs.map} +0 -0
- /package/dist/esm/{chunk-YZ5BCOGI.mjs.map → chunk-NHKAQRJB.mjs.map} +0 -0
- /package/dist/esm/{chunk-LDZPO76C.mjs.map → chunk-OKE3FXIP.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZINOJTLU.mjs.map → chunk-OPO5EYF7.mjs.map} +0 -0
- /package/dist/esm/{chunk-BVVHGSWC.mjs.map → chunk-PW3ISXPN.mjs.map} +0 -0
- /package/dist/esm/{chunk-CC7VOPYH.mjs.map → chunk-QQM47PHZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-EUGLLGYW.mjs.map → chunk-SBCLBDCP.mjs.map} +0 -0
- /package/dist/esm/{chunk-EE7GDBA5.mjs.map → chunk-SU2WB34N.mjs.map} +0 -0
- /package/dist/esm/{chunk-OTY3NO7Q.mjs.map → chunk-T6ADNZE5.mjs.map} +0 -0
- /package/dist/esm/{chunk-ONBFUPEC.mjs.map → chunk-UGTIALNW.mjs.map} +0 -0
- /package/dist/esm/{chunk-KUX6GQ2E.mjs.map → chunk-UIRAXHDH.mjs.map} +0 -0
- /package/dist/esm/{chunk-4CDDWSKZ.mjs.map → chunk-UZTJWOLS.mjs.map} +0 -0
- /package/dist/esm/{chunk-ZPQUCT22.mjs.map → chunk-VCY3JGZM.mjs.map} +0 -0
- /package/dist/esm/{chunk-XOCRDV2V.mjs.map → chunk-VQZMI3EZ.mjs.map} +0 -0
- /package/dist/esm/{chunk-IFXUWUP2.mjs.map → chunk-WSFHH3BK.mjs.map} +0 -0
- /package/dist/esm/{chunk-4LKLOUMG.mjs.map → chunk-X3JPX7T6.mjs.map} +0 -0
- /package/dist/esm/{chunk-22ZSW5EN.mjs.map → chunk-XKOSS5KC.mjs.map} +0 -0
- /package/dist/esm/{chunk-BG2TZI3H.mjs.map → chunk-XT5T5LAP.mjs.map} +0 -0
- /package/dist/esm/{chunk-XQ7ONNII.mjs.map → chunk-YNT7JHMS.mjs.map} +0 -0
- /package/dist/esm/{chunk-BOWPP6YG.mjs.map → chunk-YPBNYKOD.mjs.map} +0 -0
- /package/dist/esm/{chunk-MK2QAHXC.mjs.map → chunk-YZ3YPLEU.mjs.map} +0 -0
- /package/dist/esm/{chunk-OZN3OOJV.mjs.map → chunk-ZMBXHMVQ.mjs.map} +0 -0
- /package/dist/esm/{chunk-XFY4O2S3.mjs.map → chunk-ZRWZIAF5.mjs.map} +0 -0
- /package/dist/esm/{chunk-N2FKVZ4D.mjs.map → errors/index.mjs.map} +0 -0
- /package/dist/esm/{client/types.mjs.map → transactions/script-composer/index.mjs.map} +0 -0
package/src/internal/account.ts
CHANGED
|
@@ -7,13 +7,8 @@
|
|
|
7
7
|
* other namespaces and processes can access these methods without depending on the entire
|
|
8
8
|
* account namespace and without having a dependency cycle error.
|
|
9
9
|
*/
|
|
10
|
-
|
|
11
10
|
import { AptosConfig } from "../api/aptosConfig";
|
|
12
|
-
import {
|
|
13
|
-
import { AccountAddress, AccountAddressInput } from "../core/accountAddress";
|
|
14
|
-
import { Account } from "../account";
|
|
15
|
-
import { AnyPublicKey, Ed25519PublicKey, PrivateKey } from "../core/crypto";
|
|
16
|
-
import { queryIndexer } from "./general";
|
|
11
|
+
import { getAptosFullNode, paginateWithCursor } from "../client";
|
|
17
12
|
import {
|
|
18
13
|
AccountData,
|
|
19
14
|
GetAccountCoinsDataResponse,
|
|
@@ -31,6 +26,10 @@ import {
|
|
|
31
26
|
TransactionResponse,
|
|
32
27
|
WhereArg,
|
|
33
28
|
} from "../types";
|
|
29
|
+
import { AccountAddress, AccountAddressInput } from "../core/accountAddress";
|
|
30
|
+
import { Account } from "../account";
|
|
31
|
+
import { AnyPublicKey, Ed25519PublicKey, PrivateKey } from "../core/crypto";
|
|
32
|
+
import { queryIndexer } from "./general";
|
|
34
33
|
import {
|
|
35
34
|
GetAccountCoinsCountQuery,
|
|
36
35
|
GetAccountCoinsDataQuery,
|
|
@@ -56,6 +55,7 @@ import { Secp256k1PrivateKey, AuthenticationKey, Ed25519PrivateKey, createObject
|
|
|
56
55
|
import { CurrentFungibleAssetBalancesBoolExp } from "../types/generated/types";
|
|
57
56
|
import { getTableItem } from "./table";
|
|
58
57
|
import { APTOS_COIN } from "../utils";
|
|
58
|
+
import { AptosApiError } from "../errors";
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* Retrieves account information for a specified account address.
|
package/src/internal/ans.ts
CHANGED
|
@@ -106,7 +106,8 @@ export function isActiveANSName(name: GetANSNameResponse[0]): boolean {
|
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
export const LOCAL_ANS_ACCOUNT_PK =
|
|
109
|
-
process.env.ANS_TEST_ACCOUNT_PRIVATE_KEY ??
|
|
109
|
+
process.env.ANS_TEST_ACCOUNT_PRIVATE_KEY ??
|
|
110
|
+
"ed25519-priv-0x37368b46ce665362562c6d1d4ec01a08c8644c488690df5a17e13ba163e20221";
|
|
110
111
|
export const LOCAL_ANS_ACCOUNT_ADDRESS =
|
|
111
112
|
process.env.ANS_TEST_ACCOUNT_ADDRESS ?? "0x585fc9f0f0c54183b039ffc770ca282ebd87307916c215a3e692f2f8e4305e82";
|
|
112
113
|
|
package/src/internal/keyless.ts
CHANGED
|
@@ -16,6 +16,7 @@ import {
|
|
|
16
16
|
Groth16Zkp,
|
|
17
17
|
Hex,
|
|
18
18
|
KeylessPublicKey,
|
|
19
|
+
MoveJWK,
|
|
19
20
|
ZeroKnowledgeSig,
|
|
20
21
|
ZkProof,
|
|
21
22
|
getKeylessConfig,
|
|
@@ -29,6 +30,7 @@ import { FederatedKeylessAccount } from "../account/FederatedKeylessAccount";
|
|
|
29
30
|
import { MoveVector } from "../bcs";
|
|
30
31
|
import { generateTransaction } from "./transactionSubmission";
|
|
31
32
|
import { InputGenerateTransactionOptions, SimpleTransaction } from "../transactions";
|
|
33
|
+
import { KeylessError, KeylessErrorType } from "../errors";
|
|
32
34
|
|
|
33
35
|
/**
|
|
34
36
|
* Retrieves a pepper value based on the provided configuration and authentication details.
|
|
@@ -86,12 +88,19 @@ export async function getProof(args: {
|
|
|
86
88
|
ephemeralKeyPair: EphemeralKeyPair;
|
|
87
89
|
pepper?: HexInput;
|
|
88
90
|
uidKey?: string;
|
|
91
|
+
maxExpHorizonSecs?: number;
|
|
89
92
|
}): Promise<ZeroKnowledgeSig> {
|
|
90
|
-
const {
|
|
93
|
+
const {
|
|
94
|
+
aptosConfig,
|
|
95
|
+
jwt,
|
|
96
|
+
ephemeralKeyPair,
|
|
97
|
+
pepper = await getPepper(args),
|
|
98
|
+
uidKey = "sub",
|
|
99
|
+
maxExpHorizonSecs = (await getKeylessConfig({ aptosConfig })).maxExpHorizonSecs,
|
|
100
|
+
} = args;
|
|
91
101
|
if (Hex.fromHexInput(pepper).toUint8Array().length !== KeylessAccount.PEPPER_LENGTH) {
|
|
92
102
|
throw new Error(`Pepper needs to be ${KeylessAccount.PEPPER_LENGTH} bytes`);
|
|
93
103
|
}
|
|
94
|
-
const { maxExpHorizonSecs } = await getKeylessConfig({ aptosConfig });
|
|
95
104
|
const decodedJwt = jwtDecode<JwtPayload>(jwt);
|
|
96
105
|
if (typeof decodedJwt.iat !== "number") {
|
|
97
106
|
throw new Error("iat was not found");
|
|
@@ -174,7 +183,9 @@ export async function deriveKeylessAccount(args: {
|
|
|
174
183
|
proofFetchCallback?: ProofFetchCallback;
|
|
175
184
|
}): Promise<KeylessAccount | FederatedKeylessAccount> {
|
|
176
185
|
const { aptosConfig, jwt, jwkAddress, uidKey, proofFetchCallback, pepper = await getPepper(args) } = args;
|
|
177
|
-
const
|
|
186
|
+
const { verificationKey, maxExpHorizonSecs } = await getKeylessConfig({ aptosConfig });
|
|
187
|
+
|
|
188
|
+
const proofPromise = getProof({ ...args, pepper, maxExpHorizonSecs });
|
|
178
189
|
// If a callback is provided, pass in the proof as a promise to KeylessAccount.create. This will make the proof be fetched in the
|
|
179
190
|
// background and the callback will handle the outcome of the fetch. This allows the developer to not have to block on the proof fetch
|
|
180
191
|
// allowing for faster rendering of UX.
|
|
@@ -190,7 +201,15 @@ export async function deriveKeylessAccount(args: {
|
|
|
190
201
|
authenticationKey: publicKey.authKey().derivedAddress(),
|
|
191
202
|
});
|
|
192
203
|
|
|
193
|
-
return FederatedKeylessAccount.create({
|
|
204
|
+
return FederatedKeylessAccount.create({
|
|
205
|
+
...args,
|
|
206
|
+
address,
|
|
207
|
+
proof,
|
|
208
|
+
pepper,
|
|
209
|
+
proofFetchCallback,
|
|
210
|
+
jwkAddress,
|
|
211
|
+
verificationKey,
|
|
212
|
+
});
|
|
194
213
|
}
|
|
195
214
|
|
|
196
215
|
const publicKey = KeylessPublicKey.fromJwtAndPepper({ jwt, pepper, uidKey });
|
|
@@ -198,19 +217,11 @@ export async function deriveKeylessAccount(args: {
|
|
|
198
217
|
aptosConfig,
|
|
199
218
|
authenticationKey: publicKey.authKey().derivedAddress(),
|
|
200
219
|
});
|
|
201
|
-
return KeylessAccount.create({ ...args, address, proof, pepper, proofFetchCallback });
|
|
202
|
-
}
|
|
203
|
-
|
|
204
|
-
interface JWK {
|
|
205
|
-
kty: string; // Key type
|
|
206
|
-
kid: string; // Key ID
|
|
207
|
-
alg: string; // Algorithm used with the key
|
|
208
|
-
n: string; // Modulus (for RSA keys)
|
|
209
|
-
e: string; // Exponent (for RSA keys)
|
|
220
|
+
return KeylessAccount.create({ ...args, address, proof, pepper, proofFetchCallback, verificationKey });
|
|
210
221
|
}
|
|
211
222
|
|
|
212
|
-
interface JWKS {
|
|
213
|
-
keys:
|
|
223
|
+
export interface JWKS {
|
|
224
|
+
keys: MoveJWK[];
|
|
214
225
|
}
|
|
215
226
|
|
|
216
227
|
export async function updateFederatedKeylessJwkSetTransaction(args: {
|
|
@@ -222,10 +233,27 @@ export async function updateFederatedKeylessJwkSetTransaction(args: {
|
|
|
222
233
|
}): Promise<SimpleTransaction> {
|
|
223
234
|
const { aptosConfig, sender, iss, options } = args;
|
|
224
235
|
const jwksUrl = args.jwksUrl ?? (iss.endsWith("/") ? `${iss}.well-known/jwks.json` : `${iss}/.well-known/jwks.json`);
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
236
|
+
|
|
237
|
+
let response: Response;
|
|
238
|
+
|
|
239
|
+
try {
|
|
240
|
+
response = await fetch(jwksUrl);
|
|
241
|
+
if (!response.ok) {
|
|
242
|
+
throw new Error(`${response.status} ${response.statusText}`);
|
|
243
|
+
}
|
|
244
|
+
} catch (error) {
|
|
245
|
+
let errorMessage: string;
|
|
246
|
+
if (error instanceof Error) {
|
|
247
|
+
errorMessage = `${error.message}`;
|
|
248
|
+
} else {
|
|
249
|
+
errorMessage = `error unknown - ${error}`;
|
|
250
|
+
}
|
|
251
|
+
throw KeylessError.fromErrorType({
|
|
252
|
+
type: KeylessErrorType.JWK_FETCH_FAILED_FEDERATED,
|
|
253
|
+
details: `Failed to fetch JWKS at ${jwksUrl}: ${errorMessage}`,
|
|
254
|
+
});
|
|
228
255
|
}
|
|
256
|
+
|
|
229
257
|
const jwks: JWKS = await response.json();
|
|
230
258
|
return generateTransaction({
|
|
231
259
|
aptosConfig,
|
|
@@ -9,7 +9,8 @@
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
import { AptosConfig } from "../api/aptosConfig";
|
|
12
|
-
import {
|
|
12
|
+
import { getAptosFullNode, paginateWithCursor } from "../client";
|
|
13
|
+
import { AptosApiError } from "../errors";
|
|
13
14
|
import {
|
|
14
15
|
TransactionResponseType,
|
|
15
16
|
type AnyNumber,
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import { AptosConfig } from "../api/aptosConfig";
|
|
9
|
-
import { MoveVector, U8 } from "../bcs";
|
|
9
|
+
import { Deserializer, MoveVector, U8 } from "../bcs";
|
|
10
10
|
import { postAptosFullNode } from "../client";
|
|
11
|
-
import { Account, AbstractKeylessAccount,
|
|
11
|
+
import { Account, AbstractKeylessAccount, isKeylessSigner } from "../account";
|
|
12
12
|
import { AccountAddress, AccountAddressInput } from "../core/accountAddress";
|
|
13
|
-
import { PrivateKey } from "../core/crypto";
|
|
13
|
+
import { FederatedKeylessPublicKey, KeylessPublicKey, KeylessSignature, PrivateKey } from "../core/crypto";
|
|
14
14
|
import { AccountAuthenticator } from "../transactions/authenticator/account";
|
|
15
15
|
import { RotationProofChallenge } from "../transactions/instances/rotationProofChallenge";
|
|
16
16
|
import {
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "../transactions/types";
|
|
34
34
|
import { getInfo } from "./account";
|
|
35
35
|
import { UserTransactionResponse, PendingTransactionResponse, MimeType, HexInput, TransactionResponse } from "../types";
|
|
36
|
-
import { TypeTagU8, TypeTagVector, generateSigningMessageForTransaction } from "../transactions";
|
|
36
|
+
import { SignedTransaction, TypeTagU8, TypeTagVector, generateSigningMessageForTransaction } from "../transactions";
|
|
37
37
|
import { SimpleTransaction } from "../transactions/instances/simpleTransaction";
|
|
38
38
|
import { MultiAgentTransaction } from "../transactions/instances/multiAgentTransaction";
|
|
39
39
|
|
|
@@ -312,15 +312,33 @@ export async function submitTransaction(
|
|
|
312
312
|
): Promise<PendingTransactionResponse> {
|
|
313
313
|
const { aptosConfig } = args;
|
|
314
314
|
const signedTransaction = generateSignedTransaction({ ...args });
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
315
|
+
try {
|
|
316
|
+
const { data } = await postAptosFullNode<Uint8Array, PendingTransactionResponse>({
|
|
317
|
+
aptosConfig,
|
|
318
|
+
body: signedTransaction,
|
|
319
|
+
path: "transactions",
|
|
320
|
+
originMethod: "submitTransaction",
|
|
321
|
+
contentType: MimeType.BCS_SIGNED_TRANSACTION,
|
|
322
|
+
});
|
|
323
|
+
return data;
|
|
324
|
+
} catch (e) {
|
|
325
|
+
const signedTxn = SignedTransaction.deserialize(new Deserializer(signedTransaction));
|
|
326
|
+
if (
|
|
327
|
+
signedTxn.authenticator.isSingleSender() &&
|
|
328
|
+
signedTxn.authenticator.sender.isSingleKey() &&
|
|
329
|
+
(signedTxn.authenticator.sender.public_key.publicKey instanceof KeylessPublicKey ||
|
|
330
|
+
signedTxn.authenticator.sender.public_key.publicKey instanceof FederatedKeylessPublicKey)
|
|
331
|
+
) {
|
|
332
|
+
await AbstractKeylessAccount.fetchJWK({
|
|
333
|
+
aptosConfig,
|
|
334
|
+
publicKey: signedTxn.authenticator.sender.public_key.publicKey,
|
|
335
|
+
kid: (signedTxn.authenticator.sender.signature.signature as KeylessSignature).getJwkKid(),
|
|
336
|
+
});
|
|
337
|
+
}
|
|
338
|
+
throw e;
|
|
339
|
+
}
|
|
323
340
|
}
|
|
341
|
+
|
|
324
342
|
export type FeePayerOrFeePayerAuthenticatorOrNeither =
|
|
325
343
|
| { feePayer: Account; feePayerAuthenticator?: never }
|
|
326
344
|
| { feePayer?: never; feePayerAuthenticator: AccountAuthenticator }
|
|
@@ -336,11 +354,11 @@ export async function signAndSubmitTransaction(
|
|
|
336
354
|
const { aptosConfig, signer, feePayer, transaction } = args;
|
|
337
355
|
// If the signer contains a KeylessAccount, await proof fetching in case the proof
|
|
338
356
|
// was fetched asynchronously.
|
|
339
|
-
if (signer
|
|
340
|
-
await signer.
|
|
357
|
+
if (isKeylessSigner(signer)) {
|
|
358
|
+
await signer.checkKeylessAccountValidity(aptosConfig);
|
|
341
359
|
}
|
|
342
|
-
if (feePayer
|
|
343
|
-
await feePayer.
|
|
360
|
+
if (isKeylessSigner(feePayer)) {
|
|
361
|
+
await feePayer.checkKeylessAccountValidity(aptosConfig);
|
|
344
362
|
}
|
|
345
363
|
const feePayerAuthenticator =
|
|
346
364
|
args.feePayerAuthenticator || (feePayer && signAsFeePayer({ signer: feePayer, transaction }));
|
|
@@ -362,8 +380,8 @@ export async function signAndSubmitAsFeePayer(args: {
|
|
|
362
380
|
}): Promise<PendingTransactionResponse> {
|
|
363
381
|
const { aptosConfig, senderAuthenticator, feePayer, transaction } = args;
|
|
364
382
|
|
|
365
|
-
if (feePayer
|
|
366
|
-
await feePayer.
|
|
383
|
+
if (isKeylessSigner(feePayer)) {
|
|
384
|
+
await feePayer.checkKeylessAccountValidity(aptosConfig);
|
|
367
385
|
}
|
|
368
386
|
|
|
369
387
|
const feePayerAuthenticator = signAsFeePayer({ signer: feePayer, transaction });
|
|
@@ -42,6 +42,26 @@ export abstract class TransactionAuthenticator extends Serializable {
|
|
|
42
42
|
throw new Error(`Unknown variant index for TransactionAuthenticator: ${index}`);
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
|
+
|
|
46
|
+
isEd25519(): this is TransactionAuthenticatorEd25519 {
|
|
47
|
+
return this instanceof TransactionAuthenticatorEd25519;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
isMultiEd25519(): this is TransactionAuthenticatorMultiEd25519 {
|
|
51
|
+
return this instanceof TransactionAuthenticatorMultiEd25519;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
isMultiAgent(): this is TransactionAuthenticatorMultiAgent {
|
|
55
|
+
return this instanceof TransactionAuthenticatorMultiAgent;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
isFeePayer(): this is TransactionAuthenticatorFeePayer {
|
|
59
|
+
return this instanceof TransactionAuthenticatorFeePayer;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
isSingleSender(): this is TransactionAuthenticatorSingleSender {
|
|
63
|
+
return this instanceof TransactionAuthenticatorSingleSender;
|
|
64
|
+
}
|
|
45
65
|
}
|
|
46
66
|
|
|
47
67
|
/**
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// Copyright © Aptos Foundation
|
|
2
|
+
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
+
|
|
4
|
+
import { TransactionComposer, initSync, wasm } from "@wgb5445/aptos-intent-npm";
|
|
5
|
+
import { AptosApiType } from "../../utils";
|
|
6
|
+
import { AptosConfig } from "../../api/aptosConfig";
|
|
7
|
+
import { InputBatchedFunctionData } from "../types";
|
|
8
|
+
import { fetchMoveFunctionAbi, getFunctionParts, standardizeTypeTags } from "../transactionBuilder";
|
|
9
|
+
import { CallArgument } from "../../types";
|
|
10
|
+
import { convertCallArgument } from "../transactionBuilder/remoteAbi";
|
|
11
|
+
|
|
12
|
+
(async () => {
|
|
13
|
+
initSync({ module: wasm });
|
|
14
|
+
})();
|
|
15
|
+
|
|
16
|
+
// A wrapper class around TransactionComposer, which is a WASM library compiled
|
|
17
|
+
// from aptos-core/aptos-move/script-composer.
|
|
18
|
+
//
|
|
19
|
+
// This class allows the SDK caller to build a transaction that invokes multiple Move functions
|
|
20
|
+
// and allow for arguments to be passed around.
|
|
21
|
+
export class AptosScriptComposer {
|
|
22
|
+
private builder: TransactionComposer;
|
|
23
|
+
|
|
24
|
+
private config: AptosConfig;
|
|
25
|
+
|
|
26
|
+
constructor(aptosConfig: AptosConfig) {
|
|
27
|
+
this.builder = TransactionComposer.single_signer();
|
|
28
|
+
this.config = aptosConfig;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
// Add a move function invocation to the TransactionComposer.
|
|
32
|
+
//
|
|
33
|
+
// Similar to how to create an entry function, the difference is that input arguments could
|
|
34
|
+
// either be a `CallArgument` which represents an abstract value returned from a previous Move call
|
|
35
|
+
// or the regular entry function arguments.
|
|
36
|
+
//
|
|
37
|
+
// The function would also return a list of `CallArgument` that can be passed on to future calls.
|
|
38
|
+
async addBatchedCalls(input: InputBatchedFunctionData): Promise<CallArgument[]> {
|
|
39
|
+
const { moduleAddress, moduleName, functionName } = getFunctionParts(input.function);
|
|
40
|
+
const nodeUrl = this.config.getRequestUrl(AptosApiType.FULLNODE);
|
|
41
|
+
|
|
42
|
+
// Load the calling module into the builder.
|
|
43
|
+
await this.builder.load_module(nodeUrl, `${moduleAddress}::${moduleName}`);
|
|
44
|
+
|
|
45
|
+
// Load the calling type arguments into the loader.
|
|
46
|
+
if (input.typeArguments !== undefined) {
|
|
47
|
+
for (const typeTag of input.typeArguments) {
|
|
48
|
+
// eslint-disable-next-line no-await-in-loop
|
|
49
|
+
await this.builder.load_type_tag(nodeUrl, typeTag.toString());
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
const typeArguments = standardizeTypeTags(input.typeArguments);
|
|
53
|
+
const functionAbi = await fetchMoveFunctionAbi(moduleAddress, moduleName, functionName, this.config);
|
|
54
|
+
// Check the type argument count against the ABI
|
|
55
|
+
if (typeArguments.length !== functionAbi.typeParameters.length) {
|
|
56
|
+
throw new Error(
|
|
57
|
+
`Type argument count mismatch, expected ${functionAbi.typeParameters.length}, received ${typeArguments.length}`,
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
const functionArguments: CallArgument[] = input.functionArguments.map((arg, i) =>
|
|
62
|
+
convertCallArgument(arg, functionName, functionAbi, i, typeArguments),
|
|
63
|
+
);
|
|
64
|
+
|
|
65
|
+
return this.builder.add_batched_call(
|
|
66
|
+
`${moduleAddress}::${moduleName}`,
|
|
67
|
+
functionName,
|
|
68
|
+
typeArguments.map((arg) => arg.toString()),
|
|
69
|
+
functionArguments,
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
build(): Uint8Array {
|
|
74
|
+
return this.builder.generate_batched_calls(true);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
throwTypeMismatch,
|
|
46
46
|
convertNumber,
|
|
47
47
|
} from "./helpers";
|
|
48
|
-
import { MoveFunction } from "../../types";
|
|
48
|
+
import { CallArgument, MoveFunction } from "../../types";
|
|
49
49
|
|
|
50
50
|
const TEXT_ENCODER = new TextEncoder();
|
|
51
51
|
|
|
@@ -92,6 +92,34 @@ export async function fetchFunctionAbi(
|
|
|
92
92
|
return undefined;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
+
/**
|
|
96
|
+
* Fetches a function ABI from the on-chain module ABI. It doesn't validate whether it's a view or entry function.
|
|
97
|
+
* @param moduleAddress
|
|
98
|
+
* @param moduleName
|
|
99
|
+
* @param functionName
|
|
100
|
+
* @param aptosConfig
|
|
101
|
+
*/
|
|
102
|
+
export async function fetchMoveFunctionAbi(
|
|
103
|
+
moduleAddress: string,
|
|
104
|
+
moduleName: string,
|
|
105
|
+
functionName: string,
|
|
106
|
+
aptosConfig: AptosConfig,
|
|
107
|
+
): Promise<FunctionABI> {
|
|
108
|
+
const functionAbi = await fetchFunctionAbi(moduleAddress, moduleName, functionName, aptosConfig);
|
|
109
|
+
if (!functionAbi) {
|
|
110
|
+
throw new Error(`Could not find function ABI for '${moduleAddress}::${moduleName}::${functionName}'`);
|
|
111
|
+
}
|
|
112
|
+
const params: TypeTag[] = [];
|
|
113
|
+
for (let i = 0; i < functionAbi.params.length; i += 1) {
|
|
114
|
+
params.push(parseTypeTag(functionAbi.params[i], { allowGenerics: true }));
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
return {
|
|
118
|
+
typeParameters: functionAbi.generic_type_params,
|
|
119
|
+
parameters: params,
|
|
120
|
+
};
|
|
121
|
+
}
|
|
122
|
+
|
|
95
123
|
/**
|
|
96
124
|
* Fetches the ABI for an entry function from the specified module address.
|
|
97
125
|
* This function validates if the ABI corresponds to an entry function and retrieves its parameters.
|
|
@@ -183,6 +211,32 @@ export async function fetchViewFunctionAbi(
|
|
|
183
211
|
};
|
|
184
212
|
}
|
|
185
213
|
|
|
214
|
+
/**
|
|
215
|
+
* Converts a entry function argument into CallArgument, if necessary.
|
|
216
|
+
* This function checks the provided argument against the expected parameter type and converts it accordingly.
|
|
217
|
+
*
|
|
218
|
+
* @param functionName - The name of the function for which the argument is being converted.
|
|
219
|
+
* @param functionAbi - The ABI (Application Binary Interface) of the function, which defines its parameters.
|
|
220
|
+
* @param argument - The argument to be converted, which can be of various types. If the argument is already
|
|
221
|
+
* CallArgument returned from TransactionComposer it would be returned immediately.
|
|
222
|
+
* @param position - The index of the argument in the function's parameter list.
|
|
223
|
+
* @param genericTypeParams - An array of type tags for any generic type parameters.
|
|
224
|
+
*/
|
|
225
|
+
export function convertCallArgument(
|
|
226
|
+
argument: CallArgument | EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes,
|
|
227
|
+
functionName: string,
|
|
228
|
+
functionAbi: FunctionABI,
|
|
229
|
+
position: number,
|
|
230
|
+
genericTypeParams: Array<TypeTag>,
|
|
231
|
+
): CallArgument {
|
|
232
|
+
if (argument instanceof CallArgument) {
|
|
233
|
+
return argument;
|
|
234
|
+
}
|
|
235
|
+
return CallArgument.new_bytes(
|
|
236
|
+
convertArgument(functionName, functionAbi, argument, position, genericTypeParams).bcsToBytes(),
|
|
237
|
+
);
|
|
238
|
+
}
|
|
239
|
+
|
|
186
240
|
/**
|
|
187
241
|
* Converts a non-BCS encoded argument into BCS encoded, if necessary.
|
|
188
242
|
* This function checks the provided argument against the expected parameter type and converts it accordingly.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Copyright © Aptos Foundation
|
|
2
2
|
// SPDX-License-Identifier: Apache-2.0
|
|
3
3
|
|
|
4
|
+
import { CallArgument } from "@wgb5445/aptos-intent-npm";
|
|
4
5
|
import { AptosConfig } from "../api/aptosConfig";
|
|
5
6
|
import { MoveOption, MoveString, MoveVector } from "../bcs/serializable/moveStructs";
|
|
6
7
|
import { Bool, U128, U16, U256, U32, U64, U8 } from "../bcs/serializable/movePrimitives";
|
|
@@ -164,6 +165,16 @@ export type InputMultiSigDataWithABI = {
|
|
|
164
165
|
* Combines input function data with Aptos configuration for remote ABI interactions.
|
|
165
166
|
*/
|
|
166
167
|
export type InputEntryFunctionDataWithRemoteABI = InputEntryFunctionData & { aptosConfig: AptosConfig };
|
|
168
|
+
|
|
169
|
+
/**
|
|
170
|
+
* The data needed to generate a batched function payload
|
|
171
|
+
*/
|
|
172
|
+
export type InputBatchedFunctionData = {
|
|
173
|
+
function: MoveFunctionId;
|
|
174
|
+
typeArguments?: Array<TypeArgument>;
|
|
175
|
+
functionArguments: Array<EntryFunctionArgumentTypes | CallArgument | SimpleEntryFunctionArgumentTypes>;
|
|
176
|
+
};
|
|
177
|
+
|
|
167
178
|
/**
|
|
168
179
|
* The data needed to generate a Multi Sig payload
|
|
169
180
|
*/
|