BridgeForwarder
Inherits: StargateV2, Across, SquidRouter, GasZip
Aggregates multiple bridge calls
Functions
_bridge
Routes to appropriate bridge operation based on operation ID
Supports Stargate V2, Across, SquidRouter, and GasZip bridges
Note: calldata-offset-table:
| Offset | Length (bytes) | Description |
|---|---|---|
| 0 | 1 | bridgeOperation |
function _bridge(uint256 currentOffset) internal returns (uint256);
Parameters
| Name | Type | Description |
|---|---|---|
currentOffset |
uint256 |
Current position in the calldata |
Returns
| Name | Type | Description |
|---|---|---|
<none> |
uint256 |
Updated calldata offset after processing |