rubic-sdk
Version:
Simplify dApp creation
12 lines (11 loc) • 701 B
TypeScript
import { TeleswapSDK } from '@teleportdao/teleswap-sdk';
import BigNumber from 'bignumber.js';
import { PriceToken, PriceTokenAmount } from "../../../../../../common/tokens";
import { TeleSwapCcrSupportedChain } from '../constants/teleswap-ccr-supported-chains';
export declare class TeleSwapUtilsService {
private static readonly bitcoinFeePercent;
static calculateOutputWeiAmount(fromToken: PriceTokenAmount<TeleSwapCcrSupportedChain>, toToken: PriceToken<TeleSwapCcrSupportedChain>, teleSwapSdk: TeleswapSDK): Promise<BigNumber>;
private static calculateEvmOutputWeiAmount;
private static calculateBtcOutputWeiAmount;
static getTokenAddress(token: PriceToken): string | null;
}