xrpl 2.9.0-beta.0 → 2.9.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 (526) hide show
  1. package/build/xrpl-latest-min.js +1 -1
  2. package/build/xrpl-latest-min.js.map +1 -1
  3. package/build/xrpl-latest.js +297 -1076
  4. package/build/xrpl-latest.js.map +1 -1
  5. package/dist/npm/Wallet/fundWallet.d.ts +2 -1
  6. package/dist/npm/Wallet/fundWallet.d.ts.map +1 -1
  7. package/dist/npm/Wallet/fundWallet.js +4 -5
  8. package/dist/npm/Wallet/fundWallet.js.map +1 -1
  9. package/dist/npm/Wallet/index.d.ts +1 -2
  10. package/dist/npm/Wallet/index.d.ts.map +1 -1
  11. package/dist/npm/Wallet/index.js +2 -1
  12. package/dist/npm/Wallet/index.js.map +1 -1
  13. package/dist/npm/Wallet/signer.d.ts +1 -1
  14. package/dist/npm/Wallet/signer.d.ts.map +1 -1
  15. package/dist/npm/Wallet/signer.js +6 -7
  16. package/dist/npm/Wallet/signer.js.map +1 -1
  17. package/dist/npm/client/BroadcastClient.d.ts +1 -1
  18. package/dist/npm/client/BroadcastClient.d.ts.map +1 -1
  19. package/dist/npm/client/BroadcastClient.js +2 -1
  20. package/dist/npm/client/BroadcastClient.js.map +1 -1
  21. package/dist/npm/client/index.d.ts +4 -2
  22. package/dist/npm/client/index.d.ts.map +1 -1
  23. package/dist/npm/client/index.js +21 -3
  24. package/dist/npm/client/index.js.map +1 -1
  25. package/dist/npm/client/partialPayment.d.ts.map +1 -1
  26. package/dist/npm/client/partialPayment.js.map +1 -1
  27. package/dist/npm/index.d.ts +3 -2
  28. package/dist/npm/index.d.ts.map +1 -1
  29. package/dist/npm/index.js +5 -3
  30. package/dist/npm/index.js.map +1 -1
  31. package/dist/npm/models/common/index.d.ts +7 -9
  32. package/dist/npm/models/common/index.d.ts.map +1 -1
  33. package/dist/npm/models/ledger/AccountRoot.d.ts +5 -2
  34. package/dist/npm/models/ledger/AccountRoot.d.ts.map +1 -1
  35. package/dist/npm/models/ledger/AccountRoot.js +0 -1
  36. package/dist/npm/models/ledger/AccountRoot.js.map +1 -1
  37. package/dist/npm/models/ledger/Amendments.d.ts +2 -2
  38. package/dist/npm/models/ledger/Amendments.d.ts.map +1 -1
  39. package/dist/npm/models/ledger/Amendments.js +2 -0
  40. package/dist/npm/models/ledger/Amendments.js.map +1 -1
  41. package/dist/npm/models/ledger/Escrow.d.ts +1 -3
  42. package/dist/npm/models/ledger/Escrow.d.ts.map +1 -1
  43. package/dist/npm/models/ledger/FeeSettings.d.ts +13 -3
  44. package/dist/npm/models/ledger/FeeSettings.d.ts.map +1 -1
  45. package/dist/npm/models/ledger/FeeSettings.js +2 -0
  46. package/dist/npm/models/ledger/FeeSettings.js.map +1 -1
  47. package/dist/npm/models/ledger/LedgerEntry.d.ts +1 -5
  48. package/dist/npm/models/ledger/LedgerEntry.d.ts.map +1 -1
  49. package/dist/npm/models/ledger/NFTokenOffer.d.ts +15 -0
  50. package/dist/npm/models/ledger/NFTokenOffer.d.ts.map +1 -0
  51. package/dist/npm/models/ledger/NFTokenOffer.js +3 -0
  52. package/dist/npm/models/ledger/NFTokenOffer.js.map +1 -0
  53. package/dist/npm/models/ledger/NFTokenPage.d.ts +19 -0
  54. package/dist/npm/models/ledger/NFTokenPage.d.ts.map +1 -0
  55. package/dist/npm/models/ledger/NFTokenPage.js +3 -0
  56. package/dist/npm/models/ledger/NFTokenPage.js.map +1 -0
  57. package/dist/npm/models/ledger/NegativeUNL.d.ts +5 -6
  58. package/dist/npm/models/ledger/NegativeUNL.d.ts.map +1 -1
  59. package/dist/npm/models/ledger/NegativeUNL.js +2 -0
  60. package/dist/npm/models/ledger/NegativeUNL.js.map +1 -1
  61. package/dist/npm/models/ledger/PayChannel.d.ts +2 -4
  62. package/dist/npm/models/ledger/PayChannel.d.ts.map +1 -1
  63. package/dist/npm/models/ledger/SignerList.d.ts +1 -7
  64. package/dist/npm/models/ledger/SignerList.d.ts.map +1 -1
  65. package/dist/npm/models/ledger/SignerList.js.map +1 -1
  66. package/dist/npm/models/ledger/index.d.ts +6 -7
  67. package/dist/npm/models/ledger/index.d.ts.map +1 -1
  68. package/dist/npm/models/ledger/index.js +7 -1
  69. package/dist/npm/models/ledger/index.js.map +1 -1
  70. package/dist/npm/models/methods/accountChannels.d.ts +4 -9
  71. package/dist/npm/models/methods/accountChannels.d.ts.map +1 -1
  72. package/dist/npm/models/methods/accountCurrencies.d.ts +2 -5
  73. package/dist/npm/models/methods/accountCurrencies.d.ts.map +1 -1
  74. package/dist/npm/models/methods/accountInfo.d.ts +22 -10
  75. package/dist/npm/models/methods/accountInfo.d.ts.map +1 -1
  76. package/dist/npm/models/methods/accountLines.d.ts +4 -9
  77. package/dist/npm/models/methods/accountLines.d.ts.map +1 -1
  78. package/dist/npm/models/methods/accountNFTs.d.ts +2 -2
  79. package/dist/npm/models/methods/accountNFTs.d.ts.map +1 -1
  80. package/dist/npm/models/methods/accountObjects.d.ts +5 -9
  81. package/dist/npm/models/methods/accountObjects.d.ts.map +1 -1
  82. package/dist/npm/models/methods/accountOffers.d.ts +3 -5
  83. package/dist/npm/models/methods/accountOffers.d.ts.map +1 -1
  84. package/dist/npm/models/methods/accountTx.d.ts +5 -8
  85. package/dist/npm/models/methods/accountTx.d.ts.map +1 -1
  86. package/dist/npm/models/methods/baseMethod.d.ts +7 -3
  87. package/dist/npm/models/methods/baseMethod.d.ts.map +1 -1
  88. package/dist/npm/models/methods/bookOffers.d.ts +6 -8
  89. package/dist/npm/models/methods/bookOffers.d.ts.map +1 -1
  90. package/dist/npm/models/methods/depositAuthorized.d.ts +2 -5
  91. package/dist/npm/models/methods/depositAuthorized.d.ts.map +1 -1
  92. package/dist/npm/models/methods/gatewayBalances.d.ts +5 -9
  93. package/dist/npm/models/methods/gatewayBalances.d.ts.map +1 -1
  94. package/dist/npm/models/methods/index.d.ts +20 -21
  95. package/dist/npm/models/methods/index.d.ts.map +1 -1
  96. package/dist/npm/models/methods/ledger.d.ts +10 -15
  97. package/dist/npm/models/methods/ledger.d.ts.map +1 -1
  98. package/dist/npm/models/methods/ledgerData.d.ts +7 -11
  99. package/dist/npm/models/methods/ledgerData.d.ts.map +1 -1
  100. package/dist/npm/models/methods/ledgerEntry.d.ts +3 -30
  101. package/dist/npm/models/methods/ledgerEntry.d.ts.map +1 -1
  102. package/dist/npm/models/methods/nftBuyOffers.d.ts +2 -2
  103. package/dist/npm/models/methods/nftBuyOffers.d.ts.map +1 -1
  104. package/dist/npm/models/methods/nftHistory.d.ts +5 -8
  105. package/dist/npm/models/methods/nftHistory.d.ts.map +1 -1
  106. package/dist/npm/models/methods/nftInfo.d.ts +3 -5
  107. package/dist/npm/models/methods/nftInfo.d.ts.map +1 -1
  108. package/dist/npm/models/methods/nftSellOffers.d.ts +2 -2
  109. package/dist/npm/models/methods/nftSellOffers.d.ts.map +1 -1
  110. package/dist/npm/models/methods/pathFind.d.ts +2 -2
  111. package/dist/npm/models/methods/pathFind.d.ts.map +1 -1
  112. package/dist/npm/models/methods/ripplePathFind.d.ts +7 -10
  113. package/dist/npm/models/methods/ripplePathFind.d.ts.map +1 -1
  114. package/dist/npm/models/methods/serverInfo.d.ts +1 -0
  115. package/dist/npm/models/methods/serverInfo.d.ts.map +1 -1
  116. package/dist/npm/models/methods/subscribe.d.ts +5 -5
  117. package/dist/npm/models/methods/subscribe.d.ts.map +1 -1
  118. package/dist/npm/models/methods/transactionEntry.d.ts +3 -5
  119. package/dist/npm/models/methods/transactionEntry.d.ts.map +1 -1
  120. package/dist/npm/models/methods/tx.d.ts.map +1 -1
  121. package/dist/npm/models/methods/unsubscribe.d.ts +2 -3
  122. package/dist/npm/models/methods/unsubscribe.d.ts.map +1 -1
  123. package/dist/npm/models/transactions/UNLModify.d.ts +7 -0
  124. package/dist/npm/models/transactions/UNLModify.d.ts.map +1 -0
  125. package/dist/npm/models/{ledger/AMM.js → transactions/UNLModify.js} +1 -1
  126. package/dist/npm/models/transactions/UNLModify.js.map +1 -0
  127. package/dist/npm/models/transactions/common.d.ts +2 -3
  128. package/dist/npm/models/transactions/common.d.ts.map +1 -1
  129. package/dist/npm/models/transactions/common.js +4 -22
  130. package/dist/npm/models/transactions/common.js.map +1 -1
  131. package/dist/npm/models/transactions/enableAmendment.d.ts +11 -0
  132. package/dist/npm/models/transactions/enableAmendment.d.ts.map +1 -0
  133. package/dist/npm/models/transactions/enableAmendment.js +9 -0
  134. package/dist/npm/models/transactions/enableAmendment.js.map +1 -0
  135. package/dist/npm/models/transactions/escrowCreate.d.ts +1 -2
  136. package/dist/npm/models/transactions/escrowCreate.d.ts.map +1 -1
  137. package/dist/npm/models/transactions/escrowCreate.js +2 -2
  138. package/dist/npm/models/transactions/escrowCreate.js.map +1 -1
  139. package/dist/npm/models/transactions/index.d.ts +5 -14
  140. package/dist/npm/models/transactions/index.d.ts.map +1 -1
  141. package/dist/npm/models/transactions/index.js +18 -7
  142. package/dist/npm/models/transactions/index.js.map +1 -1
  143. package/dist/npm/models/transactions/paymentChannelClaim.d.ts +2 -3
  144. package/dist/npm/models/transactions/paymentChannelClaim.d.ts.map +1 -1
  145. package/dist/npm/models/transactions/paymentChannelClaim.js +4 -4
  146. package/dist/npm/models/transactions/paymentChannelClaim.js.map +1 -1
  147. package/dist/npm/models/transactions/paymentChannelCreate.d.ts +1 -2
  148. package/dist/npm/models/transactions/paymentChannelCreate.d.ts.map +1 -1
  149. package/dist/npm/models/transactions/paymentChannelCreate.js +2 -2
  150. package/dist/npm/models/transactions/paymentChannelCreate.js.map +1 -1
  151. package/dist/npm/models/transactions/paymentChannelFund.d.ts +1 -2
  152. package/dist/npm/models/transactions/paymentChannelFund.d.ts.map +1 -1
  153. package/dist/npm/models/transactions/paymentChannelFund.js +2 -2
  154. package/dist/npm/models/transactions/paymentChannelFund.js.map +1 -1
  155. package/dist/npm/models/transactions/setFee.d.ts +16 -0
  156. package/dist/npm/models/transactions/setFee.d.ts.map +1 -0
  157. package/dist/npm/models/{ledger/Bridge.js → transactions/setFee.js} +1 -1
  158. package/dist/npm/models/transactions/setFee.js.map +1 -0
  159. package/dist/npm/models/transactions/signerListSet.d.ts +1 -1
  160. package/dist/npm/models/transactions/signerListSet.d.ts.map +1 -1
  161. package/dist/npm/models/transactions/signerListSet.js +3 -0
  162. package/dist/npm/models/transactions/signerListSet.js.map +1 -1
  163. package/dist/npm/models/transactions/transaction.d.ts +1 -14
  164. package/dist/npm/models/transactions/transaction.d.ts.map +1 -1
  165. package/dist/npm/models/transactions/transaction.js +0 -52
  166. package/dist/npm/models/transactions/transaction.js.map +1 -1
  167. package/dist/npm/models/utils/flags.d.ts.map +1 -1
  168. package/dist/npm/models/utils/flags.js +21 -18
  169. package/dist/npm/models/utils/flags.js.map +1 -1
  170. package/dist/npm/snippets/src/getTransaction.js +1 -1
  171. package/dist/npm/snippets/src/getTransaction.js.map +1 -1
  172. package/dist/npm/snippets/src/multisigning.js +5 -3
  173. package/dist/npm/snippets/src/multisigning.js.map +1 -1
  174. package/dist/npm/snippets/src/partialPayment.js +6 -2
  175. package/dist/npm/snippets/src/partialPayment.js.map +1 -1
  176. package/dist/npm/snippets/src/paths.js +3 -1
  177. package/dist/npm/snippets/src/paths.js.map +1 -1
  178. package/dist/npm/snippets/src/reliableTransactionSubmission.js +6 -2
  179. package/dist/npm/snippets/src/reliableTransactionSubmission.js.map +1 -1
  180. package/dist/npm/snippets/src/sendEscrow.js +6 -2
  181. package/dist/npm/snippets/src/sendEscrow.js.map +1 -1
  182. package/dist/npm/snippets/src/setRegularKey.js +9 -3
  183. package/dist/npm/snippets/src/setRegularKey.js.map +1 -1
  184. package/dist/npm/snippets/tsconfig.tsbuildinfo +1 -1
  185. package/dist/npm/src/Wallet/fundWallet.d.ts +2 -1
  186. package/dist/npm/src/Wallet/fundWallet.d.ts.map +1 -1
  187. package/dist/npm/src/Wallet/fundWallet.js +4 -5
  188. package/dist/npm/src/Wallet/fundWallet.js.map +1 -1
  189. package/dist/npm/src/Wallet/index.d.ts +1 -2
  190. package/dist/npm/src/Wallet/index.d.ts.map +1 -1
  191. package/dist/npm/src/Wallet/index.js +2 -1
  192. package/dist/npm/src/Wallet/index.js.map +1 -1
  193. package/dist/npm/src/Wallet/signer.d.ts +1 -1
  194. package/dist/npm/src/Wallet/signer.d.ts.map +1 -1
  195. package/dist/npm/src/Wallet/signer.js +6 -7
  196. package/dist/npm/src/Wallet/signer.js.map +1 -1
  197. package/dist/npm/src/client/BroadcastClient.d.ts +1 -1
  198. package/dist/npm/src/client/BroadcastClient.d.ts.map +1 -1
  199. package/dist/npm/src/client/BroadcastClient.js +2 -1
  200. package/dist/npm/src/client/BroadcastClient.js.map +1 -1
  201. package/dist/npm/src/client/index.d.ts +4 -2
  202. package/dist/npm/src/client/index.d.ts.map +1 -1
  203. package/dist/npm/src/client/index.js +21 -3
  204. package/dist/npm/src/client/index.js.map +1 -1
  205. package/dist/npm/src/client/partialPayment.d.ts.map +1 -1
  206. package/dist/npm/src/client/partialPayment.js.map +1 -1
  207. package/dist/npm/src/index.d.ts +3 -2
  208. package/dist/npm/src/index.d.ts.map +1 -1
  209. package/dist/npm/src/index.js +5 -3
  210. package/dist/npm/src/index.js.map +1 -1
  211. package/dist/npm/src/models/common/index.d.ts +7 -9
  212. package/dist/npm/src/models/common/index.d.ts.map +1 -1
  213. package/dist/npm/src/models/ledger/AccountRoot.d.ts +5 -2
  214. package/dist/npm/src/models/ledger/AccountRoot.d.ts.map +1 -1
  215. package/dist/npm/src/models/ledger/AccountRoot.js +0 -1
  216. package/dist/npm/src/models/ledger/AccountRoot.js.map +1 -1
  217. package/dist/npm/src/models/ledger/Amendments.d.ts +2 -2
  218. package/dist/npm/src/models/ledger/Amendments.d.ts.map +1 -1
  219. package/dist/npm/src/models/ledger/Amendments.js +2 -0
  220. package/dist/npm/src/models/ledger/Amendments.js.map +1 -1
  221. package/dist/npm/src/models/ledger/Escrow.d.ts +1 -3
  222. package/dist/npm/src/models/ledger/Escrow.d.ts.map +1 -1
  223. package/dist/npm/src/models/ledger/FeeSettings.d.ts +13 -3
  224. package/dist/npm/src/models/ledger/FeeSettings.d.ts.map +1 -1
  225. package/dist/npm/src/models/ledger/FeeSettings.js +2 -0
  226. package/dist/npm/src/models/ledger/FeeSettings.js.map +1 -1
  227. package/dist/npm/src/models/ledger/LedgerEntry.d.ts +1 -5
  228. package/dist/npm/src/models/ledger/LedgerEntry.d.ts.map +1 -1
  229. package/dist/npm/src/models/ledger/NFTokenOffer.d.ts +15 -0
  230. package/dist/npm/src/models/ledger/NFTokenOffer.d.ts.map +1 -0
  231. package/dist/npm/src/models/ledger/NFTokenOffer.js +3 -0
  232. package/dist/npm/src/models/ledger/NFTokenOffer.js.map +1 -0
  233. package/dist/npm/src/models/ledger/NFTokenPage.d.ts +19 -0
  234. package/dist/npm/src/models/ledger/NFTokenPage.d.ts.map +1 -0
  235. package/dist/npm/src/models/ledger/NFTokenPage.js +3 -0
  236. package/dist/npm/src/models/ledger/NFTokenPage.js.map +1 -0
  237. package/dist/npm/src/models/ledger/NegativeUNL.d.ts +5 -6
  238. package/dist/npm/src/models/ledger/NegativeUNL.d.ts.map +1 -1
  239. package/dist/npm/src/models/ledger/NegativeUNL.js +2 -0
  240. package/dist/npm/src/models/ledger/NegativeUNL.js.map +1 -1
  241. package/dist/npm/src/models/ledger/PayChannel.d.ts +2 -4
  242. package/dist/npm/src/models/ledger/PayChannel.d.ts.map +1 -1
  243. package/dist/npm/src/models/ledger/SignerList.d.ts +1 -7
  244. package/dist/npm/src/models/ledger/SignerList.d.ts.map +1 -1
  245. package/dist/npm/src/models/ledger/SignerList.js.map +1 -1
  246. package/dist/npm/src/models/ledger/index.d.ts +6 -7
  247. package/dist/npm/src/models/ledger/index.d.ts.map +1 -1
  248. package/dist/npm/src/models/ledger/index.js +7 -1
  249. package/dist/npm/src/models/ledger/index.js.map +1 -1
  250. package/dist/npm/src/models/methods/accountChannels.d.ts +4 -9
  251. package/dist/npm/src/models/methods/accountChannels.d.ts.map +1 -1
  252. package/dist/npm/src/models/methods/accountCurrencies.d.ts +2 -5
  253. package/dist/npm/src/models/methods/accountCurrencies.d.ts.map +1 -1
  254. package/dist/npm/src/models/methods/accountInfo.d.ts +22 -10
  255. package/dist/npm/src/models/methods/accountInfo.d.ts.map +1 -1
  256. package/dist/npm/src/models/methods/accountLines.d.ts +4 -9
  257. package/dist/npm/src/models/methods/accountLines.d.ts.map +1 -1
  258. package/dist/npm/src/models/methods/accountNFTs.d.ts +2 -2
  259. package/dist/npm/src/models/methods/accountNFTs.d.ts.map +1 -1
  260. package/dist/npm/src/models/methods/accountObjects.d.ts +5 -9
  261. package/dist/npm/src/models/methods/accountObjects.d.ts.map +1 -1
  262. package/dist/npm/src/models/methods/accountOffers.d.ts +3 -5
  263. package/dist/npm/src/models/methods/accountOffers.d.ts.map +1 -1
  264. package/dist/npm/src/models/methods/accountTx.d.ts +5 -8
  265. package/dist/npm/src/models/methods/accountTx.d.ts.map +1 -1
  266. package/dist/npm/src/models/methods/baseMethod.d.ts +7 -3
  267. package/dist/npm/src/models/methods/baseMethod.d.ts.map +1 -1
  268. package/dist/npm/src/models/methods/bookOffers.d.ts +6 -8
  269. package/dist/npm/src/models/methods/bookOffers.d.ts.map +1 -1
  270. package/dist/npm/src/models/methods/depositAuthorized.d.ts +2 -5
  271. package/dist/npm/src/models/methods/depositAuthorized.d.ts.map +1 -1
  272. package/dist/npm/src/models/methods/gatewayBalances.d.ts +5 -9
  273. package/dist/npm/src/models/methods/gatewayBalances.d.ts.map +1 -1
  274. package/dist/npm/src/models/methods/index.d.ts +20 -21
  275. package/dist/npm/src/models/methods/index.d.ts.map +1 -1
  276. package/dist/npm/src/models/methods/ledger.d.ts +10 -15
  277. package/dist/npm/src/models/methods/ledger.d.ts.map +1 -1
  278. package/dist/npm/src/models/methods/ledgerData.d.ts +7 -11
  279. package/dist/npm/src/models/methods/ledgerData.d.ts.map +1 -1
  280. package/dist/npm/src/models/methods/ledgerEntry.d.ts +3 -30
  281. package/dist/npm/src/models/methods/ledgerEntry.d.ts.map +1 -1
  282. package/dist/npm/src/models/methods/nftBuyOffers.d.ts +2 -2
  283. package/dist/npm/src/models/methods/nftBuyOffers.d.ts.map +1 -1
  284. package/dist/npm/src/models/methods/nftHistory.d.ts +5 -8
  285. package/dist/npm/src/models/methods/nftHistory.d.ts.map +1 -1
  286. package/dist/npm/src/models/methods/nftInfo.d.ts +3 -5
  287. package/dist/npm/src/models/methods/nftInfo.d.ts.map +1 -1
  288. package/dist/npm/src/models/methods/nftSellOffers.d.ts +2 -2
  289. package/dist/npm/src/models/methods/nftSellOffers.d.ts.map +1 -1
  290. package/dist/npm/src/models/methods/pathFind.d.ts +2 -2
  291. package/dist/npm/src/models/methods/pathFind.d.ts.map +1 -1
  292. package/dist/npm/src/models/methods/ripplePathFind.d.ts +7 -10
  293. package/dist/npm/src/models/methods/ripplePathFind.d.ts.map +1 -1
  294. package/dist/npm/src/models/methods/serverInfo.d.ts +1 -0
  295. package/dist/npm/src/models/methods/serverInfo.d.ts.map +1 -1
  296. package/dist/npm/src/models/methods/subscribe.d.ts +5 -5
  297. package/dist/npm/src/models/methods/subscribe.d.ts.map +1 -1
  298. package/dist/npm/src/models/methods/transactionEntry.d.ts +3 -5
  299. package/dist/npm/src/models/methods/transactionEntry.d.ts.map +1 -1
  300. package/dist/npm/src/models/methods/tx.d.ts.map +1 -1
  301. package/dist/npm/src/models/methods/unsubscribe.d.ts +2 -3
  302. package/dist/npm/src/models/methods/unsubscribe.d.ts.map +1 -1
  303. package/dist/npm/src/models/transactions/UNLModify.d.ts +7 -0
  304. package/dist/npm/src/models/transactions/UNLModify.d.ts.map +1 -0
  305. package/dist/npm/{models/methods/ammInfo.js → src/models/transactions/UNLModify.js} +1 -1
  306. package/dist/npm/src/models/transactions/UNLModify.js.map +1 -0
  307. package/dist/npm/src/models/transactions/common.d.ts +2 -3
  308. package/dist/npm/src/models/transactions/common.d.ts.map +1 -1
  309. package/dist/npm/src/models/transactions/common.js +4 -22
  310. package/dist/npm/src/models/transactions/common.js.map +1 -1
  311. package/dist/npm/src/models/transactions/enableAmendment.d.ts +11 -0
  312. package/dist/npm/src/models/transactions/enableAmendment.d.ts.map +1 -0
  313. package/dist/npm/src/models/transactions/enableAmendment.js +9 -0
  314. package/dist/npm/src/models/transactions/enableAmendment.js.map +1 -0
  315. package/dist/npm/src/models/transactions/escrowCreate.d.ts +1 -2
  316. package/dist/npm/src/models/transactions/escrowCreate.d.ts.map +1 -1
  317. package/dist/npm/src/models/transactions/escrowCreate.js +2 -2
  318. package/dist/npm/src/models/transactions/escrowCreate.js.map +1 -1
  319. package/dist/npm/src/models/transactions/index.d.ts +5 -14
  320. package/dist/npm/src/models/transactions/index.d.ts.map +1 -1
  321. package/dist/npm/src/models/transactions/index.js +18 -7
  322. package/dist/npm/src/models/transactions/index.js.map +1 -1
  323. package/dist/npm/src/models/transactions/paymentChannelClaim.d.ts +2 -3
  324. package/dist/npm/src/models/transactions/paymentChannelClaim.d.ts.map +1 -1
  325. package/dist/npm/src/models/transactions/paymentChannelClaim.js +4 -4
  326. package/dist/npm/src/models/transactions/paymentChannelClaim.js.map +1 -1
  327. package/dist/npm/src/models/transactions/paymentChannelCreate.d.ts +1 -2
  328. package/dist/npm/src/models/transactions/paymentChannelCreate.d.ts.map +1 -1
  329. package/dist/npm/src/models/transactions/paymentChannelCreate.js +2 -2
  330. package/dist/npm/src/models/transactions/paymentChannelCreate.js.map +1 -1
  331. package/dist/npm/src/models/transactions/paymentChannelFund.d.ts +1 -2
  332. package/dist/npm/src/models/transactions/paymentChannelFund.d.ts.map +1 -1
  333. package/dist/npm/src/models/transactions/paymentChannelFund.js +2 -2
  334. package/dist/npm/src/models/transactions/paymentChannelFund.js.map +1 -1
  335. package/dist/npm/src/models/transactions/setFee.d.ts +16 -0
  336. package/dist/npm/src/models/transactions/setFee.d.ts.map +1 -0
  337. package/dist/npm/src/models/{ledger/AMM.js → transactions/setFee.js} +1 -1
  338. package/dist/npm/src/models/transactions/setFee.js.map +1 -0
  339. package/dist/npm/src/models/transactions/signerListSet.d.ts +1 -1
  340. package/dist/npm/src/models/transactions/signerListSet.d.ts.map +1 -1
  341. package/dist/npm/src/models/transactions/signerListSet.js +3 -0
  342. package/dist/npm/src/models/transactions/signerListSet.js.map +1 -1
  343. package/dist/npm/src/models/transactions/transaction.d.ts +1 -14
  344. package/dist/npm/src/models/transactions/transaction.d.ts.map +1 -1
  345. package/dist/npm/src/models/transactions/transaction.js +0 -52
  346. package/dist/npm/src/models/transactions/transaction.js.map +1 -1
  347. package/dist/npm/src/models/utils/flags.d.ts.map +1 -1
  348. package/dist/npm/src/models/utils/flags.js +21 -18
  349. package/dist/npm/src/models/utils/flags.js.map +1 -1
  350. package/dist/npm/src/sugar/autofill.d.ts.map +1 -1
  351. package/dist/npm/src/sugar/autofill.js +59 -4
  352. package/dist/npm/src/sugar/autofill.js.map +1 -1
  353. package/dist/npm/src/sugar/balances.d.ts +1 -1
  354. package/dist/npm/src/sugar/balances.d.ts.map +1 -1
  355. package/dist/npm/src/sugar/balances.js.map +1 -1
  356. package/dist/npm/src/sugar/getOrderbook.d.ts +2 -2
  357. package/dist/npm/src/sugar/getOrderbook.d.ts.map +1 -1
  358. package/dist/npm/src/sugar/getOrderbook.js.map +1 -1
  359. package/dist/npm/src/sugar/utils.d.ts.map +1 -1
  360. package/dist/npm/src/sugar/utils.js.map +1 -1
  361. package/dist/npm/src/utils/getBalanceChanges.d.ts +2 -6
  362. package/dist/npm/src/utils/getBalanceChanges.d.ts.map +1 -1
  363. package/dist/npm/src/utils/getBalanceChanges.js.map +1 -1
  364. package/dist/npm/src/utils/getNFTokenID.d.ts +1 -1
  365. package/dist/npm/src/utils/getNFTokenID.d.ts.map +1 -1
  366. package/dist/npm/src/utils/getNFTokenID.js +12 -4
  367. package/dist/npm/src/utils/getNFTokenID.js.map +1 -1
  368. package/dist/npm/sugar/autofill.d.ts.map +1 -1
  369. package/dist/npm/sugar/autofill.js +59 -4
  370. package/dist/npm/sugar/autofill.js.map +1 -1
  371. package/dist/npm/sugar/balances.d.ts +1 -1
  372. package/dist/npm/sugar/balances.d.ts.map +1 -1
  373. package/dist/npm/sugar/balances.js.map +1 -1
  374. package/dist/npm/sugar/getOrderbook.d.ts +2 -2
  375. package/dist/npm/sugar/getOrderbook.d.ts.map +1 -1
  376. package/dist/npm/sugar/getOrderbook.js.map +1 -1
  377. package/dist/npm/sugar/utils.d.ts.map +1 -1
  378. package/dist/npm/sugar/utils.js.map +1 -1
  379. package/dist/npm/utils/getBalanceChanges.d.ts +2 -6
  380. package/dist/npm/utils/getBalanceChanges.d.ts.map +1 -1
  381. package/dist/npm/utils/getBalanceChanges.js.map +1 -1
  382. package/dist/npm/utils/getNFTokenID.d.ts +1 -1
  383. package/dist/npm/utils/getNFTokenID.d.ts.map +1 -1
  384. package/dist/npm/utils/getNFTokenID.js +12 -4
  385. package/dist/npm/utils/getNFTokenID.js.map +1 -1
  386. package/package.json +5 -5
  387. package/dist/npm/models/ledger/AMM.d.ts +0 -39
  388. package/dist/npm/models/ledger/AMM.d.ts.map +0 -1
  389. package/dist/npm/models/ledger/AMM.js.map +0 -1
  390. package/dist/npm/models/ledger/Bridge.d.ts +0 -17
  391. package/dist/npm/models/ledger/Bridge.d.ts.map +0 -1
  392. package/dist/npm/models/ledger/Bridge.js.map +0 -1
  393. package/dist/npm/models/ledger/XChainOwnedClaimID.d.ts +0 -16
  394. package/dist/npm/models/ledger/XChainOwnedClaimID.d.ts.map +0 -1
  395. package/dist/npm/models/ledger/XChainOwnedClaimID.js +0 -3
  396. package/dist/npm/models/ledger/XChainOwnedClaimID.js.map +0 -1
  397. package/dist/npm/models/ledger/XChainOwnedCreateAccountClaimID.d.ts +0 -14
  398. package/dist/npm/models/ledger/XChainOwnedCreateAccountClaimID.d.ts.map +0 -1
  399. package/dist/npm/models/ledger/XChainOwnedCreateAccountClaimID.js +0 -3
  400. package/dist/npm/models/ledger/XChainOwnedCreateAccountClaimID.js.map +0 -1
  401. package/dist/npm/models/methods/ammInfo.d.ts +0 -42
  402. package/dist/npm/models/methods/ammInfo.d.ts.map +0 -1
  403. package/dist/npm/models/methods/ammInfo.js.map +0 -1
  404. package/dist/npm/models/transactions/AMMBid.d.ts +0 -18
  405. package/dist/npm/models/transactions/AMMBid.d.ts.map +0 -1
  406. package/dist/npm/models/transactions/AMMBid.js +0 -37
  407. package/dist/npm/models/transactions/AMMBid.js.map +0 -1
  408. package/dist/npm/models/transactions/AMMCreate.d.ts +0 -11
  409. package/dist/npm/models/transactions/AMMCreate.d.ts.map +0 -1
  410. package/dist/npm/models/transactions/AMMCreate.js +0 -32
  411. package/dist/npm/models/transactions/AMMCreate.js.map +0 -1
  412. package/dist/npm/models/transactions/AMMDeposit.d.ts +0 -27
  413. package/dist/npm/models/transactions/AMMDeposit.d.ts.map +0 -1
  414. package/dist/npm/models/transactions/AMMDeposit.js +0 -51
  415. package/dist/npm/models/transactions/AMMDeposit.js.map +0 -1
  416. package/dist/npm/models/transactions/AMMVote.d.ts +0 -10
  417. package/dist/npm/models/transactions/AMMVote.d.ts.map +0 -1
  418. package/dist/npm/models/transactions/AMMVote.js +0 -32
  419. package/dist/npm/models/transactions/AMMVote.js.map +0 -1
  420. package/dist/npm/models/transactions/AMMWithdraw.d.ts +0 -31
  421. package/dist/npm/models/transactions/AMMWithdraw.d.ts.map +0 -1
  422. package/dist/npm/models/transactions/AMMWithdraw.js +0 -50
  423. package/dist/npm/models/transactions/AMMWithdraw.js.map +0 -1
  424. package/dist/npm/models/transactions/XChainAccountCreateCommit.d.ts +0 -11
  425. package/dist/npm/models/transactions/XChainAccountCreateCommit.d.ts.map +0 -1
  426. package/dist/npm/models/transactions/XChainAccountCreateCommit.js +0 -35
  427. package/dist/npm/models/transactions/XChainAccountCreateCommit.js.map +0 -1
  428. package/dist/npm/models/transactions/XChainAddAccountCreateAttestation.d.ts +0 -18
  429. package/dist/npm/models/transactions/XChainAddAccountCreateAttestation.d.ts.map +0 -1
  430. package/dist/npm/models/transactions/XChainAddAccountCreateAttestation.js +0 -77
  431. package/dist/npm/models/transactions/XChainAddAccountCreateAttestation.js.map +0 -1
  432. package/dist/npm/models/transactions/XChainAddClaimAttestation.d.ts +0 -17
  433. package/dist/npm/models/transactions/XChainAddClaimAttestation.d.ts.map +0 -1
  434. package/dist/npm/models/transactions/XChainAddClaimAttestation.js +0 -68
  435. package/dist/npm/models/transactions/XChainAddClaimAttestation.js.map +0 -1
  436. package/dist/npm/models/transactions/XChainClaim.d.ts +0 -12
  437. package/dist/npm/models/transactions/XChainClaim.d.ts.map +0 -1
  438. package/dist/npm/models/transactions/XChainClaim.js +0 -39
  439. package/dist/npm/models/transactions/XChainClaim.js.map +0 -1
  440. package/dist/npm/models/transactions/XChainCommit.d.ts +0 -11
  441. package/dist/npm/models/transactions/XChainCommit.d.ts.map +0 -1
  442. package/dist/npm/models/transactions/XChainCommit.js +0 -33
  443. package/dist/npm/models/transactions/XChainCommit.js.map +0 -1
  444. package/dist/npm/models/transactions/XChainCreateBridge.d.ts +0 -10
  445. package/dist/npm/models/transactions/XChainCreateBridge.d.ts.map +0 -1
  446. package/dist/npm/models/transactions/XChainCreateBridge.js +0 -26
  447. package/dist/npm/models/transactions/XChainCreateBridge.js.map +0 -1
  448. package/dist/npm/models/transactions/XChainCreateClaimID.d.ts +0 -10
  449. package/dist/npm/models/transactions/XChainCreateClaimID.d.ts.map +0 -1
  450. package/dist/npm/models/transactions/XChainCreateClaimID.js +0 -28
  451. package/dist/npm/models/transactions/XChainCreateClaimID.js.map +0 -1
  452. package/dist/npm/models/transactions/XChainModifyBridge.d.ts +0 -17
  453. package/dist/npm/models/transactions/XChainModifyBridge.d.ts.map +0 -1
  454. package/dist/npm/models/transactions/XChainModifyBridge.js +0 -27
  455. package/dist/npm/models/transactions/XChainModifyBridge.js.map +0 -1
  456. package/dist/npm/src/models/ledger/AMM.d.ts +0 -39
  457. package/dist/npm/src/models/ledger/AMM.d.ts.map +0 -1
  458. package/dist/npm/src/models/ledger/AMM.js.map +0 -1
  459. package/dist/npm/src/models/ledger/Bridge.d.ts +0 -17
  460. package/dist/npm/src/models/ledger/Bridge.d.ts.map +0 -1
  461. package/dist/npm/src/models/ledger/Bridge.js +0 -3
  462. package/dist/npm/src/models/ledger/Bridge.js.map +0 -1
  463. package/dist/npm/src/models/ledger/XChainOwnedClaimID.d.ts +0 -16
  464. package/dist/npm/src/models/ledger/XChainOwnedClaimID.d.ts.map +0 -1
  465. package/dist/npm/src/models/ledger/XChainOwnedClaimID.js +0 -3
  466. package/dist/npm/src/models/ledger/XChainOwnedClaimID.js.map +0 -1
  467. package/dist/npm/src/models/ledger/XChainOwnedCreateAccountClaimID.d.ts +0 -14
  468. package/dist/npm/src/models/ledger/XChainOwnedCreateAccountClaimID.d.ts.map +0 -1
  469. package/dist/npm/src/models/ledger/XChainOwnedCreateAccountClaimID.js +0 -3
  470. package/dist/npm/src/models/ledger/XChainOwnedCreateAccountClaimID.js.map +0 -1
  471. package/dist/npm/src/models/methods/ammInfo.d.ts +0 -42
  472. package/dist/npm/src/models/methods/ammInfo.d.ts.map +0 -1
  473. package/dist/npm/src/models/methods/ammInfo.js +0 -3
  474. package/dist/npm/src/models/methods/ammInfo.js.map +0 -1
  475. package/dist/npm/src/models/transactions/AMMBid.d.ts +0 -18
  476. package/dist/npm/src/models/transactions/AMMBid.d.ts.map +0 -1
  477. package/dist/npm/src/models/transactions/AMMBid.js +0 -37
  478. package/dist/npm/src/models/transactions/AMMBid.js.map +0 -1
  479. package/dist/npm/src/models/transactions/AMMCreate.d.ts +0 -11
  480. package/dist/npm/src/models/transactions/AMMCreate.d.ts.map +0 -1
  481. package/dist/npm/src/models/transactions/AMMCreate.js +0 -32
  482. package/dist/npm/src/models/transactions/AMMCreate.js.map +0 -1
  483. package/dist/npm/src/models/transactions/AMMDeposit.d.ts +0 -27
  484. package/dist/npm/src/models/transactions/AMMDeposit.d.ts.map +0 -1
  485. package/dist/npm/src/models/transactions/AMMDeposit.js +0 -51
  486. package/dist/npm/src/models/transactions/AMMDeposit.js.map +0 -1
  487. package/dist/npm/src/models/transactions/AMMVote.d.ts +0 -10
  488. package/dist/npm/src/models/transactions/AMMVote.d.ts.map +0 -1
  489. package/dist/npm/src/models/transactions/AMMVote.js +0 -32
  490. package/dist/npm/src/models/transactions/AMMVote.js.map +0 -1
  491. package/dist/npm/src/models/transactions/AMMWithdraw.d.ts +0 -31
  492. package/dist/npm/src/models/transactions/AMMWithdraw.d.ts.map +0 -1
  493. package/dist/npm/src/models/transactions/AMMWithdraw.js +0 -50
  494. package/dist/npm/src/models/transactions/AMMWithdraw.js.map +0 -1
  495. package/dist/npm/src/models/transactions/XChainAccountCreateCommit.d.ts +0 -11
  496. package/dist/npm/src/models/transactions/XChainAccountCreateCommit.d.ts.map +0 -1
  497. package/dist/npm/src/models/transactions/XChainAccountCreateCommit.js +0 -35
  498. package/dist/npm/src/models/transactions/XChainAccountCreateCommit.js.map +0 -1
  499. package/dist/npm/src/models/transactions/XChainAddAccountCreateAttestation.d.ts +0 -18
  500. package/dist/npm/src/models/transactions/XChainAddAccountCreateAttestation.d.ts.map +0 -1
  501. package/dist/npm/src/models/transactions/XChainAddAccountCreateAttestation.js +0 -77
  502. package/dist/npm/src/models/transactions/XChainAddAccountCreateAttestation.js.map +0 -1
  503. package/dist/npm/src/models/transactions/XChainAddClaimAttestation.d.ts +0 -17
  504. package/dist/npm/src/models/transactions/XChainAddClaimAttestation.d.ts.map +0 -1
  505. package/dist/npm/src/models/transactions/XChainAddClaimAttestation.js +0 -68
  506. package/dist/npm/src/models/transactions/XChainAddClaimAttestation.js.map +0 -1
  507. package/dist/npm/src/models/transactions/XChainClaim.d.ts +0 -12
  508. package/dist/npm/src/models/transactions/XChainClaim.d.ts.map +0 -1
  509. package/dist/npm/src/models/transactions/XChainClaim.js +0 -39
  510. package/dist/npm/src/models/transactions/XChainClaim.js.map +0 -1
  511. package/dist/npm/src/models/transactions/XChainCommit.d.ts +0 -11
  512. package/dist/npm/src/models/transactions/XChainCommit.d.ts.map +0 -1
  513. package/dist/npm/src/models/transactions/XChainCommit.js +0 -33
  514. package/dist/npm/src/models/transactions/XChainCommit.js.map +0 -1
  515. package/dist/npm/src/models/transactions/XChainCreateBridge.d.ts +0 -10
  516. package/dist/npm/src/models/transactions/XChainCreateBridge.d.ts.map +0 -1
  517. package/dist/npm/src/models/transactions/XChainCreateBridge.js +0 -26
  518. package/dist/npm/src/models/transactions/XChainCreateBridge.js.map +0 -1
  519. package/dist/npm/src/models/transactions/XChainCreateClaimID.d.ts +0 -10
  520. package/dist/npm/src/models/transactions/XChainCreateClaimID.d.ts.map +0 -1
  521. package/dist/npm/src/models/transactions/XChainCreateClaimID.js +0 -28
  522. package/dist/npm/src/models/transactions/XChainCreateClaimID.js.map +0 -1
  523. package/dist/npm/src/models/transactions/XChainModifyBridge.d.ts +0 -17
  524. package/dist/npm/src/models/transactions/XChainModifyBridge.d.ts.map +0 -1
  525. package/dist/npm/src/models/transactions/XChainModifyBridge.js +0 -27
  526. package/dist/npm/src/models/transactions/XChainModifyBridge.js.map +0 -1
@@ -64163,20 +64163,14 @@ exports.signingData = signingData;
64163
64163
  * @returns the serialized object with appropriate prefix
64164
64164
  */
64165
64165
  function signingClaimData(claim) {
64166
+ const num = bigInt(String(claim.amount));
64166
64167
  const prefix = hash_prefixes_1.HashPrefix.paymentChannelClaim;
64167
64168
  const channel = types_1.coreTypes.Hash256.from(claim.channel).toBytes();
64169
+ const amount = types_1.coreTypes.UInt64.from(num).toBytes();
64168
64170
  const bytesList = new binary_serializer_1.BytesList();
64169
64171
  bytesList.put(prefix);
64170
64172
  bytesList.put(channel);
64171
- if (typeof claim.amount === 'string') {
64172
- const num = bigInt(String(claim.amount));
64173
- const amount = types_1.coreTypes.UInt64.from(num).toBytes();
64174
- bytesList.put(amount);
64175
- }
64176
- else {
64177
- const amount = types_1.coreTypes.Amount.from(claim.amount).toBytes();
64178
- bytesList.put(amount);
64179
- }
64173
+ bytesList.put(amount);
64180
64174
  return bytesList.toBytes();
64181
64175
  }
64182
64176
  exports.signingClaimData = signingClaimData;
@@ -66373,7 +66367,6 @@ const hash_160_1 = __webpack_require__(/*! ./hash-160 */ "../../node_modules/rip
66373
66367
  Object.defineProperty(exports, "Hash160", ({ enumerable: true, get: function () { return hash_160_1.Hash160; } }));
66374
66368
  const hash_256_1 = __webpack_require__(/*! ./hash-256 */ "../../node_modules/ripple-binary-codec/dist/types/hash-256.js");
66375
66369
  Object.defineProperty(exports, "Hash256", ({ enumerable: true, get: function () { return hash_256_1.Hash256; } }));
66376
- const issue_1 = __webpack_require__(/*! ./issue */ "../../node_modules/ripple-binary-codec/dist/types/issue.js");
66377
66370
  const path_set_1 = __webpack_require__(/*! ./path-set */ "../../node_modules/ripple-binary-codec/dist/types/path-set.js");
66378
66371
  Object.defineProperty(exports, "PathSet", ({ enumerable: true, get: function () { return path_set_1.PathSet; } }));
66379
66372
  const st_array_1 = __webpack_require__(/*! ./st-array */ "../../node_modules/ripple-binary-codec/dist/types/st-array.js");
@@ -66390,7 +66383,6 @@ const uint_8_1 = __webpack_require__(/*! ./uint-8 */ "../../node_modules/ripple-
66390
66383
  Object.defineProperty(exports, "UInt8", ({ enumerable: true, get: function () { return uint_8_1.UInt8; } }));
66391
66384
  const vector_256_1 = __webpack_require__(/*! ./vector-256 */ "../../node_modules/ripple-binary-codec/dist/types/vector-256.js");
66392
66385
  Object.defineProperty(exports, "Vector256", ({ enumerable: true, get: function () { return vector_256_1.Vector256; } }));
66393
- const xchain_bridge_1 = __webpack_require__(/*! ./xchain-bridge */ "../../node_modules/ripple-binary-codec/dist/types/xchain-bridge.js");
66394
66386
  const enums_1 = __webpack_require__(/*! ../enums */ "../../node_modules/ripple-binary-codec/dist/enums/index.js");
66395
66387
  const coreTypes = {
66396
66388
  AccountID: account_id_1.AccountID,
@@ -66400,7 +66392,6 @@ const coreTypes = {
66400
66392
  Hash128: hash_128_1.Hash128,
66401
66393
  Hash160: hash_160_1.Hash160,
66402
66394
  Hash256: hash_256_1.Hash256,
66403
- Issue: issue_1.Issue,
66404
66395
  PathSet: path_set_1.PathSet,
66405
66396
  STArray: st_array_1.STArray,
66406
66397
  STObject: st_object_1.STObject,
@@ -66409,7 +66400,6 @@ const coreTypes = {
66409
66400
  UInt32: uint_32_1.UInt32,
66410
66401
  UInt64: uint_64_1.UInt64,
66411
66402
  Vector256: vector_256_1.Vector256,
66412
- XChainBridge: xchain_bridge_1.XChainBridge,
66413
66403
  };
66414
66404
  exports.coreTypes = coreTypes;
66415
66405
  // Ensures that the DEFAULT_DEFINITIONS object connects these types to fields for serializing/deserializing
@@ -66418,97 +66408,6 @@ exports.coreTypes = coreTypes;
66418
66408
  enums_1.DEFAULT_DEFINITIONS.associateTypes(coreTypes);
66419
66409
 
66420
66410
 
66421
- /***/ }),
66422
-
66423
- /***/ "../../node_modules/ripple-binary-codec/dist/types/issue.js":
66424
- /*!******************************************************************!*\
66425
- !*** ../../node_modules/ripple-binary-codec/dist/types/issue.js ***!
66426
- \******************************************************************/
66427
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
66428
-
66429
- "use strict";
66430
-
66431
- Object.defineProperty(exports, "__esModule", ({ value: true }));
66432
- exports.Issue = void 0;
66433
- const binary_parser_1 = __webpack_require__(/*! ../serdes/binary-parser */ "../../node_modules/ripple-binary-codec/dist/serdes/binary-parser.js");
66434
- const account_id_1 = __webpack_require__(/*! ./account-id */ "../../node_modules/ripple-binary-codec/dist/types/account-id.js");
66435
- const currency_1 = __webpack_require__(/*! ./currency */ "../../node_modules/ripple-binary-codec/dist/types/currency.js");
66436
- const serialized_type_1 = __webpack_require__(/*! ./serialized-type */ "../../node_modules/ripple-binary-codec/dist/types/serialized-type.js");
66437
- const buffer_1 = __webpack_require__(/*! buffer/ */ "../../node_modules/buffer/index.js");
66438
- /**
66439
- * Type guard for AmountObject
66440
- */
66441
- function isIssueObject(arg) {
66442
- const keys = Object.keys(arg).sort();
66443
- if (keys.length === 1) {
66444
- return keys[0] === 'currency';
66445
- }
66446
- return keys.length === 2 && keys[0] === 'currency' && keys[1] === 'issuer';
66447
- }
66448
- /**
66449
- * Class for serializing/Deserializing Amounts
66450
- */
66451
- class Issue extends serialized_type_1.SerializedType {
66452
- constructor(bytes) {
66453
- super(bytes !== null && bytes !== void 0 ? bytes : Issue.ZERO_ISSUED_CURRENCY.bytes);
66454
- }
66455
- /**
66456
- * Construct an amount from an IOU or string amount
66457
- *
66458
- * @param value An Amount, object representing an IOU, or a string
66459
- * representing an integer amount
66460
- * @returns An Amount object
66461
- */
66462
- static from(value) {
66463
- if (value instanceof Issue) {
66464
- return value;
66465
- }
66466
- if (isIssueObject(value)) {
66467
- const currency = currency_1.Currency.from(value.currency).toBytes();
66468
- if (value.issuer == null) {
66469
- return new Issue(currency);
66470
- }
66471
- const issuer = account_id_1.AccountID.from(value.issuer).toBytes();
66472
- return new Issue(buffer_1.Buffer.concat([currency, issuer]));
66473
- }
66474
- throw new Error('Invalid type to construct an Amount');
66475
- }
66476
- /**
66477
- * Read an amount from a BinaryParser
66478
- *
66479
- * @param parser BinaryParser to read the Amount from
66480
- * @returns An Amount object
66481
- */
66482
- static fromParser(parser) {
66483
- const currency = parser.read(20);
66484
- if (new currency_1.Currency(currency).toJSON() === 'XRP') {
66485
- return new Issue(currency);
66486
- }
66487
- const currencyAndIssuer = [currency, parser.read(20)];
66488
- return new Issue(buffer_1.Buffer.concat(currencyAndIssuer));
66489
- }
66490
- /**
66491
- * Get the JSON representation of this Amount
66492
- *
66493
- * @returns the JSON interpretation of this.bytes
66494
- */
66495
- toJSON() {
66496
- const parser = new binary_parser_1.BinaryParser(this.toString());
66497
- const currency = currency_1.Currency.fromParser(parser);
66498
- if (currency.toJSON() === 'XRP') {
66499
- return { currency: currency.toJSON() };
66500
- }
66501
- const issuer = account_id_1.AccountID.fromParser(parser);
66502
- return {
66503
- currency: currency.toJSON(),
66504
- issuer: issuer.toJSON(),
66505
- };
66506
- }
66507
- }
66508
- exports.Issue = Issue;
66509
- Issue.ZERO_ISSUED_CURRENCY = new Issue(buffer_1.Buffer.alloc(20));
66510
-
66511
-
66512
66411
  /***/ }),
66513
66412
 
66514
66413
  /***/ "../../node_modules/ripple-binary-codec/dist/types/path-set.js":
@@ -67509,118 +67408,6 @@ class Vector256 extends serialized_type_1.SerializedType {
67509
67408
  exports.Vector256 = Vector256;
67510
67409
 
67511
67410
 
67512
- /***/ }),
67513
-
67514
- /***/ "../../node_modules/ripple-binary-codec/dist/types/xchain-bridge.js":
67515
- /*!**************************************************************************!*\
67516
- !*** ../../node_modules/ripple-binary-codec/dist/types/xchain-bridge.js ***!
67517
- \**************************************************************************/
67518
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
67519
-
67520
- "use strict";
67521
-
67522
- Object.defineProperty(exports, "__esModule", ({ value: true }));
67523
- exports.XChainBridge = void 0;
67524
- const binary_parser_1 = __webpack_require__(/*! ../serdes/binary-parser */ "../../node_modules/ripple-binary-codec/dist/serdes/binary-parser.js");
67525
- const account_id_1 = __webpack_require__(/*! ./account-id */ "../../node_modules/ripple-binary-codec/dist/types/account-id.js");
67526
- const serialized_type_1 = __webpack_require__(/*! ./serialized-type */ "../../node_modules/ripple-binary-codec/dist/types/serialized-type.js");
67527
- const buffer_1 = __webpack_require__(/*! buffer/ */ "../../node_modules/buffer/index.js");
67528
- const issue_1 = __webpack_require__(/*! ./issue */ "../../node_modules/ripple-binary-codec/dist/types/issue.js");
67529
- /**
67530
- * Type guard for XChainBridgeObject
67531
- */
67532
- function isXChainBridgeObject(arg) {
67533
- const keys = Object.keys(arg).sort();
67534
- return (keys.length === 4 &&
67535
- keys[0] === 'IssuingChainDoor' &&
67536
- keys[1] === 'IssuingChainIssue' &&
67537
- keys[2] === 'LockingChainDoor' &&
67538
- keys[3] === 'LockingChainIssue');
67539
- }
67540
- /**
67541
- * Class for serializing/deserializing XChainBridges
67542
- */
67543
- class XChainBridge extends serialized_type_1.SerializedType {
67544
- constructor(bytes) {
67545
- super(bytes !== null && bytes !== void 0 ? bytes : XChainBridge.ZERO_XCHAIN_BRIDGE.bytes);
67546
- }
67547
- /**
67548
- * Construct a cross-chain bridge from a JSON
67549
- *
67550
- * @param value XChainBridge or JSON to parse into a XChainBridge
67551
- * @returns A XChainBridge object
67552
- */
67553
- static from(value) {
67554
- if (value instanceof XChainBridge) {
67555
- return value;
67556
- }
67557
- if (isXChainBridgeObject(value)) {
67558
- const bytes = [];
67559
- this.TYPE_ORDER.forEach((item) => {
67560
- const { name, type } = item;
67561
- if (type === account_id_1.AccountID) {
67562
- bytes.push(buffer_1.Buffer.from([0x14]));
67563
- }
67564
- const object = type.from(value[name]);
67565
- bytes.push(object.toBytes());
67566
- });
67567
- return new XChainBridge(buffer_1.Buffer.concat(bytes));
67568
- }
67569
- throw new Error('Invalid type to construct a XChainBridge');
67570
- }
67571
- /**
67572
- * Read a XChainBridge from a BinaryParser
67573
- *
67574
- * @param parser BinaryParser to read the XChainBridge from
67575
- * @returns A XChainBridge object
67576
- */
67577
- static fromParser(parser) {
67578
- const bytes = [];
67579
- this.TYPE_ORDER.forEach((item) => {
67580
- const { type } = item;
67581
- if (type === account_id_1.AccountID) {
67582
- parser.skip(1);
67583
- bytes.push(buffer_1.Buffer.from([0x14]));
67584
- }
67585
- const object = type.fromParser(parser);
67586
- bytes.push(object.toBytes());
67587
- });
67588
- return new XChainBridge(buffer_1.Buffer.concat(bytes));
67589
- }
67590
- /**
67591
- * Get the JSON representation of this XChainBridge
67592
- *
67593
- * @returns the JSON interpretation of this.bytes
67594
- */
67595
- toJSON() {
67596
- const parser = new binary_parser_1.BinaryParser(this.toString());
67597
- const json = {};
67598
- XChainBridge.TYPE_ORDER.forEach((item) => {
67599
- const { name, type } = item;
67600
- if (type === account_id_1.AccountID) {
67601
- parser.skip(1);
67602
- }
67603
- const object = type.fromParser(parser).toJSON();
67604
- json[name] = object;
67605
- });
67606
- return json;
67607
- }
67608
- }
67609
- exports.XChainBridge = XChainBridge;
67610
- XChainBridge.ZERO_XCHAIN_BRIDGE = new XChainBridge(buffer_1.Buffer.concat([
67611
- buffer_1.Buffer.from([0x14]),
67612
- buffer_1.Buffer.alloc(40),
67613
- buffer_1.Buffer.from([0x14]),
67614
- buffer_1.Buffer.alloc(40),
67615
- ]));
67616
- XChainBridge.TYPE_ORDER = [
67617
- { name: 'LockingChainDoor', type: account_id_1.AccountID },
67618
- { name: 'LockingChainIssue', type: issue_1.Issue },
67619
- { name: 'IssuingChainDoor', type: account_id_1.AccountID },
67620
- { name: 'IssuingChainIssue', type: issue_1.Issue },
67621
- ];
67622
-
67623
-
67624
67411
  /***/ }),
67625
67412
 
67626
67413
  /***/ "../../node_modules/ripple-keypairs/dist/Sha512.js":
@@ -73854,15 +73641,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
73854
73641
  step((generator = generator.apply(thisArg, _arguments || [])).next());
73855
73642
  });
73856
73643
  };
73857
- var __importDefault = (this && this.__importDefault) || function (mod) {
73858
- return (mod && mod.__esModule) ? mod : { "default": mod };
73859
- };
73860
73644
  Object.defineProperty(exports, "__esModule", ({ value: true }));
73861
73645
  const https_1 = __webpack_require__(/*! https */ "../../node_modules/https-browserify/index.js");
73862
73646
  const ripple_address_codec_1 = __webpack_require__(/*! ripple-address-codec */ "../../node_modules/ripple-address-codec/dist/index.js");
73863
73647
  const errors_1 = __webpack_require__(/*! ../errors */ "./dist/npm/errors.js");
73864
73648
  const defaultFaucets_1 = __webpack_require__(/*! ./defaultFaucets */ "./dist/npm/Wallet/defaultFaucets.js");
73865
- const _1 = __importDefault(__webpack_require__(/*! . */ "./dist/npm/Wallet/index.js"));
73649
+ const _1 = __webpack_require__(/*! . */ "./dist/npm/Wallet/index.js");
73866
73650
  const INTERVAL_SECONDS = 1;
73867
73651
  const MAX_ATTEMPTS = 20;
73868
73652
  function fundWallet(wallet, options) {
@@ -73872,10 +73656,12 @@ function fundWallet(wallet, options) {
73872
73656
  }
73873
73657
  const walletToFund = wallet && (0, ripple_address_codec_1.isValidClassicAddress)(wallet.classicAddress)
73874
73658
  ? wallet
73875
- : _1.default.generate();
73659
+ : _1.Wallet.generate();
73876
73660
  const postBody = Buffer.from(new TextEncoder().encode(JSON.stringify({
73877
73661
  destination: walletToFund.classicAddress,
73878
73662
  xrpAmount: options === null || options === void 0 ? void 0 : options.amount,
73663
+ userAgent: 'xrpl.js',
73664
+ usageContext: options === null || options === void 0 ? void 0 : options.usageContext,
73879
73665
  })));
73880
73666
  let startingBalance = 0;
73881
73667
  try {
@@ -74019,6 +73805,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
74019
73805
  return (mod && mod.__esModule) ? mod : { "default": mod };
74020
73806
  };
74021
73807
  Object.defineProperty(exports, "__esModule", ({ value: true }));
73808
+ exports.Wallet = void 0;
74022
73809
  const bignumber_js_1 = __importDefault(__webpack_require__(/*! bignumber.js */ "../../node_modules/bignumber.js/bignumber.js"));
74023
73810
  const bip32_1 = __webpack_require__(/*! bip32 */ "../../node_modules/bip32/src/index.js");
74024
73811
  const bip39_1 = __webpack_require__(/*! bip39 */ "../../node_modules/bip39/src/index.js");
@@ -74168,6 +73955,7 @@ class Wallet {
74168
73955
  return (0, ripple_address_codec_1.classicAddressToXAddress)(this.classicAddress, tag, isTestnet);
74169
73956
  }
74170
73957
  }
73958
+ exports.Wallet = Wallet;
74171
73959
  Wallet.fromSecret = Wallet.fromSeed;
74172
73960
  function computeSignature(tx, privateKey, signAs) {
74173
73961
  if (signAs) {
@@ -74187,7 +73975,6 @@ function removeTrailingZeros(tx) {
74187
73975
  tx.Amount.value = new bignumber_js_1.default(tx.Amount.value).toString();
74188
73976
  }
74189
73977
  }
74190
- exports["default"] = Wallet;
74191
73978
 
74192
73979
 
74193
73980
  /***/ }),
@@ -74338,8 +74125,10 @@ function multisign(transactions) {
74338
74125
  if (transactions.length === 0) {
74339
74126
  throw new errors_1.ValidationError('There were 0 transactions to multisign');
74340
74127
  }
74341
- transactions.forEach((txOrBlob) => {
74342
- const tx = getDecodedTransaction(txOrBlob);
74128
+ const decodedTransactions = transactions.map((txOrBlob) => {
74129
+ return getDecodedTransaction(txOrBlob);
74130
+ });
74131
+ decodedTransactions.forEach((tx) => {
74343
74132
  (0, transactions_1.validate)(tx);
74344
74133
  if (tx.Signers == null || tx.Signers.length === 0) {
74345
74134
  throw new errors_1.ValidationError("For multisigning all transactions must include a Signers field containing an array of signatures. You may have forgotten to pass the 'forMultisign' parameter when signing.");
@@ -74348,9 +74137,6 @@ function multisign(transactions) {
74348
74137
  throw new errors_1.ValidationError('SigningPubKey must be an empty string for all transactions when multisigning.');
74349
74138
  }
74350
74139
  });
74351
- const decodedTransactions = transactions.map((txOrBlob) => {
74352
- return getDecodedTransaction(txOrBlob);
74353
- });
74354
74140
  validateTransactionEquivalence(decodedTransactions);
74355
74141
  return (0, ripple_binary_codec_1.encode)(getTransactionWithAllSigners(decodedTransactions));
74356
74142
  }
@@ -74383,10 +74169,10 @@ function getTransactionWithAllSigners(transactions) {
74383
74169
  function compareSigners(left, right) {
74384
74170
  return addressToBigNumber(left.Signer.Account).comparedTo(addressToBigNumber(right.Signer.Account));
74385
74171
  }
74172
+ const NUM_BITS_IN_HEX = 16;
74386
74173
  function addressToBigNumber(address) {
74387
74174
  const hex = Buffer.from((0, ripple_address_codec_1.decodeAccountID)(address)).toString('hex');
74388
- const numberOfBitsInHex = 16;
74389
- return new bignumber_js_1.BigNumber(hex, numberOfBitsInHex);
74175
+ return new bignumber_js_1.BigNumber(hex, NUM_BITS_IN_HEX);
74390
74176
  }
74391
74177
  function getDecodedTransaction(txOrBlob) {
74392
74178
  if (typeof txOrBlob === 'object') {
@@ -74416,6 +74202,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
74416
74202
  });
74417
74203
  };
74418
74204
  Object.defineProperty(exports, "__esModule", ({ value: true }));
74205
+ exports.BroadcastClient = void 0;
74419
74206
  const _1 = __webpack_require__(/*! . */ "./dist/npm/client/index.js");
74420
74207
  class BroadcastClient extends _1.Client {
74421
74208
  constructor(servers, options = {}) {
@@ -74451,7 +74238,7 @@ class BroadcastClient extends _1.Client {
74451
74238
  return methodNames;
74452
74239
  }
74453
74240
  }
74454
- exports["default"] = BroadcastClient;
74241
+ exports.BroadcastClient = BroadcastClient;
74455
74242
 
74456
74243
 
74457
74244
  /***/ }),
@@ -75151,8 +74938,8 @@ class Client extends events_1.EventEmitter {
75151
74938
  this.connection.on('error', (errorCode, errorMessage, data) => {
75152
74939
  this.emit('error', errorCode, errorMessage, data);
75153
74940
  });
75154
- this.connection.on('connected', () => {
75155
- this.emit('connected');
74941
+ this.connection.on('reconnect', () => {
74942
+ this.connection.on('connected', () => this.emit('connected'));
75156
74943
  });
75157
74944
  this.connection.on('disconnected', (code) => {
75158
74945
  let finalCode = code;
@@ -75242,9 +75029,27 @@ class Client extends events_1.EventEmitter {
75242
75029
  return results;
75243
75030
  });
75244
75031
  }
75032
+ getServerInfo() {
75033
+ var _a;
75034
+ return __awaiter(this, void 0, void 0, function* () {
75035
+ try {
75036
+ const response = yield this.request({
75037
+ command: 'server_info',
75038
+ });
75039
+ this.networkID = (_a = response.result.info.network_id) !== null && _a !== void 0 ? _a : undefined;
75040
+ this.buildVersion = response.result.info.build_version;
75041
+ }
75042
+ catch (error) {
75043
+ console.error(error);
75044
+ }
75045
+ });
75046
+ }
75245
75047
  connect() {
75246
75048
  return __awaiter(this, void 0, void 0, function* () {
75247
- return this.connection.connect();
75049
+ return this.connection.connect().then(() => __awaiter(this, void 0, void 0, function* () {
75050
+ yield this.getServerInfo();
75051
+ this.emit('connected');
75052
+ }));
75248
75053
  });
75249
75054
  }
75250
75055
  disconnect() {
@@ -75471,16 +75276,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
75471
75276
  return (mod && mod.__esModule) ? mod : { "default": mod };
75472
75277
  };
75473
75278
  Object.defineProperty(exports, "__esModule", ({ value: true }));
75474
- exports.rfc1751MnemonicToKey = exports.keyToRFC1751Mnemonic = exports.Wallet = exports.Client = exports.BroadcastClient = void 0;
75279
+ exports.rfc1751MnemonicToKey = exports.keyToRFC1751Mnemonic = exports.Wallet = exports.ECDSA = exports.Client = exports.BroadcastClient = void 0;
75475
75280
  var BroadcastClient_1 = __webpack_require__(/*! ./client/BroadcastClient */ "./dist/npm/client/BroadcastClient.js");
75476
- Object.defineProperty(exports, "BroadcastClient", ({ enumerable: true, get: function () { return __importDefault(BroadcastClient_1).default; } }));
75281
+ Object.defineProperty(exports, "BroadcastClient", ({ enumerable: true, get: function () { return BroadcastClient_1.BroadcastClient; } }));
75477
75282
  var client_1 = __webpack_require__(/*! ./client */ "./dist/npm/client/index.js");
75478
75283
  Object.defineProperty(exports, "Client", ({ enumerable: true, get: function () { return client_1.Client; } }));
75479
75284
  __exportStar(__webpack_require__(/*! ./models */ "./dist/npm/models/index.js"), exports);
75480
75285
  __exportStar(__webpack_require__(/*! ./utils */ "./dist/npm/utils/index.js"), exports);
75286
+ var ECDSA_1 = __webpack_require__(/*! ./ECDSA */ "./dist/npm/ECDSA.js");
75287
+ Object.defineProperty(exports, "ECDSA", ({ enumerable: true, get: function () { return __importDefault(ECDSA_1).default; } }));
75481
75288
  __exportStar(__webpack_require__(/*! ./errors */ "./dist/npm/errors.js"), exports);
75482
75289
  var Wallet_1 = __webpack_require__(/*! ./Wallet */ "./dist/npm/Wallet/index.js");
75483
- Object.defineProperty(exports, "Wallet", ({ enumerable: true, get: function () { return __importDefault(Wallet_1).default; } }));
75290
+ Object.defineProperty(exports, "Wallet", ({ enumerable: true, get: function () { return Wallet_1.Wallet; } }));
75484
75291
  var rfc1751_1 = __webpack_require__(/*! ./Wallet/rfc1751 */ "./dist/npm/Wallet/rfc1751.js");
75485
75292
  Object.defineProperty(exports, "keyToRFC1751Mnemonic", ({ enumerable: true, get: function () { return rfc1751_1.keyToRFC1751Mnemonic; } }));
75486
75293
  Object.defineProperty(exports, "rfc1751MnemonicToKey", ({ enumerable: true, get: function () { return rfc1751_1.rfc1751MnemonicToKey; } }));
@@ -75570,7 +75377,6 @@ var AccountRootFlags;
75570
75377
  AccountRootFlags[AccountRootFlags["lsfGlobalFreeze"] = 4194304] = "lsfGlobalFreeze";
75571
75378
  AccountRootFlags[AccountRootFlags["lsfDefaultRipple"] = 8388608] = "lsfDefaultRipple";
75572
75379
  AccountRootFlags[AccountRootFlags["lsfDepositAuth"] = 16777216] = "lsfDepositAuth";
75573
- AccountRootFlags[AccountRootFlags["lsfAMM"] = 33554432] = "lsfAMM";
75574
75380
  AccountRootFlags[AccountRootFlags["lsfDisallowIncomingNFTokenOffer"] = 67108864] = "lsfDisallowIncomingNFTokenOffer";
75575
75381
  AccountRootFlags[AccountRootFlags["lsfDisallowIncomingCheck"] = 134217728] = "lsfDisallowIncomingCheck";
75576
75382
  AccountRootFlags[AccountRootFlags["lsfDisallowIncomingPayChan"] = 268435456] = "lsfDisallowIncomingPayChan";
@@ -75578,6 +75384,51 @@ var AccountRootFlags;
75578
75384
  })(AccountRootFlags = exports.AccountRootFlags || (exports.AccountRootFlags = {}));
75579
75385
 
75580
75386
 
75387
+ /***/ }),
75388
+
75389
+ /***/ "./dist/npm/models/ledger/Amendments.js":
75390
+ /*!**********************************************!*\
75391
+ !*** ./dist/npm/models/ledger/Amendments.js ***!
75392
+ \**********************************************/
75393
+ /***/ ((__unused_webpack_module, exports) => {
75394
+
75395
+ "use strict";
75396
+
75397
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
75398
+ exports.AMENDMENTS_ID = void 0;
75399
+ exports.AMENDMENTS_ID = '7DB0788C020F02780A673DC74757F23823FA3014C1866E72CC4CD8B226CD6EF4';
75400
+
75401
+
75402
+ /***/ }),
75403
+
75404
+ /***/ "./dist/npm/models/ledger/FeeSettings.js":
75405
+ /*!***********************************************!*\
75406
+ !*** ./dist/npm/models/ledger/FeeSettings.js ***!
75407
+ \***********************************************/
75408
+ /***/ ((__unused_webpack_module, exports) => {
75409
+
75410
+ "use strict";
75411
+
75412
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
75413
+ exports.FEE_SETTINGS_ID = void 0;
75414
+ exports.FEE_SETTINGS_ID = '4BC50C9B0D8515D3EAAE1E74B29A95804346C491EE1A95BF25E4AAB854A6A651';
75415
+
75416
+
75417
+ /***/ }),
75418
+
75419
+ /***/ "./dist/npm/models/ledger/NegativeUNL.js":
75420
+ /*!***********************************************!*\
75421
+ !*** ./dist/npm/models/ledger/NegativeUNL.js ***!
75422
+ \***********************************************/
75423
+ /***/ ((__unused_webpack_module, exports) => {
75424
+
75425
+ "use strict";
75426
+
75427
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
75428
+ exports.NEGATIVE_UNL_ID = void 0;
75429
+ exports.NEGATIVE_UNL_ID = '2E8A59AA9D3B5B186B0B9E0F62E6C02587CA74A4D778938E957B6357D364B244';
75430
+
75431
+
75581
75432
  /***/ }),
75582
75433
 
75583
75434
  /***/ "./dist/npm/models/ledger/Offer.js":
@@ -75651,9 +75502,15 @@ var SignerListFlags;
75651
75502
  "use strict";
75652
75503
 
75653
75504
  Object.defineProperty(exports, "__esModule", ({ value: true }));
75654
- exports.SignerListFlags = exports.RippleStateFlags = exports.OfferFlags = exports.AccountRootFlags = void 0;
75505
+ exports.SignerListFlags = exports.RippleStateFlags = exports.OfferFlags = exports.NEGATIVE_UNL_ID = exports.FEE_SETTINGS_ID = exports.AMENDMENTS_ID = exports.AccountRootFlags = void 0;
75655
75506
  const AccountRoot_1 = __webpack_require__(/*! ./AccountRoot */ "./dist/npm/models/ledger/AccountRoot.js");
75656
75507
  Object.defineProperty(exports, "AccountRootFlags", ({ enumerable: true, get: function () { return AccountRoot_1.AccountRootFlags; } }));
75508
+ const Amendments_1 = __webpack_require__(/*! ./Amendments */ "./dist/npm/models/ledger/Amendments.js");
75509
+ Object.defineProperty(exports, "AMENDMENTS_ID", ({ enumerable: true, get: function () { return Amendments_1.AMENDMENTS_ID; } }));
75510
+ const FeeSettings_1 = __webpack_require__(/*! ./FeeSettings */ "./dist/npm/models/ledger/FeeSettings.js");
75511
+ Object.defineProperty(exports, "FEE_SETTINGS_ID", ({ enumerable: true, get: function () { return FeeSettings_1.FEE_SETTINGS_ID; } }));
75512
+ const NegativeUNL_1 = __webpack_require__(/*! ./NegativeUNL */ "./dist/npm/models/ledger/NegativeUNL.js");
75513
+ Object.defineProperty(exports, "NEGATIVE_UNL_ID", ({ enumerable: true, get: function () { return NegativeUNL_1.NEGATIVE_UNL_ID; } }));
75657
75514
  const Offer_1 = __webpack_require__(/*! ./Offer */ "./dist/npm/models/ledger/Offer.js");
75658
75515
  Object.defineProperty(exports, "OfferFlags", ({ enumerable: true, get: function () { return Offer_1.OfferFlags; } }));
75659
75516
  const RippleState_1 = __webpack_require__(/*! ./RippleState */ "./dist/npm/models/ledger/RippleState.js");
@@ -75677,365 +75534,113 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
75677
75534
 
75678
75535
  /***/ }),
75679
75536
 
75680
- /***/ "./dist/npm/models/transactions/AMMBid.js":
75681
- /*!************************************************!*\
75682
- !*** ./dist/npm/models/transactions/AMMBid.js ***!
75683
- \************************************************/
75537
+ /***/ "./dist/npm/models/transactions/NFTokenAcceptOffer.js":
75538
+ /*!************************************************************!*\
75539
+ !*** ./dist/npm/models/transactions/NFTokenAcceptOffer.js ***!
75540
+ \************************************************************/
75684
75541
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
75685
75542
 
75686
75543
  "use strict";
75687
75544
 
75688
75545
  Object.defineProperty(exports, "__esModule", ({ value: true }));
75689
- exports.validateAMMBid = void 0;
75546
+ exports.validateNFTokenAcceptOffer = void 0;
75690
75547
  const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
75691
75548
  const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
75692
- const MAX_AUTH_ACCOUNTS = 4;
75693
- function validateAMMBid(tx) {
75694
- (0, common_1.validateBaseTransaction)(tx);
75695
- if (tx.Asset == null) {
75696
- throw new errors_1.ValidationError('AMMBid: missing field Asset');
75697
- }
75698
- if (!(0, common_1.isCurrency)(tx.Asset)) {
75699
- throw new errors_1.ValidationError('AMMBid: Asset must be an Issue');
75700
- }
75701
- if (tx.Asset2 == null) {
75702
- throw new errors_1.ValidationError('AMMBid: missing field Asset2');
75549
+ function validateNFTokenBrokerFee(tx) {
75550
+ const value = (0, common_1.parseAmountValue)(tx.NFTokenBrokerFee);
75551
+ if (Number.isNaN(value)) {
75552
+ throw new errors_1.ValidationError('NFTokenAcceptOffer: invalid NFTokenBrokerFee');
75703
75553
  }
75704
- if (!(0, common_1.isCurrency)(tx.Asset2)) {
75705
- throw new errors_1.ValidationError('AMMBid: Asset2 must be an Issue');
75554
+ if (value <= 0) {
75555
+ throw new errors_1.ValidationError('NFTokenAcceptOffer: NFTokenBrokerFee must be greater than 0; omit if there is no fee');
75706
75556
  }
75707
- if (tx.BidMin != null && !(0, common_1.isAmount)(tx.BidMin)) {
75708
- throw new errors_1.ValidationError('AMMBid: BidMin must be an Amount');
75557
+ if (tx.NFTokenSellOffer == null || tx.NFTokenBuyOffer == null) {
75558
+ throw new errors_1.ValidationError('NFTokenAcceptOffer: both NFTokenSellOffer and NFTokenBuyOffer must be set if using brokered mode');
75709
75559
  }
75710
- if (tx.BidMax != null && !(0, common_1.isAmount)(tx.BidMax)) {
75711
- throw new errors_1.ValidationError('AMMBid: BidMax must be an Amount');
75560
+ }
75561
+ function validateNFTokenAcceptOffer(tx) {
75562
+ (0, common_1.validateBaseTransaction)(tx);
75563
+ if (tx.NFTokenBrokerFee != null) {
75564
+ validateNFTokenBrokerFee(tx);
75712
75565
  }
75713
- if (tx.AuthAccounts != null) {
75714
- if (!Array.isArray(tx.AuthAccounts)) {
75715
- throw new errors_1.ValidationError(`AMMBid: AuthAccounts must be an AuthAccount array`);
75716
- }
75717
- if (tx.AuthAccounts.length > MAX_AUTH_ACCOUNTS) {
75718
- throw new errors_1.ValidationError(`AMMBid: AuthAccounts length must not be greater than ${MAX_AUTH_ACCOUNTS}`);
75719
- }
75566
+ if (tx.NFTokenSellOffer == null && tx.NFTokenBuyOffer == null) {
75567
+ throw new errors_1.ValidationError('NFTokenAcceptOffer: must set either NFTokenSellOffer or NFTokenBuyOffer');
75720
75568
  }
75721
75569
  }
75722
- exports.validateAMMBid = validateAMMBid;
75570
+ exports.validateNFTokenAcceptOffer = validateNFTokenAcceptOffer;
75723
75571
 
75724
75572
 
75725
75573
  /***/ }),
75726
75574
 
75727
- /***/ "./dist/npm/models/transactions/AMMCreate.js":
75728
- /*!***************************************************!*\
75729
- !*** ./dist/npm/models/transactions/AMMCreate.js ***!
75730
- \***************************************************/
75575
+ /***/ "./dist/npm/models/transactions/NFTokenBurn.js":
75576
+ /*!*****************************************************!*\
75577
+ !*** ./dist/npm/models/transactions/NFTokenBurn.js ***!
75578
+ \*****************************************************/
75731
75579
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
75732
75580
 
75733
75581
  "use strict";
75734
75582
 
75735
75583
  Object.defineProperty(exports, "__esModule", ({ value: true }));
75736
- exports.validateAMMCreate = exports.AMM_MAX_TRADING_FEE = void 0;
75584
+ exports.validateNFTokenBurn = void 0;
75737
75585
  const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
75738
75586
  const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
75739
- exports.AMM_MAX_TRADING_FEE = 1000;
75740
- function validateAMMCreate(tx) {
75587
+ function validateNFTokenBurn(tx) {
75741
75588
  (0, common_1.validateBaseTransaction)(tx);
75742
- if (tx.Amount == null) {
75743
- throw new errors_1.ValidationError('AMMCreate: missing field Amount');
75744
- }
75745
- if (!(0, common_1.isAmount)(tx.Amount)) {
75746
- throw new errors_1.ValidationError('AMMCreate: Amount must be an Amount');
75747
- }
75748
- if (tx.Amount2 == null) {
75749
- throw new errors_1.ValidationError('AMMCreate: missing field Amount2');
75750
- }
75751
- if (!(0, common_1.isAmount)(tx.Amount2)) {
75752
- throw new errors_1.ValidationError('AMMCreate: Amount2 must be an Amount');
75753
- }
75754
- if (tx.TradingFee == null) {
75755
- throw new errors_1.ValidationError('AMMCreate: missing field TradingFee');
75756
- }
75757
- if (typeof tx.TradingFee !== 'number') {
75758
- throw new errors_1.ValidationError('AMMCreate: TradingFee must be a number');
75759
- }
75760
- if (tx.TradingFee < 0 || tx.TradingFee > exports.AMM_MAX_TRADING_FEE) {
75761
- throw new errors_1.ValidationError(`AMMCreate: TradingFee must be between 0 and ${exports.AMM_MAX_TRADING_FEE}`);
75589
+ if (tx.NFTokenID == null) {
75590
+ throw new errors_1.ValidationError('NFTokenBurn: missing field NFTokenID');
75762
75591
  }
75763
75592
  }
75764
- exports.validateAMMCreate = validateAMMCreate;
75593
+ exports.validateNFTokenBurn = validateNFTokenBurn;
75765
75594
 
75766
75595
 
75767
75596
  /***/ }),
75768
75597
 
75769
- /***/ "./dist/npm/models/transactions/AMMDeposit.js":
75770
- /*!****************************************************!*\
75771
- !*** ./dist/npm/models/transactions/AMMDeposit.js ***!
75772
- \****************************************************/
75598
+ /***/ "./dist/npm/models/transactions/NFTokenCancelOffer.js":
75599
+ /*!************************************************************!*\
75600
+ !*** ./dist/npm/models/transactions/NFTokenCancelOffer.js ***!
75601
+ \************************************************************/
75773
75602
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
75774
75603
 
75775
75604
  "use strict";
75776
75605
 
75777
75606
  Object.defineProperty(exports, "__esModule", ({ value: true }));
75778
- exports.validateAMMDeposit = exports.AMMDepositFlags = void 0;
75607
+ exports.validateNFTokenCancelOffer = void 0;
75779
75608
  const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
75780
75609
  const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
75781
- var AMMDepositFlags;
75782
- (function (AMMDepositFlags) {
75783
- AMMDepositFlags[AMMDepositFlags["tfLPToken"] = 65536] = "tfLPToken";
75784
- AMMDepositFlags[AMMDepositFlags["tfSingleAsset"] = 524288] = "tfSingleAsset";
75785
- AMMDepositFlags[AMMDepositFlags["tfTwoAsset"] = 1048576] = "tfTwoAsset";
75786
- AMMDepositFlags[AMMDepositFlags["tfOneAssetLPToken"] = 2097152] = "tfOneAssetLPToken";
75787
- AMMDepositFlags[AMMDepositFlags["tfLimitLPToken"] = 4194304] = "tfLimitLPToken";
75788
- })(AMMDepositFlags = exports.AMMDepositFlags || (exports.AMMDepositFlags = {}));
75789
- function validateAMMDeposit(tx) {
75610
+ function validateNFTokenCancelOffer(tx) {
75790
75611
  (0, common_1.validateBaseTransaction)(tx);
75791
- if (tx.Asset == null) {
75792
- throw new errors_1.ValidationError('AMMDeposit: missing field Asset');
75793
- }
75794
- if (!(0, common_1.isCurrency)(tx.Asset)) {
75795
- throw new errors_1.ValidationError('AMMDeposit: Asset must be an Issue');
75796
- }
75797
- if (tx.Asset2 == null) {
75798
- throw new errors_1.ValidationError('AMMDeposit: missing field Asset2');
75799
- }
75800
- if (!(0, common_1.isCurrency)(tx.Asset2)) {
75801
- throw new errors_1.ValidationError('AMMDeposit: Asset2 must be an Issue');
75802
- }
75803
- if (tx.Amount2 != null && tx.Amount == null) {
75804
- throw new errors_1.ValidationError('AMMDeposit: must set Amount with Amount2');
75805
- }
75806
- else if (tx.EPrice != null && tx.Amount == null) {
75807
- throw new errors_1.ValidationError('AMMDeposit: must set Amount with EPrice');
75808
- }
75809
- else if (tx.LPTokenOut == null && tx.Amount == null) {
75810
- throw new errors_1.ValidationError('AMMDeposit: must set at least LPTokenOut or Amount');
75811
- }
75812
- if (tx.LPTokenOut != null && !(0, common_1.isIssuedCurrency)(tx.LPTokenOut)) {
75813
- throw new errors_1.ValidationError('AMMDeposit: LPTokenOut must be an IssuedCurrencyAmount');
75814
- }
75815
- if (tx.Amount != null && !(0, common_1.isAmount)(tx.Amount)) {
75816
- throw new errors_1.ValidationError('AMMDeposit: Amount must be an Amount');
75817
- }
75818
- if (tx.Amount2 != null && !(0, common_1.isAmount)(tx.Amount2)) {
75819
- throw new errors_1.ValidationError('AMMDeposit: Amount2 must be an Amount');
75612
+ if (!Array.isArray(tx.NFTokenOffers)) {
75613
+ throw new errors_1.ValidationError('NFTokenCancelOffer: missing field NFTokenOffers');
75820
75614
  }
75821
- if (tx.EPrice != null && !(0, common_1.isAmount)(tx.EPrice)) {
75822
- throw new errors_1.ValidationError('AMMDeposit: EPrice must be an Amount');
75615
+ if (tx.NFTokenOffers.length < 1) {
75616
+ throw new errors_1.ValidationError('NFTokenCancelOffer: empty field NFTokenOffers');
75823
75617
  }
75824
75618
  }
75825
- exports.validateAMMDeposit = validateAMMDeposit;
75619
+ exports.validateNFTokenCancelOffer = validateNFTokenCancelOffer;
75826
75620
 
75827
75621
 
75828
75622
  /***/ }),
75829
75623
 
75830
- /***/ "./dist/npm/models/transactions/AMMVote.js":
75831
- /*!*************************************************!*\
75832
- !*** ./dist/npm/models/transactions/AMMVote.js ***!
75833
- \*************************************************/
75624
+ /***/ "./dist/npm/models/transactions/NFTokenCreateOffer.js":
75625
+ /*!************************************************************!*\
75626
+ !*** ./dist/npm/models/transactions/NFTokenCreateOffer.js ***!
75627
+ \************************************************************/
75834
75628
  /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
75835
75629
 
75836
75630
  "use strict";
75837
75631
 
75838
75632
  Object.defineProperty(exports, "__esModule", ({ value: true }));
75839
- exports.validateAMMVote = void 0;
75633
+ exports.validateNFTokenCreateOffer = exports.NFTokenCreateOfferFlags = void 0;
75840
75634
  const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
75841
- const AMMCreate_1 = __webpack_require__(/*! ./AMMCreate */ "./dist/npm/models/transactions/AMMCreate.js");
75635
+ const utils_1 = __webpack_require__(/*! ../utils */ "./dist/npm/models/utils/index.js");
75842
75636
  const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
75843
- function validateAMMVote(tx) {
75844
- (0, common_1.validateBaseTransaction)(tx);
75845
- if (tx.Asset == null) {
75846
- throw new errors_1.ValidationError('AMMVote: missing field Asset');
75847
- }
75848
- if (!(0, common_1.isCurrency)(tx.Asset)) {
75849
- throw new errors_1.ValidationError('AMMVote: Asset must be an Issue');
75850
- }
75851
- if (tx.Asset2 == null) {
75852
- throw new errors_1.ValidationError('AMMVote: missing field Asset2');
75853
- }
75854
- if (!(0, common_1.isCurrency)(tx.Asset2)) {
75855
- throw new errors_1.ValidationError('AMMVote: Asset2 must be an Issue');
75856
- }
75857
- if (tx.TradingFee == null) {
75858
- throw new errors_1.ValidationError('AMMVote: missing field TradingFee');
75859
- }
75860
- if (typeof tx.TradingFee !== 'number') {
75861
- throw new errors_1.ValidationError('AMMVote: TradingFee must be a number');
75862
- }
75863
- if (tx.TradingFee < 0 || tx.TradingFee > AMMCreate_1.AMM_MAX_TRADING_FEE) {
75864
- throw new errors_1.ValidationError(`AMMVote: TradingFee must be between 0 and ${AMMCreate_1.AMM_MAX_TRADING_FEE}`);
75865
- }
75866
- }
75867
- exports.validateAMMVote = validateAMMVote;
75868
-
75869
-
75870
- /***/ }),
75871
-
75872
- /***/ "./dist/npm/models/transactions/AMMWithdraw.js":
75873
- /*!*****************************************************!*\
75874
- !*** ./dist/npm/models/transactions/AMMWithdraw.js ***!
75875
- \*****************************************************/
75876
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
75877
-
75878
- "use strict";
75879
-
75880
- Object.defineProperty(exports, "__esModule", ({ value: true }));
75881
- exports.validateAMMWithdraw = exports.AMMWithdrawFlags = void 0;
75882
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
75883
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
75884
- var AMMWithdrawFlags;
75885
- (function (AMMWithdrawFlags) {
75886
- AMMWithdrawFlags[AMMWithdrawFlags["tfLPToken"] = 65536] = "tfLPToken";
75887
- AMMWithdrawFlags[AMMWithdrawFlags["tfWithdrawAll"] = 131072] = "tfWithdrawAll";
75888
- AMMWithdrawFlags[AMMWithdrawFlags["tfOneAssetWithdrawAll"] = 262144] = "tfOneAssetWithdrawAll";
75889
- AMMWithdrawFlags[AMMWithdrawFlags["tfSingleAsset"] = 524288] = "tfSingleAsset";
75890
- AMMWithdrawFlags[AMMWithdrawFlags["tfTwoAsset"] = 1048576] = "tfTwoAsset";
75891
- AMMWithdrawFlags[AMMWithdrawFlags["tfOneAssetLPToken"] = 2097152] = "tfOneAssetLPToken";
75892
- AMMWithdrawFlags[AMMWithdrawFlags["tfLimitLPToken"] = 4194304] = "tfLimitLPToken";
75893
- })(AMMWithdrawFlags = exports.AMMWithdrawFlags || (exports.AMMWithdrawFlags = {}));
75894
- function validateAMMWithdraw(tx) {
75895
- (0, common_1.validateBaseTransaction)(tx);
75896
- if (tx.Asset == null) {
75897
- throw new errors_1.ValidationError('AMMWithdraw: missing field Asset');
75898
- }
75899
- if (!(0, common_1.isCurrency)(tx.Asset)) {
75900
- throw new errors_1.ValidationError('AMMWithdraw: Asset must be an Issue');
75901
- }
75902
- if (tx.Asset2 == null) {
75903
- throw new errors_1.ValidationError('AMMWithdraw: missing field Asset2');
75904
- }
75905
- if (!(0, common_1.isCurrency)(tx.Asset2)) {
75906
- throw new errors_1.ValidationError('AMMWithdraw: Asset2 must be an Issue');
75907
- }
75908
- if (tx.Amount2 != null && tx.Amount == null) {
75909
- throw new errors_1.ValidationError('AMMWithdraw: must set Amount with Amount2');
75910
- }
75911
- else if (tx.EPrice != null && tx.Amount == null) {
75912
- throw new errors_1.ValidationError('AMMWithdraw: must set Amount with EPrice');
75913
- }
75914
- if (tx.LPTokenIn != null && !(0, common_1.isIssuedCurrency)(tx.LPTokenIn)) {
75915
- throw new errors_1.ValidationError('AMMWithdraw: LPTokenIn must be an IssuedCurrencyAmount');
75916
- }
75917
- if (tx.Amount != null && !(0, common_1.isAmount)(tx.Amount)) {
75918
- throw new errors_1.ValidationError('AMMWithdraw: Amount must be an Amount');
75919
- }
75920
- if (tx.Amount2 != null && !(0, common_1.isAmount)(tx.Amount2)) {
75921
- throw new errors_1.ValidationError('AMMWithdraw: Amount2 must be an Amount');
75922
- }
75923
- if (tx.EPrice != null && !(0, common_1.isAmount)(tx.EPrice)) {
75924
- throw new errors_1.ValidationError('AMMWithdraw: EPrice must be an Amount');
75925
- }
75926
- }
75927
- exports.validateAMMWithdraw = validateAMMWithdraw;
75928
-
75929
-
75930
- /***/ }),
75931
-
75932
- /***/ "./dist/npm/models/transactions/NFTokenAcceptOffer.js":
75933
- /*!************************************************************!*\
75934
- !*** ./dist/npm/models/transactions/NFTokenAcceptOffer.js ***!
75935
- \************************************************************/
75936
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
75937
-
75938
- "use strict";
75939
-
75940
- Object.defineProperty(exports, "__esModule", ({ value: true }));
75941
- exports.validateNFTokenAcceptOffer = void 0;
75942
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
75943
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
75944
- function validateNFTokenBrokerFee(tx) {
75945
- const value = (0, common_1.parseAmountValue)(tx.NFTokenBrokerFee);
75946
- if (Number.isNaN(value)) {
75947
- throw new errors_1.ValidationError('NFTokenAcceptOffer: invalid NFTokenBrokerFee');
75948
- }
75949
- if (value <= 0) {
75950
- throw new errors_1.ValidationError('NFTokenAcceptOffer: NFTokenBrokerFee must be greater than 0; omit if there is no fee');
75951
- }
75952
- if (tx.NFTokenSellOffer == null || tx.NFTokenBuyOffer == null) {
75953
- throw new errors_1.ValidationError('NFTokenAcceptOffer: both NFTokenSellOffer and NFTokenBuyOffer must be set if using brokered mode');
75954
- }
75955
- }
75956
- function validateNFTokenAcceptOffer(tx) {
75957
- (0, common_1.validateBaseTransaction)(tx);
75958
- if (tx.NFTokenBrokerFee != null) {
75959
- validateNFTokenBrokerFee(tx);
75960
- }
75961
- if (tx.NFTokenSellOffer == null && tx.NFTokenBuyOffer == null) {
75962
- throw new errors_1.ValidationError('NFTokenAcceptOffer: must set either NFTokenSellOffer or NFTokenBuyOffer');
75963
- }
75964
- }
75965
- exports.validateNFTokenAcceptOffer = validateNFTokenAcceptOffer;
75966
-
75967
-
75968
- /***/ }),
75969
-
75970
- /***/ "./dist/npm/models/transactions/NFTokenBurn.js":
75971
- /*!*****************************************************!*\
75972
- !*** ./dist/npm/models/transactions/NFTokenBurn.js ***!
75973
- \*****************************************************/
75974
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
75975
-
75976
- "use strict";
75977
-
75978
- Object.defineProperty(exports, "__esModule", ({ value: true }));
75979
- exports.validateNFTokenBurn = void 0;
75980
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
75981
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
75982
- function validateNFTokenBurn(tx) {
75983
- (0, common_1.validateBaseTransaction)(tx);
75984
- if (tx.NFTokenID == null) {
75985
- throw new errors_1.ValidationError('NFTokenBurn: missing field NFTokenID');
75986
- }
75987
- }
75988
- exports.validateNFTokenBurn = validateNFTokenBurn;
75989
-
75990
-
75991
- /***/ }),
75992
-
75993
- /***/ "./dist/npm/models/transactions/NFTokenCancelOffer.js":
75994
- /*!************************************************************!*\
75995
- !*** ./dist/npm/models/transactions/NFTokenCancelOffer.js ***!
75996
- \************************************************************/
75997
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
75998
-
75999
- "use strict";
76000
-
76001
- Object.defineProperty(exports, "__esModule", ({ value: true }));
76002
- exports.validateNFTokenCancelOffer = void 0;
76003
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
76004
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
76005
- function validateNFTokenCancelOffer(tx) {
76006
- (0, common_1.validateBaseTransaction)(tx);
76007
- if (!Array.isArray(tx.NFTokenOffers)) {
76008
- throw new errors_1.ValidationError('NFTokenCancelOffer: missing field NFTokenOffers');
76009
- }
76010
- if (tx.NFTokenOffers.length < 1) {
76011
- throw new errors_1.ValidationError('NFTokenCancelOffer: empty field NFTokenOffers');
76012
- }
76013
- }
76014
- exports.validateNFTokenCancelOffer = validateNFTokenCancelOffer;
76015
-
76016
-
76017
- /***/ }),
76018
-
76019
- /***/ "./dist/npm/models/transactions/NFTokenCreateOffer.js":
76020
- /*!************************************************************!*\
76021
- !*** ./dist/npm/models/transactions/NFTokenCreateOffer.js ***!
76022
- \************************************************************/
76023
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
76024
-
76025
- "use strict";
76026
-
76027
- Object.defineProperty(exports, "__esModule", ({ value: true }));
76028
- exports.validateNFTokenCreateOffer = exports.NFTokenCreateOfferFlags = void 0;
76029
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
76030
- const utils_1 = __webpack_require__(/*! ../utils */ "./dist/npm/models/utils/index.js");
76031
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
76032
- var NFTokenCreateOfferFlags;
76033
- (function (NFTokenCreateOfferFlags) {
76034
- NFTokenCreateOfferFlags[NFTokenCreateOfferFlags["tfSellNFToken"] = 1] = "tfSellNFToken";
76035
- })(NFTokenCreateOfferFlags = exports.NFTokenCreateOfferFlags || (exports.NFTokenCreateOfferFlags = {}));
76036
- function validateNFTokenSellOfferCases(tx) {
76037
- if (tx.Owner != null) {
76038
- throw new errors_1.ValidationError('NFTokenCreateOffer: Owner must not be present for sell offers');
75637
+ var NFTokenCreateOfferFlags;
75638
+ (function (NFTokenCreateOfferFlags) {
75639
+ NFTokenCreateOfferFlags[NFTokenCreateOfferFlags["tfSellNFToken"] = 1] = "tfSellNFToken";
75640
+ })(NFTokenCreateOfferFlags = exports.NFTokenCreateOfferFlags || (exports.NFTokenCreateOfferFlags = {}));
75641
+ function validateNFTokenSellOfferCases(tx) {
75642
+ if (tx.Owner != null) {
75643
+ throw new errors_1.ValidationError('NFTokenCreateOffer: Owner must not be present for sell offers');
76039
75644
  }
76040
75645
  }
76041
75646
  function validateNFTokenBuyOfferCases(tx) {
@@ -76111,419 +75716,6 @@ function validateNFTokenMint(tx) {
76111
75716
  exports.validateNFTokenMint = validateNFTokenMint;
76112
75717
 
76113
75718
 
76114
- /***/ }),
76115
-
76116
- /***/ "./dist/npm/models/transactions/XChainAccountCreateCommit.js":
76117
- /*!*******************************************************************!*\
76118
- !*** ./dist/npm/models/transactions/XChainAccountCreateCommit.js ***!
76119
- \*******************************************************************/
76120
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
76121
-
76122
- "use strict";
76123
-
76124
- Object.defineProperty(exports, "__esModule", ({ value: true }));
76125
- exports.validateXChainAccountCreateCommit = void 0;
76126
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
76127
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
76128
- function validateXChainAccountCreateCommit(tx) {
76129
- (0, common_1.validateBaseTransaction)(tx);
76130
- if (tx.XChainBridge == null) {
76131
- throw new errors_1.ValidationError('XChainAccountCreateCommit: missing field XChainBridge');
76132
- }
76133
- if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
76134
- throw new errors_1.ValidationError('XChainAccountCreateCommit: invalid field XChainBridge');
76135
- }
76136
- if (tx.SignatureReward == null) {
76137
- throw new errors_1.ValidationError('XChainAccountCreateCommit: missing field SignatureReward');
76138
- }
76139
- if (typeof tx.SignatureReward !== 'number' &&
76140
- typeof tx.SignatureReward !== 'string') {
76141
- throw new errors_1.ValidationError('XChainAccountCreateCommit: invalid field SignatureReward');
76142
- }
76143
- if (tx.Destination == null) {
76144
- throw new errors_1.ValidationError('XChainAccountCreateCommit: missing field Destination');
76145
- }
76146
- if (typeof tx.Destination !== 'string') {
76147
- throw new errors_1.ValidationError('XChainAccountCreateCommit: invalid field Destination');
76148
- }
76149
- if (tx.Amount == null) {
76150
- throw new errors_1.ValidationError('XChainAccountCreateCommit: missing field Amount');
76151
- }
76152
- if (!(0, common_1.isAmount)(tx.Amount)) {
76153
- throw new errors_1.ValidationError('XChainAccountCreateCommit: invalid field Amount');
76154
- }
76155
- }
76156
- exports.validateXChainAccountCreateCommit = validateXChainAccountCreateCommit;
76157
-
76158
-
76159
- /***/ }),
76160
-
76161
- /***/ "./dist/npm/models/transactions/XChainAddAccountCreateAttestation.js":
76162
- /*!***************************************************************************!*\
76163
- !*** ./dist/npm/models/transactions/XChainAddAccountCreateAttestation.js ***!
76164
- \***************************************************************************/
76165
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
76166
-
76167
- "use strict";
76168
-
76169
- Object.defineProperty(exports, "__esModule", ({ value: true }));
76170
- exports.validateXChainAddAccountCreateAttestation = void 0;
76171
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
76172
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
76173
- function validateXChainAddAccountCreateAttestation(tx) {
76174
- (0, common_1.validateBaseTransaction)(tx);
76175
- if (tx.Amount == null) {
76176
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field Amount');
76177
- }
76178
- if (!(0, common_1.isAmount)(tx.Amount)) {
76179
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field Amount');
76180
- }
76181
- if (tx.AttestationRewardAccount == null) {
76182
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field AttestationRewardAccount');
76183
- }
76184
- if (typeof tx.AttestationRewardAccount !== 'string') {
76185
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field AttestationRewardAccount');
76186
- }
76187
- if (tx.AttestationSignerAccount == null) {
76188
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field AttestationSignerAccount');
76189
- }
76190
- if (typeof tx.AttestationSignerAccount !== 'string') {
76191
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field AttestationSignerAccount');
76192
- }
76193
- if (tx.Destination == null) {
76194
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field Destination');
76195
- }
76196
- if (typeof tx.Destination !== 'string') {
76197
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field Destination');
76198
- }
76199
- if (tx.OtherChainSource == null) {
76200
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field OtherChainSource');
76201
- }
76202
- if (typeof tx.OtherChainSource !== 'string') {
76203
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field OtherChainSource');
76204
- }
76205
- if (tx.PublicKey == null) {
76206
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field PublicKey');
76207
- }
76208
- if (typeof tx.PublicKey !== 'string') {
76209
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field PublicKey');
76210
- }
76211
- if (tx.Signature == null) {
76212
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field Signature');
76213
- }
76214
- if (typeof tx.Signature !== 'string') {
76215
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field Signature');
76216
- }
76217
- if (tx.SignatureReward == null) {
76218
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field SignatureReward');
76219
- }
76220
- if (!(0, common_1.isAmount)(tx.SignatureReward)) {
76221
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field SignatureReward');
76222
- }
76223
- if (tx.WasLockingChainSend == null) {
76224
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field WasLockingChainSend');
76225
- }
76226
- if (tx.WasLockingChainSend !== 0 && tx.WasLockingChainSend !== 1) {
76227
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field WasLockingChainSend');
76228
- }
76229
- if (tx.XChainAccountCreateCount == null) {
76230
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field XChainAccountCreateCount');
76231
- }
76232
- if (typeof tx.XChainAccountCreateCount !== 'string' &&
76233
- typeof tx.XChainAccountCreateCount !== 'number') {
76234
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field XChainAccountCreateCount');
76235
- }
76236
- if (tx.XChainBridge == null) {
76237
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: missing field XChainBridge');
76238
- }
76239
- if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
76240
- throw new errors_1.ValidationError('XChainAddAccountCreateAttestation: invalid field XChainBridge');
76241
- }
76242
- }
76243
- exports.validateXChainAddAccountCreateAttestation = validateXChainAddAccountCreateAttestation;
76244
-
76245
-
76246
- /***/ }),
76247
-
76248
- /***/ "./dist/npm/models/transactions/XChainAddClaimAttestation.js":
76249
- /*!*******************************************************************!*\
76250
- !*** ./dist/npm/models/transactions/XChainAddClaimAttestation.js ***!
76251
- \*******************************************************************/
76252
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
76253
-
76254
- "use strict";
76255
-
76256
- Object.defineProperty(exports, "__esModule", ({ value: true }));
76257
- exports.validateXChainAddClaimAttestation = void 0;
76258
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
76259
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
76260
- function validateXChainAddClaimAttestation(tx) {
76261
- (0, common_1.validateBaseTransaction)(tx);
76262
- if (tx.Amount == null) {
76263
- throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field Amount');
76264
- }
76265
- if (!(0, common_1.isAmount)(tx.Amount)) {
76266
- throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field Amount');
76267
- }
76268
- if (tx.AttestationRewardAccount == null) {
76269
- throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field AttestationRewardAccount');
76270
- }
76271
- if (typeof tx.AttestationRewardAccount !== 'string') {
76272
- throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field AttestationRewardAccount');
76273
- }
76274
- if (tx.AttestationSignerAccount == null) {
76275
- throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field AttestationSignerAccount');
76276
- }
76277
- if (typeof tx.AttestationSignerAccount !== 'string') {
76278
- throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field AttestationSignerAccount');
76279
- }
76280
- if (tx.Destination !== undefined && typeof tx.Destination !== 'string') {
76281
- throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field Destination');
76282
- }
76283
- if (tx.OtherChainSource == null) {
76284
- throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field OtherChainSource');
76285
- }
76286
- if (typeof tx.OtherChainSource !== 'string') {
76287
- throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field OtherChainSource');
76288
- }
76289
- if (tx.PublicKey == null) {
76290
- throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field PublicKey');
76291
- }
76292
- if (typeof tx.PublicKey !== 'string') {
76293
- throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field PublicKey');
76294
- }
76295
- if (tx.Signature == null) {
76296
- throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field Signature');
76297
- }
76298
- if (typeof tx.Signature !== 'string') {
76299
- throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field Signature');
76300
- }
76301
- if (tx.WasLockingChainSend == null) {
76302
- throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field WasLockingChainSend');
76303
- }
76304
- if (tx.WasLockingChainSend !== 0 && tx.WasLockingChainSend !== 1) {
76305
- throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field WasLockingChainSend');
76306
- }
76307
- if (tx.XChainBridge == null) {
76308
- throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field XChainBridge');
76309
- }
76310
- if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
76311
- throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field XChainBridge');
76312
- }
76313
- if (tx.XChainClaimID == null) {
76314
- throw new errors_1.ValidationError('XChainAddClaimAttestation: missing field XChainClaimID');
76315
- }
76316
- if (typeof tx.XChainClaimID !== 'string' &&
76317
- typeof tx.XChainClaimID !== 'number') {
76318
- throw new errors_1.ValidationError('XChainAddClaimAttestation: invalid field XChainClaimID');
76319
- }
76320
- }
76321
- exports.validateXChainAddClaimAttestation = validateXChainAddClaimAttestation;
76322
-
76323
-
76324
- /***/ }),
76325
-
76326
- /***/ "./dist/npm/models/transactions/XChainClaim.js":
76327
- /*!*****************************************************!*\
76328
- !*** ./dist/npm/models/transactions/XChainClaim.js ***!
76329
- \*****************************************************/
76330
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
76331
-
76332
- "use strict";
76333
-
76334
- Object.defineProperty(exports, "__esModule", ({ value: true }));
76335
- exports.validateXChainClaim = void 0;
76336
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
76337
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
76338
- function validateXChainClaim(tx) {
76339
- (0, common_1.validateBaseTransaction)(tx);
76340
- if (tx.XChainBridge == null) {
76341
- throw new errors_1.ValidationError('XChainClaim: missing field XChainBridge');
76342
- }
76343
- if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
76344
- throw new errors_1.ValidationError('XChainClaim: invalid field XChainBridge');
76345
- }
76346
- if (tx.XChainClaimID == null) {
76347
- throw new errors_1.ValidationError('XChainClaim: missing field XChainClaimID');
76348
- }
76349
- if (typeof tx.XChainClaimID !== 'number' &&
76350
- typeof tx.XChainClaimID !== 'string') {
76351
- throw new errors_1.ValidationError('XChainClaim: invalid field XChainClaimID');
76352
- }
76353
- if (tx.Destination == null) {
76354
- throw new errors_1.ValidationError('XChainClaim: missing field Destination');
76355
- }
76356
- if (typeof tx.Destination !== 'string') {
76357
- throw new errors_1.ValidationError('XChainClaim: invalid field Destination');
76358
- }
76359
- if (tx.DestinationTag !== undefined &&
76360
- typeof tx.DestinationTag !== 'number') {
76361
- throw new errors_1.ValidationError('XChainClaim: invalid field DestinationTag');
76362
- }
76363
- if (tx.Amount == null) {
76364
- throw new errors_1.ValidationError('XChainClaim: missing field Amount');
76365
- }
76366
- if (!(0, common_1.isAmount)(tx.Amount)) {
76367
- throw new errors_1.ValidationError('XChainClaim: invalid field Amount');
76368
- }
76369
- }
76370
- exports.validateXChainClaim = validateXChainClaim;
76371
-
76372
-
76373
- /***/ }),
76374
-
76375
- /***/ "./dist/npm/models/transactions/XChainCommit.js":
76376
- /*!******************************************************!*\
76377
- !*** ./dist/npm/models/transactions/XChainCommit.js ***!
76378
- \******************************************************/
76379
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
76380
-
76381
- "use strict";
76382
-
76383
- Object.defineProperty(exports, "__esModule", ({ value: true }));
76384
- exports.validateXChainCommit = void 0;
76385
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
76386
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
76387
- function validateXChainCommit(tx) {
76388
- (0, common_1.validateBaseTransaction)(tx);
76389
- if (tx.XChainBridge == null) {
76390
- throw new errors_1.ValidationError('XChainCommit: missing field XChainBridge');
76391
- }
76392
- if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
76393
- throw new errors_1.ValidationError('XChainCommit: invalid field XChainBridge');
76394
- }
76395
- if (tx.XChainClaimID == null) {
76396
- throw new errors_1.ValidationError('XChainCommit: missing field XChainClaimID');
76397
- }
76398
- if (typeof tx.XChainClaimID !== 'number' &&
76399
- typeof tx.XChainClaimID !== 'string') {
76400
- throw new errors_1.ValidationError('XChainCommit: invalid field XChainClaimID');
76401
- }
76402
- if (tx.OtherChainDestination !== undefined &&
76403
- typeof tx.OtherChainDestination !== 'string') {
76404
- throw new errors_1.ValidationError('XChainCommit: invalid field OtherChainDestination');
76405
- }
76406
- if (tx.Amount == null) {
76407
- throw new errors_1.ValidationError('XChainCommit: missing field Amount');
76408
- }
76409
- if (!(0, common_1.isAmount)(tx.Amount)) {
76410
- throw new errors_1.ValidationError('XChainCommit: invalid field Amount');
76411
- }
76412
- }
76413
- exports.validateXChainCommit = validateXChainCommit;
76414
-
76415
-
76416
- /***/ }),
76417
-
76418
- /***/ "./dist/npm/models/transactions/XChainCreateBridge.js":
76419
- /*!************************************************************!*\
76420
- !*** ./dist/npm/models/transactions/XChainCreateBridge.js ***!
76421
- \************************************************************/
76422
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
76423
-
76424
- "use strict";
76425
-
76426
- Object.defineProperty(exports, "__esModule", ({ value: true }));
76427
- exports.validateXChainCreateBridge = void 0;
76428
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
76429
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
76430
- function validateXChainCreateBridge(tx) {
76431
- (0, common_1.validateBaseTransaction)(tx);
76432
- if (tx.XChainBridge == null) {
76433
- throw new errors_1.ValidationError('XChainCreateBridge: missing field XChainBridge');
76434
- }
76435
- if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
76436
- throw new errors_1.ValidationError('XChainCreateBridge: invalid field XChainBridge');
76437
- }
76438
- if (tx.SignatureReward == null) {
76439
- throw new errors_1.ValidationError('XChainCreateBridge: missing field SignatureReward');
76440
- }
76441
- if (!(0, common_1.isAmount)(tx.SignatureReward)) {
76442
- throw new errors_1.ValidationError('XChainCreateBridge: invalid field SignatureReward');
76443
- }
76444
- if (tx.MinAccountCreateAmount !== undefined &&
76445
- !(0, common_1.isAmount)(tx.MinAccountCreateAmount)) {
76446
- throw new errors_1.ValidationError('XChainCreateBridge: invalid field MinAccountCreateAmount');
76447
- }
76448
- }
76449
- exports.validateXChainCreateBridge = validateXChainCreateBridge;
76450
-
76451
-
76452
- /***/ }),
76453
-
76454
- /***/ "./dist/npm/models/transactions/XChainCreateClaimID.js":
76455
- /*!*************************************************************!*\
76456
- !*** ./dist/npm/models/transactions/XChainCreateClaimID.js ***!
76457
- \*************************************************************/
76458
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
76459
-
76460
- "use strict";
76461
-
76462
- Object.defineProperty(exports, "__esModule", ({ value: true }));
76463
- exports.validateXChainCreateClaimID = void 0;
76464
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
76465
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
76466
- function validateXChainCreateClaimID(tx) {
76467
- (0, common_1.validateBaseTransaction)(tx);
76468
- if (tx.XChainBridge == null) {
76469
- throw new errors_1.ValidationError('XChainCreateClaimID: missing field XChainBridge');
76470
- }
76471
- if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
76472
- throw new errors_1.ValidationError('XChainCreateClaimID: invalid field XChainBridge');
76473
- }
76474
- if (tx.SignatureReward == null) {
76475
- throw new errors_1.ValidationError('XChainCreateClaimID: missing field SignatureReward');
76476
- }
76477
- if (!(0, common_1.isAmount)(tx.SignatureReward)) {
76478
- throw new errors_1.ValidationError('XChainCreateClaimID: invalid field SignatureReward');
76479
- }
76480
- if (tx.OtherChainSource == null) {
76481
- throw new errors_1.ValidationError('XChainCreateClaimID: missing field OtherChainSource');
76482
- }
76483
- if (typeof tx.OtherChainSource !== 'string') {
76484
- throw new errors_1.ValidationError('XChainCreateClaimID: invalid field OtherChainSource');
76485
- }
76486
- }
76487
- exports.validateXChainCreateClaimID = validateXChainCreateClaimID;
76488
-
76489
-
76490
- /***/ }),
76491
-
76492
- /***/ "./dist/npm/models/transactions/XChainModifyBridge.js":
76493
- /*!************************************************************!*\
76494
- !*** ./dist/npm/models/transactions/XChainModifyBridge.js ***!
76495
- \************************************************************/
76496
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
76497
-
76498
- "use strict";
76499
-
76500
- Object.defineProperty(exports, "__esModule", ({ value: true }));
76501
- exports.validateXChainModifyBridge = exports.XChainModifyBridgeFlags = void 0;
76502
- const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
76503
- const common_1 = __webpack_require__(/*! ./common */ "./dist/npm/models/transactions/common.js");
76504
- var XChainModifyBridgeFlags;
76505
- (function (XChainModifyBridgeFlags) {
76506
- XChainModifyBridgeFlags[XChainModifyBridgeFlags["tfClearAccountCreateAmount"] = 65536] = "tfClearAccountCreateAmount";
76507
- })(XChainModifyBridgeFlags = exports.XChainModifyBridgeFlags || (exports.XChainModifyBridgeFlags = {}));
76508
- function validateXChainModifyBridge(tx) {
76509
- (0, common_1.validateBaseTransaction)(tx);
76510
- if (tx.XChainBridge == null) {
76511
- throw new errors_1.ValidationError('XChainModifyBridge: missing field XChainBridge');
76512
- }
76513
- if (!(0, common_1.isXChainBridge)(tx.XChainBridge)) {
76514
- throw new errors_1.ValidationError('XChainModifyBridge: invalid field XChainBridge');
76515
- }
76516
- if (tx.SignatureReward !== undefined && !(0, common_1.isAmount)(tx.SignatureReward)) {
76517
- throw new errors_1.ValidationError('XChainModifyBridge: invalid field SignatureReward');
76518
- }
76519
- if (tx.MinAccountCreateAmount !== undefined &&
76520
- !(0, common_1.isAmount)(tx.MinAccountCreateAmount)) {
76521
- throw new errors_1.ValidationError('XChainModifyBridge: invalid field MinAccountCreateAmount');
76522
- }
76523
- }
76524
- exports.validateXChainModifyBridge = validateXChainModifyBridge;
76525
-
76526
-
76527
75719
  /***/ }),
76528
75720
 
76529
75721
  /***/ "./dist/npm/models/transactions/accountDelete.js":
@@ -76758,7 +75950,7 @@ exports.validateCheckCreate = validateCheckCreate;
76758
75950
  "use strict";
76759
75951
 
76760
75952
  Object.defineProperty(exports, "__esModule", ({ value: true }));
76761
- exports.parseAmountValue = exports.validateBaseTransaction = exports.isXChainBridge = exports.isAmount = exports.isIssuedCurrency = exports.isCurrency = void 0;
75953
+ exports.parseAmountValue = exports.validateBaseTransaction = exports.isAmount = exports.isIssuedCurrency = void 0;
76762
75954
  const ripple_binary_codec_1 = __webpack_require__(/*! ripple-binary-codec */ "../../node_modules/ripple-binary-codec/dist/index.js");
76763
75955
  const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
76764
75956
  const utils_1 = __webpack_require__(/*! ../utils */ "./dist/npm/models/utils/index.js");
@@ -76791,22 +75983,10 @@ function isSigner(obj) {
76791
75983
  typeof signer.TxnSignature === 'string' &&
76792
75984
  typeof signer.SigningPubKey === 'string');
76793
75985
  }
76794
- const XRP_CURRENCY_SIZE = 1;
76795
- const ISSUE_SIZE = 2;
76796
75986
  const ISSUED_CURRENCY_SIZE = 3;
76797
- const XCHAIN_BRIDGE_SIZE = 4;
76798
75987
  function isRecord(value) {
76799
75988
  return value !== null && typeof value === 'object';
76800
75989
  }
76801
- function isCurrency(input) {
76802
- return (isRecord(input) &&
76803
- ((Object.keys(input).length === ISSUE_SIZE &&
76804
- typeof input.issuer === 'string' &&
76805
- typeof input.currency === 'string') ||
76806
- (Object.keys(input).length === XRP_CURRENCY_SIZE &&
76807
- input.currency === 'XRP')));
76808
- }
76809
- exports.isCurrency = isCurrency;
76810
75990
  function isIssuedCurrency(input) {
76811
75991
  return (isRecord(input) &&
76812
75992
  Object.keys(input).length === ISSUED_CURRENCY_SIZE &&
@@ -76819,15 +75999,6 @@ function isAmount(amount) {
76819
75999
  return typeof amount === 'string' || isIssuedCurrency(amount);
76820
76000
  }
76821
76001
  exports.isAmount = isAmount;
76822
- function isXChainBridge(input) {
76823
- return (isRecord(input) &&
76824
- Object.keys(input).length === XCHAIN_BRIDGE_SIZE &&
76825
- typeof input.LockingChainDoor === 'string' &&
76826
- isCurrency(input.LockingChainIssue) &&
76827
- typeof input.IssuingChainDoor === 'string' &&
76828
- isCurrency(input.IssuingChainIssue));
76829
- }
76830
- exports.isXChainBridge = isXChainBridge;
76831
76002
  function validateBaseTransaction(common) {
76832
76003
  if (common.Account === undefined) {
76833
76004
  throw new errors_1.ValidationError('BaseTransaction: missing field Account');
@@ -76882,6 +76053,9 @@ function validateBaseTransaction(common) {
76882
76053
  typeof common.TxnSignature !== 'string') {
76883
76054
  throw new errors_1.ValidationError('BaseTransaction: invalid TxnSignature');
76884
76055
  }
76056
+ if (common.NetworkID !== undefined && typeof common.NetworkID !== 'number') {
76057
+ throw new errors_1.ValidationError('BaseTransaction: invalid NetworkID');
76058
+ }
76885
76059
  }
76886
76060
  exports.validateBaseTransaction = validateBaseTransaction;
76887
76061
  function parseAmountValue(amount) {
@@ -76938,6 +76112,25 @@ function validateDepositPreauth(tx) {
76938
76112
  exports.validateDepositPreauth = validateDepositPreauth;
76939
76113
 
76940
76114
 
76115
+ /***/ }),
76116
+
76117
+ /***/ "./dist/npm/models/transactions/enableAmendment.js":
76118
+ /*!*********************************************************!*\
76119
+ !*** ./dist/npm/models/transactions/enableAmendment.js ***!
76120
+ \*********************************************************/
76121
+ /***/ ((__unused_webpack_module, exports) => {
76122
+
76123
+ "use strict";
76124
+
76125
+ Object.defineProperty(exports, "__esModule", ({ value: true }));
76126
+ exports.EnableAmendmentFlags = void 0;
76127
+ var EnableAmendmentFlags;
76128
+ (function (EnableAmendmentFlags) {
76129
+ EnableAmendmentFlags[EnableAmendmentFlags["tfGotMajority"] = 65536] = "tfGotMajority";
76130
+ EnableAmendmentFlags[EnableAmendmentFlags["tfLostMajority"] = 131072] = "tfLostMajority";
76131
+ })(EnableAmendmentFlags = exports.EnableAmendmentFlags || (exports.EnableAmendmentFlags = {}));
76132
+
76133
+
76941
76134
  /***/ }),
76942
76135
 
76943
76136
  /***/ "./dist/npm/models/transactions/escrowCancel.js":
@@ -76989,8 +76182,8 @@ function validateEscrowCreate(tx) {
76989
76182
  if (tx.Amount === undefined) {
76990
76183
  throw new errors_1.ValidationError('EscrowCreate: missing field Amount');
76991
76184
  }
76992
- if (typeof tx.Amount !== 'string' && !(0, common_1.isAmount)(tx.Amount)) {
76993
- throw new errors_1.ValidationError('EscrowCreate: Amount must be an Amount');
76185
+ if (typeof tx.Amount !== 'string') {
76186
+ throw new errors_1.ValidationError('EscrowCreate: Amount must be a string');
76994
76187
  }
76995
76188
  if (tx.Destination === undefined) {
76996
76189
  throw new errors_1.ValidationError('EscrowCreate: missing field Destination');
@@ -77065,21 +76258,34 @@ exports.validateEscrowFinish = validateEscrowFinish;
77065
76258
  /*!***********************************************!*\
77066
76259
  !*** ./dist/npm/models/transactions/index.js ***!
77067
76260
  \***********************************************/
77068
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
76261
+ /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
77069
76262
 
77070
76263
  "use strict";
77071
76264
 
76265
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
76266
+ if (k2 === undefined) k2 = k;
76267
+ var desc = Object.getOwnPropertyDescriptor(m, k);
76268
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
76269
+ desc = { enumerable: true, get: function() { return m[k]; } };
76270
+ }
76271
+ Object.defineProperty(o, k2, desc);
76272
+ }) : (function(o, m, k, k2) {
76273
+ if (k2 === undefined) k2 = k;
76274
+ o[k2] = m[k];
76275
+ }));
76276
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
76277
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
76278
+ };
77072
76279
  Object.defineProperty(exports, "__esModule", ({ value: true }));
77073
- exports.XChainModifyBridgeFlags = exports.TrustSetFlags = exports.PaymentChannelClaimFlags = exports.PaymentFlags = exports.OfferCreateFlags = exports.NFTokenMintFlags = exports.NFTokenCreateOfferFlags = exports.AMMWithdrawFlags = exports.AMMDepositFlags = exports.AccountSetTfFlags = exports.AccountSetAsfFlags = exports.validate = void 0;
76280
+ exports.TrustSetFlags = exports.PaymentChannelClaimFlags = exports.PaymentFlags = exports.OfferCreateFlags = exports.NFTokenMintFlags = exports.NFTokenCreateOfferFlags = exports.EnableAmendmentFlags = exports.AccountSetTfFlags = exports.AccountSetAsfFlags = exports.validate = void 0;
77074
76281
  var transaction_1 = __webpack_require__(/*! ./transaction */ "./dist/npm/models/transactions/transaction.js");
77075
76282
  Object.defineProperty(exports, "validate", ({ enumerable: true, get: function () { return transaction_1.validate; } }));
76283
+ __exportStar(__webpack_require__(/*! ./metadata */ "./dist/npm/models/transactions/metadata.js"), exports);
77076
76284
  var accountSet_1 = __webpack_require__(/*! ./accountSet */ "./dist/npm/models/transactions/accountSet.js");
77077
76285
  Object.defineProperty(exports, "AccountSetAsfFlags", ({ enumerable: true, get: function () { return accountSet_1.AccountSetAsfFlags; } }));
77078
76286
  Object.defineProperty(exports, "AccountSetTfFlags", ({ enumerable: true, get: function () { return accountSet_1.AccountSetTfFlags; } }));
77079
- var AMMDeposit_1 = __webpack_require__(/*! ./AMMDeposit */ "./dist/npm/models/transactions/AMMDeposit.js");
77080
- Object.defineProperty(exports, "AMMDepositFlags", ({ enumerable: true, get: function () { return AMMDeposit_1.AMMDepositFlags; } }));
77081
- var AMMWithdraw_1 = __webpack_require__(/*! ./AMMWithdraw */ "./dist/npm/models/transactions/AMMWithdraw.js");
77082
- Object.defineProperty(exports, "AMMWithdrawFlags", ({ enumerable: true, get: function () { return AMMWithdraw_1.AMMWithdrawFlags; } }));
76287
+ var enableAmendment_1 = __webpack_require__(/*! ./enableAmendment */ "./dist/npm/models/transactions/enableAmendment.js");
76288
+ Object.defineProperty(exports, "EnableAmendmentFlags", ({ enumerable: true, get: function () { return enableAmendment_1.EnableAmendmentFlags; } }));
77083
76289
  var NFTokenCreateOffer_1 = __webpack_require__(/*! ./NFTokenCreateOffer */ "./dist/npm/models/transactions/NFTokenCreateOffer.js");
77084
76290
  Object.defineProperty(exports, "NFTokenCreateOfferFlags", ({ enumerable: true, get: function () { return NFTokenCreateOffer_1.NFTokenCreateOfferFlags; } }));
77085
76291
  var NFTokenMint_1 = __webpack_require__(/*! ./NFTokenMint */ "./dist/npm/models/transactions/NFTokenMint.js");
@@ -77092,8 +76298,6 @@ var paymentChannelClaim_1 = __webpack_require__(/*! ./paymentChannelClaim */ "./
77092
76298
  Object.defineProperty(exports, "PaymentChannelClaimFlags", ({ enumerable: true, get: function () { return paymentChannelClaim_1.PaymentChannelClaimFlags; } }));
77093
76299
  var trustSet_1 = __webpack_require__(/*! ./trustSet */ "./dist/npm/models/transactions/trustSet.js");
77094
76300
  Object.defineProperty(exports, "TrustSetFlags", ({ enumerable: true, get: function () { return trustSet_1.TrustSetFlags; } }));
77095
- var XChainModifyBridge_1 = __webpack_require__(/*! ./XChainModifyBridge */ "./dist/npm/models/transactions/XChainModifyBridge.js");
77096
- Object.defineProperty(exports, "XChainModifyBridgeFlags", ({ enumerable: true, get: function () { return XChainModifyBridge_1.XChainModifyBridgeFlags; } }));
77097
76301
 
77098
76302
 
77099
76303
  /***/ }),
@@ -77334,11 +76538,11 @@ function validatePaymentChannelClaim(tx) {
77334
76538
  if (typeof tx.Channel !== 'string') {
77335
76539
  throw new errors_1.ValidationError('PaymentChannelClaim: Channel must be a string');
77336
76540
  }
77337
- if (tx.Balance !== undefined && !(0, common_1.isAmount)(tx.Balance)) {
77338
- throw new errors_1.ValidationError('PaymentChannelClaim: Balance must be an Amount');
76541
+ if (tx.Balance !== undefined && typeof tx.Balance !== 'string') {
76542
+ throw new errors_1.ValidationError('PaymentChannelClaim: Balance must be a string');
77339
76543
  }
77340
- if (tx.Amount !== undefined && !(0, common_1.isAmount)(tx.Amount)) {
77341
- throw new errors_1.ValidationError('PaymentChannelClaim: Amount must be an Amount');
76544
+ if (tx.Amount !== undefined && typeof tx.Amount !== 'string') {
76545
+ throw new errors_1.ValidationError('PaymentChannelClaim: Amount must be a string');
77342
76546
  }
77343
76547
  if (tx.Signature !== undefined && typeof tx.Signature !== 'string') {
77344
76548
  throw new errors_1.ValidationError('PaymentChannelClaim: Signature must be a string');
@@ -77369,8 +76573,8 @@ function validatePaymentChannelCreate(tx) {
77369
76573
  if (tx.Amount === undefined) {
77370
76574
  throw new errors_1.ValidationError('PaymentChannelCreate: missing Amount');
77371
76575
  }
77372
- if (typeof tx.Amount !== 'string' && !(0, common_1.isAmount)(tx.Amount)) {
77373
- throw new errors_1.ValidationError('PaymentChannelCreate: Amount must be an Amount');
76576
+ if (typeof tx.Amount !== 'string') {
76577
+ throw new errors_1.ValidationError('PaymentChannelCreate: Amount must be a string');
77374
76578
  }
77375
76579
  if (tx.Destination === undefined) {
77376
76580
  throw new errors_1.ValidationError('PaymentChannelCreate: missing Destination');
@@ -77426,8 +76630,8 @@ function validatePaymentChannelFund(tx) {
77426
76630
  if (tx.Amount === undefined) {
77427
76631
  throw new errors_1.ValidationError('PaymentChannelFund: missing Amount');
77428
76632
  }
77429
- if (typeof tx.Amount !== 'string' && !(0, common_1.isAmount)(tx.Amount)) {
77430
- throw new errors_1.ValidationError('PaymentChannelFund: Amount must be an Amount');
76633
+ if (typeof tx.Amount !== 'string') {
76634
+ throw new errors_1.ValidationError('PaymentChannelFund: Amount must be a string');
77431
76635
  }
77432
76636
  if (tx.Expiration !== undefined && typeof tx.Expiration !== 'number') {
77433
76637
  throw new errors_1.ValidationError('PaymentChannelFund: Expiration must be a number');
@@ -77483,6 +76687,9 @@ function validateSignerListSet(tx) {
77483
76687
  if (typeof tx.SignerQuorum !== 'number') {
77484
76688
  throw new errors_1.ValidationError('SignerListSet: invalid SignerQuorum');
77485
76689
  }
76690
+ if (tx.SignerQuorum === 0) {
76691
+ return;
76692
+ }
77486
76693
  if (tx.SignerEntries === undefined) {
77487
76694
  throw new errors_1.ValidationError('SignerListSet: missing field SignerEntries');
77488
76695
  }
@@ -77557,11 +76764,6 @@ const utils_1 = __webpack_require__(/*! ../utils */ "./dist/npm/models/utils/ind
77557
76764
  const flags_1 = __webpack_require__(/*! ../utils/flags */ "./dist/npm/models/utils/flags.js");
77558
76765
  const accountDelete_1 = __webpack_require__(/*! ./accountDelete */ "./dist/npm/models/transactions/accountDelete.js");
77559
76766
  const accountSet_1 = __webpack_require__(/*! ./accountSet */ "./dist/npm/models/transactions/accountSet.js");
77560
- const AMMBid_1 = __webpack_require__(/*! ./AMMBid */ "./dist/npm/models/transactions/AMMBid.js");
77561
- const AMMCreate_1 = __webpack_require__(/*! ./AMMCreate */ "./dist/npm/models/transactions/AMMCreate.js");
77562
- const AMMDeposit_1 = __webpack_require__(/*! ./AMMDeposit */ "./dist/npm/models/transactions/AMMDeposit.js");
77563
- const AMMVote_1 = __webpack_require__(/*! ./AMMVote */ "./dist/npm/models/transactions/AMMVote.js");
77564
- const AMMWithdraw_1 = __webpack_require__(/*! ./AMMWithdraw */ "./dist/npm/models/transactions/AMMWithdraw.js");
77565
76767
  const checkCancel_1 = __webpack_require__(/*! ./checkCancel */ "./dist/npm/models/transactions/checkCancel.js");
77566
76768
  const checkCash_1 = __webpack_require__(/*! ./checkCash */ "./dist/npm/models/transactions/checkCash.js");
77567
76769
  const checkCreate_1 = __webpack_require__(/*! ./checkCreate */ "./dist/npm/models/transactions/checkCreate.js");
@@ -77585,14 +76787,6 @@ const setRegularKey_1 = __webpack_require__(/*! ./setRegularKey */ "./dist/npm/m
77585
76787
  const signerListSet_1 = __webpack_require__(/*! ./signerListSet */ "./dist/npm/models/transactions/signerListSet.js");
77586
76788
  const ticketCreate_1 = __webpack_require__(/*! ./ticketCreate */ "./dist/npm/models/transactions/ticketCreate.js");
77587
76789
  const trustSet_1 = __webpack_require__(/*! ./trustSet */ "./dist/npm/models/transactions/trustSet.js");
77588
- const XChainAccountCreateCommit_1 = __webpack_require__(/*! ./XChainAccountCreateCommit */ "./dist/npm/models/transactions/XChainAccountCreateCommit.js");
77589
- const XChainAddAccountCreateAttestation_1 = __webpack_require__(/*! ./XChainAddAccountCreateAttestation */ "./dist/npm/models/transactions/XChainAddAccountCreateAttestation.js");
77590
- const XChainAddClaimAttestation_1 = __webpack_require__(/*! ./XChainAddClaimAttestation */ "./dist/npm/models/transactions/XChainAddClaimAttestation.js");
77591
- const XChainClaim_1 = __webpack_require__(/*! ./XChainClaim */ "./dist/npm/models/transactions/XChainClaim.js");
77592
- const XChainCommit_1 = __webpack_require__(/*! ./XChainCommit */ "./dist/npm/models/transactions/XChainCommit.js");
77593
- const XChainCreateBridge_1 = __webpack_require__(/*! ./XChainCreateBridge */ "./dist/npm/models/transactions/XChainCreateBridge.js");
77594
- const XChainCreateClaimID_1 = __webpack_require__(/*! ./XChainCreateClaimID */ "./dist/npm/models/transactions/XChainCreateClaimID.js");
77595
- const XChainModifyBridge_1 = __webpack_require__(/*! ./XChainModifyBridge */ "./dist/npm/models/transactions/XChainModifyBridge.js");
77596
76790
  function validate(transaction) {
77597
76791
  const tx = Object.assign({}, transaction);
77598
76792
  if (tx.TransactionType == null) {
@@ -77645,21 +76839,6 @@ function validate(transaction) {
77645
76839
  case 'AccountSet':
77646
76840
  (0, accountSet_1.validateAccountSet)(tx);
77647
76841
  break;
77648
- case 'AMMBid':
77649
- (0, AMMBid_1.validateAMMBid)(tx);
77650
- break;
77651
- case 'AMMDeposit':
77652
- (0, AMMDeposit_1.validateAMMDeposit)(tx);
77653
- break;
77654
- case 'AMMCreate':
77655
- (0, AMMCreate_1.validateAMMCreate)(tx);
77656
- break;
77657
- case 'AMMVote':
77658
- (0, AMMVote_1.validateAMMVote)(tx);
77659
- break;
77660
- case 'AMMWithdraw':
77661
- (0, AMMWithdraw_1.validateAMMWithdraw)(tx);
77662
- break;
77663
76842
  case 'CheckCancel':
77664
76843
  (0, checkCancel_1.validateCheckCancel)(tx);
77665
76844
  break;
@@ -77726,30 +76905,6 @@ function validate(transaction) {
77726
76905
  case 'TrustSet':
77727
76906
  (0, trustSet_1.validateTrustSet)(tx);
77728
76907
  break;
77729
- case 'XChainAddAccountCreateAttestation':
77730
- (0, XChainAddAccountCreateAttestation_1.validateXChainAddAccountCreateAttestation)(tx);
77731
- break;
77732
- case 'XChainAddClaimAttestation':
77733
- (0, XChainAddClaimAttestation_1.validateXChainAddClaimAttestation)(tx);
77734
- break;
77735
- case 'XChainClaim':
77736
- (0, XChainClaim_1.validateXChainClaim)(tx);
77737
- break;
77738
- case 'XChainCommit':
77739
- (0, XChainCommit_1.validateXChainCommit)(tx);
77740
- break;
77741
- case 'XChainCreateBridge':
77742
- (0, XChainCreateBridge_1.validateXChainCreateBridge)(tx);
77743
- break;
77744
- case 'XChainCreateClaimID':
77745
- (0, XChainCreateClaimID_1.validateXChainCreateClaimID)(tx);
77746
- break;
77747
- case 'XChainAccountCreateCommit':
77748
- (0, XChainAccountCreateCommit_1.validateXChainAccountCreateCommit)(tx);
77749
- break;
77750
- case 'XChainModifyBridge':
77751
- (0, XChainModifyBridge_1.validateXChainModifyBridge)(tx);
77752
- break;
77753
76908
  default:
77754
76909
  throw new errors_1.ValidationError(`Invalid field TransactionType: ${tx.TransactionType}`);
77755
76910
  }
@@ -77813,13 +76968,10 @@ exports.setTransactionFlagsToNumber = exports.parseAccountRootFlags = void 0;
77813
76968
  const errors_1 = __webpack_require__(/*! ../../errors */ "./dist/npm/errors.js");
77814
76969
  const AccountRoot_1 = __webpack_require__(/*! ../ledger/AccountRoot */ "./dist/npm/models/ledger/AccountRoot.js");
77815
76970
  const accountSet_1 = __webpack_require__(/*! ../transactions/accountSet */ "./dist/npm/models/transactions/accountSet.js");
77816
- const AMMDeposit_1 = __webpack_require__(/*! ../transactions/AMMDeposit */ "./dist/npm/models/transactions/AMMDeposit.js");
77817
- const AMMWithdraw_1 = __webpack_require__(/*! ../transactions/AMMWithdraw */ "./dist/npm/models/transactions/AMMWithdraw.js");
77818
76971
  const offerCreate_1 = __webpack_require__(/*! ../transactions/offerCreate */ "./dist/npm/models/transactions/offerCreate.js");
77819
76972
  const payment_1 = __webpack_require__(/*! ../transactions/payment */ "./dist/npm/models/transactions/payment.js");
77820
76973
  const paymentChannelClaim_1 = __webpack_require__(/*! ../transactions/paymentChannelClaim */ "./dist/npm/models/transactions/paymentChannelClaim.js");
77821
76974
  const trustSet_1 = __webpack_require__(/*! ../transactions/trustSet */ "./dist/npm/models/transactions/trustSet.js");
77822
- const XChainModifyBridge_1 = __webpack_require__(/*! ../transactions/XChainModifyBridge */ "./dist/npm/models/transactions/XChainModifyBridge.js");
77823
76975
  const _1 = __webpack_require__(/*! . */ "./dist/npm/models/utils/index.js");
77824
76976
  function parseAccountRootFlags(flags) {
77825
76977
  const flagsInterface = {};
@@ -77841,35 +76993,41 @@ function setTransactionFlagsToNumber(tx) {
77841
76993
  }
77842
76994
  switch (tx.TransactionType) {
77843
76995
  case 'AccountSet':
77844
- tx.Flags = convertFlagsToNumber(tx.Flags, accountSet_1.AccountSetTfFlags);
77845
- return;
77846
- case 'AMMDeposit':
77847
- tx.Flags = convertFlagsToNumber(tx.Flags, AMMDeposit_1.AMMDepositFlags);
77848
- return;
77849
- case 'AMMWithdraw':
77850
- tx.Flags = convertFlagsToNumber(tx.Flags, AMMWithdraw_1.AMMWithdrawFlags);
76996
+ tx.Flags = convertAccountSetFlagsToNumber(tx.Flags);
77851
76997
  return;
77852
76998
  case 'OfferCreate':
77853
- tx.Flags = convertFlagsToNumber(tx.Flags, offerCreate_1.OfferCreateFlags);
76999
+ tx.Flags = convertOfferCreateFlagsToNumber(tx.Flags);
77854
77000
  return;
77855
77001
  case 'PaymentChannelClaim':
77856
- tx.Flags = convertFlagsToNumber(tx.Flags, paymentChannelClaim_1.PaymentChannelClaimFlags);
77002
+ tx.Flags = convertPaymentChannelClaimFlagsToNumber(tx.Flags);
77857
77003
  return;
77858
77004
  case 'Payment':
77859
- tx.Flags = convertFlagsToNumber(tx.Flags, payment_1.PaymentFlags);
77005
+ tx.Flags = convertPaymentTransactionFlagsToNumber(tx.Flags);
77860
77006
  return;
77861
77007
  case 'TrustSet':
77862
- tx.Flags = convertFlagsToNumber(tx.Flags, trustSet_1.TrustSetFlags);
77863
- return;
77864
- case 'XChainModifyBridge':
77865
- tx.Flags = convertFlagsToNumber(tx.Flags, XChainModifyBridge_1.XChainModifyBridgeFlags);
77008
+ tx.Flags = convertTrustSetFlagsToNumber(tx.Flags);
77866
77009
  return;
77867
77010
  default:
77868
77011
  tx.Flags = 0;
77869
77012
  }
77870
77013
  }
77871
77014
  exports.setTransactionFlagsToNumber = setTransactionFlagsToNumber;
77872
- function convertFlagsToNumber(flags, flagEnum) {
77015
+ function convertAccountSetFlagsToNumber(flags) {
77016
+ return reduceFlags(flags, accountSet_1.AccountSetTfFlags);
77017
+ }
77018
+ function convertOfferCreateFlagsToNumber(flags) {
77019
+ return reduceFlags(flags, offerCreate_1.OfferCreateFlags);
77020
+ }
77021
+ function convertPaymentChannelClaimFlagsToNumber(flags) {
77022
+ return reduceFlags(flags, paymentChannelClaim_1.PaymentChannelClaimFlags);
77023
+ }
77024
+ function convertPaymentTransactionFlagsToNumber(flags) {
77025
+ return reduceFlags(flags, payment_1.PaymentFlags);
77026
+ }
77027
+ function convertTrustSetFlagsToNumber(flags) {
77028
+ return reduceFlags(flags, trustSet_1.TrustSetFlags);
77029
+ }
77030
+ function reduceFlags(flags, flagEnum) {
77873
77031
  return Object.keys(flags).reduce((resultFlags, flag) => {
77874
77032
  if (flagEnum[flag] == null) {
77875
77033
  throw new errors_1.ValidationError(`flag ${flag} doesn't exist in flagEnum: ${JSON.stringify(flagEnum)}`);
@@ -77936,12 +77094,18 @@ const flags_1 = __webpack_require__(/*! ../models/utils/flags */ "./dist/npm/mod
77936
77094
  const utils_1 = __webpack_require__(/*! ../utils */ "./dist/npm/utils/index.js");
77937
77095
  const getFeeXrp_1 = __importDefault(__webpack_require__(/*! ./getFeeXrp */ "./dist/npm/sugar/getFeeXrp.js"));
77938
77096
  const LEDGER_OFFSET = 20;
77097
+ const RESTRICTED_NETWORKS = 1024;
77098
+ const REQUIRED_NETWORKID_VERSION = '1.11.0';
77099
+ const HOOKS_TESTNET_ID = 21338;
77939
77100
  function autofill(transaction, signersCount) {
77940
77101
  return __awaiter(this, void 0, void 0, function* () {
77941
77102
  const tx = Object.assign({}, transaction);
77942
77103
  setValidAddresses(tx);
77943
77104
  (0, flags_1.setTransactionFlagsToNumber)(tx);
77944
77105
  const promises = [];
77106
+ if (tx.NetworkID == null) {
77107
+ tx.NetworkID = txNeedsNetworkID(this) ? this.networkID : undefined;
77108
+ }
77945
77109
  if (tx.Sequence == null) {
77946
77110
  promises.push(setNextValidSequenceNumber(this, tx));
77947
77111
  }
@@ -77957,6 +77121,56 @@ function autofill(transaction, signersCount) {
77957
77121
  return Promise.all(promises).then(() => tx);
77958
77122
  });
77959
77123
  }
77124
+ function isNotLaterRippledVersion(source, target) {
77125
+ if (source === target) {
77126
+ return true;
77127
+ }
77128
+ const sourceDecomp = source.split('.');
77129
+ const targetDecomp = target.split('.');
77130
+ const sourceMajor = parseInt(sourceDecomp[0], 10);
77131
+ const sourceMinor = parseInt(sourceDecomp[1], 10);
77132
+ const targetMajor = parseInt(targetDecomp[0], 10);
77133
+ const targetMinor = parseInt(targetDecomp[1], 10);
77134
+ if (sourceMajor !== targetMajor) {
77135
+ return sourceMajor < targetMajor;
77136
+ }
77137
+ if (sourceMinor !== targetMinor) {
77138
+ return sourceMinor < targetMinor;
77139
+ }
77140
+ const sourcePatch = sourceDecomp[2].split('-');
77141
+ const targetPatch = targetDecomp[2].split('-');
77142
+ const sourcePatchVersion = parseInt(sourcePatch[0], 10);
77143
+ const targetPatchVersion = parseInt(targetPatch[0], 10);
77144
+ if (sourcePatchVersion !== targetPatchVersion) {
77145
+ return sourcePatchVersion < targetPatchVersion;
77146
+ }
77147
+ if (sourcePatch.length !== targetPatch.length) {
77148
+ return sourcePatch.length > targetPatch.length;
77149
+ }
77150
+ if (sourcePatch.length === 2) {
77151
+ if (!sourcePatch[1][0].startsWith(targetPatch[1][0])) {
77152
+ return sourcePatch[1] < targetPatch[1];
77153
+ }
77154
+ if (sourcePatch[1].startsWith('b')) {
77155
+ return (parseInt(sourcePatch[1].slice(1), 10) <
77156
+ parseInt(targetPatch[1].slice(1), 10));
77157
+ }
77158
+ return (parseInt(sourcePatch[1].slice(2), 10) <
77159
+ parseInt(targetPatch[1].slice(2), 10));
77160
+ }
77161
+ return false;
77162
+ }
77163
+ function txNeedsNetworkID(client) {
77164
+ if (client.networkID !== undefined &&
77165
+ client.networkID > RESTRICTED_NETWORKS) {
77166
+ if ((client.buildVersion &&
77167
+ isNotLaterRippledVersion(REQUIRED_NETWORKID_VERSION, client.buildVersion)) ||
77168
+ client.networkID === HOOKS_TESTNET_ID) {
77169
+ return true;
77170
+ }
77171
+ }
77172
+ return false;
77173
+ }
77960
77174
  function setValidAddresses(tx) {
77961
77175
  validateAccountAddress(tx, 'Account', 'SourceTag');
77962
77176
  if (tx['Destination'] != null) {
@@ -78011,7 +77225,7 @@ function setNextValidSequenceNumber(client, tx) {
78011
77225
  tx.Sequence = data.result.account_data.Sequence;
78012
77226
  });
78013
77227
  }
78014
- function fetchOwnerReserveFee(client) {
77228
+ function fetchAccountDeleteFee(client) {
78015
77229
  var _a;
78016
77230
  return __awaiter(this, void 0, void 0, function* () {
78017
77231
  const response = yield client.request({ command: 'server_state' });
@@ -78032,9 +77246,8 @@ function calculateFeePerTransactionType(client, tx, signersCount = 0) {
78032
77246
  const product = new bignumber_js_1.default(scaleValue(netFeeDrops, 33 + fulfillmentBytesSize / 16));
78033
77247
  baseFee = product.dp(0, bignumber_js_1.default.ROUND_CEIL);
78034
77248
  }
78035
- if (tx.TransactionType === 'AccountDelete' ||
78036
- tx.TransactionType === 'AMMCreate') {
78037
- baseFee = yield fetchOwnerReserveFee(client);
77249
+ if (tx.TransactionType === 'AccountDelete') {
77250
+ baseFee = yield fetchAccountDeleteFee(client);
78038
77251
  }
78039
77252
  if (signersCount > 0) {
78040
77253
  baseFee = bignumber_js_1.default.sum(baseFee, scaleValue(netFeeDrops, 1 + signersCount));
@@ -78704,13 +77917,21 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78704
77917
  };
78705
77918
  Object.defineProperty(exports, "__esModule", ({ value: true }));
78706
77919
  const flatMap_1 = __importDefault(__webpack_require__(/*! lodash/flatMap */ "../../node_modules/lodash/flatMap.js"));
77920
+ const ripple_binary_codec_1 = __webpack_require__(/*! ripple-binary-codec */ "../../node_modules/ripple-binary-codec/dist/index.js");
78707
77921
  const metadata_1 = __webpack_require__(/*! ../models/transactions/metadata */ "./dist/npm/models/transactions/metadata.js");
77922
+ function ensureDecodedMeta(meta) {
77923
+ if (typeof meta === 'string') {
77924
+ return (0, ripple_binary_codec_1.decode)(meta);
77925
+ }
77926
+ return meta;
77927
+ }
78708
77928
  function getNFTokenID(meta) {
78709
- if (meta.AffectedNodes === undefined) {
78710
- throw new TypeError(`Unable to parse the parameter given to getNFTokenID.
78711
- 'meta' must be the metadata from an NFTokenMint transaction. Received ${JSON.stringify(meta)} instead.`);
77929
+ if (typeof meta !== 'string' && (meta === null || meta === void 0 ? void 0 : meta.AffectedNodes) === undefined) {
77930
+ throw new TypeError(`Unable to parse the parameter given to getNFTokenID.
77931
+ 'meta' must be the metadata from an NFTokenMint transaction. Received ${JSON.stringify(meta)} instead.`);
78712
77932
  }
78713
- const affectedNodes = meta.AffectedNodes.filter((node) => {
77933
+ const decodedMeta = ensureDecodedMeta(meta);
77934
+ const affectedNodes = decodedMeta.AffectedNodes.filter((node) => {
78714
77935
  var _a;
78715
77936
  if ((0, metadata_1.isCreatedNode)(node)) {
78716
77937
  return node.CreatedNode.LedgerEntryType === 'NFTokenPage';
@@ -79952,7 +79173,7 @@ module.exports = JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1
79952
79173
  /***/ ((module) => {
79953
79174
 
79954
79175
  "use strict";
79955
- module.exports = JSON.parse('{"TYPES":{"Done":-1,"Unknown":-2,"NotPresent":0,"UInt16":1,"UInt32":2,"UInt64":3,"Hash128":4,"Hash256":5,"Amount":6,"Blob":7,"AccountID":8,"STObject":14,"STArray":15,"UInt8":16,"Hash160":17,"PathSet":18,"Vector256":19,"UInt96":20,"UInt192":21,"UInt384":22,"UInt512":23,"Issue":24,"XChainBridge":25,"Transaction":10001,"LedgerEntry":10002,"Validation":10003,"Metadata":10004},"LEDGER_ENTRY_TYPES":{"Invalid":-1,"AccountRoot":97,"DirectoryNode":100,"RippleState":114,"Ticket":84,"SignerList":83,"Offer":111,"Bridge":105,"LedgerHashes":104,"Amendments":102,"XChainClaimID":113,"XChainCreateAccountClaimID":116,"FeeSettings":115,"Escrow":117,"PayChannel":120,"Check":67,"DepositPreauth":112,"NegativeUNL":78,"NFTokenPage":80,"NFTokenOffer":55,"AMM":121,"Any":-3,"Child":-2,"Nickname":110,"Contract":99,"GeneratorMap":103},"FIELDS":[["Generic",{"nth":0,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Unknown"}],["Invalid",{"nth":-1,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Unknown"}],["ObjectEndMarker",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["ArrayEndMarker",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["hash",{"nth":257,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Hash256"}],["index",{"nth":258,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Hash256"}],["taker_gets_funded",{"nth":258,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Amount"}],["taker_pays_funded",{"nth":259,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Amount"}],["LedgerEntry",{"nth":1,"isVLEncoded":false,"isSerialized":false,"isSigningField":true,"type":"LedgerEntry"}],["Transaction",{"nth":1,"isVLEncoded":false,"isSerialized":false,"isSigningField":true,"type":"Transaction"}],["Validation",{"nth":1,"isVLEncoded":false,"isSerialized":false,"isSigningField":true,"type":"Validation"}],["Metadata",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Metadata"}],["CloseResolution",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["Method",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["TransactionResult",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["TickSize",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["UNLModifyDisabling",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["HookResult",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["WasLockingChainSend",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["LedgerEntryType",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["TransactionType",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["SignerWeight",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["TransferFee",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["TradingFee",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["DiscountedFee",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["Version",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookStateChangeCount",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookEmitCount",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookExecutionIndex",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookApiVersion",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["NetworkID",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["Flags",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SourceTag",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["Sequence",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["PreviousTxnLgrSeq",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LedgerSequence",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["CloseTime",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ParentCloseTime",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SigningTime",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["Expiration",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TransferRate",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["WalletSize",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["OwnerCount",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["DestinationTag",{"nth":14,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["HighQualityIn",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["HighQualityOut",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LowQualityIn",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LowQualityOut",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["QualityIn",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["QualityOut",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["StampEscrow",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["BondAmount",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LoadFee",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["OfferSequence",{"nth":25,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["FirstLedgerSequence",{"nth":26,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LastLedgerSequence",{"nth":27,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TransactionIndex",{"nth":28,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["OperationLimit",{"nth":29,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ReferenceFeeUnits",{"nth":30,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ReserveBase",{"nth":31,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ReserveIncrement",{"nth":32,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SetFlag",{"nth":33,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ClearFlag",{"nth":34,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SignerQuorum",{"nth":35,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["CancelAfter",{"nth":36,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["FinishAfter",{"nth":37,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SignerListID",{"nth":38,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SettleDelay",{"nth":39,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TicketCount",{"nth":40,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TicketSequence",{"nth":41,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["NFTokenTaxon",{"nth":42,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["MintedNFTokens",{"nth":43,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["BurnedNFTokens",{"nth":44,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["HookStateCount",{"nth":45,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["EmitGeneration",{"nth":46,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LockCount",{"nth":47,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["VoteWeight",{"nth":48,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["FirstNFTokenSequence",{"nth":50,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["IndexNext",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["IndexPrevious",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["BookNode",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["OwnerNode",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["BaseFee",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["ExchangeRate",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["LowNode",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HighNode",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["DestinationNode",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["Cookie",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["ServerVersion",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["NFTokenOfferNode",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["EmitBurden",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HookOn",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HookInstructionCount",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HookReturnCode",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["ReferenceCount",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["XChainClaimID",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["XChainAccountCreateCount",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["XChainAccountClaimCount",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["EmailHash",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash128"}],["TakerPaysCurrency",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["TakerPaysIssuer",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["TakerGetsCurrency",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["TakerGetsIssuer",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["LedgerHash",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["ParentHash",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["TransactionHash",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["AccountHash",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["PreviousTxnID",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["LedgerIndex",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["WalletLocator",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["RootIndex",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["AccountTxnID",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NFTokenID",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["EmitParentTxnID",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["EmitNonce",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["EmitHookHash",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["AMMID",{"nth":14,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["BookDirectory",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["InvoiceID",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Nickname",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Amendment",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Digest",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Channel",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["ConsensusHash",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["CheckID",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["ValidatedHash",{"nth":25,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["PreviousPageMin",{"nth":26,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NextPageMin",{"nth":27,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NFTokenBuyOffer",{"nth":28,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NFTokenSellOffer",{"nth":29,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookStateKey",{"nth":30,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookHash",{"nth":31,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookNamespace",{"nth":32,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookSetTxnID",{"nth":33,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Amount",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["Balance",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["LimitAmount",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["TakerPays",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["TakerGets",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["LowLimit",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["HighLimit",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["Fee",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["SendMax",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["DeliverMin",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["Amount2",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["BidMin",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["BidMax",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["MinimumOffer",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["RippleEscrow",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["DeliveredAmount",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["NFTokenBrokerFee",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["LockedBalance",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["BaseFeeDrops",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["ReserveBaseDrops",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["ReserveIncrementDrops",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["LPTokenOut",{"nth":25,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["LPTokenIn",{"nth":26,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["EPrice",{"nth":27,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["Price",{"nth":28,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["SignatureReward",{"nth":29,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["MinAccountCreateAmount",{"nth":30,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["LPTokenBalance",{"nth":31,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["PublicKey",{"nth":1,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MessageKey",{"nth":2,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["SigningPubKey",{"nth":3,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["TxnSignature",{"nth":4,"isVLEncoded":true,"isSerialized":true,"isSigningField":false,"type":"Blob"}],["URI",{"nth":5,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Signature",{"nth":6,"isVLEncoded":true,"isSerialized":true,"isSigningField":false,"type":"Blob"}],["Domain",{"nth":7,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["FundCode",{"nth":8,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["RemoveCode",{"nth":9,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["ExpireCode",{"nth":10,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["CreateCode",{"nth":11,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MemoType",{"nth":12,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MemoData",{"nth":13,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MemoFormat",{"nth":14,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Fulfillment",{"nth":16,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Condition",{"nth":17,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MasterSignature",{"nth":18,"isVLEncoded":true,"isSerialized":true,"isSigningField":false,"type":"Blob"}],["UNLModifyValidator",{"nth":19,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["ValidatorToDisable",{"nth":20,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["ValidatorToReEnable",{"nth":21,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookStateData",{"nth":22,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookReturnString",{"nth":23,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookParameterName",{"nth":24,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookParameterValue",{"nth":25,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Account",{"nth":1,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Owner",{"nth":2,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Destination",{"nth":3,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Issuer",{"nth":4,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Authorize",{"nth":5,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Unauthorize",{"nth":6,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["RegularKey",{"nth":8,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["NFTokenMinter",{"nth":9,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["EmitCallback",{"nth":10,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["HookAccount",{"nth":16,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["OtherChainSource",{"nth":18,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["OtherChainDestination",{"nth":19,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["AttestationSignerAccount",{"nth":20,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["AttestationRewardAccount",{"nth":21,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["LockingChainDoor",{"nth":22,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["IssuingChainDoor",{"nth":23,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Indexes",{"nth":1,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["Hashes",{"nth":2,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["Amendments",{"nth":3,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["NFTokenOffers",{"nth":4,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["Paths",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"PathSet"}],["LockingChainIssue",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Issue"}],["IssuingChainIssue",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Issue"}],["Asset",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Issue"}],["Asset2",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Issue"}],["XChainBridge",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"XChainBridge"}],["TransactionMetaData",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["CreatedNode",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["DeletedNode",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["ModifiedNode",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["PreviousFields",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["FinalFields",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["NewFields",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["TemplateEntry",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Memo",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["SignerEntry",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["NFToken",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["EmitDetails",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Hook",{"nth":14,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Signer",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Majority",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["DisabledValidator",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["EmittedTxn",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookExecution",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookDefinition",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookParameter",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookGrant",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["VoteEntry",{"nth":25,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["AuctionSlot",{"nth":26,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["AuthAccount",{"nth":27,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["XChainClaimProofSig",{"nth":32,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["XChainCreateAccountProofSig",{"nth":33,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["XChainClaimAttestationBatchElement",{"nth":34,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["XChainCreateAccountAttestationBatchElement",{"nth":35,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Signers",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":false,"type":"STArray"}],["SignerEntries",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Template",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Necessary",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Sufficient",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["AffectedNodes",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Memos",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["NFTokens",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Hooks",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["VoteSlots",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Majorities",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["DisabledValidators",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["HookExecutions",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["HookParameters",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["HookGrants",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["XChainClaimAttestationBatch",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["XChainCreateAccountAttestationBatch",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["XChainClaimAttestations",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["XChainCreateAccountAttestations",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["AuthAccounts",{"nth":25,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}]],"TRANSACTION_RESULTS":{"telLOCAL_ERROR":-399,"telBAD_DOMAIN":-398,"telBAD_PATH_COUNT":-397,"telBAD_PUBLIC_KEY":-396,"telFAILED_PROCESSING":-395,"telINSUF_FEE_P":-394,"telNO_DST_PARTIAL":-393,"telCAN_NOT_QUEUE":-392,"telCAN_NOT_QUEUE_BALANCE":-391,"telCAN_NOT_QUEUE_BLOCKS":-390,"telCAN_NOT_QUEUE_BLOCKED":-389,"telCAN_NOT_QUEUE_FEE":-388,"telCAN_NOT_QUEUE_FULL":-387,"telWRONG_NETWORK":-386,"telREQUIRES_NETWORK_ID":-385,"telNETWORK_ID_MAKES_TX_NON_CANONICAL":-384,"temMALFORMED":-299,"temBAD_AMOUNT":-298,"temBAD_CURRENCY":-297,"temBAD_EXPIRATION":-296,"temBAD_FEE":-295,"temBAD_ISSUER":-294,"temBAD_LIMIT":-293,"temBAD_OFFER":-292,"temBAD_PATH":-291,"temBAD_PATH_LOOP":-290,"temBAD_REGKEY":-289,"temBAD_SEND_XRP_LIMIT":-288,"temBAD_SEND_XRP_MAX":-287,"temBAD_SEND_XRP_NO_DIRECT":-286,"temBAD_SEND_XRP_PARTIAL":-285,"temBAD_SEND_XRP_PATHS":-284,"temBAD_SEQUENCE":-283,"temBAD_SIGNATURE":-282,"temBAD_SRC_ACCOUNT":-281,"temBAD_TRANSFER_RATE":-280,"temDST_IS_SRC":-279,"temDST_NEEDED":-278,"temINVALID":-277,"temINVALID_FLAG":-276,"temREDUNDANT":-275,"temRIPPLE_EMPTY":-274,"temDISABLED":-273,"temBAD_SIGNER":-272,"temBAD_QUORUM":-271,"temBAD_WEIGHT":-270,"temBAD_TICK_SIZE":-269,"temINVALID_ACCOUNT_ID":-268,"temCANNOT_PREAUTH_SELF":-267,"temINVALID_COUNT":-266,"temUNCERTAIN":-265,"temUNKNOWN":-264,"temSEQ_AND_TICKET":-263,"temBAD_NFTOKEN_TRANSFER_FEE":-262,"temBAD_AMM_TOKENS":-261,"temEQUAL_DOOR_ACCOUNTS":-259,"temBAD_XCHAIN_PROOF":-258,"temSIDECHAIN_BAD_ISSUES":-257,"temSIDECHAIN_NONDOOR_OWNER":-256,"temXCHAIN_BRIDGE_BAD_MIN_ACCOUNT_CREATE_AMOUNT":-255,"temXCHAIN_BRIDGE_BAD_REWARD_AMOUNT":-254,"temXCHAIN_TOO_MANY_ATTESTATIONS":-253,"tefFAILURE":-199,"tefALREADY":-198,"tefBAD_ADD_AUTH":-197,"tefBAD_AUTH":-196,"tefBAD_LEDGER":-195,"tefCREATED":-194,"tefEXCEPTION":-193,"tefINTERNAL":-192,"tefNO_AUTH_REQUIRED":-191,"tefPAST_SEQ":-190,"tefWRONG_PRIOR":-189,"tefMASTER_DISABLED":-188,"tefMAX_LEDGER":-187,"tefBAD_SIGNATURE":-186,"tefBAD_QUORUM":-185,"tefNOT_MULTI_SIGNING":-184,"tefBAD_AUTH_MASTER":-183,"tefINVARIANT_FAILED":-182,"tefTOO_BIG":-181,"tefNO_TICKET":-180,"tefNFTOKEN_IS_NOT_TRANSFERABLE":-179,"terRETRY":-99,"terFUNDS_SPENT":-98,"terINSUF_FEE_B":-97,"terNO_ACCOUNT":-96,"terNO_AUTH":-95,"terNO_LINE":-94,"terOWNERS":-93,"terPRE_SEQ":-92,"terLAST":-91,"terNO_RIPPLE":-90,"terQUEUED":-89,"terPRE_TICKET":-88,"terNO_AMM":-87,"tesSUCCESS":0,"tecCLAIM":100,"tecPATH_PARTIAL":101,"tecUNFUNDED_ADD":102,"tecUNFUNDED_OFFER":103,"tecUNFUNDED_PAYMENT":104,"tecFAILED_PROCESSING":105,"tecDIR_FULL":121,"tecINSUF_RESERVE_LINE":122,"tecINSUF_RESERVE_OFFER":123,"tecNO_DST":124,"tecNO_DST_INSUF_XRP":125,"tecNO_LINE_INSUF_RESERVE":126,"tecNO_LINE_REDUNDANT":127,"tecPATH_DRY":128,"tecUNFUNDED":129,"tecNO_ALTERNATIVE_KEY":130,"tecNO_REGULAR_KEY":131,"tecOWNERS":132,"tecNO_ISSUER":133,"tecNO_AUTH":134,"tecNO_LINE":135,"tecINSUFF_FEE":136,"tecFROZEN":137,"tecNO_TARGET":138,"tecNO_PERMISSION":139,"tecNO_ENTRY":140,"tecINSUFFICIENT_RESERVE":141,"tecNEED_MASTER_KEY":142,"tecDST_TAG_NEEDED":143,"tecINTERNAL":144,"tecOVERSIZE":145,"tecCRYPTOCONDITION_ERROR":146,"tecINVARIANT_FAILED":147,"tecEXPIRED":148,"tecDUPLICATE":149,"tecKILLED":150,"tecHAS_OBLIGATIONS":151,"tecTOO_SOON":152,"tecMAX_SEQUENCE_REACHED":154,"tecNO_SUITABLE_NFTOKEN_PAGE":155,"tecNFTOKEN_BUY_SELL_MISMATCH":156,"tecNFTOKEN_OFFER_TYPE_MISMATCH":157,"tecCANT_ACCEPT_OWN_NFTOKEN_OFFER":158,"tecINSUFFICIENT_FUNDS":159,"tecOBJECT_NOT_FOUND":160,"tecINSUFFICIENT_PAYMENT":161,"tecUNFUNDED_AMM":162,"tecAMM_BALANCE":163,"tecAMM_FAILED":164,"tecAMM_INVALID_TOKENS":165,"tecBAD_XCHAIN_TRANSFER_ISSUE":171,"tecXCHAIN_NO_CLAIM_ID":172,"tecXCHAIN_BAD_CLAIM_ID":173,"tecXCHAIN_CLAIM_NO_QUORUM":174,"tecXCHAIN_PROOF_UNKNOWN_KEY":175,"tecXCHAIN_CREATE_ACCOUNT_NONXRP_ISSUE":176,"tecXCHAIN_WRONG_CHAIN":177,"tecXCHAIN_REWARD_MISMATCH":178,"tecXCHAIN_NO_SIGNERS_LIST":179,"tecXCHAIN_SENDING_ACCOUNT_MISMATCH":180,"tecXCHAIN_INSUFF_CREATE_AMOUNT":181,"tecXCHAIN_ACCOUNT_CREATE_PAST":182,"tecXCHAIN_ACCOUNT_CREATE_TOO_MANY":183,"tecXCHAIN_PAYMENT_FAILED":184,"tecXCHAIN_SELF_COMMIT":185,"tecXCHAIN_BAD_PUBLIC_KEY_ACCOUNT_PAIR":186,"tecREQUIRES_FLAG":187,"tecPRECISION_LOSS":188},"TRANSACTION_TYPES":{"Invalid":-1,"Payment":0,"EscrowCreate":1,"EscrowFinish":2,"AccountSet":3,"EscrowCancel":4,"SetRegularKey":5,"NickNameSet":6,"OfferCreate":7,"OfferCancel":8,"Contract":9,"TicketCreate":10,"TicketCancel":11,"SignerListSet":12,"PaymentChannelCreate":13,"PaymentChannelFund":14,"PaymentChannelClaim":15,"CheckCreate":16,"CheckCash":17,"CheckCancel":18,"DepositPreauth":19,"TrustSet":20,"AccountDelete":21,"SetHook":22,"NFTokenMint":25,"NFTokenBurn":26,"NFTokenCreateOffer":27,"NFTokenCancelOffer":28,"NFTokenAcceptOffer":29,"AMMCreate":35,"AMMDeposit":36,"AMMWithdraw":37,"AMMVote":38,"AMMBid":39,"XChainCreateBridge":40,"XChainCreateClaimID":41,"XChainCommit":42,"XChainClaim":43,"XChainAccountCreateCommit":44,"XChainAddClaimAttestation":45,"XChainAddAccountCreateAttestation":46,"XChainModifyBridge":47,"EnableAmendment":100,"SetFee":101,"UNLModify":102}}');
79176
+ module.exports = JSON.parse('{"TYPES":{"Done":-1,"Unknown":-2,"NotPresent":0,"UInt16":1,"UInt32":2,"UInt64":3,"Hash128":4,"Hash256":5,"Amount":6,"Blob":7,"AccountID":8,"STObject":14,"STArray":15,"UInt8":16,"Hash160":17,"PathSet":18,"Vector256":19,"UInt96":20,"UInt192":21,"UInt384":22,"UInt512":23,"Transaction":10001,"LedgerEntry":10002,"Validation":10003,"Metadata":10004},"LEDGER_ENTRY_TYPES":{"Invalid":-1,"AccountRoot":97,"DirectoryNode":100,"RippleState":114,"Ticket":84,"SignerList":83,"Offer":111,"LedgerHashes":104,"Amendments":102,"FeeSettings":115,"Escrow":117,"PayChannel":120,"Check":67,"DepositPreauth":112,"NegativeUNL":78,"NFTokenPage":80,"NFTokenOffer":55,"Any":-3,"Child":-2,"Nickname":110,"Contract":99,"GeneratorMap":103},"FIELDS":[["Generic",{"nth":0,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Unknown"}],["Invalid",{"nth":-1,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Unknown"}],["ObjectEndMarker",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["ArrayEndMarker",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["hash",{"nth":257,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Hash256"}],["index",{"nth":258,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Hash256"}],["taker_gets_funded",{"nth":258,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Amount"}],["taker_pays_funded",{"nth":259,"isVLEncoded":false,"isSerialized":false,"isSigningField":false,"type":"Amount"}],["LedgerEntry",{"nth":1,"isVLEncoded":false,"isSerialized":false,"isSigningField":true,"type":"LedgerEntry"}],["Transaction",{"nth":1,"isVLEncoded":false,"isSerialized":false,"isSigningField":true,"type":"Transaction"}],["Validation",{"nth":1,"isVLEncoded":false,"isSerialized":false,"isSigningField":true,"type":"Validation"}],["Metadata",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Metadata"}],["CloseResolution",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["Method",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["TransactionResult",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["TickSize",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["UNLModifyDisabling",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["HookResult",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt8"}],["LedgerEntryType",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["TransactionType",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["SignerWeight",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["TransferFee",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["Version",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookStateChangeCount",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookEmitCount",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookExecutionIndex",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["HookApiVersion",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt16"}],["NetworkID",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["Flags",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SourceTag",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["Sequence",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["PreviousTxnLgrSeq",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LedgerSequence",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["CloseTime",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ParentCloseTime",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SigningTime",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["Expiration",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TransferRate",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["WalletSize",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["OwnerCount",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["DestinationTag",{"nth":14,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["HighQualityIn",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["HighQualityOut",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LowQualityIn",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LowQualityOut",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["QualityIn",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["QualityOut",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["StampEscrow",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["BondAmount",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LoadFee",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["OfferSequence",{"nth":25,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["FirstLedgerSequence",{"nth":26,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["LastLedgerSequence",{"nth":27,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TransactionIndex",{"nth":28,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["OperationLimit",{"nth":29,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ReferenceFeeUnits",{"nth":30,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ReserveBase",{"nth":31,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ReserveIncrement",{"nth":32,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SetFlag",{"nth":33,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["ClearFlag",{"nth":34,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SignerQuorum",{"nth":35,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["CancelAfter",{"nth":36,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["FinishAfter",{"nth":37,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SignerListID",{"nth":38,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["SettleDelay",{"nth":39,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TicketCount",{"nth":40,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["TicketSequence",{"nth":41,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["NFTokenTaxon",{"nth":42,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["MintedNFTokens",{"nth":43,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["BurnedNFTokens",{"nth":44,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["HookStateCount",{"nth":45,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["EmitGeneration",{"nth":46,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt32"}],["IndexNext",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["IndexPrevious",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["BookNode",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["OwnerNode",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["BaseFee",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["ExchangeRate",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["LowNode",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HighNode",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["DestinationNode",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["Cookie",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["ServerVersion",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["NFTokenOfferNode",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["EmitBurden",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HookOn",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HookInstructionCount",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["HookReturnCode",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["ReferenceCount",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"UInt64"}],["EmailHash",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash128"}],["TakerPaysCurrency",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["TakerPaysIssuer",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["TakerGetsCurrency",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["TakerGetsIssuer",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash160"}],["LedgerHash",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["ParentHash",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["TransactionHash",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["AccountHash",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["PreviousTxnID",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["LedgerIndex",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["WalletLocator",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["RootIndex",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["AccountTxnID",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NFTokenID",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["EmitParentTxnID",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["EmitNonce",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["EmitHookHash",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["BookDirectory",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["InvoiceID",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Nickname",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Amendment",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Digest",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Channel",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["ConsensusHash",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["CheckID",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["ValidatedHash",{"nth":25,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["PreviousPageMin",{"nth":26,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NextPageMin",{"nth":27,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NFTokenBuyOffer",{"nth":28,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["NFTokenSellOffer",{"nth":29,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookStateKey",{"nth":30,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookHash",{"nth":31,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookNamespace",{"nth":32,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["HookSetTxnID",{"nth":33,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Hash256"}],["Amount",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["Balance",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["LimitAmount",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["TakerPays",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["TakerGets",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["LowLimit",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["HighLimit",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["Fee",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["SendMax",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["DeliverMin",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["MinimumOffer",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["RippleEscrow",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["DeliveredAmount",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["NFTokenBrokerFee",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"Amount"}],["PublicKey",{"nth":1,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MessageKey",{"nth":2,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["SigningPubKey",{"nth":3,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["TxnSignature",{"nth":4,"isVLEncoded":true,"isSerialized":true,"isSigningField":false,"type":"Blob"}],["URI",{"nth":5,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Signature",{"nth":6,"isVLEncoded":true,"isSerialized":true,"isSigningField":false,"type":"Blob"}],["Domain",{"nth":7,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["FundCode",{"nth":8,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["RemoveCode",{"nth":9,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["ExpireCode",{"nth":10,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["CreateCode",{"nth":11,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MemoType",{"nth":12,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MemoData",{"nth":13,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MemoFormat",{"nth":14,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Fulfillment",{"nth":16,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Condition",{"nth":17,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["MasterSignature",{"nth":18,"isVLEncoded":true,"isSerialized":true,"isSigningField":false,"type":"Blob"}],["UNLModifyValidator",{"nth":19,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["ValidatorToDisable",{"nth":20,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["ValidatorToReEnable",{"nth":21,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookStateData",{"nth":22,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookReturnString",{"nth":23,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookParameterName",{"nth":24,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["HookParameterValue",{"nth":25,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Blob"}],["Account",{"nth":1,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Owner",{"nth":2,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Destination",{"nth":3,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Issuer",{"nth":4,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Authorize",{"nth":5,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Unauthorize",{"nth":6,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["RegularKey",{"nth":8,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["NFTokenMinter",{"nth":9,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["EmitCallback",{"nth":10,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["HookAccount",{"nth":16,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"AccountID"}],["Indexes",{"nth":1,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["Hashes",{"nth":2,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["Amendments",{"nth":3,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["NFTokenOffers",{"nth":4,"isVLEncoded":true,"isSerialized":true,"isSigningField":true,"type":"Vector256"}],["Paths",{"nth":1,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"PathSet"}],["TransactionMetaData",{"nth":2,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["CreatedNode",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["DeletedNode",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["ModifiedNode",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["PreviousFields",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["FinalFields",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["NewFields",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["TemplateEntry",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Memo",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["SignerEntry",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["NFToken",{"nth":12,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["EmitDetails",{"nth":13,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Hook",{"nth":14,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Signer",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Majority",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["DisabledValidator",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["EmittedTxn",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookExecution",{"nth":21,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookDefinition",{"nth":22,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookParameter",{"nth":23,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["HookGrant",{"nth":24,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STObject"}],["Signers",{"nth":3,"isVLEncoded":false,"isSerialized":true,"isSigningField":false,"type":"STArray"}],["SignerEntries",{"nth":4,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Template",{"nth":5,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Necessary",{"nth":6,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Sufficient",{"nth":7,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["AffectedNodes",{"nth":8,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Memos",{"nth":9,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["NFTokens",{"nth":10,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Hooks",{"nth":11,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["Majorities",{"nth":16,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["DisabledValidators",{"nth":17,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["HookExecutions",{"nth":18,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["HookParameters",{"nth":19,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}],["HookGrants",{"nth":20,"isVLEncoded":false,"isSerialized":true,"isSigningField":true,"type":"STArray"}]],"TRANSACTION_RESULTS":{"telLOCAL_ERROR":-399,"telBAD_DOMAIN":-398,"telBAD_PATH_COUNT":-397,"telBAD_PUBLIC_KEY":-396,"telFAILED_PROCESSING":-395,"telINSUF_FEE_P":-394,"telNO_DST_PARTIAL":-393,"telCAN_NOT_QUEUE":-392,"telCAN_NOT_QUEUE_BALANCE":-391,"telCAN_NOT_QUEUE_BLOCKS":-390,"telCAN_NOT_QUEUE_BLOCKED":-389,"telCAN_NOT_QUEUE_FEE":-388,"telCAN_NOT_QUEUE_FULL":-387,"telWRONG_NETWORK":-386,"telREQUIRES_NETWORK_ID":-385,"telNETWORK_ID_MAKES_TX_NON_CANONICAL":-384,"temMALFORMED":-299,"temBAD_AMOUNT":-298,"temBAD_CURRENCY":-297,"temBAD_EXPIRATION":-296,"temBAD_FEE":-295,"temBAD_ISSUER":-294,"temBAD_LIMIT":-293,"temBAD_OFFER":-292,"temBAD_PATH":-291,"temBAD_PATH_LOOP":-290,"temBAD_REGKEY":-289,"temBAD_SEND_XRP_LIMIT":-288,"temBAD_SEND_XRP_MAX":-287,"temBAD_SEND_XRP_NO_DIRECT":-286,"temBAD_SEND_XRP_PARTIAL":-285,"temBAD_SEND_XRP_PATHS":-284,"temBAD_SEQUENCE":-283,"temBAD_SIGNATURE":-282,"temBAD_SRC_ACCOUNT":-281,"temBAD_TRANSFER_RATE":-280,"temDST_IS_SRC":-279,"temDST_NEEDED":-278,"temINVALID":-277,"temINVALID_FLAG":-276,"temREDUNDANT":-275,"temRIPPLE_EMPTY":-274,"temDISABLED":-273,"temBAD_SIGNER":-272,"temBAD_QUORUM":-271,"temBAD_WEIGHT":-270,"temBAD_TICK_SIZE":-269,"temINVALID_ACCOUNT_ID":-268,"temCANNOT_PREAUTH_SELF":-267,"temINVALID_COUNT":-266,"temUNCERTAIN":-265,"temUNKNOWN":-264,"temSEQ_AND_TICKET":-263,"temBAD_NFTOKEN_TRANSFER_FEE":-262,"tefFAILURE":-199,"tefALREADY":-198,"tefBAD_ADD_AUTH":-197,"tefBAD_AUTH":-196,"tefBAD_LEDGER":-195,"tefCREATED":-194,"tefEXCEPTION":-193,"tefINTERNAL":-192,"tefNO_AUTH_REQUIRED":-191,"tefPAST_SEQ":-190,"tefWRONG_PRIOR":-189,"tefMASTER_DISABLED":-188,"tefMAX_LEDGER":-187,"tefBAD_SIGNATURE":-186,"tefBAD_QUORUM":-185,"tefNOT_MULTI_SIGNING":-184,"tefBAD_AUTH_MASTER":-183,"tefINVARIANT_FAILED":-182,"tefTOO_BIG":-181,"tefNO_TICKET":-180,"tefNFTOKEN_IS_NOT_TRANSFERABLE":-179,"terRETRY":-99,"terFUNDS_SPENT":-98,"terINSUF_FEE_B":-97,"terNO_ACCOUNT":-96,"terNO_AUTH":-95,"terNO_LINE":-94,"terOWNERS":-93,"terPRE_SEQ":-92,"terLAST":-91,"terNO_RIPPLE":-90,"terQUEUED":-89,"terPRE_TICKET":-88,"tesSUCCESS":0,"tecCLAIM":100,"tecPATH_PARTIAL":101,"tecUNFUNDED_ADD":102,"tecUNFUNDED_OFFER":103,"tecUNFUNDED_PAYMENT":104,"tecFAILED_PROCESSING":105,"tecDIR_FULL":121,"tecINSUF_RESERVE_LINE":122,"tecINSUF_RESERVE_OFFER":123,"tecNO_DST":124,"tecNO_DST_INSUF_XRP":125,"tecNO_LINE_INSUF_RESERVE":126,"tecNO_LINE_REDUNDANT":127,"tecPATH_DRY":128,"tecUNFUNDED":129,"tecNO_ALTERNATIVE_KEY":130,"tecNO_REGULAR_KEY":131,"tecOWNERS":132,"tecNO_ISSUER":133,"tecNO_AUTH":134,"tecNO_LINE":135,"tecINSUFF_FEE":136,"tecFROZEN":137,"tecNO_TARGET":138,"tecNO_PERMISSION":139,"tecNO_ENTRY":140,"tecINSUFFICIENT_RESERVE":141,"tecNEED_MASTER_KEY":142,"tecDST_TAG_NEEDED":143,"tecINTERNAL":144,"tecOVERSIZE":145,"tecCRYPTOCONDITION_ERROR":146,"tecINVARIANT_FAILED":147,"tecEXPIRED":148,"tecDUPLICATE":149,"tecKILLED":150,"tecHAS_OBLIGATIONS":151,"tecTOO_SOON":152,"tecMAX_SEQUENCE_REACHED":154,"tecNO_SUITABLE_NFTOKEN_PAGE":155,"tecNFTOKEN_BUY_SELL_MISMATCH":156,"tecNFTOKEN_OFFER_TYPE_MISMATCH":157,"tecCANT_ACCEPT_OWN_NFTOKEN_OFFER":158,"tecINSUFFICIENT_FUNDS":159,"tecOBJECT_NOT_FOUND":160,"tecINSUFFICIENT_PAYMENT":161},"TRANSACTION_TYPES":{"Invalid":-1,"Payment":0,"EscrowCreate":1,"EscrowFinish":2,"AccountSet":3,"EscrowCancel":4,"SetRegularKey":5,"NickNameSet":6,"OfferCreate":7,"OfferCancel":8,"Contract":9,"TicketCreate":10,"TicketCancel":11,"SignerListSet":12,"PaymentChannelCreate":13,"PaymentChannelFund":14,"PaymentChannelClaim":15,"CheckCreate":16,"CheckCash":17,"CheckCancel":18,"DepositPreauth":19,"TrustSet":20,"AccountDelete":21,"SetHook":22,"NFTokenMint":25,"NFTokenBurn":26,"NFTokenCreateOffer":27,"NFTokenCancelOffer":28,"NFTokenAcceptOffer":29,"EnableAmendment":100,"SetFee":101,"UNLModify":102}}');
79956
79177
 
79957
79178
  /***/ }),
79958
79179