In the StakeManager contract, the withdrawTo function takes an argument withdrawAmount of type uint256.
Now, in the function, the value of withdrawAmount is downcasted to uint112.
Consider using OpenZeppelins SafeCast library to prevent unexpected overflows when casting from uint256.
