Our API is getting an upgrade. Set to be released this summer, v2 is built entirely from scratch using Typescript, and will make Totle’s system much more powerful, scalable, and flexible.
Everything is swap. There will be no more buys/sells. Swaps are simpler and will include one or more trades, consisting of a collection of main and backup orders.
Base currencies. Instead of always needing to go through ETH, we are introducing new base currencies, such as WETH, DAI, MKR, or any other asset that could potentially improve trade rates.
Totle Strategies. These are the logic of selecting orders, both main and backup. We can have a number of different algorithms, such as "Safe", "DEX Diversification", "Aggresive", and more.
Error reporting. In an effort to improve the developer experience, we are changing how we handle errors in our Primary Contract response by generating developer friendly errors.
Most importantly, users can expect better prices and lower gas costs with these updates. Learn more here.