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: AddrAddress 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 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 tag_response(
&self,
response: Response,
action: impl Into<String>
) -> Response
fn tag_response( &self, response: Response, action: impl Into<String> ) -> Response
Respond with an abstract-specific event that contains the contract name and the action.
source§fn custom_tag_response(
&self,
response: Response,
action: impl Into<String>,
attributes: impl IntoIterator<Item = impl Into<Attribute>>
) -> Response
fn custom_tag_response( &self, response: Response, action: impl Into<String>, attributes: impl IntoIterator<Item = impl Into<Attribute>> ) -> Response
.tag_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