Algorand TypeScript
    Preparing search index...

    Type Alias CompileContractOptions

    Options for compiling a contract

    type CompileContractOptions = {
        extraProgramPages?: uint64;
        globalBytes?: uint64;
        globalUints?: uint64;
        localBytes?: uint64;
        localUints?: uint64;
        templateVars?: Record<string, DeliberateAny>;
        templateVarsPrefix?: string;
    }
    Index

    Properties

    extraProgramPages?: uint64

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

    globalBytes?: uint64

    Number of global bytes, defaults to value defined for contract

    globalUints?: uint64

    Number of global uint64s, defaults to value defined for contract

    localBytes?: uint64

    Number of local bytes, defaults to value defined for contract

    localUints?: uint64

    Number of local uint64s, defaults to value defined for contract

    templateVars?: Record<string, DeliberateAny>

    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

    templateVarsPrefix?: string

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