ripple-binary-codec 1.5.0-beta.4 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/binary.d.ts +1 -2
- package/dist/binary.js +3 -9
- package/dist/binary.js.map +1 -1
- package/dist/enums/definitions.json +1 -544
- package/dist/enums/src/enums/definitions.json +1 -544
- package/dist/types/index.js +0 -4
- package/dist/types/index.js.map +1 -1
- package/package.json +3 -3
- package/test/definitions.test.js +1 -1
- package/test/fixtures/codec-fixtures.json +14 -408
- package/test/signing-data-encoding.test.js +1 -24
|
@@ -21,8 +21,6 @@
|
|
|
21
21
|
"UInt192": 21,
|
|
22
22
|
"UInt384": 22,
|
|
23
23
|
"UInt512": 23,
|
|
24
|
-
"Issue": 24,
|
|
25
|
-
"XChainBridge": 25,
|
|
26
24
|
"Transaction": 10001,
|
|
27
25
|
"LedgerEntry": 10002,
|
|
28
26
|
"Validation": 10003,
|
|
@@ -36,11 +34,8 @@
|
|
|
36
34
|
"Ticket": 84,
|
|
37
35
|
"SignerList": 83,
|
|
38
36
|
"Offer": 111,
|
|
39
|
-
"Bridge": 105,
|
|
40
37
|
"LedgerHashes": 104,
|
|
41
38
|
"Amendments": 102,
|
|
42
|
-
"XChainClaimID": 113,
|
|
43
|
-
"XChainCreateAccountClaimID": 116,
|
|
44
39
|
"FeeSettings": 115,
|
|
45
40
|
"Escrow": 117,
|
|
46
41
|
"PayChannel": 120,
|
|
@@ -49,7 +44,6 @@
|
|
|
49
44
|
"NegativeUNL": 78,
|
|
50
45
|
"NFTokenPage": 80,
|
|
51
46
|
"NFTokenOffer": 55,
|
|
52
|
-
"AMM": 121,
|
|
53
47
|
"Any": -3,
|
|
54
48
|
"Child": -2,
|
|
55
49
|
"Nickname": 110,
|
|
@@ -237,16 +231,6 @@
|
|
|
237
231
|
"type": "UInt8"
|
|
238
232
|
}
|
|
239
233
|
],
|
|
240
|
-
[
|
|
241
|
-
"WasLockingChainSend",
|
|
242
|
-
{
|
|
243
|
-
"nth": 19,
|
|
244
|
-
"isVLEncoded": false,
|
|
245
|
-
"isSerialized": true,
|
|
246
|
-
"isSigningField": true,
|
|
247
|
-
"type": "UInt8"
|
|
248
|
-
}
|
|
249
|
-
],
|
|
250
234
|
[
|
|
251
235
|
"LedgerEntryType",
|
|
252
236
|
{
|
|
@@ -287,26 +271,6 @@
|
|
|
287
271
|
"type": "UInt16"
|
|
288
272
|
}
|
|
289
273
|
],
|
|
290
|
-
[
|
|
291
|
-
"TradingFee",
|
|
292
|
-
{
|
|
293
|
-
"nth": 5,
|
|
294
|
-
"isVLEncoded": false,
|
|
295
|
-
"isSerialized": true,
|
|
296
|
-
"isSigningField": true,
|
|
297
|
-
"type": "UInt16"
|
|
298
|
-
}
|
|
299
|
-
],
|
|
300
|
-
[
|
|
301
|
-
"DiscountedFee",
|
|
302
|
-
{
|
|
303
|
-
"nth": 6,
|
|
304
|
-
"isVLEncoded": false,
|
|
305
|
-
"isSerialized": true,
|
|
306
|
-
"isSigningField": true,
|
|
307
|
-
"type": "UInt16"
|
|
308
|
-
}
|
|
309
|
-
],
|
|
310
274
|
[
|
|
311
275
|
"Version",
|
|
312
276
|
{
|
|
@@ -357,16 +321,6 @@
|
|
|
357
321
|
"type": "UInt16"
|
|
358
322
|
}
|
|
359
323
|
],
|
|
360
|
-
[
|
|
361
|
-
"NetworkID",
|
|
362
|
-
{
|
|
363
|
-
"nth": 1,
|
|
364
|
-
"isVLEncoded": false,
|
|
365
|
-
"isSerialized": true,
|
|
366
|
-
"isSigningField": true,
|
|
367
|
-
"type": "UInt32"
|
|
368
|
-
}
|
|
369
|
-
],
|
|
370
324
|
[
|
|
371
325
|
"Flags",
|
|
372
326
|
{
|
|
@@ -807,36 +761,6 @@
|
|
|
807
761
|
"type": "UInt32"
|
|
808
762
|
}
|
|
809
763
|
],
|
|
810
|
-
[
|
|
811
|
-
"LockCount",
|
|
812
|
-
{
|
|
813
|
-
"nth": 47,
|
|
814
|
-
"isVLEncoded": false,
|
|
815
|
-
"isSerialized": true,
|
|
816
|
-
"isSigningField": true,
|
|
817
|
-
"type": "UInt32"
|
|
818
|
-
}
|
|
819
|
-
],
|
|
820
|
-
[
|
|
821
|
-
"VoteWeight",
|
|
822
|
-
{
|
|
823
|
-
"nth": 48,
|
|
824
|
-
"isVLEncoded": false,
|
|
825
|
-
"isSerialized": true,
|
|
826
|
-
"isSigningField": true,
|
|
827
|
-
"type": "UInt32"
|
|
828
|
-
}
|
|
829
|
-
],
|
|
830
|
-
[
|
|
831
|
-
"FirstNFTokenSequence",
|
|
832
|
-
{
|
|
833
|
-
"nth": 50,
|
|
834
|
-
"isVLEncoded": false,
|
|
835
|
-
"isSerialized": true,
|
|
836
|
-
"isSigningField": true,
|
|
837
|
-
"type": "UInt32"
|
|
838
|
-
}
|
|
839
|
-
],
|
|
840
764
|
[
|
|
841
765
|
"IndexNext",
|
|
842
766
|
{
|
|
@@ -1007,36 +931,6 @@
|
|
|
1007
931
|
"type": "UInt64"
|
|
1008
932
|
}
|
|
1009
933
|
],
|
|
1010
|
-
[
|
|
1011
|
-
"XChainClaimID",
|
|
1012
|
-
{
|
|
1013
|
-
"nth": 20,
|
|
1014
|
-
"isVLEncoded": false,
|
|
1015
|
-
"isSerialized": true,
|
|
1016
|
-
"isSigningField": true,
|
|
1017
|
-
"type": "UInt64"
|
|
1018
|
-
}
|
|
1019
|
-
],
|
|
1020
|
-
[
|
|
1021
|
-
"XChainAccountCreateCount",
|
|
1022
|
-
{
|
|
1023
|
-
"nth": 21,
|
|
1024
|
-
"isVLEncoded": false,
|
|
1025
|
-
"isSerialized": true,
|
|
1026
|
-
"isSigningField": true,
|
|
1027
|
-
"type": "UInt64"
|
|
1028
|
-
}
|
|
1029
|
-
],
|
|
1030
|
-
[
|
|
1031
|
-
"XChainAccountClaimCount",
|
|
1032
|
-
{
|
|
1033
|
-
"nth": 22,
|
|
1034
|
-
"isVLEncoded": false,
|
|
1035
|
-
"isSerialized": true,
|
|
1036
|
-
"isSigningField": true,
|
|
1037
|
-
"type": "UInt64"
|
|
1038
|
-
}
|
|
1039
|
-
],
|
|
1040
934
|
[
|
|
1041
935
|
"EmailHash",
|
|
1042
936
|
{
|
|
@@ -1217,16 +1111,6 @@
|
|
|
1217
1111
|
"type": "Hash256"
|
|
1218
1112
|
}
|
|
1219
1113
|
],
|
|
1220
|
-
[
|
|
1221
|
-
"AMMID",
|
|
1222
|
-
{
|
|
1223
|
-
"nth": 14,
|
|
1224
|
-
"isVLEncoded": false,
|
|
1225
|
-
"isSerialized": true,
|
|
1226
|
-
"isSigningField": true,
|
|
1227
|
-
"type": "Hash256"
|
|
1228
|
-
}
|
|
1229
|
-
],
|
|
1230
1114
|
[
|
|
1231
1115
|
"BookDirectory",
|
|
1232
1116
|
{
|
|
@@ -1497,36 +1381,6 @@
|
|
|
1497
1381
|
"type": "Amount"
|
|
1498
1382
|
}
|
|
1499
1383
|
],
|
|
1500
|
-
[
|
|
1501
|
-
"Amount2",
|
|
1502
|
-
{
|
|
1503
|
-
"nth": 11,
|
|
1504
|
-
"isVLEncoded": false,
|
|
1505
|
-
"isSerialized": true,
|
|
1506
|
-
"isSigningField": true,
|
|
1507
|
-
"type": "Amount"
|
|
1508
|
-
}
|
|
1509
|
-
],
|
|
1510
|
-
[
|
|
1511
|
-
"BidMin",
|
|
1512
|
-
{
|
|
1513
|
-
"nth": 12,
|
|
1514
|
-
"isVLEncoded": false,
|
|
1515
|
-
"isSerialized": true,
|
|
1516
|
-
"isSigningField": true,
|
|
1517
|
-
"type": "Amount"
|
|
1518
|
-
}
|
|
1519
|
-
],
|
|
1520
|
-
[
|
|
1521
|
-
"BidMax",
|
|
1522
|
-
{
|
|
1523
|
-
"nth": 13,
|
|
1524
|
-
"isVLEncoded": false,
|
|
1525
|
-
"isSerialized": true,
|
|
1526
|
-
"isSigningField": true,
|
|
1527
|
-
"type": "Amount"
|
|
1528
|
-
}
|
|
1529
|
-
],
|
|
1530
1384
|
[
|
|
1531
1385
|
"MinimumOffer",
|
|
1532
1386
|
{
|
|
@@ -1567,116 +1421,6 @@
|
|
|
1567
1421
|
"type": "Amount"
|
|
1568
1422
|
}
|
|
1569
1423
|
],
|
|
1570
|
-
[
|
|
1571
|
-
"LockedBalance",
|
|
1572
|
-
{
|
|
1573
|
-
"nth": 21,
|
|
1574
|
-
"isVLEncoded": false,
|
|
1575
|
-
"isSerialized": true,
|
|
1576
|
-
"isSigningField": true,
|
|
1577
|
-
"type": "Amount"
|
|
1578
|
-
}
|
|
1579
|
-
],
|
|
1580
|
-
[
|
|
1581
|
-
"BaseFeeDrops",
|
|
1582
|
-
{
|
|
1583
|
-
"nth": 22,
|
|
1584
|
-
"isVLEncoded": false,
|
|
1585
|
-
"isSerialized": true,
|
|
1586
|
-
"isSigningField": true,
|
|
1587
|
-
"type": "Amount"
|
|
1588
|
-
}
|
|
1589
|
-
],
|
|
1590
|
-
[
|
|
1591
|
-
"ReserveBaseDrops",
|
|
1592
|
-
{
|
|
1593
|
-
"nth": 23,
|
|
1594
|
-
"isVLEncoded": false,
|
|
1595
|
-
"isSerialized": true,
|
|
1596
|
-
"isSigningField": true,
|
|
1597
|
-
"type": "Amount"
|
|
1598
|
-
}
|
|
1599
|
-
],
|
|
1600
|
-
[
|
|
1601
|
-
"ReserveIncrementDrops",
|
|
1602
|
-
{
|
|
1603
|
-
"nth": 24,
|
|
1604
|
-
"isVLEncoded": false,
|
|
1605
|
-
"isSerialized": true,
|
|
1606
|
-
"isSigningField": true,
|
|
1607
|
-
"type": "Amount"
|
|
1608
|
-
}
|
|
1609
|
-
],
|
|
1610
|
-
[
|
|
1611
|
-
"LPTokenOut",
|
|
1612
|
-
{
|
|
1613
|
-
"nth": 25,
|
|
1614
|
-
"isVLEncoded": false,
|
|
1615
|
-
"isSerialized": true,
|
|
1616
|
-
"isSigningField": true,
|
|
1617
|
-
"type": "Amount"
|
|
1618
|
-
}
|
|
1619
|
-
],
|
|
1620
|
-
[
|
|
1621
|
-
"LPTokenIn",
|
|
1622
|
-
{
|
|
1623
|
-
"nth": 26,
|
|
1624
|
-
"isVLEncoded": false,
|
|
1625
|
-
"isSerialized": true,
|
|
1626
|
-
"isSigningField": true,
|
|
1627
|
-
"type": "Amount"
|
|
1628
|
-
}
|
|
1629
|
-
],
|
|
1630
|
-
[
|
|
1631
|
-
"EPrice",
|
|
1632
|
-
{
|
|
1633
|
-
"nth": 27,
|
|
1634
|
-
"isVLEncoded": false,
|
|
1635
|
-
"isSerialized": true,
|
|
1636
|
-
"isSigningField": true,
|
|
1637
|
-
"type": "Amount"
|
|
1638
|
-
}
|
|
1639
|
-
],
|
|
1640
|
-
[
|
|
1641
|
-
"Price",
|
|
1642
|
-
{
|
|
1643
|
-
"nth": 28,
|
|
1644
|
-
"isVLEncoded": false,
|
|
1645
|
-
"isSerialized": true,
|
|
1646
|
-
"isSigningField": true,
|
|
1647
|
-
"type": "Amount"
|
|
1648
|
-
}
|
|
1649
|
-
],
|
|
1650
|
-
[
|
|
1651
|
-
"SignatureReward",
|
|
1652
|
-
{
|
|
1653
|
-
"nth": 29,
|
|
1654
|
-
"isVLEncoded": false,
|
|
1655
|
-
"isSerialized": true,
|
|
1656
|
-
"isSigningField": true,
|
|
1657
|
-
"type": "Amount"
|
|
1658
|
-
}
|
|
1659
|
-
],
|
|
1660
|
-
[
|
|
1661
|
-
"MinAccountCreateAmount",
|
|
1662
|
-
{
|
|
1663
|
-
"nth": 30,
|
|
1664
|
-
"isVLEncoded": false,
|
|
1665
|
-
"isSerialized": true,
|
|
1666
|
-
"isSigningField": true,
|
|
1667
|
-
"type": "Amount"
|
|
1668
|
-
}
|
|
1669
|
-
],
|
|
1670
|
-
[
|
|
1671
|
-
"LPTokenBalance",
|
|
1672
|
-
{
|
|
1673
|
-
"nth": 31,
|
|
1674
|
-
"isVLEncoded": false,
|
|
1675
|
-
"isSerialized": true,
|
|
1676
|
-
"isSigningField": true,
|
|
1677
|
-
"type": "Amount"
|
|
1678
|
-
}
|
|
1679
|
-
],
|
|
1680
1424
|
[
|
|
1681
1425
|
"PublicKey",
|
|
1682
1426
|
{
|
|
@@ -2017,66 +1761,6 @@
|
|
|
2017
1761
|
"type": "AccountID"
|
|
2018
1762
|
}
|
|
2019
1763
|
],
|
|
2020
|
-
[
|
|
2021
|
-
"OtherChainSource",
|
|
2022
|
-
{
|
|
2023
|
-
"nth": 18,
|
|
2024
|
-
"isVLEncoded": true,
|
|
2025
|
-
"isSerialized": true,
|
|
2026
|
-
"isSigningField": true,
|
|
2027
|
-
"type": "AccountID"
|
|
2028
|
-
}
|
|
2029
|
-
],
|
|
2030
|
-
[
|
|
2031
|
-
"OtherChainDestination",
|
|
2032
|
-
{
|
|
2033
|
-
"nth": 19,
|
|
2034
|
-
"isVLEncoded": true,
|
|
2035
|
-
"isSerialized": true,
|
|
2036
|
-
"isSigningField": true,
|
|
2037
|
-
"type": "AccountID"
|
|
2038
|
-
}
|
|
2039
|
-
],
|
|
2040
|
-
[
|
|
2041
|
-
"AttestationSignerAccount",
|
|
2042
|
-
{
|
|
2043
|
-
"nth": 20,
|
|
2044
|
-
"isVLEncoded": true,
|
|
2045
|
-
"isSerialized": true,
|
|
2046
|
-
"isSigningField": true,
|
|
2047
|
-
"type": "AccountID"
|
|
2048
|
-
}
|
|
2049
|
-
],
|
|
2050
|
-
[
|
|
2051
|
-
"AttestationRewardAccount",
|
|
2052
|
-
{
|
|
2053
|
-
"nth": 21,
|
|
2054
|
-
"isVLEncoded": true,
|
|
2055
|
-
"isSerialized": true,
|
|
2056
|
-
"isSigningField": true,
|
|
2057
|
-
"type": "AccountID"
|
|
2058
|
-
}
|
|
2059
|
-
],
|
|
2060
|
-
[
|
|
2061
|
-
"LockingChainDoor",
|
|
2062
|
-
{
|
|
2063
|
-
"nth": 22,
|
|
2064
|
-
"isVLEncoded": true,
|
|
2065
|
-
"isSerialized": true,
|
|
2066
|
-
"isSigningField": true,
|
|
2067
|
-
"type": "AccountID"
|
|
2068
|
-
}
|
|
2069
|
-
],
|
|
2070
|
-
[
|
|
2071
|
-
"IssuingChainDoor",
|
|
2072
|
-
{
|
|
2073
|
-
"nth": 23,
|
|
2074
|
-
"isVLEncoded": true,
|
|
2075
|
-
"isSerialized": true,
|
|
2076
|
-
"isSigningField": true,
|
|
2077
|
-
"type": "AccountID"
|
|
2078
|
-
}
|
|
2079
|
-
],
|
|
2080
1764
|
[
|
|
2081
1765
|
"Indexes",
|
|
2082
1766
|
{
|
|
@@ -2127,56 +1811,6 @@
|
|
|
2127
1811
|
"type": "PathSet"
|
|
2128
1812
|
}
|
|
2129
1813
|
],
|
|
2130
|
-
[
|
|
2131
|
-
"LockingChainIssue",
|
|
2132
|
-
{
|
|
2133
|
-
"nth": 1,
|
|
2134
|
-
"isVLEncoded": false,
|
|
2135
|
-
"isSerialized": true,
|
|
2136
|
-
"isSigningField": true,
|
|
2137
|
-
"type": "Issue"
|
|
2138
|
-
}
|
|
2139
|
-
],
|
|
2140
|
-
[
|
|
2141
|
-
"IssuingChainIssue",
|
|
2142
|
-
{
|
|
2143
|
-
"nth": 2,
|
|
2144
|
-
"isVLEncoded": false,
|
|
2145
|
-
"isSerialized": true,
|
|
2146
|
-
"isSigningField": true,
|
|
2147
|
-
"type": "Issue"
|
|
2148
|
-
}
|
|
2149
|
-
],
|
|
2150
|
-
[
|
|
2151
|
-
"Asset",
|
|
2152
|
-
{
|
|
2153
|
-
"nth": 3,
|
|
2154
|
-
"isVLEncoded": false,
|
|
2155
|
-
"isSerialized": true,
|
|
2156
|
-
"isSigningField": true,
|
|
2157
|
-
"type": "Issue"
|
|
2158
|
-
}
|
|
2159
|
-
],
|
|
2160
|
-
[
|
|
2161
|
-
"Asset2",
|
|
2162
|
-
{
|
|
2163
|
-
"nth": 4,
|
|
2164
|
-
"isVLEncoded": false,
|
|
2165
|
-
"isSerialized": true,
|
|
2166
|
-
"isSigningField": true,
|
|
2167
|
-
"type": "Issue"
|
|
2168
|
-
}
|
|
2169
|
-
],
|
|
2170
|
-
[
|
|
2171
|
-
"XChainBridge",
|
|
2172
|
-
{
|
|
2173
|
-
"nth": 1,
|
|
2174
|
-
"isVLEncoded": false,
|
|
2175
|
-
"isSerialized": true,
|
|
2176
|
-
"isSigningField": true,
|
|
2177
|
-
"type": "XChainBridge"
|
|
2178
|
-
}
|
|
2179
|
-
],
|
|
2180
1814
|
[
|
|
2181
1815
|
"TransactionMetaData",
|
|
2182
1816
|
{
|
|
@@ -2387,76 +2021,6 @@
|
|
|
2387
2021
|
"type": "STObject"
|
|
2388
2022
|
}
|
|
2389
2023
|
],
|
|
2390
|
-
[
|
|
2391
|
-
"VoteEntry",
|
|
2392
|
-
{
|
|
2393
|
-
"nth": 25,
|
|
2394
|
-
"isVLEncoded": false,
|
|
2395
|
-
"isSerialized": true,
|
|
2396
|
-
"isSigningField": true,
|
|
2397
|
-
"type": "STObject"
|
|
2398
|
-
}
|
|
2399
|
-
],
|
|
2400
|
-
[
|
|
2401
|
-
"AuctionSlot",
|
|
2402
|
-
{
|
|
2403
|
-
"nth": 26,
|
|
2404
|
-
"isVLEncoded": false,
|
|
2405
|
-
"isSerialized": true,
|
|
2406
|
-
"isSigningField": true,
|
|
2407
|
-
"type": "STObject"
|
|
2408
|
-
}
|
|
2409
|
-
],
|
|
2410
|
-
[
|
|
2411
|
-
"AuthAccount",
|
|
2412
|
-
{
|
|
2413
|
-
"nth": 27,
|
|
2414
|
-
"isVLEncoded": false,
|
|
2415
|
-
"isSerialized": true,
|
|
2416
|
-
"isSigningField": true,
|
|
2417
|
-
"type": "STObject"
|
|
2418
|
-
}
|
|
2419
|
-
],
|
|
2420
|
-
[
|
|
2421
|
-
"XChainClaimProofSig",
|
|
2422
|
-
{
|
|
2423
|
-
"nth": 32,
|
|
2424
|
-
"isVLEncoded": false,
|
|
2425
|
-
"isSerialized": true,
|
|
2426
|
-
"isSigningField": true,
|
|
2427
|
-
"type": "STObject"
|
|
2428
|
-
}
|
|
2429
|
-
],
|
|
2430
|
-
[
|
|
2431
|
-
"XChainCreateAccountProofSig",
|
|
2432
|
-
{
|
|
2433
|
-
"nth": 33,
|
|
2434
|
-
"isVLEncoded": false,
|
|
2435
|
-
"isSerialized": true,
|
|
2436
|
-
"isSigningField": true,
|
|
2437
|
-
"type": "STObject"
|
|
2438
|
-
}
|
|
2439
|
-
],
|
|
2440
|
-
[
|
|
2441
|
-
"XChainClaimAttestationBatchElement",
|
|
2442
|
-
{
|
|
2443
|
-
"nth": 34,
|
|
2444
|
-
"isVLEncoded": false,
|
|
2445
|
-
"isSerialized": true,
|
|
2446
|
-
"isSigningField": true,
|
|
2447
|
-
"type": "STObject"
|
|
2448
|
-
}
|
|
2449
|
-
],
|
|
2450
|
-
[
|
|
2451
|
-
"XChainCreateAccountAttestationBatchElement",
|
|
2452
|
-
{
|
|
2453
|
-
"nth": 35,
|
|
2454
|
-
"isVLEncoded": false,
|
|
2455
|
-
"isSerialized": true,
|
|
2456
|
-
"isSigningField": true,
|
|
2457
|
-
"type": "STObject"
|
|
2458
|
-
}
|
|
2459
|
-
],
|
|
2460
2024
|
[
|
|
2461
2025
|
"Signers",
|
|
2462
2026
|
{
|
|
@@ -2547,16 +2111,6 @@
|
|
|
2547
2111
|
"type": "STArray"
|
|
2548
2112
|
}
|
|
2549
2113
|
],
|
|
2550
|
-
[
|
|
2551
|
-
"VoteSlots",
|
|
2552
|
-
{
|
|
2553
|
-
"nth": 12,
|
|
2554
|
-
"isVLEncoded": false,
|
|
2555
|
-
"isSerialized": true,
|
|
2556
|
-
"isSigningField": true,
|
|
2557
|
-
"type": "STArray"
|
|
2558
|
-
}
|
|
2559
|
-
],
|
|
2560
2114
|
[
|
|
2561
2115
|
"Majorities",
|
|
2562
2116
|
{
|
|
@@ -2606,56 +2160,6 @@
|
|
|
2606
2160
|
"isSigningField": true,
|
|
2607
2161
|
"type": "STArray"
|
|
2608
2162
|
}
|
|
2609
|
-
],
|
|
2610
|
-
[
|
|
2611
|
-
"XChainClaimAttestationBatch",
|
|
2612
|
-
{
|
|
2613
|
-
"nth": 21,
|
|
2614
|
-
"isVLEncoded": false,
|
|
2615
|
-
"isSerialized": true,
|
|
2616
|
-
"isSigningField": true,
|
|
2617
|
-
"type": "STArray"
|
|
2618
|
-
}
|
|
2619
|
-
],
|
|
2620
|
-
[
|
|
2621
|
-
"XChainCreateAccountAttestationBatch",
|
|
2622
|
-
{
|
|
2623
|
-
"nth": 22,
|
|
2624
|
-
"isVLEncoded": false,
|
|
2625
|
-
"isSerialized": true,
|
|
2626
|
-
"isSigningField": true,
|
|
2627
|
-
"type": "STArray"
|
|
2628
|
-
}
|
|
2629
|
-
],
|
|
2630
|
-
[
|
|
2631
|
-
"XChainClaimAttestations",
|
|
2632
|
-
{
|
|
2633
|
-
"nth": 23,
|
|
2634
|
-
"isVLEncoded": false,
|
|
2635
|
-
"isSerialized": true,
|
|
2636
|
-
"isSigningField": true,
|
|
2637
|
-
"type": "STArray"
|
|
2638
|
-
}
|
|
2639
|
-
],
|
|
2640
|
-
[
|
|
2641
|
-
"XChainCreateAccountAttestations",
|
|
2642
|
-
{
|
|
2643
|
-
"nth": 24,
|
|
2644
|
-
"isVLEncoded": false,
|
|
2645
|
-
"isSerialized": true,
|
|
2646
|
-
"isSigningField": true,
|
|
2647
|
-
"type": "STArray"
|
|
2648
|
-
}
|
|
2649
|
-
],
|
|
2650
|
-
[
|
|
2651
|
-
"AuthAccounts",
|
|
2652
|
-
{
|
|
2653
|
-
"nth": 25,
|
|
2654
|
-
"isVLEncoded": false,
|
|
2655
|
-
"isSerialized": true,
|
|
2656
|
-
"isSigningField": true,
|
|
2657
|
-
"type": "STArray"
|
|
2658
|
-
}
|
|
2659
2163
|
]
|
|
2660
2164
|
],
|
|
2661
2165
|
"TRANSACTION_RESULTS": {
|
|
@@ -2672,9 +2176,6 @@
|
|
|
2672
2176
|
"telCAN_NOT_QUEUE_BLOCKED": -389,
|
|
2673
2177
|
"telCAN_NOT_QUEUE_FEE": -388,
|
|
2674
2178
|
"telCAN_NOT_QUEUE_FULL": -387,
|
|
2675
|
-
"telWRONG_NETWORK": -386,
|
|
2676
|
-
"telREQUIRES_NETWORK_ID": -385,
|
|
2677
|
-
"telNETWORK_ID_MAKES_TX_NON_CANONICAL": -384,
|
|
2678
2179
|
|
|
2679
2180
|
"temMALFORMED": -299,
|
|
2680
2181
|
"temBAD_AMOUNT": -298,
|
|
@@ -2714,14 +2215,6 @@
|
|
|
2714
2215
|
"temUNKNOWN": -264,
|
|
2715
2216
|
"temSEQ_AND_TICKET": -263,
|
|
2716
2217
|
"temBAD_NFTOKEN_TRANSFER_FEE": -262,
|
|
2717
|
-
"temBAD_AMM_TOKENS": -261,
|
|
2718
|
-
"temEQUAL_DOOR_ACCOUNTS": -259,
|
|
2719
|
-
"temBAD_XCHAIN_PROOF": -258,
|
|
2720
|
-
"temSIDECHAIN_BAD_ISSUES": -257,
|
|
2721
|
-
"temSIDECHAIN_NONDOOR_OWNER": -256,
|
|
2722
|
-
"temXCHAIN_BRIDGE_BAD_MIN_ACCOUNT_CREATE_AMOUNT": -255,
|
|
2723
|
-
"temXCHAIN_BRIDGE_BAD_REWARD_AMOUNT": -254,
|
|
2724
|
-
"temXCHAIN_TOO_MANY_ATTESTATIONS": -253,
|
|
2725
2218
|
|
|
2726
2219
|
"tefFAILURE": -199,
|
|
2727
2220
|
"tefALREADY": -198,
|
|
@@ -2757,7 +2250,6 @@
|
|
|
2757
2250
|
"terNO_RIPPLE": -90,
|
|
2758
2251
|
"terQUEUED": -89,
|
|
2759
2252
|
"terPRE_TICKET": -88,
|
|
2760
|
-
"terNO_AMM": -87,
|
|
2761
2253
|
|
|
2762
2254
|
"tesSUCCESS": 0,
|
|
2763
2255
|
|
|
@@ -2806,29 +2298,7 @@
|
|
|
2806
2298
|
"tecCANT_ACCEPT_OWN_NFTOKEN_OFFER": 158,
|
|
2807
2299
|
"tecINSUFFICIENT_FUNDS": 159,
|
|
2808
2300
|
"tecOBJECT_NOT_FOUND": 160,
|
|
2809
|
-
"tecINSUFFICIENT_PAYMENT": 161
|
|
2810
|
-
"tecUNFUNDED_AMM": 162,
|
|
2811
|
-
"tecAMM_BALANCE": 163,
|
|
2812
|
-
"tecAMM_FAILED": 164,
|
|
2813
|
-
"tecAMM_INVALID_TOKENS": 165,
|
|
2814
|
-
"tecBAD_XCHAIN_TRANSFER_ISSUE": 171,
|
|
2815
|
-
"tecXCHAIN_NO_CLAIM_ID": 172,
|
|
2816
|
-
"tecXCHAIN_BAD_CLAIM_ID": 173,
|
|
2817
|
-
"tecXCHAIN_CLAIM_NO_QUORUM": 174,
|
|
2818
|
-
"tecXCHAIN_PROOF_UNKNOWN_KEY": 175,
|
|
2819
|
-
"tecXCHAIN_CREATE_ACCOUNT_NONXRP_ISSUE": 176,
|
|
2820
|
-
"tecXCHAIN_WRONG_CHAIN": 177,
|
|
2821
|
-
"tecXCHAIN_REWARD_MISMATCH": 178,
|
|
2822
|
-
"tecXCHAIN_NO_SIGNERS_LIST": 179,
|
|
2823
|
-
"tecXCHAIN_SENDING_ACCOUNT_MISMATCH": 180,
|
|
2824
|
-
"tecXCHAIN_INSUFF_CREATE_AMOUNT": 181,
|
|
2825
|
-
"tecXCHAIN_ACCOUNT_CREATE_PAST": 182,
|
|
2826
|
-
"tecXCHAIN_ACCOUNT_CREATE_TOO_MANY": 183,
|
|
2827
|
-
"tecXCHAIN_PAYMENT_FAILED": 184,
|
|
2828
|
-
"tecXCHAIN_SELF_COMMIT": 185,
|
|
2829
|
-
"tecXCHAIN_BAD_PUBLIC_KEY_ACCOUNT_PAIR": 186,
|
|
2830
|
-
"tecREQUIRES_FLAG": 187,
|
|
2831
|
-
"tecPRECISION_LOSS": 188
|
|
2301
|
+
"tecINSUFFICIENT_PAYMENT": 161
|
|
2832
2302
|
},
|
|
2833
2303
|
"TRANSACTION_TYPES": {
|
|
2834
2304
|
"Invalid": -1,
|
|
@@ -2860,19 +2330,6 @@
|
|
|
2860
2330
|
"NFTokenCreateOffer": 27,
|
|
2861
2331
|
"NFTokenCancelOffer": 28,
|
|
2862
2332
|
"NFTokenAcceptOffer": 29,
|
|
2863
|
-
"AMMCreate": 35,
|
|
2864
|
-
"AMMDeposit": 36,
|
|
2865
|
-
"AMMWithdraw": 37,
|
|
2866
|
-
"AMMVote": 38,
|
|
2867
|
-
"AMMBid": 39,
|
|
2868
|
-
"XChainCreateBridge": 40,
|
|
2869
|
-
"XChainCreateClaimID": 41,
|
|
2870
|
-
"XChainCommit": 42,
|
|
2871
|
-
"XChainClaim": 43,
|
|
2872
|
-
"XChainAccountCreateCommit": 44,
|
|
2873
|
-
"XChainAddClaimAttestation": 45,
|
|
2874
|
-
"XChainAddAccountCreateAttestation": 46,
|
|
2875
|
-
"XChainModifyBridge": 47,
|
|
2876
2333
|
"EnableAmendment": 100,
|
|
2877
2334
|
"SetFee": 101,
|
|
2878
2335
|
"UNLModify": 102
|
package/dist/types/index.js
CHANGED
|
@@ -15,7 +15,6 @@ const hash_160_1 = require("./hash-160");
|
|
|
15
15
|
Object.defineProperty(exports, "Hash160", { enumerable: true, get: function () { return hash_160_1.Hash160; } });
|
|
16
16
|
const hash_256_1 = require("./hash-256");
|
|
17
17
|
Object.defineProperty(exports, "Hash256", { enumerable: true, get: function () { return hash_256_1.Hash256; } });
|
|
18
|
-
const issue_1 = require("./issue");
|
|
19
18
|
const path_set_1 = require("./path-set");
|
|
20
19
|
Object.defineProperty(exports, "PathSet", { enumerable: true, get: function () { return path_set_1.PathSet; } });
|
|
21
20
|
const st_array_1 = require("./st-array");
|
|
@@ -32,7 +31,6 @@ const uint_8_1 = require("./uint-8");
|
|
|
32
31
|
Object.defineProperty(exports, "UInt8", { enumerable: true, get: function () { return uint_8_1.UInt8; } });
|
|
33
32
|
const vector_256_1 = require("./vector-256");
|
|
34
33
|
Object.defineProperty(exports, "Vector256", { enumerable: true, get: function () { return vector_256_1.Vector256; } });
|
|
35
|
-
const xchain_bridge_1 = require("./xchain-bridge");
|
|
36
34
|
const enums_1 = require("../enums");
|
|
37
35
|
const coreTypes = {
|
|
38
36
|
AccountID: account_id_1.AccountID,
|
|
@@ -42,7 +40,6 @@ const coreTypes = {
|
|
|
42
40
|
Hash128: hash_128_1.Hash128,
|
|
43
41
|
Hash160: hash_160_1.Hash160,
|
|
44
42
|
Hash256: hash_256_1.Hash256,
|
|
45
|
-
Issue: issue_1.Issue,
|
|
46
43
|
PathSet: path_set_1.PathSet,
|
|
47
44
|
STArray: st_array_1.STArray,
|
|
48
45
|
STObject: st_object_1.STObject,
|
|
@@ -51,7 +48,6 @@ const coreTypes = {
|
|
|
51
48
|
UInt32: uint_32_1.UInt32,
|
|
52
49
|
UInt64: uint_64_1.UInt64,
|
|
53
50
|
Vector256: vector_256_1.Vector256,
|
|
54
|
-
XChainBridge: xchain_bridge_1.XChainBridge,
|
|
55
51
|
};
|
|
56
52
|
exports.coreTypes = coreTypes;
|
|
57
53
|
// Ensures that the DEFAULT_DEFINITIONS object connects these types to fields for serializing/deserializing
|