> For the complete documentation index, see [llms.txt](https://elacity.gitbook.io/elacity-sdks/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://elacity.gitbook.io/elacity-sdks/protocol/v2.0/references/storage/corestorage.md).

# CoreStorage

This contract serves as the central data repository and registry for the entire ecosystem. It holds cross-contract data to facilitate state management and data retrieval across all Elacity DRM protocols. As the single source of truth, CoreStorage inherits multiple specialized trackers and registries:

* **SystemTracker**: Acknowledges and whitelists recognized system contracts.
* **FactoryTracker**: Tracks deployed factory contracts by their operation type.
* **IPTracker**: Registers digital assets and assigns operators for intellectual properties.
* **MarketplaceTracker**: Keeps track of product listings, offers, and platform fee configurations.
* **ChannelRegistry**: Stores records of active distribution channels.
* **ContractRegistry**: A slot-based registry for vital ecosystem contract addresses.
* **IPMapperModule**: Maps external definitions and resources to ecosystem intellectual properties.
* **FeesInformation**: Holds administrative configurations and global protocol fee structures.

*This contract is designed to be fully upgradeable and aggregates state management.*

## AckAuthorityUpdated

```solidity
event AckAuthorityUpdated(address authority, bool enabled)
```

Emitted when an ack authority is updated.

## owner

```solidity
function owner() public view returns (address)
```

*Required explicit override because `CoreStorage` inherits both `OwnableUpgradeable` (which implements `owner()`) and `MarketplaceTracker` (which declares `owner()` as virtual for access-control checks). This function only resolves the inheritance graph and preserves standard Ownable behavior.*

## setAckAuthority

```solidity
function setAckAuthority(address authority, bool enabled) external
```

Enables or disables a trusted ack authority.

*Only owner can manage ack authorities.*

## isAckAuthority

```solidity
function isAckAuthority(address authority) external view returns (bool)
```

Returns whether an address is allowed to acknowledge contracts.
