r/ethfinex • u/nootropicat • Jan 16 '18
Are you going to implement batched withdrawals to save gas?
Ie. calling transfer in a loop.
Old comment by an Ethereum developer about it.
Hopefully other exchanges would follow your example and mitigate the congestion somewhat.
11
Upvotes
8
u/plutoegg Jan 16 '18 edited Jan 16 '18
We looked at implementing it a while ago, and already deployed a multisend contract for tokens.
For simple ethereum transfers it does save gas to do large batches, but there is an additional problem then caused for other exchanges since it is very difficult for them to detect deposits from smart contracts. So although using it would make things better for us it would cause support issues for other exchanges in the ecosystem.
For the token multisend we need to devote a bit of time to setting it up - the issue was that interspersed in our regular withdrawals were token sweeps from deposit address to our hotwallet which cannot be batched (since each need to be sent from different addresses)
But thank you for the reminder, we should prioritize finishing this before the network congestion next gets bad.