UNPKG

machinomy

Version:

Micropayments powered by Ethereum

8 lines (7 loc) 366 B
import ChannelId from '../../ChannelId'; import EnginePostgres from './EnginePostgres'; import AbstractTokensDatabase from '../AbstractTokensDatabase'; export default class PostgresTokensDatabase extends AbstractTokensDatabase<EnginePostgres> { save(token: string, channelId: ChannelId | string): Promise<void>; isPresent(token: string): Promise<boolean>; }