Structs
Action for an agent validation package, used to determine whether an agent
is allowed to participate in this DNA
Information about a class of Entries provided by the DNA
When migrating to a new version of a DNA, this action is committed to the
old chain to declare the migration path taken. Currently unused
A action which “speaks” Entry content into being. The same content can be
referenced by multiple such actions.
Declares that a metadata Link should be made between two EntryHashes
Declare that a previously published Action should be nullified and
considered deleted.
Placeholder for future when we want to have deletes on actions
Not currently in use.
Declares that a previously made Link should be nullified and considered removed.
The Dna Action is always the first action in a source chain
A action which declares that all zome init functions have successfully
completed, and the chain is ready for commits. Contains no explicit data.
When migrating to a new version of a DNA, this action is committed to the
new chain to declare the migration path taken. Currently unused
A action which specifies that some new Entry content is intended to be an
update to some old Entry.
Placeholder for future when we want to have updates on actions
Not currently in use.
this id is an internal reference, which also serves as a canonical ordering
for zome initialization. The value should be auto-generated from the Zome Bundle def
Enums
Action contains variants for each type of action.
A unit enum which just maps onto the different Action variants,
without containing any extra data
Allows Actions which reference Entries to know what type of Entry it is
referencing. Useful for examining Actions without needing to fetch the
corresponding Entries.
Constants
Any action with a action_seq less than this value is part of a record
created during genesis. Anything with this seq or higher was created
after genesis.
Traits
A trait to unify the “inner” parts of an Action, i.e. the structs inside
the Action enum’s variants. This trait is used for the “unweighed” version
of each struct, i.e. the version with weight information erased.
A trait to unify the “inner” parts of an Action, i.e. the structs inside
the Action enum’s variants. This trait is used for the “weighed” version
of each struct, i.e. the version without weight information erased.