Skip to content

Build token forwarding contract for efficient approval chains #369

@thegostep

Description

@thegostep

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions