viem 2.27.1 → 2.27.3

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.
Files changed (144) hide show
  1. package/CHANGELOG.md +9 -1
  2. package/_cjs/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
  3. package/_cjs/account-abstraction/accounts/implementations/toSoladySmartAccount.js.map +1 -1
  4. package/_cjs/account-abstraction/accounts/toSmartAccount.js +2 -2
  5. package/_cjs/account-abstraction/accounts/toSmartAccount.js.map +1 -1
  6. package/_cjs/account-abstraction/actions/bundler/estimateUserOperationGas.js +1 -7
  7. package/_cjs/account-abstraction/actions/bundler/estimateUserOperationGas.js.map +1 -1
  8. package/_cjs/account-abstraction/actions/bundler/prepareUserOperation.js +1 -21
  9. package/_cjs/account-abstraction/actions/bundler/prepareUserOperation.js.map +1 -1
  10. package/_cjs/account-abstraction/actions/bundler/sendUserOperation.js +2 -2
  11. package/_cjs/account-abstraction/actions/bundler/sendUserOperation.js.map +1 -1
  12. package/_cjs/account-abstraction/actions/paymaster/getPaymasterData.js.map +1 -1
  13. package/_cjs/account-abstraction/constants/abis.js +1 -691
  14. package/_cjs/account-abstraction/constants/abis.js.map +1 -1
  15. package/_cjs/account-abstraction/constants/address.js +1 -2
  16. package/_cjs/account-abstraction/constants/address.js.map +1 -1
  17. package/_cjs/account-abstraction/index.js +2 -6
  18. package/_cjs/account-abstraction/index.js.map +1 -1
  19. package/_cjs/account-abstraction/utils/formatters/userOperationRequest.js +0 -19
  20. package/_cjs/account-abstraction/utils/formatters/userOperationRequest.js.map +1 -1
  21. package/_cjs/account-abstraction/utils/userOperation/getUserOperationHash.js +0 -70
  22. package/_cjs/account-abstraction/utils/userOperation/getUserOperationHash.js.map +1 -1
  23. package/_cjs/chains/definitions/gunz.js +29 -0
  24. package/_cjs/chains/definitions/gunz.js.map +1 -0
  25. package/_cjs/chains/index.js +10 -8
  26. package/_cjs/chains/index.js.map +1 -1
  27. package/_cjs/constants/address.js +1 -2
  28. package/_cjs/constants/address.js.map +1 -1
  29. package/_cjs/errors/version.js +1 -1
  30. package/_esm/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
  31. package/_esm/account-abstraction/accounts/implementations/toSoladySmartAccount.js.map +1 -1
  32. package/_esm/account-abstraction/accounts/toSmartAccount.js +2 -2
  33. package/_esm/account-abstraction/accounts/toSmartAccount.js.map +1 -1
  34. package/_esm/account-abstraction/actions/bundler/estimateUserOperationGas.js +1 -7
  35. package/_esm/account-abstraction/actions/bundler/estimateUserOperationGas.js.map +1 -1
  36. package/_esm/account-abstraction/actions/bundler/prepareUserOperation.js +1 -21
  37. package/_esm/account-abstraction/actions/bundler/prepareUserOperation.js.map +1 -1
  38. package/_esm/account-abstraction/actions/bundler/sendUserOperation.js +2 -2
  39. package/_esm/account-abstraction/actions/bundler/sendUserOperation.js.map +1 -1
  40. package/_esm/account-abstraction/actions/paymaster/getPaymasterData.js.map +1 -1
  41. package/_esm/account-abstraction/constants/abis.js +0 -690
  42. package/_esm/account-abstraction/constants/abis.js.map +1 -1
  43. package/_esm/account-abstraction/constants/address.js +0 -1
  44. package/_esm/account-abstraction/constants/address.js.map +1 -1
  45. package/_esm/account-abstraction/index.js +2 -3
  46. package/_esm/account-abstraction/index.js.map +1 -1
  47. package/_esm/account-abstraction/utils/formatters/userOperationRequest.js +0 -19
  48. package/_esm/account-abstraction/utils/formatters/userOperationRequest.js.map +1 -1
  49. package/_esm/account-abstraction/utils/userOperation/getUserOperationHash.js +0 -70
  50. package/_esm/account-abstraction/utils/userOperation/getUserOperationHash.js.map +1 -1
  51. package/_esm/chains/definitions/gunz.js +26 -0
  52. package/_esm/chains/definitions/gunz.js.map +1 -0
  53. package/_esm/chains/index.js +1 -0
  54. package/_esm/chains/index.js.map +1 -1
  55. package/_esm/constants/address.js +0 -1
  56. package/_esm/constants/address.js.map +1 -1
  57. package/_esm/errors/version.js +1 -1
  58. package/_types/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.d.ts +2 -1
  59. package/_types/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.d.ts.map +1 -1
  60. package/_types/account-abstraction/accounts/implementations/toSoladySmartAccount.d.ts +2 -1
  61. package/_types/account-abstraction/accounts/implementations/toSoladySmartAccount.d.ts.map +1 -1
  62. package/_types/account-abstraction/accounts/types.d.ts +3 -16
  63. package/_types/account-abstraction/accounts/types.d.ts.map +1 -1
  64. package/_types/account-abstraction/actions/bundler/estimateUserOperationGas.d.ts.map +1 -1
  65. package/_types/account-abstraction/actions/bundler/prepareUserOperation.d.ts +6 -23
  66. package/_types/account-abstraction/actions/bundler/prepareUserOperation.d.ts.map +1 -1
  67. package/_types/account-abstraction/actions/paymaster/getPaymasterData.d.ts +1 -1
  68. package/_types/account-abstraction/actions/paymaster/getPaymasterData.d.ts.map +1 -1
  69. package/_types/account-abstraction/constants/abis.d.ts +0 -830
  70. package/_types/account-abstraction/constants/abis.d.ts.map +1 -1
  71. package/_types/account-abstraction/constants/address.d.ts +0 -1
  72. package/_types/account-abstraction/constants/address.d.ts.map +1 -1
  73. package/_types/account-abstraction/index.d.ts +2 -3
  74. package/_types/account-abstraction/index.d.ts.map +1 -1
  75. package/_types/account-abstraction/types/entryPointVersion.d.ts +1 -1
  76. package/_types/account-abstraction/types/entryPointVersion.d.ts.map +1 -1
  77. package/_types/account-abstraction/types/rpc.d.ts +3 -6
  78. package/_types/account-abstraction/types/rpc.d.ts.map +1 -1
  79. package/_types/account-abstraction/types/userOperation.d.ts +5 -49
  80. package/_types/account-abstraction/types/userOperation.d.ts.map +1 -1
  81. package/_types/account-abstraction/utils/formatters/userOperationRequest.d.ts.map +1 -1
  82. package/_types/account-abstraction/utils/userOperation/getUserOperationHash.d.ts.map +1 -1
  83. package/_types/celo/chainConfig.d.ts +14 -14
  84. package/_types/celo/formatters.d.ts +7 -7
  85. package/_types/chains/definitions/abstract.d.ts +3 -3
  86. package/_types/chains/definitions/abstractTestnet.d.ts +3 -3
  87. package/_types/chains/definitions/celo.d.ts +14 -14
  88. package/_types/chains/definitions/celoAlfajores.d.ts +14 -14
  89. package/_types/chains/definitions/gunz.d.ts +34 -0
  90. package/_types/chains/definitions/gunz.d.ts.map +1 -0
  91. package/_types/chains/definitions/playfiAlbireo.d.ts +3 -3
  92. package/_types/chains/definitions/sophon.d.ts +3 -3
  93. package/_types/chains/definitions/sophonTestnet.d.ts +3 -3
  94. package/_types/chains/definitions/treasure.d.ts +3 -3
  95. package/_types/chains/definitions/treasureTopaz.d.ts +3 -3
  96. package/_types/chains/definitions/zksync.d.ts +3 -3
  97. package/_types/chains/definitions/zksyncInMemoryNode.d.ts +3 -3
  98. package/_types/chains/definitions/zksyncLocalCustomHyperchain.d.ts +3 -3
  99. package/_types/chains/definitions/zksyncLocalHyperchain.d.ts +3 -3
  100. package/_types/chains/definitions/zksyncLocalNode.d.ts +3 -3
  101. package/_types/chains/definitions/zksyncSepoliaTestnet.d.ts +3 -3
  102. package/_types/chains/index.d.ts +1 -0
  103. package/_types/chains/index.d.ts.map +1 -1
  104. package/_types/constants/address.d.ts +0 -1
  105. package/_types/constants/address.d.ts.map +1 -1
  106. package/_types/errors/version.d.ts +1 -1
  107. package/_types/types/authorization.d.ts +1 -1
  108. package/_types/types/authorization.d.ts.map +1 -1
  109. package/_types/types/misc.d.ts +7 -7
  110. package/_types/types/misc.d.ts.map +1 -1
  111. package/_types/utils/formatters/transaction.d.ts +1 -1
  112. package/_types/utils/formatters/transactionRequest.d.ts +1 -1
  113. package/_types/zksync/chainConfig.d.ts +3 -3
  114. package/_types/zksync/formatters.d.ts +3 -3
  115. package/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.ts +2 -1
  116. package/account-abstraction/accounts/implementations/toSoladySmartAccount.ts +2 -1
  117. package/account-abstraction/accounts/toSmartAccount.ts +2 -2
  118. package/account-abstraction/accounts/types.ts +2 -26
  119. package/account-abstraction/actions/bundler/estimateUserOperationGas.ts +1 -8
  120. package/account-abstraction/actions/bundler/prepareUserOperation.ts +2 -56
  121. package/account-abstraction/actions/bundler/sendUserOperation.ts +2 -2
  122. package/account-abstraction/actions/paymaster/getPaymasterData.ts +0 -24
  123. package/account-abstraction/constants/abis.ts +0 -691
  124. package/account-abstraction/constants/address.ts +0 -2
  125. package/account-abstraction/index.ts +1 -12
  126. package/account-abstraction/types/entryPointVersion.ts +1 -1
  127. package/account-abstraction/types/rpc.ts +3 -6
  128. package/account-abstraction/types/userOperation.ts +3 -69
  129. package/account-abstraction/utils/formatters/userOperationRequest.ts +0 -21
  130. package/account-abstraction/utils/userOperation/getUserOperationHash.ts +0 -79
  131. package/chains/definitions/gunz.ts +26 -0
  132. package/chains/index.ts +1 -0
  133. package/constants/address.ts +0 -2
  134. package/errors/version.ts +1 -1
  135. package/package.json +3 -3
  136. package/types/authorization.ts +1 -1
  137. package/types/misc.ts +7 -7
  138. package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +0 -313
  139. package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js.map +0 -1
  140. package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +0 -327
  141. package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js.map +0 -1
  142. package/_types/account-abstraction/accounts/implementations/toSimple7702SmartAccount.d.ts +0 -311
  143. package/_types/account-abstraction/accounts/implementations/toSimple7702SmartAccount.d.ts.map +0 -1
  144. package/account-abstraction/accounts/implementations/toSimple7702SmartAccount.ts +0 -382
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.entryPoint08Abi = exports.entryPoint07Abi = exports.entryPoint06Abi = void 0;
3
+ exports.entryPoint07Abi = exports.entryPoint06Abi = void 0;
4
4
  exports.entryPoint06Abi = [
5
5
  {
6
6
  inputs: [
@@ -1315,694 +1315,4 @@ exports.entryPoint07Abi = [
1315
1315
  },
1316
1316
  { stateMutability: 'payable', type: 'receive' },
1317
1317
  ];
1318
- exports.entryPoint08Abi = [
1319
- { inputs: [], stateMutability: 'nonpayable', type: 'constructor' },
1320
- {
1321
- inputs: [
1322
- { internalType: 'bool', name: 'success', type: 'bool' },
1323
- { internalType: 'bytes', name: 'ret', type: 'bytes' },
1324
- ],
1325
- name: 'DelegateAndRevert',
1326
- type: 'error',
1327
- },
1328
- {
1329
- inputs: [
1330
- { internalType: 'uint256', name: 'opIndex', type: 'uint256' },
1331
- { internalType: 'string', name: 'reason', type: 'string' },
1332
- ],
1333
- name: 'FailedOp',
1334
- type: 'error',
1335
- },
1336
- {
1337
- inputs: [
1338
- { internalType: 'uint256', name: 'opIndex', type: 'uint256' },
1339
- { internalType: 'string', name: 'reason', type: 'string' },
1340
- { internalType: 'bytes', name: 'inner', type: 'bytes' },
1341
- ],
1342
- name: 'FailedOpWithRevert',
1343
- type: 'error',
1344
- },
1345
- { inputs: [], name: 'InvalidShortString', type: 'error' },
1346
- {
1347
- inputs: [{ internalType: 'bytes', name: 'returnData', type: 'bytes' }],
1348
- name: 'PostOpReverted',
1349
- type: 'error',
1350
- },
1351
- { inputs: [], name: 'ReentrancyGuardReentrantCall', type: 'error' },
1352
- {
1353
- inputs: [{ internalType: 'address', name: 'sender', type: 'address' }],
1354
- name: 'SenderAddressResult',
1355
- type: 'error',
1356
- },
1357
- {
1358
- inputs: [{ internalType: 'address', name: 'aggregator', type: 'address' }],
1359
- name: 'SignatureValidationFailed',
1360
- type: 'error',
1361
- },
1362
- {
1363
- inputs: [{ internalType: 'string', name: 'str', type: 'string' }],
1364
- name: 'StringTooLong',
1365
- type: 'error',
1366
- },
1367
- {
1368
- anonymous: false,
1369
- inputs: [
1370
- {
1371
- indexed: true,
1372
- internalType: 'bytes32',
1373
- name: 'userOpHash',
1374
- type: 'bytes32',
1375
- },
1376
- {
1377
- indexed: true,
1378
- internalType: 'address',
1379
- name: 'sender',
1380
- type: 'address',
1381
- },
1382
- {
1383
- indexed: false,
1384
- internalType: 'address',
1385
- name: 'factory',
1386
- type: 'address',
1387
- },
1388
- {
1389
- indexed: false,
1390
- internalType: 'address',
1391
- name: 'paymaster',
1392
- type: 'address',
1393
- },
1394
- ],
1395
- name: 'AccountDeployed',
1396
- type: 'event',
1397
- },
1398
- { anonymous: false, inputs: [], name: 'BeforeExecution', type: 'event' },
1399
- {
1400
- anonymous: false,
1401
- inputs: [
1402
- {
1403
- indexed: true,
1404
- internalType: 'address',
1405
- name: 'account',
1406
- type: 'address',
1407
- },
1408
- {
1409
- indexed: false,
1410
- internalType: 'uint256',
1411
- name: 'totalDeposit',
1412
- type: 'uint256',
1413
- },
1414
- ],
1415
- name: 'Deposited',
1416
- type: 'event',
1417
- },
1418
- { anonymous: false, inputs: [], name: 'EIP712DomainChanged', type: 'event' },
1419
- {
1420
- anonymous: false,
1421
- inputs: [
1422
- {
1423
- indexed: true,
1424
- internalType: 'bytes32',
1425
- name: 'userOpHash',
1426
- type: 'bytes32',
1427
- },
1428
- {
1429
- indexed: true,
1430
- internalType: 'address',
1431
- name: 'sender',
1432
- type: 'address',
1433
- },
1434
- {
1435
- indexed: false,
1436
- internalType: 'uint256',
1437
- name: 'nonce',
1438
- type: 'uint256',
1439
- },
1440
- {
1441
- indexed: false,
1442
- internalType: 'bytes',
1443
- name: 'revertReason',
1444
- type: 'bytes',
1445
- },
1446
- ],
1447
- name: 'PostOpRevertReason',
1448
- type: 'event',
1449
- },
1450
- {
1451
- anonymous: false,
1452
- inputs: [
1453
- {
1454
- indexed: true,
1455
- internalType: 'address',
1456
- name: 'aggregator',
1457
- type: 'address',
1458
- },
1459
- ],
1460
- name: 'SignatureAggregatorChanged',
1461
- type: 'event',
1462
- },
1463
- {
1464
- anonymous: false,
1465
- inputs: [
1466
- {
1467
- indexed: true,
1468
- internalType: 'address',
1469
- name: 'account',
1470
- type: 'address',
1471
- },
1472
- {
1473
- indexed: false,
1474
- internalType: 'uint256',
1475
- name: 'totalStaked',
1476
- type: 'uint256',
1477
- },
1478
- {
1479
- indexed: false,
1480
- internalType: 'uint256',
1481
- name: 'unstakeDelaySec',
1482
- type: 'uint256',
1483
- },
1484
- ],
1485
- name: 'StakeLocked',
1486
- type: 'event',
1487
- },
1488
- {
1489
- anonymous: false,
1490
- inputs: [
1491
- {
1492
- indexed: true,
1493
- internalType: 'address',
1494
- name: 'account',
1495
- type: 'address',
1496
- },
1497
- {
1498
- indexed: false,
1499
- internalType: 'uint256',
1500
- name: 'withdrawTime',
1501
- type: 'uint256',
1502
- },
1503
- ],
1504
- name: 'StakeUnlocked',
1505
- type: 'event',
1506
- },
1507
- {
1508
- anonymous: false,
1509
- inputs: [
1510
- {
1511
- indexed: true,
1512
- internalType: 'address',
1513
- name: 'account',
1514
- type: 'address',
1515
- },
1516
- {
1517
- indexed: false,
1518
- internalType: 'address',
1519
- name: 'withdrawAddress',
1520
- type: 'address',
1521
- },
1522
- {
1523
- indexed: false,
1524
- internalType: 'uint256',
1525
- name: 'amount',
1526
- type: 'uint256',
1527
- },
1528
- ],
1529
- name: 'StakeWithdrawn',
1530
- type: 'event',
1531
- },
1532
- {
1533
- anonymous: false,
1534
- inputs: [
1535
- {
1536
- indexed: true,
1537
- internalType: 'bytes32',
1538
- name: 'userOpHash',
1539
- type: 'bytes32',
1540
- },
1541
- {
1542
- indexed: true,
1543
- internalType: 'address',
1544
- name: 'sender',
1545
- type: 'address',
1546
- },
1547
- {
1548
- indexed: true,
1549
- internalType: 'address',
1550
- name: 'paymaster',
1551
- type: 'address',
1552
- },
1553
- {
1554
- indexed: false,
1555
- internalType: 'uint256',
1556
- name: 'nonce',
1557
- type: 'uint256',
1558
- },
1559
- { indexed: false, internalType: 'bool', name: 'success', type: 'bool' },
1560
- {
1561
- indexed: false,
1562
- internalType: 'uint256',
1563
- name: 'actualGasCost',
1564
- type: 'uint256',
1565
- },
1566
- {
1567
- indexed: false,
1568
- internalType: 'uint256',
1569
- name: 'actualGasUsed',
1570
- type: 'uint256',
1571
- },
1572
- ],
1573
- name: 'UserOperationEvent',
1574
- type: 'event',
1575
- },
1576
- {
1577
- anonymous: false,
1578
- inputs: [
1579
- {
1580
- indexed: true,
1581
- internalType: 'bytes32',
1582
- name: 'userOpHash',
1583
- type: 'bytes32',
1584
- },
1585
- {
1586
- indexed: true,
1587
- internalType: 'address',
1588
- name: 'sender',
1589
- type: 'address',
1590
- },
1591
- {
1592
- indexed: false,
1593
- internalType: 'uint256',
1594
- name: 'nonce',
1595
- type: 'uint256',
1596
- },
1597
- ],
1598
- name: 'UserOperationPrefundTooLow',
1599
- type: 'event',
1600
- },
1601
- {
1602
- anonymous: false,
1603
- inputs: [
1604
- {
1605
- indexed: true,
1606
- internalType: 'bytes32',
1607
- name: 'userOpHash',
1608
- type: 'bytes32',
1609
- },
1610
- {
1611
- indexed: true,
1612
- internalType: 'address',
1613
- name: 'sender',
1614
- type: 'address',
1615
- },
1616
- {
1617
- indexed: false,
1618
- internalType: 'uint256',
1619
- name: 'nonce',
1620
- type: 'uint256',
1621
- },
1622
- {
1623
- indexed: false,
1624
- internalType: 'bytes',
1625
- name: 'revertReason',
1626
- type: 'bytes',
1627
- },
1628
- ],
1629
- name: 'UserOperationRevertReason',
1630
- type: 'event',
1631
- },
1632
- {
1633
- anonymous: false,
1634
- inputs: [
1635
- {
1636
- indexed: true,
1637
- internalType: 'address',
1638
- name: 'account',
1639
- type: 'address',
1640
- },
1641
- {
1642
- indexed: false,
1643
- internalType: 'address',
1644
- name: 'withdrawAddress',
1645
- type: 'address',
1646
- },
1647
- {
1648
- indexed: false,
1649
- internalType: 'uint256',
1650
- name: 'amount',
1651
- type: 'uint256',
1652
- },
1653
- ],
1654
- name: 'Withdrawn',
1655
- type: 'event',
1656
- },
1657
- {
1658
- inputs: [
1659
- { internalType: 'uint32', name: 'unstakeDelaySec', type: 'uint32' },
1660
- ],
1661
- name: 'addStake',
1662
- outputs: [],
1663
- stateMutability: 'payable',
1664
- type: 'function',
1665
- },
1666
- {
1667
- inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
1668
- name: 'balanceOf',
1669
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1670
- stateMutability: 'view',
1671
- type: 'function',
1672
- },
1673
- {
1674
- inputs: [
1675
- { internalType: 'address', name: 'target', type: 'address' },
1676
- { internalType: 'bytes', name: 'data', type: 'bytes' },
1677
- ],
1678
- name: 'delegateAndRevert',
1679
- outputs: [],
1680
- stateMutability: 'nonpayable',
1681
- type: 'function',
1682
- },
1683
- {
1684
- inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
1685
- name: 'depositTo',
1686
- outputs: [],
1687
- stateMutability: 'payable',
1688
- type: 'function',
1689
- },
1690
- {
1691
- inputs: [],
1692
- name: 'eip712Domain',
1693
- outputs: [
1694
- { internalType: 'bytes1', name: 'fields', type: 'bytes1' },
1695
- { internalType: 'string', name: 'name', type: 'string' },
1696
- { internalType: 'string', name: 'version', type: 'string' },
1697
- { internalType: 'uint256', name: 'chainId', type: 'uint256' },
1698
- { internalType: 'address', name: 'verifyingContract', type: 'address' },
1699
- { internalType: 'bytes32', name: 'salt', type: 'bytes32' },
1700
- { internalType: 'uint256[]', name: 'extensions', type: 'uint256[]' },
1701
- ],
1702
- stateMutability: 'view',
1703
- type: 'function',
1704
- },
1705
- {
1706
- inputs: [{ internalType: 'address', name: 'account', type: 'address' }],
1707
- name: 'getDepositInfo',
1708
- outputs: [
1709
- {
1710
- components: [
1711
- { internalType: 'uint256', name: 'deposit', type: 'uint256' },
1712
- { internalType: 'bool', name: 'staked', type: 'bool' },
1713
- { internalType: 'uint112', name: 'stake', type: 'uint112' },
1714
- { internalType: 'uint32', name: 'unstakeDelaySec', type: 'uint32' },
1715
- { internalType: 'uint48', name: 'withdrawTime', type: 'uint48' },
1716
- ],
1717
- internalType: 'struct IStakeManager.DepositInfo',
1718
- name: 'info',
1719
- type: 'tuple',
1720
- },
1721
- ],
1722
- stateMutability: 'view',
1723
- type: 'function',
1724
- },
1725
- {
1726
- inputs: [],
1727
- name: 'getDomainSeparatorV4',
1728
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
1729
- stateMutability: 'view',
1730
- type: 'function',
1731
- },
1732
- {
1733
- inputs: [
1734
- { internalType: 'address', name: 'sender', type: 'address' },
1735
- { internalType: 'uint192', name: 'key', type: 'uint192' },
1736
- ],
1737
- name: 'getNonce',
1738
- outputs: [{ internalType: 'uint256', name: 'nonce', type: 'uint256' }],
1739
- stateMutability: 'view',
1740
- type: 'function',
1741
- },
1742
- {
1743
- inputs: [],
1744
- name: 'getPackedUserOpTypeHash',
1745
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
1746
- stateMutability: 'pure',
1747
- type: 'function',
1748
- },
1749
- {
1750
- inputs: [{ internalType: 'bytes', name: 'initCode', type: 'bytes' }],
1751
- name: 'getSenderAddress',
1752
- outputs: [],
1753
- stateMutability: 'nonpayable',
1754
- type: 'function',
1755
- },
1756
- {
1757
- inputs: [
1758
- {
1759
- components: [
1760
- { internalType: 'address', name: 'sender', type: 'address' },
1761
- { internalType: 'uint256', name: 'nonce', type: 'uint256' },
1762
- { internalType: 'bytes', name: 'initCode', type: 'bytes' },
1763
- { internalType: 'bytes', name: 'callData', type: 'bytes' },
1764
- {
1765
- internalType: 'bytes32',
1766
- name: 'accountGasLimits',
1767
- type: 'bytes32',
1768
- },
1769
- {
1770
- internalType: 'uint256',
1771
- name: 'preVerificationGas',
1772
- type: 'uint256',
1773
- },
1774
- { internalType: 'bytes32', name: 'gasFees', type: 'bytes32' },
1775
- { internalType: 'bytes', name: 'paymasterAndData', type: 'bytes' },
1776
- { internalType: 'bytes', name: 'signature', type: 'bytes' },
1777
- ],
1778
- internalType: 'struct PackedUserOperation',
1779
- name: 'userOp',
1780
- type: 'tuple',
1781
- },
1782
- ],
1783
- name: 'getUserOpHash',
1784
- outputs: [{ internalType: 'bytes32', name: '', type: 'bytes32' }],
1785
- stateMutability: 'view',
1786
- type: 'function',
1787
- },
1788
- {
1789
- inputs: [
1790
- {
1791
- components: [
1792
- {
1793
- components: [
1794
- { internalType: 'address', name: 'sender', type: 'address' },
1795
- { internalType: 'uint256', name: 'nonce', type: 'uint256' },
1796
- { internalType: 'bytes', name: 'initCode', type: 'bytes' },
1797
- { internalType: 'bytes', name: 'callData', type: 'bytes' },
1798
- {
1799
- internalType: 'bytes32',
1800
- name: 'accountGasLimits',
1801
- type: 'bytes32',
1802
- },
1803
- {
1804
- internalType: 'uint256',
1805
- name: 'preVerificationGas',
1806
- type: 'uint256',
1807
- },
1808
- { internalType: 'bytes32', name: 'gasFees', type: 'bytes32' },
1809
- {
1810
- internalType: 'bytes',
1811
- name: 'paymasterAndData',
1812
- type: 'bytes',
1813
- },
1814
- { internalType: 'bytes', name: 'signature', type: 'bytes' },
1815
- ],
1816
- internalType: 'struct PackedUserOperation[]',
1817
- name: 'userOps',
1818
- type: 'tuple[]',
1819
- },
1820
- {
1821
- internalType: 'contract IAggregator',
1822
- name: 'aggregator',
1823
- type: 'address',
1824
- },
1825
- { internalType: 'bytes', name: 'signature', type: 'bytes' },
1826
- ],
1827
- internalType: 'struct IEntryPoint.UserOpsPerAggregator[]',
1828
- name: 'opsPerAggregator',
1829
- type: 'tuple[]',
1830
- },
1831
- { internalType: 'address payable', name: 'beneficiary', type: 'address' },
1832
- ],
1833
- name: 'handleAggregatedOps',
1834
- outputs: [],
1835
- stateMutability: 'nonpayable',
1836
- type: 'function',
1837
- },
1838
- {
1839
- inputs: [
1840
- {
1841
- components: [
1842
- { internalType: 'address', name: 'sender', type: 'address' },
1843
- { internalType: 'uint256', name: 'nonce', type: 'uint256' },
1844
- { internalType: 'bytes', name: 'initCode', type: 'bytes' },
1845
- { internalType: 'bytes', name: 'callData', type: 'bytes' },
1846
- {
1847
- internalType: 'bytes32',
1848
- name: 'accountGasLimits',
1849
- type: 'bytes32',
1850
- },
1851
- {
1852
- internalType: 'uint256',
1853
- name: 'preVerificationGas',
1854
- type: 'uint256',
1855
- },
1856
- { internalType: 'bytes32', name: 'gasFees', type: 'bytes32' },
1857
- { internalType: 'bytes', name: 'paymasterAndData', type: 'bytes' },
1858
- { internalType: 'bytes', name: 'signature', type: 'bytes' },
1859
- ],
1860
- internalType: 'struct PackedUserOperation[]',
1861
- name: 'ops',
1862
- type: 'tuple[]',
1863
- },
1864
- { internalType: 'address payable', name: 'beneficiary', type: 'address' },
1865
- ],
1866
- name: 'handleOps',
1867
- outputs: [],
1868
- stateMutability: 'nonpayable',
1869
- type: 'function',
1870
- },
1871
- {
1872
- inputs: [{ internalType: 'uint192', name: 'key', type: 'uint192' }],
1873
- name: 'incrementNonce',
1874
- outputs: [],
1875
- stateMutability: 'nonpayable',
1876
- type: 'function',
1877
- },
1878
- {
1879
- inputs: [
1880
- { internalType: 'bytes', name: 'callData', type: 'bytes' },
1881
- {
1882
- components: [
1883
- {
1884
- components: [
1885
- { internalType: 'address', name: 'sender', type: 'address' },
1886
- { internalType: 'uint256', name: 'nonce', type: 'uint256' },
1887
- {
1888
- internalType: 'uint256',
1889
- name: 'verificationGasLimit',
1890
- type: 'uint256',
1891
- },
1892
- {
1893
- internalType: 'uint256',
1894
- name: 'callGasLimit',
1895
- type: 'uint256',
1896
- },
1897
- {
1898
- internalType: 'uint256',
1899
- name: 'paymasterVerificationGasLimit',
1900
- type: 'uint256',
1901
- },
1902
- {
1903
- internalType: 'uint256',
1904
- name: 'paymasterPostOpGasLimit',
1905
- type: 'uint256',
1906
- },
1907
- {
1908
- internalType: 'uint256',
1909
- name: 'preVerificationGas',
1910
- type: 'uint256',
1911
- },
1912
- { internalType: 'address', name: 'paymaster', type: 'address' },
1913
- {
1914
- internalType: 'uint256',
1915
- name: 'maxFeePerGas',
1916
- type: 'uint256',
1917
- },
1918
- {
1919
- internalType: 'uint256',
1920
- name: 'maxPriorityFeePerGas',
1921
- type: 'uint256',
1922
- },
1923
- ],
1924
- internalType: 'struct EntryPoint.MemoryUserOp',
1925
- name: 'mUserOp',
1926
- type: 'tuple',
1927
- },
1928
- { internalType: 'bytes32', name: 'userOpHash', type: 'bytes32' },
1929
- { internalType: 'uint256', name: 'prefund', type: 'uint256' },
1930
- { internalType: 'uint256', name: 'contextOffset', type: 'uint256' },
1931
- { internalType: 'uint256', name: 'preOpGas', type: 'uint256' },
1932
- ],
1933
- internalType: 'struct EntryPoint.UserOpInfo',
1934
- name: 'opInfo',
1935
- type: 'tuple',
1936
- },
1937
- { internalType: 'bytes', name: 'context', type: 'bytes' },
1938
- ],
1939
- name: 'innerHandleOp',
1940
- outputs: [
1941
- { internalType: 'uint256', name: 'actualGasCost', type: 'uint256' },
1942
- ],
1943
- stateMutability: 'nonpayable',
1944
- type: 'function',
1945
- },
1946
- {
1947
- inputs: [
1948
- { internalType: 'address', name: '', type: 'address' },
1949
- { internalType: 'uint192', name: '', type: 'uint192' },
1950
- ],
1951
- name: 'nonceSequenceNumber',
1952
- outputs: [{ internalType: 'uint256', name: '', type: 'uint256' }],
1953
- stateMutability: 'view',
1954
- type: 'function',
1955
- },
1956
- {
1957
- inputs: [],
1958
- name: 'senderCreator',
1959
- outputs: [
1960
- { internalType: 'contract ISenderCreator', name: '', type: 'address' },
1961
- ],
1962
- stateMutability: 'view',
1963
- type: 'function',
1964
- },
1965
- {
1966
- inputs: [{ internalType: 'bytes4', name: 'interfaceId', type: 'bytes4' }],
1967
- name: 'supportsInterface',
1968
- outputs: [{ internalType: 'bool', name: '', type: 'bool' }],
1969
- stateMutability: 'view',
1970
- type: 'function',
1971
- },
1972
- {
1973
- inputs: [],
1974
- name: 'unlockStake',
1975
- outputs: [],
1976
- stateMutability: 'nonpayable',
1977
- type: 'function',
1978
- },
1979
- {
1980
- inputs: [
1981
- {
1982
- internalType: 'address payable',
1983
- name: 'withdrawAddress',
1984
- type: 'address',
1985
- },
1986
- ],
1987
- name: 'withdrawStake',
1988
- outputs: [],
1989
- stateMutability: 'nonpayable',
1990
- type: 'function',
1991
- },
1992
- {
1993
- inputs: [
1994
- {
1995
- internalType: 'address payable',
1996
- name: 'withdrawAddress',
1997
- type: 'address',
1998
- },
1999
- { internalType: 'uint256', name: 'withdrawAmount', type: 'uint256' },
2000
- ],
2001
- name: 'withdrawTo',
2002
- outputs: [],
2003
- stateMutability: 'nonpayable',
2004
- type: 'function',
2005
- },
2006
- { stateMutability: 'payable', type: 'receive' },
2007
- ];
2008
1318
  //# sourceMappingURL=abis.js.map