mezoAgent 0.2.3__py3-none-any.whl → 0.2.4__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mezoAgent
3
- Version: 0.2.3
3
+ Version: 0.2.4
4
4
  Summary: A LangChain based tool kit for AI Agents to send BTC and mUSD transactions on Mezo Matsnet.
5
5
  Author: Dreadwulf, Duck, Digi
6
6
  Requires-Python: >=3.7
@@ -0,0 +1,8 @@
1
+ mezo_agent/__init__.py,sha256=lsonH0-yY3Die0cRmiwsPSHwZQDh_UEAVIpc2uwZYIM,80
2
+ mezo_agent/config.py,sha256=c16-JHEbK5rFBKO-QdxBRtrl4DSlYzGckD9BzbTw2dY,1708
3
+ mezo_agent/parsing.py,sha256=dFqNHGH0LoG4_TEsHKcorj6aY_Rh4H8f5Yj7ZdfKJzE,1454
4
+ mezo_agent/transaction.py,sha256=YpfWrkEaf0YGM_Kc4cFwlT9GmBGZkeJHWm0VGHs9Gks,4199
5
+ mezoAgent-0.2.4.dist-info/METADATA,sha256=ACNVZPv9OaqSgU_81bYj8BDGR3-ze1IPqkH89PEcD0g,323
6
+ mezoAgent-0.2.4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
7
+ mezoAgent-0.2.4.dist-info/top_level.txt,sha256=rrAci_NyTR9z6w_BrQhQrAhzMW_A0NYhVa0x2USl0nQ,11
8
+ mezoAgent-0.2.4.dist-info/RECORD,,
mezo_agent/transaction.py CHANGED
@@ -31,7 +31,7 @@ def mezo_agent_transaction_btc(transaction_prompt: str) -> str:
31
31
  return f"❌ Insufficient BTC balance! You have {sender_balance_btc} BTC but need {amount} BTC."
32
32
 
33
33
  # Fetch nonce and gas price
34
- nonce = web3_instance.eth.get_transaction_count(sender_address)
34
+ nonce = web3_instance.eth.get_transaction_count(sender_address, 'pending')
35
35
  gas_price = web3_instance.eth.gas_price
36
36
  gas_limit = web3_instance.eth.estimate_gas({"to": recipient, "value": amount_wei, "from": sender_address})
37
37
 
@@ -77,7 +77,7 @@ def mezo_agent_musd_transaction(transaction_prompt: str) -> str:
77
77
 
78
78
  try:
79
79
  # Fetch nonce and gas price for the sender
80
- nonce = web3_instance.eth.get_transaction_count(sender_address)
80
+ nonce = web3_instance.eth.get_transaction_count(sender_address, 'pending')
81
81
  gas_price = web3_instance.eth.gas_price
82
82
 
83
83
  # Estimate gas required for the token transfer
@@ -1,8 +0,0 @@
1
- mezo_agent/__init__.py,sha256=lsonH0-yY3Die0cRmiwsPSHwZQDh_UEAVIpc2uwZYIM,80
2
- mezo_agent/config.py,sha256=c16-JHEbK5rFBKO-QdxBRtrl4DSlYzGckD9BzbTw2dY,1708
3
- mezo_agent/parsing.py,sha256=dFqNHGH0LoG4_TEsHKcorj6aY_Rh4H8f5Yj7ZdfKJzE,1454
4
- mezo_agent/transaction.py,sha256=6bxQx7jwEYwt73h_lvE694nITSapEVetUw8SA6XoUIw,4177
5
- mezoAgent-0.2.3.dist-info/METADATA,sha256=Kx0PpRhEeLQ-WGFX49V3r23M1dBNcUTcXD-9y4p_cF8,323
6
- mezoAgent-0.2.3.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
7
- mezoAgent-0.2.3.dist-info/top_level.txt,sha256=rrAci_NyTR9z6w_BrQhQrAhzMW_A0NYhVa0x2USl0nQ,11
8
- mezoAgent-0.2.3.dist-info/RECORD,,