type UserData = {
id: string;
walletAddress: string;
name: string;
email: string;
providerId: string;
avatar: string;
};
type GetUserProfileReturn = { success: true; data: UserData } | { success: false; message: string };
type SignInWithGoogleReturn = { success: true; user: UserData } | { success: false; message: string };
type SignOutUserReturn = { success: true } | { success: false; message: string };
type MovementTransactionArguments = { argument: string; type: TransactionArgumentTypes };
type MovementTransactionFuncArgs = {
email: string;
accountAddress: string;
network: MovementNetwork;
contractAddress: string;
contractName: string;
functionName: string;
arguments: Array<MovementTransactionArguments>;
usePaymaster?: boolean;
};
type MovementTransactionData = { transactionHash: string };
type MovementTransactionReturn = { success: true; data: MovementTransactionData } | { success: false; data: string };