@upv/ushi-shared
Version:
Shared DTOs, types, and utilities for the USHI platform (LMS, Trials, Social, Wallet).
21 lines (20 loc) • 641 B
TypeScript
import BaseDto from '../base/BaseDto';
import { IWalletProfileDto, IWalletProfile } from '../../../types/walletProfile';
/**
* WalletProfileDto
*
* DTO for storing blockchain-linked user identity.
*/
declare class WalletProfileDto extends BaseDto<IWalletProfileDto> {
protected _userId: string;
protected _walletAddress: string;
protected _network: string;
protected _verified: boolean;
constructor(data: IWalletProfileDto);
serialize(): Promise<IWalletProfile>;
get userId(): string;
get walletAddress(): string;
get network(): string;
get verified(): boolean;
}
export default WalletProfileDto;