From b92dbae521cda2cd9bca53830134875834164318 Mon Sep 17 00:00:00 2001 From: realdealshaman Date: Tue, 14 Jan 2025 01:35:33 +0000 Subject: [PATCH] add solana --- src/adapters/peggedAssets/first-digital-usd/index.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/adapters/peggedAssets/first-digital-usd/index.ts b/src/adapters/peggedAssets/first-digital-usd/index.ts index a6120d85..83fe86ab 100644 --- a/src/adapters/peggedAssets/first-digital-usd/index.ts +++ b/src/adapters/peggedAssets/first-digital-usd/index.ts @@ -7,6 +7,7 @@ import { Balances, ChainContracts, } from "../peggedAsset.type"; +import { solanaMintedOrBridged } from "../helper/getSupply"; const chainContracts: ChainContracts = { ethereum: { @@ -16,6 +17,9 @@ const chainContracts: ChainContracts = { bsc: { issued: ["0xc5f0f7b66764f6ec8c8dff7ba683102295e16409"], }, + solana: { + issued: ["9zNQRsGLjNKwCUU5Gq5LR8beUCPzQMVMqKAi3SSZh54u"] + } }; async function suiMinted(): Promise { @@ -92,6 +96,9 @@ const adapter: PeggedIssuanceAdapter = { sui: { minted: suiMinted, }, + solana: { + minted: solanaMintedOrBridged(chainContracts.solana.issued), + } }; export default adapter;