From c67b302650b7b6c0841489b09733c0910225f766 Mon Sep 17 00:00:00 2001 From: Andrew Soon Date: Tue, 17 Dec 2024 20:35:19 +0800 Subject: [PATCH 1/4] Add quick select deposit options config --- configs/mainnet.json | 102 +++++++++++++++++++++++++++++++++++-------- 1 file changed, 84 insertions(+), 18 deletions(-) diff --git a/configs/mainnet.json b/configs/mainnet.json index 0cdeeea..a987893 100644 --- a/configs/mainnet.json +++ b/configs/mainnet.json @@ -1,8 +1,18 @@ { "network": "mainnet", "prelaunch_markets": [], - "blacklisted_markets": ["gm1_busd1", "SWTH_UST", "LUNA_SWTH"], - "blacklisted_pools": ["34", "43", "44", "74", "83"], + "blacklisted_markets": [ + "gm1_busd1", + "SWTH_UST", + "LUNA_SWTH" + ], + "blacklisted_pools": [ + "34", + "43", + "44", + "74", + "83" + ], "blacklisted_tokens": [ "swthb.1.6.d04123", "swth.1.18.94d5fe", @@ -289,7 +299,9 @@ "perpTradingBoost": 6 } }, - "cross_selling_source_tokens": ["swth"], + "cross_selling_source_tokens": [ + "swth" + ], "external_chain_channels": { "Archway": { "Noble": "channel-29" @@ -341,58 +353,94 @@ "additional_ibc_token_config": [ { "baseDenom": "uusdc", - "chainRoutes": ["Archway", "Noble"] + "chainRoutes": [ + "Archway", + "Noble" + ] }, { "baseDenom": "uusdc", - "chainRoutes": ["Cosmos Hub", "Noble"] + "chainRoutes": [ + "Cosmos Hub", + "Noble" + ] }, { "baseDenom": "uusdc", - "chainRoutes": ["DYDX", "Noble"] + "chainRoutes": [ + "DYDX", + "Noble" + ] }, { "baseDenom": "uusdc", - "chainRoutes": ["Kujira", "Noble"] + "chainRoutes": [ + "Kujira", + "Noble" + ] }, { "baseDenom": "swth", - "chainRoutes": ["Osmosis"] + "chainRoutes": [ + "Osmosis" + ] }, { "baseDenom": "swth", - "chainRoutes": ["Terra"] + "chainRoutes": [ + "Terra" + ] }, { "baseDenom": "uusdc", - "chainRoutes": ["Osmosis", "Noble"] + "chainRoutes": [ + "Osmosis", + "Noble" + ] }, { "baseDenom": "uusdc", - "chainRoutes": ["Stargaze", "Noble"] + "chainRoutes": [ + "Stargaze", + "Noble" + ] }, { "baseDenom": "uusdc", - "chainRoutes": ["Terra", "Noble"] + "chainRoutes": [ + "Terra", + "Noble" + ] }, { "baseDenom": "uatom", - "chainRoutes": ["Osmosis", "Cosmos Hub"], + "chainRoutes": [ + "Osmosis", + "Cosmos Hub" + ], "denomOnCarbon": "ibc/6CDD4663F2F09CD62285E2D45891FC149A3568E316CE3EBBE201A71A78A69388" }, { "baseDenom": "ustrd", - "chainRoutes": ["Osmosis", "Stride"], + "chainRoutes": [ + "Osmosis", + "Stride" + ], "denomOnCarbon": "ibc/FCFF8B19C61677F3B78E2A5AE3B4A34A8D23858D16905F253B8438B3AFD07FF8" }, { "baseDenom": "ustrd", - "chainRoutes": ["Cosmos Hub", "Stride"], + "chainRoutes": [ + "Cosmos Hub", + "Stride" + ], "denomOnCarbon": "ibc/B8D03406E060650ECE2D521287AC9A94D036C4C78B4AB871AC740A5FF2030D79" } ], "demex_trading_league_config": { - "promoMarkets": ["cmkt/201"], + "promoMarkets": [ + "cmkt/201" + ], "currentPrizeSymbol": "USDC", "currentCompPerpPoolId": 3 }, @@ -483,5 +531,23 @@ }, "spot_pool_config": { "show_apr_tooltip": true - } -} + }, + "quick_select_deposit_options": [ + { + "label_denom": "brdg/d8c3db91ad4ba11fe52971b4c387b0110c8951ec0f5b8f0fb445ef0306a349e1", + "targe_denom": "cgt/1" + }, + { + "label_denom": "swth", + "targe_denom": "swth" + }, + { + "label_denom": "eth.1.2.942d87", + "targe_denom": "eth.1.2.942d87" + }, + { + "label_denom": "brdg/a02afc2c1edf77cc023eefa25fc036c184612faf9365cda9c1daa3b1675ebf8f", + "targe_denom": "brdg/a02afc2c1edf77cc023eefa25fc036c184612faf9365cda9c1daa3b1675ebf8f" + } + ] +} \ No newline at end of file From 9921fee8e927084118f54c85f18586bcc53a4763 Mon Sep 17 00:00:00 2001 From: Andrew Soon Date: Tue, 17 Dec 2024 20:35:57 +0800 Subject: [PATCH 2/4] Fix label --- configs/mainnet.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/configs/mainnet.json b/configs/mainnet.json index a987893..97f3b52 100644 --- a/configs/mainnet.json +++ b/configs/mainnet.json @@ -535,19 +535,19 @@ "quick_select_deposit_options": [ { "label_denom": "brdg/d8c3db91ad4ba11fe52971b4c387b0110c8951ec0f5b8f0fb445ef0306a349e1", - "targe_denom": "cgt/1" + "target_denom": "cgt/1" }, { "label_denom": "swth", - "targe_denom": "swth" + "target_denom": "swth" }, { "label_denom": "eth.1.2.942d87", - "targe_denom": "eth.1.2.942d87" + "target_denom": "eth.1.2.942d87" }, { "label_denom": "brdg/a02afc2c1edf77cc023eefa25fc036c184612faf9365cda9c1daa3b1675ebf8f", - "targe_denom": "brdg/a02afc2c1edf77cc023eefa25fc036c184612faf9365cda9c1daa3b1675ebf8f" + "target_denom": "brdg/a02afc2c1edf77cc023eefa25fc036c184612faf9365cda9c1daa3b1675ebf8f" } ] } \ No newline at end of file From 2f911d653810203af45b150818cf99e18cf8f68c Mon Sep 17 00:00:00 2001 From: Andrew Soon Date: Tue, 17 Dec 2024 20:59:29 +0800 Subject: [PATCH 3/4] Revert auto-formatter changes --- configs/mainnet.json | 80 +++++++++----------------------------------- 1 file changed, 16 insertions(+), 64 deletions(-) diff --git a/configs/mainnet.json b/configs/mainnet.json index 97f3b52..c9984ab 100644 --- a/configs/mainnet.json +++ b/configs/mainnet.json @@ -1,18 +1,8 @@ { "network": "mainnet", "prelaunch_markets": [], - "blacklisted_markets": [ - "gm1_busd1", - "SWTH_UST", - "LUNA_SWTH" - ], - "blacklisted_pools": [ - "34", - "43", - "44", - "74", - "83" - ], + "blacklisted_markets": ["gm1_busd1", "SWTH_UST", "LUNA_SWTH"], + "blacklisted_pools": ["34", "43", "44", "74", "83"], "blacklisted_tokens": [ "swthb.1.6.d04123", "swth.1.18.94d5fe", @@ -299,9 +289,7 @@ "perpTradingBoost": 6 } }, - "cross_selling_source_tokens": [ - "swth" - ], + "cross_selling_source_tokens": ["swth"], "external_chain_channels": { "Archway": { "Noble": "channel-29" @@ -353,94 +341,58 @@ "additional_ibc_token_config": [ { "baseDenom": "uusdc", - "chainRoutes": [ - "Archway", - "Noble" - ] + "chainRoutes": ["Archway", "Noble"] }, { "baseDenom": "uusdc", - "chainRoutes": [ - "Cosmos Hub", - "Noble" - ] + "chainRoutes": ["Cosmos Hub", "Noble"] }, { "baseDenom": "uusdc", - "chainRoutes": [ - "DYDX", - "Noble" - ] + "chainRoutes": ["DYDX", "Noble"] }, { "baseDenom": "uusdc", - "chainRoutes": [ - "Kujira", - "Noble" - ] + "chainRoutes": ["Kujira", "Noble"] }, { "baseDenom": "swth", - "chainRoutes": [ - "Osmosis" - ] + "chainRoutes": ["Osmosis"] }, { "baseDenom": "swth", - "chainRoutes": [ - "Terra" - ] + "chainRoutes": ["Terra"] }, { "baseDenom": "uusdc", - "chainRoutes": [ - "Osmosis", - "Noble" - ] + "chainRoutes": ["Osmosis", "Noble"] }, { "baseDenom": "uusdc", - "chainRoutes": [ - "Stargaze", - "Noble" - ] + "chainRoutes": ["Stargaze", "Noble"] }, { "baseDenom": "uusdc", - "chainRoutes": [ - "Terra", - "Noble" - ] + "chainRoutes": ["Terra", "Noble"] }, { "baseDenom": "uatom", - "chainRoutes": [ - "Osmosis", - "Cosmos Hub" - ], + "chainRoutes": ["Osmosis", "Cosmos Hub"], "denomOnCarbon": "ibc/6CDD4663F2F09CD62285E2D45891FC149A3568E316CE3EBBE201A71A78A69388" }, { "baseDenom": "ustrd", - "chainRoutes": [ - "Osmosis", - "Stride" - ], + "chainRoutes": ["Osmosis", "Stride"], "denomOnCarbon": "ibc/FCFF8B19C61677F3B78E2A5AE3B4A34A8D23858D16905F253B8438B3AFD07FF8" }, { "baseDenom": "ustrd", - "chainRoutes": [ - "Cosmos Hub", - "Stride" - ], + "chainRoutes": ["Cosmos Hub", "Stride"], "denomOnCarbon": "ibc/B8D03406E060650ECE2D521287AC9A94D036C4C78B4AB871AC740A5FF2030D79" } ], "demex_trading_league_config": { - "promoMarkets": [ - "cmkt/201" - ], + "promoMarkets": ["cmkt/201"], "currentPrizeSymbol": "USDC", "currentCompPerpPoolId": 3 }, From 93dd4fe5aa0ccc3eed8d277db6e9a098d13d3a62 Mon Sep 17 00:00:00 2001 From: Andrew Soon Date: Tue, 17 Dec 2024 21:11:01 +0800 Subject: [PATCH 4/4] Remove invalid token in network_fees config --- configs/mainnet.json | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/configs/mainnet.json b/configs/mainnet.json index c9984ab..c890d8e 100644 --- a/configs/mainnet.json +++ b/configs/mainnet.json @@ -92,15 +92,14 @@ "ibc/75249A18DEFBEFE55F83B1C70CAD234DF164F174C6BC51682EE92C2C81C18C93": 11, "ibc/B7864B03E1B9FD4F049243E92ABD691586F682137037A9F3FCA5222815620B3C": 12, "ibc/4E06CF24FEBFB3F5AF645377DCC0B70AA6183BAF6B918B8B6243FCDEB7D38118": 13, - "bnb.1.6.773edb": 14, - "usdc.1.6.53ff75": 15, - "busd.1.6.754a80": 16, - "eth.1.19.c3b805": 17, - "cglp.1.19.1698d3": 18, - "zil.1.18.1a4a06": 19, - "bneo.1.14.e2e5f6": 20, - "eth.1.2.942d87": 21, - "usdc.1.2.343151": 22 + "usdc.1.6.53ff75": 14, + "busd.1.6.754a80": 15, + "eth.1.19.c3b805": 16, + "cglp.1.19.1698d3": 17, + "zil.1.18.1a4a06": 18, + "bneo.1.14.e2e5f6": 19, + "eth.1.2.942d87": 20, + "usdc.1.2.343151": 21 }, "spot_history_market_list": { "cmkt/117": "BINANCE:ETHUSD",