Skip to content

Commit

Permalink
uncomment
Browse files Browse the repository at this point in the history
  • Loading branch information
kongzii committed Oct 16, 2024
1 parent d06e47a commit 548d9af
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions scripts/create_markets_from_sheet_omen.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,21 +77,21 @@ def main(
logger.info(
f"Going to create `{row[QUESTION_COLUMN]}` with closing time `{row[CLOSING_DATE_COLUMN]}`."
)
# market = OmenMarket.from_created_market(
# omen_create_market_tx(
# api_keys=api_keys,
# collateral_token_address=COLLATERAL_TOKEN_CHOICE_TO_ADDRESS[cl_token],
# initial_funds=xdai_type(initial_funds),
# fee_perc=fee_perc,
# question=row[QUESTION_COLUMN],
# closing_time=row["Created date"],
# category=category,
# language=language,
# outcomes=outcomes,
# auto_deposit=auto_deposit,
# )
# )
# logger.info(f"Market '{row['Question']}' created at url: {market.url}.")
market = OmenMarket.from_created_market(
omen_create_market_tx(
api_keys=api_keys,
collateral_token_address=COLLATERAL_TOKEN_CHOICE_TO_ADDRESS[cl_token],
initial_funds=xdai_type(initial_funds),
fee_perc=fee_perc,
question=row[QUESTION_COLUMN],
closing_time=row["Created date"],
category=category,
language=language,
outcomes=outcomes,
auto_deposit=auto_deposit,
)
)
logger.info(f"Market '{row['Question']}' created at url: {market.url}.")


if __name__ == "__main__":
Expand Down

0 comments on commit 548d9af

Please sign in to comment.