mirror of
https://github.com/luxfi/bridge.git
synced 2026-09-24 00:26:46 +00:00
Quotes for the two flagship corridors returned "no bridge route": the quote engine had only a 1:1 wrap table with no cross-asset edges. Add a separate priced corridor table (LUX<->ZOO, LUX<->ETH, read symmetrically) kept apart from the wrap table on purpose — a 1:1 cross-asset edge would re-mint value. A corridor settles at amount * price(src)/price(dst) minus the 1% Lux exit fee, pricing every core asset (LUX, ZOO, ETH, LBTC) from the token price feed. It never invents a price: a missing leg throws and surfaces as 503 price_unknown, cleanly distinct from the 400 of a genuinely unroutable pair. Destination release still needs the live MPC signer cluster. Co-authored-by: Hanzo Dev <[email protected]>