Skip to content

Commit

Permalink
gcoti update for price service
Browse files Browse the repository at this point in the history
  • Loading branch information
gmesika-coti committed Feb 18, 2024
1 parent 5cd0700 commit de6c9c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,13 @@ export const exchangesNameMapping = {
export const CurrencySymbols = {
COTI: { BINANCE: 'COTIUSDT', CRYPTOCOM: 'cotiusdc', COINBASE: 'COTI-USD', KUCOIN: 'COTI-USDT', COIN_MARKET_CAP: 'COTI' },
ETH: { BINANCE: 'ETHUSDT', CRYPTOCOM: 'ethusdc', COINBASE: 'ETH-USD', KUCOIN: 'ETH-USDT', COIN_MARKET_CAP: 'ETH' },
GCOTI: { BINANCE: 'GCOTIUSDT', CRYPTOCOM: 'gcotiusdc', COINBASE: 'GCOTI-USD', KUCOIN: 'GCOTI-USTD', COIN_MARKET_CAP: 'GCOTI' },
};

export enum CurrencyTypes {
ETH = 'ETH',
COTI = 'COTI',
GCOTI = 'GCOTI',
}

export async function getExchangeRate(configService: ConfigService, currency: CurrencyTypes, date?: Date, dex?: Exchanges) {
Expand Down

0 comments on commit de6c9c3

Please sign in to comment.