Other protocols that integrate with Perennial may wrongly assume that the functions are EIP-4626 compliant. Thus, it might cause integration problems in the future that can lead to wide range of issues for both parties.
Vulnerability Detail
Shares are not mintable or burnable as it does not inherit the ERC20 mint/burn functions.
The following functions are missing but should be present:
Jaraxxus
medium
BalanceVault is not EIP-4626 compliant
Summary
Other protocols that integrate with Perennial may wrongly assume that the functions are EIP-4626 compliant. Thus, it might cause integration problems in the future that can lead to wide range of issues for both parties.
Vulnerability Detail
Shares are not mintable or burnable as it does not inherit the ERC20 mint/burn functions.
The following functions are missing but should be present:
The following functions should return 0 when their respective functions are disabled:
Impact
Protocol is not EIP-4626 compliant
Code Snippet
https://github.com/sherlock-audit/2023-05-perennial/blob/main/perennial-mono/packages/perennial-vaults/contracts/balanced/BalancedVault.sol#L11-L859
Tool used
Manual Review
Recommendation
All functions listed above should be modified to meet the specifications of EIP-4626.
Duplicate of #148