Conditional Token Framework

The conditional tokens framework is a set of audited contracts published by gnosis which can allow for the creation of prediction markets. These contracts have their own extensive documentation

In essence, a user is able to create a condition. This condition represents a particular question and has a number of parameters. These parameters are set using the setup() function and explained below:

  • Oracle. This is an address and represents how the outcome of the question will be determined. This can either be an externally owned account or a smart contract. We discuss this further on the oracle page.

  • Outcome slot count. This is an integer and represents how many different discrete outcomes are available for the question.