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

Add more utilities to Utilities.sol #13

Open
StErMi opened this issue Mar 12, 2022 · 0 comments
Open

Add more utilities to Utilities.sol #13

StErMi opened this issue Mar 12, 2022 · 0 comments

Comments

@StErMi
Copy link

StErMi commented Mar 12, 2022

@FrankieIsLost do you think that these methods I added could be useful to be added to your Utilities.sol contract?

https://github.com/StErMi/forge-damn-vulnerable-defi/blob/main/src/test/utils/Utilities.sol

I've added

  • createUsers(uint256 userNum, uint256 initialFunds, string[] memory userLabels) that allow to create users specifying the amount of initial funds and the label to tag them
  • createUsers(uint256 userNum, uint256 initialFunds that allow to create users specifying the amount of initial funds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant