create-ponder 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/empty/ponder-env.d.ts +14 -19
- package/templates/etherscan/ponder-env.d.ts +14 -19
- package/templates/feature-factory/ponder-env.d.ts +14 -19
- package/templates/feature-filter/ponder-env.d.ts +14 -19
- package/templates/feature-multichain/ponder-env.d.ts +14 -19
- package/templates/feature-proxy/ponder-env.d.ts +14 -19
- package/templates/feature-read-contract/ponder-env.d.ts +14 -19
- package/templates/project-friendtech/ponder-env.d.ts +14 -19
- package/templates/project-uniswap-v3-flash/ponder-env.d.ts +14 -19
- package/templates/reference-erc20/ponder-env.d.ts +14 -19
- package/templates/reference-erc721/ponder-env.d.ts +14 -19
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
// See https://ponder.sh/docs/guides/typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
|
-
import type {
|
|
8
|
-
PonderContext,
|
|
9
|
-
PonderEvent,
|
|
10
|
-
PonderEventNames,
|
|
11
|
-
PonderApp,
|
|
12
|
-
} from "@ponder/core";
|
|
7
|
+
import type { Virtual } from "@ponder/core";
|
|
13
8
|
|
|
14
|
-
type
|
|
15
|
-
type
|
|
9
|
+
type config = typeof import("./ponder.config.ts").default;
|
|
10
|
+
type schema = typeof import("./ponder.schema.ts").default;
|
|
16
11
|
|
|
17
|
-
export const ponder:
|
|
18
|
-
|
|
19
|
-
export type
|
|
20
|
-
|
|
12
|
+
export const ponder: Virtual.Registry<config, schema>;
|
|
13
|
+
|
|
14
|
+
export type EventNames = Virtual.EventNames<config>;
|
|
15
|
+
export type Event<name extends EventNames = EventNames> = Virtual.Event<
|
|
16
|
+
config,
|
|
21
17
|
name
|
|
22
18
|
>;
|
|
23
|
-
export type Context<name extends EventNames = EventNames> =
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
export type Context<name extends EventNames = EventNames> = Virtual.Context<
|
|
20
|
+
config,
|
|
21
|
+
schema,
|
|
26
22
|
name
|
|
27
23
|
>;
|
|
28
|
-
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
24
|
+
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
25
|
+
Virtual.IndexingFunctionArgs<config, schema, name>;
|
|
26
|
+
export type Schema = Virtual.Schema<schema>;
|
|
32
27
|
}
|
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
// See https://ponder.sh/docs/guides/typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
|
-
import type {
|
|
8
|
-
PonderContext,
|
|
9
|
-
PonderEvent,
|
|
10
|
-
PonderEventNames,
|
|
11
|
-
PonderApp,
|
|
12
|
-
} from "@ponder/core";
|
|
7
|
+
import type { Virtual } from "@ponder/core";
|
|
13
8
|
|
|
14
|
-
type
|
|
15
|
-
type
|
|
9
|
+
type config = typeof import("./ponder.config.ts").default;
|
|
10
|
+
type schema = typeof import("./ponder.schema.ts").default;
|
|
16
11
|
|
|
17
|
-
export const ponder:
|
|
18
|
-
|
|
19
|
-
export type
|
|
20
|
-
|
|
12
|
+
export const ponder: Virtual.Registry<config, schema>;
|
|
13
|
+
|
|
14
|
+
export type EventNames = Virtual.EventNames<config>;
|
|
15
|
+
export type Event<name extends EventNames = EventNames> = Virtual.Event<
|
|
16
|
+
config,
|
|
21
17
|
name
|
|
22
18
|
>;
|
|
23
|
-
export type Context<name extends EventNames = EventNames> =
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
export type Context<name extends EventNames = EventNames> = Virtual.Context<
|
|
20
|
+
config,
|
|
21
|
+
schema,
|
|
26
22
|
name
|
|
27
23
|
>;
|
|
28
|
-
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
24
|
+
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
25
|
+
Virtual.IndexingFunctionArgs<config, schema, name>;
|
|
26
|
+
export type Schema = Virtual.Schema<schema>;
|
|
32
27
|
}
|
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
// See https://ponder.sh/docs/guides/typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
|
-
import type {
|
|
8
|
-
PonderContext,
|
|
9
|
-
PonderEvent,
|
|
10
|
-
PonderEventNames,
|
|
11
|
-
PonderApp,
|
|
12
|
-
} from "@ponder/core";
|
|
7
|
+
import type { Virtual } from "@ponder/core";
|
|
13
8
|
|
|
14
|
-
type
|
|
15
|
-
type
|
|
9
|
+
type config = typeof import("./ponder.config.ts").default;
|
|
10
|
+
type schema = typeof import("./ponder.schema.ts").default;
|
|
16
11
|
|
|
17
|
-
export const ponder:
|
|
18
|
-
|
|
19
|
-
export type
|
|
20
|
-
|
|
12
|
+
export const ponder: Virtual.Registry<config, schema>;
|
|
13
|
+
|
|
14
|
+
export type EventNames = Virtual.EventNames<config>;
|
|
15
|
+
export type Event<name extends EventNames = EventNames> = Virtual.Event<
|
|
16
|
+
config,
|
|
21
17
|
name
|
|
22
18
|
>;
|
|
23
|
-
export type Context<name extends EventNames = EventNames> =
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
export type Context<name extends EventNames = EventNames> = Virtual.Context<
|
|
20
|
+
config,
|
|
21
|
+
schema,
|
|
26
22
|
name
|
|
27
23
|
>;
|
|
28
|
-
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
24
|
+
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
25
|
+
Virtual.IndexingFunctionArgs<config, schema, name>;
|
|
26
|
+
export type Schema = Virtual.Schema<schema>;
|
|
32
27
|
}
|
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
// See https://ponder.sh/docs/guides/typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
|
-
import type {
|
|
8
|
-
PonderContext,
|
|
9
|
-
PonderEvent,
|
|
10
|
-
PonderEventNames,
|
|
11
|
-
PonderApp,
|
|
12
|
-
} from "@ponder/core";
|
|
7
|
+
import type { Virtual } from "@ponder/core";
|
|
13
8
|
|
|
14
|
-
type
|
|
15
|
-
type
|
|
9
|
+
type config = typeof import("./ponder.config.ts").default;
|
|
10
|
+
type schema = typeof import("./ponder.schema.ts").default;
|
|
16
11
|
|
|
17
|
-
export const ponder:
|
|
18
|
-
|
|
19
|
-
export type
|
|
20
|
-
|
|
12
|
+
export const ponder: Virtual.Registry<config, schema>;
|
|
13
|
+
|
|
14
|
+
export type EventNames = Virtual.EventNames<config>;
|
|
15
|
+
export type Event<name extends EventNames = EventNames> = Virtual.Event<
|
|
16
|
+
config,
|
|
21
17
|
name
|
|
22
18
|
>;
|
|
23
|
-
export type Context<name extends EventNames = EventNames> =
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
export type Context<name extends EventNames = EventNames> = Virtual.Context<
|
|
20
|
+
config,
|
|
21
|
+
schema,
|
|
26
22
|
name
|
|
27
23
|
>;
|
|
28
|
-
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
24
|
+
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
25
|
+
Virtual.IndexingFunctionArgs<config, schema, name>;
|
|
26
|
+
export type Schema = Virtual.Schema<schema>;
|
|
32
27
|
}
|
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
// See https://ponder.sh/docs/guides/typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
|
-
import type {
|
|
8
|
-
PonderContext,
|
|
9
|
-
PonderEvent,
|
|
10
|
-
PonderEventNames,
|
|
11
|
-
PonderApp,
|
|
12
|
-
} from "@ponder/core";
|
|
7
|
+
import type { Virtual } from "@ponder/core";
|
|
13
8
|
|
|
14
|
-
type
|
|
15
|
-
type
|
|
9
|
+
type config = typeof import("./ponder.config.ts").default;
|
|
10
|
+
type schema = typeof import("./ponder.schema.ts").default;
|
|
16
11
|
|
|
17
|
-
export const ponder:
|
|
18
|
-
|
|
19
|
-
export type
|
|
20
|
-
|
|
12
|
+
export const ponder: Virtual.Registry<config, schema>;
|
|
13
|
+
|
|
14
|
+
export type EventNames = Virtual.EventNames<config>;
|
|
15
|
+
export type Event<name extends EventNames = EventNames> = Virtual.Event<
|
|
16
|
+
config,
|
|
21
17
|
name
|
|
22
18
|
>;
|
|
23
|
-
export type Context<name extends EventNames = EventNames> =
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
export type Context<name extends EventNames = EventNames> = Virtual.Context<
|
|
20
|
+
config,
|
|
21
|
+
schema,
|
|
26
22
|
name
|
|
27
23
|
>;
|
|
28
|
-
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
24
|
+
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
25
|
+
Virtual.IndexingFunctionArgs<config, schema, name>;
|
|
26
|
+
export type Schema = Virtual.Schema<schema>;
|
|
32
27
|
}
|
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
// See https://ponder.sh/docs/guides/typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
|
-
import type {
|
|
8
|
-
PonderContext,
|
|
9
|
-
PonderEvent,
|
|
10
|
-
PonderEventNames,
|
|
11
|
-
PonderApp,
|
|
12
|
-
} from "@ponder/core";
|
|
7
|
+
import type { Virtual } from "@ponder/core";
|
|
13
8
|
|
|
14
|
-
type
|
|
15
|
-
type
|
|
9
|
+
type config = typeof import("./ponder.config.ts").default;
|
|
10
|
+
type schema = typeof import("./ponder.schema.ts").default;
|
|
16
11
|
|
|
17
|
-
export const ponder:
|
|
18
|
-
|
|
19
|
-
export type
|
|
20
|
-
|
|
12
|
+
export const ponder: Virtual.Registry<config, schema>;
|
|
13
|
+
|
|
14
|
+
export type EventNames = Virtual.EventNames<config>;
|
|
15
|
+
export type Event<name extends EventNames = EventNames> = Virtual.Event<
|
|
16
|
+
config,
|
|
21
17
|
name
|
|
22
18
|
>;
|
|
23
|
-
export type Context<name extends EventNames = EventNames> =
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
export type Context<name extends EventNames = EventNames> = Virtual.Context<
|
|
20
|
+
config,
|
|
21
|
+
schema,
|
|
26
22
|
name
|
|
27
23
|
>;
|
|
28
|
-
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
24
|
+
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
25
|
+
Virtual.IndexingFunctionArgs<config, schema, name>;
|
|
26
|
+
export type Schema = Virtual.Schema<schema>;
|
|
32
27
|
}
|
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
// See https://ponder.sh/docs/guides/typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
|
-
import type {
|
|
8
|
-
PonderContext,
|
|
9
|
-
PonderEvent,
|
|
10
|
-
PonderEventNames,
|
|
11
|
-
PonderApp,
|
|
12
|
-
} from "@ponder/core";
|
|
7
|
+
import type { Virtual } from "@ponder/core";
|
|
13
8
|
|
|
14
|
-
type
|
|
15
|
-
type
|
|
9
|
+
type config = typeof import("./ponder.config.ts").default;
|
|
10
|
+
type schema = typeof import("./ponder.schema.ts").default;
|
|
16
11
|
|
|
17
|
-
export const ponder:
|
|
18
|
-
|
|
19
|
-
export type
|
|
20
|
-
|
|
12
|
+
export const ponder: Virtual.Registry<config, schema>;
|
|
13
|
+
|
|
14
|
+
export type EventNames = Virtual.EventNames<config>;
|
|
15
|
+
export type Event<name extends EventNames = EventNames> = Virtual.Event<
|
|
16
|
+
config,
|
|
21
17
|
name
|
|
22
18
|
>;
|
|
23
|
-
export type Context<name extends EventNames = EventNames> =
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
export type Context<name extends EventNames = EventNames> = Virtual.Context<
|
|
20
|
+
config,
|
|
21
|
+
schema,
|
|
26
22
|
name
|
|
27
23
|
>;
|
|
28
|
-
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
24
|
+
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
25
|
+
Virtual.IndexingFunctionArgs<config, schema, name>;
|
|
26
|
+
export type Schema = Virtual.Schema<schema>;
|
|
32
27
|
}
|
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
// See https://ponder.sh/docs/guides/typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
|
-
import type {
|
|
8
|
-
PonderContext,
|
|
9
|
-
PonderEvent,
|
|
10
|
-
PonderEventNames,
|
|
11
|
-
PonderApp,
|
|
12
|
-
} from "@ponder/core";
|
|
7
|
+
import type { Virtual } from "@ponder/core";
|
|
13
8
|
|
|
14
|
-
type
|
|
15
|
-
type
|
|
9
|
+
type config = typeof import("./ponder.config.ts").default;
|
|
10
|
+
type schema = typeof import("./ponder.schema.ts").default;
|
|
16
11
|
|
|
17
|
-
export const ponder:
|
|
18
|
-
|
|
19
|
-
export type
|
|
20
|
-
|
|
12
|
+
export const ponder: Virtual.Registry<config, schema>;
|
|
13
|
+
|
|
14
|
+
export type EventNames = Virtual.EventNames<config>;
|
|
15
|
+
export type Event<name extends EventNames = EventNames> = Virtual.Event<
|
|
16
|
+
config,
|
|
21
17
|
name
|
|
22
18
|
>;
|
|
23
|
-
export type Context<name extends EventNames = EventNames> =
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
export type Context<name extends EventNames = EventNames> = Virtual.Context<
|
|
20
|
+
config,
|
|
21
|
+
schema,
|
|
26
22
|
name
|
|
27
23
|
>;
|
|
28
|
-
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
24
|
+
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
25
|
+
Virtual.IndexingFunctionArgs<config, schema, name>;
|
|
26
|
+
export type Schema = Virtual.Schema<schema>;
|
|
32
27
|
}
|
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
// See https://ponder.sh/docs/guides/typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
|
-
import type {
|
|
8
|
-
PonderContext,
|
|
9
|
-
PonderEvent,
|
|
10
|
-
PonderEventNames,
|
|
11
|
-
PonderApp,
|
|
12
|
-
} from "@ponder/core";
|
|
7
|
+
import type { Virtual } from "@ponder/core";
|
|
13
8
|
|
|
14
|
-
type
|
|
15
|
-
type
|
|
9
|
+
type config = typeof import("./ponder.config.ts").default;
|
|
10
|
+
type schema = typeof import("./ponder.schema.ts").default;
|
|
16
11
|
|
|
17
|
-
export const ponder:
|
|
18
|
-
|
|
19
|
-
export type
|
|
20
|
-
|
|
12
|
+
export const ponder: Virtual.Registry<config, schema>;
|
|
13
|
+
|
|
14
|
+
export type EventNames = Virtual.EventNames<config>;
|
|
15
|
+
export type Event<name extends EventNames = EventNames> = Virtual.Event<
|
|
16
|
+
config,
|
|
21
17
|
name
|
|
22
18
|
>;
|
|
23
|
-
export type Context<name extends EventNames = EventNames> =
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
export type Context<name extends EventNames = EventNames> = Virtual.Context<
|
|
20
|
+
config,
|
|
21
|
+
schema,
|
|
26
22
|
name
|
|
27
23
|
>;
|
|
28
|
-
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
24
|
+
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
25
|
+
Virtual.IndexingFunctionArgs<config, schema, name>;
|
|
26
|
+
export type Schema = Virtual.Schema<schema>;
|
|
32
27
|
}
|
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
// See https://ponder.sh/docs/guides/typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
|
-
import type {
|
|
8
|
-
PonderContext,
|
|
9
|
-
PonderEvent,
|
|
10
|
-
PonderEventNames,
|
|
11
|
-
PonderApp,
|
|
12
|
-
} from "@ponder/core";
|
|
7
|
+
import type { Virtual } from "@ponder/core";
|
|
13
8
|
|
|
14
|
-
type
|
|
15
|
-
type
|
|
9
|
+
type config = typeof import("./ponder.config.ts").default;
|
|
10
|
+
type schema = typeof import("./ponder.schema.ts").default;
|
|
16
11
|
|
|
17
|
-
export const ponder:
|
|
18
|
-
|
|
19
|
-
export type
|
|
20
|
-
|
|
12
|
+
export const ponder: Virtual.Registry<config, schema>;
|
|
13
|
+
|
|
14
|
+
export type EventNames = Virtual.EventNames<config>;
|
|
15
|
+
export type Event<name extends EventNames = EventNames> = Virtual.Event<
|
|
16
|
+
config,
|
|
21
17
|
name
|
|
22
18
|
>;
|
|
23
|
-
export type Context<name extends EventNames = EventNames> =
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
export type Context<name extends EventNames = EventNames> = Virtual.Context<
|
|
20
|
+
config,
|
|
21
|
+
schema,
|
|
26
22
|
name
|
|
27
23
|
>;
|
|
28
|
-
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
24
|
+
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
25
|
+
Virtual.IndexingFunctionArgs<config, schema, name>;
|
|
26
|
+
export type Schema = Virtual.Schema<schema>;
|
|
32
27
|
}
|
|
@@ -4,29 +4,24 @@
|
|
|
4
4
|
// See https://ponder.sh/docs/guides/typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
|
-
import type {
|
|
8
|
-
PonderContext,
|
|
9
|
-
PonderEvent,
|
|
10
|
-
PonderEventNames,
|
|
11
|
-
PonderApp,
|
|
12
|
-
} from "@ponder/core";
|
|
7
|
+
import type { Virtual } from "@ponder/core";
|
|
13
8
|
|
|
14
|
-
type
|
|
15
|
-
type
|
|
9
|
+
type config = typeof import("./ponder.config.ts").default;
|
|
10
|
+
type schema = typeof import("./ponder.schema.ts").default;
|
|
16
11
|
|
|
17
|
-
export const ponder:
|
|
18
|
-
|
|
19
|
-
export type
|
|
20
|
-
|
|
12
|
+
export const ponder: Virtual.Registry<config, schema>;
|
|
13
|
+
|
|
14
|
+
export type EventNames = Virtual.EventNames<config>;
|
|
15
|
+
export type Event<name extends EventNames = EventNames> = Virtual.Event<
|
|
16
|
+
config,
|
|
21
17
|
name
|
|
22
18
|
>;
|
|
23
|
-
export type Context<name extends EventNames = EventNames> =
|
|
24
|
-
|
|
25
|
-
|
|
19
|
+
export type Context<name extends EventNames = EventNames> = Virtual.Context<
|
|
20
|
+
config,
|
|
21
|
+
schema,
|
|
26
22
|
name
|
|
27
23
|
>;
|
|
28
|
-
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
};
|
|
24
|
+
export type IndexingFunctionArgs<name extends EventNames = EventNames> =
|
|
25
|
+
Virtual.IndexingFunctionArgs<config, schema, name>;
|
|
26
|
+
export type Schema = Virtual.Schema<schema>;
|
|
32
27
|
}
|