From 21ab4116e7eccd67f0a5cd9fbee2d20d311a54b6 Mon Sep 17 00:00:00 2001 From: JohnnyWyles <97029546+JohnnyWyles@users.noreply.github.com> Date: Fri, 28 Oct 2022 15:42:29 +0100 Subject: [PATCH] Add Juno pairs to router (#897) Allows use of stJUNO/JUNO and seJUNO/JUNO in the router. --- packages/web/pages/index.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/web/pages/index.tsx b/packages/web/pages/index.tsx index 234dcfc1b1..a046194aac 100644 --- a/packages/web/pages/index.tsx +++ b/packages/web/pages/index.tsx @@ -108,6 +108,18 @@ const Home: NextPage = observer(function () { break; } } + + // only pools with at least 10,000 JUNO + if ( + "originChainId" in asset.amount.currency && + asset.amount.currency.coinMinimalDenom === + "ibc/46B44899322F3CD854D2D46DEEF881958467CDD4B3B10086DA49296BBED94BED" + ) { + if (asset.amount.toDec().gt(new Dec(10_000))) { + hasEnoughAssets = true; + break; + } + } } if (hasEnoughAssets) {