SpendDescription.deserialize constructor

SpendDescription.deserialize(
  1. List<int> bytes
)

Implementation

factory SpendDescription.deserialize(List<int> bytes) {
  final decode = TronProtocolBufferImpl.decode(bytes);
  return SpendDescription(
      valueCommitment: decode.getField(1),
      anchor: decode.getField(2),
      nullifier: decode.getField(3),
      rk: decode.getField(4),
      zkproof: decode.getField(5),
      spendAuthoritySignature: decode.getField(6));
}