public class CoinFrom extends Coin
address, amount, assetsChainId, assetsId| 构造器和说明 |
|---|
CoinFrom() |
CoinFrom(byte[] address,
int assetsChainId,
int assetsId) |
CoinFrom(byte[] address,
int assetsChainId,
int assetsId,
BigInteger amount,
byte locked) |
CoinFrom(byte[] address,
int assetsChainId,
int assetsId,
BigInteger amount,
byte[] nonce,
byte locked) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
getAddress() |
BigInteger |
getAmount() |
int |
getAssetsChainId() |
int |
getAssetsId() |
byte |
getLocked() |
byte[] |
getNonce() |
void |
parse(NulsByteBuffer byteBuffer) |
protected void |
serializeToStream(NulsOutputStreamBuffer stream) |
void |
setAddress(byte[] address) |
void |
setAmount(BigInteger amount) |
void |
setAssetsChainId(int assetsChainId) |
void |
setAssetsId(int assetsId) |
void |
setLocked(byte locked) |
void |
setNonce(byte[] nonce) |
int |
size() |
String |
toString() |
parse, serializepublic CoinFrom()
public CoinFrom(byte[] address,
int assetsChainId,
int assetsId)
public CoinFrom(byte[] address,
int assetsChainId,
int assetsId,
BigInteger amount,
byte locked)
public CoinFrom(byte[] address,
int assetsChainId,
int assetsId,
BigInteger amount,
byte[] nonce,
byte locked)
protected void serializeToStream(NulsOutputStreamBuffer stream) throws IOException
serializeToStream 在类中 BaseNulsDataIOExceptionpublic void parse(NulsByteBuffer byteBuffer) throws NulsException
parse 在类中 BaseNulsDataNulsExceptionpublic int size()
public byte[] getAddress()
getAddress 在类中 Coinpublic void setAddress(byte[] address)
setAddress 在类中 Coinpublic int getAssetsChainId()
getAssetsChainId 在类中 Coinpublic void setAssetsChainId(int assetsChainId)
setAssetsChainId 在类中 Coinpublic int getAssetsId()
getAssetsId 在类中 Coinpublic void setAssetsId(int assetsId)
setAssetsId 在类中 Coinpublic BigInteger getAmount()
public void setAmount(BigInteger amount)
public byte[] getNonce()
public void setNonce(byte[] nonce)
public byte getLocked()
public void setLocked(byte locked)
Copyright © 2021. All rights reserved.