Trait aptos_types::account_view::AccountView
source · [−]pub trait AccountView {
Show 17 methods
fn get_state_value(&self, state_key: &StateKey) -> Result<Option<Vec<u8>>>;
fn get_account_address(&self) -> Result<Option<AccountAddress>>;
fn get_validator_set(&self) -> Result<Option<ValidatorSet>> { ... }
fn get_configuration_resource(
&self
) -> Result<Option<ConfigurationResource>> { ... }
fn get_move_resource<T: MoveResource>(&self) -> Result<Option<T>> { ... }
fn get_validator_config_resource(&self) -> Result<Option<ValidatorConfig>> { ... }
fn get_validator_operator_config_resource(
&self
) -> Result<Option<ValidatorOperatorConfigResource>> { ... }
fn get_on_chain_config<T: OnChainConfig>(&self) -> Result<Option<T>> { ... }
fn get_version(&self) -> Result<Option<Version>> { ... }
fn get_resource<T: MoveResource>(&self) -> Result<Option<T>> { ... }
fn get_chain_id_resource(&self) -> Result<Option<ChainIdResource>> { ... }
fn get_crsn_resource(&self) -> Result<Option<CRSNResource>> { ... }
fn get_coin_store_resource(&self) -> Result<Option<CoinStoreResource>> { ... }
fn get_state_key_for_path(&self, path: Vec<u8>) -> Result<StateKey> { ... }
fn get_account_resource(&self) -> Result<Option<AccountResource>> { ... }
fn get_config<T: OnChainConfig>(&self) -> Result<Option<T>> { ... }
fn get_resource_impl<T: DeserializeOwned>(
&self,
path: Vec<u8>
) -> Result<Option<T>> { ... }
}