2024-05-26 22:03:35 -04:00
|
|
|
import { LightningTransaction } from '../class/wallets/types';
|
2024-09-23 21:36:45 -04:00
|
|
|
import { ElectrumServerItem } from '../screen/settings/ElectrumSettings';
|
2024-06-10 15:02:44 -04:00
|
|
|
import { SendDetailsParams } from './SendDetailsStackParamList';
|
2024-05-26 22:03:35 -04:00
|
|
|
|
2024-05-22 20:35:36 +01:00
|
|
|
export type DetailViewStackParamList = {
|
2024-05-26 19:24:42 -04:00
|
|
|
UnlockWithScreen: undefined;
|
2024-07-22 23:04:18 -04:00
|
|
|
WalletsList: { scannedData?: string };
|
2024-08-12 17:27:19 -04:00
|
|
|
WalletTransactions: { isLoading?: boolean; walletID: string; walletType: string };
|
2024-05-22 20:35:36 +01:00
|
|
|
WalletDetails: { walletID: string };
|
2024-08-12 17:27:19 -04:00
|
|
|
TransactionDetails: { transactionId: string; hash: string; walletID: string };
|
2024-05-22 20:35:36 +01:00
|
|
|
TransactionStatus: { hash?: string; walletID?: string };
|
|
|
|
CPFP: { transactionId: string };
|
|
|
|
RBFBumpFee: { transactionId: string };
|
|
|
|
RBFCancel: { transactionId: string };
|
|
|
|
SelectWallet: undefined;
|
2024-05-26 22:03:35 -04:00
|
|
|
LNDViewInvoice: { invoice: LightningTransaction; walletID: string };
|
2024-05-22 20:35:36 +01:00
|
|
|
LNDViewAdditionalInvoiceInformation: { invoiceId: string };
|
|
|
|
LNDViewAdditionalInvoicePreImage: { invoiceId: string };
|
2024-07-22 23:19:32 -04:00
|
|
|
Broadcast: { scannedData?: string };
|
2024-10-12 23:18:29 -04:00
|
|
|
IsItMyAddress: { address?: string };
|
2024-05-22 20:35:36 +01:00
|
|
|
GenerateWord: undefined;
|
|
|
|
LnurlPay: undefined;
|
2024-05-26 22:03:35 -04:00
|
|
|
LnurlPaySuccess: {
|
|
|
|
paymentHash: string;
|
|
|
|
justPaid: boolean;
|
|
|
|
fromWalletID: string;
|
|
|
|
};
|
2024-05-22 20:35:36 +01:00
|
|
|
LnurlAuth: undefined;
|
|
|
|
Success: undefined;
|
|
|
|
WalletAddresses: { walletID: string };
|
|
|
|
AddWalletRoot: undefined;
|
2024-06-07 09:37:45 -04:00
|
|
|
SendDetailsRoot: {
|
|
|
|
screen: string;
|
2024-06-10 15:11:02 -04:00
|
|
|
params: SendDetailsParams;
|
|
|
|
merge: boolean;
|
|
|
|
};
|
2024-05-22 20:35:36 +01:00
|
|
|
LNDCreateInvoiceRoot: undefined;
|
2024-05-26 22:03:35 -04:00
|
|
|
ScanLndInvoiceRoot: {
|
|
|
|
screen: string;
|
|
|
|
params: {
|
|
|
|
paymentHash: string;
|
|
|
|
fromWalletID: string;
|
|
|
|
justPaid: boolean;
|
|
|
|
};
|
|
|
|
};
|
2024-05-22 20:35:36 +01:00
|
|
|
AztecoRedeemRoot: undefined;
|
|
|
|
WalletExportRoot: undefined;
|
|
|
|
ExportMultisigCoordinationSetupRoot: undefined;
|
|
|
|
Settings: undefined;
|
|
|
|
Currency: undefined;
|
|
|
|
GeneralSettings: undefined;
|
|
|
|
PlausibleDeniability: undefined;
|
|
|
|
Licensing: undefined;
|
|
|
|
NetworkSettings: undefined;
|
|
|
|
About: undefined;
|
|
|
|
DefaultView: undefined;
|
2024-09-26 21:18:37 -04:00
|
|
|
ElectrumSettings: { server?: ElectrumServerItem };
|
2024-09-26 02:36:51 -04:00
|
|
|
SettingsBlockExplorer: undefined;
|
2024-05-22 20:35:36 +01:00
|
|
|
EncryptStorage: undefined;
|
|
|
|
Language: undefined;
|
2024-05-26 22:03:35 -04:00
|
|
|
LightningSettings: {
|
|
|
|
url?: string;
|
|
|
|
};
|
2024-05-22 20:35:36 +01:00
|
|
|
NotificationSettings: undefined;
|
2024-05-25 07:44:43 -04:00
|
|
|
SelfTest: undefined;
|
2024-05-22 20:35:36 +01:00
|
|
|
ReleaseNotes: undefined;
|
2024-10-31 22:25:47 -04:00
|
|
|
ToolsScreen: undefined;
|
2024-05-22 20:35:36 +01:00
|
|
|
SettingsPrivacy: undefined;
|
|
|
|
ViewEditMultisigCosignersRoot: { walletID: string; cosigners: string[] };
|
|
|
|
WalletXpubRoot: undefined;
|
2024-05-26 22:03:35 -04:00
|
|
|
SignVerifyRoot: {
|
|
|
|
screen: 'SignVerify';
|
|
|
|
params: {
|
|
|
|
walletID: string;
|
|
|
|
address: string;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
ReceiveDetailsRoot: {
|
|
|
|
screen: 'ReceiveDetails';
|
|
|
|
params: {
|
2024-10-12 20:29:23 -04:00
|
|
|
walletID?: string;
|
2024-05-26 22:03:35 -04:00
|
|
|
address: string;
|
|
|
|
};
|
|
|
|
};
|
2024-05-22 20:35:36 +01:00
|
|
|
ScanQRCodeRoot: {
|
2024-05-26 22:03:35 -04:00
|
|
|
screen: string;
|
|
|
|
params: {
|
|
|
|
isLoading: false;
|
|
|
|
cameraStatusGranted?: boolean;
|
|
|
|
backdoorPressed?: boolean;
|
|
|
|
launchedBy?: string;
|
|
|
|
urTotal?: number;
|
|
|
|
urHave?: number;
|
|
|
|
backdoorText?: string;
|
|
|
|
onDismiss?: () => void;
|
|
|
|
showFileImportButton: true;
|
|
|
|
backdoorVisible?: boolean;
|
|
|
|
animatedQRCodeData?: Record<string, any>;
|
|
|
|
};
|
2024-05-22 20:35:36 +01:00
|
|
|
};
|
2024-06-10 20:44:05 -04:00
|
|
|
PaymentCodeList: {
|
|
|
|
paymentCode: string;
|
|
|
|
walletID: string;
|
2024-06-07 14:50:50 -04:00
|
|
|
};
|
2024-07-26 19:35:53 -04:00
|
|
|
ManageWallets: undefined;
|
2024-06-10 15:11:02 -04:00
|
|
|
};
|