Skip to main content

IVotiumBribe

Functions

depositBribe

function depositBribe(
address _token,
uint256 _amount,
bytes32 _proposal,
uint256 _choiceIndex
) external

Parameters

NameTypeDescription
_tokenaddress
_amountuint256
_proposalbytes32
_choiceIndexuint256

initiateProposal

function initiateProposal(
bytes32 _proposal,
uint256 _deadline,
uint256 _maxIndex
) external

Parameters

NameTypeDescription
_proposalbytes32
_deadlineuint256
_maxIndexuint256