https://github.com/Pedrojok01/Web3-Boilerplate
A delegate is someone who holds governance tokens themselves or has been delegated tokens from others. They can vote on proposals. In most systems, anyone with voting power can be a delegate, but some become recognized community leaders because many token holders delegate to them. The original token holder keeps ownership of the tokens — they are not transferred. Only voting rights are delegated. The votes automatically adjust as your balance changes. If I don’t want to participate anymore, delegate to address(0).
2 day waiting period, 7 day voting period, 2 day timelock
voting delay = waiting
Give token holders time to notice & discuss.
Ensure delegation/voting power snapshots are fair.
Prevent “instant-push” governance attacks.
a two-day timelock must pass before you can execute the proposed code.
why timelock need?
Delegation, Snapshot, Quorum
Delay Proposal - Voting Execution
proposal threshold: the minimum number of governance tokens (i.e., voting power) a user must control (directly or via delegation) in order to create a proposal.
quorum: Minimum number of total votes (for + against, sometimes just “for”) required for the proposal to be valid.
voting: must be gotten delegated before voting.
snapshot block (usually the block when voting opens)
vote: it’s a transaction that calls a vote function
재화 교환 서비스
Web2 기반의 포인트 재화를 개발합니다.
블록체인 기반의 토큰을 개발합니다. 이 토큰은 거버넌스 토큰이며 투표 기능을 제공해야합니다.
포인트는 고정 비율로 토큰과 교환.
모든 기능을 테스트할 수 있는 웹 어플리케이션을 개발.