Type Alias SendMoneyOutcome
SendMoneyOutcome:
| { amount: number; ok: true; to: string }
| {
ok: false;
reason:
| "invalid_amount"
| "exceeds_limit"
| "same_player"
| "payer_offline"
| "recipient_offline"
| "insufficient_funds"
| "debit_failed"
| "credit_failed"
| "stranded";
}
What
Facets['bank']moves money with. MICA-172 — see./accounts.tsfor why these are declared inside the package rather than borrowed fromservices/bank.ts.