pub struct Addresses {
pub network_registry: Address,
pub network_registry_proxy: Address,
pub channels: Address,
pub token: Address,
pub module_implementation: Address,
pub node_safe_registry: Address,
pub ticket_price_oracle: Address,
pub winning_probability_oracle: Address,
pub announcements: Address,
pub node_stake_v2_factory: Address,
}
Fields§
§network_registry: Address
address of contract that manages authorization to access the Hopr network
network_registry_proxy: Address
address of contract that maps to the requirements that need to be fulfilled in order to access the network, upgradeable
channels: Address
HoprChannels contract address, implementation of mixnet incentives
token: Address
Hopr token contract address
module_implementation: Address
contract address of Safe capability module implementation
node_safe_registry: Address
address of contract that maps between Safe instances and node addresses
ticket_price_oracle: Address
address of contract that allows Hopr Association to dictate price per packet in Hopr
winning_probability_oracle: Address
address of contract that allows Hopr Association to dictate the minimum ticket winning probability in Hopr
announcements: Address
address of contract that manages transport announcements in the hopr network
node_stake_v2_factory: Address
factory contract to produce Safe instances
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Addresses
impl<'de> Deserialize<'de> for Addresses
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 Eq for Addresses
impl StructuralPartialEq for Addresses
Auto Trait Implementations§
impl Freeze for Addresses
impl RefUnwindSafe for Addresses
impl Send for Addresses
impl Sync for Addresses
impl Unpin for Addresses
impl UnwindSafe for Addresses
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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 more