@ocap/statedb-memory
Version:
OCAP statedb adapter that uses memory as backend statedb, just for test purpose
14 lines (12 loc) • 348 B
text/typescript
import MemoryTable from "./base.cjs";
import { IRollupState } from "@ocap/types";
//#region src/table/rollup.d.ts
/**
* Rollup 表
* 扩展基础表,增加按代币查询功能
*/
declare class RollupTable extends MemoryTable<IRollupState> {
existByToken(token?: string): Promise<boolean>;
}
//#endregion
export { RollupTable as default };