small fixes
This commit is contained in:
@@ -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 }}>
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user