referrerpolicy=no-referrer-when-downgrade
pub fn claim_attest<T: Config>(
    dest: T::AccountId,
    ethereum_signature: EcdsaSignature,
    statement: Vec<u8>,
)
Expand description

Make a claim to collect your DOTs by signing a statement.

The dispatch origin for this call must be None.

Unsigned Validation: A call to claim_attest is deemed valid if the signature provided matches the expected signed message of:

Ethereum Signed Message: (configured prefix string)(address)(statement)

and address matches the dest account; the statement must match that which is expected according to your purchase arrangement.

Parameters:

  • dest: The destination account to payout the claim.
  • ethereum_signature: The signature of an ethereum signed message matching the format described above.
  • statement: The identity of the statement which is being attested to in the signature.
The weight of this call is invariant over the input parameters. Weight includes logic to validate unsigned `claim_attest` call.

Total Complexity: O(1)

§Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::claim_attest.