UNPKG

@0xsplits/splits-sdk

Version:

SDK for the 0xSplits protocol

18 lines (17 loc) 3.17 kB
import { LiquidSplitClient } from './client/liquidSplit'; import { WaterfallClient } from './client/waterfall'; import { VestingClient } from './client/vesting'; import { TemplatesClient } from './client/templates'; import { SplitV1Client } from './client/splitV1'; import { PassThroughWalletClient } from './client/passThroughWallet'; import { SwapperClient } from './client/swapper'; import { OracleClient } from './client/oracle'; import { WarehouseClient } from './client/warehouse'; import { SplitV2Client } from './client/splitV2'; import { DataClient } from './client/data'; import { SplitsClient } from './client'; export { SplitV1Client, WaterfallClient, LiquidSplitClient, VestingClient, TemplatesClient, PassThroughWalletClient, SwapperClient, OracleClient, SplitV2Client, WarehouseClient, DataClient, SplitsClient, }; export * from './errors'; export { SPLITS_V2_SUPPORTED_CHAIN_IDS, SPLITS_SUPPORTED_CHAIN_IDS, SPLITS_SUBGRAPH_CHAIN_IDS, WATERFALL_CHAIN_IDS, LIQUID_SPLIT_CHAIN_IDS, VESTING_CHAIN_IDS, TEMPLATES_CHAIN_IDS, SPLITS_MAX_PRECISION_DECIMALS, LIQUID_SPLITS_MAX_PRECISION_DECIMALS, } from './constants'; export type { MulticallConfig, CreateSplitConfig, UpdateSplitConfig, DistributeTokenConfig, UpdateSplitAndDistributeTokenConfig, WithdrawFundsConfig, InitiateControlTransferConfig, CancelControlTransferConfig, AcceptControlTransferConfig, MakeSplitImmutableConfig, CreateWaterfallConfig, WaterfallFundsConfig, RecoverNonWaterfallFundsConfig, WithdrawWaterfallPullFundsConfig, CreateLiquidSplitConfig, DistributeLiquidSplitTokenConfig, TransferLiquidSplitOwnershipConfig, CreateVestingConfig, StartVestConfig, ReleaseVestedFundsConfig, CreateRecoupConfig, RecoupTrancheInput, SplitsClientConfig, SplitRecipient, Split, FormattedTokenBalances, FormattedContractEarnings, FormattedSplitEarnings, FormattedUserEarnings, FormattedEarningsByContract, FormattedUserEarningsByContract, WaterfallTranche, WaterfallModule, WaterfallTrancheInput, SplitsContract, LiquidSplit, VestingStream, VestingModule, Swapper, Recipient, Token, CreateSwapperConfig, UniV3FlashSwapConfig, SwapperExecCallsConfig, SwapperPauseConfig, SwapperSetBeneficiaryConfig, SwapperSetTokenToBeneficiaryConfig, SwapperSetOracleConfig, SwapperSetDefaultScaledOfferFactorConfig, SwapperSetScaledOfferFactorOverridesConfig, CreateDiversifierConfig, DiversifierRecipient, CallData, CreatePassThroughWalletConfig, PassThroughTokensConfig, PassThroughWalletPauseConfig, PassThroughWalletExecCallsConfig, WarehouseApproveBySig, WarehouseApproveConfig, WarehouseApproveBySigConfig, WarehouseBatchDepositConfig, WarehouseBatchTransferConfig, WarehouseBatchWithdrawConfig, WarehouseDepositConfig, WarehouseInvalidateNonceConfig, WarehouseSetOperatorConfig, WarehouseSetWithdrawConfig, WarehouseTemporaryApproveAndCallBySig, WarehouseTemporaryApproveAndCallBySigConfig, WarehouseTemporaryApproveAndCallConfig, WarehouseTransferConfig, WarehouseTransferFromConfig, WarehouseWithdrawConfig, SplitV2, CreateSplitV2Config, UpdateSplitV2Config, DistributeSplitConfig, TransferOwnershipConfig, SetPausedConfig, SplitV2ExecCallsConfig, } from './types'; export { roundToDecimals } from './utils';