Skip to content

Wire LiFi escrow path through the multi-token borrow hash #189

Description

@BranimirTomeljak

The multi-token EIP-712 hash function BorrowManyUnlockHash is already there, it just isn't reachable from the LiFi escrow path: LifiEscrowData carries singular BorrowAmount, LifiEscrowMessageHandler.HandleMessage always calls the single-token BorrowUnlockHash, and borrowToken() resolves one token from outputs[0]. Need to grow LifiEscrowData plural and dispatch to BorrowManyUnlockHash when the payload carries multiple borrows.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions