Skip to content

Commit

Permalink
move some more methods
Browse files Browse the repository at this point in the history
  • Loading branch information
seunlanlege committed Sep 12, 2024
1 parent ca061e2 commit f443240
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 12 additions & 0 deletions interfaces/IDispatcher.sol
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,18 @@ struct DispatchPostResponse {
* @notice The IDispatcher serves as the interface requests & response messages.
*/
interface IDispatcher {
/**
* @dev Returns the address for the Uniswap V2 Router implementation used for swaps
* @return routerAddress - The address to the in-use RouterV02 implementation
*/
function uniswapV2Router() external view returns (address);

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

/**
* @dev Returns the address of the ERC-20 fee token contract configured for this state machine.
*
Expand Down
12 changes: 0 additions & 12 deletions interfaces/IIsmpHost.sol
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,6 @@ 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);

/**
* @dev Returns the fisherman responsible for vetoing the given state machine height.
* @return the `fisherman` address
Expand All @@ -83,12 +77,6 @@ interface IIsmpHost is IDispatcher {
*/
function frozen() external view returns (FrozenStatus);

/**
* @dev Returns the address for the Uniswap V2 Router implementation used for swaps
* @return routerAddress - The address to the in-use RouterV02 implementation
*/
function uniswapV2Router() external view returns (address);

/**
* @dev Returns the fee required for 3rd party applications to access hyperbridge state commitments.
* @return the `stateCommitmentFee`
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.6.0",
"version": "0.6.1",
"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 f443240

Please sign in to comment.