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