ripple-binary-codec 1.4.0 → 1.5.0-beta.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 (36) hide show
  1. package/dist/enums/definitions.json +985 -284
  2. package/dist/types/bridge.d.ts +45 -0
  3. package/dist/types/bridge.js +104 -0
  4. package/dist/types/bridge.js.map +1 -0
  5. package/dist/types/currency.js +1 -1
  6. package/dist/types/currency.js.map +1 -1
  7. package/dist/types/hash-160.js +1 -3
  8. package/dist/types/hash-160.js.map +1 -1
  9. package/dist/types/index.d.ts +6 -0
  10. package/dist/types/index.js +6 -0
  11. package/dist/types/index.js.map +1 -1
  12. package/dist/types/issued-currency.d.ts +46 -0
  13. package/dist/types/issued-currency.js +108 -0
  14. package/dist/types/issued-currency.js.map +1 -0
  15. package/dist/types/sidechain.d.ts +45 -0
  16. package/dist/types/sidechain.js +104 -0
  17. package/dist/types/sidechain.js.map +1 -0
  18. package/dist/types/signature.d.ts +39 -0
  19. package/dist/types/signature.js +125 -0
  20. package/dist/types/signature.js.map +1 -0
  21. package/dist/types/st-object.js +3 -0
  22. package/dist/types/st-object.js.map +1 -1
  23. package/dist/types/xchain-attestation-batch.d.ts +44 -0
  24. package/dist/types/xchain-attestation-batch.js +107 -0
  25. package/dist/types/xchain-attestation-batch.js.map +1 -0
  26. package/dist/types/xchain-bridge.d.ts +45 -0
  27. package/dist/types/xchain-bridge.js +119 -0
  28. package/dist/types/xchain-bridge.js.map +1 -0
  29. package/dist/types/xchain-claim-proof.d.ts +55 -0
  30. package/dist/types/xchain-claim-proof.js +115 -0
  31. package/dist/types/xchain-claim-proof.js.map +1 -0
  32. package/package.json +5 -5
  33. package/test/fixtures/codec-fixtures.json +261 -14
  34. package/test/fixtures/data-driven-tests.json +0 -14
  35. package/test/hash.test.js +11 -7
  36. package/test/signing-data-encoding.test.js +11 -0
@@ -1,29 +1,35 @@
1
1
  {
2
2
  "TYPES": {
3
- "Validation": 10003,
4
3
  "Done": -1,
4
+ "Unknown": -2,
5
+ "NotPresent": 0,
6
+ "UInt16": 1,
7
+ "UInt32": 2,
8
+ "UInt64": 3,
5
9
  "Hash128": 4,
10
+ "Hash256": 5,
11
+ "Amount": 6,
6
12
  "Blob": 7,
7
13
  "AccountID": 8,
8
- "Amount": 6,
9
- "Hash256": 5,
10
- "UInt8": 16,
11
- "Vector256": 19,
12
14
  "STObject": 14,
13
- "Unknown": -2,
14
- "Transaction": 10001,
15
+ "STArray": 15,
16
+ "UInt8": 16,
15
17
  "Hash160": 17,
16
18
  "PathSet": 18,
19
+ "Vector256": 19,
20
+ "UInt96": 20,
21
+ "UInt192": 21,
22
+ "UInt384": 22,
23
+ "UInt512": 23,
24
+ "Issue": 24,
25
+ "XChainBridge": 25,
26
+ "XChainAttestationBatch": 26,
27
+ "Transaction": 10001,
17
28
  "LedgerEntry": 10002,
18
- "UInt16": 1,
19
- "NotPresent": 0,
20
- "UInt64": 3,
21
- "UInt32": 2,
22
- "STArray": 15
29
+ "Validation": 10003,
30
+ "Metadata": 10004
23
31
  },
24
32
  "LEDGER_ENTRY_TYPES": {
25
- "Any": -3,
26
- "Child": -2,
27
33
  "Invalid": -1,
28
34
  "AccountRoot": 97,
29
35
  "DirectoryNode": 100,
@@ -31,18 +37,24 @@
31
37
  "Ticket": 84,
32
38
  "SignerList": 83,
33
39
  "Offer": 111,
40
+ "Bridge": 105,
34
41
  "LedgerHashes": 104,
35
42
  "Amendments": 102,
43
+ "XChainClaimID": 113,
44
+ "XChainCreateAccountClaimID": 116,
36
45
  "FeeSettings": 115,
37
46
  "Escrow": 117,
38
47
  "PayChannel": 120,
39
- "DepositPreauth": 112,
40
48
  "Check": 67,
41
- "Nickname": 110,
42
- "Contract": 99,
49
+ "DepositPreauth": 112,
50
+ "NegativeUNL": 78,
43
51
  "NFTokenPage": 80,
44
52
  "NFTokenOffer": 55,
45
- "NegativeUNL": 78
53
+ "Any": -3,
54
+ "Child": -2,
55
+ "Nickname": 110,
56
+ "Contract": 99,
57
+ "GeneratorMap": 103
46
58
  },
47
59
  "FIELDS": [
48
60
  [
@@ -65,6 +77,176 @@
65
77
  "type": "Unknown"
66
78
  }
67
79
  ],
80
+ [
81
+ "ObjectEndMarker",
82
+ {
83
+ "nth": 1,
84
+ "isVLEncoded": false,
85
+ "isSerialized": true,
86
+ "isSigningField": true,
87
+ "type": "STObject"
88
+ }
89
+ ],
90
+ [
91
+ "ArrayEndMarker",
92
+ {
93
+ "nth": 1,
94
+ "isVLEncoded": false,
95
+ "isSerialized": true,
96
+ "isSigningField": true,
97
+ "type": "STArray"
98
+ }
99
+ ],
100
+ [
101
+ "hash",
102
+ {
103
+ "nth": 257,
104
+ "isVLEncoded": false,
105
+ "isSerialized": false,
106
+ "isSigningField": false,
107
+ "type": "Hash256"
108
+ }
109
+ ],
110
+ [
111
+ "index",
112
+ {
113
+ "nth": 258,
114
+ "isVLEncoded": false,
115
+ "isSerialized": false,
116
+ "isSigningField": false,
117
+ "type": "Hash256"
118
+ }
119
+ ],
120
+ [
121
+ "taker_gets_funded",
122
+ {
123
+ "nth": 258,
124
+ "isVLEncoded": false,
125
+ "isSerialized": false,
126
+ "isSigningField": false,
127
+ "type": "Amount"
128
+ }
129
+ ],
130
+ [
131
+ "taker_pays_funded",
132
+ {
133
+ "nth": 259,
134
+ "isVLEncoded": false,
135
+ "isSerialized": false,
136
+ "isSigningField": false,
137
+ "type": "Amount"
138
+ }
139
+ ],
140
+ [
141
+ "LedgerEntry",
142
+ {
143
+ "nth": 1,
144
+ "isVLEncoded": false,
145
+ "isSerialized": false,
146
+ "isSigningField": true,
147
+ "type": "LedgerEntry"
148
+ }
149
+ ],
150
+ [
151
+ "Transaction",
152
+ {
153
+ "nth": 1,
154
+ "isVLEncoded": false,
155
+ "isSerialized": false,
156
+ "isSigningField": true,
157
+ "type": "Transaction"
158
+ }
159
+ ],
160
+ [
161
+ "Validation",
162
+ {
163
+ "nth": 1,
164
+ "isVLEncoded": false,
165
+ "isSerialized": false,
166
+ "isSigningField": true,
167
+ "type": "Validation"
168
+ }
169
+ ],
170
+ [
171
+ "Metadata",
172
+ {
173
+ "nth": 1,
174
+ "isVLEncoded": false,
175
+ "isSerialized": true,
176
+ "isSigningField": true,
177
+ "type": "Metadata"
178
+ }
179
+ ],
180
+ [
181
+ "CloseResolution",
182
+ {
183
+ "nth": 1,
184
+ "isVLEncoded": false,
185
+ "isSerialized": true,
186
+ "isSigningField": true,
187
+ "type": "UInt8"
188
+ }
189
+ ],
190
+ [
191
+ "Method",
192
+ {
193
+ "nth": 2,
194
+ "isVLEncoded": false,
195
+ "isSerialized": true,
196
+ "isSigningField": true,
197
+ "type": "UInt8"
198
+ }
199
+ ],
200
+ [
201
+ "TransactionResult",
202
+ {
203
+ "nth": 3,
204
+ "isVLEncoded": false,
205
+ "isSerialized": true,
206
+ "isSigningField": true,
207
+ "type": "UInt8"
208
+ }
209
+ ],
210
+ [
211
+ "TickSize",
212
+ {
213
+ "nth": 16,
214
+ "isVLEncoded": false,
215
+ "isSerialized": true,
216
+ "isSigningField": true,
217
+ "type": "UInt8"
218
+ }
219
+ ],
220
+ [
221
+ "UNLModifyDisabling",
222
+ {
223
+ "nth": 17,
224
+ "isVLEncoded": false,
225
+ "isSerialized": true,
226
+ "isSigningField": true,
227
+ "type": "UInt8"
228
+ }
229
+ ],
230
+ [
231
+ "HookResult",
232
+ {
233
+ "nth": 18,
234
+ "isVLEncoded": false,
235
+ "isSerialized": true,
236
+ "isSigningField": true,
237
+ "type": "UInt8"
238
+ }
239
+ ],
240
+ [
241
+ "WasLockingChainSend",
242
+ {
243
+ "nth": 19,
244
+ "isVLEncoded": false,
245
+ "isSerialized": true,
246
+ "isSigningField": true,
247
+ "type": "UInt8"
248
+ }
249
+ ],
68
250
  [
69
251
  "LedgerEntryType",
70
252
  {
@@ -105,6 +287,56 @@
105
287
  "type": "UInt16"
106
288
  }
107
289
  ],
290
+ [
291
+ "Version",
292
+ {
293
+ "nth": 16,
294
+ "isVLEncoded": false,
295
+ "isSerialized": true,
296
+ "isSigningField": true,
297
+ "type": "UInt16"
298
+ }
299
+ ],
300
+ [
301
+ "HookStateChangeCount",
302
+ {
303
+ "nth": 17,
304
+ "isVLEncoded": false,
305
+ "isSerialized": true,
306
+ "isSigningField": true,
307
+ "type": "UInt16"
308
+ }
309
+ ],
310
+ [
311
+ "HookEmitCount",
312
+ {
313
+ "nth": 18,
314
+ "isVLEncoded": false,
315
+ "isSerialized": true,
316
+ "isSigningField": true,
317
+ "type": "UInt16"
318
+ }
319
+ ],
320
+ [
321
+ "HookExecutionIndex",
322
+ {
323
+ "nth": 19,
324
+ "isVLEncoded": false,
325
+ "isSerialized": true,
326
+ "isSigningField": true,
327
+ "type": "UInt16"
328
+ }
329
+ ],
330
+ [
331
+ "HookApiVersion",
332
+ {
333
+ "nth": 20,
334
+ "isVLEncoded": false,
335
+ "isSerialized": true,
336
+ "isSigningField": true,
337
+ "type": "UInt16"
338
+ }
339
+ ],
108
340
  [
109
341
  "Flags",
110
342
  {
@@ -456,27 +688,117 @@
456
688
  }
457
689
  ],
458
690
  [
459
- "IndexNext",
691
+ "SignerListID",
460
692
  {
461
- "nth": 1,
693
+ "nth": 38,
462
694
  "isVLEncoded": false,
463
695
  "isSerialized": true,
464
696
  "isSigningField": true,
465
- "type": "UInt64"
697
+ "type": "UInt32"
466
698
  }
467
699
  ],
468
700
  [
469
- "IndexPrevious",
701
+ "SettleDelay",
470
702
  {
471
- "nth": 2,
703
+ "nth": 39,
472
704
  "isVLEncoded": false,
473
705
  "isSerialized": true,
474
706
  "isSigningField": true,
475
- "type": "UInt64"
707
+ "type": "UInt32"
476
708
  }
477
709
  ],
478
710
  [
479
- "BookNode",
711
+ "TicketCount",
712
+ {
713
+ "nth": 40,
714
+ "isVLEncoded": false,
715
+ "isSerialized": true,
716
+ "isSigningField": true,
717
+ "type": "UInt32"
718
+ }
719
+ ],
720
+ [
721
+ "TicketSequence",
722
+ {
723
+ "nth": 41,
724
+ "isVLEncoded": false,
725
+ "isSerialized": true,
726
+ "isSigningField": true,
727
+ "type": "UInt32"
728
+ }
729
+ ],
730
+ [
731
+ "NFTokenTaxon",
732
+ {
733
+ "nth": 42,
734
+ "isVLEncoded": false,
735
+ "isSerialized": true,
736
+ "isSigningField": true,
737
+ "type": "UInt32"
738
+ }
739
+ ],
740
+ [
741
+ "MintedNFTokens",
742
+ {
743
+ "nth": 43,
744
+ "isVLEncoded": false,
745
+ "isSerialized": true,
746
+ "isSigningField": true,
747
+ "type": "UInt32"
748
+ }
749
+ ],
750
+ [
751
+ "BurnedNFTokens",
752
+ {
753
+ "nth": 44,
754
+ "isVLEncoded": false,
755
+ "isSerialized": true,
756
+ "isSigningField": true,
757
+ "type": "UInt32"
758
+ }
759
+ ],
760
+ [
761
+ "HookStateCount",
762
+ {
763
+ "nth": 45,
764
+ "isVLEncoded": false,
765
+ "isSerialized": true,
766
+ "isSigningField": true,
767
+ "type": "UInt32"
768
+ }
769
+ ],
770
+ [
771
+ "EmitGeneration",
772
+ {
773
+ "nth": 46,
774
+ "isVLEncoded": false,
775
+ "isSerialized": true,
776
+ "isSigningField": true,
777
+ "type": "UInt32"
778
+ }
779
+ ],
780
+ [
781
+ "IndexNext",
782
+ {
783
+ "nth": 1,
784
+ "isVLEncoded": false,
785
+ "isSerialized": true,
786
+ "isSigningField": true,
787
+ "type": "UInt64"
788
+ }
789
+ ],
790
+ [
791
+ "IndexPrevious",
792
+ {
793
+ "nth": 2,
794
+ "isVLEncoded": false,
795
+ "isSerialized": true,
796
+ "isSigningField": true,
797
+ "type": "UInt64"
798
+ }
799
+ ],
800
+ [
801
+ "BookNode",
480
802
  {
481
803
  "nth": 3,
482
804
  "isVLEncoded": false,
@@ -535,6 +857,126 @@
535
857
  "type": "UInt64"
536
858
  }
537
859
  ],
860
+ [
861
+ "DestinationNode",
862
+ {
863
+ "nth": 9,
864
+ "isVLEncoded": false,
865
+ "isSerialized": true,
866
+ "isSigningField": true,
867
+ "type": "UInt64"
868
+ }
869
+ ],
870
+ [
871
+ "Cookie",
872
+ {
873
+ "nth": 10,
874
+ "isVLEncoded": false,
875
+ "isSerialized": true,
876
+ "isSigningField": true,
877
+ "type": "UInt64"
878
+ }
879
+ ],
880
+ [
881
+ "ServerVersion",
882
+ {
883
+ "nth": 11,
884
+ "isVLEncoded": false,
885
+ "isSerialized": true,
886
+ "isSigningField": true,
887
+ "type": "UInt64"
888
+ }
889
+ ],
890
+ [
891
+ "NFTokenOfferNode",
892
+ {
893
+ "nth": 12,
894
+ "isVLEncoded": false,
895
+ "isSerialized": true,
896
+ "isSigningField": true,
897
+ "type": "UInt64"
898
+ }
899
+ ],
900
+ [
901
+ "EmitBurden",
902
+ {
903
+ "nth": 13,
904
+ "isVLEncoded": false,
905
+ "isSerialized": true,
906
+ "isSigningField": true,
907
+ "type": "UInt64"
908
+ }
909
+ ],
910
+ [
911
+ "HookOn",
912
+ {
913
+ "nth": 16,
914
+ "isVLEncoded": false,
915
+ "isSerialized": true,
916
+ "isSigningField": true,
917
+ "type": "UInt64"
918
+ }
919
+ ],
920
+ [
921
+ "HookInstructionCount",
922
+ {
923
+ "nth": 17,
924
+ "isVLEncoded": false,
925
+ "isSerialized": true,
926
+ "isSigningField": true,
927
+ "type": "UInt64"
928
+ }
929
+ ],
930
+ [
931
+ "HookReturnCode",
932
+ {
933
+ "nth": 18,
934
+ "isVLEncoded": false,
935
+ "isSerialized": true,
936
+ "isSigningField": true,
937
+ "type": "UInt64"
938
+ }
939
+ ],
940
+ [
941
+ "ReferenceCount",
942
+ {
943
+ "nth": 19,
944
+ "isVLEncoded": false,
945
+ "isSerialized": true,
946
+ "isSigningField": true,
947
+ "type": "UInt64"
948
+ }
949
+ ],
950
+ [
951
+ "XChainClaimID",
952
+ {
953
+ "nth": 20,
954
+ "isVLEncoded": false,
955
+ "isSerialized": true,
956
+ "isSigningField": true,
957
+ "type": "UInt64"
958
+ }
959
+ ],
960
+ [
961
+ "XChainAccountCreateCount",
962
+ {
963
+ "nth": 21,
964
+ "isVLEncoded": false,
965
+ "isSerialized": true,
966
+ "isSigningField": true,
967
+ "type": "UInt64"
968
+ }
969
+ ],
970
+ [
971
+ "XChainAccountClaimCount",
972
+ {
973
+ "nth": 22,
974
+ "isVLEncoded": false,
975
+ "isSerialized": true,
976
+ "isSigningField": true,
977
+ "type": "UInt64"
978
+ }
979
+ ],
538
980
  [
539
981
  "EmailHash",
540
982
  {
@@ -545,6 +987,46 @@
545
987
  "type": "Hash128"
546
988
  }
547
989
  ],
990
+ [
991
+ "TakerPaysCurrency",
992
+ {
993
+ "nth": 1,
994
+ "isVLEncoded": false,
995
+ "isSerialized": true,
996
+ "isSigningField": true,
997
+ "type": "Hash160"
998
+ }
999
+ ],
1000
+ [
1001
+ "TakerPaysIssuer",
1002
+ {
1003
+ "nth": 2,
1004
+ "isVLEncoded": false,
1005
+ "isSerialized": true,
1006
+ "isSigningField": true,
1007
+ "type": "Hash160"
1008
+ }
1009
+ ],
1010
+ [
1011
+ "TakerGetsCurrency",
1012
+ {
1013
+ "nth": 3,
1014
+ "isVLEncoded": false,
1015
+ "isSerialized": true,
1016
+ "isSigningField": true,
1017
+ "type": "Hash160"
1018
+ }
1019
+ ],
1020
+ [
1021
+ "TakerGetsIssuer",
1022
+ {
1023
+ "nth": 4,
1024
+ "isVLEncoded": false,
1025
+ "isSerialized": true,
1026
+ "isSigningField": true,
1027
+ "type": "Hash160"
1028
+ }
1029
+ ],
548
1030
  [
549
1031
  "LedgerHash",
550
1032
  {
@@ -586,9 +1068,129 @@
586
1068
  }
587
1069
  ],
588
1070
  [
589
- "PreviousTxnID",
1071
+ "PreviousTxnID",
1072
+ {
1073
+ "nth": 5,
1074
+ "isVLEncoded": false,
1075
+ "isSerialized": true,
1076
+ "isSigningField": true,
1077
+ "type": "Hash256"
1078
+ }
1079
+ ],
1080
+ [
1081
+ "LedgerIndex",
1082
+ {
1083
+ "nth": 6,
1084
+ "isVLEncoded": false,
1085
+ "isSerialized": true,
1086
+ "isSigningField": true,
1087
+ "type": "Hash256"
1088
+ }
1089
+ ],
1090
+ [
1091
+ "WalletLocator",
1092
+ {
1093
+ "nth": 7,
1094
+ "isVLEncoded": false,
1095
+ "isSerialized": true,
1096
+ "isSigningField": true,
1097
+ "type": "Hash256"
1098
+ }
1099
+ ],
1100
+ [
1101
+ "RootIndex",
1102
+ {
1103
+ "nth": 8,
1104
+ "isVLEncoded": false,
1105
+ "isSerialized": true,
1106
+ "isSigningField": true,
1107
+ "type": "Hash256"
1108
+ }
1109
+ ],
1110
+ [
1111
+ "AccountTxnID",
1112
+ {
1113
+ "nth": 9,
1114
+ "isVLEncoded": false,
1115
+ "isSerialized": true,
1116
+ "isSigningField": true,
1117
+ "type": "Hash256"
1118
+ }
1119
+ ],
1120
+ [
1121
+ "NFTokenID",
1122
+ {
1123
+ "nth": 10,
1124
+ "isVLEncoded": false,
1125
+ "isSerialized": true,
1126
+ "isSigningField": true,
1127
+ "type": "Hash256"
1128
+ }
1129
+ ],
1130
+ [
1131
+ "EmitParentTxnID",
1132
+ {
1133
+ "nth": 11,
1134
+ "isVLEncoded": false,
1135
+ "isSerialized": true,
1136
+ "isSigningField": true,
1137
+ "type": "Hash256"
1138
+ }
1139
+ ],
1140
+ [
1141
+ "EmitNonce",
1142
+ {
1143
+ "nth": 12,
1144
+ "isVLEncoded": false,
1145
+ "isSerialized": true,
1146
+ "isSigningField": true,
1147
+ "type": "Hash256"
1148
+ }
1149
+ ],
1150
+ [
1151
+ "EmitHookHash",
1152
+ {
1153
+ "nth": 13,
1154
+ "isVLEncoded": false,
1155
+ "isSerialized": true,
1156
+ "isSigningField": true,
1157
+ "type": "Hash256"
1158
+ }
1159
+ ],
1160
+ [
1161
+ "BookDirectory",
1162
+ {
1163
+ "nth": 16,
1164
+ "isVLEncoded": false,
1165
+ "isSerialized": true,
1166
+ "isSigningField": true,
1167
+ "type": "Hash256"
1168
+ }
1169
+ ],
1170
+ [
1171
+ "InvoiceID",
1172
+ {
1173
+ "nth": 17,
1174
+ "isVLEncoded": false,
1175
+ "isSerialized": true,
1176
+ "isSigningField": true,
1177
+ "type": "Hash256"
1178
+ }
1179
+ ],
1180
+ [
1181
+ "Nickname",
1182
+ {
1183
+ "nth": 18,
1184
+ "isVLEncoded": false,
1185
+ "isSerialized": true,
1186
+ "isSigningField": true,
1187
+ "type": "Hash256"
1188
+ }
1189
+ ],
1190
+ [
1191
+ "Amendment",
590
1192
  {
591
- "nth": 5,
1193
+ "nth": 19,
592
1194
  "isVLEncoded": false,
593
1195
  "isSerialized": true,
594
1196
  "isSigningField": true,
@@ -596,9 +1198,9 @@
596
1198
  }
597
1199
  ],
598
1200
  [
599
- "LedgerIndex",
1201
+ "Digest",
600
1202
  {
601
- "nth": 6,
1203
+ "nth": 21,
602
1204
  "isVLEncoded": false,
603
1205
  "isSerialized": true,
604
1206
  "isSigningField": true,
@@ -606,9 +1208,9 @@
606
1208
  }
607
1209
  ],
608
1210
  [
609
- "WalletLocator",
1211
+ "Channel",
610
1212
  {
611
- "nth": 7,
1213
+ "nth": 22,
612
1214
  "isVLEncoded": false,
613
1215
  "isSerialized": true,
614
1216
  "isSigningField": true,
@@ -616,9 +1218,9 @@
616
1218
  }
617
1219
  ],
618
1220
  [
619
- "RootIndex",
1221
+ "ConsensusHash",
620
1222
  {
621
- "nth": 8,
1223
+ "nth": 23,
622
1224
  "isVLEncoded": false,
623
1225
  "isSerialized": true,
624
1226
  "isSigningField": true,
@@ -626,9 +1228,9 @@
626
1228
  }
627
1229
  ],
628
1230
  [
629
- "AccountTxnID",
1231
+ "CheckID",
630
1232
  {
631
- "nth": 9,
1233
+ "nth": 24,
632
1234
  "isVLEncoded": false,
633
1235
  "isSerialized": true,
634
1236
  "isSigningField": true,
@@ -636,9 +1238,9 @@
636
1238
  }
637
1239
  ],
638
1240
  [
639
- "NFTokenID",
1241
+ "ValidatedHash",
640
1242
  {
641
- "nth": 10,
1243
+ "nth": 25,
642
1244
  "isVLEncoded": false,
643
1245
  "isSerialized": true,
644
1246
  "isSigningField": true,
@@ -646,9 +1248,9 @@
646
1248
  }
647
1249
  ],
648
1250
  [
649
- "BookDirectory",
1251
+ "PreviousPageMin",
650
1252
  {
651
- "nth": 16,
1253
+ "nth": 26,
652
1254
  "isVLEncoded": false,
653
1255
  "isSerialized": true,
654
1256
  "isSigningField": true,
@@ -656,9 +1258,9 @@
656
1258
  }
657
1259
  ],
658
1260
  [
659
- "InvoiceID",
1261
+ "NextPageMin",
660
1262
  {
661
- "nth": 17,
1263
+ "nth": 27,
662
1264
  "isVLEncoded": false,
663
1265
  "isSerialized": true,
664
1266
  "isSigningField": true,
@@ -666,9 +1268,9 @@
666
1268
  }
667
1269
  ],
668
1270
  [
669
- "Nickname",
1271
+ "NFTokenBuyOffer",
670
1272
  {
671
- "nth": 18,
1273
+ "nth": 28,
672
1274
  "isVLEncoded": false,
673
1275
  "isSerialized": true,
674
1276
  "isSigningField": true,
@@ -676,9 +1278,9 @@
676
1278
  }
677
1279
  ],
678
1280
  [
679
- "Amendment",
1281
+ "NFTokenSellOffer",
680
1282
  {
681
- "nth": 19,
1283
+ "nth": 29,
682
1284
  "isVLEncoded": false,
683
1285
  "isSerialized": true,
684
1286
  "isSigningField": true,
@@ -686,9 +1288,9 @@
686
1288
  }
687
1289
  ],
688
1290
  [
689
- "TicketID",
1291
+ "HookStateKey",
690
1292
  {
691
- "nth": 20,
1293
+ "nth": 30,
692
1294
  "isVLEncoded": false,
693
1295
  "isSerialized": true,
694
1296
  "isSigningField": true,
@@ -696,9 +1298,9 @@
696
1298
  }
697
1299
  ],
698
1300
  [
699
- "Digest",
1301
+ "HookHash",
700
1302
  {
701
- "nth": 21,
1303
+ "nth": 31,
702
1304
  "isVLEncoded": false,
703
1305
  "isSerialized": true,
704
1306
  "isSigningField": true,
@@ -706,22 +1308,22 @@
706
1308
  }
707
1309
  ],
708
1310
  [
709
- "hash",
1311
+ "HookNamespace",
710
1312
  {
711
- "nth": 257,
1313
+ "nth": 32,
712
1314
  "isVLEncoded": false,
713
- "isSerialized": false,
714
- "isSigningField": false,
1315
+ "isSerialized": true,
1316
+ "isSigningField": true,
715
1317
  "type": "Hash256"
716
1318
  }
717
1319
  ],
718
1320
  [
719
- "index",
1321
+ "HookSetTxnID",
720
1322
  {
721
- "nth": 258,
1323
+ "nth": 33,
722
1324
  "isVLEncoded": false,
723
- "isSerialized": false,
724
- "isSigningField": false,
1325
+ "isSerialized": true,
1326
+ "isSigningField": true,
725
1327
  "type": "Hash256"
726
1328
  }
727
1329
  ],
@@ -866,22 +1468,32 @@
866
1468
  }
867
1469
  ],
868
1470
  [
869
- "taker_gets_funded",
1471
+ "XChainFee",
870
1472
  {
871
- "nth": 258,
1473
+ "nth": 28,
872
1474
  "isVLEncoded": false,
873
- "isSerialized": false,
874
- "isSigningField": false,
1475
+ "isSerialized": true,
1476
+ "isSigningField": true,
875
1477
  "type": "Amount"
876
1478
  }
877
1479
  ],
878
1480
  [
879
- "taker_pays_funded",
1481
+ "SignatureReward",
880
1482
  {
881
- "nth": 259,
1483
+ "nth": 29,
882
1484
  "isVLEncoded": false,
883
- "isSerialized": false,
884
- "isSigningField": false,
1485
+ "isSerialized": true,
1486
+ "isSigningField": true,
1487
+ "type": "Amount"
1488
+ }
1489
+ ],
1490
+ [
1491
+ "MinAccountCreateAmount",
1492
+ {
1493
+ "nth": 30,
1494
+ "isVLEncoded": false,
1495
+ "isSerialized": true,
1496
+ "isSigningField": true,
885
1497
  "type": "Amount"
886
1498
  }
887
1499
  ],
@@ -1085,6 +1697,46 @@
1085
1697
  "type": "Blob"
1086
1698
  }
1087
1699
  ],
1700
+ [
1701
+ "HookStateData",
1702
+ {
1703
+ "nth": 22,
1704
+ "isVLEncoded": true,
1705
+ "isSerialized": true,
1706
+ "isSigningField": true,
1707
+ "type": "Blob"
1708
+ }
1709
+ ],
1710
+ [
1711
+ "HookReturnString",
1712
+ {
1713
+ "nth": 23,
1714
+ "isVLEncoded": true,
1715
+ "isSerialized": true,
1716
+ "isSigningField": true,
1717
+ "type": "Blob"
1718
+ }
1719
+ ],
1720
+ [
1721
+ "HookParameterName",
1722
+ {
1723
+ "nth": 24,
1724
+ "isVLEncoded": true,
1725
+ "isSerialized": true,
1726
+ "isSigningField": true,
1727
+ "type": "Blob"
1728
+ }
1729
+ ],
1730
+ [
1731
+ "HookParameterValue",
1732
+ {
1733
+ "nth": 25,
1734
+ "isVLEncoded": true,
1735
+ "isSerialized": true,
1736
+ "isSigningField": true,
1737
+ "type": "Blob"
1738
+ }
1739
+ ],
1088
1740
  [
1089
1741
  "Account",
1090
1742
  {
@@ -1146,9 +1798,9 @@
1146
1798
  }
1147
1799
  ],
1148
1800
  [
1149
- "Target",
1801
+ "RegularKey",
1150
1802
  {
1151
- "nth": 7,
1803
+ "nth": 8,
1152
1804
  "isVLEncoded": true,
1153
1805
  "isSerialized": true,
1154
1806
  "isSigningField": true,
@@ -1156,9 +1808,9 @@
1156
1808
  }
1157
1809
  ],
1158
1810
  [
1159
- "RegularKey",
1811
+ "NFTokenMinter",
1160
1812
  {
1161
- "nth": 8,
1813
+ "nth": 9,
1162
1814
  "isVLEncoded": true,
1163
1815
  "isSerialized": true,
1164
1816
  "isSigningField": true,
@@ -1166,9 +1818,9 @@
1166
1818
  }
1167
1819
  ],
1168
1820
  [
1169
- "NFTokenMinter",
1821
+ "EmitCallback",
1170
1822
  {
1171
- "nth": 9,
1823
+ "nth": 10,
1172
1824
  "isVLEncoded": true,
1173
1825
  "isSerialized": true,
1174
1826
  "isSigningField": true,
@@ -1176,623 +1828,633 @@
1176
1828
  }
1177
1829
  ],
1178
1830
  [
1179
- "ObjectEndMarker",
1831
+ "HookAccount",
1180
1832
  {
1181
- "nth": 1,
1182
- "isVLEncoded": false,
1833
+ "nth": 16,
1834
+ "isVLEncoded": true,
1183
1835
  "isSerialized": true,
1184
1836
  "isSigningField": true,
1185
- "type": "STObject"
1837
+ "type": "AccountID"
1186
1838
  }
1187
1839
  ],
1188
1840
  [
1189
- "TransactionMetaData",
1841
+ "ThisChainAccount",
1190
1842
  {
1191
- "nth": 2,
1192
- "isVLEncoded": false,
1843
+ "nth": 17,
1844
+ "isVLEncoded": true,
1193
1845
  "isSerialized": true,
1194
1846
  "isSigningField": true,
1195
- "type": "STObject"
1847
+ "type": "AccountID"
1196
1848
  }
1197
1849
  ],
1198
1850
  [
1199
- "CreatedNode",
1851
+ "OtherChainSource",
1200
1852
  {
1201
- "nth": 3,
1202
- "isVLEncoded": false,
1853
+ "nth": 18,
1854
+ "isVLEncoded": true,
1203
1855
  "isSerialized": true,
1204
1856
  "isSigningField": true,
1205
- "type": "STObject"
1857
+ "type": "AccountID"
1206
1858
  }
1207
1859
  ],
1208
1860
  [
1209
- "DeletedNode",
1861
+ "OtherChainDestination",
1210
1862
  {
1211
- "nth": 4,
1212
- "isVLEncoded": false,
1863
+ "nth": 19,
1864
+ "isVLEncoded": true,
1213
1865
  "isSerialized": true,
1214
1866
  "isSigningField": true,
1215
- "type": "STObject"
1867
+ "type": "AccountID"
1216
1868
  }
1217
1869
  ],
1218
1870
  [
1219
- "ModifiedNode",
1871
+ "AttestationSignerAccount",
1220
1872
  {
1221
- "nth": 5,
1222
- "isVLEncoded": false,
1873
+ "nth": 20,
1874
+ "isVLEncoded": true,
1223
1875
  "isSerialized": true,
1224
1876
  "isSigningField": true,
1225
- "type": "STObject"
1877
+ "type": "AccountID"
1226
1878
  }
1227
1879
  ],
1228
1880
  [
1229
- "PreviousFields",
1881
+ "AttestationRewardAccount",
1230
1882
  {
1231
- "nth": 6,
1232
- "isVLEncoded": false,
1883
+ "nth": 21,
1884
+ "isVLEncoded": true,
1233
1885
  "isSerialized": true,
1234
1886
  "isSigningField": true,
1235
- "type": "STObject"
1887
+ "type": "AccountID"
1236
1888
  }
1237
1889
  ],
1238
1890
  [
1239
- "FinalFields",
1891
+ "LockingChainDoor",
1240
1892
  {
1241
- "nth": 7,
1242
- "isVLEncoded": false,
1893
+ "nth": 22,
1894
+ "isVLEncoded": true,
1243
1895
  "isSerialized": true,
1244
1896
  "isSigningField": true,
1245
- "type": "STObject"
1897
+ "type": "AccountID"
1246
1898
  }
1247
1899
  ],
1248
1900
  [
1249
- "NewFields",
1901
+ "IssuingChainDoor",
1250
1902
  {
1251
- "nth": 8,
1252
- "isVLEncoded": false,
1903
+ "nth": 23,
1904
+ "isVLEncoded": true,
1253
1905
  "isSerialized": true,
1254
1906
  "isSigningField": true,
1255
- "type": "STObject"
1907
+ "type": "AccountID"
1256
1908
  }
1257
1909
  ],
1258
1910
  [
1259
- "TemplateEntry",
1911
+ "Indexes",
1260
1912
  {
1261
- "nth": 9,
1262
- "isVLEncoded": false,
1913
+ "nth": 1,
1914
+ "isVLEncoded": true,
1263
1915
  "isSerialized": true,
1264
1916
  "isSigningField": true,
1265
- "type": "STObject"
1917
+ "type": "Vector256"
1266
1918
  }
1267
1919
  ],
1268
1920
  [
1269
- "Memo",
1921
+ "Hashes",
1270
1922
  {
1271
- "nth": 10,
1272
- "isVLEncoded": false,
1923
+ "nth": 2,
1924
+ "isVLEncoded": true,
1273
1925
  "isSerialized": true,
1274
1926
  "isSigningField": true,
1275
- "type": "STObject"
1927
+ "type": "Vector256"
1276
1928
  }
1277
1929
  ],
1278
1930
  [
1279
- "SignerEntry",
1931
+ "Amendments",
1280
1932
  {
1281
- "nth": 11,
1282
- "isVLEncoded": false,
1933
+ "nth": 3,
1934
+ "isVLEncoded": true,
1283
1935
  "isSerialized": true,
1284
1936
  "isSigningField": true,
1285
- "type": "STObject"
1937
+ "type": "Vector256"
1286
1938
  }
1287
1939
  ],
1288
1940
  [
1289
- "NFToken",
1941
+ "NFTokenOffers",
1290
1942
  {
1291
- "nth": 12,
1943
+ "nth": 4,
1944
+ "isVLEncoded": true,
1945
+ "isSerialized": true,
1946
+ "isSigningField": true,
1947
+ "type": "Vector256"
1948
+ }
1949
+ ],
1950
+ [
1951
+ "Paths",
1952
+ {
1953
+ "nth": 1,
1292
1954
  "isVLEncoded": false,
1293
1955
  "isSerialized": true,
1294
1956
  "isSigningField": true,
1295
- "type": "STObject"
1957
+ "type": "PathSet"
1296
1958
  }
1297
1959
  ],
1298
1960
  [
1299
- "Signer",
1961
+ "LockingChainIssue",
1300
1962
  {
1301
- "nth": 16,
1963
+ "nth": 1,
1302
1964
  "isVLEncoded": false,
1303
1965
  "isSerialized": true,
1304
1966
  "isSigningField": true,
1305
- "type": "STObject"
1967
+ "type": "Issue"
1306
1968
  }
1307
1969
  ],
1308
1970
  [
1309
- "Majority",
1971
+ "IssuingChainIssue",
1310
1972
  {
1311
- "nth": 18,
1973
+ "nth": 2,
1312
1974
  "isVLEncoded": false,
1313
1975
  "isSerialized": true,
1314
1976
  "isSigningField": true,
1315
- "type": "STObject"
1977
+ "type": "Issue"
1316
1978
  }
1317
1979
  ],
1318
1980
  [
1319
- "DisabledValidator",
1981
+ "XChainBridge",
1320
1982
  {
1321
- "nth": 19,
1983
+ "nth": 1,
1322
1984
  "isVLEncoded": false,
1323
1985
  "isSerialized": true,
1324
1986
  "isSigningField": true,
1325
- "type": "STObject"
1987
+ "type": "XChainBridge"
1326
1988
  }
1327
1989
  ],
1328
1990
  [
1329
- "ArrayEndMarker",
1991
+ "XChainAttestationBatch",
1330
1992
  {
1331
1993
  "nth": 1,
1332
1994
  "isVLEncoded": false,
1333
1995
  "isSerialized": true,
1334
1996
  "isSigningField": true,
1335
- "type": "STArray"
1997
+ "type": "XChainAttestationBatch"
1336
1998
  }
1337
1999
  ],
1338
2000
  [
1339
- "Signers",
2001
+ "TransactionMetaData",
2002
+ {
2003
+ "nth": 2,
2004
+ "isVLEncoded": false,
2005
+ "isSerialized": true,
2006
+ "isSigningField": true,
2007
+ "type": "STObject"
2008
+ }
2009
+ ],
2010
+ [
2011
+ "CreatedNode",
1340
2012
  {
1341
2013
  "nth": 3,
1342
2014
  "isVLEncoded": false,
1343
2015
  "isSerialized": true,
1344
- "isSigningField": false,
1345
- "type": "STArray"
2016
+ "isSigningField": true,
2017
+ "type": "STObject"
1346
2018
  }
1347
2019
  ],
1348
2020
  [
1349
- "SignerEntries",
2021
+ "DeletedNode",
1350
2022
  {
1351
2023
  "nth": 4,
1352
2024
  "isVLEncoded": false,
1353
2025
  "isSerialized": true,
1354
2026
  "isSigningField": true,
1355
- "type": "STArray"
2027
+ "type": "STObject"
1356
2028
  }
1357
2029
  ],
1358
2030
  [
1359
- "Template",
2031
+ "ModifiedNode",
1360
2032
  {
1361
2033
  "nth": 5,
1362
2034
  "isVLEncoded": false,
1363
2035
  "isSerialized": true,
1364
2036
  "isSigningField": true,
1365
- "type": "STArray"
2037
+ "type": "STObject"
1366
2038
  }
1367
2039
  ],
1368
2040
  [
1369
- "Necessary",
2041
+ "PreviousFields",
1370
2042
  {
1371
2043
  "nth": 6,
1372
2044
  "isVLEncoded": false,
1373
2045
  "isSerialized": true,
1374
2046
  "isSigningField": true,
1375
- "type": "STArray"
2047
+ "type": "STObject"
1376
2048
  }
1377
2049
  ],
1378
2050
  [
1379
- "Sufficient",
2051
+ "FinalFields",
1380
2052
  {
1381
2053
  "nth": 7,
1382
2054
  "isVLEncoded": false,
1383
2055
  "isSerialized": true,
1384
2056
  "isSigningField": true,
1385
- "type": "STArray"
2057
+ "type": "STObject"
1386
2058
  }
1387
2059
  ],
1388
2060
  [
1389
- "AffectedNodes",
2061
+ "NewFields",
1390
2062
  {
1391
2063
  "nth": 8,
1392
2064
  "isVLEncoded": false,
1393
2065
  "isSerialized": true,
1394
2066
  "isSigningField": true,
1395
- "type": "STArray"
2067
+ "type": "STObject"
1396
2068
  }
1397
2069
  ],
1398
2070
  [
1399
- "Memos",
2071
+ "TemplateEntry",
1400
2072
  {
1401
2073
  "nth": 9,
1402
2074
  "isVLEncoded": false,
1403
2075
  "isSerialized": true,
1404
2076
  "isSigningField": true,
1405
- "type": "STArray"
2077
+ "type": "STObject"
1406
2078
  }
1407
2079
  ],
1408
2080
  [
1409
- "NFTokens",
2081
+ "Memo",
1410
2082
  {
1411
2083
  "nth": 10,
1412
2084
  "isVLEncoded": false,
1413
2085
  "isSerialized": true,
1414
2086
  "isSigningField": true,
1415
- "type": "STArray"
2087
+ "type": "STObject"
1416
2088
  }
1417
2089
  ],
1418
2090
  [
1419
- "Majorities",
2091
+ "SignerEntry",
1420
2092
  {
1421
- "nth": 16,
2093
+ "nth": 11,
1422
2094
  "isVLEncoded": false,
1423
2095
  "isSerialized": true,
1424
2096
  "isSigningField": true,
1425
- "type": "STArray"
2097
+ "type": "STObject"
1426
2098
  }
1427
2099
  ],
1428
2100
  [
1429
- "DisabledValidators",
2101
+ "NFToken",
1430
2102
  {
1431
- "nth": 17,
2103
+ "nth": 12,
1432
2104
  "isVLEncoded": false,
1433
2105
  "isSerialized": true,
1434
2106
  "isSigningField": true,
1435
- "type": "STArray"
2107
+ "type": "STObject"
1436
2108
  }
1437
2109
  ],
1438
2110
  [
1439
- "CloseResolution",
2111
+ "EmitDetails",
1440
2112
  {
1441
- "nth": 1,
2113
+ "nth": 13,
1442
2114
  "isVLEncoded": false,
1443
2115
  "isSerialized": true,
1444
2116
  "isSigningField": true,
1445
- "type": "UInt8"
2117
+ "type": "STObject"
1446
2118
  }
1447
2119
  ],
1448
2120
  [
1449
- "Method",
2121
+ "Hook",
1450
2122
  {
1451
- "nth": 2,
2123
+ "nth": 14,
1452
2124
  "isVLEncoded": false,
1453
2125
  "isSerialized": true,
1454
2126
  "isSigningField": true,
1455
- "type": "UInt8"
2127
+ "type": "STObject"
1456
2128
  }
1457
2129
  ],
1458
2130
  [
1459
- "TransactionResult",
2131
+ "Signer",
1460
2132
  {
1461
- "nth": 3,
2133
+ "nth": 16,
1462
2134
  "isVLEncoded": false,
1463
2135
  "isSerialized": true,
1464
2136
  "isSigningField": true,
1465
- "type": "UInt8"
2137
+ "type": "STObject"
1466
2138
  }
1467
2139
  ],
1468
2140
  [
1469
- "TakerPaysCurrency",
2141
+ "Majority",
1470
2142
  {
1471
- "nth": 1,
2143
+ "nth": 18,
1472
2144
  "isVLEncoded": false,
1473
2145
  "isSerialized": true,
1474
2146
  "isSigningField": true,
1475
- "type": "Hash160"
2147
+ "type": "STObject"
1476
2148
  }
1477
2149
  ],
1478
2150
  [
1479
- "TakerPaysIssuer",
2151
+ "DisabledValidator",
1480
2152
  {
1481
- "nth": 2,
2153
+ "nth": 19,
1482
2154
  "isVLEncoded": false,
1483
2155
  "isSerialized": true,
1484
2156
  "isSigningField": true,
1485
- "type": "Hash160"
2157
+ "type": "STObject"
1486
2158
  }
1487
2159
  ],
1488
2160
  [
1489
- "TakerGetsCurrency",
2161
+ "EmittedTxn",
1490
2162
  {
1491
- "nth": 3,
2163
+ "nth": 20,
1492
2164
  "isVLEncoded": false,
1493
2165
  "isSerialized": true,
1494
2166
  "isSigningField": true,
1495
- "type": "Hash160"
2167
+ "type": "STObject"
1496
2168
  }
1497
2169
  ],
1498
2170
  [
1499
- "TakerGetsIssuer",
2171
+ "HookExecution",
1500
2172
  {
1501
- "nth": 4,
2173
+ "nth": 21,
1502
2174
  "isVLEncoded": false,
1503
2175
  "isSerialized": true,
1504
2176
  "isSigningField": true,
1505
- "type": "Hash160"
2177
+ "type": "STObject"
1506
2178
  }
1507
2179
  ],
1508
2180
  [
1509
- "Paths",
2181
+ "HookDefinition",
1510
2182
  {
1511
- "nth": 1,
2183
+ "nth": 22,
1512
2184
  "isVLEncoded": false,
1513
2185
  "isSerialized": true,
1514
2186
  "isSigningField": true,
1515
- "type": "PathSet"
2187
+ "type": "STObject"
1516
2188
  }
1517
2189
  ],
1518
2190
  [
1519
- "Indexes",
2191
+ "HookParameter",
1520
2192
  {
1521
- "nth": 1,
1522
- "isVLEncoded": true,
2193
+ "nth": 23,
2194
+ "isVLEncoded": false,
1523
2195
  "isSerialized": true,
1524
2196
  "isSigningField": true,
1525
- "type": "Vector256"
2197
+ "type": "STObject"
1526
2198
  }
1527
2199
  ],
1528
2200
  [
1529
- "Hashes",
2201
+ "HookGrant",
1530
2202
  {
1531
- "nth": 2,
1532
- "isVLEncoded": true,
2203
+ "nth": 24,
2204
+ "isVLEncoded": false,
1533
2205
  "isSerialized": true,
1534
2206
  "isSigningField": true,
1535
- "type": "Vector256"
2207
+ "type": "STObject"
1536
2208
  }
1537
2209
  ],
1538
2210
  [
1539
- "Amendments",
2211
+ "XChainClaimProofSig",
1540
2212
  {
1541
- "nth": 3,
1542
- "isVLEncoded": true,
2213
+ "nth": 32,
2214
+ "isVLEncoded": false,
1543
2215
  "isSerialized": true,
1544
2216
  "isSigningField": true,
1545
- "type": "Vector256"
2217
+ "type": "STObject"
1546
2218
  }
1547
2219
  ],
1548
2220
  [
1549
- "NFTokenOffers",
2221
+ "XChainCreateAccountProofSig",
1550
2222
  {
1551
- "nth": 4,
1552
- "isVLEncoded": true,
2223
+ "nth": 33,
2224
+ "isVLEncoded": false,
1553
2225
  "isSerialized": true,
1554
2226
  "isSigningField": true,
1555
- "type": "Vector256"
1556
- }
1557
- ],
1558
- [
1559
- "Transaction",
1560
- {
1561
- "nth": 1,
1562
- "isVLEncoded": false,
1563
- "isSerialized": false,
1564
- "isSigningField": false,
1565
- "type": "Transaction"
2227
+ "type": "STObject"
1566
2228
  }
1567
2229
  ],
1568
2230
  [
1569
- "LedgerEntry",
2231
+ "XChainAttestationBatchElement",
1570
2232
  {
1571
- "nth": 1,
2233
+ "nth": 34,
1572
2234
  "isVLEncoded": false,
1573
- "isSerialized": false,
1574
- "isSigningField": false,
1575
- "type": "LedgerEntry"
2235
+ "isSerialized": true,
2236
+ "isSigningField": true,
2237
+ "type": "STObject"
1576
2238
  }
1577
2239
  ],
1578
2240
  [
1579
- "Validation",
2241
+ "XChainClaimAttestationBatchElement",
1580
2242
  {
1581
- "nth": 1,
2243
+ "nth": 35,
1582
2244
  "isVLEncoded": false,
1583
- "isSerialized": false,
1584
- "isSigningField": false,
1585
- "type": "Validation"
2245
+ "isSerialized": true,
2246
+ "isSigningField": true,
2247
+ "type": "STObject"
1586
2248
  }
1587
2249
  ],
1588
2250
  [
1589
- "SignerListID",
2251
+ "XChainCreateAccountAttestationBatchElement",
1590
2252
  {
1591
- "nth": 38,
2253
+ "nth": 36,
1592
2254
  "isVLEncoded": false,
1593
2255
  "isSerialized": true,
1594
2256
  "isSigningField": true,
1595
- "type": "UInt32"
2257
+ "type": "STObject"
1596
2258
  }
1597
2259
  ],
1598
2260
  [
1599
- "SettleDelay",
2261
+ "XChainAttestationBatchInner",
1600
2262
  {
1601
- "nth": 39,
2263
+ "nth": 37,
1602
2264
  "isVLEncoded": false,
1603
2265
  "isSerialized": true,
1604
2266
  "isSigningField": true,
1605
- "type": "UInt32"
2267
+ "type": "STObject"
1606
2268
  }
1607
2269
  ],
1608
2270
  [
1609
- "TicketCount",
2271
+ "Signers",
1610
2272
  {
1611
- "nth": 40,
2273
+ "nth": 3,
1612
2274
  "isVLEncoded": false,
1613
2275
  "isSerialized": true,
1614
- "isSigningField": true,
1615
- "type": "UInt32"
2276
+ "isSigningField": false,
2277
+ "type": "STArray"
1616
2278
  }
1617
2279
  ],
1618
2280
  [
1619
- "TicketSequence",
2281
+ "SignerEntries",
1620
2282
  {
1621
- "nth": 41,
2283
+ "nth": 4,
1622
2284
  "isVLEncoded": false,
1623
2285
  "isSerialized": true,
1624
2286
  "isSigningField": true,
1625
- "type": "UInt32"
2287
+ "type": "STArray"
1626
2288
  }
1627
2289
  ],
1628
2290
  [
1629
- "NFTokenTaxon",
2291
+ "Template",
1630
2292
  {
1631
- "nth": 42,
2293
+ "nth": 5,
1632
2294
  "isVLEncoded": false,
1633
2295
  "isSerialized": true,
1634
2296
  "isSigningField": true,
1635
- "type": "UInt32"
2297
+ "type": "STArray"
1636
2298
  }
1637
2299
  ],
1638
2300
  [
1639
- "MintedNFTokens",
2301
+ "Necessary",
1640
2302
  {
1641
- "nth": 43,
2303
+ "nth": 6,
1642
2304
  "isVLEncoded": false,
1643
2305
  "isSerialized": true,
1644
2306
  "isSigningField": true,
1645
- "type": "UInt32"
2307
+ "type": "STArray"
1646
2308
  }
1647
2309
  ],
1648
2310
  [
1649
- "BurnedNFTokens",
2311
+ "Sufficient",
1650
2312
  {
1651
- "nth": 44,
2313
+ "nth": 7,
1652
2314
  "isVLEncoded": false,
1653
2315
  "isSerialized": true,
1654
2316
  "isSigningField": true,
1655
- "type": "UInt32"
2317
+ "type": "STArray"
1656
2318
  }
1657
2319
  ],
1658
2320
  [
1659
- "Channel",
2321
+ "AffectedNodes",
1660
2322
  {
1661
- "nth": 22,
2323
+ "nth": 8,
1662
2324
  "isVLEncoded": false,
1663
2325
  "isSerialized": true,
1664
2326
  "isSigningField": true,
1665
- "type": "Hash256"
2327
+ "type": "STArray"
1666
2328
  }
1667
2329
  ],
1668
2330
  [
1669
- "ConsensusHash",
2331
+ "Memos",
1670
2332
  {
1671
- "nth": 23,
2333
+ "nth": 9,
1672
2334
  "isVLEncoded": false,
1673
2335
  "isSerialized": true,
1674
2336
  "isSigningField": true,
1675
- "type": "Hash256"
2337
+ "type": "STArray"
1676
2338
  }
1677
2339
  ],
1678
2340
  [
1679
- "CheckID",
2341
+ "NFTokens",
1680
2342
  {
1681
- "nth": 24,
2343
+ "nth": 10,
1682
2344
  "isVLEncoded": false,
1683
2345
  "isSerialized": true,
1684
2346
  "isSigningField": true,
1685
- "type": "Hash256"
2347
+ "type": "STArray"
1686
2348
  }
1687
2349
  ],
1688
2350
  [
1689
- "ValidatedHash",
2351
+ "Hooks",
1690
2352
  {
1691
- "nth": 25,
2353
+ "nth": 11,
1692
2354
  "isVLEncoded": false,
1693
2355
  "isSerialized": true,
1694
2356
  "isSigningField": true,
1695
- "type": "Hash256"
2357
+ "type": "STArray"
1696
2358
  }
1697
2359
  ],
1698
2360
  [
1699
- "PreviousPageMin",
2361
+ "Majorities",
1700
2362
  {
1701
- "nth": 26,
2363
+ "nth": 16,
1702
2364
  "isVLEncoded": false,
1703
2365
  "isSerialized": true,
1704
2366
  "isSigningField": true,
1705
- "type": "Hash256"
2367
+ "type": "STArray"
1706
2368
  }
1707
2369
  ],
1708
2370
  [
1709
- "NextPageMin",
2371
+ "DisabledValidators",
1710
2372
  {
1711
- "nth": 27,
2373
+ "nth": 17,
1712
2374
  "isVLEncoded": false,
1713
2375
  "isSerialized": true,
1714
2376
  "isSigningField": true,
1715
- "type": "Hash256"
2377
+ "type": "STArray"
1716
2378
  }
1717
2379
  ],
1718
2380
  [
1719
- "NFTokenBuyOffer",
2381
+ "HookExecutions",
1720
2382
  {
1721
- "nth": 28,
2383
+ "nth": 18,
1722
2384
  "isVLEncoded": false,
1723
2385
  "isSerialized": true,
1724
2386
  "isSigningField": true,
1725
- "type": "Hash256"
2387
+ "type": "STArray"
1726
2388
  }
1727
2389
  ],
1728
2390
  [
1729
- "NFTokenSellOffer",
2391
+ "HookParameters",
1730
2392
  {
1731
- "nth": 29,
2393
+ "nth": 19,
1732
2394
  "isVLEncoded": false,
1733
2395
  "isSerialized": true,
1734
2396
  "isSigningField": true,
1735
- "type": "Hash256"
2397
+ "type": "STArray"
1736
2398
  }
1737
2399
  ],
1738
2400
  [
1739
- "TickSize",
2401
+ "HookGrants",
1740
2402
  {
1741
- "nth": 16,
2403
+ "nth": 20,
1742
2404
  "isVLEncoded": false,
1743
2405
  "isSerialized": true,
1744
2406
  "isSigningField": true,
1745
- "type": "UInt8"
2407
+ "type": "STArray"
1746
2408
  }
1747
2409
  ],
1748
2410
  [
1749
- "UNLModifyDisabling",
2411
+ "XChainProofSigs",
1750
2412
  {
1751
- "nth": 17,
2413
+ "nth": 21,
1752
2414
  "isVLEncoded": false,
1753
2415
  "isSerialized": true,
1754
2416
  "isSigningField": true,
1755
- "type": "UInt8"
2417
+ "type": "STArray"
1756
2418
  }
1757
2419
  ],
1758
2420
  [
1759
- "DestinationNode",
2421
+ "XChainClaimAttestationBatch",
1760
2422
  {
1761
- "nth": 9,
2423
+ "nth": 22,
1762
2424
  "isVLEncoded": false,
1763
2425
  "isSerialized": true,
1764
2426
  "isSigningField": true,
1765
- "type": "UInt64"
2427
+ "type": "STArray"
1766
2428
  }
1767
2429
  ],
1768
2430
  [
1769
- "Cookie",
2431
+ "XChainCreateAccountAttestationBatch",
1770
2432
  {
1771
- "nth": 10,
2433
+ "nth": 23,
1772
2434
  "isVLEncoded": false,
1773
2435
  "isSerialized": true,
1774
2436
  "isSigningField": true,
1775
- "type": "UInt64"
2437
+ "type": "STArray"
1776
2438
  }
1777
2439
  ],
1778
2440
  [
1779
- "ServerVersion",
2441
+ "XChainClaimAttestations",
1780
2442
  {
1781
- "nth": 11,
2443
+ "nth": 24,
1782
2444
  "isVLEncoded": false,
1783
2445
  "isSerialized": true,
1784
2446
  "isSigningField": true,
1785
- "type": "UInt64"
2447
+ "type": "STArray"
1786
2448
  }
1787
2449
  ],
1788
2450
  [
1789
- "NFTokenOfferNode",
2451
+ "XChainCreateAccountAttestations",
1790
2452
  {
1791
- "nth": 12,
2453
+ "nth": 25,
1792
2454
  "isVLEncoded": false,
1793
2455
  "isSerialized": true,
1794
2456
  "isSigningField": true,
1795
- "type": "UInt64"
2457
+ "type": "STArray"
1796
2458
  }
1797
2459
  ]
1798
2460
  ],
@@ -1844,10 +2506,20 @@
1844
2506
  "temBAD_TICK_SIZE": -269,
1845
2507
  "temINVALID_ACCOUNT_ID": -268,
1846
2508
  "temCANNOT_PREAUTH_SELF": -267,
1847
- "temUNCERTAIN": -266,
1848
- "temUNKNOWN": -265,
1849
- "temSEQ_AND_TICKET": -264,
1850
- "temBAD_NFTOKEN_TRANSFER_FEE": -263,
2509
+ "temINVALID_COUNT": -266,
2510
+ "temUNCERTAIN": -265,
2511
+ "temUNKNOWN": -264,
2512
+ "temSEQ_AND_TICKET": -263,
2513
+ "temBAD_NFTOKEN_TRANSFER_FEE": -262,
2514
+ "temBAD_AMM_OPTIONS": -261,
2515
+ "temBAD_AMM_TOKENS": -260,
2516
+ "temEQUAL_DOOR_ACCOUNTS": -259,
2517
+ "temBAD_XCHAIN_PROOF": -258,
2518
+ "temSIDECHAIN_BAD_ISSUES": -257,
2519
+ "temSIDECHAIN_NONDOOR_OWNER": -256,
2520
+ "temXCHAIN_BRIDGE_BAD_MIN_ACCOUNT_CREATE_AMOUNT": -255,
2521
+ "temXCHAIN_BRIDGE_BAD_REWARD_AMOUNT": -254,
2522
+ "temXCHAIN_TOO_MANY_ATTESTATIONS": -253,
1851
2523
 
1852
2524
  "tefFAILURE": -199,
1853
2525
  "tefALREADY": -198,
@@ -1924,7 +2596,6 @@
1924
2596
  "tecKILLED": 150,
1925
2597
  "tecHAS_OBLIGATIONS": 151,
1926
2598
  "tecTOO_SOON": 152,
1927
-
1928
2599
  "tecMAX_SEQUENCE_REACHED": 154,
1929
2600
  "tecNO_SUITABLE_NFTOKEN_PAGE": 155,
1930
2601
  "tecNFTOKEN_BUY_SELL_MISMATCH": 156,
@@ -1933,12 +2604,34 @@
1933
2604
  "tecINSUFFICIENT_FUNDS": 159,
1934
2605
  "tecOBJECT_NOT_FOUND": 160,
1935
2606
  "tecINSUFFICIENT_PAYMENT": 161,
1936
- "tecINCORRECT_ASSET": 162,
1937
- "tecTOO_MANY": 163
2607
+ "tecUNFUNDED_AMM": 162,
2608
+ "tecAMM_BALANCE": 163,
2609
+ "tecAMM_FAILED_DEPOSIT": 164,
2610
+ "tecAMM_FAILED_WITHDRAW": 165,
2611
+ "tecAMM_INVALID_TOKENS": 166,
2612
+ "tecAMM_EXISTS": 167,
2613
+ "tecAMM_FAILED_BID": 168,
2614
+ "tecAMM_DIRECT_PAYMENT": 169,
2615
+ "tecAMM_FAILED_VOTE": 170,
2616
+ "tecBAD_XCHAIN_TRANSFER_ISSUE": 171,
2617
+ "tecXCHAIN_NO_CLAIM_ID": 172,
2618
+ "tecXCHAIN_BAD_CLAIM_ID": 173,
2619
+ "tecXCHAIN_CLAIM_NO_QUORUM": 174,
2620
+ "tecXCHAIN_PROOF_UNKNOWN_KEY": 175,
2621
+ "tecXCHAIN_CREATE_ACCOUNT_NONXRP_ISSUE": 176,
2622
+ "tecXCHAIN_CLAIM_ACCOUNT_DST_EXISTS": 177,
2623
+ "tecXCHAIN_WRONG_CHAIN": 178,
2624
+ "tecXCHAIN_REWARD_MISMATCH": 179,
2625
+ "tecXCHAIN_NO_SIGNERS_LIST": 180,
2626
+ "tecXCHAIN_SENDING_ACCOUNT_MISMATCH": 181,
2627
+ "tecXCHAIN_INSUFF_CREATE_AMOUNT": 182,
2628
+ "tecXCHAIN_ACCOUNT_CREATE_PAST": 183,
2629
+ "tecXCHAIN_ACCOUNT_CREATE_TOO_MANY": 184,
2630
+ "tecXCHAIN_PAYMENT_FAILED": 185,
2631
+ "tecXCHAIN_SELF_COMMIT": 186
1938
2632
  },
1939
2633
  "TRANSACTION_TYPES": {
1940
2634
  "Invalid": -1,
1941
-
1942
2635
  "Payment": 0,
1943
2636
  "EscrowCreate": 1,
1944
2637
  "EscrowFinish": 2,
@@ -1961,11 +2654,19 @@
1961
2654
  "DepositPreauth": 19,
1962
2655
  "TrustSet": 20,
1963
2656
  "AccountDelete": 21,
2657
+ "SetHook": 22,
1964
2658
  "NFTokenMint": 25,
1965
2659
  "NFTokenBurn": 26,
1966
2660
  "NFTokenCreateOffer": 27,
1967
2661
  "NFTokenCancelOffer": 28,
1968
2662
  "NFTokenAcceptOffer": 29,
2663
+ "XChainCreateBridge": 40,
2664
+ "XChainCreateClaimID": 41,
2665
+ "XChainCommit": 42,
2666
+ "XChainClaim": 43,
2667
+ "XChainAccountCreateCommit": 44,
2668
+ "XChainAddAttestation": 45,
2669
+ "XChainModifyBridge": 46,
1969
2670
  "EnableAmendment": 100,
1970
2671
  "SetFee": 101,
1971
2672
  "UNLModify": 102