Skip to content

feat: add the schedule and escrow functionalities - #87

Merged
Oliviier-dev merged 4 commits into
dev-2from
ft/schedule
Aug 17, 2026
Merged

feat: add the schedule and escrow functionalities#87
Oliviier-dev merged 4 commits into
dev-2from
ft/schedule

Conversation

@Oliviier-dev

Copy link
Copy Markdown
Collaborator

No description provided.

…on service

- Implemented batch transfer routes in transaction.routes.ts for creating and retrieving batch transfers.
- Added a new service (scheduledTransferExecutionService.ts) to handle scheduled transfers, including placing holds, executing transfers, and managing recurrence.
- Enhanced model types to support scheduled transfers and batch transfers, including attributes for tracking status and failure reasons.
- Introduced notification types and helpers for scheduled transfers and batch transfers, ensuring users are informed of their transfer statuses.
- Created utility functions for validating transfer funds and calculating available wallet balances, ensuring robust fund management.
- Added recurrence handling utilities to manage scheduled transfers effectively, including validation and next occurrence computation.
…d dispute features

- Added escrowController to handle escrow operations including creating, releasing, refunding, and disputing escrows.
- Created Escrow model and associated database migrations for the Escrows table and related enums.
- Implemented escrowService for managing escrow funds and transactions.
- Added routes for escrow operations and integrated them into the main routes index.
- Introduced auto-release job for escrows with a scheduled task to release funds automatically.
- Updated chatMessage model to include escrow message type.
- Enhanced transaction model to link transactions with escrows.
@Oliviier-dev
Oliviier-dev merged commit 2f59451 into dev-2 Aug 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant