Skip to content

Commit

Permalink
feat: update asstes to Pub testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
naturexie committed Oct 28, 2024
1 parent d87d32f commit be50b6f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 18 deletions.
12 changes: 6 additions & 6 deletions screens/Market/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ import getConfig, { incentiveTokens, topTokens } from "../../utils/config";

function MarketsTable({ rows, sorting }: TableProps) {
const allowedTokenIds = [
"wbtc.fakes.testnet",
"nbtc1-nsp.testnet",
"eth.fakes.testnet",
"usdcc.fakes.testnet",
"usdtt.fakes.testnet",
"853d95.fakes.testnet",
"wbtc.ft.ref-labs.testnet",
"nbtc2-nsp.testnet",
"eth.ft.ref-labs.testnet",
"usdcc.ft.ref-labs.testnet",
"usdtt.ft.ref-labs.testnet",
"frax.ft.ref-labs.testnet",
];
const filteredRows = rows.filter((row) => allowedTokenIds.includes(row.tokenId));
return (
Expand Down
13 changes: 1 addition & 12 deletions store/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,7 @@ export const getAssetsDetailed = async (): Promise<IAssetDetailed[]> => {
// const assets: IAssetEntry[] = await getAssets();
// const detailedAssets = await Promise.all(assets.map((asset) => getAssetDetailed(asset.token_id)));
const detailedAssets = await getAssetDetaileds();
const allowedTokenIds = [
"wbtc.fakes.testnet",
"nbtc1-nsp.testnet",
"eth.fakes.testnet",
"usdcc.fakes.testnet",
"usdtt.fakes.testnet",
"853d95.fakes.testnet",
"token.dev-burrow.testnet",
"dai.fakes.testnet",
];
const filteredRows = detailedAssets.filter((row) => allowedTokenIds.includes(row.token_id));
return filteredRows;
return detailedAssets;
};

export const getUnitLptAssets = async (pool_ids: number[]): Promise<IUnitLptAsset> => {
Expand Down

0 comments on commit be50b6f

Please sign in to comment.