RewardAccounting
Inherits: IRewardAccounting
Provides ERC20-like functions for minting, burning, balance tracking and total supply. Tracking is based on a tokenId user index instead of an address.
State Variables
_stakeBalances
_stakeTotalSupply
Functions
stakeBalanceOf
Balance of stake for a given tokenId
account.
stakeTotalSupply
Sum of all balances across all tokenIds.
_mintStake
Mint to staking account for a tokenId account.
_burnStake
Burn from staking account for a tokenId account.
Last updated