@pontem/liquidswap-widget
Version:
Liquidswap widget as custom web component
30 lines (25 loc) • 503 B
text/typescript
import { TVersionType } from './index';
export interface IPoolInfo {
coinX: string;
coinY: string;
curve: string;
networkId: number;
contract?: TVersionType;
}
export interface IPoolBase {
coinX: string;
coinY: string;
curve: string;
networkId: number;
contract?: TVersionType;
}
export interface IPersistedPool extends IPoolInfo {
title: string;
reserveX: number;
reserveY: number;
addedX: number;
addedY: number;
lp: number;
isDefault: boolean;
apr?: number;
}