From d54bc4c7225017c240832271630287d24ae73481 Mon Sep 17 00:00:00 2001 From: Seun Lanlege Date: Tue, 23 Jul 2024 17:58:10 +0000 Subject: [PATCH] npm v0.2.2 --- interfaces/IIsmpHost.sol | 7 +++++++ package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/interfaces/IIsmpHost.sol b/interfaces/IIsmpHost.sol index fb0df0d..8219cef 100644 --- a/interfaces/IIsmpHost.sol +++ b/interfaces/IIsmpHost.sol @@ -76,6 +76,13 @@ interface IIsmpHost is IDispatcher { function uniswapV2Router() external view returns (address); /** + * @notice Charges the stateCommitmentFee to 3rd party applications. + * If native tokens are provided, will attempt to swap them for the stateCommitmentFee. + * If not enough native tokens are supplied, will revert. + * + * If no native tokens are provided then it will try to collect payment from the calling contract in + * the IIsmpHost.feeToken. + * * @param height - state machine height * @return the state commitment at `height` */ diff --git a/package.json b/package.json index 182a963..58d1725 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@polytope-labs/ismp-solidity", - "version": "0.2.1", + "version": "0.2.2", "description": "Hyperbridge Solidity SDK for the Interoperable state machine protocol", "author": "Polytope Labs ", "license": "Apache-2.0",