public class SideChain extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
Address |
address |
long |
deposit |
long |
ongNum |
long |
ongPool |
long |
ratio |
String |
sideChainId |
byte |
status |
| Constructor and Description |
|---|
SideChain() |
| Modifier and Type | Method and Description |
|---|---|
void |
deserialize(BinaryReader reader) |
void |
serialize(BinaryWriter binaryWriter) |
String |
toJson() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfrom, toArray, toHexStringpublic String sideChainId
public Address address
public long ratio
public long deposit
public long ongNum
public long ongPool
public byte status
public void deserialize(BinaryReader reader) throws IOException
deserialize in interface SerializableIOExceptionpublic void serialize(BinaryWriter binaryWriter) throws IOException
serialize in interface SerializableIOExceptionpublic String toJson()
Copyright © 2020. All rights reserved.