Struct gekko::runtime::polkadot::extrinsics::tips::SlashTip [−][src]
Expand description
Remove and slash an already-open tip.
Documentation (provided by the runtime metadata)
Remove and slash an already-open tip.
May only be called from T::RejectOrigin
.
As a result, the finder is slashed and the deposits are lost.
Emits TipSlashed
if successful.
T
is charged as upper bound given by ContainsLengthBound
.
The actual cost depends on the implementation of T::Tippers
.
Type Disclaimer
This library makes no assumptions about parameter types and must be specified manually as generic types. Each field contains a type description which can serve as a hint on what type is being expected, as provided by the runtime meatadata. See the common
module for common types which can be used.
Fields
hash: A
Type description: T::Hash
Trait Implementations
Auto Trait Implementations
impl<A> RefUnwindSafe for SlashTip<A> where
A: RefUnwindSafe,
impl<A> UnwindSafe for SlashTip<A> where
A: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
The counterpart to unchecked_from
.