pub struct ResolvedPublish {
pub rpc_url: String,
pub chain_id: u64,
pub publisher_registry_address: Option<Address>,
pub origin_assignment_address: Option<Address>,
pub keystore: PathBuf,
pub data_dir: PathBuf,
}Expand description
Publisher-command coordinates resolved from flags > config > defaults. The two contract addresses are optional here; each subcommand requires only the one it targets and errors with a specific message if it is unset.
Fields§
§rpc_url: StringJSON-RPC endpoint the command talks to.
chain_id: u64EVM chain id, checked against what the endpoint reports.
publisher_registry_address: Option<Address>PublisherRegistry address. None when neither
--publisher-registry-address nor blockchain.publisher_registry_address
is set; a subcommand that needs it then errors naming the missing key.
origin_assignment_address: Option<Address>OriginAssignment address, optional on the same terms.
keystore: PathBufPath to the operator’s Ethereum keystore file.
data_dir: PathBufNode data directory; the keystore and node key default to paths under it.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolvedPublish
impl RefUnwindSafe for ResolvedPublish
impl Send for ResolvedPublish
impl Sync for ResolvedPublish
impl Unpin for ResolvedPublish
impl UnsafeUnpin for ResolvedPublish
impl UnwindSafe for ResolvedPublish
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