selfSustainRate()
function in the contract. There is a daily buffer constant in the contract that is currently set at 260 days, the contract then uses it's current xTAO balance and determines the emission rate it can have to sustain itself for the next 260 days. The masterchef owner (timelock contract) can call this selfSustainRate function every few weeks to ensure the contract never runs out of rewards.