Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion pyteal/ast/subroutine.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,12 @@ def has_return(self):


class ABIReturnSubroutine:
"""Used to create a PyTeal Subroutine (returning an ABI value) from a python function.
"""Used to create a PyTeal Subroutine (returning an ABI value) from a python function. It's primarily intended to define ARC-4 Application entry points though it can also be used more generally.

*Disclaimer*: ABIReturnSubroutine is still taking shape and is subject to backwards incompatible changes.

* For ARC-4 Application entry point definition, feel encouraged to use ABIReturnSubroutine. Expect a best-effort attempt to minimize backwards incompatible changes along with a migration path.
* For general purpose subroutine definition usage, use at your own risk. Based on feedback, the API and usage patterns will change more freely and with less effort to provide migration paths.

This class is meant to be used as a function decorator. For example:

Expand Down