-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 1.34 KB
/
Copy pathpackage.json
File metadata and controls
49 lines (49 loc) · 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "solidity-rounding-lib",
"version": "0.1.0",
"description": "Directional rounding for Solidity — full-precision mulDiv with a caller-chosen rounding direction, so value never rounds the wrong way.",
"license": "MIT",
"files": [
"contracts/Rounding.sol",
"contracts/SharesMath.sol",
"contracts/FixedPoint.sol",
"contracts/SignedRounding.sol",
"contracts/Percentage.sol",
"contracts/Interest.sol",
"contracts/Decimals.sol",
"contracts/Liquidation.sol",
"contracts/Sqrt.sol",
"contracts/Vesting.sol",
"contracts/Slippage.sol",
"README.md",
"LICENSE"
],
"scripts": {
"build": "hardhat compile",
"test": "hardhat test",
"test:gas": "REPORT_GAS=true hardhat test",
"coverage": "hardhat coverage",
"lint": "solhint 'contracts/**/*.sol'",
"bench": "hardhat test test/GasBenchmark.test.js"
},
"keywords": [
"solidity",
"muldiv",
"fixed-point",
"rounding",
"defi",
"erc4626"
],
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^2.0.7",
"@nomicfoundation/hardhat-ethers": "^3.0.8",
"@openzeppelin/contracts": "^5.6.1",
"chai": "^4.5.0",
"ethers": "^6.13.4",
"hardhat": "^2.22.17",
"hardhat-gas-reporter": "^2.2.1",
"solhint": "^5.0.3",
"solidity-coverage": "^0.8.13",
"solmate": "^6.8.0"
}
}