pub trait FactoryServiceTrait {
type Error: From<StdError>;
// Required methods
fn create_wallet(
&self,
ctx: ExecCtx<'_>,
create_wallet_msg: CreateWalletMsg,
) -> Result<Response, Self::Error>;
fn migrate_wallet(
&self,
ctx: ExecCtx<'_>,
migrations_msg: MigrateWalletMsg,
) -> Result<Response, Self::Error>;
fn wallet_by_vid(
&self,
ctx: QueryCtx<'_>,
vid: String,
) -> Result<Option<Addr>, StdError>;
fn wallet_by_vid_chain(
&self,
ctx: QueryCtx<'_>,
vid: String,
chain_id: String,
) -> Result<Option<String>, StdError>;
}Expand description
The trait for users to interact with factory contract