Skip to content

Commit 99f5d12

Browse files
cawthornekhadni
andauthored
Add Aptos aBTC PoR to front-end (#2891)
* Add Aptos aBTC Por to frontent * enable aptos smartdata * update metadata --------- Co-authored-by: Karim H. <[email protected]>
1 parent c905a83 commit 99f5d12

File tree

3 files changed

+72
-2
lines changed

3 files changed

+72
-2
lines changed

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

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@
385385
"docs": {
386386
"assetClass": "Crypto",
387387
"assetName": "CAKE",
388-
"baseAsset": "USDE",
388+
"baseAsset": "USD",
389389
"blockchainName": "Aptos",
390390
"clicProductName": "CAKE/USD-RefPrice-DF-Aptos-001",
391391
"deliveryChannelCode": "DF",
@@ -401,5 +401,40 @@
401401
"underlyingAssetClic": "USD_FX"
402402
},
403403
"decimals": 18
404+
},
405+
{
406+
"compareOffchain": "",
407+
"contractAddress": "",
408+
"contractType": "",
409+
"healthPrice": "",
410+
"heartbeat": 86400,
411+
"name": "aBTC PoR",
412+
"proxyAddress": "0x013f6ff6ad000332000000000000000000000000000000000000000000000000",
413+
"threshold": 0.0000001,
414+
"valuePrefix": "",
415+
"valueSuffix": "BTC",
416+
"assetName": "Bitcoin (BTC)",
417+
"feedCategory": "custom",
418+
"feedType": "Crypto",
419+
"docs": {
420+
"assetClass": "Crypto",
421+
"assetSubClass": "Pegged Asset",
422+
"baseAsset": "aBTC",
423+
"blockchainName": "Aptos",
424+
"deliveryChannelCode": "DF",
425+
"issuer": "Echo",
426+
"marketHours": "Crypto",
427+
"porAuditor": "Cross-chain",
428+
"porSource": "Wallet Address Manager",
429+
"porType": "Cross-chain",
430+
"productSubType": "Cross-chain / Bitcoin Network",
431+
"productType": "Proof of Reserve",
432+
"productTypeCode": "PoR",
433+
"reserveAsset": "BTC",
434+
"reserveAssetClic": "BTC_CR",
435+
"underlyingAsset": "BTC",
436+
"underlyingAssetClic": "BTC_CR"
437+
},
438+
"decimals": 18
404439
}
405440
]

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,5 +178,38 @@
178178
"feedType": "",
179179
"docs": {},
180180
"decimals": 18
181+
},
182+
{
183+
"compareOffchain": "",
184+
"contractAddress": "x",
185+
"name": "aBTC PoR",
186+
"path": "",
187+
"proxyAddress": "0x013f6ff6ad000332000000000000000000000000000000000000000000000000",
188+
"threshold": 0.0000001,
189+
"heartbeat": 86400,
190+
"valuePrefix": "",
191+
"assetName": "Bitcoin (BTC)",
192+
"feedCategory": "custom",
193+
"feedType": "Crypto",
194+
"docs": {
195+
"assetClass": "Crypto",
196+
"assetSubClass": "Pegged Asset",
197+
"baseAsset": "aBTC",
198+
"blockchainName": "Aptos",
199+
"deliveryChannelCode": "DF",
200+
"issuer": "Echo",
201+
"marketHours": "Crypto",
202+
"porAuditor": "Cross-chain",
203+
"porSource": "Wallet Address Manager",
204+
"porType": "Cross-chain",
205+
"productSubType": "Cross-chain / Bitcoin Network",
206+
"productType": "Proof of Reserve",
207+
"productTypeCode": "PoR",
208+
"reserveAsset": "BTC",
209+
"reserveAssetClic": "BTC_CR",
210+
"underlyingAsset": "BTC",
211+
"underlyingAssetClic": "BTC_CR"
212+
},
213+
"decimals": 18
181214
}
182215
]

src/features/data/chains.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export const CHAINS: Chain[] = [
4747
title: "Aptos Data Feeds",
4848
img: "/assets/chains/aptos.svg",
4949
networkStatusUrl: "https://explorer.aptoslabs.com/",
50-
tags: ["default"],
50+
tags: ["default", "smartData"],
5151
supportedFeatures: ["feeds"],
5252
networks: [
5353
{
@@ -56,13 +56,15 @@ export const CHAINS: Chain[] = [
5656
networkType: "mainnet",
5757
rddUrl: "https://docs.chain.link/files/json/feeds-aptos-mainnet.json",
5858
queryString: "aptos-mainnet",
59+
tags: ["smartData"],
5960
},
6061
{
6162
name: "Aptos Testnet",
6263
explorerUrl: "",
6364
networkType: "testnet",
6465
rddUrl: "https://docs.chain.link/files/json/feeds-aptos-testnet.json",
6566
queryString: "aptos-testnet",
67+
tags: ["smartData"],
6668
},
6769
],
6870
},

0 commit comments

Comments
 (0)