---
# System prepended metadata

title: dotreasury maintenance from 11.2021 to 03.2022 and statescan maintenace from 01.2022 to 03.2022

---

# dotreasury maintenance from 11.2021 to 03.2022 and statescan maintenace from 01.2022 to 03.2022

Proponent: OpenSquare(ESgz7GLVW7BL5DhRgpVnxSXVwaKt4ytWcrf52TY1GQD1cEb)
Date: 04/13/2022
Requested Allocation: 100 KSM

---

[OpenSquare team](https://www.opensquare.network/team/) has been maintaining the daily runing of [dotreasury](https://ipfs.dotreasury.com) and [statescan](https://statemine.statescan.io/). Generally the maintaining work includes the monitoring of servers, bug fixes, UI/UX tweaks, small features enhacement, some manual work to add necessary infos, etc. We're requesting fund from kusama treasury to cover the work cost. To reduce the review work we align the requests for dotreasury and statescan, and propose them in one proposal. 

Statescan is now an explorer implementation for Kusama/Polkadot asset parachains. Users can check the fungible and non-fungible assets on it. We have implemented it for Statemine/Statemint/Westmint.

Dotreasury aims to introduce retrospect mechanism for Kusama/Polkadot treasury, while you can see it as a treasury explorer. Check [here](https://www.dotreasury.com/dot/projects/dotreasury) for this project history and [post #352](https://kusama.polkassembly.io/post/352) for the original discussions.


## Servers

### For statescan

We are using 3 Hetzner vps + a 400G volume for production hosting and 2 contabo vps for development.

Hetzenr vps for deployment:
- vps1: CPX31(4 vcpu + 8G ram + 160G) = €12.4/mo
- Vps2: CPX41(8 vcpu + 16G ram + 240G) = €22.9/mo
- vps3: CPX41(8 vcpu + 16G ram + 240G) = €22.9/mo
- volume 400GB = €16.0/mo

Contabo vps for development:
- vps1: 4v + 8G ram + 200G = $6.99
- vps2: 4v + 8G ram + 200G = $6.99

Expsense:

```javascript=
+----------------+--------+---------+
| Item           | months | Cost    |
+----------------+--------+---------+
| Hetzner vps1   | 3      | €37.20  |
+----------------+--------+---------+
| Hetzenr vps2   | 3      | €68.70  |
+----------------+--------+---------+
| Hetzner vps3   | 3      | €68.70  |
+----------------+--------+---------+
| Hetzenr volume | 3      | €48.00  |
+----------------+--------+---------+
| Contabo vps1   | 3      | $20.97  |
+----------------+--------+---------+
| Contabo vps2   | 3      | $20.97  |
+----------------+--------+---------+
| Total          | €222.6 + $41.94  |
+----------------+--------+---------+
| Total in $     | $284.22          |
+----------------+--------+---------+
```    
### For dotreasury:

We are using 2 Hetzner vps + 2 external volumes for the production hosting and 1 contabo vps for development.

Hetzner vps for deployment:

- vps1 for polkadot: vps1: CPX31(4 vcpu + 8G ram + 160G) = €12.4/mo
- vps2 for kusama: vps1: CPX31(4 vcpu + 8G ram + 160G) = €12.4/mo
- volume1 for polkadot: 400GB = €16.0/mo
- volume2 for kusama: 800GB = €32.0/mo

Contabo vps for development:
- vps1: 4v + 8G ram + 200G = $6.99

Expsense:

```javascript=
+----------------+--------+---------+
| Item           | months | Cost    |
+----------------+--------+---------+
| Hetzner vps1   | 5      | €62.00  |
+----------------+--------+---------+
| Hetzenr vps2   | 5      | €62.00  |
+----------------+--------+---------+
| Hetzenr volume1| 5      | €80.00  |
+----------------+--------+---------+
| Hetzenr volume1| 5      | €160.00 |
+----------------+--------+---------+
| Contabo vps1   | 5      | $34.95  |
+----------------+--------+---------+
| Total          | €364 + $34.95    |
+----------------+--------+---------+
| Total in $     | $431.13          |
+----------------+--------+---------+
```

## Continuous development & daily maintenace

### For statescan

- Bug fixes including asset analysis, dot price tracker and the price chart.
- Code refactor including removing useless packages, upgrading dependencies.
- Improve the IPFS parsing scripts so we can parse some NFT images on westmint.
- Collecting and updating some fungible assets info.
- Server deployments and handling issues like scaning stopped by node connection problems.

We will request 4 FTE work cost each month for the work. The total cost will be 4(FTE) * $500(each FTE cost) * 3(monthes) = $6,000.

### For dotreasury

- Support tagging proposal with category and status(working or delivered).
- We deploy it to IPFS, check https://ipfs.dotreasury.com.
- Bug fixes including tip value, project site building scripts, react hash router issues for IPFS deployment.
- Support scenarios that one motion is related with multiple proposals or bounties.
- UI/UX polish like prevent jumping to explorer after clicking the header block number component.
- Daily manual work to update proposal related links and titles.

We will request 4 FTE work cost each month for the work. The total cost will be 4(FTE) * $500(each FTE cost) * 5(monthes) = $10,000.

## Metrics
Please check the 30 days and 24 Hours metrics from cloudflare. 

### Statescan
![](https://i.imgur.com/CUwKqoH.png)


### Dotreasury:
![](https://i.imgur.com/iFm7wZV.png)

## Total cost & payment conditions

```javascript=
+------------------------------+-------------------+---------+
| Item                         | Duration          | Cost    |
+------------------------------+-------------------+---------+
| Statescan Servers            | 01.2022- 03.2022  | $284.22 |
| (see details in above table) |                   |         |
+------------------------------+-------------------+---------+
| Dotreasury Servers           | 11.2021- 03.2022  | $431.13 |
| (see details in above table) |                   |         |
+------------------------------+-------------------+---------+
| Statescan labor cost         | 01.2020 - 03.2022 | $6,000  |
+------------------------------+-------------------+---------+
| dotreasury labor cost        | 11.2020 - 03.2022 | $10,000 |
+------------------------------+-------------------+---------+
| Total                                            | $16,715 |
+------------------------------+-------------------+---------+
```

Payment conditions:

1. The work is for both kusama(Statemine) and polkadot(Statemint), but to make the on-chain work simple, we may apply from kusama and polkadot in turn.
2. We will use the 30 day avg rate from Subscan to calculate the total KSM allocation at the day of submission.