Expand description
§Common types for Essential Chain.
Modules§
- contract
- Contract
- convert
- Helper functions for converting between byte, word and hex string representations.
- fmt
core::fmt
implementations and related items.- predicate
- Predicates
- serde
- Custom serde module implementations.
- solution
- Solutions
Structs§
- Content
Address - Content address of a predicate or contract.
- Contract
- A contract of predicates.
- Predicate
- A program dependency graph.
- Predicate
Address - Address of a predicate.
- Program
- A program to be executed.
- Signature
- Recoverable ECDSA signature over some data.
- Solution
- A solution for a single contract predicate.
- Solution
Set - A set of
Solution
s.
Type Aliases§
- Bytecode
- Essential ASM encoded as bytes.
- Hash
- Hash encoded as a 32 byte array.
- Key
- Key for data.
- Solution
Index - An index into a
SolutionSet
’ssolutions
slice. - Value
- The data at a key.
- Word
- Single unit of data.