Skip to content

Commit

Permalink
deployed on zksync
Browse files Browse the repository at this point in the history
  • Loading branch information
bout3fiddy committed Jun 7, 2024
1 parent 48658db commit 4f4475a
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 7 deletions.
27 changes: 24 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ packages = []
[tool.poetry.dependencies]
python = "^3.10"
poetry = "1.5.1"
titanoboa = {git = "https://github.com/DanielSchiavini/titanoboa.git", rev = "zksync"}
vyper = "0.3.10"
pycryptodome = "^3.18.0"
pre-commit = "^3.3.3"
titanoboa-zksync = {git = "https://github.com/DanielSchiavini/titanoboa-zksync.git", rev = "5f13b427df4b8832fcc16ec1f6d44460f1d04b49"}

[tool.poetry.group.dev.dependencies]
black = "22.3.0"
Expand Down
6 changes: 3 additions & 3 deletions scripts/deploy_infra.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@
"zksync:mainnet": {
"math": "0xcf19236e85000901dE2Fad3199aA4A1F74a78B6C",
"views": "0xDD82bEe76CB4b161B44533e4B6Dfc2eee7e066D4",
"plain_amm": "",
"meta_amm": "",
"plain_amm": "0x3ce3009F8ad07161BA9d02d7A0173180d0281cA4",
"meta_amm": "0x1E9A82C2a3DF2E0793a2B828aA652Db192f3C8F3",
"factory": "0x375444aeDEb6C3db897f293E1DBa85D7422A6859",
"zap": "0x4232Dcc6D31543A2431079BdE2082C69eA3A771E",
},
Expand Down Expand Up @@ -363,7 +363,7 @@ def deploy_infra(network, url, account, fork=False):

current_pool_impl = factory.pool_implementations(0)
if not current_pool_impl == plain_blueprint.address:
logger.log(f"Curent 'plain' pool impl at index 0: {current_pool_impl}")
logger.log(f"Current 'plain' pool impl at index 0: {current_pool_impl}")
factory.set_pool_implementations(0, plain_blueprint.address)
logger.log(f"Set plain amm implementation at index 0 to: {plain_blueprint.address}")

Expand Down

0 comments on commit 4f4475a

Please sign in to comment.