@yoroi/types
Version:
The Yoroi Types package of Yoroi SDK
31 lines • 1.02 kB
TypeScript
import { PortfolioTokenId } from '../portfolio/token';
export type SwapPoolProvider = 'minswap' | 'minswapv2' | 'sundaeswap' | 'wingriders' | 'muesliswap' | 'muesliswap_v1' | 'muesliswap_v2' | 'muesliswap_v3' | 'muesliswap_v4' | 'vyfi' | 'spectrum';
export type SwapSupportedProvider = Extract<SwapPoolProvider, 'minswap' | 'minswapv2' | 'wingriders' | 'sundaeswap' | 'muesliswap' | 'muesliswap_v2' | 'vyfi'>;
export type SwapPool = {
provider: SwapSupportedProvider;
fee: string;
tokenA: {
tokenId: PortfolioTokenId;
quantity: bigint;
};
tokenB: {
tokenId: PortfolioTokenId;
quantity: bigint;
};
ptPriceTokenA: string;
ptPriceTokenB: string;
batcherFee: {
tokenId: PortfolioTokenId;
quantity: bigint;
};
deposit: {
tokenId: PortfolioTokenId;
quantity: bigint;
};
poolId: string;
lpToken: {
tokenId: PortfolioTokenId;
quantity: bigint;
};
};
//# sourceMappingURL=pool.d.ts.map