pub struct TokenInfo {
pub name: String,
pub spots: Vec<u64>,
pub deployer_trading_fee_share: u64,
pub deployer: Address,
pub evm_contract: Address,
pub sz_decimals: u8,
pub wei_decimals: u8,
pub evm_extra_wei_decimals: i8,
}Fields§
§name: String§spots: Vec<u64>The spot pairs it trades in.
deployer: Address§evm_contract: AddressThe linked ERC-20 on HyperEVM; zero when it has none.
sz_decimals: u8§wei_decimals: u8§evm_extra_wei_decimals: i8How many more decimals the ERC-20 counts in than HyperCore does.
Trait Implementations§
impl Eq for TokenInfo
impl StructuralPartialEq for TokenInfo
Auto Trait Implementations§
impl Freeze for TokenInfo
impl RefUnwindSafe for TokenInfo
impl Send for TokenInfo
impl Sync for TokenInfo
impl Unpin for TokenInfo
impl UnsafeUnpin for TokenInfo
impl UnwindSafe for TokenInfo
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.