IHomeGateway

Git Source

Inherits: IArbitrable, IMetaEvidence, ISenderGateway

Functions

relayCreateDispute

Provide the same parameters as on the foreignChain while creating a dispute. Providing incorrect parameters will create a different hash than on the foreignChain and will not affect the actual dispute/arbitrable's ruling.

function relayCreateDispute(
    uint256 _foreignChainID,
    bytes32 _foreignBlockHash,
    uint256 _foreignDisputeID,
    uint256 _choices,
    bytes calldata _extraData,
    address _arbitrable
) external payable;

Parameters

NameTypeDescription
_foreignChainIDuint256foreignChainId
_foreignBlockHashbytes32foreignBlockHash
_foreignDisputeIDuint256foreignDisputeID
_choicesuint256number of ruling choices
_extraDatabytesextraData
_arbitrableaddressarbitrable

disputeHashToHomeID

Looks up the local home disputeID for a disputeHash. For cross-chain Evidence standard.

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

Parameters

NameTypeDescription
_disputeHashbytes32dispute hash