Skip to content

[midnight adapter] forceDeallocate by minting shares - #910

Draft
adhusson wants to merge 17 commits into
feat/adapter-v2from
takeless-force-deallocate
Draft

[midnight adapter] forceDeallocate by minting shares#910
adhusson wants to merge 17 commits into
feat/adapter-v2from
takeless-force-deallocate

Conversation

@adhusson

@adhusson adhusson commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

In #786, if the obligation has a trading fee a user cannot do IKR without having the funds to pay the trading fee.

In this PR, IKR is free because the user gets shares in the adapter position. He is then safe from any vault attack and can sell his obligation shares later.

It also removes the question of whether to allow offer callbacks when a user force deallocates (because in the other PR, force deallocate triggers a take)

@adhusson adhusson changed the title Takeless force deallocate [midnight adapter] take-less force deallocate Apr 17, 2026
@adhusson adhusson changed the title [midnight adapter] take-less force deallocate [midnight adapter] forceDeallocate by minting shares May 5, 2026
@adhusson adhusson mentioned this pull request May 5, 2026
3 tasks
@adhusson adhusson self-assigned this Jun 12, 2026
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