feat: Introduce 'traverse' library (#117)
This commit is contained in:
parent
c9489c3ddf
commit
6913efef78
20 changed files with 377 additions and 106 deletions
|
|
@ -23,15 +23,6 @@ where
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Copy, Clone, PartialEq, Eq, PartialOrd, Ord)]
|
||||
pub enum Era {
|
||||
Byron,
|
||||
Shelley,
|
||||
Allegra, // time-locks
|
||||
Mary, // multi-assets
|
||||
Alonzo, // smart-contracts
|
||||
}
|
||||
|
||||
#[cfg(feature = "json")]
|
||||
pub trait ToCanonicalJson {
|
||||
fn to_json(&self) -> serde_json::Value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue