
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@venusprotocol/governance-contracts
Advanced tools
NodeJS - 12.x
Solc - v0.8.25 (https://github.com/ethereum/solidity/releases/tag/v0.8.25)
npm install
npx hardhat test
npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
npx hardhat help
REPORT_GAS=true npx hardhat test
npx hardhat coverage
TS_NODE_FILES=true npx ts-node scripts/deploy.ts
npx eslint '**/*.{js,ts}'
npx eslint '**/*.{js,ts}' --fix
npx prettier '**/*.{json,sol,md}' --check
npx prettier '**/*.{json,sol,md}' --write
npx solhint 'contracts/**/*.sol'
npx solhint 'contracts/**/*.sol' --fix
MNEMONIC="<>" BSC_API_KEY="<>" npx hardhat run ./script/hardhat/deploy.ts --network testnet
Documentation is autogenerated using solidity-docgen.
They can be generated by running yarn docgen
Deployments are managed using hardhat-deploy.
Deployment scripts are in the deploy
directory and run automatically when starting the hardhat node.
Deployed contract abis and addresses are exported in the deployments
directory. To create a summary export of all contracts deployed to a network run
$ yarn hardhat export --network <network-name> --export ./deployments/<network-name>.json
To fetch all permissions, run the following command:
$ npx hardhat run scripts/ACMPermissions/index.ts --network <network-nme>
To fetch only timelock permissions excluding guardian, run:
$ npx hardhat run scripts/ACMPermissions/fetchNonGuardianPermissions.ts --network <network-nme>
For any concerns with the protocol, open an issue or visit us on Telegram to discuss.
For security concerns, please contact the administrators of our telegram chat.
FAQs
### Prerequisites
The npm package @venusprotocol/governance-contracts receives a total of 1,862 weekly downloads. As such, @venusprotocol/governance-contracts popularity was classified as popular.
We found that @venusprotocol/governance-contracts demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.