https://github.com/code-423n4/2024-05-predy/blob/a9246db5f874a91fb71c296aac6a66902289306a/src/types/GlobalData.sol#L35-L45
This function is used to initialize a lock. The problem, however, is that this function directly queries the balanceOf() function which would then cause the attempt to fail for tokens that dont quite support this.
Inability to initialize these locks.
Consider querying the balanceOf() on a low level instead.
