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
| Severity | Count |
|---|---|
| warning | 718 |
Most Common Codes
| Code | Count | Example |
|---|---|---|
| W200 | 632 | function 'checkOnERC1155Received' in 'ERC165' overrides 'Context::checkOnERC1155Received' which is not marked 'virtual' |
| INVALID_STORAGE_RETURN | 50 | function 'getAddressSlot' return value 'AddressSlot' uses 'storage' data location (treated as Any) |
| W121 | 20 | duplicate constant state variable 'GENERIC' detected while merging libraries |
| RETURN_TYPE_UNMAPPED | 9 | function '_castToUint256Comp' returns 'function (uint256, uint256) pure returns (bool)', which may not map cleanly to Neo manifest types |
| MANIFEST_WILDCARD_CONTRACT | 3 | contract '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. |
| W106 | 2 | function 'supportsInterface' (EIP-165) is unnecessary on Neo N3. Neo uses the manifest 'supportedstandards' array for interface detection, which the compiler populates automatically. |
| W107 | 1 | ERC-1155 multi-token pattern detected. Neo N3 does not have a direct NEP equivalent for multi-token contracts. |
| W111 | 1 | NEP-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
- Global audit report: Famous Contracts on NeoVM
- Per-contract index: Original Famous Contracts
- Upstream contract path:
third_party/famous-contracts/sources/@openzeppelin/contracts/token/ERC1155/ERC1155.sol
