@zoralabs/protocol-deployments 0.6.2 → 0.6.3
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 → turbo-build$colon$js.log} +23 -19
- package/CHANGELOG.md +16 -0
- package/dist/{_esm-3RFC2XVO.js → _esm-AN6HMJZC.js} +3 -3
- package/dist/_esm-AN6HMJZC.js.map +1 -0
- package/dist/generated/wagmi.d.ts +364 -36
- package/dist/generated/wagmi.d.ts.map +1 -1
- package/dist/index.cjs +118 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +118 -18
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/src/generated/wagmi.ts +118 -18
- package/dist/_esm-3RFC2XVO.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zoralabs/protocol-deployments",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"repository": "https://github.com/ourzora/zora-protocol",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -30,6 +30,7 @@
|
|
|
30
30
|
},
|
|
31
31
|
"scripts": {
|
|
32
32
|
"build": "pnpm bundle-configs && pnpm copy-generated && tsup",
|
|
33
|
+
"build:js": "pnpm run build",
|
|
33
34
|
"bundle-configs": "tsx scripts/bundle-configs.ts && pnpm prettier:write",
|
|
34
35
|
"copy-generated": "cp ../protocol-deployments-gen/generated/wagmi.ts src/generated/wagmi.ts",
|
|
35
36
|
"prettier:write": "prettier --write 'src/**/*.ts' 'scripts/*'",
|
package/src/generated/wagmi.ts
CHANGED
|
@@ -1353,6 +1353,15 @@ export const coinABI = [
|
|
|
1353
1353
|
outputs: [],
|
|
1354
1354
|
stateMutability: 'nonpayable',
|
|
1355
1355
|
},
|
|
1356
|
+
{
|
|
1357
|
+
type: 'function',
|
|
1358
|
+
inputs: [],
|
|
1359
|
+
name: 'coinType',
|
|
1360
|
+
outputs: [
|
|
1361
|
+
{ name: '', internalType: 'enum IHasCoinType.CoinType', type: 'uint8' },
|
|
1362
|
+
],
|
|
1363
|
+
stateMutability: 'view',
|
|
1364
|
+
},
|
|
1356
1365
|
{
|
|
1357
1366
|
type: 'function',
|
|
1358
1367
|
inputs: [],
|
|
@@ -1734,6 +1743,13 @@ export const coinABI = [
|
|
|
1734
1743
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1735
1744
|
stateMutability: 'view',
|
|
1736
1745
|
},
|
|
1746
|
+
{
|
|
1747
|
+
type: 'function',
|
|
1748
|
+
inputs: [],
|
|
1749
|
+
name: 'totalSupplyForPositions',
|
|
1750
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
1751
|
+
stateMutability: 'view',
|
|
1752
|
+
},
|
|
1737
1753
|
{
|
|
1738
1754
|
type: 'function',
|
|
1739
1755
|
inputs: [
|
|
@@ -2347,7 +2363,6 @@ export const coinABI = [
|
|
|
2347
2363
|
},
|
|
2348
2364
|
{ type: 'error', inputs: [], name: 'OnlyWeth' },
|
|
2349
2365
|
{ type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
|
|
2350
|
-
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
2351
2366
|
{ type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
|
|
2352
2367
|
{ type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
|
|
2353
2368
|
] as const
|
|
@@ -2364,10 +2379,10 @@ export const coinFactoryABI = [
|
|
|
2364
2379
|
{
|
|
2365
2380
|
type: 'constructor',
|
|
2366
2381
|
inputs: [
|
|
2367
|
-
{ name: '
|
|
2368
|
-
{ name: '
|
|
2369
|
-
{ name: '
|
|
2370
|
-
{ name: '
|
|
2382
|
+
{ name: 'coinV4Impl_', internalType: 'address', type: 'address' },
|
|
2383
|
+
{ name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
|
|
2384
|
+
{ name: 'hook_', internalType: 'address', type: 'address' },
|
|
2385
|
+
{ name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
|
|
2371
2386
|
],
|
|
2372
2387
|
stateMutability: 'nonpayable',
|
|
2373
2388
|
},
|
|
@@ -2452,7 +2467,7 @@ export const coinFactoryABI = [
|
|
|
2452
2467
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2453
2468
|
{ name: 'currency', internalType: 'address', type: 'address' },
|
|
2454
2469
|
{ name: '', internalType: 'int24', type: 'int24' },
|
|
2455
|
-
{ name: '
|
|
2470
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
2456
2471
|
],
|
|
2457
2472
|
name: 'deploy',
|
|
2458
2473
|
outputs: [
|
|
@@ -2527,7 +2542,28 @@ export const coinFactoryABI = [
|
|
|
2527
2542
|
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
2528
2543
|
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
2529
2544
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2530
|
-
{ name: '
|
|
2545
|
+
{ name: 'postDeployHook', internalType: 'address', type: 'address' },
|
|
2546
|
+
{ name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
|
|
2547
|
+
{ name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
|
|
2548
|
+
],
|
|
2549
|
+
name: 'deployCreatorCoin',
|
|
2550
|
+
outputs: [
|
|
2551
|
+
{ name: 'coin', internalType: 'address', type: 'address' },
|
|
2552
|
+
{ name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
|
|
2553
|
+
],
|
|
2554
|
+
stateMutability: 'payable',
|
|
2555
|
+
},
|
|
2556
|
+
{
|
|
2557
|
+
type: 'function',
|
|
2558
|
+
inputs: [
|
|
2559
|
+
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
2560
|
+
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
2561
|
+
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
2562
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
2563
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
2564
|
+
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
2565
|
+
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
2566
|
+
{ name: 'deployHook', internalType: 'address', type: 'address' },
|
|
2531
2567
|
{ name: 'hookData', internalType: 'bytes', type: 'bytes' },
|
|
2532
2568
|
],
|
|
2533
2569
|
name: 'deployWithHook',
|
|
@@ -2544,6 +2580,13 @@ export const coinFactoryABI = [
|
|
|
2544
2580
|
outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
|
|
2545
2581
|
stateMutability: 'view',
|
|
2546
2582
|
},
|
|
2583
|
+
{
|
|
2584
|
+
type: 'function',
|
|
2585
|
+
inputs: [],
|
|
2586
|
+
name: 'hook',
|
|
2587
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2588
|
+
stateMutability: 'view',
|
|
2589
|
+
},
|
|
2547
2590
|
{
|
|
2548
2591
|
type: 'function',
|
|
2549
2592
|
inputs: [],
|
|
@@ -2605,6 +2648,13 @@ export const coinFactoryABI = [
|
|
|
2605
2648
|
outputs: [],
|
|
2606
2649
|
stateMutability: 'payable',
|
|
2607
2650
|
},
|
|
2651
|
+
{
|
|
2652
|
+
type: 'function',
|
|
2653
|
+
inputs: [],
|
|
2654
|
+
name: 'zoraHookRegistry',
|
|
2655
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
2656
|
+
stateMutability: 'view',
|
|
2657
|
+
},
|
|
2608
2658
|
{
|
|
2609
2659
|
type: 'event',
|
|
2610
2660
|
anonymous: false,
|
|
@@ -2963,17 +3013,17 @@ export const coinV4ABI = [
|
|
|
2963
3013
|
type: 'constructor',
|
|
2964
3014
|
inputs: [
|
|
2965
3015
|
{
|
|
2966
|
-
name: '
|
|
3016
|
+
name: 'protocolRewardRecipient_',
|
|
2967
3017
|
internalType: 'address',
|
|
2968
3018
|
type: 'address',
|
|
2969
3019
|
},
|
|
2970
|
-
{ name: '
|
|
3020
|
+
{ name: 'protocolRewards_', internalType: 'address', type: 'address' },
|
|
2971
3021
|
{
|
|
2972
|
-
name: '
|
|
3022
|
+
name: 'poolManager_',
|
|
2973
3023
|
internalType: 'contract IPoolManager',
|
|
2974
3024
|
type: 'address',
|
|
2975
3025
|
},
|
|
2976
|
-
{ name: '
|
|
3026
|
+
{ name: 'airlock_', internalType: 'address', type: 'address' },
|
|
2977
3027
|
],
|
|
2978
3028
|
stateMutability: 'nonpayable',
|
|
2979
3029
|
},
|
|
@@ -3048,6 +3098,15 @@ export const coinV4ABI = [
|
|
|
3048
3098
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3049
3099
|
stateMutability: 'nonpayable',
|
|
3050
3100
|
},
|
|
3101
|
+
{
|
|
3102
|
+
type: 'function',
|
|
3103
|
+
inputs: [],
|
|
3104
|
+
name: 'coinType',
|
|
3105
|
+
outputs: [
|
|
3106
|
+
{ name: '', internalType: 'enum IHasCoinType.CoinType', type: 'uint8' },
|
|
3107
|
+
],
|
|
3108
|
+
stateMutability: 'pure',
|
|
3109
|
+
},
|
|
3051
3110
|
{
|
|
3052
3111
|
type: 'function',
|
|
3053
3112
|
inputs: [],
|
|
@@ -3443,6 +3502,13 @@ export const coinV4ABI = [
|
|
|
3443
3502
|
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3444
3503
|
stateMutability: 'view',
|
|
3445
3504
|
},
|
|
3505
|
+
{
|
|
3506
|
+
type: 'function',
|
|
3507
|
+
inputs: [],
|
|
3508
|
+
name: 'totalSupplyForPositions',
|
|
3509
|
+
outputs: [{ name: '', internalType: 'uint256', type: 'uint256' }],
|
|
3510
|
+
stateMutability: 'pure',
|
|
3511
|
+
},
|
|
3446
3512
|
{
|
|
3447
3513
|
type: 'function',
|
|
3448
3514
|
inputs: [
|
|
@@ -4108,7 +4174,6 @@ export const coinV4ABI = [
|
|
|
4108
4174
|
},
|
|
4109
4175
|
{ type: 'error', inputs: [], name: 'OnlyWeth' },
|
|
4110
4176
|
{ type: 'error', inputs: [], name: 'OwnerCannotBeAddressZero' },
|
|
4111
|
-
{ type: 'error', inputs: [], name: 'ReentrancyGuardReentrantCall' },
|
|
4112
4177
|
{ type: 'error', inputs: [], name: 'SlippageBoundsExceeded' },
|
|
4113
4178
|
{ type: 'error', inputs: [], name: 'UseRevokeOwnershipToRemoveSelf' },
|
|
4114
4179
|
] as const
|
|
@@ -6080,10 +6145,10 @@ export const devCoinFactoryABI = [
|
|
|
6080
6145
|
{
|
|
6081
6146
|
type: 'constructor',
|
|
6082
6147
|
inputs: [
|
|
6083
|
-
{ name: '
|
|
6084
|
-
{ name: '
|
|
6085
|
-
{ name: '
|
|
6086
|
-
{ name: '
|
|
6148
|
+
{ name: 'coinV4Impl_', internalType: 'address', type: 'address' },
|
|
6149
|
+
{ name: 'creatorCoinImpl_', internalType: 'address', type: 'address' },
|
|
6150
|
+
{ name: 'hook_', internalType: 'address', type: 'address' },
|
|
6151
|
+
{ name: 'zoraHookRegistry_', internalType: 'address', type: 'address' },
|
|
6087
6152
|
],
|
|
6088
6153
|
stateMutability: 'nonpayable',
|
|
6089
6154
|
},
|
|
@@ -6168,7 +6233,7 @@ export const devCoinFactoryABI = [
|
|
|
6168
6233
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6169
6234
|
{ name: 'currency', internalType: 'address', type: 'address' },
|
|
6170
6235
|
{ name: '', internalType: 'int24', type: 'int24' },
|
|
6171
|
-
{ name: '
|
|
6236
|
+
{ name: '', internalType: 'uint256', type: 'uint256' },
|
|
6172
6237
|
],
|
|
6173
6238
|
name: 'deploy',
|
|
6174
6239
|
outputs: [
|
|
@@ -6243,7 +6308,28 @@ export const devCoinFactoryABI = [
|
|
|
6243
6308
|
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
6244
6309
|
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
6245
6310
|
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6246
|
-
{ name: '
|
|
6311
|
+
{ name: 'postDeployHook', internalType: 'address', type: 'address' },
|
|
6312
|
+
{ name: 'postDeployHookData', internalType: 'bytes', type: 'bytes' },
|
|
6313
|
+
{ name: 'coinSalt', internalType: 'bytes32', type: 'bytes32' },
|
|
6314
|
+
],
|
|
6315
|
+
name: 'deployCreatorCoin',
|
|
6316
|
+
outputs: [
|
|
6317
|
+
{ name: 'coin', internalType: 'address', type: 'address' },
|
|
6318
|
+
{ name: 'postDeployHookDataOut', internalType: 'bytes', type: 'bytes' },
|
|
6319
|
+
],
|
|
6320
|
+
stateMutability: 'payable',
|
|
6321
|
+
},
|
|
6322
|
+
{
|
|
6323
|
+
type: 'function',
|
|
6324
|
+
inputs: [
|
|
6325
|
+
{ name: 'payoutRecipient', internalType: 'address', type: 'address' },
|
|
6326
|
+
{ name: 'owners', internalType: 'address[]', type: 'address[]' },
|
|
6327
|
+
{ name: 'uri', internalType: 'string', type: 'string' },
|
|
6328
|
+
{ name: 'name', internalType: 'string', type: 'string' },
|
|
6329
|
+
{ name: 'symbol', internalType: 'string', type: 'string' },
|
|
6330
|
+
{ name: 'poolConfig', internalType: 'bytes', type: 'bytes' },
|
|
6331
|
+
{ name: 'platformReferrer', internalType: 'address', type: 'address' },
|
|
6332
|
+
{ name: 'deployHook', internalType: 'address', type: 'address' },
|
|
6247
6333
|
{ name: 'hookData', internalType: 'bytes', type: 'bytes' },
|
|
6248
6334
|
],
|
|
6249
6335
|
name: 'deployWithHook',
|
|
@@ -6260,6 +6346,13 @@ export const devCoinFactoryABI = [
|
|
|
6260
6346
|
outputs: [{ name: '', internalType: 'uint8', type: 'uint8' }],
|
|
6261
6347
|
stateMutability: 'view',
|
|
6262
6348
|
},
|
|
6349
|
+
{
|
|
6350
|
+
type: 'function',
|
|
6351
|
+
inputs: [],
|
|
6352
|
+
name: 'hook',
|
|
6353
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6354
|
+
stateMutability: 'view',
|
|
6355
|
+
},
|
|
6263
6356
|
{
|
|
6264
6357
|
type: 'function',
|
|
6265
6358
|
inputs: [],
|
|
@@ -6321,6 +6414,13 @@ export const devCoinFactoryABI = [
|
|
|
6321
6414
|
outputs: [],
|
|
6322
6415
|
stateMutability: 'payable',
|
|
6323
6416
|
},
|
|
6417
|
+
{
|
|
6418
|
+
type: 'function',
|
|
6419
|
+
inputs: [],
|
|
6420
|
+
name: 'zoraHookRegistry',
|
|
6421
|
+
outputs: [{ name: '', internalType: 'address', type: 'address' }],
|
|
6422
|
+
stateMutability: 'view',
|
|
6423
|
+
},
|
|
6324
6424
|
{
|
|
6325
6425
|
type: 'event',
|
|
6326
6426
|
anonymous: false,
|