Directives

A directive is an instruction that sets the compilation mode of the script.

{-# DIRECTIVE_NAME VALUE #-}

Directives list

# Directive name Directive function Possible values
1 CONTENT_TYPE Defines whether the script body is an expression or a set of definitions EXPRESSION — expression
DAPP — set of definitions
2 SCRIPT_TYPE Defines the script context ACCOUNT
ASSET
3 STDLIB_VERSION Sets the version of the Standard Library 3
2
1

results matching ""

    No results matching ""