Repository navigation
chore(deploy): add Avalanche and HyperEVM fee collector networks - #17
Open
FabienCoutant wants to merge 7 commits into
Open
FabienCoutant wants to merge 7 commits into
FabienCoutant wants to merge 7 commits into
Conversation
- getLzEidReceiver: map "base" to EndpointId.BASE_V2_MAINNET (30184) - ConfigData.tokens: add "usdp" key (kept "par" for history) - base config: PRL/WETH pool, USDp + lz-USDp, isMainChainFeeDistributor - mainnet config: repoint side-chain fee routing to base/USDp - move arbiSepolia config out of base/
Wires the migrator to the canonical sPRL2 (legacy) and sPRL2V2 deployments read from the deployment records (format-agnostic).
Mirrors SetSPRL2Role for sPRL2V2: GUARDIAN (pause/unpause) and GOVERNOR (updateFeeReceiver/updateStartPenaltyPercentage/ updateTimeLockDuration/recoverERC20) selector groups.
Add Mainnet (Ethereum + Base) deployed addresses; drop token and shared-infra addresses (documented in their own repositories).
sPRL1 was already deployed on Base (0x01fA35fDE0E813e2D6687660a74A313d8D922E48); the run that also deployed sPRL2V2/fees redeployed a redundant one. Reference the existing pre-audit sPRL1 instead.
…erEVM fee collectors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds Avalanche and HyperEVM as deploy networks for the SideChainFeeCollector, and updates the deployment docs.
hardhat.config.tsandutils/getRpcURL.ts:avalanche(Alchemy) andhyperevm(public Hyperliquid RPC) networks.deploy/config/avalancheanddeploy/config/hyperevm: fee collector config only (AccessManager, DAO, USDp, bridgeable token, Base as main chain and the Base MainFeeDistributor as destination receiver). No staking config: sPRL2 stays on mainnet and Base only.docs/Deployment.md: lists the Avalanche (0x7d2C…07c5) and HyperEVM (0x2f77…8574) SideChainFeeCollectors, and fixes the mainnet addresses of the legacy sPRL2 and of sPRL2Migrator.The first five commits come from
deploy/tokenomics-v2and are shared with #16 (Base network support, sPRL2Migrator deploy script, SetSPRL2V2Role script, deployment docs). The docs commit builds on them. They drop out of this diff once #16 is merged, leaving the last two commits.