update definitions.json

This commit is contained in:
Omar Khan
2022-08-16 14:57:07 -04:00
parent 02ed92807e
commit 25bdb692cb

View File

@@ -44,6 +44,7 @@
"NegativeUNL": 78, "NegativeUNL": 78,
"NFTokenPage": 80, "NFTokenPage": 80,
"NFTokenOffer": 55, "NFTokenOffer": 55,
"Amm": 121,
"Any": -3, "Any": -3,
"Child": -2, "Child": -2,
"Nickname": 110, "Nickname": 110,
@@ -271,6 +272,16 @@
"type": "UInt16" "type": "UInt16"
} }
], ],
[
"TradingFee",
{
"nth": 5,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt16"
}
],
[ [
"Version", "Version",
{ {
@@ -761,6 +772,46 @@
"type": "UInt32" "type": "UInt32"
} }
], ],
[
"FeeVal",
{
"nth": 47,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"VoteWeight",
{
"nth": 48,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"TimeStamp",
{
"nth": 49,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[
"DiscountedFee",
{
"nth": 50,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "UInt32"
}
],
[ [
"IndexNext", "IndexNext",
{ {
@@ -981,6 +1032,26 @@
"type": "Hash160" "type": "Hash160"
} }
], ],
[
"TokenCurrency",
{
"nth": 5,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash160"
}
],
[
"TokenIssuer",
{
"nth": 6,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash160"
}
],
[ [
"LedgerHash", "LedgerHash",
{ {
@@ -1111,6 +1182,16 @@
"type": "Hash256" "type": "Hash256"
} }
], ],
[
"AMMID",
{
"nth": 14,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Hash256"
}
],
[ [
"BookDirectory", "BookDirectory",
{ {
@@ -1381,6 +1462,46 @@
"type": "Amount" "type": "Amount"
} }
], ],
[
"Asset1",
{
"nth": 11,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"Asset2",
{
"nth": 12,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"MinSlotPrice",
{
"nth": 13,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"MaxSlotPrice",
{
"nth": 14,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[ [
"MinimumOffer", "MinimumOffer",
{ {
@@ -1421,6 +1542,86 @@
"type": "Amount" "type": "Amount"
} }
], ],
[
"Asset1In",
{
"nth": 20,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"Asset2In",
{
"nth": 21,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"Asset1Out",
{
"nth": 22,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"Asset2Out",
{
"nth": 23,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"LPTokens",
{
"nth": 24,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"EPrice",
{
"nth": 25,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"Price",
{
"nth": 26,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[
"LPTokenBalance",
{
"nth": 27,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "Amount"
}
],
[ [
"PublicKey", "PublicKey",
{ {
@@ -1751,6 +1952,16 @@
"type": "AccountID" "type": "AccountID"
} }
], ],
[
"AMMAccount",
{
"nth": 11,
"isVLEncoded": true,
"isSerialized": true,
"isSigningField": true,
"type": "AccountID"
}
],
[ [
"HookAccount", "HookAccount",
{ {
@@ -1941,6 +2152,16 @@
"type": "STObject" "type": "STObject"
} }
], ],
[
"AMM",
{
"nth": 15,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
}
],
[ [
"Signer", "Signer",
{ {
@@ -2021,6 +2242,66 @@
"type": "STObject" "type": "STObject"
} }
], ],
[
"VoteEntry",
{
"nth": 25,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
}
],
[
"AuctionSlot",
{
"nth": 27,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
}
],
[
"AuthAccount",
{
"nth": 28,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
}
],
[
"AMMToken",
{
"nth": 29,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
}
],
[
"Token1",
{
"nth": 30,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
}
],
[
"Token2",
{
"nth": 31,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STObject"
}
],
[ [
"Signers", "Signers",
{ {
@@ -2111,6 +2392,26 @@
"type": "STArray" "type": "STArray"
} }
], ],
[
"VoteSlots",
{
"nth": 14,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STArray"
}
],
[
"AuthAccounts",
{
"nth": 21,
"isVLEncoded": false,
"isSerialized": true,
"isSigningField": true,
"type": "STArray"
}
],
[ [
"Majorities", "Majorities",
{ {
@@ -2215,6 +2516,8 @@
"temUNKNOWN": -264, "temUNKNOWN": -264,
"temSEQ_AND_TICKET": -263, "temSEQ_AND_TICKET": -263,
"temBAD_NFTOKEN_TRANSFER_FEE": -262, "temBAD_NFTOKEN_TRANSFER_FEE": -262,
"temBAD_AMM_OPTIONS": -261,
"temBAD_AMM_TOKENS": -260,
"tefFAILURE": -199, "tefFAILURE": -199,
"tefALREADY": -198, "tefALREADY": -198,
@@ -2298,7 +2601,16 @@
"tecCANT_ACCEPT_OWN_NFTOKEN_OFFER": 158, "tecCANT_ACCEPT_OWN_NFTOKEN_OFFER": 158,
"tecINSUFFICIENT_FUNDS": 159, "tecINSUFFICIENT_FUNDS": 159,
"tecOBJECT_NOT_FOUND": 160, "tecOBJECT_NOT_FOUND": 160,
"tecINSUFFICIENT_PAYMENT": 161 "tecINSUFFICIENT_PAYMENT": 161,
"tecUNFUNDED_AMM": 162,
"tecAMM_BALANCE": 163,
"tecAMM_FAILED_DEPOSIT": 164,
"tecAMM_FAILED_WITHDRAW": 165,
"tecAMM_INVALID_TOKENS": 166,
"tecAMM_EXISTS": 167,
"tecAMM_FAILED_BID": 168,
"tecAMM_DIRECT_PAYMENT": 169,
"tecAMM_FAILED_VOTE": 170
}, },
"TRANSACTION_TYPES": { "TRANSACTION_TYPES": {
"Invalid": -1, "Invalid": -1,
@@ -2330,6 +2642,11 @@
"NFTokenCreateOffer": 27, "NFTokenCreateOffer": 27,
"NFTokenCancelOffer": 28, "NFTokenCancelOffer": 28,
"NFTokenAcceptOffer": 29, "NFTokenAcceptOffer": 29,
"AMMInstanceCreate": 35,
"AMMDeposit": 36,
"AMMWithdraw": 37,
"AMMVote": 38,
"AMMBid": 39,
"EnableAmendment": 100, "EnableAmendment": 100,
"SetFee": 101, "SetFee": 101,
"UNLModify": 102 "UNLModify": 102