UniswapX: Removing Pools and Bridges?!?!?!

avatar

Unsplash

Unsplash

Holy Moly... I just listened to a podcast that introduced the UniSwapX Protocol that I think was announced recently at EthCC, and it is quite a huge technical leap forward for Ethereum (and by extension other chains which will emulate the protocol).

So, before we go into UniSwapX, we sort of need to take a look at how AMM DEXs (Automated Market Maker DEcetralised eXchanges) work at the moment. Essentially, there are liquidity providers ("poolers") who dump tokens into a smart contract Liquidity Pool with a pairing (or more) that is governed by some balancing mechanism. In the case of the original UniSwap protocol it is x * y = constant where x and y are the prices of the paired assets. A "swapper" (or router hop) between the two assets will submit a transaction alter the balance of the two assets with an input asset and desired output asset, then adjust the pricing (x,y) to keep the constant.... constant.

This is problematic for all parties in that the "pooler" has their liquidity spread over a large (initially infinite) range (V3 sort of fixed this in a way with concentrated liquidity, but it hasn't always been the most beneficial thing when the prices go out of bound) and that liquidity is locked and subject to impermanent loss if the prices deviate from the initial deposit prices (and they will...). For the "swapper", they are broadcasting their intent to swap and their maximum slippage to the whole network, which means that MEV bots can attack them to make sure that they pay the maximum prices allowable.

All of this has been necessary to lay the groundwork for a functioning AMM-DEX in the earlier days of Ethereum DeFi... but with newer instructions available, a better way has been proposed for UniSwapX (which isn't the first to do this, but one of the better known!).

As I understand it, the UniSwapX Protocol will have the "swapper" submit a signing (no gas) that is a permit (to spend the input asset) to purchase an output asset at initial price that rises over time. The role of the "filler" takes the place of the "pooler", who (when the price is profitable for them) will submit the transaction (they pay the network fee) to the network to complete the trade (using the signing from the "swapper")! This means that the "fillers" (including the existing V1/2/3 Uniswap pools) are completing against each other to provide the best price to the swappers whilst extracting the best profit for themselves in the Dutch-auction for the right to complete the trade!

Given enough "fillers", this could prove to be much more efficient than the pool model at the moment... and it is a better use of capital as it doesn't need to be locked up in a passive paired pool and allows for "just-in-time" usage of assets. Plus, it removes the honeypots of large liquidity pools with lots of assets attracting bad-actors to test their defences!

So, extrapolating this out to cross-chain bridges... currently, cross-chain bridges involve pools of liquidity on multiple chains... with assets being only native to one chain, and other chains having wrapped representations of locked up assets (on a different chain!). This means that we have had situations where (after hack or draining of a pool..), people are left worthless unbacked wrapped representations of tokens on the wrong chain!

Now, with an extension of UniSwapX, we could have a "bridger" making a request for a bridge and escrowing their input assets... and then have the "filler" completing the bridge and signing a cryptographic proof of the completion, thus unlocking the escrowed input assets! This removes the need for honeypot bridging pools and wrapped representations of tokens!

Exciting times... and it further entrenches the idea that a great deal of ground-breaking and novel development is taking place in the Ethereum ecosystem first!

I can also be found cross-posting at:
Hive
Steem
Publish0x

Handy Crypto Tools

Ledger Nano S/X: Keep your crypto safe and offline with the leading hardware wallet provider. Not your keys, not your crypto!
Binance: My first choice of centralised exchange, featuring a wide variety of crypto and savings products.
WooX: The centralised version of WooFi. Stake WOO for fee-free trades and free withdrawals!
GMX.io: Decentralised perpetual futures trading on Arbitrum!
Coinbase: If you need a regulated and safe environment to trade, this is the first exchange for most newcomers!
Crypto.com: Mixed feelings, but they have the BEST looking VISA debit card in existence! Seriously, it is beautiful!
CoinList: Access to early investor and crowdsale of vetted and reserached projects.
Cointracking: Automated or manual tracking of crypto for accounting and taxation reports.
KuCoin: I still use this exchange to take part in the Spotlight and Burning Drop launches.


Upgoats by ryivhnn
Account banner by jimramones


The classical music community (Subscribe at Steempeak and Peakd) at #classical-music and Discord. Follow our community accounts @classical-music and @classical-radio. Community Logo by ivan.atman

Posted Using LeoFinance Alpha



0
0
0.000
1 comments
avatar

Congratulations @bengy! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You have been a buzzy bee and published a post every day of the week.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out our last posts:

Women's World Cup Contest - Recap of day 4
Women's World Cup Contest - Check your ranking!
Women's World Cup Contest - Recap of the third day
0
0
0.000