Examples
Input: [('create_account', 1, 'alice'), ('create_account', 1, 'bob'), ('deposit', 2, 'alice', 100), ('transfer', 3, 'alice', 'bob', 30), ('withdraw', 4, 'bob', 10), ('top_spending', 5, 2)]
Expected Output: [True, True, True, True, True, ['alice(30)', 'bob(10)']]
Explanation: Alice sends 30 to Bob, and Bob withdraws 10. Spending totals are Alice=30 and Bob=10.
Input: [('create_account', 1, 'ann'), ('create_account', 1, 'ben'), ('deposit', 2, 'ann', 50), ('schedule_transfer', 3, 'ann', 'ben', 20, 5), ('top_spending', 4, 2), ('cancel_transfer', 7, 'ann', 'transfer1'), ('top_spending', 9, 2)]
Expected Output: [True, True, True, 'transfer1', ['ann(0)', 'ben(0)'], True, ['ann(0)', 'ben(0)']]
Explanation: The scheduled transfer reserves 20 immediately, but spending stays 0 until execution. It is canceled before time 8, so the money is refunded and no spending is added.
Input: [('create_account', 1, 'A'), ('create_account', 1, 'B'), ('create_account', 1, 'C'), ('deposit', 2, 'A', 100), ('schedule_transfer', 5, 'A', 'B', 40, 5), ('merge_account', 6, 'B', 'C'), ('merge_account', 7, 'A', 'C'), ('top_spending', 10, 3)]
Expected Output: [True, True, True, True, 'transfer1', True, True, ['C(0)']]
Explanation: The pending transfer originally A->B becomes C->C after both merges. At time 10 it executes by returning the reserved 40 to C, so there is no net transfer out and spending remains 0.
Input: [('create_account', 1, 'x'), ('deposit', 1, 'x', 10), ('schedule_transfer', 1, 'x', 'x', 5, 0), ('top_spending', 1, 1), ('create_account', 2, 'x'), ('withdraw', 3, 'y', 1), ('schedule_transfer', 4, 'x', 'missing', 1, 1)]
Expected Output: [True, True, 'transfer1', ['x(0)'], False, False, None]
Explanation: The zero-delay transfer is not executed during its own scheduling call; it is processed before the next operation at the same timestamp. Duplicate creation fails, withdrawing from a missing account fails, and scheduling to a missing receiver returns None.