pub enum TokenVmType {
Native,
Evm,
Svm,
Daml,
TempoTip20,
}Expand description
VM types for token addressing
Variants§
Native
Native Tenzro L1 token (18 decimals)
Evm
EVM ERC-20 representation (configurable decimals, typically 18)
Svm
SVM SPL token representation (9 decimals max due to u64 constraint)
Daml
DAML CIP-56 token representation (arbitrary precision Decimal)
TempoTip20
Tempo L1 TIP-20 stablecoin representation (Stripe + Paradigm chain, EIP-155 EVM)
Trait Implementations§
Source§impl Clone for TokenVmType
impl Clone for TokenVmType
Source§fn clone(&self) -> TokenVmType
fn clone(&self) -> TokenVmType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TokenVmType
Source§impl Debug for TokenVmType
impl Debug for TokenVmType
Source§impl<'de> Deserialize<'de> for TokenVmType
impl<'de> Deserialize<'de> for TokenVmType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TokenVmType
impl Display for TokenVmType
impl Eq for TokenVmType
Source§impl Hash for TokenVmType
impl Hash for TokenVmType
Source§impl PartialEq for TokenVmType
impl PartialEq for TokenVmType
Source§fn eq(&self, other: &TokenVmType) -> bool
fn eq(&self, other: &TokenVmType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TokenVmType
impl Serialize for TokenVmType
impl StructuralPartialEq for TokenVmType
Auto Trait Implementations§
impl Freeze for TokenVmType
impl RefUnwindSafe for TokenVmType
impl Send for TokenVmType
impl Sync for TokenVmType
impl Unpin for TokenVmType
impl UnsafeUnpin for TokenVmType
impl UnwindSafe for TokenVmType
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