-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
58 additions
and
84 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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,19 +1,23 @@ | ||
use ckb_types::{h256, H256}; | ||
use ckb_types::{h160, h256, H160, H256}; | ||
|
||
pub const SUDT_CODE_HASH: H256 = | ||
h256!("0xcf6e0c0148123081af1deda0ef162d39cfdfe1ea6565d3689009c1f3562a5e82"); | ||
pub const CONNECTION_CODE_HASH: H256 = | ||
h256!("0xe802fa98adeed078eb39225f6d7759ceeeecc32fa28942f2d2c6a158ec40cebb"); | ||
pub const CHANNEL_CODE_HASH: H256 = | ||
h256!("0x489e3d7d39bc1fb4266185ae45f5e858e9d4040c0f0748502cb4a3df40fb0ead"); | ||
h256!("0x2c0ef0b26daa000b0f7a66899fd0da13038b8cc6240d3d721254dd46ff38ff83"); | ||
|
||
pub const SUDT_TYPE_ARGS: H256 = | ||
h256!("0xf49ce32397c6741998b04d7548c5ed372007424daf67ee5bfadaefec3c865781"); | ||
pub const CONNECTION_TYPE_ARGS: H256 = | ||
h256!("0x9d46ad77b8f5107d5898d7e7ad82be206c4fd95f562004efe32488605e8846c7"); | ||
pub const CHANNEL_TYPE_ARGS: H256 = | ||
h256!("0x51fe9269fa2c1b9dc69e754ce6d1e0ae67f8787113e19d7c45878bc0756d87b0"); | ||
h256!("0xffa65d9d4779bb1f91eed5295d115c7e8f8770852a2942b9732550a8feb619a9"); | ||
pub const PACKET_TYPE_ARGS: H256 = | ||
h256!("0xe95d570225c192fe50274764f5b722f536c27713932e4ed3eefbe2c501cbf0c1"); | ||
h256!("0x244771c385df2fb426a6658957b3c9f07820daea5ed0f537ce0cb5b4b49ca447"); | ||
pub const CLIENT_TYPE_ARGS: H256 = | ||
h256!("0x49e52c85b82caef2b69dfc8774b932fabca48c64c0f9f778f83ac6605fe48cd2"); | ||
h256!("0x0bce5d9d16bdedb01fc47b8101de0dbd182f9195c3950fda2cac63cc1e284c02"); | ||
|
||
// Don't know how to pass this from axon to ckb. It doesn't change often, so | ||
// let's hardcode it for now. | ||
pub const AXON_IBC_HANDLER_ADDRESS: H160 = h160!("0xdc64a140aa3e981100a9beca4e685f962f0cf6c9"); |
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 +1 @@ | ||
{"id": 5, "jsonrpc": "2.0", "method": "send_transaction", "params": [{"version":"0x0","cell_deps":[{"out_point":{"tx_hash":"0x29ed5663501cd171513155f8939ad2c9ffeb92aa4879d39cde987f8eb6274407","index":"0x0"},"dep_type":"dep_group"},{"out_point":{"tx_hash":"0xd9812f0aaa786955967cf9ad69b959d97a9ea5a7b3df76b6f900c6ad622a2ad5","index":"0x0"},"dep_type":"code"}],"header_deps":[],"inputs":[{"since":"0x0","previous_output":{"tx_hash":"0xd30b3c0f17193aecdebbca1484903b8cac664df633753332c2455ab1af08d997","index":"0x2"}}],"outputs":[{"capacity":"0x34e62ce00","lock":{"code_hash":"0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8","hash_type":"type","args":"0x470dcdc5e44064909650113a274b3b36aecb6dc7"},"type":{"code_hash":"0xcf6e0c0148123081af1deda0ef162d39cfdfe1ea6565d3689009c1f3562a5e82","hash_type":"type","args":"0xc219351b150b900e50a7039f1e448b844110927e5fd9bd30425806cb8ddff1fd"}},{"capacity":"0x16bcc41e90000","lock":{"code_hash":"0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8","hash_type":"type","args":"0x470dcdc5e44064909650113a274b3b36aecb6dc7"},"type":null}],"outputs_data":["0x10270000000000000000000000000000","0x"],"witnesses":["0x5500000010000000550000005500000041000000fb5b17fd5cefc4b6f65aa1f21b6b0caa406689f6eaff0bb707f6717a95ab813b7b59d20f217bc1bcdfba517ccbb2c6ced9300df481a95a0ba384e8097ee4b48601"]}]} | ||
{"id": 5, "jsonrpc": "2.0", "method": "send_transaction", "params": [{"version":"0x0","cell_deps":[{"out_point":{"tx_hash":"0x29ed5663501cd171513155f8939ad2c9ffeb92aa4879d39cde987f8eb6274407","index":"0x0"},"dep_type":"dep_group"},{"out_point":{"tx_hash":"0xd9812f0aaa786955967cf9ad69b959d97a9ea5a7b3df76b6f900c6ad622a2ad5","index":"0x0"},"dep_type":"code"}],"header_deps":[],"inputs":[{"since":"0x0","previous_output":{"tx_hash":"0x1f3cd745ca781e24edd27195f64a38b37b8160c2ba36edd386164790d2d0bf71","index":"0x2"}}],"outputs":[{"capacity":"0x34e62ce00","lock":{"code_hash":"0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8","hash_type":"type","args":"0x470dcdc5e44064909650113a274b3b36aecb6dc7"},"type":{"code_hash":"0xcf6e0c0148123081af1deda0ef162d39cfdfe1ea6565d3689009c1f3562a5e82","hash_type":"type","args":"0xc219351b150b900e50a7039f1e448b844110927e5fd9bd30425806cb8ddff1fd"}},{"capacity":"0x16bcc41e90000","lock":{"code_hash":"0x9bd7e06f3ecf4be0f2fcd2188b23f1b9fcc88e5d4b65a8637b17723bbda3cce8","hash_type":"type","args":"0x470dcdc5e44064909650113a274b3b36aecb6dc7"},"type":null}],"outputs_data":["0x10270000000000000000000000000000","0x"],"witnesses":["0x55000000100000005500000055000000410000007087773b6ff3f385e74f02eede73892994a6c0c9e23b077496d28cfbdf6a575a4c51a3ca1f2ab4740f502c03c70cc7fc98df7dbb4876dc7712d4ae7a7594ee4100"]}]} |
Oops, something went wrong.