-
NodeJS - 16.x
-
Solc - v0.8.13 (https://github.com/ethereum/solidity/releases/tag/v0.8.13)
yarn install
npx hardhat test simulations/<simulation-path>
Script to generate proposal data for multiple destinations such as venusApp bscexplorer and gnosis tx builder.
Procedure for Creating a Proposal
npx hardhat run scripts/createProposal.ts
Enter the number of vip for which you require proposal data.
Select the type of destination, such as txBuilder/venusApp/bsc.
Enter the governor_proxy address or enter to select the default one.
Script to build vip calldata and target.
Procedure for Propose vip
In .env, replace VIP_NUMBER with the number of vip to propose.
npx hardhat test scripts/proposeVIP.ts