pyteal icon indicating copy to clipboard operation
pyteal copied to clipboard

Add `read_only` boolean flag to ABI methods

Open barnjamin opened this issue 3 years ago • 0 comments

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

barnjamin avatar Sep 24 '22 13:09 barnjamin