Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/add batch functions #49

Merged
merged 21 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from 12 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
9cfe2ff
feat: add withdrawMultiple function
andreivladbrg Apr 15, 2024
cb8fe0a
chore: capitalize ID in comments
andreivladbrg Apr 15, 2024
ea43360
test: rename function to expectRevertNull
andreivladbrg Apr 18, 2024
7683de2
test: cancelMultiple function
andreivladbrg Apr 18, 2024
14f1024
test: add defaultStreamIds array in Integration_Test
andreivladbrg Apr 19, 2024
8e52416
test: withdrawMultiple function
andreivladbrg Apr 19, 2024
b4d9d47
feat: implement createMultiple function
andreivladbrg Apr 20, 2024
34ed95c
feat: implement createAndDepositMultiple function
andreivladbrg Apr 22, 2024
53f7b3a
docs: improve readability for streamId requirements
andreivladbrg Apr 22, 2024
0d0576a
refactor: change order of array counts in custom error
andreivladbrg Apr 22, 2024
6cca0e6
test: createAndDepositMultiple function
andreivladbrg Apr 24, 2024
e15c02c
Refactoring open ended (#52)
smol-ninja Apr 29, 2024
6d3c8ac
test: refactor streamDebtOf
smol-ninja Apr 29, 2024
a5c38d8
test: remove unneeded console log
andreivladbrg Apr 29, 2024
b8b2130
refactor: say "amount" in function paramaters instead of explicit names
andreivladbrg Apr 29, 2024
7dd64ce
test: correct the contract name
andreivladbrg Apr 29, 2024
1e120e7
perf: optimize createAndDepositMultiple
andreivladbrg Apr 29, 2024
cfa028a
test: remove unneeded delegatecall test in cancelMultiple
andreivladbrg Apr 29, 2024
3569fed
test: refactoring relates changes
smol-ninja May 1, 2024
043149f
test: remove unneeded tree branches
andreivladbrg May 7, 2024
183181e
test: add modifiers in test_CancelMultiple
andreivladbrg May 8, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion script/Base.s.sol
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// SPDX-License-Identifier: GPL-3.0-or-later
// solhint-disable no-console
pragma solidity >=0.8.22;

import { Strings } from "@openzeppelin/contracts/utils/Strings.sol";
Expand Down Expand Up @@ -57,7 +58,7 @@ abstract contract BaseScript is Script {
string memory json = vm.readFile("package.json");
string memory version = json.readString(".version");
string memory create2Salt = string.concat("ChainID ", chainId, ", Version ", version);
console2.log("The CREATE2 salt is \"%s\"", create2Salt);
console2.log("The CREATE2 salt is %s", create2Salt);
return bytes32(abi.encodePacked(create2Salt));
}
}
Loading