Skip to content

Commit 49e104c

Browse files
cawthornekhadni
andauthored
Update Aptos HeartBeats and Add Thala sthAPT/APT feed (#2906)
Co-authored-by: Karim H. <[email protected]>
1 parent 89d15a8 commit 49e104c

File tree

2 files changed

+62
-17
lines changed

2 files changed

+62
-17
lines changed

public/files/json/feeds-aptos-mainnet.json

Lines changed: 39 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
"path": "apt-usd",
3737
"proxyAddress": "0x011e22d6bf000332000000000000000000000000000000000000000000000000",
3838
"threshold": 0.1,
39-
"heartbeat": 1800,
39+
"heartbeat": 300,
4040
"valuePrefix": "",
4141
"assetName": "Aptos",
4242
"feedCategory": "low",
@@ -66,7 +66,7 @@
6666
"path": "usdc-usd",
6767
"proxyAddress": "0x01a80ff216000332000000000000000000000000000000000000000000000000",
6868
"threshold": 0.1,
69-
"heartbeat": 1800,
69+
"heartbeat": 300,
7070
"valuePrefix": "",
7171
"assetName": "Circle USD",
7272
"feedCategory": "low",
@@ -97,7 +97,7 @@
9797
"path": "usdt-usd",
9898
"proxyAddress": "0x016d06ebb6000332000000000000000000000000000000000000000000000000",
9999
"threshold": 0.1,
100-
"heartbeat": 1800,
100+
"heartbeat": 300,
101101
"valuePrefix": "",
102102
"assetName": "Tether USD",
103103
"feedCategory": "low",
@@ -188,7 +188,7 @@
188188
"path": "",
189189
"proxyAddress": "0x01532c3a7e000332000000000000000000000000000000000000000000000000",
190190
"threshold": 0.5,
191-
"heartbeat": 1800,
191+
"heartbeat": 300,
192192
"valuePrefix": "",
193193
"assetName": "sUSDe-USDe Exchange Rate",
194194
"feedCategory": "custom",
@@ -251,7 +251,7 @@
251251
"path": "",
252252
"proxyAddress": "0x017b2eb719000332000000000000000000000000000000000000000000000000",
253253
"threshold": 0.5,
254-
"heartbeat": 86400,
254+
"heartbeat": 1800,
255255
"valuePrefix": "",
256256
"assetName": "eAPT-APT Exchange Rate",
257257
"feedCategory": "custom",
@@ -281,7 +281,7 @@
281281
"path": "",
282282
"proxyAddress": "0x015d2ae47f000332000000000000000000000000000000000000000000000000",
283283
"threshold": 0.0000001,
284-
"heartbeat": 86400,
284+
"heartbeat": 300,
285285
"valuePrefix": "",
286286
"assetName": "truAPT-APT Exchange Rate",
287287
"feedCategory": "custom",
@@ -304,14 +304,44 @@
304304
},
305305
"decimals": 18
306306
},
307+
{
308+
"compareOffchain": "",
309+
"contractAddress": "x",
310+
"name": "sthAPT-APT Exchange Rate",
311+
"path": "",
312+
"proxyAddress": "0x0189e77142000332000000000000000000000000000000000000000000000000",
313+
"threshold": 0.1,
314+
"heartbeat": 300,
315+
"valuePrefix": "",
316+
"assetName": "sthAPT-APT Exchange Rate",
317+
"feedCategory": "custom",
318+
"feedType": "Crypto",
319+
"docs": {
320+
"assetClass": "Crypto",
321+
"assetName": "sthAPT-APT Exchange Rate",
322+
"baseAsset": "sthAPT",
323+
"blockchainName": "Aptos",
324+
"clicProductName": "sthAPT/APT-ExRate-DF-Aptos-001",
325+
"deliveryChannelCode": "DF",
326+
"feedCategory": "custom",
327+
"feedType": "Crypto",
328+
"marketHours": "Crypto",
329+
"productSubType": "Reference",
330+
"productType": "Price",
331+
"productTypeCode": "RefPrice",
332+
"quoteAsset": "APT",
333+
"quoteAssetClic": "APT_CR"
334+
},
335+
"decimals": 18
336+
},
307337
{
308338
"compareOffchain": "",
309339
"contractAddress": "x",
310340
"name": "USD1 / USD",
311341
"path": "",
312342
"proxyAddress": "0x01831f12b4000332000000000000000000000000000000000000000000000000",
313343
"threshold": 0.3,
314-
"heartbeat": 86400,
344+
"heartbeat": 1800,
315345
"valuePrefix": "",
316346
"assetName": "USD1",
317347
"feedCategory": "medium",
@@ -344,7 +374,7 @@
344374
"path": "",
345375
"proxyAddress": "0x0101155b3b000332000000000000000000000000000000000000000000000000",
346376
"threshold": 0.5,
347-
"heartbeat": 86400,
377+
"heartbeat": 300,
348378
"valuePrefix": "",
349379
"assetName": "USDE",
350380
"feedCategory": "low",
@@ -377,7 +407,7 @@
377407
"path": "",
378408
"proxyAddress": "0x01d1399b32000332000000000000000000000000000000000000000000000000",
379409
"threshold": 0.5,
380-
"heartbeat": 1800,
410+
"heartbeat": 300,
381411
"valuePrefix": "",
382412
"assetName": "CAKE",
383413
"feedCategory": "low",

public/files/json/feeds-aptos-testnet.json

Lines changed: 23 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"path": "apt-usd",
2222
"proxyAddress": "0x011e22d6bf000332000000000000000000000000000000000000000000000000",
2323
"threshold": 0.1,
24-
"heartbeat": 1800,
24+
"heartbeat": 300,
2525
"valuePrefix": "",
2626
"assetName": "",
2727
"feedCategory": "",
@@ -36,7 +36,7 @@
3636
"path": "usdc-usd",
3737
"proxyAddress": "0x01a80ff216000332000000000000000000000000000000000000000000000000",
3838
"threshold": 0.1,
39-
"heartbeat": 1800,
39+
"heartbeat": 300,
4040
"valuePrefix": "",
4141
"assetName": "",
4242
"feedCategory": "",
@@ -51,7 +51,7 @@
5151
"path": "usdt-usd",
5252
"proxyAddress": "0x016d06ebb6000332000000000000000000000000000000000000000000000000",
5353
"threshold": 0.1,
54-
"heartbeat": 1800,
54+
"heartbeat": 300,
5555
"valuePrefix": "",
5656
"assetName": "",
5757
"feedCategory": "",
@@ -111,7 +111,7 @@
111111
"path": "",
112112
"proxyAddress": "0x017b2eb719000332000000000000000000000000000000000000000000000000",
113113
"threshold": 0.5,
114-
"heartbeat": 86400,
114+
"heartbeat": 1800,
115115
"valuePrefix": "",
116116
"assetName": "",
117117
"feedCategory": "",
@@ -126,7 +126,22 @@
126126
"path": "",
127127
"proxyAddress": "0x015d2ae47f000332000000000000000000000000000000000000000000000000",
128128
"threshold": 0.0000001,
129-
"heartbeat": 86400,
129+
"heartbeat": 300,
130+
"valuePrefix": "",
131+
"assetName": "",
132+
"feedCategory": "",
133+
"feedType": "",
134+
"docs": {},
135+
"decimals": 18
136+
},
137+
{
138+
"compareOffchain": "",
139+
"contractAddress": "x",
140+
"name": "sthAPT-APT Exchange Rate",
141+
"path": "",
142+
"proxyAddress": "0x0189e77142000332000000000000000000000000000000000000000000000000",
143+
"threshold": 0.1,
144+
"heartbeat": 300,
130145
"valuePrefix": "",
131146
"assetName": "",
132147
"feedCategory": "",
@@ -141,7 +156,7 @@
141156
"path": "",
142157
"proxyAddress": "0x01831f12b4000332000000000000000000000000000000000000000000000000",
143158
"threshold": 0.3,
144-
"heartbeat": 86400,
159+
"heartbeat": 1800,
145160
"valuePrefix": "",
146161
"assetName": "",
147162
"feedCategory": "",
@@ -156,7 +171,7 @@
156171
"path": "",
157172
"proxyAddress": "0x0101155b3b000332000000000000000000000000000000000000000000000000",
158173
"threshold": 0.5,
159-
"heartbeat": 86400,
174+
"heartbeat": 300,
160175
"valuePrefix": "",
161176
"assetName": "",
162177
"feedCategory": "",
@@ -171,7 +186,7 @@
171186
"path": "",
172187
"proxyAddress": "0x01d1399b32000332000000000000000000000000000000000000000000000000",
173188
"threshold": 0.5,
174-
"heartbeat": 1800,
189+
"heartbeat": 300,
175190
"valuePrefix": "",
176191
"assetName": "",
177192
"feedCategory": "",

0 commit comments

Comments
 (0)