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

draft (tests fail) of moving transfer events to _transferShares #421

Closed
wants to merge 1 commit into from

Conversation

arwer13
Copy link
Contributor

@arwer13 arwer13 commented May 18, 2022

This is a sketch of the scope of the changes needed to move emitting Transfer and TransferShares events to _transferShares().
It also attempts to semantically fix minting in distributeRewards().

The tests fail due to

  1. Minting done sequentially in distributeRewards
  2. The broken assert assert(tokenAmount == _amount( in _transfer()

There is also still a contradiction in _mintShares between the Notice comment and emitting transfer events from zero address.

Base automatically changed from review/mev-lips-round2 to audit/mev-lips May 18, 2022 18:59
Base automatically changed from audit/mev-lips to develop May 19, 2022 05:34
@ujenjt ujenjt closed this Feb 7, 2023
@arwer13 arwer13 deleted the review/transfer-mint-events branch February 8, 2023 08:39
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