From 4cdd70346540143ed5b204d8c0e174d57f3bd0e5 Mon Sep 17 00:00:00 2001 From: TucksonDev Date: Tue, 17 Dec 2024 12:26:22 +0000 Subject: [PATCH 1/3] Add AEP fee routing addresses back --- .../how-tos/set-up-aep-fee-router.mdx | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arbitrum-docs/launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx b/arbitrum-docs/launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx index 937294cb3..8769823c3 100644 --- a/arbitrum-docs/launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx +++ b/arbitrum-docs/launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx @@ -2,8 +2,8 @@ title: 'How to set up an AEP fee router' sidebar_label: 'Set up an AEP fee router' description: 'Learn how to implement AEP fee router.' -author: Midroni -sme: Midroni +author: Midroni, TucksonDev +sme: Midroni, TucksonDev user_story: As a current Orbit chain owner, I need to learn how to set up an AEP fee router. content_type: how-to --- @@ -12,7 +12,6 @@ content_type: how-to You can adopt the AEP Fee Router by using the [AEP Router deployment scripts](https://github.com/OffchainLabs/arbitrum-orbit-sdk/tree/main/examples/setup-aep-fee-router) provided in the [Orbit SDK](https://github.com/OffchainLabs/arbitrum-orbit-sdk/tree/main) - ## The AEP fee router contract system @@ -49,7 +47,7 @@ This includes: - Another `ChildToParentRouter` configured to the same gas token and configured to send funds to a successive parent chain (this is the case for a Layer-3 network or higher) - Deploying a `RewardDistributor` contract configured to forward 10% of fees to the `ChildToParentRouter` and 90% to the chain owner’s preferred reward-receiving address. -In the event that a `ChildToParentRouter` does not connect to the address controlled by the Arbitrum Foundation on Ethereum, an Orbit chain must deploy successive `ChildToParentRouter` contracts until a connection to such address is established. +In the event that a `ChildToParentRouter` does not connect to the address controlled by the Arbitrum Foundation on Ethereum, an Orbit chain must deploy successive `ChildToParentRouter` contracts until a connection to such address is established. Additional `ChildToParentRouter` contracts configured to route ETH have been deployed in certain networks and can be leveraged by chains created on top of these networks. You can see which networks have a router deployed [here](#canonical-contracts). Optionally, an Orbit chain can decide to deduct assertion costs by following the instructions in the [Deducting Assertion Costs](/launch-orbit-chain/how-tos/calculate-aep-fees#assertion-costs) section: @@ -64,7 +62,6 @@ In the absence of these, please send `ETH` through the AEP Fee Router to fulfill The Orbit SDK provides a [configurable script](https://github.com/OffchainLabs/arbitrum-orbit-sdk/tree/main/examples/setup-aep-fee-router) that allows a chain operator to deploy quickly and set up the AEP fee router contracts. - The script performs the following operations: @@ -95,7 +91,7 @@ To configure the script, you need to specify the following [environment variable - `ORBIT_CHAIN_ID`: chain id of the Orbit chain - `ORBIT_CHAIN_RPC`: RPC of the Orbit chain - `PARENT_CHAIN_ID`: chain id of the parent chain, which shouldn't be an Arbitrum chain -- `PARENT_CHAIN_TARGET_ADDRESS`: address on the parent chain where 10% of the revenue will be sent to. Please, contact the Arbitrum Foundation to obtain the specific target address for your chain. +- `PARENT_CHAIN_TARGET_ADDRESS`: address on the parent chain where 10% of the revenue will be sent to. You can find the potential target addresses in this document's [canonical contracts](#canonical-contracts) section. If the parent chain is not on that list, or if your chain uses a gas token different than the one the router is configured for, contact the Arbitrum Foundation to obtain a specific target address for your chain. Finally, follow these steps to execute the script (from the `examples/setup-aep-fee-router` folder): From 90bf876d5d72ee702b53381362313d95f8050066 Mon Sep 17 00:00:00 2001 From: TucksonDev Date: Tue, 17 Dec 2024 16:27:17 +0000 Subject: [PATCH 2/3] Include new routers --- .../launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arbitrum-docs/launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx b/arbitrum-docs/launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx index 8769823c3..54688e758 100644 --- a/arbitrum-docs/launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx +++ b/arbitrum-docs/launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx @@ -17,8 +17,8 @@ You can adopt the AEP Fee Router by using the [AEP Router deployment scripts](ht | Network | Contract | Address | Configured for | | ------------- | --------------------------------------- | ------------------------------------------------------------------------------------------------------------------------- | --------------- | | Ethereum | `Arbitrum Foundation's multisig wallet` | [0x1Afa41C006dA1605846271E7bdae942F2787f941](https://etherscan.io/address/0x1Afa41C006dA1605846271E7bdae942F2787f941) | `ETH`, `ERC-20` | -| Arbitrum Nova | `Child2ParentRouter` | [0x36D0170D92F66e8949eB276C3AC4FEA64f83704d](https://nova.arbiscan.io/address/0x36D0170D92F66e8949eB276C3AC4FEA64f83704d) | `ETH` | -| Base | `Child2ParentRouter` | [0x1015c1ae166c4c39d18a1151b7029bac1530c9aa](https://basescan.org/address/0x1015c1ae166c4c39d18a1151b7029bac1530c9aa) | `ETH` | +| Arbitrum Nova | `Child2ParentRouter` | [0xd27cb0fe2a696ebaa80d606ce0edf55aabaeab84](https://nova.arbiscan.io/address/0xd27cb0fe2a696ebaa80d606ce0edf55aabaeab84) | `ETH` | +| Base | `Child2ParentRouter` | [0xd9a2e0e5d7509f0bf1b2d33884f8c1b4d4490879](https://basescan.org/address/0xd9a2e0e5d7509f0bf1b2d33884f8c1b4d4490879) | `ETH` | ## The AEP fee router contract system From 5607d4157245459309b1f07cd40edc4d848dce44 Mon Sep 17 00:00:00 2001 From: TucksonDev Date: Tue, 17 Dec 2024 16:38:45 +0000 Subject: [PATCH 3/3] Smol change to trigger deployment --- .../launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arbitrum-docs/launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx b/arbitrum-docs/launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx index 54688e758..b28b645f2 100644 --- a/arbitrum-docs/launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx +++ b/arbitrum-docs/launch-orbit-chain/how-tos/set-up-aep-fee-router.mdx @@ -1,7 +1,7 @@ --- title: 'How to set up an AEP fee router' sidebar_label: 'Set up an AEP fee router' -description: 'Learn how to implement AEP fee router.' +description: 'Learn how to setup an AEP fee router.' author: Midroni, TucksonDev sme: Midroni, TucksonDev user_story: As a current Orbit chain owner, I need to learn how to set up an AEP fee router.