mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-23 08:17:55 +00:00
5749f9a379
- Add HEZ/DOT pool to PoolDashboard - Display DOT, ETH, BTC instead of wDOT, wETH, wBTC to users - Update priceOracle with correct symbol mappings - Fix lint errors in check_all_pools.mjs - Extract MINTABLE_ASSETS to separate file for fast refresh
50 lines
1.0 KiB
TypeScript
50 lines
1.0 KiB
TypeScript
export interface AssetConfig {
|
|
id: number;
|
|
symbol: string;
|
|
name: string;
|
|
decimals: number;
|
|
logo?: string;
|
|
defaultAmount?: string;
|
|
color?: string; // For theming (green, blue, orange, etc.)
|
|
}
|
|
|
|
// Pre-configured assets for easy use
|
|
export const MINTABLE_ASSETS: Record<string, AssetConfig> = {
|
|
wUSDT: {
|
|
id: 1000,
|
|
symbol: 'wUSDT',
|
|
name: 'Wrapped USDT',
|
|
decimals: 6,
|
|
logo: '/shared/images/USDT(hez)logo.png',
|
|
defaultAmount: '10000',
|
|
color: 'green',
|
|
},
|
|
wDOT: {
|
|
id: 1001,
|
|
symbol: 'wDOT',
|
|
name: 'Wrapped DOT',
|
|
decimals: 10,
|
|
logo: '/shared/images/dot.png',
|
|
defaultAmount: '100',
|
|
color: 'pink',
|
|
},
|
|
wETH: {
|
|
id: 1002,
|
|
symbol: 'wETH',
|
|
name: 'Wrapped ETH',
|
|
decimals: 18,
|
|
logo: '/shared/images/etherium.png',
|
|
defaultAmount: '10',
|
|
color: 'purple',
|
|
},
|
|
wBTC: {
|
|
id: 1003,
|
|
symbol: 'wBTC',
|
|
name: 'Wrapped BTC',
|
|
decimals: 8,
|
|
logo: '/shared/images/bitcoin.png',
|
|
defaultAmount: '1',
|
|
color: 'orange',
|
|
},
|
|
};
|