Prediction Markets

Intro

Helena prediction markets leveraged and forked Gnosis technology in order to create their Smart Contracts. The initial deployment today can be found at https://gnosis-pm-contracts.readthedocs.io/en/latest/.

The xDai contracts deployed and being used today by Helena can be found in the following addresses on xDai:

Smart Contract

Address

Network

Description

Docs

P+

Mainnet

The main token live in mainnet. Aggregation of your previous competition earned xP+

xP+

xDai

The play token to interact with prediction markets, derivative of P+

LSMR Market Maker

xDai

Calculates share prices based on share distribution and initial funding

StandardMarketFactory

xDai

Allows to create Market Contracts

Event Factory

xDai

Allows to create Event Contracts

Central Oracle Factory

xDai

Allows to create instances of Centralized Oracles

Interacting with Helena Smart Contracts

1: Via Javascript API

If you want to interact with Helena Smart Contracts, and interact with markets using BUY and SELL operations, it is encouraged for you to use our Javascript API. This API will connect directly with the live instance of Helena Smart Contracts and let your interact with them by using a web3.Contract object.

2: Via REST API (Read)

If you want to consume Helena information to make an application on top of Helena, you should definitely take a look at our Swagger API.

3: Via Web3

If none of the previous options satisfied your needs, you can always use our contract address and ABI to interact with our Smart Contracts. You can see more information in web3.js docs.

Last updated

Was this helpful?