Struct gekko::runtime::polkadot::extrinsics::democracy::Propose [−][src]
pub struct Propose<A, B> where
A: Encode + Decode,
B: Encode + Decode, {
pub proposal_hash: A,
pub value: B,
}
Expand description
Propose a sensitive action to be taken.
Documentation (provided by the runtime metadata)
Propose a sensitive action to be taken.
The dispatch origin of this call must be Signed and the sender must have funds to cover the deposit.
proposal_hash
: The hash of the proposal preimage.value
: The amount of deposit (must be at leastMinimumDeposit
).
Emits Proposed
.
Weight: O(p)
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
proposal_hash: A
Type description: T::Hash
value: B
Type description: Compact<BalanceOf<T>>
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Propose<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for Propose<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
.