Struct gekko::runtime::kusama::extrinsics::bounties::UnassignCurator [−][src]
Expand description
Unassign curator from a bounty.
Documentation (provided by the runtime metadata)
Unassign curator from a bounty.
This function can only be called by the RejectOrigin
a signed origin.
If this function is called by the RejectOrigin
, we assume that the curator is malicious
or inactive. As a result, we will slash the curator when possible.
If the origin is the curator, we take this as a sign they are unable to do their job and they willingly give up. We could slash them, but for now we allow them to recover their deposit and exit without issue. (We may want to change this if it is abused.)
Finally, the origin can be anyone if and only if the curator is “inactive”. This allows anyone in the community to call out that a curator is not doing their due diligence, and we should pick a new curator. In this case the curator should also be slashed.
- O(1).
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
bounty_id: A
Type description: Compact<BountyIndex>
Trait Implementations
impl<A: PartialEq> PartialEq<UnassignCurator<A>> for UnassignCurator<A> where
A: Encode + Decode,
impl<A: PartialEq> PartialEq<UnassignCurator<A>> for UnassignCurator<A> where
A: Encode + Decode,
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl<A> RefUnwindSafe for UnassignCurator<A> where
A: RefUnwindSafe,
impl<A> Send for UnassignCurator<A> where
A: Send,
impl<A> Sync for UnassignCurator<A> where
A: Sync,
impl<A> Unpin for UnassignCurator<A> where
A: Unpin,
impl<A> UnwindSafe for UnassignCurator<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
.