Enum multiversx_sc_meta::ei::EIVersion
source · pub enum EIVersion {
V1_0,
V1_1,
V1_2,
V1_3,
}
Expand description
The version of the SC environment interface (EI), it deals with the VM hooks available at a certain point in time.
It is not tied to the version of the VM, hence the different numbering.
Variants§
V1_0
This is not necessarily the first version of the EI, but rather the oldest version when we started keeping track of the EI.
V1_1
New hooks added in Q4 2021.
Added a few more managed type & ESDT utilities.
V1_2
New hooks added in Q2 2022. This is the EI version of VM 1.4.
This is the version currently on mainnet.
Added:
- more managed type conversions
- more managed crypto hooks
- big floats
- some managed ESDT properties.
V1_3
Latest VM Hooks version, released with VM 1.5 in January 2024.
It adds the new async call functionality (promises).
Implementations§
Trait Implementations§
source§impl PartialEq for EIVersion
impl PartialEq for EIVersion
impl Copy for EIVersion
impl Eq for EIVersion
impl StructuralPartialEq for EIVersion
Auto Trait Implementations§
impl Freeze for EIVersion
impl RefUnwindSafe for EIVersion
impl Send for EIVersion
impl Sync for EIVersion
impl Unpin for EIVersion
impl UnwindSafe for EIVersion
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> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.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 Twhere
T: Clone,
impl<T> InterpretableFrom<&T> for Twhere
T: Clone,
fn interpret_from(from: &T, _context: &InterpreterContext) -> T
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 more