exitFeeAmountPerUnit method

C exitFeeAmountPerUnit(
  1. double fee
)

Implementation

C exitFeeAmountPerUnit(double fee) {
  patchState(MatexBaseCoreState(exitFeeAmountPerUnit: sanitizeDouble(fee)));

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