Skip to content

Commit

Permalink
Misc chain integrations (smartcontractkit#2307)
Browse files Browse the repository at this point in the history
* Add Celo back to Functions as in PR 2048

* Add Scroll mainnet to Automation

* Add Scroll Sepolia testnet to Automation

* Add Polygon zkEVM Sepolia to Automation

* Add Polygon zkEVM mainnet to Automation

* Add zkSync Sepolia to Automation

* Name chain keys consistently with config/data/chains.json

* Add zkSync mainnet to Automation

* Corrected values
  • Loading branch information
thedriftofwords authored Feb 4, 2025
1 parent bd7b09f commit 6041a7f
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 0 deletions.
38 changes: 38 additions & 0 deletions src/content/chainlink-functions/supported-networks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -266,3 +266,41 @@ To use Chainlink Functions on certain networks, you may need to conduct token tr
| Request threshold (withdrawing funds) | 10 requests |
| Cancellation fees (withdrawing funds) | 2 LINK |
| Minimum balance for uploading encrypted secrets | 2 LINK |

## Celo

<Aside type="note" title="USD-denominated premium fees">
The fixed premium fee is denominated in USD but no USD is ever used. The LINK equivalent of the fee is calculated at
request time, and then deducted from your subscription in LINK at response time. See the [example cost
calculation](/chainlink-functions/resources/billing#cost-calculation-example) for more information.
</Aside>

### Celo Mainnet

| Item | Value |
| ---------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Functions router | <Address contractUrl="https://explorer.celo.org/mainnet/address/0xd74646C75163f9dA0F3666C3BE8A9C42F4b3b261" /> |
| <DonId client:load/> | <CopyText text="fun-celo-mainnet-1" code /> / <CopyText text="0x66756e2d63656c6f2d6d61696e6e65742d310000000000000000000000000000"code format formatType="bytes32" /> |
| 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> |

| Billing Item | Value |
| ------------------------------------------------ | ----------- |
| Premium fees (converted to LINK at request time) | 3 cents USD |
| Request threshold (withdrawing funds) | 1 request |
| Cancellation fees (withdrawing funds) | 0.1 LINK |
| Minimum balance for uploading encrypted secrets | 0.1 LINK |

### Celo Alfajores testnet

| Item | Value |
| ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Functions router | <Address contractUrl="https://explorer.celo.org/alfajores/address/0x53BA5D8E5aab0cf9589aCE139666Be2b9Fd268e2" /> |
| <DonId client:load/> | <CopyText text="fun-celo-alfajores-1" code /> / <CopyText text="0x66756e2d63656c6f2d616c66616a6f7265732d31000000000000000000000000"code format formatType="bytes32" /> |
| Encrypted secrets upload endpoints | <ul><li><CopyText text="https://01.functions-gateway.testnet.chain.link/" code /></li><li><CopyText text="https://02.functions-gateway.testnet.chain.link/" code /></li></ul> |

| Billing Item | Value |
| ------------------------------------------------ | ------------- |
| Premium fees (converted to LINK at request time) | 320 cents USD |
| Request threshold (withdrawing funds) | 10 requests |
| Cancellation fees (withdrawing funds) | 2 LINK |
| Minimum balance for uploading encrypted secrets | 2 LINK |
Original file line number Diff line number Diff line change
Expand Up @@ -70,5 +70,29 @@
"GNOSIS_CHIADO": {
"registryAddress": "0x2CA3BC9eC81E9647e7f8e7EdFE630a27A4E470dB",
"registrarAddress": "0xcfB98e8E3AB99217a0E61C29f86ba3a4B79037BF"
},
"SCROLL_MAINNET": {
"registryAddress": "0xBe55E7eb27Cd69Be0883E0284632A91bB7AdC272",
"registrarAddress": "0x80C55e674a34FfE730B0357E16e8852B19573f7C"
},
"SCROLL_SEPOLIA": {
"registryAddress": "0x93C0e201f7B158F503a1265B6942088975f92ce7",
"registrarAddress": "0x8ee44ab698169a0AcA2571834b19a02d09D818d5"
},
"POLYGON_ZKEVM_MAINNET": {
"registryAddress": "0x0F7E163446AAb41DB5375AbdeE2c3eCC56D9aA32",
"registrarAddress": "0x703C1d261a996755409c74d00871e7D6Af4d9896"
},
"POLYGON_ZKEVM_CARDONA": {
"registryAddress": "0x0F7E163446AAb41DB5375AbdeE2c3eCC56D9aA32",
"registrarAddress": "0x703C1d261a996755409c74d00871e7D6Af4d9896"
},
"ZKSYNC_MAINNET": {
"registryAddress": "0x8D405a2252fe4bd50dF29835e621986E59A81D74",
"registrarAddress": "0x7415C4E9758F3cA26F1a4a8F11d885eadEF68939"
},
"ZKSYNC_SEPOLIA": {
"registryAddress": "0xc740003833d487c49881Cd19A21B8c58313e0cF4",
"registrarAddress": "0xC23751714a66B9824Fa6724A7B08635D480e88cD"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -448,5 +448,155 @@
"stalenessSeconds": 360000,
"registrar": "0xcfB98e8E3AB99217a0E61C29f86ba3a4B79037BF",
"transcoder": "0x35e466d3B56df566B8E0acAc4751Ed15eCCC155F"
},
"SCROLL_MAINNET": {
"paymentPremiumPPB": 560000000,
"blockCountPerTurn": "Not Applicable",
"maxCheckDataSize": 5000,
"checkGasLimit": 10000000,
"gasCeilingMultiplier": 2,
"minUpkeepSpend": {
"type": "BigNumber",
"hex": "0x16bcc41e90000"
},
"maxPerformGas": 5000000,
"fallbackGasPrice": {
"type": "BigNumber",
"hex": "12a05f200"
},
"fallbackLinkPrice": {
"type": "BigNumber",
"hex": "44728f8c"
},
"maxPerformDataSize": 5000,
"flatFeeMicroLink": 10000,
"stalenessSeconds": 360000,
"registrar": "0x80C55e674a34FfE730B0357E16e8852B19573f7C",
"transcoder": "0x0000000000000000000000000000000000000000"
},
"SCROLL_SEPOLIA": {
"paymentPremiumPPB": 500000000,
"blockCountPerTurn": "Not Applicable",
"maxCheckDataSize": 5000,
"checkGasLimit": 10000000,
"gasCeilingMultiplier": 2,
"minUpkeepSpend": {
"type": "BigNumber",
"hex": "0x016345785d8a0000"
},
"maxPerformGas": 5000000,
"fallbackGasPrice": {
"type": "BigNumber",
"hex": "5f5e100"
},
"fallbackLinkPrice": {
"type": "BigNumber",
"hex": "4343e8e0"
},
"maxPerformDataSize": 5000,
"flatFeeMicroLink": 10000,
"stalenessSeconds": 360000,
"registrar": "0x8ee44ab698169a0AcA2571834b19a02d09D818d5",
"transcoder": "0x0000000000000000000000000000000000000000"
},
"POLYGON_ZKEVM_MAINNET": {
"paymentPremiumPPB": 560000000,
"blockCountPerTurn": "Not Applicable",
"maxCheckDataSize": 5000,
"checkGasLimit": 10000000,
"gasCeilingMultiplier": 2,
"minUpkeepSpend": {
"type": "BigNumber",
"hex": "0x16bcc41e90000"
},
"maxPerformGas": 5000000,
"fallbackGasPrice": {
"type": "BigNumber",
"hex": "2540be400"
},
"fallbackLinkPrice": {
"type": "BigNumber",
"hex": "44728f8c"
},
"maxPerformDataSize": 5000,
"flatFeeMicroLink": 10000,
"stalenessSeconds": 360000,
"registrar": "0x703C1d261a996755409c74d00871e7D6Af4d9896",
"transcoder": "0x0000000000000000000000000000000000000000"
},
"POLYGON_ZKEVM_CARDONA": {
"paymentPremiumPPB": 500000000,
"blockCountPerTurn": "Not Applicable",
"maxCheckDataSize": 5000,
"checkGasLimit": 10000000,
"gasCeilingMultiplier": 2,
"minUpkeepSpend": {
"type": "BigNumber",
"hex": "0x16bcc41e90000"
},
"maxPerformGas": 5000000,
"fallbackGasPrice": {
"type": "BigNumber",
"hex": "5f5e100"
},
"fallbackLinkPrice": {
"type": "BigNumber",
"hex": "4343e8e0"
},
"maxPerformDataSize": 5000,
"flatFeeMicroLink": 10000,
"stalenessSeconds": 360000,
"registrar": "0x703C1d261a996755409c74d00871e7D6Af4d9896",
"transcoder": "0x0000000000000000000000000000000000000000"
},
"ZKSYNC_MAINNET": {
"paymentPremiumPPB": 500000000,
"blockCountPerTurn": "Not Applicable",
"maxCheckDataSize": 5000,
"checkGasLimit": 10000000,
"gasCeilingMultiplier": 2,
"minUpkeepSpend": {
"type": "BigNumber",
"hex": "0x16bcc41e90000"
},
"maxPerformGas": 5000000,
"fallbackGasPrice": {
"type": "BigNumber",
"hex": "7270e00"
},
"fallbackLinkPrice": {
"type": "BigNumber",
"hex": "44728f8c"
},
"maxPerformDataSize": 5000,
"flatFeeMicroLink": 10000,
"stalenessSeconds": 360000,
"registrar": "0x7415C4E9758F3cA26F1a4a8F11d885eadEF68939",
"transcoder": "0x0000000000000000000000000000000000000000"
},
"ZKSYNC_SEPOLIA": {
"paymentPremiumPPB": 300000000,
"blockCountPerTurn": "Not Applicable",
"maxCheckDataSize": 5000,
"checkGasLimit": 10000000,
"gasCeilingMultiplier": 2,
"minUpkeepSpend": {
"type": "BigNumber",
"hex": "0x16bcc41e90000"
},
"maxPerformGas": 5000000,
"fallbackGasPrice": {
"type": "BigNumber",
"hex": "17d7840"
},
"fallbackLinkPrice": {
"type": "BigNumber",
"hex": "4343e8e0"
},
"maxPerformDataSize": 5000,
"flatFeeMicroLink": 10000,
"stalenessSeconds": 360000,
"registrar": "0xC23751714a66B9824Fa6724A7B08635D480e88cD",
"transcoder": "0x0000000000000000000000000000000000000000"
}
}

0 comments on commit 6041a7f

Please sign in to comment.