From fa663cd26f7206cb0c5ae3e825b9957fb321219c Mon Sep 17 00:00:00 2001 From: serega-k Date: Fri, 10 Oct 2025 18:46:27 +0300 Subject: [PATCH 1/6] fix(data-feeds): correct JSON path to `totalMarketCap.usd` in `total-marketcap-usd.toml` template --- .../data-feeds-builder/templates/total-marketcap-usd.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-feed-generator/data-feeds-builder/templates/total-marketcap-usd.toml b/data-feed-generator/data-feeds-builder/templates/total-marketcap-usd.toml index 97b40b73..50261c42 100644 --- a/data-feed-generator/data-feeds-builder/templates/total-marketcap-usd.toml +++ b/data-feed-generator/data-feeds-builder/templates/total-marketcap-usd.toml @@ -18,7 +18,7 @@ observationTimeout = "10s" transmitterAddress = "$TRANSMITTER_ADDRESS" observationSource = """ ds1 [type=http method=GET url="http://127.0.0.1:$PRICE_AGGREGATOR_PORT/market-data/global"]; - ds1_parse [type=jsonparse path="price"]; + ds1_parse [type=jsonparse path="totalMarketCap.usd"]; ds1_multiply [type=multiply times=100000000]; median [type=median]; From 23f2526354d0a56c9afaf155faf243f03b2dfc9b Mon Sep 17 00:00:00 2001 From: serega-k Date: Fri, 10 Oct 2025 18:48:15 +0300 Subject: [PATCH 2/6] fix(data-feeds): remove unused `ds3` source from `ftt-usd.toml` template --- .../data-feeds-builder/templates/ftt-usd.toml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/data-feed-generator/data-feeds-builder/templates/ftt-usd.toml b/data-feed-generator/data-feeds-builder/templates/ftt-usd.toml index 1f9e8132..4790b162 100644 --- a/data-feed-generator/data-feeds-builder/templates/ftt-usd.toml +++ b/data-feed-generator/data-feeds-builder/templates/ftt-usd.toml @@ -23,15 +23,10 @@ observationSource = """ ds2 [type=http method=GET url="http://127.0.0.1:$PRICE_AGGREGATOR_PORT/quote/coingecko/ftx-token/USD"]; ds2_parse [type=jsonparse path="price"]; ds2_multiply [type=multiply times=100000000]; - ds3 [type=http method=GET url="http://127.0.0.1:$PRICE_AGGREGATOR_PORT/quote/coinbase/FTT/USD"]; - ds3_parse [type=jsonparse path="price"]; - ds3_multiply [type=multiply times=100000000]; median [type=median]; - + ds1 -> ds1_parse -> ds1_multiply; ds2 -> ds2_parse -> ds2_multiply; - ds3 -> ds3_parse -> ds3_multiply; ds1_multiply -> median; ds2_multiply -> median; - ds3_multiply -> median; """ From 590c4b2d2270cf1b35211dcc6b922078e5fdee55 Mon Sep 17 00:00:00 2001 From: serega-k Date: Fri, 10 Oct 2025 18:49:21 +0300 Subject: [PATCH 3/6] fix(data-feeds): remove unused `coinbase_ftt_eth` sources from `ftt-eth.toml` template --- .../data-feeds-builder/templates/ftt-eth.toml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/data-feed-generator/data-feeds-builder/templates/ftt-eth.toml b/data-feed-generator/data-feeds-builder/templates/ftt-eth.toml index f607711b..a068da8a 100644 --- a/data-feed-generator/data-feeds-builder/templates/ftt-eth.toml +++ b/data-feed-generator/data-feeds-builder/templates/ftt-eth.toml @@ -17,15 +17,6 @@ keyBundleID = "$OCR_KEY_BUNDLE_ID" observationTimeout = "10s" transmitterAddress = "$TRANSMITTER_ADDRESS" observationSource = """ - coinbase_ftt_usd [type="http" method=GET url="http://127.0.0.1:$PRICE_AGGREGATOR_PORT/quote/coinbase/FTT/USD" allowUnrestrictedNetworkAccess=true retries=3] - coinbase_ftt_usd_parse [type="jsonparse" path="price"] - - coinbase_eth_usd [type="http" method=GET url="http://127.0.0.1:$PRICE_AGGREGATOR_PORT/quote/coinbase/ETH/USD" allowUnrestrictedNetworkAccess=true retries=3] - coinbase_eth_usd_parse [type="jsonparse" path="price"] - - coinbase_ftt_eth_divide [type="divide" input="$(coinbase_ftt_usd_parse)" divisor="$(coinbase_eth_usd_parse)"] - coinbase_ftt_eth_divide_multiply [type="multiply" times=1000000000000000000] - coingecko_ftt_usd [type="http" method=GET url="http://127.0.0.1:$PRICE_AGGREGATOR_PORT/quote/coingecko/ftx-token/USD" allowUnrestrictedNetworkAccess=true retries=3] coingecko_ftt_usd_parse [type="jsonparse" path="price"] @@ -46,16 +37,12 @@ observationSource = """ median [type=median]; - coinbase_ftt_usd -> coinbase_ftt_usd_parse -> coinbase_ftt_eth_divide - coinbase_eth_usd -> coinbase_eth_usd_parse -> coinbase_ftt_eth_divide - coinbase_ftt_eth_divide -> coinbase_ftt_eth_divide_multiply coingecko_ftt_usd -> coingecko_ftt_usd_parse -> coingecko_ftt_eth_divide coingecko_eth_usd -> coingecko_eth_usd_parse -> coingecko_ftt_eth_divide coingecko_ftt_eth_divide -> coingecko_ftt_eth_divide_multiply cryptocompare_ftt_usd -> cryptocompare_ftt_usd_parse -> cryptocompare_ftt_eth_divide cryptocompare_eth_usd -> cryptocompare_eth_usd_parse -> cryptocompare_ftt_eth_divide cryptocompare_ftt_eth_divide -> cryptocompare_ftt_eth_divide_multiply - coinbase_ftt_eth_divide_multiply -> median; coingecko_ftt_eth_divide_multiply -> median; cryptocompare_ftt_eth_divide_multiply -> median; """ From 1ac41084251c7dc910dc618b955d240169c7db8a Mon Sep 17 00:00:00 2001 From: serega-k Date: Fri, 10 Oct 2025 18:55:37 +0300 Subject: [PATCH 4/6] fix(data-feeds): update `binance_matic_usdt` source to use `POL/USDT` in `link-matic.toml` template --- .../data-feeds-builder/templates/link-matic.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-feed-generator/data-feeds-builder/templates/link-matic.toml b/data-feed-generator/data-feeds-builder/templates/link-matic.toml index de43f29e..85833088 100644 --- a/data-feed-generator/data-feeds-builder/templates/link-matic.toml +++ b/data-feed-generator/data-feeds-builder/templates/link-matic.toml @@ -20,7 +20,7 @@ observationSource = """ binance_link_usdt [type="http" method=GET url="http://127.0.0.1:$PRICE_AGGREGATOR_PORT/quote/binance/LINK/USDT" allowUnrestrictedNetworkAccess=true retries=3] binance_link_usdt_parse [type="jsonparse" path="price"] - binance_matic_usdt [type="http" method=GET url="http://127.0.0.1:$PRICE_AGGREGATOR_PORT/quote/binance/MATIC/USDT" allowUnrestrictedNetworkAccess=true retries=3] + binance_matic_usdt [type="http" method=GET url="http://127.0.0.1:$PRICE_AGGREGATOR_PORT/quote/binance/POL/USDT" allowUnrestrictedNetworkAccess=true retries=3] binance_matic_usdt_parse [type="jsonparse" path="price"] binance_link_matic_divide [type="divide" input="$(binance_link_usdt_parse)" divisor="$(binance_matic_usdt_parse)"] From 9050e965e7e49fb34a6feda9bea238ef26b0bf77 Mon Sep 17 00:00:00 2001 From: serega-k Date: Fri, 10 Oct 2025 18:57:13 +0300 Subject: [PATCH 5/6] fix(price-aggregator): remove `MATIC/USDT` and `FTT/USD` pairs from `pairs.json` --- price-aggregator/pairs.json | 2 -- 1 file changed, 2 deletions(-) diff --git a/price-aggregator/pairs.json b/price-aggregator/pairs.json index 3cbd3f0f..594b35c6 100644 --- a/price-aggregator/pairs.json +++ b/price-aggregator/pairs.json @@ -54,7 +54,6 @@ "LTC/USDT", "MANA/USDT", "MASK/USDT", - "MATIC/USDT", "MKR/USDT", "NEAR/USDT", "NEIRO/USDT", @@ -141,7 +140,6 @@ "EURC/USD", "FET/USD", "FIL/USD", - "FTT/USD", "GBP/USD", "GHST/USD", "GMT/USD", From 33000e6f070fc7de4b19e02df42465a48268d930 Mon Sep 17 00:00:00 2001 From: serega-k Date: Fri, 10 Oct 2025 19:00:45 +0300 Subject: [PATCH 6/6] fix(data-feeds): correct JSON path to `totalMarketCap,usd` in `total-marketcap-usd.toml` template --- .../data-feeds-builder/templates/total-marketcap-usd.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data-feed-generator/data-feeds-builder/templates/total-marketcap-usd.toml b/data-feed-generator/data-feeds-builder/templates/total-marketcap-usd.toml index 50261c42..9a837c80 100644 --- a/data-feed-generator/data-feeds-builder/templates/total-marketcap-usd.toml +++ b/data-feed-generator/data-feeds-builder/templates/total-marketcap-usd.toml @@ -18,7 +18,7 @@ observationTimeout = "10s" transmitterAddress = "$TRANSMITTER_ADDRESS" observationSource = """ ds1 [type=http method=GET url="http://127.0.0.1:$PRICE_AGGREGATOR_PORT/market-data/global"]; - ds1_parse [type=jsonparse path="totalMarketCap.usd"]; + ds1_parse [type=jsonparse path="totalMarketCap,usd"]; ds1_multiply [type=multiply times=100000000]; median [type=median];