Files
xrpl-hooks-ide/patches/ripple-binary-codec+1.4.2.patch
muzamil bfaa6be17d Fix binary codec (#250)
* TokenID -> NFTokenID

* update xrpl-accountlib

* fixup patch

* add missing transaction types

* fix: repositories

* fix: update @types/react, move middleware

* revert yarn.lock

* revert

* revert: yarn.lock

* fix: transactions

* update NFTokenCancelOffer

* add missing fee

* add: nft transaction type + recalculate `start`

Co-authored-by: dangell7 <denisangell7@gmail.com>
2022-07-15 13:34:19 +05:30

1828 lines
36 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..273b78d 100644
--- a/node_modules/ripple-binary-codec/dist/enums/definitions.json
+++ b/node_modules/ripple-binary-codec/dist/enums/definitions.json
@@ -46,23 +46,103 @@
},
"FIELDS": [
[
- "Generic",
+ "LedgerEntry",
{
- "nth": 0,
+ "nth": 1,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
- "type": "Unknown"
+ "type": "LedgerEntry"
}
],
[
- "Invalid",
+ "Transaction",
{
- "nth": -1,
+ "nth": 1,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": false,
- "type": "Unknown"
+ "type": "Transaction"
+ }
+ ],
+ [
+ "Validation",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": false,
+ "isSigningField": false,
+ "type": "Validation"
+ }
+ ],
+ [
+ "Metadata",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": false,
+ "isSigningField": false,
+ "type": "Validation"
+ }
+ ],
+ [
+ "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"
}
],
[
@@ -105,6 +185,56 @@
"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"
+ }
+ ],
[
"Flags",
{
@@ -456,272 +586,612 @@
}
],
[
- "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": 3,
+ "nth": 40,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "UInt32"
}
],
[
- "OwnerNode",
+ "TicketSequence",
{
- "nth": 4,
+ "nth": 41,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "UInt32"
}
],
[
- "BaseFee",
+ "NFTokenTaxon",
{
- "nth": 5,
+ "nth": 42,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "UInt32"
}
],
[
- "ExchangeRate",
+ "MintedNFTokens",
{
- "nth": 6,
+ "nth": 43,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "UInt32"
}
],
[
- "LowNode",
+ "BurnedNFTokens",
{
- "nth": 7,
+ "nth": 44,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "UInt32"
}
],
[
- "HighNode",
+ "HookStateCount",
{
- "nth": 8,
+ "nth": 45,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "UInt32"
}
],
[
- "EmailHash",
+ "EmitGeneration",
{
- "nth": 1,
+ "nth": 46,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash128"
+ "type": "UInt32"
}
],
[
- "LedgerHash",
+ "IndexNext",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "ParentHash",
+ "IndexPrevious",
{
"nth": 2,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "TransactionHash",
+ "BookNode",
{
"nth": 3,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "AccountHash",
+ "OwnerNode",
{
"nth": 4,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "PreviousTxnID",
+ "BaseFee",
{
"nth": 5,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "LedgerIndex",
+ "ExchangeRate",
{
"nth": 6,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "WalletLocator",
+ "LowNode",
{
"nth": 7,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "RootIndex",
+ "HighNode",
{
"nth": 8,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "AccountTxnID",
+ "DestinationNode",
{
"nth": 9,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "NFTokenID",
+ "Cookie",
{
"nth": 10,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "BookDirectory",
+ "ServerVersion",
{
- "nth": 16,
+ "nth": 11,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "InvoiceID",
+ "NFTokenOfferNode",
{
- "nth": 17,
+ "nth": 12,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "Nickname",
+ "EmitBurden",
{
- "nth": 18,
+ "nth": 13,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "Amendment",
+ "HookOn",
{
- "nth": 19,
+ "nth": 16,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "TicketID",
+ "HookInstructionCount",
{
- "nth": 20,
+ "nth": 17,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
}
],
[
- "Digest",
+ "HookReturnCode",
{
- "nth": 21,
+ "nth": 19,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "UInt64"
+ }
+ ],
+ [
+ "ReferenceCount",
+ {
+ "nth": 19,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "UInt64"
+ }
+ ],
+ [
+ "EmailHash",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "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",
+ {
+ "nth": 1,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "ParentHash",
+ {
+ "nth": 2,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "TransactionHash",
+ {
+ "nth": 3,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "AccountHash",
+ {
+ "nth": 4,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "PreviousTxnID",
+ {
+ "nth": 5,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "LedgerIndex",
+ {
+ "nth": 6,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "WalletLocator",
+ {
+ "nth": 7,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "RootIndex",
+ {
+ "nth": 8,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "AccountTxnID",
+ {
+ "nth": 9,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "NFTokenID",
+ {
+ "nth": 10,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "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",
+ {
+ "nth": 16,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "InvoiceID",
+ {
+ "nth": 17,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "Nickname",
+ {
+ "nth": 18,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "Amendment",
+ {
+ "nth": 19,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "Digest",
+ {
+ "nth": 21,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "Channel",
+ {
+ "nth": 22,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "ConsensusHash",
+ {
+ "nth": 23,
+ "isVLEncoded": 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"
}
],
[
- "hash",
+ "HookHash",
{
- "nth": 257,
+ "nth": 31,
"isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
+ "isSerialized": true,
+ "isSigningField": true,
"type": "Hash256"
}
],
[
- "index",
+ "HookNamespace",
{
- "nth": 258,
+ "nth": 32,
"isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "Hash256"
+ }
+ ],
+ [
+ "HookSetTxnID",
+ {
+ "nth": 33,
+ "isVLEncoded": false,
+ "isSerialized": true,
+ "isSigningField": true,
"type": "Hash256"
}
],
@@ -866,22 +1336,12 @@
}
],
[
- "taker_gets_funded",
- {
- "nth": 258,
- "isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
- "type": "Amount"
- }
- ],
- [
- "taker_pays_funded",
+ "HookCallbackFee",
{
- "nth": 259,
+ "nth": 20,
"isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
+ "isSerialized": true,
+ "isSigningField": true,
"type": "Amount"
}
],
@@ -1086,49 +1546,49 @@
}
],
[
- "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",
+ "Account",
{
- "nth": 5,
+ "nth": 1,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
@@ -1136,9 +1596,9 @@
}
],
[
- "Unauthorize",
+ "Owner",
{
- "nth": 6,
+ "nth": 2,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
@@ -1146,9 +1606,9 @@
}
],
[
- "Target",
+ "Destination",
{
- "nth": 7,
+ "nth": 3,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
@@ -1156,9 +1616,9 @@
}
],
[
- "RegularKey",
+ "Issuer",
{
- "nth": 8,
+ "nth": 4,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
@@ -1166,9 +1626,9 @@
}
],
[
- "NFTokenMinter",
+ "Authorize",
{
- "nth": 9,
+ "nth": 5,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
@@ -1176,139 +1636,119 @@
}
],
[
- "ObjectEndMarker",
- {
- "nth": 1,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STObject"
- }
- ],
- [
- "TransactionMetaData",
- {
- "nth": 2,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STObject"
- }
- ],
- [
- "CreatedNode",
+ "Unauthorize",
{
- "nth": 3,
- "isVLEncoded": false,
+ "nth": 6,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "AccountID"
}
],
[
- "DeletedNode",
+ "RegularKey",
{
- "nth": 4,
- "isVLEncoded": false,
+ "nth": 8,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "AccountID"
}
],
[
- "ModifiedNode",
+ "NFTokenMinter",
{
- "nth": 5,
- "isVLEncoded": false,
+ "nth": 9,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "AccountID"
}
],
[
- "PreviousFields",
+ "EmitCallback",
{
- "nth": 6,
- "isVLEncoded": false,
+ "nth": 10,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "AccountID"
}
],
[
- "FinalFields",
+ "HookAccount",
{
- "nth": 7,
- "isVLEncoded": false,
+ "nth": 16,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "AccountID"
}
],
[
- "NewFields",
+ "Indexes",
{
- "nth": 8,
- "isVLEncoded": false,
+ "nth": 1,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "Vector256"
}
],
[
- "TemplateEntry",
+ "Hashes",
{
- "nth": 9,
- "isVLEncoded": false,
+ "nth": 2,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "Vector256"
}
],
[
- "Memo",
+ "Amendments",
{
- "nth": 10,
- "isVLEncoded": false,
+ "nth": 3,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "Vector256"
}
],
[
- "SignerEntry",
+ "NFTokenOffers",
{
- "nth": 11,
- "isVLEncoded": false,
+ "nth": 4,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "Vector256"
}
],
[
- "NFToken",
+ "HookNamespaces",
{
- "nth": 12,
- "isVLEncoded": false,
+ "nth": 5,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "Vector256"
}
],
[
- "Signer",
+ "Paths",
{
- "nth": 16,
+ "nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "STObject"
+ "type": "PathSet"
}
],
[
- "Majority",
+ "TransactionMetaData",
{
- "nth": 18,
+ "nth": 2,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
@@ -1316,9 +1756,9 @@
}
],
[
- "DisabledValidator",
+ "CreatedNode",
{
- "nth": 19,
+ "nth": 3,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
@@ -1326,399 +1766,359 @@
}
],
[
- "ArrayEndMarker",
- {
- "nth": 1,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STArray"
- }
- ],
- [
- "Signers",
- {
- "nth": 3,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": false,
- "type": "STArray"
- }
- ],
- [
- "SignerEntries",
+ "DeletedNode",
{
"nth": 4,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "STArray"
+ "type": "STObject"
}
],
[
- "Template",
+ "ModifiedNode",
{
"nth": 5,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "STArray"
+ "type": "STObject"
}
],
[
- "Necessary",
+ "PreviousFields",
{
"nth": 6,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "STArray"
+ "type": "STObject"
}
],
[
- "Sufficient",
+ "FinalFields",
{
"nth": 7,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "STArray"
+ "type": "STObject"
}
],
[
- "AffectedNodes",
+ "NewFields",
{
"nth": 8,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "STArray"
- }
- ],
- [
- "Memos",
- {
- "nth": 9,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STArray"
- }
- ],
- [
- "NFTokens",
- {
- "nth": 10,
- "isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "STArray"
+ "type": "STObject"
}
],
[
- "Majorities",
+ "TemplateEntry",
{
- "nth": 16,
+ "nth": 9,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "STArray"
+ "type": "STObject"
}
],
[
- "DisabledValidators",
+ "Memo",
{
- "nth": 17,
+ "nth": 10,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "STArray"
+ "type": "STObject"
}
],
[
- "CloseResolution",
+ "SignerEntry",
{
- "nth": 1,
+ "nth": 11,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt8"
+ "type": "STObject"
}
],
[
- "Method",
+ "NFToken",
{
- "nth": 2,
+ "nth": 12,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt8"
+ "type": "STObject"
}
],
[
- "TransactionResult",
+ "EmitDetails",
{
- "nth": 3,
+ "nth": 13,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt8"
+ "type": "STObject"
}
],
[
- "TakerPaysCurrency",
+ "Hook",
{
- "nth": 1,
+ "nth": 14,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash160"
+ "type": "STObject"
}
],
[
- "TakerPaysIssuer",
+ "Signer",
{
- "nth": 2,
+ "nth": 16,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash160"
+ "type": "STObject"
}
],
[
- "TakerGetsCurrency",
+ "Majority",
{
- "nth": 3,
+ "nth": 18,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash160"
+ "type": "STObject"
}
],
[
- "TakerGetsIssuer",
+ "DisabledValidator",
{
- "nth": 4,
+ "nth": 19,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash160"
+ "type": "STObject"
}
],
[
- "Paths",
+ "EmittedTxn",
{
- "nth": 1,
+ "nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "PathSet"
+ "type": "STObject"
}
],
[
- "Indexes",
+ "HookExecution",
{
- "nth": 1,
- "isVLEncoded": true,
+ "nth": 21,
+ "isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Vector256"
+ "type": "STObject"
}
],
[
- "Hashes",
+ "HookDefinition",
{
- "nth": 2,
- "isVLEncoded": true,
+ "nth": 22,
+ "isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Vector256"
+ "type": "STObject"
}
],
[
- "Amendments",
+ "HookParameter",
{
- "nth": 3,
- "isVLEncoded": true,
+ "nth": 23,
+ "isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Vector256"
+ "type": "STObject"
}
],
[
- "NFTokenOffers",
+ "HookGrant",
{
- "nth": 4,
- "isVLEncoded": true,
+ "nth": 24,
+ "isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Vector256"
+ "type": "STObject"
}
],
[
- "Transaction",
+ "Signers",
{
- "nth": 1,
+ "nth": 3,
"isVLEncoded": false,
- "isSerialized": false,
+ "isSerialized": true,
"isSigningField": false,
- "type": "Transaction"
+ "type": "STArray"
}
],
[
- "LedgerEntry",
+ "SignerEntries",
{
- "nth": 1,
+ "nth": 4,
"isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
- "type": "LedgerEntry"
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "STArray"
}
],
[
- "Validation",
+ "Template",
{
- "nth": 1,
+ "nth": 5,
"isVLEncoded": false,
- "isSerialized": false,
- "isSigningField": false,
- "type": "Validation"
+ "isSerialized": true,
+ "isSigningField": true,
+ "type": "STArray"
}
],
[
- "SignerListID",
+ "Necessary",
{
- "nth": 38,
+ "nth": 6,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STArray"
}
],
[
- "SettleDelay",
+ "Sufficient",
{
- "nth": 39,
+ "nth": 7,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STArray"
}
],
[
- "TicketCount",
+ "AffectedNodes",
{
- "nth": 40,
+ "nth": 8,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STArray"
}
],
[
- "TicketSequence",
+ "Memos",
{
- "nth": 41,
+ "nth": 9,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STArray"
}
],
[
- "NFTokenTaxon",
+ "NFTokens",
{
- "nth": 42,
+ "nth": 10,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STArray"
}
],
[
- "MintedNFTokens",
+ "Hooks",
{
- "nth": 43,
+ "nth": 11,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STArray"
}
],
[
- "BurnedNFTokens",
+ "Majorities",
{
- "nth": 44,
+ "nth": 16,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt32"
+ "type": "STArray"
}
],
[
- "Channel",
+ "DisabledValidators",
{
- "nth": 22,
+ "nth": 17,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "STArray"
}
],
[
- "ConsensusHash",
+ "HookExecutions",
{
- "nth": 23,
+ "nth": 18,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "STArray"
}
],
[
- "CheckID",
+ "HookParameters",
{
- "nth": 24,
+ "nth": 19,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "STArray"
}
],
[
- "ValidatedHash",
+ "HookGrants",
{
- "nth": 25,
+ "nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "Hash256"
+ "type": "STArray"
}
],
[
- "PreviousPageMin",
+ "Generic",
{
- "nth": 26,
+ "nth": 0,
"isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "Hash256"
+ "isSerialized": false,
+ "isSigningField": false,
+ "type": "Unknown"
}
],
[
- "NextPageMin",
+ "Invalid",
{
- "nth": 27,
+ "nth": -1,
"isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "Hash256"
+ "isSerialized": false,
+ "isSigningField": false,
+ "type": "Unknown"
}
],
[
- "NFTokenBuyOffer",
+ "TicketID",
{
- "nth": 28,
+ "nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
@@ -1726,73 +2126,73 @@
}
],
[
- "NFTokenSellOffer",
+ "hash",
{
- "nth": 29,
+ "nth": 257,
"isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
+ "isSerialized": false,
+ "isSigningField": false,
"type": "Hash256"
}
],
[
- "TickSize",
+ "index",
{
- "nth": 16,
+ "nth": 258,
"isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "UInt8"
+ "isSerialized": false,
+ "isSigningField": false,
+ "type": "Hash256"
}
],
[
- "UNLModifyDisabling",
+ "taker_gets_funded",
{
- "nth": 17,
+ "nth": 258,
"isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "UInt8"
+ "isSerialized": false,
+ "isSigningField": false,
+ "type": "Amount"
}
],
[
- "DestinationNode",
+ "taker_pays_funded",
{
- "nth": 9,
+ "nth": 259,
"isVLEncoded": false,
- "isSerialized": true,
- "isSigningField": true,
- "type": "UInt64"
+ "isSerialized": false,
+ "isSigningField": false,
+ "type": "Amount"
}
],
[
- "Cookie",
+ "Target",
{
- "nth": 10,
- "isVLEncoded": false,
+ "nth": 7,
+ "isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "AccountID"
}
],
[
- "ServerVersion",
+ "ObjectEndMarker",
{
- "nth": 11,
+ "nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "STObject"
}
],
[
- "NFTokenOfferNode",
+ "ArrayEndMarker",
{
- "nth": 12,
+ "nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
- "type": "UInt64"
+ "type": "STArray"
}
]
],
@@ -1938,7 +2338,6 @@
},
"TRANSACTION_TYPES": {
"Invalid": -1,
-
"Payment": 0,
"EscrowCreate": 1,
"EscrowFinish": 2,
@@ -1961,6 +2360,7 @@
"DepositPreauth": 19,
"TrustSet": 20,
"AccountDelete": 21,
+ "SetHook": 22,
"NFTokenMint": 25,
"NFTokenBurn": 26,
"NFTokenCreateOffer": 27,