export type Like = { id: string // will be id of the object liked, i.e. contract.id userId: string type: 'contract' createdTime: number tipTxnId?: string // only holds most recent tip txn id } export const LIKE_TIP_AMOUNT = 10 export const TIP_UNDO_DURATION = 2000