-
Notifications
You must be signed in to change notification settings - Fork 554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Multicall context manager #1125
Merged
iamdefinitelyahuman
merged 34 commits into
eth-brownie:master
from
skellet0r:feat/multicall2
Jul 18, 2021
Merged
Changes from 1 commit
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
9a65d49
fix: failing test get_abi for uniswap
skellet0r 3b01aeb
feat: add Multicall2 contract
skellet0r ff4b90d
feat: add modified Multicall2 abi
skellet0r e02a802
fix: update MANIFEST.in
skellet0r 22774a3
feat: add multicall2 addresses to network config
skellet0r 628cafb
fix(test): update optional keys in network config
skellet0r 159901f
feat: add wrapt and lazy-object-proxy packages
skellet0r c94643f
test: multicall2 context manager
skellet0r 33240e5
feat: add multicall2 context manager
skellet0r 6d79ab4
feat: add multicall2 to brownie namespace
skellet0r d72d9a1
fix: rename ctx mgr from multicall2 to multicall
skellet0r 742ce6c
test: additional test cases
skellet0r 4ba02d0
feat: add deploy fn and handle specifying block_identifier
skellet0r b21807f
test: all calls come from the same block
skellet0r 06ae659
fix: handle all calls are queried from the same block
skellet0r b087a74
fix: repr of lazy results
skellet0r 25f2675
fix: remove aliasing Multicall class
skellet0r 51334ba
test: multicall block_number getter + setter
skellet0r 90479aa
feat: block number getter + setter
skellet0r 18e4480
docs: add documentation for multicall
skellet0r 33b0d84
test: modify test to simulate multi-instance safety
skellet0r 781536c
fix: remove replacing original code object back
skellet0r afa3943
chore: update CHANGELOG
skellet0r 0192311
docs: add docstrings to Multicall class
skellet0r 3096c30
fix: update init fn
skellet0r 7cda178
fix: update usage
skellet0r 222b19f
fix: namespacing
skellet0r b1bc173
fix: attribute setting and calls
skellet0r a90415e
fix(test): update tests for correct usage
skellet0r 9da7e5d
fix: public attributes
skellet0r 8686817
docs: update with new usage
skellet0r dd30cef
chore: linting
skellet0r e85bf9f
chore: lint
skellet0r 9868a76
fix: remove threading import in proxy fn
skellet0r File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix: attribute setting and calls
- Loading branch information
commit b1bc173bbdb02869287ce0834398cb90eb60148c
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this import statement necessary?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ehh it is gross, what I can do is move the import over to the contract.py file then we won't have to import in the function