public final class VoteChangedEvent extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
VoteChangedEvent.Builder |
| 限定符和类型 | 字段和说明 |
|---|---|
Boolean |
agree |
Long |
proposal_id |
AccountAddress |
proposer |
BigInteger |
vote |
AccountAddress |
voter |
| 构造器和说明 |
|---|
VoteChangedEvent(Long proposal_id,
AccountAddress proposer,
AccountAddress voter,
Boolean agree,
BigInteger vote) |
| 限定符和类型 | 方法和说明 |
|---|---|
static VoteChangedEvent |
bcsDeserialize(byte[] input) |
byte[] |
bcsSerialize() |
static VoteChangedEvent |
deserialize(Deserializer deserializer) |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
serialize(Serializer serializer) |
public final Long proposal_id
public final AccountAddress proposer
public final AccountAddress voter
public final Boolean agree
public final BigInteger vote
public VoteChangedEvent(Long proposal_id, AccountAddress proposer, AccountAddress voter, Boolean agree, BigInteger vote)
public static VoteChangedEvent deserialize(Deserializer deserializer) throws DeserializationError
public static VoteChangedEvent bcsDeserialize(byte[] input) throws DeserializationError
public void serialize(Serializer serializer) throws SerializationError
public byte[] bcsSerialize()
throws SerializationError
Copyright © 2021. All rights reserved.