
Gm #AVAX and beyond! With FrostByte concentrated liquidity coming out soon (with @CryptoAlgebra and @GammaStrategies 👀) the team already has a great idea of what will be next. The question is, do you? Let us know what you think below ⬇️
Mark van der Merwe
4.9K posts


Gm #AVAX and beyond! With FrostByte concentrated liquidity coming out soon (with @CryptoAlgebra and @GammaStrategies 👀) the team already has a great idea of what will be next. The question is, do you? Let us know what you think below ⬇️


🦄 Continuing the topic of #Uniswap #v4 research, here are some interesting observations that have been noted by our development team so far 🧵: 1️⃣ The behavior of a hook can vary. To ensure the pool works correctly with the hook, it is necessary to deploy the hook in a way that obtains the correct initial bits of its address. This requires mining the addresses for hooks contracts: #L8" target="_blank" rel="nofollow noopener">github.com/Uniswap/v4-cor…
2️⃣ Another interesting point: the Uniswap team implemented the SafeTransfer part in a similar way to Algebra V2.0, which caused some integration issues on @zksync Era: #L36-L56" target="_blank" rel="nofollow noopener">github.com/Uniswap/v4-cor… (Luckily enough, #zkSync ended up releasing a compiler update) 3️⃣ It is worth noting that Uniswap chose to keep the bitmap as the data structure for the ticks, while we prefer using a doubly linked list, which makes large swaps cheaper with our model: github.com/Uniswap/v4-cor… Without the doubly linked list, there are additional iterations during the swap, which is not seen in the Algebra V2 code: #L422" target="_blank" rel="nofollow noopener">github.com/Uniswap/v4-cor… 4️⃣ What’s more? #UniV4 decided to remove all the side information from the ticks. Previously, it contained additional data that could be used to calculate various statistics, but traders had to pay for it. In the fourth implementation of Uniswap, such data will not be stored: #L80-L89" target="_blank" rel="nofollow noopener">github.com/Uniswap/v4-cor… 5️⃣ It is not entirely clear why the #Uni team prefers to initialize this structure in memory with every iteration of the loop, instead of making one and reusing it. Maybe they prefer to sacrifice gas efficiency for a more ‘readable’ code? #LL417C37-L417C41" target="_blank" rel="nofollow noopener">github.com/Uniswap/v4-cor…. That's it for today. More points are coming tomorrow! Don't miss out on it. 🦄 @Panoptic_xyz @numoen @ApertureFinance @guil_lambert @nikitakle @alexhevans @tarunchitra @danrobinson @ViktorDefi @DeFi_Made_Here @kamikaz_ETH @JustinCBram @DeFi_Brian @DeFi_Dad @Darrenlautf @thedefiedge @DefiIgnas @MBRichardson87 @iftikharpost @sandeepnailwal @Fwiz @CryptoRocky @0xngmi @0x94305 @_bout3fiddy_ @aadams @danrobinson @hensha256 @0xKenzee @atiselsts_eth @FLS_News_1 @_SmartLiquidity @ethereum @PulsechainCom @RichardHeartWin @PancakeSwap @Uniswap












GM 🌄 what's a crypto with something huge coming up on the roadmap that will be released soon? 🛣👇👇
