mezoAgent 0.2.1__py3-none-any.whl → 0.2.3__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,8 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mezoAgent
3
- Version: 0.2.1
3
+ Version: 0.2.3
4
4
  Summary: A LangChain based tool kit for AI Agents to send BTC and mUSD transactions on Mezo Matsnet.
5
- Author: Dreadwulf
6
- Author-email: dreadwulf@wtf.com
5
+ Author: Dreadwulf, Duck, Digi
7
6
  Requires-Python: >=3.7
8
7
  Requires-Dist: web3
9
8
  Requires-Dist: langchain
@@ -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=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,,
mezo_agent/transaction.py CHANGED
@@ -81,14 +81,14 @@ def mezo_agent_musd_transaction(transaction_prompt: str) -> str:
81
81
  gas_price = web3_instance.eth.gas_price
82
82
 
83
83
  # Estimate gas required for the token transfer
84
- gas_limit = musd_contract.functions.transfer(recipient, amount_token).estimateGas({
84
+ gas_limit = musd_contract.functions.transfer(recipient, amount_token).estimate_gas({
85
85
  'from': sender_address
86
86
  })
87
87
  except Exception as e:
88
88
  return f"❌ Failed to prepare mUSD transaction: {str(e)}"
89
89
 
90
90
  # Build the transaction for the token transfer
91
- tx = musd_contract.functions.transfer(recipient, amount_token).buildTransaction({
91
+ tx = musd_contract.functions.transfer(recipient, amount_token).build_transaction({
92
92
  'chainId': 31611, # Mezo Testnet Chain ID
93
93
  'from': sender_address,
94
94
  'nonce': nonce,
@@ -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=IX9X8Wt_vbxwU1VOYCcbm2H9ZPW9NJNoAcULemmTstE,4175
5
- mezoAgent-0.2.1.dist-info/METADATA,sha256=Wf-LTpO3t0t1dtiB68gAhW3gKQPfLODdpmFI4mrm6Pk,344
6
- mezoAgent-0.2.1.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
7
- mezoAgent-0.2.1.dist-info/top_level.txt,sha256=rrAci_NyTR9z6w_BrQhQrAhzMW_A0NYhVa0x2USl0nQ,11
8
- mezoAgent-0.2.1.dist-info/RECORD,,