Repository navigation
feat(bridge): receive HYPE on Elysium - #132
Closed
Vasanthdev2004 wants to merge 1 commit into
Closed
Vasanthdev2004 wants to merge 1 commit into
Vasanthdev2004 wants to merge 1 commit into
Conversation
HYPE, Elysium's gas token, can now arrive there as the asset of any route into Elysium. It is never sent. The asset registry gains a send and a receive side, so Elysium sends USDC and receives USDC or HYPE. Relay delivers HYPE by swapping its Elysium USDC, so a failed fill refunds that USDC on Elysium. The registry pins this as the one destination refund HYPE may use; every other output still refunds in itself, and the rest of the order checks are unchanged. The panel offers a one-tap switch to HYPE when Elysium receives USDC, the /bridge page lists HYPE as receive only, and a buy paid in HYPE on Elysium can now be bridged into. Gas top-ups and sending HYPE stay out: neither is part of the signed deposit this bridge verifies. The live test no longer asks Relay for the status of a Circle quote, which USDC routes into Arc now return.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
This was referenced Nov 10, 2026
Collaborator
Author
|
Closed in favour of #135, which holds the whole bridge update in one PR. The commits from this PR are in it unchanged. |
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.
Stacked on #131 (
feat/bridge-elysium), including its latest commitcd910df. Phase 7 of the bridge update.What changes
HYPE, Elysium's gas token, can now arrive on Elysium as the asset of any route there. It is never sent. This adds eleven routes, seventy-three in all: into HYPE from Base ETH and USDC, Robinhood ETH and USDG, Arc USDC, and ETH or USDC from Ethereum, Arbitrum and Optimism.
BRIDGE_SEND_ASSETS,BRIDGE_RECEIVE_ASSETS). Elysium sends USDC and receives USDC or HYPE. Every asset check names its side, so HYPE is refused as a source everywhere (requests, links, stored transfers, route changes, history).0xb47c…0B65as the only destination refund HYPE may use. Native HYPE, any other token, or the origin's currency as that refund is refused, and so is a HYPE request paid out in USDC. Every other output still refunds in itself, USDC into Elysium included. The rest of the order checks are unchanged.Left out on purpose
topupGas). The HYPE it adds appears only in the quote's details, not in the signed order's payments, so nothing verified guarantees it arrives. Its $2 default is 8% of a $25 transfer.0xcd6e13f7), not the depository deposit this bridge verifies.Verification
docs/bridge.md.tscandeslintare clean.