Calculate yield farming returns with APR-to-APY conversion, gas cost deduction and impermanent loss adjustment.