algorand-devrel / community

11 stars 3 forks source link

PyTEAL - Provide ABI method decorator that handles selector creation/routing #12

Closed barnjamin closed 2 years ago

barnjamin commented 3 years ago

At the moment the ABI selector creation is a very manual processes that involves creating the has by hand and checking the application args for the appropriate selector.

We should provide an ABI decorator like the current Subroutine decorator that can inspect the function and handles selector creation and IDL specification for generating clients.

barnjamin commented 2 years ago

https://github.com/algorand/pyteal/pull/170