IForeignGateway
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
Name | Type | Description |
---|---|---|
_disputeHash | bytes32 | The 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
Name | Type | Description |
---|---|---|
_disputeHash | bytes32 | dispute hash |
homeChainID
function homeChainID() external view returns (uint256);
Returns
Name | Type | Description |
---|---|---|
<none> | uint256 | The chain ID where the corresponding home gateway is deployed. |
homeGateway
function homeGateway() external view returns (address);
Returns
Name | Type | Description |
---|---|---|
<none> | address | The 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
);