> For the complete documentation index, see [llms.txt](https://developers.polymath.network/polymath/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developers.polymath.network/polymath/api/ozstorage.md).

# OZStorage.sol

View Source: [contracts/tokens/OZStorage.sol](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/contracts/tokens/OZStorage.sol)

**↘ Derived Contracts:** [**SecurityTokenProxy**](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/docs/api/SecurityTokenProxy.md)**,** [**STGetter**](https://github.com/PolymathNetwork/polymath-core/tree/096ba240a927c98e1f1a182d2efee7c4c4c1dfc5/docs/api/STGetter.md)

**OZStorage**

## Contract Members

**Constants & Variables**

```javascript
mapping(address => uint256) private _balances;
mapping(address => mapping(address => uint256)) private _allowed;
uint256 private _totalSupply;
uint256 private _guardCounter;
```

## Functions

* [totalSupply()](/polymath/api/ozstorage.md#totalsupply)
* [balanceOf(address \_investor)](/polymath/api/ozstorage.md#balanceof)
* [\_allowance(address owner, address spender)](/polymath/api/ozstorage.md#_allowance)

### totalSupply

```javascript
function totalSupply() internal view
returns(uint256)
```

**Arguments**

| Name | Type | Description |
| ---- | ---- | ----------- |

### balanceOf

```javascript
function balanceOf(address _investor) internal view
returns(uint256)
```

**Arguments**

| Name       | Type    | Description |
| ---------- | ------- | ----------- |
| \_investor | address |             |

### \_allowance

```javascript
function _allowance(address owner, address spender) internal view
returns(uint256)
```

**Arguments**

| Name    | Type    | Description |
| ------- | ------- | ----------- |
| owner   | address |             |
| spender | address |             |
