@whetstone-research/doppler-sdk 0.0.1-alpha.9 → 0.0.1

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 (368) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +726 -25
  3. package/dist/DopplerSDK.d.mts +45 -7
  4. package/dist/DopplerSDK.d.ts +45 -7
  5. package/dist/DopplerSDK.js +35 -12
  6. package/dist/DopplerSDK.mjs +34 -11
  7. package/dist/abis/bytecodes.d.mts +3 -2
  8. package/dist/abis/bytecodes.d.ts +3 -2
  9. package/dist/abis/bytecodes.js +9 -6
  10. package/dist/abis/bytecodes.mjs +1 -2
  11. package/dist/abis/index.d.mts +1507 -129
  12. package/dist/abis/index.d.ts +1507 -129
  13. package/dist/abis/index.js +43 -20
  14. package/dist/abis/index.mjs +2 -3
  15. package/dist/addresses.d.mts +16 -3
  16. package/dist/addresses.d.ts +16 -3
  17. package/dist/addresses.js +13 -5
  18. package/dist/addresses.mjs +2 -2
  19. package/dist/builders/DynamicAuctionBuilder.d.mts +119 -0
  20. package/dist/builders/DynamicAuctionBuilder.d.ts +119 -0
  21. package/dist/builders/DynamicAuctionBuilder.js +29 -0
  22. package/dist/builders/DynamicAuctionBuilder.js.map +1 -0
  23. package/dist/builders/DynamicAuctionBuilder.mjs +20 -0
  24. package/dist/builders/DynamicAuctionBuilder.mjs.map +1 -0
  25. package/dist/builders/MulticurveBuilder.d.mts +132 -0
  26. package/dist/builders/MulticurveBuilder.d.ts +132 -0
  27. package/dist/builders/MulticurveBuilder.js +29 -0
  28. package/dist/builders/MulticurveBuilder.js.map +1 -0
  29. package/dist/builders/MulticurveBuilder.mjs +20 -0
  30. package/dist/builders/MulticurveBuilder.mjs.map +1 -0
  31. package/dist/builders/StaticAuctionBuilder.d.mts +124 -0
  32. package/dist/builders/StaticAuctionBuilder.d.ts +124 -0
  33. package/dist/builders/StaticAuctionBuilder.js +29 -0
  34. package/dist/builders/StaticAuctionBuilder.js.map +1 -0
  35. package/dist/builders/StaticAuctionBuilder.mjs +20 -0
  36. package/dist/builders/StaticAuctionBuilder.mjs.map +1 -0
  37. package/dist/builders/index.d.mts +8 -0
  38. package/dist/builders/index.d.ts +8 -0
  39. package/dist/builders/index.js +56 -0
  40. package/dist/builders/index.js.map +1 -0
  41. package/dist/builders/index.mjs +23 -0
  42. package/dist/builders/index.mjs.map +1 -0
  43. package/dist/builders/shared.d.mts +116 -0
  44. package/dist/builders/shared.d.ts +116 -0
  45. package/dist/builders/shared.js +39 -0
  46. package/dist/builders/shared.js.map +1 -0
  47. package/dist/builders/shared.mjs +18 -0
  48. package/dist/builders/shared.mjs.map +1 -0
  49. package/dist/builders.d.mts +8 -131
  50. package/dist/builders.d.ts +8 -131
  51. package/dist/builders.js +44 -5
  52. package/dist/builders.mjs +22 -3
  53. package/dist/chunk-3PNCB4W5.js +4 -0
  54. package/dist/{chunk-KRN3ROUE.js.map → chunk-3PNCB4W5.js.map} +1 -1
  55. package/dist/chunk-3RK7LRAA.js +282 -0
  56. package/dist/chunk-3RK7LRAA.js.map +1 -0
  57. package/dist/chunk-4HM3ERBU.js +13 -0
  58. package/dist/chunk-4HM3ERBU.js.map +1 -0
  59. package/dist/{chunk-7W72MFJO.mjs → chunk-4TROGENW.mjs} +5 -4
  60. package/dist/chunk-4TROGENW.mjs.map +1 -0
  61. package/dist/chunk-5TL5V6UX.mjs +3 -0
  62. package/dist/{chunk-AZLFJNTG.mjs.map → chunk-5TL5V6UX.mjs.map} +1 -1
  63. package/dist/chunk-64AWG57M.mjs +192 -0
  64. package/dist/chunk-64AWG57M.mjs.map +1 -0
  65. package/dist/chunk-6KWCHTK3.js +166 -0
  66. package/dist/chunk-6KWCHTK3.js.map +1 -0
  67. package/dist/chunk-6OOWOPCX.js +1708 -0
  68. package/dist/chunk-6OOWOPCX.js.map +1 -0
  69. package/dist/chunk-7BBRPWQJ.js +257 -0
  70. package/dist/chunk-7BBRPWQJ.js.map +1 -0
  71. package/dist/{chunk-AQPINKEW.mjs → chunk-AKSEBAR7.mjs} +29 -19
  72. package/dist/chunk-AKSEBAR7.mjs.map +1 -0
  73. package/dist/chunk-AS64GWBX.js +204 -0
  74. package/dist/chunk-AS64GWBX.js.map +1 -0
  75. package/dist/chunk-AULFBXM5.mjs +331 -0
  76. package/dist/chunk-AULFBXM5.mjs.map +1 -0
  77. package/dist/chunk-AW3WR2D3.mjs +238 -0
  78. package/dist/chunk-AW3WR2D3.mjs.map +1 -0
  79. package/dist/chunk-BIQQ53O2.js +45 -0
  80. package/dist/chunk-BIQQ53O2.js.map +1 -0
  81. package/dist/chunk-C6MPV3CY.js +260 -0
  82. package/dist/chunk-C6MPV3CY.js.map +1 -0
  83. package/dist/{chunk-AYPP5JEQ.mjs → chunk-CLEQO6GU.mjs} +5 -5
  84. package/dist/chunk-CLEQO6GU.mjs.map +1 -0
  85. package/dist/chunk-CVHPLURA.js +147 -0
  86. package/dist/chunk-CVHPLURA.js.map +1 -0
  87. package/dist/chunk-D2RBCFNW.mjs +130 -0
  88. package/dist/chunk-D2RBCFNW.mjs.map +1 -0
  89. package/dist/chunk-ECD4FV3A.mjs +11 -0
  90. package/dist/chunk-ECD4FV3A.mjs.map +1 -0
  91. package/dist/chunk-EDJBZPMW.mjs +255 -0
  92. package/dist/chunk-EDJBZPMW.mjs.map +1 -0
  93. package/dist/chunk-FPAI4QYW.mjs +145 -0
  94. package/dist/chunk-FPAI4QYW.mjs.map +1 -0
  95. package/dist/chunk-HM25ZMO3.js +18 -0
  96. package/dist/chunk-HM25ZMO3.js.map +1 -0
  97. package/dist/chunk-IHC6UYKK.js +4 -0
  98. package/dist/{chunk-DRBRT57F.js.map → chunk-IHC6UYKK.js.map} +1 -1
  99. package/dist/{chunk-AXA7YT2G.mjs → chunk-J5BFFL3X.mjs} +87 -47
  100. package/dist/chunk-J5BFFL3X.mjs.map +1 -0
  101. package/dist/chunk-JIKAD4YL.js +4 -0
  102. package/dist/{chunk-KEXKKQVW.js.map → chunk-JIKAD4YL.js.map} +1 -1
  103. package/dist/{chunk-EFAPDN4J.js → chunk-JWEXGALU.js} +730 -33
  104. package/dist/chunk-JWEXGALU.js.map +1 -0
  105. package/dist/{chunk-4K5GBNQV.mjs → chunk-KDT76YQE.mjs} +52 -13
  106. package/dist/chunk-KDT76YQE.mjs.map +1 -0
  107. package/dist/chunk-LMQLMMEX.js +317 -0
  108. package/dist/chunk-LMQLMMEX.js.map +1 -0
  109. package/dist/{chunk-TOMVBPNZ.js → chunk-LS4TK6SX.js} +9 -4
  110. package/dist/chunk-LS4TK6SX.js.map +1 -0
  111. package/dist/chunk-M4WMHD3X.mjs +40 -0
  112. package/dist/chunk-M4WMHD3X.mjs.map +1 -0
  113. package/dist/chunk-MCOK3UFR.mjs +280 -0
  114. package/dist/chunk-MCOK3UFR.mjs.map +1 -0
  115. package/dist/chunk-MGQSQCFG.js +176 -0
  116. package/dist/chunk-MGQSQCFG.js.map +1 -0
  117. package/dist/chunk-MKE3BUL3.mjs +3 -0
  118. package/dist/{chunk-CYDWEPFL.mjs.map → chunk-MKE3BUL3.mjs.map} +1 -1
  119. package/dist/chunk-MNJ5OYPE.mjs +17 -0
  120. package/dist/chunk-MNJ5OYPE.mjs.map +1 -0
  121. package/dist/chunk-MNXD45J7.mjs +164 -0
  122. package/dist/chunk-MNXD45J7.mjs.map +1 -0
  123. package/dist/chunk-NGDPQC5E.js +333 -0
  124. package/dist/chunk-NGDPQC5E.js.map +1 -0
  125. package/dist/chunk-NNNCVFOH.mjs +16 -0
  126. package/dist/chunk-NNNCVFOH.mjs.map +1 -0
  127. package/dist/chunk-NZ4BJ2IC.mjs +315 -0
  128. package/dist/chunk-NZ4BJ2IC.mjs.map +1 -0
  129. package/dist/chunk-OKNM7ODQ.js +29 -0
  130. package/dist/chunk-OKNM7ODQ.js.map +1 -0
  131. package/dist/{chunk-DCFHANLR.mjs → chunk-OTG75GVH.mjs} +725 -34
  132. package/dist/chunk-OTG75GVH.mjs.map +1 -0
  133. package/dist/chunk-OZ6DGBRL.mjs +25 -0
  134. package/dist/chunk-OZ6DGBRL.mjs.map +1 -0
  135. package/dist/chunk-P25HBGP5.mjs +3 -0
  136. package/dist/chunk-P25HBGP5.mjs.map +1 -0
  137. package/dist/{chunk-XG7K4R56.js → chunk-P7KLEPVI.js} +52 -12
  138. package/dist/chunk-P7KLEPVI.js.map +1 -0
  139. package/dist/{chunk-OPKQMN46.mjs → chunk-PAPXGPJB.mjs} +9 -4
  140. package/dist/chunk-PAPXGPJB.mjs.map +1 -0
  141. package/dist/chunk-PCNXJAU5.js +19 -0
  142. package/dist/chunk-PCNXJAU5.js.map +1 -0
  143. package/dist/{chunk-PMIJTXU6.js → chunk-PD6HWEMG.js} +40 -30
  144. package/dist/chunk-PD6HWEMG.js.map +1 -0
  145. package/dist/{chunk-ER42VG7H.js → chunk-PH2KXREH.js} +20 -3
  146. package/dist/chunk-PH2KXREH.js.map +1 -0
  147. package/dist/chunk-Q5ERW5ZW.mjs +107 -0
  148. package/dist/chunk-Q5ERW5ZW.mjs.map +1 -0
  149. package/dist/chunk-Q7YNBSVH.js +28 -0
  150. package/dist/chunk-Q7YNBSVH.js.map +1 -0
  151. package/dist/{chunk-T644D54P.mjs → chunk-QKO2FZGN.mjs} +16 -4
  152. package/dist/chunk-QKO2FZGN.mjs.map +1 -0
  153. package/dist/{chunk-CIRZKWLL.js → chunk-RVFSRYI5.js} +5 -3
  154. package/dist/chunk-RVFSRYI5.js.map +1 -0
  155. package/dist/{chunk-KPBCG4X2.js → chunk-RW37KJ77.js} +11 -11
  156. package/dist/chunk-RW37KJ77.js.map +1 -0
  157. package/dist/chunk-SD7BHT2F.mjs +3 -0
  158. package/dist/chunk-SD7BHT2F.mjs.map +1 -0
  159. package/dist/chunk-SP5M57BG.mjs +258 -0
  160. package/dist/chunk-SP5M57BG.mjs.map +1 -0
  161. package/dist/chunk-TKSHYEYA.mjs +1706 -0
  162. package/dist/chunk-TKSHYEYA.mjs.map +1 -0
  163. package/dist/chunk-WTS75RUC.js +4 -0
  164. package/dist/chunk-WTS75RUC.js.map +1 -0
  165. package/dist/{chunk-EIRVZJTT.js → chunk-XRPIGMA2.js} +108 -68
  166. package/dist/chunk-XRPIGMA2.js.map +1 -0
  167. package/dist/chunk-XTKSM4QE.js +132 -0
  168. package/dist/chunk-XTKSM4QE.js.map +1 -0
  169. package/dist/chunk-XUE3CIJ5.mjs +174 -0
  170. package/dist/chunk-XUE3CIJ5.mjs.map +1 -0
  171. package/dist/chunk-YYUOLM6U.js +244 -0
  172. package/dist/chunk-YYUOLM6U.js.map +1 -0
  173. package/dist/chunk-ZH44DHVR.mjs +26 -0
  174. package/dist/chunk-ZH44DHVR.mjs.map +1 -0
  175. package/dist/chunk-ZPHOOG72.js +112 -0
  176. package/dist/chunk-ZPHOOG72.js.map +1 -0
  177. package/dist/constants.d.mts +7 -2
  178. package/dist/constants.d.ts +7 -2
  179. package/dist/constants.js +57 -38
  180. package/dist/constants.mjs +1 -2
  181. package/dist/deployments.generated.d.mts +2 -0
  182. package/dist/deployments.generated.d.ts +2 -0
  183. package/dist/deployments.generated.js +12 -0
  184. package/dist/deployments.generated.js.map +1 -0
  185. package/dist/deployments.generated.mjs +3 -0
  186. package/dist/deployments.generated.mjs.map +1 -0
  187. package/dist/entities/DopplerFactory.d.mts +139 -11
  188. package/dist/entities/DopplerFactory.d.ts +139 -11
  189. package/dist/entities/DopplerFactory.js +17 -7
  190. package/dist/entities/DopplerFactory.mjs +16 -6
  191. package/dist/entities/auction/DynamicAuction.d.mts +19 -4
  192. package/dist/entities/auction/DynamicAuction.d.ts +19 -4
  193. package/dist/entities/auction/DynamicAuction.js +6 -6
  194. package/dist/entities/auction/DynamicAuction.mjs +5 -5
  195. package/dist/entities/auction/MulticurvePool.d.mts +55 -0
  196. package/dist/entities/auction/MulticurvePool.d.ts +55 -0
  197. package/dist/entities/auction/MulticurvePool.js +18 -0
  198. package/dist/entities/auction/MulticurvePool.js.map +1 -0
  199. package/dist/entities/auction/MulticurvePool.mjs +9 -0
  200. package/dist/entities/auction/MulticurvePool.mjs.map +1 -0
  201. package/dist/entities/auction/StaticAuction.d.mts +6 -3
  202. package/dist/entities/auction/StaticAuction.d.ts +6 -3
  203. package/dist/entities/auction/StaticAuction.js +6 -6
  204. package/dist/entities/auction/StaticAuction.mjs +5 -5
  205. package/dist/entities/auction/index.d.mts +3 -0
  206. package/dist/entities/auction/index.d.ts +3 -0
  207. package/dist/entities/auction/index.js +16 -9
  208. package/dist/entities/auction/index.mjs +10 -7
  209. package/dist/entities/quoter/Quoter.d.mts +44 -2
  210. package/dist/entities/quoter/Quoter.d.ts +44 -2
  211. package/dist/entities/quoter/Quoter.js +6 -6
  212. package/dist/entities/quoter/Quoter.mjs +5 -5
  213. package/dist/entities/quoter/index.d.mts +3 -0
  214. package/dist/entities/quoter/index.d.ts +3 -0
  215. package/dist/entities/quoter/index.js +6 -6
  216. package/dist/entities/quoter/index.mjs +5 -5
  217. package/dist/entities/token/derc20/Derc20.d.mts +33 -7
  218. package/dist/entities/token/derc20/Derc20.d.ts +33 -7
  219. package/dist/entities/token/derc20/Derc20.js +4 -5
  220. package/dist/entities/token/derc20/Derc20.mjs +3 -4
  221. package/dist/entities/token/derc20/index.d.mts +3 -0
  222. package/dist/entities/token/derc20/index.d.ts +3 -0
  223. package/dist/entities/token/derc20/index.js +4 -5
  224. package/dist/entities/token/derc20/index.mjs +3 -4
  225. package/dist/entities/token/eth/Eth.d.mts +7 -3
  226. package/dist/entities/token/eth/Eth.d.ts +7 -3
  227. package/dist/entities/token/eth/Eth.js +2 -3
  228. package/dist/entities/token/eth/Eth.mjs +1 -2
  229. package/dist/entities/token/eth/index.d.mts +3 -0
  230. package/dist/entities/token/eth/index.d.ts +3 -0
  231. package/dist/entities/token/eth/index.js +2 -3
  232. package/dist/entities/token/eth/index.mjs +1 -2
  233. package/dist/entities/token/index.d.mts +3 -0
  234. package/dist/entities/token/index.d.ts +3 -0
  235. package/dist/entities/token/index.js +6 -7
  236. package/dist/entities/token/index.mjs +4 -5
  237. package/dist/index.d.mts +18 -6
  238. package/dist/index.d.ts +18 -6
  239. package/dist/index.js +305 -140
  240. package/dist/index.js.map +1 -1
  241. package/dist/index.mjs +32 -19
  242. package/dist/index.mjs.map +1 -1
  243. package/dist/types.d.mts +260 -22
  244. package/dist/types.d.ts +260 -22
  245. package/dist/types.js +12 -3
  246. package/dist/types.mjs +3 -2
  247. package/dist/utils/airlock.d.mts +11 -0
  248. package/dist/utils/airlock.d.ts +11 -0
  249. package/dist/utils/airlock.js +26 -0
  250. package/dist/utils/airlock.js.map +1 -0
  251. package/dist/utils/airlock.mjs +5 -0
  252. package/dist/utils/airlock.mjs.map +1 -0
  253. package/dist/utils/balanceDelta.d.mts +10 -0
  254. package/dist/utils/balanceDelta.d.ts +10 -0
  255. package/dist/utils/balanceDelta.js +12 -0
  256. package/dist/utils/balanceDelta.js.map +1 -0
  257. package/dist/utils/balanceDelta.mjs +3 -0
  258. package/dist/utils/balanceDelta.mjs.map +1 -0
  259. package/dist/utils/computeOptimalGamma.d.mts +7 -0
  260. package/dist/utils/computeOptimalGamma.d.ts +7 -0
  261. package/dist/utils/computeOptimalGamma.js +12 -0
  262. package/dist/utils/computeOptimalGamma.js.map +1 -0
  263. package/dist/utils/computeOptimalGamma.mjs +3 -0
  264. package/dist/utils/computeOptimalGamma.mjs.map +1 -0
  265. package/dist/utils/index.d.mts +11 -0
  266. package/dist/utils/index.d.ts +11 -0
  267. package/dist/utils/index.js +114 -24
  268. package/dist/utils/index.mjs +14 -4
  269. package/dist/utils/isToken0Expected.d.mts +13 -0
  270. package/dist/utils/isToken0Expected.d.ts +13 -0
  271. package/dist/utils/isToken0Expected.js +12 -0
  272. package/dist/utils/isToken0Expected.js.map +1 -0
  273. package/dist/utils/isToken0Expected.mjs +3 -0
  274. package/dist/utils/isToken0Expected.mjs.map +1 -0
  275. package/dist/utils/marketCapHelpers.d.mts +309 -0
  276. package/dist/utils/marketCapHelpers.d.ts +309 -0
  277. package/dist/utils/marketCapHelpers.js +54 -0
  278. package/dist/utils/marketCapHelpers.js.map +1 -0
  279. package/dist/utils/marketCapHelpers.mjs +5 -0
  280. package/dist/utils/marketCapHelpers.mjs.map +1 -0
  281. package/dist/utils/poolKey.d.mts +17 -0
  282. package/dist/utils/poolKey.d.ts +17 -0
  283. package/dist/utils/poolKey.js +12 -0
  284. package/dist/utils/poolKey.js.map +1 -0
  285. package/dist/utils/poolKey.mjs +3 -0
  286. package/dist/utils/poolKey.mjs.map +1 -0
  287. package/dist/utils/priceHelpers.d.mts +3 -3
  288. package/dist/utils/priceHelpers.d.ts +3 -3
  289. package/dist/utils/priceHelpers.js +10 -11
  290. package/dist/utils/priceHelpers.mjs +2 -3
  291. package/dist/utils/tickMath.d.mts +8 -1
  292. package/dist/utils/tickMath.d.ts +8 -1
  293. package/dist/utils/tickMath.js +17 -14
  294. package/dist/utils/tickMath.mjs +1 -2
  295. package/dist/utils/tokenAddressMiner.d.mts +30 -0
  296. package/dist/utils/tokenAddressMiner.d.ts +30 -0
  297. package/dist/utils/tokenAddressMiner.js +14 -0
  298. package/dist/utils/tokenAddressMiner.js.map +1 -0
  299. package/dist/utils/tokenAddressMiner.mjs +5 -0
  300. package/dist/utils/tokenAddressMiner.mjs.map +1 -0
  301. package/package.json +14 -11
  302. package/dist/__tests__/mocks/addresses.d.mts +0 -46
  303. package/dist/__tests__/mocks/addresses.d.ts +0 -46
  304. package/dist/__tests__/mocks/addresses.js +0 -53
  305. package/dist/__tests__/mocks/addresses.js.map +0 -1
  306. package/dist/__tests__/mocks/addresses.mjs +0 -44
  307. package/dist/__tests__/mocks/addresses.mjs.map +0 -1
  308. package/dist/__tests__/mocks/clients.d.mts +0 -22
  309. package/dist/__tests__/mocks/clients.d.ts +0 -22
  310. package/dist/__tests__/mocks/clients.js +0 -17036
  311. package/dist/__tests__/mocks/clients.js.map +0 -1
  312. package/dist/__tests__/mocks/clients.mjs +0 -17032
  313. package/dist/__tests__/mocks/clients.mjs.map +0 -1
  314. package/dist/chunk-2N5JZSZ4.js +0 -14
  315. package/dist/chunk-2N5JZSZ4.js.map +0 -1
  316. package/dist/chunk-4K5GBNQV.mjs.map +0 -1
  317. package/dist/chunk-7F5IXZLH.js +0 -308
  318. package/dist/chunk-7F5IXZLH.js.map +0 -1
  319. package/dist/chunk-7W72MFJO.mjs.map +0 -1
  320. package/dist/chunk-AQPINKEW.mjs.map +0 -1
  321. package/dist/chunk-AXA7YT2G.mjs.map +0 -1
  322. package/dist/chunk-AYPP5JEQ.mjs.map +0 -1
  323. package/dist/chunk-AZLFJNTG.mjs +0 -3
  324. package/dist/chunk-CIRZKWLL.js.map +0 -1
  325. package/dist/chunk-CIVGL27M.mjs +0 -160
  326. package/dist/chunk-CIVGL27M.mjs.map +0 -1
  327. package/dist/chunk-CYDWEPFL.mjs +0 -3
  328. package/dist/chunk-DCFHANLR.mjs.map +0 -1
  329. package/dist/chunk-DRBRT57F.js +0 -4
  330. package/dist/chunk-EFAPDN4J.js.map +0 -1
  331. package/dist/chunk-EIRVZJTT.js.map +0 -1
  332. package/dist/chunk-ER42VG7H.js.map +0 -1
  333. package/dist/chunk-FPGJKJIR.js +0 -872
  334. package/dist/chunk-FPGJKJIR.js.map +0 -1
  335. package/dist/chunk-HRFHDSNE.js +0 -180
  336. package/dist/chunk-HRFHDSNE.js.map +0 -1
  337. package/dist/chunk-IHBIBFZK.mjs +0 -12
  338. package/dist/chunk-IHBIBFZK.mjs.map +0 -1
  339. package/dist/chunk-JIDZBQ7R.mjs +0 -870
  340. package/dist/chunk-JIDZBQ7R.mjs.map +0 -1
  341. package/dist/chunk-KEXKKQVW.js +0 -42
  342. package/dist/chunk-KFD6U3LQ.mjs +0 -305
  343. package/dist/chunk-KFD6U3LQ.mjs.map +0 -1
  344. package/dist/chunk-KPBCG4X2.js.map +0 -1
  345. package/dist/chunk-KRN3ROUE.js +0 -4
  346. package/dist/chunk-KT7U37XS.mjs +0 -207
  347. package/dist/chunk-KT7U37XS.mjs.map +0 -1
  348. package/dist/chunk-LOROXNH3.mjs +0 -37
  349. package/dist/chunk-LOROXNH3.mjs.map +0 -1
  350. package/dist/chunk-LZO67TYV.mjs +0 -176
  351. package/dist/chunk-LZO67TYV.mjs.map +0 -1
  352. package/dist/chunk-MZ2UBC4M.mjs +0 -80
  353. package/dist/chunk-MZ2UBC4M.mjs.map +0 -1
  354. package/dist/chunk-OPKQMN46.mjs.map +0 -1
  355. package/dist/chunk-PMIJTXU6.js.map +0 -1
  356. package/dist/chunk-T644D54P.mjs.map +0 -1
  357. package/dist/chunk-TOMVBPNZ.js.map +0 -1
  358. package/dist/chunk-UHT4QLL7.js +0 -162
  359. package/dist/chunk-UHT4QLL7.js.map +0 -1
  360. package/dist/chunk-XG7K4R56.js.map +0 -1
  361. package/dist/chunk-YNP2HGJZ.js +0 -82
  362. package/dist/chunk-YNP2HGJZ.js.map +0 -1
  363. package/dist/chunk-ZAIP54LX.js +0 -209
  364. package/dist/chunk-ZAIP54LX.js.map +0 -1
  365. package/dist/magic-string.es-CBLXTCZP.js +0 -1304
  366. package/dist/magic-string.es-CBLXTCZP.js.map +0 -1
  367. package/dist/magic-string.es-QHA47FSB.mjs +0 -1298
  368. package/dist/magic-string.es-QHA47FSB.mjs.map +0 -1
@@ -298,7 +298,55 @@ var airlockAbi = [
298
298
  { name: "expected", type: "uint8", internalType: "enum ModuleState" },
299
299
  { name: "actual", type: "uint8", internalType: "enum ModuleState" }
300
300
  ]
301
- }
301
+ },
302
+ // Pool initializer errors (included for better error decoding when calls bubble up)
303
+ {
304
+ type: "error",
305
+ name: "InvalidTickRange",
306
+ inputs: [
307
+ { name: "tick", type: "int24", internalType: "int24" },
308
+ { name: "tickSpacing", type: "int24", internalType: "int24" }
309
+ ]
310
+ },
311
+ {
312
+ type: "error",
313
+ name: "InvalidTickRangeMisordered",
314
+ inputs: [
315
+ { name: "tickLower", type: "int24", internalType: "int24" },
316
+ { name: "tickUpper", type: "int24", internalType: "int24" }
317
+ ]
318
+ },
319
+ {
320
+ type: "error",
321
+ name: "InvalidFee",
322
+ inputs: [{ name: "fee", type: "uint24", internalType: "uint24" }]
323
+ },
324
+ {
325
+ type: "error",
326
+ name: "CannotMigrateInsufficientTick",
327
+ inputs: [
328
+ { name: "targetTick", type: "int24", internalType: "int24" },
329
+ { name: "currentTick", type: "int24", internalType: "int24" }
330
+ ]
331
+ },
332
+ { type: "error", name: "CannotMintZeroLiquidity", inputs: [] },
333
+ {
334
+ type: "error",
335
+ name: "MaxShareToBeSoldExceeded",
336
+ inputs: [
337
+ { name: "value", type: "uint256", internalType: "uint256" },
338
+ { name: "limit", type: "uint256", internalType: "uint256" }
339
+ ]
340
+ },
341
+ { type: "error", name: "PoolAlreadyExited", inputs: [] },
342
+ { type: "error", name: "PoolAlreadyInitialized", inputs: [] },
343
+ { type: "error", name: "PoolLocked", inputs: [] },
344
+ { type: "error", name: "SenderNotAirlock", inputs: [] },
345
+ { type: "error", name: "UnorderedBeneficiaries", inputs: [] },
346
+ { type: "error", name: "InvalidShares", inputs: [] },
347
+ { type: "error", name: "InvalidTotalShares", inputs: [] },
348
+ { type: "error", name: "InvalidProtocolOwnerShares", inputs: [] },
349
+ { type: "error", name: "InvalidProtocolOwnerBeneficiary", inputs: [] }
302
350
  ];
303
351
  var uniswapV3InitializerAbi = [
304
352
  {
@@ -354,7 +402,10 @@ var v4MigratorAbi = [
354
402
  ],
355
403
  outputs: [{ name: "", type: "bytes" }],
356
404
  stateMutability: "pure"
357
- }
405
+ },
406
+ // V4 Migrator errors
407
+ { type: "error", name: "TickOutOfRange", inputs: [] },
408
+ { type: "error", name: "ZeroLiquidity", inputs: [] }
358
409
  ];
359
410
  var uniswapV3PoolAbi = [
360
411
  {
@@ -422,6 +473,95 @@ var derc20Abi = [
422
473
  outputs: [{ name: "", type: "bool", internalType: "bool" }],
423
474
  stateMutability: "nonpayable"
424
475
  },
476
+ // OpenZeppelin Votes (governance) — delegation + queries
477
+ {
478
+ type: "function",
479
+ name: "delegate",
480
+ inputs: [
481
+ { name: "delegatee", type: "address", internalType: "address" }
482
+ ],
483
+ outputs: [],
484
+ stateMutability: "nonpayable"
485
+ },
486
+ {
487
+ type: "function",
488
+ name: "delegateBySig",
489
+ inputs: [
490
+ { name: "delegatee", type: "address", internalType: "address" },
491
+ { name: "nonce", type: "uint256", internalType: "uint256" },
492
+ { name: "expiry", type: "uint256", internalType: "uint256" },
493
+ { name: "v", type: "uint8", internalType: "uint8" },
494
+ { name: "r", type: "bytes32", internalType: "bytes32" },
495
+ { name: "s", type: "bytes32", internalType: "bytes32" }
496
+ ],
497
+ outputs: [],
498
+ stateMutability: "nonpayable"
499
+ },
500
+ {
501
+ type: "function",
502
+ name: "delegates",
503
+ inputs: [
504
+ { name: "account", type: "address", internalType: "address" }
505
+ ],
506
+ outputs: [
507
+ { name: "", type: "address", internalType: "address" }
508
+ ],
509
+ stateMutability: "view"
510
+ },
511
+ {
512
+ type: "function",
513
+ name: "getVotes",
514
+ inputs: [
515
+ { name: "account", type: "address", internalType: "address" }
516
+ ],
517
+ outputs: [
518
+ { name: "", type: "uint256", internalType: "uint256" }
519
+ ],
520
+ stateMutability: "view"
521
+ },
522
+ {
523
+ type: "function",
524
+ name: "getPastVotes",
525
+ inputs: [
526
+ { name: "account", type: "address", internalType: "address" },
527
+ { name: "timepoint", type: "uint256", internalType: "uint256" }
528
+ ],
529
+ outputs: [
530
+ { name: "", type: "uint256", internalType: "uint256" }
531
+ ],
532
+ stateMutability: "view"
533
+ },
534
+ {
535
+ type: "function",
536
+ name: "getPastTotalSupply",
537
+ inputs: [
538
+ { name: "timepoint", type: "uint256", internalType: "uint256" }
539
+ ],
540
+ outputs: [
541
+ { name: "", type: "uint256", internalType: "uint256" }
542
+ ],
543
+ stateMutability: "view"
544
+ },
545
+ {
546
+ type: "function",
547
+ name: "nonces",
548
+ inputs: [
549
+ { name: "owner", type: "address", internalType: "address" }
550
+ ],
551
+ outputs: [
552
+ { name: "", type: "uint256", internalType: "uint256" }
553
+ ],
554
+ stateMutability: "view"
555
+ },
556
+ {
557
+ type: "function",
558
+ name: "DOMAIN_SEPARATOR",
559
+ inputs: [],
560
+ outputs: [
561
+ { name: "", type: "bytes32", internalType: "bytes32" }
562
+ ],
563
+ stateMutability: "view"
564
+ },
425
565
  {
426
566
  type: "function",
427
567
  name: "balanceOf",
@@ -491,7 +631,7 @@ var derc20Abi = [
491
631
  {
492
632
  type: "function",
493
633
  name: "release",
494
- inputs: [{ name: "amount", type: "uint256", internalType: "uint256" }],
634
+ inputs: [],
495
635
  outputs: [],
496
636
  stateMutability: "nonpayable"
497
637
  },
@@ -564,6 +704,46 @@ var derc20Abi = [
564
704
  inputs: [],
565
705
  outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
566
706
  stateMutability: "view"
707
+ },
708
+ // DERC20 errors
709
+ { type: "error", name: "MintingNotStartedYet", inputs: [] },
710
+ { type: "error", name: "ExceedsYearlyMintCap", inputs: [] },
711
+ { type: "error", name: "NoMintableAmount", inputs: [] },
712
+ { type: "error", name: "PoolLocked", inputs: [] },
713
+ { type: "error", name: "ArrayLengthsMismatch", inputs: [] },
714
+ { type: "error", name: "ReleaseAmountInvalid", inputs: [] },
715
+ {
716
+ type: "error",
717
+ name: "MaxPreMintPerAddressExceeded",
718
+ inputs: [
719
+ { name: "amount", type: "uint256", internalType: "uint256" },
720
+ { name: "limit", type: "uint256", internalType: "uint256" }
721
+ ]
722
+ },
723
+ {
724
+ type: "error",
725
+ name: "MaxTotalPreMintExceeded",
726
+ inputs: [
727
+ { name: "amount", type: "uint256", internalType: "uint256" },
728
+ { name: "limit", type: "uint256", internalType: "uint256" }
729
+ ]
730
+ },
731
+ {
732
+ type: "error",
733
+ name: "MaxTotalVestedExceeded",
734
+ inputs: [
735
+ { name: "amount", type: "uint256", internalType: "uint256" },
736
+ { name: "limit", type: "uint256", internalType: "uint256" }
737
+ ]
738
+ },
739
+ { type: "error", name: "VestingNotStartedYet", inputs: [] },
740
+ {
741
+ type: "error",
742
+ name: "MaxYearlyMintRateExceeded",
743
+ inputs: [
744
+ { name: "amount", type: "uint256", internalType: "uint256" },
745
+ { name: "limit", type: "uint256", internalType: "uint256" }
746
+ ]
567
747
  }
568
748
  ];
569
749
  var uniswapV4InitializerAbi = [
@@ -600,21 +780,13 @@ var dopplerHookAbi = [
600
780
  name: "state",
601
781
  inputs: [],
602
782
  outputs: [
603
- {
604
- name: "",
605
- type: "tuple",
606
- components: [
607
- { name: "lastEpoch", type: "uint40" },
608
- { name: "tickAccumulator", type: "int256" },
609
- { name: "totalTokensSold", type: "uint256" },
610
- { name: "totalProceeds", type: "uint256" },
611
- { name: "totalTokensSoldLastEpoch", type: "uint256" },
612
- { name: "feesAccrued", type: "tuple", components: [
613
- { name: "amount0", type: "int128" },
614
- { name: "amount1", type: "int128" }
615
- ] }
616
- ]
617
- }
783
+ { name: "lastEpoch", type: "uint40" },
784
+ { name: "tickAccumulator", type: "int256" },
785
+ { name: "totalTokensSold", type: "uint256" },
786
+ { name: "totalProceeds", type: "uint256" },
787
+ { name: "totalTokensSoldLastEpoch", type: "uint256" },
788
+ // BalanceDelta is encoded as a single int256 in the compiled ABI.
789
+ { name: "feesAccrued", type: "int256" }
618
790
  ],
619
791
  stateMutability: "view"
620
792
  },
@@ -637,17 +809,11 @@ var dopplerHookAbi = [
637
809
  name: "poolKey",
638
810
  inputs: [],
639
811
  outputs: [
640
- {
641
- name: "",
642
- type: "tuple",
643
- components: [
644
- { name: "currency0", type: "address" },
645
- { name: "currency1", type: "address" },
646
- { name: "fee", type: "uint24" },
647
- { name: "tickSpacing", type: "int24" },
648
- { name: "hooks", type: "address" }
649
- ]
650
- }
812
+ { name: "currency0", type: "address" },
813
+ { name: "currency1", type: "address" },
814
+ { name: "fee", type: "uint24" },
815
+ { name: "tickSpacing", type: "int24" },
816
+ { name: "hooks", type: "address" }
651
817
  ],
652
818
  stateMutability: "view"
653
819
  },
@@ -727,7 +893,27 @@ var dopplerHookAbi = [
727
893
  inputs: [],
728
894
  outputs: [{ name: "", type: "uint256" }],
729
895
  stateMutability: "view"
730
- }
896
+ },
897
+ // Doppler Hook errors
898
+ { type: "error", name: "InvalidGamma", inputs: [] },
899
+ { type: "error", name: "InvalidTimeRange", inputs: [] },
900
+ { type: "error", name: "CannotAddLiquidity", inputs: [] },
901
+ { type: "error", name: "CannotSwapBeforeStartTime", inputs: [] },
902
+ { type: "error", name: "SwapBelowRange", inputs: [] },
903
+ { type: "error", name: "InvalidStartTime", inputs: [] },
904
+ { type: "error", name: "InvalidTickRange", inputs: [] },
905
+ { type: "error", name: "InvalidTickSpacing", inputs: [] },
906
+ { type: "error", name: "InvalidEpochLength", inputs: [] },
907
+ { type: "error", name: "InvalidProceedLimits", inputs: [] },
908
+ { type: "error", name: "InvalidNumPDSlugs", inputs: [] },
909
+ { type: "error", name: "InvalidSwapAfterMaturitySufficientProceeds", inputs: [] },
910
+ { type: "error", name: "InvalidSwapAfterMaturityInsufficientProceeds", inputs: [] },
911
+ { type: "error", name: "MaximumProceedsReached", inputs: [] },
912
+ { type: "error", name: "SenderNotPoolManager", inputs: [] },
913
+ { type: "error", name: "AlreadyInitialized", inputs: [] },
914
+ { type: "error", name: "SenderNotInitializer", inputs: [] },
915
+ { type: "error", name: "CannotMigrate", inputs: [] },
916
+ { type: "error", name: "CannotDonate", inputs: [] }
731
917
  ];
732
918
  var quoterV2Abi = [
733
919
  {
@@ -837,8 +1023,8 @@ var quoterV2Abi = [
837
1023
  components: [
838
1024
  { internalType: "address", name: "tokenIn", type: "address" },
839
1025
  { internalType: "address", name: "tokenOut", type: "address" },
1026
+ { internalType: "uint256", name: "amount", type: "uint256" },
840
1027
  { internalType: "uint24", name: "fee", type: "uint24" },
841
- { internalType: "uint256", name: "amountOut", type: "uint256" },
842
1028
  {
843
1029
  internalType: "uint160",
844
1030
  name: "sqrtPriceLimitX96",
@@ -1200,6 +1386,236 @@ var lockableUniswapV3InitializerAbi = [
1200
1386
  { type: "error", name: "InvalidProtocolOwnerShares", inputs: [] },
1201
1387
  { type: "error", name: "InvalidProtocolOwnerBeneficiary", inputs: [] }
1202
1388
  ];
1389
+ var v4MulticurveInitializerAbi = [
1390
+ {
1391
+ type: "function",
1392
+ name: "airlock",
1393
+ inputs: [],
1394
+ outputs: [{ name: "", type: "address", internalType: "contract Airlock" }],
1395
+ stateMutability: "view"
1396
+ },
1397
+ {
1398
+ type: "function",
1399
+ name: "HOOK",
1400
+ inputs: [],
1401
+ outputs: [{ name: "", type: "address", internalType: "contract IHooks" }],
1402
+ stateMutability: "view"
1403
+ },
1404
+ {
1405
+ type: "function",
1406
+ name: "collectFees",
1407
+ inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
1408
+ outputs: [
1409
+ { name: "fees0", type: "uint128", internalType: "uint128" },
1410
+ { name: "fees1", type: "uint128", internalType: "uint128" }
1411
+ ],
1412
+ stateMutability: "nonpayable"
1413
+ },
1414
+ {
1415
+ type: "function",
1416
+ name: "getState",
1417
+ inputs: [{ name: "asset", type: "address", internalType: "address" }],
1418
+ outputs: [
1419
+ { name: "numeraire", type: "address", internalType: "address" },
1420
+ { name: "status", type: "uint8", internalType: "enum PoolStatus" },
1421
+ {
1422
+ name: "poolKey",
1423
+ type: "tuple",
1424
+ internalType: "struct PoolKey",
1425
+ components: [
1426
+ { name: "currency0", type: "address", internalType: "Currency" },
1427
+ { name: "currency1", type: "address", internalType: "Currency" },
1428
+ { name: "fee", type: "uint24", internalType: "uint24" },
1429
+ { name: "tickSpacing", type: "int24", internalType: "int24" },
1430
+ { name: "hooks", type: "address", internalType: "contract IHooks" }
1431
+ ]
1432
+ },
1433
+ { name: "farTick", type: "int24", internalType: "int24" }
1434
+ ],
1435
+ stateMutability: "view"
1436
+ },
1437
+ {
1438
+ type: "event",
1439
+ name: "Collect",
1440
+ inputs: [
1441
+ { name: "pool", type: "address", indexed: true, internalType: "address" },
1442
+ { name: "beneficiary", type: "address", indexed: true, internalType: "address" },
1443
+ { name: "fees0", type: "uint256", indexed: false, internalType: "uint256" },
1444
+ { name: "fees1", type: "uint256", indexed: false, internalType: "uint256" }
1445
+ ],
1446
+ anonymous: false
1447
+ },
1448
+ {
1449
+ type: "event",
1450
+ name: "Create",
1451
+ inputs: [
1452
+ { name: "poolOrHook", type: "address", indexed: true, internalType: "address" },
1453
+ { name: "asset", type: "address", indexed: true, internalType: "address" },
1454
+ { name: "numeraire", type: "address", indexed: true, internalType: "address" }
1455
+ ],
1456
+ anonymous: false
1457
+ },
1458
+ {
1459
+ type: "event",
1460
+ name: "Lock",
1461
+ inputs: [
1462
+ { name: "pool", type: "address", indexed: true, internalType: "address" },
1463
+ {
1464
+ name: "beneficiaries",
1465
+ type: "tuple[]",
1466
+ indexed: false,
1467
+ internalType: "struct BeneficiaryData[]",
1468
+ components: [
1469
+ { name: "beneficiary", type: "address", internalType: "address" },
1470
+ { name: "shares", type: "uint96", internalType: "uint96" }
1471
+ ]
1472
+ }
1473
+ ],
1474
+ anonymous: false
1475
+ },
1476
+ { type: "error", name: "PoolLocked", inputs: [] },
1477
+ { type: "error", name: "PoolNotLocked", inputs: [] },
1478
+ { type: "error", name: "PoolAlreadyInitialized", inputs: [] },
1479
+ { type: "error", name: "PoolAlreadyExited", inputs: [] },
1480
+ {
1481
+ type: "error",
1482
+ name: "CannotMigrateInsufficientTick",
1483
+ inputs: [
1484
+ { name: "targetTick", type: "int24", internalType: "int24" },
1485
+ { name: "currentTick", type: "int24", internalType: "int24" }
1486
+ ]
1487
+ },
1488
+ { type: "error", name: "SenderNotAirlock", inputs: [] },
1489
+ { type: "error", name: "UnorderedBeneficiaries", inputs: [] },
1490
+ { type: "error", name: "InvalidShares", inputs: [] },
1491
+ { type: "error", name: "InvalidTotalShares", inputs: [] },
1492
+ { type: "error", name: "InvalidProtocolOwnerShares", inputs: [] },
1493
+ { type: "error", name: "InvalidProtocolOwnerBeneficiary", inputs: [] }
1494
+ ];
1495
+ var streamableFeesLockerAbi = [
1496
+ {
1497
+ type: "function",
1498
+ name: "collectFees",
1499
+ inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
1500
+ outputs: [
1501
+ { name: "fees0", type: "uint128", internalType: "uint128" },
1502
+ { name: "fees1", type: "uint128", internalType: "uint128" }
1503
+ ],
1504
+ stateMutability: "nonpayable"
1505
+ },
1506
+ {
1507
+ type: "function",
1508
+ name: "streams",
1509
+ inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
1510
+ outputs: [
1511
+ {
1512
+ name: "poolKey",
1513
+ type: "tuple",
1514
+ internalType: "struct PoolKey",
1515
+ components: [
1516
+ { name: "currency0", type: "address", internalType: "Currency" },
1517
+ { name: "currency1", type: "address", internalType: "Currency" },
1518
+ { name: "fee", type: "uint24", internalType: "uint24" },
1519
+ { name: "tickSpacing", type: "int24", internalType: "int24" },
1520
+ { name: "hooks", type: "address", internalType: "contract IHooks" }
1521
+ ]
1522
+ },
1523
+ { name: "recipient", type: "address", internalType: "address" },
1524
+ { name: "startDate", type: "uint32", internalType: "uint32" },
1525
+ { name: "lockDuration", type: "uint32", internalType: "uint32" },
1526
+ { name: "isUnlocked", type: "bool", internalType: "bool" },
1527
+ {
1528
+ name: "beneficiaries",
1529
+ type: "tuple[]",
1530
+ internalType: "struct BeneficiaryData[]",
1531
+ components: [
1532
+ { name: "beneficiary", type: "address", internalType: "address" },
1533
+ { name: "shares", type: "uint96", internalType: "uint96" }
1534
+ ]
1535
+ },
1536
+ {
1537
+ name: "positions",
1538
+ type: "tuple[]",
1539
+ internalType: "struct Position[]",
1540
+ components: [
1541
+ { name: "tickLower", type: "int24", internalType: "int24" },
1542
+ { name: "tickUpper", type: "int24", internalType: "int24" },
1543
+ { name: "liquidity", type: "uint128", internalType: "uint128" },
1544
+ { name: "salt", type: "bytes32", internalType: "bytes32" }
1545
+ ]
1546
+ }
1547
+ ],
1548
+ stateMutability: "view"
1549
+ },
1550
+ // StreamableFeesLocker errors
1551
+ { type: "error", name: "NonPositionManager", inputs: [] },
1552
+ { type: "error", name: "NotApprovedMigrator", inputs: [] },
1553
+ { type: "error", name: "PositionNotFound", inputs: [] },
1554
+ { type: "error", name: "PositionAlreadyUnlocked", inputs: [] },
1555
+ { type: "error", name: "InvalidBeneficiary", inputs: [] }
1556
+ ];
1557
+ var v4MulticurveMigratorAbi = [
1558
+ {
1559
+ type: "function",
1560
+ name: "getAssetData",
1561
+ inputs: [
1562
+ { name: "token0", type: "address", internalType: "address" },
1563
+ { name: "token1", type: "address", internalType: "address" }
1564
+ ],
1565
+ outputs: [
1566
+ { name: "isToken0", type: "bool", internalType: "bool" },
1567
+ {
1568
+ name: "poolKey",
1569
+ type: "tuple",
1570
+ internalType: "struct PoolKey",
1571
+ components: [
1572
+ { name: "currency0", type: "address", internalType: "Currency" },
1573
+ { name: "currency1", type: "address", internalType: "Currency" },
1574
+ { name: "fee", type: "uint24", internalType: "uint24" },
1575
+ { name: "tickSpacing", type: "int24", internalType: "int24" },
1576
+ { name: "hooks", type: "address", internalType: "contract IHooks" }
1577
+ ]
1578
+ },
1579
+ { name: "lockDuration", type: "uint32", internalType: "uint32" },
1580
+ {
1581
+ name: "curves",
1582
+ type: "tuple[]",
1583
+ internalType: "struct Curve[]",
1584
+ components: [
1585
+ { name: "tickLower", type: "int24", internalType: "int24" },
1586
+ { name: "tickUpper", type: "int24", internalType: "int24" },
1587
+ { name: "numPositions", type: "uint16", internalType: "uint16" },
1588
+ { name: "shares", type: "uint256", internalType: "uint256" }
1589
+ ]
1590
+ },
1591
+ {
1592
+ name: "beneficiaries",
1593
+ type: "tuple[]",
1594
+ internalType: "struct BeneficiaryData[]",
1595
+ components: [
1596
+ { name: "beneficiary", type: "address", internalType: "address" },
1597
+ { name: "shares", type: "uint96", internalType: "uint96" }
1598
+ ]
1599
+ }
1600
+ ],
1601
+ stateMutability: "view"
1602
+ },
1603
+ {
1604
+ type: "function",
1605
+ name: "locker",
1606
+ inputs: [],
1607
+ outputs: [
1608
+ {
1609
+ name: "",
1610
+ type: "address",
1611
+ internalType: "contract StreamableFeesLockerV2"
1612
+ }
1613
+ ],
1614
+ stateMutability: "view"
1615
+ },
1616
+ // V4 Multicurve Migrator errors
1617
+ { type: "error", name: "PoolNotInitialized", inputs: [] }
1618
+ ];
1203
1619
  var dopplerLensAbi = [
1204
1620
  {
1205
1621
  type: "function",
@@ -1248,7 +1664,282 @@ var dopplerLensAbi = [
1248
1664
  stateMutability: "nonpayable"
1249
1665
  }
1250
1666
  ];
1667
+ var bundlerAbi = [
1668
+ {
1669
+ type: "function",
1670
+ name: "bundle",
1671
+ inputs: [
1672
+ {
1673
+ name: "createData",
1674
+ type: "tuple",
1675
+ internalType: "struct CreateParams",
1676
+ components: [
1677
+ { name: "initialSupply", type: "uint256", internalType: "uint256" },
1678
+ { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1679
+ { name: "numeraire", type: "address", internalType: "address" },
1680
+ { name: "tokenFactory", type: "address", internalType: "contract ITokenFactory" },
1681
+ { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1682
+ { name: "governanceFactory", type: "address", internalType: "contract IGovernanceFactory" },
1683
+ { name: "governanceFactoryData", type: "bytes", internalType: "bytes" },
1684
+ { name: "poolInitializer", type: "address", internalType: "contract IPoolInitializer" },
1685
+ { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1686
+ { name: "liquidityMigrator", type: "address", internalType: "contract ILiquidityMigrator" },
1687
+ { name: "liquidityMigratorData", type: "bytes", internalType: "bytes" },
1688
+ { name: "integrator", type: "address", internalType: "address" },
1689
+ { name: "salt", type: "bytes32", internalType: "bytes32" }
1690
+ ]
1691
+ },
1692
+ { name: "commands", type: "bytes", internalType: "bytes" },
1693
+ { name: "inputs", type: "bytes[]", internalType: "bytes[]" }
1694
+ ],
1695
+ outputs: [],
1696
+ stateMutability: "payable"
1697
+ },
1698
+ {
1699
+ type: "function",
1700
+ name: "simulateBundleExactIn",
1701
+ inputs: [
1702
+ {
1703
+ name: "createData",
1704
+ type: "tuple",
1705
+ internalType: "struct CreateParams",
1706
+ components: [
1707
+ { name: "initialSupply", type: "uint256", internalType: "uint256" },
1708
+ { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1709
+ { name: "numeraire", type: "address", internalType: "address" },
1710
+ { name: "tokenFactory", type: "address", internalType: "contract ITokenFactory" },
1711
+ { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1712
+ { name: "governanceFactory", type: "address", internalType: "contract IGovernanceFactory" },
1713
+ { name: "governanceFactoryData", type: "bytes", internalType: "bytes" },
1714
+ { name: "poolInitializer", type: "address", internalType: "contract IPoolInitializer" },
1715
+ { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1716
+ { name: "liquidityMigrator", type: "address", internalType: "contract ILiquidityMigrator" },
1717
+ { name: "liquidityMigratorData", type: "bytes", internalType: "bytes" },
1718
+ { name: "integrator", type: "address", internalType: "address" },
1719
+ { name: "salt", type: "bytes32", internalType: "bytes32" }
1720
+ ]
1721
+ },
1722
+ {
1723
+ name: "params",
1724
+ type: "tuple",
1725
+ internalType: "struct IQuoterV2.QuoteExactInputSingleParams",
1726
+ components: [
1727
+ { name: "tokenIn", type: "address", internalType: "address" },
1728
+ { name: "tokenOut", type: "address", internalType: "address" },
1729
+ { name: "amountIn", type: "uint256", internalType: "uint256" },
1730
+ { name: "fee", type: "uint24", internalType: "uint24" },
1731
+ { name: "sqrtPriceLimitX96", type: "uint160", internalType: "uint160" }
1732
+ ]
1733
+ }
1734
+ ],
1735
+ outputs: [{ name: "amountOut", type: "uint256", internalType: "uint256" }],
1736
+ stateMutability: "nonpayable"
1737
+ },
1738
+ {
1739
+ type: "function",
1740
+ name: "simulateBundleExactOut",
1741
+ inputs: [
1742
+ {
1743
+ name: "createData",
1744
+ type: "tuple",
1745
+ internalType: "struct CreateParams",
1746
+ components: [
1747
+ { name: "initialSupply", type: "uint256", internalType: "uint256" },
1748
+ { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1749
+ { name: "numeraire", type: "address", internalType: "address" },
1750
+ { name: "tokenFactory", type: "address", internalType: "contract ITokenFactory" },
1751
+ { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1752
+ { name: "governanceFactory", type: "address", internalType: "contract IGovernanceFactory" },
1753
+ { name: "governanceFactoryData", type: "bytes", internalType: "bytes" },
1754
+ { name: "poolInitializer", type: "address", internalType: "contract IPoolInitializer" },
1755
+ { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1756
+ { name: "liquidityMigrator", type: "address", internalType: "contract ILiquidityMigrator" },
1757
+ { name: "liquidityMigratorData", type: "bytes", internalType: "bytes" },
1758
+ { name: "integrator", type: "address", internalType: "address" },
1759
+ { name: "salt", type: "bytes32", internalType: "bytes32" }
1760
+ ]
1761
+ },
1762
+ {
1763
+ name: "params",
1764
+ type: "tuple",
1765
+ internalType: "struct IQuoterV2.QuoteExactOutputSingleParams",
1766
+ components: [
1767
+ { name: "tokenIn", type: "address", internalType: "address" },
1768
+ { name: "tokenOut", type: "address", internalType: "address" },
1769
+ { name: "amount", type: "uint256", internalType: "uint256" },
1770
+ { name: "fee", type: "uint24", internalType: "uint24" },
1771
+ { name: "sqrtPriceLimitX96", type: "uint160", internalType: "uint160" }
1772
+ ]
1773
+ }
1774
+ ],
1775
+ outputs: [{ name: "amountIn", type: "uint256", internalType: "uint256" }],
1776
+ stateMutability: "nonpayable"
1777
+ },
1778
+ {
1779
+ type: "function",
1780
+ name: "simulateMulticurveBundleExactOut",
1781
+ inputs: [
1782
+ {
1783
+ name: "createData",
1784
+ type: "tuple",
1785
+ internalType: "struct CreateParams",
1786
+ components: [
1787
+ { name: "initialSupply", type: "uint256", internalType: "uint256" },
1788
+ { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1789
+ { name: "numeraire", type: "address", internalType: "address" },
1790
+ { name: "tokenFactory", type: "address", internalType: "contract ITokenFactory" },
1791
+ { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1792
+ { name: "governanceFactory", type: "address", internalType: "contract IGovernanceFactory" },
1793
+ { name: "governanceFactoryData", type: "bytes", internalType: "bytes" },
1794
+ { name: "poolInitializer", type: "address", internalType: "contract IPoolInitializer" },
1795
+ { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1796
+ { name: "liquidityMigrator", type: "address", internalType: "contract ILiquidityMigrator" },
1797
+ { name: "liquidityMigratorData", type: "bytes", internalType: "bytes" },
1798
+ { name: "integrator", type: "address", internalType: "address" },
1799
+ { name: "salt", type: "bytes32", internalType: "bytes32" }
1800
+ ]
1801
+ },
1802
+ { name: "exactAmountOut", type: "uint128", internalType: "uint128" },
1803
+ { name: "hookData", type: "bytes", internalType: "bytes" }
1804
+ ],
1805
+ outputs: [
1806
+ { name: "asset", type: "address", internalType: "address" },
1807
+ {
1808
+ name: "poolKey",
1809
+ type: "tuple",
1810
+ internalType: "struct PoolKey",
1811
+ components: [
1812
+ { name: "currency0", type: "address", internalType: "Currency" },
1813
+ { name: "currency1", type: "address", internalType: "Currency" },
1814
+ { name: "fee", type: "uint24", internalType: "uint24" },
1815
+ { name: "tickSpacing", type: "int24", internalType: "int24" },
1816
+ { name: "hooks", type: "address", internalType: "contract IHooks" }
1817
+ ]
1818
+ },
1819
+ { name: "amountIn", type: "uint256", internalType: "uint256" },
1820
+ { name: "gasEstimate", type: "uint256", internalType: "uint256" }
1821
+ ],
1822
+ stateMutability: "nonpayable"
1823
+ },
1824
+ {
1825
+ type: "function",
1826
+ name: "simulateMulticurveBundleExactIn",
1827
+ inputs: [
1828
+ {
1829
+ name: "createData",
1830
+ type: "tuple",
1831
+ internalType: "struct CreateParams",
1832
+ components: [
1833
+ { name: "initialSupply", type: "uint256", internalType: "uint256" },
1834
+ { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1835
+ { name: "numeraire", type: "address", internalType: "address" },
1836
+ { name: "tokenFactory", type: "address", internalType: "contract ITokenFactory" },
1837
+ { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1838
+ { name: "governanceFactory", type: "address", internalType: "contract IGovernanceFactory" },
1839
+ { name: "governanceFactoryData", type: "bytes", internalType: "bytes" },
1840
+ { name: "poolInitializer", type: "address", internalType: "contract IPoolInitializer" },
1841
+ { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1842
+ { name: "liquidityMigrator", type: "address", internalType: "contract ILiquidityMigrator" },
1843
+ { name: "liquidityMigratorData", type: "bytes", internalType: "bytes" },
1844
+ { name: "integrator", type: "address", internalType: "address" },
1845
+ { name: "salt", type: "bytes32", internalType: "bytes32" }
1846
+ ]
1847
+ },
1848
+ { name: "exactAmountIn", type: "uint128", internalType: "uint128" },
1849
+ { name: "hookData", type: "bytes", internalType: "bytes" }
1850
+ ],
1851
+ outputs: [
1852
+ { name: "asset", type: "address", internalType: "address" },
1853
+ {
1854
+ name: "poolKey",
1855
+ type: "tuple",
1856
+ internalType: "struct PoolKey",
1857
+ components: [
1858
+ { name: "currency0", type: "address", internalType: "Currency" },
1859
+ { name: "currency1", type: "address", internalType: "Currency" },
1860
+ { name: "fee", type: "uint24", internalType: "uint24" },
1861
+ { name: "tickSpacing", type: "int24", internalType: "int24" },
1862
+ { name: "hooks", type: "address", internalType: "contract IHooks" }
1863
+ ]
1864
+ },
1865
+ { name: "amountOut", type: "uint256", internalType: "uint256" },
1866
+ { name: "gasEstimate", type: "uint256", internalType: "uint256" }
1867
+ ],
1868
+ stateMutability: "nonpayable"
1869
+ },
1870
+ { type: "error", name: "InvalidAddresses", inputs: [] },
1871
+ { type: "error", name: "InvalidBundleData", inputs: [] },
1872
+ { type: "error", name: "InvalidOutputToken", inputs: [] }
1873
+ ];
1874
+ var poolManagerAbi = [
1875
+ {
1876
+ type: "function",
1877
+ name: "swap",
1878
+ inputs: [
1879
+ {
1880
+ name: "key",
1881
+ type: "tuple",
1882
+ internalType: "struct PoolKey",
1883
+ components: [
1884
+ { name: "currency0", type: "address", internalType: "Currency" },
1885
+ { name: "currency1", type: "address", internalType: "Currency" },
1886
+ { name: "fee", type: "uint24", internalType: "uint24" },
1887
+ { name: "tickSpacing", type: "int24", internalType: "int24" },
1888
+ { name: "hooks", type: "address", internalType: "contract IHooks" }
1889
+ ]
1890
+ },
1891
+ {
1892
+ name: "params",
1893
+ type: "tuple",
1894
+ internalType: "struct IPoolManager.SwapParams",
1895
+ components: [
1896
+ { name: "zeroForOne", type: "bool", internalType: "bool" },
1897
+ { name: "amountSpecified", type: "int256", internalType: "int256" },
1898
+ { name: "sqrtPriceLimitX96", type: "uint160", internalType: "uint160" }
1899
+ ]
1900
+ },
1901
+ { name: "hookData", type: "bytes", internalType: "bytes" }
1902
+ ],
1903
+ outputs: [
1904
+ { name: "swapDelta", type: "int256", internalType: "BalanceDelta" }
1905
+ ],
1906
+ stateMutability: "nonpayable"
1907
+ }
1908
+ ];
1909
+ var weth9Abi = [
1910
+ {
1911
+ type: "function",
1912
+ name: "deposit",
1913
+ inputs: [],
1914
+ outputs: [],
1915
+ stateMutability: "payable"
1916
+ },
1917
+ {
1918
+ type: "function",
1919
+ name: "withdraw",
1920
+ inputs: [{ name: "wad", type: "uint256", internalType: "uint256" }],
1921
+ outputs: [],
1922
+ stateMutability: "nonpayable"
1923
+ },
1924
+ {
1925
+ type: "function",
1926
+ name: "approve",
1927
+ inputs: [
1928
+ { name: "spender", type: "address", internalType: "address" },
1929
+ { name: "amount", type: "uint256", internalType: "uint256" }
1930
+ ],
1931
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
1932
+ stateMutability: "nonpayable"
1933
+ },
1934
+ {
1935
+ type: "function",
1936
+ name: "balanceOf",
1937
+ inputs: [{ name: "owner", type: "address", internalType: "address" }],
1938
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
1939
+ stateMutability: "view"
1940
+ }
1941
+ ];
1251
1942
 
1252
- export { airlockAbi, derc20Abi, dopplerHookAbi, dopplerLensAbi, lockableUniswapV3InitializerAbi, quoterV2Abi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4QuoterAbi };
1253
- //# sourceMappingURL=chunk-DCFHANLR.mjs.map
1254
- //# sourceMappingURL=chunk-DCFHANLR.mjs.map
1943
+ export { airlockAbi, bundlerAbi, derc20Abi, dopplerHookAbi, dopplerLensAbi, lockableUniswapV3InitializerAbi, poolManagerAbi, quoterV2Abi, streamableFeesLockerAbi, uniswapV2Router02Abi, uniswapV3InitializerAbi, uniswapV3PoolAbi, uniswapV4InitializerAbi, v2MigratorAbi, v3MigratorAbi, v4MigratorAbi, v4MulticurveInitializerAbi, v4MulticurveMigratorAbi, v4QuoterAbi, weth9Abi };
1944
+ //# sourceMappingURL=chunk-OTG75GVH.mjs.map
1945
+ //# sourceMappingURL=chunk-OTG75GVH.mjs.map