confio / poe-contracts

Tgrade PoE smart contracts
Apache License 2.0
25 stars 11 forks source link

Generalise / consolidate voting logic #194

Open maurolacy opened 2 years ago

maurolacy commented 2 years ago

Currently we have a bunch of similar but slightly different implementation of the voting logic.

Moreover: we have a voting-contract package that exists to supposedly avoid that.

Voting contracts:

It'll be good to move / rename the tg-voting-contract package to cw-plus (or to its own repository), and change all multisigs (the ones in cw-plus, poe-contracts, and tgrade-contracts) to use it.

ueco-jb commented 2 years ago

cc: @webmaster128 @uint

uint commented 2 years ago

Makes sense. I feel like it'd more be that we'd make the cw3 spec/package properly reusable/extensible, and use it everywhere. As long as it doesn't break the spec.

Should this ticket be in cw-plus?