multiversx_wegld_swap_sc

Trait EndpointWrappers

Source
pub trait EndpointWrappers:
    ContractBase
    + EgldEsdtSwap
    + EndpointWrappers {
    // Provided methods
    fn call_init(&mut self) { ... }
    fn call_wrap_egld(&mut self) { ... }
    fn call_unwrap_egld(&mut self) { ... }
    fn call_get_locked_egld_balance(&mut self) { ... }
    fn call_wrapped_egld_token_id(&mut self) { ... }
    fn call(&mut self, fn_name: &str) -> bool { ... }
    fn callback_selector(
        &mut self,
        ___cb_closure___: &CallbackClosureForDeser<Self::Api>,
    ) -> CallbackSelectorResult { ... }
    fn callback(&mut self) { ... }
}

Provided Methods§

Source

fn call_init(&mut self)

Source

fn call_wrap_egld(&mut self)

Source

fn call_unwrap_egld(&mut self)

Source

fn call_get_locked_egld_balance(&mut self)

Source

fn call_wrapped_egld_token_id(&mut self)

Source

fn call(&mut self, fn_name: &str) -> bool

Source

fn callback_selector( &mut self, ___cb_closure___: &CallbackClosureForDeser<Self::Api>, ) -> CallbackSelectorResult

Source

fn callback(&mut self)

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.

Implementations on Foreign Types§

Source§

impl<A> EndpointWrappers for UniversalContractObj<A>
where A: VMApi,

Implementors§