erasure-protocol icon indicating copy to clipboard operation
erasure-protocol copied to clipboard

Build token forwarding contract for efficient approval chains

Open thegostep opened this issue 5 years ago • 0 comments

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.

thegostep avatar May 04 '20 19:05 thegostep