import ArDB from 'ardb'; import Arweave from 'arweave'; import { Warp } from 'warp-contracts'; import { ArtByCityConfig } from '../config'; import { CurationContractStates } from '.'; import ArdbTransaction from 'ardb/lib/models/transaction'; import Curation from './curation'; export default class ArtByCityCurations { protected readonly arweave: Arweave; protected readonly warp: Warp; protected readonly config: ArtByCityConfig; protected readonly ardb: ArDB; constructor(arweave: Arweave, warp: Warp, config: ArtByCityConfig); get(curationId: string): Curation; createdBy(creator: string, cursor?: string): Promise<{ cursor: string; curations: ArdbTransaction[]; }>; }