Relayer Overview
Scope of Work
Relay proof across chains, and pay the cost for lzReceive execution.
Gas Composition
The receiving side smart contract overhead + proof cost + lzReceive. Plus, the gas varies from chain to chain.
lzReceive
we will have a default configuration per chain:
Overhead | Max Proof Cost (Estimate) | default lzReceive | |
---|---|---|---|
Ethereum | 240303 | ||
Avalanche | 265574 | ||
BSC | 283471 | ||
Polygon | 341630 | ||
Arbitrum | 173074 | ||
Optimism | N/A | ||
Fantom | Need Valid RPC |
Market Risk
Charging native token A at the source chain, but paying native token B at the destination chain.
The business itself is long A / short B, can hedge the market risk with short A / long B in exchanges, or balance the book timely.