@zoralabs/protocol-deployments 0.5.8 → 0.6.0-creator-coins.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 +46 -47
- package/CHANGELOG.md +6 -0
- package/LICENSE +21 -0
- package/dist/encoding.d.ts +2 -2
- package/dist/generated/wagmi.d.ts +629 -65
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +198 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +198 -8
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
- package/src/generated/wagmi.ts +208 -18
- package/.turbo/turbo-lint.log +0 -7
package/dist/index.js
CHANGED
|
@@ -70,8 +70,8 @@ var buySupplyWithSwapRouterHookABI = [
|
|
|
70
70
|
}
|
|
71
71
|
];
|
|
72
72
|
var buySupplyWithSwapRouterHookAddress = {
|
|
73
|
-
8453: "
|
|
74
|
-
84532: "
|
|
73
|
+
8453: "0x4269b3ba4522192e0C54197BD0D7131A3abA6256",
|
|
74
|
+
84532: "0x1463f270201b846a8B243243D4B982CB0720fA86"
|
|
75
75
|
};
|
|
76
76
|
var buySupplyWithSwapRouterHookConfig = {
|
|
77
77
|
address: buySupplyWithSwapRouterHookAddress,
|
|
@@ -1250,7 +1250,7 @@ var coinABI = [
|
|
|
1250
1250
|
{
|
|
1251
1251
|
type: "function",
|
|
1252
1252
|
inputs: [],
|
|
1253
|
-
name: "
|
|
1253
|
+
name: "dopplerFeeRecipient",
|
|
1254
1254
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
1255
1255
|
stateMutability: "view"
|
|
1256
1256
|
},
|
|
@@ -2140,7 +2140,8 @@ var coinFactoryABI = [
|
|
|
2140
2140
|
type: "constructor",
|
|
2141
2141
|
inputs: [
|
|
2142
2142
|
{ name: "_coinImpl", internalType: "address", type: "address" },
|
|
2143
|
-
{ name: "_coinV4Impl", internalType: "address", type: "address" }
|
|
2143
|
+
{ name: "_coinV4Impl", internalType: "address", type: "address" },
|
|
2144
|
+
{ name: "_creatorCoinImpl", internalType: "address", type: "address" }
|
|
2144
2145
|
],
|
|
2145
2146
|
stateMutability: "nonpayable"
|
|
2146
2147
|
},
|
|
@@ -2193,6 +2194,13 @@ var coinFactoryABI = [
|
|
|
2193
2194
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
2194
2195
|
stateMutability: "pure"
|
|
2195
2196
|
},
|
|
2197
|
+
{
|
|
2198
|
+
type: "function",
|
|
2199
|
+
inputs: [],
|
|
2200
|
+
name: "creatorCoinImpl",
|
|
2201
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
2202
|
+
stateMutability: "view"
|
|
2203
|
+
},
|
|
2196
2204
|
{
|
|
2197
2205
|
type: "function",
|
|
2198
2206
|
inputs: [
|
|
@@ -2253,6 +2261,22 @@ var coinFactoryABI = [
|
|
|
2253
2261
|
],
|
|
2254
2262
|
stateMutability: "payable"
|
|
2255
2263
|
},
|
|
2264
|
+
{
|
|
2265
|
+
type: "function",
|
|
2266
|
+
inputs: [
|
|
2267
|
+
{ name: "payoutRecipient", internalType: "address", type: "address" },
|
|
2268
|
+
{ name: "owners", internalType: "address[]", type: "address[]" },
|
|
2269
|
+
{ name: "uri", internalType: "string", type: "string" },
|
|
2270
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
2271
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
2272
|
+
{ name: "poolConfig", internalType: "bytes", type: "bytes" },
|
|
2273
|
+
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
2274
|
+
{ name: "coinSalt", internalType: "bytes32", type: "bytes32" }
|
|
2275
|
+
],
|
|
2276
|
+
name: "deployCreatorCoin",
|
|
2277
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
2278
|
+
stateMutability: "nonpayable"
|
|
2279
|
+
},
|
|
2256
2280
|
{
|
|
2257
2281
|
type: "function",
|
|
2258
2282
|
inputs: [
|
|
@@ -2461,6 +2485,76 @@ var coinFactoryABI = [
|
|
|
2461
2485
|
],
|
|
2462
2486
|
name: "CoinCreatedV4"
|
|
2463
2487
|
},
|
|
2488
|
+
{
|
|
2489
|
+
type: "event",
|
|
2490
|
+
anonymous: false,
|
|
2491
|
+
inputs: [
|
|
2492
|
+
{
|
|
2493
|
+
name: "caller",
|
|
2494
|
+
internalType: "address",
|
|
2495
|
+
type: "address",
|
|
2496
|
+
indexed: true
|
|
2497
|
+
},
|
|
2498
|
+
{
|
|
2499
|
+
name: "payoutRecipient",
|
|
2500
|
+
internalType: "address",
|
|
2501
|
+
type: "address",
|
|
2502
|
+
indexed: true
|
|
2503
|
+
},
|
|
2504
|
+
{
|
|
2505
|
+
name: "platformReferrer",
|
|
2506
|
+
internalType: "address",
|
|
2507
|
+
type: "address",
|
|
2508
|
+
indexed: true
|
|
2509
|
+
},
|
|
2510
|
+
{
|
|
2511
|
+
name: "currency",
|
|
2512
|
+
internalType: "address",
|
|
2513
|
+
type: "address",
|
|
2514
|
+
indexed: false
|
|
2515
|
+
},
|
|
2516
|
+
{ name: "uri", internalType: "string", type: "string", indexed: false },
|
|
2517
|
+
{ name: "name", internalType: "string", type: "string", indexed: false },
|
|
2518
|
+
{
|
|
2519
|
+
name: "symbol",
|
|
2520
|
+
internalType: "string",
|
|
2521
|
+
type: "string",
|
|
2522
|
+
indexed: false
|
|
2523
|
+
},
|
|
2524
|
+
{
|
|
2525
|
+
name: "coin",
|
|
2526
|
+
internalType: "address",
|
|
2527
|
+
type: "address",
|
|
2528
|
+
indexed: false
|
|
2529
|
+
},
|
|
2530
|
+
{
|
|
2531
|
+
name: "poolKey",
|
|
2532
|
+
internalType: "struct PoolKey",
|
|
2533
|
+
type: "tuple",
|
|
2534
|
+
components: [
|
|
2535
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
2536
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
2537
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
2538
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
2539
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
2540
|
+
],
|
|
2541
|
+
indexed: false
|
|
2542
|
+
},
|
|
2543
|
+
{
|
|
2544
|
+
name: "poolKeyHash",
|
|
2545
|
+
internalType: "bytes32",
|
|
2546
|
+
type: "bytes32",
|
|
2547
|
+
indexed: false
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
name: "version",
|
|
2551
|
+
internalType: "string",
|
|
2552
|
+
type: "string",
|
|
2553
|
+
indexed: false
|
|
2554
|
+
}
|
|
2555
|
+
],
|
|
2556
|
+
name: "CreatorCoinCreated"
|
|
2557
|
+
},
|
|
2464
2558
|
{
|
|
2465
2559
|
type: "event",
|
|
2466
2560
|
anonymous: false,
|
|
@@ -2532,6 +2626,7 @@ var coinFactoryABI = [
|
|
|
2532
2626
|
{ type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
|
|
2533
2627
|
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
2534
2628
|
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
2629
|
+
{ type: "error", inputs: [], name: "InvalidConfig" },
|
|
2535
2630
|
{ type: "error", inputs: [], name: "InvalidHook" },
|
|
2536
2631
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
2537
2632
|
{ type: "error", inputs: [], name: "InvalidPoolVersion" },
|
|
@@ -2595,8 +2690,8 @@ var coinFactoryABI = [
|
|
|
2595
2690
|
{ type: "error", inputs: [], name: "ZeroDiscoverySupplyShare" }
|
|
2596
2691
|
];
|
|
2597
2692
|
var coinFactoryAddress = {
|
|
2598
|
-
8453: "
|
|
2599
|
-
84532: "
|
|
2693
|
+
8453: "0x25271c98c1548c075c6DD463308c9a37135c842c",
|
|
2694
|
+
84532: "0x777777751622c0d3258f214F9DF38E35BF45baF3"
|
|
2600
2695
|
};
|
|
2601
2696
|
var coinFactoryConfig = {
|
|
2602
2697
|
address: coinFactoryAddress,
|
|
@@ -2717,7 +2812,7 @@ var coinV4ABI = [
|
|
|
2717
2812
|
{
|
|
2718
2813
|
type: "function",
|
|
2719
2814
|
inputs: [],
|
|
2720
|
-
name: "
|
|
2815
|
+
name: "dopplerFeeRecipient",
|
|
2721
2816
|
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
2722
2817
|
stateMutability: "view"
|
|
2723
2818
|
},
|
|
@@ -5360,7 +5455,8 @@ var devCoinFactoryABI = [
|
|
|
5360
5455
|
type: "constructor",
|
|
5361
5456
|
inputs: [
|
|
5362
5457
|
{ name: "_coinImpl", internalType: "address", type: "address" },
|
|
5363
|
-
{ name: "_coinV4Impl", internalType: "address", type: "address" }
|
|
5458
|
+
{ name: "_coinV4Impl", internalType: "address", type: "address" },
|
|
5459
|
+
{ name: "_creatorCoinImpl", internalType: "address", type: "address" }
|
|
5364
5460
|
],
|
|
5365
5461
|
stateMutability: "nonpayable"
|
|
5366
5462
|
},
|
|
@@ -5413,6 +5509,13 @@ var devCoinFactoryABI = [
|
|
|
5413
5509
|
outputs: [{ name: "", internalType: "string", type: "string" }],
|
|
5414
5510
|
stateMutability: "pure"
|
|
5415
5511
|
},
|
|
5512
|
+
{
|
|
5513
|
+
type: "function",
|
|
5514
|
+
inputs: [],
|
|
5515
|
+
name: "creatorCoinImpl",
|
|
5516
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
5517
|
+
stateMutability: "view"
|
|
5518
|
+
},
|
|
5416
5519
|
{
|
|
5417
5520
|
type: "function",
|
|
5418
5521
|
inputs: [
|
|
@@ -5473,6 +5576,22 @@ var devCoinFactoryABI = [
|
|
|
5473
5576
|
],
|
|
5474
5577
|
stateMutability: "payable"
|
|
5475
5578
|
},
|
|
5579
|
+
{
|
|
5580
|
+
type: "function",
|
|
5581
|
+
inputs: [
|
|
5582
|
+
{ name: "payoutRecipient", internalType: "address", type: "address" },
|
|
5583
|
+
{ name: "owners", internalType: "address[]", type: "address[]" },
|
|
5584
|
+
{ name: "uri", internalType: "string", type: "string" },
|
|
5585
|
+
{ name: "name", internalType: "string", type: "string" },
|
|
5586
|
+
{ name: "symbol", internalType: "string", type: "string" },
|
|
5587
|
+
{ name: "poolConfig", internalType: "bytes", type: "bytes" },
|
|
5588
|
+
{ name: "platformReferrer", internalType: "address", type: "address" },
|
|
5589
|
+
{ name: "coinSalt", internalType: "bytes32", type: "bytes32" }
|
|
5590
|
+
],
|
|
5591
|
+
name: "deployCreatorCoin",
|
|
5592
|
+
outputs: [{ name: "", internalType: "address", type: "address" }],
|
|
5593
|
+
stateMutability: "nonpayable"
|
|
5594
|
+
},
|
|
5476
5595
|
{
|
|
5477
5596
|
type: "function",
|
|
5478
5597
|
inputs: [
|
|
@@ -5681,6 +5800,76 @@ var devCoinFactoryABI = [
|
|
|
5681
5800
|
],
|
|
5682
5801
|
name: "CoinCreatedV4"
|
|
5683
5802
|
},
|
|
5803
|
+
{
|
|
5804
|
+
type: "event",
|
|
5805
|
+
anonymous: false,
|
|
5806
|
+
inputs: [
|
|
5807
|
+
{
|
|
5808
|
+
name: "caller",
|
|
5809
|
+
internalType: "address",
|
|
5810
|
+
type: "address",
|
|
5811
|
+
indexed: true
|
|
5812
|
+
},
|
|
5813
|
+
{
|
|
5814
|
+
name: "payoutRecipient",
|
|
5815
|
+
internalType: "address",
|
|
5816
|
+
type: "address",
|
|
5817
|
+
indexed: true
|
|
5818
|
+
},
|
|
5819
|
+
{
|
|
5820
|
+
name: "platformReferrer",
|
|
5821
|
+
internalType: "address",
|
|
5822
|
+
type: "address",
|
|
5823
|
+
indexed: true
|
|
5824
|
+
},
|
|
5825
|
+
{
|
|
5826
|
+
name: "currency",
|
|
5827
|
+
internalType: "address",
|
|
5828
|
+
type: "address",
|
|
5829
|
+
indexed: false
|
|
5830
|
+
},
|
|
5831
|
+
{ name: "uri", internalType: "string", type: "string", indexed: false },
|
|
5832
|
+
{ name: "name", internalType: "string", type: "string", indexed: false },
|
|
5833
|
+
{
|
|
5834
|
+
name: "symbol",
|
|
5835
|
+
internalType: "string",
|
|
5836
|
+
type: "string",
|
|
5837
|
+
indexed: false
|
|
5838
|
+
},
|
|
5839
|
+
{
|
|
5840
|
+
name: "coin",
|
|
5841
|
+
internalType: "address",
|
|
5842
|
+
type: "address",
|
|
5843
|
+
indexed: false
|
|
5844
|
+
},
|
|
5845
|
+
{
|
|
5846
|
+
name: "poolKey",
|
|
5847
|
+
internalType: "struct PoolKey",
|
|
5848
|
+
type: "tuple",
|
|
5849
|
+
components: [
|
|
5850
|
+
{ name: "currency0", internalType: "Currency", type: "address" },
|
|
5851
|
+
{ name: "currency1", internalType: "Currency", type: "address" },
|
|
5852
|
+
{ name: "fee", internalType: "uint24", type: "uint24" },
|
|
5853
|
+
{ name: "tickSpacing", internalType: "int24", type: "int24" },
|
|
5854
|
+
{ name: "hooks", internalType: "contract IHooks", type: "address" }
|
|
5855
|
+
],
|
|
5856
|
+
indexed: false
|
|
5857
|
+
},
|
|
5858
|
+
{
|
|
5859
|
+
name: "poolKeyHash",
|
|
5860
|
+
internalType: "bytes32",
|
|
5861
|
+
type: "bytes32",
|
|
5862
|
+
indexed: false
|
|
5863
|
+
},
|
|
5864
|
+
{
|
|
5865
|
+
name: "version",
|
|
5866
|
+
internalType: "string",
|
|
5867
|
+
type: "string",
|
|
5868
|
+
indexed: false
|
|
5869
|
+
}
|
|
5870
|
+
],
|
|
5871
|
+
name: "CreatorCoinCreated"
|
|
5872
|
+
},
|
|
5684
5873
|
{
|
|
5685
5874
|
type: "event",
|
|
5686
5875
|
anonymous: false,
|
|
@@ -5752,6 +5941,7 @@ var devCoinFactoryABI = [
|
|
|
5752
5941
|
{ type: "error", inputs: [], name: "ERC20TransferAmountMismatch" },
|
|
5753
5942
|
{ type: "error", inputs: [], name: "EthTransferInvalid" },
|
|
5754
5943
|
{ type: "error", inputs: [], name: "FailedInnerCall" },
|
|
5944
|
+
{ type: "error", inputs: [], name: "InvalidConfig" },
|
|
5755
5945
|
{ type: "error", inputs: [], name: "InvalidHook" },
|
|
5756
5946
|
{ type: "error", inputs: [], name: "InvalidInitialization" },
|
|
5757
5947
|
{ type: "error", inputs: [], name: "InvalidPoolVersion" },
|