@pangolindex/sdk
Version:
🛠An SDK for building applications on top of Pangolin.
6 lines (5 loc) • 378 B
TypeScript
import { ChainId } from '../../chains';
import { CurrencyAmount, TokenAmount, Currency } from '../../entities';
import { BigintIsh } from '../../constants';
export declare function wrappedAmount(currencyAmount: CurrencyAmount, chainId: ChainId): TokenAmount;
export declare function createAmount(currency: Currency, rawAmount: BigintIsh, chainId: ChainId): CurrencyAmount;