This repo contains scripts and tools for making and testing proposals for the Seamless governance.
To create new proposal run:
make create-proposal name=PROPOSAL_NAMEIt will create a folder PROPOSAL_NAME inside of the proposals folder with the template proposal files:
Proposal.solcontaining the proposal payload. Implement here the_makeProposalby adding_addActioncalls 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_passProposalfrom theGovTestHelpercan be used to queue up and execute the proposal.DeployProposal.s.solis 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_NAMEDeploy the proposal onchain with the command:
make deploy-proposal name=PROPOSAL_NAMEDeploy the proposal on tenderly with the command:
make deploy-proposal-tenderly name=PROPOSAL_NAMERun the simulation of voting and execution on tenderly with the command:
make tenderly-simulateVotingAndExecution name=PROPOSAL_NAME