@whetstone-research/doppler-sdk 0.0.1-alpha.8 → 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-FVTIDXYK.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-DMAHXBA5.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-5IT5OXQ5.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-ZRDU6CIB.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-3OZRDL3O.js +0 -162
  317. package/dist/chunk-3OZRDL3O.js.map +0 -1
  318. package/dist/chunk-4K5GBNQV.mjs.map +0 -1
  319. package/dist/chunk-5IT5OXQ5.js.map +0 -1
  320. package/dist/chunk-7F5IXZLH.js +0 -308
  321. package/dist/chunk-7F5IXZLH.js.map +0 -1
  322. package/dist/chunk-7VP5VR7J.js +0 -82
  323. package/dist/chunk-7VP5VR7J.js.map +0 -1
  324. package/dist/chunk-7W72MFJO.mjs.map +0 -1
  325. package/dist/chunk-AYPP5JEQ.mjs.map +0 -1
  326. package/dist/chunk-AZLFJNTG.mjs +0 -3
  327. package/dist/chunk-CIRZKWLL.js.map +0 -1
  328. package/dist/chunk-CYDWEPFL.mjs +0 -3
  329. package/dist/chunk-DCFHANLR.mjs.map +0 -1
  330. package/dist/chunk-DMAHXBA5.mjs.map +0 -1
  331. package/dist/chunk-DRBRT57F.js +0 -4
  332. package/dist/chunk-EFAPDN4J.js.map +0 -1
  333. package/dist/chunk-ER42VG7H.js.map +0 -1
  334. package/dist/chunk-FVTIDXYK.mjs.map +0 -1
  335. package/dist/chunk-IHBIBFZK.mjs +0 -12
  336. package/dist/chunk-IHBIBFZK.mjs.map +0 -1
  337. package/dist/chunk-IXSKPEHB.mjs +0 -160
  338. package/dist/chunk-IXSKPEHB.mjs.map +0 -1
  339. package/dist/chunk-KEXKKQVW.js +0 -42
  340. package/dist/chunk-KFD6U3LQ.mjs +0 -305
  341. package/dist/chunk-KFD6U3LQ.mjs.map +0 -1
  342. package/dist/chunk-KPBCG4X2.js.map +0 -1
  343. package/dist/chunk-KRN3ROUE.js +0 -4
  344. package/dist/chunk-KT7U37XS.mjs +0 -207
  345. package/dist/chunk-KT7U37XS.mjs.map +0 -1
  346. package/dist/chunk-LOROXNH3.mjs +0 -37
  347. package/dist/chunk-LOROXNH3.mjs.map +0 -1
  348. package/dist/chunk-O6GYIJ6X.mjs +0 -80
  349. package/dist/chunk-O6GYIJ6X.mjs.map +0 -1
  350. package/dist/chunk-OPKQMN46.mjs.map +0 -1
  351. package/dist/chunk-RIMM47JL.mjs +0 -176
  352. package/dist/chunk-RIMM47JL.mjs.map +0 -1
  353. package/dist/chunk-SUOMK3CU.js +0 -872
  354. package/dist/chunk-SUOMK3CU.js.map +0 -1
  355. package/dist/chunk-T644D54P.mjs.map +0 -1
  356. package/dist/chunk-TOMVBPNZ.js.map +0 -1
  357. package/dist/chunk-XEMZQHTX.mjs +0 -870
  358. package/dist/chunk-XEMZQHTX.mjs.map +0 -1
  359. package/dist/chunk-XG7K4R56.js.map +0 -1
  360. package/dist/chunk-XQ2VMR26.js +0 -180
  361. package/dist/chunk-XQ2VMR26.js.map +0 -1
  362. package/dist/chunk-ZAIP54LX.js +0 -209
  363. package/dist/chunk-ZAIP54LX.js.map +0 -1
  364. package/dist/chunk-ZRDU6CIB.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
@@ -300,7 +300,55 @@ var airlockAbi = [
300
300
  { name: "expected", type: "uint8", internalType: "enum ModuleState" },
301
301
  { name: "actual", type: "uint8", internalType: "enum ModuleState" }
302
302
  ]
303
- }
303
+ },
304
+ // Pool initializer errors (included for better error decoding when calls bubble up)
305
+ {
306
+ type: "error",
307
+ name: "InvalidTickRange",
308
+ inputs: [
309
+ { name: "tick", type: "int24", internalType: "int24" },
310
+ { name: "tickSpacing", type: "int24", internalType: "int24" }
311
+ ]
312
+ },
313
+ {
314
+ type: "error",
315
+ name: "InvalidTickRangeMisordered",
316
+ inputs: [
317
+ { name: "tickLower", type: "int24", internalType: "int24" },
318
+ { name: "tickUpper", type: "int24", internalType: "int24" }
319
+ ]
320
+ },
321
+ {
322
+ type: "error",
323
+ name: "InvalidFee",
324
+ inputs: [{ name: "fee", type: "uint24", internalType: "uint24" }]
325
+ },
326
+ {
327
+ type: "error",
328
+ name: "CannotMigrateInsufficientTick",
329
+ inputs: [
330
+ { name: "targetTick", type: "int24", internalType: "int24" },
331
+ { name: "currentTick", type: "int24", internalType: "int24" }
332
+ ]
333
+ },
334
+ { type: "error", name: "CannotMintZeroLiquidity", inputs: [] },
335
+ {
336
+ type: "error",
337
+ name: "MaxShareToBeSoldExceeded",
338
+ inputs: [
339
+ { name: "value", type: "uint256", internalType: "uint256" },
340
+ { name: "limit", type: "uint256", internalType: "uint256" }
341
+ ]
342
+ },
343
+ { type: "error", name: "PoolAlreadyExited", inputs: [] },
344
+ { type: "error", name: "PoolAlreadyInitialized", inputs: [] },
345
+ { type: "error", name: "PoolLocked", inputs: [] },
346
+ { type: "error", name: "SenderNotAirlock", inputs: [] },
347
+ { type: "error", name: "UnorderedBeneficiaries", inputs: [] },
348
+ { type: "error", name: "InvalidShares", inputs: [] },
349
+ { type: "error", name: "InvalidTotalShares", inputs: [] },
350
+ { type: "error", name: "InvalidProtocolOwnerShares", inputs: [] },
351
+ { type: "error", name: "InvalidProtocolOwnerBeneficiary", inputs: [] }
304
352
  ];
305
353
  var uniswapV3InitializerAbi = [
306
354
  {
@@ -356,7 +404,10 @@ var v4MigratorAbi = [
356
404
  ],
357
405
  outputs: [{ name: "", type: "bytes" }],
358
406
  stateMutability: "pure"
359
- }
407
+ },
408
+ // V4 Migrator errors
409
+ { type: "error", name: "TickOutOfRange", inputs: [] },
410
+ { type: "error", name: "ZeroLiquidity", inputs: [] }
360
411
  ];
361
412
  var uniswapV3PoolAbi = [
362
413
  {
@@ -424,6 +475,95 @@ var derc20Abi = [
424
475
  outputs: [{ name: "", type: "bool", internalType: "bool" }],
425
476
  stateMutability: "nonpayable"
426
477
  },
478
+ // OpenZeppelin Votes (governance) — delegation + queries
479
+ {
480
+ type: "function",
481
+ name: "delegate",
482
+ inputs: [
483
+ { name: "delegatee", type: "address", internalType: "address" }
484
+ ],
485
+ outputs: [],
486
+ stateMutability: "nonpayable"
487
+ },
488
+ {
489
+ type: "function",
490
+ name: "delegateBySig",
491
+ inputs: [
492
+ { name: "delegatee", type: "address", internalType: "address" },
493
+ { name: "nonce", type: "uint256", internalType: "uint256" },
494
+ { name: "expiry", type: "uint256", internalType: "uint256" },
495
+ { name: "v", type: "uint8", internalType: "uint8" },
496
+ { name: "r", type: "bytes32", internalType: "bytes32" },
497
+ { name: "s", type: "bytes32", internalType: "bytes32" }
498
+ ],
499
+ outputs: [],
500
+ stateMutability: "nonpayable"
501
+ },
502
+ {
503
+ type: "function",
504
+ name: "delegates",
505
+ inputs: [
506
+ { name: "account", type: "address", internalType: "address" }
507
+ ],
508
+ outputs: [
509
+ { name: "", type: "address", internalType: "address" }
510
+ ],
511
+ stateMutability: "view"
512
+ },
513
+ {
514
+ type: "function",
515
+ name: "getVotes",
516
+ inputs: [
517
+ { name: "account", type: "address", internalType: "address" }
518
+ ],
519
+ outputs: [
520
+ { name: "", type: "uint256", internalType: "uint256" }
521
+ ],
522
+ stateMutability: "view"
523
+ },
524
+ {
525
+ type: "function",
526
+ name: "getPastVotes",
527
+ inputs: [
528
+ { name: "account", type: "address", internalType: "address" },
529
+ { name: "timepoint", type: "uint256", internalType: "uint256" }
530
+ ],
531
+ outputs: [
532
+ { name: "", type: "uint256", internalType: "uint256" }
533
+ ],
534
+ stateMutability: "view"
535
+ },
536
+ {
537
+ type: "function",
538
+ name: "getPastTotalSupply",
539
+ inputs: [
540
+ { name: "timepoint", type: "uint256", internalType: "uint256" }
541
+ ],
542
+ outputs: [
543
+ { name: "", type: "uint256", internalType: "uint256" }
544
+ ],
545
+ stateMutability: "view"
546
+ },
547
+ {
548
+ type: "function",
549
+ name: "nonces",
550
+ inputs: [
551
+ { name: "owner", type: "address", internalType: "address" }
552
+ ],
553
+ outputs: [
554
+ { name: "", type: "uint256", internalType: "uint256" }
555
+ ],
556
+ stateMutability: "view"
557
+ },
558
+ {
559
+ type: "function",
560
+ name: "DOMAIN_SEPARATOR",
561
+ inputs: [],
562
+ outputs: [
563
+ { name: "", type: "bytes32", internalType: "bytes32" }
564
+ ],
565
+ stateMutability: "view"
566
+ },
427
567
  {
428
568
  type: "function",
429
569
  name: "balanceOf",
@@ -493,7 +633,7 @@ var derc20Abi = [
493
633
  {
494
634
  type: "function",
495
635
  name: "release",
496
- inputs: [{ name: "amount", type: "uint256", internalType: "uint256" }],
636
+ inputs: [],
497
637
  outputs: [],
498
638
  stateMutability: "nonpayable"
499
639
  },
@@ -566,6 +706,46 @@ var derc20Abi = [
566
706
  inputs: [],
567
707
  outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
568
708
  stateMutability: "view"
709
+ },
710
+ // DERC20 errors
711
+ { type: "error", name: "MintingNotStartedYet", inputs: [] },
712
+ { type: "error", name: "ExceedsYearlyMintCap", inputs: [] },
713
+ { type: "error", name: "NoMintableAmount", inputs: [] },
714
+ { type: "error", name: "PoolLocked", inputs: [] },
715
+ { type: "error", name: "ArrayLengthsMismatch", inputs: [] },
716
+ { type: "error", name: "ReleaseAmountInvalid", inputs: [] },
717
+ {
718
+ type: "error",
719
+ name: "MaxPreMintPerAddressExceeded",
720
+ inputs: [
721
+ { name: "amount", type: "uint256", internalType: "uint256" },
722
+ { name: "limit", type: "uint256", internalType: "uint256" }
723
+ ]
724
+ },
725
+ {
726
+ type: "error",
727
+ name: "MaxTotalPreMintExceeded",
728
+ inputs: [
729
+ { name: "amount", type: "uint256", internalType: "uint256" },
730
+ { name: "limit", type: "uint256", internalType: "uint256" }
731
+ ]
732
+ },
733
+ {
734
+ type: "error",
735
+ name: "MaxTotalVestedExceeded",
736
+ inputs: [
737
+ { name: "amount", type: "uint256", internalType: "uint256" },
738
+ { name: "limit", type: "uint256", internalType: "uint256" }
739
+ ]
740
+ },
741
+ { type: "error", name: "VestingNotStartedYet", inputs: [] },
742
+ {
743
+ type: "error",
744
+ name: "MaxYearlyMintRateExceeded",
745
+ inputs: [
746
+ { name: "amount", type: "uint256", internalType: "uint256" },
747
+ { name: "limit", type: "uint256", internalType: "uint256" }
748
+ ]
569
749
  }
570
750
  ];
571
751
  var uniswapV4InitializerAbi = [
@@ -602,21 +782,13 @@ var dopplerHookAbi = [
602
782
  name: "state",
603
783
  inputs: [],
604
784
  outputs: [
605
- {
606
- name: "",
607
- type: "tuple",
608
- components: [
609
- { name: "lastEpoch", type: "uint40" },
610
- { name: "tickAccumulator", type: "int256" },
611
- { name: "totalTokensSold", type: "uint256" },
612
- { name: "totalProceeds", type: "uint256" },
613
- { name: "totalTokensSoldLastEpoch", type: "uint256" },
614
- { name: "feesAccrued", type: "tuple", components: [
615
- { name: "amount0", type: "int128" },
616
- { name: "amount1", type: "int128" }
617
- ] }
618
- ]
619
- }
785
+ { name: "lastEpoch", type: "uint40" },
786
+ { name: "tickAccumulator", type: "int256" },
787
+ { name: "totalTokensSold", type: "uint256" },
788
+ { name: "totalProceeds", type: "uint256" },
789
+ { name: "totalTokensSoldLastEpoch", type: "uint256" },
790
+ // BalanceDelta is encoded as a single int256 in the compiled ABI.
791
+ { name: "feesAccrued", type: "int256" }
620
792
  ],
621
793
  stateMutability: "view"
622
794
  },
@@ -639,17 +811,11 @@ var dopplerHookAbi = [
639
811
  name: "poolKey",
640
812
  inputs: [],
641
813
  outputs: [
642
- {
643
- name: "",
644
- type: "tuple",
645
- components: [
646
- { name: "currency0", type: "address" },
647
- { name: "currency1", type: "address" },
648
- { name: "fee", type: "uint24" },
649
- { name: "tickSpacing", type: "int24" },
650
- { name: "hooks", type: "address" }
651
- ]
652
- }
814
+ { name: "currency0", type: "address" },
815
+ { name: "currency1", type: "address" },
816
+ { name: "fee", type: "uint24" },
817
+ { name: "tickSpacing", type: "int24" },
818
+ { name: "hooks", type: "address" }
653
819
  ],
654
820
  stateMutability: "view"
655
821
  },
@@ -729,7 +895,27 @@ var dopplerHookAbi = [
729
895
  inputs: [],
730
896
  outputs: [{ name: "", type: "uint256" }],
731
897
  stateMutability: "view"
732
- }
898
+ },
899
+ // Doppler Hook errors
900
+ { type: "error", name: "InvalidGamma", inputs: [] },
901
+ { type: "error", name: "InvalidTimeRange", inputs: [] },
902
+ { type: "error", name: "CannotAddLiquidity", inputs: [] },
903
+ { type: "error", name: "CannotSwapBeforeStartTime", inputs: [] },
904
+ { type: "error", name: "SwapBelowRange", inputs: [] },
905
+ { type: "error", name: "InvalidStartTime", inputs: [] },
906
+ { type: "error", name: "InvalidTickRange", inputs: [] },
907
+ { type: "error", name: "InvalidTickSpacing", inputs: [] },
908
+ { type: "error", name: "InvalidEpochLength", inputs: [] },
909
+ { type: "error", name: "InvalidProceedLimits", inputs: [] },
910
+ { type: "error", name: "InvalidNumPDSlugs", inputs: [] },
911
+ { type: "error", name: "InvalidSwapAfterMaturitySufficientProceeds", inputs: [] },
912
+ { type: "error", name: "InvalidSwapAfterMaturityInsufficientProceeds", inputs: [] },
913
+ { type: "error", name: "MaximumProceedsReached", inputs: [] },
914
+ { type: "error", name: "SenderNotPoolManager", inputs: [] },
915
+ { type: "error", name: "AlreadyInitialized", inputs: [] },
916
+ { type: "error", name: "SenderNotInitializer", inputs: [] },
917
+ { type: "error", name: "CannotMigrate", inputs: [] },
918
+ { type: "error", name: "CannotDonate", inputs: [] }
733
919
  ];
734
920
  var quoterV2Abi = [
735
921
  {
@@ -839,8 +1025,8 @@ var quoterV2Abi = [
839
1025
  components: [
840
1026
  { internalType: "address", name: "tokenIn", type: "address" },
841
1027
  { internalType: "address", name: "tokenOut", type: "address" },
1028
+ { internalType: "uint256", name: "amount", type: "uint256" },
842
1029
  { internalType: "uint24", name: "fee", type: "uint24" },
843
- { internalType: "uint256", name: "amountOut", type: "uint256" },
844
1030
  {
845
1031
  internalType: "uint160",
846
1032
  name: "sqrtPriceLimitX96",
@@ -1202,6 +1388,236 @@ var lockableUniswapV3InitializerAbi = [
1202
1388
  { type: "error", name: "InvalidProtocolOwnerShares", inputs: [] },
1203
1389
  { type: "error", name: "InvalidProtocolOwnerBeneficiary", inputs: [] }
1204
1390
  ];
1391
+ var v4MulticurveInitializerAbi = [
1392
+ {
1393
+ type: "function",
1394
+ name: "airlock",
1395
+ inputs: [],
1396
+ outputs: [{ name: "", type: "address", internalType: "contract Airlock" }],
1397
+ stateMutability: "view"
1398
+ },
1399
+ {
1400
+ type: "function",
1401
+ name: "HOOK",
1402
+ inputs: [],
1403
+ outputs: [{ name: "", type: "address", internalType: "contract IHooks" }],
1404
+ stateMutability: "view"
1405
+ },
1406
+ {
1407
+ type: "function",
1408
+ name: "collectFees",
1409
+ inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
1410
+ outputs: [
1411
+ { name: "fees0", type: "uint128", internalType: "uint128" },
1412
+ { name: "fees1", type: "uint128", internalType: "uint128" }
1413
+ ],
1414
+ stateMutability: "nonpayable"
1415
+ },
1416
+ {
1417
+ type: "function",
1418
+ name: "getState",
1419
+ inputs: [{ name: "asset", type: "address", internalType: "address" }],
1420
+ outputs: [
1421
+ { name: "numeraire", type: "address", internalType: "address" },
1422
+ { name: "status", type: "uint8", internalType: "enum PoolStatus" },
1423
+ {
1424
+ name: "poolKey",
1425
+ type: "tuple",
1426
+ internalType: "struct PoolKey",
1427
+ components: [
1428
+ { name: "currency0", type: "address", internalType: "Currency" },
1429
+ { name: "currency1", type: "address", internalType: "Currency" },
1430
+ { name: "fee", type: "uint24", internalType: "uint24" },
1431
+ { name: "tickSpacing", type: "int24", internalType: "int24" },
1432
+ { name: "hooks", type: "address", internalType: "contract IHooks" }
1433
+ ]
1434
+ },
1435
+ { name: "farTick", type: "int24", internalType: "int24" }
1436
+ ],
1437
+ stateMutability: "view"
1438
+ },
1439
+ {
1440
+ type: "event",
1441
+ name: "Collect",
1442
+ inputs: [
1443
+ { name: "pool", type: "address", indexed: true, internalType: "address" },
1444
+ { name: "beneficiary", type: "address", indexed: true, internalType: "address" },
1445
+ { name: "fees0", type: "uint256", indexed: false, internalType: "uint256" },
1446
+ { name: "fees1", type: "uint256", indexed: false, internalType: "uint256" }
1447
+ ],
1448
+ anonymous: false
1449
+ },
1450
+ {
1451
+ type: "event",
1452
+ name: "Create",
1453
+ inputs: [
1454
+ { name: "poolOrHook", type: "address", indexed: true, internalType: "address" },
1455
+ { name: "asset", type: "address", indexed: true, internalType: "address" },
1456
+ { name: "numeraire", type: "address", indexed: true, internalType: "address" }
1457
+ ],
1458
+ anonymous: false
1459
+ },
1460
+ {
1461
+ type: "event",
1462
+ name: "Lock",
1463
+ inputs: [
1464
+ { name: "pool", type: "address", indexed: true, internalType: "address" },
1465
+ {
1466
+ name: "beneficiaries",
1467
+ type: "tuple[]",
1468
+ indexed: false,
1469
+ internalType: "struct BeneficiaryData[]",
1470
+ components: [
1471
+ { name: "beneficiary", type: "address", internalType: "address" },
1472
+ { name: "shares", type: "uint96", internalType: "uint96" }
1473
+ ]
1474
+ }
1475
+ ],
1476
+ anonymous: false
1477
+ },
1478
+ { type: "error", name: "PoolLocked", inputs: [] },
1479
+ { type: "error", name: "PoolNotLocked", inputs: [] },
1480
+ { type: "error", name: "PoolAlreadyInitialized", inputs: [] },
1481
+ { type: "error", name: "PoolAlreadyExited", inputs: [] },
1482
+ {
1483
+ type: "error",
1484
+ name: "CannotMigrateInsufficientTick",
1485
+ inputs: [
1486
+ { name: "targetTick", type: "int24", internalType: "int24" },
1487
+ { name: "currentTick", type: "int24", internalType: "int24" }
1488
+ ]
1489
+ },
1490
+ { type: "error", name: "SenderNotAirlock", inputs: [] },
1491
+ { type: "error", name: "UnorderedBeneficiaries", inputs: [] },
1492
+ { type: "error", name: "InvalidShares", inputs: [] },
1493
+ { type: "error", name: "InvalidTotalShares", inputs: [] },
1494
+ { type: "error", name: "InvalidProtocolOwnerShares", inputs: [] },
1495
+ { type: "error", name: "InvalidProtocolOwnerBeneficiary", inputs: [] }
1496
+ ];
1497
+ var streamableFeesLockerAbi = [
1498
+ {
1499
+ type: "function",
1500
+ name: "collectFees",
1501
+ inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
1502
+ outputs: [
1503
+ { name: "fees0", type: "uint128", internalType: "uint128" },
1504
+ { name: "fees1", type: "uint128", internalType: "uint128" }
1505
+ ],
1506
+ stateMutability: "nonpayable"
1507
+ },
1508
+ {
1509
+ type: "function",
1510
+ name: "streams",
1511
+ inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
1512
+ outputs: [
1513
+ {
1514
+ name: "poolKey",
1515
+ type: "tuple",
1516
+ internalType: "struct PoolKey",
1517
+ components: [
1518
+ { name: "currency0", type: "address", internalType: "Currency" },
1519
+ { name: "currency1", type: "address", internalType: "Currency" },
1520
+ { name: "fee", type: "uint24", internalType: "uint24" },
1521
+ { name: "tickSpacing", type: "int24", internalType: "int24" },
1522
+ { name: "hooks", type: "address", internalType: "contract IHooks" }
1523
+ ]
1524
+ },
1525
+ { name: "recipient", type: "address", internalType: "address" },
1526
+ { name: "startDate", type: "uint32", internalType: "uint32" },
1527
+ { name: "lockDuration", type: "uint32", internalType: "uint32" },
1528
+ { name: "isUnlocked", type: "bool", internalType: "bool" },
1529
+ {
1530
+ name: "beneficiaries",
1531
+ type: "tuple[]",
1532
+ internalType: "struct BeneficiaryData[]",
1533
+ components: [
1534
+ { name: "beneficiary", type: "address", internalType: "address" },
1535
+ { name: "shares", type: "uint96", internalType: "uint96" }
1536
+ ]
1537
+ },
1538
+ {
1539
+ name: "positions",
1540
+ type: "tuple[]",
1541
+ internalType: "struct Position[]",
1542
+ components: [
1543
+ { name: "tickLower", type: "int24", internalType: "int24" },
1544
+ { name: "tickUpper", type: "int24", internalType: "int24" },
1545
+ { name: "liquidity", type: "uint128", internalType: "uint128" },
1546
+ { name: "salt", type: "bytes32", internalType: "bytes32" }
1547
+ ]
1548
+ }
1549
+ ],
1550
+ stateMutability: "view"
1551
+ },
1552
+ // StreamableFeesLocker errors
1553
+ { type: "error", name: "NonPositionManager", inputs: [] },
1554
+ { type: "error", name: "NotApprovedMigrator", inputs: [] },
1555
+ { type: "error", name: "PositionNotFound", inputs: [] },
1556
+ { type: "error", name: "PositionAlreadyUnlocked", inputs: [] },
1557
+ { type: "error", name: "InvalidBeneficiary", inputs: [] }
1558
+ ];
1559
+ var v4MulticurveMigratorAbi = [
1560
+ {
1561
+ type: "function",
1562
+ name: "getAssetData",
1563
+ inputs: [
1564
+ { name: "token0", type: "address", internalType: "address" },
1565
+ { name: "token1", type: "address", internalType: "address" }
1566
+ ],
1567
+ outputs: [
1568
+ { name: "isToken0", type: "bool", internalType: "bool" },
1569
+ {
1570
+ name: "poolKey",
1571
+ type: "tuple",
1572
+ internalType: "struct PoolKey",
1573
+ components: [
1574
+ { name: "currency0", type: "address", internalType: "Currency" },
1575
+ { name: "currency1", type: "address", internalType: "Currency" },
1576
+ { name: "fee", type: "uint24", internalType: "uint24" },
1577
+ { name: "tickSpacing", type: "int24", internalType: "int24" },
1578
+ { name: "hooks", type: "address", internalType: "contract IHooks" }
1579
+ ]
1580
+ },
1581
+ { name: "lockDuration", type: "uint32", internalType: "uint32" },
1582
+ {
1583
+ name: "curves",
1584
+ type: "tuple[]",
1585
+ internalType: "struct Curve[]",
1586
+ components: [
1587
+ { name: "tickLower", type: "int24", internalType: "int24" },
1588
+ { name: "tickUpper", type: "int24", internalType: "int24" },
1589
+ { name: "numPositions", type: "uint16", internalType: "uint16" },
1590
+ { name: "shares", type: "uint256", internalType: "uint256" }
1591
+ ]
1592
+ },
1593
+ {
1594
+ name: "beneficiaries",
1595
+ type: "tuple[]",
1596
+ internalType: "struct BeneficiaryData[]",
1597
+ components: [
1598
+ { name: "beneficiary", type: "address", internalType: "address" },
1599
+ { name: "shares", type: "uint96", internalType: "uint96" }
1600
+ ]
1601
+ }
1602
+ ],
1603
+ stateMutability: "view"
1604
+ },
1605
+ {
1606
+ type: "function",
1607
+ name: "locker",
1608
+ inputs: [],
1609
+ outputs: [
1610
+ {
1611
+ name: "",
1612
+ type: "address",
1613
+ internalType: "contract StreamableFeesLockerV2"
1614
+ }
1615
+ ],
1616
+ stateMutability: "view"
1617
+ },
1618
+ // V4 Multicurve Migrator errors
1619
+ { type: "error", name: "PoolNotInitialized", inputs: [] }
1620
+ ];
1205
1621
  var dopplerLensAbi = [
1206
1622
  {
1207
1623
  type: "function",
@@ -1250,13 +1666,291 @@ var dopplerLensAbi = [
1250
1666
  stateMutability: "nonpayable"
1251
1667
  }
1252
1668
  ];
1669
+ var bundlerAbi = [
1670
+ {
1671
+ type: "function",
1672
+ name: "bundle",
1673
+ inputs: [
1674
+ {
1675
+ name: "createData",
1676
+ type: "tuple",
1677
+ internalType: "struct CreateParams",
1678
+ components: [
1679
+ { name: "initialSupply", type: "uint256", internalType: "uint256" },
1680
+ { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1681
+ { name: "numeraire", type: "address", internalType: "address" },
1682
+ { name: "tokenFactory", type: "address", internalType: "contract ITokenFactory" },
1683
+ { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1684
+ { name: "governanceFactory", type: "address", internalType: "contract IGovernanceFactory" },
1685
+ { name: "governanceFactoryData", type: "bytes", internalType: "bytes" },
1686
+ { name: "poolInitializer", type: "address", internalType: "contract IPoolInitializer" },
1687
+ { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1688
+ { name: "liquidityMigrator", type: "address", internalType: "contract ILiquidityMigrator" },
1689
+ { name: "liquidityMigratorData", type: "bytes", internalType: "bytes" },
1690
+ { name: "integrator", type: "address", internalType: "address" },
1691
+ { name: "salt", type: "bytes32", internalType: "bytes32" }
1692
+ ]
1693
+ },
1694
+ { name: "commands", type: "bytes", internalType: "bytes" },
1695
+ { name: "inputs", type: "bytes[]", internalType: "bytes[]" }
1696
+ ],
1697
+ outputs: [],
1698
+ stateMutability: "payable"
1699
+ },
1700
+ {
1701
+ type: "function",
1702
+ name: "simulateBundleExactIn",
1703
+ inputs: [
1704
+ {
1705
+ name: "createData",
1706
+ type: "tuple",
1707
+ internalType: "struct CreateParams",
1708
+ components: [
1709
+ { name: "initialSupply", type: "uint256", internalType: "uint256" },
1710
+ { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1711
+ { name: "numeraire", type: "address", internalType: "address" },
1712
+ { name: "tokenFactory", type: "address", internalType: "contract ITokenFactory" },
1713
+ { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1714
+ { name: "governanceFactory", type: "address", internalType: "contract IGovernanceFactory" },
1715
+ { name: "governanceFactoryData", type: "bytes", internalType: "bytes" },
1716
+ { name: "poolInitializer", type: "address", internalType: "contract IPoolInitializer" },
1717
+ { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1718
+ { name: "liquidityMigrator", type: "address", internalType: "contract ILiquidityMigrator" },
1719
+ { name: "liquidityMigratorData", type: "bytes", internalType: "bytes" },
1720
+ { name: "integrator", type: "address", internalType: "address" },
1721
+ { name: "salt", type: "bytes32", internalType: "bytes32" }
1722
+ ]
1723
+ },
1724
+ {
1725
+ name: "params",
1726
+ type: "tuple",
1727
+ internalType: "struct IQuoterV2.QuoteExactInputSingleParams",
1728
+ components: [
1729
+ { name: "tokenIn", type: "address", internalType: "address" },
1730
+ { name: "tokenOut", type: "address", internalType: "address" },
1731
+ { name: "amountIn", type: "uint256", internalType: "uint256" },
1732
+ { name: "fee", type: "uint24", internalType: "uint24" },
1733
+ { name: "sqrtPriceLimitX96", type: "uint160", internalType: "uint160" }
1734
+ ]
1735
+ }
1736
+ ],
1737
+ outputs: [{ name: "amountOut", type: "uint256", internalType: "uint256" }],
1738
+ stateMutability: "nonpayable"
1739
+ },
1740
+ {
1741
+ type: "function",
1742
+ name: "simulateBundleExactOut",
1743
+ inputs: [
1744
+ {
1745
+ name: "createData",
1746
+ type: "tuple",
1747
+ internalType: "struct CreateParams",
1748
+ components: [
1749
+ { name: "initialSupply", type: "uint256", internalType: "uint256" },
1750
+ { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1751
+ { name: "numeraire", type: "address", internalType: "address" },
1752
+ { name: "tokenFactory", type: "address", internalType: "contract ITokenFactory" },
1753
+ { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1754
+ { name: "governanceFactory", type: "address", internalType: "contract IGovernanceFactory" },
1755
+ { name: "governanceFactoryData", type: "bytes", internalType: "bytes" },
1756
+ { name: "poolInitializer", type: "address", internalType: "contract IPoolInitializer" },
1757
+ { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1758
+ { name: "liquidityMigrator", type: "address", internalType: "contract ILiquidityMigrator" },
1759
+ { name: "liquidityMigratorData", type: "bytes", internalType: "bytes" },
1760
+ { name: "integrator", type: "address", internalType: "address" },
1761
+ { name: "salt", type: "bytes32", internalType: "bytes32" }
1762
+ ]
1763
+ },
1764
+ {
1765
+ name: "params",
1766
+ type: "tuple",
1767
+ internalType: "struct IQuoterV2.QuoteExactOutputSingleParams",
1768
+ components: [
1769
+ { name: "tokenIn", type: "address", internalType: "address" },
1770
+ { name: "tokenOut", type: "address", internalType: "address" },
1771
+ { name: "amount", type: "uint256", internalType: "uint256" },
1772
+ { name: "fee", type: "uint24", internalType: "uint24" },
1773
+ { name: "sqrtPriceLimitX96", type: "uint160", internalType: "uint160" }
1774
+ ]
1775
+ }
1776
+ ],
1777
+ outputs: [{ name: "amountIn", type: "uint256", internalType: "uint256" }],
1778
+ stateMutability: "nonpayable"
1779
+ },
1780
+ {
1781
+ type: "function",
1782
+ name: "simulateMulticurveBundleExactOut",
1783
+ inputs: [
1784
+ {
1785
+ name: "createData",
1786
+ type: "tuple",
1787
+ internalType: "struct CreateParams",
1788
+ components: [
1789
+ { name: "initialSupply", type: "uint256", internalType: "uint256" },
1790
+ { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1791
+ { name: "numeraire", type: "address", internalType: "address" },
1792
+ { name: "tokenFactory", type: "address", internalType: "contract ITokenFactory" },
1793
+ { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1794
+ { name: "governanceFactory", type: "address", internalType: "contract IGovernanceFactory" },
1795
+ { name: "governanceFactoryData", type: "bytes", internalType: "bytes" },
1796
+ { name: "poolInitializer", type: "address", internalType: "contract IPoolInitializer" },
1797
+ { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1798
+ { name: "liquidityMigrator", type: "address", internalType: "contract ILiquidityMigrator" },
1799
+ { name: "liquidityMigratorData", type: "bytes", internalType: "bytes" },
1800
+ { name: "integrator", type: "address", internalType: "address" },
1801
+ { name: "salt", type: "bytes32", internalType: "bytes32" }
1802
+ ]
1803
+ },
1804
+ { name: "exactAmountOut", type: "uint128", internalType: "uint128" },
1805
+ { name: "hookData", type: "bytes", internalType: "bytes" }
1806
+ ],
1807
+ outputs: [
1808
+ { name: "asset", type: "address", internalType: "address" },
1809
+ {
1810
+ name: "poolKey",
1811
+ type: "tuple",
1812
+ internalType: "struct PoolKey",
1813
+ components: [
1814
+ { name: "currency0", type: "address", internalType: "Currency" },
1815
+ { name: "currency1", type: "address", internalType: "Currency" },
1816
+ { name: "fee", type: "uint24", internalType: "uint24" },
1817
+ { name: "tickSpacing", type: "int24", internalType: "int24" },
1818
+ { name: "hooks", type: "address", internalType: "contract IHooks" }
1819
+ ]
1820
+ },
1821
+ { name: "amountIn", type: "uint256", internalType: "uint256" },
1822
+ { name: "gasEstimate", type: "uint256", internalType: "uint256" }
1823
+ ],
1824
+ stateMutability: "nonpayable"
1825
+ },
1826
+ {
1827
+ type: "function",
1828
+ name: "simulateMulticurveBundleExactIn",
1829
+ inputs: [
1830
+ {
1831
+ name: "createData",
1832
+ type: "tuple",
1833
+ internalType: "struct CreateParams",
1834
+ components: [
1835
+ { name: "initialSupply", type: "uint256", internalType: "uint256" },
1836
+ { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1837
+ { name: "numeraire", type: "address", internalType: "address" },
1838
+ { name: "tokenFactory", type: "address", internalType: "contract ITokenFactory" },
1839
+ { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1840
+ { name: "governanceFactory", type: "address", internalType: "contract IGovernanceFactory" },
1841
+ { name: "governanceFactoryData", type: "bytes", internalType: "bytes" },
1842
+ { name: "poolInitializer", type: "address", internalType: "contract IPoolInitializer" },
1843
+ { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1844
+ { name: "liquidityMigrator", type: "address", internalType: "contract ILiquidityMigrator" },
1845
+ { name: "liquidityMigratorData", type: "bytes", internalType: "bytes" },
1846
+ { name: "integrator", type: "address", internalType: "address" },
1847
+ { name: "salt", type: "bytes32", internalType: "bytes32" }
1848
+ ]
1849
+ },
1850
+ { name: "exactAmountIn", type: "uint128", internalType: "uint128" },
1851
+ { name: "hookData", type: "bytes", internalType: "bytes" }
1852
+ ],
1853
+ outputs: [
1854
+ { name: "asset", type: "address", internalType: "address" },
1855
+ {
1856
+ name: "poolKey",
1857
+ type: "tuple",
1858
+ internalType: "struct PoolKey",
1859
+ components: [
1860
+ { name: "currency0", type: "address", internalType: "Currency" },
1861
+ { name: "currency1", type: "address", internalType: "Currency" },
1862
+ { name: "fee", type: "uint24", internalType: "uint24" },
1863
+ { name: "tickSpacing", type: "int24", internalType: "int24" },
1864
+ { name: "hooks", type: "address", internalType: "contract IHooks" }
1865
+ ]
1866
+ },
1867
+ { name: "amountOut", type: "uint256", internalType: "uint256" },
1868
+ { name: "gasEstimate", type: "uint256", internalType: "uint256" }
1869
+ ],
1870
+ stateMutability: "nonpayable"
1871
+ },
1872
+ { type: "error", name: "InvalidAddresses", inputs: [] },
1873
+ { type: "error", name: "InvalidBundleData", inputs: [] },
1874
+ { type: "error", name: "InvalidOutputToken", inputs: [] }
1875
+ ];
1876
+ var poolManagerAbi = [
1877
+ {
1878
+ type: "function",
1879
+ name: "swap",
1880
+ inputs: [
1881
+ {
1882
+ name: "key",
1883
+ type: "tuple",
1884
+ internalType: "struct PoolKey",
1885
+ components: [
1886
+ { name: "currency0", type: "address", internalType: "Currency" },
1887
+ { name: "currency1", type: "address", internalType: "Currency" },
1888
+ { name: "fee", type: "uint24", internalType: "uint24" },
1889
+ { name: "tickSpacing", type: "int24", internalType: "int24" },
1890
+ { name: "hooks", type: "address", internalType: "contract IHooks" }
1891
+ ]
1892
+ },
1893
+ {
1894
+ name: "params",
1895
+ type: "tuple",
1896
+ internalType: "struct IPoolManager.SwapParams",
1897
+ components: [
1898
+ { name: "zeroForOne", type: "bool", internalType: "bool" },
1899
+ { name: "amountSpecified", type: "int256", internalType: "int256" },
1900
+ { name: "sqrtPriceLimitX96", type: "uint160", internalType: "uint160" }
1901
+ ]
1902
+ },
1903
+ { name: "hookData", type: "bytes", internalType: "bytes" }
1904
+ ],
1905
+ outputs: [
1906
+ { name: "swapDelta", type: "int256", internalType: "BalanceDelta" }
1907
+ ],
1908
+ stateMutability: "nonpayable"
1909
+ }
1910
+ ];
1911
+ var weth9Abi = [
1912
+ {
1913
+ type: "function",
1914
+ name: "deposit",
1915
+ inputs: [],
1916
+ outputs: [],
1917
+ stateMutability: "payable"
1918
+ },
1919
+ {
1920
+ type: "function",
1921
+ name: "withdraw",
1922
+ inputs: [{ name: "wad", type: "uint256", internalType: "uint256" }],
1923
+ outputs: [],
1924
+ stateMutability: "nonpayable"
1925
+ },
1926
+ {
1927
+ type: "function",
1928
+ name: "approve",
1929
+ inputs: [
1930
+ { name: "spender", type: "address", internalType: "address" },
1931
+ { name: "amount", type: "uint256", internalType: "uint256" }
1932
+ ],
1933
+ outputs: [{ name: "", type: "bool", internalType: "bool" }],
1934
+ stateMutability: "nonpayable"
1935
+ },
1936
+ {
1937
+ type: "function",
1938
+ name: "balanceOf",
1939
+ inputs: [{ name: "owner", type: "address", internalType: "address" }],
1940
+ outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
1941
+ stateMutability: "view"
1942
+ }
1943
+ ];
1253
1944
 
1254
1945
  exports.airlockAbi = airlockAbi;
1946
+ exports.bundlerAbi = bundlerAbi;
1255
1947
  exports.derc20Abi = derc20Abi;
1256
1948
  exports.dopplerHookAbi = dopplerHookAbi;
1257
1949
  exports.dopplerLensAbi = dopplerLensAbi;
1258
1950
  exports.lockableUniswapV3InitializerAbi = lockableUniswapV3InitializerAbi;
1951
+ exports.poolManagerAbi = poolManagerAbi;
1259
1952
  exports.quoterV2Abi = quoterV2Abi;
1953
+ exports.streamableFeesLockerAbi = streamableFeesLockerAbi;
1260
1954
  exports.uniswapV2Router02Abi = uniswapV2Router02Abi;
1261
1955
  exports.uniswapV3InitializerAbi = uniswapV3InitializerAbi;
1262
1956
  exports.uniswapV3PoolAbi = uniswapV3PoolAbi;
@@ -1264,6 +1958,9 @@ exports.uniswapV4InitializerAbi = uniswapV4InitializerAbi;
1264
1958
  exports.v2MigratorAbi = v2MigratorAbi;
1265
1959
  exports.v3MigratorAbi = v3MigratorAbi;
1266
1960
  exports.v4MigratorAbi = v4MigratorAbi;
1961
+ exports.v4MulticurveInitializerAbi = v4MulticurveInitializerAbi;
1962
+ exports.v4MulticurveMigratorAbi = v4MulticurveMigratorAbi;
1267
1963
  exports.v4QuoterAbi = v4QuoterAbi;
1268
- //# sourceMappingURL=chunk-EFAPDN4J.js.map
1269
- //# sourceMappingURL=chunk-EFAPDN4J.js.map
1964
+ exports.weth9Abi = weth9Abi;
1965
+ //# sourceMappingURL=chunk-JWEXGALU.js.map
1966
+ //# sourceMappingURL=chunk-JWEXGALU.js.map