Skip to content

Remove or Replace calculateRewardBonus() with calculateRewardValue() #4

@KelseyCarlow

Description

@KelseyCarlow

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 }) {

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions