Skip to content

Conversation

@ethereumdegen
Copy link
Contributor

When users own pools shares THROUGH a middleman vault such as a Yearn Vault, the fact that there is a delay on shares withdraw means that there is a DDOS attack vector whereby a exploiter can 'withdraw' from the yearn vault every 5 minutes to prevent other users from withdrawing their shares via Yearn.

This is because the pool tracks shares by account and is unable to track them by-account-by-sub-account such as in the case of a Yearn Vault which has sub-accounts to itself.

Therefore one good solution is to allow ProtocolOwner to flag the Yearn Vault address as not needing any withdraw delay. This should only be set on acccounts which have their own separate MEV protection, such as a standard Yearn vault.

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