Bridge

deriveConnectorAddress

Derive connector address by it's id.

function deriveConnectorAddress(
        uint64 id
    ) override external returns(address connector)

Parameters:

NameTypeDescription

id

uint 64

Connector id

Return values:

NameTypeDescription

connector

address

The address of the connector

_deriveConnectorAddress

Initializes state by setting contract, id, bridge address and connector code and returns connector address based on the state initialized

function _deriveConnectorAddress(
        uint64 id
    ) internal view returns (address)

Parameters:

NameTypeDescription

id

uint64

Connector id

Return values:

TypeDescription

address

The address of the connector

deployConnector

Deploy new connector.

function deployConnector(
        address _eventConfiguration
    ) override public reserveMinBalance(MIN_CONTRACT_BALANCE)

Parameters:

NameTypeDescription

_eventConfiguration

address

Event configuration address to connect

Events emitted:

  • ConnectorDeployed

Last updated