maci icon indicating copy to clipboard operation
maci copied to clipboard

Create verifyPerVOSpentVoiceCredits for a certain vote option index

Open corydickson opened this issue 4 years ago • 2 comments
trafficstars

A public function that has the signature

function verifyPerVOSpentVoiceCredits(
        uint8 _depth,
        uint256 _index,
        uint256 _leaf,
        uint256[][] memory _pathElements,
        uint256 _salt
    ) public view returns (bool)

corydickson avatar Sep 29 '21 17:09 corydickson

Context here: https://github.com/ethereum/clrfund/issues/392

weijiekoh avatar Sep 29 '21 17:09 weijiekoh

_depth can be taken from contract state instead of being passed in as a function parameter

weijiekoh avatar Sep 29 '21 17:09 weijiekoh

Implement here https://github.com/privacy-scaling-explorations/maci/pull/835

ctrlc03 avatar Dec 10 '23 16:12 ctrlc03