@zoralabs/protocol-deployments 0.5.4 → 0.5.5-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.
@@ -1,3 +1,210 @@
1
+ /**
2
+ * [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x6B78be0808262b1d5E9B1eeDfE448aDCE2C637a8)
3
+ */
4
+ export declare const buySupplyWithSwapRouterHookABI: readonly [{
5
+ readonly type: "constructor";
6
+ readonly inputs: readonly [{
7
+ readonly name: "_factory";
8
+ readonly internalType: "contract IZoraFactory";
9
+ readonly type: "address";
10
+ }, {
11
+ readonly name: "_swapRouter";
12
+ readonly internalType: "address";
13
+ readonly type: "address";
14
+ }];
15
+ readonly stateMutability: "nonpayable";
16
+ }, {
17
+ readonly type: "function";
18
+ readonly inputs: readonly [{
19
+ readonly name: "sender";
20
+ readonly internalType: "address";
21
+ readonly type: "address";
22
+ }, {
23
+ readonly name: "coin";
24
+ readonly internalType: "contract ICoin";
25
+ readonly type: "address";
26
+ }, {
27
+ readonly name: "hookData";
28
+ readonly internalType: "bytes";
29
+ readonly type: "bytes";
30
+ }];
31
+ readonly name: "afterCoinDeploy";
32
+ readonly outputs: readonly [{
33
+ readonly name: "";
34
+ readonly internalType: "bytes";
35
+ readonly type: "bytes";
36
+ }];
37
+ readonly stateMutability: "payable";
38
+ }, {
39
+ readonly type: "function";
40
+ readonly inputs: readonly [];
41
+ readonly name: "factory";
42
+ readonly outputs: readonly [{
43
+ readonly name: "";
44
+ readonly internalType: "contract IZoraFactory";
45
+ readonly type: "address";
46
+ }];
47
+ readonly stateMutability: "view";
48
+ }, {
49
+ readonly type: "function";
50
+ readonly inputs: readonly [{
51
+ readonly name: "interfaceId";
52
+ readonly internalType: "bytes4";
53
+ readonly type: "bytes4";
54
+ }];
55
+ readonly name: "supportsInterface";
56
+ readonly outputs: readonly [{
57
+ readonly name: "";
58
+ readonly internalType: "bool";
59
+ readonly type: "bool";
60
+ }];
61
+ readonly stateMutability: "pure";
62
+ }, {
63
+ readonly type: "error";
64
+ readonly inputs: readonly [];
65
+ readonly name: "AddressZero";
66
+ }, {
67
+ readonly type: "error";
68
+ readonly inputs: readonly [{
69
+ readonly name: "balance";
70
+ readonly internalType: "uint256";
71
+ readonly type: "uint256";
72
+ }];
73
+ readonly name: "CoinBalanceNot0";
74
+ }, {
75
+ readonly type: "error";
76
+ readonly inputs: readonly [];
77
+ readonly name: "Erc20NotReceived";
78
+ }, {
79
+ readonly type: "error";
80
+ readonly inputs: readonly [];
81
+ readonly name: "HookNotImplemented";
82
+ }, {
83
+ readonly type: "error";
84
+ readonly inputs: readonly [];
85
+ readonly name: "InvalidSwapRouterCall";
86
+ }, {
87
+ readonly type: "error";
88
+ readonly inputs: readonly [];
89
+ readonly name: "NotFactory";
90
+ }, {
91
+ readonly type: "error";
92
+ readonly inputs: readonly [{
93
+ readonly name: "error";
94
+ readonly internalType: "bytes";
95
+ readonly type: "bytes";
96
+ }];
97
+ readonly name: "SwapReverted";
98
+ }];
99
+ /**
100
+ * [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x6B78be0808262b1d5E9B1eeDfE448aDCE2C637a8)
101
+ */
102
+ export declare const buySupplyWithSwapRouterHookAddress: {
103
+ readonly 84532: "0x6B78be0808262b1d5E9B1eeDfE448aDCE2C637a8";
104
+ };
105
+ /**
106
+ * [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x6B78be0808262b1d5E9B1eeDfE448aDCE2C637a8)
107
+ */
108
+ export declare const buySupplyWithSwapRouterHookConfig: {
109
+ readonly address: {
110
+ readonly 84532: "0x6B78be0808262b1d5E9B1eeDfE448aDCE2C637a8";
111
+ };
112
+ readonly abi: readonly [{
113
+ readonly type: "constructor";
114
+ readonly inputs: readonly [{
115
+ readonly name: "_factory";
116
+ readonly internalType: "contract IZoraFactory";
117
+ readonly type: "address";
118
+ }, {
119
+ readonly name: "_swapRouter";
120
+ readonly internalType: "address";
121
+ readonly type: "address";
122
+ }];
123
+ readonly stateMutability: "nonpayable";
124
+ }, {
125
+ readonly type: "function";
126
+ readonly inputs: readonly [{
127
+ readonly name: "sender";
128
+ readonly internalType: "address";
129
+ readonly type: "address";
130
+ }, {
131
+ readonly name: "coin";
132
+ readonly internalType: "contract ICoin";
133
+ readonly type: "address";
134
+ }, {
135
+ readonly name: "hookData";
136
+ readonly internalType: "bytes";
137
+ readonly type: "bytes";
138
+ }];
139
+ readonly name: "afterCoinDeploy";
140
+ readonly outputs: readonly [{
141
+ readonly name: "";
142
+ readonly internalType: "bytes";
143
+ readonly type: "bytes";
144
+ }];
145
+ readonly stateMutability: "payable";
146
+ }, {
147
+ readonly type: "function";
148
+ readonly inputs: readonly [];
149
+ readonly name: "factory";
150
+ readonly outputs: readonly [{
151
+ readonly name: "";
152
+ readonly internalType: "contract IZoraFactory";
153
+ readonly type: "address";
154
+ }];
155
+ readonly stateMutability: "view";
156
+ }, {
157
+ readonly type: "function";
158
+ readonly inputs: readonly [{
159
+ readonly name: "interfaceId";
160
+ readonly internalType: "bytes4";
161
+ readonly type: "bytes4";
162
+ }];
163
+ readonly name: "supportsInterface";
164
+ readonly outputs: readonly [{
165
+ readonly name: "";
166
+ readonly internalType: "bool";
167
+ readonly type: "bool";
168
+ }];
169
+ readonly stateMutability: "pure";
170
+ }, {
171
+ readonly type: "error";
172
+ readonly inputs: readonly [];
173
+ readonly name: "AddressZero";
174
+ }, {
175
+ readonly type: "error";
176
+ readonly inputs: readonly [{
177
+ readonly name: "balance";
178
+ readonly internalType: "uint256";
179
+ readonly type: "uint256";
180
+ }];
181
+ readonly name: "CoinBalanceNot0";
182
+ }, {
183
+ readonly type: "error";
184
+ readonly inputs: readonly [];
185
+ readonly name: "Erc20NotReceived";
186
+ }, {
187
+ readonly type: "error";
188
+ readonly inputs: readonly [];
189
+ readonly name: "HookNotImplemented";
190
+ }, {
191
+ readonly type: "error";
192
+ readonly inputs: readonly [];
193
+ readonly name: "InvalidSwapRouterCall";
194
+ }, {
195
+ readonly type: "error";
196
+ readonly inputs: readonly [];
197
+ readonly name: "NotFactory";
198
+ }, {
199
+ readonly type: "error";
200
+ readonly inputs: readonly [{
201
+ readonly name: "error";
202
+ readonly internalType: "bytes";
203
+ readonly type: "bytes";
204
+ }];
205
+ readonly name: "SwapReverted";
206
+ }];
207
+ };
1
208
  /**
2
209
  * - [__View Contract on Ethereum Etherscan__](https://etherscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
3
210
  * - [__View Contract on Op Mainnet Optimism Explorer__](https://optimistic.etherscan.io/address/0x77777775C5074b74540d9cC63Dd840A8c692B4B5)
@@ -4921,6 +5128,26 @@ export declare const coinFactoryABI: readonly [{
4921
5128
  readonly type: "address";
4922
5129
  }];
4923
5130
  readonly stateMutability: "view";
5131
+ }, {
5132
+ readonly type: "function";
5133
+ readonly inputs: readonly [];
5134
+ readonly name: "contractName";
5135
+ readonly outputs: readonly [{
5136
+ readonly name: "";
5137
+ readonly internalType: "string";
5138
+ readonly type: "string";
5139
+ }];
5140
+ readonly stateMutability: "pure";
5141
+ }, {
5142
+ readonly type: "function";
5143
+ readonly inputs: readonly [];
5144
+ readonly name: "contractVersion";
5145
+ readonly outputs: readonly [{
5146
+ readonly name: "";
5147
+ readonly internalType: "string";
5148
+ readonly type: "string";
5149
+ }];
5150
+ readonly stateMutability: "pure";
4924
5151
  }, {
4925
5152
  readonly type: "function";
4926
5153
  readonly inputs: readonly [{
@@ -5017,6 +5244,56 @@ export declare const coinFactoryABI: readonly [{
5017
5244
  readonly type: "uint256";
5018
5245
  }];
5019
5246
  readonly stateMutability: "payable";
5247
+ }, {
5248
+ readonly type: "function";
5249
+ readonly inputs: readonly [{
5250
+ readonly name: "payoutRecipient";
5251
+ readonly internalType: "address";
5252
+ readonly type: "address";
5253
+ }, {
5254
+ readonly name: "owners";
5255
+ readonly internalType: "address[]";
5256
+ readonly type: "address[]";
5257
+ }, {
5258
+ readonly name: "uri";
5259
+ readonly internalType: "string";
5260
+ readonly type: "string";
5261
+ }, {
5262
+ readonly name: "name";
5263
+ readonly internalType: "string";
5264
+ readonly type: "string";
5265
+ }, {
5266
+ readonly name: "symbol";
5267
+ readonly internalType: "string";
5268
+ readonly type: "string";
5269
+ }, {
5270
+ readonly name: "poolConfig";
5271
+ readonly internalType: "bytes";
5272
+ readonly type: "bytes";
5273
+ }, {
5274
+ readonly name: "platformReferrer";
5275
+ readonly internalType: "address";
5276
+ readonly type: "address";
5277
+ }, {
5278
+ readonly name: "hook";
5279
+ readonly internalType: "address";
5280
+ readonly type: "address";
5281
+ }, {
5282
+ readonly name: "hookData";
5283
+ readonly internalType: "bytes";
5284
+ readonly type: "bytes";
5285
+ }];
5286
+ readonly name: "deployWithHook";
5287
+ readonly outputs: readonly [{
5288
+ readonly name: "coin";
5289
+ readonly internalType: "address";
5290
+ readonly type: "address";
5291
+ }, {
5292
+ readonly name: "hookDataOut";
5293
+ readonly internalType: "bytes";
5294
+ readonly type: "bytes";
5295
+ }];
5296
+ readonly stateMutability: "payable";
5020
5297
  }, {
5021
5298
  readonly type: "function";
5022
5299
  readonly inputs: readonly [];
@@ -5221,6 +5498,10 @@ export declare const coinFactoryABI: readonly [{
5221
5498
  readonly type: "error";
5222
5499
  readonly inputs: readonly [];
5223
5500
  readonly name: "FailedInnerCall";
5501
+ }, {
5502
+ readonly type: "error";
5503
+ readonly inputs: readonly [];
5504
+ readonly name: "InvalidHook";
5224
5505
  }, {
5225
5506
  readonly type: "error";
5226
5507
  readonly inputs: readonly [];
@@ -5269,6 +5550,18 @@ export declare const coinFactoryABI: readonly [{
5269
5550
  readonly type: "bytes32";
5270
5551
  }];
5271
5552
  readonly name: "UUPSUnsupportedProxiableUUID";
5553
+ }, {
5554
+ readonly type: "error";
5555
+ readonly inputs: readonly [{
5556
+ readonly name: "currentName";
5557
+ readonly internalType: "string";
5558
+ readonly type: "string";
5559
+ }, {
5560
+ readonly name: "newName";
5561
+ readonly internalType: "string";
5562
+ readonly type: "string";
5563
+ }];
5564
+ readonly name: "UpgradeToMismatchedContractName";
5272
5565
  }];
5273
5566
  /**
5274
5567
  * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
@@ -5315,6 +5608,26 @@ export declare const coinFactoryConfig: {
5315
5608
  readonly type: "address";
5316
5609
  }];
5317
5610
  readonly stateMutability: "view";
5611
+ }, {
5612
+ readonly type: "function";
5613
+ readonly inputs: readonly [];
5614
+ readonly name: "contractName";
5615
+ readonly outputs: readonly [{
5616
+ readonly name: "";
5617
+ readonly internalType: "string";
5618
+ readonly type: "string";
5619
+ }];
5620
+ readonly stateMutability: "pure";
5621
+ }, {
5622
+ readonly type: "function";
5623
+ readonly inputs: readonly [];
5624
+ readonly name: "contractVersion";
5625
+ readonly outputs: readonly [{
5626
+ readonly name: "";
5627
+ readonly internalType: "string";
5628
+ readonly type: "string";
5629
+ }];
5630
+ readonly stateMutability: "pure";
5318
5631
  }, {
5319
5632
  readonly type: "function";
5320
5633
  readonly inputs: readonly [{
@@ -5411,6 +5724,56 @@ export declare const coinFactoryConfig: {
5411
5724
  readonly type: "uint256";
5412
5725
  }];
5413
5726
  readonly stateMutability: "payable";
5727
+ }, {
5728
+ readonly type: "function";
5729
+ readonly inputs: readonly [{
5730
+ readonly name: "payoutRecipient";
5731
+ readonly internalType: "address";
5732
+ readonly type: "address";
5733
+ }, {
5734
+ readonly name: "owners";
5735
+ readonly internalType: "address[]";
5736
+ readonly type: "address[]";
5737
+ }, {
5738
+ readonly name: "uri";
5739
+ readonly internalType: "string";
5740
+ readonly type: "string";
5741
+ }, {
5742
+ readonly name: "name";
5743
+ readonly internalType: "string";
5744
+ readonly type: "string";
5745
+ }, {
5746
+ readonly name: "symbol";
5747
+ readonly internalType: "string";
5748
+ readonly type: "string";
5749
+ }, {
5750
+ readonly name: "poolConfig";
5751
+ readonly internalType: "bytes";
5752
+ readonly type: "bytes";
5753
+ }, {
5754
+ readonly name: "platformReferrer";
5755
+ readonly internalType: "address";
5756
+ readonly type: "address";
5757
+ }, {
5758
+ readonly name: "hook";
5759
+ readonly internalType: "address";
5760
+ readonly type: "address";
5761
+ }, {
5762
+ readonly name: "hookData";
5763
+ readonly internalType: "bytes";
5764
+ readonly type: "bytes";
5765
+ }];
5766
+ readonly name: "deployWithHook";
5767
+ readonly outputs: readonly [{
5768
+ readonly name: "coin";
5769
+ readonly internalType: "address";
5770
+ readonly type: "address";
5771
+ }, {
5772
+ readonly name: "hookDataOut";
5773
+ readonly internalType: "bytes";
5774
+ readonly type: "bytes";
5775
+ }];
5776
+ readonly stateMutability: "payable";
5414
5777
  }, {
5415
5778
  readonly type: "function";
5416
5779
  readonly inputs: readonly [];
@@ -5615,6 +5978,10 @@ export declare const coinFactoryConfig: {
5615
5978
  readonly type: "error";
5616
5979
  readonly inputs: readonly [];
5617
5980
  readonly name: "FailedInnerCall";
5981
+ }, {
5982
+ readonly type: "error";
5983
+ readonly inputs: readonly [];
5984
+ readonly name: "InvalidHook";
5618
5985
  }, {
5619
5986
  readonly type: "error";
5620
5987
  readonly inputs: readonly [];
@@ -5663,6 +6030,18 @@ export declare const coinFactoryConfig: {
5663
6030
  readonly type: "bytes32";
5664
6031
  }];
5665
6032
  readonly name: "UUPSUnsupportedProxiableUUID";
6033
+ }, {
6034
+ readonly type: "error";
6035
+ readonly inputs: readonly [{
6036
+ readonly name: "currentName";
6037
+ readonly internalType: "string";
6038
+ readonly type: "string";
6039
+ }, {
6040
+ readonly name: "newName";
6041
+ readonly internalType: "string";
6042
+ readonly type: "string";
6043
+ }];
6044
+ readonly name: "UpgradeToMismatchedContractName";
5666
6045
  }];
5667
6046
  };
5668
6047
  export declare const cointagABI: readonly [{
@@ -17019,6 +17398,37 @@ export declare const sponsoredSparksSpenderConfig: {
17019
17398
  * - [__View Contract on Zora Sepolia Zora Sepolia Explorer__](https://sepolia.explorer.zora.energy//address/0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a)
17020
17399
  */
17021
17400
  export declare const uniswapV3SwapRouterABI: readonly [{
17401
+ readonly type: "function";
17402
+ readonly inputs: readonly [{
17403
+ readonly name: "params";
17404
+ readonly internalType: "struct ISwapRouter.ExactInputParams";
17405
+ readonly type: "tuple";
17406
+ readonly components: readonly [{
17407
+ readonly name: "path";
17408
+ readonly internalType: "bytes";
17409
+ readonly type: "bytes";
17410
+ }, {
17411
+ readonly name: "recipient";
17412
+ readonly internalType: "address";
17413
+ readonly type: "address";
17414
+ }, {
17415
+ readonly name: "amountIn";
17416
+ readonly internalType: "uint256";
17417
+ readonly type: "uint256";
17418
+ }, {
17419
+ readonly name: "amountOutMinimum";
17420
+ readonly internalType: "uint256";
17421
+ readonly type: "uint256";
17422
+ }];
17423
+ }];
17424
+ readonly name: "exactInput";
17425
+ readonly outputs: readonly [{
17426
+ readonly name: "amountOut";
17427
+ readonly internalType: "uint256";
17428
+ readonly type: "uint256";
17429
+ }];
17430
+ readonly stateMutability: "payable";
17431
+ }, {
17022
17432
  readonly type: "function";
17023
17433
  readonly inputs: readonly [{
17024
17434
  readonly name: "params";
@@ -17061,6 +17471,37 @@ export declare const uniswapV3SwapRouterABI: readonly [{
17061
17471
  readonly type: "uint256";
17062
17472
  }];
17063
17473
  readonly stateMutability: "payable";
17474
+ }, {
17475
+ readonly type: "function";
17476
+ readonly inputs: readonly [{
17477
+ readonly name: "params";
17478
+ readonly internalType: "struct ISwapRouter.ExactOutputParams";
17479
+ readonly type: "tuple";
17480
+ readonly components: readonly [{
17481
+ readonly name: "path";
17482
+ readonly internalType: "bytes";
17483
+ readonly type: "bytes";
17484
+ }, {
17485
+ readonly name: "recipient";
17486
+ readonly internalType: "address";
17487
+ readonly type: "address";
17488
+ }, {
17489
+ readonly name: "amountOut";
17490
+ readonly internalType: "uint256";
17491
+ readonly type: "uint256";
17492
+ }, {
17493
+ readonly name: "amountInMaximum";
17494
+ readonly internalType: "uint256";
17495
+ readonly type: "uint256";
17496
+ }];
17497
+ }];
17498
+ readonly name: "exactOutput";
17499
+ readonly outputs: readonly [{
17500
+ readonly name: "amountIn";
17501
+ readonly internalType: "uint256";
17502
+ readonly type: "uint256";
17503
+ }];
17504
+ readonly stateMutability: "payable";
17064
17505
  }, {
17065
17506
  readonly type: "function";
17066
17507
  readonly inputs: readonly [{
@@ -17177,6 +17618,37 @@ export declare const uniswapV3SwapRouterConfig: {
17177
17618
  readonly 999999999: "0x6B36d761981d82B1e07cF3c4daF4cB4615c4850a";
17178
17619
  };
17179
17620
  readonly abi: readonly [{
17621
+ readonly type: "function";
17622
+ readonly inputs: readonly [{
17623
+ readonly name: "params";
17624
+ readonly internalType: "struct ISwapRouter.ExactInputParams";
17625
+ readonly type: "tuple";
17626
+ readonly components: readonly [{
17627
+ readonly name: "path";
17628
+ readonly internalType: "bytes";
17629
+ readonly type: "bytes";
17630
+ }, {
17631
+ readonly name: "recipient";
17632
+ readonly internalType: "address";
17633
+ readonly type: "address";
17634
+ }, {
17635
+ readonly name: "amountIn";
17636
+ readonly internalType: "uint256";
17637
+ readonly type: "uint256";
17638
+ }, {
17639
+ readonly name: "amountOutMinimum";
17640
+ readonly internalType: "uint256";
17641
+ readonly type: "uint256";
17642
+ }];
17643
+ }];
17644
+ readonly name: "exactInput";
17645
+ readonly outputs: readonly [{
17646
+ readonly name: "amountOut";
17647
+ readonly internalType: "uint256";
17648
+ readonly type: "uint256";
17649
+ }];
17650
+ readonly stateMutability: "payable";
17651
+ }, {
17180
17652
  readonly type: "function";
17181
17653
  readonly inputs: readonly [{
17182
17654
  readonly name: "params";
@@ -17219,6 +17691,37 @@ export declare const uniswapV3SwapRouterConfig: {
17219
17691
  readonly type: "uint256";
17220
17692
  }];
17221
17693
  readonly stateMutability: "payable";
17694
+ }, {
17695
+ readonly type: "function";
17696
+ readonly inputs: readonly [{
17697
+ readonly name: "params";
17698
+ readonly internalType: "struct ISwapRouter.ExactOutputParams";
17699
+ readonly type: "tuple";
17700
+ readonly components: readonly [{
17701
+ readonly name: "path";
17702
+ readonly internalType: "bytes";
17703
+ readonly type: "bytes";
17704
+ }, {
17705
+ readonly name: "recipient";
17706
+ readonly internalType: "address";
17707
+ readonly type: "address";
17708
+ }, {
17709
+ readonly name: "amountOut";
17710
+ readonly internalType: "uint256";
17711
+ readonly type: "uint256";
17712
+ }, {
17713
+ readonly name: "amountInMaximum";
17714
+ readonly internalType: "uint256";
17715
+ readonly type: "uint256";
17716
+ }];
17717
+ }];
17718
+ readonly name: "exactOutput";
17719
+ readonly outputs: readonly [{
17720
+ readonly name: "amountIn";
17721
+ readonly internalType: "uint256";
17722
+ readonly type: "uint256";
17723
+ }];
17724
+ readonly stateMutability: "payable";
17222
17725
  }, {
17223
17726
  readonly type: "function";
17224
17727
  readonly inputs: readonly [{