wallet_standard_base/
commitment.rs

1pub trait Commitment {
2    fn processed(&self) -> Self;
3
4    fn confirmed(&self) -> Self;
5
6    fn finalized(&self) -> Self;
7
8    fn into(&self, commitment_str: &str) -> Self;
9
10    /// Get the commitment as a [str] format
11    fn as_str(&self) -> &str;
12}