mezoAgent 0.2.1__tar.gz → 0.2.3__tar.gz

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
@@ -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
@@ -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,
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="mezoAgent",
5
- version="0.2.1",
5
+ version="0.2.3",
6
6
  packages=find_packages(),
7
7
  install_requires=[
8
8
  "web3",
@@ -11,7 +11,6 @@ setup(
11
11
  "python-dotenv"
12
12
  ],
13
13
  description="A LangChain based tool kit for AI Agents to send BTC and mUSD transactions on Mezo Matsnet.",
14
- author="Dreadwulf",
15
- author_email="dreadwulf@wtf.com",
14
+ author="Dreadwulf, Duck, Digi",
16
15
  python_requires=">=3.7",
17
16
  )
File without changes
File without changes