mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
12 lines
278 B
TypeScript
12 lines
278 B
TypeScript
import type { Unit } from 'types/unit';
|
|
|
|
import config from 'configs/app';
|
|
|
|
const weiName = config.chain.currency.weiName || 'wei';
|
|
|
|
export const currencyUnits: Record<Unit, string> = {
|
|
wei: weiName,
|
|
gwei: `G${ weiName }`,
|
|
ether: config.chain.currency.symbol || 'ETH',
|
|
};
|