Skip to content

Commit

Permalink
Add comment on omen market life cycle (#364)
Browse files Browse the repository at this point in the history
  • Loading branch information
evangriffiths authored Aug 27, 2024
1 parent be99c17 commit 74c7e0f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion prediction_market_agent_tooling/markets/omen/data_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,15 @@ def redeemable(self) -> bool:

class OmenMarket(BaseModel):
"""
https://aiomen.eth.limo
https://presagio.pages.dev
An Omen market goes through the following stages:
1. creation - can add liquidty immediately, and trade immediately if there is liquidity
2. closing - market is closed, and a question is simultaneously opened for answers on Reality
3. finalizing - the question is finalized on reality (including any disputes)
4. resolving - a manual step required by calling the Omen oracle contract
5. redeeming - a user withdraws collateral tokens from the market
"""

BET_AMOUNT_CURRENCY: t.ClassVar[Currency] = Currency.xDai
Expand Down

0 comments on commit 74c7e0f

Please sign in to comment.