prediction-market-agent-tooling 0.69.14__tar.gz → 0.69.15.dev1136__tar.gz
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.
Potentially problematic release.
This version of prediction-market-agent-tooling might be problematic. Click here for more details.
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/PKG-INFO +1 -1
- prediction_market_agent_tooling-0.69.15.dev1136/prediction_market_agent_tooling/abis/processor.abi.json +16 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/contract.py +40 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/cow/models.py +5 -2
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/pyproject.toml +1 -1
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/LICENSE +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/README.md +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/agentresultmapping.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/debuggingcontract.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/depositablewrapper_erc20.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/erc1155.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/erc20.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/erc4626.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/erc721.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/gvp2_settlement.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/omen_dxdao.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/omen_fpmm.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/omen_fpmm_conditionaltokens.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/omen_fpmm_factory.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/omen_kleros.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/omen_oracle.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/omen_realitio.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/omen_thumbnailmapping.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/ownable.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/ownable_erc721.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/proxy.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/seer_gnosis_router.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/seer_market_factory.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/swapr_quoter.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/abis/swapr_router.abi.json +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/benchmark/__init__.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/benchmark/agents.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/benchmark/benchmark.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/benchmark/utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/chains.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/config.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/data_download/langfuse_data_downloader.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/deploy/agent.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/deploy/agent_example.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/deploy/betting_strategy.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/deploy/constants.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/deploy/gcp/deploy.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/deploy/gcp/kubernetes_models.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/deploy/gcp/utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/deploy/trade_interval.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/gtypes.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/jobs/__init__.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/jobs/jobs_models.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/jobs/omen/omen_jobs.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/loggers.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/logprobs_parser.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/agent_market.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/base_subgraph_handler.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/blockchain_utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/categorize.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/data_models.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/manifold/__init__.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/manifold/api.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/manifold/data_models.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/manifold/manifold.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/manifold/utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/market_fees.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/market_type.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/markets.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/metaculus/api.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/metaculus/data_models.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/metaculus/metaculus.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/omen/__init__.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/omen/cow_contracts.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/omen/data_models.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/omen/omen.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/omen/omen_constants.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/omen/omen_contracts.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/omen/omen_resolving.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/omen/omen_subgraph_handler.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/polymarket/api.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/polymarket/clob_manager.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/polymarket/constants.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/polymarket/data_models.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/polymarket/polymarket.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/polymarket/polymarket_contracts.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/polymarket/polymarket_subgraph_handler.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/polymarket/utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/seer/data_models.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/seer/exceptions.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/seer/price_manager.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/seer/seer.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/seer/seer_api.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/seer/seer_contracts.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/seer/seer_subgraph_handler.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/seer/subgraph_data_models.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/markets/seer/swap_pool_handler.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/py.typed +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/_generic_value.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/balances.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/betting_strategies/kelly_criterion.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/betting_strategies/stretch_bet_between.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/betting_strategies/utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/caches/db_cache.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/caches/inmemory_cache.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/caches/serializers.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/contract_utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/costs.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/cow/cow_order.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/cow/semaphore.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/custom_exceptions.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/datetime_utc.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/db/db_manager.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/google_utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/hexbytes_custom.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/httpx_cached_client.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/image_gen/image_gen.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/image_gen/market_thumbnail_gen.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/ipfs/ipfs_handler.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/is_invalid.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/is_predictable.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/langfuse_.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/langfuse_client_utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/omen/reality_accuracy.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/omen/sell_positions.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/openai_utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/parallelism.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/perplexity/perplexity_client.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/perplexity/perplexity_models.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/perplexity/perplexity_search.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/relevant_news_analysis/data_models.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/relevant_news_analysis/relevant_news_analysis.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/relevant_news_analysis/relevant_news_cache.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/rephrase.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/safe.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/singleton.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/streamlit_user_login.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/streamlit_utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/tavily/tavily_models.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/tavily/tavily_search.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/tokens/auto_deposit.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/tokens/auto_withdraw.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/tokens/main_token.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/tokens/slippage.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/tokens/token_utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/tokens/usd.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/transaction_cache.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/utils.py +0 -0
- {prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/prediction_market_agent_tooling/tools/web3_utils.py +0 -0
|
@@ -196,6 +196,22 @@ class ContractProxyBaseClass(ContractBaseClass):
|
|
|
196
196
|
return Web3.to_checksum_address(address)
|
|
197
197
|
|
|
198
198
|
|
|
199
|
+
class ContractProcessorBaseClass(ContractBaseClass):
|
|
200
|
+
"""
|
|
201
|
+
Contract base class for processor contracts.
|
|
202
|
+
"""
|
|
203
|
+
|
|
204
|
+
abi: ABI = abi_field_validator(
|
|
205
|
+
os.path.join(
|
|
206
|
+
os.path.dirname(os.path.realpath(__file__)), "../abis/processor.abi.json"
|
|
207
|
+
)
|
|
208
|
+
)
|
|
209
|
+
|
|
210
|
+
def processor(self, web3: Web3 | None = None) -> ChecksumAddress:
|
|
211
|
+
address = self.call("processor", web3=web3)
|
|
212
|
+
return Web3.to_checksum_address(address)
|
|
213
|
+
|
|
214
|
+
|
|
199
215
|
class ContractERC20BaseClass(ContractBaseClass):
|
|
200
216
|
"""
|
|
201
217
|
Contract base class extended by ERC-20 standard methods.
|
|
@@ -948,6 +964,7 @@ def uni_implementation_address(
|
|
|
948
964
|
# TODO: Fix the above, and afterwards assert that only 1 imp address is returned from this function. Or prove that this could indeed happen (although we are very pretty sure it shouldn't).
|
|
949
965
|
addresses = [
|
|
950
966
|
implementation_proxy_address(contract_address, web3),
|
|
967
|
+
processor_proxy_address(contract_address, web3),
|
|
951
968
|
minimal_proxy_address(contract_address, web3),
|
|
952
969
|
seer_minimal_proxy_address(contract_address, web3),
|
|
953
970
|
eip_1967_proxy_address(contract_address, web3),
|
|
@@ -979,6 +996,29 @@ def implementation_proxy_address(
|
|
|
979
996
|
return None
|
|
980
997
|
|
|
981
998
|
|
|
999
|
+
def processor_proxy_address(
|
|
1000
|
+
contract_address: ChecksumAddress, web3: Web3
|
|
1001
|
+
) -> ChecksumAddress | None:
|
|
1002
|
+
if not contract_implements_function(
|
|
1003
|
+
contract_address, "processor", web3, look_for_proxy_contract=False
|
|
1004
|
+
):
|
|
1005
|
+
return None
|
|
1006
|
+
try:
|
|
1007
|
+
return ContractProcessorBaseClass(address=contract_address).processor(web3)
|
|
1008
|
+
except (ContractCustomError, ContractLogicError, tenacity.RetryError) as e:
|
|
1009
|
+
if isinstance(e, tenacity.RetryError) and not isinstance(
|
|
1010
|
+
e.last_attempt.exception(), (ContractCustomError, ContractLogicError)
|
|
1011
|
+
):
|
|
1012
|
+
raise
|
|
1013
|
+
|
|
1014
|
+
# For example https://gnosisscan.io/address/0x3221a28ed2b2e955da64d1d299956f277562c95c#code,
|
|
1015
|
+
# it has the processor method, but it's only for admins.
|
|
1016
|
+
logger.warning(
|
|
1017
|
+
f"Failed to get processor for {contract_address=} even though it has the method: {e}"
|
|
1018
|
+
)
|
|
1019
|
+
return None
|
|
1020
|
+
|
|
1021
|
+
|
|
982
1022
|
def minimal_proxy_address(
|
|
983
1023
|
contract_address: ChecksumAddress, web3: Web3
|
|
984
1024
|
) -> ChecksumAddress | None:
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
from enum import Enum
|
|
2
|
-
from typing import Optional
|
|
2
|
+
from typing import Optional, TypeAlias
|
|
3
3
|
|
|
4
4
|
from pydantic import BaseModel, ConfigDict
|
|
5
5
|
from sqlmodel import Field, SQLModel
|
|
@@ -74,10 +74,13 @@ class OrderStatus(str, Enum):
|
|
|
74
74
|
expired = "expired"
|
|
75
75
|
|
|
76
76
|
|
|
77
|
+
CowOrderUID: TypeAlias = HexBytes
|
|
78
|
+
|
|
79
|
+
|
|
77
80
|
class Order(BaseModel):
|
|
78
81
|
model_config = ConfigDict(validate_by_name=True, validate_by_alias=True)
|
|
79
82
|
|
|
80
|
-
uid:
|
|
83
|
+
uid: CowOrderUID
|
|
81
84
|
quoteId: int | None = None
|
|
82
85
|
validTo: int
|
|
83
86
|
sellAmount: Wei
|
{prediction_market_agent_tooling-0.69.14 → prediction_market_agent_tooling-0.69.15.dev1136}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|