@perp/voting-escrow
Advanced tools
Comparing version 1.1.0 to 1.2.0-dev2
{ | ||
"name": "@perp/voting-escrow", | ||
"version": "1.1.0", | ||
"version": "1.2.0-dev2", | ||
"description": "Perpetual Protocol voting escrow contracts", | ||
@@ -34,4 +34,7 @@ "license": "MIT", | ||
"test": "hardhat test", | ||
"foundry-test": "forge test", | ||
"parallel-test": "hardhat test --parallel", | ||
"build": "npx hardhat compile --no-typechain && npx hardhat typechain", | ||
"coverage": "forge coverage", | ||
"coverage:report": "forge coverage --report lcov; genhtml lcov.info --output-directory coverage-out", | ||
"prepare": "husky install", | ||
@@ -42,2 +45,3 @@ "lint": "npm run lint-contracts && npm run lint-tests", | ||
"lint-staged": "lint-staged", | ||
"snapshot": "ts-node scripts/snapshot.ts", | ||
"prepack": "ts-node --files scripts/prepack.ts", | ||
@@ -59,5 +63,5 @@ "flatten": "ts-node --files scripts/flatten.ts", | ||
"@ethereumjs/vm": "5.4.0", | ||
"@nomiclabs/hardhat-vyper": "3.0.0", | ||
"@nomiclabs/ethereumjs-vm": "4.2.2", | ||
"@nomiclabs/hardhat-ethers": "2.0.5", | ||
"@nomiclabs/hardhat-vyper": "3.0.0", | ||
"@nomiclabs/hardhat-waffle": "2.0.1", | ||
@@ -74,3 +78,5 @@ "@openzeppelin/hardhat-upgrades": "1.10.0", | ||
"chai": "4.3.4", | ||
"dotenv": "11.0.0", | ||
"eslint-config-prettier": "8.3.0", | ||
"ethereum-block-by-date": "1.4.5", | ||
"ethereum-waffle": "3.4.4", | ||
@@ -77,0 +83,0 @@ "ethers": "5.5.2", |
@@ -40,1 +40,29 @@ # perp-ve | ||
> If any features/functionalities described in the Perpetual Protocol documentation, code comments, marketing, community discussion or announcements, pre-production or testing code, or other non-production-code sources, vary or differ from the code used in production, in case of any dispute, the code used in production shall prevail. | ||
### Coverage | ||
- Coverage simple version | ||
```bash | ||
npm run coverage | ||
``` | ||
- Coverage html version | ||
```bash | ||
brew install lcov | ||
npm run coverage:report | ||
open coverage-out/index.html | ||
``` | ||
### Snapshot | ||
To query the latest snapshot info | ||
```bash | ||
npm run snapshot | ||
``` | ||
To query specific timestamp(in sec) info (eg. `1661990400` is `2021-09-01 00:00:00` UTC) | ||
```bash | ||
npm run snapshot 1661990400 | ||
``` |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
200385
17
2463
67
45
1