@virtuals-protocol/acp-node 0.3.0-beta.26 → 0.3.0-beta.28
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/index.d.mts +77 -54
- package/dist/index.d.ts +77 -54
- package/dist/index.js +1706 -147
- package/dist/index.mjs +1721 -139
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2,7 +2,7 @@ import * as viem from 'viem';
|
|
|
2
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
|
-
import { baseSepolia, base } from '@account-kit/infra';
|
|
5
|
+
import { baseSepolia, base, mainnet, sepolia, polygon, polygonAmoy, bsc, bscTestnet, arbitrum, arbitrumSepolia } from '@account-kit/infra';
|
|
6
6
|
import * as util from 'util';
|
|
7
7
|
import util__default from 'util';
|
|
8
8
|
import * as viem__types_actions_siwe_verifySiweMessage from 'viem/_types/actions/siwe/verifySiweMessage';
|
|
@@ -98,9 +98,10 @@ declare const ACP_ABI: ({
|
|
|
98
98
|
declare class Fare {
|
|
99
99
|
contractAddress: Address;
|
|
100
100
|
decimals: number;
|
|
101
|
-
|
|
101
|
+
chainId?: number | undefined;
|
|
102
|
+
constructor(contractAddress: Address, decimals: number, chainId?: number | undefined);
|
|
102
103
|
formatAmount(amount: number): bigint;
|
|
103
|
-
static fromContractAddress(contractAddress: Address, config?: AcpContractConfig): Promise<Fare>;
|
|
104
|
+
static fromContractAddress(contractAddress: Address, config?: AcpContractConfig, chainId?: number): Promise<Fare>;
|
|
104
105
|
}
|
|
105
106
|
declare abstract class FareAmountBase {
|
|
106
107
|
amount: bigint;
|
|
@@ -243,7 +244,8 @@ declare class AcpMemo {
|
|
|
243
244
|
payableDetails?: PayableDetails | undefined;
|
|
244
245
|
txHash?: `0x${string}` | undefined;
|
|
245
246
|
signedTxHash?: `0x${string}` | undefined;
|
|
246
|
-
|
|
247
|
+
state?: AcpMemoState | undefined;
|
|
248
|
+
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, state?: AcpMemoState | undefined);
|
|
247
249
|
create(jobId: number, isSecured?: boolean): Promise<OperationPayload>;
|
|
248
250
|
sign(approved: boolean, reason?: string): Promise<{
|
|
249
251
|
userOpHash: Address;
|
|
@@ -296,14 +298,14 @@ declare class AcpJob {
|
|
|
296
298
|
userOpHash: Address;
|
|
297
299
|
txnHash: Address;
|
|
298
300
|
}>;
|
|
299
|
-
createPayableRequirement(content: string, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER_ESCROW, amount: FareAmountBase, recipient: Address, expiredAt?: Date): Promise<{
|
|
301
|
+
createPayableRequirement(content: string, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER_ESCROW | MemoType.PAYABLE_TRANSFER, amount: FareAmountBase, recipient: Address, expiredAt?: Date): Promise<{
|
|
300
302
|
userOpHash: Address;
|
|
301
303
|
txnHash: Address;
|
|
302
304
|
}>;
|
|
303
305
|
payAndAcceptRequirement(reason?: string): Promise<{
|
|
304
306
|
userOpHash: Address;
|
|
305
307
|
txnHash: Address;
|
|
306
|
-
}>;
|
|
308
|
+
} | undefined>;
|
|
307
309
|
respond(accept: boolean, reason?: string): Promise<{
|
|
308
310
|
userOpHash: Address;
|
|
309
311
|
txnHash: Address;
|
|
@@ -324,7 +326,7 @@ declare class AcpJob {
|
|
|
324
326
|
userOpHash: Address;
|
|
325
327
|
txnHash: Address;
|
|
326
328
|
}>;
|
|
327
|
-
deliverPayable(deliverable: DeliverablePayload, amount: FareAmountBase, skipFee?: boolean, expiredAt?: Date): Promise<{
|
|
329
|
+
deliverPayable(deliverable: DeliverablePayload, amount: FareAmountBase, skipFee?: boolean, expiredAt?: Date): Promise<void | {
|
|
328
330
|
userOpHash: Address;
|
|
329
331
|
txnHash: Address;
|
|
330
332
|
}>;
|
|
@@ -338,6 +340,7 @@ declare class AcpJob {
|
|
|
338
340
|
txnHash: Address;
|
|
339
341
|
}>;
|
|
340
342
|
private performX402Payment;
|
|
343
|
+
deliverCrossChainPayable(recipient: Address, content: string, amount: FareAmountBase, skipFee?: boolean): Promise<void>;
|
|
341
344
|
[util.inspect.custom](): {
|
|
342
345
|
id: number;
|
|
343
346
|
clientAddress: `0x${string}`;
|
|
@@ -361,11 +364,20 @@ declare enum AcpMemoStatus {
|
|
|
361
364
|
APPROVED = "APPROVED",
|
|
362
365
|
REJECTED = "REJECTED"
|
|
363
366
|
}
|
|
367
|
+
declare enum AcpMemoState {
|
|
368
|
+
NONE = 0,
|
|
369
|
+
PENDING = 1,
|
|
370
|
+
IN_PROGRESS = 2,
|
|
371
|
+
FAILED = 3,
|
|
372
|
+
COMPLETED = 4
|
|
373
|
+
}
|
|
364
374
|
interface PayableDetails {
|
|
365
375
|
amount: bigint;
|
|
366
376
|
token: Address;
|
|
367
377
|
recipient: Address;
|
|
368
378
|
feeAmount: bigint;
|
|
379
|
+
lzSrcEid?: number;
|
|
380
|
+
lzDstEid?: number;
|
|
369
381
|
}
|
|
370
382
|
declare enum AcpAgentSort {
|
|
371
383
|
SUCCESSFUL_JOB_COUNT = "successfulJobCount",
|
|
@@ -473,12 +485,8 @@ type X402PaymentResponse = {
|
|
|
473
485
|
isPaymentRequired: boolean;
|
|
474
486
|
data: X402PayableRequirements;
|
|
475
487
|
};
|
|
476
|
-
type IAcpMemoContent = {
|
|
477
|
-
id: number;
|
|
478
|
-
content: string;
|
|
479
|
-
url: string;
|
|
480
|
-
};
|
|
481
488
|
|
|
489
|
+
type SupportedChain = typeof mainnet | typeof sepolia | typeof polygon | typeof polygonAmoy | typeof bsc | typeof bscTestnet | typeof arbitrum | typeof arbitrumSepolia;
|
|
482
490
|
declare class AcpContractConfig {
|
|
483
491
|
chain: typeof baseSepolia | typeof base;
|
|
484
492
|
contractAddress: Address$1;
|
|
@@ -494,14 +502,16 @@ declare class AcpContractConfig {
|
|
|
494
502
|
multiplier: number;
|
|
495
503
|
maxRetries: number;
|
|
496
504
|
} | undefined;
|
|
505
|
+
chains: SupportedChain[];
|
|
497
506
|
constructor(chain: typeof baseSepolia | typeof base, contractAddress: Address$1, baseFare: Fare, alchemyRpcUrl: string, acpUrl: string, abi: typeof ACP_ABI | typeof ACP_V2_ABI, maxRetries: number, rpcEndpoint?: string | undefined, x402Config?: X402Config | undefined, retryConfig?: {
|
|
498
507
|
intervalMs: number;
|
|
499
508
|
multiplier: number;
|
|
500
509
|
maxRetries: number;
|
|
501
|
-
} | undefined);
|
|
510
|
+
} | undefined, chains?: SupportedChain[]);
|
|
502
511
|
}
|
|
503
512
|
declare const baseSepoliaAcpConfig: AcpContractConfig;
|
|
504
513
|
declare const baseSepoliaAcpConfigV2: AcpContractConfig;
|
|
514
|
+
declare const baseSepoliaAcpX402ConfigV2: AcpContractConfig;
|
|
505
515
|
declare const baseAcpConfig: AcpContractConfig;
|
|
506
516
|
declare const baseAcpX402Config: AcpContractConfig;
|
|
507
517
|
declare const baseAcpConfigV2: AcpContractConfig;
|
|
@@ -548,9 +558,10 @@ declare abstract class BaseAcpContractClient {
|
|
|
548
558
|
abi: typeof ACP_ABI | typeof ACP_V2_ABI;
|
|
549
559
|
jobCreatedSignature: string;
|
|
550
560
|
publicClient: ReturnType<typeof createPublicClient>;
|
|
561
|
+
publicClients: Record<number, ReturnType<typeof createPublicClient>>;
|
|
551
562
|
constructor(agentWalletAddress: Address, config?: AcpContractConfig);
|
|
552
563
|
protected validateSessionKeyOnChain(sessionSignerAddress: Address, sessionEntityKeyId: number): Promise<void>;
|
|
553
|
-
abstract handleOperation(operations: OperationPayload[]): Promise<{
|
|
564
|
+
abstract handleOperation(operations: OperationPayload[], chainId?: number): Promise<{
|
|
554
565
|
userOpHash: Address;
|
|
555
566
|
txnHash: Address;
|
|
556
567
|
}>;
|
|
@@ -558,9 +569,11 @@ declare abstract class BaseAcpContractClient {
|
|
|
558
569
|
get walletAddress(): `0x${string}`;
|
|
559
570
|
createJobWithAccount(accountId: number, evaluatorAddress: Address, budgetBaseUnit: bigint, paymentTokenAddress: Address, expiredAt: Date, isX402Job?: boolean): OperationPayload;
|
|
560
571
|
createJob(providerAddress: Address, evaluatorAddress: Address, expiredAt: Date, paymentTokenAddress: Address, budgetBaseUnit: bigint, metadata: string, isX402Job?: boolean): OperationPayload;
|
|
561
|
-
approveAllowance(amountBaseUnit: bigint, paymentTokenAddress?: Address): OperationPayload;
|
|
572
|
+
approveAllowance(amountBaseUnit: bigint, paymentTokenAddress?: Address, targetAddress?: Address): OperationPayload;
|
|
562
573
|
createPayableMemo(jobId: number, content: string, amountBaseUnit: bigint, recipient: Address, feeAmountBaseUnit: bigint, feeType: FeeType, nextPhase: AcpJobPhases, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER_ESCROW | MemoType.PAYABLE_TRANSFER | MemoType.PAYABLE_NOTIFICATION, expiredAt: Date, token?: Address, secured?: boolean): OperationPayload;
|
|
574
|
+
createCrossChainPayableMemo(jobId: number, content: string, token: Address, amountBaseUnit: bigint, recipient: Address, feeAmountBaseUnit: bigint, feeType: FeeType, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER | MemoType.PAYABLE_NOTIFICATION, expiredAt: Date, nextPhase: AcpJobPhases, destinationEid: number, secured?: boolean): OperationPayload;
|
|
563
575
|
createMemo(jobId: number, content: string, type: MemoType, isSecured: boolean, nextPhase: AcpJobPhases): OperationPayload;
|
|
576
|
+
createMemoWithMetadata(jobId: number, content: string, type: MemoType, isSecured: boolean, nextPhase: AcpJobPhases, metadata: string): OperationPayload;
|
|
564
577
|
signMemo(memoId: number, isApproved: boolean, reason?: string): OperationPayload;
|
|
565
578
|
setBudgetWithPaymentToken(jobId: number, budgetBaseUnit: bigint, paymentTokenAddress?: Address): OperationPayload | undefined;
|
|
566
579
|
updateAccountMetadata(accountId: number, metadata: string): OperationPayload;
|
|
@@ -570,6 +583,11 @@ declare abstract class BaseAcpContractClient {
|
|
|
570
583
|
abstract generateX402Payment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
|
|
571
584
|
abstract performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
|
|
572
585
|
submitTransferWithAuthorization(from: Address, to: Address, value: bigint, validAfter: bigint, validBefore: bigint, nonce: string, signature: string): Promise<OperationPayload[]>;
|
|
586
|
+
getERC20Balance(chainId: number, tokenAddress: Address, walletAddress: Address): Promise<bigint>;
|
|
587
|
+
getERC20Allowance(chainId: number, tokenAddress: Address, walletAddress: Address, spenderAddress: Address): Promise<bigint>;
|
|
588
|
+
getERC20Symbol(chainId: number, tokenAddress: Address): Promise<string>;
|
|
589
|
+
getERC20Decimals(chainId: number, tokenAddress: Address): Promise<number>;
|
|
590
|
+
abstract getAssetManager(): Promise<Address>;
|
|
573
591
|
abstract getAcpVersion(): string;
|
|
574
592
|
abstract signTypedData(typedData: SignTypedDataParameters): Promise<Hex>;
|
|
575
593
|
}
|
|
@@ -581,6 +599,8 @@ interface IAcpBrowseAgentsOptions {
|
|
|
581
599
|
cluster?: string;
|
|
582
600
|
sortBy?: AcpAgentSort[];
|
|
583
601
|
topK?: number;
|
|
602
|
+
sort_by?: AcpAgentSort[];
|
|
603
|
+
top_k?: number;
|
|
584
604
|
graduationStatus?: AcpGraduationStatus;
|
|
585
605
|
onlineStatus?: AcpOnlineStatus;
|
|
586
606
|
showHiddenOfferings?: boolean;
|
|
@@ -620,7 +640,7 @@ declare class AcpClient {
|
|
|
620
640
|
getAgent(walletAddress: Address, options?: IAcpGetAgentOptions): Promise<AcpAgent | null>;
|
|
621
641
|
getAccountByJobId(jobId: number, acpContractClient?: BaseAcpContractClient): Promise<AcpAccount | null>;
|
|
622
642
|
getByClientAndProvider(clientAddress: Address, providerAddress: Address, acpContractClient?: BaseAcpContractClient): Promise<AcpAccount | null>;
|
|
623
|
-
createMemoContent(jobId: number, content: string): Promise<
|
|
643
|
+
createMemoContent(jobId: number, content: string): Promise<{}>;
|
|
624
644
|
getTokenBalances(): Promise<{
|
|
625
645
|
tokens: Record<string, any>;
|
|
626
646
|
} | undefined>;
|
|
@@ -925,6 +945,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
925
945
|
[x: `uint8[${string}]`]: undefined;
|
|
926
946
|
[x: `bool[${string}]`]: undefined;
|
|
927
947
|
[x: `bytes4[${string}]`]: undefined;
|
|
948
|
+
[x: `uint32[${string}]`]: undefined;
|
|
928
949
|
[x: `bytes[${string}]`]: undefined;
|
|
929
950
|
[x: `bytes6[${string}]`]: undefined;
|
|
930
951
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -957,6 +978,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
957
978
|
[x: `bytes30[${string}]`]: undefined;
|
|
958
979
|
[x: `bytes31[${string}]`]: undefined;
|
|
959
980
|
[x: `int[${string}]`]: undefined;
|
|
981
|
+
[x: `int200[${string}]`]: undefined;
|
|
960
982
|
[x: `int8[${string}]`]: undefined;
|
|
961
983
|
[x: `int16[${string}]`]: undefined;
|
|
962
984
|
[x: `int24[${string}]`]: undefined;
|
|
@@ -981,7 +1003,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
981
1003
|
[x: `int176[${string}]`]: undefined;
|
|
982
1004
|
[x: `int184[${string}]`]: undefined;
|
|
983
1005
|
[x: `int192[${string}]`]: undefined;
|
|
984
|
-
[x: `int200[${string}]`]: undefined;
|
|
985
1006
|
[x: `int208[${string}]`]: undefined;
|
|
986
1007
|
[x: `int216[${string}]`]: undefined;
|
|
987
1008
|
[x: `int224[${string}]`]: undefined;
|
|
@@ -990,9 +1011,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
990
1011
|
[x: `int248[${string}]`]: undefined;
|
|
991
1012
|
[x: `int256[${string}]`]: undefined;
|
|
992
1013
|
[x: `uint[${string}]`]: undefined;
|
|
1014
|
+
[x: `uint200[${string}]`]: undefined;
|
|
993
1015
|
[x: `uint16[${string}]`]: undefined;
|
|
994
1016
|
[x: `uint24[${string}]`]: undefined;
|
|
995
|
-
[x: `uint32[${string}]`]: undefined;
|
|
996
1017
|
[x: `uint40[${string}]`]: undefined;
|
|
997
1018
|
[x: `uint48[${string}]`]: undefined;
|
|
998
1019
|
[x: `uint56[${string}]`]: undefined;
|
|
@@ -1012,7 +1033,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1012
1033
|
[x: `uint176[${string}]`]: undefined;
|
|
1013
1034
|
[x: `uint184[${string}]`]: undefined;
|
|
1014
1035
|
[x: `uint192[${string}]`]: undefined;
|
|
1015
|
-
[x: `uint200[${string}]`]: undefined;
|
|
1016
1036
|
[x: `uint208[${string}]`]: undefined;
|
|
1017
1037
|
[x: `uint216[${string}]`]: undefined;
|
|
1018
1038
|
[x: `uint224[${string}]`]: undefined;
|
|
@@ -1027,6 +1047,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1027
1047
|
uint8?: undefined;
|
|
1028
1048
|
bool?: undefined;
|
|
1029
1049
|
bytes4?: undefined;
|
|
1050
|
+
uint32?: undefined;
|
|
1030
1051
|
bytes?: undefined;
|
|
1031
1052
|
bytes6?: undefined;
|
|
1032
1053
|
bytes10?: undefined;
|
|
@@ -1058,6 +1079,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1058
1079
|
bytes29?: undefined;
|
|
1059
1080
|
bytes30?: undefined;
|
|
1060
1081
|
bytes31?: undefined;
|
|
1082
|
+
int200?: undefined;
|
|
1061
1083
|
int8?: undefined;
|
|
1062
1084
|
int16?: undefined;
|
|
1063
1085
|
int24?: undefined;
|
|
@@ -1082,7 +1104,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1082
1104
|
int176?: undefined;
|
|
1083
1105
|
int184?: undefined;
|
|
1084
1106
|
int192?: undefined;
|
|
1085
|
-
int200?: undefined;
|
|
1086
1107
|
int208?: undefined;
|
|
1087
1108
|
int216?: undefined;
|
|
1088
1109
|
int224?: undefined;
|
|
@@ -1090,9 +1111,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1090
1111
|
int240?: undefined;
|
|
1091
1112
|
int248?: undefined;
|
|
1092
1113
|
int256?: undefined;
|
|
1114
|
+
uint200?: undefined;
|
|
1093
1115
|
uint16?: undefined;
|
|
1094
1116
|
uint24?: undefined;
|
|
1095
|
-
uint32?: undefined;
|
|
1096
1117
|
uint40?: undefined;
|
|
1097
1118
|
uint48?: undefined;
|
|
1098
1119
|
uint56?: undefined;
|
|
@@ -1112,7 +1133,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1112
1133
|
uint176?: undefined;
|
|
1113
1134
|
uint184?: undefined;
|
|
1114
1135
|
uint192?: undefined;
|
|
1115
|
-
uint200?: undefined;
|
|
1116
1136
|
uint208?: undefined;
|
|
1117
1137
|
uint216?: undefined;
|
|
1118
1138
|
uint224?: undefined;
|
|
@@ -8242,6 +8262,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8242
8262
|
[x: `uint8[${string}]`]: undefined;
|
|
8243
8263
|
[x: `bool[${string}]`]: undefined;
|
|
8244
8264
|
[x: `bytes4[${string}]`]: undefined;
|
|
8265
|
+
[x: `uint32[${string}]`]: undefined;
|
|
8245
8266
|
[x: `bytes[${string}]`]: undefined;
|
|
8246
8267
|
[x: `bytes6[${string}]`]: undefined;
|
|
8247
8268
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -8274,6 +8295,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8274
8295
|
[x: `bytes30[${string}]`]: undefined;
|
|
8275
8296
|
[x: `bytes31[${string}]`]: undefined;
|
|
8276
8297
|
[x: `int[${string}]`]: undefined;
|
|
8298
|
+
[x: `int200[${string}]`]: undefined;
|
|
8277
8299
|
[x: `int8[${string}]`]: undefined;
|
|
8278
8300
|
[x: `int16[${string}]`]: undefined;
|
|
8279
8301
|
[x: `int24[${string}]`]: undefined;
|
|
@@ -8298,7 +8320,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8298
8320
|
[x: `int176[${string}]`]: undefined;
|
|
8299
8321
|
[x: `int184[${string}]`]: undefined;
|
|
8300
8322
|
[x: `int192[${string}]`]: undefined;
|
|
8301
|
-
[x: `int200[${string}]`]: undefined;
|
|
8302
8323
|
[x: `int208[${string}]`]: undefined;
|
|
8303
8324
|
[x: `int216[${string}]`]: undefined;
|
|
8304
8325
|
[x: `int224[${string}]`]: undefined;
|
|
@@ -8307,9 +8328,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8307
8328
|
[x: `int248[${string}]`]: undefined;
|
|
8308
8329
|
[x: `int256[${string}]`]: undefined;
|
|
8309
8330
|
[x: `uint[${string}]`]: undefined;
|
|
8331
|
+
[x: `uint200[${string}]`]: undefined;
|
|
8310
8332
|
[x: `uint16[${string}]`]: undefined;
|
|
8311
8333
|
[x: `uint24[${string}]`]: undefined;
|
|
8312
|
-
[x: `uint32[${string}]`]: undefined;
|
|
8313
8334
|
[x: `uint40[${string}]`]: undefined;
|
|
8314
8335
|
[x: `uint48[${string}]`]: undefined;
|
|
8315
8336
|
[x: `uint56[${string}]`]: undefined;
|
|
@@ -8329,7 +8350,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8329
8350
|
[x: `uint176[${string}]`]: undefined;
|
|
8330
8351
|
[x: `uint184[${string}]`]: undefined;
|
|
8331
8352
|
[x: `uint192[${string}]`]: undefined;
|
|
8332
|
-
[x: `uint200[${string}]`]: undefined;
|
|
8333
8353
|
[x: `uint208[${string}]`]: undefined;
|
|
8334
8354
|
[x: `uint216[${string}]`]: undefined;
|
|
8335
8355
|
[x: `uint224[${string}]`]: undefined;
|
|
@@ -8344,6 +8364,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8344
8364
|
uint8?: undefined;
|
|
8345
8365
|
bool?: undefined;
|
|
8346
8366
|
bytes4?: undefined;
|
|
8367
|
+
uint32?: undefined;
|
|
8347
8368
|
bytes?: undefined;
|
|
8348
8369
|
bytes6?: undefined;
|
|
8349
8370
|
bytes10?: undefined;
|
|
@@ -8375,6 +8396,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8375
8396
|
bytes29?: undefined;
|
|
8376
8397
|
bytes30?: undefined;
|
|
8377
8398
|
bytes31?: undefined;
|
|
8399
|
+
int200?: undefined;
|
|
8378
8400
|
int8?: undefined;
|
|
8379
8401
|
int16?: undefined;
|
|
8380
8402
|
int24?: undefined;
|
|
@@ -8399,7 +8421,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8399
8421
|
int176?: undefined;
|
|
8400
8422
|
int184?: undefined;
|
|
8401
8423
|
int192?: undefined;
|
|
8402
|
-
int200?: undefined;
|
|
8403
8424
|
int208?: undefined;
|
|
8404
8425
|
int216?: undefined;
|
|
8405
8426
|
int224?: undefined;
|
|
@@ -8407,9 +8428,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8407
8428
|
int240?: undefined;
|
|
8408
8429
|
int248?: undefined;
|
|
8409
8430
|
int256?: undefined;
|
|
8431
|
+
uint200?: undefined;
|
|
8410
8432
|
uint16?: undefined;
|
|
8411
8433
|
uint24?: undefined;
|
|
8412
|
-
uint32?: undefined;
|
|
8413
8434
|
uint40?: undefined;
|
|
8414
8435
|
uint48?: undefined;
|
|
8415
8436
|
uint56?: undefined;
|
|
@@ -8429,7 +8450,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8429
8450
|
uint176?: undefined;
|
|
8430
8451
|
uint184?: undefined;
|
|
8431
8452
|
uint192?: undefined;
|
|
8432
|
-
uint200?: undefined;
|
|
8433
8453
|
uint208?: undefined;
|
|
8434
8454
|
uint216?: undefined;
|
|
8435
8455
|
uint224?: undefined;
|
|
@@ -8697,6 +8717,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8697
8717
|
[x: `uint8[${string}]`]: undefined;
|
|
8698
8718
|
[x: `bool[${string}]`]: undefined;
|
|
8699
8719
|
[x: `bytes4[${string}]`]: undefined;
|
|
8720
|
+
[x: `uint32[${string}]`]: undefined;
|
|
8700
8721
|
[x: `bytes[${string}]`]: undefined;
|
|
8701
8722
|
[x: `bytes6[${string}]`]: undefined;
|
|
8702
8723
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -8729,6 +8750,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8729
8750
|
[x: `bytes30[${string}]`]: undefined;
|
|
8730
8751
|
[x: `bytes31[${string}]`]: undefined;
|
|
8731
8752
|
[x: `int[${string}]`]: undefined;
|
|
8753
|
+
[x: `int200[${string}]`]: undefined;
|
|
8732
8754
|
[x: `int8[${string}]`]: undefined;
|
|
8733
8755
|
[x: `int16[${string}]`]: undefined;
|
|
8734
8756
|
[x: `int24[${string}]`]: undefined;
|
|
@@ -8753,7 +8775,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8753
8775
|
[x: `int176[${string}]`]: undefined;
|
|
8754
8776
|
[x: `int184[${string}]`]: undefined;
|
|
8755
8777
|
[x: `int192[${string}]`]: undefined;
|
|
8756
|
-
[x: `int200[${string}]`]: undefined;
|
|
8757
8778
|
[x: `int208[${string}]`]: undefined;
|
|
8758
8779
|
[x: `int216[${string}]`]: undefined;
|
|
8759
8780
|
[x: `int224[${string}]`]: undefined;
|
|
@@ -8762,9 +8783,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8762
8783
|
[x: `int248[${string}]`]: undefined;
|
|
8763
8784
|
[x: `int256[${string}]`]: undefined;
|
|
8764
8785
|
[x: `uint[${string}]`]: undefined;
|
|
8786
|
+
[x: `uint200[${string}]`]: undefined;
|
|
8765
8787
|
[x: `uint16[${string}]`]: undefined;
|
|
8766
8788
|
[x: `uint24[${string}]`]: undefined;
|
|
8767
|
-
[x: `uint32[${string}]`]: undefined;
|
|
8768
8789
|
[x: `uint40[${string}]`]: undefined;
|
|
8769
8790
|
[x: `uint48[${string}]`]: undefined;
|
|
8770
8791
|
[x: `uint56[${string}]`]: undefined;
|
|
@@ -8784,7 +8805,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8784
8805
|
[x: `uint176[${string}]`]: undefined;
|
|
8785
8806
|
[x: `uint184[${string}]`]: undefined;
|
|
8786
8807
|
[x: `uint192[${string}]`]: undefined;
|
|
8787
|
-
[x: `uint200[${string}]`]: undefined;
|
|
8788
8808
|
[x: `uint208[${string}]`]: undefined;
|
|
8789
8809
|
[x: `uint216[${string}]`]: undefined;
|
|
8790
8810
|
[x: `uint224[${string}]`]: undefined;
|
|
@@ -8799,6 +8819,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8799
8819
|
uint8?: undefined;
|
|
8800
8820
|
bool?: undefined;
|
|
8801
8821
|
bytes4?: undefined;
|
|
8822
|
+
uint32?: undefined;
|
|
8802
8823
|
bytes?: undefined;
|
|
8803
8824
|
bytes6?: undefined;
|
|
8804
8825
|
bytes10?: undefined;
|
|
@@ -8830,6 +8851,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8830
8851
|
bytes29?: undefined;
|
|
8831
8852
|
bytes30?: undefined;
|
|
8832
8853
|
bytes31?: undefined;
|
|
8854
|
+
int200?: undefined;
|
|
8833
8855
|
int8?: undefined;
|
|
8834
8856
|
int16?: undefined;
|
|
8835
8857
|
int24?: undefined;
|
|
@@ -8854,7 +8876,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8854
8876
|
int176?: undefined;
|
|
8855
8877
|
int184?: undefined;
|
|
8856
8878
|
int192?: undefined;
|
|
8857
|
-
int200?: undefined;
|
|
8858
8879
|
int208?: undefined;
|
|
8859
8880
|
int216?: undefined;
|
|
8860
8881
|
int224?: undefined;
|
|
@@ -8862,9 +8883,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8862
8883
|
int240?: undefined;
|
|
8863
8884
|
int248?: undefined;
|
|
8864
8885
|
int256?: undefined;
|
|
8886
|
+
uint200?: undefined;
|
|
8865
8887
|
uint16?: undefined;
|
|
8866
8888
|
uint24?: undefined;
|
|
8867
|
-
uint32?: undefined;
|
|
8868
8889
|
uint40?: undefined;
|
|
8869
8890
|
uint48?: undefined;
|
|
8870
8891
|
uint56?: undefined;
|
|
@@ -8884,7 +8905,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8884
8905
|
uint176?: undefined;
|
|
8885
8906
|
uint184?: undefined;
|
|
8886
8907
|
uint192?: undefined;
|
|
8887
|
-
uint200?: undefined;
|
|
8888
8908
|
uint208?: undefined;
|
|
8889
8909
|
uint216?: undefined;
|
|
8890
8910
|
uint224?: undefined;
|
|
@@ -8913,6 +8933,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8913
8933
|
updateJobX402Nonce(jobId: number, nonce: string): Promise<OffChainJob>;
|
|
8914
8934
|
generateX402Payment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
|
|
8915
8935
|
performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
|
|
8936
|
+
getAssetManager(): Promise<Address$1>;
|
|
8916
8937
|
getAcpVersion(): string;
|
|
8917
8938
|
signTypedData(typedData: SignTypedDataParameters): Promise<Hex>;
|
|
8918
8939
|
}
|
|
@@ -8933,6 +8954,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
8933
8954
|
private GAS_FEE_MULTIPLIER;
|
|
8934
8955
|
private RETRY_CONFIG;
|
|
8935
8956
|
private _sessionKeyClient;
|
|
8957
|
+
private _sessionKeyClients;
|
|
8936
8958
|
private _acpX402;
|
|
8937
8959
|
constructor(jobManagerAddress: Address$1, memoManagerAddress: Address$1, accountManagerAddress: Address$1, agentWalletAddress: Address$1, config?: AcpContractConfig);
|
|
8938
8960
|
static build(walletPrivateKey: Address$1, sessionEntityKeyId: number, agentWalletAddress: Address$1, config?: AcpContractConfig): Promise<AcpContractClientV2>;
|
|
@@ -9212,6 +9234,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9212
9234
|
[x: `uint8[${string}]`]: undefined;
|
|
9213
9235
|
[x: `bool[${string}]`]: undefined;
|
|
9214
9236
|
[x: `bytes4[${string}]`]: undefined;
|
|
9237
|
+
[x: `uint32[${string}]`]: undefined;
|
|
9215
9238
|
[x: `bytes[${string}]`]: undefined;
|
|
9216
9239
|
[x: `bytes6[${string}]`]: undefined;
|
|
9217
9240
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -9244,6 +9267,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9244
9267
|
[x: `bytes30[${string}]`]: undefined;
|
|
9245
9268
|
[x: `bytes31[${string}]`]: undefined;
|
|
9246
9269
|
[x: `int[${string}]`]: undefined;
|
|
9270
|
+
[x: `int200[${string}]`]: undefined;
|
|
9247
9271
|
[x: `int8[${string}]`]: undefined;
|
|
9248
9272
|
[x: `int16[${string}]`]: undefined;
|
|
9249
9273
|
[x: `int24[${string}]`]: undefined;
|
|
@@ -9268,7 +9292,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9268
9292
|
[x: `int176[${string}]`]: undefined;
|
|
9269
9293
|
[x: `int184[${string}]`]: undefined;
|
|
9270
9294
|
[x: `int192[${string}]`]: undefined;
|
|
9271
|
-
[x: `int200[${string}]`]: undefined;
|
|
9272
9295
|
[x: `int208[${string}]`]: undefined;
|
|
9273
9296
|
[x: `int216[${string}]`]: undefined;
|
|
9274
9297
|
[x: `int224[${string}]`]: undefined;
|
|
@@ -9277,9 +9300,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9277
9300
|
[x: `int248[${string}]`]: undefined;
|
|
9278
9301
|
[x: `int256[${string}]`]: undefined;
|
|
9279
9302
|
[x: `uint[${string}]`]: undefined;
|
|
9303
|
+
[x: `uint200[${string}]`]: undefined;
|
|
9280
9304
|
[x: `uint16[${string}]`]: undefined;
|
|
9281
9305
|
[x: `uint24[${string}]`]: undefined;
|
|
9282
|
-
[x: `uint32[${string}]`]: undefined;
|
|
9283
9306
|
[x: `uint40[${string}]`]: undefined;
|
|
9284
9307
|
[x: `uint48[${string}]`]: undefined;
|
|
9285
9308
|
[x: `uint56[${string}]`]: undefined;
|
|
@@ -9299,7 +9322,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9299
9322
|
[x: `uint176[${string}]`]: undefined;
|
|
9300
9323
|
[x: `uint184[${string}]`]: undefined;
|
|
9301
9324
|
[x: `uint192[${string}]`]: undefined;
|
|
9302
|
-
[x: `uint200[${string}]`]: undefined;
|
|
9303
9325
|
[x: `uint208[${string}]`]: undefined;
|
|
9304
9326
|
[x: `uint216[${string}]`]: undefined;
|
|
9305
9327
|
[x: `uint224[${string}]`]: undefined;
|
|
@@ -9314,6 +9336,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9314
9336
|
uint8?: undefined;
|
|
9315
9337
|
bool?: undefined;
|
|
9316
9338
|
bytes4?: undefined;
|
|
9339
|
+
uint32?: undefined;
|
|
9317
9340
|
bytes?: undefined;
|
|
9318
9341
|
bytes6?: undefined;
|
|
9319
9342
|
bytes10?: undefined;
|
|
@@ -9345,6 +9368,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9345
9368
|
bytes29?: undefined;
|
|
9346
9369
|
bytes30?: undefined;
|
|
9347
9370
|
bytes31?: undefined;
|
|
9371
|
+
int200?: undefined;
|
|
9348
9372
|
int8?: undefined;
|
|
9349
9373
|
int16?: undefined;
|
|
9350
9374
|
int24?: undefined;
|
|
@@ -9369,7 +9393,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9369
9393
|
int176?: undefined;
|
|
9370
9394
|
int184?: undefined;
|
|
9371
9395
|
int192?: undefined;
|
|
9372
|
-
int200?: undefined;
|
|
9373
9396
|
int208?: undefined;
|
|
9374
9397
|
int216?: undefined;
|
|
9375
9398
|
int224?: undefined;
|
|
@@ -9377,9 +9400,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9377
9400
|
int240?: undefined;
|
|
9378
9401
|
int248?: undefined;
|
|
9379
9402
|
int256?: undefined;
|
|
9403
|
+
uint200?: undefined;
|
|
9380
9404
|
uint16?: undefined;
|
|
9381
9405
|
uint24?: undefined;
|
|
9382
|
-
uint32?: undefined;
|
|
9383
9406
|
uint40?: undefined;
|
|
9384
9407
|
uint48?: undefined;
|
|
9385
9408
|
uint56?: undefined;
|
|
@@ -9399,7 +9422,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9399
9422
|
uint176?: undefined;
|
|
9400
9423
|
uint184?: undefined;
|
|
9401
9424
|
uint192?: undefined;
|
|
9402
|
-
uint200?: undefined;
|
|
9403
9425
|
uint208?: undefined;
|
|
9404
9426
|
uint216?: undefined;
|
|
9405
9427
|
uint224?: undefined;
|
|
@@ -16529,6 +16551,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16529
16551
|
[x: `uint8[${string}]`]: undefined;
|
|
16530
16552
|
[x: `bool[${string}]`]: undefined;
|
|
16531
16553
|
[x: `bytes4[${string}]`]: undefined;
|
|
16554
|
+
[x: `uint32[${string}]`]: undefined;
|
|
16532
16555
|
[x: `bytes[${string}]`]: undefined;
|
|
16533
16556
|
[x: `bytes6[${string}]`]: undefined;
|
|
16534
16557
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -16561,6 +16584,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16561
16584
|
[x: `bytes30[${string}]`]: undefined;
|
|
16562
16585
|
[x: `bytes31[${string}]`]: undefined;
|
|
16563
16586
|
[x: `int[${string}]`]: undefined;
|
|
16587
|
+
[x: `int200[${string}]`]: undefined;
|
|
16564
16588
|
[x: `int8[${string}]`]: undefined;
|
|
16565
16589
|
[x: `int16[${string}]`]: undefined;
|
|
16566
16590
|
[x: `int24[${string}]`]: undefined;
|
|
@@ -16585,7 +16609,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16585
16609
|
[x: `int176[${string}]`]: undefined;
|
|
16586
16610
|
[x: `int184[${string}]`]: undefined;
|
|
16587
16611
|
[x: `int192[${string}]`]: undefined;
|
|
16588
|
-
[x: `int200[${string}]`]: undefined;
|
|
16589
16612
|
[x: `int208[${string}]`]: undefined;
|
|
16590
16613
|
[x: `int216[${string}]`]: undefined;
|
|
16591
16614
|
[x: `int224[${string}]`]: undefined;
|
|
@@ -16594,9 +16617,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16594
16617
|
[x: `int248[${string}]`]: undefined;
|
|
16595
16618
|
[x: `int256[${string}]`]: undefined;
|
|
16596
16619
|
[x: `uint[${string}]`]: undefined;
|
|
16620
|
+
[x: `uint200[${string}]`]: undefined;
|
|
16597
16621
|
[x: `uint16[${string}]`]: undefined;
|
|
16598
16622
|
[x: `uint24[${string}]`]: undefined;
|
|
16599
|
-
[x: `uint32[${string}]`]: undefined;
|
|
16600
16623
|
[x: `uint40[${string}]`]: undefined;
|
|
16601
16624
|
[x: `uint48[${string}]`]: undefined;
|
|
16602
16625
|
[x: `uint56[${string}]`]: undefined;
|
|
@@ -16616,7 +16639,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16616
16639
|
[x: `uint176[${string}]`]: undefined;
|
|
16617
16640
|
[x: `uint184[${string}]`]: undefined;
|
|
16618
16641
|
[x: `uint192[${string}]`]: undefined;
|
|
16619
|
-
[x: `uint200[${string}]`]: undefined;
|
|
16620
16642
|
[x: `uint208[${string}]`]: undefined;
|
|
16621
16643
|
[x: `uint216[${string}]`]: undefined;
|
|
16622
16644
|
[x: `uint224[${string}]`]: undefined;
|
|
@@ -16631,6 +16653,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16631
16653
|
uint8?: undefined;
|
|
16632
16654
|
bool?: undefined;
|
|
16633
16655
|
bytes4?: undefined;
|
|
16656
|
+
uint32?: undefined;
|
|
16634
16657
|
bytes?: undefined;
|
|
16635
16658
|
bytes6?: undefined;
|
|
16636
16659
|
bytes10?: undefined;
|
|
@@ -16662,6 +16685,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16662
16685
|
bytes29?: undefined;
|
|
16663
16686
|
bytes30?: undefined;
|
|
16664
16687
|
bytes31?: undefined;
|
|
16688
|
+
int200?: undefined;
|
|
16665
16689
|
int8?: undefined;
|
|
16666
16690
|
int16?: undefined;
|
|
16667
16691
|
int24?: undefined;
|
|
@@ -16686,7 +16710,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16686
16710
|
int176?: undefined;
|
|
16687
16711
|
int184?: undefined;
|
|
16688
16712
|
int192?: undefined;
|
|
16689
|
-
int200?: undefined;
|
|
16690
16713
|
int208?: undefined;
|
|
16691
16714
|
int216?: undefined;
|
|
16692
16715
|
int224?: undefined;
|
|
@@ -16694,9 +16717,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16694
16717
|
int240?: undefined;
|
|
16695
16718
|
int248?: undefined;
|
|
16696
16719
|
int256?: undefined;
|
|
16720
|
+
uint200?: undefined;
|
|
16697
16721
|
uint16?: undefined;
|
|
16698
16722
|
uint24?: undefined;
|
|
16699
|
-
uint32?: undefined;
|
|
16700
16723
|
uint40?: undefined;
|
|
16701
16724
|
uint48?: undefined;
|
|
16702
16725
|
uint56?: undefined;
|
|
@@ -16716,7 +16739,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16716
16739
|
uint176?: undefined;
|
|
16717
16740
|
uint184?: undefined;
|
|
16718
16741
|
uint192?: undefined;
|
|
16719
|
-
uint200?: undefined;
|
|
16720
16742
|
uint208?: undefined;
|
|
16721
16743
|
uint216?: undefined;
|
|
16722
16744
|
uint224?: undefined;
|
|
@@ -16984,6 +17006,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16984
17006
|
[x: `uint8[${string}]`]: undefined;
|
|
16985
17007
|
[x: `bool[${string}]`]: undefined;
|
|
16986
17008
|
[x: `bytes4[${string}]`]: undefined;
|
|
17009
|
+
[x: `uint32[${string}]`]: undefined;
|
|
16987
17010
|
[x: `bytes[${string}]`]: undefined;
|
|
16988
17011
|
[x: `bytes6[${string}]`]: undefined;
|
|
16989
17012
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -17016,6 +17039,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17016
17039
|
[x: `bytes30[${string}]`]: undefined;
|
|
17017
17040
|
[x: `bytes31[${string}]`]: undefined;
|
|
17018
17041
|
[x: `int[${string}]`]: undefined;
|
|
17042
|
+
[x: `int200[${string}]`]: undefined;
|
|
17019
17043
|
[x: `int8[${string}]`]: undefined;
|
|
17020
17044
|
[x: `int16[${string}]`]: undefined;
|
|
17021
17045
|
[x: `int24[${string}]`]: undefined;
|
|
@@ -17040,7 +17064,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17040
17064
|
[x: `int176[${string}]`]: undefined;
|
|
17041
17065
|
[x: `int184[${string}]`]: undefined;
|
|
17042
17066
|
[x: `int192[${string}]`]: undefined;
|
|
17043
|
-
[x: `int200[${string}]`]: undefined;
|
|
17044
17067
|
[x: `int208[${string}]`]: undefined;
|
|
17045
17068
|
[x: `int216[${string}]`]: undefined;
|
|
17046
17069
|
[x: `int224[${string}]`]: undefined;
|
|
@@ -17049,9 +17072,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17049
17072
|
[x: `int248[${string}]`]: undefined;
|
|
17050
17073
|
[x: `int256[${string}]`]: undefined;
|
|
17051
17074
|
[x: `uint[${string}]`]: undefined;
|
|
17075
|
+
[x: `uint200[${string}]`]: undefined;
|
|
17052
17076
|
[x: `uint16[${string}]`]: undefined;
|
|
17053
17077
|
[x: `uint24[${string}]`]: undefined;
|
|
17054
|
-
[x: `uint32[${string}]`]: undefined;
|
|
17055
17078
|
[x: `uint40[${string}]`]: undefined;
|
|
17056
17079
|
[x: `uint48[${string}]`]: undefined;
|
|
17057
17080
|
[x: `uint56[${string}]`]: undefined;
|
|
@@ -17071,7 +17094,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17071
17094
|
[x: `uint176[${string}]`]: undefined;
|
|
17072
17095
|
[x: `uint184[${string}]`]: undefined;
|
|
17073
17096
|
[x: `uint192[${string}]`]: undefined;
|
|
17074
|
-
[x: `uint200[${string}]`]: undefined;
|
|
17075
17097
|
[x: `uint208[${string}]`]: undefined;
|
|
17076
17098
|
[x: `uint216[${string}]`]: undefined;
|
|
17077
17099
|
[x: `uint224[${string}]`]: undefined;
|
|
@@ -17086,6 +17108,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17086
17108
|
uint8?: undefined;
|
|
17087
17109
|
bool?: undefined;
|
|
17088
17110
|
bytes4?: undefined;
|
|
17111
|
+
uint32?: undefined;
|
|
17089
17112
|
bytes?: undefined;
|
|
17090
17113
|
bytes6?: undefined;
|
|
17091
17114
|
bytes10?: undefined;
|
|
@@ -17117,6 +17140,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17117
17140
|
bytes29?: undefined;
|
|
17118
17141
|
bytes30?: undefined;
|
|
17119
17142
|
bytes31?: undefined;
|
|
17143
|
+
int200?: undefined;
|
|
17120
17144
|
int8?: undefined;
|
|
17121
17145
|
int16?: undefined;
|
|
17122
17146
|
int24?: undefined;
|
|
@@ -17141,7 +17165,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17141
17165
|
int176?: undefined;
|
|
17142
17166
|
int184?: undefined;
|
|
17143
17167
|
int192?: undefined;
|
|
17144
|
-
int200?: undefined;
|
|
17145
17168
|
int208?: undefined;
|
|
17146
17169
|
int216?: undefined;
|
|
17147
17170
|
int224?: undefined;
|
|
@@ -17149,9 +17172,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17149
17172
|
int240?: undefined;
|
|
17150
17173
|
int248?: undefined;
|
|
17151
17174
|
int256?: undefined;
|
|
17175
|
+
uint200?: undefined;
|
|
17152
17176
|
uint16?: undefined;
|
|
17153
17177
|
uint24?: undefined;
|
|
17154
|
-
uint32?: undefined;
|
|
17155
17178
|
uint40?: undefined;
|
|
17156
17179
|
uint48?: undefined;
|
|
17157
17180
|
uint56?: undefined;
|
|
@@ -17171,7 +17194,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17171
17194
|
uint176?: undefined;
|
|
17172
17195
|
uint184?: undefined;
|
|
17173
17196
|
uint192?: undefined;
|
|
17174
|
-
uint200?: undefined;
|
|
17175
17197
|
uint208?: undefined;
|
|
17176
17198
|
uint216?: undefined;
|
|
17177
17199
|
uint224?: undefined;
|
|
@@ -17187,7 +17209,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17187
17209
|
};
|
|
17188
17210
|
get acpX402(): AcpX402;
|
|
17189
17211
|
private calculateGasFees;
|
|
17190
|
-
handleOperation(operations: OperationPayload[]): Promise<{
|
|
17212
|
+
handleOperation(operations: OperationPayload[], chainId?: number): Promise<{
|
|
17191
17213
|
userOpHash: Address$1;
|
|
17192
17214
|
txnHash: Address$1;
|
|
17193
17215
|
}>;
|
|
@@ -17196,8 +17218,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17196
17218
|
generateX402Payment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
|
|
17197
17219
|
performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
|
|
17198
17220
|
getX402PaymentDetails(jobId: number): Promise<IAcpJobX402PaymentDetails>;
|
|
17221
|
+
getAssetManager(): Promise<Address$1>;
|
|
17199
17222
|
getAcpVersion(): string;
|
|
17200
17223
|
signTypedData(typedData: SignTypedDataParameters): Promise<Hex>;
|
|
17201
17224
|
}
|
|
17202
17225
|
|
|
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 };
|
|
17226
|
+
export { ACP_ABI, AcpAgent, AcpAgentSort, AcpContractClient, AcpContractClientV2, AcpContractConfig, AcpError, AcpGraduationStatus, AcpJob, AcpJobPhases, AcpMemo, AcpMemoState, AcpMemoStatus, AcpOnlineStatus, BaseAcpContractClient, type DeliverablePayload, Fare, FareAmount, FareBigInt, MemoType, baseAcpConfig, baseAcpConfigV2, baseAcpX402Config, baseAcpX402ConfigV2, baseSepoliaAcpConfig, baseSepoliaAcpConfigV2, baseSepoliaAcpX402ConfigV2, AcpClient as default, ethFare, preparePayload, wethFare };
|