8000 GitHub - seamless-protocol/gov-proposals: Tooling for the Seamless governance proposals
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

seamless-protocol/gov-proposals

Repository files navigation

Seamless governance proposals

This repo contains scripts and tools for making and testing proposals for the Seamless governance.

Usage

To create new proposal run:

make create-proposal name=PROPOSAL_NAME

It will create a folder PROPOSAL_NAME inside of the proposals folder with the template proposal files:

  • Proposal.sol containing the proposal payload. Implement here the _makeProposal by adding _addAction calls with the desired actions of the proposal.
  • description.md - Change this file by adding the proposal description in the markdown format.
  • TestProposal.t.sol - Implement tests inside this file. Function _passProposal from the GovTestHelper can be used to queue up and execute the proposal.
  • DeployProposal.s.sol is a script which is run on the proposal deployment. By default it doesn't need to be changed.

Run proposal tests with the command:

make test-proposal name=PROPOSAL_NAME

Deploy the proposal onchain with the command:

make deploy-proposal name=PROPOSAL_NAME

Deploy the proposal on tenderly with the command:

make deploy-proposal-tenderly name=PROPOSAL_NAME

Run the simulation of voting and execution on tenderly with the command:

make tenderly-simulateVotingAndExecution name=PROPOSAL_NAME

About

Tooling for the Seamless governance proposals

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0