Skip to content

Commit

Permalink
add solana
Browse files Browse the repository at this point in the history
  • Loading branch information
realdealshaman committed Jan 14, 2025
1 parent 7327590 commit b92dbae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/adapters/peggedAssets/first-digital-usd/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import {
Balances,
ChainContracts,
} from "../peggedAsset.type";
import { solanaMintedOrBridged } from "../helper/getSupply";

const chainContracts: ChainContracts = {
ethereum: {
Expand All @@ -16,6 +17,9 @@ const chainContracts: ChainContracts = {
bsc: {
issued: ["0xc5f0f7b66764f6ec8c8dff7ba683102295e16409"],
},
solana: {
issued: ["9zNQRsGLjNKwCUU5Gq5LR8beUCPzQMVMqKAi3SSZh54u"]
}
};

async function suiMinted(): Promise<Balances> {
Expand Down Expand Up @@ -92,6 +96,9 @@ const adapter: PeggedIssuanceAdapter = {
sui: {
minted: suiMinted,
},
solana: {
minted: solanaMintedOrBridged(chainContracts.solana.issued),
}
};

export default adapter;

0 comments on commit b92dbae

Please sign in to comment.