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

function withdrawFees(bytes32 _disputeHash) external;

disputeHashToForeignID

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

createDisputeERC20

function createDisputeERC20(uint256 _choices, bytes calldata _extraData, uint256 _amount)
    external
    returns (uint256 disputeID);

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
);