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

20220323 - Audit fixes #2

Open
wants to merge 63 commits into
base: master
Choose a base branch
from
Open

20220323 - Audit fixes #2

wants to merge 63 commits into from

Conversation

16slim
Copy link
Collaborator

@16slim 16slim commented Mar 23, 2022

Audit fixes corresponding to DDoZ9's review:

  1. Issue#01: Writing yo storage before an external call
  2. Issue#02: Use SafeCast when possible
  3. Issue#04: SafeMath for a subtraction operation
  4. Eliminate for loops for account portfolio actions as strategies will only have one position at a time
  5. Correct type definition of minAmountWant

16slim and others added 30 commits December 19, 2021 19:16
…s + liquidateallpositions looping through current portfolio
16slim and others added 30 commits January 28, 2022 20:14
…y and cloned strategy in test_clone.py as per @storming0x comment
…these strategies fill only have one position at a time
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

Successfully merging this pull request may close these issues.

2 participants