From 8017da65d3b5d260aac6553ee5f6a6096b8126b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guillermo=20D=C3=ADaz?= Date: Thu, 7 Apr 2022 13:34:55 +0200 Subject: [PATCH] chore(api): add conflux espace mainnet pfs --- packages/api/src/dataFeedsRouter.json | 35 ++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/packages/api/src/dataFeedsRouter.json b/packages/api/src/dataFeedsRouter.json index e795a6b1..c135bde9 100644 --- a/packages/api/src/dataFeedsRouter.json +++ b/packages/api/src/dataFeedsRouter.json @@ -333,7 +333,7 @@ }, "conflux.espace.testnet": { "address": "0x49C0BCce51a8B28f92d008394F06d5B259657F33", - "blockExplorer": "https://evmtestnet.confluxscan.net/address//{address}?tab=contract-viewer", + "blockExplorer": "https://evmtestnet.confluxscan.net/address/{address}?tab=contract-viewer", "color": "#6600ff", "name": "Conflux eSpace (Testnet)", "pollingPeriod": 30000, @@ -363,6 +363,39 @@ "minSecsBetweenUpdates": 900 } } + }, + "conflux.espace.mainnet": { + "address": "0xD39D4d972C7E166856c4eb29E54D3548B4597F53", + "blockExplorer": "https://evm.confluxscan.net/address/{address}?tab=contract-viewer", + "color": "#6600ff", + "name": "Conflux eSpace (Mainnet)", + "pollingPeriod": 30000, + "feeds": { + "Price-BTC/USD-6": { + "label": "$", + "deviationPercentage": 1.0, + "maxSecsBetweenUpdates": 3600, + "minSecsBetweenUpdates": 300 + }, + "Price-CFX/USDT-6": { + "label": "₮", + "deviationPercentage": 1.0, + "maxSecsBetweenUpdates": 3600, + "minSecsBetweenUpdates": 300 + }, + "Price-ETH/USD-6": { + "label": "$", + "deviationPercentage": 1.0, + "maxSecsBetweenUpdates": 3600, + "minSecsBetweenUpdates": 300 + }, + "Price-USDT/USD-6": { + "label": "$", + "deviationPercentage": 0.1, + "maxSecsBetweenUpdates": 86400, + "minSecsBetweenUpdates": 900 + } + } } } },