The MintClientModule is responsible for handling e-cash minting
operations. It interacts with the mint server to issue, reissue, and
validate e-cash notes.
An encapsulation of FederationId and e-cash notes in the form of
TieredMulti<SpendableNote> for the purpose of spending e-cash
out-of-band. Also used for validating and reissuing such out-of-band notes.
Select notes with total amount of at leastrequest_amount. If more than
requested amount of notes are returned it was because exact change couldnβt
be made, and the next smallest amount will be returned.
Select notes with total amount of exactlyrequest_amount. If the amount
cannot be represented with the available denominations an error is returned,
this does not mean that the balance is too low.
The mint module currently doesnβt define any consensus items and generally
throws an error on encountering one. To allow old clients to still decode
blocks in the future, should we decide to add consensus items, this has to
be an enum with only a default variant.