Skip to content

Commit

Permalink
Update Automation Registry/Registrar addresses + Migrate to Arbitrum …
Browse files Browse the repository at this point in the history
…Sepolia (#1647)

* update addresses

* update arb goerli

* update to arbitrum sepolia

* update Getting Started + Supported Networks

* add goerli back

* Apply suggestions from code review

Co-authored-by: Dwight Lyle <dwightjl@gmail.com>

---------

Co-authored-by: Crystal Gomes <thedriftofwords@users.noreply.github.com>
Co-authored-by: Dwight Lyle <dwightjl@gmail.com>
  • Loading branch information
3 people authored Nov 18, 2023
1 parent 088eb44 commit b3bff0a
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 17 deletions.
22 changes: 11 additions & 11 deletions src/content/chainlink-automation/overview/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ Click the tabs below to use Chainlink Automation with each type of trigger:
<Fragment slot="panel.timeBased">
**Increment a counter every 5 minutes using our example contract.**

1. Navigate to the [Chainlink Automation app](https://automation.chain.link/) and connect to **Arbitrum Goerli** in the top dropdown menu.
1. Navigate to the [Chainlink Automation app](https://automation.chain.link/) and connect to **Arbitrum Sepolia** in the top dropdown menu.

2. Connect your cryptocurrency wallet to the app if you haven't done so already. You may also need to fetch Arbitrum Goerli testnet LINK [here](https://faucets.chain.link/arbitrum-goerli).
2. Connect your cryptocurrency wallet to the app if you haven't done so already. You may also need to fetch Arbitrum Sepolia testnet LINK [here](https://automation.chain.link/arbitrum-sepolia).

3. Click **Register new Upkeep** and select **Time-based** trigger.

4. Under _Target contract address_, enter `0x698a3a4B0a98dda279795521Bd6f63cdBE605125`. This is a simple counter contract that will just increment with each call. Source code is [here](https://goerli.arbiscan.io/address/0x8D6e9b3dcb5148C1eF501C8407C83D6Aa9b7720e#code).
4. Under _Target contract address_, enter `0x698a3a4B0a98dda279795521Bd6f63cdBE605125`. This is a simple counter contract that will just increment with each call. Source code is [here](https://sepolia.arbiscan.io/address/0x083935210524c0A8922ec610d1063Aa0A54d9d70#code).

5. In the _Contract call_ section, enter `addInteger` under _Target function_. In the _Function inputs_ section, enter a number to increment by under _intToAdd_. Then click **Next**.

Expand All @@ -63,13 +63,13 @@ Click the tabs below to use Chainlink Automation with each type of trigger:
<Fragment slot="panel.customLogic">
**Increment a counter using custom logic stored on-chain.**

1. Navigate to the [Chainlink Automation app](https://automation.chain.link/) and connect to **Arbitrum Goerli** in the top dropdown menu.
1. Navigate to the [Chainlink Automation app](https://automation.chain.link/) and connect to **Arbitrum Sepolia** in the top dropdown menu.

2. Connect your cryptocurrency wallet to the app if you haven't done so already. You may also need to fetch Arbitrum Goerli testnet LINK [here](https://faucets.chain.link/arbitrum-goerli).
2. Connect your cryptocurrency wallet to the app if you haven't done so already. You may also need to fetch Arbitrum Sepolia testnet LINK [here](https://automation.chain.link/arbitrum-sepolia).

3. Click **Register new Upkeep** and select **Custom logic** trigger.

4. Under _Target contract address_, enter `0xC3d3656868594db09abD410821c9F9ab9812B4d1`. This contract uses logic stored on-chain and on-chain state to determine when to perform, incrementing a counter. It is an example of an Automation-compatible contract and can be read [here](https://goerli.arbiscan.io/address/0xC3d3656868594db09abD410821c9F9ab9812B4d1#code). Click **Next**.
4. Under _Target contract address_, enter `0xC3d3656868594db09abD410821c9F9ab9812B4d1`. This contract uses logic stored on-chain and on-chain state to determine when to perform, incrementing a counter. It is an example of an Automation-compatible contract and can be read [here](https://sepolia.arbiscan.io/address/0x6C0AAAeBcDb6F5D03759B8BF14b47BE491755530#readContract). Click **Next**.

<ClickToZoom src="/images/automation/getting-started/gs_clu_contract_address.png" />

Expand All @@ -90,15 +90,15 @@ Click the tabs below to use Chainlink Automation with each type of trigger:

**Increment an on-chain counter using a log as trigger.**

1. Navigate to the [Chainlink Automation app](https://automation.chain.link/) and connect to **Arbitrum Goerli** in the top dropdown menu.
1. Navigate to the [Chainlink Automation app](https://automation.chain.link/) and connect to **Arbitrum Sepolia** in the top dropdown menu.

2. Connect your cryptocurrency wallet to the app if you haven't done so already. You may also need to fetch Arbitrum Goerli testnet LINK [here](https://faucets.chain.link/arbitrum-goerli).
2. Connect your cryptocurrency wallet to the app if you haven't done so already. You may also need to fetch Arbitrum Sepolia testnet LINK [here](https://automation.chain.link/arbitrum-sepolia).

3. Click **Register new Upkeep** and select **log trigger**.

4. Under _Contract to automate_, enter `0xcf39b55F3E583DdEc8D418dB4708A71aA8453a83`. This is a simple `iLogAutomation`-compatible example contract that will increment a counter when a log is detected. The code is [here](https://goerli.arbiscan.io/address/0xcf39b55F3E583DdEc8D418dB4708A71aA8453a83#code). Click **Next**.
4. Under _Contract to automate_, enter `0xcf39b55F3E583DdEc8D418dB4708A71aA8453a83`. This is a simple `iLogAutomation`-compatible example contract that will increment a counter when a log is detected. The code is [here](https://sepolia.arbiscan.io/address/0xe817e4A71C69C72C01B31906F9F8591FbaB6b448#code). Click **Next**.

5. Under _Contract emitting logs_, enter `0xeB4ABE57c2ba0A467273f9b7fDed130AD863e923`. This is the contract Automation will listen to for emitted logs. The code is [here](https://goerli.arbiscan.io/address/0xeB4ABE57c2ba0A467273f9b7fDed130AD863e923#code). Click **Next**.
5. Under _Contract emitting logs_, enter `0xeB4ABE57c2ba0A467273f9b7fDed130AD863e923`. This is the contract Automation will listen to for emitted logs. The code is [here](https://sepolia.arbiscan.io/address/0x1260206b960bB07F12d48C19fad505CeFc071bDd#code). Click **Next**.

<ClickToZoom src="/images/automation/getting-started/gs_ltu_log_trigger_details.png" />

Expand All @@ -112,7 +112,7 @@ Click the tabs below to use Chainlink Automation with each type of trigger:

9. Click **Register Upkeep** and wait for the transaction to complete.

10. To trigger your upkeep call _bump_ on the trigger contract by navigating to the Arbitrum Goerli [scanner](https://goerli.arbiscan.io/address/0xeB4ABE57c2ba0A467273f9b7fDed130AD863e923#writeContract), connecting your wallet and executing the bump function. You can observe your upkeep's perform in the Automation dashboard.
10. To trigger your upkeep call _bump_ on the trigger contract by navigating to the Arbitrum Sepolia [scanner](https://sepolia.arbiscan.io/address/0x1260206b960bB07F12d48C19fad505CeFc071bDd#writeContract), connecting your wallet and executing the bump function. You can observe your upkeep's perform in the Automation dashboard.

You have successfully automated your first log trigger upkeep. To learn more about creating log trigger upkeeps, read [here](/chainlink-automation/guides/log-trigger).

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ Chainlink Automation is available on the following networks. All networks operat
- [Arbitrum](#arbitrum)
- Mainnet
- Goerli testnet
- Sepolia testnet
- [Optimism](#optimism)
- Mainnet
- Goerli testnet
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,12 @@
"registrarAddress": "0x86EFBD0b6736Bed994962f9797049422A3A8E8Ad"
},
"ARBITRUM_GOERLI": {
"registryAddress": "0x37D9dC70bfcd8BC77Ec2858836B923c560E891D1",
"registrarAddress": "0x86EFBD0b6736Bed994962f9797049422A3A8E8Ad"
"registryAddress": "0xaB9718E1DC7BD61Bd3440Fb771CC23DA0C0181a1",
"registrarAddress": "0xA6deE996014d9670144943c2bc90755829398d07"
},
"ARBITRUM_SEPOLIA": {
"registryAddress": "0x8194399B3f11fcA2E8cCEfc4c9A658c61B8Bf412",
"registrarAddress": "0x881918E24290084409DaA91979A30e6f0dB52eBe"
},
"OPTIMISM_MAINNET": {
"registryAddress": "0x696fB0d7D069cc0bb35a7c36115CE63E55cb9AA6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"maxPerformDataSize": 2000,
"flatFeeMicroLink": 10000,
"stalenessSeconds": 90000,
"registrar": "0x9a811502d843E5a03913d5A2cfb646c11463467A",
"registrar": "0xb0E49c5D0d05cbc241d68c05BC5BA1d1B7B72976",
"transcoder": "0x0000000000000000000000000000000000000000"
},
"ETHEREUM_GOERLI": {
Expand Down Expand Up @@ -146,7 +146,7 @@
"maxPerformDataSize": 5000,
"flatFeeMicroLink": 0,
"stalenessSeconds": 90000,
"registrar": "0xe601C5837307f07aB39DEB0f5516602f045BF14f",
"registrar": "0x0Bc5EDC7219D272d9dEDd919CE2b4726129AC02B",
"transcoder": "0x0000000000000000000000000000000000000000"
},
"POLYGON_MUMBAI": {
Expand Down Expand Up @@ -321,7 +321,32 @@
"maxPerformDataSize": 2000,
"flatFeeMicroLink": 0,
"stalenessSeconds": 90000,
"registrar": "0x1433C1BDfCF1b2E1CE843Ede6FcC5d6e409fE56E",
"registrar": "0xA6deE996014d9670144943c2bc90755829398d07",
"transcoder": "0x0000000000000000000000000000000000000000"
},
"ARBITRUM_SEPOLIA": {
"paymentPremiumPPB": 500000000,
"blockCountPerTurn": "Not Applicable",
"maxCheckDataSize": 5000,
"checkGasLimit": 10000000,
"gasCeilingMultiplier": 5,
"minUpkeepSpend": {
"type": "BigNumber",
"hex": "0x016345785d8a0000"
},
"maxPerformGas": 5000000,
"fallbackGasPrice": {
"type": "BigNumber",
"hex": "0x3b9aca00"
},
"fallbackLinkPrice": {
"type": "BigNumber",
"hex": "0xe16633456f732"
},
"maxPerformDataSize": 2000,
"flatFeeMicroLink": 0,
"stalenessSeconds": 90000,
"registrar": "0x881918E24290084409DaA91979A30e6f0dB52eBe",
"transcoder": "0x0000000000000000000000000000000000000000"
},
"OPTIMISM_MAINNET": {
Expand Down Expand Up @@ -371,7 +396,7 @@
"maxPerformDataSize": 2000,
"flatFeeMicroLink": 0,
"stalenessSeconds": 90000,
"registrar": "0x4F3AF332A30973106Fe146Af0B4220bBBeA748eC",
"registrar": "0xCA7A0b1F8153EcD3861899d468dC946F22B39114",
"transcoder": "0x395C8461299c9981E9D1A30d116F0c80a927d2A4"
}
}

1 comment on commit b3bff0a

@vercel
Copy link

@vercel vercel bot commented on b3bff0a Nov 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.