Skip to content

StateTotals

Algorand TypeScript


Algorand TypeScript / index / <internal> / StateTotals

StateTotals = object

Defined in: base-contract.ts:31

Options class to manually define the total amount of global and local state contract will use.

This is not required when all state is assigned to this., but is required if a contract dynamically interacts with state via AppGlobal.getBytes etc, or if you want to reserve additional state storage for future contract updates, since the Algorand protocol doesn’t allow increasing them after creation.

optional globalBytes: number

Defined in: base-contract.ts:33


optional globalUints: number

Defined in: base-contract.ts:32


optional localBytes: number

Defined in: base-contract.ts:35


optional localUints: number

Defined in: base-contract.ts:34