Interface AuthenticationTemplateScriptTested

An object describing the configuration for a particular script within an authentication template.

Hierarchy

Properties

Properties

name?: string

A single-line, human-readable name for this script (for use in user interfaces).

pushed?: boolean

If set to true, indicates that this script should be wrapped in a push statement for testing.

This is useful for scripts that serve as "bytecode templates" – e.g. formatted messages or signature preimages. These scripts are typically not evaluated as bytecode but appear within push statements elsewhere in the template.

Defaults to false.

script: string

The script definition in CashAssembly.

tests: {
    [testId: string]: AuthenticationTemplateScriptTest;
}

One or more tests that can be used during development and during template validation to confirm the correctness of this tested script.

Type declaration

Generated using TypeDoc