Some checks are pending
Build Release and Upload to TestFlight (iOS) / build (push) Waiting to run
Build Release and Upload to TestFlight (iOS) / testflight-upload (push) Blocked by required conditions
BuildReleaseApk / buildReleaseApk (push) Waiting to run
BuildReleaseApk / browserstack (push) Blocked by required conditions
33 lines
910 B
TypeScript
33 lines
910 B
TypeScript
import { TWallet } from '../class/wallets/types';
|
|
import { BitcoinUnit, Chain } from '../models/bitcoinUnits';
|
|
import { ScanQRCodeParamList } from './DetailViewStackParamList';
|
|
import { TNavigationWrapper } from './SendDetailsStackParamList';
|
|
|
|
export type LNDStackParamsList = {
|
|
ScanLNDInvoice: {
|
|
walletID: string | undefined;
|
|
uri: string | undefined;
|
|
onBarScanned: string | undefined;
|
|
};
|
|
LnurlPay: {
|
|
lnurl: string;
|
|
walletID: string;
|
|
};
|
|
LnurlPaySuccess: undefined;
|
|
ScanQRCode: ScanQRCodeParamList;
|
|
SelectWallet: {
|
|
chainType?: Chain;
|
|
onWalletSelect?: (wallet: TWallet, navigationWrapper: TNavigationWrapper) => void;
|
|
availableWallets?: TWallet[];
|
|
noWalletExplanationText?: string;
|
|
onChainRequireSend?: boolean;
|
|
};
|
|
Success: {
|
|
amount?: number;
|
|
fee?: number;
|
|
invoiceDescription?: string;
|
|
amountUnit: BitcoinUnit;
|
|
txid?: string;
|
|
};
|
|
};
|