Skip to content

GovernorVotes (OpenZeppelin)

Audit Snapshot

  • Status: ✅ pass
  • Source type: npm
  • Source path: third_party/famous-contracts/sources/@openzeppelin/contracts/governance/extensions/GovernorVotes.sol
  • Primary issue: No primary issue recorded.
  • Audit corpus size: 98 contracts

Diagnostics

Total diagnostics captured: 3843

By Severity

SeverityCount
warning3843

Most Common Codes

CodeCountExample
W2003582function 'panic' in 'ERC165' overrides 'Context::panic' which is not marked 'virtual'
W121135duplicate constant state variable 'GENERIC' detected while merging libraries
INVALID_STORAGE_RETURN68function 'getAddressSlot' return value 'AddressSlot' uses 'storage' data location (treated as Any)
RETURN_TYPE_UNMAPPED24function 'toDelay' returns 'Delay', which may not map cleanly to Neo manifest types
VALIDATION_WARNING11function '_getFullAt' should return 3 values but expression does not match tuple
MANIFEST_WILDCARD_CONTRACT6contract 'EIP712' requires wildcard contract manifest permissions (contract='*') due to dynamic contract calls. This is riskier than fixed contract hashes; use --deny-wildcard-contracts to make this a hard error.
W1116function 'onNEP17Payment' is marked payable, but Neo N3 has no native coin transfer; the modifier is accepted for compatibility but has no effect. Use onNEP17Payment(address, uint256, bytes) to handle incoming NEP-17 token payments.
W1164function 'execute' has payable modifier which has no effect on Neo N3. Use onNEP17Payment callback to receive token payments.
W1063function 'supportsInterface' (EIP-165) is unnecessary on Neo N3. Neo uses the manifest 'supportedstandards' array for interface detection, which the compiler populates automatically.
W1172function 'proposalDeadline' appears to be time-sensitive. block.timestamp on Neo N3 is deterministic but can be affected by block production timing.
W1222duplicate state variable '_name' detected while flattening/merging contracts

Source diagnostic payload: docs/data/famous-contracts-audit-results.json.

References

MIT Licensed