This forum is a read-only archive. Posting, replying and signing in are disabled.

What does this mean in PyTeal subroutines?

javier0rosas

What does the bold mean?

@Subroutine(TealType.uint64)
def executeAssetCreationTxn(txn_index: TealType.uint64) -> TxnExpr:

What do the → TxnExpr or → Expr: mean?

✔ Solved by Ben in post #2
Ben

TxnExpr and Expr are both Pyteal Types, in the example you posted its a type hint to convey what is being returned from the function.