StateTotals
@algorandfoundation/algorand-typescript
@algorandfoundation/algorand-typescript / index / <internal> / StateTotals
Type Alias: StateTotals
Section titled “Type Alias: StateTotals”StateTotals:
object
Defined in: packages/algo-ts/src/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.
Type declaration
Section titled “Type declaration”globalBytes?
Section titled “globalBytes?”
optionalglobalBytes:number
globalUints?
Section titled “globalUints?”
optionalglobalUints:number
localBytes?
Section titled “localBytes?”
optionallocalBytes:number
localUints?
Section titled “localUints?”
optionallocalUints:number