Skip to content

Commit

Permalink
feat(iota-sdk): change link formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Thoralf-M committed Jan 6, 2025
1 parent 4a6bc96 commit 62292c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crates/iota-sdk/src/wallet_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ impl WalletContext {
self.config.keystore.addresses()
}

/// Get the configured [IotaClient].
/// Get the configured [`IotaClient`].
pub async fn get_client(&self) -> Result<IotaClient, anyhow::Error> {
let read = self.client.read().await;

Expand Down Expand Up @@ -165,7 +165,7 @@ impl WalletContext {
Ok(values_objects)
}

/// Get the address that owns the object of the provided [ObjectID].
/// Get the address that owns the object of the provided [`ObjectID`].
pub async fn get_object_owner(&self, id: &ObjectID) -> Result<IotaAddress, anyhow::Error> {
let client = self.get_client().await?;
let object = client
Expand All @@ -179,7 +179,7 @@ impl WalletContext {
.get_owner_address()?)
}

/// Get the address that owns the object, if an [ObjectID] is provided.
/// Get the address that owns the object, if an [`ObjectID`] is provided.
pub async fn try_get_object_owner(
&self,
id: &Option<ObjectID>,
Expand Down Expand Up @@ -208,7 +208,7 @@ impl WalletContext {
))
}

/// Get the [ObjectRef] for gas objects owned by the provided address.
/// Get the [`ObjectRef`] for gas objects owned by the provided address.
/// Maximum is RPC_QUERY_MAX_RESULT_LIMIT (50 by
/// default).
pub async fn get_all_gas_objects_owned_by_address(
Expand All @@ -218,7 +218,7 @@ impl WalletContext {
self.get_gas_objects_owned_by_address(address, None).await
}

/// Get a limited amount of [ObjectRef]s for gas objects owned by the
/// Get a limited amount of [`ObjectRef`]s for gas objects owned by the
/// provided address. Max limit is RPC_QUERY_MAX_RESULT_LIMIT (50 by
/// default).
pub async fn get_gas_objects_owned_by_address(
Expand Down

0 comments on commit 62292c6

Please sign in to comment.