@nadohq/shared 0.26.0 → 0.27.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 (286) hide show
  1. package/README.md +0 -8
  2. package/dist/{WalletNotProvidedError-BFEw-O_V.d.cts → WalletNotProvidedError-BEoW-nA1.d.cts} +1 -1
  3. package/dist/{WalletNotProvidedError-BFEw-O_V.d.cts.map → WalletNotProvidedError-BEoW-nA1.d.cts.map} +1 -1
  4. package/dist/{WalletNotProvidedError-B7hy83Dp.d.ts → WalletNotProvidedError-v1a959kl.d.ts} +1 -1
  5. package/dist/{WalletNotProvidedError-B7hy83Dp.d.ts.map → WalletNotProvidedError-v1a959kl.d.ts.map} +1 -1
  6. package/dist/{appendixTwapValue-2e-BBSSp.d.cts → appendixTwapValue-DIqDV7Z7.d.cts} +1 -1
  7. package/dist/{appendixTwapValue-2e-BBSSp.d.cts.map → appendixTwapValue-DIqDV7Z7.d.cts.map} +1 -1
  8. package/dist/{appendixTwapValue-D5Fv_hF5.d.ts → appendixTwapValue-DPsC1hXX.d.ts} +1 -1
  9. package/dist/{appendixTwapValue-D5Fv_hF5.d.ts.map → appendixTwapValue-DPsC1hXX.d.ts.map} +1 -1
  10. package/dist/{approveDepositAllowance-DzLfrUa1.d.cts → approveDepositAllowance-BbqDck6c.d.cts} +1 -1
  11. package/dist/{approveDepositAllowance-DzLfrUa1.d.cts.map → approveDepositAllowance-BbqDck6c.d.cts.map} +1 -1
  12. package/dist/{approveDepositAllowance-Dc7stdrU.d.ts → approveDepositAllowance-ChasXUS7.d.ts} +1 -1
  13. package/dist/{approveDepositAllowance-Dc7stdrU.d.ts.map → approveDepositAllowance-ChasXUS7.d.ts.map} +1 -1
  14. package/dist/{asyncResult-D-rEUypp.d.cts → asyncResult-B8ly8lP_.d.cts} +1 -1
  15. package/dist/{asyncResult-D-rEUypp.d.cts.map → asyncResult-B8ly8lP_.d.cts.map} +1 -1
  16. package/dist/{asyncResult-Cs02Ws6J.d.ts → asyncResult-CrfiRFh5.d.ts} +1 -1
  17. package/dist/{asyncResult-Cs02Ws6J.d.ts.map → asyncResult-CrfiRFh5.d.ts.map} +1 -1
  18. package/dist/{balanceValue-BHDw2fCR.d.cts → balanceValue-CT4Q7W0T.d.cts} +1 -1
  19. package/dist/{balanceValue-BHDw2fCR.d.cts.map → balanceValue-CT4Q7W0T.d.cts.map} +1 -1
  20. package/dist/{balanceValue-mNCg2O57.d.ts → balanceValue-bkwkBhFu.d.ts} +1 -1
  21. package/dist/{balanceValue-mNCg2O57.d.ts.map → balanceValue-bkwkBhFu.d.ts.map} +1 -1
  22. package/dist/{bitMaskValue-CWv12B9a.d.cts → bitMaskValue-CDz7vtPM.d.cts} +1 -1
  23. package/dist/{bitMaskValue-CWv12B9a.d.cts.map → bitMaskValue-CDz7vtPM.d.cts.map} +1 -1
  24. package/dist/{bitMaskValue-rhaIF9Xj.d.ts → bitMaskValue-qyWUOgv1.d.ts} +1 -1
  25. package/dist/{bitMaskValue-rhaIF9Xj.d.ts.map → bitMaskValue-qyWUOgv1.d.ts.map} +1 -1
  26. package/dist/{bytes32-gz7vDEim.d.ts → bytes32-D-tn3XZy.d.ts} +2 -2
  27. package/dist/{bytes32-gz7vDEim.d.ts.map → bytes32-D-tn3XZy.d.ts.map} +1 -1
  28. package/dist/{bytes32-CE-v0SzM.d.cts → bytes32-klqLJUFN.d.cts} +2 -2
  29. package/dist/{bytes32-CE-v0SzM.d.cts.map → bytes32-klqLJUFN.d.cts.map} +1 -1
  30. package/dist/{chainEnvToChain-Cze_i6hZ.d.cts → chainEnvToChain-DdLczNYZ.d.cts} +1 -1
  31. package/dist/{chainEnvToChain-Cze_i6hZ.d.cts.map → chainEnvToChain-DdLczNYZ.d.cts.map} +1 -1
  32. package/dist/{chainEnvToChain-iWWdSu4g.d.ts → chainEnvToChain-DpBYNlnk.d.ts} +1 -1
  33. package/dist/{chainEnvToChain-iWWdSu4g.d.ts.map → chainEnvToChain-DpBYNlnk.d.ts.map} +1 -1
  34. package/dist/consts/chainEnvToChain.d.cts +1 -1
  35. package/dist/consts/chainEnvToChain.d.ts +1 -1
  36. package/dist/consts/index.d.cts +2 -2
  37. package/dist/consts/index.d.ts +2 -2
  38. package/dist/consts/productIds.d.cts +1 -1
  39. package/dist/consts/productIds.d.ts +1 -1
  40. package/dist/{createDeterministicLinkedSignerPrivateKey-XciG6RLh.d.ts → createDeterministicLinkedSignerPrivateKey-47pkYOE0.d.ts} +2 -2
  41. package/dist/createDeterministicLinkedSignerPrivateKey-47pkYOE0.d.ts.map +1 -0
  42. package/dist/{createDeterministicLinkedSignerPrivateKey-C2v9BK5R.d.cts → createDeterministicLinkedSignerPrivateKey-CcJhRSf7.d.cts} +2 -2
  43. package/dist/{createDeterministicLinkedSignerPrivateKey-C2v9BK5R.d.cts.map → createDeterministicLinkedSignerPrivateKey-CcJhRSf7.d.cts.map} +1 -1
  44. package/dist/{depositCollateral-476kzs4N.d.ts → depositCollateral-BZOXvr6h.d.ts} +1 -1
  45. package/dist/{depositCollateral-476kzs4N.d.ts.map → depositCollateral-BZOXvr6h.d.ts.map} +1 -1
  46. package/dist/{depositCollateral-CmEXlJQs.d.cts → depositCollateral-C3mp2GTo.d.cts} +1 -1
  47. package/dist/{depositCollateral-CmEXlJQs.d.cts.map → depositCollateral-C3mp2GTo.d.cts.map} +1 -1
  48. package/dist/eip712/eip712ValueTypes.d.cts +2 -2
  49. package/dist/eip712/eip712ValueTypes.d.ts +2 -2
  50. package/dist/eip712/getNadoEIP712Domain.d.cts +1 -1
  51. package/dist/eip712/getNadoEIP712Domain.d.ts +1 -1
  52. package/dist/eip712/getNadoEIP712PrimaryType.d.cts +1 -1
  53. package/dist/eip712/getNadoEIP712PrimaryType.d.ts +1 -1
  54. package/dist/eip712/getNadoEIP712Types.cjs +18 -0
  55. package/dist/eip712/getNadoEIP712Types.cjs.map +1 -1
  56. package/dist/eip712/getNadoEIP712Types.d.cts +1 -1
  57. package/dist/eip712/getNadoEIP712Types.d.ts +1 -1
  58. package/dist/eip712/getNadoEIP712Types.js +18 -0
  59. package/dist/eip712/getNadoEIP712Types.js.map +1 -1
  60. package/dist/eip712/getNadoEIP712Values.cjs +14 -0
  61. package/dist/eip712/getNadoEIP712Values.cjs.map +1 -1
  62. package/dist/eip712/getNadoEIP712Values.d.cts +1 -1
  63. package/dist/eip712/getNadoEIP712Values.d.ts +1 -1
  64. package/dist/eip712/getNadoEIP712Values.js +14 -0
  65. package/dist/eip712/getNadoEIP712Values.js.map +1 -1
  66. package/dist/eip712/getOrderVerifyingAddress.d.cts +1 -1
  67. package/dist/eip712/getOrderVerifyingAddress.d.ts +1 -1
  68. package/dist/eip712/getSignedTransactionRequest.d.cts +1 -1
  69. package/dist/eip712/getSignedTransactionRequest.d.ts +1 -1
  70. package/dist/eip712/index.d.cts +11 -11
  71. package/dist/eip712/index.d.ts +11 -11
  72. package/dist/eip712/orderDigest.d.cts +1 -1
  73. package/dist/eip712/orderDigest.d.ts +1 -1
  74. package/dist/eip712/signableRequestType.d.cts +1 -1
  75. package/dist/eip712/signableRequestType.d.ts +1 -1
  76. package/dist/eip712/signatureParamTypes.d.cts +2 -2
  77. package/dist/eip712/signatureParamTypes.d.ts +2 -2
  78. package/dist/{eip712ValueTypes-CI6wMCCw.d.cts → eip712ValueTypes-B7SUNimi.d.cts} +5 -3
  79. package/dist/{eip712ValueTypes-CI6wMCCw.d.cts.map → eip712ValueTypes-B7SUNimi.d.cts.map} +1 -1
  80. package/dist/{eip712ValueTypes-CD1TxxFv.d.ts → eip712ValueTypes-Bx73DiwJ.d.ts} +5 -3
  81. package/dist/{eip712ValueTypes-CD1TxxFv.d.ts.map → eip712ValueTypes-Bx73DiwJ.d.ts.map} +1 -1
  82. package/dist/encoding/encoding.d.cts +1 -1
  83. package/dist/encoding/encoding.d.ts +1 -1
  84. package/dist/encoding/index.d.cts +1 -1
  85. package/dist/encoding/index.d.ts +1 -1
  86. package/dist/{encoding-DaxmoLmF.d.ts → encoding-ChEwtCUc.d.ts} +2 -2
  87. package/dist/{encoding-DaxmoLmF.d.ts.map → encoding-ChEwtCUc.d.ts.map} +1 -1
  88. package/dist/{encoding-BXqysa4s.d.cts → encoding-DGoJlZo_.d.cts} +2 -2
  89. package/dist/{encoding-BXqysa4s.d.cts.map → encoding-DGoJlZo_.d.cts.map} +1 -1
  90. package/dist/execute/approveDepositAllowance.d.cts +1 -1
  91. package/dist/execute/approveDepositAllowance.d.ts +1 -1
  92. package/dist/execute/depositCollateral.d.cts +1 -1
  93. package/dist/execute/depositCollateral.d.ts +1 -1
  94. package/dist/execute/index.d.cts +2 -2
  95. package/dist/execute/index.d.ts +2 -2
  96. package/dist/{getNadoEIP712Domain-iDIuXsMf.d.cts → getNadoEIP712Domain-CbvRaSxS.d.cts} +1 -1
  97. package/dist/{getNadoEIP712Domain-iDIuXsMf.d.cts.map → getNadoEIP712Domain-CbvRaSxS.d.cts.map} +1 -1
  98. package/dist/{getNadoEIP712Domain-CSV6Zxuw.d.ts → getNadoEIP712Domain-kTOBSTeO.d.ts} +1 -1
  99. package/dist/{getNadoEIP712Domain-CSV6Zxuw.d.ts.map → getNadoEIP712Domain-kTOBSTeO.d.ts.map} +1 -1
  100. package/dist/{getNadoEIP712PrimaryType-CE0fRiTI.d.ts → getNadoEIP712PrimaryType-BcdZPTeT.d.ts} +2 -2
  101. package/dist/{getNadoEIP712PrimaryType-CE0fRiTI.d.ts.map → getNadoEIP712PrimaryType-BcdZPTeT.d.ts.map} +1 -1
  102. package/dist/{getNadoEIP712PrimaryType-Cq8siJx7.d.cts → getNadoEIP712PrimaryType-DxmJJfz2.d.cts} +2 -2
  103. package/dist/{getNadoEIP712PrimaryType-Cq8siJx7.d.cts.map → getNadoEIP712PrimaryType-DxmJJfz2.d.cts.map} +1 -1
  104. package/dist/{getNadoEIP712Types-D7duS2wH.d.cts → getNadoEIP712Types-CJFATDaU.d.cts} +2 -2
  105. package/dist/{getNadoEIP712Types-D7duS2wH.d.cts.map → getNadoEIP712Types-CJFATDaU.d.cts.map} +1 -1
  106. package/dist/{getNadoEIP712Types-BmB1bTGu.d.ts → getNadoEIP712Types-DUE5ujkf.d.ts} +2 -2
  107. package/dist/{getNadoEIP712Types-BmB1bTGu.d.ts.map → getNadoEIP712Types-DUE5ujkf.d.ts.map} +1 -1
  108. package/dist/{getNadoEIP712Values-0EOMObhX.d.ts → getNadoEIP712Values-CTLCQp1t.d.ts} +3 -3
  109. package/dist/getNadoEIP712Values-CTLCQp1t.d.ts.map +1 -0
  110. package/dist/{getNadoEIP712Values-DEBZh7-M.d.cts → getNadoEIP712Values-P4Ypt-zt.d.cts} +3 -3
  111. package/dist/getNadoEIP712Values-P4Ypt-zt.d.cts.map +1 -0
  112. package/dist/{getOrderVerifyingAddress-BygcgBA1.d.ts → getOrderVerifyingAddress-BX_s3Vfh.d.ts} +1 -1
  113. package/dist/{getOrderVerifyingAddress-BygcgBA1.d.ts.map → getOrderVerifyingAddress-BX_s3Vfh.d.ts.map} +1 -1
  114. package/dist/{getOrderVerifyingAddress-CHRCQ8AZ.d.cts → getOrderVerifyingAddress-DDfqL0tj.d.cts} +1 -1
  115. package/dist/{getOrderVerifyingAddress-CHRCQ8AZ.d.cts.map → getOrderVerifyingAddress-DDfqL0tj.d.cts.map} +1 -1
  116. package/dist/{getSignedTransactionRequest-DxUMBHLe.d.cts → getSignedTransactionRequest-C0S7STob.d.cts} +2 -2
  117. package/dist/{getSignedTransactionRequest-DxUMBHLe.d.cts.map → getSignedTransactionRequest-C0S7STob.d.cts.map} +1 -1
  118. package/dist/{getSignedTransactionRequest-Et_1Y1wr.d.ts → getSignedTransactionRequest-EzUfIGU0.d.ts} +2 -2
  119. package/dist/{getSignedTransactionRequest-Et_1Y1wr.d.ts.map → getSignedTransactionRequest-EzUfIGU0.d.ts.map} +1 -1
  120. package/dist/{getValidatedAddress-BQJEkmbN.d.cts → getValidatedAddress-BiT9E3l6.d.cts} +1 -1
  121. package/dist/getValidatedAddress-BiT9E3l6.d.cts.map +1 -0
  122. package/dist/{getValidatedAddress-BmCqRBeh.d.ts → getValidatedAddress-f8b_x20V.d.ts} +1 -1
  123. package/dist/getValidatedAddress-f8b_x20V.d.ts.map +1 -0
  124. package/dist/{getValidatedHex-PXNPR4pI.d.cts → getValidatedHex-D_p2LkRB.d.cts} +1 -1
  125. package/dist/getValidatedHex-D_p2LkRB.d.cts.map +1 -0
  126. package/dist/{getValidatedHex-DuwBnuEB.d.ts → getValidatedHex-_FrR4ehU.d.ts} +1 -1
  127. package/dist/getValidatedHex-_FrR4ehU.d.ts.map +1 -0
  128. package/dist/index.d.cts +38 -37
  129. package/dist/index.d.ts +38 -37
  130. package/dist/{interest-DRpagIcs.d.cts → interest-BJn3z3kZ.d.cts} +1 -1
  131. package/dist/{interest-DRpagIcs.d.cts.map → interest-BJn3z3kZ.d.cts.map} +1 -1
  132. package/dist/{interest-CUXHxrel.d.ts → interest-D9Nu3wzM.d.ts} +1 -1
  133. package/dist/{interest-CUXHxrel.d.ts.map → interest-D9Nu3wzM.d.ts.map} +1 -1
  134. package/dist/{isWriteableContract-DcM3nqdX.d.ts → isWriteableContract-Cm5HlOta.d.ts} +1 -1
  135. package/dist/{isWriteableContract-DcM3nqdX.d.ts.map → isWriteableContract-Cm5HlOta.d.ts.map} +1 -1
  136. package/dist/{isWriteableContract-ZGxc9VmC.d.cts → isWriteableContract-GxOuGwru.d.cts} +1 -1
  137. package/dist/{isWriteableContract-ZGxc9VmC.d.cts.map → isWriteableContract-GxOuGwru.d.cts.map} +1 -1
  138. package/dist/{mapValues-cO_NBiCx.d.ts → mapValues-CO9UDyHu.d.ts} +1 -1
  139. package/dist/{mapValues-cO_NBiCx.d.ts.map → mapValues-CO9UDyHu.d.ts.map} +1 -1
  140. package/dist/{mapValues-jlfbJybF.d.cts → mapValues-o-kMemvA.d.cts} +1 -1
  141. package/dist/{mapValues-jlfbJybF.d.cts.map → mapValues-o-kMemvA.d.cts.map} +1 -1
  142. package/dist/{orderDigest-BlytCeEr.d.ts → orderDigest-Dkq7daQm.d.ts} +2 -2
  143. package/dist/{orderDigest-BlytCeEr.d.ts.map → orderDigest-Dkq7daQm.d.ts.map} +1 -1
  144. package/dist/{orderDigest-C9Sr-5TO.d.cts → orderDigest-KkIGidxX.d.cts} +2 -2
  145. package/dist/{orderDigest-C9Sr-5TO.d.cts.map → orderDigest-KkIGidxX.d.cts.map} +1 -1
  146. package/dist/{orderNonce-p8m6ZrSd.d.cts → orderNonce-CqjVRxk_.d.cts} +1 -1
  147. package/dist/{orderNonce-p8m6ZrSd.d.cts.map → orderNonce-CqjVRxk_.d.cts.map} +1 -1
  148. package/dist/{orderNonce-BgvYpe4l.d.ts → orderNonce-DjWVtNql.d.ts} +1 -1
  149. package/dist/{orderNonce-BgvYpe4l.d.ts.map → orderNonce-DjWVtNql.d.ts.map} +1 -1
  150. package/dist/{packOrderAppendix-BokzjU2O.d.ts → packOrderAppendix-BvzI7zfI.d.ts} +1 -1
  151. package/dist/{packOrderAppendix-BokzjU2O.d.ts.map → packOrderAppendix-BvzI7zfI.d.ts.map} +1 -1
  152. package/dist/{packOrderAppendix-DJlhe5P5.d.cts → packOrderAppendix-cBX9_d08.d.cts} +1 -1
  153. package/dist/{packOrderAppendix-DJlhe5P5.d.cts.map → packOrderAppendix-cBX9_d08.d.cts.map} +1 -1
  154. package/dist/{productIds-CCewi4tC.d.ts → productIds-BZeKoHcK.d.ts} +1 -1
  155. package/dist/productIds-BZeKoHcK.d.ts.map +1 -0
  156. package/dist/{productIds-COuWMJat.d.cts → productIds-CePkYUZH.d.cts} +1 -1
  157. package/dist/productIds-CePkYUZH.d.cts.map +1 -0
  158. package/dist/{productTypeFilter-B6CoWHmB.d.cts → productTypeFilter-Dtf71CLf.d.cts} +1 -1
  159. package/dist/{productTypeFilter-B6CoWHmB.d.cts.map → productTypeFilter-Dtf71CLf.d.cts.map} +1 -1
  160. package/dist/{productTypeFilter-B0oL5G_q.d.ts → productTypeFilter-IKV6IkNW.d.ts} +1 -1
  161. package/dist/{productTypeFilter-B0oL5G_q.d.ts.map → productTypeFilter-IKV6IkNW.d.ts.map} +1 -1
  162. package/dist/{recvTime-C6ulZVuR.d.ts → recvTime-B5XYRV0S.d.ts} +1 -1
  163. package/dist/recvTime-B5XYRV0S.d.ts.map +1 -0
  164. package/dist/{recvTime-lSkRnXFh.d.cts → recvTime-D6SfTY5U.d.cts} +1 -1
  165. package/dist/recvTime-D6SfTY5U.d.cts.map +1 -0
  166. package/dist/{signableRequestType-DWpXrjGE.d.ts → signableRequestType-BtNg2SMb.d.cts} +3 -2
  167. package/dist/signableRequestType-BtNg2SMb.d.cts.map +1 -0
  168. package/dist/{signableRequestType-BV11vCXW.d.cts → signableRequestType-CZjIeuKt.d.ts} +3 -2
  169. package/dist/signableRequestType-CZjIeuKt.d.ts.map +1 -0
  170. package/dist/{signatureParamTypes-Cjm4X5PA.d.cts → signatureParamTypes-D30zq2Ac.d.cts} +12 -4
  171. package/dist/{signatureParamTypes-Cjm4X5PA.d.cts.map → signatureParamTypes-D30zq2Ac.d.cts.map} +1 -1
  172. package/dist/{signatureParamTypes-CDUNzp0c.d.ts → signatureParamTypes-wuLv8rkA.d.ts} +12 -4
  173. package/dist/{signatureParamTypes-CDUNzp0c.d.ts.map → signatureParamTypes-wuLv8rkA.d.ts.map} +1 -1
  174. package/dist/signatureTypes-DxmIJNug.d.ts +15 -0
  175. package/dist/signatureTypes-DxmIJNug.d.ts.map +1 -0
  176. package/dist/signatureTypes-S1LMAbRM.d.cts +15 -0
  177. package/dist/signatureTypes-S1LMAbRM.d.cts.map +1 -0
  178. package/dist/{subaccountTypes-FoLRswIa.d.ts → subaccountTypes-BuzrDicU.d.ts} +1 -1
  179. package/dist/{subaccountTypes-FoLRswIa.d.ts.map → subaccountTypes-BuzrDicU.d.ts.map} +1 -1
  180. package/dist/{subaccountTypes-BGE4tJKb.d.cts → subaccountTypes-DCl5hh9_.d.cts} +1 -1
  181. package/dist/{subaccountTypes-BGE4tJKb.d.cts.map → subaccountTypes-DCl5hh9_.d.cts.map} +1 -1
  182. package/dist/{time-BpZLFNOC.d.ts → time-BXCJoadZ.d.ts} +1 -1
  183. package/dist/{time-BpZLFNOC.d.ts.map → time-BXCJoadZ.d.ts.map} +1 -1
  184. package/dist/{time-D6SSEenZ.d.cts → time-CN8jbcGn.d.cts} +1 -1
  185. package/dist/{time-D6SSEenZ.d.cts.map → time-CN8jbcGn.d.cts.map} +1 -1
  186. package/dist/{toPrintableObject-CwWr2voJ.d.cts → toPrintableObject-BD8fvLEw.d.cts} +1 -1
  187. package/dist/{toPrintableObject-CwWr2voJ.d.cts.map → toPrintableObject-BD8fvLEw.d.cts.map} +1 -1
  188. package/dist/{toPrintableObject-kBzCvR0Y.d.ts → toPrintableObject-qU66WYAb.d.ts} +1 -1
  189. package/dist/{toPrintableObject-kBzCvR0Y.d.ts.map → toPrintableObject-qU66WYAb.d.ts.map} +1 -1
  190. package/dist/types/index.d.cts +3 -2
  191. package/dist/types/index.d.ts +3 -2
  192. package/dist/types/signatureTypes.cjs +0 -0
  193. package/dist/types/signatureTypes.d.cts +2 -0
  194. package/dist/types/signatureTypes.d.ts +2 -0
  195. package/dist/types/signatureTypes.js +1 -0
  196. package/dist/types/subaccountTypes.d.cts +1 -1
  197. package/dist/types/subaccountTypes.d.ts +1 -1
  198. package/dist/{types-Cqqkhcva.d.ts → types-C3h0_DhN.d.ts} +1 -1
  199. package/dist/{types-Cqqkhcva.d.ts.map → types-C3h0_DhN.d.ts.map} +1 -1
  200. package/dist/{types-BdV1zhbS.d.cts → types-STPWaMSZ.d.cts} +1 -1
  201. package/dist/{types-BdV1zhbS.d.cts.map → types-STPWaMSZ.d.cts.map} +1 -1
  202. package/dist/{unpackOrderAppendix-Dx0MDs4V.d.ts → unpackOrderAppendix-BtZ5M1kJ.d.ts} +1 -1
  203. package/dist/{unpackOrderAppendix-Dx0MDs4V.d.ts.map → unpackOrderAppendix-BtZ5M1kJ.d.ts.map} +1 -1
  204. package/dist/{unpackOrderAppendix-E8HT7dKm.d.cts → unpackOrderAppendix-D2mTEbjX.d.cts} +1 -1
  205. package/dist/{unpackOrderAppendix-E8HT7dKm.d.cts.map → unpackOrderAppendix-D2mTEbjX.d.cts.map} +1 -1
  206. package/dist/utils/asyncResult.d.cts +1 -1
  207. package/dist/utils/asyncResult.d.ts +1 -1
  208. package/dist/utils/balanceValue.d.cts +1 -1
  209. package/dist/utils/balanceValue.d.ts +1 -1
  210. package/dist/utils/bytes32.d.cts +1 -1
  211. package/dist/utils/bytes32.d.ts +1 -1
  212. package/dist/utils/createDeterministicLinkedSignerPrivateKey.d.cts +1 -1
  213. package/dist/utils/createDeterministicLinkedSignerPrivateKey.d.ts +1 -1
  214. package/dist/utils/errors/WalletNotProvidedError.d.cts +1 -1
  215. package/dist/utils/errors/WalletNotProvidedError.d.ts +1 -1
  216. package/dist/utils/errors/index.d.cts +1 -1
  217. package/dist/utils/errors/index.d.ts +1 -1
  218. package/dist/utils/getValidatedAddress.d.cts +1 -1
  219. package/dist/utils/getValidatedAddress.d.ts +1 -1
  220. package/dist/utils/getValidatedHex.d.cts +1 -1
  221. package/dist/utils/getValidatedHex.d.ts +1 -1
  222. package/dist/utils/index.d.cts +20 -20
  223. package/dist/utils/index.d.ts +20 -20
  224. package/dist/utils/interest.d.cts +1 -1
  225. package/dist/utils/interest.d.ts +1 -1
  226. package/dist/utils/isWriteableContract.d.cts +1 -1
  227. package/dist/utils/isWriteableContract.d.ts +1 -1
  228. package/dist/utils/mapValues.d.cts +1 -1
  229. package/dist/utils/mapValues.d.ts +1 -1
  230. package/dist/utils/orders/appendix/appendixTwapValue.d.cts +1 -1
  231. package/dist/utils/orders/appendix/appendixTwapValue.d.ts +1 -1
  232. package/dist/utils/orders/appendix/bitMaskValue.d.cts +1 -1
  233. package/dist/utils/orders/appendix/bitMaskValue.d.ts +1 -1
  234. package/dist/utils/orders/appendix/index.d.cts +5 -5
  235. package/dist/utils/orders/appendix/index.d.ts +5 -5
  236. package/dist/utils/orders/appendix/packOrderAppendix.d.cts +1 -1
  237. package/dist/utils/orders/appendix/packOrderAppendix.d.ts +1 -1
  238. package/dist/utils/orders/appendix/types.d.cts +1 -1
  239. package/dist/utils/orders/appendix/types.d.ts +1 -1
  240. package/dist/utils/orders/appendix/unpackOrderAppendix.d.cts +1 -1
  241. package/dist/utils/orders/appendix/unpackOrderAppendix.d.ts +1 -1
  242. package/dist/utils/orders/index.d.cts +7 -7
  243. package/dist/utils/orders/index.d.ts +7 -7
  244. package/dist/utils/orders/orderNonce.d.cts +1 -1
  245. package/dist/utils/orders/orderNonce.d.ts +1 -1
  246. package/dist/utils/orders/recvTime.d.cts +1 -1
  247. package/dist/utils/orders/recvTime.d.ts +1 -1
  248. package/dist/utils/productTypeFilter.d.cts +1 -1
  249. package/dist/utils/productTypeFilter.d.ts +1 -1
  250. package/dist/utils/time.d.cts +1 -1
  251. package/dist/utils/time.d.ts +1 -1
  252. package/dist/utils/toPrintableObject.d.cts +1 -1
  253. package/dist/utils/toPrintableObject.d.ts +1 -1
  254. package/package.json +2 -2
  255. package/src/eip712/eip712ValueTypes.ts +5 -0
  256. package/src/eip712/getNadoEIP712Types.ts +9 -0
  257. package/src/eip712/getNadoEIP712Values.ts +21 -0
  258. package/src/eip712/signableRequestType.ts +2 -0
  259. package/src/eip712/signatureParamTypes.ts +12 -1
  260. package/src/types/index.ts +1 -0
  261. package/src/types/signatureTypes.ts +11 -0
  262. package/dist/createDeterministicLinkedSignerPrivateKey-XciG6RLh.d.ts.map +0 -1
  263. package/dist/getNadoEIP712Values-0EOMObhX.d.ts.map +0 -1
  264. package/dist/getNadoEIP712Values-DEBZh7-M.d.cts.map +0 -1
  265. package/dist/getValidatedAddress-BQJEkmbN.d.cts.map +0 -1
  266. package/dist/getValidatedAddress-BmCqRBeh.d.ts.map +0 -1
  267. package/dist/getValidatedHex-DuwBnuEB.d.ts.map +0 -1
  268. package/dist/getValidatedHex-PXNPR4pI.d.cts.map +0 -1
  269. package/dist/productIds-CCewi4tC.d.ts.map +0 -1
  270. package/dist/productIds-COuWMJat.d.cts.map +0 -1
  271. package/dist/recvTime-C6ulZVuR.d.ts.map +0 -1
  272. package/dist/recvTime-lSkRnXFh.d.cts.map +0 -1
  273. package/dist/signableRequestType-BV11vCXW.d.cts.map +0 -1
  274. package/dist/signableRequestType-DWpXrjGE.d.ts.map +0 -1
  275. /package/dist/{index-B1btZMWF.d.ts → index-B98eXebS.d.ts} +0 -0
  276. /package/dist/{index-BCsiC0tv.d.cts → index-BJ8-FA6N.d.cts} +0 -0
  277. /package/dist/{index-BVJyZlmP2.d.cts → index-BLREDRDJ.d.cts} +0 -0
  278. /package/dist/{index-Ba3GYDF9.d.ts → index-BLwMeReG.d.ts} +0 -0
  279. /package/dist/{index-Bq2ftOXk2.d.cts → index-C6yvNuzO.d.cts} +0 -0
  280. /package/dist/{index-Br3qA4B52.d.ts → index-CNuTE0dv.d.ts} +0 -0
  281. /package/dist/{index-C9nY9t1j.d.ts → index-DFKoAoY2.d.cts} +0 -0
  282. /package/dist/{index-CB5PSF-Q.d.ts → index-DPuvk4iq.d.ts} +0 -0
  283. /package/dist/{index-CQ25UCod.d.cts → index-DYVpYyuQ2.d.ts} +0 -0
  284. /package/dist/{index-D4eheNJJ.d.cts → index-Dh6J9gb5.d.cts} +0 -0
  285. /package/dist/{index-ZFCPoV_B2.d.ts → index-ma3taAs-.d.ts} +0 -0
  286. /package/dist/{index-_1bfRgi2.d.cts → index-qOayZAJw2.d.cts} +0 -0
package/README.md CHANGED
@@ -4,14 +4,6 @@ Shared utilities, types, and contract helpers for the Nado SDK. Provides ABIs, d
4
4
 
5
5
  [Full SDK Documentation](https://nadohq.github.io/nado-typescript-sdk/index.html)
6
6
 
7
- ## Installation
8
-
9
- ```bash
10
- npm install @nadohq/shared viem bignumber.js
11
- ```
12
-
13
- Most apps should use `@nadohq/client` instead, which includes this package. Install `@nadohq/shared` directly when you need low-level access to contract ABIs, EIP-712 signing, or type definitions without pulling in the HTTP clients.
14
-
15
7
  ## Modules
16
8
 
17
9
  ### `abis`
@@ -4,4 +4,4 @@ declare class WalletNotProvidedError extends Error {
4
4
  }
5
5
  //#endregion
6
6
  export { WalletNotProvidedError as t };
7
- //# sourceMappingURL=WalletNotProvidedError-BFEw-O_V.d.cts.map
7
+ //# sourceMappingURL=WalletNotProvidedError-BEoW-nA1.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WalletNotProvidedError-BFEw-O_V.d.cts","names":[],"sources":["../src/utils/errors/src/utils/errors/WalletNotProvidedError.ts"],"mappings":";cAAa,sBAAA,SAA+B,KAAK;EAAL,WAAA,CAAA;AAAA"}
1
+ {"version":3,"file":"WalletNotProvidedError-BEoW-nA1.d.cts","names":[],"sources":["../src/utils/errors/src/utils/errors/WalletNotProvidedError.ts"],"mappings":";cAAa,sBAAA,SAA+B,KAAK;EAAL,WAAA,CAAA;AAAA"}
@@ -4,4 +4,4 @@ declare class WalletNotProvidedError extends Error {
4
4
  }
5
5
  //#endregion
6
6
  export { WalletNotProvidedError as t };
7
- //# sourceMappingURL=WalletNotProvidedError-B7hy83Dp.d.ts.map
7
+ //# sourceMappingURL=WalletNotProvidedError-v1a959kl.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"WalletNotProvidedError-B7hy83Dp.d.ts","names":[],"sources":["../src/utils/errors/src/utils/errors/WalletNotProvidedError.ts"],"mappings":";cAAa,sBAAA,SAA+B,KAAK;EAAL,WAAA,CAAA;AAAA"}
1
+ {"version":3,"file":"WalletNotProvidedError-v1a959kl.d.ts","names":[],"sources":["../src/utils/errors/src/utils/errors/WalletNotProvidedError.ts"],"mappings":";cAAa,sBAAA,SAA+B,KAAK;EAAL,WAAA,CAAA;AAAA"}
@@ -28,4 +28,4 @@ declare function packTwapOrderAppendixValue({
28
28
  declare function unpackTwapOrderAppendixValue(value: bigint): OrderAppendixTwapFields;
29
29
  //#endregion
30
30
  export { unpackTwapOrderAppendixValue as n, packTwapOrderAppendixValue as t };
31
- //# sourceMappingURL=appendixTwapValue-2e-BBSSp.d.cts.map
31
+ //# sourceMappingURL=appendixTwapValue-DIqDV7Z7.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"appendixTwapValue-2e-BBSSp.d.cts","names":[],"sources":["../src/utils/orders/appendix/src/utils/orders/appendix/appendixTwapValue.ts"],"mappings":";;;;;AAeA;;;;;;;;;;iBAAgB,0BAAA,CAAA;EACd,SAAA;EACA;AAAA,GACC,uBAAA;;;;AAAuB;AAiB1B;;;;iBAAgB,4BAAA,CACd,KAAA,WACC,uBAAuB"}
1
+ {"version":3,"file":"appendixTwapValue-DIqDV7Z7.d.cts","names":[],"sources":["../src/utils/orders/appendix/src/utils/orders/appendix/appendixTwapValue.ts"],"mappings":";;;;;AAeA;;;;;;;;;;iBAAgB,0BAAA,CAAA;EACd,SAAA;EACA;AAAA,GACC,uBAAA;;;;AAAuB;AAiB1B;;;;iBAAgB,4BAAA,CACd,KAAA,WACC,uBAAuB"}
@@ -28,4 +28,4 @@ declare function packTwapOrderAppendixValue({
28
28
  declare function unpackTwapOrderAppendixValue(value: bigint): OrderAppendixTwapFields;
29
29
  //#endregion
30
30
  export { unpackTwapOrderAppendixValue as n, packTwapOrderAppendixValue as t };
31
- //# sourceMappingURL=appendixTwapValue-D5Fv_hF5.d.ts.map
31
+ //# sourceMappingURL=appendixTwapValue-DPsC1hXX.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"appendixTwapValue-D5Fv_hF5.d.ts","names":[],"sources":["../src/utils/orders/appendix/src/utils/orders/appendix/appendixTwapValue.ts"],"mappings":";;;;;AAeA;;;;;;;;;;iBAAgB,0BAAA,CAAA;EACd,SAAA;EACA;AAAA,GACC,uBAAA;;;;AAAuB;AAiB1B;;;;iBAAgB,4BAAA,CACd,KAAA,WACC,uBAAuB"}
1
+ {"version":3,"file":"appendixTwapValue-DPsC1hXX.d.ts","names":[],"sources":["../src/utils/orders/appendix/src/utils/orders/appendix/appendixTwapValue.ts"],"mappings":";;;;;AAeA;;;;;;;;;;iBAAgB,0BAAA,CAAA;EACd,SAAA;EACA;AAAA,GACC,uBAAA;;;;AAAuB;AAiB1B;;;;iBAAgB,4BAAA,CACd,KAAA,WACC,uBAAuB"}
@@ -17,4 +17,4 @@ declare function approveDepositAllowance({
17
17
  }: WithContract<'endpoint', ApproveDepositAllowanceParams>): Promise<`0x${string}`>;
18
18
  //#endregion
19
19
  export { approveDepositAllowance as n, ApproveDepositAllowanceParams as t };
20
- //# sourceMappingURL=approveDepositAllowance-DzLfrUa1.d.cts.map
20
+ //# sourceMappingURL=approveDepositAllowance-BbqDck6c.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"approveDepositAllowance-DzLfrUa1.d.cts","names":[],"sources":["../src/execute/src/execute/approveDepositAllowance.ts"],"mappings":";;;;;UAKiB,6BAAA;EACf,MAAA,EAAQ,YAAA;EACR,aAAA,EAAe,yBAAA,QAAiC,SAAA;AAAA;;;;iBAMlC,uBAAA,CAAA;EACd,QAAA;EACA,MAAA;EACA;AAAA,GACC,YAAA,aAAyB,6BAAA,IAA8B,OAAA"}
1
+ {"version":3,"file":"approveDepositAllowance-BbqDck6c.d.cts","names":[],"sources":["../src/execute/src/execute/approveDepositAllowance.ts"],"mappings":";;;;;UAKiB,6BAAA;EACf,MAAA,EAAQ,YAAA;EACR,aAAA,EAAe,yBAAA,QAAiC,SAAA;AAAA;;;;iBAMlC,uBAAA,CAAA;EACd,QAAA;EACA,MAAA;EACA;AAAA,GACC,YAAA,aAAyB,6BAAA,IAA8B,OAAA"}
@@ -17,4 +17,4 @@ declare function approveDepositAllowance({
17
17
  }: WithContract<'endpoint', ApproveDepositAllowanceParams>): Promise<`0x${string}`>;
18
18
  //#endregion
19
19
  export { approveDepositAllowance as n, ApproveDepositAllowanceParams as t };
20
- //# sourceMappingURL=approveDepositAllowance-Dc7stdrU.d.ts.map
20
+ //# sourceMappingURL=approveDepositAllowance-ChasXUS7.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"approveDepositAllowance-Dc7stdrU.d.ts","names":[],"sources":["../src/execute/src/execute/approveDepositAllowance.ts"],"mappings":";;;;;UAKiB,6BAAA;EACf,MAAA,EAAQ,YAAA;EACR,aAAA,EAAe,yBAAA,QAAiC,SAAA;AAAA;;;;iBAMlC,uBAAA,CAAA;EACd,QAAA;EACA,MAAA;EACA;AAAA,GACC,YAAA,aAAyB,6BAAA,IAA8B,OAAA"}
1
+ {"version":3,"file":"approveDepositAllowance-ChasXUS7.d.ts","names":[],"sources":["../src/execute/src/execute/approveDepositAllowance.ts"],"mappings":";;;;;UAKiB,6BAAA;EACf,MAAA,EAAQ,YAAA;EACR,aAAA,EAAe,yBAAA,QAAiC,SAAA;AAAA;;;;iBAMlC,uBAAA,CAAA;EACd,QAAA;EACA,MAAA;EACA;AAAA,GACC,YAAA,aAAyB,6BAAA,IAA8B,OAAA"}
@@ -3,4 +3,4 @@ type AsyncResult<TData, TError> = [data: undefined, error: TError] | [data: TDat
3
3
  declare function asyncResult<TData, TError = unknown>(promise: Promise<TData>): Promise<AsyncResult<TData, TError>>;
4
4
  //#endregion
5
5
  export { asyncResult as n, AsyncResult as t };
6
- //# sourceMappingURL=asyncResult-D-rEUypp.d.cts.map
6
+ //# sourceMappingURL=asyncResult-B8ly8lP_.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"asyncResult-D-rEUypp.d.cts","names":[],"sources":["../src/utils/src/utils/asyncResult.ts"],"mappings":";KAAY,WAAA,mBACP,IAAA,aAAiB,KAAA,EAAO,MAAA,KACxB,IAAA,EAAM,KAAK,EAAE,KAAA;AAAA,iBAEF,WAAA,yBAAA,CACd,OAAA,EAAS,OAAA,CAAQ,KAAA,IAChB,OAAA,CAAQ,WAAA,CAAY,KAAA,EAAO,MAAA"}
1
+ {"version":3,"file":"asyncResult-B8ly8lP_.d.cts","names":[],"sources":["../src/utils/src/utils/asyncResult.ts"],"mappings":";KAAY,WAAA,mBACP,IAAA,aAAiB,KAAA,EAAO,MAAA,KACxB,IAAA,EAAM,KAAK,EAAE,KAAA;AAAA,iBAEF,WAAA,yBAAA,CACd,OAAA,EAAS,OAAA,CAAQ,KAAA,IAChB,OAAA,CAAQ,WAAA,CAAY,KAAA,EAAO,MAAA"}
@@ -3,4 +3,4 @@ type AsyncResult<TData, TError> = [data: undefined, error: TError] | [data: TDat
3
3
  declare function asyncResult<TData, TError = unknown>(promise: Promise<TData>): Promise<AsyncResult<TData, TError>>;
4
4
  //#endregion
5
5
  export { asyncResult as n, AsyncResult as t };
6
- //# sourceMappingURL=asyncResult-Cs02Ws6J.d.ts.map
6
+ //# sourceMappingURL=asyncResult-CrfiRFh5.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"asyncResult-Cs02Ws6J.d.ts","names":[],"sources":["../src/utils/src/utils/asyncResult.ts"],"mappings":";KAAY,WAAA,mBACP,IAAA,aAAiB,KAAA,EAAO,MAAA,KACxB,IAAA,EAAM,KAAK,EAAE,KAAA;AAAA,iBAEF,WAAA,yBAAA,CACd,OAAA,EAAS,OAAA,CAAQ,KAAA,IAChB,OAAA,CAAQ,WAAA,CAAY,KAAA,EAAO,MAAA"}
1
+ {"version":3,"file":"asyncResult-CrfiRFh5.d.ts","names":[],"sources":["../src/utils/src/utils/asyncResult.ts"],"mappings":";KAAY,WAAA,mBACP,IAAA,aAAiB,KAAA,EAAO,MAAA,KACxB,IAAA,EAAM,KAAK,EAAE,KAAA;AAAA,iBAEF,WAAA,yBAAA,CACd,OAAA,EAAS,OAAA,CAAQ,KAAA,IAChB,OAAA,CAAQ,WAAA,CAAY,KAAA,EAAO,MAAA"}
@@ -22,4 +22,4 @@ declare function calcPerpBalanceNotionalValue(balanceWithProduct: PerpBalanceWit
22
22
  declare function calcPerpBalanceValue(balanceWithProduct: PerpBalanceWithProduct): BigNumber;
23
23
  //#endregion
24
24
  export { calcPerpBalanceValue as n, calcSpotBalanceValue as r, calcPerpBalanceNotionalValue as t };
25
- //# sourceMappingURL=balanceValue-BHDw2fCR.d.cts.map
25
+ //# sourceMappingURL=balanceValue-CT4Q7W0T.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"balanceValue-BHDw2fCR.d.cts","names":[],"sources":["../src/utils/src/utils/balanceValue.ts"],"mappings":";;;;;;AAWA;;;iBAAgB,oBAAA,CACd,kBAAA,EAAoB,sBAAA,GACnB,SAAS;;;;;AAAA;iBASI,4BAAA,CACd,kBAAA,EAAoB,sBAAA,GACnB,SAAS;;;;;;iBAWI,oBAAA,CACd,kBAAA,EAAoB,sBAAA,GACnB,SAAS"}
1
+ {"version":3,"file":"balanceValue-CT4Q7W0T.d.cts","names":[],"sources":["../src/utils/src/utils/balanceValue.ts"],"mappings":";;;;;;AAWA;;;iBAAgB,oBAAA,CACd,kBAAA,EAAoB,sBAAA,GACnB,SAAS;;;;;AAAA;iBASI,4BAAA,CACd,kBAAA,EAAoB,sBAAA,GACnB,SAAS;;;;;;iBAWI,oBAAA,CACd,kBAAA,EAAoB,sBAAA,GACnB,SAAS"}
@@ -22,4 +22,4 @@ declare function calcPerpBalanceNotionalValue(balanceWithProduct: PerpBalanceWit
22
22
  declare function calcPerpBalanceValue(balanceWithProduct: PerpBalanceWithProduct): BigNumber;
23
23
  //#endregion
24
24
  export { calcPerpBalanceValue as n, calcSpotBalanceValue as r, calcPerpBalanceNotionalValue as t };
25
- //# sourceMappingURL=balanceValue-mNCg2O57.d.ts.map
25
+ //# sourceMappingURL=balanceValue-bkwkBhFu.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"balanceValue-mNCg2O57.d.ts","names":[],"sources":["../src/utils/src/utils/balanceValue.ts"],"mappings":";;;;;;AAWA;;;iBAAgB,oBAAA,CACd,kBAAA,EAAoB,sBAAA,GACnB,SAAS;;;;;AAAA;iBASI,4BAAA,CACd,kBAAA,EAAoB,sBAAA,GACnB,SAAS;;;;;;iBAWI,oBAAA,CACd,kBAAA,EAAoB,sBAAA,GACnB,SAAS"}
1
+ {"version":3,"file":"balanceValue-bkwkBhFu.d.ts","names":[],"sources":["../src/utils/src/utils/balanceValue.ts"],"mappings":";;;;;;AAWA;;;iBAAgB,oBAAA,CACd,kBAAA,EAAoB,sBAAA,GACnB,SAAS;;;;;AAAA;iBASI,4BAAA,CACd,kBAAA,EAAoB,sBAAA,GACnB,SAAS;;;;;;iBAWI,oBAAA,CACd,kBAAA,EAAoB,sBAAA,GACnB,SAAS"}
@@ -9,4 +9,4 @@
9
9
  declare function bitMaskValue(value: bigint | number, bitWidth: number): bigint;
10
10
  //#endregion
11
11
  export { bitMaskValue as t };
12
- //# sourceMappingURL=bitMaskValue-CWv12B9a.d.cts.map
12
+ //# sourceMappingURL=bitMaskValue-CDz7vtPM.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bitMaskValue-CWv12B9a.d.cts","names":[],"sources":["../src/utils/orders/appendix/src/utils/orders/appendix/bitMaskValue.ts"],"mappings":";;AAOA;;;;AAAqE;;iBAArD,YAAA,CAAa,KAAA,mBAAwB,QAAgB"}
1
+ {"version":3,"file":"bitMaskValue-CDz7vtPM.d.cts","names":[],"sources":["../src/utils/orders/appendix/src/utils/orders/appendix/bitMaskValue.ts"],"mappings":";;AAOA;;;;AAAqE;;iBAArD,YAAA,CAAa,KAAA,mBAAwB,QAAgB"}
@@ -9,4 +9,4 @@
9
9
  declare function bitMaskValue(value: bigint | number, bitWidth: number): bigint;
10
10
  //#endregion
11
11
  export { bitMaskValue as t };
12
- //# sourceMappingURL=bitMaskValue-rhaIF9Xj.d.ts.map
12
+ //# sourceMappingURL=bitMaskValue-qyWUOgv1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bitMaskValue-rhaIF9Xj.d.ts","names":[],"sources":["../src/utils/orders/appendix/src/utils/orders/appendix/bitMaskValue.ts"],"mappings":";;AAOA;;;;AAAqE;;iBAArD,YAAA,CAAa,KAAA,mBAAwB,QAAgB"}
1
+ {"version":3,"file":"bitMaskValue-qyWUOgv1.d.ts","names":[],"sources":["../src/utils/orders/appendix/src/utils/orders/appendix/bitMaskValue.ts"],"mappings":";;AAOA;;;;AAAqE;;iBAArD,YAAA,CAAa,KAAA,mBAAwB,QAAgB"}
@@ -1,5 +1,5 @@
1
1
  import { t as Bytes } from "./bytes-Bv66A6U8.js";
2
- import { n as SubaccountBytes32, r as SubaccountNameBytes12, t as Subaccount } from "./subaccountTypes-FoLRswIa.js";
2
+ import { n as SubaccountBytes32, r as SubaccountNameBytes12, t as Subaccount } from "./subaccountTypes-BuzrDicU.js";
3
3
  import { Hex } from "viem";
4
4
 
5
5
  //#region src/utils/bytes32.d.ts
@@ -46,4 +46,4 @@ declare function subaccountFromHex(subaccount: string): Subaccount;
46
46
  declare function subaccountNameBytesToStr(input: Bytes): string;
47
47
  //#endregion
48
48
  export { subaccountToBytes32 as a, subaccountNameToBytes12 as i, subaccountFromHex as n, subaccountToHex as o, subaccountNameBytesToStr as r, subaccountFromBytes32 as t };
49
- //# sourceMappingURL=bytes32-gz7vDEim.d.ts.map
49
+ //# sourceMappingURL=bytes32-D-tn3XZy.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bytes32-gz7vDEim.d.ts","names":[],"sources":["../src/utils/src/utils/bytes32.ts"],"mappings":";;;;;;;AAaA;;;iBAAgB,mBAAA,CAAoB,UAAA,EAAY,UAAA,GAAa,iBAAiB;;;;;AAAA;iBAyB9D,qBAAA,CAAsB,KAAA,EAAO,iBAAA,GAAoB,UAAU;;;;;;;;iBA6B3D,uBAAA,CAAwB,IAAA,WAAe,qBAAqB;AAA5E;;;;AAA4E;AAa5E;;AAbA,iBAagB,eAAA,CAAgB,UAAA,EAAY,UAAA,GAAa,GAAG;;;;;;iBAS5C,iBAAA,CAAkB,UAAA,WAAqB,UAAU;AAAjE;;;;AAAiE;AAUjE;AAVA,iBAUgB,wBAAA,CAAyB,KAAY,EAAL,KAAK"}
1
+ {"version":3,"file":"bytes32-D-tn3XZy.d.ts","names":[],"sources":["../src/utils/src/utils/bytes32.ts"],"mappings":";;;;;;;AAaA;;;iBAAgB,mBAAA,CAAoB,UAAA,EAAY,UAAA,GAAa,iBAAiB;;;;;AAAA;iBAyB9D,qBAAA,CAAsB,KAAA,EAAO,iBAAA,GAAoB,UAAU;;;;;;;;iBA6B3D,uBAAA,CAAwB,IAAA,WAAe,qBAAqB;AAA5E;;;;AAA4E;AAa5E;;AAbA,iBAagB,eAAA,CAAgB,UAAA,EAAY,UAAA,GAAa,GAAG;;;;;;iBAS5C,iBAAA,CAAkB,UAAA,WAAqB,UAAU;AAAjE;;;;AAAiE;AAUjE;AAVA,iBAUgB,wBAAA,CAAyB,KAAY,EAAL,KAAK"}
@@ -1,5 +1,5 @@
1
1
  import { t as Bytes } from "./bytes-DAhqCt_o.cjs";
2
- import { n as SubaccountBytes32, r as SubaccountNameBytes12, t as Subaccount } from "./subaccountTypes-BGE4tJKb.cjs";
2
+ import { n as SubaccountBytes32, r as SubaccountNameBytes12, t as Subaccount } from "./subaccountTypes-DCl5hh9_.cjs";
3
3
  import { Hex } from "viem";
4
4
 
5
5
  //#region src/utils/bytes32.d.ts
@@ -46,4 +46,4 @@ declare function subaccountFromHex(subaccount: string): Subaccount;
46
46
  declare function subaccountNameBytesToStr(input: Bytes): string;
47
47
  //#endregion
48
48
  export { subaccountToBytes32 as a, subaccountNameToBytes12 as i, subaccountFromHex as n, subaccountToHex as o, subaccountNameBytesToStr as r, subaccountFromBytes32 as t };
49
- //# sourceMappingURL=bytes32-CE-v0SzM.d.cts.map
49
+ //# sourceMappingURL=bytes32-klqLJUFN.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"bytes32-CE-v0SzM.d.cts","names":[],"sources":["../src/utils/src/utils/bytes32.ts"],"mappings":";;;;;;;AAaA;;;iBAAgB,mBAAA,CAAoB,UAAA,EAAY,UAAA,GAAa,iBAAiB;;;;;AAAA;iBAyB9D,qBAAA,CAAsB,KAAA,EAAO,iBAAA,GAAoB,UAAU;;;;;;;;iBA6B3D,uBAAA,CAAwB,IAAA,WAAe,qBAAqB;AAA5E;;;;AAA4E;AAa5E;;AAbA,iBAagB,eAAA,CAAgB,UAAA,EAAY,UAAA,GAAa,GAAG;;;;;;iBAS5C,iBAAA,CAAkB,UAAA,WAAqB,UAAU;AAAjE;;;;AAAiE;AAUjE;AAVA,iBAUgB,wBAAA,CAAyB,KAAY,EAAL,KAAK"}
1
+ {"version":3,"file":"bytes32-klqLJUFN.d.cts","names":[],"sources":["../src/utils/src/utils/bytes32.ts"],"mappings":";;;;;;;AAaA;;;iBAAgB,mBAAA,CAAoB,UAAA,EAAY,UAAA,GAAa,iBAAiB;;;;;AAAA;iBAyB9D,qBAAA,CAAsB,KAAA,EAAO,iBAAA,GAAoB,UAAU;;;;;;;;iBA6B3D,uBAAA,CAAwB,IAAA,WAAe,qBAAqB;AAA5E;;;;AAA4E;AAa5E;;AAbA,iBAagB,eAAA,CAAgB,UAAA,EAAY,UAAA,GAAa,GAAG;;;;;;iBAS5C,iBAAA,CAAkB,UAAA,WAAqB,UAAU;AAAjE;;;;AAAiE;AAUjE;AAVA,iBAUgB,wBAAA,CAAyB,KAAY,EAAL,KAAK"}
@@ -699,4 +699,4 @@ declare const CHAIN_ENV_TO_CHAIN: {
699
699
  declare const CHAIN_ID_TO_CHAIN_ENV: Record<number, ChainEnv>;
700
700
  //#endregion
701
701
  export { CHAIN_ID_TO_CHAIN_ENV as n, CHAIN_ENV_TO_CHAIN as t };
702
- //# sourceMappingURL=chainEnvToChain-Cze_i6hZ.d.cts.map
702
+ //# sourceMappingURL=chainEnvToChain-DdLczNYZ.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chainEnvToChain-Cze_i6hZ.d.cts","names":[],"sources":["../src/consts/src/consts/chainEnvToChain.ts"],"mappings":";;cAIa,kBAAA;EAAA;;;;;;;;;;;;;;;;;;mCAYwH,aAAA;4CAAmF,aAAA;kCAAyE,aAAA;uCAA8E,aAAA;IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAAiE,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAN14G,qBAAA,EAKR,MAAM,SAAS,QAAA"}
@@ -699,4 +699,4 @@ declare const CHAIN_ENV_TO_CHAIN: {
699
699
  declare const CHAIN_ID_TO_CHAIN_ENV: Record<number, ChainEnv>;
700
700
  //#endregion
701
701
  export { CHAIN_ID_TO_CHAIN_ENV as n, CHAIN_ENV_TO_CHAIN as t };
702
- //# sourceMappingURL=chainEnvToChain-iWWdSu4g.d.ts.map
702
+ //# sourceMappingURL=chainEnvToChain-DpBYNlnk.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chainEnvToChain-iWWdSu4g.d.ts","names":[],"sources":["../src/consts/src/consts/chainEnvToChain.ts"],"mappings":";;cAIa,kBAAA;EAAA;;;;;;;;;;;;;;;;;;mCAYwH,aAAA;4CAAmF,aAAA;kCAAyE,aAAA;uCAA8E,aAAA;IAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAAiE,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAN14G,qBAAA,EAKR,MAAM,SAAS,QAAA"}
@@ -1,2 +1,2 @@
1
- import { n as CHAIN_ID_TO_CHAIN_ENV, t as CHAIN_ENV_TO_CHAIN } from "../chainEnvToChain-Cze_i6hZ.cjs";
1
+ import { n as CHAIN_ID_TO_CHAIN_ENV, t as CHAIN_ENV_TO_CHAIN } from "../chainEnvToChain-DdLczNYZ.cjs";
2
2
  export { CHAIN_ENV_TO_CHAIN, CHAIN_ID_TO_CHAIN_ENV };
@@ -1,2 +1,2 @@
1
- import { n as CHAIN_ID_TO_CHAIN_ENV, t as CHAIN_ENV_TO_CHAIN } from "../chainEnvToChain-iWWdSu4g.js";
1
+ import { n as CHAIN_ID_TO_CHAIN_ENV, t as CHAIN_ENV_TO_CHAIN } from "../chainEnvToChain-DpBYNlnk.js";
2
2
  export { CHAIN_ENV_TO_CHAIN, CHAIN_ID_TO_CHAIN_ENV };
@@ -1,3 +1,3 @@
1
- import { n as CHAIN_ID_TO_CHAIN_ENV, t as CHAIN_ENV_TO_CHAIN } from "../chainEnvToChain-Cze_i6hZ.cjs";
2
- import { n as QUOTE_PRODUCT_ID, t as NLP_PRODUCT_ID } from "../productIds-COuWMJat.cjs";
1
+ import { n as CHAIN_ID_TO_CHAIN_ENV, t as CHAIN_ENV_TO_CHAIN } from "../chainEnvToChain-DdLczNYZ.cjs";
2
+ import { n as QUOTE_PRODUCT_ID, t as NLP_PRODUCT_ID } from "../productIds-CePkYUZH.cjs";
3
3
  export { CHAIN_ENV_TO_CHAIN, CHAIN_ID_TO_CHAIN_ENV, NLP_PRODUCT_ID, QUOTE_PRODUCT_ID };
@@ -1,3 +1,3 @@
1
- import { n as CHAIN_ID_TO_CHAIN_ENV, t as CHAIN_ENV_TO_CHAIN } from "../chainEnvToChain-iWWdSu4g.js";
2
- import { n as QUOTE_PRODUCT_ID, t as NLP_PRODUCT_ID } from "../productIds-CCewi4tC.js";
1
+ import { n as CHAIN_ID_TO_CHAIN_ENV, t as CHAIN_ENV_TO_CHAIN } from "../chainEnvToChain-DpBYNlnk.js";
2
+ import { n as QUOTE_PRODUCT_ID, t as NLP_PRODUCT_ID } from "../productIds-BZeKoHcK.js";
3
3
  export { CHAIN_ENV_TO_CHAIN, CHAIN_ID_TO_CHAIN_ENV, NLP_PRODUCT_ID, QUOTE_PRODUCT_ID };
@@ -1,2 +1,2 @@
1
- import { n as QUOTE_PRODUCT_ID, t as NLP_PRODUCT_ID } from "../productIds-COuWMJat.cjs";
1
+ import { n as QUOTE_PRODUCT_ID, t as NLP_PRODUCT_ID } from "../productIds-CePkYUZH.cjs";
2
2
  export { NLP_PRODUCT_ID, QUOTE_PRODUCT_ID };
@@ -1,2 +1,2 @@
1
- import { n as QUOTE_PRODUCT_ID, t as NLP_PRODUCT_ID } from "../productIds-CCewi4tC.js";
1
+ import { n as QUOTE_PRODUCT_ID, t as NLP_PRODUCT_ID } from "../productIds-BZeKoHcK.js";
2
2
  export { NLP_PRODUCT_ID, QUOTE_PRODUCT_ID };
@@ -1,5 +1,5 @@
1
1
  import { r as WalletClientWithAccount } from "./viemTypes-D3kRC8jF.js";
2
- import { t as Subaccount } from "./subaccountTypes-FoLRswIa.js";
2
+ import { t as Subaccount } from "./subaccountTypes-BuzrDicU.js";
3
3
 
4
4
  //#region src/utils/createDeterministicLinkedSignerPrivateKey.d.ts
5
5
  interface Params extends Subaccount {
@@ -17,4 +17,4 @@ interface Params extends Subaccount {
17
17
  declare function createDeterministicLinkedSignerPrivateKey(params: Params): Promise<`0x${string}`>;
18
18
  //#endregion
19
19
  export { createDeterministicLinkedSignerPrivateKey as t };
20
- //# sourceMappingURL=createDeterministicLinkedSignerPrivateKey-XciG6RLh.d.ts.map
20
+ //# sourceMappingURL=createDeterministicLinkedSignerPrivateKey-47pkYOE0.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createDeterministicLinkedSignerPrivateKey-47pkYOE0.d.ts","names":[],"sources":["../src/utils/src/utils/createDeterministicLinkedSignerPrivateKey.ts"],"mappings":";;;;UAMU,MAAA,SAAe,UAAU;EACjC,YAAA,EAAc,uBAAA;EACd,OAAA;EACA,eAAA;AAAA;;;;;;;;iBAUoB,yCAAA,CACpB,MAAA,EAAQ,MAAA,GAAM,OAAA"}
@@ -1,5 +1,5 @@
1
1
  import { r as WalletClientWithAccount } from "./viemTypes-Mjfxe2ou.cjs";
2
- import { t as Subaccount } from "./subaccountTypes-BGE4tJKb.cjs";
2
+ import { t as Subaccount } from "./subaccountTypes-DCl5hh9_.cjs";
3
3
 
4
4
  //#region src/utils/createDeterministicLinkedSignerPrivateKey.d.ts
5
5
  interface Params extends Subaccount {
@@ -17,4 +17,4 @@ interface Params extends Subaccount {
17
17
  declare function createDeterministicLinkedSignerPrivateKey(params: Params): Promise<`0x${string}`>;
18
18
  //#endregion
19
19
  export { createDeterministicLinkedSignerPrivateKey as t };
20
- //# sourceMappingURL=createDeterministicLinkedSignerPrivateKey-C2v9BK5R.d.cts.map
20
+ //# sourceMappingURL=createDeterministicLinkedSignerPrivateKey-CcJhRSf7.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createDeterministicLinkedSignerPrivateKey-C2v9BK5R.d.cts","names":[],"sources":["../src/utils/src/utils/createDeterministicLinkedSignerPrivateKey.ts"],"mappings":";;;;UAMU,MAAA,SAAe,UAAU;EACjC,YAAA,EAAc,uBAAA;EACd,OAAA;EACA,eAAA;AAAA;;;;;;;;iBAUoB,yCAAA,CACpB,MAAA,EAAQ,MAAA,GAAM,OAAA"}
1
+ {"version":3,"file":"createDeterministicLinkedSignerPrivateKey-CcJhRSf7.d.cts","names":[],"sources":["../src/utils/src/utils/createDeterministicLinkedSignerPrivateKey.ts"],"mappings":";;;;UAMU,MAAA,SAAe,UAAU;EACjC,YAAA,EAAc,uBAAA;EACd,OAAA;EACA,eAAA;AAAA;;;;;;;;iBAUoB,yCAAA,CACpB,MAAA,EAAQ,MAAA,GAAM,OAAA"}
@@ -21,4 +21,4 @@ declare function depositCollateral({
21
21
  }: WithContract<'endpoint', DepositCollateralParams>): Promise<`0x${string}`>;
22
22
  //#endregion
23
23
  export { depositCollateral as n, DepositCollateralParams as t };
24
- //# sourceMappingURL=depositCollateral-476kzs4N.d.ts.map
24
+ //# sourceMappingURL=depositCollateral-BZOXvr6h.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"depositCollateral-476kzs4N.d.ts","names":[],"sources":["../src/execute/src/execute/depositCollateral.ts"],"mappings":";;;UAIiB,uBAAA;EACf,cAAA;EACA,SAAA;EACA,MAAA,EAAQ,YAAY;EACpB,YAAA;AAAA;;;;;;iBAQoB,iBAAA,CAAA;EACpB,QAAA;EACA,cAAA;EACA,SAAA;EACA,MAAA;EACA;AAAA,GACC,YAAA,aAAyB,uBAAA,IAAwB,OAAA"}
1
+ {"version":3,"file":"depositCollateral-BZOXvr6h.d.ts","names":[],"sources":["../src/execute/src/execute/depositCollateral.ts"],"mappings":";;;UAIiB,uBAAA;EACf,cAAA;EACA,SAAA;EACA,MAAA,EAAQ,YAAY;EACpB,YAAA;AAAA;;;;;;iBAQoB,iBAAA,CAAA;EACpB,QAAA;EACA,cAAA;EACA,SAAA;EACA,MAAA;EACA;AAAA,GACC,YAAA,aAAyB,uBAAA,IAAwB,OAAA"}
@@ -21,4 +21,4 @@ declare function depositCollateral({
21
21
  }: WithContract<'endpoint', DepositCollateralParams>): Promise<`0x${string}`>;
22
22
  //#endregion
23
23
  export { depositCollateral as n, DepositCollateralParams as t };
24
- //# sourceMappingURL=depositCollateral-CmEXlJQs.d.cts.map
24
+ //# sourceMappingURL=depositCollateral-C3mp2GTo.d.cts.map
@@ -1 +1 @@
1
- {"version":3,"file":"depositCollateral-CmEXlJQs.d.cts","names":[],"sources":["../src/execute/src/execute/depositCollateral.ts"],"mappings":";;;UAIiB,uBAAA;EACf,cAAA;EACA,SAAA;EACA,MAAA,EAAQ,YAAY;EACpB,YAAA;AAAA;;;;;;iBAQoB,iBAAA,CAAA;EACpB,QAAA;EACA,cAAA;EACA,SAAA;EACA,MAAA;EACA;AAAA,GACC,YAAA,aAAyB,uBAAA,IAAwB,OAAA"}
1
+ {"version":3,"file":"depositCollateral-C3mp2GTo.d.cts","names":[],"sources":["../src/execute/src/execute/depositCollateral.ts"],"mappings":";;;UAIiB,uBAAA;EACf,cAAA;EACA,SAAA;EACA,MAAA,EAAQ,YAAY;EACpB,YAAA;AAAA;;;;;;iBAQoB,iBAAA,CAAA;EACpB,QAAA;EACA,cAAA;EACA,SAAA;EACA,MAAA;EACA;AAAA,GACC,YAAA,aAAyB,uBAAA,IAAwB,OAAA"}
@@ -1,2 +1,2 @@
1
- import { a as EIP712ListTriggerOrdersValues, c as EIP712OrderValues, d as EIP712TransferQuoteValues, f as EIP712UpdateDependencyValues, h as SignableRequestTypeToEIP712Values, i as EIP712LiquidateSubaccountValues, l as EIP712ProductOrdersCancellationValues, m as EIP712WithdrawCollateralValues, n as EIP712LeaderboardAuthenticationValues, o as EIP712MintNlpValues, p as EIP712WithdrawCollateralV2Values, r as EIP712LinkSignerValues, s as EIP712OrderCancellationValues, t as EIP712BurnNlpValues, u as EIP712SocialAuthenticationValues } from "../eip712ValueTypes-CI6wMCCw.cjs";
2
- export { EIP712BurnNlpValues, EIP712LeaderboardAuthenticationValues, EIP712LinkSignerValues, EIP712LiquidateSubaccountValues, EIP712ListTriggerOrdersValues, EIP712MintNlpValues, EIP712OrderCancellationValues, EIP712OrderValues, EIP712ProductOrdersCancellationValues, EIP712SocialAuthenticationValues, EIP712TransferQuoteValues, EIP712UpdateDependencyValues, EIP712WithdrawCollateralV2Values, EIP712WithdrawCollateralValues, SignableRequestTypeToEIP712Values };
1
+ 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-B7SUNimi.cjs";
2
+ export { EIP712BurnNlpValues, EIP712LeaderboardAuthenticationValues, EIP712LinkSignerValues, EIP712LiquidateSubaccountValues, EIP712ListTriggerOrdersValues, EIP712MintNlpValues, EIP712NadoAuthenticationValues, EIP712OrderCancellationValues, EIP712OrderValues, EIP712ProductOrdersCancellationValues, EIP712SocialAuthenticationValues, EIP712TransferQuoteValues, EIP712UpdateDependencyValues, EIP712WithdrawCollateralV2Values, EIP712WithdrawCollateralValues, SignableRequestTypeToEIP712Values };
@@ -1,2 +1,2 @@
1
- import { a as EIP712ListTriggerOrdersValues, c as EIP712OrderValues, d as EIP712TransferQuoteValues, f as EIP712UpdateDependencyValues, h as SignableRequestTypeToEIP712Values, i as EIP712LiquidateSubaccountValues, l as EIP712ProductOrdersCancellationValues, m as EIP712WithdrawCollateralValues, n as EIP712LeaderboardAuthenticationValues, o as EIP712MintNlpValues, p as EIP712WithdrawCollateralV2Values, r as EIP712LinkSignerValues, s as EIP712OrderCancellationValues, t as EIP712BurnNlpValues, u as EIP712SocialAuthenticationValues } from "../eip712ValueTypes-CD1TxxFv.js";
2
- export { EIP712BurnNlpValues, EIP712LeaderboardAuthenticationValues, EIP712LinkSignerValues, EIP712LiquidateSubaccountValues, EIP712ListTriggerOrdersValues, EIP712MintNlpValues, EIP712OrderCancellationValues, EIP712OrderValues, EIP712ProductOrdersCancellationValues, EIP712SocialAuthenticationValues, EIP712TransferQuoteValues, EIP712UpdateDependencyValues, EIP712WithdrawCollateralV2Values, EIP712WithdrawCollateralValues, SignableRequestTypeToEIP712Values };
1
+ 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-Bx73DiwJ.js";
2
+ export { EIP712BurnNlpValues, EIP712LeaderboardAuthenticationValues, EIP712LinkSignerValues, EIP712LiquidateSubaccountValues, EIP712ListTriggerOrdersValues, EIP712MintNlpValues, EIP712NadoAuthenticationValues, EIP712OrderCancellationValues, EIP712OrderValues, EIP712ProductOrdersCancellationValues, EIP712SocialAuthenticationValues, EIP712TransferQuoteValues, EIP712UpdateDependencyValues, EIP712WithdrawCollateralV2Values, EIP712WithdrawCollateralValues, SignableRequestTypeToEIP712Values };
@@ -1,2 +1,2 @@
1
- import { t as getNadoEIP712Domain } from "../getNadoEIP712Domain-iDIuXsMf.cjs";
1
+ import { t as getNadoEIP712Domain } from "../getNadoEIP712Domain-CbvRaSxS.cjs";
2
2
  export { getNadoEIP712Domain };
@@ -1,2 +1,2 @@
1
- import { t as getNadoEIP712Domain } from "../getNadoEIP712Domain-CSV6Zxuw.js";
1
+ import { t as getNadoEIP712Domain } from "../getNadoEIP712Domain-kTOBSTeO.js";
2
2
  export { getNadoEIP712Domain };
@@ -1,2 +1,2 @@
1
- import { t as getNadoEIP712PrimaryType } from "../getNadoEIP712PrimaryType-Cq8siJx7.cjs";
1
+ import { t as getNadoEIP712PrimaryType } from "../getNadoEIP712PrimaryType-DxmJJfz2.cjs";
2
2
  export { getNadoEIP712PrimaryType };
@@ -1,2 +1,2 @@
1
- import { t as getNadoEIP712PrimaryType } from "../getNadoEIP712PrimaryType-CE0fRiTI.js";
1
+ import { t as getNadoEIP712PrimaryType } from "../getNadoEIP712PrimaryType-BcdZPTeT.js";
2
2
  export { getNadoEIP712PrimaryType };
@@ -248,6 +248,24 @@ function getNadoEIP712Types(requestType) {
248
248
  type: "uint64"
249
249
  }
250
250
  ] };
251
+ case "nado_authentication": return { NadoAuthentication: [
252
+ {
253
+ name: "method",
254
+ type: "string"
255
+ },
256
+ {
257
+ name: "sender",
258
+ type: "bytes32"
259
+ },
260
+ {
261
+ name: "payloadHash",
262
+ type: "bytes32"
263
+ },
264
+ {
265
+ name: "nonce",
266
+ type: "uint64"
267
+ }
268
+ ] };
251
269
  }
252
270
  }
253
271
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"getNadoEIP712Types.cjs","names":[],"sources":["../../src/eip712/getNadoEIP712Types.ts"],"sourcesContent":["import { SignableRequestType } from './signableRequestType';\n\ninterface TypedDataField {\n name: string;\n type: string;\n}\n\n/**\n * Return the EIP712 types for a given request\n *\n * @param requestType\n */\nexport function getNadoEIP712Types(\n requestType: SignableRequestType,\n): Record<string, Array<TypedDataField>> {\n switch (requestType) {\n case 'withdraw_collateral':\n return {\n WithdrawCollateral: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productId', type: 'uint32' },\n { name: 'amount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'withdraw_collateral_v2':\n return {\n WithdrawCollateralV2: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productId', type: 'uint32' },\n { name: 'amount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n { name: 'sendTo', type: 'address' },\n { name: 'appendix', type: 'uint128' },\n ],\n };\n case 'place_order':\n return {\n Order: [\n { name: 'sender', type: 'bytes32' },\n { name: 'priceX18', type: 'int128' },\n { name: 'amount', type: 'int128' },\n { name: 'expiration', type: 'uint64' },\n { name: 'nonce', type: 'uint64' },\n { name: 'appendix', type: 'uint128' },\n ],\n };\n case 'list_trigger_orders':\n return {\n ListTriggerOrders: [\n { name: 'sender', type: 'bytes32' },\n { name: 'recvTime', type: 'uint64' },\n ],\n };\n case 'update_dependency':\n return {\n DependencyUpdate: [\n { name: 'sender', type: 'bytes32' },\n { name: 'oldDigest', type: 'bytes32' },\n { name: 'newDigest', type: 'bytes32' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'cancel_orders':\n return {\n Cancellation: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productIds', type: 'uint32[]' },\n { name: 'digests', type: 'bytes32[]' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'cancel_product_orders':\n return {\n CancellationProducts: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productIds', type: 'uint32[]' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'liquidate_subaccount':\n return {\n LiquidateSubaccount: [\n { name: 'sender', type: 'bytes32' },\n { name: 'liquidatee', type: 'bytes32' },\n { name: 'mode', type: 'uint8' },\n { name: 'healthGroup', type: 'uint32' },\n { name: 'amount', type: 'int128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'link_signer':\n return {\n LinkSigner: [\n { name: 'sender', type: 'bytes32' },\n { name: 'signer', type: 'bytes32' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'transfer_quote':\n return {\n TransferQuote: [\n { name: 'sender', type: 'bytes32' },\n { name: 'recipient', type: 'bytes32' },\n { name: 'amount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'leaderboard_authentication':\n return {\n LeaderboardAuthentication: [\n { name: 'sender', type: 'bytes32' },\n { name: 'expiration', type: 'uint64' },\n { name: 'contestIds', type: 'uint32[]' },\n ],\n };\n case 'social_authentication':\n return {\n SocialAuthentication: [\n { name: 'sender', type: 'bytes32' },\n { name: 'expiration', type: 'uint64' },\n { name: 'provider', type: 'string' },\n ],\n };\n case 'mint_nlp':\n return {\n MintNlp: [\n { name: 'sender', type: 'bytes32' },\n { name: 'quoteAmount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'burn_nlp':\n return {\n BurnNlp: [\n { name: 'sender', type: 'bytes32' },\n { name: 'nlpAmount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n }\n}\n"],"mappings":";;;;;;;AAYA,SAAgB,mBACd,aACuC;CACvC,QAAQ,aAAR;EACE,KAAK,uBACH,OAAO,EACL,oBAAoB;GAClB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAS;GACpC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,0BACH,OAAO,EACL,sBAAsB;GACpB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAS;GACpC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAS,MAAM;GAAS;GAChC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAY,MAAM;GAAU;EACtC,EACF;EACF,KAAK,eACH,OAAO,EACL,OAAO;GACL;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAY,MAAM;GAAS;GACnC;IAAE,M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AAO,EACL,eAAe;GACb;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAU;GACrC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,8BACH,OAAO,EACL,2BAA2B;GACzB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAc,MAAM;GAAS;GACrC;IAAE,MAAM;IAAc,MAAM;GAAW;EACzC,EACF;EACF,KAAK,yBACH,OAAO,EACL,sBAAsB;GACpB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAc,MAAM;GAAS;GACrC;IAAE,MAAM;IAAY,MAAM;GAAS;EACrC,EACF;EACF,KAAK,YACH,OAAO,EACL,SAAS;GACP;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAe,MAAM;GAAU;GACvC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,YACH,OAAO,EACL,SAAS;GACP;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAU;GACrC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;CACJ;AACF"}
1
+ {"version":3,"file":"getNadoEIP712Types.cjs","names":[],"sources":["../../src/eip712/getNadoEIP712Types.ts"],"sourcesContent":["import { SignableRequestType } from './signableRequestType';\n\ninterface TypedDataField {\n name: string;\n type: string;\n}\n\n/**\n * Return the EIP712 types for a given request\n *\n * @param requestType\n */\nexport function getNadoEIP712Types(\n requestType: SignableRequestType,\n): Record<string, Array<TypedDataField>> {\n switch (requestType) {\n case 'withdraw_collateral':\n return {\n WithdrawCollateral: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productId', type: 'uint32' },\n { name: 'amount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'withdraw_collateral_v2':\n return {\n WithdrawCollateralV2: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productId', type: 'uint32' },\n { name: 'amount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n { name: 'sendTo', type: 'address' },\n { name: 'appendix', type: 'uint128' },\n ],\n };\n case 'place_order':\n return {\n Order: [\n { name: 'sender', type: 'bytes32' },\n { name: 'priceX18', type: 'int128' },\n { name: 'amount', type: 'int128' },\n { name: 'expiration', type: 'uint64' },\n { name: 'nonce', type: 'uint64' },\n { name: 'appendix', type: 'uint128' },\n ],\n };\n case 'list_trigger_orders':\n return {\n ListTriggerOrders: [\n { name: 'sender', type: 'bytes32' },\n { name: 'recvTime', type: 'uint64' },\n ],\n };\n case 'update_dependency':\n return {\n DependencyUpdate: [\n { name: 'sender', type: 'bytes32' },\n { name: 'oldDigest', type: 'bytes32' },\n { name: 'newDigest', type: 'bytes32' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'cancel_orders':\n return {\n Cancellation: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productIds', type: 'uint32[]' },\n { name: 'digests', type: 'bytes32[]' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'cancel_product_orders':\n return {\n CancellationProducts: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productIds', type: 'uint32[]' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'liquidate_subaccount':\n return {\n LiquidateSubaccount: [\n { name: 'sender', type: 'bytes32' },\n { name: 'liquidatee', type: 'bytes32' },\n { name: 'mode', type: 'uint8' },\n { name: 'healthGroup', type: 'uint32' },\n { name: 'amount', type: 'int128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'link_signer':\n return {\n LinkSigner: [\n { name: 'sender', type: 'bytes32' },\n { name: 'signer', type: 'bytes32' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'transfer_quote':\n return {\n TransferQuote: [\n { name: 'sender', type: 'bytes32' },\n { name: 'recipient', type: 'bytes32' },\n { name: 'amount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'leaderboard_authentication':\n return {\n LeaderboardAuthentication: [\n { name: 'sender', type: 'bytes32' },\n { name: 'expiration', type: 'uint64' },\n { name: 'contestIds', type: 'uint32[]' },\n ],\n };\n case 'social_authentication':\n return {\n SocialAuthentication: [\n { name: 'sender', type: 'bytes32' },\n { name: 'expiration', type: 'uint64' },\n { name: 'provider', type: 'string' },\n ],\n };\n case 'mint_nlp':\n return {\n MintNlp: [\n { name: 'sender', type: 'bytes32' },\n { name: 'quoteAmount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'burn_nlp':\n return {\n BurnNlp: [\n { name: 'sender', type: 'bytes32' },\n { name: 'nlpAmount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'nado_authentication':\n return {\n NadoAuthentication: [\n { name: 'method', type: 'string' },\n { name: 'sender', type: 'bytes32' },\n { name: 'payloadHash', type: 'bytes32' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n }\n}\n"],"mappings":";;;;;;;AAYA,SAAgB,mBACd,aACuC;CACvC,QAAQ,aAAR;EACE,KAAK,uBACH,OAAO,EACL,oBAAoB;GAClB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAS;GACpC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,0BACH,OAAO,EACL,sBAAsB;GACpB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAS;GACpC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAS,MAAM;GAAS;GAChC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAY,MAAM;GAAU;EACtC,EACF;EACF,KAAK,eACH,OAAO,EACL,OAAO;GACL;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IA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MAAM;GAAS;EAClC,EACF;EACF,KAAK,kBACH,OAAO,EACL,eAAe;GACb;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAU;GACrC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,8BACH,OAAO,EACL,2BAA2B;GACzB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAc,MAAM;GAAS;GACrC;IAAE,MAAM;IAAc,MAAM;GAAW;EACzC,EACF;EACF,KAAK,yBACH,OAAO,EACL,sBAAsB;GACpB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAc,MAAM;GAAS;GACrC;IAAE,MAAM;IAAY,MAAM;GAAS;EACrC,EACF;EACF,KAAK,YACH,OAAO,EACL,SAAS;GACP;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAe,MAAM;GAAU;GACvC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,YACH,OAAO,EACL,SAAS;GACP;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAU;GACrC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,uBACH,OAAO,EACL,oBAAoB;GAClB;IAAE,MAAM;IAAU,MAAM;GAAS;GACjC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAe,MAAM;GAAU;GACvC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;CACJ;AACF"}
@@ -1,2 +1,2 @@
1
- import { t as getNadoEIP712Types } from "../getNadoEIP712Types-D7duS2wH.cjs";
1
+ import { t as getNadoEIP712Types } from "../getNadoEIP712Types-CJFATDaU.cjs";
2
2
  export { getNadoEIP712Types };
@@ -1,2 +1,2 @@
1
- import { t as getNadoEIP712Types } from "../getNadoEIP712Types-BmB1bTGu.js";
1
+ import { t as getNadoEIP712Types } from "../getNadoEIP712Types-DUE5ujkf.js";
2
2
  export { getNadoEIP712Types };
@@ -247,6 +247,24 @@ function getNadoEIP712Types(requestType) {
247
247
  type: "uint64"
248
248
  }
249
249
  ] };
250
+ case "nado_authentication": return { NadoAuthentication: [
251
+ {
252
+ name: "method",
253
+ type: "string"
254
+ },
255
+ {
256
+ name: "sender",
257
+ type: "bytes32"
258
+ },
259
+ {
260
+ name: "payloadHash",
261
+ type: "bytes32"
262
+ },
263
+ {
264
+ name: "nonce",
265
+ type: "uint64"
266
+ }
267
+ ] };
250
268
  }
251
269
  }
252
270
  //#endregion
@@ -1 +1 @@
1
- {"version":3,"file":"getNadoEIP712Types.js","names":[],"sources":["../../src/eip712/getNadoEIP712Types.ts"],"sourcesContent":["import { SignableRequestType } from './signableRequestType';\n\ninterface TypedDataField {\n name: string;\n type: string;\n}\n\n/**\n * Return the EIP712 types for a given request\n *\n * @param requestType\n */\nexport function getNadoEIP712Types(\n requestType: SignableRequestType,\n): Record<string, Array<TypedDataField>> {\n switch (requestType) {\n case 'withdraw_collateral':\n return {\n WithdrawCollateral: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productId', type: 'uint32' },\n { name: 'amount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'withdraw_collateral_v2':\n return {\n WithdrawCollateralV2: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productId', type: 'uint32' },\n { name: 'amount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n { name: 'sendTo', type: 'address' },\n { name: 'appendix', type: 'uint128' },\n ],\n };\n case 'place_order':\n return {\n Order: [\n { name: 'sender', type: 'bytes32' },\n { name: 'priceX18', type: 'int128' },\n { name: 'amount', type: 'int128' },\n { name: 'expiration', type: 'uint64' },\n { name: 'nonce', type: 'uint64' },\n { name: 'appendix', type: 'uint128' },\n ],\n };\n case 'list_trigger_orders':\n return {\n ListTriggerOrders: [\n { name: 'sender', type: 'bytes32' },\n { name: 'recvTime', type: 'uint64' },\n ],\n };\n case 'update_dependency':\n return {\n DependencyUpdate: [\n { name: 'sender', type: 'bytes32' },\n { name: 'oldDigest', type: 'bytes32' },\n { name: 'newDigest', type: 'bytes32' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'cancel_orders':\n return {\n Cancellation: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productIds', type: 'uint32[]' },\n { name: 'digests', type: 'bytes32[]' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'cancel_product_orders':\n return {\n CancellationProducts: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productIds', type: 'uint32[]' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'liquidate_subaccount':\n return {\n LiquidateSubaccount: [\n { name: 'sender', type: 'bytes32' },\n { name: 'liquidatee', type: 'bytes32' },\n { name: 'mode', type: 'uint8' },\n { name: 'healthGroup', type: 'uint32' },\n { name: 'amount', type: 'int128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'link_signer':\n return {\n LinkSigner: [\n { name: 'sender', type: 'bytes32' },\n { name: 'signer', type: 'bytes32' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'transfer_quote':\n return {\n TransferQuote: [\n { name: 'sender', type: 'bytes32' },\n { name: 'recipient', type: 'bytes32' },\n { name: 'amount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'leaderboard_authentication':\n return {\n LeaderboardAuthentication: [\n { name: 'sender', type: 'bytes32' },\n { name: 'expiration', type: 'uint64' },\n { name: 'contestIds', type: 'uint32[]' },\n ],\n };\n case 'social_authentication':\n return {\n SocialAuthentication: [\n { name: 'sender', type: 'bytes32' },\n { name: 'expiration', type: 'uint64' },\n { name: 'provider', type: 'string' },\n ],\n };\n case 'mint_nlp':\n return {\n MintNlp: [\n { name: 'sender', type: 'bytes32' },\n { name: 'quoteAmount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'burn_nlp':\n return {\n BurnNlp: [\n { name: 'sender', type: 'bytes32' },\n { name: 'nlpAmount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n }\n}\n"],"mappings":";;;;;;AAYA,SAAgB,mBACd,aACuC;CACvC,QAAQ,aAAR;EACE,KAAK,uBACH,OAAO,EACL,oBAAoB;GAClB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAS;GACpC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,0BACH,OAAO,EACL,sBAAsB;GACpB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAS;GACpC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAS,MAAM;GAAS;GAChC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAY,MAAM;GAAU;EACtC,EACF;EACF,KAAK,eACH,OAAO,EACL,OAAO;GACL;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAY,MAAM;GAAS;GACnC;IAAE,MAAM;IAAU,MAAM;GAAS;GACjC;IAAE,MAAM;IAAc,MAAM;GAAS;GACrC;IAAE,MAAM;IAAS,MAAM;GAAS;GAChC;IAAE,MAAM;IAAY,MAAM;GAAU;EACtC,EACF;EACF,KAAK,uBACH,OAAO,EACL,mBAAmB,CACjB;GAAE,MAAM;GAAU,MAAM;EAAU,GAClC;GAAE,MAAM;GAAY,MAAM;EAAS,CACrC,EACF;EACF,KAAK,qBACH,OAAO,EACL,kBAAkB;GAChB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAU;GACrC;IAAE,MAAM;IAAa,MAAM;GAAU;GACrC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,iBAC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S;EACrC,EACF;EACF,KAAK,YACH,OAAO,EACL,SAAS;GACP;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAe,MAAM;GAAU;GACvC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,YACH,OAAO,EACL,SAAS;GACP;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAU;GACrC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;CACJ;AACF"}
1
+ {"version":3,"file":"getNadoEIP712Types.js","names":[],"sources":["../../src/eip712/getNadoEIP712Types.ts"],"sourcesContent":["import { SignableRequestType } from './signableRequestType';\n\ninterface TypedDataField {\n name: string;\n type: string;\n}\n\n/**\n * Return the EIP712 types for a given request\n *\n * @param requestType\n */\nexport function getNadoEIP712Types(\n requestType: SignableRequestType,\n): Record<string, Array<TypedDataField>> {\n switch (requestType) {\n case 'withdraw_collateral':\n return {\n WithdrawCollateral: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productId', type: 'uint32' },\n { name: 'amount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'withdraw_collateral_v2':\n return {\n WithdrawCollateralV2: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productId', type: 'uint32' },\n { name: 'amount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n { name: 'sendTo', type: 'address' },\n { name: 'appendix', type: 'uint128' },\n ],\n };\n case 'place_order':\n return {\n Order: [\n { name: 'sender', type: 'bytes32' },\n { name: 'priceX18', type: 'int128' },\n { name: 'amount', type: 'int128' },\n { name: 'expiration', type: 'uint64' },\n { name: 'nonce', type: 'uint64' },\n { name: 'appendix', type: 'uint128' },\n ],\n };\n case 'list_trigger_orders':\n return {\n ListTriggerOrders: [\n { name: 'sender', type: 'bytes32' },\n { name: 'recvTime', type: 'uint64' },\n ],\n };\n case 'update_dependency':\n return {\n DependencyUpdate: [\n { name: 'sender', type: 'bytes32' },\n { name: 'oldDigest', type: 'bytes32' },\n { name: 'newDigest', type: 'bytes32' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'cancel_orders':\n return {\n Cancellation: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productIds', type: 'uint32[]' },\n { name: 'digests', type: 'bytes32[]' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'cancel_product_orders':\n return {\n CancellationProducts: [\n { name: 'sender', type: 'bytes32' },\n { name: 'productIds', type: 'uint32[]' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'liquidate_subaccount':\n return {\n LiquidateSubaccount: [\n { name: 'sender', type: 'bytes32' },\n { name: 'liquidatee', type: 'bytes32' },\n { name: 'mode', type: 'uint8' },\n { name: 'healthGroup', type: 'uint32' },\n { name: 'amount', type: 'int128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'link_signer':\n return {\n LinkSigner: [\n { name: 'sender', type: 'bytes32' },\n { name: 'signer', type: 'bytes32' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'transfer_quote':\n return {\n TransferQuote: [\n { name: 'sender', type: 'bytes32' },\n { name: 'recipient', type: 'bytes32' },\n { name: 'amount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'leaderboard_authentication':\n return {\n LeaderboardAuthentication: [\n { name: 'sender', type: 'bytes32' },\n { name: 'expiration', type: 'uint64' },\n { name: 'contestIds', type: 'uint32[]' },\n ],\n };\n case 'social_authentication':\n return {\n SocialAuthentication: [\n { name: 'sender', type: 'bytes32' },\n { name: 'expiration', type: 'uint64' },\n { name: 'provider', type: 'string' },\n ],\n };\n case 'mint_nlp':\n return {\n MintNlp: [\n { name: 'sender', type: 'bytes32' },\n { name: 'quoteAmount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'burn_nlp':\n return {\n BurnNlp: [\n { name: 'sender', type: 'bytes32' },\n { name: 'nlpAmount', type: 'uint128' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n case 'nado_authentication':\n return {\n NadoAuthentication: [\n { name: 'method', type: 'string' },\n { name: 'sender', type: 'bytes32' },\n { name: 'payloadHash', type: 'bytes32' },\n { name: 'nonce', type: 'uint64' },\n ],\n };\n }\n}\n"],"mappings":";;;;;;AAYA,SAAgB,mBACd,aACuC;CACvC,QAAQ,aAAR;EACE,KAAK,uBACH,OAAO,EACL,oBAAoB;GAClB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAS;GACpC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,0BACH,OAAO,EACL,sBAAsB;GACpB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAS;GACpC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAS,MAAM;GAAS;GAChC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAY,MAAM;GAAU;EACtC,EACF;EACF,KAAK,eACH,OAAO,EACL,OAAO;GACL;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAY,MAAM;GAAS;GACnC;IAAE,MAAM;IAAU,MAAM;GAAS;GACjC;IAAE,MAAM;IAAc,MAAM;GAAS;GACrC;IAAE,MAAM;IAAS,MAAM;GAAS;GAChC;IAAE,MAAM;IAAY,MAAM;GAAU;EACtC,EACF;EACF,KAAK,uBACH,OAAO,EACL,mBAAmB,CACjB;GAAE,MAAM;GAAU,MAAM;EAAU,GAClC;GAAE,MAAM;GAAY,MAAM;EAAS,CACrC,EACF;EACF,KAAK,qBACH,OAAO,EACL,kBAAkB;GAChB;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAU;GACrC;IAAE,MAAM;IAAa,MAAM;GAAU;GACrC;IAAE,MAAM;IAAS,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AS;GACrC;IAAE,MAAM;IAAY,MAAM;GAAS;EACrC,EACF;EACF,KAAK,YACH,OAAO,EACL,SAAS;GACP;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAe,MAAM;GAAU;GACvC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,YACH,OAAO,EACL,SAAS;GACP;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAa,MAAM;GAAU;GACrC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;EACF,KAAK,uBACH,OAAO,EACL,oBAAoB;GAClB;IAAE,MAAM;IAAU,MAAM;GAAS;GACjC;IAAE,MAAM;IAAU,MAAM;GAAU;GAClC;IAAE,MAAM;IAAe,MAAM;GAAU;GACvC;IAAE,MAAM;IAAS,MAAM;GAAS;EAClC,EACF;CACJ;AACF"}
@@ -56,6 +56,9 @@ function getNadoEIP712Values(requestType, params) {
56
56
  case "burn_nlp":
57
57
  values = getBurnNlpValues(params);
58
58
  break;
59
+ case "nado_authentication":
60
+ values = getNadoAuthenticationValues(params);
61
+ break;
59
62
  default: throw new Error(`Unsupported request type: ${requestType}`);
60
63
  }
61
64
  return values;
@@ -218,6 +221,17 @@ function getBurnNlpValues(params) {
218
221
  nonce: params.nonce
219
222
  };
220
223
  }
224
+ function getNadoAuthenticationValues(params) {
225
+ return {
226
+ method: params.method,
227
+ sender: require_utils_bytes32.subaccountToHex({
228
+ subaccountOwner: params.subaccountOwner,
229
+ subaccountName: params.subaccountName
230
+ }),
231
+ payloadHash: params.payloadHash,
232
+ nonce: params.nonce
233
+ };
234
+ }
221
235
  //#endregion
222
236
  exports.getNadoEIP712Values = getNadoEIP712Values;
223
237