Struct abstract_sdk::feature_objects::ProxyContract
source · pub struct ProxyContract {
pub contract_address: Addr,
}
Expand description
Store a proxy contract address.
Implements AccountIdentification
.
Fields§
§contract_address: Addr
Address of the proxy contract
Implementations§
Trait Implementations§
source§impl AccountIdentification for ProxyContract
impl AccountIdentification for ProxyContract
source§fn proxy_address(&self, _deps: Deps<'_>) -> AbstractSdkResult<Addr>
fn proxy_address(&self, _deps: Deps<'_>) -> AbstractSdkResult<Addr>
Get the proxy address for the current account.
source§fn manager_address(&self, deps: Deps<'_>) -> AbstractSdkResult<Addr>
fn manager_address(&self, deps: Deps<'_>) -> AbstractSdkResult<Addr>
Get the manager address for the current account.
source§fn account_base(&self, deps: Deps<'_>) -> AbstractSdkResult<AccountBase>
fn account_base(&self, deps: Deps<'_>) -> AbstractSdkResult<AccountBase>
Get the AccountBase for the current account.
source§fn account_id(&self, deps: Deps<'_>) -> AbstractSdkResult<AccountId>
fn account_id(&self, deps: Deps<'_>) -> AbstractSdkResult<AccountId>
Get the Account id for the current account.
source§impl Clone for ProxyContract
impl Clone for ProxyContract
source§fn clone(&self) -> ProxyContract
fn clone(&self) -> ProxyContract
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 moresource§impl ModuleIdentification for ProxyContract
impl ModuleIdentification for ProxyContract
Auto Trait Implementations§
impl Freeze for ProxyContract
impl RefUnwindSafe for ProxyContract
impl Send for ProxyContract
impl Sync for ProxyContract
impl Unpin for ProxyContract
impl UnwindSafe for ProxyContract
Blanket Implementations§
source§impl<T> AbstractResponse for Twhere
T: ModuleIdentification,
impl<T> AbstractResponse for Twhere
T: ModuleIdentification,
source§fn response(&self, action: impl Into<String>) -> Response
fn response(&self, action: impl Into<String>) -> Response
Respond with an abstract-specific event that contains the contract name and the action.
source§fn custom_response(
&self,
action: impl Into<String>,
attributes: impl IntoIterator<Item = impl Into<Attribute>>
) -> Response
fn custom_response( &self, action: impl Into<String>, attributes: impl IntoIterator<Item = impl Into<Attribute>> ) -> Response
.response()
with additional attributes.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> Execution for Twhere
T: AccountIdentification + ModuleIdentification,
impl<T> Execution for Twhere
T: AccountIdentification + ModuleIdentification,
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