Add scripts and JS for previewing DAOs #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Deploy all contracts
WETH_ADDRESS=0xc778417E063141139Fce010982780140Aa0cD5Ab FOUNDERS_DAO=0x9444390c01Dd5b7249E53FAc31290F7dFF53450D forge script ./script/DeployContracts.s.sol -vvv --rpc-url $RPC_URL --broadcast -i 1 --sender $SENDER --verify --etherscan-api-key $ETHERSCAN_API_KEY --retries 3
Setup new DAO
FOUNDERS_DAO=0x9444390c01Dd5b7249E53FAc31290F7dFF53450D MANAGER=0xDC76E2DD4BDC3EDF718b3e30F855Ef975a411A37 forge script ./script/DeployNewDAO.s.sol --rpc-url $RPC_URL --broadcast -i 1 --sender $SENDER --verify --etherscan-api-key $ETHERSCAN_API_KEY --retries 3 -vvvv
Create Proposal and Vote
ts-node script/js/createProposal.ts bid 0xe2c667042bcc7760ecabdb50beae974fd65bdacd --pk $PRIVATE_KEY --rpc-url $RPC_URL --manager 0xdc76e2dd4bdc3edf718b3e30f855ef975a411a37 --token 0xf4bb221198ede8860e42806cf4268ef72ec50718