-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1391fe9
commit 83f6683
Showing
12 changed files
with
100 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
# directories | ||
artifacts | ||
broadcast | ||
cache | ||
coverage | ||
deployments | ||
docs | ||
node_modules | ||
out | ||
out-optimized | ||
out-svg | ||
|
||
# files | ||
*.env | ||
*.env.deployment | ||
*.log | ||
.DS_Store | ||
.pnp.* | ||
lcov.info | ||
package-lock.json | ||
pnpm-lock.yaml | ||
yarn.lock | ||
|
||
# broadcasts | ||
!broadcast | ||
broadcast/* | ||
broadcast/*/31337/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ broadcast | |
cache | ||
coverage | ||
docs | ||
lib | ||
node_modules | ||
out | ||
out-optimized | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
codecov: | ||
require_ci_to_pass: false | ||
comment: false | ||
coverage: | ||
status: | ||
patch: off | ||
ignore: | ||
- "precompiles" | ||
- "script" | ||
- "test" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,71 @@ | ||
{ | ||
"name": "@sablier/v2-open-ended", | ||
"description": "Open ended smart contracts of the Sablier V2 token streaming protocol", | ||
"license": "BUSL-1.1", | ||
"version": "1.0.0", | ||
"author": { | ||
"name": "Sablier Labs Ltd", | ||
"url": "https://sablier.com" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/sablier-labs/v2-open-ended/issues" | ||
}, | ||
"dependencies": { | ||
"@openzeppelin/contracts": "5.0.2", | ||
"@prb/math": "github:PaulRBerg/prb-math#a111d11" | ||
"@prb/math": "github:PaulRBerg/prb-math#16419e5" | ||
}, | ||
"devDependencies": { | ||
"forge-std": "github:foundry-rs/forge-std#v1.8.1", | ||
"prettier": "3.0.0", | ||
"solhint": "^4.0.0" | ||
}, | ||
"files": [ | ||
"artifacts", | ||
"precompiles", | ||
"src", | ||
"LICENSE-GPL.md" | ||
], | ||
"keywords": [ | ||
"asset-distribution", | ||
"asset-streaming", | ||
"blockchain", | ||
"cryptoasset-streaming", | ||
"ethereum", | ||
"forge", | ||
"foundry", | ||
"money-streaming", | ||
"real-time-finance", | ||
"payroll", | ||
"sablier", | ||
"smart-contracts", | ||
"solidity", | ||
"template" | ||
"token-distribution", | ||
"token-streaming", | ||
"web3" | ||
], | ||
"peerDependencies": { | ||
"@prb/math": "4.0.x" | ||
}, | ||
"private": true, | ||
"publishConfig": { | ||
"access": "restricted" | ||
}, | ||
"scripts": { | ||
"clean": "rm -rf cache out", | ||
"build": "forge build", | ||
"build:optimized": "FOUNDRY_PROFILE=optimized forge build", | ||
"clean": "rm -rf artifacts broadcast cache docs out out-optimized out-svg", | ||
"gas:report": "forge test --gas-report --mp \"./test/integration/**/*.sol\" --nmt \"test(Fuzz)?_RevertWhen_\\w{1,}?\"", | ||
"gas:snapshot": "forge snapshot --mp \"./test/integration/**/*.sol\" --nmt \"test(Fuzz)?_RevertWhen_\\w{1,}?\"", | ||
"gas:snapshot:optimized": "bun run build:optimized && FOUNDRY_PROFILE=test-optimized forge snapshot --mp \"./test/integration/**/*.sol\" --nmt \"test(Fork)?(Fuzz)?_RevertWhen_\\w{1,}?\"", | ||
"lint": "bun run lint:sol && bun run prettier:check", | ||
"lint:sol": "forge fmt --check && bun solhint {script,src,test}/**/*.sol", | ||
"prettier:check": "prettier --check **/*.{json,md,yml} --ignore-path=.prettierignore", | ||
"prettier:write": "prettier --write **/*.{json,md,yml} --ignore-path=.prettierignore", | ||
"lint:sol": "forge fmt --check && bun solhint \"{precompiles,script,src,test}/**/*.sol\"", | ||
"prepack": "bun install && bash ./shell/prepare-artifacts.sh", | ||
"prettier:check": "prettier --check \"**/*.{json,md,svg,yml}\"", | ||
"prettier:write": "prettier --write \"**/*.{json,md,svg,yml}\"", | ||
"test": "forge test", | ||
"test:coverage": "forge coverage", | ||
"test:coverage:report": "forge coverage --report lcov && genhtml lcov.info --branch-coverage --output-dir coverage" | ||
"test:coverage:report": "forge coverage --report lcov && genhtml lcov.info --branch-coverage --output-dir coverage", | ||
"test:lite": "FOUNDRY_PROFILE=lite forge test", | ||
"test:optimized": "bun run build:optimized && FOUNDRY_PROFILE=test-optimized forge test" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"detectors_to_exclude": "naming-convention,reentrancy-events,solc-version,timestamp", | ||
"filter_paths": "(node_modules/,test/)", | ||
"solc_remaps": [ | ||
"@openzeppelin/contracts/=node_modules/@openzeppelin/contracts/", | ||
"@prb/math/=node_modules/@prb-math/", | ||
"forge-std/=node_modules/forge-std/" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters