@zoralabs/coins 2.2.1 → 2.3.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/.turbo/turbo-build$colon$js.log +125 -106
- package/CHANGELOG.md +50 -5
- package/README.md +5 -0
- package/abis/AddressConstants.json +7 -0
- package/abis/BaseCoin.json +0 -5
- package/abis/BaseTest.json +62 -0
- package/abis/BuySupplyWithV4SwapHook.json +429 -0
- package/abis/ContentCoin.json +0 -5
- package/abis/CreatorCoin.json +0 -5
- package/abis/FeeEstimatorHook.json +94 -1
- package/abis/IUniswapV4Router04.json +484 -0
- package/abis/IUpgradeableDestinationV4HookWithUpdateableFee.json +95 -0
- package/abis/IZoraFactory.json +69 -0
- package/abis/MockAirlock.json +39 -0
- package/abis/SimpleERC20.json +326 -0
- package/abis/ZoraFactoryImpl.json +69 -0
- package/abis/ZoraV4CoinHook.json +94 -1
- package/addresses/8453.json +8 -10
- package/audits/report-cantinacode-zora-0827.pdf +3498 -4
- package/audits/report-cantinacode-zora-1021.pdf +0 -0
- package/dist/index.cjs +161 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +160 -21
- package/dist/index.js.map +1 -1
- package/dist/wagmiGenerated.d.ts +259 -40
- package/dist/wagmiGenerated.d.ts.map +1 -1
- package/foundry.toml +3 -3
- package/package/wagmiGenerated.ts +160 -21
- package/package.json +1 -1
- package/script/DeployPostDeploymentHooks.s.sol +1 -3
- package/script/TestBackingCoinSwap.s.sol +0 -2
- package/script/TestV4Swap.s.sol +0 -2
- package/src/BaseCoin.sol +4 -12
- package/src/ContentCoin.sol +3 -4
- package/src/CreatorCoin.sol +8 -10
- package/src/ZoraFactoryImpl.sol +115 -83
- package/src/deployment/CoinsDeployerBase.sol +9 -8
- package/src/hook-registry/ZoraHookRegistry.sol +4 -0
- package/src/hooks/ZoraV4CoinHook.sol +66 -9
- package/src/hooks/deployment/BuySupplyWithV4SwapHook.sol +310 -0
- package/src/interfaces/IUpgradeableV4Hook.sol +18 -0
- package/src/interfaces/IZoraFactory.sol +21 -2
- package/src/libs/CoinConstants.sol +51 -8
- package/src/libs/CoinDopplerMultiCurve.sol +11 -11
- package/src/libs/CoinRewardsV4.sol +26 -33
- package/src/libs/CoinSetup.sol +2 -9
- package/src/libs/DopplerMath.sol +2 -2
- package/src/libs/V4Liquidity.sol +79 -15
- package/src/utils/AutoSwapper.sol +1 -1
- package/src/version/ContractVersionBase.sol +1 -1
- package/test/BuySupplyWithV4SwapHook.t.sol +509 -0
- package/test/Coin.t.sol +26 -14
- package/test/CoinRewardsV4.t.sol +33 -0
- package/test/CoinUniV4.t.sol +3 -5
- package/test/ContentCoinRewards.t.sol +44 -3
- package/test/CreatorCoin.t.sol +54 -33
- package/test/CreatorCoinRewards.t.sol +1 -3
- package/test/DeploymentHooks.t.sol +54 -2
- package/test/Factory.t.sol +3 -3
- package/test/LiquidityMigration.t.sol +145 -7
- package/test/MultiOwnable.t.sol +4 -4
- package/test/Upgrades.t.sol +26 -17
- package/test/V4Liquidity.t.sol +178 -0
- package/test/ZoraHookRegistry.t.sol +19 -9
- package/test/mocks/MockAirlock.sol +22 -0
- package/test/mocks/SimpleERC20.sol +8 -0
- package/test/utils/BaseTest.sol +155 -3
- package/test/utils/RewardTestHelpers.sol +4 -4
- package/test/utils/hookmate/README.md +50 -0
- package/test/utils/hookmate/artifacts/DeployHelper.sol +20 -0
- package/test/utils/hookmate/artifacts/Permit2.sol +16 -0
- package/test/utils/hookmate/artifacts/UniversalRouter.sol +29 -0
- package/test/utils/hookmate/artifacts/V4PoolManager.sol +17 -0
- package/test/utils/hookmate/artifacts/V4PositionManager.sol +23 -0
- package/test/utils/hookmate/artifacts/V4Quoter.sol +17 -0
- package/test/utils/hookmate/artifacts/V4Router.sol +18 -0
- package/test/utils/hookmate/constants/AddressConstants.sol +193 -0
- package/test/utils/hookmate/interfaces/router/IUniswapV4Router04.sol +173 -0
- package/test/utils/hookmate/interfaces/router/PathKey.sol +34 -0
- package/test/utils/hookmate/test/utils/SwapFeeEventAsserter.sol +24 -0
- package/wagmi.config.ts +1 -1
- package/abis/CoinConstants.json +0 -54
- package/abis/CoinRewardsV4.json +0 -67
- package/src/libs/CreatorCoinConstants.sol +0 -15
- package/src/libs/MarketConstants.sol +0 -23
- package/src/utils/uniswap/BytesLib.sol +0 -35
- package/src/utils/uniswap/Path.sol +0 -31
- /package/abis/{VmContractHelper227.json → VmContractHelper239.json} +0 -0
package/dist/wagmiGenerated.d.ts
CHANGED
|
@@ -1564,10 +1564,6 @@ export declare const baseCoinABI: readonly [{
|
|
|
1564
1564
|
readonly type: "error";
|
|
1565
1565
|
readonly inputs: readonly [];
|
|
1566
1566
|
readonly name: "OwnerCannotBeAddressZero";
|
|
1567
|
-
}, {
|
|
1568
|
-
readonly type: "error";
|
|
1569
|
-
readonly inputs: readonly [];
|
|
1570
|
-
readonly name: "ReentrancyGuardReentrantCall";
|
|
1571
1567
|
}, {
|
|
1572
1568
|
readonly type: "error";
|
|
1573
1569
|
readonly inputs: readonly [];
|
|
@@ -1577,7 +1573,7 @@ export declare const baseCoinABI: readonly [{
|
|
|
1577
1573
|
readonly inputs: readonly [];
|
|
1578
1574
|
readonly name: "UseRevokeOwnershipToRemoveSelf";
|
|
1579
1575
|
}];
|
|
1580
|
-
export declare const
|
|
1576
|
+
export declare const buySupplyWithV4SwapHookABI: readonly [{
|
|
1581
1577
|
readonly type: "constructor";
|
|
1582
1578
|
readonly inputs: readonly [{
|
|
1583
1579
|
readonly name: "_factory";
|
|
@@ -1615,6 +1611,105 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
1615
1611
|
readonly type: "bytes";
|
|
1616
1612
|
}];
|
|
1617
1613
|
readonly stateMutability: "payable";
|
|
1614
|
+
}, {
|
|
1615
|
+
readonly type: "function";
|
|
1616
|
+
readonly inputs: readonly [{
|
|
1617
|
+
readonly name: "data";
|
|
1618
|
+
readonly internalType: "bytes";
|
|
1619
|
+
readonly type: "bytes";
|
|
1620
|
+
}];
|
|
1621
|
+
readonly name: "decodeV4RouteData";
|
|
1622
|
+
readonly outputs: readonly [{
|
|
1623
|
+
readonly name: "v4Route";
|
|
1624
|
+
readonly internalType: "struct PoolKey[]";
|
|
1625
|
+
readonly type: "tuple[]";
|
|
1626
|
+
readonly components: readonly [{
|
|
1627
|
+
readonly name: "currency0";
|
|
1628
|
+
readonly internalType: "Currency";
|
|
1629
|
+
readonly type: "address";
|
|
1630
|
+
}, {
|
|
1631
|
+
readonly name: "currency1";
|
|
1632
|
+
readonly internalType: "Currency";
|
|
1633
|
+
readonly type: "address";
|
|
1634
|
+
}, {
|
|
1635
|
+
readonly name: "fee";
|
|
1636
|
+
readonly internalType: "uint24";
|
|
1637
|
+
readonly type: "uint24";
|
|
1638
|
+
}, {
|
|
1639
|
+
readonly name: "tickSpacing";
|
|
1640
|
+
readonly internalType: "int24";
|
|
1641
|
+
readonly type: "int24";
|
|
1642
|
+
}, {
|
|
1643
|
+
readonly name: "hooks";
|
|
1644
|
+
readonly internalType: "contract IHooks";
|
|
1645
|
+
readonly type: "address";
|
|
1646
|
+
}];
|
|
1647
|
+
}, {
|
|
1648
|
+
readonly name: "startAmount";
|
|
1649
|
+
readonly internalType: "uint256";
|
|
1650
|
+
readonly type: "uint256";
|
|
1651
|
+
}];
|
|
1652
|
+
readonly stateMutability: "pure";
|
|
1653
|
+
}, {
|
|
1654
|
+
readonly type: "function";
|
|
1655
|
+
readonly inputs: readonly [{
|
|
1656
|
+
readonly name: "params";
|
|
1657
|
+
readonly internalType: "struct BuySupplyWithV4SwapHook.InitialSupplyParams";
|
|
1658
|
+
readonly type: "tuple";
|
|
1659
|
+
readonly components: readonly [{
|
|
1660
|
+
readonly name: "buyRecipient";
|
|
1661
|
+
readonly internalType: "address";
|
|
1662
|
+
readonly type: "address";
|
|
1663
|
+
}, {
|
|
1664
|
+
readonly name: "v3Route";
|
|
1665
|
+
readonly internalType: "bytes";
|
|
1666
|
+
readonly type: "bytes";
|
|
1667
|
+
}, {
|
|
1668
|
+
readonly name: "v4Route";
|
|
1669
|
+
readonly internalType: "struct PoolKey[]";
|
|
1670
|
+
readonly type: "tuple[]";
|
|
1671
|
+
readonly components: readonly [{
|
|
1672
|
+
readonly name: "currency0";
|
|
1673
|
+
readonly internalType: "Currency";
|
|
1674
|
+
readonly type: "address";
|
|
1675
|
+
}, {
|
|
1676
|
+
readonly name: "currency1";
|
|
1677
|
+
readonly internalType: "Currency";
|
|
1678
|
+
readonly type: "address";
|
|
1679
|
+
}, {
|
|
1680
|
+
readonly name: "fee";
|
|
1681
|
+
readonly internalType: "uint24";
|
|
1682
|
+
readonly type: "uint24";
|
|
1683
|
+
}, {
|
|
1684
|
+
readonly name: "tickSpacing";
|
|
1685
|
+
readonly internalType: "int24";
|
|
1686
|
+
readonly type: "int24";
|
|
1687
|
+
}, {
|
|
1688
|
+
readonly name: "hooks";
|
|
1689
|
+
readonly internalType: "contract IHooks";
|
|
1690
|
+
readonly type: "address";
|
|
1691
|
+
}];
|
|
1692
|
+
}, {
|
|
1693
|
+
readonly name: "inputCurrency";
|
|
1694
|
+
readonly internalType: "address";
|
|
1695
|
+
readonly type: "address";
|
|
1696
|
+
}, {
|
|
1697
|
+
readonly name: "inputAmount";
|
|
1698
|
+
readonly internalType: "uint256";
|
|
1699
|
+
readonly type: "uint256";
|
|
1700
|
+
}, {
|
|
1701
|
+
readonly name: "minAmountOut";
|
|
1702
|
+
readonly internalType: "uint256";
|
|
1703
|
+
readonly type: "uint256";
|
|
1704
|
+
}];
|
|
1705
|
+
}];
|
|
1706
|
+
readonly name: "encodeBuySupplyWithV4SwapHookData";
|
|
1707
|
+
readonly outputs: readonly [{
|
|
1708
|
+
readonly name: "";
|
|
1709
|
+
readonly internalType: "bytes";
|
|
1710
|
+
readonly type: "bytes";
|
|
1711
|
+
}];
|
|
1712
|
+
readonly stateMutability: "pure";
|
|
1618
1713
|
}, {
|
|
1619
1714
|
readonly type: "function";
|
|
1620
1715
|
readonly inputs: readonly [];
|
|
@@ -1625,6 +1720,16 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
1625
1720
|
readonly type: "address";
|
|
1626
1721
|
}];
|
|
1627
1722
|
readonly stateMutability: "view";
|
|
1723
|
+
}, {
|
|
1724
|
+
readonly type: "function";
|
|
1725
|
+
readonly inputs: readonly [];
|
|
1726
|
+
readonly name: "poolManager";
|
|
1727
|
+
readonly outputs: readonly [{
|
|
1728
|
+
readonly name: "";
|
|
1729
|
+
readonly internalType: "contract IPoolManager";
|
|
1730
|
+
readonly type: "address";
|
|
1731
|
+
}];
|
|
1732
|
+
readonly stateMutability: "view";
|
|
1628
1733
|
}, {
|
|
1629
1734
|
readonly type: "function";
|
|
1630
1735
|
readonly inputs: readonly [{
|
|
@@ -1639,6 +1744,16 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
1639
1744
|
readonly type: "bool";
|
|
1640
1745
|
}];
|
|
1641
1746
|
readonly stateMutability: "pure";
|
|
1747
|
+
}, {
|
|
1748
|
+
readonly type: "function";
|
|
1749
|
+
readonly inputs: readonly [];
|
|
1750
|
+
readonly name: "swapRouter";
|
|
1751
|
+
readonly outputs: readonly [{
|
|
1752
|
+
readonly name: "";
|
|
1753
|
+
readonly internalType: "contract ISwapRouter";
|
|
1754
|
+
readonly type: "address";
|
|
1755
|
+
}];
|
|
1756
|
+
readonly stateMutability: "view";
|
|
1642
1757
|
}, {
|
|
1643
1758
|
readonly type: "function";
|
|
1644
1759
|
readonly inputs: readonly [{
|
|
@@ -1653,6 +1768,72 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
1653
1768
|
readonly type: "bytes";
|
|
1654
1769
|
}];
|
|
1655
1770
|
readonly stateMutability: "nonpayable";
|
|
1771
|
+
}, {
|
|
1772
|
+
readonly type: "event";
|
|
1773
|
+
readonly anonymous: false;
|
|
1774
|
+
readonly inputs: readonly [{
|
|
1775
|
+
readonly name: "coin";
|
|
1776
|
+
readonly internalType: "address";
|
|
1777
|
+
readonly type: "address";
|
|
1778
|
+
readonly indexed: true;
|
|
1779
|
+
}, {
|
|
1780
|
+
readonly name: "recipient";
|
|
1781
|
+
readonly internalType: "address";
|
|
1782
|
+
readonly type: "address";
|
|
1783
|
+
readonly indexed: true;
|
|
1784
|
+
}, {
|
|
1785
|
+
readonly name: "coinsPurchased";
|
|
1786
|
+
readonly internalType: "uint256";
|
|
1787
|
+
readonly type: "uint256";
|
|
1788
|
+
readonly indexed: true;
|
|
1789
|
+
}, {
|
|
1790
|
+
readonly name: "v3Route";
|
|
1791
|
+
readonly internalType: "bytes";
|
|
1792
|
+
readonly type: "bytes";
|
|
1793
|
+
readonly indexed: false;
|
|
1794
|
+
}, {
|
|
1795
|
+
readonly name: "v4Route";
|
|
1796
|
+
readonly internalType: "struct PoolKey[]";
|
|
1797
|
+
readonly type: "tuple[]";
|
|
1798
|
+
readonly components: readonly [{
|
|
1799
|
+
readonly name: "currency0";
|
|
1800
|
+
readonly internalType: "Currency";
|
|
1801
|
+
readonly type: "address";
|
|
1802
|
+
}, {
|
|
1803
|
+
readonly name: "currency1";
|
|
1804
|
+
readonly internalType: "Currency";
|
|
1805
|
+
readonly type: "address";
|
|
1806
|
+
}, {
|
|
1807
|
+
readonly name: "fee";
|
|
1808
|
+
readonly internalType: "uint24";
|
|
1809
|
+
readonly type: "uint24";
|
|
1810
|
+
}, {
|
|
1811
|
+
readonly name: "tickSpacing";
|
|
1812
|
+
readonly internalType: "int24";
|
|
1813
|
+
readonly type: "int24";
|
|
1814
|
+
}, {
|
|
1815
|
+
readonly name: "hooks";
|
|
1816
|
+
readonly internalType: "contract IHooks";
|
|
1817
|
+
readonly type: "address";
|
|
1818
|
+
}];
|
|
1819
|
+
readonly indexed: false;
|
|
1820
|
+
}, {
|
|
1821
|
+
readonly name: "inputCurrency";
|
|
1822
|
+
readonly internalType: "address";
|
|
1823
|
+
readonly type: "address";
|
|
1824
|
+
readonly indexed: false;
|
|
1825
|
+
}, {
|
|
1826
|
+
readonly name: "inputAmount";
|
|
1827
|
+
readonly internalType: "uint256";
|
|
1828
|
+
readonly type: "uint256";
|
|
1829
|
+
readonly indexed: false;
|
|
1830
|
+
}, {
|
|
1831
|
+
readonly name: "v4SwapInput";
|
|
1832
|
+
readonly internalType: "uint256";
|
|
1833
|
+
readonly type: "uint256";
|
|
1834
|
+
readonly indexed: false;
|
|
1835
|
+
}];
|
|
1836
|
+
readonly name: "BuyInitialSupply";
|
|
1656
1837
|
}, {
|
|
1657
1838
|
readonly type: "error";
|
|
1658
1839
|
readonly inputs: readonly [{
|
|
@@ -1673,26 +1854,6 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
1673
1854
|
readonly type: "error";
|
|
1674
1855
|
readonly inputs: readonly [];
|
|
1675
1856
|
readonly name: "AddressZero";
|
|
1676
|
-
}, {
|
|
1677
|
-
readonly type: "error";
|
|
1678
|
-
readonly inputs: readonly [{
|
|
1679
|
-
readonly name: "balance";
|
|
1680
|
-
readonly internalType: "uint256";
|
|
1681
|
-
readonly type: "uint256";
|
|
1682
|
-
}];
|
|
1683
|
-
readonly name: "CoinBalanceNot0";
|
|
1684
|
-
}, {
|
|
1685
|
-
readonly type: "error";
|
|
1686
|
-
readonly inputs: readonly [{
|
|
1687
|
-
readonly name: "balance";
|
|
1688
|
-
readonly internalType: "uint256";
|
|
1689
|
-
readonly type: "uint256";
|
|
1690
|
-
}];
|
|
1691
|
-
readonly name: "CurrencyBalanceNot0";
|
|
1692
|
-
}, {
|
|
1693
|
-
readonly type: "error";
|
|
1694
|
-
readonly inputs: readonly [];
|
|
1695
|
-
readonly name: "Erc20NotReceived";
|
|
1696
1857
|
}, {
|
|
1697
1858
|
readonly type: "error";
|
|
1698
1859
|
readonly inputs: readonly [];
|
|
@@ -1701,10 +1862,22 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
1701
1862
|
readonly type: "error";
|
|
1702
1863
|
readonly inputs: readonly [];
|
|
1703
1864
|
readonly name: "HookNotImplemented";
|
|
1865
|
+
}, {
|
|
1866
|
+
readonly type: "error";
|
|
1867
|
+
readonly inputs: readonly [{
|
|
1868
|
+
readonly name: "inputAmount";
|
|
1869
|
+
readonly internalType: "uint256";
|
|
1870
|
+
readonly type: "uint256";
|
|
1871
|
+
}, {
|
|
1872
|
+
readonly name: "availableAmount";
|
|
1873
|
+
readonly internalType: "uint256";
|
|
1874
|
+
readonly type: "uint256";
|
|
1875
|
+
}];
|
|
1876
|
+
readonly name: "InsufficientInputCurrency";
|
|
1704
1877
|
}, {
|
|
1705
1878
|
readonly type: "error";
|
|
1706
1879
|
readonly inputs: readonly [];
|
|
1707
|
-
readonly name: "
|
|
1880
|
+
readonly name: "InsufficientOutputAmount";
|
|
1708
1881
|
}, {
|
|
1709
1882
|
readonly type: "error";
|
|
1710
1883
|
readonly inputs: readonly [];
|
|
@@ -1723,12 +1896,12 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
|
|
|
1723
1896
|
readonly name: "SafeERC20FailedOperation";
|
|
1724
1897
|
}, {
|
|
1725
1898
|
readonly type: "error";
|
|
1726
|
-
readonly inputs: readonly [
|
|
1727
|
-
|
|
1728
|
-
|
|
1729
|
-
|
|
1730
|
-
|
|
1731
|
-
readonly name: "
|
|
1899
|
+
readonly inputs: readonly [];
|
|
1900
|
+
readonly name: "V3RouteCannotStartWithInputCurrency";
|
|
1901
|
+
}, {
|
|
1902
|
+
readonly type: "error";
|
|
1903
|
+
readonly inputs: readonly [];
|
|
1904
|
+
readonly name: "V3RouteDoesNotConnectToV4RouteStart";
|
|
1732
1905
|
}];
|
|
1733
1906
|
export declare const contentCoinABI: readonly [{
|
|
1734
1907
|
readonly type: "constructor";
|
|
@@ -3191,10 +3364,6 @@ export declare const contentCoinABI: readonly [{
|
|
|
3191
3364
|
readonly type: "error";
|
|
3192
3365
|
readonly inputs: readonly [];
|
|
3193
3366
|
readonly name: "OwnerCannotBeAddressZero";
|
|
3194
|
-
}, {
|
|
3195
|
-
readonly type: "error";
|
|
3196
|
-
readonly inputs: readonly [];
|
|
3197
|
-
readonly name: "ReentrancyGuardReentrantCall";
|
|
3198
3367
|
}, {
|
|
3199
3368
|
readonly type: "error";
|
|
3200
3369
|
readonly inputs: readonly [];
|
|
@@ -4749,10 +4918,6 @@ export declare const creatorCoinABI: readonly [{
|
|
|
4749
4918
|
readonly type: "error";
|
|
4750
4919
|
readonly inputs: readonly [];
|
|
4751
4920
|
readonly name: "OwnerCannotBeAddressZero";
|
|
4752
|
-
}, {
|
|
4753
|
-
readonly type: "error";
|
|
4754
|
-
readonly inputs: readonly [];
|
|
4755
|
-
readonly name: "ReentrancyGuardReentrantCall";
|
|
4756
4921
|
}, {
|
|
4757
4922
|
readonly type: "error";
|
|
4758
4923
|
readonly inputs: readonly [];
|
|
@@ -6056,6 +6221,60 @@ export declare const zoraFactoryImplABI: readonly [{
|
|
|
6056
6221
|
readonly type: "address";
|
|
6057
6222
|
}];
|
|
6058
6223
|
readonly stateMutability: "nonpayable";
|
|
6224
|
+
}, {
|
|
6225
|
+
readonly type: "function";
|
|
6226
|
+
readonly inputs: readonly [{
|
|
6227
|
+
readonly name: "payoutRecipient";
|
|
6228
|
+
readonly internalType: "address";
|
|
6229
|
+
readonly type: "address";
|
|
6230
|
+
}, {
|
|
6231
|
+
readonly name: "owners";
|
|
6232
|
+
readonly internalType: "address[]";
|
|
6233
|
+
readonly type: "address[]";
|
|
6234
|
+
}, {
|
|
6235
|
+
readonly name: "uri";
|
|
6236
|
+
readonly internalType: "string";
|
|
6237
|
+
readonly type: "string";
|
|
6238
|
+
}, {
|
|
6239
|
+
readonly name: "name";
|
|
6240
|
+
readonly internalType: "string";
|
|
6241
|
+
readonly type: "string";
|
|
6242
|
+
}, {
|
|
6243
|
+
readonly name: "symbol";
|
|
6244
|
+
readonly internalType: "string";
|
|
6245
|
+
readonly type: "string";
|
|
6246
|
+
}, {
|
|
6247
|
+
readonly name: "poolConfig";
|
|
6248
|
+
readonly internalType: "bytes";
|
|
6249
|
+
readonly type: "bytes";
|
|
6250
|
+
}, {
|
|
6251
|
+
readonly name: "platformReferrer";
|
|
6252
|
+
readonly internalType: "address";
|
|
6253
|
+
readonly type: "address";
|
|
6254
|
+
}, {
|
|
6255
|
+
readonly name: "postDeployHook";
|
|
6256
|
+
readonly internalType: "address";
|
|
6257
|
+
readonly type: "address";
|
|
6258
|
+
}, {
|
|
6259
|
+
readonly name: "postDeployHookData";
|
|
6260
|
+
readonly internalType: "bytes";
|
|
6261
|
+
readonly type: "bytes";
|
|
6262
|
+
}, {
|
|
6263
|
+
readonly name: "coinSalt";
|
|
6264
|
+
readonly internalType: "bytes32";
|
|
6265
|
+
readonly type: "bytes32";
|
|
6266
|
+
}];
|
|
6267
|
+
readonly name: "deployCreatorCoin";
|
|
6268
|
+
readonly outputs: readonly [{
|
|
6269
|
+
readonly name: "coin";
|
|
6270
|
+
readonly internalType: "address";
|
|
6271
|
+
readonly type: "address";
|
|
6272
|
+
}, {
|
|
6273
|
+
readonly name: "postDeployHookDataOut";
|
|
6274
|
+
readonly internalType: "bytes";
|
|
6275
|
+
readonly type: "bytes";
|
|
6276
|
+
}];
|
|
6277
|
+
readonly stateMutability: "payable";
|
|
6059
6278
|
}, {
|
|
6060
6279
|
readonly type: "function";
|
|
6061
6280
|
readonly inputs: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wagmiGenerated.d.ts","sourceRoot":"","sources":["../package/wagmiGenerated.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA2FjB,CAAA;AAMV,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"wagmiGenerated.d.ts","sourceRoot":"","sources":["../package/wagmiGenerated.ts"],"names":[],"mappings":"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/foundry.toml
CHANGED
|
@@ -20,6 +20,6 @@ fs_permissions = [
|
|
|
20
20
|
runs = 100
|
|
21
21
|
|
|
22
22
|
[rpc_endpoints]
|
|
23
|
-
base = "https://base
|
|
24
|
-
mainnet = "https://
|
|
25
|
-
zora = "https://rpc.zora.energy"
|
|
23
|
+
base = "https://base.gateway.tenderly.co/${TENDERLY_KEY}"
|
|
24
|
+
mainnet = "https://mainnet.gateway.tenderly.co/${TENDERLY_KEY}"
|
|
25
|
+
zora = "https://rpc.zora.energy/${CONDUIT_KEY}"
|