Intents x Levered

Intents x Levered

On-chain leverage powered by intents

The problem Intents x Levered solves

On-chain leverage is broken!

Perpetual futures protocols offer a very limited number of markets (assets), present inherent system stability risks (deviation from spot prices), heavily rely on oracles for executing liquidations, can be costly depending on funding rates, and pose a front-running risk for large trades.

Leveraged tokens provide an alternative means of acquiring leverage on-chain, but there are only a few of these tokens available, with fixed parameters (e.g., 2xETH), maintained by third-party providers.

Margin trading using lending protocols involves a complex series of swaps and supply-borrow loops, which are cumbersome to manage and automate, even for developers, and even more so for traders.

"Intents x Levered" addresses these issues by abstracting away all the complexity, allowing users to take leveraged positions in tokens (and DeFi pools) against any other token at any ratio.

Its solver architecture identifies the optimal execution path and consolidates all necessary actions into a single transaction. Additionally, account abstraction facilitates the automatic maintenance of margin levels.

Challenges we ran into

Testing of contracts (calldata required for intent-based architecture which leads to finding the bugs in a later stage)

We wanted to store our funds in a Safe contract and execute the tx directly from there. When taking a flash loan with balancer there is an external function “receiveFlashLoan”. We were familiar with modules to manage funds from the vault and directly interact with other contracts without having to wait for signatures from multiple owners (multi sig) but the balancer contract is calling the address which is taking the loan which in our case is the safe address. After consultation with the safe team we learned about the fallback handler which extends the functionality of the safe. When someone calls a function in the safe which is not implemented it will fallback to this contract

Tracks Applied (10)

1inch Track

Used 1inch dev portal APIs to display position data, token balances and other parameters necessary for strategy monitori...Read More

1inch Network

Arbitrum Track

Deployed on Arbitrum mainnet, managing all interactions, including on-demand call-data generation across AAVE, Balancer ...Read More

Arbitrum

Polygon Track

Participating in the Polygon zkEVM DeFi Challenge as we deployed an innovative DeFi protocol on zkEVM

Polygon

Safe Track

Using core Safe infrastructure & modules to deploy smart wallets for the users & manage transactions, using Safe Auth to...Read More

safe

Celo Track

Deployed smart contracts on Celo

Celo

Base Track

Deployed a consumer product on Base

Base

Alliance Track

Our DeFi protocol can be expanded to cover any use cases for derivatives & structured products with the flexibility of i...Read More

Alliance

Push Protocol Track

Integrated push notifications

Push Protocol

MetaMask Track

Using Gas API & Metamask SDK

MetaMask

Scroll Track

Deployed on Scroll

Scroll

Cheer Project

Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.

Discussion