@yoroi/swap
Version:
The Swap package of Yoroi SDK
14 lines (12 loc) • 305 B
Flow
/**
* Flowtype definitions for getBestSwap
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.21.0
*/
import { Swap } from "@yoroi/types";
declare export var getBestSwap: (
tokenOutPrice: number
) => <T: Swap.EstimateResponse | Swap.CreateResponse>(
best: T,
candidate: T
) => T;