Anchor Protocol's deposit rate stability is supported by borrow demand from borrower ANC distribution and direct subsidization. Anchor defines a target deposit rate (), and a threshold deposit rate () and constantly attempts to retain a deposit rate close to and always above .
Every epoch, the average deposit rate during the last epoch () is calculated and compared with the target and threshold rates. Appropriate measures are then made to readjust the deposit rate.
Anchor's deposit rate is primarily adjusted by calibrating the rate of ANC emission to borrowers (), updated through a feedback control algorithm.
Anchor alters the ANC emission rate based on a multiplicative increase / multiplicative decrease feedback control algorithm, which adjusts the ANC emission rate of the next epoch based on the previous emission rate of :
The feedback control algorithm adjusts incentives with - the average of and - as the reference point:
If deposit rate is approaching the threshold (), increase emission by 0.7% ()
If deposit rate approaches the target (), reduce emission by 0.3% ()
where the set values result in a 50% emission increase over a week-long period or a 15% decrease over a week-long period.
As an additional layer of safety, the protocol directly subsidizes the deposit rate if it is below the threshold rate (), funded from the yield reserve's stockpiled stablecoins.
An amount required to raise the deposit rate to the threshold is distributed to depositors, which is limited to 10% of the yield reserve's balance per subsidization to prevent excessive drainage. Distributed subsidies are added to the money market’s liquidity, increasing the aTerra exchange rate and appreciating the value of aTerra.