Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
khadni committed Dec 11, 2024
1 parent 9ec3cf0 commit 1bf18a4
Show file tree
Hide file tree
Showing 9 changed files with 753 additions and 124 deletions.
1 change: 1 addition & 0 deletions public/assets/chains/aptos.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
197 changes: 197 additions & 0 deletions public/files/json/feeds-aptos-testnet.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,197 @@
[
{
"compareOffchain": "",
"contractAddress": "x",
"name": "BTC / USD",
"path": "btc-usd",
"proxyAddress": "0x01a0b4d920000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
},
{
"compareOffchain": "",
"contractAddress": "x",
"name": "APT / USD",
"path": "apt-usd",
"proxyAddress": "0x011e22d6bf000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
},
{
"compareOffchain": "",
"contractAddress": "x",
"name": "USDC / USD",
"path": "usdc-usd",
"proxyAddress": "0x01a80ff216000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
},
{
"compareOffchain": "",
"contractAddress": "x",
"name": "USDT / USD",
"path": "usdt-usd",
"proxyAddress": "0x016d06ebb6000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
},
{
"compareOffchain": "",
"contractAddress": "x",
"name": "ETH / USD",
"path": "eth-usd",
"proxyAddress": "0x01d585327c000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
},
{
"compareOffchain": "",
"contractAddress": "x",
"name": "LINK / USD",
"path": "link-usd",
"proxyAddress": "0x0101199b3b000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
},
{
"compareOffchain": "",
"contractAddress": "x",
"name": "BNB / USD",
"path": "bnb-usd",
"proxyAddress": "0x011d45b006000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
},
{
"compareOffchain": "",
"contractAddress": "x",
"name": "POL / USD",
"path": "pol-usd",
"proxyAddress": "0x01e5984da6000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
},
{
"compareOffchain": "",
"contractAddress": "x",
"name": "METIS / USD",
"path": "metis-usd",
"proxyAddress": "0x01e835288b000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
},
{
"compareOffchain": "",
"contractAddress": "x",
"name": "DAI / USD",
"path": "dai-usd",
"proxyAddress": "0x0112be0d78000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
},
{
"compareOffchain": "",
"contractAddress": "x",
"name": "AVAX / USD",
"path": "avax-usd",
"proxyAddress": "0x016d7a70e3000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
},
{
"compareOffchain": "",
"contractAddress": "x",
"name": "WEMIX / USD",
"path": "wemix-usd",
"proxyAddress": "0x01ef65a95a000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
},
{
"compareOffchain": "",
"contractAddress": "x",
"name": "CELO / USD",
"path": "celo-usd",
"proxyAddress": "0x0132427bcd000332000000000000000000000000000000000000000000000000",
"threshold": 0.1,
"heartbeat": 1800,
"valuePrefix": "",
"assetName": "",
"feedCategory": "",
"feedType": "",
"docs": {},
"decimals": 18
}
]
2 changes: 2 additions & 0 deletions src/components/QuickLinks/data/productChainLinks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ export const productChainLinks: ProductChainLinks = {
learnMoreLink: "data-feeds",
logo: dataFeedsLogo,
chains: {
aptos: "/data-feeds/price-feeds/addresses?network=aptos",
arbitrum: "/data-feeds/price-feeds/addresses?network=arbitrum",
avalanche: "/data-feeds/price-feeds/addresses?network=avalanche",
base: "/data-feeds/price-feeds/addresses?network=base",
Expand Down Expand Up @@ -160,6 +161,7 @@ export const productChainLinks: ProductChainLinks = {
}

export const chainNames: Record<string, string> = {
aptos: "Aptos",
arbitrum: "Arbitrum",
astar: "Astar",
avalanche: "Avalanche",
Expand Down
9 changes: 9 additions & 0 deletions src/config/sidebar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,15 @@ export const SIDEBAR: Partial<Record<Sections, SectionEntry[]>> = {
},
],
},
{
section: "Aptos Guides",
contents: [
{
title: "Data Feeds on Aptos",
url: "data-feeds/aptos",
},
],
},
{
section: "API Reference",
contents: [
Expand Down
4 changes: 2 additions & 2 deletions src/content/ccip/api-reference/v1.5.1/pool.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ struct LockOrBurnInV1 {
| ------------------- | ------- | -------------------------------------------------------------------------------- |
| receiver | bytes | The recipient of the tokens on the destination chain, ABI encoded |
| remoteChainSelector | uint64 | The chain ID of the destination chain |
| originalSender | address | The original sender of the transaction on the source chain |
| originalSender | address | The original sender of the transaction on the source chain |
| amount | uint256 | The amount of tokens to lock or burn, denominated in the source token's decimals |
| localToken | address | The address on this chain of the token to lock or burn |

Expand Down Expand Up @@ -100,7 +100,7 @@ struct ReleaseOrMintInV1 {

| Name | Type | Description |
| ------------------- | ------- | ----------------------------------------------------------------------------------- |
| originalSender | bytes | The original sender of the transaction on the source chain |
| originalSender | bytes | The original sender of the transaction on the source chain |
| remoteChainSelector | uint64 | The chain ID of the source chain |
| receiver | address | The recipient of the tokens on the destination chain |
| amount | uint256 | The amount of tokens to release or mint, denominated in the source token's decimals |
Expand Down
Loading

0 comments on commit 1bf18a4

Please sign in to comment.