Limit To Win It

Limit-Order Tools for to empower all things interest-related

The Inspiration

With the construction with some incredibly DeFi products offering "interest-bearing tokens", such as Compound's cTokenx (including cWBTC), Synthetix' SUSD that can be printed with its SNX token, and bZx's iTokens, these tokens interplay with Kyber's Limit Order functionality in a super unique way

Specifically, users can utilize Kyber's limit order functions to fill orders based on interest rate targets, rather than time, as the limit orders are able to stay open.
This also works for holding certain staking-supported coins, which offer rewards for holding coins, as Kyber's limit orders are non-custodial, users can hold the limit order while earning rewards in the meantime.

We offer a tool to spit out the exact parameters needed to construct a Kyber Limit Order to execute the desired interest bearing strategies, and introduce the potential to automatically take interest and lever up on it, in the future using Fulcrum bZx tokens or buying cETH & levering on Compound.

Similar to pooltogether.us, users may risk their interest instead of their principal with just one click. This feature is now available on the Limit To Win It bZx Page.

APIs

I worked with the Kyber API to get current prices of the underlying tokens, Compound's API to collect prices and conversion rates to the main base token from the cToken, bZx's iDai token for interest (as well as future plan for buying pToken with excess interest rewards), and synthetix's SNX token (from a staking perspective) to create many limit order outputs that could be fed to execute the limit order function on the Kyber API.

See All Supported Products Here

cTokens Synthetix Tokens bZx iTokens


This hack still has a ways to go to finish pushing everything to the LIMIT. Future improvements (more to add): * In the future, we'd like to have a Kill order feature if the interest rate changes by more than a certain limit;
Made with <3 on web3

Built With

Share this project:

Updates