dYdX v3 Governance Architecture

Overview of the dYdX v3 Governance Architecture

V3 Governance Architecture

DYDX grants holders the right to propose and vote on changes to the dYdX v3 protocol on Ethereum. DYDX governance is based on the AAVE governance contracts, and supports voting based on DYDX token holdings.
Proposals must pass a given threshold and percent of yes votes based on the type of timelock that the subject matter of the respective proposal falls under.
These DYDX tokens can be used to make governance proposals or vote on governance proposals or be delegated to other Ethereum addresses.
Per the V3 governance architecture available here, there are 6 smart contracts at the core of dYdX v3 Governance on Ethereum:
  • The DYDX Token contract: has snapshots of each address’ voting power at different blocks in time.
  • The GovernanceStrategy contract: contains logic to measure users' relative power to propose and vote.
  • The Safety Module contract: contains logics to stake DYDX tokens, tokenize the position and get rewards. Token staked the safety module retain full governance rights.
  • The Governor contract: tracks proposals and can execute proposals via the Timelock smart contract.
  • The Timelock contracts: can queue, cancel, or execute transactions voted by Governance. The functions in a proposal are initiated by the Timelock contract. Queued transactions can be executed after a delay and before the expiration of the grace period.
  • The Priority Timelock contract: The same as the timelock contract, but allows a priority controller to execute transactions within the Priority Period (7 days) before the end of the timelock delay.
Simplified dYdX v3 Governance Architecture
The following subset of contracts have been deployed on Ethereum mainnet:
Short Timelock Executor
Rewards Treasury
Community Treasury
Safety Module
Rewards Treasury Vester
Community Treasury Vester

Open-source code & audited

All smart contract source code for the governance contracts and staking pools can be found at
The source code for the governance frontend hosted at can be found here.
All major smart contracts have been audited by Peckshield. No significant or high priority security issues were found. The core governance and token contracts are forked from the Aave governance contracts which were audited by CertiK, Certora, and Peckshield and have been battle-tested live on mainnet.