-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(its-hub): support its hub routing (#265)
- Loading branch information
1 parent
56e9084
commit 97ca896
Showing
8 changed files
with
374 additions
and
19 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
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 |
---|---|---|
|
@@ -33,7 +33,7 @@ jobs: | |
cat build.log | ||
exit 1 | ||
exit 0; | ||
else | ||
exit 0; | ||
fi | ||
|
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
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
enum MessageType { | ||
INTERCHAIN_TRANSFER, | ||
DEPLOY_INTERCHAIN_TOKEN, | ||
DEPLOY_TOKEN_MANAGER | ||
} | ||
|
||
struct InterchainTransfer { | ||
uint256 messageType; | ||
bytes32 tokenId; | ||
bytes sourceAddress; | ||
bytes destinationAddress; | ||
uint256 amount; | ||
bytes data; | ||
} | ||
|
||
struct DeployInterchainToken { | ||
uint256 messageType; | ||
bytes32 tokenId; | ||
string name; | ||
string symbol; | ||
uint8 decimals; | ||
bytes minter; | ||
} | ||
|
||
struct DeployTokenManager { | ||
uint256 messageType; | ||
bytes32 tokenId; | ||
uint256 tokenManagerType; | ||
bytes params; | ||
} |
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
Oops, something went wrong.