@panoptic-eng/sdk 1.0.49 → 1.0.50

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.
Files changed (39) hide show
  1. package/dist/cow/index.js.map +1 -1
  2. package/dist/{cow-DMX9ebPk.js → cow-CSSKPknb.js} +1 -1
  3. package/dist/deployments.d.ts +12 -4
  4. package/dist/deployments.d.ts.map +1 -1
  5. package/dist/deployments.js +78 -10
  6. package/dist/deployments.js.map +1 -1
  7. package/dist/{greeks-9aTE-DwO.js → greeks-CNi1-cnp.js} +39 -16
  8. package/dist/index.d.ts +518 -76
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +701 -84
  11. package/dist/index.js.map +1 -1
  12. package/dist/{irm-mySi_YMF.js → irm-BJaJSUjF.js} +80 -12
  13. package/dist/panoptic/v2/greeks/index.d.ts +12 -1
  14. package/dist/panoptic/v2/greeks/index.d.ts.map +1 -1
  15. package/dist/panoptic/v2/greeks/index.js +39 -16
  16. package/dist/panoptic/v2/greeks/index.js.map +1 -1
  17. package/dist/panoptic/v2/index.d.ts +1336 -74
  18. package/dist/panoptic/v2/index.d.ts.map +1 -1
  19. package/dist/panoptic/v2/index.js +20322 -18660
  20. package/dist/panoptic/v2/index.js.map +1 -1
  21. package/dist/panoptic/v2/react-public.d.ts +1518 -240
  22. package/dist/panoptic/v2/react-public.d.ts.map +1 -1
  23. package/dist/panoptic/v2/react-public.js +11518 -9319
  24. package/dist/panoptic/v2/react-public.js.map +1 -1
  25. package/dist/{rates-CDLIUGDz.js → rates-COAJpKRd.js} +612 -73
  26. package/dist/{router-45ulPnWe.js → router-B-I1eACz.js} +5 -43
  27. package/dist/router-BSS7HKd2.js +837 -0
  28. package/dist/uniswap/index.d.ts +465 -215
  29. package/dist/uniswap/index.d.ts.map +1 -1
  30. package/dist/uniswap/index.js +1799 -1076
  31. package/dist/uniswap/index.js.map +1 -1
  32. package/dist/{v2-DshssxX4.js → v2-zF6b01PI.js} +2488 -1596
  33. package/dist/{writes-2reV_omF.js → writes-D1zN0v9x.js} +4 -3
  34. package/dist/zodiac/index.d.ts +51 -7
  35. package/dist/zodiac/index.d.ts.map +1 -1
  36. package/dist/zodiac/index.js +154 -2
  37. package/dist/zodiac/index.js.map +1 -1
  38. package/package.json +2 -1
  39. package/dist/router-B2jY9Nyb.js +0 -312
package/dist/index.js CHANGED
@@ -17227,6 +17227,459 @@ const panopticFactoryV4Abi = [
17227
17227
  name: "ZeroAddress"
17228
17228
  }
17229
17229
  ];
17230
+ const panopticLiquidatorAbi = [
17231
+ {
17232
+ type: "constructor",
17233
+ inputs: [{
17234
+ name: "morpho",
17235
+ internalType: "contract IMorpho",
17236
+ type: "address"
17237
+ }, {
17238
+ name: "owner_",
17239
+ internalType: "address",
17240
+ type: "address"
17241
+ }],
17242
+ stateMutability: "nonpayable"
17243
+ },
17244
+ {
17245
+ type: "receive",
17246
+ stateMutability: "payable"
17247
+ },
17248
+ {
17249
+ type: "function",
17250
+ inputs: [],
17251
+ name: "MORPHO",
17252
+ outputs: [{
17253
+ name: "",
17254
+ internalType: "contract IMorpho",
17255
+ type: "address"
17256
+ }],
17257
+ stateMutability: "view"
17258
+ },
17259
+ {
17260
+ type: "function",
17261
+ inputs: [
17262
+ {
17263
+ name: "target",
17264
+ internalType: "address",
17265
+ type: "address"
17266
+ },
17267
+ {
17268
+ name: "value",
17269
+ internalType: "uint256",
17270
+ type: "uint256"
17271
+ },
17272
+ {
17273
+ name: "data",
17274
+ internalType: "bytes",
17275
+ type: "bytes"
17276
+ }
17277
+ ],
17278
+ name: "execute",
17279
+ outputs: [{
17280
+ name: "ret",
17281
+ internalType: "bytes",
17282
+ type: "bytes"
17283
+ }],
17284
+ stateMutability: "payable"
17285
+ },
17286
+ {
17287
+ type: "function",
17288
+ inputs: [{
17289
+ name: "pool",
17290
+ internalType: "contract PanopticPoolV2",
17291
+ type: "address"
17292
+ }],
17293
+ name: "initializePool",
17294
+ outputs: [],
17295
+ stateMutability: "nonpayable"
17296
+ },
17297
+ {
17298
+ type: "function",
17299
+ inputs: [{
17300
+ name: "params",
17301
+ internalType: "struct PanopticLiquidator.LiquidateParams",
17302
+ type: "tuple",
17303
+ components: [
17304
+ {
17305
+ name: "pool",
17306
+ internalType: "contract PanopticPoolV2",
17307
+ type: "address"
17308
+ },
17309
+ {
17310
+ name: "account",
17311
+ internalType: "address",
17312
+ type: "address"
17313
+ },
17314
+ {
17315
+ name: "positionIdListTo",
17316
+ internalType: "TokenId[]",
17317
+ type: "uint256[]"
17318
+ },
17319
+ {
17320
+ name: "usePremiaAsCollateral",
17321
+ internalType: "LeftRightUnsigned",
17322
+ type: "uint256"
17323
+ },
17324
+ {
17325
+ name: "flashToken",
17326
+ internalType: "address",
17327
+ type: "address"
17328
+ },
17329
+ {
17330
+ name: "flashAmount",
17331
+ internalType: "uint256",
17332
+ type: "uint256"
17333
+ },
17334
+ {
17335
+ name: "nativeFundingAmount",
17336
+ internalType: "uint256",
17337
+ type: "uint256"
17338
+ },
17339
+ {
17340
+ name: "preSwapTarget",
17341
+ internalType: "address",
17342
+ type: "address"
17343
+ },
17344
+ {
17345
+ name: "preSwapCallData",
17346
+ internalType: "bytes",
17347
+ type: "bytes"
17348
+ },
17349
+ {
17350
+ name: "preSwapTokenIn",
17351
+ internalType: "address",
17352
+ type: "address"
17353
+ },
17354
+ {
17355
+ name: "preSwapAmountIn",
17356
+ internalType: "uint256",
17357
+ type: "uint256"
17358
+ },
17359
+ {
17360
+ name: "swapTarget",
17361
+ internalType: "address",
17362
+ type: "address"
17363
+ },
17364
+ {
17365
+ name: "swapCallData",
17366
+ internalType: "bytes",
17367
+ type: "bytes"
17368
+ },
17369
+ {
17370
+ name: "swapTokenIn",
17371
+ internalType: "address",
17372
+ type: "address"
17373
+ },
17374
+ {
17375
+ name: "swapAmountIn",
17376
+ internalType: "uint256",
17377
+ type: "uint256"
17378
+ },
17379
+ {
17380
+ name: "minDelta0",
17381
+ internalType: "int256",
17382
+ type: "int256"
17383
+ },
17384
+ {
17385
+ name: "minDelta1",
17386
+ internalType: "int256",
17387
+ type: "int256"
17388
+ }
17389
+ ]
17390
+ }],
17391
+ name: "liquidate",
17392
+ outputs: [{
17393
+ name: "delta0",
17394
+ internalType: "int256",
17395
+ type: "int256"
17396
+ }, {
17397
+ name: "delta1",
17398
+ internalType: "int256",
17399
+ type: "int256"
17400
+ }],
17401
+ stateMutability: "payable"
17402
+ },
17403
+ {
17404
+ type: "function",
17405
+ inputs: [{
17406
+ name: "data",
17407
+ internalType: "bytes[]",
17408
+ type: "bytes[]"
17409
+ }],
17410
+ name: "multicall",
17411
+ outputs: [{
17412
+ name: "results",
17413
+ internalType: "bytes[]",
17414
+ type: "bytes[]"
17415
+ }],
17416
+ stateMutability: "payable"
17417
+ },
17418
+ {
17419
+ type: "function",
17420
+ inputs: [{
17421
+ name: "assets",
17422
+ internalType: "uint256",
17423
+ type: "uint256"
17424
+ }, {
17425
+ name: "data",
17426
+ internalType: "bytes",
17427
+ type: "bytes"
17428
+ }],
17429
+ name: "onMorphoFlashLoan",
17430
+ outputs: [],
17431
+ stateMutability: "nonpayable"
17432
+ },
17433
+ {
17434
+ type: "function",
17435
+ inputs: [],
17436
+ name: "owner",
17437
+ outputs: [{
17438
+ name: "",
17439
+ internalType: "address",
17440
+ type: "address"
17441
+ }],
17442
+ stateMutability: "view"
17443
+ },
17444
+ {
17445
+ type: "function",
17446
+ inputs: [{
17447
+ name: "params",
17448
+ internalType: "struct PanopticLiquidator.LiquidateParams",
17449
+ type: "tuple",
17450
+ components: [
17451
+ {
17452
+ name: "pool",
17453
+ internalType: "contract PanopticPoolV2",
17454
+ type: "address"
17455
+ },
17456
+ {
17457
+ name: "account",
17458
+ internalType: "address",
17459
+ type: "address"
17460
+ },
17461
+ {
17462
+ name: "positionIdListTo",
17463
+ internalType: "TokenId[]",
17464
+ type: "uint256[]"
17465
+ },
17466
+ {
17467
+ name: "usePremiaAsCollateral",
17468
+ internalType: "LeftRightUnsigned",
17469
+ type: "uint256"
17470
+ },
17471
+ {
17472
+ name: "flashToken",
17473
+ internalType: "address",
17474
+ type: "address"
17475
+ },
17476
+ {
17477
+ name: "flashAmount",
17478
+ internalType: "uint256",
17479
+ type: "uint256"
17480
+ },
17481
+ {
17482
+ name: "nativeFundingAmount",
17483
+ internalType: "uint256",
17484
+ type: "uint256"
17485
+ },
17486
+ {
17487
+ name: "preSwapTarget",
17488
+ internalType: "address",
17489
+ type: "address"
17490
+ },
17491
+ {
17492
+ name: "preSwapCallData",
17493
+ internalType: "bytes",
17494
+ type: "bytes"
17495
+ },
17496
+ {
17497
+ name: "preSwapTokenIn",
17498
+ internalType: "address",
17499
+ type: "address"
17500
+ },
17501
+ {
17502
+ name: "preSwapAmountIn",
17503
+ internalType: "uint256",
17504
+ type: "uint256"
17505
+ },
17506
+ {
17507
+ name: "swapTarget",
17508
+ internalType: "address",
17509
+ type: "address"
17510
+ },
17511
+ {
17512
+ name: "swapCallData",
17513
+ internalType: "bytes",
17514
+ type: "bytes"
17515
+ },
17516
+ {
17517
+ name: "swapTokenIn",
17518
+ internalType: "address",
17519
+ type: "address"
17520
+ },
17521
+ {
17522
+ name: "swapAmountIn",
17523
+ internalType: "uint256",
17524
+ type: "uint256"
17525
+ },
17526
+ {
17527
+ name: "minDelta0",
17528
+ internalType: "int256",
17529
+ type: "int256"
17530
+ },
17531
+ {
17532
+ name: "minDelta1",
17533
+ internalType: "int256",
17534
+ type: "int256"
17535
+ }
17536
+ ]
17537
+ }],
17538
+ name: "quoteLiquidation",
17539
+ outputs: [
17540
+ {
17541
+ name: "bonus0",
17542
+ internalType: "int256",
17543
+ type: "int256"
17544
+ },
17545
+ {
17546
+ name: "bonus1",
17547
+ internalType: "int256",
17548
+ type: "int256"
17549
+ },
17550
+ {
17551
+ name: "shortfall0",
17552
+ internalType: "uint256",
17553
+ type: "uint256"
17554
+ },
17555
+ {
17556
+ name: "shortfall1",
17557
+ internalType: "uint256",
17558
+ type: "uint256"
17559
+ },
17560
+ {
17561
+ name: "protocolLoss0",
17562
+ internalType: "uint256",
17563
+ type: "uint256"
17564
+ },
17565
+ {
17566
+ name: "protocolLoss1",
17567
+ internalType: "uint256",
17568
+ type: "uint256"
17569
+ }
17570
+ ],
17571
+ stateMutability: "payable"
17572
+ },
17573
+ {
17574
+ type: "function",
17575
+ inputs: [{
17576
+ name: "newOwner",
17577
+ internalType: "address",
17578
+ type: "address"
17579
+ }],
17580
+ name: "setOwner",
17581
+ outputs: [],
17582
+ stateMutability: "nonpayable"
17583
+ },
17584
+ {
17585
+ type: "function",
17586
+ inputs: [
17587
+ {
17588
+ name: "token",
17589
+ internalType: "address",
17590
+ type: "address"
17591
+ },
17592
+ {
17593
+ name: "to",
17594
+ internalType: "address",
17595
+ type: "address"
17596
+ },
17597
+ {
17598
+ name: "amount",
17599
+ internalType: "uint256",
17600
+ type: "uint256"
17601
+ }
17602
+ ],
17603
+ name: "sweep",
17604
+ outputs: [],
17605
+ stateMutability: "nonpayable"
17606
+ },
17607
+ {
17608
+ type: "event",
17609
+ anonymous: false,
17610
+ inputs: [{
17611
+ name: "user",
17612
+ internalType: "address",
17613
+ type: "address",
17614
+ indexed: true
17615
+ }, {
17616
+ name: "newOwner",
17617
+ internalType: "address",
17618
+ type: "address",
17619
+ indexed: true
17620
+ }],
17621
+ name: "OwnerUpdated"
17622
+ },
17623
+ {
17624
+ type: "error",
17625
+ inputs: [],
17626
+ name: "ApproveFailed"
17627
+ },
17628
+ {
17629
+ type: "error",
17630
+ inputs: [],
17631
+ name: "CallFailed"
17632
+ },
17633
+ {
17634
+ type: "error",
17635
+ inputs: [{
17636
+ name: "delta0",
17637
+ internalType: "int256",
17638
+ type: "int256"
17639
+ }, {
17640
+ name: "delta1",
17641
+ internalType: "int256",
17642
+ type: "int256"
17643
+ }],
17644
+ name: "InsufficientDelta"
17645
+ },
17646
+ {
17647
+ type: "error",
17648
+ inputs: [],
17649
+ name: "SwapFailed"
17650
+ },
17651
+ {
17652
+ type: "error",
17653
+ inputs: [
17654
+ {
17655
+ name: "token",
17656
+ internalType: "address",
17657
+ type: "address"
17658
+ },
17659
+ {
17660
+ name: "from",
17661
+ internalType: "address",
17662
+ type: "address"
17663
+ },
17664
+ {
17665
+ name: "amount",
17666
+ internalType: "uint256",
17667
+ type: "uint256"
17668
+ },
17669
+ {
17670
+ name: "balance",
17671
+ internalType: "uint256",
17672
+ type: "uint256"
17673
+ }
17674
+ ],
17675
+ name: "TransferFailed"
17676
+ },
17677
+ {
17678
+ type: "error",
17679
+ inputs: [],
17680
+ name: "UntrustedFlashLoanInitiator"
17681
+ }
17682
+ ];
17230
17683
  const panopticPoolV2Abi = [
17231
17684
  {
17232
17685
  type: "constructor",
@@ -17992,7 +18445,7 @@ const panopticQueryAbi = [
17992
18445
  inputs: [
17993
18446
  {
17994
18447
  name: "pool",
17995
- internalType: "contract PanopticPool",
18448
+ internalType: "contract PanopticPoolV2",
17996
18449
  type: "address"
17997
18450
  },
17998
18451
  {
@@ -18036,7 +18489,7 @@ const panopticQueryAbi = [
18036
18489
  inputs: [
18037
18490
  {
18038
18491
  name: "pool",
18039
- internalType: "contract PanopticPool",
18492
+ internalType: "contract PanopticPoolV2",
18040
18493
  type: "address"
18041
18494
  },
18042
18495
  {
@@ -18068,7 +18521,7 @@ const panopticQueryAbi = [
18068
18521
  inputs: [
18069
18522
  {
18070
18523
  name: "pool",
18071
- internalType: "contract PanopticPool",
18524
+ internalType: "contract PanopticPoolV2",
18072
18525
  type: "address"
18073
18526
  },
18074
18527
  {
@@ -18102,11 +18555,52 @@ const panopticQueryAbi = [
18102
18555
  ],
18103
18556
  stateMutability: "view"
18104
18557
  },
18558
+ {
18559
+ type: "function",
18560
+ inputs: [
18561
+ {
18562
+ name: "positionIdList",
18563
+ internalType: "TokenId[]",
18564
+ type: "uint256[]"
18565
+ },
18566
+ {
18567
+ name: "shortPremium",
18568
+ internalType: "LeftRightUnsigned",
18569
+ type: "uint256"
18570
+ },
18571
+ {
18572
+ name: "longPremium",
18573
+ internalType: "LeftRightUnsigned",
18574
+ type: "uint256"
18575
+ },
18576
+ {
18577
+ name: "positionBalanceArray",
18578
+ internalType: "PositionBalance[]",
18579
+ type: "uint256[]"
18580
+ },
18581
+ {
18582
+ name: "atTicks",
18583
+ internalType: "int24[]",
18584
+ type: "int24[]"
18585
+ }
18586
+ ],
18587
+ name: "computeNetLiquidationValue",
18588
+ outputs: [{
18589
+ name: "value0",
18590
+ internalType: "int256[]",
18591
+ type: "int256[]"
18592
+ }, {
18593
+ name: "value1",
18594
+ internalType: "int256[]",
18595
+ type: "int256[]"
18596
+ }],
18597
+ stateMutability: "pure"
18598
+ },
18105
18599
  {
18106
18600
  type: "function",
18107
18601
  inputs: [{
18108
18602
  name: "pool",
18109
- internalType: "contract PanopticPool",
18603
+ internalType: "contract PanopticPoolV2",
18110
18604
  type: "address"
18111
18605
  }, {
18112
18606
  name: "positionIdList",
@@ -18126,29 +18620,29 @@ const panopticQueryAbi = [
18126
18620
  inputs: [
18127
18621
  {
18128
18622
  name: "pool",
18129
- internalType: "contract PanopticPool",
18623
+ internalType: "contract PanopticPoolV2",
18130
18624
  type: "address"
18131
18625
  },
18132
18626
  {
18133
- name: "account",
18134
- internalType: "address",
18135
- type: "address"
18627
+ name: "tokenId",
18628
+ internalType: "TokenId",
18629
+ type: "uint256"
18136
18630
  },
18137
18631
  {
18138
- name: "positionIdList",
18139
- internalType: "TokenId[]",
18140
- type: "uint256[]"
18632
+ name: "positionSize",
18633
+ internalType: "uint128",
18634
+ type: "uint128"
18141
18635
  }
18142
18636
  ],
18143
- name: "getLiquidationPrices",
18637
+ name: "getItmAmounts",
18144
18638
  outputs: [{
18145
- name: "liquidationPriceDown",
18146
- internalType: "int24",
18147
- type: "int24"
18639
+ name: "itm0",
18640
+ internalType: "int256",
18641
+ type: "int256"
18148
18642
  }, {
18149
- name: "liquidationPriceUp",
18150
- internalType: "int24",
18151
- type: "int24"
18643
+ name: "itm1",
18644
+ internalType: "int256",
18645
+ type: "int256"
18152
18646
  }],
18153
18647
  stateMutability: "view"
18154
18648
  },
@@ -18161,25 +18655,25 @@ const panopticQueryAbi = [
18161
18655
  type: "address"
18162
18656
  },
18163
18657
  {
18164
- name: "tokenId",
18165
- internalType: "TokenId",
18166
- type: "uint256"
18658
+ name: "account",
18659
+ internalType: "address",
18660
+ type: "address"
18167
18661
  },
18168
18662
  {
18169
- name: "positionSize",
18170
- internalType: "uint128",
18171
- type: "uint128"
18663
+ name: "positionIdList",
18664
+ internalType: "TokenId[]",
18665
+ type: "uint256[]"
18172
18666
  }
18173
18667
  ],
18174
- name: "getItmAmounts",
18668
+ name: "getLiquidationPrices",
18175
18669
  outputs: [{
18176
- name: "itm0",
18177
- internalType: "int256",
18178
- type: "int256"
18670
+ name: "liquidationPriceDown",
18671
+ internalType: "int24",
18672
+ type: "int24"
18179
18673
  }, {
18180
- name: "itm1",
18181
- internalType: "int256",
18182
- type: "int256"
18674
+ name: "liquidationPriceUp",
18675
+ internalType: "int24",
18676
+ type: "int24"
18183
18677
  }],
18184
18678
  stateMutability: "view"
18185
18679
  },
@@ -18188,7 +18682,7 @@ const panopticQueryAbi = [
18188
18682
  inputs: [
18189
18683
  {
18190
18684
  name: "pool",
18191
- internalType: "contract PanopticPool",
18685
+ internalType: "contract PanopticPoolV2",
18192
18686
  type: "address"
18193
18687
  },
18194
18688
  {
@@ -18224,7 +18718,7 @@ const panopticQueryAbi = [
18224
18718
  inputs: [
18225
18719
  {
18226
18720
  name: "pool",
18227
- internalType: "contract PanopticPool",
18721
+ internalType: "contract PanopticPoolV2",
18228
18722
  type: "address"
18229
18723
  },
18230
18724
  {
@@ -18243,20 +18737,20 @@ const panopticQueryAbi = [
18243
18737
  type: "uint256[]"
18244
18738
  },
18245
18739
  {
18246
- name: "atTick",
18247
- internalType: "int24",
18248
- type: "int24"
18740
+ name: "atTicks",
18741
+ internalType: "int24[]",
18742
+ type: "int24[]"
18249
18743
  }
18250
18744
  ],
18251
18745
  name: "getNetLiquidationValue",
18252
18746
  outputs: [{
18253
18747
  name: "value0",
18254
- internalType: "int256",
18255
- type: "int256"
18748
+ internalType: "int256[]",
18749
+ type: "int256[]"
18256
18750
  }, {
18257
18751
  name: "value1",
18258
- internalType: "int256",
18259
- type: "int256"
18752
+ internalType: "int256[]",
18753
+ type: "int256[]"
18260
18754
  }],
18261
18755
  stateMutability: "view"
18262
18756
  },
@@ -18265,7 +18759,7 @@ const panopticQueryAbi = [
18265
18759
  inputs: [
18266
18760
  {
18267
18761
  name: "pool",
18268
- internalType: "contract PanopticPool",
18762
+ internalType: "contract PanopticPoolV2",
18269
18763
  type: "address"
18270
18764
  },
18271
18765
  {
@@ -18301,32 +18795,54 @@ const panopticQueryAbi = [
18301
18795
  inputs: [
18302
18796
  {
18303
18797
  name: "pool",
18304
- internalType: "contract PanopticPool",
18798
+ internalType: "contract PanopticPoolV2",
18305
18799
  type: "address"
18306
18800
  },
18307
18801
  {
18308
- name: "account",
18309
- internalType: "address",
18802
+ name: "tokenId",
18803
+ internalType: "TokenId",
18804
+ type: "uint256"
18805
+ },
18806
+ {
18807
+ name: "atTick",
18808
+ internalType: "int24",
18809
+ type: "int24"
18810
+ }
18811
+ ],
18812
+ name: "getRequiredBase",
18813
+ outputs: [{
18814
+ name: "",
18815
+ internalType: "uint256",
18816
+ type: "uint256"
18817
+ }],
18818
+ stateMutability: "view"
18819
+ },
18820
+ {
18821
+ type: "function",
18822
+ inputs: [
18823
+ {
18824
+ name: "pool",
18825
+ internalType: "contract PanopticPoolV2",
18310
18826
  type: "address"
18311
18827
  },
18312
18828
  {
18313
- name: "atTicks",
18314
- internalType: "int24[]",
18315
- type: "int24[]"
18829
+ name: "startTick",
18830
+ internalType: "int24",
18831
+ type: "int24"
18316
18832
  },
18317
18833
  {
18318
- name: "positionIdList",
18319
- internalType: "TokenId[]",
18320
- type: "uint256[]"
18834
+ name: "nTicks",
18835
+ internalType: "uint256",
18836
+ type: "uint256"
18321
18837
  }
18322
18838
  ],
18323
- name: "getPortfolioValueAtTicks",
18839
+ name: "getTickNets",
18324
18840
  outputs: [{
18325
- name: "value0",
18841
+ name: "tickData",
18326
18842
  internalType: "int256[]",
18327
18843
  type: "int256[]"
18328
18844
  }, {
18329
- name: "value1",
18845
+ name: "liquidityNets",
18330
18846
  internalType: "int256[]",
18331
18847
  type: "int256[]"
18332
18848
  }],
@@ -18336,26 +18852,30 @@ const panopticQueryAbi = [
18336
18852
  type: "function",
18337
18853
  inputs: [
18338
18854
  {
18339
- name: "pool",
18340
- internalType: "contract PanopticPool",
18855
+ name: "univ3pool",
18856
+ internalType: "contract IUniswapV3Pool",
18341
18857
  type: "address"
18342
18858
  },
18343
18859
  {
18344
- name: "tokenId",
18345
- internalType: "TokenId",
18346
- type: "uint256"
18347
- },
18348
- {
18349
- name: "atTick",
18860
+ name: "startTick",
18350
18861
  internalType: "int24",
18351
18862
  type: "int24"
18863
+ },
18864
+ {
18865
+ name: "nTicks",
18866
+ internalType: "uint256",
18867
+ type: "uint256"
18352
18868
  }
18353
18869
  ],
18354
- name: "getRequiredBase",
18870
+ name: "getTickNetsV3",
18355
18871
  outputs: [{
18356
- name: "",
18357
- internalType: "uint256",
18358
- type: "uint256"
18872
+ name: "tickData",
18873
+ internalType: "int256[]",
18874
+ type: "int256[]"
18875
+ }, {
18876
+ name: "liquidityNets",
18877
+ internalType: "int256[]",
18878
+ type: "int256[]"
18359
18879
  }],
18360
18880
  stateMutability: "view"
18361
18881
  },
@@ -18363,10 +18883,20 @@ const panopticQueryAbi = [
18363
18883
  type: "function",
18364
18884
  inputs: [
18365
18885
  {
18366
- name: "pool",
18367
- internalType: "contract PanopticPool",
18886
+ name: "manager",
18887
+ internalType: "contract IPoolManager",
18368
18888
  type: "address"
18369
18889
  },
18890
+ {
18891
+ name: "poolId",
18892
+ internalType: "PoolId",
18893
+ type: "bytes32"
18894
+ },
18895
+ {
18896
+ name: "tickSpacing",
18897
+ internalType: "int24",
18898
+ type: "int24"
18899
+ },
18370
18900
  {
18371
18901
  name: "startTick",
18372
18902
  internalType: "int24",
@@ -18378,7 +18908,7 @@ const panopticQueryAbi = [
18378
18908
  type: "uint256"
18379
18909
  }
18380
18910
  ],
18381
- name: "getTickNets",
18911
+ name: "getTickNetsV4",
18382
18912
  outputs: [{
18383
18913
  name: "tickData",
18384
18914
  internalType: "int256[]",
@@ -18395,7 +18925,7 @@ const panopticQueryAbi = [
18395
18925
  inputs: [
18396
18926
  {
18397
18927
  name: "pool",
18398
- internalType: "contract PanopticPool",
18928
+ internalType: "contract PanopticPoolV2",
18399
18929
  type: "address"
18400
18930
  },
18401
18931
  {
@@ -18427,7 +18957,7 @@ const panopticQueryAbi = [
18427
18957
  inputs: [
18428
18958
  {
18429
18959
  name: "pool",
18430
- internalType: "contract PanopticPool",
18960
+ internalType: "contract PanopticPoolV2",
18431
18961
  type: "address"
18432
18962
  },
18433
18963
  {
@@ -18454,7 +18984,7 @@ const panopticQueryAbi = [
18454
18984
  inputs: [
18455
18985
  {
18456
18986
  name: "pool",
18457
- internalType: "contract PanopticPool",
18987
+ internalType: "contract PanopticPoolV2",
18458
18988
  type: "address"
18459
18989
  },
18460
18990
  {
@@ -23726,24 +24256,25 @@ var _1 = {
23726
24256
  "collateralTracker1": "0x69E9f9e44E5F52237493b980dd7306198C64A4E4"
23727
24257
  } },
23728
24258
  "v2": {
23729
- "semiFungiblePositionManagerV4": "0x000000000000047534b9E1D528ED997169865a64",
23730
- "semiFungiblePositionManagerV3": "0x000000000000031d296bBA22f188472157eEb01f",
23731
- "builderFactory": "0x00000000000008D41F2cd5bF144F61cEB3661F98",
23732
- "riskEngine": "0x0000000000000e673aECBDB5f5fE5DFAf4a8e9Ac",
23733
- "panopticPoolImplementation": "0x00000000000010bb6695dAAC60D0515c0A01a948",
23734
- "collateralTrackerImplementation": "0x0000000000002038055dB8f2B2Fd356598935C51",
24259
+ "semiFungiblePositionManagerV4": "0x00000000000005C3287f136Ef5AF56c68Ea6849f",
24260
+ "semiFungiblePositionManagerV3": "0x00000000000005E4693aDc8Ec0f12D686f728198",
24261
+ "builderFactory": "0x0000000000000a3D22E158417AA639D7F71b0FF7",
24262
+ "riskEngine": "0x0000000000000E65545005B26207D7edFd031260",
24263
+ "panopticPoolImplementation": "0x000000000000135429F0DaCaB61639Bf6a63EbbC",
24264
+ "collateralTrackerImplementation": "0x0000000000001d9c38CA405A2e04420865A08A33",
23735
24265
  "panopticFactoryV4": "0x0000000000000c51d0f8cf4bd9adE7191372a625",
23736
24266
  "panopticFactoryV3": "0x0000000000000aDC9A108591e718F2aee963a2a7",
23737
24267
  "panopticHelper": "0x0000000000000000000000000000000000000000",
23738
- "panopticMath": "0x000000000000301F5BC0171C75967b8e78a92b10",
24268
+ "panopticMath": "0x000000000000334bbd65C195581cf59ECf315932",
23739
24269
  "panopticQuery": "0x0000000000000e1aE9c66C1c3B0A547D23389C93",
23740
- "interactionHelper": "0x00000000000040ae7CD505F4E0e3F34195D8c08C"
24270
+ "interactionHelper": "0x00000000000041fe14Ce3c2392337CE501aE8328"
23741
24271
  }
23742
24272
  },
23743
24273
  "riskEngines": [
23744
24274
  "0x000000000000075e29cdaa9cb640a69e148ca7da",
23745
24275
  "0x0000000000000fe1e261f66ce2f44def4f5ae0cb",
23746
- "0x0000000000000e673aECBDB5f5fE5DFAf4a8e9Ac"
24276
+ "0x0000000000000e673aECBDB5f5fE5DFAf4a8e9Ac",
24277
+ "0x0000000000000E65545005B26207D7edFd031260"
23747
24278
  ],
23748
24279
  "markets": { "ethUsdc30bps": {
23749
24280
  "currency0": "0x0000000000000000000000000000000000000000",
@@ -23765,6 +24296,63 @@ var _1 = {
23765
24296
  "weth": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2"
23766
24297
  }
23767
24298
  };
24299
+ var _4663 = {
24300
+ "chainId": 4663,
24301
+ "infrastructure": {
24302
+ "uniswapV3Factory": "0x1f7d7550b1b028f7571e69a784071f0205fd2efa",
24303
+ "poolManager": "0x8366a39cc670b4001a1121b8f6a443a643e40951",
24304
+ "stateView": "0xf3334192d15450cdd385c8b70e03f9a6bd9e673b"
24305
+ },
24306
+ "hypovault": {
24307
+ "core": {
24308
+ "hypoVaultImplementation": "0x0000000000000000000000000000000000000000",
24309
+ "factory": "0x0000000000000000000000000000000000000000",
24310
+ "accountant": "0x0000000000000000000000000000000000000000",
24311
+ "rolesAuthority": "0x0000000000000000000000000000000000000000",
24312
+ "collateralTrackerDecoderAndSanitizer": "0x0000000000000000000000000000000000000000"
24313
+ },
24314
+ "vaults": {
24315
+ "wethPlpVault": "0x0000000000000000000000000000000000000000",
24316
+ "usdcPlpVault": "0x0000000000000000000000000000000000000000"
24317
+ },
24318
+ "managers": {
24319
+ "wethPlpVaultManager": "0x0000000000000000000000000000000000000000",
24320
+ "usdcPlpVaultManager": "0x0000000000000000000000000000000000000000"
24321
+ },
24322
+ "turnkeySigners": {
24323
+ "wethPlpVaultManager": "0x0000000000000000000000000000000000000000",
24324
+ "usdcPlpVaultManager": "0x0000000000000000000000000000000000000000"
24325
+ }
24326
+ },
24327
+ "panoptic": {
24328
+ "pool": {
24329
+ "version": "v4",
24330
+ "panopticPool": "0x0000000000000000000000000000000000000000",
24331
+ "collateralTracker0": "0x0000000000000000000000000000000000000000",
24332
+ "collateralTracker1": "0x0000000000000000000000000000000000000000"
24333
+ },
24334
+ "v2": {
24335
+ "semiFungiblePositionManagerV4": "0x00000000000005C3287f136Ef5AF56c68Ea6849f",
24336
+ "semiFungiblePositionManagerV3": "0x00000000000005E4693aDc8Ec0f12D686f728198",
24337
+ "builderFactory": "0x0000000000000a3D22E158417AA639D7F71b0FF7",
24338
+ "riskEngine": "0x0000000000000E65545005B26207D7edFd031260",
24339
+ "panopticPoolImplementation": "0x000000000000135429F0DaCaB61639Bf6a63EbbC",
24340
+ "collateralTrackerImplementation": "0x0000000000001d9c38CA405A2e04420865A08A33",
24341
+ "panopticFactoryV4": "0x0000000000000c51d0f8cf4bd9adE7191372a625",
24342
+ "panopticFactoryV3": "0x0000000000000aDC9A108591e718F2aee963a2a7",
24343
+ "panopticHelper": "0x0000000000000000000000000000000000000000",
24344
+ "panopticMath": "0x000000000000334bbd65C195581cf59ECf315932",
24345
+ "panopticQuery": "0x0000000000000e1aE9c66C1c3B0A547D23389C93",
24346
+ "interactionHelper": "0x00000000000041fe14Ce3c2392337CE501aE8328"
24347
+ }
24348
+ },
24349
+ "riskEngines": ["0x0000000000000E65545005B26207D7edFd031260"],
24350
+ "markets": {},
24351
+ "subgraphs": {
24352
+ "hypovault": "",
24353
+ "panoptic": "https://api.goldsky.com/api/public/project_cl9gc21q105380hxuh8ks53k3/subgraphs/panoptic-subgraph-robinhood/v2_prod/gn"
24354
+ }
24355
+ };
23768
24356
  var _8453 = {
23769
24357
  "chainId": 8453,
23770
24358
  "infrastructure": {
@@ -23893,6 +24481,7 @@ var _11155111 = {
23893
24481
  };
23894
24482
  var chainDeployments_data_default = {
23895
24483
  "1": _1,
24484
+ "4663": _4663,
23896
24485
  "8453": _8453,
23897
24486
  "11155111": _11155111
23898
24487
  };
@@ -23902,6 +24491,7 @@ var chainDeployments_data_default = {
23902
24491
  const MAINNET_CHAIN_ID = 1;
23903
24492
  const SEPOLIA_CHAIN_ID = 11155111;
23904
24493
  const BASE_CHAIN_ID = 8453;
24494
+ const ROBINHOOD_CHAIN_ID = 4663;
23905
24495
  const CHAIN_DEPLOYMENTS = chainDeployments_data_default;
23906
24496
  function getChainDeployment(chainId) {
23907
24497
  return CHAIN_DEPLOYMENTS[chainId];
@@ -23941,6 +24531,14 @@ const SEPOLIA_ETH_USDC_5BPS_MARKET = getEthUsdcMarket(SEPOLIA_DEPLOYMENT);
23941
24531
  const MAINNET_RISK_ENGINES = MAINNET_DEPLOYMENT.riskEngines;
23942
24532
  const BASE_RISK_ENGINES = BASE_DEPLOYMENT.riskEngines;
23943
24533
  const SEPOLIA_RISK_ENGINES = SEPOLIA_DEPLOYMENT.riskEngines;
24534
+ const ROBINHOOD_DEPLOYMENT = CHAIN_DEPLOYMENTS[ROBINHOOD_CHAIN_ID];
24535
+ const ROBINHOOD_HYPOVAULT_CORE_ADDRESSES = ROBINHOOD_DEPLOYMENT.hypovault.core;
24536
+ const ROBINHOOD_HYPOVAULT_ADDRESSES = ROBINHOOD_DEPLOYMENT.hypovault.vaults;
24537
+ const ROBINHOOD_HYPOVAULT_MANAGER_ADDRESSES = ROBINHOOD_DEPLOYMENT.hypovault.managers;
24538
+ const ROBINHOOD_HYPOVAULT_MANAGER_TURNKEY_SIGNERS = ROBINHOOD_DEPLOYMENT.hypovault.turnkeySigners;
24539
+ const ROBINHOOD_PANOPTIC_POOL_ADDRESSES = ROBINHOOD_DEPLOYMENT.panoptic.pool;
24540
+ const ROBINHOOD_PANOPTIC_V2_ADDRESSES = ROBINHOOD_DEPLOYMENT.panoptic.v2;
24541
+ const ROBINHOOD_RISK_ENGINES = ROBINHOOD_DEPLOYMENT.riskEngines;
23944
24542
 
23945
24543
  //#endregion
23946
24544
  //#region ../deployments/src/vaultDisplayNames.js
@@ -24180,6 +24778,7 @@ const MAINNET_DEPLOYMENT$6 = requireChainDeployment(MAINNET_CHAIN_ID);
24180
24778
  const MAX_PRICE_DEVIATION = 100;
24181
24779
  const WSPCXX_USDC_MAX_PRICE_DEVIATION = 1e4;
24182
24780
  const DEFAULT_TRIGGER_TICK = 150;
24781
+ const MAINNET_LEGACY_MAX_PRICE_DEVIATION = 5e3;
24183
24782
  const MAINNET_USDC_WETH_5BPS_V3_POOL = MAINNET_DEPLOYMENT$6.panoptic.additionalPools?.ethUsdc5bpsV3;
24184
24783
  if (MAINNET_USDC_WETH_5BPS_V3_POOL === void 0) throw new Error("Missing mainnet USDC/WETH 5bps v3 Panoptic pool deployment");
24185
24784
  const MAINNET_USDC_WETH_5BPS_V3_POOL_INFO = {
@@ -24226,7 +24825,7 @@ const MAINNET_USDC_PLP_POOL_INFOS = [
24226
24825
  MAINNET_USDC_WETH_5BPS_V3_POOL_INFO
24227
24826
  ];
24228
24827
  const MAINNET_LEGACY_DEFAULT_POOL_INFOS = [{
24229
- maxPriceDeviation: MAX_PRICE_DEVIATION,
24828
+ maxPriceDeviation: MAINNET_LEGACY_MAX_PRICE_DEVIATION,
24230
24829
  pool: "0x000000007588B488d180899cDEa2080a886D2441",
24231
24830
  token0: getEthUsdcMarket(MAINNET_DEPLOYMENT$6).currency0,
24232
24831
  token1: getEthUsdcMarket(MAINNET_DEPLOYMENT$6).currency1,
@@ -25928,6 +26527,8 @@ async function resolveMainnetV3AuthorizationArtifacts({ viemClient, chainId, vau
25928
26527
  //#endregion
25929
26528
  //#region src/hypoVault/mainnetVaultPoolHistory.ts
25930
26529
  const MAINNET_DEPLOYMENT$1 = requireChainDeployment(MAINNET_CHAIN_ID);
26530
+ const MAINNET_POOL_RETIREMENT_BLOCK = 25898997n;
26531
+ const MAINNET_POOL_RETIREMENT_TRANSACTION = "0xfca6a6dd0f081649dd6f50496175a58e6a119d574b594390beab23618b05ba2c";
25931
26532
  const POOL_INFO_ARRAY_ABI = {
25932
26533
  type: "tuple[]",
25933
26534
  components: [
@@ -25982,7 +26583,11 @@ const usdcTwoPoolInitialDeviation = MainnetUSDCPLPPreviousVaultPoolInfos.poolInf
25982
26583
  */
25983
26584
  const MAINNET_VAULT_HISTORIES = [{
25984
26585
  vaultAddress: MAINNET_DEPLOYMENT$1.hypovault.vaults.wethPlpVault,
25985
- poolConfigurations: [poolConfiguration(25296753n, "0xdb7ed1d63d3f3b158fca070bdbf8d0268ed8e5c398cae772a1facb40987a838e", wethInitialPoolInfos), poolConfiguration(25704951n, "0xb6d62abb10728655c4c9b612abcd82af9e93c5906357eb6be41cabb224b32118", MainnetWETHPLPV3AuthorizedVaultPoolInfos.poolInfos)],
26586
+ poolConfigurations: [
26587
+ poolConfiguration(25296753n, "0xdb7ed1d63d3f3b158fca070bdbf8d0268ed8e5c398cae772a1facb40987a838e", wethInitialPoolInfos),
26588
+ poolConfiguration(25704951n, "0xb6d62abb10728655c4c9b612abcd82af9e93c5906357eb6be41cabb224b32118", MainnetWETHPLPV3AuthorizedVaultPoolInfos.poolInfos),
26589
+ poolConfiguration(MAINNET_POOL_RETIREMENT_BLOCK, MAINNET_POOL_RETIREMENT_TRANSACTION, MainnetWETHPLPVaultPoolInfos.poolInfos)
26590
+ ],
25986
26591
  managerRootTransitions: [
25987
26592
  {
25988
26593
  activationBlockNumber: 25296743n,
@@ -25998,6 +26603,11 @@ const MAINNET_VAULT_HISTORIES = [{
25998
26603
  activationBlockNumber: 25704951n,
25999
26604
  transactionHash: "0xb6d62abb10728655c4c9b612abcd82af9e93c5906357eb6be41cabb224b32118",
26000
26605
  manageRoot: "0x4d2fb008ac93d2a363881e31e65f31bacbefef39efb44cf2f95b65cf49c65c7d"
26606
+ },
26607
+ {
26608
+ activationBlockNumber: MAINNET_POOL_RETIREMENT_BLOCK,
26609
+ transactionHash: MAINNET_POOL_RETIREMENT_TRANSACTION,
26610
+ manageRoot: "0x99baae2a0ddf55db31bf2e340856e6e76c87d37add86e95483bd7d1bad93e95c"
26001
26611
  }
26002
26612
  ]
26003
26613
  }, {
@@ -26006,7 +26616,8 @@ const MAINNET_VAULT_HISTORIES = [{
26006
26616
  poolConfiguration(25296798n, "0x37f7ea4ec78c071b6301576745b22f411ac729363fab4202213c7191d89f48c6", usdcInitialPoolInfos),
26007
26617
  poolConfiguration(25332015n, "0xbe29b782e3aab5cb28476248ff4f5ea67cb6adc16bb5488ec7a1a27f07e59752", usdcTwoPoolInitialDeviation),
26008
26618
  poolConfiguration(25332931n, "0xb0cc8525abcf3c507eb46e8654250cc67e500886f031adec8cfb5b0baf7c2028", MainnetUSDCPLPPreviousVaultPoolInfos.poolInfos),
26009
- poolConfiguration(25704951n, "0xb6d62abb10728655c4c9b612abcd82af9e93c5906357eb6be41cabb224b32118", MainnetUSDCPLPV3AuthorizedVaultPoolInfos.poolInfos)
26619
+ poolConfiguration(25704951n, "0xb6d62abb10728655c4c9b612abcd82af9e93c5906357eb6be41cabb224b32118", MainnetUSDCPLPV3AuthorizedVaultPoolInfos.poolInfos),
26620
+ poolConfiguration(MAINNET_POOL_RETIREMENT_BLOCK, MAINNET_POOL_RETIREMENT_TRANSACTION, MainnetUSDCPLPVaultPoolInfos.poolInfos)
26010
26621
  ],
26011
26622
  managerRootTransitions: [
26012
26623
  {
@@ -26028,6 +26639,11 @@ const MAINNET_VAULT_HISTORIES = [{
26028
26639
  activationBlockNumber: 25704951n,
26029
26640
  transactionHash: "0xb6d62abb10728655c4c9b612abcd82af9e93c5906357eb6be41cabb224b32118",
26030
26641
  manageRoot: "0x3223880461fe3e61dc96d9d81579ae943507ec95f17cba100b462cec53967e14"
26642
+ },
26643
+ {
26644
+ activationBlockNumber: MAINNET_POOL_RETIREMENT_BLOCK,
26645
+ transactionHash: MAINNET_POOL_RETIREMENT_TRANSACTION,
26646
+ manageRoot: "0x29587b0f67aefbf4a11ecffe3bfb56ebef54e441df95fa260d44273d182027b7"
26031
26647
  }
26032
26648
  ]
26033
26649
  }];
@@ -31136,6 +31752,7 @@ const alchemyChains = {
31136
31752
  8453: "base-mainnet",
31137
31753
  10: "opt-mainnet",
31138
31754
  130: "unichain-mainnet",
31755
+ 4663: "robinhood-mainnet",
31139
31756
  11155111: "eth-sepolia"
31140
31757
  };
31141
31758
  function getAlchemyRpcUrl(chainId, alchemyApiKey) {
@@ -31396,5 +32013,5 @@ async function getIrmCurve(params) {
31396
32013
  }
31397
32014
 
31398
32015
  //#endregion
31399
- export { BASE_CHAIN_ID, BASE_DEPLOYMENT, BASE_ETH_USDC_5BPS_MARKET, BASE_HYPOVAULT_ADDRESSES, BASE_HYPOVAULT_CORE_ADDRESSES, BASE_HYPOVAULT_MANAGER_ADDRESSES, BASE_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, BASE_PANOPTIC_POOL_ADDRESSES, BASE_PANOPTIC_V2_ADDRESSES, BORROW_INDEX_BITS, BPS_SCALE, BaseUSDCPLPStrategistLeaves, BaseUSDCPLPVaultPoolInfos, BaseWETHPLPStrategistLeaves, BaseWETHPLPVaultPoolInfos, CHAIN_DEPLOYMENTS, CollateralTrackerAbi, CollateralTrackerV1_1Abi, Erc1155Abi, Erc20Abi, HypoVaultAbi, HypoVaultManagerConfigSchema, HypoVaultManagerWithMerkleVerificationAbi, MAINNET_CHAIN_ID, MAINNET_DEPLOYMENT, MAINNET_ETH_USDC_5BPS_V3_PANOPTIC_POOL_ADDRESSES, MAINNET_PANOPTIC_V2_ADDRESSES, MAINNET_RISK_ENGINES, MAINNET_USDC_PLP_COMPILED_POOL_POLICY, MAINNET_USDC_PLP_POOL_POLICY, MAINNET_V3_AUTHORIZATION_BLOCK, MAINNET_WETH_PLP_COMPILED_POOL_POLICY, MAINNET_WETH_PLP_POOL_POLICY, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MAX_VAULT_PRIORITY_FEE_PER_GAS, MAX_VAULT_TRANSACTION_GAS_COST, MIN_VAULT_PRIORITY_FEE_PER_GAS, MainnetLegacyUSDCPLPStrategistLeaves, MainnetLegacyWETHPLPStrategistLeaves, MainnetUSDCPLPLegacyVaultPoolInfos, MainnetUSDCPLPPreviousStrategistLeaves, MainnetUSDCPLPPreviousVaultPoolInfos, MainnetUSDCPLPStrategistLeaves, MainnetUSDCPLPV3AuthorizedStrategistLeaves, MainnetUSDCPLPV3AuthorizedVaultPoolInfos, MainnetUSDCPLPVaultPoolInfos, MainnetWETHPLPLegacyVaultPoolInfos, MainnetWETHPLPPreviousStrategistLeaves, MainnetWETHPLPPreviousVaultPoolInfos, MainnetWETHPLPStrategistLeaves, MainnetWETHPLPV3AuthorizedStrategistLeaves, MainnetWETHPLPV3AuthorizedVaultPoolInfos, MainnetWETHPLPVaultPoolInfos, Multicall3Abi, NonFungiblePositionManagerAbi, PanopticFactoryV3Abi, PanopticFactoryV4Abi, PanopticHelperAbi, PanopticPoolAbi, PanopticPoolV1_1Abi, PanopticQueryV1_1Abi, PanopticVaultAccountantAbi, PanopticVaultAccountantManagerInputAbi, PoolManagerAbi, RATE_AT_TARGET_BITS, RescueDistributorAbi, SECONDS_PER_YEAR, SEPOLIA_CHAIN_ID, SEPOLIA_DEPLOYMENT, SEPOLIA_ETH_USDC_5BPS_MARKET, SEPOLIA_HYPOVAULT_ADDRESSES, SEPOLIA_HYPOVAULT_CORE_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, SEPOLIA_PANOPTIC_POOL_ADDRESSES, SEPOLIA_PANOPTIC_V2_ADDRESSES, SemiFungiblePositionManagerAbi, SemiFungiblePositionManagerV1_1Abi, SepoliaUSDCPLPStrategistLeaves, SepoliaUSDCPLPVaultPoolInfos, SepoliaWETHPLPStrategistLeaves, SepoliaWETHPLPVaultPoolInfos, Simple7702AccountAbi, StateViewAbi, TRUSTED_VAULT_SHARE_PRICE_STATUSES, UNREALIZED_INTEREST_BITS, UniswapHelperAbi, UniswapHelperV1_1Abi, UniswapMigratorAbi, UniswapV3FactoryAbi, UniswapV3PoolAbi, UsdcPlpVaultBaseProdConfig, UsdcPlpVaultMainnetLegacyConfig, UsdcPlpVaultMainnetProdConfig, UsdcPlpVaultSepoliaDevConfig, UsdcPlpVaultSepoliaProdConfig, VAULT_DISPLAY_NAMES_PER_CHAIN, VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN, VaultApyPreInceptionBlockError, VaultTransactionFeeEstimationError, VaultTransactionGasCostLimitError, VaultTransactionReplacementLimitError, WAD, WETHAbi, WethPlpVaultBaseProdConfig, WethPlpVaultMainnetLegacyConfig, WethPlpVaultMainnetProdConfig, WethPlpVaultSepoliaDevConfig, WethPlpVaultSepoliaProdConfig, adjustUnderlyingIdleBalance, annualizePerSecondRateWad, applyVaultTransactionGasCostLimit, bufferVaultTransactionGasEstimate, buildClaimVaultShareCalldatas, buildExecuteDepositCalldatas, buildExecuteWithdrawalCalldatas, buildManageArgs, buildManagerInput, buildManagerInputAtBlock, buildRequestWithdrawalCalldatas, buildVaultManagerInput, buildVaultManagerInputAtBlock, builderFactoryAbi, builderWalletAbi, calculateAnnualizedApyPct, calculateAssetsFromShares, calculateAvailableShares, calculateClaimableAssetsFromQueuedWithdrawals, calculateClaimableSharesFromQueuedDeposits, calculateSharesFromAssets, calculateVaultNetLendingApyPctFromTrackerInputs, calculateVaultNetLendingYieldUnderlyingFromTrackerInputs, cancelDeposit, chainToHypoVaultGraphQlAPI, clearVaultApyStrategyOverride, collateralTrackerV2Abi as collateralTrackerAbi, collateralTrackerV2Abi, computeSharePriceFromNavSnapshot, convertJsonTreeToArray, createVaultSharePriceProcessor, deriveSupplyRatePerSecWad, deriveVaultApyTimeseriesFromSharePrices, encodeApproveFunctionData, encodeCancelDepositFunctionData, encodeDepositFunctionData, encodeExecuteDepositFunctionData, encodeExecuteWithdrawalFunctionData, encodeExecuteWithdrawalMulticallFunctionData, encodeFulfillDepositsFunctionData, encodeFulfillWithdrawalsFunctionData, encodeRequestDepositFunctionData, encodeRequestWithdrawalFunctionData, encodeRequestWithdrawalMulticallFunctionData, encodeWithdrawFunctionData, executeWithdrawal, executeWithdrawalMulticall, fetchFirstDepositTimestampByVaultId, fetchVaultLendingAllocation, fetchVaultNetLendingApyPct, fetchVaultNetLendingYieldUnderlying, fetchVaultSharePriceSnapshot, fetchVaultSharePriceSnapshotWithCandidateRecovery, findLeaf, findLeafForTarget, findLeafForTargetAndSignature, formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct, generateProof, getAlchemyRpcUrl, getAlchemyWsRpcUrl, getCancelDepositContractConfig, getChainDeployment, getEthUsdcMarket, getExecuteWithdrawalContractConfig, getExecuteWithdrawalMulticallContractConfig, getHypoVaultConfigForVault, getHypoVaultGraphQLClient, getIrmCurrent, getIrmCurve, getLendingAllocationRows, getMainnetV3AuthorizationArtifactsAtBlock, getMainnetV3AuthorizationGenerations, getMainnetVaultManagerRootAtBlock, getMainnetVaultManagerRootHistory, getMainnetVaultPoolConfigurationAtBlock, getMainnetVaultPoolConfigurationHistory, getMinQueuedDepositEpoch, getProofsFromDigests, getProofsUsingTree, getRequestDepositContractConfig, getRequestWithdrawalContractConfig, getRequestWithdrawalMulticallContractConfig, getStaleOracleOverrideBytecodeForAccountant, getStaleOracleStateOverrideForAccountant, getVaultApyErrorMessage, getVaultApyStrategy, getVaultCandidatePoolInfos, getVaultDeltaHedgeHistoricalFeeQuote, getVaultDeltaHedgeInitialFeeQuote, getVaultPoolInfos, getVaultTransactionFeeQuote, getVaultTransactionReplacementFeeQuote, isExpectedHistoricalReadMiss, isIncorrectPositionListReadError, isStaleOraclePriceError, isStaleOraclePriceReadError, isSupportedChain, isTrustedVaultSharePriceStatus, packMarketState, panopticFactoryV4Abi as panopticFactoryAbi, panopticFactoryV3Abi, panopticFactoryV4Abi, panopticPoolV2Abi as panopticPoolAbi, panopticPoolV2Abi, panopticQueryAbi, parseCustomError, ratePerSecWadToAprPct, recoverVaultCandidateTokenIdsByPool, requestDeposit, requestWithdrawal, requestWithdrawalMulticall, requireChainDeployment, resolveMainnetV3AuthorizationArtifacts, resolvePositionScanFromBlock, resolveVaultDisplayName, resolveVaultHistoricalCandidatesByPool, resolveVaultPoolInfosAtBlock, resolveVaultTokenIdsByPool, riskEngineAbi, semiFungiblePositionManagerV4Abi as semiFungiblePositionManagerAbi, semiFungiblePositionManagerV3Abi, semiFungiblePositionManagerV4Abi, setVaultApyStrategyOverride, simulateCancelDeposit, simulateExecuteWithdrawal, simulateExecuteWithdrawalMulticall, simulateRequestDeposit, simulateRequestWithdrawal, simulateRequestWithdrawalMulticall, statusForVaultSharePriceSnapshot, useCancelDeposit, useClaimVaultShares, useExecuteWithdrawal, useRequestDeposit, useRequestWithdrawal, utilizationBpsToWad, utilizationPctToWad, validateVaultSignedTransactionFeeCaps, verifyVaultOpenTokenIdsAtBlock };
32016
+ export { BASE_CHAIN_ID, BASE_DEPLOYMENT, BASE_ETH_USDC_5BPS_MARKET, BASE_HYPOVAULT_ADDRESSES, BASE_HYPOVAULT_CORE_ADDRESSES, BASE_HYPOVAULT_MANAGER_ADDRESSES, BASE_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, BASE_PANOPTIC_POOL_ADDRESSES, BASE_PANOPTIC_V2_ADDRESSES, BORROW_INDEX_BITS, BPS_SCALE, BaseUSDCPLPStrategistLeaves, BaseUSDCPLPVaultPoolInfos, BaseWETHPLPStrategistLeaves, BaseWETHPLPVaultPoolInfos, CHAIN_DEPLOYMENTS, CollateralTrackerAbi, CollateralTrackerV1_1Abi, Erc1155Abi, Erc20Abi, HypoVaultAbi, HypoVaultManagerConfigSchema, HypoVaultManagerWithMerkleVerificationAbi, MAINNET_CHAIN_ID, MAINNET_DEPLOYMENT, MAINNET_ETH_USDC_5BPS_V3_PANOPTIC_POOL_ADDRESSES, MAINNET_PANOPTIC_V2_ADDRESSES, MAINNET_RISK_ENGINES, MAINNET_USDC_PLP_COMPILED_POOL_POLICY, MAINNET_USDC_PLP_POOL_POLICY, MAINNET_V3_AUTHORIZATION_BLOCK, MAINNET_WETH_PLP_COMPILED_POOL_POLICY, MAINNET_WETH_PLP_POOL_POLICY, MARKET_EPOCH_BITS, MARKET_EPOCH_SHIFT, MAX_VAULT_PRIORITY_FEE_PER_GAS, MAX_VAULT_TRANSACTION_GAS_COST, MIN_VAULT_PRIORITY_FEE_PER_GAS, MainnetLegacyUSDCPLPStrategistLeaves, MainnetLegacyWETHPLPStrategistLeaves, MainnetUSDCPLPLegacyVaultPoolInfos, MainnetUSDCPLPPreviousStrategistLeaves, MainnetUSDCPLPPreviousVaultPoolInfos, MainnetUSDCPLPStrategistLeaves, MainnetUSDCPLPV3AuthorizedStrategistLeaves, MainnetUSDCPLPV3AuthorizedVaultPoolInfos, MainnetUSDCPLPVaultPoolInfos, MainnetWETHPLPLegacyVaultPoolInfos, MainnetWETHPLPPreviousStrategistLeaves, MainnetWETHPLPPreviousVaultPoolInfos, MainnetWETHPLPStrategistLeaves, MainnetWETHPLPV3AuthorizedStrategistLeaves, MainnetWETHPLPV3AuthorizedVaultPoolInfos, MainnetWETHPLPVaultPoolInfos, Multicall3Abi, NonFungiblePositionManagerAbi, PanopticFactoryV3Abi, PanopticFactoryV4Abi, PanopticHelperAbi, PanopticPoolAbi, PanopticPoolV1_1Abi, PanopticQueryV1_1Abi, PanopticVaultAccountantAbi, PanopticVaultAccountantManagerInputAbi, PoolManagerAbi, RATE_AT_TARGET_BITS, ROBINHOOD_CHAIN_ID, ROBINHOOD_DEPLOYMENT, ROBINHOOD_HYPOVAULT_ADDRESSES, ROBINHOOD_HYPOVAULT_CORE_ADDRESSES, ROBINHOOD_HYPOVAULT_MANAGER_ADDRESSES, ROBINHOOD_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, ROBINHOOD_PANOPTIC_POOL_ADDRESSES, ROBINHOOD_PANOPTIC_V2_ADDRESSES, ROBINHOOD_RISK_ENGINES, RescueDistributorAbi, SECONDS_PER_YEAR, SEPOLIA_CHAIN_ID, SEPOLIA_DEPLOYMENT, SEPOLIA_ETH_USDC_5BPS_MARKET, SEPOLIA_HYPOVAULT_ADDRESSES, SEPOLIA_HYPOVAULT_CORE_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_ADDRESSES, SEPOLIA_HYPOVAULT_MANAGER_TURNKEY_SIGNERS, SEPOLIA_PANOPTIC_POOL_ADDRESSES, SEPOLIA_PANOPTIC_V2_ADDRESSES, SemiFungiblePositionManagerAbi, SemiFungiblePositionManagerV1_1Abi, SepoliaUSDCPLPStrategistLeaves, SepoliaUSDCPLPVaultPoolInfos, SepoliaWETHPLPStrategistLeaves, SepoliaWETHPLPVaultPoolInfos, Simple7702AccountAbi, StateViewAbi, TRUSTED_VAULT_SHARE_PRICE_STATUSES, UNREALIZED_INTEREST_BITS, UniswapHelperAbi, UniswapHelperV1_1Abi, UniswapMigratorAbi, UniswapV3FactoryAbi, UniswapV3PoolAbi, UsdcPlpVaultBaseProdConfig, UsdcPlpVaultMainnetLegacyConfig, UsdcPlpVaultMainnetProdConfig, UsdcPlpVaultSepoliaDevConfig, UsdcPlpVaultSepoliaProdConfig, VAULT_DISPLAY_NAMES_PER_CHAIN, VAULT_DISPLAY_NAME_RESOLVERS_PER_CHAIN, VaultApyPreInceptionBlockError, VaultTransactionFeeEstimationError, VaultTransactionGasCostLimitError, VaultTransactionReplacementLimitError, WAD, WETHAbi, WethPlpVaultBaseProdConfig, WethPlpVaultMainnetLegacyConfig, WethPlpVaultMainnetProdConfig, WethPlpVaultSepoliaDevConfig, WethPlpVaultSepoliaProdConfig, adjustUnderlyingIdleBalance, annualizePerSecondRateWad, applyVaultTransactionGasCostLimit, bufferVaultTransactionGasEstimate, buildClaimVaultShareCalldatas, buildExecuteDepositCalldatas, buildExecuteWithdrawalCalldatas, buildManageArgs, buildManagerInput, buildManagerInputAtBlock, buildRequestWithdrawalCalldatas, buildVaultManagerInput, buildVaultManagerInputAtBlock, builderFactoryAbi, builderWalletAbi, calculateAnnualizedApyPct, calculateAssetsFromShares, calculateAvailableShares, calculateClaimableAssetsFromQueuedWithdrawals, calculateClaimableSharesFromQueuedDeposits, calculateSharesFromAssets, calculateVaultNetLendingApyPctFromTrackerInputs, calculateVaultNetLendingYieldUnderlyingFromTrackerInputs, cancelDeposit, chainToHypoVaultGraphQlAPI, clearVaultApyStrategyOverride, collateralTrackerV2Abi as collateralTrackerAbi, collateralTrackerV2Abi, computeSharePriceFromNavSnapshot, convertJsonTreeToArray, createVaultSharePriceProcessor, deriveSupplyRatePerSecWad, deriveVaultApyTimeseriesFromSharePrices, encodeApproveFunctionData, encodeCancelDepositFunctionData, encodeDepositFunctionData, encodeExecuteDepositFunctionData, encodeExecuteWithdrawalFunctionData, encodeExecuteWithdrawalMulticallFunctionData, encodeFulfillDepositsFunctionData, encodeFulfillWithdrawalsFunctionData, encodeRequestDepositFunctionData, encodeRequestWithdrawalFunctionData, encodeRequestWithdrawalMulticallFunctionData, encodeWithdrawFunctionData, executeWithdrawal, executeWithdrawalMulticall, fetchFirstDepositTimestampByVaultId, fetchVaultLendingAllocation, fetchVaultNetLendingApyPct, fetchVaultNetLendingYieldUnderlying, fetchVaultSharePriceSnapshot, fetchVaultSharePriceSnapshotWithCandidateRecovery, findLeaf, findLeafForTarget, findLeafForTargetAndSignature, formatPerSecondRateWadAsAprPct, formatPerSecondRateWadAsApyPct, generateProof, getAlchemyRpcUrl, getAlchemyWsRpcUrl, getCancelDepositContractConfig, getChainDeployment, getEthUsdcMarket, getExecuteWithdrawalContractConfig, getExecuteWithdrawalMulticallContractConfig, getHypoVaultConfigForVault, getHypoVaultGraphQLClient, getIrmCurrent, getIrmCurve, getLendingAllocationRows, getMainnetV3AuthorizationArtifactsAtBlock, getMainnetV3AuthorizationGenerations, getMainnetVaultManagerRootAtBlock, getMainnetVaultManagerRootHistory, getMainnetVaultPoolConfigurationAtBlock, getMainnetVaultPoolConfigurationHistory, getMinQueuedDepositEpoch, getProofsFromDigests, getProofsUsingTree, getRequestDepositContractConfig, getRequestWithdrawalContractConfig, getRequestWithdrawalMulticallContractConfig, getStaleOracleOverrideBytecodeForAccountant, getStaleOracleStateOverrideForAccountant, getVaultApyErrorMessage, getVaultApyStrategy, getVaultCandidatePoolInfos, getVaultDeltaHedgeHistoricalFeeQuote, getVaultDeltaHedgeInitialFeeQuote, getVaultPoolInfos, getVaultTransactionFeeQuote, getVaultTransactionReplacementFeeQuote, isExpectedHistoricalReadMiss, isIncorrectPositionListReadError, isStaleOraclePriceError, isStaleOraclePriceReadError, isSupportedChain, isTrustedVaultSharePriceStatus, packMarketState, panopticFactoryV4Abi as panopticFactoryAbi, panopticFactoryV3Abi, panopticFactoryV4Abi, panopticLiquidatorAbi, panopticPoolV2Abi as panopticPoolAbi, panopticPoolV2Abi, panopticQueryAbi, parseCustomError, ratePerSecWadToAprPct, recoverVaultCandidateTokenIdsByPool, requestDeposit, requestWithdrawal, requestWithdrawalMulticall, requireChainDeployment, resolveMainnetV3AuthorizationArtifacts, resolvePositionScanFromBlock, resolveVaultDisplayName, resolveVaultHistoricalCandidatesByPool, resolveVaultPoolInfosAtBlock, resolveVaultTokenIdsByPool, riskEngineAbi, semiFungiblePositionManagerV4Abi as semiFungiblePositionManagerAbi, semiFungiblePositionManagerV3Abi, semiFungiblePositionManagerV4Abi, setVaultApyStrategyOverride, simulateCancelDeposit, simulateExecuteWithdrawal, simulateExecuteWithdrawalMulticall, simulateRequestDeposit, simulateRequestWithdrawal, simulateRequestWithdrawalMulticall, statusForVaultSharePriceSnapshot, useCancelDeposit, useClaimVaultShares, useExecuteWithdrawal, useRequestDeposit, useRequestWithdrawal, utilizationBpsToWad, utilizationPctToWad, validateVaultSignedTransactionFeeCaps, verifyVaultOpenTokenIdsAtBlock };
31400
32017
  //# sourceMappingURL=index.js.map