pub struct ChainAddresses {
pub payment_pool: String,
pub capacity_bond: String,
pub slash_judge: String,
pub content_blacklist: String,
pub origin_assignment: String,
pub publisher_registry: String,
pub slash_appeal: String,
pub usdc: String,
}Expand description
Contract addresses read from a chain’s manifest, mapped to [blockchain]
config keys. Every field is an EIP-55 checksummed 0x string exactly as the
deploy script recorded it.
Fields§
§payment_pool: Stringblockchain.payment_pool_address.
capacity_bond: Stringblockchain.capacity_bond_address.
slash_judge: Stringblockchain.slash_judge_address.
content_blacklist: Stringblockchain.content_blacklist_address.
origin_assignment: Stringblockchain.origin_assignment_address.
publisher_registry: Stringblockchain.publisher_registry_address.
slash_appeal: Stringblockchain.slash_appeal_address.
usdc: Stringblockchain.usdc_address — the payment token on this chain.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ChainAddresses
impl RefUnwindSafe for ChainAddresses
impl Send for ChainAddresses
impl Sync for ChainAddresses
impl Unpin for ChainAddresses
impl UnsafeUnpin for ChainAddresses
impl UnwindSafe for ChainAddresses
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 more