An entrypoint that claims and burns the specified farm rewards (they will be minted to the
zero_address). Transaction sender receives minted to him burn rewards (this is the % that is specified by an admin in burn_rewards fee). Rewards are accrued to the farm for the funds that were staked from a farm's name as a withdrawal commission.
type burn_farm_rew_type is nat // Farm's ID
const qFarmAddress = "KT1...";
const farmId = 1;
const qFarm = await tezos.contract.at(qFarmAddress);
const operation = await qFarm.methods.burn_farm_rewards(farmId).send();
QSystem/farm-not-set- farming with
fidparameter doesn't exist.