What does this mean in PyTeal subroutines?

What does the bold mean?

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

What do the → TxnExpr or → Expr: mean?

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.

1 Like