-
Notifications
You must be signed in to change notification settings - Fork 2
/
moccasin.toml
81 lines (73 loc) · 3.46 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
77
78
79
80
81
[project]
src = "src"
out = "out"
dot_env = ".env"
save_abi_path = "abis"
default_network_name = "mainnet-fork"
name = "moccasin_project"
version = "0.1.0"
description = "Add your description here"
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
"snekmate",
]
[networks.contracts]
weth = { abi = "abis/weth.json" }
usdc = { abi = "abis/usdc.json" }
uniswap_swap_router = { abi = "abis/uniswap_swap_router.json" }
aavev3_pool_address_provider = { abi = "abis/aavev3_pool_address_provider.json" }
pool = { abi = "abis/pool.json" }
aave_protocol_data_provider = { abi = "abis/aave_protocol_data_provider.json" }
eth_usd_price_feed = { abi = "abis/eth_usd_price_feed.json" }
usdc_usd_price_feed = { abi = "abis/usdc_usd_price_feed.json" }
master_minter = { abi = "abis/master_minter.json" } # 0xE982615d461DD5cD06575BbeA87624fda4e3de17
[networks.mainnet-fork]
url = "$MAINNET_RPC_URL"
fork = true
is_zksync = false
default_account_name = "anvil1"
unsafe_password_file = "$ANVIL1_PASSWORD_FILE"
chain_id = 1
[networks.mainnet-fork.contracts]
weth = { address = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }
usdc = { address = "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }
uniswap_swap_router = { address = "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45" }
aavev3_pool_address_provider = { address = "0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e" }
aave_protocol_data_provider = { address = "0x41393e5e337606dc3821075Af65AeE84D7688CBD" }
eth_usd_price_feed = { address = "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419" }
usdc_usd_price_feed = { address = "0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6" }
[neworks.mainnet-tenderly]
url = "$TENDERLY_RPC_URL"
is_zksync = false
default_account_name = "anvil1"
unsafe_password_file = "$ANVIL1_PASSWORD_FILE"
[neworks.mainnet-tenderly.contracts]
weth = { address = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2" }
usdc = { address = "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48" }
uniswap_swap_router = { address = "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45" }
aavev3_pool_address_provider = { address = "0x2f39d218133AFaB8F2B819B1066c7E434Ad94E9e" }
aave_protocol_data_provider = { address = "0x41393e5e337606dc3821075Af65AeE84D7688CBD" }
eth_usd_price_feed = { address = "0x5f4eC3Df9cbd43714FE2740f5E3616155c5b8419" }
usdc_usd_price_feed = { address = "0x8fFfFfd4AfB6115b954Bd326cbe7B4BA576818f6" }
[networks.zksync]
url = "$ZKSYNC_RPC_URL"
fork = false
is_zksync = true
explorer_uri = "https://api-era.zksync.network/api"
explorer_type = "zksyncexplorer"
explorer_api_key = "$ETHERSCAN_ZKSYNC_API_KEY"
chain_id = 324
# default_account_name = "zk-rich1"
# unsafe_password_file = "$ZK_RICH1_PASSWORD_FILE"
# default_account_name = "anvil1"
# unsafe_password_file = "$ANVIL1_PASSWORD_FILE"
[networks.zksync.contracts]
weth = { address = "0x5AEa5775959fBC2557Cc8789bC1bf90A239D9a91" } # Different from what the Zksync explorer shows!
usdc = { address = "0x1d17CBcF0D6D143135aE902365D2E5e2A16538D4" }
uniswap_swap_router = { address = "0x99c56385daBCE3E81d8499d0b8d0257aBC07E8A3" }
aavev3_pool_address_provider = { address = "0x2A3948BB219D6B2Fa83D64100006391a96bE6cb7" }
aave_protocol_data_provider = { address = "0x5F2A704cE47B373c908fE8A29514249469b52b99" }
eth_usd_price_feed = { address = "0x6D41d1dc818112880b40e26BD6FD347E41008eDA" }
usdc_usd_price_feed = { address = "0x1824D297C6d6D311A204495277B63e943C2D376E" }
# You can view all configuration options at https://cyfrin.github.io/moccasin/all_moccasin_toml_parameters.html