kava icon indicating copy to clipboard operation
kava copied to clipboard

Update Earn requests and responses to use multiple strategies

Open drklee3 opened this issue 2 years ago • 0 comments

This does not add support for multiple strategies and only multiple strategies in query and request interfaces. This reduces the amount of breaking changes for clients using Earn when multiple strategies are implemented later.

Currently vaults are only valid with 1 strategy set, but it still responds with a slice of strategies in queries.

Also updates swagger docs for outdated Earn endpoints.

drklee3 avatar Aug 03 '22 22:08 drklee3