Interface IAppCallTxn
Inherited Members
Namespace: Algorand.Unity
Assembly: cs.temp.dll.dll
Syntax
public interface IAppCallTxn : ITransaction, ITransactionHeader
Properties
Accounts
List of accounts in addition to the sender that may be accessed from the application's approval-program and clear-state-program.
Declaration
Address[] Accounts { get; set; }
Property Value
Type | Description |
---|---|
Address[] |
AppArguments
Transaction specific arguments accessed from the application's approval-program and clear-state-program.
Declaration
CompiledTeal[] AppArguments { get; set; }
Property Value
Type | Description |
---|---|
CompiledTeal[] |
ApplicationId
ID of the application being configured or empty if creating.
Declaration
AppIndex ApplicationId { get; set; }
Property Value
Type | Description |
---|---|
AppIndex |
ApprovalProgram
Logic executed for every application transaction, except when on-completion is set to "clear". It can read and write global state for the application, as well as account-specific local state. Approval programs may reject the transaction.
Declaration
CompiledTeal ApprovalProgram { get; set; }
Property Value
Type | Description |
---|---|
CompiledTeal |
ClearStateProgram
Logic executed for application transactions with on-completion set to "clear". It can read and write global state for the application, as well as account-specific local state. Clear state programs cannot reject the transaction.
Declaration
CompiledTeal ClearStateProgram { get; set; }
Property Value
Type | Description |
---|---|
CompiledTeal |
ExtraProgramPages
Number of additional pages allocated to the application's approval and clear state programs. Each ExtraProgramPages is 2048 bytes. The sum of ApprovalProgram and ClearStateProgram may not exceed 2048*(1+ExtraProgramPages) bytes.
Declaration
ulong ExtraProgramPages { get; set; }
Property Value
Type | Description |
---|---|
UInt64 |
ForeignApps
Lists the applications in addition to the application-id whose global states may be accessed by this application's approval-program and clear-state-program. The access is read-only.
Declaration
ulong[] ForeignApps { get; set; }
Property Value
Type | Description |
---|---|
UInt64[] |
ForeignAssets
Lists the assets whose AssetParams may be accessed by this application's approval-program and clear-state-program. The access is read-only.
Declaration
ulong[] ForeignAssets { get; set; }
Property Value
Type | Description |
---|---|
UInt64[] |
GlobalStateSchema
Holds the maximum number of global state values defined within a StateSchema object.
Declaration
StateSchema GlobalStateSchema { get; set; }
Property Value
Type | Description |
---|---|
StateSchema |
LocalStateSchema
Holds the maximum number of local state values defined within a StateSchema object.
Declaration
StateSchema LocalStateSchema { get; set; }
Property Value
Type | Description |
---|---|
StateSchema |
OnComplete
Defines what additional actions occur with the transaction.
Declaration
OnCompletion OnComplete { get; set; }
Property Value
Type | Description |
---|---|
OnCompletion |