Skip to main content
Version: v1.2

InitialVoiceCreditProxy

This contract is the base contract for InitialVoiceCreditProxy contracts. It allows to set a custom initial voice credit balance for MACI's voters.

getVoiceCredits

function getVoiceCredits(address _user, bytes _data) public view virtual returns (uint256)

Returns the initial voice credit balance for a new MACI's voter

Parameters

NameTypeDescription
_useraddressthe address of the voter
_databytesadditional data

Return Values

NameTypeDescription
[0]uint256the balance