ripple-binary-codec 1.6.0-beta.0 → 1.7.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 (119) hide show
  1. package/dist/binary.d.ts +21 -6
  2. package/dist/binary.js +47 -32
  3. package/dist/binary.js.map +1 -1
  4. package/dist/coretypes.d.ts +2 -2
  5. package/dist/coretypes.js +33 -9
  6. package/dist/coretypes.js.map +1 -1
  7. package/dist/enums/bytes.d.ts +26 -0
  8. package/dist/enums/bytes.js +64 -0
  9. package/dist/enums/bytes.js.map +1 -0
  10. package/dist/enums/constants.d.ts +4 -0
  11. package/dist/enums/constants.js +8 -0
  12. package/dist/enums/constants.js.map +1 -0
  13. package/dist/enums/definitions.json +14 -572
  14. package/dist/enums/field.d.ts +29 -0
  15. package/dist/enums/field.js +59 -0
  16. package/dist/enums/field.js.map +1 -0
  17. package/dist/enums/index.d.ts +12 -48
  18. package/dist/enums/index.js +42 -124
  19. package/dist/enums/index.js.map +1 -1
  20. package/dist/enums/src/enums/definitions.json +14 -572
  21. package/dist/enums/utils-renumber.js +14 -14
  22. package/dist/enums/utils-renumber.js.map +1 -1
  23. package/dist/enums/xrpl-definitions-base.d.ts +44 -0
  24. package/dist/enums/xrpl-definitions-base.js +59 -0
  25. package/dist/enums/xrpl-definitions-base.js.map +1 -0
  26. package/dist/enums/xrpl-definitions.d.ts +21 -0
  27. package/dist/enums/xrpl-definitions.js +29 -0
  28. package/dist/enums/xrpl-definitions.js.map +1 -0
  29. package/dist/hash-prefixes.js +3 -3
  30. package/dist/hash-prefixes.js.map +1 -1
  31. package/dist/hashes.js +21 -43
  32. package/dist/hashes.js.map +1 -1
  33. package/dist/index.d.ts +14 -16
  34. package/dist/index.js +62 -24
  35. package/dist/index.js.map +1 -1
  36. package/dist/ledger-hashes.d.ts +5 -2
  37. package/dist/ledger-hashes.js +54 -29
  38. package/dist/ledger-hashes.js.map +1 -1
  39. package/dist/quality.js +18 -21
  40. package/dist/quality.js.map +1 -1
  41. package/dist/serdes/binary-parser.d.ts +6 -3
  42. package/dist/serdes/binary-parser.js +82 -57
  43. package/dist/serdes/binary-parser.js.map +1 -1
  44. package/dist/serdes/binary-serializer.d.ts +1 -1
  45. package/dist/serdes/binary-serializer.js +59 -40
  46. package/dist/serdes/binary-serializer.js.map +1 -1
  47. package/dist/shamap.js +72 -98
  48. package/dist/shamap.js.map +1 -1
  49. package/dist/types/account-id.js +18 -35
  50. package/dist/types/account-id.js.map +1 -1
  51. package/dist/types/amount.js +71 -88
  52. package/dist/types/amount.js.map +1 -1
  53. package/dist/types/blob.js +10 -27
  54. package/dist/types/blob.js.map +1 -1
  55. package/dist/types/currency.js +26 -44
  56. package/dist/types/currency.js.map +1 -1
  57. package/dist/types/hash-128.d.ts +6 -0
  58. package/dist/types/hash-128.js +23 -25
  59. package/dist/types/hash-128.js.map +1 -1
  60. package/dist/types/hash-160.js +8 -25
  61. package/dist/types/hash-160.js.map +1 -1
  62. package/dist/types/hash-256.js +8 -25
  63. package/dist/types/hash-256.js.map +1 -1
  64. package/dist/types/hash.js +20 -38
  65. package/dist/types/hash.js.map +1 -1
  66. package/dist/types/index.d.ts +3 -24
  67. package/dist/types/index.js +37 -30
  68. package/dist/types/index.js.map +1 -1
  69. package/dist/types/path-set.js +57 -87
  70. package/dist/types/path-set.js.map +1 -1
  71. package/dist/types/serialized-type.d.ts +3 -3
  72. package/dist/types/serialized-type.js +35 -56
  73. package/dist/types/serialized-type.js.map +1 -1
  74. package/dist/types/st-array.js +26 -46
  75. package/dist/types/st-array.js.map +1 -1
  76. package/dist/types/st-object.d.ts +6 -3
  77. package/dist/types/st-object.js +52 -74
  78. package/dist/types/st-object.js.map +1 -1
  79. package/dist/types/uint-16.js +15 -32
  80. package/dist/types/uint-16.js.map +1 -1
  81. package/dist/types/uint-32.js +16 -33
  82. package/dist/types/uint-32.js.map +1 -1
  83. package/dist/types/uint-64.d.ts +1 -1
  84. package/dist/types/uint-64.js +30 -47
  85. package/dist/types/uint-64.js.map +1 -1
  86. package/dist/types/uint-8.js +15 -32
  87. package/dist/types/uint-8.js.map +1 -1
  88. package/dist/types/uint.d.ts +1 -1
  89. package/dist/types/uint.js +10 -27
  90. package/dist/types/uint.js.map +1 -1
  91. package/dist/types/vector-256.js +23 -40
  92. package/dist/types/vector-256.js.map +1 -1
  93. package/package.json +7 -7
  94. package/test/amount.test.js +1 -1
  95. package/test/binary-json.test.js +1 -1
  96. package/test/binary-parser.test.js +4 -4
  97. package/test/binary-serializer.test.js +3 -3
  98. package/test/definitions.test.js +100 -0
  99. package/test/fixtures/codec-fixtures.json +14 -468
  100. package/test/hash.test.js +28 -2
  101. package/test/ledger.test.js +1 -1
  102. package/test/lower-case-hex.test.js +1 -1
  103. package/test/pseudo-transaction.test.js +1 -1
  104. package/test/quality.test.js +1 -1
  105. package/test/shamap.test.js +3 -3
  106. package/test/signing-data-encoding.test.js +104 -2
  107. package/test/tx-encode-decode.test.js +1 -1
  108. package/test/types.test.js +2 -2
  109. package/test/uint.test.js +2 -2
  110. package/test/x-address.test.js +1 -1
  111. package/dist/types/issue.d.ts +0 -39
  112. package/dist/types/issue.js +0 -98
  113. package/dist/types/issue.js.map +0 -1
  114. package/dist/types/xchain-attestation-batch.d.ts +0 -44
  115. package/dist/types/xchain-attestation-batch.js +0 -107
  116. package/dist/types/xchain-attestation-batch.js.map +0 -1
  117. package/dist/types/xchain-bridge.d.ts +0 -45
  118. package/dist/types/xchain-bridge.js +0 -119
  119. package/dist/types/xchain-bridge.js.map +0 -1
@@ -21,9 +21,6 @@
21
21
  "UInt192": 21,
22
22
  "UInt384": 22,
23
23
  "UInt512": 23,
24
- "Issue": 24,
25
- "XChainBridge": 25,
26
- "XChainAttestationBatch": 26,
27
24
  "Transaction": 10001,
28
25
  "LedgerEntry": 10002,
29
26
  "Validation": 10003,
@@ -37,11 +34,8 @@
37
34
  "Ticket": 84,
38
35
  "SignerList": 83,
39
36
  "Offer": 111,
40
- "Bridge": 105,
41
37
  "LedgerHashes": 104,
42
38
  "Amendments": 102,
43
- "XChainClaimID": 113,
44
- "XChainCreateAccountClaimID": 116,
45
39
  "FeeSettings": 115,
46
40
  "Escrow": 117,
47
41
  "PayChannel": 120,
@@ -50,7 +44,6 @@
50
44
  "NegativeUNL": 78,
51
45
  "NFTokenPage": 80,
52
46
  "NFTokenOffer": 55,
53
- "AMM": 121,
54
47
  "Any": -3,
55
48
  "Child": -2,
56
49
  "Nickname": 110,
@@ -238,16 +231,6 @@
238
231
  "type": "UInt8"
239
232
  }
240
233
  ],
241
- [
242
- "WasLockingChainSend",
243
- {
244
- "nth": 19,
245
- "isVLEncoded": false,
246
- "isSerialized": true,
247
- "isSigningField": true,
248
- "type": "UInt8"
249
- }
250
- ],
251
234
  [
252
235
  "LedgerEntryType",
253
236
  {
@@ -288,16 +271,6 @@
288
271
  "type": "UInt16"
289
272
  }
290
273
  ],
291
- [
292
- "TradingFee",
293
- {
294
- "nth": 5,
295
- "isVLEncoded": false,
296
- "isSerialized": true,
297
- "isSigningField": true,
298
- "type": "UInt16"
299
- }
300
- ],
301
274
  [
302
275
  "Version",
303
276
  {
@@ -348,6 +321,16 @@
348
321
  "type": "UInt16"
349
322
  }
350
323
  ],
324
+ [
325
+ "NetworkID",
326
+ {
327
+ "nth": 1,
328
+ "isVLEncoded": false,
329
+ "isSerialized": true,
330
+ "isSigningField": true,
331
+ "type": "UInt32"
332
+ }
333
+ ],
351
334
  [
352
335
  "Flags",
353
336
  {
@@ -788,26 +771,6 @@
788
771
  "type": "UInt32"
789
772
  }
790
773
  ],
791
- [
792
- "VoteWeight",
793
- {
794
- "nth": 47,
795
- "isVLEncoded": false,
796
- "isSerialized": true,
797
- "isSigningField": true,
798
- "type": "UInt32"
799
- }
800
- ],
801
- [
802
- "DiscountedFee",
803
- {
804
- "nth": 48,
805
- "isVLEncoded": false,
806
- "isSerialized": true,
807
- "isSigningField": true,
808
- "type": "UInt32"
809
- }
810
- ],
811
774
  [
812
775
  "IndexNext",
813
776
  {
@@ -978,36 +941,6 @@
978
941
  "type": "UInt64"
979
942
  }
980
943
  ],
981
- [
982
- "XChainClaimID",
983
- {
984
- "nth": 20,
985
- "isVLEncoded": false,
986
- "isSerialized": true,
987
- "isSigningField": true,
988
- "type": "UInt64"
989
- }
990
- ],
991
- [
992
- "XChainAccountCreateCount",
993
- {
994
- "nth": 21,
995
- "isVLEncoded": false,
996
- "isSerialized": true,
997
- "isSigningField": true,
998
- "type": "UInt64"
999
- }
1000
- ],
1001
- [
1002
- "XChainAccountClaimCount",
1003
- {
1004
- "nth": 22,
1005
- "isVLEncoded": false,
1006
- "isSerialized": true,
1007
- "isSigningField": true,
1008
- "type": "UInt64"
1009
- }
1010
- ],
1011
944
  [
1012
945
  "EmailHash",
1013
946
  {
@@ -1188,16 +1121,6 @@
1188
1121
  "type": "Hash256"
1189
1122
  }
1190
1123
  ],
1191
- [
1192
- "AMMID",
1193
- {
1194
- "nth": 14,
1195
- "isVLEncoded": false,
1196
- "isSerialized": true,
1197
- "isSigningField": true,
1198
- "type": "Hash256"
1199
- }
1200
- ],
1201
1124
  [
1202
1125
  "BookDirectory",
1203
1126
  {
@@ -1468,36 +1391,6 @@
1468
1391
  "type": "Amount"
1469
1392
  }
1470
1393
  ],
1471
- [
1472
- "Amount2",
1473
- {
1474
- "nth": 11,
1475
- "isVLEncoded": false,
1476
- "isSerialized": true,
1477
- "isSigningField": true,
1478
- "type": "Amount"
1479
- }
1480
- ],
1481
- [
1482
- "BidMin",
1483
- {
1484
- "nth": 12,
1485
- "isVLEncoded": false,
1486
- "isSerialized": true,
1487
- "isSigningField": true,
1488
- "type": "Amount"
1489
- }
1490
- ],
1491
- [
1492
- "BidMax",
1493
- {
1494
- "nth": 13,
1495
- "isVLEncoded": false,
1496
- "isSerialized": true,
1497
- "isSigningField": true,
1498
- "type": "Amount"
1499
- }
1500
- ],
1501
1394
  [
1502
1395
  "MinimumOffer",
1503
1396
  {
@@ -1538,86 +1431,6 @@
1538
1431
  "type": "Amount"
1539
1432
  }
1540
1433
  ],
1541
- [
1542
- "LPTokenOut",
1543
- {
1544
- "nth": 20,
1545
- "isVLEncoded": false,
1546
- "isSerialized": true,
1547
- "isSigningField": true,
1548
- "type": "Amount"
1549
- }
1550
- ],
1551
- [
1552
- "LPTokenIn",
1553
- {
1554
- "nth": 21,
1555
- "isVLEncoded": false,
1556
- "isSerialized": true,
1557
- "isSigningField": true,
1558
- "type": "Amount"
1559
- }
1560
- ],
1561
- [
1562
- "EPrice",
1563
- {
1564
- "nth": 22,
1565
- "isVLEncoded": false,
1566
- "isSerialized": true,
1567
- "isSigningField": true,
1568
- "type": "Amount"
1569
- }
1570
- ],
1571
- [
1572
- "Price",
1573
- {
1574
- "nth": 23,
1575
- "isVLEncoded": false,
1576
- "isSerialized": true,
1577
- "isSigningField": true,
1578
- "type": "Amount"
1579
- }
1580
- ],
1581
- [
1582
- "LPTokenBalance",
1583
- {
1584
- "nth": 24,
1585
- "isVLEncoded": false,
1586
- "isSerialized": true,
1587
- "isSigningField": true,
1588
- "type": "Amount"
1589
- }
1590
- ],
1591
- [
1592
- "XChainFee",
1593
- {
1594
- "nth": 28,
1595
- "isVLEncoded": false,
1596
- "isSerialized": true,
1597
- "isSigningField": true,
1598
- "type": "Amount"
1599
- }
1600
- ],
1601
- [
1602
- "SignatureReward",
1603
- {
1604
- "nth": 29,
1605
- "isVLEncoded": false,
1606
- "isSerialized": true,
1607
- "isSigningField": true,
1608
- "type": "Amount"
1609
- }
1610
- ],
1611
- [
1612
- "MinAccountCreateAmount",
1613
- {
1614
- "nth": 30,
1615
- "isVLEncoded": false,
1616
- "isSerialized": true,
1617
- "isSigningField": true,
1618
- "type": "Amount"
1619
- }
1620
- ],
1621
1434
  [
1622
1435
  "PublicKey",
1623
1436
  {
@@ -1948,16 +1761,6 @@
1948
1761
  "type": "AccountID"
1949
1762
  }
1950
1763
  ],
1951
- [
1952
- "AMMAccount",
1953
- {
1954
- "nth": 11,
1955
- "isVLEncoded": true,
1956
- "isSerialized": true,
1957
- "isSigningField": true,
1958
- "type": "AccountID"
1959
- }
1960
- ],
1961
1764
  [
1962
1765
  "HookAccount",
1963
1766
  {
@@ -1968,76 +1771,6 @@
1968
1771
  "type": "AccountID"
1969
1772
  }
1970
1773
  ],
1971
- [
1972
- "ThisChainAccount",
1973
- {
1974
- "nth": 17,
1975
- "isVLEncoded": true,
1976
- "isSerialized": true,
1977
- "isSigningField": true,
1978
- "type": "AccountID"
1979
- }
1980
- ],
1981
- [
1982
- "OtherChainSource",
1983
- {
1984
- "nth": 18,
1985
- "isVLEncoded": true,
1986
- "isSerialized": true,
1987
- "isSigningField": true,
1988
- "type": "AccountID"
1989
- }
1990
- ],
1991
- [
1992
- "OtherChainDestination",
1993
- {
1994
- "nth": 19,
1995
- "isVLEncoded": true,
1996
- "isSerialized": true,
1997
- "isSigningField": true,
1998
- "type": "AccountID"
1999
- }
2000
- ],
2001
- [
2002
- "AttestationSignerAccount",
2003
- {
2004
- "nth": 20,
2005
- "isVLEncoded": true,
2006
- "isSerialized": true,
2007
- "isSigningField": true,
2008
- "type": "AccountID"
2009
- }
2010
- ],
2011
- [
2012
- "AttestationRewardAccount",
2013
- {
2014
- "nth": 21,
2015
- "isVLEncoded": true,
2016
- "isSerialized": true,
2017
- "isSigningField": true,
2018
- "type": "AccountID"
2019
- }
2020
- ],
2021
- [
2022
- "LockingChainDoor",
2023
- {
2024
- "nth": 22,
2025
- "isVLEncoded": true,
2026
- "isSerialized": true,
2027
- "isSigningField": true,
2028
- "type": "AccountID"
2029
- }
2030
- ],
2031
- [
2032
- "IssuingChainDoor",
2033
- {
2034
- "nth": 23,
2035
- "isVLEncoded": true,
2036
- "isSerialized": true,
2037
- "isSigningField": true,
2038
- "type": "AccountID"
2039
- }
2040
- ],
2041
1774
  [
2042
1775
  "Indexes",
2043
1776
  {
@@ -2088,66 +1821,6 @@
2088
1821
  "type": "PathSet"
2089
1822
  }
2090
1823
  ],
2091
- [
2092
- "LockingChainIssue",
2093
- {
2094
- "nth": 1,
2095
- "isVLEncoded": false,
2096
- "isSerialized": true,
2097
- "isSigningField": true,
2098
- "type": "Issue"
2099
- }
2100
- ],
2101
- [
2102
- "IssuingChainIssue",
2103
- {
2104
- "nth": 2,
2105
- "isVLEncoded": false,
2106
- "isSerialized": true,
2107
- "isSigningField": true,
2108
- "type": "Issue"
2109
- }
2110
- ],
2111
- [
2112
- "Asset",
2113
- {
2114
- "nth": 3,
2115
- "isVLEncoded": false,
2116
- "isSerialized": true,
2117
- "isSigningField": true,
2118
- "type": "Issue"
2119
- }
2120
- ],
2121
- [
2122
- "Asset2",
2123
- {
2124
- "nth": 4,
2125
- "isVLEncoded": false,
2126
- "isSerialized": true,
2127
- "isSigningField": true,
2128
- "type": "Issue"
2129
- }
2130
- ],
2131
- [
2132
- "XChainBridge",
2133
- {
2134
- "nth": 1,
2135
- "isVLEncoded": false,
2136
- "isSerialized": true,
2137
- "isSigningField": true,
2138
- "type": "XChainBridge"
2139
- }
2140
- ],
2141
- [
2142
- "XChainAttestationBatch",
2143
- {
2144
- "nth": 1,
2145
- "isVLEncoded": false,
2146
- "isSerialized": true,
2147
- "isSigningField": true,
2148
- "type": "XChainAttestationBatch"
2149
- }
2150
- ],
2151
1824
  [
2152
1825
  "TransactionMetaData",
2153
1826
  {
@@ -2358,126 +2031,6 @@
2358
2031
  "type": "STObject"
2359
2032
  }
2360
2033
  ],
2361
- [
2362
- "VoteEntry",
2363
- {
2364
- "nth": 25,
2365
- "isVLEncoded": false,
2366
- "isSerialized": true,
2367
- "isSigningField": true,
2368
- "type": "STObject"
2369
- }
2370
- ],
2371
- [
2372
- "AuctionSlot",
2373
- {
2374
- "nth": 27,
2375
- "isVLEncoded": false,
2376
- "isSerialized": true,
2377
- "isSigningField": true,
2378
- "type": "STObject"
2379
- }
2380
- ],
2381
- [
2382
- "AuthAccount",
2383
- {
2384
- "nth": 28,
2385
- "isVLEncoded": false,
2386
- "isSerialized": true,
2387
- "isSigningField": true,
2388
- "type": "STObject"
2389
- }
2390
- ],
2391
- [
2392
- "AMMToken",
2393
- {
2394
- "nth": 29,
2395
- "isVLEncoded": false,
2396
- "isSerialized": true,
2397
- "isSigningField": true,
2398
- "type": "STObject"
2399
- }
2400
- ],
2401
- [
2402
- "Token1",
2403
- {
2404
- "nth": 30,
2405
- "isVLEncoded": false,
2406
- "isSerialized": true,
2407
- "isSigningField": true,
2408
- "type": "STObject"
2409
- }
2410
- ],
2411
- [
2412
- "Token2",
2413
- {
2414
- "nth": 31,
2415
- "isVLEncoded": false,
2416
- "isSerialized": true,
2417
- "isSigningField": true,
2418
- "type": "STObject"
2419
- }
2420
- ],
2421
- [
2422
- "XChainClaimProofSig",
2423
- {
2424
- "nth": 32,
2425
- "isVLEncoded": false,
2426
- "isSerialized": true,
2427
- "isSigningField": true,
2428
- "type": "STObject"
2429
- }
2430
- ],
2431
- [
2432
- "XChainCreateAccountProofSig",
2433
- {
2434
- "nth": 33,
2435
- "isVLEncoded": false,
2436
- "isSerialized": true,
2437
- "isSigningField": true,
2438
- "type": "STObject"
2439
- }
2440
- ],
2441
- [
2442
- "XChainAttestationBatchElement",
2443
- {
2444
- "nth": 34,
2445
- "isVLEncoded": false,
2446
- "isSerialized": true,
2447
- "isSigningField": true,
2448
- "type": "STObject"
2449
- }
2450
- ],
2451
- [
2452
- "XChainClaimAttestationBatchElement",
2453
- {
2454
- "nth": 35,
2455
- "isVLEncoded": false,
2456
- "isSerialized": true,
2457
- "isSigningField": true,
2458
- "type": "STObject"
2459
- }
2460
- ],
2461
- [
2462
- "XChainCreateAccountAttestationBatchElement",
2463
- {
2464
- "nth": 36,
2465
- "isVLEncoded": false,
2466
- "isSerialized": true,
2467
- "isSigningField": true,
2468
- "type": "STObject"
2469
- }
2470
- ],
2471
- [
2472
- "XChainAttestationBatchInner",
2473
- {
2474
- "nth": 37,
2475
- "isVLEncoded": false,
2476
- "isSerialized": true,
2477
- "isSigningField": true,
2478
- "type": "STObject"
2479
- }
2480
- ],
2481
2034
  [
2482
2035
  "Signers",
2483
2036
  {
@@ -2568,16 +2121,6 @@
2568
2121
  "type": "STArray"
2569
2122
  }
2570
2123
  ],
2571
- [
2572
- "VoteSlots",
2573
- {
2574
- "nth": 14,
2575
- "isVLEncoded": false,
2576
- "isSerialized": true,
2577
- "isSigningField": true,
2578
- "type": "STArray"
2579
- }
2580
- ],
2581
2124
  [
2582
2125
  "Majorities",
2583
2126
  {
@@ -2627,66 +2170,6 @@
2627
2170
  "isSigningField": true,
2628
2171
  "type": "STArray"
2629
2172
  }
2630
- ],
2631
- [
2632
- "XChainProofSigs",
2633
- {
2634
- "nth": 21,
2635
- "isVLEncoded": false,
2636
- "isSerialized": true,
2637
- "isSigningField": true,
2638
- "type": "STArray"
2639
- }
2640
- ],
2641
- [
2642
- "XChainClaimAttestationBatch",
2643
- {
2644
- "nth": 22,
2645
- "isVLEncoded": false,
2646
- "isSerialized": true,
2647
- "isSigningField": true,
2648
- "type": "STArray"
2649
- }
2650
- ],
2651
- [
2652
- "XChainCreateAccountAttestationBatch",
2653
- {
2654
- "nth": 23,
2655
- "isVLEncoded": false,
2656
- "isSerialized": true,
2657
- "isSigningField": true,
2658
- "type": "STArray"
2659
- }
2660
- ],
2661
- [
2662
- "XChainClaimAttestations",
2663
- {
2664
- "nth": 24,
2665
- "isVLEncoded": false,
2666
- "isSerialized": true,
2667
- "isSigningField": true,
2668
- "type": "STArray"
2669
- }
2670
- ],
2671
- [
2672
- "XChainCreateAccountAttestations",
2673
- {
2674
- "nth": 25,
2675
- "isVLEncoded": false,
2676
- "isSerialized": true,
2677
- "isSigningField": true,
2678
- "type": "STArray"
2679
- }
2680
- ],
2681
- [
2682
- "AuthAccounts",
2683
- {
2684
- "nth": 26,
2685
- "isVLEncoded": false,
2686
- "isSerialized": true,
2687
- "isSigningField": true,
2688
- "type": "STArray"
2689
- }
2690
2173
  ]
2691
2174
  ],
2692
2175
  "TRANSACTION_RESULTS": {
@@ -2703,6 +2186,9 @@
2703
2186
  "telCAN_NOT_QUEUE_BLOCKED": -389,
2704
2187
  "telCAN_NOT_QUEUE_FEE": -388,
2705
2188
  "telCAN_NOT_QUEUE_FULL": -387,
2189
+ "telWRONG_NETWORK": -386,
2190
+ "telREQUIRES_NETWORK_ID": -385,
2191
+ "telNETWORK_ID_MAKES_TX_NON_CANONICAL": -384,
2706
2192
  "temMALFORMED": -299,
2707
2193
  "temBAD_AMOUNT": -298,
2708
2194
  "temBAD_CURRENCY": -297,
@@ -2741,14 +2227,6 @@
2741
2227
  "temUNKNOWN": -264,
2742
2228
  "temSEQ_AND_TICKET": -263,
2743
2229
  "temBAD_NFTOKEN_TRANSFER_FEE": -262,
2744
- "temAMM_BAD_TOKENS": -261,
2745
- "temEQUAL_DOOR_ACCOUNTS": -259,
2746
- "temBAD_XCHAIN_PROOF": -258,
2747
- "temSIDECHAIN_BAD_ISSUES": -257,
2748
- "temSIDECHAIN_NONDOOR_OWNER": -256,
2749
- "temXCHAIN_BRIDGE_BAD_MIN_ACCOUNT_CREATE_AMOUNT": -255,
2750
- "temXCHAIN_BRIDGE_BAD_REWARD_AMOUNT": -254,
2751
- "temXCHAIN_TOO_MANY_ATTESTATIONS": -253,
2752
2230
  "tefFAILURE": -199,
2753
2231
  "tefALREADY": -198,
2754
2232
  "tefBAD_ADD_AUTH": -197,
@@ -2782,7 +2260,6 @@
2782
2260
  "terNO_RIPPLE": -90,
2783
2261
  "terQUEUED": -89,
2784
2262
  "terPRE_TICKET": -88,
2785
- "terNO_AMM": -87,
2786
2263
  "tesSUCCESS": 0,
2787
2264
  "tecCLAIM": 100,
2788
2265
  "tecPATH_PARTIAL": 101,
@@ -2829,30 +2306,7 @@
2829
2306
  "tecCANT_ACCEPT_OWN_NFTOKEN_OFFER": 158,
2830
2307
  "tecINSUFFICIENT_FUNDS": 159,
2831
2308
  "tecOBJECT_NOT_FOUND": 160,
2832
- "tecINSUFFICIENT_PAYMENT": 161,
2833
- "tecAMM_UNFUNDED": 162,
2834
- "tecAMM_BALANCE": 163,
2835
- "tecAMM_FAILED_DEPOSIT": 164,
2836
- "tecAMM_FAILED_WITHDRAW": 165,
2837
- "tecAMM_INVALID_TOKENS": 166,
2838
- "tecAMM_FAILED_BID": 167,
2839
- "tecAMM_FAILED_VOTE": 168,
2840
- "tecBAD_XCHAIN_TRANSFER_ISSUE": 171,
2841
- "tecXCHAIN_NO_CLAIM_ID": 172,
2842
- "tecXCHAIN_BAD_CLAIM_ID": 173,
2843
- "tecXCHAIN_CLAIM_NO_QUORUM": 174,
2844
- "tecXCHAIN_PROOF_UNKNOWN_KEY": 175,
2845
- "tecXCHAIN_CREATE_ACCOUNT_NONXRP_ISSUE": 176,
2846
- "tecXCHAIN_CLAIM_ACCOUNT_DST_EXISTS": 177,
2847
- "tecXCHAIN_WRONG_CHAIN": 178,
2848
- "tecXCHAIN_REWARD_MISMATCH": 179,
2849
- "tecXCHAIN_NO_SIGNERS_LIST": 180,
2850
- "tecXCHAIN_SENDING_ACCOUNT_MISMATCH": 181,
2851
- "tecXCHAIN_INSUFF_CREATE_AMOUNT": 182,
2852
- "tecXCHAIN_ACCOUNT_CREATE_PAST": 183,
2853
- "tecXCHAIN_ACCOUNT_CREATE_TOO_MANY": 184,
2854
- "tecXCHAIN_PAYMENT_FAILED": 185,
2855
- "tecXCHAIN_SELF_COMMIT": 186
2309
+ "tecINSUFFICIENT_PAYMENT": 161
2856
2310
  },
2857
2311
  "TRANSACTION_TYPES": {
2858
2312
  "Invalid": -1,
@@ -2884,18 +2338,6 @@
2884
2338
  "NFTokenCreateOffer": 27,
2885
2339
  "NFTokenCancelOffer": 28,
2886
2340
  "NFTokenAcceptOffer": 29,
2887
- "AMMCreate": 35,
2888
- "AMMDeposit": 36,
2889
- "AMMWithdraw": 37,
2890
- "AMMVote": 38,
2891
- "AMMBid": 39,
2892
- "XChainCreateBridge": 40,
2893
- "XChainCreateClaimID": 41,
2894
- "XChainCommit": 42,
2895
- "XChainClaim": 43,
2896
- "XChainAccountCreateCommit": 44,
2897
- "XChainAddAttestation": 45,
2898
- "XChainModifyBridge": 46,
2899
2341
  "EnableAmendment": 100,
2900
2342
  "SetFee": 101,
2901
2343
  "UNLModify": 102