From fb995a895d1188a9866465c39cc4a20a996d7a22 Mon Sep 17 00:00:00 2001 From: echo Date: Tue, 31 Oct 2023 13:49:06 +0800 Subject: [PATCH] fix interface --- src/interfaces/IORMP.sol | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/interfaces/IORMP.sol b/src/interfaces/IORMP.sol index 972efac..79c76af 100644 --- a/src/interfaces/IORMP.sol +++ b/src/interfaces/IORMP.sol @@ -40,10 +40,11 @@ interface IORMP { /// @notice Get a quote in source native gas, for the amount that send() requires to pay for message delivery. /// @param toChainId The Message destination chain id. - // @param to User application contract address which receive the message. + // @param ua User application contract address which send the message. + /// @param gasLimit Gas limit for UA used. /// @param encoded The calldata which encoded by ABI Encoding. /// @param params General extensibility for relayer to custom functionality. - function fee(uint256 toChainId, address to, bytes calldata encoded, bytes calldata params) + function fee(uint256 toChainId, address ua, uint256 gasLimit, bytes calldata encoded, bytes calldata params) external view returns (uint256);