@particle-network/auth-core-modal
Version:
Auth Core provides MPC (Multi-Party Computation)-based threshold signatures.
21 lines (20 loc) • 899 B
TypeScript
import { type EVMDeserializeTransactionResult, type EVMFunction } from '@particle-network/auth-core';
import type { ChainInfo } from '@particle-network/chains';
import React from 'react';
import type { AuthError } from '../../../api/model/authError';
interface Props {
displayDetail: boolean;
gasError: AuthError | undefined;
setGasVis: React.Dispatch<React.SetStateAction<boolean>>;
formatFunction: (evmFunction: EVMFunction) => string;
setDisplayDetail: React.Dispatch<React.SetStateAction<boolean>>;
transactionInfo: EVMDeserializeTransactionResult | undefined;
changeApproveAmount: string;
setChangeApproveAmount: (amount: string) => Promise<void>;
signLoading: boolean;
signMessage: () => JSX.Element;
chainInfo: ChainInfo;
signMethod: string;
}
declare const NewErcTransfers: (props: Props) => React.JSX.Element;
export default NewErcTransfers;