Skip to content

fix/poolstreamer2-withdraw-underlying#8

Open
Sukanto01899 wants to merge 1 commit intomarkcarey:mainfrom
Sukanto01899:fix/poolstreamer2-withdraw-underlying
Open

fix/poolstreamer2-withdraw-underlying#8
Sukanto01899 wants to merge 1 commit intomarkcarey:mainfrom
Sukanto01899:fix/poolstreamer2-withdraw-underlying

Conversation

@Sukanto01899
Copy link

withdrawAll in PoolStreamer2.sol downgrades super tokens to underlying, but then transfers the super token instead of the underlying token. This leaves funds stuck in the contract. Update the transfer to use the underlying token (and optionally use SafeERC20 for return checks).

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