Description:
The LP priority queue allows LPs to compete for funding rights based on reputation. The SDK needs methods for:
joinFundQueue(lp, invoiceId) — register LP's intent, snapshot their score
resolveFundQueue(invoiceId) — select the highest-score LP as approved funder
Why it matters: LP priority queuing is a key feature for fair invoice allocation.
Acceptance Criteria:
Relevant Files: contracts/invoice_liquidity/src/lib.rs:939-1038, sdk/src/index.ts
Description:
The LP priority queue allows LPs to compete for funding rights based on reputation. The SDK needs methods for:
joinFundQueue(lp, invoiceId)— register LP's intent, snapshot their scoreresolveFundQueue(invoiceId)— select the highest-score LP as approved funderWhy it matters: LP priority queuing is a key feature for fair invoice allocation.
Acceptance Criteria:
AlreadyInQueueandNotApprovedFundererrorsRelevant Files:
contracts/invoice_liquidity/src/lib.rs:939-1038,sdk/src/index.ts