Tokens
Functions Outline
useUSDCToken()
: Returns a USDC token instance with predefined properties such as address and decimals. This function utilizes the useUSDCAddress
hook to dynamically fetch the USDC token address.
useCollateralToken()
: Creates and returns a collateral token instance. It fetches the token's address, symbol, and decimals using the respective hooks. It returns a TokenMap
object generated by duplicateTokenByAddressMap
useTokenShorthand()
: Provides a shorthand mapping for tokens.
Last updated