ludus::runtime::behavior::Contract¶
Ludus Wiki · API overview · Browse API
Struct
Project-defined immutable contract generated by the paired host cooker.
Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h
#include <ludus/runtime/behavior/behavior.h>
struct ludus::runtime::behavior::Contract
Fields¶
Digest¶
const char* ludus::runtime::behavior::Contract::Digest = nullptr
Exactly 64 lowercase hex bytes plus terminator; integrity, not authentication.
Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h
Config¶
std::span<const FieldSpec> ludus::runtime::behavior::Contract::Config
Up to sixteen immutable configuration fields.
Related types: FieldSpec
Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h
State¶
std::span<const FieldSpec> ludus::runtime::behavior::Contract::State
One to sixteen declared scalar state fields; no Entity fields.
Related types: FieldSpec
Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h
Event¶
std::span<const FieldSpec> ludus::runtime::behavior::Contract::Event
Up to sixteen event fields, including scoped entities.
Related types: FieldSpec
Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h
Operations¶
std::span<const Operation> ludus::runtime::behavior::Contract::Operations
Up to sixteen deferred operations.
Related types: Operation
Declared in modules/runtime/behavior/include/ludus/runtime/behavior/behavior.h