Bankless:关于Uniswap V4你需要知道的

MarsBitPublished on 2023-06-14Last updated on 2023-06-14

Abstract

解密Uniswap下一个版本的主要功能

.details .details-cont p, p {word-break: normal; text-align: unset} p img {text-align: center !important;} 对于Web3世界来说,这是一个充满挑战的六月,但加密货币的建设者不会停止建设。
今天,我们深入了解 Uniswap 发布的令人兴奋的公告——揭晓Uniswap V4。我们与创始人Hayden Adams聊天,并解开了即将到来的主要版本的所有主要功能更新。
——Bankless团队
解读Uniswap V4

Uniswap


等待结束了。随着 Uniswap V4 的发布——去中心化交易所的第四次迭代,Bankless 详细介绍了 Uniswap 的下一步计划。
早在2021年5月发布的Uniswap V3就改变了游戏规则,因为它引入了集中流动性(流动性可以在特定的价格范围内提供),从而大幅提高了DEX的资本效率。
这有助于Uniswap保持其作为DeFi最大的DEX的地位,该协议目前在链上交易量中占有57.4%的份额,是其第二大竞争对手的3倍多。
V4会有类似的影响吗?我们请到了Uniswap的创始人Hayden Adams在播客上回答这个问题,并和我们讨论了V4的所有事情。

Uniswap


https://youtu.be/ZmhdNiGOMRU
以下部分是文字版,这是你需要了解的关于 Uniswap V4 的信息:
Uniswap V4的分解
Hooks
Uniswap V4 的核心特点是挂钩(Hooks)。挂钩是在资金池生命周期的某个时刻运行的代码片段,与之前的 Uniswap 版本相比,新版本资金池的可定制程度更高,因此无论是在池创建时,还是 LP(流动性提供者)向池中添加/移除流动性之后,还是在 swap 之前/之后,挂钩起到的作用都非常重要。
例如,挂钩可以用来创建基于市场条件变化的动态交换费用池,而不是预先设置和静态的交换费用池。
挂钩也使交易者能够下更复杂的订单,如限价订单,或TWAP(时间加权平均价格)订单,这些订单会在给定的时间内买入/卖出一定数量的代币。
此外,挂钩可以允许以不同的方式使用Uniswap的流动性。与Balancer的Boosted Pools类似,池的超范围流动性可以存入其他协议,例如借贷者,以获得额外收益。
这些例子只是Uniswap团队想出的。任何人都可以在未经许可的情况下构建和部署自己的钩子。
“单例模式 The Singleton”
Uniswap V4带来的第二个重大变化是引入了单例。顾名思义,单例是包含Uniswap V4中所有不同池的单个合约。这与Uniswap之前的迭代不同,在Uniswap之前,每个矿池都保存在自己的独立合约中。
这种模式显著提高了V4的gas效率,因为复杂的Swap将通过单个合约进行,而不是通过多个不同的合约进行,后者会消耗大量的 gas。据估计,使用单例还可以将部署新池(即新交易对)的成本降低99%。
Singleton 还利用了 Uniswap Labs 所称的「闪电记账系统」(flash accounting system)。这将进一步降低在 DEX 上交易时的 gas成本,只需在Swap完成后将代币的净余额从池中转移出来。这与Uniswap V3不同,在V3中,交易中涉及的所有资产都是在Swap过程中转入/转出池的。
治理、发布和分发
Uniswap V4将由Uniswap DAO和UNI持有者管理。
与之前的V3和V2一样,该协议将包括收费开关,Uniswap治理可以在逐个池的基础上激活该开关,以从流动性提供者产生的费用中抽取一部分。
V4将在Business Source License 1.1的许可下发布,该许可证将持续四年,并限制协议仅供经过治理批准的实体使用。
最后,值得注意的是,Uniswap V4的发布不会很快到来。Hayden在播客中表示,V4代码尚未最终确定并经过审核,因此在协议发布之前应该还需要一段时间。
这对DeFi意味着什么
V4将对Uniswap本身和整个DeFi产生广泛的影响。
首先,此次升级应该有助于Uniswap保持其作为交易量最大的去中心化交易所的地位,因为挂钩可以提高协议相对于V3的资本效率,同时更具可定制性和gas效率。后两种特性应该有助于Uniswap吸引更多来自 DEX 聚合器和较长尾的异质交易对的订单流,同时保持其在ETH/USDC、ETH/USDT、ETH/DAI等交易量较大的交易对中的主导地位。
此外,此次升级使Uniswap 具有创建更多订单类型的能力,如TWAP和限价订单,这应该有助于Uniswap通过吸引更成熟的交易者到DEX,进而增强与 CEX 的竞争力。这一点,再加上FTX崩溃后交易活动向链上转移,以及最近对币安和Coinbase等CEX施加的监管压力,可能有助于Uniswap这类 DEX 在加密交易中更竞争力。
DEX/CEX成交量比率在5月份达到历史新高,随后回落。随着 Uniswap V4 逐渐成熟,它似乎有很大的机会将这一比率推至新的高度。
最后,V4应该有助于使Uniswap成为一个更可组合的协议。众所周知,由于分叉许可和管理集中化流动性头寸的挑战,很难在Uniswap V3上构建。在挂钩和 Singleton 模式之间, 相对于V3,似乎更容易构建和利用V4的流动性。这可能会带来大量新的、有趣的应用程序,并在 DeFi 行业迫切需要创新的时刻激发创意的浪潮。
总而言之,Uniswap V4是DeFi领域中令人兴奋的新升级,有助于推动DeFi向前发展。但是,它还需要一段时间才能推出。尽管如此,DeFi仍将再次变得有趣。

Related Reads

Why is XRP in the red now after a 50% weekly surge?

XRP fell 2.2% over 24 hours after a 49.4% surge in the previous week, moving back into negative territory. The drop coincides with major banks advancing blockchain-based payment solutions that address the need for prefunding in cross-border transfers, potentially competing with XRP's use case. JPMorgan Chase expanded its blockchain settlement system, Kinexys, to eight currencies, allowing clients to move and exchange funds around the clock without needing a separate crypto asset. Similarly, Citigroup operates a round-the-clock USD clearing network and offers Citi Token Services for tokenized deposits, aiming to speed up payments while reducing the amount of capital required upfront. While its 90-second settlement is slower than XRP Ledger's 3-5 seconds, using cash already held in a regulated bank may be more critical for companies. Furthermore, SWIFT has facilitated interoperability between different bank-issued tokenized deposits without a common cryptocurrency. In a recent pilot, HSBC and Standard Chartered completed a cross-border transaction using SWIFT's ledger to coordinate and settle obligations between their separate token systems. SWIFT reports that 17 banks across six continents are preparing for real transactions using this model. These developments in traditional finance present alternative, bank-integrated pathways for instant, cross-border value transfer, potentially impacting the demand and price trajectory for XRP.

cryptonews.ru4m ago

Why is XRP in the red now after a 50% weekly surge?

cryptonews.ru4m ago

The Ambition of the OEM: Dissecting Leju Robot's External Investments to Understand the 'Ecosystem Positioning' Battle in the Humanoid Robot Track

Leju Robotics, a leading humanoid robot manufacturer from China, is aggressively building an industrial ecosystem through strategic investments as it pursues a public listing. Founded in 2016 and known for its "Kuavo" robot, Leju saw its revenue surge to 258 million yuan in 2025, though it remains unprofitable. Its IPO plan, submitted in May 2026, outlines a strategy focused on cost reduction and full-stack capability development. Analysis of Leju's 13 disclosed investments reveals a three-pronged approach to securing its value chain. First, it targets core components like precision actuators (e.g., Lingxinqiaoshou), joint modules, and motors to control costs and supply. Second, it invests in software and AI layers, including companies working on foundational models and embodied intelligence datasets, to develop an independent "brain" while maintaining partnerships with giants like Huawei. Third, it forms alliances with firms in logistics and service robotics to transform from a hardware seller into a solution provider for real-world applications. While this investment network aims to create a competitive moat and support Leju's industrialization story, risks persist. The company faces ongoing losses, declining gross margins, and potential industry price wars. Many investments are early-stage with long payback periods and unproven synergistic benefits. Leju's strategy exemplifies how humanoid robot players are moving beyond pure R&D to ecosystem competition, betting that controlling the "hard work" of the supply chain will be the ultimate barrier to entry.

marsbit16m ago

The Ambition of the OEM: Dissecting Leju Robot's External Investments to Understand the 'Ecosystem Positioning' Battle in the Humanoid Robot Track

marsbit16m ago

Trading

Spot
活动图片