@herd-labs/sdk 0.0.1 → 0.0.2
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 +15 -15
- package/dist/src/schemas/adapters.d.ts +2 -2
- package/dist/src/schemas/auth.d.ts +2 -2
- package/dist/src/schemas/bookmarks.d.ts +27 -27
- package/dist/src/schemas/codeblocks.d.ts +15 -15
- package/dist/src/schemas/collections.d.ts +8 -8
- package/dist/src/schemas/contracts.d.ts +39 -39
- package/dist/src/schemas/docs.d.ts +2 -2
- package/dist/src/schemas/hal.d.ts +18 -18
- package/dist/src/schemas/transactions.d.ts +90 -90
- package/dist/src/schemas/wallets.d.ts +69 -69
- package/package.json +17 -8
|
@@ -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/contracts.d.ts
|
|
5
5
|
declare const FunctionSummary_base: Schema.Class<FunctionSummary, {
|
|
@@ -11,11 +11,11 @@ declare const FunctionSummary_base: Schema.Class<FunctionSummary, {
|
|
|
11
11
|
signature: typeof Schema.String;
|
|
12
12
|
summary: typeof Schema.String;
|
|
13
13
|
}>, never, {
|
|
14
|
-
readonly signature: string;
|
|
15
|
-
} & {
|
|
16
14
|
readonly name: string;
|
|
17
15
|
} & {
|
|
18
16
|
readonly summary: string;
|
|
17
|
+
} & {
|
|
18
|
+
readonly signature: string;
|
|
19
19
|
}, {}, {}>;
|
|
20
20
|
declare class FunctionSummary extends FunctionSummary_base {}
|
|
21
21
|
declare const EventSummary_base: Schema.Class<EventSummary, {
|
|
@@ -68,20 +68,20 @@ declare const TopHolder_base: Schema.Class<TopHolder, {
|
|
|
68
68
|
coingeckoLabel: Schema.optional<typeof Schema.String>;
|
|
69
69
|
}>, never, {
|
|
70
70
|
readonly address: string;
|
|
71
|
+
} & {
|
|
72
|
+
readonly valueUsd: number;
|
|
73
|
+
} & {
|
|
74
|
+
readonly balance: number;
|
|
75
|
+
} & {
|
|
76
|
+
readonly entityLabel?: string | undefined;
|
|
71
77
|
} & {
|
|
72
78
|
readonly name?: string | undefined;
|
|
73
79
|
} & {
|
|
74
80
|
readonly type: "contract" | "wallet";
|
|
75
81
|
} & {
|
|
76
82
|
readonly rank: number;
|
|
77
|
-
} & {
|
|
78
|
-
readonly balance: number;
|
|
79
|
-
} & {
|
|
80
|
-
readonly valueUsd: number;
|
|
81
83
|
} & {
|
|
82
84
|
readonly sharePercentage: number;
|
|
83
|
-
} & {
|
|
84
|
-
readonly entityLabel?: string | undefined;
|
|
85
85
|
} & {
|
|
86
86
|
readonly coingeckoLabel?: string | undefined;
|
|
87
87
|
}, {}, {}>;
|
|
@@ -119,13 +119,13 @@ declare const TokenDetails_base: Schema.Class<TokenDetails, {
|
|
|
119
119
|
}>, never, {
|
|
120
120
|
readonly symbol: string;
|
|
121
121
|
} & {
|
|
122
|
-
readonly
|
|
122
|
+
readonly decimals?: number | undefined;
|
|
123
123
|
} & {
|
|
124
124
|
readonly tokenType: "ERC20" | "ERC721" | "ERC1155";
|
|
125
125
|
} & {
|
|
126
126
|
readonly name: string;
|
|
127
127
|
} & {
|
|
128
|
-
readonly
|
|
128
|
+
readonly description?: string | undefined;
|
|
129
129
|
} & {
|
|
130
130
|
readonly currentPriceUsd?: number | undefined;
|
|
131
131
|
} & {
|
|
@@ -300,8 +300,6 @@ declare const ContractCodeMatchBlock_base: Schema.Class<ContractCodeMatchBlock,
|
|
|
300
300
|
numberOfMatches: typeof Schema.Number;
|
|
301
301
|
patterns: Schema.Array$<typeof Schema.String>;
|
|
302
302
|
}>, never, {
|
|
303
|
-
readonly patterns: readonly string[];
|
|
304
|
-
} & {
|
|
305
303
|
readonly code: string;
|
|
306
304
|
} & {
|
|
307
305
|
readonly fileName: string;
|
|
@@ -311,6 +309,8 @@ declare const ContractCodeMatchBlock_base: Schema.Class<ContractCodeMatchBlock,
|
|
|
311
309
|
readonly endLine: number;
|
|
312
310
|
} & {
|
|
313
311
|
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
|
|
331
|
+
readonly contractName: string;
|
|
332
332
|
} & {
|
|
333
333
|
readonly blockchain: "ethereum" | "base";
|
|
334
334
|
} & {
|
|
335
|
-
readonly
|
|
335
|
+
readonly contractAddress: string & effect_Brand1.Brand<"EvmAddress">;
|
|
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
|
+
} & {
|
|
357
359
|
readonly query: string;
|
|
358
360
|
} & {
|
|
359
|
-
readonly contractAddresses: readonly (string &
|
|
361
|
+
readonly contractAddresses: readonly (string & effect_Brand1.Brand<"EvmAddress">)[];
|
|
360
362
|
} & {
|
|
361
363
|
readonly includeProxies?: boolean | undefined;
|
|
362
364
|
} & {
|
|
363
365
|
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 name: string;
|
|
447
445
|
} & {
|
|
448
446
|
readonly tokenAddress: string;
|
|
447
|
+
} & {
|
|
448
|
+
readonly name: 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
|
|
480
|
+
readonly functions: readonly RoleFunction[];
|
|
481
481
|
} & {
|
|
482
|
-
readonly
|
|
482
|
+
readonly name: string;
|
|
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?: "constant" | "immutable" | "variable" | "mapping" | "unknown" | undefined;
|
|
489
489
|
} & {
|
|
490
490
|
readonly administeredBy?: readonly string[] | undefined;
|
|
491
|
-
} & {
|
|
492
|
-
readonly functions: readonly RoleFunction[];
|
|
493
491
|
} & {
|
|
494
492
|
readonly holderVerificationFunctionSignatures?: readonly string[] | undefined;
|
|
495
493
|
} & {
|
|
496
494
|
readonly anyAddress?: boolean | undefined;
|
|
497
495
|
} & {
|
|
498
496
|
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 type: "multisig" | "aragon-multisig";
|
|
519
|
-
} & {
|
|
520
518
|
readonly threshold: number;
|
|
519
|
+
} & {
|
|
520
|
+
readonly type: "multisig" | "aragon-multisig";
|
|
521
521
|
} & {
|
|
522
522
|
readonly signerCount: number;
|
|
523
523
|
} & {
|
|
@@ -555,17 +555,19 @@ 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
|
|
558
|
+
readonly address: string;
|
|
559
559
|
} & {
|
|
560
|
-
readonly
|
|
560
|
+
readonly contractName?: string | undefined;
|
|
561
561
|
} & {
|
|
562
|
-
readonly
|
|
562
|
+
readonly multisigDetails?: RolesNodeMultisigDetails | undefined;
|
|
563
563
|
} & {
|
|
564
564
|
readonly tokenSymbol?: string | undefined;
|
|
565
|
-
} & {
|
|
566
|
-
readonly nodeType: "contract" | "wallet" | "safe" | "unknown" | "tokenBalance";
|
|
567
565
|
} & {
|
|
568
566
|
readonly tokenBalance?: TokenBalance | undefined;
|
|
567
|
+
} & {
|
|
568
|
+
readonly label?: string | undefined;
|
|
569
|
+
} & {
|
|
570
|
+
readonly nodeType: "contract" | "wallet" | "unknown" | "tokenBalance" | "safe";
|
|
569
571
|
} & {
|
|
570
572
|
readonly isVerified?: boolean | null | undefined;
|
|
571
573
|
} & {
|
|
@@ -575,9 +577,7 @@ declare const RolesNode_base: Schema.Class<RolesNode, {
|
|
|
575
577
|
} & {
|
|
576
578
|
readonly roles?: readonly Role[] | undefined;
|
|
577
579
|
} & {
|
|
578
|
-
readonly
|
|
579
|
-
} & {
|
|
580
|
-
readonly processState?: "processed" | "skipped" | "failed" | "max_depth" | undefined;
|
|
580
|
+
readonly processState?: "failed" | "processed" | "skipped" | "max_depth" | undefined;
|
|
581
581
|
} & {
|
|
582
582
|
readonly nodeDepth?: number | undefined;
|
|
583
583
|
}, {}, {}>;
|
|
@@ -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;
|
|
613
615
|
} & {
|
|
614
616
|
readonly blockNumber: number;
|
|
615
617
|
} & {
|
|
616
618
|
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, {
|
|
@@ -645,9 +645,9 @@ declare const ContractDiff_base: Schema.Class<ContractDiff, {
|
|
|
645
645
|
contractAddress: Schema.optional<typeof Schema.String>;
|
|
646
646
|
blockchain: Schema.optional<typeof Schema.String>;
|
|
647
647
|
}>, never, {
|
|
648
|
-
readonly contractAddress?: string | undefined;
|
|
649
|
-
} & {
|
|
650
648
|
readonly blockchain?: string | undefined;
|
|
649
|
+
} & {
|
|
650
|
+
readonly contractAddress?: string | undefined;
|
|
651
651
|
} & {
|
|
652
652
|
readonly errorMessage?: string | undefined;
|
|
653
653
|
} & {
|
|
@@ -11,10 +11,10 @@ declare const DocEntry_base: Schema.Class<DocEntry, {
|
|
|
11
11
|
description: Schema.optional<typeof Schema.String>;
|
|
12
12
|
}>, never, {
|
|
13
13
|
readonly id: string;
|
|
14
|
-
} & {
|
|
15
|
-
readonly description?: string | undefined;
|
|
16
14
|
} & {
|
|
17
15
|
readonly name: string;
|
|
16
|
+
} & {
|
|
17
|
+
readonly description?: string | undefined;
|
|
18
18
|
}, {}, {}>;
|
|
19
19
|
declare class DocEntry extends DocEntry_base {}
|
|
20
20
|
declare const DocContent_base: Schema.Class<DocContent, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema } from "effect";
|
|
2
|
-
import * as
|
|
2
|
+
import * as effect_Brand0 from "effect/Brand";
|
|
3
3
|
|
|
4
4
|
//#region src/schemas/hal.d.ts
|
|
5
5
|
declare const EvaluateParams_base: Schema.Class<EvaluateParams, {
|
|
@@ -25,7 +25,7 @@ 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 &
|
|
28
|
+
readonly walletAddress: string & effect_Brand0.Brand<"EvmAddress">;
|
|
29
29
|
} & {
|
|
30
30
|
readonly tevmForkId?: string | undefined;
|
|
31
31
|
} & {
|
|
@@ -66,13 +66,11 @@ 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_Brand0.Brand<"EvmAddress">;
|
|
70
70
|
} & {
|
|
71
71
|
readonly actionId: string;
|
|
72
72
|
} & {
|
|
73
73
|
readonly tevmForkId?: string | undefined;
|
|
74
|
-
} & {
|
|
75
|
-
readonly version?: string | undefined;
|
|
76
74
|
} & {
|
|
77
75
|
readonly inputValues?: {
|
|
78
76
|
readonly [x: string]: unknown;
|
|
@@ -84,6 +82,8 @@ declare const EvaluateExistingParams_base: Schema.Class<EvaluateExistingParams,
|
|
|
84
82
|
}[] | undefined;
|
|
85
83
|
} & {
|
|
86
84
|
readonly simulationBlockNumber?: number | undefined;
|
|
85
|
+
} & {
|
|
86
|
+
readonly version?: string | undefined;
|
|
87
87
|
}, {}, {}>;
|
|
88
88
|
declare class EvaluateExistingParams extends EvaluateExistingParams_base {}
|
|
89
89
|
declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
|
|
@@ -123,21 +123,21 @@ declare const TransactionStatus_base: Schema.Class<TransactionStatus, {
|
|
|
123
123
|
}>, never, {
|
|
124
124
|
readonly value?: string | null | undefined;
|
|
125
125
|
} & {
|
|
126
|
-
readonly
|
|
127
|
-
} & {
|
|
128
|
-
readonly transactionHash: string | null;
|
|
129
|
-
} & {
|
|
130
|
-
readonly toContractName: string | null;
|
|
131
|
-
} & {
|
|
132
|
-
readonly blockNumber: number | null;
|
|
126
|
+
readonly to?: string | undefined;
|
|
133
127
|
} & {
|
|
134
128
|
readonly data?: string | undefined;
|
|
129
|
+
} & {
|
|
130
|
+
readonly blockchain?: "ethereum" | "base" | undefined;
|
|
135
131
|
} & {
|
|
136
132
|
readonly blockTimestamp: number | null;
|
|
137
133
|
} & {
|
|
138
|
-
readonly
|
|
134
|
+
readonly blockNumber: number | null;
|
|
139
135
|
} & {
|
|
140
136
|
readonly status: "success" | "failed" | "pending";
|
|
137
|
+
} & {
|
|
138
|
+
readonly transactionHash: string | null;
|
|
139
|
+
} & {
|
|
140
|
+
readonly toContractName: string | null;
|
|
141
141
|
} & {
|
|
142
142
|
readonly batchName: string | null;
|
|
143
143
|
} & {
|
|
@@ -177,18 +177,18 @@ declare const EvaluateResponse_base: Schema.Class<EvaluateResponse, {
|
|
|
177
177
|
tevmForkId: Schema.optional<typeof Schema.String>;
|
|
178
178
|
tevmForkBlockchain: Schema.optional<Schema.Literal<["ethereum", "base"]>>;
|
|
179
179
|
}>, never, {
|
|
180
|
-
readonly status: "failed" | "completed" | "suspended";
|
|
181
|
-
} & {
|
|
182
180
|
readonly error?: {
|
|
183
|
-
readonly message: string;
|
|
184
181
|
readonly name: string;
|
|
182
|
+
readonly message: string;
|
|
185
183
|
} | undefined;
|
|
186
184
|
} & {
|
|
187
|
-
readonly
|
|
185
|
+
readonly status: "completed" | "suspended" | "failed";
|
|
188
186
|
} & {
|
|
189
|
-
readonly
|
|
187
|
+
readonly tevmForkId?: string | undefined;
|
|
190
188
|
} & {
|
|
191
189
|
readonly hint?: string | undefined;
|
|
190
|
+
} & {
|
|
191
|
+
readonly result?: unknown;
|
|
192
192
|
} & {
|
|
193
193
|
readonly transactionStatuses?: readonly TransactionStatus[] | undefined;
|
|
194
194
|
} & {
|
|
@@ -448,13 +448,9 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
448
448
|
}>>;
|
|
449
449
|
tevmForkId: Schema.optional<Schema.NullOr<typeof Schema.String>>;
|
|
450
450
|
}>, never, {
|
|
451
|
-
readonly id: string;
|
|
452
|
-
} & {
|
|
453
451
|
readonly blockchain: "ethereum" | "base";
|
|
454
452
|
} & {
|
|
455
453
|
readonly txHash: string;
|
|
456
|
-
} & {
|
|
457
|
-
readonly functionSignature?: string | null | undefined;
|
|
458
454
|
} & {
|
|
459
455
|
readonly blockNumber: number;
|
|
460
456
|
} & {
|
|
@@ -462,45 +458,96 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
462
458
|
} & {
|
|
463
459
|
readonly toAddress: string;
|
|
464
460
|
} & {
|
|
465
|
-
readonly
|
|
461
|
+
readonly transfers: 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
|
+
}[];
|
|
498
|
+
} & {
|
|
499
|
+
readonly functionSignature?: string | null | undefined;
|
|
466
500
|
} & {
|
|
467
501
|
readonly success: boolean;
|
|
502
|
+
} & {
|
|
503
|
+
readonly createdContracts: readonly string[];
|
|
504
|
+
} & {
|
|
505
|
+
readonly actionExecution?: {
|
|
506
|
+
readonly actionId: string;
|
|
507
|
+
readonly versionId: string;
|
|
508
|
+
readonly actionName: string;
|
|
509
|
+
readonly executionId: string;
|
|
510
|
+
} | undefined;
|
|
511
|
+
} & {
|
|
512
|
+
readonly id: string;
|
|
513
|
+
} & {
|
|
514
|
+
readonly error?: string | null | undefined;
|
|
468
515
|
} & {
|
|
469
516
|
readonly decodedTraces: DecodedTrace;
|
|
470
517
|
} & {
|
|
471
518
|
readonly transactionMetadata: {
|
|
472
519
|
readonly value: number;
|
|
520
|
+
readonly to: string | null;
|
|
521
|
+
readonly nonce: number;
|
|
522
|
+
readonly blockNumber: number;
|
|
523
|
+
readonly chainId: number;
|
|
473
524
|
readonly hash: string;
|
|
525
|
+
readonly status: number;
|
|
474
526
|
readonly from: string;
|
|
527
|
+
readonly timestamp: number;
|
|
475
528
|
readonly blockHash: string;
|
|
476
|
-
readonly blockNumber: number;
|
|
477
529
|
readonly transactionIndex: number;
|
|
478
|
-
readonly chainId: number;
|
|
479
530
|
readonly type: string;
|
|
480
531
|
readonly gas: number;
|
|
481
532
|
readonly gasPrice: number;
|
|
482
|
-
readonly nonce: number;
|
|
483
533
|
readonly input: string;
|
|
484
534
|
readonly r: string;
|
|
485
535
|
readonly s: string;
|
|
486
536
|
readonly v: string;
|
|
487
|
-
readonly to: string | null;
|
|
488
|
-
readonly timestamp: number;
|
|
489
|
-
readonly status: number;
|
|
490
537
|
readonly gasUsed: number;
|
|
491
538
|
readonly effectiveGasPrice: number;
|
|
492
539
|
};
|
|
493
540
|
} & {
|
|
494
|
-
readonly
|
|
541
|
+
readonly timestamp: number;
|
|
495
542
|
} & {
|
|
496
543
|
readonly decodedLogs: readonly {
|
|
497
|
-
readonly transactionHash: string;
|
|
498
544
|
readonly address: string;
|
|
499
|
-
readonly blockHash: string;
|
|
500
|
-
readonly blockNumber: number;
|
|
501
545
|
readonly data: string;
|
|
502
|
-
readonly
|
|
546
|
+
readonly blockNumber: number;
|
|
503
547
|
readonly logIndex: number;
|
|
548
|
+
readonly blockHash: string;
|
|
549
|
+
readonly topics: readonly string[];
|
|
550
|
+
readonly transactionHash: string;
|
|
504
551
|
readonly transactionIndex: number;
|
|
505
552
|
readonly removed: boolean;
|
|
506
553
|
readonly emittedAfterTraceAddress: readonly number[];
|
|
@@ -510,8 +557,8 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
510
557
|
readonly is7702?: boolean | undefined;
|
|
511
558
|
} | undefined;
|
|
512
559
|
readonly decoded?: {
|
|
513
|
-
readonly contractAddress: string;
|
|
514
560
|
readonly contractName: string;
|
|
561
|
+
readonly contractAddress: string;
|
|
515
562
|
readonly eventName: string;
|
|
516
563
|
readonly eventSignature: string;
|
|
517
564
|
readonly index: number;
|
|
@@ -523,22 +570,19 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
523
570
|
readonly lineNumber: number;
|
|
524
571
|
readonly eventFunctionDetails: {
|
|
525
572
|
readonly address: string;
|
|
573
|
+
readonly functionSignature: string;
|
|
526
574
|
readonly functionName: string | null;
|
|
527
575
|
readonly addressName: string | null;
|
|
528
|
-
readonly functionSignature: string;
|
|
529
576
|
readonly traceAddress: readonly number[];
|
|
530
577
|
} | null;
|
|
531
578
|
}[];
|
|
532
579
|
} & {
|
|
533
580
|
readonly balanceChanges: readonly {
|
|
534
|
-
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
535
581
|
readonly txHash?: string | undefined;
|
|
582
|
+
readonly blockTimestamp: number;
|
|
536
583
|
readonly blockNumber: number;
|
|
537
|
-
readonly tokenAddress: string;
|
|
538
584
|
readonly holderAddress: string;
|
|
539
|
-
readonly
|
|
540
|
-
readonly balanceChange: number;
|
|
541
|
-
readonly blockTimestamp: number;
|
|
585
|
+
readonly tokenAddress: string;
|
|
542
586
|
readonly chainId: number;
|
|
543
587
|
readonly tokenId: number;
|
|
544
588
|
readonly tokenDecimals: number;
|
|
@@ -546,62 +590,18 @@ declare const Transaction_base: Schema.Class<Transaction, {
|
|
|
546
590
|
readonly tokenSymbol: string;
|
|
547
591
|
readonly tokenPriceUsd: number;
|
|
548
592
|
readonly tokenLogoUrl: string;
|
|
593
|
+
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
594
|
+
readonly holderIsContract: boolean;
|
|
595
|
+
readonly balanceChange: number;
|
|
549
596
|
readonly holderEntityLabel?: string | null | undefined;
|
|
550
597
|
readonly tokenEntityLabel?: string | null | undefined;
|
|
551
598
|
}[];
|
|
552
|
-
} & {
|
|
553
|
-
readonly transfers: readonly {
|
|
554
|
-
readonly tokenType: "NATIVE" | "ERC20" | "ERC721" | "ERC1155";
|
|
555
|
-
readonly txHash: string;
|
|
556
|
-
readonly toEntityLabel?: string | null | undefined;
|
|
557
|
-
readonly fromEntityLabel?: string | null | undefined;
|
|
558
|
-
readonly traceAddress?: string | undefined;
|
|
559
|
-
readonly blockNumber: number;
|
|
560
|
-
readonly logIndex?: number | undefined;
|
|
561
|
-
readonly tokenAddress: string;
|
|
562
|
-
readonly blockTimestamp: number;
|
|
563
|
-
readonly chainId: number;
|
|
564
|
-
readonly tokenId: number;
|
|
565
|
-
readonly tokenDecimals: number;
|
|
566
|
-
readonly tokenName: string;
|
|
567
|
-
readonly tokenSymbol: string;
|
|
568
|
-
readonly tokenPriceUsd: number;
|
|
569
|
-
readonly tokenLogoUrl: string;
|
|
570
|
-
readonly fromAddress: string;
|
|
571
|
-
readonly toAddress: string;
|
|
572
|
-
readonly amount: number;
|
|
573
|
-
readonly fromAddressIsContract: boolean;
|
|
574
|
-
readonly toAddressIsContract: boolean;
|
|
575
|
-
readonly callerFunction?: {
|
|
576
|
-
readonly tokenAddress: string;
|
|
577
|
-
readonly callerAddress: string;
|
|
578
|
-
readonly callerFunctionSignature: string;
|
|
579
|
-
readonly callerTraceAddress: string;
|
|
580
|
-
readonly callerContractName?: string | undefined;
|
|
581
|
-
readonly callerFunctionName?: string | undefined;
|
|
582
|
-
} | null | undefined;
|
|
583
|
-
readonly tokenFunction?: {
|
|
584
|
-
readonly tokenFunctionSignature: string;
|
|
585
|
-
readonly tokenTraceAddress: string;
|
|
586
|
-
readonly tokenContractName?: string | undefined;
|
|
587
|
-
readonly tokenFunctionName?: string | undefined;
|
|
588
|
-
} | undefined;
|
|
589
|
-
}[];
|
|
590
|
-
} & {
|
|
591
|
-
readonly createdContracts: readonly string[];
|
|
592
599
|
} & {
|
|
593
600
|
readonly outputs?: {
|
|
594
601
|
readonly value: string;
|
|
595
602
|
readonly from: string;
|
|
596
603
|
readonly summary: string;
|
|
597
604
|
} | undefined;
|
|
598
|
-
} & {
|
|
599
|
-
readonly actionExecution?: {
|
|
600
|
-
readonly actionId: string;
|
|
601
|
-
readonly versionId: string;
|
|
602
|
-
readonly actionName: string;
|
|
603
|
-
readonly executionId: string;
|
|
604
|
-
} | undefined;
|
|
605
605
|
} & {
|
|
606
606
|
readonly tevmForkId?: string | null | undefined;
|
|
607
607
|
}, {}, {}>;
|
|
@@ -763,45 +763,45 @@ 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;
|
|
769
767
|
} & {
|
|
770
768
|
readonly transactions?: readonly {
|
|
771
|
-
readonly from: string;
|
|
772
769
|
readonly txHash: string;
|
|
773
|
-
readonly blockNumber: number;
|
|
774
770
|
readonly blockTimestamp: number;
|
|
775
|
-
readonly success: boolean;
|
|
776
771
|
readonly blockTimestampUtc: string;
|
|
772
|
+
readonly blockNumber: number;
|
|
773
|
+
readonly success: boolean;
|
|
774
|
+
readonly from: string;
|
|
777
775
|
readonly functionCalls: readonly {
|
|
778
776
|
readonly value: number;
|
|
779
777
|
readonly functionName: string;
|
|
778
|
+
readonly signature: string;
|
|
780
779
|
readonly inputArgs: {
|
|
781
780
|
readonly [x: string]: unknown;
|
|
782
781
|
};
|
|
783
782
|
readonly outputArgs: {
|
|
784
783
|
readonly [x: string]: unknown;
|
|
785
784
|
} | null;
|
|
786
|
-
readonly signature: string;
|
|
787
785
|
readonly traceInput: string;
|
|
788
786
|
readonly callerFunctionDetails: {
|
|
789
787
|
readonly address: string;
|
|
788
|
+
readonly functionSignature: string | null;
|
|
790
789
|
readonly functionName: string | null;
|
|
791
790
|
readonly addressName: string | null;
|
|
792
|
-
readonly functionSignature: string | null;
|
|
793
791
|
readonly traceAddress: readonly number[];
|
|
794
792
|
} | null;
|
|
795
793
|
}[];
|
|
796
794
|
}[] | undefined;
|
|
795
|
+
} & {
|
|
796
|
+
readonly contractAddress?: string | undefined;
|
|
797
797
|
} & {
|
|
798
798
|
readonly signature?: string | undefined;
|
|
799
799
|
} & {
|
|
800
800
|
readonly errorMessage?: string | undefined;
|
|
801
801
|
} & {
|
|
802
802
|
readonly availableSignatures?: readonly {
|
|
803
|
-
readonly signature: string;
|
|
804
803
|
readonly name: string;
|
|
804
|
+
readonly signature: string;
|
|
805
805
|
}[] | undefined;
|
|
806
806
|
}, {}, {}>;
|
|
807
807
|
declare class LatestFunctionTransactions extends LatestFunctionTransactions_base {}
|
|
@@ -874,20 +874,17 @@ 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;
|
|
880
878
|
} & {
|
|
881
879
|
readonly transactions?: readonly {
|
|
882
|
-
readonly from: string;
|
|
883
880
|
readonly txHash: string;
|
|
884
|
-
readonly blockNumber: number;
|
|
885
881
|
readonly blockTimestamp: number;
|
|
886
|
-
readonly success: boolean;
|
|
887
882
|
readonly blockTimestampUtc: string;
|
|
883
|
+
readonly blockNumber: number;
|
|
884
|
+
readonly success: boolean;
|
|
888
885
|
readonly logs: readonly {
|
|
889
|
-
readonly contractAddress: string;
|
|
890
886
|
readonly contractName: string;
|
|
887
|
+
readonly contractAddress: string;
|
|
891
888
|
readonly eventName: string;
|
|
892
889
|
readonly eventSignature: string;
|
|
893
890
|
readonly index: number;
|
|
@@ -896,23 +893,26 @@ declare const LatestEventTransactions_base: Schema.Class<LatestEventTransactions
|
|
|
896
893
|
};
|
|
897
894
|
readonly eventFunctionDetails: {
|
|
898
895
|
readonly address: string;
|
|
896
|
+
readonly functionSignature: string;
|
|
899
897
|
readonly functionName: string | null;
|
|
900
898
|
readonly addressName: string | null;
|
|
901
|
-
readonly functionSignature: string;
|
|
902
899
|
readonly traceAddress: readonly number[];
|
|
903
900
|
} | null;
|
|
904
901
|
readonly rawTopics: readonly string[];
|
|
905
902
|
readonly rawData: string;
|
|
906
903
|
}[];
|
|
904
|
+
readonly from: string;
|
|
907
905
|
}[] | undefined;
|
|
906
|
+
} & {
|
|
907
|
+
readonly contractAddress?: string | undefined;
|
|
908
908
|
} & {
|
|
909
909
|
readonly signature?: string | undefined;
|
|
910
910
|
} & {
|
|
911
911
|
readonly errorMessage?: string | undefined;
|
|
912
912
|
} & {
|
|
913
913
|
readonly availableSignatures?: readonly {
|
|
914
|
-
readonly signature: string;
|
|
915
914
|
readonly name: string;
|
|
915
|
+
readonly signature: string;
|
|
916
916
|
}[] | undefined;
|
|
917
917
|
}, {}, {}>;
|
|
918
918
|
declare class LatestEventTransactions extends LatestEventTransactions_base {}
|
|
@@ -943,9 +943,7 @@ 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
|
|
947
|
-
} & {
|
|
948
|
-
readonly offset?: number | undefined;
|
|
946
|
+
readonly direction?: "direct" | "indirect" | "both" | undefined;
|
|
949
947
|
} & {
|
|
950
948
|
readonly page?: number | undefined;
|
|
951
949
|
} & {
|
|
@@ -957,7 +955,9 @@ declare const LatestTxParams_base: Schema.Class<LatestTxParams, {
|
|
|
957
955
|
} & {
|
|
958
956
|
readonly afterBlocknumber?: number | undefined;
|
|
959
957
|
} & {
|
|
960
|
-
readonly
|
|
958
|
+
readonly limit?: number | undefined;
|
|
959
|
+
} & {
|
|
960
|
+
readonly offset?: number | undefined;
|
|
961
961
|
} & {
|
|
962
962
|
readonly topic1?: string | undefined;
|
|
963
963
|
} & {
|