Expand description
This module defines the structures for a Blueprint, including its preamble, validators, and definitions.
Structs§
- Argument
- Represents an argument in a validator, including its title, description, purpose, and schema reference.
- Blueprint
- Represents a blueprint containing preamble, validators, and optional definitions.
- Compiler
- Represents the compiler information in the preamble.
- Definition
- Represents a definition in the blueprint, including its title, description, data type, any_of schemas, items, keys, and values.
- Definitions
- Represents the definitions in a blueprint, which is a map of definition names to their corresponding definitions.
- Field
- Represents a field in a schema, including its title and reference.
- Parameter
- Represents a parameter in a validator, including its title, description, purpose, and schema reference.
- Preamble
- Represents the preamble of a blueprint, including metadata such as title, description, version, and compiler information.
- Reference
- Represents a reference to a schema.
- Schema
- Represents a schema in a definition, including its title, description, data type, index, and fields.
- Validator
- Represents a validator in the blueprint, including its title, description, compiled code, hash, datum, redeemer, and parameters.
Enums§
- Data
Type - Represents the data type of a schema, which can be integer, bytes, list, map, or constructor.
- Purpose
- Represents the purpose of an argument, which can be spend, mint, withdraw, or publish.
- Purpose
Array - Represents a purpose array which can be either a single purpose or an array of purposes.
- References
Array - Represents an array of references which can be either a single reference or an array of references.