Selaa lähdekoodia

Update IERC7786 to match latest ERC changes (#5883)

Hadrien Croubois 1 kuukausi sitten
vanhempi
sitoutus
be8ee86fc1
1 muutettua tiedostoa jossa 2 lisäystä ja 3 poistoa
  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);
 }