Skip to content

Commit

Permalink
expose the nonce
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Jul 24, 2024
1 parent b761fea commit 83f5b23
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions interfaces/IIsmpHost.sol
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ interface IIsmpHost is IDispatcher {
*/
function timestamp() external view returns (uint256);

/**
* @dev Returns the nonce immediately available for requests
* @return the `nonce`
*/
function nonce() external view returns (uint256)

/**
* @return the `frozen` status
*/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@polytope-labs/ismp-solidity",
"version": "0.2.4",
"version": "0.2.5",
"description": "Hyperbridge Solidity SDK for the Interoperable state machine protocol",
"author": "Polytope Labs <[email protected]>",
"license": "Apache-2.0",
Expand Down

0 comments on commit 83f5b23

Please sign in to comment.