@zoralabs/protocol-deployments 0.5.3 → 0.5.4-doppler.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,23 +1,23 @@
1
1
 
2
- > @zoralabs/protocol-deployments@0.5.3 build /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
2
+ > @zoralabs/protocol-deployments@0.5.4-doppler.0 build /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
3
3
  > pnpm bundle-configs && pnpm copy-generated && tsup
4
4
 
5
5
 
6
- > @zoralabs/protocol-deployments@0.5.3 bundle-configs /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
6
+ > @zoralabs/protocol-deployments@0.5.4-doppler.0 bundle-configs /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
7
7
  > tsx scripts/bundle-configs.ts && pnpm prettier:write
8
8
 
9
9
 
10
- > @zoralabs/protocol-deployments@0.5.3 prettier:write /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
10
+ > @zoralabs/protocol-deployments@0.5.4-doppler.0 prettier:write /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
11
11
  > prettier --write 'src/**/*.ts' 'scripts/*'
12
12
 
13
- src/encoding.ts 87ms (unchanged)
14
- src/index.ts 5ms (unchanged)
15
- src/typedData.ts 189ms (unchanged)
16
- src/types.ts 44ms (unchanged)
17
- scripts/bundle-chainConfigs.ts 15ms (unchanged)
18
- scripts/bundle-configs.ts 25ms (unchanged)
13
+ src/encoding.ts 56ms (unchanged)
14
+ src/index.ts 4ms (unchanged)
15
+ src/typedData.ts 167ms (unchanged)
16
+ src/types.ts 51ms (unchanged)
17
+ scripts/bundle-chainConfigs.ts 14ms (unchanged)
18
+ scripts/bundle-configs.ts 35ms (unchanged)
19
19
 
20
- > @zoralabs/protocol-deployments@0.5.3 copy-generated /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
20
+ > @zoralabs/protocol-deployments@0.5.4-doppler.0 copy-generated /home/runner/work/zora-protocol-private/zora-protocol-private/packages/protocol-deployments
21
21
  > cp ../protocol-deployments-gen/generated/wagmi.ts src/generated/wagmi.ts
22
22
 
23
23
  CLI Building entry: src/index.ts
@@ -28,19 +28,19 @@ CLI Target: es2021
28
28
  CLI Cleaning output folder
29
29
  CJS Build start
30
30
  ESM Build start
31
- CJS dist/index.cjs 525.30 KB
31
+ CJS dist/index.cjs 527.15 KB
32
32
  CJS dist/index.cjs.map 1.08 MB
33
- CJS ⚡️ Build success in 791ms
34
- ESM dist/index.js 462.89 KB
33
+ CJS ⚡️ Build success in 749ms
35
34
  ESM dist/secp256k1-DTX2GS77.js 80.12 KB
36
35
  ESM dist/ccip-OTD7W43P.js 290.00 B
36
+ ESM dist/index.js 464.74 KB
37
37
  ESM dist/chunk-ETO2D44V.js 136.37 KB
38
- ESM dist/_esm-RA774I7E.js 134.17 KB
39
38
  ESM dist/chunk-3EJPJMEH.js 1.88 KB
40
- ESM dist/secp256k1-DTX2GS77.js.map 203.10 KB
39
+ ESM dist/_esm-RA774I7E.js 134.17 KB
41
40
  ESM dist/ccip-OTD7W43P.js.map 71.00 B
41
+ ESM dist/secp256k1-DTX2GS77.js.map 203.10 KB
42
42
  ESM dist/chunk-ETO2D44V.js.map 393.76 KB
43
- ESM dist/_esm-RA774I7E.js.map 212.47 KB
44
43
  ESM dist/chunk-3EJPJMEH.js.map 71.00 B
45
- ESM dist/index.js.map 902.17 KB
46
- ESM ⚡️ Build success in 793ms
44
+ ESM dist/_esm-RA774I7E.js.map 212.47 KB
45
+ ESM dist/index.js.map 905.28 KB
46
+ ESM ⚡️ Build success in 772ms
package/CHANGELOG.md CHANGED
@@ -1,10 +1,16 @@
1
1
  # @zoralabs/protocol-deployments
2
2
 
3
+ ## 0.5.4-doppler.0
4
+
5
+ ### Patch Changes
6
+
7
+ - 96ab8907: Integrate doppler for liquidity management with uniswap v3
8
+
3
9
  ## 0.5.3
4
10
 
5
11
  ### Patch Changes
6
12
 
7
- - 70b039ce: Deployed ZoraFactory for coins to determinisitic 7777777 addresses on base and base sepolia
13
+ - 70b039ce: Deployed ZoraFactory for coins to deterministic 7777777 addresses on base and base sepolia
8
14
 
9
15
  ## 0.5.2
10
16
 
@@ -16,6 +16,8 @@ export declare const chainConfigs: {
16
16
  8453: {
17
17
  NONFUNGIBLE_POSITION_MANAGER: string;
18
18
  UNISWAP_SWAP_ROUTER: string;
19
+ UNISWAP_V3_FACTORY: string;
20
+ DOPPLER_AIRLOCK: string;
19
21
  PROXY_ADMIN: string;
20
22
  ZORA_RECIPIENT: string;
21
23
  WETH: string;
@@ -37,6 +39,8 @@ export declare const chainConfigs: {
37
39
  84532: {
38
40
  NONFUNGIBLE_POSITION_MANAGER: string;
39
41
  UNISWAP_SWAP_ROUTER: string;
42
+ UNISWAP_V3_FACTORY: string;
43
+ DOPPLER_AIRLOCK: string;
40
44
  PROXY_ADMIN: string;
41
45
  ZORA_RECIPIENT: string;
42
46
  WETH: string;
@@ -1 +1 @@
1
- {"version":3,"file":"sparks.d.ts","sourceRoot":"","sources":["../../src/generated/sparks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8ExB,CAAC;AACF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyErB,CAAC"}
1
+ {"version":3,"file":"sparks.d.ts","sourceRoot":"","sources":["../../src/generated/sparks.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkFxB,CAAC;AACF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyErB,CAAC"}
@@ -3503,13 +3503,17 @@ export declare const coinABI: readonly [{
3503
3503
  readonly internalType: "address";
3504
3504
  readonly type: "address";
3505
3505
  }, {
3506
- readonly name: "_nonfungiblePositionManager";
3506
+ readonly name: "_v3Factory";
3507
3507
  readonly internalType: "address";
3508
3508
  readonly type: "address";
3509
3509
  }, {
3510
3510
  readonly name: "_swapRouter";
3511
3511
  readonly internalType: "address";
3512
3512
  readonly type: "address";
3513
+ }, {
3514
+ readonly name: "_airlock";
3515
+ readonly internalType: "address";
3516
+ readonly type: "address";
3513
3517
  }];
3514
3518
  readonly stateMutability: "nonpayable";
3515
3519
  }, {
@@ -3625,6 +3629,16 @@ export declare const coinABI: readonly [{
3625
3629
  readonly name: "addOwners";
3626
3630
  readonly outputs: readonly [];
3627
3631
  readonly stateMutability: "nonpayable";
3632
+ }, {
3633
+ readonly type: "function";
3634
+ readonly inputs: readonly [];
3635
+ readonly name: "airlock";
3636
+ readonly outputs: readonly [{
3637
+ readonly name: "";
3638
+ readonly internalType: "address";
3639
+ readonly type: "address";
3640
+ }];
3641
+ readonly stateMutability: "view";
3628
3642
  }, {
3629
3643
  readonly type: "function";
3630
3644
  readonly inputs: readonly [{
@@ -3826,17 +3840,13 @@ export declare const coinABI: readonly [{
3826
3840
  readonly internalType: "string";
3827
3841
  readonly type: "string";
3828
3842
  }, {
3829
- readonly name: "platformReferrer_";
3830
- readonly internalType: "address";
3831
- readonly type: "address";
3843
+ readonly name: "poolConfig_";
3844
+ readonly internalType: "bytes";
3845
+ readonly type: "bytes";
3832
3846
  }, {
3833
- readonly name: "currency_";
3847
+ readonly name: "platformReferrer_";
3834
3848
  readonly internalType: "address";
3835
3849
  readonly type: "address";
3836
- }, {
3837
- readonly name: "tickLower_";
3838
- readonly internalType: "int24";
3839
- readonly type: "int24";
3840
3850
  }];
3841
3851
  readonly name: "initialize";
3842
3852
  readonly outputs: readonly [];
@@ -3855,16 +3865,6 @@ export declare const coinABI: readonly [{
3855
3865
  readonly type: "bool";
3856
3866
  }];
3857
3867
  readonly stateMutability: "view";
3858
- }, {
3859
- readonly type: "function";
3860
- readonly inputs: readonly [];
3861
- readonly name: "lpTokenId";
3862
- readonly outputs: readonly [{
3863
- readonly name: "";
3864
- readonly internalType: "uint256";
3865
- readonly type: "uint256";
3866
- }];
3867
- readonly stateMutability: "view";
3868
3868
  }, {
3869
3869
  readonly type: "function";
3870
3870
  readonly inputs: readonly [];
@@ -3889,42 +3889,6 @@ export declare const coinABI: readonly [{
3889
3889
  readonly type: "uint256";
3890
3890
  }];
3891
3891
  readonly stateMutability: "view";
3892
- }, {
3893
- readonly type: "function";
3894
- readonly inputs: readonly [];
3895
- readonly name: "nonfungiblePositionManager";
3896
- readonly outputs: readonly [{
3897
- readonly name: "";
3898
- readonly internalType: "address";
3899
- readonly type: "address";
3900
- }];
3901
- readonly stateMutability: "view";
3902
- }, {
3903
- readonly type: "function";
3904
- readonly inputs: readonly [{
3905
- readonly name: "";
3906
- readonly internalType: "address";
3907
- readonly type: "address";
3908
- }, {
3909
- readonly name: "";
3910
- readonly internalType: "address";
3911
- readonly type: "address";
3912
- }, {
3913
- readonly name: "";
3914
- readonly internalType: "uint256";
3915
- readonly type: "uint256";
3916
- }, {
3917
- readonly name: "";
3918
- readonly internalType: "bytes";
3919
- readonly type: "bytes";
3920
- }];
3921
- readonly name: "onERC721Received";
3922
- readonly outputs: readonly [{
3923
- readonly name: "";
3924
- readonly internalType: "bytes4";
3925
- readonly type: "bytes4";
3926
- }];
3927
- readonly stateMutability: "view";
3928
3892
  }, {
3929
3893
  readonly type: "function";
3930
3894
  readonly inputs: readonly [];
@@ -3999,6 +3963,48 @@ export declare const coinABI: readonly [{
3999
3963
  readonly type: "address";
4000
3964
  }];
4001
3965
  readonly stateMutability: "view";
3966
+ }, {
3967
+ readonly type: "function";
3968
+ readonly inputs: readonly [];
3969
+ readonly name: "poolState";
3970
+ readonly outputs: readonly [{
3971
+ readonly name: "asset";
3972
+ readonly internalType: "address";
3973
+ readonly type: "address";
3974
+ }, {
3975
+ readonly name: "numeraire";
3976
+ readonly internalType: "address";
3977
+ readonly type: "address";
3978
+ }, {
3979
+ readonly name: "tickLower";
3980
+ readonly internalType: "int24";
3981
+ readonly type: "int24";
3982
+ }, {
3983
+ readonly name: "tickUpper";
3984
+ readonly internalType: "int24";
3985
+ readonly type: "int24";
3986
+ }, {
3987
+ readonly name: "numPositions";
3988
+ readonly internalType: "uint16";
3989
+ readonly type: "uint16";
3990
+ }, {
3991
+ readonly name: "isInitialized";
3992
+ readonly internalType: "bool";
3993
+ readonly type: "bool";
3994
+ }, {
3995
+ readonly name: "isExited";
3996
+ readonly internalType: "bool";
3997
+ readonly type: "bool";
3998
+ }, {
3999
+ readonly name: "maxShareToBeSold";
4000
+ readonly internalType: "uint256";
4001
+ readonly type: "uint256";
4002
+ }, {
4003
+ readonly name: "totalTokensOnBondingCurve";
4004
+ readonly internalType: "uint256";
4005
+ readonly type: "uint256";
4006
+ }];
4007
+ readonly stateMutability: "view";
4002
4008
  }, {
4003
4009
  readonly type: "function";
4004
4010
  readonly inputs: readonly [];
@@ -4196,21 +4202,31 @@ export declare const coinABI: readonly [{
4196
4202
  }, {
4197
4203
  readonly type: "function";
4198
4204
  readonly inputs: readonly [{
4199
- readonly name: "amount0Delta";
4200
- readonly internalType: "int256";
4201
- readonly type: "int256";
4205
+ readonly name: "amount0Owed";
4206
+ readonly internalType: "uint256";
4207
+ readonly type: "uint256";
4202
4208
  }, {
4203
- readonly name: "amount1Delta";
4204
- readonly internalType: "int256";
4205
- readonly type: "int256";
4209
+ readonly name: "amount1Owed";
4210
+ readonly internalType: "uint256";
4211
+ readonly type: "uint256";
4206
4212
  }, {
4207
4213
  readonly name: "";
4208
4214
  readonly internalType: "bytes";
4209
4215
  readonly type: "bytes";
4210
4216
  }];
4211
- readonly name: "uniswapV3SwapCallback";
4217
+ readonly name: "uniswapV3MintCallback";
4212
4218
  readonly outputs: readonly [];
4213
4219
  readonly stateMutability: "nonpayable";
4220
+ }, {
4221
+ readonly type: "function";
4222
+ readonly inputs: readonly [];
4223
+ readonly name: "v3Factory";
4224
+ readonly outputs: readonly [{
4225
+ readonly name: "";
4226
+ readonly internalType: "address";
4227
+ readonly type: "address";
4228
+ }];
4229
+ readonly stateMutability: "view";
4214
4230
  }, {
4215
4231
  readonly type: "event";
4216
4232
  readonly anonymous: false;
@@ -4578,6 +4594,10 @@ export declare const coinABI: readonly [{
4578
4594
  readonly type: "error";
4579
4595
  readonly inputs: readonly [];
4580
4596
  readonly name: "AlreadyOwner";
4597
+ }, {
4598
+ readonly type: "error";
4599
+ readonly inputs: readonly [];
4600
+ readonly name: "CannotMintZeroLiquidity";
4581
4601
  }, {
4582
4602
  readonly type: "error";
4583
4603
  readonly inputs: readonly [];
@@ -4742,6 +4762,18 @@ export declare const coinABI: readonly [{
4742
4762
  readonly type: "error";
4743
4763
  readonly inputs: readonly [];
4744
4764
  readonly name: "InvalidMarketType";
4765
+ }, {
4766
+ readonly type: "error";
4767
+ readonly inputs: readonly [{
4768
+ readonly name: "tickLower";
4769
+ readonly internalType: "int24";
4770
+ readonly type: "int24";
4771
+ }, {
4772
+ readonly name: "tickUpper";
4773
+ readonly internalType: "int24";
4774
+ readonly type: "int24";
4775
+ }];
4776
+ readonly name: "InvalidTickRangeMisordered";
4745
4777
  }, {
4746
4778
  readonly type: "error";
4747
4779
  readonly inputs: readonly [];
@@ -4754,6 +4786,18 @@ export declare const coinABI: readonly [{
4754
4786
  readonly type: "error";
4755
4787
  readonly inputs: readonly [];
4756
4788
  readonly name: "MarketNotGraduated";
4789
+ }, {
4790
+ readonly type: "error";
4791
+ readonly inputs: readonly [{
4792
+ readonly name: "value";
4793
+ readonly internalType: "uint256";
4794
+ readonly type: "uint256";
4795
+ }, {
4796
+ readonly name: "limit";
4797
+ readonly internalType: "uint256";
4798
+ readonly type: "uint256";
4799
+ }];
4800
+ readonly name: "MaxShareToBeSoldExceeded";
4757
4801
  }, {
4758
4802
  readonly type: "error";
4759
4803
  readonly inputs: readonly [];
@@ -4804,7 +4848,7 @@ export declare const coinABI: readonly [{
4804
4848
  readonly name: "UseRevokeOwnershipToRemoveSelf";
4805
4849
  }];
4806
4850
  /**
4807
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
4851
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc)
4808
4852
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
4809
4853
  */
4810
4854
  export declare const coinFactoryABI: readonly [{
@@ -4885,6 +4929,52 @@ export declare const coinFactoryABI: readonly [{
4885
4929
  readonly type: "uint256";
4886
4930
  }];
4887
4931
  readonly stateMutability: "payable";
4932
+ }, {
4933
+ readonly type: "function";
4934
+ readonly inputs: readonly [{
4935
+ readonly name: "payoutRecipient";
4936
+ readonly internalType: "address";
4937
+ readonly type: "address";
4938
+ }, {
4939
+ readonly name: "owners";
4940
+ readonly internalType: "address[]";
4941
+ readonly type: "address[]";
4942
+ }, {
4943
+ readonly name: "uri";
4944
+ readonly internalType: "string";
4945
+ readonly type: "string";
4946
+ }, {
4947
+ readonly name: "name";
4948
+ readonly internalType: "string";
4949
+ readonly type: "string";
4950
+ }, {
4951
+ readonly name: "symbol";
4952
+ readonly internalType: "string";
4953
+ readonly type: "string";
4954
+ }, {
4955
+ readonly name: "poolConfig";
4956
+ readonly internalType: "bytes";
4957
+ readonly type: "bytes";
4958
+ }, {
4959
+ readonly name: "platformReferrer";
4960
+ readonly internalType: "address";
4961
+ readonly type: "address";
4962
+ }, {
4963
+ readonly name: "orderSize";
4964
+ readonly internalType: "uint256";
4965
+ readonly type: "uint256";
4966
+ }];
4967
+ readonly name: "deploy";
4968
+ readonly outputs: readonly [{
4969
+ readonly name: "";
4970
+ readonly internalType: "address";
4971
+ readonly type: "address";
4972
+ }, {
4973
+ readonly name: "";
4974
+ readonly internalType: "uint256";
4975
+ readonly type: "uint256";
4976
+ }];
4977
+ readonly stateMutability: "payable";
4888
4978
  }, {
4889
4979
  readonly type: "function";
4890
4980
  readonly inputs: readonly [];
@@ -5139,20 +5229,20 @@ export declare const coinFactoryABI: readonly [{
5139
5229
  readonly name: "UUPSUnsupportedProxiableUUID";
5140
5230
  }];
5141
5231
  /**
5142
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
5232
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc)
5143
5233
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
5144
5234
  */
5145
5235
  export declare const coinFactoryAddress: {
5146
- readonly 8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3";
5236
+ readonly 8453: "0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc";
5147
5237
  readonly 84532: "0x777777751622c0d3258f214F9DF38E35BF45baF3";
5148
5238
  };
5149
5239
  /**
5150
- * - [__View Contract on Base Basescan__](https://basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
5240
+ * - [__View Contract on Base Basescan__](https://basescan.org/address/0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc)
5151
5241
  * - [__View Contract on Base Sepolia Basescan__](https://sepolia.basescan.org/address/0x777777751622c0d3258f214F9DF38E35BF45baF3)
5152
5242
  */
5153
5243
  export declare const coinFactoryConfig: {
5154
5244
  readonly address: {
5155
- readonly 8453: "0x777777751622c0d3258f214F9DF38E35BF45baF3";
5245
+ readonly 8453: "0x02B2705500096Ff83F9eF78873ca5DFB06C00Ddc";
5156
5246
  readonly 84532: "0x777777751622c0d3258f214F9DF38E35BF45baF3";
5157
5247
  };
5158
5248
  readonly abi: readonly [{
@@ -5233,6 +5323,52 @@ export declare const coinFactoryConfig: {
5233
5323
  readonly type: "uint256";
5234
5324
  }];
5235
5325
  readonly stateMutability: "payable";
5326
+ }, {
5327
+ readonly type: "function";
5328
+ readonly inputs: readonly [{
5329
+ readonly name: "payoutRecipient";
5330
+ readonly internalType: "address";
5331
+ readonly type: "address";
5332
+ }, {
5333
+ readonly name: "owners";
5334
+ readonly internalType: "address[]";
5335
+ readonly type: "address[]";
5336
+ }, {
5337
+ readonly name: "uri";
5338
+ readonly internalType: "string";
5339
+ readonly type: "string";
5340
+ }, {
5341
+ readonly name: "name";
5342
+ readonly internalType: "string";
5343
+ readonly type: "string";
5344
+ }, {
5345
+ readonly name: "symbol";
5346
+ readonly internalType: "string";
5347
+ readonly type: "string";
5348
+ }, {
5349
+ readonly name: "poolConfig";
5350
+ readonly internalType: "bytes";
5351
+ readonly type: "bytes";
5352
+ }, {
5353
+ readonly name: "platformReferrer";
5354
+ readonly internalType: "address";
5355
+ readonly type: "address";
5356
+ }, {
5357
+ readonly name: "orderSize";
5358
+ readonly internalType: "uint256";
5359
+ readonly type: "uint256";
5360
+ }];
5361
+ readonly name: "deploy";
5362
+ readonly outputs: readonly [{
5363
+ readonly name: "";
5364
+ readonly internalType: "address";
5365
+ readonly type: "address";
5366
+ }, {
5367
+ readonly name: "";
5368
+ readonly internalType: "uint256";
5369
+ readonly type: "uint256";
5370
+ }];
5371
+ readonly stateMutability: "payable";
5236
5372
  }, {
5237
5373
  readonly type: "function";
5238
5374
  readonly inputs: readonly [];