NexusMutual / cover-router

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

Fix bug that was preventing the API from picking up cover expiration events #51

Closed roxdanila closed 1 year ago

roxdanila commented 1 year ago

@MilGard91 can you test this out? and eventually add some programatic tests for it

MilGard91 commented 1 year ago

Since ethers.js does't allow to create one listener to multiple events in one go (issue) we had to divide them it into multiple listeners