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