The first cross-chain bridge for rebasing tokens, leveraging Scroll's L1SLOAD precompile, EIP-4788, and LayerZero to preserve rebase events and ensure consistent token behavior across chains.
Prize Pool
Prize Pool
This project enables rebasing tokens, such as stETH, to operate seamlessly across chains while preserving rebase events. The system uses Scroll’s L1SLOAD precompile for fast and cost-effective access to L1 blockchain and contract states, enabling instant and accurate rebase updates. EIP-4788 is integrated to verify that Lido Oracle reports are consistent with specific block roots, ensuring data integrity. This verification involves confirming the block root via EIP-4788, ensuring the report’s slot matches the block number, and processing reports in order. LayerZero’s lzRead is also utilized for reliable cross-chain communication, maintaining compatibility and accurate data flow.
The project uses Scroll’s L1SLOAD precompile to efficiently access L1 blockchain and contract states, enabling fast and cost-effective updates for rebasing tokens like stETH. EIP-4788 is utilized to read Ethereum network rewards and integrate them into the rebase calculations. Cross-chain transfers between L1 and Scroll leverage ScrollMessenger, with continuous state monitoring through L1Load for instant updates. For broader cross-chain functionality, the OFTAdapter allows token transfers to any chain, and LayerZero’s lzRead ensures reliable data access despite early-stage limitations. The frontend is built with MobX, and the backend is implemented in Rust for scalability and performance.