diff --git a/packages/types-kit/src/types.ts b/packages/types-kit/src/types.ts index 839e9635a..a7c0fadc8 100644 --- a/packages/types-kit/src/types.ts +++ b/packages/types-kit/src/types.ts @@ -7,6 +7,15 @@ export enum OperationType { DelegateCall // 1 } +export const SignatureTypes = { + CONTRACT_SIGNATURE: 'CONTRACT_SIGNATURE', + EOA: 'EOA', + APPROVED_HASH: 'APPROVED_HASH', + ETH_SIGN: 'ETH_SIGN' +} as const + +export type SignatureType = (typeof SignatureTypes)[keyof typeof SignatureTypes] + export interface SafeSetupConfig { owners: string[] threshold: number @@ -194,7 +203,7 @@ export type SafeMultisigConfirmationResponse = { readonly transactionHash?: string readonly confirmationType?: string readonly signature: string - readonly signatureType?: string + readonly signatureType: SignatureType } export type ListResponse = {