Some applications might benefit from allowing multiple ERC20 tokens to be deposited at once. This issue can reduce the costs of adding multiple inputs.
Also, more importantly, applications can receive multiple tokens under the same execLayerData, allowing them to process the different deposits in the same context as part of a single operation.
✔️ Solution
Create a batchERC20Portal that adds inputs in the form of ((token1, amount1), (token2, amount2), (token2, amount2)).
📚 Context
Some applications might benefit from allowing multiple ERC20 tokens to be deposited at once. This issue can reduce the costs of adding multiple inputs.
Also, more importantly, applications can receive multiple tokens under the same execLayerData, allowing them to process the different deposits in the same context as part of a single operation.
✔️ Solution
Create a batchERC20Portal that adds inputs in the form of
((token1, amount1), (token2, amount2), (token2, amount2))
.