small fixes

This commit is contained in:
thesn10
2026-06-26 18:36:34 +02:00
parent 555598535d
commit ec1c7d9f8c
2 changed files with 13 additions and 5 deletions

View File

@@ -1263,12 +1263,12 @@
{
"code": 6008,
"name": "SlippageExceeded",
"msg": "Slippage tolerance exceeded \u2014 oracle rate moved unfavorably since tx was built"
"msg": "Slippage tolerance exceeded oracle rate moved unfavorably since tx was built"
},
{
"code": 6009,
"name": "SplNotImplemented",
"msg": "SPL payment path not yet implemented \u2014 descro_spl does not exist"
"msg": "SPL payment path not yet implemented descro_spl does not exist"
},
{
"code": 6010,
@@ -1303,7 +1303,7 @@
"name": "usd_oracle",
"docs": [
"Pyth V2 PriceFeedAccount for this token priced in USD (TOKEN/USD).",
"`None` = treat as a $1.00 USD stablecoin \u2014 no oracle account required at order time."
"`None` = treat as a $1.00 USD stablecoin no oracle account required at order time."
],
"type": {
"option": "pubkey"
@@ -1316,7 +1316,7 @@
"name": "Currency",
"docs": [
"Payment currency identifier. Amounts are always in the currency's smallest unit:",
"Sol \u2192 Lamports (u64), Spl \u2192 token units (smallest unit per `decimals`)."
"Sol Lamports (u64), Spl token units (smallest unit per `decimals`)."
],
"type": {
"kind": "enum",
@@ -1415,6 +1415,14 @@
],
"type": "u32"
},
{
"name": "name",
"type": "string"
},
{
"name": "description",
"type": "string"
},
{
"name": "metadata_uri",
"type": "string"