import { SafeServiceConfig } from './config'; import { Logger, RequestContext } from '@chimera-monorepo/utils'; import { WriteTransaction } from './shared'; /** * @classdesc Proposes transactions to a Safe transaction service. */ export declare class SafeService { protected readonly logger: Logger; protected readonly config: SafeServiceConfig; protected senderAddress: string; constructor(logger: Logger, config: SafeServiceConfig); /** * Creates a new multi-signature transaction and stores it in the Safe transaction service. * * @param tx - Tx to propose * @param tx.to - Address to send tx to * @param tx.value - Value to send tx with * @param tx.data - Calldata to execute * @param context - RequestContext for logging * * @returns The hash of the Safe transaction proposed * * @throws "Invalid Safe address" * @throws "Invalid safeTxHash" * @throws "Invalid data" * @throws "Invalid ethereum address/User is not an owner/Invalid signature/ * Nonce already executed/Sender is not an owner" */ proposeTransaction(tx: WriteTransaction, context: RequestContext): Promise; } //# sourceMappingURL=safeservice.d.ts.map