Nouns DAO: $1M Swap
Nouns DAO tested a $1M trade with less than 1/5th the liquidity (~$185k) and validated TWAMM for large on-chain swaps that need MEV protection and optimized price execution.The proposal was split into two separate trades. The first 500 wstETH (~$1M) swap was a trial trade to ensure the protocol operates as expected. A follow-up trade for the remaining7000 wstETH (~$15M) will happen in the upcoming weeks.https://twitter.com/noun40__/status/1678073925975298048Competitive LandscapeBefore getting...
TWAMM Research: August 2022
This past month we focused on achieving feature completion, making huge strides towards that goal. Highlights include adding efficient vault accounting, oracles, and configurable partner fee distribution. Additionally, we’ve designed an elegant MEV distribution scheme that automatically reinvests rewards into the liquidity pool -- more details below.Big PictureThe “DeFi is eating TradFi” narrative is getting stronger every day as on-chain capital continues to become more attractive for trader...
TWAMM Research: March 2022
Hi all 🤙 , another great month of TWAMM R&D. We have continued to engage with potential customers and partners to build a strong ecosystem around our product. After our conversation with the Syndicate DAO team, we are excited to have them come on board as an integration partner. One of the key components of TWAMM is the underlying AMM and the unique advantages each existing AMM provides like Uniswap V3 concentrated liquidity, Balancer pool configurations, and Curve stable swap. We want to bu...
Nouns DAO: $1M Swap
Nouns DAO tested a $1M trade with less than 1/5th the liquidity (~$185k) and validated TWAMM for large on-chain swaps that need MEV protection and optimized price execution.The proposal was split into two separate trades. The first 500 wstETH (~$1M) swap was a trial trade to ensure the protocol operates as expected. A follow-up trade for the remaining7000 wstETH (~$15M) will happen in the upcoming weeks.https://twitter.com/noun40__/status/1678073925975298048Competitive LandscapeBefore getting...
TWAMM Research: August 2022
This past month we focused on achieving feature completion, making huge strides towards that goal. Highlights include adding efficient vault accounting, oracles, and configurable partner fee distribution. Additionally, we’ve designed an elegant MEV distribution scheme that automatically reinvests rewards into the liquidity pool -- more details below.Big PictureThe “DeFi is eating TradFi” narrative is getting stronger every day as on-chain capital continues to become more attractive for trader...
TWAMM Research: March 2022
Hi all 🤙 , another great month of TWAMM R&D. We have continued to engage with potential customers and partners to build a strong ecosystem around our product. After our conversation with the Syndicate DAO team, we are excited to have them come on board as an integration partner. One of the key components of TWAMM is the underlying AMM and the unique advantages each existing AMM provides like Uniswap V3 concentrated liquidity, Balancer pool configurations, and Curve stable swap. We want to bu...

Subscribe to 0x70626a

Subscribe to 0x70626a
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers
Wow 🤯 we couldn’t have picked a better time to start our gas optimization development. With the results of several optimizations (discussed in detail below), we were able to shave off nearly 40% (!!) of gas used across the board in our TWAMM smart contract functions.

During times of network congestion, unoptimized TWAMM code would have no chance of being included in the block without paying exorbitant prices. Thus degrading the protocol performance, like frequent arbitrages, and causing orders to be filled at drastically skewed prices.

Beyond the wasted resources, the money spent on gas should be going to the protocol, LPs, and traders. The gas optimizations we are making now have compounding benefits down the road when billions of transactions are being processed by the TWAMM smart contract.
https://twitter.com/Uniswap/status/1516130519616221184
We’ve continued our conversations with large funds and DAOs to better understand their pain points and learn how TWAMM can potentially help. One common request we’ve heard in these conversations is the ability to automate long-term orders. Below is one such example order:
Buy 2-5% of an illiquid network’s publically available tokens over the next 8-12 months with a target price of less than 3x of current price for $5M USD.
The current implementation of TWAMM doesn’t have the ability to pause orders when they're out of price range. Therefore, traders would have to monitor their orders in order to cancel and re-start orders in case of market volatility or generic front-running attacks.
There’s also been an uptick in interest from protocols to start diversifying their treasuries into stables and ETH at attractive prices using regular old DCA methodology. This however runs into the gas cost problem since every intermediate transaction is on-chain.
https://forum.makerdao.com/t/dsskiln-a-permissionless-token-purchasing-tool/14943
Given how much money has been pouring into Crypto VC funds and the amount of alpha available in depressed blue-chip tokens, we believe these types of transactions will continue to increase in volume. This further adds credibility to a permissionless gas-efficient infinitesimal DCA product like TWAMM.
https://twitter.com/mrjasonchoi/status/1514216901890965508
Finally, our RFP to research “first right arbitrage benefits to LPs” has been approved by the KeeperDAO token holders, see more here:
As usual, we’ve written up a detailed technical post on the various gas optimizations we’ve explored, measured, and benchmarked. We also have recorded how these optimizations stack up against the reference design, and FRAX’s mainnet deployed contracts to give further context to the improvements achieved.
https://mirror.xyz/0slippage.eth/IqZv6lfVyAZtNwtkuKu8XQJsFXw7Gg7THNdtLtk8j70
On the Balancer Vault integration front, we’ve migrated Element FI’s example to our infrastructure and have a prototype for interacting with pools implemented atop the vault. The unique limitations of this interface, particularly in regards to restrictions on cashflows for pool transactions, present a design adaptation requirement for TWAMM implementations.
https://twitter.com/balancerlabs/status/1385304090666622978?s=21&t=vN1CAxB0Ab3Ca60t6zFNVA
Using the userData parameters, we were able to design a solution that will allow us to implement our optimized TWAMM contract atop Balancer Vaults. More details on the implementation, gas savings, and other technical details will be released in the upcoming weeks.
Moving forward, we’re going to be doing numerical analysis testing on all the gas optimizations implemented so far and our version of TWAMM built on top of Balancer Vaults. The importance of rigorous analysis cannot be understated given the funds that will potentially be transacted will be in the order of Billions.
https://twitter.com/NoahZinsmeister/status/1467171541360287744
Wow 🤯 we couldn’t have picked a better time to start our gas optimization development. With the results of several optimizations (discussed in detail below), we were able to shave off nearly 40% (!!) of gas used across the board in our TWAMM smart contract functions.

During times of network congestion, unoptimized TWAMM code would have no chance of being included in the block without paying exorbitant prices. Thus degrading the protocol performance, like frequent arbitrages, and causing orders to be filled at drastically skewed prices.

Beyond the wasted resources, the money spent on gas should be going to the protocol, LPs, and traders. The gas optimizations we are making now have compounding benefits down the road when billions of transactions are being processed by the TWAMM smart contract.
https://twitter.com/Uniswap/status/1516130519616221184
We’ve continued our conversations with large funds and DAOs to better understand their pain points and learn how TWAMM can potentially help. One common request we’ve heard in these conversations is the ability to automate long-term orders. Below is one such example order:
Buy 2-5% of an illiquid network’s publically available tokens over the next 8-12 months with a target price of less than 3x of current price for $5M USD.
The current implementation of TWAMM doesn’t have the ability to pause orders when they're out of price range. Therefore, traders would have to monitor their orders in order to cancel and re-start orders in case of market volatility or generic front-running attacks.
There’s also been an uptick in interest from protocols to start diversifying their treasuries into stables and ETH at attractive prices using regular old DCA methodology. This however runs into the gas cost problem since every intermediate transaction is on-chain.
https://forum.makerdao.com/t/dsskiln-a-permissionless-token-purchasing-tool/14943
Given how much money has been pouring into Crypto VC funds and the amount of alpha available in depressed blue-chip tokens, we believe these types of transactions will continue to increase in volume. This further adds credibility to a permissionless gas-efficient infinitesimal DCA product like TWAMM.
https://twitter.com/mrjasonchoi/status/1514216901890965508
Finally, our RFP to research “first right arbitrage benefits to LPs” has been approved by the KeeperDAO token holders, see more here:
As usual, we’ve written up a detailed technical post on the various gas optimizations we’ve explored, measured, and benchmarked. We also have recorded how these optimizations stack up against the reference design, and FRAX’s mainnet deployed contracts to give further context to the improvements achieved.
https://mirror.xyz/0slippage.eth/IqZv6lfVyAZtNwtkuKu8XQJsFXw7Gg7THNdtLtk8j70
On the Balancer Vault integration front, we’ve migrated Element FI’s example to our infrastructure and have a prototype for interacting with pools implemented atop the vault. The unique limitations of this interface, particularly in regards to restrictions on cashflows for pool transactions, present a design adaptation requirement for TWAMM implementations.
https://twitter.com/balancerlabs/status/1385304090666622978?s=21&t=vN1CAxB0Ab3Ca60t6zFNVA
Using the userData parameters, we were able to design a solution that will allow us to implement our optimized TWAMM contract atop Balancer Vaults. More details on the implementation, gas savings, and other technical details will be released in the upcoming weeks.
Moving forward, we’re going to be doing numerical analysis testing on all the gas optimizations implemented so far and our version of TWAMM built on top of Balancer Vaults. The importance of rigorous analysis cannot be understated given the funds that will potentially be transacted will be in the order of Billions.
https://twitter.com/NoahZinsmeister/status/1467171541360287744
No activity yet