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

VotesExtendedMockUpgradeable

Inherits: Initializable, VotesExtendedUpgradeable

State Variables

_votingUnits

mapping(address voter => uint256) private _votingUnits;

Functions

__VotesExtendedMock_init

function __VotesExtendedMock_init() internal onlyInitializing;

__VotesExtendedMock_init_unchained

function __VotesExtendedMock_init_unchained() internal onlyInitializing;

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;