Skip to main content

Crate fedimint_client_module

Crate fedimint_client_module 

Source

Re-exports§

pub use crate::error::AddStateMachinesError;
pub use crate::error::ApiVersionDiscoveryError;
pub use crate::error::ClientModuleError;
pub use crate::error::MetaFetchError;
pub use crate::error::ModuleLookupError;
pub use crate::error::OperationAlreadyExistsError;
pub use crate::error::OperationLookupError;
pub use crate::error::OperationNotFoundError;
pub use crate::error::TransactionSubmitError;
pub use crate::module::ClientModule;
pub use crate::module::StateGenerator;

Modules§

api
api_version_discovery
backup
db
envs
Environment variables
error
Error types shared between the client and its modules Error types shared between the client and its modules.
meta
module
Module client interface definitions
oplog
Operation log subsystem of the client
secret
Secret handling & derivation
sm
Client state machine interfaces and executor implementation
transaction
Structs and interfaces to construct Fedimint transactions

Macros§

sm_enum_variant_translation

Structs§

AdminCreds
Admin (guardian) identification and authentication
ClientModuleInstance
Resources particular to a module instance
DynGlobalClientContext
Global state and functionality provided to all state machines running in the client
GetInviteCodeRequest
ModuleKind
A type of a module
ModuleRecoveryCompleted
ModuleRecoveryStarted
OperationId
Unique identifier for one semantic, correlatable operation.
TransactionUpdates
TxAcceptedEvent
TxCreatedEvent
TxRejectedEvent
TxSubmissionStalledEvent
Diagnostic signal that a transaction submission is being re-attempted indefinitely without reaching consensus.

Traits§

IGlobalClientContext
IInput
Something that can be an DynInput in a Transaction
IOutput
Something that can be an DynOutput in a Transaction

Functions§

box_up_state 🔒
Not sure why I couldn’t just directly call Box::new ins states_to_instanceless_dyn, but this fixed it.
states_add_instance 🔒
states_to_instanceless_dyn 🔒

Type Aliases§

AddStateMachinesResult
InstancelessDynClientInput
InstancelessDynClientInputBundle
InstancelessDynClientInputSM
InstancelessDynClientOutput
InstancelessDynClientOutputBundle
InstancelessDynClientOutputSM
ModuleGlobalContextGen
ModuleInstanceId
Module instance ID