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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build token forwarding contract for efficient approval chains #369

Open
thegostep opened this issue May 4, 2020 · 0 comments
Open

Build token forwarding contract for efficient approval chains #369

thegostep opened this issue May 4, 2020 · 0 comments

Comments

@thegostep
Copy link
Contributor

Common pattern for transferring tokens is approve+call. This becomes expensive for multi-contract hops as each hop requires an transferFrom + approve call. By approving a transfer to a pre-computed wallet, ownership of the wallet could be transferred with a single storage update. This would require all wallets in the contract chain to support this approach.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant