pyteal
pyteal copied to clipboard
Add `read_only` boolean flag to ABI methods
Problem
ARC22 describes a way to mark methods as read only, to denote they should not be called through the normal transaction process.
Solution
Add a read_only argument to the methods that allow defining an ABI method and pass it through to the contract.json