@zoralabs/protocol-deployments 0.5.8 → 0.5.10

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,47 +1,46 @@
1
-
2
- 
3
- > @zoralabs/protocol-deployments@0.5.5 build /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
4
- > pnpm bundle-configs && pnpm copy-generated && tsup
5
-
6
-
7
- > @zoralabs/protocol-deployments@0.5.5 bundle-configs /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
8
- > tsx scripts/bundle-configs.ts && pnpm prettier:write
9
-
10
-
11
- > @zoralabs/protocol-deployments@0.5.5 prettier:write /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
12
- > prettier --write 'src/**/*.ts' 'scripts/*'
13
-
14
- src/encoding.tssrc/encoding.ts 55ms (unchanged)
15
- src/index.tssrc/index.ts 2ms (unchanged)
16
- src/typedData.tssrc/typedData.ts 47ms (unchanged)
17
- src/types.tssrc/types.ts 12ms (unchanged)
18
- scripts/bundle-chainConfigs.tsscripts/bundle-chainConfigs.ts 5ms (unchanged)
19
- scripts/bundle-configs.tsscripts/bundle-configs.ts 9ms (unchanged)
20
-
21
- > @zoralabs/protocol-deployments@0.5.5 copy-generated /Users/danovedzora/source/zora-protocol/packages/protocol-deployments
22
- > cp ../protocol-deployments-gen/generated/wagmi.ts src/generated/wagmi.ts
23
-
24
- CLI Building entry: src/index.ts
25
- CLI Using tsconfig: tsconfig.json
26
- CLI tsup v8.4.0
27
- CLI Using tsup config: /Users/danovedzora/source/zora-protocol/packages/protocol-deployments/tsup.config.ts
28
- CLI Target: es2021
29
- CLI Cleaning output folder
30
- CJS Build start
31
- ESM Build start
32
- ESM dist/ccip-C5WONSSK.js 290.00 B
33
- ESM dist/chunk-PR4QN5HX.js 1.87 KB
34
- ESM dist/secp256k1-QZA5SALG.js 80.13 KB
35
- ESM dist/_esm-AN6HMJZC.js 132.93 KB
36
- ESM dist/index.js 509.70 KB
37
- ESM dist/chunk-NPNNGXR4.js 136.42 KB
38
- ESM dist/chunk-PR4QN5HX.js.map 71.00 B
39
- ESM dist/ccip-C5WONSSK.js.map 71.00 B
40
- ESM dist/secp256k1-QZA5SALG.js.map 203.10 KB
41
- ESM dist/_esm-AN6HMJZC.js.map 212.33 KB
42
- ESM dist/chunk-NPNNGXR4.js.map 393.76 KB
43
- ESM dist/index.js.map 991.48 KB
44
- ESM ⚡️ Build success in 184ms
45
- CJS dist/index.cjs 594.54 KB
46
- CJS dist/index.cjs.map 1.21 MB
47
- CJS ⚡️ Build success in 184ms
1
+
2
+ > @zoralabs/protocol-deployments@0.5.10 build /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
3
+ > pnpm bundle-configs && pnpm copy-generated && tsup
4
+
5
+
6
+ > @zoralabs/protocol-deployments@0.5.10 bundle-configs /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
7
+ > tsx scripts/bundle-configs.ts && pnpm prettier:write
8
+
9
+
10
+ > @zoralabs/protocol-deployments@0.5.10 prettier:write /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
11
+ > prettier --write 'src/**/*.ts' 'scripts/*'
12
+
13
+ src/encoding.ts 95ms (unchanged)
14
+ src/index.ts 3ms (unchanged)
15
+ src/typedData.ts 153ms (unchanged)
16
+ src/types.ts 48ms (unchanged)
17
+ scripts/bundle-chainConfigs.ts 12ms (unchanged)
18
+ scripts/bundle-configs.ts 36ms (unchanged)
19
+
20
+ > @zoralabs/protocol-deployments@0.5.10 copy-generated /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
21
+ > cp ../protocol-deployments-gen/generated/wagmi.ts src/generated/wagmi.ts
22
+
23
+ CLI Building entry: src/index.ts
24
+ CLI Using tsconfig: tsconfig.json
25
+ CLI tsup v8.4.0
26
+ CLI Using tsup config: /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments/tsup.config.ts
27
+ CLI Target: es2021
28
+ CLI Cleaning output folder
29
+ CJS Build start
30
+ ESM Build start
31
+ CJS dist/index.cjs 623.56 KB
32
+ CJS dist/index.cjs.map 1.26 MB
33
+ CJS ⚡️ Build success in 770ms
34
+ ESM dist/secp256k1-QZA5SALG.js 80.13 KB
35
+ ESM dist/ccip-C5WONSSK.js 290.00 B
36
+ ESM dist/chunk-NPNNGXR4.js 136.42 KB
37
+ ESM dist/_esm-AN6HMJZC.js 132.93 KB
38
+ ESM dist/chunk-PR4QN5HX.js 1.87 KB
39
+ ESM dist/index.js 538.45 KB
40
+ ESM dist/secp256k1-QZA5SALG.js.map 203.10 KB
41
+ ESM dist/ccip-C5WONSSK.js.map 71.00 B
42
+ ESM dist/chunk-NPNNGXR4.js.map 393.76 KB
43
+ ESM dist/chunk-PR4QN5HX.js.map 71.00 B
44
+ ESM dist/_esm-AN6HMJZC.js.map 212.33 KB
45
+ ESM dist/index.js.map 1.02 MB
46
+ ESM ⚡️ Build success in 772ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @zoralabs/protocol-deployments
2
2
 
3
+ ## 0.5.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 8cd56863: BuySupplyWithSwapRouterHook supports v4 coins
8
+
3
9
  ## 0.5.6
4
10
 
5
11
  ### Patch Changes
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2023 Zora Labs
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -62,7 +62,7 @@ export declare const encodeBuySupplyWithSingleHopSwapRouterHookCall: ({ buyRecip
62
62
  chainId: keyof typeof buySupplyWithSwapRouterHookAddress;
63
63
  ethValue?: bigint;
64
64
  }) => {
65
- hook: "0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed" | "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
65
+ hook: "0xd77038a7f400E8242d2916f7EB5741e689d4aE25" | "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
66
66
  hookData: `0x${string}`;
67
67
  value: bigint | undefined;
68
68
  };
@@ -82,7 +82,7 @@ export declare const encodeBuySupplyWithMultiHopSwapRouterHookCall: ({ buyRecipi
82
82
  chainId: keyof typeof buySupplyWithSwapRouterHookAddress;
83
83
  ethValue?: bigint;
84
84
  }) => {
85
- hook: "0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed" | "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
85
+ hook: "0xd77038a7f400E8242d2916f7EB5741e689d4aE25" | "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
86
86
  hookData: `0x${string}`;
87
87
  value: bigint | undefined;
88
88
  };
@@ -1,5 +1,5 @@
1
1
  /**
2
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed)
2
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
3
3
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
4
4
  */
5
5
  export declare const buySupplyWithSwapRouterHookABI: readonly [{
@@ -12,6 +12,10 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
12
12
  readonly name: "_swapRouter";
13
13
  readonly internalType: "address";
14
14
  readonly type: "address";
15
+ }, {
16
+ readonly name: "_poolManager";
17
+ readonly internalType: "address";
18
+ readonly type: "address";
15
19
  }];
16
20
  readonly stateMutability: "nonpayable";
17
21
  }, {
@@ -60,6 +64,20 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
60
64
  readonly type: "bool";
61
65
  }];
62
66
  readonly stateMutability: "pure";
67
+ }, {
68
+ readonly type: "function";
69
+ readonly inputs: readonly [{
70
+ readonly name: "data";
71
+ readonly internalType: "bytes";
72
+ readonly type: "bytes";
73
+ }];
74
+ readonly name: "unlockCallback";
75
+ readonly outputs: readonly [{
76
+ readonly name: "";
77
+ readonly internalType: "bytes";
78
+ readonly type: "bytes";
79
+ }];
80
+ readonly stateMutability: "nonpayable";
63
81
  }, {
64
82
  readonly type: "error";
65
83
  readonly inputs: readonly [];
@@ -72,6 +90,14 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
72
90
  readonly type: "uint256";
73
91
  }];
74
92
  readonly name: "CoinBalanceNot0";
93
+ }, {
94
+ readonly type: "error";
95
+ readonly inputs: readonly [{
96
+ readonly name: "balance";
97
+ readonly internalType: "uint256";
98
+ readonly type: "uint256";
99
+ }];
100
+ readonly name: "CurrencyBalanceNot0";
75
101
  }, {
76
102
  readonly type: "error";
77
103
  readonly inputs: readonly [];
@@ -88,6 +114,10 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
88
114
  readonly type: "error";
89
115
  readonly inputs: readonly [];
90
116
  readonly name: "NotFactory";
117
+ }, {
118
+ readonly type: "error";
119
+ readonly inputs: readonly [];
120
+ readonly name: "OnlyPoolManager";
91
121
  }, {
92
122
  readonly type: "error";
93
123
  readonly inputs: readonly [{
@@ -98,20 +128,20 @@ export declare const buySupplyWithSwapRouterHookABI: readonly [{
98
128
  readonly name: "SwapReverted";
99
129
  }];
100
130
  /**
101
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed)
131
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
102
132
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
103
133
  */
104
134
  export declare const buySupplyWithSwapRouterHookAddress: {
105
- readonly 8453: "0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed";
135
+ readonly 8453: "0xd77038a7f400E8242d2916f7EB5741e689d4aE25";
106
136
  readonly 84532: "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
107
137
  };
108
138
  /**
109
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed)
139
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0xd77038a7f400E8242d2916f7EB5741e689d4aE25)
110
140
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE)
111
141
  */
112
142
  export declare const buySupplyWithSwapRouterHookConfig: {
113
143
  readonly address: {
114
- readonly 8453: "0x98fbEab71999b9777fE14E9Eb20832570c7fE1ed";
144
+ readonly 8453: "0xd77038a7f400E8242d2916f7EB5741e689d4aE25";
115
145
  readonly 84532: "0xE4Ec8cE893Cd41965b1aE27F1ad9798F207427aE";
116
146
  };
117
147
  readonly abi: readonly [{
@@ -124,6 +154,10 @@ export declare const buySupplyWithSwapRouterHookConfig: {
124
154
  readonly name: "_swapRouter";
125
155
  readonly internalType: "address";
126
156
  readonly type: "address";
157
+ }, {
158
+ readonly name: "_poolManager";
159
+ readonly internalType: "address";
160
+ readonly type: "address";
127
161
  }];
128
162
  readonly stateMutability: "nonpayable";
129
163
  }, {
@@ -172,6 +206,20 @@ export declare const buySupplyWithSwapRouterHookConfig: {
172
206
  readonly type: "bool";
173
207
  }];
174
208
  readonly stateMutability: "pure";
209
+ }, {
210
+ readonly type: "function";
211
+ readonly inputs: readonly [{
212
+ readonly name: "data";
213
+ readonly internalType: "bytes";
214
+ readonly type: "bytes";
215
+ }];
216
+ readonly name: "unlockCallback";
217
+ readonly outputs: readonly [{
218
+ readonly name: "";
219
+ readonly internalType: "bytes";
220
+ readonly type: "bytes";
221
+ }];
222
+ readonly stateMutability: "nonpayable";
175
223
  }, {
176
224
  readonly type: "error";
177
225
  readonly inputs: readonly [];
@@ -184,6 +232,14 @@ export declare const buySupplyWithSwapRouterHookConfig: {
184
232
  readonly type: "uint256";
185
233
  }];
186
234
  readonly name: "CoinBalanceNot0";
235
+ }, {
236
+ readonly type: "error";
237
+ readonly inputs: readonly [{
238
+ readonly name: "balance";
239
+ readonly internalType: "uint256";
240
+ readonly type: "uint256";
241
+ }];
242
+ readonly name: "CurrencyBalanceNot0";
187
243
  }, {
188
244
  readonly type: "error";
189
245
  readonly inputs: readonly [];
@@ -200,6 +256,10 @@ export declare const buySupplyWithSwapRouterHookConfig: {
200
256
  readonly type: "error";
201
257
  readonly inputs: readonly [];
202
258
  readonly name: "NotFactory";
259
+ }, {
260
+ readonly type: "error";
261
+ readonly inputs: readonly [];
262
+ readonly name: "OnlyPoolManager";
203
263
  }, {
204
264
  readonly type: "error";
205
265
  readonly inputs: readonly [{
@@ -3928,7 +3988,7 @@ export declare const coinABI: readonly [{
3928
3988
  }, {
3929
3989
  readonly type: "function";
3930
3990
  readonly inputs: readonly [];
3931
- readonly name: "doppler";
3991
+ readonly name: "dopplerFeeRecipient";
3932
3992
  readonly outputs: readonly [{
3933
3993
  readonly name: "";
3934
3994
  readonly internalType: "address";
@@ -6795,7 +6855,7 @@ export declare const coinV4ABI: readonly [{
6795
6855
  }, {
6796
6856
  readonly type: "function";
6797
6857
  readonly inputs: readonly [];
6798
- readonly name: "doppler";
6858
+ readonly name: "dopplerFeeRecipient";
6799
6859
  readonly outputs: readonly [{
6800
6860
  readonly name: "";
6801
6861
  readonly internalType: "address";
@@ -12287,6 +12347,273 @@ export declare const commentsConfig: {
12287
12347
  readonly name: "UpgradeToMismatchedContractName";
12288
12348
  }];
12289
12349
  };
12350
+ /**
12351
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x0a747629609b22E348d0ea9865fC2A5a04ED945d)
12352
+ */
12353
+ export declare const devBuySupplyWithSwapRouterHookABI: readonly [{
12354
+ readonly type: "constructor";
12355
+ readonly inputs: readonly [{
12356
+ readonly name: "_factory";
12357
+ readonly internalType: "contract IZoraFactory";
12358
+ readonly type: "address";
12359
+ }, {
12360
+ readonly name: "_swapRouter";
12361
+ readonly internalType: "address";
12362
+ readonly type: "address";
12363
+ }, {
12364
+ readonly name: "_poolManager";
12365
+ readonly internalType: "address";
12366
+ readonly type: "address";
12367
+ }];
12368
+ readonly stateMutability: "nonpayable";
12369
+ }, {
12370
+ readonly type: "function";
12371
+ readonly inputs: readonly [{
12372
+ readonly name: "sender";
12373
+ readonly internalType: "address";
12374
+ readonly type: "address";
12375
+ }, {
12376
+ readonly name: "coin";
12377
+ readonly internalType: "contract ICoin";
12378
+ readonly type: "address";
12379
+ }, {
12380
+ readonly name: "hookData";
12381
+ readonly internalType: "bytes";
12382
+ readonly type: "bytes";
12383
+ }];
12384
+ readonly name: "afterCoinDeploy";
12385
+ readonly outputs: readonly [{
12386
+ readonly name: "";
12387
+ readonly internalType: "bytes";
12388
+ readonly type: "bytes";
12389
+ }];
12390
+ readonly stateMutability: "payable";
12391
+ }, {
12392
+ readonly type: "function";
12393
+ readonly inputs: readonly [];
12394
+ readonly name: "factory";
12395
+ readonly outputs: readonly [{
12396
+ readonly name: "";
12397
+ readonly internalType: "contract IZoraFactory";
12398
+ readonly type: "address";
12399
+ }];
12400
+ readonly stateMutability: "view";
12401
+ }, {
12402
+ readonly type: "function";
12403
+ readonly inputs: readonly [{
12404
+ readonly name: "interfaceId";
12405
+ readonly internalType: "bytes4";
12406
+ readonly type: "bytes4";
12407
+ }];
12408
+ readonly name: "supportsInterface";
12409
+ readonly outputs: readonly [{
12410
+ readonly name: "";
12411
+ readonly internalType: "bool";
12412
+ readonly type: "bool";
12413
+ }];
12414
+ readonly stateMutability: "pure";
12415
+ }, {
12416
+ readonly type: "function";
12417
+ readonly inputs: readonly [{
12418
+ readonly name: "data";
12419
+ readonly internalType: "bytes";
12420
+ readonly type: "bytes";
12421
+ }];
12422
+ readonly name: "unlockCallback";
12423
+ readonly outputs: readonly [{
12424
+ readonly name: "";
12425
+ readonly internalType: "bytes";
12426
+ readonly type: "bytes";
12427
+ }];
12428
+ readonly stateMutability: "nonpayable";
12429
+ }, {
12430
+ readonly type: "error";
12431
+ readonly inputs: readonly [];
12432
+ readonly name: "AddressZero";
12433
+ }, {
12434
+ readonly type: "error";
12435
+ readonly inputs: readonly [{
12436
+ readonly name: "balance";
12437
+ readonly internalType: "uint256";
12438
+ readonly type: "uint256";
12439
+ }];
12440
+ readonly name: "CoinBalanceNot0";
12441
+ }, {
12442
+ readonly type: "error";
12443
+ readonly inputs: readonly [{
12444
+ readonly name: "balance";
12445
+ readonly internalType: "uint256";
12446
+ readonly type: "uint256";
12447
+ }];
12448
+ readonly name: "CurrencyBalanceNot0";
12449
+ }, {
12450
+ readonly type: "error";
12451
+ readonly inputs: readonly [];
12452
+ readonly name: "Erc20NotReceived";
12453
+ }, {
12454
+ readonly type: "error";
12455
+ readonly inputs: readonly [];
12456
+ readonly name: "HookNotImplemented";
12457
+ }, {
12458
+ readonly type: "error";
12459
+ readonly inputs: readonly [];
12460
+ readonly name: "InvalidSwapRouterCall";
12461
+ }, {
12462
+ readonly type: "error";
12463
+ readonly inputs: readonly [];
12464
+ readonly name: "NotFactory";
12465
+ }, {
12466
+ readonly type: "error";
12467
+ readonly inputs: readonly [];
12468
+ readonly name: "OnlyPoolManager";
12469
+ }, {
12470
+ readonly type: "error";
12471
+ readonly inputs: readonly [{
12472
+ readonly name: "error";
12473
+ readonly internalType: "bytes";
12474
+ readonly type: "bytes";
12475
+ }];
12476
+ readonly name: "SwapReverted";
12477
+ }];
12478
+ /**
12479
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x0a747629609b22E348d0ea9865fC2A5a04ED945d)
12480
+ */
12481
+ export declare const devBuySupplyWithSwapRouterHookAddress: {
12482
+ readonly 8453: "0x0a747629609b22E348d0ea9865fC2A5a04ED945d";
12483
+ };
12484
+ /**
12485
+ * [__View Contract on Base Basescan__](https://basescan.org/address/0x0a747629609b22E348d0ea9865fC2A5a04ED945d)
12486
+ */
12487
+ export declare const devBuySupplyWithSwapRouterHookConfig: {
12488
+ readonly address: {
12489
+ readonly 8453: "0x0a747629609b22E348d0ea9865fC2A5a04ED945d";
12490
+ };
12491
+ readonly abi: readonly [{
12492
+ readonly type: "constructor";
12493
+ readonly inputs: readonly [{
12494
+ readonly name: "_factory";
12495
+ readonly internalType: "contract IZoraFactory";
12496
+ readonly type: "address";
12497
+ }, {
12498
+ readonly name: "_swapRouter";
12499
+ readonly internalType: "address";
12500
+ readonly type: "address";
12501
+ }, {
12502
+ readonly name: "_poolManager";
12503
+ readonly internalType: "address";
12504
+ readonly type: "address";
12505
+ }];
12506
+ readonly stateMutability: "nonpayable";
12507
+ }, {
12508
+ readonly type: "function";
12509
+ readonly inputs: readonly [{
12510
+ readonly name: "sender";
12511
+ readonly internalType: "address";
12512
+ readonly type: "address";
12513
+ }, {
12514
+ readonly name: "coin";
12515
+ readonly internalType: "contract ICoin";
12516
+ readonly type: "address";
12517
+ }, {
12518
+ readonly name: "hookData";
12519
+ readonly internalType: "bytes";
12520
+ readonly type: "bytes";
12521
+ }];
12522
+ readonly name: "afterCoinDeploy";
12523
+ readonly outputs: readonly [{
12524
+ readonly name: "";
12525
+ readonly internalType: "bytes";
12526
+ readonly type: "bytes";
12527
+ }];
12528
+ readonly stateMutability: "payable";
12529
+ }, {
12530
+ readonly type: "function";
12531
+ readonly inputs: readonly [];
12532
+ readonly name: "factory";
12533
+ readonly outputs: readonly [{
12534
+ readonly name: "";
12535
+ readonly internalType: "contract IZoraFactory";
12536
+ readonly type: "address";
12537
+ }];
12538
+ readonly stateMutability: "view";
12539
+ }, {
12540
+ readonly type: "function";
12541
+ readonly inputs: readonly [{
12542
+ readonly name: "interfaceId";
12543
+ readonly internalType: "bytes4";
12544
+ readonly type: "bytes4";
12545
+ }];
12546
+ readonly name: "supportsInterface";
12547
+ readonly outputs: readonly [{
12548
+ readonly name: "";
12549
+ readonly internalType: "bool";
12550
+ readonly type: "bool";
12551
+ }];
12552
+ readonly stateMutability: "pure";
12553
+ }, {
12554
+ readonly type: "function";
12555
+ readonly inputs: readonly [{
12556
+ readonly name: "data";
12557
+ readonly internalType: "bytes";
12558
+ readonly type: "bytes";
12559
+ }];
12560
+ readonly name: "unlockCallback";
12561
+ readonly outputs: readonly [{
12562
+ readonly name: "";
12563
+ readonly internalType: "bytes";
12564
+ readonly type: "bytes";
12565
+ }];
12566
+ readonly stateMutability: "nonpayable";
12567
+ }, {
12568
+ readonly type: "error";
12569
+ readonly inputs: readonly [];
12570
+ readonly name: "AddressZero";
12571
+ }, {
12572
+ readonly type: "error";
12573
+ readonly inputs: readonly [{
12574
+ readonly name: "balance";
12575
+ readonly internalType: "uint256";
12576
+ readonly type: "uint256";
12577
+ }];
12578
+ readonly name: "CoinBalanceNot0";
12579
+ }, {
12580
+ readonly type: "error";
12581
+ readonly inputs: readonly [{
12582
+ readonly name: "balance";
12583
+ readonly internalType: "uint256";
12584
+ readonly type: "uint256";
12585
+ }];
12586
+ readonly name: "CurrencyBalanceNot0";
12587
+ }, {
12588
+ readonly type: "error";
12589
+ readonly inputs: readonly [];
12590
+ readonly name: "Erc20NotReceived";
12591
+ }, {
12592
+ readonly type: "error";
12593
+ readonly inputs: readonly [];
12594
+ readonly name: "HookNotImplemented";
12595
+ }, {
12596
+ readonly type: "error";
12597
+ readonly inputs: readonly [];
12598
+ readonly name: "InvalidSwapRouterCall";
12599
+ }, {
12600
+ readonly type: "error";
12601
+ readonly inputs: readonly [];
12602
+ readonly name: "NotFactory";
12603
+ }, {
12604
+ readonly type: "error";
12605
+ readonly inputs: readonly [];
12606
+ readonly name: "OnlyPoolManager";
12607
+ }, {
12608
+ readonly type: "error";
12609
+ readonly inputs: readonly [{
12610
+ readonly name: "error";
12611
+ readonly internalType: "bytes";
12612
+ readonly type: "bytes";
12613
+ }];
12614
+ readonly name: "SwapReverted";
12615
+ }];
12616
+ };
12290
12617
  /**
12291
12618
  * [__View Contract on Base Basescan__](https://basescan.org/address/0x3d7A3f3351855e135CF89AB412A7C2AA449f9296)
12292
12619
  */