getConditionId(oracle, questionId, outcomeSlotCount)
oracle
: address - UMA adapter V2questionId
: bytes32 - hash of the UMA ancillary dataoutcomeSlotCount
: uint - 2 for binary marketsgetCollectionId(parentCollectionId, conditionId, indexSet)
parentCollectionId
: bytes32 - bytes32(0)conditionId
: bytes32 - the conditionId derived from (1)indexSet
: uint - 1 (0b01) for the first and 2 (0b10) for the second.getPositionId(collateralToken, collectionId)
collateralToken
: IERC20 - address of ERC20 token collateral (USDC)collectionId
: bytes32 - the two collectionIds derived from (3)