import { onchainTable, primaryKey } from "ponder"; export const account = onchainTable( "account", (t) => ({ chainId: t.integer().notNull(), address: t.hex().notNull(), balance: t.bigint().notNull(), }), (table) => ({ pk: primaryKey({ columns: [table.chainId, table.address] }), }), );