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

@@ -101,7 +101,7 @@ function CurrencyToggle({
cursor: 'pointer', cursor: 'pointer',
color: on ? '#0b0613' : 'var(--mut)', color: on ? '#0b0613' : 'var(--mut)',
background: on ? 'linear-gradient(135deg,var(--acc),var(--acc2))' : 'var(--bg3)', background: on ? 'linear-gradient(135deg,var(--acc),var(--acc2))' : 'var(--bg3)',
border: `1px solid ${on ? 'transparent' : 'var(--bd)'}`, border: `1px solid var(--bd)`,
}) })
return ( return (
<div style={{ display: 'flex', gap: 8 }}> <div style={{ display: 'flex', gap: 8 }}>

View File

@@ -1263,12 +1263,12 @@
{ {
"code": 6008, "code": 6008,
"name": "SlippageExceeded", "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, "code": 6009,
"name": "SplNotImplemented", "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, "code": 6010,
@@ -1303,7 +1303,7 @@
"name": "usd_oracle", "name": "usd_oracle",
"docs": [ "docs": [
"Pyth V2 PriceFeedAccount for this token priced in USD (TOKEN/USD).", "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": { "type": {
"option": "pubkey" "option": "pubkey"
@@ -1316,7 +1316,7 @@
"name": "Currency", "name": "Currency",
"docs": [ "docs": [
"Payment currency identifier. Amounts are always in the currency's smallest unit:", "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": { "type": {
"kind": "enum", "kind": "enum",
@@ -1415,6 +1415,14 @@
], ],
"type": "u32" "type": "u32"
}, },
{
"name": "name",
"type": "string"
},
{
"name": "description",
"type": "string"
},
{ {
"name": "metadata_uri", "name": "metadata_uri",
"type": "string" "type": "string"