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 proposer, AccountAddress voter, Boolean agree, BigInteger vote) -
Method Summary
Modifier and Type Method Description static VoteChangedEventbcsDeserialize(byte[] input)byte[]bcsSerialize()static VoteChangedEventdeserialize(Deserializer deserializer)booleanequals(Object obj)inthashCode()voidserialize(Serializer serializer)
-
Field Details
-
proposal_id
-
proposer
-
voter
-
agree
-
vote
-
-
Constructor Details
-
VoteChangedEvent
public VoteChangedEvent(Long proposal_id, AccountAddress proposer, AccountAddress voter, Boolean agree, BigInteger vote)
-
-
Method Details
-
deserialize
- Throws:
DeserializationError
-
bcsDeserialize
- Throws:
DeserializationError
-
serialize
- Throws:
SerializationError
-
bcsSerialize
- Throws:
SerializationError
-
equals
-
hashCode
public int hashCode()
-