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

update issuance modules #178

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

Conversation

ncitron
Copy link
Contributor

@ncitron ncitron commented Dec 15, 2021

Adds a new BasicIssuanceModuleV2 and update DebtIssuanceModule and DebtIssuanceModuleV2 to call manager pre-redeem hooks and allow managers to update these hooks.

One change that ended up propagating to SlippageIssuanceModule was that I had to set the managerIssuanceHook parameter of SetTokenRedeemed to address(0) since the hook is never called for redeem. An alternative solution I tried was to override the event in SlippageIssuanceModule to remove this parameter, which compiles correctly but hardhat seems to dislike when two events have the same name. This same issue cropped up in BasicIssuanceModule

@ncitron ncitron changed the title WIP: update issuance modules update issuance modules Dec 15, 2021
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.

1 participant