13 lines
333 B
TypeScript
13 lines
333 B
TypeScript
|
|
// Token interface for swap
|
||
|
|
export interface Token {
|
||
|
|
symbol: string;
|
||
|
|
name: string;
|
||
|
|
decimals: number; // 配置值(兜底)
|
||
|
|
onChainDecimals?: number; // 链上实际读取值,优先使用
|
||
|
|
iconUrl: string;
|
||
|
|
contractAddress: string;
|
||
|
|
chainId: number;
|
||
|
|
tokenType: 'stablecoin' | 'yield-token';
|
||
|
|
}
|
||
|
|
|