@virtuals-protocol/acp-node 0.3.0-beta.26 → 0.3.0-beta.27
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 +75 -54
- package/dist/index.d.ts +75 -54
- package/dist/index.js +1700 -144
- package/dist/index.mjs +1715 -136
- 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
|
}
|
|
@@ -620,7 +638,7 @@ declare class AcpClient {
|
|
|
620
638
|
getAgent(walletAddress: Address, options?: IAcpGetAgentOptions): Promise<AcpAgent | null>;
|
|
621
639
|
getAccountByJobId(jobId: number, acpContractClient?: BaseAcpContractClient): Promise<AcpAccount | null>;
|
|
622
640
|
getByClientAndProvider(clientAddress: Address, providerAddress: Address, acpContractClient?: BaseAcpContractClient): Promise<AcpAccount | null>;
|
|
623
|
-
createMemoContent(jobId: number, content: string): Promise<
|
|
641
|
+
createMemoContent(jobId: number, content: string): Promise<{}>;
|
|
624
642
|
getTokenBalances(): Promise<{
|
|
625
643
|
tokens: Record<string, any>;
|
|
626
644
|
} | undefined>;
|
|
@@ -925,6 +943,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
925
943
|
[x: `uint8[${string}]`]: undefined;
|
|
926
944
|
[x: `bool[${string}]`]: undefined;
|
|
927
945
|
[x: `bytes4[${string}]`]: undefined;
|
|
946
|
+
[x: `uint32[${string}]`]: undefined;
|
|
928
947
|
[x: `bytes[${string}]`]: undefined;
|
|
929
948
|
[x: `bytes6[${string}]`]: undefined;
|
|
930
949
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -957,6 +976,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
957
976
|
[x: `bytes30[${string}]`]: undefined;
|
|
958
977
|
[x: `bytes31[${string}]`]: undefined;
|
|
959
978
|
[x: `int[${string}]`]: undefined;
|
|
979
|
+
[x: `int200[${string}]`]: undefined;
|
|
960
980
|
[x: `int8[${string}]`]: undefined;
|
|
961
981
|
[x: `int16[${string}]`]: undefined;
|
|
962
982
|
[x: `int24[${string}]`]: undefined;
|
|
@@ -981,7 +1001,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
981
1001
|
[x: `int176[${string}]`]: undefined;
|
|
982
1002
|
[x: `int184[${string}]`]: undefined;
|
|
983
1003
|
[x: `int192[${string}]`]: undefined;
|
|
984
|
-
[x: `int200[${string}]`]: undefined;
|
|
985
1004
|
[x: `int208[${string}]`]: undefined;
|
|
986
1005
|
[x: `int216[${string}]`]: undefined;
|
|
987
1006
|
[x: `int224[${string}]`]: undefined;
|
|
@@ -990,9 +1009,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
990
1009
|
[x: `int248[${string}]`]: undefined;
|
|
991
1010
|
[x: `int256[${string}]`]: undefined;
|
|
992
1011
|
[x: `uint[${string}]`]: undefined;
|
|
1012
|
+
[x: `uint200[${string}]`]: undefined;
|
|
993
1013
|
[x: `uint16[${string}]`]: undefined;
|
|
994
1014
|
[x: `uint24[${string}]`]: undefined;
|
|
995
|
-
[x: `uint32[${string}]`]: undefined;
|
|
996
1015
|
[x: `uint40[${string}]`]: undefined;
|
|
997
1016
|
[x: `uint48[${string}]`]: undefined;
|
|
998
1017
|
[x: `uint56[${string}]`]: undefined;
|
|
@@ -1012,7 +1031,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1012
1031
|
[x: `uint176[${string}]`]: undefined;
|
|
1013
1032
|
[x: `uint184[${string}]`]: undefined;
|
|
1014
1033
|
[x: `uint192[${string}]`]: undefined;
|
|
1015
|
-
[x: `uint200[${string}]`]: undefined;
|
|
1016
1034
|
[x: `uint208[${string}]`]: undefined;
|
|
1017
1035
|
[x: `uint216[${string}]`]: undefined;
|
|
1018
1036
|
[x: `uint224[${string}]`]: undefined;
|
|
@@ -1027,6 +1045,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1027
1045
|
uint8?: undefined;
|
|
1028
1046
|
bool?: undefined;
|
|
1029
1047
|
bytes4?: undefined;
|
|
1048
|
+
uint32?: undefined;
|
|
1030
1049
|
bytes?: undefined;
|
|
1031
1050
|
bytes6?: undefined;
|
|
1032
1051
|
bytes10?: undefined;
|
|
@@ -1058,6 +1077,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1058
1077
|
bytes29?: undefined;
|
|
1059
1078
|
bytes30?: undefined;
|
|
1060
1079
|
bytes31?: undefined;
|
|
1080
|
+
int200?: undefined;
|
|
1061
1081
|
int8?: undefined;
|
|
1062
1082
|
int16?: undefined;
|
|
1063
1083
|
int24?: undefined;
|
|
@@ -1082,7 +1102,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1082
1102
|
int176?: undefined;
|
|
1083
1103
|
int184?: undefined;
|
|
1084
1104
|
int192?: undefined;
|
|
1085
|
-
int200?: undefined;
|
|
1086
1105
|
int208?: undefined;
|
|
1087
1106
|
int216?: undefined;
|
|
1088
1107
|
int224?: undefined;
|
|
@@ -1090,9 +1109,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1090
1109
|
int240?: undefined;
|
|
1091
1110
|
int248?: undefined;
|
|
1092
1111
|
int256?: undefined;
|
|
1112
|
+
uint200?: undefined;
|
|
1093
1113
|
uint16?: undefined;
|
|
1094
1114
|
uint24?: undefined;
|
|
1095
|
-
uint32?: undefined;
|
|
1096
1115
|
uint40?: undefined;
|
|
1097
1116
|
uint48?: undefined;
|
|
1098
1117
|
uint56?: undefined;
|
|
@@ -1112,7 +1131,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
1112
1131
|
uint176?: undefined;
|
|
1113
1132
|
uint184?: undefined;
|
|
1114
1133
|
uint192?: undefined;
|
|
1115
|
-
uint200?: undefined;
|
|
1116
1134
|
uint208?: undefined;
|
|
1117
1135
|
uint216?: undefined;
|
|
1118
1136
|
uint224?: undefined;
|
|
@@ -8242,6 +8260,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8242
8260
|
[x: `uint8[${string}]`]: undefined;
|
|
8243
8261
|
[x: `bool[${string}]`]: undefined;
|
|
8244
8262
|
[x: `bytes4[${string}]`]: undefined;
|
|
8263
|
+
[x: `uint32[${string}]`]: undefined;
|
|
8245
8264
|
[x: `bytes[${string}]`]: undefined;
|
|
8246
8265
|
[x: `bytes6[${string}]`]: undefined;
|
|
8247
8266
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -8274,6 +8293,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8274
8293
|
[x: `bytes30[${string}]`]: undefined;
|
|
8275
8294
|
[x: `bytes31[${string}]`]: undefined;
|
|
8276
8295
|
[x: `int[${string}]`]: undefined;
|
|
8296
|
+
[x: `int200[${string}]`]: undefined;
|
|
8277
8297
|
[x: `int8[${string}]`]: undefined;
|
|
8278
8298
|
[x: `int16[${string}]`]: undefined;
|
|
8279
8299
|
[x: `int24[${string}]`]: undefined;
|
|
@@ -8298,7 +8318,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8298
8318
|
[x: `int176[${string}]`]: undefined;
|
|
8299
8319
|
[x: `int184[${string}]`]: undefined;
|
|
8300
8320
|
[x: `int192[${string}]`]: undefined;
|
|
8301
|
-
[x: `int200[${string}]`]: undefined;
|
|
8302
8321
|
[x: `int208[${string}]`]: undefined;
|
|
8303
8322
|
[x: `int216[${string}]`]: undefined;
|
|
8304
8323
|
[x: `int224[${string}]`]: undefined;
|
|
@@ -8307,9 +8326,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8307
8326
|
[x: `int248[${string}]`]: undefined;
|
|
8308
8327
|
[x: `int256[${string}]`]: undefined;
|
|
8309
8328
|
[x: `uint[${string}]`]: undefined;
|
|
8329
|
+
[x: `uint200[${string}]`]: undefined;
|
|
8310
8330
|
[x: `uint16[${string}]`]: undefined;
|
|
8311
8331
|
[x: `uint24[${string}]`]: undefined;
|
|
8312
|
-
[x: `uint32[${string}]`]: undefined;
|
|
8313
8332
|
[x: `uint40[${string}]`]: undefined;
|
|
8314
8333
|
[x: `uint48[${string}]`]: undefined;
|
|
8315
8334
|
[x: `uint56[${string}]`]: undefined;
|
|
@@ -8329,7 +8348,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8329
8348
|
[x: `uint176[${string}]`]: undefined;
|
|
8330
8349
|
[x: `uint184[${string}]`]: undefined;
|
|
8331
8350
|
[x: `uint192[${string}]`]: undefined;
|
|
8332
|
-
[x: `uint200[${string}]`]: undefined;
|
|
8333
8351
|
[x: `uint208[${string}]`]: undefined;
|
|
8334
8352
|
[x: `uint216[${string}]`]: undefined;
|
|
8335
8353
|
[x: `uint224[${string}]`]: undefined;
|
|
@@ -8344,6 +8362,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8344
8362
|
uint8?: undefined;
|
|
8345
8363
|
bool?: undefined;
|
|
8346
8364
|
bytes4?: undefined;
|
|
8365
|
+
uint32?: undefined;
|
|
8347
8366
|
bytes?: undefined;
|
|
8348
8367
|
bytes6?: undefined;
|
|
8349
8368
|
bytes10?: undefined;
|
|
@@ -8375,6 +8394,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8375
8394
|
bytes29?: undefined;
|
|
8376
8395
|
bytes30?: undefined;
|
|
8377
8396
|
bytes31?: undefined;
|
|
8397
|
+
int200?: undefined;
|
|
8378
8398
|
int8?: undefined;
|
|
8379
8399
|
int16?: undefined;
|
|
8380
8400
|
int24?: undefined;
|
|
@@ -8399,7 +8419,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8399
8419
|
int176?: undefined;
|
|
8400
8420
|
int184?: undefined;
|
|
8401
8421
|
int192?: undefined;
|
|
8402
|
-
int200?: undefined;
|
|
8403
8422
|
int208?: undefined;
|
|
8404
8423
|
int216?: undefined;
|
|
8405
8424
|
int224?: undefined;
|
|
@@ -8407,9 +8426,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8407
8426
|
int240?: undefined;
|
|
8408
8427
|
int248?: undefined;
|
|
8409
8428
|
int256?: undefined;
|
|
8429
|
+
uint200?: undefined;
|
|
8410
8430
|
uint16?: undefined;
|
|
8411
8431
|
uint24?: undefined;
|
|
8412
|
-
uint32?: undefined;
|
|
8413
8432
|
uint40?: undefined;
|
|
8414
8433
|
uint48?: undefined;
|
|
8415
8434
|
uint56?: undefined;
|
|
@@ -8429,7 +8448,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8429
8448
|
uint176?: undefined;
|
|
8430
8449
|
uint184?: undefined;
|
|
8431
8450
|
uint192?: undefined;
|
|
8432
|
-
uint200?: undefined;
|
|
8433
8451
|
uint208?: undefined;
|
|
8434
8452
|
uint216?: undefined;
|
|
8435
8453
|
uint224?: undefined;
|
|
@@ -8697,6 +8715,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8697
8715
|
[x: `uint8[${string}]`]: undefined;
|
|
8698
8716
|
[x: `bool[${string}]`]: undefined;
|
|
8699
8717
|
[x: `bytes4[${string}]`]: undefined;
|
|
8718
|
+
[x: `uint32[${string}]`]: undefined;
|
|
8700
8719
|
[x: `bytes[${string}]`]: undefined;
|
|
8701
8720
|
[x: `bytes6[${string}]`]: undefined;
|
|
8702
8721
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -8729,6 +8748,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8729
8748
|
[x: `bytes30[${string}]`]: undefined;
|
|
8730
8749
|
[x: `bytes31[${string}]`]: undefined;
|
|
8731
8750
|
[x: `int[${string}]`]: undefined;
|
|
8751
|
+
[x: `int200[${string}]`]: undefined;
|
|
8732
8752
|
[x: `int8[${string}]`]: undefined;
|
|
8733
8753
|
[x: `int16[${string}]`]: undefined;
|
|
8734
8754
|
[x: `int24[${string}]`]: undefined;
|
|
@@ -8753,7 +8773,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8753
8773
|
[x: `int176[${string}]`]: undefined;
|
|
8754
8774
|
[x: `int184[${string}]`]: undefined;
|
|
8755
8775
|
[x: `int192[${string}]`]: undefined;
|
|
8756
|
-
[x: `int200[${string}]`]: undefined;
|
|
8757
8776
|
[x: `int208[${string}]`]: undefined;
|
|
8758
8777
|
[x: `int216[${string}]`]: undefined;
|
|
8759
8778
|
[x: `int224[${string}]`]: undefined;
|
|
@@ -8762,9 +8781,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8762
8781
|
[x: `int248[${string}]`]: undefined;
|
|
8763
8782
|
[x: `int256[${string}]`]: undefined;
|
|
8764
8783
|
[x: `uint[${string}]`]: undefined;
|
|
8784
|
+
[x: `uint200[${string}]`]: undefined;
|
|
8765
8785
|
[x: `uint16[${string}]`]: undefined;
|
|
8766
8786
|
[x: `uint24[${string}]`]: undefined;
|
|
8767
|
-
[x: `uint32[${string}]`]: undefined;
|
|
8768
8787
|
[x: `uint40[${string}]`]: undefined;
|
|
8769
8788
|
[x: `uint48[${string}]`]: undefined;
|
|
8770
8789
|
[x: `uint56[${string}]`]: undefined;
|
|
@@ -8784,7 +8803,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8784
8803
|
[x: `uint176[${string}]`]: undefined;
|
|
8785
8804
|
[x: `uint184[${string}]`]: undefined;
|
|
8786
8805
|
[x: `uint192[${string}]`]: undefined;
|
|
8787
|
-
[x: `uint200[${string}]`]: undefined;
|
|
8788
8806
|
[x: `uint208[${string}]`]: undefined;
|
|
8789
8807
|
[x: `uint216[${string}]`]: undefined;
|
|
8790
8808
|
[x: `uint224[${string}]`]: undefined;
|
|
@@ -8799,6 +8817,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8799
8817
|
uint8?: undefined;
|
|
8800
8818
|
bool?: undefined;
|
|
8801
8819
|
bytes4?: undefined;
|
|
8820
|
+
uint32?: undefined;
|
|
8802
8821
|
bytes?: undefined;
|
|
8803
8822
|
bytes6?: undefined;
|
|
8804
8823
|
bytes10?: undefined;
|
|
@@ -8830,6 +8849,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8830
8849
|
bytes29?: undefined;
|
|
8831
8850
|
bytes30?: undefined;
|
|
8832
8851
|
bytes31?: undefined;
|
|
8852
|
+
int200?: undefined;
|
|
8833
8853
|
int8?: undefined;
|
|
8834
8854
|
int16?: undefined;
|
|
8835
8855
|
int24?: undefined;
|
|
@@ -8854,7 +8874,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8854
8874
|
int176?: undefined;
|
|
8855
8875
|
int184?: undefined;
|
|
8856
8876
|
int192?: undefined;
|
|
8857
|
-
int200?: undefined;
|
|
8858
8877
|
int208?: undefined;
|
|
8859
8878
|
int216?: undefined;
|
|
8860
8879
|
int224?: undefined;
|
|
@@ -8862,9 +8881,9 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8862
8881
|
int240?: undefined;
|
|
8863
8882
|
int248?: undefined;
|
|
8864
8883
|
int256?: undefined;
|
|
8884
|
+
uint200?: undefined;
|
|
8865
8885
|
uint16?: undefined;
|
|
8866
8886
|
uint24?: undefined;
|
|
8867
|
-
uint32?: undefined;
|
|
8868
8887
|
uint40?: undefined;
|
|
8869
8888
|
uint48?: undefined;
|
|
8870
8889
|
uint56?: undefined;
|
|
@@ -8884,7 +8903,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8884
8903
|
uint176?: undefined;
|
|
8885
8904
|
uint184?: undefined;
|
|
8886
8905
|
uint192?: undefined;
|
|
8887
|
-
uint200?: undefined;
|
|
8888
8906
|
uint208?: undefined;
|
|
8889
8907
|
uint216?: undefined;
|
|
8890
8908
|
uint224?: undefined;
|
|
@@ -8913,6 +8931,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
|
|
|
8913
8931
|
updateJobX402Nonce(jobId: number, nonce: string): Promise<OffChainJob>;
|
|
8914
8932
|
generateX402Payment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
|
|
8915
8933
|
performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
|
|
8934
|
+
getAssetManager(): Promise<Address$1>;
|
|
8916
8935
|
getAcpVersion(): string;
|
|
8917
8936
|
signTypedData(typedData: SignTypedDataParameters): Promise<Hex>;
|
|
8918
8937
|
}
|
|
@@ -8933,6 +8952,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
8933
8952
|
private GAS_FEE_MULTIPLIER;
|
|
8934
8953
|
private RETRY_CONFIG;
|
|
8935
8954
|
private _sessionKeyClient;
|
|
8955
|
+
private _sessionKeyClients;
|
|
8936
8956
|
private _acpX402;
|
|
8937
8957
|
constructor(jobManagerAddress: Address$1, memoManagerAddress: Address$1, accountManagerAddress: Address$1, agentWalletAddress: Address$1, config?: AcpContractConfig);
|
|
8938
8958
|
static build(walletPrivateKey: Address$1, sessionEntityKeyId: number, agentWalletAddress: Address$1, config?: AcpContractConfig): Promise<AcpContractClientV2>;
|
|
@@ -9212,6 +9232,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9212
9232
|
[x: `uint8[${string}]`]: undefined;
|
|
9213
9233
|
[x: `bool[${string}]`]: undefined;
|
|
9214
9234
|
[x: `bytes4[${string}]`]: undefined;
|
|
9235
|
+
[x: `uint32[${string}]`]: undefined;
|
|
9215
9236
|
[x: `bytes[${string}]`]: undefined;
|
|
9216
9237
|
[x: `bytes6[${string}]`]: undefined;
|
|
9217
9238
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -9244,6 +9265,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9244
9265
|
[x: `bytes30[${string}]`]: undefined;
|
|
9245
9266
|
[x: `bytes31[${string}]`]: undefined;
|
|
9246
9267
|
[x: `int[${string}]`]: undefined;
|
|
9268
|
+
[x: `int200[${string}]`]: undefined;
|
|
9247
9269
|
[x: `int8[${string}]`]: undefined;
|
|
9248
9270
|
[x: `int16[${string}]`]: undefined;
|
|
9249
9271
|
[x: `int24[${string}]`]: undefined;
|
|
@@ -9268,7 +9290,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9268
9290
|
[x: `int176[${string}]`]: undefined;
|
|
9269
9291
|
[x: `int184[${string}]`]: undefined;
|
|
9270
9292
|
[x: `int192[${string}]`]: undefined;
|
|
9271
|
-
[x: `int200[${string}]`]: undefined;
|
|
9272
9293
|
[x: `int208[${string}]`]: undefined;
|
|
9273
9294
|
[x: `int216[${string}]`]: undefined;
|
|
9274
9295
|
[x: `int224[${string}]`]: undefined;
|
|
@@ -9277,9 +9298,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9277
9298
|
[x: `int248[${string}]`]: undefined;
|
|
9278
9299
|
[x: `int256[${string}]`]: undefined;
|
|
9279
9300
|
[x: `uint[${string}]`]: undefined;
|
|
9301
|
+
[x: `uint200[${string}]`]: undefined;
|
|
9280
9302
|
[x: `uint16[${string}]`]: undefined;
|
|
9281
9303
|
[x: `uint24[${string}]`]: undefined;
|
|
9282
|
-
[x: `uint32[${string}]`]: undefined;
|
|
9283
9304
|
[x: `uint40[${string}]`]: undefined;
|
|
9284
9305
|
[x: `uint48[${string}]`]: undefined;
|
|
9285
9306
|
[x: `uint56[${string}]`]: undefined;
|
|
@@ -9299,7 +9320,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9299
9320
|
[x: `uint176[${string}]`]: undefined;
|
|
9300
9321
|
[x: `uint184[${string}]`]: undefined;
|
|
9301
9322
|
[x: `uint192[${string}]`]: undefined;
|
|
9302
|
-
[x: `uint200[${string}]`]: undefined;
|
|
9303
9323
|
[x: `uint208[${string}]`]: undefined;
|
|
9304
9324
|
[x: `uint216[${string}]`]: undefined;
|
|
9305
9325
|
[x: `uint224[${string}]`]: undefined;
|
|
@@ -9314,6 +9334,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9314
9334
|
uint8?: undefined;
|
|
9315
9335
|
bool?: undefined;
|
|
9316
9336
|
bytes4?: undefined;
|
|
9337
|
+
uint32?: undefined;
|
|
9317
9338
|
bytes?: undefined;
|
|
9318
9339
|
bytes6?: undefined;
|
|
9319
9340
|
bytes10?: undefined;
|
|
@@ -9345,6 +9366,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9345
9366
|
bytes29?: undefined;
|
|
9346
9367
|
bytes30?: undefined;
|
|
9347
9368
|
bytes31?: undefined;
|
|
9369
|
+
int200?: undefined;
|
|
9348
9370
|
int8?: undefined;
|
|
9349
9371
|
int16?: undefined;
|
|
9350
9372
|
int24?: undefined;
|
|
@@ -9369,7 +9391,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9369
9391
|
int176?: undefined;
|
|
9370
9392
|
int184?: undefined;
|
|
9371
9393
|
int192?: undefined;
|
|
9372
|
-
int200?: undefined;
|
|
9373
9394
|
int208?: undefined;
|
|
9374
9395
|
int216?: undefined;
|
|
9375
9396
|
int224?: undefined;
|
|
@@ -9377,9 +9398,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9377
9398
|
int240?: undefined;
|
|
9378
9399
|
int248?: undefined;
|
|
9379
9400
|
int256?: undefined;
|
|
9401
|
+
uint200?: undefined;
|
|
9380
9402
|
uint16?: undefined;
|
|
9381
9403
|
uint24?: undefined;
|
|
9382
|
-
uint32?: undefined;
|
|
9383
9404
|
uint40?: undefined;
|
|
9384
9405
|
uint48?: undefined;
|
|
9385
9406
|
uint56?: undefined;
|
|
@@ -9399,7 +9420,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
9399
9420
|
uint176?: undefined;
|
|
9400
9421
|
uint184?: undefined;
|
|
9401
9422
|
uint192?: undefined;
|
|
9402
|
-
uint200?: undefined;
|
|
9403
9423
|
uint208?: undefined;
|
|
9404
9424
|
uint216?: undefined;
|
|
9405
9425
|
uint224?: undefined;
|
|
@@ -16529,6 +16549,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16529
16549
|
[x: `uint8[${string}]`]: undefined;
|
|
16530
16550
|
[x: `bool[${string}]`]: undefined;
|
|
16531
16551
|
[x: `bytes4[${string}]`]: undefined;
|
|
16552
|
+
[x: `uint32[${string}]`]: undefined;
|
|
16532
16553
|
[x: `bytes[${string}]`]: undefined;
|
|
16533
16554
|
[x: `bytes6[${string}]`]: undefined;
|
|
16534
16555
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -16561,6 +16582,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16561
16582
|
[x: `bytes30[${string}]`]: undefined;
|
|
16562
16583
|
[x: `bytes31[${string}]`]: undefined;
|
|
16563
16584
|
[x: `int[${string}]`]: undefined;
|
|
16585
|
+
[x: `int200[${string}]`]: undefined;
|
|
16564
16586
|
[x: `int8[${string}]`]: undefined;
|
|
16565
16587
|
[x: `int16[${string}]`]: undefined;
|
|
16566
16588
|
[x: `int24[${string}]`]: undefined;
|
|
@@ -16585,7 +16607,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16585
16607
|
[x: `int176[${string}]`]: undefined;
|
|
16586
16608
|
[x: `int184[${string}]`]: undefined;
|
|
16587
16609
|
[x: `int192[${string}]`]: undefined;
|
|
16588
|
-
[x: `int200[${string}]`]: undefined;
|
|
16589
16610
|
[x: `int208[${string}]`]: undefined;
|
|
16590
16611
|
[x: `int216[${string}]`]: undefined;
|
|
16591
16612
|
[x: `int224[${string}]`]: undefined;
|
|
@@ -16594,9 +16615,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16594
16615
|
[x: `int248[${string}]`]: undefined;
|
|
16595
16616
|
[x: `int256[${string}]`]: undefined;
|
|
16596
16617
|
[x: `uint[${string}]`]: undefined;
|
|
16618
|
+
[x: `uint200[${string}]`]: undefined;
|
|
16597
16619
|
[x: `uint16[${string}]`]: undefined;
|
|
16598
16620
|
[x: `uint24[${string}]`]: undefined;
|
|
16599
|
-
[x: `uint32[${string}]`]: undefined;
|
|
16600
16621
|
[x: `uint40[${string}]`]: undefined;
|
|
16601
16622
|
[x: `uint48[${string}]`]: undefined;
|
|
16602
16623
|
[x: `uint56[${string}]`]: undefined;
|
|
@@ -16616,7 +16637,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16616
16637
|
[x: `uint176[${string}]`]: undefined;
|
|
16617
16638
|
[x: `uint184[${string}]`]: undefined;
|
|
16618
16639
|
[x: `uint192[${string}]`]: undefined;
|
|
16619
|
-
[x: `uint200[${string}]`]: undefined;
|
|
16620
16640
|
[x: `uint208[${string}]`]: undefined;
|
|
16621
16641
|
[x: `uint216[${string}]`]: undefined;
|
|
16622
16642
|
[x: `uint224[${string}]`]: undefined;
|
|
@@ -16631,6 +16651,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16631
16651
|
uint8?: undefined;
|
|
16632
16652
|
bool?: undefined;
|
|
16633
16653
|
bytes4?: undefined;
|
|
16654
|
+
uint32?: undefined;
|
|
16634
16655
|
bytes?: undefined;
|
|
16635
16656
|
bytes6?: undefined;
|
|
16636
16657
|
bytes10?: undefined;
|
|
@@ -16662,6 +16683,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16662
16683
|
bytes29?: undefined;
|
|
16663
16684
|
bytes30?: undefined;
|
|
16664
16685
|
bytes31?: undefined;
|
|
16686
|
+
int200?: undefined;
|
|
16665
16687
|
int8?: undefined;
|
|
16666
16688
|
int16?: undefined;
|
|
16667
16689
|
int24?: undefined;
|
|
@@ -16686,7 +16708,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16686
16708
|
int176?: undefined;
|
|
16687
16709
|
int184?: undefined;
|
|
16688
16710
|
int192?: undefined;
|
|
16689
|
-
int200?: undefined;
|
|
16690
16711
|
int208?: undefined;
|
|
16691
16712
|
int216?: undefined;
|
|
16692
16713
|
int224?: undefined;
|
|
@@ -16694,9 +16715,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16694
16715
|
int240?: undefined;
|
|
16695
16716
|
int248?: undefined;
|
|
16696
16717
|
int256?: undefined;
|
|
16718
|
+
uint200?: undefined;
|
|
16697
16719
|
uint16?: undefined;
|
|
16698
16720
|
uint24?: undefined;
|
|
16699
|
-
uint32?: undefined;
|
|
16700
16721
|
uint40?: undefined;
|
|
16701
16722
|
uint48?: undefined;
|
|
16702
16723
|
uint56?: undefined;
|
|
@@ -16716,7 +16737,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16716
16737
|
uint176?: undefined;
|
|
16717
16738
|
uint184?: undefined;
|
|
16718
16739
|
uint192?: undefined;
|
|
16719
|
-
uint200?: undefined;
|
|
16720
16740
|
uint208?: undefined;
|
|
16721
16741
|
uint216?: undefined;
|
|
16722
16742
|
uint224?: undefined;
|
|
@@ -16984,6 +17004,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
16984
17004
|
[x: `uint8[${string}]`]: undefined;
|
|
16985
17005
|
[x: `bool[${string}]`]: undefined;
|
|
16986
17006
|
[x: `bytes4[${string}]`]: undefined;
|
|
17007
|
+
[x: `uint32[${string}]`]: undefined;
|
|
16987
17008
|
[x: `bytes[${string}]`]: undefined;
|
|
16988
17009
|
[x: `bytes6[${string}]`]: undefined;
|
|
16989
17010
|
[x: `bytes10[${string}]`]: undefined;
|
|
@@ -17016,6 +17037,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17016
17037
|
[x: `bytes30[${string}]`]: undefined;
|
|
17017
17038
|
[x: `bytes31[${string}]`]: undefined;
|
|
17018
17039
|
[x: `int[${string}]`]: undefined;
|
|
17040
|
+
[x: `int200[${string}]`]: undefined;
|
|
17019
17041
|
[x: `int8[${string}]`]: undefined;
|
|
17020
17042
|
[x: `int16[${string}]`]: undefined;
|
|
17021
17043
|
[x: `int24[${string}]`]: undefined;
|
|
@@ -17040,7 +17062,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17040
17062
|
[x: `int176[${string}]`]: undefined;
|
|
17041
17063
|
[x: `int184[${string}]`]: undefined;
|
|
17042
17064
|
[x: `int192[${string}]`]: undefined;
|
|
17043
|
-
[x: `int200[${string}]`]: undefined;
|
|
17044
17065
|
[x: `int208[${string}]`]: undefined;
|
|
17045
17066
|
[x: `int216[${string}]`]: undefined;
|
|
17046
17067
|
[x: `int224[${string}]`]: undefined;
|
|
@@ -17049,9 +17070,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17049
17070
|
[x: `int248[${string}]`]: undefined;
|
|
17050
17071
|
[x: `int256[${string}]`]: undefined;
|
|
17051
17072
|
[x: `uint[${string}]`]: undefined;
|
|
17073
|
+
[x: `uint200[${string}]`]: undefined;
|
|
17052
17074
|
[x: `uint16[${string}]`]: undefined;
|
|
17053
17075
|
[x: `uint24[${string}]`]: undefined;
|
|
17054
|
-
[x: `uint32[${string}]`]: undefined;
|
|
17055
17076
|
[x: `uint40[${string}]`]: undefined;
|
|
17056
17077
|
[x: `uint48[${string}]`]: undefined;
|
|
17057
17078
|
[x: `uint56[${string}]`]: undefined;
|
|
@@ -17071,7 +17092,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17071
17092
|
[x: `uint176[${string}]`]: undefined;
|
|
17072
17093
|
[x: `uint184[${string}]`]: undefined;
|
|
17073
17094
|
[x: `uint192[${string}]`]: undefined;
|
|
17074
|
-
[x: `uint200[${string}]`]: undefined;
|
|
17075
17095
|
[x: `uint208[${string}]`]: undefined;
|
|
17076
17096
|
[x: `uint216[${string}]`]: undefined;
|
|
17077
17097
|
[x: `uint224[${string}]`]: undefined;
|
|
@@ -17086,6 +17106,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17086
17106
|
uint8?: undefined;
|
|
17087
17107
|
bool?: undefined;
|
|
17088
17108
|
bytes4?: undefined;
|
|
17109
|
+
uint32?: undefined;
|
|
17089
17110
|
bytes?: undefined;
|
|
17090
17111
|
bytes6?: undefined;
|
|
17091
17112
|
bytes10?: undefined;
|
|
@@ -17117,6 +17138,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17117
17138
|
bytes29?: undefined;
|
|
17118
17139
|
bytes30?: undefined;
|
|
17119
17140
|
bytes31?: undefined;
|
|
17141
|
+
int200?: undefined;
|
|
17120
17142
|
int8?: undefined;
|
|
17121
17143
|
int16?: undefined;
|
|
17122
17144
|
int24?: undefined;
|
|
@@ -17141,7 +17163,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17141
17163
|
int176?: undefined;
|
|
17142
17164
|
int184?: undefined;
|
|
17143
17165
|
int192?: undefined;
|
|
17144
|
-
int200?: undefined;
|
|
17145
17166
|
int208?: undefined;
|
|
17146
17167
|
int216?: undefined;
|
|
17147
17168
|
int224?: undefined;
|
|
@@ -17149,9 +17170,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17149
17170
|
int240?: undefined;
|
|
17150
17171
|
int248?: undefined;
|
|
17151
17172
|
int256?: undefined;
|
|
17173
|
+
uint200?: undefined;
|
|
17152
17174
|
uint16?: undefined;
|
|
17153
17175
|
uint24?: undefined;
|
|
17154
|
-
uint32?: undefined;
|
|
17155
17176
|
uint40?: undefined;
|
|
17156
17177
|
uint48?: undefined;
|
|
17157
17178
|
uint56?: undefined;
|
|
@@ -17171,7 +17192,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17171
17192
|
uint176?: undefined;
|
|
17172
17193
|
uint184?: undefined;
|
|
17173
17194
|
uint192?: undefined;
|
|
17174
|
-
uint200?: undefined;
|
|
17175
17195
|
uint208?: undefined;
|
|
17176
17196
|
uint216?: undefined;
|
|
17177
17197
|
uint224?: undefined;
|
|
@@ -17187,7 +17207,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17187
17207
|
};
|
|
17188
17208
|
get acpX402(): AcpX402;
|
|
17189
17209
|
private calculateGasFees;
|
|
17190
|
-
handleOperation(operations: OperationPayload[]): Promise<{
|
|
17210
|
+
handleOperation(operations: OperationPayload[], chainId?: number): Promise<{
|
|
17191
17211
|
userOpHash: Address$1;
|
|
17192
17212
|
txnHash: Address$1;
|
|
17193
17213
|
}>;
|
|
@@ -17196,8 +17216,9 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
|
|
|
17196
17216
|
generateX402Payment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
|
|
17197
17217
|
performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
|
|
17198
17218
|
getX402PaymentDetails(jobId: number): Promise<IAcpJobX402PaymentDetails>;
|
|
17219
|
+
getAssetManager(): Promise<Address$1>;
|
|
17199
17220
|
getAcpVersion(): string;
|
|
17200
17221
|
signTypedData(typedData: SignTypedDataParameters): Promise<Hex>;
|
|
17201
17222
|
}
|
|
17202
17223
|
|
|
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 };
|
|
17224
|
+
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 };
|