Skip to content

Commit

Permalink
use cb events
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Sep 26, 2023
1 parent 300a8c5 commit 629eed9
Show file tree
Hide file tree
Showing 3 changed files with 324 additions and 2 deletions.
287 changes: 286 additions & 1 deletion x/cronos/events/bindings/cosmos/precompile/ica/i_ica_module.abigen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions x/cronos/events/bindings/src/ICA.sol
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,29 @@ pragma solidity ^0.8.4;

interface IICAModule {
event SubmitMsgsResult(uint64 seq);
event DestinationCallback(
string module,
string callbackType,
string callbackAddress,
string callbackResult,
string callbackError,
string callbackExecGasLimit,
string callbackCommitGasLimit,
string packetDestPort,
string packetDestChannel,
string packetSequence
);
event SourceCallback(
string module,
string callbackType,
string callbackAddress,
string callbackResult,
string callbackExecGasLimit,
string callbackCommitGasLimit,
string packetSrcPort,
string packetSrcChannel,
string packetSequence
);
function registerAccount(string calldata connectionID, string calldata version) external payable returns (bool);
function queryAccount(string calldata connectionID, address addr) external view returns (string memory);
function submitMsgs(string calldata connectionID, bytes calldata data, uint256 timeout) external payable returns (uint64);
Expand Down
Loading

0 comments on commit 629eed9

Please sign in to comment.