@hifi/flash-swap
Version:
Flash swap implementations for liquidating underwater accounts
121 lines (120 loc) • 4.26 kB
JSON
{
"name": "@hifi/flash-swap",
"description": "Flash swap implementations for liquidating underwater accounts",
"version": "1.13.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",
"@hifi/protocol": "1.11.0",
"@openzeppelin/contracts-upgradeable": "4.5.2",
"@prb/contracts": "3.8.1",
"@uniswap/sdk-core": "^3.2.3",
"@uniswap/v2-core": "1.0.1",
"@uniswap/v3-core": "1.0.1",
"@uniswap/v3-periphery": "1.0.1",
"@uniswap/v3-sdk": "^3.10.0",
"ethers": "^5.7.2"
},
"devDependencies": {
"@ethersproject/abstract-signer": "^5.7.0",
"@ethersproject/bignumber": "^5.7.0",
"@ethersproject/constants": "^5.7.0",
"@ethersproject/keccak256": "^5.7.0",
"@hifi/errors": "workspace:*",
"@hifi/helpers": "workspace:*",
"@nomiclabs/hardhat-ethers": "^2.2.3",
"@nomiclabs/hardhat-etherscan": "^3.1.7",
"@nomiclabs/hardhat-waffle": "^2.0.6",
"@typechain/ethers-v5": "^10.2.1",
"@typechain/hardhat": "^9.1.0",
"@types/chai": "^4.3.10",
"@types/mocha": "^10.0.4",
"@types/node": "^20.9.0",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.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",
"evm-bn": "^1.1.2",
"from-exponential": "^1.1.1",
"hardhat": "^2.19.0",
"hardhat-packager": "^1.4.2",
"lodash": "^4.17.21",
"mocha": "^10.2.0",
"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/flash-swap#readme",
"keywords": [
"blockchain",
"decentralized-finance",
"ethereum",
"flash-loans",
"hifi",
"smart-contracts",
"solidity",
"uniswap"
],
"license": "LGPL-3.0-or-later",
"peerDependencies": {
"@hifi/protocol": "1.10.0",
"@prb/contracts": "3.8.0",
"@uniswap/v2-core": "1.0.1",
"@uniswap/v3-core": "1.0.1",
"ethers": "^5.6.2"
},
"publishConfig": {
"access": "public"
},
"repository": {
"directory": "packages/flash-swap",
"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 ./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/**/*.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"
}
}