hifi-finance / hifi

Monorepo implementing the Hifi fixed-rate, fixed-term lending protocol
https://app.hifi.finance
Other
105 stars 15 forks source link

Export the types and the factories from an index file #66

Open PaulRBerg opened 2 years ago

PaulRBerg commented 2 years ago

The current approach is to expect the end user to know the path of the Hifi-related contract they want to interact with. Refer to the code snippets in the README to see how verbose the import path is.

It would be a much nicer API if we exposed all types and factories via an index.ts file.