@zoralabs/protocol-deployments 0.6.2 → 0.6.4-PRE.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/.turbo/turbo-build$colon$js.log +53 -0
- package/CHANGELOG.md +21 -2
- package/dist/{_esm-3RFC2XVO.js → _esm-OJM6GREZ.js} +138 -131
- package/dist/_esm-OJM6GREZ.js.map +1 -0
- package/dist/{ccip-C5WONSSK.js → ccip-4Y6T462U.js} +3 -2
- package/dist/chunk-BYTNVMX7.js +408 -0
- package/dist/chunk-BYTNVMX7.js.map +1 -0
- package/dist/{chunk-NPNNGXR4.js → chunk-KMBLRPCX.js} +980 -578
- package/dist/chunk-KMBLRPCX.js.map +1 -0
- package/dist/encoding.d.ts +0 -55
- package/dist/encoding.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +4798 -5680
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +736 -1221
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +624 -1021
- package/dist/index.js.map +1 -1
- package/dist/{secp256k1-QZA5SALG.js → secp256k1-XP7IUONI.js} +438 -746
- package/dist/secp256k1-XP7IUONI.js.map +1 -0
- package/package.json +12 -11
- package/src/encoding.ts +1 -124
- package/src/generated/wagmi.ts +443 -805
- package/.turbo/turbo-build.log +0 -46
- package/LICENSE +0 -21
- package/dist/_esm-3RFC2XVO.js.map +0 -1
- package/dist/chunk-NPNNGXR4.js.map +0 -1
- package/dist/secp256k1-QZA5SALG.js.map +0 -1
- /package/dist/{ccip-C5WONSSK.js.map → ccip-4Y6T462U.js.map} +0 -0
package/src/generated/wagmi.ts
CHANGED
|
@@ -100,7 +100,7 @@ export const autoSwapperABI = [
|
|
|
100
100
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
101
101
|
|
|
102
102
|
/**
|
|
103
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
103
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xd8CC7bCA1dE52eA788829B16E375e9B96C18D433)
|
|
104
104
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
|
|
105
105
|
*/
|
|
106
106
|
export const buySupplyWithSwapRouterHookABI = [
|
|
@@ -128,6 +128,63 @@ export const buySupplyWithSwapRouterHookABI = [
|
|
|
128
128
|
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
|
|
129
129
|
stateMutability: 'payable',
|
|
130
130
|
},
|
|
131
|
+
{
|
|
132
|
+
type: 'function',
|
|
133
|
+
inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
|
|
134
|
+
name: 'decodeV4RouteData',
|
|
135
|
+
outputs: [
|
|
136
|
+
{
|
|
137
|
+
name: 'v4Route',
|
|
138
|
+
internalType: 'struct PoolKey[]',
|
|
139
|
+
type: 'tuple[]',
|
|
140
|
+
components: [
|
|
141
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
142
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
143
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
144
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
145
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
146
|
+
],
|
|
147
|
+
},
|
|
148
|
+
{ name: 'startAmount', internalType: 'uint256', type: 'uint256' },
|
|
149
|
+
],
|
|
150
|
+
stateMutability: 'pure',
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
type: 'function',
|
|
154
|
+
inputs: [
|
|
155
|
+
{
|
|
156
|
+
name: 'params',
|
|
157
|
+
internalType: 'struct BuySupplyWithV4SwapHook.InitialSupplyParams',
|
|
158
|
+
type: 'tuple',
|
|
159
|
+
components: [
|
|
160
|
+
{ name: 'buyRecipient', internalType: 'address', type: 'address' },
|
|
161
|
+
{ name: 'v3Route', internalType: 'bytes', type: 'bytes' },
|
|
162
|
+
{
|
|
163
|
+
name: 'v4Route',
|
|
164
|
+
internalType: 'struct PoolKey[]',
|
|
165
|
+
type: 'tuple[]',
|
|
166
|
+
components: [
|
|
167
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
168
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
169
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
170
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
171
|
+
{
|
|
172
|
+
name: 'hooks',
|
|
173
|
+
internalType: 'contract IHooks',
|
|
174
|
+
type: 'address',
|
|
175
|
+
},
|
|
176
|
+
],
|
|
177
|
+
},
|
|
178
|
+
{ name: 'inputCurrency', internalType: 'address', type: 'address' },
|
|
179
|
+
{ name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
|
|
180
|
+
{ name: 'minAmountOut', internalType: 'uint256', type: 'uint256' },
|
|
181
|
+
],
|
|
182
|
+
},
|
|
183
|
+
],
|
|
184
|
+
name: 'encodeBuySupplyWithV4SwapHookData',
|
|
185
|
+
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
|
|
186
|
+
stateMutability: 'pure',
|
|
187
|
+
},
|
|
131
188
|
{
|
|
132
189
|
type: 'function',
|
|
133
190
|
inputs: [],
|
|
@@ -137,6 +194,15 @@ export const buySupplyWithSwapRouterHookABI = [
|
|
|
137
194
|
],
|
|
138
195
|
stateMutability: 'view',
|
|
139
196
|
},
|
|
197
|
+
{
|
|
198
|
+
type: 'function',
|
|
199
|
+
inputs: [],
|
|
200
|
+
name: 'poolManager',
|
|
201
|
+
outputs: [
|
|
202
|
+
{ name: '', internalType: 'contract IPoolManager', type: 'address' },
|
|
203
|
+
],
|
|
204
|
+
stateMutability: 'view',
|
|
205
|
+
},
|
|
140
206
|
{
|
|
141
207
|
type: 'function',
|
|
142
208
|
inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
|
|
@@ -144,6 +210,15 @@ export const buySupplyWithSwapRouterHookABI = [
|
|
|
144
210
|
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
145
211
|
stateMutability: 'pure',
|
|
146
212
|
},
|
|
213
|
+
{
|
|
214
|
+
type: 'function',
|
|
215
|
+
inputs: [],
|
|
216
|
+
name: 'swapRouter',
|
|
217
|
+
outputs: [
|
|
218
|
+
{ name: '', internalType: 'contract ISwapRouter', type: 'address' },
|
|
219
|
+
],
|
|
220
|
+
stateMutability: 'view',
|
|
221
|
+
},
|
|
147
222
|
{
|
|
148
223
|
type: 'function',
|
|
149
224
|
inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
|
|
@@ -151,6 +226,58 @@ export const buySupplyWithSwapRouterHookABI = [
|
|
|
151
226
|
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
|
|
152
227
|
stateMutability: 'nonpayable',
|
|
153
228
|
},
|
|
229
|
+
{
|
|
230
|
+
type: 'event',
|
|
231
|
+
anonymous: false,
|
|
232
|
+
inputs: [
|
|
233
|
+
{ name: 'coin', internalType: 'address', type: 'address', indexed: true },
|
|
234
|
+
{
|
|
235
|
+
name: 'recipient',
|
|
236
|
+
internalType: 'address',
|
|
237
|
+
type: 'address',
|
|
238
|
+
indexed: true,
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
name: 'coinsPurchased',
|
|
242
|
+
internalType: 'uint256',
|
|
243
|
+
type: 'uint256',
|
|
244
|
+
indexed: true,
|
|
245
|
+
},
|
|
246
|
+
{ name: 'v3Route', internalType: 'bytes', type: 'bytes', indexed: false },
|
|
247
|
+
{
|
|
248
|
+
name: 'v4Route',
|
|
249
|
+
internalType: 'struct PoolKey[]',
|
|
250
|
+
type: 'tuple[]',
|
|
251
|
+
components: [
|
|
252
|
+
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
253
|
+
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
254
|
+
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
255
|
+
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
256
|
+
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
257
|
+
],
|
|
258
|
+
indexed: false,
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
name: 'inputCurrency',
|
|
262
|
+
internalType: 'address',
|
|
263
|
+
type: 'address',
|
|
264
|
+
indexed: false,
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
name: 'inputAmount',
|
|
268
|
+
internalType: 'uint256',
|
|
269
|
+
type: 'uint256',
|
|
270
|
+
indexed: false,
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
name: 'v4SwapInput',
|
|
274
|
+
internalType: 'uint256',
|
|
275
|
+
type: 'uint256',
|
|
276
|
+
indexed: false,
|
|
277
|
+
},
|
|
278
|
+
],
|
|
279
|
+
name: 'BuyInitialSupply',
|
|
280
|
+
},
|
|
154
281
|
{
|
|
155
282
|
type: 'error',
|
|
156
283
|
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
@@ -162,20 +289,17 @@ export const buySupplyWithSwapRouterHookABI = [
|
|
|
162
289
|
name: 'AddressInsufficientBalance',
|
|
163
290
|
},
|
|
164
291
|
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
292
|
+
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
293
|
+
{ type: 'error', inputs: [], name: 'HookNotImplemented' },
|
|
165
294
|
{
|
|
166
295
|
type: 'error',
|
|
167
|
-
inputs: [
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
inputs: [{ name: 'balance', internalType: 'uint256', type: 'uint256' }],
|
|
173
|
-
name: 'CurrencyBalanceNot0',
|
|
296
|
+
inputs: [
|
|
297
|
+
{ name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
|
|
298
|
+
{ name: 'availableAmount', internalType: 'uint256', type: 'uint256' },
|
|
299
|
+
],
|
|
300
|
+
name: 'InsufficientInputCurrency',
|
|
174
301
|
},
|
|
175
|
-
{ type: 'error', inputs: [], name: '
|
|
176
|
-
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
177
|
-
{ type: 'error', inputs: [], name: 'HookNotImplemented' },
|
|
178
|
-
{ type: 'error', inputs: [], name: 'InvalidSwapRouterCall' },
|
|
302
|
+
{ type: 'error', inputs: [], name: 'InsufficientOutputAmount' },
|
|
179
303
|
{ type: 'error', inputs: [], name: 'NotFactory' },
|
|
180
304
|
{ type: 'error', inputs: [], name: 'OnlyPoolManager' },
|
|
181
305
|
{
|
|
@@ -183,24 +307,21 @@ export const buySupplyWithSwapRouterHookABI = [
|
|
|
183
307
|
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
184
308
|
name: 'SafeERC20FailedOperation',
|
|
185
309
|
},
|
|
186
|
-
{
|
|
187
|
-
|
|
188
|
-
inputs: [{ name: 'error', internalType: 'bytes', type: 'bytes' }],
|
|
189
|
-
name: 'SwapReverted',
|
|
190
|
-
},
|
|
310
|
+
{ type: 'error', inputs: [], name: 'V3RouteCannotStartWithInputCurrency' },
|
|
311
|
+
{ type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
|
|
191
312
|
] as const
|
|
192
313
|
|
|
193
314
|
/**
|
|
194
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
315
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xd8CC7bCA1dE52eA788829B16E375e9B96C18D433)
|
|
195
316
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
|
|
196
317
|
*/
|
|
197
318
|
export const buySupplyWithSwapRouterHookAddress = {
|
|
198
|
-
8453: '
|
|
319
|
+
8453: '0xd8CC7bCA1dE52eA788829B16E375e9B96C18D433',
|
|
199
320
|
84532: '0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE',
|
|
200
321
|
} as const
|
|
201
322
|
|
|
202
323
|
/**
|
|
203
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/
|
|
324
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0xd8CC7bCA1dE52eA788829B16E375e9B96C18D433)
|
|
204
325
|
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
|
|
205
326
|
*/
|
|
206
327
|
export const buySupplyWithSwapRouterHookConfig = {
|
|
@@ -1353,6 +1474,15 @@ export const coinABI = [
|
|
|
1353
1474
|
outputs: [],
|
|
1354
1475
|
stateMutability: 'nonpayable',
|
|
1355
1476
|
},
|
|
1477
|
+
{
|
|
1478
|
+
type: 'function',
|
|
1479
|
+
inputs: [],
|
|
1480
|
+
name: 'coinType',
|
|
1481
|
+
outputs: [
|
|
1482
|
+
{ name: '', internalType: 'enum IHasCoinType.CoinType', type: 'uint8' },
|
|
1483
|
+
],
|
|
1484
|
+
stateMutability: 'view',
|
|
1485
|
+
},
|
|
1356
1486
|
{
|
|
1357
1487
|
type: 'function',
|
|
1358
1488
|
inputs: [],
|
|
@@ -1734,6 +1864,13 @@ export const coinABI = [
|
|
|
1734
1864
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1735
1865
|
stateMutability: 'view',
|
|
1736
1866
|
},
|
|
1867
|
+
{
|
|
1868
|
+
type: 'function',
|
|
1869
|
+
inputs: [],
|
|
1870
|
+
name: 'totalSupplyForPositions',
|
|
1871
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1872
|
+
stateMutability: 'view',
|
|
1873
|
+
},
|
|
1737
1874
|
{
|
|
1738
1875
|
type: 'function',
|
|
1739
1876
|
inputs: [
|
|
@@ -2347,7 +2484,6 @@ export const coinABI = [
|
|
|
2347
2484
|
},
|
|
2348
2485
|
{ type: 'error', inputs: [], name: 'OnlyWeth' },
|
|
2349
2486
|
{ type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
|
|
2350
|
-
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
2351
2487
|
{ type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
|
|
2352
2488
|
{ type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
|
|
2353
2489
|
] as const
|
|
@@ -2364,10 +2500,10 @@ export const coinFactoryABI = [
|
|
|
2364
2500
|
{
|
|
2365
2501
|
type: 'constructor',
|
|
2366
2502
|
inputs: [
|
|
2367
|
-
{ name: '
|
|
2368
|
-
{ name: '
|
|
2369
|
-
{ name: '
|
|
2370
|
-
{ name: '
|
|
2503
|
+
{ name: 'coinV4Impl_', internalType: 'address', type: 'address' },
|
|
2504
|
+
{ name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
|
|
2505
|
+
{ name: 'hook_', internalType: 'address', type: 'address' },
|
|
2506
|
+
{ name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
|
|
2371
2507
|
],
|
|
2372
2508
|
stateMutability: 'nonpayable',
|
|
2373
2509
|
},
|
|
@@ -2452,7 +2588,7 @@ export const coinFactoryABI = [
|
|
|
2452
2588
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2453
2589
|
{ name: 'currency', internalType: 'address', type: 'address' },
|
|
2454
2590
|
{ name: '', internalType: 'int24', type: 'int24' },
|
|
2455
|
-
{ name: '
|
|
2591
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
2456
2592
|
],
|
|
2457
2593
|
name: 'deploy',
|
|
2458
2594
|
outputs: [
|
|
@@ -2527,7 +2663,28 @@ export const coinFactoryABI = [
|
|
|
2527
2663
|
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
2528
2664
|
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
2529
2665
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2530
|
-
{ name: '
|
|
2666
|
+
{ name: 'postDeployHook', internalType: 'address', type: 'address' },
|
|
2667
|
+
{ name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
|
|
2668
|
+
{ name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
|
|
2669
|
+
],
|
|
2670
|
+
name: 'deployCreatorCoin',
|
|
2671
|
+
outputs: [
|
|
2672
|
+
{ name: 'coin', internalType: 'address', type: 'address' },
|
|
2673
|
+
{ name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
|
|
2674
|
+
],
|
|
2675
|
+
stateMutability: 'payable',
|
|
2676
|
+
},
|
|
2677
|
+
{
|
|
2678
|
+
type: 'function',
|
|
2679
|
+
inputs: [
|
|
2680
|
+
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
2681
|
+
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
2682
|
+
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
2683
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
2684
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
2685
|
+
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
2686
|
+
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2687
|
+
{ name: 'deployHook', internalType: 'address', type: 'address' },
|
|
2531
2688
|
{ name: 'hookData', internalType: 'bytes', type: 'bytes' },
|
|
2532
2689
|
],
|
|
2533
2690
|
name: 'deployWithHook',
|
|
@@ -2544,6 +2701,13 @@ export const coinFactoryABI = [
|
|
|
2544
2701
|
outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
|
|
2545
2702
|
stateMutability: 'view',
|
|
2546
2703
|
},
|
|
2704
|
+
{
|
|
2705
|
+
type: 'function',
|
|
2706
|
+
inputs: [],
|
|
2707
|
+
name: 'hook',
|
|
2708
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2709
|
+
stateMutability: 'view',
|
|
2710
|
+
},
|
|
2547
2711
|
{
|
|
2548
2712
|
type: 'function',
|
|
2549
2713
|
inputs: [],
|
|
@@ -2605,6 +2769,13 @@ export const coinFactoryABI = [
|
|
|
2605
2769
|
outputs: [],
|
|
2606
2770
|
stateMutability: 'payable',
|
|
2607
2771
|
},
|
|
2772
|
+
{
|
|
2773
|
+
type: 'function',
|
|
2774
|
+
inputs: [],
|
|
2775
|
+
name: 'zoraHookRegistry',
|
|
2776
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2777
|
+
stateMutability: 'view',
|
|
2778
|
+
},
|
|
2608
2779
|
{
|
|
2609
2780
|
type: 'event',
|
|
2610
2781
|
anonymous: false,
|
|
@@ -2934,91 +3105,250 @@ export const coinFactoryABI = [
|
|
|
2934
3105
|
},
|
|
2935
3106
|
{ type: 'error', inputs: [], name: 'ZeroDiscoveryPositions' },
|
|
2936
3107
|
{ type: 'error', inputs: [], name: 'ZeroDiscoverySupplyShare' },
|
|
2937
|
-
] as const
|
|
2938
|
-
|
|
2939
|
-
/**
|
|
2940
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
2941
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
|
|
2942
|
-
*/
|
|
2943
|
-
export const coinFactoryAddress = {
|
|
2944
|
-
8453: '0x777777751622c0d3258f214F9DF38E35BF45baF3',
|
|
2945
|
-
84532: '0xaF88840cb637F2684A9E460316b1678AD6245e4a',
|
|
2946
|
-
} as const
|
|
2947
|
-
|
|
2948
|
-
/**
|
|
2949
|
-
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
2950
|
-
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
|
|
2951
|
-
*/
|
|
2952
|
-
export const coinFactoryConfig = {
|
|
2953
|
-
address: coinFactoryAddress,
|
|
2954
|
-
abi: coinFactoryABI,
|
|
2955
|
-
} as const
|
|
2956
|
-
|
|
2957
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
2958
|
-
// CoinV4
|
|
2959
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
2960
|
-
|
|
2961
|
-
export const coinV4ABI = [
|
|
2962
|
-
{
|
|
2963
|
-
type: 'constructor',
|
|
2964
|
-
inputs: [
|
|
2965
|
-
{
|
|
2966
|
-
name: '_protocolRewardRecipient',
|
|
2967
|
-
internalType: 'address',
|
|
2968
|
-
type: 'address',
|
|
2969
|
-
},
|
|
2970
|
-
{ name: '_protocolRewards', internalType: 'address', type: 'address' },
|
|
2971
|
-
{
|
|
2972
|
-
name: '_poolManager',
|
|
2973
|
-
internalType: 'contract IPoolManager',
|
|
2974
|
-
type: 'address',
|
|
2975
|
-
},
|
|
2976
|
-
{ name: '_airlock', internalType: 'address', type: 'address' },
|
|
2977
|
-
],
|
|
2978
|
-
stateMutability: 'nonpayable',
|
|
2979
|
-
},
|
|
2980
3108
|
{
|
|
2981
|
-
type: '
|
|
2982
|
-
inputs: [],
|
|
2983
|
-
name: '
|
|
2984
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
2985
|
-
stateMutability: 'view',
|
|
3109
|
+
type: 'error',
|
|
3110
|
+
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
3111
|
+
name: 'AddressEmptyCode',
|
|
2986
3112
|
},
|
|
2987
3113
|
{
|
|
2988
|
-
type: '
|
|
3114
|
+
type: 'error',
|
|
2989
3115
|
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
2990
|
-
name: '
|
|
2991
|
-
outputs: [],
|
|
2992
|
-
stateMutability: 'nonpayable',
|
|
3116
|
+
name: 'AddressInsufficientBalance',
|
|
2993
3117
|
},
|
|
3118
|
+
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
3119
|
+
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
3120
|
+
{ type: 'error', inputs: [], name: 'HookNotImplemented' },
|
|
2994
3121
|
{
|
|
2995
|
-
type: '
|
|
3122
|
+
type: 'error',
|
|
2996
3123
|
inputs: [
|
|
2997
|
-
{ name: '
|
|
3124
|
+
{ name: 'inputAmount', internalType: 'uint256', type: 'uint256' },
|
|
3125
|
+
{ name: 'availableAmount', internalType: 'uint256', type: 'uint256' },
|
|
2998
3126
|
],
|
|
2999
|
-
name: '
|
|
3000
|
-
outputs: [],
|
|
3001
|
-
stateMutability: 'nonpayable',
|
|
3127
|
+
name: 'InsufficientInputCurrency',
|
|
3002
3128
|
},
|
|
3129
|
+
{ type: 'error', inputs: [], name: 'InsufficientOutputAmount' },
|
|
3130
|
+
{ type: 'error', inputs: [], name: 'NotFactory' },
|
|
3131
|
+
{ type: 'error', inputs: [], name: 'OnlyPoolManager' },
|
|
3003
3132
|
{
|
|
3004
|
-
type: '
|
|
3133
|
+
type: 'error',
|
|
3134
|
+
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
3135
|
+
name: 'SafeERC20FailedOperation',
|
|
3136
|
+
},
|
|
3137
|
+
{ type: 'error', inputs: [], name: 'V3RouteCannotStartWithInputCurrency' },
|
|
3138
|
+
{ type: 'error', inputs: [], name: 'V3RouteDoesNotConnectToV4RouteStart' },
|
|
3139
|
+
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
3140
|
+
{ type: 'error', inputs: [], name: 'AlreadyOwner' },
|
|
3141
|
+
{ type: 'error', inputs: [], name: 'CannotMintZeroLiquidity' },
|
|
3142
|
+
{
|
|
3143
|
+
type: 'error',
|
|
3005
3144
|
inputs: [],
|
|
3006
|
-
name: '
|
|
3007
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
3008
|
-
stateMutability: 'view',
|
|
3145
|
+
name: 'DopplerPoolMustHaveMoreThan2DiscoveryPositions',
|
|
3009
3146
|
},
|
|
3147
|
+
{ type: 'error', inputs: [], name: 'ECDSAInvalidSignature' },
|
|
3010
3148
|
{
|
|
3011
|
-
type: '
|
|
3012
|
-
inputs: [
|
|
3013
|
-
|
|
3014
|
-
{ name: 'spender', internalType: 'address', type: 'address' },
|
|
3015
|
-
],
|
|
3016
|
-
name: 'allowance',
|
|
3017
|
-
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3018
|
-
stateMutability: 'view',
|
|
3149
|
+
type: 'error',
|
|
3150
|
+
inputs: [{ name: 'length', internalType: 'uint256', type: 'uint256' }],
|
|
3151
|
+
name: 'ECDSAInvalidSignatureLength',
|
|
3019
3152
|
},
|
|
3020
3153
|
{
|
|
3021
|
-
type: '
|
|
3154
|
+
type: 'error',
|
|
3155
|
+
inputs: [{ name: 's', internalType: 'bytes32', type: 'bytes32' }],
|
|
3156
|
+
name: 'ECDSAInvalidSignatureS',
|
|
3157
|
+
},
|
|
3158
|
+
{
|
|
3159
|
+
type: 'error',
|
|
3160
|
+
inputs: [
|
|
3161
|
+
{ name: 'spender', internalType: 'address', type: 'address' },
|
|
3162
|
+
{ name: 'allowance', internalType: 'uint256', type: 'uint256' },
|
|
3163
|
+
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
3164
|
+
],
|
|
3165
|
+
name: 'ERC20InsufficientAllowance',
|
|
3166
|
+
},
|
|
3167
|
+
{
|
|
3168
|
+
type: 'error',
|
|
3169
|
+
inputs: [
|
|
3170
|
+
{ name: 'sender', internalType: 'address', type: 'address' },
|
|
3171
|
+
{ name: 'balance', internalType: 'uint256', type: 'uint256' },
|
|
3172
|
+
{ name: 'needed', internalType: 'uint256', type: 'uint256' },
|
|
3173
|
+
],
|
|
3174
|
+
name: 'ERC20InsufficientBalance',
|
|
3175
|
+
},
|
|
3176
|
+
{
|
|
3177
|
+
type: 'error',
|
|
3178
|
+
inputs: [{ name: 'approver', internalType: 'address', type: 'address' }],
|
|
3179
|
+
name: 'ERC20InvalidApprover',
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
type: 'error',
|
|
3183
|
+
inputs: [{ name: 'receiver', internalType: 'address', type: 'address' }],
|
|
3184
|
+
name: 'ERC20InvalidReceiver',
|
|
3185
|
+
},
|
|
3186
|
+
{
|
|
3187
|
+
type: 'error',
|
|
3188
|
+
inputs: [{ name: 'sender', internalType: 'address', type: 'address' }],
|
|
3189
|
+
name: 'ERC20InvalidSender',
|
|
3190
|
+
},
|
|
3191
|
+
{
|
|
3192
|
+
type: 'error',
|
|
3193
|
+
inputs: [{ name: 'spender', internalType: 'address', type: 'address' }],
|
|
3194
|
+
name: 'ERC20InvalidSpender',
|
|
3195
|
+
},
|
|
3196
|
+
{ type: 'error', inputs: [], name: 'ERC20TransferAmountMismatch' },
|
|
3197
|
+
{
|
|
3198
|
+
type: 'error',
|
|
3199
|
+
inputs: [{ name: 'deadline', internalType: 'uint256', type: 'uint256' }],
|
|
3200
|
+
name: 'ERC2612ExpiredSignature',
|
|
3201
|
+
},
|
|
3202
|
+
{
|
|
3203
|
+
type: 'error',
|
|
3204
|
+
inputs: [
|
|
3205
|
+
{ name: 'signer', internalType: 'address', type: 'address' },
|
|
3206
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
3207
|
+
],
|
|
3208
|
+
name: 'ERC2612InvalidSigner',
|
|
3209
|
+
},
|
|
3210
|
+
{ type: 'error', inputs: [], name: 'EthAmountMismatch' },
|
|
3211
|
+
{ type: 'error', inputs: [], name: 'EthAmountTooSmall' },
|
|
3212
|
+
{ type: 'error', inputs: [], name: 'EthTransferFailed' },
|
|
3213
|
+
{ type: 'error', inputs: [], name: 'EthTransferInvalid' },
|
|
3214
|
+
{ type: 'error', inputs: [], name: 'InitialOrderSizeTooLarge' },
|
|
3215
|
+
{ type: 'error', inputs: [], name: 'InsufficientFunds' },
|
|
3216
|
+
{ type: 'error', inputs: [], name: 'InsufficientLiquidity' },
|
|
3217
|
+
{
|
|
3218
|
+
type: 'error',
|
|
3219
|
+
inputs: [
|
|
3220
|
+
{ name: 'account', internalType: 'address', type: 'address' },
|
|
3221
|
+
{ name: 'currentNonce', internalType: 'uint256', type: 'uint256' },
|
|
3222
|
+
],
|
|
3223
|
+
name: 'InvalidAccountNonce',
|
|
3224
|
+
},
|
|
3225
|
+
{ type: 'error', inputs: [], name: 'InvalidCurrencyLowerTick' },
|
|
3226
|
+
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
3227
|
+
{ type: 'error', inputs: [], name: 'InvalidMarketType' },
|
|
3228
|
+
{ type: 'error', inputs: [], name: 'InvalidPoolVersion' },
|
|
3229
|
+
{
|
|
3230
|
+
type: 'error',
|
|
3231
|
+
inputs: [
|
|
3232
|
+
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
3233
|
+
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
3234
|
+
],
|
|
3235
|
+
name: 'InvalidTickRangeMisordered',
|
|
3236
|
+
},
|
|
3237
|
+
{ type: 'error', inputs: [], name: 'InvalidWethLowerTick' },
|
|
3238
|
+
{ type: 'error', inputs: [], name: 'LegacyPoolMustHaveOneDiscoveryPosition' },
|
|
3239
|
+
{ type: 'error', inputs: [], name: 'MarketAlreadyGraduated' },
|
|
3240
|
+
{ type: 'error', inputs: [], name: 'MarketNotGraduated' },
|
|
3241
|
+
{
|
|
3242
|
+
type: 'error',
|
|
3243
|
+
inputs: [
|
|
3244
|
+
{ name: 'value', internalType: 'uint256', type: 'uint256' },
|
|
3245
|
+
{ name: 'limit', internalType: 'uint256', type: 'uint256' },
|
|
3246
|
+
],
|
|
3247
|
+
name: 'MaxShareToBeSoldExceeded',
|
|
3248
|
+
},
|
|
3249
|
+
{ type: 'error', inputs: [], name: 'NameIsRequired' },
|
|
3250
|
+
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
3251
|
+
{ type: 'error', inputs: [], name: 'NotOwner' },
|
|
3252
|
+
{ type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
|
|
3253
|
+
{ type: 'error', inputs: [], name: 'OneOwnerRequired' },
|
|
3254
|
+
{ type: 'error', inputs: [], name: 'OnlyOwner' },
|
|
3255
|
+
{
|
|
3256
|
+
type: 'error',
|
|
3257
|
+
inputs: [
|
|
3258
|
+
{ name: 'sender', internalType: 'address', type: 'address' },
|
|
3259
|
+
{ name: 'pool', internalType: 'address', type: 'address' },
|
|
3260
|
+
],
|
|
3261
|
+
name: 'OnlyPool',
|
|
3262
|
+
},
|
|
3263
|
+
{ type: 'error', inputs: [], name: 'OnlyWeth' },
|
|
3264
|
+
{ type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
|
|
3265
|
+
{ type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
|
|
3266
|
+
{ type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
|
|
3267
|
+
] as const
|
|
3268
|
+
|
|
3269
|
+
/**
|
|
3270
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
3271
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
|
|
3272
|
+
*/
|
|
3273
|
+
export const coinFactoryAddress = {
|
|
3274
|
+
8453: '0x777777751622c0d3258f214F9DF38E35BF45baF3',
|
|
3275
|
+
84532: '0xaF88840cb637F2684A9E460316b1678AD6245e4a',
|
|
3276
|
+
} as const
|
|
3277
|
+
|
|
3278
|
+
/**
|
|
3279
|
+
* - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
|
|
3280
|
+
* - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xaF88840cb637F2684A9E460316b1678AD6245e4a)
|
|
3281
|
+
*/
|
|
3282
|
+
export const coinFactoryConfig = {
|
|
3283
|
+
address: coinFactoryAddress,
|
|
3284
|
+
abi: coinFactoryABI,
|
|
3285
|
+
} as const
|
|
3286
|
+
|
|
3287
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
3288
|
+
// CoinV4
|
|
3289
|
+
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
3290
|
+
|
|
3291
|
+
export const coinV4ABI = [
|
|
3292
|
+
{
|
|
3293
|
+
type: 'constructor',
|
|
3294
|
+
inputs: [
|
|
3295
|
+
{
|
|
3296
|
+
name: 'protocolRewardRecipient_',
|
|
3297
|
+
internalType: 'address',
|
|
3298
|
+
type: 'address',
|
|
3299
|
+
},
|
|
3300
|
+
{ name: 'protocolRewards_', internalType: 'address', type: 'address' },
|
|
3301
|
+
{
|
|
3302
|
+
name: 'poolManager_',
|
|
3303
|
+
internalType: 'contract IPoolManager',
|
|
3304
|
+
type: 'address',
|
|
3305
|
+
},
|
|
3306
|
+
{ name: 'airlock_', internalType: 'address', type: 'address' },
|
|
3307
|
+
],
|
|
3308
|
+
stateMutability: 'nonpayable',
|
|
3309
|
+
},
|
|
3310
|
+
{
|
|
3311
|
+
type: 'function',
|
|
3312
|
+
inputs: [],
|
|
3313
|
+
name: 'DOMAIN_SEPARATOR',
|
|
3314
|
+
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
3315
|
+
stateMutability: 'view',
|
|
3316
|
+
},
|
|
3317
|
+
{
|
|
3318
|
+
type: 'function',
|
|
3319
|
+
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
3320
|
+
name: 'addOwner',
|
|
3321
|
+
outputs: [],
|
|
3322
|
+
stateMutability: 'nonpayable',
|
|
3323
|
+
},
|
|
3324
|
+
{
|
|
3325
|
+
type: 'function',
|
|
3326
|
+
inputs: [
|
|
3327
|
+
{ name: 'accounts', internalType: 'address[]', type: 'address[]' },
|
|
3328
|
+
],
|
|
3329
|
+
name: 'addOwners',
|
|
3330
|
+
outputs: [],
|
|
3331
|
+
stateMutability: 'nonpayable',
|
|
3332
|
+
},
|
|
3333
|
+
{
|
|
3334
|
+
type: 'function',
|
|
3335
|
+
inputs: [],
|
|
3336
|
+
name: 'airlock',
|
|
3337
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
3338
|
+
stateMutability: 'view',
|
|
3339
|
+
},
|
|
3340
|
+
{
|
|
3341
|
+
type: 'function',
|
|
3342
|
+
inputs: [
|
|
3343
|
+
{ name: 'owner', internalType: 'address', type: 'address' },
|
|
3344
|
+
{ name: 'spender', internalType: 'address', type: 'address' },
|
|
3345
|
+
],
|
|
3346
|
+
name: 'allowance',
|
|
3347
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3348
|
+
stateMutability: 'view',
|
|
3349
|
+
},
|
|
3350
|
+
{
|
|
3351
|
+
type: 'function',
|
|
3022
3352
|
inputs: [
|
|
3023
3353
|
{ name: 'spender', internalType: 'address', type: 'address' },
|
|
3024
3354
|
{ name: 'value', internalType: 'uint256', type: 'uint256' },
|
|
@@ -3048,6 +3378,15 @@ export const coinV4ABI = [
|
|
|
3048
3378
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3049
3379
|
stateMutability: 'nonpayable',
|
|
3050
3380
|
},
|
|
3381
|
+
{
|
|
3382
|
+
type: 'function',
|
|
3383
|
+
inputs: [],
|
|
3384
|
+
name: 'coinType',
|
|
3385
|
+
outputs: [
|
|
3386
|
+
{ name: '', internalType: 'enum IHasCoinType.CoinType', type: 'uint8' },
|
|
3387
|
+
],
|
|
3388
|
+
stateMutability: 'pure',
|
|
3389
|
+
},
|
|
3051
3390
|
{
|
|
3052
3391
|
type: 'function',
|
|
3053
3392
|
inputs: [],
|
|
@@ -3443,6 +3782,13 @@ export const coinV4ABI = [
|
|
|
3443
3782
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3444
3783
|
stateMutability: 'view',
|
|
3445
3784
|
},
|
|
3785
|
+
{
|
|
3786
|
+
type: 'function',
|
|
3787
|
+
inputs: [],
|
|
3788
|
+
name: 'totalSupplyForPositions',
|
|
3789
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3790
|
+
stateMutability: 'pure',
|
|
3791
|
+
},
|
|
3446
3792
|
{
|
|
3447
3793
|
type: 'function',
|
|
3448
3794
|
inputs: [
|
|
@@ -4108,7 +4454,6 @@ export const coinV4ABI = [
|
|
|
4108
4454
|
},
|
|
4109
4455
|
{ type: 'error', inputs: [], name: 'OnlyWeth' },
|
|
4110
4456
|
{ type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
|
|
4111
|
-
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
4112
4457
|
{ type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
|
|
4113
4458
|
{ type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
|
|
4114
4459
|
] as const
|
|
@@ -5960,713 +6305,6 @@ export const commentsConfig = {
|
|
|
5960
6305
|
abi: commentsABI,
|
|
5961
6306
|
} as const
|
|
5962
6307
|
|
|
5963
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
5964
|
-
// DevBuySupplyWithSwapRouterHook
|
|
5965
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
5966
|
-
|
|
5967
|
-
/**
|
|
5968
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/0x62B95629F965bf48E15BB110A1729B9b9dF1C07D)
|
|
5969
|
-
*/
|
|
5970
|
-
export const devBuySupplyWithSwapRouterHookABI = [
|
|
5971
|
-
{
|
|
5972
|
-
type: 'constructor',
|
|
5973
|
-
inputs: [
|
|
5974
|
-
{
|
|
5975
|
-
name: '_factory',
|
|
5976
|
-
internalType: 'contract IZoraFactory',
|
|
5977
|
-
type: 'address',
|
|
5978
|
-
},
|
|
5979
|
-
{ name: '_swapRouter', internalType: 'address', type: 'address' },
|
|
5980
|
-
{ name: '_poolManager', internalType: 'address', type: 'address' },
|
|
5981
|
-
],
|
|
5982
|
-
stateMutability: 'nonpayable',
|
|
5983
|
-
},
|
|
5984
|
-
{
|
|
5985
|
-
type: 'function',
|
|
5986
|
-
inputs: [
|
|
5987
|
-
{ name: 'sender', internalType: 'address', type: 'address' },
|
|
5988
|
-
{ name: 'coin', internalType: 'contract ICoin', type: 'address' },
|
|
5989
|
-
{ name: 'hookData', internalType: 'bytes', type: 'bytes' },
|
|
5990
|
-
],
|
|
5991
|
-
name: 'afterCoinDeploy',
|
|
5992
|
-
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
|
|
5993
|
-
stateMutability: 'payable',
|
|
5994
|
-
},
|
|
5995
|
-
{
|
|
5996
|
-
type: 'function',
|
|
5997
|
-
inputs: [],
|
|
5998
|
-
name: 'factory',
|
|
5999
|
-
outputs: [
|
|
6000
|
-
{ name: '', internalType: 'contract IZoraFactory', type: 'address' },
|
|
6001
|
-
],
|
|
6002
|
-
stateMutability: 'view',
|
|
6003
|
-
},
|
|
6004
|
-
{
|
|
6005
|
-
type: 'function',
|
|
6006
|
-
inputs: [{ name: 'interfaceId', internalType: 'bytes4', type: 'bytes4' }],
|
|
6007
|
-
name: 'supportsInterface',
|
|
6008
|
-
outputs: [{ name: '', internalType: 'bool', type: 'bool' }],
|
|
6009
|
-
stateMutability: 'pure',
|
|
6010
|
-
},
|
|
6011
|
-
{
|
|
6012
|
-
type: 'function',
|
|
6013
|
-
inputs: [{ name: 'data', internalType: 'bytes', type: 'bytes' }],
|
|
6014
|
-
name: 'unlockCallback',
|
|
6015
|
-
outputs: [{ name: '', internalType: 'bytes', type: 'bytes' }],
|
|
6016
|
-
stateMutability: 'nonpayable',
|
|
6017
|
-
},
|
|
6018
|
-
{
|
|
6019
|
-
type: 'error',
|
|
6020
|
-
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
6021
|
-
name: 'AddressEmptyCode',
|
|
6022
|
-
},
|
|
6023
|
-
{
|
|
6024
|
-
type: 'error',
|
|
6025
|
-
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
6026
|
-
name: 'AddressInsufficientBalance',
|
|
6027
|
-
},
|
|
6028
|
-
{ type: 'error', inputs: [], name: 'AddressZero' },
|
|
6029
|
-
{
|
|
6030
|
-
type: 'error',
|
|
6031
|
-
inputs: [{ name: 'balance', internalType: 'uint256', type: 'uint256' }],
|
|
6032
|
-
name: 'CoinBalanceNot0',
|
|
6033
|
-
},
|
|
6034
|
-
{
|
|
6035
|
-
type: 'error',
|
|
6036
|
-
inputs: [{ name: 'balance', internalType: 'uint256', type: 'uint256' }],
|
|
6037
|
-
name: 'CurrencyBalanceNot0',
|
|
6038
|
-
},
|
|
6039
|
-
{ type: 'error', inputs: [], name: 'Erc20NotReceived' },
|
|
6040
|
-
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
6041
|
-
{ type: 'error', inputs: [], name: 'HookNotImplemented' },
|
|
6042
|
-
{ type: 'error', inputs: [], name: 'InvalidSwapRouterCall' },
|
|
6043
|
-
{ type: 'error', inputs: [], name: 'NotFactory' },
|
|
6044
|
-
{ type: 'error', inputs: [], name: 'OnlyPoolManager' },
|
|
6045
|
-
{
|
|
6046
|
-
type: 'error',
|
|
6047
|
-
inputs: [{ name: 'token', internalType: 'address', type: 'address' }],
|
|
6048
|
-
name: 'SafeERC20FailedOperation',
|
|
6049
|
-
},
|
|
6050
|
-
{
|
|
6051
|
-
type: 'error',
|
|
6052
|
-
inputs: [{ name: 'error', internalType: 'bytes', type: 'bytes' }],
|
|
6053
|
-
name: 'SwapReverted',
|
|
6054
|
-
},
|
|
6055
|
-
] as const
|
|
6056
|
-
|
|
6057
|
-
/**
|
|
6058
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/0x62B95629F965bf48E15BB110A1729B9b9dF1C07D)
|
|
6059
|
-
*/
|
|
6060
|
-
export const devBuySupplyWithSwapRouterHookAddress = {
|
|
6061
|
-
8453: '0x62B95629F965bf48E15BB110A1729B9b9dF1C07D',
|
|
6062
|
-
} as const
|
|
6063
|
-
|
|
6064
|
-
/**
|
|
6065
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/0x62B95629F965bf48E15BB110A1729B9b9dF1C07D)
|
|
6066
|
-
*/
|
|
6067
|
-
export const devBuySupplyWithSwapRouterHookConfig = {
|
|
6068
|
-
address: devBuySupplyWithSwapRouterHookAddress,
|
|
6069
|
-
abi: devBuySupplyWithSwapRouterHookABI,
|
|
6070
|
-
} as const
|
|
6071
|
-
|
|
6072
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
6073
|
-
// DevCoinFactory
|
|
6074
|
-
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
6075
|
-
|
|
6076
|
-
/**
|
|
6077
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/0x47B0C1205B01e5e967dB24A186968152e5cCf764)
|
|
6078
|
-
*/
|
|
6079
|
-
export const devCoinFactoryABI = [
|
|
6080
|
-
{
|
|
6081
|
-
type: 'constructor',
|
|
6082
|
-
inputs: [
|
|
6083
|
-
{ name: '_coinV4Impl', internalType: 'address', type: 'address' },
|
|
6084
|
-
{ name: '_creatorCoinImpl', internalType: 'address', type: 'address' },
|
|
6085
|
-
{ name: '_contentCoinHook', internalType: 'address', type: 'address' },
|
|
6086
|
-
{ name: '_creatorCoinHook', internalType: 'address', type: 'address' },
|
|
6087
|
-
],
|
|
6088
|
-
stateMutability: 'nonpayable',
|
|
6089
|
-
},
|
|
6090
|
-
{
|
|
6091
|
-
type: 'function',
|
|
6092
|
-
inputs: [],
|
|
6093
|
-
name: 'UPGRADE_INTERFACE_VERSION',
|
|
6094
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
6095
|
-
stateMutability: 'view',
|
|
6096
|
-
},
|
|
6097
|
-
{
|
|
6098
|
-
type: 'function',
|
|
6099
|
-
inputs: [],
|
|
6100
|
-
name: 'acceptOwnership',
|
|
6101
|
-
outputs: [],
|
|
6102
|
-
stateMutability: 'nonpayable',
|
|
6103
|
-
},
|
|
6104
|
-
{
|
|
6105
|
-
type: 'function',
|
|
6106
|
-
inputs: [
|
|
6107
|
-
{ name: 'msgSender', internalType: 'address', type: 'address' },
|
|
6108
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
6109
|
-
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
6110
|
-
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
6111
|
-
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6112
|
-
{ name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
|
|
6113
|
-
],
|
|
6114
|
-
name: 'coinAddress',
|
|
6115
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6116
|
-
stateMutability: 'view',
|
|
6117
|
-
},
|
|
6118
|
-
{
|
|
6119
|
-
type: 'function',
|
|
6120
|
-
inputs: [],
|
|
6121
|
-
name: 'coinV4Impl',
|
|
6122
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6123
|
-
stateMutability: 'view',
|
|
6124
|
-
},
|
|
6125
|
-
{
|
|
6126
|
-
type: 'function',
|
|
6127
|
-
inputs: [],
|
|
6128
|
-
name: 'contentCoinHook',
|
|
6129
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6130
|
-
stateMutability: 'view',
|
|
6131
|
-
},
|
|
6132
|
-
{
|
|
6133
|
-
type: 'function',
|
|
6134
|
-
inputs: [],
|
|
6135
|
-
name: 'contractName',
|
|
6136
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
6137
|
-
stateMutability: 'pure',
|
|
6138
|
-
},
|
|
6139
|
-
{
|
|
6140
|
-
type: 'function',
|
|
6141
|
-
inputs: [],
|
|
6142
|
-
name: 'contractVersion',
|
|
6143
|
-
outputs: [{ name: '', internalType: 'string', type: 'string' }],
|
|
6144
|
-
stateMutability: 'pure',
|
|
6145
|
-
},
|
|
6146
|
-
{
|
|
6147
|
-
type: 'function',
|
|
6148
|
-
inputs: [],
|
|
6149
|
-
name: 'creatorCoinHook',
|
|
6150
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6151
|
-
stateMutability: 'view',
|
|
6152
|
-
},
|
|
6153
|
-
{
|
|
6154
|
-
type: 'function',
|
|
6155
|
-
inputs: [],
|
|
6156
|
-
name: 'creatorCoinImpl',
|
|
6157
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6158
|
-
stateMutability: 'view',
|
|
6159
|
-
},
|
|
6160
|
-
{
|
|
6161
|
-
type: 'function',
|
|
6162
|
-
inputs: [
|
|
6163
|
-
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
6164
|
-
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
6165
|
-
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
6166
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
6167
|
-
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
6168
|
-
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6169
|
-
{ name: 'currency', internalType: 'address', type: 'address' },
|
|
6170
|
-
{ name: '', internalType: 'int24', type: 'int24' },
|
|
6171
|
-
{ name: 'orderSize', internalType: 'uint256', type: 'uint256' },
|
|
6172
|
-
],
|
|
6173
|
-
name: 'deploy',
|
|
6174
|
-
outputs: [
|
|
6175
|
-
{ name: '', internalType: 'address', type: 'address' },
|
|
6176
|
-
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
6177
|
-
],
|
|
6178
|
-
stateMutability: 'payable',
|
|
6179
|
-
},
|
|
6180
|
-
{
|
|
6181
|
-
type: 'function',
|
|
6182
|
-
inputs: [
|
|
6183
|
-
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
6184
|
-
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
6185
|
-
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
6186
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
6187
|
-
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
6188
|
-
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
6189
|
-
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6190
|
-
{ name: 'postDeployHook', internalType: 'address', type: 'address' },
|
|
6191
|
-
{ name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
|
|
6192
|
-
{ name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
|
|
6193
|
-
],
|
|
6194
|
-
name: 'deploy',
|
|
6195
|
-
outputs: [
|
|
6196
|
-
{ name: 'coin', internalType: 'address', type: 'address' },
|
|
6197
|
-
{ name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
|
|
6198
|
-
],
|
|
6199
|
-
stateMutability: 'payable',
|
|
6200
|
-
},
|
|
6201
|
-
{
|
|
6202
|
-
type: 'function',
|
|
6203
|
-
inputs: [
|
|
6204
|
-
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
6205
|
-
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
6206
|
-
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
6207
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
6208
|
-
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
6209
|
-
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
6210
|
-
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6211
|
-
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
6212
|
-
],
|
|
6213
|
-
name: 'deploy',
|
|
6214
|
-
outputs: [
|
|
6215
|
-
{ name: '', internalType: 'address', type: 'address' },
|
|
6216
|
-
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
6217
|
-
],
|
|
6218
|
-
stateMutability: 'payable',
|
|
6219
|
-
},
|
|
6220
|
-
{
|
|
6221
|
-
type: 'function',
|
|
6222
|
-
inputs: [
|
|
6223
|
-
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
6224
|
-
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
6225
|
-
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
6226
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
6227
|
-
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
6228
|
-
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
6229
|
-
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6230
|
-
{ name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
|
|
6231
|
-
],
|
|
6232
|
-
name: 'deployCreatorCoin',
|
|
6233
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6234
|
-
stateMutability: 'nonpayable',
|
|
6235
|
-
},
|
|
6236
|
-
{
|
|
6237
|
-
type: 'function',
|
|
6238
|
-
inputs: [
|
|
6239
|
-
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
6240
|
-
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
6241
|
-
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
6242
|
-
{ name: 'name', internalType: 'string', type: 'string' },
|
|
6243
|
-
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
6244
|
-
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
6245
|
-
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6246
|
-
{ name: 'hook', internalType: 'address', type: 'address' },
|
|
6247
|
-
{ name: 'hookData', internalType: 'bytes', type: 'bytes' },
|
|
6248
|
-
],
|
|
6249
|
-
name: 'deployWithHook',
|
|
6250
|
-
outputs: [
|
|
6251
|
-
{ name: 'coin', internalType: 'address', type: 'address' },
|
|
6252
|
-
{ name: 'hookDataOut', internalType: 'bytes', type: 'bytes' },
|
|
6253
|
-
],
|
|
6254
|
-
stateMutability: 'payable',
|
|
6255
|
-
},
|
|
6256
|
-
{
|
|
6257
|
-
type: 'function',
|
|
6258
|
-
inputs: [{ name: 'coin', internalType: 'address', type: 'address' }],
|
|
6259
|
-
name: 'getVersionForDeployedCoin',
|
|
6260
|
-
outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
|
|
6261
|
-
stateMutability: 'view',
|
|
6262
|
-
},
|
|
6263
|
-
{
|
|
6264
|
-
type: 'function',
|
|
6265
|
-
inputs: [],
|
|
6266
|
-
name: 'implementation',
|
|
6267
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6268
|
-
stateMutability: 'view',
|
|
6269
|
-
},
|
|
6270
|
-
{
|
|
6271
|
-
type: 'function',
|
|
6272
|
-
inputs: [
|
|
6273
|
-
{ name: 'initialOwner', internalType: 'address', type: 'address' },
|
|
6274
|
-
],
|
|
6275
|
-
name: 'initialize',
|
|
6276
|
-
outputs: [],
|
|
6277
|
-
stateMutability: 'nonpayable',
|
|
6278
|
-
},
|
|
6279
|
-
{
|
|
6280
|
-
type: 'function',
|
|
6281
|
-
inputs: [],
|
|
6282
|
-
name: 'owner',
|
|
6283
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6284
|
-
stateMutability: 'view',
|
|
6285
|
-
},
|
|
6286
|
-
{
|
|
6287
|
-
type: 'function',
|
|
6288
|
-
inputs: [],
|
|
6289
|
-
name: 'pendingOwner',
|
|
6290
|
-
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6291
|
-
stateMutability: 'view',
|
|
6292
|
-
},
|
|
6293
|
-
{
|
|
6294
|
-
type: 'function',
|
|
6295
|
-
inputs: [],
|
|
6296
|
-
name: 'proxiableUUID',
|
|
6297
|
-
outputs: [{ name: '', internalType: 'bytes32', type: 'bytes32' }],
|
|
6298
|
-
stateMutability: 'view',
|
|
6299
|
-
},
|
|
6300
|
-
{
|
|
6301
|
-
type: 'function',
|
|
6302
|
-
inputs: [],
|
|
6303
|
-
name: 'renounceOwnership',
|
|
6304
|
-
outputs: [],
|
|
6305
|
-
stateMutability: 'nonpayable',
|
|
6306
|
-
},
|
|
6307
|
-
{
|
|
6308
|
-
type: 'function',
|
|
6309
|
-
inputs: [{ name: 'newOwner', internalType: 'address', type: 'address' }],
|
|
6310
|
-
name: 'transferOwnership',
|
|
6311
|
-
outputs: [],
|
|
6312
|
-
stateMutability: 'nonpayable',
|
|
6313
|
-
},
|
|
6314
|
-
{
|
|
6315
|
-
type: 'function',
|
|
6316
|
-
inputs: [
|
|
6317
|
-
{ name: 'newImplementation', internalType: 'address', type: 'address' },
|
|
6318
|
-
{ name: 'data', internalType: 'bytes', type: 'bytes' },
|
|
6319
|
-
],
|
|
6320
|
-
name: 'upgradeToAndCall',
|
|
6321
|
-
outputs: [],
|
|
6322
|
-
stateMutability: 'payable',
|
|
6323
|
-
},
|
|
6324
|
-
{
|
|
6325
|
-
type: 'event',
|
|
6326
|
-
anonymous: false,
|
|
6327
|
-
inputs: [
|
|
6328
|
-
{
|
|
6329
|
-
name: 'caller',
|
|
6330
|
-
internalType: 'address',
|
|
6331
|
-
type: 'address',
|
|
6332
|
-
indexed: true,
|
|
6333
|
-
},
|
|
6334
|
-
{
|
|
6335
|
-
name: 'payoutRecipient',
|
|
6336
|
-
internalType: 'address',
|
|
6337
|
-
type: 'address',
|
|
6338
|
-
indexed: true,
|
|
6339
|
-
},
|
|
6340
|
-
{
|
|
6341
|
-
name: 'platformReferrer',
|
|
6342
|
-
internalType: 'address',
|
|
6343
|
-
type: 'address',
|
|
6344
|
-
indexed: true,
|
|
6345
|
-
},
|
|
6346
|
-
{
|
|
6347
|
-
name: 'currency',
|
|
6348
|
-
internalType: 'address',
|
|
6349
|
-
type: 'address',
|
|
6350
|
-
indexed: false,
|
|
6351
|
-
},
|
|
6352
|
-
{ name: 'uri', internalType: 'string', type: 'string', indexed: false },
|
|
6353
|
-
{ name: 'name', internalType: 'string', type: 'string', indexed: false },
|
|
6354
|
-
{
|
|
6355
|
-
name: 'symbol',
|
|
6356
|
-
internalType: 'string',
|
|
6357
|
-
type: 'string',
|
|
6358
|
-
indexed: false,
|
|
6359
|
-
},
|
|
6360
|
-
{
|
|
6361
|
-
name: 'coin',
|
|
6362
|
-
internalType: 'address',
|
|
6363
|
-
type: 'address',
|
|
6364
|
-
indexed: false,
|
|
6365
|
-
},
|
|
6366
|
-
{
|
|
6367
|
-
name: 'pool',
|
|
6368
|
-
internalType: 'address',
|
|
6369
|
-
type: 'address',
|
|
6370
|
-
indexed: false,
|
|
6371
|
-
},
|
|
6372
|
-
{
|
|
6373
|
-
name: 'version',
|
|
6374
|
-
internalType: 'string',
|
|
6375
|
-
type: 'string',
|
|
6376
|
-
indexed: false,
|
|
6377
|
-
},
|
|
6378
|
-
],
|
|
6379
|
-
name: 'CoinCreated',
|
|
6380
|
-
},
|
|
6381
|
-
{
|
|
6382
|
-
type: 'event',
|
|
6383
|
-
anonymous: false,
|
|
6384
|
-
inputs: [
|
|
6385
|
-
{
|
|
6386
|
-
name: 'caller',
|
|
6387
|
-
internalType: 'address',
|
|
6388
|
-
type: 'address',
|
|
6389
|
-
indexed: true,
|
|
6390
|
-
},
|
|
6391
|
-
{
|
|
6392
|
-
name: 'payoutRecipient',
|
|
6393
|
-
internalType: 'address',
|
|
6394
|
-
type: 'address',
|
|
6395
|
-
indexed: true,
|
|
6396
|
-
},
|
|
6397
|
-
{
|
|
6398
|
-
name: 'platformReferrer',
|
|
6399
|
-
internalType: 'address',
|
|
6400
|
-
type: 'address',
|
|
6401
|
-
indexed: true,
|
|
6402
|
-
},
|
|
6403
|
-
{
|
|
6404
|
-
name: 'currency',
|
|
6405
|
-
internalType: 'address',
|
|
6406
|
-
type: 'address',
|
|
6407
|
-
indexed: false,
|
|
6408
|
-
},
|
|
6409
|
-
{ name: 'uri', internalType: 'string', type: 'string', indexed: false },
|
|
6410
|
-
{ name: 'name', internalType: 'string', type: 'string', indexed: false },
|
|
6411
|
-
{
|
|
6412
|
-
name: 'symbol',
|
|
6413
|
-
internalType: 'string',
|
|
6414
|
-
type: 'string',
|
|
6415
|
-
indexed: false,
|
|
6416
|
-
},
|
|
6417
|
-
{
|
|
6418
|
-
name: 'coin',
|
|
6419
|
-
internalType: 'address',
|
|
6420
|
-
type: 'address',
|
|
6421
|
-
indexed: false,
|
|
6422
|
-
},
|
|
6423
|
-
{
|
|
6424
|
-
name: 'poolKey',
|
|
6425
|
-
internalType: 'struct PoolKey',
|
|
6426
|
-
type: 'tuple',
|
|
6427
|
-
components: [
|
|
6428
|
-
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
6429
|
-
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
6430
|
-
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
6431
|
-
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
6432
|
-
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
6433
|
-
],
|
|
6434
|
-
indexed: false,
|
|
6435
|
-
},
|
|
6436
|
-
{
|
|
6437
|
-
name: 'poolKeyHash',
|
|
6438
|
-
internalType: 'bytes32',
|
|
6439
|
-
type: 'bytes32',
|
|
6440
|
-
indexed: false,
|
|
6441
|
-
},
|
|
6442
|
-
{
|
|
6443
|
-
name: 'version',
|
|
6444
|
-
internalType: 'string',
|
|
6445
|
-
type: 'string',
|
|
6446
|
-
indexed: false,
|
|
6447
|
-
},
|
|
6448
|
-
],
|
|
6449
|
-
name: 'CoinCreatedV4',
|
|
6450
|
-
},
|
|
6451
|
-
{
|
|
6452
|
-
type: 'event',
|
|
6453
|
-
anonymous: false,
|
|
6454
|
-
inputs: [
|
|
6455
|
-
{
|
|
6456
|
-
name: 'caller',
|
|
6457
|
-
internalType: 'address',
|
|
6458
|
-
type: 'address',
|
|
6459
|
-
indexed: true,
|
|
6460
|
-
},
|
|
6461
|
-
{
|
|
6462
|
-
name: 'payoutRecipient',
|
|
6463
|
-
internalType: 'address',
|
|
6464
|
-
type: 'address',
|
|
6465
|
-
indexed: true,
|
|
6466
|
-
},
|
|
6467
|
-
{
|
|
6468
|
-
name: 'platformReferrer',
|
|
6469
|
-
internalType: 'address',
|
|
6470
|
-
type: 'address',
|
|
6471
|
-
indexed: true,
|
|
6472
|
-
},
|
|
6473
|
-
{
|
|
6474
|
-
name: 'currency',
|
|
6475
|
-
internalType: 'address',
|
|
6476
|
-
type: 'address',
|
|
6477
|
-
indexed: false,
|
|
6478
|
-
},
|
|
6479
|
-
{ name: 'uri', internalType: 'string', type: 'string', indexed: false },
|
|
6480
|
-
{ name: 'name', internalType: 'string', type: 'string', indexed: false },
|
|
6481
|
-
{
|
|
6482
|
-
name: 'symbol',
|
|
6483
|
-
internalType: 'string',
|
|
6484
|
-
type: 'string',
|
|
6485
|
-
indexed: false,
|
|
6486
|
-
},
|
|
6487
|
-
{
|
|
6488
|
-
name: 'coin',
|
|
6489
|
-
internalType: 'address',
|
|
6490
|
-
type: 'address',
|
|
6491
|
-
indexed: false,
|
|
6492
|
-
},
|
|
6493
|
-
{
|
|
6494
|
-
name: 'poolKey',
|
|
6495
|
-
internalType: 'struct PoolKey',
|
|
6496
|
-
type: 'tuple',
|
|
6497
|
-
components: [
|
|
6498
|
-
{ name: 'currency0', internalType: 'Currency', type: 'address' },
|
|
6499
|
-
{ name: 'currency1', internalType: 'Currency', type: 'address' },
|
|
6500
|
-
{ name: 'fee', internalType: 'uint24', type: 'uint24' },
|
|
6501
|
-
{ name: 'tickSpacing', internalType: 'int24', type: 'int24' },
|
|
6502
|
-
{ name: 'hooks', internalType: 'contract IHooks', type: 'address' },
|
|
6503
|
-
],
|
|
6504
|
-
indexed: false,
|
|
6505
|
-
},
|
|
6506
|
-
{
|
|
6507
|
-
name: 'poolKeyHash',
|
|
6508
|
-
internalType: 'bytes32',
|
|
6509
|
-
type: 'bytes32',
|
|
6510
|
-
indexed: false,
|
|
6511
|
-
},
|
|
6512
|
-
{
|
|
6513
|
-
name: 'version',
|
|
6514
|
-
internalType: 'string',
|
|
6515
|
-
type: 'string',
|
|
6516
|
-
indexed: false,
|
|
6517
|
-
},
|
|
6518
|
-
],
|
|
6519
|
-
name: 'CreatorCoinCreated',
|
|
6520
|
-
},
|
|
6521
|
-
{
|
|
6522
|
-
type: 'event',
|
|
6523
|
-
anonymous: false,
|
|
6524
|
-
inputs: [
|
|
6525
|
-
{
|
|
6526
|
-
name: 'version',
|
|
6527
|
-
internalType: 'uint64',
|
|
6528
|
-
type: 'uint64',
|
|
6529
|
-
indexed: false,
|
|
6530
|
-
},
|
|
6531
|
-
],
|
|
6532
|
-
name: 'Initialized',
|
|
6533
|
-
},
|
|
6534
|
-
{
|
|
6535
|
-
type: 'event',
|
|
6536
|
-
anonymous: false,
|
|
6537
|
-
inputs: [
|
|
6538
|
-
{
|
|
6539
|
-
name: 'previousOwner',
|
|
6540
|
-
internalType: 'address',
|
|
6541
|
-
type: 'address',
|
|
6542
|
-
indexed: true,
|
|
6543
|
-
},
|
|
6544
|
-
{
|
|
6545
|
-
name: 'newOwner',
|
|
6546
|
-
internalType: 'address',
|
|
6547
|
-
type: 'address',
|
|
6548
|
-
indexed: true,
|
|
6549
|
-
},
|
|
6550
|
-
],
|
|
6551
|
-
name: 'OwnershipTransferStarted',
|
|
6552
|
-
},
|
|
6553
|
-
{
|
|
6554
|
-
type: 'event',
|
|
6555
|
-
anonymous: false,
|
|
6556
|
-
inputs: [
|
|
6557
|
-
{
|
|
6558
|
-
name: 'previousOwner',
|
|
6559
|
-
internalType: 'address',
|
|
6560
|
-
type: 'address',
|
|
6561
|
-
indexed: true,
|
|
6562
|
-
},
|
|
6563
|
-
{
|
|
6564
|
-
name: 'newOwner',
|
|
6565
|
-
internalType: 'address',
|
|
6566
|
-
type: 'address',
|
|
6567
|
-
indexed: true,
|
|
6568
|
-
},
|
|
6569
|
-
],
|
|
6570
|
-
name: 'OwnershipTransferred',
|
|
6571
|
-
},
|
|
6572
|
-
{
|
|
6573
|
-
type: 'event',
|
|
6574
|
-
anonymous: false,
|
|
6575
|
-
inputs: [
|
|
6576
|
-
{
|
|
6577
|
-
name: 'implementation',
|
|
6578
|
-
internalType: 'address',
|
|
6579
|
-
type: 'address',
|
|
6580
|
-
indexed: true,
|
|
6581
|
-
},
|
|
6582
|
-
],
|
|
6583
|
-
name: 'Upgraded',
|
|
6584
|
-
},
|
|
6585
|
-
{
|
|
6586
|
-
type: 'error',
|
|
6587
|
-
inputs: [{ name: 'target', internalType: 'address', type: 'address' }],
|
|
6588
|
-
name: 'AddressEmptyCode',
|
|
6589
|
-
},
|
|
6590
|
-
{ type: 'error', inputs: [], name: 'ArrayLengthMismatch' },
|
|
6591
|
-
{ type: 'error', inputs: [], name: 'ConfigTickLowerMustBeLessThanTickUpper' },
|
|
6592
|
-
{ type: 'error', inputs: [], name: 'Deprecated' },
|
|
6593
|
-
{ type: 'error', inputs: [], name: 'ERC1167FailedCreateClone' },
|
|
6594
|
-
{
|
|
6595
|
-
type: 'error',
|
|
6596
|
-
inputs: [
|
|
6597
|
-
{ name: 'implementation', internalType: 'address', type: 'address' },
|
|
6598
|
-
],
|
|
6599
|
-
name: 'ERC1967InvalidImplementation',
|
|
6600
|
-
},
|
|
6601
|
-
{ type: 'error', inputs: [], name: 'ERC1967NonPayable' },
|
|
6602
|
-
{ type: 'error', inputs: [], name: 'EthTransferInvalid' },
|
|
6603
|
-
{ type: 'error', inputs: [], name: 'FailedInnerCall' },
|
|
6604
|
-
{ type: 'error', inputs: [], name: 'InvalidConfig' },
|
|
6605
|
-
{ type: 'error', inputs: [], name: 'InvalidHook' },
|
|
6606
|
-
{ type: 'error', inputs: [], name: 'InvalidInitialization' },
|
|
6607
|
-
{ type: 'error', inputs: [], name: 'InvalidPoolVersion' },
|
|
6608
|
-
{
|
|
6609
|
-
type: 'error',
|
|
6610
|
-
inputs: [
|
|
6611
|
-
{ name: 'tickLower', internalType: 'int24', type: 'int24' },
|
|
6612
|
-
{ name: 'tickUpper', internalType: 'int24', type: 'int24' },
|
|
6613
|
-
],
|
|
6614
|
-
name: 'InvalidTickRangeMisordered',
|
|
6615
|
-
},
|
|
6616
|
-
{
|
|
6617
|
-
type: 'error',
|
|
6618
|
-
inputs: [
|
|
6619
|
-
{ name: 'value', internalType: 'uint256', type: 'uint256' },
|
|
6620
|
-
{ name: 'limit', internalType: 'uint256', type: 'uint256' },
|
|
6621
|
-
],
|
|
6622
|
-
name: 'MaxShareToBeSoldExceeded',
|
|
6623
|
-
},
|
|
6624
|
-
{ type: 'error', inputs: [], name: 'NotInitializing' },
|
|
6625
|
-
{ type: 'error', inputs: [], name: 'NumDiscoveryPositionsOutOfRange' },
|
|
6626
|
-
{
|
|
6627
|
-
type: 'error',
|
|
6628
|
-
inputs: [{ name: 'owner', internalType: 'address', type: 'address' }],
|
|
6629
|
-
name: 'OwnableInvalidOwner',
|
|
6630
|
-
},
|
|
6631
|
-
{
|
|
6632
|
-
type: 'error',
|
|
6633
|
-
inputs: [{ name: 'account', internalType: 'address', type: 'address' }],
|
|
6634
|
-
name: 'OwnableUnauthorizedAccount',
|
|
6635
|
-
},
|
|
6636
|
-
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
6637
|
-
{ type: 'error', inputs: [], name: 'UUPSUnauthorizedCallContext' },
|
|
6638
|
-
{
|
|
6639
|
-
type: 'error',
|
|
6640
|
-
inputs: [{ name: 'slot', internalType: 'bytes32', type: 'bytes32' }],
|
|
6641
|
-
name: 'UUPSUnsupportedProxiableUUID',
|
|
6642
|
-
},
|
|
6643
|
-
{
|
|
6644
|
-
type: 'error',
|
|
6645
|
-
inputs: [
|
|
6646
|
-
{ name: 'currentName', internalType: 'string', type: 'string' },
|
|
6647
|
-
{ name: 'newName', internalType: 'string', type: 'string' },
|
|
6648
|
-
],
|
|
6649
|
-
name: 'UpgradeToMismatchedContractName',
|
|
6650
|
-
},
|
|
6651
|
-
{ type: 'error', inputs: [], name: 'ZeroDiscoveryPositions' },
|
|
6652
|
-
{ type: 'error', inputs: [], name: 'ZeroDiscoverySupplyShare' },
|
|
6653
|
-
] as const
|
|
6654
|
-
|
|
6655
|
-
/**
|
|
6656
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/0x47B0C1205B01e5e967dB24A186968152e5cCf764)
|
|
6657
|
-
*/
|
|
6658
|
-
export const devCoinFactoryAddress = {
|
|
6659
|
-
8453: '0x47B0C1205B01e5e967dB24A186968152e5cCf764',
|
|
6660
|
-
} as const
|
|
6661
|
-
|
|
6662
|
-
/**
|
|
6663
|
-
* [__View Contract on Base Basescan__](https://basescan.org/address/0x47B0C1205B01e5e967dB24A186968152e5cCf764)
|
|
6664
|
-
*/
|
|
6665
|
-
export const devCoinFactoryConfig = {
|
|
6666
|
-
address: devCoinFactoryAddress,
|
|
6667
|
-
abi: devCoinFactoryABI,
|
|
6668
|
-
} as const
|
|
6669
|
-
|
|
6670
6308
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
6671
6309
|
// ERC20Minter
|
|
6672
6310
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|