Contracts Reference
RelayBridgeFactory
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
address HYPERLANE_MAILBOX
mapping(address => address[]) bridgesByAsset
event BridgeDeployed(address bridge, address asset, contract BridgeProxy proxyBridge)
| Name | Type | Description |
|---|---|---|
| bridge | address | The address of the newly deployed RelayBridge contract |
| asset | address | The address of the asset that the bridge will handle |
| proxyBridge | contract BridgeProxy | The BridgeProxy contract associated with this bridge |
constructor(address hMailbox) public
| Name | Type | Description |
|---|---|---|
| hMailbox | address | The address of the Hyperlane mailbox contract |
function deployBridge(address asset, contract BridgeProxy proxyBridge) public returns (address)
| Name | Type | Description |
|---|---|---|
| asset | address | The address of the asset (token) that the bridge will handle |
| proxyBridge | contract BridgeProxy | The BridgeProxy contract that will work with this bridge |
| Name | Type | Description |
|---|---|---|
| [0] | address | The address of the newly deployed RelayBridge contract |
Was this page helpful?