@herd-labs/sdk 0.0.1 → 0.0.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.
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { ActionsService } from "../services/ActionsService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient9 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient0 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/ActionsServiceLive.d.ts
7
- declare const ActionsServiceLive: Layer.Layer<ActionsService, never, HerdConfig | _effect_platform_HttpClient9.HttpClient>;
7
+ declare const ActionsServiceLive: Layer.Layer<ActionsService, never, HerdConfig | _effect_platform_HttpClient0.HttpClient>;
8
8
  //#endregion
9
9
  export { ActionsServiceLive };
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { AdaptersService } from "../services/AdaptersService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient3 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient6 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/AdaptersServiceLive.d.ts
7
- declare const AdaptersServiceLive: Layer.Layer<AdaptersService, never, HerdConfig | _effect_platform_HttpClient3.HttpClient>;
7
+ declare const AdaptersServiceLive: Layer.Layer<AdaptersService, never, HerdConfig | _effect_platform_HttpClient6.HttpClient>;
8
8
  //#endregion
9
9
  export { AdaptersServiceLive };
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { AuthService } from "../services/AuthService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient0 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient9 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/AuthServiceLive.d.ts
7
- declare const AuthServiceLive: Layer.Layer<AuthService, never, HerdConfig | _effect_platform_HttpClient0.HttpClient>;
7
+ declare const AuthServiceLive: Layer.Layer<AuthService, never, HerdConfig | _effect_platform_HttpClient9.HttpClient>;
8
8
  //#endregion
9
9
  export { AuthServiceLive };
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { BookmarksService } from "../services/BookmarksService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient0 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient1 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/BookmarksServiceLive.d.ts
7
- declare const BookmarksServiceLive: Layer.Layer<BookmarksService, never, HerdConfig | _effect_platform_HttpClient0.HttpClient>;
7
+ declare const BookmarksServiceLive: Layer.Layer<BookmarksService, never, HerdConfig | _effect_platform_HttpClient1.HttpClient>;
8
8
  //#endregion
9
9
  export { BookmarksServiceLive };
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { CodeBlocksService } from "../services/CodeBlocksService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient5 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient4 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/CodeBlocksServiceLive.d.ts
7
- declare const CodeBlocksServiceLive: Layer.Layer<CodeBlocksService, never, HerdConfig | _effect_platform_HttpClient5.HttpClient>;
7
+ declare const CodeBlocksServiceLive: Layer.Layer<CodeBlocksService, never, HerdConfig | _effect_platform_HttpClient4.HttpClient>;
8
8
  //#endregion
9
9
  export { CodeBlocksServiceLive };
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { CollectionsService } from "../services/CollectionsService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient4 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient2 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/CollectionsServiceLive.d.ts
7
- declare const CollectionsServiceLive: Layer.Layer<CollectionsService, never, HerdConfig | _effect_platform_HttpClient4.HttpClient>;
7
+ declare const CollectionsServiceLive: Layer.Layer<CollectionsService, never, HerdConfig | _effect_platform_HttpClient2.HttpClient>;
8
8
  //#endregion
9
9
  export { CollectionsServiceLive };
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { ContractsService } from "../services/ContractsService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient1 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient5 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/ContractsServiceLive.d.ts
7
- declare const ContractsServiceLive: Layer.Layer<ContractsService, never, HerdConfig | _effect_platform_HttpClient1.HttpClient>;
7
+ declare const ContractsServiceLive: Layer.Layer<ContractsService, never, HerdConfig | _effect_platform_HttpClient5.HttpClient>;
8
8
  //#endregion
9
9
  export { ContractsServiceLive };
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { DocsService } from "../services/DocsService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient2 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient0 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/DocsServiceLive.d.ts
7
- declare const DocsServiceLive: Layer.Layer<DocsService, never, HerdConfig | _effect_platform_HttpClient2.HttpClient>;
7
+ declare const DocsServiceLive: Layer.Layer<DocsService, never, HerdConfig | _effect_platform_HttpClient0.HttpClient>;
8
8
  //#endregion
9
9
  export { DocsServiceLive };
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { HalService } from "../services/HalService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient8 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient3 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/HalServiceLive.d.ts
7
- declare const HalServiceLive: Layer.Layer<HalService, never, HerdConfig | _effect_platform_HttpClient8.HttpClient>;
7
+ declare const HalServiceLive: Layer.Layer<HalService, never, HerdConfig | _effect_platform_HttpClient3.HttpClient>;
8
8
  //#endregion
9
9
  export { HalServiceLive };
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { TransactionsService } from "../services/TransactionsService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient6 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient8 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/TransactionsServiceLive.d.ts
7
- declare const TransactionsServiceLive: Layer.Layer<TransactionsService, never, HerdConfig | _effect_platform_HttpClient6.HttpClient>;
7
+ declare const TransactionsServiceLive: Layer.Layer<TransactionsService, never, HerdConfig | _effect_platform_HttpClient8.HttpClient>;
8
8
  //#endregion
9
9
  export { TransactionsServiceLive };
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand0 from "effect/Brand";
2
+ import * as effect_Brand3 from "effect/Brand";
3
3
 
4
4
  //#region src/schemas/actions.d.ts
5
5
  declare const ActionExpression_base: Schema.Class<ActionExpression, {
@@ -26,10 +26,10 @@ declare const ActionExpression_base: Schema.Class<ActionExpression, {
26
26
  readonly id: string;
27
27
  } & {
28
28
  readonly name: string;
29
- } & {
30
- readonly expression: unknown;
31
29
  } & {
32
30
  readonly intent?: string | undefined;
31
+ } & {
32
+ readonly expression: unknown;
33
33
  } & {
34
34
  readonly publishedAt?: string | null | undefined;
35
35
  }, {}, {}>;
@@ -102,10 +102,10 @@ declare const ActionVersion_base: Schema.Class<ActionVersion, {
102
102
  readonly id: string;
103
103
  } & {
104
104
  readonly name: string;
105
- } & {
106
- readonly expression: unknown;
107
105
  } & {
108
106
  readonly intent?: string | undefined;
107
+ } & {
108
+ readonly expression: unknown;
109
109
  } & {
110
110
  readonly publishedAt?: string | null | undefined;
111
111
  }, {}, {}>;
@@ -210,9 +210,9 @@ declare const RelatedAdaptersContract_base: Schema.Class<RelatedAdaptersContract
210
210
  contractAddress: typeof Schema.String;
211
211
  functionSignatures: Schema.Array$<typeof RelatedAdaptersFunctionSignature>;
212
212
  }>, never, {
213
- readonly contractAddress: string;
214
- } & {
215
213
  readonly blockchain: string | null;
214
+ } & {
215
+ readonly contractAddress: string;
216
216
  } & {
217
217
  readonly functionSignatures: readonly RelatedAdaptersFunctionSignature[];
218
218
  }, {}, {}>;
@@ -235,8 +235,8 @@ declare const RelatedAdaptersSearchParams_base: Schema.Class<RelatedAdaptersSear
235
235
  }>, never, {
236
236
  readonly contracts: readonly {
237
237
  readonly blockchain?: "ethereum" | "base" | undefined;
238
- readonly address: string & effect_Brand0.Brand<"EvmAddress">;
239
238
  readonly functionSignatures?: readonly string[] | undefined;
239
+ readonly address: string & effect_Brand3.Brand<"EvmAddress">;
240
240
  }[];
241
241
  } & {
242
242
  readonly scope: readonly ("yours" | "verified")[];
@@ -252,10 +252,10 @@ declare const CreateActionParams_base: Schema.Class<CreateActionParams, {
252
252
  expression: typeof Schema.Unknown;
253
253
  }>, never, {
254
254
  readonly name: string;
255
- } & {
256
- readonly expression: unknown;
257
255
  } & {
258
256
  readonly intent?: string | undefined;
257
+ } & {
258
+ readonly expression: unknown;
259
259
  }, {}, {}>;
260
260
  declare class CreateActionParams extends CreateActionParams_base {}
261
261
  declare const CreateActionResponse_base: Schema.Class<CreateActionResponse, {
@@ -11,10 +11,10 @@ declare const CreateAdapterParams_base: Schema.Class<CreateAdapterParams, {
11
11
  expression: typeof Schema.Unknown;
12
12
  }>, never, {
13
13
  readonly name: string;
14
- } & {
15
- readonly expression: unknown;
16
14
  } & {
17
15
  readonly intent?: string | undefined;
16
+ } & {
17
+ readonly expression: unknown;
18
18
  }, {}, {}>;
19
19
  declare class CreateAdapterParams extends CreateAdapterParams_base {}
20
20
  //#endregion
@@ -24,13 +24,13 @@ declare const TokenResponse_base: Schema.Class<TokenResponse, {
24
24
  expiresIn: typeof Schema.Number;
25
25
  tokenType: typeof Schema.String;
26
26
  }>, never, {
27
+ readonly tokenType: string;
28
+ } & {
27
29
  readonly accessToken: string;
28
30
  } & {
29
31
  readonly refreshToken: string;
30
32
  } & {
31
33
  readonly expiresIn: number;
32
- } & {
33
- readonly tokenType: string;
34
34
  }, {}, {}>;
35
35
  declare class TokenResponse extends TokenResponse_base {}
36
36
  declare const ApiKeyResponse_base: Schema.Class<ApiKeyResponse, {
@@ -24,10 +24,10 @@ declare const ContractBookmark_base: Schema.Class<ContractBookmark, {
24
24
  updatedAt: typeof Schema.String;
25
25
  }>, never, {
26
26
  readonly id: string;
27
- } & {
28
- readonly contractAddress: string;
29
27
  } & {
30
28
  readonly blockchain: string;
29
+ } & {
30
+ readonly contractAddress: string;
31
31
  } & {
32
32
  readonly createdAt: string;
33
33
  } & {
@@ -154,11 +154,11 @@ declare const AddTransactionBookmarkParams_base: Schema.Class<AddTransactionBook
154
154
  blockchain: Schema.Literal<["ethereum", "base"]>;
155
155
  label: Schema.optional<typeof Schema.String>;
156
156
  }>, never, {
157
+ readonly txHash: string;
158
+ } & {
157
159
  readonly blockchain: "ethereum" | "base";
158
160
  } & {
159
161
  readonly label?: string | undefined;
160
- } & {
161
- readonly txHash: string;
162
162
  }, {}, {}>;
163
163
  declare class AddTransactionBookmarkParams extends AddTransactionBookmarkParams_base {}
164
164
  declare const AddWalletBookmarkParams_base: Schema.Class<AddWalletBookmarkParams, {
@@ -186,6 +186,8 @@ declare const UpdateBookmarkLabelParams_base: Schema.Class<UpdateBookmarkLabelPa
186
186
  blockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
187
187
  label: Schema.NullOr<typeof Schema.String>;
188
188
  }>, never, {
189
+ readonly txHash?: string | undefined;
190
+ } & {
189
191
  readonly blockchain?: "ethereum" | "base" | undefined;
190
192
  } & {
191
193
  readonly label: string | null;
@@ -193,8 +195,6 @@ declare const UpdateBookmarkLabelParams_base: Schema.Class<UpdateBookmarkLabelPa
193
195
  readonly address?: string | undefined;
194
196
  } & {
195
197
  readonly objectType: "contract" | "transaction" | "wallet";
196
- } & {
197
- readonly txHash?: string | undefined;
198
198
  }, {}, {}>;
199
199
  declare class UpdateBookmarkLabelParams extends UpdateBookmarkLabelParams_base {}
200
200
  declare const DeleteBookmarkParams_base: Schema.Class<DeleteBookmarkParams, {
@@ -208,13 +208,13 @@ declare const DeleteBookmarkParams_base: Schema.Class<DeleteBookmarkParams, {
208
208
  txHash: Schema.optional<typeof Schema.String>;
209
209
  blockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
210
210
  }>, never, {
211
+ readonly txHash?: string | undefined;
212
+ } & {
211
213
  readonly blockchain?: "ethereum" | "base" | undefined;
212
214
  } & {
213
215
  readonly address?: string | undefined;
214
216
  } & {
215
217
  readonly objectType: "contract" | "transaction" | "wallet";
216
- } & {
217
- readonly txHash?: string | undefined;
218
218
  }, {}, {}>;
219
219
  declare class DeleteBookmarkParams extends DeleteBookmarkParams_base {}
220
220
  //#endregion
@@ -21,12 +21,12 @@ declare const CodeBlockCode_base: Schema.Class<CodeBlockCode, {
21
21
  readonly id: string;
22
22
  } & {
23
23
  readonly name: string;
24
- } & {
25
- readonly code: string;
26
24
  } & {
27
25
  readonly intent: string;
28
26
  } & {
29
27
  readonly publishedAt: string | null;
28
+ } & {
29
+ readonly code: string;
30
30
  } & {
31
31
  readonly valTownFileUrl: string;
32
32
  } & {
@@ -71,10 +71,10 @@ declare const CodeBlockDefinition_base: Schema.Class<CodeBlockDefinition, {
71
71
  readonly id: string;
72
72
  } & {
73
73
  readonly name: string;
74
- } & {
75
- readonly actionId?: string | null | undefined;
76
74
  } & {
77
75
  readonly intent: string;
76
+ } & {
77
+ readonly actionId?: string | null | undefined;
78
78
  } & {
79
79
  readonly latestCode: CodeBlockCode | null;
80
80
  } & {
@@ -99,12 +99,12 @@ declare const CodeBlocksSearchParams_base: Schema.Class<CodeBlocksSearchParams,
99
99
  readonly limit: number;
100
100
  } & {
101
101
  readonly scope: "user" | "public";
102
+ } & {
103
+ readonly cursor?: string | undefined;
102
104
  } & {
103
105
  readonly filters?: {
104
106
  readonly name?: string | undefined;
105
107
  } | undefined;
106
- } & {
107
- readonly cursor?: string | undefined;
108
108
  }, {}, {}>;
109
109
  declare class CodeBlocksSearchParams extends CodeBlocksSearchParams_base {}
110
110
  declare const CodeBlocksSearchResponse_base: Schema.Class<CodeBlocksSearchResponse, {
@@ -141,14 +141,14 @@ declare const CreateCodeBlockResponse_base: Schema.Class<CreateCodeBlockResponse
141
141
  readonly id: string;
142
142
  } & {
143
143
  readonly name: string;
144
+ } & {
145
+ readonly intent: string;
144
146
  } & {
145
147
  readonly code: {
146
148
  readonly id: string;
147
149
  readonly name: string;
148
150
  readonly valTownFileUrl: string;
149
151
  };
150
- } & {
151
- readonly intent: string;
152
152
  }, {}, {}>;
153
153
  declare class CreateCodeBlockResponse extends CreateCodeBlockResponse_base {}
154
154
  declare const PublishCodeBlockResponse_base: Schema.Class<PublishCodeBlockResponse, {
@@ -221,10 +221,10 @@ declare const CreateCodeBlockParams_base: Schema.Class<CreateCodeBlockParams, {
221
221
  intent: Schema.optional<typeof Schema.String>;
222
222
  }>, never, {
223
223
  readonly name: string;
224
- } & {
225
- readonly code: string;
226
224
  } & {
227
225
  readonly intent?: string | undefined;
226
+ } & {
227
+ readonly code: string;
228
228
  }, {}, {}>;
229
229
  declare class CreateCodeBlockParams extends CreateCodeBlockParams_base {}
230
230
  declare const CreateCodeVersionParams_base: Schema.Class<CreateCodeVersionParams, {
@@ -237,10 +237,10 @@ declare const CreateCodeVersionParams_base: Schema.Class<CreateCodeVersionParams
237
237
  intent: Schema.optional<typeof Schema.String>;
238
238
  }>, never, {
239
239
  readonly name: string;
240
- } & {
241
- readonly code: string;
242
240
  } & {
243
241
  readonly intent?: string | undefined;
242
+ } & {
243
+ readonly code: string;
244
244
  }, {}, {}>;
245
245
  declare class CreateCodeVersionParams extends CreateCodeVersionParams_base {}
246
246
  declare const CreateCodeVersionResponse_base: Schema.Class<CreateCodeVersionResponse, {
@@ -261,12 +261,12 @@ declare const CreateCodeVersionResponse_base: Schema.Class<CreateCodeVersionResp
261
261
  readonly id: string;
262
262
  } & {
263
263
  readonly name: string;
264
- } & {
265
- readonly code: string;
266
264
  } & {
267
265
  readonly intent: string;
268
266
  } & {
269
267
  readonly publishedAt: string | null;
268
+ } & {
269
+ readonly code: string;
270
270
  } & {
271
271
  readonly valTownFileUrl: string;
272
272
  }, {}, {}>;
@@ -11,10 +11,10 @@ declare const CollectionSpecItem_base: Schema.Class<CollectionSpecItem, {
11
11
  expressionRef: typeof Schema.String;
12
12
  }>, never, {
13
13
  readonly id: string;
14
- } & {
15
- readonly type: "action" | "adapter";
16
14
  } & {
17
15
  readonly expressionRef: string;
16
+ } & {
17
+ readonly type: "action" | "adapter";
18
18
  }, {}, {}>;
19
19
  declare class CollectionSpecItem extends CollectionSpecItem_base {}
20
20
  declare const CollectionSpec_base: Schema.Class<CollectionSpec, {
@@ -69,10 +69,10 @@ declare const Collection_base: Schema.Class<Collection, {
69
69
  latestVersion: Schema.NullOr<typeof CollectionVersion>;
70
70
  }>, never, {
71
71
  readonly id: string;
72
- } & {
73
- readonly description: string;
74
72
  } & {
75
73
  readonly name: string;
74
+ } & {
75
+ readonly description: string;
76
76
  } & {
77
77
  readonly latestVersion: CollectionVersion | null;
78
78
  }, {}, {}>;
@@ -142,15 +142,15 @@ declare const CreateCollectionParams_base: Schema.Class<CreateCollectionParams,
142
142
  expressionImports: Schema.Array$<typeof Schema.String>;
143
143
  protocols: Schema.optional<Schema.Array$<typeof Schema.String>>;
144
144
  }>, never, {
145
- readonly description?: string | undefined;
146
- } & {
147
145
  readonly name: string;
146
+ } & {
147
+ readonly description?: string | undefined;
148
148
  } & {
149
149
  readonly spec: {
150
150
  readonly items: readonly {
151
151
  readonly id: string;
152
- readonly type: "action" | "adapter";
153
152
  readonly expressionRef: string;
153
+ readonly type: "action" | "adapter";
154
154
  }[];
155
155
  readonly version: "1.0";
156
156
  };
@@ -191,8 +191,8 @@ declare const CreateCollectionResponse_base: Schema.Class<CreateCollectionRespon
191
191
  } & {
192
192
  readonly collection: {
193
193
  readonly id: string;
194
- readonly description: string;
195
194
  readonly name: string;
195
+ readonly description: string;
196
196
  };
197
197
  }, {}, {}>;
198
198
  declare class CreateCollectionResponse extends CreateCollectionResponse_base {}
@@ -223,15 +223,15 @@ declare const UpdateCollectionParams_base: Schema.Class<UpdateCollectionParams,
223
223
  expressionImports: Schema.optional<Schema.Array$<typeof Schema.String>>;
224
224
  protocols: Schema.optional<Schema.Array$<typeof Schema.String>>;
225
225
  }>, never, {
226
- readonly description?: string | undefined;
227
- } & {
228
226
  readonly name?: string | undefined;
227
+ } & {
228
+ readonly description?: string | undefined;
229
229
  } & {
230
230
  readonly spec?: {
231
231
  readonly items: readonly {
232
232
  readonly id: string;
233
- readonly type: "action" | "adapter";
234
233
  readonly expressionRef: string;
234
+ readonly type: "action" | "adapter";
235
235
  }[];
236
236
  readonly version: "1.0";
237
237
  } | undefined;
@@ -11,9 +11,9 @@ declare const FunctionSummary_base: Schema.Class<FunctionSummary, {
11
11
  signature: typeof Schema.String;
12
12
  summary: typeof Schema.String;
13
13
  }>, never, {
14
- readonly signature: string;
15
- } & {
16
14
  readonly name: string;
15
+ } & {
16
+ readonly signature: string;
17
17
  } & {
18
18
  readonly summary: string;
19
19
  }, {}, {}>;
@@ -67,9 +67,9 @@ declare const TopHolder_base: Schema.Class<TopHolder, {
67
67
  entityLabel: Schema.optional<typeof Schema.String>;
68
68
  coingeckoLabel: Schema.optional<typeof Schema.String>;
69
69
  }>, never, {
70
- readonly address: string;
71
- } & {
72
70
  readonly name?: string | undefined;
71
+ } & {
72
+ readonly address: string;
73
73
  } & {
74
74
  readonly type: "contract" | "wallet";
75
75
  } & {
@@ -118,12 +118,12 @@ declare const TokenDetails_base: Schema.Class<TokenDetails, {
118
118
  topHolders: Schema.optional<Schema.Array$<typeof TopHolder>>;
119
119
  }>, never, {
120
120
  readonly symbol: string;
121
+ } & {
122
+ readonly name: string;
121
123
  } & {
122
124
  readonly description?: string | undefined;
123
125
  } & {
124
126
  readonly tokenType: "ERC20" | "ERC721" | "ERC1155";
125
- } & {
126
- readonly name: string;
127
127
  } & {
128
128
  readonly decimals?: number | undefined;
129
129
  } & {
@@ -180,8 +180,8 @@ declare const AddressDetails_base: Schema.Class<AddressDetails, {
180
180
  readonly deploymentTxHash?: string | undefined;
181
181
  } & {
182
182
  readonly factory?: {
183
- readonly address: string;
184
183
  readonly name: string;
184
+ readonly address: string;
185
185
  } | undefined;
186
186
  } & {
187
187
  readonly constructorArgs?: {
@@ -300,9 +300,9 @@ declare const ContractCodeMatchBlock_base: Schema.Class<ContractCodeMatchBlock,
300
300
  numberOfMatches: typeof Schema.Number;
301
301
  patterns: Schema.Array$<typeof Schema.String>;
302
302
  }>, never, {
303
- readonly patterns: readonly string[];
304
- } & {
305
303
  readonly code: string;
304
+ } & {
305
+ readonly patterns: readonly string[];
306
306
  } & {
307
307
  readonly fileName: string;
308
308
  } & {
@@ -328,9 +328,9 @@ declare const ContractCodeSearchResult_base: Schema.Class<ContractCodeSearchResu
328
328
  proxyCode: Schema.optional<typeof Schema.String>;
329
329
  matches: Schema.optional<Schema.Array$<typeof ContractCodeMatchBlock>>;
330
330
  }>, never, {
331
- readonly contractAddress: string & effect_Brand4.Brand<"EvmAddress">;
332
- } & {
333
331
  readonly blockchain: "ethereum" | "base";
332
+ } & {
333
+ readonly contractAddress: string & effect_Brand4.Brand<"EvmAddress">;
334
334
  } & {
335
335
  readonly contractName: string;
336
336
  } & {
@@ -577,7 +577,7 @@ declare const RolesNode_base: Schema.Class<RolesNode, {
577
577
  } & {
578
578
  readonly multisigDetails?: RolesNodeMultisigDetails | undefined;
579
579
  } & {
580
- readonly processState?: "processed" | "skipped" | "failed" | "max_depth" | undefined;
580
+ readonly processState?: "failed" | "processed" | "skipped" | "max_depth" | undefined;
581
581
  } & {
582
582
  readonly nodeDepth?: number | undefined;
583
583
  }, {}, {}>;
@@ -645,9 +645,9 @@ declare const ContractDiff_base: Schema.Class<ContractDiff, {
645
645
  contractAddress: Schema.optional<typeof Schema.String>;
646
646
  blockchain: Schema.optional<typeof Schema.String>;
647
647
  }>, never, {
648
- readonly contractAddress?: string | undefined;
649
- } & {
650
648
  readonly blockchain?: string | undefined;
649
+ } & {
650
+ readonly contractAddress?: string | undefined;
651
651
  } & {
652
652
  readonly errorMessage?: string | undefined;
653
653
  } & {
@@ -11,10 +11,10 @@ declare const DocEntry_base: Schema.Class<DocEntry, {
11
11
  description: Schema.optional<typeof Schema.String>;
12
12
  }>, never, {
13
13
  readonly id: string;
14
- } & {
15
- readonly description?: string | undefined;
16
14
  } & {
17
15
  readonly name: string;
16
+ } & {
17
+ readonly description?: string | undefined;
18
18
  }, {}, {}>;
19
19
  declare class DocEntry extends DocEntry_base {}
20
20
  declare const DocContent_base: Schema.Class<DocContent, {
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand2 from "effect/Brand";
2
+ import * as effect_Brand1 from "effect/Brand";
3
3
 
4
4
  //#region src/schemas/hal.d.ts
5
5
  declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
@@ -25,11 +25,9 @@ declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
25
25
  tevmForkId: Schema.optional<typeof Schema.String>;
26
26
  simulationBlockNumber: Schema.optional<typeof Schema.Number>;
27
27
  }>, never, {
28
- readonly walletAddress: string & effect_Brand2.Brand<"EvmAddress">;
29
- } & {
30
- readonly tevmForkId?: string | undefined;
31
- } & {
32
28
  readonly expression: unknown;
29
+ } & {
30
+ readonly walletAddress: string & effect_Brand1.Brand<"EvmAddress">;
33
31
  } & {
34
32
  readonly inputValues?: {
35
33
  readonly [x: string]: unknown;
@@ -39,6 +37,8 @@ declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
39
37
  readonly tokenAddress: string;
40
38
  readonly startingBalanceRaw: string;
41
39
  }[] | undefined;
40
+ } & {
41
+ readonly tevmForkId?: string | undefined;
42
42
  } & {
43
43
  readonly simulationBlockNumber?: number | undefined;
44
44
  }, {}, {}>;
@@ -66,11 +66,7 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
66
66
  tevmForkId: Schema.optional<typeof Schema.String>;
67
67
  simulationBlockNumber: Schema.optional<typeof Schema.Number>;
68
68
  }>, never, {
69
- readonly walletAddress: string & effect_Brand2.Brand<"EvmAddress">;
70
- } & {
71
- readonly actionId: string;
72
- } & {
73
- readonly tevmForkId?: string | undefined;
69
+ readonly walletAddress: string & effect_Brand1.Brand<"EvmAddress">;
74
70
  } & {
75
71
  readonly version?: string | undefined;
76
72
  } & {
@@ -82,8 +78,12 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
82
78
  readonly tokenAddress: string;
83
79
  readonly startingBalanceRaw: string;
84
80
  }[] | undefined;
81
+ } & {
82
+ readonly tevmForkId?: string | undefined;
85
83
  } & {
86
84
  readonly simulationBlockNumber?: number | undefined;
85
+ } & {
86
+ readonly actionId: string;
87
87
  }, {}, {}>;
88
88
  declare class EvaluateExistingParams extends EvaluateExistingParams_base {}
89
89
  declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
@@ -127,25 +127,25 @@ declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
127
127
  } & {
128
128
  readonly transactionHash: string | null;
129
129
  } & {
130
- readonly toContractName: string | null;
130
+ readonly status: "failed" | "success" | "pending";
131
131
  } & {
132
- readonly blockNumber: number | null;
132
+ readonly batchName: string | null;
133
133
  } & {
134
- readonly data?: string | undefined;
134
+ readonly batchStepIndex: number | null;
135
135
  } & {
136
- readonly blockTimestamp: number | null;
136
+ readonly toContractName: string | null;
137
137
  } & {
138
- readonly to?: string | undefined;
138
+ readonly transactionErrorMessage: string | null;
139
139
  } & {
140
- readonly status: "success" | "failed" | "pending";
140
+ readonly blockNumber: number | null;
141
141
  } & {
142
- readonly batchName: string | null;
142
+ readonly blockTimestamp: number | null;
143
143
  } & {
144
- readonly batchStepIndex: number | null;
144
+ readonly operationId?: string | undefined;
145
145
  } & {
146
- readonly transactionErrorMessage: string | null;
146
+ readonly to?: string | undefined;
147
147
  } & {
148
- readonly operationId?: string | undefined;
148
+ readonly data?: string | undefined;
149
149
  } & {
150
150
  readonly args?: unknown;
151
151
  } & {
@@ -177,18 +177,18 @@ declare const EvaluateResponse_base: Schema.Class<EvaluateResponse, {
177
177
  tevmForkId: Schema.optional<typeof Schema.String>;
178
178
  tevmForkBlockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
179
179
  }>, never, {
180
- readonly status: "failed" | "completed" | "suspended";
181
- } & {
182
- readonly error?: {
183
- readonly message: string;
184
- readonly name: string;
185
- } | undefined;
180
+ readonly hint?: string | undefined;
186
181
  } & {
187
182
  readonly tevmForkId?: string | undefined;
183
+ } & {
184
+ readonly status: "completed" | "suspended" | "failed";
188
185
  } & {
189
186
  readonly result?: unknown;
190
187
  } & {
191
- readonly hint?: string | undefined;
188
+ readonly error?: {
189
+ readonly message: string;
190
+ readonly name: string;
191
+ } | undefined;
192
192
  } & {
193
193
  readonly transactionStatuses?: readonly TransactionStatus[] | undefined;
194
194
  } & {
@@ -449,12 +449,18 @@ declare const Transaction_base: Schema.Class<Transaction, {
449
449
  tevmForkId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
450
450
  }>, never, {
451
451
  readonly id: string;
452
- } & {
453
- readonly blockchain: "ethereum" | "base";
454
452
  } & {
455
453
  readonly txHash: string;
454
+ } & {
455
+ readonly blockchain: "ethereum" | "base";
456
456
  } & {
457
457
  readonly functionSignature?: string | null | undefined;
458
+ } & {
459
+ readonly tevmForkId?: string | null | undefined;
460
+ } & {
461
+ readonly error?: string | null | undefined;
462
+ } & {
463
+ readonly success: boolean;
458
464
  } & {
459
465
  readonly blockNumber: number;
460
466
  } & {
@@ -463,20 +469,20 @@ declare const Transaction_base: Schema.Class<Transaction, {
463
469
  readonly toAddress: string;
464
470
  } & {
465
471
  readonly timestamp: number;
466
- } & {
467
- readonly success: boolean;
468
472
  } & {
469
473
  readonly decodedTraces: DecodedTrace;
470
474
  } & {
471
475
  readonly transactionMetadata: {
472
476
  readonly value: number;
473
- readonly hash: string;
474
477
  readonly from: string;
475
- readonly blockHash: string;
478
+ readonly hash: string;
479
+ readonly type: string;
480
+ readonly status: number;
476
481
  readonly blockNumber: number;
482
+ readonly to: string | null;
483
+ readonly blockHash: string;
477
484
  readonly transactionIndex: number;
478
485
  readonly chainId: number;
479
- readonly type: string;
480
486
  readonly gas: number;
481
487
  readonly gasPrice: number;
482
488
  readonly nonce: number;
@@ -484,29 +490,25 @@ declare const Transaction_base: Schema.Class<Transaction, {
484
490
  readonly r: string;
485
491
  readonly s: string;
486
492
  readonly v: string;
487
- readonly to: string | null;
488
493
  readonly timestamp: number;
489
- readonly status: number;
490
494
  readonly gasUsed: number;
491
495
  readonly effectiveGasPrice: number;
492
496
  };
493
- } & {
494
- readonly error?: string | null | undefined;
495
497
  } & {
496
498
  readonly decodedLogs: readonly {
497
499
  readonly transactionHash: string;
498
500
  readonly address: string;
499
- readonly blockHash: string;
500
501
  readonly blockNumber: number;
501
502
  readonly data: string;
503
+ readonly blockHash: string;
502
504
  readonly topics: readonly string[];
503
505
  readonly logIndex: number;
504
506
  readonly transactionIndex: number;
505
507
  readonly removed: boolean;
506
508
  readonly emittedAfterTraceAddress: readonly number[];
507
509
  readonly implementation?: {
508
- readonly address: string;
509
510
  readonly name: string;
511
+ readonly address: string;
510
512
  readonly is7702?: boolean | undefined;
511
513
  } | undefined;
512
514
  readonly decoded?: {
@@ -522,28 +524,28 @@ declare const Transaction_base: Schema.Class<Transaction, {
522
524
  } | undefined;
523
525
  readonly lineNumber: number;
524
526
  readonly eventFunctionDetails: {
527
+ readonly functionSignature: string;
525
528
  readonly address: string;
526
529
  readonly functionName: string | null;
527
530
  readonly addressName: string | null;
528
- readonly functionSignature: string;
529
531
  readonly traceAddress: readonly number[];
530
532
  } | null;
531
533
  }[];
532
534
  } & {
533
535
  readonly balanceChanges: readonly {
534
- readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
535
536
  readonly txHash?: string | undefined;
536
- readonly blockNumber: number;
537
537
  readonly tokenAddress: string;
538
+ readonly blockNumber: number;
539
+ readonly blockTimestamp: number;
540
+ readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
541
+ readonly tokenSymbol: string;
538
542
  readonly holderAddress: string;
539
543
  readonly holderIsContract: boolean;
540
544
  readonly balanceChange: number;
541
- readonly blockTimestamp: number;
542
545
  readonly chainId: number;
543
546
  readonly tokenId: number;
544
547
  readonly tokenDecimals: number;
545
548
  readonly tokenName: string;
546
- readonly tokenSymbol: string;
547
549
  readonly tokenPriceUsd: number;
548
550
  readonly tokenLogoUrl: string;
549
551
  readonly holderEntityLabel?: string | null | undefined;
@@ -551,20 +553,20 @@ declare const Transaction_base: Schema.Class<Transaction, {
551
553
  }[];
552
554
  } & {
553
555
  readonly transfers: readonly {
554
- readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
555
556
  readonly txHash: string;
557
+ readonly tokenAddress: string;
558
+ readonly blockNumber: number;
559
+ readonly blockTimestamp: number;
560
+ readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
561
+ readonly tokenSymbol: string;
556
562
  readonly toEntityLabel?: string | null | undefined;
557
563
  readonly fromEntityLabel?: string | null | undefined;
558
564
  readonly traceAddress?: string | undefined;
559
- readonly blockNumber: number;
560
565
  readonly logIndex?: number | undefined;
561
- readonly tokenAddress: string;
562
- readonly blockTimestamp: number;
563
566
  readonly chainId: number;
564
567
  readonly tokenId: number;
565
568
  readonly tokenDecimals: number;
566
569
  readonly tokenName: string;
567
- readonly tokenSymbol: string;
568
570
  readonly tokenPriceUsd: number;
569
571
  readonly tokenLogoUrl: string;
570
572
  readonly fromAddress: string;
@@ -598,12 +600,10 @@ declare const Transaction_base: Schema.Class<Transaction, {
598
600
  } & {
599
601
  readonly actionExecution?: {
600
602
  readonly actionId: string;
601
- readonly versionId: string;
602
603
  readonly actionName: string;
604
+ readonly versionId: string;
603
605
  readonly executionId: string;
604
606
  } | undefined;
605
- } & {
606
- readonly tevmForkId?: string | null | undefined;
607
607
  }, {}, {}>;
608
608
  declare class Transaction extends Transaction_base {}
609
609
  declare const TransactionQueryResponse_base: Schema.Class<TransactionQueryResponse, {
@@ -763,19 +763,20 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
763
763
  }>>;
764
764
  }>>>;
765
765
  }>, never, {
766
- readonly contractAddress?: string | undefined;
767
- } & {
768
766
  readonly blockchain?: "ethereum" | "base" | undefined;
767
+ } & {
768
+ readonly contractAddress?: string | undefined;
769
769
  } & {
770
770
  readonly transactions?: readonly {
771
- readonly from: string;
772
771
  readonly txHash: string;
772
+ readonly from: string;
773
+ readonly success: boolean;
773
774
  readonly blockNumber: number;
774
775
  readonly blockTimestamp: number;
775
- readonly success: boolean;
776
776
  readonly blockTimestampUtc: string;
777
777
  readonly functionCalls: readonly {
778
778
  readonly value: number;
779
+ readonly signature: string;
779
780
  readonly functionName: string;
780
781
  readonly inputArgs: {
781
782
  readonly [x: string]: unknown;
@@ -783,25 +784,24 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
783
784
  readonly outputArgs: {
784
785
  readonly [x: string]: unknown;
785
786
  } | null;
786
- readonly signature: string;
787
787
  readonly traceInput: string;
788
788
  readonly callerFunctionDetails: {
789
+ readonly functionSignature: string | null;
789
790
  readonly address: string;
790
791
  readonly functionName: string | null;
791
792
  readonly addressName: string | null;
792
- readonly functionSignature: string | null;
793
793
  readonly traceAddress: readonly number[];
794
794
  } | null;
795
795
  }[];
796
796
  }[] | undefined;
797
- } & {
798
- readonly signature?: string | undefined;
799
797
  } & {
800
798
  readonly errorMessage?: string | undefined;
799
+ } & {
800
+ readonly signature?: string | undefined;
801
801
  } & {
802
802
  readonly availableSignatures?: readonly {
803
- readonly signature: string;
804
803
  readonly name: string;
804
+ readonly signature: string;
805
805
  }[] | undefined;
806
806
  }, {}, {}>;
807
807
  declare class LatestFunctionTransactions extends LatestFunctionTransactions_base {}
@@ -874,17 +874,16 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
874
874
  }>>;
875
875
  }>>>;
876
876
  }>, never, {
877
- readonly contractAddress?: string | undefined;
878
- } & {
879
877
  readonly blockchain?: "ethereum" | "base" | undefined;
878
+ } & {
879
+ readonly contractAddress?: string | undefined;
880
880
  } & {
881
881
  readonly transactions?: readonly {
882
- readonly from: string;
883
882
  readonly txHash: string;
883
+ readonly from: string;
884
+ readonly success: boolean;
884
885
  readonly blockNumber: number;
885
886
  readonly blockTimestamp: number;
886
- readonly success: boolean;
887
- readonly blockTimestampUtc: string;
888
887
  readonly logs: readonly {
889
888
  readonly contractAddress: string;
890
889
  readonly contractName: string;
@@ -895,24 +894,25 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
895
894
  readonly [x: string]: unknown;
896
895
  };
897
896
  readonly eventFunctionDetails: {
897
+ readonly functionSignature: string;
898
898
  readonly address: string;
899
899
  readonly functionName: string | null;
900
900
  readonly addressName: string | null;
901
- readonly functionSignature: string;
902
901
  readonly traceAddress: readonly number[];
903
902
  } | null;
904
903
  readonly rawTopics: readonly string[];
905
904
  readonly rawData: string;
906
905
  }[];
906
+ readonly blockTimestampUtc: string;
907
907
  }[] | undefined;
908
- } & {
909
- readonly signature?: string | undefined;
910
908
  } & {
911
909
  readonly errorMessage?: string | undefined;
910
+ } & {
911
+ readonly signature?: string | undefined;
912
912
  } & {
913
913
  readonly availableSignatures?: readonly {
914
- readonly signature: string;
915
914
  readonly name: string;
915
+ readonly signature: string;
916
916
  }[] | undefined;
917
917
  }, {}, {}>;
918
918
  declare class LatestEventTransactions extends LatestEventTransactions_base {}
@@ -943,10 +943,6 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
943
943
  topic3: Schema.optional<typeof Schema.String>;
944
944
  calledBy: Schema.optional<Schema.Array$<typeof Schema.String>>;
945
945
  }>, never, {
946
- readonly limit?: number | undefined;
947
- } & {
948
- readonly offset?: number | undefined;
949
- } & {
950
946
  readonly page?: number | undefined;
951
947
  } & {
952
948
  readonly beforeTimestamp?: number | undefined;
@@ -956,6 +952,10 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
956
952
  readonly beforeBlocknumber?: number | undefined;
957
953
  } & {
958
954
  readonly afterBlocknumber?: number | undefined;
955
+ } & {
956
+ readonly limit?: number | undefined;
957
+ } & {
958
+ readonly offset?: number | undefined;
959
959
  } & {
960
960
  readonly direction?: "direct" | "indirect" | "both" | undefined;
961
961
  } & {
@@ -19,12 +19,12 @@ declare const WalletBalance_base: Schema.Class<WalletBalance, {
19
19
  readonly symbol: string | null;
20
20
  } & {
21
21
  readonly address: string;
22
- } & {
23
- readonly amount: string | number;
24
22
  } & {
25
23
  readonly decimals: number | null;
26
24
  } & {
27
25
  readonly valueUsd: number | null;
26
+ } & {
27
+ readonly amount: string | number;
28
28
  } & {
29
29
  readonly logoUrl: string | null;
30
30
  }, {}, {}>;
@@ -83,12 +83,12 @@ declare const PendingTransaction_base: Schema.Class<PendingTransaction, {
83
83
  readonly value: string;
84
84
  } & {
85
85
  readonly method?: string | null | undefined;
86
+ } & {
87
+ readonly to: string;
86
88
  } & {
87
89
  readonly data: string | null;
88
90
  } & {
89
91
  readonly nonce: number;
90
- } & {
91
- readonly to: string;
92
92
  } & {
93
93
  readonly safeTxHash: string;
94
94
  } & {
@@ -207,18 +207,18 @@ declare const TokenTransfer_base: Schema.Class<TokenTransfer, {
207
207
  readonly txHash: string;
208
208
  } & {
209
209
  readonly blockNumber: number;
210
- } & {
211
- readonly logIndex: number;
212
210
  } & {
213
211
  readonly blockTimestamp: number;
212
+ } & {
213
+ readonly blockTimestampUtc: string;
214
+ } & {
215
+ readonly logIndex: number;
214
216
  } & {
215
217
  readonly fromAddress: string;
216
218
  } & {
217
219
  readonly toAddress: string;
218
220
  } & {
219
221
  readonly amount: string;
220
- } & {
221
- readonly blockTimestampUtc: string;
222
222
  } & {
223
223
  readonly direction: "in" | "out";
224
224
  } & {
@@ -259,14 +259,14 @@ declare const TokenActivity_base: Schema.Class<TokenActivity, {
259
259
  readonly blockchain: "ethereum" | "base";
260
260
  } & {
261
261
  readonly tokenAddress: string;
262
- } & {
263
- readonly holderAddress: string;
264
- } & {
265
- readonly transfers: readonly TokenTransfer[];
266
262
  } & {
267
263
  readonly balance: TokenBalanceInfo;
268
264
  } & {
269
265
  readonly pagination: TokenActivityPagination;
266
+ } & {
267
+ readonly holderAddress: string;
268
+ } & {
269
+ readonly transfers: readonly TokenTransfer[];
270
270
  }, {}, {}>;
271
271
  declare class TokenActivity extends TokenActivity_base {}
272
272
  declare const WalletTxCall_base: Schema.Class<WalletTxCall, {
@@ -282,13 +282,13 @@ declare const WalletTxCall_base: Schema.Class<WalletTxCall, {
282
282
  contractName: Schema.NullOr<typeof Schema.String>;
283
283
  entityLabel: Schema.NullOr<typeof Schema.String>;
284
284
  }>, never, {
285
- readonly contractName: string | null;
286
- } & {
287
- readonly functionName: string;
288
- } & {
289
285
  readonly functionSignature: string;
286
+ } & {
287
+ readonly contractName: string | null;
290
288
  } & {
291
289
  readonly entityLabel: string | null;
290
+ } & {
291
+ readonly functionName: string;
292
292
  } & {
293
293
  readonly callee: string;
294
294
  }, {}, {}>;
@@ -305,10 +305,10 @@ declare const WalletTxActionExecution_base: Schema.Class<WalletTxActionExecution
305
305
  executionId: typeof Schema.String;
306
306
  }>, never, {
307
307
  readonly actionId: string;
308
- } & {
309
- readonly versionId: string;
310
308
  } & {
311
309
  readonly actionName: string;
310
+ } & {
311
+ readonly versionId: string;
312
312
  } & {
313
313
  readonly executionId: string;
314
314
  }, {}, {}>;
@@ -354,19 +354,21 @@ declare const WalletTxTransfer_base: Schema.Class<WalletTxTransfer, {
354
354
  fromEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
355
355
  toEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
356
356
  }>, never, {
357
- readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
358
- } & {
359
357
  readonly txHash: string;
360
358
  } & {
361
- readonly toEntityLabel?: string | null | undefined;
362
- } & {
363
- readonly fromEntityLabel?: string | null | undefined;
359
+ readonly tokenAddress: string;
364
360
  } & {
365
361
  readonly blockNumber: number;
366
- } & {
367
- readonly tokenAddress: string;
368
362
  } & {
369
363
  readonly blockTimestamp: number;
364
+ } & {
365
+ readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
366
+ } & {
367
+ readonly tokenSymbol: string;
368
+ } & {
369
+ readonly toEntityLabel?: string | null | undefined;
370
+ } & {
371
+ readonly fromEntityLabel?: string | null | undefined;
370
372
  } & {
371
373
  readonly chainId: number;
372
374
  } & {
@@ -375,8 +377,6 @@ declare const WalletTxTransfer_base: Schema.Class<WalletTxTransfer, {
375
377
  readonly tokenDecimals: number;
376
378
  } & {
377
379
  readonly tokenName: string;
378
- } & {
379
- readonly tokenSymbol: string;
380
380
  } & {
381
381
  readonly tokenPriceUsd: number;
382
382
  } & {
@@ -432,21 +432,23 @@ declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
432
432
  tokenEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
433
433
  transfers: Schema.Array$<typeof WalletTxTransfer>;
434
434
  }>, never, {
435
- readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
436
- } & {
437
435
  readonly txHash?: string | undefined;
436
+ } & {
437
+ readonly tokenAddress: string;
438
438
  } & {
439
439
  readonly blockNumber: number;
440
440
  } & {
441
- readonly tokenAddress: string;
441
+ readonly blockTimestamp: number;
442
+ } & {
443
+ readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
444
+ } & {
445
+ readonly tokenSymbol: string;
442
446
  } & {
443
447
  readonly holderAddress: string;
444
448
  } & {
445
449
  readonly holderIsContract: boolean;
446
450
  } & {
447
451
  readonly balanceChange: number;
448
- } & {
449
- readonly blockTimestamp: number;
450
452
  } & {
451
453
  readonly chainId: number;
452
454
  } & {
@@ -455,8 +457,6 @@ declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
455
457
  readonly tokenDecimals: number;
456
458
  } & {
457
459
  readonly tokenName: string;
458
- } & {
459
- readonly tokenSymbol: string;
460
460
  } & {
461
461
  readonly tokenPriceUsd: number;
462
462
  } & {
@@ -499,12 +499,14 @@ declare const WalletTransaction_base: Schema.Class<WalletTransaction, {
499
499
  actionExecution: Schema.optional<typeof WalletTxActionExecution>;
500
500
  }>, never, {
501
501
  readonly txHash: string;
502
+ } & {
503
+ readonly success: boolean;
502
504
  } & {
503
505
  readonly blockNumber: number;
504
506
  } & {
505
507
  readonly blockTimestamp: number;
506
508
  } & {
507
- readonly success: boolean;
509
+ readonly blockTimestampUtc: string;
508
510
  } & {
509
511
  readonly createdContracts: readonly {
510
512
  readonly contractName: string | null;
@@ -513,8 +515,6 @@ declare const WalletTransaction_base: Schema.Class<WalletTransaction, {
513
515
  }[];
514
516
  } & {
515
517
  readonly actionExecution?: WalletTxActionExecution | undefined;
516
- } & {
517
- readonly blockTimestampUtc: string;
518
518
  } & {
519
519
  readonly calls: readonly WalletTxCall[];
520
520
  } & {
@@ -557,10 +557,10 @@ declare const TransactionActivity_base: Schema.Class<TransactionActivity, {
557
557
  readonly blockchain: "ethereum" | "base";
558
558
  } & {
559
559
  readonly transactions: readonly WalletTransaction[];
560
- } & {
561
- readonly fromAddress: string;
562
560
  } & {
563
561
  readonly pagination: TransactionActivityPagination;
562
+ } & {
563
+ readonly fromAddress: string;
564
564
  } & {
565
565
  readonly totalTransactionCount: number;
566
566
  } & {
@@ -674,10 +674,6 @@ declare const TokenActivityParams_base: Schema.Class<TokenActivityParams, {
674
674
  fromAddress: Schema.optional<typeof Schema.String>;
675
675
  toAddress: Schema.optional<typeof Schema.String>;
676
676
  }>, never, {
677
- readonly fromAddress?: string | undefined;
678
- } & {
679
- readonly toAddress?: string | undefined;
680
- } & {
681
677
  readonly page?: number | undefined;
682
678
  } & {
683
679
  readonly beforeTimestamp?: number | undefined;
@@ -687,6 +683,10 @@ declare const TokenActivityParams_base: Schema.Class<TokenActivityParams, {
687
683
  readonly beforeBlocknumber?: number | undefined;
688
684
  } & {
689
685
  readonly afterBlocknumber?: number | undefined;
686
+ } & {
687
+ readonly fromAddress?: string | undefined;
688
+ } & {
689
+ readonly toAddress?: string | undefined;
690
690
  }, {}, {}>;
691
691
  declare class TokenActivityParams extends TokenActivityParams_base {}
692
692
  declare const TransactionActivityQuery_base: Schema.Class<TransactionActivityQuery, {
@@ -709,8 +709,6 @@ declare const TransactionActivityQuery_base: Schema.Class<TransactionActivityQue
709
709
  afterBlocknumber: Schema.optional<typeof Schema.Number>;
710
710
  }>, never, {
711
711
  readonly blockchain: "ethereum" | "base";
712
- } & {
713
- readonly fromAddress?: string | undefined;
714
712
  } & {
715
713
  readonly page?: number | undefined;
716
714
  } & {
@@ -721,6 +719,8 @@ declare const TransactionActivityQuery_base: Schema.Class<TransactionActivityQue
721
719
  readonly beforeBlocknumber?: number | undefined;
722
720
  } & {
723
721
  readonly afterBlocknumber?: number | undefined;
722
+ } & {
723
+ readonly fromAddress?: string | undefined;
724
724
  } & {
725
725
  readonly toAddresses?: readonly string[] | undefined;
726
726
  }, {}, {}>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herd-labs/sdk",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -18,16 +18,25 @@
18
18
  "publishConfig": {
19
19
  "access": "public"
20
20
  },
21
+ "scripts": {
22
+ "build": "tsdown",
23
+ "prepack": "bun run build && bun ./scripts/prepare-publish.ts",
24
+ "postpack": "bun ./scripts/restore-publish.ts",
25
+ "release": "echo 'Use the GitHub Actions workflow: Actions → Release: SDK → Run workflow'",
26
+ "tsc": "tsc --noEmit",
27
+ "lint": "eslint .",
28
+ "lint:fix": "eslint . --fix"
29
+ },
21
30
  "peerDependencies": {
22
31
  "typescript": "^5"
23
32
  },
24
33
  "dependencies": {
25
- "@effect/cli": "catalog:",
26
- "@effect/platform": "catalog:",
27
- "@effect/cluster": "catalog:",
28
- "@effect/platform-bun": "catalog:",
29
- "@effect/rpc": "catalog:",
30
- "@effect/workflow": "catalog:",
31
- "effect": "catalog:"
34
+ "@effect/cli": "0.69.0",
35
+ "@effect/platform": "^0.90.0",
36
+ "@effect/cluster": "^0.45.0",
37
+ "@effect/platform-bun": "^0.76.0",
38
+ "@effect/rpc": "^0.67.0",
39
+ "@effect/workflow": "^0.7.0",
40
+ "effect": "3.18.4"
32
41
  }
33
42
  }