pub struct AppealSlashArgs {
pub slash_id: String,
pub evidence_bundle_hash: String,
pub slash_appeal_address: Option<String>,
pub chain: CommonChainArgs,
}Expand description
Arguments for decdn appeal slash <SLASH_ID> <EVIDENCE_BUNDLE_HASH>.
Fields§
§slash_id: StringThe on-chain slash id to appeal (surfaced by the daemon admin RPC
admin_v1_slashes, or the Slashed event’s slashId). A uint256
decimal string — taken as text so an id above u64::MAX still parses.
evidence_bundle_hash: StringEvidence bundle hash — a 0x-prefixed 32-byte hex reference to the off-chain evidence bundle (ADR 028). Stored on-chain verbatim.
slash_appeal_address: Option<String>SlashAppeal contract address. Overrides
blockchain.slash_appeal_address. The config-file value is read as
plain TOML (no ${VAR} expansion); use this flag or the env var for
substitution.
chain: CommonChainArgsShared chain coordinates (rpc, keystore, chain id, --dry-run,
--json). Only the CommonChainArgs subset is flattened here — the
appeal path reads nothing from the CapacityBond / swap flag group, so
exposing it would advertise flags this command silently ignores.
Trait Implementations§
Source§impl Args for AppealSlashArgs
impl Args for AppealSlashArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for AppealSlashArgs
impl Debug for AppealSlashArgs
Source§impl FromArgMatches for AppealSlashArgs
impl FromArgMatches for AppealSlashArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
ArgMatches to self.Auto Trait Implementations§
impl Freeze for AppealSlashArgs
impl RefUnwindSafe for AppealSlashArgs
impl Send for AppealSlashArgs
impl Sync for AppealSlashArgs
impl Unpin for AppealSlashArgs
impl UnsafeUnpin for AppealSlashArgs
impl UnwindSafe for AppealSlashArgs
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
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> ⓘ
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> ⓘ
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