This PR implements a commit/reveal voting contract that allows entities listed in a specified TCR to participate in said voting, and for those entities to submit the results of their voting to a DelphiStake contract. Fee claiming is not implemented yet.
This PR adds some dependencies to a deps directory in the contracts folder. Eventually we'll be able to delete these and consume everything through EPM, but I'm currently blocked on getting PLCR (and hence TCR) on EPM by this Truffle issue: https://github.com/trufflesuite/truffle/issues/744
This PR does include a deploy pipeline for the DelphiVoting contract, but it's a little brittle and only will really work for testing. A follow-on PR will address this.
This PR only implements one test (lol). A follow-on PR will add content to the utils.js file to facilitate testing. Testing will require doing things like adding addresses to the TCR, so I'll add convenience functions for doing things like that.
This PR implements a commit/reveal voting contract that allows entities listed in a specified TCR to participate in said voting, and for those entities to submit the results of their voting to a
DelphiStake
contract. Fee claiming is not implemented yet.This PR adds some dependencies to a
deps
directory in thecontracts
folder. Eventually we'll be able to delete these and consume everything through EPM, but I'm currently blocked on getting PLCR (and hence TCR) on EPM by this Truffle issue: https://github.com/trufflesuite/truffle/issues/744This PR does include a deploy pipeline for the
DelphiVoting
contract, but it's a little brittle and only will really work for testing. A follow-on PR will address this.This PR only implements one test (lol). A follow-on PR will add content to the
utils.js
file to facilitate testing. Testing will require doing things like adding addresses to the TCR, so I'll add convenience functions for doing things like that.