viem 2.27.1-canary-20250416051407 → 2.27.1
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/CHANGELOG.md +3 -1
- package/_cjs/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js +17 -10
- package/_cjs/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
- package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +313 -0
- package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js.map +1 -0
- package/_cjs/account-abstraction/accounts/implementations/toSoladySmartAccount.js.map +1 -1
- package/_cjs/account-abstraction/accounts/toSmartAccount.js +2 -2
- package/_cjs/account-abstraction/accounts/toSmartAccount.js.map +1 -1
- package/_cjs/account-abstraction/actions/bundler/estimateUserOperationGas.js +7 -1
- package/_cjs/account-abstraction/actions/bundler/estimateUserOperationGas.js.map +1 -1
- package/_cjs/account-abstraction/actions/bundler/prepareUserOperation.js +21 -1
- package/_cjs/account-abstraction/actions/bundler/prepareUserOperation.js.map +1 -1
- package/_cjs/account-abstraction/actions/bundler/sendUserOperation.js +2 -2
- package/_cjs/account-abstraction/actions/bundler/sendUserOperation.js.map +1 -1
- package/_cjs/account-abstraction/actions/paymaster/getPaymasterData.js.map +1 -1
- package/_cjs/account-abstraction/constants/abis.js +691 -1
- package/_cjs/account-abstraction/constants/abis.js.map +1 -1
- package/_cjs/account-abstraction/constants/address.js +2 -1
- package/_cjs/account-abstraction/constants/address.js.map +1 -1
- package/_cjs/account-abstraction/index.js +6 -2
- package/_cjs/account-abstraction/index.js.map +1 -1
- package/_cjs/account-abstraction/utils/formatters/userOperationRequest.js +19 -0
- package/_cjs/account-abstraction/utils/formatters/userOperationRequest.js.map +1 -1
- package/_cjs/account-abstraction/utils/userOperation/getUserOperationHash.js +70 -0
- package/_cjs/account-abstraction/utils/userOperation/getUserOperationHash.js.map +1 -1
- package/_cjs/constants/address.js +2 -1
- package/_cjs/constants/address.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_esm/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js +16 -9
- package/_esm/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
- package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +327 -0
- package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js.map +1 -0
- package/_esm/account-abstraction/accounts/implementations/toSoladySmartAccount.js.map +1 -1
- package/_esm/account-abstraction/accounts/toSmartAccount.js +2 -2
- package/_esm/account-abstraction/accounts/toSmartAccount.js.map +1 -1
- package/_esm/account-abstraction/actions/bundler/estimateUserOperationGas.js +7 -1
- package/_esm/account-abstraction/actions/bundler/estimateUserOperationGas.js.map +1 -1
- package/_esm/account-abstraction/actions/bundler/prepareUserOperation.js +21 -1
- package/_esm/account-abstraction/actions/bundler/prepareUserOperation.js.map +1 -1
- package/_esm/account-abstraction/actions/bundler/sendUserOperation.js +2 -2
- package/_esm/account-abstraction/actions/bundler/sendUserOperation.js.map +1 -1
- package/_esm/account-abstraction/actions/paymaster/getPaymasterData.js.map +1 -1
- package/_esm/account-abstraction/constants/abis.js +690 -0
- package/_esm/account-abstraction/constants/abis.js.map +1 -1
- package/_esm/account-abstraction/constants/address.js +1 -0
- package/_esm/account-abstraction/constants/address.js.map +1 -1
- package/_esm/account-abstraction/index.js +3 -2
- package/_esm/account-abstraction/index.js.map +1 -1
- package/_esm/account-abstraction/utils/formatters/userOperationRequest.js +19 -0
- package/_esm/account-abstraction/utils/formatters/userOperationRequest.js.map +1 -1
- package/_esm/account-abstraction/utils/userOperation/getUserOperationHash.js +70 -0
- package/_esm/account-abstraction/utils/userOperation/getUserOperationHash.js.map +1 -1
- package/_esm/constants/address.js +1 -0
- package/_esm/constants/address.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_types/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.d.ts +26 -4
- package/_types/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.d.ts.map +1 -1
- package/_types/account-abstraction/accounts/implementations/toSimple7702SmartAccount.d.ts +311 -0
- package/_types/account-abstraction/accounts/implementations/toSimple7702SmartAccount.d.ts.map +1 -0
- package/_types/account-abstraction/accounts/implementations/toSoladySmartAccount.d.ts +1 -2
- package/_types/account-abstraction/accounts/implementations/toSoladySmartAccount.d.ts.map +1 -1
- package/_types/account-abstraction/accounts/types.d.ts +16 -3
- package/_types/account-abstraction/accounts/types.d.ts.map +1 -1
- package/_types/account-abstraction/actions/bundler/estimateUserOperationGas.d.ts.map +1 -1
- package/_types/account-abstraction/actions/bundler/prepareUserOperation.d.ts +23 -6
- package/_types/account-abstraction/actions/bundler/prepareUserOperation.d.ts.map +1 -1
- package/_types/account-abstraction/actions/paymaster/getPaymasterData.d.ts +1 -1
- package/_types/account-abstraction/actions/paymaster/getPaymasterData.d.ts.map +1 -1
- package/_types/account-abstraction/constants/abis.d.ts +830 -0
- package/_types/account-abstraction/constants/abis.d.ts.map +1 -1
- package/_types/account-abstraction/constants/address.d.ts +1 -0
- package/_types/account-abstraction/constants/address.d.ts.map +1 -1
- package/_types/account-abstraction/index.d.ts +3 -2
- package/_types/account-abstraction/index.d.ts.map +1 -1
- package/_types/account-abstraction/types/entryPointVersion.d.ts +1 -1
- package/_types/account-abstraction/types/entryPointVersion.d.ts.map +1 -1
- package/_types/account-abstraction/types/rpc.d.ts +6 -3
- package/_types/account-abstraction/types/rpc.d.ts.map +1 -1
- package/_types/account-abstraction/types/userOperation.d.ts +49 -5
- package/_types/account-abstraction/types/userOperation.d.ts.map +1 -1
- package/_types/account-abstraction/utils/formatters/userOperationRequest.d.ts.map +1 -1
- package/_types/account-abstraction/utils/userOperation/getUserOperationHash.d.ts.map +1 -1
- package/_types/celo/chainConfig.d.ts +14 -14
- package/_types/celo/formatters.d.ts +7 -7
- package/_types/chains/definitions/abstract.d.ts +3 -3
- package/_types/chains/definitions/abstractTestnet.d.ts +3 -3
- package/_types/chains/definitions/celo.d.ts +14 -14
- package/_types/chains/definitions/celoAlfajores.d.ts +14 -14
- package/_types/chains/definitions/playfiAlbireo.d.ts +3 -3
- package/_types/chains/definitions/sophon.d.ts +3 -3
- package/_types/chains/definitions/sophonTestnet.d.ts +3 -3
- package/_types/chains/definitions/treasure.d.ts +3 -3
- package/_types/chains/definitions/treasureTopaz.d.ts +3 -3
- package/_types/chains/definitions/zksync.d.ts +3 -3
- package/_types/chains/definitions/zksyncInMemoryNode.d.ts +3 -3
- package/_types/chains/definitions/zksyncLocalCustomHyperchain.d.ts +3 -3
- package/_types/chains/definitions/zksyncLocalHyperchain.d.ts +3 -3
- package/_types/chains/definitions/zksyncLocalNode.d.ts +3 -3
- package/_types/chains/definitions/zksyncSepoliaTestnet.d.ts +3 -3
- package/_types/constants/address.d.ts +1 -0
- package/_types/constants/address.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/_types/types/authorization.d.ts +1 -1
- package/_types/types/authorization.d.ts.map +1 -1
- package/_types/types/misc.d.ts +7 -7
- package/_types/types/misc.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/_types/zksync/chainConfig.d.ts +3 -3
- package/_types/zksync/formatters.d.ts +3 -3
- package/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.ts +25 -11
- package/account-abstraction/accounts/implementations/toSimple7702SmartAccount.ts +382 -0
- package/account-abstraction/accounts/implementations/toSoladySmartAccount.ts +1 -2
- package/account-abstraction/accounts/toSmartAccount.ts +2 -2
- package/account-abstraction/accounts/types.ts +26 -2
- package/account-abstraction/actions/bundler/estimateUserOperationGas.ts +8 -1
- package/account-abstraction/actions/bundler/prepareUserOperation.ts +56 -2
- package/account-abstraction/actions/bundler/sendUserOperation.ts +2 -2
- package/account-abstraction/actions/paymaster/getPaymasterData.ts +24 -0
- package/account-abstraction/constants/abis.ts +691 -0
- package/account-abstraction/constants/address.ts +2 -0
- package/account-abstraction/index.ts +12 -1
- package/account-abstraction/types/entryPointVersion.ts +1 -1
- package/account-abstraction/types/rpc.ts +6 -3
- package/account-abstraction/types/userOperation.ts +69 -3
- package/account-abstraction/utils/formatters/userOperationRequest.ts +21 -0
- package/account-abstraction/utils/userOperation/getUserOperationHash.ts +79 -0
- package/constants/address.ts +2 -0
- package/errors/version.ts +1 -1
- package/package.json +1 -1
- package/types/authorization.ts +1 -1
- package/types/misc.ts +7 -7
@@ -1465,4 +1465,834 @@ export declare const entryPoint07Abi: readonly [{
|
|
1465
1465
|
readonly stateMutability: "payable";
|
1466
1466
|
readonly type: "receive";
|
1467
1467
|
}];
|
1468
|
+
export declare const entryPoint08Abi: readonly [{
|
1469
|
+
readonly inputs: readonly [];
|
1470
|
+
readonly stateMutability: "nonpayable";
|
1471
|
+
readonly type: "constructor";
|
1472
|
+
}, {
|
1473
|
+
readonly inputs: readonly [{
|
1474
|
+
readonly internalType: "bool";
|
1475
|
+
readonly name: "success";
|
1476
|
+
readonly type: "bool";
|
1477
|
+
}, {
|
1478
|
+
readonly internalType: "bytes";
|
1479
|
+
readonly name: "ret";
|
1480
|
+
readonly type: "bytes";
|
1481
|
+
}];
|
1482
|
+
readonly name: "DelegateAndRevert";
|
1483
|
+
readonly type: "error";
|
1484
|
+
}, {
|
1485
|
+
readonly inputs: readonly [{
|
1486
|
+
readonly internalType: "uint256";
|
1487
|
+
readonly name: "opIndex";
|
1488
|
+
readonly type: "uint256";
|
1489
|
+
}, {
|
1490
|
+
readonly internalType: "string";
|
1491
|
+
readonly name: "reason";
|
1492
|
+
readonly type: "string";
|
1493
|
+
}];
|
1494
|
+
readonly name: "FailedOp";
|
1495
|
+
readonly type: "error";
|
1496
|
+
}, {
|
1497
|
+
readonly inputs: readonly [{
|
1498
|
+
readonly internalType: "uint256";
|
1499
|
+
readonly name: "opIndex";
|
1500
|
+
readonly type: "uint256";
|
1501
|
+
}, {
|
1502
|
+
readonly internalType: "string";
|
1503
|
+
readonly name: "reason";
|
1504
|
+
readonly type: "string";
|
1505
|
+
}, {
|
1506
|
+
readonly internalType: "bytes";
|
1507
|
+
readonly name: "inner";
|
1508
|
+
readonly type: "bytes";
|
1509
|
+
}];
|
1510
|
+
readonly name: "FailedOpWithRevert";
|
1511
|
+
readonly type: "error";
|
1512
|
+
}, {
|
1513
|
+
readonly inputs: readonly [];
|
1514
|
+
readonly name: "InvalidShortString";
|
1515
|
+
readonly type: "error";
|
1516
|
+
}, {
|
1517
|
+
readonly inputs: readonly [{
|
1518
|
+
readonly internalType: "bytes";
|
1519
|
+
readonly name: "returnData";
|
1520
|
+
readonly type: "bytes";
|
1521
|
+
}];
|
1522
|
+
readonly name: "PostOpReverted";
|
1523
|
+
readonly type: "error";
|
1524
|
+
}, {
|
1525
|
+
readonly inputs: readonly [];
|
1526
|
+
readonly name: "ReentrancyGuardReentrantCall";
|
1527
|
+
readonly type: "error";
|
1528
|
+
}, {
|
1529
|
+
readonly inputs: readonly [{
|
1530
|
+
readonly internalType: "address";
|
1531
|
+
readonly name: "sender";
|
1532
|
+
readonly type: "address";
|
1533
|
+
}];
|
1534
|
+
readonly name: "SenderAddressResult";
|
1535
|
+
readonly type: "error";
|
1536
|
+
}, {
|
1537
|
+
readonly inputs: readonly [{
|
1538
|
+
readonly internalType: "address";
|
1539
|
+
readonly name: "aggregator";
|
1540
|
+
readonly type: "address";
|
1541
|
+
}];
|
1542
|
+
readonly name: "SignatureValidationFailed";
|
1543
|
+
readonly type: "error";
|
1544
|
+
}, {
|
1545
|
+
readonly inputs: readonly [{
|
1546
|
+
readonly internalType: "string";
|
1547
|
+
readonly name: "str";
|
1548
|
+
readonly type: "string";
|
1549
|
+
}];
|
1550
|
+
readonly name: "StringTooLong";
|
1551
|
+
readonly type: "error";
|
1552
|
+
}, {
|
1553
|
+
readonly anonymous: false;
|
1554
|
+
readonly inputs: readonly [{
|
1555
|
+
readonly indexed: true;
|
1556
|
+
readonly internalType: "bytes32";
|
1557
|
+
readonly name: "userOpHash";
|
1558
|
+
readonly type: "bytes32";
|
1559
|
+
}, {
|
1560
|
+
readonly indexed: true;
|
1561
|
+
readonly internalType: "address";
|
1562
|
+
readonly name: "sender";
|
1563
|
+
readonly type: "address";
|
1564
|
+
}, {
|
1565
|
+
readonly indexed: false;
|
1566
|
+
readonly internalType: "address";
|
1567
|
+
readonly name: "factory";
|
1568
|
+
readonly type: "address";
|
1569
|
+
}, {
|
1570
|
+
readonly indexed: false;
|
1571
|
+
readonly internalType: "address";
|
1572
|
+
readonly name: "paymaster";
|
1573
|
+
readonly type: "address";
|
1574
|
+
}];
|
1575
|
+
readonly name: "AccountDeployed";
|
1576
|
+
readonly type: "event";
|
1577
|
+
}, {
|
1578
|
+
readonly anonymous: false;
|
1579
|
+
readonly inputs: readonly [];
|
1580
|
+
readonly name: "BeforeExecution";
|
1581
|
+
readonly type: "event";
|
1582
|
+
}, {
|
1583
|
+
readonly anonymous: false;
|
1584
|
+
readonly inputs: readonly [{
|
1585
|
+
readonly indexed: true;
|
1586
|
+
readonly internalType: "address";
|
1587
|
+
readonly name: "account";
|
1588
|
+
readonly type: "address";
|
1589
|
+
}, {
|
1590
|
+
readonly indexed: false;
|
1591
|
+
readonly internalType: "uint256";
|
1592
|
+
readonly name: "totalDeposit";
|
1593
|
+
readonly type: "uint256";
|
1594
|
+
}];
|
1595
|
+
readonly name: "Deposited";
|
1596
|
+
readonly type: "event";
|
1597
|
+
}, {
|
1598
|
+
readonly anonymous: false;
|
1599
|
+
readonly inputs: readonly [];
|
1600
|
+
readonly name: "EIP712DomainChanged";
|
1601
|
+
readonly type: "event";
|
1602
|
+
}, {
|
1603
|
+
readonly anonymous: false;
|
1604
|
+
readonly inputs: readonly [{
|
1605
|
+
readonly indexed: true;
|
1606
|
+
readonly internalType: "bytes32";
|
1607
|
+
readonly name: "userOpHash";
|
1608
|
+
readonly type: "bytes32";
|
1609
|
+
}, {
|
1610
|
+
readonly indexed: true;
|
1611
|
+
readonly internalType: "address";
|
1612
|
+
readonly name: "sender";
|
1613
|
+
readonly type: "address";
|
1614
|
+
}, {
|
1615
|
+
readonly indexed: false;
|
1616
|
+
readonly internalType: "uint256";
|
1617
|
+
readonly name: "nonce";
|
1618
|
+
readonly type: "uint256";
|
1619
|
+
}, {
|
1620
|
+
readonly indexed: false;
|
1621
|
+
readonly internalType: "bytes";
|
1622
|
+
readonly name: "revertReason";
|
1623
|
+
readonly type: "bytes";
|
1624
|
+
}];
|
1625
|
+
readonly name: "PostOpRevertReason";
|
1626
|
+
readonly type: "event";
|
1627
|
+
}, {
|
1628
|
+
readonly anonymous: false;
|
1629
|
+
readonly inputs: readonly [{
|
1630
|
+
readonly indexed: true;
|
1631
|
+
readonly internalType: "address";
|
1632
|
+
readonly name: "aggregator";
|
1633
|
+
readonly type: "address";
|
1634
|
+
}];
|
1635
|
+
readonly name: "SignatureAggregatorChanged";
|
1636
|
+
readonly type: "event";
|
1637
|
+
}, {
|
1638
|
+
readonly anonymous: false;
|
1639
|
+
readonly inputs: readonly [{
|
1640
|
+
readonly indexed: true;
|
1641
|
+
readonly internalType: "address";
|
1642
|
+
readonly name: "account";
|
1643
|
+
readonly type: "address";
|
1644
|
+
}, {
|
1645
|
+
readonly indexed: false;
|
1646
|
+
readonly internalType: "uint256";
|
1647
|
+
readonly name: "totalStaked";
|
1648
|
+
readonly type: "uint256";
|
1649
|
+
}, {
|
1650
|
+
readonly indexed: false;
|
1651
|
+
readonly internalType: "uint256";
|
1652
|
+
readonly name: "unstakeDelaySec";
|
1653
|
+
readonly type: "uint256";
|
1654
|
+
}];
|
1655
|
+
readonly name: "StakeLocked";
|
1656
|
+
readonly type: "event";
|
1657
|
+
}, {
|
1658
|
+
readonly anonymous: false;
|
1659
|
+
readonly inputs: readonly [{
|
1660
|
+
readonly indexed: true;
|
1661
|
+
readonly internalType: "address";
|
1662
|
+
readonly name: "account";
|
1663
|
+
readonly type: "address";
|
1664
|
+
}, {
|
1665
|
+
readonly indexed: false;
|
1666
|
+
readonly internalType: "uint256";
|
1667
|
+
readonly name: "withdrawTime";
|
1668
|
+
readonly type: "uint256";
|
1669
|
+
}];
|
1670
|
+
readonly name: "StakeUnlocked";
|
1671
|
+
readonly type: "event";
|
1672
|
+
}, {
|
1673
|
+
readonly anonymous: false;
|
1674
|
+
readonly inputs: readonly [{
|
1675
|
+
readonly indexed: true;
|
1676
|
+
readonly internalType: "address";
|
1677
|
+
readonly name: "account";
|
1678
|
+
readonly type: "address";
|
1679
|
+
}, {
|
1680
|
+
readonly indexed: false;
|
1681
|
+
readonly internalType: "address";
|
1682
|
+
readonly name: "withdrawAddress";
|
1683
|
+
readonly type: "address";
|
1684
|
+
}, {
|
1685
|
+
readonly indexed: false;
|
1686
|
+
readonly internalType: "uint256";
|
1687
|
+
readonly name: "amount";
|
1688
|
+
readonly type: "uint256";
|
1689
|
+
}];
|
1690
|
+
readonly name: "StakeWithdrawn";
|
1691
|
+
readonly type: "event";
|
1692
|
+
}, {
|
1693
|
+
readonly anonymous: false;
|
1694
|
+
readonly inputs: readonly [{
|
1695
|
+
readonly indexed: true;
|
1696
|
+
readonly internalType: "bytes32";
|
1697
|
+
readonly name: "userOpHash";
|
1698
|
+
readonly type: "bytes32";
|
1699
|
+
}, {
|
1700
|
+
readonly indexed: true;
|
1701
|
+
readonly internalType: "address";
|
1702
|
+
readonly name: "sender";
|
1703
|
+
readonly type: "address";
|
1704
|
+
}, {
|
1705
|
+
readonly indexed: true;
|
1706
|
+
readonly internalType: "address";
|
1707
|
+
readonly name: "paymaster";
|
1708
|
+
readonly type: "address";
|
1709
|
+
}, {
|
1710
|
+
readonly indexed: false;
|
1711
|
+
readonly internalType: "uint256";
|
1712
|
+
readonly name: "nonce";
|
1713
|
+
readonly type: "uint256";
|
1714
|
+
}, {
|
1715
|
+
readonly indexed: false;
|
1716
|
+
readonly internalType: "bool";
|
1717
|
+
readonly name: "success";
|
1718
|
+
readonly type: "bool";
|
1719
|
+
}, {
|
1720
|
+
readonly indexed: false;
|
1721
|
+
readonly internalType: "uint256";
|
1722
|
+
readonly name: "actualGasCost";
|
1723
|
+
readonly type: "uint256";
|
1724
|
+
}, {
|
1725
|
+
readonly indexed: false;
|
1726
|
+
readonly internalType: "uint256";
|
1727
|
+
readonly name: "actualGasUsed";
|
1728
|
+
readonly type: "uint256";
|
1729
|
+
}];
|
1730
|
+
readonly name: "UserOperationEvent";
|
1731
|
+
readonly type: "event";
|
1732
|
+
}, {
|
1733
|
+
readonly anonymous: false;
|
1734
|
+
readonly inputs: readonly [{
|
1735
|
+
readonly indexed: true;
|
1736
|
+
readonly internalType: "bytes32";
|
1737
|
+
readonly name: "userOpHash";
|
1738
|
+
readonly type: "bytes32";
|
1739
|
+
}, {
|
1740
|
+
readonly indexed: true;
|
1741
|
+
readonly internalType: "address";
|
1742
|
+
readonly name: "sender";
|
1743
|
+
readonly type: "address";
|
1744
|
+
}, {
|
1745
|
+
readonly indexed: false;
|
1746
|
+
readonly internalType: "uint256";
|
1747
|
+
readonly name: "nonce";
|
1748
|
+
readonly type: "uint256";
|
1749
|
+
}];
|
1750
|
+
readonly name: "UserOperationPrefundTooLow";
|
1751
|
+
readonly type: "event";
|
1752
|
+
}, {
|
1753
|
+
readonly anonymous: false;
|
1754
|
+
readonly inputs: readonly [{
|
1755
|
+
readonly indexed: true;
|
1756
|
+
readonly internalType: "bytes32";
|
1757
|
+
readonly name: "userOpHash";
|
1758
|
+
readonly type: "bytes32";
|
1759
|
+
}, {
|
1760
|
+
readonly indexed: true;
|
1761
|
+
readonly internalType: "address";
|
1762
|
+
readonly name: "sender";
|
1763
|
+
readonly type: "address";
|
1764
|
+
}, {
|
1765
|
+
readonly indexed: false;
|
1766
|
+
readonly internalType: "uint256";
|
1767
|
+
readonly name: "nonce";
|
1768
|
+
readonly type: "uint256";
|
1769
|
+
}, {
|
1770
|
+
readonly indexed: false;
|
1771
|
+
readonly internalType: "bytes";
|
1772
|
+
readonly name: "revertReason";
|
1773
|
+
readonly type: "bytes";
|
1774
|
+
}];
|
1775
|
+
readonly name: "UserOperationRevertReason";
|
1776
|
+
readonly type: "event";
|
1777
|
+
}, {
|
1778
|
+
readonly anonymous: false;
|
1779
|
+
readonly inputs: readonly [{
|
1780
|
+
readonly indexed: true;
|
1781
|
+
readonly internalType: "address";
|
1782
|
+
readonly name: "account";
|
1783
|
+
readonly type: "address";
|
1784
|
+
}, {
|
1785
|
+
readonly indexed: false;
|
1786
|
+
readonly internalType: "address";
|
1787
|
+
readonly name: "withdrawAddress";
|
1788
|
+
readonly type: "address";
|
1789
|
+
}, {
|
1790
|
+
readonly indexed: false;
|
1791
|
+
readonly internalType: "uint256";
|
1792
|
+
readonly name: "amount";
|
1793
|
+
readonly type: "uint256";
|
1794
|
+
}];
|
1795
|
+
readonly name: "Withdrawn";
|
1796
|
+
readonly type: "event";
|
1797
|
+
}, {
|
1798
|
+
readonly inputs: readonly [{
|
1799
|
+
readonly internalType: "uint32";
|
1800
|
+
readonly name: "unstakeDelaySec";
|
1801
|
+
readonly type: "uint32";
|
1802
|
+
}];
|
1803
|
+
readonly name: "addStake";
|
1804
|
+
readonly outputs: readonly [];
|
1805
|
+
readonly stateMutability: "payable";
|
1806
|
+
readonly type: "function";
|
1807
|
+
}, {
|
1808
|
+
readonly inputs: readonly [{
|
1809
|
+
readonly internalType: "address";
|
1810
|
+
readonly name: "account";
|
1811
|
+
readonly type: "address";
|
1812
|
+
}];
|
1813
|
+
readonly name: "balanceOf";
|
1814
|
+
readonly outputs: readonly [{
|
1815
|
+
readonly internalType: "uint256";
|
1816
|
+
readonly name: "";
|
1817
|
+
readonly type: "uint256";
|
1818
|
+
}];
|
1819
|
+
readonly stateMutability: "view";
|
1820
|
+
readonly type: "function";
|
1821
|
+
}, {
|
1822
|
+
readonly inputs: readonly [{
|
1823
|
+
readonly internalType: "address";
|
1824
|
+
readonly name: "target";
|
1825
|
+
readonly type: "address";
|
1826
|
+
}, {
|
1827
|
+
readonly internalType: "bytes";
|
1828
|
+
readonly name: "data";
|
1829
|
+
readonly type: "bytes";
|
1830
|
+
}];
|
1831
|
+
readonly name: "delegateAndRevert";
|
1832
|
+
readonly outputs: readonly [];
|
1833
|
+
readonly stateMutability: "nonpayable";
|
1834
|
+
readonly type: "function";
|
1835
|
+
}, {
|
1836
|
+
readonly inputs: readonly [{
|
1837
|
+
readonly internalType: "address";
|
1838
|
+
readonly name: "account";
|
1839
|
+
readonly type: "address";
|
1840
|
+
}];
|
1841
|
+
readonly name: "depositTo";
|
1842
|
+
readonly outputs: readonly [];
|
1843
|
+
readonly stateMutability: "payable";
|
1844
|
+
readonly type: "function";
|
1845
|
+
}, {
|
1846
|
+
readonly inputs: readonly [];
|
1847
|
+
readonly name: "eip712Domain";
|
1848
|
+
readonly outputs: readonly [{
|
1849
|
+
readonly internalType: "bytes1";
|
1850
|
+
readonly name: "fields";
|
1851
|
+
readonly type: "bytes1";
|
1852
|
+
}, {
|
1853
|
+
readonly internalType: "string";
|
1854
|
+
readonly name: "name";
|
1855
|
+
readonly type: "string";
|
1856
|
+
}, {
|
1857
|
+
readonly internalType: "string";
|
1858
|
+
readonly name: "version";
|
1859
|
+
readonly type: "string";
|
1860
|
+
}, {
|
1861
|
+
readonly internalType: "uint256";
|
1862
|
+
readonly name: "chainId";
|
1863
|
+
readonly type: "uint256";
|
1864
|
+
}, {
|
1865
|
+
readonly internalType: "address";
|
1866
|
+
readonly name: "verifyingContract";
|
1867
|
+
readonly type: "address";
|
1868
|
+
}, {
|
1869
|
+
readonly internalType: "bytes32";
|
1870
|
+
readonly name: "salt";
|
1871
|
+
readonly type: "bytes32";
|
1872
|
+
}, {
|
1873
|
+
readonly internalType: "uint256[]";
|
1874
|
+
readonly name: "extensions";
|
1875
|
+
readonly type: "uint256[]";
|
1876
|
+
}];
|
1877
|
+
readonly stateMutability: "view";
|
1878
|
+
readonly type: "function";
|
1879
|
+
}, {
|
1880
|
+
readonly inputs: readonly [{
|
1881
|
+
readonly internalType: "address";
|
1882
|
+
readonly name: "account";
|
1883
|
+
readonly type: "address";
|
1884
|
+
}];
|
1885
|
+
readonly name: "getDepositInfo";
|
1886
|
+
readonly outputs: readonly [{
|
1887
|
+
readonly components: readonly [{
|
1888
|
+
readonly internalType: "uint256";
|
1889
|
+
readonly name: "deposit";
|
1890
|
+
readonly type: "uint256";
|
1891
|
+
}, {
|
1892
|
+
readonly internalType: "bool";
|
1893
|
+
readonly name: "staked";
|
1894
|
+
readonly type: "bool";
|
1895
|
+
}, {
|
1896
|
+
readonly internalType: "uint112";
|
1897
|
+
readonly name: "stake";
|
1898
|
+
readonly type: "uint112";
|
1899
|
+
}, {
|
1900
|
+
readonly internalType: "uint32";
|
1901
|
+
readonly name: "unstakeDelaySec";
|
1902
|
+
readonly type: "uint32";
|
1903
|
+
}, {
|
1904
|
+
readonly internalType: "uint48";
|
1905
|
+
readonly name: "withdrawTime";
|
1906
|
+
readonly type: "uint48";
|
1907
|
+
}];
|
1908
|
+
readonly internalType: "struct IStakeManager.DepositInfo";
|
1909
|
+
readonly name: "info";
|
1910
|
+
readonly type: "tuple";
|
1911
|
+
}];
|
1912
|
+
readonly stateMutability: "view";
|
1913
|
+
readonly type: "function";
|
1914
|
+
}, {
|
1915
|
+
readonly inputs: readonly [];
|
1916
|
+
readonly name: "getDomainSeparatorV4";
|
1917
|
+
readonly outputs: readonly [{
|
1918
|
+
readonly internalType: "bytes32";
|
1919
|
+
readonly name: "";
|
1920
|
+
readonly type: "bytes32";
|
1921
|
+
}];
|
1922
|
+
readonly stateMutability: "view";
|
1923
|
+
readonly type: "function";
|
1924
|
+
}, {
|
1925
|
+
readonly inputs: readonly [{
|
1926
|
+
readonly internalType: "address";
|
1927
|
+
readonly name: "sender";
|
1928
|
+
readonly type: "address";
|
1929
|
+
}, {
|
1930
|
+
readonly internalType: "uint192";
|
1931
|
+
readonly name: "key";
|
1932
|
+
readonly type: "uint192";
|
1933
|
+
}];
|
1934
|
+
readonly name: "getNonce";
|
1935
|
+
readonly outputs: readonly [{
|
1936
|
+
readonly internalType: "uint256";
|
1937
|
+
readonly name: "nonce";
|
1938
|
+
readonly type: "uint256";
|
1939
|
+
}];
|
1940
|
+
readonly stateMutability: "view";
|
1941
|
+
readonly type: "function";
|
1942
|
+
}, {
|
1943
|
+
readonly inputs: readonly [];
|
1944
|
+
readonly name: "getPackedUserOpTypeHash";
|
1945
|
+
readonly outputs: readonly [{
|
1946
|
+
readonly internalType: "bytes32";
|
1947
|
+
readonly name: "";
|
1948
|
+
readonly type: "bytes32";
|
1949
|
+
}];
|
1950
|
+
readonly stateMutability: "pure";
|
1951
|
+
readonly type: "function";
|
1952
|
+
}, {
|
1953
|
+
readonly inputs: readonly [{
|
1954
|
+
readonly internalType: "bytes";
|
1955
|
+
readonly name: "initCode";
|
1956
|
+
readonly type: "bytes";
|
1957
|
+
}];
|
1958
|
+
readonly name: "getSenderAddress";
|
1959
|
+
readonly outputs: readonly [];
|
1960
|
+
readonly stateMutability: "nonpayable";
|
1961
|
+
readonly type: "function";
|
1962
|
+
}, {
|
1963
|
+
readonly inputs: readonly [{
|
1964
|
+
readonly components: readonly [{
|
1965
|
+
readonly internalType: "address";
|
1966
|
+
readonly name: "sender";
|
1967
|
+
readonly type: "address";
|
1968
|
+
}, {
|
1969
|
+
readonly internalType: "uint256";
|
1970
|
+
readonly name: "nonce";
|
1971
|
+
readonly type: "uint256";
|
1972
|
+
}, {
|
1973
|
+
readonly internalType: "bytes";
|
1974
|
+
readonly name: "initCode";
|
1975
|
+
readonly type: "bytes";
|
1976
|
+
}, {
|
1977
|
+
readonly internalType: "bytes";
|
1978
|
+
readonly name: "callData";
|
1979
|
+
readonly type: "bytes";
|
1980
|
+
}, {
|
1981
|
+
readonly internalType: "bytes32";
|
1982
|
+
readonly name: "accountGasLimits";
|
1983
|
+
readonly type: "bytes32";
|
1984
|
+
}, {
|
1985
|
+
readonly internalType: "uint256";
|
1986
|
+
readonly name: "preVerificationGas";
|
1987
|
+
readonly type: "uint256";
|
1988
|
+
}, {
|
1989
|
+
readonly internalType: "bytes32";
|
1990
|
+
readonly name: "gasFees";
|
1991
|
+
readonly type: "bytes32";
|
1992
|
+
}, {
|
1993
|
+
readonly internalType: "bytes";
|
1994
|
+
readonly name: "paymasterAndData";
|
1995
|
+
readonly type: "bytes";
|
1996
|
+
}, {
|
1997
|
+
readonly internalType: "bytes";
|
1998
|
+
readonly name: "signature";
|
1999
|
+
readonly type: "bytes";
|
2000
|
+
}];
|
2001
|
+
readonly internalType: "struct PackedUserOperation";
|
2002
|
+
readonly name: "userOp";
|
2003
|
+
readonly type: "tuple";
|
2004
|
+
}];
|
2005
|
+
readonly name: "getUserOpHash";
|
2006
|
+
readonly outputs: readonly [{
|
2007
|
+
readonly internalType: "bytes32";
|
2008
|
+
readonly name: "";
|
2009
|
+
readonly type: "bytes32";
|
2010
|
+
}];
|
2011
|
+
readonly stateMutability: "view";
|
2012
|
+
readonly type: "function";
|
2013
|
+
}, {
|
2014
|
+
readonly inputs: readonly [{
|
2015
|
+
readonly components: readonly [{
|
2016
|
+
readonly components: readonly [{
|
2017
|
+
readonly internalType: "address";
|
2018
|
+
readonly name: "sender";
|
2019
|
+
readonly type: "address";
|
2020
|
+
}, {
|
2021
|
+
readonly internalType: "uint256";
|
2022
|
+
readonly name: "nonce";
|
2023
|
+
readonly type: "uint256";
|
2024
|
+
}, {
|
2025
|
+
readonly internalType: "bytes";
|
2026
|
+
readonly name: "initCode";
|
2027
|
+
readonly type: "bytes";
|
2028
|
+
}, {
|
2029
|
+
readonly internalType: "bytes";
|
2030
|
+
readonly name: "callData";
|
2031
|
+
readonly type: "bytes";
|
2032
|
+
}, {
|
2033
|
+
readonly internalType: "bytes32";
|
2034
|
+
readonly name: "accountGasLimits";
|
2035
|
+
readonly type: "bytes32";
|
2036
|
+
}, {
|
2037
|
+
readonly internalType: "uint256";
|
2038
|
+
readonly name: "preVerificationGas";
|
2039
|
+
readonly type: "uint256";
|
2040
|
+
}, {
|
2041
|
+
readonly internalType: "bytes32";
|
2042
|
+
readonly name: "gasFees";
|
2043
|
+
readonly type: "bytes32";
|
2044
|
+
}, {
|
2045
|
+
readonly internalType: "bytes";
|
2046
|
+
readonly name: "paymasterAndData";
|
2047
|
+
readonly type: "bytes";
|
2048
|
+
}, {
|
2049
|
+
readonly internalType: "bytes";
|
2050
|
+
readonly name: "signature";
|
2051
|
+
readonly type: "bytes";
|
2052
|
+
}];
|
2053
|
+
readonly internalType: "struct PackedUserOperation[]";
|
2054
|
+
readonly name: "userOps";
|
2055
|
+
readonly type: "tuple[]";
|
2056
|
+
}, {
|
2057
|
+
readonly internalType: "contract IAggregator";
|
2058
|
+
readonly name: "aggregator";
|
2059
|
+
readonly type: "address";
|
2060
|
+
}, {
|
2061
|
+
readonly internalType: "bytes";
|
2062
|
+
readonly name: "signature";
|
2063
|
+
readonly type: "bytes";
|
2064
|
+
}];
|
2065
|
+
readonly internalType: "struct IEntryPoint.UserOpsPerAggregator[]";
|
2066
|
+
readonly name: "opsPerAggregator";
|
2067
|
+
readonly type: "tuple[]";
|
2068
|
+
}, {
|
2069
|
+
readonly internalType: "address payable";
|
2070
|
+
readonly name: "beneficiary";
|
2071
|
+
readonly type: "address";
|
2072
|
+
}];
|
2073
|
+
readonly name: "handleAggregatedOps";
|
2074
|
+
readonly outputs: readonly [];
|
2075
|
+
readonly stateMutability: "nonpayable";
|
2076
|
+
readonly type: "function";
|
2077
|
+
}, {
|
2078
|
+
readonly inputs: readonly [{
|
2079
|
+
readonly components: readonly [{
|
2080
|
+
readonly internalType: "address";
|
2081
|
+
readonly name: "sender";
|
2082
|
+
readonly type: "address";
|
2083
|
+
}, {
|
2084
|
+
readonly internalType: "uint256";
|
2085
|
+
readonly name: "nonce";
|
2086
|
+
readonly type: "uint256";
|
2087
|
+
}, {
|
2088
|
+
readonly internalType: "bytes";
|
2089
|
+
readonly name: "initCode";
|
2090
|
+
readonly type: "bytes";
|
2091
|
+
}, {
|
2092
|
+
readonly internalType: "bytes";
|
2093
|
+
readonly name: "callData";
|
2094
|
+
readonly type: "bytes";
|
2095
|
+
}, {
|
2096
|
+
readonly internalType: "bytes32";
|
2097
|
+
readonly name: "accountGasLimits";
|
2098
|
+
readonly type: "bytes32";
|
2099
|
+
}, {
|
2100
|
+
readonly internalType: "uint256";
|
2101
|
+
readonly name: "preVerificationGas";
|
2102
|
+
readonly type: "uint256";
|
2103
|
+
}, {
|
2104
|
+
readonly internalType: "bytes32";
|
2105
|
+
readonly name: "gasFees";
|
2106
|
+
readonly type: "bytes32";
|
2107
|
+
}, {
|
2108
|
+
readonly internalType: "bytes";
|
2109
|
+
readonly name: "paymasterAndData";
|
2110
|
+
readonly type: "bytes";
|
2111
|
+
}, {
|
2112
|
+
readonly internalType: "bytes";
|
2113
|
+
readonly name: "signature";
|
2114
|
+
readonly type: "bytes";
|
2115
|
+
}];
|
2116
|
+
readonly internalType: "struct PackedUserOperation[]";
|
2117
|
+
readonly name: "ops";
|
2118
|
+
readonly type: "tuple[]";
|
2119
|
+
}, {
|
2120
|
+
readonly internalType: "address payable";
|
2121
|
+
readonly name: "beneficiary";
|
2122
|
+
readonly type: "address";
|
2123
|
+
}];
|
2124
|
+
readonly name: "handleOps";
|
2125
|
+
readonly outputs: readonly [];
|
2126
|
+
readonly stateMutability: "nonpayable";
|
2127
|
+
readonly type: "function";
|
2128
|
+
}, {
|
2129
|
+
readonly inputs: readonly [{
|
2130
|
+
readonly internalType: "uint192";
|
2131
|
+
readonly name: "key";
|
2132
|
+
readonly type: "uint192";
|
2133
|
+
}];
|
2134
|
+
readonly name: "incrementNonce";
|
2135
|
+
readonly outputs: readonly [];
|
2136
|
+
readonly stateMutability: "nonpayable";
|
2137
|
+
readonly type: "function";
|
2138
|
+
}, {
|
2139
|
+
readonly inputs: readonly [{
|
2140
|
+
readonly internalType: "bytes";
|
2141
|
+
readonly name: "callData";
|
2142
|
+
readonly type: "bytes";
|
2143
|
+
}, {
|
2144
|
+
readonly components: readonly [{
|
2145
|
+
readonly components: readonly [{
|
2146
|
+
readonly internalType: "address";
|
2147
|
+
readonly name: "sender";
|
2148
|
+
readonly type: "address";
|
2149
|
+
}, {
|
2150
|
+
readonly internalType: "uint256";
|
2151
|
+
readonly name: "nonce";
|
2152
|
+
readonly type: "uint256";
|
2153
|
+
}, {
|
2154
|
+
readonly internalType: "uint256";
|
2155
|
+
readonly name: "verificationGasLimit";
|
2156
|
+
readonly type: "uint256";
|
2157
|
+
}, {
|
2158
|
+
readonly internalType: "uint256";
|
2159
|
+
readonly name: "callGasLimit";
|
2160
|
+
readonly type: "uint256";
|
2161
|
+
}, {
|
2162
|
+
readonly internalType: "uint256";
|
2163
|
+
readonly name: "paymasterVerificationGasLimit";
|
2164
|
+
readonly type: "uint256";
|
2165
|
+
}, {
|
2166
|
+
readonly internalType: "uint256";
|
2167
|
+
readonly name: "paymasterPostOpGasLimit";
|
2168
|
+
readonly type: "uint256";
|
2169
|
+
}, {
|
2170
|
+
readonly internalType: "uint256";
|
2171
|
+
readonly name: "preVerificationGas";
|
2172
|
+
readonly type: "uint256";
|
2173
|
+
}, {
|
2174
|
+
readonly internalType: "address";
|
2175
|
+
readonly name: "paymaster";
|
2176
|
+
readonly type: "address";
|
2177
|
+
}, {
|
2178
|
+
readonly internalType: "uint256";
|
2179
|
+
readonly name: "maxFeePerGas";
|
2180
|
+
readonly type: "uint256";
|
2181
|
+
}, {
|
2182
|
+
readonly internalType: "uint256";
|
2183
|
+
readonly name: "maxPriorityFeePerGas";
|
2184
|
+
readonly type: "uint256";
|
2185
|
+
}];
|
2186
|
+
readonly internalType: "struct EntryPoint.MemoryUserOp";
|
2187
|
+
readonly name: "mUserOp";
|
2188
|
+
readonly type: "tuple";
|
2189
|
+
}, {
|
2190
|
+
readonly internalType: "bytes32";
|
2191
|
+
readonly name: "userOpHash";
|
2192
|
+
readonly type: "bytes32";
|
2193
|
+
}, {
|
2194
|
+
readonly internalType: "uint256";
|
2195
|
+
readonly name: "prefund";
|
2196
|
+
readonly type: "uint256";
|
2197
|
+
}, {
|
2198
|
+
readonly internalType: "uint256";
|
2199
|
+
readonly name: "contextOffset";
|
2200
|
+
readonly type: "uint256";
|
2201
|
+
}, {
|
2202
|
+
readonly internalType: "uint256";
|
2203
|
+
readonly name: "preOpGas";
|
2204
|
+
readonly type: "uint256";
|
2205
|
+
}];
|
2206
|
+
readonly internalType: "struct EntryPoint.UserOpInfo";
|
2207
|
+
readonly name: "opInfo";
|
2208
|
+
readonly type: "tuple";
|
2209
|
+
}, {
|
2210
|
+
readonly internalType: "bytes";
|
2211
|
+
readonly name: "context";
|
2212
|
+
readonly type: "bytes";
|
2213
|
+
}];
|
2214
|
+
readonly name: "innerHandleOp";
|
2215
|
+
readonly outputs: readonly [{
|
2216
|
+
readonly internalType: "uint256";
|
2217
|
+
readonly name: "actualGasCost";
|
2218
|
+
readonly type: "uint256";
|
2219
|
+
}];
|
2220
|
+
readonly stateMutability: "nonpayable";
|
2221
|
+
readonly type: "function";
|
2222
|
+
}, {
|
2223
|
+
readonly inputs: readonly [{
|
2224
|
+
readonly internalType: "address";
|
2225
|
+
readonly name: "";
|
2226
|
+
readonly type: "address";
|
2227
|
+
}, {
|
2228
|
+
readonly internalType: "uint192";
|
2229
|
+
readonly name: "";
|
2230
|
+
readonly type: "uint192";
|
2231
|
+
}];
|
2232
|
+
readonly name: "nonceSequenceNumber";
|
2233
|
+
readonly outputs: readonly [{
|
2234
|
+
readonly internalType: "uint256";
|
2235
|
+
readonly name: "";
|
2236
|
+
readonly type: "uint256";
|
2237
|
+
}];
|
2238
|
+
readonly stateMutability: "view";
|
2239
|
+
readonly type: "function";
|
2240
|
+
}, {
|
2241
|
+
readonly inputs: readonly [];
|
2242
|
+
readonly name: "senderCreator";
|
2243
|
+
readonly outputs: readonly [{
|
2244
|
+
readonly internalType: "contract ISenderCreator";
|
2245
|
+
readonly name: "";
|
2246
|
+
readonly type: "address";
|
2247
|
+
}];
|
2248
|
+
readonly stateMutability: "view";
|
2249
|
+
readonly type: "function";
|
2250
|
+
}, {
|
2251
|
+
readonly inputs: readonly [{
|
2252
|
+
readonly internalType: "bytes4";
|
2253
|
+
readonly name: "interfaceId";
|
2254
|
+
readonly type: "bytes4";
|
2255
|
+
}];
|
2256
|
+
readonly name: "supportsInterface";
|
2257
|
+
readonly outputs: readonly [{
|
2258
|
+
readonly internalType: "bool";
|
2259
|
+
readonly name: "";
|
2260
|
+
readonly type: "bool";
|
2261
|
+
}];
|
2262
|
+
readonly stateMutability: "view";
|
2263
|
+
readonly type: "function";
|
2264
|
+
}, {
|
2265
|
+
readonly inputs: readonly [];
|
2266
|
+
readonly name: "unlockStake";
|
2267
|
+
readonly outputs: readonly [];
|
2268
|
+
readonly stateMutability: "nonpayable";
|
2269
|
+
readonly type: "function";
|
2270
|
+
}, {
|
2271
|
+
readonly inputs: readonly [{
|
2272
|
+
readonly internalType: "address payable";
|
2273
|
+
readonly name: "withdrawAddress";
|
2274
|
+
readonly type: "address";
|
2275
|
+
}];
|
2276
|
+
readonly name: "withdrawStake";
|
2277
|
+
readonly outputs: readonly [];
|
2278
|
+
readonly stateMutability: "nonpayable";
|
2279
|
+
readonly type: "function";
|
2280
|
+
}, {
|
2281
|
+
readonly inputs: readonly [{
|
2282
|
+
readonly internalType: "address payable";
|
2283
|
+
readonly name: "withdrawAddress";
|
2284
|
+
readonly type: "address";
|
2285
|
+
}, {
|
2286
|
+
readonly internalType: "uint256";
|
2287
|
+
readonly name: "withdrawAmount";
|
2288
|
+
readonly type: "uint256";
|
2289
|
+
}];
|
2290
|
+
readonly name: "withdrawTo";
|
2291
|
+
readonly outputs: readonly [];
|
2292
|
+
readonly stateMutability: "nonpayable";
|
2293
|
+
readonly type: "function";
|
2294
|
+
}, {
|
2295
|
+
readonly stateMutability: "payable";
|
2296
|
+
readonly type: "receive";
|
2297
|
+
}];
|
1468
2298
|
//# sourceMappingURL=abis.d.ts.map
|