UNPKG

@hifi/protocol

Version:

The core Hifi fixed-rate, fixed-term lending protocol

121 lines (120 loc) 4.34 kB
{ "name": "@hifi/protocol", "description": "The core Hifi fixed-rate, fixed-term lending protocol", "version": "1.12.0", "author": { "name": "Hifi", "email": "contact@hifi.finance", "url": "https://hifi.finance" }, "bugs": { "url": "https://github.com/hifi-finance/hifi/issues" }, "dependencies": { "@ethersproject/abi": "^5.7.0", "@ethersproject/bytes": "^5.7.0", "@ethersproject/providers": "^5.7.2", "@openzeppelin/contracts-upgradeable": "4.5.2", "@prb/contracts": "3.8.1", "@prb/math": "2.5.0", "ethers": "^5.7.2" }, "devDependencies": { "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/bignumber": "^5.7.0", "@ethersproject/wallet": "^5.7.0", "@hifi/constants": "workspace:*", "@hifi/errors": "workspace:*", "@hifi/helpers": "workspace:*", "@nomiclabs/hardhat-ethers": "^2.2.3", "@nomiclabs/hardhat-etherscan": "^3.1.7", "@nomiclabs/hardhat-waffle": "^2.0.6", "@openzeppelin/hardhat-upgrades": "^1.16.1", "@typechain/ethers-v5": "^10.2.1", "@typechain/hardhat": "^9.1.0", "@types/chai": "^4.3.10", "@types/mocha": "^10.0.4", "@types/mocha-each": "^2.0.3", "@types/node": "^20.9.0", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "@uniswap/v3-sdk": "^3.10.0", "chai": "^4.3.10", "cross-env": "^7.0.3", "dotenv": "^16.3.1", "eslint": "^8.53.0", "eslint-config-prettier": "^8.10.0", "ethereum-waffle": "^4.0.10", "ethers": "^5.7.2", "evm-bn": "^1.1.2", "hardhat": "^2.19.0", "hardhat-gas-reporter": "^1.0.9", "hardhat-packager": "^1.4.2", "lodash": "^4.17.21", "mocha": "^10.2.0", "mocha-each": "^2.0.1", "prettier": "^2.8.8", "prettier-plugin-solidity": "^1.0.0-dev.21", "shelljs": "^0.8.5", "shx": "^0.3.4", "solhint": "^3.3.7", "solhint-plugin-prettier": "^0.0.5", "solidity-coverage": "^0.8.5", "solidity-docgen": "^0.6.0-beta.36", "ts-node": "^10.9.1", "typechain": "^8.3.2", "typescript": "^4.9.5" }, "files": [ "/contracts", "/dist/**/*.d.ts", "/dist/**/*.d.ts.map", "/dist/**/*.js", "/dist/**/*.js.map", "CHANGELOG.md" ], "homepage": "https://github.com/hifi-finance/hifi/tree/main/packages/protocol#readme", "keywords": [ "blockchain", "decentralized-finance", "ethereum", "hifi", "lending", "smart-contracts", "solidity" ], "license": "BUSL-1.1", "peerDependencies": { "@openzeppelin/contracts-upgradeable": "4.5.2", "@prb/contracts": "3.8.0", "@prb/math": "2.5.0", "ethers": "^5.6.2" }, "publishConfig": { "access": "public" }, "repository": { "directory": "packages/protocol", "type": "git", "url": "https://github.com/hifi-finance/hifi" }, "scripts": { "build:types": "yarn prepare:types && tsc --project ./tsconfig.prod.json", "clean": "shx rm -rf ./artifacts ./cache ./coverage.json ./dist ./docs ./tsconfig.prod.tsbuildinfo", "clean:node_modules": "shx rm -rf ./node_modules", "compile:sol": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat compile", "coverage": "cross-env CODE_COVERAGE=true hardhat coverage --solcoverjs ./.solcover.js --temp artifacts --testfiles \"test/{unit,integration}/**/*.ts\"", "generate:docs": "hardhat docgen && yarn prettier", "generate:types": "cross-env TS_NODE_TRANSPILE_ONLY=true hardhat typechain", "lint": "yarn lint:sol && yarn lint:ts && yarn prettier:check", "lint:sol": "solhint --config ../../.solhint.json --ignore-path ../../.solhintignore --max-warnings 0 \"contracts/**/*.sol\"", "lint:ts": "eslint --config ../../.eslintrc.yaml --ignore-path ../../.eslintignore --ext .js,.ts .", "prepack": "yarn build:types", "prepare:types": "yarn generate:types && yarn hardhat prepare-package", "prettier": "prettier --config ../../.prettierrc.js --ignore-path ../../.prettierignore --write \"**/*.{js,json,md,sol,ts}\"", "prettier:check": "prettier --check --config ../../.prettierrc.js --ignore-path ../../.prettierignore \"**/*.{js,json,md,sol,ts}\"", "test": "hardhat test", "test:integration": "hardhat test ./test/integration --network hardhat", "test:unit": "hardhat test ./test/unit --network hardhat" } }