LP loan quote
gage_lp_quoteA quote for a fixed-cost USDG loan against an ETH/USDG or stock/USDG liquidity position on Uniswap v3 or v4, SushiSwap v3, Ouro v3, Ramses or Fables, with no liquidation: it is never closed early because a price moves, and if it is not repaid by its end the position is unwound for its lenders and nothing else is taken: what the wallet receives and repays, its cost and loan-to-value, signed for the wallet for five minutes at most, with a prepare object for gage_prepare_lp_borrow. Signs nothing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | Loan term in seconds, one of gage_capabilities lpLane.terms | |
| vault | No | The LP vault to borrow from; the lane's first one that can fund the loan whole when omitted | |
| wallet | Yes | The wallet that holds the position and will borrow: the quote is signed for it | |
| adapter | Yes | The position's adapter: one gage_capabilities lists under lpLane.adapters (Uniswap v3, SushiSwap v3, Ouro v3, Ramses V3, Uniswap v4 or Fables; gage_lp_positions names each position's) | |
| tokenId | Yes | The position's id: its NFT's token id at the adapter's position manager (gage_lp_positions) |