Starting in TEAL v4, opcode which accepted an index into one of the Accounts/ForeignAssets/ForeignApps arrays can now accept "direct references" to these objects as well. The PR containing this change: https://github.com/algorand/go-algorand/pull/2264
PyTeal needs to update its type checking and documentation to allow this.
Scope
Update type checks & documentation for all affected expressions
Add additional unit tests to ensure expressions accept direct references without error
Summary
Starting in TEAL v4, opcode which accepted an index into one of the
Accounts
/ForeignAssets
/ForeignApps
arrays can now accept "direct references" to these objects as well. The PR containing this change: https://github.com/algorand/go-algorand/pull/2264PyTeal needs to update its type checking and documentation to allow this.
Scope
Urgency
This is required for full TEAL 4 support.