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
Implementations§
Trait Implementations§
source§impl AccountIdentification for ProxyContract
impl AccountIdentification for ProxyContract
fn proxy_address(&self, _deps: Deps<'_>) -> AbstractSdkResult<Addr>
fn manager_address(&self, deps: Deps<'_>) -> AbstractSdkResult<Addr>
fn account_base(&self, deps: Deps<'_>) -> AbstractSdkResult<AccountBase>
source§fn account_id(&self, deps: Deps<'_>) -> AbstractSdkResult<AccountId>
fn account_id(&self, deps: Deps<'_>) -> AbstractSdkResult<AccountId>
Get the Account id for the current context.
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 more