arc.js_legacy icon indicating copy to clipboard operation
arc.js_legacy copied to clipboard

GenesisProtocol : Calculate Redeemable values off chain

Open orenyodfat opened this issue 7 years ago • 3 comments

To eliminate calls to : getRedeemableTokensStaker getRedeemableReputationStaker getRedeemableTokensVoter getRedeemableReputationVoter getRedeemableReputationProposer getRedeemableTokensStakerBounty

see daostack/arc#501

orenyodfat avatar Jul 29 '18 08:07 orenyodfat

Can we please include in this Arc documentation that clearly provides formulas for computing all of these removed functions?

dkent600 avatar Jul 29 '18 12:07 dkent600

this funcs will not be removed. we might consider to make these internal.

orenyodfat avatar Jul 29 '18 12:07 orenyodfat

Keeping the logic in two places can cause problems down the road. Note the decision has been taken not to remove these functions from the contract API.

dkent600 avatar Aug 02 '18 10:08 dkent600