> For the complete documentation index, see [llms.txt](https://docs.cork.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cork.tech/core-concepts/whitelist-functionality.md).

# Whitelist Functionality

Cork Pools can optionally restrict access through a whitelist. When enabled, only whitelisted addresses can interact with that market.

***

## How It Works

Each Cork Pool can be configured with whitelist enforcement at creation. When enabled:

* **All operations are restricted** — only whitelisted addresses can interact with the market (Deposit, Exercise, Withdraw, Redeem, Unwind)
* An address is considered whitelisted if it is on the **global whitelist** OR the **market-specific whitelist**

{% hint style="info" %}
If a market's whitelist is disabled (or was never enabled), all addresses can interact with it. Public markets cannot later be whitelisted — the whitelist can only be disabled, not enabled after creation.
{% endhint %}

***

## Why Whitelisting Exists

Cork introduced whitelisting for two reasons:

1. **Security** — Restricting deposits to known addresses reduces the attack surface on whitelisted markets
2. **Institutional requirements** — Certain institutional use cases require permissioned access to comply with regulatory or operational requirements

***

## Checking Whitelist Status

### On-Chain

Query the WhitelistManager (`0xcCccCcCccCC6e38a2772Eb42D2f408eeB89cb0eE`):

```solidity
// Combined check — returns true if whitelist is disabled OR address is whitelisted
function isWhitelisted(MarketId poolId, address account) external view returns (bool)

// Individual checks
function isMarketWhitelistEnabled(MarketId poolId) external view returns (bool)
function isGlobalWhitelisted(address account) external view returns (bool)
function isMarketWhitelisted(MarketId poolId, address account) external view returns (bool)
```

Use `isWhitelisted` for pre-flight checks before deposits. It handles all cases: if the whitelist is disabled, it returns `true` for any address.

### Via API

```
GET /v1/pools/whitelisted-addresses?chainId=1&walletAddress=0x...
```

Returns whitelist status per pool. See [API Reference](/developers/api-reference.md) for details.

***

## Getting Whitelisted

If a market has whitelisting enabled and you need access, contact the Cork team to be onboarded. A governance multisig manages the whitelist through the DefaultCorkController.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cork.tech/core-concepts/whitelist-functionality.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
