#[repr(u64)]pub enum EvmChains {
Mainnet = 1,
Optimism = 10,
Bnb = 56,
GnosisChain = 100,
Polygon = 137,
Base = 8_453,
Plasma = 9_745,
ArbitrumOne = 42_161,
Avalanche = 43_114,
Ink = 57_073,
Linea = 59_144,
Sepolia = 11_155_111,
}Expand description
All EVM chains supported by CoW Protocol or available for bridging.
This is a superset of SupportedChainId – it includes bridge-only chains
like Optimism.
Variants§
Mainnet = 1
Ethereum mainnet (chain ID 1).
Optimism = 10
Optimism (chain ID 10).
Bnb = 56
BNB Smart Chain (chain ID 56).
GnosisChain = 100
Gnosis Chain (chain ID 100).
Polygon = 137
Polygon PoS (chain ID 137).
Base = 8_453
Base (chain ID 8453).
Plasma = 9_745
Plasma (chain ID 9745).
ArbitrumOne = 42_161
Arbitrum One (chain ID 42161).
Avalanche = 43_114
Avalanche C-Chain (chain ID 43114).
Ink = 57_073
Ink (chain ID 57073).
Linea = 59_144
Linea (chain ID 59144).
Sepolia = 11_155_111
Ethereum Sepolia testnet (chain ID 11155111).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EvmChains
impl<'de> Deserialize<'de> for EvmChains
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
impl Copy for EvmChains
impl Eq for EvmChains
impl StructuralPartialEq for EvmChains
Auto Trait Implementations§
impl Freeze for EvmChains
impl RefUnwindSafe for EvmChains
impl Send for EvmChains
impl Sync for EvmChains
impl Unpin for EvmChains
impl UnsafeUnpin for EvmChains
impl UnwindSafe for EvmChains
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