import”@patchwork/contracts/Patchwork721/IPatchworkMetadata.sol”;
Core Interfaces
IPatchworkMetadata
Metadata for IPatchwork721 and related contract interfaces
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Metadata for IPatchwork721 and related contract interfaces
struct MetadataSchema {
uint256 version;
MetadataSchemaEntry[] entries;
}
struct MetadataSchemaEntry {
uint256 id;
uint256 permissionId;
FieldType fieldType;
uint256 fieldCount;
FieldVisibility visibility;
uint256 slot;
uint256 offset;
string key;
}
enum FieldType {
BOOLEAN,
INT8,
INT16,
INT32,
INT64,
INT128,
INT256,
UINT8,
UINT16,
UINT32,
UINT64,
UINT128,
UINT256,
CHAR8,
CHAR16,
CHAR32,
CHAR64,
LITEREF,
ADDRESS,
STRING
}
enum FieldVisibility {
PUBLIC,
PRIVATE
}