@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
17 lines (16 loc) • 840 B
TypeScript
import React from 'react';
import type { Address } from 'viem';
import type { BluvoExchangeInfo } from '../../../consts/bluvo';
import type { PaymentMethodBrokerageInfo } from '../../../domains/paymentMethods';
import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from '../stepTransition';
export type BrokerageTwoFAState = CheckoutModalCommonState & {
paymentMethodInfo: PaymentMethodBrokerageInfo;
};
export type BrokerageTwoFANext = {
depositAddress: Address;
} | {
depositAddress: null;
brokerType: BluvoExchangeInfo;
};
export declare const BrokerageTwoFAInfo: ModalStepInfo<FunCheckoutStep.BROKERAGE_TWO_FA>;
export declare function BrokerageTwoFA({ onNext, onBack, setModalState, }: ModalStepComponentProps<FunCheckoutStep.BROKERAGE_TWO_FA>): React.JSX.Element;