Struct primitives::Chain
source · Expand description
Ethereum Virtual Machine Chain
Fields
chain_id: ChainId
rpc: ApiUrl
RPC url of the chain which will be used for Blockchain interactions.
Ethereum Virtual Machine
Check out the metadata for all EVM-chains: https://github.com/ethereum-lists/chains Or in json: https://chainid.network/chains.json
outpace: Address
The OUTPACE contract address on this Chain
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Chain
impl<'de> Deserialize<'de> for Chain
sourcefn 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 Eq for Chain
impl StructuralEq for Chain
impl StructuralPartialEq for Chain
Auto Trait Implementations
impl RefUnwindSafe for Chain
impl Send for Chain
impl Sync for Chain
impl Unpin for Chain
impl UnwindSafe for Chain
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more