pub struct ContractAddresses { /* private fields */ }Implementations§
Source§impl ContractAddresses
impl ContractAddresses
Sourcepub async fn get_addresses(
service_manager_addr: Option<Address>,
registry_coordinator: Option<Address>,
rpc_url: String,
) -> Result<Self, EigenAddressCliError>
pub async fn get_addresses( service_manager_addr: Option<Address>, registry_coordinator: Option<Address>, rpc_url: String, ) -> Result<Self, EigenAddressCliError>
Public function to get the Eigenlayer and AVS contract addresses.
§Arguments
registry_coordinator- The registry coordinator contract address.service_manager- The service manager coordinator address.client- The provider client.
§Returns
ContractAddresses- The Eigenlayer and AVS contract addresses.
Trait Implementations§
Source§impl Debug for ContractAddresses
impl Debug for ContractAddresses
Source§impl<'de> Deserialize<'de> for ContractAddresses
impl<'de> Deserialize<'de> for ContractAddresses
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 PartialEq for ContractAddresses
impl PartialEq for ContractAddresses
Source§impl Serialize for ContractAddresses
impl Serialize for ContractAddresses
impl StructuralPartialEq for ContractAddresses
Auto Trait Implementations§
impl Freeze for ContractAddresses
impl RefUnwindSafe for ContractAddresses
impl Send for ContractAddresses
impl Sync for ContractAddresses
impl Unpin for ContractAddresses
impl UnwindSafe for ContractAddresses
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.