@herd-labs/sdk 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/live/ActionsServiceLive.d.ts +2 -2
- package/dist/src/live/AdaptersServiceLive.d.ts +2 -2
- package/dist/src/live/AuthServiceLive.d.ts +2 -2
- package/dist/src/live/BookmarksServiceLive.d.ts +2 -2
- package/dist/src/live/CodeBlocksServiceLive.d.ts +2 -2
- package/dist/src/live/CollectionsServiceLive.d.ts +2 -2
- package/dist/src/live/ContractsServiceLive.d.ts +2 -2
- package/dist/src/live/DocsServiceLive.d.ts +2 -2
- package/dist/src/live/HalServiceLive.d.ts +2 -2
- package/dist/src/live/TransactionsServiceLive.d.ts +2 -2
- package/dist/src/live/WalletsServiceLive.d.ts +2 -2
- package/dist/src/schemas/actions.d.ts +11 -11
- package/dist/src/schemas/bookmarks.d.ts +24 -24
- package/dist/src/schemas/codeblocks.d.ts +9 -9
- package/dist/src/schemas/collections.d.ts +5 -5
- package/dist/src/schemas/contracts.d.ts +42 -42
- package/dist/src/schemas/hal.d.ts +28 -28
- package/dist/src/schemas/transactions.d.ts +93 -93
- package/dist/src/schemas/wallets.d.ts +78 -78
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as effect_Brand4 from "effect/Brand";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/contracts.d.ts
|
|
5
5
|
declare const FunctionSummary_base: Schema.Class<FunctionSummary, {
|
|
@@ -12,10 +12,10 @@ declare const FunctionSummary_base: Schema.Class<FunctionSummary, {
|
|
|
12
12
|
summary: typeof Schema.String;
|
|
13
13
|
}>, never, {
|
|
14
14
|
readonly name: string;
|
|
15
|
-
} & {
|
|
16
|
-
readonly summary: string;
|
|
17
15
|
} & {
|
|
18
16
|
readonly signature: string;
|
|
17
|
+
} & {
|
|
18
|
+
readonly summary: string;
|
|
19
19
|
}, {}, {}>;
|
|
20
20
|
declare class FunctionSummary extends FunctionSummary_base {}
|
|
21
21
|
declare const EventSummary_base: Schema.Class<EventSummary, {
|
|
@@ -67,21 +67,21 @@ declare const TopHolder_base: Schema.Class<TopHolder, {
|
|
|
67
67
|
entityLabel: Schema.optional<typeof Schema.String>;
|
|
68
68
|
coingeckoLabel: Schema.optional<typeof Schema.String>;
|
|
69
69
|
}>, never, {
|
|
70
|
-
readonly address: string;
|
|
71
|
-
} & {
|
|
72
|
-
readonly valueUsd: number;
|
|
73
|
-
} & {
|
|
74
|
-
readonly balance: number;
|
|
75
|
-
} & {
|
|
76
|
-
readonly entityLabel?: string | undefined;
|
|
77
|
-
} & {
|
|
78
70
|
readonly name?: string | undefined;
|
|
71
|
+
} & {
|
|
72
|
+
readonly address: string;
|
|
79
73
|
} & {
|
|
80
74
|
readonly type: "contract" | "wallet";
|
|
81
75
|
} & {
|
|
82
76
|
readonly rank: number;
|
|
77
|
+
} & {
|
|
78
|
+
readonly balance: number;
|
|
79
|
+
} & {
|
|
80
|
+
readonly valueUsd: number;
|
|
83
81
|
} & {
|
|
84
82
|
readonly sharePercentage: number;
|
|
83
|
+
} & {
|
|
84
|
+
readonly entityLabel?: string | undefined;
|
|
85
85
|
} & {
|
|
86
86
|
readonly coingeckoLabel?: string | undefined;
|
|
87
87
|
}, {}, {}>;
|
|
@@ -118,14 +118,14 @@ declare const TokenDetails_base: Schema.Class<TokenDetails, {
|
|
|
118
118
|
topHolders: Schema.optional<Schema.Array$<typeof TopHolder>>;
|
|
119
119
|
}>, never, {
|
|
120
120
|
readonly symbol: string;
|
|
121
|
-
} & {
|
|
122
|
-
readonly decimals?: number | undefined;
|
|
123
|
-
} & {
|
|
124
|
-
readonly tokenType: "ERC20" | "ERC721" | "ERC1155";
|
|
125
121
|
} & {
|
|
126
122
|
readonly name: string;
|
|
127
123
|
} & {
|
|
128
124
|
readonly description?: string | undefined;
|
|
125
|
+
} & {
|
|
126
|
+
readonly tokenType: "ERC20" | "ERC721" | "ERC1155";
|
|
127
|
+
} & {
|
|
128
|
+
readonly decimals?: number | undefined;
|
|
129
129
|
} & {
|
|
130
130
|
readonly currentPriceUsd?: number | undefined;
|
|
131
131
|
} & {
|
|
@@ -180,8 +180,8 @@ declare const AddressDetails_base: Schema.Class<AddressDetails, {
|
|
|
180
180
|
readonly deploymentTxHash?: string | undefined;
|
|
181
181
|
} & {
|
|
182
182
|
readonly factory?: {
|
|
183
|
-
readonly address: string;
|
|
184
183
|
readonly name: string;
|
|
184
|
+
readonly address: string;
|
|
185
185
|
} | undefined;
|
|
186
186
|
} & {
|
|
187
187
|
readonly constructorArgs?: {
|
|
@@ -301,6 +301,8 @@ declare const ContractCodeMatchBlock_base: Schema.Class<ContractCodeMatchBlock,
|
|
|
301
301
|
patterns: Schema.Array$<typeof Schema.String>;
|
|
302
302
|
}>, never, {
|
|
303
303
|
readonly code: string;
|
|
304
|
+
} & {
|
|
305
|
+
readonly patterns: readonly string[];
|
|
304
306
|
} & {
|
|
305
307
|
readonly fileName: string;
|
|
306
308
|
} & {
|
|
@@ -309,8 +311,6 @@ declare const ContractCodeMatchBlock_base: Schema.Class<ContractCodeMatchBlock,
|
|
|
309
311
|
readonly endLine: number;
|
|
310
312
|
} & {
|
|
311
313
|
readonly numberOfMatches: number;
|
|
312
|
-
} & {
|
|
313
|
-
readonly patterns: readonly string[];
|
|
314
314
|
}, {}, {}>;
|
|
315
315
|
declare class ContractCodeMatchBlock extends ContractCodeMatchBlock_base {}
|
|
316
316
|
declare const ContractCodeSearchResult_base: Schema.Class<ContractCodeSearchResult, {
|
|
@@ -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 contractName: string;
|
|
332
|
-
} & {
|
|
333
331
|
readonly blockchain: "ethereum" | "base";
|
|
334
332
|
} & {
|
|
335
|
-
readonly contractAddress: string &
|
|
333
|
+
readonly contractAddress: string & effect_Brand4.Brand<"EvmAddress">;
|
|
334
|
+
} & {
|
|
335
|
+
readonly contractName: string;
|
|
336
336
|
} & {
|
|
337
337
|
readonly code?: string | undefined;
|
|
338
338
|
} & {
|
|
@@ -354,15 +354,15 @@ declare const GetContractCodeParams_base: Schema.Class<GetContractCodeParams, {
|
|
|
354
354
|
returnAllCode: Schema.optional<typeof Schema.Boolean>;
|
|
355
355
|
patterns: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
356
356
|
}>, never, {
|
|
357
|
-
readonly patterns?: readonly string[] | undefined;
|
|
358
|
-
} & {
|
|
359
357
|
readonly query: string;
|
|
360
358
|
} & {
|
|
361
|
-
readonly contractAddresses: readonly (string &
|
|
359
|
+
readonly contractAddresses: readonly (string & effect_Brand4.Brand<"EvmAddress">)[];
|
|
362
360
|
} & {
|
|
363
361
|
readonly includeProxies?: boolean | undefined;
|
|
364
362
|
} & {
|
|
365
363
|
readonly returnAllCode?: boolean | undefined;
|
|
364
|
+
} & {
|
|
365
|
+
readonly patterns?: readonly string[] | undefined;
|
|
366
366
|
}, {}, {}>;
|
|
367
367
|
declare class GetContractCodeParams extends GetContractCodeParams_base {}
|
|
368
368
|
declare const GetContractCodeResponse_base: Schema.Class<GetContractCodeResponse, {
|
|
@@ -442,10 +442,10 @@ declare const TokenBalance_base: Schema.Class<TokenBalance, {
|
|
|
442
442
|
name: typeof Schema.String;
|
|
443
443
|
}>, never, {
|
|
444
444
|
readonly symbol: string;
|
|
445
|
-
} & {
|
|
446
|
-
readonly tokenAddress: string;
|
|
447
445
|
} & {
|
|
448
446
|
readonly name: string;
|
|
447
|
+
} & {
|
|
448
|
+
readonly tokenAddress: string;
|
|
449
449
|
} & {
|
|
450
450
|
readonly tokenStandard: "erc20" | "erc721" | "erc1155";
|
|
451
451
|
}, {}, {}>;
|
|
@@ -477,25 +477,25 @@ declare const Role_base: Schema.Class<Role, {
|
|
|
477
477
|
holders: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
478
478
|
totalHistoricalHolderCount: Schema.optional<typeof Schema.Number>;
|
|
479
479
|
}>, never, {
|
|
480
|
-
readonly functions: readonly RoleFunction[];
|
|
481
|
-
} & {
|
|
482
480
|
readonly name: string;
|
|
481
|
+
} & {
|
|
482
|
+
readonly tokenBalance?: TokenBalance | undefined;
|
|
483
483
|
} & {
|
|
484
484
|
readonly modifier?: string | undefined;
|
|
485
485
|
} & {
|
|
486
486
|
readonly roleType?: "access-control" | "gate" | undefined;
|
|
487
487
|
} & {
|
|
488
|
-
readonly valueStorageType?: "
|
|
488
|
+
readonly valueStorageType?: "unknown" | "constant" | "immutable" | "variable" | "mapping" | undefined;
|
|
489
489
|
} & {
|
|
490
490
|
readonly administeredBy?: readonly string[] | undefined;
|
|
491
|
+
} & {
|
|
492
|
+
readonly functions: readonly RoleFunction[];
|
|
491
493
|
} & {
|
|
492
494
|
readonly holderVerificationFunctionSignatures?: readonly string[] | undefined;
|
|
493
495
|
} & {
|
|
494
496
|
readonly anyAddress?: boolean | undefined;
|
|
495
497
|
} & {
|
|
496
498
|
readonly onOtherContract?: string | undefined;
|
|
497
|
-
} & {
|
|
498
|
-
readonly tokenBalance?: TokenBalance | undefined;
|
|
499
499
|
} & {
|
|
500
500
|
readonly holders?: readonly string[] | undefined;
|
|
501
501
|
} & {
|
|
@@ -515,9 +515,9 @@ declare const RolesNodeMultisigDetails_base: Schema.Class<RolesNodeMultisigDetai
|
|
|
515
515
|
threshold: typeof Schema.Number;
|
|
516
516
|
signerCount: typeof Schema.Number;
|
|
517
517
|
}>, never, {
|
|
518
|
-
readonly threshold: number;
|
|
519
|
-
} & {
|
|
520
518
|
readonly type: "multisig" | "aragon-multisig";
|
|
519
|
+
} & {
|
|
520
|
+
readonly threshold: number;
|
|
521
521
|
} & {
|
|
522
522
|
readonly signerCount: number;
|
|
523
523
|
} & {
|
|
@@ -555,19 +555,17 @@ declare const RolesNode_base: Schema.Class<RolesNode, {
|
|
|
555
555
|
processState: Schema.optional<Schema.Literal<["processed", "skipped", "failed", "max_depth"]>>;
|
|
556
556
|
nodeDepth: Schema.optional<typeof Schema.Number>;
|
|
557
557
|
}>, never, {
|
|
558
|
-
readonly address: string;
|
|
559
|
-
} & {
|
|
560
558
|
readonly contractName?: string | undefined;
|
|
561
559
|
} & {
|
|
562
|
-
readonly
|
|
560
|
+
readonly label?: string | undefined;
|
|
563
561
|
} & {
|
|
564
|
-
readonly
|
|
562
|
+
readonly address: string;
|
|
565
563
|
} & {
|
|
566
|
-
readonly
|
|
564
|
+
readonly tokenSymbol?: string | undefined;
|
|
567
565
|
} & {
|
|
568
|
-
readonly
|
|
566
|
+
readonly nodeType: "contract" | "wallet" | "safe" | "unknown" | "tokenBalance";
|
|
569
567
|
} & {
|
|
570
|
-
readonly
|
|
568
|
+
readonly tokenBalance?: TokenBalance | undefined;
|
|
571
569
|
} & {
|
|
572
570
|
readonly isVerified?: boolean | null | undefined;
|
|
573
571
|
} & {
|
|
@@ -576,6 +574,8 @@ declare const RolesNode_base: Schema.Class<RolesNode, {
|
|
|
576
574
|
readonly isUpgradeable?: boolean | null | undefined;
|
|
577
575
|
} & {
|
|
578
576
|
readonly roles?: readonly Role[] | undefined;
|
|
577
|
+
} & {
|
|
578
|
+
readonly multisigDetails?: RolesNodeMultisigDetails | undefined;
|
|
579
579
|
} & {
|
|
580
580
|
readonly processState?: "failed" | "processed" | "skipped" | "max_depth" | undefined;
|
|
581
581
|
} & {
|
|
@@ -610,12 +610,12 @@ declare const DiffVersionInfo_base: Schema.Class<DiffVersionInfo, {
|
|
|
610
610
|
contractName: typeof Schema.String;
|
|
611
611
|
}>, never, {
|
|
612
612
|
readonly contractName: string;
|
|
613
|
-
} & {
|
|
614
|
-
readonly implementationAddress: string;
|
|
615
613
|
} & {
|
|
616
614
|
readonly blockNumber: number;
|
|
617
615
|
} & {
|
|
618
616
|
readonly versionNumber: number;
|
|
617
|
+
} & {
|
|
618
|
+
readonly implementationAddress: string;
|
|
619
619
|
}, {}, {}>;
|
|
620
620
|
declare class DiffVersionInfo extends DiffVersionInfo_base {}
|
|
621
621
|
declare const DiffEntry_base: Schema.Class<DiffEntry, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as effect_Brand1 from "effect/Brand";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/hal.d.ts
|
|
5
5
|
declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
|
|
@@ -25,11 +25,9 @@ declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
|
|
|
25
25
|
tevmForkId: Schema.optional<typeof Schema.String>;
|
|
26
26
|
simulationBlockNumber: Schema.optional<typeof Schema.Number>;
|
|
27
27
|
}>, never, {
|
|
28
|
-
readonly walletAddress: string & effect_Brand0.Brand<"EvmAddress">;
|
|
29
|
-
} & {
|
|
30
|
-
readonly tevmForkId?: string | undefined;
|
|
31
|
-
} & {
|
|
32
28
|
readonly expression: unknown;
|
|
29
|
+
} & {
|
|
30
|
+
readonly walletAddress: string & effect_Brand1.Brand<"EvmAddress">;
|
|
33
31
|
} & {
|
|
34
32
|
readonly inputValues?: {
|
|
35
33
|
readonly [x: string]: unknown;
|
|
@@ -39,6 +37,8 @@ declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
|
|
|
39
37
|
readonly tokenAddress: string;
|
|
40
38
|
readonly startingBalanceRaw: string;
|
|
41
39
|
}[] | undefined;
|
|
40
|
+
} & {
|
|
41
|
+
readonly tevmForkId?: string | undefined;
|
|
42
42
|
} & {
|
|
43
43
|
readonly simulationBlockNumber?: number | undefined;
|
|
44
44
|
}, {}, {}>;
|
|
@@ -66,11 +66,9 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
|
|
|
66
66
|
tevmForkId: Schema.optional<typeof Schema.String>;
|
|
67
67
|
simulationBlockNumber: Schema.optional<typeof Schema.Number>;
|
|
68
68
|
}>, never, {
|
|
69
|
-
readonly walletAddress: string &
|
|
69
|
+
readonly walletAddress: string & effect_Brand1.Brand<"EvmAddress">;
|
|
70
70
|
} & {
|
|
71
|
-
readonly
|
|
72
|
-
} & {
|
|
73
|
-
readonly tevmForkId?: string | undefined;
|
|
71
|
+
readonly version?: string | undefined;
|
|
74
72
|
} & {
|
|
75
73
|
readonly inputValues?: {
|
|
76
74
|
readonly [x: string]: unknown;
|
|
@@ -80,10 +78,12 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
|
|
|
80
78
|
readonly tokenAddress: string;
|
|
81
79
|
readonly startingBalanceRaw: string;
|
|
82
80
|
}[] | undefined;
|
|
81
|
+
} & {
|
|
82
|
+
readonly tevmForkId?: string | undefined;
|
|
83
83
|
} & {
|
|
84
84
|
readonly simulationBlockNumber?: number | undefined;
|
|
85
85
|
} & {
|
|
86
|
-
readonly
|
|
86
|
+
readonly actionId: string;
|
|
87
87
|
}, {}, {}>;
|
|
88
88
|
declare class EvaluateExistingParams extends EvaluateExistingParams_base {}
|
|
89
89
|
declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
|
|
@@ -122,30 +122,30 @@ declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
|
|
|
122
122
|
transactionData: Schema.optional<Schema.NullOr<typeof Schema.Unknown>>;
|
|
123
123
|
}>, never, {
|
|
124
124
|
readonly value?: string | null | undefined;
|
|
125
|
-
} & {
|
|
126
|
-
readonly to?: string | undefined;
|
|
127
|
-
} & {
|
|
128
|
-
readonly data?: string | undefined;
|
|
129
125
|
} & {
|
|
130
126
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
131
|
-
} & {
|
|
132
|
-
readonly blockTimestamp: number | null;
|
|
133
|
-
} & {
|
|
134
|
-
readonly blockNumber: number | null;
|
|
135
|
-
} & {
|
|
136
|
-
readonly status: "success" | "failed" | "pending";
|
|
137
127
|
} & {
|
|
138
128
|
readonly transactionHash: string | null;
|
|
139
129
|
} & {
|
|
140
|
-
readonly
|
|
130
|
+
readonly status: "failed" | "success" | "pending";
|
|
141
131
|
} & {
|
|
142
132
|
readonly batchName: string | null;
|
|
143
133
|
} & {
|
|
144
134
|
readonly batchStepIndex: number | null;
|
|
135
|
+
} & {
|
|
136
|
+
readonly toContractName: string | null;
|
|
145
137
|
} & {
|
|
146
138
|
readonly transactionErrorMessage: string | null;
|
|
139
|
+
} & {
|
|
140
|
+
readonly blockNumber: number | null;
|
|
141
|
+
} & {
|
|
142
|
+
readonly blockTimestamp: number | null;
|
|
147
143
|
} & {
|
|
148
144
|
readonly operationId?: string | undefined;
|
|
145
|
+
} & {
|
|
146
|
+
readonly to?: string | undefined;
|
|
147
|
+
} & {
|
|
148
|
+
readonly data?: string | undefined;
|
|
149
149
|
} & {
|
|
150
150
|
readonly args?: unknown;
|
|
151
151
|
} & {
|
|
@@ -177,18 +177,18 @@ declare const EvaluateResponse_base: Schema.Class<EvaluateResponse, {
|
|
|
177
177
|
tevmForkId: Schema.optional<typeof Schema.String>;
|
|
178
178
|
tevmForkBlockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
179
179
|
}>, never, {
|
|
180
|
-
readonly
|
|
181
|
-
readonly name: string;
|
|
182
|
-
readonly message: string;
|
|
183
|
-
} | undefined;
|
|
184
|
-
} & {
|
|
185
|
-
readonly status: "completed" | "suspended" | "failed";
|
|
180
|
+
readonly hint?: string | undefined;
|
|
186
181
|
} & {
|
|
187
182
|
readonly tevmForkId?: string | undefined;
|
|
188
183
|
} & {
|
|
189
|
-
readonly
|
|
184
|
+
readonly status: "completed" | "suspended" | "failed";
|
|
190
185
|
} & {
|
|
191
186
|
readonly result?: unknown;
|
|
187
|
+
} & {
|
|
188
|
+
readonly error?: {
|
|
189
|
+
readonly message: string;
|
|
190
|
+
readonly name: string;
|
|
191
|
+
} | undefined;
|
|
192
192
|
} & {
|
|
193
193
|
readonly transactionStatuses?: readonly TransactionStatus[] | undefined;
|
|
194
194
|
} & {
|
|
@@ -448,117 +448,72 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
448
448
|
}>>;
|
|
449
449
|
tevmForkId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
450
450
|
}>, never, {
|
|
451
|
-
readonly
|
|
451
|
+
readonly id: string;
|
|
452
452
|
} & {
|
|
453
453
|
readonly txHash: string;
|
|
454
454
|
} & {
|
|
455
|
-
readonly
|
|
456
|
-
} & {
|
|
457
|
-
readonly fromAddress: string;
|
|
455
|
+
readonly blockchain: "ethereum" | "base";
|
|
458
456
|
} & {
|
|
459
|
-
readonly
|
|
457
|
+
readonly functionSignature?: string | null | undefined;
|
|
460
458
|
} & {
|
|
461
|
-
readonly
|
|
462
|
-
readonly amount: number;
|
|
463
|
-
readonly txHash: string;
|
|
464
|
-
readonly blockTimestamp: number;
|
|
465
|
-
readonly blockNumber: number;
|
|
466
|
-
readonly logIndex?: number | undefined;
|
|
467
|
-
readonly fromAddress: string;
|
|
468
|
-
readonly toAddress: string;
|
|
469
|
-
readonly tokenAddress: string;
|
|
470
|
-
readonly chainId: number;
|
|
471
|
-
readonly tokenId: number;
|
|
472
|
-
readonly tokenDecimals: number;
|
|
473
|
-
readonly tokenName: string;
|
|
474
|
-
readonly tokenSymbol: string;
|
|
475
|
-
readonly tokenPriceUsd: number;
|
|
476
|
-
readonly tokenLogoUrl: string;
|
|
477
|
-
readonly fromAddressIsContract: boolean;
|
|
478
|
-
readonly toAddressIsContract: boolean;
|
|
479
|
-
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
480
|
-
readonly fromEntityLabel?: string | null | undefined;
|
|
481
|
-
readonly toEntityLabel?: string | null | undefined;
|
|
482
|
-
readonly traceAddress?: string | undefined;
|
|
483
|
-
readonly callerFunction?: {
|
|
484
|
-
readonly tokenAddress: string;
|
|
485
|
-
readonly callerAddress: string;
|
|
486
|
-
readonly callerFunctionSignature: string;
|
|
487
|
-
readonly callerTraceAddress: string;
|
|
488
|
-
readonly callerContractName?: string | undefined;
|
|
489
|
-
readonly callerFunctionName?: string | undefined;
|
|
490
|
-
} | null | undefined;
|
|
491
|
-
readonly tokenFunction?: {
|
|
492
|
-
readonly tokenFunctionSignature: string;
|
|
493
|
-
readonly tokenTraceAddress: string;
|
|
494
|
-
readonly tokenContractName?: string | undefined;
|
|
495
|
-
readonly tokenFunctionName?: string | undefined;
|
|
496
|
-
} | undefined;
|
|
497
|
-
}[];
|
|
459
|
+
readonly tevmForkId?: string | null | undefined;
|
|
498
460
|
} & {
|
|
499
|
-
readonly
|
|
461
|
+
readonly error?: string | null | undefined;
|
|
500
462
|
} & {
|
|
501
463
|
readonly success: boolean;
|
|
502
464
|
} & {
|
|
503
|
-
readonly
|
|
465
|
+
readonly blockNumber: number;
|
|
504
466
|
} & {
|
|
505
|
-
readonly
|
|
506
|
-
readonly actionId: string;
|
|
507
|
-
readonly versionId: string;
|
|
508
|
-
readonly actionName: string;
|
|
509
|
-
readonly executionId: string;
|
|
510
|
-
} | undefined;
|
|
467
|
+
readonly fromAddress: string;
|
|
511
468
|
} & {
|
|
512
|
-
readonly
|
|
469
|
+
readonly toAddress: string;
|
|
513
470
|
} & {
|
|
514
|
-
readonly
|
|
471
|
+
readonly timestamp: number;
|
|
515
472
|
} & {
|
|
516
473
|
readonly decodedTraces: DecodedTrace;
|
|
517
474
|
} & {
|
|
518
475
|
readonly transactionMetadata: {
|
|
519
476
|
readonly value: number;
|
|
520
|
-
readonly
|
|
521
|
-
readonly nonce: number;
|
|
522
|
-
readonly blockNumber: number;
|
|
523
|
-
readonly chainId: number;
|
|
477
|
+
readonly from: string;
|
|
524
478
|
readonly hash: string;
|
|
479
|
+
readonly type: string;
|
|
525
480
|
readonly status: number;
|
|
526
|
-
readonly
|
|
527
|
-
readonly
|
|
481
|
+
readonly blockNumber: number;
|
|
482
|
+
readonly to: string | null;
|
|
528
483
|
readonly blockHash: string;
|
|
529
484
|
readonly transactionIndex: number;
|
|
530
|
-
readonly
|
|
485
|
+
readonly chainId: number;
|
|
531
486
|
readonly gas: number;
|
|
532
487
|
readonly gasPrice: number;
|
|
488
|
+
readonly nonce: number;
|
|
533
489
|
readonly input: string;
|
|
534
490
|
readonly r: string;
|
|
535
491
|
readonly s: string;
|
|
536
492
|
readonly v: string;
|
|
493
|
+
readonly timestamp: number;
|
|
537
494
|
readonly gasUsed: number;
|
|
538
495
|
readonly effectiveGasPrice: number;
|
|
539
496
|
};
|
|
540
|
-
} & {
|
|
541
|
-
readonly timestamp: number;
|
|
542
497
|
} & {
|
|
543
498
|
readonly decodedLogs: readonly {
|
|
499
|
+
readonly transactionHash: string;
|
|
544
500
|
readonly address: string;
|
|
545
|
-
readonly data: string;
|
|
546
501
|
readonly blockNumber: number;
|
|
547
|
-
readonly
|
|
502
|
+
readonly data: string;
|
|
548
503
|
readonly blockHash: string;
|
|
549
504
|
readonly topics: readonly string[];
|
|
550
|
-
readonly
|
|
505
|
+
readonly logIndex: number;
|
|
551
506
|
readonly transactionIndex: number;
|
|
552
507
|
readonly removed: boolean;
|
|
553
508
|
readonly emittedAfterTraceAddress: readonly number[];
|
|
554
509
|
readonly implementation?: {
|
|
555
|
-
readonly address: string;
|
|
556
510
|
readonly name: string;
|
|
511
|
+
readonly address: string;
|
|
557
512
|
readonly is7702?: boolean | undefined;
|
|
558
513
|
} | undefined;
|
|
559
514
|
readonly decoded?: {
|
|
560
|
-
readonly contractName: string;
|
|
561
515
|
readonly contractAddress: string;
|
|
516
|
+
readonly contractName: string;
|
|
562
517
|
readonly eventName: string;
|
|
563
518
|
readonly eventSignature: string;
|
|
564
519
|
readonly index: number;
|
|
@@ -569,8 +524,8 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
569
524
|
} | undefined;
|
|
570
525
|
readonly lineNumber: number;
|
|
571
526
|
readonly eventFunctionDetails: {
|
|
572
|
-
readonly address: string;
|
|
573
527
|
readonly functionSignature: string;
|
|
528
|
+
readonly address: string;
|
|
574
529
|
readonly functionName: string | null;
|
|
575
530
|
readonly addressName: string | null;
|
|
576
531
|
readonly traceAddress: readonly number[];
|
|
@@ -579,23 +534,63 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
579
534
|
} & {
|
|
580
535
|
readonly balanceChanges: readonly {
|
|
581
536
|
readonly txHash?: string | undefined;
|
|
582
|
-
readonly
|
|
537
|
+
readonly tokenAddress: string;
|
|
583
538
|
readonly blockNumber: number;
|
|
539
|
+
readonly blockTimestamp: number;
|
|
540
|
+
readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
|
|
541
|
+
readonly tokenSymbol: string;
|
|
584
542
|
readonly holderAddress: string;
|
|
585
|
-
readonly
|
|
543
|
+
readonly holderIsContract: boolean;
|
|
544
|
+
readonly balanceChange: number;
|
|
586
545
|
readonly chainId: number;
|
|
587
546
|
readonly tokenId: number;
|
|
588
547
|
readonly tokenDecimals: number;
|
|
589
548
|
readonly tokenName: string;
|
|
590
|
-
readonly tokenSymbol: string;
|
|
591
549
|
readonly tokenPriceUsd: number;
|
|
592
550
|
readonly tokenLogoUrl: string;
|
|
593
|
-
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
594
|
-
readonly holderIsContract: boolean;
|
|
595
|
-
readonly balanceChange: number;
|
|
596
551
|
readonly holderEntityLabel?: string | null | undefined;
|
|
597
552
|
readonly tokenEntityLabel?: string | null | undefined;
|
|
598
553
|
}[];
|
|
554
|
+
} & {
|
|
555
|
+
readonly transfers: readonly {
|
|
556
|
+
readonly txHash: string;
|
|
557
|
+
readonly tokenAddress: string;
|
|
558
|
+
readonly blockNumber: number;
|
|
559
|
+
readonly blockTimestamp: number;
|
|
560
|
+
readonly tokenType: "ERC20" | "ERC721" | "ERC1155" | "NATIVE";
|
|
561
|
+
readonly tokenSymbol: string;
|
|
562
|
+
readonly toEntityLabel?: string | null | undefined;
|
|
563
|
+
readonly fromEntityLabel?: string | null | undefined;
|
|
564
|
+
readonly traceAddress?: string | undefined;
|
|
565
|
+
readonly logIndex?: number | undefined;
|
|
566
|
+
readonly chainId: number;
|
|
567
|
+
readonly tokenId: number;
|
|
568
|
+
readonly tokenDecimals: number;
|
|
569
|
+
readonly tokenName: string;
|
|
570
|
+
readonly tokenPriceUsd: number;
|
|
571
|
+
readonly tokenLogoUrl: string;
|
|
572
|
+
readonly fromAddress: string;
|
|
573
|
+
readonly toAddress: string;
|
|
574
|
+
readonly amount: number;
|
|
575
|
+
readonly fromAddressIsContract: boolean;
|
|
576
|
+
readonly toAddressIsContract: boolean;
|
|
577
|
+
readonly callerFunction?: {
|
|
578
|
+
readonly tokenAddress: string;
|
|
579
|
+
readonly callerAddress: string;
|
|
580
|
+
readonly callerFunctionSignature: string;
|
|
581
|
+
readonly callerTraceAddress: string;
|
|
582
|
+
readonly callerContractName?: string | undefined;
|
|
583
|
+
readonly callerFunctionName?: string | undefined;
|
|
584
|
+
} | null | undefined;
|
|
585
|
+
readonly tokenFunction?: {
|
|
586
|
+
readonly tokenFunctionSignature: string;
|
|
587
|
+
readonly tokenTraceAddress: string;
|
|
588
|
+
readonly tokenContractName?: string | undefined;
|
|
589
|
+
readonly tokenFunctionName?: string | undefined;
|
|
590
|
+
} | undefined;
|
|
591
|
+
}[];
|
|
592
|
+
} & {
|
|
593
|
+
readonly createdContracts: readonly string[];
|
|
599
594
|
} & {
|
|
600
595
|
readonly outputs?: {
|
|
601
596
|
readonly value: string;
|
|
@@ -603,7 +598,12 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
603
598
|
readonly summary: string;
|
|
604
599
|
} | undefined;
|
|
605
600
|
} & {
|
|
606
|
-
readonly
|
|
601
|
+
readonly actionExecution?: {
|
|
602
|
+
readonly actionId: string;
|
|
603
|
+
readonly actionName: string;
|
|
604
|
+
readonly versionId: string;
|
|
605
|
+
readonly executionId: string;
|
|
606
|
+
} | undefined;
|
|
607
607
|
}, {}, {}>;
|
|
608
608
|
declare class Transaction extends Transaction_base {}
|
|
609
609
|
declare const TransactionQueryResponse_base: Schema.Class<TransactionQueryResponse, {
|
|
@@ -764,18 +764,20 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
|
|
|
764
764
|
}>>>;
|
|
765
765
|
}>, never, {
|
|
766
766
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
767
|
+
} & {
|
|
768
|
+
readonly contractAddress?: string | undefined;
|
|
767
769
|
} & {
|
|
768
770
|
readonly transactions?: readonly {
|
|
769
771
|
readonly txHash: string;
|
|
772
|
+
readonly from: string;
|
|
773
|
+
readonly success: boolean;
|
|
774
|
+
readonly blockNumber: number;
|
|
770
775
|
readonly blockTimestamp: number;
|
|
771
776
|
readonly blockTimestampUtc: string;
|
|
772
|
-
readonly blockNumber: number;
|
|
773
|
-
readonly success: boolean;
|
|
774
|
-
readonly from: string;
|
|
775
777
|
readonly functionCalls: readonly {
|
|
776
778
|
readonly value: number;
|
|
777
|
-
readonly functionName: string;
|
|
778
779
|
readonly signature: string;
|
|
780
|
+
readonly functionName: string;
|
|
779
781
|
readonly inputArgs: {
|
|
780
782
|
readonly [x: string]: unknown;
|
|
781
783
|
};
|
|
@@ -784,8 +786,8 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
|
|
|
784
786
|
} | null;
|
|
785
787
|
readonly traceInput: string;
|
|
786
788
|
readonly callerFunctionDetails: {
|
|
787
|
-
readonly address: string;
|
|
788
789
|
readonly functionSignature: string | null;
|
|
790
|
+
readonly address: string;
|
|
789
791
|
readonly functionName: string | null;
|
|
790
792
|
readonly addressName: string | null;
|
|
791
793
|
readonly traceAddress: readonly number[];
|
|
@@ -793,11 +795,9 @@ declare const LatestFunctionTransactions_base: Schema.Class<LatestFunctionTransa
|
|
|
793
795
|
}[];
|
|
794
796
|
}[] | undefined;
|
|
795
797
|
} & {
|
|
796
|
-
readonly
|
|
798
|
+
readonly errorMessage?: string | undefined;
|
|
797
799
|
} & {
|
|
798
800
|
readonly signature?: string | undefined;
|
|
799
|
-
} & {
|
|
800
|
-
readonly errorMessage?: string | undefined;
|
|
801
801
|
} & {
|
|
802
802
|
readonly availableSignatures?: readonly {
|
|
803
803
|
readonly name: string;
|
|
@@ -875,16 +875,18 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
|
|
|
875
875
|
}>>>;
|
|
876
876
|
}>, never, {
|
|
877
877
|
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
878
|
+
} & {
|
|
879
|
+
readonly contractAddress?: string | undefined;
|
|
878
880
|
} & {
|
|
879
881
|
readonly transactions?: readonly {
|
|
880
882
|
readonly txHash: string;
|
|
881
|
-
readonly
|
|
882
|
-
readonly blockTimestampUtc: string;
|
|
883
|
-
readonly blockNumber: number;
|
|
883
|
+
readonly from: string;
|
|
884
884
|
readonly success: boolean;
|
|
885
|
+
readonly blockNumber: number;
|
|
886
|
+
readonly blockTimestamp: number;
|
|
885
887
|
readonly logs: readonly {
|
|
886
|
-
readonly contractName: string;
|
|
887
888
|
readonly contractAddress: string;
|
|
889
|
+
readonly contractName: string;
|
|
888
890
|
readonly eventName: string;
|
|
889
891
|
readonly eventSignature: string;
|
|
890
892
|
readonly index: number;
|
|
@@ -892,8 +894,8 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
|
|
|
892
894
|
readonly [x: string]: unknown;
|
|
893
895
|
};
|
|
894
896
|
readonly eventFunctionDetails: {
|
|
895
|
-
readonly address: string;
|
|
896
897
|
readonly functionSignature: string;
|
|
898
|
+
readonly address: string;
|
|
897
899
|
readonly functionName: string | null;
|
|
898
900
|
readonly addressName: string | null;
|
|
899
901
|
readonly traceAddress: readonly number[];
|
|
@@ -901,14 +903,12 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
|
|
|
901
903
|
readonly rawTopics: readonly string[];
|
|
902
904
|
readonly rawData: string;
|
|
903
905
|
}[];
|
|
904
|
-
readonly
|
|
906
|
+
readonly blockTimestampUtc: string;
|
|
905
907
|
}[] | undefined;
|
|
906
908
|
} & {
|
|
907
|
-
readonly
|
|
909
|
+
readonly errorMessage?: string | undefined;
|
|
908
910
|
} & {
|
|
909
911
|
readonly signature?: string | undefined;
|
|
910
|
-
} & {
|
|
911
|
-
readonly errorMessage?: string | undefined;
|
|
912
912
|
} & {
|
|
913
913
|
readonly availableSignatures?: readonly {
|
|
914
914
|
readonly name: string;
|
|
@@ -943,8 +943,6 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
|
|
|
943
943
|
topic3: Schema.optional<typeof Schema.String>;
|
|
944
944
|
calledBy: Schema.optional<Schema.Array$<typeof Schema.String>>;
|
|
945
945
|
}>, never, {
|
|
946
|
-
readonly direction?: "direct" | "indirect" | "both" | undefined;
|
|
947
|
-
} & {
|
|
948
946
|
readonly page?: number | undefined;
|
|
949
947
|
} & {
|
|
950
948
|
readonly beforeTimestamp?: number | undefined;
|
|
@@ -958,6 +956,8 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
|
|
|
958
956
|
readonly limit?: number | undefined;
|
|
959
957
|
} & {
|
|
960
958
|
readonly offset?: number | undefined;
|
|
959
|
+
} & {
|
|
960
|
+
readonly direction?: "direct" | "indirect" | "both" | undefined;
|
|
961
961
|
} & {
|
|
962
962
|
readonly topic1?: string | undefined;
|
|
963
963
|
} & {
|