-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move payment methods from host to Dispatcher
- Loading branch information
1 parent
80a44b6
commit e6da185
Showing
3 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -55,9 +55,19 @@ struct DispatchPostResponse { | |
* @title The Ismp Dispatcher | ||
* @author Polytope Labs ([email protected]) | ||
* | ||
* @notice The IHandler interface serves as the entry point for ISMP datagrams, i.e consensus, requests & response messages. | ||
* @notice The IDispatcher serves as the interface requests & response messages. | ||
*/ | ||
interface IDispatcher { | ||
/** | ||
* @return the address of the fee token ERC-20 contract on this state machine | ||
*/ | ||
function feeToken() external view returns (address); | ||
|
||
/** | ||
* @return the per-byte fee for outgoing messages. | ||
*/ | ||
function perByteFee() external view returns (uint256); | ||
|
||
/** | ||
* @dev Dispatch a POST request to Hyperbridge | ||
* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@polytope-labs/ismp-solidity", | ||
"version": "0.5.3", | ||
"version": "0.6.0", | ||
"description": "Hyperbridge Solidity SDK for the Interoperable state machine protocol", | ||
"author": "Polytope Labs <[email protected]>", | ||
"license": "Apache-2.0", | ||
|