Skip to content

ERC1155 (OpenZeppelin)

Audit Snapshot

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

Diagnostics

Total diagnostics captured: 718

By Severity

SeverityCount
warning718

Most Common Codes

CodeCountExample
W200632function 'checkOnERC1155Received' in 'ERC165' overrides 'Context::checkOnERC1155Received' which is not marked 'virtual'
INVALID_STORAGE_RETURN50function 'getAddressSlot' return value 'AddressSlot' uses 'storage' data location (treated as Any)
W12120duplicate constant state variable 'GENERIC' detected while merging libraries
RETURN_TYPE_UNMAPPED9function '_castToUint256Comp' returns 'function (uint256, uint256) pure returns (bool)', which may not map cleanly to Neo manifest types
MANIFEST_WILDCARD_CONTRACT3contract 'Context' 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.
W1062function 'supportsInterface' (EIP-165) is unnecessary on Neo N3. Neo uses the manifest 'supportedstandards' array for interface detection, which the compiler populates automatically.
W1071ERC-1155 multi-token pattern detected. Neo N3 does not have a direct NEP equivalent for multi-token contracts.
W1111NEP-14 multi-token pattern detected. Neo N3 does not have a direct NEP-14 equivalent. Consider splitting into separate NEP-17 (fungible) and NEP-11 (non-fungible) contracts.

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

References

MIT Licensed