> For the complete documentation index, see [llms.txt](https://docs.satlayer.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.satlayer.xyz/bvs-developers-1/developer-toolbox/satlayer-cli/strategy-factory.md).

# Strategy Factory

The `strategy-factory` subcommand allows interaction with the Strategy Factory contract.

### create-strategy

Create a new strategy

```
satlayer-cli strategy-factory create-strategy <user-key-name> <token> <pauser> <unpauser>
```

In which:

* **user-key-name** - name of the key in the keyring to use for contract execution
* **token** - the address of the CW20 token to be used in the strategy
* **pauser/unpauser** - the address that will be allowed to pause/unpause the strategy

### update-config

Updates the strategy factory

```
satlayer-cli strategy-factory update-config <user-key-name> <new-owner> <code-id>
```

In which:

* **user-key-name** - name of the key in the keyring to use for contract execution
* **new-owner** - new owner of the Strategy Factory
* **code-id** - the code-id of the new contract

### blacklist-tokens

Block tokens to be used in strategies.

```
satlayer-cli strategy-factory blacklist-tokens <user-key-name> token1 [token2...]
```

In which:

* **user-key-name** - the name of the key in the keyring to use for contract execution
* **tokenN** - token to be blacklisted

### transfer-owner

Transfers the ownership of the Strategy Factory contract to a new address

```
satlayer-cli strategy-factory transfer-owner <user-key-name> <new-owner-address>
```

In which:

* **user-key-name** - the name of the key in the keyring to use for contract execution
* **new-owner-address** - the new address to transfer the ownership of strategy factory

### is-token-blacklisted

Queries if a token is blacklisted

```
satlayer-cli strategy-factory is-token-blacklisted <token>
```

In which:

* **token** - the token to be convened about
