[][src]Module ergo_headless_dapp_framework::box_spec

Structs

BoxSpec

A specification which specifies parameters of an ErgoBox. This spec is used as a "source of truth" to both verify and find ErgoBoxes which match the spec. This is often used for defining Stages in multi-stage smart contract protocols, but can also be used to define input boxes for Actions. All fields are wrapped in Options to allow ignoring specifying the field.

RegisterSpec

A struct which allows a developer to create a specification of a Register in a box. This RegisterSpec is used in a `BoxSpec.

TokenSpec

A struct which allows a developer to create a specification of a token in a box. This TokenSpec is used in a `BoxSpec.