Skip to main content

Variables

P

B

Functions

getConditionId

Constructs a condition ID from an oracle, a question ID, and the outcome slot count for the question. Parameters

getCollectionId

Constructs an outcome collection ID from a parent collection and an outcome collection. Parameters

getPositionId

Constructs a position ID from a collateral token and an outcome collection. These IDs are used as the ERC-1155 ID for this contract. Parameters