Type alias for an address type.
Type for anything that has an address property.
Union of both AssetStatic and AssetDynamic parts.
Possible assets that lens can return.
An URL pointing to an image/png file.
Type alias for a stringified big number. SDK tries to be bignumber-lib agnostic so integer values are returned as strings.
Accepted locales.
Key Value representation of metadata names and types. Used mainly to provide correct type-guards for asset types.
Time aliases
Union type of all the existing Metadata types.
Utility type to describe a map of predefined keys with the same value.
Utility type to help distinguish Integers that represents an already normalized value with the corresponding decimals from their Integer form.
Utility type to help distinguish Integers that represent a USDC (6 dec) value.
Result to use on transactions with write contract functionality
Generated using TypeDoc
Welcome to the Yearn SDK documentation.
Yearn namespace
Yearn is a wrapper for all the services and interfaces of the SDK.
Interfaces
Services
SDK is divided in services representing the different data sources for yearn products and the access method used to read / write from them.
-→ RegistryV2Adapter: adapter of V2 vaults.
Peer dependencies
SDK requires several dependencies from the ethers.js project.