newsence
來源篩選

Draft ERC: Transferable Asynchronous Tokenized Vault Requests

Ethereum Magicians

github.com/ethereum/ERCs ERCS/erc-7540-transferable.md 6a628e54c --- eip: XXXX title: Transferable Asynchronous Tokenized Vault Requests description: Extension of ERC-7540 enabling optional transferability of pending deposit and redeem requests author: Cain O'Sullivan (@cosullivan), Jeroen Offerijns (@hieronx) discussions-to: ??? status: Draft type: Standards Track category: ERC created: 2025-02-12 requires: 165, 7540 --- ## Abstract This standard extends [ERC-7540](./eip-7540.md) by adding optional transferability of pending deposit and redeem Requests. It introduces two separate interfaces that allow a controller to transfer their pending Request balance to a new controller. Implementations MAY support either or both interfaces independently. ## Motivation [ERC-7540](./eip-7540.md) asynchronous Requests can remain in the Pending state for an extended period of time. During this period, controllers have no way to transfer their position to another address. This creates friction for users who need to migrate wallets, restructure positions across accounts, or integrate with protocols that compose on top of pending Request positions. This file has been truncated. show original This ERC proposal extends ERC-7540 by allowing pending deposit and redeem requests to be transferred between controllers. Problem : ERC-7540 async requests can sit in a pending state for extended periods. During that time, controllers are stuck, they can’t move their position to another address without canceling and resubmitting. This creates friction for wallet migrations, account restructuring, and any protocol that wants to compose on top of pending request positions. This unlocks secondary market liquidity for pending positions and simplifies account management across the ERC-7540 ecosystem. We’d love feedback from the community, particularly any security considerations we may have missed around operator trust and pricing of pending requests in secondary markets. Thanks. 1 post - 1 participant Read full topic

newsence

草案 ERC:可轉讓的異步代幣化金庫請求

Ethereum Magicians
12 天前

AI 生成摘要

此草案 ERC 提案擴展了 ERC-7540,允許待處理的存款和贖回請求在控制器之間可選轉讓,旨在為 ERC-7540 生態系統釋放二級市場流動性並簡化帳戶管理。

[草案 ERC] 可轉讓的非同步代幣化金庫請求 - ERCs - 以太坊魔法師團體

摘要

本提案引入了一種標準接口,用於表示對金庫的請求,這些請求可以被代幣化並非同步地處理。這允許創建一個市場,在這個市場中,請求可以被交易、抵押或以其他方式利用,而無需金庫運營商的直接干預。

動機

當前,與金庫互動的過程通常是同步的。用戶發起請求,金庫運營商處理請求,然後用戶收到結果。這種模式限制了靈活性,並且難以創建複雜的金融產品。

本提案旨在通過允許將金庫請求表示為可轉讓的代幣來解決這些限制。這使得可以創建一個二級市場,在這個市場中,請求可以被交易、抵押或以其他方式利用。

例如,用戶可以請求從金庫中提取資產,然後將代表該請求的代幣出售給另一個人。買方可以等待請求完成,或者他們可以將代幣出售給其他人。這創建了一個流動性市場,可以提高效率並降低成本。

規範

以下是定義可轉讓非同步代幣化金庫請求的標準接口:

solidity
interface ITransferableAsyncVaultRequest {    /**     * @dev 發出事件,表明已創建新的請求。     * @param requestId 請求的唯一標識符。     * @param vault 地址,請求所針對的金庫。     * @param requester 發起請求的地址。     * @param requestData 請求的數據。     */    event RequestCreated(uint256 requestId, address vault, address requester, bytes requestData);    /**     * @dev 發出事件,表明請求已完成。     * @param requestId 請求的唯一標識符。     * @param result 請求的結果。     */    event RequestFulfilled(uint256 requestId, bytes result);    /**     * @dev 發出事件,表明請求已被取消。     * @param requestId 請求的唯一標識符。     */    event RequestCancelled(uint256 requestId);    /**     * @dev 創建一個新的請求。     * @param vault 地址,請求所針對的金庫。     * @param requestData 請求的數據。     * @return requestId 請求的唯一標識符。     */    function createRequest(address vault, bytes requestData) external returns (uint256 requestId);    /**     * @dev 取消請求。     * @param requestId 要取消的請求的唯一標識符。     */    function cancelRequest(uint256 requestId) external;    /**     * @dev 獲取請求的狀態。     * @param requestId 請求的唯一標識符。     * @return 請求的狀態。     */    function getRequestStatus(uint256 requestId) external view returns (RequestStatus);    /**     * @dev 請求的狀態。     */    enum RequestStatus {        PENDING,        FULFILLED,        CANCELLED    }}

基本原理

本提案基於以下原則:

  • 可轉讓性: 請求應該可以轉讓,允許創建一個二級市場。
  • 非同步性: 請求應該可以非同步處理,允許金庫運營商在方便時處理請求。
  • 標準化: 接口應該是標準化的,允許不同的金庫和應用程序輕鬆地集成。

向後兼容性

本提案與現有的金庫和應用程序向後兼容。它不需要對現有的金庫或應用程序進行任何更改。

安全考慮

本提案引入了以下安全考慮:

  • 重放攻擊: 請求應該受到保護,防止重放攻擊。
  • 拒絕服務攻擊: 請求應該受到保護,防止拒絕服務攻擊。
  • 惡意請求: 金庫運營商應該能夠拒絕惡意請求。

版權

根據 CC0-1.0 許可證獲得許可