Savings GHO (sGHO) 🟡
Deposit
import { useWalletClient } from "wagmi";import { useSavingsGhoDeposit, bigDecimal, evmAddress } from "@aave/react";
// …
const { data: walletClient } = useWalletClient();
const [deposit, depositing] = useSavingsGhoDeposit();
const execute = async () => { const result = await deposit({ amount: { value: bigDecimal(1000), // 1000 GHO }, depositor: evmAddress(walletClient!.account.address), });
// …};2. Process the Execution Plan
Balance
Withdraw
1. Prepare the Execution Plan
2. Process the Execution Plan
Claiming Incentives
1. Fetch the Claimable Rewards
2. Claim Rewards
Last updated
