The events should notify about the user depositing or migrating, but are instead emitted with the receiver.
As an example, in the WrappedTokenV2Deposit event, the _account argument refers to the user depositing the base tokens.
20: /**
21: * @notice Emitted when a user deposits tokens and mints wrapped tokens
22: * @param _account Address of the user depositing the base tokens
23: * @param _wad Amount of tokens deposited
24: */
25: event WrappedTokenV2Deposit(address indexed _account, uint256 _wad);
However, the event is then emitted with the _account parameter, the receiver, which may differ from the caller.
100: emit WrappedTokenV2Deposit(_account, _wad);
A second event should be emitting the amount of Velo per NFT locked but is emitting the sum of all Velo locked instead.
The interface:
27: /**
28: * @notice Emitted when a user deposits a veNFT and mints wrapped tokens
29: * @param _account Address of the user depositing the base tokens
30: * @param _tokenId ID of the veNFT being deposited
31: * @param _wad Amount of locked velo in veNFT being deposited
32: */
33: event WrappedTokenV2NFTDeposit(address indexed _account, uint256 _tokenId, uint256 _wad);
However inside the function, it uses the sum of all NFTs locked instead of the amount per tokenId.
110: _balance += uint256(uint128(BASE_TOKEN_NFT.locked(_tokenIds[i]).amount));
...
119: emit WrappedTokenV2NFTDeposit(_account, _tokenIds[i], _balance);