Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

VotesExtendedMock

Inherits: VotesExtended

State Variables

_votingUnits

mapping(address voter => uint256) private _votingUnits;

Functions

getTotalSupply

function getTotalSupply() public view returns (uint256);

delegate

function delegate(address account, address newDelegation) public;

_getVotingUnits

function _getVotingUnits(address account) internal view override returns (uint256);

_mint

function _mint(address account, uint256 votes) internal;

_burn

function _burn(address account, uint256 votes) internal;