Execution ordering
The backend system must execute functions in a strict sequence: updateStrategyFundAssets → updateLPAndStrategyFund → allocateToFunds → settleMainAndStrategyFunds → settleAccounts → updatePeriodId. While the contract implements some partial protections via state flags (like isUpdateStrategyFundAssets and isAllocatedToFunds), it lacks comprehensive safeguards enforcing the full execution order.