Files
xrpl-hooks-ide/patches/ripple-binary-codec+1.4.2.patch
2023-06-15 06:35:26 +00:00

1935 lines
39 KiB
Diff

diff --git a/node_modules/ripple-binary-codec/dist/enums/definitions.json b/node_modules/ripple-binary-codec/dist/enums/definitions.json
index 6a82327..717c4ef 100644
--- a/node_modules/ripple-binary-codec/dist/enums/definitions.json
+++ b/node_modules/ripple-binary-codec/dist/enums/definitions.json
@@ -1,29 +1,32 @@
{
"TYPES": {
- "Validation": 10003,
"Done": -1,
+ "Unknown": -2,
+ "NotPresent": 0,
+ "UInt16": 1,
+ "UInt32": 2,
+ "UInt64": 3,
"Hash128": 4,
+ "Hash256": 5,
+ "Amount": 6,
"Blob": 7,
"AccountID": 8,
- "Amount": 6,
- "Hash256": 5,
- "UInt8": 16,
- "Vector256": 19,
"STObject": 14,
- "Unknown": -2,
- "Transaction": 10001,
+ "STArray": 15,
+ "UInt8": 16,
"Hash160": 17,
"PathSet": 18,
+ "Vector256": 19,
+ "UInt96": 20,
+ "UInt192": 21,
+ "UInt384": 22,
+ "UInt512": 23,
+ "Transaction": 10001,
"LedgerEntry": 10002,
- "UInt16": 1,
- "NotPresent": 0,
- "UInt64": 3,
- "UInt32": 2,
- "STArray": 15
+ "Validation": 10003,
+ "Metadata": 10004
},
"LEDGER_ENTRY_TYPES": {
- "Any": -3,
- "Child": -2,
"Invalid": -1,
"AccountRoot": 97,
"DirectoryNode": 100,
@@ -36,13 +39,21 @@
"FeeSettings": 115,
"Escrow": 117,
"PayChannel": 120,
- "DepositPreauth": 112,
"Check": 67,
- "Nickname": 110,
- "Contract": 99,
+ "DepositPreauth": 112,
+ "NegativeUNL": 78,
"NFTokenPage": 80,
"NFTokenOffer": 55,
- "NegativeUNL": 78
+ "URIToken": 85,
+ "Any": -3,
+ "Child": -2,
+ "Nickname": 110,
+ "Contract": 99,
+ "GeneratorMap": 103,
+ "Hook": 72,
+ "HookState": 118,
+ "HookDefinition": 68,
+ "EmittedTxn": 69
},
"FIELDS": [
[
@@ -65,6 +76,166 @@
"type": "Unknown"
}
],
+ [
+ "ObjectEndMarker",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "STObject"
+ }
+ ],
+ [
+ "ArrayEndMarker",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "STArray"
+ }
+ ],
+ [
+ "hash",
+ {
+ "nth": 257,
+ "isVLEncoded": false,
+ "isSerialized": false,
+ "isSigningField": false,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "index",
+ {
+ "nth": 258,
+ "isVLEncoded": false,
+ "isSerialized": false,
+ "isSigningField": false,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "taker_gets_funded",
+ {
+ "nth": 258,
+ "isVLEncoded": false,
+ "isSerialized": false,
+ "isSigningField": false,
+ "type": "Amount"
+ }
+ ],
+ [
+ "taker_pays_funded",
+ {
+ "nth": 259,
+ "isVLEncoded": false,
+ "isSerialized": false,
+ "isSigningField": false,
+ "type": "Amount"
+ }
+ ],
+ [
+ "LedgerEntry",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": false,
+ "isSigningField": true,
+ "type": "LedgerEntry"
+ }
+ ],
+ [
+ "Transaction",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": false,
+ "isSigningField": true,
+ "type": "Transaction"
+ }
+ ],
+ [
+ "Validation",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": false,
+ "isSigningField": true,
+ "type": "Validation"
+ }
+ ],
+ [
+ "Metadata",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Metadata"
+ }
+ ],
+ [
+ "CloseResolution",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt8"
+ }
+ ],
+ [
+ "Method",
+ {
+ "nth": 2,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt8"
+ }
+ ],
+ [
+ "TransactionResult",
+ {
+ "nth": 3,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt8"
+ }
+ ],
+ [
+ "TickSize",
+ {
+ "nth": 16,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt8"
+ }
+ ],
+ [
+ "UNLModifyDisabling",
+ {
+ "nth": 17,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt8"
+ }
+ ],
+ [
+ "HookResult",
+ {
+ "nth": 18,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt8"
+ }
+ ],
[
"LedgerEntryType",
{
@@ -105,6 +276,66 @@
"type": "UInt16"
}
],
+ [
+ "Version",
+ {
+ "nth": 16,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt16"
+ }
+ ],
+ [
+ "HookStateChangeCount",
+ {
+ "nth": 17,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt16"
+ }
+ ],
+ [
+ "HookEmitCount",
+ {
+ "nth": 18,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt16"
+ }
+ ],
+ [
+ "HookExecutionIndex",
+ {
+ "nth": 19,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt16"
+ }
+ ],
+ [
+ "HookApiVersion",
+ {
+ "nth": 20,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt16"
+ }
+ ],
+ [
+ "NetworkID",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt32"
+ }
+ ],
[
"Flags",
{
@@ -456,27 +687,147 @@
}
],
[
- "IndexNext",
+ "SignerListID",
{
- "nth": 1,
+ "nth": 38,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "UInt32"
}
],
[
- "IndexPrevious",
+ "SettleDelay",
{
- "nth": 2,
+ "nth": 39,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "UInt32"
}
],
[
- "BookNode",
+ "TicketCount",
+ {
+ "nth": 40,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt32"
+ }
+ ],
+ [
+ "TicketSequence",
+ {
+ "nth": 41,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt32"
+ }
+ ],
+ [
+ "NFTokenTaxon",
+ {
+ "nth": 42,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt32"
+ }
+ ],
+ [
+ "MintedNFTokens",
+ {
+ "nth": 43,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt32"
+ }
+ ],
+ [
+ "BurnedNFTokens",
+ {
+ "nth": 44,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt32"
+ }
+ ],
+ [
+ "HookStateCount",
+ {
+ "nth": 45,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt32"
+ }
+ ],
+ [
+ "EmitGeneration",
+ {
+ "nth": 46,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt32"
+ }
+ ],
+ [
+ "LockCount",
+ {
+ "nth": 49,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt32"
+ }
+ ],
+ [
+ "FirstNFTokenSequence",
+ {
+ "nth": 50,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt32"
+ }
+ ],
+ [
+ "ImportSequence",
+ {
+ "nth": 97,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt32"
+ }
+ ],
+ [
+ "IndexNext",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt64"
+ }
+ ],
+ [
+ "IndexPrevious",
+ {
+ "nth": 2,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt64"
+ }
+ ],
+ [
+ "BookNode",
{
"nth": 3,
"isVLEncoded": false,
@@ -535,6 +886,86 @@
"type": "UInt64"
}
],
+ [
+ "DestinationNode",
+ {
+ "nth": 9,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt64"
+ }
+ ],
+ [
+ "Cookie",
+ {
+ "nth": 10,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt64"
+ }
+ ],
+ [
+ "ServerVersion",
+ {
+ "nth": 11,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt64"
+ }
+ ],
+ [
+ "NFTokenOfferNode",
+ {
+ "nth": 12,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt64"
+ }
+ ],
+ [
+ "EmitBurden",
+ {
+ "nth": 13,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt64"
+ }
+ ],
+ [
+ "HookInstructionCount",
+ {
+ "nth": 17,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt64"
+ }
+ ],
+ [
+ "HookReturnCode",
+ {
+ "nth": 18,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt64"
+ }
+ ],
+ [
+ "ReferenceCount",
+ {
+ "nth": 19,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt64"
+ }
+ ],
[
"EmailHash",
{
@@ -545,6 +976,46 @@
"type": "Hash128"
}
],
+ [
+ "TakerPaysCurrency",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash160"
+ }
+ ],
+ [
+ "TakerPaysIssuer",
+ {
+ "nth": 2,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash160"
+ }
+ ],
+ [
+ "TakerGetsCurrency",
+ {
+ "nth": 3,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash160"
+ }
+ ],
+ [
+ "TakerGetsIssuer",
+ {
+ "nth": 4,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash160"
+ }
+ ],
[
"LedgerHash",
{
@@ -645,6 +1116,36 @@
"type": "Hash256"
}
],
+ [
+ "EmitParentTxnID",
+ {
+ "nth": 11,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "EmitNonce",
+ {
+ "nth": 12,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "EmitHookHash",
+ {
+ "nth": 13,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
[
"BookDirectory",
{
@@ -686,7 +1187,7 @@
}
],
[
- "TicketID",
+ "HookOn",
{
"nth": 20,
"isVLEncoded": false,
@@ -706,22 +1207,152 @@
}
],
[
- "hash",
+ "Channel",
{
- "nth": 257,
+ "nth": 22,
"isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
+ "isSerialized": true,
+ "isSigningField": true,
"type": "Hash256"
}
],
[
- "index",
+ "ConsensusHash",
{
- "nth": 258,
+ "nth": 23,
"isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "CheckID",
+ {
+ "nth": 24,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "ValidatedHash",
+ {
+ "nth": 25,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "PreviousPageMin",
+ {
+ "nth": 26,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "NextPageMin",
+ {
+ "nth": 27,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "NFTokenBuyOffer",
+ {
+ "nth": 28,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "NFTokenSellOffer",
+ {
+ "nth": 29,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "HookStateKey",
+ {
+ "nth": 30,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "HookHash",
+ {
+ "nth": 31,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "HookNamespace",
+ {
+ "nth": 32,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "HookSetTxnID",
+ {
+ "nth": 33,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "OfferID",
+ {
+ "nth": 34,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "EscrowID",
+ {
+ "nth": 35,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "URITokenID",
+ {
+ "nth": 36,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
"type": "Hash256"
}
],
@@ -826,9 +1457,39 @@
}
],
[
- "MinimumOffer",
+ "MinimumOffer",
+ {
+ "nth": 16,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Amount"
+ }
+ ],
+ [
+ "RippleEscrow",
+ {
+ "nth": 17,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Amount"
+ }
+ ],
+ [
+ "DeliveredAmount",
+ {
+ "nth": 18,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Amount"
+ }
+ ],
+ [
+ "NFTokenBrokerFee",
{
- "nth": 16,
+ "nth": 19,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
@@ -836,9 +1497,9 @@
}
],
[
- "RippleEscrow",
+ "HookCallbackFee",
{
- "nth": 17,
+ "nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
@@ -846,9 +1507,9 @@
}
],
[
- "DeliveredAmount",
+ "LockedBalance",
{
- "nth": 18,
+ "nth": 21,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
@@ -856,9 +1517,9 @@
}
],
[
- "NFTokenBrokerFee",
+ "BaseFeeDrops",
{
- "nth": 19,
+ "nth": 22,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
@@ -866,22 +1527,22 @@
}
],
[
- "taker_gets_funded",
+ "ReserveBaseDrops",
{
- "nth": 258,
+ "nth": 23,
"isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
+ "isSerialized": true,
+ "isSigningField": true,
"type": "Amount"
}
],
[
- "taker_pays_funded",
+ "ReserveIncrementDrops",
{
- "nth": 259,
+ "nth": 24,
"isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
+ "isSerialized": true,
+ "isSigningField": true,
"type": "Amount"
}
],
@@ -1086,59 +1747,59 @@
}
],
[
- "Account",
+ "HookStateData",
{
- "nth": 1,
+ "nth": 22,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "AccountID"
+ "type": "Blob"
}
],
[
- "Owner",
+ "HookReturnString",
{
- "nth": 2,
+ "nth": 23,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "AccountID"
+ "type": "Blob"
}
],
[
- "Destination",
+ "HookParameterName",
{
- "nth": 3,
+ "nth": 24,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "AccountID"
+ "type": "Blob"
}
],
[
- "Issuer",
+ "HookParameterValue",
{
- "nth": 4,
+ "nth": 25,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "AccountID"
+ "type": "Blob"
}
],
[
- "Authorize",
+ "Blob",
{
- "nth": 5,
+ "nth": 26,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "AccountID"
+ "type": "Blob"
}
],
[
- "Unauthorize",
+ "Account",
{
- "nth": 6,
+ "nth": 1,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
@@ -1146,9 +1807,9 @@
}
],
[
- "Target",
+ "Owner",
{
- "nth": 7,
+ "nth": 2,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
@@ -1156,9 +1817,9 @@
}
],
[
- "RegularKey",
+ "Destination",
{
- "nth": 8,
+ "nth": 3,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
@@ -1166,9 +1827,9 @@
}
],
[
- "NFTokenMinter",
+ "Issuer",
{
- "nth": 9,
+ "nth": 4,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
@@ -1176,623 +1837,473 @@
}
],
[
- "ObjectEndMarker",
- {
- "nth": 1,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STObject"
- }
- ],
- [
- "TransactionMetaData",
- {
- "nth": 2,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STObject"
- }
- ],
- [
- "CreatedNode",
- {
- "nth": 3,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STObject"
- }
- ],
- [
- "DeletedNode",
- {
- "nth": 4,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STObject"
- }
- ],
- [
- "ModifiedNode",
+ "Authorize",
{
"nth": 5,
- "isVLEncoded": false,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "AccountID"
}
],
[
- "PreviousFields",
+ "Unauthorize",
{
"nth": 6,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STObject"
- }
- ],
- [
- "FinalFields",
- {
- "nth": 7,
- "isVLEncoded": false,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "AccountID"
}
],
[
- "NewFields",
+ "RegularKey",
{
"nth": 8,
- "isVLEncoded": false,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "AccountID"
}
],
[
- "TemplateEntry",
+ "NFTokenMinter",
{
"nth": 9,
- "isVLEncoded": false,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "AccountID"
}
],
[
- "Memo",
+ "EmitCallback",
{
"nth": 10,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STObject"
- }
- ],
- [
- "SignerEntry",
- {
- "nth": 11,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STObject"
- }
- ],
- [
- "NFToken",
- {
- "nth": 12,
- "isVLEncoded": false,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "AccountID"
}
],
[
- "Signer",
+ "HookAccount",
{
"nth": 16,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STObject"
- }
- ],
- [
- "Majority",
- {
- "nth": 18,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STObject"
- }
- ],
- [
- "DisabledValidator",
- {
- "nth": 19,
- "isVLEncoded": false,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "AccountID"
}
],
[
- "ArrayEndMarker",
+ "Indexes",
{
"nth": 1,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STArray"
- }
- ],
- [
- "Signers",
- {
- "nth": 3,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": false,
- "type": "STArray"
- }
- ],
- [
- "SignerEntries",
- {
- "nth": 4,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STArray"
- }
- ],
- [
- "Template",
- {
- "nth": 5,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STArray"
- }
- ],
- [
- "Necessary",
- {
- "nth": 6,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STArray"
- }
- ],
- [
- "Sufficient",
- {
- "nth": 7,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STArray"
- }
- ],
- [
- "AffectedNodes",
- {
- "nth": 8,
- "isVLEncoded": false,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STArray"
+ "type": "Vector256"
}
],
[
- "Memos",
+ "Hashes",
{
- "nth": 9,
- "isVLEncoded": false,
+ "nth": 2,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STArray"
+ "type": "Vector256"
}
],
[
- "NFTokens",
+ "Amendments",
{
- "nth": 10,
- "isVLEncoded": false,
+ "nth": 3,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STArray"
+ "type": "Vector256"
}
],
[
- "Majorities",
+ "NFTokenOffers",
{
- "nth": 16,
- "isVLEncoded": false,
+ "nth": 4,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STArray"
+ "type": "Vector256"
}
],
[
- "DisabledValidators",
+ "HookNamespaces",
{
- "nth": 17,
- "isVLEncoded": false,
+ "nth": 5,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STArray"
+ "type": "Vector256"
}
],
[
- "CloseResolution",
+ "Paths",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt8"
+ "type": "PathSet"
}
],
[
- "Method",
+ "TransactionMetaData",
{
"nth": 2,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt8"
+ "type": "STObject"
}
],
[
- "TransactionResult",
+ "CreatedNode",
{
"nth": 3,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt8"
+ "type": "STObject"
}
],
[
- "TakerPaysCurrency",
+ "DeletedNode",
{
- "nth": 1,
+ "nth": 4,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash160"
+ "type": "STObject"
}
],
[
- "TakerPaysIssuer",
+ "ModifiedNode",
{
- "nth": 2,
+ "nth": 5,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash160"
+ "type": "STObject"
}
],
[
- "TakerGetsCurrency",
+ "PreviousFields",
{
- "nth": 3,
+ "nth": 6,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash160"
+ "type": "STObject"
}
],
[
- "TakerGetsIssuer",
+ "FinalFields",
{
- "nth": 4,
+ "nth": 7,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash160"
+ "type": "STObject"
}
],
[
- "Paths",
+ "NewFields",
{
- "nth": 1,
+ "nth": 8,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "PathSet"
+ "type": "STObject"
}
],
[
- "Indexes",
+ "TemplateEntry",
{
- "nth": 1,
- "isVLEncoded": true,
+ "nth": 9,
+ "isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Vector256"
+ "type": "STObject"
}
],
[
- "Hashes",
+ "Memo",
{
- "nth": 2,
- "isVLEncoded": true,
+ "nth": 10,
+ "isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Vector256"
+ "type": "STObject"
}
],
[
- "Amendments",
+ "SignerEntry",
{
- "nth": 3,
- "isVLEncoded": true,
+ "nth": 11,
+ "isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Vector256"
+ "type": "STObject"
}
],
[
- "NFTokenOffers",
+ "NFToken",
{
- "nth": 4,
- "isVLEncoded": true,
+ "nth": 12,
+ "isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Vector256"
+ "type": "STObject"
}
],
[
- "Transaction",
+ "EmitDetails",
{
- "nth": 1,
+ "nth": 13,
"isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
- "type": "Transaction"
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "STObject"
}
],
[
- "LedgerEntry",
+ "Hook",
{
- "nth": 1,
+ "nth": 14,
"isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
- "type": "LedgerEntry"
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "STObject"
}
],
[
- "Validation",
+ "Signer",
{
- "nth": 1,
+ "nth": 16,
"isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
- "type": "Validation"
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "STObject"
}
],
[
- "SignerListID",
+ "Majority",
{
- "nth": 38,
+ "nth": 18,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STObject"
}
],
[
- "SettleDelay",
+ "DisabledValidator",
{
- "nth": 39,
+ "nth": 19,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STObject"
}
],
[
- "TicketCount",
+ "EmittedTxn",
{
- "nth": 40,
+ "nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STObject"
}
],
[
- "TicketSequence",
+ "HookExecution",
{
- "nth": 41,
+ "nth": 21,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STObject"
}
],
[
- "NFTokenTaxon",
+ "HookDefinition",
{
- "nth": 42,
+ "nth": 22,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STObject"
}
],
[
- "MintedNFTokens",
+ "HookParameter",
{
- "nth": 43,
+ "nth": 23,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STObject"
}
],
[
- "BurnedNFTokens",
+ "HookGrant",
{
- "nth": 44,
+ "nth": 24,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STObject"
}
],
[
- "Channel",
+ "Signers",
{
- "nth": 22,
+ "nth": 3,
"isVLEncoded": false,
"isSerialized": true,
- "isSigningField": true,
- "type": "Hash256"
+ "isSigningField": false,
+ "type": "STArray"
}
],
[
- "ConsensusHash",
+ "SignerEntries",
{
- "nth": 23,
+ "nth": 4,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "STArray"
}
],
[
- "CheckID",
+ "Template",
{
- "nth": 24,
+ "nth": 5,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "STArray"
}
],
[
- "ValidatedHash",
+ "Necessary",
{
- "nth": 25,
+ "nth": 6,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "STArray"
}
],
[
- "PreviousPageMin",
+ "Sufficient",
{
- "nth": 26,
+ "nth": 7,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "STArray"
}
],
[
- "NextPageMin",
+ "AffectedNodes",
{
- "nth": 27,
+ "nth": 8,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "STArray"
}
],
[
- "NFTokenBuyOffer",
+ "Memos",
{
- "nth": 28,
+ "nth": 9,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "STArray"
}
],
[
- "NFTokenSellOffer",
+ "NFTokens",
{
- "nth": 29,
+ "nth": 10,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "STArray"
}
],
[
- "TickSize",
+ "Hooks",
{
- "nth": 16,
+ "nth": 11,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt8"
+ "type": "STArray"
}
],
[
- "UNLModifyDisabling",
+ "Majorities",
{
- "nth": 17,
+ "nth": 16,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt8"
+ "type": "STArray"
}
],
[
- "DestinationNode",
+ "DisabledValidators",
{
- "nth": 9,
+ "nth": 17,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "STArray"
}
],
[
- "Cookie",
+ "HookExecutions",
{
- "nth": 10,
+ "nth": 18,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "STArray"
}
],
[
- "ServerVersion",
+ "HookParameters",
{
- "nth": 11,
+ "nth": 19,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "STArray"
}
],
[
- "NFTokenOfferNode",
+ "HookGrants",
{
- "nth": 12,
+ "nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "STArray"
}
]
],
@@ -1810,6 +2321,12 @@
"telCAN_NOT_QUEUE_BLOCKED": -389,
"telCAN_NOT_QUEUE_FEE": -388,
"telCAN_NOT_QUEUE_FULL": -387,
+ "telWRONG_NETWORK": -386,
+ "telREQUIRES_NETWORK_ID": -385,
+ "telNETWORK_ID_MAKES_TX_NON_CANONICAL": -384,
+ "telNON_LOCAL_EMITTED_TXN": -383,
+ "telIMPORT_VL_KEY_NOT_RECOGNISED": -382,
+ "telCAN_NOT_QUEUE_IMPORT": -381,
"temMALFORMED": -299,
"temBAD_AMOUNT": -298,
@@ -1844,10 +2361,21 @@
"temBAD_TICK_SIZE": -269,
"temINVALID_ACCOUNT_ID": -268,
"temCANNOT_PREAUTH_SELF": -267,
- "temUNCERTAIN": -266,
- "temUNKNOWN": -265,
- "temSEQ_AND_TICKET": -264,
- "temBAD_NFTOKEN_TRANSFER_FEE": -263,
+ "temINVALID_COUNT": -266,
+ "temUNCERTAIN": -265,
+ "temUNKNOWN": -264,
+ "temSEQ_AND_TICKET": -263,
+ "temBAD_NFTOKEN_TRANSFER_FEE": -262,
+ "temAMM_BAD_TOKENS": -261,
+ "temXCHAIN_EQUAL_DOOR_ACCOUNTS": -260,
+ "temXCHAIN_BAD_PROOF": -259,
+ "temXCHAIN_BRIDGE_BAD_ISSUES": -258,
+ "temXCHAIN_BRIDGE_NONDOOR_OWNER": -257,
+ "temXCHAIN_BRIDGE_BAD_MIN_ACCOUNT_CREATE_AMOUNT": -256,
+ "temXCHAIN_BRIDGE_BAD_REWARD_AMOUNT": -255,
+ "temXCHAIN_TOO_MANY_ATTESTATIONS": -254,
+ "temHOOK_DATA_TOO_LARGE": -253,
+ "temHOOK_REJECTED": -252,
"tefFAILURE": -199,
"tefALREADY": -198,
@@ -1870,6 +2398,7 @@
"tefTOO_BIG": -181,
"tefNO_TICKET": -180,
"tefNFTOKEN_IS_NOT_TRANSFERABLE": -179,
+ "tefPAST_IMPORT_SEQ": -178,
"terRETRY": -99,
"terFUNDS_SPENT": -98,
@@ -1883,6 +2412,8 @@
"terNO_RIPPLE": -90,
"terQUEUED": -89,
"terPRE_TICKET": -88,
+ "terNO_AMM": -87,
+ "terNO_HOOK": -86,
"tesSUCCESS": 0,
@@ -1924,7 +2455,7 @@
"tecKILLED": 150,
"tecHAS_OBLIGATIONS": 151,
"tecTOO_SOON": 152,
-
+ "tecHOOK_REJECTED": 153,
"tecMAX_SEQUENCE_REACHED": 154,
"tecNO_SUITABLE_NFTOKEN_PAGE": 155,
"tecNFTOKEN_BUY_SELL_MISMATCH": 156,
@@ -1933,12 +2464,35 @@
"tecINSUFFICIENT_FUNDS": 159,
"tecOBJECT_NOT_FOUND": 160,
"tecINSUFFICIENT_PAYMENT": 161,
- "tecINCORRECT_ASSET": 162,
- "tecTOO_MANY": 163
+ "tecAMM_UNFUNDED": 162,
+ "tecAMM_BALANCE": 163,
+ "tecAMM_FAILED_DEPOSIT": 164,
+ "tecAMM_FAILED_WITHDRAW": 165,
+ "tecAMM_INVALID_TOKENS": 166,
+ "tecAMM_FAILED_BID": 167,
+ "tecAMM_FAILED_VOTE": 168,
+ "tecREQUIRES_FLAG": 169,
+ "tecPRECISION_LOSS": 170,
+ "tecBAD_XCHAIN_TRANSFER_ISSUE": 171,
+ "tecXCHAIN_NO_CLAIM_ID": 172,
+ "tecXCHAIN_BAD_CLAIM_ID": 173,
+ "tecXCHAIN_CLAIM_NO_QUORUM": 174,
+ "tecXCHAIN_PROOF_UNKNOWN_KEY": 175,
+ "tecXCHAIN_CREATE_ACCOUNT_NONXRP_ISSUE": 176,
+ "tecXCHAIN_WRONG_CHAIN": 177,
+ "tecXCHAIN_REWARD_MISMATCH": 178,
+ "tecXCHAIN_NO_SIGNERS_LIST": 179,
+ "tecXCHAIN_SENDING_ACCOUNT_MISMATCH": 180,
+ "tecXCHAIN_INSUFF_CREATE_AMOUNT": 181,
+ "tecXCHAIN_ACCOUNT_CREATE_PAST": 182,
+ "tecXCHAIN_ACCOUNT_CREATE_TOO_MANY": 183,
+ "tecXCHAIN_PAYMENT_FAILED": 184,
+ "tecXCHAIN_SELF_COMMIT": 185,
+ "tecXCHAIN_BAD_PUBLIC_KEY_ACCOUNT_PAIR": 186,
+ "tecLAST_POSSIBLE_ENTRY": 255
},
"TRANSACTION_TYPES": {
"Invalid": -1,
-
"Payment": 0,
"EscrowCreate": 1,
"EscrowFinish": 2,
@@ -1961,13 +2515,22 @@
"DepositPreauth": 19,
"TrustSet": 20,
"AccountDelete": 21,
+ "SetHook": 22,
"NFTokenMint": 25,
"NFTokenBurn": 26,
"NFTokenCreateOffer": 27,
"NFTokenCancelOffer": 28,
"NFTokenAcceptOffer": 29,
+ "URITokenMint": 45,
+ "URITokenBurn": 46,
+ "URITokenBuy": 47,
+ "URITokenCreateSellOffer": 48,
+ "URITokenCancelSellOffer": 49,
+ "Import": 97,
+ "Invoke": 99,
"EnableAmendment": 100,
"SetFee": 101,
- "UNLModify": 102
+ "UNLModify": 102,
+ "EmitFailure": 103
}
}