18 lines
633 B
TypeScript
18 lines
633 B
TypeScript
export type ColdWalletRow = {
|
|
id: string;
|
|
wallet_type_id: number;
|
|
address: string;
|
|
label: string | null;
|
|
is_active: boolean;
|
|
created_at: Date;
|
|
updated_at: Date;
|
|
};
|
|
export declare function getActiveColdWallet(walletTypeId: number): Promise<ColdWalletRow | null>;
|
|
export declare function listColdWallets(): Promise<ColdWalletRow[]>;
|
|
export declare function upsertActiveColdWallet(input: {
|
|
walletTypeId: number;
|
|
address: string;
|
|
label?: string;
|
|
}): Promise<ColdWalletRow>;
|
|
export declare function deactivateColdWallet(id: string): Promise<void>;
|
|
//# sourceMappingURL=coldWalletRepository.d.ts.map
|