diff --git a/content/transactions.json b/content/transactions.json index 230c4e4..2b94643 100644 --- a/content/transactions.json +++ b/content/transactions.json @@ -82,50 +82,6 @@ "Fulfillment": "A0028000", "Fee": "10" }, - { - "TransactionType": "NFTokenMint", - "Account": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", - "Fee": "10", - "NFTokenTaxon": 0, - "URI": "697066733A2F2F516D614374444B5A4656767666756676626479346573745A626851483744586831364354707631686F776D424779" - }, - { - "TransactionType": "NFTokenBurn", - "Account": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", - "Fee": "10", - "NFTokenID": "000B013A95F14B0044F78A264E41713C64B5F89242540EE208C3098E00000D65" - }, - { - "TransactionType": "NFTokenAcceptOffer", - "Account": "rvYAfWj5gh67oV6fW32ZzP3Aw4Eubs59B", - "Fee": "10", - "NFTokenSellOffer": "A2FA1A9911FE2AEF83DAB05F437768E26A301EF899BD31EB85E704B3D528FF18", - "NFTokenBuyOffer": "4AAAEEA76E3C8148473CB3840CE637676E561FB02BD4CA22CA59729EA815B862", - "NFTokenBrokerFee": "10" - }, - { - "TransactionType": "NFTokenCancelOffer", - "Account": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX", - "Fee": "10", - "NFTokenOffers": { - "$type": "json", - "$value": [ - "4AAAEEA76E3C8148473CB3840CE637676E561FB02BD4CA22CA59729EA815B862" - ] - } - }, - { - "TransactionType": "NFTokenCreateOffer", - "Account": "rs8jBmmfpwgmrSPgwMsh7CvKRmRt1JTVSX", - "NFTokenID": "000100001E962F495F07A990F4ED55ACCFEEF365DBAA76B6A048C0A200000007", - "Amount": { - "$value": "100", - "$type": "xrp" - }, - "Flags": "1", - "Destination": "", - "Fee": "10" - }, { "TransactionType": "OfferCancel", "Account": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX", @@ -251,8 +207,47 @@ "Fee": "12" }, { - "TransactionType": "UriToken", - "Fee": "12", - "URI": "697066733A2F2F516D614374444B5A4656767666756676626479346573745A626851483744586831364354707631686F776D424779" + "TransactionType": "URITokenMint", + "Account": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX", + "URI": "697066733A2F2F434944", + "Fee": "10", + "Sequence": 1 + }, + { + "TransactionType": "URITokenBurn", + "Account": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX", + "URITokenID": "B792B56B558C89C4E942E41B5DB66074E005CB198DB70C26C707AAC2FF5F74CB", + "Fee": "10", + "Sequence": 1 + }, + { + "TransactionType": "URITokenCreateSellOffer", + "Account": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX", + "URITokenID": "B792B56B558C89C4E942E41B5DB66074E005CB198DB70C26C707AAC2FF5F74CB", + "Destination": "rf1BiGeXwwQoi8Z2ueFYTEXSwuJYfV2Jpn", + "Amount": { + "$value": "100", + "$type": "xrp" + }, + "Fee": "10", + "Sequence": 1 + }, + { + "TransactionType": "URITokenCancelSellOffer", + "Account": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX", + "URITokenID": "B792B56B558C89C4E942E41B5DB66074E005CB198DB70C26C707AAC2FF5F74CB", + "Fee": "10", + "Sequence": 1 + }, + { + "TransactionType": "URITokenBuy", + "Account": "ra5nK24KXen9AHvsdFTKHSANinZseWnPcX", + "URITokenID": "B792B56B558C89C4E942E41B5DB66074E005CB198DB70C26C707AAC2FF5F74CB", + "Amount": { + "$value": "100", + "$type": "xrp" + }, + "Fee": "10", + "Sequence": 1 } ] \ No newline at end of file diff --git a/patches/ripple-binary-codec+1.4.2.patch b/patches/ripple-binary-codec+1.4.2.patch index f953f41..8326ad0 100644 --- a/patches/ripple-binary-codec+1.4.2.patch +++ b/patches/ripple-binary-codec+1.4.2.patch @@ -1,662 +1,315 @@ diff --git a/node_modules/ripple-binary-codec/dist/enums/definitions.json b/node_modules/ripple-binary-codec/dist/enums/definitions.json -index 6a82327..ccc7615 100644 +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,1826 +1,2394 @@ +@@ -1,29 +1,32 @@ { -- "TYPES": { + "TYPES": { - "Validation": 10003, -- "Done": -1, -- "Hash128": 4, -- "Blob": 7, -- "AccountID": 8, + "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, + "STObject": 14, - "Unknown": -2, - "Transaction": 10001, -- "Hash160": 17, -- "PathSet": 18, -- "LedgerEntry": 10002, ++ "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 -- }, -- "LEDGER_ENTRY_TYPES": { ++ "Validation": 10003, ++ "Metadata": 10004 + }, + "LEDGER_ENTRY_TYPES": { - "Any": -3, - "Child": -2, -- "Invalid": -1, -- "AccountRoot": 97, -- "DirectoryNode": 100, -- "RippleState": 114, -- "Ticket": 84, -- "SignerList": 83, -- "Offer": 111, -- "LedgerHashes": 104, -- "Amendments": 102, -- "FeeSettings": 115, -- "Escrow": 117, -- "PayChannel": 120, + "Invalid": -1, + "AccountRoot": 97, + "DirectoryNode": 100, +@@ -36,13 +39,21 @@ + "FeeSettings": 115, + "Escrow": 117, + "PayChannel": 120, - "DepositPreauth": 112, -- "Check": 67, + "Check": 67, - "Nickname": 110, - "Contract": 99, -- "NFTokenPage": 80, -- "NFTokenOffer": 55, ++ "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": [ [ - "Generic", - { -- "nth": 0, -- "isVLEncoded": false, - "isSerialized": false, - "isSigningField": false, -+ "isVLEncoded": false, -+ "nth": 0, +@@ -65,6 +76,166 @@ "type": "Unknown" } ], - [ - "Invalid", - { -- "nth": -1, -- "isVLEncoded": false, - "isSerialized": false, - "isSigningField": false, -+ "isVLEncoded": false, -+ "nth": -1, - "type": "Unknown" - } - ], - [ -- "LedgerEntryType", ++ [ + "ObjectEndMarker", + { -+ "isSerialized": false, -+ "isSigningField": true, -+ "isVLEncoded": false, + "nth": 1, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "STObject" + } + ], + [ + "ArrayEndMarker", - { -+ "isSerialized": false, -+ "isSigningField": true, ++ { ++ "nth": 1, + "isVLEncoded": false, - "nth": 1, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "STArray" + } + ], + [ + "hash", + { ++ "nth": 257, ++ "isVLEncoded": false, + "isSerialized": false, + "isSigningField": false, -+ "isVLEncoded": false, -+ "nth": 257, + "type": "Hash256" + } + ], + [ + "index", + { ++ "nth": 258, ++ "isVLEncoded": false, + "isSerialized": false, + "isSigningField": false, -+ "isVLEncoded": false, -+ "nth": 258, + "type": "Hash256" + } + ], + [ + "taker_gets_funded", + { ++ "nth": 258, ++ "isVLEncoded": false, + "isSerialized": false, + "isSigningField": false, -+ "isVLEncoded": false, -+ "nth": 258, + "type": "Amount" + } + ], + [ + "taker_pays_funded", + { ++ "nth": 259, ++ "isVLEncoded": false, + "isSerialized": false, + "isSigningField": false, - "isVLEncoded": false, -+ "nth": 259, + "type": "Amount" + } + ], + [ -+ "LedgerEntryType", ++ "LedgerEntry", + { - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, + "nth": 1, - "type": "UInt16" - } - ], - [ - "TransactionType", - { -- "nth": 2, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, + "isVLEncoded": false, -+ "nth": 2, - "type": "UInt16" - } - ], - [ - "SignerWeight", - { -- "nth": 3, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 3, - "type": "UInt16" - } - ], - [ - "TransferFee", - { -+ "isSerialized": true, ++ "isSerialized": false, + "isSigningField": true, -+ "isVLEncoded": false, - "nth": 4, -+ "type": "UInt16" ++ "type": "LedgerEntry" + } + ], + [ -+ "Version", ++ "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, - "isVLEncoded": false, ++ "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", + { - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, + "nth": 17, - "type": "UInt16" - } - ], - [ -- "Flags", -+ "HookEmitCount", - { -- "nth": 2, ++ "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, -+ "isVLEncoded": false, ++ "type": "UInt16" ++ } ++ ], ++ [ ++ "HookEmitCount", ++ { + "nth": 18, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt16" + } + ], + [ + "HookExecutionIndex", + { ++ "nth": 19, ++ "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 19, + "type": "UInt16" + } + ], + [ + "HookApiVersion", + { ++ "nth": 20, ++ "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 20, + "type": "UInt16" + } + ], + [ + "NetworkID", + { ++ "nth": 1, ++ "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, - "isVLEncoded": false, -+ "nth": 1, + "type": "UInt32" + } + ], -+ [ -+ "Flags", -+ { - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 2, - "type": "UInt32" - } - ], [ - "SourceTag", + "Flags", { -- "nth": 3, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 3, - "type": "UInt32" - } - ], - [ - "Sequence", - { -- "nth": 4, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 4, - "type": "UInt32" - } - ], - [ - "PreviousTxnLgrSeq", - { -- "nth": 5, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 5, - "type": "UInt32" - } - ], - [ - "LedgerSequence", - { -- "nth": 6, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 6, - "type": "UInt32" - } - ], - [ - "CloseTime", - { -- "nth": 7, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 7, - "type": "UInt32" - } - ], - [ - "ParentCloseTime", - { -- "nth": 8, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 8, - "type": "UInt32" - } - ], - [ - "SigningTime", - { -- "nth": 9, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 9, - "type": "UInt32" - } - ], - [ - "Expiration", - { -- "nth": 10, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 10, - "type": "UInt32" - } - ], - [ - "TransferRate", - { -- "nth": 11, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 11, - "type": "UInt32" - } - ], - [ - "WalletSize", - { -- "nth": 12, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 12, - "type": "UInt32" - } - ], - [ - "OwnerCount", - { -- "nth": 13, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 13, - "type": "UInt32" - } - ], - [ - "DestinationTag", - { -- "nth": 14, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 14, - "type": "UInt32" - } - ], - [ - "HighQualityIn", - { -- "nth": 16, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 16, - "type": "UInt32" - } - ], - [ - "HighQualityOut", - { -- "nth": 17, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 17, - "type": "UInt32" - } - ], - [ - "LowQualityIn", - { -- "nth": 18, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 18, - "type": "UInt32" - } - ], - [ - "LowQualityOut", - { -- "nth": 19, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 19, - "type": "UInt32" - } - ], - [ - "QualityIn", - { -- "nth": 20, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 20, - "type": "UInt32" - } - ], - [ - "QualityOut", - { -- "nth": 21, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 21, - "type": "UInt32" - } - ], - [ - "StampEscrow", - { -- "nth": 22, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 22, - "type": "UInt32" - } - ], - [ - "BondAmount", - { -- "nth": 23, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 23, - "type": "UInt32" - } - ], - [ - "LoadFee", - { -- "nth": 24, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 24, - "type": "UInt32" - } - ], - [ - "OfferSequence", - { -- "nth": 25, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 25, - "type": "UInt32" - } - ], - [ - "FirstLedgerSequence", - { -- "nth": 26, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 26, - "type": "UInt32" - } - ], - [ - "LastLedgerSequence", - { -- "nth": 27, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 27, - "type": "UInt32" - } - ], - [ - "TransactionIndex", - { -- "nth": 28, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 28, - "type": "UInt32" - } - ], - [ - "OperationLimit", - { -- "nth": 29, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 29, - "type": "UInt32" - } - ], - [ - "ReferenceFeeUnits", - { -- "nth": 30, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 30, - "type": "UInt32" - } - ], - [ - "ReserveBase", - { -- "nth": 31, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 31, - "type": "UInt32" - } - ], - [ - "ReserveIncrement", - { -- "nth": 32, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 32, - "type": "UInt32" - } - ], - [ - "SetFlag", - { -- "nth": 33, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 33, - "type": "UInt32" - } - ], - [ - "ClearFlag", - { -- "nth": 34, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 34, - "type": "UInt32" - } - ], - [ - "SignerQuorum", - { -- "nth": 35, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 35, - "type": "UInt32" - } - ], - [ - "CancelAfter", - { -- "nth": 36, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 36, - "type": "UInt32" - } - ], - [ - "FinishAfter", - { -- "nth": 37, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 37, - "type": "UInt32" +@@ -456,27 +687,147 @@ } ], [ @@ -664,12 +317,11 @@ index 6a82327..ccc7615 100644 + "SignerListID", { - "nth": 1, -- "isVLEncoded": false, ++ "nth": 38, + "isVLEncoded": false, "isSerialized": true, "isSigningField": true, - "type": "UInt64" -+ "isVLEncoded": false, -+ "nth": 38, + "type": "UInt32" } ], @@ -678,2627 +330,1605 @@ index 6a82327..ccc7615 100644 + "SettleDelay", { - "nth": 2, -- "isVLEncoded": false, ++ "nth": 39, + "isVLEncoded": false, "isSerialized": true, "isSigningField": true, - "type": "UInt64" -+ "isVLEncoded": false, -+ "nth": 39, + "type": "UInt32" } ], [ - "BookNode", + "TicketCount", - { -- "nth": 3, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt64" -+ "isVLEncoded": false, ++ { + "nth": 40, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt32" - } - ], - [ -- "OwnerNode", ++ } ++ ], ++ [ + "TicketSequence", - { -- "nth": 4, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt64" -+ "isVLEncoded": false, ++ { + "nth": 41, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt32" - } - ], - [ -- "BaseFee", ++ } ++ ], ++ [ + "NFTokenTaxon", - { -- "nth": 5, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt64" -+ "isVLEncoded": false, ++ { + "nth": 42, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt32" - } - ], - [ -- "ExchangeRate", ++ } ++ ], ++ [ + "MintedNFTokens", - { -- "nth": 6, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt64" -+ "isVLEncoded": false, ++ { + "nth": 43, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt32" - } - ], - [ -- "LowNode", ++ } ++ ], ++ [ + "BurnedNFTokens", - { -- "nth": 7, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt64" -+ "isVLEncoded": false, ++ { + "nth": 44, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt32" - } - ], - [ -- "HighNode", ++ } ++ ], ++ [ + "HookStateCount", - { -- "nth": 8, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt64" -+ "isVLEncoded": false, ++ { + "nth": 45, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt32" - } - ], - [ -- "EmailHash", ++ } ++ ], ++ [ + "EmitGeneration", - { -- "nth": 1, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash128" -+ "isVLEncoded": false, ++ { + "nth": 46, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt32" - } - ], - [ -- "LedgerHash", ++ } ++ ], ++ [ + "LockCount", - { -- "nth": 1, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" ++ { ++ "nth": 49, + "isVLEncoded": false, -+ "nth": 47, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt32" - } - ], - [ -- "ParentHash", -+ "RewardTime", - { -- "nth": 2, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" ++ } ++ ], ++ [ ++ "FirstNFTokenSequence", ++ { ++ "nth": 50, + "isVLEncoded": false, -+ "nth": 98, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt32" - } - ], - [ -- "TransactionHash", -+ "RewardLgrFirst", - { -- "nth": 3, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" ++ } ++ ], ++ [ ++ "ImportSequence", ++ { ++ "nth": 97, + "isVLEncoded": false, -+ "nth": 99, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt32" - } - ], - [ -- "AccountHash", -+ "RewardLgrLast", - { -- "nth": 4, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 100, -+ "type": "UInt32" - } - ], - [ -- "PreviousTxnID", ++ } ++ ], ++ [ + "IndexNext", - { -- "nth": 5, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, ++ { + "nth": 1, -+ "type": "UInt64" - } - ], - [ -- "LedgerIndex", -+ "IndexPrevious", - { -- "nth": 6, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" + "isVLEncoded": false, -+ "nth": 2, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt64" - } - ], - [ -- "WalletLocator", ++ } ++ ], ++ [ ++ "IndexPrevious", ++ { ++ "nth": 2, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, ++ "type": "UInt64" ++ } ++ ], ++ [ + "BookNode", { -- "nth": 7, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 3, -+ "type": "UInt64" + "nth": 3, + "isVLEncoded": false, +@@ -535,6 +886,86 @@ + "type": "UInt64" } ], - [ -- "RootIndex", -+ "OwnerNode", - { -- "nth": 8, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 4, -+ "type": "UInt64" - } - ], - [ -- "AccountTxnID", -+ "BaseFee", - { -- "nth": 9, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 5, -+ "type": "UInt64" - } - ], - [ -- "NFTokenID", -+ "ExchangeRate", - { -- "nth": 10, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 6, -+ "type": "UInt64" - } - ], - [ -- "BookDirectory", -+ "LowNode", - { -- "nth": 16, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 7, -+ "type": "UInt64" - } - ], - [ -- "InvoiceID", -+ "HighNode", - { -- "nth": 17, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 8, -+ "type": "UInt64" - } - ], - [ -- "Nickname", ++ [ + "DestinationNode", - { -- "nth": 18, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, ++ { + "nth": 9, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt64" - } - ], - [ -- "Amendment", ++ } ++ ], ++ [ + "Cookie", - { -- "nth": 19, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, ++ { + "nth": 10, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt64" - } - ], - [ -- "TicketID", ++ } ++ ], ++ [ + "ServerVersion", - { -- "nth": 20, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, ++ { + "nth": 11, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt64" - } - ], - [ -- "Digest", ++ } ++ ], ++ [ + "NFTokenOfferNode", - { -- "nth": 21, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, ++ { + "nth": 12, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt64" - } - ], - [ -- "hash", ++ } ++ ], ++ [ + "EmitBurden", - { -- "nth": 257, ++ { ++ "nth": 13, ++ "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, - "isVLEncoded": false, -- "isSerialized": false, -- "isSigningField": false, -- "type": "Hash256" -+ "nth": 13, + "type": "UInt64" - } - ], - [ -- "index", ++ } ++ ], ++ [ + "HookInstructionCount", - { -- "nth": 258, ++ { ++ "nth": 17, ++ "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, - "isVLEncoded": false, -- "isSerialized": false, -- "isSigningField": false, -- "type": "Hash256" -+ "nth": 17, + "type": "UInt64" - } - ], - [ -- "Amount", ++ } ++ ], ++ [ + "HookReturnCode", - { -- "nth": 1, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, ++ { + "nth": 18, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt64" - } - ], - [ -- "Balance", ++ } ++ ], ++ [ + "ReferenceCount", - { -- "nth": 2, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, ++ { + "nth": 19, ++ "isVLEncoded": false, ++ "isSerialized": true, ++ "isSigningField": true, + "type": "UInt64" - } - ], - [ -- "LimitAmount", -+ "RewardAccumulator", - { -- "nth": 3, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, -+ "nth": 100, -+ "type": "UInt64" - } - ], - [ -- "TakerPays", -+ "EmailHash", - { -- "nth": 4, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, -+ "nth": 1, -+ "type": "Hash128" - } - ], - [ -- "TakerGets", -+ "LedgerHash", - { -- "nth": 5, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, -+ "nth": 1, -+ "type": "Hash256" - } - ], - [ -- "LowLimit", -+ "ParentHash", - { -- "nth": 6, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, -+ "nth": 2, -+ "type": "Hash256" - } - ], - [ -- "HighLimit", -+ "TransactionHash", - { -- "nth": 7, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, -+ "nth": 3, -+ "type": "Hash256" - } - ], - [ -- "Fee", -+ "AccountHash", - { -- "nth": 8, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, -+ "nth": 4, -+ "type": "Hash256" - } - ], - [ -- "SendMax", -+ "PreviousTxnID", - { -- "nth": 9, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, -+ "nth": 5, -+ "type": "Hash256" - } - ], - [ -- "DeliverMin", -+ "LedgerIndex", - { -- "nth": 10, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, -+ "nth": 6, -+ "type": "Hash256" - } - ], - [ -- "MinimumOffer", -+ "WalletLocator", - { -- "nth": 16, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, -+ "nth": 7, -+ "type": "Hash256" - } - ], - [ -- "RippleEscrow", -+ "RootIndex", - { -- "nth": 17, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, -+ "nth": 8, -+ "type": "Hash256" - } - ], - [ -- "DeliveredAmount", -+ "AccountTxnID", - { -- "nth": 18, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, -+ "nth": 9, -+ "type": "Hash256" - } - ], - [ -- "NFTokenBrokerFee", -+ "NFTokenID", - { -- "nth": 19, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Amount" -+ "isVLEncoded": false, -+ "nth": 10, -+ "type": "Hash256" - } - ], - [ -- "taker_gets_funded", -+ "EmitParentTxnID", - { -- "nth": 258, -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -- "isSerialized": false, -- "isSigningField": false, -- "type": "Amount" -+ "nth": 11, -+ "type": "Hash256" - } - ], - [ -- "taker_pays_funded", -+ "EmitNonce", - { -- "nth": 259, -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -- "isSerialized": false, -- "isSigningField": false, -- "type": "Amount" -+ "nth": 12, -+ "type": "Hash256" - } - ], - [ -- "PublicKey", -+ "EmitHookHash", - { -- "nth": 1, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 13, -+ "type": "Hash256" - } - ], - [ -- "MessageKey", -+ "BookDirectory", - { -- "nth": 2, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 16, -+ "type": "Hash256" - } - ], - [ -- "SigningPubKey", -+ "InvoiceID", - { -- "nth": 3, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 17, -+ "type": "Hash256" - } - ], - [ -- "TxnSignature", -+ "Nickname", - { -- "nth": 4, -- "isVLEncoded": true, - "isSerialized": true, -- "isSigningField": false, -- "type": "Blob" -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 18, -+ "type": "Hash256" - } - ], - [ -- "URI", -+ "Amendment", - { -- "nth": 5, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 19, -+ "type": "Hash256" - } - ], - [ -- "Signature", -+ "HookOn", - { -- "nth": 6, -- "isVLEncoded": true, - "isSerialized": true, -- "isSigningField": false, -- "type": "Blob" -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 20, -+ "type": "Hash256" - } - ], - [ -- "Domain", -+ "Digest", - { -- "nth": 7, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 21, -+ "type": "Hash256" - } - ], - [ -- "FundCode", -+ "Channel", - { -- "nth": 8, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 22, -+ "type": "Hash256" - } - ], - [ -- "RemoveCode", -+ "ConsensusHash", - { -- "nth": 9, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 23, -+ "type": "Hash256" - } - ], - [ -- "ExpireCode", -+ "CheckID", - { -- "nth": 10, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 24, -+ "type": "Hash256" - } - ], - [ -- "CreateCode", -+ "ValidatedHash", - { -- "nth": 11, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 25, -+ "type": "Hash256" - } - ], - [ -- "MemoType", -+ "PreviousPageMin", - { -- "nth": 12, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 26, -+ "type": "Hash256" - } - ], - [ -- "MemoData", -+ "NextPageMin", - { -- "nth": 13, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 27, -+ "type": "Hash256" - } - ], - [ -- "MemoFormat", -+ "NFTokenBuyOffer", - { -- "nth": 14, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 28, -+ "type": "Hash256" - } - ], - [ -- "Fulfillment", -+ "NFTokenSellOffer", - { -- "nth": 16, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 29, -+ "type": "Hash256" - } - ], - [ -- "Condition", -+ "HookStateKey", - { -- "nth": 17, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 30, -+ "type": "Hash256" - } - ], - [ -- "MasterSignature", -+ "HookHash", - { -- "nth": 18, -- "isVLEncoded": true, - "isSerialized": true, -- "isSigningField": false, -- "type": "Blob" -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 31, -+ "type": "Hash256" - } - ], - [ -- "UNLModifyValidator", -+ "HookNamespace", - { -- "nth": 19, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 32, -+ "type": "Hash256" - } - ], - [ -- "ValidatorToDisable", -+ "HookSetTxnID", - { -- "nth": 20, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 33, -+ "type": "Hash256" - } - ], - [ -- "ValidatorToReEnable", -+ "OfferID", - { -- "nth": 21, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Blob" -+ "isVLEncoded": false, -+ "nth": 34, -+ "type": "Hash256" - } - ], - [ -- "Account", -+ "EscrowID", - { -- "nth": 1, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "AccountID" -+ "isVLEncoded": false, -+ "nth": 35, -+ "type": "Hash256" - } - ], - [ -- "Owner", -+ "URITokenID", - { -- "nth": 2, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "AccountID" -+ "isVLEncoded": false, -+ "nth": 36, -+ "type": "Hash256" - } - ], - [ -- "Destination", -+ "hash", - { -- "nth": 3, -- "isVLEncoded": true, - "isSerialized": true, -- "isSigningField": true, -- "type": "AccountID" -+ "isSigningField": false, -+ "isVLEncoded": false, -+ "nth": 1, -+ "type": "Hash256" - } - ], - [ -- "Issuer", -+ "index", - { -- "nth": 4, -- "isVLEncoded": true, - "isSerialized": true, -- "isSigningField": true, -- "type": "AccountID" -+ "isSigningField": false, -+ "isVLEncoded": false, -+ "nth": 2, -+ "type": "Hash256" - } - ], - [ -- "Authorize", -+ "Amount", - { -- "nth": 5, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "AccountID" -+ "isVLEncoded": false, -+ "nth": 1, -+ "type": "Amount" - } - ], - [ -- "Unauthorize", -+ "Balance", - { -- "nth": 6, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "AccountID" -+ "isVLEncoded": false, -+ "nth": 2, -+ "type": "Amount" - } - ], - [ -- "Target", -+ "LimitAmount", - { -- "nth": 7, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "AccountID" -+ "isVLEncoded": false, -+ "nth": 3, -+ "type": "Amount" - } - ], - [ -- "RegularKey", -+ "TakerPays", - { -- "nth": 8, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "AccountID" -+ "isVLEncoded": false, -+ "nth": 4, -+ "type": "Amount" - } - ], - [ -- "NFTokenMinter", -+ "TakerGets", - { -- "nth": 9, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "AccountID" -+ "isVLEncoded": false, -+ "nth": 5, -+ "type": "Amount" - } - ], - [ -- "ObjectEndMarker", -+ "LowLimit", - { -- "nth": 1, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": false, -+ "nth": 6, -+ "type": "Amount" - } - ], - [ -- "TransactionMetaData", -+ "HighLimit", - { -- "nth": 2, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": false, -+ "nth": 7, -+ "type": "Amount" - } - ], - [ -- "CreatedNode", -+ "Fee", - { -- "nth": 3, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": false, -+ "nth": 8, -+ "type": "Amount" - } - ], - [ -- "DeletedNode", -+ "SendMax", - { -- "nth": 4, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": false, -+ "nth": 9, -+ "type": "Amount" - } - ], - [ -- "ModifiedNode", -+ "DeliverMin", - { -- "nth": 5, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": false, -+ "nth": 10, -+ "type": "Amount" - } - ], - [ -- "PreviousFields", -+ "MinimumOffer", - { -- "nth": 6, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": false, -+ "nth": 16, -+ "type": "Amount" - } - ], - [ -- "FinalFields", -+ "RippleEscrow", - { -- "nth": 7, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": false, -+ "nth": 17, -+ "type": "Amount" - } - ], - [ -- "NewFields", -+ "DeliveredAmount", - { -- "nth": 8, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": false, -+ "nth": 18, -+ "type": "Amount" - } - ], - [ -- "TemplateEntry", -+ "NFTokenBrokerFee", - { -- "nth": 9, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": false, -+ "nth": 19, -+ "type": "Amount" - } - ], - [ -- "Memo", -+ "HookCallbackFee", - { -- "nth": 10, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": false, -+ "nth": 20, -+ "type": "Amount" - } - ], - [ -- "SignerEntry", -+ "LockedBalance", - { -- "nth": 11, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": false, -+ "nth": 21, -+ "type": "Amount" - } - ], - [ -- "NFToken", -+ "PublicKey", - { -- "nth": 12, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": true, -+ "nth": 1, -+ "type": "Blob" - } - ], - [ -- "Signer", -+ "MessageKey", - { -- "nth": 16, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": true, -+ "nth": 2, -+ "type": "Blob" - } - ], - [ -- "Majority", -+ "SigningPubKey", - { -- "nth": 18, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STObject" -+ "isVLEncoded": true, -+ "nth": 3, -+ "type": "Blob" - } - ], - [ -- "DisabledValidator", -+ "TxnSignature", - { -- "nth": 19, -- "isVLEncoded": false, - "isSerialized": true, -- "isSigningField": true, -- "type": "STObject" -+ "isSigningField": false, -+ "isVLEncoded": true, -+ "nth": 4, -+ "type": "Blob" - } - ], - [ -- "ArrayEndMarker", -+ "URI", - { -- "nth": 1, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STArray" -+ "isVLEncoded": true, -+ "nth": 5, -+ "type": "Blob" - } - ], - [ -- "Signers", -+ "Signature", - { -- "nth": 3, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": false, -- "type": "STArray" -+ "isVLEncoded": true, -+ "nth": 6, -+ "type": "Blob" - } - ], - [ -- "SignerEntries", -+ "Domain", - { -- "nth": 4, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STArray" -+ "isVLEncoded": true, -+ "nth": 7, -+ "type": "Blob" - } - ], - [ -- "Template", -+ "FundCode", - { -- "nth": 5, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STArray" -+ "isVLEncoded": true, -+ "nth": 8, -+ "type": "Blob" - } - ], - [ -- "Necessary", -+ "RemoveCode", - { -- "nth": 6, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STArray" -+ "isVLEncoded": true, -+ "nth": 9, -+ "type": "Blob" - } - ], - [ -- "Sufficient", -+ "ExpireCode", - { -- "nth": 7, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STArray" -+ "isVLEncoded": true, -+ "nth": 10, -+ "type": "Blob" - } - ], - [ -- "AffectedNodes", -+ "CreateCode", - { -- "nth": 8, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STArray" -+ "isVLEncoded": true, -+ "nth": 11, -+ "type": "Blob" - } - ], - [ -- "Memos", -+ "MemoType", - { -- "nth": 9, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STArray" -+ "isVLEncoded": true, -+ "nth": 12, -+ "type": "Blob" - } - ], - [ -- "NFTokens", -+ "MemoData", - { -- "nth": 10, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STArray" -+ "isVLEncoded": true, -+ "nth": 13, -+ "type": "Blob" - } - ], - [ -- "Majorities", -+ "MemoFormat", - { -- "nth": 16, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STArray" -+ "isVLEncoded": true, -+ "nth": 14, -+ "type": "Blob" - } - ], - [ -- "DisabledValidators", -+ "Fulfillment", - { -- "nth": 17, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "STArray" -+ "isVLEncoded": true, -+ "nth": 16, -+ "type": "Blob" - } - ], - [ -- "CloseResolution", -+ "Condition", - { -- "nth": 1, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt8" -+ "isVLEncoded": true, -+ "nth": 17, -+ "type": "Blob" - } - ], - [ -- "Method", -+ "MasterSignature", - { -- "nth": 2, -- "isVLEncoded": false, - "isSerialized": true, -- "isSigningField": true, -- "type": "UInt8" -+ "isSigningField": false, -+ "isVLEncoded": true, -+ "nth": 18, -+ "type": "Blob" - } - ], - [ -- "TransactionResult", -+ "UNLModifyValidator", - { -- "nth": 3, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt8" -+ "isVLEncoded": true, -+ "nth": 19, -+ "type": "Blob" - } - ], - [ -- "TakerPaysCurrency", -+ "ValidatorToDisable", - { -- "nth": 1, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash160" -+ "isVLEncoded": true, -+ "nth": 20, -+ "type": "Blob" - } - ], - [ -- "TakerPaysIssuer", -+ "ValidatorToReEnable", - { -- "nth": 2, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash160" -+ "isVLEncoded": true, -+ "nth": 21, -+ "type": "Blob" - } - ], - [ -- "TakerGetsCurrency", -+ "HookStateData", - { -- "nth": 3, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash160" -+ "isVLEncoded": true, -+ "nth": 22, -+ "type": "Blob" - } - ], - [ -- "TakerGetsIssuer", -+ "HookReturnString", - { -- "nth": 4, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash160" -+ "isVLEncoded": true, -+ "nth": 23, -+ "type": "Blob" - } - ], - [ -- "Paths", -+ "HookParameterName", - { -- "nth": 1, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "PathSet" -+ "isVLEncoded": true, -+ "nth": 24, -+ "type": "Blob" - } - ], - [ -- "Indexes", -+ "HookParameterValue", - { -- "nth": 1, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Vector256" -+ "isVLEncoded": true, -+ "nth": 25, -+ "type": "Blob" - } - ], - [ -- "Hashes", -+ "Blob", - { -- "nth": 2, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Vector256" -+ "isVLEncoded": true, -+ "nth": 26, -+ "type": "Blob" - } - ], - [ -- "Amendments", -+ "Account", - { -- "nth": 3, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Vector256" -+ "isVLEncoded": true, -+ "nth": 1, -+ "type": "AccountID" - } - ], - [ -- "NFTokenOffers", -+ "Owner", - { -- "nth": 4, -- "isVLEncoded": true, - "isSerialized": true, - "isSigningField": true, -- "type": "Vector256" -+ "isVLEncoded": true, -+ "nth": 2, -+ "type": "AccountID" - } - ], - [ -- "Transaction", -+ "Destination", - { -- "nth": 1, -- "isVLEncoded": false, -- "isSerialized": false, -- "isSigningField": false, -- "type": "Transaction" -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": true, -+ "nth": 3, -+ "type": "AccountID" - } - ], - [ -- "LedgerEntry", -+ "Issuer", - { -- "nth": 1, -- "isVLEncoded": false, -- "isSerialized": false, -- "isSigningField": false, -- "type": "LedgerEntry" -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": true, -+ "nth": 4, -+ "type": "AccountID" - } - ], - [ -- "Validation", -+ "Authorize", - { -- "nth": 1, -- "isVLEncoded": false, -- "isSerialized": false, -- "isSigningField": false, -- "type": "Validation" -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": true, -+ "nth": 5, -+ "type": "AccountID" - } - ], - [ -- "SignerListID", -+ "Unauthorize", - { -- "nth": 38, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt32" -+ "isVLEncoded": true, -+ "nth": 6, -+ "type": "AccountID" - } - ], - [ -- "SettleDelay", -+ "RegularKey", - { -- "nth": 39, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt32" -+ "isVLEncoded": true, -+ "nth": 8, -+ "type": "AccountID" - } - ], - [ -- "TicketCount", -+ "NFTokenMinter", - { -- "nth": 40, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt32" -+ "isVLEncoded": true, -+ "nth": 9, -+ "type": "AccountID" - } - ], - [ -- "TicketSequence", -+ "EmitCallback", - { -- "nth": 41, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt32" -+ "isVLEncoded": true, -+ "nth": 10, -+ "type": "AccountID" - } - ], - [ -- "NFTokenTaxon", -+ "HookAccount", - { -- "nth": 42, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt32" -+ "isVLEncoded": true, -+ "nth": 16, -+ "type": "AccountID" - } - ], - [ -- "MintedNFTokens", -+ "TransactionMetaData", - { -- "nth": 43, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt32" -+ "isVLEncoded": false, -+ "nth": 2, -+ "type": "STObject" - } - ], - [ -- "BurnedNFTokens", -+ "CreatedNode", - { -- "nth": 44, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "UInt32" -+ "isVLEncoded": false, -+ "nth": 3, -+ "type": "STObject" - } - ], - [ -- "Channel", -+ "DeletedNode", - { -- "nth": 22, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 4, -+ "type": "STObject" - } - ], - [ -- "ConsensusHash", -+ "ModifiedNode", - { -- "nth": 23, -- "isVLEncoded": false, - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -- } -+ "isVLEncoded": false, -+ "nth": 5, -+ "type": "STObject" -+ } - ], - [ -- "CheckID", -+ "PreviousFields", - { -- "nth": 24, -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -+ "nth": 6, -+ "type": "STObject" + } + ], -+ [ -+ "FinalFields", -+ { - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 7, -+ "type": "STObject" + [ + "EmailHash", + { +@@ -545,6 +976,46 @@ + "type": "Hash128" } ], - [ -- "ValidatedHash", -+ "NewFields", - { -- "nth": 25, -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -+ "nth": 8, -+ "type": "STObject" -+ } -+ ], -+ [ -+ "TemplateEntry", -+ { - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 9, -+ "type": "STObject" - } - ], - [ -- "PreviousPageMin", -+ "Memo", - { -- "nth": 26, -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -+ "nth": 10, -+ "type": "STObject" -+ } -+ ], -+ [ -+ "SignerEntry", -+ { - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 11, -+ "type": "STObject" - } - ], - [ -- "NextPageMin", -+ "NFToken", - { -- "nth": 27, -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -+ "nth": 12, -+ "type": "STObject" -+ } -+ ], -+ [ -+ "EmitDetails", -+ { - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 13, -+ "type": "STObject" - } - ], - [ -- "NFTokenBuyOffer", -+ "Hook", - { -- "nth": 28, -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -+ "nth": 14, -+ "type": "STObject" -+ } -+ ], -+ [ -+ "Signer", -+ { - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 16, -+ "type": "STObject" - } - ], - [ -- "NFTokenSellOffer", -+ "Majority", - { -- "nth": 29, -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -+ "nth": 18, -+ "type": "STObject" -+ } -+ ], -+ [ -+ "DisabledValidator", -+ { - "isSerialized": true, - "isSigningField": true, -- "type": "Hash256" -+ "isVLEncoded": false, -+ "nth": 19, -+ "type": "STObject" - } - ], - [ -- "TickSize", -+ "EmittedTxn", - { -- "nth": 16, -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -+ "nth": 20, -+ "type": "STObject" -+ } -+ ], -+ [ -+ "HookExecution", -+ { - "isSerialized": true, - "isSigningField": true, -- "type": "UInt8" -+ "isVLEncoded": false, -+ "nth": 21, -+ "type": "STObject" - } - ], - [ -- "UNLModifyDisabling", -+ "HookDefinition", - { -- "nth": 17, -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -+ "nth": 22, -+ "type": "STObject" -+ } -+ ], -+ [ -+ "HookParameter", -+ { - "isSerialized": true, - "isSigningField": true, -- "type": "UInt8" -+ "isVLEncoded": false, -+ "nth": 23, -+ "type": "STObject" - } - ], - [ -- "DestinationNode", -+ "HookGrant", - { -- "nth": 9, -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 24, -+ "type": "STObject" -+ } -+ ], -+ [ -+ "Signers", -+ { -+ "isSerialized": true, -+ "isSigningField": false, - "isVLEncoded": false, -+ "nth": 3, -+ "type": "STArray" -+ } -+ ], -+ [ -+ "SignerEntries", -+ { - "isSerialized": true, - "isSigningField": true, -- "type": "UInt64" -+ "isVLEncoded": false, -+ "nth": 4, -+ "type": "STArray" - } - ], - [ -- "Cookie", -+ "Template", - { -- "nth": 10, -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 5, -+ "type": "STArray" -+ } -+ ], -+ [ -+ "Necessary", -+ { -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -+ "nth": 6, -+ "type": "STArray" -+ } -+ ], -+ [ -+ "Sufficient", -+ { - "isSerialized": true, - "isSigningField": true, -- "type": "UInt64" -+ "isVLEncoded": false, -+ "nth": 7, -+ "type": "STArray" - } - ], - [ -- "ServerVersion", -+ "AffectedNodes", -+ { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 8, -+ "type": "STArray" -+ } -+ ], -+ [ -+ "Memos", -+ { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 9, -+ "type": "STArray" -+ } -+ ], -+ [ -+ "NFTokens", -+ { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 10, -+ "type": "STArray" -+ } -+ ], -+ [ -+ "Hooks", - { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, - "nth": 11, -+ "type": "STArray" -+ } -+ ], -+ [ -+ "Majorities", -+ { -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -+ "nth": 16, -+ "type": "STArray" -+ } -+ ], -+ [ -+ "DisabledValidators", -+ { - "isSerialized": true, - "isSigningField": true, -- "type": "UInt64" -+ "isVLEncoded": false, -+ "nth": 17, -+ "type": "STArray" - } - ], - [ -- "NFTokenOfferNode", -+ "HookExecutions", - { -- "nth": 12, -+ "isSerialized": true, -+ "isSigningField": true, - "isVLEncoded": false, -+ "nth": 18, -+ "type": "STArray" -+ } -+ ], -+ [ -+ "HookParameters", -+ { - "isSerialized": true, - "isSigningField": true, -- "type": "UInt64" -+ "isVLEncoded": false, -+ "nth": 19, -+ "type": "STArray" - } -- ] -- ], -- "TRANSACTION_RESULTS": { -- "telLOCAL_ERROR": -399, -- "telBAD_DOMAIN": -398, -- "telBAD_PATH_COUNT": -397, -- "telBAD_PUBLIC_KEY": -396, -- "telFAILED_PROCESSING": -395, -- "telINSUF_FEE_P": -394, -- "telNO_DST_PARTIAL": -393, -- "telCAN_NOT_QUEUE": -392, -- "telCAN_NOT_QUEUE_BALANCE": -391, -- "telCAN_NOT_QUEUE_BLOCKS": -390, -+ ], -+ [ -+ "HookGrants", -+ { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 20, -+ "type": "STArray" -+ } -+ ], -+ [ -+ "CloseResolution", -+ { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 1, -+ "type": "UInt8" -+ } -+ ], -+ [ -+ "Method", -+ { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 2, -+ "type": "UInt8" -+ } -+ ], -+ [ -+ "TransactionResult", -+ { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 3, -+ "type": "UInt8" -+ } -+ ], -+ [ -+ "TickSize", -+ { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 16, -+ "type": "UInt8" -+ } -+ ], -+ [ -+ "UNLModifyDisabling", -+ { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 17, -+ "type": "UInt8" -+ } -+ ], -+ [ -+ "HookResult", -+ { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 18, -+ "type": "UInt8" -+ } -+ ], + [ + "TakerPaysCurrency", + { ++ "nth": 1, ++ "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 1, + "type": "Hash160" + } + ], + [ + "TakerPaysIssuer", + { ++ "nth": 2, ++ "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 2, + "type": "Hash160" + } + ], + [ + "TakerGetsCurrency", + { ++ "nth": 3, ++ "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 3, + "type": "Hash160" + } + ], + [ + "TakerGetsIssuer", + { ++ "nth": 4, ++ "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, -+ "isVLEncoded": false, -+ "nth": 4, + "type": "Hash160" + } + ], + [ + "LedgerHash", + { +@@ -645,6 +1116,36 @@ + "type": "Hash256" + } + ], + [ -+ "Paths", ++ "EmitParentTxnID", + { -+ "isSerialized": true, -+ "isSigningField": true, ++ "nth": 11, + "isVLEncoded": false, -+ "nth": 1, -+ "type": "PathSet" ++ "isSerialized": true, ++ "isSigningField": true, ++ "type": "Hash256" + } + ], + [ -+ "Indexes", ++ "EmitNonce", + { ++ "nth": 12, ++ "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, -+ "isVLEncoded": true, -+ "nth": 1, -+ "type": "Vector256" ++ "type": "Hash256" + } + ], + [ -+ "Hashes", ++ "EmitHookHash", + { ++ "nth": 13, ++ "isVLEncoded": false, + "isSerialized": true, + "isSigningField": true, -+ "isVLEncoded": 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, -+ "type": "Vector256" -+ } -+ ], -+ [ -+ "Amendments", -+ { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": true, + "isVLEncoded": true, + "isSerialized": true, + "isSigningField": true, +@@ -1156,9 +1817,9 @@ + } + ], + [ +- "RegularKey", ++ "Destination", + { +- "nth": 8, + "nth": 3, -+ "type": "Vector256" -+ } -+ ], -+ [ -+ "NFTokenOffers", -+ { -+ "isSerialized": true, -+ "isSigningField": true, -+ "isVLEncoded": true, + "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, -+ "isVLEncoded": 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, -+ "type": "Vector256" -+ } -+ ], -+ [ -+ "Transaction", -+ { -+ "isSerialized": false, -+ "isSigningField": false, -+ "isVLEncoded": false, -+ "nth": 1, -+ "type": "Transaction" -+ } -+ ], -+ [ -+ "LedgerEntry", -+ { -+ "isSerialized": false, -+ "isSigningField": false, -+ "isVLEncoded": false, -+ "nth": 1, -+ "type": "LedgerEntry" -+ } -+ ], -+ [ -+ "Validation", -+ { -+ "isSerialized": false, -+ "isSigningField": false, -+ "isVLEncoded": false, -+ "nth": 1, -+ "type": "Validation" -+ } -+ ], -+ [ -+ "Metadata", -+ { -+ "isSerialized": false, -+ "isSigningField": false, -+ "isVLEncoded": false, -+ "nth": 1, -+ "type": "Metadata" -+ } -+ ] -+ ], -+ "LEDGER_ENTRY_TYPES": { -+ "AccountRoot": 97, -+ "Amendments": 102, -+ "Any": 0, -+ "Check": 67, -+ "Child": 7378, -+ "Contract": 99, -+ "DepositPreauth": 112, -+ "DirectoryNode": 100, -+ "EmittedTxn": 69, -+ "Escrow": 117, -+ "FeeSettings": 115, -+ "GeneratorMap": 103, -+ "Hook": 72, -+ "HookDefinition": 68, -+ "HookState": 118, -+ "Invalid": -1, -+ "LedgerHashes": 104, -+ "NFTokenOffer": 55, -+ "NFTokenPage": 80, -+ "NegativeUNL": 78, -+ "Nickname": 110, -+ "Offer": 111, -+ "PayChannel": 120, -+ "RippleState": 114, -+ "SignerList": 83, -+ "Ticket": 84, -+ "UriToken": 85 -+ }, -+ "TRANSACTION_RESULTS": { -+ "tecCANT_ACCEPT_OWN_NFTOKEN_OFFER": 158, -+ "tecCLAIM": 100, -+ "tecCRYPTOCONDITION_ERROR": 146, -+ "tecDIR_FULL": 121, -+ "tecDST_TAG_NEEDED": 143, -+ "tecDUPLICATE": 149, -+ "tecEXPIRED": 148, -+ "tecFAILED_PROCESSING": 105, -+ "tecFROZEN": 137, -+ "tecHAS_OBLIGATIONS": 151, -+ "tecHOOK_REJECTED": 153, -+ "tecINSUFFICIENT_FUNDS": 159, -+ "tecINSUFFICIENT_PAYMENT": 161, -+ "tecINSUFFICIENT_RESERVE": 141, -+ "tecINSUFF_FEE": 136, -+ "tecINSUF_RESERVE_LINE": 122, -+ "tecINSUF_RESERVE_OFFER": 123, -+ "tecINTERNAL": 144, -+ "tecINVARIANT_FAILED": 147, -+ "tecKILLED": 150, -+ "tecMAX_SEQUENCE_REACHED": 154, -+ "tecNEED_MASTER_KEY": 142, -+ "tecNFTOKEN_BUY_SELL_MISMATCH": 156, -+ "tecNFTOKEN_OFFER_TYPE_MISMATCH": 157, -+ "tecNO_ALTERNATIVE_KEY": 130, -+ "tecNO_AUTH": 134, -+ "tecNO_DST": 124, -+ "tecNO_DST_INSUF_XRP": 125, -+ "tecNO_ENTRY": 140, -+ "tecNO_ISSUER": 133, -+ "tecNO_LINE": 135, -+ "tecNO_LINE_INSUF_RESERVE": 126, -+ "tecNO_LINE_REDUNDANT": 127, -+ "tecNO_PERMISSION": 139, -+ "tecNO_REGULAR_KEY": 131, -+ "tecNO_SUITABLE_NFTOKEN_PAGE": 155, -+ "tecNO_TARGET": 138, -+ "tecOBJECT_NOT_FOUND": 160, -+ "tecOVERSIZE": 145, -+ "tecOWNERS": 132, -+ "tecPATH_DRY": 128, -+ "tecPATH_PARTIAL": 101, -+ "tecPRECISION_LOSS": 163, -+ "tecREQUIRES_FLAG": 162, -+ "tecTOO_SOON": 152, -+ "tecUNFUNDED": 129, -+ "tecUNFUNDED_ADD": 102, -+ "tecUNFUNDED_OFFER": 103, -+ "tecUNFUNDED_PAYMENT": 104, -+ "tefALREADY": -198, -+ "tefBAD_ADD_AUTH": -197, -+ "tefBAD_AUTH": -196, -+ "tefBAD_AUTH_MASTER": -183, -+ "tefBAD_LEDGER": -195, -+ "tefBAD_QUORUM": -185, -+ "tefBAD_SIGNATURE": -186, -+ "tefCREATED": -194, -+ "tefEXCEPTION": -193, -+ "tefFAILURE": -199, -+ "tefINTERNAL": -192, -+ "tefINVARIANT_FAILED": -182, -+ "tefMASTER_DISABLED": -188, -+ "tefMAX_LEDGER": -187, -+ "tefNFTOKEN_IS_NOT_TRANSFERABLE": -179, -+ "tefNOT_MULTI_SIGNING": -184, -+ "tefNO_AUTH_REQUIRED": -191, -+ "tefNO_TICKET": -180, -+ "tefPAST_SEQ": -190, -+ "tefTOO_BIG": -181, -+ "tefWRONG_PRIOR": -189, -+ "telBAD_DOMAIN": -398, -+ "telBAD_PATH_COUNT": -397, -+ "telBAD_PUBLIC_KEY": -396, -+ "telCAN_NOT_QUEUE": -392, -+ "telCAN_NOT_QUEUE_BALANCE": -391, + "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_BLOCKS": -390, "telCAN_NOT_QUEUE_FEE": -388, "telCAN_NOT_QUEUE_FULL": -387, -- -- "temMALFORMED": -299, -+ "telFAILED_PROCESSING": -395, -+ "telINSUF_FEE_P": -394, -+ "telLOCAL_ERROR": -399, ++ "telWRONG_NETWORK": -386, ++ "telREQUIRES_NETWORK_ID": -385, + "telNETWORK_ID_MAKES_TX_NON_CANONICAL": -384, + "telNON_LOCAL_EMITTED_TXN": -383, -+ "telNO_DST_PARTIAL": -393, -+ "telREQUIRES_NETWORK_ID": -385, -+ "telWRONG_NETWORK": -386, ++ "telIMPORT_VL_KEY_NOT_RECOGNISED": -382, ++ "telCAN_NOT_QUEUE_IMPORT": -381, + + "temMALFORMED": -299, "temBAD_AMOUNT": -298, - "temBAD_CURRENCY": -297, - "temBAD_EXPIRATION": -296, - "temBAD_FEE": -295, - "temBAD_ISSUER": -294, - "temBAD_LIMIT": -293, -+ "temBAD_NFTOKEN_TRANSFER_FEE": -260, - "temBAD_OFFER": -292, - "temBAD_PATH": -291, - "temBAD_PATH_LOOP": -290, -+ "temBAD_QUORUM": -271, - "temBAD_REGKEY": -289, - "temBAD_SEND_XRP_LIMIT": -288, - "temBAD_SEND_XRP_MAX": -287, -@@ -1829,145 +2397,106 @@ - "temBAD_SEND_XRP_PATHS": -284, - "temBAD_SEQUENCE": -283, - "temBAD_SIGNATURE": -282, -+ "temBAD_SIGNER": -272, - "temBAD_SRC_ACCOUNT": -281, -+ "temBAD_TICK_SIZE": -269, - "temBAD_TRANSFER_RATE": -280, -+ "temBAD_WEIGHT": -270, -+ "temCANNOT_PREAUTH_SELF": -267, -+ "temDISABLED": -273, - "temDST_IS_SRC": -279, - "temDST_NEEDED": -278, -+ "temHOOK_DATA_TOO_LARGE": -265, -+ "temHOOK_REJECTED": -264, - "temINVALID": -277, -+ "temINVALID_ACCOUNT_ID": -268, -+ "temINVALID_COUNT": -266, - "temINVALID_FLAG": -276, -+ "temMALFORMED": -299, - "temREDUNDANT": -275, - "temRIPPLE_EMPTY": -274, -- "temDISABLED": -273, -- "temBAD_SIGNER": -272, -- "temBAD_QUORUM": -271, -- "temBAD_WEIGHT": -270, -- "temBAD_TICK_SIZE": -269, -- "temINVALID_ACCOUNT_ID": -268, -- "temCANNOT_PREAUTH_SELF": -267, +@@ -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, -- -- "tefFAILURE": -199, -- "tefALREADY": -198, -- "tefBAD_ADD_AUTH": -197, -- "tefBAD_AUTH": -196, -- "tefBAD_LEDGER": -195, -- "tefCREATED": -194, -- "tefEXCEPTION": -193, -- "tefINTERNAL": -192, -- "tefNO_AUTH_REQUIRED": -191, -- "tefPAST_SEQ": -190, -- "tefWRONG_PRIOR": -189, -- "tefMASTER_DISABLED": -188, -- "tefMAX_LEDGER": -187, -- "tefBAD_SIGNATURE": -186, -- "tefBAD_QUORUM": -185, -- "tefNOT_MULTI_SIGNING": -184, -- "tefBAD_AUTH_MASTER": -183, -- "tefINVARIANT_FAILED": -182, -- "tefTOO_BIG": -181, -- "tefNO_TICKET": -180, -- "tefNFTOKEN_IS_NOT_TRANSFERABLE": -179, -- -- "terRETRY": -99, -+ "temSEQ_AND_TICKET": -261, -+ "temUNCERTAIN": -263, -+ "temUNKNOWN": -262, ++ "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, - "terINSUF_FEE_B": -97, -+ "terLAST": -91, - "terNO_ACCOUNT": -96, - "terNO_AUTH": -95, -+ "terNO_HOOK": -87, - "terNO_LINE": -94, -+ "terNO_RIPPLE": -90, - "terOWNERS": -93, - "terPRE_SEQ": -92, -- "terLAST": -91, -- "terNO_RIPPLE": -90, -- "terQUEUED": -89, +@@ -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, - -- "tesSUCCESS": 0, -- -- "tecCLAIM": 100, -- "tecPATH_PARTIAL": 101, -- "tecUNFUNDED_ADD": 102, -- "tecUNFUNDED_OFFER": 103, -- "tecUNFUNDED_PAYMENT": 104, -- "tecFAILED_PROCESSING": 105, -- "tecDIR_FULL": 121, -- "tecINSUF_RESERVE_LINE": 122, -- "tecINSUF_RESERVE_OFFER": 123, -- "tecNO_DST": 124, -- "tecNO_DST_INSUF_XRP": 125, -- "tecNO_LINE_INSUF_RESERVE": 126, -- "tecNO_LINE_REDUNDANT": 127, -- "tecPATH_DRY": 128, -- "tecUNFUNDED": 129, -- "tecNO_ALTERNATIVE_KEY": 130, -- "tecNO_REGULAR_KEY": 131, -- "tecOWNERS": 132, -- "tecNO_ISSUER": 133, -- "tecNO_AUTH": 134, -- "tecNO_LINE": 135, -- "tecINSUFF_FEE": 136, -- "tecFROZEN": 137, -- "tecNO_TARGET": 138, -- "tecNO_PERMISSION": 139, -- "tecNO_ENTRY": 140, -- "tecINSUFFICIENT_RESERVE": 141, -- "tecNEED_MASTER_KEY": 142, -- "tecDST_TAG_NEEDED": 143, -- "tecINTERNAL": 144, -- "tecOVERSIZE": 145, -- "tecCRYPTOCONDITION_ERROR": 146, -- "tecINVARIANT_FAILED": 147, -- "tecEXPIRED": 148, -- "tecDUPLICATE": 149, -- "tecKILLED": 150, -- "tecHAS_OBLIGATIONS": 151, -- "tecTOO_SOON": 152, -- -- "tecMAX_SEQUENCE_REACHED": 154, -- "tecNO_SUITABLE_NFTOKEN_PAGE": 155, -- "tecNFTOKEN_BUY_SELL_MISMATCH": 156, -- "tecNFTOKEN_OFFER_TYPE_MISMATCH": 157, -- "tecCANT_ACCEPT_OWN_NFTOKEN_OFFER": 158, -- "tecINSUFFICIENT_FUNDS": 159, -- "tecOBJECT_NOT_FOUND": 160, -- "tecINSUFFICIENT_PAYMENT": 161, ++ "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 -+ "terQUEUED": -89, -+ "terRETRY": -99, -+ "tesSUCCESS": 0 ++ "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, + "Invalid": -1, - -- "Payment": 0, -- "EscrowCreate": 1, -- "EscrowFinish": 2, -+ "AccountDelete": 21, - "AccountSet": 3, -+ "Amendment": 100, -+ "CheckCancel": 18, -+ "CheckCash": 17, -+ "CheckCreate": 16, -+ "ClaimReward": 98, -+ "Contract": 9, -+ "DepositPreauth": 19, -+ "EmitFailure": 103, - "EscrowCancel": 4, -- "SetRegularKey": 5, -- "NickNameSet": 6, -- "OfferCreate": 7, -+ "EscrowCreate": 1, -+ "EscrowFinish": 2, -+ "Fee": 101, -+ "Invalid": -1, -+ "Invoke": 99, -+ "NFTokenAcceptOffer": 29, -+ "NFTokenBurn": 26, -+ "NFTokenCancelOffer": 28, -+ "NFTokenCreateOffer": 27, -+ "NFTokenMint": 25, -+ "NicknameSet": 6, - "OfferCancel": 8, -- "Contract": 9, -- "TicketCreate": 10, -- "TicketCancel": 11, -- "SignerListSet": 12, -+ "OfferCreate": 7, -+ "Payment": 0, -+ "PaymentChannelClaim": 15, - "PaymentChannelCreate": 13, - "PaymentChannelFund": 14, -- "PaymentChannelClaim": 15, -- "CheckCreate": 16, -- "CheckCash": 17, -- "CheckCancel": 18, -- "DepositPreauth": 19, -+ "SetHook": 22, -+ "SetRegularKey": 5, -+ "SignerListSet": 12, -+ "SpinalTap": 11, -+ "TicketCreate": 10, + "Payment": 0, + "EscrowCreate": 1, + "EscrowFinish": 2, +@@ -1961,13 +2515,22 @@ + "DepositPreauth": 19, "TrustSet": 20, -- "AccountDelete": 21, -- "NFTokenMint": 25, -- "NFTokenBurn": 26, -- "NFTokenCreateOffer": 27, -- "NFTokenCancelOffer": 28, -- "NFTokenAcceptOffer": 29, -- "EnableAmendment": 100, -- "SetFee": 101, + "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, -+ "UriToken": 45 -+ }, -+ "TYPES": { -+ "AccountID": 8, -+ "Amount": 6, -+ "Blob": 7, -+ "Done": -1, -+ "Hash128": 4, -+ "Hash160": 17, -+ "Hash256": 5, -+ "LedgerEntry": 10002, -+ "Metadata": 10004, -+ "NotPresent": 0, -+ "PathSet": 18, -+ "STArray": 15, -+ "STObject": 14, -+ "Transaction": 10001, -+ "UInt16": 1, -+ "UInt192": 21, -+ "UInt32": 2, -+ "UInt384": 22, -+ "UInt512": 23, -+ "UInt64": 3, -+ "UInt8": 16, -+ "UInt96": 20, -+ "Unknown": -2, -+ "Validation": 10003, -+ "Vector256": 19 -+ }, -+ "hash": "D4A1424FAFB7E36115FCD3FF1EE1E7A72EBFACAB6659AFC018D6FAB5FAEE74DE" ++ "EmitFailure": 103 + } } -\ No newline at end of file diff --git a/utils/hookOnCalculator.ts b/utils/hookOnCalculator.ts index 7baad7c..b351a68 100644 --- a/utils/hookOnCalculator.ts +++ b/utils/hookOnCalculator.ts @@ -8,6 +8,7 @@ export const tts = { ttOFFER_CREATE: 7, ttOFFER_CANCEL: 8, ttTICKET_CREATE: 10, + ttTICKET_CANCEL: 11, ttSIGNER_LIST_SET: 12, ttPAYCHAN_CREATE: 13, ttPAYCHAN_FUND: 14, @@ -18,18 +19,20 @@ export const tts = { ttDEPOSIT_PREAUTH: 19, ttTRUST_SET: 20, ttACCOUNT_DELETE: 21, - ttHOOK_SET: 22, - ttNFTOKEN_MINT: 25, - ttNFTOKEN_BURN: 26, - ttNFTOKEN_CREATE_OFFER: 27, - ttNFTOKEN_CANCEL_OFFER: 28, - ttNFTOKEN_ACCEPT_OFFER: 29 + ttSET_HOOK: 22, + ttURI_TOKEN_MINT: 45, + ttURI_TOKEN_BURN: 46, + ttURI_TOKEN_BUY: 47, + ttURI_TOKEN_CREATE_SELL_OFFER: 48, + ttURI_TOKEN_CANCEL_SELL_OFFER: 49, + ttIMPORT: 97, + ttINVOKE: 99 } export type TTS = typeof tts const calculateHookOn = (arr: (keyof TTS)[]) => { - let s = '0x3e3ff5bf' + let s = '0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffbfffff' arr.forEach(n => { let v = BigInt(s) v ^= BigInt(1) << BigInt(tts[n]) diff --git a/utils/setHook.ts b/utils/setHook.ts index d6eb188..256af2e 100644 --- a/utils/setHook.ts +++ b/utils/setHook.ts @@ -68,8 +68,7 @@ export const getInvokeOptions = (content?: string) => { // default if (!invokeOptions.length) { - const payment = transactionOptions.find(tx => tx.value === 'ttPAYMENT') - if (payment) return [payment] + return [] } return invokeOptions