@circle-fin/usdckit 0.22.0 → 0.23.0
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/cjs/abis/EIP2612.d.ts +197 -0
- package/dist/cjs/abis/EIP2612.js +78 -0
- package/dist/cjs/actions/index.d.ts +66 -0
- package/dist/cjs/actions/index.js +7 -0
- package/dist/cjs/actions/index.test.js +4 -0
- package/dist/cjs/actions/permit.d.ts +19 -0
- package/dist/cjs/actions/permit.js +50 -0
- package/dist/cjs/actions/permit.test.d.ts +1 -0
- package/dist/cjs/actions/permit.test.js +652 -0
- package/dist/cjs/actions/signEIP2612Permit.d.ts +130 -0
- package/dist/cjs/actions/signEIP2612Permit.js +128 -0
- package/dist/cjs/actions/signEIP2612Permit.test.d.ts +1 -0
- package/dist/cjs/actions/signEIP2612Permit.test.js +434 -0
- package/dist/cjs/chains/ARC_TESTNET.d.ts +180 -0
- package/dist/cjs/chains/ARC_TESTNET.js +57 -0
- package/dist/cjs/chains/index.d.ts +1 -0
- package/dist/cjs/chains/index.js +3 -1
- package/dist/cjs/chains/index.test.js +1 -0
- package/dist/cjs/extractChain.d.ts +179 -0
- package/dist/cjs/extractChain.test.js +1 -0
- package/dist/cjs/metadata.js +1 -1
- package/dist/cjs/providers/circle-wallets/actions/createAccount.d.ts +179 -0
- package/dist/cjs/providers/circle-wallets/actions/createAccount.js +3 -0
- package/dist/cjs/providers/circle-wallets/actions/estimateContractExecutionFee.d.ts +6 -0
- package/dist/cjs/providers/circle-wallets/actions/estimateTransferFee.d.ts +6 -0
- package/dist/cjs/providers/circle-wallets/actions/getAccounts.d.ts +179 -0
- package/dist/cjs/providers/circle-wallets/index.d.ts +358 -0
- package/dist/cjs/providers/circle-wallets/index.js +2 -0
- package/dist/cjs/providers/circle-wallets/transports/index.d.ts +12 -0
- package/dist/esm/abis/EIP2612.d.ts +197 -0
- package/dist/esm/abis/EIP2612.js +76 -0
- package/dist/esm/actions/index.d.ts +66 -0
- package/dist/esm/actions/index.js +7 -0
- package/dist/esm/actions/index.test.js +4 -0
- package/dist/esm/actions/permit.d.ts +19 -0
- package/dist/esm/actions/permit.js +44 -0
- package/dist/esm/actions/permit.test.d.ts +1 -0
- package/dist/esm/actions/permit.test.js +650 -0
- package/dist/esm/actions/signEIP2612Permit.d.ts +130 -0
- package/dist/esm/actions/signEIP2612Permit.js +122 -0
- package/dist/esm/actions/signEIP2612Permit.test.d.ts +1 -0
- package/dist/esm/actions/signEIP2612Permit.test.js +432 -0
- package/dist/esm/chains/ARC_TESTNET.d.ts +180 -0
- package/dist/esm/chains/ARC_TESTNET.js +54 -0
- package/dist/esm/chains/index.d.ts +1 -0
- package/dist/esm/chains/index.js +1 -0
- package/dist/esm/chains/index.test.js +1 -0
- package/dist/esm/extractChain.d.ts +179 -0
- package/dist/esm/extractChain.test.js +2 -1
- package/dist/esm/metadata.js +1 -1
- package/dist/esm/providers/circle-wallets/actions/createAccount.d.ts +179 -0
- package/dist/esm/providers/circle-wallets/actions/createAccount.js +3 -0
- package/dist/esm/providers/circle-wallets/actions/estimateContractExecutionFee.d.ts +6 -0
- package/dist/esm/providers/circle-wallets/actions/estimateTransferFee.d.ts +6 -0
- package/dist/esm/providers/circle-wallets/actions/getAccounts.d.ts +179 -0
- package/dist/esm/providers/circle-wallets/index.d.ts +358 -0
- package/dist/esm/providers/circle-wallets/index.js +3 -1
- package/dist/esm/providers/circle-wallets/transports/index.d.ts +12 -0
- package/package.json +5 -4
|
@@ -357,6 +357,185 @@ export declare const SUPPORTED_CHAINS: readonly [{
|
|
|
357
357
|
readonly blockchainId: "ARB-SEPOLIA";
|
|
358
358
|
readonly blockchainVm: "EVM";
|
|
359
359
|
readonly formatters?: undefined | undefined;
|
|
360
|
+
}, {
|
|
361
|
+
blockExplorers: {
|
|
362
|
+
readonly default: {
|
|
363
|
+
readonly name: "ArcScan";
|
|
364
|
+
readonly url: "https://testnet.arcscan.app";
|
|
365
|
+
readonly apiUrl: "https://testnet.arcscan.app/api";
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
blockTime?: number | undefined | undefined;
|
|
369
|
+
contracts: {
|
|
370
|
+
readonly USDC: {
|
|
371
|
+
readonly address: "0x3600000000000000000000000000000000000000";
|
|
372
|
+
readonly abi: readonly [{
|
|
373
|
+
readonly type: "event";
|
|
374
|
+
readonly name: "Approval";
|
|
375
|
+
readonly inputs: readonly [{
|
|
376
|
+
readonly indexed: true;
|
|
377
|
+
readonly name: "owner";
|
|
378
|
+
readonly type: "address";
|
|
379
|
+
}, {
|
|
380
|
+
readonly indexed: true;
|
|
381
|
+
readonly name: "spender";
|
|
382
|
+
readonly type: "address";
|
|
383
|
+
}, {
|
|
384
|
+
readonly indexed: false;
|
|
385
|
+
readonly name: "value";
|
|
386
|
+
readonly type: "uint256";
|
|
387
|
+
}];
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "event";
|
|
390
|
+
readonly name: "Transfer";
|
|
391
|
+
readonly inputs: readonly [{
|
|
392
|
+
readonly indexed: true;
|
|
393
|
+
readonly name: "from";
|
|
394
|
+
readonly type: "address";
|
|
395
|
+
}, {
|
|
396
|
+
readonly indexed: true;
|
|
397
|
+
readonly name: "to";
|
|
398
|
+
readonly type: "address";
|
|
399
|
+
}, {
|
|
400
|
+
readonly indexed: false;
|
|
401
|
+
readonly name: "value";
|
|
402
|
+
readonly type: "uint256";
|
|
403
|
+
}];
|
|
404
|
+
}, {
|
|
405
|
+
readonly type: "function";
|
|
406
|
+
readonly name: "allowance";
|
|
407
|
+
readonly stateMutability: "view";
|
|
408
|
+
readonly inputs: readonly [{
|
|
409
|
+
readonly name: "owner";
|
|
410
|
+
readonly type: "address";
|
|
411
|
+
}, {
|
|
412
|
+
readonly name: "spender";
|
|
413
|
+
readonly type: "address";
|
|
414
|
+
}];
|
|
415
|
+
readonly outputs: readonly [{
|
|
416
|
+
readonly type: "uint256";
|
|
417
|
+
}];
|
|
418
|
+
}, {
|
|
419
|
+
readonly type: "function";
|
|
420
|
+
readonly name: "approve";
|
|
421
|
+
readonly stateMutability: "nonpayable";
|
|
422
|
+
readonly inputs: readonly [{
|
|
423
|
+
readonly name: "spender";
|
|
424
|
+
readonly type: "address";
|
|
425
|
+
}, {
|
|
426
|
+
readonly name: "amount";
|
|
427
|
+
readonly type: "uint256";
|
|
428
|
+
}];
|
|
429
|
+
readonly outputs: readonly [{
|
|
430
|
+
readonly type: "bool";
|
|
431
|
+
}];
|
|
432
|
+
}, {
|
|
433
|
+
readonly type: "function";
|
|
434
|
+
readonly name: "balanceOf";
|
|
435
|
+
readonly stateMutability: "view";
|
|
436
|
+
readonly inputs: readonly [{
|
|
437
|
+
readonly name: "account";
|
|
438
|
+
readonly type: "address";
|
|
439
|
+
}];
|
|
440
|
+
readonly outputs: readonly [{
|
|
441
|
+
readonly type: "uint256";
|
|
442
|
+
}];
|
|
443
|
+
}, {
|
|
444
|
+
readonly type: "function";
|
|
445
|
+
readonly name: "decimals";
|
|
446
|
+
readonly stateMutability: "view";
|
|
447
|
+
readonly inputs: readonly [];
|
|
448
|
+
readonly outputs: readonly [{
|
|
449
|
+
readonly type: "uint8";
|
|
450
|
+
}];
|
|
451
|
+
}, {
|
|
452
|
+
readonly type: "function";
|
|
453
|
+
readonly name: "name";
|
|
454
|
+
readonly stateMutability: "view";
|
|
455
|
+
readonly inputs: readonly [];
|
|
456
|
+
readonly outputs: readonly [{
|
|
457
|
+
readonly type: "string";
|
|
458
|
+
}];
|
|
459
|
+
}, {
|
|
460
|
+
readonly type: "function";
|
|
461
|
+
readonly name: "symbol";
|
|
462
|
+
readonly stateMutability: "view";
|
|
463
|
+
readonly inputs: readonly [];
|
|
464
|
+
readonly outputs: readonly [{
|
|
465
|
+
readonly type: "string";
|
|
466
|
+
}];
|
|
467
|
+
}, {
|
|
468
|
+
readonly type: "function";
|
|
469
|
+
readonly name: "totalSupply";
|
|
470
|
+
readonly stateMutability: "view";
|
|
471
|
+
readonly inputs: readonly [];
|
|
472
|
+
readonly outputs: readonly [{
|
|
473
|
+
readonly type: "uint256";
|
|
474
|
+
}];
|
|
475
|
+
}, {
|
|
476
|
+
readonly type: "function";
|
|
477
|
+
readonly name: "transfer";
|
|
478
|
+
readonly stateMutability: "nonpayable";
|
|
479
|
+
readonly inputs: readonly [{
|
|
480
|
+
readonly name: "recipient";
|
|
481
|
+
readonly type: "address";
|
|
482
|
+
}, {
|
|
483
|
+
readonly name: "amount";
|
|
484
|
+
readonly type: "uint256";
|
|
485
|
+
}];
|
|
486
|
+
readonly outputs: readonly [{
|
|
487
|
+
readonly type: "bool";
|
|
488
|
+
}];
|
|
489
|
+
}, {
|
|
490
|
+
readonly type: "function";
|
|
491
|
+
readonly name: "transferFrom";
|
|
492
|
+
readonly stateMutability: "nonpayable";
|
|
493
|
+
readonly inputs: readonly [{
|
|
494
|
+
readonly name: "sender";
|
|
495
|
+
readonly type: "address";
|
|
496
|
+
}, {
|
|
497
|
+
readonly name: "recipient";
|
|
498
|
+
readonly type: "address";
|
|
499
|
+
}, {
|
|
500
|
+
readonly name: "amount";
|
|
501
|
+
readonly type: "uint256";
|
|
502
|
+
}];
|
|
503
|
+
readonly outputs: readonly [{
|
|
504
|
+
readonly type: "bool";
|
|
505
|
+
}];
|
|
506
|
+
}];
|
|
507
|
+
readonly read: {
|
|
508
|
+
readonly decimals: () => 6;
|
|
509
|
+
};
|
|
510
|
+
};
|
|
511
|
+
readonly multicall3: {
|
|
512
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
513
|
+
readonly blockCreated: 0;
|
|
514
|
+
};
|
|
515
|
+
};
|
|
516
|
+
ensTlds?: readonly string[] | undefined;
|
|
517
|
+
id: 5042002;
|
|
518
|
+
name: "Arc Testnet";
|
|
519
|
+
nativeCurrency: {
|
|
520
|
+
readonly name: "USDC";
|
|
521
|
+
readonly symbol: "USDC";
|
|
522
|
+
readonly decimals: 18;
|
|
523
|
+
};
|
|
524
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
525
|
+
rpcUrls: {
|
|
526
|
+
readonly default: {
|
|
527
|
+
readonly http: readonly ["https://rpc.testnet.arc.network", "https://rpc.quicknode.testnet.arc.network", "https://rpc.blockdaemon.testnet.arc.network"];
|
|
528
|
+
readonly webSocket: readonly ["wss://rpc.testnet.arc.network", "wss://rpc.quicknode.testnet.arc.network"];
|
|
529
|
+
};
|
|
530
|
+
};
|
|
531
|
+
sourceId?: number | undefined | undefined;
|
|
532
|
+
testnet: true;
|
|
533
|
+
custom?: Record<string, unknown> | undefined;
|
|
534
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
535
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
536
|
+
readonly blockchainId: "ARC-TESTNET";
|
|
537
|
+
readonly blockchainVm: "EVM";
|
|
538
|
+
readonly formatters?: undefined;
|
|
360
539
|
}, {
|
|
361
540
|
blockExplorers: {
|
|
362
541
|
readonly default: {
|
|
@@ -5423,6 +5602,185 @@ export declare const SUPPORTED_CHAINS_FAUCET: readonly [{
|
|
|
5423
5602
|
readonly blockchainId: "ARB-SEPOLIA";
|
|
5424
5603
|
readonly blockchainVm: "EVM";
|
|
5425
5604
|
readonly formatters?: undefined | undefined;
|
|
5605
|
+
}, {
|
|
5606
|
+
blockExplorers: {
|
|
5607
|
+
readonly default: {
|
|
5608
|
+
readonly name: "ArcScan";
|
|
5609
|
+
readonly url: "https://testnet.arcscan.app";
|
|
5610
|
+
readonly apiUrl: "https://testnet.arcscan.app/api";
|
|
5611
|
+
};
|
|
5612
|
+
};
|
|
5613
|
+
blockTime?: number | undefined | undefined;
|
|
5614
|
+
contracts: {
|
|
5615
|
+
readonly USDC: {
|
|
5616
|
+
readonly address: "0x3600000000000000000000000000000000000000";
|
|
5617
|
+
readonly abi: readonly [{
|
|
5618
|
+
readonly type: "event";
|
|
5619
|
+
readonly name: "Approval";
|
|
5620
|
+
readonly inputs: readonly [{
|
|
5621
|
+
readonly indexed: true;
|
|
5622
|
+
readonly name: "owner";
|
|
5623
|
+
readonly type: "address";
|
|
5624
|
+
}, {
|
|
5625
|
+
readonly indexed: true;
|
|
5626
|
+
readonly name: "spender";
|
|
5627
|
+
readonly type: "address";
|
|
5628
|
+
}, {
|
|
5629
|
+
readonly indexed: false;
|
|
5630
|
+
readonly name: "value";
|
|
5631
|
+
readonly type: "uint256";
|
|
5632
|
+
}];
|
|
5633
|
+
}, {
|
|
5634
|
+
readonly type: "event";
|
|
5635
|
+
readonly name: "Transfer";
|
|
5636
|
+
readonly inputs: readonly [{
|
|
5637
|
+
readonly indexed: true;
|
|
5638
|
+
readonly name: "from";
|
|
5639
|
+
readonly type: "address";
|
|
5640
|
+
}, {
|
|
5641
|
+
readonly indexed: true;
|
|
5642
|
+
readonly name: "to";
|
|
5643
|
+
readonly type: "address";
|
|
5644
|
+
}, {
|
|
5645
|
+
readonly indexed: false;
|
|
5646
|
+
readonly name: "value";
|
|
5647
|
+
readonly type: "uint256";
|
|
5648
|
+
}];
|
|
5649
|
+
}, {
|
|
5650
|
+
readonly type: "function";
|
|
5651
|
+
readonly name: "allowance";
|
|
5652
|
+
readonly stateMutability: "view";
|
|
5653
|
+
readonly inputs: readonly [{
|
|
5654
|
+
readonly name: "owner";
|
|
5655
|
+
readonly type: "address";
|
|
5656
|
+
}, {
|
|
5657
|
+
readonly name: "spender";
|
|
5658
|
+
readonly type: "address";
|
|
5659
|
+
}];
|
|
5660
|
+
readonly outputs: readonly [{
|
|
5661
|
+
readonly type: "uint256";
|
|
5662
|
+
}];
|
|
5663
|
+
}, {
|
|
5664
|
+
readonly type: "function";
|
|
5665
|
+
readonly name: "approve";
|
|
5666
|
+
readonly stateMutability: "nonpayable";
|
|
5667
|
+
readonly inputs: readonly [{
|
|
5668
|
+
readonly name: "spender";
|
|
5669
|
+
readonly type: "address";
|
|
5670
|
+
}, {
|
|
5671
|
+
readonly name: "amount";
|
|
5672
|
+
readonly type: "uint256";
|
|
5673
|
+
}];
|
|
5674
|
+
readonly outputs: readonly [{
|
|
5675
|
+
readonly type: "bool";
|
|
5676
|
+
}];
|
|
5677
|
+
}, {
|
|
5678
|
+
readonly type: "function";
|
|
5679
|
+
readonly name: "balanceOf";
|
|
5680
|
+
readonly stateMutability: "view";
|
|
5681
|
+
readonly inputs: readonly [{
|
|
5682
|
+
readonly name: "account";
|
|
5683
|
+
readonly type: "address";
|
|
5684
|
+
}];
|
|
5685
|
+
readonly outputs: readonly [{
|
|
5686
|
+
readonly type: "uint256";
|
|
5687
|
+
}];
|
|
5688
|
+
}, {
|
|
5689
|
+
readonly type: "function";
|
|
5690
|
+
readonly name: "decimals";
|
|
5691
|
+
readonly stateMutability: "view";
|
|
5692
|
+
readonly inputs: readonly [];
|
|
5693
|
+
readonly outputs: readonly [{
|
|
5694
|
+
readonly type: "uint8";
|
|
5695
|
+
}];
|
|
5696
|
+
}, {
|
|
5697
|
+
readonly type: "function";
|
|
5698
|
+
readonly name: "name";
|
|
5699
|
+
readonly stateMutability: "view";
|
|
5700
|
+
readonly inputs: readonly [];
|
|
5701
|
+
readonly outputs: readonly [{
|
|
5702
|
+
readonly type: "string";
|
|
5703
|
+
}];
|
|
5704
|
+
}, {
|
|
5705
|
+
readonly type: "function";
|
|
5706
|
+
readonly name: "symbol";
|
|
5707
|
+
readonly stateMutability: "view";
|
|
5708
|
+
readonly inputs: readonly [];
|
|
5709
|
+
readonly outputs: readonly [{
|
|
5710
|
+
readonly type: "string";
|
|
5711
|
+
}];
|
|
5712
|
+
}, {
|
|
5713
|
+
readonly type: "function";
|
|
5714
|
+
readonly name: "totalSupply";
|
|
5715
|
+
readonly stateMutability: "view";
|
|
5716
|
+
readonly inputs: readonly [];
|
|
5717
|
+
readonly outputs: readonly [{
|
|
5718
|
+
readonly type: "uint256";
|
|
5719
|
+
}];
|
|
5720
|
+
}, {
|
|
5721
|
+
readonly type: "function";
|
|
5722
|
+
readonly name: "transfer";
|
|
5723
|
+
readonly stateMutability: "nonpayable";
|
|
5724
|
+
readonly inputs: readonly [{
|
|
5725
|
+
readonly name: "recipient";
|
|
5726
|
+
readonly type: "address";
|
|
5727
|
+
}, {
|
|
5728
|
+
readonly name: "amount";
|
|
5729
|
+
readonly type: "uint256";
|
|
5730
|
+
}];
|
|
5731
|
+
readonly outputs: readonly [{
|
|
5732
|
+
readonly type: "bool";
|
|
5733
|
+
}];
|
|
5734
|
+
}, {
|
|
5735
|
+
readonly type: "function";
|
|
5736
|
+
readonly name: "transferFrom";
|
|
5737
|
+
readonly stateMutability: "nonpayable";
|
|
5738
|
+
readonly inputs: readonly [{
|
|
5739
|
+
readonly name: "sender";
|
|
5740
|
+
readonly type: "address";
|
|
5741
|
+
}, {
|
|
5742
|
+
readonly name: "recipient";
|
|
5743
|
+
readonly type: "address";
|
|
5744
|
+
}, {
|
|
5745
|
+
readonly name: "amount";
|
|
5746
|
+
readonly type: "uint256";
|
|
5747
|
+
}];
|
|
5748
|
+
readonly outputs: readonly [{
|
|
5749
|
+
readonly type: "bool";
|
|
5750
|
+
}];
|
|
5751
|
+
}];
|
|
5752
|
+
readonly read: {
|
|
5753
|
+
readonly decimals: () => 6;
|
|
5754
|
+
};
|
|
5755
|
+
};
|
|
5756
|
+
readonly multicall3: {
|
|
5757
|
+
readonly address: "0xcA11bde05977b3631167028862bE2a173976CA11";
|
|
5758
|
+
readonly blockCreated: 0;
|
|
5759
|
+
};
|
|
5760
|
+
};
|
|
5761
|
+
ensTlds?: readonly string[] | undefined;
|
|
5762
|
+
id: 5042002;
|
|
5763
|
+
name: "Arc Testnet";
|
|
5764
|
+
nativeCurrency: {
|
|
5765
|
+
readonly name: "USDC";
|
|
5766
|
+
readonly symbol: "USDC";
|
|
5767
|
+
readonly decimals: 18;
|
|
5768
|
+
};
|
|
5769
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
5770
|
+
rpcUrls: {
|
|
5771
|
+
readonly default: {
|
|
5772
|
+
readonly http: readonly ["https://rpc.testnet.arc.network", "https://rpc.quicknode.testnet.arc.network", "https://rpc.blockdaemon.testnet.arc.network"];
|
|
5773
|
+
readonly webSocket: readonly ["wss://rpc.testnet.arc.network", "wss://rpc.quicknode.testnet.arc.network"];
|
|
5774
|
+
};
|
|
5775
|
+
};
|
|
5776
|
+
sourceId?: number | undefined | undefined;
|
|
5777
|
+
testnet: true;
|
|
5778
|
+
custom?: Record<string, unknown> | undefined;
|
|
5779
|
+
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
5780
|
+
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
5781
|
+
readonly blockchainId: "ARC-TESTNET";
|
|
5782
|
+
readonly blockchainVm: "EVM";
|
|
5783
|
+
readonly formatters?: undefined;
|
|
5426
5784
|
}, {
|
|
5427
5785
|
blockExplorers: {
|
|
5428
5786
|
readonly default: {
|
|
@@ -38,6 +38,7 @@ exports.DEFAULT_WALLET_SET_NAME = 'default';
|
|
|
38
38
|
exports.SUPPORTED_CHAINS = [
|
|
39
39
|
index_js_1.ARB,
|
|
40
40
|
index_js_1.ARB_SEPOLIA,
|
|
41
|
+
index_js_1.ARC_TESTNET,
|
|
41
42
|
index_js_1.AVAX,
|
|
42
43
|
index_js_1.AVAX_FUJI,
|
|
43
44
|
index_js_1.BASE,
|
|
@@ -53,6 +54,7 @@ exports.SUPPORTED_CHAINS = [
|
|
|
53
54
|
];
|
|
54
55
|
exports.SUPPORTED_CHAINS_FAUCET = [
|
|
55
56
|
index_js_1.ARB_SEPOLIA,
|
|
57
|
+
index_js_1.ARC_TESTNET,
|
|
56
58
|
index_js_1.AVAX_FUJI,
|
|
57
59
|
index_js_1.BASE_SEPOLIA,
|
|
58
60
|
index_js_1.ETH_SEPOLIA,
|
|
@@ -228,6 +228,8 @@ export declare class Provider extends BaseProvider {
|
|
|
228
228
|
gasPrice?: string;
|
|
229
229
|
baseFee?: string;
|
|
230
230
|
networkFee?: string;
|
|
231
|
+
networkFeeRaw?: string;
|
|
232
|
+
l1Fee?: string;
|
|
231
233
|
} | undefined;
|
|
232
234
|
medium: {
|
|
233
235
|
gasLimit: `${number}` | "" | undefined;
|
|
@@ -236,6 +238,8 @@ export declare class Provider extends BaseProvider {
|
|
|
236
238
|
gasPrice?: string;
|
|
237
239
|
baseFee?: string;
|
|
238
240
|
networkFee?: string;
|
|
241
|
+
networkFeeRaw?: string;
|
|
242
|
+
l1Fee?: string;
|
|
239
243
|
} | undefined;
|
|
240
244
|
low: {
|
|
241
245
|
gasLimit: `${number}` | "" | undefined;
|
|
@@ -244,6 +248,8 @@ export declare class Provider extends BaseProvider {
|
|
|
244
248
|
gasPrice?: string;
|
|
245
249
|
baseFee?: string;
|
|
246
250
|
networkFee?: string;
|
|
251
|
+
networkFeeRaw?: string;
|
|
252
|
+
l1Fee?: string;
|
|
247
253
|
} | undefined;
|
|
248
254
|
callGasLimit?: string;
|
|
249
255
|
verificationGasLimit?: string;
|
|
@@ -274,6 +280,8 @@ export declare class Provider extends BaseProvider {
|
|
|
274
280
|
gasPrice?: string;
|
|
275
281
|
baseFee?: string;
|
|
276
282
|
networkFee?: string;
|
|
283
|
+
networkFeeRaw?: string;
|
|
284
|
+
l1Fee?: string;
|
|
277
285
|
} | undefined;
|
|
278
286
|
medium: {
|
|
279
287
|
gasLimit: `${number}` | "" | undefined;
|
|
@@ -282,6 +290,8 @@ export declare class Provider extends BaseProvider {
|
|
|
282
290
|
gasPrice?: string;
|
|
283
291
|
baseFee?: string;
|
|
284
292
|
networkFee?: string;
|
|
293
|
+
networkFeeRaw?: string;
|
|
294
|
+
l1Fee?: string;
|
|
285
295
|
} | undefined;
|
|
286
296
|
low: {
|
|
287
297
|
gasLimit: `${number}` | "" | undefined;
|
|
@@ -290,6 +300,8 @@ export declare class Provider extends BaseProvider {
|
|
|
290
300
|
gasPrice?: string;
|
|
291
301
|
baseFee?: string;
|
|
292
302
|
networkFee?: string;
|
|
303
|
+
networkFeeRaw?: string;
|
|
304
|
+
l1Fee?: string;
|
|
293
305
|
} | undefined;
|
|
294
306
|
callGasLimit?: string;
|
|
295
307
|
verificationGasLimit?: string;
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EIP-2612 ABI extension
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: readonly [{
|
|
5
|
+
readonly type: "event";
|
|
6
|
+
readonly name: "Approval";
|
|
7
|
+
readonly inputs: readonly [{
|
|
8
|
+
readonly indexed: true;
|
|
9
|
+
readonly name: "owner";
|
|
10
|
+
readonly type: "address";
|
|
11
|
+
}, {
|
|
12
|
+
readonly indexed: true;
|
|
13
|
+
readonly name: "spender";
|
|
14
|
+
readonly type: "address";
|
|
15
|
+
}, {
|
|
16
|
+
readonly indexed: false;
|
|
17
|
+
readonly name: "value";
|
|
18
|
+
readonly type: "uint256";
|
|
19
|
+
}];
|
|
20
|
+
}, {
|
|
21
|
+
readonly type: "event";
|
|
22
|
+
readonly name: "Transfer";
|
|
23
|
+
readonly inputs: readonly [{
|
|
24
|
+
readonly indexed: true;
|
|
25
|
+
readonly name: "from";
|
|
26
|
+
readonly type: "address";
|
|
27
|
+
}, {
|
|
28
|
+
readonly indexed: true;
|
|
29
|
+
readonly name: "to";
|
|
30
|
+
readonly type: "address";
|
|
31
|
+
}, {
|
|
32
|
+
readonly indexed: false;
|
|
33
|
+
readonly name: "value";
|
|
34
|
+
readonly type: "uint256";
|
|
35
|
+
}];
|
|
36
|
+
}, {
|
|
37
|
+
readonly type: "function";
|
|
38
|
+
readonly name: "allowance";
|
|
39
|
+
readonly stateMutability: "view";
|
|
40
|
+
readonly inputs: readonly [{
|
|
41
|
+
readonly name: "owner";
|
|
42
|
+
readonly type: "address";
|
|
43
|
+
}, {
|
|
44
|
+
readonly name: "spender";
|
|
45
|
+
readonly type: "address";
|
|
46
|
+
}];
|
|
47
|
+
readonly outputs: readonly [{
|
|
48
|
+
readonly type: "uint256";
|
|
49
|
+
}];
|
|
50
|
+
}, {
|
|
51
|
+
readonly type: "function";
|
|
52
|
+
readonly name: "approve";
|
|
53
|
+
readonly stateMutability: "nonpayable";
|
|
54
|
+
readonly inputs: readonly [{
|
|
55
|
+
readonly name: "spender";
|
|
56
|
+
readonly type: "address";
|
|
57
|
+
}, {
|
|
58
|
+
readonly name: "amount";
|
|
59
|
+
readonly type: "uint256";
|
|
60
|
+
}];
|
|
61
|
+
readonly outputs: readonly [{
|
|
62
|
+
readonly type: "bool";
|
|
63
|
+
}];
|
|
64
|
+
}, {
|
|
65
|
+
readonly type: "function";
|
|
66
|
+
readonly name: "balanceOf";
|
|
67
|
+
readonly stateMutability: "view";
|
|
68
|
+
readonly inputs: readonly [{
|
|
69
|
+
readonly name: "account";
|
|
70
|
+
readonly type: "address";
|
|
71
|
+
}];
|
|
72
|
+
readonly outputs: readonly [{
|
|
73
|
+
readonly type: "uint256";
|
|
74
|
+
}];
|
|
75
|
+
}, {
|
|
76
|
+
readonly type: "function";
|
|
77
|
+
readonly name: "decimals";
|
|
78
|
+
readonly stateMutability: "view";
|
|
79
|
+
readonly inputs: readonly [];
|
|
80
|
+
readonly outputs: readonly [{
|
|
81
|
+
readonly type: "uint8";
|
|
82
|
+
}];
|
|
83
|
+
}, {
|
|
84
|
+
readonly type: "function";
|
|
85
|
+
readonly name: "name";
|
|
86
|
+
readonly stateMutability: "view";
|
|
87
|
+
readonly inputs: readonly [];
|
|
88
|
+
readonly outputs: readonly [{
|
|
89
|
+
readonly type: "string";
|
|
90
|
+
}];
|
|
91
|
+
}, {
|
|
92
|
+
readonly type: "function";
|
|
93
|
+
readonly name: "symbol";
|
|
94
|
+
readonly stateMutability: "view";
|
|
95
|
+
readonly inputs: readonly [];
|
|
96
|
+
readonly outputs: readonly [{
|
|
97
|
+
readonly type: "string";
|
|
98
|
+
}];
|
|
99
|
+
}, {
|
|
100
|
+
readonly type: "function";
|
|
101
|
+
readonly name: "totalSupply";
|
|
102
|
+
readonly stateMutability: "view";
|
|
103
|
+
readonly inputs: readonly [];
|
|
104
|
+
readonly outputs: readonly [{
|
|
105
|
+
readonly type: "uint256";
|
|
106
|
+
}];
|
|
107
|
+
}, {
|
|
108
|
+
readonly type: "function";
|
|
109
|
+
readonly name: "transfer";
|
|
110
|
+
readonly stateMutability: "nonpayable";
|
|
111
|
+
readonly inputs: readonly [{
|
|
112
|
+
readonly name: "recipient";
|
|
113
|
+
readonly type: "address";
|
|
114
|
+
}, {
|
|
115
|
+
readonly name: "amount";
|
|
116
|
+
readonly type: "uint256";
|
|
117
|
+
}];
|
|
118
|
+
readonly outputs: readonly [{
|
|
119
|
+
readonly type: "bool";
|
|
120
|
+
}];
|
|
121
|
+
}, {
|
|
122
|
+
readonly type: "function";
|
|
123
|
+
readonly name: "transferFrom";
|
|
124
|
+
readonly stateMutability: "nonpayable";
|
|
125
|
+
readonly inputs: readonly [{
|
|
126
|
+
readonly name: "sender";
|
|
127
|
+
readonly type: "address";
|
|
128
|
+
}, {
|
|
129
|
+
readonly name: "recipient";
|
|
130
|
+
readonly type: "address";
|
|
131
|
+
}, {
|
|
132
|
+
readonly name: "amount";
|
|
133
|
+
readonly type: "uint256";
|
|
134
|
+
}];
|
|
135
|
+
readonly outputs: readonly [{
|
|
136
|
+
readonly type: "bool";
|
|
137
|
+
}];
|
|
138
|
+
}, {
|
|
139
|
+
readonly inputs: readonly [{
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
readonly name: "owner";
|
|
142
|
+
readonly type: "address";
|
|
143
|
+
}];
|
|
144
|
+
readonly stateMutability: "view";
|
|
145
|
+
readonly type: "function";
|
|
146
|
+
readonly name: "nonces";
|
|
147
|
+
readonly outputs: readonly [{
|
|
148
|
+
readonly internalType: "uint256";
|
|
149
|
+
readonly name: "";
|
|
150
|
+
readonly type: "uint256";
|
|
151
|
+
}];
|
|
152
|
+
}, {
|
|
153
|
+
readonly inputs: readonly [];
|
|
154
|
+
readonly name: "version";
|
|
155
|
+
readonly outputs: readonly [{
|
|
156
|
+
readonly internalType: "string";
|
|
157
|
+
readonly name: "";
|
|
158
|
+
readonly type: "string";
|
|
159
|
+
}];
|
|
160
|
+
readonly stateMutability: "view";
|
|
161
|
+
readonly type: "function";
|
|
162
|
+
}, {
|
|
163
|
+
readonly inputs: readonly [{
|
|
164
|
+
readonly internalType: "address";
|
|
165
|
+
readonly name: "owner";
|
|
166
|
+
readonly type: "address";
|
|
167
|
+
}, {
|
|
168
|
+
readonly internalType: "address";
|
|
169
|
+
readonly name: "spender";
|
|
170
|
+
readonly type: "address";
|
|
171
|
+
}, {
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
readonly name: "value";
|
|
174
|
+
readonly type: "uint256";
|
|
175
|
+
}, {
|
|
176
|
+
readonly internalType: "uint256";
|
|
177
|
+
readonly name: "deadline";
|
|
178
|
+
readonly type: "uint256";
|
|
179
|
+
}, {
|
|
180
|
+
readonly internalType: "uint8";
|
|
181
|
+
readonly name: "v";
|
|
182
|
+
readonly type: "uint8";
|
|
183
|
+
}, {
|
|
184
|
+
readonly internalType: "bytes32";
|
|
185
|
+
readonly name: "r";
|
|
186
|
+
readonly type: "bytes32";
|
|
187
|
+
}, {
|
|
188
|
+
readonly internalType: "bytes32";
|
|
189
|
+
readonly name: "s";
|
|
190
|
+
readonly type: "bytes32";
|
|
191
|
+
}];
|
|
192
|
+
readonly name: "permit";
|
|
193
|
+
readonly outputs: readonly [];
|
|
194
|
+
readonly stateMutability: "nonpayable";
|
|
195
|
+
readonly type: "function";
|
|
196
|
+
}];
|
|
197
|
+
export default _default;
|