From 126862574866cccf2269058f0a54cc8691edefbf Mon Sep 17 00:00:00 2001 From: Seun Lanlege Date: Mon, 22 Jul 2024 21:49:34 +0000 Subject: [PATCH] stateCommitmentWithNative --- src/IIsmpHost.sol | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/src/IIsmpHost.sol b/src/IIsmpHost.sol index f73dfbe..40709ab 100644 --- a/src/IIsmpHost.sol +++ b/src/IIsmpHost.sol @@ -76,9 +76,17 @@ interface IIsmpHost is IDispatcher { /** * @param height - state machine height + * @notice collects the state commitment fee in the `feeToken()` * @return the state commitment at `height` */ - function stateMachineCommitment(StateMachineHeight memory height) external returns (StateCommitment memory); + function stateCommitment(StateMachineHeight memory height) external returns (StateCommitment memory); + + /** + * @param height - state machine height + * @notice collects the state commitment fee in the native tokens + * @return the state commitment at `height` + */ + function stateCommitmentWithNative(StateMachineHeight memory height) external payable returns (StateCommitment memory); /** * @param height - state machine height