-
Notifications
You must be signed in to change notification settings - Fork 0
/
moccasin.toml
76 lines (65 loc) · 2.49 KB
/
moccasin.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
[project]
src = "src"
out = "out"
dot_env = ".env"
name = "moccasin_project"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"snekmate",
]
# ------------------------------------------------------------------
# DEPLOYERS
# ------------------------------------------------------------------
[networks.contracts.eth_usd_price_feed]
deployer_script = "script/mocks/deploy_price_feed.py"
[networks.contracts.btc_usd_price_feed]
deployer_script = "script/mocks/deploy_price_feed.py"
[networks.contracts.weth]
deployer_script = "script/mocks/deploy_collateral.py"
[networks.contracts.wbtc]
deployer_script = "script/mocks/deploy_collateral.py"
[networks.contracts.decentralized_stable_coin]
deployer_script = "script/deploy_dsc.py"
# ------------------------------------------------------------------
# NETWORKS
# ------------------------------------------------------------------
[networks.anvil]
url = "http://127.0.0.1:8545"
prompt_live = false
save_to_db = false
chain_id = 31337
# TODO: Deploy this
[networks.zksync-sepolia]
url = "https://sepolia.era.zksync.dev"
chain_id = 300
is_zksync = true
prompt_live = true
explorer_type = "zksyncexplorer"
explorer_url = "https://explorer.sepolia.era.zksync.dev"
default_account_name = "smalltestnet"
unsafe_password_file = "$SMALLTESTNET_PASSWORD_FILE"
[networks.zksync-fork]
url = "$ZKSYNC_RPC_URL"
chain_id = 324
is_zksync = true
prompt_live = true
fork = true
explorer_type = "zksyncexplorer"
explorer_url = "https://zksync2-mainnet-explorer.zksync.io"
# ------------------------------------------------------------------
# NETWORK CONTRACTS
# ------------------------------------------------------------------
[networks.zksync-sepolia.contracts]
eth_usd_price_feed = { address = "0xfEefF7c3fB57d18C5C6Cdd71e45D2D0b4F9377bF" }
btc_usd_price_feed = { address = "0x95Bc57e794aeb02E4a16eff406147f3ce2531F83" }
# TODO: Get these addresses
# weth = { address = "0x7fC77b5c7614E1533320Ea6DDc2Eb61fa00A9714" }
[networks.zksync.contracts]
eth_usd_price_feed = { address = "0xfEefF7c3fB57d18C5C6Cdd71e45D2D0b4F9377bF" }
btc_usd_price_feed = { address = "0x95Bc57e794aeb02E4a16eff406147f3ce2531F83" }
weth = { address = "0xf00DAD97284D0c6F06dc4Db3c32454D4292c6813" }
wbtc = { address = "0xBBeB516fb02a01611cBBE0453Fe3c580D7281011" }
# You can view all configuration options at https://cyfrin.github.io/moccasin/all_moccasin_toml_parameters.html