prediction-market-agent-tooling 0.19.0__py3-none-any.whl → 0.20.0__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.
@@ -14,7 +14,7 @@ class Balances(BaseModel):
14
14
  wxdai: xDai
15
15
 
16
16
 
17
- def get_balances(address: ChecksumAddress, web3: Web3 | None) -> Balances:
17
+ def get_balances(address: ChecksumAddress, web3: Web3 | None = None) -> Balances:
18
18
  if not web3:
19
19
  web3 = WrappedxDaiContract().get_web3()
20
20
  xdai_balance = Wei(web3.eth.get_balance(address))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: prediction-market-agent-tooling
3
- Version: 0.19.0
3
+ Version: 0.20.0
4
4
  Summary: Tools to benchmark, deploy and monitor prediction market agents.
5
5
  Author: Gnosis
6
6
  Requires-Python: >=3.10,<3.12
@@ -47,7 +47,7 @@ prediction_market_agent_tooling/monitor/monitor.py,sha256=zTluK6Ha_pis6JWd8SF8Pb
47
47
  prediction_market_agent_tooling/monitor/monitor_app.py,sha256=rDxgdDJqSK0ARx0TJFMkS76npkHZJz0__Rp0xTpiRok,4611
48
48
  prediction_market_agent_tooling/monitor/monitor_settings.py,sha256=Xiozs3AsufuJ04JOe1vjUri-IAMWHjjmc2ugGGiHNH4,947
49
49
  prediction_market_agent_tooling/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
- prediction_market_agent_tooling/tools/balances.py,sha256=Tdh8tkbNDqHrsNlvds0pBsa1v-yC0EOfiPXsA8chL_w,742
50
+ prediction_market_agent_tooling/tools/balances.py,sha256=efDKEe-SsuSmGWKuGNiuHEWCGuCrcwjrCdTz1iKFtqw,749
51
51
  prediction_market_agent_tooling/tools/betting_strategies/kelly_criterion.py,sha256=IbhQPoKsQnjnag_n_wAL12n8QdCe7tAMRNV2QS8yYxY,3520
52
52
  prediction_market_agent_tooling/tools/betting_strategies/market_moving.py,sha256=0qPFA0hNzgUKt49xovwwFaSYrunFgpWZ0Di1Lo3g5qw,4367
53
53
  prediction_market_agent_tooling/tools/betting_strategies/minimum_bet_to_win.py,sha256=-FUSuQQgjcWSSnoFxnlAyTeilY6raJABJVM2QKkFqAY,438
@@ -64,8 +64,8 @@ prediction_market_agent_tooling/tools/safe.py,sha256=gNgcY6ugckx3DbupR8VBezDgh1d
64
64
  prediction_market_agent_tooling/tools/singleton.py,sha256=CiIELUiI-OeS7U7eeHEt0rnVhtQGzwoUdAgn_7u_GBM,729
65
65
  prediction_market_agent_tooling/tools/utils.py,sha256=6MRfLr5xGPEQGobLz_eCsE_p-XaAeOCcmygwgNCIvqE,5044
66
66
  prediction_market_agent_tooling/tools/web3_utils.py,sha256=-IAt12kudrx0BaW_IFQu2nAsJJXVGn8hNH43xjQeIw4,9822
67
- prediction_market_agent_tooling-0.19.0.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
68
- prediction_market_agent_tooling-0.19.0.dist-info/METADATA,sha256=slH1tgbTKrBn4O3-hkxyZ43tpHLX4MIytK3qJOhrzCk,5510
69
- prediction_market_agent_tooling-0.19.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
70
- prediction_market_agent_tooling-0.19.0.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
71
- prediction_market_agent_tooling-0.19.0.dist-info/RECORD,,
67
+ prediction_market_agent_tooling-0.20.0.dist-info/LICENSE,sha256=6or154nLLU6bELzjh0mCreFjt0m2v72zLi3yHE0QbeE,7650
68
+ prediction_market_agent_tooling-0.20.0.dist-info/METADATA,sha256=AY6jt-QfmhXK25mX52MacYm0y667hC1hdpgO2ymMX-k,5510
69
+ prediction_market_agent_tooling-0.20.0.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
70
+ prediction_market_agent_tooling-0.20.0.dist-info/entry_points.txt,sha256=m8PukHbeH5g0IAAmOf_1Ahm-sGAMdhSSRQmwtpmi2s8,81
71
+ prediction_market_agent_tooling-0.20.0.dist-info/RECORD,,