Ambient Finance: Turning DEX Liquidity Ambient

DeFi ProtocolsJuly 4, 2023, 10:33AM EDT
Ambient Finance: Turning DEX Liquidity Ambient
Partner offers

We'd love your feedback.

Advertisement

Ambient Finance, previously named CrocSwap, is an automated market maker (AMM)-based decentralized exchange (DEX) built within a single smart contract, dubbed a “singleton” contract. The “singleton” design enables individual AMM pools to become data structures within one smart contract, as opposed to individual, separate smart contracts, likely inspired by Balancer and their single large core pool contract.

This design allows for more gas-efficient trades to be executed from the DEX due to more efficient routing across pools and through the use of flash accounting, a process in which a net balance for every AMM pool within the singleton smart contract is updated after every swap(s).

This most notably impacts and saves gas costs for multihop swaps, where multiple tokens are routed through in order to achieve a single transaction, as transferring tokens in and out of individual pools at every transaction are no longer required.

Expert insights. Delivered.

Get access to a suite of news, research, data, and funding tools