mezoAgent 0.3.5__tar.gz → 0.3.7__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mezoAgent
3
- Version: 0.3.5
3
+ Version: 0.3.7
4
4
  Summary: A Python package for Mezo Agent transactions with LangChain tools
5
5
  Author: Dreadwulf, Duck, Digi
6
6
  Requires-Dist: python-dotenv
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mezoAgent
3
- Version: 0.3.5
3
+ Version: 0.3.7
4
4
  Summary: A Python package for Mezo Agent transactions with LangChain tools
5
5
  Author: Dreadwulf, Duck, Digi
6
6
  Requires-Dist: python-dotenv
@@ -41,14 +41,13 @@ musd_contract = web3_instance.eth.contract(address=MUSD_ADDRESS, abi=ERC20_ABI)
41
41
 
42
42
  with pkg_resources.open_text("mezo_agent.data", "new_router_abi.json") as f:
43
43
  router_abi = json.load(f)
44
-
44
+
45
45
  # Wrapped BTC and Swap Router setup
46
46
  WRAPPED_BTC_ADDRESS = "0xA460F83cdd9584E4bD6a9838abb0baC58EAde999"
47
47
  ROUTER_ADDRESS = "0xC2E61936a542D78b9c3AA024fA141c4C632DF6c1"
48
48
 
49
49
  # Load router ABI from a JSON file packaged with mezoAgent
50
- router_abi_path = os.path.join(os.path.dirname(__file__), "data", "new_router_abi.json")
51
- with open(router_abi_path, "r") as f:
50
+ with pkg_resources.open_text("mezo_agent.data", "new_router.json") as f:
52
51
  router_abi = json.load(f)
53
52
 
54
53
  router_contract = web3_instance.eth.contract(address=ROUTER_ADDRESS, abi=router_abi)
@@ -2,11 +2,11 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="mezoAgent",
5
- version="0.3.5",
5
+ version="0.3.7",
6
6
  packages=find_packages(),
7
7
  include_package_data=True,
8
8
  package_data={
9
- "mezoAgent": ["data/*.json"],
9
+ "mezo_agent": ["data/*.json"],
10
10
  },
11
11
  install_requires=[
12
12
  "python-dotenv",
File without changes
File without changes
File without changes