We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Method
I expect the most common use of the Contract/Interface objects will be to read some json and use it to populate ATC method calls.
We should provide an easy way to access the methods by name, they're currently stored in a list
Implement a method get_method_by_name that accepts a name string and searches for a matching method, returning it if only 1 is found.
get_method_by_name
If none or >1 are found, raise error
Tests: #185 (MERGED) Python: algorand/py-algorand-sdk#345 (MERGED) JS: algorand/js-algorand-sdk#583 (MERGED) Go: algorand/go-algorand-sdk#330 (MERGED) Java: algorand/java-algorand-sdk#337 (MERGED)
The text was updated successfully, but these errors were encountered:
barnjamin
No branches or pull requests
Problem
I expect the most common use of the Contract/Interface objects will be to read some json and use it to populate ATC method calls.
We should provide an easy way to access the methods by name, they're currently stored in a list
Solution
Implement a method
get_method_by_name
that accepts a name string and searches for a matching method, returning it if only 1 is found.If none or >1 are found, raise error
PRs
Tests: #185 (MERGED)
Python: algorand/py-algorand-sdk#345 (MERGED)
JS: algorand/js-algorand-sdk#583 (MERGED)
Go: algorand/go-algorand-sdk#330 (MERGED)
Java: algorand/java-algorand-sdk#337 (MERGED)
The text was updated successfully, but these errors were encountered: