import type { GrumpkinScalar } from '@aztec/foundation/curves/grumpkin'; import type { PublicKey } from '@aztec/stdlib/keys'; /** * The four master privacy secret keys the key store holds for an account: the nullifier-hiding, incoming-viewing, * outgoing-viewing, and tagging keys. */ export type AccountPrivacySecretKeys = { masterNullifierHidingSecretKey: GrumpkinScalar; masterIncomingViewingSecretKey: GrumpkinScalar; masterOutgoingViewingSecretKey: GrumpkinScalar; masterTaggingSecretKey: GrumpkinScalar; }; /** * The keys needed to register an account: the four privacy secret keys the key store holds, plus the *public* * message-signing and fallback keys. The message-signing and fallback secret keys are withheld from the key store (and * hence from PXE, which embeds it), since it is not trusted to hold them: only their public keys are needed (to * reconstruct the account's address). */ export type AccountPrivacyKeys = AccountPrivacySecretKeys & { masterMessageSigningPublicKey: PublicKey; masterFallbackPublicKey: PublicKey; }; //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3VudF9wcml2YWN5X2tleXMuZC50cyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9hY2NvdW50X3ByaXZhY3lfa2V5cy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssRUFBRSxjQUFjLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUN4RSxPQUFPLEtBQUssRUFBRSxTQUFTLEVBQUUsTUFBTSxvQkFBb0IsQ0FBQztBQUVwRDs7O0dBR0c7QUFDSCxNQUFNLE1BQU0sd0JBQXdCLEdBQUc7SUFDckMsOEJBQThCLEVBQUUsY0FBYyxDQUFDO0lBQy9DLDhCQUE4QixFQUFFLGNBQWMsQ0FBQztJQUMvQyw4QkFBOEIsRUFBRSxjQUFjLENBQUM7SUFDL0Msc0JBQXNCLEVBQUUsY0FBYyxDQUFDO0NBQ3hDLENBQUM7QUFFRjs7Ozs7R0FLRztBQUNILE1BQU0sTUFBTSxrQkFBa0IsR0FBRyx3QkFBd0IsR0FBRztJQUMxRCw2QkFBNkIsRUFBRSxTQUFTLENBQUM7SUFDekMsdUJBQXVCLEVBQUUsU0FBUyxDQUFDO0NBQ3BDLENBQUMifQ==