Deposit
Deposits ERC-20 asset into token vault on behalf of receiver who receives the gTokens minted.Make sure you approve the vault contract to spend this amount before calling
deposit.
Withdraw
Withdraws ERC-20 asset from token vault into the receiver address. gTokens are burned from the owner address.Utility Methods
Returns the amount of yield attributable to a gToken address holder. Denominated in asset.Other
-
All ERC-20 methods (
transfer,transferFrom,balanceOf, etc.) - If underlying asset is a native token (ex: ETH), then there is also another method available with the following signature: