refact: improve fee calculation declarations
refact: improve fee calculation declarations

Co-authored-by: Benjamin Piouffle <fe09bc2ef2737a3258f978e26226dcbac1b3f948@opencollective.com>
OpenCollective/opencollective-api,OpenCollective/opencollective-api,OpenCollective/opencollective-api