Trait abstract_sdk::AccountingInterface
source · pub trait AccountingInterface: AbstractNameService + AccountIdentification + ModuleIdentification {
// Provided method
fn accountant<'a>(&'a self, deps: Deps<'a>) -> Accountant<'_, Self> { ... }
}
Expand description
Retrieve asset-registration information from the Account. Query asset values and balances.
Provided Methods§
sourcefn accountant<'a>(&'a self, deps: Deps<'a>) -> Accountant<'_, Self>
fn accountant<'a>(&'a self, deps: Deps<'a>) -> Accountant<'_, Self>
API for querying the Account’s asset values and accounting configuration.
§Example
use abstract_sdk::prelude::*;
let accountant: Accountant<MockModule> = module.accountant(deps.as_ref());
Object Safety§
This trait is not object safe.