> For the complete documentation index, see [llms.txt](https://docs.gage.cash/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.gage.cash/lend/fund.md).

# Fund with USDG or ETH

There are no offers in gage's first version. A listing carries an asking price, and a lender funds it at that price in one transaction. The deal is funded at once and the clock starts.

## With USDG

1. Approve USDG for the amount, if you have not before.
2. Choose **Fund** on the listing. The button carries the amount: `FUND 1,814.88 USDG`.
3. The USDG moves to the borrower's balance, less the protocol fee, and the deal is **FUNDED**. Expiry is set to now plus the term.

## With ETH

The app swaps ETH to USDG on Uniswap and funds in the same transaction. The contracts only ever hold USDG.

Before you sign, the screen shows:

| Line             | Example                                                        |
| ---------------- | -------------------------------------------------------------- |
| You pay          | 0.7642 ETH ≈ 1,830.15 USDG · wallet 1.2040 ETH                 |
| Rate             | the quoted swap rate                                           |
| Minimum accepted | the USDG the swap must return or the whole transaction reverts |
| Total ETH debit  | 0.7642 + gas ≈ 0.0009                                          |
| Approvals        | 2 signatures · 1 Swap · 2 Fund                                 |

If the swap returns more USDG than the asking price, the surplus is credited to your balance.

## What you hold after funding

* A claim on the cap if the borrower reclaims, credited to your balance the moment they do.
* A claim on the collateral if they do not, claimable once the grace window after expiry has ended.
* sGAGE rewards for the deal, dripping over the term, yours either way.

## Withdrawing

Whatever is owed to you sits in your balance until you withdraw it. USDG can be withdrawn as USDG, or swapped to ETH or a Stock Token on the way out, with the same disclosure of rate and minimum. The swap happens outside the contracts, after the withdrawal.

{% hint style="warning" %}
You may end up holding the collateral instead of USDG.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.gage.cash/lend/fund.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
