Back to AuditsiLayer logo

LayerZero Integration

Summary

Comprehensive security audit of iLayer's LayerZero integration, covering cross-chain messaging, AMM functionality, and asset bridging mechanisms.

Audited Functionality

iLayer is a multi-layered protocol for intent-based transactions, leveraging advanced solvers to provide fast, efficient liquidity for dApps.

For this audit, the Cross-chain Orderbook subsystem was audited, also referred to as iLayer Core and its integration with LayerZero for cross-chain messaging.

The Cross-chain Orderbook is a decentralized transaction matching engine, designed to align user intents with solvers. Users create orders on one chain, with filling to be done on another, and fillers (sometimes arbitrary) complete them for a part of the order as a slippage equivalent.

The orderbook is composed of two main components:

  • OrderHub: The main entry point of the system. Users can create their orders via the order hub. The hub then passes the order ID, through LayerZero, to the settling chain, to signal fillers that an order is available.
  • OrderSpoke: Receives the order from the order hub via LayerZero, fills the order, and then initiates the settling on the OrderHub contract; again, through LZ.

The orderbook can work with Native tokens, ERC-20, ERC-721 and ERC-1155 tokens and also offers gasless transactions by using EIP-712 signatures and ERC-2612 permit-compatible tokens.

As a result of the current audit, support for meta-transactions (ERC-2771) was added.

Findings Breakdown

16|Total Findings
4 High3 Medium4 Low5 Info
All findings have been resolved or acknowledged by the client.

About iLayer

ilayer.io

iLayer is a programmable intent-based execution layer designed for cross-chain interoperability across modular blockchains. The platform is aimed at simplifying cross-chain integrations by allowing developers to define intents without dealing with bridge complexities and by significantly reducing implementation times. iLayer provides unified liquidity access across multiple DeFi protocols and chains, gasless transactions where solvers handle execution, and a trustless orderbook-style model where assets never leave the origin chain.

Details

Date
Apr 2025
Client
iLayer
Disclosure
Public
Blockchain
EVMEVM

Full Report

Download the complete audit report with all findings and recommendations.