@virtuals-protocol/acp-node 0.3.0-beta.22 → 0.3.0-beta.24
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/README.md +2 -2
- package/dist/index.d.mts +266 -339
- package/dist/index.d.ts +266 -339
- package/dist/index.js +375 -379
- package/dist/index.mjs +383 -379
- package/package.json +3 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as viem from 'viem';
|
|
2
|
-
import { Address, Chain, createPublicClient } from 'viem';
|
|
2
|
+
import { Address, Chain, createPublicClient, SignTypedDataParameters, Hex } from 'viem';
|
|
3
3
|
import * as _aa_sdk_core from '@aa-sdk/core';
|
|
4
4
|
import { Address as Address$1, SmartAccountSigner } from '@aa-sdk/core';
|
|
5
5
|
import { baseSepolia, base } from '@account-kit/infra';
|
|
@@ -189,6 +189,47 @@ declare class AcpAccount {
|
|
|
189
189
|
updateMetadata(metadata: Record<string, any>): Promise<OperationPayload>;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
+
declare enum PriceType {
|
|
193
|
+
FIXED = "fixed",
|
|
194
|
+
PERCENTAGE = "percentage"
|
|
195
|
+
}
|
|
196
|
+
declare class AcpJobOffering {
|
|
197
|
+
private readonly acpClient;
|
|
198
|
+
private readonly acpContractClient;
|
|
199
|
+
providerAddress: Address;
|
|
200
|
+
name: string;
|
|
201
|
+
price: number;
|
|
202
|
+
priceType: PriceType;
|
|
203
|
+
requirement?: (Object | string) | undefined;
|
|
204
|
+
private ajv;
|
|
205
|
+
constructor(acpClient: AcpClient, acpContractClient: BaseAcpContractClient, providerAddress: Address, name: string, price: number, priceType?: PriceType, requirement?: (Object | string) | undefined);
|
|
206
|
+
initiateJob(serviceRequirement: Object | string, evaluatorAddress?: Address, expiredAt?: Date): Promise<number>;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
type AcpAgentArgs = {
|
|
210
|
+
id: string | number;
|
|
211
|
+
name: string;
|
|
212
|
+
contractAddress: Address;
|
|
213
|
+
walletAddress: Address;
|
|
214
|
+
jobOfferings: AcpJobOffering[];
|
|
215
|
+
description?: string;
|
|
216
|
+
twitterHandle?: string;
|
|
217
|
+
metrics?: unknown;
|
|
218
|
+
resources?: unknown;
|
|
219
|
+
};
|
|
220
|
+
declare class AcpAgent {
|
|
221
|
+
readonly id: string;
|
|
222
|
+
readonly name: string;
|
|
223
|
+
readonly contractAddress: Address;
|
|
224
|
+
readonly walletAddress: Address;
|
|
225
|
+
readonly jobOfferings: readonly AcpJobOffering[];
|
|
226
|
+
readonly description?: string;
|
|
227
|
+
readonly twitterHandle?: string;
|
|
228
|
+
readonly metrics?: unknown;
|
|
229
|
+
readonly resources?: unknown;
|
|
230
|
+
constructor(args: AcpAgentArgs);
|
|
231
|
+
}
|
|
232
|
+
|
|
192
233
|
declare class AcpMemo {
|
|
193
234
|
private contractClient;
|
|
194
235
|
id: number;
|
|
@@ -202,10 +243,7 @@ declare class AcpMemo {
|
|
|
202
243
|
payableDetails?: PayableDetails | undefined;
|
|
203
244
|
txHash?: `0x${string}` | undefined;
|
|
204
245
|
signedTxHash?: `0x${string}` | undefined;
|
|
205
|
-
structuredContent: GenericPayload | undefined;
|
|
206
246
|
constructor(contractClient: BaseAcpContractClient, id: number, type: MemoType, content: string, nextPhase: AcpJobPhases, status: AcpMemoStatus, senderAddress: Address, signedReason?: string | undefined, expiry?: Date | undefined, payableDetails?: PayableDetails | undefined, txHash?: `0x${string}` | undefined, signedTxHash?: `0x${string}` | undefined);
|
|
207
|
-
get payloadType(): PayloadType | undefined;
|
|
208
|
-
getStructuredContent<T>(): GenericPayload<T> | undefined;
|
|
209
247
|
create(jobId: number, isSecured?: boolean): Promise<OperationPayload>;
|
|
210
248
|
sign(approved: boolean, reason?: string): Promise<{
|
|
211
249
|
userOpHash: Address;
|
|
@@ -226,23 +264,6 @@ declare class AcpMemo {
|
|
|
226
264
|
};
|
|
227
265
|
}
|
|
228
266
|
|
|
229
|
-
declare enum PriceType {
|
|
230
|
-
FIXED = "fixed",
|
|
231
|
-
PERCENTAGE = "percentage"
|
|
232
|
-
}
|
|
233
|
-
declare class AcpJobOffering {
|
|
234
|
-
private readonly acpClient;
|
|
235
|
-
private readonly acpContractClient;
|
|
236
|
-
providerAddress: Address;
|
|
237
|
-
name: string;
|
|
238
|
-
price: number;
|
|
239
|
-
priceType: PriceType;
|
|
240
|
-
requirement?: (Object | string) | undefined;
|
|
241
|
-
private ajv;
|
|
242
|
-
constructor(acpClient: AcpClient, acpContractClient: BaseAcpContractClient, providerAddress: Address, name: string, price: number, priceType?: PriceType, requirement?: (Object | string) | undefined);
|
|
243
|
-
initiateJob(serviceRequirement: Object | string, evaluatorAddress?: Address, expiredAt?: Date): Promise<number>;
|
|
244
|
-
}
|
|
245
|
-
|
|
246
267
|
declare class AcpJob {
|
|
247
268
|
private acpClient;
|
|
248
269
|
id: number;
|
|
@@ -266,9 +287,9 @@ declare class AcpJob {
|
|
|
266
287
|
get baseFare(): Fare;
|
|
267
288
|
get deliverable(): string | undefined;
|
|
268
289
|
get rejectionReason(): string | undefined;
|
|
269
|
-
get providerAgent(): Promise<AcpAgent |
|
|
270
|
-
get clientAgent(): Promise<AcpAgent |
|
|
271
|
-
get evaluatorAgent(): Promise<AcpAgent |
|
|
290
|
+
get providerAgent(): Promise<AcpAgent | null>;
|
|
291
|
+
get clientAgent(): Promise<AcpAgent | null>;
|
|
292
|
+
get evaluatorAgent(): Promise<AcpAgent | null>;
|
|
272
293
|
get account(): Promise<AcpAccount | null>;
|
|
273
294
|
get latestMemo(): AcpMemo | undefined;
|
|
274
295
|
createRequirement(content: string): Promise<{
|
|
@@ -335,8 +356,6 @@ declare class AcpJob {
|
|
|
335
356
|
}
|
|
336
357
|
|
|
337
358
|
type DeliverablePayload = string | Record<string, unknown>;
|
|
338
|
-
/** @deprecated Use DeliverablePayload instead */
|
|
339
|
-
type IDeliverable = DeliverablePayload;
|
|
340
359
|
declare enum AcpMemoStatus {
|
|
341
360
|
PENDING = "PENDING",
|
|
342
361
|
APPROVED = "APPROVED",
|
|
@@ -375,102 +394,6 @@ interface IAcpClientOptions {
|
|
|
375
394
|
customRpcUrl?: string;
|
|
376
395
|
skipSocketConnection?: boolean;
|
|
377
396
|
}
|
|
378
|
-
type AcpAgent = {
|
|
379
|
-
id: number;
|
|
380
|
-
documentId: string;
|
|
381
|
-
name: string;
|
|
382
|
-
description: string;
|
|
383
|
-
walletAddress: Address;
|
|
384
|
-
isVirtualAgent: boolean;
|
|
385
|
-
profilePic: string;
|
|
386
|
-
category: string;
|
|
387
|
-
tokenAddress: string | null;
|
|
388
|
-
ownerAddress: string;
|
|
389
|
-
cluster: string | null;
|
|
390
|
-
twitterHandle: string;
|
|
391
|
-
jobs: {
|
|
392
|
-
name: string;
|
|
393
|
-
priceV2: {
|
|
394
|
-
type: PriceType;
|
|
395
|
-
value: number;
|
|
396
|
-
};
|
|
397
|
-
requirement?: Object | string;
|
|
398
|
-
deliverable?: Object | string;
|
|
399
|
-
}[];
|
|
400
|
-
resources: {
|
|
401
|
-
name: string;
|
|
402
|
-
description: string;
|
|
403
|
-
url: string;
|
|
404
|
-
parameters?: Object;
|
|
405
|
-
id: number;
|
|
406
|
-
}[];
|
|
407
|
-
symbol: string | null;
|
|
408
|
-
virtualAgentId: string | null;
|
|
409
|
-
metrics?: {
|
|
410
|
-
successfulJobCount: number;
|
|
411
|
-
successRate: number;
|
|
412
|
-
uniqueBuyerCount: number;
|
|
413
|
-
minsFromLastOnline: number;
|
|
414
|
-
isOnline: boolean;
|
|
415
|
-
};
|
|
416
|
-
contractAddress: Address;
|
|
417
|
-
};
|
|
418
|
-
declare enum PayloadType {
|
|
419
|
-
FUND_RESPONSE = "fund_response",
|
|
420
|
-
OPEN_POSITION = "open_position",
|
|
421
|
-
SWAP_TOKEN = "swap_token",
|
|
422
|
-
RESPONSE_SWAP_TOKEN = "response_swap_token",
|
|
423
|
-
CLOSE_PARTIAL_POSITION = "close_partial_position",
|
|
424
|
-
CLOSE_POSITION = "close_position",
|
|
425
|
-
POSITION_FULFILLED = "position_fulfilled",
|
|
426
|
-
CLOSE_JOB_AND_WITHDRAW = "close_job_and_withdraw",
|
|
427
|
-
UNFULFILLED_POSITION = "unfulfilled_position"
|
|
428
|
-
}
|
|
429
|
-
type GenericPayload<T = any> = {
|
|
430
|
-
type: PayloadType;
|
|
431
|
-
data: T;
|
|
432
|
-
};
|
|
433
|
-
type FundResponsePayload = {
|
|
434
|
-
reportingApiEndpoint: string;
|
|
435
|
-
walletAddress?: Address;
|
|
436
|
-
};
|
|
437
|
-
declare enum PositionDirection {
|
|
438
|
-
LONG = "long",
|
|
439
|
-
SHORT = "short"
|
|
440
|
-
}
|
|
441
|
-
type OpenPositionPayload = {
|
|
442
|
-
symbol: string;
|
|
443
|
-
amount: number;
|
|
444
|
-
chain?: string;
|
|
445
|
-
contractAddress?: string;
|
|
446
|
-
direction?: PositionDirection;
|
|
447
|
-
tp: {
|
|
448
|
-
price?: number;
|
|
449
|
-
percentage?: number;
|
|
450
|
-
};
|
|
451
|
-
sl: {
|
|
452
|
-
price?: number;
|
|
453
|
-
percentage?: number;
|
|
454
|
-
};
|
|
455
|
-
};
|
|
456
|
-
type SwapTokenPayload = {
|
|
457
|
-
fromSymbol: string;
|
|
458
|
-
fromContractAddress: Address;
|
|
459
|
-
amount: number;
|
|
460
|
-
toSymbol: string;
|
|
461
|
-
toContractAddress?: Address;
|
|
462
|
-
};
|
|
463
|
-
type ResponseSwapTokenPayload = {
|
|
464
|
-
txnHash?: Address;
|
|
465
|
-
error?: string;
|
|
466
|
-
};
|
|
467
|
-
type ClosePositionPayload = {
|
|
468
|
-
positionId: number;
|
|
469
|
-
amount: number;
|
|
470
|
-
};
|
|
471
|
-
type RequestClosePositionPayload = {
|
|
472
|
-
positionId: number;
|
|
473
|
-
};
|
|
474
397
|
type X402Config = {
|
|
475
398
|
url: string;
|
|
476
399
|
};
|
|
@@ -550,6 +473,11 @@ type X402PaymentResponse = {
|
|
|
550
473
|
isPaymentRequired: boolean;
|
|
551
474
|
data: X402PayableRequirements;
|
|
552
475
|
};
|
|
476
|
+
type IAcpMemoContent = {
|
|
477
|
+
id: number;
|
|
478
|
+
content: string;
|
|
479
|
+
url: string;
|
|
480
|
+
};
|
|
553
481
|
|
|
554
482
|
declare class AcpContractConfig {
|
|
555
483
|
chain: typeof baseSepolia | typeof base;
|
|
@@ -643,12 +571,16 @@ declare abstract class BaseAcpContractClient {
|
|
|
643
571
|
abstract performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
|
|
644
572
|
submitTransferWithAuthorization(from: Address, to: Address, value: bigint, validAfter: bigint, validBefore: bigint, nonce: string, signature: string): Promise<OperationPayload[]>;
|
|
645
573
|
abstract getAcpVersion(): string;
|
|
574
|
+
abstract signTypedData(typedData: SignTypedDataParameters): Promise<Hex>;
|
|
646
575
|
}
|
|
647
576
|
|
|
577
|
+
interface IAcpGetAgentOptions {
|
|
578
|
+
showHiddenOfferings?: boolean;
|
|
579
|
+
}
|
|
648
580
|
interface IAcpBrowseAgentsOptions {
|
|
649
581
|
cluster?: string;
|
|
650
|
-
|
|
651
|
-
|
|
582
|
+
sortBy?: AcpAgentSort[];
|
|
583
|
+
topK?: number;
|
|
652
584
|
graduationStatus?: AcpGraduationStatus;
|
|
653
585
|
onlineStatus?: AcpOnlineStatus;
|
|
654
586
|
showHiddenOfferings?: boolean;
|
|
@@ -657,48 +589,41 @@ declare class AcpClient {
|
|
|
657
589
|
private contractClients;
|
|
658
590
|
private onNewTask?;
|
|
659
591
|
private onEvaluate?;
|
|
592
|
+
private acpClient;
|
|
593
|
+
private noAuthAcpClient;
|
|
594
|
+
private accessToken;
|
|
595
|
+
private accessTokenInflight;
|
|
660
596
|
constructor(options: IAcpClientOptions);
|
|
597
|
+
private getAccessToken;
|
|
598
|
+
private refreshToken;
|
|
599
|
+
private getAuthChallenge;
|
|
600
|
+
private verifyAuthChallenge;
|
|
661
601
|
contractClientByAddress(address: Address | undefined): BaseAcpContractClient;
|
|
662
602
|
get acpContractClient(): BaseAcpContractClient;
|
|
663
603
|
get acpUrl(): string;
|
|
664
604
|
private defaultOnEvaluate;
|
|
665
605
|
get walletAddress(): `0x${string}`;
|
|
666
606
|
init(skipSocketConnection?: boolean): Promise<void>;
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
twitterHandle: string;
|
|
674
|
-
walletAddress: `0x${string}`;
|
|
675
|
-
metrics: {
|
|
676
|
-
successfulJobCount: number;
|
|
677
|
-
successRate: number;
|
|
678
|
-
uniqueBuyerCount: number;
|
|
679
|
-
minsFromLastOnline: number;
|
|
680
|
-
isOnline: boolean;
|
|
681
|
-
} | undefined;
|
|
682
|
-
resources: {
|
|
683
|
-
name: string;
|
|
684
|
-
description: string;
|
|
685
|
-
url: string;
|
|
686
|
-
parameters?: Object;
|
|
687
|
-
id: number;
|
|
688
|
-
}[];
|
|
689
|
-
}[]>;
|
|
607
|
+
private _fetch;
|
|
608
|
+
private _hydrateMemo;
|
|
609
|
+
private _hydrateJob;
|
|
610
|
+
private _hydrateJobs;
|
|
611
|
+
private _hydrateAgent;
|
|
612
|
+
browseAgents(keyword: string, options?: IAcpBrowseAgentsOptions): Promise<AcpAgent[] | undefined>;
|
|
690
613
|
initiateJob(providerAddress: Address, serviceRequirement: Object | string, fareAmount: FareAmountBase, evaluatorAddress?: Address, expiredAt?: Date): Promise<number>;
|
|
691
614
|
getActiveJobs(page?: number, pageSize?: number): Promise<AcpJob[]>;
|
|
692
615
|
getPendingMemoJobs(page?: number, pageSize?: number): Promise<AcpJob[]>;
|
|
693
616
|
getCompletedJobs(page?: number, pageSize?: number): Promise<AcpJob[]>;
|
|
694
617
|
getCancelledJobs(page?: number, pageSize?: number): Promise<AcpJob[]>;
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
getMemoById(jobId: number, memoId: number): Promise<AcpMemo | undefined>;
|
|
699
|
-
getAgent(walletAddress: Address): Promise<AcpAgent | undefined>;
|
|
618
|
+
getJobById(jobId: number): Promise<AcpJob | null>;
|
|
619
|
+
getMemoById(jobId: number, memoId: number): Promise<AcpMemo | null>;
|
|
620
|
+
getAgent(walletAddress: Address, options?: IAcpGetAgentOptions): Promise<AcpAgent | null>;
|
|
700
621
|
getAccountByJobId(jobId: number, acpContractClient?: BaseAcpContractClient): Promise<AcpAccount | null>;
|
|
701
622
|
getByClientAndProvider(clientAddress: Address, providerAddress: Address, acpContractClient?: BaseAcpContractClient): Promise<AcpAccount | null>;
|
|
623
|
+
createMemoContent(jobId: number, content: string): Promise<IAcpMemoContent>;
|
|
624
|
+
getTokenBalances(): Promise<{
|
|
625
|
+
tokens: Record<string, any>;
|
|
626
|
+
} | undefined>;
|
|
702
627
|
}
|
|
703
628
|
|
|
704
629
|
declare class AcpX402 {
|
|
@@ -792,7 +717,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
792
717
|
}, {
|
|
793
718
|
Method: "eth_call";
|
|
794
719
|
Parameters: readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride, blockOverrides: viem.RpcBlockOverrides];
|
|
795
|
-
ReturnType:
|
|
720
|
+
ReturnType: Hex;
|
|
796
721
|
}, {
|
|
797
722
|
Method: "eth_createAccessList";
|
|
798
723
|
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
@@ -843,11 +768,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
843
768
|
}, {
|
|
844
769
|
Method: "eth_getCode";
|
|
845
770
|
Parameters: [address: Address$1, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
846
|
-
ReturnType:
|
|
771
|
+
ReturnType: Hex;
|
|
847
772
|
}, {
|
|
848
773
|
Method: "eth_getFilterChanges";
|
|
849
774
|
Parameters: [filterId: viem.Quantity];
|
|
850
|
-
ReturnType: viem.RpcLog[] |
|
|
775
|
+
ReturnType: viem.RpcLog[] | Hex[];
|
|
851
776
|
}, {
|
|
852
777
|
Method: "eth_getFilterLogs";
|
|
853
778
|
Parameters: [filterId: viem.Quantity];
|
|
@@ -874,7 +799,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
874
799
|
}, {
|
|
875
800
|
Method: "eth_getStorageAt";
|
|
876
801
|
Parameters: [address: Address$1, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
877
|
-
ReturnType:
|
|
802
|
+
ReturnType: Hex;
|
|
878
803
|
}, {
|
|
879
804
|
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
880
805
|
Parameters: [hash: viem.Hash, index: viem.Quantity];
|
|
@@ -938,11 +863,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
938
863
|
ReturnType: string;
|
|
939
864
|
}, {
|
|
940
865
|
Method: "eth_sendRawTransaction";
|
|
941
|
-
Parameters: [signedTransaction:
|
|
866
|
+
Parameters: [signedTransaction: Hex];
|
|
942
867
|
ReturnType: viem.Hash;
|
|
943
868
|
}, {
|
|
944
869
|
Method: "eth_sendRawTransactionSync";
|
|
945
|
-
Parameters: [signedTransaction:
|
|
870
|
+
Parameters: [signedTransaction: Hex] | [signedTransaction: Hex, timeout: Hex];
|
|
946
871
|
ReturnType: viem.RpcTransactionReceipt;
|
|
947
872
|
}, {
|
|
948
873
|
Method: "eth_simulateV1";
|
|
@@ -959,14 +884,14 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
959
884
|
ReturnType: readonly (viem.RpcBlock & {
|
|
960
885
|
calls: readonly {
|
|
961
886
|
error?: {
|
|
962
|
-
data?:
|
|
887
|
+
data?: Hex | undefined;
|
|
963
888
|
code: number;
|
|
964
889
|
message: string;
|
|
965
890
|
} | undefined;
|
|
966
891
|
logs?: readonly viem.RpcLog[] | undefined;
|
|
967
|
-
gasUsed:
|
|
968
|
-
returnData:
|
|
969
|
-
status:
|
|
892
|
+
gasUsed: Hex;
|
|
893
|
+
returnData: Hex;
|
|
894
|
+
status: Hex;
|
|
970
895
|
}[];
|
|
971
896
|
})[];
|
|
972
897
|
}, {
|
|
@@ -983,12 +908,12 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
983
908
|
checkGasSponsorshipEligibility: <TContext extends _aa_sdk_core.UserOperationContext | undefined = _aa_sdk_core.UserOperationContext | undefined, TEntryPointVersion extends keyof _aa_sdk_core.EntryPointRegistryBase<unknown> = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TContext>) => Promise<_aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility.CheckGasSponsorshipEligibilityResult<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TEntryPointVersion>>;
|
|
984
909
|
signUserOperation: (args: _aa_sdk_core.SignUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.UserOperationRequest<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
985
910
|
dropAndReplaceUserOperation: (args: _aa_sdk_core.DropAndReplaceUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
986
|
-
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<
|
|
987
|
-
sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<
|
|
911
|
+
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<Hex>;
|
|
912
|
+
sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
|
|
988
913
|
sendUserOperation: (args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
989
|
-
waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<
|
|
990
|
-
upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<
|
|
991
|
-
signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<
|
|
914
|
+
waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<Hex>;
|
|
915
|
+
upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
|
|
916
|
+
signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
|
|
992
917
|
signTypedData: <const TTypedData extends {
|
|
993
918
|
[x: string]: readonly viem.TypedDataParameter[];
|
|
994
919
|
[x: `string[${string}]`]: undefined;
|
|
@@ -1196,7 +1121,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1196
1121
|
uint248?: undefined;
|
|
1197
1122
|
} | {
|
|
1198
1123
|
[key: string]: unknown;
|
|
1199
|
-
}, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<
|
|
1124
|
+
}, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
|
|
1200
1125
|
getAddress: () => Address$1;
|
|
1201
1126
|
estimateUserOperationGas: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1, stateOverride?: viem.StateOverride) => Promise<_aa_sdk_core.UserOperationEstimateGasResponse<TEntryPointVersion>>;
|
|
1202
1127
|
sendRawUserOperation: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1) => Promise<viem.Hash>;
|
|
@@ -1225,15 +1150,15 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1225
1150
|
blobGasUsed: bigint;
|
|
1226
1151
|
difficulty: bigint;
|
|
1227
1152
|
excessBlobGas: bigint;
|
|
1228
|
-
extraData:
|
|
1153
|
+
extraData: Hex;
|
|
1229
1154
|
gasLimit: bigint;
|
|
1230
1155
|
gasUsed: bigint;
|
|
1231
1156
|
miner: Address$1;
|
|
1232
1157
|
mixHash: viem.Hash;
|
|
1233
1158
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
1234
1159
|
parentHash: viem.Hash;
|
|
1235
|
-
receiptsRoot:
|
|
1236
|
-
sealFields:
|
|
1160
|
+
receiptsRoot: Hex;
|
|
1161
|
+
sealFields: Hex[];
|
|
1237
1162
|
sha3Uncles: viem.Hash;
|
|
1238
1163
|
size: bigint;
|
|
1239
1164
|
stateRoot: viem.Hash;
|
|
@@ -1249,11 +1174,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1249
1174
|
yParity?: undefined | undefined;
|
|
1250
1175
|
gas: bigint;
|
|
1251
1176
|
hash: viem.Hash;
|
|
1252
|
-
input:
|
|
1177
|
+
input: Hex;
|
|
1253
1178
|
nonce: number;
|
|
1254
|
-
r:
|
|
1255
|
-
s:
|
|
1256
|
-
typeHex:
|
|
1179
|
+
r: Hex;
|
|
1180
|
+
s: Hex;
|
|
1181
|
+
typeHex: Hex | null;
|
|
1257
1182
|
v: bigint;
|
|
1258
1183
|
value: bigint;
|
|
1259
1184
|
accessList?: undefined | undefined;
|
|
@@ -1274,11 +1199,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1274
1199
|
yParity: number;
|
|
1275
1200
|
gas: bigint;
|
|
1276
1201
|
hash: viem.Hash;
|
|
1277
|
-
input:
|
|
1202
|
+
input: Hex;
|
|
1278
1203
|
nonce: number;
|
|
1279
|
-
r:
|
|
1280
|
-
s:
|
|
1281
|
-
typeHex:
|
|
1204
|
+
r: Hex;
|
|
1205
|
+
s: Hex;
|
|
1206
|
+
typeHex: Hex | null;
|
|
1282
1207
|
v: bigint;
|
|
1283
1208
|
value: bigint;
|
|
1284
1209
|
accessList: viem.AccessList;
|
|
@@ -1299,11 +1224,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1299
1224
|
yParity: number;
|
|
1300
1225
|
gas: bigint;
|
|
1301
1226
|
hash: viem.Hash;
|
|
1302
|
-
input:
|
|
1227
|
+
input: Hex;
|
|
1303
1228
|
nonce: number;
|
|
1304
|
-
r:
|
|
1305
|
-
s:
|
|
1306
|
-
typeHex:
|
|
1229
|
+
r: Hex;
|
|
1230
|
+
s: Hex;
|
|
1231
|
+
typeHex: Hex | null;
|
|
1307
1232
|
v: bigint;
|
|
1308
1233
|
value: bigint;
|
|
1309
1234
|
accessList: viem.AccessList;
|
|
@@ -1324,16 +1249,16 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1324
1249
|
yParity: number;
|
|
1325
1250
|
gas: bigint;
|
|
1326
1251
|
hash: viem.Hash;
|
|
1327
|
-
input:
|
|
1252
|
+
input: Hex;
|
|
1328
1253
|
nonce: number;
|
|
1329
|
-
r:
|
|
1330
|
-
s:
|
|
1331
|
-
typeHex:
|
|
1254
|
+
r: Hex;
|
|
1255
|
+
s: Hex;
|
|
1256
|
+
typeHex: Hex | null;
|
|
1332
1257
|
v: bigint;
|
|
1333
1258
|
value: bigint;
|
|
1334
1259
|
accessList: viem.AccessList;
|
|
1335
1260
|
authorizationList?: undefined | undefined;
|
|
1336
|
-
blobVersionedHashes: readonly
|
|
1261
|
+
blobVersionedHashes: readonly Hex[];
|
|
1337
1262
|
chainId: number;
|
|
1338
1263
|
type: "eip4844";
|
|
1339
1264
|
gasPrice?: undefined | undefined;
|
|
@@ -1349,11 +1274,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1349
1274
|
yParity: number;
|
|
1350
1275
|
gas: bigint;
|
|
1351
1276
|
hash: viem.Hash;
|
|
1352
|
-
input:
|
|
1277
|
+
input: Hex;
|
|
1353
1278
|
nonce: number;
|
|
1354
|
-
r:
|
|
1355
|
-
s:
|
|
1356
|
-
typeHex:
|
|
1279
|
+
r: Hex;
|
|
1280
|
+
s: Hex;
|
|
1281
|
+
typeHex: Hex | null;
|
|
1357
1282
|
v: bigint;
|
|
1358
1283
|
value: bigint;
|
|
1359
1284
|
accessList: viem.AccessList;
|
|
@@ -1399,11 +1324,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1399
1324
|
yParity?: undefined | undefined;
|
|
1400
1325
|
gas: bigint;
|
|
1401
1326
|
hash: viem.Hash;
|
|
1402
|
-
input:
|
|
1327
|
+
input: Hex;
|
|
1403
1328
|
nonce: number;
|
|
1404
|
-
r:
|
|
1405
|
-
s:
|
|
1406
|
-
typeHex:
|
|
1329
|
+
r: Hex;
|
|
1330
|
+
s: Hex;
|
|
1331
|
+
typeHex: Hex | null;
|
|
1407
1332
|
v: bigint;
|
|
1408
1333
|
value: bigint;
|
|
1409
1334
|
accessList?: undefined | undefined;
|
|
@@ -1424,11 +1349,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1424
1349
|
yParity: number;
|
|
1425
1350
|
gas: bigint;
|
|
1426
1351
|
hash: viem.Hash;
|
|
1427
|
-
input:
|
|
1352
|
+
input: Hex;
|
|
1428
1353
|
nonce: number;
|
|
1429
|
-
r:
|
|
1430
|
-
s:
|
|
1431
|
-
typeHex:
|
|
1354
|
+
r: Hex;
|
|
1355
|
+
s: Hex;
|
|
1356
|
+
typeHex: Hex | null;
|
|
1432
1357
|
v: bigint;
|
|
1433
1358
|
value: bigint;
|
|
1434
1359
|
accessList: viem.AccessList;
|
|
@@ -1449,11 +1374,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1449
1374
|
yParity: number;
|
|
1450
1375
|
gas: bigint;
|
|
1451
1376
|
hash: viem.Hash;
|
|
1452
|
-
input:
|
|
1377
|
+
input: Hex;
|
|
1453
1378
|
nonce: number;
|
|
1454
|
-
r:
|
|
1455
|
-
s:
|
|
1456
|
-
typeHex:
|
|
1379
|
+
r: Hex;
|
|
1380
|
+
s: Hex;
|
|
1381
|
+
typeHex: Hex | null;
|
|
1457
1382
|
v: bigint;
|
|
1458
1383
|
value: bigint;
|
|
1459
1384
|
accessList: viem.AccessList;
|
|
@@ -1474,16 +1399,16 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1474
1399
|
yParity: number;
|
|
1475
1400
|
gas: bigint;
|
|
1476
1401
|
hash: viem.Hash;
|
|
1477
|
-
input:
|
|
1402
|
+
input: Hex;
|
|
1478
1403
|
nonce: number;
|
|
1479
|
-
r:
|
|
1480
|
-
s:
|
|
1481
|
-
typeHex:
|
|
1404
|
+
r: Hex;
|
|
1405
|
+
s: Hex;
|
|
1406
|
+
typeHex: Hex | null;
|
|
1482
1407
|
v: bigint;
|
|
1483
1408
|
value: bigint;
|
|
1484
1409
|
accessList: viem.AccessList;
|
|
1485
1410
|
authorizationList?: undefined | undefined;
|
|
1486
|
-
blobVersionedHashes: readonly
|
|
1411
|
+
blobVersionedHashes: readonly Hex[];
|
|
1487
1412
|
chainId: number;
|
|
1488
1413
|
type: "eip4844";
|
|
1489
1414
|
gasPrice?: undefined | undefined;
|
|
@@ -1499,11 +1424,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1499
1424
|
yParity: number;
|
|
1500
1425
|
gas: bigint;
|
|
1501
1426
|
hash: viem.Hash;
|
|
1502
|
-
input:
|
|
1427
|
+
input: Hex;
|
|
1503
1428
|
nonce: number;
|
|
1504
|
-
r:
|
|
1505
|
-
s:
|
|
1506
|
-
typeHex:
|
|
1429
|
+
r: Hex;
|
|
1430
|
+
s: Hex;
|
|
1431
|
+
typeHex: Hex | null;
|
|
1507
1432
|
v: bigint;
|
|
1508
1433
|
value: bigint;
|
|
1509
1434
|
accessList: viem.AccessList;
|
|
@@ -8112,7 +8037,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8112
8037
|
}, {
|
|
8113
8038
|
Method: "eth_call";
|
|
8114
8039
|
Parameters: readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride, blockOverrides: viem.RpcBlockOverrides];
|
|
8115
|
-
ReturnType:
|
|
8040
|
+
ReturnType: Hex;
|
|
8116
8041
|
}, {
|
|
8117
8042
|
Method: "eth_createAccessList";
|
|
8118
8043
|
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
@@ -8163,11 +8088,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8163
8088
|
}, {
|
|
8164
8089
|
Method: "eth_getCode";
|
|
8165
8090
|
Parameters: [address: Address$1, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
8166
|
-
ReturnType:
|
|
8091
|
+
ReturnType: Hex;
|
|
8167
8092
|
}, {
|
|
8168
8093
|
Method: "eth_getFilterChanges";
|
|
8169
8094
|
Parameters: [filterId: viem.Quantity];
|
|
8170
|
-
ReturnType: viem.RpcLog[] |
|
|
8095
|
+
ReturnType: viem.RpcLog[] | Hex[];
|
|
8171
8096
|
}, {
|
|
8172
8097
|
Method: "eth_getFilterLogs";
|
|
8173
8098
|
Parameters: [filterId: viem.Quantity];
|
|
@@ -8194,7 +8119,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8194
8119
|
}, {
|
|
8195
8120
|
Method: "eth_getStorageAt";
|
|
8196
8121
|
Parameters: [address: Address$1, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
8197
|
-
ReturnType:
|
|
8122
|
+
ReturnType: Hex;
|
|
8198
8123
|
}, {
|
|
8199
8124
|
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
8200
8125
|
Parameters: [hash: viem.Hash, index: viem.Quantity];
|
|
@@ -8258,11 +8183,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8258
8183
|
ReturnType: string;
|
|
8259
8184
|
}, {
|
|
8260
8185
|
Method: "eth_sendRawTransaction";
|
|
8261
|
-
Parameters: [signedTransaction:
|
|
8186
|
+
Parameters: [signedTransaction: Hex];
|
|
8262
8187
|
ReturnType: viem.Hash;
|
|
8263
8188
|
}, {
|
|
8264
8189
|
Method: "eth_sendRawTransactionSync";
|
|
8265
|
-
Parameters: [signedTransaction:
|
|
8190
|
+
Parameters: [signedTransaction: Hex] | [signedTransaction: Hex, timeout: Hex];
|
|
8266
8191
|
ReturnType: viem.RpcTransactionReceipt;
|
|
8267
8192
|
}, {
|
|
8268
8193
|
Method: "eth_simulateV1";
|
|
@@ -8279,14 +8204,14 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8279
8204
|
ReturnType: readonly (viem.RpcBlock & {
|
|
8280
8205
|
calls: readonly {
|
|
8281
8206
|
error?: {
|
|
8282
|
-
data?:
|
|
8207
|
+
data?: Hex | undefined;
|
|
8283
8208
|
code: number;
|
|
8284
8209
|
message: string;
|
|
8285
8210
|
} | undefined;
|
|
8286
8211
|
logs?: readonly viem.RpcLog[] | undefined;
|
|
8287
|
-
gasUsed:
|
|
8288
|
-
returnData:
|
|
8289
|
-
status:
|
|
8212
|
+
gasUsed: Hex;
|
|
8213
|
+
returnData: Hex;
|
|
8214
|
+
status: Hex;
|
|
8290
8215
|
}[];
|
|
8291
8216
|
})[];
|
|
8292
8217
|
}, {
|
|
@@ -8300,12 +8225,12 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8300
8225
|
checkGasSponsorshipEligibility: <TContext extends _aa_sdk_core.UserOperationContext | undefined = _aa_sdk_core.UserOperationContext | undefined, TEntryPointVersion extends keyof _aa_sdk_core.EntryPointRegistryBase<unknown> = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TContext>) => Promise<_aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility.CheckGasSponsorshipEligibilityResult<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TEntryPointVersion>>;
|
|
8301
8226
|
signUserOperation: (args: _aa_sdk_core.SignUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.UserOperationRequest<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
8302
8227
|
dropAndReplaceUserOperation: (args: _aa_sdk_core.DropAndReplaceUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
8303
|
-
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<
|
|
8304
|
-
sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<
|
|
8228
|
+
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<Hex>;
|
|
8229
|
+
sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
|
|
8305
8230
|
sendUserOperation: (args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
8306
|
-
waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<
|
|
8307
|
-
upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<
|
|
8308
|
-
signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<
|
|
8231
|
+
waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<Hex>;
|
|
8232
|
+
upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
|
|
8233
|
+
signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
|
|
8309
8234
|
signTypedData: <const TTypedData extends {
|
|
8310
8235
|
[x: string]: readonly viem.TypedDataParameter[];
|
|
8311
8236
|
[x: `string[${string}]`]: undefined;
|
|
@@ -8513,7 +8438,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8513
8438
|
uint248?: undefined;
|
|
8514
8439
|
} | {
|
|
8515
8440
|
[key: string]: unknown;
|
|
8516
|
-
}, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<
|
|
8441
|
+
}, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
|
|
8517
8442
|
} & {
|
|
8518
8443
|
getAddress: () => Address$1;
|
|
8519
8444
|
} & _aa_sdk_core.BundlerActions & viem.PublicActions>) => client) => viem.Client<viem.Transport, viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, [{
|
|
@@ -8567,7 +8492,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8567
8492
|
}, {
|
|
8568
8493
|
Method: "eth_call";
|
|
8569
8494
|
Parameters: readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride, blockOverrides: viem.RpcBlockOverrides];
|
|
8570
|
-
ReturnType:
|
|
8495
|
+
ReturnType: Hex;
|
|
8571
8496
|
}, {
|
|
8572
8497
|
Method: "eth_createAccessList";
|
|
8573
8498
|
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
@@ -8618,11 +8543,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8618
8543
|
}, {
|
|
8619
8544
|
Method: "eth_getCode";
|
|
8620
8545
|
Parameters: [address: Address$1, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
8621
|
-
ReturnType:
|
|
8546
|
+
ReturnType: Hex;
|
|
8622
8547
|
}, {
|
|
8623
8548
|
Method: "eth_getFilterChanges";
|
|
8624
8549
|
Parameters: [filterId: viem.Quantity];
|
|
8625
|
-
ReturnType: viem.RpcLog[] |
|
|
8550
|
+
ReturnType: viem.RpcLog[] | Hex[];
|
|
8626
8551
|
}, {
|
|
8627
8552
|
Method: "eth_getFilterLogs";
|
|
8628
8553
|
Parameters: [filterId: viem.Quantity];
|
|
@@ -8649,7 +8574,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8649
8574
|
}, {
|
|
8650
8575
|
Method: "eth_getStorageAt";
|
|
8651
8576
|
Parameters: [address: Address$1, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
8652
|
-
ReturnType:
|
|
8577
|
+
ReturnType: Hex;
|
|
8653
8578
|
}, {
|
|
8654
8579
|
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
8655
8580
|
Parameters: [hash: viem.Hash, index: viem.Quantity];
|
|
@@ -8713,11 +8638,11 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8713
8638
|
ReturnType: string;
|
|
8714
8639
|
}, {
|
|
8715
8640
|
Method: "eth_sendRawTransaction";
|
|
8716
|
-
Parameters: [signedTransaction:
|
|
8641
|
+
Parameters: [signedTransaction: Hex];
|
|
8717
8642
|
ReturnType: viem.Hash;
|
|
8718
8643
|
}, {
|
|
8719
8644
|
Method: "eth_sendRawTransactionSync";
|
|
8720
|
-
Parameters: [signedTransaction:
|
|
8645
|
+
Parameters: [signedTransaction: Hex] | [signedTransaction: Hex, timeout: Hex];
|
|
8721
8646
|
ReturnType: viem.RpcTransactionReceipt;
|
|
8722
8647
|
}, {
|
|
8723
8648
|
Method: "eth_simulateV1";
|
|
@@ -8734,14 +8659,14 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8734
8659
|
ReturnType: readonly (viem.RpcBlock & {
|
|
8735
8660
|
calls: readonly {
|
|
8736
8661
|
error?: {
|
|
8737
|
-
data?:
|
|
8662
|
+
data?: Hex | undefined;
|
|
8738
8663
|
code: number;
|
|
8739
8664
|
message: string;
|
|
8740
8665
|
} | undefined;
|
|
8741
8666
|
logs?: readonly viem.RpcLog[] | undefined;
|
|
8742
|
-
gasUsed:
|
|
8743
|
-
returnData:
|
|
8744
|
-
status:
|
|
8667
|
+
gasUsed: Hex;
|
|
8668
|
+
returnData: Hex;
|
|
8669
|
+
status: Hex;
|
|
8745
8670
|
}[];
|
|
8746
8671
|
})[];
|
|
8747
8672
|
}, {
|
|
@@ -8755,12 +8680,12 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8755
8680
|
checkGasSponsorshipEligibility: <TContext extends _aa_sdk_core.UserOperationContext | undefined = _aa_sdk_core.UserOperationContext | undefined, TEntryPointVersion extends keyof _aa_sdk_core.EntryPointRegistryBase<unknown> = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TContext>) => Promise<_aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility.CheckGasSponsorshipEligibilityResult<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TEntryPointVersion>>;
|
|
8756
8681
|
signUserOperation: (args: _aa_sdk_core.SignUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.UserOperationRequest<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
8757
8682
|
dropAndReplaceUserOperation: (args: _aa_sdk_core.DropAndReplaceUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
8758
|
-
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<
|
|
8759
|
-
sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<
|
|
8683
|
+
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<Hex>;
|
|
8684
|
+
sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
|
|
8760
8685
|
sendUserOperation: (args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
8761
|
-
waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<
|
|
8762
|
-
upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<
|
|
8763
|
-
signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<
|
|
8686
|
+
waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<Hex>;
|
|
8687
|
+
upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
|
|
8688
|
+
signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
|
|
8764
8689
|
signTypedData: <const TTypedData extends {
|
|
8765
8690
|
[x: string]: readonly viem.TypedDataParameter[];
|
|
8766
8691
|
[x: `string[${string}]`]: undefined;
|
|
@@ -8968,7 +8893,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8968
8893
|
uint248?: undefined;
|
|
8969
8894
|
} | {
|
|
8970
8895
|
[key: string]: unknown;
|
|
8971
|
-
}, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<
|
|
8896
|
+
}, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
|
|
8972
8897
|
} & {
|
|
8973
8898
|
getAddress: () => Address$1;
|
|
8974
8899
|
} & _aa_sdk_core.BundlerActions & viem.PublicActions>;
|
|
@@ -8989,6 +8914,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8989
8914
|
generateX402Payment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
|
|
8990
8915
|
performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
|
|
8991
8916
|
getAcpVersion(): string;
|
|
8917
|
+
signTypedData(typedData: SignTypedDataParameters): Promise<Hex>;
|
|
8992
8918
|
}
|
|
8993
8919
|
|
|
8994
8920
|
declare function preparePayload(payload: string | object): string;
|
|
@@ -9078,7 +9004,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9078
9004
|
}, {
|
|
9079
9005
|
Method: "eth_call";
|
|
9080
9006
|
Parameters: readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride, blockOverrides: viem.RpcBlockOverrides];
|
|
9081
|
-
ReturnType:
|
|
9007
|
+
ReturnType: Hex;
|
|
9082
9008
|
}, {
|
|
9083
9009
|
Method: "eth_createAccessList";
|
|
9084
9010
|
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
@@ -9129,11 +9055,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9129
9055
|
}, {
|
|
9130
9056
|
Method: "eth_getCode";
|
|
9131
9057
|
Parameters: [address: Address$1, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
9132
|
-
ReturnType:
|
|
9058
|
+
ReturnType: Hex;
|
|
9133
9059
|
}, {
|
|
9134
9060
|
Method: "eth_getFilterChanges";
|
|
9135
9061
|
Parameters: [filterId: viem.Quantity];
|
|
9136
|
-
ReturnType: viem.RpcLog[] |
|
|
9062
|
+
ReturnType: viem.RpcLog[] | Hex[];
|
|
9137
9063
|
}, {
|
|
9138
9064
|
Method: "eth_getFilterLogs";
|
|
9139
9065
|
Parameters: [filterId: viem.Quantity];
|
|
@@ -9160,7 +9086,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9160
9086
|
}, {
|
|
9161
9087
|
Method: "eth_getStorageAt";
|
|
9162
9088
|
Parameters: [address: Address$1, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
9163
|
-
ReturnType:
|
|
9089
|
+
ReturnType: Hex;
|
|
9164
9090
|
}, {
|
|
9165
9091
|
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
9166
9092
|
Parameters: [hash: viem.Hash, index: viem.Quantity];
|
|
@@ -9224,11 +9150,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9224
9150
|
ReturnType: string;
|
|
9225
9151
|
}, {
|
|
9226
9152
|
Method: "eth_sendRawTransaction";
|
|
9227
|
-
Parameters: [signedTransaction:
|
|
9153
|
+
Parameters: [signedTransaction: Hex];
|
|
9228
9154
|
ReturnType: viem.Hash;
|
|
9229
9155
|
}, {
|
|
9230
9156
|
Method: "eth_sendRawTransactionSync";
|
|
9231
|
-
Parameters: [signedTransaction:
|
|
9157
|
+
Parameters: [signedTransaction: Hex] | [signedTransaction: Hex, timeout: Hex];
|
|
9232
9158
|
ReturnType: viem.RpcTransactionReceipt;
|
|
9233
9159
|
}, {
|
|
9234
9160
|
Method: "eth_simulateV1";
|
|
@@ -9245,14 +9171,14 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9245
9171
|
ReturnType: readonly (viem.RpcBlock & {
|
|
9246
9172
|
calls: readonly {
|
|
9247
9173
|
error?: {
|
|
9248
|
-
data?:
|
|
9174
|
+
data?: Hex | undefined;
|
|
9249
9175
|
code: number;
|
|
9250
9176
|
message: string;
|
|
9251
9177
|
} | undefined;
|
|
9252
9178
|
logs?: readonly viem.RpcLog[] | undefined;
|
|
9253
|
-
gasUsed:
|
|
9254
|
-
returnData:
|
|
9255
|
-
status:
|
|
9179
|
+
gasUsed: Hex;
|
|
9180
|
+
returnData: Hex;
|
|
9181
|
+
status: Hex;
|
|
9256
9182
|
}[];
|
|
9257
9183
|
})[];
|
|
9258
9184
|
}, {
|
|
@@ -9269,12 +9195,12 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9269
9195
|
checkGasSponsorshipEligibility: <TContext extends _aa_sdk_core.UserOperationContext | undefined = _aa_sdk_core.UserOperationContext | undefined, TEntryPointVersion extends keyof _aa_sdk_core.EntryPointRegistryBase<unknown> = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TContext>) => Promise<_aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility.CheckGasSponsorshipEligibilityResult<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TEntryPointVersion>>;
|
|
9270
9196
|
signUserOperation: (args: _aa_sdk_core.SignUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.UserOperationRequest<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
9271
9197
|
dropAndReplaceUserOperation: (args: _aa_sdk_core.DropAndReplaceUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
9272
|
-
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<
|
|
9273
|
-
sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<
|
|
9198
|
+
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<Hex>;
|
|
9199
|
+
sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
|
|
9274
9200
|
sendUserOperation: (args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
9275
|
-
waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<
|
|
9276
|
-
upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<
|
|
9277
|
-
signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<
|
|
9201
|
+
waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<Hex>;
|
|
9202
|
+
upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
|
|
9203
|
+
signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
|
|
9278
9204
|
signTypedData: <const TTypedData extends {
|
|
9279
9205
|
[x: string]: readonly viem.TypedDataParameter[];
|
|
9280
9206
|
[x: `string[${string}]`]: undefined;
|
|
@@ -9482,7 +9408,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9482
9408
|
uint248?: undefined;
|
|
9483
9409
|
} | {
|
|
9484
9410
|
[key: string]: unknown;
|
|
9485
|
-
}, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<
|
|
9411
|
+
}, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
|
|
9486
9412
|
getAddress: () => Address$1;
|
|
9487
9413
|
estimateUserOperationGas: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1, stateOverride?: viem.StateOverride) => Promise<_aa_sdk_core.UserOperationEstimateGasResponse<TEntryPointVersion>>;
|
|
9488
9414
|
sendRawUserOperation: <TEntryPointVersion extends _aa_sdk_core.EntryPointVersion = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(request: _aa_sdk_core.UserOperationRequest<TEntryPointVersion>, entryPoint: Address$1) => Promise<viem.Hash>;
|
|
@@ -9511,15 +9437,15 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9511
9437
|
blobGasUsed: bigint;
|
|
9512
9438
|
difficulty: bigint;
|
|
9513
9439
|
excessBlobGas: bigint;
|
|
9514
|
-
extraData:
|
|
9440
|
+
extraData: Hex;
|
|
9515
9441
|
gasLimit: bigint;
|
|
9516
9442
|
gasUsed: bigint;
|
|
9517
9443
|
miner: Address$1;
|
|
9518
9444
|
mixHash: viem.Hash;
|
|
9519
9445
|
parentBeaconBlockRoot?: `0x${string}` | undefined;
|
|
9520
9446
|
parentHash: viem.Hash;
|
|
9521
|
-
receiptsRoot:
|
|
9522
|
-
sealFields:
|
|
9447
|
+
receiptsRoot: Hex;
|
|
9448
|
+
sealFields: Hex[];
|
|
9523
9449
|
sha3Uncles: viem.Hash;
|
|
9524
9450
|
size: bigint;
|
|
9525
9451
|
stateRoot: viem.Hash;
|
|
@@ -9535,11 +9461,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9535
9461
|
yParity?: undefined | undefined;
|
|
9536
9462
|
gas: bigint;
|
|
9537
9463
|
hash: viem.Hash;
|
|
9538
|
-
input:
|
|
9464
|
+
input: Hex;
|
|
9539
9465
|
nonce: number;
|
|
9540
|
-
r:
|
|
9541
|
-
s:
|
|
9542
|
-
typeHex:
|
|
9466
|
+
r: Hex;
|
|
9467
|
+
s: Hex;
|
|
9468
|
+
typeHex: Hex | null;
|
|
9543
9469
|
v: bigint;
|
|
9544
9470
|
value: bigint;
|
|
9545
9471
|
accessList?: undefined | undefined;
|
|
@@ -9560,11 +9486,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9560
9486
|
yParity: number;
|
|
9561
9487
|
gas: bigint;
|
|
9562
9488
|
hash: viem.Hash;
|
|
9563
|
-
input:
|
|
9489
|
+
input: Hex;
|
|
9564
9490
|
nonce: number;
|
|
9565
|
-
r:
|
|
9566
|
-
s:
|
|
9567
|
-
typeHex:
|
|
9491
|
+
r: Hex;
|
|
9492
|
+
s: Hex;
|
|
9493
|
+
typeHex: Hex | null;
|
|
9568
9494
|
v: bigint;
|
|
9569
9495
|
value: bigint;
|
|
9570
9496
|
accessList: viem.AccessList;
|
|
@@ -9585,11 +9511,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9585
9511
|
yParity: number;
|
|
9586
9512
|
gas: bigint;
|
|
9587
9513
|
hash: viem.Hash;
|
|
9588
|
-
input:
|
|
9514
|
+
input: Hex;
|
|
9589
9515
|
nonce: number;
|
|
9590
|
-
r:
|
|
9591
|
-
s:
|
|
9592
|
-
typeHex:
|
|
9516
|
+
r: Hex;
|
|
9517
|
+
s: Hex;
|
|
9518
|
+
typeHex: Hex | null;
|
|
9593
9519
|
v: bigint;
|
|
9594
9520
|
value: bigint;
|
|
9595
9521
|
accessList: viem.AccessList;
|
|
@@ -9610,16 +9536,16 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9610
9536
|
yParity: number;
|
|
9611
9537
|
gas: bigint;
|
|
9612
9538
|
hash: viem.Hash;
|
|
9613
|
-
input:
|
|
9539
|
+
input: Hex;
|
|
9614
9540
|
nonce: number;
|
|
9615
|
-
r:
|
|
9616
|
-
s:
|
|
9617
|
-
typeHex:
|
|
9541
|
+
r: Hex;
|
|
9542
|
+
s: Hex;
|
|
9543
|
+
typeHex: Hex | null;
|
|
9618
9544
|
v: bigint;
|
|
9619
9545
|
value: bigint;
|
|
9620
9546
|
accessList: viem.AccessList;
|
|
9621
9547
|
authorizationList?: undefined | undefined;
|
|
9622
|
-
blobVersionedHashes: readonly
|
|
9548
|
+
blobVersionedHashes: readonly Hex[];
|
|
9623
9549
|
chainId: number;
|
|
9624
9550
|
type: "eip4844";
|
|
9625
9551
|
gasPrice?: undefined | undefined;
|
|
@@ -9635,11 +9561,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9635
9561
|
yParity: number;
|
|
9636
9562
|
gas: bigint;
|
|
9637
9563
|
hash: viem.Hash;
|
|
9638
|
-
input:
|
|
9564
|
+
input: Hex;
|
|
9639
9565
|
nonce: number;
|
|
9640
|
-
r:
|
|
9641
|
-
s:
|
|
9642
|
-
typeHex:
|
|
9566
|
+
r: Hex;
|
|
9567
|
+
s: Hex;
|
|
9568
|
+
typeHex: Hex | null;
|
|
9643
9569
|
v: bigint;
|
|
9644
9570
|
value: bigint;
|
|
9645
9571
|
accessList: viem.AccessList;
|
|
@@ -9685,11 +9611,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9685
9611
|
yParity?: undefined | undefined;
|
|
9686
9612
|
gas: bigint;
|
|
9687
9613
|
hash: viem.Hash;
|
|
9688
|
-
input:
|
|
9614
|
+
input: Hex;
|
|
9689
9615
|
nonce: number;
|
|
9690
|
-
r:
|
|
9691
|
-
s:
|
|
9692
|
-
typeHex:
|
|
9616
|
+
r: Hex;
|
|
9617
|
+
s: Hex;
|
|
9618
|
+
typeHex: Hex | null;
|
|
9693
9619
|
v: bigint;
|
|
9694
9620
|
value: bigint;
|
|
9695
9621
|
accessList?: undefined | undefined;
|
|
@@ -9710,11 +9636,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9710
9636
|
yParity: number;
|
|
9711
9637
|
gas: bigint;
|
|
9712
9638
|
hash: viem.Hash;
|
|
9713
|
-
input:
|
|
9639
|
+
input: Hex;
|
|
9714
9640
|
nonce: number;
|
|
9715
|
-
r:
|
|
9716
|
-
s:
|
|
9717
|
-
typeHex:
|
|
9641
|
+
r: Hex;
|
|
9642
|
+
s: Hex;
|
|
9643
|
+
typeHex: Hex | null;
|
|
9718
9644
|
v: bigint;
|
|
9719
9645
|
value: bigint;
|
|
9720
9646
|
accessList: viem.AccessList;
|
|
@@ -9735,11 +9661,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9735
9661
|
yParity: number;
|
|
9736
9662
|
gas: bigint;
|
|
9737
9663
|
hash: viem.Hash;
|
|
9738
|
-
input:
|
|
9664
|
+
input: Hex;
|
|
9739
9665
|
nonce: number;
|
|
9740
|
-
r:
|
|
9741
|
-
s:
|
|
9742
|
-
typeHex:
|
|
9666
|
+
r: Hex;
|
|
9667
|
+
s: Hex;
|
|
9668
|
+
typeHex: Hex | null;
|
|
9743
9669
|
v: bigint;
|
|
9744
9670
|
value: bigint;
|
|
9745
9671
|
accessList: viem.AccessList;
|
|
@@ -9760,16 +9686,16 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9760
9686
|
yParity: number;
|
|
9761
9687
|
gas: bigint;
|
|
9762
9688
|
hash: viem.Hash;
|
|
9763
|
-
input:
|
|
9689
|
+
input: Hex;
|
|
9764
9690
|
nonce: number;
|
|
9765
|
-
r:
|
|
9766
|
-
s:
|
|
9767
|
-
typeHex:
|
|
9691
|
+
r: Hex;
|
|
9692
|
+
s: Hex;
|
|
9693
|
+
typeHex: Hex | null;
|
|
9768
9694
|
v: bigint;
|
|
9769
9695
|
value: bigint;
|
|
9770
9696
|
accessList: viem.AccessList;
|
|
9771
9697
|
authorizationList?: undefined | undefined;
|
|
9772
|
-
blobVersionedHashes: readonly
|
|
9698
|
+
blobVersionedHashes: readonly Hex[];
|
|
9773
9699
|
chainId: number;
|
|
9774
9700
|
type: "eip4844";
|
|
9775
9701
|
gasPrice?: undefined | undefined;
|
|
@@ -9785,11 +9711,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9785
9711
|
yParity: number;
|
|
9786
9712
|
gas: bigint;
|
|
9787
9713
|
hash: viem.Hash;
|
|
9788
|
-
input:
|
|
9714
|
+
input: Hex;
|
|
9789
9715
|
nonce: number;
|
|
9790
|
-
r:
|
|
9791
|
-
s:
|
|
9792
|
-
typeHex:
|
|
9716
|
+
r: Hex;
|
|
9717
|
+
s: Hex;
|
|
9718
|
+
typeHex: Hex | null;
|
|
9793
9719
|
v: bigint;
|
|
9794
9720
|
value: bigint;
|
|
9795
9721
|
accessList: viem.AccessList;
|
|
@@ -16398,7 +16324,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16398
16324
|
}, {
|
|
16399
16325
|
Method: "eth_call";
|
|
16400
16326
|
Parameters: readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride, blockOverrides: viem.RpcBlockOverrides];
|
|
16401
|
-
ReturnType:
|
|
16327
|
+
ReturnType: Hex;
|
|
16402
16328
|
}, {
|
|
16403
16329
|
Method: "eth_createAccessList";
|
|
16404
16330
|
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
@@ -16449,11 +16375,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16449
16375
|
}, {
|
|
16450
16376
|
Method: "eth_getCode";
|
|
16451
16377
|
Parameters: [address: Address$1, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
16452
|
-
ReturnType:
|
|
16378
|
+
ReturnType: Hex;
|
|
16453
16379
|
}, {
|
|
16454
16380
|
Method: "eth_getFilterChanges";
|
|
16455
16381
|
Parameters: [filterId: viem.Quantity];
|
|
16456
|
-
ReturnType: viem.RpcLog[] |
|
|
16382
|
+
ReturnType: viem.RpcLog[] | Hex[];
|
|
16457
16383
|
}, {
|
|
16458
16384
|
Method: "eth_getFilterLogs";
|
|
16459
16385
|
Parameters: [filterId: viem.Quantity];
|
|
@@ -16480,7 +16406,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16480
16406
|
}, {
|
|
16481
16407
|
Method: "eth_getStorageAt";
|
|
16482
16408
|
Parameters: [address: Address$1, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
16483
|
-
ReturnType:
|
|
16409
|
+
ReturnType: Hex;
|
|
16484
16410
|
}, {
|
|
16485
16411
|
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
16486
16412
|
Parameters: [hash: viem.Hash, index: viem.Quantity];
|
|
@@ -16544,11 +16470,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16544
16470
|
ReturnType: string;
|
|
16545
16471
|
}, {
|
|
16546
16472
|
Method: "eth_sendRawTransaction";
|
|
16547
|
-
Parameters: [signedTransaction:
|
|
16473
|
+
Parameters: [signedTransaction: Hex];
|
|
16548
16474
|
ReturnType: viem.Hash;
|
|
16549
16475
|
}, {
|
|
16550
16476
|
Method: "eth_sendRawTransactionSync";
|
|
16551
|
-
Parameters: [signedTransaction:
|
|
16477
|
+
Parameters: [signedTransaction: Hex] | [signedTransaction: Hex, timeout: Hex];
|
|
16552
16478
|
ReturnType: viem.RpcTransactionReceipt;
|
|
16553
16479
|
}, {
|
|
16554
16480
|
Method: "eth_simulateV1";
|
|
@@ -16565,14 +16491,14 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16565
16491
|
ReturnType: readonly (viem.RpcBlock & {
|
|
16566
16492
|
calls: readonly {
|
|
16567
16493
|
error?: {
|
|
16568
|
-
data?:
|
|
16494
|
+
data?: Hex | undefined;
|
|
16569
16495
|
code: number;
|
|
16570
16496
|
message: string;
|
|
16571
16497
|
} | undefined;
|
|
16572
16498
|
logs?: readonly viem.RpcLog[] | undefined;
|
|
16573
|
-
gasUsed:
|
|
16574
|
-
returnData:
|
|
16575
|
-
status:
|
|
16499
|
+
gasUsed: Hex;
|
|
16500
|
+
returnData: Hex;
|
|
16501
|
+
status: Hex;
|
|
16576
16502
|
}[];
|
|
16577
16503
|
})[];
|
|
16578
16504
|
}, {
|
|
@@ -16586,12 +16512,12 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16586
16512
|
checkGasSponsorshipEligibility: <TContext extends _aa_sdk_core.UserOperationContext | undefined = _aa_sdk_core.UserOperationContext | undefined, TEntryPointVersion extends keyof _aa_sdk_core.EntryPointRegistryBase<unknown> = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TContext>) => Promise<_aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility.CheckGasSponsorshipEligibilityResult<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TEntryPointVersion>>;
|
|
16587
16513
|
signUserOperation: (args: _aa_sdk_core.SignUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.UserOperationRequest<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
16588
16514
|
dropAndReplaceUserOperation: (args: _aa_sdk_core.DropAndReplaceUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
16589
|
-
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<
|
|
16590
|
-
sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<
|
|
16515
|
+
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<Hex>;
|
|
16516
|
+
sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
|
|
16591
16517
|
sendUserOperation: (args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
16592
|
-
waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<
|
|
16593
|
-
upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<
|
|
16594
|
-
signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<
|
|
16518
|
+
waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<Hex>;
|
|
16519
|
+
upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
|
|
16520
|
+
signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
|
|
16595
16521
|
signTypedData: <const TTypedData extends {
|
|
16596
16522
|
[x: string]: readonly viem.TypedDataParameter[];
|
|
16597
16523
|
[x: `string[${string}]`]: undefined;
|
|
@@ -16799,7 +16725,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16799
16725
|
uint248?: undefined;
|
|
16800
16726
|
} | {
|
|
16801
16727
|
[key: string]: unknown;
|
|
16802
|
-
}, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<
|
|
16728
|
+
}, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
|
|
16803
16729
|
} & {
|
|
16804
16730
|
getAddress: () => Address$1;
|
|
16805
16731
|
} & _aa_sdk_core.BundlerActions & viem.PublicActions>) => client) => viem.Client<viem.Transport, viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, [{
|
|
@@ -16853,7 +16779,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16853
16779
|
}, {
|
|
16854
16780
|
Method: "eth_call";
|
|
16855
16781
|
Parameters: readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride] | readonly [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier, stateOverrideSet: viem.RpcStateOverride, blockOverrides: viem.RpcBlockOverrides];
|
|
16856
|
-
ReturnType:
|
|
16782
|
+
ReturnType: Hex;
|
|
16857
16783
|
}, {
|
|
16858
16784
|
Method: "eth_createAccessList";
|
|
16859
16785
|
Parameters: [transaction: viem.ExactPartial<viem.RpcTransactionRequest>] | [transaction: viem.ExactPartial<viem.RpcTransactionRequest>, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
@@ -16904,11 +16830,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16904
16830
|
}, {
|
|
16905
16831
|
Method: "eth_getCode";
|
|
16906
16832
|
Parameters: [address: Address$1, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
16907
|
-
ReturnType:
|
|
16833
|
+
ReturnType: Hex;
|
|
16908
16834
|
}, {
|
|
16909
16835
|
Method: "eth_getFilterChanges";
|
|
16910
16836
|
Parameters: [filterId: viem.Quantity];
|
|
16911
|
-
ReturnType: viem.RpcLog[] |
|
|
16837
|
+
ReturnType: viem.RpcLog[] | Hex[];
|
|
16912
16838
|
}, {
|
|
16913
16839
|
Method: "eth_getFilterLogs";
|
|
16914
16840
|
Parameters: [filterId: viem.Quantity];
|
|
@@ -16935,7 +16861,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16935
16861
|
}, {
|
|
16936
16862
|
Method: "eth_getStorageAt";
|
|
16937
16863
|
Parameters: [address: Address$1, index: viem.Quantity, block: viem.RpcBlockNumber | viem.BlockTag | viem.RpcBlockIdentifier];
|
|
16938
|
-
ReturnType:
|
|
16864
|
+
ReturnType: Hex;
|
|
16939
16865
|
}, {
|
|
16940
16866
|
Method: "eth_getTransactionByBlockHashAndIndex";
|
|
16941
16867
|
Parameters: [hash: viem.Hash, index: viem.Quantity];
|
|
@@ -16999,11 +16925,11 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16999
16925
|
ReturnType: string;
|
|
17000
16926
|
}, {
|
|
17001
16927
|
Method: "eth_sendRawTransaction";
|
|
17002
|
-
Parameters: [signedTransaction:
|
|
16928
|
+
Parameters: [signedTransaction: Hex];
|
|
17003
16929
|
ReturnType: viem.Hash;
|
|
17004
16930
|
}, {
|
|
17005
16931
|
Method: "eth_sendRawTransactionSync";
|
|
17006
|
-
Parameters: [signedTransaction:
|
|
16932
|
+
Parameters: [signedTransaction: Hex] | [signedTransaction: Hex, timeout: Hex];
|
|
17007
16933
|
ReturnType: viem.RpcTransactionReceipt;
|
|
17008
16934
|
}, {
|
|
17009
16935
|
Method: "eth_simulateV1";
|
|
@@ -17020,14 +16946,14 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17020
16946
|
ReturnType: readonly (viem.RpcBlock & {
|
|
17021
16947
|
calls: readonly {
|
|
17022
16948
|
error?: {
|
|
17023
|
-
data?:
|
|
16949
|
+
data?: Hex | undefined;
|
|
17024
16950
|
code: number;
|
|
17025
16951
|
message: string;
|
|
17026
16952
|
} | undefined;
|
|
17027
16953
|
logs?: readonly viem.RpcLog[] | undefined;
|
|
17028
|
-
gasUsed:
|
|
17029
|
-
returnData:
|
|
17030
|
-
status:
|
|
16954
|
+
gasUsed: Hex;
|
|
16955
|
+
returnData: Hex;
|
|
16956
|
+
status: Hex;
|
|
17031
16957
|
}[];
|
|
17032
16958
|
})[];
|
|
17033
16959
|
}, {
|
|
@@ -17041,12 +16967,12 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17041
16967
|
checkGasSponsorshipEligibility: <TContext extends _aa_sdk_core.UserOperationContext | undefined = _aa_sdk_core.UserOperationContext | undefined, TEntryPointVersion extends keyof _aa_sdk_core.EntryPointRegistryBase<unknown> = keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>(args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TContext>) => Promise<_aa_sdk_core_dist_types_actions_smartAccount_checkGasSponsorshipEligibility.CheckGasSponsorshipEligibilityResult<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TEntryPointVersion>>;
|
|
17042
16968
|
signUserOperation: (args: _aa_sdk_core.SignUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.UserOperationRequest<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
17043
16969
|
dropAndReplaceUserOperation: (args: _aa_sdk_core.DropAndReplaceUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
17044
|
-
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<
|
|
17045
|
-
sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<
|
|
16970
|
+
sendTransaction: <TChainOverride extends viem.Chain | undefined = undefined>(args: viem.SendTransactionParameters<viem.Chain, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, TChainOverride>, overrides?: _aa_sdk_core.UserOperationOverrides<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>> | undefined, context?: _aa_sdk_core.UserOperationContext | undefined) => Promise<Hex>;
|
|
16971
|
+
sendTransactions: (args: _aa_sdk_core.SendTransactionsParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
|
|
17046
16972
|
sendUserOperation: (args: _aa_sdk_core.SendUserOperationParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined, keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>) => Promise<_aa_sdk_core.SendUserOperationResult<keyof _aa_sdk_core.EntryPointRegistryBase<unknown>>>;
|
|
17047
|
-
waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<
|
|
17048
|
-
upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<
|
|
17049
|
-
signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<
|
|
16973
|
+
waitForUserOperationTransaction: (args: _aa_sdk_core.WaitForUserOperationTxParameters) => Promise<Hex>;
|
|
16974
|
+
upgradeAccount: (args: _aa_sdk_core.UpgradeAccountParams<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>, _aa_sdk_core.UserOperationContext | undefined>) => Promise<Hex>;
|
|
16975
|
+
signMessage: (args: _aa_sdk_core_dist_types_actions_smartAccount_signMessage.SignMessageParameters<_account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
|
|
17050
16976
|
signTypedData: <const TTypedData extends {
|
|
17051
16977
|
[x: string]: readonly viem.TypedDataParameter[];
|
|
17052
16978
|
[x: `string[${string}]`]: undefined;
|
|
@@ -17254,7 +17180,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17254
17180
|
uint248?: undefined;
|
|
17255
17181
|
} | {
|
|
17256
17182
|
[key: string]: unknown;
|
|
17257
|
-
}, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<
|
|
17183
|
+
}, TPrimaryType extends string = string>(args: _aa_sdk_core_dist_types_actions_smartAccount_signTypedData.SignTypedDataParameters<TTypedData, TPrimaryType, _account_kit_smart_contracts.ModularAccountV2<SmartAccountSigner<any>>>) => Promise<Hex>;
|
|
17258
17184
|
} & {
|
|
17259
17185
|
getAddress: () => Address$1;
|
|
17260
17186
|
} & _aa_sdk_core.BundlerActions & viem.PublicActions>;
|
|
@@ -17271,6 +17197,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17271
17197
|
performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
|
|
17272
17198
|
getX402PaymentDetails(jobId: number): Promise<IAcpJobX402PaymentDetails>;
|
|
17273
17199
|
getAcpVersion(): string;
|
|
17200
|
+
signTypedData(typedData: SignTypedDataParameters): Promise<Hex>;
|
|
17274
17201
|
}
|
|
17275
17202
|
|
|
17276
|
-
export { ACP_ABI, AcpAgentSort, AcpContractClient, AcpContractClientV2, AcpContractConfig, AcpError, AcpGraduationStatus, AcpJob, AcpJobPhases, AcpMemo, AcpMemoStatus, AcpOnlineStatus, BaseAcpContractClient, type
|
|
17203
|
+
export { ACP_ABI, AcpAgent, AcpAgentSort, AcpContractClient, AcpContractClientV2, AcpContractConfig, AcpError, AcpGraduationStatus, AcpJob, AcpJobPhases, AcpMemo, AcpMemoStatus, AcpOnlineStatus, BaseAcpContractClient, type DeliverablePayload, Fare, FareAmount, FareBigInt, MemoType, baseAcpConfig, baseAcpConfigV2, baseAcpX402Config, baseAcpX402ConfigV2, baseSepoliaAcpConfig, baseSepoliaAcpConfigV2, AcpClient as default, ethFare, preparePayload, wethFare };
|