pub struct ESDTSystemSCAddress;
Expand description
Indicates the system SC address, which is the same on any MultiversX blockchain.
Implementations§
source§impl ESDTSystemSCAddress
impl ESDTSystemSCAddress
pub fn to_managed_address<Api>(self) -> ManagedAddress<Api>where
Api: ManagedTypeApi,
pub fn to_bech32_str(&self) -> &str
pub fn to_bech32_string(&self) -> String
Trait Implementations§
source§impl<Api> AnnotatedValue<TxScEnv<Api>, ManagedAddress<Api>> for ESDTSystemSCAddresswhere
Api: CallTypeApi,
impl<Api> AnnotatedValue<TxScEnv<Api>, ManagedAddress<Api>> for ESDTSystemSCAddresswhere
Api: CallTypeApi,
fn annotation(&self, _env: &TxScEnv<Api>) -> ManagedBuffer<Api>
source§fn to_value(&self, _env: &TxScEnv<Api>) -> ManagedAddress<Api>
fn to_value(&self, _env: &TxScEnv<Api>) -> ManagedAddress<Api>
Produces the value from a reference of the annotated type. Might involve a
.clone()
in some cases.source§fn into_value(self, env: &Env) -> T
fn into_value(self, env: &Env) -> T
Consumes annotated value to produce actual value. Read more
source§impl Display for ESDTSystemSCAddress
impl Display for ESDTSystemSCAddress
source§impl TopEncode for ESDTSystemSCAddress
impl TopEncode for ESDTSystemSCAddress
source§fn top_encode_or_handle_err<O, H>(
&self,
output: O,
h: H
) -> Result<(), <H as EncodeErrorHandler>::HandledErr>where
O: TopEncodeOutput,
H: EncodeErrorHandler,
fn top_encode_or_handle_err<O, H>(
&self,
output: O,
h: H
) -> Result<(), <H as EncodeErrorHandler>::HandledErr>where
O: TopEncodeOutput,
H: EncodeErrorHandler,
Version of
top_encode
that can handle errors as soon as they occur.
For instance in can exit immediately and make sure that if it returns, it is a success.
By not deferring error handling, this can lead to somewhat smaller bytecode.source§fn top_encode<O>(&self, output: O) -> Result<(), EncodeError>where
O: TopEncodeOutput,
fn top_encode<O>(&self, output: O) -> Result<(), EncodeError>where
O: TopEncodeOutput,
Attempt to serialize the value to ouput.
source§impl<Api> TxToSpecified<TxScEnv<Api>> for ESDTSystemSCAddresswhere
Api: CallTypeApi,
impl<Api> TxToSpecified<TxScEnv<Api>> for ESDTSystemSCAddresswhere
Api: CallTypeApi,
source§fn with_address_ref<F, R>(&self, env: &Env, f: F) -> R
fn with_address_ref<F, R>(&self, env: &Env, f: F) -> R
Avoids a clone when performing transfer-execute. Read more
impl<Api> TxTo<TxScEnv<Api>> for ESDTSystemSCAddresswhere
Api: CallTypeApi,
impl<M> TypeAbiFrom<ESDTSystemSCAddress> for ManagedAddress<M>where
M: ManagedTypeApi,
Auto Trait Implementations§
impl Freeze for ESDTSystemSCAddress
impl RefUnwindSafe for ESDTSystemSCAddress
impl Send for ESDTSystemSCAddress
impl Sync for ESDTSystemSCAddress
impl Unpin for ESDTSystemSCAddress
impl UnwindSafe for ESDTSystemSCAddress
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> InterpretableFrom<T> for T
impl<T> InterpretableFrom<T> for T
fn interpret_from(from: T, _context: &InterpreterContext) -> T
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<T> ReconstructableFrom<T> for T
impl<T> ReconstructableFrom<T> for T
fn reconstruct_from(from: T, _builder: &ReconstructorContext) -> T
source§impl<T> SCCodec for Twhere
T: TopEncode,
impl<T> SCCodec for Twhere
T: TopEncode,
fn fmt<F>(&self, f: &mut F)where
F: FormatByteReceiver,
source§impl<T> TopEncodeMulti for Twhere
T: TopEncode,
impl<T> TopEncodeMulti for Twhere
T: TopEncode,
source§fn multi_encode_or_handle_err<O, H>(
&self,
output: &mut O,
h: H
) -> Result<(), <H as EncodeErrorHandler>::HandledErr>where
O: TopEncodeMultiOutput,
H: EncodeErrorHandler,
fn multi_encode_or_handle_err<O, H>(
&self,
output: &mut O,
h: H
) -> Result<(), <H as EncodeErrorHandler>::HandledErr>where
O: TopEncodeMultiOutput,
H: EncodeErrorHandler,
Version of
top_encode
that can handle errors as soon as they occur.
For instance in can exit immediately and make sure that if it returns, it is a success.
By not deferring error handling, this can lead to somewhat smaller bytecode.source§fn multi_encode<O>(&self, output: &mut O) -> Result<(), EncodeError>where
O: TopEncodeMultiOutput,
fn multi_encode<O>(&self, output: &mut O) -> Result<(), EncodeError>where
O: TopEncodeMultiOutput,
Attempt to serialize the value to ouput.