Skip to content

Commit 95b1a08

Browse files
authored
Add Aptos platform pkg addresses (#2694)
* add aptos ChainlinkPlatform addresses * add aptos ChainlinkPlatform addresses * add aptos ChainlinkPlatform addresses
1 parent 36e1bdd commit 95b1a08

File tree

2 files changed

+77
-35
lines changed

2 files changed

+77
-35
lines changed

src/content/data-feeds/aptos/index.mdx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,11 @@ You now have a funded testnet account on Aptos.
124124
aptos config show-profiles --profile=default
125125
```
126126
127-
- The `data_feeds` address is the Chainlink Data Feeds contract address on Aptos testnet (`0xf1099f135ddddad1c065203431be328a408b0ca452ada70374ce26bd2b32fdd3`).
127+
- The `data_feeds` address is the `ChainlinkDataFeeds` package address on Aptos testnet ([`0xf1099f135ddddad1c065203431be328a408b0ca452ada70374ce26bd2b32fdd3`](https://explorer.aptoslabs.com/object/0xf1099f135ddddad1c065203431be328a408b0ca452ada70374ce26bd2b32fdd3/modules/packages/ChainlinkDataFeeds?network=testnet)).
128+
129+
- The `platform` address is the `ChainlinkPlatform` package address on Aptos testnet ([`0x516e771e1b4a903afe74c27d057c65849ecc1383782f6642d7ff21425f4f9c99`](https://explorer.aptoslabs.com/object/0x516e771e1b4a903afe74c27d057c65849ecc1383782f6642d7ff21425f4f9c99/modules/packages/ChainlinkPlatform?network=testnet)).
130+
131+
**Note**: You can find the mainnet addresses in the [Feeds Addresses](/data-feeds/price-feeds/addresses?page=1&testnetPage=1&network=aptos) page.
128132
129133
1. Run the following command to download the compiled bytecode for the `ChainlinkPlatform` and `ChainlinkDataFeeds` packages:
130134

src/features/feeds/components/FeedList.tsx

Lines changed: 72 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -621,23 +621,42 @@ export const FeedList = ({
621621
the data you need. For more details, refer to the{" "}
622622
<a href="/data-feeds/aptos/">Using Data Feeds on Aptos</a> guide.
623623
</p>
624-
<p>
625-
Price feed contract on Aptos Mainnet:{" "}
626-
<a
627-
className={tableStyles.addressLink}
628-
href="https://explorer.aptoslabs.com/object/0x3f985798ce4975f430ef5c75776ff98a77b9f9d0fb38184d225adc9c1cc6b79b?network=mainnet"
629-
target="_blank"
630-
>
631-
0x3f985798ce4975f430ef5c75776ff98a77b9f9d0fb38184d225adc9c1cc6b79b
632-
</a>
633-
<button
634-
className={clsx(tableStyles.copyBtn, "copy-iconbutton")}
635-
style={{ height: "16px", width: "16px", marginLeft: "5px" }}
636-
data-clipboard-text="0x3f985798ce4975f430ef5c75776ff98a77b9f9d0fb38184d225adc9c1cc6b79b"
637-
>
638-
<img src="/assets/icons/copyIcon.svg" alt="copy to clipboard" />
639-
</button>
640-
</p>
624+
<ul>
625+
<li>
626+
ChainlinkDataFeeds package address on Aptos Mainnet:{" "}
627+
<a
628+
className={tableStyles.addressLink}
629+
href="https://explorer.aptoslabs.com/object/0x3f985798ce4975f430ef5c75776ff98a77b9f9d0fb38184d225adc9c1cc6b79b/modules/packages/ChainlinkDataFeeds?network=mainnet"
630+
target="_blank"
631+
>
632+
0x3f985798ce4975f430ef5c75776ff98a77b9f9d0fb38184d225adc9c1cc6b79b
633+
</a>
634+
<button
635+
className={clsx(tableStyles.copyBtn, "copy-iconbutton")}
636+
style={{ height: "16px", width: "16px", marginLeft: "5px" }}
637+
data-clipboard-text="0x3f985798ce4975f430ef5c75776ff98a77b9f9d0fb38184d225adc9c1cc6b79b"
638+
>
639+
<img src="/assets/icons/copyIcon.svg" alt="copy to clipboard" />
640+
</button>
641+
</li>
642+
<li>
643+
ChainlinkPlatform package address on Aptos Mainnet:{" "}
644+
<a
645+
className={tableStyles.addressLink}
646+
href="https://explorer.aptoslabs.com/object/0x9976bb288ed9177b542d568fa1ac386819dc99141630e582315804840f41928a/modules/packages/ChainlinkPlatform?network=mainnet"
647+
target="_blank"
648+
>
649+
0x9976bb288ed9177b542d568fa1ac386819dc99141630e582315804840f41928a
650+
</a>
651+
<button
652+
className={clsx(tableStyles.copyBtn, "copy-iconbutton")}
653+
style={{ height: "16px", width: "16px", marginLeft: "5px" }}
654+
data-clipboard-text="0x9976bb288ed9177b542d568fa1ac386819dc99141630e582315804840f41928a"
655+
>
656+
<img src="/assets/icons/copyIcon.svg" alt="copy to clipboard" />
657+
</button>
658+
</li>
659+
</ul>
641660
</>
642661
)}
643662
<div className={feedList.tableFilters}>
@@ -770,23 +789,42 @@ export const FeedList = ({
770789
<>
771790
{network.name === "Aptos Testnet" && (
772791
<>
773-
<p>
774-
Price feed contract on Aptos Testnet:{" "}
775-
<a
776-
className={tableStyles.addressLink}
777-
href="https://explorer.aptoslabs.com/object/0xf1099f135ddddad1c065203431be328a408b0ca452ada70374ce26bd2b32fdd3/transactions?network=testnet"
778-
target="_blank"
779-
>
780-
0xf1099f135ddddad1c065203431be328a408b0ca452ada70374ce26bd2b32fdd3
781-
</a>
782-
<button
783-
className={clsx(tableStyles.copyBtn, "copy-iconbutton")}
784-
style={{ height: "16px", width: "16px", marginLeft: "5px" }}
785-
data-clipboard-text="0xf1099f135ddddad1c065203431be328a408b0ca452ada70374ce26bd2b32fdd3"
786-
>
787-
<img src="/assets/icons/copyIcon.svg" alt="copy to clipboard" />
788-
</button>
789-
</p>
792+
<ul>
793+
<li>
794+
ChainlinkDataFeeds package address on Aptos Testnet:{" "}
795+
<a
796+
className={tableStyles.addressLink}
797+
href="https://explorer.aptoslabs.com/object/0xf1099f135ddddad1c065203431be328a408b0ca452ada70374ce26bd2b32fdd3/modules/packages/ChainlinkDataFeeds?network=testnet"
798+
target="_blank"
799+
>
800+
0xf1099f135ddddad1c065203431be328a408b0ca452ada70374ce26bd2b32fdd3
801+
</a>
802+
<button
803+
className={clsx(tableStyles.copyBtn, "copy-iconbutton")}
804+
style={{ height: "16px", width: "16px", marginLeft: "5px" }}
805+
data-clipboard-text="0xf1099f135ddddad1c065203431be328a408b0ca452ada70374ce26bd2b32fdd3"
806+
>
807+
<img src="/assets/icons/copyIcon.svg" alt="copy to clipboard" />
808+
</button>
809+
</li>
810+
<li>
811+
ChainlinkPlatform package address on Aptos Testnet:{" "}
812+
<a
813+
className={tableStyles.addressLink}
814+
href="https://explorer.aptoslabs.com/object/0x516e771e1b4a903afe74c27d057c65849ecc1383782f6642d7ff21425f4f9c99/modules/packages/ChainlinkPlatform?network=testnet"
815+
target="_blank"
816+
>
817+
0x516e771e1b4a903afe74c27d057c65849ecc1383782f6642d7ff21425f4f9c99
818+
</a>
819+
<button
820+
className={clsx(tableStyles.copyBtn, "copy-iconbutton")}
821+
style={{ height: "16px", width: "16px", marginLeft: "5px" }}
822+
data-clipboard-text="0x516e771e1b4a903afe74c27d057c65849ecc1383782f6642d7ff21425f4f9c99"
823+
>
824+
<img src="/assets/icons/copyIcon.svg" alt="copy to clipboard" />
825+
</button>
826+
</li>
827+
</ul>
790828
</>
791829
)}
792830
{!isStreams && (

0 commit comments

Comments
 (0)