Due to the asynchronous nature of blockchains, it is not advised to use toggle functions. In your case, you have function toggleQueue in contracts VaderPool and VaderPoolV2.
A similar issue was reported in another contest and assigned a severity of low, you can read more details here:
https://github.com/code-423n4/2021-06-realitycards-findings/issues/157
Recommended Mitigation Steps
Replace with a function where you can specify the exact value that you want to set.
Handle
pauliax
Vulnerability details
Impact
Due to the asynchronous nature of blockchains, it is not advised to use toggle functions. In your case, you have function toggleQueue in contracts VaderPool and VaderPoolV2. A similar issue was reported in another contest and assigned a severity of low, you can read more details here: https://github.com/code-423n4/2021-06-realitycards-findings/issues/157
Recommended Mitigation Steps
Replace with a function where you can specify the exact value that you want to set.