← Back to home

Rebaseable

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.

Screenshots

Rebaseable screenshot 1
Rebaseable screenshot 2
Rebaseable screenshot 3
Rebaseable screenshot 4
Rebaseable screenshot 5

Problem Statement

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.

Solution

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.

Hackathon

ETHGlobal Bangkok

2024

Prizes

  • 🏆

    Blockscout Explorer Big Pool Prize

    Blockscout

  • 🏆

    Best Use Case of L1SLOAD3rd place

    Scroll

  • 🏆

    World Pool Prize

    World

  • 🏆

    Build on Decentralized Payments Infrastructure with Gnosis Pay1st Place

    Gnosis

Contributors