返回 Skill 列表
extension
分类: 效率与办公需要 API Key

Gotchi DAO Voting

检查活跃的 Aavegotchi DAO 提案,并通过 Bankr EIP-712 签名在 Snapshot 上投票。

person作者: aaigotchihubclawhub

gotchi-dao-voting

Vote on Snapshot proposals for aavegotchi.eth.

Scripts

  • ./scripts/list-proposals.sh
    • Lists active proposals and your VP per proposal.
  • ./scripts/vote.sh [--dry-run] <proposal-id> <choice>
    • Submits signed vote through Snapshot sequencer.
    • --dry-run prints typed data and exits without signing/submitting.

Choice Formats

  • Single-choice proposal: numeric option, e.g. 2
  • Weighted proposal: JSON object string, e.g. '{"2":2238}'
    • If you pass just 2 for a weighted vote, script auto-converts to {"2":<floor(vp)>}.

Config

config.json keys:

  • wallet
  • space
  • snapshotApiUrl
  • snapshotSequencer

Security

  • Uses Bankr signing API (no local private key usage).
  • Off-chain Snapshot voting (no gas transaction).
  • Input validation for proposal ID, wallet, choice format, and choice range.