> ## Documentation Index
> Fetch the complete documentation index at: https://base-a060aa97-docs-add-b20-spec.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# IB20.supplyCap

> Generated B20 reference for supplyCap().

[Related concept](/base-chain/specs/upgrades/beryl/b20)

## Signature

```solidity theme={null}
function supplyCap() external view returns (uint256);
```

| Field               | Value         |
| ------------------- | ------------- |
| Selector            | `0x8f770ad0`  |
| Canonical signature | `supplyCap()` |

## Description

The maximum total supply enforced on `mint`. Capped at `type(uint128).max`, which
indicates no cap (the unbounded sentinel). `totalSupply` can therefore never exceed
`type(uint128).max`.
Return: Current supply cap.

## Access control

Read-only or ERC-20-standard access rules unless the NatSpec states otherwise.

## Policy interaction

No direct policy interaction.

## Example

```solidity theme={null}
IB20(target).supplyCap();
```

## Related

* [IB20 reference](/base-chain/specs/upgrades/beryl/b20/specification/reference/interfaces/IB20)
* [Constants & addresses](/base-chain/specs/upgrades/beryl/b20/specification/reference/constants-and-addresses)
