pub enum Network {
Testnet,
}Variants§
Testnet
Implementations§
Source§impl Network
impl Network
pub const ALL: [Network; 1]
Sourcepub const fn rpc_url(self) -> &'static str
pub const fn rpc_url(self) -> &'static str
Kinetiq’s public JSON-RPC: HTTPS only, no websocket, no mempool, and eth_getLogs over at
most Network::log_span blocks unless the filter names an address or a topic. Now and then
a backend behind it lags a block and refuses a read (crate::client::rpc::lagging).
Sourcepub const fn conduit_rpc_url(self) -> &'static str
pub const fn conduit_rpc_url(self) -> &'static str
Conduit’s RPC for the same chain, the one its explorer hands wallets.
Sourcepub const fn log_span(self) -> u64
pub const fn log_span(self) -> u64
The most blocks one unfiltered eth_getLogs may span on Network::rpc_url:
toBlock - fromBlock, refused past it with -32602 and HTTP 400.
Sourcepub const fn explorer_url(self) -> &'static str
pub const fn explorer_url(self) -> &'static str
Conduit’s explorer for the chain.
Sourcepub fn tx_url(self, hash: B256) -> String
pub fn tx_url(self, hash: B256) -> String
A transaction on the explorer, for a link a person follows.
Sourcepub fn address_url(self, address: Address) -> String
pub fn address_url(self, address: Address) -> String
An account or a contract on the explorer.
Sourcepub const fn verifier_url(self) -> &'static str
pub const fn verifier_url(self) -> &'static str
Conduit’s Sourcify, where Elysium’s contracts are verified (crate::deploy::verify).
Sourcepub const fn faucet_url(self) -> &'static str
pub const fn faucet_url(self) -> &'static str
Kinetiq’s faucet page, for testnet HYPE.
Sourcepub const fn bridge_url(self) -> &'static str
pub const fn bridge_url(self) -> &'static str
Kinetiq’s bridge page, between HyperEVM and Elysium.
Sourcepub const fn hyperliquid(self) -> Network
pub const fn hyperliquid(self) -> Network
The Hyperliquid network whose HyperEVM Elysium settles to: its batches, assertions and
bridge live there (df_hyperliquid_core::Network::evm_rpc_url).
Sourcepub const fn parent_chain_id(self) -> u64
pub const fn parent_chain_id(self) -> u64
The parent chain’s id: HyperEVM’s.
pub const fn name(self) -> &'static str
pub const fn is_mainnet(self) -> bool
Trait Implementations§
impl Copy for Network
impl Eq for Network
impl StructuralPartialEq for Network
Auto Trait Implementations§
impl Freeze for Network
impl RefUnwindSafe for Network
impl Send for Network
impl Sync for Network
impl Unpin for Network
impl UnsafeUnpin for Network
impl UnwindSafe for Network
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
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
key and return true if they are equal.