Solidity API
IRelayBridge
Interface for the RelayBridge contract Defines the bridge function for cross-chain asset transfersbridge
Parameters
Return Values
RelayBridge
RelayBridge contract enabling cross-chain bridging via Hyperlane Bridges assets from an origin chain to a configured pool chainBridgeTransaction
Internal struct capturing parameters for a bridge transactionBridgingFailed
Parameters
InsufficientValue
Parameters
FailedFeeRefund
Parameters
transferNonce
ASSET
BRIDGE_PROXY
HYPERLANE_MAILBOX
BridgeInitiated
Parameters
BridgeExecuted
Parameters
BridgeCancelled
Parameters
constructor
Parameters
getFee
Parameters
Return Values
bridge
- Validates sufficient payment for fees (and asset amount if native)
- Transfers the asset from sender to this contract (if ERC20)
- Executes bridge logic via delegatecall to BRIDGE_PROXY
- Dispatches cross-chain message via Hyperlane
- Refunds any excess native currency to sender_