Package org.starcoin.types.event
Class VoteChangedEvent
- java.lang.Object
-
- org.starcoin.types.event.VoteChangedEvent
-
public final class VoteChangedEvent extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVoteChangedEvent.Builder
-
Field Summary
Fields Modifier and Type Field Description BooleanagreeLongproposal_idAccountAddressproposerBigIntegervoteAccountAddressvoter
-
Constructor Summary
Constructors Constructor Description VoteChangedEvent(Long proposal_id, AccountAddress voter, AccountAddress proposer, Boolean agree, BigInteger vote)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VoteChangedEventbcsDeserialize(byte[] input)byte[]bcsSerialize()static VoteChangedEventdeserialize(Deserializer deserializer)booleanequals(Object obj)inthashCode()voidserialize(Serializer serializer)
-
-
-
Field Detail
-
proposal_id
public final Long proposal_id
-
voter
public final AccountAddress voter
-
proposer
public final AccountAddress proposer
-
agree
public final Boolean agree
-
vote
public final BigInteger vote
-
-
Constructor Detail
-
VoteChangedEvent
public VoteChangedEvent(Long proposal_id, AccountAddress voter, AccountAddress proposer, Boolean agree, BigInteger vote)
-
-
Method Detail
-
deserialize
public static VoteChangedEvent deserialize(Deserializer deserializer) throws DeserializationError
- Throws:
DeserializationError
-
bcsDeserialize
public static VoteChangedEvent bcsDeserialize(byte[] input) throws DeserializationError
- Throws:
DeserializationError
-
serialize
public void serialize(Serializer serializer) throws SerializationError
- Throws:
SerializationError
-
bcsSerialize
public byte[] bcsSerialize() throws SerializationError- Throws:
SerializationError
-
-