For safety reasons, I want my PyTeal code to check the Txn.type_enum() for ApplicationOptInTxn's made to my smart contract. In the documentation, I only see the following options:
TxnType.UnknownTxnType.PaymentTxnType.KeyRegistrationTxnType.AssetConfigTxnType.AssetTransferTxnType.AssetFreezeTxnType.ApplicationCall
There is no TxnType option to check for OptIn, CloseOut, Delete, nor UpdateTransactions. Are these assumed to be ApplicationCalls?
(so I should check that Txn.type_enum() == TxnType.ApplicationCall)?
✔ Solved by JasonW in post #2
