UNPKG

@0xsplits/splits-sdk-react

Version:

React wrapper for the 0xSplits SDK

23 lines (18 loc) 483 B
import { Address } from 'viem' export type ContractExecutionStatus = | 'pendingApproval' | 'txInProgress' | 'complete' | 'error' export type DataLoadStatus = 'success' | 'error' | 'loading' // eslint-disable-next-line @typescript-eslint/no-explicit-any export type RequestError = any export type SplitProviderSearchCacheData = { blockRange: bigint controller: Address blocks: { createBlock?: bigint updateBlock?: bigint latestScannedBlock: bigint } }