@herd-labs/sdk 0.3.0 → 0.4.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.
- package/dist/src/config.d.ts +8 -8
- package/dist/src/config.js +8 -11
- package/dist/src/errors.d.ts +29 -44
- package/dist/src/errors.js +13 -16
- package/dist/src/live/ActionsServiceLive.d.ts +2 -2
- package/dist/src/live/ActionsServiceLive.js +9 -9
- package/dist/src/live/AdaptersServiceLive.d.ts +2 -2
- package/dist/src/live/AdaptersServiceLive.js +6 -6
- package/dist/src/live/AgentSafesServiceLive.d.ts +2 -2
- package/dist/src/live/AgentSafesServiceLive.js +3 -3
- package/dist/src/live/AgentWalletsServiceLive.d.ts +2 -2
- package/dist/src/live/AgentWalletsServiceLive.js +3 -3
- package/dist/src/live/AgentWorkflowsServiceLive.d.ts +2 -2
- package/dist/src/live/AgentWorkflowsServiceLive.js +10 -10
- package/dist/src/live/AuthServiceLive.d.ts +2 -2
- package/dist/src/live/AuthServiceLive.js +7 -7
- package/dist/src/live/BookmarksServiceLive.d.ts +2 -2
- package/dist/src/live/BookmarksServiceLive.js +16 -16
- package/dist/src/live/CodeBlocksServiceLive.d.ts +2 -2
- package/dist/src/live/CodeBlocksServiceLive.js +8 -8
- package/dist/src/live/CollectionsServiceLive.d.ts +2 -2
- package/dist/src/live/CollectionsServiceLive.js +3 -3
- package/dist/src/live/ContractsServiceLive.d.ts +2 -2
- package/dist/src/live/ContractsServiceLive.js +6 -6
- package/dist/src/live/DocsServiceLive.d.ts +2 -2
- package/dist/src/live/DocsServiceLive.js +2 -2
- package/dist/src/live/GroupsServiceLive.d.ts +2 -2
- package/dist/src/live/GroupsServiceLive.js +5 -5
- package/dist/src/live/HalServiceLive.d.ts +2 -2
- package/dist/src/live/HalServiceLive.js +9 -9
- package/dist/src/live/TransactionsServiceLive.d.ts +2 -2
- package/dist/src/live/TransactionsServiceLive.js +17 -17
- package/dist/src/live/WalletsServiceLive.d.ts +2 -2
- package/dist/src/live/WalletsServiceLive.js +14 -14
- package/dist/src/live/http.d.ts +6 -5
- package/dist/src/live/http.js +16 -18
- package/dist/src/schemas/actions.d.ts +95 -323
- package/dist/src/schemas/actions.js +41 -37
- package/dist/src/schemas/adapters.d.ts +5 -15
- package/dist/src/schemas/adapters.js +2 -2
- package/dist/src/schemas/agent-wallets.d.ts +66 -210
- package/dist/src/schemas/agent-wallets.js +25 -25
- package/dist/src/schemas/agent-workflows.d.ts +62 -62
- package/dist/src/schemas/agent-workflows.js +35 -31
- package/dist/src/schemas/auth.d.ts +22 -47
- package/dist/src/schemas/auth.js +10 -7
- package/dist/src/schemas/bookmarks.d.ts +64 -204
- package/dist/src/schemas/bookmarks.js +27 -23
- package/dist/src/schemas/codeblocks.d.ts +98 -294
- package/dist/src/schemas/codeblocks.js +41 -36
- package/dist/src/schemas/collections.d.ts +68 -224
- package/dist/src/schemas/collections.js +28 -24
- package/dist/src/schemas/common.d.ts +9 -25
- package/dist/src/schemas/common.js +5 -5
- package/dist/src/schemas/contracts.d.ts +125 -431
- package/dist/src/schemas/contracts.js +52 -63
- package/dist/src/schemas/docs.d.ts +9 -26
- package/dist/src/schemas/docs.js +4 -4
- package/dist/src/schemas/groups.d.ts +47 -47
- package/dist/src/schemas/groups.js +18 -18
- package/dist/src/schemas/hal.d.ts +57 -211
- package/dist/src/schemas/hal.js +32 -30
- package/dist/src/schemas/transactions.d.ts +404 -890
- package/dist/src/schemas/transactions.js +128 -132
- package/dist/src/schemas/wallets.d.ts +205 -709
- package/dist/src/schemas/wallets.js +112 -96
- package/dist/src/services/ActionsService.d.ts +1 -1
- package/dist/src/services/ActionsService.js +2 -2
- package/dist/src/services/AdaptersService.d.ts +1 -1
- package/dist/src/services/AdaptersService.js +2 -2
- package/dist/src/services/AgentSafesService.d.ts +1 -1
- package/dist/src/services/AgentSafesService.js +2 -2
- package/dist/src/services/AgentWalletsService.d.ts +1 -1
- package/dist/src/services/AgentWalletsService.js +2 -2
- package/dist/src/services/AgentWorkflowsService.d.ts +3 -3
- package/dist/src/services/AgentWorkflowsService.js +6 -2
- package/dist/src/services/AuthService.d.ts +3 -3
- package/dist/src/services/AuthService.js +2 -2
- package/dist/src/services/BookmarksService.d.ts +2 -2
- package/dist/src/services/BookmarksService.js +2 -2
- package/dist/src/services/CodeBlocksService.d.ts +1 -1
- package/dist/src/services/CodeBlocksService.js +2 -2
- package/dist/src/services/CollectionsService.d.ts +1 -1
- package/dist/src/services/CollectionsService.js +2 -2
- package/dist/src/services/ContractsService.d.ts +1 -1
- package/dist/src/services/ContractsService.js +2 -2
- package/dist/src/services/DocsService.d.ts +2 -2
- package/dist/src/services/DocsService.js +2 -2
- package/dist/src/services/GroupsService.d.ts +3 -3
- package/dist/src/services/GroupsService.js +4 -2
- package/dist/src/services/HalService.d.ts +1 -1
- package/dist/src/services/HalService.js +2 -2
- package/dist/src/services/TransactionsService.d.ts +1 -1
- package/dist/src/services/TransactionsService.js +2 -2
- package/dist/src/services/WalletsService.d.ts +1 -1
- package/dist/src/services/WalletsService.js +2 -2
- package/package.json +14 -19
|
@@ -1,737 +1,233 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
2
|
|
|
3
3
|
//#region src/schemas/wallets.d.ts
|
|
4
|
-
declare const WalletBalance_base: Schema.Class<WalletBalance, {
|
|
5
|
-
address:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}
|
|
12
|
-
address: typeof Schema.String;
|
|
13
|
-
symbol: Schema.NullOr<typeof Schema.String>;
|
|
14
|
-
amount: Schema.Union<[typeof Schema.String, typeof Schema.Number]>;
|
|
15
|
-
decimals: Schema.NullOr<typeof Schema.Number>;
|
|
16
|
-
valueUsd: Schema.NullOr<typeof Schema.Number>;
|
|
17
|
-
logoUrl: Schema.NullOr<typeof Schema.String>;
|
|
18
|
-
}>, never, {
|
|
19
|
-
readonly symbol: string | null;
|
|
20
|
-
} & {
|
|
21
|
-
readonly address: string;
|
|
22
|
-
} & {
|
|
23
|
-
readonly valueUsd: number | null;
|
|
24
|
-
} & {
|
|
25
|
-
readonly decimals: number | null;
|
|
26
|
-
} & {
|
|
27
|
-
readonly amount: string | number;
|
|
28
|
-
} & {
|
|
29
|
-
readonly logoUrl: string | null;
|
|
30
|
-
}, {}, {}>;
|
|
4
|
+
declare const WalletBalance_base: Schema.Class<WalletBalance, Schema.Struct<{
|
|
5
|
+
readonly address: Schema.String;
|
|
6
|
+
readonly amount: Schema.Union<readonly [Schema.String, Schema.Number]>;
|
|
7
|
+
readonly decimals: Schema.NullOr<Schema.Number>;
|
|
8
|
+
readonly logoUrl: Schema.NullOr<Schema.String>;
|
|
9
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
10
|
+
readonly valueUsd: Schema.NullOr<Schema.Number>;
|
|
11
|
+
}>, {}>;
|
|
31
12
|
declare class WalletBalance extends WalletBalance_base {}
|
|
32
|
-
declare const Erc7702Delegation_base: Schema.Class<Erc7702Delegation, {
|
|
33
|
-
address:
|
|
34
|
-
contractName:
|
|
35
|
-
functions: Schema
|
|
36
|
-
}
|
|
37
|
-
address: typeof Schema.String;
|
|
38
|
-
contractName: typeof Schema.String;
|
|
39
|
-
functions: Schema.Array$<typeof Schema.String>;
|
|
40
|
-
}>, never, {
|
|
41
|
-
readonly contractName: string;
|
|
42
|
-
} & {
|
|
43
|
-
readonly address: string;
|
|
44
|
-
} & {
|
|
45
|
-
readonly functions: readonly string[];
|
|
46
|
-
}, {}, {}>;
|
|
13
|
+
declare const Erc7702Delegation_base: Schema.Class<Erc7702Delegation, Schema.Struct<{
|
|
14
|
+
readonly address: Schema.String;
|
|
15
|
+
readonly contractName: Schema.String;
|
|
16
|
+
readonly functions: Schema.$Array<Schema.String>;
|
|
17
|
+
}>, {}>;
|
|
47
18
|
declare class Erc7702Delegation extends Erc7702Delegation_base {}
|
|
48
|
-
declare const MultisigSigner_base: Schema.Class<MultisigSigner, {
|
|
49
|
-
address:
|
|
50
|
-
isContract:
|
|
51
|
-
}
|
|
52
|
-
address: typeof Schema.String;
|
|
53
|
-
isContract: typeof Schema.Boolean;
|
|
54
|
-
}>, never, {
|
|
55
|
-
readonly address: string;
|
|
56
|
-
} & {
|
|
57
|
-
readonly isContract: boolean;
|
|
58
|
-
}, {}, {}>;
|
|
19
|
+
declare const MultisigSigner_base: Schema.Class<MultisigSigner, Schema.Struct<{
|
|
20
|
+
readonly address: Schema.String;
|
|
21
|
+
readonly isContract: Schema.Boolean;
|
|
22
|
+
}>, {}>;
|
|
59
23
|
declare class MultisigSigner extends MultisigSigner_base {}
|
|
60
|
-
declare const PendingTransaction_base: Schema.Class<PendingTransaction, {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
nonce:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
}
|
|
72
|
-
safeTxHash: typeof Schema.String;
|
|
73
|
-
to: typeof Schema.String;
|
|
74
|
-
value: typeof Schema.String;
|
|
75
|
-
data: Schema.NullOr<typeof Schema.String>;
|
|
76
|
-
nonce: typeof Schema.Number;
|
|
77
|
-
submissionDate: Schema.optional<typeof Schema.String>;
|
|
78
|
-
confirmationsRequired: Schema.optional<typeof Schema.Number>;
|
|
79
|
-
confirmationsReceived: Schema.optional<typeof Schema.Number>;
|
|
80
|
-
proposer: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
81
|
-
method: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
82
|
-
}>, never, {
|
|
83
|
-
readonly value: string;
|
|
84
|
-
} & {
|
|
85
|
-
readonly method?: string | null | undefined;
|
|
86
|
-
} & {
|
|
87
|
-
readonly data: string | null;
|
|
88
|
-
} & {
|
|
89
|
-
readonly nonce: number;
|
|
90
|
-
} & {
|
|
91
|
-
readonly to: string;
|
|
92
|
-
} & {
|
|
93
|
-
readonly safeTxHash: string;
|
|
94
|
-
} & {
|
|
95
|
-
readonly submissionDate?: string | undefined;
|
|
96
|
-
} & {
|
|
97
|
-
readonly confirmationsRequired?: number | undefined;
|
|
98
|
-
} & {
|
|
99
|
-
readonly confirmationsReceived?: number | undefined;
|
|
100
|
-
} & {
|
|
101
|
-
readonly proposer?: string | null | undefined;
|
|
102
|
-
}, {}, {}>;
|
|
24
|
+
declare const PendingTransaction_base: Schema.Class<PendingTransaction, Schema.Struct<{
|
|
25
|
+
readonly confirmationsReceived: Schema.optional<Schema.Number>;
|
|
26
|
+
readonly confirmationsRequired: Schema.optional<Schema.Number>;
|
|
27
|
+
readonly data: Schema.NullOr<Schema.String>;
|
|
28
|
+
readonly method: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
29
|
+
readonly nonce: Schema.Number;
|
|
30
|
+
readonly proposer: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
31
|
+
readonly safeTxHash: Schema.String;
|
|
32
|
+
readonly submissionDate: Schema.optional<Schema.String>;
|
|
33
|
+
readonly to: Schema.String;
|
|
34
|
+
readonly value: Schema.String;
|
|
35
|
+
}>, {}>;
|
|
103
36
|
declare class PendingTransaction extends PendingTransaction_base {}
|
|
104
|
-
declare const MultisigDetails_base: Schema.Class<MultisigDetails, {
|
|
105
|
-
|
|
106
|
-
signers: Schema
|
|
107
|
-
|
|
108
|
-
}
|
|
109
|
-
threshold: typeof Schema.Number;
|
|
110
|
-
signers: Schema.Array$<typeof MultisigSigner>;
|
|
111
|
-
pendingTransactions: Schema.Array$<typeof PendingTransaction>;
|
|
112
|
-
}>, never, {
|
|
113
|
-
readonly threshold: number;
|
|
114
|
-
} & {
|
|
115
|
-
readonly signers: readonly MultisigSigner[];
|
|
116
|
-
} & {
|
|
117
|
-
readonly pendingTransactions: readonly PendingTransaction[];
|
|
118
|
-
}, {}, {}>;
|
|
37
|
+
declare const MultisigDetails_base: Schema.Class<MultisigDetails, Schema.Struct<{
|
|
38
|
+
readonly pendingTransactions: Schema.$Array<typeof PendingTransaction>;
|
|
39
|
+
readonly signers: Schema.$Array<typeof MultisigSigner>;
|
|
40
|
+
readonly threshold: Schema.Number;
|
|
41
|
+
}>, {}>;
|
|
119
42
|
declare class MultisigDetails extends MultisigDetails_base {}
|
|
120
|
-
declare const WalletOverview_base: Schema.Class<WalletOverview, {
|
|
121
|
-
|
|
122
|
-
blockchain: Schema.
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
multisigDetails: Schema.optional<typeof MultisigDetails>;
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
}
|
|
132
|
-
walletAddress: typeof Schema.String;
|
|
133
|
-
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
134
|
-
walletType: Schema.Literal<["eoa", "erc7702", "erc4337", "multisig", "contract"]>;
|
|
135
|
-
implementationAddress: Schema.optional<typeof Schema.String>;
|
|
136
|
-
erc7702Delegation: Schema.optional<typeof Erc7702Delegation>;
|
|
137
|
-
multisigDetails: Schema.optional<typeof MultisigDetails>;
|
|
138
|
-
totalTransactionCount: typeof Schema.Number;
|
|
139
|
-
earliestTx: Schema.NullOr<typeof Schema.Number>;
|
|
140
|
-
totalDeployedContractsCount: typeof Schema.Number;
|
|
141
|
-
balances: Schema.Array$<typeof WalletBalance>;
|
|
142
|
-
}>, never, {
|
|
143
|
-
readonly blockchain: "ethereum" | "base";
|
|
144
|
-
} & {
|
|
145
|
-
readonly walletAddress: string;
|
|
146
|
-
} & {
|
|
147
|
-
readonly implementationAddress?: string | undefined;
|
|
148
|
-
} & {
|
|
149
|
-
readonly totalTransactionCount: number;
|
|
150
|
-
} & {
|
|
151
|
-
readonly totalDeployedContractsCount: number;
|
|
152
|
-
} & {
|
|
153
|
-
readonly walletType: "contract" | "eoa" | "erc7702" | "erc4337" | "multisig";
|
|
154
|
-
} & {
|
|
155
|
-
readonly erc7702Delegation?: Erc7702Delegation | undefined;
|
|
156
|
-
} & {
|
|
157
|
-
readonly multisigDetails?: MultisigDetails | undefined;
|
|
158
|
-
} & {
|
|
159
|
-
readonly earliestTx: number | null;
|
|
160
|
-
} & {
|
|
161
|
-
readonly balances: readonly WalletBalance[];
|
|
162
|
-
}, {}, {}>;
|
|
43
|
+
declare const WalletOverview_base: Schema.Class<WalletOverview, Schema.Struct<{
|
|
44
|
+
readonly balances: Schema.$Array<typeof WalletBalance>;
|
|
45
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
46
|
+
readonly earliestTx: Schema.NullOr<Schema.Number>;
|
|
47
|
+
readonly erc7702Delegation: Schema.optional<typeof Erc7702Delegation>;
|
|
48
|
+
readonly implementationAddress: Schema.optional<Schema.String>;
|
|
49
|
+
readonly multisigDetails: Schema.optional<typeof MultisigDetails>;
|
|
50
|
+
readonly totalDeployedContractsCount: Schema.Number;
|
|
51
|
+
readonly totalTransactionCount: Schema.Number;
|
|
52
|
+
readonly walletAddress: Schema.String;
|
|
53
|
+
readonly walletType: Schema.Literals<readonly ["eoa", "erc7702", "erc4337", "multisig", "contract"]>;
|
|
54
|
+
}>, {}>;
|
|
163
55
|
declare class WalletOverview extends WalletOverview_base {}
|
|
164
|
-
declare const TokenBalanceInfo_base: Schema.Class<TokenBalanceInfo, {
|
|
165
|
-
|
|
166
|
-
formatted:
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
}
|
|
170
|
-
raw: typeof Schema.String;
|
|
171
|
-
formatted: typeof Schema.String;
|
|
172
|
-
symbol: Schema.NullOr<typeof Schema.String>;
|
|
173
|
-
decimals: Schema.NullOr<typeof Schema.Number>;
|
|
174
|
-
}>, never, {
|
|
175
|
-
readonly symbol: string | null;
|
|
176
|
-
} & {
|
|
177
|
-
readonly decimals: number | null;
|
|
178
|
-
} & {
|
|
179
|
-
readonly raw: string;
|
|
180
|
-
} & {
|
|
181
|
-
readonly formatted: string;
|
|
182
|
-
}, {}, {}>;
|
|
56
|
+
declare const TokenBalanceInfo_base: Schema.Class<TokenBalanceInfo, Schema.Struct<{
|
|
57
|
+
readonly decimals: Schema.NullOr<Schema.Number>;
|
|
58
|
+
readonly formatted: Schema.String;
|
|
59
|
+
readonly raw: Schema.String;
|
|
60
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
61
|
+
}>, {}>;
|
|
183
62
|
declare class TokenBalanceInfo extends TokenBalanceInfo_base {}
|
|
184
|
-
declare const TokenTransfer_base: Schema.Class<TokenTransfer, {
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
}
|
|
196
|
-
txHash: typeof Schema.String;
|
|
197
|
-
blockTimestamp: typeof Schema.Number;
|
|
198
|
-
blockTimestampUtc: typeof Schema.String;
|
|
199
|
-
blockNumber: typeof Schema.Number;
|
|
200
|
-
logIndex: typeof Schema.Number;
|
|
201
|
-
fromAddress: typeof Schema.String;
|
|
202
|
-
toAddress: typeof Schema.String;
|
|
203
|
-
amount: typeof Schema.String;
|
|
204
|
-
formattedAmount: typeof Schema.String;
|
|
205
|
-
direction: Schema.Literal<["in", "out"]>;
|
|
206
|
-
}>, never, {
|
|
207
|
-
readonly txHash: string;
|
|
208
|
-
} & {
|
|
209
|
-
readonly blockNumber: number;
|
|
210
|
-
} & {
|
|
211
|
-
readonly logIndex: number;
|
|
212
|
-
} & {
|
|
213
|
-
readonly blockTimestamp: number;
|
|
214
|
-
} & {
|
|
215
|
-
readonly fromAddress: string;
|
|
216
|
-
} & {
|
|
217
|
-
readonly toAddress: string;
|
|
218
|
-
} & {
|
|
219
|
-
readonly amount: string;
|
|
220
|
-
} & {
|
|
221
|
-
readonly blockTimestampUtc: string;
|
|
222
|
-
} & {
|
|
223
|
-
readonly direction: "in" | "out";
|
|
224
|
-
} & {
|
|
225
|
-
readonly formattedAmount: string;
|
|
226
|
-
}, {}, {}>;
|
|
63
|
+
declare const TokenTransfer_base: Schema.Class<TokenTransfer, Schema.Struct<{
|
|
64
|
+
readonly amount: Schema.String;
|
|
65
|
+
readonly blockNumber: Schema.Number;
|
|
66
|
+
readonly blockTimestamp: Schema.Number;
|
|
67
|
+
readonly blockTimestampUtc: Schema.String;
|
|
68
|
+
readonly direction: Schema.Literals<readonly ["in", "out"]>;
|
|
69
|
+
readonly formattedAmount: Schema.String;
|
|
70
|
+
readonly fromAddress: Schema.String;
|
|
71
|
+
readonly logIndex: Schema.Number;
|
|
72
|
+
readonly toAddress: Schema.String;
|
|
73
|
+
readonly txHash: Schema.String;
|
|
74
|
+
}>, {}>;
|
|
227
75
|
declare class TokenTransfer extends TokenTransfer_base {}
|
|
228
|
-
declare const TokenActivityPagination_base: Schema.Class<TokenActivityPagination, {
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
}
|
|
233
|
-
page: typeof Schema.Number;
|
|
234
|
-
pageSize: typeof Schema.Number;
|
|
235
|
-
hasMore: typeof Schema.Boolean;
|
|
236
|
-
}>, never, {
|
|
237
|
-
readonly page: number;
|
|
238
|
-
} & {
|
|
239
|
-
readonly pageSize: number;
|
|
240
|
-
} & {
|
|
241
|
-
readonly hasMore: boolean;
|
|
242
|
-
}, {}, {}>;
|
|
76
|
+
declare const TokenActivityPagination_base: Schema.Class<TokenActivityPagination, Schema.Struct<{
|
|
77
|
+
readonly hasMore: Schema.Boolean;
|
|
78
|
+
readonly page: Schema.Number;
|
|
79
|
+
readonly pageSize: Schema.Number;
|
|
80
|
+
}>, {}>;
|
|
243
81
|
declare class TokenActivityPagination extends TokenActivityPagination_base {}
|
|
244
|
-
declare const TokenActivity_base: Schema.Class<TokenActivity, {
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
}
|
|
252
|
-
holderAddress: typeof Schema.String;
|
|
253
|
-
tokenAddress: typeof Schema.String;
|
|
254
|
-
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
255
|
-
balance: typeof TokenBalanceInfo;
|
|
256
|
-
transfers: Schema.Array$<typeof TokenTransfer>;
|
|
257
|
-
pagination: typeof TokenActivityPagination;
|
|
258
|
-
}>, never, {
|
|
259
|
-
readonly blockchain: "ethereum" | "base";
|
|
260
|
-
} & {
|
|
261
|
-
readonly balance: TokenBalanceInfo;
|
|
262
|
-
} & {
|
|
263
|
-
readonly tokenAddress: string;
|
|
264
|
-
} & {
|
|
265
|
-
readonly holderAddress: string;
|
|
266
|
-
} & {
|
|
267
|
-
readonly transfers: readonly TokenTransfer[];
|
|
268
|
-
} & {
|
|
269
|
-
readonly pagination: TokenActivityPagination;
|
|
270
|
-
}, {}, {}>;
|
|
82
|
+
declare const TokenActivity_base: Schema.Class<TokenActivity, Schema.Struct<{
|
|
83
|
+
readonly balance: typeof TokenBalanceInfo;
|
|
84
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
85
|
+
readonly holderAddress: Schema.String;
|
|
86
|
+
readonly pagination: typeof TokenActivityPagination;
|
|
87
|
+
readonly tokenAddress: Schema.String;
|
|
88
|
+
readonly transfers: Schema.$Array<typeof TokenTransfer>;
|
|
89
|
+
}>, {}>;
|
|
271
90
|
declare class TokenActivity extends TokenActivity_base {}
|
|
272
|
-
declare const WalletTxCall_base: Schema.Class<WalletTxCall, {
|
|
273
|
-
callee:
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
}
|
|
279
|
-
callee: typeof Schema.String;
|
|
280
|
-
functionSignature: typeof Schema.String;
|
|
281
|
-
functionName: typeof Schema.String;
|
|
282
|
-
contractName: Schema.NullOr<typeof Schema.String>;
|
|
283
|
-
entityLabel: Schema.NullOr<typeof Schema.String>;
|
|
284
|
-
}>, never, {
|
|
285
|
-
readonly contractName: string | null;
|
|
286
|
-
} & {
|
|
287
|
-
readonly functionSignature: string;
|
|
288
|
-
} & {
|
|
289
|
-
readonly entityLabel: string | null;
|
|
290
|
-
} & {
|
|
291
|
-
readonly functionName: string;
|
|
292
|
-
} & {
|
|
293
|
-
readonly callee: string;
|
|
294
|
-
}, {}, {}>;
|
|
91
|
+
declare const WalletTxCall_base: Schema.Class<WalletTxCall, Schema.Struct<{
|
|
92
|
+
readonly callee: Schema.String;
|
|
93
|
+
readonly contractName: Schema.NullOr<Schema.String>;
|
|
94
|
+
readonly entityLabel: Schema.NullOr<Schema.String>;
|
|
95
|
+
readonly functionName: Schema.String;
|
|
96
|
+
readonly functionSignature: Schema.String;
|
|
97
|
+
}>, {}>;
|
|
295
98
|
declare class WalletTxCall extends WalletTxCall_base {}
|
|
296
|
-
declare const WalletTxActionExecution_base: Schema.Class<WalletTxActionExecution, {
|
|
297
|
-
actionId:
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
}
|
|
302
|
-
actionId: typeof Schema.String;
|
|
303
|
-
versionId: typeof Schema.String;
|
|
304
|
-
actionName: typeof Schema.String;
|
|
305
|
-
executionId: typeof Schema.String;
|
|
306
|
-
}>, never, {
|
|
307
|
-
readonly actionId: string;
|
|
308
|
-
} & {
|
|
309
|
-
readonly versionId: string;
|
|
310
|
-
} & {
|
|
311
|
-
readonly actionName: string;
|
|
312
|
-
} & {
|
|
313
|
-
readonly executionId: string;
|
|
314
|
-
}, {}, {}>;
|
|
99
|
+
declare const WalletTxActionExecution_base: Schema.Class<WalletTxActionExecution, Schema.Struct<{
|
|
100
|
+
readonly actionId: Schema.String;
|
|
101
|
+
readonly actionName: Schema.String;
|
|
102
|
+
readonly executionId: Schema.String;
|
|
103
|
+
readonly versionId: Schema.String;
|
|
104
|
+
}>, {}>;
|
|
315
105
|
declare class WalletTxActionExecution extends WalletTxActionExecution_base {}
|
|
316
|
-
declare const WalletTxTransfer_base: Schema.Class<WalletTxTransfer, {
|
|
317
|
-
|
|
318
|
-
blockNumber:
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
tokenLogoUrl:
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
}
|
|
337
|
-
txHash: typeof Schema.String;
|
|
338
|
-
blockNumber: typeof Schema.Number;
|
|
339
|
-
tokenAddress: typeof Schema.String;
|
|
340
|
-
fromAddress: typeof Schema.String;
|
|
341
|
-
toAddress: typeof Schema.String;
|
|
342
|
-
amount: typeof Schema.Number;
|
|
343
|
-
blockTimestamp: typeof Schema.Number;
|
|
344
|
-
chainId: typeof Schema.Number;
|
|
345
|
-
tokenId: typeof Schema.Number;
|
|
346
|
-
tokenDecimals: typeof Schema.Number;
|
|
347
|
-
tokenName: typeof Schema.String;
|
|
348
|
-
tokenSymbol: typeof Schema.String;
|
|
349
|
-
tokenPriceUsd: typeof Schema.Number;
|
|
350
|
-
tokenLogoUrl: typeof Schema.String;
|
|
351
|
-
tokenType: Schema.Literal<["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
352
|
-
fromAddressIsContract: typeof Schema.Boolean;
|
|
353
|
-
toAddressIsContract: typeof Schema.Boolean;
|
|
354
|
-
fromEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
355
|
-
toEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
356
|
-
}>, never, {
|
|
357
|
-
readonly txHash: string;
|
|
358
|
-
} & {
|
|
359
|
-
readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
|
|
360
|
-
} & {
|
|
361
|
-
readonly blockNumber: number;
|
|
362
|
-
} & {
|
|
363
|
-
readonly toEntityLabel?: string | null | undefined;
|
|
364
|
-
} & {
|
|
365
|
-
readonly fromEntityLabel?: string | null | undefined;
|
|
366
|
-
} & {
|
|
367
|
-
readonly tokenAddress: string;
|
|
368
|
-
} & {
|
|
369
|
-
readonly blockTimestamp: number;
|
|
370
|
-
} & {
|
|
371
|
-
readonly chainId: number;
|
|
372
|
-
} & {
|
|
373
|
-
readonly tokenId: number;
|
|
374
|
-
} & {
|
|
375
|
-
readonly tokenDecimals: number;
|
|
376
|
-
} & {
|
|
377
|
-
readonly tokenName: string;
|
|
378
|
-
} & {
|
|
379
|
-
readonly tokenSymbol: string;
|
|
380
|
-
} & {
|
|
381
|
-
readonly tokenPriceUsd: number;
|
|
382
|
-
} & {
|
|
383
|
-
readonly tokenLogoUrl: string;
|
|
384
|
-
} & {
|
|
385
|
-
readonly fromAddress: string;
|
|
386
|
-
} & {
|
|
387
|
-
readonly toAddress: string;
|
|
388
|
-
} & {
|
|
389
|
-
readonly amount: number;
|
|
390
|
-
} & {
|
|
391
|
-
readonly fromAddressIsContract: boolean;
|
|
392
|
-
} & {
|
|
393
|
-
readonly toAddressIsContract: boolean;
|
|
394
|
-
}, {}, {}>;
|
|
106
|
+
declare const WalletTxTransfer_base: Schema.Class<WalletTxTransfer, Schema.Struct<{
|
|
107
|
+
readonly amount: Schema.Number;
|
|
108
|
+
readonly blockNumber: Schema.Number;
|
|
109
|
+
readonly blockTimestamp: Schema.Number;
|
|
110
|
+
readonly chainId: Schema.Number;
|
|
111
|
+
readonly fromAddress: Schema.String;
|
|
112
|
+
readonly fromAddressIsContract: Schema.Boolean;
|
|
113
|
+
readonly fromEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
114
|
+
readonly toAddress: Schema.String;
|
|
115
|
+
readonly toAddressIsContract: Schema.Boolean;
|
|
116
|
+
readonly toEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
117
|
+
readonly tokenAddress: Schema.String;
|
|
118
|
+
readonly tokenDecimals: Schema.Number;
|
|
119
|
+
readonly tokenId: Schema.Number;
|
|
120
|
+
readonly tokenLogoUrl: Schema.String;
|
|
121
|
+
readonly tokenName: Schema.String;
|
|
122
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
123
|
+
readonly tokenSymbol: Schema.String;
|
|
124
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
125
|
+
readonly txHash: Schema.String;
|
|
126
|
+
}>, {}>;
|
|
395
127
|
declare class WalletTxTransfer extends WalletTxTransfer_base {}
|
|
396
|
-
declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, {
|
|
397
|
-
|
|
398
|
-
blockNumber:
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
tokenPriceUsd:
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
}
|
|
416
|
-
txHash: Schema.optional<typeof Schema.String>;
|
|
417
|
-
blockNumber: typeof Schema.Number;
|
|
418
|
-
tokenAddress: typeof Schema.String;
|
|
419
|
-
holderAddress: typeof Schema.String;
|
|
420
|
-
holderIsContract: typeof Schema.Boolean;
|
|
421
|
-
balanceChange: typeof Schema.Number;
|
|
422
|
-
blockTimestamp: typeof Schema.Number;
|
|
423
|
-
chainId: typeof Schema.Number;
|
|
424
|
-
tokenType: Schema.Literal<["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
425
|
-
tokenId: typeof Schema.Number;
|
|
426
|
-
tokenDecimals: typeof Schema.Number;
|
|
427
|
-
tokenName: typeof Schema.String;
|
|
428
|
-
tokenSymbol: typeof Schema.String;
|
|
429
|
-
tokenPriceUsd: typeof Schema.Number;
|
|
430
|
-
tokenLogoUrl: typeof Schema.String;
|
|
431
|
-
holderEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
432
|
-
tokenEntityLabel: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
433
|
-
transfers: Schema.Array$<typeof WalletTxTransfer>;
|
|
434
|
-
}>, never, {
|
|
435
|
-
readonly txHash?: string | undefined;
|
|
436
|
-
} & {
|
|
437
|
-
readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
|
|
438
|
-
} & {
|
|
439
|
-
readonly blockNumber: number;
|
|
440
|
-
} & {
|
|
441
|
-
readonly tokenAddress: string;
|
|
442
|
-
} & {
|
|
443
|
-
readonly holderAddress: string;
|
|
444
|
-
} & {
|
|
445
|
-
readonly holderIsContract: boolean;
|
|
446
|
-
} & {
|
|
447
|
-
readonly balanceChange: number;
|
|
448
|
-
} & {
|
|
449
|
-
readonly blockTimestamp: number;
|
|
450
|
-
} & {
|
|
451
|
-
readonly chainId: number;
|
|
452
|
-
} & {
|
|
453
|
-
readonly tokenId: number;
|
|
454
|
-
} & {
|
|
455
|
-
readonly tokenDecimals: number;
|
|
456
|
-
} & {
|
|
457
|
-
readonly tokenName: string;
|
|
458
|
-
} & {
|
|
459
|
-
readonly tokenSymbol: string;
|
|
460
|
-
} & {
|
|
461
|
-
readonly tokenPriceUsd: number;
|
|
462
|
-
} & {
|
|
463
|
-
readonly tokenLogoUrl: string;
|
|
464
|
-
} & {
|
|
465
|
-
readonly holderEntityLabel?: string | null | undefined;
|
|
466
|
-
} & {
|
|
467
|
-
readonly tokenEntityLabel?: string | null | undefined;
|
|
468
|
-
} & {
|
|
469
|
-
readonly transfers: readonly WalletTxTransfer[];
|
|
470
|
-
}, {}, {}>;
|
|
128
|
+
declare const WalletTxBalanceChange_base: Schema.Class<WalletTxBalanceChange, Schema.Struct<{
|
|
129
|
+
readonly balanceChange: Schema.Number;
|
|
130
|
+
readonly blockNumber: Schema.Number;
|
|
131
|
+
readonly blockTimestamp: Schema.Number;
|
|
132
|
+
readonly chainId: Schema.Number;
|
|
133
|
+
readonly holderAddress: Schema.String;
|
|
134
|
+
readonly holderEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
135
|
+
readonly holderIsContract: Schema.Boolean;
|
|
136
|
+
readonly tokenAddress: Schema.String;
|
|
137
|
+
readonly tokenDecimals: Schema.Number;
|
|
138
|
+
readonly tokenEntityLabel: Schema.optional<Schema.NullOr<Schema.String>>;
|
|
139
|
+
readonly tokenId: Schema.Number;
|
|
140
|
+
readonly tokenLogoUrl: Schema.String;
|
|
141
|
+
readonly tokenName: Schema.String;
|
|
142
|
+
readonly tokenPriceUsd: Schema.Number;
|
|
143
|
+
readonly tokenSymbol: Schema.String;
|
|
144
|
+
readonly tokenType: Schema.Literals<readonly ["NATIVE", "ERC20", "ERC721", "ERC1155"]>;
|
|
145
|
+
readonly transfers: Schema.$Array<typeof WalletTxTransfer>;
|
|
146
|
+
readonly txHash: Schema.optional<Schema.String>;
|
|
147
|
+
}>, {}>;
|
|
471
148
|
declare class WalletTxBalanceChange extends WalletTxBalanceChange_base {}
|
|
472
|
-
declare const WalletTransaction_base: Schema.Class<WalletTransaction, {
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
address: typeof Schema.String;
|
|
483
|
-
contractName: Schema.NullOr<typeof Schema.String>;
|
|
484
|
-
entityLabel: Schema.NullOr<typeof Schema.String>;
|
|
149
|
+
declare const WalletTransaction_base: Schema.Class<WalletTransaction, Schema.Struct<{
|
|
150
|
+
readonly actionExecution: Schema.optional<typeof WalletTxActionExecution>;
|
|
151
|
+
readonly blockNumber: Schema.Number;
|
|
152
|
+
readonly blockTimestamp: Schema.Number;
|
|
153
|
+
readonly blockTimestampUtc: Schema.String;
|
|
154
|
+
readonly calls: Schema.$Array<typeof WalletTxCall>;
|
|
155
|
+
readonly createdContracts: Schema.$Array<Schema.Struct<{
|
|
156
|
+
readonly address: Schema.String;
|
|
157
|
+
readonly contractName: Schema.NullOr<Schema.String>;
|
|
158
|
+
readonly entityLabel: Schema.NullOr<Schema.String>;
|
|
485
159
|
}>>;
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
txHash:
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
blockNumber: typeof Schema.Number;
|
|
492
|
-
success: typeof Schema.Boolean;
|
|
493
|
-
errorMessage: Schema.optional<typeof Schema.String>;
|
|
494
|
-
calls: Schema.Array$<typeof WalletTxCall>;
|
|
495
|
-
walletBalanceChanges: Schema.Array$<typeof WalletTxBalanceChange>;
|
|
496
|
-
createdContracts: Schema.Array$<Schema.Struct<{
|
|
497
|
-
address: typeof Schema.String;
|
|
498
|
-
contractName: Schema.NullOr<typeof Schema.String>;
|
|
499
|
-
entityLabel: Schema.NullOr<typeof Schema.String>;
|
|
500
|
-
}>>;
|
|
501
|
-
actionExecution: Schema.optional<typeof WalletTxActionExecution>;
|
|
502
|
-
}>, never, {
|
|
503
|
-
readonly txHash: string;
|
|
504
|
-
} & {
|
|
505
|
-
readonly errorMessage?: string | undefined;
|
|
506
|
-
} & {
|
|
507
|
-
readonly blockNumber: number;
|
|
508
|
-
} & {
|
|
509
|
-
readonly blockTimestamp: number;
|
|
510
|
-
} & {
|
|
511
|
-
readonly success: boolean;
|
|
512
|
-
} & {
|
|
513
|
-
readonly createdContracts: readonly {
|
|
514
|
-
readonly contractName: string | null;
|
|
515
|
-
readonly address: string;
|
|
516
|
-
readonly entityLabel: string | null;
|
|
517
|
-
}[];
|
|
518
|
-
} & {
|
|
519
|
-
readonly actionExecution?: WalletTxActionExecution | undefined;
|
|
520
|
-
} & {
|
|
521
|
-
readonly blockTimestampUtc: string;
|
|
522
|
-
} & {
|
|
523
|
-
readonly calls: readonly WalletTxCall[];
|
|
524
|
-
} & {
|
|
525
|
-
readonly walletBalanceChanges: readonly WalletTxBalanceChange[];
|
|
526
|
-
}, {}, {}>;
|
|
160
|
+
readonly errorMessage: Schema.optional<Schema.String>;
|
|
161
|
+
readonly success: Schema.Boolean;
|
|
162
|
+
readonly txHash: Schema.String;
|
|
163
|
+
readonly walletBalanceChanges: Schema.$Array<typeof WalletTxBalanceChange>;
|
|
164
|
+
}>, {}>;
|
|
527
165
|
declare class WalletTransaction extends WalletTransaction_base {}
|
|
528
|
-
declare const TransactionActivityPagination_base: Schema.Class<TransactionActivityPagination, {
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
}
|
|
533
|
-
page: typeof Schema.Number;
|
|
534
|
-
pageSize: typeof Schema.Number;
|
|
535
|
-
hasMore: typeof Schema.Boolean;
|
|
536
|
-
}>, never, {
|
|
537
|
-
readonly page: number;
|
|
538
|
-
} & {
|
|
539
|
-
readonly pageSize: number;
|
|
540
|
-
} & {
|
|
541
|
-
readonly hasMore: boolean;
|
|
542
|
-
}, {}, {}>;
|
|
166
|
+
declare const TransactionActivityPagination_base: Schema.Class<TransactionActivityPagination, Schema.Struct<{
|
|
167
|
+
readonly hasMore: Schema.Boolean;
|
|
168
|
+
readonly page: Schema.Number;
|
|
169
|
+
readonly pageSize: Schema.Number;
|
|
170
|
+
}>, {}>;
|
|
543
171
|
declare class TransactionActivityPagination extends TransactionActivityPagination_base {}
|
|
544
|
-
declare const TransactionActivity_base: Schema.Class<TransactionActivity, {
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
}
|
|
553
|
-
fromAddress: typeof Schema.String;
|
|
554
|
-
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
555
|
-
toAddressesFilter: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
556
|
-
totalTransactionCount: typeof Schema.Number;
|
|
557
|
-
earliestTx: Schema.NullOr<typeof Schema.Number>;
|
|
558
|
-
transactions: Schema.Array$<typeof WalletTransaction>;
|
|
559
|
-
pagination: typeof TransactionActivityPagination;
|
|
560
|
-
}>, never, {
|
|
561
|
-
readonly blockchain: "ethereum" | "base";
|
|
562
|
-
} & {
|
|
563
|
-
readonly transactions: readonly WalletTransaction[];
|
|
564
|
-
} & {
|
|
565
|
-
readonly fromAddress: string;
|
|
566
|
-
} & {
|
|
567
|
-
readonly totalTransactionCount: number;
|
|
568
|
-
} & {
|
|
569
|
-
readonly earliestTx: number | null;
|
|
570
|
-
} & {
|
|
571
|
-
readonly pagination: TransactionActivityPagination;
|
|
572
|
-
} & {
|
|
573
|
-
readonly toAddressesFilter?: readonly string[] | undefined;
|
|
574
|
-
}, {}, {}>;
|
|
172
|
+
declare const TransactionActivity_base: Schema.Class<TransactionActivity, Schema.Struct<{
|
|
173
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
174
|
+
readonly earliestTx: Schema.NullOr<Schema.Number>;
|
|
175
|
+
readonly fromAddress: Schema.String;
|
|
176
|
+
readonly pagination: typeof TransactionActivityPagination;
|
|
177
|
+
readonly toAddressesFilter: Schema.optional<Schema.$Array<Schema.String>>;
|
|
178
|
+
readonly totalTransactionCount: Schema.Number;
|
|
179
|
+
readonly transactions: Schema.$Array<typeof WalletTransaction>;
|
|
180
|
+
}>, {}>;
|
|
575
181
|
declare class TransactionActivity extends TransactionActivity_base {}
|
|
576
|
-
declare const DeployedContract_base: Schema.Class<DeployedContract, {
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
}
|
|
588
|
-
contractAddress: typeof Schema.String;
|
|
589
|
-
contractName: Schema.NullOr<typeof Schema.String>;
|
|
590
|
-
entity: Schema.NullOr<typeof Schema.String>;
|
|
591
|
-
symbol: Schema.NullOr<typeof Schema.String>;
|
|
592
|
-
blockNumber: typeof Schema.Number;
|
|
593
|
-
blockTimestamp: typeof Schema.Number;
|
|
594
|
-
blockTimestampUtc: typeof Schema.String;
|
|
595
|
-
deploymentTxnHash: typeof Schema.String;
|
|
596
|
-
factoryAddress: Schema.NullOr<typeof Schema.String>;
|
|
597
|
-
factoryName: Schema.NullOr<typeof Schema.String>;
|
|
598
|
-
}>, never, {
|
|
599
|
-
readonly symbol: string | null;
|
|
600
|
-
} & {
|
|
601
|
-
readonly contractAddress: string;
|
|
602
|
-
} & {
|
|
603
|
-
readonly contractName: string | null;
|
|
604
|
-
} & {
|
|
605
|
-
readonly blockNumber: number;
|
|
606
|
-
} & {
|
|
607
|
-
readonly blockTimestamp: number;
|
|
608
|
-
} & {
|
|
609
|
-
readonly blockTimestampUtc: string;
|
|
610
|
-
} & {
|
|
611
|
-
readonly deploymentTxnHash: string;
|
|
612
|
-
} & {
|
|
613
|
-
readonly entity: string | null;
|
|
614
|
-
} & {
|
|
615
|
-
readonly factoryAddress: string | null;
|
|
616
|
-
} & {
|
|
617
|
-
readonly factoryName: string | null;
|
|
618
|
-
}, {}, {}>;
|
|
182
|
+
declare const DeployedContract_base: Schema.Class<DeployedContract, Schema.Struct<{
|
|
183
|
+
readonly blockNumber: Schema.Number;
|
|
184
|
+
readonly blockTimestamp: Schema.Number;
|
|
185
|
+
readonly blockTimestampUtc: Schema.String;
|
|
186
|
+
readonly contractAddress: Schema.String;
|
|
187
|
+
readonly contractName: Schema.NullOr<Schema.String>;
|
|
188
|
+
readonly deploymentTxnHash: Schema.String;
|
|
189
|
+
readonly entity: Schema.NullOr<Schema.String>;
|
|
190
|
+
readonly factoryAddress: Schema.NullOr<Schema.String>;
|
|
191
|
+
readonly factoryName: Schema.NullOr<Schema.String>;
|
|
192
|
+
readonly symbol: Schema.NullOr<Schema.String>;
|
|
193
|
+
}>, {}>;
|
|
619
194
|
declare class DeployedContract extends DeployedContract_base {}
|
|
620
|
-
declare const DeployedContractsPagination_base: Schema.Class<DeployedContractsPagination, {
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
}
|
|
625
|
-
page: typeof Schema.Number;
|
|
626
|
-
pageSize: typeof Schema.Number;
|
|
627
|
-
hasMore: typeof Schema.Boolean;
|
|
628
|
-
}>, never, {
|
|
629
|
-
readonly page: number;
|
|
630
|
-
} & {
|
|
631
|
-
readonly pageSize: number;
|
|
632
|
-
} & {
|
|
633
|
-
readonly hasMore: boolean;
|
|
634
|
-
}, {}, {}>;
|
|
195
|
+
declare const DeployedContractsPagination_base: Schema.Class<DeployedContractsPagination, Schema.Struct<{
|
|
196
|
+
readonly hasMore: Schema.Boolean;
|
|
197
|
+
readonly page: Schema.Number;
|
|
198
|
+
readonly pageSize: Schema.Number;
|
|
199
|
+
}>, {}>;
|
|
635
200
|
declare class DeployedContractsPagination extends DeployedContractsPagination_base {}
|
|
636
|
-
declare const DeployedContracts_base: Schema.Class<DeployedContracts, {
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
}
|
|
644
|
-
deployerAddress: typeof Schema.String;
|
|
645
|
-
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
646
|
-
isEOA: typeof Schema.Boolean;
|
|
647
|
-
totalDeployedContractsCount: typeof Schema.Number;
|
|
648
|
-
deployedContracts: Schema.Array$<typeof DeployedContract>;
|
|
649
|
-
pagination: typeof DeployedContractsPagination;
|
|
650
|
-
}>, never, {
|
|
651
|
-
readonly blockchain: "ethereum" | "base";
|
|
652
|
-
} & {
|
|
653
|
-
readonly totalDeployedContractsCount: number;
|
|
654
|
-
} & {
|
|
655
|
-
readonly pagination: DeployedContractsPagination;
|
|
656
|
-
} & {
|
|
657
|
-
readonly deployerAddress: string;
|
|
658
|
-
} & {
|
|
659
|
-
readonly isEOA: boolean;
|
|
660
|
-
} & {
|
|
661
|
-
readonly deployedContracts: readonly DeployedContract[];
|
|
662
|
-
}, {}, {}>;
|
|
201
|
+
declare const DeployedContracts_base: Schema.Class<DeployedContracts, Schema.Struct<{
|
|
202
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
203
|
+
readonly deployedContracts: Schema.$Array<typeof DeployedContract>;
|
|
204
|
+
readonly deployerAddress: Schema.String;
|
|
205
|
+
readonly isEOA: Schema.Boolean;
|
|
206
|
+
readonly pagination: typeof DeployedContractsPagination;
|
|
207
|
+
readonly totalDeployedContractsCount: Schema.Number;
|
|
208
|
+
}>, {}>;
|
|
663
209
|
declare class DeployedContracts extends DeployedContracts_base {}
|
|
664
|
-
declare const TokenActivityParams_base: Schema.Class<TokenActivityParams, {
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
toAddress: Schema.optional<
|
|
672
|
-
}
|
|
673
|
-
page: Schema.optional<typeof Schema.Number>;
|
|
674
|
-
beforeTimestamp: Schema.optional<typeof Schema.Number>;
|
|
675
|
-
afterTimestamp: Schema.optional<typeof Schema.Number>;
|
|
676
|
-
beforeBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
677
|
-
afterBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
678
|
-
fromAddress: Schema.optional<typeof Schema.String>;
|
|
679
|
-
toAddress: Schema.optional<typeof Schema.String>;
|
|
680
|
-
}>, never, {
|
|
681
|
-
readonly page?: number | undefined;
|
|
682
|
-
} & {
|
|
683
|
-
readonly beforeTimestamp?: number | undefined;
|
|
684
|
-
} & {
|
|
685
|
-
readonly afterTimestamp?: number | undefined;
|
|
686
|
-
} & {
|
|
687
|
-
readonly beforeBlocknumber?: number | undefined;
|
|
688
|
-
} & {
|
|
689
|
-
readonly afterBlocknumber?: number | undefined;
|
|
690
|
-
} & {
|
|
691
|
-
readonly fromAddress?: string | undefined;
|
|
692
|
-
} & {
|
|
693
|
-
readonly toAddress?: string | undefined;
|
|
694
|
-
}, {}, {}>;
|
|
210
|
+
declare const TokenActivityParams_base: Schema.Class<TokenActivityParams, Schema.Struct<{
|
|
211
|
+
readonly afterBlocknumber: Schema.optional<Schema.Number>;
|
|
212
|
+
readonly afterTimestamp: Schema.optional<Schema.Number>;
|
|
213
|
+
readonly beforeBlocknumber: Schema.optional<Schema.Number>;
|
|
214
|
+
readonly beforeTimestamp: Schema.optional<Schema.Number>;
|
|
215
|
+
readonly fromAddress: Schema.optional<Schema.String>;
|
|
216
|
+
readonly page: Schema.optional<Schema.Number>;
|
|
217
|
+
readonly toAddress: Schema.optional<Schema.String>;
|
|
218
|
+
}>, {}>;
|
|
695
219
|
declare class TokenActivityParams extends TokenActivityParams_base {}
|
|
696
|
-
declare const TransactionActivityQuery_base: Schema.Class<TransactionActivityQuery, {
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
}
|
|
707
|
-
blockchain: Schema.Literal<["ethereum", "base"]>;
|
|
708
|
-
fromAddress: Schema.optional<typeof Schema.String>;
|
|
709
|
-
toAddresses: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
710
|
-
page: Schema.optional<typeof Schema.Number>;
|
|
711
|
-
beforeTimestamp: Schema.optional<typeof Schema.Number>;
|
|
712
|
-
afterTimestamp: Schema.optional<typeof Schema.Number>;
|
|
713
|
-
beforeBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
714
|
-
afterBlocknumber: Schema.optional<typeof Schema.Number>;
|
|
715
|
-
successOnly: Schema.optional<typeof Schema.Boolean>;
|
|
716
|
-
}>, never, {
|
|
717
|
-
readonly blockchain: "ethereum" | "base";
|
|
718
|
-
} & {
|
|
719
|
-
readonly page?: number | undefined;
|
|
720
|
-
} & {
|
|
721
|
-
readonly beforeTimestamp?: number | undefined;
|
|
722
|
-
} & {
|
|
723
|
-
readonly afterTimestamp?: number | undefined;
|
|
724
|
-
} & {
|
|
725
|
-
readonly beforeBlocknumber?: number | undefined;
|
|
726
|
-
} & {
|
|
727
|
-
readonly afterBlocknumber?: number | undefined;
|
|
728
|
-
} & {
|
|
729
|
-
readonly fromAddress?: string | undefined;
|
|
730
|
-
} & {
|
|
731
|
-
readonly successOnly?: boolean | undefined;
|
|
732
|
-
} & {
|
|
733
|
-
readonly toAddresses?: readonly string[] | undefined;
|
|
734
|
-
}, {}, {}>;
|
|
220
|
+
declare const TransactionActivityQuery_base: Schema.Class<TransactionActivityQuery, Schema.Struct<{
|
|
221
|
+
readonly afterBlocknumber: Schema.optional<Schema.Number>;
|
|
222
|
+
readonly afterTimestamp: Schema.optional<Schema.Number>;
|
|
223
|
+
readonly beforeBlocknumber: Schema.optional<Schema.Number>;
|
|
224
|
+
readonly beforeTimestamp: Schema.optional<Schema.Number>;
|
|
225
|
+
readonly blockchain: Schema.Literals<readonly ["ethereum", "base"]>;
|
|
226
|
+
readonly fromAddress: Schema.optional<Schema.String>;
|
|
227
|
+
readonly page: Schema.optional<Schema.Number>;
|
|
228
|
+
readonly successOnly: Schema.optional<Schema.Boolean>;
|
|
229
|
+
readonly toAddresses: Schema.optional<Schema.$Array<Schema.String>>;
|
|
230
|
+
}>, {}>;
|
|
735
231
|
/** Same fields as MCP `getTransactionActivityTool` inputs (camelCase); POST `/v1/wallets/transaction-activity` body uses snake_case. */
|
|
736
232
|
declare class TransactionActivityQuery extends TransactionActivityQuery_base {}
|
|
737
233
|
//#endregion
|