Skip to content

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

@BranimirTomeljak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for Feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions