@nadohq/shared 0.26.0 → 0.28.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 +0 -8
- package/dist/{BigNumbers-CZl--in2.d.cts → BigNumbers-DYhqk1Hm.d.cts} +1 -1
- package/dist/BigNumbers-DYhqk1Hm.d.cts.map +1 -0
- package/dist/{BigNumbers-CM-lXODL.d.ts → BigNumbers-eMROAdGq.d.ts} +1 -1
- package/dist/BigNumbers-eMROAdGq.d.ts.map +1 -0
- package/dist/{OrderExecutionType-BCH5Wop4.d.ts → OrderExecutionType-CUI095dh.d.ts} +1 -1
- package/dist/OrderExecutionType-CUI095dh.d.ts.map +1 -0
- package/dist/{OrderExecutionType-gZHBzTTF.d.cts → OrderExecutionType-CsOBf1tI.d.cts} +1 -1
- package/dist/OrderExecutionType-CsOBf1tI.d.cts.map +1 -0
- package/dist/{WalletNotProvidedError-BFEw-O_V.d.cts → WalletNotProvidedError-Cr6ag4xm.d.cts} +1 -1
- package/dist/{WalletNotProvidedError-BFEw-O_V.d.cts.map → WalletNotProvidedError-Cr6ag4xm.d.cts.map} +1 -1
- package/dist/{WalletNotProvidedError-B7hy83Dp.d.ts → WalletNotProvidedError-ouN7ZyL3.d.ts} +1 -1
- package/dist/{WalletNotProvidedError-B7hy83Dp.d.ts.map → WalletNotProvidedError-ouN7ZyL3.d.ts.map} +1 -1
- package/dist/{appendixTwapValue-D5Fv_hF5.d.ts → appendixTwapValue-CNPJq2Zy.d.ts} +2 -2
- package/dist/{appendixTwapValue-D5Fv_hF5.d.ts.map → appendixTwapValue-CNPJq2Zy.d.ts.map} +1 -1
- package/dist/{appendixTwapValue-2e-BBSSp.d.cts → appendixTwapValue-CnnIIOqv.d.cts} +2 -2
- package/dist/{appendixTwapValue-2e-BBSSp.d.cts.map → appendixTwapValue-CnnIIOqv.d.cts.map} +1 -1
- package/dist/{approveDepositAllowance-Dc7stdrU.d.ts → approveDepositAllowance-C26Htbqh.d.ts} +4 -4
- package/dist/{approveDepositAllowance-Dc7stdrU.d.ts.map → approveDepositAllowance-C26Htbqh.d.ts.map} +1 -1
- package/dist/{approveDepositAllowance-DzLfrUa1.d.cts → approveDepositAllowance-D2qQPRNF.d.cts} +4 -4
- package/dist/{approveDepositAllowance-DzLfrUa1.d.cts.map → approveDepositAllowance-D2qQPRNF.d.cts.map} +1 -1
- package/dist/{asyncResult-Cs02Ws6J.d.ts → asyncResult-BocLZEYd.d.ts} +1 -1
- package/dist/{asyncResult-Cs02Ws6J.d.ts.map → asyncResult-BocLZEYd.d.ts.map} +1 -1
- package/dist/{asyncResult-D-rEUypp.d.cts → asyncResult-DQ8gHsyJ.d.cts} +1 -1
- package/dist/{asyncResult-D-rEUypp.d.cts.map → asyncResult-DQ8gHsyJ.d.cts.map} +1 -1
- package/dist/{balanceValue-mNCg2O57.d.ts → balanceValue-CluFIFzW.d.ts} +1 -1
- package/dist/{balanceValue-mNCg2O57.d.ts.map → balanceValue-CluFIFzW.d.ts.map} +1 -1
- package/dist/{balanceValue-BHDw2fCR.d.cts → balanceValue-DqIWjoKX.d.cts} +1 -1
- package/dist/{balanceValue-BHDw2fCR.d.cts.map → balanceValue-DqIWjoKX.d.cts.map} +1 -1
- package/dist/{bigNumber-BLE4n-ku.d.ts → bigNumber-CbDXQHqX.d.ts} +1 -1
- package/dist/{bigNumber-BLE4n-ku.d.ts.map → bigNumber-CbDXQHqX.d.ts.map} +1 -1
- package/dist/{bigNumber-DX0JX9bQ.d.cts → bigNumber-DRrWI93s.d.cts} +1 -1
- package/dist/{bigNumber-DX0JX9bQ.d.cts.map → bigNumber-DRrWI93s.d.cts.map} +1 -1
- package/dist/{bitMaskValue-rhaIF9Xj.d.ts → bitMaskValue-BlqosskH.d.ts} +1 -1
- package/dist/{bitMaskValue-rhaIF9Xj.d.ts.map → bitMaskValue-BlqosskH.d.ts.map} +1 -1
- package/dist/{bitMaskValue-CWv12B9a.d.cts → bitMaskValue-R5zFzHLe.d.cts} +1 -1
- package/dist/{bitMaskValue-CWv12B9a.d.cts.map → bitMaskValue-R5zFzHLe.d.cts.map} +1 -1
- package/dist/{bytes32-CE-v0SzM.d.cts → bytes32-DcJ5FJSi.d.cts} +2 -2
- package/dist/{bytes32-CE-v0SzM.d.cts.map → bytes32-DcJ5FJSi.d.cts.map} +1 -1
- package/dist/{bytes32-gz7vDEim.d.ts → bytes32-yfMy-djO.d.ts} +2 -2
- package/dist/{bytes32-gz7vDEim.d.ts.map → bytes32-yfMy-djO.d.ts.map} +1 -1
- package/dist/{chainEnvToChain-Cze_i6hZ.d.cts → chainEnvToChain-Bq28rZNo.d.cts} +1 -1
- package/dist/{chainEnvToChain-Cze_i6hZ.d.cts.map → chainEnvToChain-Bq28rZNo.d.cts.map} +1 -1
- package/dist/{chainEnvToChain-iWWdSu4g.d.ts → chainEnvToChain-C1jHzKxP.d.ts} +1 -1
- package/dist/{chainEnvToChain-iWWdSu4g.d.ts.map → chainEnvToChain-C1jHzKxP.d.ts.map} +1 -1
- package/dist/{clamp-B7YSY8XJ.d.cts → clamp-BZmNZW_0.d.cts} +1 -1
- package/dist/{clamp-B7YSY8XJ.d.cts.map → clamp-BZmNZW_0.d.cts.map} +1 -1
- package/dist/{clamp-CWW-gFbE.d.ts → clamp-KwKoWc1c.d.ts} +1 -1
- package/dist/{clamp-CWW-gFbE.d.ts.map → clamp-KwKoWc1c.d.ts.map} +1 -1
- package/dist/consts/chainEnvToChain.d.cts +1 -1
- package/dist/consts/chainEnvToChain.d.ts +1 -1
- package/dist/consts/index.d.cts +2 -2
- package/dist/consts/index.d.ts +2 -2
- package/dist/consts/productIds.d.cts +1 -1
- package/dist/consts/productIds.d.ts +1 -1
- package/dist/{createDeterministicLinkedSignerPrivateKey-C2v9BK5R.d.cts → createDeterministicLinkedSignerPrivateKey-CTTU-mEr.d.cts} +3 -3
- package/dist/{createDeterministicLinkedSignerPrivateKey-C2v9BK5R.d.cts.map → createDeterministicLinkedSignerPrivateKey-CTTU-mEr.d.cts.map} +1 -1
- package/dist/{createDeterministicLinkedSignerPrivateKey-XciG6RLh.d.ts → createDeterministicLinkedSignerPrivateKey-DoRNbHu0.d.ts} +3 -3
- package/dist/createDeterministicLinkedSignerPrivateKey-DoRNbHu0.d.ts.map +1 -0
- package/dist/{decimalAdjustment-CMqU3rNy.d.cts → decimalAdjustment-BnyIQK-9.d.cts} +2 -2
- package/dist/{decimalAdjustment-CMqU3rNy.d.cts.map → decimalAdjustment-BnyIQK-9.d.cts.map} +1 -1
- package/dist/{decimalAdjustment-1vhO65Zz.d.ts → decimalAdjustment-Ckj7Q4bK.d.ts} +2 -2
- package/dist/{decimalAdjustment-1vhO65Zz.d.ts.map → decimalAdjustment-Ckj7Q4bK.d.ts.map} +1 -1
- package/dist/{depositCollateral-CmEXlJQs.d.cts → depositCollateral-BGegWF6K.d.cts} +3 -3
- package/dist/{depositCollateral-CmEXlJQs.d.cts.map → depositCollateral-BGegWF6K.d.cts.map} +1 -1
- package/dist/{depositCollateral-476kzs4N.d.ts → depositCollateral-BaPQJFGG.d.ts} +3 -3
- package/dist/{depositCollateral-476kzs4N.d.ts.map → depositCollateral-BaPQJFGG.d.ts.map} +1 -1
- package/dist/eip712/eip712ValueTypes.d.cts +2 -2
- package/dist/eip712/eip712ValueTypes.d.ts +2 -2
- package/dist/eip712/getNadoEIP712Domain.d.cts +1 -1
- package/dist/eip712/getNadoEIP712Domain.d.ts +1 -1
- package/dist/eip712/getNadoEIP712PrimaryType.d.cts +1 -1
- package/dist/eip712/getNadoEIP712PrimaryType.d.ts +1 -1
- package/dist/eip712/getNadoEIP712Types.cjs +18 -0
- package/dist/eip712/getNadoEIP712Types.cjs.map +1 -1
- package/dist/eip712/getNadoEIP712Types.d.cts +1 -1
- package/dist/eip712/getNadoEIP712Types.d.ts +1 -1
- package/dist/eip712/getNadoEIP712Types.js +18 -0
- package/dist/eip712/getNadoEIP712Types.js.map +1 -1
- package/dist/eip712/getNadoEIP712Values.cjs +14 -0
- package/dist/eip712/getNadoEIP712Values.cjs.map +1 -1
- package/dist/eip712/getNadoEIP712Values.d.cts +1 -1
- package/dist/eip712/getNadoEIP712Values.d.ts +1 -1
- package/dist/eip712/getNadoEIP712Values.js +14 -0
- package/dist/eip712/getNadoEIP712Values.js.map +1 -1
- package/dist/eip712/getOrderVerifyingAddress.d.cts +1 -1
- package/dist/eip712/getOrderVerifyingAddress.d.ts +1 -1
- package/dist/eip712/getSignedTransactionRequest.d.cts +1 -1
- package/dist/eip712/getSignedTransactionRequest.d.ts +1 -1
- package/dist/eip712/index.d.cts +11 -11
- package/dist/eip712/index.d.ts +11 -11
- package/dist/eip712/orderDigest.d.cts +1 -1
- package/dist/eip712/orderDigest.d.ts +1 -1
- package/dist/eip712/signableRequestType.d.cts +1 -1
- package/dist/eip712/signableRequestType.d.ts +1 -1
- package/dist/eip712/signatureParamTypes.d.cts +2 -2
- package/dist/eip712/signatureParamTypes.d.ts +2 -2
- package/dist/{eip712ValueTypes-CD1TxxFv.d.ts → eip712ValueTypes-D7iOMl8G.d.ts} +6 -4
- package/dist/{eip712ValueTypes-CD1TxxFv.d.ts.map → eip712ValueTypes-D7iOMl8G.d.ts.map} +1 -1
- package/dist/{eip712ValueTypes-CI6wMCCw.d.cts → eip712ValueTypes-DYHO0ldz.d.cts} +6 -4
- package/dist/{eip712ValueTypes-CI6wMCCw.d.cts.map → eip712ValueTypes-DYHO0ldz.d.cts.map} +1 -1
- package/dist/encoding/encoding.d.cts +1 -1
- package/dist/encoding/encoding.d.ts +1 -1
- package/dist/encoding/index.d.cts +1 -1
- package/dist/encoding/index.d.ts +1 -1
- package/dist/{encoding-DaxmoLmF.d.ts → encoding-Dr8S7QxO.d.ts} +2 -2
- package/dist/{encoding-DaxmoLmF.d.ts.map → encoding-Dr8S7QxO.d.ts.map} +1 -1
- package/dist/{encoding-BXqysa4s.d.cts → encoding-tWL2ZXfF.d.cts} +2 -2
- package/dist/{encoding-BXqysa4s.d.cts.map → encoding-tWL2ZXfF.d.cts.map} +1 -1
- package/dist/errorCodes-BIHhESbW.d.ts +41 -0
- package/dist/errorCodes-BIHhESbW.d.ts.map +1 -0
- package/dist/errorCodes-DT284XV9.d.cts +41 -0
- package/dist/errorCodes-DT284XV9.d.cts.map +1 -0
- package/dist/execute/approveDepositAllowance.d.cts +1 -1
- package/dist/execute/approveDepositAllowance.d.ts +1 -1
- package/dist/execute/depositCollateral.d.cts +1 -1
- package/dist/execute/depositCollateral.d.ts +1 -1
- package/dist/execute/index.d.cts +2 -2
- package/dist/execute/index.d.ts +2 -2
- package/dist/{getNadoEIP712Domain-iDIuXsMf.d.cts → getNadoEIP712Domain-DYtFpJm-.d.cts} +1 -1
- package/dist/{getNadoEIP712Domain-iDIuXsMf.d.cts.map → getNadoEIP712Domain-DYtFpJm-.d.cts.map} +1 -1
- package/dist/{getNadoEIP712Domain-CSV6Zxuw.d.ts → getNadoEIP712Domain-FRScInwf.d.ts} +1 -1
- package/dist/{getNadoEIP712Domain-CSV6Zxuw.d.ts.map → getNadoEIP712Domain-FRScInwf.d.ts.map} +1 -1
- package/dist/{getNadoEIP712PrimaryType-CE0fRiTI.d.ts → getNadoEIP712PrimaryType-DqnS3gdK.d.ts} +2 -2
- package/dist/{getNadoEIP712PrimaryType-CE0fRiTI.d.ts.map → getNadoEIP712PrimaryType-DqnS3gdK.d.ts.map} +1 -1
- package/dist/{getNadoEIP712PrimaryType-Cq8siJx7.d.cts → getNadoEIP712PrimaryType-vOoXWu15.d.cts} +2 -2
- package/dist/{getNadoEIP712PrimaryType-Cq8siJx7.d.cts.map → getNadoEIP712PrimaryType-vOoXWu15.d.cts.map} +1 -1
- package/dist/{getNadoEIP712Types-BmB1bTGu.d.ts → getNadoEIP712Types-R02heQll.d.ts} +2 -2
- package/dist/{getNadoEIP712Types-BmB1bTGu.d.ts.map → getNadoEIP712Types-R02heQll.d.ts.map} +1 -1
- package/dist/{getNadoEIP712Types-D7duS2wH.d.cts → getNadoEIP712Types-mNqrs54G.d.cts} +2 -2
- package/dist/{getNadoEIP712Types-D7duS2wH.d.cts.map → getNadoEIP712Types-mNqrs54G.d.cts.map} +1 -1
- package/dist/{getNadoEIP712Values-0EOMObhX.d.ts → getNadoEIP712Values-Ce5lqSVk.d.ts} +3 -3
- package/dist/getNadoEIP712Values-Ce5lqSVk.d.ts.map +1 -0
- package/dist/{getNadoEIP712Values-DEBZh7-M.d.cts → getNadoEIP712Values-N1wTvB-r.d.cts} +3 -3
- package/dist/getNadoEIP712Values-N1wTvB-r.d.cts.map +1 -0
- package/dist/{getOrderVerifyingAddress-CHRCQ8AZ.d.cts → getOrderVerifyingAddress-CLL7iyLD.d.cts} +1 -1
- package/dist/{getOrderVerifyingAddress-CHRCQ8AZ.d.cts.map → getOrderVerifyingAddress-CLL7iyLD.d.cts.map} +1 -1
- package/dist/{getOrderVerifyingAddress-BygcgBA1.d.ts → getOrderVerifyingAddress-CNyXGx9D.d.ts} +1 -1
- package/dist/{getOrderVerifyingAddress-BygcgBA1.d.ts.map → getOrderVerifyingAddress-CNyXGx9D.d.ts.map} +1 -1
- package/dist/{getSignedTransactionRequest-Et_1Y1wr.d.ts → getSignedTransactionRequest-D0b4BDSB.d.ts} +3 -3
- package/dist/{getSignedTransactionRequest-Et_1Y1wr.d.ts.map → getSignedTransactionRequest-D0b4BDSB.d.ts.map} +1 -1
- package/dist/{getSignedTransactionRequest-DxUMBHLe.d.cts → getSignedTransactionRequest-kTbC9qPT.d.cts} +3 -3
- package/dist/{getSignedTransactionRequest-DxUMBHLe.d.cts.map → getSignedTransactionRequest-kTbC9qPT.d.cts.map} +1 -1
- package/dist/{getValidatedAddress-BmCqRBeh.d.ts → getValidatedAddress-4dLXIemu.d.ts} +1 -1
- package/dist/getValidatedAddress-4dLXIemu.d.ts.map +1 -0
- package/dist/{getValidatedAddress-BQJEkmbN.d.cts → getValidatedAddress-C_HmNidZ.d.cts} +1 -1
- package/dist/getValidatedAddress-C_HmNidZ.d.cts.map +1 -0
- package/dist/{getValidatedHex-DuwBnuEB.d.ts → getValidatedHex-CNqNVarV.d.ts} +1 -1
- package/dist/getValidatedHex-CNqNVarV.d.ts.map +1 -0
- package/dist/{getValidatedHex-PXNPR4pI.d.cts → getValidatedHex-zCkkMsa7.d.cts} +1 -1
- package/dist/getValidatedHex-zCkkMsa7.d.cts.map +1 -0
- package/dist/index.cjs +2 -0
- package/dist/index.d.cts +51 -49
- package/dist/index.d.ts +51 -49
- package/dist/index.js +2 -1
- package/dist/{interest-DRpagIcs.d.cts → interest-BfAowKdU.d.cts} +2 -2
- package/dist/{interest-DRpagIcs.d.cts.map → interest-BfAowKdU.d.cts.map} +1 -1
- package/dist/{interest-CUXHxrel.d.ts → interest-CWfKnmdX.d.ts} +2 -2
- package/dist/{interest-CUXHxrel.d.ts.map → interest-CWfKnmdX.d.ts.map} +1 -1
- package/dist/{isWriteableContract-DcM3nqdX.d.ts → isWriteableContract-CYLwGFCM.d.ts} +2 -2
- package/dist/{isWriteableContract-DcM3nqdX.d.ts.map → isWriteableContract-CYLwGFCM.d.ts.map} +1 -1
- package/dist/{isWriteableContract-ZGxc9VmC.d.cts → isWriteableContract-Ctl78F8z.d.cts} +2 -2
- package/dist/{isWriteableContract-ZGxc9VmC.d.cts.map → isWriteableContract-Ctl78F8z.d.cts.map} +1 -1
- package/dist/{mapValues-jlfbJybF.d.cts → mapValues-BoHvsgT1.d.cts} +1 -1
- package/dist/{mapValues-jlfbJybF.d.cts.map → mapValues-BoHvsgT1.d.cts.map} +1 -1
- package/dist/{mapValues-cO_NBiCx.d.ts → mapValues-DstqVXbD.d.ts} +1 -1
- package/dist/{mapValues-cO_NBiCx.d.ts.map → mapValues-DstqVXbD.d.ts.map} +1 -1
- package/dist/{marketTypes-C37HnBB7.d.ts → marketTypes-7eW2lrO4.d.ts} +1 -1
- package/dist/{marketTypes-C37HnBB7.d.ts.map → marketTypes-7eW2lrO4.d.ts.map} +1 -1
- package/dist/{marketTypes-BSevYB-h.d.cts → marketTypes-BvUKMyk2.d.cts} +1 -1
- package/dist/{marketTypes-BSevYB-h.d.cts.map → marketTypes-BvUKMyk2.d.cts.map} +1 -1
- package/dist/{nadoContractTypes-PWzd6_3s.d.ts → nadoContractTypes-DcaQVx7u.d.ts} +2 -2
- package/dist/{nadoContractTypes-PWzd6_3s.d.ts.map → nadoContractTypes-DcaQVx7u.d.ts.map} +1 -1
- package/dist/{nadoContractTypes-Cp3kD2DC.d.cts → nadoContractTypes-Dhmt_9t1.d.cts} +2 -2
- package/dist/{nadoContractTypes-Cp3kD2DC.d.cts.map → nadoContractTypes-Dhmt_9t1.d.cts.map} +1 -1
- package/dist/{orderAppendixTypes-CM-eb5WL.d.cts → orderAppendixTypes-CaYlUEvF.d.cts} +3 -3
- package/dist/{orderAppendixTypes-CM-eb5WL.d.cts.map → orderAppendixTypes-CaYlUEvF.d.cts.map} +1 -1
- package/dist/{orderAppendixTypes-5NqkTOxO.d.ts → orderAppendixTypes-DUvKIHUi.d.ts} +3 -3
- package/dist/{orderAppendixTypes-5NqkTOxO.d.ts.map → orderAppendixTypes-DUvKIHUi.d.ts.map} +1 -1
- package/dist/{orderDigest-BlytCeEr.d.ts → orderDigest-BcP0wyIO.d.ts} +2 -2
- package/dist/{orderDigest-BlytCeEr.d.ts.map → orderDigest-BcP0wyIO.d.ts.map} +1 -1
- package/dist/{orderDigest-C9Sr-5TO.d.cts → orderDigest-Ds3Er4tZ.d.cts} +2 -2
- package/dist/{orderDigest-C9Sr-5TO.d.cts.map → orderDigest-Ds3Er4tZ.d.cts.map} +1 -1
- package/dist/{orderNonce-p8m6ZrSd.d.cts → orderNonce-CFJ5UiYP.d.cts} +1 -1
- package/dist/{orderNonce-p8m6ZrSd.d.cts.map → orderNonce-CFJ5UiYP.d.cts.map} +1 -1
- package/dist/{orderNonce-BgvYpe4l.d.ts → orderNonce-Cb1fh07x.d.ts} +1 -1
- package/dist/{orderNonce-BgvYpe4l.d.ts.map → orderNonce-Cb1fh07x.d.ts.map} +1 -1
- package/dist/{packOrderAppendix-BokzjU2O.d.ts → packOrderAppendix-5Ubx5Sd-.d.ts} +2 -2
- package/dist/{packOrderAppendix-BokzjU2O.d.ts.map → packOrderAppendix-5Ubx5Sd-.d.ts.map} +1 -1
- package/dist/{packOrderAppendix-DJlhe5P5.d.cts → packOrderAppendix-CczLGSVB.d.cts} +2 -2
- package/dist/{packOrderAppendix-DJlhe5P5.d.cts.map → packOrderAppendix-CczLGSVB.d.cts.map} +1 -1
- package/dist/{productIds-CCewi4tC.d.ts → productIds-CpASnkHa.d.ts} +1 -1
- package/dist/productIds-CpASnkHa.d.ts.map +1 -0
- package/dist/{productIds-COuWMJat.d.cts → productIds-DBfWyycx.d.cts} +1 -1
- package/dist/productIds-DBfWyycx.d.cts.map +1 -0
- package/dist/{productTypeFilter-B6CoWHmB.d.cts → productTypeFilter-DafbByZQ.d.cts} +1 -1
- package/dist/{productTypeFilter-B6CoWHmB.d.cts.map → productTypeFilter-DafbByZQ.d.cts.map} +1 -1
- package/dist/{productTypeFilter-B0oL5G_q.d.ts → productTypeFilter-TlybWfkQ.d.ts} +1 -1
- package/dist/{productTypeFilter-B0oL5G_q.d.ts.map → productTypeFilter-TlybWfkQ.d.ts.map} +1 -1
- package/dist/{recvTime-lSkRnXFh.d.cts → recvTime-Bm6OOxAH.d.cts} +1 -1
- package/dist/recvTime-Bm6OOxAH.d.cts.map +1 -0
- package/dist/{recvTime-C6ulZVuR.d.ts → recvTime-KqiAQOdv.d.ts} +1 -1
- package/dist/recvTime-KqiAQOdv.d.ts.map +1 -0
- package/dist/{signableRequestType-BV11vCXW.d.cts → signableRequestType-BF56QkJp.d.ts} +3 -2
- package/dist/signableRequestType-BF56QkJp.d.ts.map +1 -0
- package/dist/{signableRequestType-DWpXrjGE.d.ts → signableRequestType-CHAdsHVX.d.cts} +3 -2
- package/dist/signableRequestType-CHAdsHVX.d.cts.map +1 -0
- package/dist/{signatureParamTypes-Cjm4X5PA.d.cts → signatureParamTypes-B9sr1m_2.d.cts} +13 -5
- package/dist/{signatureParamTypes-Cjm4X5PA.d.cts.map → signatureParamTypes-B9sr1m_2.d.cts.map} +1 -1
- package/dist/{signatureParamTypes-CDUNzp0c.d.ts → signatureParamTypes-BxQjdL0b.d.ts} +13 -5
- package/dist/{signatureParamTypes-CDUNzp0c.d.ts.map → signatureParamTypes-BxQjdL0b.d.ts.map} +1 -1
- package/dist/signatureTypes-BM7i3jUU.d.ts +15 -0
- package/dist/signatureTypes-BM7i3jUU.d.ts.map +1 -0
- package/dist/signatureTypes-CmG9clmQ.d.cts +15 -0
- package/dist/signatureTypes-CmG9clmQ.d.cts.map +1 -0
- package/dist/{subaccountTypes-BGE4tJKb.d.cts → subaccountTypes-CwU5OiX6.d.cts} +1 -1
- package/dist/{subaccountTypes-BGE4tJKb.d.cts.map → subaccountTypes-CwU5OiX6.d.cts.map} +1 -1
- package/dist/{subaccountTypes-FoLRswIa.d.ts → subaccountTypes-Dt_jFmL7.d.ts} +1 -1
- package/dist/{subaccountTypes-FoLRswIa.d.ts.map → subaccountTypes-Dt_jFmL7.d.ts.map} +1 -1
- package/dist/{sumBigNumberBy-BWQ-bPpk.d.cts → sumBigNumberBy-DDmCAeH7.d.cts} +1 -1
- package/dist/{sumBigNumberBy-BWQ-bPpk.d.cts.map → sumBigNumberBy-DDmCAeH7.d.cts.map} +1 -1
- package/dist/{sumBigNumberBy-wVwOxwyc.d.ts → sumBigNumberBy-DsDksVWh.d.ts} +1 -1
- package/dist/{sumBigNumberBy-wVwOxwyc.d.ts.map → sumBigNumberBy-DsDksVWh.d.ts.map} +1 -1
- package/dist/{time-BpZLFNOC.d.ts → time-C-Xp9CnI.d.ts} +1 -1
- package/dist/{time-BpZLFNOC.d.ts.map → time-C-Xp9CnI.d.ts.map} +1 -1
- package/dist/{time-D6SSEenZ.d.cts → time-CWyHslwY.d.cts} +1 -1
- package/dist/{time-D6SSEenZ.d.cts.map → time-CWyHslwY.d.cts.map} +1 -1
- package/dist/{toBigInt-PqI3ILSN.d.ts → toBigInt-34g6nMmn.d.ts} +2 -2
- package/dist/toBigInt-34g6nMmn.d.ts.map +1 -0
- package/dist/{toBigInt-cEajjeFa.d.cts → toBigInt-BeWZDOuB.d.cts} +2 -2
- package/dist/toBigInt-BeWZDOuB.d.cts.map +1 -0
- package/dist/{toIntegerString-CHveFt3s.d.cts → toIntegerString-BPfShEi9.d.cts} +2 -2
- package/dist/toIntegerString-BPfShEi9.d.cts.map +1 -0
- package/dist/{toIntegerString-sATPFuxt.d.ts → toIntegerString-C3ktEfvO.d.ts} +2 -2
- package/dist/toIntegerString-C3ktEfvO.d.ts.map +1 -0
- package/dist/{toPrintableObject-CwWr2voJ.d.cts → toPrintableObject-CFG_kUbt.d.cts} +1 -1
- package/dist/{toPrintableObject-CwWr2voJ.d.cts.map → toPrintableObject-CFG_kUbt.d.cts.map} +1 -1
- package/dist/{toPrintableObject-kBzCvR0Y.d.ts → toPrintableObject-CIlaceiA.d.ts} +1 -1
- package/dist/{toPrintableObject-kBzCvR0Y.d.ts.map → toPrintableObject-CIlaceiA.d.ts.map} +1 -1
- package/dist/types/OrderExecutionType.d.cts +1 -1
- package/dist/types/OrderExecutionType.d.ts +1 -1
- package/dist/types/errorCodes.cjs +50 -0
- package/dist/types/errorCodes.cjs.map +1 -0
- package/dist/types/errorCodes.d.cts +2 -0
- package/dist/types/errorCodes.d.ts +2 -0
- package/dist/types/errorCodes.js +49 -0
- package/dist/types/errorCodes.js.map +1 -0
- package/dist/types/index.cjs +2 -0
- package/dist/types/index.d.cts +9 -7
- package/dist/types/index.d.ts +9 -7
- package/dist/types/index.js +2 -1
- package/dist/types/marketTypes.d.cts +1 -1
- package/dist/types/marketTypes.d.ts +1 -1
- package/dist/types/nadoContractTypes.d.cts +1 -1
- package/dist/types/nadoContractTypes.d.ts +1 -1
- package/dist/types/orderAppendixTypes.d.cts +1 -1
- package/dist/types/orderAppendixTypes.d.ts +1 -1
- package/dist/types/signatureTypes.cjs +0 -0
- package/dist/types/signatureTypes.d.cts +2 -0
- package/dist/types/signatureTypes.d.ts +2 -0
- package/dist/types/signatureTypes.js +1 -0
- package/dist/types/subaccountTypes.d.cts +1 -1
- package/dist/types/subaccountTypes.d.ts +1 -1
- package/dist/types/viemTypes.d.cts +1 -1
- package/dist/types/viemTypes.d.ts +1 -1
- package/dist/{types-BdV1zhbS.d.cts → types-D_CNVlha.d.cts} +1 -1
- package/dist/{types-BdV1zhbS.d.cts.map → types-D_CNVlha.d.cts.map} +1 -1
- package/dist/{types-Cqqkhcva.d.ts → types-sH1nzoKv.d.ts} +1 -1
- package/dist/{types-Cqqkhcva.d.ts.map → types-sH1nzoKv.d.ts.map} +1 -1
- package/dist/{unpackOrderAppendix-E8HT7dKm.d.cts → unpackOrderAppendix-Cjy13jK5.d.cts} +3 -3
- package/dist/{unpackOrderAppendix-E8HT7dKm.d.cts.map → unpackOrderAppendix-Cjy13jK5.d.cts.map} +1 -1
- package/dist/{unpackOrderAppendix-Dx0MDs4V.d.ts → unpackOrderAppendix-_bLyMoDZ.d.ts} +3 -3
- package/dist/{unpackOrderAppendix-Dx0MDs4V.d.ts.map → unpackOrderAppendix-_bLyMoDZ.d.ts.map} +1 -1
- package/dist/utils/asyncResult.d.cts +1 -1
- package/dist/utils/asyncResult.d.ts +1 -1
- package/dist/utils/balanceValue.d.cts +1 -1
- package/dist/utils/balanceValue.d.ts +1 -1
- package/dist/utils/bytes32.d.cts +1 -1
- package/dist/utils/bytes32.d.ts +1 -1
- package/dist/utils/createDeterministicLinkedSignerPrivateKey.d.cts +1 -1
- package/dist/utils/createDeterministicLinkedSignerPrivateKey.d.ts +1 -1
- package/dist/utils/errors/WalletNotProvidedError.d.cts +1 -1
- package/dist/utils/errors/WalletNotProvidedError.d.ts +1 -1
- package/dist/utils/errors/index.d.cts +1 -1
- package/dist/utils/errors/index.d.ts +1 -1
- package/dist/utils/getValidatedAddress.d.cts +1 -1
- package/dist/utils/getValidatedAddress.d.ts +1 -1
- package/dist/utils/getValidatedHex.d.cts +1 -1
- package/dist/utils/getValidatedHex.d.ts +1 -1
- package/dist/utils/index.d.cts +27 -27
- package/dist/utils/index.d.ts +27 -27
- package/dist/utils/interest.d.cts +1 -1
- package/dist/utils/interest.d.ts +1 -1
- package/dist/utils/isWriteableContract.d.cts +1 -1
- package/dist/utils/isWriteableContract.d.ts +1 -1
- package/dist/utils/mapValues.d.cts +1 -1
- package/dist/utils/mapValues.d.ts +1 -1
- package/dist/utils/math/BigNumbers.d.cts +1 -1
- package/dist/utils/math/BigNumbers.d.ts +1 -1
- package/dist/utils/math/bigNumber.d.cts +1 -1
- package/dist/utils/math/bigNumber.d.ts +1 -1
- package/dist/utils/math/clamp.d.cts +1 -1
- package/dist/utils/math/clamp.d.ts +1 -1
- package/dist/utils/math/decimalAdjustment.d.cts +1 -1
- package/dist/utils/math/decimalAdjustment.d.ts +1 -1
- package/dist/utils/math/index.d.cts +7 -7
- package/dist/utils/math/index.d.ts +7 -7
- package/dist/utils/math/sumBigNumberBy.d.cts +1 -1
- package/dist/utils/math/sumBigNumberBy.d.ts +1 -1
- package/dist/utils/math/toBigInt.d.cts +1 -1
- package/dist/utils/math/toBigInt.d.ts +1 -1
- package/dist/utils/math/toIntegerString.d.cts +1 -1
- package/dist/utils/math/toIntegerString.d.ts +1 -1
- package/dist/utils/orders/appendix/appendixIsolatedValue.d.cts +1 -1
- package/dist/utils/orders/appendix/appendixIsolatedValue.d.ts +1 -1
- package/dist/utils/orders/appendix/appendixTwapValue.d.cts +1 -1
- package/dist/utils/orders/appendix/appendixTwapValue.d.ts +1 -1
- package/dist/utils/orders/appendix/bitMaskValue.d.cts +1 -1
- package/dist/utils/orders/appendix/bitMaskValue.d.ts +1 -1
- package/dist/utils/orders/appendix/index.d.cts +5 -5
- package/dist/utils/orders/appendix/index.d.ts +5 -5
- package/dist/utils/orders/appendix/packOrderAppendix.d.cts +1 -1
- package/dist/utils/orders/appendix/packOrderAppendix.d.ts +1 -1
- package/dist/utils/orders/appendix/types.d.cts +1 -1
- package/dist/utils/orders/appendix/types.d.ts +1 -1
- package/dist/utils/orders/appendix/unpackOrderAppendix.d.cts +1 -1
- package/dist/utils/orders/appendix/unpackOrderAppendix.d.ts +1 -1
- package/dist/utils/orders/index.d.cts +7 -7
- package/dist/utils/orders/index.d.ts +7 -7
- package/dist/utils/orders/orderNonce.d.cts +1 -1
- package/dist/utils/orders/orderNonce.d.ts +1 -1
- package/dist/utils/orders/recvTime.d.cts +1 -1
- package/dist/utils/orders/recvTime.d.ts +1 -1
- package/dist/utils/productTypeFilter.d.cts +1 -1
- package/dist/utils/productTypeFilter.d.ts +1 -1
- package/dist/utils/time.d.cts +1 -1
- package/dist/utils/time.d.ts +1 -1
- package/dist/utils/toPrintableObject.d.cts +1 -1
- package/dist/utils/toPrintableObject.d.ts +1 -1
- package/dist/{viemTypes-Mjfxe2ou.d.cts → viemTypes-B1TUCDzm.d.cts} +1 -1
- package/dist/{viemTypes-Mjfxe2ou.d.cts.map → viemTypes-B1TUCDzm.d.cts.map} +1 -1
- package/dist/{viemTypes-D3kRC8jF.d.ts → viemTypes-CK7FBgk7.d.ts} +1 -1
- package/dist/{viemTypes-D3kRC8jF.d.ts.map → viemTypes-CK7FBgk7.d.ts.map} +1 -1
- package/package.json +2 -2
- package/src/eip712/eip712ValueTypes.ts +5 -0
- package/src/eip712/getNadoEIP712Types.ts +9 -0
- package/src/eip712/getNadoEIP712Values.ts +21 -0
- package/src/eip712/signableRequestType.ts +2 -0
- package/src/eip712/signatureParamTypes.ts +12 -1
- package/src/types/errorCodes.ts +60 -0
- package/src/types/index.ts +2 -0
- package/src/types/signatureTypes.ts +11 -0
- package/dist/BigNumbers-CM-lXODL.d.ts.map +0 -1
- package/dist/BigNumbers-CZl--in2.d.cts.map +0 -1
- package/dist/OrderExecutionType-BCH5Wop4.d.ts.map +0 -1
- package/dist/OrderExecutionType-gZHBzTTF.d.cts.map +0 -1
- package/dist/createDeterministicLinkedSignerPrivateKey-XciG6RLh.d.ts.map +0 -1
- package/dist/getNadoEIP712Values-0EOMObhX.d.ts.map +0 -1
- package/dist/getNadoEIP712Values-DEBZh7-M.d.cts.map +0 -1
- package/dist/getValidatedAddress-BQJEkmbN.d.cts.map +0 -1
- package/dist/getValidatedAddress-BmCqRBeh.d.ts.map +0 -1
- package/dist/getValidatedHex-DuwBnuEB.d.ts.map +0 -1
- package/dist/getValidatedHex-PXNPR4pI.d.cts.map +0 -1
- package/dist/productIds-CCewi4tC.d.ts.map +0 -1
- package/dist/productIds-COuWMJat.d.cts.map +0 -1
- package/dist/recvTime-C6ulZVuR.d.ts.map +0 -1
- package/dist/recvTime-lSkRnXFh.d.cts.map +0 -1
- package/dist/signableRequestType-BV11vCXW.d.cts.map +0 -1
- package/dist/signableRequestType-DWpXrjGE.d.ts.map +0 -1
- package/dist/toBigInt-PqI3ILSN.d.ts.map +0 -1
- package/dist/toBigInt-cEajjeFa.d.cts.map +0 -1
- package/dist/toIntegerString-CHveFt3s.d.cts.map +0 -1
- package/dist/toIntegerString-sATPFuxt.d.ts.map +0 -1
- /package/dist/{index-B1btZMWF.d.ts → index--u_qpYmX.d.cts} +0 -0
- /package/dist/{index-BCsiC0tv.d.cts → index-Be7jjS77.d.ts} +0 -0
- /package/dist/{index-BVJyZlmP2.d.cts → index-By0zIfzM2.d.cts} +0 -0
- /package/dist/{index-Ba3GYDF9.d.ts → index-CLcwj8U0.d.ts} +0 -0
- /package/dist/{index-Bq2ftOXk2.d.cts → index-CTIq-bNp.d.ts} +0 -0
- /package/dist/{index-Br3qA4B52.d.ts → index-CWsYGvaO.d.ts} +0 -0
- /package/dist/{index-C9nY9t1j.d.ts → index-Cg9utiy0.d.ts} +0 -0
- /package/dist/{index-CB5PSF-Q.d.ts → index-Cw3C7_1f.d.ts} +0 -0
- /package/dist/{index-CI4LJief.d.ts → index-DSF1o-R6.d.cts} +0 -0
- /package/dist/{index-CQ25UCod.d.cts → index-DULmiVT72.d.ts} +0 -0
- /package/dist/{index-D4eheNJJ.d.cts → index-DrZ2Dh-H.d.cts} +0 -0
- /package/dist/{index-ZFCPoV_B2.d.ts → index-lQ_hGQ08.d.cts} +0 -0
- /package/dist/{index-_1bfRgi2.d.cts → index-qCd8f7Um.d.cts} +0 -0
- /package/dist/{index-zO0Ly4bS.d.cts → index-uTS5iDq_.d.cts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as SignedTx, g as SignedEIP712OrderParams, m as EIP712WithdrawCollateralParams } from "./signatureParamTypes-BxQjdL0b.js";
|
|
2
2
|
import { Hex } from "viem";
|
|
3
3
|
|
|
4
4
|
//#region src/encoding/encoding.d.ts
|
|
@@ -31,4 +31,4 @@ interface ClaimBuilderFeeParams {
|
|
|
31
31
|
declare function encodeClaimBuilderFeeTx(params: ClaimBuilderFeeParams): Hex;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { encodeSignedWithdrawCollateralTx as a, encodeSignedOrder as i, SlowModeTxType as n, encodeClaimBuilderFeeTx as r, ClaimBuilderFeeParams as t };
|
|
34
|
-
//# sourceMappingURL=encoding-
|
|
34
|
+
//# sourceMappingURL=encoding-Dr8S7QxO.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encoding-
|
|
1
|
+
{"version":3,"file":"encoding-Dr8S7QxO.d.ts","names":[],"sources":["../src/encoding/src/encoding/encoding.ts"],"mappings":";;;;;;;aAgBY,cAAA;EACV,iBAAA;EACA,kBAAA;EACA,UAAA;EACA,eAAA;EACA,oBAAA;AAAA;AAAA,iBAGc,gCAAA,CACd,MAAA,EAAQ,QAAQ,CAAC,8BAAA;AAAA,iBAqBH,iBAAA,CAAkB,MAA+B,EAAvB,uBAAuB;AAAA,UAqBhD,qBAAA;EA9CK;EAgDpB,MAAA,EAAQ,GAAG;EA7CmC;EA+C9C,SAAA;AAAA;;;;;AA9CgD;AAqBlD;;;iBAoCgB,uBAAA,CAAwB,MAAA,EAAQ,qBAAA,GAAwB,GAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { _ as SignedTx, g as SignedEIP712OrderParams, m as EIP712WithdrawCollateralParams } from "./signatureParamTypes-B9sr1m_2.cjs";
|
|
2
2
|
import { Hex } from "viem";
|
|
3
3
|
|
|
4
4
|
//#region src/encoding/encoding.d.ts
|
|
@@ -31,4 +31,4 @@ interface ClaimBuilderFeeParams {
|
|
|
31
31
|
declare function encodeClaimBuilderFeeTx(params: ClaimBuilderFeeParams): Hex;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { encodeSignedWithdrawCollateralTx as a, encodeSignedOrder as i, SlowModeTxType as n, encodeClaimBuilderFeeTx as r, ClaimBuilderFeeParams as t };
|
|
34
|
-
//# sourceMappingURL=encoding-
|
|
34
|
+
//# sourceMappingURL=encoding-tWL2ZXfF.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encoding-
|
|
1
|
+
{"version":3,"file":"encoding-tWL2ZXfF.d.cts","names":[],"sources":["../src/encoding/src/encoding/encoding.ts"],"mappings":";;;;;;;aAgBY,cAAA;EACV,iBAAA;EACA,kBAAA;EACA,UAAA;EACA,eAAA;EACA,oBAAA;AAAA;AAAA,iBAGc,gCAAA,CACd,MAAA,EAAQ,QAAQ,CAAC,8BAAA;AAAA,iBAqBH,iBAAA,CAAkB,MAA+B,EAAvB,uBAAuB;AAAA,UAqBhD,qBAAA;EA9CK;EAgDpB,MAAA,EAAQ,GAAG;EA7CmC;EA+C9C,SAAA;AAAA;;;;;AA9CgD;AAqBlD;;;iBAoCgB,uBAAA,CAAwB,MAAA,EAAQ,qBAAA,GAAwB,GAAG"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
//#region src/types/errorCodes.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Common error codes shared across all Nado backend services (engine, indexer, trigger, mobile).
|
|
4
|
+
*
|
|
5
|
+
* These codes come from the backend's `ResponseError` enum (see `nado-utils/src/error.rs`) and
|
|
6
|
+
* are reused by every service's `*_ERROR_CODES` map (e.g. {@link ENGINE_ERROR_CODES},
|
|
7
|
+
* {@link TRIGGER_ERROR_CODES}, {@link INDEXER_ERROR_CODES}, `MOBILE_ERROR_CODES`). Service-specific
|
|
8
|
+
* codes live in their own ranges and are enumerated in each service's package — see those maps
|
|
9
|
+
* for the full per-service list.
|
|
10
|
+
*
|
|
11
|
+
* The general errors (1xxx range) apply to all services. The `INVALID_SIGNER` (2028) code is
|
|
12
|
+
* technically in the query/execute range but is returned by every signed service, so it is
|
|
13
|
+
* promoted here. The "other" errors (4xxx range) and `INTERNAL_ERROR` (5000) are also
|
|
14
|
+
* cross-service.
|
|
15
|
+
*/
|
|
16
|
+
declare const NADO_ERROR_CODES: {
|
|
17
|
+
/** Rate limit exceeded; returns HTTP 429. */readonly RATE_LIMIT: 1000; /** Address is blacklisted for ToS violation. */
|
|
18
|
+
readonly BLACKLISTED_ADDRESS: 1001; /** Access blocked from this geographic location. */
|
|
19
|
+
readonly BLOCKED_LOCATION: 1002; /** Access blocked from this geographic subdivision. */
|
|
20
|
+
readonly BLOCKED_SUBDIVISION: 1003; /** Service is temporarily unavailable due to scheduled maintenance. */
|
|
21
|
+
readonly MAINTENANCE: 1004; /** Gateway sent an invalid request (edge query rejection). */
|
|
22
|
+
readonly GATEWAY_INVALID_REQUEST: 1005; /** Service is temporarily unavailable; returns HTTP 503. */
|
|
23
|
+
readonly SERVICE_UNAVAILABLE: 1006; /** Signature does not match the sender or linked signer. */
|
|
24
|
+
readonly INVALID_SIGNER: 2028; /** Perp tick formatting: avg_price_diffs/product_ids length mismatch. */
|
|
25
|
+
readonly PERP_TICK_FORMATTING: 4000; /** Feature/route is not yet implemented; mobile returns HTTP 501. */
|
|
26
|
+
readonly NOT_IMPLEMENTED: 4001; /** MintNLP on perps is temporarily disabled. */
|
|
27
|
+
readonly TEMPORARILY_DISABLED_MINT_LP: 4002; /** EVM contract call reverted. */
|
|
28
|
+
readonly EVM_REVERT: 4003; /** Protocol risk withdrawal limit exceeded. */
|
|
29
|
+
readonly WITHDRAW_RISK: 4004; /** Unhandled internal server error. */
|
|
30
|
+
readonly INTERNAL_ERROR: 5000;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Union of all shared cross-service Nado error codes.
|
|
34
|
+
*
|
|
35
|
+
* Service-specific error code maps extend this set with their own ranges — see
|
|
36
|
+
* {@link ENGINE_ERROR_CODES}, {@link TRIGGER_ERROR_CODES}, and {@link INDEXER_ERROR_CODES}.
|
|
37
|
+
*/
|
|
38
|
+
type NadoErrorCode = (typeof NADO_ERROR_CODES)[keyof typeof NADO_ERROR_CODES];
|
|
39
|
+
//#endregion
|
|
40
|
+
export { NadoErrorCode as n, NADO_ERROR_CODES as t };
|
|
41
|
+
//# sourceMappingURL=errorCodes-BIHhESbW.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errorCodes-BIHhESbW.d.ts","names":[],"sources":["../src/types/src/types/errorCodes.ts"],"mappings":";;AAcA;;;;;;;;;;;;;cAAa,gBAAA;;;mCA4CD;EAAA;8BAC6C;EAAA;;;;;;;;;;;;;;;;KAD7C,aAAA,WACF,gBAAA,eAA+B,gBAAgB"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
//#region src/types/errorCodes.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* Common error codes shared across all Nado backend services (engine, indexer, trigger, mobile).
|
|
4
|
+
*
|
|
5
|
+
* These codes come from the backend's `ResponseError` enum (see `nado-utils/src/error.rs`) and
|
|
6
|
+
* are reused by every service's `*_ERROR_CODES` map (e.g. {@link ENGINE_ERROR_CODES},
|
|
7
|
+
* {@link TRIGGER_ERROR_CODES}, {@link INDEXER_ERROR_CODES}, `MOBILE_ERROR_CODES`). Service-specific
|
|
8
|
+
* codes live in their own ranges and are enumerated in each service's package — see those maps
|
|
9
|
+
* for the full per-service list.
|
|
10
|
+
*
|
|
11
|
+
* The general errors (1xxx range) apply to all services. The `INVALID_SIGNER` (2028) code is
|
|
12
|
+
* technically in the query/execute range but is returned by every signed service, so it is
|
|
13
|
+
* promoted here. The "other" errors (4xxx range) and `INTERNAL_ERROR` (5000) are also
|
|
14
|
+
* cross-service.
|
|
15
|
+
*/
|
|
16
|
+
declare const NADO_ERROR_CODES: {
|
|
17
|
+
/** Rate limit exceeded; returns HTTP 429. */readonly RATE_LIMIT: 1000; /** Address is blacklisted for ToS violation. */
|
|
18
|
+
readonly BLACKLISTED_ADDRESS: 1001; /** Access blocked from this geographic location. */
|
|
19
|
+
readonly BLOCKED_LOCATION: 1002; /** Access blocked from this geographic subdivision. */
|
|
20
|
+
readonly BLOCKED_SUBDIVISION: 1003; /** Service is temporarily unavailable due to scheduled maintenance. */
|
|
21
|
+
readonly MAINTENANCE: 1004; /** Gateway sent an invalid request (edge query rejection). */
|
|
22
|
+
readonly GATEWAY_INVALID_REQUEST: 1005; /** Service is temporarily unavailable; returns HTTP 503. */
|
|
23
|
+
readonly SERVICE_UNAVAILABLE: 1006; /** Signature does not match the sender or linked signer. */
|
|
24
|
+
readonly INVALID_SIGNER: 2028; /** Perp tick formatting: avg_price_diffs/product_ids length mismatch. */
|
|
25
|
+
readonly PERP_TICK_FORMATTING: 4000; /** Feature/route is not yet implemented; mobile returns HTTP 501. */
|
|
26
|
+
readonly NOT_IMPLEMENTED: 4001; /** MintNLP on perps is temporarily disabled. */
|
|
27
|
+
readonly TEMPORARILY_DISABLED_MINT_LP: 4002; /** EVM contract call reverted. */
|
|
28
|
+
readonly EVM_REVERT: 4003; /** Protocol risk withdrawal limit exceeded. */
|
|
29
|
+
readonly WITHDRAW_RISK: 4004; /** Unhandled internal server error. */
|
|
30
|
+
readonly INTERNAL_ERROR: 5000;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Union of all shared cross-service Nado error codes.
|
|
34
|
+
*
|
|
35
|
+
* Service-specific error code maps extend this set with their own ranges — see
|
|
36
|
+
* {@link ENGINE_ERROR_CODES}, {@link TRIGGER_ERROR_CODES}, and {@link INDEXER_ERROR_CODES}.
|
|
37
|
+
*/
|
|
38
|
+
type NadoErrorCode = (typeof NADO_ERROR_CODES)[keyof typeof NADO_ERROR_CODES];
|
|
39
|
+
//#endregion
|
|
40
|
+
export { NadoErrorCode as n, NADO_ERROR_CODES as t };
|
|
41
|
+
//# sourceMappingURL=errorCodes-DT284XV9.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"errorCodes-DT284XV9.d.cts","names":[],"sources":["../src/types/src/types/errorCodes.ts"],"mappings":";;AAcA;;;;;;;;;;;;;cAAa,gBAAA;;;mCA4CD;EAAA;8BAC6C;EAAA;;;;;;;;;;;;;;;;KAD7C,aAAA,WACF,gBAAA,eAA+B,gBAAgB"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as approveDepositAllowance, t as ApproveDepositAllowanceParams } from "../approveDepositAllowance-
|
|
1
|
+
import { n as approveDepositAllowance, t as ApproveDepositAllowanceParams } from "../approveDepositAllowance-D2qQPRNF.cjs";
|
|
2
2
|
export { ApproveDepositAllowanceParams, approveDepositAllowance };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as approveDepositAllowance, t as ApproveDepositAllowanceParams } from "../approveDepositAllowance-
|
|
1
|
+
import { n as approveDepositAllowance, t as ApproveDepositAllowanceParams } from "../approveDepositAllowance-C26Htbqh.js";
|
|
2
2
|
export { ApproveDepositAllowanceParams, approveDepositAllowance };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as depositCollateral, t as DepositCollateralParams } from "../depositCollateral-
|
|
1
|
+
import { n as depositCollateral, t as DepositCollateralParams } from "../depositCollateral-BGegWF6K.cjs";
|
|
2
2
|
export { DepositCollateralParams, depositCollateral };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as depositCollateral, t as DepositCollateralParams } from "../depositCollateral-
|
|
1
|
+
import { n as depositCollateral, t as DepositCollateralParams } from "../depositCollateral-BaPQJFGG.js";
|
|
2
2
|
export { DepositCollateralParams, depositCollateral };
|
package/dist/execute/index.d.cts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as approveDepositAllowance, t as ApproveDepositAllowanceParams } from "../approveDepositAllowance-
|
|
2
|
-
import { n as depositCollateral, t as DepositCollateralParams } from "../depositCollateral-
|
|
1
|
+
import { n as approveDepositAllowance, t as ApproveDepositAllowanceParams } from "../approveDepositAllowance-D2qQPRNF.cjs";
|
|
2
|
+
import { n as depositCollateral, t as DepositCollateralParams } from "../depositCollateral-BGegWF6K.cjs";
|
|
3
3
|
export { ApproveDepositAllowanceParams, DepositCollateralParams, approveDepositAllowance, depositCollateral };
|
package/dist/execute/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { n as approveDepositAllowance, t as ApproveDepositAllowanceParams } from "../approveDepositAllowance-
|
|
2
|
-
import { n as depositCollateral, t as DepositCollateralParams } from "../depositCollateral-
|
|
1
|
+
import { n as approveDepositAllowance, t as ApproveDepositAllowanceParams } from "../approveDepositAllowance-C26Htbqh.js";
|
|
2
|
+
import { n as depositCollateral, t as DepositCollateralParams } from "../depositCollateral-BaPQJFGG.js";
|
|
3
3
|
export { ApproveDepositAllowanceParams, DepositCollateralParams, approveDepositAllowance, depositCollateral };
|
|
@@ -10,4 +10,4 @@ import { TypedDataDomain } from "abitype";
|
|
|
10
10
|
declare function getNadoEIP712Domain(contractAddress: string, chainId: number): TypedDataDomain;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { getNadoEIP712Domain as t };
|
|
13
|
-
//# sourceMappingURL=getNadoEIP712Domain-
|
|
13
|
+
//# sourceMappingURL=getNadoEIP712Domain-DYtFpJm-.d.cts.map
|
package/dist/{getNadoEIP712Domain-iDIuXsMf.d.cts.map → getNadoEIP712Domain-DYtFpJm-.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNadoEIP712Domain-
|
|
1
|
+
{"version":3,"file":"getNadoEIP712Domain-DYtFpJm-.d.cts","names":[],"sources":["../src/eip712/src/eip712/getNadoEIP712Domain.ts"],"mappings":";;;;;AASA;;;;iBAAgB,mBAAA,CACd,eAAA,UACA,OAAA,WACC,eAAe"}
|
|
@@ -10,4 +10,4 @@ import { TypedDataDomain } from "abitype";
|
|
|
10
10
|
declare function getNadoEIP712Domain(contractAddress: string, chainId: number): TypedDataDomain;
|
|
11
11
|
//#endregion
|
|
12
12
|
export { getNadoEIP712Domain as t };
|
|
13
|
-
//# sourceMappingURL=getNadoEIP712Domain-
|
|
13
|
+
//# sourceMappingURL=getNadoEIP712Domain-FRScInwf.d.ts.map
|
package/dist/{getNadoEIP712Domain-CSV6Zxuw.d.ts.map → getNadoEIP712Domain-FRScInwf.d.ts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNadoEIP712Domain-
|
|
1
|
+
{"version":3,"file":"getNadoEIP712Domain-FRScInwf.d.ts","names":[],"sources":["../src/eip712/src/eip712/getNadoEIP712Domain.ts"],"mappings":";;;;;AASA;;;;iBAAgB,mBAAA,CACd,eAAA,UACA,OAAA,WACC,eAAe"}
|
package/dist/{getNadoEIP712PrimaryType-CE0fRiTI.d.ts → getNadoEIP712PrimaryType-DqnS3gdK.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as SignableRequestType } from "./signableRequestType-
|
|
1
|
+
import { t as SignableRequestType } from "./signableRequestType-BF56QkJp.js";
|
|
2
2
|
|
|
3
3
|
//#region src/eip712/getNadoEIP712PrimaryType.d.ts
|
|
4
4
|
/**
|
|
@@ -9,4 +9,4 @@ import { t as SignableRequestType } from "./signableRequestType-DWpXrjGE.js";
|
|
|
9
9
|
declare function getNadoEIP712PrimaryType(requestType: SignableRequestType): string;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { getNadoEIP712PrimaryType as t };
|
|
12
|
-
//# sourceMappingURL=getNadoEIP712PrimaryType-
|
|
12
|
+
//# sourceMappingURL=getNadoEIP712PrimaryType-DqnS3gdK.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNadoEIP712PrimaryType-
|
|
1
|
+
{"version":3,"file":"getNadoEIP712PrimaryType-DqnS3gdK.d.ts","names":[],"sources":["../src/eip712/src/eip712/getNadoEIP712PrimaryType.ts"],"mappings":";;;;;AAQA;;;iBAAgB,wBAAA,CAAyB,WAAgC,EAAnB,mBAAmB"}
|
package/dist/{getNadoEIP712PrimaryType-Cq8siJx7.d.cts → getNadoEIP712PrimaryType-vOoXWu15.d.cts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as SignableRequestType } from "./signableRequestType-
|
|
1
|
+
import { t as SignableRequestType } from "./signableRequestType-CHAdsHVX.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/eip712/getNadoEIP712PrimaryType.d.ts
|
|
4
4
|
/**
|
|
@@ -9,4 +9,4 @@ import { t as SignableRequestType } from "./signableRequestType-BV11vCXW.cjs";
|
|
|
9
9
|
declare function getNadoEIP712PrimaryType(requestType: SignableRequestType): string;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { getNadoEIP712PrimaryType as t };
|
|
12
|
-
//# sourceMappingURL=getNadoEIP712PrimaryType-
|
|
12
|
+
//# sourceMappingURL=getNadoEIP712PrimaryType-vOoXWu15.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNadoEIP712PrimaryType-
|
|
1
|
+
{"version":3,"file":"getNadoEIP712PrimaryType-vOoXWu15.d.cts","names":[],"sources":["../src/eip712/src/eip712/getNadoEIP712PrimaryType.ts"],"mappings":";;;;;AAQA;;;iBAAgB,wBAAA,CAAyB,WAAgC,EAAnB,mBAAmB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as SignableRequestType } from "./signableRequestType-
|
|
1
|
+
import { t as SignableRequestType } from "./signableRequestType-BF56QkJp.js";
|
|
2
2
|
|
|
3
3
|
//#region src/eip712/getNadoEIP712Types.d.ts
|
|
4
4
|
interface TypedDataField {
|
|
@@ -13,4 +13,4 @@ interface TypedDataField {
|
|
|
13
13
|
declare function getNadoEIP712Types(requestType: SignableRequestType): Record<string, Array<TypedDataField>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { getNadoEIP712Types as t };
|
|
16
|
-
//# sourceMappingURL=getNadoEIP712Types-
|
|
16
|
+
//# sourceMappingURL=getNadoEIP712Types-R02heQll.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNadoEIP712Types-
|
|
1
|
+
{"version":3,"file":"getNadoEIP712Types-R02heQll.d.ts","names":[],"sources":["../src/eip712/src/eip712/getNadoEIP712Types.ts"],"mappings":";;;UAEU,cAAA;EACR,IAAA;EACA,IAAI;AAAA;;;AAAA;AAQN;;iBAAgB,kBAAA,CACd,WAAA,EAAa,mBAAA,GACZ,MAAA,SAAe,KAAA,CAAM,cAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as SignableRequestType } from "./signableRequestType-
|
|
1
|
+
import { t as SignableRequestType } from "./signableRequestType-CHAdsHVX.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/eip712/getNadoEIP712Types.d.ts
|
|
4
4
|
interface TypedDataField {
|
|
@@ -13,4 +13,4 @@ interface TypedDataField {
|
|
|
13
13
|
declare function getNadoEIP712Types(requestType: SignableRequestType): Record<string, Array<TypedDataField>>;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { getNadoEIP712Types as t };
|
|
16
|
-
//# sourceMappingURL=getNadoEIP712Types-
|
|
16
|
+
//# sourceMappingURL=getNadoEIP712Types-mNqrs54G.d.cts.map
|
package/dist/{getNadoEIP712Types-D7duS2wH.d.cts.map → getNadoEIP712Types-mNqrs54G.d.cts.map}
RENAMED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getNadoEIP712Types-
|
|
1
|
+
{"version":3,"file":"getNadoEIP712Types-mNqrs54G.d.cts","names":[],"sources":["../src/eip712/src/eip712/getNadoEIP712Types.ts"],"mappings":";;;UAEU,cAAA;EACR,IAAA;EACA,IAAI;AAAA;;;AAAA;AAQN;;iBAAgB,kBAAA,CACd,WAAA,EAAa,mBAAA,GACZ,MAAA,SAAe,KAAA,CAAM,cAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as SignableRequestTypeToParams, t as SignableRequestType } from "./signableRequestType-
|
|
1
|
+
import { g as SignableRequestTypeToEIP712Values } from "./eip712ValueTypes-D7iOMl8G.js";
|
|
2
|
+
import { n as SignableRequestTypeToParams, t as SignableRequestType } from "./signableRequestType-BF56QkJp.js";
|
|
3
3
|
|
|
4
4
|
//#region src/eip712/getNadoEIP712Values.d.ts
|
|
5
5
|
/**
|
|
@@ -13,4 +13,4 @@ import { n as SignableRequestTypeToParams, t as SignableRequestType } from "./si
|
|
|
13
13
|
declare function getNadoEIP712Values<TReqType extends SignableRequestType>(requestType: TReqType, params: SignableRequestTypeToParams[TReqType]): SignableRequestTypeToEIP712Values[TReqType];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { getNadoEIP712Values as t };
|
|
16
|
-
//# sourceMappingURL=getNadoEIP712Values-
|
|
16
|
+
//# sourceMappingURL=getNadoEIP712Values-Ce5lqSVk.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNadoEIP712Values-Ce5lqSVk.d.ts","names":[],"sources":["../src/eip712/src/eip712/getNadoEIP712Values.ts"],"mappings":";;;;;;AAkDA;;;;;;iBAAgB,mBAAA,kBAAqC,mBAAA,CAAA,CACnD,WAAA,EAAa,QAAA,EACb,MAAA,EAAQ,2BAAA,CAA4B,QAAA,IACnC,iCAAA,CAAkC,QAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n as SignableRequestTypeToParams, t as SignableRequestType } from "./signableRequestType-
|
|
1
|
+
import { g as SignableRequestTypeToEIP712Values } from "./eip712ValueTypes-DYHO0ldz.cjs";
|
|
2
|
+
import { n as SignableRequestTypeToParams, t as SignableRequestType } from "./signableRequestType-CHAdsHVX.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/eip712/getNadoEIP712Values.d.ts
|
|
5
5
|
/**
|
|
@@ -13,4 +13,4 @@ import { n as SignableRequestTypeToParams, t as SignableRequestType } from "./si
|
|
|
13
13
|
declare function getNadoEIP712Values<TReqType extends SignableRequestType>(requestType: TReqType, params: SignableRequestTypeToParams[TReqType]): SignableRequestTypeToEIP712Values[TReqType];
|
|
14
14
|
//#endregion
|
|
15
15
|
export { getNadoEIP712Values as t };
|
|
16
|
-
//# sourceMappingURL=getNadoEIP712Values-
|
|
16
|
+
//# sourceMappingURL=getNadoEIP712Values-N1wTvB-r.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getNadoEIP712Values-N1wTvB-r.d.cts","names":[],"sources":["../src/eip712/src/eip712/getNadoEIP712Values.ts"],"mappings":";;;;;;AAkDA;;;;;;iBAAgB,mBAAA,kBAAqC,mBAAA,CAAA,CACnD,WAAA,EAAa,QAAA,EACb,MAAA,EAAQ,2BAAA,CAA4B,QAAA,IACnC,iCAAA,CAAkC,QAAA"}
|
package/dist/{getOrderVerifyingAddress-CHRCQ8AZ.d.cts → getOrderVerifyingAddress-CLL7iyLD.d.cts}
RENAMED
|
@@ -8,4 +8,4 @@ import { Address } from "viem";
|
|
|
8
8
|
declare function getOrderVerifyingAddress(productId: number): Address;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { getOrderVerifyingAddress as t };
|
|
11
|
-
//# sourceMappingURL=getOrderVerifyingAddress-
|
|
11
|
+
//# sourceMappingURL=getOrderVerifyingAddress-CLL7iyLD.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrderVerifyingAddress-
|
|
1
|
+
{"version":3,"file":"getOrderVerifyingAddress-CLL7iyLD.d.cts","names":[],"sources":["../src/eip712/src/eip712/getOrderVerifyingAddress.ts"],"mappings":";;;;;AAMA;;iBAAgB,wBAAA,CAAyB,SAAA,WAAoB,OAAO"}
|
package/dist/{getOrderVerifyingAddress-BygcgBA1.d.ts → getOrderVerifyingAddress-CNyXGx9D.d.ts}
RENAMED
|
@@ -8,4 +8,4 @@ import { Address } from "viem";
|
|
|
8
8
|
declare function getOrderVerifyingAddress(productId: number): Address;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { getOrderVerifyingAddress as t };
|
|
11
|
-
//# sourceMappingURL=getOrderVerifyingAddress-
|
|
11
|
+
//# sourceMappingURL=getOrderVerifyingAddress-CNyXGx9D.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getOrderVerifyingAddress-
|
|
1
|
+
{"version":3,"file":"getOrderVerifyingAddress-CNyXGx9D.d.ts","names":[],"sources":["../src/eip712/src/eip712/getOrderVerifyingAddress.ts"],"mappings":";;;;;AAMA;;iBAAgB,wBAAA,CAAyB,SAAA,WAAoB,OAAO"}
|
package/dist/{getSignedTransactionRequest-Et_1Y1wr.d.ts → getSignedTransactionRequest-D0b4BDSB.d.ts}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as WalletClientWithAccount } from "./viemTypes-
|
|
2
|
-
import { n as SignableRequestTypeToParams, t as SignableRequestType } from "./signableRequestType-
|
|
1
|
+
import { r as WalletClientWithAccount } from "./viemTypes-CK7FBgk7.js";
|
|
2
|
+
import { n as SignableRequestTypeToParams, t as SignableRequestType } from "./signableRequestType-BF56QkJp.js";
|
|
3
3
|
|
|
4
4
|
//#region src/eip712/getSignedTransactionRequest.d.ts
|
|
5
5
|
interface Params<TReqType extends SignableRequestType> {
|
|
@@ -12,4 +12,4 @@ interface Params<TReqType extends SignableRequestType> {
|
|
|
12
12
|
declare function getSignedTransactionRequest<TReqType extends SignableRequestType>(params: Params<TReqType>): Promise<`0x${string}`>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { getSignedTransactionRequest as t };
|
|
15
|
-
//# sourceMappingURL=getSignedTransactionRequest-
|
|
15
|
+
//# sourceMappingURL=getSignedTransactionRequest-D0b4BDSB.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSignedTransactionRequest-
|
|
1
|
+
{"version":3,"file":"getSignedTransactionRequest-D0b4BDSB.d.ts","names":[],"sources":["../src/eip712/src/eip712/getSignedTransactionRequest.ts"],"mappings":";;;;UAUU,MAAA,kBAAwB,mBAAA;EAChC,WAAA,EAAa,QAAA;EACb,aAAA,EAAe,2BAAA,CAA4B,QAAA;EAE3C,OAAA;EAEA,iBAAA;EACA,YAAA,EAAc,uBAAA;AAAA;AAAA,iBAGA,2BAAA,kBACG,mBAAA,CAAA,CACjB,MAAA,EAAQ,MAAA,CAAO,QAAA,IAAS,OAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as WalletClientWithAccount } from "./viemTypes-
|
|
2
|
-
import { n as SignableRequestTypeToParams, t as SignableRequestType } from "./signableRequestType-
|
|
1
|
+
import { r as WalletClientWithAccount } from "./viemTypes-B1TUCDzm.cjs";
|
|
2
|
+
import { n as SignableRequestTypeToParams, t as SignableRequestType } from "./signableRequestType-CHAdsHVX.cjs";
|
|
3
3
|
|
|
4
4
|
//#region src/eip712/getSignedTransactionRequest.d.ts
|
|
5
5
|
interface Params<TReqType extends SignableRequestType> {
|
|
@@ -12,4 +12,4 @@ interface Params<TReqType extends SignableRequestType> {
|
|
|
12
12
|
declare function getSignedTransactionRequest<TReqType extends SignableRequestType>(params: Params<TReqType>): Promise<`0x${string}`>;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { getSignedTransactionRequest as t };
|
|
15
|
-
//# sourceMappingURL=getSignedTransactionRequest-
|
|
15
|
+
//# sourceMappingURL=getSignedTransactionRequest-kTbC9qPT.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getSignedTransactionRequest-
|
|
1
|
+
{"version":3,"file":"getSignedTransactionRequest-kTbC9qPT.d.cts","names":[],"sources":["../src/eip712/src/eip712/getSignedTransactionRequest.ts"],"mappings":";;;;UAUU,MAAA,kBAAwB,mBAAA;EAChC,WAAA,EAAa,QAAA;EACb,aAAA,EAAe,2BAAA,CAA4B,QAAA;EAE3C,OAAA;EAEA,iBAAA;EACA,YAAA,EAAc,uBAAA;AAAA;AAAA,iBAGA,2BAAA,kBACG,mBAAA,CAAA,CACjB,MAAA,EAAQ,MAAA,CAAO,QAAA,IAAS,OAAA"}
|
|
@@ -8,4 +8,4 @@ import { Address } from "viem";
|
|
|
8
8
|
declare function getValidatedAddress(maybeAddress: string): Address;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { getValidatedAddress as t };
|
|
11
|
-
//# sourceMappingURL=getValidatedAddress-
|
|
11
|
+
//# sourceMappingURL=getValidatedAddress-4dLXIemu.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getValidatedAddress-4dLXIemu.d.ts","names":[],"sources":["../src/utils/src/utils/getValidatedAddress.ts"],"mappings":";;;;;AAMA;;iBAAgB,mBAAA,CAAoB,YAAA,WAAuB,OAAO"}
|
|
@@ -8,4 +8,4 @@ import { Address } from "viem";
|
|
|
8
8
|
declare function getValidatedAddress(maybeAddress: string): Address;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { getValidatedAddress as t };
|
|
11
|
-
//# sourceMappingURL=getValidatedAddress-
|
|
11
|
+
//# sourceMappingURL=getValidatedAddress-C_HmNidZ.d.cts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getValidatedAddress-C_HmNidZ.d.cts","names":[],"sources":["../src/utils/src/utils/getValidatedAddress.ts"],"mappings":";;;;;AAMA;;iBAAgB,mBAAA,CAAoB,YAAA,WAAuB,OAAO"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getValidatedHex-CNqNVarV.d.ts","names":[],"sources":["../src/utils/src/utils/getValidatedHex.ts"],"mappings":";;;;;AAMA;;iBAAgB,eAAA,CAAgB,QAAA,WAAmB,GAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getValidatedHex-zCkkMsa7.d.cts","names":[],"sources":["../src/utils/src/utils/getValidatedHex.ts"],"mappings":";;;;;AAMA;;iBAAgB,eAAA,CAAgB,QAAA,WAAmB,GAAG"}
|
package/dist/index.cjs
CHANGED
|
@@ -54,6 +54,7 @@ const require_execute_approveDepositAllowance = require("./execute/approveDeposi
|
|
|
54
54
|
const require_execute_depositCollateral = require("./execute/depositCollateral.cjs");
|
|
55
55
|
require("./execute/index.cjs");
|
|
56
56
|
const require_types_ChainEnv = require("./types/ChainEnv.cjs");
|
|
57
|
+
const require_types_errorCodes = require("./types/errorCodes.cjs");
|
|
57
58
|
require("./types/index.cjs");
|
|
58
59
|
exports.ALL_CHAIN_ENVS = require_types_ChainEnv.ALL_CHAIN_ENVS;
|
|
59
60
|
exports.BigNumbers = require_utils_math_BigNumbers.BigNumbers;
|
|
@@ -67,6 +68,7 @@ exports.MAINNET_CHAIN_ENVS = require_types_ChainEnv.MAINNET_CHAIN_ENVS;
|
|
|
67
68
|
exports.MOCK_ERC20_ABI = require_abis_MockERC20.MOCK_ERC20_ABI;
|
|
68
69
|
exports.NADO_ABIS = require_abis_nadoAbis.NADO_ABIS;
|
|
69
70
|
exports.NADO_DEPLOYMENTS = require_deployments.NADO_DEPLOYMENTS;
|
|
71
|
+
exports.NADO_ERROR_CODES = require_types_errorCodes.NADO_ERROR_CODES;
|
|
70
72
|
exports.NADO_PRODUCT_DECIMALS = require_utils_math_decimalAdjustment.NADO_PRODUCT_DECIMALS;
|
|
71
73
|
exports.NLP_PRODUCT_ID = require_consts_productIds.NLP_PRODUCT_ID;
|
|
72
74
|
exports.PERP_ENGINE_ABI = require_abis_PerpEngine.PERP_ENGINE_ABI;
|
package/dist/index.d.cts
CHANGED
|
@@ -12,53 +12,55 @@ import { a as toProductEngineType, i as SpotProduct, n as Product, r as ProductE
|
|
|
12
12
|
import { a as PerpBalance, c as SpotBalanceWithProduct, i as BalanceWithProduct, n as BalanceHealthContributions, o as PerpBalanceWithProduct, r as BalanceSide, s as SpotBalance, t as Balance } from "./balanceTypes-DdDBwUwZ.cjs";
|
|
13
13
|
import { t as Bytes } from "./bytes-DAhqCt_o.cjs";
|
|
14
14
|
import { a as TESTNET_CHAIN_ENVS, i as MAINNET_CHAIN_ENVS, n as ChainEnv, r as LOCAL_CHAIN_ENVS, t as ALL_CHAIN_ENVS } from "./ChainEnv-C_iC1v8V.cjs";
|
|
15
|
-
import {
|
|
16
|
-
import { i as
|
|
17
|
-
import { n as
|
|
18
|
-
import { n as
|
|
19
|
-
import { t as
|
|
20
|
-
import { t as
|
|
21
|
-
import {
|
|
22
|
-
import { t as
|
|
23
|
-
import { t as
|
|
24
|
-
import { t as
|
|
25
|
-
import { t as
|
|
26
|
-
import {
|
|
27
|
-
import { n as
|
|
28
|
-
import {
|
|
29
|
-
import { n as
|
|
15
|
+
import { n as NadoErrorCode, t as NADO_ERROR_CODES } from "./errorCodes-DT284XV9.cjs";
|
|
16
|
+
import { i as SpotMarket, n as MarketWithProduct, r as PerpMarket, t as Market } from "./marketTypes-BvUKMyk2.cjs";
|
|
17
|
+
import { i as WriteableContractInstance, n as ContractInstance, r as WalletClientWithAccount, t as AccountWithPrivateKey } from "./viemTypes-B1TUCDzm.cjs";
|
|
18
|
+
import { n as WithContract, r as WithContracts, t as NadoContracts } from "./nadoContractTypes-Dhmt_9t1.cjs";
|
|
19
|
+
import { n as toBigNumber, t as BigNumberish } from "./bigNumber-DRrWI93s.cjs";
|
|
20
|
+
import { t as BigNumbers } from "./BigNumbers-DYhqk1Hm.cjs";
|
|
21
|
+
import { t as clampBigNumber } from "./clamp-BZmNZW_0.cjs";
|
|
22
|
+
import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "./decimalAdjustment-BnyIQK-9.cjs";
|
|
23
|
+
import { t as sumBigNumberBy } from "./sumBigNumberBy-DDmCAeH7.cjs";
|
|
24
|
+
import { t as toBigInt } from "./toBigInt-BeWZDOuB.cjs";
|
|
25
|
+
import { t as toIntegerString } from "./toIntegerString-BPfShEi9.cjs";
|
|
26
|
+
import { t as OrderExecutionType } from "./OrderExecutionType-CsOBf1tI.cjs";
|
|
27
|
+
import { a as OrderAppendixTwapFields, i as OrderAppendixTriggerType, n as OrderAppendixBuilderFields, r as OrderAppendixIsolatedFields, t as OrderAppendix } from "./orderAppendixTypes-CaYlUEvF.cjs";
|
|
28
|
+
import { t as SignatureParams } from "./signatureTypes-CmG9clmQ.cjs";
|
|
29
|
+
import { n as SubaccountBytes32, r as SubaccountNameBytes12, t as Subaccount } from "./subaccountTypes-CwU5OiX6.cjs";
|
|
30
|
+
import { n as CHAIN_ID_TO_CHAIN_ENV, t as CHAIN_ENV_TO_CHAIN } from "./chainEnvToChain-Bq28rZNo.cjs";
|
|
31
|
+
import { n as QUOTE_PRODUCT_ID, t as NLP_PRODUCT_ID } from "./productIds-DBfWyycx.cjs";
|
|
30
32
|
import { NADO_DEPLOYMENTS, NadoDeploymentAddresses } from "./deployments/index.cjs";
|
|
31
|
-
import { n as asyncResult, t as AsyncResult } from "./asyncResult-
|
|
32
|
-
import { n as calcPerpBalanceValue, r as calcSpotBalanceValue, t as calcPerpBalanceNotionalValue } from "./balanceValue-
|
|
33
|
-
import { a as subaccountToBytes32, i as subaccountNameToBytes12, n as subaccountFromHex, o as subaccountToHex, r as subaccountNameBytesToStr, t as subaccountFromBytes32 } from "./bytes32-
|
|
34
|
-
import { t as createDeterministicLinkedSignerPrivateKey } from "./createDeterministicLinkedSignerPrivateKey-
|
|
35
|
-
import { t as WalletNotProvidedError } from "./WalletNotProvidedError-
|
|
36
|
-
import { t as getValidatedAddress } from "./getValidatedAddress-
|
|
37
|
-
import { t as getValidatedHex } from "./getValidatedHex-
|
|
38
|
-
import { a as calcTotalDeposited, i as calcTotalBorrowed, n as calcBorrowRatePerSecond, o as calcUtilizationRatio, r as calcRealizedDepositRateForTimeRange, t as calcBorrowRateForTimeRange } from "./interest-
|
|
39
|
-
import { t as isWriteableContract } from "./isWriteableContract-
|
|
40
|
-
import { t as mapValues } from "./mapValues-
|
|
41
|
-
import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "./appendixTwapValue-
|
|
42
|
-
import { t as bitMaskValue } from "./bitMaskValue-
|
|
43
|
-
import { t as packOrderAppendix } from "./packOrderAppendix-
|
|
44
|
-
import { t as PackedOrderAppendixBits } from "./types-
|
|
45
|
-
import { t as unpackOrderAppendix } from "./unpackOrderAppendix-
|
|
46
|
-
import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "./orderNonce-
|
|
47
|
-
import { t as getDefaultRecvTime } from "./recvTime-
|
|
48
|
-
import { i as isSpotProduct, n as isPerpProduct, r as isSpotBalance, t as isPerpBalance } from "./productTypeFilter-
|
|
49
|
-
import { n as millisToSeconds, r as nowInSeconds, t as TimeInSeconds } from "./time-
|
|
50
|
-
import { t as toPrintableObject } from "./toPrintableObject-
|
|
51
|
-
import { a as EIP712LinkSignerParams, c as EIP712MintNlpParams, d as
|
|
52
|
-
import { a as EIP712ListTriggerOrdersValues, c as
|
|
53
|
-
import { t as getNadoEIP712Domain } from "./getNadoEIP712Domain-
|
|
54
|
-
import { n as SignableRequestTypeToParams, t as SignableRequestType } from "./signableRequestType-
|
|
55
|
-
import { t as getNadoEIP712PrimaryType } from "./getNadoEIP712PrimaryType-
|
|
56
|
-
import { t as getNadoEIP712Types } from "./getNadoEIP712Types-
|
|
57
|
-
import { t as getNadoEIP712Values } from "./getNadoEIP712Values-
|
|
58
|
-
import { t as getOrderVerifyingAddress } from "./getOrderVerifyingAddress-
|
|
59
|
-
import { t as getSignedTransactionRequest } from "./getSignedTransactionRequest-
|
|
60
|
-
import { t as getOrderDigest } from "./orderDigest-
|
|
61
|
-
import { a as encodeSignedWithdrawCollateralTx, i as encodeSignedOrder, n as SlowModeTxType, r as encodeClaimBuilderFeeTx, t as ClaimBuilderFeeParams } from "./encoding-
|
|
62
|
-
import { n as approveDepositAllowance, t as ApproveDepositAllowanceParams } from "./approveDepositAllowance-
|
|
63
|
-
import { n as depositCollateral, t as DepositCollateralParams } from "./depositCollateral-
|
|
64
|
-
export { ALL_CHAIN_ENVS, AccountWithPrivateKey, ApproveDepositAllowanceParams, AsyncResult, Balance, BalanceHealthContributions, BalanceSide, BalanceWithProduct, BigNumberish, BigNumbers, Bytes, CHAIN_ENV_TO_CHAIN, CHAIN_ID_TO_CHAIN_ENV, CLEARINGHOUSE_ABI, ChainEnv, ClaimBuilderFeeParams, ContractInstance, DepositCollateralParams, EIP712BurnNlpParams, EIP712BurnNlpValues, EIP712CancelOrdersParams, EIP712CancelProductOrdersParams, EIP712LeaderboardAuthenticationParams, EIP712LeaderboardAuthenticationValues, EIP712LinkSignerParams, EIP712LinkSignerValues, EIP712LiquidateSubaccountParams, EIP712LiquidateSubaccountValues, EIP712ListTriggerOrdersParams, EIP712ListTriggerOrdersValues, EIP712MintNlpParams, EIP712MintNlpValues, EIP712OrderCancellationValues, EIP712OrderParams, EIP712OrderValues, EIP712ProductOrdersCancellationValues, EIP712SocialAuthenticationParams, EIP712SocialAuthenticationValues, EIP712TransferQuoteParams, EIP712TransferQuoteValues, EIP712UpdateDependencyParams, EIP712UpdateDependencyValues, EIP712WithdrawCollateralParams, EIP712WithdrawCollateralV2Params, EIP712WithdrawCollateralV2Values, EIP712WithdrawCollateralValues, ENDPOINT_ABI, ERC20_ABI, HealthGroup, HealthStatus, HealthStatusByType, HealthType, LOCAL_CHAIN_ENVS, MAINNET_CHAIN_ENVS, MOCK_ERC20_ABI, Market, MarketWithProduct, NADO_ABIS, NADO_DEPLOYMENTS, NADO_PRODUCT_DECIMALS, NLP_PRODUCT_ID, NadoAbis, NadoContractName, NadoContracts, NadoDeploymentAddresses, OrderAppendix, OrderAppendixBuilderFields, OrderAppendixIsolatedFields, OrderAppendixTriggerType, OrderAppendixTwapFields, OrderExecutionType, PERP_ENGINE_ABI, PackedOrderAppendixBits, PerpBalance, PerpBalanceWithProduct, PerpMarket, PerpProduct, Product, ProductEngineType, QUERIER_ABI, QUOTE_PRODUCT_ID, SPOT_ENGINE_ABI, SignableRequestType, SignableRequestTypeToEIP712Values, SignableRequestTypeToParams, SignedEIP712OrderParams, SignedTx, SlowModeTxType, SpotBalance, SpotBalanceWithProduct, SpotMarket, SpotProduct, Subaccount, SubaccountBytes32, SubaccountNameBytes12, TESTNET_CHAIN_ENVS, TimeInSeconds, WITHDRAW_POOL_ABI, WalletClientWithAccount, WalletNotProvidedError, WithContract, WithContracts, WriteableContractInstance, addDecimals, approveDepositAllowance, asyncResult, bitMaskValue, calcBorrowRateForTimeRange, calcBorrowRatePerSecond, calcPerpBalanceNotionalValue, calcPerpBalanceValue, calcRealizedDepositRateForTimeRange, calcSpotBalanceValue, calcTotalBorrowed, calcTotalDeposited, calcUtilizationRatio, clampBigNumber, createDeterministicLinkedSignerPrivateKey, depositCollateral, encodeClaimBuilderFeeTx, encodeSignedOrder, encodeSignedWithdrawCollateralTx, getDefaultRecvTime, getNadoEIP712Domain, getNadoEIP712PrimaryType, getNadoEIP712Types, getNadoEIP712Values, getOrderDigest, getOrderNonce, getOrderVerifyingAddress, getRecvTimeFromOrderNonce, getSignedTransactionRequest, getValidatedAddress, getValidatedHex, isPerpBalance, isPerpProduct, isSpotBalance, isSpotProduct, isWriteableContract, mapValues, millisToSeconds, nowInSeconds, packOrderAppendix, packTwapOrderAppendixValue, removeDecimals, subaccountFromBytes32, subaccountFromHex, subaccountNameBytesToStr, subaccountNameToBytes12, subaccountToBytes32, subaccountToHex, sumBigNumberBy, toBigInt, toBigNumber, toIntegerString, toPrintableObject, toProductEngineType, unpackOrderAppendix, unpackTwapOrderAppendixValue };
|
|
33
|
+
import { n as asyncResult, t as AsyncResult } from "./asyncResult-DQ8gHsyJ.cjs";
|
|
34
|
+
import { n as calcPerpBalanceValue, r as calcSpotBalanceValue, t as calcPerpBalanceNotionalValue } from "./balanceValue-DqIWjoKX.cjs";
|
|
35
|
+
import { a as subaccountToBytes32, i as subaccountNameToBytes12, n as subaccountFromHex, o as subaccountToHex, r as subaccountNameBytesToStr, t as subaccountFromBytes32 } from "./bytes32-DcJ5FJSi.cjs";
|
|
36
|
+
import { t as createDeterministicLinkedSignerPrivateKey } from "./createDeterministicLinkedSignerPrivateKey-CTTU-mEr.cjs";
|
|
37
|
+
import { t as WalletNotProvidedError } from "./WalletNotProvidedError-Cr6ag4xm.cjs";
|
|
38
|
+
import { t as getValidatedAddress } from "./getValidatedAddress-C_HmNidZ.cjs";
|
|
39
|
+
import { t as getValidatedHex } from "./getValidatedHex-zCkkMsa7.cjs";
|
|
40
|
+
import { a as calcTotalDeposited, i as calcTotalBorrowed, n as calcBorrowRatePerSecond, o as calcUtilizationRatio, r as calcRealizedDepositRateForTimeRange, t as calcBorrowRateForTimeRange } from "./interest-BfAowKdU.cjs";
|
|
41
|
+
import { t as isWriteableContract } from "./isWriteableContract-Ctl78F8z.cjs";
|
|
42
|
+
import { t as mapValues } from "./mapValues-BoHvsgT1.cjs";
|
|
43
|
+
import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "./appendixTwapValue-CnnIIOqv.cjs";
|
|
44
|
+
import { t as bitMaskValue } from "./bitMaskValue-R5zFzHLe.cjs";
|
|
45
|
+
import { t as packOrderAppendix } from "./packOrderAppendix-CczLGSVB.cjs";
|
|
46
|
+
import { t as PackedOrderAppendixBits } from "./types-D_CNVlha.cjs";
|
|
47
|
+
import { t as unpackOrderAppendix } from "./unpackOrderAppendix-Cjy13jK5.cjs";
|
|
48
|
+
import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "./orderNonce-CFJ5UiYP.cjs";
|
|
49
|
+
import { t as getDefaultRecvTime } from "./recvTime-Bm6OOxAH.cjs";
|
|
50
|
+
import { i as isSpotProduct, n as isPerpProduct, r as isSpotBalance, t as isPerpBalance } from "./productTypeFilter-DafbByZQ.cjs";
|
|
51
|
+
import { n as millisToSeconds, r as nowInSeconds, t as TimeInSeconds } from "./time-CWyHslwY.cjs";
|
|
52
|
+
import { t as toPrintableObject } from "./toPrintableObject-CFG_kUbt.cjs";
|
|
53
|
+
import { _ as SignedTx, a as EIP712LinkSignerParams, c as EIP712MintNlpParams, d as EIP712SocialAuthenticationParams, f as EIP712TransferQuoteParams, g as SignedEIP712OrderParams, h as EIP712WithdrawCollateralV2Params, i as EIP712LeaderboardAuthenticationParams, l as EIP712NadoAuthenticationParams, m as EIP712WithdrawCollateralParams, n as EIP712CancelOrdersParams, o as EIP712LiquidateSubaccountParams, p as EIP712UpdateDependencyParams, r as EIP712CancelProductOrdersParams, s as EIP712ListTriggerOrdersParams, t as EIP712BurnNlpParams, u as EIP712OrderParams } from "./signatureParamTypes-B9sr1m_2.cjs";
|
|
54
|
+
import { a as EIP712ListTriggerOrdersValues, c as EIP712OrderCancellationValues, d as EIP712SocialAuthenticationValues, f as EIP712TransferQuoteValues, g as SignableRequestTypeToEIP712Values, h as EIP712WithdrawCollateralValues, i as EIP712LiquidateSubaccountValues, l as EIP712OrderValues, m as EIP712WithdrawCollateralV2Values, n as EIP712LeaderboardAuthenticationValues, o as EIP712MintNlpValues, p as EIP712UpdateDependencyValues, r as EIP712LinkSignerValues, s as EIP712NadoAuthenticationValues, t as EIP712BurnNlpValues, u as EIP712ProductOrdersCancellationValues } from "./eip712ValueTypes-DYHO0ldz.cjs";
|
|
55
|
+
import { t as getNadoEIP712Domain } from "./getNadoEIP712Domain-DYtFpJm-.cjs";
|
|
56
|
+
import { n as SignableRequestTypeToParams, t as SignableRequestType } from "./signableRequestType-CHAdsHVX.cjs";
|
|
57
|
+
import { t as getNadoEIP712PrimaryType } from "./getNadoEIP712PrimaryType-vOoXWu15.cjs";
|
|
58
|
+
import { t as getNadoEIP712Types } from "./getNadoEIP712Types-mNqrs54G.cjs";
|
|
59
|
+
import { t as getNadoEIP712Values } from "./getNadoEIP712Values-N1wTvB-r.cjs";
|
|
60
|
+
import { t as getOrderVerifyingAddress } from "./getOrderVerifyingAddress-CLL7iyLD.cjs";
|
|
61
|
+
import { t as getSignedTransactionRequest } from "./getSignedTransactionRequest-kTbC9qPT.cjs";
|
|
62
|
+
import { t as getOrderDigest } from "./orderDigest-Ds3Er4tZ.cjs";
|
|
63
|
+
import { a as encodeSignedWithdrawCollateralTx, i as encodeSignedOrder, n as SlowModeTxType, r as encodeClaimBuilderFeeTx, t as ClaimBuilderFeeParams } from "./encoding-tWL2ZXfF.cjs";
|
|
64
|
+
import { n as approveDepositAllowance, t as ApproveDepositAllowanceParams } from "./approveDepositAllowance-D2qQPRNF.cjs";
|
|
65
|
+
import { n as depositCollateral, t as DepositCollateralParams } from "./depositCollateral-BGegWF6K.cjs";
|
|
66
|
+
export { ALL_CHAIN_ENVS, AccountWithPrivateKey, ApproveDepositAllowanceParams, AsyncResult, Balance, BalanceHealthContributions, BalanceSide, BalanceWithProduct, BigNumberish, BigNumbers, Bytes, CHAIN_ENV_TO_CHAIN, CHAIN_ID_TO_CHAIN_ENV, CLEARINGHOUSE_ABI, ChainEnv, ClaimBuilderFeeParams, ContractInstance, DepositCollateralParams, EIP712BurnNlpParams, EIP712BurnNlpValues, EIP712CancelOrdersParams, EIP712CancelProductOrdersParams, EIP712LeaderboardAuthenticationParams, EIP712LeaderboardAuthenticationValues, EIP712LinkSignerParams, EIP712LinkSignerValues, EIP712LiquidateSubaccountParams, EIP712LiquidateSubaccountValues, EIP712ListTriggerOrdersParams, EIP712ListTriggerOrdersValues, EIP712MintNlpParams, EIP712MintNlpValues, EIP712NadoAuthenticationParams, EIP712NadoAuthenticationValues, EIP712OrderCancellationValues, EIP712OrderParams, EIP712OrderValues, EIP712ProductOrdersCancellationValues, EIP712SocialAuthenticationParams, EIP712SocialAuthenticationValues, EIP712TransferQuoteParams, EIP712TransferQuoteValues, EIP712UpdateDependencyParams, EIP712UpdateDependencyValues, EIP712WithdrawCollateralParams, EIP712WithdrawCollateralV2Params, EIP712WithdrawCollateralV2Values, EIP712WithdrawCollateralValues, ENDPOINT_ABI, ERC20_ABI, HealthGroup, HealthStatus, HealthStatusByType, HealthType, LOCAL_CHAIN_ENVS, MAINNET_CHAIN_ENVS, MOCK_ERC20_ABI, Market, MarketWithProduct, NADO_ABIS, NADO_DEPLOYMENTS, NADO_ERROR_CODES, NADO_PRODUCT_DECIMALS, NLP_PRODUCT_ID, NadoAbis, NadoContractName, NadoContracts, NadoDeploymentAddresses, NadoErrorCode, OrderAppendix, OrderAppendixBuilderFields, OrderAppendixIsolatedFields, OrderAppendixTriggerType, OrderAppendixTwapFields, OrderExecutionType, PERP_ENGINE_ABI, PackedOrderAppendixBits, PerpBalance, PerpBalanceWithProduct, PerpMarket, PerpProduct, Product, ProductEngineType, QUERIER_ABI, QUOTE_PRODUCT_ID, SPOT_ENGINE_ABI, SignableRequestType, SignableRequestTypeToEIP712Values, SignableRequestTypeToParams, SignatureParams, SignedEIP712OrderParams, SignedTx, SlowModeTxType, SpotBalance, SpotBalanceWithProduct, SpotMarket, SpotProduct, Subaccount, SubaccountBytes32, SubaccountNameBytes12, TESTNET_CHAIN_ENVS, TimeInSeconds, WITHDRAW_POOL_ABI, WalletClientWithAccount, WalletNotProvidedError, WithContract, WithContracts, WriteableContractInstance, addDecimals, approveDepositAllowance, asyncResult, bitMaskValue, calcBorrowRateForTimeRange, calcBorrowRatePerSecond, calcPerpBalanceNotionalValue, calcPerpBalanceValue, calcRealizedDepositRateForTimeRange, calcSpotBalanceValue, calcTotalBorrowed, calcTotalDeposited, calcUtilizationRatio, clampBigNumber, createDeterministicLinkedSignerPrivateKey, depositCollateral, encodeClaimBuilderFeeTx, encodeSignedOrder, encodeSignedWithdrawCollateralTx, getDefaultRecvTime, getNadoEIP712Domain, getNadoEIP712PrimaryType, getNadoEIP712Types, getNadoEIP712Values, getOrderDigest, getOrderNonce, getOrderVerifyingAddress, getRecvTimeFromOrderNonce, getSignedTransactionRequest, getValidatedAddress, getValidatedHex, isPerpBalance, isPerpProduct, isSpotBalance, isSpotProduct, isWriteableContract, mapValues, millisToSeconds, nowInSeconds, packOrderAppendix, packTwapOrderAppendixValue, removeDecimals, subaccountFromBytes32, subaccountFromHex, subaccountNameBytesToStr, subaccountNameToBytes12, subaccountToBytes32, subaccountToHex, sumBigNumberBy, toBigInt, toBigNumber, toIntegerString, toPrintableObject, toProductEngineType, unpackOrderAppendix, unpackTwapOrderAppendixValue };
|