From 825dad30c06cd02e47336efcf84af4c990eaf2a5 Mon Sep 17 00:00:00 2001 From: thesn10 <38666407+thesn10@users.noreply.github.com> Date: Wed, 24 Jun 2026 22:38:54 +0200 Subject: [PATCH] feat: generate solisting codama bindings (with correct IDL address) --- sdk/src/idl/solisting.json | 8 ++++---- target/idl/solisting.json | 8 ++++---- yarn.lock | 6 ++++-- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/sdk/src/idl/solisting.json b/sdk/src/idl/solisting.json index 3111896..bedd9a7 100644 --- a/sdk/src/idl/solisting.json +++ b/sdk/src/idl/solisting.json @@ -1,5 +1,5 @@ { - "address": "", + "address": "DzwUAbpRvqcbA8QsEkRbZeXG4TEho5782cMySodrUHBU", "metadata": { "name": "solisting", "version": "0.1.0", @@ -1225,7 +1225,7 @@ "name": "usd_oracle", "docs": [ "Pyth V2 PriceFeedAccount for this token priced in USD (TOKEN/USD).", - "`None` = treat as a $1.00 USD stablecoin — no oracle account required at order time." + "`None` = treat as a $1.00 USD stablecoin \u2014 no oracle account required at order time." ], "type": { "option": "pubkey" @@ -1238,7 +1238,7 @@ "name": "solisting::state::Currency", "docs": [ "Payment currency identifier. Amounts are always in the currency's smallest unit:", - "Sol → Lamports (u64), Spl → token units (smallest unit per `decimals`)." + "Sol \u2192 Lamports (u64), Spl \u2192 token units (smallest unit per `decimals`)." ], "type": { "kind": "enum", @@ -1425,4 +1425,4 @@ } } ] -} +} \ No newline at end of file diff --git a/target/idl/solisting.json b/target/idl/solisting.json index 3111896..bedd9a7 100644 --- a/target/idl/solisting.json +++ b/target/idl/solisting.json @@ -1,5 +1,5 @@ { - "address": "", + "address": "DzwUAbpRvqcbA8QsEkRbZeXG4TEho5782cMySodrUHBU", "metadata": { "name": "solisting", "version": "0.1.0", @@ -1225,7 +1225,7 @@ "name": "usd_oracle", "docs": [ "Pyth V2 PriceFeedAccount for this token priced in USD (TOKEN/USD).", - "`None` = treat as a $1.00 USD stablecoin — no oracle account required at order time." + "`None` = treat as a $1.00 USD stablecoin \u2014 no oracle account required at order time." ], "type": { "option": "pubkey" @@ -1238,7 +1238,7 @@ "name": "solisting::state::Currency", "docs": [ "Payment currency identifier. Amounts are always in the currency's smallest unit:", - "Sol → Lamports (u64), Spl → token units (smallest unit per `decimals`)." + "Sol \u2192 Lamports (u64), Spl \u2192 token units (smallest unit per `decimals`)." ], "type": { "kind": "enum", @@ -1425,4 +1425,4 @@ } } ] -} +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 7a2ee7a..4a8c8a2 100644 --- a/yarn.lock +++ b/yarn.lock @@ -50,7 +50,7 @@ __metadata: languageName: node linkType: hard -"@codama/nodes-from-anchor@npm:^1.4.1": +"@codama/nodes-from-anchor@npm:^1.4.1, @codama/nodes-from-anchor@npm:^1.5.1": version: 1.5.1 resolution: "@codama/nodes-from-anchor@npm:1.5.1" dependencies: @@ -85,7 +85,7 @@ __metadata: languageName: node linkType: hard -"@codama/renderers-js@npm:^2.2.0": +"@codama/renderers-js@npm:^2.2.0, @codama/renderers-js@npm:^2.3.0": version: 2.3.0 resolution: "@codama/renderers-js@npm:2.3.0" dependencies: @@ -2307,6 +2307,8 @@ __metadata: version: 0.0.0-use.local resolution: "solisting@workspace:." dependencies: + "@codama/nodes-from-anchor": "npm:^1.5.1" + "@codama/renderers-js": "npm:^2.3.0" prettier: "npm:^3.8.3" languageName: unknown linkType: soft