Open hieronx opened 2 years ago
InterestRateType
cfg-types
pub enum InterestRate<Rate> { Fixed(Rate) }
InterestRate
interest-accrual
@offerijns I don't fully understand this change. Why it's needed?
Which part of the code is the issue addressing?
Description
InterestRateType
tocfg-types
:InterestRate
enum for associated type ofinterest-accrual
pallet: https://github.com/centrifuge/centrifuge-chain/blob/main/pallets/interest-accrual/src/lib.rs#L143 and adapt methods to accept this new data typeWrite migration for loans