prediction-market-agent-tooling 0.64.12__py3-none-any.whl → 0.64.12.dev659__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.
@@ -12,7 +12,6 @@ from safe_eth.eth import EthereumClient
12
12
  from safe_eth.safe.safe import SafeV141
13
13
  from web3 import Account, Web3
14
14
 
15
- from prediction_market_agent_tooling.chains import ETHEREUM_ID, GNOSIS_CHAIN_ID
16
15
  from prediction_market_agent_tooling.deploy.gcp.utils import gcp_get_secret_value
17
16
  from prediction_market_agent_tooling.gtypes import (
18
17
  ChainID,
@@ -281,7 +280,7 @@ class RPCConfig(BaseSettings):
281
280
 
282
281
  ETHEREUM_RPC_URL: URI = Field(default=URI("https://rpc.eth.gateway.fm"))
283
282
  GNOSIS_RPC_URL: URI = Field(default=URI("https://rpc.gnosis.gateway.fm"))
284
- CHAIN_ID: ChainID = Field(default=GNOSIS_CHAIN_ID)
283
+ CHAIN_ID: ChainID = Field(default=ChainID(100))
285
284
 
286
285
  @property
287
286
  def ethereum_rpc_url(self) -> URI:
@@ -300,9 +299,9 @@ class RPCConfig(BaseSettings):
300
299
  return check_not_none(self.CHAIN_ID, "CHAIN_ID missing in the environment.")
301
300
 
302
301
  def chain_id_to_rpc_url(self, chain_id: ChainID) -> URI:
303
- if chain_id == ETHEREUM_ID:
302
+ if chain_id == ChainID(1):
304
303
  return self.ethereum_rpc_url
305
- elif chain_id == GNOSIS_CHAIN_ID:
304
+ elif chain_id == ChainID(100):
306
305
  return self.gnosis_rpc_url
307
306
  else:
308
307
  raise ValueError(f"Unsupported chain ID: {chain_id}")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: prediction-market-agent-tooling
3
- Version: 0.64.12
3
+ Version: 0.64.12.dev659
4
4
  Summary: Tools to benchmark, deploy and monitor prediction market agents.
5
5
  Author: Gnosis
6
6
  Requires-Python: >=3.10,<3.13
@@ -22,8 +22,7 @@ prediction_market_agent_tooling/benchmark/__init__.py,sha256=47DEQpj8HBSa-_TImW-
22
22
  prediction_market_agent_tooling/benchmark/agents.py,sha256=B1-uWdyeN4GGKMWGK_-CcAFJg1m9Y_XuaeIHPB29QR8,3971
23
23
  prediction_market_agent_tooling/benchmark/benchmark.py,sha256=MqTiaaJ3cYiOLUVR7OyImLWxcEya3Rl5JyFYW-K0lwM,17097
24
24
  prediction_market_agent_tooling/benchmark/utils.py,sha256=D0MfUkVZllmvcU0VOurk9tcKT7JTtwwOp-63zuCBVuc,2880
25
- prediction_market_agent_tooling/chains.py,sha256=1qQstoqXMwqwM7k-KH7MjMz8Ei-D83KZByvDbCZpAxs,116
26
- prediction_market_agent_tooling/config.py,sha256=rdpRHZyoTvRIDn7Qu6eViOjPBkR9Z0MOdEMFsQOuAIE,10822
25
+ prediction_market_agent_tooling/config.py,sha256=4nhDV_IkGl2-tK_yif4P3sTZm7cIvx2dWUlraSRtMwQ,10735
27
26
  prediction_market_agent_tooling/deploy/agent.py,sha256=dobqPUQkaDPhsvMmXwibNKu4hSSTXTvmfa3F46ylLBc,26560
28
27
  prediction_market_agent_tooling/deploy/agent_example.py,sha256=dIIdZashExWk9tOdyDjw87AuUcGyM7jYxNChYrVK2dM,1001
29
28
  prediction_market_agent_tooling/deploy/betting_strategy.py,sha256=p25t7VU7I4hSkSl6SpzI_W55kLbYEySQdBqeschmARY,12918
@@ -126,8 +125,8 @@ prediction_market_agent_tooling/tools/tokens/usd.py,sha256=yuW8iPPtcpP4eLH2nORMD
126
125
  prediction_market_agent_tooling/tools/transaction_cache.py,sha256=K5YKNL2_tR10Iw2TD9fuP-CTGpBbZtNdgbd0B_R7pjg,1814
127
126
  prediction_market_agent_tooling/tools/utils.py,sha256=AC2a68jwASMWuQi-w8twl8b_M52YwrEJ81abmuEaqMY,6661
128
127
  prediction_market_agent_tooling/tools/web3_utils.py,sha256=zRq-eeBGWt8uUGN9G_WfjmJ0eVvO8aWE9S0Pz_Y6AOA,12342
129
- prediction_market_agent_tooling-0.64.12.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
130
- prediction_market_agent_tooling-0.64.12.dist-info/METADATA,sha256=yt6lfStMOmUD_6GOSu-oeuwHIHEmXN7HAogInnoOPIU,8742
131
- prediction_market_agent_tooling-0.64.12.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
132
- prediction_market_agent_tooling-0.64.12.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
133
- prediction_market_agent_tooling-0.64.12.dist-info/RECORD,,
128
+ prediction_market_agent_tooling-0.64.12.dev659.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
129
+ prediction_market_agent_tooling-0.64.12.dev659.dist-info/METADATA,sha256=h5X6hcjazmTczUeSjQ1AhZV9ti-Ygp_OWmMkENcSLXY,8749
130
+ prediction_market_agent_tooling-0.64.12.dev659.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
131
+ prediction_market_agent_tooling-0.64.12.dev659.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
132
+ prediction_market_agent_tooling-0.64.12.dev659.dist-info/RECORD,,
@@ -1,4 +0,0 @@
1
- from prediction_market_agent_tooling.gtypes import ChainID
2
-
3
- ETHEREUM_ID = ChainID(1)
4
- GNOSIS_CHAIN_ID = ChainID(100)