> For the complete documentation index, see [llms.txt](https://docs.maple.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.maple.finance/technical-resources/interfaces/strategy-manager-initializer.md).

# StrategyManagerInitializer

## Functions

### `active`

Returns whether or not the strategy manager is active.

```solidity
    function active()
        view
        returns (
            bool active
        );
```

#### Return Values:

| Index |   Name   |  Type  | Internal Type | Description                             |
| :---: | :------: | :----: | :-----------: | --------------------------------------- |
|   0   | `active` | `bool` |     `bool`    | True if the strategy manager is active. |

### `configured`

Returns whether or not the strategy manager is configured.

```solidity
    function configured()
        view
        returns (
            bool configured
        );
```

#### Return Values:

| Index |     Name     |  Type  | Internal Type | Description                                 |
| :---: | :----------: | :----: | :-----------: | ------------------------------------------- |
|   0   | `configured` | `bool` |     `bool`    | True if the strategy manager is configured. |

### `pendingSharesOf`

Returns the number of pending redemption shares held by a given pool manager.

```solidity
    function pendingSharesOf(
        address poolManager
    )
        view
        returns (
            uint256 pendingSharesOf
        );
```

#### Parameters:

| Index |      Name     |    Type   | Internal Type | Description                  |
| :---: | :-----------: | :-------: | :-----------: | ---------------------------- |
|   0   | `poolManager` | `address` |   `address`   | Address of the pool manager. |

#### Return Values:

| Index |        Name       |    Type   | Internal Type | Description                                                                          |
| :---: | :---------------: | :-------: | :-----------: | ------------------------------------------------------------------------------------ |
|   0   | `pendingSharesOf` | `uint256` |   `uint256`   | Number of shares the pool manager has requested to redeem but has not yet processed. |

### `pendingStrategyDelegate`

Returns the address of the pending strategy delegate.

```solidity
    function pendingStrategyDelegate()
        view
        returns (
            address pendingStrategyDelegate
        );
```

#### Return Values:

| Index |            Name           |    Type   | Internal Type | Description                                   |
| :---: | :-----------------------: | :-------: | :-----------: | --------------------------------------------- |
|   0   | `pendingStrategyDelegate` | `address` |   `address`   | The address of the pending strategy delegate. |

### `poolManagerCapOf`

Returns the per-pool-manager maximum asset position for a given pool manager. A value of zero means no cap is set and the pool manager has no limit, and funding is bounded only by the strategy liquidity cap. A value of \`type(uint256).max\` means the pool manager is blocked entirely.

```solidity
    function poolManagerCapOf(
        address poolManager
    )
        view
        returns (
            uint256 poolManagerCapOf
        );
```

#### Parameters:

| Index |      Name     |    Type   | Internal Type | Description                  |
| :---: | :-----------: | :-------: | :-----------: | ---------------------------- |
|   0   | `poolManager` | `address` |   `address`   | Address of the pool manager. |

#### Return Values:

| Index |        Name        |    Type   | Internal Type | Description                                                                                                                                    |
| :---: | :----------------: | :-------: | :-----------: | ---------------------------------------------------------------------------------------------------------------------------------------------- |
|   0   | `poolManagerCapOf` | `uint256` |   `uint256`   | The maximum asset position the pool manager is authorized to hold. Zero means no cap, \`type(uint256).max\` means the pool manager is blocked. |

### `sharesOf`

Returns the share balance held by a given pool manager.

```solidity
    function sharesOf(
        address poolManager
    )
        view
        returns (
            uint256 sharesOf
        );
```

#### Parameters:

| Index |      Name     |    Type   | Internal Type | Description                  |
| :---: | :-----------: | :-------: | :-----------: | ---------------------------- |
|   0   | `poolManager` | `address` |   `address`   | Address of the pool manager. |

#### Return Values:

| Index |    Name    |    Type   | Internal Type | Description                                 |
| :---: | :--------: | :-------: | :-----------: | ------------------------------------------- |
|   0   | `sharesOf` | `uint256` |   `uint256`   | Number of shares owned by the pool manager. |

### `strategyDelegate`

Returns the address of the strategy delegate.

```solidity
    function strategyDelegate()
        view
        returns (
            address strategyDelegate
        );
```

#### Return Values:

| Index |        Name        |    Type   | Internal Type | Description                           |
| :---: | :----------------: | :-------: | :-----------: | ------------------------------------- |
|   0   | `strategyDelegate` | `address` |   `address`   | The address of the strategy delegate. |

### `strategyLiquidityCap`

Returns the maximum exposure to the strategy.

```solidity
    function strategyLiquidityCap()
        view
        returns (
            uint256 strategyLiquidityCap
        );
```

#### Return Values:

| Index |          Name          |    Type   | Internal Type | Description                                                                  |
| :---: | :--------------------: | :-------: | :-----------: | ---------------------------------------------------------------------------- |
|   0   | `strategyLiquidityCap` | `uint256` |   `uint256`   | The maximum total asset position the strategy manager is authorized to hold. |

### `totalPendingShares`

Returns the total number of pending redemption shares across all pool managers.

```solidity
    function totalPendingShares()
        view
        returns (
            uint256 totalPendingShares
        );
```

#### Return Values:

| Index |         Name         |    Type   | Internal Type | Description                           |
| :---: | :------------------: | :-------: | :-----------: | ------------------------------------- |
|   0   | `totalPendingShares` | `uint256` |   `uint256`   | Sum of all pending redemption shares. |

### `totalShares`

Returns the total number of shares issued by the strategy manager.

```solidity
    function totalShares()
        view
        returns (
            uint256 totalShares
        );
```

#### Return Values:

| Index |      Name     |    Type   | Internal Type | Description                             |
| :---: | :-----------: | :-------: | :-----------: | --------------------------------------- |
|   0   | `totalShares` | `uint256` |   `uint256`   | Sum of all shares across pool managers. |

### `underlyingStrategy`

Returns the address of the underlying strategy contract.

```solidity
    function underlyingStrategy()
        view
        returns (
            address underlyingStrategy
        );
```

#### Return Values:

| Index |         Name         |    Type   | Internal Type | Description                         |
| :---: | :------------------: | :-------: | :-----------: | ----------------------------------- |
|   0   | `underlyingStrategy` | `address` |   `address`   | Address of the underlying strategy. |

## Events

### `Initialized`

Emitted when the strategy manager proxy is initialized.

```solidity
    event Initialized(
        Parameters params
    );
```

#### Parameters:

| Index |   Name   |   Type  |                     Internal Type                    | Description                                            |
| :---: | :------: | :-----: | :--------------------------------------------------: | ------------------------------------------------------ |
|   0   | `params` | `tuple` | `struct IMapleStrategyManagerInitializer.Parameters` | Strategy manager parameters set during initialization. |

## Structs

### `Parameters`

Parameters required to initialize a strategy manager.

```solidity
    struct Parameters {
        address strategyDelegate;
    }
```

#### Members:

| Index |        Name        |    Type   | Internal Type | Description                       |
| :---: | :----------------: | :-------: | :-----------: | --------------------------------- |
|   0   | `strategyDelegate` | `address` |   `address`   | Address of the strategy delegate. |


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.maple.finance/technical-resources/interfaces/strategy-manager-initializer.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
