Skip to content

Commit

Permalink
stateCommitmentWithNative
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Jul 22, 2024
1 parent 728f725 commit 1268625
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/IIsmpHost.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1268625

Please sign in to comment.