@whetstone-research/doppler-sdk 0.0.24 → 1.0.0

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 (445) hide show
  1. package/README.md +69 -0
  2. package/dist/chunk-3LTCKCJC.js +319 -0
  3. package/dist/chunk-3LTCKCJC.js.map +1 -0
  4. package/dist/chunk-PZ5AY32C.js +9 -0
  5. package/dist/{chunk-4XN6DQBW.js.map → chunk-PZ5AY32C.js.map} +1 -1
  6. package/dist/chunk-RO6R66OM.js +974 -0
  7. package/dist/chunk-RO6R66OM.js.map +1 -0
  8. package/dist/evm/index.d.ts +8533 -0
  9. package/dist/evm/index.js +15055 -0
  10. package/dist/evm/index.js.map +1 -0
  11. package/dist/oracle-BSvZ6pxp.d.ts +820 -0
  12. package/dist/pda-RVIHNLRP.js +4 -0
  13. package/dist/pda-RVIHNLRP.js.map +1 -0
  14. package/dist/solana/index.d.ts +2495 -0
  15. package/dist/solana/index.js +2209 -0
  16. package/dist/solana/index.js.map +1 -0
  17. package/dist/solana/react/index.d.ts +1046 -0
  18. package/dist/solana/react/index.js +1436 -0
  19. package/dist/solana/react/index.js.map +1 -0
  20. package/package.json +36 -20
  21. package/dist/DopplerSDK.d.mts +0 -106
  22. package/dist/DopplerSDK.d.ts +0 -106
  23. package/dist/DopplerSDK.js +0 -53
  24. package/dist/DopplerSDK.js.map +0 -1
  25. package/dist/DopplerSDK.mjs +0 -44
  26. package/dist/DopplerSDK.mjs.map +0 -1
  27. package/dist/abis/bytecodes/derc20.d.mts +0 -3
  28. package/dist/abis/bytecodes/derc20.d.ts +0 -3
  29. package/dist/abis/bytecodes/derc20.js +0 -9
  30. package/dist/abis/bytecodes/derc20.js.map +0 -1
  31. package/dist/abis/bytecodes/derc20.mjs +0 -3
  32. package/dist/abis/bytecodes/derc20.mjs.map +0 -1
  33. package/dist/abis/bytecodes/derc2080.d.mts +0 -3
  34. package/dist/abis/bytecodes/derc2080.d.ts +0 -3
  35. package/dist/abis/bytecodes/derc2080.js +0 -9
  36. package/dist/abis/bytecodes/derc2080.js.map +0 -1
  37. package/dist/abis/bytecodes/derc2080.mjs +0 -3
  38. package/dist/abis/bytecodes/derc2080.mjs.map +0 -1
  39. package/dist/abis/bytecodes/doppler.d.mts +0 -3
  40. package/dist/abis/bytecodes/doppler.d.ts +0 -3
  41. package/dist/abis/bytecodes/doppler.js +0 -9
  42. package/dist/abis/bytecodes/doppler.js.map +0 -1
  43. package/dist/abis/bytecodes/doppler.mjs +0 -3
  44. package/dist/abis/bytecodes/doppler.mjs.map +0 -1
  45. package/dist/abis/bytecodes/dopplerDN404.d.mts +0 -3
  46. package/dist/abis/bytecodes/dopplerDN404.d.ts +0 -3
  47. package/dist/abis/bytecodes/dopplerDN404.js +0 -9
  48. package/dist/abis/bytecodes/dopplerDN404.js.map +0 -1
  49. package/dist/abis/bytecodes/dopplerDN404.mjs +0 -3
  50. package/dist/abis/bytecodes/dopplerDN404.mjs.map +0 -1
  51. package/dist/abis/bytecodes/stateView.d.mts +0 -3
  52. package/dist/abis/bytecodes/stateView.d.ts +0 -3
  53. package/dist/abis/bytecodes/stateView.js +0 -9
  54. package/dist/abis/bytecodes/stateView.js.map +0 -1
  55. package/dist/abis/bytecodes/stateView.mjs +0 -3
  56. package/dist/abis/bytecodes/stateView.mjs.map +0 -1
  57. package/dist/abis/bytecodes.d.mts +0 -5
  58. package/dist/abis/bytecodes.d.ts +0 -5
  59. package/dist/abis/bytecodes.js +0 -33
  60. package/dist/abis/bytecodes.js.map +0 -1
  61. package/dist/abis/bytecodes.mjs +0 -8
  62. package/dist/abis/bytecodes.mjs.map +0 -1
  63. package/dist/abis/index.d.mts +0 -3871
  64. package/dist/abis/index.d.ts +0 -3871
  65. package/dist/abis/index.js +0 -130
  66. package/dist/abis/index.js.map +0 -1
  67. package/dist/abis/index.mjs +0 -9
  68. package/dist/abis/index.mjs.map +0 -1
  69. package/dist/addresses.d.mts +0 -69
  70. package/dist/addresses.d.ts +0 -69
  71. package/dist/addresses.js +0 -29
  72. package/dist/addresses.js.map +0 -1
  73. package/dist/addresses.mjs +0 -4
  74. package/dist/addresses.mjs.map +0 -1
  75. package/dist/builders/DynamicAuctionBuilder.d.mts +0 -138
  76. package/dist/builders/DynamicAuctionBuilder.d.ts +0 -138
  77. package/dist/builders/DynamicAuctionBuilder.js +0 -35
  78. package/dist/builders/DynamicAuctionBuilder.js.map +0 -1
  79. package/dist/builders/DynamicAuctionBuilder.mjs +0 -26
  80. package/dist/builders/DynamicAuctionBuilder.mjs.map +0 -1
  81. package/dist/builders/MulticurveBuilder.d.mts +0 -196
  82. package/dist/builders/MulticurveBuilder.d.ts +0 -196
  83. package/dist/builders/MulticurveBuilder.js +0 -35
  84. package/dist/builders/MulticurveBuilder.js.map +0 -1
  85. package/dist/builders/MulticurveBuilder.mjs +0 -26
  86. package/dist/builders/MulticurveBuilder.mjs.map +0 -1
  87. package/dist/builders/StaticAuctionBuilder.d.mts +0 -131
  88. package/dist/builders/StaticAuctionBuilder.d.ts +0 -131
  89. package/dist/builders/StaticAuctionBuilder.js +0 -35
  90. package/dist/builders/StaticAuctionBuilder.js.map +0 -1
  91. package/dist/builders/StaticAuctionBuilder.mjs +0 -26
  92. package/dist/builders/StaticAuctionBuilder.mjs.map +0 -1
  93. package/dist/builders/index.d.mts +0 -8
  94. package/dist/builders/index.d.ts +0 -8
  95. package/dist/builders/index.js +0 -62
  96. package/dist/builders/index.js.map +0 -1
  97. package/dist/builders/index.mjs +0 -29
  98. package/dist/builders/index.mjs.map +0 -1
  99. package/dist/builders/shared.d.mts +0 -115
  100. package/dist/builders/shared.d.ts +0 -115
  101. package/dist/builders/shared.js +0 -46
  102. package/dist/builders/shared.js.map +0 -1
  103. package/dist/builders/shared.mjs +0 -25
  104. package/dist/builders/shared.mjs.map +0 -1
  105. package/dist/chunk-25GEBO3B.mjs +0 -219
  106. package/dist/chunk-25GEBO3B.mjs.map +0 -1
  107. package/dist/chunk-2A3B3NVB.js +0 -737
  108. package/dist/chunk-2A3B3NVB.js.map +0 -1
  109. package/dist/chunk-3NMGCQJ4.mjs +0 -6
  110. package/dist/chunk-3NMGCQJ4.mjs.map +0 -1
  111. package/dist/chunk-44CYUEPG.js +0 -377
  112. package/dist/chunk-44CYUEPG.js.map +0 -1
  113. package/dist/chunk-4VWQNNNW.js +0 -233
  114. package/dist/chunk-4VWQNNNW.js.map +0 -1
  115. package/dist/chunk-4XN6DQBW.js +0 -4
  116. package/dist/chunk-5GQJRNFL.mjs +0 -40
  117. package/dist/chunk-5GQJRNFL.mjs.map +0 -1
  118. package/dist/chunk-5JHXBDZD.js +0 -265
  119. package/dist/chunk-5JHXBDZD.js.map +0 -1
  120. package/dist/chunk-5TQOT6CW.js +0 -8
  121. package/dist/chunk-5TQOT6CW.js.map +0 -1
  122. package/dist/chunk-65CESA3J.js +0 -46
  123. package/dist/chunk-65CESA3J.js.map +0 -1
  124. package/dist/chunk-6BQY5EPB.js +0 -144
  125. package/dist/chunk-6BQY5EPB.js.map +0 -1
  126. package/dist/chunk-6H6X3VTZ.js +0 -18
  127. package/dist/chunk-6H6X3VTZ.js.map +0 -1
  128. package/dist/chunk-7A4DBBXA.js +0 -311
  129. package/dist/chunk-7A4DBBXA.js.map +0 -1
  130. package/dist/chunk-7M57PU6V.js +0 -28
  131. package/dist/chunk-7M57PU6V.js.map +0 -1
  132. package/dist/chunk-7ZUV6WPX.mjs +0 -3
  133. package/dist/chunk-7ZUV6WPX.mjs.map +0 -1
  134. package/dist/chunk-A2CJYRRQ.js +0 -330
  135. package/dist/chunk-A2CJYRRQ.js.map +0 -1
  136. package/dist/chunk-ABT6AT7C.mjs +0 -16
  137. package/dist/chunk-ABT6AT7C.mjs.map +0 -1
  138. package/dist/chunk-BK3S6SVR.js +0 -2707
  139. package/dist/chunk-BK3S6SVR.js.map +0 -1
  140. package/dist/chunk-BQZTELUX.js +0 -45
  141. package/dist/chunk-BQZTELUX.js.map +0 -1
  142. package/dist/chunk-CFAAYL5M.mjs +0 -26
  143. package/dist/chunk-CFAAYL5M.mjs.map +0 -1
  144. package/dist/chunk-CFXXUZJY.js +0 -275
  145. package/dist/chunk-CFXXUZJY.js.map +0 -1
  146. package/dist/chunk-CWTGQAOG.mjs +0 -72
  147. package/dist/chunk-CWTGQAOG.mjs.map +0 -1
  148. package/dist/chunk-DCWF3EMP.js +0 -171
  149. package/dist/chunk-DCWF3EMP.js.map +0 -1
  150. package/dist/chunk-DOUF6NON.mjs +0 -3
  151. package/dist/chunk-DOUF6NON.mjs.map +0 -1
  152. package/dist/chunk-DQJXCZU2.mjs +0 -318
  153. package/dist/chunk-DQJXCZU2.mjs.map +0 -1
  154. package/dist/chunk-DSYPZETD.js +0 -4
  155. package/dist/chunk-DSYPZETD.js.map +0 -1
  156. package/dist/chunk-F2BYG63D.mjs +0 -145
  157. package/dist/chunk-F2BYG63D.mjs.map +0 -1
  158. package/dist/chunk-FNUBKONK.js +0 -291
  159. package/dist/chunk-FNUBKONK.js.map +0 -1
  160. package/dist/chunk-FOESYJP3.mjs +0 -3
  161. package/dist/chunk-FOESYJP3.mjs.map +0 -1
  162. package/dist/chunk-FXTGIKQG.mjs +0 -3
  163. package/dist/chunk-FXTGIKQG.mjs.map +0 -1
  164. package/dist/chunk-GSBQIVME.mjs +0 -278
  165. package/dist/chunk-GSBQIVME.mjs.map +0 -1
  166. package/dist/chunk-H3B54PFV.mjs +0 -17
  167. package/dist/chunk-H3B54PFV.mjs.map +0 -1
  168. package/dist/chunk-HJFVRV47.js +0 -120
  169. package/dist/chunk-HJFVRV47.js.map +0 -1
  170. package/dist/chunk-IIM2CSDQ.js +0 -147
  171. package/dist/chunk-IIM2CSDQ.js.map +0 -1
  172. package/dist/chunk-IUTIHSLH.mjs +0 -295
  173. package/dist/chunk-IUTIHSLH.mjs.map +0 -1
  174. package/dist/chunk-IUZ3BBQP.mjs +0 -117
  175. package/dist/chunk-IUZ3BBQP.mjs.map +0 -1
  176. package/dist/chunk-IWJOPXYN.mjs +0 -96
  177. package/dist/chunk-IWJOPXYN.mjs.map +0 -1
  178. package/dist/chunk-IX4V4UGW.mjs +0 -141
  179. package/dist/chunk-IX4V4UGW.mjs.map +0 -1
  180. package/dist/chunk-J62YDWIK.js +0 -8
  181. package/dist/chunk-J62YDWIK.js.map +0 -1
  182. package/dist/chunk-JIKAD4YL.js +0 -4
  183. package/dist/chunk-JIKAD4YL.js.map +0 -1
  184. package/dist/chunk-JLUOFAE4.mjs +0 -2531
  185. package/dist/chunk-JLUOFAE4.mjs.map +0 -1
  186. package/dist/chunk-KAZQJ24E.mjs +0 -59
  187. package/dist/chunk-KAZQJ24E.mjs.map +0 -1
  188. package/dist/chunk-KHUE77HC.js +0 -81
  189. package/dist/chunk-KHUE77HC.js.map +0 -1
  190. package/dist/chunk-KOAC3BBP.mjs +0 -11
  191. package/dist/chunk-KOAC3BBP.mjs.map +0 -1
  192. package/dist/chunk-LW3CYA27.mjs +0 -2705
  193. package/dist/chunk-LW3CYA27.mjs.map +0 -1
  194. package/dist/chunk-MEA2C5YX.js +0 -143
  195. package/dist/chunk-MEA2C5YX.js.map +0 -1
  196. package/dist/chunk-MU56HCUI.js +0 -2556
  197. package/dist/chunk-MU56HCUI.js.map +0 -1
  198. package/dist/chunk-OCIY7QEJ.mjs +0 -169
  199. package/dist/chunk-OCIY7QEJ.mjs.map +0 -1
  200. package/dist/chunk-OHA5KJ2M.mjs +0 -6
  201. package/dist/chunk-OHA5KJ2M.mjs.map +0 -1
  202. package/dist/chunk-P25HBGP5.mjs +0 -3
  203. package/dist/chunk-P25HBGP5.mjs.map +0 -1
  204. package/dist/chunk-P563HTVU.js +0 -164
  205. package/dist/chunk-P563HTVU.js.map +0 -1
  206. package/dist/chunk-P7CHGWY7.js +0 -4
  207. package/dist/chunk-P7CHGWY7.js.map +0 -1
  208. package/dist/chunk-PGYTMRP3.js +0 -277
  209. package/dist/chunk-PGYTMRP3.js.map +0 -1
  210. package/dist/chunk-QAPQGDWK.js +0 -8
  211. package/dist/chunk-QAPQGDWK.js.map +0 -1
  212. package/dist/chunk-QHBKRUBY.mjs +0 -328
  213. package/dist/chunk-QHBKRUBY.mjs.map +0 -1
  214. package/dist/chunk-QOYI7WCH.js +0 -120
  215. package/dist/chunk-QOYI7WCH.js.map +0 -1
  216. package/dist/chunk-QRTABC4Z.js +0 -8
  217. package/dist/chunk-QRTABC4Z.js.map +0 -1
  218. package/dist/chunk-QSQGLWNY.mjs +0 -3
  219. package/dist/chunk-QSQGLWNY.mjs.map +0 -1
  220. package/dist/chunk-QUBD6HUZ.mjs +0 -735
  221. package/dist/chunk-QUBD6HUZ.mjs.map +0 -1
  222. package/dist/chunk-RDTIXP6S.mjs +0 -263
  223. package/dist/chunk-RDTIXP6S.mjs.map +0 -1
  224. package/dist/chunk-RLOZWHRR.js +0 -320
  225. package/dist/chunk-RLOZWHRR.js.map +0 -1
  226. package/dist/chunk-RV64M4Q6.mjs +0 -3
  227. package/dist/chunk-RV64M4Q6.mjs.map +0 -1
  228. package/dist/chunk-SWWLOD7Q.mjs +0 -6
  229. package/dist/chunk-SWWLOD7Q.mjs.map +0 -1
  230. package/dist/chunk-T3UA4MJL.js +0 -4
  231. package/dist/chunk-T3UA4MJL.js.map +0 -1
  232. package/dist/chunk-TEWAXP5C.mjs +0 -162
  233. package/dist/chunk-TEWAXP5C.mjs.map +0 -1
  234. package/dist/chunk-THEIRDGE.mjs +0 -273
  235. package/dist/chunk-THEIRDGE.mjs.map +0 -1
  236. package/dist/chunk-U3GOWK6J.mjs +0 -6
  237. package/dist/chunk-U3GOWK6J.mjs.map +0 -1
  238. package/dist/chunk-UPVKABAV.js +0 -19
  239. package/dist/chunk-UPVKABAV.js.map +0 -1
  240. package/dist/chunk-VEIVYUYF.js +0 -4
  241. package/dist/chunk-VEIVYUYF.js.map +0 -1
  242. package/dist/chunk-VKSD3KXF.mjs +0 -275
  243. package/dist/chunk-VKSD3KXF.mjs.map +0 -1
  244. package/dist/chunk-VYSOAGRU.mjs +0 -6
  245. package/dist/chunk-VYSOAGRU.mjs.map +0 -1
  246. package/dist/chunk-WDC53TM7.mjs +0 -305
  247. package/dist/chunk-WDC53TM7.mjs.map +0 -1
  248. package/dist/chunk-WKWP42TD.mjs +0 -39
  249. package/dist/chunk-WKWP42TD.mjs.map +0 -1
  250. package/dist/chunk-WNUB3UTT.js +0 -241
  251. package/dist/chunk-WNUB3UTT.js.map +0 -1
  252. package/dist/chunk-WNWK2QMU.mjs +0 -375
  253. package/dist/chunk-WNWK2QMU.mjs.map +0 -1
  254. package/dist/chunk-WQHTNL5L.js +0 -4
  255. package/dist/chunk-WQHTNL5L.js.map +0 -1
  256. package/dist/chunk-WZF5XNBC.js +0 -297
  257. package/dist/chunk-WZF5XNBC.js.map +0 -1
  258. package/dist/chunk-X3UMAHOJ.js +0 -4
  259. package/dist/chunk-X3UMAHOJ.js.map +0 -1
  260. package/dist/chunk-XMFOZYNI.js +0 -8
  261. package/dist/chunk-XMFOZYNI.js.map +0 -1
  262. package/dist/chunk-XNMXN5SZ.mjs +0 -3
  263. package/dist/chunk-XNMXN5SZ.mjs.map +0 -1
  264. package/dist/chunk-XSJTASPK.js +0 -13
  265. package/dist/chunk-XSJTASPK.js.map +0 -1
  266. package/dist/chunk-YBK6EBA5.mjs +0 -239
  267. package/dist/chunk-YBK6EBA5.mjs.map +0 -1
  268. package/dist/chunk-YYLD3AJ7.js +0 -61
  269. package/dist/chunk-YYLD3AJ7.js.map +0 -1
  270. package/dist/chunk-ZEDJUNC6.mjs +0 -115
  271. package/dist/chunk-ZEDJUNC6.mjs.map +0 -1
  272. package/dist/constants.d.mts +0 -91
  273. package/dist/constants.d.ts +0 -91
  274. package/dist/constants.js +0 -196
  275. package/dist/constants.js.map +0 -1
  276. package/dist/constants.mjs +0 -3
  277. package/dist/constants.mjs.map +0 -1
  278. package/dist/deployments.generated.d.mts +0 -275
  279. package/dist/deployments.generated.d.ts +0 -275
  280. package/dist/deployments.generated.js +0 -12
  281. package/dist/deployments.generated.js.map +0 -1
  282. package/dist/deployments.generated.mjs +0 -3
  283. package/dist/deployments.generated.mjs.map +0 -1
  284. package/dist/entities/DopplerFactory.d.mts +0 -272
  285. package/dist/entities/DopplerFactory.d.ts +0 -272
  286. package/dist/entities/DopplerFactory.js +0 -34
  287. package/dist/entities/DopplerFactory.js.map +0 -1
  288. package/dist/entities/DopplerFactory.mjs +0 -25
  289. package/dist/entities/DopplerFactory.mjs.map +0 -1
  290. package/dist/entities/auction/DynamicAuction.d.mts +0 -72
  291. package/dist/entities/auction/DynamicAuction.d.ts +0 -72
  292. package/dist/entities/auction/DynamicAuction.js +0 -21
  293. package/dist/entities/auction/DynamicAuction.js.map +0 -1
  294. package/dist/entities/auction/DynamicAuction.mjs +0 -12
  295. package/dist/entities/auction/DynamicAuction.mjs.map +0 -1
  296. package/dist/entities/auction/MulticurvePool.d.mts +0 -78
  297. package/dist/entities/auction/MulticurvePool.d.ts +0 -78
  298. package/dist/entities/auction/MulticurvePool.js +0 -24
  299. package/dist/entities/auction/MulticurvePool.js.map +0 -1
  300. package/dist/entities/auction/MulticurvePool.mjs +0 -15
  301. package/dist/entities/auction/MulticurvePool.mjs.map +0 -1
  302. package/dist/entities/auction/RehypeDopplerHook.d.mts +0 -57
  303. package/dist/entities/auction/RehypeDopplerHook.d.ts +0 -57
  304. package/dist/entities/auction/RehypeDopplerHook.js +0 -34
  305. package/dist/entities/auction/RehypeDopplerHook.js.map +0 -1
  306. package/dist/entities/auction/RehypeDopplerHook.mjs +0 -25
  307. package/dist/entities/auction/RehypeDopplerHook.mjs.map +0 -1
  308. package/dist/entities/auction/RehypeDopplerHookMigrator.d.mts +0 -48
  309. package/dist/entities/auction/RehypeDopplerHookMigrator.d.ts +0 -48
  310. package/dist/entities/auction/RehypeDopplerHookMigrator.js +0 -34
  311. package/dist/entities/auction/RehypeDopplerHookMigrator.js.map +0 -1
  312. package/dist/entities/auction/RehypeDopplerHookMigrator.mjs +0 -25
  313. package/dist/entities/auction/RehypeDopplerHookMigrator.mjs.map +0 -1
  314. package/dist/entities/auction/StaticAuction.d.mts +0 -44
  315. package/dist/entities/auction/StaticAuction.d.ts +0 -44
  316. package/dist/entities/auction/StaticAuction.js +0 -21
  317. package/dist/entities/auction/StaticAuction.js.map +0 -1
  318. package/dist/entities/auction/StaticAuction.mjs +0 -12
  319. package/dist/entities/auction/StaticAuction.mjs.map +0 -1
  320. package/dist/entities/auction/index.d.mts +0 -9
  321. package/dist/entities/auction/index.d.ts +0 -9
  322. package/dist/entities/auction/index.js +0 -55
  323. package/dist/entities/auction/index.js.map +0 -1
  324. package/dist/entities/auction/index.mjs +0 -30
  325. package/dist/entities/auction/index.mjs.map +0 -1
  326. package/dist/entities/quoter/Quoter.d.mts +0 -150
  327. package/dist/entities/quoter/Quoter.d.ts +0 -150
  328. package/dist/entities/quoter/Quoter.js +0 -21
  329. package/dist/entities/quoter/Quoter.js.map +0 -1
  330. package/dist/entities/quoter/Quoter.mjs +0 -12
  331. package/dist/entities/quoter/Quoter.mjs.map +0 -1
  332. package/dist/entities/quoter/index.d.mts +0 -5
  333. package/dist/entities/quoter/index.d.ts +0 -5
  334. package/dist/entities/quoter/index.js +0 -22
  335. package/dist/entities/quoter/index.js.map +0 -1
  336. package/dist/entities/quoter/index.mjs +0 -13
  337. package/dist/entities/quoter/index.mjs.map +0 -1
  338. package/dist/entities/token/derc20/Derc20.d.mts +0 -102
  339. package/dist/entities/token/derc20/Derc20.d.ts +0 -102
  340. package/dist/entities/token/derc20/Derc20.js +0 -19
  341. package/dist/entities/token/derc20/Derc20.js.map +0 -1
  342. package/dist/entities/token/derc20/Derc20.mjs +0 -10
  343. package/dist/entities/token/derc20/Derc20.mjs.map +0 -1
  344. package/dist/entities/token/derc20/index.d.mts +0 -5
  345. package/dist/entities/token/derc20/index.d.ts +0 -5
  346. package/dist/entities/token/derc20/index.js +0 -20
  347. package/dist/entities/token/derc20/index.js.map +0 -1
  348. package/dist/entities/token/derc20/index.mjs +0 -11
  349. package/dist/entities/token/derc20/index.mjs.map +0 -1
  350. package/dist/entities/token/eth/Eth.d.mts +0 -54
  351. package/dist/entities/token/eth/Eth.d.ts +0 -54
  352. package/dist/entities/token/eth/Eth.js +0 -12
  353. package/dist/entities/token/eth/Eth.js.map +0 -1
  354. package/dist/entities/token/eth/Eth.mjs +0 -3
  355. package/dist/entities/token/eth/Eth.mjs.map +0 -1
  356. package/dist/entities/token/eth/index.d.mts +0 -5
  357. package/dist/entities/token/eth/index.d.ts +0 -5
  358. package/dist/entities/token/eth/index.js +0 -13
  359. package/dist/entities/token/eth/index.js.map +0 -1
  360. package/dist/entities/token/eth/index.mjs +0 -4
  361. package/dist/entities/token/eth/index.mjs.map +0 -1
  362. package/dist/entities/token/index.d.mts +0 -6
  363. package/dist/entities/token/index.d.ts +0 -6
  364. package/dist/entities/token/index.js +0 -27
  365. package/dist/entities/token/index.js.map +0 -1
  366. package/dist/entities/token/index.mjs +0 -14
  367. package/dist/entities/token/index.mjs.map +0 -1
  368. package/dist/index.d.mts +0 -39
  369. package/dist/index.d.ts +0 -39
  370. package/dist/index.js +0 -587
  371. package/dist/index.js.map +0 -1
  372. package/dist/index.mjs +0 -49
  373. package/dist/index.mjs.map +0 -1
  374. package/dist/types.d.mts +0 -662
  375. package/dist/types.d.ts +0 -662
  376. package/dist/types.js +0 -34
  377. package/dist/types.js.map +0 -1
  378. package/dist/types.mjs +0 -5
  379. package/dist/types.mjs.map +0 -1
  380. package/dist/utils/airlock.d.mts +0 -11
  381. package/dist/utils/airlock.d.ts +0 -11
  382. package/dist/utils/airlock.js +0 -26
  383. package/dist/utils/airlock.js.map +0 -1
  384. package/dist/utils/airlock.mjs +0 -5
  385. package/dist/utils/airlock.mjs.map +0 -1
  386. package/dist/utils/balanceDelta.d.mts +0 -10
  387. package/dist/utils/balanceDelta.d.ts +0 -10
  388. package/dist/utils/balanceDelta.js +0 -12
  389. package/dist/utils/balanceDelta.js.map +0 -1
  390. package/dist/utils/balanceDelta.mjs +0 -3
  391. package/dist/utils/balanceDelta.mjs.map +0 -1
  392. package/dist/utils/computeOptimalGamma.d.mts +0 -7
  393. package/dist/utils/computeOptimalGamma.d.ts +0 -7
  394. package/dist/utils/computeOptimalGamma.js +0 -12
  395. package/dist/utils/computeOptimalGamma.js.map +0 -1
  396. package/dist/utils/computeOptimalGamma.mjs +0 -3
  397. package/dist/utils/computeOptimalGamma.mjs.map +0 -1
  398. package/dist/utils/dopplerHookMigrator.d.mts +0 -18
  399. package/dist/utils/dopplerHookMigrator.d.ts +0 -18
  400. package/dist/utils/dopplerHookMigrator.js +0 -20
  401. package/dist/utils/dopplerHookMigrator.js.map +0 -1
  402. package/dist/utils/dopplerHookMigrator.mjs +0 -7
  403. package/dist/utils/dopplerHookMigrator.mjs.map +0 -1
  404. package/dist/utils/index.d.mts +0 -14
  405. package/dist/utils/index.d.ts +0 -14
  406. package/dist/utils/index.js +0 -197
  407. package/dist/utils/index.js.map +0 -1
  408. package/dist/utils/index.mjs +0 -24
  409. package/dist/utils/index.mjs.map +0 -1
  410. package/dist/utils/isToken0Expected.d.mts +0 -13
  411. package/dist/utils/isToken0Expected.d.ts +0 -13
  412. package/dist/utils/isToken0Expected.js +0 -12
  413. package/dist/utils/isToken0Expected.js.map +0 -1
  414. package/dist/utils/isToken0Expected.mjs +0 -3
  415. package/dist/utils/isToken0Expected.mjs.map +0 -1
  416. package/dist/utils/marketCapHelpers.d.mts +0 -259
  417. package/dist/utils/marketCapHelpers.d.ts +0 -259
  418. package/dist/utils/marketCapHelpers.js +0 -58
  419. package/dist/utils/marketCapHelpers.js.map +0 -1
  420. package/dist/utils/marketCapHelpers.mjs +0 -5
  421. package/dist/utils/marketCapHelpers.mjs.map +0 -1
  422. package/dist/utils/poolKey.d.mts +0 -17
  423. package/dist/utils/poolKey.d.ts +0 -17
  424. package/dist/utils/poolKey.js +0 -12
  425. package/dist/utils/poolKey.js.map +0 -1
  426. package/dist/utils/poolKey.mjs +0 -3
  427. package/dist/utils/poolKey.mjs.map +0 -1
  428. package/dist/utils/priceHelpers.d.mts +0 -86
  429. package/dist/utils/priceHelpers.d.ts +0 -86
  430. package/dist/utils/priceHelpers.js +0 -41
  431. package/dist/utils/priceHelpers.js.map +0 -1
  432. package/dist/utils/priceHelpers.mjs +0 -4
  433. package/dist/utils/priceHelpers.mjs.map +0 -1
  434. package/dist/utils/tickMath.d.mts +0 -72
  435. package/dist/utils/tickMath.d.ts +0 -72
  436. package/dist/utils/tickMath.js +0 -60
  437. package/dist/utils/tickMath.js.map +0 -1
  438. package/dist/utils/tickMath.mjs +0 -3
  439. package/dist/utils/tickMath.mjs.map +0 -1
  440. package/dist/utils/tokenAddressMiner.d.mts +0 -37
  441. package/dist/utils/tokenAddressMiner.d.ts +0 -37
  442. package/dist/utils/tokenAddressMiner.js +0 -19
  443. package/dist/utils/tokenAddressMiner.js.map +0 -1
  444. package/dist/utils/tokenAddressMiner.mjs +0 -10
  445. package/dist/utils/tokenAddressMiner.mjs.map +0 -1
@@ -1,2556 +0,0 @@
1
- 'use strict';
2
-
3
- // src/abis/index.ts
4
- var airlockAbi = [
5
- {
6
- type: "constructor",
7
- inputs: [{ name: "owner_", type: "address", internalType: "address" }],
8
- stateMutability: "nonpayable"
9
- },
10
- { type: "receive", stateMutability: "payable" },
11
- {
12
- type: "function",
13
- name: "collectIntegratorFees",
14
- inputs: [
15
- { name: "to", type: "address", internalType: "address" },
16
- { name: "token", type: "address", internalType: "address" },
17
- { name: "amount", type: "uint256", internalType: "uint256" }
18
- ],
19
- outputs: [],
20
- stateMutability: "nonpayable"
21
- },
22
- {
23
- type: "function",
24
- name: "collectProtocolFees",
25
- inputs: [
26
- { name: "to", type: "address", internalType: "address" },
27
- { name: "token", type: "address", internalType: "address" },
28
- { name: "amount", type: "uint256", internalType: "uint256" }
29
- ],
30
- outputs: [],
31
- stateMutability: "nonpayable"
32
- },
33
- {
34
- type: "function",
35
- name: "create",
36
- inputs: [
37
- {
38
- name: "createData",
39
- type: "tuple",
40
- internalType: "struct CreateParams",
41
- components: [
42
- { name: "initialSupply", type: "uint256", internalType: "uint256" },
43
- { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
44
- { name: "numeraire", type: "address", internalType: "address" },
45
- {
46
- name: "tokenFactory",
47
- type: "address",
48
- internalType: "contract ITokenFactory"
49
- },
50
- { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
51
- {
52
- name: "governanceFactory",
53
- type: "address",
54
- internalType: "contract IGovernanceFactory"
55
- },
56
- {
57
- name: "governanceFactoryData",
58
- type: "bytes",
59
- internalType: "bytes"
60
- },
61
- {
62
- name: "poolInitializer",
63
- type: "address",
64
- internalType: "contract IPoolInitializer"
65
- },
66
- { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
67
- {
68
- name: "liquidityMigrator",
69
- type: "address",
70
- internalType: "contract ILiquidityMigrator"
71
- },
72
- {
73
- name: "liquidityMigratorData",
74
- type: "bytes",
75
- internalType: "bytes"
76
- },
77
- { name: "integrator", type: "address", internalType: "address" },
78
- { name: "salt", type: "bytes32", internalType: "bytes32" }
79
- ]
80
- }
81
- ],
82
- outputs: [
83
- { name: "asset", type: "address", internalType: "address" },
84
- { name: "pool", type: "address", internalType: "address" },
85
- { name: "governance", type: "address", internalType: "address" },
86
- { name: "timelock", type: "address", internalType: "address" },
87
- { name: "migrationPool", type: "address", internalType: "address" }
88
- ],
89
- stateMutability: "nonpayable"
90
- },
91
- {
92
- type: "function",
93
- name: "getAssetData",
94
- inputs: [{ name: "asset", type: "address", internalType: "address" }],
95
- outputs: [
96
- { name: "numeraire", type: "address", internalType: "address" },
97
- { name: "timelock", type: "address", internalType: "address" },
98
- { name: "governance", type: "address", internalType: "address" },
99
- {
100
- name: "liquidityMigrator",
101
- type: "address",
102
- internalType: "contract ILiquidityMigrator"
103
- },
104
- {
105
- name: "poolInitializer",
106
- type: "address",
107
- internalType: "contract IPoolInitializer"
108
- },
109
- { name: "pool", type: "address", internalType: "address" },
110
- { name: "migrationPool", type: "address", internalType: "address" },
111
- { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
112
- { name: "totalSupply", type: "uint256", internalType: "uint256" },
113
- { name: "integrator", type: "address", internalType: "address" }
114
- ],
115
- stateMutability: "view"
116
- },
117
- {
118
- type: "function",
119
- name: "getModuleState",
120
- inputs: [{ name: "module", type: "address", internalType: "address" }],
121
- outputs: [
122
- { name: "state", type: "uint8", internalType: "enum ModuleState" }
123
- ],
124
- stateMutability: "view"
125
- },
126
- {
127
- type: "function",
128
- name: "integratorFees",
129
- inputs: [
130
- { name: "integrator", type: "address", internalType: "address" },
131
- { name: "token", type: "address", internalType: "address" }
132
- ],
133
- outputs: [{ name: "amount", type: "uint256", internalType: "uint256" }],
134
- stateMutability: "view"
135
- },
136
- {
137
- type: "function",
138
- name: "migrate",
139
- inputs: [{ name: "asset", type: "address", internalType: "address" }],
140
- outputs: [],
141
- stateMutability: "nonpayable"
142
- },
143
- {
144
- type: "function",
145
- name: "owner",
146
- inputs: [],
147
- outputs: [{ name: "", type: "address", internalType: "address" }],
148
- stateMutability: "view"
149
- },
150
- {
151
- type: "function",
152
- name: "protocolFees",
153
- inputs: [{ name: "token", type: "address", internalType: "address" }],
154
- outputs: [{ name: "amount", type: "uint256", internalType: "uint256" }],
155
- stateMutability: "view"
156
- },
157
- {
158
- type: "function",
159
- name: "renounceOwnership",
160
- inputs: [],
161
- outputs: [],
162
- stateMutability: "nonpayable"
163
- },
164
- {
165
- type: "function",
166
- name: "setModuleState",
167
- inputs: [
168
- { name: "modules", type: "address[]", internalType: "address[]" },
169
- { name: "states", type: "uint8[]", internalType: "enum ModuleState[]" }
170
- ],
171
- outputs: [],
172
- stateMutability: "nonpayable"
173
- },
174
- {
175
- type: "function",
176
- name: "transferOwnership",
177
- inputs: [{ name: "newOwner", type: "address", internalType: "address" }],
178
- outputs: [],
179
- stateMutability: "nonpayable"
180
- },
181
- {
182
- type: "event",
183
- name: "Collect",
184
- inputs: [
185
- { name: "to", type: "address", indexed: true, internalType: "address" },
186
- {
187
- name: "token",
188
- type: "address",
189
- indexed: true,
190
- internalType: "address"
191
- },
192
- {
193
- name: "amount",
194
- type: "uint256",
195
- indexed: false,
196
- internalType: "uint256"
197
- }
198
- ],
199
- anonymous: false
200
- },
201
- {
202
- type: "event",
203
- name: "Create",
204
- inputs: [
205
- {
206
- name: "asset",
207
- type: "address",
208
- indexed: false,
209
- internalType: "address"
210
- },
211
- {
212
- name: "numeraire",
213
- type: "address",
214
- indexed: true,
215
- internalType: "address"
216
- },
217
- {
218
- name: "initializer",
219
- type: "address",
220
- indexed: false,
221
- internalType: "address"
222
- },
223
- {
224
- name: "poolOrHook",
225
- type: "address",
226
- indexed: false,
227
- internalType: "address"
228
- }
229
- ],
230
- anonymous: false
231
- },
232
- {
233
- type: "event",
234
- name: "Migrate",
235
- inputs: [
236
- {
237
- name: "asset",
238
- type: "address",
239
- indexed: true,
240
- internalType: "address"
241
- },
242
- { name: "pool", type: "address", indexed: true, internalType: "address" }
243
- ],
244
- anonymous: false
245
- },
246
- {
247
- type: "event",
248
- name: "OwnershipTransferred",
249
- inputs: [
250
- {
251
- name: "previousOwner",
252
- type: "address",
253
- indexed: true,
254
- internalType: "address"
255
- },
256
- {
257
- name: "newOwner",
258
- type: "address",
259
- indexed: true,
260
- internalType: "address"
261
- }
262
- ],
263
- anonymous: false
264
- },
265
- {
266
- type: "event",
267
- name: "SetModuleState",
268
- inputs: [
269
- {
270
- name: "module",
271
- type: "address",
272
- indexed: true,
273
- internalType: "address"
274
- },
275
- {
276
- name: "state",
277
- type: "uint8",
278
- indexed: true,
279
- internalType: "enum ModuleState"
280
- }
281
- ],
282
- anonymous: false
283
- },
284
- { type: "error", name: "ArrayLengthsMismatch", inputs: [] },
285
- {
286
- type: "error",
287
- name: "OwnableInvalidOwner",
288
- inputs: [{ name: "owner", type: "address", internalType: "address" }]
289
- },
290
- {
291
- type: "error",
292
- name: "OwnableUnauthorizedAccount",
293
- inputs: [{ name: "account", type: "address", internalType: "address" }]
294
- },
295
- {
296
- type: "error",
297
- name: "WrongModuleState",
298
- inputs: [
299
- { name: "module", type: "address", internalType: "address" },
300
- { name: "expected", type: "uint8", internalType: "enum ModuleState" },
301
- { name: "actual", type: "uint8", internalType: "enum ModuleState" }
302
- ]
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: [] }
352
- ];
353
- var uniswapV3InitializerAbi = [
354
- {
355
- type: "function",
356
- name: "encodePoolInitializerData",
357
- inputs: [
358
- {
359
- name: "params",
360
- type: "tuple",
361
- components: [
362
- { name: "numTokensToSell", type: "uint256" },
363
- { name: "startTick", type: "int24" },
364
- { name: "endTick", type: "int24" },
365
- { name: "fee", type: "uint24" }
366
- ]
367
- }
368
- ],
369
- outputs: [{ name: "", type: "bytes" }],
370
- stateMutability: "pure"
371
- }
372
- ];
373
- var v2MigratorAbi = [
374
- {
375
- type: "function",
376
- name: "encodeLiquidityMigratorData",
377
- inputs: [],
378
- outputs: [{ name: "", type: "bytes" }],
379
- stateMutability: "pure"
380
- }
381
- ];
382
- var v3MigratorAbi = [
383
- {
384
- type: "function",
385
- name: "encodeLiquidityMigratorData",
386
- inputs: [
387
- { name: "fee", type: "uint24" },
388
- { name: "tickSpacing", type: "int24" }
389
- ],
390
- outputs: [{ name: "", type: "bytes" }],
391
- stateMutability: "pure"
392
- }
393
- ];
394
- var v4MigratorAbi = [
395
- {
396
- type: "function",
397
- name: "encodeLiquidityMigratorData",
398
- inputs: [
399
- { name: "fee", type: "uint24" },
400
- { name: "tickSpacing", type: "int24" },
401
- { name: "lockDuration", type: "uint256" },
402
- { name: "beneficiaries", type: "address[]" },
403
- { name: "percentages", type: "uint256[]" }
404
- ],
405
- outputs: [{ name: "", type: "bytes" }],
406
- stateMutability: "pure"
407
- },
408
- // V4 Migrator errors
409
- { type: "error", name: "TickOutOfRange", inputs: [] },
410
- { type: "error", name: "ZeroLiquidity", inputs: [] }
411
- ];
412
- var uniswapV3PoolAbi = [
413
- {
414
- type: "function",
415
- name: "slot0",
416
- inputs: [],
417
- outputs: [
418
- { name: "sqrtPriceX96", type: "uint160" },
419
- { name: "tick", type: "int24" },
420
- { name: "observationIndex", type: "uint16" },
421
- { name: "observationCardinality", type: "uint16" },
422
- { name: "observationCardinalityNext", type: "uint16" },
423
- { name: "feeProtocol", type: "uint8" },
424
- { name: "unlocked", type: "bool" }
425
- ],
426
- stateMutability: "view"
427
- },
428
- {
429
- type: "function",
430
- name: "liquidity",
431
- inputs: [],
432
- outputs: [{ name: "", type: "uint128" }],
433
- stateMutability: "view"
434
- },
435
- {
436
- type: "function",
437
- name: "token0",
438
- inputs: [],
439
- outputs: [{ name: "", type: "address" }],
440
- stateMutability: "view"
441
- },
442
- {
443
- type: "function",
444
- name: "token1",
445
- inputs: [],
446
- outputs: [{ name: "", type: "address" }],
447
- stateMutability: "view"
448
- },
449
- {
450
- type: "function",
451
- name: "fee",
452
- inputs: [],
453
- outputs: [{ name: "", type: "uint24" }],
454
- stateMutability: "view"
455
- }
456
- ];
457
- var derc20Abi = [
458
- {
459
- type: "function",
460
- name: "allowance",
461
- inputs: [
462
- { name: "owner", type: "address", internalType: "address" },
463
- { name: "spender", type: "address", internalType: "address" }
464
- ],
465
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
466
- stateMutability: "view"
467
- },
468
- {
469
- type: "function",
470
- name: "approve",
471
- inputs: [
472
- { name: "spender", type: "address", internalType: "address" },
473
- { name: "value", type: "uint256", internalType: "uint256" }
474
- ],
475
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
476
- stateMutability: "nonpayable"
477
- },
478
- // OpenZeppelin Votes (governance) — delegation + queries
479
- {
480
- type: "function",
481
- name: "delegate",
482
- inputs: [{ name: "delegatee", type: "address", internalType: "address" }],
483
- outputs: [],
484
- stateMutability: "nonpayable"
485
- },
486
- {
487
- type: "function",
488
- name: "delegateBySig",
489
- inputs: [
490
- { name: "delegatee", type: "address", internalType: "address" },
491
- { name: "nonce", type: "uint256", internalType: "uint256" },
492
- { name: "expiry", type: "uint256", internalType: "uint256" },
493
- { name: "v", type: "uint8", internalType: "uint8" },
494
- { name: "r", type: "bytes32", internalType: "bytes32" },
495
- { name: "s", type: "bytes32", internalType: "bytes32" }
496
- ],
497
- outputs: [],
498
- stateMutability: "nonpayable"
499
- },
500
- {
501
- type: "function",
502
- name: "delegates",
503
- inputs: [{ name: "account", type: "address", internalType: "address" }],
504
- outputs: [{ name: "", type: "address", internalType: "address" }],
505
- stateMutability: "view"
506
- },
507
- {
508
- type: "function",
509
- name: "getVotes",
510
- inputs: [{ name: "account", type: "address", internalType: "address" }],
511
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
512
- stateMutability: "view"
513
- },
514
- {
515
- type: "function",
516
- name: "getPastVotes",
517
- inputs: [
518
- { name: "account", type: "address", internalType: "address" },
519
- { name: "timepoint", type: "uint256", internalType: "uint256" }
520
- ],
521
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
522
- stateMutability: "view"
523
- },
524
- {
525
- type: "function",
526
- name: "getPastTotalSupply",
527
- inputs: [{ name: "timepoint", type: "uint256", internalType: "uint256" }],
528
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
529
- stateMutability: "view"
530
- },
531
- {
532
- type: "function",
533
- name: "nonces",
534
- inputs: [{ name: "owner", type: "address", internalType: "address" }],
535
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
536
- stateMutability: "view"
537
- },
538
- {
539
- type: "function",
540
- name: "DOMAIN_SEPARATOR",
541
- inputs: [],
542
- outputs: [{ name: "", type: "bytes32", internalType: "bytes32" }],
543
- stateMutability: "view"
544
- },
545
- {
546
- type: "function",
547
- name: "balanceOf",
548
- inputs: [{ name: "account", type: "address", internalType: "address" }],
549
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
550
- stateMutability: "view"
551
- },
552
- {
553
- type: "function",
554
- name: "computeAvailableVestedAmount",
555
- inputs: [{ name: "account", type: "address", internalType: "address" }],
556
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
557
- stateMutability: "view"
558
- },
559
- {
560
- type: "function",
561
- name: "currentYearStart",
562
- inputs: [],
563
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
564
- stateMutability: "view"
565
- },
566
- {
567
- type: "function",
568
- name: "decimals",
569
- inputs: [],
570
- outputs: [{ name: "", type: "uint8", internalType: "uint8" }],
571
- stateMutability: "view"
572
- },
573
- {
574
- type: "function",
575
- name: "getVestingDataOf",
576
- inputs: [{ name: "account", type: "address", internalType: "address" }],
577
- outputs: [
578
- { name: "totalAmount", type: "uint256", internalType: "uint256" },
579
- { name: "releasedAmount", type: "uint256", internalType: "uint256" }
580
- ],
581
- stateMutability: "view"
582
- },
583
- {
584
- type: "function",
585
- name: "isPoolUnlocked",
586
- inputs: [],
587
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
588
- stateMutability: "view"
589
- },
590
- {
591
- type: "function",
592
- name: "lastMintTimestamp",
593
- inputs: [],
594
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
595
- stateMutability: "view"
596
- },
597
- {
598
- type: "function",
599
- name: "name",
600
- inputs: [],
601
- outputs: [{ name: "", type: "string", internalType: "string" }],
602
- stateMutability: "view"
603
- },
604
- {
605
- type: "function",
606
- name: "pool",
607
- inputs: [],
608
- outputs: [{ name: "", type: "address", internalType: "address" }],
609
- stateMutability: "view"
610
- },
611
- {
612
- type: "function",
613
- name: "release",
614
- inputs: [],
615
- outputs: [],
616
- stateMutability: "nonpayable"
617
- },
618
- {
619
- type: "function",
620
- name: "symbol",
621
- inputs: [],
622
- outputs: [{ name: "", type: "string", internalType: "string" }],
623
- stateMutability: "view"
624
- },
625
- {
626
- type: "function",
627
- name: "tokenURI",
628
- inputs: [],
629
- outputs: [{ name: "", type: "string", internalType: "string" }],
630
- stateMutability: "view"
631
- },
632
- {
633
- type: "function",
634
- name: "totalSupply",
635
- inputs: [],
636
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
637
- stateMutability: "view"
638
- },
639
- {
640
- type: "function",
641
- name: "transfer",
642
- inputs: [
643
- { name: "to", type: "address", internalType: "address" },
644
- { name: "value", type: "uint256", internalType: "uint256" }
645
- ],
646
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
647
- stateMutability: "nonpayable"
648
- },
649
- {
650
- type: "function",
651
- name: "transferFrom",
652
- inputs: [
653
- { name: "from", type: "address", internalType: "address" },
654
- { name: "to", type: "address", internalType: "address" },
655
- { name: "value", type: "uint256", internalType: "uint256" }
656
- ],
657
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
658
- stateMutability: "nonpayable"
659
- },
660
- {
661
- type: "function",
662
- name: "vestedTotalAmount",
663
- inputs: [],
664
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
665
- stateMutability: "view"
666
- },
667
- {
668
- type: "function",
669
- name: "vestingDuration",
670
- inputs: [],
671
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
672
- stateMutability: "view"
673
- },
674
- {
675
- type: "function",
676
- name: "vestingStart",
677
- inputs: [],
678
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
679
- stateMutability: "view"
680
- },
681
- {
682
- type: "function",
683
- name: "yearlyMintRate",
684
- inputs: [],
685
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
686
- stateMutability: "view"
687
- },
688
- // DERC20 errors
689
- { type: "error", name: "MintingNotStartedYet", inputs: [] },
690
- { type: "error", name: "ExceedsYearlyMintCap", inputs: [] },
691
- { type: "error", name: "NoMintableAmount", inputs: [] },
692
- { type: "error", name: "PoolLocked", inputs: [] },
693
- { type: "error", name: "ArrayLengthsMismatch", inputs: [] },
694
- { type: "error", name: "ReleaseAmountInvalid", inputs: [] },
695
- {
696
- type: "error",
697
- name: "MaxPreMintPerAddressExceeded",
698
- inputs: [
699
- { name: "amount", type: "uint256", internalType: "uint256" },
700
- { name: "limit", type: "uint256", internalType: "uint256" }
701
- ]
702
- },
703
- {
704
- type: "error",
705
- name: "MaxTotalPreMintExceeded",
706
- inputs: [
707
- { name: "amount", type: "uint256", internalType: "uint256" },
708
- { name: "limit", type: "uint256", internalType: "uint256" }
709
- ]
710
- },
711
- {
712
- type: "error",
713
- name: "MaxTotalVestedExceeded",
714
- inputs: [
715
- { name: "amount", type: "uint256", internalType: "uint256" },
716
- { name: "limit", type: "uint256", internalType: "uint256" }
717
- ]
718
- },
719
- { type: "error", name: "VestingNotStartedYet", inputs: [] },
720
- {
721
- type: "error",
722
- name: "MaxYearlyMintRateExceeded",
723
- inputs: [
724
- { name: "amount", type: "uint256", internalType: "uint256" },
725
- { name: "limit", type: "uint256", internalType: "uint256" }
726
- ]
727
- }
728
- ];
729
- var uniswapV4InitializerAbi = [
730
- {
731
- type: "function",
732
- name: "encodePoolInitializerData",
733
- inputs: [
734
- {
735
- name: "params",
736
- type: "tuple",
737
- components: [
738
- { name: "minimumProceeds", type: "uint256" },
739
- { name: "maximumProceeds", type: "uint256" },
740
- { name: "startingTime", type: "uint256" },
741
- { name: "endingTime", type: "uint256" },
742
- { name: "startingTick", type: "int24" },
743
- { name: "endingTick", type: "int24" },
744
- { name: "epochLength", type: "uint256" },
745
- { name: "gamma", type: "int24" },
746
- { name: "isToken0", type: "bool" },
747
- { name: "numPDSlugs", type: "uint256" },
748
- { name: "fee", type: "uint24" },
749
- { name: "tickSpacing", type: "int24" }
750
- ]
751
- }
752
- ],
753
- outputs: [{ name: "", type: "bytes" }],
754
- stateMutability: "pure"
755
- }
756
- ];
757
- var dopplerHookAbi = [
758
- {
759
- type: "function",
760
- name: "state",
761
- inputs: [],
762
- outputs: [
763
- { name: "lastEpoch", type: "uint40" },
764
- { name: "tickAccumulator", type: "int256" },
765
- { name: "totalTokensSold", type: "uint256" },
766
- { name: "totalProceeds", type: "uint256" },
767
- { name: "totalTokensSoldLastEpoch", type: "uint256" },
768
- // BalanceDelta is encoded as a single int256 in the compiled ABI.
769
- { name: "feesAccrued", type: "int256" }
770
- ],
771
- stateMutability: "view"
772
- },
773
- {
774
- type: "function",
775
- name: "earlyExit",
776
- inputs: [],
777
- outputs: [{ name: "", type: "bool" }],
778
- stateMutability: "view"
779
- },
780
- {
781
- type: "function",
782
- name: "insufficientProceeds",
783
- inputs: [],
784
- outputs: [{ name: "", type: "bool" }],
785
- stateMutability: "view"
786
- },
787
- {
788
- type: "function",
789
- name: "poolKey",
790
- inputs: [],
791
- outputs: [
792
- { name: "currency0", type: "address" },
793
- { name: "currency1", type: "address" },
794
- { name: "fee", type: "uint24" },
795
- { name: "tickSpacing", type: "int24" },
796
- { name: "hooks", type: "address" }
797
- ],
798
- stateMutability: "view"
799
- },
800
- {
801
- type: "function",
802
- name: "startingTime",
803
- inputs: [],
804
- outputs: [{ name: "", type: "uint256" }],
805
- stateMutability: "view"
806
- },
807
- {
808
- type: "function",
809
- name: "endingTime",
810
- inputs: [],
811
- outputs: [{ name: "", type: "uint256" }],
812
- stateMutability: "view"
813
- },
814
- {
815
- type: "function",
816
- name: "epochLength",
817
- inputs: [],
818
- outputs: [{ name: "", type: "uint256" }],
819
- stateMutability: "view"
820
- },
821
- {
822
- type: "function",
823
- name: "minimumProceeds",
824
- inputs: [],
825
- outputs: [{ name: "", type: "uint256" }],
826
- stateMutability: "view"
827
- },
828
- {
829
- type: "function",
830
- name: "maximumProceeds",
831
- inputs: [],
832
- outputs: [{ name: "", type: "uint256" }],
833
- stateMutability: "view"
834
- },
835
- {
836
- type: "function",
837
- name: "numTokensToSell",
838
- inputs: [],
839
- outputs: [{ name: "", type: "uint256" }],
840
- stateMutability: "view"
841
- },
842
- {
843
- type: "function",
844
- name: "startingTick",
845
- inputs: [],
846
- outputs: [{ name: "", type: "int24" }],
847
- stateMutability: "view"
848
- },
849
- {
850
- type: "function",
851
- name: "endingTick",
852
- inputs: [],
853
- outputs: [{ name: "", type: "int24" }],
854
- stateMutability: "view"
855
- },
856
- {
857
- type: "function",
858
- name: "gamma",
859
- inputs: [],
860
- outputs: [{ name: "", type: "int24" }],
861
- stateMutability: "view"
862
- },
863
- {
864
- type: "function",
865
- name: "isToken0",
866
- inputs: [],
867
- outputs: [{ name: "", type: "bool" }],
868
- stateMutability: "view"
869
- },
870
- {
871
- type: "function",
872
- name: "numPDSlugs",
873
- inputs: [],
874
- outputs: [{ name: "", type: "uint256" }],
875
- stateMutability: "view"
876
- },
877
- // Doppler Hook errors
878
- { type: "error", name: "InvalidGamma", inputs: [] },
879
- { type: "error", name: "InvalidTimeRange", inputs: [] },
880
- { type: "error", name: "CannotAddLiquidity", inputs: [] },
881
- { type: "error", name: "CannotSwapBeforeStartTime", inputs: [] },
882
- { type: "error", name: "SwapBelowRange", inputs: [] },
883
- { type: "error", name: "InvalidStartTime", inputs: [] },
884
- { type: "error", name: "InvalidTickRange", inputs: [] },
885
- { type: "error", name: "InvalidTickSpacing", inputs: [] },
886
- { type: "error", name: "InvalidEpochLength", inputs: [] },
887
- { type: "error", name: "InvalidProceedLimits", inputs: [] },
888
- { type: "error", name: "InvalidNumPDSlugs", inputs: [] },
889
- {
890
- type: "error",
891
- name: "InvalidSwapAfterMaturitySufficientProceeds",
892
- inputs: []
893
- },
894
- {
895
- type: "error",
896
- name: "InvalidSwapAfterMaturityInsufficientProceeds",
897
- inputs: []
898
- },
899
- { type: "error", name: "MaximumProceedsReached", inputs: [] },
900
- { type: "error", name: "SenderNotPoolManager", inputs: [] },
901
- { type: "error", name: "AlreadyInitialized", inputs: [] },
902
- { type: "error", name: "SenderNotInitializer", inputs: [] },
903
- { type: "error", name: "CannotMigrate", inputs: [] },
904
- { type: "error", name: "CannotDonate", inputs: [] }
905
- ];
906
- var quoterV2Abi = [
907
- {
908
- inputs: [
909
- { internalType: "address", name: "_factory", type: "address" },
910
- { internalType: "address", name: "_WETH9", type: "address" }
911
- ],
912
- stateMutability: "nonpayable",
913
- type: "constructor"
914
- },
915
- {
916
- inputs: [],
917
- name: "WETH9",
918
- outputs: [{ internalType: "address", name: "", type: "address" }],
919
- stateMutability: "view",
920
- type: "function"
921
- },
922
- {
923
- inputs: [],
924
- name: "factory",
925
- outputs: [{ internalType: "address", name: "", type: "address" }],
926
- stateMutability: "view",
927
- type: "function"
928
- },
929
- {
930
- inputs: [
931
- { internalType: "bytes", name: "path", type: "bytes" },
932
- { internalType: "uint256", name: "amountIn", type: "uint256" }
933
- ],
934
- name: "quoteExactInput",
935
- outputs: [
936
- { internalType: "uint256", name: "amountOut", type: "uint256" },
937
- {
938
- internalType: "uint160[]",
939
- name: "sqrtPriceX96AfterList",
940
- type: "uint160[]"
941
- },
942
- {
943
- internalType: "uint32[]",
944
- name: "initializedTicksCrossedList",
945
- type: "uint32[]"
946
- },
947
- { internalType: "uint256", name: "gasEstimate", type: "uint256" }
948
- ],
949
- stateMutability: "nonpayable",
950
- type: "function"
951
- },
952
- {
953
- inputs: [
954
- {
955
- components: [
956
- { internalType: "address", name: "tokenIn", type: "address" },
957
- { internalType: "address", name: "tokenOut", type: "address" },
958
- { internalType: "uint256", name: "amountIn", type: "uint256" },
959
- { internalType: "uint24", name: "fee", type: "uint24" },
960
- {
961
- internalType: "uint160",
962
- name: "sqrtPriceLimitX96",
963
- type: "uint160"
964
- }
965
- ],
966
- internalType: "struct IQuoterV2.QuoteExactInputSingleParams",
967
- name: "params",
968
- type: "tuple"
969
- }
970
- ],
971
- name: "quoteExactInputSingle",
972
- outputs: [
973
- { internalType: "uint256", name: "amountOut", type: "uint256" },
974
- { internalType: "uint160", name: "sqrtPriceX96After", type: "uint160" },
975
- {
976
- internalType: "uint32",
977
- name: "initializedTicksCrossed",
978
- type: "uint32"
979
- },
980
- { internalType: "uint256", name: "gasEstimate", type: "uint256" }
981
- ],
982
- stateMutability: "nonpayable",
983
- type: "function"
984
- },
985
- {
986
- inputs: [
987
- { internalType: "bytes", name: "path", type: "bytes" },
988
- { internalType: "uint256", name: "amountOut", type: "uint256" }
989
- ],
990
- name: "quoteExactOutput",
991
- outputs: [
992
- { internalType: "uint256", name: "amountIn", type: "uint256" },
993
- {
994
- internalType: "uint160[]",
995
- name: "sqrtPriceX96AfterList",
996
- type: "uint160[]"
997
- },
998
- {
999
- internalType: "uint32[]",
1000
- name: "initializedTicksCrossedList",
1001
- type: "uint32[]"
1002
- },
1003
- { internalType: "uint256", name: "gasEstimate", type: "uint256" }
1004
- ],
1005
- stateMutability: "nonpayable",
1006
- type: "function"
1007
- },
1008
- {
1009
- inputs: [
1010
- {
1011
- components: [
1012
- { internalType: "address", name: "tokenIn", type: "address" },
1013
- { internalType: "address", name: "tokenOut", type: "address" },
1014
- { internalType: "uint256", name: "amount", type: "uint256" },
1015
- { internalType: "uint24", name: "fee", type: "uint24" },
1016
- {
1017
- internalType: "uint160",
1018
- name: "sqrtPriceLimitX96",
1019
- type: "uint160"
1020
- }
1021
- ],
1022
- internalType: "struct IQuoterV2.QuoteExactOutputSingleParams",
1023
- name: "params",
1024
- type: "tuple"
1025
- }
1026
- ],
1027
- name: "quoteExactOutputSingle",
1028
- outputs: [
1029
- { internalType: "uint256", name: "amountIn", type: "uint256" },
1030
- { internalType: "uint160", name: "sqrtPriceX96After", type: "uint160" },
1031
- {
1032
- internalType: "uint32",
1033
- name: "initializedTicksCrossed",
1034
- type: "uint32"
1035
- },
1036
- { internalType: "uint256", name: "gasEstimate", type: "uint256" }
1037
- ],
1038
- stateMutability: "nonpayable",
1039
- type: "function"
1040
- },
1041
- {
1042
- inputs: [
1043
- { internalType: "int256", name: "amount0Delta", type: "int256" },
1044
- { internalType: "int256", name: "amount1Delta", type: "int256" },
1045
- { internalType: "bytes", name: "_data", type: "bytes" }
1046
- ],
1047
- name: "uniswapV3SwapCallback",
1048
- outputs: [],
1049
- stateMutability: "view",
1050
- type: "function"
1051
- }
1052
- ];
1053
- var uniswapV2Router02Abi = [
1054
- {
1055
- inputs: [
1056
- { internalType: "uint256", name: "amountIn", type: "uint256" },
1057
- { internalType: "address[]", name: "path", type: "address[]" }
1058
- ],
1059
- name: "getAmountsOut",
1060
- outputs: [
1061
- { internalType: "uint256[]", name: "amounts", type: "uint256[]" }
1062
- ],
1063
- stateMutability: "view",
1064
- type: "function"
1065
- },
1066
- {
1067
- inputs: [
1068
- { internalType: "uint256", name: "amountOut", type: "uint256" },
1069
- { internalType: "address[]", name: "path", type: "address[]" }
1070
- ],
1071
- name: "getAmountsIn",
1072
- outputs: [
1073
- { internalType: "uint256[]", name: "amounts", type: "uint256[]" }
1074
- ],
1075
- stateMutability: "view",
1076
- type: "function"
1077
- }
1078
- ];
1079
- var v4QuoterAbi = [
1080
- {
1081
- type: "constructor",
1082
- inputs: [
1083
- {
1084
- name: "_poolManager",
1085
- type: "address",
1086
- internalType: "contract IPoolManager"
1087
- }
1088
- ],
1089
- stateMutability: "nonpayable"
1090
- },
1091
- {
1092
- type: "function",
1093
- name: "quoteExactInputSingle",
1094
- inputs: [
1095
- {
1096
- name: "params",
1097
- type: "tuple",
1098
- internalType: "struct IV4Quoter.QuoteExactSingleParams",
1099
- components: [
1100
- {
1101
- name: "poolKey",
1102
- type: "tuple",
1103
- internalType: "struct PoolKey",
1104
- components: [
1105
- { name: "currency0", type: "address", internalType: "Currency" },
1106
- { name: "currency1", type: "address", internalType: "Currency" },
1107
- { name: "fee", type: "uint24", internalType: "uint24" },
1108
- { name: "tickSpacing", type: "int24", internalType: "int24" },
1109
- {
1110
- name: "hooks",
1111
- type: "address",
1112
- internalType: "contract IHooks"
1113
- }
1114
- ]
1115
- },
1116
- { name: "zeroForOne", type: "bool", internalType: "bool" },
1117
- { name: "exactAmount", type: "uint128", internalType: "uint128" },
1118
- { name: "hookData", type: "bytes", internalType: "bytes" }
1119
- ]
1120
- }
1121
- ],
1122
- outputs: [
1123
- { name: "amountOut", type: "uint256", internalType: "uint256" },
1124
- { name: "gasEstimate", type: "uint256", internalType: "uint256" }
1125
- ],
1126
- stateMutability: "nonpayable"
1127
- },
1128
- {
1129
- type: "function",
1130
- name: "quoteExactOutputSingle",
1131
- inputs: [
1132
- {
1133
- name: "params",
1134
- type: "tuple",
1135
- internalType: "struct IV4Quoter.QuoteExactSingleParams",
1136
- components: [
1137
- {
1138
- name: "poolKey",
1139
- type: "tuple",
1140
- internalType: "struct PoolKey",
1141
- components: [
1142
- { name: "currency0", type: "address", internalType: "Currency" },
1143
- { name: "currency1", type: "address", internalType: "Currency" },
1144
- { name: "fee", type: "uint24", internalType: "uint24" },
1145
- { name: "tickSpacing", type: "int24", internalType: "int24" },
1146
- {
1147
- name: "hooks",
1148
- type: "address",
1149
- internalType: "contract IHooks"
1150
- }
1151
- ]
1152
- },
1153
- { name: "zeroForOne", type: "bool", internalType: "bool" },
1154
- { name: "exactAmount", type: "uint128", internalType: "uint128" },
1155
- { name: "hookData", type: "bytes", internalType: "bytes" }
1156
- ]
1157
- }
1158
- ],
1159
- outputs: [
1160
- { name: "amountIn", type: "uint256", internalType: "uint256" },
1161
- { name: "gasEstimate", type: "uint256", internalType: "uint256" }
1162
- ],
1163
- stateMutability: "nonpayable"
1164
- },
1165
- {
1166
- type: "function",
1167
- name: "poolManager",
1168
- inputs: [],
1169
- outputs: [
1170
- { name: "", type: "address", internalType: "contract IPoolManager" }
1171
- ],
1172
- stateMutability: "view"
1173
- }
1174
- ];
1175
- var lockableUniswapV3InitializerAbi = [
1176
- {
1177
- type: "constructor",
1178
- inputs: [
1179
- { name: "airlock_", type: "address", internalType: "address" },
1180
- {
1181
- name: "factory_",
1182
- type: "address",
1183
- internalType: "contract IUniswapV3Factory"
1184
- }
1185
- ],
1186
- stateMutability: "nonpayable"
1187
- },
1188
- {
1189
- type: "function",
1190
- name: "airlock",
1191
- inputs: [],
1192
- outputs: [{ name: "", type: "address", internalType: "contract Airlock" }],
1193
- stateMutability: "view"
1194
- },
1195
- {
1196
- type: "function",
1197
- name: "collectFees",
1198
- inputs: [{ name: "pool", type: "address", internalType: "address" }],
1199
- outputs: [
1200
- { name: "fees0ToDistribute", type: "uint256", internalType: "uint256" },
1201
- { name: "fees1ToDistribute", type: "uint256", internalType: "uint256" }
1202
- ],
1203
- stateMutability: "nonpayable"
1204
- },
1205
- {
1206
- type: "function",
1207
- name: "exitLiquidity",
1208
- inputs: [{ name: "pool", type: "address", internalType: "address" }],
1209
- outputs: [
1210
- { name: "sqrtPriceX96", type: "uint160", internalType: "uint160" },
1211
- { name: "token0", type: "address", internalType: "address" },
1212
- { name: "fees0", type: "uint128", internalType: "uint128" },
1213
- { name: "balance0", type: "uint128", internalType: "uint128" },
1214
- { name: "token1", type: "address", internalType: "address" },
1215
- { name: "fees1", type: "uint128", internalType: "uint128" },
1216
- { name: "balance1", type: "uint128", internalType: "uint128" }
1217
- ],
1218
- stateMutability: "nonpayable"
1219
- },
1220
- {
1221
- type: "function",
1222
- name: "factory",
1223
- inputs: [],
1224
- outputs: [
1225
- { name: "", type: "address", internalType: "contract IUniswapV3Factory" }
1226
- ],
1227
- stateMutability: "view"
1228
- },
1229
- {
1230
- type: "function",
1231
- name: "getState",
1232
- inputs: [{ name: "pool", type: "address", internalType: "address" }],
1233
- outputs: [
1234
- { name: "asset", type: "address", internalType: "address" },
1235
- { name: "numeraire", type: "address", internalType: "address" },
1236
- { name: "tickLower", type: "int24", internalType: "int24" },
1237
- { name: "tickUpper", type: "int24", internalType: "int24" },
1238
- { name: "maxShareToBeSold", type: "uint256", internalType: "uint256" },
1239
- {
1240
- name: "totalTokensOnBondingCurve",
1241
- type: "uint256",
1242
- internalType: "uint256"
1243
- },
1244
- { name: "status", type: "uint8", internalType: "enum PoolStatus" }
1245
- ],
1246
- stateMutability: "view"
1247
- },
1248
- {
1249
- type: "function",
1250
- name: "initialize",
1251
- inputs: [
1252
- { name: "asset", type: "address", internalType: "address" },
1253
- { name: "numeraire", type: "address", internalType: "address" },
1254
- {
1255
- name: "totalTokensOnBondingCurve",
1256
- type: "uint256",
1257
- internalType: "uint256"
1258
- },
1259
- { name: "", type: "bytes32", internalType: "bytes32" },
1260
- { name: "data", type: "bytes", internalType: "bytes" }
1261
- ],
1262
- outputs: [{ name: "pool", type: "address", internalType: "address" }],
1263
- stateMutability: "nonpayable"
1264
- },
1265
- {
1266
- type: "function",
1267
- name: "uniswapV3MintCallback",
1268
- inputs: [
1269
- { name: "amount0Owed", type: "uint256", internalType: "uint256" },
1270
- { name: "amount1Owed", type: "uint256", internalType: "uint256" },
1271
- { name: "data", type: "bytes", internalType: "bytes" }
1272
- ],
1273
- outputs: [],
1274
- stateMutability: "nonpayable"
1275
- },
1276
- {
1277
- type: "function",
1278
- name: "encodePoolInitializerData",
1279
- inputs: [
1280
- {
1281
- name: "params",
1282
- type: "tuple",
1283
- components: [
1284
- { name: "fee", type: "uint24" },
1285
- { name: "tickLower", type: "int24" },
1286
- { name: "tickUpper", type: "int24" },
1287
- { name: "numPositions", type: "uint16" },
1288
- { name: "maxShareToBeSold", type: "uint256" },
1289
- {
1290
- name: "beneficiaries",
1291
- type: "tuple[]",
1292
- components: [
1293
- { name: "beneficiary", type: "address" },
1294
- { name: "shares", type: "uint96" }
1295
- ]
1296
- }
1297
- ]
1298
- }
1299
- ],
1300
- outputs: [{ name: "", type: "bytes" }],
1301
- stateMutability: "pure"
1302
- },
1303
- {
1304
- type: "event",
1305
- name: "Collect",
1306
- inputs: [
1307
- { name: "pool", type: "address", indexed: true, internalType: "address" },
1308
- {
1309
- name: "beneficiary",
1310
- type: "address",
1311
- indexed: true,
1312
- internalType: "address"
1313
- },
1314
- {
1315
- name: "fees0",
1316
- type: "uint256",
1317
- indexed: false,
1318
- internalType: "uint256"
1319
- },
1320
- {
1321
- name: "fees1",
1322
- type: "uint256",
1323
- indexed: false,
1324
- internalType: "uint256"
1325
- }
1326
- ],
1327
- anonymous: false
1328
- },
1329
- {
1330
- type: "event",
1331
- name: "Create",
1332
- inputs: [
1333
- {
1334
- name: "poolOrHook",
1335
- type: "address",
1336
- indexed: true,
1337
- internalType: "address"
1338
- },
1339
- {
1340
- name: "asset",
1341
- type: "address",
1342
- indexed: true,
1343
- internalType: "address"
1344
- },
1345
- {
1346
- name: "numeraire",
1347
- type: "address",
1348
- indexed: true,
1349
- internalType: "address"
1350
- }
1351
- ],
1352
- anonymous: false
1353
- },
1354
- {
1355
- type: "event",
1356
- name: "Lock",
1357
- inputs: [
1358
- { name: "pool", type: "address", indexed: true, internalType: "address" },
1359
- {
1360
- name: "beneficiaries",
1361
- type: "tuple[]",
1362
- indexed: false,
1363
- internalType: "struct BeneficiaryData[]",
1364
- components: [
1365
- { name: "beneficiary", type: "address", internalType: "address" },
1366
- { name: "shares", type: "uint96", internalType: "uint96" }
1367
- ]
1368
- }
1369
- ],
1370
- anonymous: false
1371
- },
1372
- {
1373
- type: "error",
1374
- name: "CannotMigrateInsufficientTick",
1375
- inputs: [
1376
- { name: "targetTick", type: "int24", internalType: "int24" },
1377
- { name: "currentTick", type: "int24", internalType: "int24" }
1378
- ]
1379
- },
1380
- { type: "error", name: "CannotMintZeroLiquidity", inputs: [] },
1381
- {
1382
- type: "error",
1383
- name: "InvalidFee",
1384
- inputs: [{ name: "fee", type: "uint24", internalType: "uint24" }]
1385
- },
1386
- {
1387
- type: "error",
1388
- name: "InvalidTickRange",
1389
- inputs: [
1390
- { name: "tick", type: "int24", internalType: "int24" },
1391
- { name: "tickSpacing", type: "int24", internalType: "int24" }
1392
- ]
1393
- },
1394
- {
1395
- type: "error",
1396
- name: "InvalidTickRangeMisordered",
1397
- inputs: [
1398
- { name: "tickLower", type: "int24", internalType: "int24" },
1399
- { name: "tickUpper", type: "int24", internalType: "int24" }
1400
- ]
1401
- },
1402
- {
1403
- type: "error",
1404
- name: "MaxShareToBeSoldExceeded",
1405
- inputs: [
1406
- { name: "value", type: "uint256", internalType: "uint256" },
1407
- { name: "limit", type: "uint256", internalType: "uint256" }
1408
- ]
1409
- },
1410
- { type: "error", name: "OnlyPool", inputs: [] },
1411
- { type: "error", name: "PoolAlreadyExited", inputs: [] },
1412
- { type: "error", name: "PoolAlreadyInitialized", inputs: [] },
1413
- { type: "error", name: "PoolLocked", inputs: [] },
1414
- { type: "error", name: "SenderNotAirlock", inputs: [] },
1415
- { type: "error", name: "UnorderedBeneficiaries", inputs: [] },
1416
- { type: "error", name: "InvalidShares", inputs: [] },
1417
- { type: "error", name: "InvalidTotalShares", inputs: [] },
1418
- { type: "error", name: "InvalidProtocolOwnerShares", inputs: [] },
1419
- { type: "error", name: "InvalidProtocolOwnerBeneficiary", inputs: [] }
1420
- ];
1421
- var v4MulticurveInitializerAbi = [
1422
- {
1423
- type: "function",
1424
- name: "airlock",
1425
- inputs: [],
1426
- outputs: [{ name: "", type: "address", internalType: "contract Airlock" }],
1427
- stateMutability: "view"
1428
- },
1429
- {
1430
- type: "function",
1431
- name: "HOOK",
1432
- inputs: [],
1433
- outputs: [{ name: "", type: "address", internalType: "contract IHooks" }],
1434
- stateMutability: "view"
1435
- },
1436
- {
1437
- type: "function",
1438
- name: "collectFees",
1439
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
1440
- outputs: [
1441
- { name: "fees0", type: "uint128", internalType: "uint128" },
1442
- { name: "fees1", type: "uint128", internalType: "uint128" }
1443
- ],
1444
- stateMutability: "nonpayable"
1445
- },
1446
- {
1447
- type: "function",
1448
- name: "getState",
1449
- inputs: [{ name: "asset", type: "address", internalType: "address" }],
1450
- outputs: [
1451
- { name: "numeraire", type: "address", internalType: "address" },
1452
- { name: "status", type: "uint8", internalType: "enum PoolStatus" },
1453
- {
1454
- name: "poolKey",
1455
- type: "tuple",
1456
- internalType: "struct PoolKey",
1457
- components: [
1458
- { name: "currency0", type: "address", internalType: "Currency" },
1459
- { name: "currency1", type: "address", internalType: "Currency" },
1460
- { name: "fee", type: "uint24", internalType: "uint24" },
1461
- { name: "tickSpacing", type: "int24", internalType: "int24" },
1462
- { name: "hooks", type: "address", internalType: "contract IHooks" }
1463
- ]
1464
- },
1465
- { name: "farTick", type: "int24", internalType: "int24" }
1466
- ],
1467
- stateMutability: "view"
1468
- },
1469
- {
1470
- type: "event",
1471
- name: "Collect",
1472
- inputs: [
1473
- { name: "pool", type: "address", indexed: true, internalType: "address" },
1474
- {
1475
- name: "beneficiary",
1476
- type: "address",
1477
- indexed: true,
1478
- internalType: "address"
1479
- },
1480
- {
1481
- name: "fees0",
1482
- type: "uint256",
1483
- indexed: false,
1484
- internalType: "uint256"
1485
- },
1486
- {
1487
- name: "fees1",
1488
- type: "uint256",
1489
- indexed: false,
1490
- internalType: "uint256"
1491
- }
1492
- ],
1493
- anonymous: false
1494
- },
1495
- {
1496
- type: "event",
1497
- name: "Create",
1498
- inputs: [
1499
- {
1500
- name: "poolOrHook",
1501
- type: "address",
1502
- indexed: true,
1503
- internalType: "address"
1504
- },
1505
- {
1506
- name: "asset",
1507
- type: "address",
1508
- indexed: true,
1509
- internalType: "address"
1510
- },
1511
- {
1512
- name: "numeraire",
1513
- type: "address",
1514
- indexed: true,
1515
- internalType: "address"
1516
- }
1517
- ],
1518
- anonymous: false
1519
- },
1520
- {
1521
- type: "event",
1522
- name: "Lock",
1523
- inputs: [
1524
- { name: "pool", type: "address", indexed: true, internalType: "address" },
1525
- {
1526
- name: "beneficiaries",
1527
- type: "tuple[]",
1528
- indexed: false,
1529
- internalType: "struct BeneficiaryData[]",
1530
- components: [
1531
- { name: "beneficiary", type: "address", internalType: "address" },
1532
- { name: "shares", type: "uint96", internalType: "uint96" }
1533
- ]
1534
- }
1535
- ],
1536
- anonymous: false
1537
- },
1538
- { type: "error", name: "PoolLocked", inputs: [] },
1539
- { type: "error", name: "PoolNotLocked", inputs: [] },
1540
- { type: "error", name: "PoolAlreadyInitialized", inputs: [] },
1541
- { type: "error", name: "PoolAlreadyExited", inputs: [] },
1542
- {
1543
- type: "error",
1544
- name: "CannotMigrateInsufficientTick",
1545
- inputs: [
1546
- { name: "targetTick", type: "int24", internalType: "int24" },
1547
- { name: "currentTick", type: "int24", internalType: "int24" }
1548
- ]
1549
- },
1550
- { type: "error", name: "SenderNotAirlock", inputs: [] },
1551
- { type: "error", name: "UnorderedBeneficiaries", inputs: [] },
1552
- { type: "error", name: "InvalidShares", inputs: [] },
1553
- { type: "error", name: "InvalidTotalShares", inputs: [] },
1554
- { type: "error", name: "InvalidProtocolOwnerShares", inputs: [] },
1555
- { type: "error", name: "InvalidProtocolOwnerBeneficiary", inputs: [] }
1556
- ];
1557
- var dopplerHookInitializerAbi = [
1558
- {
1559
- type: "function",
1560
- name: "airlock",
1561
- inputs: [],
1562
- outputs: [{ name: "", type: "address", internalType: "contract Airlock" }],
1563
- stateMutability: "view"
1564
- },
1565
- {
1566
- type: "function",
1567
- name: "collectFees",
1568
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
1569
- outputs: [
1570
- { name: "fees0", type: "uint128", internalType: "uint128" },
1571
- { name: "fees1", type: "uint128", internalType: "uint128" }
1572
- ],
1573
- stateMutability: "nonpayable"
1574
- },
1575
- {
1576
- type: "function",
1577
- name: "getState",
1578
- inputs: [{ name: "asset", type: "address", internalType: "address" }],
1579
- outputs: [
1580
- { name: "numeraire", type: "address", internalType: "address" },
1581
- {
1582
- name: "totalTokensOnBondingCurve",
1583
- type: "uint256",
1584
- internalType: "uint256"
1585
- },
1586
- { name: "dopplerHook", type: "address", internalType: "address" },
1587
- {
1588
- name: "graduationDopplerHookCalldata",
1589
- type: "bytes",
1590
- internalType: "bytes"
1591
- },
1592
- { name: "status", type: "uint8", internalType: "enum PoolStatus" },
1593
- {
1594
- name: "poolKey",
1595
- type: "tuple",
1596
- internalType: "struct PoolKey",
1597
- components: [
1598
- { name: "currency0", type: "address", internalType: "Currency" },
1599
- { name: "currency1", type: "address", internalType: "Currency" },
1600
- { name: "fee", type: "uint24", internalType: "uint24" },
1601
- { name: "tickSpacing", type: "int24", internalType: "int24" },
1602
- { name: "hooks", type: "address", internalType: "contract IHooks" }
1603
- ]
1604
- },
1605
- { name: "farTick", type: "int24", internalType: "int24" }
1606
- ],
1607
- stateMutability: "view"
1608
- }
1609
- ];
1610
- var decayMulticurveInitializerHookAbi = [
1611
- {
1612
- type: "function",
1613
- name: "getFeeScheduleOf",
1614
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
1615
- outputs: [
1616
- { name: "startingTime", type: "uint32", internalType: "uint32" },
1617
- { name: "startFee", type: "uint24", internalType: "uint24" },
1618
- { name: "endFee", type: "uint24", internalType: "uint24" },
1619
- { name: "lastFee", type: "uint24", internalType: "uint24" },
1620
- { name: "durationSeconds", type: "uint32", internalType: "uint32" }
1621
- ],
1622
- stateMutability: "view"
1623
- }
1624
- ];
1625
- var streamableFeesLockerAbi = [
1626
- {
1627
- type: "function",
1628
- name: "collectFees",
1629
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
1630
- outputs: [
1631
- { name: "fees0", type: "uint128", internalType: "uint128" },
1632
- { name: "fees1", type: "uint128", internalType: "uint128" }
1633
- ],
1634
- stateMutability: "nonpayable"
1635
- },
1636
- {
1637
- type: "function",
1638
- name: "streams",
1639
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
1640
- outputs: [
1641
- {
1642
- name: "poolKey",
1643
- type: "tuple",
1644
- internalType: "struct PoolKey",
1645
- components: [
1646
- { name: "currency0", type: "address", internalType: "Currency" },
1647
- { name: "currency1", type: "address", internalType: "Currency" },
1648
- { name: "fee", type: "uint24", internalType: "uint24" },
1649
- { name: "tickSpacing", type: "int24", internalType: "int24" },
1650
- { name: "hooks", type: "address", internalType: "contract IHooks" }
1651
- ]
1652
- },
1653
- { name: "recipient", type: "address", internalType: "address" },
1654
- { name: "startDate", type: "uint32", internalType: "uint32" },
1655
- { name: "lockDuration", type: "uint32", internalType: "uint32" },
1656
- { name: "isUnlocked", type: "bool", internalType: "bool" },
1657
- {
1658
- name: "beneficiaries",
1659
- type: "tuple[]",
1660
- internalType: "struct BeneficiaryData[]",
1661
- components: [
1662
- { name: "beneficiary", type: "address", internalType: "address" },
1663
- { name: "shares", type: "uint96", internalType: "uint96" }
1664
- ]
1665
- },
1666
- {
1667
- name: "positions",
1668
- type: "tuple[]",
1669
- internalType: "struct Position[]",
1670
- components: [
1671
- { name: "tickLower", type: "int24", internalType: "int24" },
1672
- { name: "tickUpper", type: "int24", internalType: "int24" },
1673
- { name: "liquidity", type: "uint128", internalType: "uint128" },
1674
- { name: "salt", type: "bytes32", internalType: "bytes32" }
1675
- ]
1676
- }
1677
- ],
1678
- stateMutability: "view"
1679
- },
1680
- // StreamableFeesLocker errors
1681
- { type: "error", name: "NonPositionManager", inputs: [] },
1682
- { type: "error", name: "NotApprovedMigrator", inputs: [] },
1683
- { type: "error", name: "PositionNotFound", inputs: [] },
1684
- { type: "error", name: "PositionAlreadyUnlocked", inputs: [] },
1685
- { type: "error", name: "InvalidBeneficiary", inputs: [] }
1686
- ];
1687
- var v4MulticurveMigratorAbi = [
1688
- {
1689
- type: "function",
1690
- name: "getAssetData",
1691
- inputs: [
1692
- { name: "token0", type: "address", internalType: "address" },
1693
- { name: "token1", type: "address", internalType: "address" }
1694
- ],
1695
- outputs: [
1696
- { name: "isToken0", type: "bool", internalType: "bool" },
1697
- {
1698
- name: "poolKey",
1699
- type: "tuple",
1700
- internalType: "struct PoolKey",
1701
- components: [
1702
- { name: "currency0", type: "address", internalType: "Currency" },
1703
- { name: "currency1", type: "address", internalType: "Currency" },
1704
- { name: "fee", type: "uint24", internalType: "uint24" },
1705
- { name: "tickSpacing", type: "int24", internalType: "int24" },
1706
- { name: "hooks", type: "address", internalType: "contract IHooks" }
1707
- ]
1708
- },
1709
- { name: "lockDuration", type: "uint32", internalType: "uint32" },
1710
- {
1711
- name: "curves",
1712
- type: "tuple[]",
1713
- internalType: "struct Curve[]",
1714
- components: [
1715
- { name: "tickLower", type: "int24", internalType: "int24" },
1716
- { name: "tickUpper", type: "int24", internalType: "int24" },
1717
- { name: "numPositions", type: "uint16", internalType: "uint16" },
1718
- { name: "shares", type: "uint256", internalType: "uint256" }
1719
- ]
1720
- },
1721
- {
1722
- name: "beneficiaries",
1723
- type: "tuple[]",
1724
- internalType: "struct BeneficiaryData[]",
1725
- components: [
1726
- { name: "beneficiary", type: "address", internalType: "address" },
1727
- { name: "shares", type: "uint96", internalType: "uint96" }
1728
- ]
1729
- }
1730
- ],
1731
- stateMutability: "view"
1732
- },
1733
- {
1734
- type: "function",
1735
- name: "locker",
1736
- inputs: [],
1737
- outputs: [
1738
- {
1739
- name: "",
1740
- type: "address",
1741
- internalType: "contract StreamableFeesLockerV2"
1742
- }
1743
- ],
1744
- stateMutability: "view"
1745
- },
1746
- // V4 Multicurve Migrator errors
1747
- { type: "error", name: "PoolNotInitialized", inputs: [] }
1748
- ];
1749
- var dopplerLensAbi = [
1750
- {
1751
- type: "function",
1752
- name: "quoteDopplerLensData",
1753
- inputs: [
1754
- {
1755
- name: "params",
1756
- type: "tuple",
1757
- internalType: "struct IV4Quoter.QuoteExactSingleParams",
1758
- components: [
1759
- {
1760
- name: "poolKey",
1761
- type: "tuple",
1762
- internalType: "struct PoolKey",
1763
- components: [
1764
- { name: "currency0", type: "address", internalType: "Currency" },
1765
- { name: "currency1", type: "address", internalType: "Currency" },
1766
- { name: "fee", type: "uint24", internalType: "uint24" },
1767
- { name: "tickSpacing", type: "int24", internalType: "int24" },
1768
- {
1769
- name: "hooks",
1770
- type: "address",
1771
- internalType: "contract IHooks"
1772
- }
1773
- ]
1774
- },
1775
- { name: "zeroForOne", type: "bool", internalType: "bool" },
1776
- { name: "exactAmount", type: "uint128", internalType: "uint128" },
1777
- { name: "hookData", type: "bytes", internalType: "bytes" }
1778
- ]
1779
- }
1780
- ],
1781
- outputs: [
1782
- {
1783
- name: "returnData",
1784
- type: "tuple",
1785
- internalType: "struct DopplerLensReturnData",
1786
- components: [
1787
- { name: "sqrtPriceX96", type: "uint160", internalType: "uint160" },
1788
- { name: "amount0", type: "uint256", internalType: "uint256" },
1789
- { name: "amount1", type: "uint256", internalType: "uint256" },
1790
- { name: "tick", type: "int24", internalType: "int24" }
1791
- ]
1792
- }
1793
- ],
1794
- stateMutability: "nonpayable"
1795
- }
1796
- ];
1797
- var bundlerAbi = [
1798
- {
1799
- type: "function",
1800
- name: "bundle",
1801
- inputs: [
1802
- {
1803
- name: "createData",
1804
- type: "tuple",
1805
- internalType: "struct CreateParams",
1806
- components: [
1807
- { name: "initialSupply", type: "uint256", internalType: "uint256" },
1808
- { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1809
- { name: "numeraire", type: "address", internalType: "address" },
1810
- {
1811
- name: "tokenFactory",
1812
- type: "address",
1813
- internalType: "contract ITokenFactory"
1814
- },
1815
- { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1816
- {
1817
- name: "governanceFactory",
1818
- type: "address",
1819
- internalType: "contract IGovernanceFactory"
1820
- },
1821
- {
1822
- name: "governanceFactoryData",
1823
- type: "bytes",
1824
- internalType: "bytes"
1825
- },
1826
- {
1827
- name: "poolInitializer",
1828
- type: "address",
1829
- internalType: "contract IPoolInitializer"
1830
- },
1831
- { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1832
- {
1833
- name: "liquidityMigrator",
1834
- type: "address",
1835
- internalType: "contract ILiquidityMigrator"
1836
- },
1837
- {
1838
- name: "liquidityMigratorData",
1839
- type: "bytes",
1840
- internalType: "bytes"
1841
- },
1842
- { name: "integrator", type: "address", internalType: "address" },
1843
- { name: "salt", type: "bytes32", internalType: "bytes32" }
1844
- ]
1845
- },
1846
- { name: "commands", type: "bytes", internalType: "bytes" },
1847
- { name: "inputs", type: "bytes[]", internalType: "bytes[]" }
1848
- ],
1849
- outputs: [],
1850
- stateMutability: "payable"
1851
- },
1852
- {
1853
- type: "function",
1854
- name: "simulateBundleExactIn",
1855
- inputs: [
1856
- {
1857
- name: "createData",
1858
- type: "tuple",
1859
- internalType: "struct CreateParams",
1860
- components: [
1861
- { name: "initialSupply", type: "uint256", internalType: "uint256" },
1862
- { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1863
- { name: "numeraire", type: "address", internalType: "address" },
1864
- {
1865
- name: "tokenFactory",
1866
- type: "address",
1867
- internalType: "contract ITokenFactory"
1868
- },
1869
- { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1870
- {
1871
- name: "governanceFactory",
1872
- type: "address",
1873
- internalType: "contract IGovernanceFactory"
1874
- },
1875
- {
1876
- name: "governanceFactoryData",
1877
- type: "bytes",
1878
- internalType: "bytes"
1879
- },
1880
- {
1881
- name: "poolInitializer",
1882
- type: "address",
1883
- internalType: "contract IPoolInitializer"
1884
- },
1885
- { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1886
- {
1887
- name: "liquidityMigrator",
1888
- type: "address",
1889
- internalType: "contract ILiquidityMigrator"
1890
- },
1891
- {
1892
- name: "liquidityMigratorData",
1893
- type: "bytes",
1894
- internalType: "bytes"
1895
- },
1896
- { name: "integrator", type: "address", internalType: "address" },
1897
- { name: "salt", type: "bytes32", internalType: "bytes32" }
1898
- ]
1899
- },
1900
- {
1901
- name: "params",
1902
- type: "tuple",
1903
- internalType: "struct IQuoterV2.QuoteExactInputSingleParams",
1904
- components: [
1905
- { name: "tokenIn", type: "address", internalType: "address" },
1906
- { name: "tokenOut", type: "address", internalType: "address" },
1907
- { name: "amountIn", type: "uint256", internalType: "uint256" },
1908
- { name: "fee", type: "uint24", internalType: "uint24" },
1909
- {
1910
- name: "sqrtPriceLimitX96",
1911
- type: "uint160",
1912
- internalType: "uint160"
1913
- }
1914
- ]
1915
- }
1916
- ],
1917
- outputs: [{ name: "amountOut", type: "uint256", internalType: "uint256" }],
1918
- stateMutability: "nonpayable"
1919
- },
1920
- {
1921
- type: "function",
1922
- name: "simulateBundleExactOut",
1923
- inputs: [
1924
- {
1925
- name: "createData",
1926
- type: "tuple",
1927
- internalType: "struct CreateParams",
1928
- components: [
1929
- { name: "initialSupply", type: "uint256", internalType: "uint256" },
1930
- { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1931
- { name: "numeraire", type: "address", internalType: "address" },
1932
- {
1933
- name: "tokenFactory",
1934
- type: "address",
1935
- internalType: "contract ITokenFactory"
1936
- },
1937
- { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
1938
- {
1939
- name: "governanceFactory",
1940
- type: "address",
1941
- internalType: "contract IGovernanceFactory"
1942
- },
1943
- {
1944
- name: "governanceFactoryData",
1945
- type: "bytes",
1946
- internalType: "bytes"
1947
- },
1948
- {
1949
- name: "poolInitializer",
1950
- type: "address",
1951
- internalType: "contract IPoolInitializer"
1952
- },
1953
- { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
1954
- {
1955
- name: "liquidityMigrator",
1956
- type: "address",
1957
- internalType: "contract ILiquidityMigrator"
1958
- },
1959
- {
1960
- name: "liquidityMigratorData",
1961
- type: "bytes",
1962
- internalType: "bytes"
1963
- },
1964
- { name: "integrator", type: "address", internalType: "address" },
1965
- { name: "salt", type: "bytes32", internalType: "bytes32" }
1966
- ]
1967
- },
1968
- {
1969
- name: "params",
1970
- type: "tuple",
1971
- internalType: "struct IQuoterV2.QuoteExactOutputSingleParams",
1972
- components: [
1973
- { name: "tokenIn", type: "address", internalType: "address" },
1974
- { name: "tokenOut", type: "address", internalType: "address" },
1975
- { name: "amount", type: "uint256", internalType: "uint256" },
1976
- { name: "fee", type: "uint24", internalType: "uint24" },
1977
- {
1978
- name: "sqrtPriceLimitX96",
1979
- type: "uint160",
1980
- internalType: "uint160"
1981
- }
1982
- ]
1983
- }
1984
- ],
1985
- outputs: [{ name: "amountIn", type: "uint256", internalType: "uint256" }],
1986
- stateMutability: "nonpayable"
1987
- },
1988
- {
1989
- type: "function",
1990
- name: "simulateMulticurveBundleExactOut",
1991
- inputs: [
1992
- {
1993
- name: "createData",
1994
- type: "tuple",
1995
- internalType: "struct CreateParams",
1996
- components: [
1997
- { name: "initialSupply", type: "uint256", internalType: "uint256" },
1998
- { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
1999
- { name: "numeraire", type: "address", internalType: "address" },
2000
- {
2001
- name: "tokenFactory",
2002
- type: "address",
2003
- internalType: "contract ITokenFactory"
2004
- },
2005
- { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
2006
- {
2007
- name: "governanceFactory",
2008
- type: "address",
2009
- internalType: "contract IGovernanceFactory"
2010
- },
2011
- {
2012
- name: "governanceFactoryData",
2013
- type: "bytes",
2014
- internalType: "bytes"
2015
- },
2016
- {
2017
- name: "poolInitializer",
2018
- type: "address",
2019
- internalType: "contract IPoolInitializer"
2020
- },
2021
- { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
2022
- {
2023
- name: "liquidityMigrator",
2024
- type: "address",
2025
- internalType: "contract ILiquidityMigrator"
2026
- },
2027
- {
2028
- name: "liquidityMigratorData",
2029
- type: "bytes",
2030
- internalType: "bytes"
2031
- },
2032
- { name: "integrator", type: "address", internalType: "address" },
2033
- { name: "salt", type: "bytes32", internalType: "bytes32" }
2034
- ]
2035
- },
2036
- { name: "exactAmountOut", type: "uint128", internalType: "uint128" },
2037
- { name: "hookData", type: "bytes", internalType: "bytes" }
2038
- ],
2039
- outputs: [
2040
- { name: "asset", type: "address", internalType: "address" },
2041
- {
2042
- name: "poolKey",
2043
- type: "tuple",
2044
- internalType: "struct PoolKey",
2045
- components: [
2046
- { name: "currency0", type: "address", internalType: "Currency" },
2047
- { name: "currency1", type: "address", internalType: "Currency" },
2048
- { name: "fee", type: "uint24", internalType: "uint24" },
2049
- { name: "tickSpacing", type: "int24", internalType: "int24" },
2050
- { name: "hooks", type: "address", internalType: "contract IHooks" }
2051
- ]
2052
- },
2053
- { name: "amountIn", type: "uint256", internalType: "uint256" },
2054
- { name: "gasEstimate", type: "uint256", internalType: "uint256" }
2055
- ],
2056
- stateMutability: "nonpayable"
2057
- },
2058
- {
2059
- type: "function",
2060
- name: "simulateMulticurveBundleExactIn",
2061
- inputs: [
2062
- {
2063
- name: "createData",
2064
- type: "tuple",
2065
- internalType: "struct CreateParams",
2066
- components: [
2067
- { name: "initialSupply", type: "uint256", internalType: "uint256" },
2068
- { name: "numTokensToSell", type: "uint256", internalType: "uint256" },
2069
- { name: "numeraire", type: "address", internalType: "address" },
2070
- {
2071
- name: "tokenFactory",
2072
- type: "address",
2073
- internalType: "contract ITokenFactory"
2074
- },
2075
- { name: "tokenFactoryData", type: "bytes", internalType: "bytes" },
2076
- {
2077
- name: "governanceFactory",
2078
- type: "address",
2079
- internalType: "contract IGovernanceFactory"
2080
- },
2081
- {
2082
- name: "governanceFactoryData",
2083
- type: "bytes",
2084
- internalType: "bytes"
2085
- },
2086
- {
2087
- name: "poolInitializer",
2088
- type: "address",
2089
- internalType: "contract IPoolInitializer"
2090
- },
2091
- { name: "poolInitializerData", type: "bytes", internalType: "bytes" },
2092
- {
2093
- name: "liquidityMigrator",
2094
- type: "address",
2095
- internalType: "contract ILiquidityMigrator"
2096
- },
2097
- {
2098
- name: "liquidityMigratorData",
2099
- type: "bytes",
2100
- internalType: "bytes"
2101
- },
2102
- { name: "integrator", type: "address", internalType: "address" },
2103
- { name: "salt", type: "bytes32", internalType: "bytes32" }
2104
- ]
2105
- },
2106
- { name: "exactAmountIn", type: "uint128", internalType: "uint128" },
2107
- { name: "hookData", type: "bytes", internalType: "bytes" }
2108
- ],
2109
- outputs: [
2110
- { name: "asset", type: "address", internalType: "address" },
2111
- {
2112
- name: "poolKey",
2113
- type: "tuple",
2114
- internalType: "struct PoolKey",
2115
- components: [
2116
- { name: "currency0", type: "address", internalType: "Currency" },
2117
- { name: "currency1", type: "address", internalType: "Currency" },
2118
- { name: "fee", type: "uint24", internalType: "uint24" },
2119
- { name: "tickSpacing", type: "int24", internalType: "int24" },
2120
- { name: "hooks", type: "address", internalType: "contract IHooks" }
2121
- ]
2122
- },
2123
- { name: "amountOut", type: "uint256", internalType: "uint256" },
2124
- { name: "gasEstimate", type: "uint256", internalType: "uint256" }
2125
- ],
2126
- stateMutability: "nonpayable"
2127
- },
2128
- { type: "error", name: "InvalidAddresses", inputs: [] },
2129
- { type: "error", name: "InvalidBundleData", inputs: [] },
2130
- { type: "error", name: "InvalidOutputToken", inputs: [] }
2131
- ];
2132
- var poolManagerAbi = [
2133
- {
2134
- type: "function",
2135
- name: "swap",
2136
- inputs: [
2137
- {
2138
- name: "key",
2139
- type: "tuple",
2140
- internalType: "struct PoolKey",
2141
- components: [
2142
- { name: "currency0", type: "address", internalType: "Currency" },
2143
- { name: "currency1", type: "address", internalType: "Currency" },
2144
- { name: "fee", type: "uint24", internalType: "uint24" },
2145
- { name: "tickSpacing", type: "int24", internalType: "int24" },
2146
- { name: "hooks", type: "address", internalType: "contract IHooks" }
2147
- ]
2148
- },
2149
- {
2150
- name: "params",
2151
- type: "tuple",
2152
- internalType: "struct IPoolManager.SwapParams",
2153
- components: [
2154
- { name: "zeroForOne", type: "bool", internalType: "bool" },
2155
- { name: "amountSpecified", type: "int256", internalType: "int256" },
2156
- {
2157
- name: "sqrtPriceLimitX96",
2158
- type: "uint160",
2159
- internalType: "uint160"
2160
- }
2161
- ]
2162
- },
2163
- { name: "hookData", type: "bytes", internalType: "bytes" }
2164
- ],
2165
- outputs: [
2166
- { name: "swapDelta", type: "int256", internalType: "BalanceDelta" }
2167
- ],
2168
- stateMutability: "nonpayable"
2169
- }
2170
- ];
2171
- var weth9Abi = [
2172
- {
2173
- type: "function",
2174
- name: "deposit",
2175
- inputs: [],
2176
- outputs: [],
2177
- stateMutability: "payable"
2178
- },
2179
- {
2180
- type: "function",
2181
- name: "withdraw",
2182
- inputs: [{ name: "wad", type: "uint256", internalType: "uint256" }],
2183
- outputs: [],
2184
- stateMutability: "nonpayable"
2185
- },
2186
- {
2187
- type: "function",
2188
- name: "approve",
2189
- inputs: [
2190
- { name: "spender", type: "address", internalType: "address" },
2191
- { name: "amount", type: "uint256", internalType: "uint256" }
2192
- ],
2193
- outputs: [{ name: "", type: "bool", internalType: "bool" }],
2194
- stateMutability: "nonpayable"
2195
- },
2196
- {
2197
- type: "function",
2198
- name: "balanceOf",
2199
- inputs: [{ name: "owner", type: "address", internalType: "address" }],
2200
- outputs: [{ name: "", type: "uint256", internalType: "uint256" }],
2201
- stateMutability: "view"
2202
- }
2203
- ];
2204
- var rehypeDopplerHookAbi = [
2205
- {
2206
- type: "function",
2207
- name: "INITIALIZER",
2208
- inputs: [],
2209
- outputs: [{ name: "", type: "address", internalType: "address" }],
2210
- stateMutability: "view"
2211
- },
2212
- {
2213
- type: "function",
2214
- name: "claimAirlockOwnerFees",
2215
- inputs: [{ name: "asset", type: "address", internalType: "address" }],
2216
- outputs: [
2217
- { name: "fees0", type: "uint128", internalType: "uint128" },
2218
- { name: "fees1", type: "uint128", internalType: "uint128" }
2219
- ],
2220
- stateMutability: "nonpayable"
2221
- },
2222
- {
2223
- type: "function",
2224
- name: "collectFees",
2225
- inputs: [{ name: "asset", type: "address", internalType: "address" }],
2226
- outputs: [{ name: "fees", type: "int256", internalType: "BalanceDelta" }],
2227
- stateMutability: "nonpayable"
2228
- },
2229
- {
2230
- type: "function",
2231
- name: "getFeeDistributionInfo",
2232
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
2233
- outputs: [
2234
- {
2235
- name: "assetFeesToAssetBuybackWad",
2236
- type: "uint256",
2237
- internalType: "uint256"
2238
- },
2239
- {
2240
- name: "assetFeesToNumeraireBuybackWad",
2241
- type: "uint256",
2242
- internalType: "uint256"
2243
- },
2244
- {
2245
- name: "assetFeesToBeneficiaryWad",
2246
- type: "uint256",
2247
- internalType: "uint256"
2248
- },
2249
- { name: "assetFeesToLpWad", type: "uint256", internalType: "uint256" },
2250
- {
2251
- name: "numeraireFeesToAssetBuybackWad",
2252
- type: "uint256",
2253
- internalType: "uint256"
2254
- },
2255
- {
2256
- name: "numeraireFeesToNumeraireBuybackWad",
2257
- type: "uint256",
2258
- internalType: "uint256"
2259
- },
2260
- {
2261
- name: "numeraireFeesToBeneficiaryWad",
2262
- type: "uint256",
2263
- internalType: "uint256"
2264
- },
2265
- {
2266
- name: "numeraireFeesToLpWad",
2267
- type: "uint256",
2268
- internalType: "uint256"
2269
- }
2270
- ],
2271
- stateMutability: "view"
2272
- },
2273
- {
2274
- type: "function",
2275
- name: "getFeeRoutingMode",
2276
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
2277
- outputs: [{ name: "", type: "uint8", internalType: "enum FeeRoutingMode" }],
2278
- stateMutability: "view"
2279
- },
2280
- {
2281
- type: "function",
2282
- name: "getFeeSchedule",
2283
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
2284
- outputs: [
2285
- { name: "startingTime", type: "uint32", internalType: "uint32" },
2286
- { name: "startFee", type: "uint24", internalType: "uint24" },
2287
- { name: "endFee", type: "uint24", internalType: "uint24" },
2288
- { name: "lastFee", type: "uint24", internalType: "uint24" },
2289
- { name: "durationSeconds", type: "uint32", internalType: "uint32" }
2290
- ],
2291
- stateMutability: "view"
2292
- },
2293
- {
2294
- type: "function",
2295
- name: "getHookFees",
2296
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
2297
- outputs: [
2298
- { name: "fees0", type: "uint128", internalType: "uint128" },
2299
- { name: "fees1", type: "uint128", internalType: "uint128" },
2300
- { name: "beneficiaryFees0", type: "uint128", internalType: "uint128" },
2301
- { name: "beneficiaryFees1", type: "uint128", internalType: "uint128" },
2302
- { name: "airlockOwnerFees0", type: "uint128", internalType: "uint128" },
2303
- { name: "airlockOwnerFees1", type: "uint128", internalType: "uint128" },
2304
- { name: "customFee", type: "uint24", internalType: "uint24" }
2305
- ],
2306
- stateMutability: "view"
2307
- },
2308
- {
2309
- type: "function",
2310
- name: "getPoolInfo",
2311
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
2312
- outputs: [
2313
- { name: "asset", type: "address", internalType: "address" },
2314
- { name: "numeraire", type: "address", internalType: "address" },
2315
- { name: "buybackDst", type: "address", internalType: "address" }
2316
- ],
2317
- stateMutability: "view"
2318
- },
2319
- {
2320
- type: "function",
2321
- name: "getPosition",
2322
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
2323
- outputs: [
2324
- { name: "tickLower", type: "int24", internalType: "int24" },
2325
- { name: "tickUpper", type: "int24", internalType: "int24" },
2326
- { name: "liquidity", type: "uint128", internalType: "uint128" },
2327
- { name: "salt", type: "bytes32", internalType: "bytes32" }
2328
- ],
2329
- stateMutability: "view"
2330
- },
2331
- {
2332
- type: "function",
2333
- name: "poolManager",
2334
- inputs: [],
2335
- outputs: [
2336
- { name: "", type: "address", internalType: "contract IPoolManager" }
2337
- ],
2338
- stateMutability: "view"
2339
- },
2340
- {
2341
- type: "function",
2342
- name: "quoter",
2343
- inputs: [],
2344
- outputs: [{ name: "", type: "address", internalType: "contract Quoter" }],
2345
- stateMutability: "view"
2346
- },
2347
- { type: "error", name: "FeeDistributionMustAddUpToWAD", inputs: [] },
2348
- { type: "error", name: "SenderNotAirlockOwner", inputs: [] },
2349
- { type: "error", name: "SenderNotInitializer", inputs: [] }
2350
- ];
2351
- var rehypeDopplerHookMigratorAbi = [
2352
- {
2353
- type: "function",
2354
- name: "MIGRATOR",
2355
- inputs: [],
2356
- outputs: [{ name: "", type: "address", internalType: "address" }],
2357
- stateMutability: "view"
2358
- },
2359
- {
2360
- type: "function",
2361
- name: "claimAirlockOwnerFees",
2362
- inputs: [{ name: "asset", type: "address", internalType: "address" }],
2363
- outputs: [
2364
- { name: "fees0", type: "uint128", internalType: "uint128" },
2365
- { name: "fees1", type: "uint128", internalType: "uint128" }
2366
- ],
2367
- stateMutability: "nonpayable"
2368
- },
2369
- {
2370
- type: "function",
2371
- name: "collectFees",
2372
- inputs: [{ name: "asset", type: "address", internalType: "address" }],
2373
- outputs: [{ name: "fees", type: "int256", internalType: "BalanceDelta" }],
2374
- stateMutability: "nonpayable"
2375
- },
2376
- {
2377
- type: "function",
2378
- name: "getFeeDistributionInfo",
2379
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
2380
- outputs: [
2381
- {
2382
- name: "assetFeesToAssetBuybackWad",
2383
- type: "uint256",
2384
- internalType: "uint256"
2385
- },
2386
- {
2387
- name: "assetFeesToNumeraireBuybackWad",
2388
- type: "uint256",
2389
- internalType: "uint256"
2390
- },
2391
- {
2392
- name: "assetFeesToBeneficiaryWad",
2393
- type: "uint256",
2394
- internalType: "uint256"
2395
- },
2396
- { name: "assetFeesToLpWad", type: "uint256", internalType: "uint256" },
2397
- {
2398
- name: "numeraireFeesToAssetBuybackWad",
2399
- type: "uint256",
2400
- internalType: "uint256"
2401
- },
2402
- {
2403
- name: "numeraireFeesToNumeraireBuybackWad",
2404
- type: "uint256",
2405
- internalType: "uint256"
2406
- },
2407
- {
2408
- name: "numeraireFeesToBeneficiaryWad",
2409
- type: "uint256",
2410
- internalType: "uint256"
2411
- },
2412
- {
2413
- name: "numeraireFeesToLpWad",
2414
- type: "uint256",
2415
- internalType: "uint256"
2416
- }
2417
- ],
2418
- stateMutability: "view"
2419
- },
2420
- {
2421
- type: "function",
2422
- name: "getFeeRoutingMode",
2423
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
2424
- outputs: [{ name: "", type: "uint8", internalType: "enum FeeRoutingMode" }],
2425
- stateMutability: "view"
2426
- },
2427
- {
2428
- type: "function",
2429
- name: "getHookFees",
2430
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
2431
- outputs: [
2432
- { name: "fees0", type: "uint128", internalType: "uint128" },
2433
- { name: "fees1", type: "uint128", internalType: "uint128" },
2434
- { name: "beneficiaryFees0", type: "uint128", internalType: "uint128" },
2435
- { name: "beneficiaryFees1", type: "uint128", internalType: "uint128" },
2436
- { name: "airlockOwnerFees0", type: "uint128", internalType: "uint128" },
2437
- { name: "airlockOwnerFees1", type: "uint128", internalType: "uint128" },
2438
- { name: "customFee", type: "uint24", internalType: "uint24" }
2439
- ],
2440
- stateMutability: "view"
2441
- },
2442
- {
2443
- type: "function",
2444
- name: "getPoolInfo",
2445
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
2446
- outputs: [
2447
- { name: "asset", type: "address", internalType: "address" },
2448
- { name: "numeraire", type: "address", internalType: "address" },
2449
- { name: "buybackDst", type: "address", internalType: "address" }
2450
- ],
2451
- stateMutability: "view"
2452
- },
2453
- {
2454
- type: "function",
2455
- name: "getPosition",
2456
- inputs: [{ name: "poolId", type: "bytes32", internalType: "PoolId" }],
2457
- outputs: [
2458
- { name: "tickLower", type: "int24", internalType: "int24" },
2459
- { name: "tickUpper", type: "int24", internalType: "int24" },
2460
- { name: "liquidity", type: "uint128", internalType: "uint128" },
2461
- { name: "salt", type: "bytes32", internalType: "bytes32" }
2462
- ],
2463
- stateMutability: "view"
2464
- },
2465
- {
2466
- type: "function",
2467
- name: "poolManager",
2468
- inputs: [],
2469
- outputs: [
2470
- { name: "", type: "address", internalType: "contract IPoolManager" }
2471
- ],
2472
- stateMutability: "view"
2473
- },
2474
- {
2475
- type: "function",
2476
- name: "quoter",
2477
- inputs: [],
2478
- outputs: [{ name: "", type: "address", internalType: "contract Quoter" }],
2479
- stateMutability: "view"
2480
- },
2481
- {
2482
- type: "function",
2483
- name: "setFeeDistribution",
2484
- inputs: [
2485
- { name: "poolId", type: "bytes32", internalType: "PoolId" },
2486
- {
2487
- name: "assetFeesToAssetBuybackWad",
2488
- type: "uint256",
2489
- internalType: "uint256"
2490
- },
2491
- {
2492
- name: "assetFeesToNumeraireBuybackWad",
2493
- type: "uint256",
2494
- internalType: "uint256"
2495
- },
2496
- {
2497
- name: "assetFeesToBeneficiaryWad",
2498
- type: "uint256",
2499
- internalType: "uint256"
2500
- },
2501
- { name: "assetFeesToLpWad", type: "uint256", internalType: "uint256" },
2502
- {
2503
- name: "numeraireFeesToAssetBuybackWad",
2504
- type: "uint256",
2505
- internalType: "uint256"
2506
- },
2507
- {
2508
- name: "numeraireFeesToNumeraireBuybackWad",
2509
- type: "uint256",
2510
- internalType: "uint256"
2511
- },
2512
- {
2513
- name: "numeraireFeesToBeneficiaryWad",
2514
- type: "uint256",
2515
- internalType: "uint256"
2516
- },
2517
- {
2518
- name: "numeraireFeesToLpWad",
2519
- type: "uint256",
2520
- internalType: "uint256"
2521
- }
2522
- ],
2523
- outputs: [],
2524
- stateMutability: "nonpayable"
2525
- },
2526
- { type: "error", name: "FeeDistributionMustAddUpToWAD", inputs: [] },
2527
- { type: "error", name: "SenderNotAirlockOwner", inputs: [] },
2528
- { type: "error", name: "SenderNotAuthorized", inputs: [] }
2529
- ];
2530
-
2531
- exports.airlockAbi = airlockAbi;
2532
- exports.bundlerAbi = bundlerAbi;
2533
- exports.decayMulticurveInitializerHookAbi = decayMulticurveInitializerHookAbi;
2534
- exports.derc20Abi = derc20Abi;
2535
- exports.dopplerHookAbi = dopplerHookAbi;
2536
- exports.dopplerHookInitializerAbi = dopplerHookInitializerAbi;
2537
- exports.dopplerLensAbi = dopplerLensAbi;
2538
- exports.lockableUniswapV3InitializerAbi = lockableUniswapV3InitializerAbi;
2539
- exports.poolManagerAbi = poolManagerAbi;
2540
- exports.quoterV2Abi = quoterV2Abi;
2541
- exports.rehypeDopplerHookAbi = rehypeDopplerHookAbi;
2542
- exports.rehypeDopplerHookMigratorAbi = rehypeDopplerHookMigratorAbi;
2543
- exports.streamableFeesLockerAbi = streamableFeesLockerAbi;
2544
- exports.uniswapV2Router02Abi = uniswapV2Router02Abi;
2545
- exports.uniswapV3InitializerAbi = uniswapV3InitializerAbi;
2546
- exports.uniswapV3PoolAbi = uniswapV3PoolAbi;
2547
- exports.uniswapV4InitializerAbi = uniswapV4InitializerAbi;
2548
- exports.v2MigratorAbi = v2MigratorAbi;
2549
- exports.v3MigratorAbi = v3MigratorAbi;
2550
- exports.v4MigratorAbi = v4MigratorAbi;
2551
- exports.v4MulticurveInitializerAbi = v4MulticurveInitializerAbi;
2552
- exports.v4MulticurveMigratorAbi = v4MulticurveMigratorAbi;
2553
- exports.v4QuoterAbi = v4QuoterAbi;
2554
- exports.weth9Abi = weth9Abi;
2555
- //# sourceMappingURL=chunk-MU56HCUI.js.map
2556
- //# sourceMappingURL=chunk-MU56HCUI.js.map