Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions cashu/mint/crud.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,17 @@ async def get_mint_quote_by_request(
conn: Optional[Connection] = None,
) -> Optional[MintQuote]: ...

@abstractmethod
async def try_update_mint_quote_last_checked(
self,
*,
quote_id: str,
last_checked: int,
rate_limit: int,
db: Database,
conn: Optional[Connection] = None,
) -> bool: ...

@abstractmethod
async def update_mint_quote(
self,
Expand Down
Loading
Loading