#[repr(u8)]pub enum OnApplicationComplete {
NoOp = 0,
OptIn = 1,
CloseOut = 2,
ClearState = 3,
UpdateApplication = 4,
DeleteApplication = 5,
}
Expand description
On-completion actions for application transactions.
These values define what additional actions occur with the transaction.
Variants§
NoOp = 0
NoOp indicates that an application transaction will simply call its approval program without any additional action.
OptIn = 1
OptIn indicates that an application transaction will allocate some local state for the application in the sender’s account.
CloseOut = 2
CloseOut indicates that an application transaction will deallocate some local state for the application from the user’s account.
ClearState = 3
ClearState is similar to CloseOut, but may never fail. This allows users to reclaim their minimum balance from an application they no longer wish to opt in to.
UpdateApplication = 4
UpdateApplication indicates that an application transaction will update the approval program and clear state program for the application.
DeleteApplication = 5
DeleteApplication indicates that an application transaction will delete the application parameters for the application from the creator’s balance record.
Trait Implementations§
Source§impl Clone for OnApplicationComplete
impl Clone for OnApplicationComplete
Source§fn clone(&self) -> OnApplicationComplete
fn clone(&self) -> OnApplicationComplete
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more