Uniswap V2 Provides Higher Worth Feeds and Doubles Down on Flash Mortgage Idea


The Uniswap decentralized alternate introduced on March 23 a deliberate launch of its second main model, Uniswap V2. Among the many main options, the brand new platform will function flash swaps — an analogous function to the notorious flash loans that some blame for current decentralized finance (DeFi) hacks.

The replace’s launch is tentatively scheduled for Q2 2020, although Uniswap’s weblog put up stresses that it’s “not an introduced launch date.”

Uniswap is a decentralized cryptocurrency alternate platform that provides related performance to ShapeShift or Bancor. In contrast to conventional decentralized exchanges, there isn’t any order ebook. Trades depend on asset pairs the place Ether (ETH) is at all times the bottom forex.

Uniswap V2 will permit direct token-to-token swaps, which is very helpful for swapping one U.S. greenback stablecoin for one more. Whereas this may be carried out proper now by routing by ETH, a direct alternate reduces losses from charges and slippage.

Stopping DeFi oracle bugs

Uniswap was on the heart of two back-to-back exploits performed on the bZx platform. One of many explanation why the second hack was attainable was bZx counting on Uniswap and Kyber as value oracles — regardless of their comparatively low liquidity.

Uniswap V2 makes an attempt to partially repair this challenge by making a time-averaged value feed. With a view to affect the worth values relayed by the platform, the attacker would wish to have an effect on at the least two blocks in direct succession.

This design is claimed to stop assaults primarily based on flash loans, based on Vitalik Buterin, because the flash-lent funds can solely exist for one block. Taking the time common of the costs additionally makes the protocol extra proof against any type of manipulation usually.

Including flash funding of its personal

Flash loans had been typically blamed for the hacks, even though many commentators pointed to important vulnerabilities in bZx software program. Regardless of their dangerous popularity, Uniswap V2 will function a funding function dubbed flash swap.

The swap permits customers to withdraw a limiteless quantity of ERC-20 tokens from a liquidity pool, offered that in the identical block, both the tokens or their ETH equal are returned.

The function would permit capital-less DeFi arbitrage — the place merchants play on the worth distinction of the identical asset between numerous platforms. It may additionally make buying leverage by Maker (MKR) extra environment friendly. 

The lending platform is at the moment utilized by some merchants to enter leveraged Ether positions by recursively buying ETH with the Dai (DAI) minted by the system. 

With the flash swap, the specified leverage could be reached by merely borrowing ETH from Uniswap and returning it as DAI from Maker. Whereas it simplifies the method, it doesn’t make it risk-free as Maker suffered unfair liquidations just lately.

Related articles

Related Posts