Struct abstract_boot::AccountFactory
source · pub struct AccountFactory<Chain: BootEnvironment>(_);Implementations§
source§impl<Chain: BootEnvironment> AccountFactory<Chain>
impl<Chain: BootEnvironment> AccountFactory<Chain>
pub fn new(name: &str, chain: Chain) -> Self
pub fn create_new_account( &self, os_details: AccountDetails, governance_details: GovernanceDetails ) -> Result<AbstractAccount<Chain>, AbstractBootError>
pub fn create_default_account( &self, governance_details: GovernanceDetails ) -> Result<AbstractAccount<Chain>, AbstractBootError>
pub fn set_subscription_contract( &self, addr: String ) -> Result<TxResponse<Chain>, AbstractBootError>
Trait Implementations§
source§impl<Chain: Clone + BootEnvironment> Clone for AccountFactory<Chain>
impl<Chain: Clone + BootEnvironment> Clone for AccountFactory<Chain>
source§fn clone(&self) -> AccountFactory<Chain>
fn clone(&self) -> AccountFactory<Chain>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more