From 64546b8e259f25e4775eed5862d5a50a0145d876 Mon Sep 17 00:00:00 2001 From: yohanelly95 Date: Mon, 20 May 2024 17:17:51 +0530 Subject: [PATCH] chore: add USDTUSD pricefeed --- mainnet/collections.json | 7 +++++++ mainnet/jobs.json | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/mainnet/collections.json b/mainnet/collections.json index 6175d35..5203716 100644 --- a/mainnet/collections.json +++ b/mainnet/collections.json @@ -20,4 +20,11 @@ "name": "USDCUSD", "tolerance": 500000 } + { + "jobIDs": [22, 23, 24, 25], + "aggregationMethod": 2, + "power": 5, + "name": "USDTUSD", + "tolerance": 500000 + } ] diff --git a/mainnet/jobs.json b/mainnet/jobs.json index 3dfa7d7..9c33abe 100644 --- a/mainnet/jobs.json +++ b/mainnet/jobs.json @@ -166,5 +166,37 @@ "name": "usdcusd_bitstamp", "selector": "last", "url": "https://www.bitstamp.net/api/v2/ticker/usdcusd/" + }, + { + "weight": 1, + "power": 5, + "selectorType": 0, + "name": "usdtusd_gemini", + "selector": "last", + "url": "https://api.gemini.com/v1/pubticker/usdtusd" + }, + { + "weight": 1, + "power": 5, + "selectorType": 0, + "name": "usdtusd_coinbase", + "selector": "data.amount", + "url": "https://api.coinbase.com/v2/prices/USDT-USD/spot" + }, + { + "weight": 1, + "power": 5, + "selectorType": 0, + "name": "usdtusd_kraken", + "selector": "result.USDTZUSD.c[0]", + "url": "https://api.kraken.com/0/public/Ticker?pair=USDTZUSD" + }, + { + "weight": 1, + "power": 5, + "selectorType": 0, + "name": "usdtusd_stablecoin_stats", + "selector": "USDT.kraken.USDT_USD.price", + "url": "https://stablecoinstats.com/api/tickers" } ]