-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Contract Caller Cleaned up #1227
Merged
Merged
Changes from 28 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
deb435b
First pass on Contract caller
kclowes 7bda172
ContractReader works with parentheses option
kclowes 87225b8
Allow reader to take a transaction_dict
kclowes ceab93b
Change all 'reader' references to 'caller'
kclowes abdbd02
Add test to make sure a contract without an ABI doesn't return an error
kclowes 5384fbb
Add deprecation message
kclowes 23603c8
Get rid of ContractMethod, raise error if no ABI
kclowes 07bfbf3
Pass around args in a way that makes tests pass
kclowes 6844adc
Change ImplicitContract deprecation method,
kclowes 0b34a23
Tests passing for ENS
kclowes f4e34fc
Fix linting
kclowes a84cc96
ConciseContract tests passing
kclowes 7e65e9c
Allow no ABI until a function is called
kclowes cbb2a55
Move ContractCaller tests to their own file
kclowes e35aeb4
Test that block_identifier is set correctly
kclowes 4000174
Test that address gets set correctly
kclowes ec73ea1
Add block number to CallerTester contract
kclowes 9ef6efe
Add block identifier to CallerTester contract
kclowes 40aa86a
Refactor out none_or_zero_address function
kclowes 0ed10a1
Add documentation to ContractCaller class
kclowes d0bc7cc
Whitespace
kclowes 93d4501
More whitespace
kclowes e35362a
Test deprecation methods,
kclowes 1b17a11
ContractCaller docs are tested
kclowes ca7919f
Sort imports correctly
kclowes 7d551be
Add deprecation warnings to ConciseContract and ImplicitContract in docs
kclowes adcafa5
Add elif and space in error message
kclowes e959c9c
fix linting
kclowes 4a6da73
Rename transaction_dict to transaction.
kclowes da6888e
Add block_identifier example
kclowes 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
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
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
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
Oops, something went wrong.
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.
Maybe one more example that includes
block_identifier
?