exitFeePercentagePerUnit method

C exitFeePercentagePerUnit(
  1. double fee
)

Implementation

C exitFeePercentagePerUnit(double fee) {
  patchState(
    MatexBaseCoreState(exitFeePercentagePerUnit: sanitizeDouble(fee)),
  );

  return resetStateProperties([
    MatexCoreStateProperty.exitFeeAmountPerUnit,
    MatexCoreStateProperty.exitFeePercentage,
    MatexCoreStateProperty.exitFeeAmount,
  ]);
}