Asset
Overview
License: MIT
A library for handling different types of assets, including ERC20 tokens, ERC4626 tokens, and Uniswap V2 LP tokens.
Enums info
Type
Structs info
Info
Functions info
_unwrap
Unwraps the specified amount of tokens based on their type.
Parameters:
Return values:
_wrap
Wraps the specified amounts of assets into a token.
Parameters:
Return values:
_redeem
Redeems the redundant amount of tokens for the underlying assets.
Parameters:
Return values:
_safeIncreaseAllowance
Safely increases the allowance of a spender for a given token.
Parameters:
Last updated