Skip to content

Commit

Permalink
feat: add multicall2 to brownie namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
skellet0r committed Jun 26, 2021
1 parent 9327e23 commit d15ea6e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions brownie/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
from brownie.convert import Fixed, Wei
from brownie.network import accounts, alert, chain, history, rpc, web3
from brownie.network.contract import Contract # NOQA: F401
from brownie.network.multicall2 import Multicall2

ETH_ADDRESS = "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE"
ZERO_ADDRESS = "0x0000000000000000000000000000000000000000"

config = _CONFIG.settings
multicall2 = Multicall2

__all__ = [
"Contract",
Expand All @@ -22,6 +24,7 @@
"alert",
"chain",
"history", # history is a TxHistory singleton
"multicall2",
"network",
"rpc", # rpc is a Rpc singleton
"web3", # web3 is a Web3 instance
Expand Down

0 comments on commit d15ea6e

Please sign in to comment.