Skip to content

docs: add bridge meta-protocol and magic constants#71

Open
jpthor wants to merge 1 commit into
mainfrom
jp/bridge
Open

docs: add bridge meta-protocol and magic constants#71
jpthor wants to merge 1 commit into
mainfrom
jp/bridge

Conversation

@jpthor

@jpthor jpthor commented Jan 6, 2026

Copy link
Copy Markdown
Contributor

Summary

Updates the metarules documentation to include the new bridge functionality added in vultisig/recipes#422.

Changes

  • Added ethereum.bridge to the MetaRules examples table
  • Added bridge case to the MetaRule expansion code example
  • Added bridge-related magic constants:
    • LIFI_ROUTER - LiFi cross-chain aggregator
    • ARBITRUM_L1_GATEWAY / ARBITRUM_L2_GATEWAY - Arbitrum native bridge
    • OPTIMISM_L1_BRIDGE / OPTIMISM_L2_BRIDGE - Optimism native bridge
    • BASE_L1_BRIDGE / BASE_L2_BRIDGE - Base native bridge
    • ACROSS_SPOKE_POOL - Across Protocol
    • DEBRIDGE_DLN_SOURCE - deBridge DLN Protocol

Related PRs

- Add ethereum.bridge to MetaRules examples table
- Add bridge case to MetaRule expansion code example
- Add bridge-related magic constants (LIFI_ROUTER, L1/L2 bridges, ACROSS_SPOKE_POOL, DEBRIDGE_DLN_SOURCE)

@gomesalexandre gomesalexandre left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Accurate docs update mirroring recipes#422. Magic constant gaps (4,5,13,14) are expected — those slots are used elsewhere or reserved. Approved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants