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);