felt/internal/financial
Mikkel Georgsen 51153df8dd feat(01-06): implement financial transaction engine
- ProcessBuyIn with late registration cutoff and admin override
- ProcessRebuy with limit, level/time cutoff, and chip threshold checks
- ProcessAddOn with window validation and single-use enforcement
- ProcessReEntry requiring busted status with player reactivation
- ProcessBountyTransfer with PKO half-split and fixed bounty modes
- UndoTransaction reversing all financial effects
- IsLateRegistrationOpen checking both level AND time cutoffs
- GetSeasonReserves for season withholding tracking
- Rake split transactions per category (house, staff, league, season_reserve)
- Full audit trail integration for every transaction
- WebSocket broadcast for real-time updates
- 14 passing tests covering all flows

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-01 04:11:58 +01:00
..
chop.go feat(01-01): initialize Go module, dependency tree, and project scaffold 2026-03-01 03:34:44 +01:00
engine.go feat(01-06): implement financial transaction engine 2026-03-01 04:11:58 +01:00
engine_test.go feat(01-06): implement financial transaction engine 2026-03-01 04:11:58 +01:00
icm.go feat(01-01): initialize Go module, dependency tree, and project scaffold 2026-03-01 03:34:44 +01:00
payout.go feat(01-01): initialize Go module, dependency tree, and project scaffold 2026-03-01 03:34:44 +01:00
receipt.go feat(01-01): initialize Go module, dependency tree, and project scaffold 2026-03-01 03:34:44 +01:00