Functions
registerSet
Registers the set represented by the calling contract| Name | Type | Description |
|---|---|---|
data | bytes32 | Content hash (e.g., metadata or schema) |
| Name | Type | Description |
|---|---|---|
id | uint64 | Newly assigned set ID |
desc | Descriptor | Descriptor of the registered set |
updateSet
Updates the content hash for the set represented by the calling contract| Name | Type | Description |
|---|---|---|
data | bytes32 | New content hash |
| Name | Type | Description |
|---|---|---|
id | uint64 | Set ID |
desc | Descriptor | Updated descriptor |
upgradeSet
Upgrades the kind or set revision of the set represented by the calling contract Pass 0 to skip updating either revision| Name | Type | Description |
|---|---|---|
kindRev0 | uint32 | New kind revision (0 = no change) |
setRev0 | uint32 | New set revision (0 = no change) |
| Name | Type | Description |
|---|---|---|
id | uint64 | Set ID |
desc | Descriptor | Descriptor after upgrade |
touchSet
Increments the revision of the set represented by the calling contract| Name | Type | Description |
|---|---|---|
id | uint64 | Set ID |
desc | Descriptor | Descriptor after revision bump |