Expand description
Minimal implementation of the ledger traits for a CAP-style ledger.
This implementation can be used as an aid in implemeneting the traits for more complex, specific ledger types. It is also fully functional and can be used as a mock ledger for testing downstream modules that are parameterized by ledger type.
Structs
- A block of CAP transactions.
- A minimal CAP ledger.
- A mock CAP validator.
Enums
- All the kinds of transactions in the basic CAP protocol.
- Errors in mock CAP validation.
Functions
- Attempt to open the viewer memo attached to a CAP mint transaction.
- Attempt to open the viewer memo attached to a CAP transfer transaction.
Type Aliases
- A set of nullifiers.
- A CAP transaction.