ripple-binary-codec 2.7.0 → 2.8.0-smartcontract.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 (196) hide show
  1. package/dist/enums/definitions.json +238 -260
  2. package/dist/enums/src/enums/definitions.json +238 -260
  3. package/dist/quality.js +15 -3
  4. package/dist/quality.js.map +1 -1
  5. package/dist/serdes/binary-parser.js +8 -2
  6. package/dist/serdes/binary-parser.js.map +1 -1
  7. package/dist/serdes/binary-serializer.d.ts +1 -1
  8. package/dist/serdes/binary-serializer.js +2 -2
  9. package/dist/serdes/binary-serializer.js.map +1 -1
  10. package/dist/src/enums/definitions.json +238 -260
  11. package/dist/src/quality.js +15 -3
  12. package/dist/src/quality.js.map +1 -1
  13. package/dist/src/serdes/binary-parser.js +8 -2
  14. package/dist/src/serdes/binary-parser.js.map +1 -1
  15. package/dist/src/serdes/binary-serializer.d.ts +1 -1
  16. package/dist/src/serdes/binary-serializer.js +2 -2
  17. package/dist/src/serdes/binary-serializer.js.map +1 -1
  18. package/dist/src/types/account-id.d.ts +2 -0
  19. package/dist/src/types/account-id.js +4 -0
  20. package/dist/src/types/account-id.js.map +1 -1
  21. package/dist/src/types/amount.d.ts +2 -1
  22. package/dist/src/types/amount.js +25 -4
  23. package/dist/src/types/amount.js.map +1 -1
  24. package/dist/src/types/blob.d.ts +2 -1
  25. package/dist/src/types/blob.js +3 -0
  26. package/dist/src/types/blob.js.map +1 -1
  27. package/dist/src/types/currency.d.ts +2 -0
  28. package/dist/src/types/currency.js +4 -0
  29. package/dist/src/types/currency.js.map +1 -1
  30. package/dist/src/types/data.d.ts +86 -0
  31. package/dist/src/types/data.js +252 -0
  32. package/dist/src/types/data.js.map +1 -0
  33. package/dist/src/types/dataType.d.ts +94 -0
  34. package/dist/src/types/dataType.js +145 -0
  35. package/dist/src/types/dataType.js.map +1 -0
  36. package/dist/src/types/hash-128.d.ts +2 -0
  37. package/dist/src/types/hash-128.js +4 -0
  38. package/dist/src/types/hash-128.js.map +1 -1
  39. package/dist/src/types/hash-160.d.ts +2 -0
  40. package/dist/src/types/hash-160.js +4 -0
  41. package/dist/src/types/hash-160.js.map +1 -1
  42. package/dist/src/types/hash-192.d.ts +2 -0
  43. package/dist/src/types/hash-192.js +4 -0
  44. package/dist/src/types/hash-192.js.map +1 -1
  45. package/dist/src/types/hash-256.d.ts +2 -0
  46. package/dist/src/types/hash-256.js +4 -0
  47. package/dist/src/types/hash-256.js.map +1 -1
  48. package/dist/src/types/index.d.ts +3 -1
  49. package/dist/src/types/index.js +7 -1
  50. package/dist/src/types/index.js.map +1 -1
  51. package/dist/src/types/issue.d.ts +2 -1
  52. package/dist/src/types/issue.js +3 -0
  53. package/dist/src/types/issue.js.map +1 -1
  54. package/dist/src/types/json.d.ts +173 -0
  55. package/dist/src/types/json.js +531 -0
  56. package/dist/src/types/json.js.map +1 -0
  57. package/dist/src/types/path-set.d.ts +2 -1
  58. package/dist/src/types/path-set.js +3 -0
  59. package/dist/src/types/path-set.js.map +1 -1
  60. package/dist/src/types/serialized-type.d.ts +43 -0
  61. package/dist/src/types/serialized-type.js +63 -1
  62. package/dist/src/types/serialized-type.js.map +1 -1
  63. package/dist/src/types/st-array.d.ts +2 -1
  64. package/dist/src/types/st-array.js +3 -0
  65. package/dist/src/types/st-array.js.map +1 -1
  66. package/dist/src/types/st-number.d.ts +2 -1
  67. package/dist/src/types/st-number.js +3 -0
  68. package/dist/src/types/st-number.js.map +1 -1
  69. package/dist/src/types/st-object.d.ts +2 -1
  70. package/dist/src/types/st-object.js +9 -1
  71. package/dist/src/types/st-object.js.map +1 -1
  72. package/dist/src/types/uint-16.d.ts +2 -0
  73. package/dist/src/types/uint-16.js +4 -0
  74. package/dist/src/types/uint-16.js.map +1 -1
  75. package/dist/src/types/uint-32.d.ts +2 -0
  76. package/dist/src/types/uint-32.js +4 -0
  77. package/dist/src/types/uint-32.js.map +1 -1
  78. package/dist/src/types/uint-64.d.ts +2 -0
  79. package/dist/src/types/uint-64.js +4 -0
  80. package/dist/src/types/uint-64.js.map +1 -1
  81. package/dist/src/types/uint-8.d.ts +2 -0
  82. package/dist/src/types/uint-8.js +4 -0
  83. package/dist/src/types/uint-8.js.map +1 -1
  84. package/dist/src/types/vector-256.d.ts +2 -1
  85. package/dist/src/types/vector-256.js +3 -0
  86. package/dist/src/types/vector-256.js.map +1 -1
  87. package/dist/src/types/xchain-bridge.d.ts +2 -1
  88. package/dist/src/types/xchain-bridge.js +3 -0
  89. package/dist/src/types/xchain-bridge.js.map +1 -1
  90. package/dist/src/utils.js +1 -1
  91. package/dist/src/utils.js.map +1 -1
  92. package/dist/tsconfig.tsbuildinfo +1 -1
  93. package/dist/types/account-id.d.ts +2 -0
  94. package/dist/types/account-id.js +4 -0
  95. package/dist/types/account-id.js.map +1 -1
  96. package/dist/types/amount.d.ts +2 -1
  97. package/dist/types/amount.js +25 -4
  98. package/dist/types/amount.js.map +1 -1
  99. package/dist/types/blob.d.ts +2 -1
  100. package/dist/types/blob.js +3 -0
  101. package/dist/types/blob.js.map +1 -1
  102. package/dist/types/currency.d.ts +2 -0
  103. package/dist/types/currency.js +4 -0
  104. package/dist/types/currency.js.map +1 -1
  105. package/dist/types/data.d.ts +86 -0
  106. package/dist/types/data.js +252 -0
  107. package/dist/types/data.js.map +1 -0
  108. package/dist/types/dataType.d.ts +94 -0
  109. package/dist/types/dataType.js +145 -0
  110. package/dist/types/dataType.js.map +1 -0
  111. package/dist/types/hash-128.d.ts +2 -0
  112. package/dist/types/hash-128.js +4 -0
  113. package/dist/types/hash-128.js.map +1 -1
  114. package/dist/types/hash-160.d.ts +2 -0
  115. package/dist/types/hash-160.js +4 -0
  116. package/dist/types/hash-160.js.map +1 -1
  117. package/dist/types/hash-192.d.ts +2 -0
  118. package/dist/types/hash-192.js +4 -0
  119. package/dist/types/hash-192.js.map +1 -1
  120. package/dist/types/hash-256.d.ts +2 -0
  121. package/dist/types/hash-256.js +4 -0
  122. package/dist/types/hash-256.js.map +1 -1
  123. package/dist/types/index.d.ts +3 -1
  124. package/dist/types/index.js +7 -1
  125. package/dist/types/index.js.map +1 -1
  126. package/dist/types/issue.d.ts +2 -1
  127. package/dist/types/issue.js +3 -0
  128. package/dist/types/issue.js.map +1 -1
  129. package/dist/types/json.d.ts +173 -0
  130. package/dist/types/json.js +531 -0
  131. package/dist/types/json.js.map +1 -0
  132. package/dist/types/path-set.d.ts +2 -1
  133. package/dist/types/path-set.js +3 -0
  134. package/dist/types/path-set.js.map +1 -1
  135. package/dist/types/serialized-type.d.ts +43 -0
  136. package/dist/types/serialized-type.js +63 -1
  137. package/dist/types/serialized-type.js.map +1 -1
  138. package/dist/types/st-array.d.ts +2 -1
  139. package/dist/types/st-array.js +3 -0
  140. package/dist/types/st-array.js.map +1 -1
  141. package/dist/types/st-number.d.ts +2 -1
  142. package/dist/types/st-number.js +3 -0
  143. package/dist/types/st-number.js.map +1 -1
  144. package/dist/types/st-object.d.ts +2 -1
  145. package/dist/types/st-object.js +9 -1
  146. package/dist/types/st-object.js.map +1 -1
  147. package/dist/types/uint-16.d.ts +2 -0
  148. package/dist/types/uint-16.js +4 -0
  149. package/dist/types/uint-16.js.map +1 -1
  150. package/dist/types/uint-32.d.ts +2 -0
  151. package/dist/types/uint-32.js +4 -0
  152. package/dist/types/uint-32.js.map +1 -1
  153. package/dist/types/uint-64.d.ts +2 -0
  154. package/dist/types/uint-64.js +4 -0
  155. package/dist/types/uint-64.js.map +1 -1
  156. package/dist/types/uint-8.d.ts +2 -0
  157. package/dist/types/uint-8.js +4 -0
  158. package/dist/types/uint-8.js.map +1 -1
  159. package/dist/types/vector-256.d.ts +2 -1
  160. package/dist/types/vector-256.js +3 -0
  161. package/dist/types/vector-256.js.map +1 -1
  162. package/dist/types/xchain-bridge.d.ts +2 -1
  163. package/dist/types/xchain-bridge.js +3 -0
  164. package/dist/types/xchain-bridge.js.map +1 -1
  165. package/dist/utils.js +1 -1
  166. package/dist/utils.js.map +1 -1
  167. package/package.json +2 -2
  168. package/src/enums/definitions.json +238 -260
  169. package/src/quality.ts +13 -3
  170. package/src/serdes/binary-parser.ts +12 -2
  171. package/src/serdes/binary-serializer.ts +2 -2
  172. package/src/types/account-id.ts +5 -0
  173. package/src/types/amount.ts +25 -6
  174. package/src/types/blob.ts +5 -1
  175. package/src/types/currency.ts +5 -0
  176. package/src/types/data.ts +294 -0
  177. package/src/types/dataType.ts +178 -0
  178. package/src/types/hash-128.ts +5 -0
  179. package/src/types/hash-160.ts +5 -0
  180. package/src/types/hash-192.ts +5 -0
  181. package/src/types/hash-256.ts +5 -0
  182. package/src/types/index.ts +6 -0
  183. package/src/types/issue.ts +5 -1
  184. package/src/types/json.ts +650 -0
  185. package/src/types/path-set.ts +5 -1
  186. package/src/types/serialized-type.ts +67 -0
  187. package/src/types/st-array.ts +5 -1
  188. package/src/types/st-number.ts +5 -1
  189. package/src/types/st-object.ts +12 -2
  190. package/src/types/uint-16.ts +5 -0
  191. package/src/types/uint-32.ts +5 -0
  192. package/src/types/uint-64.ts +6 -1
  193. package/src/types/uint-8.ts +5 -0
  194. package/src/types/vector-256.ts +5 -1
  195. package/src/types/xchain-bridge.ts +5 -1
  196. package/src/utils.ts +1 -1
@@ -130,46 +130,6 @@
130
130
  "type": "UInt16"
131
131
  }
132
132
  ],
133
- [
134
- "HookStateChangeCount",
135
- {
136
- "isSerialized": true,
137
- "isSigningField": true,
138
- "isVLEncoded": false,
139
- "nth": 17,
140
- "type": "UInt16"
141
- }
142
- ],
143
- [
144
- "HookEmitCount",
145
- {
146
- "isSerialized": true,
147
- "isSigningField": true,
148
- "isVLEncoded": false,
149
- "nth": 18,
150
- "type": "UInt16"
151
- }
152
- ],
153
- [
154
- "HookExecutionIndex",
155
- {
156
- "isSerialized": true,
157
- "isSigningField": true,
158
- "isVLEncoded": false,
159
- "nth": 19,
160
- "type": "UInt16"
161
- }
162
- ],
163
- [
164
- "HookApiVersion",
165
- {
166
- "isSerialized": true,
167
- "isSigningField": true,
168
- "isVLEncoded": false,
169
- "nth": 20,
170
- "type": "UInt16"
171
- }
172
- ],
173
133
  [
174
134
  "LedgerFixType",
175
135
  {
@@ -630,26 +590,6 @@
630
590
  "type": "UInt32"
631
591
  }
632
592
  ],
633
- [
634
- "HookStateCount",
635
- {
636
- "isSerialized": true,
637
- "isSigningField": true,
638
- "isVLEncoded": false,
639
- "nth": 45,
640
- "type": "UInt32"
641
- }
642
- ],
643
- [
644
- "EmitGeneration",
645
- {
646
- "isSerialized": true,
647
- "isSigningField": true,
648
- "isVLEncoded": false,
649
- "nth": 46,
650
- "type": "UInt32"
651
- }
652
- ],
653
593
  [
654
594
  "VoteWeight",
655
595
  {
@@ -850,6 +790,66 @@
850
790
  "type": "UInt32"
851
791
  }
852
792
  ],
793
+ [
794
+ "ExtensionComputeLimit",
795
+ {
796
+ "isSerialized": true,
797
+ "isSigningField": true,
798
+ "isVLEncoded": false,
799
+ "nth": 69,
800
+ "type": "UInt32"
801
+ }
802
+ ],
803
+ [
804
+ "ExtensionSizeLimit",
805
+ {
806
+ "isSerialized": true,
807
+ "isSigningField": true,
808
+ "isVLEncoded": false,
809
+ "nth": 70,
810
+ "type": "UInt32"
811
+ }
812
+ ],
813
+ [
814
+ "GasPrice",
815
+ {
816
+ "isSerialized": true,
817
+ "isSigningField": true,
818
+ "isVLEncoded": false,
819
+ "nth": 71,
820
+ "type": "UInt32"
821
+ }
822
+ ],
823
+ [
824
+ "ComputationAllowance",
825
+ {
826
+ "isSerialized": true,
827
+ "isSigningField": true,
828
+ "isVLEncoded": false,
829
+ "nth": 72,
830
+ "type": "UInt32"
831
+ }
832
+ ],
833
+ [
834
+ "GasUsed",
835
+ {
836
+ "isSerialized": true,
837
+ "isSigningField": true,
838
+ "isVLEncoded": false,
839
+ "nth": 73,
840
+ "type": "UInt32"
841
+ }
842
+ ],
843
+ [
844
+ "ParameterFlag",
845
+ {
846
+ "isSerialized": true,
847
+ "isSigningField": true,
848
+ "isVLEncoded": false,
849
+ "nth": 74,
850
+ "type": "UInt32"
851
+ }
852
+ ],
853
853
  [
854
854
  "IndexNext",
855
855
  {
@@ -980,36 +980,6 @@
980
980
  "type": "UInt64"
981
981
  }
982
982
  ],
983
- [
984
- "HookOn",
985
- {
986
- "isSerialized": true,
987
- "isSigningField": true,
988
- "isVLEncoded": false,
989
- "nth": 16,
990
- "type": "UInt64"
991
- }
992
- ],
993
- [
994
- "HookInstructionCount",
995
- {
996
- "isSerialized": true,
997
- "isSigningField": true,
998
- "isVLEncoded": false,
999
- "nth": 17,
1000
- "type": "UInt64"
1001
- }
1002
- ],
1003
- [
1004
- "HookReturnCode",
1005
- {
1006
- "isSerialized": true,
1007
- "isSigningField": true,
1008
- "isVLEncoded": false,
1009
- "nth": 18,
1010
- "type": "UInt64"
1011
- }
1012
- ],
1013
983
  [
1014
984
  "ReferenceCount",
1015
985
  {
@@ -1421,92 +1391,72 @@
1421
1391
  }
1422
1392
  ],
1423
1393
  [
1424
- "HookStateKey",
1425
- {
1426
- "isSerialized": true,
1427
- "isSigningField": true,
1428
- "isVLEncoded": false,
1429
- "nth": 30,
1430
- "type": "Hash256"
1431
- }
1432
- ],
1433
- [
1434
- "HookHash",
1435
- {
1436
- "isSerialized": true,
1437
- "isSigningField": true,
1438
- "isVLEncoded": false,
1439
- "nth": 31,
1440
- "type": "Hash256"
1441
- }
1442
- ],
1443
- [
1444
- "HookNamespace",
1394
+ "DomainID",
1445
1395
  {
1446
1396
  "isSerialized": true,
1447
1397
  "isSigningField": true,
1448
1398
  "isVLEncoded": false,
1449
- "nth": 32,
1399
+ "nth": 34,
1450
1400
  "type": "Hash256"
1451
1401
  }
1452
1402
  ],
1453
1403
  [
1454
- "HookSetTxnID",
1404
+ "VaultID",
1455
1405
  {
1456
1406
  "isSerialized": true,
1457
1407
  "isSigningField": true,
1458
1408
  "isVLEncoded": false,
1459
- "nth": 33,
1409
+ "nth": 35,
1460
1410
  "type": "Hash256"
1461
1411
  }
1462
1412
  ],
1463
1413
  [
1464
- "DomainID",
1414
+ "ParentBatchID",
1465
1415
  {
1466
1416
  "isSerialized": true,
1467
1417
  "isSigningField": true,
1468
1418
  "isVLEncoded": false,
1469
- "nth": 34,
1419
+ "nth": 36,
1470
1420
  "type": "Hash256"
1471
1421
  }
1472
1422
  ],
1473
1423
  [
1474
- "VaultID",
1424
+ "LoanBrokerID",
1475
1425
  {
1476
1426
  "isSerialized": true,
1477
1427
  "isSigningField": true,
1478
1428
  "isVLEncoded": false,
1479
- "nth": 35,
1429
+ "nth": 37,
1480
1430
  "type": "Hash256"
1481
1431
  }
1482
1432
  ],
1483
1433
  [
1484
- "ParentBatchID",
1434
+ "LoanID",
1485
1435
  {
1486
1436
  "isSerialized": true,
1487
1437
  "isSigningField": true,
1488
1438
  "isVLEncoded": false,
1489
- "nth": 36,
1439
+ "nth": 38,
1490
1440
  "type": "Hash256"
1491
1441
  }
1492
1442
  ],
1493
1443
  [
1494
- "LoanBrokerID",
1444
+ "ContractHash",
1495
1445
  {
1496
1446
  "isSerialized": true,
1497
1447
  "isSigningField": true,
1498
1448
  "isVLEncoded": false,
1499
- "nth": 37,
1449
+ "nth": 39,
1500
1450
  "type": "Hash256"
1501
1451
  }
1502
1452
  ],
1503
1453
  [
1504
- "LoanID",
1454
+ "ContractID",
1505
1455
  {
1506
1456
  "isSerialized": true,
1507
1457
  "isSigningField": true,
1508
1458
  "isVLEncoded": false,
1509
- "nth": 38,
1459
+ "nth": 40,
1510
1460
  "type": "Hash256"
1511
1461
  }
1512
1462
  ],
@@ -2001,102 +1951,92 @@
2001
1951
  }
2002
1952
  ],
2003
1953
  [
2004
- "HookStateData",
2005
- {
2006
- "isSerialized": true,
2007
- "isSigningField": true,
2008
- "isVLEncoded": true,
2009
- "nth": 22,
2010
- "type": "Blob"
2011
- }
2012
- ],
2013
- [
2014
- "HookReturnString",
1954
+ "DIDDocument",
2015
1955
  {
2016
1956
  "isSerialized": true,
2017
1957
  "isSigningField": true,
2018
1958
  "isVLEncoded": true,
2019
- "nth": 23,
1959
+ "nth": 26,
2020
1960
  "type": "Blob"
2021
1961
  }
2022
1962
  ],
2023
1963
  [
2024
- "HookParameterName",
1964
+ "Data",
2025
1965
  {
2026
1966
  "isSerialized": true,
2027
1967
  "isSigningField": true,
2028
1968
  "isVLEncoded": true,
2029
- "nth": 24,
1969
+ "nth": 27,
2030
1970
  "type": "Blob"
2031
1971
  }
2032
1972
  ],
2033
1973
  [
2034
- "HookParameterValue",
1974
+ "AssetClass",
2035
1975
  {
2036
1976
  "isSerialized": true,
2037
1977
  "isSigningField": true,
2038
1978
  "isVLEncoded": true,
2039
- "nth": 25,
1979
+ "nth": 28,
2040
1980
  "type": "Blob"
2041
1981
  }
2042
1982
  ],
2043
1983
  [
2044
- "DIDDocument",
1984
+ "Provider",
2045
1985
  {
2046
1986
  "isSerialized": true,
2047
1987
  "isSigningField": true,
2048
1988
  "isVLEncoded": true,
2049
- "nth": 26,
1989
+ "nth": 29,
2050
1990
  "type": "Blob"
2051
1991
  }
2052
1992
  ],
2053
1993
  [
2054
- "Data",
1994
+ "MPTokenMetadata",
2055
1995
  {
2056
1996
  "isSerialized": true,
2057
1997
  "isSigningField": true,
2058
1998
  "isVLEncoded": true,
2059
- "nth": 27,
1999
+ "nth": 30,
2060
2000
  "type": "Blob"
2061
2001
  }
2062
2002
  ],
2063
2003
  [
2064
- "AssetClass",
2004
+ "CredentialType",
2065
2005
  {
2066
2006
  "isSerialized": true,
2067
2007
  "isSigningField": true,
2068
2008
  "isVLEncoded": true,
2069
- "nth": 28,
2009
+ "nth": 31,
2070
2010
  "type": "Blob"
2071
2011
  }
2072
2012
  ],
2073
2013
  [
2074
- "Provider",
2014
+ "FinishFunction",
2075
2015
  {
2076
2016
  "isSerialized": true,
2077
2017
  "isSigningField": true,
2078
2018
  "isVLEncoded": true,
2079
- "nth": 29,
2019
+ "nth": 32,
2080
2020
  "type": "Blob"
2081
2021
  }
2082
2022
  ],
2083
2023
  [
2084
- "MPTokenMetadata",
2024
+ "ContractCode",
2085
2025
  {
2086
2026
  "isSerialized": true,
2087
2027
  "isSigningField": true,
2088
2028
  "isVLEncoded": true,
2089
- "nth": 30,
2029
+ "nth": 33,
2090
2030
  "type": "Blob"
2091
2031
  }
2092
2032
  ],
2093
2033
  [
2094
- "CredentialType",
2034
+ "FunctionName",
2095
2035
  {
2096
2036
  "isSerialized": true,
2097
2037
  "isSigningField": true,
2098
2038
  "isVLEncoded": true,
2099
- "nth": 31,
2039
+ "nth": 34,
2100
2040
  "type": "Blob"
2101
2041
  }
2102
2042
  ],
@@ -2210,16 +2150,6 @@
2210
2150
  "type": "AccountID"
2211
2151
  }
2212
2152
  ],
2213
- [
2214
- "HookAccount",
2215
- {
2216
- "isSerialized": true,
2217
- "isSigningField": true,
2218
- "isVLEncoded": true,
2219
- "nth": 16,
2220
- "type": "AccountID"
2221
- }
2222
- ],
2223
2153
  [
2224
2154
  "OtherChainSource",
2225
2155
  {
@@ -2310,6 +2240,16 @@
2310
2240
  "type": "AccountID"
2311
2241
  }
2312
2242
  ],
2243
+ [
2244
+ "ContractAccount",
2245
+ {
2246
+ "isSerialized": true,
2247
+ "isSigningField": true,
2248
+ "isVLEncoded": true,
2249
+ "nth": 27,
2250
+ "type": "AccountID"
2251
+ }
2252
+ ],
2313
2253
  [
2314
2254
  "Number",
2315
2255
  {
@@ -2490,6 +2430,16 @@
2490
2430
  "type": "Int32"
2491
2431
  }
2492
2432
  ],
2433
+ [
2434
+ "WasmReturnCode",
2435
+ {
2436
+ "isSerialized": true,
2437
+ "isSigningField": true,
2438
+ "isVLEncoded": false,
2439
+ "nth": 2,
2440
+ "type": "Int32"
2441
+ }
2442
+ ],
2493
2443
  [
2494
2444
  "TransactionMetaData",
2495
2445
  {
@@ -2610,16 +2560,6 @@
2610
2560
  "type": "STObject"
2611
2561
  }
2612
2562
  ],
2613
- [
2614
- "Hook",
2615
- {
2616
- "isSerialized": true,
2617
- "isSigningField": true,
2618
- "isVLEncoded": false,
2619
- "nth": 14,
2620
- "type": "STObject"
2621
- }
2622
- ],
2623
2563
  [
2624
2564
  "Permission",
2625
2565
  {
@@ -2661,182 +2601,172 @@
2661
2601
  }
2662
2602
  ],
2663
2603
  [
2664
- "EmittedTxn",
2604
+ "VoteEntry",
2665
2605
  {
2666
2606
  "isSerialized": true,
2667
2607
  "isSigningField": true,
2668
2608
  "isVLEncoded": false,
2669
- "nth": 20,
2609
+ "nth": 25,
2670
2610
  "type": "STObject"
2671
2611
  }
2672
2612
  ],
2673
2613
  [
2674
- "HookExecution",
2614
+ "AuctionSlot",
2675
2615
  {
2676
2616
  "isSerialized": true,
2677
2617
  "isSigningField": true,
2678
2618
  "isVLEncoded": false,
2679
- "nth": 21,
2619
+ "nth": 26,
2680
2620
  "type": "STObject"
2681
2621
  }
2682
2622
  ],
2683
2623
  [
2684
- "HookDefinition",
2624
+ "AuthAccount",
2685
2625
  {
2686
2626
  "isSerialized": true,
2687
2627
  "isSigningField": true,
2688
2628
  "isVLEncoded": false,
2689
- "nth": 22,
2629
+ "nth": 27,
2690
2630
  "type": "STObject"
2691
2631
  }
2692
2632
  ],
2693
2633
  [
2694
- "HookParameter",
2634
+ "XChainClaimProofSig",
2695
2635
  {
2696
2636
  "isSerialized": true,
2697
2637
  "isSigningField": true,
2698
2638
  "isVLEncoded": false,
2699
- "nth": 23,
2639
+ "nth": 28,
2700
2640
  "type": "STObject"
2701
2641
  }
2702
2642
  ],
2703
2643
  [
2704
- "HookGrant",
2644
+ "XChainCreateAccountProofSig",
2705
2645
  {
2706
2646
  "isSerialized": true,
2707
2647
  "isSigningField": true,
2708
2648
  "isVLEncoded": false,
2709
- "nth": 24,
2649
+ "nth": 29,
2710
2650
  "type": "STObject"
2711
2651
  }
2712
2652
  ],
2713
2653
  [
2714
- "VoteEntry",
2654
+ "XChainClaimAttestationCollectionElement",
2715
2655
  {
2716
2656
  "isSerialized": true,
2717
2657
  "isSigningField": true,
2718
2658
  "isVLEncoded": false,
2719
- "nth": 25,
2659
+ "nth": 30,
2720
2660
  "type": "STObject"
2721
2661
  }
2722
2662
  ],
2723
2663
  [
2724
- "AuctionSlot",
2664
+ "XChainCreateAccountAttestationCollectionElement",
2725
2665
  {
2726
2666
  "isSerialized": true,
2727
2667
  "isSigningField": true,
2728
2668
  "isVLEncoded": false,
2729
- "nth": 26,
2669
+ "nth": 31,
2730
2670
  "type": "STObject"
2731
2671
  }
2732
2672
  ],
2733
2673
  [
2734
- "AuthAccount",
2674
+ "PriceData",
2735
2675
  {
2736
2676
  "isSerialized": true,
2737
2677
  "isSigningField": true,
2738
2678
  "isVLEncoded": false,
2739
- "nth": 27,
2679
+ "nth": 32,
2740
2680
  "type": "STObject"
2741
2681
  }
2742
2682
  ],
2743
2683
  [
2744
- "XChainClaimProofSig",
2684
+ "Credential",
2745
2685
  {
2746
2686
  "isSerialized": true,
2747
2687
  "isSigningField": true,
2748
2688
  "isVLEncoded": false,
2749
- "nth": 28,
2689
+ "nth": 33,
2750
2690
  "type": "STObject"
2751
2691
  }
2752
2692
  ],
2753
2693
  [
2754
- "XChainCreateAccountProofSig",
2694
+ "RawTransaction",
2755
2695
  {
2756
2696
  "isSerialized": true,
2757
2697
  "isSigningField": true,
2758
2698
  "isVLEncoded": false,
2759
- "nth": 29,
2699
+ "nth": 34,
2760
2700
  "type": "STObject"
2761
2701
  }
2762
2702
  ],
2763
2703
  [
2764
- "XChainClaimAttestationCollectionElement",
2704
+ "BatchSigner",
2765
2705
  {
2766
2706
  "isSerialized": true,
2767
2707
  "isSigningField": true,
2768
2708
  "isVLEncoded": false,
2769
- "nth": 30,
2709
+ "nth": 35,
2770
2710
  "type": "STObject"
2771
2711
  }
2772
2712
  ],
2773
2713
  [
2774
- "XChainCreateAccountAttestationCollectionElement",
2714
+ "Book",
2775
2715
  {
2776
2716
  "isSerialized": true,
2777
2717
  "isSigningField": true,
2778
2718
  "isVLEncoded": false,
2779
- "nth": 31,
2719
+ "nth": 36,
2780
2720
  "type": "STObject"
2781
2721
  }
2782
2722
  ],
2783
2723
  [
2784
- "PriceData",
2724
+ "CounterpartySignature",
2785
2725
  {
2786
2726
  "isSerialized": true,
2787
- "isSigningField": true,
2727
+ "isSigningField": false,
2788
2728
  "isVLEncoded": false,
2789
- "nth": 32,
2729
+ "nth": 37,
2790
2730
  "type": "STObject"
2791
2731
  }
2792
2732
  ],
2793
2733
  [
2794
- "Credential",
2734
+ "Function",
2795
2735
  {
2796
2736
  "isSerialized": true,
2797
2737
  "isSigningField": true,
2798
2738
  "isVLEncoded": false,
2799
- "nth": 33,
2739
+ "nth": 38,
2800
2740
  "type": "STObject"
2801
2741
  }
2802
2742
  ],
2803
2743
  [
2804
- "RawTransaction",
2744
+ "InstanceParameter",
2805
2745
  {
2806
2746
  "isSerialized": true,
2807
2747
  "isSigningField": true,
2808
2748
  "isVLEncoded": false,
2809
- "nth": 34,
2749
+ "nth": 39,
2810
2750
  "type": "STObject"
2811
2751
  }
2812
2752
  ],
2813
2753
  [
2814
- "BatchSigner",
2754
+ "InstanceParameterValue",
2815
2755
  {
2816
2756
  "isSerialized": true,
2817
2757
  "isSigningField": true,
2818
2758
  "isVLEncoded": false,
2819
- "nth": 35,
2759
+ "nth": 40,
2820
2760
  "type": "STObject"
2821
2761
  }
2822
2762
  ],
2823
2763
  [
2824
- "Book",
2764
+ "Parameter",
2825
2765
  {
2826
2766
  "isSerialized": true,
2827
2767
  "isSigningField": true,
2828
2768
  "isVLEncoded": false,
2829
- "nth": 36,
2830
- "type": "STObject"
2831
- }
2832
- ],
2833
- [
2834
- "CounterpartySignature",
2835
- {
2836
- "isSerialized": true,
2837
- "isSigningField": false,
2838
- "isVLEncoded": false,
2839
- "nth": 37,
2769
+ "nth": 41,
2840
2770
  "type": "STObject"
2841
2771
  }
2842
2772
  ],
@@ -2920,16 +2850,6 @@
2920
2850
  "type": "STArray"
2921
2851
  }
2922
2852
  ],
2923
- [
2924
- "Hooks",
2925
- {
2926
- "isSerialized": true,
2927
- "isSigningField": true,
2928
- "isVLEncoded": false,
2929
- "nth": 11,
2930
- "type": "STArray"
2931
- }
2932
- ],
2933
2853
  [
2934
2854
  "VoteSlots",
2935
2855
  {
@@ -2971,132 +2891,142 @@
2971
2891
  }
2972
2892
  ],
2973
2893
  [
2974
- "HookExecutions",
2894
+ "XChainClaimAttestations",
2975
2895
  {
2976
2896
  "isSerialized": true,
2977
2897
  "isSigningField": true,
2978
2898
  "isVLEncoded": false,
2979
- "nth": 18,
2899
+ "nth": 21,
2980
2900
  "type": "STArray"
2981
2901
  }
2982
2902
  ],
2983
2903
  [
2984
- "HookParameters",
2904
+ "XChainCreateAccountAttestations",
2985
2905
  {
2986
2906
  "isSerialized": true,
2987
2907
  "isSigningField": true,
2988
2908
  "isVLEncoded": false,
2989
- "nth": 19,
2909
+ "nth": 22,
2990
2910
  "type": "STArray"
2991
2911
  }
2992
2912
  ],
2993
2913
  [
2994
- "HookGrants",
2914
+ "PriceDataSeries",
2995
2915
  {
2996
2916
  "isSerialized": true,
2997
2917
  "isSigningField": true,
2998
2918
  "isVLEncoded": false,
2999
- "nth": 20,
2919
+ "nth": 24,
3000
2920
  "type": "STArray"
3001
2921
  }
3002
2922
  ],
3003
2923
  [
3004
- "XChainClaimAttestations",
2924
+ "AuthAccounts",
3005
2925
  {
3006
2926
  "isSerialized": true,
3007
2927
  "isSigningField": true,
3008
2928
  "isVLEncoded": false,
3009
- "nth": 21,
2929
+ "nth": 25,
3010
2930
  "type": "STArray"
3011
2931
  }
3012
2932
  ],
3013
2933
  [
3014
- "XChainCreateAccountAttestations",
2934
+ "AuthorizeCredentials",
3015
2935
  {
3016
2936
  "isSerialized": true,
3017
2937
  "isSigningField": true,
3018
2938
  "isVLEncoded": false,
3019
- "nth": 22,
2939
+ "nth": 26,
3020
2940
  "type": "STArray"
3021
2941
  }
3022
2942
  ],
3023
2943
  [
3024
- "PriceDataSeries",
2944
+ "UnauthorizeCredentials",
3025
2945
  {
3026
2946
  "isSerialized": true,
3027
2947
  "isSigningField": true,
3028
2948
  "isVLEncoded": false,
3029
- "nth": 24,
2949
+ "nth": 27,
3030
2950
  "type": "STArray"
3031
2951
  }
3032
2952
  ],
3033
2953
  [
3034
- "AuthAccounts",
2954
+ "AcceptedCredentials",
3035
2955
  {
3036
2956
  "isSerialized": true,
3037
2957
  "isSigningField": true,
3038
2958
  "isVLEncoded": false,
3039
- "nth": 25,
2959
+ "nth": 28,
3040
2960
  "type": "STArray"
3041
2961
  }
3042
2962
  ],
3043
2963
  [
3044
- "AuthorizeCredentials",
2964
+ "Permissions",
3045
2965
  {
3046
2966
  "isSerialized": true,
3047
2967
  "isSigningField": true,
3048
2968
  "isVLEncoded": false,
3049
- "nth": 26,
2969
+ "nth": 29,
3050
2970
  "type": "STArray"
3051
2971
  }
3052
2972
  ],
3053
2973
  [
3054
- "UnauthorizeCredentials",
2974
+ "RawTransactions",
3055
2975
  {
3056
2976
  "isSerialized": true,
3057
2977
  "isSigningField": true,
3058
2978
  "isVLEncoded": false,
3059
- "nth": 27,
2979
+ "nth": 30,
3060
2980
  "type": "STArray"
3061
2981
  }
3062
2982
  ],
3063
2983
  [
3064
- "AcceptedCredentials",
2984
+ "BatchSigners",
2985
+ {
2986
+ "isSerialized": true,
2987
+ "isSigningField": false,
2988
+ "isVLEncoded": false,
2989
+ "nth": 31,
2990
+ "type": "STArray"
2991
+ }
2992
+ ],
2993
+ [
2994
+ "Functions",
3065
2995
  {
3066
2996
  "isSerialized": true,
3067
2997
  "isSigningField": true,
3068
2998
  "isVLEncoded": false,
3069
- "nth": 28,
2999
+ "nth": 32,
3070
3000
  "type": "STArray"
3071
3001
  }
3072
3002
  ],
3073
3003
  [
3074
- "Permissions",
3004
+ "InstanceParameters",
3075
3005
  {
3076
3006
  "isSerialized": true,
3077
3007
  "isSigningField": true,
3078
3008
  "isVLEncoded": false,
3079
- "nth": 29,
3009
+ "nth": 33,
3080
3010
  "type": "STArray"
3081
3011
  }
3082
3012
  ],
3083
3013
  [
3084
- "RawTransactions",
3014
+ "InstanceParameterValues",
3085
3015
  {
3086
3016
  "isSerialized": true,
3087
3017
  "isSigningField": true,
3088
3018
  "isVLEncoded": false,
3089
- "nth": 30,
3019
+ "nth": 34,
3090
3020
  "type": "STArray"
3091
3021
  }
3092
3022
  ],
3093
3023
  [
3094
- "BatchSigners",
3024
+ "Parameters",
3095
3025
  {
3096
3026
  "isSerialized": true,
3097
- "isSigningField": false,
3027
+ "isSigningField": true,
3098
3028
  "isVLEncoded": false,
3099
- "nth": 31,
3029
+ "nth": 35,
3100
3030
  "type": "STArray"
3101
3031
  }
3102
3032
  ],
@@ -3171,32 +3101,32 @@
3171
3101
  }
3172
3102
  ],
3173
3103
  [
3174
- "HookResult",
3104
+ "WasLockingChainSend",
3175
3105
  {
3176
3106
  "isSerialized": true,
3177
3107
  "isSigningField": true,
3178
3108
  "isVLEncoded": false,
3179
- "nth": 18,
3109
+ "nth": 19,
3180
3110
  "type": "UInt8"
3181
3111
  }
3182
3112
  ],
3183
3113
  [
3184
- "WasLockingChainSend",
3114
+ "WithdrawalPolicy",
3185
3115
  {
3186
3116
  "isSerialized": true,
3187
3117
  "isSigningField": true,
3188
3118
  "isVLEncoded": false,
3189
- "nth": 19,
3119
+ "nth": 20,
3190
3120
  "type": "UInt8"
3191
3121
  }
3192
3122
  ],
3193
3123
  [
3194
- "WithdrawalPolicy",
3124
+ "ContractResult",
3195
3125
  {
3196
3126
  "isSerialized": true,
3197
3127
  "isSigningField": true,
3198
3128
  "isVLEncoded": false,
3199
- "nth": 20,
3129
+ "nth": 21,
3200
3130
  "type": "UInt8"
3201
3131
  }
3202
3132
  ],
@@ -3390,6 +3320,36 @@
3390
3320
  "type": "Currency"
3391
3321
  }
3392
3322
  ],
3323
+ [
3324
+ "ParameterValue",
3325
+ {
3326
+ "isSerialized": true,
3327
+ "isSigningField": true,
3328
+ "isVLEncoded": false,
3329
+ "nth": 1,
3330
+ "type": "Data"
3331
+ }
3332
+ ],
3333
+ [
3334
+ "ParameterType",
3335
+ {
3336
+ "isSerialized": true,
3337
+ "isSigningField": true,
3338
+ "isVLEncoded": false,
3339
+ "nth": 1,
3340
+ "type": "DataType"
3341
+ }
3342
+ ],
3343
+ [
3344
+ "ContractJson",
3345
+ {
3346
+ "isSerialized": true,
3347
+ "isSigningField": true,
3348
+ "isVLEncoded": false,
3349
+ "nth": 1,
3350
+ "type": "Json"
3351
+ }
3352
+ ],
3393
3353
  [
3394
3354
  "Transaction",
3395
3355
  {
@@ -3437,6 +3397,9 @@
3437
3397
  "Amendments": 102,
3438
3398
  "Bridge": 105,
3439
3399
  "Check": 67,
3400
+ "Contract": 134,
3401
+ "ContractData": 135,
3402
+ "ContractSource": 133,
3440
3403
  "Credential": 129,
3441
3404
  "DID": 73,
3442
3405
  "Delegate": 131,
@@ -3494,6 +3457,7 @@
3494
3457
  "tecINSUF_RESERVE_LINE": 122,
3495
3458
  "tecINSUF_RESERVE_OFFER": 123,
3496
3459
  "tecINTERNAL": 144,
3460
+ "tecINVALID_PARAMETERS": 200,
3497
3461
  "tecINVALID_UPDATE_TIME": 188,
3498
3462
  "tecINVARIANT_FAILED": 147,
3499
3463
  "tecKILLED": 150,
@@ -3531,6 +3495,7 @@
3531
3495
  "tecUNFUNDED_AMM": 162,
3532
3496
  "tecUNFUNDED_OFFER": 103,
3533
3497
  "tecUNFUNDED_PAYMENT": 104,
3498
+ "tecWASM_REJECTED": 199,
3534
3499
  "tecWRONG_ASSET": 194,
3535
3500
  "tecXCHAIN_ACCOUNT_CREATE_PAST": 181,
3536
3501
  "tecXCHAIN_ACCOUNT_CREATE_TOO_MANY": 182,
@@ -3568,8 +3533,10 @@
3568
3533
  "tefNOT_MULTI_SIGNING": -184,
3569
3534
  "tefNO_AUTH_REQUIRED": -191,
3570
3535
  "tefNO_TICKET": -180,
3536
+ "tefNO_WASM": -177,
3571
3537
  "tefPAST_SEQ": -190,
3572
3538
  "tefTOO_BIG": -181,
3539
+ "tefWASM_FIELD_NOT_INCLUDED": -176,
3573
3540
  "tefWRONG_PRIOR": -189,
3574
3541
  "telBAD_DOMAIN": -398,
3575
3542
  "telBAD_PATH_COUNT": -397,
@@ -3615,6 +3582,7 @@
3615
3582
  "temBAD_TICK_SIZE": -269,
3616
3583
  "temBAD_TRANSFER_FEE": -251,
3617
3584
  "temBAD_TRANSFER_RATE": -280,
3585
+ "temBAD_WASM": -249,
3618
3586
  "temBAD_WEIGHT": -270,
3619
3587
  "temCANNOT_PREAUTH_SELF": -267,
3620
3588
  "temDISABLED": -273,
@@ -3630,6 +3598,7 @@
3630
3598
  "temREDUNDANT": -275,
3631
3599
  "temRIPPLE_EMPTY": -274,
3632
3600
  "temSEQ_AND_TICKET": -263,
3601
+ "temTEMP_DISABLED": -248,
3633
3602
  "temUNCERTAIN": -265,
3634
3603
  "temUNKNOWN": -264,
3635
3604
  "temXCHAIN_BAD_PROOF": -259,
@@ -3670,6 +3639,12 @@
3670
3639
  "CheckCash": 17,
3671
3640
  "CheckCreate": 16,
3672
3641
  "Clawback": 30,
3642
+ "ContractCall": 90,
3643
+ "ContractClawback": 88,
3644
+ "ContractCreate": 85,
3645
+ "ContractDelete": 87,
3646
+ "ContractModify": 86,
3647
+ "ContractUserDelete": 89,
3673
3648
  "CredentialAccept": 59,
3674
3649
  "CredentialCreate": 58,
3675
3650
  "CredentialDelete": 60,
@@ -3738,6 +3713,8 @@
3738
3713
  "Amount": 6,
3739
3714
  "Blob": 7,
3740
3715
  "Currency": 26,
3716
+ "Data": 27,
3717
+ "DataType": 28,
3741
3718
  "Done": -1,
3742
3719
  "Hash128": 4,
3743
3720
  "Hash160": 17,
@@ -3746,6 +3723,7 @@
3746
3723
  "Int32": 10,
3747
3724
  "Int64": 11,
3748
3725
  "Issue": 24,
3726
+ "Json": 29,
3749
3727
  "LedgerEntry": 10002,
3750
3728
  "Metadata": 10004,
3751
3729
  "NotPresent": 0,