@actalink/commonlib 0.0.14 → 0.0.16

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
@@ -5,6 +5,8 @@ import * as _zerodev_sdk_types from '@zerodev/sdk/types';
5
5
  import { KernelValidator, EntryPointType, GetKernelVersion, Action, PluginValidityData, Signer, KERNEL_VERSION_TYPE, ValidatorInitData } from '@zerodev/sdk/types';
6
6
  import * as viem_account_abstraction from 'viem/account-abstraction';
7
7
  import { EntryPointVersion, SmartAccount, RpcUserOperation, UserOperation } from 'viem/account-abstraction';
8
+ import * as abitype from 'abitype';
9
+ import * as viem_chains from 'viem/chains';
8
10
  import { Chain } from 'viem/chains';
9
11
  import * as permissionless from 'permissionless';
10
12
  import * as viem__types_account_abstraction_types_userOperation_js from 'viem/_types/account-abstraction/types/userOperation.js';
@@ -46,11 +48,11 @@ interface AbstractPaymentParams {
46
48
  walletClient: WalletClient | undefined;
47
49
  serviceType: "deposit" | "payroll" | "billing";
48
50
  signerAddress: Address | undefined;
49
- chainId: 1 | 42161 | 8453 | 59144 | 56 | 10 | 137;
51
+ chainId: 1 | 42161 | 8453 | 59144 | 56 | 10 | 137 | 80002 | 84532 | 11155111;
50
52
  token: "USDC" | "USDT" | "DAI" | "ETH" | "WETH" | "BNB" | "WBNB" | "USDCe" | "USDbC" | "EURC" | "POL" | "WPOL";
51
53
  amount: bigint;
52
54
  receiver: Address;
53
- feeInclusive: boolean;
55
+ feeInclusive?: boolean;
54
56
  paymentType: "single" | "recurring" | "choose";
55
57
  count?: number;
56
58
  intervalUnit?: "5mins" | "day" | "week" | "month" | "year";
@@ -67,7 +69,9 @@ interface BillingClassParams extends AbstractPaymentParams {
67
69
  interface BatchClassParams {
68
70
  APIKey: string;
69
71
  }
70
- type EstimateSinglePaymentGasParameters = Omit<AbstractPaymentParams, "connectorType" | "signer" | "walletClient" | "serviceType" | "paymentType" | "count" | "intervalUnit" | "startDate" | "endDate" | "serviceUrl" | "serviceParams" | "serviceSessionParams">;
72
+ type EstimateSinglePaymentGasParameters = Omit<AbstractPaymentParams, "connectorType" | "signer" | "walletClient" | "serviceType" | "paymentType" | "count" | "intervalUnit" | "startDate" | "endDate" | "serviceUrl" | "serviceParams" | "serviceSessionParams"> & {
73
+ feebps: 20 | 10 | 15;
74
+ };
71
75
  type EstimateSingleBatchPaymentGasParameters = Omit<AbstractPaymentParams, "connectorType" | "signer" | "serviceType" | "paymentType" | "count" | "intervalUnit" | "startDate" | "endDate" | "serviceUrl" | "serviceParams" | "serviceSessionParams" | "receiver" | "amount" | "token"> & {
72
76
  receivers: {
73
77
  address: Address;
@@ -75,6 +79,7 @@ type EstimateSingleBatchPaymentGasParameters = Omit<AbstractPaymentParams, "conn
75
79
  }[];
76
80
  token: "USDC" | "USDT";
77
81
  totalAmount: bigint;
82
+ feebps: 20 | 10 | 15;
78
83
  };
79
84
  type CalculateSingleBatchPaymentGasParameters = Omit<AbstractPaymentParams, "connectorType" | "signer" | "serviceType" | "paymentType" | "count" | "intervalUnit" | "startDate" | "endDate" | "serviceUrl" | "serviceParams" | "serviceSessionParams" | "receiver" | "amount" | "receivers" | "token"> & {
80
85
  token: "USDC" | "USDT";
@@ -140,6 +145,7 @@ type PermissionAccountParams = {
140
145
  };
141
146
  type SinglePaymentParamsType = Omit<AbstractPaymentParams, "connectorType" | "signer" | "walletClient" | "serviceType" | "serviceUrl" | "serviceSessionParams" | "count" | "intervalUnit" | "startDate" | "endDate" | "paymentType"> & {
142
147
  allowMaxTokenApproval?: boolean;
148
+ feebps: 20 | 10 | 15;
143
149
  };
144
150
  type SingleBatchPaymentParamsType = Omit<AbstractPaymentParams, "connectorType" | "signer" | "serviceType" | "serviceUrl" | "serviceSessionParams" | "count" | "intervalUnit" | "startDate" | "endDate" | "paymentType" | "receiver" | "amount" | "token"> & {
145
151
  allowMaxTokenApproval?: boolean;
@@ -149,15 +155,24 @@ type SingleBatchPaymentParamsType = Omit<AbstractPaymentParams, "connectorType"
149
155
  }[];
150
156
  token: "USDC" | "USDT";
151
157
  totalAmount: bigint;
158
+ feebps: 20 | 10 | 15;
159
+ };
160
+ type ScheduleOrRecurringBatchPaymentParamsType = SingleBatchPaymentParamsType & {
161
+ count: number;
162
+ feebps: 20 | 10 | 15;
152
163
  };
153
164
  type SingleBatchPaymentClassParamsType = Omit<AbstractPaymentParams, "connectorType" | "signer" | "serviceType" | "serviceUrl" | "serviceSessionParams" | "count" | "intervalUnit" | "startDate" | "endDate" | "paymentType" | "receiver" | "amount" | "token"> & {
154
165
  allowMaxTokenApproval?: boolean;
155
166
  token: "USDC" | "USDT";
156
167
  instructionId: string;
157
168
  };
169
+ type ScheduleBatchPaymentClassParamsType = SingleBatchPaymentClassParamsType & {
170
+ executionTime: number;
171
+ };
158
172
  type RecurringPaymentParamsType = Omit<AbstractPaymentParams, "connectorType" | "signer" | "walletClient" | "serviceType" | "paymentType" | "serviceUrl" | "serviceSessionParams"> & {
159
173
  endDate?: number;
160
174
  allowMaxTokenApproval?: boolean;
175
+ feebps: 20 | 10 | 15;
161
176
  };
162
177
 
163
178
  declare const arbitrumETH: Token;
@@ -218,6 +233,1134 @@ declare const tokensCommonSymbols: string[];
218
233
  declare function getTokenByChainIdAndAddress(chainId: number, address: Address): Token | undefined;
219
234
 
220
235
  declare const supportedChains: Chain[];
236
+ declare const mainnetChains: ({
237
+ blockExplorers: {
238
+ readonly default: {
239
+ readonly name: "Arbiscan";
240
+ readonly url: "https://arbiscan.io";
241
+ readonly apiUrl: "https://api.arbiscan.io/api";
242
+ };
243
+ };
244
+ contracts: {
245
+ readonly multicall3: {
246
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
247
+ readonly blockCreated: 7654707;
248
+ };
249
+ };
250
+ ensTlds?: readonly string[] | undefined;
251
+ id: 42161;
252
+ name: "Arbitrum One";
253
+ nativeCurrency: {
254
+ readonly name: "Ether";
255
+ readonly symbol: "ETH";
256
+ readonly decimals: 18;
257
+ };
258
+ rpcUrls: {
259
+ readonly default: {
260
+ readonly http: readonly ["https://arb1.arbitrum.io/rpc"];
261
+ };
262
+ };
263
+ sourceId?: number | undefined | undefined;
264
+ testnet?: boolean | undefined | undefined;
265
+ custom?: Record<string, unknown> | undefined;
266
+ fees?: viem.ChainFees<undefined> | undefined;
267
+ formatters?: undefined;
268
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
269
+ } | {
270
+ blockExplorers: {
271
+ readonly default: {
272
+ readonly name: "Basescan";
273
+ readonly url: "https://basescan.org";
274
+ readonly apiUrl: "https://api.basescan.org/api";
275
+ };
276
+ };
277
+ contracts: {
278
+ readonly disputeGameFactory: {
279
+ readonly 1: {
280
+ readonly address: "0x43edB88C4B80fDD2AdFF2412A7BebF9dF42cB40e";
281
+ };
282
+ };
283
+ readonly l2OutputOracle: {
284
+ readonly 1: {
285
+ readonly address: "0x56315b90c40730925ec5485cf004d835058518A0";
286
+ };
287
+ };
288
+ readonly multicall3: {
289
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
290
+ readonly blockCreated: 5022;
291
+ };
292
+ readonly portal: {
293
+ readonly 1: {
294
+ readonly address: "0x49048044D57e1C92A77f79988d21Fa8fAF74E97e";
295
+ readonly blockCreated: 17482143;
296
+ };
297
+ };
298
+ readonly l1StandardBridge: {
299
+ readonly 1: {
300
+ readonly address: "0x3154Cf16ccdb4C6d922629664174b904d80F2C35";
301
+ readonly blockCreated: 17482143;
302
+ };
303
+ };
304
+ readonly gasPriceOracle: {
305
+ readonly address: "0x420000000000000000000000000000000000000F";
306
+ };
307
+ readonly l1Block: {
308
+ readonly address: "0x4200000000000000000000000000000000000015";
309
+ };
310
+ readonly l2CrossDomainMessenger: {
311
+ readonly address: "0x4200000000000000000000000000000000000007";
312
+ };
313
+ readonly l2Erc721Bridge: {
314
+ readonly address: "0x4200000000000000000000000000000000000014";
315
+ };
316
+ readonly l2StandardBridge: {
317
+ readonly address: "0x4200000000000000000000000000000000000010";
318
+ };
319
+ readonly l2ToL1MessagePasser: {
320
+ readonly address: "0x4200000000000000000000000000000000000016";
321
+ };
322
+ };
323
+ ensTlds?: readonly string[] | undefined;
324
+ id: 8453;
325
+ name: "Base";
326
+ nativeCurrency: {
327
+ readonly name: "Ether";
328
+ readonly symbol: "ETH";
329
+ readonly decimals: 18;
330
+ };
331
+ rpcUrls: {
332
+ readonly default: {
333
+ readonly http: readonly ["https://mainnet.base.org"];
334
+ };
335
+ };
336
+ sourceId: 1;
337
+ testnet?: boolean | undefined | undefined;
338
+ custom?: Record<string, unknown> | undefined;
339
+ fees?: viem.ChainFees<undefined> | undefined;
340
+ formatters: {
341
+ readonly block: {
342
+ exclude: [] | undefined;
343
+ format: (args: viem_chains.OpStackRpcBlock) => {
344
+ baseFeePerGas: bigint | null;
345
+ blobGasUsed: bigint;
346
+ difficulty: bigint;
347
+ excessBlobGas: bigint;
348
+ extraData: viem.Hex;
349
+ gasLimit: bigint;
350
+ gasUsed: bigint;
351
+ hash: `0x${string}` | null;
352
+ logsBloom: `0x${string}` | null;
353
+ miner: abitype.Address;
354
+ mixHash: viem.Hash;
355
+ nonce: `0x${string}` | null;
356
+ number: bigint | null;
357
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
358
+ parentHash: viem.Hash;
359
+ receiptsRoot: viem.Hex;
360
+ sealFields: viem.Hex[];
361
+ sha3Uncles: viem.Hash;
362
+ size: bigint;
363
+ stateRoot: viem.Hash;
364
+ timestamp: bigint;
365
+ totalDifficulty: bigint | null;
366
+ transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
367
+ transactionsRoot: viem.Hash;
368
+ uncles: viem.Hash[];
369
+ withdrawals?: viem.Withdrawal[] | undefined | undefined;
370
+ withdrawalsRoot?: `0x${string}` | undefined;
371
+ } & {};
372
+ type: "block";
373
+ };
374
+ readonly transaction: {
375
+ exclude: [] | undefined;
376
+ format: (args: viem_chains.OpStackRpcTransaction) => ({
377
+ blockHash: `0x${string}` | null;
378
+ blockNumber: bigint | null;
379
+ from: abitype.Address;
380
+ gas: bigint;
381
+ hash: viem.Hash;
382
+ input: viem.Hex;
383
+ nonce: number;
384
+ r: viem.Hex;
385
+ s: viem.Hex;
386
+ to: abitype.Address | null;
387
+ transactionIndex: number | null;
388
+ typeHex: viem.Hex | null;
389
+ v: bigint;
390
+ value: bigint;
391
+ yParity: number;
392
+ gasPrice?: undefined | undefined;
393
+ maxFeePerBlobGas?: undefined | undefined;
394
+ maxFeePerGas: bigint;
395
+ maxPriorityFeePerGas: bigint;
396
+ isSystemTx?: boolean;
397
+ mint?: bigint | undefined | undefined;
398
+ sourceHash: viem.Hex;
399
+ type: "deposit";
400
+ } | {
401
+ r: viem.Hex;
402
+ s: viem.Hex;
403
+ v: bigint;
404
+ to: abitype.Address | null;
405
+ from: abitype.Address;
406
+ gas: bigint;
407
+ nonce: number;
408
+ value: bigint;
409
+ blockHash: `0x${string}` | null;
410
+ blockNumber: bigint | null;
411
+ hash: viem.Hash;
412
+ input: viem.Hex;
413
+ transactionIndex: number | null;
414
+ typeHex: viem.Hex | null;
415
+ accessList?: undefined | undefined;
416
+ authorizationList?: undefined | undefined;
417
+ blobVersionedHashes?: undefined | undefined;
418
+ chainId?: number | undefined;
419
+ yParity?: undefined | undefined;
420
+ type: "legacy";
421
+ gasPrice: bigint;
422
+ maxFeePerBlobGas?: undefined | undefined;
423
+ maxFeePerGas?: undefined | undefined;
424
+ maxPriorityFeePerGas?: undefined | undefined;
425
+ isSystemTx?: undefined | undefined;
426
+ mint?: undefined | undefined;
427
+ sourceHash?: undefined | undefined;
428
+ } | {
429
+ blockHash: `0x${string}` | null;
430
+ blockNumber: bigint | null;
431
+ from: abitype.Address;
432
+ gas: bigint;
433
+ hash: viem.Hash;
434
+ input: viem.Hex;
435
+ nonce: number;
436
+ r: viem.Hex;
437
+ s: viem.Hex;
438
+ to: abitype.Address | null;
439
+ transactionIndex: number | null;
440
+ typeHex: viem.Hex | null;
441
+ v: bigint;
442
+ value: bigint;
443
+ yParity: number;
444
+ accessList: viem.AccessList;
445
+ authorizationList?: undefined | undefined;
446
+ blobVersionedHashes?: undefined | undefined;
447
+ chainId: number;
448
+ type: "eip2930";
449
+ gasPrice: bigint;
450
+ maxFeePerBlobGas?: undefined | undefined;
451
+ maxFeePerGas?: undefined | undefined;
452
+ maxPriorityFeePerGas?: undefined | undefined;
453
+ isSystemTx?: undefined | undefined;
454
+ mint?: undefined | undefined;
455
+ sourceHash?: undefined | undefined;
456
+ } | {
457
+ blockHash: `0x${string}` | null;
458
+ blockNumber: bigint | null;
459
+ from: abitype.Address;
460
+ gas: bigint;
461
+ hash: viem.Hash;
462
+ input: viem.Hex;
463
+ nonce: number;
464
+ r: viem.Hex;
465
+ s: viem.Hex;
466
+ to: abitype.Address | null;
467
+ transactionIndex: number | null;
468
+ typeHex: viem.Hex | null;
469
+ v: bigint;
470
+ value: bigint;
471
+ yParity: number;
472
+ accessList: viem.AccessList;
473
+ authorizationList?: undefined | undefined;
474
+ blobVersionedHashes?: undefined | undefined;
475
+ chainId: number;
476
+ type: "eip1559";
477
+ gasPrice?: undefined | undefined;
478
+ maxFeePerBlobGas?: undefined | undefined;
479
+ maxFeePerGas: bigint;
480
+ maxPriorityFeePerGas: bigint;
481
+ isSystemTx?: undefined | undefined;
482
+ mint?: undefined | undefined;
483
+ sourceHash?: undefined | undefined;
484
+ } | {
485
+ blockHash: `0x${string}` | null;
486
+ blockNumber: bigint | null;
487
+ from: abitype.Address;
488
+ gas: bigint;
489
+ hash: viem.Hash;
490
+ input: viem.Hex;
491
+ nonce: number;
492
+ r: viem.Hex;
493
+ s: viem.Hex;
494
+ to: abitype.Address | null;
495
+ transactionIndex: number | null;
496
+ typeHex: viem.Hex | null;
497
+ v: bigint;
498
+ value: bigint;
499
+ yParity: number;
500
+ accessList: viem.AccessList;
501
+ authorizationList?: undefined | undefined;
502
+ blobVersionedHashes: readonly viem.Hex[];
503
+ chainId: number;
504
+ type: "eip4844";
505
+ gasPrice?: undefined | undefined;
506
+ maxFeePerBlobGas: bigint;
507
+ maxFeePerGas: bigint;
508
+ maxPriorityFeePerGas: bigint;
509
+ isSystemTx?: undefined | undefined;
510
+ mint?: undefined | undefined;
511
+ sourceHash?: undefined | undefined;
512
+ } | {
513
+ blockHash: `0x${string}` | null;
514
+ blockNumber: bigint | null;
515
+ from: abitype.Address;
516
+ gas: bigint;
517
+ hash: viem.Hash;
518
+ input: viem.Hex;
519
+ nonce: number;
520
+ r: viem.Hex;
521
+ s: viem.Hex;
522
+ to: abitype.Address | null;
523
+ transactionIndex: number | null;
524
+ typeHex: viem.Hex | null;
525
+ v: bigint;
526
+ value: bigint;
527
+ yParity: number;
528
+ accessList: viem.AccessList;
529
+ authorizationList: viem.SignedAuthorizationList;
530
+ blobVersionedHashes?: undefined | undefined;
531
+ chainId: number;
532
+ type: "eip7702";
533
+ gasPrice?: undefined | undefined;
534
+ maxFeePerBlobGas?: undefined | undefined;
535
+ maxFeePerGas: bigint;
536
+ maxPriorityFeePerGas: bigint;
537
+ isSystemTx?: undefined | undefined;
538
+ mint?: undefined | undefined;
539
+ sourceHash?: undefined | undefined;
540
+ }) & {};
541
+ type: "transaction";
542
+ };
543
+ readonly transactionReceipt: {
544
+ exclude: [] | undefined;
545
+ format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
546
+ blobGasPrice?: bigint | undefined;
547
+ blobGasUsed?: bigint | undefined;
548
+ blockHash: viem.Hash;
549
+ blockNumber: bigint;
550
+ contractAddress: abitype.Address | null | undefined;
551
+ cumulativeGasUsed: bigint;
552
+ effectiveGasPrice: bigint;
553
+ from: abitype.Address;
554
+ gasUsed: bigint;
555
+ logs: viem.Log<bigint, number, false>[];
556
+ logsBloom: viem.Hex;
557
+ root?: `0x${string}` | undefined;
558
+ status: "success" | "reverted";
559
+ to: abitype.Address | null;
560
+ transactionHash: viem.Hash;
561
+ transactionIndex: number;
562
+ type: viem.TransactionType;
563
+ l1GasPrice: bigint | null;
564
+ l1GasUsed: bigint | null;
565
+ l1Fee: bigint | null;
566
+ l1FeeScalar: number | null;
567
+ } & {};
568
+ type: "transactionReceipt";
569
+ };
570
+ };
571
+ serializers: {
572
+ readonly transaction: typeof viem_chains.serializeTransactionOpStack;
573
+ };
574
+ } | {
575
+ blockExplorers: {
576
+ readonly default: {
577
+ readonly name: "BscScan";
578
+ readonly url: "https://bscscan.com";
579
+ readonly apiUrl: "https://api.bscscan.com/api";
580
+ };
581
+ };
582
+ contracts: {
583
+ readonly multicall3: {
584
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
585
+ readonly blockCreated: 15921452;
586
+ };
587
+ };
588
+ ensTlds?: readonly string[] | undefined;
589
+ id: 56;
590
+ name: "BNB Smart Chain";
591
+ nativeCurrency: {
592
+ readonly decimals: 18;
593
+ readonly name: "BNB";
594
+ readonly symbol: "BNB";
595
+ };
596
+ rpcUrls: {
597
+ readonly default: {
598
+ readonly http: readonly ["https://56.rpc.thirdweb.com"];
599
+ };
600
+ };
601
+ sourceId?: number | undefined | undefined;
602
+ testnet?: boolean | undefined | undefined;
603
+ custom?: Record<string, unknown> | undefined;
604
+ fees?: viem.ChainFees<undefined> | undefined;
605
+ formatters?: undefined;
606
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
607
+ } | {
608
+ blockExplorers: {
609
+ readonly default: {
610
+ readonly name: "Etherscan";
611
+ readonly url: "https://etherscan.io";
612
+ readonly apiUrl: "https://api.etherscan.io/api";
613
+ };
614
+ };
615
+ contracts: {
616
+ readonly ensRegistry: {
617
+ readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
618
+ };
619
+ readonly ensUniversalResolver: {
620
+ readonly address: "0xce01f8eee7E479C928F8919abD53E553a36CeF67";
621
+ readonly blockCreated: 19258213;
622
+ };
623
+ readonly multicall3: {
624
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
625
+ readonly blockCreated: 14353601;
626
+ };
627
+ };
628
+ ensTlds?: readonly string[] | undefined;
629
+ id: 1;
630
+ name: "Ethereum";
631
+ nativeCurrency: {
632
+ readonly name: "Ether";
633
+ readonly symbol: "ETH";
634
+ readonly decimals: 18;
635
+ };
636
+ rpcUrls: {
637
+ readonly default: {
638
+ readonly http: readonly ["https://eth.merkle.io"];
639
+ };
640
+ };
641
+ sourceId?: number | undefined | undefined;
642
+ testnet?: boolean | undefined | undefined;
643
+ custom?: Record<string, unknown> | undefined;
644
+ fees?: viem.ChainFees<undefined> | undefined;
645
+ formatters?: undefined;
646
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
647
+ } | {
648
+ blockExplorers: {
649
+ readonly default: {
650
+ readonly name: "Optimism Explorer";
651
+ readonly url: "https://optimistic.etherscan.io";
652
+ readonly apiUrl: "https://api-optimistic.etherscan.io/api";
653
+ };
654
+ };
655
+ contracts: {
656
+ readonly disputeGameFactory: {
657
+ readonly 1: {
658
+ readonly address: "0xe5965Ab5962eDc7477C8520243A95517CD252fA9";
659
+ };
660
+ };
661
+ readonly l2OutputOracle: {
662
+ readonly 1: {
663
+ readonly address: "0xdfe97868233d1aa22e815a266982f2cf17685a27";
664
+ };
665
+ };
666
+ readonly multicall3: {
667
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
668
+ readonly blockCreated: 4286263;
669
+ };
670
+ readonly portal: {
671
+ readonly 1: {
672
+ readonly address: "0xbEb5Fc579115071764c7423A4f12eDde41f106Ed";
673
+ };
674
+ };
675
+ readonly l1StandardBridge: {
676
+ readonly 1: {
677
+ readonly address: "0x99C9fc46f92E8a1c0deC1b1747d010903E884bE1";
678
+ };
679
+ };
680
+ readonly gasPriceOracle: {
681
+ readonly address: "0x420000000000000000000000000000000000000F";
682
+ };
683
+ readonly l1Block: {
684
+ readonly address: "0x4200000000000000000000000000000000000015";
685
+ };
686
+ readonly l2CrossDomainMessenger: {
687
+ readonly address: "0x4200000000000000000000000000000000000007";
688
+ };
689
+ readonly l2Erc721Bridge: {
690
+ readonly address: "0x4200000000000000000000000000000000000014";
691
+ };
692
+ readonly l2StandardBridge: {
693
+ readonly address: "0x4200000000000000000000000000000000000010";
694
+ };
695
+ readonly l2ToL1MessagePasser: {
696
+ readonly address: "0x4200000000000000000000000000000000000016";
697
+ };
698
+ };
699
+ ensTlds?: readonly string[] | undefined;
700
+ id: 10;
701
+ name: "OP Mainnet";
702
+ nativeCurrency: {
703
+ readonly name: "Ether";
704
+ readonly symbol: "ETH";
705
+ readonly decimals: 18;
706
+ };
707
+ rpcUrls: {
708
+ readonly default: {
709
+ readonly http: readonly ["https://mainnet.optimism.io"];
710
+ };
711
+ };
712
+ sourceId: 1;
713
+ testnet?: boolean | undefined | undefined;
714
+ custom?: Record<string, unknown> | undefined;
715
+ fees?: viem.ChainFees<undefined> | undefined;
716
+ formatters: {
717
+ readonly block: {
718
+ exclude: [] | undefined;
719
+ format: (args: viem_chains.OpStackRpcBlock) => {
720
+ baseFeePerGas: bigint | null;
721
+ blobGasUsed: bigint;
722
+ difficulty: bigint;
723
+ excessBlobGas: bigint;
724
+ extraData: viem.Hex;
725
+ gasLimit: bigint;
726
+ gasUsed: bigint;
727
+ hash: `0x${string}` | null;
728
+ logsBloom: `0x${string}` | null;
729
+ miner: abitype.Address;
730
+ mixHash: viem.Hash;
731
+ nonce: `0x${string}` | null;
732
+ number: bigint | null;
733
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
734
+ parentHash: viem.Hash;
735
+ receiptsRoot: viem.Hex;
736
+ sealFields: viem.Hex[];
737
+ sha3Uncles: viem.Hash;
738
+ size: bigint;
739
+ stateRoot: viem.Hash;
740
+ timestamp: bigint;
741
+ totalDifficulty: bigint | null;
742
+ transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
743
+ transactionsRoot: viem.Hash;
744
+ uncles: viem.Hash[];
745
+ withdrawals?: viem.Withdrawal[] | undefined | undefined;
746
+ withdrawalsRoot?: `0x${string}` | undefined;
747
+ } & {};
748
+ type: "block";
749
+ };
750
+ readonly transaction: {
751
+ exclude: [] | undefined;
752
+ format: (args: viem_chains.OpStackRpcTransaction) => ({
753
+ blockHash: `0x${string}` | null;
754
+ blockNumber: bigint | null;
755
+ from: abitype.Address;
756
+ gas: bigint;
757
+ hash: viem.Hash;
758
+ input: viem.Hex;
759
+ nonce: number;
760
+ r: viem.Hex;
761
+ s: viem.Hex;
762
+ to: abitype.Address | null;
763
+ transactionIndex: number | null;
764
+ typeHex: viem.Hex | null;
765
+ v: bigint;
766
+ value: bigint;
767
+ yParity: number;
768
+ gasPrice?: undefined | undefined;
769
+ maxFeePerBlobGas?: undefined | undefined;
770
+ maxFeePerGas: bigint;
771
+ maxPriorityFeePerGas: bigint;
772
+ isSystemTx?: boolean;
773
+ mint?: bigint | undefined | undefined;
774
+ sourceHash: viem.Hex;
775
+ type: "deposit";
776
+ } | {
777
+ r: viem.Hex;
778
+ s: viem.Hex;
779
+ v: bigint;
780
+ to: abitype.Address | null;
781
+ from: abitype.Address;
782
+ gas: bigint;
783
+ nonce: number;
784
+ value: bigint;
785
+ blockHash: `0x${string}` | null;
786
+ blockNumber: bigint | null;
787
+ hash: viem.Hash;
788
+ input: viem.Hex;
789
+ transactionIndex: number | null;
790
+ typeHex: viem.Hex | null;
791
+ accessList?: undefined | undefined;
792
+ authorizationList?: undefined | undefined;
793
+ blobVersionedHashes?: undefined | undefined;
794
+ chainId?: number | undefined;
795
+ yParity?: undefined | undefined;
796
+ type: "legacy";
797
+ gasPrice: bigint;
798
+ maxFeePerBlobGas?: undefined | undefined;
799
+ maxFeePerGas?: undefined | undefined;
800
+ maxPriorityFeePerGas?: undefined | undefined;
801
+ isSystemTx?: undefined | undefined;
802
+ mint?: undefined | undefined;
803
+ sourceHash?: undefined | undefined;
804
+ } | {
805
+ blockHash: `0x${string}` | null;
806
+ blockNumber: bigint | null;
807
+ from: abitype.Address;
808
+ gas: bigint;
809
+ hash: viem.Hash;
810
+ input: viem.Hex;
811
+ nonce: number;
812
+ r: viem.Hex;
813
+ s: viem.Hex;
814
+ to: abitype.Address | null;
815
+ transactionIndex: number | null;
816
+ typeHex: viem.Hex | null;
817
+ v: bigint;
818
+ value: bigint;
819
+ yParity: number;
820
+ accessList: viem.AccessList;
821
+ authorizationList?: undefined | undefined;
822
+ blobVersionedHashes?: undefined | undefined;
823
+ chainId: number;
824
+ type: "eip2930";
825
+ gasPrice: bigint;
826
+ maxFeePerBlobGas?: undefined | undefined;
827
+ maxFeePerGas?: undefined | undefined;
828
+ maxPriorityFeePerGas?: undefined | undefined;
829
+ isSystemTx?: undefined | undefined;
830
+ mint?: undefined | undefined;
831
+ sourceHash?: undefined | undefined;
832
+ } | {
833
+ blockHash: `0x${string}` | null;
834
+ blockNumber: bigint | null;
835
+ from: abitype.Address;
836
+ gas: bigint;
837
+ hash: viem.Hash;
838
+ input: viem.Hex;
839
+ nonce: number;
840
+ r: viem.Hex;
841
+ s: viem.Hex;
842
+ to: abitype.Address | null;
843
+ transactionIndex: number | null;
844
+ typeHex: viem.Hex | null;
845
+ v: bigint;
846
+ value: bigint;
847
+ yParity: number;
848
+ accessList: viem.AccessList;
849
+ authorizationList?: undefined | undefined;
850
+ blobVersionedHashes?: undefined | undefined;
851
+ chainId: number;
852
+ type: "eip1559";
853
+ gasPrice?: undefined | undefined;
854
+ maxFeePerBlobGas?: undefined | undefined;
855
+ maxFeePerGas: bigint;
856
+ maxPriorityFeePerGas: bigint;
857
+ isSystemTx?: undefined | undefined;
858
+ mint?: undefined | undefined;
859
+ sourceHash?: undefined | undefined;
860
+ } | {
861
+ blockHash: `0x${string}` | null;
862
+ blockNumber: bigint | null;
863
+ from: abitype.Address;
864
+ gas: bigint;
865
+ hash: viem.Hash;
866
+ input: viem.Hex;
867
+ nonce: number;
868
+ r: viem.Hex;
869
+ s: viem.Hex;
870
+ to: abitype.Address | null;
871
+ transactionIndex: number | null;
872
+ typeHex: viem.Hex | null;
873
+ v: bigint;
874
+ value: bigint;
875
+ yParity: number;
876
+ accessList: viem.AccessList;
877
+ authorizationList?: undefined | undefined;
878
+ blobVersionedHashes: readonly viem.Hex[];
879
+ chainId: number;
880
+ type: "eip4844";
881
+ gasPrice?: undefined | undefined;
882
+ maxFeePerBlobGas: bigint;
883
+ maxFeePerGas: bigint;
884
+ maxPriorityFeePerGas: bigint;
885
+ isSystemTx?: undefined | undefined;
886
+ mint?: undefined | undefined;
887
+ sourceHash?: undefined | undefined;
888
+ } | {
889
+ blockHash: `0x${string}` | null;
890
+ blockNumber: bigint | null;
891
+ from: abitype.Address;
892
+ gas: bigint;
893
+ hash: viem.Hash;
894
+ input: viem.Hex;
895
+ nonce: number;
896
+ r: viem.Hex;
897
+ s: viem.Hex;
898
+ to: abitype.Address | null;
899
+ transactionIndex: number | null;
900
+ typeHex: viem.Hex | null;
901
+ v: bigint;
902
+ value: bigint;
903
+ yParity: number;
904
+ accessList: viem.AccessList;
905
+ authorizationList: viem.SignedAuthorizationList;
906
+ blobVersionedHashes?: undefined | undefined;
907
+ chainId: number;
908
+ type: "eip7702";
909
+ gasPrice?: undefined | undefined;
910
+ maxFeePerBlobGas?: undefined | undefined;
911
+ maxFeePerGas: bigint;
912
+ maxPriorityFeePerGas: bigint;
913
+ isSystemTx?: undefined | undefined;
914
+ mint?: undefined | undefined;
915
+ sourceHash?: undefined | undefined;
916
+ }) & {};
917
+ type: "transaction";
918
+ };
919
+ readonly transactionReceipt: {
920
+ exclude: [] | undefined;
921
+ format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
922
+ blobGasPrice?: bigint | undefined;
923
+ blobGasUsed?: bigint | undefined;
924
+ blockHash: viem.Hash;
925
+ blockNumber: bigint;
926
+ contractAddress: abitype.Address | null | undefined;
927
+ cumulativeGasUsed: bigint;
928
+ effectiveGasPrice: bigint;
929
+ from: abitype.Address;
930
+ gasUsed: bigint;
931
+ logs: viem.Log<bigint, number, false>[];
932
+ logsBloom: viem.Hex;
933
+ root?: `0x${string}` | undefined;
934
+ status: "success" | "reverted";
935
+ to: abitype.Address | null;
936
+ transactionHash: viem.Hash;
937
+ transactionIndex: number;
938
+ type: viem.TransactionType;
939
+ l1GasPrice: bigint | null;
940
+ l1GasUsed: bigint | null;
941
+ l1Fee: bigint | null;
942
+ l1FeeScalar: number | null;
943
+ } & {};
944
+ type: "transactionReceipt";
945
+ };
946
+ };
947
+ serializers: {
948
+ readonly transaction: typeof viem_chains.serializeTransactionOpStack;
949
+ };
950
+ } | {
951
+ blockExplorers: {
952
+ readonly default: {
953
+ readonly name: "PolygonScan";
954
+ readonly url: "https://polygonscan.com";
955
+ readonly apiUrl: "https://api.polygonscan.com/api";
956
+ };
957
+ };
958
+ contracts: {
959
+ readonly multicall3: {
960
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
961
+ readonly blockCreated: 25770160;
962
+ };
963
+ };
964
+ ensTlds?: readonly string[] | undefined;
965
+ id: 137;
966
+ name: "Polygon";
967
+ nativeCurrency: {
968
+ readonly name: "POL";
969
+ readonly symbol: "POL";
970
+ readonly decimals: 18;
971
+ };
972
+ rpcUrls: {
973
+ readonly default: {
974
+ readonly http: readonly ["https://polygon-rpc.com"];
975
+ };
976
+ };
977
+ sourceId?: number | undefined | undefined;
978
+ testnet?: boolean | undefined | undefined;
979
+ custom?: Record<string, unknown> | undefined;
980
+ fees?: viem.ChainFees<undefined> | undefined;
981
+ formatters?: undefined;
982
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
983
+ })[];
984
+ declare const testnetChains: ({
985
+ blockExplorers: {
986
+ readonly default: {
987
+ readonly name: "Basescan";
988
+ readonly url: "https://sepolia.basescan.org";
989
+ readonly apiUrl: "https://api-sepolia.basescan.org/api";
990
+ };
991
+ };
992
+ contracts: {
993
+ readonly disputeGameFactory: {
994
+ readonly 11155111: {
995
+ readonly address: "0xd6E6dBf4F7EA0ac412fD8b65ED297e64BB7a06E1";
996
+ };
997
+ };
998
+ readonly l2OutputOracle: {
999
+ readonly 11155111: {
1000
+ readonly address: "0x84457ca9D0163FbC4bbfe4Dfbb20ba46e48DF254";
1001
+ };
1002
+ };
1003
+ readonly portal: {
1004
+ readonly 11155111: {
1005
+ readonly address: "0x49f53e41452c74589e85ca1677426ba426459e85";
1006
+ readonly blockCreated: 4446677;
1007
+ };
1008
+ };
1009
+ readonly l1StandardBridge: {
1010
+ readonly 11155111: {
1011
+ readonly address: "0xfd0Bf71F60660E2f608ed56e1659C450eB113120";
1012
+ readonly blockCreated: 4446677;
1013
+ };
1014
+ };
1015
+ readonly multicall3: {
1016
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1017
+ readonly blockCreated: 1059647;
1018
+ };
1019
+ readonly gasPriceOracle: {
1020
+ readonly address: "0x420000000000000000000000000000000000000F";
1021
+ };
1022
+ readonly l1Block: {
1023
+ readonly address: "0x4200000000000000000000000000000000000015";
1024
+ };
1025
+ readonly l2CrossDomainMessenger: {
1026
+ readonly address: "0x4200000000000000000000000000000000000007";
1027
+ };
1028
+ readonly l2Erc721Bridge: {
1029
+ readonly address: "0x4200000000000000000000000000000000000014";
1030
+ };
1031
+ readonly l2StandardBridge: {
1032
+ readonly address: "0x4200000000000000000000000000000000000010";
1033
+ };
1034
+ readonly l2ToL1MessagePasser: {
1035
+ readonly address: "0x4200000000000000000000000000000000000016";
1036
+ };
1037
+ };
1038
+ ensTlds?: readonly string[] | undefined;
1039
+ id: 84532;
1040
+ name: "Base Sepolia";
1041
+ nativeCurrency: {
1042
+ readonly name: "Sepolia Ether";
1043
+ readonly symbol: "ETH";
1044
+ readonly decimals: 18;
1045
+ };
1046
+ rpcUrls: {
1047
+ readonly default: {
1048
+ readonly http: readonly ["https://sepolia.base.org"];
1049
+ };
1050
+ };
1051
+ sourceId: 11155111;
1052
+ testnet: true;
1053
+ custom?: Record<string, unknown> | undefined;
1054
+ fees?: viem.ChainFees<undefined> | undefined;
1055
+ formatters: {
1056
+ readonly block: {
1057
+ exclude: [] | undefined;
1058
+ format: (args: viem_chains.OpStackRpcBlock) => {
1059
+ baseFeePerGas: bigint | null;
1060
+ blobGasUsed: bigint;
1061
+ difficulty: bigint;
1062
+ excessBlobGas: bigint;
1063
+ extraData: viem.Hex;
1064
+ gasLimit: bigint;
1065
+ gasUsed: bigint;
1066
+ hash: `0x${string}` | null;
1067
+ logsBloom: `0x${string}` | null;
1068
+ miner: abitype.Address;
1069
+ mixHash: viem.Hash;
1070
+ nonce: `0x${string}` | null;
1071
+ number: bigint | null;
1072
+ parentBeaconBlockRoot?: `0x${string}` | undefined;
1073
+ parentHash: viem.Hash;
1074
+ receiptsRoot: viem.Hex;
1075
+ sealFields: viem.Hex[];
1076
+ sha3Uncles: viem.Hash;
1077
+ size: bigint;
1078
+ stateRoot: viem.Hash;
1079
+ timestamp: bigint;
1080
+ totalDifficulty: bigint | null;
1081
+ transactions: `0x${string}`[] | viem_chains.OpStackTransaction<boolean>[];
1082
+ transactionsRoot: viem.Hash;
1083
+ uncles: viem.Hash[];
1084
+ withdrawals?: viem.Withdrawal[] | undefined | undefined;
1085
+ withdrawalsRoot?: `0x${string}` | undefined;
1086
+ } & {};
1087
+ type: "block";
1088
+ };
1089
+ readonly transaction: {
1090
+ exclude: [] | undefined;
1091
+ format: (args: viem_chains.OpStackRpcTransaction) => ({
1092
+ blockHash: `0x${string}` | null;
1093
+ blockNumber: bigint | null;
1094
+ from: abitype.Address;
1095
+ gas: bigint;
1096
+ hash: viem.Hash;
1097
+ input: viem.Hex;
1098
+ nonce: number;
1099
+ r: viem.Hex;
1100
+ s: viem.Hex;
1101
+ to: abitype.Address | null;
1102
+ transactionIndex: number | null;
1103
+ typeHex: viem.Hex | null;
1104
+ v: bigint;
1105
+ value: bigint;
1106
+ yParity: number;
1107
+ gasPrice?: undefined | undefined;
1108
+ maxFeePerBlobGas?: undefined | undefined;
1109
+ maxFeePerGas: bigint;
1110
+ maxPriorityFeePerGas: bigint;
1111
+ isSystemTx?: boolean;
1112
+ mint?: bigint | undefined | undefined;
1113
+ sourceHash: viem.Hex;
1114
+ type: "deposit";
1115
+ } | {
1116
+ r: viem.Hex;
1117
+ s: viem.Hex;
1118
+ v: bigint;
1119
+ to: abitype.Address | null;
1120
+ from: abitype.Address;
1121
+ gas: bigint;
1122
+ nonce: number;
1123
+ value: bigint;
1124
+ blockHash: `0x${string}` | null;
1125
+ blockNumber: bigint | null;
1126
+ hash: viem.Hash;
1127
+ input: viem.Hex;
1128
+ transactionIndex: number | null;
1129
+ typeHex: viem.Hex | null;
1130
+ accessList?: undefined | undefined;
1131
+ authorizationList?: undefined | undefined;
1132
+ blobVersionedHashes?: undefined | undefined;
1133
+ chainId?: number | undefined;
1134
+ yParity?: undefined | undefined;
1135
+ type: "legacy";
1136
+ gasPrice: bigint;
1137
+ maxFeePerBlobGas?: undefined | undefined;
1138
+ maxFeePerGas?: undefined | undefined;
1139
+ maxPriorityFeePerGas?: undefined | undefined;
1140
+ isSystemTx?: undefined | undefined;
1141
+ mint?: undefined | undefined;
1142
+ sourceHash?: undefined | undefined;
1143
+ } | {
1144
+ blockHash: `0x${string}` | null;
1145
+ blockNumber: bigint | null;
1146
+ from: abitype.Address;
1147
+ gas: bigint;
1148
+ hash: viem.Hash;
1149
+ input: viem.Hex;
1150
+ nonce: number;
1151
+ r: viem.Hex;
1152
+ s: viem.Hex;
1153
+ to: abitype.Address | null;
1154
+ transactionIndex: number | null;
1155
+ typeHex: viem.Hex | null;
1156
+ v: bigint;
1157
+ value: bigint;
1158
+ yParity: number;
1159
+ accessList: viem.AccessList;
1160
+ authorizationList?: undefined | undefined;
1161
+ blobVersionedHashes?: undefined | undefined;
1162
+ chainId: number;
1163
+ type: "eip2930";
1164
+ gasPrice: bigint;
1165
+ maxFeePerBlobGas?: undefined | undefined;
1166
+ maxFeePerGas?: undefined | undefined;
1167
+ maxPriorityFeePerGas?: undefined | undefined;
1168
+ isSystemTx?: undefined | undefined;
1169
+ mint?: undefined | undefined;
1170
+ sourceHash?: undefined | undefined;
1171
+ } | {
1172
+ blockHash: `0x${string}` | null;
1173
+ blockNumber: bigint | null;
1174
+ from: abitype.Address;
1175
+ gas: bigint;
1176
+ hash: viem.Hash;
1177
+ input: viem.Hex;
1178
+ nonce: number;
1179
+ r: viem.Hex;
1180
+ s: viem.Hex;
1181
+ to: abitype.Address | null;
1182
+ transactionIndex: number | null;
1183
+ typeHex: viem.Hex | null;
1184
+ v: bigint;
1185
+ value: bigint;
1186
+ yParity: number;
1187
+ accessList: viem.AccessList;
1188
+ authorizationList?: undefined | undefined;
1189
+ blobVersionedHashes?: undefined | undefined;
1190
+ chainId: number;
1191
+ type: "eip1559";
1192
+ gasPrice?: undefined | undefined;
1193
+ maxFeePerBlobGas?: undefined | undefined;
1194
+ maxFeePerGas: bigint;
1195
+ maxPriorityFeePerGas: bigint;
1196
+ isSystemTx?: undefined | undefined;
1197
+ mint?: undefined | undefined;
1198
+ sourceHash?: undefined | undefined;
1199
+ } | {
1200
+ blockHash: `0x${string}` | null;
1201
+ blockNumber: bigint | null;
1202
+ from: abitype.Address;
1203
+ gas: bigint;
1204
+ hash: viem.Hash;
1205
+ input: viem.Hex;
1206
+ nonce: number;
1207
+ r: viem.Hex;
1208
+ s: viem.Hex;
1209
+ to: abitype.Address | null;
1210
+ transactionIndex: number | null;
1211
+ typeHex: viem.Hex | null;
1212
+ v: bigint;
1213
+ value: bigint;
1214
+ yParity: number;
1215
+ accessList: viem.AccessList;
1216
+ authorizationList?: undefined | undefined;
1217
+ blobVersionedHashes: readonly viem.Hex[];
1218
+ chainId: number;
1219
+ type: "eip4844";
1220
+ gasPrice?: undefined | undefined;
1221
+ maxFeePerBlobGas: bigint;
1222
+ maxFeePerGas: bigint;
1223
+ maxPriorityFeePerGas: bigint;
1224
+ isSystemTx?: undefined | undefined;
1225
+ mint?: undefined | undefined;
1226
+ sourceHash?: undefined | undefined;
1227
+ } | {
1228
+ blockHash: `0x${string}` | null;
1229
+ blockNumber: bigint | null;
1230
+ from: abitype.Address;
1231
+ gas: bigint;
1232
+ hash: viem.Hash;
1233
+ input: viem.Hex;
1234
+ nonce: number;
1235
+ r: viem.Hex;
1236
+ s: viem.Hex;
1237
+ to: abitype.Address | null;
1238
+ transactionIndex: number | null;
1239
+ typeHex: viem.Hex | null;
1240
+ v: bigint;
1241
+ value: bigint;
1242
+ yParity: number;
1243
+ accessList: viem.AccessList;
1244
+ authorizationList: viem.SignedAuthorizationList;
1245
+ blobVersionedHashes?: undefined | undefined;
1246
+ chainId: number;
1247
+ type: "eip7702";
1248
+ gasPrice?: undefined | undefined;
1249
+ maxFeePerBlobGas?: undefined | undefined;
1250
+ maxFeePerGas: bigint;
1251
+ maxPriorityFeePerGas: bigint;
1252
+ isSystemTx?: undefined | undefined;
1253
+ mint?: undefined | undefined;
1254
+ sourceHash?: undefined | undefined;
1255
+ }) & {};
1256
+ type: "transaction";
1257
+ };
1258
+ readonly transactionReceipt: {
1259
+ exclude: [] | undefined;
1260
+ format: (args: viem_chains.OpStackRpcTransactionReceipt) => {
1261
+ blobGasPrice?: bigint | undefined;
1262
+ blobGasUsed?: bigint | undefined;
1263
+ blockHash: viem.Hash;
1264
+ blockNumber: bigint;
1265
+ contractAddress: abitype.Address | null | undefined;
1266
+ cumulativeGasUsed: bigint;
1267
+ effectiveGasPrice: bigint;
1268
+ from: abitype.Address;
1269
+ gasUsed: bigint;
1270
+ logs: viem.Log<bigint, number, false>[];
1271
+ logsBloom: viem.Hex;
1272
+ root?: `0x${string}` | undefined;
1273
+ status: "success" | "reverted";
1274
+ to: abitype.Address | null;
1275
+ transactionHash: viem.Hash;
1276
+ transactionIndex: number;
1277
+ type: viem.TransactionType;
1278
+ l1GasPrice: bigint | null;
1279
+ l1GasUsed: bigint | null;
1280
+ l1Fee: bigint | null;
1281
+ l1FeeScalar: number | null;
1282
+ } & {};
1283
+ type: "transactionReceipt";
1284
+ };
1285
+ };
1286
+ serializers: {
1287
+ readonly transaction: typeof viem_chains.serializeTransactionOpStack;
1288
+ };
1289
+ readonly network: "base-sepolia";
1290
+ } | {
1291
+ blockExplorers: {
1292
+ readonly default: {
1293
+ readonly name: "Etherscan";
1294
+ readonly url: "https://sepolia.etherscan.io";
1295
+ readonly apiUrl: "https://api-sepolia.etherscan.io/api";
1296
+ };
1297
+ };
1298
+ contracts: {
1299
+ readonly multicall3: {
1300
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1301
+ readonly blockCreated: 751532;
1302
+ };
1303
+ readonly ensRegistry: {
1304
+ readonly address: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e";
1305
+ };
1306
+ readonly ensUniversalResolver: {
1307
+ readonly address: "0xc8Af999e38273D658BE1b921b88A9Ddf005769cC";
1308
+ readonly blockCreated: 5317080;
1309
+ };
1310
+ };
1311
+ ensTlds?: readonly string[] | undefined;
1312
+ id: 11155111;
1313
+ name: "Sepolia";
1314
+ nativeCurrency: {
1315
+ readonly name: "Sepolia Ether";
1316
+ readonly symbol: "ETH";
1317
+ readonly decimals: 18;
1318
+ };
1319
+ rpcUrls: {
1320
+ readonly default: {
1321
+ readonly http: readonly ["https://sepolia.drpc.org"];
1322
+ };
1323
+ };
1324
+ sourceId?: number | undefined | undefined;
1325
+ testnet: true;
1326
+ custom?: Record<string, unknown> | undefined;
1327
+ fees?: viem.ChainFees<undefined> | undefined;
1328
+ formatters?: undefined;
1329
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1330
+ } | {
1331
+ blockExplorers: {
1332
+ readonly default: {
1333
+ readonly name: "PolygonScan";
1334
+ readonly url: "https://amoy.polygonscan.com";
1335
+ readonly apiUrl: "https://api-amoy.polygonscan.com/api";
1336
+ };
1337
+ };
1338
+ contracts: {
1339
+ readonly multicall3: {
1340
+ readonly address: "0xca11bde05977b3631167028862be2a173976ca11";
1341
+ readonly blockCreated: 3127388;
1342
+ };
1343
+ };
1344
+ ensTlds?: readonly string[] | undefined;
1345
+ id: 80002;
1346
+ name: "Polygon Amoy";
1347
+ nativeCurrency: {
1348
+ readonly name: "POL";
1349
+ readonly symbol: "POL";
1350
+ readonly decimals: 18;
1351
+ };
1352
+ rpcUrls: {
1353
+ readonly default: {
1354
+ readonly http: readonly ["https://rpc-amoy.polygon.technology"];
1355
+ };
1356
+ };
1357
+ sourceId?: number | undefined | undefined;
1358
+ testnet: true;
1359
+ custom?: Record<string, unknown> | undefined;
1360
+ fees?: viem.ChainFees<undefined> | undefined;
1361
+ formatters?: undefined;
1362
+ serializers?: viem.ChainSerializers<undefined, viem.TransactionSerializable> | undefined;
1363
+ })[];
221
1364
  declare function getChainById(chainId: number): Chain | undefined;
222
1365
  declare function getChainExplorerByChainId(chainId: number): string | undefined;
223
1366
 
@@ -373,6 +1516,9 @@ declare class ActaBatch {
373
1516
  createSingleBatchPayment(params: SingleBatchPaymentClassParamsType, serviceParams: {
374
1517
  sessionId: string;
375
1518
  }): Promise<any>;
1519
+ createScheduleBatchPayment(params: ScheduleBatchPaymentClassParamsType, serviceParams: {
1520
+ sessionId: string;
1521
+ }): Promise<any>;
376
1522
  }
377
1523
 
378
1524
  declare class ActaAccount {
@@ -3840,6 +4986,10 @@ declare class ActaAccount {
3840
4986
  approval: string;
3841
4987
  amountExclusive: bigint;
3842
4988
  }>;
4989
+ signRecurringOrScheduleBatchPayments(paymentParams: ScheduleOrRecurringBatchPaymentParamsType): Promise<{
4990
+ approval: string;
4991
+ amountExclusive: bigint;
4992
+ }>;
3843
4993
  signRecurringTransactionCancellation(paymentCancellationParams: {
3844
4994
  signerAddress: Address;
3845
4995
  receiverAddress: Address;
@@ -10842,6 +11992,19 @@ declare function executeSingleBatchPaymentAPICall(url: string, APIKey: string, u
10842
11992
  feeInclusive: boolean;
10843
11993
  serviceType: string;
10844
11994
  }, serviceParams: any): Promise<any>;
11995
+ declare function executeScheduleBatchPaymentAPICall(url: string, APIKey: string, paymentParams: {
11996
+ senderAddress: string;
11997
+ chainId: number;
11998
+ tokenAddress: string;
11999
+ amount: Hex;
12000
+ feeInclusive: boolean;
12001
+ serviceType: string;
12002
+ approval: string;
12003
+ amountExclusive: string;
12004
+ executionAt: number;
12005
+ }, serviceParams: {
12006
+ sessionId: String;
12007
+ }): Promise<any>;
10845
12008
  declare function fetchRecurringTransactionWithId(url: string): Promise<any>;
10846
12009
  declare function cancelRecurringPaymentAPICall(url: string, userOperation: RpcUserOperation$1<"0.7">, paymentParams: {
10847
12010
  chainId: number;
@@ -10859,4 +12022,4 @@ declare function createBatchSessionAPICall(url: string, APIKey: string, params:
10859
12022
  }): Promise<any>;
10860
12023
  declare function fetchBatchInstructionDetails(url: string, APIKey: string): Promise<any>;
10861
12024
 
10862
- export { type AbstractPaymentParams, ActaAccount, ActaBatch, ActaBilling, ActaDeposit, type BatchClassParams, type BillingClassParams, type CalculateSingleBatchPaymentGasParameters, ConnectorType, type DepositClassParams, type EstimateSingleBatchPaymentGasParameters, type EstimateSinglePaymentGasParameters, type ExportPermissionAccountParams, HttpMethod, type ModularSigner, type PermissionAccountParams, type PermissionData, type PermissionPlugin, type PermissionPluginParams, type Policy, PolicyFlags, type PolicyParams, type RecurringPaymentParamsType, type SingleBatchPaymentClassParamsType, type SingleBatchPaymentParamsType, type SinglePaymentParamsType, type Token, TokenLogo, ViemClient, arbitrumDAI, arbitrumETH, arbitrumUSDC, arbitrumUSDCe, arbitrumUSDT, arbitrumWETH, base64ToBytes, baseDAI, baseETH, baseEURC, baseSepoliaUSDC, baseUSDC, baseUSDT, baseUSDbC, baseWETH, bscBNB, bscUSDC, bscUSDT, bscWBNB, bytesToBase64, cancelRecurringPaymentAPICall, cancelRecurringTransaction, createBatchSessionAPICall, createBillingCheckoutSession, createBillingSessionAPICall, createPolicyFromParams, createSessionAPICall, decodeParamsFromInitCode, deserializePermissionAccount, deserializePermissionAccountParams, ethereumDAI, ethereumETH, ethereumEURC, ethereumUSDC, ethereumUSDT, ethereumWETH, executeSingleBatchPaymentAPICall, executeSinglePaymentAPICall, fetchBatchInstructionDetails, fetchBillingSessionDetails, fetchRecurringTransactionWithId, getBillingPaymentSessionDetails, getChainById, getChainExplorerByChainId, getPeriodInterval, getPimlicoRpcByChainId, getRpcByChainId, getTokenByChainIdAndAddress, getTokenByChainIdAndSymbol, isKernelVersionAfter, isPermissionValidatorPlugin, lineaDAI, lineaETH, lineaUSDC, lineaWETH, optimismDAI, optimismETH, optimismUSDC, optimismUSDCe, optimismUSDT, optimismWETH, polygonAmoyUSDC, polygonDAI, polygonPOL, polygonUSDC, polygonUSDCe, polygonUSDT, polygonWETH, polygonWPOL, scheduleRecurringPaymentsAPICall, sendRequest, sepoliaUSDC, serializePermissionAccountParams, supportedChains, supportedTokensByChain, toECDSASigner, toPermissionValidator, toPolicyId, toSignerId, token, tokensCommonSymbols, verifySessionAPICall };
12025
+ export { type AbstractPaymentParams, ActaAccount, ActaBatch, ActaBilling, ActaDeposit, type BatchClassParams, type BillingClassParams, type CalculateSingleBatchPaymentGasParameters, ConnectorType, type DepositClassParams, type EstimateSingleBatchPaymentGasParameters, type EstimateSinglePaymentGasParameters, type ExportPermissionAccountParams, HttpMethod, type ModularSigner, type PermissionAccountParams, type PermissionData, type PermissionPlugin, type PermissionPluginParams, type Policy, PolicyFlags, type PolicyParams, type RecurringPaymentParamsType, type ScheduleBatchPaymentClassParamsType, type ScheduleOrRecurringBatchPaymentParamsType, type SingleBatchPaymentClassParamsType, type SingleBatchPaymentParamsType, type SinglePaymentParamsType, type Token, TokenLogo, ViemClient, arbitrumDAI, arbitrumETH, arbitrumUSDC, arbitrumUSDCe, arbitrumUSDT, arbitrumWETH, base64ToBytes, baseDAI, baseETH, baseEURC, baseSepoliaUSDC, baseUSDC, baseUSDT, baseUSDbC, baseWETH, bscBNB, bscUSDC, bscUSDT, bscWBNB, bytesToBase64, cancelRecurringPaymentAPICall, cancelRecurringTransaction, createBatchSessionAPICall, createBillingCheckoutSession, createBillingSessionAPICall, createPolicyFromParams, createSessionAPICall, decodeParamsFromInitCode, deserializePermissionAccount, deserializePermissionAccountParams, ethereumDAI, ethereumETH, ethereumEURC, ethereumUSDC, ethereumUSDT, ethereumWETH, executeScheduleBatchPaymentAPICall, executeSingleBatchPaymentAPICall, executeSinglePaymentAPICall, fetchBatchInstructionDetails, fetchBillingSessionDetails, fetchRecurringTransactionWithId, getBillingPaymentSessionDetails, getChainById, getChainExplorerByChainId, getPeriodInterval, getPimlicoRpcByChainId, getRpcByChainId, getTokenByChainIdAndAddress, getTokenByChainIdAndSymbol, isKernelVersionAfter, isPermissionValidatorPlugin, lineaDAI, lineaETH, lineaUSDC, lineaWETH, mainnetChains, optimismDAI, optimismETH, optimismUSDC, optimismUSDCe, optimismUSDT, optimismWETH, polygonAmoyUSDC, polygonDAI, polygonPOL, polygonUSDC, polygonUSDCe, polygonUSDT, polygonWETH, polygonWPOL, scheduleRecurringPaymentsAPICall, sendRequest, sepoliaUSDC, serializePermissionAccountParams, supportedChains, supportedTokensByChain, testnetChains, toECDSASigner, toPermissionValidator, toPolicyId, toSignerId, token, tokensCommonSymbols, verifySessionAPICall };