Rotki Crypto Tracker
Rotki Crypto Tracker: Rotki Crypto Tracker: specialized toolkit for 3+ finance workflows covered in the triggers section.
Overview
Constraints
Evidence Quality
Medium confidence — review before critical use
59 non-negotiable constraints
WHENWhen implementing API endpoint responses
ACTIONWrap each responses in {'result': ..., 'message': ...} structure
CONSEQUENCEFrontend clients expect the standard wrapper format. Missing 'result' or 'message' keys causes client-side parsing errors and unhandled exceptions in consuming applications.
WHENWhen implementing async API endpoints
ACTIONDecorate endpoints with @async_api_call() and return {'result': ..., 'message': ...} dict
CONSEQUENCEWithout the decorator, async tasks cannot be tracked via query_tasks_outcome(). Clients receive incomplete responses and have no way to poll for completion status.
WHENWhen handling user login operations
ACTIONProtect login operations with @login_lock() decorator to prevent race conditions
CONSEQUENCEConcurrent login attempts without the lock cause race conditions in user unlock logic. Multiple greenlets may simultaneously modify user session state, leading to authentication bypass or data corruption.
FAQ
Discussion (0)
No comments yet. Be the first to share!
Changelog
v0.1.0: Initial release on Doramagic.ai. Auto-generated batch-v1 metadata and FAQs based on tangweigang-jpg/doramagic-skills.