Omniscia Bluejay Finance Audit
StakedToken Manual Review Findings
StakedToken Manual Review Findings
STN-01M: Improper Conformity to ERC-20 Standard
Type | Severity | Location |
---|---|---|
Standard Conformity | StakedToken.sol:L11 |
Description:
The StakedToken
implementation is seemingly meant to conform to the EIP-20 standard, however, it does not expose a decimals
member.
Example:
packages/contracts/contracts/StakedToken.sol
11contract StakedToken is Ownable, IStakedToken {
Recommendation:
We advise a decimals
member to be introduced to the contract to ensure that it is compatible with the latest wallet software. We should note that while the member is not mandated by the standard, it should still be implemented to achieve the widest wallet compatibility possible.
Alleviation:
The decimals
function has been properly introduced to the contract ensuring conformity to the EIP-20 standard.