Annotations

An annotation is a form of metadata that is added to a function of a dApp script.

At the present moment, there are two annotations: @Callable and @Verifier.

@Callable(inv: Invocation)

Annotation of a callable function.

Variable inv contains information about the transaction that invoked the function of a dApp.

@Verifier(tx: Transaction|Order)

Annotation of a verifier function.

Variable tx contains information about the transaction or the order that was sent.

results matching ""

    No results matching ""