public final class TransferToPublic extends Payload
Constructor and Description |
---|
TransferToPublic(EncryptedAmount remainingAmount,
CCDAmount transferAmount,
UInt64 index,
SecToPubAmountTransferProof proof) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
UInt64 |
getIndex()
The index such that the encrypted amount used in the transfer represents
the aggregate of all encrypted amounts with indices < `index` existing
on the account at the time.
|
SecToPubAmountTransferProof |
getProof()
A collection of all the proofs.
|
protected byte[] |
getRawPayloadBytes()
This must return the raw payload i.e., the
payload only.
|
EncryptedAmount |
getRemainingAmount()
Encryption of the remaining amount.
|
TransactionType |
getTransactionType() |
CCDAmount |
getTransferAmount()
Amount that will be sent.
|
int |
hashCode() |
String |
toString() |
public TransferToPublic(EncryptedAmount remainingAmount, CCDAmount transferAmount, UInt64 index, SecToPubAmountTransferProof proof)
public TransactionType getTransactionType()
getTransactionType
in class Payload
protected byte[] getRawPayloadBytes()
Payload
Payload.getBytes()
getRawPayloadBytes
in class Payload
public EncryptedAmount getRemainingAmount()
public CCDAmount getTransferAmount()
public UInt64 getIndex()
public SecToPubAmountTransferProof getProof()
protected boolean canEqual(Object other)
Copyright © 2025. All rights reserved.