Struct gekko::runtime::kusama::extrinsics::claims::Claim [−][src]
pub struct Claim<A, B> where
A: Encode + Decode,
B: Encode + Decode, {
pub dest: A,
pub ethereum_signature: B,
}
Expand description
Make a claim to collect your DOTs.
Documentation (provided by the runtime metadata)
Make a claim to collect your DOTs.
The dispatch origin for this call must be None.
Unsigned Validation: A call to claim is deemed valid if the signature provided matches the expected signed message of:
Ethereum Signed Message: (configured prefix string)(address)
and address
matches the dest
account.
Parameters:
dest
: The destination account to payout the claim.ethereum_signature
: The signature of an ethereum signed message matching the format described above.
Total Complexity: 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
dest: A
Type description: T::AccountId
ethereum_signature: B
Type description: EcdsaSignature
Trait Implementations
Auto Trait Implementations
impl<A, B> RefUnwindSafe for Claim<A, B> where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> UnwindSafe for Claim<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
.