Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ const nextConfig = {
source: '/nimbora/:path*',
destination: 'https://stats.nimbora.io/:path*',
},
{
source: '/imagedelivery/:path*',
destination: 'https://imagedelivery.net/0xPAQaDtnQhBs8IzYRIlNg/:path*',
},
{
source: '/vesu/:path*',
destination: 'https://api.vesu.xyz/:path*',
Expand Down
4 changes: 3 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ const LOGOS = {
STRK: '/zklend/icons/tokens/strk.svg?w=20',
DAI: '/zklend/icons/tokens/dai.svg?w=20',
kSTRK: '/zklend/icons/tokens/kstrk.svg?w=20',
xSTRK: 'https://endur.fi/logo.svg',
xSTRK: '/imagedelivery/c1f44170-c1b0-4531-3d3b-5f0bacfe1300/logo',
sSTRK: '/imagedelivery/e28697ac-a8ba-462f-0d40-ad33b285c200/logo',
};

export type TokenName =
Expand All @@ -22,6 +23,7 @@ export type TokenName =
| 'WBTC'
| 'DAI'
| 'kSTRK'
| 'sSTRK'
| 'xSTRK';

const CONSTANTS = {
Expand Down
1 change: 1 addition & 0 deletions src/store/ekobu.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export class Ekubo extends IDapp<EkuboBaseAprDoc> {
'STRK/USDC',
'STRK/ETH',
'kSTRK/STRK',
'xSTRK/STRK',
'USDC/USDT',
'USDC',
'USDT',
Expand Down
2 changes: 1 addition & 1 deletion src/store/nostradex.store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export class NostraDex extends Jediswap {
const rewardApr = parseFloat(poolData.rewardApr);

const _poolName = poolData.id.replace('-', '/');
const isStable = _poolName == 'USDC/USDT';
const isStable = _poolName === 'USDC/USDT';
const category: Category[] = getCategoriesFromName(
_poolName,
isStable,
Expand Down
Loading