multiversx_sc_snippets::imports

Trait ProxyObjNew

source
pub trait ProxyObjNew: ProxyObjBase {
    type ProxyTo: ProxyObjBase;

    // Required method
    fn contract(self, address: ManagedAddress<Self::Api>) -> Self::ProxyTo;
}

Required Associated Types§

Required Methods§

source

fn contract(self, address: ManagedAddress<Self::Api>) -> Self::ProxyTo

Specify the target contract to call. Not taken into account for deploys.

Object Safety§

This trait is not object safe.

Implementors§