Struct abstract_client::Publisher
source · pub struct Publisher<Chain: CwEnv> { /* private fields */ }
Expand description
A Publisher represents an account that owns a namespace with the goal of publishing modules to the on-chain module-store.
Implementations§
source§impl<Chain: CwEnv> Publisher<Chain>
impl<Chain: CwEnv> Publisher<Chain>
sourcepub fn publish_app<M: ContractInstance<Chain> + RegisteredModule + From<Contract<Chain>> + AppDeployer<Chain>>(
&self
) -> Result<(), AbstractClientError>
pub fn publish_app<M: ContractInstance<Chain> + RegisteredModule + From<Contract<Chain>> + AppDeployer<Chain>>( &self ) -> Result<(), AbstractClientError>
Publish an Abstract App
sourcepub fn publish_adapter<CustomInitMsg: Serialize, M: ContractInstance<Chain> + RegisteredModule + From<Contract<Chain>> + AdapterDeployer<Chain, CustomInitMsg>>(
&self,
init_msg: CustomInitMsg
) -> Result<M, AbstractClientError>
pub fn publish_adapter<CustomInitMsg: Serialize, M: ContractInstance<Chain> + RegisteredModule + From<Contract<Chain>> + AdapterDeployer<Chain, CustomInitMsg>>( &self, init_msg: CustomInitMsg ) -> Result<M, AbstractClientError>
Publish an Abstract Adapter
Auto Trait Implementations§
impl<Chain> Freeze for Publisher<Chain>where
Chain: Freeze,
impl<Chain> RefUnwindSafe for Publisher<Chain>where
Chain: RefUnwindSafe,
impl<Chain> Send for Publisher<Chain>where
Chain: Send,
impl<Chain> Sync for Publisher<Chain>where
Chain: Sync,
impl<Chain> Unpin for Publisher<Chain>where
Chain: Unpin,
impl<Chain> UnwindSafe for Publisher<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> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more