update defs.json

This commit is contained in:
Richard Holland
2022-12-21 18:14:12 +00:00
parent 8b298ab3c0
commit 4b2b6a871a

View File

@@ -41,12 +41,18 @@
"PayChannel": 120,
"Check": 67,
"DepositPreauth": 112,
"NegativeUnl": 78,
"Any": 0,
"Child": 7378,
"NegativeUNL": 78,
"NFTokenPage": 80,
"NFTokenOffer": 55,
"Any": -3,
"Child": -2,
"Nickname": 110,
"Contract": 99,
"GeneratorMap": 103
"GeneratorMap": 103,
"Hook": 72,
"HookState": 118,
"HookDefinition": 68,
"EmittedTxn": 69
},
"FIELDS": [
[
@@ -132,7 +138,7 @@
[
"LedgerEntry",
{
"nth": 257,
"nth": 1,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": true,
@@ -142,7 +148,7 @@
[
"Transaction",
{
"nth": 257,
"nth": 1,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": true,
@@ -152,7 +158,7 @@
[
"Validation",
{
"nth": 257,
"nth": 1,
"isVLEncoded": false,
"isSerialized": false,
"isSigningField": true,
@@ -162,7 +168,7 @@
[
"Metadata",
{
"nth": 257,
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
@@ -319,6 +325,16 @@
"type": "UInt16"
}
],
[
"NetworkID",
{
"nth": 1,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"Flags",
{
@@ -710,7 +726,7 @@
}
],
[
"TokenTaxon",
"NFTokenTaxon",
{
"nth": 42,
"isVLEncoded": false,
@@ -720,7 +736,7 @@
}
],
[
"MintedTokens",
"MintedNFTokens",
{
"nth": 43,
"isVLEncoded": false,
@@ -730,7 +746,7 @@
}
],
[
"BurnedTokens",
"BurnedNFTokens",
{
"nth": 44,
"isVLEncoded": false,
@@ -759,6 +775,16 @@
"type": "UInt32"
}
],
[
"LockCount",
{
"nth": 47,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"RewardTime",
{
@@ -900,7 +926,7 @@
}
],
[
"OfferNode",
"NFTokenOfferNode",
{
"nth": 12,
"isVLEncoded": false,
@@ -919,16 +945,6 @@
"type": "UInt64"
}
],
[
"HookOn",
{
"nth": 16,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt64"
}
],
[
"HookInstructionCount",
{
@@ -1189,6 +1205,16 @@
"type": "Hash256"
}
],
[
"HookOn",
{
"nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"Digest",
{
@@ -1260,7 +1286,7 @@
}
],
[
"BuyOffer",
"NFTokenBuyOffer",
{
"nth": 28,
"isVLEncoded": false,
@@ -1270,7 +1296,7 @@
}
],
[
"SellOffer",
"NFTokenSellOffer",
{
"nth": 29,
"isVLEncoded": false,
@@ -1319,6 +1345,26 @@
"type": "Hash256"
}
],
[
"OfferID",
{
"nth": 34,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"EscrowID",
{
"nth": 35,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[
"Amount",
{
@@ -1459,6 +1505,26 @@
"type": "Amount"
}
],
[
"HookCallbackFee",
{
"nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"LockedBalance",
{
"nth": 21,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"PublicKey",
{
@@ -1706,7 +1772,7 @@
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type":"Blob"
"type": "Blob"
}
],
[
@@ -1840,7 +1906,7 @@
}
],
[
"TokenOffers",
"NFTokenOffers",
{
"nth": 4,
"isVLEncoded": true,
@@ -1849,6 +1915,16 @@
"type": "Vector256"
}
],
[
"HookNamespaces",
{
"nth": 5,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "Vector256"
}
],
[
"Paths",
{
@@ -2224,6 +2300,9 @@
"telCAN_NOT_QUEUE_BLOCKED": -389,
"telCAN_NOT_QUEUE_FEE": -388,
"telCAN_NOT_QUEUE_FULL": -387,
"telWRONG_NETWORK": -386,
"telREQUIRES_NETWORK_ID": -385,
"telNETWORK_ID_MAKES_TX_NON_CANONICAL": -384,
"temMALFORMED": -299,
"temBAD_AMOUNT": -298,
@@ -2258,10 +2337,13 @@
"temBAD_TICK_SIZE": -269,
"temINVALID_ACCOUNT_ID": -268,
"temCANNOT_PREAUTH_SELF": -267,
"temUNCERTAIN": -266,
"temUNKNOWN": -265,
"temSEQ_AND_TICKET": -264,
"temBAD_NFTOKEN_TRANSFER_FEE": -263,
"temINVALID_COUNT": -266,
"temHOOK_DATA_TOO_LARGE": -265,
"temHOOK_REJECTED": -264,
"temUNCERTAIN": -263,
"temUNKNOWN": -262,
"temSEQ_AND_TICKET": -261,
"temBAD_NFTOKEN_TRANSFER_FEE": -260,
"tefFAILURE": -199,
"tefALREADY": -198,
@@ -2297,6 +2379,7 @@
"terNO_RIPPLE": -90,
"terQUEUED": -89,
"terPRE_TICKET": -88,
"terNO_HOOK": -87,
"tesSUCCESS": 0,
@@ -2339,7 +2422,6 @@
"tecHAS_OBLIGATIONS": 151,
"tecTOO_SOON": 152,
"tecHOOK_REJECTED": 153,
"tecMAX_SEQUENCE_REACHED": 154,
"tecNO_SUITABLE_NFTOKEN_PAGE": 155,
"tecNFTOKEN_BUY_SELL_MISMATCH": 156,
@@ -2348,8 +2430,8 @@
"tecINSUFFICIENT_FUNDS": 159,
"tecOBJECT_NOT_FOUND": 160,
"tecINSUFFICIENT_PAYMENT": 161,
"tecINCORRECT_ASSET": 162,
"tecTOO_MANY": 163
"tecREQUIRES_FLAG": 162,
"tecPRECISION_LOSS": 163
},
"TRANSACTION_TYPES": {
"Invalid": -1,
@@ -2385,8 +2467,7 @@
"Invoke": 99,
"EnableAmendment": 100,
"SetFee": 101,
"UNLModify": 102
"UNLModify": 102,
"EmitFailure": 103
}
}