Hierarchy

  • Context

Properties

args?: Uint8Array[]
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

budget: number
closeApp: ((sender: string, appID: number) => void)

Type declaration

    • (sender: string, appID: number): void
    • Parameters

      • sender: string
      • appID: number

      Returns void

debugStack?: number
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: ((appID: number) => void)

Type declaration

    • (appID: number): void
    • Parameters

      • appID: number

      Returns void

deployASA: ((name: string, fromAccountAddr: string, flags: ASADeploymentFlags) => ASAInfo)

Type declaration

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
      • flags: ASADeploymentFlags

      Returns ASAInfo

deployApp: ((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

      Returns AppInfo

destroyAsset: ((assetId: number) => void)

Type declaration

    • (assetId: number): void
    • Parameters

      • assetId: number

      Returns void

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

getAccount: ((address: string) => AccountStoreI)

Type declaration

getApp: ((appID: number, line?: number) => SSCAttributesM)

Type declaration

getAssetAccount: ((assetId: number) => AccountStoreI)

Type declaration

getCallerApplicationAddress: (() => string)

Type declaration

    • (): string
    • Returns string

getCallerApplicationID: (() => number)

Type declaration

    • (): number
    • Returns number

gtxs: EncTx[]
innerTxAppIDCallStack: number[]
isInnerTx: boolean
knowableID: Map<number, number>
lastLog: Uint8Array
modifyAsset: ((assetId: number, fields: AssetModFields) => void)

Type declaration

    • (assetId: number, fields: AssetModFields): void
    • Parameters

      • assetId: number
      • fields: AssetModFields

      Returns void

optInToASA: ((assetIndex: number, address: string, flags: TxParams) => TxReceipt)

Type declaration

    • (assetIndex: number, address: string, flags: TxParams): TxReceipt
    • Parameters

      • assetIndex: number
      • address: string
      • flags: TxParams

      Returns TxReceipt

optInToApp: ((accountAddr: string, appID: number, idx: number) => TxReceipt)

Type declaration

    • (accountAddr: string, appID: number, idx: number): TxReceipt
    • Parameters

      • accountAddr: string
      • appID: number
      • idx: number

      Returns TxReceipt

pooledApplCost: number
processTransactions: ((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>

      Returns TxReceipt[]

remainingFee: number
remainingTxns: number
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

sharedScratchSpace: Map<number, StackElem[]>
state: State
transferAlgo: ((transaction: Transaction) => void)

Type declaration

    • (transaction: Transaction): void
    • Parameters

      • transaction: Transaction

      Returns void

transferAsset: ((transaction: Transaction) => void)

Type declaration

    • (transaction: Transaction): void
    • Parameters

      • transaction: Transaction

      Returns void

tx: EncTx
updateApp: ((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

      Returns TxReceipt

verifyMinimumFees: (() => void)

Type declaration

    • (): void
    • Returns void

Generated using TypeDoc