Then the wallet stores the detail of your deposit leaf, and the leaf is recorded on the layer-1 contract. Then the contract merges your leaf into the staged "mass deposit." Subsequently, the coordinator commits the staged mass deposit when it proposes a new block. Alternatively, the coordinator can commit the staged mass deposit manually. Finally, the coordinator includes the committed mass deposits into the new proposal, and then you can use your UTXOs on the layer-2.