- need a new table for undispensed cash-out txs - or add dispensed flag to txs - need to update cash-out tx status based on authorization and confirmation - add dispensed and authorized booleans to txs - for fetching phones: fetch all non-dispensed rows for phone - get max by satoshis of all authorized (why not consolidate all authorized? next version) - if no authorized, check if any non-dispensed and non-authorized - index by phone + dispensed?