@nadohq/shared 0.27.0 → 0.29.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.
Files changed (396) hide show
  1. package/dist/BaseServerFailureError-lKtEbaZM.d.ts +45 -0
  2. package/dist/BaseServerFailureError-lKtEbaZM.d.ts.map +1 -0
  3. package/dist/BaseServerFailureError-q0hQxZbH.d.cts +45 -0
  4. package/dist/BaseServerFailureError-q0hQxZbH.d.cts.map +1 -0
  5. package/dist/{BigNumbers-CZl--in2.d.cts → BigNumbers-Bj-QcbP_.d.cts} +1 -1
  6. package/dist/BigNumbers-Bj-QcbP_.d.cts.map +1 -0
  7. package/dist/{BigNumbers-CM-lXODL.d.ts → BigNumbers-C2iMiWwo.d.ts} +1 -1
  8. package/dist/BigNumbers-C2iMiWwo.d.ts.map +1 -0
  9. package/dist/{ChainEnv-C_iC1v8V.d.cts → ChainEnv-BiybryWq.d.cts} +1 -1
  10. package/dist/{ChainEnv-C_iC1v8V.d.cts.map → ChainEnv-BiybryWq.d.cts.map} +1 -1
  11. package/dist/{ChainEnv-CxBY-mBv.d.ts → ChainEnv-CuhUM7XM.d.ts} +1 -1
  12. package/dist/{ChainEnv-CxBY-mBv.d.ts.map → ChainEnv-CuhUM7XM.d.ts.map} +1 -1
  13. package/dist/{OrderExecutionType-gZHBzTTF.d.cts → OrderExecutionType-B-igYC1p.d.cts} +1 -1
  14. package/dist/OrderExecutionType-B-igYC1p.d.cts.map +1 -0
  15. package/dist/{OrderExecutionType-BCH5Wop4.d.ts → OrderExecutionType-DhfG5qLe.d.ts} +1 -1
  16. package/dist/OrderExecutionType-DhfG5qLe.d.ts.map +1 -0
  17. package/dist/{WalletNotProvidedError-v1a959kl.d.ts → WalletNotProvidedError-CN0xJL6e.d.ts} +1 -1
  18. package/dist/{WalletNotProvidedError-v1a959kl.d.ts.map → WalletNotProvidedError-CN0xJL6e.d.ts.map} +1 -1
  19. package/dist/{WalletNotProvidedError-BEoW-nA1.d.cts → WalletNotProvidedError-DXwkasel.d.cts} +1 -1
  20. package/dist/{WalletNotProvidedError-BEoW-nA1.d.cts.map → WalletNotProvidedError-DXwkasel.d.cts.map} +1 -1
  21. package/dist/{appendixTwapValue-DIqDV7Z7.d.cts → appendixTwapValue-CZCE2qQo.d.cts} +2 -2
  22. package/dist/{appendixTwapValue-DIqDV7Z7.d.cts.map → appendixTwapValue-CZCE2qQo.d.cts.map} +1 -1
  23. package/dist/{appendixTwapValue-DPsC1hXX.d.ts → appendixTwapValue-hvjIuxYz.d.ts} +2 -2
  24. package/dist/{appendixTwapValue-DPsC1hXX.d.ts.map → appendixTwapValue-hvjIuxYz.d.ts.map} +1 -1
  25. package/dist/{approveDepositAllowance-ChasXUS7.d.ts → approveDepositAllowance-BHEw6auf.d.ts} +4 -4
  26. package/dist/{approveDepositAllowance-ChasXUS7.d.ts.map → approveDepositAllowance-BHEw6auf.d.ts.map} +1 -1
  27. package/dist/{approveDepositAllowance-BbqDck6c.d.cts → approveDepositAllowance-Dqt8Wc3P.d.cts} +4 -4
  28. package/dist/{approveDepositAllowance-BbqDck6c.d.cts.map → approveDepositAllowance-Dqt8Wc3P.d.cts.map} +1 -1
  29. package/dist/{asyncResult-CrfiRFh5.d.ts → asyncResult-SvtRCbOk.d.ts} +1 -1
  30. package/dist/{asyncResult-CrfiRFh5.d.ts.map → asyncResult-SvtRCbOk.d.ts.map} +1 -1
  31. package/dist/{asyncResult-B8ly8lP_.d.cts → asyncResult-uSvcciZS.d.cts} +1 -1
  32. package/dist/{asyncResult-B8ly8lP_.d.cts.map → asyncResult-uSvcciZS.d.cts.map} +1 -1
  33. package/dist/{balanceValue-CT4Q7W0T.d.cts → balanceValue-0IotjlbD.d.cts} +1 -1
  34. package/dist/{balanceValue-CT4Q7W0T.d.cts.map → balanceValue-0IotjlbD.d.cts.map} +1 -1
  35. package/dist/{balanceValue-bkwkBhFu.d.ts → balanceValue-G8L4pR0e.d.ts} +1 -1
  36. package/dist/{balanceValue-bkwkBhFu.d.ts.map → balanceValue-G8L4pR0e.d.ts.map} +1 -1
  37. package/dist/{bigNumber-DX0JX9bQ.d.cts → bigNumber-D3ssF_uJ.d.cts} +1 -1
  38. package/dist/{bigNumber-DX0JX9bQ.d.cts.map → bigNumber-D3ssF_uJ.d.cts.map} +1 -1
  39. package/dist/{bigNumber-BLE4n-ku.d.ts → bigNumber-DsRTR9zM.d.ts} +1 -1
  40. package/dist/{bigNumber-BLE4n-ku.d.ts.map → bigNumber-DsRTR9zM.d.ts.map} +1 -1
  41. package/dist/{bitMaskValue-CDz7vtPM.d.cts → bitMaskValue-2s-H6pY1.d.cts} +1 -1
  42. package/dist/{bitMaskValue-CDz7vtPM.d.cts.map → bitMaskValue-2s-H6pY1.d.cts.map} +1 -1
  43. package/dist/{bitMaskValue-qyWUOgv1.d.ts → bitMaskValue-DassPPW9.d.ts} +1 -1
  44. package/dist/{bitMaskValue-qyWUOgv1.d.ts.map → bitMaskValue-DassPPW9.d.ts.map} +1 -1
  45. package/dist/{bytes-Bv66A6U8.d.ts → bytes-DQ2CQ0dC.d.ts} +1 -1
  46. package/dist/bytes-DQ2CQ0dC.d.ts.map +1 -0
  47. package/dist/{bytes-DAhqCt_o.d.cts → bytes-GErzNSza.d.cts} +1 -1
  48. package/dist/bytes-GErzNSza.d.cts.map +1 -0
  49. package/dist/{bytes32-klqLJUFN.d.cts → bytes32-BVmiGtU4.d.cts} +3 -3
  50. package/dist/{bytes32-klqLJUFN.d.cts.map → bytes32-BVmiGtU4.d.cts.map} +1 -1
  51. package/dist/{bytes32-D-tn3XZy.d.ts → bytes32-Bm0kWK7n.d.ts} +3 -3
  52. package/dist/{bytes32-D-tn3XZy.d.ts.map → bytes32-Bm0kWK7n.d.ts.map} +1 -1
  53. package/dist/{chainEnvToChain-DdLczNYZ.d.cts → chainEnvToChain-BTVc24Cl.d.cts} +2 -2
  54. package/dist/{chainEnvToChain-DdLczNYZ.d.cts.map → chainEnvToChain-BTVc24Cl.d.cts.map} +1 -1
  55. package/dist/{chainEnvToChain-DpBYNlnk.d.ts → chainEnvToChain-Bx0gnV-p.d.ts} +2 -2
  56. package/dist/{chainEnvToChain-DpBYNlnk.d.ts.map → chainEnvToChain-Bx0gnV-p.d.ts.map} +1 -1
  57. package/dist/{clamp-B7YSY8XJ.d.cts → clamp-BG8pfPTy.d.cts} +1 -1
  58. package/dist/{clamp-B7YSY8XJ.d.cts.map → clamp-BG8pfPTy.d.cts.map} +1 -1
  59. package/dist/{clamp-CWW-gFbE.d.ts → clamp-tcJ-3GBf.d.ts} +1 -1
  60. package/dist/{clamp-CWW-gFbE.d.ts.map → clamp-tcJ-3GBf.d.ts.map} +1 -1
  61. package/dist/consts/chainEnvToChain.d.cts +1 -1
  62. package/dist/consts/chainEnvToChain.d.ts +1 -1
  63. package/dist/consts/index.d.cts +2 -2
  64. package/dist/consts/index.d.ts +2 -2
  65. package/dist/consts/productIds.d.cts +1 -1
  66. package/dist/consts/productIds.d.ts +1 -1
  67. package/dist/{createDeterministicLinkedSignerPrivateKey-47pkYOE0.d.ts → createDeterministicLinkedSignerPrivateKey-Bro8BtTs.d.ts} +3 -3
  68. package/dist/createDeterministicLinkedSignerPrivateKey-Bro8BtTs.d.ts.map +1 -0
  69. package/dist/{createDeterministicLinkedSignerPrivateKey-CcJhRSf7.d.cts → createDeterministicLinkedSignerPrivateKey-wu-Hp9xI.d.cts} +3 -3
  70. package/dist/createDeterministicLinkedSignerPrivateKey-wu-Hp9xI.d.cts.map +1 -0
  71. package/dist/{decimalAdjustment-1vhO65Zz.d.ts → decimalAdjustment-5cvNu6vi.d.ts} +2 -2
  72. package/dist/{decimalAdjustment-1vhO65Zz.d.ts.map → decimalAdjustment-5cvNu6vi.d.ts.map} +1 -1
  73. package/dist/{decimalAdjustment-CMqU3rNy.d.cts → decimalAdjustment-DTyP-bzx.d.cts} +2 -2
  74. package/dist/{decimalAdjustment-CMqU3rNy.d.cts.map → decimalAdjustment-DTyP-bzx.d.cts.map} +1 -1
  75. package/dist/deployments/index.d.cts +1 -1
  76. package/dist/deployments/index.d.ts +1 -1
  77. package/dist/{depositCollateral-C3mp2GTo.d.cts → depositCollateral-DnI9P28B.d.cts} +3 -3
  78. package/dist/{depositCollateral-C3mp2GTo.d.cts.map → depositCollateral-DnI9P28B.d.cts.map} +1 -1
  79. package/dist/{depositCollateral-BZOXvr6h.d.ts → depositCollateral-joXPokvk.d.ts} +3 -3
  80. package/dist/{depositCollateral-BZOXvr6h.d.ts.map → depositCollateral-joXPokvk.d.ts.map} +1 -1
  81. package/dist/eip712/eip712ValueTypes.d.cts +1 -1
  82. package/dist/eip712/eip712ValueTypes.d.ts +1 -1
  83. package/dist/eip712/getNadoEIP712Domain.d.cts +1 -1
  84. package/dist/eip712/getNadoEIP712Domain.d.ts +1 -1
  85. package/dist/eip712/getNadoEIP712PrimaryType.d.cts +1 -1
  86. package/dist/eip712/getNadoEIP712PrimaryType.d.ts +1 -1
  87. package/dist/eip712/getNadoEIP712Types.d.cts +1 -1
  88. package/dist/eip712/getNadoEIP712Types.d.ts +1 -1
  89. package/dist/eip712/getNadoEIP712Values.d.cts +1 -1
  90. package/dist/eip712/getNadoEIP712Values.d.ts +1 -1
  91. package/dist/eip712/getOrderVerifyingAddress.d.cts +1 -1
  92. package/dist/eip712/getOrderVerifyingAddress.d.ts +1 -1
  93. package/dist/eip712/getSignedTransactionRequest.d.cts +1 -1
  94. package/dist/eip712/getSignedTransactionRequest.d.ts +1 -1
  95. package/dist/eip712/index.d.cts +10 -10
  96. package/dist/eip712/index.d.ts +10 -10
  97. package/dist/eip712/orderDigest.d.cts +1 -1
  98. package/dist/eip712/orderDigest.d.ts +1 -1
  99. package/dist/eip712/signableRequestType.d.cts +1 -1
  100. package/dist/eip712/signableRequestType.d.ts +1 -1
  101. package/dist/eip712/signatureParamTypes.d.cts +1 -1
  102. package/dist/eip712/signatureParamTypes.d.ts +1 -1
  103. package/dist/{eip712ValueTypes-B7SUNimi.d.cts → eip712ValueTypes-D3lBy0wX.d.cts} +3 -3
  104. package/dist/{eip712ValueTypes-B7SUNimi.d.cts.map → eip712ValueTypes-D3lBy0wX.d.cts.map} +1 -1
  105. package/dist/{eip712ValueTypes-Bx73DiwJ.d.ts → eip712ValueTypes-DUPOOfWP.d.ts} +3 -3
  106. package/dist/{eip712ValueTypes-Bx73DiwJ.d.ts.map → eip712ValueTypes-DUPOOfWP.d.ts.map} +1 -1
  107. package/dist/encoding/encoding.d.cts +1 -1
  108. package/dist/encoding/encoding.d.ts +1 -1
  109. package/dist/encoding/index.d.cts +1 -1
  110. package/dist/encoding/index.d.ts +1 -1
  111. package/dist/{encoding-DGoJlZo_.d.cts → encoding-Cf7ApKrp.d.cts} +2 -2
  112. package/dist/{encoding-DGoJlZo_.d.cts.map → encoding-Cf7ApKrp.d.cts.map} +1 -1
  113. package/dist/{encoding-ChEwtCUc.d.ts → encoding-IiqAceVl.d.ts} +2 -2
  114. package/dist/{encoding-ChEwtCUc.d.ts.map → encoding-IiqAceVl.d.ts.map} +1 -1
  115. package/dist/errorCodes-4V4XODmG.d.cts +41 -0
  116. package/dist/errorCodes-4V4XODmG.d.cts.map +1 -0
  117. package/dist/errorCodes-iVKkzL4K.d.ts +41 -0
  118. package/dist/errorCodes-iVKkzL4K.d.ts.map +1 -0
  119. package/dist/execute/approveDepositAllowance.d.cts +1 -1
  120. package/dist/execute/approveDepositAllowance.d.ts +1 -1
  121. package/dist/execute/depositCollateral.d.cts +1 -1
  122. package/dist/execute/depositCollateral.d.ts +1 -1
  123. package/dist/execute/index.d.cts +2 -2
  124. package/dist/execute/index.d.ts +2 -2
  125. package/dist/{getNadoEIP712Domain-kTOBSTeO.d.ts → getNadoEIP712Domain-CWcZ6i_Q.d.ts} +1 -1
  126. package/dist/{getNadoEIP712Domain-kTOBSTeO.d.ts.map → getNadoEIP712Domain-CWcZ6i_Q.d.ts.map} +1 -1
  127. package/dist/{getNadoEIP712Domain-CbvRaSxS.d.cts → getNadoEIP712Domain-ePSuQTF4.d.cts} +1 -1
  128. package/dist/{getNadoEIP712Domain-CbvRaSxS.d.cts.map → getNadoEIP712Domain-ePSuQTF4.d.cts.map} +1 -1
  129. package/dist/{getNadoEIP712PrimaryType-DxmJJfz2.d.cts → getNadoEIP712PrimaryType-C1d67853.d.cts} +2 -2
  130. package/dist/{getNadoEIP712PrimaryType-DxmJJfz2.d.cts.map → getNadoEIP712PrimaryType-C1d67853.d.cts.map} +1 -1
  131. package/dist/{getNadoEIP712PrimaryType-BcdZPTeT.d.ts → getNadoEIP712PrimaryType-DVtqy63V.d.ts} +2 -2
  132. package/dist/{getNadoEIP712PrimaryType-BcdZPTeT.d.ts.map → getNadoEIP712PrimaryType-DVtqy63V.d.ts.map} +1 -1
  133. package/dist/{getNadoEIP712Types-DUE5ujkf.d.ts → getNadoEIP712Types-0rSqR0TZ.d.ts} +2 -2
  134. package/dist/{getNadoEIP712Types-DUE5ujkf.d.ts.map → getNadoEIP712Types-0rSqR0TZ.d.ts.map} +1 -1
  135. package/dist/{getNadoEIP712Types-CJFATDaU.d.cts → getNadoEIP712Types-D4NbwzX-.d.cts} +2 -2
  136. package/dist/{getNadoEIP712Types-CJFATDaU.d.cts.map → getNadoEIP712Types-D4NbwzX-.d.cts.map} +1 -1
  137. package/dist/{getNadoEIP712Values-CTLCQp1t.d.ts → getNadoEIP712Values-CPbB6pLq.d.ts} +3 -3
  138. package/dist/{getNadoEIP712Values-CTLCQp1t.d.ts.map → getNadoEIP712Values-CPbB6pLq.d.ts.map} +1 -1
  139. package/dist/{getNadoEIP712Values-P4Ypt-zt.d.cts → getNadoEIP712Values-pRIAPwhZ.d.cts} +3 -3
  140. package/dist/{getNadoEIP712Values-P4Ypt-zt.d.cts.map → getNadoEIP712Values-pRIAPwhZ.d.cts.map} +1 -1
  141. package/dist/{getOrderVerifyingAddress-BX_s3Vfh.d.ts → getOrderVerifyingAddress-BDVUTxrs.d.ts} +1 -1
  142. package/dist/{getOrderVerifyingAddress-BX_s3Vfh.d.ts.map → getOrderVerifyingAddress-BDVUTxrs.d.ts.map} +1 -1
  143. package/dist/{getOrderVerifyingAddress-DDfqL0tj.d.cts → getOrderVerifyingAddress-CyuhcDVZ.d.cts} +1 -1
  144. package/dist/{getOrderVerifyingAddress-DDfqL0tj.d.cts.map → getOrderVerifyingAddress-CyuhcDVZ.d.cts.map} +1 -1
  145. package/dist/{getSignedTransactionRequest-C0S7STob.d.cts → getSignedTransactionRequest-BrzkB8B7.d.cts} +3 -3
  146. package/dist/{getSignedTransactionRequest-C0S7STob.d.cts.map → getSignedTransactionRequest-BrzkB8B7.d.cts.map} +1 -1
  147. package/dist/{getSignedTransactionRequest-EzUfIGU0.d.ts → getSignedTransactionRequest-BvscxzgU.d.ts} +3 -3
  148. package/dist/{getSignedTransactionRequest-EzUfIGU0.d.ts.map → getSignedTransactionRequest-BvscxzgU.d.ts.map} +1 -1
  149. package/dist/{getValidatedAddress-f8b_x20V.d.ts → getValidatedAddress-DD1N6pfc.d.ts} +1 -1
  150. package/dist/getValidatedAddress-DD1N6pfc.d.ts.map +1 -0
  151. package/dist/{getValidatedAddress-BiT9E3l6.d.cts → getValidatedAddress-TNxNngvc.d.cts} +1 -1
  152. package/dist/getValidatedAddress-TNxNngvc.d.cts.map +1 -0
  153. package/dist/{getValidatedHex-_FrR4ehU.d.ts → getValidatedHex-1VRieEnK.d.ts} +1 -1
  154. package/dist/getValidatedHex-1VRieEnK.d.ts.map +1 -0
  155. package/dist/{getValidatedHex-D_p2LkRB.d.cts → getValidatedHex-CEtmzBzc.d.cts} +1 -1
  156. package/dist/getValidatedHex-CEtmzBzc.d.cts.map +1 -0
  157. package/dist/index.cjs +4 -0
  158. package/dist/index.d.cts +54 -52
  159. package/dist/index.d.ts +54 -52
  160. package/dist/index.js +3 -1
  161. package/dist/{interest-D9Nu3wzM.d.ts → interest-BGRNvCxK.d.ts} +2 -2
  162. package/dist/{interest-D9Nu3wzM.d.ts.map → interest-BGRNvCxK.d.ts.map} +1 -1
  163. package/dist/{interest-BJn3z3kZ.d.cts → interest-DbQOrmBI.d.cts} +2 -2
  164. package/dist/{interest-BJn3z3kZ.d.cts.map → interest-DbQOrmBI.d.cts.map} +1 -1
  165. package/dist/{isWriteableContract-GxOuGwru.d.cts → isWriteableContract-BApMCbPn.d.cts} +2 -2
  166. package/dist/{isWriteableContract-GxOuGwru.d.cts.map → isWriteableContract-BApMCbPn.d.cts.map} +1 -1
  167. package/dist/{isWriteableContract-Cm5HlOta.d.ts → isWriteableContract-CJQ4QKqa.d.ts} +2 -2
  168. package/dist/{isWriteableContract-Cm5HlOta.d.ts.map → isWriteableContract-CJQ4QKqa.d.ts.map} +1 -1
  169. package/dist/{mapValues-CO9UDyHu.d.ts → mapValues-BZW7dU_i.d.ts} +1 -1
  170. package/dist/{mapValues-CO9UDyHu.d.ts.map → mapValues-BZW7dU_i.d.ts.map} +1 -1
  171. package/dist/{mapValues-o-kMemvA.d.cts → mapValues-D2u-oFkX.d.cts} +1 -1
  172. package/dist/{mapValues-o-kMemvA.d.cts.map → mapValues-D2u-oFkX.d.cts.map} +1 -1
  173. package/dist/{marketTypes-C37HnBB7.d.ts → marketTypes-B5PFCPzN.d.ts} +1 -1
  174. package/dist/{marketTypes-C37HnBB7.d.ts.map → marketTypes-B5PFCPzN.d.ts.map} +1 -1
  175. package/dist/{marketTypes-BSevYB-h.d.cts → marketTypes-DRZEFgF4.d.cts} +1 -1
  176. package/dist/{marketTypes-BSevYB-h.d.cts.map → marketTypes-DRZEFgF4.d.cts.map} +1 -1
  177. package/dist/{nadoContractTypes-Cp3kD2DC.d.cts → nadoContractTypes-8MNIkohy.d.cts} +2 -2
  178. package/dist/{nadoContractTypes-Cp3kD2DC.d.cts.map → nadoContractTypes-8MNIkohy.d.cts.map} +1 -1
  179. package/dist/{nadoContractTypes-PWzd6_3s.d.ts → nadoContractTypes-BX9lth68.d.ts} +2 -2
  180. package/dist/{nadoContractTypes-PWzd6_3s.d.ts.map → nadoContractTypes-BX9lth68.d.ts.map} +1 -1
  181. package/dist/{orderAppendixTypes-CM-eb5WL.d.cts → orderAppendixTypes-DIeaFc_g.d.cts} +3 -3
  182. package/dist/{orderAppendixTypes-CM-eb5WL.d.cts.map → orderAppendixTypes-DIeaFc_g.d.cts.map} +1 -1
  183. package/dist/{orderAppendixTypes-5NqkTOxO.d.ts → orderAppendixTypes-DQU50ISh.d.ts} +3 -3
  184. package/dist/{orderAppendixTypes-5NqkTOxO.d.ts.map → orderAppendixTypes-DQU50ISh.d.ts.map} +1 -1
  185. package/dist/{orderDigest-KkIGidxX.d.cts → orderDigest-M5b8ibGE.d.cts} +2 -2
  186. package/dist/{orderDigest-KkIGidxX.d.cts.map → orderDigest-M5b8ibGE.d.cts.map} +1 -1
  187. package/dist/{orderDigest-Dkq7daQm.d.ts → orderDigest-WJMRxWSr.d.ts} +2 -2
  188. package/dist/{orderDigest-Dkq7daQm.d.ts.map → orderDigest-WJMRxWSr.d.ts.map} +1 -1
  189. package/dist/{orderNonce-DjWVtNql.d.ts → orderNonce-Qf0AYXz9.d.ts} +1 -1
  190. package/dist/{orderNonce-DjWVtNql.d.ts.map → orderNonce-Qf0AYXz9.d.ts.map} +1 -1
  191. package/dist/{orderNonce-CqjVRxk_.d.cts → orderNonce-UUMaxlBA.d.cts} +1 -1
  192. package/dist/{orderNonce-CqjVRxk_.d.cts.map → orderNonce-UUMaxlBA.d.cts.map} +1 -1
  193. package/dist/{packOrderAppendix-BvzI7zfI.d.ts → packOrderAppendix-BKmQ-8tV.d.ts} +2 -2
  194. package/dist/{packOrderAppendix-BvzI7zfI.d.ts.map → packOrderAppendix-BKmQ-8tV.d.ts.map} +1 -1
  195. package/dist/{packOrderAppendix-cBX9_d08.d.cts → packOrderAppendix-DyfvlAmI.d.cts} +2 -2
  196. package/dist/{packOrderAppendix-cBX9_d08.d.cts.map → packOrderAppendix-DyfvlAmI.d.cts.map} +1 -1
  197. package/dist/{productIds-CePkYUZH.d.cts → productIds-BEA5iUth.d.cts} +1 -1
  198. package/dist/productIds-BEA5iUth.d.cts.map +1 -0
  199. package/dist/{productIds-BZeKoHcK.d.ts → productIds-CaLvVM2C.d.ts} +1 -1
  200. package/dist/productIds-CaLvVM2C.d.ts.map +1 -0
  201. package/dist/{productTypeFilter-IKV6IkNW.d.ts → productTypeFilter-D0N0FKt4.d.ts} +1 -1
  202. package/dist/{productTypeFilter-IKV6IkNW.d.ts.map → productTypeFilter-D0N0FKt4.d.ts.map} +1 -1
  203. package/dist/{productTypeFilter-Dtf71CLf.d.cts → productTypeFilter-DoGpp8hw.d.cts} +1 -1
  204. package/dist/{productTypeFilter-Dtf71CLf.d.cts.map → productTypeFilter-DoGpp8hw.d.cts.map} +1 -1
  205. package/dist/{recvTime-B5XYRV0S.d.ts → recvTime-C5rnDnyo.d.ts} +1 -1
  206. package/dist/recvTime-C5rnDnyo.d.ts.map +1 -0
  207. package/dist/{recvTime-D6SfTY5U.d.cts → recvTime-CGPFJaVg.d.cts} +1 -1
  208. package/dist/recvTime-CGPFJaVg.d.cts.map +1 -0
  209. package/dist/{signableRequestType-BtNg2SMb.d.cts → signableRequestType-CILYXUsJ.d.cts} +2 -2
  210. package/dist/{signableRequestType-BtNg2SMb.d.cts.map → signableRequestType-CILYXUsJ.d.cts.map} +1 -1
  211. package/dist/{signableRequestType-CZjIeuKt.d.ts → signableRequestType-Cj0JFAJ1.d.ts} +2 -2
  212. package/dist/{signableRequestType-CZjIeuKt.d.ts.map → signableRequestType-Cj0JFAJ1.d.ts.map} +1 -1
  213. package/dist/{signatureParamTypes-wuLv8rkA.d.ts → signatureParamTypes-CeVzymiN.d.ts} +3 -3
  214. package/dist/{signatureParamTypes-wuLv8rkA.d.ts.map → signatureParamTypes-CeVzymiN.d.ts.map} +1 -1
  215. package/dist/{signatureParamTypes-D30zq2Ac.d.cts → signatureParamTypes-CuTGjnn3.d.cts} +3 -3
  216. package/dist/{signatureParamTypes-D30zq2Ac.d.cts.map → signatureParamTypes-CuTGjnn3.d.cts.map} +1 -1
  217. package/dist/{signatureTypes-DxmIJNug.d.ts → signatureTypes-CKnj4AM2.d.ts} +1 -1
  218. package/dist/signatureTypes-CKnj4AM2.d.ts.map +1 -0
  219. package/dist/{signatureTypes-S1LMAbRM.d.cts → signatureTypes-DLj7Jdxv.d.cts} +1 -1
  220. package/dist/signatureTypes-DLj7Jdxv.d.cts.map +1 -0
  221. package/dist/{subaccountTypes-DCl5hh9_.d.cts → subaccountTypes-BZhlUXiR.d.cts} +2 -2
  222. package/dist/{subaccountTypes-DCl5hh9_.d.cts.map → subaccountTypes-BZhlUXiR.d.cts.map} +1 -1
  223. package/dist/{subaccountTypes-BuzrDicU.d.ts → subaccountTypes-Drgy-wfh.d.ts} +2 -2
  224. package/dist/{subaccountTypes-BuzrDicU.d.ts.map → subaccountTypes-Drgy-wfh.d.ts.map} +1 -1
  225. package/dist/{sumBigNumberBy-wVwOxwyc.d.ts → sumBigNumberBy-CY0ExAq2.d.ts} +1 -1
  226. package/dist/{sumBigNumberBy-wVwOxwyc.d.ts.map → sumBigNumberBy-CY0ExAq2.d.ts.map} +1 -1
  227. package/dist/{sumBigNumberBy-BWQ-bPpk.d.cts → sumBigNumberBy-lCtvVOV3.d.cts} +1 -1
  228. package/dist/{sumBigNumberBy-BWQ-bPpk.d.cts.map → sumBigNumberBy-lCtvVOV3.d.cts.map} +1 -1
  229. package/dist/{time-CN8jbcGn.d.cts → time-DQcdrUXm.d.cts} +1 -1
  230. package/dist/{time-CN8jbcGn.d.cts.map → time-DQcdrUXm.d.cts.map} +1 -1
  231. package/dist/{time-BXCJoadZ.d.ts → time-qxKJesBm.d.ts} +1 -1
  232. package/dist/{time-BXCJoadZ.d.ts.map → time-qxKJesBm.d.ts.map} +1 -1
  233. package/dist/{toBigInt-cEajjeFa.d.cts → toBigInt-B8tsovob.d.cts} +2 -2
  234. package/dist/toBigInt-B8tsovob.d.cts.map +1 -0
  235. package/dist/{toBigInt-PqI3ILSN.d.ts → toBigInt-DSkcduN6.d.ts} +2 -2
  236. package/dist/toBigInt-DSkcduN6.d.ts.map +1 -0
  237. package/dist/{toIntegerString-sATPFuxt.d.ts → toIntegerString-Bn5odb7O.d.ts} +2 -2
  238. package/dist/toIntegerString-Bn5odb7O.d.ts.map +1 -0
  239. package/dist/{toIntegerString-CHveFt3s.d.cts → toIntegerString-IbOUu6_I.d.cts} +2 -2
  240. package/dist/toIntegerString-IbOUu6_I.d.cts.map +1 -0
  241. package/dist/{toPrintableObject-qU66WYAb.d.ts → toPrintableObject-8v8l_p0v.d.ts} +1 -1
  242. package/dist/{toPrintableObject-qU66WYAb.d.ts.map → toPrintableObject-8v8l_p0v.d.ts.map} +1 -1
  243. package/dist/{toPrintableObject-BD8fvLEw.d.cts → toPrintableObject-zlDajAQ0.d.cts} +1 -1
  244. package/dist/{toPrintableObject-BD8fvLEw.d.cts.map → toPrintableObject-zlDajAQ0.d.cts.map} +1 -1
  245. package/dist/types/BaseServerFailureError.cjs +25 -0
  246. package/dist/types/BaseServerFailureError.cjs.map +1 -0
  247. package/dist/types/BaseServerFailureError.d.cts +2 -0
  248. package/dist/types/BaseServerFailureError.d.ts +2 -0
  249. package/dist/types/BaseServerFailureError.js +24 -0
  250. package/dist/types/BaseServerFailureError.js.map +1 -0
  251. package/dist/types/ChainEnv.d.cts +1 -1
  252. package/dist/types/ChainEnv.d.ts +1 -1
  253. package/dist/types/OrderExecutionType.d.cts +1 -1
  254. package/dist/types/OrderExecutionType.d.ts +1 -1
  255. package/dist/types/bytes.d.cts +1 -1
  256. package/dist/types/bytes.d.ts +1 -1
  257. package/dist/types/errorCodes.cjs +50 -0
  258. package/dist/types/errorCodes.cjs.map +1 -0
  259. package/dist/types/errorCodes.d.cts +2 -0
  260. package/dist/types/errorCodes.d.ts +2 -0
  261. package/dist/types/errorCodes.js +49 -0
  262. package/dist/types/errorCodes.js.map +1 -0
  263. package/dist/types/index.cjs +4 -0
  264. package/dist/types/index.d.cts +12 -10
  265. package/dist/types/index.d.ts +12 -10
  266. package/dist/types/index.js +3 -1
  267. package/dist/types/marketTypes.d.cts +1 -1
  268. package/dist/types/marketTypes.d.ts +1 -1
  269. package/dist/types/nadoContractTypes.d.cts +1 -1
  270. package/dist/types/nadoContractTypes.d.ts +1 -1
  271. package/dist/types/orderAppendixTypes.d.cts +1 -1
  272. package/dist/types/orderAppendixTypes.d.ts +1 -1
  273. package/dist/types/signatureTypes.d.cts +1 -1
  274. package/dist/types/signatureTypes.d.ts +1 -1
  275. package/dist/types/subaccountTypes.d.cts +1 -1
  276. package/dist/types/subaccountTypes.d.ts +1 -1
  277. package/dist/types/viemTypes.d.cts +1 -1
  278. package/dist/types/viemTypes.d.ts +1 -1
  279. package/dist/{types-STPWaMSZ.d.cts → types-6WRBoXvb.d.cts} +1 -1
  280. package/dist/{types-STPWaMSZ.d.cts.map → types-6WRBoXvb.d.cts.map} +1 -1
  281. package/dist/{types-C3h0_DhN.d.ts → types-Be-SKK2F.d.ts} +1 -1
  282. package/dist/{types-C3h0_DhN.d.ts.map → types-Be-SKK2F.d.ts.map} +1 -1
  283. package/dist/{unpackOrderAppendix-D2mTEbjX.d.cts → unpackOrderAppendix-CwxSxPOH.d.cts} +3 -3
  284. package/dist/{unpackOrderAppendix-D2mTEbjX.d.cts.map → unpackOrderAppendix-CwxSxPOH.d.cts.map} +1 -1
  285. package/dist/{unpackOrderAppendix-BtZ5M1kJ.d.ts → unpackOrderAppendix-Q_DrCNaG.d.ts} +3 -3
  286. package/dist/{unpackOrderAppendix-BtZ5M1kJ.d.ts.map → unpackOrderAppendix-Q_DrCNaG.d.ts.map} +1 -1
  287. package/dist/utils/asyncResult.d.cts +1 -1
  288. package/dist/utils/asyncResult.d.ts +1 -1
  289. package/dist/utils/balanceValue.d.cts +1 -1
  290. package/dist/utils/balanceValue.d.ts +1 -1
  291. package/dist/utils/bytes32.d.cts +1 -1
  292. package/dist/utils/bytes32.d.ts +1 -1
  293. package/dist/utils/createDeterministicLinkedSignerPrivateKey.d.cts +1 -1
  294. package/dist/utils/createDeterministicLinkedSignerPrivateKey.d.ts +1 -1
  295. package/dist/utils/errors/WalletNotProvidedError.d.cts +1 -1
  296. package/dist/utils/errors/WalletNotProvidedError.d.ts +1 -1
  297. package/dist/utils/errors/index.d.cts +1 -1
  298. package/dist/utils/errors/index.d.ts +1 -1
  299. package/dist/utils/getValidatedAddress.d.cts +1 -1
  300. package/dist/utils/getValidatedAddress.d.ts +1 -1
  301. package/dist/utils/getValidatedHex.d.cts +1 -1
  302. package/dist/utils/getValidatedHex.d.ts +1 -1
  303. package/dist/utils/index.d.cts +27 -27
  304. package/dist/utils/index.d.ts +27 -27
  305. package/dist/utils/interest.d.cts +1 -1
  306. package/dist/utils/interest.d.ts +1 -1
  307. package/dist/utils/isWriteableContract.d.cts +1 -1
  308. package/dist/utils/isWriteableContract.d.ts +1 -1
  309. package/dist/utils/mapValues.d.cts +1 -1
  310. package/dist/utils/mapValues.d.ts +1 -1
  311. package/dist/utils/math/BigNumbers.d.cts +1 -1
  312. package/dist/utils/math/BigNumbers.d.ts +1 -1
  313. package/dist/utils/math/bigNumber.d.cts +1 -1
  314. package/dist/utils/math/bigNumber.d.ts +1 -1
  315. package/dist/utils/math/clamp.d.cts +1 -1
  316. package/dist/utils/math/clamp.d.ts +1 -1
  317. package/dist/utils/math/decimalAdjustment.d.cts +1 -1
  318. package/dist/utils/math/decimalAdjustment.d.ts +1 -1
  319. package/dist/utils/math/index.d.cts +7 -7
  320. package/dist/utils/math/index.d.ts +7 -7
  321. package/dist/utils/math/sumBigNumberBy.d.cts +1 -1
  322. package/dist/utils/math/sumBigNumberBy.d.ts +1 -1
  323. package/dist/utils/math/toBigInt.d.cts +1 -1
  324. package/dist/utils/math/toBigInt.d.ts +1 -1
  325. package/dist/utils/math/toIntegerString.d.cts +1 -1
  326. package/dist/utils/math/toIntegerString.d.ts +1 -1
  327. package/dist/utils/orders/appendix/appendixIsolatedValue.d.cts +1 -1
  328. package/dist/utils/orders/appendix/appendixIsolatedValue.d.ts +1 -1
  329. package/dist/utils/orders/appendix/appendixTwapValue.d.cts +1 -1
  330. package/dist/utils/orders/appendix/appendixTwapValue.d.ts +1 -1
  331. package/dist/utils/orders/appendix/bitMaskValue.d.cts +1 -1
  332. package/dist/utils/orders/appendix/bitMaskValue.d.ts +1 -1
  333. package/dist/utils/orders/appendix/index.d.cts +5 -5
  334. package/dist/utils/orders/appendix/index.d.ts +5 -5
  335. package/dist/utils/orders/appendix/packOrderAppendix.d.cts +1 -1
  336. package/dist/utils/orders/appendix/packOrderAppendix.d.ts +1 -1
  337. package/dist/utils/orders/appendix/types.d.cts +1 -1
  338. package/dist/utils/orders/appendix/types.d.ts +1 -1
  339. package/dist/utils/orders/appendix/unpackOrderAppendix.d.cts +1 -1
  340. package/dist/utils/orders/appendix/unpackOrderAppendix.d.ts +1 -1
  341. package/dist/utils/orders/index.d.cts +7 -7
  342. package/dist/utils/orders/index.d.ts +7 -7
  343. package/dist/utils/orders/orderNonce.d.cts +1 -1
  344. package/dist/utils/orders/orderNonce.d.ts +1 -1
  345. package/dist/utils/orders/recvTime.d.cts +1 -1
  346. package/dist/utils/orders/recvTime.d.ts +1 -1
  347. package/dist/utils/productTypeFilter.d.cts +1 -1
  348. package/dist/utils/productTypeFilter.d.ts +1 -1
  349. package/dist/utils/time.d.cts +1 -1
  350. package/dist/utils/time.d.ts +1 -1
  351. package/dist/utils/toPrintableObject.d.cts +1 -1
  352. package/dist/utils/toPrintableObject.d.ts +1 -1
  353. package/dist/{viemTypes-D3kRC8jF.d.ts → viemTypes-ChJk9MYI.d.ts} +1 -1
  354. package/dist/{viemTypes-D3kRC8jF.d.ts.map → viemTypes-ChJk9MYI.d.ts.map} +1 -1
  355. package/dist/{viemTypes-Mjfxe2ou.d.cts → viemTypes-DrxAdyOl.d.cts} +1 -1
  356. package/dist/{viemTypes-Mjfxe2ou.d.cts.map → viemTypes-DrxAdyOl.d.cts.map} +1 -1
  357. package/package.json +2 -2
  358. package/src/types/BaseServerFailureError.ts +51 -0
  359. package/src/types/errorCodes.ts +60 -0
  360. package/src/types/index.ts +2 -0
  361. package/dist/BigNumbers-CM-lXODL.d.ts.map +0 -1
  362. package/dist/BigNumbers-CZl--in2.d.cts.map +0 -1
  363. package/dist/OrderExecutionType-BCH5Wop4.d.ts.map +0 -1
  364. package/dist/OrderExecutionType-gZHBzTTF.d.cts.map +0 -1
  365. package/dist/bytes-Bv66A6U8.d.ts.map +0 -1
  366. package/dist/bytes-DAhqCt_o.d.cts.map +0 -1
  367. package/dist/createDeterministicLinkedSignerPrivateKey-47pkYOE0.d.ts.map +0 -1
  368. package/dist/createDeterministicLinkedSignerPrivateKey-CcJhRSf7.d.cts.map +0 -1
  369. package/dist/getValidatedAddress-BiT9E3l6.d.cts.map +0 -1
  370. package/dist/getValidatedAddress-f8b_x20V.d.ts.map +0 -1
  371. package/dist/getValidatedHex-D_p2LkRB.d.cts.map +0 -1
  372. package/dist/getValidatedHex-_FrR4ehU.d.ts.map +0 -1
  373. package/dist/productIds-BZeKoHcK.d.ts.map +0 -1
  374. package/dist/productIds-CePkYUZH.d.cts.map +0 -1
  375. package/dist/recvTime-B5XYRV0S.d.ts.map +0 -1
  376. package/dist/recvTime-D6SfTY5U.d.cts.map +0 -1
  377. package/dist/signatureTypes-DxmIJNug.d.ts.map +0 -1
  378. package/dist/signatureTypes-S1LMAbRM.d.cts.map +0 -1
  379. package/dist/toBigInt-PqI3ILSN.d.ts.map +0 -1
  380. package/dist/toBigInt-cEajjeFa.d.cts.map +0 -1
  381. package/dist/toIntegerString-CHveFt3s.d.cts.map +0 -1
  382. package/dist/toIntegerString-sATPFuxt.d.ts.map +0 -1
  383. /package/dist/{index-B98eXebS.d.ts → index-BN8Gwmlj.d.ts} +0 -0
  384. /package/dist/{index-BJ8-FA6N.d.cts → index-Bejmfbw02.d.ts} +0 -0
  385. /package/dist/{index-BLREDRDJ.d.cts → index-Bxsm5336.d.ts} +0 -0
  386. /package/dist/{index-BLwMeReG.d.ts → index-CDDzqahH.d.ts} +0 -0
  387. /package/dist/{index-C6yvNuzO.d.cts → index-CEDY7cmG.d.cts} +0 -0
  388. /package/dist/{index-CI4LJief.d.ts → index-CLH9-Fxa.d.ts} +0 -0
  389. /package/dist/{index-CNuTE0dv.d.ts → index-ClGxRYdo.d.cts} +0 -0
  390. /package/dist/{index-DFKoAoY2.d.cts → index-CrhZaFgN.d.cts} +0 -0
  391. /package/dist/{index-DPuvk4iq.d.ts → index-D-BciAtf.d.cts} +0 -0
  392. /package/dist/{index-DYVpYyuQ2.d.ts → index-D2HUTZ-d.d.cts} +0 -0
  393. /package/dist/{index-Dh6J9gb5.d.cts → index-DBQaKYAL2.d.cts} +0 -0
  394. /package/dist/{index-ma3taAs-.d.ts → index-DSBnvhSj.d.ts} +0 -0
  395. /package/dist/{index-qOayZAJw2.d.cts → index-Dpmi5zcN.d.cts} +0 -0
  396. /package/dist/{index-zO0Ly4bS.d.cts → index-I2m6W13H.d.ts} +0 -0
@@ -1,28 +1,28 @@
1
- import { n as toBigNumber, t as BigNumberish } from "../bigNumber-DX0JX9bQ.cjs";
2
- import { t as BigNumbers } from "../BigNumbers-CZl--in2.cjs";
3
- import { t as clampBigNumber } from "../clamp-B7YSY8XJ.cjs";
4
- import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "../decimalAdjustment-CMqU3rNy.cjs";
5
- import { t as sumBigNumberBy } from "../sumBigNumberBy-BWQ-bPpk.cjs";
6
- import { t as toBigInt } from "../toBigInt-cEajjeFa.cjs";
7
- import { t as toIntegerString } from "../toIntegerString-CHveFt3s.cjs";
8
- import { n as asyncResult, t as AsyncResult } from "../asyncResult-B8ly8lP_.cjs";
9
- import { n as calcPerpBalanceValue, r as calcSpotBalanceValue, t as calcPerpBalanceNotionalValue } from "../balanceValue-CT4Q7W0T.cjs";
10
- import { a as subaccountToBytes32, i as subaccountNameToBytes12, n as subaccountFromHex, o as subaccountToHex, r as subaccountNameBytesToStr, t as subaccountFromBytes32 } from "../bytes32-klqLJUFN.cjs";
11
- import { t as createDeterministicLinkedSignerPrivateKey } from "../createDeterministicLinkedSignerPrivateKey-CcJhRSf7.cjs";
12
- import { t as WalletNotProvidedError } from "../WalletNotProvidedError-BEoW-nA1.cjs";
13
- import { t as getValidatedAddress } from "../getValidatedAddress-BiT9E3l6.cjs";
14
- import { t as getValidatedHex } from "../getValidatedHex-D_p2LkRB.cjs";
15
- import { a as calcTotalDeposited, i as calcTotalBorrowed, n as calcBorrowRatePerSecond, o as calcUtilizationRatio, r as calcRealizedDepositRateForTimeRange, t as calcBorrowRateForTimeRange } from "../interest-BJn3z3kZ.cjs";
16
- import { t as isWriteableContract } from "../isWriteableContract-GxOuGwru.cjs";
17
- import { t as mapValues } from "../mapValues-o-kMemvA.cjs";
18
- import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../appendixTwapValue-DIqDV7Z7.cjs";
19
- import { t as bitMaskValue } from "../bitMaskValue-CDz7vtPM.cjs";
20
- import { t as packOrderAppendix } from "../packOrderAppendix-cBX9_d08.cjs";
21
- import { t as PackedOrderAppendixBits } from "../types-STPWaMSZ.cjs";
22
- import { t as unpackOrderAppendix } from "../unpackOrderAppendix-D2mTEbjX.cjs";
23
- import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "../orderNonce-CqjVRxk_.cjs";
24
- import { t as getDefaultRecvTime } from "../recvTime-D6SfTY5U.cjs";
25
- import { i as isSpotProduct, n as isPerpProduct, r as isSpotBalance, t as isPerpBalance } from "../productTypeFilter-Dtf71CLf.cjs";
26
- import { n as millisToSeconds, r as nowInSeconds, t as TimeInSeconds } from "../time-CN8jbcGn.cjs";
27
- import { t as toPrintableObject } from "../toPrintableObject-BD8fvLEw.cjs";
1
+ import { n as toBigNumber, t as BigNumberish } from "../bigNumber-D3ssF_uJ.cjs";
2
+ import { t as BigNumbers } from "../BigNumbers-Bj-QcbP_.cjs";
3
+ import { t as clampBigNumber } from "../clamp-BG8pfPTy.cjs";
4
+ import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "../decimalAdjustment-DTyP-bzx.cjs";
5
+ import { t as sumBigNumberBy } from "../sumBigNumberBy-lCtvVOV3.cjs";
6
+ import { t as toBigInt } from "../toBigInt-B8tsovob.cjs";
7
+ import { t as toIntegerString } from "../toIntegerString-IbOUu6_I.cjs";
8
+ import { n as asyncResult, t as AsyncResult } from "../asyncResult-uSvcciZS.cjs";
9
+ import { n as calcPerpBalanceValue, r as calcSpotBalanceValue, t as calcPerpBalanceNotionalValue } from "../balanceValue-0IotjlbD.cjs";
10
+ import { a as subaccountToBytes32, i as subaccountNameToBytes12, n as subaccountFromHex, o as subaccountToHex, r as subaccountNameBytesToStr, t as subaccountFromBytes32 } from "../bytes32-BVmiGtU4.cjs";
11
+ import { t as createDeterministicLinkedSignerPrivateKey } from "../createDeterministicLinkedSignerPrivateKey-wu-Hp9xI.cjs";
12
+ import { t as WalletNotProvidedError } from "../WalletNotProvidedError-DXwkasel.cjs";
13
+ import { t as getValidatedAddress } from "../getValidatedAddress-TNxNngvc.cjs";
14
+ import { t as getValidatedHex } from "../getValidatedHex-CEtmzBzc.cjs";
15
+ import { a as calcTotalDeposited, i as calcTotalBorrowed, n as calcBorrowRatePerSecond, o as calcUtilizationRatio, r as calcRealizedDepositRateForTimeRange, t as calcBorrowRateForTimeRange } from "../interest-DbQOrmBI.cjs";
16
+ import { t as isWriteableContract } from "../isWriteableContract-BApMCbPn.cjs";
17
+ import { t as mapValues } from "../mapValues-D2u-oFkX.cjs";
18
+ import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../appendixTwapValue-CZCE2qQo.cjs";
19
+ import { t as bitMaskValue } from "../bitMaskValue-2s-H6pY1.cjs";
20
+ import { t as packOrderAppendix } from "../packOrderAppendix-DyfvlAmI.cjs";
21
+ import { t as PackedOrderAppendixBits } from "../types-6WRBoXvb.cjs";
22
+ import { t as unpackOrderAppendix } from "../unpackOrderAppendix-CwxSxPOH.cjs";
23
+ import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "../orderNonce-UUMaxlBA.cjs";
24
+ import { t as getDefaultRecvTime } from "../recvTime-CGPFJaVg.cjs";
25
+ import { i as isSpotProduct, n as isPerpProduct, r as isSpotBalance, t as isPerpBalance } from "../productTypeFilter-DoGpp8hw.cjs";
26
+ import { n as millisToSeconds, r as nowInSeconds, t as TimeInSeconds } from "../time-DQcdrUXm.cjs";
27
+ import { t as toPrintableObject } from "../toPrintableObject-zlDajAQ0.cjs";
28
28
  export { AsyncResult, BigNumberish, BigNumbers, NADO_PRODUCT_DECIMALS, PackedOrderAppendixBits, TimeInSeconds, WalletNotProvidedError, addDecimals, asyncResult, bitMaskValue, calcBorrowRateForTimeRange, calcBorrowRatePerSecond, calcPerpBalanceNotionalValue, calcPerpBalanceValue, calcRealizedDepositRateForTimeRange, calcSpotBalanceValue, calcTotalBorrowed, calcTotalDeposited, calcUtilizationRatio, clampBigNumber, createDeterministicLinkedSignerPrivateKey, getDefaultRecvTime, getOrderNonce, getRecvTimeFromOrderNonce, getValidatedAddress, getValidatedHex, isPerpBalance, isPerpProduct, isSpotBalance, isSpotProduct, isWriteableContract, mapValues, millisToSeconds, nowInSeconds, packOrderAppendix, packTwapOrderAppendixValue, removeDecimals, subaccountFromBytes32, subaccountFromHex, subaccountNameBytesToStr, subaccountNameToBytes12, subaccountToBytes32, subaccountToHex, sumBigNumberBy, toBigInt, toBigNumber, toIntegerString, toPrintableObject, unpackOrderAppendix, unpackTwapOrderAppendixValue };
@@ -1,28 +1,28 @@
1
- import { n as toBigNumber, t as BigNumberish } from "../bigNumber-BLE4n-ku.js";
2
- import { t as BigNumbers } from "../BigNumbers-CM-lXODL.js";
3
- import { t as clampBigNumber } from "../clamp-CWW-gFbE.js";
4
- import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "../decimalAdjustment-1vhO65Zz.js";
5
- import { t as sumBigNumberBy } from "../sumBigNumberBy-wVwOxwyc.js";
6
- import { t as toBigInt } from "../toBigInt-PqI3ILSN.js";
7
- import { t as toIntegerString } from "../toIntegerString-sATPFuxt.js";
8
- import { n as asyncResult, t as AsyncResult } from "../asyncResult-CrfiRFh5.js";
9
- import { n as calcPerpBalanceValue, r as calcSpotBalanceValue, t as calcPerpBalanceNotionalValue } from "../balanceValue-bkwkBhFu.js";
10
- import { a as subaccountToBytes32, i as subaccountNameToBytes12, n as subaccountFromHex, o as subaccountToHex, r as subaccountNameBytesToStr, t as subaccountFromBytes32 } from "../bytes32-D-tn3XZy.js";
11
- import { t as createDeterministicLinkedSignerPrivateKey } from "../createDeterministicLinkedSignerPrivateKey-47pkYOE0.js";
12
- import { t as WalletNotProvidedError } from "../WalletNotProvidedError-v1a959kl.js";
13
- import { t as getValidatedAddress } from "../getValidatedAddress-f8b_x20V.js";
14
- import { t as getValidatedHex } from "../getValidatedHex-_FrR4ehU.js";
15
- import { a as calcTotalDeposited, i as calcTotalBorrowed, n as calcBorrowRatePerSecond, o as calcUtilizationRatio, r as calcRealizedDepositRateForTimeRange, t as calcBorrowRateForTimeRange } from "../interest-D9Nu3wzM.js";
16
- import { t as isWriteableContract } from "../isWriteableContract-Cm5HlOta.js";
17
- import { t as mapValues } from "../mapValues-CO9UDyHu.js";
18
- import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../appendixTwapValue-DPsC1hXX.js";
19
- import { t as bitMaskValue } from "../bitMaskValue-qyWUOgv1.js";
20
- import { t as packOrderAppendix } from "../packOrderAppendix-BvzI7zfI.js";
21
- import { t as PackedOrderAppendixBits } from "../types-C3h0_DhN.js";
22
- import { t as unpackOrderAppendix } from "../unpackOrderAppendix-BtZ5M1kJ.js";
23
- import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "../orderNonce-DjWVtNql.js";
24
- import { t as getDefaultRecvTime } from "../recvTime-B5XYRV0S.js";
25
- import { i as isSpotProduct, n as isPerpProduct, r as isSpotBalance, t as isPerpBalance } from "../productTypeFilter-IKV6IkNW.js";
26
- import { n as millisToSeconds, r as nowInSeconds, t as TimeInSeconds } from "../time-BXCJoadZ.js";
27
- import { t as toPrintableObject } from "../toPrintableObject-qU66WYAb.js";
1
+ import { n as toBigNumber, t as BigNumberish } from "../bigNumber-DsRTR9zM.js";
2
+ import { t as BigNumbers } from "../BigNumbers-C2iMiWwo.js";
3
+ import { t as clampBigNumber } from "../clamp-tcJ-3GBf.js";
4
+ import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "../decimalAdjustment-5cvNu6vi.js";
5
+ import { t as sumBigNumberBy } from "../sumBigNumberBy-CY0ExAq2.js";
6
+ import { t as toBigInt } from "../toBigInt-DSkcduN6.js";
7
+ import { t as toIntegerString } from "../toIntegerString-Bn5odb7O.js";
8
+ import { n as asyncResult, t as AsyncResult } from "../asyncResult-SvtRCbOk.js";
9
+ import { n as calcPerpBalanceValue, r as calcSpotBalanceValue, t as calcPerpBalanceNotionalValue } from "../balanceValue-G8L4pR0e.js";
10
+ import { a as subaccountToBytes32, i as subaccountNameToBytes12, n as subaccountFromHex, o as subaccountToHex, r as subaccountNameBytesToStr, t as subaccountFromBytes32 } from "../bytes32-Bm0kWK7n.js";
11
+ import { t as createDeterministicLinkedSignerPrivateKey } from "../createDeterministicLinkedSignerPrivateKey-Bro8BtTs.js";
12
+ import { t as WalletNotProvidedError } from "../WalletNotProvidedError-CN0xJL6e.js";
13
+ import { t as getValidatedAddress } from "../getValidatedAddress-DD1N6pfc.js";
14
+ import { t as getValidatedHex } from "../getValidatedHex-1VRieEnK.js";
15
+ import { a as calcTotalDeposited, i as calcTotalBorrowed, n as calcBorrowRatePerSecond, o as calcUtilizationRatio, r as calcRealizedDepositRateForTimeRange, t as calcBorrowRateForTimeRange } from "../interest-BGRNvCxK.js";
16
+ import { t as isWriteableContract } from "../isWriteableContract-CJQ4QKqa.js";
17
+ import { t as mapValues } from "../mapValues-BZW7dU_i.js";
18
+ import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../appendixTwapValue-hvjIuxYz.js";
19
+ import { t as bitMaskValue } from "../bitMaskValue-DassPPW9.js";
20
+ import { t as packOrderAppendix } from "../packOrderAppendix-BKmQ-8tV.js";
21
+ import { t as PackedOrderAppendixBits } from "../types-Be-SKK2F.js";
22
+ import { t as unpackOrderAppendix } from "../unpackOrderAppendix-Q_DrCNaG.js";
23
+ import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "../orderNonce-Qf0AYXz9.js";
24
+ import { t as getDefaultRecvTime } from "../recvTime-C5rnDnyo.js";
25
+ import { i as isSpotProduct, n as isPerpProduct, r as isSpotBalance, t as isPerpBalance } from "../productTypeFilter-D0N0FKt4.js";
26
+ import { n as millisToSeconds, r as nowInSeconds, t as TimeInSeconds } from "../time-qxKJesBm.js";
27
+ import { t as toPrintableObject } from "../toPrintableObject-8v8l_p0v.js";
28
28
  export { AsyncResult, BigNumberish, BigNumbers, NADO_PRODUCT_DECIMALS, PackedOrderAppendixBits, TimeInSeconds, WalletNotProvidedError, addDecimals, asyncResult, bitMaskValue, calcBorrowRateForTimeRange, calcBorrowRatePerSecond, calcPerpBalanceNotionalValue, calcPerpBalanceValue, calcRealizedDepositRateForTimeRange, calcSpotBalanceValue, calcTotalBorrowed, calcTotalDeposited, calcUtilizationRatio, clampBigNumber, createDeterministicLinkedSignerPrivateKey, getDefaultRecvTime, getOrderNonce, getRecvTimeFromOrderNonce, getValidatedAddress, getValidatedHex, isPerpBalance, isPerpProduct, isSpotBalance, isSpotProduct, isWriteableContract, mapValues, millisToSeconds, nowInSeconds, packOrderAppendix, packTwapOrderAppendixValue, removeDecimals, subaccountFromBytes32, subaccountFromHex, subaccountNameBytesToStr, subaccountNameToBytes12, subaccountToBytes32, subaccountToHex, sumBigNumberBy, toBigInt, toBigNumber, toIntegerString, toPrintableObject, unpackOrderAppendix, unpackTwapOrderAppendixValue };
@@ -1,2 +1,2 @@
1
- import { a as calcTotalDeposited, i as calcTotalBorrowed, n as calcBorrowRatePerSecond, o as calcUtilizationRatio, r as calcRealizedDepositRateForTimeRange, t as calcBorrowRateForTimeRange } from "../interest-BJn3z3kZ.cjs";
1
+ import { a as calcTotalDeposited, i as calcTotalBorrowed, n as calcBorrowRatePerSecond, o as calcUtilizationRatio, r as calcRealizedDepositRateForTimeRange, t as calcBorrowRateForTimeRange } from "../interest-DbQOrmBI.cjs";
2
2
  export { calcBorrowRateForTimeRange, calcBorrowRatePerSecond, calcRealizedDepositRateForTimeRange, calcTotalBorrowed, calcTotalDeposited, calcUtilizationRatio };
@@ -1,2 +1,2 @@
1
- import { a as calcTotalDeposited, i as calcTotalBorrowed, n as calcBorrowRatePerSecond, o as calcUtilizationRatio, r as calcRealizedDepositRateForTimeRange, t as calcBorrowRateForTimeRange } from "../interest-D9Nu3wzM.js";
1
+ import { a as calcTotalDeposited, i as calcTotalBorrowed, n as calcBorrowRatePerSecond, o as calcUtilizationRatio, r as calcRealizedDepositRateForTimeRange, t as calcBorrowRateForTimeRange } from "../interest-BGRNvCxK.js";
2
2
  export { calcBorrowRateForTimeRange, calcBorrowRatePerSecond, calcRealizedDepositRateForTimeRange, calcTotalBorrowed, calcTotalDeposited, calcUtilizationRatio };
@@ -1,2 +1,2 @@
1
- import { t as isWriteableContract } from "../isWriteableContract-GxOuGwru.cjs";
1
+ import { t as isWriteableContract } from "../isWriteableContract-BApMCbPn.cjs";
2
2
  export { isWriteableContract };
@@ -1,2 +1,2 @@
1
- import { t as isWriteableContract } from "../isWriteableContract-Cm5HlOta.js";
1
+ import { t as isWriteableContract } from "../isWriteableContract-CJQ4QKqa.js";
2
2
  export { isWriteableContract };
@@ -1,2 +1,2 @@
1
- import { t as mapValues } from "../mapValues-o-kMemvA.cjs";
1
+ import { t as mapValues } from "../mapValues-D2u-oFkX.cjs";
2
2
  export { mapValues };
@@ -1,2 +1,2 @@
1
- import { t as mapValues } from "../mapValues-CO9UDyHu.js";
1
+ import { t as mapValues } from "../mapValues-BZW7dU_i.js";
2
2
  export { mapValues };
@@ -1,2 +1,2 @@
1
- import { t as BigNumbers } from "../../BigNumbers-CZl--in2.cjs";
1
+ import { t as BigNumbers } from "../../BigNumbers-Bj-QcbP_.cjs";
2
2
  export { BigNumbers };
@@ -1,2 +1,2 @@
1
- import { t as BigNumbers } from "../../BigNumbers-CM-lXODL.js";
1
+ import { t as BigNumbers } from "../../BigNumbers-C2iMiWwo.js";
2
2
  export { BigNumbers };
@@ -1,2 +1,2 @@
1
- import { n as toBigNumber, t as BigNumberish } from "../../bigNumber-DX0JX9bQ.cjs";
1
+ import { n as toBigNumber, t as BigNumberish } from "../../bigNumber-D3ssF_uJ.cjs";
2
2
  export { BigNumberish, toBigNumber };
@@ -1,2 +1,2 @@
1
- import { n as toBigNumber, t as BigNumberish } from "../../bigNumber-BLE4n-ku.js";
1
+ import { n as toBigNumber, t as BigNumberish } from "../../bigNumber-DsRTR9zM.js";
2
2
  export { BigNumberish, toBigNumber };
@@ -1,2 +1,2 @@
1
- import { t as clampBigNumber } from "../../clamp-B7YSY8XJ.cjs";
1
+ import { t as clampBigNumber } from "../../clamp-BG8pfPTy.cjs";
2
2
  export { clampBigNumber };
@@ -1,2 +1,2 @@
1
- import { t as clampBigNumber } from "../../clamp-CWW-gFbE.js";
1
+ import { t as clampBigNumber } from "../../clamp-tcJ-3GBf.js";
2
2
  export { clampBigNumber };
@@ -1,2 +1,2 @@
1
- import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "../../decimalAdjustment-CMqU3rNy.cjs";
1
+ import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "../../decimalAdjustment-DTyP-bzx.cjs";
2
2
  export { NADO_PRODUCT_DECIMALS, addDecimals, removeDecimals };
@@ -1,2 +1,2 @@
1
- import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "../../decimalAdjustment-1vhO65Zz.js";
1
+ import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "../../decimalAdjustment-5cvNu6vi.js";
2
2
  export { NADO_PRODUCT_DECIMALS, addDecimals, removeDecimals };
@@ -1,8 +1,8 @@
1
- import { n as toBigNumber, t as BigNumberish } from "../../bigNumber-DX0JX9bQ.cjs";
2
- import { t as BigNumbers } from "../../BigNumbers-CZl--in2.cjs";
3
- import { t as clampBigNumber } from "../../clamp-B7YSY8XJ.cjs";
4
- import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "../../decimalAdjustment-CMqU3rNy.cjs";
5
- import { t as sumBigNumberBy } from "../../sumBigNumberBy-BWQ-bPpk.cjs";
6
- import { t as toBigInt } from "../../toBigInt-cEajjeFa.cjs";
7
- import { t as toIntegerString } from "../../toIntegerString-CHveFt3s.cjs";
1
+ import { n as toBigNumber, t as BigNumberish } from "../../bigNumber-D3ssF_uJ.cjs";
2
+ import { t as BigNumbers } from "../../BigNumbers-Bj-QcbP_.cjs";
3
+ import { t as clampBigNumber } from "../../clamp-BG8pfPTy.cjs";
4
+ import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "../../decimalAdjustment-DTyP-bzx.cjs";
5
+ import { t as sumBigNumberBy } from "../../sumBigNumberBy-lCtvVOV3.cjs";
6
+ import { t as toBigInt } from "../../toBigInt-B8tsovob.cjs";
7
+ import { t as toIntegerString } from "../../toIntegerString-IbOUu6_I.cjs";
8
8
  export { BigNumberish, BigNumbers, NADO_PRODUCT_DECIMALS, addDecimals, clampBigNumber, removeDecimals, sumBigNumberBy, toBigInt, toBigNumber, toIntegerString };
@@ -1,8 +1,8 @@
1
- import { n as toBigNumber, t as BigNumberish } from "../../bigNumber-BLE4n-ku.js";
2
- import { t as BigNumbers } from "../../BigNumbers-CM-lXODL.js";
3
- import { t as clampBigNumber } from "../../clamp-CWW-gFbE.js";
4
- import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "../../decimalAdjustment-1vhO65Zz.js";
5
- import { t as sumBigNumberBy } from "../../sumBigNumberBy-wVwOxwyc.js";
6
- import { t as toBigInt } from "../../toBigInt-PqI3ILSN.js";
7
- import { t as toIntegerString } from "../../toIntegerString-sATPFuxt.js";
1
+ import { n as toBigNumber, t as BigNumberish } from "../../bigNumber-DsRTR9zM.js";
2
+ import { t as BigNumbers } from "../../BigNumbers-C2iMiWwo.js";
3
+ import { t as clampBigNumber } from "../../clamp-tcJ-3GBf.js";
4
+ import { n as addDecimals, r as removeDecimals, t as NADO_PRODUCT_DECIMALS } from "../../decimalAdjustment-5cvNu6vi.js";
5
+ import { t as sumBigNumberBy } from "../../sumBigNumberBy-CY0ExAq2.js";
6
+ import { t as toBigInt } from "../../toBigInt-DSkcduN6.js";
7
+ import { t as toIntegerString } from "../../toIntegerString-Bn5odb7O.js";
8
8
  export { BigNumberish, BigNumbers, NADO_PRODUCT_DECIMALS, addDecimals, clampBigNumber, removeDecimals, sumBigNumberBy, toBigInt, toBigNumber, toIntegerString };
@@ -1,2 +1,2 @@
1
- import { t as sumBigNumberBy } from "../../sumBigNumberBy-BWQ-bPpk.cjs";
1
+ import { t as sumBigNumberBy } from "../../sumBigNumberBy-lCtvVOV3.cjs";
2
2
  export { sumBigNumberBy };
@@ -1,2 +1,2 @@
1
- import { t as sumBigNumberBy } from "../../sumBigNumberBy-wVwOxwyc.js";
1
+ import { t as sumBigNumberBy } from "../../sumBigNumberBy-CY0ExAq2.js";
2
2
  export { sumBigNumberBy };
@@ -1,2 +1,2 @@
1
- import { t as toBigInt } from "../../toBigInt-cEajjeFa.cjs";
1
+ import { t as toBigInt } from "../../toBigInt-B8tsovob.cjs";
2
2
  export { toBigInt };
@@ -1,2 +1,2 @@
1
- import { t as toBigInt } from "../../toBigInt-PqI3ILSN.js";
1
+ import { t as toBigInt } from "../../toBigInt-DSkcduN6.js";
2
2
  export { toBigInt };
@@ -1,2 +1,2 @@
1
- import { t as toIntegerString } from "../../toIntegerString-CHveFt3s.cjs";
1
+ import { t as toIntegerString } from "../../toIntegerString-IbOUu6_I.cjs";
2
2
  export { toIntegerString };
@@ -1,2 +1,2 @@
1
- import { t as toIntegerString } from "../../toIntegerString-sATPFuxt.js";
1
+ import { t as toIntegerString } from "../../toIntegerString-Bn5odb7O.js";
2
2
  export { toIntegerString };
@@ -1,4 +1,4 @@
1
- import { r as OrderAppendixIsolatedFields } from "../../../orderAppendixTypes-CM-eb5WL.cjs";
1
+ import { r as OrderAppendixIsolatedFields } from "../../../orderAppendixTypes-DIeaFc_g.cjs";
2
2
  //#region src/utils/orders/appendix/appendixIsolatedValue.d.ts
3
3
  /**
4
4
  * Packs the provided margin into a single 64-bit bigint.
@@ -1,4 +1,4 @@
1
- import { r as OrderAppendixIsolatedFields } from "../../../orderAppendixTypes-5NqkTOxO.js";
1
+ import { r as OrderAppendixIsolatedFields } from "../../../orderAppendixTypes-DQU50ISh.js";
2
2
  //#region src/utils/orders/appendix/appendixIsolatedValue.d.ts
3
3
  /**
4
4
  * Packs the provided margin into a single 64-bit bigint.
@@ -1,2 +1,2 @@
1
- import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../../../appendixTwapValue-DIqDV7Z7.cjs";
1
+ import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../../../appendixTwapValue-CZCE2qQo.cjs";
2
2
  export { packTwapOrderAppendixValue, unpackTwapOrderAppendixValue };
@@ -1,2 +1,2 @@
1
- import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../../../appendixTwapValue-DPsC1hXX.js";
1
+ import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../../../appendixTwapValue-hvjIuxYz.js";
2
2
  export { packTwapOrderAppendixValue, unpackTwapOrderAppendixValue };
@@ -1,2 +1,2 @@
1
- import { t as bitMaskValue } from "../../../bitMaskValue-CDz7vtPM.cjs";
1
+ import { t as bitMaskValue } from "../../../bitMaskValue-2s-H6pY1.cjs";
2
2
  export { bitMaskValue };
@@ -1,2 +1,2 @@
1
- import { t as bitMaskValue } from "../../../bitMaskValue-qyWUOgv1.js";
1
+ import { t as bitMaskValue } from "../../../bitMaskValue-DassPPW9.js";
2
2
  export { bitMaskValue };
@@ -1,6 +1,6 @@
1
- import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../../../appendixTwapValue-DIqDV7Z7.cjs";
2
- import { t as bitMaskValue } from "../../../bitMaskValue-CDz7vtPM.cjs";
3
- import { t as packOrderAppendix } from "../../../packOrderAppendix-cBX9_d08.cjs";
4
- import { t as PackedOrderAppendixBits } from "../../../types-STPWaMSZ.cjs";
5
- import { t as unpackOrderAppendix } from "../../../unpackOrderAppendix-D2mTEbjX.cjs";
1
+ import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../../../appendixTwapValue-CZCE2qQo.cjs";
2
+ import { t as bitMaskValue } from "../../../bitMaskValue-2s-H6pY1.cjs";
3
+ import { t as packOrderAppendix } from "../../../packOrderAppendix-DyfvlAmI.cjs";
4
+ import { t as PackedOrderAppendixBits } from "../../../types-6WRBoXvb.cjs";
5
+ import { t as unpackOrderAppendix } from "../../../unpackOrderAppendix-CwxSxPOH.cjs";
6
6
  export { PackedOrderAppendixBits, bitMaskValue, packOrderAppendix, packTwapOrderAppendixValue, unpackOrderAppendix, unpackTwapOrderAppendixValue };
@@ -1,6 +1,6 @@
1
- import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../../../appendixTwapValue-DPsC1hXX.js";
2
- import { t as bitMaskValue } from "../../../bitMaskValue-qyWUOgv1.js";
3
- import { t as packOrderAppendix } from "../../../packOrderAppendix-BvzI7zfI.js";
4
- import { t as PackedOrderAppendixBits } from "../../../types-C3h0_DhN.js";
5
- import { t as unpackOrderAppendix } from "../../../unpackOrderAppendix-BtZ5M1kJ.js";
1
+ import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../../../appendixTwapValue-hvjIuxYz.js";
2
+ import { t as bitMaskValue } from "../../../bitMaskValue-DassPPW9.js";
3
+ import { t as packOrderAppendix } from "../../../packOrderAppendix-BKmQ-8tV.js";
4
+ import { t as PackedOrderAppendixBits } from "../../../types-Be-SKK2F.js";
5
+ import { t as unpackOrderAppendix } from "../../../unpackOrderAppendix-Q_DrCNaG.js";
6
6
  export { PackedOrderAppendixBits, bitMaskValue, packOrderAppendix, packTwapOrderAppendixValue, unpackOrderAppendix, unpackTwapOrderAppendixValue };
@@ -1,2 +1,2 @@
1
- import { t as packOrderAppendix } from "../../../packOrderAppendix-cBX9_d08.cjs";
1
+ import { t as packOrderAppendix } from "../../../packOrderAppendix-DyfvlAmI.cjs";
2
2
  export { packOrderAppendix };
@@ -1,2 +1,2 @@
1
- import { t as packOrderAppendix } from "../../../packOrderAppendix-BvzI7zfI.js";
1
+ import { t as packOrderAppendix } from "../../../packOrderAppendix-BKmQ-8tV.js";
2
2
  export { packOrderAppendix };
@@ -1,2 +1,2 @@
1
- import { t as PackedOrderAppendixBits } from "../../../types-STPWaMSZ.cjs";
1
+ import { t as PackedOrderAppendixBits } from "../../../types-6WRBoXvb.cjs";
2
2
  export { PackedOrderAppendixBits };
@@ -1,2 +1,2 @@
1
- import { t as PackedOrderAppendixBits } from "../../../types-C3h0_DhN.js";
1
+ import { t as PackedOrderAppendixBits } from "../../../types-Be-SKK2F.js";
2
2
  export { PackedOrderAppendixBits };
@@ -1,2 +1,2 @@
1
- import { t as unpackOrderAppendix } from "../../../unpackOrderAppendix-D2mTEbjX.cjs";
1
+ import { t as unpackOrderAppendix } from "../../../unpackOrderAppendix-CwxSxPOH.cjs";
2
2
  export { unpackOrderAppendix };
@@ -1,2 +1,2 @@
1
- import { t as unpackOrderAppendix } from "../../../unpackOrderAppendix-BtZ5M1kJ.js";
1
+ import { t as unpackOrderAppendix } from "../../../unpackOrderAppendix-Q_DrCNaG.js";
2
2
  export { unpackOrderAppendix };
@@ -1,8 +1,8 @@
1
- import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../../appendixTwapValue-DIqDV7Z7.cjs";
2
- import { t as bitMaskValue } from "../../bitMaskValue-CDz7vtPM.cjs";
3
- import { t as packOrderAppendix } from "../../packOrderAppendix-cBX9_d08.cjs";
4
- import { t as PackedOrderAppendixBits } from "../../types-STPWaMSZ.cjs";
5
- import { t as unpackOrderAppendix } from "../../unpackOrderAppendix-D2mTEbjX.cjs";
6
- import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "../../orderNonce-CqjVRxk_.cjs";
7
- import { t as getDefaultRecvTime } from "../../recvTime-D6SfTY5U.cjs";
1
+ import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../../appendixTwapValue-CZCE2qQo.cjs";
2
+ import { t as bitMaskValue } from "../../bitMaskValue-2s-H6pY1.cjs";
3
+ import { t as packOrderAppendix } from "../../packOrderAppendix-DyfvlAmI.cjs";
4
+ import { t as PackedOrderAppendixBits } from "../../types-6WRBoXvb.cjs";
5
+ import { t as unpackOrderAppendix } from "../../unpackOrderAppendix-CwxSxPOH.cjs";
6
+ import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "../../orderNonce-UUMaxlBA.cjs";
7
+ import { t as getDefaultRecvTime } from "../../recvTime-CGPFJaVg.cjs";
8
8
  export { PackedOrderAppendixBits, bitMaskValue, getDefaultRecvTime, getOrderNonce, getRecvTimeFromOrderNonce, packOrderAppendix, packTwapOrderAppendixValue, unpackOrderAppendix, unpackTwapOrderAppendixValue };
@@ -1,8 +1,8 @@
1
- import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../../appendixTwapValue-DPsC1hXX.js";
2
- import { t as bitMaskValue } from "../../bitMaskValue-qyWUOgv1.js";
3
- import { t as packOrderAppendix } from "../../packOrderAppendix-BvzI7zfI.js";
4
- import { t as PackedOrderAppendixBits } from "../../types-C3h0_DhN.js";
5
- import { t as unpackOrderAppendix } from "../../unpackOrderAppendix-BtZ5M1kJ.js";
6
- import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "../../orderNonce-DjWVtNql.js";
7
- import { t as getDefaultRecvTime } from "../../recvTime-B5XYRV0S.js";
1
+ import { n as unpackTwapOrderAppendixValue, t as packTwapOrderAppendixValue } from "../../appendixTwapValue-hvjIuxYz.js";
2
+ import { t as bitMaskValue } from "../../bitMaskValue-DassPPW9.js";
3
+ import { t as packOrderAppendix } from "../../packOrderAppendix-BKmQ-8tV.js";
4
+ import { t as PackedOrderAppendixBits } from "../../types-Be-SKK2F.js";
5
+ import { t as unpackOrderAppendix } from "../../unpackOrderAppendix-Q_DrCNaG.js";
6
+ import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "../../orderNonce-Qf0AYXz9.js";
7
+ import { t as getDefaultRecvTime } from "../../recvTime-C5rnDnyo.js";
8
8
  export { PackedOrderAppendixBits, bitMaskValue, getDefaultRecvTime, getOrderNonce, getRecvTimeFromOrderNonce, packOrderAppendix, packTwapOrderAppendixValue, unpackOrderAppendix, unpackTwapOrderAppendixValue };
@@ -1,2 +1,2 @@
1
- import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "../../orderNonce-CqjVRxk_.cjs";
1
+ import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "../../orderNonce-UUMaxlBA.cjs";
2
2
  export { getOrderNonce, getRecvTimeFromOrderNonce };
@@ -1,2 +1,2 @@
1
- import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "../../orderNonce-DjWVtNql.js";
1
+ import { n as getRecvTimeFromOrderNonce, t as getOrderNonce } from "../../orderNonce-Qf0AYXz9.js";
2
2
  export { getOrderNonce, getRecvTimeFromOrderNonce };
@@ -1,2 +1,2 @@
1
- import { t as getDefaultRecvTime } from "../../recvTime-D6SfTY5U.cjs";
1
+ import { t as getDefaultRecvTime } from "../../recvTime-CGPFJaVg.cjs";
2
2
  export { getDefaultRecvTime };
@@ -1,2 +1,2 @@
1
- import { t as getDefaultRecvTime } from "../../recvTime-B5XYRV0S.js";
1
+ import { t as getDefaultRecvTime } from "../../recvTime-C5rnDnyo.js";
2
2
  export { getDefaultRecvTime };
@@ -1,2 +1,2 @@
1
- import { i as isSpotProduct, n as isPerpProduct, r as isSpotBalance, t as isPerpBalance } from "../productTypeFilter-Dtf71CLf.cjs";
1
+ import { i as isSpotProduct, n as isPerpProduct, r as isSpotBalance, t as isPerpBalance } from "../productTypeFilter-DoGpp8hw.cjs";
2
2
  export { isPerpBalance, isPerpProduct, isSpotBalance, isSpotProduct };
@@ -1,2 +1,2 @@
1
- import { i as isSpotProduct, n as isPerpProduct, r as isSpotBalance, t as isPerpBalance } from "../productTypeFilter-IKV6IkNW.js";
1
+ import { i as isSpotProduct, n as isPerpProduct, r as isSpotBalance, t as isPerpBalance } from "../productTypeFilter-D0N0FKt4.js";
2
2
  export { isPerpBalance, isPerpProduct, isSpotBalance, isSpotProduct };
@@ -1,2 +1,2 @@
1
- import { n as millisToSeconds, r as nowInSeconds, t as TimeInSeconds } from "../time-CN8jbcGn.cjs";
1
+ import { n as millisToSeconds, r as nowInSeconds, t as TimeInSeconds } from "../time-DQcdrUXm.cjs";
2
2
  export { TimeInSeconds, millisToSeconds, nowInSeconds };
@@ -1,2 +1,2 @@
1
- import { n as millisToSeconds, r as nowInSeconds, t as TimeInSeconds } from "../time-BXCJoadZ.js";
1
+ import { n as millisToSeconds, r as nowInSeconds, t as TimeInSeconds } from "../time-qxKJesBm.js";
2
2
  export { TimeInSeconds, millisToSeconds, nowInSeconds };
@@ -1,2 +1,2 @@
1
- import { t as toPrintableObject } from "../toPrintableObject-BD8fvLEw.cjs";
1
+ import { t as toPrintableObject } from "../toPrintableObject-zlDajAQ0.cjs";
2
2
  export { toPrintableObject };
@@ -1,2 +1,2 @@
1
- import { t as toPrintableObject } from "../toPrintableObject-qU66WYAb.js";
1
+ import { t as toPrintableObject } from "../toPrintableObject-8v8l_p0v.js";
2
2
  export { toPrintableObject };
@@ -22,4 +22,4 @@ type WriteableContractInstance<TAbi extends Abi = Abi> = GetContractReturnType<T
22
22
  type ContractInstance<TAbi extends Abi = Abi> = GetContractReturnType<TAbi, WalletClient | PublicClient>;
23
23
  //#endregion
24
24
  export { WriteableContractInstance as i, ContractInstance as n, WalletClientWithAccount as r, AccountWithPrivateKey as t };
25
- //# sourceMappingURL=viemTypes-D3kRC8jF.d.ts.map
25
+ //# sourceMappingURL=viemTypes-ChJk9MYI.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"viemTypes-D3kRC8jF.d.ts","names":[],"sources":["../src/types/src/types/viemTypes.ts"],"mappings":";;;;;AAcA;UAAiB,qBAAA;EACf,OAAA,EAAS,OAAO;EAChB,UAAA;AAAA;;;;KAMU,uBAAA,GAA0B,YAAA,CACpC,SAAA,EACA,KAAA,EACA,OAAA,EACA,SAAA;AAJF;;;AAAA,KAUY,yBAAA,cAAuC,GAAA,GAAM,GAAA,IACvD,qBAAA,CAAsB,IAAA,EAAM,uBAAA;;;;KAKlB,gBAAA,cAA8B,GAAA,GAAM,GAAA,IAAO,qBAAA,CACrD,IAAA,EACA,YAAA,GAAe,YAAA"}
1
+ {"version":3,"file":"viemTypes-ChJk9MYI.d.ts","names":[],"sources":["../src/types/src/types/viemTypes.ts"],"mappings":";;;;;AAcA;UAAiB,qBAAA;EACf,OAAA,EAAS,OAAO;EAChB,UAAA;AAAA;;;;KAMU,uBAAA,GAA0B,YAAA,CACpC,SAAA,EACA,KAAA,EACA,OAAA,EACA,SAAA;AAJF;;;AAAA,KAUY,yBAAA,cAAuC,GAAA,GAAM,GAAA,IACvD,qBAAA,CAAsB,IAAA,EAAM,uBAAA;;;;KAKlB,gBAAA,cAA8B,GAAA,GAAM,GAAA,IAAO,qBAAA,CACrD,IAAA,EACA,YAAA,GAAe,YAAA"}
@@ -22,4 +22,4 @@ type WriteableContractInstance<TAbi extends Abi = Abi> = GetContractReturnType<T
22
22
  type ContractInstance<TAbi extends Abi = Abi> = GetContractReturnType<TAbi, WalletClient | PublicClient>;
23
23
  //#endregion
24
24
  export { WriteableContractInstance as i, ContractInstance as n, WalletClientWithAccount as r, AccountWithPrivateKey as t };
25
- //# sourceMappingURL=viemTypes-Mjfxe2ou.d.cts.map
25
+ //# sourceMappingURL=viemTypes-DrxAdyOl.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"viemTypes-Mjfxe2ou.d.cts","names":[],"sources":["../src/types/src/types/viemTypes.ts"],"mappings":";;;;;AAcA;UAAiB,qBAAA;EACf,OAAA,EAAS,OAAO;EAChB,UAAA;AAAA;;;;KAMU,uBAAA,GAA0B,YAAA,CACpC,SAAA,EACA,KAAA,EACA,OAAA,EACA,SAAA;AAJF;;;AAAA,KAUY,yBAAA,cAAuC,GAAA,GAAM,GAAA,IACvD,qBAAA,CAAsB,IAAA,EAAM,uBAAA;;;;KAKlB,gBAAA,cAA8B,GAAA,GAAM,GAAA,IAAO,qBAAA,CACrD,IAAA,EACA,YAAA,GAAe,YAAA"}
1
+ {"version":3,"file":"viemTypes-DrxAdyOl.d.cts","names":[],"sources":["../src/types/src/types/viemTypes.ts"],"mappings":";;;;;AAcA;UAAiB,qBAAA;EACf,OAAA,EAAS,OAAO;EAChB,UAAA;AAAA;;;;KAMU,uBAAA,GAA0B,YAAA,CACpC,SAAA,EACA,KAAA,EACA,OAAA,EACA,SAAA;AAJF;;;AAAA,KAUY,yBAAA,cAAuC,GAAA,GAAM,GAAA,IACvD,qBAAA,CAAsB,IAAA,EAAM,uBAAA;;;;KAKlB,gBAAA,cAA8B,GAAA,GAAM,GAAA,IAAO,qBAAA,CACrD,IAAA,EACA,YAAA,GAAe,YAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadohq/shared",
3
- "version": "0.27.0",
3
+ "version": "0.29.0",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "Shared utilities, types, and contract helpers for Nado SDK",
@@ -52,5 +52,5 @@
52
52
  "bignumber.js": "11.1.1",
53
53
  "viem": "2.52.0"
54
54
  },
55
- "gitHead": "8a372c1df88e29446e9fd60072c76003d403fdce"
55
+ "gitHead": "cb15bfd6a018f18a335cb8e7e755d1533767dcd4"
56
56
  }
@@ -0,0 +1,51 @@
1
+ /**
2
+ * Common failure-envelope shape shared by every Nado backend service (engine, indexer, trigger,
3
+ * mobile). Each service declares its own concrete envelope type with a service-specific
4
+ * `request_type` tag (see `EngineServerExecuteFailureResult`, `IndexerServerFailureResponse`,
5
+ * `MobileServerFailureResponse`, etc.); those are all structurally compatible with this base.
6
+ *
7
+ * `request_type` is optional because the engine and trigger `/query` failure envelopes do not echo
8
+ * a request type — only `/execute` failures do (see {@link BaseServerFailureError.requestType}).
9
+ */
10
+ export interface BaseServerFailureResponse {
11
+ status: 'failure';
12
+ error: string;
13
+ error_code: number;
14
+ request_type?: string;
15
+ }
16
+
17
+ /**
18
+ * Abstract base for the per-service `*ServerFailureError` classes (engine, indexer, trigger,
19
+ * mobile). It is `abstract` to signal that it is a base class only and is never instantiated
20
+ * directly — each service throws its own concrete subclass.
21
+ *
22
+ * The base centralizes the boilerplate shared by all four service error classes: the
23
+ * `${error_code}: ${error}` message, the {@link errorCode} and {@link requestType} accessors, and
24
+ * the {@link responseData} envelope. Subclasses re-declare {@link responseData} (and, where
25
+ * applicable, {@link requestType}) with their service-specific narrow types.
26
+ */
27
+ export abstract class BaseServerFailureError extends Error {
28
+ /**
29
+ * Numeric backend error code. Compare against the service's `*_ERROR_CODES` map (e.g.
30
+ * {@link ENGINE_ERROR_CODES}, `MOBILE_ERROR_CODES`); shared cross-service codes live in
31
+ * {@link NADO_ERROR_CODES}.
32
+ */
33
+ readonly errorCode: number;
34
+ /**
35
+ * The request type that failed, e.g. `execute_place_order`, when echoed on the failure
36
+ * envelope; `undefined` when the envelope does not carry a `request_type` (the engine and
37
+ * trigger `/query` failure envelopes omit it — see {@link BaseServerFailureResponse}).
38
+ */
39
+ readonly requestType: string | undefined;
40
+
41
+ protected constructor(
42
+ readonly responseData: BaseServerFailureResponse,
43
+ name: string,
44
+ ) {
45
+ super(`${responseData.error_code}: ${responseData.error}`);
46
+ this.name = name;
47
+ this.errorCode = responseData.error_code;
48
+ this.requestType =
49
+ 'request_type' in responseData ? responseData.request_type : undefined;
50
+ }
51
+ }