Skip to content

Commit

Permalink
Add sui blockchain type and SuiCoinBalance
Browse files Browse the repository at this point in the history
  • Loading branch information
gemcoder21 committed Aug 21, 2023
1 parent 1e0cd64 commit 1905799
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions blockchain/src/sui/sui_coin_balance.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#[typeshare]
#[serde(rename_all = "camelCase")]
struct SuiCoinBalance {
coin_type: String,
total_balance: UInt64,
}
3 changes: 2 additions & 1 deletion primitives/src/chain_type.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ pub enum BlockchainType {
Cosmos,
Ton,
Tron,
Aptos
Aptos,
Sui,
}

0 comments on commit 1905799

Please sign in to comment.