pvalue package:liqwid-plutarch-extra -is:exact

Construct a PValue from its underlying representation. There are NoGuarantees on the amounts.
Sum of all value at input.
Construct a PValue from its underlying representation. The amounts are guaranteed to be Positive, so this is suitable for construction of PTxOuts.