pub trait MintDatabase {
type Err: Into<Error> + From<Error>;
Show 36 methods
// Required methods
fn set_active_keyset<'life0, 'async_trait>(
&'life0 self,
unit: CurrencyUnit,
id: Id,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_active_keyset_id<'life0, 'life1, 'async_trait>(
&'life0 self,
unit: &'life1 CurrencyUnit,
) -> Pin<Box<dyn Future<Output = Result<Option<Id>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_active_keysets<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<CurrencyUnit, Id>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn add_mint_quote<'life0, 'async_trait>(
&'life0 self,
quote: MintMintQuote,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_mint_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<MintMintQuote>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn update_mint_quote_state<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
state: MintQuoteState,
) -> Pin<Box<dyn Future<Output = Result<MintQuoteState, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_mint_quote_by_request<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<MintMintQuote>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_mint_quote_by_request_lookup_id<'life0, 'life1, 'async_trait>(
&'life0 self,
request_lookup_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<MintMintQuote>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_mint_quotes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintMintQuote>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_mint_quotes_with_state<'life0, 'async_trait>(
&'life0 self,
state: MintQuoteState,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintMintQuote>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn remove_mint_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn add_melt_quote<'life0, 'async_trait>(
&'life0 self,
quote: MeltQuote,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_melt_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<MeltQuote>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn update_melt_quote_state<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
state: MeltQuoteState,
) -> Pin<Box<dyn Future<Output = Result<MeltQuoteState, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_melt_quotes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MeltQuote>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn remove_melt_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn add_melt_request<'life0, 'async_trait>(
&'life0 self,
melt_request: MeltBolt11Request<Uuid>,
ln_key: PaymentProcessorKey,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_melt_request<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<(MeltBolt11Request<Uuid>, PaymentProcessorKey)>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn add_keyset_info<'life0, 'async_trait>(
&'life0 self,
keyset: MintKeySetInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_keyset_info<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<Option<MintKeySetInfo>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_keyset_infos<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintKeySetInfo>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn add_proofs<'life0, 'async_trait>(
&'life0 self,
proof: Proofs,
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn remove_proofs<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_proofs_by_ys<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<Proof>>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_proof_ys_by_quote_id<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<PublicKey>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_proofs_states<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<State>>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn update_proofs_states<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
proofs_state: State,
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<State>>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_proofs_by_keyset_id<'life0, 'life1, 'async_trait>(
&'life0 self,
keyset_id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<(Proofs, Vec<Option<State>>), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn add_blind_signatures<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
blinded_messages: &'life1 [PublicKey],
blind_signatures: &'life2 [BlindSignature],
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn get_blind_signatures<'life0, 'life1, 'async_trait>(
&'life0 self,
blinded_messages: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<BlindSignature>>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_blind_signatures_for_keyset<'life0, 'life1, 'async_trait>(
&'life0 self,
keyset_id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlindSignature>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn get_blind_signatures_for_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlindSignature>, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn set_mint_info<'life0, 'async_trait>(
&'life0 self,
mint_info: MintInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_mint_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<MintInfo, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn set_quote_ttl<'life0, 'async_trait>(
&'life0 self,
quote_ttl: QuoteTTL,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_quote_ttl<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<QuoteTTL, Self::Err>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Mint Database trait
Required Associated Typesยง
Required Methodsยง
Sourcefn set_active_keyset<'life0, 'async_trait>(
&'life0 self,
unit: CurrencyUnit,
id: Id,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_active_keyset<'life0, 'async_trait>(
&'life0 self,
unit: CurrencyUnit,
id: Id,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add Active Keyset
Sourcefn get_active_keyset_id<'life0, 'life1, 'async_trait>(
&'life0 self,
unit: &'life1 CurrencyUnit,
) -> Pin<Box<dyn Future<Output = Result<Option<Id>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_active_keyset_id<'life0, 'life1, 'async_trait>(
&'life0 self,
unit: &'life1 CurrencyUnit,
) -> Pin<Box<dyn Future<Output = Result<Option<Id>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get Active Keyset
Sourcefn get_active_keysets<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<CurrencyUnit, Id>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_active_keysets<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<HashMap<CurrencyUnit, Id>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get all Active Keyset
Sourcefn add_mint_quote<'life0, 'async_trait>(
&'life0 self,
quote: MintMintQuote,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_mint_quote<'life0, 'async_trait>(
&'life0 self,
quote: MintMintQuote,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add MintMintQuote
Sourcefn get_mint_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<MintMintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_mint_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<MintMintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get MintMintQuote
Sourcefn update_mint_quote_state<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
state: MintQuoteState,
) -> Pin<Box<dyn Future<Output = Result<MintQuoteState, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_mint_quote_state<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
state: MintQuoteState,
) -> Pin<Box<dyn Future<Output = Result<MintQuoteState, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Update state of MintMintQuote
Sourcefn get_mint_quote_by_request<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<MintMintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_mint_quote_by_request<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<MintMintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get all MintMintQuotes
Sourcefn get_mint_quote_by_request_lookup_id<'life0, 'life1, 'async_trait>(
&'life0 self,
request_lookup_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<MintMintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_mint_quote_by_request_lookup_id<'life0, 'life1, 'async_trait>(
&'life0 self,
request_lookup_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<MintMintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get all MintMintQuotes
Sourcefn get_mint_quotes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintMintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_mint_quotes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintMintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Mint Quotes
Sourcefn get_mint_quotes_with_state<'life0, 'async_trait>(
&'life0 self,
state: MintQuoteState,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintMintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_mint_quotes_with_state<'life0, 'async_trait>(
&'life0 self,
state: MintQuoteState,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintMintQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get Mint Quotes with state
Sourcefn remove_mint_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remove_mint_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Remove MintMintQuote
Sourcefn add_melt_quote<'life0, 'async_trait>(
&'life0 self,
quote: MeltQuote,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_melt_quote<'life0, 'async_trait>(
&'life0 self,
quote: MeltQuote,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add mint::MeltQuote
Sourcefn get_melt_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<MeltQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_melt_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<MeltQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get mint::MeltQuote
Sourcefn update_melt_quote_state<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
state: MeltQuoteState,
) -> Pin<Box<dyn Future<Output = Result<MeltQuoteState, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_melt_quote_state<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
state: MeltQuoteState,
) -> Pin<Box<dyn Future<Output = Result<MeltQuoteState, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Update mint::MeltQuote state
Sourcefn get_melt_quotes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MeltQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_melt_quotes<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MeltQuote>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get all mint::MeltQuotes
Sourcefn remove_melt_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remove_melt_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Remove mint::MeltQuote
Sourcefn add_melt_request<'life0, 'async_trait>(
&'life0 self,
melt_request: MeltBolt11Request<Uuid>,
ln_key: PaymentProcessorKey,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_melt_request<'life0, 'async_trait>(
&'life0 self,
melt_request: MeltBolt11Request<Uuid>,
ln_key: PaymentProcessorKey,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add melt request
Sourcefn get_melt_request<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<(MeltBolt11Request<Uuid>, PaymentProcessorKey)>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_melt_request<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Option<(MeltBolt11Request<Uuid>, PaymentProcessorKey)>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get melt request
Sourcefn add_keyset_info<'life0, 'async_trait>(
&'life0 self,
keyset: MintKeySetInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_keyset_info<'life0, 'async_trait>(
&'life0 self,
keyset: MintKeySetInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add MintKeySetInfo
Sourcefn get_keyset_info<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<Option<MintKeySetInfo>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_keyset_info<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<Option<MintKeySetInfo>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get MintKeySetInfo
Sourcefn get_keyset_infos<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintKeySetInfo>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_keyset_infos<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<MintKeySetInfo>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get MintKeySetInfos
Sourcefn add_proofs<'life0, 'async_trait>(
&'life0 self,
proof: Proofs,
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn add_proofs<'life0, 'async_trait>(
&'life0 self,
proof: Proofs,
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Add Proofs
Sourcefn remove_proofs<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn remove_proofs<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Remove Proofs
Sourcefn get_proofs_by_ys<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<Proof>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_proofs_by_ys<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<Proof>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get Proofs by ys
Sourcefn get_proof_ys_by_quote_id<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<PublicKey>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_proof_ys_by_quote_id<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<PublicKey>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get ys by quote id
Sourcefn get_proofs_states<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<State>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_proofs_states<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<State>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get Proofs state
Sourcefn update_proofs_states<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
proofs_state: State,
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<State>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_proofs_states<'life0, 'life1, 'async_trait>(
&'life0 self,
ys: &'life1 [PublicKey],
proofs_state: State,
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<State>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get Proofs state
Sourcefn get_proofs_by_keyset_id<'life0, 'life1, 'async_trait>(
&'life0 self,
keyset_id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<(Proofs, Vec<Option<State>>), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_proofs_by_keyset_id<'life0, 'life1, 'async_trait>(
&'life0 self,
keyset_id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<(Proofs, Vec<Option<State>>), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get Proofs by state
Sourcefn add_blind_signatures<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
blinded_messages: &'life1 [PublicKey],
blind_signatures: &'life2 [BlindSignature],
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn add_blind_signatures<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
blinded_messages: &'life1 [PublicKey],
blind_signatures: &'life2 [BlindSignature],
quote_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Add BlindSignature
Sourcefn get_blind_signatures<'life0, 'life1, 'async_trait>(
&'life0 self,
blinded_messages: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<BlindSignature>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_blind_signatures<'life0, 'life1, 'async_trait>(
&'life0 self,
blinded_messages: &'life1 [PublicKey],
) -> Pin<Box<dyn Future<Output = Result<Vec<Option<BlindSignature>>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get BlindSignatures
Sourcefn get_blind_signatures_for_keyset<'life0, 'life1, 'async_trait>(
&'life0 self,
keyset_id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlindSignature>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_blind_signatures_for_keyset<'life0, 'life1, 'async_trait>(
&'life0 self,
keyset_id: &'life1 Id,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlindSignature>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get BlindSignatures for keyset_id
Sourcefn get_blind_signatures_for_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlindSignature>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_blind_signatures_for_quote<'life0, 'life1, 'async_trait>(
&'life0 self,
quote_id: &'life1 Uuid,
) -> Pin<Box<dyn Future<Output = Result<Vec<BlindSignature>, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get BlindSignatures for quote
Sourcefn set_mint_info<'life0, 'async_trait>(
&'life0 self,
mint_info: MintInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn set_mint_info<'life0, 'async_trait>(
&'life0 self,
mint_info: MintInfo,
) -> Pin<Box<dyn Future<Output = Result<(), Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Set MintInfo
Sourcefn get_mint_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<MintInfo, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_mint_info<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<MintInfo, Self::Err>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Get MintInfo