-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Description
Currently, lenders need to keep track of their on-chain quote history with event listeners. However, there aren't any getters to easily access the overall on-chain quote history as well as the overall number of on-chain quotes that were added. This can make deleting open on-chain quotes a bit tedious.
Similarly, there's no function to get return the total number of signers on a vault, hence if a lender wants to know the currently active signers they need to iterate over the signer array.
Recommendation
Add a storage append only array that keeps track of all the added on-chain quote hashes as well as the valid until timestamp. Moreover, add a getter to retrieve the total onchain quote historay length as well as the total number of signers.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels