Expand description
Fundamental types Fedimint Core API (common) module interface
Fedimint supports externally implemented modules.
This (Rust) module defines common interoperability types and functionality that is used on both client and sever side.
Modules§
Structs§
- Decoder
- Consensus encoding decoder for module-specific types
- Decoder
Builder - DynClient
Config - An owned, immutable input to a
Transaction
- DynInput
- An owned, immutable input to a
Transaction
- DynInput
Error - DynModule
Consensus Item - An owned, immutable output of a
Transaction
before it was finalized - DynOutput
- An owned, immutable output of a
Transaction
- DynOutput
Error - DynOutput
Outcome - An owned, immutable output of a
Transaction
before it was finalized - DynUnknown
- A type used by when decoding dyn-types, when the module is missing
- Module
Kind - A type of a module
- Operation
Id - Unique identifier for one semantic, correlatable operation.
- Operation
IdFull Fmt - Operation
IdShort Fmt
Enums§
Constants§
- LEGACY_
HARDCODED_ INSTANCE_ ID_ MINT - LEGACY_
HARDCODED_ INSTANCE_ ID_ WALLET - MODULE_
INSTANCE_ ID_ GLOBAL - Special IDs we use for global dkg
Traits§
- Client
Config - IClient
Config - IInput
- Something that can be an
DynInput
in aTransaction
- IInput
Error - IModule
Consensus Item - IOutput
- Something that can be an
DynOutput
in aTransaction
- IOutput
Error - IOutput
Outcome - Input
- Input
Error - Into
DynInstance - A type that has a
Dyn*
, type erased version of itself - Module
Consensus Item - Output
- Output
Error - Output
Outcome
Type Aliases§
- Decode
Fn 🔒 - Module
Instance Id - Module instance ID