pub trait ProofsMethods { // Required methods fn total_amount(&self) -> Result<Amount, Error>; fn ys(&self) -> Result<Vec<PublicKey>, Error>; }
Utility methods for Proofs
Try to sum up the amounts of all Proofs
Try to fetch the pubkeys of all Proofs