@zoralabs/protocol-deployments 0.6.0-creator-coins.1 → 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/.turbo/turbo-build.log +16 -16
- package/CHANGELOG.md +10 -5
- package/dist/generated/sparks.d.ts +2 -0
- package/dist/generated/sparks.d.ts.map +1 -1
- package/dist/generated/wagmi.d.ts +872 -21
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +431 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +427 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/sparks.ts +2 -0
- package/src/generated/wagmi.ts +448 -9
package/dist/index.cjs
CHANGED
|
@@ -2203,6 +2203,7 @@ var init_unit = __esm({
|
|
|
2203
2203
|
var index_exports = {};
|
|
2204
2204
|
__export(index_exports, {
|
|
2205
2205
|
PremintConfigVersion: () => PremintConfigVersion,
|
|
2206
|
+
autoSwapperABI: () => autoSwapperABI,
|
|
2206
2207
|
buySupplyWithSwapRouterHookABI: () => buySupplyWithSwapRouterHookABI,
|
|
2207
2208
|
buySupplyWithSwapRouterHookAbiParameters: () => buySupplyWithSwapRouterHookAbiParameters,
|
|
2208
2209
|
buySupplyWithSwapRouterHookAddress: () => buySupplyWithSwapRouterHookAddress,
|
|
@@ -2278,6 +2279,9 @@ __export(index_exports, {
|
|
|
2278
2279
|
sponsoredSparksSpenderABI: () => sponsoredSparksSpenderABI,
|
|
2279
2280
|
sponsoredSparksSpenderAddress: () => sponsoredSparksSpenderAddress,
|
|
2280
2281
|
sponsoredSparksSpenderConfig: () => sponsoredSparksSpenderConfig,
|
|
2282
|
+
uniswapQuoterV2ABI: () => uniswapQuoterV2ABI,
|
|
2283
|
+
uniswapQuoterV2Address: () => uniswapQuoterV2Address,
|
|
2284
|
+
uniswapQuoterV2Config: () => uniswapQuoterV2Config,
|
|
2281
2285
|
uniswapUniversalRouterABI: () => uniswapUniversalRouterABI,
|
|
2282
2286
|
uniswapUniversalRouterAddress: () => uniswapUniversalRouterAddress,
|
|
2283
2287
|
uniswapUniversalRouterConfig: () => uniswapUniversalRouterConfig,
|
|
@@ -2328,6 +2332,98 @@ __export(index_exports, {
|
|
|
2328
2332
|
module.exports = __toCommonJS(index_exports);
|
|
2329
2333
|
|
|
2330
2334
|
// src/generated/wagmi.ts
|
|
2335
|
+
var autoSwapperABI = [
|
|
2336
|
+
{
|
|
2337
|
+
type: "constructor",
|
|
2338
|
+
inputs: [
|
|
2339
|
+
{
|
|
2340
|
+
name: "_router",
|
|
2341
|
+
internalType: "contract ISwapRouter",
|
|
2342
|
+
type: "address"
|
|
2343
|
+
},
|
|
2344
|
+
{ name: "_swapRecipient", internalType: "address", type: "address" },
|
|
2345
|
+
{ name: "_swapper", internalType: "address", type: "address" }
|
|
2346
|
+
],
|
|
2347
|
+
stateMutability: "nonpayable"
|
|
2348
|
+
},
|
|
2349
|
+
{
|
|
2350
|
+
type: "function",
|
|
2351
|
+
inputs: [],
|
|
2352
|
+
name: "router",
|
|
2353
|
+
outputs: [
|
|
2354
|
+
{ name: "", internalType: "contract ISwapRouter", type: "address" }
|
|
2355
|
+
],
|
|
2356
|
+
stateMutability: "view"
|
|
2357
|
+
},
|
|
2358
|
+
{
|
|
2359
|
+
type: "function",
|
|
2360
|
+
inputs: [
|
|
2361
|
+
{
|
|
2362
|
+
name: "params",
|
|
2363
|
+
internalType: "struct AutoSwapper.ExactInputParams",
|
|
2364
|
+
type: "tuple",
|
|
2365
|
+
components: [
|
|
2366
|
+
{ name: "path", internalType: "bytes", type: "bytes" },
|
|
2367
|
+
{ name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
2368
|
+
{
|
|
2369
|
+
name: "amountOutMinimum",
|
|
2370
|
+
internalType: "uint256",
|
|
2371
|
+
type: "uint256"
|
|
2372
|
+
}
|
|
2373
|
+
]
|
|
2374
|
+
}
|
|
2375
|
+
],
|
|
2376
|
+
name: "swapExactInput",
|
|
2377
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
|
|
2378
|
+
stateMutability: "nonpayable"
|
|
2379
|
+
},
|
|
2380
|
+
{
|
|
2381
|
+
type: "function",
|
|
2382
|
+
inputs: [
|
|
2383
|
+
{
|
|
2384
|
+
name: "params",
|
|
2385
|
+
internalType: "struct AutoSwapper.ExactInputSingleParams",
|
|
2386
|
+
type: "tuple",
|
|
2387
|
+
components: [
|
|
2388
|
+
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
2389
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
2390
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
2391
|
+
{ name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
2392
|
+
{
|
|
2393
|
+
name: "amountOutMinimum",
|
|
2394
|
+
internalType: "uint256",
|
|
2395
|
+
type: "uint256"
|
|
2396
|
+
},
|
|
2397
|
+
{
|
|
2398
|
+
name: "sqrtPriceLimitX96",
|
|
2399
|
+
internalType: "uint160",
|
|
2400
|
+
type: "uint160"
|
|
2401
|
+
}
|
|
2402
|
+
]
|
|
2403
|
+
}
|
|
2404
|
+
],
|
|
2405
|
+
name: "swapExactInputSingle",
|
|
2406
|
+
outputs: [{ name: "amountOut", internalType: "uint256", type: "uint256" }],
|
|
2407
|
+
stateMutability: "nonpayable"
|
|
2408
|
+
},
|
|
2409
|
+
{
|
|
2410
|
+
type: "function",
|
|
2411
|
+
inputs: [],
|
|
2412
|
+
name: "swapRecipient",
|
|
2413
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
2414
|
+
stateMutability: "view"
|
|
2415
|
+
},
|
|
2416
|
+
{
|
|
2417
|
+
type: "function",
|
|
2418
|
+
inputs: [],
|
|
2419
|
+
name: "swapper",
|
|
2420
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
2421
|
+
stateMutability: "view"
|
|
2422
|
+
},
|
|
2423
|
+
{ type: "error", inputs: [], name: "InvalidRecipient" },
|
|
2424
|
+
{ type: "error", inputs: [], name: "InvalidSelector" },
|
|
2425
|
+
{ type: "error", inputs: [], name: "NotSwapper" }
|
|
2426
|
+
];
|
|
2331
2427
|
var buySupplyWithSwapRouterHookABI = [
|
|
2332
2428
|
{
|
|
2333
2429
|
type: "constructor",
|
|
@@ -2376,6 +2472,16 @@ var buySupplyWithSwapRouterHookABI = [
|
|
|
2376
2472
|
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
2377
2473
|
stateMutability: "nonpayable"
|
|
2378
2474
|
},
|
|
2475
|
+
{
|
|
2476
|
+
type: "error",
|
|
2477
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
2478
|
+
name: "AddressEmptyCode"
|
|
2479
|
+
},
|
|
2480
|
+
{
|
|
2481
|
+
type: "error",
|
|
2482
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
2483
|
+
name: "AddressInsufficientBalance"
|
|
2484
|
+
},
|
|
2379
2485
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
2380
2486
|
{
|
|
2381
2487
|
type: "error",
|
|
@@ -2388,10 +2494,16 @@ var buySupplyWithSwapRouterHookABI = [
|
|
|
2388
2494
|
name: "CurrencyBalanceNot0"
|
|
2389
2495
|
},
|
|
2390
2496
|
{ type: "error", inputs: [], name: "Erc20NotReceived" },
|
|
2497
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
2391
2498
|
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
2392
2499
|
{ type: "error", inputs: [], name: "InvalidSwapRouterCall" },
|
|
2393
2500
|
{ type: "error", inputs: [], name: "NotFactory" },
|
|
2394
2501
|
{ type: "error", inputs: [], name: "OnlyPoolManager" },
|
|
2502
|
+
{
|
|
2503
|
+
type: "error",
|
|
2504
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
2505
|
+
name: "SafeERC20FailedOperation"
|
|
2506
|
+
},
|
|
2395
2507
|
{
|
|
2396
2508
|
type: "error",
|
|
2397
2509
|
inputs: [{ name: "error", internalType: "bytes", type: "bytes" }],
|
|
@@ -3839,6 +3951,16 @@ var coinABI = [
|
|
|
3839
3951
|
outputs: [],
|
|
3840
3952
|
stateMutability: "nonpayable"
|
|
3841
3953
|
},
|
|
3954
|
+
{
|
|
3955
|
+
type: "function",
|
|
3956
|
+
inputs: [
|
|
3957
|
+
{ name: "newName", internalType: "string", type: "string" },
|
|
3958
|
+
{ name: "newSymbol", internalType: "string", type: "string" }
|
|
3959
|
+
],
|
|
3960
|
+
name: "setNameAndSymbol",
|
|
3961
|
+
outputs: [],
|
|
3962
|
+
stateMutability: "nonpayable"
|
|
3963
|
+
},
|
|
3842
3964
|
{
|
|
3843
3965
|
type: "function",
|
|
3844
3966
|
inputs: [
|
|
@@ -4278,6 +4400,31 @@ var coinABI = [
|
|
|
4278
4400
|
],
|
|
4279
4401
|
name: "Initialized"
|
|
4280
4402
|
},
|
|
4403
|
+
{
|
|
4404
|
+
type: "event",
|
|
4405
|
+
anonymous: false,
|
|
4406
|
+
inputs: [
|
|
4407
|
+
{
|
|
4408
|
+
name: "caller",
|
|
4409
|
+
internalType: "address",
|
|
4410
|
+
type: "address",
|
|
4411
|
+
indexed: true
|
|
4412
|
+
},
|
|
4413
|
+
{
|
|
4414
|
+
name: "newName",
|
|
4415
|
+
internalType: "string",
|
|
4416
|
+
type: "string",
|
|
4417
|
+
indexed: false
|
|
4418
|
+
},
|
|
4419
|
+
{
|
|
4420
|
+
name: "newSymbol",
|
|
4421
|
+
internalType: "string",
|
|
4422
|
+
type: "string",
|
|
4423
|
+
indexed: false
|
|
4424
|
+
}
|
|
4425
|
+
],
|
|
4426
|
+
name: "NameAndSymbolUpdated"
|
|
4427
|
+
},
|
|
4281
4428
|
{
|
|
4282
4429
|
type: "event",
|
|
4283
4430
|
anonymous: false,
|
|
@@ -4470,7 +4617,9 @@ var coinFactoryABI = [
|
|
|
4470
4617
|
inputs: [
|
|
4471
4618
|
{ name: "_coinImpl", internalType: "address", type: "address" },
|
|
4472
4619
|
{ name: "_coinV4Impl", internalType: "address", type: "address" },
|
|
4473
|
-
{ name: "_creatorCoinImpl", internalType: "address", type: "address" }
|
|
4620
|
+
{ name: "_creatorCoinImpl", internalType: "address", type: "address" },
|
|
4621
|
+
{ name: "_contentCoinHook", internalType: "address", type: "address" },
|
|
4622
|
+
{ name: "_creatorCoinHook", internalType: "address", type: "address" }
|
|
4474
4623
|
],
|
|
4475
4624
|
stateMutability: "nonpayable"
|
|
4476
4625
|
},
|
|
@@ -4509,6 +4658,13 @@ var coinFactoryABI = [
|
|
|
4509
4658
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4510
4659
|
stateMutability: "view"
|
|
4511
4660
|
},
|
|
4661
|
+
{
|
|
4662
|
+
type: "function",
|
|
4663
|
+
inputs: [],
|
|
4664
|
+
name: "contentCoinHook",
|
|
4665
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4666
|
+
stateMutability: "view"
|
|
4667
|
+
},
|
|
4512
4668
|
{
|
|
4513
4669
|
type: "function",
|
|
4514
4670
|
inputs: [],
|
|
@@ -4523,6 +4679,13 @@ var coinFactoryABI = [
|
|
|
4523
4679
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
4524
4680
|
stateMutability: "pure"
|
|
4525
4681
|
},
|
|
4682
|
+
{
|
|
4683
|
+
type: "function",
|
|
4684
|
+
inputs: [],
|
|
4685
|
+
name: "creatorCoinHook",
|
|
4686
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
4687
|
+
stateMutability: "view"
|
|
4688
|
+
},
|
|
4526
4689
|
{
|
|
4527
4690
|
type: "function",
|
|
4528
4691
|
inputs: [],
|
|
@@ -5041,8 +5204,7 @@ var coinV4ABI = [
|
|
|
5041
5204
|
internalType: "contract IPoolManager",
|
|
5042
5205
|
type: "address"
|
|
5043
5206
|
},
|
|
5044
|
-
{ name: "airlock_", internalType: "address", type: "address" }
|
|
5045
|
-
{ name: "hooks_", internalType: "contract IHooks", type: "address" }
|
|
5207
|
+
{ name: "airlock_", internalType: "address", type: "address" }
|
|
5046
5208
|
],
|
|
5047
5209
|
stateMutability: "nonpayable"
|
|
5048
5210
|
},
|
|
@@ -5318,6 +5480,29 @@ var coinV4ABI = [
|
|
|
5318
5480
|
outputs: [{ name: "", internalType: "bool", type: "bool" }],
|
|
5319
5481
|
stateMutability: "view"
|
|
5320
5482
|
},
|
|
5483
|
+
{
|
|
5484
|
+
type: "function",
|
|
5485
|
+
inputs: [
|
|
5486
|
+
{ name: "newHook", internalType: "address", type: "address" },
|
|
5487
|
+
{ name: "additionalData", internalType: "bytes", type: "bytes" }
|
|
5488
|
+
],
|
|
5489
|
+
name: "migrateLiquidity",
|
|
5490
|
+
outputs: [
|
|
5491
|
+
{
|
|
5492
|
+
name: "newPoolKey",
|
|
5493
|
+
internalType: "struct PoolKey",
|
|
5494
|
+
type: "tuple",
|
|
5495
|
+
components: [
|
|
5496
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
5497
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
5498
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
5499
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
5500
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
5501
|
+
]
|
|
5502
|
+
}
|
|
5503
|
+
],
|
|
5504
|
+
stateMutability: "nonpayable"
|
|
5505
|
+
},
|
|
5321
5506
|
{
|
|
5322
5507
|
type: "function",
|
|
5323
5508
|
inputs: [],
|
|
@@ -5421,6 +5606,16 @@ var coinV4ABI = [
|
|
|
5421
5606
|
outputs: [],
|
|
5422
5607
|
stateMutability: "nonpayable"
|
|
5423
5608
|
},
|
|
5609
|
+
{
|
|
5610
|
+
type: "function",
|
|
5611
|
+
inputs: [
|
|
5612
|
+
{ name: "newName", internalType: "string", type: "string" },
|
|
5613
|
+
{ name: "newSymbol", internalType: "string", type: "string" }
|
|
5614
|
+
],
|
|
5615
|
+
name: "setNameAndSymbol",
|
|
5616
|
+
outputs: [],
|
|
5617
|
+
stateMutability: "nonpayable"
|
|
5618
|
+
},
|
|
5424
5619
|
{
|
|
5425
5620
|
type: "function",
|
|
5426
5621
|
inputs: [
|
|
@@ -5835,6 +6030,76 @@ var coinV4ABI = [
|
|
|
5835
6030
|
],
|
|
5836
6031
|
name: "Initialized"
|
|
5837
6032
|
},
|
|
6033
|
+
{
|
|
6034
|
+
type: "event",
|
|
6035
|
+
anonymous: false,
|
|
6036
|
+
inputs: [
|
|
6037
|
+
{
|
|
6038
|
+
name: "fromPoolKey",
|
|
6039
|
+
internalType: "struct PoolKey",
|
|
6040
|
+
type: "tuple",
|
|
6041
|
+
components: [
|
|
6042
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
6043
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
6044
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
6045
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
6046
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
6047
|
+
],
|
|
6048
|
+
indexed: false
|
|
6049
|
+
},
|
|
6050
|
+
{
|
|
6051
|
+
name: "fromPoolKeyHash",
|
|
6052
|
+
internalType: "bytes32",
|
|
6053
|
+
type: "bytes32",
|
|
6054
|
+
indexed: false
|
|
6055
|
+
},
|
|
6056
|
+
{
|
|
6057
|
+
name: "toPoolKey",
|
|
6058
|
+
internalType: "struct PoolKey",
|
|
6059
|
+
type: "tuple",
|
|
6060
|
+
components: [
|
|
6061
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
6062
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
6063
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
6064
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
6065
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
6066
|
+
],
|
|
6067
|
+
indexed: false
|
|
6068
|
+
},
|
|
6069
|
+
{
|
|
6070
|
+
name: "toPoolKeyHash",
|
|
6071
|
+
internalType: "bytes32",
|
|
6072
|
+
type: "bytes32",
|
|
6073
|
+
indexed: false
|
|
6074
|
+
}
|
|
6075
|
+
],
|
|
6076
|
+
name: "LiquidityMigrated"
|
|
6077
|
+
},
|
|
6078
|
+
{
|
|
6079
|
+
type: "event",
|
|
6080
|
+
anonymous: false,
|
|
6081
|
+
inputs: [
|
|
6082
|
+
{
|
|
6083
|
+
name: "caller",
|
|
6084
|
+
internalType: "address",
|
|
6085
|
+
type: "address",
|
|
6086
|
+
indexed: true
|
|
6087
|
+
},
|
|
6088
|
+
{
|
|
6089
|
+
name: "newName",
|
|
6090
|
+
internalType: "string",
|
|
6091
|
+
type: "string",
|
|
6092
|
+
indexed: false
|
|
6093
|
+
},
|
|
6094
|
+
{
|
|
6095
|
+
name: "newSymbol",
|
|
6096
|
+
internalType: "string",
|
|
6097
|
+
type: "string",
|
|
6098
|
+
indexed: false
|
|
6099
|
+
}
|
|
6100
|
+
],
|
|
6101
|
+
name: "NameAndSymbolUpdated"
|
|
6102
|
+
},
|
|
5838
6103
|
{
|
|
5839
6104
|
type: "event",
|
|
5840
6105
|
anonymous: false,
|
|
@@ -7827,6 +8092,16 @@ var devBuySupplyWithSwapRouterHookABI = [
|
|
|
7827
8092
|
outputs: [{ name: "", internalType: "bytes", type: "bytes" }],
|
|
7828
8093
|
stateMutability: "nonpayable"
|
|
7829
8094
|
},
|
|
8095
|
+
{
|
|
8096
|
+
type: "error",
|
|
8097
|
+
inputs: [{ name: "target", internalType: "address", type: "address" }],
|
|
8098
|
+
name: "AddressEmptyCode"
|
|
8099
|
+
},
|
|
8100
|
+
{
|
|
8101
|
+
type: "error",
|
|
8102
|
+
inputs: [{ name: "account", internalType: "address", type: "address" }],
|
|
8103
|
+
name: "AddressInsufficientBalance"
|
|
8104
|
+
},
|
|
7830
8105
|
{ type: "error", inputs: [], name: "AddressZero" },
|
|
7831
8106
|
{
|
|
7832
8107
|
type: "error",
|
|
@@ -7839,10 +8114,16 @@ var devBuySupplyWithSwapRouterHookABI = [
|
|
|
7839
8114
|
name: "CurrencyBalanceNot0"
|
|
7840
8115
|
},
|
|
7841
8116
|
{ type: "error", inputs: [], name: "Erc20NotReceived" },
|
|
8117
|
+
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
7842
8118
|
{ type: "error", inputs: [], name: "HookNotImplemented" },
|
|
7843
8119
|
{ type: "error", inputs: [], name: "InvalidSwapRouterCall" },
|
|
7844
8120
|
{ type: "error", inputs: [], name: "NotFactory" },
|
|
7845
8121
|
{ type: "error", inputs: [], name: "OnlyPoolManager" },
|
|
8122
|
+
{
|
|
8123
|
+
type: "error",
|
|
8124
|
+
inputs: [{ name: "token", internalType: "address", type: "address" }],
|
|
8125
|
+
name: "SafeERC20FailedOperation"
|
|
8126
|
+
},
|
|
7846
8127
|
{
|
|
7847
8128
|
type: "error",
|
|
7848
8129
|
inputs: [{ name: "error", internalType: "bytes", type: "bytes" }],
|
|
@@ -7850,7 +8131,7 @@ var devBuySupplyWithSwapRouterHookABI = [
|
|
|
7850
8131
|
}
|
|
7851
8132
|
];
|
|
7852
8133
|
var devBuySupplyWithSwapRouterHookAddress = {
|
|
7853
|
-
8453: "
|
|
8134
|
+
8453: "0x62B95629F965bf48E15BB110A1729B9b9dF1C07D"
|
|
7854
8135
|
};
|
|
7855
8136
|
var devBuySupplyWithSwapRouterHookConfig = {
|
|
7856
8137
|
address: devBuySupplyWithSwapRouterHookAddress,
|
|
@@ -7862,7 +8143,9 @@ var devCoinFactoryABI = [
|
|
|
7862
8143
|
inputs: [
|
|
7863
8144
|
{ name: "_coinImpl", internalType: "address", type: "address" },
|
|
7864
8145
|
{ name: "_coinV4Impl", internalType: "address", type: "address" },
|
|
7865
|
-
{ name: "_creatorCoinImpl", internalType: "address", type: "address" }
|
|
8146
|
+
{ name: "_creatorCoinImpl", internalType: "address", type: "address" },
|
|
8147
|
+
{ name: "_contentCoinHook", internalType: "address", type: "address" },
|
|
8148
|
+
{ name: "_creatorCoinHook", internalType: "address", type: "address" }
|
|
7866
8149
|
],
|
|
7867
8150
|
stateMutability: "nonpayable"
|
|
7868
8151
|
},
|
|
@@ -7901,6 +8184,13 @@ var devCoinFactoryABI = [
|
|
|
7901
8184
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
7902
8185
|
stateMutability: "view"
|
|
7903
8186
|
},
|
|
8187
|
+
{
|
|
8188
|
+
type: "function",
|
|
8189
|
+
inputs: [],
|
|
8190
|
+
name: "contentCoinHook",
|
|
8191
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8192
|
+
stateMutability: "view"
|
|
8193
|
+
},
|
|
7904
8194
|
{
|
|
7905
8195
|
type: "function",
|
|
7906
8196
|
inputs: [],
|
|
@@ -7915,6 +8205,13 @@ var devCoinFactoryABI = [
|
|
|
7915
8205
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
7916
8206
|
stateMutability: "pure"
|
|
7917
8207
|
},
|
|
8208
|
+
{
|
|
8209
|
+
type: "function",
|
|
8210
|
+
inputs: [],
|
|
8211
|
+
name: "creatorCoinHook",
|
|
8212
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
8213
|
+
stateMutability: "view"
|
|
8214
|
+
},
|
|
7918
8215
|
{
|
|
7919
8216
|
type: "function",
|
|
7920
8217
|
inputs: [],
|
|
@@ -8411,7 +8708,7 @@ var devCoinFactoryABI = [
|
|
|
8411
8708
|
{ type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" }
|
|
8412
8709
|
];
|
|
8413
8710
|
var devCoinFactoryAddress = {
|
|
8414
|
-
8453: "
|
|
8711
|
+
8453: "0x47B0C1205B01e5e967dB24A186968152e5cCf764"
|
|
8415
8712
|
};
|
|
8416
8713
|
var devCoinFactoryConfig = {
|
|
8417
8714
|
address: devCoinFactoryAddress,
|
|
@@ -11845,6 +12142,128 @@ var sponsoredSparksSpenderConfig = {
|
|
|
11845
12142
|
address: sponsoredSparksSpenderAddress,
|
|
11846
12143
|
abi: sponsoredSparksSpenderABI
|
|
11847
12144
|
};
|
|
12145
|
+
var uniswapQuoterV2ABI = [
|
|
12146
|
+
{
|
|
12147
|
+
type: "function",
|
|
12148
|
+
inputs: [
|
|
12149
|
+
{ name: "path", internalType: "bytes", type: "bytes" },
|
|
12150
|
+
{ name: "amountIn", internalType: "uint256", type: "uint256" }
|
|
12151
|
+
],
|
|
12152
|
+
name: "quoteExactInput",
|
|
12153
|
+
outputs: [
|
|
12154
|
+
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
12155
|
+
{
|
|
12156
|
+
name: "sqrtPriceX96AfterList",
|
|
12157
|
+
internalType: "uint160[]",
|
|
12158
|
+
type: "uint160[]"
|
|
12159
|
+
},
|
|
12160
|
+
{
|
|
12161
|
+
name: "initializedTicksCrossedList",
|
|
12162
|
+
internalType: "uint32[]",
|
|
12163
|
+
type: "uint32[]"
|
|
12164
|
+
},
|
|
12165
|
+
{ name: "gasEstimate", internalType: "uint256", type: "uint256" }
|
|
12166
|
+
],
|
|
12167
|
+
stateMutability: "nonpayable"
|
|
12168
|
+
},
|
|
12169
|
+
{
|
|
12170
|
+
type: "function",
|
|
12171
|
+
inputs: [
|
|
12172
|
+
{
|
|
12173
|
+
name: "params",
|
|
12174
|
+
internalType: "struct IQuoterV2.QuoteExactInputSingleParams",
|
|
12175
|
+
type: "tuple",
|
|
12176
|
+
components: [
|
|
12177
|
+
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
12178
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
12179
|
+
{ name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
12180
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
12181
|
+
{
|
|
12182
|
+
name: "sqrtPriceLimitX96",
|
|
12183
|
+
internalType: "uint160",
|
|
12184
|
+
type: "uint160"
|
|
12185
|
+
}
|
|
12186
|
+
]
|
|
12187
|
+
}
|
|
12188
|
+
],
|
|
12189
|
+
name: "quoteExactInputSingle",
|
|
12190
|
+
outputs: [
|
|
12191
|
+
{ name: "amountOut", internalType: "uint256", type: "uint256" },
|
|
12192
|
+
{ name: "sqrtPriceX96After", internalType: "uint160", type: "uint160" },
|
|
12193
|
+
{
|
|
12194
|
+
name: "initializedTicksCrossed",
|
|
12195
|
+
internalType: "uint32",
|
|
12196
|
+
type: "uint32"
|
|
12197
|
+
},
|
|
12198
|
+
{ name: "gasEstimate", internalType: "uint256", type: "uint256" }
|
|
12199
|
+
],
|
|
12200
|
+
stateMutability: "nonpayable"
|
|
12201
|
+
},
|
|
12202
|
+
{
|
|
12203
|
+
type: "function",
|
|
12204
|
+
inputs: [
|
|
12205
|
+
{ name: "path", internalType: "bytes", type: "bytes" },
|
|
12206
|
+
{ name: "amountOut", internalType: "uint256", type: "uint256" }
|
|
12207
|
+
],
|
|
12208
|
+
name: "quoteExactOutput",
|
|
12209
|
+
outputs: [
|
|
12210
|
+
{ name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
12211
|
+
{
|
|
12212
|
+
name: "sqrtPriceX96AfterList",
|
|
12213
|
+
internalType: "uint160[]",
|
|
12214
|
+
type: "uint160[]"
|
|
12215
|
+
},
|
|
12216
|
+
{
|
|
12217
|
+
name: "initializedTicksCrossedList",
|
|
12218
|
+
internalType: "uint32[]",
|
|
12219
|
+
type: "uint32[]"
|
|
12220
|
+
},
|
|
12221
|
+
{ name: "gasEstimate", internalType: "uint256", type: "uint256" }
|
|
12222
|
+
],
|
|
12223
|
+
stateMutability: "nonpayable"
|
|
12224
|
+
},
|
|
12225
|
+
{
|
|
12226
|
+
type: "function",
|
|
12227
|
+
inputs: [
|
|
12228
|
+
{
|
|
12229
|
+
name: "params",
|
|
12230
|
+
internalType: "struct IQuoterV2.QuoteExactOutputSingleParams",
|
|
12231
|
+
type: "tuple",
|
|
12232
|
+
components: [
|
|
12233
|
+
{ name: "tokenIn", internalType: "address", type: "address" },
|
|
12234
|
+
{ name: "tokenOut", internalType: "address", type: "address" },
|
|
12235
|
+
{ name: "amount", internalType: "uint256", type: "uint256" },
|
|
12236
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
12237
|
+
{
|
|
12238
|
+
name: "sqrtPriceLimitX96",
|
|
12239
|
+
internalType: "uint160",
|
|
12240
|
+
type: "uint160"
|
|
12241
|
+
}
|
|
12242
|
+
]
|
|
12243
|
+
}
|
|
12244
|
+
],
|
|
12245
|
+
name: "quoteExactOutputSingle",
|
|
12246
|
+
outputs: [
|
|
12247
|
+
{ name: "amountIn", internalType: "uint256", type: "uint256" },
|
|
12248
|
+
{ name: "sqrtPriceX96After", internalType: "uint160", type: "uint160" },
|
|
12249
|
+
{
|
|
12250
|
+
name: "initializedTicksCrossed",
|
|
12251
|
+
internalType: "uint32",
|
|
12252
|
+
type: "uint32"
|
|
12253
|
+
},
|
|
12254
|
+
{ name: "gasEstimate", internalType: "uint256", type: "uint256" }
|
|
12255
|
+
],
|
|
12256
|
+
stateMutability: "nonpayable"
|
|
12257
|
+
}
|
|
12258
|
+
];
|
|
12259
|
+
var uniswapQuoterV2Address = {
|
|
12260
|
+
8453: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
|
|
12261
|
+
84532: "0xC5290058841028F1614F3A6F0F5816cAd0df5E27"
|
|
12262
|
+
};
|
|
12263
|
+
var uniswapQuoterV2Config = {
|
|
12264
|
+
address: uniswapQuoterV2Address,
|
|
12265
|
+
abi: uniswapQuoterV2ABI
|
|
12266
|
+
};
|
|
11848
12267
|
var uniswapUniversalRouterABI = [
|
|
11849
12268
|
{
|
|
11850
12269
|
type: "function",
|
|
@@ -21028,6 +21447,7 @@ var chainConfigs2 = {
|
|
|
21028
21447
|
NONFUNGIBLE_POSITION_MANAGER: "0x03a520b32C04BF3bEEf7BEb72E919cf822Ed34f1",
|
|
21029
21448
|
UNISWAP_SWAP_ROUTER: "0x2626664c2603336E57B271c5C0b26F421741e481",
|
|
21030
21449
|
UNISWAP_V3_FACTORY: "0x33128a8fC17869897dcE68Ed026d694621f6FDfD",
|
|
21450
|
+
UNISWAP_QUOTER_V2: "0x3d4e44Eb1374240CE5F1B871ab261CD16335B76a",
|
|
21031
21451
|
DOPPLER_AIRLOCK: "0x660eAaEdEBc968f8f3694354FA8EC0b4c5Ba8D12",
|
|
21032
21452
|
PROXY_ADMIN: "0x004d6611884B4A661749B64b2ADc78505c3e1AB3",
|
|
21033
21453
|
ZORA_RECIPIENT: "0x7bf90111Ad7C22bec9E9dFf8A01A44713CC1b1B6",
|
|
@@ -21055,6 +21475,7 @@ var chainConfigs2 = {
|
|
|
21055
21475
|
NONFUNGIBLE_POSITION_MANAGER: "0x27F971cb582BF9E50F397e4d29a5C7A34f11faA2",
|
|
21056
21476
|
UNISWAP_SWAP_ROUTER: "0x94cC0AaC535CCDB3C01d6787D6413C739ae12bc4",
|
|
21057
21477
|
UNISWAP_V3_FACTORY: "0x4752ba5DBc23f44D87826276BF6Fd6b1C372aD24",
|
|
21478
|
+
UNISWAP_QUOTER_V2: "0xC5290058841028F1614F3A6F0F5816cAd0df5E27",
|
|
21058
21479
|
DOPPLER_AIRLOCK: "0xa24E35a5d71d02a59b41E7c93567626302da1958",
|
|
21059
21480
|
PROXY_ADMIN: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
21060
21481
|
ZORA_RECIPIENT: "0x5F14C23983c9e0840Dc60dA880349622f0785420",
|
|
@@ -21170,6 +21591,7 @@ var addresses2 = {
|
|
|
21170
21591
|
// Annotate the CommonJS export names for ESM import in node:
|
|
21171
21592
|
0 && (module.exports = {
|
|
21172
21593
|
PremintConfigVersion,
|
|
21594
|
+
autoSwapperABI,
|
|
21173
21595
|
buySupplyWithSwapRouterHookABI,
|
|
21174
21596
|
buySupplyWithSwapRouterHookAbiParameters,
|
|
21175
21597
|
buySupplyWithSwapRouterHookAddress,
|
|
@@ -21245,6 +21667,9 @@ var addresses2 = {
|
|
|
21245
21667
|
sponsoredSparksSpenderABI,
|
|
21246
21668
|
sponsoredSparksSpenderAddress,
|
|
21247
21669
|
sponsoredSparksSpenderConfig,
|
|
21670
|
+
uniswapQuoterV2ABI,
|
|
21671
|
+
uniswapQuoterV2Address,
|
|
21672
|
+
uniswapQuoterV2Config,
|
|
21248
21673
|
uniswapUniversalRouterABI,
|
|
21249
21674
|
uniswapUniversalRouterAddress,
|
|
21250
21675
|
uniswapUniversalRouterConfig,
|