> 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-base.md).

# Strategy Base

The `strategy-base` subcommand handles operations regarding a strategy base. Most users should not need access to these commands as they directly control the strategy-base.

### deposit

Deposits into the strategy base, specified in the configuration file

```
satlayer-cli strategy-base deposit <user-key-name> <amount>
```

In which:

* **user-key-name** - the name of the key in the keyring to use for contract execution
* **amount** - the amount to deposit

### withdraw

Withdraw from strategy base

```
satlayer-cli strategy-base withdraw <user-key-name> <receipient> <amount-share>
```

In which:

* **user-key-name** - the name of the key in the keyring to use for contract execution
* **receipient** - the recevier address
* **amount-share** - the amount (in shares) to withdraw

### get-shares

Query the amount of shares a staker owns in a strategy

```
satlayer-cli strategy-base get-shares <staker-address> <strategy-address>
```

In which:

* **staker-address** - the address of the staker you are querying
* **strategy-address** - address of the strategy contract

### underlying-token

Queries the underlying CW20 token address of the configured strategy base

```
satlayer-cli strategy-base underlying-token
```

### transfer-owner

transfer the strategy base contract owner to new address

```
satlayer-cli strategy-base 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 address of the new owner
