API

Vote Hook Interface SDK

Quick tip

If you are looking for a quick start guide, check out the Getting Started guide. We also have some react examples here.

Instructions

onVoteV0

Accounts

NameMutabilitySignerDocs
voterimmutno
voteControllerimmutyes
stateControllermutno
proposalimmutyes
proposalConfigimmutno

Args

NameTypeDocs
argsVoteArgsV0

Accounts

Types

VoteArgsV0

FieldType
choiceu16
weightu128
removeVotebool
Previous