Class AppParams

AppParams stores the global information associated with an application

Implements

Constructors

  • Parameters

    • params: {
          approvalProgram: Uint8Array;
          clearStateProgram: Uint8Array;
          extraProgramPages: number;
          globalState: Map<Uint8Array, TealValue>;
          globalStateSchema: StateSchema;
          localStateSchema: StateSchema;
      }
      • approvalProgram: Uint8Array
      • clearStateProgram: Uint8Array
      • extraProgramPages: number
      • globalState: Map<Uint8Array, TealValue>
      • globalStateSchema: StateSchema
      • localStateSchema: StateSchema

    Returns AppParams

Properties

approvalProgram: Uint8Array
clearStateProgram: Uint8Array
extraProgramPages: number
globalState: Map<Uint8Array, TealValue>
globalStateSchema: StateSchema
localStateSchema: StateSchema
encodingSchema: NamedMapSchema = ...

Methods

  • Extract the encoding data for this object. This data, after being prepared by the encoding Schema, can be encoded to msgpack or JSON.

    Returns Map<string, unknown>

Generated using TypeDoc