@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
@@ -1,17 +1,47 @@
1
- import { PublicClient, WalletClient, Address } from 'viem';
2
- import { CreateStaticAuctionParams, CreateDynamicAuctionParams } from '../types.js';
1
+ import { WalletClient, Hex, Address, Hash } from 'viem';
2
+ import { SupportedPublicClient, MigrationConfig, CreateStaticAuctionParams, CreateParams, CreateDynamicAuctionParams, CreateMulticurveParams, MulticurveBundleExactOutResult, MulticurveBundleExactInResult } from '../types.js';
3
+ import { SupportedChainId } from '../addresses.js';
4
+ import 'viem/chains';
3
5
 
4
- declare class DopplerFactory {
6
+ type MigrationEncoder = (config: MigrationConfig) => Hex;
7
+ declare class DopplerFactory<C extends SupportedChainId = SupportedChainId> {
5
8
  private publicClient;
6
9
  private walletClient?;
7
10
  private chainId;
8
- constructor(publicClient: PublicClient, walletClient: WalletClient | undefined, chainId: number);
11
+ private customMigrationEncoder?;
12
+ private multicurveBundlerSupport;
13
+ constructor(publicClient: SupportedPublicClient, walletClient: WalletClient | undefined, chainId: C);
14
+ /**
15
+ * Set a custom migration data encoder function
16
+ * @param encoder Custom function to encode migration data
17
+ * @returns The factory instance for method chaining
18
+ */
19
+ withCustomMigrationEncoder(encoder: MigrationEncoder): this;
20
+ encodeCreateStaticAuctionParams(params: CreateStaticAuctionParams<C>): Promise<CreateParams>;
21
+ /**
22
+ * Simulate a static auction creation and return predicted addresses.
23
+ * Useful for pre-buy flows (bundle) to know the token/pool before sending.
24
+ */
25
+ simulateCreateStaticAuction(params: CreateStaticAuctionParams<C>): Promise<{
26
+ createParams: CreateParams;
27
+ asset: Address;
28
+ pool: Address;
29
+ gasEstimate?: bigint;
30
+ /** Execute the create with the same params used in simulation (guarantees address match) */
31
+ execute: () => Promise<{
32
+ poolAddress: Address;
33
+ tokenAddress: Address;
34
+ transactionHash: string;
35
+ }>;
36
+ }>;
9
37
  /**
10
38
  * Create a new static auction (using Uniswap V3 for initial liquidity)
11
39
  * @param params Configuration for the static auction
12
40
  * @returns The address of the created pool and token
13
41
  */
14
- createStaticAuction(params: CreateStaticAuctionParams): Promise<{
42
+ createStaticAuction(params: CreateStaticAuctionParams<C>, options?: {
43
+ _createParams?: CreateParams;
44
+ }): Promise<{
15
45
  poolAddress: Address;
16
46
  tokenAddress: Address;
17
47
  transactionHash: string;
@@ -20,25 +50,82 @@ declare class DopplerFactory {
20
50
  * Generate a random salt based on user address
21
51
  */
22
52
  private generateRandomSalt;
53
+ /**
54
+ * Iteratively mine a salt that ensures the newly created token sorts after the numeraire.
55
+ * This mirrors the legacy SDK behaviour so tick configuration can assume the numeraire is token0.
56
+ */
57
+ private mineTokenOrder;
58
+ encodeCreateDynamicAuctionParams(params: CreateDynamicAuctionParams<C>): Promise<{
59
+ createParams: CreateParams;
60
+ hookAddress: Address;
61
+ tokenAddress: Address;
62
+ }>;
23
63
  /**
24
64
  * Create a new dynamic auction (using Uniswap V4 hook for gradual Dutch auction)
25
65
  * @param params Configuration for the dynamic auction
26
66
  * @returns The address of the created hook and token
27
67
  */
28
- createDynamicAuction(params: CreateDynamicAuctionParams): Promise<{
68
+ createDynamicAuction(params: CreateDynamicAuctionParams<C>, options?: {
69
+ _createParams?: CreateParams;
70
+ }): Promise<{
29
71
  hookAddress: Address;
30
72
  tokenAddress: Address;
31
73
  poolId: string;
32
74
  transactionHash: string;
33
75
  }>;
76
+ /**
77
+ * Simulate a dynamic auction creation and return predicted addresses and poolId.
78
+ * Useful for clients that need the hook/token/poolId before submitting the tx.
79
+ */
80
+ simulateCreateDynamicAuction(params: CreateDynamicAuctionParams<C>): Promise<{
81
+ createParams: CreateParams;
82
+ hookAddress: Address;
83
+ tokenAddress: Address;
84
+ poolId: string;
85
+ gasEstimate?: bigint;
86
+ /** Execute the create with the same params used in simulation (guarantees address match) */
87
+ execute: () => Promise<{
88
+ hookAddress: Address;
89
+ tokenAddress: Address;
90
+ poolId: string;
91
+ transactionHash: string;
92
+ }>;
93
+ }>;
94
+ private resolveCreateGasEstimate;
95
+ private isDoppler404Token;
34
96
  /**
35
97
  * Encode migration data based on the MigrationConfig
36
98
  * This replaces the manual encoding methods from the old SDKs
37
99
  */
38
100
  private encodeMigrationData;
39
101
  /**
40
- * Validate static auction parameters
102
+ * Encode create params for Uniswap V4 Multicurve initializer/migrator flow
103
+ */
104
+ encodeCreateMulticurveParams(params: CreateMulticurveParams<C>): CreateParams;
105
+ simulateCreateMulticurve(params: CreateMulticurveParams<C>): Promise<{
106
+ createParams: CreateParams;
107
+ asset: Address;
108
+ pool: Address;
109
+ gasEstimate?: bigint;
110
+ /** Execute the create with the same params used in simulation (guarantees address match) */
111
+ execute: () => Promise<{
112
+ poolAddress: Address;
113
+ tokenAddress: Address;
114
+ transactionHash: string;
115
+ }>;
116
+ }>;
117
+ createMulticurve(params: CreateMulticurveParams<C>, options?: {
118
+ _createParams?: CreateParams;
119
+ }): Promise<{
120
+ poolAddress: Address;
121
+ tokenAddress: Address;
122
+ transactionHash: string;
123
+ }>;
124
+ /**
125
+ * Normalize user-provided multicurve positions and ensure they satisfy SDK constraints
41
126
  */
127
+ private normalizeMulticurveCurves;
128
+ private roundMaxTickDown;
42
129
  private validateStaticAuctionParams;
43
130
  /**
44
131
  * Validate dynamic auction parameters
@@ -52,15 +139,55 @@ declare class DopplerFactory {
52
139
  * Get the appropriate initializer address based on auction type
53
140
  */
54
141
  private getInitializerAddress;
142
+ /**
143
+ * Get the Bundler contract address for the current chain
144
+ * Used to perform atomic create + swap ("bundle") flows for static auctions
145
+ */
146
+ private getBundlerAddress;
55
147
  /**
56
148
  * Get the appropriate migrator address based on migration config
149
+ * Allows override via ModuleAddressOverrides when provided in params.
57
150
  */
58
151
  private getMigratorAddress;
59
152
  /**
60
- * Compute optimal gamma parameter based on price range and time parameters
61
- * Gamma determines how much the price can move per epoch during the sale.
153
+ * Simulate a bundle with exact input on Uniswap V3 as part of create
154
+ * Returns the expected output amount for the provided exact input.
155
+ */
156
+ simulateBundleExactInput(createParams: CreateParams, params: {
157
+ tokenIn: Address;
158
+ tokenOut: Address;
159
+ amountIn: bigint;
160
+ fee: number;
161
+ sqrtPriceLimitX96: bigint;
162
+ }): Promise<bigint>;
163
+ /**
164
+ * Simulate a bundle with exact output on Uniswap V3 as part of create
165
+ * Returns the required input amount for the provided exact output.
166
+ */
167
+ simulateBundleExactOutput(createParams: CreateParams, params: {
168
+ tokenIn: Address;
169
+ tokenOut: Address;
170
+ amount: bigint;
171
+ fee: number;
172
+ sqrtPriceLimitX96: bigint;
173
+ }): Promise<bigint>;
174
+ simulateMulticurveBundleExactOut(createParams: CreateParams, params?: {
175
+ exactAmountOut?: bigint;
176
+ }): Promise<MulticurveBundleExactOutResult>;
177
+ simulateMulticurveBundleExactIn(createParams: CreateParams, params: {
178
+ exactAmountIn: bigint;
179
+ }): Promise<MulticurveBundleExactInResult>;
180
+ /**
181
+ * Execute an atomic create + swap bundle through the Bundler
182
+ * commands/inputs are Universal Router encoded values (e.g., from doppler-router)
62
183
  */
63
- private computeOptimalGamma;
184
+ bundle(createParams: CreateParams, commands: Hex, inputs: Hex[], options?: {
185
+ gas?: bigint;
186
+ value?: bigint;
187
+ }): Promise<Hash>;
188
+ private ensureUint128;
189
+ private parseMulticurveBundleResult;
190
+ private normalizePoolKey;
64
191
  /**
65
192
  * Mines a salt and hook address with the appropriate flags
66
193
  *
@@ -88,6 +215,7 @@ declare class DopplerFactory {
88
215
  * Compute V4 pool ID from pool key components
89
216
  */
90
217
  private computePoolId;
218
+ private ensureMulticurveBundlerSupport;
91
219
  }
92
220
 
93
- export { DopplerFactory };
221
+ export { DopplerFactory, type MigrationEncoder };
@@ -1,17 +1,27 @@
1
1
  'use strict';
2
2
 
3
- var chunkFPGJKJIR_js = require('../chunk-FPGJKJIR.js');
4
- require('../chunk-HRFHDSNE.js');
5
- require('../chunk-ER42VG7H.js');
6
- require('../chunk-EFAPDN4J.js');
7
- require('../chunk-CIRZKWLL.js');
8
- require('../chunk-KEXKKQVW.js');
3
+ var chunk6OOWOPCX_js = require('../chunk-6OOWOPCX.js');
4
+ require('../chunk-WTS75RUC.js');
5
+ require('../chunk-MGQSQCFG.js');
6
+ require('../chunk-4HM3ERBU.js');
7
+ require('../chunk-PCNXJAU5.js');
8
+ require('../chunk-AS64GWBX.js');
9
+ require('../chunk-HM25ZMO3.js');
10
+ require('../chunk-Q7YNBSVH.js');
11
+ require('../chunk-RW37KJ77.js');
12
+ require('../chunk-P7KLEPVI.js');
13
+ require('../chunk-JWEXGALU.js');
14
+ require('../chunk-BIQQ53O2.js');
15
+ require('../chunk-PH2KXREH.js');
16
+ require('../chunk-YYUOLM6U.js');
17
+ require('../chunk-CVHPLURA.js');
18
+ require('../chunk-RVFSRYI5.js');
9
19
 
10
20
 
11
21
 
12
22
  Object.defineProperty(exports, "DopplerFactory", {
13
23
  enumerable: true,
14
- get: function () { return chunkFPGJKJIR_js.DopplerFactory; }
24
+ get: function () { return chunk6OOWOPCX_js.DopplerFactory; }
15
25
  });
16
26
  //# sourceMappingURL=DopplerFactory.js.map
17
27
  //# sourceMappingURL=DopplerFactory.js.map
@@ -1,8 +1,18 @@
1
- export { DopplerFactory } from '../chunk-JIDZBQ7R.mjs';
2
- import '../chunk-LZO67TYV.mjs';
3
- import '../chunk-T644D54P.mjs';
4
- import '../chunk-DCFHANLR.mjs';
5
- import '../chunk-7W72MFJO.mjs';
6
- import '../chunk-LOROXNH3.mjs';
1
+ export { DopplerFactory } from '../chunk-TKSHYEYA.mjs';
2
+ import '../chunk-5TL5V6UX.mjs';
3
+ import '../chunk-XUE3CIJ5.mjs';
4
+ import '../chunk-ECD4FV3A.mjs';
5
+ import '../chunk-MNJ5OYPE.mjs';
6
+ import '../chunk-64AWG57M.mjs';
7
+ import '../chunk-NNNCVFOH.mjs';
8
+ import '../chunk-ZH44DHVR.mjs';
9
+ import '../chunk-CLEQO6GU.mjs';
10
+ import '../chunk-KDT76YQE.mjs';
11
+ import '../chunk-OTG75GVH.mjs';
12
+ import '../chunk-M4WMHD3X.mjs';
13
+ import '../chunk-QKO2FZGN.mjs';
14
+ import '../chunk-AW3WR2D3.mjs';
15
+ import '../chunk-FPAI4QYW.mjs';
16
+ import '../chunk-4TROGENW.mjs';
7
17
  //# sourceMappingURL=DopplerFactory.mjs.map
8
18
  //# sourceMappingURL=DopplerFactory.mjs.map
@@ -1,5 +1,7 @@
1
- import { PublicClient, Address } from 'viem';
2
- import { HookInfo } from '../../types.mjs';
1
+ import { Address, Hex } from 'viem';
2
+ import { SupportedPublicClient, HookInfo } from '../../types.mjs';
3
+ import 'viem/chains';
4
+ import '../../addresses.mjs';
3
5
 
4
6
  /**
5
7
  * DynamicAuction class for interacting with dynamic auctions (Uniswap V4 hook based)
@@ -10,14 +12,21 @@ import { HookInfo } from '../../types.mjs';
10
12
  declare class DynamicAuction {
11
13
  private client;
12
14
  private hookAddress;
13
- constructor(client: PublicClient, hookAddress: Address);
15
+ private get rpc();
16
+ constructor(client: SupportedPublicClient, hookAddress: Address);
17
+ /**
18
+ * Wait for a transaction to be confirmed and the contract to be ready for reads
19
+ * @param hash - Transaction hash to wait for
20
+ * @param confirmations - Number of block confirmations to wait for (default: 2)
21
+ */
22
+ waitForDeployment(hash: Hex, confirmations?: number): Promise<void>;
14
23
  /**
15
24
  * Get the hook address
16
25
  */
17
26
  getAddress(): Address;
18
27
  /**
19
28
  * Get current hook information
20
- */
29
+ */
21
30
  getHookInfo(): Promise<HookInfo>;
22
31
  /**
23
32
  * Get the token address for this auction
@@ -52,6 +61,12 @@ declare class DynamicAuction {
52
61
  * Compute V4 pool ID from pool key components
53
62
  */
54
63
  private computePoolId;
64
+ /**
65
+ * Read hook state with backward-compatible decoding.
66
+ * Falls back to legacy state() ABI if the latest ABI fails to decode.
67
+ */
68
+ private readHookState;
69
+ private normalizePoolKey;
55
70
  }
56
71
 
57
72
  export { DynamicAuction };
@@ -1,5 +1,7 @@
1
- import { PublicClient, Address } from 'viem';
2
- import { HookInfo } from '../../types.js';
1
+ import { Address, Hex } from 'viem';
2
+ import { SupportedPublicClient, HookInfo } from '../../types.js';
3
+ import 'viem/chains';
4
+ import '../../addresses.js';
3
5
 
4
6
  /**
5
7
  * DynamicAuction class for interacting with dynamic auctions (Uniswap V4 hook based)
@@ -10,14 +12,21 @@ import { HookInfo } from '../../types.js';
10
12
  declare class DynamicAuction {
11
13
  private client;
12
14
  private hookAddress;
13
- constructor(client: PublicClient, hookAddress: Address);
15
+ private get rpc();
16
+ constructor(client: SupportedPublicClient, hookAddress: Address);
17
+ /**
18
+ * Wait for a transaction to be confirmed and the contract to be ready for reads
19
+ * @param hash - Transaction hash to wait for
20
+ * @param confirmations - Number of block confirmations to wait for (default: 2)
21
+ */
22
+ waitForDeployment(hash: Hex, confirmations?: number): Promise<void>;
14
23
  /**
15
24
  * Get the hook address
16
25
  */
17
26
  getAddress(): Address;
18
27
  /**
19
28
  * Get current hook information
20
- */
29
+ */
21
30
  getHookInfo(): Promise<HookInfo>;
22
31
  /**
23
32
  * Get the token address for this auction
@@ -52,6 +61,12 @@ declare class DynamicAuction {
52
61
  * Compute V4 pool ID from pool key components
53
62
  */
54
63
  private computePoolId;
64
+ /**
65
+ * Read hook state with backward-compatible decoding.
66
+ * Falls back to legacy state() ABI if the latest ABI fails to decode.
67
+ */
68
+ private readHookState;
69
+ private normalizePoolKey;
55
70
  }
56
71
 
57
72
  export { DynamicAuction };
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkEIRVZJTT_js = require('../../chunk-EIRVZJTT.js');
4
- require('../../chunk-HRFHDSNE.js');
5
- require('../../chunk-EFAPDN4J.js');
6
- require('../../chunk-CIRZKWLL.js');
7
- require('../../chunk-KEXKKQVW.js');
3
+ var chunkXRPIGMA2_js = require('../../chunk-XRPIGMA2.js');
4
+ require('../../chunk-JWEXGALU.js');
5
+ require('../../chunk-YYUOLM6U.js');
6
+ require('../../chunk-CVHPLURA.js');
7
+ require('../../chunk-RVFSRYI5.js');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "DynamicAuction", {
12
12
  enumerable: true,
13
- get: function () { return chunkEIRVZJTT_js.DynamicAuction; }
13
+ get: function () { return chunkXRPIGMA2_js.DynamicAuction; }
14
14
  });
15
15
  //# sourceMappingURL=DynamicAuction.js.map
16
16
  //# sourceMappingURL=DynamicAuction.js.map
@@ -1,7 +1,7 @@
1
- export { DynamicAuction } from '../../chunk-AXA7YT2G.mjs';
2
- import '../../chunk-LZO67TYV.mjs';
3
- import '../../chunk-DCFHANLR.mjs';
4
- import '../../chunk-7W72MFJO.mjs';
5
- import '../../chunk-LOROXNH3.mjs';
1
+ export { DynamicAuction } from '../../chunk-J5BFFL3X.mjs';
2
+ import '../../chunk-OTG75GVH.mjs';
3
+ import '../../chunk-AW3WR2D3.mjs';
4
+ import '../../chunk-FPAI4QYW.mjs';
5
+ import '../../chunk-4TROGENW.mjs';
6
6
  //# sourceMappingURL=DynamicAuction.mjs.map
7
7
  //# sourceMappingURL=DynamicAuction.mjs.map
@@ -0,0 +1,55 @@
1
+ import { WalletClient, Address, Hash } from 'viem';
2
+ import { SupportedPublicClient, MulticurvePoolState } from '../../types.mjs';
3
+ import 'viem/chains';
4
+ import '../../addresses.mjs';
5
+
6
+ /**
7
+ * MulticurvePool class for interacting with V4 multicurve pools
8
+ *
9
+ * Multicurve pools use the V4 multicurve initializer which supports:
10
+ * - Multiple bonding curves with different price ranges
11
+ * - Fee collection for configured beneficiaries
12
+ * - No-migration lockable liquidity
13
+ */
14
+ declare class MulticurvePool {
15
+ private client;
16
+ private walletClient?;
17
+ private poolAddress;
18
+ private get rpc();
19
+ constructor(client: SupportedPublicClient, walletClient: WalletClient | undefined, poolAddress: Address);
20
+ /**
21
+ * Get the pool address
22
+ */
23
+ getAddress(): Address;
24
+ /**
25
+ * Get current pool state from the multicurve initializer
26
+ */
27
+ getState(): Promise<MulticurvePoolState>;
28
+ /**
29
+ * Collect fees from the pool and distribute to beneficiaries
30
+ *
31
+ * This function can be called by any beneficiary to trigger fee collection
32
+ * and distribution. Fees are automatically distributed according to the
33
+ * configured beneficiary shares.
34
+ *
35
+ * @returns Object containing the amounts of fees0 and fees1 distributed, and the transaction hash
36
+ */
37
+ collectFees(): Promise<{
38
+ fees0: bigint;
39
+ fees1: bigint;
40
+ transactionHash: Hash;
41
+ }>;
42
+ /**
43
+ * Get the token address for this pool
44
+ */
45
+ getTokenAddress(): Promise<Address>;
46
+ /**
47
+ * Get the numeraire address for this pool
48
+ */
49
+ getNumeraireAddress(): Promise<Address>;
50
+ private parsePoolKey;
51
+ private resolveLockerAddress;
52
+ private collectFeesFromContract;
53
+ }
54
+
55
+ export { MulticurvePool };
@@ -0,0 +1,55 @@
1
+ import { WalletClient, Address, Hash } from 'viem';
2
+ import { SupportedPublicClient, MulticurvePoolState } from '../../types.js';
3
+ import 'viem/chains';
4
+ import '../../addresses.js';
5
+
6
+ /**
7
+ * MulticurvePool class for interacting with V4 multicurve pools
8
+ *
9
+ * Multicurve pools use the V4 multicurve initializer which supports:
10
+ * - Multiple bonding curves with different price ranges
11
+ * - Fee collection for configured beneficiaries
12
+ * - No-migration lockable liquidity
13
+ */
14
+ declare class MulticurvePool {
15
+ private client;
16
+ private walletClient?;
17
+ private poolAddress;
18
+ private get rpc();
19
+ constructor(client: SupportedPublicClient, walletClient: WalletClient | undefined, poolAddress: Address);
20
+ /**
21
+ * Get the pool address
22
+ */
23
+ getAddress(): Address;
24
+ /**
25
+ * Get current pool state from the multicurve initializer
26
+ */
27
+ getState(): Promise<MulticurvePoolState>;
28
+ /**
29
+ * Collect fees from the pool and distribute to beneficiaries
30
+ *
31
+ * This function can be called by any beneficiary to trigger fee collection
32
+ * and distribution. Fees are automatically distributed according to the
33
+ * configured beneficiary shares.
34
+ *
35
+ * @returns Object containing the amounts of fees0 and fees1 distributed, and the transaction hash
36
+ */
37
+ collectFees(): Promise<{
38
+ fees0: bigint;
39
+ fees1: bigint;
40
+ transactionHash: Hash;
41
+ }>;
42
+ /**
43
+ * Get the token address for this pool
44
+ */
45
+ getTokenAddress(): Promise<Address>;
46
+ /**
47
+ * Get the numeraire address for this pool
48
+ */
49
+ getNumeraireAddress(): Promise<Address>;
50
+ private parsePoolKey;
51
+ private resolveLockerAddress;
52
+ private collectFeesFromContract;
53
+ }
54
+
55
+ export { MulticurvePool };
@@ -0,0 +1,18 @@
1
+ 'use strict';
2
+
3
+ var chunk6KWCHTK3_js = require('../../chunk-6KWCHTK3.js');
4
+ require('../../chunk-Q7YNBSVH.js');
5
+ require('../../chunk-JWEXGALU.js');
6
+ require('../../chunk-OKNM7ODQ.js');
7
+ require('../../chunk-YYUOLM6U.js');
8
+ require('../../chunk-CVHPLURA.js');
9
+ require('../../chunk-RVFSRYI5.js');
10
+
11
+
12
+
13
+ Object.defineProperty(exports, "MulticurvePool", {
14
+ enumerable: true,
15
+ get: function () { return chunk6KWCHTK3_js.MulticurvePool; }
16
+ });
17
+ //# sourceMappingURL=MulticurvePool.js.map
18
+ //# sourceMappingURL=MulticurvePool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"MulticurvePool.js"}
@@ -0,0 +1,9 @@
1
+ export { MulticurvePool } from '../../chunk-MNXD45J7.mjs';
2
+ import '../../chunk-ZH44DHVR.mjs';
3
+ import '../../chunk-OTG75GVH.mjs';
4
+ import '../../chunk-OZ6DGBRL.mjs';
5
+ import '../../chunk-AW3WR2D3.mjs';
6
+ import '../../chunk-FPAI4QYW.mjs';
7
+ import '../../chunk-4TROGENW.mjs';
8
+ //# sourceMappingURL=MulticurvePool.mjs.map
9
+ //# sourceMappingURL=MulticurvePool.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"MulticurvePool.mjs"}
@@ -1,5 +1,7 @@
1
- import { PublicClient, Address } from 'viem';
2
- import { PoolInfo } from '../../types.mjs';
1
+ import { Address } from 'viem';
2
+ import { SupportedPublicClient, PoolInfo } from '../../types.mjs';
3
+ import 'viem/chains';
4
+ import '../../addresses.mjs';
3
5
 
4
6
  /**
5
7
  * StaticAuction class for interacting with static auctions (Uniswap V3 based)
@@ -10,7 +12,8 @@ import { PoolInfo } from '../../types.mjs';
10
12
  declare class StaticAuction {
11
13
  private client;
12
14
  private poolAddress;
13
- constructor(client: PublicClient, poolAddress: Address);
15
+ private get rpc();
16
+ constructor(client: SupportedPublicClient, poolAddress: Address);
14
17
  /**
15
18
  * Get the pool address
16
19
  */
@@ -1,5 +1,7 @@
1
- import { PublicClient, Address } from 'viem';
2
- import { PoolInfo } from '../../types.js';
1
+ import { Address } from 'viem';
2
+ import { SupportedPublicClient, PoolInfo } from '../../types.js';
3
+ import 'viem/chains';
4
+ import '../../addresses.js';
3
5
 
4
6
  /**
5
7
  * StaticAuction class for interacting with static auctions (Uniswap V3 based)
@@ -10,7 +12,8 @@ import { PoolInfo } from '../../types.js';
10
12
  declare class StaticAuction {
11
13
  private client;
12
14
  private poolAddress;
13
- constructor(client: PublicClient, poolAddress: Address);
15
+ private get rpc();
16
+ constructor(client: SupportedPublicClient, poolAddress: Address);
14
17
  /**
15
18
  * Get the pool address
16
19
  */
@@ -1,16 +1,16 @@
1
1
  'use strict';
2
2
 
3
- var chunkPMIJTXU6_js = require('../../chunk-PMIJTXU6.js');
4
- require('../../chunk-HRFHDSNE.js');
5
- require('../../chunk-EFAPDN4J.js');
6
- require('../../chunk-CIRZKWLL.js');
7
- require('../../chunk-KEXKKQVW.js');
3
+ var chunkPD6HWEMG_js = require('../../chunk-PD6HWEMG.js');
4
+ require('../../chunk-JWEXGALU.js');
5
+ require('../../chunk-YYUOLM6U.js');
6
+ require('../../chunk-CVHPLURA.js');
7
+ require('../../chunk-RVFSRYI5.js');
8
8
 
9
9
 
10
10
 
11
11
  Object.defineProperty(exports, "StaticAuction", {
12
12
  enumerable: true,
13
- get: function () { return chunkPMIJTXU6_js.StaticAuction; }
13
+ get: function () { return chunkPD6HWEMG_js.StaticAuction; }
14
14
  });
15
15
  //# sourceMappingURL=StaticAuction.js.map
16
16
  //# sourceMappingURL=StaticAuction.js.map
@@ -1,7 +1,7 @@
1
- export { StaticAuction } from '../../chunk-AQPINKEW.mjs';
2
- import '../../chunk-LZO67TYV.mjs';
3
- import '../../chunk-DCFHANLR.mjs';
4
- import '../../chunk-7W72MFJO.mjs';
5
- import '../../chunk-LOROXNH3.mjs';
1
+ export { StaticAuction } from '../../chunk-AKSEBAR7.mjs';
2
+ import '../../chunk-OTG75GVH.mjs';
3
+ import '../../chunk-AW3WR2D3.mjs';
4
+ import '../../chunk-FPAI4QYW.mjs';
5
+ import '../../chunk-4TROGENW.mjs';
6
6
  //# sourceMappingURL=StaticAuction.mjs.map
7
7
  //# sourceMappingURL=StaticAuction.mjs.map
@@ -1,4 +1,7 @@
1
1
  export { StaticAuction } from './StaticAuction.mjs';
2
2
  export { DynamicAuction } from './DynamicAuction.mjs';
3
+ export { MulticurvePool } from './MulticurvePool.mjs';
3
4
  import 'viem';
4
5
  import '../../types.mjs';
6
+ import 'viem/chains';
7
+ import '../../addresses.mjs';
@@ -1,4 +1,7 @@
1
1
  export { StaticAuction } from './StaticAuction.js';
2
2
  export { DynamicAuction } from './DynamicAuction.js';
3
+ export { MulticurvePool } from './MulticurvePool.js';
3
4
  import 'viem';
4
5
  import '../../types.js';
6
+ import 'viem/chains';
7
+ import '../../addresses.js';