Forge Proposal Simulator
  • Forge Proposal Simulator
  • Overview
    • Use cases
    • Architecture
      • Addresses
      • Proposal Functions
  • Guides
    • Introduction
    • Multisig Proposal
    • Timelock Proposal
    • Governor Bravo Proposal
    • OZ Governor Proposal
    • Customizing A Proposal
    • Mainnet examples
      • Arbitrum Timelock
      • Compound Governor Bravo
      • Optimism Multisig
      • ENS OZ Governor
  • Testing
    • Integration Tests
  • Github Actions
    • Printing Calldata on Pull Requests
Powered by GitBook
On this page
  • Proposal Generic Contract
  • Governance Specific Contracts
  • Proposal Specific Contract
  1. Overview

Architecture

The Forge Proposal Simulator (FPS) offers a versatile solution for protocols with trusted actors to create and validate governance proposals.

PreviousUse casesNextAddresses

Last updated 8 months ago

The diagram illustrates the architecture of the Forge Proposal Simulator. It is composed of various components that interact with each other to simulate, execute, and test governance proposals.

Proposal Generic Contract

Governance Specific Contracts

Proposal Specific Contract

At its core, the FPS features a contract that defines that can be overridden to adapt to specific governance architectures. The run function serves as the entry point to execute a proposal using the forge script.

FPS supports different Governance types (e.g., Timelock, Multisig, Governor Bravo, OZ Governor) through proposal contract types inheriting from , customizing their functions to unique governance requirements. New proposal types can be included to support different governance contracts.

Protocols using FPS must create their own Proposal Specific Contracts, conforming to FPS standards. These contracts override functions relevant to the particular proposal, such as deploy() and preBuildMock() for proposals involving new contract deployments. For more details, refer to .

Proposal.sol
functions
Proposal.sol
proposal functions
Proposal Functions
Addresses
FPS design architecture
Drawing