Struct gekko::runtime::kusama::extrinsics::multisig::CancelAsMulti [−][src]
pub struct CancelAsMulti<A, B, C, D> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
D: Encode + Decode, {
pub threshold: A,
pub other_signatories: B,
pub timepoint: C,
pub call_hash: D,
}
Expand description
Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously
Documentation (provided by the runtime metadata)
Cancel a pre-existing, on-going multisig transaction. Any deposit reserved previously for this operation will be unreserved on success.
The dispatch origin for this call must be Signed.
threshold
: The total number of approvals for this dispatch before it is executed.other_signatories
: The accounts (other than the sender) who can approve this dispatch. May not be empty.timepoint
: The timepoint (block number and transaction index) of the first approval transaction for this dispatch.call_hash
: The hash of the call to be executed.
O(S)
.- Up to one balance-reserve or unreserve operation.
- One passthrough operation, one insert, both
O(S)
whereS
is the number of signatories.S
is capped byMaxSignatories
, with weight being proportional. - One encode & hash, both of complexity
O(S)
. - One event.
- I/O: 1 read
O(S)
, one remove. - Storage: removes one item.
- DB Weight:
- Read: Multisig Storage, [Caller Account], Refund Account, Calls
- Write: Multisig Storage, [Caller Account], Refund Account, Calls
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
threshold: A
Type description: u16
other_signatories: B
Type description: Vec<T::AccountId>
timepoint: C
Type description: Timepoint<T::BlockNumber>
call_hash: D
Type description: [u8; 32]
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
impl<A: Eq, B: Eq, C: Eq, D: Eq> Eq for CancelAsMulti<A, B, C, D> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
D: Encode + Decode,
impl<A, B, C, D> StructuralEq for CancelAsMulti<A, B, C, D> where
A: Encode + Decode,
B: Encode + Decode,
C: Encode + Decode,
D: Encode + Decode,
Auto Trait Implementations
impl<A, B, C, D> RefUnwindSafe for CancelAsMulti<A, B, C, D> where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
impl<A, B, C, D> UnwindSafe for CancelAsMulti<A, B, C, D> where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: 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
.