Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface VotableMethods

Hierarchy

  • VotableMethods

Index

Methods

  • castVote(_pollID: number, _voteId: number): ContractSendMethod
  • createPoll(_description: string, _voteLength: number, options: number[]): ContractCallMethod<number>
  • endPoll(_pollID: number): ContractSendMethod
  • getPollInfoForVoter(_pollID: number, _voter: string): ContractCallMethod<{ 0: number; 1: number }>
  • getPoolInformation(_pollID: number): ContractCallMethod<{ 0: string; 1: undefined; 2: number; 3: string; 4: string[]; 5: number }>
  • polls(v1: number): ContractCallMethod<{ 0: string; 1: undefined; 2: number; 3: string; 4: number; 5: number }>
  • stakeVotingTokens(_numTokens: number): ContractSendMethod
  • withdrawTokens(_numTokens: number): ContractSendMethod

Generated using TypeDoc