> 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/modules/ipmappermodule.md).

# IPMapperModule

Abstract module providing content ID to IP (channel and token ID) mapping capabilities.

*Provides the core storage and mapping mechanism to bind a content ID to an operative channel and token.*

## IPMapperModuleStorage

```solidity
struct IPMapperModuleStorage {
  mapping(bytes16 => struct IIPMapperProvider.IPTracking) ipBindings;
}
```

## ipReference

```solidity
function ipReference(bytes16 _contentId) public view returns (address channel, uint256 tokenId)
```

Retrieves the channel and token ID bound to a specific content ID.

*Useful for querying the tracking details of mapped IP.*

### Parameters

| Name        | Type    | Description                                        |
| ----------- | ------- | -------------------------------------------------- |
| \_contentId | bytes16 | The 16-byte content ID to get the IP tracking for. |

### Return Values

| Name    | Type    | Description                                          |
| ------- | ------- | ---------------------------------------------------- |
| channel | address | The address of the channel that the IP is bound to.  |
| tokenId | uint256 | The identifier of the token that the IP is bound to. |
