Integration with Contract Issue git-token/contracts#8 , proposing moving reward values outside of contract
There is a utility function in the webhook-manager for calculating a reward bonus; the method is not being used. I have proposed in git-token/contracts#10 that the rewardBonus be removed.
The method in the webhook-manager could also be removed or replaced with either express middleware for analyzing the reward or mapping to reward values.
|
export default function calculateRewardBonus({ eventDetails }) { |