Skip to content

Commit 0fdd107

Browse files
authored
Add TRON nile feeds (#2675)
* add tron nile feeds * add tron nile feeds
1 parent 9caec96 commit 0fdd107

File tree

2 files changed

+347
-0
lines changed

2 files changed

+347
-0
lines changed
Lines changed: 338 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,338 @@
1+
[
2+
{
3+
"compareOffchain": "",
4+
"contractAddress": "0x02AD1968e785c9A3eB12Df5dfb7deCF8AC97EDfe",
5+
"contractType": "",
6+
"contractVersion": 6,
7+
"decimalPlaces": null,
8+
"ens": null,
9+
"formatDecimalPlaces": null,
10+
"healthPrice": "",
11+
"heartbeat": 86400,
12+
"history": true,
13+
"multiply": "100000000",
14+
"name": "LINK / USD",
15+
"pair": ["LINK", "USD"],
16+
"path": "link-usd",
17+
"proxyAddress": "TSvmq6pfVaRqnnn3jszndEFcNn6U5SoCgK",
18+
"threshold": 0.5,
19+
"valuePrefix": "",
20+
"assetName": "",
21+
"feedCategory": "",
22+
"feedType": "",
23+
"docs": {},
24+
"decimals": 8
25+
},
26+
{
27+
"compareOffchain": "",
28+
"contractAddress": "0x03bE26cFc8eB863d8Ab3ae379d0621539f778887",
29+
"contractType": "",
30+
"contractVersion": 6,
31+
"decimalPlaces": null,
32+
"ens": null,
33+
"formatDecimalPlaces": null,
34+
"healthPrice": "",
35+
"heartbeat": 86400,
36+
"history": true,
37+
"multiply": "100000000",
38+
"name": "TRX / USD",
39+
"pair": ["TRX", "USD"],
40+
"path": "trx-usd",
41+
"proxyAddress": "TWZ37cpV6LJAoTNuiqEWrEUxQLvvKGmbrm",
42+
"threshold": 0.5,
43+
"valuePrefix": "",
44+
"assetName": "",
45+
"feedCategory": "",
46+
"feedType": "",
47+
"docs": {},
48+
"decimals": 8
49+
},
50+
{
51+
"compareOffchain": "",
52+
"contractAddress": "0x04fe49d999DA4A5E97C036b9BBB772d49a01A183",
53+
"contractType": "",
54+
"contractVersion": 6,
55+
"decimalPlaces": null,
56+
"ens": null,
57+
"formatDecimalPlaces": null,
58+
"healthPrice": "",
59+
"heartbeat": 86400,
60+
"history": true,
61+
"multiply": "100000000",
62+
"name": "ETH / USD",
63+
"pair": ["ETH", "USD"],
64+
"path": "eth-usd",
65+
"proxyAddress": "TYaLVmqGzz33ghKEMTdC64dUnde5LZc6Y3",
66+
"threshold": 0.5,
67+
"valuePrefix": "",
68+
"assetName": "",
69+
"feedCategory": "",
70+
"feedType": "",
71+
"docs": {},
72+
"decimals": 8
73+
},
74+
{
75+
"compareOffchain": "",
76+
"contractAddress": "0x0d3B963Ac3c2dd03E6Cd449613cF6ce29A9400c4",
77+
"contractType": "",
78+
"contractVersion": 6,
79+
"decimalPlaces": null,
80+
"ens": null,
81+
"formatDecimalPlaces": null,
82+
"healthPrice": "",
83+
"heartbeat": 86400,
84+
"history": true,
85+
"multiply": "100000000",
86+
"name": "BTC / USD",
87+
"pair": ["BTC", "USD"],
88+
"path": "btc-usd",
89+
"proxyAddress": "TD3hrfAtPcnkLSsRh4UTgjXBo6KyRfT1AR",
90+
"threshold": 0.5,
91+
"valuePrefix": "",
92+
"assetName": "",
93+
"feedCategory": "",
94+
"feedType": "",
95+
"docs": {},
96+
"decimals": 8
97+
},
98+
{
99+
"compareOffchain": "",
100+
"contractAddress": "0x37E89D89BD135674dA31338d281A1A4B58EB63f8",
101+
"contractType": "",
102+
"contractVersion": 6,
103+
"decimalPlaces": null,
104+
"ens": null,
105+
"formatDecimalPlaces": null,
106+
"healthPrice": "",
107+
"heartbeat": 86400,
108+
"history": true,
109+
"multiply": "1000000000000000000",
110+
"name": "JST / USD",
111+
"pair": ["JST", "USD"],
112+
"path": "jst-usd",
113+
"proxyAddress": "TA4xrS8rQWD7xTWP2mEw3YMCmcVy26GrJY",
114+
"threshold": 0.5,
115+
"valuePrefix": "",
116+
"assetName": "",
117+
"feedCategory": "",
118+
"feedType": "",
119+
"docs": {},
120+
"decimals": 18
121+
},
122+
{
123+
"compareOffchain": "",
124+
"contractAddress": "0x3e94F8808a33adE4A7E7CF8517a51f7136920602",
125+
"contractType": "",
126+
"contractVersion": 6,
127+
"decimalPlaces": null,
128+
"ens": null,
129+
"formatDecimalPlaces": null,
130+
"healthPrice": "",
131+
"heartbeat": 86400,
132+
"history": true,
133+
"multiply": "100000000",
134+
"name": "TUSD / USD",
135+
"pair": ["TUSD", "USD"],
136+
"path": "tusd-usd",
137+
"proxyAddress": "TKvumQmYhc2rbCbbZWc1uChfFQVEf4AmkM",
138+
"threshold": 0.5,
139+
"valuePrefix": "",
140+
"assetName": "",
141+
"feedCategory": "",
142+
"feedType": "",
143+
"docs": {},
144+
"decimals": 8
145+
},
146+
{
147+
"compareOffchain": "",
148+
"contractAddress": "0x4A44436e2B2128De539eA4Bf89424A2BEf04b185",
149+
"contractType": "",
150+
"contractVersion": 6,
151+
"decimalPlaces": null,
152+
"ens": null,
153+
"formatDecimalPlaces": null,
154+
"healthPrice": "",
155+
"heartbeat": 86400,
156+
"history": true,
157+
"multiply": "100000000",
158+
"name": "LTC / USD",
159+
"pair": ["LTC", "USD"],
160+
"path": "ltc-usd",
161+
"proxyAddress": "TCcgXMidBKZPjnzNgoJBtRiNaZUEU6d5Ra",
162+
"threshold": 0.5,
163+
"valuePrefix": "",
164+
"assetName": "",
165+
"feedCategory": "",
166+
"feedType": "",
167+
"docs": {},
168+
"decimals": 8
169+
},
170+
{
171+
"compareOffchain": "",
172+
"contractAddress": "0x50831Da70550400949EeB5a306370128C2867309",
173+
"contractType": "",
174+
"contractVersion": 6,
175+
"decimalPlaces": null,
176+
"ens": null,
177+
"formatDecimalPlaces": null,
178+
"healthPrice": "",
179+
"heartbeat": 86400,
180+
"history": true,
181+
"multiply": "100000000",
182+
"name": "USDD / USD",
183+
"pair": ["USDD", "USD"],
184+
"path": "usdd-usd",
185+
"proxyAddress": "TNuJxt19dkrtfVVUfzWUQurkoVT9dd4nJJ",
186+
"threshold": 0.3,
187+
"valuePrefix": "",
188+
"assetName": "",
189+
"feedCategory": "",
190+
"feedType": "",
191+
"docs": {},
192+
"decimals": 8
193+
},
194+
{
195+
"compareOffchain": "",
196+
"contractAddress": "0x5ECe9f4236c944e1c00C75955c69ea4B36b992bC",
197+
"contractType": "",
198+
"contractVersion": 6,
199+
"decimalPlaces": null,
200+
"ens": null,
201+
"formatDecimalPlaces": null,
202+
"healthPrice": "",
203+
"heartbeat": 86400,
204+
"history": true,
205+
"multiply": "1000000000000000000",
206+
"name": "BTT / USD",
207+
"pair": ["BTT", "USD"],
208+
"path": "btt-usd",
209+
"proxyAddress": "TA2842b4owtNzSQzPaRekrSbmaJ4oKccj6",
210+
"threshold": 0.5,
211+
"valuePrefix": "",
212+
"assetName": "",
213+
"feedCategory": "",
214+
"feedType": "",
215+
"docs": {},
216+
"decimals": 18
217+
},
218+
{
219+
"compareOffchain": "",
220+
"contractAddress": "0x632a5294e5af96Fad6533D747dbbe35bb64A6714",
221+
"contractType": "",
222+
"contractVersion": 6,
223+
"decimalPlaces": null,
224+
"ens": null,
225+
"formatDecimalPlaces": null,
226+
"healthPrice": "",
227+
"heartbeat": 86400,
228+
"history": true,
229+
"multiply": "1000000000000000000",
230+
"name": "NFT / USD",
231+
"pair": ["NFT", "USD"],
232+
"path": "nft-usd",
233+
"proxyAddress": "TDwKG5jJ7Nb2xKfBRD2WMBa3iXSxTWrkQx",
234+
"threshold": 0.5,
235+
"valuePrefix": "",
236+
"assetName": "",
237+
"feedCategory": "",
238+
"feedType": "",
239+
"docs": {},
240+
"decimals": 18
241+
},
242+
{
243+
"compareOffchain": "",
244+
"contractAddress": "0x7507687303001682C79a7074d044d2153e8edf8f",
245+
"contractType": "",
246+
"contractVersion": 6,
247+
"decimalPlaces": null,
248+
"ens": null,
249+
"formatDecimalPlaces": null,
250+
"healthPrice": "",
251+
"heartbeat": 86400,
252+
"history": true,
253+
"multiply": "100000000",
254+
"name": "USDT / USD",
255+
"pair": ["USDT", "USD"],
256+
"path": "usdt-usd",
257+
"proxyAddress": "TP2G864A3FEkggdUs7aa4nehxDhs12MQWS",
258+
"threshold": 0.3,
259+
"valuePrefix": "",
260+
"assetName": "",
261+
"feedCategory": "",
262+
"feedType": "",
263+
"docs": {},
264+
"decimals": 8
265+
},
266+
{
267+
"compareOffchain": "",
268+
"contractAddress": "0xCC1116e0ebef13E7dfc6eF18A2C741d4eC193bfF",
269+
"contractType": "",
270+
"contractVersion": 6,
271+
"decimalPlaces": null,
272+
"ens": null,
273+
"formatDecimalPlaces": null,
274+
"healthPrice": "",
275+
"heartbeat": 86400,
276+
"history": true,
277+
"multiply": "1000000000000000000",
278+
"name": "WIN / USD",
279+
"pair": ["WIN", "USD"],
280+
"path": "win-usd",
281+
"proxyAddress": "TN7gMhdyFvW1yowNfXGDsdVTcZdvtds5Hs",
282+
"threshold": 0.5,
283+
"valuePrefix": "",
284+
"assetName": "",
285+
"feedCategory": "",
286+
"feedType": "",
287+
"docs": {},
288+
"decimals": 18
289+
},
290+
{
291+
"compareOffchain": "",
292+
"contractAddress": "0xdB30Ab08DC6c1C2a261404686a732A298A01cf28",
293+
"contractType": "",
294+
"contractVersion": 6,
295+
"decimalPlaces": null,
296+
"ens": null,
297+
"formatDecimalPlaces": null,
298+
"healthPrice": "",
299+
"heartbeat": 86400,
300+
"history": true,
301+
"multiply": "100000000",
302+
"name": "USDC / USD",
303+
"pair": ["USDC", "USD"],
304+
"path": "usdc-usd",
305+
"proxyAddress": "TXeicAAdfdaGoVmD8GtVfvqTSbuWYhXe8v",
306+
"threshold": 0.3,
307+
"valuePrefix": "",
308+
"assetName": "",
309+
"feedCategory": "",
310+
"feedType": "",
311+
"docs": {},
312+
"decimals": 8
313+
},
314+
{
315+
"compareOffchain": "",
316+
"contractAddress": "0xee6C42a163140a25C8Fa0E50dED43675EE6FBC05",
317+
"contractType": "",
318+
"contractVersion": 6,
319+
"decimalPlaces": null,
320+
"ens": null,
321+
"formatDecimalPlaces": null,
322+
"healthPrice": "",
323+
"heartbeat": 86400,
324+
"history": true,
325+
"multiply": "1000000000000000000",
326+
"name": "SUN / USD",
327+
"pair": ["SUN", "USD"],
328+
"path": "sun-usd",
329+
"proxyAddress": "TR9JZUZdyJiqvFrVM1WpXN9ummbGMXoVzV",
330+
"threshold": 0.5,
331+
"valuePrefix": "",
332+
"assetName": "",
333+
"feedCategory": "",
334+
"feedType": "",
335+
"docs": {},
336+
"decimals": 18
337+
}
338+
]

src/features/data/chains.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -666,6 +666,15 @@ export const CHAINS: Chain[] = [
666666
rddUrl: "https://docs.chain.link/files/json/feeds-tron-mainnet.json",
667667
queryString: "tron-mainnet",
668668
},
669+
{
670+
name: "TRON Nile Testnet",
671+
explorerUrl: "https://nile.tronscan.org/#/address/%s",
672+
networkType: "testnet",
673+
// rddUrl: "https://docs.chain.link/files/json/feeds-tron-testnet.json",
674+
rddUrl:
675+
"https://gist.githubusercontent.com/khadni/1d67c2bb92cc10f1b81c517a2cb9e641/raw/cfd70987a9def017b87e0eaf9c19c8695638c64d/tron-testnet.json",
676+
queryString: "tron-testnet",
677+
},
669678
],
670679
},
671680
{

0 commit comments

Comments
 (0)