Hello,
Just out of curiosity, i want to ask, why the need to generate proof first, before a user can confirm withdrawal, if we'd still need to check for a valid proof when trying to process withdrawal in smart contract?
Why not do every thing in just one process since the withdraw function will throw for invalid proof?