Functions

Applies points correction for given address. shares_per_point is current value from SHARES_PER_POINT - not loaded in function, to avoid multiple queries on bulk updates. diff is the points change
Adds new slasher to contract
Removes slasher from contract
Slashes engagement points from address
Calculates withdrawable_rewards from distribution and adjustment info.

Type Definitions