Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AuthenticationTemplateScriptTested

Hierarchy

Index

Properties

Properties

Optional name

name: undefined | string

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

Optional pushed

pushed: undefined | false | true

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

This is useful for scripts which 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

script: string

The script definition in BTL (Bitauth Templating Language).

tests

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

Generated using TypeDoc