Enum OnCompletion
[apan] defines the what additional actions occur with the transaction.
Namespace: Algorand.Unity
Assembly: cs.temp.dll.dll
Syntax
public enum OnCompletion : byte
Fields
Name | Description |
---|---|
Clear | Similar to CloseOut, but the transaction will always clear a contract from the account’s balance record whether the program succeeds or fails. |
CloseOut | Accounts use this transaction to close out their participation in the contract. This call can fail based on the TEAL logic, preventing the account from removing the contract from its balance record. |
Delete | Transaction to delete the application. |
NoOp | Generic application calls to execute the ApprovalProgram |
OptIn | Accounts use this transaction to opt into the smart contract to participate (local storage usage). |
Update | Transaction to update TEAL Programs for a contract. |