🔤Types
This package contains all common interfaces used throughout the entire SDK.
There are many interfaces exported from the types
package. We'll present a few examples of the more commonly used interfaces, but take a look at the entire API here.
Installation
Install the package in your project directory with:
You can import individual methods and constants from the utilities package with the following:
or the CommonJS way:
Featured Interfaces
Commonly Used
INormalizedNumber
Return type when working with any number value with the August JS ecosystem.
Lending Pools
IPoolWithUnderlying
Lending pool object including the underlying token details. This is what is returned when interacting with the AugustPools
class.
IAvailableRedemption
Interface used with using getAvailableRedemptions
from the AugustPools
class.
Last updated