Took a quick look in the examples directory for the iost.js SDK and didn't see one. There is the vote.iost contract and it says "A universal voting contract used to create votes, collect votes, and vote on statistics. You can implement your own voting function based on this contract."
- https://developers.iost.io/docs/en/6-reference/SystemContract.html#voteiost