prediction-market-agent-tooling 0.63.0.dev512__py3-none-any.whl → 0.63.0.dev513__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/seer/seer.py +0 -9
- {prediction_market_agent_tooling-0.63.0.dev512.dist-info → prediction_market_agent_tooling-0.63.0.dev513.dist-info}/METADATA +1 -1
- {prediction_market_agent_tooling-0.63.0.dev512.dist-info → prediction_market_agent_tooling-0.63.0.dev513.dist-info}/RECORD +6 -6
- {prediction_market_agent_tooling-0.63.0.dev512.dist-info → prediction_market_agent_tooling-0.63.0.dev513.dist-info}/LICENSE +0 -0
- {prediction_market_agent_tooling-0.63.0.dev512.dist-info → prediction_market_agent_tooling-0.63.0.dev513.dist-info}/WHEEL +0 -0
- {prediction_market_agent_tooling-0.63.0.dev512.dist-info → prediction_market_agent_tooling-0.63.0.dev513.dist-info}/entry_points.txt +0 -0
@@ -1,6 +1,5 @@
|
|
1
1
|
import typing as t
|
2
2
|
|
3
|
-
import tenacity
|
4
3
|
from eth_pydantic_types import HexStr
|
5
4
|
from eth_typing import ChecksumAddress
|
6
5
|
from web3 import Web3
|
@@ -304,13 +303,6 @@ class SeerAgentMarket(AgentMarket):
|
|
304
303
|
|
305
304
|
return order_metadata.uid.root
|
306
305
|
|
307
|
-
@tenacity.retry(
|
308
|
-
stop=tenacity.stop_after_attempt(3),
|
309
|
-
wait=tenacity.wait_fixed(1),
|
310
|
-
after=lambda x: logger.debug(
|
311
|
-
f"seer_sell_outcome_tx failed, {x.attempt_number=}."
|
312
|
-
),
|
313
|
-
)
|
314
306
|
def sell_tokens(
|
315
307
|
self,
|
316
308
|
outcome: bool,
|
@@ -325,7 +317,6 @@ class SeerAgentMarket(AgentMarket):
|
|
325
317
|
outcome_token = self.get_wrapped_token_for_outcome(outcome)
|
326
318
|
api_keys = api_keys if api_keys is not None else APIKeys()
|
327
319
|
|
328
|
-
########
|
329
320
|
token_amount = (
|
330
321
|
amount.as_outcome_wei.as_wei
|
331
322
|
if isinstance(amount, OutcomeToken)
|
@@ -63,7 +63,7 @@ prediction_market_agent_tooling/markets/polymarket/polymarket.py,sha256=6rc9qulP
|
|
63
63
|
prediction_market_agent_tooling/markets/polymarket/utils.py,sha256=8kTeVjXPcXC6DkDvWYsZQLY7x8DS6CEp_yznSEazsNU,2037
|
64
64
|
prediction_market_agent_tooling/markets/seer/data_models.py,sha256=FwTOq9X2iJ7r3ijtE0evl8pMSbFPm4lUwuc9m7YsMVA,6373
|
65
65
|
prediction_market_agent_tooling/markets/seer/price_manager.py,sha256=GaDaFIz1jMgUUg4TpR-FdIF-_-C6pX4sjp3xTLi8KyI,4691
|
66
|
-
prediction_market_agent_tooling/markets/seer/seer.py,sha256=
|
66
|
+
prediction_market_agent_tooling/markets/seer/seer.py,sha256=yX0c8Qb15VPIMlIKkdsFmeDzChXviw-yHglskPwmquI,14894
|
67
67
|
prediction_market_agent_tooling/markets/seer/seer_contracts.py,sha256=0pXFzCNO9RFgCWAyyVRQliJuMvMr4uVS5B7cmSz_ffA,2685
|
68
68
|
prediction_market_agent_tooling/markets/seer/seer_subgraph_handler.py,sha256=KKRI493VNNAY9tR1AjzNraeH76MvDsBV6GsiLZas0_Y,9859
|
69
69
|
prediction_market_agent_tooling/markets/seer/subgraph_data_models.py,sha256=0izxS8Mtzonfdl9UqvFVXrdj0hVzieroekXhogfZKCw,1817
|
@@ -121,8 +121,8 @@ prediction_market_agent_tooling/tools/tokens/usd.py,sha256=Qq8ofVCCMX-eo8mDlHv4g
|
|
121
121
|
prediction_market_agent_tooling/tools/transaction_cache.py,sha256=K5YKNL2_tR10Iw2TD9fuP-CTGpBbZtNdgbd0B_R7pjg,1814
|
122
122
|
prediction_market_agent_tooling/tools/utils.py,sha256=1xsyBBJfiEdSoMlceB2F8o2sCb6Z8-qNz11pEJFrdyE,6566
|
123
123
|
prediction_market_agent_tooling/tools/web3_utils.py,sha256=eYCc1iWAVtqDKUPTwnMUHuYolPdwh_OTiM3-AdRgDp4,12198
|
124
|
-
prediction_market_agent_tooling-0.63.0.
|
125
|
-
prediction_market_agent_tooling-0.63.0.
|
126
|
-
prediction_market_agent_tooling-0.63.0.
|
127
|
-
prediction_market_agent_tooling-0.63.0.
|
128
|
-
prediction_market_agent_tooling-0.63.0.
|
124
|
+
prediction_market_agent_tooling-0.63.0.dev513.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
|
125
|
+
prediction_market_agent_tooling-0.63.0.dev513.dist-info/METADATA,sha256=CnAmduzJjvhswieiuB3Wb6frZZChWtQQS1FwPzGcqHc,8696
|
126
|
+
prediction_market_agent_tooling-0.63.0.dev513.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
127
|
+
prediction_market_agent_tooling-0.63.0.dev513.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
|
128
|
+
prediction_market_agent_tooling-0.63.0.dev513.dist-info/RECORD,,
|
File without changes
|
File without changes
|