Repository navigation
feat(FraxFacet): add Frax HopV2 (LayerZero OFT) bridge facet (EXSC-382) [FraxFacet v1.0.0, IFraxHopV2 v1.0.0] #2048
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 17 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
9c4bbba
feat(FraxFacet): add Frax HopV2 (LayerZero OFT) bridge facet + config…
0xDEnYO d6f5d58
feat(FraxFacet): harden swap-path guards + Tempo fee sweep; add docs …
0xDEnYO 5204fc3
test(FraxFacet): fork + mock suite, 100% line coverage incl. Tempo ER…
0xDEnYO 42bfa17
feat(FraxFacet): add demo script; flag unverified API slug + fix Temp…
0xDEnYO 0c28eda
fix(FraxFacet): address CodeRabbit review — demo aborts on quote-rout…
0xDEnYO 9b1e149
Merge remote-tracking branch 'origin/main' into feature/exsc-382-frax…
0xDEnYO 9efefa0
feat(FraxFacet): validate destinationChainId via governed EID mapping…
0xDEnYO 091c63a
refactor(config): single-source LayerZero EIDs in config/layerzero.js…
0xDEnYO f5f1b50
chore(deploy): register FraxFacet v1.0.0 on arbitrum staging (EXSC-382)
0xDEnYO 047a4d6
chore(demoFrax): lower demo amount to 5 frxUSD for staging smoke test…
0xDEnYO 3c47544
docs(demoFrax): record verified arbitrum-staging bridge tx hash (EXSC…
0xDEnYO 5adc7dc
refactor(config): sparse optional per-network config values + _getOpt…
0xDEnYO c06ffd9
refactor(config): inline LayerZero EIDs per-facet; drop layerzero.jso…
0xDEnYO 8101e8d
feat(config): add abstract (2741 -> EID 30324) to FraxFacet mappings …
0xDEnYO 7a19f30
fix(FraxFacet): address peer review — selector collision, fee over-pu…
0xDEnYO 4daf2f1
chore(deploy): arbitrum staging — redeploy renamed FraxFacet, restore…
0xDEnYO 36fff99
Merge remote-tracking branch 'origin/main' into feature/exsc-382-frax…
0xDEnYO f08d37f
feat(FraxFacet): address Frax external review — deprecated spokes, no…
0xDEnYO 29b29d8
Merge remote-tracking branch 'origin/main' into feature/exsc-382-frax…
gvladika cd43e23
refactor(FraxFacet): route EVM recipient cast through LibBytes.toByte…
gvladika 6a25ce9
chore(deploy): FraxFacet v1.0.0 to arbitrum + base staging (EXSC-382)
gvladika 3ae7e5f
Merge remote-tracking branch 'origin/main' into feature/exsc-382-frax…
gvladika 9f7ec7e
fix(FraxFacet): Frax-scope immutable getter selectors (audit sujithso…
gvladika fc95b1a
fix(FraxFacet): clarify Tempo fee-token funding is caller approve, no…
gvladika c87fcab
docs(FraxFacet): drop 'to be confirmed' hedge from Tempo fee-funding …
gvladika e4aa5c1
docs(FraxFacet): trim Tempo fee-funding note to the approval requirem…
gvladika 0cf0cd0
fix(FraxFacet): cap Tempo LZ fee via BE-supplied nativeFee instead of…
gvladika 78610f4
chore(audit): file FraxFacet v1.0.0 audit report (EXSC-382)
gvladika 96e3731
Merge remote-tracking branch 'origin/main' into audit/fraxfacet-remed…
gvladika 402ac18
chore(clear-signing): regenerate proposal after main merge (EXSC-382)
gvladika File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,128 @@ | ||
| { | ||
| "DEV NOTICE": "after adding a new mapping, call initFrax (first deploy, wired into UpdateFraxFacet) or setFraxChainIdToEid (incremental update) on every diamond where FraxFacet is deployed. Every destination chain a route targets MUST be seeded here first (unseeded destinations revert UnsupportedChainId). Source for LayerZero EIDs: https://docs.layerzero.network/v2/deployments/deployed-contracts. \"tipFeeManager\"/\"pathUsd\" are intentionally sparse: they list ONLY chains where the value is non-zero (currently just Tempo). Any chain absent from these maps deploys with address(0) — do NOT pad them with zero entries for other networks (see rule 004-config-structure).", | ||
| "hop": { | ||
| "mainnet": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "abstract": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "arbitrum": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "avalanche": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "base": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "berachain": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "bsc": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "fraxtal": "0x00000000e18aFc20Afe54d4B2C8688bB60c06B36", | ||
| "hyperevm": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "ink": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "katana": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "linea": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "mode": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "monad": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "optimism": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "plume": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "polygon": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "scroll": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "sei": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "somnia": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "sonic": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "stable": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "tempo": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "unichain": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "worldchain": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "xlayer": "0x0000006D38568b00B457580b734e0076C62de659", | ||
| "zksync": "0x0000006D38568b00B457580b734e0076C62de659" | ||
| }, | ||
| "tipFeeManager": { | ||
| "tempo": "0xfeEC000000000000000000000000000000000000" | ||
| }, | ||
| "pathUsd": { | ||
| "tempo": "0x20C0000000000000000000000000000000000000" | ||
| }, | ||
| "mappings": [ | ||
| { | ||
| "chainId": 1, | ||
| "lzEid": 30101 | ||
| }, | ||
| { | ||
| "chainId": 10, | ||
| "lzEid": 30111 | ||
| }, | ||
| { | ||
| "chainId": 56, | ||
| "lzEid": 30102 | ||
| }, | ||
| { | ||
| "chainId": 130, | ||
| "lzEid": 30320 | ||
| }, | ||
| { | ||
| "chainId": 137, | ||
| "lzEid": 30109 | ||
| }, | ||
| { | ||
| "chainId": 143, | ||
| "lzEid": 30390 | ||
| }, | ||
| { | ||
| "chainId": 146, | ||
| "lzEid": 30332 | ||
| }, | ||
| { | ||
| "chainId": 196, | ||
| "lzEid": 30274 | ||
| }, | ||
| { | ||
| "chainId": 252, | ||
| "lzEid": 30255 | ||
| }, | ||
| { | ||
| "chainId": 324, | ||
| "lzEid": 30165 | ||
| }, | ||
| { | ||
| "chainId": 480, | ||
| "lzEid": 30319 | ||
| }, | ||
| { | ||
| "chainId": 999, | ||
| "lzEid": 30367 | ||
| }, | ||
| { | ||
| "chainId": 1329, | ||
| "lzEid": 30280 | ||
| }, | ||
| { | ||
| "chainId": 2741, | ||
| "lzEid": 30324 | ||
| }, | ||
| { | ||
| "chainId": 8453, | ||
| "lzEid": 30184 | ||
| }, | ||
| { | ||
| "chainId": 34443, | ||
| "lzEid": 30260 | ||
| }, | ||
| { | ||
| "chainId": 42161, | ||
| "lzEid": 30110 | ||
| }, | ||
| { | ||
| "chainId": 43114, | ||
| "lzEid": 30106 | ||
| }, | ||
| { | ||
| "chainId": 57073, | ||
| "lzEid": 30339 | ||
| }, | ||
| { | ||
| "chainId": 59144, | ||
| "lzEid": 30183 | ||
| }, | ||
| { | ||
| "chainId": 98866, | ||
| "lzEid": 30370 | ||
| }, | ||
| { | ||
| "chainId": 534352, | ||
| "lzEid": 30214 | ||
| } | ||
| ] | ||
| } |
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.