> ## Documentation Index
> Fetch the complete documentation index at: https://docs.restaking.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# fundSplitterFactory sub-class

The following readme describes all the functions and their parameters exposed by the `fundSplitterFactory` class of the K2 SDK. This sub-class contains all the important functions from the Fund Splitter factory contract of the K2 Lending protocol.

## deployFundSplitter function

SBP owner will call this function to deploy a fund splitter instance.

### Input Parameters

debtor: ETH address of the debtor\
kNetworkId: Id of the kNetwork\
defaultRewardToken: Address of the reward token for the fund splitter instance

### Using deployFundSplitter function

```javascript theme={null}
await sdk.fundSplitterFactory.deployFundSplitter(debtor, kNetworkId, defaultRewardToken);
```

### Return Parameters

Returns the address of the deployed fund splitter instance.
