Skip to content

Commit

Permalink
Merge pull request #2695 from Sifchain/chore/token-registry-uiov
Browse files Browse the repository at this point in the history
Add mainnet uiov + aevmos to registry
  • Loading branch information
timlind authored May 6, 2022
2 parents fcf0f3b + 015bacb commit a022431
Show file tree
Hide file tree
Showing 5 changed files with 101 additions and 7 deletions.
12 changes: 9 additions & 3 deletions scripts/ibc/tokenregistration/envs/betanet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ SIFCHAIN_ID=sifchain-1 \
BAND_CHANNEL_ID= \
BAND_COUNTERPARTY_CHANNEL_ID= \
SECRET_CHAIN_ID=secret-4 \
SECRET_CHANNEL_ID=channel-33 \
SECRET_COUNTERPARTY_CHANNEL_ID=channel-4 \
SECRET_CHANNEL_ID=channel-65 \
SECRET_COUNTERPARTY_CHANNEL_ID=channel-15 \
COMDEX_CHAIN_ID=comdex-1 \
COMDEX_CHANNEL_ID=channel-30 \
COMDEX_COUNTERPARTY_CHANNEL_ID=channel-8
Expand All @@ -58,4 +58,10 @@ SIFCHAIN_ID=sifchain-1 \
BITCANNA_COUNTERPARTY_CHANNEL_ID=channel-2 \
BITSONG_CHAIN_ID=bitsong-2b \
BITSONG_CHANNEL_ID=channel-36 \
BITSONG_COUNTERPARTY_CHANNEL_ID=channel-6
BITSONG_COUNTERPARTY_CHANNEL_ID=channel-6 \
STARNAME_CHAIN_ID=iov-mainnet-ibc \
STARNAME_CHANNEL_ID=channel-54 \
STARNAME_COUNTERPARTY_CHANNEL_ID=channel-18 \
EVMOS_CHAIN_ID=evmos_9001-2 \
EVMOS_CHANNEL_ID=channel-55 \
EVMOS_COUNTERPARTY_CHANNEL_ID=channel-7
36 changes: 36 additions & 0 deletions scripts/ibc/tokenregistration/generate-ibc-jsons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -404,3 +404,39 @@ sifnoded q tokenregistry generate -o json \
echo "\n\ngenerated entry for $BITCANNA_CHAIN_ID"

cat $SIFCHAIN_ID/ubcna.json | jq

sifnoded q tokenregistry generate -o json \
--token_base_denom=uiov \
--token_ibc_counterparty_chain_id=$STARNAME_CHAIN_ID \
--token_ibc_channel_id=$STARNAME_CHANNEL_ID \
--token_ibc_counterparty_channel_id=$STARNAME_COUNTERPARTY_CHANNEL_ID \
--token_ibc_counterparty_denom="" \
--token_unit_denom="" \
--token_decimals=6 \
--token_display_name="Starname" \
--token_external_symbol="" \
--token_permission_clp=true \
--token_permission_ibc_export=true \
--token_permission_ibc_import=true | jq > $SIFCHAIN_ID/uiov.json

echo "\n\ngenerated entry for $STARNAME_CHAIN_ID"

cat $SIFCHAIN_ID/uiov.json | jq

sifnoded q tokenregistry generate -o json \
--token_base_denom=aevmos \
--token_ibc_counterparty_chain_id=$EVMOS_CHAIN_ID \
--token_ibc_channel_id=$EVMOS_CHANNEL_ID \
--token_ibc_counterparty_channel_id=$EVMOS_COUNTERPARTY_CHANNEL_ID \
--token_ibc_counterparty_denom="" \
--token_unit_denom="" \
--token_decimals=6 \
--token_display_name="Evmos" \
--token_external_symbol="" \
--token_permission_clp=true \
--token_permission_ibc_export=true \
--token_permission_ibc_import=true | jq > $SIFCHAIN_ID/aevmos.json

echo "\n\ngenerated entry for $EVMOS_CHAIN_ID"

cat $SIFCHAIN_ID/aevmos.json | jq
26 changes: 26 additions & 0 deletions scripts/ibc/tokenregistration/sifchain-1/aevmos.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"entries": [
{
"decimals": "6",
"denom": "ibc/57BB0CFF9782730595988FD330AA41605B0628E11507BABC1207B830A23493B9",
"base_denom": "aevmos",
"path": "transfer/channel-55",
"ibc_channel_id": "channel-55",
"ibc_counterparty_channel_id": "channel-7",
"display_name": "Evmos",
"display_symbol": "",
"network": "",
"address": "",
"external_symbol": "",
"transfer_limit": "",
"permissions": [
"CLP",
"IBCEXPORT",
"IBCIMPORT"
],
"unit_denom": "",
"ibc_counterparty_denom": "",
"ibc_counterparty_chain_id": "evmos_9001-2"
}
]
}
8 changes: 4 additions & 4 deletions scripts/ibc/tokenregistration/sifchain-1/scrt.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
"entries": [
{
"decimals": "6",
"denom": "ibc/AB71F94BB809FB05FB4547C471A92C3F9826BA24E660BB4782B5ED61FB9AB867",
"denom": "ibc/345D30E8ED06B47FC538ED131D99D16126F07CD6F8B35DE96AAF4C1E445AF466",
"base_denom": "uscrt",
"path": "transfer/channel-33",
"ibc_channel_id": "channel-33",
"ibc_counterparty_channel_id": "channel-4",
"path": "transfer/channel-65",
"ibc_channel_id": "channel-65",
"ibc_counterparty_channel_id": "channel-15",
"display_name": "Secret",
"display_symbol": "",
"network": "",
Expand Down
26 changes: 26 additions & 0 deletions scripts/ibc/tokenregistration/sifchain-1/uiov.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"entries": [
{
"decimals": "6",
"denom": "ibc/F20C4E30E4202C11FE009D6D58B2FF212C99084CB6F767287A51A93EFD960086",
"base_denom": "uiov",
"path": "transfer/channel-54",
"ibc_channel_id": "channel-54",
"ibc_counterparty_channel_id": "channel-18",
"display_name": "Starname",
"display_symbol": "",
"network": "",
"address": "",
"external_symbol": "",
"transfer_limit": "",
"permissions": [
"CLP",
"IBCEXPORT",
"IBCIMPORT"
],
"unit_denom": "",
"ibc_counterparty_denom": "",
"ibc_counterparty_chain_id": "iov-mainnet-ibc"
}
]
}

0 comments on commit a022431

Please sign in to comment.