Skip to content

Commit

Permalink
chore: documentation updated with new params
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrzn committed Aug 7, 2021
1 parent 8e4d5ab commit 2315630
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v15.6.0
v14.17.4
6 changes: 3 additions & 3 deletions docs/setup_guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,18 @@ Hardhat tasks can be used to deploy a delay-module instance. There are two diffe
These setup tasks requires the following parameters: `dao` (the address of the Safe). There are also optional parameters (cooldown and expiration, by default they are set to 24 hours and 7 days, respectively), for more information run `yarn hardhat setup --help` or `yarn hardhat factory-setup --help`.

An example for this on Rinkeby would be:
`yarn hardhat --network rinkeby setup --dao <safe_address>`
`yarn hardhat --network rinkeby setup --owner <owner_address> --executor <executor_address>`

or

`yarn hardhat --network rinkeby factory-setup --factory <factory_address> --mastercopy <mastercopy_address> --dao <safe_address>`
`yarn hardhat --network rinkeby factory-setup --factory <factory_address> --mastercopy <mastercopy_address> --owner <owner_address> --executor <executor_address>`

This should return the address of the deployed delay-module. For this guide we assume this to be `0x4242424242424242424242424242424242424242`

Once the module is deployed you should verify the source code (Note: If you used the factory deployment the contract should be already verified). If you use a network that is Etherscan compatible and you configure the `ETHERSCAN_API_KEY` in your environment you can use the provided hardhat task to do this.

An example for this on Rinkeby would be:
`yarn hardhat --network rinkeby verifyEtherscan --module 0x4242424242424242424242424242424242424242 --dao <safe_address>`
`yarn hardhat --network rinkeby verifyEtherscan --module 0x4242424242424242424242424242424242424242 --owner <owner_address> --executor <executor_address>`

### Enabling the module

Expand Down

0 comments on commit 2315630

Please sign in to comment.