diff --git a/packages/api/src/dataFeeds.json b/packages/api/src/dataFeeds.json index be9b4090..dc944a32 100644 --- a/packages/api/src/dataFeeds.json +++ b/packages/api/src/dataFeeds.json @@ -103,19 +103,6 @@ "deviation": 1, "heartbeat": 4500000 }, - { - "feedFullName": "conflux-testnet_btc-usd_6", - "abi": "./src/abi/PriceFeed.json", - "address": "0x8594B74645644b6a5fdE15597D3ADc15C77284A1", - "network": "conflux-testnet", - "name": "btc/usd", - "label": "$", - "pollingPeriod": 300000, - "color": "#6600ff", - "blockExplorer": "https://testnet.confluxscan.io/address/{address}", - "deviation": 1, - "heartbeat": 4500000 - }, { "feedFullName": "conflux-testnet_eth-usd_6", "abi": "./src/abi/PriceFeed.json", @@ -137,7 +124,7 @@ "name": "cfx/usdt", "label": "₮", "pollingPeriod": 300000, - "color": "#6600ff", + "color": "#ff0000", "blockExplorer": "https://confluxscan.io/address/{address}", "deviation": 1, "heartbeat": 87300000 @@ -150,7 +137,7 @@ "name": "btc/usd", "label": "$", "pollingPeriod": 300000, - "color": "#6600ff", + "color": "#ff0000", "blockExplorer": "https://confluxscan.io/address/{address}", "deviation": 1, "heartbeat": 87300000 @@ -163,7 +150,7 @@ "name": "eth/usd", "label": "$", "pollingPeriod": 300000, - "color": "#6600ff", + "color": "#ff0000", "blockExplorer": "https://confluxscan.io/address/{address}", "deviation": 1, "heartbeat": 87300000 @@ -336,5 +323,31 @@ "blockExplorer": "https://blockexplorer.rinkeby.boba.network/address/{address}", "deviation": 1, "heartbeat": 4500000 + }, + { + "feedFullName": "boba-rinkeby_boba-usdt_6", + "abi": "./src/abi/PriceFeed.json", + "address": "0xA57b17dd8aBA9857D1FE9Dba13bE998833d6A28A", + "network": "boba-rinkeby", + "name": "boba/usdt", + "label": "₮", + "pollingPeriod": 300000, + "color": "#1cd83d", + "blockExplorer": "https://blockexplorer.rinkeby.boba.network/address/{address}", + "deviation": 1, + "heartbeat": 4500000 + }, + { + "feedFullName": "boba-mainnet_boba-usdt_6", + "abi": "./src/abi/PriceFeed.json", + "address": "0x52Bf8Bf503c69A055e3f86BD7D7F6dCb6c1f1E13", + "network": "boba-mainnet", + "name": "boba/usdt", + "label": "₮", + "pollingPeriod": 300000, + "color": "#007dff", + "blockExplorer": "https://blockexplorer.boba.network/address/{address}", + "deviation": 1, + "heartbeat": 8100000 } ] diff --git a/packages/api/src/types.ts b/packages/api/src/types.ts index 42d46a68..1e2adcc5 100644 --- a/packages/api/src/types.ts +++ b/packages/api/src/types.ts @@ -29,7 +29,8 @@ export enum Network { ConfluxMainnet = 'conflux-mainnet', CeloAlfajores = 'celo-alfajores', CeloMainnet = 'celo-mainnet', - BobaRinkeby = 'boba-rinkeby' + BobaRinkeby = 'boba-rinkeby', + BobaMainnet = 'boba-mainnet' } export type FeedInfoGeneric = { diff --git a/packages/api/src/web3Middleware/provider.ts b/packages/api/src/web3Middleware/provider.ts index 9f4de1ee..e4a77516 100644 --- a/packages/api/src/web3Middleware/provider.ts +++ b/packages/api/src/web3Middleware/provider.ts @@ -8,6 +8,7 @@ export function getProvider (network: Network) { [Network.ConfluxTestnet]: process.env.CONFLUX_TESTNET_PROVIDER, [Network.ConfluxMainnet]: process.env.CONFLUX_MAINNET_PROVIDER, [Network.BobaRinkeby]: process.env.BOBA_RINKEBY_PROVIDER, + [Network.BobaMainnet]: process.env.BOBA_MAINNET_PROVIDER, [Network.CeloAlfajores]: process.env.CELO_ALFAJORES_PROVIDER, [Network.CeloMainnet]: process.env.CELO_MAINNET_PROVIDER } diff --git a/packages/ui/assets/svg/boba.svg b/packages/ui/assets/svg/boba.svg new file mode 100644 index 00000000..6daf19f7 --- /dev/null +++ b/packages/ui/assets/svg/boba.svg @@ -0,0 +1,11 @@ + + + + + + + + + + +