瀏覽代碼

Update IERC7786 to match latest ERC changes (#5883)

Hadrien Croubois 1 月之前
父節點
當前提交
be8ee86fc1
共有 1 個文件被更改,包括 2 次插入3 次删除
  1. 2 3
      contracts/interfaces/draft-IERC7786.sol

+ 2 - 3
contracts/interfaces/draft-IERC7786.sol

@@ -55,10 +55,9 @@ interface IERC7786Receiver {
      *
      * This function may be called directly by the gateway.
      */
-    function executeMessage(
+    function receiveMessage(
         bytes32 receiveId,
         bytes calldata sender, // Binary Interoperable Address
-        bytes calldata payload,
-        bytes[] calldata attributes
+        bytes calldata payload
     ) external payable returns (bytes4);
 }