@whetstone-research/doppler-sdk 0.0.22 → 0.0.24

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 (256) hide show
  1. package/README.md +553 -221
  2. package/dist/DopplerSDK.d.mts +12 -0
  3. package/dist/DopplerSDK.d.ts +12 -0
  4. package/dist/DopplerSDK.js +29 -26
  5. package/dist/DopplerSDK.mjs +28 -25
  6. package/dist/abis/bytecodes/derc20.js +2 -2
  7. package/dist/abis/bytecodes/derc20.mjs +1 -1
  8. package/dist/abis/bytecodes/derc2080.js +2 -2
  9. package/dist/abis/bytecodes/derc2080.mjs +1 -1
  10. package/dist/abis/bytecodes/doppler.js +2 -2
  11. package/dist/abis/bytecodes/doppler.mjs +1 -1
  12. package/dist/abis/bytecodes/dopplerDN404.js +2 -2
  13. package/dist/abis/bytecodes/dopplerDN404.mjs +1 -1
  14. package/dist/abis/bytecodes/stateView.js +2 -2
  15. package/dist/abis/bytecodes/stateView.mjs +1 -1
  16. package/dist/abis/bytecodes.js +10 -10
  17. package/dist/abis/bytecodes.mjs +5 -5
  18. package/dist/abis/index.d.mts +421 -10
  19. package/dist/abis/index.d.ts +421 -10
  20. package/dist/abis/index.js +41 -33
  21. package/dist/abis/index.mjs +6 -6
  22. package/dist/addresses.d.mts +6 -0
  23. package/dist/addresses.d.ts +6 -0
  24. package/dist/addresses.js +7 -7
  25. package/dist/addresses.mjs +2 -2
  26. package/dist/builders/DynamicAuctionBuilder.d.mts +2 -0
  27. package/dist/builders/DynamicAuctionBuilder.d.ts +2 -0
  28. package/dist/builders/DynamicAuctionBuilder.js +17 -16
  29. package/dist/builders/DynamicAuctionBuilder.mjs +16 -15
  30. package/dist/builders/MulticurveBuilder.d.mts +18 -5
  31. package/dist/builders/MulticurveBuilder.d.ts +18 -5
  32. package/dist/builders/MulticurveBuilder.js +17 -16
  33. package/dist/builders/MulticurveBuilder.mjs +16 -15
  34. package/dist/builders/StaticAuctionBuilder.js +17 -16
  35. package/dist/builders/StaticAuctionBuilder.mjs +16 -15
  36. package/dist/builders/index.js +25 -24
  37. package/dist/builders/index.mjs +18 -17
  38. package/dist/builders/shared.d.mts +1 -1
  39. package/dist/builders/shared.d.ts +1 -1
  40. package/dist/builders/shared.js +19 -17
  41. package/dist/builders/shared.mjs +15 -13
  42. package/dist/{chunk-3XYDN2XB.js → chunk-2A3B3NVB.js} +170 -25
  43. package/dist/chunk-2A3B3NVB.js.map +1 -0
  44. package/dist/{chunk-AZOBEWP3.mjs → chunk-3NMGCQJ4.mjs} +2 -2
  45. package/dist/chunk-3NMGCQJ4.mjs.map +1 -0
  46. package/dist/{chunk-CUB4F546.js → chunk-44CYUEPG.js} +25 -13
  47. package/dist/chunk-44CYUEPG.js.map +1 -0
  48. package/dist/{chunk-AZH2P4JK.mjs → chunk-5GQJRNFL.mjs} +3 -3
  49. package/dist/{chunk-AZH2P4JK.mjs.map → chunk-5GQJRNFL.mjs.map} +1 -1
  50. package/dist/{chunk-ZDTJ3BPS.js → chunk-5JHXBDZD.js} +20 -20
  51. package/dist/{chunk-ZDTJ3BPS.js.map → chunk-5JHXBDZD.js.map} +1 -1
  52. package/dist/{chunk-OGYWNJGI.js → chunk-5TQOT6CW.js} +2 -2
  53. package/dist/chunk-5TQOT6CW.js.map +1 -0
  54. package/dist/{chunk-COOVGAOE.js → chunk-65CESA3J.js} +19 -13
  55. package/dist/chunk-65CESA3J.js.map +1 -0
  56. package/dist/{chunk-5VV7STYK.js → chunk-7A4DBBXA.js} +141 -101
  57. package/dist/chunk-7A4DBBXA.js.map +1 -0
  58. package/dist/chunk-7ZUV6WPX.mjs +3 -0
  59. package/dist/{chunk-5TL5V6UX.mjs.map → chunk-7ZUV6WPX.mjs.map} +1 -1
  60. package/dist/{chunk-RXUJ4DUB.js → chunk-A2CJYRRQ.js} +28 -28
  61. package/dist/{chunk-RXUJ4DUB.js.map → chunk-A2CJYRRQ.js.map} +1 -1
  62. package/dist/{chunk-QQEOKYEX.js → chunk-BK3S6SVR.js} +383 -83
  63. package/dist/chunk-BK3S6SVR.js.map +1 -0
  64. package/dist/{chunk-S4IZ5ATO.js → chunk-BQZTELUX.js} +5 -5
  65. package/dist/{chunk-S4IZ5ATO.js.map → chunk-BQZTELUX.js.map} +1 -1
  66. package/dist/{chunk-WKKOBMXR.js → chunk-CFXXUZJY.js} +57 -22
  67. package/dist/chunk-CFXXUZJY.js.map +1 -0
  68. package/dist/chunk-DCWF3EMP.js +171 -0
  69. package/dist/chunk-DCWF3EMP.js.map +1 -0
  70. package/dist/{chunk-YWK6YH6M.mjs → chunk-DQJXCZU2.mjs} +5 -5
  71. package/dist/{chunk-YWK6YH6M.mjs.map → chunk-DQJXCZU2.mjs.map} +1 -1
  72. package/dist/chunk-DSYPZETD.js +4 -0
  73. package/dist/{chunk-3PNCB4W5.js.map → chunk-DSYPZETD.js.map} +1 -1
  74. package/dist/chunk-F2BYG63D.mjs +145 -0
  75. package/dist/chunk-F2BYG63D.mjs.map +1 -0
  76. package/dist/{chunk-N33R22A2.js → chunk-FNUBKONK.js} +2 -2
  77. package/dist/{chunk-N33R22A2.js.map → chunk-FNUBKONK.js.map} +1 -1
  78. package/dist/chunk-FXTGIKQG.mjs +3 -0
  79. package/dist/{chunk-SD7BHT2F.mjs.map → chunk-FXTGIKQG.mjs.map} +1 -1
  80. package/dist/{chunk-MQNSJCAW.mjs → chunk-GSBQIVME.mjs} +2 -2
  81. package/dist/{chunk-MQNSJCAW.mjs.map → chunk-GSBQIVME.mjs.map} +1 -1
  82. package/dist/{chunk-SAX7P3MH.js → chunk-HJFVRV47.js} +2 -2
  83. package/dist/{chunk-SAX7P3MH.js.map → chunk-HJFVRV47.js.map} +1 -1
  84. package/dist/chunk-IIM2CSDQ.js +147 -0
  85. package/dist/chunk-IIM2CSDQ.js.map +1 -0
  86. package/dist/{chunk-O3RH43H3.mjs → chunk-IUTIHSLH.mjs} +4 -4
  87. package/dist/{chunk-O3RH43H3.mjs.map → chunk-IUTIHSLH.mjs.map} +1 -1
  88. package/dist/chunk-IUZ3BBQP.mjs +117 -0
  89. package/dist/chunk-IUZ3BBQP.mjs.map +1 -0
  90. package/dist/{chunk-D7PCIMWU.mjs → chunk-IX4V4UGW.mjs} +4 -4
  91. package/dist/{chunk-D7PCIMWU.mjs.map → chunk-IX4V4UGW.mjs.map} +1 -1
  92. package/dist/{chunk-2ZM4JVFC.js → chunk-J62YDWIK.js} +2 -2
  93. package/dist/chunk-J62YDWIK.js.map +1 -0
  94. package/dist/{chunk-E2NF4AQB.mjs → chunk-JLUOFAE4.mjs} +272 -12
  95. package/dist/chunk-JLUOFAE4.mjs.map +1 -0
  96. package/dist/{chunk-KITPRKQ4.mjs → chunk-LW3CYA27.mjs} +351 -51
  97. package/dist/chunk-LW3CYA27.mjs.map +1 -0
  98. package/dist/{chunk-3L4DLMOK.js → chunk-MEA2C5YX.js} +16 -16
  99. package/dist/{chunk-3L4DLMOK.js.map → chunk-MEA2C5YX.js.map} +1 -1
  100. package/dist/{chunk-3MVW6UIW.js → chunk-MU56HCUI.js} +273 -11
  101. package/dist/chunk-MU56HCUI.js.map +1 -0
  102. package/dist/chunk-OCIY7QEJ.mjs +169 -0
  103. package/dist/chunk-OCIY7QEJ.mjs.map +1 -0
  104. package/dist/{chunk-WDSV4O6T.mjs → chunk-OHA5KJ2M.mjs} +2 -2
  105. package/dist/chunk-OHA5KJ2M.mjs.map +1 -0
  106. package/dist/{chunk-MT34O3YL.js → chunk-P563HTVU.js} +50 -26
  107. package/dist/chunk-P563HTVU.js.map +1 -0
  108. package/dist/{chunk-RLUMYHPI.js → chunk-PGYTMRP3.js} +46 -18
  109. package/dist/chunk-PGYTMRP3.js.map +1 -0
  110. package/dist/{chunk-VGOEXLQ2.js → chunk-QAPQGDWK.js} +2 -2
  111. package/dist/chunk-QAPQGDWK.js.map +1 -0
  112. package/dist/{chunk-QOGBOT2M.mjs → chunk-QHBKRUBY.mjs} +3 -3
  113. package/dist/{chunk-QOGBOT2M.mjs.map → chunk-QHBKRUBY.mjs.map} +1 -1
  114. package/dist/chunk-QOYI7WCH.js +120 -0
  115. package/dist/chunk-QOYI7WCH.js.map +1 -0
  116. package/dist/{chunk-OF7BIKXV.js → chunk-QRTABC4Z.js} +2 -2
  117. package/dist/chunk-QRTABC4Z.js.map +1 -0
  118. package/dist/{chunk-CS6FVODR.mjs → chunk-QUBD6HUZ.mjs} +163 -18
  119. package/dist/chunk-QUBD6HUZ.mjs.map +1 -0
  120. package/dist/{chunk-RWVNXU7Z.mjs → chunk-RDTIXP6S.mjs} +4 -4
  121. package/dist/{chunk-RWVNXU7Z.mjs.map → chunk-RDTIXP6S.mjs.map} +1 -1
  122. package/dist/{chunk-5WYXNWNH.js → chunk-RLOZWHRR.js} +11 -11
  123. package/dist/{chunk-5WYXNWNH.js.map → chunk-RLOZWHRR.js.map} +1 -1
  124. package/dist/{chunk-VK5HAWX6.mjs → chunk-SWWLOD7Q.mjs} +2 -2
  125. package/dist/chunk-SWWLOD7Q.mjs.map +1 -0
  126. package/dist/chunk-T3UA4MJL.js +4 -0
  127. package/dist/{chunk-WTS75RUC.js.map → chunk-T3UA4MJL.js.map} +1 -1
  128. package/dist/{chunk-HJ4AS5DZ.mjs → chunk-TEWAXP5C.mjs} +36 -12
  129. package/dist/chunk-TEWAXP5C.mjs.map +1 -0
  130. package/dist/{chunk-ZRNPHFP3.mjs → chunk-THEIRDGE.mjs} +50 -15
  131. package/dist/chunk-THEIRDGE.mjs.map +1 -0
  132. package/dist/{chunk-LPA32BIK.mjs → chunk-U3GOWK6J.mjs} +2 -2
  133. package/dist/chunk-U3GOWK6J.mjs.map +1 -0
  134. package/dist/{chunk-QFQXHDC7.mjs → chunk-VKSD3KXF.mjs} +46 -18
  135. package/dist/chunk-VKSD3KXF.mjs.map +1 -0
  136. package/dist/{chunk-64ZQRKG3.mjs → chunk-VYSOAGRU.mjs} +2 -2
  137. package/dist/chunk-VYSOAGRU.mjs.map +1 -0
  138. package/dist/{chunk-ADAAU4F5.mjs → chunk-WDC53TM7.mjs} +49 -9
  139. package/dist/chunk-WDC53TM7.mjs.map +1 -0
  140. package/dist/{chunk-M2EMKIP5.mjs → chunk-WKWP42TD.mjs} +9 -4
  141. package/dist/chunk-WKWP42TD.mjs.map +1 -0
  142. package/dist/{chunk-OROTK4OT.js → chunk-WNUB3UTT.js} +12 -12
  143. package/dist/chunk-WNUB3UTT.js.map +1 -0
  144. package/dist/{chunk-FVTTG72Z.mjs → chunk-WNWK2QMU.mjs} +19 -7
  145. package/dist/chunk-WNWK2QMU.mjs.map +1 -0
  146. package/dist/{chunk-INLXNN7P.js → chunk-WZF5XNBC.js} +26 -26
  147. package/dist/{chunk-INLXNN7P.js.map → chunk-WZF5XNBC.js.map} +1 -1
  148. package/dist/{chunk-SMTHFPBA.js → chunk-XMFOZYNI.js} +2 -2
  149. package/dist/chunk-XMFOZYNI.js.map +1 -0
  150. package/dist/{chunk-VGCXJRUV.mjs → chunk-YBK6EBA5.mjs} +10 -10
  151. package/dist/chunk-YBK6EBA5.mjs.map +1 -0
  152. package/dist/{chunk-HH7HQ4HC.mjs → chunk-ZEDJUNC6.mjs} +2 -2
  153. package/dist/{chunk-HH7HQ4HC.mjs.map → chunk-ZEDJUNC6.mjs.map} +1 -1
  154. package/dist/deployments.generated.d.mts +44 -16
  155. package/dist/deployments.generated.d.ts +44 -16
  156. package/dist/deployments.generated.js +2 -2
  157. package/dist/deployments.generated.mjs +1 -1
  158. package/dist/entities/DopplerFactory.d.mts +7 -1
  159. package/dist/entities/DopplerFactory.d.ts +7 -1
  160. package/dist/entities/DopplerFactory.js +16 -14
  161. package/dist/entities/DopplerFactory.mjs +15 -13
  162. package/dist/entities/auction/DynamicAuction.js +10 -10
  163. package/dist/entities/auction/DynamicAuction.mjs +9 -9
  164. package/dist/entities/auction/MulticurvePool.d.mts +6 -2
  165. package/dist/entities/auction/MulticurvePool.d.ts +6 -2
  166. package/dist/entities/auction/MulticurvePool.js +11 -11
  167. package/dist/entities/auction/MulticurvePool.mjs +10 -10
  168. package/dist/entities/auction/RehypeDopplerHook.d.mts +57 -0
  169. package/dist/entities/auction/RehypeDopplerHook.d.ts +57 -0
  170. package/dist/entities/auction/RehypeDopplerHook.js +34 -0
  171. package/dist/entities/auction/RehypeDopplerHook.js.map +1 -0
  172. package/dist/entities/auction/RehypeDopplerHook.mjs +25 -0
  173. package/dist/entities/auction/RehypeDopplerHook.mjs.map +1 -0
  174. package/dist/entities/auction/RehypeDopplerHookMigrator.d.mts +48 -0
  175. package/dist/entities/auction/RehypeDopplerHookMigrator.d.ts +48 -0
  176. package/dist/entities/auction/RehypeDopplerHookMigrator.js +34 -0
  177. package/dist/entities/auction/RehypeDopplerHookMigrator.js.map +1 -0
  178. package/dist/entities/auction/RehypeDopplerHookMigrator.mjs +25 -0
  179. package/dist/entities/auction/RehypeDopplerHookMigrator.mjs.map +1 -0
  180. package/dist/entities/auction/StaticAuction.js +10 -10
  181. package/dist/entities/auction/StaticAuction.mjs +9 -9
  182. package/dist/entities/auction/index.d.mts +2 -0
  183. package/dist/entities/auction/index.d.ts +2 -0
  184. package/dist/entities/auction/index.js +38 -18
  185. package/dist/entities/auction/index.mjs +25 -13
  186. package/dist/entities/quoter/Quoter.js +10 -10
  187. package/dist/entities/quoter/Quoter.mjs +9 -9
  188. package/dist/entities/quoter/index.js +10 -10
  189. package/dist/entities/quoter/index.mjs +9 -9
  190. package/dist/entities/token/derc20/Derc20.js +8 -8
  191. package/dist/entities/token/derc20/Derc20.mjs +7 -7
  192. package/dist/entities/token/derc20/index.js +8 -8
  193. package/dist/entities/token/derc20/index.mjs +7 -7
  194. package/dist/entities/token/index.js +11 -11
  195. package/dist/entities/token/index.mjs +7 -7
  196. package/dist/index.d.mts +5 -2
  197. package/dist/index.d.ts +5 -2
  198. package/dist/index.js +120 -93
  199. package/dist/index.js.map +1 -1
  200. package/dist/index.mjs +28 -25
  201. package/dist/index.mjs.map +1 -1
  202. package/dist/types.d.mts +90 -7
  203. package/dist/types.d.ts +90 -7
  204. package/dist/types.js +12 -8
  205. package/dist/types.mjs +3 -3
  206. package/dist/utils/airlock.js +7 -7
  207. package/dist/utils/airlock.mjs +3 -3
  208. package/dist/utils/dopplerHookMigrator.d.mts +18 -0
  209. package/dist/utils/dopplerHookMigrator.d.ts +18 -0
  210. package/dist/utils/dopplerHookMigrator.js +20 -0
  211. package/dist/utils/dopplerHookMigrator.js.map +1 -0
  212. package/dist/utils/dopplerHookMigrator.mjs +7 -0
  213. package/dist/utils/dopplerHookMigrator.mjs.map +1 -0
  214. package/dist/utils/index.d.mts +1 -0
  215. package/dist/utils/index.d.ts +1 -0
  216. package/dist/utils/index.js +39 -32
  217. package/dist/utils/index.mjs +15 -12
  218. package/dist/utils/marketCapHelpers.js +13 -13
  219. package/dist/utils/marketCapHelpers.mjs +1 -1
  220. package/dist/utils/tokenAddressMiner.js +8 -8
  221. package/dist/utils/tokenAddressMiner.mjs +7 -7
  222. package/package.json +2 -2
  223. package/dist/chunk-2ZM4JVFC.js.map +0 -1
  224. package/dist/chunk-3MVW6UIW.js.map +0 -1
  225. package/dist/chunk-3PNCB4W5.js +0 -4
  226. package/dist/chunk-3XYDN2XB.js.map +0 -1
  227. package/dist/chunk-5TL5V6UX.mjs +0 -3
  228. package/dist/chunk-5VV7STYK.js.map +0 -1
  229. package/dist/chunk-64ZQRKG3.mjs.map +0 -1
  230. package/dist/chunk-ADAAU4F5.mjs.map +0 -1
  231. package/dist/chunk-AZOBEWP3.mjs.map +0 -1
  232. package/dist/chunk-COOVGAOE.js.map +0 -1
  233. package/dist/chunk-CS6FVODR.mjs.map +0 -1
  234. package/dist/chunk-CUB4F546.js.map +0 -1
  235. package/dist/chunk-E2NF4AQB.mjs.map +0 -1
  236. package/dist/chunk-FVTTG72Z.mjs.map +0 -1
  237. package/dist/chunk-HJ4AS5DZ.mjs.map +0 -1
  238. package/dist/chunk-KITPRKQ4.mjs.map +0 -1
  239. package/dist/chunk-LPA32BIK.mjs.map +0 -1
  240. package/dist/chunk-M2EMKIP5.mjs.map +0 -1
  241. package/dist/chunk-MT34O3YL.js.map +0 -1
  242. package/dist/chunk-OF7BIKXV.js.map +0 -1
  243. package/dist/chunk-OGYWNJGI.js.map +0 -1
  244. package/dist/chunk-OROTK4OT.js.map +0 -1
  245. package/dist/chunk-QFQXHDC7.mjs.map +0 -1
  246. package/dist/chunk-QQEOKYEX.js.map +0 -1
  247. package/dist/chunk-RLUMYHPI.js.map +0 -1
  248. package/dist/chunk-SD7BHT2F.mjs +0 -3
  249. package/dist/chunk-SMTHFPBA.js.map +0 -1
  250. package/dist/chunk-VGCXJRUV.mjs.map +0 -1
  251. package/dist/chunk-VGOEXLQ2.js.map +0 -1
  252. package/dist/chunk-VK5HAWX6.mjs.map +0 -1
  253. package/dist/chunk-WDSV4O6T.mjs.map +0 -1
  254. package/dist/chunk-WKKOBMXR.js.map +0 -1
  255. package/dist/chunk-WTS75RUC.js +0 -4
  256. package/dist/chunk-ZRNPHFP3.mjs.map +0 -1
@@ -2362,6 +2362,94 @@ declare const v4MulticurveInitializerAbi: readonly [{
2362
2362
  readonly name: "InvalidProtocolOwnerBeneficiary";
2363
2363
  readonly inputs: readonly [];
2364
2364
  }];
2365
+ declare const dopplerHookInitializerAbi: readonly [{
2366
+ readonly type: "function";
2367
+ readonly name: "airlock";
2368
+ readonly inputs: readonly [];
2369
+ readonly outputs: readonly [{
2370
+ readonly name: "";
2371
+ readonly type: "address";
2372
+ readonly internalType: "contract Airlock";
2373
+ }];
2374
+ readonly stateMutability: "view";
2375
+ }, {
2376
+ readonly type: "function";
2377
+ readonly name: "collectFees";
2378
+ readonly inputs: readonly [{
2379
+ readonly name: "poolId";
2380
+ readonly type: "bytes32";
2381
+ readonly internalType: "PoolId";
2382
+ }];
2383
+ readonly outputs: readonly [{
2384
+ readonly name: "fees0";
2385
+ readonly type: "uint128";
2386
+ readonly internalType: "uint128";
2387
+ }, {
2388
+ readonly name: "fees1";
2389
+ readonly type: "uint128";
2390
+ readonly internalType: "uint128";
2391
+ }];
2392
+ readonly stateMutability: "nonpayable";
2393
+ }, {
2394
+ readonly type: "function";
2395
+ readonly name: "getState";
2396
+ readonly inputs: readonly [{
2397
+ readonly name: "asset";
2398
+ readonly type: "address";
2399
+ readonly internalType: "address";
2400
+ }];
2401
+ readonly outputs: readonly [{
2402
+ readonly name: "numeraire";
2403
+ readonly type: "address";
2404
+ readonly internalType: "address";
2405
+ }, {
2406
+ readonly name: "totalTokensOnBondingCurve";
2407
+ readonly type: "uint256";
2408
+ readonly internalType: "uint256";
2409
+ }, {
2410
+ readonly name: "dopplerHook";
2411
+ readonly type: "address";
2412
+ readonly internalType: "address";
2413
+ }, {
2414
+ readonly name: "graduationDopplerHookCalldata";
2415
+ readonly type: "bytes";
2416
+ readonly internalType: "bytes";
2417
+ }, {
2418
+ readonly name: "status";
2419
+ readonly type: "uint8";
2420
+ readonly internalType: "enum PoolStatus";
2421
+ }, {
2422
+ readonly name: "poolKey";
2423
+ readonly type: "tuple";
2424
+ readonly internalType: "struct PoolKey";
2425
+ readonly components: readonly [{
2426
+ readonly name: "currency0";
2427
+ readonly type: "address";
2428
+ readonly internalType: "Currency";
2429
+ }, {
2430
+ readonly name: "currency1";
2431
+ readonly type: "address";
2432
+ readonly internalType: "Currency";
2433
+ }, {
2434
+ readonly name: "fee";
2435
+ readonly type: "uint24";
2436
+ readonly internalType: "uint24";
2437
+ }, {
2438
+ readonly name: "tickSpacing";
2439
+ readonly type: "int24";
2440
+ readonly internalType: "int24";
2441
+ }, {
2442
+ readonly name: "hooks";
2443
+ readonly type: "address";
2444
+ readonly internalType: "contract IHooks";
2445
+ }];
2446
+ }, {
2447
+ readonly name: "farTick";
2448
+ readonly type: "int24";
2449
+ readonly internalType: "int24";
2450
+ }];
2451
+ readonly stateMutability: "view";
2452
+ }];
2365
2453
  declare const decayMulticurveInitializerHookAbi: readonly [{
2366
2454
  readonly type: "function";
2367
2455
  readonly name: "getFeeScheduleOf";
@@ -3283,6 +3371,271 @@ declare const rehypeDopplerHookAbi: readonly [{
3283
3371
  readonly internalType: "address";
3284
3372
  }];
3285
3373
  readonly stateMutability: "view";
3374
+ }, {
3375
+ readonly type: "function";
3376
+ readonly name: "claimAirlockOwnerFees";
3377
+ readonly inputs: readonly [{
3378
+ readonly name: "asset";
3379
+ readonly type: "address";
3380
+ readonly internalType: "address";
3381
+ }];
3382
+ readonly outputs: readonly [{
3383
+ readonly name: "fees0";
3384
+ readonly type: "uint128";
3385
+ readonly internalType: "uint128";
3386
+ }, {
3387
+ readonly name: "fees1";
3388
+ readonly type: "uint128";
3389
+ readonly internalType: "uint128";
3390
+ }];
3391
+ readonly stateMutability: "nonpayable";
3392
+ }, {
3393
+ readonly type: "function";
3394
+ readonly name: "collectFees";
3395
+ readonly inputs: readonly [{
3396
+ readonly name: "asset";
3397
+ readonly type: "address";
3398
+ readonly internalType: "address";
3399
+ }];
3400
+ readonly outputs: readonly [{
3401
+ readonly name: "fees";
3402
+ readonly type: "int256";
3403
+ readonly internalType: "BalanceDelta";
3404
+ }];
3405
+ readonly stateMutability: "nonpayable";
3406
+ }, {
3407
+ readonly type: "function";
3408
+ readonly name: "getFeeDistributionInfo";
3409
+ readonly inputs: readonly [{
3410
+ readonly name: "poolId";
3411
+ readonly type: "bytes32";
3412
+ readonly internalType: "PoolId";
3413
+ }];
3414
+ readonly outputs: readonly [{
3415
+ readonly name: "assetFeesToAssetBuybackWad";
3416
+ readonly type: "uint256";
3417
+ readonly internalType: "uint256";
3418
+ }, {
3419
+ readonly name: "assetFeesToNumeraireBuybackWad";
3420
+ readonly type: "uint256";
3421
+ readonly internalType: "uint256";
3422
+ }, {
3423
+ readonly name: "assetFeesToBeneficiaryWad";
3424
+ readonly type: "uint256";
3425
+ readonly internalType: "uint256";
3426
+ }, {
3427
+ readonly name: "assetFeesToLpWad";
3428
+ readonly type: "uint256";
3429
+ readonly internalType: "uint256";
3430
+ }, {
3431
+ readonly name: "numeraireFeesToAssetBuybackWad";
3432
+ readonly type: "uint256";
3433
+ readonly internalType: "uint256";
3434
+ }, {
3435
+ readonly name: "numeraireFeesToNumeraireBuybackWad";
3436
+ readonly type: "uint256";
3437
+ readonly internalType: "uint256";
3438
+ }, {
3439
+ readonly name: "numeraireFeesToBeneficiaryWad";
3440
+ readonly type: "uint256";
3441
+ readonly internalType: "uint256";
3442
+ }, {
3443
+ readonly name: "numeraireFeesToLpWad";
3444
+ readonly type: "uint256";
3445
+ readonly internalType: "uint256";
3446
+ }];
3447
+ readonly stateMutability: "view";
3448
+ }, {
3449
+ readonly type: "function";
3450
+ readonly name: "getFeeRoutingMode";
3451
+ readonly inputs: readonly [{
3452
+ readonly name: "poolId";
3453
+ readonly type: "bytes32";
3454
+ readonly internalType: "PoolId";
3455
+ }];
3456
+ readonly outputs: readonly [{
3457
+ readonly name: "";
3458
+ readonly type: "uint8";
3459
+ readonly internalType: "enum FeeRoutingMode";
3460
+ }];
3461
+ readonly stateMutability: "view";
3462
+ }, {
3463
+ readonly type: "function";
3464
+ readonly name: "getFeeSchedule";
3465
+ readonly inputs: readonly [{
3466
+ readonly name: "poolId";
3467
+ readonly type: "bytes32";
3468
+ readonly internalType: "PoolId";
3469
+ }];
3470
+ readonly outputs: readonly [{
3471
+ readonly name: "startingTime";
3472
+ readonly type: "uint32";
3473
+ readonly internalType: "uint32";
3474
+ }, {
3475
+ readonly name: "startFee";
3476
+ readonly type: "uint24";
3477
+ readonly internalType: "uint24";
3478
+ }, {
3479
+ readonly name: "endFee";
3480
+ readonly type: "uint24";
3481
+ readonly internalType: "uint24";
3482
+ }, {
3483
+ readonly name: "lastFee";
3484
+ readonly type: "uint24";
3485
+ readonly internalType: "uint24";
3486
+ }, {
3487
+ readonly name: "durationSeconds";
3488
+ readonly type: "uint32";
3489
+ readonly internalType: "uint32";
3490
+ }];
3491
+ readonly stateMutability: "view";
3492
+ }, {
3493
+ readonly type: "function";
3494
+ readonly name: "getHookFees";
3495
+ readonly inputs: readonly [{
3496
+ readonly name: "poolId";
3497
+ readonly type: "bytes32";
3498
+ readonly internalType: "PoolId";
3499
+ }];
3500
+ readonly outputs: readonly [{
3501
+ readonly name: "fees0";
3502
+ readonly type: "uint128";
3503
+ readonly internalType: "uint128";
3504
+ }, {
3505
+ readonly name: "fees1";
3506
+ readonly type: "uint128";
3507
+ readonly internalType: "uint128";
3508
+ }, {
3509
+ readonly name: "beneficiaryFees0";
3510
+ readonly type: "uint128";
3511
+ readonly internalType: "uint128";
3512
+ }, {
3513
+ readonly name: "beneficiaryFees1";
3514
+ readonly type: "uint128";
3515
+ readonly internalType: "uint128";
3516
+ }, {
3517
+ readonly name: "airlockOwnerFees0";
3518
+ readonly type: "uint128";
3519
+ readonly internalType: "uint128";
3520
+ }, {
3521
+ readonly name: "airlockOwnerFees1";
3522
+ readonly type: "uint128";
3523
+ readonly internalType: "uint128";
3524
+ }, {
3525
+ readonly name: "customFee";
3526
+ readonly type: "uint24";
3527
+ readonly internalType: "uint24";
3528
+ }];
3529
+ readonly stateMutability: "view";
3530
+ }, {
3531
+ readonly type: "function";
3532
+ readonly name: "getPoolInfo";
3533
+ readonly inputs: readonly [{
3534
+ readonly name: "poolId";
3535
+ readonly type: "bytes32";
3536
+ readonly internalType: "PoolId";
3537
+ }];
3538
+ readonly outputs: readonly [{
3539
+ readonly name: "asset";
3540
+ readonly type: "address";
3541
+ readonly internalType: "address";
3542
+ }, {
3543
+ readonly name: "numeraire";
3544
+ readonly type: "address";
3545
+ readonly internalType: "address";
3546
+ }, {
3547
+ readonly name: "buybackDst";
3548
+ readonly type: "address";
3549
+ readonly internalType: "address";
3550
+ }];
3551
+ readonly stateMutability: "view";
3552
+ }, {
3553
+ readonly type: "function";
3554
+ readonly name: "getPosition";
3555
+ readonly inputs: readonly [{
3556
+ readonly name: "poolId";
3557
+ readonly type: "bytes32";
3558
+ readonly internalType: "PoolId";
3559
+ }];
3560
+ readonly outputs: readonly [{
3561
+ readonly name: "tickLower";
3562
+ readonly type: "int24";
3563
+ readonly internalType: "int24";
3564
+ }, {
3565
+ readonly name: "tickUpper";
3566
+ readonly type: "int24";
3567
+ readonly internalType: "int24";
3568
+ }, {
3569
+ readonly name: "liquidity";
3570
+ readonly type: "uint128";
3571
+ readonly internalType: "uint128";
3572
+ }, {
3573
+ readonly name: "salt";
3574
+ readonly type: "bytes32";
3575
+ readonly internalType: "bytes32";
3576
+ }];
3577
+ readonly stateMutability: "view";
3578
+ }, {
3579
+ readonly type: "function";
3580
+ readonly name: "poolManager";
3581
+ readonly inputs: readonly [];
3582
+ readonly outputs: readonly [{
3583
+ readonly name: "";
3584
+ readonly type: "address";
3585
+ readonly internalType: "contract IPoolManager";
3586
+ }];
3587
+ readonly stateMutability: "view";
3588
+ }, {
3589
+ readonly type: "function";
3590
+ readonly name: "quoter";
3591
+ readonly inputs: readonly [];
3592
+ readonly outputs: readonly [{
3593
+ readonly name: "";
3594
+ readonly type: "address";
3595
+ readonly internalType: "contract Quoter";
3596
+ }];
3597
+ readonly stateMutability: "view";
3598
+ }, {
3599
+ readonly type: "error";
3600
+ readonly name: "FeeDistributionMustAddUpToWAD";
3601
+ readonly inputs: readonly [];
3602
+ }, {
3603
+ readonly type: "error";
3604
+ readonly name: "SenderNotAirlockOwner";
3605
+ readonly inputs: readonly [];
3606
+ }, {
3607
+ readonly type: "error";
3608
+ readonly name: "SenderNotInitializer";
3609
+ readonly inputs: readonly [];
3610
+ }];
3611
+ declare const rehypeDopplerHookMigratorAbi: readonly [{
3612
+ readonly type: "function";
3613
+ readonly name: "MIGRATOR";
3614
+ readonly inputs: readonly [];
3615
+ readonly outputs: readonly [{
3616
+ readonly name: "";
3617
+ readonly type: "address";
3618
+ readonly internalType: "address";
3619
+ }];
3620
+ readonly stateMutability: "view";
3621
+ }, {
3622
+ readonly type: "function";
3623
+ readonly name: "claimAirlockOwnerFees";
3624
+ readonly inputs: readonly [{
3625
+ readonly name: "asset";
3626
+ readonly type: "address";
3627
+ readonly internalType: "address";
3628
+ }];
3629
+ readonly outputs: readonly [{
3630
+ readonly name: "fees0";
3631
+ readonly type: "uint128";
3632
+ readonly internalType: "uint128";
3633
+ }, {
3634
+ readonly name: "fees1";
3635
+ readonly type: "uint128";
3636
+ readonly internalType: "uint128";
3637
+ }];
3638
+ readonly stateMutability: "nonpayable";
3286
3639
  }, {
3287
3640
  readonly type: "function";
3288
3641
  readonly name: "collectFees";
@@ -3306,23 +3659,53 @@ declare const rehypeDopplerHookAbi: readonly [{
3306
3659
  readonly internalType: "PoolId";
3307
3660
  }];
3308
3661
  readonly outputs: readonly [{
3309
- readonly name: "assetBuybackPercentWad";
3662
+ readonly name: "assetFeesToAssetBuybackWad";
3663
+ readonly type: "uint256";
3664
+ readonly internalType: "uint256";
3665
+ }, {
3666
+ readonly name: "assetFeesToNumeraireBuybackWad";
3667
+ readonly type: "uint256";
3668
+ readonly internalType: "uint256";
3669
+ }, {
3670
+ readonly name: "assetFeesToBeneficiaryWad";
3671
+ readonly type: "uint256";
3672
+ readonly internalType: "uint256";
3673
+ }, {
3674
+ readonly name: "assetFeesToLpWad";
3675
+ readonly type: "uint256";
3676
+ readonly internalType: "uint256";
3677
+ }, {
3678
+ readonly name: "numeraireFeesToAssetBuybackWad";
3310
3679
  readonly type: "uint256";
3311
3680
  readonly internalType: "uint256";
3312
3681
  }, {
3313
- readonly name: "numeraireBuybackPercentWad";
3682
+ readonly name: "numeraireFeesToNumeraireBuybackWad";
3314
3683
  readonly type: "uint256";
3315
3684
  readonly internalType: "uint256";
3316
3685
  }, {
3317
- readonly name: "beneficiaryPercentWad";
3686
+ readonly name: "numeraireFeesToBeneficiaryWad";
3318
3687
  readonly type: "uint256";
3319
3688
  readonly internalType: "uint256";
3320
3689
  }, {
3321
- readonly name: "lpPercentWad";
3690
+ readonly name: "numeraireFeesToLpWad";
3322
3691
  readonly type: "uint256";
3323
3692
  readonly internalType: "uint256";
3324
3693
  }];
3325
3694
  readonly stateMutability: "view";
3695
+ }, {
3696
+ readonly type: "function";
3697
+ readonly name: "getFeeRoutingMode";
3698
+ readonly inputs: readonly [{
3699
+ readonly name: "poolId";
3700
+ readonly type: "bytes32";
3701
+ readonly internalType: "PoolId";
3702
+ }];
3703
+ readonly outputs: readonly [{
3704
+ readonly name: "";
3705
+ readonly type: "uint8";
3706
+ readonly internalType: "enum FeeRoutingMode";
3707
+ }];
3708
+ readonly stateMutability: "view";
3326
3709
  }, {
3327
3710
  readonly type: "function";
3328
3711
  readonly name: "getHookFees";
@@ -3347,6 +3730,14 @@ declare const rehypeDopplerHookAbi: readonly [{
3347
3730
  readonly name: "beneficiaryFees1";
3348
3731
  readonly type: "uint128";
3349
3732
  readonly internalType: "uint128";
3733
+ }, {
3734
+ readonly name: "airlockOwnerFees0";
3735
+ readonly type: "uint128";
3736
+ readonly internalType: "uint128";
3737
+ }, {
3738
+ readonly name: "airlockOwnerFees1";
3739
+ readonly type: "uint128";
3740
+ readonly internalType: "uint128";
3350
3741
  }, {
3351
3742
  readonly name: "customFee";
3352
3743
  readonly type: "uint24";
@@ -3429,19 +3820,35 @@ declare const rehypeDopplerHookAbi: readonly [{
3429
3820
  readonly type: "bytes32";
3430
3821
  readonly internalType: "PoolId";
3431
3822
  }, {
3432
- readonly name: "assetBuybackPercentWad";
3823
+ readonly name: "assetFeesToAssetBuybackWad";
3824
+ readonly type: "uint256";
3825
+ readonly internalType: "uint256";
3826
+ }, {
3827
+ readonly name: "assetFeesToNumeraireBuybackWad";
3433
3828
  readonly type: "uint256";
3434
3829
  readonly internalType: "uint256";
3435
3830
  }, {
3436
- readonly name: "numeraireBuybackPercentWad";
3831
+ readonly name: "assetFeesToBeneficiaryWad";
3437
3832
  readonly type: "uint256";
3438
3833
  readonly internalType: "uint256";
3439
3834
  }, {
3440
- readonly name: "beneficiaryPercentWad";
3835
+ readonly name: "assetFeesToLpWad";
3441
3836
  readonly type: "uint256";
3442
3837
  readonly internalType: "uint256";
3443
3838
  }, {
3444
- readonly name: "lpPercentWad";
3839
+ readonly name: "numeraireFeesToAssetBuybackWad";
3840
+ readonly type: "uint256";
3841
+ readonly internalType: "uint256";
3842
+ }, {
3843
+ readonly name: "numeraireFeesToNumeraireBuybackWad";
3844
+ readonly type: "uint256";
3845
+ readonly internalType: "uint256";
3846
+ }, {
3847
+ readonly name: "numeraireFeesToBeneficiaryWad";
3848
+ readonly type: "uint256";
3849
+ readonly internalType: "uint256";
3850
+ }, {
3851
+ readonly name: "numeraireFeesToLpWad";
3445
3852
  readonly type: "uint256";
3446
3853
  readonly internalType: "uint256";
3447
3854
  }];
@@ -3453,8 +3860,12 @@ declare const rehypeDopplerHookAbi: readonly [{
3453
3860
  readonly inputs: readonly [];
3454
3861
  }, {
3455
3862
  readonly type: "error";
3456
- readonly name: "SenderNotInitializer";
3863
+ readonly name: "SenderNotAirlockOwner";
3864
+ readonly inputs: readonly [];
3865
+ }, {
3866
+ readonly type: "error";
3867
+ readonly name: "SenderNotAuthorized";
3457
3868
  readonly inputs: readonly [];
3458
3869
  }];
3459
3870
 
3460
- export { airlockAbi, bundlerAbi, decayMulticurveInitializerHookAbi, derc20Abi, dopplerHookAbi, dopplerLensAbi, lockableUniswapV3InitializerAbi, poolManagerAbi, quoterV2Abi, rehypeDopplerHookAbi, streamableFeesLockerAbi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, weth9Abi };
3871
+ export { airlockAbi, bundlerAbi, decayMulticurveInitializerHookAbi, derc20Abi, dopplerHookAbi, dopplerHookInitializerAbi, dopplerLensAbi, lockableUniswapV3InitializerAbi, poolManagerAbi, quoterV2Abi, rehypeDopplerHookAbi, rehypeDopplerHookMigratorAbi, streamableFeesLockerAbi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, weth9Abi };