Package nxt.voting
Class VoteWeighting
java.lang.Object
nxt.voting.VoteWeighting
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumstatic enum -
Constructor Summary
ConstructorsConstructorDescriptionVoteWeighting(byte votingModel, long holdingId, long minBalance, byte minBalanceModel) -
Method Summary
-
Constructor Details
-
VoteWeighting
public VoteWeighting(byte votingModel, long holdingId, long minBalance, byte minBalanceModel)
-
-
Method Details
-
getVotingModel
-
getMinBalance
public long getMinBalance() -
getHoldingId
public long getHoldingId() -
getMinBalanceModel
-
validate
- Throws:
NxtException.ValidationException
-
isBalanceIndependent
public boolean isBalanceIndependent() -
acceptsVotes
public boolean acceptsVotes() -
equals
-
hashCode
public int hashCode()
-