ReceiveDescription constructor
ReceiveDescription({})
Create a new ReceiveDescription instance with specified parameters.
Implementation
ReceiveDescription(
{List<int>? valueCommitment,
List<int>? noteCommitment,
List<int>? epk,
List<int>? cEnc,
List<int>? cOut,
List<int>? zkproof})
: valueCommitment =
BytesUtils.tryToBytes(valueCommitment, unmodifiable: true),
noteCommitment =
BytesUtils.tryToBytes(noteCommitment, unmodifiable: true),
epk = BytesUtils.tryToBytes(epk, unmodifiable: true),
cEnc = BytesUtils.tryToBytes(cEnc, unmodifiable: true),
cOut = BytesUtils.tryToBytes(cOut, unmodifiable: true),
zkproof = BytesUtils.tryToBytes(zkproof, unmodifiable: true);