Wallet System
Wallet correctness is the foundation of exchange credibility.

Purpose
Wallet systems must guarantee:
Balances are correct
Asset movements are controlled
Statuses are visible and auditable
Reconciliation is continuous
User disputes can be resolved with logs and reason codes
Balance Model
WorldX uses explicit balance states:
Available: Tradable/withdrawable
In Orders: Reserved for open orders
Pending Withdrawal: Requested but not settled
On Hold: Restricted by policy (risk/compliance/security)
Every balance change has:
Timestamp
Event type
Reference (tx hash, order id, case id)
Reason code when applicable
Deposits Workflow
User selects asset + network
The system provides address and memo/tag rules
System detects inbound tx
Status transitions: Detected → Confirming → Credited
Credit only occurs after the chain confirmation policy is met
The deposit record includes network, tx hash, confirmations, and credit time
Deposit Edge Cases
Wrong network: handled under Asset Recovery Policy (Appendix template)
Missing memo/tag: recovery may be possible, but not guaranteed
Reorg/finality events: credit policy may delay final credit; disclosure required
Unsupported assets: clear rejection with reason codes
Withdrawals Workflow
User submits withdrawal details
System runs security + risk checks
Status transitions: Requested → Approved/Review → Broadcast → Confirmed
User sees tx hash once broadcast
Reconciliation validates the settlement and final status
Withdrawal Control Guarantees (Public)
WorldX enforces:
MFA requirement
Cooldown after security changes
Velocity limit categories
Anomaly detection categories
Manual review for suspicious cases
Monitoring of outbound flow
Exact thresholds remain private.
Withdrawal Edge Cases
Chain congestion: delays are disclosed as “network conditions”
High-risk flags: request moves to “Review” with a user-visible status and timeline range
Address change just before withdrawal: triggers stricter checks
Failed broadcast: retry logic + user notification
Chain halts: transparent status; funds remain safe internally
Reconciliation Discipline
Reconciliation compares:
Total user liabilities (sum of balances)
Operational holdings (on-chain wallets under custody)
Pending deposits/withdrawals
Fee and operational accounts
Exceptions trigger investigation and may generate a Trust Hub incident entry if user-impacting.
Last updated