Struct gekko::runtime::kusama::extrinsics::registrar::Swap [−][src]
Expand description
Swap a parachain with another parachain or parathread.
Documentation (provided by the runtime metadata)
Swap a parachain with another parachain or parathread.
The origin must be Root, the para
owner, or the para
itself.
The swap will happen only if there is already an opposite swap pending. If there is not, the swap will be stored in the pending swaps map, ready for a later confirmatory swap.
The ParaId
s remain mapped to the same head data and code so external code can rely on
ParaId
to be a long-term identifier of a notional “parachain”. However, their
scheduling info (i.e. whether they’re a parathread or parachain), auction information
and the auction deposit are switched.
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
id: A
Type description: ParaId
other: B
Type description: ParaId
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Swap<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for Swap<A, B> where
A: UnwindSafe,
B: 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
.