Skip to content

MYSO-26: Improve programmatic lender access #577

@asardon

Description

@asardon

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions