Settling an Ante using a smart contract
/// @title The interface for a AnteSettlement smart contract
interface IAnteSettlement {
enum WinningSide {
NONE,
A,
B
}
/// @notice Settles the outcome of a given commitment
/// @param data Arbitrary data used to determine the outcome
/// @return the winning side
function settle(bytes memory data) external returns (WinningSide);
}Last updated