Properties
Optional
args
args?: Uint8Array[]
assertProgramMaxLen
assertProgramMaxLen: ((approvalProgramBytes: Uint8Array, clearProgramBytes: Uint8Array, extraPages: number) => void)
Type declaration
-
- (approvalProgramBytes: Uint8Array, clearProgramBytes: Uint8Array, extraPages: number): void
-
Parameters
-
approvalProgramBytes: Uint8Array
-
clearProgramBytes: Uint8Array
-
extraPages: number
Returns void
closeApp
closeApp: ((sender: string, appID: number) => void)
Type declaration
-
- (sender: string, appID: number): void
-
Parameters
-
sender: string
-
appID: number
Returns void
Optional
debugStack
debugStack?: number
deductFee
deductFee: ((sender: string, index: number, params: TxParams) => void)
Type declaration
-
- (sender: string, index: number, params: TxParams): void
-
Parameters
-
sender: string
-
index: number
-
params: TxParams
Returns void
deleteApp
deleteApp: ((appID: number) => void)
Type declaration
-
- (appID: number): void
-
Returns void
deployASADef
deployASADef
: ((name
: string, asaDef
: { clawback
?: string; decimals
: number | bigint; defaultFrozen
?: boolean; freeze
?: string; manager
?: string; metadataHash
?: string | Uint8Array | Buffer; name
?: string; note
?: string; noteb64
?: string; optInAccNames
?: string[]; reserve
?: string; total
: string | number | bigint; unitName
?: string; url
?: string; }, fromAccountAddr
: string, flags
: ASADeploymentFlags) => ASAInfo)
Type declaration
-
- (name: string, asaDef: {
clawback?: string;
decimals: number | bigint;
defaultFrozen?: boolean;
freeze?: string;
manager?: string;
metadataHash?: string | Uint8Array | Buffer;
name?: string;
note?: string;
noteb64?: string;
optInAccNames?: string[];
reserve?: string;
total: string | number | bigint;
unitName?: string;
url?: string;
}, fromAccountAddr: string, flags: ASADeploymentFlags): ASAInfo
-
Parameters
-
name: string
-
asaDef: {
clawback?: string;
decimals: number | bigint;
defaultFrozen?: boolean;
freeze?: string;
manager?: string;
metadataHash?: string | Uint8Array | Buffer;
name?: string;
note?: string;
noteb64?: string;
optInAccNames?: string[];
reserve?: string;
total: string | number | bigint;
unitName?: string;
url?: string;
}
-
Optional
clawback?: string
-
decimals: number | bigint
-
Optional
defaultFrozen?: boolean
-
Optional
freeze?: string
-
Optional
manager?: string
-
Optional
metadataHash?: string | Uint8Array | Buffer
-
Optional
name?: string
-
Optional
note?: string
-
Optional
noteb64?: string
-
Optional
optInAccNames?: string[]
-
Optional
reserve?: string
-
total: string | number | bigint
-
Optional
unitName?: string
-
Optional
url?: string
-
fromAccountAddr: string
-
deployApp
deploy
App
: ((fromAccountAddr
: string, appDefinition
: AppDefinition, idx
: number, scTmplParams
?: SCParams) => AppInfo)
Type declaration
-
- (fromAccountAddr: string, appDefinition: AppDefinition, idx: number, scTmplParams?: SCParams): AppInfo
-
Parameters
-
fromAccountAddr: string
-
appDefinition: AppDefinition
-
idx: number
-
Optional
scTmplParams: SCParams
destroyAsset
destroyAsset: ((assetId: number) => void)
Type declaration
-
- (assetId: number): void
-
Returns void
freezeAsset
freezeAsset: ((assetId: number, freezeTarget: string, freezeState: boolean) => void)
Type declaration
-
- (assetId: number, freezeTarget: string, freezeState: boolean): void
-
Parameters
-
assetId: number
-
freezeTarget: string
-
freezeState: boolean
Returns void
getApp
Type declaration
-
- (appID: number, line?: number): SSCAttributesM
-
Parameters
-
appID: number
-
Optional
line: number
getCallerApplicationAddress
getCallerApplicationAddress: (() => string)
Type declaration
-
- (): string
-
Returns string
getCallerApplicationID
getCallerApplicationID: (() => number)
Type declaration
-
- (): number
-
Returns number
innerTxAppIDCallStack
innerTxAppIDCallStack: number[]
isInnerTx
isInnerTx: boolean
knowableID
knowableID: Map<number, number>
lastLog
lastLog: Uint8Array
modifyAsset
modifyAsset: ((assetId: number, fields: AssetModFields) => void)
Type declaration
-
- (assetId: number, fields: AssetModFields): void
-
Parameters
-
assetId: number
-
fields: AssetModFields
Returns void
optInToASA
opt
In
ToASA
: ((assetIndex
: number, address
: string, flags
: TxParams) => TxReceipt)
Type declaration
-
- (assetIndex: number, address: string, flags: TxParams): TxReceipt
-
Parameters
-
assetIndex: number
-
address: string
-
flags: TxParams
optInToApp
opt
In
To
App
: ((accountAddr
: string, appID
: number, idx
: number) => TxReceipt)
Type declaration
-
- (accountAddr: string, appID: number, idx: number): TxReceipt
-
Parameters
-
accountAddr: string
-
appID: number
-
idx: number
pooledApplCost
pooledApplCost: number
processTransactions
process
Transactions
: ((signedTransactions
: SignedTransaction[], appDefMap
?: Map<number, SmartContract | AppDefinition>, lsigMap
?: Map<number, SignWithLsig>) => TxReceipt[])
Type declaration
-
- (signedTransactions: SignedTransaction[], appDefMap?: Map<number, SmartContract | AppDefinition>, lsigMap?: Map<number, SignWithLsig>): TxReceipt[]
-
Parameters
-
signedTransactions: SignedTransaction[]
-
Optional
appDefMap: Map<number, SmartContract | AppDefinition>
-
Optional
lsigMap: Map<number, SignWithLsig>
remainingFee
remainingFee: number
remainingTxns
remainingTxns: number
revokeAsset
revokeAsset: ((recipient: string, assetID: number, revocationTarget: string, amount: bigint) => void)
Type declaration
-
- (recipient: string, assetID: number, revocationTarget: string, amount: bigint): void
-
Parameters
-
recipient: string
-
assetID: number
-
revocationTarget: string
-
amount: bigint
Returns void
transferAlgo
transferAlgo: ((transaction: Transaction) => void)
Type declaration
-
- (transaction: Transaction): void
-
Returns void
transferAsset
transferAsset: ((transaction: Transaction) => void)
Type declaration
-
- (transaction: Transaction): void
-
Returns void
updateApp
update
App
: ((appID
: number, appSourceCode
: SmartContract, idx
: number, scTmplParams
?: SCParams) => TxReceipt)
Type declaration
-
- (appID: number, appSourceCode: SmartContract, idx: number, scTmplParams?: SCParams): TxReceipt
-
Parameters
-
appID: number
-
appSourceCode: SmartContract
-
idx: number
-
Optional
scTmplParams: SCParams
verifyMinimumFees
verifyMinimumFees: (() => void)