From b4bed377b85e8e6f156e17e5cf399e1d335341ad Mon Sep 17 00:00:00 2001 From: Laurent Le Houerou Date: Mon, 25 Apr 2022 11:59:26 +0400 Subject: [PATCH] add yluna/luna astroport pair --- protocols/astroport/router.go | 7 ++++++- tokens.go | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/protocols/astroport/router.go b/protocols/astroport/router.go index 6fb7d09..b26127e 100644 --- a/protocols/astroport/router.go +++ b/protocols/astroport/router.go @@ -53,7 +53,11 @@ func NewRouter(querier *terra.Querier) (terra.Router, error) { } PRISMUST, err := NewXykPair(querier, "terra10nfk6fcz5nc5uru964qmpels9ctg6j0vczjgl7", terra.PRISM, terra.UST, terra.ASTRO_PRISMUSTLP) if err != nil { - return nil, errors.Wrap(err, "init ASTROLUNA pair") + return nil, errors.Wrap(err, "init PRISMUST pair") + } + YLUNALUNA, err := NewXykPair(querier, "terra1aa68js6yxavg9zzzle2zaynem9cstvmaj3xyu3", terra.YLUNA, terra.LUNA, terra.ASTRO_YLUNALUNALP) + if err != nil { + return nil, errors.Wrap(err, "init YLUNALUNA pair") } LUNABLUNA, err := NewStablePair(querier, "terra1j66jatn3k50hjtg2xemnjm8s7y8dws9xqa5y8w", terra.LUNA, terra.BLUNA, terra.ASTRO_LUNABLUNALP) @@ -88,6 +92,7 @@ func NewRouter(querier *terra.Querier) (terra.Router, error) { KUSTUST, PRISMUST, PRISMXPRISM, + YLUNALUNA, //{terra.VKR, terra.UST}, //{terra.APOLLO, terra.UST}, //{terra.ORION, terra.UST}, diff --git a/tokens.go b/tokens.go index c549bc6..79153eb 100644 --- a/tokens.go +++ b/tokens.go @@ -70,6 +70,7 @@ var ( ASTRO_KUSTUSTLP, _ = NewCw20Token("terra16aurvlp5xctv0ftcelaseypyc89ylf4y0s5q0y", "uLP", 6) ASTRO_PRISMUSTLP, _ = NewCw20Token("terra156sdvmjkezv5yxpgcxug0s73zkvdqk72pldkva", "uLP", 6) ASTRO_PRISMXPRISMLP, _ = NewCw20Token("terra198en0xuzldzyark7pqz409p3u2d2g3y3k8u3py", "uLP", 6) + ASTRO_YLUNALUNALP, _ = NewCw20Token("terra12kf0s56pz2xhus9cqs4wva2xgz8wdkuqmh396s", "uLP", 6) TERRASWAP_LUNAUSTLP, _ = NewCw20Token("terra17dkr9rnmtmu7x4azrpupukvur2crnptyfvsrvr", "uLP", 6) TERRASWAP_BLUNALUNALP, _ = NewCw20Token("terra1nuy34nwnsh53ygpc4xprlj263cztw7vc99leh2", "uLP", 6)