pyteal icon indicating copy to clipboard operation
pyteal copied to clipboard

Allow the abi.Tuple's `.set` to accept Expr

Open barnjamin opened this issue 3 years ago • 0 comments

Problem

If I have a tuple (uint64,address) and I want to set the values in a tuple, I need to first create ABI types to hold them, then pass them into the set method.

Solution

Allow set to accept Expr and use the known type to encode the stack type to the byte representation

barnjamin avatar Aug 03 '22 18:08 barnjamin