> For the complete documentation index, see [llms.txt](https://docs.mav.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mav.xyz/technical-reference/maverick-v2/v2-contracts/maverick-v2-reward-contracts/rewardbase/irewardaccounting.md).

# IRewardAccounting

### Functions <a href="#functions" id="functions"></a>

#### stakeBalanceOf <a href="#stakebalanceof" id="stakebalanceof"></a>

Balance of stake for a given `tokenId` account.

```solidity
function stakeBalanceOf(uint256 tokenId) external view returns (uint256 balance);
```

#### stakeTotalSupply <a href="#staketotalsupply" id="staketotalsupply"></a>

Sum of all balances across all tokenIds.

```solidity
function stakeTotalSupply() external view returns (uint256 supply);
```

### Errors <a href="#errors" id="errors"></a>

#### InsufficientBalance <a href="#insufficientbalance" id="insufficientbalance"></a>

```solidity
error InsufficientBalance(uint256 tokenId, uint256 currentBalance, uint256 value);
```

<br>
