-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ad1c11e
commit 4d03ccb
Showing
6 changed files
with
44 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
use typeshare::typeshare; | ||
use serde::{Serialize, Deserialize}; | ||
|
||
#[derive(Debug, Clone, Serialize, Deserialize)] | ||
#[typeshare(swift = "Codable")] | ||
#[serde(rename_all = "camelCase")] | ||
struct FiatAssets { | ||
version: u32, | ||
asset_ids: Vec<String>, | ||
pub struct FiatAssets { | ||
pub version: u32, | ||
pub asset_ids: Vec<String>, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,16 @@ | ||
// lib.rs | ||
|
||
pub mod chain; | ||
pub mod chain_type; | ||
pub mod name; | ||
pub mod node; | ||
pub mod price; | ||
pub mod config; | ||
pub mod asset_id; | ||
pub mod asset_type; | ||
pub mod asset_price; | ||
pub mod tokenlist; | ||
pub mod asset_type; | ||
pub mod chain_type; | ||
pub mod node; | ||
pub mod config; | ||
pub mod fiat_quote; | ||
pub mod fiat_assets; | ||
pub mod fiat_provider; | ||
pub mod fiat_quote_request; |