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

Fix: Internal audit fixes #981

Open
wants to merge 5 commits into
base: fix/osqth-estimate
Choose a base branch
from

Conversation

haythemsellami
Copy link
Member

@haythemsellami haythemsellami commented Feb 16, 2023

Task: Internal audit fixes

Should be reviewed/merged after #979

Description

Fixes ENG-1509:

  • Update minEthFromUsdc to be an input
  • Calc exact oSqthAmount and wethToLend in tests
  • Refactor the transfer functions in NettingLib.sol
  • Comments

Type of change

  • New feature
  • Bug fix
  • Testing code
  • Document update or config files

@vercel
Copy link

vercel bot commented Feb 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated
continuouscall ⬜️ Ignored (Inspect) Visit Preview Feb 17, 2023 at 3:02PM (UTC)

@haythemsellami haythemsellami changed the title [WIP] Fix: Internal audit fixes Fix: Internal audit fixes Feb 17, 2023
@linear
Copy link

linear bot commented Feb 21, 2023

@@ -597,23 +595,25 @@ contract ZenBullNetting is Ownable, EIP712, FlashSwap {
oracle, ethSqueethPool, oSqth, weth, zenBull, ethIntoCrab, auctionTwapPeriod
);

emit DepositAuction(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

L583 posessive apostrophe typo -> " * @dev takes in orders from MMs to buy oSQTH"

Copy link
Contributor

@alpinechicken alpinechicken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants