L2BEAT Bridges is a work in progress. You might find incomplete research or inconsistent naming. Join our discord to suggest improvements!
StarGate is built on top of LayerZero protocol and is a liquidity network for cross-chain transfer for assets. It leverages an oracle and relayer for cross-chain security for the protocol.
If you find something wrong on this page you can submit an issue or edit the information.
StarGate is a Liquidity Network. It relies on liquidity providers to supply tokens to liquidity pools on each chain. Users can swap tokens between chains by transferring their tokens to a pool and receive token from the pool on the destination chain.
StarGate is built on top of LayerZero protocol. LayerZero relies on oracles to periodically submit source chain block hashes to the destination chain. Once block hash is submitted, relayers can provide the merkle proof for the transfers / swaps.
Users can be censored if oracles or relayers fail to facilitate the transfer (CRITICAL).
Funds can be stolen if oracles and relayers collude to submit fraudulent block hash and relay fraudulent transfer (CRITICAL).
Bridge owner, can create new pools, chainpaths, set fees. This is a Gnosis Safe with 3 / 6 threshold.
Those are the participants of the StarGate Multisig.
The owner of Endpoint, UltraLightNode and Treasury contracts. Can switch to a new UltraLightNode for an Endpoint. Can switch proof library for an UltraLightNode and change Treasury. This is a Gnosis Safe with 2 / 5 threshold.
Those are the participants of the LayerZero Multisig.
Contract authorized to relay messages and - as a result - withdraw funds from the bridge.
Can upgrade LayerZero relayer contract with no delay.
Can upgrade LayerZero oracle contract with no delay.
Entry point for the user interaction with StarGate Bridge, handles the logic of swaps and adding liquidity, send messages to the bridge.
Main bridge contract, receives messages from LayerZero Endpoint, stores bridge configuration.
LayerZero Ethereum Endpoint.
LayerZero UltraLight Node. Used by oracles to checkpoint source chain block hashes.
LayerZero UltraLight Node.
USDC Pool. This contract stores the following tokens: USDC.
USDT Pool. This contract stores the following tokens: USDT.
ETH Pool. This contract stores the following tokens: ETH.
The current deployment carries some associated risks:
the source code of unverified contracts contains malicious code (CRITICAL).