Skip to main content Link Search Menu Expand Document (external link)

Security

Here are the differences between the Governor/ERC-721 implementations suggested by Open Zeppelin and ours:

Gov.sol

The following function is onlyGovernance, meaning it can only be triggered by a vote.

  • setManifesto() updates the CID.

NFT.sol

The following functions are onlyOwner, and since the NFT contract ownership is transfered to the Gov contract, they can only be triggered by a vote.

  • safeMint() adds a new member.
  • govBurn() adds to ban a member.
  • setMetadata() changes the tokenURI of a given NFT ID.

The Governor contract

When this Open Zeppelin post was published (November 7, 2024), we can see that over $32 billion in value is secured using the Governor framework as either Treasury funds or protocol TVL. Additionally, more than 5,600 Governor contracts have been deployed over a dozen different networks.