mirror of
https://github.com/galacticship/terra.git
synced 2024-11-13 19:57:51 +00:00
add prism/xprism prism/ust & kust/ust pairs to astroport router
This commit is contained in:
parent
85c0bf9099
commit
e18b524bc0
@ -51,6 +51,10 @@ func NewRouter(querier *terra.Querier) (terra.Router, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "init ASTROLUNA pair")
|
return nil, errors.Wrap(err, "init ASTROLUNA pair")
|
||||||
}
|
}
|
||||||
|
PRISMUST, err := NewXykPair(querier, "terra10nfk6fcz5nc5uru964qmpels9ctg6j0vczjgl7", terra.PRISM, terra.UST, terra.ASTRO_PRISMUSTLP)
|
||||||
|
if err != nil {
|
||||||
|
return nil, errors.Wrap(err, "init ASTROLUNA pair")
|
||||||
|
}
|
||||||
|
|
||||||
LUNABLUNA, err := NewStablePair(querier, "terra1j66jatn3k50hjtg2xemnjm8s7y8dws9xqa5y8w", terra.LUNA, terra.BLUNA, terra.ASTRO_LUNABLUNALP)
|
LUNABLUNA, err := NewStablePair(querier, "terra1j66jatn3k50hjtg2xemnjm8s7y8dws9xqa5y8w", terra.LUNA, terra.BLUNA, terra.ASTRO_LUNABLUNALP)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -60,6 +64,14 @@ func NewRouter(querier *terra.Querier) (terra.Router, error) {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return nil, errors.Wrap(err, "init MARSXMARS pair")
|
return nil, errors.Wrap(err, "init MARSXMARS pair")
|
||||||
}
|
}
|
||||||
|
KUSTUST, err := NewStablePair(querier, "terra15rx5ghq4nxrv62fqvdvm78kuasfkl95c6mcmqs", terra.KUST, terra.UST, terra.ASTRO_KUSTUSTLP)
|
||||||
|
if err != nil {
|
||||||
|
return nil, errors.Wrap(err, "init KUSTUST pair")
|
||||||
|
}
|
||||||
|
PRISMXPRISM, err := NewStablePair(querier, "terra1c868juk7lk9vuvetf0644qgxscsu4xwag6yaxs", terra.PRISM, terra.XPRISM, terra.ASTRO_PRISMXPRISMLP)
|
||||||
|
if err != nil {
|
||||||
|
return nil, errors.Wrap(err, "init KUSTUST pair")
|
||||||
|
}
|
||||||
|
|
||||||
r.SetPairs(
|
r.SetPairs(
|
||||||
LUNAUST,
|
LUNAUST,
|
||||||
@ -73,6 +85,9 @@ func NewRouter(querier *terra.Querier) (terra.Router, error) {
|
|||||||
ASTROLUNA,
|
ASTROLUNA,
|
||||||
LUNABLUNA,
|
LUNABLUNA,
|
||||||
MARSXMARS,
|
MARSXMARS,
|
||||||
|
KUSTUST,
|
||||||
|
PRISMUST,
|
||||||
|
PRISMXPRISM,
|
||||||
//{terra.VKR, terra.UST},
|
//{terra.VKR, terra.UST},
|
||||||
//{terra.APOLLO, terra.UST},
|
//{terra.APOLLO, terra.UST},
|
||||||
//{terra.ORION, terra.UST},
|
//{terra.ORION, terra.UST},
|
||||||
|
@ -52,6 +52,7 @@ var (
|
|||||||
WHSD, _ = NewCw20Token("terra1ustvnmngueq0p4jd7gfnutgvdc6ujpsjhsjd02", "WHSD", 8)
|
WHSD, _ = NewCw20Token("terra1ustvnmngueq0p4jd7gfnutgvdc6ujpsjhsjd02", "WHSD", 8)
|
||||||
XASTRO, _ = NewCw20Token("terra14lpnyzc9z4g3ugr4lhm8s4nle0tq8vcltkhzh7", "xASTRO", 6)
|
XASTRO, _ = NewCw20Token("terra14lpnyzc9z4g3ugr4lhm8s4nle0tq8vcltkhzh7", "xASTRO", 6)
|
||||||
XMARS, _ = NewCw20Token("terra1a04v570f9cxp49mk06vjsm8axsswndpwwt67k4", "xMARS", 6)
|
XMARS, _ = NewCw20Token("terra1a04v570f9cxp49mk06vjsm8axsswndpwwt67k4", "xMARS", 6)
|
||||||
|
KUST, _ = NewCw20Token("terra1g53pyke8jtmt4lwvk4yl0xaqc4u0qlsl8dz3ex", "kUST", 6)
|
||||||
)
|
)
|
||||||
|
|
||||||
var (
|
var (
|
||||||
@ -66,6 +67,9 @@ var (
|
|||||||
ASTRO_ASTROLUNALP, _ = NewCw20Token("terra1ryxkslm6p04q0nl046quwz8ctdd5llkjnaccpa", "uLP", 6)
|
ASTRO_ASTROLUNALP, _ = NewCw20Token("terra1ryxkslm6p04q0nl046quwz8ctdd5llkjnaccpa", "uLP", 6)
|
||||||
ASTRO_LUNABLUNALP, _ = NewCw20Token("terra1htw7hm40ch0hacm8qpgd24sus4h0tq3hsseatl", "uLP", 6)
|
ASTRO_LUNABLUNALP, _ = NewCw20Token("terra1htw7hm40ch0hacm8qpgd24sus4h0tq3hsseatl", "uLP", 6)
|
||||||
ASTRO_MARSXMARSLP, _ = NewCw20Token("terra1cxmdyn5srv8uwvhgz5ckqf28zf8c7uwyz08f2j", "uLP", 6)
|
ASTRO_MARSXMARSLP, _ = NewCw20Token("terra1cxmdyn5srv8uwvhgz5ckqf28zf8c7uwyz08f2j", "uLP", 6)
|
||||||
|
ASTRO_KUSTUSTLP, _ = NewCw20Token("terra16aurvlp5xctv0ftcelaseypyc89ylf4y0s5q0y", "uLP", 6)
|
||||||
|
ASTRO_PRISMUSTLP, _ = NewCw20Token("terra156sdvmjkezv5yxpgcxug0s73zkvdqk72pldkva", "uLP", 6)
|
||||||
|
ASTRO_PRISMXPRISMLP, _ = NewCw20Token("terra198en0xuzldzyark7pqz409p3u2d2g3y3k8u3py", "uLP", 6)
|
||||||
|
|
||||||
TERRASWAP_LUNAUSTLP, _ = NewCw20Token("terra17dkr9rnmtmu7x4azrpupukvur2crnptyfvsrvr", "uLP", 6)
|
TERRASWAP_LUNAUSTLP, _ = NewCw20Token("terra17dkr9rnmtmu7x4azrpupukvur2crnptyfvsrvr", "uLP", 6)
|
||||||
TERRASWAP_BLUNALUNALP, _ = NewCw20Token("terra1nuy34nwnsh53ygpc4xprlj263cztw7vc99leh2", "uLP", 6)
|
TERRASWAP_BLUNALUNALP, _ = NewCw20Token("terra1nuy34nwnsh53ygpc4xprlj263cztw7vc99leh2", "uLP", 6)
|
||||||
|
Loading…
Reference in New Issue
Block a user