minca

Interface: ContractExample

Defined in: packages/std/src/blueprints.ts:74

A version that a proposed collection's contract must let count, or must not

Properties

PropertyModifierTypeDescriptionDefined in
author?readonlystringWho writes it, an account DID; the proposer when left outpackages/std/src/blueprints.ts:78
bodyreadonlyunknown-packages/std/src/blueprints.ts:76
collectionreadonlystring-packages/std/src/blueprints.ts:75
creator?readonlystringWho wrote the record's first version; the version before's author, or this one's, when left outpackages/std/src/blueprints.ts:83
expectreadonly"pass" | "fail"-packages/std/src/blueprints.ts:84
links?readonlyExampleLinks-packages/std/src/blueprints.ts:79
prev?readonlyobjectThe version before, for a contract that reads prev; none for a first version. Its author is this one's when left outpackages/std/src/blueprints.ts:81
prev.author?readonlystring-packages/std/src/blueprints.ts:81
prev.bodyreadonlyunknown-packages/std/src/blueprints.ts:81
prev.links?readonlyExampleLinks-packages/std/src/blueprints.ts:81

On this page