UNPKG

@yoroi/types

Version:
15 lines 564 B
import { BalanceQuantity } from '../balance/token'; import { SwapAggregator } from '../swap/aggregator'; export interface AppApi { getFrontendFees(): Promise<AppFrontendFeesResponse>; } export type AppFrontendFeesResponse = Readonly<{ [aggregator in SwapAggregator]?: ReadonlyArray<AppFrontendFeeTier>; }>; export type AppFrontendFeeTier = Readonly<{ primaryTokenValueThreshold: BalanceQuantity; secondaryTokenBalanceThreshold: BalanceQuantity; variableFeeMultiplier: number; fixedFee: BalanceQuantity; }>; //# sourceMappingURL=app.d.ts.map