prediction-market-agent-tooling 0.62.0.dev474__py3-none-any.whl → 0.62.0.dev475__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- prediction_market_agent_tooling/markets/omen/omen.py +5 -1
- {prediction_market_agent_tooling-0.62.0.dev474.dist-info → prediction_market_agent_tooling-0.62.0.dev475.dist-info}/METADATA +1 -1
- {prediction_market_agent_tooling-0.62.0.dev474.dist-info → prediction_market_agent_tooling-0.62.0.dev475.dist-info}/RECORD +6 -6
- {prediction_market_agent_tooling-0.62.0.dev474.dist-info → prediction_market_agent_tooling-0.62.0.dev475.dist-info}/LICENSE +0 -0
- {prediction_market_agent_tooling-0.62.0.dev474.dist-info → prediction_market_agent_tooling-0.62.0.dev475.dist-info}/WHEEL +0 -0
- {prediction_market_agent_tooling-0.62.0.dev474.dist-info → prediction_market_agent_tooling-0.62.0.dev475.dist-info}/entry_points.txt +0 -0
@@ -725,6 +725,10 @@ def omen_buy_outcome_tx(
|
|
725
725
|
amount_token = market.get_in_token(amount)
|
726
726
|
amount_wei = amount_token.as_wei
|
727
727
|
|
728
|
+
logger.info(
|
729
|
+
f"Buying asked {amount.value=} {amount.symbol}, converted to {amount_token.value=} {amount_token.symbol} for {outcome=} in market {market.url=}."
|
730
|
+
)
|
731
|
+
|
728
732
|
# Get the index of the outcome we want to buy.
|
729
733
|
outcome_index: int = market.get_outcome_index(outcome)
|
730
734
|
|
@@ -806,7 +810,7 @@ def omen_sell_outcome_tx(
|
|
806
810
|
amount_wei = amount_wei.without_fraction(slippage)
|
807
811
|
|
808
812
|
logger.info(
|
809
|
-
f"Selling asked {amount.value=} {amount.symbol}, converted to {amount_wei.as_token.value=}
|
813
|
+
f"Selling asked {amount.value=} {amount.symbol}, converted to {amount_wei.as_token.value=} {amount_wei.as_token.symbol} for {outcome=} in market {market.url=}."
|
810
814
|
)
|
811
815
|
|
812
816
|
# Verify, that markets uses conditional tokens that we expect.
|
@@ -51,7 +51,7 @@ prediction_market_agent_tooling/markets/metaculus/data_models.py,sha256=FaBCTPPe
|
|
51
51
|
prediction_market_agent_tooling/markets/metaculus/metaculus.py,sha256=86TIx6cavEWc8Cv4KpZxSvwiSw9oFybXE3YB49pg-CA,4377
|
52
52
|
prediction_market_agent_tooling/markets/omen/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
53
53
|
prediction_market_agent_tooling/markets/omen/data_models.py,sha256=URvplDcTLeL6vfpkSgi8ln2iEKxt8w5qf6mTZkSyrCo,29189
|
54
|
-
prediction_market_agent_tooling/markets/omen/omen.py,sha256=
|
54
|
+
prediction_market_agent_tooling/markets/omen/omen.py,sha256=L1NaKGkdCVtGVz7RbkBuHaYRyYfuYRthTxmnYWNwgeU,51949
|
55
55
|
prediction_market_agent_tooling/markets/omen/omen_constants.py,sha256=D9oflYKafLQiHYtB5sScMHqmXyzM8JP8J0yATmc4SQQ,233
|
56
56
|
prediction_market_agent_tooling/markets/omen/omen_contracts.py,sha256=bCC9A7ZTJxMDJcPbl3jof6HcAGGHv1BrFq3RRWbkQ_c,28739
|
57
57
|
prediction_market_agent_tooling/markets/omen/omen_resolving.py,sha256=Cyi9Ci-Z-K8WCZWVLs9oSuJC6qRobi_CpqDCno_5F-0,10238
|
@@ -120,8 +120,8 @@ prediction_market_agent_tooling/tools/tokens/usd.py,sha256=FmQUfrkLvN8cI_6vw9QNh
|
|
120
120
|
prediction_market_agent_tooling/tools/transaction_cache.py,sha256=K5YKNL2_tR10Iw2TD9fuP-CTGpBbZtNdgbd0B_R7pjg,1814
|
121
121
|
prediction_market_agent_tooling/tools/utils.py,sha256=1xsyBBJfiEdSoMlceB2F8o2sCb6Z8-qNz11pEJFrdyE,6566
|
122
122
|
prediction_market_agent_tooling/tools/web3_utils.py,sha256=eYCc1iWAVtqDKUPTwnMUHuYolPdwh_OTiM3-AdRgDp4,12198
|
123
|
-
prediction_market_agent_tooling-0.62.0.
|
124
|
-
prediction_market_agent_tooling-0.62.0.
|
125
|
-
prediction_market_agent_tooling-0.62.0.
|
126
|
-
prediction_market_agent_tooling-0.62.0.
|
127
|
-
prediction_market_agent_tooling-0.62.0.
|
123
|
+
prediction_market_agent_tooling-0.62.0.dev475.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
|
124
|
+
prediction_market_agent_tooling-0.62.0.dev475.dist-info/METADATA,sha256=DPsjD7mRc-nEPy68lzMeE5X2cMG-1X2IB_cpOBqk3V4,8696
|
125
|
+
prediction_market_agent_tooling-0.62.0.dev475.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
|
126
|
+
prediction_market_agent_tooling-0.62.0.dev475.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
|
127
|
+
prediction_market_agent_tooling-0.62.0.dev475.dist-info/RECORD,,
|
File without changes
|
File without changes
|