UNPKG
ponder-client
Version:
latest (0.1.8)
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
Type-safe, lightweight Ponder client
github.com/Destiner/ponder-client
Destiner/ponder-client
ponder-client
/
lib
/
examples
/
basic
/
schema.js
12 lines
•
315 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{ createSchema }
from
'@ponder/core'
;
const
schema =
createSchema
(
(
p
) =>
({
Entity
: p.
createTable
({
id
: p.
string
(),
address
: p.
hex
(),
chainId
: p.
int
(),
factory
: p.
hex
(),
values
: p.
hex
().
list
(), }), }));
export
default
schema;
//# sourceMappingURL=schema.js.map