Skip to content

Commit 15be5e6

Browse files
OP - Functions, VRF, Streams (#2198)
* init * Add changelog for Functions/VRF --------- Co-authored-by: Crystal Gomes <thedriftofwords@users.noreply.github.com>
1 parent 3501d02 commit 15be5e6

File tree

5 files changed

+146
-0
lines changed

5 files changed

+146
-0
lines changed

public/changelog.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,38 @@
11
[
2+
{
3+
"category": "integration",
4+
"changes": [],
5+
"date": "2024-11-26",
6+
"description": "Chainlink Functions is available on Optimism mainnet. Visit the [Supported Networks](https://docs.chain.link/chainlink-functions/supported-networks#optimism-mainnet) page for more information.",
7+
"relatedNetworks": ["optimism"],
8+
"relatedTokens": [],
9+
"title": "Functions on Optimism mainnet",
10+
"topic": "functions",
11+
"urls": []
12+
},
13+
{
14+
"category": "integration",
15+
"changes": [],
16+
"date": "2024-11-26",
17+
"description": "Chainlink VRF 2.5 is available on Optimism mainnet. Visit the [Supported Networks](https://docs.chain.link/vrf/v2-5/supported-networks#optimism-mainnet) page for more information.",
18+
"relatedNetworks": ["optimism"],
19+
"relatedTokens": [],
20+
"title": "VRF 2.5 on Optimism mainnet",
21+
"topic": "vrf",
22+
"urls": []
23+
},
24+
{
25+
"category": "integration",
26+
"changes": [],
27+
"date": "2024-11-26",
28+
"description": "Chainlink Data Streams is available in Early Access on Optimism. The verifier proxy addresses and stream IDs are available on the [Stream Addresses](https://docs.chain.link/data-streams/crypto-streams) page.",
29+
"relatedNetworks": ["optimism"],
30+
"relatedTokens": [],
31+
"title": "Data Streams on Optimism",
32+
"topic": "data",
33+
"subTopic": "data-streams",
34+
"urls": []
35+
},
236
{
337
"category": "integration",
438
"changes": [],

src/components/QuickLinks/data/productChainLinks.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ export const productChainLinks: ProductChainLinks = {
7979
soneium: "/data-streams/crypto-streams",
8080
opbnb: "/data-streams/crypto-streams",
8181
solana: "/data-streams/crypto-streams",
82+
optimism: "/data-streams/crypto-streams",
8283
},
8384
},
8485
Functions: {
@@ -121,6 +122,7 @@ export const productChainLinks: ProductChainLinks = {
121122
polygon: "/vrf/v2-5/supported-networks#polygon-mainnet",
122123
base: "/vrf/v2-5/supported-networks#base-mainnet",
123124
soneium: "/vrf/v2-5/supported-networks#soneium-minato-testnet",
125+
optimism: "/vrf/v2-5/supported-networks#optimism-mainnet",
124126
},
125127
},
126128
linkTokenContracts: {

src/content/chainlink-functions/supported-networks.mdx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,21 @@ Read the [LINK Token Contracts](/resources/link-token-contracts) page to learn w
210210
calculation](/chainlink-functions/resources/billing#cost-calculation-example) for more information.
211211
</Aside>
212212

213+
### Optimism mainnet
214+
215+
| Item | Value |
216+
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
217+
| Functions router | <Address contractUrl="https://optimistic.etherscan.io/address/0xaA8AaA682C9eF150C0C8E96a8D60945BCB21faad" /> |
218+
| <DonId client:load/> | <CopyText text="fun-optimism-mainnet-1" code /> / <CopyText text="0x66756e2d6f7074696d69736d2d6d61696e6e65742d310a000000000000000000"code format formatType="bytes32" /> |
219+
| Encrypted secrets upload endpoints | <ul><li><CopyText text="https://01.functions-gateway.chain.link/" code /></li><li><CopyText text="https://02.functions-gateway.chain.link/" code /></li></ul> |
220+
221+
| Billing Item | Value |
222+
| ------------------------------------------------ | ----------- |
223+
| Premium fees (converted to LINK at request time) | 3 cents USD |
224+
| Request threshold (withdrawing funds) | 1 request |
225+
| Cancellation fees (withdrawing funds) | 0.1 LINK |
226+
| Minimum balance for uploading encrypted secrets | 0.1 LINK |
227+
213228
### Optimism Sepolia testnet
214229

215230
| Item | Value |

src/content/vrf/v2-5/supported-networks.mdx

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,3 +584,83 @@ VRF v2.5 coordinators for subscription funding are available on several networks
584584
| Coordinator Gas Overhead per Word | 435 |
585585
</Fragment>
586586
</TabsContent>
587+
588+
### Optimism mainnet
589+
590+
{/* prettier-ignore */}
591+
<TabsContent sharedStore="vrfMethod" client:visible>
592+
<Fragment slot="tab.1">Subscription</Fragment>
593+
<Fragment slot="tab.2">Direct funding</Fragment>
594+
<Fragment slot="panel.1">
595+
| Item | Value |
596+
| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
597+
| LINK Token | <Address contractUrl="https://optimistic.etherscan.io/address/0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6" urlId="10_0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6" urlClass="erc-token-address"/> |
598+
| |
599+
| VRF Coordinator | <Address contractUrl="https://optimistic.etherscan.io/address/0x5FE58960F730153eb5A84a47C51BD4E58302E1c8" /> |
600+
| 2 gwei Key Hash | <CopyText text="0xa16a2316f92fa0abfd0029eea74e947d0613728e934d9794cd78bc02e2f69de4" code/> |
601+
| 30 gwei Key Hash | <CopyText text="0x8e7a847ba0757d1c302a3f0fde7b868ef8cf4acc32e48505f1a1d53693a10a19" code/> |
602+
| Premium percentage <br/> (paying with Optimism) | 60 |
603+
| Premium percentage <br/> (paying with LINK) | 50 |
604+
| Max Gas Limit | 2,500,000 |
605+
| Minimum Confirmations | 0 |
606+
| Maximum Confirmations | 200 |
607+
| Maximum Random Values | 500 |
608+
</Fragment>
609+
<Fragment slot="panel.2">
610+
| Item | Value |
611+
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
612+
| LINK Token | <Address contractUrl="https://optimistic.etherscan.io/address/0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6" urlId="10_0x350a791bfc2c21f9ed5d10980dad2e2638ffa7f6" urlClass="erc-token-address"/> |
613+
| VRF Wrapper | <Address contractUrl="https://optimistic.etherscan.io/address/0x6A39cE9604FAD060B32bc35BE2e0D3825B2b8D4B" /> |
614+
| VRF Coordinator | <Address contractUrl="https://optimistic.etherscan.io/address/0x5FE58960F730153eb5A84a47C51BD4E58302E1c8" /> |
615+
| 2 gwei Key Hash | <CopyText text="0xa16a2316f92fa0abfd0029eea74e947d0613728e934d9794cd78bc02e2f69de4" code/> |
616+
| 30 gwei Key Hash | <CopyText text="0x8e7a847ba0757d1c302a3f0fde7b868ef8cf4acc32e48505f1a1d53693a10a19" code/> | |
617+
| Premium percentage <br/> (paying with Optimism) | 60 |
618+
| Premium percentage <br/> (paying with LINK) | 50 |
619+
| Minimum Confirmations | 0 |
620+
| Maximum Confirmations | 200 |
621+
| Maximum Random Values | 10 |
622+
| Wrapper Gas overhead | 13400 |
623+
| Coordinator Gas Overhead (Native) | 128500 |
624+
| Coordinator Gas Overhead (LINK) | 150400 |
625+
| Coordinator Gas Overhead per Word | 435 |
626+
</Fragment>
627+
</TabsContent>
628+
629+
### Optimism Sepolia testnet
630+
631+
{/* prettier-ignore */}
632+
<TabsContent sharedStore="vrfMethod" client:visible>
633+
<Fragment slot="tab.1">Subscription</Fragment>
634+
<Fragment slot="tab.2">Direct funding</Fragment>
635+
<Fragment slot="panel.1">
636+
| Item | Value |
637+
| --------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
638+
| LINK Token | <Address contractUrl="https://sepolia-optimism.etherscan.io/token/0xE4aB69C077896252FAFBD49EFD26B5D171A32410" urlId="11155420_0xE4aB69C077896252FAFBD49EFD26B5D171A32410" urlClass="erc-token-address"/> |
639+
| |
640+
| VRF Coordinator | <Address contractUrl="https://sepolia-optimism.etherscan.io/address/0x02667f44a6a44E4BDddCF80e724512Ad3426B17d" /> |
641+
| 30 gwei Key Hash | <CopyText text="0xc3d5bc4d5600fa71f7a50b9ad841f14f24f9ca4236fd00bdb5fda56b052b28a4" code/> |
642+
| Premium percentage <br/> (paying with Optimism Sepolia ETH) | 60 |
643+
| Premium percentage <br/> (paying with LINK) | 50 |
644+
| Max Gas Limit | 2,500,000 |
645+
| Minimum Confirmations | 0 |
646+
| Maximum Confirmations | 200 |
647+
| Maximum Random Values | 500 |
648+
</Fragment>
649+
<Fragment slot="panel.2">
650+
| Item | Value |
651+
| -------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
652+
| LINK Token | <Address contractUrl="https://sepolia-optimism.etherscan.io/token/0xE4aB69C077896252FAFBD49EFD26B5D171A32410" urlId="11155420_0xE4aB69C077896252FAFBD49EFD26B5D171A32410" urlClass="erc-token-address"/> |
653+
| VRF Wrapper | <Address contractUrl="https://sepolia-optimism.etherscan.io/address/0xA8A278BF534BCa72eFd6e6C9ac573E98c21A6171" /> |
654+
| VRF Coordinator | <Address contractUrl="https://sepolia-optimism.etherscan.io/address/0x02667f44a6a44E4BDddCF80e724512Ad3426B17d" /> |
655+
| 30 gwei Key Hash | <CopyText text="0xc3d5bc4d5600fa71f7a50b9ad841f14f24f9ca4236fd00bdb5fda56b052b28a4" code/> | |
656+
| Premium percentage <br/> (paying with Optimism Sepolia ETH) | 60 |
657+
| Premium percentage <br/> (paying with testnet LINK) | 50 |
658+
| Minimum Confirmations | 0 |
659+
| Maximum Confirmations | 200 |
660+
| Maximum Random Values | 10 |
661+
| Wrapper Gas overhead | 13400 |
662+
| Coordinator Gas Overhead (Native) | 128500 |
663+
| Coordinator Gas Overhead (LINK) | 150400 |
664+
| Coordinator Gas Overhead per Word | 435 |
665+
</Fragment>
666+
</TabsContent>

src/features/feeds/components/Tables.tsx

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,21 @@ const StreamsNetworksData = [
400400
explorerUrl: "https://opbnb-testnet.bscscan.com/address/%s",
401401
},
402402
},
403+
{
404+
network: "Optimism",
405+
logoUrl: "/assets/chains/optimism.svg",
406+
networkStatus: "https://status.optimism.io/",
407+
mainnet: {
408+
label: "Optimism Mainnet",
409+
verifierProxy: "0xEBA4789A88C89C18f4657ffBF47B13A3abC7EB8D",
410+
explorerUrl: "https://optimistic.etherscan.io/address/%s",
411+
},
412+
testnet: {
413+
label: "Optimism Testnet",
414+
verifierProxy: "0x5f64394a2Ab3AcE9eCC071568Fc552489a8de7AF",
415+
explorerUrl: "https://sepolia-optimism.etherscan.io/address/%s",
416+
},
417+
},
403418
{
404419
network: "Soneium",
405420
logoUrl: "/assets/chains/soneium.svg",

0 commit comments

Comments
 (0)