Trading and Lending
Swapping tokens, supplying to and withdrawing from lending, and withdrawing USDC out of a garden.
These are the actions you take inside a self-managed garden. An index-connected garden rebalances itself instead, and restricts some of these while it is connected.
Swapping tokens#
- Open a garden and select Swap.
- Choose the token to swap and the token to receive, then enter the amount.
- The application checks your available balance and requests a quote.
- The estimated amount you will receive is displayed.
- Review the exchange rate and slippage, and adjust the slippage if you need to.
- Select Confirm Swap and approve the transaction in your wallet.
- The application submits the swap and shows its status until confirmed.
- Garden balances refresh and the completed swap is shown.
If no route is available. If the application cannot find a valid route or quote, it shows an error. Change the tokens or the amount and request a new quote.
If the swap fails. If the transaction fails or you reject it, the application shows the failure status and you can try again.
Supplying to lending#
- Open a garden and select Lending. The available options are listed.
- Select an asset and enter the amount to supply.
- The application checks the garden balance.
- Review the details and select Supply.
- Approve the transaction in your wallet.
- The application submits it, shows its status, then refreshes and displays your updated position.
Withdrawing from lending#
- Open a garden and select Lending. Your current positions are listed.
- Select a position, then select Withdraw.
- Enter the withdrawal amount. The application validates it.
- Review the details and confirm.
- Approve the transaction in your wallet.
- The application submits the withdrawal, shows its status, then refreshes both the garden balance and the lending position.
Withdrawing USDC from a garden#
- Open a garden and select Withdraw.
- The application first checks whether the garden can be withdrawn from.
- Select USDC, then enter an amount or pick a percentage.
- The application validates the amount.
- Review the details and confirm.
- Approve the transaction in your wallet.
- The application submits the withdrawal and shows its status.
- Once confirmed, the USDC is transferred to your wallet and the garden balance refreshes.
Withdrawals are blocked while an Index is connected
If the garden is connected to an Index, the application prevents the withdrawal and explains why. Disconnect the Index first, or choose a different action. This is enforced by the contracts, not just the interface, so a garden that is mid-strategy cannot have assets pulled out from under it.
Last updated:
Edit this page (opens in a new tab)