Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Batch ERC20 inputs #247

Open
pedroargento opened this issue Feb 11, 2024 · 0 comments
Open

Batch ERC20 inputs #247

pedroargento opened this issue Feb 11, 2024 · 0 comments
Labels
A-contracts Area: contracts T-feature Type: feature

Comments

@pedroargento
Copy link

馃摎 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)).

@pedroargento pedroargento added T-feature Type: feature A-contracts Area: contracts labels Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-contracts Area: contracts T-feature Type: feature
Projects
Status: 馃搵 Backlog
Development

No branches or pull requests

1 participant