> For the complete documentation index, see [llms.txt](https://docs.octusbridge.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octusbridge.io/integrate/octus-bridge-contracts/everscale/staking-section/staking.md).

# Staking

#### **`upgrade`**

Upgrades all codes and main data related to staking.

```
function upgrade(TvmCell code, address send_gas_to) external onlyAdmin
```

**Parameters:**

| Name          | Type    | Description                         |
| ------------- | ------- | ----------------------------------- |
| code          | TvmCell | Staking platform’s code             |
| send\_gas\_to | address | Address where to send remaining gas |
