@virtuals-protocol/acp-node 0.3.0-beta.21 → 0.3.0-beta.22

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.ts CHANGED
@@ -2,7 +2,7 @@ import * as viem from 'viem';
2
2
  import { Address, Chain, createPublicClient } 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, mainnet, sepolia, polygon, polygonAmoy, bsc, bscTestnet, arbitrum, arbitrumSepolia } from '@account-kit/infra';
5
+ import { baseSepolia, base } 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,10 +98,9 @@ declare const ACP_ABI: ({
98
98
  declare class Fare {
99
99
  contractAddress: Address;
100
100
  decimals: number;
101
- chainId?: number | undefined;
102
- constructor(contractAddress: Address, decimals: number, chainId?: number | undefined);
101
+ constructor(contractAddress: Address, decimals: number);
103
102
  formatAmount(amount: number): bigint;
104
- static fromContractAddress(contractAddress: Address, config?: AcpContractConfig, chainId?: number): Promise<Fare>;
103
+ static fromContractAddress(contractAddress: Address, config?: AcpContractConfig): Promise<Fare>;
105
104
  }
106
105
  declare abstract class FareAmountBase {
107
106
  amount: bigint;
@@ -203,9 +202,8 @@ declare class AcpMemo {
203
202
  payableDetails?: PayableDetails | undefined;
204
203
  txHash?: `0x${string}` | undefined;
205
204
  signedTxHash?: `0x${string}` | undefined;
206
- state?: AcpMemoState | undefined;
207
205
  structuredContent: GenericPayload | undefined;
208
- 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);
206
+ 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);
209
207
  get payloadType(): PayloadType | undefined;
210
208
  getStructuredContent<T>(): GenericPayload<T> | undefined;
211
209
  create(jobId: number, isSecured?: boolean): Promise<OperationPayload>;
@@ -277,7 +275,7 @@ declare class AcpJob {
277
275
  userOpHash: Address;
278
276
  txnHash: Address;
279
277
  }>;
280
- createPayableRequirement(content: string, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER_ESCROW | MemoType.PAYABLE_TRANSFER, amount: FareAmountBase, recipient: Address, expiredAt?: Date): Promise<{
278
+ createPayableRequirement(content: string, type: MemoType.PAYABLE_REQUEST | MemoType.PAYABLE_TRANSFER_ESCROW, amount: FareAmountBase, recipient: Address, expiredAt?: Date): Promise<{
281
279
  userOpHash: Address;
282
280
  txnHash: Address;
283
281
  }>;
@@ -305,7 +303,7 @@ declare class AcpJob {
305
303
  userOpHash: Address;
306
304
  txnHash: Address;
307
305
  }>;
308
- deliverPayable(deliverable: DeliverablePayload, amount: FareAmountBase, skipFee?: boolean, expiredAt?: Date): Promise<void | {
306
+ deliverPayable(deliverable: DeliverablePayload, amount: FareAmountBase, skipFee?: boolean, expiredAt?: Date): Promise<{
309
307
  userOpHash: Address;
310
308
  txnHash: Address;
311
309
  }>;
@@ -319,7 +317,6 @@ declare class AcpJob {
319
317
  txnHash: Address;
320
318
  }>;
321
319
  private performX402Payment;
322
- deliverCrossChainPayable(recipient: Address, amount: FareAmountBase, isRequest?: boolean): Promise<void>;
323
320
  [util.inspect.custom](): {
324
321
  id: number;
325
322
  clientAddress: `0x${string}`;
@@ -345,21 +342,11 @@ declare enum AcpMemoStatus {
345
342
  APPROVED = "APPROVED",
346
343
  REJECTED = "REJECTED"
347
344
  }
348
- declare enum AcpMemoState {
349
- NONE = 0,
350
- PENDING = 1,
351
- IN_PROGRESS = 2,
352
- READY = 3,
353
- COMPLETED = 4,
354
- REJECTED = 5
355
- }
356
345
  interface PayableDetails {
357
346
  amount: bigint;
358
347
  token: Address;
359
348
  recipient: Address;
360
349
  feeAmount: bigint;
361
- lzSrcEid?: number;
362
- lzDstEid?: number;
363
350
  }
364
351
  declare enum AcpAgentSort {
365
352
  SUCCESSFUL_JOB_COUNT = "successfulJobCount",
@@ -564,11 +551,6 @@ type X402PaymentResponse = {
564
551
  data: X402PayableRequirements;
565
552
  };
566
553
 
567
- type SupportedChain = typeof mainnet | typeof sepolia | typeof polygon | typeof polygonAmoy | typeof bsc | typeof bscTestnet | typeof arbitrum | typeof arbitrumSepolia;
568
- type ChainConfig = {
569
- chain: SupportedChain;
570
- rpcUrl?: string;
571
- };
572
554
  declare class AcpContractConfig {
573
555
  chain: typeof baseSepolia | typeof base;
574
556
  contractAddress: Address$1;
@@ -579,12 +561,19 @@ declare class AcpContractConfig {
579
561
  maxRetries: number;
580
562
  rpcEndpoint?: string | undefined;
581
563
  x402Config?: X402Config | undefined;
582
- chains: ChainConfig[];
583
- 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, chains?: ChainConfig[]);
564
+ retryConfig?: {
565
+ intervalMs: number;
566
+ multiplier: number;
567
+ maxRetries: number;
568
+ } | undefined;
569
+ 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?: {
570
+ intervalMs: number;
571
+ multiplier: number;
572
+ maxRetries: number;
573
+ } | undefined);
584
574
  }
585
575
  declare const baseSepoliaAcpConfig: AcpContractConfig;
586
576
  declare const baseSepoliaAcpConfigV2: AcpContractConfig;
587
- declare const baseSepoliaAcpX402ConfigV2: AcpContractConfig;
588
577
  declare const baseAcpConfig: AcpContractConfig;
589
578
  declare const baseAcpX402Config: AcpContractConfig;
590
579
  declare const baseAcpConfigV2: AcpContractConfig;
@@ -631,10 +620,9 @@ declare abstract class BaseAcpContractClient {
631
620
  abi: typeof ACP_ABI | typeof ACP_V2_ABI;
632
621
  jobCreatedSignature: string;
633
622
  publicClient: ReturnType<typeof createPublicClient>;
634
- publicClients: Record<number, ReturnType<typeof createPublicClient>>;
635
623
  constructor(agentWalletAddress: Address, config?: AcpContractConfig);
636
624
  protected validateSessionKeyOnChain(sessionSignerAddress: Address, sessionEntityKeyId: number): Promise<void>;
637
- abstract handleOperation(operations: OperationPayload[], chainId?: number): Promise<{
625
+ abstract handleOperation(operations: OperationPayload[]): Promise<{
638
626
  userOpHash: Address;
639
627
  txnHash: Address;
640
628
  }>;
@@ -642,11 +630,9 @@ declare abstract class BaseAcpContractClient {
642
630
  get walletAddress(): `0x${string}`;
643
631
  createJobWithAccount(accountId: number, evaluatorAddress: Address, budgetBaseUnit: bigint, paymentTokenAddress: Address, expiredAt: Date, isX402Job?: boolean): OperationPayload;
644
632
  createJob(providerAddress: Address, evaluatorAddress: Address, expiredAt: Date, paymentTokenAddress: Address, budgetBaseUnit: bigint, metadata: string, isX402Job?: boolean): OperationPayload;
645
- approveAllowance(amountBaseUnit: bigint, paymentTokenAddress?: Address, targetAddress?: Address): OperationPayload;
633
+ approveAllowance(amountBaseUnit: bigint, paymentTokenAddress?: Address): OperationPayload;
646
634
  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;
647
- 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;
648
635
  createMemo(jobId: number, content: string, type: MemoType, isSecured: boolean, nextPhase: AcpJobPhases): OperationPayload;
649
- createMemoWithMetadata(jobId: number, content: string, type: MemoType, isSecured: boolean, nextPhase: AcpJobPhases, metadata: string): OperationPayload;
650
636
  signMemo(memoId: number, isApproved: boolean, reason?: string): OperationPayload;
651
637
  setBudgetWithPaymentToken(jobId: number, budgetBaseUnit: bigint, paymentTokenAddress?: Address): OperationPayload | undefined;
652
638
  updateAccountMetadata(accountId: number, metadata: string): OperationPayload;
@@ -656,10 +642,6 @@ declare abstract class BaseAcpContractClient {
656
642
  abstract generateX402Payment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
657
643
  abstract performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
658
644
  submitTransferWithAuthorization(from: Address, to: Address, value: bigint, validAfter: bigint, validBefore: bigint, nonce: string, signature: string): Promise<OperationPayload[]>;
659
- getERC20Balance(chainId: number, tokenAddress: Address, walletAddress: Address): Promise<bigint>;
660
- getERC20Allowance(chainId: number, tokenAddress: Address, walletAddress: Address, spenderAddress: Address): Promise<bigint>;
661
- getERC20Symbol(chainId: number, tokenAddress: Address): Promise<string>;
662
- abstract getAssetManager(): Promise<Address>;
663
645
  abstract getAcpVersion(): string;
664
646
  }
665
647
 
@@ -737,6 +719,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
737
719
  protected PRIORITY_FEE_MULTIPLIER: number;
738
720
  protected MAX_FEE_PER_GAS: number;
739
721
  protected MAX_PRIORITY_FEE_PER_GAS: number;
722
+ private RETRY_CONFIG;
740
723
  private _sessionKeyClient;
741
724
  private _acpX402;
742
725
  constructor(agentWalletAddress: Address$1, config?: AcpContractConfig);
@@ -1017,7 +1000,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
1017
1000
  [x: `uint8[${string}]`]: undefined;
1018
1001
  [x: `bool[${string}]`]: undefined;
1019
1002
  [x: `bytes4[${string}]`]: undefined;
1020
- [x: `uint32[${string}]`]: undefined;
1021
1003
  [x: `bytes[${string}]`]: undefined;
1022
1004
  [x: `bytes6[${string}]`]: undefined;
1023
1005
  [x: `bytes10[${string}]`]: undefined;
@@ -1085,6 +1067,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
1085
1067
  [x: `uint[${string}]`]: undefined;
1086
1068
  [x: `uint16[${string}]`]: undefined;
1087
1069
  [x: `uint24[${string}]`]: undefined;
1070
+ [x: `uint32[${string}]`]: undefined;
1088
1071
  [x: `uint40[${string}]`]: undefined;
1089
1072
  [x: `uint48[${string}]`]: undefined;
1090
1073
  [x: `uint56[${string}]`]: undefined;
@@ -1119,7 +1102,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
1119
1102
  uint8?: undefined;
1120
1103
  bool?: undefined;
1121
1104
  bytes4?: undefined;
1122
- uint32?: undefined;
1123
1105
  bytes?: undefined;
1124
1106
  bytes6?: undefined;
1125
1107
  bytes10?: undefined;
@@ -1185,6 +1167,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
1185
1167
  int256?: undefined;
1186
1168
  uint16?: undefined;
1187
1169
  uint24?: undefined;
1170
+ uint32?: undefined;
1188
1171
  uint40?: undefined;
1189
1172
  uint48?: undefined;
1190
1173
  uint56?: undefined;
@@ -8334,7 +8317,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8334
8317
  [x: `uint8[${string}]`]: undefined;
8335
8318
  [x: `bool[${string}]`]: undefined;
8336
8319
  [x: `bytes4[${string}]`]: undefined;
8337
- [x: `uint32[${string}]`]: undefined;
8338
8320
  [x: `bytes[${string}]`]: undefined;
8339
8321
  [x: `bytes6[${string}]`]: undefined;
8340
8322
  [x: `bytes10[${string}]`]: undefined;
@@ -8402,6 +8384,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
8402
8384
  [x: `uint[${string}]`]: undefined;
8403
8385
  [x: `uint16[${string}]`]: undefined;
8404
8386
  [x: `uint24[${string}]`]: undefined;
8387
+ [x: `uint32[${string}]`]: undefined;
8405
8388
  [x: `uint40[${string}]`]: undefined;
8406
8389
  [x: `uint48[${string}]`]: undefined;
8407
8390
  [x: `uint56[${string}]`]: undefined;
@@ -8436,7 +8419,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8436
8419
  uint8?: undefined;
8437
8420
  bool?: undefined;
8438
8421
  bytes4?: undefined;
8439
- uint32?: undefined;
8440
8422
  bytes?: undefined;
8441
8423
  bytes6?: undefined;
8442
8424
  bytes10?: undefined;
@@ -8502,6 +8484,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
8502
8484
  int256?: undefined;
8503
8485
  uint16?: undefined;
8504
8486
  uint24?: undefined;
8487
+ uint32?: undefined;
8505
8488
  uint40?: undefined;
8506
8489
  uint48?: undefined;
8507
8490
  uint56?: undefined;
@@ -8789,7 +8772,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8789
8772
  [x: `uint8[${string}]`]: undefined;
8790
8773
  [x: `bool[${string}]`]: undefined;
8791
8774
  [x: `bytes4[${string}]`]: undefined;
8792
- [x: `uint32[${string}]`]: undefined;
8793
8775
  [x: `bytes[${string}]`]: undefined;
8794
8776
  [x: `bytes6[${string}]`]: undefined;
8795
8777
  [x: `bytes10[${string}]`]: undefined;
@@ -8857,6 +8839,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
8857
8839
  [x: `uint[${string}]`]: undefined;
8858
8840
  [x: `uint16[${string}]`]: undefined;
8859
8841
  [x: `uint24[${string}]`]: undefined;
8842
+ [x: `uint32[${string}]`]: undefined;
8860
8843
  [x: `uint40[${string}]`]: undefined;
8861
8844
  [x: `uint48[${string}]`]: undefined;
8862
8845
  [x: `uint56[${string}]`]: undefined;
@@ -8891,7 +8874,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
8891
8874
  uint8?: undefined;
8892
8875
  bool?: undefined;
8893
8876
  bytes4?: undefined;
8894
- uint32?: undefined;
8895
8877
  bytes?: undefined;
8896
8878
  bytes6?: undefined;
8897
8879
  bytes10?: undefined;
@@ -8957,6 +8939,7 @@ declare class AcpContractClient extends BaseAcpContractClient {
8957
8939
  int256?: undefined;
8958
8940
  uint16?: undefined;
8959
8941
  uint24?: undefined;
8942
+ uint32?: undefined;
8960
8943
  uint40?: undefined;
8961
8944
  uint48?: undefined;
8962
8945
  uint56?: undefined;
@@ -9005,7 +8988,6 @@ declare class AcpContractClient extends BaseAcpContractClient {
9005
8988
  updateJobX402Nonce(jobId: number, nonce: string): Promise<OffChainJob>;
9006
8989
  generateX402Payment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
9007
8990
  performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
9008
- getAssetManager(): Promise<Address$1>;
9009
8991
  getAcpVersion(): string;
9010
8992
  }
9011
8993
 
@@ -9023,8 +9005,8 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9023
9005
  private MAX_FEE_PER_GAS;
9024
9006
  private MAX_PRIORITY_FEE_PER_GAS;
9025
9007
  private GAS_FEE_MULTIPLIER;
9008
+ private RETRY_CONFIG;
9026
9009
  private _sessionKeyClient;
9027
- private _sessionKeyClients;
9028
9010
  private _acpX402;
9029
9011
  constructor(jobManagerAddress: Address$1, memoManagerAddress: Address$1, accountManagerAddress: Address$1, agentWalletAddress: Address$1, config?: AcpContractConfig);
9030
9012
  static build(walletPrivateKey: Address$1, sessionEntityKeyId: number, agentWalletAddress: Address$1, config?: AcpContractConfig): Promise<AcpContractClientV2>;
@@ -9304,7 +9286,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9304
9286
  [x: `uint8[${string}]`]: undefined;
9305
9287
  [x: `bool[${string}]`]: undefined;
9306
9288
  [x: `bytes4[${string}]`]: undefined;
9307
- [x: `uint32[${string}]`]: undefined;
9308
9289
  [x: `bytes[${string}]`]: undefined;
9309
9290
  [x: `bytes6[${string}]`]: undefined;
9310
9291
  [x: `bytes10[${string}]`]: undefined;
@@ -9372,6 +9353,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9372
9353
  [x: `uint[${string}]`]: undefined;
9373
9354
  [x: `uint16[${string}]`]: undefined;
9374
9355
  [x: `uint24[${string}]`]: undefined;
9356
+ [x: `uint32[${string}]`]: undefined;
9375
9357
  [x: `uint40[${string}]`]: undefined;
9376
9358
  [x: `uint48[${string}]`]: undefined;
9377
9359
  [x: `uint56[${string}]`]: undefined;
@@ -9406,7 +9388,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9406
9388
  uint8?: undefined;
9407
9389
  bool?: undefined;
9408
9390
  bytes4?: undefined;
9409
- uint32?: undefined;
9410
9391
  bytes?: undefined;
9411
9392
  bytes6?: undefined;
9412
9393
  bytes10?: undefined;
@@ -9472,6 +9453,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
9472
9453
  int256?: undefined;
9473
9454
  uint16?: undefined;
9474
9455
  uint24?: undefined;
9456
+ uint32?: undefined;
9475
9457
  uint40?: undefined;
9476
9458
  uint48?: undefined;
9477
9459
  uint56?: undefined;
@@ -16621,7 +16603,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16621
16603
  [x: `uint8[${string}]`]: undefined;
16622
16604
  [x: `bool[${string}]`]: undefined;
16623
16605
  [x: `bytes4[${string}]`]: undefined;
16624
- [x: `uint32[${string}]`]: undefined;
16625
16606
  [x: `bytes[${string}]`]: undefined;
16626
16607
  [x: `bytes6[${string}]`]: undefined;
16627
16608
  [x: `bytes10[${string}]`]: undefined;
@@ -16689,6 +16670,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16689
16670
  [x: `uint[${string}]`]: undefined;
16690
16671
  [x: `uint16[${string}]`]: undefined;
16691
16672
  [x: `uint24[${string}]`]: undefined;
16673
+ [x: `uint32[${string}]`]: undefined;
16692
16674
  [x: `uint40[${string}]`]: undefined;
16693
16675
  [x: `uint48[${string}]`]: undefined;
16694
16676
  [x: `uint56[${string}]`]: undefined;
@@ -16723,7 +16705,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16723
16705
  uint8?: undefined;
16724
16706
  bool?: undefined;
16725
16707
  bytes4?: undefined;
16726
- uint32?: undefined;
16727
16708
  bytes?: undefined;
16728
16709
  bytes6?: undefined;
16729
16710
  bytes10?: undefined;
@@ -16789,6 +16770,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
16789
16770
  int256?: undefined;
16790
16771
  uint16?: undefined;
16791
16772
  uint24?: undefined;
16773
+ uint32?: undefined;
16792
16774
  uint40?: undefined;
16793
16775
  uint48?: undefined;
16794
16776
  uint56?: undefined;
@@ -17076,7 +17058,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17076
17058
  [x: `uint8[${string}]`]: undefined;
17077
17059
  [x: `bool[${string}]`]: undefined;
17078
17060
  [x: `bytes4[${string}]`]: undefined;
17079
- [x: `uint32[${string}]`]: undefined;
17080
17061
  [x: `bytes[${string}]`]: undefined;
17081
17062
  [x: `bytes6[${string}]`]: undefined;
17082
17063
  [x: `bytes10[${string}]`]: undefined;
@@ -17144,6 +17125,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17144
17125
  [x: `uint[${string}]`]: undefined;
17145
17126
  [x: `uint16[${string}]`]: undefined;
17146
17127
  [x: `uint24[${string}]`]: undefined;
17128
+ [x: `uint32[${string}]`]: undefined;
17147
17129
  [x: `uint40[${string}]`]: undefined;
17148
17130
  [x: `uint48[${string}]`]: undefined;
17149
17131
  [x: `uint56[${string}]`]: undefined;
@@ -17178,7 +17160,6 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17178
17160
  uint8?: undefined;
17179
17161
  bool?: undefined;
17180
17162
  bytes4?: undefined;
17181
- uint32?: undefined;
17182
17163
  bytes?: undefined;
17183
17164
  bytes6?: undefined;
17184
17165
  bytes10?: undefined;
@@ -17244,6 +17225,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17244
17225
  int256?: undefined;
17245
17226
  uint16?: undefined;
17246
17227
  uint24?: undefined;
17228
+ uint32?: undefined;
17247
17229
  uint40?: undefined;
17248
17230
  uint48?: undefined;
17249
17231
  uint56?: undefined;
@@ -17279,7 +17261,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17279
17261
  };
17280
17262
  get acpX402(): AcpX402;
17281
17263
  private calculateGasFees;
17282
- handleOperation(operations: OperationPayload[], chainId?: number): Promise<{
17264
+ handleOperation(operations: OperationPayload[]): Promise<{
17283
17265
  userOpHash: Address$1;
17284
17266
  txnHash: Address$1;
17285
17267
  }>;
@@ -17288,8 +17270,7 @@ declare class AcpContractClientV2 extends BaseAcpContractClient {
17288
17270
  generateX402Payment(payableRequest: X402PayableRequest, requirements: X402PayableRequirements): Promise<X402Payment>;
17289
17271
  performX402Request(url: string, version: string, budget?: string, signature?: string): Promise<X402PaymentResponse>;
17290
17272
  getX402PaymentDetails(jobId: number): Promise<IAcpJobX402PaymentDetails>;
17291
- getAssetManager(): Promise<Address$1>;
17292
17273
  getAcpVersion(): string;
17293
17274
  }
17294
17275
 
17295
- export { ACP_ABI, AcpAgentSort, AcpContractClient, AcpContractClientV2, AcpContractConfig, AcpError, AcpGraduationStatus, AcpJob, AcpJobPhases, AcpMemo, AcpMemoState, AcpMemoStatus, AcpOnlineStatus, BaseAcpContractClient, type ClosePositionPayload, type DeliverablePayload, Fare, FareAmount, FareBigInt, type FundResponsePayload, type IDeliverable, MemoType, type OpenPositionPayload, PayloadType, PositionDirection, type RequestClosePositionPayload, type ResponseSwapTokenPayload, type SwapTokenPayload, baseAcpConfig, baseAcpConfigV2, baseAcpX402Config, baseAcpX402ConfigV2, baseSepoliaAcpConfig, baseSepoliaAcpConfigV2, baseSepoliaAcpX402ConfigV2, AcpClient as default, ethFare, preparePayload, wethFare };
17276
+ export { ACP_ABI, AcpAgentSort, AcpContractClient, AcpContractClientV2, AcpContractConfig, AcpError, AcpGraduationStatus, AcpJob, AcpJobPhases, AcpMemo, AcpMemoStatus, AcpOnlineStatus, BaseAcpContractClient, type ClosePositionPayload, type DeliverablePayload, Fare, FareAmount, FareBigInt, type FundResponsePayload, type IDeliverable, MemoType, type OpenPositionPayload, PayloadType, PositionDirection, type RequestClosePositionPayload, type ResponseSwapTokenPayload, type SwapTokenPayload, baseAcpConfig, baseAcpConfigV2, baseAcpX402Config, baseAcpX402ConfigV2, baseSepoliaAcpConfig, baseSepoliaAcpConfigV2, AcpClient as default, ethFare, preparePayload, wethFare };