Struct abstract_interface_testing::Abstract
source · pub struct Abstract<Chain: CwEnv> {
pub ans_host: AnsHost<Chain>,
pub version_control: VersionControl<Chain>,
pub account_factory: AccountFactory<Chain>,
pub module_factory: ModuleFactory<Chain>,
pub account: AbstractAccount<Chain>,
}
Fields§
§ans_host: AnsHost<Chain>
§version_control: VersionControl<Chain>
§account_factory: AccountFactory<Chain>
§module_factory: ModuleFactory<Chain>
§account: AbstractAccount<Chain>
Implementations§
Trait Implementations§
source§impl<Chain: CwEnv> Deploy<Chain> for Abstract<Chain>
impl<Chain: CwEnv> Deploy<Chain> for Abstract<Chain>
type Error = AbstractInterfaceError
§type DeployData = Version
type DeployData = Version
Data required to deploy the application.
source§fn store_on(chain: Chain) -> Result<Self, AbstractInterfaceError>
fn store_on(chain: Chain) -> Result<Self, AbstractInterfaceError>
Stores/uploads the application to the chain.
source§fn deploy_on(
chain: Chain,
version: Version
) -> Result<Self, AbstractInterfaceError>
fn deploy_on( chain: Chain, version: Version ) -> Result<Self, AbstractInterfaceError>
Deploy the application to the chain. This could include instantiating contracts.
source§fn load_from(chain: &mut Chain) -> Result<Self, AbstractInterfaceError>
fn load_from(chain: &mut Chain) -> Result<Self, AbstractInterfaceError>
Load the application from the chain, assuming it has already been deployed.
Auto Trait Implementations§
impl<Chain> RefUnwindSafe for Abstract<Chain>where Chain: RefUnwindSafe,
impl<Chain> Send for Abstract<Chain>where Chain: Send,
impl<Chain> Sync for Abstract<Chain>where Chain: Sync,
impl<Chain> Unpin for Abstract<Chain>where Chain: Unpin,
impl<Chain> UnwindSafe for Abstract<Chain>where Chain: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request