Revert "Cleanup deprecated deposits and withdraws related codes."

This reverts commit 2689be46d9429a70ae082495c5ad88eb4295d20d.