UNPKG

@0xsplits/splits-kit

Version:

UI Components for working with 0xSplits contracts

24 lines (19 loc) 448 B
export type IAddress = `0x${string}` export type IAccount = IAddress | null | undefined export type Recipient = { address: string percentAllocation: number ensName?: string } export type Balance = { decimals: number formattedAmount: string rawAmount: bigint symbol: string } export type ICreateSplitForm = { recipients: Recipient[] distributorFee: number owner: IAddress } export type SplitType = 'v1' | 'v2Pull' | 'v2Push'