# Manta Governance ## 目标 : 1. gov 1.0 : manta holder(特定时间节点snapshot)通过snapshot(zkVote),对某一个proposal(链上)进行投票(链上),最后投票结果(reveal on chain)达到预定目标(智能合约tx触发条件),自动执行智能合约交易(例如 : 把token赚到某个ecosystem地址) 2. [gov 2.0 : 五权制衡](https://mp.weixin.qq.com/s/nZqIgFbVwySNHx5mjE77cg) 审查 4. gov 3.0 : zkvote代替snapshot实现**privacy** voting with **Weight/Delegates** (Fully Homomphic Encryption) ## 技术方案 1.0: ![image](https://hackmd.io/_uploads/HJpOXKTcT.png) [snapshot](https://snapshot.org/#/arbitrumfoundation.eth) + [tally](https://www.tally.xyz/gov/arbitrum/proposal/43616303506326656287362617487331059827021737444126158637397168372555259240241?chart=bubble) + [arbitrum governance]((https://docs.arbitrum.foundation/gentle-intro-dao-governance)) - Security Council(12, emergency, ) - Arbitrum DAO (gov Arb and It's Council) - proposal门槛 10W token ? (100W/10B in ARB) [arb治理](https://foresightnews.pro/timeline/detail/133) [op治理系统](https://foresightnews.pro/news/detail/37080) 论坛 [合约](https://arbiscan.io/address/0x789fc99093b09ad01c34dc7251d0c89ce743e5a4) : [1. on-chain proposal : transfer(address,address,uint256)](https://arbiscan.io/tx/0xd043c4936e0b89c870038f708d89999ee8f07cdf20a37f6dcfd2248f6b134693) 2. [castVote(uint256 proposalId,uint8 support]() [tally : openzpplin governor](https://www.tally.xyz/add-a-dao) [openzepplin governance](https://docs.openzeppelin.com/contracts/4.x/governance) [delegate vote power to myself](https://www.tally.xyz/gov/arbitrum/my-voting-power) [on-chain tx](https://arbiscan.io/tx/0x07291b17a5ad826c3161d5721755af78f5bb49c04b4fdce1a5d493c106a94286) ### schedule - 1. [erc20 token support EIP5808 delegation/voting power checkpointing](https://docs.tally.xyz/user-guides/tally-contract-compatibility/tokens-erc-20-and-nfts) * [manta token合约支持erc20 vote](https://pacific-explorer.manta.network/token/0x95CeF13441Be50d20cA4558CC0a27B601aC544E5?tab=contract) - 2. ### [Timelock](https://github.com/OpenZeppelin/workshops/blob/master/15-timelock-defender/slides.pdf) ![image](https://hackmd.io/_uploads/HJtOEVlja.png) ![image](https://hackmd.io/_uploads/S1KKrEgs6.png) [arbtrium timelock etherscan](https://arbiscan.io/address/0x41740588b86b4e0629b83a4e28786ff94361c3a3#code#F12#L1) ## 技术方案 2.0: 合约,website(fork and extend snapshot?) ## 技术方案 3.0: snapshot --> zkvote 1. Privacy Voting : zkVote技术成熟 2. Weight Voting: nonus Vote 有同态加密方案(weight有标识度(即可以通过weight数量,来甄别所有者),所以要通过mix的方式将所有weight糅合在一起,再来reveal). - 有技术方案,未实现(负责人Duncun离职),预期实现6周 3. delegate Voting : <!-- ## 备选方案 : zksbt ? 本身带隐私,也有asset range,只是粒度大. -->