import { Zat } from 'utils/units'; import { Proposal } from 'types'; export interface Contribution { id: string; txId: string; amount: string; dateCreated: number; status: 'PENDING' | 'CONFIRMED'; } export interface ContributionWithAddresses extends Contribution { addresses: { sprout: string; transparent: string; memo: string; }; } export interface UserContribution extends Omit { amount: Zat; txId?: string; proposal: Proposal; }