Skip to content

EIP-5792 Batch Transaction Spport #2483

@defispartan

Description

@defispartan

For actions requiring ERC-20 token approval, integrate batch approval using EIP-5792

https://eip.tools/eip/5792

  • Query wallet compatibilities and set global state whether wallet supports batch transactions per chainId
    "atomic": {
      "status": "supported"
    }

Actions requiring token approval:

  • Supply
  • Repay
  • Repay With Collateral
  • Collateral Swap
  • Debt Swap
  • Withdraw & Swap
  • Stake
  • Swap

Example batch transaction: https://github.com/defispartan/approve/blob/f88cc5980514acb08f130aa6bc88e986ae7a2d97/app/actions/BatchSupply.tsx

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or requestnew issueThis issue has not been triaged by the core team yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions