NexusMutual / cover-router

Computes optimal capacity allocation per Nexus Mutual staking pool on cover purchase
MIT License
1 stars 1 forks source link

Feature/annual price #42

Closed MilGard91 closed 1 year ago

MilGard91 commented 1 year ago

Context

Issue: #41

Changes proposed in this pull request

Find minimal basePrice with the capacity engine and send it as a annualPrice on the capacity endpoint for 1unit

Test plan

Test modified to check the annualPrice in the responses