Skip to content

CompileContractOptions

Algorand TypeScript


Algorand TypeScript / index / CompileContractOptions

CompileContractOptions = object

Defined in: compiled.ts:55

Options for compiling a contract

readonly optional extraProgramPages: uint64

Defined in: compiled.ts:59

Number of extra program pages, defaults to minimum required for contract


readonly optional globalBytes: uint64

Defined in: compiled.ts:67

Number of global bytes, defaults to value defined for contract


readonly optional globalUints: uint64

Defined in: compiled.ts:63

Number of global uint64s, defaults to value defined for contract


readonly optional localBytes: uint64

Defined in: compiled.ts:75

Number of local bytes, defaults to value defined for contract


readonly optional localUints: uint64

Defined in: compiled.ts:71

Number of local uint64s, defaults to value defined for contract


readonly optional templateVars: Record<string, DeliberateAny>

Defined in: compiled.ts:80

Template variables to substitute into the contract, key should be without the prefix, must evaluate to a compile time constant and match the type of the template var declaration


readonly optional templateVarsPrefix: string

Defined in: compiled.ts:84

Prefix to add to provided template vars, defaults to the prefix supplied on command line (which defaults to TMPL_)