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