gondi 0.58.0 → 0.58.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -89,6 +89,12 @@ export declare class PurchaseBundlerV2 extends BaseContract<typeof purchaseBundl
89
89
  txHash: `0x${string}`;
90
90
  waitTxInBlock: () => Promise<import("viem").TransactionReceipt>;
91
91
  }>;
92
+ /**
93
+ * Buys a listed loan's NFT with a new loan through an Aave flash loan of `price - initialPayment`
94
+ * in the purchase currency (WETH for ETH). The buyer funds `initialPayment` as `value` for ETH; for
95
+ * an ERC20 the bundler collects it from the buyer when the sale runs. The flash repayment and its
96
+ * premium are pulled from the buyer, who has just received the new loan's principal.
97
+ */
92
98
  executeSellWithLoan({ repaymentCalldata, emitCalldata, price, initialPayment, executeSellSwapData, repayFlashLoanSwapParams, }: {
93
99
  repaymentCalldata: Hex;
94
100
  emitCalldata: Hex;