# PoolStorage

The current version of PoolStorage inherits from its predecessor which in turn inherits from its predecessor going back to the original implementation, PoolStorageV1.

## PoolStorageV1

### token

```solidity
contract IERC20 token
```

Collateral token address

### poolAccountant

```solidity
address poolAccountant
```

PoolAccountant address

### poolRewards

```solidity
address poolRewards
```

PoolRewards contract address

## PoolStorageV2

## PoolStorageV3

### universalFee

```solidity
uint256 universalFee
```

Universal fee of this pool. Default to 2%

### maxProfitAsFee

```solidity
uint256 maxProfitAsFee
```

Maximum percentage of profit that can be counted as universal fee. Default to 50%

### minDepositLimit

```solidity
uint256 minDepositLimit
```

Minimum deposit limit.

*Do not set it to 0 as deposit() is checking if amount >= limit*
