Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

Commit a1e9e30

Browse files
committed
Add Zcash support to Thorchain swaps
1 parent 51a4239 commit a1e9e30

4 files changed

Lines changed: 3 additions & 17 deletions

File tree

‎crates/primitives/src/wallet_configuration.rs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
use serde::{Deserialize, Serialize};
22
use typeshare::typeshare;
33

4-
use crate::WalletId;
4+
use crate::{ChainAddress, WalletId};
55

66
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
77
#[typeshare(swift = "Equatable, Sendable")]
88
#[serde(rename_all = "camelCase")]
99
pub struct WalletConfiguration {
10-
#[serde(skip_serializing_if = "Option::is_none")]
11-
pub has_multi_signature_accounts: Option<bool>,
10+
#[serde(default)]
11+
pub multi_signature_accounts: Vec<ChainAddress>,
1212
}
1313

1414
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]

‎gemstone/src/gateway/mod.rs‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -132,10 +132,6 @@ impl GemGateway {
132132
self.with_provider(chain, |provider| async move { provider.get_utxos(address).await }).await
133133
}
134134

135-
pub async fn get_address_status(&self, chain: Chain, address: String) -> Result<Vec<GemAddressStatus>, GatewayError> {
136-
self.with_provider(chain, |provider| async move { provider.get_address_status(address).await }).await
137-
}
138-
139135
pub async fn get_transaction_preload(&self, chain: Chain, input: GemTransactionPreloadInput) -> Result<GemTransactionLoadMetadata, GatewayError> {
140136
let preload_input: primitives::TransactionPreloadInput = input.into();
141137
let metadata = self

‎gemstone/src/models/address.rs‎

Lines changed: 0 additions & 8 deletions
This file was deleted.

‎gemstone/src/models/mod.rs‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
pub mod address;
21
pub mod asset;
32
pub mod balance;
43
mod custom_types;
@@ -14,7 +13,6 @@ pub mod swap;
1413
pub mod token;
1514
pub mod transaction;
1615

17-
pub use address::*;
1816
pub use asset::*;
1917
pub use balance::*;
2018
pub use gateway::*;

0 commit comments

Comments
 (0)