prediction-market-agent-tooling 0.63.0.dev499__py3-none-any.whl → 0.63.0.dev500__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/price_manager.py +1 -1
- prediction_market_agent_tooling/markets/seer/seer.py +1 -1
- prediction_market_agent_tooling/markets/seer/seer_contracts.py +1 -1
- prediction_market_agent_tooling/markets/seer/seer_subgraph_handler.py +1 -2
- prediction_market_agent_tooling/markets/seer/subgraph_data_models.py +1 -1
- prediction_market_agent_tooling/tools/cow/cow_order.py +4 -4
- {prediction_market_agent_tooling-0.63.0.dev499.dist-info → prediction_market_agent_tooling-0.63.0.dev500.dist-info}/METADATA +1 -1
- {prediction_market_agent_tooling-0.63.0.dev499.dist-info → prediction_market_agent_tooling-0.63.0.dev500.dist-info}/RECORD +11 -11
- {prediction_market_agent_tooling-0.63.0.dev499.dist-info → prediction_market_agent_tooling-0.63.0.dev500.dist-info}/WHEEL +1 -1
- {prediction_market_agent_tooling-0.63.0.dev499.dist-info → prediction_market_agent_tooling-0.63.0.dev500.dist-info}/LICENSE +0 -0
- {prediction_market_agent_tooling-0.63.0.dev499.dist-info → prediction_market_agent_tooling-0.63.0.dev500.dist-info}/entry_points.txt +0 -0
@@ -2,9 +2,9 @@ from web3 import Web3
|
|
2
2
|
|
3
3
|
from prediction_market_agent_tooling.gtypes import (
|
4
4
|
ChecksumAddress,
|
5
|
+
CollateralToken,
|
5
6
|
Probability,
|
6
7
|
Wei,
|
7
|
-
CollateralToken,
|
8
8
|
)
|
9
9
|
from prediction_market_agent_tooling.loggers import logger
|
10
10
|
from prediction_market_agent_tooling.markets.seer.data_models import (
|
@@ -22,8 +22,8 @@ from prediction_market_agent_tooling.markets.agent_market import (
|
|
22
22
|
AgentMarket,
|
23
23
|
FilterBy,
|
24
24
|
ProcessedMarket,
|
25
|
-
SortBy,
|
26
25
|
ProcessedTradedMarket,
|
26
|
+
SortBy,
|
27
27
|
)
|
28
28
|
from prediction_market_agent_tooling.markets.data_models import ExistingPosition
|
29
29
|
from prediction_market_agent_tooling.markets.market_fees import MarketFees
|
@@ -241,8 +241,7 @@ class SeerSubgraphHandler(BaseSubgraphHandler):
|
|
241
241
|
optional_params["orderDirection"] = "desc"
|
242
242
|
|
243
243
|
pools_field = self.swapr_algebra_subgraph.Query.pools(
|
244
|
-
where=unwrap_generic_value({"or": wheres}, **optional_params
|
245
|
-
)
|
244
|
+
where=unwrap_generic_value({"or": wheres}, **optional_params)
|
246
245
|
)
|
247
246
|
fields = self._get_fields_for_pools(pools_field)
|
248
247
|
pools = self.do_query(fields=fields, pydantic_model=SeerPool)
|
@@ -1,7 +1,7 @@
|
|
1
1
|
from pydantic import BaseModel, ConfigDict, Field
|
2
2
|
from web3.constants import ADDRESS_ZERO
|
3
3
|
|
4
|
-
from prediction_market_agent_tooling.gtypes import HexAddress, HexBytes,
|
4
|
+
from prediction_market_agent_tooling.gtypes import HexAddress, HexBytes, OutcomeStr, Wei
|
5
5
|
|
6
6
|
|
7
7
|
class SeerToken(BaseModel):
|
@@ -15,16 +15,16 @@ from cowdao_cowpy.order_book.generated.model import (
|
|
15
15
|
Address,
|
16
16
|
OrderMetaData,
|
17
17
|
OrderQuoteRequest,
|
18
|
+
OrderQuoteResponse,
|
18
19
|
OrderQuoteSide1,
|
20
|
+
OrderQuoteSide3,
|
21
|
+
OrderQuoteSideKindBuy,
|
19
22
|
OrderQuoteSideKindSell,
|
20
23
|
OrderStatus,
|
21
24
|
TokenAmount,
|
22
|
-
OrderQuoteResponse,
|
23
|
-
OrderQuoteSide3,
|
24
|
-
OrderQuoteSideKindBuy,
|
25
25
|
)
|
26
26
|
from eth_account.signers.local import LocalAccount
|
27
|
-
from tenacity import stop_after_attempt, wait_fixed
|
27
|
+
from tenacity import retry_if_not_exception_type, stop_after_attempt, wait_fixed
|
28
28
|
from web3 import Web3
|
29
29
|
|
30
30
|
from prediction_market_agent_tooling.config import APIKeys
|
@@ -62,11 +62,11 @@ prediction_market_agent_tooling/markets/polymarket/data_models_web.py,sha256=LVE
|
|
62
62
|
prediction_market_agent_tooling/markets/polymarket/polymarket.py,sha256=6rc9qulPl90MxXKB55XiiWKLhjfAyG_eUzAlqpq1UIE,3339
|
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
|
-
prediction_market_agent_tooling/markets/seer/price_manager.py,sha256=
|
66
|
-
prediction_market_agent_tooling/markets/seer/seer.py,sha256=
|
67
|
-
prediction_market_agent_tooling/markets/seer/seer_contracts.py,sha256=
|
68
|
-
prediction_market_agent_tooling/markets/seer/seer_subgraph_handler.py,sha256=
|
69
|
-
prediction_market_agent_tooling/markets/seer/subgraph_data_models.py,sha256=
|
65
|
+
prediction_market_agent_tooling/markets/seer/price_manager.py,sha256=gA-WurjKC4e5B-YWqaSFqSLnI0jFpLhPD-kA31j7Pm0,4976
|
66
|
+
prediction_market_agent_tooling/markets/seer/seer.py,sha256=sGsTSHax9caHPxlMmKOPjmx9blHNAbrRwojEDe4hhZ8,15249
|
67
|
+
prediction_market_agent_tooling/markets/seer/seer_contracts.py,sha256=KXLPhxQuVEvXLKzKhiJCkINNB5xEO3fS2HsKqxQCcbs,2715
|
68
|
+
prediction_market_agent_tooling/markets/seer/seer_subgraph_handler.py,sha256=ZaSfBZKjagbCNGw1yNU_BqZbcwJ2GWtILCCu1E40K_c,9858
|
69
|
+
prediction_market_agent_tooling/markets/seer/subgraph_data_models.py,sha256=knlBD6yQkbqbfan8l3_mIHRT3gprbWYBXAsoerDi-zg,1663
|
70
70
|
prediction_market_agent_tooling/monitor/financial_metrics/financial_metrics.py,sha256=fjIgjDIx5MhH5mwf7S0cspLOOSU3elYLhGYoIiM26mU,2746
|
71
71
|
prediction_market_agent_tooling/monitor/markets/manifold.py,sha256=TS4ERwTfQnot8dhekNyVNhJYf5ysYsjF-9v5_kM3aVI,3334
|
72
72
|
prediction_market_agent_tooling/monitor/markets/metaculus.py,sha256=LOnyWWBFdg10-cTWdb76nOsNjDloO8OfMT85GBzRCFI,1455
|
@@ -88,7 +88,7 @@ prediction_market_agent_tooling/tools/caches/inmemory_cache.py,sha256=ZW5iI5rmjq
|
|
88
88
|
prediction_market_agent_tooling/tools/caches/serializers.py,sha256=vFDx4fsPxclXp2q0sv27j4al_M_Tj9aR2JJP-xNHQXA,2151
|
89
89
|
prediction_market_agent_tooling/tools/contract.py,sha256=1ZFp_VoqTjM8cqOfAhco2Ht0DTqakjhZpuZUrAXr28Q,21332
|
90
90
|
prediction_market_agent_tooling/tools/costs.py,sha256=EaAJ7v9laD4VEV3d8B44M4u3_oEO_H16jRVCdoZ93Uw,954
|
91
|
-
prediction_market_agent_tooling/tools/cow/cow_order.py,sha256=
|
91
|
+
prediction_market_agent_tooling/tools/cow/cow_order.py,sha256=SU0xp0MqriqJYpyTfk-y6ogUn3fCi_vIDIA-npfGOyQ,6709
|
92
92
|
prediction_market_agent_tooling/tools/custom_exceptions.py,sha256=Fh8z1fbwONvP4-j7AmV_PuEcoqb6-QXa9PJ9m7guMcM,93
|
93
93
|
prediction_market_agent_tooling/tools/datetime_utc.py,sha256=8_WackjtjC8zHXrhQFTGQ6e6Fz_6llWoKR4CSFvIv9I,2766
|
94
94
|
prediction_market_agent_tooling/tools/db/db_manager.py,sha256=GtzHH1NLl8HwqC8Z7s6eTlIQXuV0blxfaV2PeQrBnfQ,3013
|
@@ -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.dev500.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
|
125
|
+
prediction_market_agent_tooling-0.63.0.dev500.dist-info/METADATA,sha256=MAMN4HYzuk05cw5xiZJj1R9k5CCREpe9TI0GjU2MNRU,8696
|
126
|
+
prediction_market_agent_tooling-0.63.0.dev500.dist-info/WHEEL,sha256=fGIA9gx4Qxk2KDKeNJCbOEwSrmLtjWCwzBz351GyrPQ,88
|
127
|
+
prediction_market_agent_tooling-0.63.0.dev500.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
|
128
|
+
prediction_market_agent_tooling-0.63.0.dev500.dist-info/RECORD,,
|
File without changes
|