IForeignGateway

Git Source

Inherits: IArbitratorV2, IReceiverGateway

Functions

relayRule

Relay the rule call from the home gateway to the arbitrable.

function relayRule(address _messageSender, bytes32 _disputeHash, uint256 _ruling, address _forwarder) external;

withdrawFees

Reimburses the dispute fees to the relayer who paid for these fees on the home chain.

function withdrawFees(bytes32 _disputeHash) external;

Parameters

NameTypeDescription
_disputeHashbytes32The dispute hash for which to withdraw the fees.

disputeHashToForeignID

Looks up the local foreign disputeID for a disputeHash

function disputeHashToForeignID(bytes32 _disputeHash) external view returns (uint256);

Parameters

NameTypeDescription
_disputeHashbytes32dispute hash

homeChainID

function homeChainID() external view returns (uint256);

Returns

NameTypeDescription
<none>uint256The chain ID where the corresponding home gateway is deployed.

homeGateway

function homeGateway() external view returns (address);

Returns

NameTypeDescription
<none>addressThe address of the corresponding home gateway.

Events

CrossChainDisputeOutgoing

To be emitted when a dispute is sent to the IHomeGateway.

event CrossChainDisputeOutgoing(
    bytes32 _foreignBlockHash,
    address indexed _foreignArbitrable,
    uint256 indexed _foreignDisputeID,
    uint256 _choices,
    bytes _extraData
);