-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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 function and event utilities #3279
Comments
reedsa
changed the title
Contract function and event utilities
Mar 12, 2024
get_function_info
utilities
1 task
This was referenced Apr 8, 2024
Closed
Being tracked elsewhere |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What was wrong?
Utilities made public in #3268 focused on
get_event_data
andget_function_info
.There are a handful of utility functions that would be helpful for users who do not want to instantiate a Contract instance.
In order to fully make these methods public, refactoring will be necessary to eliminate any circular dependencies.
Private
web3._utils.contracts
andContract
class methods that may be useful:find_matching_fn_abi
extract_argument_types
encode_abi
prepare_transaction
encode_transaction_data
/decode_transaction_data
get_fallback_function_info
get_receive_function_info
create_filter
build_filter
How can it be fixed?
Make public utilities for contract functions and events. Call the utilities from the
Contract
class methods.Tasks
The text was updated successfully, but these errors were encountered: