WikiGit icon indicating copy to clipboard operation
WikiGit copied to clipboard

Functions should limit what types of voting can call it

Open ZeframLou opened this issue 7 years ago • 0 comments

Currently, a DAO voting can call any function in the DASP, regardless of its votingType, which makes it a difficult task to introduce any new voting type without opening a door for attackers. For instance, if you want to use a new type of voting for sanctioning new member requests that has a short timespan and a small quorum, you can't prevent anyone from using this type of voting to call, say, the function that withdraws ether. A mapping from a function to the voting types that can call it should be implemented.

ZeframLou avatar Oct 11 '17 02:10 ZeframLou