@zoralabs/protocol-deployments 0.6.0-creator-coins.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -13,6 +13,98 @@ import {
13
13
  } from "./chunk-PR4QN5HX.js";
14
14
 
15
15
  // src/generated/wagmi.ts
16
+ var autoSwapperABI = [
17
+ {
18
+ type: "constructor",
19
+ inputs: [
20
+ {
21
+ name: "_router",
22
+ internalType: "contract ISwapRouter",
23
+ type: "address"
24
+ },
25
+ { name: "_swapRecipient", internalType: "address", type: "address" },
26
+ { name: "_swapper", internalType: "address", type: "address" }
27
+ ],
28
+ stateMutability: "nonpayable"
29
+ },
30
+ {
31
+ type: "function",
32
+ inputs: [],
33
+ name: "router",
34
+ outputs: [
35
+ { name: "", internalType: "contract ISwapRouter", type: "address" }
36
+ ],
37
+ stateMutability: "view"
38
+ },
39
+ {
40
+ type: "function",
41
+ inputs: [
42
+ {
43
+ name: "params",
44
+ internalType: "struct AutoSwapper.ExactInputParams",
45
+ type: "tuple",
46
+ components: [
47
+ { name: "path", internalType: "bytes", type: "bytes" },
48
+ { name: "amountIn", internalType: "uint256", type: "uint256" },
49
+ {
50
+ name: "amountOutMinimum",
51
+ internalType: "uint256",
52
+ type: "uint256"
53
+ }
54
+ ]
55
+ }
56
+ ],
57
+ name: "swapExactInput",
58
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
59
+ stateMutability: "nonpayable"
60
+ },
61
+ {
62
+ type: "function",
63
+ inputs: [
64
+ {
65
+ name: "params",
66
+ internalType: "struct AutoSwapper.ExactInputSingleParams",
67
+ type: "tuple",
68
+ components: [
69
+ { name: "tokenIn", internalType: "address", type: "address" },
70
+ { name: "tokenOut", internalType: "address", type: "address" },
71
+ { name: "fee", internalType: "uint24", type: "uint24" },
72
+ { name: "amountIn", internalType: "uint256", type: "uint256" },
73
+ {
74
+ name: "amountOutMinimum",
75
+ internalType: "uint256",
76
+ type: "uint256"
77
+ },
78
+ {
79
+ name: "sqrtPriceLimitX96",
80
+ internalType: "uint160",
81
+ type: "uint160"
82
+ }
83
+ ]
84
+ }
85
+ ],
86
+ name: "swapExactInputSingle",
87
+ outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
88
+ stateMutability: "nonpayable"
89
+ },
90
+ {
91
+ type: "function",
92
+ inputs: [],
93
+ name: "swapRecipient",
94
+ outputs: [{ name: "", internalType: "address", type: "address" }],
95
+ stateMutability: "view"
96
+ },
97
+ {
98
+ type: "function",
99
+ inputs: [],
100
+ name: "swapper",
101
+ outputs: [{ name: "", internalType: "address", type: "address" }],
102
+ stateMutability: "view"
103
+ },
104
+ { type: "error", inputs: [], name: "InvalidRecipient" },
105
+ { type: "error", inputs: [], name: "InvalidSelector" },
106
+ { type: "error", inputs: [], name: "NotSwapper" }
107
+ ];
16
108
  var buySupplyWithSwapRouterHookABI = [
17
109
  {
18
110
  type: "constructor",
@@ -22,7 +114,8 @@ var buySupplyWithSwapRouterHookABI = [
22
114
  internalType: "contract IZoraFactory",
23
115
  type: "address"
24
116
  },
25
- { name: "_swapRouter", internalType: "address", type: "address" }
117
+ { name: "_swapRouter", internalType: "address", type: "address" },
118
+ { name: "_poolManager", internalType: "address", type: "address" }
26
119
  ],
27
120
  stateMutability: "nonpayable"
28
121
  },
@@ -53,16 +146,45 @@ var buySupplyWithSwapRouterHookABI = [
53
146
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
54
147
  stateMutability: "pure"
55
148
  },
149
+ {
150
+ type: "function",
151
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
152
+ name: "unlockCallback",
153
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
154
+ stateMutability: "nonpayable"
155
+ },
156
+ {
157
+ type: "error",
158
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
159
+ name: "AddressEmptyCode"
160
+ },
161
+ {
162
+ type: "error",
163
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
164
+ name: "AddressInsufficientBalance"
165
+ },
56
166
  { type: "error", inputs: [], name: "AddressZero" },
57
167
  {
58
168
  type: "error",
59
169
  inputs: [{ name: "balance", internalType: "uint256", type: "uint256" }],
60
170
  name: "CoinBalanceNot0"
61
171
  },
172
+ {
173
+ type: "error",
174
+ inputs: [{ name: "balance", internalType: "uint256", type: "uint256" }],
175
+ name: "CurrencyBalanceNot0"
176
+ },
62
177
  { type: "error", inputs: [], name: "Erc20NotReceived" },
178
+ { type: "error", inputs: [], name: "FailedInnerCall" },
63
179
  { type: "error", inputs: [], name: "HookNotImplemented" },
64
180
  { type: "error", inputs: [], name: "InvalidSwapRouterCall" },
65
181
  { type: "error", inputs: [], name: "NotFactory" },
182
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
183
+ {
184
+ type: "error",
185
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
186
+ name: "SafeERC20FailedOperation"
187
+ },
66
188
  {
67
189
  type: "error",
68
190
  inputs: [{ name: "error", internalType: "bytes", type: "bytes" }],
@@ -70,8 +192,8 @@ var buySupplyWithSwapRouterHookABI = [
70
192
  }
71
193
  ];
72
194
  var buySupplyWithSwapRouterHookAddress = {
73
- 8453: "0x4269b3ba4522192e0C54197BD0D7131A3abA6256",
74
- 84532: "0x1463f270201b846a8B243243D4B982CB0720fA86"
195
+ 8453: "0xd77038a7f400E8242d2916f7EB5741e689d4aE25",
196
+ 84532: "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE"
75
197
  };
76
198
  var buySupplyWithSwapRouterHookConfig = {
77
199
  address: buySupplyWithSwapRouterHookAddress,
@@ -1510,6 +1632,16 @@ var coinABI = [
1510
1632
  outputs: [],
1511
1633
  stateMutability: "nonpayable"
1512
1634
  },
1635
+ {
1636
+ type: "function",
1637
+ inputs: [
1638
+ { name: "newName", internalType: "string", type: "string" },
1639
+ { name: "newSymbol", internalType: "string", type: "string" }
1640
+ ],
1641
+ name: "setNameAndSymbol",
1642
+ outputs: [],
1643
+ stateMutability: "nonpayable"
1644
+ },
1513
1645
  {
1514
1646
  type: "function",
1515
1647
  inputs: [
@@ -1949,6 +2081,31 @@ var coinABI = [
1949
2081
  ],
1950
2082
  name: "Initialized"
1951
2083
  },
2084
+ {
2085
+ type: "event",
2086
+ anonymous: false,
2087
+ inputs: [
2088
+ {
2089
+ name: "caller",
2090
+ internalType: "address",
2091
+ type: "address",
2092
+ indexed: true
2093
+ },
2094
+ {
2095
+ name: "newName",
2096
+ internalType: "string",
2097
+ type: "string",
2098
+ indexed: false
2099
+ },
2100
+ {
2101
+ name: "newSymbol",
2102
+ internalType: "string",
2103
+ type: "string",
2104
+ indexed: false
2105
+ }
2106
+ ],
2107
+ name: "NameAndSymbolUpdated"
2108
+ },
1952
2109
  {
1953
2110
  type: "event",
1954
2111
  anonymous: false,
@@ -2141,7 +2298,9 @@ var coinFactoryABI = [
2141
2298
  inputs: [
2142
2299
  { name: "_coinImpl", internalType: "address", type: "address" },
2143
2300
  { name: "_coinV4Impl", internalType: "address", type: "address" },
2144
- { name: "_creatorCoinImpl", internalType: "address", type: "address" }
2301
+ { name: "_creatorCoinImpl", internalType: "address", type: "address" },
2302
+ { name: "_contentCoinHook", internalType: "address", type: "address" },
2303
+ { name: "_creatorCoinHook", internalType: "address", type: "address" }
2145
2304
  ],
2146
2305
  stateMutability: "nonpayable"
2147
2306
  },
@@ -2180,6 +2339,13 @@ var coinFactoryABI = [
2180
2339
  outputs: [{ name: "", internalType: "address", type: "address" }],
2181
2340
  stateMutability: "view"
2182
2341
  },
2342
+ {
2343
+ type: "function",
2344
+ inputs: [],
2345
+ name: "contentCoinHook",
2346
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2347
+ stateMutability: "view"
2348
+ },
2183
2349
  {
2184
2350
  type: "function",
2185
2351
  inputs: [],
@@ -2194,6 +2360,13 @@ var coinFactoryABI = [
2194
2360
  outputs: [{ name: "", internalType: "string", type: "string" }],
2195
2361
  stateMutability: "pure"
2196
2362
  },
2363
+ {
2364
+ type: "function",
2365
+ inputs: [],
2366
+ name: "creatorCoinHook",
2367
+ outputs: [{ name: "", internalType: "address", type: "address" }],
2368
+ stateMutability: "view"
2369
+ },
2197
2370
  {
2198
2371
  type: "function",
2199
2372
  inputs: [],
@@ -2690,8 +2863,8 @@ var coinFactoryABI = [
2690
2863
  { type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" }
2691
2864
  ];
2692
2865
  var coinFactoryAddress = {
2693
- 8453: "0x25271c98c1548c075c6DD463308c9a37135c842c",
2694
- 84532: "0x777777751622c0d3258f214F9DF38E35BF45baF3"
2866
+ 8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3",
2867
+ 84532: "0xaF88840cb637F2684A9E460316b1678AD6245e4a"
2695
2868
  };
2696
2869
  var coinFactoryConfig = {
2697
2870
  address: coinFactoryAddress,
@@ -2712,8 +2885,7 @@ var coinV4ABI = [
2712
2885
  internalType: "contract IPoolManager",
2713
2886
  type: "address"
2714
2887
  },
2715
- { name: "airlock_", internalType: "address", type: "address" },
2716
- { name: "hooks_", internalType: "contract IHooks", type: "address" }
2888
+ { name: "airlock_", internalType: "address", type: "address" }
2717
2889
  ],
2718
2890
  stateMutability: "nonpayable"
2719
2891
  },
@@ -2989,6 +3161,29 @@ var coinV4ABI = [
2989
3161
  outputs: [{ name: "", internalType: "bool", type: "bool" }],
2990
3162
  stateMutability: "view"
2991
3163
  },
3164
+ {
3165
+ type: "function",
3166
+ inputs: [
3167
+ { name: "newHook", internalType: "address", type: "address" },
3168
+ { name: "additionalData", internalType: "bytes", type: "bytes" }
3169
+ ],
3170
+ name: "migrateLiquidity",
3171
+ outputs: [
3172
+ {
3173
+ name: "newPoolKey",
3174
+ internalType: "struct PoolKey",
3175
+ type: "tuple",
3176
+ components: [
3177
+ { name: "currency0", internalType: "Currency", type: "address" },
3178
+ { name: "currency1", internalType: "Currency", type: "address" },
3179
+ { name: "fee", internalType: "uint24", type: "uint24" },
3180
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
3181
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
3182
+ ]
3183
+ }
3184
+ ],
3185
+ stateMutability: "nonpayable"
3186
+ },
2992
3187
  {
2993
3188
  type: "function",
2994
3189
  inputs: [],
@@ -3092,6 +3287,16 @@ var coinV4ABI = [
3092
3287
  outputs: [],
3093
3288
  stateMutability: "nonpayable"
3094
3289
  },
3290
+ {
3291
+ type: "function",
3292
+ inputs: [
3293
+ { name: "newName", internalType: "string", type: "string" },
3294
+ { name: "newSymbol", internalType: "string", type: "string" }
3295
+ ],
3296
+ name: "setNameAndSymbol",
3297
+ outputs: [],
3298
+ stateMutability: "nonpayable"
3299
+ },
3095
3300
  {
3096
3301
  type: "function",
3097
3302
  inputs: [
@@ -3506,6 +3711,76 @@ var coinV4ABI = [
3506
3711
  ],
3507
3712
  name: "Initialized"
3508
3713
  },
3714
+ {
3715
+ type: "event",
3716
+ anonymous: false,
3717
+ inputs: [
3718
+ {
3719
+ name: "fromPoolKey",
3720
+ internalType: "struct PoolKey",
3721
+ type: "tuple",
3722
+ components: [
3723
+ { name: "currency0", internalType: "Currency", type: "address" },
3724
+ { name: "currency1", internalType: "Currency", type: "address" },
3725
+ { name: "fee", internalType: "uint24", type: "uint24" },
3726
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
3727
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
3728
+ ],
3729
+ indexed: false
3730
+ },
3731
+ {
3732
+ name: "fromPoolKeyHash",
3733
+ internalType: "bytes32",
3734
+ type: "bytes32",
3735
+ indexed: false
3736
+ },
3737
+ {
3738
+ name: "toPoolKey",
3739
+ internalType: "struct PoolKey",
3740
+ type: "tuple",
3741
+ components: [
3742
+ { name: "currency0", internalType: "Currency", type: "address" },
3743
+ { name: "currency1", internalType: "Currency", type: "address" },
3744
+ { name: "fee", internalType: "uint24", type: "uint24" },
3745
+ { name: "tickSpacing", internalType: "int24", type: "int24" },
3746
+ { name: "hooks", internalType: "contract IHooks", type: "address" }
3747
+ ],
3748
+ indexed: false
3749
+ },
3750
+ {
3751
+ name: "toPoolKeyHash",
3752
+ internalType: "bytes32",
3753
+ type: "bytes32",
3754
+ indexed: false
3755
+ }
3756
+ ],
3757
+ name: "LiquidityMigrated"
3758
+ },
3759
+ {
3760
+ type: "event",
3761
+ anonymous: false,
3762
+ inputs: [
3763
+ {
3764
+ name: "caller",
3765
+ internalType: "address",
3766
+ type: "address",
3767
+ indexed: true
3768
+ },
3769
+ {
3770
+ name: "newName",
3771
+ internalType: "string",
3772
+ type: "string",
3773
+ indexed: false
3774
+ },
3775
+ {
3776
+ name: "newSymbol",
3777
+ internalType: "string",
3778
+ type: "string",
3779
+ indexed: false
3780
+ }
3781
+ ],
3782
+ name: "NameAndSymbolUpdated"
3783
+ },
3509
3784
  {
3510
3785
  type: "event",
3511
3786
  anonymous: false,
@@ -5450,13 +5725,108 @@ var commentsConfig = {
5450
5725
  address: commentsAddress,
5451
5726
  abi: commentsABI
5452
5727
  };
5728
+ var devBuySupplyWithSwapRouterHookABI = [
5729
+ {
5730
+ type: "constructor",
5731
+ inputs: [
5732
+ {
5733
+ name: "_factory",
5734
+ internalType: "contract IZoraFactory",
5735
+ type: "address"
5736
+ },
5737
+ { name: "_swapRouter", internalType: "address", type: "address" },
5738
+ { name: "_poolManager", internalType: "address", type: "address" }
5739
+ ],
5740
+ stateMutability: "nonpayable"
5741
+ },
5742
+ {
5743
+ type: "function",
5744
+ inputs: [
5745
+ { name: "sender", internalType: "address", type: "address" },
5746
+ { name: "coin", internalType: "contract ICoin", type: "address" },
5747
+ { name: "hookData", internalType: "bytes", type: "bytes" }
5748
+ ],
5749
+ name: "afterCoinDeploy",
5750
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
5751
+ stateMutability: "payable"
5752
+ },
5753
+ {
5754
+ type: "function",
5755
+ inputs: [],
5756
+ name: "factory",
5757
+ outputs: [
5758
+ { name: "", internalType: "contract IZoraFactory", type: "address" }
5759
+ ],
5760
+ stateMutability: "view"
5761
+ },
5762
+ {
5763
+ type: "function",
5764
+ inputs: [{ name: "interfaceId", internalType: "bytes4", type: "bytes4" }],
5765
+ name: "supportsInterface",
5766
+ outputs: [{ name: "", internalType: "bool", type: "bool" }],
5767
+ stateMutability: "pure"
5768
+ },
5769
+ {
5770
+ type: "function",
5771
+ inputs: [{ name: "data", internalType: "bytes", type: "bytes" }],
5772
+ name: "unlockCallback",
5773
+ outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
5774
+ stateMutability: "nonpayable"
5775
+ },
5776
+ {
5777
+ type: "error",
5778
+ inputs: [{ name: "target", internalType: "address", type: "address" }],
5779
+ name: "AddressEmptyCode"
5780
+ },
5781
+ {
5782
+ type: "error",
5783
+ inputs: [{ name: "account", internalType: "address", type: "address" }],
5784
+ name: "AddressInsufficientBalance"
5785
+ },
5786
+ { type: "error", inputs: [], name: "AddressZero" },
5787
+ {
5788
+ type: "error",
5789
+ inputs: [{ name: "balance", internalType: "uint256", type: "uint256" }],
5790
+ name: "CoinBalanceNot0"
5791
+ },
5792
+ {
5793
+ type: "error",
5794
+ inputs: [{ name: "balance", internalType: "uint256", type: "uint256" }],
5795
+ name: "CurrencyBalanceNot0"
5796
+ },
5797
+ { type: "error", inputs: [], name: "Erc20NotReceived" },
5798
+ { type: "error", inputs: [], name: "FailedInnerCall" },
5799
+ { type: "error", inputs: [], name: "HookNotImplemented" },
5800
+ { type: "error", inputs: [], name: "InvalidSwapRouterCall" },
5801
+ { type: "error", inputs: [], name: "NotFactory" },
5802
+ { type: "error", inputs: [], name: "OnlyPoolManager" },
5803
+ {
5804
+ type: "error",
5805
+ inputs: [{ name: "token", internalType: "address", type: "address" }],
5806
+ name: "SafeERC20FailedOperation"
5807
+ },
5808
+ {
5809
+ type: "error",
5810
+ inputs: [{ name: "error", internalType: "bytes", type: "bytes" }],
5811
+ name: "SwapReverted"
5812
+ }
5813
+ ];
5814
+ var devBuySupplyWithSwapRouterHookAddress = {
5815
+ 8453: "0x62B95629F965bf48E15BB110A1729B9b9dF1C07D"
5816
+ };
5817
+ var devBuySupplyWithSwapRouterHookConfig = {
5818
+ address: devBuySupplyWithSwapRouterHookAddress,
5819
+ abi: devBuySupplyWithSwapRouterHookABI
5820
+ };
5453
5821
  var devCoinFactoryABI = [
5454
5822
  {
5455
5823
  type: "constructor",
5456
5824
  inputs: [
5457
5825
  { name: "_coinImpl", internalType: "address", type: "address" },
5458
5826
  { name: "_coinV4Impl", internalType: "address", type: "address" },
5459
- { name: "_creatorCoinImpl", internalType: "address", type: "address" }
5827
+ { name: "_creatorCoinImpl", internalType: "address", type: "address" },
5828
+ { name: "_contentCoinHook", internalType: "address", type: "address" },
5829
+ { name: "_creatorCoinHook", internalType: "address", type: "address" }
5460
5830
  ],
5461
5831
  stateMutability: "nonpayable"
5462
5832
  },
@@ -5495,6 +5865,13 @@ var devCoinFactoryABI = [
5495
5865
  outputs: [{ name: "", internalType: "address", type: "address" }],
5496
5866
  stateMutability: "view"
5497
5867
  },
5868
+ {
5869
+ type: "function",
5870
+ inputs: [],
5871
+ name: "contentCoinHook",
5872
+ outputs: [{ name: "", internalType: "address", type: "address" }],
5873
+ stateMutability: "view"
5874
+ },
5498
5875
  {
5499
5876
  type: "function",
5500
5877
  inputs: [],
@@ -5509,6 +5886,13 @@ var devCoinFactoryABI = [
5509
5886
  outputs: [{ name: "", internalType: "string", type: "string" }],
5510
5887
  stateMutability: "pure"
5511
5888
  },
5889
+ {
5890
+ type: "function",
5891
+ inputs: [],
5892
+ name: "creatorCoinHook",
5893
+ outputs: [{ name: "", internalType: "address", type: "address" }],
5894
+ stateMutability: "view"
5895
+ },
5512
5896
  {
5513
5897
  type: "function",
5514
5898
  inputs: [],
@@ -6005,7 +6389,7 @@ var devCoinFactoryABI = [
6005
6389
  { type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" }
6006
6390
  ];
6007
6391
  var devCoinFactoryAddress = {
6008
- 8453: "0x3d7A3f3351855e135CF89AB412A7C2AA449f9296"
6392
+ 8453: "0x47B0C1205B01e5e967dB24A186968152e5cCf764"
6009
6393
  };
6010
6394
  var devCoinFactoryConfig = {
6011
6395
  address: devCoinFactoryAddress,
@@ -9439,6 +9823,128 @@ var sponsoredSparksSpenderConfig = {
9439
9823
  address: sponsoredSparksSpenderAddress,
9440
9824
  abi: sponsoredSparksSpenderABI
9441
9825
  };
9826
+ var uniswapQuoterV2ABI = [
9827
+ {
9828
+ type: "function",
9829
+ inputs: [
9830
+ { name: "path", internalType: "bytes", type: "bytes" },
9831
+ { name: "amountIn", internalType: "uint256", type: "uint256" }
9832
+ ],
9833
+ name: "quoteExactInput",
9834
+ outputs: [
9835
+ { name: "amountOut", internalType: "uint256", type: "uint256" },
9836
+ {
9837
+ name: "sqrtPriceX96AfterList",
9838
+ internalType: "uint160[]",
9839
+ type: "uint160[]"
9840
+ },
9841
+ {
9842
+ name: "initializedTicksCrossedList",
9843
+ internalType: "uint32[]",
9844
+ type: "uint32[]"
9845
+ },
9846
+ { name: "gasEstimate", internalType: "uint256", type: "uint256" }
9847
+ ],
9848
+ stateMutability: "nonpayable"
9849
+ },
9850
+ {
9851
+ type: "function",
9852
+ inputs: [
9853
+ {
9854
+ name: "params",
9855
+ internalType: "struct IQuoterV2.QuoteExactInputSingleParams",
9856
+ type: "tuple",
9857
+ components: [
9858
+ { name: "tokenIn", internalType: "address", type: "address" },
9859
+ { name: "tokenOut", internalType: "address", type: "address" },
9860
+ { name: "amountIn", internalType: "uint256", type: "uint256" },
9861
+ { name: "fee", internalType: "uint24", type: "uint24" },
9862
+ {
9863
+ name: "sqrtPriceLimitX96",
9864
+ internalType: "uint160",
9865
+ type: "uint160"
9866
+ }
9867
+ ]
9868
+ }
9869
+ ],
9870
+ name: "quoteExactInputSingle",
9871
+ outputs: [
9872
+ { name: "amountOut", internalType: "uint256", type: "uint256" },
9873
+ { name: "sqrtPriceX96After", internalType: "uint160", type: "uint160" },
9874
+ {
9875
+ name: "initializedTicksCrossed",
9876
+ internalType: "uint32",
9877
+ type: "uint32"
9878
+ },
9879
+ { name: "gasEstimate", internalType: "uint256", type: "uint256" }
9880
+ ],
9881
+ stateMutability: "nonpayable"
9882
+ },
9883
+ {
9884
+ type: "function",
9885
+ inputs: [
9886
+ { name: "path", internalType: "bytes", type: "bytes" },
9887
+ { name: "amountOut", internalType: "uint256", type: "uint256" }
9888
+ ],
9889
+ name: "quoteExactOutput",
9890
+ outputs: [
9891
+ { name: "amountIn", internalType: "uint256", type: "uint256" },
9892
+ {
9893
+ name: "sqrtPriceX96AfterList",
9894
+ internalType: "uint160[]",
9895
+ type: "uint160[]"
9896
+ },
9897
+ {
9898
+ name: "initializedTicksCrossedList",
9899
+ internalType: "uint32[]",
9900
+ type: "uint32[]"
9901
+ },
9902
+ { name: "gasEstimate", internalType: "uint256", type: "uint256" }
9903
+ ],
9904
+ stateMutability: "nonpayable"
9905
+ },
9906
+ {
9907
+ type: "function",
9908
+ inputs: [
9909
+ {
9910
+ name: "params",
9911
+ internalType: "struct IQuoterV2.QuoteExactOutputSingleParams",
9912
+ type: "tuple",
9913
+ components: [
9914
+ { name: "tokenIn", internalType: "address", type: "address" },
9915
+ { name: "tokenOut", internalType: "address", type: "address" },
9916
+ { name: "amount", internalType: "uint256", type: "uint256" },
9917
+ { name: "fee", internalType: "uint24", type: "uint24" },
9918
+ {
9919
+ name: "sqrtPriceLimitX96",
9920
+ internalType: "uint160",
9921
+ type: "uint160"
9922
+ }
9923
+ ]
9924
+ }
9925
+ ],
9926
+ name: "quoteExactOutputSingle",
9927
+ outputs: [
9928
+ { name: "amountIn", internalType: "uint256", type: "uint256" },
9929
+ { name: "sqrtPriceX96After", internalType: "uint160", type: "uint160" },
9930
+ {
9931
+ name: "initializedTicksCrossed",
9932
+ internalType: "uint32",
9933
+ type: "uint32"
9934
+ },
9935
+ { name: "gasEstimate", internalType: "uint256", type: "uint256" }
9936
+ ],
9937
+ stateMutability: "nonpayable"
9938
+ }
9939
+ ];
9940
+ var uniswapQuoterV2Address = {
9941
+ 8453: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
9942
+ 84532: "0xC5290058841028F1614F3A6F0F5816cAd0df5E27"
9943
+ };
9944
+ var uniswapQuoterV2Config = {
9945
+ address: uniswapQuoterV2Address,
9946
+ abi: uniswapQuoterV2ABI
9947
+ };
9442
9948
  var uniswapUniversalRouterABI = [
9443
9949
  {
9444
9950
  type: "function",
@@ -18612,6 +19118,7 @@ var chainConfigs2 = {
18612
19118
  NONFUNGIBLE_POSITION_MANAGER: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
18613
19119
  UNISWAP_SWAP_ROUTER: "0x2626664c2603336E57B271c5C0b26F421741e481",
18614
19120
  UNISWAP_V3_FACTORY: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
19121
+ UNISWAP_QUOTER_V2: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
18615
19122
  DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
18616
19123
  PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
18617
19124
  ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
@@ -18639,6 +19146,7 @@ var chainConfigs2 = {
18639
19146
  NONFUNGIBLE_POSITION_MANAGER: "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
18640
19147
  UNISWAP_SWAP_ROUTER: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
18641
19148
  UNISWAP_V3_FACTORY: "0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24",
19149
+ UNISWAP_QUOTER_V2: "0xC5290058841028F1614F3A6F0F5816cAd0df5E27",
18642
19150
  DOPPLER_AIRLOCK: "0xa24E35a5d71d02a59b41E7c93567626302da1958",
18643
19151
  PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
18644
19152
  ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
@@ -18753,6 +19261,7 @@ var addresses2 = {
18753
19261
  };
18754
19262
  export {
18755
19263
  PremintConfigVersion,
19264
+ autoSwapperABI,
18756
19265
  buySupplyWithSwapRouterHookABI,
18757
19266
  buySupplyWithSwapRouterHookAbiParameters,
18758
19267
  buySupplyWithSwapRouterHookAddress,
@@ -18775,6 +19284,9 @@ export {
18775
19284
  commentsConfig,
18776
19285
  __exports as contracts1155,
18777
19286
  decodeBuySupplyWithSwapRouterHookReturn,
19287
+ devBuySupplyWithSwapRouterHookABI,
19288
+ devBuySupplyWithSwapRouterHookAddress,
19289
+ devBuySupplyWithSwapRouterHookConfig,
18778
19290
  devCoinFactoryABI,
18779
19291
  devCoinFactoryAddress,
18780
19292
  devCoinFactoryConfig,
@@ -18825,6 +19337,9 @@ export {
18825
19337
  sponsoredSparksSpenderABI,
18826
19338
  sponsoredSparksSpenderAddress,
18827
19339
  sponsoredSparksSpenderConfig,
19340
+ uniswapQuoterV2ABI,
19341
+ uniswapQuoterV2Address,
19342
+ uniswapQuoterV2Config,
18828
19343
  uniswapUniversalRouterABI,
18829
19344
  uniswapUniversalRouterAddress,
18830
19345
  uniswapUniversalRouterConfig,