From 58b7c6e55f0047452dc617578faed560f24a5a0e Mon Sep 17 00:00:00 2001 From: Sai Kumar Date: Tue, 9 Jan 2024 16:30:30 +0530 Subject: [PATCH 1/4] adding pf config for stumee and kava --- umee-provider-config/currency-pairs.toml | 19 ++++++++++++++++++- .../deviation-thresholds.toml | 8 ++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/umee-provider-config/currency-pairs.toml b/umee-provider-config/currency-pairs.toml index fcbed8b..5870ad6 100644 --- a/umee-provider-config/currency-pairs.toml +++ b/umee-provider-config/currency-pairs.toml @@ -398,4 +398,21 @@ providers = [ "bitget", "gate", ] -quote = "USDT" \ No newline at end of file +quote = "USDT" + +[[currency_pairs]] +base = "KAVA" +quote = "USDT" +providers = [ "binance", "gate", "bitget", "binanceus", "crypto"] + +[[currency_pairs]] +base = "KAVA" +quote = "USD" +providers = [ "kraken", "coinbase", "crypto"] + +[[currency_pairs]] +base = "STUMEE" +providers = [ + "osmosis", +] +quote = "UMEE" \ No newline at end of file diff --git a/umee-provider-config/deviation-thresholds.toml b/umee-provider-config/deviation-thresholds.toml index c1a6187..70ffd44 100644 --- a/umee-provider-config/deviation-thresholds.toml +++ b/umee-provider-config/deviation-thresholds.toml @@ -148,4 +148,12 @@ threshold = "2" [[deviation_thresholds]] base = "TIA" +threshold = "2" + +[[deviation_thresholds]] +base = "KAVA" +threshold = "2" + +[[deviation_thresholds]] +base = "STUMEE" threshold = "2" \ No newline at end of file From 321f6f8c65654635de714be5b360548f86c02b44 Mon Sep 17 00:00:00 2001 From: Sai Kumar Date: Wed, 10 Jan 2024 15:58:56 +0530 Subject: [PATCH 2/4] adding dydx,huahua,strd,nbtc to canon --- umee-provider-config/currency-pairs.toml | 72 ++++++++++++++++++- .../deviation-thresholds.toml | 20 ++++++ 2 files changed, 91 insertions(+), 1 deletion(-) diff --git a/umee-provider-config/currency-pairs.toml b/umee-provider-config/currency-pairs.toml index 5870ad6..dd32dc4 100644 --- a/umee-provider-config/currency-pairs.toml +++ b/umee-provider-config/currency-pairs.toml @@ -415,4 +415,74 @@ base = "STUMEE" providers = [ "osmosis", ] -quote = "UMEE" \ No newline at end of file +quote = "UMEE" + +# [[currency_pairs]] +# base = "STSTARS" +# providers = [ +# "osmosis", +# ] +# quote = "STARS" + +[[currency_pairs]] +base = "DYDX" +providers = [ + "osmosis", +] +quote = "USDC" + +[[currency_pairs]] +base = "DYDX" +providers = [ + "osmosis", +] +quote = "OSMO" + +[[currency_pairs]] +base = "HUAHUA" +providers = [ + "osmosis", +] +quote = "OSMO" + +[[currency_pairs]] +base = "HUAHUA" +providers = [ + "osmosis", +] +quote = "ATOM" + +[[currency_pairs]] +base = "HUAHUA" +providers = [ + "osmosis", +] +quote = "ATOM" + +[[currency_pairs]] +base = "STRD" +providers = [ + "osmosis", +] +quote = "OSMO" + +[[currency_pairs]] +base = "STRD" +providers = [ + "osmosis", +] +quote = "USDC" + +[[currency_pairs]] +base = "NBTC" +providers = [ + "osmosis", +] +quote = "WBTC" + +[[currency_pairs]] +base = "NBTC" +providers = [ + "osmosis", +] +quote = "USDC" \ No newline at end of file diff --git a/umee-provider-config/deviation-thresholds.toml b/umee-provider-config/deviation-thresholds.toml index 70ffd44..5739147 100644 --- a/umee-provider-config/deviation-thresholds.toml +++ b/umee-provider-config/deviation-thresholds.toml @@ -156,4 +156,24 @@ threshold = "2" [[deviation_thresholds]] base = "STUMEE" +threshold = "2" + +# [[deviation_thresholds]] +# base = "STSTARS" +# threshold = "2" + +[[deviation_thresholds]] +base = "DYDX" +threshold = "2" + +[[deviation_thresholds]] +base = "HUAHUA" +threshold = "2" + +[[deviation_thresholds]] +base = "STRD" +threshold = "2" + +[[deviation_thresholds]] +base = "NBTC" threshold = "2" \ No newline at end of file From 034541f4798bf5a606f72d3ae6ace3ed157c7e77 Mon Sep 17 00:00:00 2001 From: Sai Kumar Date: Wed, 10 Jan 2024 23:15:02 +0530 Subject: [PATCH 3/4] fix the config for ststars and nbtc --- config/supported_assets.go | 11 ++++++----- umee-provider-config/currency-pairs.toml | 16 ++++++++-------- 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/config/supported_assets.go b/config/supported_assets.go index 1dde7b1..32b2337 100644 --- a/config/supported_assets.go +++ b/config/supported_assets.go @@ -41,11 +41,12 @@ var ( {Base: "ATOM", Quote: "USD"}: {}, {Base: "OSMO", Quote: "USD"}: {}, - {Base: "OSMO", Quote: "USDT"}: {}, - {Base: "JUNO", Quote: "USDT"}: {}, - {Base: "UMEE", Quote: "USDT"}: {}, - {Base: "WETH", Quote: "USDC"}: {}, - {Base: "WBTC", Quote: "WETH"}: {}, + {Base: "OSMO", Quote: "USDT"}: {}, + {Base: "JUNO", Quote: "USDT"}: {}, + {Base: "UMEE", Quote: "USDT"}: {}, + {Base: "WETH", Quote: "USDC"}: {}, + {Base: "WBTC", Quote: "WETH"}: {}, + {Base: "STARS", Quote: "OSMO"}: {}, } SupportedUniswapCurrencies = map[string]struct{}{ diff --git a/umee-provider-config/currency-pairs.toml b/umee-provider-config/currency-pairs.toml index dd32dc4..43e23ad 100644 --- a/umee-provider-config/currency-pairs.toml +++ b/umee-provider-config/currency-pairs.toml @@ -417,12 +417,12 @@ providers = [ ] quote = "UMEE" -# [[currency_pairs]] -# base = "STSTARS" -# providers = [ -# "osmosis", -# ] -# quote = "STARS" +[[currency_pairs]] +base = "stSTARS" +providers = [ + "osmosis", +] +quote = "STARS" [[currency_pairs]] base = "DYDX" @@ -474,14 +474,14 @@ providers = [ quote = "USDC" [[currency_pairs]] -base = "NBTC" +base = "nBTC" providers = [ "osmosis", ] quote = "WBTC" [[currency_pairs]] -base = "NBTC" +base = "nBTC" providers = [ "osmosis", ] From 51334df96e372187d3cb8b6c0628b9ee4bff35f2 Mon Sep 17 00:00:00 2001 From: Sai Kumar Date: Thu, 11 Jan 2024 22:46:07 +0530 Subject: [PATCH 4/4] remove the duplicate stumee --- umee-provider-config/currency-pairs.toml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/umee-provider-config/currency-pairs.toml b/umee-provider-config/currency-pairs.toml index 43e23ad..9a28f16 100644 --- a/umee-provider-config/currency-pairs.toml +++ b/umee-provider-config/currency-pairs.toml @@ -203,7 +203,7 @@ providers = [ "kraken", "crypto",] [[currency_pairs]] base = "JUNO" quote = "USDT" -providers = [ "bitget", "mexc",] +providers = [ "mexc"] [[currency_pairs]] base = "JUNO" @@ -410,13 +410,6 @@ base = "KAVA" quote = "USD" providers = [ "kraken", "coinbase", "crypto"] -[[currency_pairs]] -base = "STUMEE" -providers = [ - "osmosis", -] -quote = "UMEE" - [[currency_pairs]] base = "stSTARS" providers = [