{ "name": "@superfluid-finance/ethereum-contracts", "description": " Ethereum contracts implementation for the Superfluid Protocol", "version": "1.15.3", "dependencies": { "@decentral.ee/web3-helpers": "0.5.3", "@nomiclabs/hardhat-ethers": "2.2.3", "@safe-global/api-kit": "4.0.1", "@safe-global/protocol-kit": "6.1.2", "@truffle/contract": "4.6.31", "ethereumjs-tx": "2.1.2", "ethereumjs-util": "7.1.5", "hardhat": "2.27.2" }, "devDependencies": { "@d10r/truffle-plugin-verify": "^0.7.2", "@nomiclabs/hardhat-truffle5": "^2.1.2", "@safe-global/safe-core-sdk": "^3.3.5", "@safe-global/safe-service-client": "^2.0.3", "@safe-global/safe-web3-lib": "^1.9.4", "@superfluid-finance/js-sdk": "^0.6.3", "@superfluid-finance/metadata": "^1.6.5", "async": "^3.2.6", "csv-writer": "^1.6.0", "ethers": "^5.8.0", "mochawesome": "^7.1.4", "readline": "^1.3.0", "solidity-coverage": "^0.8.17", "solidity-docgen": "^0.6.0-beta.36", "stack-trace": "0.0.10", "truffle-flattener": "^1.6.0", "viem": "^2.48.4" }, "files": [ "/contracts/**/*", "!/contracts/mocks/*", "/build/truffle/*.json", "!/build/truffle/*Mock*.json", "!/build/truffle/*Tester*.json", "!/build/truffle/*Anvil.json", "!/build/truffle/*Properties.json", "/build/hardhat/**/*", "!/build/hardhat/contracts/mocks/**/*", "/build/contracts-sizes.txt", "/build/bundled-abi.js", "/build/bundled-abi.json", "dev-scripts/**/*", "utils/**/*" ], "homepage": "https://github.com/superfluid-org/protocol-monorepo/tree/dev/packages/ethereum-contracts#readme", "license": "AGPL-3.0-or-later OR MIT", "main": "./dev-scripts/index.js", "peerDependencies": { "@openzeppelin/contracts": "^5.0.0", "ethers": "^5.7.2" }, "repository": { "type": "git", "url": "https://github.com/superfluid-org/protocol-monorepo.git", "directory": "packages/ethereum-contracts" }, "scripts": { "dev": "yarn dev-foundry", "dev-foundry": "nodemon -e sol -x yarn run-foundry test --hardhat", "dev-hardhat": "tasks/dev.sh", "clean": "rm -rf node_modules; rm -rf cache; rm -rf build; rm -rf artifacts; rm -rf typechain-types; rm -rf dev-scripts/*.d.ts dev-scripts/*.d.ts.map", "run-hardhat": "IS_HARDHAT=true hardhat", "run-truffle": "IS_TRUFFLE=true truffle", "run-foundry": "IS_FOUNDRY=true forge", "run-nodemon": "nodemon -e sol,js,ts -x", "build": "yarn run -T run-s \"build:*\"", "build:contracts": "yarn run -T run-p -l \"build:contracts:*\"", "build:contracts:truffle": "yarn run-truffle compile", "build:contracts:hardhat": "yarn run-hardhat compile", "build:contracts:foundry": "yarn run-foundry build", "build:post-contracts": "yarn run -T run-p -l \"build:post-contracts:*\"", "build:post-contracts:abi-bundle": "tasks/build-bundled-abi.sh", "build:post-contracts:contracts-size": "forge build --sizes --skip test --skip script > build/contracts-sizes.txt", "verify-framework": "tasks/etherscan-verify-framework.sh", "testenv:start": "test/testenv-ctl.sh start", "testenv:stop": "test/testenv-ctl.sh stop", "testenv:deploy": "yarn run-truffle exec ops-scripts/deploy-test-environment.js : TEST", "test": "yarn run -T run-s \"test:*:*\"", "test:contracts:hardhat": "yarn run-hardhat test testsuites/all-contracts.ts", "test:contracts:foundry": "yarn run-foundry test --hardhat --no-match-contract Fork", "test:contracts:solc-compatibility": "test/test-solc-compatibility.sh", "test:deployment:scripts-js-hardhat": "yarn run-hardhat test test/ops-scripts/deployment.test.js", "test:deployment:scripts-bash": "test/ops-scripts/deployment.test.sh", "disabled-test:deployment:scripts-js-truffle": "yarn run-truffle test test/ops-scripts/deployment.test.js", "test-coverage": "yarn run -T run-s \"test-coverage:*\"", "test-coverage:hardhat": "yarn run-hardhat coverage --testfiles testsuites/all-contracts.js --solcoverjs ./.solcover.js", "test-coverage:foundry": "yarn run-foundry coverage --gas-limit 999999999999 --report lcov", "test-slither": "tasks/test-slither.sh", "lint": "yarn run -T run-s \"lint:*\"", "lint:forge": "yarn run-foundry lint contracts", "lint:sol": "yarn run -T solhint --disc -w 0 $(find contracts -name '*.sol') && echo '✔ Your .sol files look good.'", "lint-js": "eslint test -c .eslintrc.json --ext .js", "lint:js-eslint": "yarn lint-js --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .js files look good.'", "lint-ts": "eslint test -c .eslintrc.ts.json --ext .ts", "lint:ts-eslint": "yarn lint-ts --max-warnings=0 --report-unused-disable-directives && echo '✔ Your .ts files look good.'", "fix": "yarn run -T run-s \"fix:*\"", "fix:eslint": "yarn lint-ts --fix", "lint:check-no-focused-tests": "grep -FR .only test || { echo 'No test is focused.';exit 0; } && { echo '✘ You have focused tests.'; exit 1; }", "check-updates": "ncu --target minor --dep prod,dev", "cloc": "tasks/cloc.sh", "docgen": "rm -rf docs/api; hardhat docgen" }, "typings": "./types/index.d.ts" }