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.
- {mezoagent-0.3.5 → mezoagent-0.3.7}/PKG-INFO +1 -1
- {mezoagent-0.3.5 → mezoagent-0.3.7}/mezoAgent.egg-info/PKG-INFO +1 -1
- {mezoagent-0.3.5 → mezoagent-0.3.7}/mezo_agent/config.py +2 -3
- {mezoagent-0.3.5 → mezoagent-0.3.7}/setup.py +2 -2
- {mezoagent-0.3.5 → mezoagent-0.3.7}/MANIFEST.in +0 -0
- {mezoagent-0.3.5 → mezoagent-0.3.7}/README.md +0 -0
- {mezoagent-0.3.5 → mezoagent-0.3.7}/mezoAgent.egg-info/SOURCES.txt +0 -0
- {mezoagent-0.3.5 → mezoagent-0.3.7}/mezoAgent.egg-info/dependency_links.txt +0 -0
- {mezoagent-0.3.5 → mezoagent-0.3.7}/mezoAgent.egg-info/requires.txt +0 -0
- {mezoagent-0.3.5 → mezoagent-0.3.7}/mezoAgent.egg-info/top_level.txt +0 -0
- {mezoagent-0.3.5 → mezoagent-0.3.7}/mezo_agent/__init__.py +0 -0
- {mezoagent-0.3.5 → mezoagent-0.3.7}/mezo_agent/data/new_router.json +0 -0
- {mezoagent-0.3.5 → mezoagent-0.3.7}/mezo_agent/parsing.py +0 -0
- {mezoagent-0.3.5 → mezoagent-0.3.7}/mezo_agent/swap_musd_btc.py +0 -0
- {mezoagent-0.3.5 → mezoagent-0.3.7}/mezo_agent/transaction.py +0 -0
- {mezoagent-0.3.5 → mezoagent-0.3.7}/setup.cfg +0 -0
@@ -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
|
-
|
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
|
+
version="0.3.7",
|
6
6
|
packages=find_packages(),
|
7
7
|
include_package_data=True,
|
8
8
|
package_data={
|
9
|
-
"
|
9
|
+
"mezo_agent": ["data/*.json"],
|
10
10
|
},
|
11
11
|
install_requires=[
|
12
12
|
"python-dotenv",
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|