pub trait EgldEsdtSwap:
ContractBase
+ Sized
+ PauseModule {
// Required method
fn wrapped_egld_token_id(
&self,
) -> SingleValueMapper<Self::Api, TokenIdentifier<Self::Api>>;
// Provided methods
fn init(&self, wrapped_egld_token_id: TokenIdentifier<Self::Api>) { ... }
fn wrap_egld(&self) -> EsdtTokenPayment<Self::Api> { ... }
fn unwrap_egld(&self) { ... }
fn get_locked_egld_balance(&self) -> BigUint<Self::Api> { ... }
}
Required Methods§
fn wrapped_egld_token_id( &self, ) -> SingleValueMapper<Self::Api, TokenIdentifier<Self::Api>>
Provided Methods§
fn init(&self, wrapped_egld_token_id: TokenIdentifier<Self::Api>)
fn wrap_egld(&self) -> EsdtTokenPayment<Self::Api>
fn unwrap_egld(&self)
fn get_locked_egld_balance(&self) -> BigUint<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.