UNPKG

@0xsplits/splits-sdk-react

Version:

React wrapper for the 0xSplits SDK

74 lines (73 loc) 1.77 kB
export { SplitsClient } from '@0xsplits/splits-sdk' export type { SplitsClientConfig, SplitRecipient, Split, FormattedTokenBalances, WaterfallTranche, WaterfallModule, WaterfallTrancheInput, SplitsContract, LiquidSplit, VestingStream, VestingModule, RecoupTrancheInput, DiversifierRecipient, } from '@0xsplits/splits-sdk' export { SplitsProvider } from './context' export { useCreateSplit, useUpdateSplit, useDistributeToken, useUpdateSplitAndDistributeToken, useWithdrawFunds, useAcceptControlTransfer, useCancelControlTransfer, useInitiateControlTransfer, useMakeSplitImmutable, useCreateWaterfallModule, useWaterfallFunds, useRecoverNonWaterfallFunds, useWithdrawWaterfallPullFunds, useCreateLiquidSplit, useDistributeLiquidSplitToken, useTransferLiquidSplitOwnership, useCreateVestingModule, useStartVest, useReleaseVestedFunds, useMulticall, useSplitsClient, useSplitMetadata, useSplitMetadataViaProvider, useSplitEarnings, useContractEarnings, useWaterfallMetadata, useLiquidSplitMetadata, useVestingMetadata, useSwapperMetadata, useUserEarnings, useUserEarningsByContract, useCreateRecoup, useCreateSwapper, useUniV3FlashSwap, useSwapperExecCalls, useSwapperPause, useSwapperSetBeneficiary, useSwapperSetTokenToBeneficiary, useSwapperSetOracle, useSwapperSetDefaultScaledOfferFactor, useSwapperSetScaledOfferFactorOverrides, useCreateDiversifier, useCreatePassThroughWallet, usePassThroughTokens, usePassThroughWalletPause, usePassThroughWalletExecCalls, useCreateSplitV2, useDistributeTokenV2, useBatchWithdrawWarehouse, useExecCalls, useSetPause, useTransferOwnership, useUpdateSplitV2, useWithdrawWarehouse, } from './hooks'