Module sentry::spender::fee

source ·

Functions

Calculates the fee for a given payout of the specified validator This function will return None if the provided validator is not part of the Campaign / Channel In the case of overflow when calculating the payout, an error will be returned