Get the Monday email →
Loading player…

Reimagining the AMM with 1inch Aqua | Vadim Fadeev at ETHGlobal Mumbai 2026

ETHGlobalFri, Nov 6, 2026, 12:00 AM

Transcript

Hello guys. My name is Vadim. Uh I'm blockchain technical lead at 1 inch. Today I will be speaking about 1 inch aqua and how we could actually solve all the liquidity problems with the help of aqua and reimagine the AMM. So, uh first of all let's start with overview.

Uh Uh currently well we will discuss about landscapes of the axis, what aqua is and how it re-imagines AMM design, what tools we could build to streamline aqua development, what way we could extend aqua, and also we will talk about like benefits uh for the liquidity providers, traders, and builders. And of course we will talk about 1 inch bounties like what like uh users and participants of if global hackathon could benefit. Let's start with the simple example. Let's say Bob, he's a liquidity provider. And Bob has some money, let's say Ethereum and USDC, and he would like to you know like have some income from them, and he decided to pull it into the uh pool Ethereum USDC on Uniswap.

And we have Alice, she's a trader. She would like to sell some of the Ethereum. So, she sends her Ethereum to the pool and receive USDC back. This is like uh in old ways, like it this is like nowadays and most of the mechanics we see the exchange is happening between Bob and Alice where Bob is the liquidity provider and Alice is the trader. And Bob finally gets uh like some portion of the USDC as the fee.

So, uh on the next uh example, we see that Alice is a trader and there are like a lot more DEXes uh came out and more and more DEXes are coming. So, Alice as a trader needs to decide what DEX she needs to select to receive the best price. Like and uh this is a kind of difficult question uh because uh previously people had to manually understand where they could get the best rate and maybe split the swap into multiple parts. So, 1inch back in the days uh came and saved a lot of users by providing the aggregation between isolated uh DEXes and unifying liquidity in some way. So, Alice as a trader doesn't need to know nowadays like where the swap will go.

She just will receive the best price available on the market and uh the rest will be handled by 1inch. So, the liquidity uh on the user end feels like unified one. But in reality, the fragmentation accelerated. Uh because each company they implement custody, they implement accounting, settlement, and everything. And um uh also drawbacks from the liquidity provider.

Um Actually, for the liquidity provider it became a nightmare. Because for me as a liquidity provider, let's say Bob, uh he wants to put his money. Previously, he had like only Uniswap and the decision was simple. Right now, he has a lot of variants like he has Uniswap, he has Curve Finance, he has Dodo, he has SushiSwap like and he starts to think what pool I need to select to put money in like what what DEXs I should trust and uh uh choosing where to deposit sucks because each exchange has its own like uh unique features and uh works in different market conditions and it is uh becoming nightmare for the liquidity provider to understand. Uh so where to put.

So, Bob decided to put to Uniswap. And in this case, he can't actually supply uh other DEXs. And other DEXs they may be uh having like different use cases and they can fit different market conditions. So, Bob uh needs to think constantly like that well, something needs to be changed. Bob Bob also can't take part in DAO governance.

When the Bob puts the money into the Uniswap, like he has no money in his own token. So, he can't like uh take part in any kind of like vote and he could not participate in government. So, this were like uh the drawbacks. Firstly, it's like the choosing uh where to deposit the tokens and uh uh liquidity participation has high opportunity cost and moving funds is high frequency. Because you need to constantly monitor all the market conditions and understand where uh what is the best DEX for you to put the money into.

Yeah. So, uh And uh Bob as a liquidity provider constantly changing the money, withdrawing and depositing into different um and DEXs all the time. And new projects uh continue to appear. We have more and more projects coming and this is actually uh became a nightmare because you need to keep track all of them and understand what project fits for you. So, what 1inch did?

1inch looked on all of these issues, especially the fragmentation for the liquidity provider. And they decided to build a specific IMM which could like exchange the tokens between Bob and Alice. So, like what we decided to build as the product to solve all these issues. Yeah. We decided to construct Aqua.

With the help of Aqua Bob and Alice could exchange the tokens with the help of Aqua application, the specific Aqua. Program which is running through Aqua. What 1inch Aqua is? First of all, you could imagine it is like a shared liquidity layer. And liquidity stays always in liquidity provider's wallet.

For example, if for Uniswap, you need to deposit tokens to the pool. Did anyone in the audience like deposited tokens to the Uniswap and constantly were checking like how much money do I have, what is the fee collected and how it was like anyone? Nice nice guys, yeah. Did anyone like implemented custom hooks for Uniswap before? Because it was like a a nightmare and the Uniswap doesn't provide all the features and you need to have some custom logic like after the transfer or before the transfer, yeah.

So, you kind of feeling actually the same way. So, like And whenever you have your money sitting in some finest portal, I could say, you always thinking about like how money I get like or like what's the pool hacked and you're constantly going and checking. And your liquidity just at one pool. You can't use it like for anything else. And the settlement is atomic.

Uh so like uh we decided to construct Aqua and Aqua works with Aqua router, Aqua applications and strategies. Uh let's start with Aqua router. Aqua router is a simple contract. It's um the 80-line smart contract. And it is responsible for three core functionalities.

First of all is like uh LP registrations. When you can uh ship your strategy and specify the allowance to spend from your wallet. Uh balances. Whenever the transfer is happening through Aqua, Aqua keep tracks of the balance uh which it deposits and uh withdraw uh to the liquidity provider wallet. And to the And whenever it tracks the balance of the liquidity provider wallet, like it keeps it inside the contract.

And it's also in charge of like swap settlement. Uh it is uh done in a way that only uh like a specific uh program which allowed like could uh execute uh the uh Aqua uh swap. Yeah. What the other Aqua application is? So um uh Aqua applications could be could have like different implementations.

Like uh it could be like a constant product like XYC. Um it could be uh concentrated liquidity. Like uh IMM mechanics uh similar to Uniswap V3 V4 uh but designed it with Piggy Swap. Piggy Swap is our like custom implementation uh for liquidity concentration in the specific range. Oh and uh like uh uh stable swaps.

Um Yeah, it's the stable swaps for piggy swaps. Sorry, guys. Yeah. Concentrated liquidity we have like done a little bit differently, like similar to Uniswap. And strategies.

Uh like what are the strategies? Uh Think about a strategy uh like user scenarios, like uh for example, if you'd like to have like a logic like a constant product liquidity, you have like a stable swap like a Curve Finance logic. And um uh this logic could be implemented through Aqua. Uh and Swapyum, and you don't need like uh it's um Swapyum will be the execution layer, uh so to say, and Aqua will be the approval and transfer layer. Let's start with the next example.

Uh for example, Bob and Alice, they exchange the money. Like uh previously, uh like they were doing this uh through Uniswap pool, as you know, and uh they were transferring uh from and to Uniswap pool. Bob was depositing his money, and Alice was trading against the pool. So, how it works with Aqua? Uh we have Aqua router and Aqua application.

Uh the reason I put here like the application uh because it is not always like Swapyum application. It could be any application. Uh for example, flash loan application, uh it could be like um uh lending application, uh drop mechanics. So, that's why I put it here like Aqua application. But, in this particular example regarding the swap, uh we have Aqua application equal to Swapyum.

Uh Bob creates a strategy. How it works like? Um Aqua application, uh Uh, in particular Swapyum, uh uh, provides you a possibility to sign, uh, strategy, uh, which is like, uh, set of the operations, uh, for the, uh, Aqua application to execute a swap in a particular way. So, whenever, uh, Bob ships the strategy, uh, Aqua router emits the event and our backend indexer, uh, tracks this information and keep it in the backend. So, this information becomes publicly available to Alice.

She is a trader, she goes to the 1-inch UI. And whenever Alice would like to uh, execute a trade, uh, she will ask for, like, a quote on Aqua application. Aqua application has the swap VM, where the main function, uh, swap, uh, persists and Alice calls this function directly. And, uh, Alice would like to sell some of her Ethereum. So, like, this Ethereum, uh, goes, uh, directly, uh, through Aqua router to Bob.

Whenever Aqua application is executed, at the very end in the case of swap VM, uh, there is, like, uh, push and pull functionality, uh, which allows uh, during the trade to, uh, push money to the, uh, taker and pull money uh, from the taker. And, uh, sends back USDC with the help of Aqua router. So, Aqua router keeps the, uh, balances, uh, tracking of the balances during the swap operations. And Alice has the USDC back. So, where do we get?

Uh, liquidity provider, uh, can sell, uh, tokens, uh, whenever. Liquidity can participate, liquidity providers can participate in the government. And, um, uh, liquidity providers can use tokens for other aqua applications strategies. Let me give you an example how we could like participate in multiple strategies because uh in this case when your money stays at your wallet, you could supply like as many strategies as you would like to have. You can make customization and you don't need actually to have like any custom logic like implemented unless like something specific is required.

Like this is also provided but yeah. Most of the cases are covered. Um let uh me show you the specific example. Let's say Bob has uh $1,000 worth of each tokens like Ethereum, USDC, AAVE, and USDT. So $4,000 in total.

What does Bob? Um uh Bob goes to the 1inch router and creates a strategy. Let's say with the Ethereum USDC. The second strategy Bob decided to create is with Ethereum and AAVE. And the third strategy he would like to have is uh with the help of Ethereum and USDT.

So basically saying Bob has like uh actual liquidity 4,000 and effective liquidity 6,000 uh because money stays at his wallet and he's simply saying just creating a new strategy. Yeah. And the trader we have multiple traders like Tony, Alice, and Craig. And they can all get uh like whatever they want from the uh router. Uh but you might come to the question what happens if uh uh Bob for example doesn't have enough money and uh he can only provide one trader.

Let's say everyone decide to sell for example uh Craig is selling like uh USDT uh for Ethereum and uh Tony is selling AAVE for Ethereum. What will happen in this case? Well, in this case um Aqua application router will select like our the best uh uh like by the volume, the biggest volume trade, and execute it. Yeah, but in practice in practice, we have like multiple trades happening usually both ways, and whenever we have like Tony executed a swap, usually it will be like a second trader who will be executing just the opposite direction. So, on a larger scales, usually it never happens.

It can only happen with only small liquidity balances. Um So, what we could build with the help of Aqua. First of all, like constant product, like Swap PM allows you to have a specific instruction which executes the swap in Uniswap V2 way, where like XYC logic is implemented. Uh second like concentrated liquidity is Uniswap V3 before logic. Uh concentrated liquidity is required whenever you have like your money sitting at a specific range and providing the best price at this range.

And uh stable swap. If you guys familiar with the Curve Finance, for example, we have custom logic our own implemented uh algorithm IMM called Pegged Swap, and um uh we could swap the tokens uh in a way that they are almost equal uh one to one, like equal to each other. It's like for the stable coins, like USDC, USDT with some difference like initially specified, and only having big difference at the end of the curve curve. Like this is uh all user scenarios which Bob could have. Like he simply saying creates the application with the help of uh Aqua and Swap PM, and have all his three strategies running the same time.

So, what Swap PM provides? First of all, it's a building block functions for swaps. Uh why it's called like swap VM? First of all, because it's like some sort of the virtual machine. Uh let's imagine that you have a virtual machine which has two registers.

One registry will be in charge of token uh transferred from uh taker to maker, and another registry will be in charge of tokens transferring from maker to taker. And whenever the swap VM machine has a new state at the very end, the state resolution will result in the transferring tokens with the help of Aqua. Uh with the help of uh swap VM, you could like have custom price curves. You can select whatever price curve we would like to have. You could have like taker restrictions.

For example, if you would like to have like white list. And you don't want to sell your tokens to anyone at a specific price. You could also have like custom fees integrated like as many fees as you would like to have. Because you could have like each uh fee is an instruction, and you can bind this instruction one by one, and have as many fee recipients as you would like to have. You could have like deadlines.

You could specify what time your uh strategy uh will stop functioning, and maybe you would like to have it working only for 1 month. Who knows? Uh here's the another example like uh on the left side, uh you could see in the source code for Aqua application. It's actually the same, absolutely the same logic we have on the right side, but it is done with the help of the Solidity code. And then uh this actually uh implements the swap logic, which is equal to the logic on the right side.

But the right side is just like the TypeScript code. Because Aqua application is a call data, which is signed by the maker. And whenever the swap is executed, like you uh send this call data in a transaction by calling the function swap. Yeah. Um

[clears throat]

so, um swap VM building the blocks. Uh and um um they are codes and they can call other contracts like Oracle data. They You can have like custom op codes written. And also you could then extend Aqua application. So, you could build a prediction markets, privacy, pools, flash loans, like anything.

Yeah. So, here [clears throat] could be like flash loans, like and it could be like borrowing some monies. Yeah. So, like anything could be constructed like stable swaps, like the this is the examples which we currently have in productions like a constant product and stable swaps like but also like maybe flash swaps flash loans are coming. Uh impact for DeFi market.

For liquidity provider, we have high utilization of funds. For DeFi users, better prices. For builders, fast path to production users. Because whenever the swap is happening like you like you could construct your own swap mechanics. So, what we have for bounties so far?

The most interesting part. You need to build something on the top of Aqua application on 1 inch. You could extend swap VM or you could construct your own like virtual machine. We have $5,000 in total. The first place you'll take 2,050 and the second 1,500 and the third like 1,000.

Also we have a continuous track. It has two places for the continuous tracks like extending the existing application to include Aqua. 2,000 in total. Like first place you'll take 1,500 and the second 500. Okay.

Yeah, guys. Uh thank you. It was like quick. Questions?

Your way is to make Okay. Thank you.

Automatic transcript — names and jargon may be misspelled.