<!-- canonical: https://0xsimao.com/findings/mitosis-structs-redeem-queue-top -->

# Structs in RedeemQueue are out of order and should all be placed at the top

Low/Info · Three Sigma · Cross-chain liquidity layer 1 · 25th June, 2024

Finding 3S-Mitosis-N08 of the Mitosis security review.

- Protocol: https://mitosis.org/
- Report: /reports/mitosis
- Source: https://cdn.sanity.io/files/qoqld077/production/b6b3bd7bb47407d99e76abb7c6dc615c1db5018e.pdf

---

### Description

The style guide can be found [here](https://docs.soliditylang.org/en/latest/style-guide.html), and structs should not be placed in between code.

### Recommendation

Follow the style guide for better readability.

### Status

New Issue

---

Related findings:

- [Queue MapleWithdrawalManager may revert due to honest removeShares() or manual redeem calls](https://0xsimao.com/findings/maple-finance-ii-queue-withdrawal-shares-redeem): Maple Withdrawal Manager
