Migration to Version 1.0
Overview Of Changes
SOR Library
const SOR = new sor.SOR(Provider, GasPrice, MaxPools, ChainId, PoolsUrl)
await SOR.setCostOutputToken(tokenOut)
const isSuccess = await SOR.fetchPools()
const [swaps, amount] = await SOR.getSwaps(tokenIn, tokenOut, swapType, swapAmount)
ExchangeProxy Contract
Further Information
Last updated
Was this helpful?