Uniswap Targets DeFi Pain Points With 2 New Smart Contracts

The smart contracts will unify the token approval process and allow users to execute multiple trades in one transaction

article-image

Source: Shutterstock

share

Decentralized exchange Uniswap revealed that it has released two new smart contracts — Permit2 and Universal Router — that aim to improve user experience in DeFi.

Traditional token approval methods required users to “send an approval transaction for each new application they wanted to use,” Uniswap Labs wrote in a blog post

“This led to a confusing UX where users might be asked to send multiple transactions before using an application, wasting gas and time,” it added.

Permit2 unifies the token approval process — and provides permit-based approvals and transfers for ERC-20 tokens across different smart contracts.

Universal Router, combines token and NFT trades into a swap router. It allows users to execute multiple trades on Uniswap V2 and V3, then buy NFTs from different marketplaces in one transaction.

Lawrence Forman, a blockchain security engineer, first came up with the infrastructure behind the latest smart contracts.

“So cool to see this launch! This is based on my permit-everywhere hack at ETHNewYork,” he tweeted.

Loading Tweet..

Improving speed and safety in DeFi

Ethereum’s token approvals were a bane to decentralized finance users throughout DeFi summer, especially during periods of high gas prices, when it could cost several dollars just to approve a token transfer — before even getting to the transaction itself.

Previously, to approve maximum allowances, applications often had access to a user’s entire wallet balance — leaving them vulnerable to exploitation and unsafe practices. 

Third-party tools such as Revoke.cash were created just to address these sorts of limitations in the original token approval process, but they represented a stop-gap measure.

The latest smart contract is designed to minimize those risks, reduce gas prices and simplify transaction flows. 

Scott Lewis, the co-founder of Defi Pulse tweeted, “The fun part about free public infrastructure is that everyone can use everyone else’s and then it’s just all winning forever, together.”

Loading Tweet..

 The Universal Router, meanwhile, is integrated with Permit2, which means that approvals and router flow should be more streamlined. 

This latest announcement comes soon after Uniswap Labs closed a $165 million Series B, bringing the protocol’s total valuation to $1.66 billion.

It seems that the protocol is actively looking at ways to improve critical infrastructure within the ecosystem as it continues to expand its product offerings and become financially sustainable.


Don’t miss the next big story – join our free daily newsletter.

Tags

Upcoming Events

HYATT REGENCY SALT LAKE CITY

TUES, OCT. 8, 2024

Guided by the expertise of Blockworks Research Analysts team, this one day event will feature senior leaders, entrepreneurs, and developers from across the crypto industry. Attendees will have the opportunity to participate in an immersive experience to explore the latest trends, […]

Salt Lake City, UT

WED - FRI, OCTOBER 9 - 11, 2024

Pack your bags, anon — we’re heading west! Join us in the beautiful Salt Lake City for the third installment of Permissionless. Come for the alpha, stay for the fresh air. Permissionless III promises unforgettable panels, killer networking opportunities, and mountains […]

recent research

hivemapper.jpeg

Research

We believe crypto market participants overlook Hivemapper’s fundamental potential due to a poor understanding of both the niche map data market and Hivemapper’s positioning relative to incumbents. Hivemapper’s token model catalyzes both a cost and product advantage via unmatched map freshness and near real-time accuracy, which is its wedge into a market characterized by stale data and high data collection costs. Its current and potential future product suite may represent one of the strongest possibilities for PMF in crypto today.

article-image

👨‍⚖️ SBF’s courtroom sequel: Plus, Coinbase’s legal loss was DeFi’s gain

article-image

Public mining companies have been acquiring sites, refreshing machine fleets and diversifying business models in preparation for the event

article-image

Exploit shows centralization can sometimes be an asset

article-image

The Fidelity Ethereum Fund, like other proposed ETH ETFs, seeks to stake a portion of its assets, according to the firm’s Wednesday registration statement

article-image

The DAO first voted on enabling SAFE transfers over a year ago