Doris Che
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Make a copy
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Make a copy Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # 引言 在当今金融市场中,拥有定价权意味着掌握了市场的话语权。通过参与定价机制,市场参与者不仅能够获取丰厚的收益,还能在瞬息万变的市场中占据有利位置。在这一背景下,ERC7527(https://eips.ethereum.org/EIPS/eip-7527) 作为一种创新的链上资产标准,正在逐渐改变 DeFi 生态系统的游戏规则。 ERC7527 的设计不仅提供了一个去中心化和自动化的定价机制,还通过其独特的功能提升了市场的透明度和流动性。传统的定价方式往往依赖于中间人或项目方的干预,而 ERC7527 则通过链上定价模型,彻底消除了这些干预,使每一个参与者都能基于市场真实的数据和算法进行独立的交易决策。与此同时,ERC7527 的出现也为 ValueFi 这一全新的金融概念奠定了基础。ValueFi 类似于 DeFi,但其重点在于通过创新的定价机制和资产管理方式,进一步推动以太坊生态系统的创新发展。通过 ERC7527 的核心机制,实现了更高效、更透明的价值交换和资产管理。 本文将深入探讨 ERC7527 的核心机制及其在 DeFi 领域中的应用,并通过对比传统 AMM(Automatic Market Maker, 自动做市商)模型,揭示其在流动性管理和防范 MEV(Maximal Extractable Valu,矿工可提取价值)攻击方面的优势。同时,还将详细分析 ERC7527 的创新特性。通过这些分析,我们将展望 ERC7527 对未来金融市场的深远影响,展示这一创新协议如何为去中心化金融领域开辟全新的机遇与可能性。 # ERC7527 与 恒定乘积定价 众所周知,在金融的世界里谁拥有了定价权,谁就拥有了绝对的话语权。通过参与定价来获取收益后,参与者能够有效利用定价机制,基于市场预测进行交易和投资。 > *You can participate in the valuation of anything .* > ![image](https://hackmd.io/_uploads/HkkLEAAV0.png) 定价的过程也并非由某个中间人/项目方控制,而是由链上定价模型决定。 在当前的纯链上定价方案中,AMM 定价是使用最广泛且获得最多共识的方法。其中,最著名的 AMM 定价模型是由 Uniswap 首次引入的 x * y = k(https://uniswap.org/whitepaper.pdf) 定价曲线,熟悉 DeFi 的朋友应该都比较了解这个机制。 ![image](https://hackmd.io/_uploads/B1DPICCE0.png) x * y = k 的代币交换方案提供了一种简单、高效且无需信任的交易机制,具有很强的共识性。但缺点就是容易受流动性不足的限制,导致 MEV 恶意攻击等问题。同时也无法保证在任意时间点都能提供足够的流动性,以满足用户的需求。尤其是在项目刚刚启动时或者在市场情绪相对冷静的时候,流动性可能会非常有限。 需要注意的是,恒定乘积定价模型是基于 ERC20 代币的。在这种模型中,流动性提供者会将 ERC20 代币存入流动性池,并按照 x * y = k 的公式进行代币交换。 而本文中的 ERC7527 则是基于 ERC721 的。在 ERC7527 合约中,我们维护一个价格列表(价格数组)。每当交易完成时,成交价格将被追加到价格列表的末尾。当用户发起卖出请求时,智能合约会使用价格列表中的最新价格(即最后一个价格)作为该用户的卖出报价。在实际操作中,这意味着用户的买入价格和卖出价格会呈现一定的对称性。 ![未命名文件 (1)](https://hackmd.io/_uploads/HkqM350VR.png) # ERC7527 的核心优势与流程解析 **ERC7527的优势在于资产具有充分的流动性,并且采用了去中心化的定价机制。** ERC7527的另一大优势在于资产**具有充分的流动性**。用户可以选择直接在二级市场内进行交易,如果二级市场流动性不足,用户可以通过Agency的unwrap机制销毁NFT以赎回自己的资产。此外,Agency内的资产无法被代币发行方提取,这在一定程度上避免了代币发行方的Rug行为。 与上文提及的 AMM 机制相比,ERC7527 同样能维持代币的流动性,但其不同之处在于 ERC7527 的流动性是由用户自发提供的。参与 wrap 操作的用户注入的资金构成了整个 Agency 的做市资金。与需要外部流动性提供方的 AMM 机制相比,这种自发流动性避免了许多问题,例如代币发行方无需提供初始流动性,只需等待用户参与 wrap 即可。此外,这种方式不需要参与者进行复杂的LP管理。由于价格基于上述报价函数决定,大部分情况下,流动性提供方不易受到MEV攻击的影响。 ![未命名文件](https://hackmd.io/_uploads/rJQX350E0.png) ERC7527 的核心流程如图所示,主要包含三部分: 1. **Agency**:Agency 是资产操作的核心,也是存放资产的储蓄池。在报价行为上,其内部函数会对外不断给出买入报价和卖出报价。当报价符合用户预期时,用户可以直接把相应的资产存入 Agency 资金池中。随后 Agency 调用 App NFT 中的 burn 和 mint 函数来铸造和销毁 NFT。其中,铸造(Mint)的动作即是 wrap,销毁(Burn)即是unwrap。 2. **App NFT**:App NFT 是一个继承 NFT 的资产类型,可以理解为 NFT 的衍生资产。不同于直接基于 ERC721 构建的“私人化”NFT,因其特殊的收藏属性而流动性不足,App 有其流动性保证。Agency 特殊的机制可以始终保持其资产的流动性,并通过用户自发提供的流动性实现去中心化的定价。 3. **Factory**:Factory 是对用户操作的多线封装。通过 Factory 用户可以部署 Agency 和直接部署 App NFT。 # ERC7527 的金融场景 Agency,App NFT,Factory 这三部分是 ERC7527 核心思想的抽象。重要的是,真正能得到广泛和应用的机制和产品,底层逻辑一定是简单而合理的。用户看好即买入,看跌即抛出,这是每个人参与到任何金融活动中最简单的逻辑。在 ERC7527 中,用户有可能会参与到蕴含某个感兴趣的叙事的 Agency 中,基于对 Agency 的期望和设想,用户会不断地参与到该 Agency 对应的活动中,续写 Agency 的叙文。而这一切背后都是经济利益的驱动,Agency 的 TVL(Total Value Locked)正是该叙事的价值所在。多少用户相信这个 Agency 传达出的预期效应,以这个 Agency 为基调的叙事就会有多大的世界。 就拿 Meme 来举例,一个成功的 Meme 不仅仅是一个简单的图像或文字,而是一个叙事的载体。它能够引发用户的情感共鸣,激发用户的创作欲望,并在社交媒体上迅速传播。在 ERC7527 中,Meme 可以视作一个特定的 Agency,其背后是一个充满创意和幽默的叙事体系。 当用户对某个 Meme 产生兴趣并相信其未来的流行趋势时,他们可能会购买与该 Meme 相关的 App NFT。这些 NFT 不仅仅是数字资产,更是用户对这个 Meme 叙事的认同和支持。随着越来越多的用户参与到这个 Meme Agency 中,分享、创作和传播相关内容,这个 Agency 的 TVL 会不断增加,进一步增强其叙事的影响力和吸引力。 ![image.png](https://p9-juejin.byteimg.com/tos-cn-i-k3u1fbpfcp/faa11573fc5645aa91f7bd24f667836c~tplv-k3u1fbpfcp-jj-mark:0:0:0:0:q75.image#?w=1534&h=650&s=34469&e=png&b=ffffff) 与此同时,开发者和创作者也可以基于这个 Meme Agency 推出更多的衍生产品和服务,比如基于 Meme 的游戏、虚拟世界中的宠物等。这些衍生产品不仅为用户提供了更多的互动和娱乐体验,也会进一步推动这个Meme Agency的价值增长。 在这个过程中,经济利益的驱动是显而易见的。用户购买和交易 App NFT,参与活动和创作内容,都是基于对未来收益的预期。而 Agency 的 TVL 则直接反映了用户对这个 Meme 叙事的信任和投入程度。可以说,Agency的成功与否,取决于其能否持续吸引用户的关注和参与,以及其叙事能否不断进化和扩展。 Agency 用于储备资产的池,该池子会按照其内部函数对外不断给出买入报价和卖出,当用户接受买入报价时就可以将预先规定的资产存入 Agency,此时 Agency 会调用 App 的 mint 函数为用户铸造 NFT,我们称此操作为 wrap;当用户接受 Agency 的卖出报价,Agency 会将资产发送给用户并调用 App 的 burn 函数销毁,我们称此操作为 unwrap App 是一个继承 NFT 的资产类型,由于 Agency 的保证,该资产始终可以保持流动性 Factory 方便用户部署 Agency 和 App。用户只需要输入部分参数即可直接部署 Agency 和 App。 # 背后的 ValueFi 思想 ERC7527的多层次而又极其简单的生态系统设计,为 ValueFi 开辟了一条全新的道路。 > *ValueFi 代表着一种全新的理念和方法论,旨在赋予价值以更广泛的定义,并将市场的主导权交还给用户。这种思想的核心理念是通过建立一个多层次而简单的生态系统,让每个人都有机会参与并创造属于自己的价值。* - **Agency**:任何用户或团队都可以创建一个Agency,代表一个独特的故事或项目。 - **App NFT**:用户通过购买和持有与Agency相关的App NFT,直接参与和支持这个Agency的发展。 - **Factory**:为创作者和开发者提供工具和平台,帮助他们基于现有的Agency开发新的应用和服务。 Agency是生态系统的核心,代表着各种不同的故事和项目。在这里,任何人都可以创造属于自己的Agency,展示独特的理念和愿景,让每个人都有机会参与并创造属于自己的价值。 App NFT是用户参与和支持Agency发展的方式。持有与Agency相关的App NFT不仅是投资,更是积极参与到这个故事中的表现。每个App NFT代表着对特定Agency的信任和支持,是生态系统不可或缺的一部分。 Factory为创作者和开发者提供了丰富的资源和支持,使他们能够在现有的Agency基础上构建新的应用和服务,创造更多的可能性和机会。Factory的存在不仅促进了生态系统的发展,也为每个参与者提供了更多的选择和机会。 在这个生态系统中,市场由用户的自主性和能动性主导着。每个人都不再局限于被动地接受市场规则,而是成为了市场的塑造者和推动者。用户可以根据自己的兴趣和技能选择参与到特定的Agency中,创造属于自己的故事和价值。他们可以积极参与到App NFT的交易中,支持自己看好的项目,也可以利用 Factory 提供的工具和平台创造新的机会和服务。在这个自主性和能动性的驱动下,市场不断地创新和进化,为参与者带来了更多的机会和收益。 > *To wrap your beliefs in the values you pursue.* > ![image](https://hackmd.io/_uploads/SJFqkJ1rR.png) 与传统金融市场相比,这种市场的自主性和能动性带来了全新的体验和机会。参与者不再被动地依赖于中介和机构,而是可以直接参与到市场中,自由地发挥自己的想象力和创造力。这种市场的自主性不仅促进了市场的发展和创新,也增强了参与者的信心和价值观。正是这种自主性和能动性,使得 ERC7527 的生态系统成为了一个充满活力和希望的新型金融市场。 # 结语 在传统的认知里对于大多数事物,每个人的认知可能都是不尽相同的,拥有自己独立的见解和思考是进行投资与思考的前提。 本文作为探索 WrapCoin 及其背后协议 ERC7527 的一叶扁舟,希望能引领读者理解WrapCoin(https://x.com/WrapCoinCN)背后的ERC7527所做的事情,开启 ValueFi 的大门,在 web3 的世界里渐入佳境。 $$ @Author:Doris $$

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully