Skip to content

Commit

Permalink
Add BitcoinChain
Browse files Browse the repository at this point in the history
  • Loading branch information
gemcoder21 committed Aug 20, 2023
1 parent a1a0955 commit 51dc347
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion primitives/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,15 @@ pub enum Chain {
Optimism,
Aptos,
Base,
AvalancheC
AvalancheC,
}

#[derive(Copy, Clone, Debug, Serialize, Deserialize)]
#[typeshare(swift = "Equatable, Codable, CaseIterable")]
#[serde(rename_all = "lowercase")]
pub enum BitcoinChain {
Bitcoin,
Doge
}

impl PartialEq for Chain {
Expand Down

0 comments on commit 51dc347

Please sign in to comment.