-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrownie-config.yml
74 lines (66 loc) · 2.16 KB
/
brownie-config.yml
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
# use Ganache's forked mainnet mode as the default network
# NOTE: You don't *have* to do this, but it is often helpful for testing
networks:
default: development
development:
gas_limit: max
gas_buffer: 1
gas_price: 0
reverting_tx_gas_limit: max
default_contract_owner: true
cmd_settings:
port: 8545
gas_limit: 6721975
accounts: 500
mainnet:
gas_limit: 3000000
gas_price: 86000000000
cmd_settings:
gas_limit: 3000000
# in command line brownie networks add Ethereum mainnet-new host=$YOUR_ARCHIVE_NODE chainid=1, $YOUR_ARCHIVE_NODE = Alchemy NODE.
# brownie console --network mainnet-fork
mainnet-fork:
chainid: 1
gas_limit: max
explorer: https://api.etherscan.io/api
# cmd_settings:
# fork: mainnet-test
# unlock:
# - 0x4B2A429b97A3022ae32c77eBdbdfB8BA08dd5254
# - 0x509e16558f1fdc4733efa73846da891a29797e43
# - 0x4454fc25daf515d1237d0ea76ac3ea931118eef0
# - 0xc97ad401c75e6bfb5694899cd3271485d27c6ea4
# - 0xf42a339f93c1fa4c5d9ace33db308a504e7b0bde
# - 0xb1f9a358003ae5145805e936db3af3c22368e324
# - 0xa215f1b06e7945d331f2df30961027123947a40d
# - 0x8efd9addd8de6a4e64664d1893dec51f8c3339e9
# - 0x19870de096523b6eaed10da9fbeb82285451c7bd
# - 0x4dab9b8fca17a37e5ef0eef7d1ac09e2ac1580fb
# - 0x8e3fabf5a1e4b773c227d2646eb2470263d3a1bf
# accounts: 10
# default_balance: 100
# gas_limit: 6721975
rinkeby:
gas_limit: max
# automatically fetch contract sources from Etherscan
autofetch_sources: True
# require OpenZepplin Contracts
dependencies:
- iearn-finance/[email protected]
- OpenZeppelin/[email protected]
- OpenZeppelin/[email protected]
# path remapping to support imports from GitHub/NPM
compiler:
solc:
version: 0.6.12
remappings:
- "@yearnvaults=iearn-finance/[email protected]"
- "@openzeppelin=OpenZeppelin/[email protected]"
- "@ozUpgradesV3=OpenZeppelin/[email protected]"
optimizer:
runs: 99999
vyper:
version: 0.2.8
reports:
exclude_contracts:
- SafeMath