-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(contract): consenus.sol implements
getVotes
& getVotesCount
…
…functions (#743) * Rename _head to _topValidatorsHead * Add prev & next to vote * Rename _votes to _voters * Add voters count * Add getVoters * test_multiple_voted_different_validators * test_multiple_voted_same_validator * Add onlyOwner modifier * extract validator into variable * add TODOs * Remove comment * Add pagination * Improve pagination * Update contract * Add contract interactor * Add VotesIterator * Add contracts * Extract votes iterator * Use constant * style: resolve style guide violations * Format * Rename methods * Update abi * Update method names * Remove log --------- Co-authored-by: oXtxNt9U <[email protected]> Co-authored-by: sebastijankuzner <[email protected]>
- Loading branch information
1 parent
abaeec9
commit 48e2cfb
Showing
12 changed files
with
811 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.