Describe the feature
Describe the feature
Description
When creating an offer, a Protocol Fee vault is also created, which must be tracked in the same way as a Lender vault. New logic must be added to track Protocol Fee vaults. For this logic, it is advisable to abstract vault tracking and add a new enum, VaultType, with values Lender and ProtocolFee.
Acceptance Criteria:
Dependencies
Describe the feature
Describe the feature
Description
When creating an offer, a Protocol Fee vault is also created, which must be tracked in the same way as a Lender vault. New logic must be added to track Protocol Fee vaults. For this logic, it is advisable to abstract vault tracking and add a new enum,
VaultType, with valuesLenderandProtocolFee.Acceptance Criteria:
VaultTypeenumLenderVaultsTrackerrenamed toVaultsTrackerOffersTrackerupdated to seed bothVaultTypeUTXOs during first offer repaymentDependencies