Variables
payoutNumerators
payoutDenominator
Events
ConditionPreparation
ConditionResolution
PositionSplit
PositionsMerge
PayoutRedemption
Functions
prepareCondition
reportPayouts
keccak256(abi.encodePacked(oracle, questionId, outcomeSlotCount)), where oracle is the message sender, questionId is one of the parameters of this function, and outcomeSlotCount is the length of the payouts parameter, which contains the payoutNumerators for each outcome slot of the condition.
Parameters
splitPosition
amount collateral from the message sender to itself. Otherwise, this contract will burn amount stake held by the message sender in the position being split worth of EIP 1155 tokens. Regardless, if successful, amount stake will be minted in the split target positions. If any of the transfers, mints, or burns fail, the transaction will revert. The transaction will also revert if the given partition is trivial, invalid, or refers to more slots than the condition is prepared with.
Parameters
mergePositions
redeemPositions
getOutcomeSlotCount
Return Values