IHomeGateway
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
Name | Type | Description |
---|---|---|
_foreignChainID | uint256 | foreignChainId |
_foreignBlockHash | bytes32 | foreignBlockHash |
_foreignDisputeID | uint256 | foreignDisputeID |
_choices | uint256 | number of ruling choices |
_extraData | bytes | extraData |
_arbitrable | address | arbitrable |
disputeHashToHomeID
Looks up the local home disputeID for a disputeHash. For cross-chain Evidence standard.
function disputeHashToHomeID(bytes32 _disputeHash) external view returns (uint256);
Parameters
Name | Type | Description |
---|---|---|
_disputeHash | bytes32 | dispute hash |