This interface represents JavaScript objects that can be annotated on a parameterized value A. Primitive values like string or bigint cannot be annotated, but classes like String can.

A contract can be annotated with information that helps to derive a contract logical state depending on the current node of the contract. It can also be used to provide location information from a higer level language that generates Marlowe, allowing source mapping in a simulation.

Type Parameters

  • A

    The type of the annotation

Hierarchy

  • Annotated

Properties

Properties

annotation: A