Type Alias AffidavitPayloadOf

Source
pub type AffidavitPayloadOf<T> = AffidavitPayload<<T as SigningTypes>::Public, AffidavitId<T>>;
Expand description

Runtime-specialized payload type for affidavit declaration.

This is a concrete alias of AffidavitPayload using the runtime’s configured signing public key.

§Usage

  • Used by the pallet’s unsigned declare extrinsic.
  • Signed offchain using the active affidavit key.
  • Verified on-chain via ValidateUnsigned.

§Design Notes

  • Separates signing identity (raw public key) from runtime identity (account-based affidavit ID).
  • Ensures payloads are always consistent with the runtime’s configured application crypto.

Aliased Type§

pub struct AffidavitPayloadOf<T> {
    pub public: <T as SigningTypes>::Public,
    pub rotate: <T as Config>::AccountId,
}

Fields§

§public: <T as SigningTypes>::Public

Active affidavit public key used for authorization.

§rotate: <T as Config>::AccountId

Next affidavit key to be rotated in for the upcoming session.