> For the complete documentation index, see [llms.txt](https://docs.filliquid.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.filliquid.io/testnet-user-manual/farming-usdfig/debt-farms.md).

# Debt farms

* Borrowers (Storage Providers) can also obtain FIG's token rewards.
* After the SP borrows money, the protocol will automatically calculate FIG rewards for the SP.
* However, FIG rewards will only be settled in the SP's wallet after the SP repays the loan.

<figure><img src="/files/aiAytEkWXJuc3LE2BzUX" alt=""><figcaption><p>Figure 16</p></figcaption></figure>
