multiversx_wegld_swap_sc

Trait ProxyTrait

Source
pub trait ProxyTrait:
    ProxyObjBase
    + Sized
    + ProxyTrait {
    // Provided methods
    fn init<Arg0: ProxyArg<TokenIdentifier<Self::Api>>>(
        &mut self,
        wrapped_egld_token_id: Arg0,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), DeployCall<TxScEnv<Self::Api>, ()>, OriginalResultMarker<()>> { ... }
    fn wrap_egld(
        &mut self,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<EsdtTokenPayment<Self::Api>>> { ... }
    fn unwrap_egld(
        &mut self,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>> { ... }
    fn get_locked_egld_balance(
        &mut self,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<BigUint<Self::Api>>> { ... }
    fn wrapped_egld_token_id(
        &mut self,
    ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<SingleValueMapper<Self::Api, TokenIdentifier<Self::Api>>>> { ... }
}

Provided Methods§

Source

fn init<Arg0: ProxyArg<TokenIdentifier<Self::Api>>>( &mut self, wrapped_egld_token_id: Arg0, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), DeployCall<TxScEnv<Self::Api>, ()>, OriginalResultMarker<()>>

Source

fn wrap_egld( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<EsdtTokenPayment<Self::Api>>>

Source

fn unwrap_egld( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<()>>

Source

fn get_locked_egld_balance( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<BigUint<Self::Api>>>

Source

fn wrapped_egld_token_id( &mut self, ) -> Tx<TxScEnv<Self::Api>, (), Self::To, (), (), FunctionCall<Self::Api>, OriginalResultMarker<SingleValueMapper<Self::Api, TokenIdentifier<Self::Api>>>>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<A> ProxyTrait for Proxy<A>
where A: VMApi,

Source§

impl<A> ProxyTrait for ProxyTo<A>
where A: VMApi,