OFT/OApp

Off-Chain (Private)
Audited on 2024/01/30
No active critical issues

Summary

LayerZero offers a set of smart contracts that implement Omnichain Applications and Omnichain Fungible Tokens, which are built on top of the LayerZero’s protocol. Omnichain Fungible Tokens extend the standard ERC20 tokens by providing bridging functionalities to other chains natively. This review is focused only on the execution layer, while the underlying infrastructure for message passing is assumed to be correct. — “LayerZero is an interoperability protocol that connects blockchains (50+ and counting), allowing developers to build seamless omnichain applications, tokens, and experiences. The protocol relies on immutable on-chain endpoints, a configurable Security Stack, and a permissionless set of Executors to transfer censorship-resistant messages between chains.

Issues (9)

Low
Medium
High
Critical
Total
Not fixed
31--4
Fixed
41--5
Total72009
Broken Integration With Special ERC20 Tokens
not_fixed/medium

None
Missing Event for New Delegatee
not_fixed/low

None
Unsafe Casting in _toSD
not_fixed/low

None
Update of lzToken
not_fixed/low

None

Contracts (12)

#File Name
1

- oft/libs/OFTMsgCodec.sol

2

- oapp/OAppOptionsType3.sol (libs/OAppOptionsType3.sol

3

- oft/libs/OFTAdapter.sol

4

- oft/libs/OFT.sol

5

- oft/libs/OFTComposeMsgCodec.sol

6

- oapp/OAppCore.sol

7

- oapp/OApp.sol

8

- oapp/OAppSender.sol

9

- precrime/interfaces/IOAppPreCrimeSimulator.sol

10

- oft/libs/OFTCore.sol