@herd-labs/sdk 0.2.0 → 0.3.0

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 { AgentWalletsService } from "../services/AgentWalletsService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient3 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient1 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/AgentWalletsServiceLive.d.ts
7
- declare const AgentWalletsServiceLive: Layer.Layer<AgentWalletsService, never, HerdConfig | _effect_platform_HttpClient3.HttpClient>;
7
+ declare const AgentWalletsServiceLive: Layer.Layer<AgentWalletsService, never, HerdConfig | _effect_platform_HttpClient1.HttpClient>;
8
8
  //#endregion
9
9
  export { AgentWalletsServiceLive };
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { AgentWorkflowsService } from "../services/AgentWorkflowsService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient6 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient3 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/AgentWorkflowsServiceLive.d.ts
7
- declare const AgentWorkflowsServiceLive: Layer.Layer<AgentWorkflowsService, never, HerdConfig | _effect_platform_HttpClient6.HttpClient>;
7
+ declare const AgentWorkflowsServiceLive: Layer.Layer<AgentWorkflowsService, never, HerdConfig | _effect_platform_HttpClient3.HttpClient>;
8
8
  //#endregion
9
9
  export { AgentWorkflowsServiceLive };
@@ -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_HttpClient5 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient4 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_HttpClient5.HttpClient>;
7
+ declare const AuthServiceLive: Layer.Layer<AuthService, never, HerdConfig | _effect_platform_HttpClient4.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_HttpClient7 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient5 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_HttpClient7.HttpClient>;
7
+ declare const BookmarksServiceLive: Layer.Layer<BookmarksService, never, HerdConfig | _effect_platform_HttpClient5.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_HttpClient8 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient11 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_HttpClient8.HttpClient>;
7
+ declare const CodeBlocksServiceLive: Layer.Layer<CodeBlocksService, never, HerdConfig | _effect_platform_HttpClient11.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_HttpClient9 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient13 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_HttpClient9.HttpClient>;
7
+ declare const CollectionsServiceLive: Layer.Layer<CollectionsService, never, HerdConfig | _effect_platform_HttpClient13.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_HttpClient10 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient9 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_HttpClient10.HttpClient>;
7
+ declare const ContractsServiceLive: Layer.Layer<ContractsService, never, HerdConfig | _effect_platform_HttpClient9.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_HttpClient11 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient12 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_HttpClient11.HttpClient>;
7
+ declare const DocsServiceLive: Layer.Layer<DocsService, never, HerdConfig | _effect_platform_HttpClient12.HttpClient>;
8
8
  //#endregion
9
9
  export { DocsServiceLive };
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { GroupsService } from "../services/GroupsService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient1 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient10 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/GroupsServiceLive.d.ts
7
- declare const GroupsServiceLive: Layer.Layer<GroupsService, never, HerdConfig | _effect_platform_HttpClient1.HttpClient>;
7
+ declare const GroupsServiceLive: Layer.Layer<GroupsService, never, HerdConfig | _effect_platform_HttpClient10.HttpClient>;
8
8
  //#endregion
9
9
  export { GroupsServiceLive };
@@ -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_HttpClient13 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient6 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_HttpClient13.HttpClient>;
7
+ declare const HalServiceLive: Layer.Layer<HalService, never, HerdConfig | _effect_platform_HttpClient6.HttpClient>;
8
8
  //#endregion
9
9
  export { HalServiceLive };
@@ -28,7 +28,7 @@ const HalServiceLive = Layer.effect(HalService, Effect.gen(function* () {
28
28
  }),
29
29
  evaluateExisting: (params) => callEvaluateExisting({
30
30
  actionId: params.actionId,
31
- version: params.version,
31
+ actionExpressionId: params.actionExpressionId,
32
32
  walletAddress: params.walletAddress,
33
33
  inputValues: params.inputValues ?? {},
34
34
  simulationBalanceFunding: params.simulationBalanceFunding ?? [],
@@ -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_HttpClient12 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient7 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_HttpClient12.HttpClient>;
7
+ declare const TransactionsServiceLive: Layer.Layer<TransactionsService, never, HerdConfig | _effect_platform_HttpClient7.HttpClient>;
8
8
  //#endregion
9
9
  export { TransactionsServiceLive };
@@ -1,9 +1,9 @@
1
1
  import { HerdConfig } from "../config.js";
2
2
  import { WalletsService } from "../services/WalletsService.js";
3
3
  import { Layer } from "effect";
4
- import * as _effect_platform_HttpClient4 from "@effect/platform/HttpClient";
4
+ import * as _effect_platform_HttpClient8 from "@effect/platform/HttpClient";
5
5
 
6
6
  //#region src/live/WalletsServiceLive.d.ts
7
- declare const WalletsServiceLive: Layer.Layer<WalletsService, never, HerdConfig | _effect_platform_HttpClient4.HttpClient>;
7
+ declare const WalletsServiceLive: Layer.Layer<WalletsService, never, HerdConfig | _effect_platform_HttpClient8.HttpClient>;
8
8
  //#endregion
9
9
  export { WalletsServiceLive };
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand0 from "effect/Brand";
2
+ import * as effect_Brand14 from "effect/Brand";
3
3
 
4
4
  //#region src/schemas/actions.d.ts
5
5
  declare const ActionExpression_base: Schema.Class<ActionExpression, {
@@ -26,12 +26,12 @@ 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;
33
31
  } & {
34
32
  readonly publishedAt?: string | null | undefined;
33
+ } & {
34
+ readonly expression: unknown;
35
35
  }, {}, {}>;
36
36
  declare class ActionExpression extends ActionExpression_base {}
37
37
  declare const Action_base: Schema.Class<Action, {
@@ -102,12 +102,12 @@ 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;
109
107
  } & {
110
108
  readonly publishedAt?: string | null | undefined;
109
+ } & {
110
+ readonly expression: unknown;
111
111
  }, {}, {}>;
112
112
  declare class ActionVersion extends ActionVersion_base {}
113
113
  declare const ActionsSearchParams_base: Schema.Class<ActionsSearchParams, {
@@ -127,16 +127,16 @@ declare const ActionsSearchParams_base: Schema.Class<ActionsSearchParams, {
127
127
  expressionType: Schema.optional<Schema.Literal<["action", "adapter"]>>;
128
128
  }>>;
129
129
  }>, never, {
130
- readonly offset: number;
131
- } & {
132
- readonly scope: readonly ("yours" | "all_published" | "verified")[];
133
- } & {
134
130
  readonly limit: number;
131
+ } & {
132
+ readonly scope: readonly ("yours" | "verified" | "all_published")[];
135
133
  } & {
136
134
  readonly filters?: {
137
135
  readonly name?: string | undefined;
138
136
  readonly expressionType?: "action" | "adapter" | undefined;
139
137
  } | undefined;
138
+ } & {
139
+ readonly offset: number;
140
140
  }, {}, {}>;
141
141
  declare class ActionsSearchParams extends ActionsSearchParams_base {}
142
142
  declare const ActionsSearchResponse_base: Schema.Class<ActionsSearchResponse, {
@@ -149,10 +149,10 @@ declare const ActionsSearchResponse_base: Schema.Class<ActionsSearchResponse, {
149
149
  nextCursor: Schema.optional<Schema.NullOr<typeof Schema.String>>;
150
150
  }>, never, {
151
151
  readonly items: readonly Action[];
152
- } & {
153
- readonly totalCount?: number | undefined;
154
152
  } & {
155
153
  readonly nextCursor?: string | null | undefined;
154
+ } & {
155
+ readonly totalCount?: number | undefined;
156
156
  }, {}, {}>;
157
157
  declare class ActionsSearchResponse extends ActionsSearchResponse_base {}
158
158
  declare const ActionVersionsResponse_base: Schema.Class<ActionVersionsResponse, {
@@ -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
  }, {}, {}>;
@@ -237,8 +237,8 @@ declare const RelatedAdaptersSearchParams_base: Schema.Class<RelatedAdaptersSear
237
237
  } & {
238
238
  readonly contracts: readonly {
239
239
  readonly blockchain?: "ethereum" | "base" | undefined;
240
+ readonly address: string & effect_Brand14.Brand<"EvmAddress">;
240
241
  readonly functionSignatures?: readonly string[] | undefined;
241
- readonly address: string & effect_Brand0.Brand<"EvmAddress">;
242
242
  }[];
243
243
  }, {}, {}>;
244
244
  declare class RelatedAdaptersSearchParams extends RelatedAdaptersSearchParams_base {}
@@ -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
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand0 from "effect/Brand";
2
+ import * as effect_Brand5 from "effect/Brand";
3
3
 
4
4
  //#region src/schemas/agent-wallets.d.ts
5
5
  declare const AgentWallet_base: Schema.Class<AgentWallet, {
@@ -21,7 +21,7 @@ declare const AgentWallet_base: Schema.Class<AgentWallet, {
21
21
  } & {
22
22
  readonly intent: string | null;
23
23
  } & {
24
- readonly address: string & effect_Brand0.Brand<"EvmAddress">;
24
+ readonly address: string & effect_Brand5.Brand<"EvmAddress">;
25
25
  } & {
26
26
  readonly groupId: string;
27
27
  }, {}, {}>;
@@ -47,7 +47,7 @@ declare const AgentWalletSafe_base: Schema.Class<AgentWalletSafe, {
47
47
  } & {
48
48
  readonly blockchain: "ethereum" | "base";
49
49
  } & {
50
- readonly safeAddress: string & effect_Brand0.Brand<"EvmAddress">;
50
+ readonly safeAddress: string & effect_Brand5.Brand<"EvmAddress">;
51
51
  } & {
52
52
  readonly isProposer: boolean;
53
53
  } & {
@@ -73,7 +73,7 @@ declare const LinkedAgentWallet_base: Schema.Class<LinkedAgentWallet, {
73
73
  } & {
74
74
  readonly intent: string | null;
75
75
  } & {
76
- readonly address: string & effect_Brand0.Brand<"EvmAddress">;
76
+ readonly address: string & effect_Brand5.Brand<"EvmAddress">;
77
77
  } & {
78
78
  readonly isProposer: boolean;
79
79
  } & {
@@ -99,7 +99,7 @@ declare const AgentSafeMetadata_base: Schema.Class<AgentSafeMetadata, {
99
99
  } & {
100
100
  readonly blockchain: "ethereum" | "base";
101
101
  } & {
102
- readonly safeAddress: string & effect_Brand0.Brand<"EvmAddress">;
102
+ readonly safeAddress: string & effect_Brand5.Brand<"EvmAddress">;
103
103
  }, {}, {}>;
104
104
  declare class AgentSafeMetadata extends AgentSafeMetadata_base {}
105
105
  declare const AgentWalletsListParams_base: Schema.Class<AgentWalletsListParams, {
@@ -151,7 +151,7 @@ declare const AgentSafe_base: Schema.Class<AgentSafe, {
151
151
  } & {
152
152
  readonly blockchain: "ethereum" | "base";
153
153
  } & {
154
- readonly safeAddress: string & effect_Brand0.Brand<"EvmAddress">;
154
+ readonly safeAddress: string & effect_Brand5.Brand<"EvmAddress">;
155
155
  } & {
156
156
  readonly threshold: number;
157
157
  } & {
@@ -159,7 +159,7 @@ declare const AgentSafe_base: Schema.Class<AgentSafe, {
159
159
  } & {
160
160
  readonly linkedAgentWallets: readonly LinkedAgentWallet[];
161
161
  } & {
162
- readonly owners: readonly (string & effect_Brand0.Brand<"EvmAddress">)[];
162
+ readonly owners: readonly (string & effect_Brand5.Brand<"EvmAddress">)[];
163
163
  }, {}, {}>;
164
164
  declare class AgentSafe extends AgentSafe_base {}
165
165
  declare const SetSafeProposerParams_base: Schema.Class<SetSafeProposerParams, {
@@ -175,7 +175,7 @@ declare const SetSafeProposerParams_base: Schema.Class<SetSafeProposerParams, {
175
175
  } & {
176
176
  readonly intent?: string | undefined;
177
177
  } & {
178
- readonly agentWalletAddress: string & effect_Brand0.Brand<"EvmAddress">;
178
+ readonly agentWalletAddress: string & effect_Brand5.Brand<"EvmAddress">;
179
179
  }, {}, {}>;
180
180
  declare class SetSafeProposerParams extends SetSafeProposerParams_base {}
181
181
  declare const SetSafeProposerResponse_base: Schema.Class<SetSafeProposerResponse, {
@@ -201,13 +201,13 @@ declare const SetSafeProposerResponse_base: Schema.Class<SetSafeProposerResponse
201
201
  } & {
202
202
  readonly blockchain: "ethereum" | "base";
203
203
  } & {
204
- readonly safeAddress: string & effect_Brand0.Brand<"EvmAddress">;
204
+ readonly safeAddress: string & effect_Brand5.Brand<"EvmAddress">;
205
205
  } & {
206
206
  readonly isProposer: boolean;
207
207
  } & {
208
208
  readonly isSigner: boolean;
209
209
  } & {
210
- readonly agentWalletAddress: string & effect_Brand0.Brand<"EvmAddress">;
210
+ readonly agentWalletAddress: string & effect_Brand5.Brand<"EvmAddress">;
211
211
  }, {}, {}>;
212
212
  declare class SetSafeProposerResponse extends SetSafeProposerResponse_base {}
213
213
  declare const EditAgentSafeMetadataParams_base: Schema.Class<EditAgentSafeMetadataParams, {
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand9 from "effect/Brand";
2
+ import * as effect_Brand0 from "effect/Brand";
3
3
 
4
4
  //#region src/schemas/bookmarks.d.ts
5
5
  declare const BookmarkObjectType: Schema.Literal<["contract", "transaction", "wallet"]>;
@@ -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
  } & {
@@ -62,10 +62,10 @@ declare const TransactionBookmark_base: Schema.Class<TransactionBookmark, {
62
62
  readonly createdAt: string;
63
63
  } & {
64
64
  readonly updatedAt: string;
65
- } & {
66
- readonly transactionHash: string;
67
65
  } & {
68
66
  readonly userLabel: string | null;
67
+ } & {
68
+ readonly transactionHash: string;
69
69
  }, {}, {}>;
70
70
  declare class TransactionBookmark extends TransactionBookmark_base {}
71
71
  declare const WalletBookmark_base: Schema.Class<WalletBookmark, {
@@ -82,14 +82,14 @@ declare const WalletBookmark_base: Schema.Class<WalletBookmark, {
82
82
  updatedAt: typeof Schema.String;
83
83
  }>, never, {
84
84
  readonly id: string;
85
- } & {
86
- readonly walletAddress: string;
87
85
  } & {
88
86
  readonly createdAt: string;
89
87
  } & {
90
88
  readonly updatedAt: string;
91
89
  } & {
92
90
  readonly userLabel: string | null;
91
+ } & {
92
+ readonly walletAddress: string;
93
93
  }, {}, {}>;
94
94
  declare class WalletBookmark extends WalletBookmark_base {}
95
95
  declare const BookmarksList_base: Schema.Class<BookmarksList, {
@@ -139,10 +139,10 @@ declare const AddContractBookmarkParams_base: Schema.Class<AddContractBookmarkPa
139
139
  label: Schema.optional<typeof Schema.String>;
140
140
  }>, never, {
141
141
  readonly blockchain: "ethereum" | "base";
142
- } & {
143
- readonly address: string & effect_Brand9.Brand<"EvmAddress">;
144
142
  } & {
145
143
  readonly label?: string | undefined;
144
+ } & {
145
+ readonly address: string & effect_Brand0.Brand<"EvmAddress">;
146
146
  }, {}, {}>;
147
147
  declare class AddContractBookmarkParams extends AddContractBookmarkParams_base {}
148
148
  declare const AddTransactionBookmarkParams_base: Schema.Class<AddTransactionBookmarkParams, {
@@ -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, {
@@ -168,9 +168,9 @@ declare const AddWalletBookmarkParams_base: Schema.Class<AddWalletBookmarkParams
168
168
  address: Schema.brand<Schema.filter<typeof Schema.String>, "EvmAddress">;
169
169
  label: Schema.optional<typeof Schema.String>;
170
170
  }>, never, {
171
- readonly address: string & effect_Brand9.Brand<"EvmAddress">;
172
- } & {
173
171
  readonly label?: string | undefined;
172
+ } & {
173
+ readonly address: string & effect_Brand0.Brand<"EvmAddress">;
174
174
  }, {}, {}>;
175
175
  declare class AddWalletBookmarkParams extends AddWalletBookmarkParams_base {}
176
176
  declare const UpdateBookmarkLabelParams_base: Schema.Class<UpdateBookmarkLabelParams, {
@@ -186,15 +186,15 @@ 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 blockchain?: "ethereum" | "base" | undefined;
189
+ readonly txHash?: string | undefined;
190
190
  } & {
191
- readonly address?: string | undefined;
191
+ readonly blockchain?: "ethereum" | "base" | undefined;
192
192
  } & {
193
193
  readonly label: string | null;
194
194
  } & {
195
- readonly objectType: "wallet" | "contract" | "transaction";
195
+ readonly objectType: "contract" | "transaction" | "wallet";
196
196
  } & {
197
- readonly txHash?: string | undefined;
197
+ readonly address?: 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 blockchain?: "ethereum" | "base" | undefined;
211
+ readonly txHash?: string | undefined;
212
212
  } & {
213
- readonly address?: string | undefined;
213
+ readonly blockchain?: "ethereum" | "base" | undefined;
214
214
  } & {
215
- readonly objectType: "wallet" | "contract" | "transaction";
215
+ readonly objectType: "contract" | "transaction" | "wallet";
216
216
  } & {
217
- readonly txHash?: string | undefined;
217
+ readonly address?: string | undefined;
218
218
  }, {}, {}>;
219
219
  declare class DeleteBookmarkParams extends DeleteBookmarkParams_base {}
220
220
  //#endregion
@@ -23,14 +23,14 @@ declare const CodeBlockCode_base: Schema.Class<CodeBlockCode, {
23
23
  readonly name: string;
24
24
  } & {
25
25
  readonly intent: string;
26
- } & {
27
- readonly publishedAt: string | null;
28
26
  } & {
29
27
  readonly code: string;
30
28
  } & {
31
29
  readonly valTownFileUrl: string;
32
30
  } & {
33
31
  readonly arguments?: unknown;
32
+ } & {
33
+ readonly publishedAt: string | null;
34
34
  }, {}, {}>;
35
35
  declare class CodeBlockCode extends CodeBlockCode_base {}
36
36
  declare const CodeBlockVersion_base: Schema.Class<CodeBlockVersion, {
@@ -96,15 +96,15 @@ declare const CodeBlocksSearchParams_base: Schema.Class<CodeBlocksSearchParams,
96
96
  name: Schema.optional<typeof Schema.String>;
97
97
  }>>;
98
98
  }>, never, {
99
+ readonly limit: number;
100
+ } & {
99
101
  readonly scope: "user" | "public";
100
102
  } & {
101
- readonly limit: number;
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, {
@@ -172,9 +172,9 @@ declare const CodeBlockLogEntry_base: Schema.Class<CodeBlockLogEntry, {
172
172
  message: typeof Schema.String;
173
173
  time: typeof Schema.String;
174
174
  }>, never, {
175
- readonly message: string;
176
- } & {
177
175
  readonly level: string;
176
+ } & {
177
+ readonly message: string;
178
178
  } & {
179
179
  readonly time: string;
180
180
  }, {}, {}>;
@@ -204,8 +204,8 @@ declare const CodeBlockExecuteResponse_base: Schema.Class<CodeBlockExecuteRespon
204
204
  } & {
205
205
  readonly error?: {
206
206
  readonly message: string;
207
- readonly body?: unknown;
208
207
  readonly status?: number | undefined;
208
+ readonly body?: unknown;
209
209
  } | undefined;
210
210
  } & {
211
211
  readonly logs?: readonly CodeBlockLogEntry[] | undefined;
@@ -263,12 +263,12 @@ declare const CreateCodeVersionResponse_base: Schema.Class<CreateCodeVersionResp
263
263
  readonly name: string;
264
264
  } & {
265
265
  readonly intent: string;
266
- } & {
267
- readonly publishedAt: string | null;
268
266
  } & {
269
267
  readonly code: string;
270
268
  } & {
271
269
  readonly valTownFileUrl: string;
270
+ } & {
271
+ readonly publishedAt: string | null;
272
272
  }, {}, {}>;
273
273
  declare class CreateCodeVersionResponse extends CreateCodeVersionResponse_base {}
274
274
  declare const UpdateCodeBlockMetadataParams_base: Schema.Class<UpdateCodeBlockMetadataParams, {
@@ -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, {
@@ -92,15 +92,15 @@ declare const CollectionsSearchParams_base: Schema.Class<CollectionsSearchParams
92
92
  name: Schema.optional<typeof Schema.String>;
93
93
  }>>;
94
94
  }>, never, {
95
- readonly offset: number;
96
- } & {
97
- readonly scope?: readonly ("yours" | "verified" | "all")[] | undefined;
98
- } & {
99
95
  readonly limit: number;
96
+ } & {
97
+ readonly scope?: readonly ("yours" | "all" | "verified")[] | undefined;
100
98
  } & {
101
99
  readonly filters?: {
102
100
  readonly name?: string | undefined;
103
101
  } | undefined;
102
+ } & {
103
+ readonly offset: number;
104
104
  }, {}, {}>;
105
105
  declare class CollectionsSearchParams extends CollectionsSearchParams_base {}
106
106
  declare const CollectionsSearchResponse_base: Schema.Class<CollectionsSearchResponse, {
@@ -149,8 +149,8 @@ declare const CreateCollectionParams_base: Schema.Class<CreateCollectionParams,
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
  };
@@ -230,8 +230,8 @@ declare const UpdateCollectionParams_base: Schema.Class<UpdateCollectionParams,
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;
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand13 from "effect/Brand";
2
+ import * as effect_Brand1 from "effect/Brand";
3
3
 
4
4
  //#region src/schemas/contracts.d.ts
5
5
  declare const FunctionSummary_base: Schema.Class<FunctionSummary, {
@@ -71,7 +71,7 @@ declare const TopHolder_base: Schema.Class<TopHolder, {
71
71
  } & {
72
72
  readonly address: string;
73
73
  } & {
74
- readonly type: "wallet" | "contract";
74
+ readonly type: "contract" | "wallet";
75
75
  } & {
76
76
  readonly rank: number;
77
77
  } & {
@@ -328,11 +328,11 @@ 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_Brand13.Brand<"EvmAddress">;
331
+ readonly code?: string | undefined;
332
332
  } & {
333
333
  readonly blockchain: "ethereum" | "base";
334
334
  } & {
335
- readonly code?: string | undefined;
335
+ readonly contractAddress: string & effect_Brand1.Brand<"EvmAddress">;
336
336
  } & {
337
337
  readonly contractName: string;
338
338
  } & {
@@ -358,7 +358,7 @@ declare const GetContractCodeParams_base: Schema.Class<GetContractCodeParams, {
358
358
  } & {
359
359
  readonly query: string;
360
360
  } & {
361
- readonly contractAddresses: readonly (string & effect_Brand13.Brand<"EvmAddress">)[];
361
+ readonly contractAddresses: readonly (string & effect_Brand1.Brand<"EvmAddress">)[];
362
362
  } & {
363
363
  readonly includeProxies?: boolean | undefined;
364
364
  } & {
@@ -397,12 +397,12 @@ declare const DiffVersionInfo_base: Schema.Class<DiffVersionInfo, {
397
397
  contractName: typeof Schema.String;
398
398
  }>, never, {
399
399
  readonly contractName: string;
400
- } & {
401
- readonly blockNumber: number;
402
400
  } & {
403
401
  readonly versionNumber: number;
404
402
  } & {
405
403
  readonly implementationAddress: string;
404
+ } & {
405
+ readonly blockNumber: number;
406
406
  }, {}, {}>;
407
407
  declare class DiffVersionInfo extends DiffVersionInfo_base {}
408
408
  declare const DiffEntry_base: Schema.Class<DiffEntry, {
@@ -432,9 +432,9 @@ declare const ContractDiff_base: Schema.Class<ContractDiff, {
432
432
  contractAddress: Schema.optional<typeof Schema.String>;
433
433
  blockchain: Schema.optional<typeof Schema.String>;
434
434
  }>, never, {
435
- readonly contractAddress?: string | undefined;
436
- } & {
437
435
  readonly blockchain?: string | undefined;
436
+ } & {
437
+ readonly contractAddress?: string | undefined;
438
438
  } & {
439
439
  readonly errorMessage?: string | undefined;
440
440
  } & {
@@ -1,5 +1,5 @@
1
1
  import { Schema } from "effect";
2
- import * as effect_Brand11 from "effect/Brand";
2
+ import * as effect_Brand3 from "effect/Brand";
3
3
 
4
4
  //#region src/schemas/hal.d.ts
5
5
  declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
@@ -25,9 +25,11 @@ 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_Brand3.Brand<"EvmAddress">;
29
+ } & {
28
30
  readonly expression: unknown;
29
31
  } & {
30
- readonly walletAddress: string & effect_Brand11.Brand<"EvmAddress">;
32
+ readonly tevmForkId?: string | undefined;
31
33
  } & {
32
34
  readonly inputValues?: {
33
35
  readonly [x: string]: unknown;
@@ -37,15 +39,14 @@ declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
37
39
  readonly tokenAddress: string;
38
40
  readonly startingBalanceRaw: string;
39
41
  }[] | undefined;
40
- } & {
41
- readonly tevmForkId?: string | undefined;
42
42
  } & {
43
43
  readonly simulationBlockNumber?: number | undefined;
44
44
  }, {}, {}>;
45
45
  declare class EvaluateParams extends EvaluateParams_base {}
46
46
  declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams, {
47
47
  actionId: typeof Schema.String;
48
- version: Schema.optional<typeof Schema.String>;
48
+ /** Published action-expression id (UUID). When omitted, the latest published expression is simulated. */
49
+ actionExpressionId: Schema.optional<typeof Schema.UUID>;
49
50
  walletAddress: Schema.brand<Schema.filter<typeof Schema.String>, "EvmAddress">;
50
51
  inputValues: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Unknown>>;
51
52
  simulationBalanceFunding: Schema.optional<Schema.Array$<Schema.Struct<{
@@ -56,7 +57,8 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
56
57
  simulationBlockNumber: Schema.optional<typeof Schema.Number>;
57
58
  }, Schema.Struct.Encoded<{
58
59
  actionId: typeof Schema.String;
59
- version: Schema.optional<typeof Schema.String>;
60
+ /** Published action-expression id (UUID). When omitted, the latest published expression is simulated. */
61
+ actionExpressionId: Schema.optional<typeof Schema.UUID>;
60
62
  walletAddress: Schema.brand<Schema.filter<typeof Schema.String>, "EvmAddress">;
61
63
  inputValues: Schema.optional<Schema.Record$<typeof Schema.String, typeof Schema.Unknown>>;
62
64
  simulationBalanceFunding: Schema.optional<Schema.Array$<Schema.Struct<{
@@ -66,11 +68,11 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
66
68
  tevmForkId: Schema.optional<typeof Schema.String>;
67
69
  simulationBlockNumber: Schema.optional<typeof Schema.Number>;
68
70
  }>, never, {
69
- readonly walletAddress: string & effect_Brand11.Brand<"EvmAddress">;
71
+ readonly actionId: string;
70
72
  } & {
71
- readonly version?: string | undefined;
73
+ readonly walletAddress: string & effect_Brand3.Brand<"EvmAddress">;
72
74
  } & {
73
- readonly actionId: string;
75
+ readonly tevmForkId?: string | undefined;
74
76
  } & {
75
77
  readonly inputValues?: {
76
78
  readonly [x: string]: unknown;
@@ -80,10 +82,10 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
80
82
  readonly tokenAddress: string;
81
83
  readonly startingBalanceRaw: string;
82
84
  }[] | undefined;
83
- } & {
84
- readonly tevmForkId?: string | undefined;
85
85
  } & {
86
86
  readonly simulationBlockNumber?: number | undefined;
87
+ } & {
88
+ readonly actionExpressionId?: string | undefined;
87
89
  }, {}, {}>;
88
90
  declare class EvaluateExistingParams extends EvaluateExistingParams_base {}
89
91
  declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
@@ -122,30 +124,30 @@ declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
122
124
  transactionData: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
123
125
  }>, never, {
124
126
  readonly value?: string | null | undefined;
125
- } & {
126
- readonly blockchain?: "ethereum" | "base" | undefined;
127
127
  } & {
128
128
  readonly status: "success" | "failed" | "pending";
129
129
  } & {
130
- readonly transactionHash: string | null;
130
+ readonly blockchain?: "ethereum" | "base" | undefined;
131
131
  } & {
132
- readonly batchName: string | null;
132
+ readonly transactionHash: string | null;
133
133
  } & {
134
- readonly batchStepIndex: number | null;
134
+ readonly blockNumber: number | null;
135
135
  } & {
136
136
  readonly toContractName: string | null;
137
137
  } & {
138
- readonly transactionErrorMessage: string | null;
139
- } & {
140
- readonly blockNumber: number | null;
138
+ readonly data?: string | undefined;
141
139
  } & {
142
140
  readonly blockTimestamp: number | null;
143
- } & {
144
- readonly operationId?: string | undefined;
145
141
  } & {
146
142
  readonly to?: string | undefined;
147
143
  } & {
148
- readonly data?: string | undefined;
144
+ readonly batchName: string | null;
145
+ } & {
146
+ readonly batchStepIndex: number | null;
147
+ } & {
148
+ readonly transactionErrorMessage: string | null;
149
+ } & {
150
+ readonly operationId?: string | undefined;
149
151
  } & {
150
152
  readonly args?: unknown;
151
153
  } & {
@@ -182,13 +184,13 @@ declare const EvaluateResponse_base: Schema.Class<EvaluateResponse, {
182
184
  readonly message: string;
183
185
  } | undefined;
184
186
  } & {
185
- readonly status: "failed" | "completed" | "suspended";
187
+ readonly status: "completed" | "suspended" | "failed";
188
+ } & {
189
+ readonly hint?: string | undefined;
186
190
  } & {
187
191
  readonly tevmForkId?: string | undefined;
188
192
  } & {
189
193
  readonly result?: unknown;
190
- } & {
191
- readonly hint?: string | undefined;
192
194
  } & {
193
195
  readonly transactionStatuses?: readonly TransactionStatus[] | undefined;
194
196
  } & {
@@ -22,7 +22,7 @@ const SimulationBalanceFunding = Schema.Array(Schema.Struct({
22
22
  }));
23
23
  var EvaluateExistingParams = class extends Schema.Class("EvaluateExistingParams")({
24
24
  actionId: Schema.String,
25
- version: Schema.optional(Schema.String),
25
+ actionExpressionId: Schema.optional(Schema.UUID),
26
26
  walletAddress: EvmAddress,
27
27
  inputValues: Schema.optional(Schema.Record({
28
28
  key: Schema.String,
@@ -449,24 +449,14 @@ 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 functionSignature?: string | null | undefined;
454
- } & {
455
- readonly blockchain: "ethereum" | "base";
456
452
  } & {
457
453
  readonly error?: string | null | undefined;
458
- } & {
459
- readonly outputs?: {
460
- readonly value: string;
461
- readonly from: string;
462
- readonly summary: string;
463
- } | undefined;
464
454
  } & {
465
455
  readonly txHash: string;
466
456
  } & {
467
- readonly tevmForkId?: string | null | undefined;
457
+ readonly blockchain: "ethereum" | "base";
468
458
  } & {
469
- readonly success: boolean;
459
+ readonly functionSignature?: string | null | undefined;
470
460
  } & {
471
461
  readonly blockNumber: number;
472
462
  } & {
@@ -475,17 +465,18 @@ declare const Transaction_base: Schema.Class<Transaction, {
475
465
  readonly toAddress: string;
476
466
  } & {
477
467
  readonly timestamp: number;
468
+ } & {
469
+ readonly success: boolean;
478
470
  } & {
479
471
  readonly decodedTraces: DecodedTrace;
480
472
  } & {
481
473
  readonly transactionMetadata: {
482
474
  readonly value: number;
475
+ readonly status: number;
483
476
  readonly from: string;
484
- readonly type: string;
485
477
  readonly hash: string;
486
- readonly status: number;
478
+ readonly type: string;
487
479
  readonly blockNumber: number;
488
- readonly to: string | null;
489
480
  readonly blockHash: string;
490
481
  readonly transactionIndex: number;
491
482
  readonly chainId: number;
@@ -496,17 +487,18 @@ declare const Transaction_base: Schema.Class<Transaction, {
496
487
  readonly r: string;
497
488
  readonly s: string;
498
489
  readonly v: string;
490
+ readonly to: string | null;
499
491
  readonly timestamp: number;
500
492
  readonly gasUsed: number;
501
493
  readonly effectiveGasPrice: number;
502
494
  };
503
495
  } & {
504
496
  readonly decodedLogs: readonly {
505
- readonly address: string;
506
497
  readonly transactionHash: string;
498
+ readonly address: string;
507
499
  readonly blockNumber: number;
508
- readonly data: string;
509
500
  readonly blockHash: string;
501
+ readonly data: string;
510
502
  readonly topics: readonly string[];
511
503
  readonly logIndex: number;
512
504
  readonly transactionIndex: number;
@@ -530,8 +522,8 @@ declare const Transaction_base: Schema.Class<Transaction, {
530
522
  } | undefined;
531
523
  readonly lineNumber: number;
532
524
  readonly eventFunctionDetails: {
533
- readonly functionSignature: string;
534
525
  readonly address: string;
526
+ readonly functionSignature: string;
535
527
  readonly functionName: string | null;
536
528
  readonly addressName: string | null;
537
529
  readonly traceAddress: readonly number[];
@@ -540,14 +532,14 @@ declare const Transaction_base: Schema.Class<Transaction, {
540
532
  } & {
541
533
  readonly balanceChanges: readonly {
542
534
  readonly txHash?: string | undefined;
543
- readonly tokenAddress: string;
535
+ readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
544
536
  readonly blockNumber: number;
545
- readonly blockTimestamp: number;
537
+ readonly tokenAddress: string;
546
538
  readonly holderAddress: string;
547
539
  readonly holderIsContract: boolean;
548
540
  readonly balanceChange: number;
541
+ readonly blockTimestamp: number;
549
542
  readonly chainId: number;
550
- readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
551
543
  readonly tokenId: number;
552
544
  readonly tokenDecimals: number;
553
545
  readonly tokenName: string;
@@ -560,15 +552,15 @@ declare const Transaction_base: Schema.Class<Transaction, {
560
552
  } & {
561
553
  readonly transfers: readonly {
562
554
  readonly txHash: string;
563
- readonly tokenAddress: string;
555
+ readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
564
556
  readonly blockNumber: number;
565
- readonly blockTimestamp: number;
566
557
  readonly toEntityLabel?: string | null | undefined;
567
558
  readonly fromEntityLabel?: string | null | undefined;
568
559
  readonly traceAddress?: string | undefined;
569
560
  readonly logIndex?: number | undefined;
561
+ readonly tokenAddress: string;
562
+ readonly blockTimestamp: number;
570
563
  readonly chainId: number;
571
- readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
572
564
  readonly tokenId: number;
573
565
  readonly tokenDecimals: number;
574
566
  readonly tokenName: string;
@@ -597,13 +589,21 @@ declare const Transaction_base: Schema.Class<Transaction, {
597
589
  }[];
598
590
  } & {
599
591
  readonly createdContracts: readonly string[];
592
+ } & {
593
+ readonly outputs?: {
594
+ readonly value: string;
595
+ readonly from: string;
596
+ readonly summary: string;
597
+ } | undefined;
600
598
  } & {
601
599
  readonly actionExecution?: {
602
600
  readonly actionId: string;
603
- readonly actionName: string;
604
601
  readonly versionId: string;
602
+ readonly actionName: string;
605
603
  readonly executionId: string;
606
604
  } | 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
771
  readonly from: string;
772
772
  readonly txHash: string;
773
- readonly success: boolean;
774
773
  readonly blockNumber: number;
775
774
  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,11 +784,10 @@ 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;
790
789
  readonly address: string;
790
+ readonly functionSignature: string | null;
791
791
  readonly functionName: string | null;
792
792
  readonly addressName: string | null;
793
793
  readonly traceAddress: readonly number[];
@@ -874,12 +874,11 @@ 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 logs: readonly {
884
883
  readonly contractAddress: string;
885
884
  readonly contractName: string;
@@ -890,8 +889,8 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
890
889
  readonly [x: string]: unknown;
891
890
  };
892
891
  readonly eventFunctionDetails: {
893
- readonly functionSignature: string;
894
892
  readonly address: string;
893
+ readonly functionSignature: string;
895
894
  readonly functionName: string | null;
896
895
  readonly addressName: string | null;
897
896
  readonly traceAddress: readonly number[];
@@ -899,10 +898,11 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
899
898
  readonly rawTopics: readonly string[];
900
899
  readonly rawData: string;
901
900
  }[];
901
+ readonly from: string;
902
902
  readonly txHash: string;
903
- readonly success: boolean;
904
903
  readonly blockNumber: number;
905
904
  readonly blockTimestamp: number;
905
+ readonly success: boolean;
906
906
  readonly blockTimestampUtc: string;
907
907
  }[] | undefined;
908
908
  } & {
@@ -945,9 +945,9 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
945
945
  topic3: Schema.optional<typeof Schema.String>;
946
946
  calledBy: Schema.optional<Schema.Array$<typeof Schema.String>>;
947
947
  }>, never, {
948
- readonly offset?: number | undefined;
949
- } & {
950
948
  readonly limit?: number | undefined;
949
+ } & {
950
+ readonly offset?: number | undefined;
951
951
  } & {
952
952
  readonly page?: number | undefined;
953
953
  } & {
@@ -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 valueUsd: number | null;
26
24
  } & {
27
25
  readonly decimals: number | null;
26
+ } & {
27
+ readonly amount: string | number;
28
28
  } & {
29
29
  readonly logoUrl: string | null;
30
30
  }, {}, {}>;
@@ -38,9 +38,9 @@ declare const Erc7702Delegation_base: Schema.Class<Erc7702Delegation, {
38
38
  contractName: typeof Schema.String;
39
39
  functions: Schema.Array$<typeof Schema.String>;
40
40
  }>, never, {
41
- readonly address: string;
42
- } & {
43
41
  readonly contractName: string;
42
+ } & {
43
+ readonly address: string;
44
44
  } & {
45
45
  readonly functions: readonly string[];
46
46
  }, {}, {}>;
@@ -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;
88
86
  } & {
89
87
  readonly data: string | null;
90
88
  } & {
91
89
  readonly nonce: number;
90
+ } & {
91
+ readonly to: string;
92
92
  } & {
93
93
  readonly safeTxHash: string;
94
94
  } & {
@@ -207,10 +207,10 @@ declare const TokenTransfer_base: Schema.Class<TokenTransfer, {
207
207
  readonly txHash: string;
208
208
  } & {
209
209
  readonly blockNumber: number;
210
- } & {
211
- readonly blockTimestamp: number;
212
210
  } & {
213
211
  readonly logIndex: number;
212
+ } & {
213
+ readonly blockTimestamp: number;
214
214
  } & {
215
215
  readonly fromAddress: string;
216
216
  } & {
@@ -257,14 +257,14 @@ declare const TokenActivity_base: Schema.Class<TokenActivity, {
257
257
  pagination: typeof TokenActivityPagination;
258
258
  }>, never, {
259
259
  readonly blockchain: "ethereum" | "base";
260
+ } & {
261
+ readonly balance: TokenBalanceInfo;
260
262
  } & {
261
263
  readonly tokenAddress: string;
262
264
  } & {
263
265
  readonly holderAddress: string;
264
266
  } & {
265
267
  readonly transfers: readonly TokenTransfer[];
266
- } & {
267
- readonly balance: TokenBalanceInfo;
268
268
  } & {
269
269
  readonly pagination: TokenActivityPagination;
270
270
  }, {}, {}>;
@@ -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 functionSignature: string;
286
- } & {
287
285
  readonly contractName: string | null;
288
286
  } & {
289
- readonly functionName: string;
287
+ readonly functionSignature: string;
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 actionName: string;
310
308
  } & {
311
309
  readonly versionId: string;
310
+ } & {
311
+ readonly actionName: string;
312
312
  } & {
313
313
  readonly executionId: string;
314
314
  }, {}, {}>;
@@ -356,19 +356,19 @@ declare const WalletTxTransfer_base: Schema.Class<WalletTxTransfer, {
356
356
  }>, never, {
357
357
  readonly txHash: string;
358
358
  } & {
359
- readonly tokenAddress: string;
359
+ readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
360
360
  } & {
361
361
  readonly blockNumber: number;
362
- } & {
363
- readonly blockTimestamp: number;
364
362
  } & {
365
363
  readonly toEntityLabel?: string | null | undefined;
366
364
  } & {
367
365
  readonly fromEntityLabel?: string | null | undefined;
368
366
  } & {
369
- readonly chainId: number;
367
+ readonly tokenAddress: string;
368
+ } & {
369
+ readonly blockTimestamp: number;
370
370
  } & {
371
- readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
371
+ readonly chainId: number;
372
372
  } & {
373
373
  readonly tokenId: number;
374
374
  } & {
@@ -434,11 +434,11 @@ declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
434
434
  }>, never, {
435
435
  readonly txHash?: string | undefined;
436
436
  } & {
437
- readonly tokenAddress: string;
437
+ readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
438
438
  } & {
439
439
  readonly blockNumber: number;
440
440
  } & {
441
- readonly blockTimestamp: number;
441
+ readonly tokenAddress: string;
442
442
  } & {
443
443
  readonly holderAddress: string;
444
444
  } & {
@@ -446,9 +446,9 @@ declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
446
446
  } & {
447
447
  readonly balanceChange: number;
448
448
  } & {
449
- readonly chainId: number;
449
+ readonly blockTimestamp: number;
450
450
  } & {
451
- readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
451
+ readonly chainId: number;
452
452
  } & {
453
453
  readonly tokenId: number;
454
454
  } & {
@@ -502,23 +502,23 @@ declare const WalletTransaction_base: Schema.Class<WalletTransaction, {
502
502
  }>, never, {
503
503
  readonly txHash: string;
504
504
  } & {
505
- readonly success: boolean;
505
+ readonly errorMessage?: string | undefined;
506
506
  } & {
507
507
  readonly blockNumber: number;
508
508
  } & {
509
509
  readonly blockTimestamp: number;
510
+ } & {
511
+ readonly success: boolean;
510
512
  } & {
511
513
  readonly createdContracts: readonly {
512
- readonly address: string;
513
514
  readonly contractName: string | null;
515
+ readonly address: string;
514
516
  readonly entityLabel: string | null;
515
517
  }[];
516
518
  } & {
517
519
  readonly actionExecution?: WalletTxActionExecution | undefined;
518
520
  } & {
519
521
  readonly blockTimestampUtc: string;
520
- } & {
521
- readonly errorMessage?: string | undefined;
522
522
  } & {
523
523
  readonly calls: readonly WalletTxCall[];
524
524
  } & {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@herd-labs/sdk",
3
- "version": "0.2.0",
3
+ "version": "0.3.0",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",