@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
17 lines (16 loc) • 825 B
TypeScript
import React from 'react';
import type { Address } from 'viem';
import { type MeshExchangeType } from '~/consts/mesh';
import type { PaymentMethodBrokerageInfo } from '../../domains/paymentMethods';
import { type CheckoutModalCommonState, FunCheckoutStep, type ModalStepComponentProps, type ModalStepInfo } from './stepTransition';
export type MeshVerificationState = CheckoutModalCommonState & {
paymentMethodInfo: PaymentMethodBrokerageInfo;
};
export type MeshVerificationNext = {
depositAddress: Address;
} | {
depositAddress: null;
brokerType: MeshExchangeType;
};
export declare const MeshVerificationInfo: ModalStepInfo<FunCheckoutStep.MESH_VERIFICATION>;
export declare function MeshVerification({ modalState, onNext, }: ModalStepComponentProps<FunCheckoutStep.MESH_VERIFICATION>): React.JSX.Element;